@eliseubatista99/react-scaffold-core 0.1.59 → 0.1.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js
CHANGED
|
@@ -8,22 +8,22 @@ function Cn(e) {
|
|
|
8
8
|
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
|
|
9
9
|
var t = e.default;
|
|
10
10
|
if (typeof t == "function") {
|
|
11
|
-
var r = function
|
|
12
|
-
var
|
|
11
|
+
var r = function i() {
|
|
12
|
+
var a = !1;
|
|
13
13
|
try {
|
|
14
|
-
|
|
14
|
+
a = this instanceof i;
|
|
15
15
|
} catch {
|
|
16
16
|
}
|
|
17
|
-
return
|
|
17
|
+
return a ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments);
|
|
18
18
|
};
|
|
19
19
|
r.prototype = t.prototype;
|
|
20
20
|
} else r = {};
|
|
21
|
-
return Object.defineProperty(r, "__esModule", { value: !0 }), Object.keys(e).forEach(function(
|
|
22
|
-
var
|
|
23
|
-
Object.defineProperty(r,
|
|
21
|
+
return Object.defineProperty(r, "__esModule", { value: !0 }), Object.keys(e).forEach(function(i) {
|
|
22
|
+
var a = Object.getOwnPropertyDescriptor(e, i);
|
|
23
|
+
Object.defineProperty(r, i, a.get ? a : {
|
|
24
24
|
enumerable: !0,
|
|
25
25
|
get: function() {
|
|
26
|
-
return e[
|
|
26
|
+
return e[i];
|
|
27
27
|
}
|
|
28
28
|
});
|
|
29
29
|
}), r;
|
|
@@ -43,18 +43,18 @@ function Pn() {
|
|
|
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
|
-
function r(
|
|
46
|
+
function r(i, a, s) {
|
|
47
47
|
var c = null;
|
|
48
|
-
if (s !== void 0 && (c = "" + s),
|
|
48
|
+
if (s !== void 0 && (c = "" + s), a.key !== void 0 && (c = "" + a.key), "key" in a) {
|
|
49
49
|
s = {};
|
|
50
|
-
for (var u in
|
|
51
|
-
u !== "key" && (s[u] =
|
|
52
|
-
} else s =
|
|
53
|
-
return
|
|
50
|
+
for (var u in a)
|
|
51
|
+
u !== "key" && (s[u] = a[u]);
|
|
52
|
+
} else s = a;
|
|
53
|
+
return a = s.ref, {
|
|
54
54
|
$$typeof: e,
|
|
55
|
-
type:
|
|
55
|
+
type: i,
|
|
56
56
|
key: c,
|
|
57
|
-
ref:
|
|
57
|
+
ref: a !== void 0 ? a : null,
|
|
58
58
|
props: s
|
|
59
59
|
};
|
|
60
60
|
}
|
|
@@ -136,7 +136,7 @@ function En() {
|
|
|
136
136
|
), t(n);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function i(n) {
|
|
140
140
|
if (n === p) return "<>";
|
|
141
141
|
if (typeof n == "object" && n !== null && n.$$typeof === P)
|
|
142
142
|
return "<...>";
|
|
@@ -147,7 +147,7 @@ function En() {
|
|
|
147
147
|
return "<...>";
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function a() {
|
|
151
151
|
var n = k.A;
|
|
152
152
|
return n === null ? null : n.getOwner();
|
|
153
153
|
}
|
|
@@ -255,7 +255,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
255
255
|
B,
|
|
256
256
|
z,
|
|
257
257
|
L,
|
|
258
|
-
|
|
258
|
+
a(),
|
|
259
259
|
S,
|
|
260
260
|
N,
|
|
261
261
|
W
|
|
@@ -275,7 +275,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
275
275
|
var C, T = {}, o = j["react-stack-bottom-frame"].bind(
|
|
276
276
|
j,
|
|
277
277
|
s
|
|
278
|
-
)(), H = R(
|
|
278
|
+
)(), H = R(i(s)), m = {};
|
|
279
279
|
ze.Fragment = p, ze.jsx = function(n, f, S, $, L) {
|
|
280
280
|
var z = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
281
281
|
return g(
|
|
@@ -286,7 +286,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
286
286
|
$,
|
|
287
287
|
L,
|
|
288
288
|
z ? Error("react-stack-top-frame") : o,
|
|
289
|
-
z ? R(
|
|
289
|
+
z ? R(i(n)) : H
|
|
290
290
|
);
|
|
291
291
|
}, ze.jsxs = function(n, f, S, $, L) {
|
|
292
292
|
var z = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
@@ -298,7 +298,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
298
298
|
$,
|
|
299
299
|
L,
|
|
300
300
|
z ? Error("react-stack-top-frame") : o,
|
|
301
|
-
z ? R(
|
|
301
|
+
z ? R(i(n)) : H
|
|
302
302
|
);
|
|
303
303
|
};
|
|
304
304
|
}()), ze;
|
|
@@ -324,8 +324,8 @@ const Zo = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ K.jsx(
|
|
|
324
324
|
flexDirection: "row",
|
|
325
325
|
...r
|
|
326
326
|
},
|
|
327
|
-
onClick: (
|
|
328
|
-
|
|
327
|
+
onClick: (i) => {
|
|
328
|
+
i.preventDefault(), i.stopPropagation(), t?.();
|
|
329
329
|
},
|
|
330
330
|
children: e
|
|
331
331
|
}
|
|
@@ -374,7 +374,7 @@ var Rt, or;
|
|
|
374
374
|
function Tn() {
|
|
375
375
|
if (or) return Rt;
|
|
376
376
|
or = 1;
|
|
377
|
-
var e = "Expected a function", t = NaN, r = "[object Symbol]",
|
|
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, c = /^0o[0-7]+$/i, u = parseInt, l = typeof rt == "object" && rt && rt.Object === Object && rt, h = typeof self == "object" && self && self.Object === Object && self, g = l || h || Function("return this")(), x = Object.prototype, j = x.toString, M = Math.max, E = Math.min, p = function() {
|
|
378
378
|
return g.Date.now();
|
|
379
379
|
};
|
|
380
380
|
function I(v, b, w) {
|
|
@@ -445,9 +445,9 @@ function Tn() {
|
|
|
445
445
|
}
|
|
446
446
|
if (typeof v != "string")
|
|
447
447
|
return v === 0 ? v : +v;
|
|
448
|
-
v = v.replace(
|
|
448
|
+
v = v.replace(i, "");
|
|
449
449
|
var w = s.test(v);
|
|
450
|
-
return w || c.test(v) ? u(v.slice(2), w ? 2 : 8) :
|
|
450
|
+
return w || c.test(v) ? u(v.slice(2), w ? 2 : 8) : a.test(v) ? t : +v;
|
|
451
451
|
}
|
|
452
452
|
return Rt = I, Rt;
|
|
453
453
|
}
|
|
@@ -465,11 +465,11 @@ function yt() {
|
|
|
465
465
|
function r() {
|
|
466
466
|
for (var s = "", c = 0; c < arguments.length; c++) {
|
|
467
467
|
var u = arguments[c];
|
|
468
|
-
u && (s =
|
|
468
|
+
u && (s = a(s, i(u)));
|
|
469
469
|
}
|
|
470
470
|
return s;
|
|
471
471
|
}
|
|
472
|
-
function
|
|
472
|
+
function i(s) {
|
|
473
473
|
if (typeof s == "string" || typeof s == "number")
|
|
474
474
|
return s;
|
|
475
475
|
if (typeof s != "object")
|
|
@@ -480,10 +480,10 @@ function yt() {
|
|
|
480
480
|
return s.toString();
|
|
481
481
|
var c = "";
|
|
482
482
|
for (var u in s)
|
|
483
|
-
t.call(s, u) && s[u] && (c =
|
|
483
|
+
t.call(s, u) && s[u] && (c = a(c, u));
|
|
484
484
|
return c;
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function a(s, c) {
|
|
487
487
|
return c ? s ? s + " " + c : s + c : s;
|
|
488
488
|
}
|
|
489
489
|
e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
|
|
@@ -497,10 +497,10 @@ function Hr() {
|
|
|
497
497
|
value: !0
|
|
498
498
|
}), e.default = void 0;
|
|
499
499
|
var t = r(q);
|
|
500
|
-
function r(
|
|
501
|
-
return
|
|
500
|
+
function r(a) {
|
|
501
|
+
return a && a.__esModule ? a : { default: a };
|
|
502
502
|
}
|
|
503
|
-
var
|
|
503
|
+
var i = {
|
|
504
504
|
accessibility: !0,
|
|
505
505
|
adaptiveHeight: !1,
|
|
506
506
|
afterChange: null,
|
|
@@ -563,7 +563,7 @@ function Hr() {
|
|
|
563
563
|
asNavFor: null,
|
|
564
564
|
unslick: !1
|
|
565
565
|
};
|
|
566
|
-
e.default =
|
|
566
|
+
e.default = i;
|
|
567
567
|
}(jt)), jt;
|
|
568
568
|
}
|
|
569
569
|
var ur;
|
|
@@ -576,15 +576,15 @@ function Ke() {
|
|
|
576
576
|
function r(m) {
|
|
577
577
|
return m && m.__esModule ? m : { default: m };
|
|
578
578
|
}
|
|
579
|
-
function
|
|
579
|
+
function i(m) {
|
|
580
580
|
"@babel/helpers - typeof";
|
|
581
|
-
return
|
|
581
|
+
return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
|
|
582
582
|
return typeof n;
|
|
583
583
|
} : function(n) {
|
|
584
584
|
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
585
|
-
},
|
|
585
|
+
}, i(m);
|
|
586
586
|
}
|
|
587
|
-
function
|
|
587
|
+
function a(m, n) {
|
|
588
588
|
var f = Object.keys(m);
|
|
589
589
|
if (Object.getOwnPropertySymbols) {
|
|
590
590
|
var S = Object.getOwnPropertySymbols(m);
|
|
@@ -597,9 +597,9 @@ function Ke() {
|
|
|
597
597
|
function s(m) {
|
|
598
598
|
for (var n = 1; n < arguments.length; n++) {
|
|
599
599
|
var f = arguments[n] != null ? arguments[n] : {};
|
|
600
|
-
n % 2 ?
|
|
600
|
+
n % 2 ? a(Object(f), !0).forEach(function(S) {
|
|
601
601
|
c(m, S, f[S]);
|
|
602
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(m, Object.getOwnPropertyDescriptors(f)) :
|
|
602
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(m, Object.getOwnPropertyDescriptors(f)) : a(Object(f)).forEach(function(S) {
|
|
603
603
|
Object.defineProperty(m, S, Object.getOwnPropertyDescriptor(f, S));
|
|
604
604
|
});
|
|
605
605
|
}
|
|
@@ -610,14 +610,14 @@ function Ke() {
|
|
|
610
610
|
}
|
|
611
611
|
function u(m) {
|
|
612
612
|
var n = l(m, "string");
|
|
613
|
-
return
|
|
613
|
+
return i(n) == "symbol" ? n : n + "";
|
|
614
614
|
}
|
|
615
615
|
function l(m, n) {
|
|
616
|
-
if (
|
|
616
|
+
if (i(m) != "object" || !m) return m;
|
|
617
617
|
var f = m[Symbol.toPrimitive];
|
|
618
618
|
if (f !== void 0) {
|
|
619
619
|
var S = f.call(m, n);
|
|
620
|
-
if (
|
|
620
|
+
if (i(S) != "object") return S;
|
|
621
621
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
622
622
|
}
|
|
623
623
|
return (n === "string" ? String : Number)(m);
|
|
@@ -956,17 +956,17 @@ function jn() {
|
|
|
956
956
|
cr = 1, Object.defineProperty(Fe, "__esModule", {
|
|
957
957
|
value: !0
|
|
958
958
|
}), Fe.Track = void 0;
|
|
959
|
-
var e =
|
|
960
|
-
function
|
|
959
|
+
var e = i(q), t = i(yt()), r = Ke();
|
|
960
|
+
function i(y) {
|
|
961
961
|
return y && y.__esModule ? y : { default: y };
|
|
962
962
|
}
|
|
963
|
-
function
|
|
963
|
+
function a(y) {
|
|
964
964
|
"@babel/helpers - typeof";
|
|
965
|
-
return
|
|
965
|
+
return a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
966
966
|
return typeof d;
|
|
967
967
|
} : function(d) {
|
|
968
968
|
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
969
|
-
},
|
|
969
|
+
}, a(y);
|
|
970
970
|
}
|
|
971
971
|
function s() {
|
|
972
972
|
return s = Object.assign ? Object.assign.bind() : function(y) {
|
|
@@ -1011,7 +1011,7 @@ function jn() {
|
|
|
1011
1011
|
};
|
|
1012
1012
|
}
|
|
1013
1013
|
function j(y, d) {
|
|
1014
|
-
if (d && (
|
|
1014
|
+
if (d && (a(d) == "object" || typeof d == "function")) return d;
|
|
1015
1015
|
if (d !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1016
1016
|
return M(y);
|
|
1017
1017
|
}
|
|
@@ -1060,14 +1060,14 @@ function jn() {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
function U(y) {
|
|
1062
1062
|
var d = V(y, "string");
|
|
1063
|
-
return
|
|
1063
|
+
return a(d) == "symbol" ? d : d + "";
|
|
1064
1064
|
}
|
|
1065
1065
|
function V(y, d) {
|
|
1066
|
-
if (
|
|
1066
|
+
if (a(y) != "object" || !y) return y;
|
|
1067
1067
|
var k = y[Symbol.toPrimitive];
|
|
1068
1068
|
if (k !== void 0) {
|
|
1069
1069
|
var A = k.call(y, d);
|
|
1070
|
-
if (
|
|
1070
|
+
if (a(A) != "object") return A;
|
|
1071
1071
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1072
1072
|
}
|
|
1073
1073
|
return (d === "string" ? String : Number)(y);
|
|
@@ -1192,8 +1192,8 @@ function Ln() {
|
|
|
1192
1192
|
Object.defineProperty(We, "__esModule", {
|
|
1193
1193
|
value: !0
|
|
1194
1194
|
}), We.Dots = void 0;
|
|
1195
|
-
var t =
|
|
1196
|
-
function
|
|
1195
|
+
var t = a(q), r = a(yt()), i = Ke();
|
|
1196
|
+
function a(v) {
|
|
1197
1197
|
return v && v.__esModule ? v : { default: v };
|
|
1198
1198
|
}
|
|
1199
1199
|
function s(v, b) {
|
|
@@ -1318,7 +1318,7 @@ function Ln() {
|
|
|
1318
1318
|
onMouseOver: k,
|
|
1319
1319
|
onMouseLeave: A
|
|
1320
1320
|
}, n = [], f = 0; f < H; f++) {
|
|
1321
|
-
var S = (f + 1) * R - 1, $ = _ ? S : (0,
|
|
1321
|
+
var S = (f + 1) * R - 1, $ = _ ? S : (0, i.clamp)(S, 0, T - 1), L = $ - (R - 1), z = _ ? L : (0, i.clamp)(L, 0, T - 1), N = (0, r.default)({
|
|
1322
1322
|
"slick-active": _ ? o >= z && o <= $ : o === z
|
|
1323
1323
|
}), W = {
|
|
1324
1324
|
message: "dots",
|
|
@@ -1355,8 +1355,8 @@ function Dn() {
|
|
|
1355
1355
|
Object.defineProperty(Ee, "__esModule", {
|
|
1356
1356
|
value: !0
|
|
1357
1357
|
}), Ee.PrevArrow = Ee.NextArrow = void 0;
|
|
1358
|
-
var t =
|
|
1359
|
-
function
|
|
1358
|
+
var t = a(q), r = a(yt()), i = Ke();
|
|
1359
|
+
function a(v) {
|
|
1360
1360
|
return v && v.__esModule ? v : { default: v };
|
|
1361
1361
|
}
|
|
1362
1362
|
function s() {
|
|
@@ -1522,7 +1522,7 @@ function Dn() {
|
|
|
1522
1522
|
}, d = this.clickHandler.bind(this, {
|
|
1523
1523
|
message: "next"
|
|
1524
1524
|
});
|
|
1525
|
-
(0,
|
|
1525
|
+
(0, i.canGoNext)(this.props) || (y["slick-disabled"] = !0, d = null);
|
|
1526
1526
|
var k = {
|
|
1527
1527
|
key: "1",
|
|
1528
1528
|
"data-role": "none",
|
|
@@ -1547,10 +1547,10 @@ var zr = function() {
|
|
|
1547
1547
|
if (typeof Map < "u")
|
|
1548
1548
|
return Map;
|
|
1549
1549
|
function e(t, r) {
|
|
1550
|
-
var
|
|
1551
|
-
return t.some(function(
|
|
1552
|
-
return
|
|
1553
|
-
}),
|
|
1550
|
+
var i = -1;
|
|
1551
|
+
return t.some(function(a, s) {
|
|
1552
|
+
return a[0] === r ? (i = s, !0) : !1;
|
|
1553
|
+
}), i;
|
|
1554
1554
|
}
|
|
1555
1555
|
return (
|
|
1556
1556
|
/** @class */
|
|
@@ -1568,23 +1568,23 @@ var zr = function() {
|
|
|
1568
1568
|
enumerable: !0,
|
|
1569
1569
|
configurable: !0
|
|
1570
1570
|
}), t.prototype.get = function(r) {
|
|
1571
|
-
var
|
|
1572
|
-
return
|
|
1573
|
-
}, t.prototype.set = function(r,
|
|
1574
|
-
var
|
|
1575
|
-
~
|
|
1571
|
+
var i = e(this.__entries__, r), a = this.__entries__[i];
|
|
1572
|
+
return a && a[1];
|
|
1573
|
+
}, t.prototype.set = function(r, i) {
|
|
1574
|
+
var a = e(this.__entries__, r);
|
|
1575
|
+
~a ? this.__entries__[a][1] = i : this.__entries__.push([r, i]);
|
|
1576
1576
|
}, t.prototype.delete = function(r) {
|
|
1577
|
-
var
|
|
1578
|
-
~
|
|
1577
|
+
var i = this.__entries__, a = e(i, r);
|
|
1578
|
+
~a && i.splice(a, 1);
|
|
1579
1579
|
}, t.prototype.has = function(r) {
|
|
1580
1580
|
return !!~e(this.__entries__, r);
|
|
1581
1581
|
}, t.prototype.clear = function() {
|
|
1582
1582
|
this.__entries__.splice(0);
|
|
1583
|
-
}, t.prototype.forEach = function(r,
|
|
1584
|
-
|
|
1585
|
-
for (var
|
|
1586
|
-
var c = s[
|
|
1587
|
-
r.call(
|
|
1583
|
+
}, t.prototype.forEach = function(r, i) {
|
|
1584
|
+
i === void 0 && (i = null);
|
|
1585
|
+
for (var a = 0, s = this.__entries__; a < s.length; a++) {
|
|
1586
|
+
var c = s[a];
|
|
1587
|
+
r.call(i, c[1], c[0]);
|
|
1588
1588
|
}
|
|
1589
1589
|
}, t;
|
|
1590
1590
|
}()
|
|
@@ -1599,9 +1599,9 @@ var zr = function() {
|
|
|
1599
1599
|
};
|
|
1600
1600
|
}(), $n = 2;
|
|
1601
1601
|
function In(e, t) {
|
|
1602
|
-
var r = !1,
|
|
1602
|
+
var r = !1, i = !1, a = 0;
|
|
1603
1603
|
function s() {
|
|
1604
|
-
r && (r = !1, e()),
|
|
1604
|
+
r && (r = !1, e()), i && u();
|
|
1605
1605
|
}
|
|
1606
1606
|
function c() {
|
|
1607
1607
|
Mn(s);
|
|
@@ -1609,12 +1609,12 @@ function In(e, t) {
|
|
|
1609
1609
|
function u() {
|
|
1610
1610
|
var l = Date.now();
|
|
1611
1611
|
if (r) {
|
|
1612
|
-
if (l -
|
|
1612
|
+
if (l - a < $n)
|
|
1613
1613
|
return;
|
|
1614
|
-
|
|
1614
|
+
i = !0;
|
|
1615
1615
|
} else
|
|
1616
|
-
r = !0,
|
|
1617
|
-
|
|
1616
|
+
r = !0, i = !1, setTimeout(c, t);
|
|
1617
|
+
a = l;
|
|
1618
1618
|
}
|
|
1619
1619
|
return u;
|
|
1620
1620
|
}
|
|
@@ -1627,8 +1627,8 @@ var An = 20, Hn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1627
1627
|
return e.prototype.addObserver = function(t) {
|
|
1628
1628
|
~this.observers_.indexOf(t) || this.observers_.push(t), this.connected_ || this.connect_();
|
|
1629
1629
|
}, e.prototype.removeObserver = function(t) {
|
|
1630
|
-
var r = this.observers_,
|
|
1631
|
-
~
|
|
1630
|
+
var r = this.observers_, i = r.indexOf(t);
|
|
1631
|
+
~i && r.splice(i, 1), !r.length && this.connected_ && this.disconnect_();
|
|
1632
1632
|
}, e.prototype.refresh = function() {
|
|
1633
1633
|
var t = this.updateObservers_();
|
|
1634
1634
|
t && this.refresh();
|
|
@@ -1649,19 +1649,19 @@ var An = 20, Hn = ["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,
|
|
1653
|
-
return !!~
|
|
1652
|
+
var r = t.propertyName, i = r === void 0 ? "" : r, a = Hn.some(function(s) {
|
|
1653
|
+
return !!~i.indexOf(s);
|
|
1654
1654
|
});
|
|
1655
|
-
|
|
1655
|
+
a && this.refresh();
|
|
1656
1656
|
}, e.getInstance = function() {
|
|
1657
1657
|
return this.instance_ || (this.instance_ = new e()), this.instance_;
|
|
1658
1658
|
}, e.instance_ = null, e;
|
|
1659
1659
|
}()
|
|
1660
1660
|
), Nr = function(e, t) {
|
|
1661
|
-
for (var r = 0,
|
|
1662
|
-
var
|
|
1663
|
-
Object.defineProperty(e,
|
|
1664
|
-
value: t[
|
|
1661
|
+
for (var r = 0, i = Object.keys(t); r < i.length; r++) {
|
|
1662
|
+
var a = i[r];
|
|
1663
|
+
Object.defineProperty(e, a, {
|
|
1664
|
+
value: t[a],
|
|
1665
1665
|
enumerable: !1,
|
|
1666
1666
|
writable: !1,
|
|
1667
1667
|
configurable: !0
|
|
@@ -1678,14 +1678,14 @@ function mt(e) {
|
|
|
1678
1678
|
function hr(e) {
|
|
1679
1679
|
for (var t = [], r = 1; r < arguments.length; r++)
|
|
1680
1680
|
t[r - 1] = arguments[r];
|
|
1681
|
-
return t.reduce(function(
|
|
1682
|
-
var s = e["border-" +
|
|
1683
|
-
return
|
|
1681
|
+
return t.reduce(function(i, a) {
|
|
1682
|
+
var s = e["border-" + a + "-width"];
|
|
1683
|
+
return i + mt(s);
|
|
1684
1684
|
}, 0);
|
|
1685
1685
|
}
|
|
1686
1686
|
function Fn(e) {
|
|
1687
|
-
for (var t = ["top", "right", "bottom", "left"], r = {},
|
|
1688
|
-
var s = i
|
|
1687
|
+
for (var t = ["top", "right", "bottom", "left"], r = {}, i = 0, a = t; i < a.length; i++) {
|
|
1688
|
+
var s = a[i], c = e["padding-" + s];
|
|
1689
1689
|
r[s] = mt(c);
|
|
1690
1690
|
}
|
|
1691
1691
|
return r;
|
|
@@ -1698,12 +1698,12 @@ function Un(e) {
|
|
|
1698
1698
|
var t = e.clientWidth, r = e.clientHeight;
|
|
1699
1699
|
if (!t && !r)
|
|
1700
1700
|
return Fr;
|
|
1701
|
-
var
|
|
1702
|
-
if (
|
|
1701
|
+
var i = Te(e).getComputedStyle(e), a = Fn(i), s = a.left + a.right, c = a.top + a.bottom, u = mt(i.width), l = mt(i.height);
|
|
1702
|
+
if (i.boxSizing === "border-box" && (Math.round(u + s) !== t && (u -= hr(i, "left", "right") + s), Math.round(l + c) !== r && (l -= hr(i, "top", "bottom") + c)), !qn(e)) {
|
|
1703
1703
|
var h = Math.round(u + s) - t, g = Math.round(l + c) - r;
|
|
1704
1704
|
Math.abs(h) !== 1 && (u -= h), Math.abs(g) !== 1 && (l -= g);
|
|
1705
1705
|
}
|
|
1706
|
-
return bt(
|
|
1706
|
+
return bt(a.left, a.top, u, l);
|
|
1707
1707
|
}
|
|
1708
1708
|
var Yn = /* @__PURE__ */ function() {
|
|
1709
1709
|
return typeof SVGGraphicsElement < "u" ? function(e) {
|
|
@@ -1719,20 +1719,20 @@ function Bn(e) {
|
|
|
1719
1719
|
return At ? Yn(e) ? Wn(e) : Un(e) : Fr;
|
|
1720
1720
|
}
|
|
1721
1721
|
function Vn(e) {
|
|
1722
|
-
var t = e.x, r = e.y,
|
|
1722
|
+
var t = e.x, r = e.y, i = e.width, a = e.height, s = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, c = Object.create(s.prototype);
|
|
1723
1723
|
return Nr(c, {
|
|
1724
1724
|
x: t,
|
|
1725
1725
|
y: r,
|
|
1726
|
-
width:
|
|
1727
|
-
height:
|
|
1726
|
+
width: i,
|
|
1727
|
+
height: a,
|
|
1728
1728
|
top: r,
|
|
1729
|
-
right: t +
|
|
1730
|
-
bottom:
|
|
1729
|
+
right: t + i,
|
|
1730
|
+
bottom: a + r,
|
|
1731
1731
|
left: t
|
|
1732
1732
|
}), c;
|
|
1733
1733
|
}
|
|
1734
|
-
function bt(e, t, r,
|
|
1735
|
-
return { x: e, y: t, width: r, height:
|
|
1734
|
+
function bt(e, t, r, i) {
|
|
1735
|
+
return { x: e, y: t, width: r, height: i };
|
|
1736
1736
|
}
|
|
1737
1737
|
var Xn = (
|
|
1738
1738
|
/** @class */
|
|
@@ -1752,18 +1752,18 @@ var Xn = (
|
|
|
1752
1752
|
/** @class */
|
|
1753
1753
|
/* @__PURE__ */ function() {
|
|
1754
1754
|
function e(t, r) {
|
|
1755
|
-
var
|
|
1756
|
-
Nr(this, { target: t, contentRect:
|
|
1755
|
+
var i = Vn(r);
|
|
1756
|
+
Nr(this, { target: t, contentRect: i });
|
|
1757
1757
|
}
|
|
1758
1758
|
return e;
|
|
1759
1759
|
}()
|
|
1760
1760
|
), Kn = (
|
|
1761
1761
|
/** @class */
|
|
1762
1762
|
function() {
|
|
1763
|
-
function e(t, r,
|
|
1763
|
+
function e(t, r, i) {
|
|
1764
1764
|
if (this.activeObservations_ = [], this.observations_ = new zr(), typeof t != "function")
|
|
1765
1765
|
throw new TypeError("The callback provided as parameter 1 is not a function.");
|
|
1766
|
-
this.callback_ = t, this.controller_ = r, this.callbackCtx_ =
|
|
1766
|
+
this.callback_ = t, this.controller_ = r, this.callbackCtx_ = i;
|
|
1767
1767
|
}
|
|
1768
1768
|
return e.prototype.observe = function(t) {
|
|
1769
1769
|
if (!arguments.length)
|
|
@@ -1792,8 +1792,8 @@ var Xn = (
|
|
|
1792
1792
|
});
|
|
1793
1793
|
}, e.prototype.broadcastActive = function() {
|
|
1794
1794
|
if (this.hasActive()) {
|
|
1795
|
-
var t = this.callbackCtx_, r = this.activeObservations_.map(function(
|
|
1796
|
-
return new Gn(
|
|
1795
|
+
var t = this.callbackCtx_, r = this.activeObservations_.map(function(i) {
|
|
1796
|
+
return new Gn(i.target, i.broadcastRect());
|
|
1797
1797
|
});
|
|
1798
1798
|
this.callback_.call(t, r, t), this.clearActive();
|
|
1799
1799
|
}
|
|
@@ -1811,8 +1811,8 @@ var Xn = (
|
|
|
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 = Nn.getInstance(),
|
|
1815
|
-
Wr.set(this,
|
|
1814
|
+
var r = Nn.getInstance(), i = new Kn(t, r, this);
|
|
1815
|
+
Wr.set(this, i);
|
|
1816
1816
|
}
|
|
1817
1817
|
return e;
|
|
1818
1818
|
}()
|
|
@@ -1840,7 +1840,7 @@ function ei() {
|
|
|
1840
1840
|
pr = 1, Object.defineProperty(Ne, "__esModule", {
|
|
1841
1841
|
value: !0
|
|
1842
1842
|
}), Ne.InnerSlider = void 0;
|
|
1843
|
-
var e = h(q), t = h(Rn()), r = h(Tn()),
|
|
1843
|
+
var e = h(q), t = h(Rn()), r = h(Tn()), i = h(yt()), a = Ke(), s = jn(), c = Ln(), u = Dn(), l = h(Qn);
|
|
1844
1844
|
function h(_) {
|
|
1845
1845
|
return _ && _.__esModule ? _ : { default: _ };
|
|
1846
1846
|
}
|
|
@@ -1988,11 +1988,11 @@ function ei() {
|
|
|
1988
1988
|
}), d(w(o), "adaptHeight", function() {
|
|
1989
1989
|
if (o.props.adaptiveHeight && o.list) {
|
|
1990
1990
|
var m = o.list.querySelector('[data-index="'.concat(o.state.currentSlide, '"]'));
|
|
1991
|
-
o.list.style.height = (0,
|
|
1991
|
+
o.list.style.height = (0, a.getHeight)(m) + "px";
|
|
1992
1992
|
}
|
|
1993
1993
|
}), d(w(o), "componentDidMount", function() {
|
|
1994
1994
|
if (o.props.onInit && o.props.onInit(), o.props.lazyLoad) {
|
|
1995
|
-
var m = (0,
|
|
1995
|
+
var m = (0, a.getOnDemandLazySlides)(p(p({}, o.props), o.state));
|
|
1996
1996
|
m.length > 0 && (o.setState(function(f) {
|
|
1997
1997
|
return {
|
|
1998
1998
|
lazyLoadedList: f.lazyLoadedList.concat(m)
|
|
@@ -2018,7 +2018,7 @@ function ei() {
|
|
|
2018
2018
|
}), o.callbackTimers = []), window.addEventListener ? window.removeEventListener("resize", o.onWindowResized) : window.detachEvent("onresize", o.onWindowResized), o.autoplayTimer && clearInterval(o.autoplayTimer), o.ro.disconnect();
|
|
2019
2019
|
}), d(w(o), "componentDidUpdate", function(m) {
|
|
2020
2020
|
if (o.checkImagesLoad(), o.props.onReInit && o.props.onReInit(), o.props.lazyLoad) {
|
|
2021
|
-
var n = (0,
|
|
2021
|
+
var n = (0, a.getOnDemandLazySlides)(p(p({}, o.props), o.state));
|
|
2022
2022
|
n.length > 0 && (o.setState(function($) {
|
|
2023
2023
|
return {
|
|
2024
2024
|
lazyLoadedList: $.lazyLoadedList.concat(n)
|
|
@@ -2055,21 +2055,21 @@ function ei() {
|
|
|
2055
2055
|
}), clearTimeout(o.animationEndCallback), delete o.animationEndCallback;
|
|
2056
2056
|
}
|
|
2057
2057
|
}), d(w(o), "updateState", function(m, n, f) {
|
|
2058
|
-
var S = (0,
|
|
2058
|
+
var S = (0, a.initializedState)(m);
|
|
2059
2059
|
m = p(p(p({}, m), S), {}, {
|
|
2060
2060
|
slideIndex: S.currentSlide
|
|
2061
2061
|
});
|
|
2062
|
-
var $ = (0,
|
|
2062
|
+
var $ = (0, a.getTrackLeft)(m);
|
|
2063
2063
|
m = p(p({}, m), {}, {
|
|
2064
2064
|
left: $
|
|
2065
2065
|
});
|
|
2066
|
-
var L = (0,
|
|
2066
|
+
var L = (0, a.getTrackCSS)(m);
|
|
2067
2067
|
(n || e.default.Children.count(o.props.children) !== e.default.Children.count(m.children)) && (S.trackStyle = L), o.setState(S, f);
|
|
2068
2068
|
}), d(w(o), "ssrInit", function() {
|
|
2069
2069
|
if (o.props.variableWidth) {
|
|
2070
|
-
var m = 0, n = 0, f = [], S = (0,
|
|
2070
|
+
var m = 0, n = 0, f = [], S = (0, a.getPreClones)(p(p(p({}, o.props), o.state), {}, {
|
|
2071
2071
|
slideCount: o.props.children.length
|
|
2072
|
-
})), $ = (0,
|
|
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) {
|
|
@@ -2095,7 +2095,7 @@ function ei() {
|
|
|
2095
2095
|
}
|
|
2096
2096
|
var G = e.default.Children.count(o.props.children), X = p(p(p({}, o.props), o.state), {}, {
|
|
2097
2097
|
slideCount: G
|
|
2098
|
-
}), J = (0,
|
|
2098
|
+
}), J = (0, a.getPreClones)(X) + (0, a.getPostClones)(X) + G, te = 100 / o.props.slidesToShow * J, Z = 100 / J, ee = -Z * ((0, a.getPreClones)(X) + o.state.currentSlide) * te / 100;
|
|
2099
2099
|
o.props.centerMode && (ee += (100 - Z * te / 100) / 2);
|
|
2100
2100
|
var ie = {
|
|
2101
2101
|
width: te + "%",
|
|
@@ -2128,12 +2128,12 @@ function ei() {
|
|
|
2128
2128
|
}));
|
|
2129
2129
|
});
|
|
2130
2130
|
}), d(w(o), "progressiveLazyLoad", function() {
|
|
2131
|
-
for (var m = [], n = p(p({}, o.props), o.state), f = o.state.currentSlide; f < o.state.slideCount + (0,
|
|
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
2132
|
if (o.state.lazyLoadedList.indexOf(f) < 0) {
|
|
2133
2133
|
m.push(f);
|
|
2134
2134
|
break;
|
|
2135
2135
|
}
|
|
2136
|
-
for (var S = o.state.currentSlide - 1; S >= -(0,
|
|
2136
|
+
for (var S = o.state.currentSlide - 1; S >= -(0, a.getPreClones)(n); S--)
|
|
2137
2137
|
if (o.state.lazyLoadedList.indexOf(S) < 0) {
|
|
2138
2138
|
m.push(S);
|
|
2139
2139
|
break;
|
|
@@ -2144,7 +2144,7 @@ function ei() {
|
|
|
2144
2144
|
};
|
|
2145
2145
|
}), o.props.onLazyLoad && o.props.onLazyLoad(m)) : o.lazyLoadTimer && (clearInterval(o.lazyLoadTimer), delete o.lazyLoadTimer);
|
|
2146
2146
|
}), d(w(o), "slideHandler", function(m) {
|
|
2147
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = o.props, S = f.asNavFor, $ = f.beforeChange, L = f.onLazyLoad, z = f.speed, N = f.afterChange, W = o.state.currentSlide, B = (0,
|
|
2147
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = o.props, S = f.asNavFor, $ = f.beforeChange, L = f.onLazyLoad, z = f.speed, N = f.afterChange, W = o.state.currentSlide, B = (0, 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 ei() {
|
|
|
2169
2169
|
});
|
|
2170
2170
|
}
|
|
2171
2171
|
}), d(w(o), "changeSlide", function(m) {
|
|
2172
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = p(p({}, o.props), o.state), S = (0,
|
|
2172
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = p(p({}, o.props), o.state), S = (0, a.changeSlide)(f, m);
|
|
2173
2173
|
if (!(S !== 0 && !S) && (n === !0 ? o.slideHandler(S, n) : o.slideHandler(S), o.props.autoplay && o.autoPlay("update"), o.props.focusOnSelect)) {
|
|
2174
2174
|
var $ = o.list.querySelectorAll(".slick-current");
|
|
2175
2175
|
$[0] && $[0].focus();
|
|
@@ -2177,7 +2177,7 @@ function ei() {
|
|
|
2177
2177
|
}), d(w(o), "clickHandler", function(m) {
|
|
2178
2178
|
o.clickable === !1 && (m.stopPropagation(), m.preventDefault()), o.clickable = !0;
|
|
2179
2179
|
}), d(w(o), "keyHandler", function(m) {
|
|
2180
|
-
var n = (0,
|
|
2180
|
+
var n = (0, a.keyHandler)(m, o.props.accessibility, o.props.rtl);
|
|
2181
2181
|
n !== "" && o.changeSlide({
|
|
2182
2182
|
message: n
|
|
2183
2183
|
});
|
|
@@ -2192,17 +2192,17 @@ function ei() {
|
|
|
2192
2192
|
window.ontouchmove = null;
|
|
2193
2193
|
}), d(w(o), "swipeStart", function(m) {
|
|
2194
2194
|
o.props.verticalSwiping && o.disableBodyScroll();
|
|
2195
|
-
var n = (0,
|
|
2195
|
+
var n = (0, a.swipeStart)(m, o.props.swipe, o.props.draggable);
|
|
2196
2196
|
n !== "" && o.setState(n);
|
|
2197
2197
|
}), d(w(o), "swipeMove", function(m) {
|
|
2198
|
-
var n = (0,
|
|
2198
|
+
var n = (0, a.swipeMove)(m, p(p(p({}, o.props), o.state), {}, {
|
|
2199
2199
|
trackRef: o.track,
|
|
2200
2200
|
listRef: o.list,
|
|
2201
2201
|
slideIndex: o.state.currentSlide
|
|
2202
2202
|
}));
|
|
2203
2203
|
n && (n.swiping && (o.clickable = !1), o.setState(n));
|
|
2204
2204
|
}), d(w(o), "swipeEnd", function(m) {
|
|
2205
|
-
var n = (0,
|
|
2205
|
+
var n = (0, a.swipeEnd)(m, p(p(p({}, o.props), o.state), {}, {
|
|
2206
2206
|
trackRef: o.track,
|
|
2207
2207
|
listRef: o.list,
|
|
2208
2208
|
slideIndex: o.state.currentSlide
|
|
@@ -2239,7 +2239,7 @@ function ei() {
|
|
|
2239
2239
|
var m;
|
|
2240
2240
|
if (o.props.rtl)
|
|
2241
2241
|
m = o.state.currentSlide - o.props.slidesToScroll;
|
|
2242
|
-
else if ((0,
|
|
2242
|
+
else if ((0, a.canGoNext)(p(p({}, o.props), o.state)))
|
|
2243
2243
|
m = o.state.currentSlide + o.props.slidesToScroll;
|
|
2244
2244
|
else
|
|
2245
2245
|
return !1;
|
|
@@ -2281,10 +2281,10 @@ function ei() {
|
|
|
2281
2281
|
}), d(w(o), "onSlideBlur", function() {
|
|
2282
2282
|
return o.props.autoplay && o.state.autoplaying === "focused" && o.autoPlay("blur");
|
|
2283
2283
|
}), d(w(o), "render", function() {
|
|
2284
|
-
var m = (0,
|
|
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), f = (0,
|
|
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"]), S = o.props.pauseOnHover;
|
|
2288
2288
|
f = p(p({}, f), {}, {
|
|
2289
2289
|
onMouseEnter: S ? o.onTrackOver : null,
|
|
2290
2290
|
onMouseLeave: S ? o.onTrackLeave : null,
|
|
@@ -2293,7 +2293,7 @@ function ei() {
|
|
|
2293
2293
|
});
|
|
2294
2294
|
var $;
|
|
2295
2295
|
if (o.props.dots === !0 && o.state.slideCount >= o.props.slidesToShow) {
|
|
2296
|
-
var L = (0,
|
|
2296
|
+
var L = (0, a.extractObject)(n, ["dotsClass", "slideCount", "slidesToShow", "currentSlide", "slidesToScroll", "clickHandler", "children", "customPaging", "infinite", "appendDots"]), z = o.props.pauseOnDotsHover;
|
|
2297
2297
|
L = p(p({}, L), {}, {
|
|
2298
2298
|
clickHandler: o.changeSlide,
|
|
2299
2299
|
onMouseEnter: z ? o.onDotsLeave : null,
|
|
@@ -2301,7 +2301,7 @@ function ei() {
|
|
|
2301
2301
|
onMouseLeave: z ? o.onDotsLeave : null
|
|
2302
2302
|
}), $ = /* @__PURE__ */ e.default.createElement(c.Dots, L);
|
|
2303
2303
|
}
|
|
2304
|
-
var N, W, B = (0,
|
|
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(u.PrevArrow, B), W = /* @__PURE__ */ e.default.createElement(u.NextArrow, B));
|
|
2306
2306
|
var G = null;
|
|
2307
2307
|
o.props.vertical && (G = {
|
|
@@ -2383,22 +2383,22 @@ var Dt, vr;
|
|
|
2383
2383
|
function ri() {
|
|
2384
2384
|
if (vr) return Dt;
|
|
2385
2385
|
vr = 1;
|
|
2386
|
-
var e = ti(), t = function(
|
|
2386
|
+
var e = ti(), t = function(a) {
|
|
2387
2387
|
var s = /[height|width]$/;
|
|
2388
|
-
return s.test(
|
|
2389
|
-
}, r = function(
|
|
2390
|
-
var s = "", c = Object.keys(
|
|
2388
|
+
return s.test(a);
|
|
2389
|
+
}, r = function(a) {
|
|
2390
|
+
var s = "", c = Object.keys(a);
|
|
2391
2391
|
return c.forEach(function(u, l) {
|
|
2392
|
-
var h =
|
|
2392
|
+
var h = a[u];
|
|
2393
2393
|
u = e(u), t(u) && typeof h == "number" && (h = h + "px"), h === !0 ? s += u : h === !1 ? s += "not " + u : s += "(" + u + ": " + h + ")", l < c.length - 1 && (s += " and ");
|
|
2394
2394
|
}), s;
|
|
2395
|
-
},
|
|
2395
|
+
}, i = function(a) {
|
|
2396
2396
|
var s = "";
|
|
2397
|
-
return typeof
|
|
2398
|
-
s += r(c), u <
|
|
2399
|
-
}), s) : r(
|
|
2397
|
+
return typeof a == "string" ? a : a instanceof Array ? (a.forEach(function(c, u) {
|
|
2398
|
+
s += r(c), u < a.length - 1 && (s += ", ");
|
|
2399
|
+
}), s) : r(a);
|
|
2400
2400
|
};
|
|
2401
|
-
return Dt =
|
|
2401
|
+
return Dt = i, Dt;
|
|
2402
2402
|
}
|
|
2403
2403
|
var gr;
|
|
2404
2404
|
function ni() {
|
|
@@ -2406,7 +2406,7 @@ function ni() {
|
|
|
2406
2406
|
Object.defineProperty(e, "__esModule", {
|
|
2407
2407
|
value: !0
|
|
2408
2408
|
}), e.default = void 0;
|
|
2409
|
-
var t = c(q), r = ei(),
|
|
2409
|
+
var t = c(q), r = ei(), i = c(ri()), a = c(Hr()), s = Ke();
|
|
2410
2410
|
function c(P) {
|
|
2411
2411
|
return P && P.__esModule ? P : { default: P };
|
|
2412
2412
|
}
|
|
@@ -2570,10 +2570,10 @@ function ni() {
|
|
|
2570
2570
|
return C - T;
|
|
2571
2571
|
}), _.forEach(function(C, T) {
|
|
2572
2572
|
var o;
|
|
2573
|
-
T === 0 ? o = (0,
|
|
2573
|
+
T === 0 ? o = (0, i.default)({
|
|
2574
2574
|
minWidth: 0,
|
|
2575
2575
|
maxWidth: C
|
|
2576
|
-
}) : o = (0,
|
|
2576
|
+
}) : o = (0, i.default)({
|
|
2577
2577
|
minWidth: _[T - 1] + 1,
|
|
2578
2578
|
maxWidth: C
|
|
2579
2579
|
}), (0, s.canUseDOM)() && A.media(o, function() {
|
|
@@ -2582,7 +2582,7 @@ function ni() {
|
|
|
2582
2582
|
});
|
|
2583
2583
|
});
|
|
2584
2584
|
});
|
|
2585
|
-
var R = (0,
|
|
2585
|
+
var R = (0, i.default)({
|
|
2586
2586
|
minWidth: _.slice(-1)[0]
|
|
2587
2587
|
});
|
|
2588
2588
|
(0, s.canUseDOM)() && this.media(R, function() {
|
|
@@ -2605,7 +2605,7 @@ function ni() {
|
|
|
2605
2605
|
var A = this, _, R;
|
|
2606
2606
|
this.state.breakpoint ? (R = this.props.responsive.filter(function(L) {
|
|
2607
2607
|
return L.breakpoint === A.state.breakpoint;
|
|
2608
|
-
}), _ = R[0].settings === "unslick" ? "unslick" : g(g(g({},
|
|
2608
|
+
}), _ = R[0].settings === "unslick" ? "unslick" : g(g(g({}, a.default), this.props), R[0].settings)) : _ = g(g({}, a.default), this.props), _.centerMode && (_.slidesToScroll > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(_.slidesToScroll)), _.slidesToScroll = 1), _.fade && (_.slidesToShow > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(_.slidesToShow)), _.slidesToScroll > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(_.slidesToScroll)), _.slidesToShow = 1, _.slidesToScroll = 1);
|
|
2609
2609
|
var C = t.default.Children.toArray(this.props.children);
|
|
2610
2610
|
C = C.filter(function(L) {
|
|
2611
2611
|
return typeof L == "string" ? !!L.trim() : !!L;
|
|
@@ -2656,8 +2656,8 @@ function ii() {
|
|
|
2656
2656
|
value: !0
|
|
2657
2657
|
}), e.default = void 0;
|
|
2658
2658
|
var t = r(ni());
|
|
2659
|
-
function r(
|
|
2660
|
-
return
|
|
2659
|
+
function r(i) {
|
|
2660
|
+
return i && i.__esModule ? i : { default: i };
|
|
2661
2661
|
}
|
|
2662
2662
|
e.default = t.default;
|
|
2663
2663
|
}(Pt)), Pt;
|
|
@@ -2668,7 +2668,7 @@ function Ht() {
|
|
|
2668
2668
|
return Ht = Object.assign ? Object.assign.bind() : function(e) {
|
|
2669
2669
|
for (var t = 1; t < arguments.length; t++) {
|
|
2670
2670
|
var r = arguments[t];
|
|
2671
|
-
for (var
|
|
2671
|
+
for (var i in r) ({}).hasOwnProperty.call(r, i) && (e[i] = r[i]);
|
|
2672
2672
|
}
|
|
2673
2673
|
return e;
|
|
2674
2674
|
}, Ht.apply(null, arguments);
|
|
@@ -2686,31 +2686,31 @@ function li(e) {
|
|
|
2686
2686
|
}
|
|
2687
2687
|
var ui = /* @__PURE__ */ function() {
|
|
2688
2688
|
function e(r) {
|
|
2689
|
-
var
|
|
2690
|
-
this._insertTag = function(
|
|
2689
|
+
var i = this;
|
|
2690
|
+
this._insertTag = function(a) {
|
|
2691
2691
|
var s;
|
|
2692
|
-
|
|
2692
|
+
i.tags.length === 0 ? i.insertionPoint ? s = i.insertionPoint.nextSibling : i.prepend ? s = i.container.firstChild : s = i.before : s = i.tags[i.tags.length - 1].nextSibling, i.container.insertBefore(a, s), i.tags.push(a);
|
|
2693
2693
|
}, this.isSpeedy = r.speedy === void 0 ? !0 : r.speedy, this.tags = [], this.ctr = 0, this.nonce = r.nonce, this.key = r.key, this.container = r.container, this.prepend = r.prepend, this.insertionPoint = r.insertionPoint, this.before = null;
|
|
2694
2694
|
}
|
|
2695
2695
|
var t = e.prototype;
|
|
2696
|
-
return t.hydrate = function(
|
|
2697
|
-
|
|
2698
|
-
}, t.insert = function(
|
|
2696
|
+
return t.hydrate = function(i) {
|
|
2697
|
+
i.forEach(this._insertTag);
|
|
2698
|
+
}, t.insert = function(i) {
|
|
2699
2699
|
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(li(this));
|
|
2700
|
-
var
|
|
2700
|
+
var a = this.tags[this.tags.length - 1];
|
|
2701
2701
|
if (this.isSpeedy) {
|
|
2702
|
-
var s = si(
|
|
2702
|
+
var s = si(a);
|
|
2703
2703
|
try {
|
|
2704
|
-
s.insertRule(
|
|
2704
|
+
s.insertRule(i, s.cssRules.length);
|
|
2705
2705
|
} catch {
|
|
2706
2706
|
}
|
|
2707
2707
|
} else
|
|
2708
|
-
|
|
2708
|
+
a.appendChild(document.createTextNode(i));
|
|
2709
2709
|
this.ctr++;
|
|
2710
2710
|
}, t.flush = function() {
|
|
2711
|
-
this.tags.forEach(function(
|
|
2712
|
-
var
|
|
2713
|
-
return (
|
|
2711
|
+
this.tags.forEach(function(i) {
|
|
2712
|
+
var a;
|
|
2713
|
+
return (a = i.parentNode) == null ? void 0 : a.removeChild(i);
|
|
2714
2714
|
}), this.tags = [], this.ctr = 0;
|
|
2715
2715
|
}, e;
|
|
2716
2716
|
}(), de = "-ms-", vt = "-moz-", re = "-webkit-", Yr = "comm", Bt = "rule", Vt = "decl", ci = "@import", qr = "@keyframes", fi = "@layer", di = Math.abs, wt = String.fromCharCode, hi = Object.assign;
|
|
@@ -2748,8 +2748,8 @@ function vi(e, t) {
|
|
|
2748
2748
|
return e.map(t).join("");
|
|
2749
2749
|
}
|
|
2750
2750
|
var St = 1, je = 1, Vr = 0, he = 0, se = 0, De = "";
|
|
2751
|
-
function xt(e, t, r,
|
|
2752
|
-
return { value: e, root: t, parent: r, type:
|
|
2751
|
+
function xt(e, t, r, i, a, s, c) {
|
|
2752
|
+
return { value: e, root: t, parent: r, type: i, props: a, children: s, line: St, column: je, length: c, return: "" };
|
|
2753
2753
|
}
|
|
2754
2754
|
function Ue(e, t) {
|
|
2755
2755
|
return hi(xt("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
@@ -2865,8 +2865,8 @@ function xi(e) {
|
|
|
2865
2865
|
function Oi(e) {
|
|
2866
2866
|
return Gr(lt("", null, null, null, [""], e = Xr(e), 0, [0], e));
|
|
2867
2867
|
}
|
|
2868
|
-
function lt(e, t, r,
|
|
2869
|
-
for (var h = 0, g = 0, x = c, j = 0, M = 0, E = 0, p = 1, I = 1, O = 1, F = 0, U = "", V =
|
|
2868
|
+
function lt(e, t, r, i, a, s, c, u, l) {
|
|
2869
|
+
for (var h = 0, g = 0, x = c, j = 0, M = 0, E = 0, p = 1, I = 1, O = 1, F = 0, U = "", V = a, v = s, b = i, w = U; I; )
|
|
2870
2870
|
switch (E = F, F = me()) {
|
|
2871
2871
|
// (
|
|
2872
2872
|
case 40:
|
|
@@ -2916,14 +2916,14 @@ function lt(e, t, r, a, i, s, c, u, l) {
|
|
|
2916
2916
|
I = 0;
|
|
2917
2917
|
// ;
|
|
2918
2918
|
case 59 + g:
|
|
2919
|
-
O == -1 && (w = ne(w, /\f/g, "")), M > 0 && ge(w) - x && it(M > 32 ? wr(w + ";",
|
|
2919
|
+
O == -1 && (w = ne(w, /\f/g, "")), M > 0 && ge(w) - x && it(M > 32 ? wr(w + ";", i, r, x - 1) : wr(ne(w, " ", "") + ";", i, r, x - 2), l);
|
|
2920
2920
|
break;
|
|
2921
2921
|
// @ ;
|
|
2922
2922
|
case 59:
|
|
2923
2923
|
w += ";";
|
|
2924
2924
|
// { rule/at-rule
|
|
2925
2925
|
default:
|
|
2926
|
-
if (it(b = br(w, t, r, h, g,
|
|
2926
|
+
if (it(b = br(w, t, r, h, g, a, u, U, V = [], v = [], x), s), F === 123)
|
|
2927
2927
|
if (g === 0)
|
|
2928
2928
|
lt(w, t, b, b, V, s, x, u, v);
|
|
2929
2929
|
else
|
|
@@ -2933,7 +2933,7 @@ function lt(e, t, r, a, i, s, c, u, l) {
|
|
|
2933
2933
|
case 108:
|
|
2934
2934
|
case 109:
|
|
2935
2935
|
case 115:
|
|
2936
|
-
lt(e, b, b,
|
|
2936
|
+
lt(e, b, b, i && it(br(e, b, b, 0, 0, a, u, U, a, V = [], x), v), a, v, x, u, i ? V : v);
|
|
2937
2937
|
break;
|
|
2938
2938
|
default:
|
|
2939
2939
|
lt(w, b, b, b, [""], v, 0, u, v);
|
|
@@ -2971,24 +2971,24 @@ function lt(e, t, r, a, i, s, c, u, l) {
|
|
|
2971
2971
|
}
|
|
2972
2972
|
return s;
|
|
2973
2973
|
}
|
|
2974
|
-
function br(e, t, r,
|
|
2975
|
-
for (var x =
|
|
2974
|
+
function br(e, t, r, i, a, s, c, u, l, h, g) {
|
|
2975
|
+
for (var x = a - 1, j = a === 0 ? s : [""], M = Xt(j), E = 0, p = 0, I = 0; E < i; ++E)
|
|
2976
2976
|
for (var O = 0, F = Be(e, x + 1, x = di(p = c[E])), U = e; O < M; ++O)
|
|
2977
2977
|
(U = Br(p > 0 ? j[O] + " " + F : ne(F, /&\f/g, j[O]))) && (l[I++] = U);
|
|
2978
|
-
return xt(e, t, r,
|
|
2978
|
+
return xt(e, t, r, a === 0 ? Bt : u, l, h, g);
|
|
2979
2979
|
}
|
|
2980
2980
|
function ki(e, t, r) {
|
|
2981
2981
|
return xt(e, t, r, Yr, wt(gi()), Be(e, 2, -2), 0);
|
|
2982
2982
|
}
|
|
2983
|
-
function wr(e, t, r,
|
|
2984
|
-
return xt(e, t, r, Vt, Be(e, 0,
|
|
2983
|
+
function wr(e, t, r, i) {
|
|
2984
|
+
return xt(e, t, r, Vt, Be(e, 0, i), Be(e, i + 1, -1), i);
|
|
2985
2985
|
}
|
|
2986
2986
|
function Re(e, t) {
|
|
2987
|
-
for (var r = "",
|
|
2988
|
-
r += t(e[
|
|
2987
|
+
for (var r = "", i = Xt(e), a = 0; a < i; a++)
|
|
2988
|
+
r += t(e[a], a, e, t) || "";
|
|
2989
2989
|
return r;
|
|
2990
2990
|
}
|
|
2991
|
-
function Ci(e, t, r,
|
|
2991
|
+
function Ci(e, t, r, i) {
|
|
2992
2992
|
switch (e.type) {
|
|
2993
2993
|
case fi:
|
|
2994
2994
|
if (e.children.length) break;
|
|
@@ -2998,17 +2998,17 @@ function Ci(e, t, r, a) {
|
|
|
2998
2998
|
case Yr:
|
|
2999
2999
|
return "";
|
|
3000
3000
|
case qr:
|
|
3001
|
-
return e.return = e.value + "{" + Re(e.children,
|
|
3001
|
+
return e.return = e.value + "{" + Re(e.children, i) + "}";
|
|
3002
3002
|
case Bt:
|
|
3003
3003
|
e.value = e.props.join(",");
|
|
3004
3004
|
}
|
|
3005
|
-
return ge(r = Re(e.children,
|
|
3005
|
+
return ge(r = Re(e.children, i)) ? e.return = e.value + "{" + r + "}" : "";
|
|
3006
3006
|
}
|
|
3007
3007
|
function Pi(e) {
|
|
3008
3008
|
var t = Xt(e);
|
|
3009
|
-
return function(r,
|
|
3009
|
+
return function(r, i, a, s) {
|
|
3010
3010
|
for (var c = "", u = 0; u < t; u++)
|
|
3011
|
-
c += e[u](r,
|
|
3011
|
+
c += e[u](r, i, a, s) || "";
|
|
3012
3012
|
return c;
|
|
3013
3013
|
};
|
|
3014
3014
|
}
|
|
@@ -3023,30 +3023,30 @@ function Kr(e) {
|
|
|
3023
3023
|
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
3024
3024
|
};
|
|
3025
3025
|
}
|
|
3026
|
-
var _i = function(t, r,
|
|
3027
|
-
for (var
|
|
3026
|
+
var _i = function(t, r, i) {
|
|
3027
|
+
for (var a = 0, s = 0; a = s, s = be(), a === 38 && s === 12 && (r[i] = 1), !Ve(s); )
|
|
3028
3028
|
me();
|
|
3029
3029
|
return Je(t, he);
|
|
3030
3030
|
}, Ri = function(t, r) {
|
|
3031
|
-
var
|
|
3031
|
+
var i = -1, a = 44;
|
|
3032
3032
|
do
|
|
3033
|
-
switch (Ve(
|
|
3033
|
+
switch (Ve(a)) {
|
|
3034
3034
|
case 0:
|
|
3035
|
-
|
|
3035
|
+
a === 38 && be() === 12 && (r[i] = 1), t[i] += _i(he - 1, r, i);
|
|
3036
3036
|
break;
|
|
3037
3037
|
case 2:
|
|
3038
|
-
t[
|
|
3038
|
+
t[i] += st(a);
|
|
3039
3039
|
break;
|
|
3040
3040
|
case 4:
|
|
3041
|
-
if (
|
|
3042
|
-
t[++
|
|
3041
|
+
if (a === 44) {
|
|
3042
|
+
t[++i] = be() === 58 ? "&\f" : "", r[i] = t[i].length;
|
|
3043
3043
|
break;
|
|
3044
3044
|
}
|
|
3045
3045
|
// fallthrough
|
|
3046
3046
|
default:
|
|
3047
|
-
t[
|
|
3047
|
+
t[i] += wt(a);
|
|
3048
3048
|
}
|
|
3049
|
-
while (
|
|
3049
|
+
while (a = me());
|
|
3050
3050
|
return t;
|
|
3051
3051
|
}, Ti = function(t, r) {
|
|
3052
3052
|
return Gr(Ri(Xr(t), r));
|
|
@@ -3054,11 +3054,11 @@ var _i = function(t, r, a) {
|
|
|
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)) {
|
|
3057
|
-
for (var r = t.value,
|
|
3058
|
-
if (
|
|
3059
|
-
if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !Sr.get(
|
|
3057
|
+
for (var r = t.value, i = t.parent, a = t.column === i.column && t.line === i.line; i.type !== "rule"; )
|
|
3058
|
+
if (i = i.parent, !i) return;
|
|
3059
|
+
if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !Sr.get(i)) && !a) {
|
|
3060
3060
|
Sr.set(t, !0);
|
|
3061
|
-
for (var s = [], c = Ti(r, s), u =
|
|
3061
|
+
for (var s = [], c = Ti(r, s), u = i.props, l = 0, h = 0; l < c.length; l++)
|
|
3062
3062
|
for (var g = 0; g < u.length; g++, h++)
|
|
3063
3063
|
t.props[h] = s[l] ? c[l].replace(/&\f/g, u[g]) : u[g] + " " + c[l];
|
|
3064
3064
|
}
|
|
@@ -3213,7 +3213,7 @@ function Jr(e, t) {
|
|
|
3213
3213
|
}
|
|
3214
3214
|
return e;
|
|
3215
3215
|
}
|
|
3216
|
-
var Di = function(t, r,
|
|
3216
|
+
var Di = function(t, r, i, a) {
|
|
3217
3217
|
if (t.length > -1 && !t.return) switch (t.type) {
|
|
3218
3218
|
case Vt:
|
|
3219
3219
|
t.return = Jr(t.value, t.length);
|
|
@@ -3221,7 +3221,7 @@ var Di = function(t, r, a, i) {
|
|
|
3221
3221
|
case qr:
|
|
3222
3222
|
return Re([Ue(t, {
|
|
3223
3223
|
value: ne(t.value, "@", "@" + re)
|
|
3224
|
-
})],
|
|
3224
|
+
})], a);
|
|
3225
3225
|
case Bt:
|
|
3226
3226
|
if (t.length) return vi(t.props, function(s) {
|
|
3227
3227
|
switch (mi(s, /(::plac\w+|:read-\w+)/)) {
|
|
@@ -3230,7 +3230,7 @@ var Di = function(t, r, a, i) {
|
|
|
3230
3230
|
case ":read-write":
|
|
3231
3231
|
return Re([Ue(t, {
|
|
3232
3232
|
props: [ne(s, /:(read-\w+)/, ":" + vt + "$1")]
|
|
3233
|
-
})],
|
|
3233
|
+
})], a);
|
|
3234
3234
|
// :placeholder
|
|
3235
3235
|
case "::placeholder":
|
|
3236
3236
|
return Re([Ue(t, {
|
|
@@ -3239,7 +3239,7 @@ var Di = function(t, r, a, i) {
|
|
|
3239
3239
|
props: [ne(s, /:(plac\w+)/, ":" + vt + "$1")]
|
|
3240
3240
|
}), Ue(t, {
|
|
3241
3241
|
props: [ne(s, /:(plac\w+)/, de + "input-$1")]
|
|
3242
|
-
})],
|
|
3242
|
+
})], a);
|
|
3243
3243
|
}
|
|
3244
3244
|
return "";
|
|
3245
3245
|
});
|
|
@@ -3247,13 +3247,13 @@ var Di = function(t, r, a, i) {
|
|
|
3247
3247
|
}, Mi = [Di], $i = function(t) {
|
|
3248
3248
|
var r = t.key;
|
|
3249
3249
|
if (r === "css") {
|
|
3250
|
-
var
|
|
3251
|
-
Array.prototype.forEach.call(
|
|
3250
|
+
var i = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
3251
|
+
Array.prototype.forEach.call(i, function(p) {
|
|
3252
3252
|
var I = p.getAttribute("data-emotion");
|
|
3253
3253
|
I.indexOf(" ") !== -1 && (document.head.appendChild(p), p.setAttribute("data-s", ""));
|
|
3254
3254
|
});
|
|
3255
3255
|
}
|
|
3256
|
-
var
|
|
3256
|
+
var a = t.stylisPlugins || Mi, s = {}, c, u = [];
|
|
3257
3257
|
c = 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
|
|
@@ -3268,7 +3268,7 @@ var Di = function(t, r, a, i) {
|
|
|
3268
3268
|
{
|
|
3269
3269
|
var g, x = [Ci, Ei(function(p) {
|
|
3270
3270
|
g.insert(p);
|
|
3271
|
-
})], j = Pi(h.concat(
|
|
3271
|
+
})], j = Pi(h.concat(a, x)), M = function(I) {
|
|
3272
3272
|
return Re(Oi(I), j);
|
|
3273
3273
|
};
|
|
3274
3274
|
l = function(I, O, F, U) {
|
|
@@ -3293,47 +3293,47 @@ var Di = function(t, r, a, i) {
|
|
|
3293
3293
|
return E.sheet.hydrate(u), E;
|
|
3294
3294
|
}, Ii = !0;
|
|
3295
3295
|
function Ai(e, t, r) {
|
|
3296
|
-
var
|
|
3297
|
-
return r.split(" ").forEach(function(
|
|
3298
|
-
e[
|
|
3299
|
-
}),
|
|
3296
|
+
var i = "";
|
|
3297
|
+
return r.split(" ").forEach(function(a) {
|
|
3298
|
+
e[a] !== void 0 ? t.push(e[a] + ";") : a && (i += a + " ");
|
|
3299
|
+
}), i;
|
|
3300
3300
|
}
|
|
3301
|
-
var Zr = function(t, r,
|
|
3302
|
-
var
|
|
3301
|
+
var Zr = function(t, r, i) {
|
|
3302
|
+
var a = t.key + "-" + r.name;
|
|
3303
3303
|
// we only need to add the styles to the registered cache if the
|
|
3304
3304
|
// class name could be used further down
|
|
3305
3305
|
// the tree but if it's a string tag, we know it won't
|
|
3306
3306
|
// so we don't have to add it to registered cache.
|
|
3307
3307
|
// this improves memory usage since we can avoid storing the whole style string
|
|
3308
|
-
(
|
|
3308
|
+
(i === !1 || // we need to always store it if we're in compat mode and
|
|
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
|
-
Ii === !1) && t.registered[
|
|
3313
|
-
}, Hi = function(t, r,
|
|
3314
|
-
Zr(t, r,
|
|
3315
|
-
var
|
|
3312
|
+
Ii === !1) && t.registered[a] === void 0 && (t.registered[a] = r.styles);
|
|
3313
|
+
}, Hi = function(t, r, i) {
|
|
3314
|
+
Zr(t, r, i);
|
|
3315
|
+
var a = t.key + "-" + r.name;
|
|
3316
3316
|
if (t.inserted[r.name] === void 0) {
|
|
3317
3317
|
var s = r;
|
|
3318
3318
|
do
|
|
3319
|
-
t.insert(r === s ? "." +
|
|
3319
|
+
t.insert(r === s ? "." + a : "", s, t.sheet, !0), s = s.next;
|
|
3320
3320
|
while (s !== void 0);
|
|
3321
3321
|
}
|
|
3322
3322
|
};
|
|
3323
3323
|
function zi(e) {
|
|
3324
|
-
for (var t = 0, r,
|
|
3325
|
-
r = e.charCodeAt(
|
|
3324
|
+
for (var t = 0, r, i = 0, a = e.length; a >= 4; ++i, a -= 4)
|
|
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: */
|
|
3327
3327
|
r >>> 24, t = /* Math.imul(k, m): */
|
|
3328
3328
|
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
|
|
3329
3329
|
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
3330
|
-
switch (
|
|
3330
|
+
switch (a) {
|
|
3331
3331
|
case 3:
|
|
3332
|
-
t ^= (e.charCodeAt(
|
|
3332
|
+
t ^= (e.charCodeAt(i + 2) & 255) << 16;
|
|
3333
3333
|
case 2:
|
|
3334
|
-
t ^= (e.charCodeAt(
|
|
3334
|
+
t ^= (e.charCodeAt(i + 1) & 255) << 8;
|
|
3335
3335
|
case 1:
|
|
3336
|
-
t ^= e.charCodeAt(
|
|
3336
|
+
t ^= e.charCodeAt(i) & 255, t = /* Math.imul(h, m): */
|
|
3337
3337
|
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
3338
3338
|
}
|
|
3339
3339
|
return t ^= t >>> 13, t = /* Math.imul(h, m): */
|
|
@@ -3399,12 +3399,12 @@ var Ni = {
|
|
|
3399
3399
|
case "animation":
|
|
3400
3400
|
case "animationName":
|
|
3401
3401
|
if (typeof r == "string")
|
|
3402
|
-
return r.replace(Wi, function(
|
|
3402
|
+
return r.replace(Wi, function(i, a, s) {
|
|
3403
3403
|
return ye = {
|
|
3404
|
-
name:
|
|
3404
|
+
name: a,
|
|
3405
3405
|
styles: s,
|
|
3406
3406
|
next: ye
|
|
3407
|
-
},
|
|
3407
|
+
}, a;
|
|
3408
3408
|
});
|
|
3409
3409
|
}
|
|
3410
3410
|
return Ni[t] !== 1 && !Qr(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
|
|
@@ -3412,20 +3412,20 @@ var Ni = {
|
|
|
3412
3412
|
function Xe(e, t, r) {
|
|
3413
3413
|
if (r == null)
|
|
3414
3414
|
return "";
|
|
3415
|
-
var
|
|
3416
|
-
if (
|
|
3417
|
-
return
|
|
3415
|
+
var i = r;
|
|
3416
|
+
if (i.__emotion_styles !== void 0)
|
|
3417
|
+
return i;
|
|
3418
3418
|
switch (typeof r) {
|
|
3419
3419
|
case "boolean":
|
|
3420
3420
|
return "";
|
|
3421
3421
|
case "object": {
|
|
3422
|
-
var
|
|
3423
|
-
if (
|
|
3422
|
+
var a = r;
|
|
3423
|
+
if (a.anim === 1)
|
|
3424
3424
|
return ye = {
|
|
3425
|
-
name:
|
|
3426
|
-
styles:
|
|
3425
|
+
name: a.name,
|
|
3426
|
+
styles: a.styles,
|
|
3427
3427
|
next: ye
|
|
3428
|
-
},
|
|
3428
|
+
}, a.name;
|
|
3429
3429
|
var s = r;
|
|
3430
3430
|
if (s.styles !== void 0) {
|
|
3431
3431
|
var c = s.next;
|
|
@@ -3456,59 +3456,59 @@ function Xe(e, t, r) {
|
|
|
3456
3456
|
return x !== void 0 ? x : g;
|
|
3457
3457
|
}
|
|
3458
3458
|
function Ui(e, t, r) {
|
|
3459
|
-
var
|
|
3459
|
+
var i = "";
|
|
3460
3460
|
if (Array.isArray(r))
|
|
3461
|
-
for (var
|
|
3462
|
-
|
|
3461
|
+
for (var a = 0; a < r.length; a++)
|
|
3462
|
+
i += Xe(e, t, r[a]) + ";";
|
|
3463
3463
|
else
|
|
3464
3464
|
for (var s in r) {
|
|
3465
3465
|
var c = r[s];
|
|
3466
3466
|
if (typeof c != "object") {
|
|
3467
3467
|
var u = c;
|
|
3468
|
-
t != null && t[u] !== void 0 ?
|
|
3468
|
+
t != null && t[u] !== void 0 ? i += s + "{" + t[u] + "}" : xr(u) && (i += Mt(s) + ":" + Or(s, u) + ";");
|
|
3469
3469
|
} else if (Array.isArray(c) && typeof c[0] == "string" && (t == null || t[c[0]] === void 0))
|
|
3470
3470
|
for (var l = 0; l < c.length; l++)
|
|
3471
|
-
xr(c[l]) && (
|
|
3471
|
+
xr(c[l]) && (i += Mt(s) + ":" + Or(s, c[l]) + ";");
|
|
3472
3472
|
else {
|
|
3473
3473
|
var h = Xe(e, t, c);
|
|
3474
3474
|
switch (s) {
|
|
3475
3475
|
case "animation":
|
|
3476
3476
|
case "animationName": {
|
|
3477
|
-
|
|
3477
|
+
i += Mt(s) + ":" + h + ";";
|
|
3478
3478
|
break;
|
|
3479
3479
|
}
|
|
3480
3480
|
default:
|
|
3481
|
-
|
|
3481
|
+
i += s + "{" + h + "}";
|
|
3482
3482
|
}
|
|
3483
3483
|
}
|
|
3484
3484
|
}
|
|
3485
|
-
return
|
|
3485
|
+
return i;
|
|
3486
3486
|
}
|
|
3487
3487
|
var kr = /label:\s*([^\s;{]+)\s*(;|$)/g, ye;
|
|
3488
3488
|
function Yi(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
|
-
var
|
|
3491
|
+
var i = !0, a = "";
|
|
3492
3492
|
ye = void 0;
|
|
3493
3493
|
var s = e[0];
|
|
3494
3494
|
if (s == null || s.raw === void 0)
|
|
3495
|
-
|
|
3495
|
+
i = !1, a += Xe(r, t, s);
|
|
3496
3496
|
else {
|
|
3497
3497
|
var c = s;
|
|
3498
|
-
|
|
3498
|
+
a += c[0];
|
|
3499
3499
|
}
|
|
3500
3500
|
for (var u = 1; u < e.length; u++)
|
|
3501
|
-
if (
|
|
3501
|
+
if (a += Xe(r, t, e[u]), i) {
|
|
3502
3502
|
var l = s;
|
|
3503
|
-
|
|
3503
|
+
a += l[u];
|
|
3504
3504
|
}
|
|
3505
3505
|
kr.lastIndex = 0;
|
|
3506
|
-
for (var h = "", g; (g = kr.exec(
|
|
3506
|
+
for (var h = "", g; (g = kr.exec(a)) !== null; )
|
|
3507
3507
|
h += "-" + g[1];
|
|
3508
|
-
var x = zi(
|
|
3508
|
+
var x = zi(a) + h;
|
|
3509
3509
|
return {
|
|
3510
3510
|
name: x,
|
|
3511
|
-
styles:
|
|
3511
|
+
styles: a,
|
|
3512
3512
|
next: ye
|
|
3513
3513
|
};
|
|
3514
3514
|
}
|
|
@@ -3527,9 +3527,9 @@ var qi = function(t) {
|
|
|
3527
3527
|
);
|
|
3528
3528
|
en.Provider;
|
|
3529
3529
|
var Xi = function(t) {
|
|
3530
|
-
return /* @__PURE__ */ On(function(r,
|
|
3531
|
-
var
|
|
3532
|
-
return t(r,
|
|
3530
|
+
return /* @__PURE__ */ On(function(r, i) {
|
|
3531
|
+
var a = Yt(en);
|
|
3532
|
+
return t(r, a, i);
|
|
3533
3533
|
});
|
|
3534
3534
|
}, Gi = /* @__PURE__ */ D.createContext({}), Ki = /^((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)-.*))$/, Ji = /* @__PURE__ */ Kr(
|
|
3535
3535
|
function(e) {
|
|
@@ -3543,26 +3543,26 @@ var Xi = function(t) {
|
|
|
3543
3543
|
// for "a" so this is checking that
|
|
3544
3544
|
// it's a lowercase character
|
|
3545
3545
|
t.charCodeAt(0) > 96 ? Zi : Qi;
|
|
3546
|
-
}, Pr = function(t, r,
|
|
3547
|
-
var
|
|
3546
|
+
}, Pr = function(t, r, i) {
|
|
3547
|
+
var a;
|
|
3548
3548
|
if (r) {
|
|
3549
3549
|
var s = r.shouldForwardProp;
|
|
3550
|
-
|
|
3550
|
+
a = t.__emotion_forwardProp && s ? function(c) {
|
|
3551
3551
|
return t.__emotion_forwardProp(c) && s(c);
|
|
3552
3552
|
} : s;
|
|
3553
3553
|
}
|
|
3554
|
-
return typeof
|
|
3554
|
+
return typeof a != "function" && i && (a = t.__emotion_forwardProp), a;
|
|
3555
3555
|
}, ea = function(t) {
|
|
3556
|
-
var r = t.cache,
|
|
3557
|
-
return Zr(r,
|
|
3558
|
-
return Hi(r,
|
|
3556
|
+
var r = t.cache, i = t.serialized, a = t.isStringTag;
|
|
3557
|
+
return Zr(r, i, a), Vi(function() {
|
|
3558
|
+
return Hi(r, i, a);
|
|
3559
3559
|
}), null;
|
|
3560
3560
|
}, ta = function e(t, r) {
|
|
3561
|
-
var
|
|
3561
|
+
var i = t.__emotion_real === t, a = i && t.__emotion_base || t, s, c;
|
|
3562
3562
|
r !== void 0 && (s = r.label, c = r.target);
|
|
3563
|
-
var u = Pr(t, r,
|
|
3563
|
+
var u = Pr(t, r, i), l = u || Cr(a), h = !l("as");
|
|
3564
3564
|
return function() {
|
|
3565
|
-
var g = arguments, x =
|
|
3565
|
+
var g = arguments, x = i && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
|
|
3566
3566
|
if (s !== void 0 && x.push("label:" + s + ";"), g[0] == null || g[0].raw === void 0)
|
|
3567
3567
|
x.push.apply(x, g);
|
|
3568
3568
|
else {
|
|
@@ -3572,7 +3572,7 @@ var Xi = function(t) {
|
|
|
3572
3572
|
x.push(g[E], j[E]);
|
|
3573
3573
|
}
|
|
3574
3574
|
var p = Xi(function(I, O, F) {
|
|
3575
|
-
var U = h && I.as ||
|
|
3575
|
+
var U = h && I.as || a, V = "", v = [], b = I;
|
|
3576
3576
|
if (I.theme == null) {
|
|
3577
3577
|
b = {};
|
|
3578
3578
|
for (var w in I)
|
|
@@ -3591,7 +3591,7 @@ var Xi = function(t) {
|
|
|
3591
3591
|
isStringTag: typeof U == "string"
|
|
3592
3592
|
}), /* @__PURE__ */ D.createElement(U, d));
|
|
3593
3593
|
});
|
|
3594
|
-
return p.displayName = s !== void 0 ? s : "Styled(" + (typeof
|
|
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 = x, p.__emotion_forwardProp = u, Object.defineProperty(p, "toString", {
|
|
3595
3595
|
value: function() {
|
|
3596
3596
|
return "." + c;
|
|
3597
3597
|
}
|
|
@@ -3835,9 +3835,9 @@ const na = Le.div`
|
|
|
3835
3835
|
styles: e,
|
|
3836
3836
|
content: t,
|
|
3837
3837
|
settings: r,
|
|
3838
|
-
gap:
|
|
3838
|
+
gap: i = 15
|
|
3839
3839
|
}) => {
|
|
3840
|
-
const [
|
|
3840
|
+
const [a, s] = q.useState(1), c = q.useRef(null), u = q.useRef(null);
|
|
3841
3841
|
var l = {
|
|
3842
3842
|
dots: !1,
|
|
3843
3843
|
speed: 500,
|
|
@@ -3853,7 +3853,7 @@ const na = Le.div`
|
|
|
3853
3853
|
{
|
|
3854
3854
|
ref: j === 0 ? u : void 0,
|
|
3855
3855
|
styles: {
|
|
3856
|
-
paddingRight: `${
|
|
3856
|
+
paddingRight: `${i}px`,
|
|
3857
3857
|
overflow: "visible",
|
|
3858
3858
|
// marginLeft: index !== 0 ? "0px" : margin,
|
|
3859
3859
|
...x.styles
|
|
@@ -3866,7 +3866,7 @@ const na = Le.div`
|
|
|
3866
3866
|
s(l.slidesToShow);
|
|
3867
3867
|
return;
|
|
3868
3868
|
}
|
|
3869
|
-
const x = (c.current?.offsetWidth ||
|
|
3869
|
+
const x = (c.current?.offsetWidth || i + 1) - i, j = u.current?.offsetWidth || 1;
|
|
3870
3870
|
let M = Math.floor(x / j);
|
|
3871
3871
|
M < 1 ? M = 1 : M > t.length && (M = t.length), console.debug("Slides to show > ", {
|
|
3872
3872
|
container: x,
|
|
@@ -3876,16 +3876,16 @@ const na = Le.div`
|
|
|
3876
3876
|
};
|
|
3877
3877
|
return q.useEffect(() => {
|
|
3878
3878
|
g();
|
|
3879
|
-
}, [c, u]), /* @__PURE__ */ K.jsx(na, { ref: c, styles: { ...e }, children: h.length > 0 && /* @__PURE__ */ K.jsx(oi, { ...l, slidesToShow:
|
|
3879
|
+
}, [c, u]), /* @__PURE__ */ K.jsx(na, { ref: c, styles: { ...e }, children: h.length > 0 && /* @__PURE__ */ K.jsx(oi, { ...l, slidesToShow: a, children: h }) });
|
|
3880
3880
|
}, es = ({
|
|
3881
3881
|
checked: e,
|
|
3882
3882
|
onToggle: t,
|
|
3883
3883
|
styles: r,
|
|
3884
|
-
checkedStyles:
|
|
3885
|
-
customCheckedRender:
|
|
3884
|
+
checkedStyles: i,
|
|
3885
|
+
customCheckedRender: a,
|
|
3886
3886
|
customUncheckedRender: s
|
|
3887
3887
|
}) => {
|
|
3888
|
-
const c = e ? { ...r, ...
|
|
3888
|
+
const c = e ? { ...r, ...i } : { ...r };
|
|
3889
3889
|
return /* @__PURE__ */ K.jsxs(
|
|
3890
3890
|
"div",
|
|
3891
3891
|
{
|
|
@@ -3906,7 +3906,7 @@ const na = Le.div`
|
|
|
3906
3906
|
...c
|
|
3907
3907
|
},
|
|
3908
3908
|
children: [
|
|
3909
|
-
e &&
|
|
3909
|
+
e && a,
|
|
3910
3910
|
!e && s
|
|
3911
3911
|
]
|
|
3912
3912
|
}
|
|
@@ -3914,17 +3914,17 @@ const na = Le.div`
|
|
|
3914
3914
|
}, ts = (e) => Ir(e, []), aa = () => {
|
|
3915
3915
|
const [e, t] = q.useState(
|
|
3916
3916
|
{}
|
|
3917
|
-
), [r,
|
|
3917
|
+
), [r, i] = q.useState(!1);
|
|
3918
3918
|
return q.useEffect(() => {
|
|
3919
|
-
const
|
|
3919
|
+
const a = (u) => {
|
|
3920
3920
|
t({ x: u.clientX, y: u.clientY });
|
|
3921
3921
|
}, s = (u) => {
|
|
3922
|
-
|
|
3922
|
+
i(!0);
|
|
3923
3923
|
}, c = (u) => {
|
|
3924
|
-
|
|
3924
|
+
i(!1);
|
|
3925
3925
|
};
|
|
3926
|
-
return window.addEventListener("pointermove",
|
|
3927
|
-
window.removeEventListener("pointermove",
|
|
3926
|
+
return window.addEventListener("pointermove", a), window.addEventListener("pointerdown", s), window.addEventListener("pointerup", c), () => {
|
|
3927
|
+
window.removeEventListener("pointermove", a), window.removeEventListener("pointerdown", s), window.removeEventListener("pointerup", c);
|
|
3928
3928
|
};
|
|
3929
3929
|
}, []), {
|
|
3930
3930
|
pointerPosition: e,
|
|
@@ -3934,9 +3934,9 @@ const na = Le.div`
|
|
|
3934
3934
|
ref: e,
|
|
3935
3935
|
onDrag: t,
|
|
3936
3936
|
onDragStart: r,
|
|
3937
|
-
onDragEnd:
|
|
3937
|
+
onDragEnd: i
|
|
3938
3938
|
}) => {
|
|
3939
|
-
const
|
|
3939
|
+
const a = q.useRef(!1), s = q.useRef(!1), { pointerPosition: c, isPointerDown: u } = aa(), l = q.useRef({
|
|
3940
3940
|
isDragging: !1
|
|
3941
3941
|
}), h = q.useCallback(
|
|
3942
3942
|
(E) => {
|
|
@@ -3957,7 +3957,7 @@ const na = Le.div`
|
|
|
3957
3957
|
(E) => {
|
|
3958
3958
|
l.current.isDragging = !1;
|
|
3959
3959
|
const p = h(c);
|
|
3960
|
-
p && (
|
|
3960
|
+
p && (i?.(p), p.startPosX = void 0, p.startPosY = void 0, l.current = p);
|
|
3961
3961
|
},
|
|
3962
3962
|
[h, c]
|
|
3963
3963
|
), j = q.useCallback(
|
|
@@ -3972,10 +3972,10 @@ const na = Le.div`
|
|
|
3972
3972
|
},
|
|
3973
3973
|
[h, c]
|
|
3974
3974
|
), M = q.useCallback(async () => {
|
|
3975
|
-
if (!
|
|
3975
|
+
if (!a.current) {
|
|
3976
3976
|
for (; !e?.current; )
|
|
3977
3977
|
await new Promise((E) => setTimeout(E, 300));
|
|
3978
|
-
|
|
3978
|
+
a.current = !0, e.current.onpointerdown = g, e.current.style.touchAction = "none";
|
|
3979
3979
|
}
|
|
3980
3980
|
}, [e?.current, g]);
|
|
3981
3981
|
q.useEffect(() => {
|
|
@@ -4031,10 +4031,10 @@ const na = Le.div`
|
|
|
4031
4031
|
var ut = { exports: {} }, sa = ut.exports, Er;
|
|
4032
4032
|
function la() {
|
|
4033
4033
|
return Er || (Er = 1, function(e, t) {
|
|
4034
|
-
(function(r,
|
|
4035
|
-
e.exports =
|
|
4034
|
+
(function(r, i) {
|
|
4035
|
+
e.exports = i();
|
|
4036
4036
|
})(sa, function() {
|
|
4037
|
-
var r = 1e3,
|
|
4037
|
+
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", c = "second", u = "minute", l = "hour", h = "day", g = "week", x = "month", j = "quarter", M = "year", E = "date", p = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, O = /\[([^\]]+)]|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(R) {
|
|
4038
4038
|
var C = ["th", "st", "nd", "rd"], T = R % 100;
|
|
4039
4039
|
return "[" + R + (C[(T - 20) % 10] || C[T] || C[0]) + "]";
|
|
4040
4040
|
} }, U = function(R, C, T) {
|
|
@@ -4169,7 +4169,7 @@ function la() {
|
|
|
4169
4169
|
if (n === M) return this.set(M, this.$y + T);
|
|
4170
4170
|
if (n === h) return f(1);
|
|
4171
4171
|
if (n === g) return f(7);
|
|
4172
|
-
var S = (H = {}, H[u] =
|
|
4172
|
+
var S = (H = {}, H[u] = i, H[l] = a, H[c] = r, H)[n] || 1, $ = this.$d.getTime() + T * S;
|
|
4173
4173
|
return k.w($, this);
|
|
4174
4174
|
}, C.subtract = function(T, o) {
|
|
4175
4175
|
return this.add(-1 * T, o);
|
|
@@ -4242,7 +4242,7 @@ function la() {
|
|
|
4242
4242
|
}, C.utcOffset = function() {
|
|
4243
4243
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4244
4244
|
}, C.diff = function(T, o, H) {
|
|
4245
|
-
var m, n = this, f = k.p(o), S = d(T), $ = (S.utcOffset() - this.utcOffset()) *
|
|
4245
|
+
var m, n = this, f = k.p(o), S = d(T), $ = (S.utcOffset() - this.utcOffset()) * i, L = this - S, z = function() {
|
|
4246
4246
|
return k.m(n, S);
|
|
4247
4247
|
};
|
|
4248
4248
|
switch (f) {
|
|
@@ -4262,10 +4262,10 @@ function la() {
|
|
|
4262
4262
|
m = (L - $) / 864e5;
|
|
4263
4263
|
break;
|
|
4264
4264
|
case l:
|
|
4265
|
-
m = L /
|
|
4265
|
+
m = L / a;
|
|
4266
4266
|
break;
|
|
4267
4267
|
case u:
|
|
4268
|
-
m = L /
|
|
4268
|
+
m = L / i;
|
|
4269
4269
|
break;
|
|
4270
4270
|
case c:
|
|
4271
4271
|
m = L / r;
|
|
@@ -4311,10 +4311,10 @@ const ct = /* @__PURE__ */ qt(ua);
|
|
|
4311
4311
|
var ft = { exports: {} }, ca = ft.exports, _r;
|
|
4312
4312
|
function fa() {
|
|
4313
4313
|
return _r || (_r = 1, function(e, t) {
|
|
4314
|
-
(function(r,
|
|
4315
|
-
e.exports =
|
|
4314
|
+
(function(r, i) {
|
|
4315
|
+
e.exports = i();
|
|
4316
4316
|
})(ca, function() {
|
|
4317
|
-
var r = "minute",
|
|
4317
|
+
var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, a = /([+-]|\d\d)/g;
|
|
4318
4318
|
return function(s, c, u) {
|
|
4319
4319
|
var l = c.prototype;
|
|
4320
4320
|
u.utc = function(p) {
|
|
@@ -4343,9 +4343,9 @@ function fa() {
|
|
|
4343
4343
|
if (O(p)) return this.$u ? 0 : O(this.$offset) ? x.call(this) : this.$offset;
|
|
4344
4344
|
if (typeof p == "string" && (p = function(v) {
|
|
4345
4345
|
v === void 0 && (v = "");
|
|
4346
|
-
var b = v.match(
|
|
4346
|
+
var b = v.match(i);
|
|
4347
4347
|
if (!b) return null;
|
|
4348
|
-
var w = ("" + b[0]).match(
|
|
4348
|
+
var w = ("" + b[0]).match(a) || ["-", 0, 0], P = w[0], y = 60 * +w[1] + +w[2];
|
|
4349
4349
|
return y === 0 ? 0 : P === "+" ? y : -y;
|
|
4350
4350
|
}(p), p === null)) return this;
|
|
4351
4351
|
var F = Math.abs(p) <= 16 ? 60 * p : p;
|
|
@@ -4389,28 +4389,28 @@ ct.extend(ha);
|
|
|
4389
4389
|
class pa {
|
|
4390
4390
|
static waitForMilliseconds = (t) => new Promise((r) => setTimeout(r, t));
|
|
4391
4391
|
static waitForCondition = (t) => new Promise((r) => {
|
|
4392
|
-
const
|
|
4393
|
-
t() ? r() : setTimeout(
|
|
4392
|
+
const i = () => {
|
|
4393
|
+
t() ? r() : setTimeout(i, 100);
|
|
4394
4394
|
};
|
|
4395
|
-
|
|
4395
|
+
i();
|
|
4396
4396
|
});
|
|
4397
4397
|
static waitForAsyncCondition = (t) => new Promise((r) => {
|
|
4398
|
-
const
|
|
4399
|
-
await t() ? r() : setTimeout(
|
|
4398
|
+
const i = async () => {
|
|
4399
|
+
await t() ? r() : setTimeout(i, 100);
|
|
4400
4400
|
};
|
|
4401
|
-
|
|
4401
|
+
i();
|
|
4402
4402
|
});
|
|
4403
4403
|
static differenceInMonths = (t, r) => {
|
|
4404
|
-
let
|
|
4405
|
-
return
|
|
4404
|
+
let i = 0;
|
|
4405
|
+
return i = (r.getFullYear() - t.getFullYear()) * 12, i -= t.getMonth(), i += r.getMonth(), i;
|
|
4406
4406
|
};
|
|
4407
4407
|
static isDateOneAfterDateTwo = (t, r) => t.getFullYear() >= r.getFullYear() && t.getMonth() >= r.getMonth() ? t.getDay() > r.getDay() : !1;
|
|
4408
4408
|
static getDateInUTC = (t) => {
|
|
4409
4409
|
try {
|
|
4410
|
-
const r = ct.utc(t),
|
|
4410
|
+
const r = ct.utc(t), i = r.date(), a = r.month(), s = r.year(), c = r.hour(), u = r.minute(), l = r.day();
|
|
4411
4411
|
return {
|
|
4412
|
-
day:
|
|
4413
|
-
month:
|
|
4412
|
+
day: i,
|
|
4413
|
+
month: a,
|
|
4414
4414
|
year: s,
|
|
4415
4415
|
hour: c,
|
|
4416
4416
|
minute: u,
|
|
@@ -4424,14 +4424,14 @@ class pa {
|
|
|
4424
4424
|
static formatDateUTC = (t, r) => t ? ct.utc(t).format(r || "DD/MM/YYYYㆍHH:mm") : "";
|
|
4425
4425
|
}
|
|
4426
4426
|
const ns = (e, t = 0) => {
|
|
4427
|
-
const r = q.useRef(0), [
|
|
4427
|
+
const r = q.useRef(0), [i, a] = q.useState(0), s = q.useRef(null), [c, u] = q.useState(!1), l = q.useCallback(() => {
|
|
4428
4428
|
u((x) => !x);
|
|
4429
|
-
}, []), h = q.useCallback(() => r.current === 0 ? !1 :
|
|
4429
|
+
}, []), h = q.useCallback(() => r.current === 0 ? !1 : i >= r.current - t, [t, i]), g = q.useCallback(() => e.current !== null && e.current !== void 0, [e]);
|
|
4430
4430
|
return q.useEffect(() => {
|
|
4431
4431
|
const x = () => {
|
|
4432
4432
|
if (!e.current) return;
|
|
4433
4433
|
const M = e.current.scrollHeight - e.current.clientHeight;
|
|
4434
|
-
r.current = M,
|
|
4434
|
+
r.current = M, a(e.current.scrollTop);
|
|
4435
4435
|
};
|
|
4436
4436
|
return (async () => {
|
|
4437
4437
|
await pa.waitForCondition(g), s.current = e.current, s.current?.addEventListener("scroll", x);
|
|
@@ -4441,8 +4441,8 @@ const ns = (e, t = 0) => {
|
|
|
4441
4441
|
}, [
|
|
4442
4442
|
e,
|
|
4443
4443
|
r,
|
|
4444
|
-
i,
|
|
4445
4444
|
a,
|
|
4445
|
+
i,
|
|
4446
4446
|
g,
|
|
4447
4447
|
c
|
|
4448
4448
|
]), {
|
|
@@ -4460,19 +4460,19 @@ const ns = (e, t = 0) => {
|
|
|
4460
4460
|
const t = {
|
|
4461
4461
|
...ma,
|
|
4462
4462
|
...e?.breakpointConfiguration
|
|
4463
|
-
}, [r,
|
|
4463
|
+
}, [r, i] = kn(
|
|
4464
4464
|
Rr(t)
|
|
4465
|
-
),
|
|
4466
|
-
|
|
4465
|
+
), a = () => {
|
|
4466
|
+
i(Rr(t));
|
|
4467
4467
|
};
|
|
4468
|
-
return Ir(() => (window.addEventListener("resize",
|
|
4469
|
-
window.removeEventListener("resize",
|
|
4468
|
+
return Ir(() => (window.addEventListener("resize", a), () => {
|
|
4469
|
+
window.removeEventListener("resize", a);
|
|
4470
4470
|
}), []), Ar(() => r, [r]);
|
|
4471
4471
|
}, va = (e, t) => e < t.sm ? "xs" : e < t.md ? "sm" : e < t.lg ? "md" : e < t.xl ? "lg" : e < t.xxl ? "xl" : "xxl", ga = (e, t) => e <= t.sm ? "mobile" : e <= t.md ? "tablet" : "desktop", Rr = (e) => {
|
|
4472
|
-
const t = window.innerWidth, r = window.innerHeight,
|
|
4473
|
-
return { currentWidth: t, currentHeight: r, currentBreakpoint:
|
|
4472
|
+
const t = window.innerWidth, r = window.innerHeight, i = va(t, e), a = ga(t, e);
|
|
4473
|
+
return { currentWidth: t, currentHeight: r, currentBreakpoint: i, currentSize: a };
|
|
4474
4474
|
}, as = (e) => {
|
|
4475
|
-
const t = e.translations, r = e.language,
|
|
4475
|
+
const t = e.translations, r = e.language, i = (s, c) => {
|
|
4476
4476
|
if (!s)
|
|
4477
4477
|
return;
|
|
4478
4478
|
let u = s[r];
|
|
@@ -4485,19 +4485,19 @@ const ns = (e, t = 0) => {
|
|
|
4485
4485
|
return {
|
|
4486
4486
|
t: (s, c) => {
|
|
4487
4487
|
if (t[s]) {
|
|
4488
|
-
const u =
|
|
4488
|
+
const u = i(t[s], c);
|
|
4489
4489
|
return u ?? s;
|
|
4490
4490
|
}
|
|
4491
4491
|
return s;
|
|
4492
4492
|
},
|
|
4493
|
-
getTranslation:
|
|
4493
|
+
getTranslation: i
|
|
4494
4494
|
};
|
|
4495
4495
|
};
|
|
4496
4496
|
var Ye = {}, Tr;
|
|
4497
4497
|
function ya() {
|
|
4498
4498
|
if (Tr) return Ye;
|
|
4499
4499
|
Tr = 1, Object.defineProperty(Ye, "__esModule", { value: !0 }), Ye.parse = c, Ye.serialize = h;
|
|
4500
|
-
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,
|
|
4500
|
+
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__ */ (() => {
|
|
4501
4501
|
const j = function() {
|
|
4502
4502
|
};
|
|
4503
4503
|
return j.prototype = /* @__PURE__ */ Object.create(null), j;
|
|
@@ -4564,7 +4564,7 @@ function ya() {
|
|
|
4564
4564
|
O += "; Domain=" + E.domain;
|
|
4565
4565
|
}
|
|
4566
4566
|
if (E.path) {
|
|
4567
|
-
if (!
|
|
4567
|
+
if (!i.test(E.path))
|
|
4568
4568
|
throw new TypeError(`option path is invalid: ${E.path}`);
|
|
4569
4569
|
O += "; Path=" + E.path;
|
|
4570
4570
|
}
|
|
@@ -4614,7 +4614,7 @@ function ya() {
|
|
|
4614
4614
|
}
|
|
4615
4615
|
}
|
|
4616
4616
|
function x(j) {
|
|
4617
|
-
return
|
|
4617
|
+
return a.call(j) === "[object Date]";
|
|
4618
4618
|
}
|
|
4619
4619
|
return Ye;
|
|
4620
4620
|
}
|
|
@@ -4631,18 +4631,18 @@ ya();
|
|
|
4631
4631
|
*/
|
|
4632
4632
|
var jr = "popstate";
|
|
4633
4633
|
function ba(e = {}) {
|
|
4634
|
-
function t(
|
|
4635
|
-
let { pathname: s, search: c, hash: u } =
|
|
4634
|
+
function t(i, a) {
|
|
4635
|
+
let { pathname: s, search: c, hash: u } = i.location;
|
|
4636
4636
|
return Ft(
|
|
4637
4637
|
"",
|
|
4638
4638
|
{ pathname: s, search: c, hash: u },
|
|
4639
4639
|
// state defaults to `null` because `window.history.state` does
|
|
4640
|
-
|
|
4641
|
-
|
|
4640
|
+
a.state && a.state.usr || null,
|
|
4641
|
+
a.state && a.state.key || "default"
|
|
4642
4642
|
);
|
|
4643
4643
|
}
|
|
4644
|
-
function r(
|
|
4645
|
-
return typeof
|
|
4644
|
+
function r(i, a) {
|
|
4645
|
+
return typeof a == "string" ? a : Ge(a);
|
|
4646
4646
|
}
|
|
4647
4647
|
return Sa(
|
|
4648
4648
|
t,
|
|
@@ -4674,7 +4674,7 @@ function Lr(e, t) {
|
|
|
4674
4674
|
idx: t
|
|
4675
4675
|
};
|
|
4676
4676
|
}
|
|
4677
|
-
function Ft(e, t, r = null,
|
|
4677
|
+
function Ft(e, t, r = null, i) {
|
|
4678
4678
|
return {
|
|
4679
4679
|
pathname: typeof e == "string" ? e : e.pathname,
|
|
4680
4680
|
search: "",
|
|
@@ -4685,7 +4685,7 @@ function Ft(e, t, r = null, a) {
|
|
|
4685
4685
|
// full Locations now and avoid the need to run through this flow at all
|
|
4686
4686
|
// But that's a pretty big refactor to the current test suite so going to
|
|
4687
4687
|
// keep as is for the time being and just let any incoming keys take precedence
|
|
4688
|
-
key: t && t.key ||
|
|
4688
|
+
key: t && t.key || i || wa()
|
|
4689
4689
|
};
|
|
4690
4690
|
}
|
|
4691
4691
|
function Ge({
|
|
@@ -4700,13 +4700,13 @@ function Me(e) {
|
|
|
4700
4700
|
if (e) {
|
|
4701
4701
|
let r = e.indexOf("#");
|
|
4702
4702
|
r >= 0 && (t.hash = e.substring(r), e = e.substring(0, r));
|
|
4703
|
-
let
|
|
4704
|
-
|
|
4703
|
+
let i = e.indexOf("?");
|
|
4704
|
+
i >= 0 && (t.search = e.substring(i), e = e.substring(0, i)), e && (t.pathname = e);
|
|
4705
4705
|
}
|
|
4706
4706
|
return t;
|
|
4707
4707
|
}
|
|
4708
|
-
function Sa(e, t, r,
|
|
4709
|
-
let { window:
|
|
4708
|
+
function Sa(e, t, r, i = {}) {
|
|
4709
|
+
let { window: a = document.defaultView, v5Compat: s = !1 } = i, c = a.history, u = "POP", l = null, h = g();
|
|
4710
4710
|
h == null && (h = 0, c.replaceState({ ...c.state, idx: h }, ""));
|
|
4711
4711
|
function g() {
|
|
4712
4712
|
return (c.state || { idx: null }).idx;
|
|
@@ -4726,7 +4726,7 @@ function Sa(e, t, r, a = {}) {
|
|
|
4726
4726
|
} catch (v) {
|
|
4727
4727
|
if (v instanceof DOMException && v.name === "DataCloneError")
|
|
4728
4728
|
throw v;
|
|
4729
|
-
|
|
4729
|
+
a.location.assign(V);
|
|
4730
4730
|
}
|
|
4731
4731
|
s && l && l({ action: u, location: p.location, delta: 1 });
|
|
4732
4732
|
}
|
|
@@ -4745,17 +4745,17 @@ function Sa(e, t, r, a = {}) {
|
|
|
4745
4745
|
return u;
|
|
4746
4746
|
},
|
|
4747
4747
|
get location() {
|
|
4748
|
-
return e(
|
|
4748
|
+
return e(a, c);
|
|
4749
4749
|
},
|
|
4750
4750
|
listen(I) {
|
|
4751
4751
|
if (l)
|
|
4752
4752
|
throw new Error("A history only accepts one active listener");
|
|
4753
|
-
return
|
|
4754
|
-
|
|
4753
|
+
return a.addEventListener(jr, x), l = I, () => {
|
|
4754
|
+
a.removeEventListener(jr, x), l = null;
|
|
4755
4755
|
};
|
|
4756
4756
|
},
|
|
4757
4757
|
createHref(I) {
|
|
4758
|
-
return t(
|
|
4758
|
+
return t(a, I);
|
|
4759
4759
|
},
|
|
4760
4760
|
createURL: E,
|
|
4761
4761
|
encodeLocation(I) {
|
|
@@ -4777,14 +4777,14 @@ function Sa(e, t, r, a = {}) {
|
|
|
4777
4777
|
function xa(e, t = !1) {
|
|
4778
4778
|
let r = "http://localhost";
|
|
4779
4779
|
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");
|
|
4780
|
-
let
|
|
4781
|
-
return
|
|
4780
|
+
let i = typeof e == "string" ? e : Ge(e);
|
|
4781
|
+
return i = i.replace(/ $/, "%20"), !t && i.startsWith("//") && (i = r + i), new URL(i, r);
|
|
4782
4782
|
}
|
|
4783
4783
|
function tn(e, t, r = "/") {
|
|
4784
4784
|
return Oa(e, t, r, !1);
|
|
4785
4785
|
}
|
|
4786
|
-
function Oa(e, t, r,
|
|
4787
|
-
let
|
|
4786
|
+
function Oa(e, t, r, i) {
|
|
4787
|
+
let a = typeof t == "string" ? Me(t) : t, s = xe(a.pathname || "/", r);
|
|
4788
4788
|
if (s == null)
|
|
4789
4789
|
return null;
|
|
4790
4790
|
let c = rn(e);
|
|
@@ -4795,13 +4795,13 @@ function Oa(e, t, r, a) {
|
|
|
4795
4795
|
u = Da(
|
|
4796
4796
|
c[l],
|
|
4797
4797
|
h,
|
|
4798
|
-
|
|
4798
|
+
i
|
|
4799
4799
|
);
|
|
4800
4800
|
}
|
|
4801
4801
|
return u;
|
|
4802
4802
|
}
|
|
4803
|
-
function rn(e, t = [], r = [],
|
|
4804
|
-
let
|
|
4803
|
+
function rn(e, t = [], r = [], i = "") {
|
|
4804
|
+
let a = (s, c, u) => {
|
|
4805
4805
|
let l = {
|
|
4806
4806
|
relativePath: u === void 0 ? s.path || "" : u,
|
|
4807
4807
|
caseSensitive: s.caseSensitive === !0,
|
|
@@ -4809,10 +4809,10 @@ function rn(e, t = [], r = [], a = "") {
|
|
|
4809
4809
|
route: s
|
|
4810
4810
|
};
|
|
4811
4811
|
l.relativePath.startsWith("/") && (ae(
|
|
4812
|
-
l.relativePath.startsWith(
|
|
4813
|
-
`Absolute route path "${l.relativePath}" nested under path "${
|
|
4814
|
-
), l.relativePath = l.relativePath.slice(
|
|
4815
|
-
let h = Se([
|
|
4812
|
+
l.relativePath.startsWith(i),
|
|
4813
|
+
`Absolute route path "${l.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`
|
|
4814
|
+
), l.relativePath = l.relativePath.slice(i.length));
|
|
4815
|
+
let h = Se([i, l.relativePath]), g = r.concat(l);
|
|
4816
4816
|
s.children && s.children.length > 0 && (ae(
|
|
4817
4817
|
// Our types know better, but runtime JS may not!
|
|
4818
4818
|
// @ts-expect-error
|
|
@@ -4826,45 +4826,45 @@ function rn(e, t = [], r = [], a = "") {
|
|
|
4826
4826
|
};
|
|
4827
4827
|
return e.forEach((s, c) => {
|
|
4828
4828
|
if (s.path === "" || !s.path?.includes("?"))
|
|
4829
|
-
|
|
4829
|
+
a(s, c);
|
|
4830
4830
|
else
|
|
4831
4831
|
for (let u of nn(s.path))
|
|
4832
|
-
|
|
4832
|
+
a(s, c, u);
|
|
4833
4833
|
}), t;
|
|
4834
4834
|
}
|
|
4835
4835
|
function nn(e) {
|
|
4836
4836
|
let t = e.split("/");
|
|
4837
4837
|
if (t.length === 0) return [];
|
|
4838
|
-
let [r, ...
|
|
4839
|
-
if (
|
|
4840
|
-
return
|
|
4841
|
-
let c = nn(
|
|
4838
|
+
let [r, ...i] = t, a = r.endsWith("?"), s = r.replace(/\?$/, "");
|
|
4839
|
+
if (i.length === 0)
|
|
4840
|
+
return a ? [s, ""] : [s];
|
|
4841
|
+
let c = nn(i.join("/")), u = [];
|
|
4842
4842
|
return u.push(
|
|
4843
4843
|
...c.map(
|
|
4844
4844
|
(l) => l === "" ? s : [s, l].join("/")
|
|
4845
4845
|
)
|
|
4846
|
-
),
|
|
4846
|
+
), a && u.push(...c), u.map(
|
|
4847
4847
|
(l) => e.startsWith("/") && l === "" ? "/" : l
|
|
4848
4848
|
);
|
|
4849
4849
|
}
|
|
4850
4850
|
function ka(e) {
|
|
4851
4851
|
e.sort(
|
|
4852
4852
|
(t, r) => t.score !== r.score ? r.score - t.score : La(
|
|
4853
|
-
t.routesMeta.map((
|
|
4854
|
-
r.routesMeta.map((
|
|
4853
|
+
t.routesMeta.map((i) => i.childrenIndex),
|
|
4854
|
+
r.routesMeta.map((i) => i.childrenIndex)
|
|
4855
4855
|
)
|
|
4856
4856
|
);
|
|
4857
4857
|
}
|
|
4858
4858
|
var Ca = /^:[\w-]+$/, Pa = 3, Ea = 2, _a = 1, Ra = 10, Ta = -2, Dr = (e) => e === "*";
|
|
4859
4859
|
function ja(e, t) {
|
|
4860
|
-
let r = e.split("/"),
|
|
4861
|
-
return r.some(Dr) && (
|
|
4862
|
-
(
|
|
4863
|
-
|
|
4860
|
+
let r = e.split("/"), i = r.length;
|
|
4861
|
+
return r.some(Dr) && (i += Ta), t && (i += Ea), r.filter((a) => !Dr(a)).reduce(
|
|
4862
|
+
(a, s) => a + (Ca.test(s) ? Pa : s === "" ? _a : Ra),
|
|
4863
|
+
i
|
|
4864
4864
|
);
|
|
4865
4865
|
}
|
|
4866
4866
|
function La(e, t) {
|
|
4867
|
-
return e.length === t.length && e.slice(0, -1).every((
|
|
4867
|
+
return e.length === t.length && e.slice(0, -1).every((i, a) => i === t[a]) ? (
|
|
4868
4868
|
// If two routes are siblings, we should try to match the earlier sibling
|
|
4869
4869
|
// first. This allows people to have fine-grained control over the matching
|
|
4870
4870
|
// behavior by simply putting routes with identical paths in the order they
|
|
@@ -4877,13 +4877,13 @@ function La(e, t) {
|
|
|
4877
4877
|
);
|
|
4878
4878
|
}
|
|
4879
4879
|
function Da(e, t, r = !1) {
|
|
4880
|
-
let { routesMeta:
|
|
4881
|
-
for (let u = 0; u <
|
|
4882
|
-
let l =
|
|
4880
|
+
let { routesMeta: i } = e, a = {}, s = "/", c = [];
|
|
4881
|
+
for (let u = 0; u < i.length; ++u) {
|
|
4882
|
+
let l = i[u], h = u === i.length - 1, g = s === "/" ? t : t.slice(s.length) || "/", x = gt(
|
|
4883
4883
|
{ path: l.relativePath, caseSensitive: l.caseSensitive, end: h },
|
|
4884
4884
|
g
|
|
4885
4885
|
), j = l.route;
|
|
4886
|
-
if (!x && h && r && !
|
|
4886
|
+
if (!x && h && r && !i[i.length - 1].route.index && (x = gt(
|
|
4887
4887
|
{
|
|
4888
4888
|
path: l.relativePath,
|
|
4889
4889
|
caseSensitive: l.caseSensitive,
|
|
@@ -4892,9 +4892,9 @@ function Da(e, t, r = !1) {
|
|
|
4892
4892
|
g
|
|
4893
4893
|
)), !x)
|
|
4894
4894
|
return null;
|
|
4895
|
-
Object.assign(
|
|
4895
|
+
Object.assign(a, x.params), c.push({
|
|
4896
4896
|
// TODO: Can this as be avoided?
|
|
4897
|
-
params:
|
|
4897
|
+
params: a,
|
|
4898
4898
|
pathname: Se([s, x.pathname]),
|
|
4899
4899
|
pathnameBase: za(
|
|
4900
4900
|
Se([s, x.pathnameBase])
|
|
@@ -4906,15 +4906,15 @@ function Da(e, t, r = !1) {
|
|
|
4906
4906
|
}
|
|
4907
4907
|
function gt(e, t) {
|
|
4908
4908
|
typeof e == "string" && (e = { path: e, caseSensitive: !1, end: !0 });
|
|
4909
|
-
let [r,
|
|
4909
|
+
let [r, i] = Ma(
|
|
4910
4910
|
e.path,
|
|
4911
4911
|
e.caseSensitive,
|
|
4912
4912
|
e.end
|
|
4913
|
-
),
|
|
4914
|
-
if (!
|
|
4915
|
-
let s =
|
|
4913
|
+
), a = t.match(r);
|
|
4914
|
+
if (!a) return null;
|
|
4915
|
+
let s = a[0], c = s.replace(/(.)\/+$/, "$1"), u = a.slice(1);
|
|
4916
4916
|
return {
|
|
4917
|
-
params:
|
|
4917
|
+
params: i.reduce(
|
|
4918
4918
|
(h, { paramName: g, isOptional: x }, j) => {
|
|
4919
4919
|
if (g === "*") {
|
|
4920
4920
|
let E = u[j] || "";
|
|
@@ -4935,11 +4935,11 @@ function Ma(e, t = !1, r = !0) {
|
|
|
4935
4935
|
e === "*" || !e.endsWith("*") || e.endsWith("/*"),
|
|
4936
4936
|
`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(/\*$/, "/*")}".`
|
|
4937
4937
|
);
|
|
4938
|
-
let
|
|
4938
|
+
let i = [], a = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(
|
|
4939
4939
|
/\/:([\w-]+)(\?)?/g,
|
|
4940
|
-
(c, u, l) => (
|
|
4940
|
+
(c, u, l) => (i.push({ paramName: u, isOptional: l != null }), l ? "/?([^\\/]+)?" : "/([^\\/]+)")
|
|
4941
4941
|
);
|
|
4942
|
-
return e.endsWith("*") ? (
|
|
4942
|
+
return e.endsWith("*") ? (i.push({ paramName: "*" }), a += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : r ? a += "\\/*$" : e !== "" && e !== "/" && (a += "(?:(?=\\/|$))"), [new RegExp(a, t ? void 0 : "i"), i];
|
|
4943
4943
|
}
|
|
4944
4944
|
function $a(e) {
|
|
4945
4945
|
try {
|
|
@@ -4955,30 +4955,30 @@ function xe(e, t) {
|
|
|
4955
4955
|
if (t === "/") return e;
|
|
4956
4956
|
if (!e.toLowerCase().startsWith(t.toLowerCase()))
|
|
4957
4957
|
return null;
|
|
4958
|
-
let r = t.endsWith("/") ? t.length - 1 : t.length,
|
|
4959
|
-
return
|
|
4958
|
+
let r = t.endsWith("/") ? t.length - 1 : t.length, i = e.charAt(r);
|
|
4959
|
+
return i && i !== "/" ? null : e.slice(r) || "/";
|
|
4960
4960
|
}
|
|
4961
4961
|
function Ia(e, t = "/") {
|
|
4962
4962
|
let {
|
|
4963
4963
|
pathname: r,
|
|
4964
|
-
search:
|
|
4965
|
-
hash:
|
|
4964
|
+
search: i = "",
|
|
4965
|
+
hash: a = ""
|
|
4966
4966
|
} = typeof e == "string" ? Me(e) : e;
|
|
4967
4967
|
return {
|
|
4968
4968
|
pathname: r ? r.startsWith("/") ? r : Aa(r, t) : t,
|
|
4969
|
-
search: Na(
|
|
4970
|
-
hash: Fa(
|
|
4969
|
+
search: Na(i),
|
|
4970
|
+
hash: Fa(a)
|
|
4971
4971
|
};
|
|
4972
4972
|
}
|
|
4973
4973
|
function Aa(e, t) {
|
|
4974
4974
|
let r = t.replace(/\/+$/, "").split("/");
|
|
4975
|
-
return e.split("/").forEach((
|
|
4976
|
-
|
|
4975
|
+
return e.split("/").forEach((a) => {
|
|
4976
|
+
a === ".." ? r.length > 1 && r.pop() : a !== "." && r.push(a);
|
|
4977
4977
|
}), r.length > 1 ? r.join("/") : "/";
|
|
4978
4978
|
}
|
|
4979
|
-
function $t(e, t, r,
|
|
4979
|
+
function $t(e, t, r, i) {
|
|
4980
4980
|
return `Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(
|
|
4981
|
-
|
|
4981
|
+
i
|
|
4982
4982
|
)}]. 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.`;
|
|
4983
4983
|
}
|
|
4984
4984
|
function Ha(e) {
|
|
@@ -4989,35 +4989,35 @@ function Ha(e) {
|
|
|
4989
4989
|
function an(e) {
|
|
4990
4990
|
let t = Ha(e);
|
|
4991
4991
|
return t.map(
|
|
4992
|
-
(r,
|
|
4992
|
+
(r, i) => i === t.length - 1 ? r.pathname : r.pathnameBase
|
|
4993
4993
|
);
|
|
4994
4994
|
}
|
|
4995
|
-
function on(e, t, r,
|
|
4996
|
-
let
|
|
4997
|
-
typeof e == "string" ?
|
|
4998
|
-
!
|
|
4999
|
-
$t("?", "pathname", "search",
|
|
4995
|
+
function on(e, t, r, i = !1) {
|
|
4996
|
+
let a;
|
|
4997
|
+
typeof e == "string" ? a = Me(e) : (a = { ...e }, ae(
|
|
4998
|
+
!a.pathname || !a.pathname.includes("?"),
|
|
4999
|
+
$t("?", "pathname", "search", a)
|
|
5000
5000
|
), ae(
|
|
5001
|
-
!
|
|
5002
|
-
$t("#", "pathname", "hash",
|
|
5001
|
+
!a.pathname || !a.pathname.includes("#"),
|
|
5002
|
+
$t("#", "pathname", "hash", a)
|
|
5003
5003
|
), ae(
|
|
5004
|
-
!
|
|
5005
|
-
$t("#", "search", "hash",
|
|
5004
|
+
!a.search || !a.search.includes("#"),
|
|
5005
|
+
$t("#", "search", "hash", a)
|
|
5006
5006
|
));
|
|
5007
|
-
let s = e === "" ||
|
|
5007
|
+
let s = e === "" || a.pathname === "", c = s ? "/" : a.pathname, u;
|
|
5008
5008
|
if (c == null)
|
|
5009
5009
|
u = r;
|
|
5010
5010
|
else {
|
|
5011
5011
|
let x = t.length - 1;
|
|
5012
|
-
if (!
|
|
5012
|
+
if (!i && c.startsWith("..")) {
|
|
5013
5013
|
let j = c.split("/");
|
|
5014
5014
|
for (; j[0] === ".."; )
|
|
5015
5015
|
j.shift(), x -= 1;
|
|
5016
|
-
|
|
5016
|
+
a.pathname = j.join("/");
|
|
5017
5017
|
}
|
|
5018
5018
|
u = x >= 0 ? t[x] : "/";
|
|
5019
5019
|
}
|
|
5020
|
-
let l = Ia(
|
|
5020
|
+
let l = Ia(a, u), h = c && c !== "/" && c.endsWith("/"), g = (s || c === ".") && r.endsWith("/");
|
|
5021
5021
|
return !l.pathname.endsWith("/") && (h || g) && (l.pathname += "/"), l;
|
|
5022
5022
|
}
|
|
5023
5023
|
var Se = (e) => e.join("/").replace(/\/\/+/g, "/"), za = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Na = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Fa = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
|
|
@@ -5075,8 +5075,8 @@ function Ba(e, { relative: t } = {}) {
|
|
|
5075
5075
|
// router loaded. We can help them understand how to avoid that.
|
|
5076
5076
|
"useHref() may be used only in the context of a <Router> component."
|
|
5077
5077
|
);
|
|
5078
|
-
let { basename: r, navigator:
|
|
5079
|
-
return r !== "/" && (u = s === "/" ? r : Se([r, s])),
|
|
5078
|
+
let { basename: r, navigator: i } = D.useContext(we), { hash: a, pathname: s, search: c } = et(e, { relative: t }), u = s;
|
|
5079
|
+
return r !== "/" && (u = s === "/" ? r : Se([r, s])), i.createHref({ pathname: u, search: c, hash: a });
|
|
5080
5080
|
}
|
|
5081
5081
|
function Qe() {
|
|
5082
5082
|
return D.useContext(Ze) != null;
|
|
@@ -5104,7 +5104,7 @@ function Va() {
|
|
|
5104
5104
|
// router loaded. We can help them understand how to avoid that.
|
|
5105
5105
|
"useNavigate() may be used only in the context of a <Router> component."
|
|
5106
5106
|
);
|
|
5107
|
-
let e = D.useContext($e), { basename: t, navigator: r } = D.useContext(we), { matches:
|
|
5107
|
+
let e = D.useContext($e), { basename: t, navigator: r } = D.useContext(we), { matches: i } = D.useContext(Oe), { pathname: a } = ke(), s = JSON.stringify(an(i)), c = D.useRef(!1);
|
|
5108
5108
|
return cn(() => {
|
|
5109
5109
|
c.current = !0;
|
|
5110
5110
|
}), D.useCallback(
|
|
@@ -5117,7 +5117,7 @@ function Va() {
|
|
|
5117
5117
|
let g = on(
|
|
5118
5118
|
l,
|
|
5119
5119
|
JSON.parse(s),
|
|
5120
|
-
|
|
5120
|
+
a,
|
|
5121
5121
|
h.relative === "path"
|
|
5122
5122
|
);
|
|
5123
5123
|
e == null && t !== "/" && (g.pathname = g.pathname === "/" ? t : Se([t, g.pathname])), (h.replace ? r.replace : r.push)(
|
|
@@ -5130,35 +5130,35 @@ function Va() {
|
|
|
5130
5130
|
t,
|
|
5131
5131
|
r,
|
|
5132
5132
|
s,
|
|
5133
|
-
|
|
5133
|
+
a,
|
|
5134
5134
|
e
|
|
5135
5135
|
]
|
|
5136
5136
|
);
|
|
5137
5137
|
}
|
|
5138
5138
|
D.createContext(null);
|
|
5139
5139
|
function et(e, { relative: t } = {}) {
|
|
5140
|
-
let { matches: r } = D.useContext(Oe), { pathname:
|
|
5140
|
+
let { matches: r } = D.useContext(Oe), { pathname: i } = ke(), a = JSON.stringify(an(r));
|
|
5141
5141
|
return D.useMemo(
|
|
5142
5142
|
() => on(
|
|
5143
5143
|
e,
|
|
5144
|
-
JSON.parse(
|
|
5145
|
-
|
|
5144
|
+
JSON.parse(a),
|
|
5145
|
+
i,
|
|
5146
5146
|
t === "path"
|
|
5147
5147
|
),
|
|
5148
|
-
[e,
|
|
5148
|
+
[e, a, i, t]
|
|
5149
5149
|
);
|
|
5150
5150
|
}
|
|
5151
5151
|
function Xa(e, t) {
|
|
5152
5152
|
return fn(e, t);
|
|
5153
5153
|
}
|
|
5154
|
-
function fn(e, t, r,
|
|
5154
|
+
function fn(e, t, r, i) {
|
|
5155
5155
|
ae(
|
|
5156
5156
|
Qe(),
|
|
5157
5157
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
5158
5158
|
// router loaded. We can help them understand how to avoid that.
|
|
5159
5159
|
"useRoutes() may be used only in the context of a <Router> component."
|
|
5160
5160
|
);
|
|
5161
|
-
let { navigator:
|
|
5161
|
+
let { navigator: a } = D.useContext(we), { matches: s } = D.useContext(Oe), c = s[s.length - 1], u = c ? c.params : {}, l = c ? c.pathname : "/", h = c ? c.pathnameBase : "/", g = c && c.route;
|
|
5162
5162
|
{
|
|
5163
5163
|
let O = g && g.path || "";
|
|
5164
5164
|
dn(
|
|
@@ -5198,18 +5198,18 @@ Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" :
|
|
|
5198
5198
|
pathname: Se([
|
|
5199
5199
|
h,
|
|
5200
5200
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
5201
|
-
|
|
5201
|
+
a.encodeLocation ? a.encodeLocation(O.pathname).pathname : O.pathname
|
|
5202
5202
|
]),
|
|
5203
5203
|
pathnameBase: O.pathnameBase === "/" ? h : Se([
|
|
5204
5204
|
h,
|
|
5205
5205
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
5206
|
-
|
|
5206
|
+
a.encodeLocation ? a.encodeLocation(O.pathnameBase).pathname : O.pathnameBase
|
|
5207
5207
|
])
|
|
5208
5208
|
})
|
|
5209
5209
|
),
|
|
5210
5210
|
s,
|
|
5211
5211
|
r,
|
|
5212
|
-
|
|
5212
|
+
i
|
|
5213
5213
|
);
|
|
5214
5214
|
return t && I ? /* @__PURE__ */ D.createElement(
|
|
5215
5215
|
Ze.Provider,
|
|
@@ -5231,11 +5231,11 @@ Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" :
|
|
|
5231
5231
|
) : I;
|
|
5232
5232
|
}
|
|
5233
5233
|
function Ga() {
|
|
5234
|
-
let e = io(), t = Wa(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null,
|
|
5234
|
+
let e = io(), t = Wa(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, i = "rgba(200,200,200, 0.5)", a = { padding: "0.5rem", backgroundColor: i }, s = { padding: "2px 4px", backgroundColor: i }, c = null;
|
|
5235
5235
|
return console.error(
|
|
5236
5236
|
"Error handled by React Router default ErrorBoundary:",
|
|
5237
5237
|
e
|
|
5238
|
-
), c = /* @__PURE__ */ D.createElement(D.Fragment, null, /* @__PURE__ */ D.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ D.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ D.createElement("code", { style: s }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ D.createElement("code", { style: s }, "errorElement"), " prop on your route.")), /* @__PURE__ */ D.createElement(D.Fragment, null, /* @__PURE__ */ D.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ D.createElement("h3", { style: { fontStyle: "italic" } }, t), r ? /* @__PURE__ */ D.createElement("pre", { style:
|
|
5238
|
+
), c = /* @__PURE__ */ D.createElement(D.Fragment, null, /* @__PURE__ */ D.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ D.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ D.createElement("code", { style: s }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ D.createElement("code", { style: s }, "errorElement"), " prop on your route.")), /* @__PURE__ */ D.createElement(D.Fragment, null, /* @__PURE__ */ D.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ D.createElement("h3", { style: { fontStyle: "italic" } }, t), r ? /* @__PURE__ */ D.createElement("pre", { style: a }, r) : null, c);
|
|
5239
5239
|
}
|
|
5240
5240
|
var Ka = /* @__PURE__ */ D.createElement(Ga, null), Ja = class extends D.Component {
|
|
5241
5241
|
constructor(e) {
|
|
@@ -5277,10 +5277,10 @@ var Ka = /* @__PURE__ */ D.createElement(Ga, null), Ja = class extends D.Compone
|
|
|
5277
5277
|
}
|
|
5278
5278
|
};
|
|
5279
5279
|
function Za({ routeContext: e, match: t, children: r }) {
|
|
5280
|
-
let
|
|
5281
|
-
return
|
|
5280
|
+
let i = D.useContext($e);
|
|
5281
|
+
return i && i.static && i.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (i.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ D.createElement(Oe.Provider, { value: e }, r);
|
|
5282
5282
|
}
|
|
5283
|
-
function Qa(e, t = [], r = null,
|
|
5283
|
+
function Qa(e, t = [], r = null, i = null) {
|
|
5284
5284
|
if (e == null) {
|
|
5285
5285
|
if (!r)
|
|
5286
5286
|
return null;
|
|
@@ -5291,9 +5291,9 @@ function Qa(e, t = [], r = null, a = null) {
|
|
|
5291
5291
|
else
|
|
5292
5292
|
return null;
|
|
5293
5293
|
}
|
|
5294
|
-
let
|
|
5294
|
+
let a = e, s = r?.errors;
|
|
5295
5295
|
if (s != null) {
|
|
5296
|
-
let l =
|
|
5296
|
+
let l = a.findIndex(
|
|
5297
5297
|
(h) => h.route.id && s?.[h.route.id] !== void 0
|
|
5298
5298
|
);
|
|
5299
5299
|
ae(
|
|
@@ -5301,31 +5301,31 @@ function Qa(e, t = [], r = null, a = null) {
|
|
|
5301
5301
|
`Could not find a matching route for errors on route IDs: ${Object.keys(
|
|
5302
5302
|
s
|
|
5303
5303
|
).join(",")}`
|
|
5304
|
-
),
|
|
5304
|
+
), a = a.slice(
|
|
5305
5305
|
0,
|
|
5306
|
-
Math.min(
|
|
5306
|
+
Math.min(a.length, l + 1)
|
|
5307
5307
|
);
|
|
5308
5308
|
}
|
|
5309
5309
|
let c = !1, u = -1;
|
|
5310
5310
|
if (r)
|
|
5311
|
-
for (let l = 0; l <
|
|
5312
|
-
let h =
|
|
5311
|
+
for (let l = 0; l < a.length; l++) {
|
|
5312
|
+
let h = a[l];
|
|
5313
5313
|
if ((h.route.HydrateFallback || h.route.hydrateFallbackElement) && (u = l), h.route.id) {
|
|
5314
5314
|
let { loaderData: g, errors: x } = r, j = h.route.loader && !g.hasOwnProperty(h.route.id) && (!x || x[h.route.id] === void 0);
|
|
5315
5315
|
if (h.route.lazy || j) {
|
|
5316
|
-
c = !0, u >= 0 ?
|
|
5316
|
+
c = !0, u >= 0 ? a = a.slice(0, u + 1) : a = [a[0]];
|
|
5317
5317
|
break;
|
|
5318
5318
|
}
|
|
5319
5319
|
}
|
|
5320
5320
|
}
|
|
5321
|
-
return
|
|
5321
|
+
return a.reduceRight((l, h, g) => {
|
|
5322
5322
|
let x, j = !1, M = null, E = null;
|
|
5323
5323
|
r && (x = s && h.route.id ? s[h.route.id] : void 0, M = h.route.errorElement || Ka, c && (u < 0 && g === 0 ? (dn(
|
|
5324
5324
|
"route-fallback",
|
|
5325
5325
|
!1,
|
|
5326
5326
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
5327
5327
|
), j = !0, E = null) : u === g && (j = !0, E = h.route.hydrateFallbackElement || null)));
|
|
5328
|
-
let p = t.concat(
|
|
5328
|
+
let p = t.concat(a.slice(0, g + 1)), I = () => {
|
|
5329
5329
|
let O;
|
|
5330
5330
|
return x ? O = M : j ? O = E : h.route.Component ? O = /* @__PURE__ */ D.createElement(h.route.Component, null) : h.route.element ? O = h.route.element : O = l, /* @__PURE__ */ D.createElement(
|
|
5331
5331
|
Za,
|
|
@@ -5402,8 +5402,8 @@ function ao() {
|
|
|
5402
5402
|
return cn(() => {
|
|
5403
5403
|
r.current = !0;
|
|
5404
5404
|
}), D.useCallback(
|
|
5405
|
-
async (
|
|
5406
|
-
ve(r.current, un), r.current && (typeof
|
|
5405
|
+
async (a, s = {}) => {
|
|
5406
|
+
ve(r.current, un), r.current && (typeof a == "number" ? e.navigate(a) : await e.navigate(a, { fromRouteId: t, ...s }));
|
|
5407
5407
|
},
|
|
5408
5408
|
[e, t]
|
|
5409
5409
|
);
|
|
@@ -5430,8 +5430,8 @@ function so({
|
|
|
5430
5430
|
basename: e = "/",
|
|
5431
5431
|
children: t = null,
|
|
5432
5432
|
location: r,
|
|
5433
|
-
navigationType:
|
|
5434
|
-
navigator:
|
|
5433
|
+
navigationType: i = "POP",
|
|
5434
|
+
navigator: a,
|
|
5435
5435
|
static: s = !1
|
|
5436
5436
|
}) {
|
|
5437
5437
|
ae(
|
|
@@ -5441,11 +5441,11 @@ function so({
|
|
|
5441
5441
|
let c = e.replace(/^\/*/, "/"), u = D.useMemo(
|
|
5442
5442
|
() => ({
|
|
5443
5443
|
basename: c,
|
|
5444
|
-
navigator:
|
|
5444
|
+
navigator: a,
|
|
5445
5445
|
static: s,
|
|
5446
5446
|
future: {}
|
|
5447
5447
|
}),
|
|
5448
|
-
[c,
|
|
5448
|
+
[c, a, s]
|
|
5449
5449
|
);
|
|
5450
5450
|
typeof r == "string" && (r = Me(r));
|
|
5451
5451
|
let {
|
|
@@ -5464,9 +5464,9 @@ function so({
|
|
|
5464
5464
|
state: x,
|
|
5465
5465
|
key: j
|
|
5466
5466
|
},
|
|
5467
|
-
navigationType:
|
|
5467
|
+
navigationType: i
|
|
5468
5468
|
};
|
|
5469
|
-
}, [c, l, h, g, x, j,
|
|
5469
|
+
}, [c, l, h, g, x, j, i]);
|
|
5470
5470
|
return ve(
|
|
5471
5471
|
M != null,
|
|
5472
5472
|
`<Router basename="${c}"> is not able to match the URL "${l}${h}${g}" because it does not start with the basename, so the <Router> won't render anything.`
|
|
@@ -5480,44 +5480,44 @@ function lo({
|
|
|
5480
5480
|
}
|
|
5481
5481
|
function Wt(e, t = []) {
|
|
5482
5482
|
let r = [];
|
|
5483
|
-
return D.Children.forEach(e, (
|
|
5484
|
-
if (!D.isValidElement(
|
|
5483
|
+
return D.Children.forEach(e, (i, a) => {
|
|
5484
|
+
if (!D.isValidElement(i))
|
|
5485
5485
|
return;
|
|
5486
|
-
let s = [...t,
|
|
5487
|
-
if (
|
|
5486
|
+
let s = [...t, a];
|
|
5487
|
+
if (i.type === D.Fragment) {
|
|
5488
5488
|
r.push.apply(
|
|
5489
5489
|
r,
|
|
5490
|
-
Wt(
|
|
5490
|
+
Wt(i.props.children, s)
|
|
5491
5491
|
);
|
|
5492
5492
|
return;
|
|
5493
5493
|
}
|
|
5494
5494
|
ae(
|
|
5495
|
-
|
|
5496
|
-
`[${typeof
|
|
5495
|
+
i.type === hn,
|
|
5496
|
+
`[${typeof i.type == "string" ? i.type : i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`
|
|
5497
5497
|
), ae(
|
|
5498
|
-
!
|
|
5498
|
+
!i.props.index || !i.props.children,
|
|
5499
5499
|
"An index route cannot have child routes."
|
|
5500
5500
|
);
|
|
5501
5501
|
let c = {
|
|
5502
|
-
id:
|
|
5503
|
-
caseSensitive:
|
|
5504
|
-
element:
|
|
5505
|
-
Component:
|
|
5506
|
-
index:
|
|
5507
|
-
path:
|
|
5508
|
-
loader:
|
|
5509
|
-
action:
|
|
5510
|
-
hydrateFallbackElement:
|
|
5511
|
-
HydrateFallback:
|
|
5512
|
-
errorElement:
|
|
5513
|
-
ErrorBoundary:
|
|
5514
|
-
hasErrorBoundary:
|
|
5515
|
-
shouldRevalidate:
|
|
5516
|
-
handle:
|
|
5517
|
-
lazy:
|
|
5502
|
+
id: i.props.id || s.join("-"),
|
|
5503
|
+
caseSensitive: i.props.caseSensitive,
|
|
5504
|
+
element: i.props.element,
|
|
5505
|
+
Component: i.props.Component,
|
|
5506
|
+
index: i.props.index,
|
|
5507
|
+
path: i.props.path,
|
|
5508
|
+
loader: i.props.loader,
|
|
5509
|
+
action: i.props.action,
|
|
5510
|
+
hydrateFallbackElement: i.props.hydrateFallbackElement,
|
|
5511
|
+
HydrateFallback: i.props.HydrateFallback,
|
|
5512
|
+
errorElement: i.props.errorElement,
|
|
5513
|
+
ErrorBoundary: i.props.ErrorBoundary,
|
|
5514
|
+
hasErrorBoundary: i.props.hasErrorBoundary === !0 || i.props.ErrorBoundary != null || i.props.errorElement != null,
|
|
5515
|
+
shouldRevalidate: i.props.shouldRevalidate,
|
|
5516
|
+
handle: i.props.handle,
|
|
5517
|
+
lazy: i.props.lazy
|
|
5518
5518
|
};
|
|
5519
|
-
|
|
5520
|
-
|
|
5519
|
+
i.props.children && (c.children = Wt(
|
|
5520
|
+
i.props.children,
|
|
5521
5521
|
s
|
|
5522
5522
|
)), r.push(c);
|
|
5523
5523
|
}), r;
|
|
@@ -5546,18 +5546,18 @@ function po(e, t) {
|
|
|
5546
5546
|
function Ut(e = "") {
|
|
5547
5547
|
return new URLSearchParams(
|
|
5548
5548
|
typeof e == "string" || Array.isArray(e) || e instanceof URLSearchParams ? e : Object.keys(e).reduce((t, r) => {
|
|
5549
|
-
let
|
|
5549
|
+
let i = e[r];
|
|
5550
5550
|
return t.concat(
|
|
5551
|
-
Array.isArray(
|
|
5551
|
+
Array.isArray(i) ? i.map((a) => [r, a]) : [[r, i]]
|
|
5552
5552
|
);
|
|
5553
5553
|
}, [])
|
|
5554
5554
|
);
|
|
5555
5555
|
}
|
|
5556
5556
|
function mo(e, t) {
|
|
5557
5557
|
let r = Ut(e);
|
|
5558
|
-
return t && t.forEach((
|
|
5559
|
-
r.has(
|
|
5560
|
-
r.append(
|
|
5558
|
+
return t && t.forEach((i, a) => {
|
|
5559
|
+
r.has(a) || t.getAll(a).forEach((s) => {
|
|
5560
|
+
r.append(a, s);
|
|
5561
5561
|
});
|
|
5562
5562
|
}), r;
|
|
5563
5563
|
}
|
|
@@ -5587,10 +5587,10 @@ function It(e) {
|
|
|
5587
5587
|
), null) : e;
|
|
5588
5588
|
}
|
|
5589
5589
|
function yo(e, t) {
|
|
5590
|
-
let r,
|
|
5590
|
+
let r, i, a, s, c;
|
|
5591
5591
|
if (co(e)) {
|
|
5592
5592
|
let u = e.getAttribute("action");
|
|
5593
|
-
|
|
5593
|
+
i = u ? xe(u, t) : null, r = e.getAttribute("method") || dt, a = It(e.getAttribute("enctype")) || ht, s = new FormData(e);
|
|
5594
5594
|
} else if (uo(e) || fo(e) && (e.type === "submit" || e.type === "image")) {
|
|
5595
5595
|
let u = e.form;
|
|
5596
5596
|
if (u == null)
|
|
@@ -5598,7 +5598,7 @@ function yo(e, t) {
|
|
|
5598
5598
|
'Cannot submit a <button> or <input type="submit"> without a <form>'
|
|
5599
5599
|
);
|
|
5600
5600
|
let l = e.getAttribute("formaction") || u.getAttribute("action");
|
|
5601
|
-
if (
|
|
5601
|
+
if (i = l ? xe(l, t) : null, r = e.getAttribute("formmethod") || u.getAttribute("method") || dt, a = It(e.getAttribute("formenctype")) || It(u.getAttribute("enctype")) || ht, s = new FormData(u, e), !vo()) {
|
|
5602
5602
|
let { name: h, type: g, value: x } = e;
|
|
5603
5603
|
if (g === "image") {
|
|
5604
5604
|
let j = h ? `${h}.` : "";
|
|
@@ -5610,9 +5610,9 @@ function yo(e, t) {
|
|
|
5610
5610
|
throw new Error(
|
|
5611
5611
|
'Cannot submit element that is not <form>, <button>, or <input type="submit|image">'
|
|
5612
5612
|
);
|
|
5613
|
-
r = dt,
|
|
5613
|
+
r = dt, i = null, a = ht, c = e;
|
|
5614
5614
|
}
|
|
5615
|
-
return s &&
|
|
5615
|
+
return s && a === "text/plain" && (c = s, s = void 0), { action: i, method: r.toLowerCase(), encType: a, formData: s, body: c };
|
|
5616
5616
|
}
|
|
5617
5617
|
function Qt(e, t) {
|
|
5618
5618
|
if (e === !1 || e === null || typeof e > "u")
|
|
@@ -5639,9 +5639,9 @@ function wo(e) {
|
|
|
5639
5639
|
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";
|
|
5640
5640
|
}
|
|
5641
5641
|
async function So(e, t, r) {
|
|
5642
|
-
let
|
|
5643
|
-
e.map(async (
|
|
5644
|
-
let s = t.routes[
|
|
5642
|
+
let i = await Promise.all(
|
|
5643
|
+
e.map(async (a) => {
|
|
5644
|
+
let s = t.routes[a.route.id];
|
|
5645
5645
|
if (s) {
|
|
5646
5646
|
let c = await bo(s, r);
|
|
5647
5647
|
return c.links ? c.links() : [];
|
|
@@ -5650,12 +5650,12 @@ async function So(e, t, r) {
|
|
|
5650
5650
|
})
|
|
5651
5651
|
);
|
|
5652
5652
|
return Co(
|
|
5653
|
-
|
|
5654
|
-
(
|
|
5653
|
+
i.flat(1).filter(wo).filter((a) => a.rel === "stylesheet" || a.rel === "preload").map(
|
|
5654
|
+
(a) => a.rel === "stylesheet" ? { ...a, rel: "prefetch", as: "style" } : { ...a, rel: "prefetch" }
|
|
5655
5655
|
)
|
|
5656
5656
|
);
|
|
5657
5657
|
}
|
|
5658
|
-
function $r(e, t, r,
|
|
5658
|
+
function $r(e, t, r, i, a, s) {
|
|
5659
5659
|
let c = (l, h) => r[h] ? l.route.id !== r[h].route.id : !0, u = (l, h) => (
|
|
5660
5660
|
// param change, /users/123 -> /users/456
|
|
5661
5661
|
r[h].pathname !== l.pathname || // splat param changed, which is not present in match.path
|
|
@@ -5665,7 +5665,7 @@ function $r(e, t, r, a, i, s) {
|
|
|
5665
5665
|
return s === "assets" ? t.filter(
|
|
5666
5666
|
(l, h) => c(l, h) || u(l, h)
|
|
5667
5667
|
) : s === "data" ? t.filter((l, h) => {
|
|
5668
|
-
let g =
|
|
5668
|
+
let g = i.routes[l.route.id];
|
|
5669
5669
|
if (!g || !g.hasLoader)
|
|
5670
5670
|
return !1;
|
|
5671
5671
|
if (c(l, h) || u(l, h))
|
|
@@ -5673,7 +5673,7 @@ function $r(e, t, r, a, i, s) {
|
|
|
5673
5673
|
if (l.route.shouldRevalidate) {
|
|
5674
5674
|
let x = l.route.shouldRevalidate({
|
|
5675
5675
|
currentUrl: new URL(
|
|
5676
|
-
|
|
5676
|
+
a.pathname + a.search + a.hash,
|
|
5677
5677
|
window.origin
|
|
5678
5678
|
),
|
|
5679
5679
|
currentParams: r[0]?.params || {},
|
|
@@ -5689,11 +5689,11 @@ function $r(e, t, r, a, i, s) {
|
|
|
5689
5689
|
}
|
|
5690
5690
|
function xo(e, t, { includeHydrateFallback: r } = {}) {
|
|
5691
5691
|
return Oo(
|
|
5692
|
-
e.map((
|
|
5693
|
-
let
|
|
5694
|
-
if (!
|
|
5695
|
-
let s = [
|
|
5696
|
-
return
|
|
5692
|
+
e.map((i) => {
|
|
5693
|
+
let a = t.routes[i.route.id];
|
|
5694
|
+
if (!a) return [];
|
|
5695
|
+
let s = [a.module];
|
|
5696
|
+
return a.clientActionModule && (s = s.concat(a.clientActionModule)), a.clientLoaderModule && (s = s.concat(a.clientLoaderModule)), r && a.hydrateFallbackModule && (s = s.concat(a.hydrateFallbackModule)), a.imports && (s = s.concat(a.imports)), s;
|
|
5697
5697
|
}).flat(1)
|
|
5698
5698
|
);
|
|
5699
5699
|
}
|
|
@@ -5702,15 +5702,15 @@ function Oo(e) {
|
|
|
5702
5702
|
}
|
|
5703
5703
|
function ko(e) {
|
|
5704
5704
|
let t = {}, r = Object.keys(e).sort();
|
|
5705
|
-
for (let
|
|
5706
|
-
t[
|
|
5705
|
+
for (let i of r)
|
|
5706
|
+
t[i] = e[i];
|
|
5707
5707
|
return t;
|
|
5708
5708
|
}
|
|
5709
5709
|
function Co(e, t) {
|
|
5710
5710
|
let r = /* @__PURE__ */ new Set();
|
|
5711
|
-
return new Set(t), e.reduce((
|
|
5712
|
-
let s = JSON.stringify(ko(
|
|
5713
|
-
return r.has(s) || (r.add(s),
|
|
5711
|
+
return new Set(t), e.reduce((i, a) => {
|
|
5712
|
+
let s = JSON.stringify(ko(a));
|
|
5713
|
+
return r.has(s) || (r.add(s), i.push({ key: s, link: a })), i;
|
|
5714
5714
|
}, []);
|
|
5715
5715
|
}
|
|
5716
5716
|
Object.getOwnPropertyNames(Object.prototype).sort().join("\0");
|
|
@@ -5748,7 +5748,7 @@ function mn() {
|
|
|
5748
5748
|
), e;
|
|
5749
5749
|
}
|
|
5750
5750
|
function Ro(e, t) {
|
|
5751
|
-
let r = D.useContext(er), [
|
|
5751
|
+
let r = D.useContext(er), [i, a] = D.useState(!1), [s, c] = D.useState(!1), { onFocus: u, onBlur: l, onMouseEnter: h, onMouseLeave: g, onTouchStart: x } = t, j = D.useRef(null);
|
|
5752
5752
|
D.useEffect(() => {
|
|
5753
5753
|
if (e === "render" && c(!0), e === "viewport") {
|
|
5754
5754
|
let p = (O) => {
|
|
@@ -5761,7 +5761,7 @@ function Ro(e, t) {
|
|
|
5761
5761
|
};
|
|
5762
5762
|
}
|
|
5763
5763
|
}, [e]), D.useEffect(() => {
|
|
5764
|
-
if (
|
|
5764
|
+
if (i) {
|
|
5765
5765
|
let p = setTimeout(() => {
|
|
5766
5766
|
c(!0);
|
|
5767
5767
|
}, 100);
|
|
@@ -5769,11 +5769,11 @@ function Ro(e, t) {
|
|
|
5769
5769
|
clearTimeout(p);
|
|
5770
5770
|
};
|
|
5771
5771
|
}
|
|
5772
|
-
}, [
|
|
5772
|
+
}, [i]);
|
|
5773
5773
|
let M = () => {
|
|
5774
|
-
|
|
5774
|
+
a(!0);
|
|
5775
5775
|
}, E = () => {
|
|
5776
|
-
|
|
5776
|
+
a(!1), c(!1);
|
|
5777
5777
|
};
|
|
5778
5778
|
return r ? e !== "intent" ? [s, j, {}] : [
|
|
5779
5779
|
s,
|
|
@@ -5796,56 +5796,56 @@ function To({
|
|
|
5796
5796
|
page: e,
|
|
5797
5797
|
...t
|
|
5798
5798
|
}) {
|
|
5799
|
-
let { router: r } = pn(),
|
|
5799
|
+
let { router: r } = pn(), i = D.useMemo(
|
|
5800
5800
|
() => tn(r.routes, e, r.basename),
|
|
5801
5801
|
[r.routes, e, r.basename]
|
|
5802
5802
|
);
|
|
5803
|
-
return
|
|
5803
|
+
return i ? /* @__PURE__ */ D.createElement(Lo, { page: e, matches: i, ...t }) : null;
|
|
5804
5804
|
}
|
|
5805
5805
|
function jo(e) {
|
|
5806
|
-
let { manifest: t, routeModules: r } = mn(), [
|
|
5806
|
+
let { manifest: t, routeModules: r } = mn(), [i, a] = D.useState([]);
|
|
5807
5807
|
return D.useEffect(() => {
|
|
5808
5808
|
let s = !1;
|
|
5809
5809
|
return So(e, t, r).then(
|
|
5810
5810
|
(c) => {
|
|
5811
|
-
s ||
|
|
5811
|
+
s || a(c);
|
|
5812
5812
|
}
|
|
5813
5813
|
), () => {
|
|
5814
5814
|
s = !0;
|
|
5815
5815
|
};
|
|
5816
|
-
}, [e, t, r]),
|
|
5816
|
+
}, [e, t, r]), i;
|
|
5817
5817
|
}
|
|
5818
5818
|
function Lo({
|
|
5819
5819
|
page: e,
|
|
5820
5820
|
matches: t,
|
|
5821
5821
|
...r
|
|
5822
5822
|
}) {
|
|
5823
|
-
let
|
|
5823
|
+
let i = ke(), { manifest: a, routeModules: s } = mn(), { basename: c } = pn(), { loaderData: u, matches: l } = _o(), h = D.useMemo(
|
|
5824
5824
|
() => $r(
|
|
5825
5825
|
e,
|
|
5826
5826
|
t,
|
|
5827
5827
|
l,
|
|
5828
|
-
i,
|
|
5829
5828
|
a,
|
|
5829
|
+
i,
|
|
5830
5830
|
"data"
|
|
5831
5831
|
),
|
|
5832
|
-
[e, t, l,
|
|
5832
|
+
[e, t, l, a, i]
|
|
5833
5833
|
), g = D.useMemo(
|
|
5834
5834
|
() => $r(
|
|
5835
5835
|
e,
|
|
5836
5836
|
t,
|
|
5837
5837
|
l,
|
|
5838
|
-
i,
|
|
5839
5838
|
a,
|
|
5839
|
+
i,
|
|
5840
5840
|
"assets"
|
|
5841
5841
|
),
|
|
5842
|
-
[e, t, l,
|
|
5842
|
+
[e, t, l, a, i]
|
|
5843
5843
|
), x = D.useMemo(() => {
|
|
5844
|
-
if (e ===
|
|
5844
|
+
if (e === i.pathname + i.search + i.hash)
|
|
5845
5845
|
return [];
|
|
5846
5846
|
let E = /* @__PURE__ */ new Set(), p = !1;
|
|
5847
5847
|
if (t.forEach((O) => {
|
|
5848
|
-
let F =
|
|
5848
|
+
let F = a.routes[O.route.id];
|
|
5849
5849
|
!F || !F.hasLoader || (!h.some((U) => U.route.id === O.route.id) && O.route.id in u && s[O.route.id]?.shouldRevalidate || F.hasClientLoader ? p = !0 : E.add(O.route.id));
|
|
5850
5850
|
}), E.size === 0)
|
|
5851
5851
|
return [];
|
|
@@ -5857,15 +5857,15 @@ function Lo({
|
|
|
5857
5857
|
}, [
|
|
5858
5858
|
c,
|
|
5859
5859
|
u,
|
|
5860
|
-
a,
|
|
5861
5860
|
i,
|
|
5861
|
+
a,
|
|
5862
5862
|
h,
|
|
5863
5863
|
t,
|
|
5864
5864
|
e,
|
|
5865
5865
|
s
|
|
5866
5866
|
]), j = D.useMemo(
|
|
5867
|
-
() => xo(g,
|
|
5868
|
-
[g,
|
|
5867
|
+
() => xo(g, a),
|
|
5868
|
+
[g, a]
|
|
5869
5869
|
), M = jo(g);
|
|
5870
5870
|
return /* @__PURE__ */ D.createElement(D.Fragment, null, x.map((E) => /* @__PURE__ */ D.createElement("link", { key: E, rel: "prefetch", as: "fetch", href: E, ...r })), j.map((E) => /* @__PURE__ */ D.createElement("link", { key: E, rel: "modulepreload", href: E, ...r })), M.map(({ key: E, link: p }) => (
|
|
5871
5871
|
// these don't spread `linkProps` because they are full link descriptors
|
|
@@ -5890,25 +5890,25 @@ function Mo({
|
|
|
5890
5890
|
children: t,
|
|
5891
5891
|
window: r
|
|
5892
5892
|
}) {
|
|
5893
|
-
let
|
|
5894
|
-
|
|
5895
|
-
let
|
|
5896
|
-
action:
|
|
5897
|
-
location:
|
|
5893
|
+
let i = D.useRef();
|
|
5894
|
+
i.current == null && (i.current = ba({ window: r, v5Compat: !0 }));
|
|
5895
|
+
let a = i.current, [s, c] = D.useState({
|
|
5896
|
+
action: a.action,
|
|
5897
|
+
location: a.location
|
|
5898
5898
|
}), u = D.useCallback(
|
|
5899
5899
|
(l) => {
|
|
5900
5900
|
D.startTransition(() => c(l));
|
|
5901
5901
|
},
|
|
5902
5902
|
[c]
|
|
5903
5903
|
);
|
|
5904
|
-
return D.useLayoutEffect(() =>
|
|
5904
|
+
return D.useLayoutEffect(() => a.listen(u), [a, u]), /* @__PURE__ */ D.createElement(
|
|
5905
5905
|
so,
|
|
5906
5906
|
{
|
|
5907
5907
|
basename: e,
|
|
5908
5908
|
children: t,
|
|
5909
5909
|
location: s.location,
|
|
5910
5910
|
navigationType: s.action,
|
|
5911
|
-
navigator:
|
|
5911
|
+
navigator: a
|
|
5912
5912
|
}
|
|
5913
5913
|
);
|
|
5914
5914
|
}
|
|
@@ -5916,8 +5916,8 @@ var gn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, yn = D.forwardRef(
|
|
|
5916
5916
|
function({
|
|
5917
5917
|
onClick: t,
|
|
5918
5918
|
discover: r = "render",
|
|
5919
|
-
prefetch:
|
|
5920
|
-
relative:
|
|
5919
|
+
prefetch: i = "none",
|
|
5920
|
+
relative: a,
|
|
5921
5921
|
reloadDocument: s,
|
|
5922
5922
|
replace: c,
|
|
5923
5923
|
state: u,
|
|
@@ -5938,15 +5938,15 @@ var gn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, yn = D.forwardRef(
|
|
|
5938
5938
|
`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
|
|
5939
5939
|
);
|
|
5940
5940
|
}
|
|
5941
|
-
let F = Ba(h, { relative:
|
|
5942
|
-
|
|
5941
|
+
let F = Ba(h, { relative: a }), [U, V, v] = Ro(
|
|
5942
|
+
i,
|
|
5943
5943
|
j
|
|
5944
5944
|
), b = Ho(h, {
|
|
5945
5945
|
replace: c,
|
|
5946
5946
|
state: u,
|
|
5947
5947
|
target: l,
|
|
5948
5948
|
preventScrollReset: g,
|
|
5949
|
-
relative:
|
|
5949
|
+
relative: a,
|
|
5950
5950
|
viewTransition: x
|
|
5951
5951
|
});
|
|
5952
5952
|
function w(y) {
|
|
@@ -5975,8 +5975,8 @@ var $o = D.forwardRef(
|
|
|
5975
5975
|
function({
|
|
5976
5976
|
"aria-current": t = "page",
|
|
5977
5977
|
caseSensitive: r = !1,
|
|
5978
|
-
className:
|
|
5979
|
-
end:
|
|
5978
|
+
className: i = "",
|
|
5979
|
+
end: a = !1,
|
|
5980
5980
|
style: s,
|
|
5981
5981
|
to: c,
|
|
5982
5982
|
viewTransition: u,
|
|
@@ -5988,13 +5988,13 @@ var $o = D.forwardRef(
|
|
|
5988
5988
|
Yo(x) && u === !0, O = E.encodeLocation ? E.encodeLocation(x).pathname : x.pathname, F = j.pathname, U = M && M.navigation && M.navigation.location ? M.navigation.location.pathname : null;
|
|
5989
5989
|
r || (F = F.toLowerCase(), U = U ? U.toLowerCase() : null, O = O.toLowerCase()), U && p && (U = xe(U, p) || U);
|
|
5990
5990
|
const V = O !== "/" && O.endsWith("/") ? O.length - 1 : O.length;
|
|
5991
|
-
let v = F === O || !
|
|
5991
|
+
let v = F === O || !a && F.startsWith(O) && F.charAt(V) === "/", b = U != null && (U === O || !a && U.startsWith(O) && U.charAt(O.length) === "/"), w = {
|
|
5992
5992
|
isActive: v,
|
|
5993
5993
|
isPending: b,
|
|
5994
5994
|
isTransitioning: I
|
|
5995
5995
|
}, P = v ? t : void 0, y;
|
|
5996
|
-
typeof
|
|
5997
|
-
|
|
5996
|
+
typeof i == "function" ? y = i(w) : y = [
|
|
5997
|
+
i,
|
|
5998
5998
|
v ? "active" : null,
|
|
5999
5999
|
b ? "pending" : null,
|
|
6000
6000
|
I ? "transitioning" : null
|
|
@@ -6021,8 +6021,8 @@ var Io = D.forwardRef(
|
|
|
6021
6021
|
discover: e = "render",
|
|
6022
6022
|
fetcherKey: t,
|
|
6023
6023
|
navigate: r,
|
|
6024
|
-
reloadDocument:
|
|
6025
|
-
replace:
|
|
6024
|
+
reloadDocument: i,
|
|
6025
|
+
replace: a,
|
|
6026
6026
|
state: s,
|
|
6027
6027
|
method: c = dt,
|
|
6028
6028
|
action: u,
|
|
@@ -6040,7 +6040,7 @@ var Io = D.forwardRef(
|
|
|
6040
6040
|
fetcherKey: t,
|
|
6041
6041
|
method: v,
|
|
6042
6042
|
navigate: r,
|
|
6043
|
-
replace:
|
|
6043
|
+
replace: a,
|
|
6044
6044
|
state: s,
|
|
6045
6045
|
relative: h,
|
|
6046
6046
|
preventScrollReset: g,
|
|
@@ -6053,7 +6053,7 @@ var Io = D.forwardRef(
|
|
|
6053
6053
|
ref: M,
|
|
6054
6054
|
method: I,
|
|
6055
6055
|
action: p,
|
|
6056
|
-
onSubmit:
|
|
6056
|
+
onSubmit: i ? l : F,
|
|
6057
6057
|
...j,
|
|
6058
6058
|
"data-discover": !O && e === "render" ? "true" : void 0
|
|
6059
6059
|
}
|
|
@@ -6071,8 +6071,8 @@ function bn(e) {
|
|
|
6071
6071
|
function Ho(e, {
|
|
6072
6072
|
target: t,
|
|
6073
6073
|
replace: r,
|
|
6074
|
-
state:
|
|
6075
|
-
preventScrollReset:
|
|
6074
|
+
state: i,
|
|
6075
|
+
preventScrollReset: a,
|
|
6076
6076
|
relative: s,
|
|
6077
6077
|
viewTransition: c
|
|
6078
6078
|
} = {}) {
|
|
@@ -6084,8 +6084,8 @@ function Ho(e, {
|
|
|
6084
6084
|
let x = r !== void 0 ? r : Ge(l) === Ge(h);
|
|
6085
6085
|
u(e, {
|
|
6086
6086
|
replace: x,
|
|
6087
|
-
state:
|
|
6088
|
-
preventScrollReset:
|
|
6087
|
+
state: i,
|
|
6088
|
+
preventScrollReset: a,
|
|
6089
6089
|
relative: s,
|
|
6090
6090
|
viewTransition: c
|
|
6091
6091
|
});
|
|
@@ -6096,10 +6096,10 @@ function Ho(e, {
|
|
|
6096
6096
|
u,
|
|
6097
6097
|
h,
|
|
6098
6098
|
r,
|
|
6099
|
-
|
|
6099
|
+
i,
|
|
6100
6100
|
t,
|
|
6101
6101
|
e,
|
|
6102
|
-
|
|
6102
|
+
a,
|
|
6103
6103
|
s,
|
|
6104
6104
|
c
|
|
6105
6105
|
]
|
|
@@ -6110,27 +6110,27 @@ function zo(e) {
|
|
|
6110
6110
|
typeof URLSearchParams < "u",
|
|
6111
6111
|
"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."
|
|
6112
6112
|
);
|
|
6113
|
-
let t = D.useRef(Ut(e)), r = D.useRef(!1),
|
|
6113
|
+
let t = D.useRef(Ut(e)), r = D.useRef(!1), i = ke(), a = D.useMemo(
|
|
6114
6114
|
() => (
|
|
6115
6115
|
// Only merge in the defaults if we haven't yet called setSearchParams.
|
|
6116
6116
|
// Once we call that we want those to take precedence, otherwise you can't
|
|
6117
6117
|
// remove a param with setSearchParams({}) if it has an initial value
|
|
6118
6118
|
mo(
|
|
6119
|
-
|
|
6119
|
+
i.search,
|
|
6120
6120
|
r.current ? null : t.current
|
|
6121
6121
|
)
|
|
6122
6122
|
),
|
|
6123
|
-
[
|
|
6123
|
+
[i.search]
|
|
6124
6124
|
), s = Kt(), c = D.useCallback(
|
|
6125
6125
|
(u, l) => {
|
|
6126
6126
|
const h = Ut(
|
|
6127
|
-
typeof u == "function" ? u(
|
|
6127
|
+
typeof u == "function" ? u(a) : u
|
|
6128
6128
|
);
|
|
6129
6129
|
r.current = !0, s("?" + h, l);
|
|
6130
6130
|
},
|
|
6131
|
-
[s,
|
|
6131
|
+
[s, a]
|
|
6132
6132
|
);
|
|
6133
|
-
return [
|
|
6133
|
+
return [a, c];
|
|
6134
6134
|
}
|
|
6135
6135
|
var No = 0, Fo = () => `__${String(++No)}__`;
|
|
6136
6136
|
function Wo() {
|
|
@@ -6139,42 +6139,42 @@ function Wo() {
|
|
|
6139
6139
|
/* UseSubmit */
|
|
6140
6140
|
), { basename: t } = D.useContext(we), r = no();
|
|
6141
6141
|
return D.useCallback(
|
|
6142
|
-
async (
|
|
6142
|
+
async (i, a = {}) => {
|
|
6143
6143
|
let { action: s, method: c, encType: u, formData: l, body: h } = yo(
|
|
6144
|
-
|
|
6144
|
+
i,
|
|
6145
6145
|
t
|
|
6146
6146
|
);
|
|
6147
|
-
if (
|
|
6148
|
-
let g =
|
|
6149
|
-
await e.fetch(g, r,
|
|
6150
|
-
preventScrollReset:
|
|
6147
|
+
if (a.navigate === !1) {
|
|
6148
|
+
let g = a.fetcherKey || Fo();
|
|
6149
|
+
await e.fetch(g, r, a.action || s, {
|
|
6150
|
+
preventScrollReset: a.preventScrollReset,
|
|
6151
6151
|
formData: l,
|
|
6152
6152
|
body: h,
|
|
6153
|
-
formMethod:
|
|
6154
|
-
formEncType:
|
|
6155
|
-
flushSync:
|
|
6153
|
+
formMethod: a.method || c,
|
|
6154
|
+
formEncType: a.encType || u,
|
|
6155
|
+
flushSync: a.flushSync
|
|
6156
6156
|
});
|
|
6157
6157
|
} else
|
|
6158
|
-
await e.navigate(
|
|
6159
|
-
preventScrollReset:
|
|
6158
|
+
await e.navigate(a.action || s, {
|
|
6159
|
+
preventScrollReset: a.preventScrollReset,
|
|
6160
6160
|
formData: l,
|
|
6161
6161
|
body: h,
|
|
6162
|
-
formMethod:
|
|
6163
|
-
formEncType:
|
|
6164
|
-
replace:
|
|
6165
|
-
state:
|
|
6162
|
+
formMethod: a.method || c,
|
|
6163
|
+
formEncType: a.encType || u,
|
|
6164
|
+
replace: a.replace,
|
|
6165
|
+
state: a.state,
|
|
6166
6166
|
fromRouteId: r,
|
|
6167
|
-
flushSync:
|
|
6168
|
-
viewTransition:
|
|
6167
|
+
flushSync: a.flushSync,
|
|
6168
|
+
viewTransition: a.viewTransition
|
|
6169
6169
|
});
|
|
6170
6170
|
},
|
|
6171
6171
|
[e, t, r]
|
|
6172
6172
|
);
|
|
6173
6173
|
}
|
|
6174
6174
|
function Uo(e, { relative: t } = {}) {
|
|
6175
|
-
let { basename: r } = D.useContext(we),
|
|
6176
|
-
ae(
|
|
6177
|
-
let [
|
|
6175
|
+
let { basename: r } = D.useContext(we), i = D.useContext(Oe);
|
|
6176
|
+
ae(i, "useFormAction must be used inside a RouteContext");
|
|
6177
|
+
let [a] = i.matches.slice(-1), s = { ...et(e || ".", { relative: t }) }, c = ke();
|
|
6178
6178
|
if (e == null) {
|
|
6179
6179
|
s.search = c.search;
|
|
6180
6180
|
let u = new URLSearchParams(s.search), l = u.getAll("index");
|
|
@@ -6184,7 +6184,7 @@ function Uo(e, { relative: t } = {}) {
|
|
|
6184
6184
|
s.search = g ? `?${g}` : "";
|
|
6185
6185
|
}
|
|
6186
6186
|
}
|
|
6187
|
-
return (!e || e === ".") &&
|
|
6187
|
+
return (!e || e === ".") && a.route.index && (s.search = s.search ? s.search.replace(/^\?/, "?index&") : "?index"), r !== "/" && (s.pathname = s.pathname === "/" ? r : Se([r, s.pathname])), Ge(s);
|
|
6188
6188
|
}
|
|
6189
6189
|
function Yo(e, t = {}) {
|
|
6190
6190
|
let r = D.useContext(ln);
|
|
@@ -6192,14 +6192,14 @@ function Yo(e, t = {}) {
|
|
|
6192
6192
|
r != null,
|
|
6193
6193
|
"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"
|
|
6194
6194
|
);
|
|
6195
|
-
let { basename:
|
|
6195
|
+
let { basename: i } = bn(
|
|
6196
6196
|
"useViewTransitionState"
|
|
6197
6197
|
/* useViewTransitionState */
|
|
6198
|
-
),
|
|
6198
|
+
), a = et(e, { relative: t.relative });
|
|
6199
6199
|
if (!r.isTransitioning)
|
|
6200
6200
|
return !1;
|
|
6201
|
-
let s = xe(r.currentLocation.pathname,
|
|
6202
|
-
return gt(
|
|
6201
|
+
let s = xe(r.currentLocation.pathname, i) || r.currentLocation.pathname, c = xe(r.nextLocation.pathname, i) || r.nextLocation.pathname;
|
|
6202
|
+
return gt(a.pathname, c) != null || gt(a.pathname, s) != null;
|
|
6203
6203
|
}
|
|
6204
6204
|
[
|
|
6205
6205
|
...Po
|
|
@@ -6215,7 +6215,7 @@ const wn = q.createContext({
|
|
|
6215
6215
|
const [e, t] = zo(), r = Ar(
|
|
6216
6216
|
() => Object.fromEntries(e.entries()),
|
|
6217
6217
|
[e]
|
|
6218
|
-
),
|
|
6218
|
+
), i = _e(
|
|
6219
6219
|
(h) => {
|
|
6220
6220
|
const g = {};
|
|
6221
6221
|
return h.forEach((x) => {
|
|
@@ -6223,7 +6223,7 @@ const wn = q.createContext({
|
|
|
6223
6223
|
}), g;
|
|
6224
6224
|
},
|
|
6225
6225
|
[e]
|
|
6226
|
-
),
|
|
6226
|
+
), a = _e(
|
|
6227
6227
|
(h) => {
|
|
6228
6228
|
const g = e.get(h);
|
|
6229
6229
|
return g == null || g == null, g;
|
|
@@ -6260,35 +6260,35 @@ const wn = q.createContext({
|
|
|
6260
6260
|
);
|
|
6261
6261
|
return {
|
|
6262
6262
|
getAll: () => r,
|
|
6263
|
-
get:
|
|
6264
|
-
getMany:
|
|
6263
|
+
get: a,
|
|
6264
|
+
getMany: i,
|
|
6265
6265
|
set: s,
|
|
6266
6266
|
setMany: c,
|
|
6267
6267
|
remove: u,
|
|
6268
6268
|
removeMany: l
|
|
6269
6269
|
};
|
|
6270
6270
|
}, os = () => {
|
|
6271
|
-
const e = Kt(), t = ke(), r = qo(),
|
|
6271
|
+
const e = Kt(), t = ke(), r = qo(), i = Yt(wn), a = (u) => {
|
|
6272
6272
|
const l = new URL(u.path, "http://dummy-base");
|
|
6273
6273
|
return u.params && Object.entries(u.params).forEach(([h, g]) => {
|
|
6274
6274
|
g != null && l.searchParams.set(h, String(g));
|
|
6275
6275
|
}), l.pathname + l.search;
|
|
6276
6276
|
}, s = q.useCallback(
|
|
6277
6277
|
(u) => {
|
|
6278
|
-
const l =
|
|
6279
|
-
u.addToHistory !== !1 ? (e(l),
|
|
6278
|
+
const l = a(u);
|
|
6279
|
+
u.addToHistory !== !1 ? (e(l), i.addToHistory(l)) : (e(l, { replace: !0 }), i.popFromHistory(1), i.addToHistory(l));
|
|
6280
6280
|
},
|
|
6281
6281
|
[e]
|
|
6282
6282
|
), c = q.useCallback(
|
|
6283
6283
|
(u) => {
|
|
6284
6284
|
const l = u || 1;
|
|
6285
|
-
e(-l),
|
|
6285
|
+
e(-l), i.popFromHistory(l);
|
|
6286
6286
|
},
|
|
6287
6287
|
[e]
|
|
6288
6288
|
);
|
|
6289
6289
|
return {
|
|
6290
6290
|
currentPath: t.pathname,
|
|
6291
|
-
history:
|
|
6291
|
+
history: i.history,
|
|
6292
6292
|
searchParams: r,
|
|
6293
6293
|
goBack: c,
|
|
6294
6294
|
goTo: s
|
|
@@ -6298,16 +6298,16 @@ const wn = q.createContext({
|
|
|
6298
6298
|
routes: t,
|
|
6299
6299
|
children: r
|
|
6300
6300
|
}) => {
|
|
6301
|
-
const
|
|
6302
|
-
|
|
6301
|
+
const i = q.useRef([]), [a, s] = q.useState([]), c = q.useCallback((x) => {
|
|
6302
|
+
i.current = x, s(x);
|
|
6303
6303
|
}, []), u = (x, j = !1) => {
|
|
6304
|
-
let M = [...
|
|
6304
|
+
let M = [...i.current];
|
|
6305
6305
|
j && (M = M.slice(0, M.length - 1)), M = [...M, x], c(M);
|
|
6306
6306
|
}, l = (x) => {
|
|
6307
6307
|
let j = "", M = [];
|
|
6308
|
-
return
|
|
6308
|
+
return i.current.length === 0 ? "/" : (i.current.length <= x ? (j = i.current[0], M = [j]) : (M = i.current.slice(
|
|
6309
6309
|
0,
|
|
6310
|
-
|
|
6310
|
+
i.current.length - x
|
|
6311
6311
|
), j = M[M.length - 1]), c(M), j);
|
|
6312
6312
|
}, h = (x) => {
|
|
6313
6313
|
c(x);
|
|
@@ -6316,7 +6316,7 @@ const wn = q.createContext({
|
|
|
6316
6316
|
wn.Provider,
|
|
6317
6317
|
{
|
|
6318
6318
|
value: {
|
|
6319
|
-
history:
|
|
6319
|
+
history: a,
|
|
6320
6320
|
addToHistory: u,
|
|
6321
6321
|
popFromHistory: l,
|
|
6322
6322
|
replaceHistory: h
|
|
@@ -6337,20 +6337,20 @@ const wn = q.createContext({
|
|
|
6337
6337
|
}
|
|
6338
6338
|
}
|
|
6339
6339
|
), ls = ({ children: e }) => {
|
|
6340
|
-
const t = q.useRef([]), [r,
|
|
6341
|
-
t.current = l,
|
|
6340
|
+
const t = q.useRef([]), [r, i] = q.useState([]), a = q.useCallback((l) => {
|
|
6341
|
+
t.current = l, i(l);
|
|
6342
6342
|
}, []), s = q.useCallback((l) => t.current.some((h) => h === l), []), c = q.useCallback(
|
|
6343
6343
|
(l) => {
|
|
6344
|
-
s(l) ||
|
|
6344
|
+
s(l) || a([...t.current, l]);
|
|
6345
6345
|
},
|
|
6346
|
-
[s,
|
|
6346
|
+
[s, a]
|
|
6347
6347
|
), u = q.useCallback(
|
|
6348
6348
|
(l) => {
|
|
6349
|
-
s(l) &&
|
|
6349
|
+
s(l) && a(
|
|
6350
6350
|
t.current.filter((g) => g !== l)
|
|
6351
6351
|
);
|
|
6352
6352
|
},
|
|
6353
|
-
[s,
|
|
6353
|
+
[s, a]
|
|
6354
6354
|
);
|
|
6355
6355
|
return /* @__PURE__ */ K.jsx(
|
|
6356
6356
|
Sn.Provider,
|
|
@@ -6365,23 +6365,23 @@ const wn = q.createContext({
|
|
|
6365
6365
|
}
|
|
6366
6366
|
);
|
|
6367
6367
|
}, Ct = () => {
|
|
6368
|
-
const e = Yt(Sn), t = (
|
|
6369
|
-
e.showItem(
|
|
6370
|
-
},
|
|
6371
|
-
e.hideItem(
|
|
6368
|
+
const e = Yt(Sn), t = (a) => e.visibleItems.some((s) => s === a), r = (a) => {
|
|
6369
|
+
e.showItem(a);
|
|
6370
|
+
}, i = (a) => {
|
|
6371
|
+
e.hideItem(a);
|
|
6372
6372
|
};
|
|
6373
6373
|
return {
|
|
6374
6374
|
visibleItems: e.visibleItems,
|
|
6375
6375
|
isItemVisible: t,
|
|
6376
6376
|
showItem: r,
|
|
6377
|
-
hideItem:
|
|
6377
|
+
hideItem: i
|
|
6378
6378
|
};
|
|
6379
6379
|
}, Bo = ({
|
|
6380
6380
|
id: e,
|
|
6381
6381
|
onCloseDrawer: t,
|
|
6382
6382
|
drawerCloseOffset: r = 15
|
|
6383
6383
|
}) => {
|
|
6384
|
-
const { isItemVisible:
|
|
6384
|
+
const { isItemVisible: i } = Ct(), [a, s] = q.useState({
|
|
6385
6385
|
isDragging: !1
|
|
6386
6386
|
}), c = q.useRef(null), u = q.useRef(null), l = q.useRef(null), [h, g] = q.useState(0), x = (E) => {
|
|
6387
6387
|
s(E);
|
|
@@ -6398,14 +6398,14 @@ const wn = q.createContext({
|
|
|
6398
6398
|
onDragEnd: j,
|
|
6399
6399
|
onDragStart: x
|
|
6400
6400
|
}), {
|
|
6401
|
-
isVisible:
|
|
6401
|
+
isVisible: i(e),
|
|
6402
6402
|
drawerParentRef: c,
|
|
6403
6403
|
drawerRef: u,
|
|
6404
6404
|
drawerBottomDistance: h,
|
|
6405
6405
|
handleRef: l
|
|
6406
6406
|
};
|
|
6407
6407
|
}, us = (e) => {
|
|
6408
|
-
const { children: t, backgroundStyles: r, contentStyles:
|
|
6408
|
+
const { children: t, backgroundStyles: r, contentStyles: i, handle: a } = e, {
|
|
6409
6409
|
isVisible: s,
|
|
6410
6410
|
drawerParentRef: c,
|
|
6411
6411
|
drawerRef: u,
|
|
@@ -6450,7 +6450,7 @@ const wn = q.createContext({
|
|
|
6450
6450
|
zIndex: 1001,
|
|
6451
6451
|
position: "absolute",
|
|
6452
6452
|
bottom: `${h}px`,
|
|
6453
|
-
...
|
|
6453
|
+
...i
|
|
6454
6454
|
},
|
|
6455
6455
|
onClick: (g) => {
|
|
6456
6456
|
g.stopPropagation();
|
|
@@ -6469,9 +6469,9 @@ const wn = q.createContext({
|
|
|
6469
6469
|
height: "24px",
|
|
6470
6470
|
width: "100%",
|
|
6471
6471
|
cursor: "pointer",
|
|
6472
|
-
...
|
|
6472
|
+
...a?.styles
|
|
6473
6473
|
},
|
|
6474
|
-
children:
|
|
6474
|
+
children: a?.render
|
|
6475
6475
|
}
|
|
6476
6476
|
),
|
|
6477
6477
|
t
|
|
@@ -6481,7 +6481,7 @@ const wn = q.createContext({
|
|
|
6481
6481
|
}
|
|
6482
6482
|
) });
|
|
6483
6483
|
}, Vo = ({ onSubmit: e, fields: t }) => {
|
|
6484
|
-
const r = q.useRef(null),
|
|
6484
|
+
const r = q.useRef(null), i = q.useCallback(
|
|
6485
6485
|
(c) => {
|
|
6486
6486
|
var u = Object.keys(c.currentTarget.elements), l = Object.values(c.currentTarget.elements), h = [];
|
|
6487
6487
|
for (let g = 0; g < u.length; g++) {
|
|
@@ -6497,10 +6497,10 @@ const wn = q.createContext({
|
|
|
6497
6497
|
return h;
|
|
6498
6498
|
},
|
|
6499
6499
|
[e]
|
|
6500
|
-
),
|
|
6500
|
+
), a = q.useCallback(
|
|
6501
6501
|
(c) => {
|
|
6502
6502
|
c.preventDefault();
|
|
6503
|
-
const u =
|
|
6503
|
+
const u = i(c);
|
|
6504
6504
|
e?.(u);
|
|
6505
6505
|
},
|
|
6506
6506
|
[e]
|
|
@@ -6510,14 +6510,14 @@ const wn = q.createContext({
|
|
|
6510
6510
|
submitForm: (c) => {
|
|
6511
6511
|
r.current && r.current.requestSubmit();
|
|
6512
6512
|
},
|
|
6513
|
-
handleFormSubmission:
|
|
6513
|
+
handleFormSubmission: a
|
|
6514
6514
|
};
|
|
6515
6515
|
}, cs = (e) => {
|
|
6516
|
-
const { fields: t, styles: r, submitButton:
|
|
6516
|
+
const { fields: t, styles: r, submitButton: i } = e, { ref: a, handleFormSubmission: s, submitForm: c } = Vo(e), u = q.useCallback(() => t.map((l) => ({ ...l.content, key: l.name })), [t]);
|
|
6517
6517
|
return /* @__PURE__ */ K.jsxs(
|
|
6518
6518
|
"form",
|
|
6519
6519
|
{
|
|
6520
|
-
ref:
|
|
6520
|
+
ref: a,
|
|
6521
6521
|
onSubmit: s,
|
|
6522
6522
|
style: {
|
|
6523
6523
|
width: "100%",
|
|
@@ -6538,15 +6538,15 @@ const wn = q.createContext({
|
|
|
6538
6538
|
width: "100%",
|
|
6539
6539
|
alignItems: "center",
|
|
6540
6540
|
justifyContent: "center",
|
|
6541
|
-
...
|
|
6541
|
+
...i.styles
|
|
6542
6542
|
},
|
|
6543
|
-
children:
|
|
6543
|
+
children: i.content
|
|
6544
6544
|
}
|
|
6545
6545
|
)
|
|
6546
6546
|
]
|
|
6547
6547
|
}
|
|
6548
6548
|
);
|
|
6549
|
-
}, fs = ({ src: e, alt: t = "", onClick: r, styles:
|
|
6549
|
+
}, fs = ({ src: e, alt: t = "", onClick: r, styles: i }) => /* @__PURE__ */ K.jsx(
|
|
6550
6550
|
"img",
|
|
6551
6551
|
{
|
|
6552
6552
|
src: e,
|
|
@@ -6559,7 +6559,7 @@ const wn = q.createContext({
|
|
|
6559
6559
|
alignItems: "center",
|
|
6560
6560
|
justifyContent: "center",
|
|
6561
6561
|
objectFit: "cover",
|
|
6562
|
-
...
|
|
6562
|
+
...i
|
|
6563
6563
|
},
|
|
6564
6564
|
onClick: () => {
|
|
6565
6565
|
r?.();
|
|
@@ -6587,8 +6587,8 @@ const wn = q.createContext({
|
|
|
6587
6587
|
name: e,
|
|
6588
6588
|
label: t,
|
|
6589
6589
|
leftIcon: r,
|
|
6590
|
-
rightIcon:
|
|
6591
|
-
bottomMessage:
|
|
6590
|
+
rightIcon: i,
|
|
6591
|
+
bottomMessage: a,
|
|
6592
6592
|
placeHolder: s,
|
|
6593
6593
|
autoComplete: c = "off",
|
|
6594
6594
|
value: u,
|
|
@@ -6667,17 +6667,17 @@ const wn = q.createContext({
|
|
|
6667
6667
|
onFocus: I
|
|
6668
6668
|
}
|
|
6669
6669
|
),
|
|
6670
|
-
|
|
6670
|
+
i
|
|
6671
6671
|
]
|
|
6672
6672
|
}
|
|
6673
6673
|
),
|
|
6674
|
-
|
|
6674
|
+
a
|
|
6675
6675
|
]
|
|
6676
6676
|
}
|
|
6677
6677
|
);
|
|
6678
6678
|
}, hs = ({ id: e, styles: t, children: r }) => {
|
|
6679
|
-
const { isItemVisible:
|
|
6680
|
-
return /* @__PURE__ */ K.jsx(K.Fragment, { children:
|
|
6679
|
+
const { isItemVisible: i } = Ct();
|
|
6680
|
+
return /* @__PURE__ */ K.jsx(K.Fragment, { children: i(e) && /* @__PURE__ */ K.jsx(
|
|
6681
6681
|
"div",
|
|
6682
6682
|
{
|
|
6683
6683
|
style: {
|
|
@@ -6700,8 +6700,8 @@ const wn = q.createContext({
|
|
|
6700
6700
|
id: e,
|
|
6701
6701
|
children: t,
|
|
6702
6702
|
backgroundStyles: r,
|
|
6703
|
-
contentStyles:
|
|
6704
|
-
onClickOutsideModal:
|
|
6703
|
+
contentStyles: i,
|
|
6704
|
+
onClickOutsideModal: a
|
|
6705
6705
|
}) => {
|
|
6706
6706
|
const { isItemVisible: s } = Ct();
|
|
6707
6707
|
return /* @__PURE__ */ K.jsx(K.Fragment, { children: s(e) && /* @__PURE__ */ K.jsx(
|
|
@@ -6724,7 +6724,7 @@ const wn = q.createContext({
|
|
|
6724
6724
|
...r
|
|
6725
6725
|
},
|
|
6726
6726
|
onClick: () => {
|
|
6727
|
-
|
|
6727
|
+
a?.();
|
|
6728
6728
|
},
|
|
6729
6729
|
children: /* @__PURE__ */ K.jsx(
|
|
6730
6730
|
"div",
|
|
@@ -6744,7 +6744,7 @@ const wn = q.createContext({
|
|
|
6744
6744
|
zIndex: 1001,
|
|
6745
6745
|
position: "relative",
|
|
6746
6746
|
padding: "24px",
|
|
6747
|
-
...
|
|
6747
|
+
...i
|
|
6748
6748
|
},
|
|
6749
6749
|
onClick: (c) => {
|
|
6750
6750
|
c.stopPropagation();
|
|
@@ -6755,13 +6755,13 @@ const wn = q.createContext({
|
|
|
6755
6755
|
}
|
|
6756
6756
|
) });
|
|
6757
6757
|
}, Go = (e) => {
|
|
6758
|
-
const t = q.useRef(null), r = q.useRef(null), [
|
|
6759
|
-
t.current &&
|
|
6758
|
+
const t = q.useRef(null), r = q.useRef(null), [i, a] = q.useState(24), [s, c] = q.useState(24), u = q.useCallback(() => {
|
|
6759
|
+
t.current && a(t.current.clientHeight);
|
|
6760
6760
|
}, [t, t.current]), l = q.useCallback(() => {
|
|
6761
6761
|
r.current && c(r.current.clientHeight);
|
|
6762
6762
|
}, [r, r.current]), h = q.useCallback(() => {
|
|
6763
6763
|
let g = 0;
|
|
6764
|
-
return e.header?.visibility === "always" && (g = g + (
|
|
6764
|
+
return e.header?.visibility === "always" && (g = g + (i || 0)), e.footer?.visibility === "always" && (g = g + (s || 0)), g;
|
|
6765
6765
|
}, [r, r.current]);
|
|
6766
6766
|
return q.useEffect(() => {
|
|
6767
6767
|
u();
|
|
@@ -6771,7 +6771,7 @@ const wn = q.createContext({
|
|
|
6771
6771
|
header: {
|
|
6772
6772
|
...e.header,
|
|
6773
6773
|
visible: e.header !== void 0,
|
|
6774
|
-
height: e.header?.visibility === "fixed" ? 0 :
|
|
6774
|
+
height: e.header?.visibility === "fixed" ? 0 : i,
|
|
6775
6775
|
ref: t
|
|
6776
6776
|
},
|
|
6777
6777
|
footer: {
|
|
@@ -6808,8 +6808,8 @@ const wn = q.createContext({
|
|
|
6808
6808
|
const {
|
|
6809
6809
|
containerStyles: t,
|
|
6810
6810
|
pageStyles: r,
|
|
6811
|
-
children:
|
|
6812
|
-
allowScroll:
|
|
6811
|
+
children: i,
|
|
6812
|
+
allowScroll: a = !0,
|
|
6813
6813
|
floatingContent: s,
|
|
6814
6814
|
reserveSpaceForScrollbar: c
|
|
6815
6815
|
} = e, { footer: u, header: l } = Go(e);
|
|
@@ -6861,7 +6861,7 @@ const wn = q.createContext({
|
|
|
6861
6861
|
style: {
|
|
6862
6862
|
width: "100%",
|
|
6863
6863
|
overflowX: "hidden",
|
|
6864
|
-
overflowY:
|
|
6864
|
+
overflowY: a ? "auto" : "hidden",
|
|
6865
6865
|
display: "flex",
|
|
6866
6866
|
flexDirection: "column",
|
|
6867
6867
|
flex: 1,
|
|
@@ -6873,7 +6873,7 @@ const wn = q.createContext({
|
|
|
6873
6873
|
paddingBottom: `${u.height}px`,
|
|
6874
6874
|
...r
|
|
6875
6875
|
},
|
|
6876
|
-
children:
|
|
6876
|
+
children: i
|
|
6877
6877
|
}
|
|
6878
6878
|
)
|
|
6879
6879
|
}
|
|
@@ -6906,8 +6906,8 @@ const wn = q.createContext({
|
|
|
6906
6906
|
src: e,
|
|
6907
6907
|
width: t = "22",
|
|
6908
6908
|
height: r = "28",
|
|
6909
|
-
stroke:
|
|
6910
|
-
viewBox:
|
|
6909
|
+
stroke: i,
|
|
6910
|
+
viewBox: a = "0 0 22 28",
|
|
6911
6911
|
fill: s = "#000000",
|
|
6912
6912
|
alt: c = "",
|
|
6913
6913
|
onClick: u,
|
|
@@ -6929,9 +6929,9 @@ const wn = q.createContext({
|
|
|
6929
6929
|
{
|
|
6930
6930
|
width: t,
|
|
6931
6931
|
height: r,
|
|
6932
|
-
viewBox:
|
|
6932
|
+
viewBox: a,
|
|
6933
6933
|
fill: s,
|
|
6934
|
-
stroke:
|
|
6934
|
+
stroke: i,
|
|
6935
6935
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6936
6936
|
style: {
|
|
6937
6937
|
display: "flex"
|
|
@@ -6944,13 +6944,13 @@ const wn = q.createContext({
|
|
|
6944
6944
|
id: e,
|
|
6945
6945
|
children: t,
|
|
6946
6946
|
styles: r,
|
|
6947
|
-
durationInSeconds:
|
|
6947
|
+
durationInSeconds: i = 3
|
|
6948
6948
|
}) => {
|
|
6949
|
-
const
|
|
6949
|
+
const a = q.useRef(!1), { isItemVisible: s, hideItem: c } = Ct();
|
|
6950
6950
|
return q.useEffect(() => {
|
|
6951
6951
|
const u = s(e);
|
|
6952
|
-
|
|
6953
|
-
}, [
|
|
6952
|
+
a.current !== u && (a.current = u, u && setTimeout(() => c(e), i * 1e3));
|
|
6953
|
+
}, [a, s, c]), /* @__PURE__ */ K.jsx(K.Fragment, { children: s(e) && /* @__PURE__ */ K.jsx(
|
|
6954
6954
|
"div",
|
|
6955
6955
|
{
|
|
6956
6956
|
style: {
|
|
@@ -6979,8 +6979,9 @@ const wn = q.createContext({
|
|
|
6979
6979
|
) });
|
|
6980
6980
|
}, ys = ({
|
|
6981
6981
|
overflowEllipsis: e,
|
|
6982
|
-
|
|
6983
|
-
|
|
6982
|
+
maxNumberOfLines: t,
|
|
6983
|
+
children: r,
|
|
6984
|
+
styles: i
|
|
6984
6985
|
}) => /* @__PURE__ */ K.jsx(
|
|
6985
6986
|
"p",
|
|
6986
6987
|
{
|
|
@@ -6988,16 +6989,21 @@ const wn = q.createContext({
|
|
|
6988
6989
|
fontFamily: "inherit",
|
|
6989
6990
|
maxWidth: "100%",
|
|
6990
6991
|
overflow: "hidden",
|
|
6991
|
-
whiteSpace:
|
|
6992
|
+
// whiteSpace: overflowEllipsis ? "nowrap" : "normal", //Old way
|
|
6993
|
+
// new way
|
|
6994
|
+
display: "-webkit-box",
|
|
6995
|
+
WebkitLineClamp: t || void 0,
|
|
6996
|
+
WebkitBoxOrient: "vertical",
|
|
6997
|
+
whiteSpace: "unset",
|
|
6998
|
+
// end new way
|
|
6992
6999
|
textOverflow: e ? "ellipsis" : void 0,
|
|
6993
|
-
overflowWrap: e ? void 0 : "break-word",
|
|
6994
7000
|
fontSize: "16px",
|
|
6995
7001
|
fontStyle: "normal",
|
|
6996
7002
|
lineHeight: "normal",
|
|
6997
7003
|
color: "inherit",
|
|
6998
|
-
...
|
|
7004
|
+
...i
|
|
6999
7005
|
},
|
|
7000
|
-
children:
|
|
7006
|
+
children: r
|
|
7001
7007
|
}
|
|
7002
7008
|
);
|
|
7003
7009
|
class bs {
|
|
@@ -7013,7 +7019,7 @@ class ws {
|
|
|
7013
7019
|
static getPascalCase = (t) => t.replace(/\w+/g, function(r) {
|
|
7014
7020
|
return r[0].toUpperCase() + r.slice(1).toLowerCase();
|
|
7015
7021
|
});
|
|
7016
|
-
static isEqual = (t, r,
|
|
7022
|
+
static isEqual = (t, r, i = !0) => i ? t === r : t.toUpperCase() === r.toUpperCase();
|
|
7017
7023
|
}
|
|
7018
7024
|
export {
|
|
7019
7025
|
Zo as Button,
|