pankosmia-rcl 0.8.5 → 0.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -164,7 +164,7 @@ function Yc() {
|
|
|
164
164
|
function p(w, z, q, O, K, A) {
|
|
165
165
|
var R = q.ref;
|
|
166
166
|
return w = {
|
|
167
|
-
$$typeof:
|
|
167
|
+
$$typeof: y,
|
|
168
168
|
type: w,
|
|
169
169
|
key: z,
|
|
170
170
|
props: q,
|
|
@@ -243,12 +243,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
243
243
|
);
|
|
244
244
|
}
|
|
245
245
|
function m(w) {
|
|
246
|
-
|
|
246
|
+
g(w) ? w._store && (w._store.validated = 1) : typeof w == "object" && w !== null && w.$$typeof === V && (w._payload.status === "fulfilled" ? g(w._payload.value) && w._payload.value._store && (w._payload.value._store.validated = 1) : w._store && (w._store.validated = 1));
|
|
247
247
|
}
|
|
248
|
-
function
|
|
249
|
-
return typeof w == "object" && w !== null && w.$$typeof ===
|
|
248
|
+
function g(w) {
|
|
249
|
+
return typeof w == "object" && w !== null && w.$$typeof === y;
|
|
250
250
|
}
|
|
251
|
-
var d = Ur,
|
|
251
|
+
var d = Ur, y = Symbol.for("react.transitional.element"), h = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), E = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), S = Symbol.for("react.consumer"), j = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), $ = Symbol.for("react.suspense"), _ = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), V = Symbol.for("react.lazy"), D = Symbol.for("react.activity"), T = Symbol.for("react.client.reference"), l = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, I = Object.prototype.hasOwnProperty, P = Array.isArray, F = console.createTask ? console.createTask : function() {
|
|
252
252
|
return null;
|
|
253
253
|
};
|
|
254
254
|
d = {
|
|
@@ -296,7 +296,7 @@ async function _e(e, t = !1) {
|
|
|
296
296
|
url: e,
|
|
297
297
|
ok: !1,
|
|
298
298
|
status: r.status,
|
|
299
|
-
error: await r.text()
|
|
299
|
+
error: JSON.parse(await r.text())
|
|
300
300
|
};
|
|
301
301
|
return t && console.log("getJson", o), o;
|
|
302
302
|
}
|
|
@@ -332,9 +332,9 @@ async function Zi(e, t = !1) {
|
|
|
332
332
|
url: e,
|
|
333
333
|
ok: !1,
|
|
334
334
|
status: r.status,
|
|
335
|
-
error: await r.text()
|
|
335
|
+
error: JSON.parse(await r.text())
|
|
336
336
|
};
|
|
337
|
-
return t && console.log("
|
|
337
|
+
return t && console.log("postEmpty", o), o;
|
|
338
338
|
}
|
|
339
339
|
const n = {
|
|
340
340
|
url: e,
|
|
@@ -342,7 +342,7 @@ async function Zi(e, t = !1) {
|
|
|
342
342
|
status: r.status,
|
|
343
343
|
json: await r.json()
|
|
344
344
|
};
|
|
345
|
-
return t && console.log("
|
|
345
|
+
return t && console.log("postEmpty", n), n;
|
|
346
346
|
} catch (r) {
|
|
347
347
|
const n = {
|
|
348
348
|
url: e,
|
|
@@ -350,7 +350,7 @@ async function Zi(e, t = !1) {
|
|
|
350
350
|
status: 0,
|
|
351
351
|
error: r.message
|
|
352
352
|
};
|
|
353
|
-
return t && console.log("
|
|
353
|
+
return t && console.log("postEmpty", n), n;
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
const W = (e, t) => t[e] || e, Hr = Ye({ debug: !1, setDebug: () => {
|
|
@@ -414,7 +414,7 @@ var Rs;
|
|
|
414
414
|
function Kc() {
|
|
415
415
|
if (Rs) return pe;
|
|
416
416
|
Rs = 1;
|
|
417
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113,
|
|
417
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, d = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
418
418
|
function S(x) {
|
|
419
419
|
if (typeof x == "object" && x !== null) {
|
|
420
420
|
var $ = x.$$typeof;
|
|
@@ -432,7 +432,7 @@ function Kc() {
|
|
|
432
432
|
switch (x = x && x.$$typeof, x) {
|
|
433
433
|
case a:
|
|
434
434
|
case f:
|
|
435
|
-
case
|
|
435
|
+
case y:
|
|
436
436
|
case d:
|
|
437
437
|
case i:
|
|
438
438
|
return x;
|
|
@@ -448,7 +448,7 @@ function Kc() {
|
|
|
448
448
|
function j(x) {
|
|
449
449
|
return S(x) === p;
|
|
450
450
|
}
|
|
451
|
-
return pe.AsyncMode = u, pe.ConcurrentMode = p, pe.ContextConsumer = a, pe.ContextProvider = i, pe.Element = t, pe.ForwardRef = f, pe.Fragment = n, pe.Lazy =
|
|
451
|
+
return pe.AsyncMode = u, pe.ConcurrentMode = p, pe.ContextConsumer = a, pe.ContextProvider = i, pe.Element = t, pe.ForwardRef = f, pe.Fragment = n, pe.Lazy = y, pe.Memo = d, pe.Portal = r, pe.Profiler = s, pe.StrictMode = o, pe.Suspense = m, pe.isAsyncMode = function(x) {
|
|
452
452
|
return j(x) || S(x) === u;
|
|
453
453
|
}, pe.isConcurrentMode = j, pe.isContextConsumer = function(x) {
|
|
454
454
|
return S(x) === a;
|
|
@@ -461,7 +461,7 @@ function Kc() {
|
|
|
461
461
|
}, pe.isFragment = function(x) {
|
|
462
462
|
return S(x) === n;
|
|
463
463
|
}, pe.isLazy = function(x) {
|
|
464
|
-
return S(x) ===
|
|
464
|
+
return S(x) === y;
|
|
465
465
|
}, pe.isMemo = function(x) {
|
|
466
466
|
return S(x) === d;
|
|
467
467
|
}, pe.isPortal = function(x) {
|
|
@@ -473,7 +473,7 @@ function Kc() {
|
|
|
473
473
|
}, pe.isSuspense = function(x) {
|
|
474
474
|
return S(x) === m;
|
|
475
475
|
}, pe.isValidElementType = function(x) {
|
|
476
|
-
return typeof x == "string" || typeof x == "function" || x === n || x === p || x === s || x === o || x === m || x ===
|
|
476
|
+
return typeof x == "string" || typeof x == "function" || x === n || x === p || x === s || x === o || x === m || x === g || typeof x == "object" && x !== null && (x.$$typeof === y || x.$$typeof === d || x.$$typeof === i || x.$$typeof === a || x.$$typeof === f || x.$$typeof === C || x.$$typeof === E || x.$$typeof === k || x.$$typeof === h);
|
|
477
477
|
}, pe.typeOf = S, pe;
|
|
478
478
|
}
|
|
479
479
|
var he = {};
|
|
@@ -488,10 +488,10 @@ var he = {};
|
|
|
488
488
|
var $s;
|
|
489
489
|
function Gc() {
|
|
490
490
|
return $s || ($s = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
491
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113,
|
|
491
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, d = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
492
492
|
function S(H) {
|
|
493
493
|
return typeof H == "string" || typeof H == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
494
|
-
H === n || H === p || H === s || H === o || H === m || H ===
|
|
494
|
+
H === n || H === p || H === s || H === o || H === m || H === g || typeof H == "object" && H !== null && (H.$$typeof === y || H.$$typeof === d || H.$$typeof === i || H.$$typeof === a || H.$$typeof === f || H.$$typeof === C || H.$$typeof === E || H.$$typeof === k || H.$$typeof === h);
|
|
495
495
|
}
|
|
496
496
|
function j(H) {
|
|
497
497
|
if (typeof H == "object" && H !== null) {
|
|
@@ -512,7 +512,7 @@ function Gc() {
|
|
|
512
512
|
switch (nt) {
|
|
513
513
|
case a:
|
|
514
514
|
case f:
|
|
515
|
-
case
|
|
515
|
+
case y:
|
|
516
516
|
case d:
|
|
517
517
|
case i:
|
|
518
518
|
return nt;
|
|
@@ -525,7 +525,7 @@ function Gc() {
|
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
|
-
var x = u, $ = p, _ = a, v = i, V = t, D = f, T = n, l =
|
|
528
|
+
var x = u, $ = p, _ = a, v = i, V = t, D = f, T = n, l = y, I = d, P = r, F = s, Y = o, X = m, te = !1;
|
|
529
529
|
function ne(H) {
|
|
530
530
|
return te || (te = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), N(H) || j(H) === u;
|
|
531
531
|
}
|
|
@@ -548,7 +548,7 @@ function Gc() {
|
|
|
548
548
|
return j(H) === n;
|
|
549
549
|
}
|
|
550
550
|
function A(H) {
|
|
551
|
-
return j(H) ===
|
|
551
|
+
return j(H) === y;
|
|
552
552
|
}
|
|
553
553
|
function R(H) {
|
|
554
554
|
return j(H) === d;
|
|
@@ -616,8 +616,8 @@ function Xc() {
|
|
|
616
616
|
t.call(a, m) && (u[m] = a[m]);
|
|
617
617
|
if (e) {
|
|
618
618
|
p = e(a);
|
|
619
|
-
for (var
|
|
620
|
-
r.call(a, p[
|
|
619
|
+
for (var g = 0; g < p.length; g++)
|
|
620
|
+
r.call(a, p[g]) && (u[p[g]] = a[p[g]]);
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
623
|
return u;
|
|
@@ -658,14 +658,14 @@ function Jc() {
|
|
|
658
658
|
var m;
|
|
659
659
|
try {
|
|
660
660
|
if (typeof s[f] != "function") {
|
|
661
|
-
var
|
|
661
|
+
var g = Error(
|
|
662
662
|
(u || "React class") + ": " + a + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
663
663
|
);
|
|
664
|
-
throw
|
|
664
|
+
throw g.name = "Invariant Violation", g;
|
|
665
665
|
}
|
|
666
666
|
m = s[f](i, f, u, a, null, t);
|
|
667
|
-
} catch (
|
|
668
|
-
m =
|
|
667
|
+
} catch (y) {
|
|
668
|
+
m = y;
|
|
669
669
|
}
|
|
670
670
|
if (m && !(m instanceof Error) && e(
|
|
671
671
|
(u || "React class") + ": type specification of " + a + " `" + f + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
@@ -707,7 +707,7 @@ function Qc() {
|
|
|
707
707
|
if (typeof w == "function")
|
|
708
708
|
return w;
|
|
709
709
|
}
|
|
710
|
-
var
|
|
710
|
+
var g = "<<anonymous>>", d = {
|
|
711
711
|
array: E("array"),
|
|
712
712
|
bigint: E("bigint"),
|
|
713
713
|
bool: E("boolean"),
|
|
@@ -728,7 +728,7 @@ function Qc() {
|
|
|
728
728
|
shape: l,
|
|
729
729
|
exact: I
|
|
730
730
|
};
|
|
731
|
-
function
|
|
731
|
+
function y(N, w) {
|
|
732
732
|
return N === w ? N !== 0 || 1 / N === 1 / w : N !== N && w !== w;
|
|
733
733
|
}
|
|
734
734
|
function h(N, w) {
|
|
@@ -739,7 +739,7 @@ function Qc() {
|
|
|
739
739
|
if (process.env.NODE_ENV !== "production")
|
|
740
740
|
var w = {}, z = 0;
|
|
741
741
|
function q(K, A, R, L, G, ee, ce) {
|
|
742
|
-
if (L = L ||
|
|
742
|
+
if (L = L || g, ee = ee || R, ce !== r) {
|
|
743
743
|
if (u) {
|
|
744
744
|
var H = new Error(
|
|
745
745
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -818,7 +818,7 @@ function Qc() {
|
|
|
818
818
|
function $(N) {
|
|
819
819
|
function w(z, q, O, K, A) {
|
|
820
820
|
if (!(z[q] instanceof N)) {
|
|
821
|
-
var R = N.name ||
|
|
821
|
+
var R = N.name || g, L = ne(z[q]);
|
|
822
822
|
return new h("Invalid " + K + " `" + A + "` of type " + ("`" + L + "` supplied to `" + O + "`, expected ") + ("instance of `" + R + "`."));
|
|
823
823
|
}
|
|
824
824
|
return null;
|
|
@@ -832,7 +832,7 @@ function Qc() {
|
|
|
832
832
|
) : s("Invalid argument supplied to oneOf, expected an array.")), i;
|
|
833
833
|
function w(z, q, O, K, A) {
|
|
834
834
|
for (var R = z[q], L = 0; L < N.length; L++)
|
|
835
|
-
if (
|
|
835
|
+
if (y(R, N[L]))
|
|
836
836
|
return null;
|
|
837
837
|
var G = JSON.stringify(N, function(ce, H) {
|
|
838
838
|
var Re = X(H);
|
|
@@ -999,7 +999,7 @@ Valid keys: ` + JSON.stringify(Object.keys(N), null, " ")
|
|
|
999
999
|
}
|
|
1000
1000
|
}
|
|
1001
1001
|
function ne(N) {
|
|
1002
|
-
return !N.constructor || !N.constructor.name ?
|
|
1002
|
+
return !N.constructor || !N.constructor.name ? g : N.constructor.name;
|
|
1003
1003
|
}
|
|
1004
1004
|
return d.checkPropTypes = o, d.resetWarningCache = o.resetWarningCache, d.PropTypes = d, d;
|
|
1005
1005
|
}, fo;
|
|
@@ -1016,10 +1016,10 @@ function Zc() {
|
|
|
1016
1016
|
return r.resetWarningCache = t, po = function() {
|
|
1017
1017
|
function n(i, a, u, p, f, m) {
|
|
1018
1018
|
if (m !== e) {
|
|
1019
|
-
var
|
|
1019
|
+
var g = new Error(
|
|
1020
1020
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
1021
1021
|
);
|
|
1022
|
-
throw
|
|
1022
|
+
throw g.name = "Invariant Violation", g;
|
|
1023
1023
|
}
|
|
1024
1024
|
}
|
|
1025
1025
|
n.isRequired = n;
|
|
@@ -1063,7 +1063,7 @@ function el() {
|
|
|
1063
1063
|
return on.exports;
|
|
1064
1064
|
}
|
|
1065
1065
|
var hn = /* @__PURE__ */ el();
|
|
1066
|
-
const
|
|
1066
|
+
const b = /* @__PURE__ */ Ko(hn);
|
|
1067
1067
|
function ra(e) {
|
|
1068
1068
|
var t, r, n = "";
|
|
1069
1069
|
if (typeof e == "string" || typeof e == "number") n += e;
|
|
@@ -1125,7 +1125,7 @@ function Kr(e, t, r = void 0) {
|
|
|
1125
1125
|
}
|
|
1126
1126
|
return n;
|
|
1127
1127
|
}
|
|
1128
|
-
const tl =
|
|
1128
|
+
const tl = b.oneOfType([b.func, b.object]);
|
|
1129
1129
|
function na(e, t) {
|
|
1130
1130
|
return process.env.NODE_ENV === "production" ? () => null : function(...n) {
|
|
1131
1131
|
return e(...n) || t(...n);
|
|
@@ -1148,7 +1148,7 @@ function nl(e, t, r, n, o) {
|
|
|
1148
1148
|
let a;
|
|
1149
1149
|
return typeof s == "function" && !rl(s) && (a = "Did you accidentally provide a plain function component instead?"), s === B.Fragment && (a = "Did you accidentally provide a React.Fragment instead?"), a !== void 0 ? new Error(`Invalid ${n} \`${i}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${a} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
1150
1150
|
}
|
|
1151
|
-
const ol = na(
|
|
1151
|
+
const ol = na(b.elementType, nl);
|
|
1152
1152
|
function Ds(e) {
|
|
1153
1153
|
try {
|
|
1154
1154
|
return e.matches(":focus-visible");
|
|
@@ -1207,7 +1207,7 @@ function gt(e) {
|
|
|
1207
1207
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Gt(7));
|
|
1208
1208
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
1209
1209
|
}
|
|
1210
|
-
const Vt = process.env.NODE_ENV !== "production" ?
|
|
1210
|
+
const Vt = process.env.NODE_ENV !== "production" ? b.oneOfType([b.number, b.string, b.object, b.array]) : {};
|
|
1211
1211
|
function oa(e) {
|
|
1212
1212
|
if (e == null)
|
|
1213
1213
|
return !0;
|
|
@@ -1229,8 +1229,8 @@ var Bs;
|
|
|
1229
1229
|
function fl() {
|
|
1230
1230
|
if (Bs) return ye;
|
|
1231
1231
|
Bs = 1;
|
|
1232
|
-
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), i = Symbol.for("react.context"), a = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), m = Symbol.for("react.lazy"),
|
|
1233
|
-
function
|
|
1232
|
+
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), i = Symbol.for("react.context"), a = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), g = Symbol.for("react.view_transition"), d = Symbol.for("react.client.reference");
|
|
1233
|
+
function y(h) {
|
|
1234
1234
|
if (typeof h == "object" && h !== null) {
|
|
1235
1235
|
var C = h.$$typeof;
|
|
1236
1236
|
switch (C) {
|
|
@@ -1241,7 +1241,7 @@ function fl() {
|
|
|
1241
1241
|
case n:
|
|
1242
1242
|
case u:
|
|
1243
1243
|
case p:
|
|
1244
|
-
case
|
|
1244
|
+
case g:
|
|
1245
1245
|
return h;
|
|
1246
1246
|
default:
|
|
1247
1247
|
switch (h = h && h.$$typeof, h) {
|
|
@@ -1262,32 +1262,32 @@ function fl() {
|
|
|
1262
1262
|
}
|
|
1263
1263
|
}
|
|
1264
1264
|
return ye.ContextConsumer = s, ye.ContextProvider = i, ye.Element = e, ye.ForwardRef = a, ye.Fragment = r, ye.Lazy = m, ye.Memo = f, ye.Portal = t, ye.Profiler = o, ye.StrictMode = n, ye.Suspense = u, ye.SuspenseList = p, ye.isContextConsumer = function(h) {
|
|
1265
|
-
return
|
|
1265
|
+
return y(h) === s;
|
|
1266
1266
|
}, ye.isContextProvider = function(h) {
|
|
1267
|
-
return
|
|
1267
|
+
return y(h) === i;
|
|
1268
1268
|
}, ye.isElement = function(h) {
|
|
1269
1269
|
return typeof h == "object" && h !== null && h.$$typeof === e;
|
|
1270
1270
|
}, ye.isForwardRef = function(h) {
|
|
1271
|
-
return
|
|
1271
|
+
return y(h) === a;
|
|
1272
1272
|
}, ye.isFragment = function(h) {
|
|
1273
|
-
return
|
|
1273
|
+
return y(h) === r;
|
|
1274
1274
|
}, ye.isLazy = function(h) {
|
|
1275
|
-
return
|
|
1275
|
+
return y(h) === m;
|
|
1276
1276
|
}, ye.isMemo = function(h) {
|
|
1277
|
-
return
|
|
1277
|
+
return y(h) === f;
|
|
1278
1278
|
}, ye.isPortal = function(h) {
|
|
1279
|
-
return
|
|
1279
|
+
return y(h) === t;
|
|
1280
1280
|
}, ye.isProfiler = function(h) {
|
|
1281
|
-
return
|
|
1281
|
+
return y(h) === o;
|
|
1282
1282
|
}, ye.isStrictMode = function(h) {
|
|
1283
|
-
return
|
|
1283
|
+
return y(h) === n;
|
|
1284
1284
|
}, ye.isSuspense = function(h) {
|
|
1285
|
-
return
|
|
1285
|
+
return y(h) === u;
|
|
1286
1286
|
}, ye.isSuspenseList = function(h) {
|
|
1287
|
-
return
|
|
1287
|
+
return y(h) === p;
|
|
1288
1288
|
}, ye.isValidElementType = function(h) {
|
|
1289
1289
|
return typeof h == "string" || typeof h == "function" || h === r || h === o || h === n || h === u || h === p || typeof h == "object" && h !== null && (h.$$typeof === m || h.$$typeof === f || h.$$typeof === i || h.$$typeof === s || h.$$typeof === a || h.$$typeof === d || h.getModuleId !== void 0);
|
|
1290
|
-
}, ye.typeOf =
|
|
1290
|
+
}, ye.typeOf = y, ye;
|
|
1291
1291
|
}
|
|
1292
1292
|
var be = {};
|
|
1293
1293
|
/**
|
|
@@ -1319,7 +1319,7 @@ function pl() {
|
|
|
1319
1319
|
switch (h = h && h.$$typeof, h) {
|
|
1320
1320
|
case a:
|
|
1321
1321
|
case u:
|
|
1322
|
-
case
|
|
1322
|
+
case g:
|
|
1323
1323
|
case m:
|
|
1324
1324
|
return h;
|
|
1325
1325
|
case i:
|
|
@@ -1333,8 +1333,8 @@ function pl() {
|
|
|
1333
1333
|
}
|
|
1334
1334
|
}
|
|
1335
1335
|
}
|
|
1336
|
-
var t = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), i = Symbol.for("react.consumer"), a = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"),
|
|
1337
|
-
be.ContextConsumer = i, be.ContextProvider = a, be.Element = t, be.ForwardRef = u, be.Fragment = n, be.Lazy =
|
|
1336
|
+
var t = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), i = Symbol.for("react.consumer"), a = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), d = Symbol.for("react.view_transition"), y = Symbol.for("react.client.reference");
|
|
1337
|
+
be.ContextConsumer = i, be.ContextProvider = a, be.Element = t, be.ForwardRef = u, be.Fragment = n, be.Lazy = g, be.Memo = m, be.Portal = r, be.Profiler = s, be.StrictMode = o, be.Suspense = p, be.SuspenseList = f, be.isContextConsumer = function(h) {
|
|
1338
1338
|
return e(h) === i;
|
|
1339
1339
|
}, be.isContextProvider = function(h) {
|
|
1340
1340
|
return e(h) === a;
|
|
@@ -1345,7 +1345,7 @@ function pl() {
|
|
|
1345
1345
|
}, be.isFragment = function(h) {
|
|
1346
1346
|
return e(h) === n;
|
|
1347
1347
|
}, be.isLazy = function(h) {
|
|
1348
|
-
return e(h) ===
|
|
1348
|
+
return e(h) === g;
|
|
1349
1349
|
}, be.isMemo = function(h) {
|
|
1350
1350
|
return e(h) === m;
|
|
1351
1351
|
}, be.isPortal = function(h) {
|
|
@@ -1359,7 +1359,7 @@ function pl() {
|
|
|
1359
1359
|
}, be.isSuspenseList = function(h) {
|
|
1360
1360
|
return e(h) === f;
|
|
1361
1361
|
}, be.isValidElementType = function(h) {
|
|
1362
|
-
return typeof h == "string" || typeof h == "function" || h === n || h === s || h === o || h === p || h === f || typeof h == "object" && h !== null && (h.$$typeof ===
|
|
1362
|
+
return typeof h == "string" || typeof h == "function" || h === n || h === s || h === o || h === p || h === f || typeof h == "object" && h !== null && (h.$$typeof === g || h.$$typeof === m || h.$$typeof === a || h.$$typeof === i || h.$$typeof === u || h.$$typeof === y || h.getModuleId !== void 0);
|
|
1363
1363
|
}, be.typeOf = e;
|
|
1364
1364
|
})()), be;
|
|
1365
1365
|
}
|
|
@@ -1477,20 +1477,20 @@ function aa(e) {
|
|
|
1477
1477
|
function u(d) {
|
|
1478
1478
|
return `@media (max-width:${(typeof t[d] == "number" ? t[d] : d) - n / 100}${r})`;
|
|
1479
1479
|
}
|
|
1480
|
-
function p(d,
|
|
1481
|
-
const h = i.indexOf(
|
|
1482
|
-
return `@media (min-width:${typeof t[d] == "number" ? t[d] : d}${r}) and (max-width:${(h !== -1 && typeof t[i[h]] == "number" ? t[i[h]] :
|
|
1480
|
+
function p(d, y) {
|
|
1481
|
+
const h = i.indexOf(y);
|
|
1482
|
+
return `@media (min-width:${typeof t[d] == "number" ? t[d] : d}${r}) and (max-width:${(h !== -1 && typeof t[i[h]] == "number" ? t[i[h]] : y) - n / 100}${r})`;
|
|
1483
1483
|
}
|
|
1484
1484
|
function f(d) {
|
|
1485
1485
|
return i.indexOf(d) + 1 < i.length ? p(d, i[i.indexOf(d) + 1]) : a(d);
|
|
1486
1486
|
}
|
|
1487
1487
|
function m(d) {
|
|
1488
|
-
const
|
|
1489
|
-
return
|
|
1488
|
+
const y = i.indexOf(d);
|
|
1489
|
+
return y === 0 ? a(i[1]) : y === i.length - 1 ? u(i[y]) : p(d, i[i.indexOf(d) + 1]).replace("@media", "@media not all and");
|
|
1490
1490
|
}
|
|
1491
|
-
const
|
|
1491
|
+
const g = [];
|
|
1492
1492
|
for (let d = 0; d < i.length; d += 1)
|
|
1493
|
-
|
|
1493
|
+
g.push(a(i[d]));
|
|
1494
1494
|
return {
|
|
1495
1495
|
keys: i,
|
|
1496
1496
|
values: s,
|
|
@@ -1500,7 +1500,7 @@ function aa(e) {
|
|
|
1500
1500
|
only: f,
|
|
1501
1501
|
not: m,
|
|
1502
1502
|
unit: r,
|
|
1503
|
-
internal_mediaKeys:
|
|
1503
|
+
internal_mediaKeys: g,
|
|
1504
1504
|
...o
|
|
1505
1505
|
};
|
|
1506
1506
|
}
|
|
@@ -1628,9 +1628,9 @@ function ke(e) {
|
|
|
1628
1628
|
return null;
|
|
1629
1629
|
const a = i[t], u = i.theme, p = zn(u, n) || {};
|
|
1630
1630
|
return mr(i, a, (m) => {
|
|
1631
|
-
const
|
|
1632
|
-
return r === !1 ?
|
|
1633
|
-
[r]:
|
|
1631
|
+
const g = ca(p, o, m, t);
|
|
1632
|
+
return r === !1 ? g : {
|
|
1633
|
+
[r]: g
|
|
1634
1634
|
};
|
|
1635
1635
|
});
|
|
1636
1636
|
};
|
|
@@ -1697,8 +1697,8 @@ function la(e, t) {
|
|
|
1697
1697
|
const a = Dr[i] ?? (Hs[0] = i, Hs), u = e[i];
|
|
1698
1698
|
Ln(o, e.theme, u, (p, f) => {
|
|
1699
1699
|
const m = p ? o[p] : o;
|
|
1700
|
-
for (let
|
|
1701
|
-
m[a[
|
|
1700
|
+
for (let g = 0; g < a.length; g += 1)
|
|
1701
|
+
m[a[g]] = Xr(n, f);
|
|
1702
1702
|
});
|
|
1703
1703
|
}
|
|
1704
1704
|
return o;
|
|
@@ -2190,20 +2190,20 @@ function nu() {
|
|
|
2190
2190
|
if (!p)
|
|
2191
2191
|
return null;
|
|
2192
2192
|
const f = n.breakpoints ?? Tn, m = wl(f);
|
|
2193
|
-
for (const
|
|
2194
|
-
const d = ou(p[
|
|
2193
|
+
for (const g in p) {
|
|
2194
|
+
const d = ou(p[g], n);
|
|
2195
2195
|
if (d != null) {
|
|
2196
2196
|
if (typeof d != "object") {
|
|
2197
|
-
Ks(m,
|
|
2197
|
+
Ks(m, g, d, n, s);
|
|
2198
2198
|
continue;
|
|
2199
2199
|
}
|
|
2200
|
-
if (s[
|
|
2201
|
-
Ks(m,
|
|
2200
|
+
if (s[g]) {
|
|
2201
|
+
Ks(m, g, d, n, s);
|
|
2202
2202
|
continue;
|
|
2203
2203
|
}
|
|
2204
|
-
Cl(f, d) ? Ln(m, t.theme, d, (
|
|
2205
|
-
m[
|
|
2206
|
-
}) : (i.sx = d, m[
|
|
2204
|
+
Cl(f, d) ? Ln(m, t.theme, d, (y, h) => {
|
|
2205
|
+
m[y][g] = h;
|
|
2206
|
+
}) : (i.sx = d, m[g] = e(i));
|
|
2207
2207
|
}
|
|
2208
2208
|
}
|
|
2209
2209
|
return !o && n.modularCssLayers ? {
|
|
@@ -2244,8 +2244,8 @@ function Ks(e, t, r, n, o) {
|
|
|
2244
2244
|
cssProperty: u = t,
|
|
2245
2245
|
transform: p
|
|
2246
2246
|
} = s, f = zn(n, i);
|
|
2247
|
-
Ln(e, n, r, (m,
|
|
2248
|
-
const d = ca(f, p,
|
|
2247
|
+
Ln(e, n, r, (m, g) => {
|
|
2248
|
+
const d = ca(f, p, g, t);
|
|
2249
2249
|
u === !1 ? ir(m ? e[m] : e, d) : m ? e[m][u] = d : e[u] = d;
|
|
2250
2250
|
});
|
|
2251
2251
|
}
|
|
@@ -2634,11 +2634,11 @@ function $u(e) {
|
|
|
2634
2634
|
return ga(yn("", null, null, null, [""], e = ma(e), 0, [0], e));
|
|
2635
2635
|
}
|
|
2636
2636
|
function yn(e, t, r, n, o, s, i, a, u) {
|
|
2637
|
-
for (var p = 0, f = 0, m = i,
|
|
2638
|
-
switch (
|
|
2637
|
+
for (var p = 0, f = 0, m = i, g = 0, d = 0, y = 0, h = 1, C = 1, E = 1, k = 0, S = "", j = o, x = s, $ = n, _ = S; C; )
|
|
2638
|
+
switch (y = k, k = Ge()) {
|
|
2639
2639
|
// (
|
|
2640
2640
|
case 40:
|
|
2641
|
-
if (
|
|
2641
|
+
if (y != 108 && Fe(_, m - 1) == 58) {
|
|
2642
2642
|
$o(_ += de(gn(k), "&", "&\f"), "&\f") != -1 && (E = -1);
|
|
2643
2643
|
break;
|
|
2644
2644
|
}
|
|
@@ -2653,7 +2653,7 @@ function yn(e, t, r, n, o, s, i, a, u) {
|
|
|
2653
2653
|
case 10:
|
|
2654
2654
|
case 13:
|
|
2655
2655
|
case 32:
|
|
2656
|
-
_ += Eu(
|
|
2656
|
+
_ += Eu(y);
|
|
2657
2657
|
break;
|
|
2658
2658
|
// \
|
|
2659
2659
|
case 92:
|
|
@@ -2695,7 +2695,7 @@ function yn(e, t, r, n, o, s, i, a, u) {
|
|
|
2695
2695
|
if (f === 0)
|
|
2696
2696
|
yn(_, t, $, $, j, s, m, a, x);
|
|
2697
2697
|
else
|
|
2698
|
-
switch (
|
|
2698
|
+
switch (g === 99 && Fe(_, 3) === 110 ? 100 : g) {
|
|
2699
2699
|
// d l m s
|
|
2700
2700
|
case 100:
|
|
2701
2701
|
case 108:
|
|
@@ -2711,7 +2711,7 @@ function yn(e, t, r, n, o, s, i, a, u) {
|
|
|
2711
2711
|
break;
|
|
2712
2712
|
// :
|
|
2713
2713
|
case 58:
|
|
2714
|
-
m = 1 + dt(_), d =
|
|
2714
|
+
m = 1 + dt(_), d = y;
|
|
2715
2715
|
default:
|
|
2716
2716
|
if (h < 1) {
|
|
2717
2717
|
if (k == 123)
|
|
@@ -2730,19 +2730,19 @@ function yn(e, t, r, n, o, s, i, a, u) {
|
|
|
2730
2730
|
break;
|
|
2731
2731
|
// @
|
|
2732
2732
|
case 64:
|
|
2733
|
-
mt() === 45 && (_ += gn(Ge())),
|
|
2733
|
+
mt() === 45 && (_ += gn(Ge())), g = mt(), f = m = dt(S = _ += Ru(mn())), k++;
|
|
2734
2734
|
break;
|
|
2735
2735
|
// -
|
|
2736
2736
|
case 45:
|
|
2737
|
-
|
|
2737
|
+
y === 45 && dt(_) == 2 && (h = 0);
|
|
2738
2738
|
}
|
|
2739
2739
|
}
|
|
2740
2740
|
return s;
|
|
2741
2741
|
}
|
|
2742
2742
|
function Qs(e, t, r, n, o, s, i, a, u, p, f) {
|
|
2743
|
-
for (var m = o - 1,
|
|
2744
|
-
for (var E = 0, k = Br(e, m + 1, m = yu(h = i[
|
|
2745
|
-
(S = pa(h > 0 ?
|
|
2743
|
+
for (var m = o - 1, g = o === 0 ? s : [""], d = rs(g), y = 0, h = 0, C = 0; y < n; ++y)
|
|
2744
|
+
for (var E = 0, k = Br(e, m + 1, m = yu(h = i[y])), S = e; E < d; ++E)
|
|
2745
|
+
(S = pa(h > 0 ? g[E] + " " + k : de(k, /&\f/g, g[E]))) && (u[C++] = S);
|
|
2746
2746
|
return Qn(e, t, r, o === 0 ? es : a, u, p, f);
|
|
2747
2747
|
}
|
|
2748
2748
|
function ju(e, t, r) {
|
|
@@ -3030,14 +3030,14 @@ var Bu = function(t, r, n, o) {
|
|
|
3030
3030
|
{
|
|
3031
3031
|
var f, m = [_u, Ou(function(h) {
|
|
3032
3032
|
f.insert(h);
|
|
3033
|
-
})],
|
|
3034
|
-
return cr($u(C),
|
|
3033
|
+
})], g = Pu(p.concat(o, m)), d = function(C) {
|
|
3034
|
+
return cr($u(C), g);
|
|
3035
3035
|
};
|
|
3036
3036
|
u = function(C, E, k, S) {
|
|
3037
|
-
f = k, d(C ? C + "{" + E.styles + "}" : E.styles), S && (
|
|
3037
|
+
f = k, d(C ? C + "{" + E.styles + "}" : E.styles), S && (y.inserted[E.name] = !0);
|
|
3038
3038
|
};
|
|
3039
3039
|
}
|
|
3040
|
-
var
|
|
3040
|
+
var y = {
|
|
3041
3041
|
key: r,
|
|
3042
3042
|
sheet: new hu({
|
|
3043
3043
|
key: r,
|
|
@@ -3052,7 +3052,7 @@ var Bu = function(t, r, n, o) {
|
|
|
3052
3052
|
registered: {},
|
|
3053
3053
|
insert: u
|
|
3054
3054
|
};
|
|
3055
|
-
return
|
|
3055
|
+
return y.sheet.hydrate(a), y;
|
|
3056
3056
|
};
|
|
3057
3057
|
function Lu(e) {
|
|
3058
3058
|
return e == null || Object.keys(e).length === 0;
|
|
@@ -3067,8 +3067,8 @@ function ns(e) {
|
|
|
3067
3067
|
});
|
|
3068
3068
|
}
|
|
3069
3069
|
process.env.NODE_ENV !== "production" && (ns.propTypes = {
|
|
3070
|
-
defaultTheme:
|
|
3071
|
-
styles:
|
|
3070
|
+
defaultTheme: b.object,
|
|
3071
|
+
styles: b.oneOfType([b.array, b.string, b.object, b.func])
|
|
3072
3072
|
});
|
|
3073
3073
|
/**
|
|
3074
3074
|
* @mui/styled-engine v9.3.0
|
|
@@ -3186,15 +3186,15 @@ process.env.NODE_ENV !== "production" && (va.propTypes = {
|
|
|
3186
3186
|
/**
|
|
3187
3187
|
* @ignore
|
|
3188
3188
|
*/
|
|
3189
|
-
defaultTheme:
|
|
3189
|
+
defaultTheme: b.object,
|
|
3190
3190
|
/**
|
|
3191
3191
|
* @ignore
|
|
3192
3192
|
*/
|
|
3193
|
-
styles:
|
|
3193
|
+
styles: b.oneOfType([b.array, b.func, b.number, b.object, b.string, b.bool]),
|
|
3194
3194
|
/**
|
|
3195
3195
|
* @ignore
|
|
3196
3196
|
*/
|
|
3197
|
-
themeId:
|
|
3197
|
+
themeId: b.string
|
|
3198
3198
|
});
|
|
3199
3199
|
const ni = (e) => e, Hu = () => {
|
|
3200
3200
|
let e = ni;
|
|
@@ -3342,22 +3342,22 @@ function ed(e = {}) {
|
|
|
3342
3342
|
name: p,
|
|
3343
3343
|
slot: f,
|
|
3344
3344
|
skipVariantsResolver: m,
|
|
3345
|
-
skipSx:
|
|
3345
|
+
skipSx: g,
|
|
3346
3346
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
3347
3347
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
3348
3348
|
overridesResolver: d = Qu(Ea(f)),
|
|
3349
|
-
...
|
|
3349
|
+
...y
|
|
3350
3350
|
} = u, h = p && p.startsWith("Mui") || f ? "components" : "custom", C = m !== void 0 ? m : (
|
|
3351
3351
|
// TODO v6: remove `Root` in the next major release
|
|
3352
3352
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
3353
3353
|
f && f !== "Root" && f !== "root" || !1
|
|
3354
|
-
), E =
|
|
3354
|
+
), E = g || !1;
|
|
3355
3355
|
let k = yo;
|
|
3356
3356
|
f === "Root" || f === "root" ? k = n : f ? k = o : nd(a) && (k = void 0);
|
|
3357
3357
|
const S = zu(a, {
|
|
3358
3358
|
shouldForwardProp: k,
|
|
3359
3359
|
label: rd(p, f),
|
|
3360
|
-
...
|
|
3360
|
+
...y
|
|
3361
3361
|
}), j = ($) => {
|
|
3362
3362
|
if ($.__emotion_real === $)
|
|
3363
3363
|
return $;
|
|
@@ -3593,11 +3593,11 @@ process.env.NODE_ENV !== "production" && (jn.propTypes = {
|
|
|
3593
3593
|
/**
|
|
3594
3594
|
* Your component tree.
|
|
3595
3595
|
*/
|
|
3596
|
-
children:
|
|
3596
|
+
children: b.node,
|
|
3597
3597
|
/**
|
|
3598
3598
|
* A theme object. You can provide a function to extend the outer theme.
|
|
3599
3599
|
*/
|
|
3600
|
-
theme:
|
|
3600
|
+
theme: b.oneOfType([b.object, b.func]).isRequired
|
|
3601
3601
|
});
|
|
3602
3602
|
process.env.NODE_ENV !== "production" && (jn.propTypes = ka(jn.propTypes));
|
|
3603
3603
|
const Ra = /* @__PURE__ */ B.createContext();
|
|
@@ -3611,8 +3611,8 @@ function $a({
|
|
|
3611
3611
|
});
|
|
3612
3612
|
}
|
|
3613
3613
|
process.env.NODE_ENV !== "production" && ($a.propTypes = {
|
|
3614
|
-
children:
|
|
3615
|
-
value:
|
|
3614
|
+
children: b.node,
|
|
3615
|
+
value: b.bool
|
|
3616
3616
|
});
|
|
3617
3617
|
const fd = () => B.useContext(Ra) ?? !1, ja = /* @__PURE__ */ B.createContext(void 0);
|
|
3618
3618
|
function _a({
|
|
@@ -3632,11 +3632,11 @@ process.env.NODE_ENV !== "production" && (_a.propTypes = {
|
|
|
3632
3632
|
/**
|
|
3633
3633
|
* @ignore
|
|
3634
3634
|
*/
|
|
3635
|
-
children:
|
|
3635
|
+
children: b.node,
|
|
3636
3636
|
/**
|
|
3637
3637
|
* @ignore
|
|
3638
3638
|
*/
|
|
3639
|
-
value:
|
|
3639
|
+
value: b.object
|
|
3640
3640
|
});
|
|
3641
3641
|
function pd(e) {
|
|
3642
3642
|
const {
|
|
@@ -3748,15 +3748,15 @@ process.env.NODE_ENV !== "production" && (Lr.propTypes = {
|
|
|
3748
3748
|
/**
|
|
3749
3749
|
* Your component tree.
|
|
3750
3750
|
*/
|
|
3751
|
-
children:
|
|
3751
|
+
children: b.node,
|
|
3752
3752
|
/**
|
|
3753
3753
|
* A theme object. You can provide a function to extend the outer theme.
|
|
3754
3754
|
*/
|
|
3755
|
-
theme:
|
|
3755
|
+
theme: b.oneOfType([b.func, b.object]).isRequired,
|
|
3756
3756
|
/**
|
|
3757
3757
|
* The design system's unique id for getting the corresponded theme when there are multiple design systems.
|
|
3758
3758
|
*/
|
|
3759
|
-
themeId:
|
|
3759
|
+
themeId: b.string
|
|
3760
3760
|
});
|
|
3761
3761
|
process.env.NODE_ENV !== "production" && (Lr.propTypes = ka(Lr.propTypes));
|
|
3762
3762
|
const ui = {
|
|
@@ -3783,16 +3783,16 @@ function wd(e) {
|
|
|
3783
3783
|
} = e || {};
|
|
3784
3784
|
let p = "", f = i;
|
|
3785
3785
|
if (i === "class" && (f = ".%s"), i === "data" && (f = "[data-%s]"), f.startsWith(".")) {
|
|
3786
|
-
const
|
|
3787
|
-
p += `${a}.classList.remove('${
|
|
3788
|
-
${a}.classList.add('${
|
|
3786
|
+
const g = f.substring(1);
|
|
3787
|
+
p += `${a}.classList.remove('${g}'.replace('%s', light), '${g}'.replace('%s', dark));
|
|
3788
|
+
${a}.classList.add('${g}'.replace('%s', colorScheme));`;
|
|
3789
3789
|
}
|
|
3790
3790
|
const m = f.match(/\[([^[\]]+)\]/);
|
|
3791
3791
|
if (m) {
|
|
3792
|
-
const [
|
|
3793
|
-
d || (p += `${a}.removeAttribute('${
|
|
3794
|
-
${a}.removeAttribute('${
|
|
3795
|
-
${a}.setAttribute('${
|
|
3792
|
+
const [g, d] = m[1].split("=");
|
|
3793
|
+
d || (p += `${a}.removeAttribute('${g}'.replace('%s', light));
|
|
3794
|
+
${a}.removeAttribute('${g}'.replace('%s', dark));`), p += `
|
|
3795
|
+
${a}.setAttribute('${g}'.replace('%s', colorScheme), ${d ? `${d}.replace('%s', colorScheme)` : '""'});`;
|
|
3796
3796
|
} else f !== ".%s" && (p += `${a}.setAttribute('${f}', colorScheme);`);
|
|
3797
3797
|
return /* @__PURE__ */ c.jsx("script", {
|
|
3798
3798
|
suppressHydrationWarning: !0,
|
|
@@ -3894,17 +3894,17 @@ function Td(e) {
|
|
|
3894
3894
|
storageWindow: a = typeof window > "u" ? void 0 : window,
|
|
3895
3895
|
storageManager: u = Sd,
|
|
3896
3896
|
noSsr: p = !1
|
|
3897
|
-
} = e, f = o.join(","), m = o.length > 1,
|
|
3897
|
+
} = e, f = o.join(","), m = o.length > 1, g = B.useMemo(() => u == null ? void 0 : u({
|
|
3898
3898
|
key: s,
|
|
3899
3899
|
storageWindow: a
|
|
3900
3900
|
}), [u, s, a]), d = B.useMemo(() => u == null ? void 0 : u({
|
|
3901
3901
|
key: `${i}-light`,
|
|
3902
3902
|
storageWindow: a
|
|
3903
|
-
}), [u, i, a]),
|
|
3903
|
+
}), [u, i, a]), y = B.useMemo(() => u == null ? void 0 : u({
|
|
3904
3904
|
key: `${i}-dark`,
|
|
3905
3905
|
storageWindow: a
|
|
3906
3906
|
}), [u, i, a]), [h, C] = B.useState(() => {
|
|
3907
|
-
const v = (
|
|
3907
|
+
const v = (g == null ? void 0 : g.get(t)) || t, V = (d == null ? void 0 : d.get(r)) || r, D = (y == null ? void 0 : y.get(n)) || n;
|
|
3908
3908
|
return {
|
|
3909
3909
|
mode: v,
|
|
3910
3910
|
systemMode: di(v),
|
|
@@ -3920,31 +3920,31 @@ function Td(e) {
|
|
|
3920
3920
|
if (v === V.mode)
|
|
3921
3921
|
return V;
|
|
3922
3922
|
const D = v ?? t;
|
|
3923
|
-
return
|
|
3923
|
+
return g == null || g.set(D), {
|
|
3924
3924
|
...V,
|
|
3925
3925
|
mode: D,
|
|
3926
3926
|
systemMode: di(D)
|
|
3927
3927
|
};
|
|
3928
3928
|
});
|
|
3929
|
-
}, [
|
|
3929
|
+
}, [g, t]), x = B.useCallback((v) => {
|
|
3930
3930
|
v ? typeof v == "string" ? v && !f.includes(v) ? console.error(`\`${v}\` does not exist in \`theme.colorSchemes\`.`) : C((V) => {
|
|
3931
3931
|
const D = {
|
|
3932
3932
|
...V
|
|
3933
3933
|
};
|
|
3934
3934
|
return Pa(V, (T) => {
|
|
3935
|
-
T === "light" && (d == null || d.set(v), D.lightColorScheme = v), T === "dark" && (
|
|
3935
|
+
T === "light" && (d == null || d.set(v), D.lightColorScheme = v), T === "dark" && (y == null || y.set(v), D.darkColorScheme = v);
|
|
3936
3936
|
}), D;
|
|
3937
3937
|
}) : C((V) => {
|
|
3938
3938
|
const D = {
|
|
3939
3939
|
...V
|
|
3940
3940
|
}, T = v.light === null ? r : v.light, l = v.dark === null ? n : v.dark;
|
|
3941
|
-
return T && (f.includes(T) ? (D.lightColorScheme = T, d == null || d.set(T)) : console.error(`\`${T}\` does not exist in \`theme.colorSchemes\`.`)), l && (f.includes(l) ? (D.darkColorScheme = l,
|
|
3942
|
-
}) : C((V) => (d == null || d.set(r),
|
|
3941
|
+
return T && (f.includes(T) ? (D.lightColorScheme = T, d == null || d.set(T)) : console.error(`\`${T}\` does not exist in \`theme.colorSchemes\`.`)), l && (f.includes(l) ? (D.darkColorScheme = l, y == null || y.set(l)) : console.error(`\`${l}\` does not exist in \`theme.colorSchemes\`.`)), D;
|
|
3942
|
+
}) : C((V) => (d == null || d.set(r), y == null || y.set(n), {
|
|
3943
3943
|
...V,
|
|
3944
3944
|
lightColorScheme: r,
|
|
3945
3945
|
darkColorScheme: n
|
|
3946
3946
|
}));
|
|
3947
|
-
}, [f, d,
|
|
3947
|
+
}, [f, d, y, r, n]), $ = B.useCallback((v) => {
|
|
3948
3948
|
h.mode === "system" && C((V) => {
|
|
3949
3949
|
const D = v != null && v.matches ? "dark" : "light";
|
|
3950
3950
|
return V.systemMode === D ? V : {
|
|
@@ -3962,13 +3962,13 @@ function Td(e) {
|
|
|
3962
3962
|
};
|
|
3963
3963
|
}, [m]), B.useEffect(() => {
|
|
3964
3964
|
if (m) {
|
|
3965
|
-
const v = (
|
|
3965
|
+
const v = (g == null ? void 0 : g.subscribe((T) => {
|
|
3966
3966
|
(!T || ["light", "dark", "system"].includes(T)) && j(T || t);
|
|
3967
3967
|
})) || bo, V = (d == null ? void 0 : d.subscribe((T) => {
|
|
3968
3968
|
(!T || f.match(T)) && x({
|
|
3969
3969
|
light: T
|
|
3970
3970
|
});
|
|
3971
|
-
})) || bo, D = (
|
|
3971
|
+
})) || bo, D = (y == null ? void 0 : y.subscribe((T) => {
|
|
3972
3972
|
(!T || f.match(T)) && x({
|
|
3973
3973
|
dark: T
|
|
3974
3974
|
});
|
|
@@ -3977,7 +3977,7 @@ function Td(e) {
|
|
|
3977
3977
|
v(), V(), D();
|
|
3978
3978
|
};
|
|
3979
3979
|
}
|
|
3980
|
-
}, [x, j, f, t, a, m,
|
|
3980
|
+
}, [x, j, f, t, a, m, g, d, y]), {
|
|
3981
3981
|
...h,
|
|
3982
3982
|
mode: E ? h.mode : void 0,
|
|
3983
3983
|
systemMode: E ? h.systemMode : void 0,
|
|
@@ -4015,7 +4015,7 @@ function Rd(e) {
|
|
|
4015
4015
|
systemMode: void 0
|
|
4016
4016
|
}, p = /* @__PURE__ */ B.createContext(void 0);
|
|
4017
4017
|
process.env.NODE_ENV !== "production" && (p.displayName = "ColorSchemeContext");
|
|
4018
|
-
const f = () => B.useContext(p) || u, m = {},
|
|
4018
|
+
const f = () => B.useContext(p) || u, m = {}, g = {};
|
|
4019
4019
|
function d(E) {
|
|
4020
4020
|
var jt, _t, Pt, Ot;
|
|
4021
4021
|
const {
|
|
@@ -4035,7 +4035,7 @@ function Rd(e) {
|
|
|
4035
4035
|
noSsr: F
|
|
4036
4036
|
} = E, Y = B.useRef(!1), X = cs(), te = B.useContext(p), ne = !!te && !T, N = B.useMemo(() => S || (typeof r == "function" ? r() : r), [S]), w = N[t], z = w || N, {
|
|
4037
4037
|
colorSchemes: q = m,
|
|
4038
|
-
components: O =
|
|
4038
|
+
components: O = g,
|
|
4039
4039
|
cssVarPrefix: K
|
|
4040
4040
|
} = z, A = Object.keys(q).filter((ve) => !!q[ve]).join(","), R = B.useMemo(() => A.split(","), [A]), L = typeof i == "string" ? i : i.light, G = typeof i == "string" ? i : i.dark, ee = q[L] && q[G] ? I : ((_t = (jt = q[z.defaultColorScheme]) == null ? void 0 : jt.palette) == null ? void 0 : _t.mode) || ((Pt = z.palette) == null ? void 0 : Pt.mode), {
|
|
4041
4041
|
mode: ce,
|
|
@@ -4145,73 +4145,73 @@ function Rd(e) {
|
|
|
4145
4145
|
/**
|
|
4146
4146
|
* The component tree.
|
|
4147
4147
|
*/
|
|
4148
|
-
children:
|
|
4148
|
+
children: b.node,
|
|
4149
4149
|
/**
|
|
4150
4150
|
* The node used to attach the color-scheme attribute
|
|
4151
4151
|
*/
|
|
4152
|
-
colorSchemeNode:
|
|
4152
|
+
colorSchemeNode: b.any,
|
|
4153
4153
|
/**
|
|
4154
4154
|
* localStorage key used to store `colorScheme`
|
|
4155
4155
|
*/
|
|
4156
|
-
colorSchemeStorageKey:
|
|
4156
|
+
colorSchemeStorageKey: b.string,
|
|
4157
4157
|
/**
|
|
4158
4158
|
* The default mode when the storage is empty,
|
|
4159
4159
|
* require the theme to have `colorSchemes` with light and dark.
|
|
4160
4160
|
*/
|
|
4161
|
-
defaultMode:
|
|
4161
|
+
defaultMode: b.string,
|
|
4162
4162
|
/**
|
|
4163
4163
|
* If `true`, the provider creates its own context and generate stylesheet as if it is a root `CssVarsProvider`.
|
|
4164
4164
|
*/
|
|
4165
|
-
disableNestedContext:
|
|
4165
|
+
disableNestedContext: b.bool,
|
|
4166
4166
|
/**
|
|
4167
4167
|
* If `true`, the style sheet won't be generated.
|
|
4168
4168
|
*
|
|
4169
4169
|
* This is useful for controlling nested CssVarsProvider behavior.
|
|
4170
4170
|
*/
|
|
4171
|
-
disableStyleSheetGeneration:
|
|
4171
|
+
disableStyleSheetGeneration: b.bool,
|
|
4172
4172
|
/**
|
|
4173
4173
|
* Disable CSS transitions when switching between modes or color schemes.
|
|
4174
4174
|
*/
|
|
4175
|
-
disableTransitionOnChange:
|
|
4175
|
+
disableTransitionOnChange: b.bool,
|
|
4176
4176
|
/**
|
|
4177
4177
|
* The document to attach the attribute to.
|
|
4178
4178
|
*/
|
|
4179
|
-
documentNode:
|
|
4179
|
+
documentNode: b.any,
|
|
4180
4180
|
/**
|
|
4181
4181
|
* If `true`, theme values are recalculated when the mode changes.
|
|
4182
4182
|
*/
|
|
4183
|
-
forceThemeRerender:
|
|
4183
|
+
forceThemeRerender: b.bool,
|
|
4184
4184
|
/**
|
|
4185
4185
|
* The key in the local storage used to store current color scheme.
|
|
4186
4186
|
*/
|
|
4187
|
-
modeStorageKey:
|
|
4187
|
+
modeStorageKey: b.string,
|
|
4188
4188
|
/**
|
|
4189
4189
|
* If `true`, the mode will be the same value as the storage without an extra rerendering after the hydration.
|
|
4190
4190
|
* You should use this option in conjunction with `InitColorSchemeScript` component.
|
|
4191
4191
|
*/
|
|
4192
|
-
noSsr:
|
|
4192
|
+
noSsr: b.bool,
|
|
4193
4193
|
/**
|
|
4194
4194
|
* The storage manager to be used for storing the mode and color scheme
|
|
4195
4195
|
* @default using `window.localStorage`
|
|
4196
4196
|
*/
|
|
4197
|
-
storageManager:
|
|
4197
|
+
storageManager: b.func,
|
|
4198
4198
|
/**
|
|
4199
4199
|
* The window that attaches the 'storage' event listener.
|
|
4200
4200
|
* @default window
|
|
4201
4201
|
*/
|
|
4202
|
-
storageWindow:
|
|
4202
|
+
storageWindow: b.any,
|
|
4203
4203
|
/**
|
|
4204
4204
|
* The calculated theme object that will be passed through context.
|
|
4205
4205
|
*/
|
|
4206
|
-
theme:
|
|
4206
|
+
theme: b.object
|
|
4207
4207
|
});
|
|
4208
|
-
const
|
|
4208
|
+
const y = typeof i == "string" ? i : i.light, h = typeof i == "string" ? i : i.dark;
|
|
4209
4209
|
return {
|
|
4210
4210
|
CssVarsProvider: d,
|
|
4211
4211
|
useColorScheme: f,
|
|
4212
4212
|
getInitColorSchemeScript: (E) => wd({
|
|
4213
4213
|
colorSchemeStorageKey: o,
|
|
4214
|
-
defaultLightColorScheme:
|
|
4214
|
+
defaultLightColorScheme: y,
|
|
4215
4215
|
defaultDarkColorScheme: h,
|
|
4216
4216
|
modeStorageKey: n,
|
|
4217
4217
|
...E
|
|
@@ -4280,10 +4280,10 @@ function Od(e, t = {}) {
|
|
|
4280
4280
|
} = e, {
|
|
4281
4281
|
vars: f,
|
|
4282
4282
|
css: m,
|
|
4283
|
-
varsWithDefaults:
|
|
4283
|
+
varsWithDefaults: g
|
|
4284
4284
|
} = xo(p, t);
|
|
4285
|
-
let d =
|
|
4286
|
-
const
|
|
4285
|
+
let d = g;
|
|
4286
|
+
const y = {}, {
|
|
4287
4287
|
[u]: h,
|
|
4288
4288
|
...C
|
|
4289
4289
|
} = i;
|
|
@@ -4293,7 +4293,7 @@ function Od(e, t = {}) {
|
|
|
4293
4293
|
css: _,
|
|
4294
4294
|
varsWithDefaults: v
|
|
4295
4295
|
} = xo(x, t);
|
|
4296
|
-
d = et(d, v),
|
|
4296
|
+
d = et(d, v), y[j] = {
|
|
4297
4297
|
css: _,
|
|
4298
4298
|
vars: $
|
|
4299
4299
|
};
|
|
@@ -4303,7 +4303,7 @@ function Od(e, t = {}) {
|
|
|
4303
4303
|
vars: x,
|
|
4304
4304
|
varsWithDefaults: $
|
|
4305
4305
|
} = xo(h, t);
|
|
4306
|
-
d = et(d, $),
|
|
4306
|
+
d = et(d, $), y[u] = {
|
|
4307
4307
|
css: j,
|
|
4308
4308
|
vars: x
|
|
4309
4309
|
};
|
|
@@ -4329,7 +4329,7 @@ function Od(e, t = {}) {
|
|
|
4329
4329
|
let j = {
|
|
4330
4330
|
...f
|
|
4331
4331
|
};
|
|
4332
|
-
return Object.entries(
|
|
4332
|
+
return Object.entries(y).forEach(([, {
|
|
4333
4333
|
vars: x
|
|
4334
4334
|
}]) => {
|
|
4335
4335
|
j = et(j, x);
|
|
@@ -4351,7 +4351,7 @@ function Od(e, t = {}) {
|
|
|
4351
4351
|
const {
|
|
4352
4352
|
[x]: _,
|
|
4353
4353
|
...v
|
|
4354
|
-
} =
|
|
4354
|
+
} = y;
|
|
4355
4355
|
if (_) {
|
|
4356
4356
|
const {
|
|
4357
4357
|
css: T
|
|
@@ -4608,7 +4608,7 @@ function ds(e) {
|
|
|
4608
4608
|
colorSpace: o,
|
|
4609
4609
|
...s
|
|
4610
4610
|
} = e, i = e.primary || Md(t), a = e.secondary || Nd(t), u = e.error || Dd(t), p = e.info || Bd(t), f = e.success || Fd(t), m = e.warning || Ld(t);
|
|
4611
|
-
function
|
|
4611
|
+
function g(C) {
|
|
4612
4612
|
if (o)
|
|
4613
4613
|
return zd(C);
|
|
4614
4614
|
const E = si(C, Po.text.primary) >= r ? Po.text.primary : Ia.text.primary;
|
|
@@ -4646,10 +4646,10 @@ const theme1 = createTheme({ palette: {
|
|
|
4646
4646
|
const theme2 = createTheme({ palette: {
|
|
4647
4647
|
primary: { main: green[500] },
|
|
4648
4648
|
} });` : Gt(12, E ? ` (${E})` : "", JSON.stringify(C.main)));
|
|
4649
|
-
return o ? (hi(o, C, "light", S, n), hi(o, C, "dark", j, n)) : (pi(C, "light", S, n), pi(C, "dark", j, n)), C.contrastText || (C.contrastText =
|
|
4649
|
+
return o ? (hi(o, C, "light", S, n), hi(o, C, "dark", j, n)) : (pi(C, "light", S, n), pi(C, "dark", j, n)), C.contrastText || (C.contrastText = g(C.main)), C;
|
|
4650
4650
|
};
|
|
4651
|
-
let
|
|
4652
|
-
return t === "light" ?
|
|
4651
|
+
let y;
|
|
4652
|
+
return t === "light" ? y = Oa() : t === "dark" && (y = Aa()), process.env.NODE_ENV !== "production" && (y || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), et({
|
|
4653
4653
|
// A collection of common colors.
|
|
4654
4654
|
common: {
|
|
4655
4655
|
...zr
|
|
@@ -4696,7 +4696,7 @@ const theme2 = createTheme({ palette: {
|
|
|
4696
4696
|
// the background and the text.
|
|
4697
4697
|
contrastThreshold: r,
|
|
4698
4698
|
// Takes a background color and returns the text color that maximizes the contrast.
|
|
4699
|
-
getContrastText:
|
|
4699
|
+
getContrastText: g,
|
|
4700
4700
|
// Generate a rich color object.
|
|
4701
4701
|
augmentColor: d,
|
|
4702
4702
|
// Used by the functions below to shift a color's luminance by approximately
|
|
@@ -4704,7 +4704,7 @@ const theme2 = createTheme({ palette: {
|
|
|
4704
4704
|
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
4705
4705
|
tonalOffset: n,
|
|
4706
4706
|
// The light and dark mode object.
|
|
4707
|
-
...
|
|
4707
|
+
...y
|
|
4708
4708
|
}, s);
|
|
4709
4709
|
}
|
|
4710
4710
|
function Vd(e) {
|
|
@@ -4755,7 +4755,7 @@ function Ma(e, t) {
|
|
|
4755
4755
|
...m
|
|
4756
4756
|
} = typeof t == "function" ? t(e) : t;
|
|
4757
4757
|
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof u != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
4758
|
-
const
|
|
4758
|
+
const g = n / 14, d = f || ((C) => `${C / u * g}rem`), y = (C, E, k, S, j) => ({
|
|
4759
4759
|
fontFamily: r,
|
|
4760
4760
|
fontWeight: C,
|
|
4761
4761
|
fontSize: d(E),
|
|
@@ -4769,19 +4769,19 @@ function Ma(e, t) {
|
|
|
4769
4769
|
...j,
|
|
4770
4770
|
...p
|
|
4771
4771
|
}), h = {
|
|
4772
|
-
h1:
|
|
4773
|
-
h2:
|
|
4774
|
-
h3:
|
|
4775
|
-
h4:
|
|
4776
|
-
h5:
|
|
4777
|
-
h6:
|
|
4778
|
-
subtitle1:
|
|
4779
|
-
subtitle2:
|
|
4780
|
-
body1:
|
|
4781
|
-
body2:
|
|
4782
|
-
button:
|
|
4783
|
-
caption:
|
|
4784
|
-
overline:
|
|
4772
|
+
h1: y(o, 96, 1.167, -1.5),
|
|
4773
|
+
h2: y(o, 60, 1.2, -0.5),
|
|
4774
|
+
h3: y(s, 48, 1.167, 0),
|
|
4775
|
+
h4: y(s, 34, 1.235, 0.25),
|
|
4776
|
+
h5: y(s, 24, 1.334, 0),
|
|
4777
|
+
h6: y(i, 20, 1.6, 0.15),
|
|
4778
|
+
subtitle1: y(s, 16, 1.75, 0.15),
|
|
4779
|
+
subtitle2: y(i, 14, 1.57, 0.1),
|
|
4780
|
+
body1: y(s, 16, 1.5, 0.15),
|
|
4781
|
+
body2: y(s, 14, 1.43, 0.15),
|
|
4782
|
+
button: y(i, 14, 1.75, 0.4, mi),
|
|
4783
|
+
caption: y(s, 12, 1.66, 0.4),
|
|
4784
|
+
overline: y(s, 12, 2.66, 1, mi),
|
|
4785
4785
|
// TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
|
|
4786
4786
|
inherit: {
|
|
4787
4787
|
fontFamily: "inherit",
|
|
@@ -4861,11 +4861,11 @@ function ef(e) {
|
|
|
4861
4861
|
...m
|
|
4862
4862
|
} = a;
|
|
4863
4863
|
if (process.env.NODE_ENV !== "production") {
|
|
4864
|
-
const
|
|
4865
|
-
!
|
|
4864
|
+
const g = (y) => typeof y == "string", d = (y) => !Number.isNaN(parseFloat(y));
|
|
4865
|
+
!g(i) && !Array.isArray(i) && console.error('MUI: Argument "props" must be a string or Array.'), !d(u) && !g(u) && console.error(`MUI: Argument "duration" must be a number or a string but found ${u}.`), g(p) || console.error('MUI: Argument "easing" must be a string.'), !d(f) && !g(f) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
4866
4866
|
`)), Object.keys(m).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(m).join(",")}].`);
|
|
4867
4867
|
}
|
|
4868
|
-
return (Array.isArray(i) ? i : [i]).map((
|
|
4868
|
+
return (Array.isArray(i) ? i : [i]).map((g) => `${g} ${typeof u == "string" ? u : yi(u)} ${p} ${typeof f == "string" ? f : yi(f)}`).join(",");
|
|
4869
4869
|
}, s = t.create ?? o;
|
|
4870
4870
|
return {
|
|
4871
4871
|
getAutoHeightDuration: Zd,
|
|
@@ -4965,23 +4965,23 @@ function Oo(e = {}, ...t) {
|
|
|
4965
4965
|
// `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
|
|
4966
4966
|
e.generateThemeVars === void 0)
|
|
4967
4967
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : Gt(22));
|
|
4968
|
-
const
|
|
4968
|
+
const g = ds({
|
|
4969
4969
|
...s,
|
|
4970
4970
|
colorSpace: f
|
|
4971
4971
|
}), d = os(e);
|
|
4972
|
-
let
|
|
4972
|
+
let y = et(d, {
|
|
4973
4973
|
mixins: Wd(d.breakpoints, n),
|
|
4974
|
-
palette:
|
|
4974
|
+
palette: g,
|
|
4975
4975
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
4976
4976
|
shadows: Kd.slice(),
|
|
4977
|
-
typography: Ma(
|
|
4977
|
+
typography: Ma(g, u),
|
|
4978
4978
|
motion: rf(i),
|
|
4979
4979
|
transitions: ef(a),
|
|
4980
4980
|
zIndex: {
|
|
4981
4981
|
...nf
|
|
4982
4982
|
}
|
|
4983
4983
|
});
|
|
4984
|
-
if (
|
|
4984
|
+
if (y = et(y, m), y = t.reduce((h, C) => et(h, C), y), delete y.transitions.reducedMotion, process.env.NODE_ENV !== "production") {
|
|
4985
4985
|
const h = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], C = (E, k) => {
|
|
4986
4986
|
let S;
|
|
4987
4987
|
for (S in E) {
|
|
@@ -5000,20 +5000,20 @@ function Oo(e = {}, ...t) {
|
|
|
5000
5000
|
}
|
|
5001
5001
|
}
|
|
5002
5002
|
};
|
|
5003
|
-
Object.keys(
|
|
5004
|
-
const k =
|
|
5003
|
+
Object.keys(y.components).forEach((E) => {
|
|
5004
|
+
const k = y.components[E].styleOverrides;
|
|
5005
5005
|
k && E.startsWith("Mui") && C(k, E);
|
|
5006
5006
|
});
|
|
5007
5007
|
}
|
|
5008
|
-
return
|
|
5008
|
+
return y.unstable_sxConfig = {
|
|
5009
5009
|
...Gn,
|
|
5010
5010
|
...m == null ? void 0 : m.unstable_sxConfig
|
|
5011
|
-
},
|
|
5011
|
+
}, y.unstable_sx = function(C) {
|
|
5012
5012
|
return dr({
|
|
5013
5013
|
sx: C,
|
|
5014
5014
|
theme: this
|
|
5015
5015
|
});
|
|
5016
|
-
},
|
|
5016
|
+
}, y.toRuntimeSource = Na, af(y), y;
|
|
5017
5017
|
}
|
|
5018
5018
|
function cf(e) {
|
|
5019
5019
|
let t;
|
|
@@ -5176,23 +5176,23 @@ function yf(e = {}, ...t) {
|
|
|
5176
5176
|
colorSchemeSelector: u = r.light && r.dark ? "media" : void 0,
|
|
5177
5177
|
rootSelector: p = ":root",
|
|
5178
5178
|
...f
|
|
5179
|
-
} = e, m = Object.keys(r)[0],
|
|
5180
|
-
[
|
|
5179
|
+
} = e, m = Object.keys(r)[0], g = n || (r.light && m !== "light" ? "light" : m), d = gf(s), {
|
|
5180
|
+
[g]: y,
|
|
5181
5181
|
light: h,
|
|
5182
5182
|
dark: C,
|
|
5183
5183
|
...E
|
|
5184
5184
|
} = r, k = {
|
|
5185
5185
|
...E
|
|
5186
5186
|
};
|
|
5187
|
-
let S =
|
|
5188
|
-
if ((
|
|
5189
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${
|
|
5187
|
+
let S = y;
|
|
5188
|
+
if ((g === "dark" && !("dark" in r) || g === "light" && !("light" in r)) && (S = !0), !S)
|
|
5189
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${g}\` option is either missing or invalid.` : Gt(21, g));
|
|
5190
5190
|
let j;
|
|
5191
5191
|
i && (j = "oklch");
|
|
5192
|
-
const x = vo(j, k, S, f,
|
|
5192
|
+
const x = vo(j, k, S, f, g);
|
|
5193
5193
|
h && !k.light && vo(j, k, h, void 0, "light"), C && !k.dark && vo(j, k, C, void 0, "dark");
|
|
5194
5194
|
let $ = {
|
|
5195
|
-
defaultColorScheme:
|
|
5195
|
+
defaultColorScheme: g,
|
|
5196
5196
|
...x,
|
|
5197
5197
|
cssVarPrefix: s,
|
|
5198
5198
|
colorSchemeSelector: u,
|
|
@@ -5325,7 +5325,7 @@ const vf = (e) => xf(e) && e !== "classes", at = ed({
|
|
|
5325
5325
|
defaultTheme: Fa,
|
|
5326
5326
|
rootShouldForwardProp: vf
|
|
5327
5327
|
});
|
|
5328
|
-
process.env.NODE_ENV !== "production" && (
|
|
5328
|
+
process.env.NODE_ENV !== "production" && (b.node, b.object.isRequired);
|
|
5329
5329
|
function br(e) {
|
|
5330
5330
|
return hd(e);
|
|
5331
5331
|
}
|
|
@@ -5393,9 +5393,9 @@ function Sf(e) {
|
|
|
5393
5393
|
focusableWhenDisabled: p,
|
|
5394
5394
|
stopEventPropagation: f = !1,
|
|
5395
5395
|
onBeforeKeyDown: m,
|
|
5396
|
-
onBeforeKeyUp:
|
|
5397
|
-
} = e, d = B.useRef(null),
|
|
5398
|
-
focusableWhenDisabled:
|
|
5396
|
+
onBeforeKeyUp: g
|
|
5397
|
+
} = e, d = B.useRef(null), y = p === !0, h = wf({
|
|
5398
|
+
focusableWhenDisabled: y,
|
|
5399
5399
|
disabled: s,
|
|
5400
5400
|
isNativeButton: t,
|
|
5401
5401
|
tabIndex: u
|
|
@@ -5415,14 +5415,14 @@ function Sf(e) {
|
|
|
5415
5415
|
const S = d.current;
|
|
5416
5416
|
return S == null ? t : S.tagName === "BUTTON" ? !0 : !!(S.tagName === "A" && S.href);
|
|
5417
5417
|
}, [t]), E = B.useMemo(() => {
|
|
5418
|
-
const S =
|
|
5418
|
+
const S = y ? {} : {
|
|
5419
5419
|
tabIndex: s ? -1 : u
|
|
5420
5420
|
};
|
|
5421
|
-
return t ? (S.type = i === void 0 && !a ? "button" : i,
|
|
5421
|
+
return t ? (S.type = i === void 0 && !a ? "button" : i, y || (S.disabled = s)) : (S.role = "button", !y && s && (S["aria-disabled"] = s)), y ? {
|
|
5422
5422
|
...S,
|
|
5423
5423
|
...h
|
|
5424
5424
|
} : S;
|
|
5425
|
-
}, [s,
|
|
5425
|
+
}, [s, y, h, a, t, u, i]);
|
|
5426
5426
|
return {
|
|
5427
5427
|
getButtonProps: B.useCallback((S = Cf) => {
|
|
5428
5428
|
const {
|
|
@@ -5442,7 +5442,7 @@ function Sf(e) {
|
|
|
5442
5442
|
j == null || j(T);
|
|
5443
5443
|
},
|
|
5444
5444
|
onKeyDown: (T) => {
|
|
5445
|
-
if (
|
|
5445
|
+
if (y && h.onKeyDown(T), !s && (m == null || m(T), x == null || x(T), !(T.target !== T.currentTarget || C()))) {
|
|
5446
5446
|
if (T.key === " ") {
|
|
5447
5447
|
T.preventDefault();
|
|
5448
5448
|
return;
|
|
@@ -5451,10 +5451,10 @@ function Sf(e) {
|
|
|
5451
5451
|
}
|
|
5452
5452
|
},
|
|
5453
5453
|
onKeyUp: (T) => {
|
|
5454
|
-
s || (
|
|
5454
|
+
s || (g == null || g(T), $ == null || $(T), T.target === T.currentTarget && !C() && T.key === " " && !T.defaultPrevented && T.currentTarget.click());
|
|
5455
5455
|
}
|
|
5456
5456
|
};
|
|
5457
|
-
}, [E, s,
|
|
5457
|
+
}, [E, s, y, h, C, m, g, f]),
|
|
5458
5458
|
rootRef: d
|
|
5459
5459
|
};
|
|
5460
5460
|
}
|
|
@@ -5556,8 +5556,8 @@ function Wa(e) {
|
|
|
5556
5556
|
in: a,
|
|
5557
5557
|
onExited: u,
|
|
5558
5558
|
timeout: p
|
|
5559
|
-
} = e, [f, m] = B.useState(!1),
|
|
5560
|
-
|
|
5559
|
+
} = e, [f, m] = B.useState(!1), g = Va(), d = B.useRef(!1), y = B.useRef(u);
|
|
5560
|
+
y.current = u;
|
|
5561
5561
|
const h = u != null, C = We(t, r.ripple, r.rippleVisible, n && r.ripplePulsate), E = {
|
|
5562
5562
|
width: i,
|
|
5563
5563
|
height: i,
|
|
@@ -5565,11 +5565,11 @@ function Wa(e) {
|
|
|
5565
5565
|
left: -(i / 2) + o
|
|
5566
5566
|
}, k = We(r.child, f && r.childLeaving, n && r.childPulsate);
|
|
5567
5567
|
return !a && !f && m(!0), B.useEffect(() => {
|
|
5568
|
-
!a && h ? d.current || (d.current = !0,
|
|
5568
|
+
!a && h ? d.current || (d.current = !0, g.start(p, () => {
|
|
5569
5569
|
var S;
|
|
5570
|
-
d.current = !1, (S =
|
|
5571
|
-
})) : (d.current = !1,
|
|
5572
|
-
}, [
|
|
5570
|
+
d.current = !1, (S = y.current) == null || S.call(y);
|
|
5571
|
+
})) : (d.current = !1, g.clear());
|
|
5572
|
+
}, [g, h, a, p]), /* @__PURE__ */ c.jsx("span", {
|
|
5573
5573
|
className: C,
|
|
5574
5574
|
style: E,
|
|
5575
5575
|
children: /* @__PURE__ */ c.jsx("span", {
|
|
@@ -5581,36 +5581,36 @@ process.env.NODE_ENV !== "production" && (Wa.propTypes = {
|
|
|
5581
5581
|
/**
|
|
5582
5582
|
* Override or extend the styles applied to the component.
|
|
5583
5583
|
*/
|
|
5584
|
-
classes:
|
|
5585
|
-
className:
|
|
5584
|
+
classes: b.object.isRequired,
|
|
5585
|
+
className: b.string,
|
|
5586
5586
|
/**
|
|
5587
5587
|
* @ignore - controlled by TouchRipple
|
|
5588
5588
|
*/
|
|
5589
|
-
in:
|
|
5589
|
+
in: b.bool,
|
|
5590
5590
|
/**
|
|
5591
5591
|
* @ignore - controlled by TouchRipple
|
|
5592
5592
|
*/
|
|
5593
|
-
onExited:
|
|
5593
|
+
onExited: b.func,
|
|
5594
5594
|
/**
|
|
5595
5595
|
* If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element.
|
|
5596
5596
|
*/
|
|
5597
|
-
pulsate:
|
|
5597
|
+
pulsate: b.bool,
|
|
5598
5598
|
/**
|
|
5599
5599
|
* Diameter of the ripple.
|
|
5600
5600
|
*/
|
|
5601
|
-
rippleSize:
|
|
5601
|
+
rippleSize: b.number,
|
|
5602
5602
|
/**
|
|
5603
5603
|
* Horizontal position of the ripple center.
|
|
5604
5604
|
*/
|
|
5605
|
-
rippleX:
|
|
5605
|
+
rippleX: b.number,
|
|
5606
5606
|
/**
|
|
5607
5607
|
* Vertical position of the ripple center.
|
|
5608
5608
|
*/
|
|
5609
|
-
rippleY:
|
|
5609
|
+
rippleY: b.number,
|
|
5610
5610
|
/**
|
|
5611
5611
|
* Exit delay.
|
|
5612
5612
|
*/
|
|
5613
|
-
timeout:
|
|
5613
|
+
timeout: b.number.isRequired
|
|
5614
5614
|
});
|
|
5615
5615
|
const Ue = yr("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), Ua = "(prefers-reduced-motion: reduce)", Rf = 0, $f = "0ms", jf = () => {
|
|
5616
5616
|
}, wi = () => !1, _f = () => !0, Pf = () => jf;
|
|
@@ -5851,12 +5851,12 @@ const Uf = at("span", {
|
|
|
5851
5851
|
} = n, [f, m] = B.useState({
|
|
5852
5852
|
items: Ci,
|
|
5853
5853
|
order: Ci
|
|
5854
|
-
}),
|
|
5854
|
+
}), g = f.items, d = B.useRef(0), y = B.useRef(null), h = B.useRef(!1);
|
|
5855
5855
|
za(() => (h.current = !0, () => {
|
|
5856
5856
|
h.current = !1;
|
|
5857
5857
|
})), B.useEffect(() => {
|
|
5858
|
-
|
|
5859
|
-
}, [
|
|
5858
|
+
y.current && (y.current(), y.current = null);
|
|
5859
|
+
}, [g]);
|
|
5860
5860
|
const C = B.useRef(!1), E = Va(), k = B.useRef(null), S = B.useRef(null), j = Ze((T) => {
|
|
5861
5861
|
h.current && m((l) => {
|
|
5862
5862
|
const I = l.items.filter((F) => F.key !== T), P = wo(l.order.filter((F) => F !== T), I.filter((F) => !F.exiting).map((F) => F.key));
|
|
@@ -5886,7 +5886,7 @@ const Uf = at("span", {
|
|
|
5886
5886
|
items: ne,
|
|
5887
5887
|
order: wo(te.order, ne.filter((N) => !N.exiting).map((N) => N.key))
|
|
5888
5888
|
};
|
|
5889
|
-
}),
|
|
5889
|
+
}), y.current = Y;
|
|
5890
5890
|
}), $ = Ze((T = un, l = un, I = Bf) => {
|
|
5891
5891
|
const {
|
|
5892
5892
|
pulsate: P = !1,
|
|
@@ -5948,14 +5948,14 @@ const Uf = at("span", {
|
|
|
5948
5948
|
items: F,
|
|
5949
5949
|
order: wo(I.order, F.filter((Y) => !Y.exiting).map((Y) => Y.key))
|
|
5950
5950
|
};
|
|
5951
|
-
}),
|
|
5951
|
+
}), y.current = l;
|
|
5952
5952
|
});
|
|
5953
5953
|
B.useImperativeHandle(r, () => ({
|
|
5954
5954
|
pulsate: _,
|
|
5955
5955
|
start: $,
|
|
5956
5956
|
stop: v
|
|
5957
5957
|
}), [_, $, v]);
|
|
5958
|
-
const V = new Map(
|
|
5958
|
+
const V = new Map(g.map((T) => [T.key, T])), D = f.order.map((T) => V.get(T)).filter(Boolean);
|
|
5959
5959
|
return /* @__PURE__ */ c.jsx(Uf, {
|
|
5960
5960
|
className: We(Ue.root, a.root, u),
|
|
5961
5961
|
ref: S,
|
|
@@ -5984,15 +5984,15 @@ process.env.NODE_ENV !== "production" && (qa.propTypes = {
|
|
|
5984
5984
|
* If `true`, the ripple starts at the center of the component
|
|
5985
5985
|
* rather than at the point of interaction.
|
|
5986
5986
|
*/
|
|
5987
|
-
center:
|
|
5987
|
+
center: b.bool,
|
|
5988
5988
|
/**
|
|
5989
5989
|
* Override or extend the styles applied to the component.
|
|
5990
5990
|
*/
|
|
5991
|
-
classes:
|
|
5991
|
+
classes: b.object,
|
|
5992
5992
|
/**
|
|
5993
5993
|
* @ignore
|
|
5994
5994
|
*/
|
|
5995
|
-
className:
|
|
5995
|
+
className: b.string
|
|
5996
5996
|
});
|
|
5997
5997
|
function qf(e) {
|
|
5998
5998
|
return Qt("MuiButtonBase", e);
|
|
@@ -6063,11 +6063,11 @@ const Hf = yr("MuiButtonBase", ["root", "disabled", "focusVisible"]), Kf = (e) =
|
|
|
6063
6063
|
disabled: p = !1,
|
|
6064
6064
|
disableRipple: f = !1,
|
|
6065
6065
|
disableTouchRipple: m = !1,
|
|
6066
|
-
focusRipple:
|
|
6066
|
+
focusRipple: g = !1,
|
|
6067
6067
|
focusVisibleClassName: d,
|
|
6068
6068
|
/* eslint-disable react/prop-types */
|
|
6069
6069
|
// replaces internal handling in Chip, other components can opt-in individually to use this in the future
|
|
6070
|
-
focusableWhenDisabled:
|
|
6070
|
+
focusableWhenDisabled: y,
|
|
6071
6071
|
// escape hatch to suppress the focusVisible state and callback
|
|
6072
6072
|
// used by anchored <Menu>s to to suppress focus visible styling when opened with a pointer
|
|
6073
6073
|
suppressFocusVisible: h = !1,
|
|
@@ -6101,11 +6101,11 @@ const Hf = yr("MuiButtonBase", ["root", "disabled", "focusVisible"]), Kf = (e) =
|
|
|
6101
6101
|
const K = typeof O == "string" ? O === "button" : C ?? !1, A = k ?? K, R = Ef(), L = Io(R.ref, ne), [G, ee] = B.useState(!1);
|
|
6102
6102
|
(p || h) && G && ee(!1);
|
|
6103
6103
|
const ce = Ze((ie) => {
|
|
6104
|
-
|
|
6104
|
+
g && !ie.repeat && G && ie.key === " " && R.stop(ie, () => {
|
|
6105
6105
|
R.start(ie);
|
|
6106
6106
|
});
|
|
6107
6107
|
}), H = Ze((ie) => {
|
|
6108
|
-
|
|
6108
|
+
g && ie.key === " " && G && !ie.defaultPrevented && R.stop(ie, () => {
|
|
6109
6109
|
R.pulsate(ie);
|
|
6110
6110
|
});
|
|
6111
6111
|
}), {
|
|
@@ -6139,8 +6139,8 @@ const Hf = yr("MuiButtonBase", ["root", "disabled", "focusVisible"]), Kf = (e) =
|
|
|
6139
6139
|
}), [Ne]);
|
|
6140
6140
|
const De = R.shouldMount && !f && !p;
|
|
6141
6141
|
B.useEffect(() => {
|
|
6142
|
-
G &&
|
|
6143
|
-
}, [f,
|
|
6142
|
+
G && g && !f && R.pulsate();
|
|
6143
|
+
}, [f, g, G, R]);
|
|
6144
6144
|
const ct = vt(R, "start", T, m), Xe = vt(R, "stop", x, m), Je = vt(R, "stop", $, m), Wt = vt(R, "stop", I, m), Rt = vt(R, "stop", (ie) => {
|
|
6145
6145
|
G && ie.preventDefault(), l && l(ie);
|
|
6146
6146
|
}, m), $t = vt(R, "start", Y, m), jt = vt(R, "stop", P, m), _t = vt(R, "stop", F, m), Pt = vt(R, "stop", (ie) => {
|
|
@@ -6156,7 +6156,7 @@ const Hf = yr("MuiButtonBase", ["root", "disabled", "focusVisible"]), Kf = (e) =
|
|
|
6156
6156
|
disabled: p,
|
|
6157
6157
|
disableRipple: f,
|
|
6158
6158
|
disableTouchRipple: m,
|
|
6159
|
-
focusRipple:
|
|
6159
|
+
focusRipple: g,
|
|
6160
6160
|
suppressFocusVisible: h,
|
|
6161
6161
|
tabIndex: X,
|
|
6162
6162
|
focusVisible: G
|
|
@@ -6206,19 +6206,19 @@ process.env.NODE_ENV !== "production" && (Ha.propTypes = {
|
|
|
6206
6206
|
* They won't start at the cursor interaction position.
|
|
6207
6207
|
* @default false
|
|
6208
6208
|
*/
|
|
6209
|
-
centerRipple:
|
|
6209
|
+
centerRipple: b.bool,
|
|
6210
6210
|
/**
|
|
6211
6211
|
* The content of the component.
|
|
6212
6212
|
*/
|
|
6213
|
-
children:
|
|
6213
|
+
children: b.node,
|
|
6214
6214
|
/**
|
|
6215
6215
|
* Override or extend the styles applied to the component.
|
|
6216
6216
|
*/
|
|
6217
|
-
classes:
|
|
6217
|
+
classes: b.object,
|
|
6218
6218
|
/**
|
|
6219
6219
|
* @ignore
|
|
6220
6220
|
*/
|
|
6221
|
-
className:
|
|
6221
|
+
className: b.string,
|
|
6222
6222
|
/**
|
|
6223
6223
|
* The component used for the root node.
|
|
6224
6224
|
* Either a string to use a HTML element or a component.
|
|
@@ -6228,7 +6228,7 @@ process.env.NODE_ENV !== "production" && (Ha.propTypes = {
|
|
|
6228
6228
|
* If `true`, the component is disabled.
|
|
6229
6229
|
* @default false
|
|
6230
6230
|
*/
|
|
6231
|
-
disabled:
|
|
6231
|
+
disabled: b.bool,
|
|
6232
6232
|
/**
|
|
6233
6233
|
* If `true`, the ripple effect is disabled.
|
|
6234
6234
|
*
|
|
@@ -6236,17 +6236,17 @@ process.env.NODE_ENV !== "production" && (Ha.propTypes = {
|
|
|
6236
6236
|
* to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
|
|
6237
6237
|
* @default false
|
|
6238
6238
|
*/
|
|
6239
|
-
disableRipple:
|
|
6239
|
+
disableRipple: b.bool,
|
|
6240
6240
|
/**
|
|
6241
6241
|
* If `true`, the touch ripple effect is disabled.
|
|
6242
6242
|
* @default false
|
|
6243
6243
|
*/
|
|
6244
|
-
disableTouchRipple:
|
|
6244
|
+
disableTouchRipple: b.bool,
|
|
6245
6245
|
/**
|
|
6246
6246
|
* If `true`, the base button will have a keyboard focus ripple.
|
|
6247
6247
|
* @default false
|
|
6248
6248
|
*/
|
|
6249
|
-
focusRipple:
|
|
6249
|
+
focusRipple: b.bool,
|
|
6250
6250
|
/**
|
|
6251
6251
|
* This prop can help identify which element has keyboard focus.
|
|
6252
6252
|
* The class name will be applied when the element gains the focus through keyboard interaction.
|
|
@@ -6255,102 +6255,102 @@ process.env.NODE_ENV !== "production" && (Ha.propTypes = {
|
|
|
6255
6255
|
* A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
|
|
6256
6256
|
* if needed.
|
|
6257
6257
|
*/
|
|
6258
|
-
focusVisibleClassName:
|
|
6258
|
+
focusVisibleClassName: b.string,
|
|
6259
6259
|
/**
|
|
6260
6260
|
* @ignore
|
|
6261
6261
|
*/
|
|
6262
|
-
formAction:
|
|
6262
|
+
formAction: b.oneOfType([b.func, b.string]),
|
|
6263
6263
|
/**
|
|
6264
6264
|
* @ignore
|
|
6265
6265
|
*/
|
|
6266
|
-
href:
|
|
6266
|
+
href: b.any,
|
|
6267
6267
|
/**
|
|
6268
6268
|
* The component used to render a link when the `href` prop is provided.
|
|
6269
6269
|
* @default 'a'
|
|
6270
6270
|
*/
|
|
6271
|
-
LinkComponent:
|
|
6271
|
+
LinkComponent: b.elementType,
|
|
6272
6272
|
/**
|
|
6273
6273
|
* Whether the custom component is expected to render a native `<button>` element
|
|
6274
6274
|
* when passing a React component to the `component` or `slots` prop.
|
|
6275
6275
|
*/
|
|
6276
|
-
nativeButton:
|
|
6276
|
+
nativeButton: b.bool,
|
|
6277
6277
|
/**
|
|
6278
6278
|
* @ignore
|
|
6279
6279
|
*/
|
|
6280
|
-
onBlur:
|
|
6280
|
+
onBlur: b.func,
|
|
6281
6281
|
/**
|
|
6282
6282
|
* @ignore
|
|
6283
6283
|
*/
|
|
6284
|
-
onClick:
|
|
6284
|
+
onClick: b.func,
|
|
6285
6285
|
/**
|
|
6286
6286
|
* @ignore
|
|
6287
6287
|
*/
|
|
6288
|
-
onContextMenu:
|
|
6288
|
+
onContextMenu: b.func,
|
|
6289
6289
|
/**
|
|
6290
6290
|
* @ignore
|
|
6291
6291
|
*/
|
|
6292
|
-
onDragLeave:
|
|
6292
|
+
onDragLeave: b.func,
|
|
6293
6293
|
/**
|
|
6294
6294
|
* @ignore
|
|
6295
6295
|
*/
|
|
6296
|
-
onFocus:
|
|
6296
|
+
onFocus: b.func,
|
|
6297
6297
|
/**
|
|
6298
6298
|
* Callback fired when the component is focused with a keyboard.
|
|
6299
6299
|
* We trigger a `onFocus` callback too.
|
|
6300
6300
|
*/
|
|
6301
|
-
onFocusVisible:
|
|
6301
|
+
onFocusVisible: b.func,
|
|
6302
6302
|
/**
|
|
6303
6303
|
* @ignore
|
|
6304
6304
|
*/
|
|
6305
|
-
onKeyDown:
|
|
6305
|
+
onKeyDown: b.func,
|
|
6306
6306
|
/**
|
|
6307
6307
|
* @ignore
|
|
6308
6308
|
*/
|
|
6309
|
-
onKeyUp:
|
|
6309
|
+
onKeyUp: b.func,
|
|
6310
6310
|
/**
|
|
6311
6311
|
* @ignore
|
|
6312
6312
|
*/
|
|
6313
|
-
onMouseDown:
|
|
6313
|
+
onMouseDown: b.func,
|
|
6314
6314
|
/**
|
|
6315
6315
|
* @ignore
|
|
6316
6316
|
*/
|
|
6317
|
-
onMouseLeave:
|
|
6317
|
+
onMouseLeave: b.func,
|
|
6318
6318
|
/**
|
|
6319
6319
|
* @ignore
|
|
6320
6320
|
*/
|
|
6321
|
-
onMouseUp:
|
|
6321
|
+
onMouseUp: b.func,
|
|
6322
6322
|
/**
|
|
6323
6323
|
* @ignore
|
|
6324
6324
|
*/
|
|
6325
|
-
onTouchEnd:
|
|
6325
|
+
onTouchEnd: b.func,
|
|
6326
6326
|
/**
|
|
6327
6327
|
* @ignore
|
|
6328
6328
|
*/
|
|
6329
|
-
onTouchMove:
|
|
6329
|
+
onTouchMove: b.func,
|
|
6330
6330
|
/**
|
|
6331
6331
|
* @ignore
|
|
6332
6332
|
*/
|
|
6333
|
-
onTouchStart:
|
|
6333
|
+
onTouchStart: b.func,
|
|
6334
6334
|
/**
|
|
6335
6335
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
6336
6336
|
*/
|
|
6337
|
-
sx:
|
|
6337
|
+
sx: b.oneOfType([b.arrayOf(b.oneOfType([b.func, b.object, b.bool])), b.func, b.object]),
|
|
6338
6338
|
/**
|
|
6339
6339
|
* @default 0
|
|
6340
6340
|
*/
|
|
6341
|
-
tabIndex:
|
|
6341
|
+
tabIndex: b.number,
|
|
6342
6342
|
/**
|
|
6343
6343
|
* Props applied to the `TouchRipple` element.
|
|
6344
6344
|
*/
|
|
6345
|
-
TouchRippleProps:
|
|
6345
|
+
TouchRippleProps: b.object,
|
|
6346
6346
|
/**
|
|
6347
6347
|
* A ref that points to the `TouchRipple` element.
|
|
6348
6348
|
*/
|
|
6349
|
-
touchRippleRef:
|
|
6350
|
-
current:
|
|
6351
|
-
pulsate:
|
|
6352
|
-
start:
|
|
6353
|
-
stop:
|
|
6349
|
+
touchRippleRef: b.oneOfType([b.func, b.shape({
|
|
6350
|
+
current: b.shape({
|
|
6351
|
+
pulsate: b.func.isRequired,
|
|
6352
|
+
start: b.func.isRequired,
|
|
6353
|
+
stop: b.func.isRequired
|
|
6354
6354
|
})
|
|
6355
6355
|
})]),
|
|
6356
6356
|
/**
|
|
@@ -6359,7 +6359,7 @@ process.env.NODE_ENV !== "production" && (Ha.propTypes = {
|
|
|
6359
6359
|
* Ignored when rendering non-native buttons.
|
|
6360
6360
|
* @default 'button'
|
|
6361
6361
|
*/
|
|
6362
|
-
type:
|
|
6362
|
+
type: b.string
|
|
6363
6363
|
});
|
|
6364
6364
|
const xr = xd;
|
|
6365
6365
|
function Xf(e) {
|
|
@@ -6433,7 +6433,7 @@ function op(e) {
|
|
|
6433
6433
|
} = e, [a, u] = B.useState(t), [p, f] = B.useState(t);
|
|
6434
6434
|
let m = a;
|
|
6435
6435
|
t !== p && (f(t), t !== void 0 && t !== a && (m = t, u(t)));
|
|
6436
|
-
const
|
|
6436
|
+
const g = B.useRef(null), d = B.useRef(/* @__PURE__ */ new Map()), [y, h] = B.useState(0), C = B.useMemo(() => Mo(d.current), [y]), E = Ti(m, C, s, r), k = B.useRef(E);
|
|
6437
6437
|
k.current = E;
|
|
6438
6438
|
const S = B.useCallback(() => {
|
|
6439
6439
|
const l = Mo(d.current), I = Ti(k.current, l, s, r);
|
|
@@ -6460,7 +6460,7 @@ function op(e) {
|
|
|
6460
6460
|
return;
|
|
6461
6461
|
let te = n === "horizontal" ? "ArrowLeft" : "ArrowUp", ne = n === "horizontal" ? "ArrowRight" : "ArrowDown";
|
|
6462
6462
|
n === "horizontal" && o && (te = "ArrowRight", ne = "ArrowLeft");
|
|
6463
|
-
const N = dn(d.current), w = Si(Ei(
|
|
6463
|
+
const N = dn(d.current), w = Si(Ei(g.current)), z = w === g.current;
|
|
6464
6464
|
let q = ki(N, w, k.current), O = "next";
|
|
6465
6465
|
switch (X.key) {
|
|
6466
6466
|
case te:
|
|
@@ -6481,11 +6481,11 @@ function op(e) {
|
|
|
6481
6481
|
V(q, O, i);
|
|
6482
6482
|
},
|
|
6483
6483
|
ref: up(l, (X) => {
|
|
6484
|
-
|
|
6484
|
+
g.current = X;
|
|
6485
6485
|
})
|
|
6486
6486
|
}), [V, o, n, i]), T = B.useCallback((l) => {
|
|
6487
6487
|
var X;
|
|
6488
|
-
const I = dn(d.current), P = Si(Ei(
|
|
6488
|
+
const I = dn(d.current), P = Si(Ei(g.current)), Y = P === g.current ? -1 : ki(I, P, k.current);
|
|
6489
6489
|
return ((X = V(Y, "next", !0, l)) == null ? void 0 : X.id) ?? null;
|
|
6490
6490
|
}, [V]);
|
|
6491
6491
|
return B.useMemo(() => ({
|
|
@@ -6765,9 +6765,9 @@ const fp = /* @__PURE__ */ B.forwardRef(dp), pp = (e) => {
|
|
|
6765
6765
|
children: p,
|
|
6766
6766
|
className: f,
|
|
6767
6767
|
color: m = "standard",
|
|
6768
|
-
disabled:
|
|
6768
|
+
disabled: g = !1,
|
|
6769
6769
|
disableFocusRipple: d = !1,
|
|
6770
|
-
fullWidth:
|
|
6770
|
+
fullWidth: y = !1,
|
|
6771
6771
|
onChange: h,
|
|
6772
6772
|
onClick: C,
|
|
6773
6773
|
selected: E,
|
|
@@ -6777,16 +6777,16 @@ const fp = /* @__PURE__ */ B.forwardRef(dp), pp = (e) => {
|
|
|
6777
6777
|
} = u, x = {
|
|
6778
6778
|
...u,
|
|
6779
6779
|
color: m,
|
|
6780
|
-
disabled:
|
|
6780
|
+
disabled: g,
|
|
6781
6781
|
disableFocusRipple: d,
|
|
6782
|
-
fullWidth:
|
|
6782
|
+
fullWidth: y,
|
|
6783
6783
|
size: k
|
|
6784
6784
|
}, $ = pp(x), _ = (D) => {
|
|
6785
6785
|
C && (C(D, S), D.defaultPrevented) || h && h(D, S);
|
|
6786
6786
|
}, v = i || "", V = /* @__PURE__ */ c.jsx(hp, {
|
|
6787
6787
|
className: We(s.className, $.root, f, v),
|
|
6788
6788
|
internalNativeButton: !0,
|
|
6789
|
-
disabled:
|
|
6789
|
+
disabled: g,
|
|
6790
6790
|
focusRipple: !d,
|
|
6791
6791
|
ref: o ? void 0 : r,
|
|
6792
6792
|
onClick: _,
|
|
@@ -6798,7 +6798,7 @@ const fp = /* @__PURE__ */ B.forwardRef(dp), pp = (e) => {
|
|
|
6798
6798
|
children: p
|
|
6799
6799
|
});
|
|
6800
6800
|
return o ? /* @__PURE__ */ c.jsx(fp, {
|
|
6801
|
-
disabled:
|
|
6801
|
+
disabled: g,
|
|
6802
6802
|
selected: E,
|
|
6803
6803
|
ref: r,
|
|
6804
6804
|
value: S,
|
|
@@ -6813,32 +6813,32 @@ process.env.NODE_ENV !== "production" && (Do.propTypes = {
|
|
|
6813
6813
|
/**
|
|
6814
6814
|
* The content of the component.
|
|
6815
6815
|
*/
|
|
6816
|
-
children:
|
|
6816
|
+
children: b.node,
|
|
6817
6817
|
/**
|
|
6818
6818
|
* Override or extend the styles applied to the component.
|
|
6819
6819
|
*/
|
|
6820
|
-
classes:
|
|
6820
|
+
classes: b.object,
|
|
6821
6821
|
/**
|
|
6822
6822
|
* @ignore
|
|
6823
6823
|
*/
|
|
6824
|
-
className:
|
|
6824
|
+
className: b.string,
|
|
6825
6825
|
/**
|
|
6826
6826
|
* The color of the button when it is in an active state.
|
|
6827
6827
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
6828
6828
|
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
6829
6829
|
* @default 'standard'
|
|
6830
6830
|
*/
|
|
6831
|
-
color:
|
|
6831
|
+
color: b.oneOfType([b.oneOf(["standard", "primary", "secondary", "error", "info", "success", "warning"]), b.string]),
|
|
6832
6832
|
/**
|
|
6833
6833
|
* If `true`, the component is disabled.
|
|
6834
6834
|
* @default false
|
|
6835
6835
|
*/
|
|
6836
|
-
disabled:
|
|
6836
|
+
disabled: b.bool,
|
|
6837
6837
|
/**
|
|
6838
6838
|
* If `true`, the keyboard focus ripple is disabled.
|
|
6839
6839
|
* @default false
|
|
6840
6840
|
*/
|
|
6841
|
-
disableFocusRipple:
|
|
6841
|
+
disableFocusRipple: b.bool,
|
|
6842
6842
|
/**
|
|
6843
6843
|
* If `true`, the ripple effect is disabled.
|
|
6844
6844
|
*
|
|
@@ -6846,45 +6846,45 @@ process.env.NODE_ENV !== "production" && (Do.propTypes = {
|
|
|
6846
6846
|
* to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
|
|
6847
6847
|
* @default false
|
|
6848
6848
|
*/
|
|
6849
|
-
disableRipple:
|
|
6849
|
+
disableRipple: b.bool,
|
|
6850
6850
|
/**
|
|
6851
6851
|
* If `true`, the button will take up the full width of its container.
|
|
6852
6852
|
* @default false
|
|
6853
6853
|
*/
|
|
6854
|
-
fullWidth:
|
|
6854
|
+
fullWidth: b.bool,
|
|
6855
6855
|
/**
|
|
6856
6856
|
* Callback fired when the state changes.
|
|
6857
6857
|
*
|
|
6858
6858
|
* @param {React.MouseEvent<HTMLElement>} event The event source of the callback.
|
|
6859
6859
|
* @param {any} value of the selected button.
|
|
6860
6860
|
*/
|
|
6861
|
-
onChange:
|
|
6861
|
+
onChange: b.func,
|
|
6862
6862
|
/**
|
|
6863
6863
|
* Callback fired when the button is clicked.
|
|
6864
6864
|
*
|
|
6865
6865
|
* @param {React.MouseEvent<HTMLElement>} event The event source of the callback.
|
|
6866
6866
|
* @param {any} value of the selected button.
|
|
6867
6867
|
*/
|
|
6868
|
-
onClick:
|
|
6868
|
+
onClick: b.func,
|
|
6869
6869
|
/**
|
|
6870
6870
|
* If `true`, the button is rendered in an active state.
|
|
6871
6871
|
*/
|
|
6872
|
-
selected:
|
|
6872
|
+
selected: b.bool,
|
|
6873
6873
|
/**
|
|
6874
6874
|
* The size of the component.
|
|
6875
6875
|
* The prop defaults to the value inherited from the parent ToggleButtonGroup component.
|
|
6876
6876
|
* @default 'medium'
|
|
6877
6877
|
*/
|
|
6878
|
-
size:
|
|
6878
|
+
size: b.oneOfType([b.oneOf(["small", "medium", "large"]), b.string]),
|
|
6879
6879
|
/**
|
|
6880
6880
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
6881
6881
|
*/
|
|
6882
|
-
sx:
|
|
6882
|
+
sx: b.oneOfType([b.arrayOf(b.oneOfType([b.func, b.object, b.bool])), b.func, b.object]),
|
|
6883
6883
|
/**
|
|
6884
6884
|
* The value to associate with the button when selected in a
|
|
6885
6885
|
* ToggleButtonGroup.
|
|
6886
6886
|
*/
|
|
6887
|
-
value:
|
|
6887
|
+
value: b.any.isRequired
|
|
6888
6888
|
});
|
|
6889
6889
|
function mp(e) {
|
|
6890
6890
|
return B.Children.toArray(e).filter((t) => /* @__PURE__ */ B.isValidElement(t));
|
|
@@ -7000,15 +7000,15 @@ const Se = yr("MuiToggleButtonGroup", ["root", "selected", "horizontal", "vertic
|
|
|
7000
7000
|
fullWidth: p = !1,
|
|
7001
7001
|
onChange: f,
|
|
7002
7002
|
orientation: m = "horizontal",
|
|
7003
|
-
size:
|
|
7003
|
+
size: g = "medium",
|
|
7004
7004
|
value: d,
|
|
7005
|
-
...
|
|
7005
|
+
...y
|
|
7006
7006
|
} = n, h = {
|
|
7007
7007
|
...n,
|
|
7008
7008
|
disabled: a,
|
|
7009
7009
|
fullWidth: p,
|
|
7010
7010
|
orientation: m,
|
|
7011
|
-
size:
|
|
7011
|
+
size: g
|
|
7012
7012
|
}, C = yp(h), E = fd(), k = B.useCallback((D, T) => {
|
|
7013
7013
|
if (!f)
|
|
7014
7014
|
return;
|
|
@@ -7021,23 +7021,23 @@ const Se = yr("MuiToggleButtonGroup", ["root", "selected", "horizontal", "vertic
|
|
|
7021
7021
|
className: C.grouped,
|
|
7022
7022
|
onChange: u ? S : k,
|
|
7023
7023
|
value: d,
|
|
7024
|
-
size:
|
|
7024
|
+
size: g,
|
|
7025
7025
|
fullWidth: p,
|
|
7026
7026
|
color: i,
|
|
7027
7027
|
disabled: a,
|
|
7028
7028
|
isRovingTabIndex: !0
|
|
7029
|
-
}), [C.grouped, u, S, k, d,
|
|
7029
|
+
}), [C.grouped, u, S, k, d, g, p, i, a]), x = mp(o), $ = x.length, _ = (D) => {
|
|
7030
7030
|
const T = D === 0, l = D === $ - 1;
|
|
7031
7031
|
return T && l ? "" : T ? C.firstButton : l ? C.lastButton : C.middleButton;
|
|
7032
7032
|
}, v = op({
|
|
7033
7033
|
orientation: m,
|
|
7034
7034
|
isRtl: E
|
|
7035
|
-
}), V = v.getContainerProps(r,
|
|
7035
|
+
}), V = v.getContainerProps(r, y.onFocus, y.onKeyDown);
|
|
7036
7036
|
return /* @__PURE__ */ c.jsx(bp, {
|
|
7037
7037
|
role: "group",
|
|
7038
7038
|
className: We(C.root, s),
|
|
7039
7039
|
ownerState: h,
|
|
7040
|
-
...
|
|
7040
|
+
...y,
|
|
7041
7041
|
...V,
|
|
7042
7042
|
children: /* @__PURE__ */ c.jsx(gs.Provider, {
|
|
7043
7043
|
value: v,
|
|
@@ -7060,37 +7060,37 @@ process.env.NODE_ENV !== "production" && (tc.propTypes = {
|
|
|
7060
7060
|
/**
|
|
7061
7061
|
* The content of the component.
|
|
7062
7062
|
*/
|
|
7063
|
-
children:
|
|
7063
|
+
children: b.node,
|
|
7064
7064
|
/**
|
|
7065
7065
|
* Override or extend the styles applied to the component.
|
|
7066
7066
|
*/
|
|
7067
|
-
classes:
|
|
7067
|
+
classes: b.object,
|
|
7068
7068
|
/**
|
|
7069
7069
|
* @ignore
|
|
7070
7070
|
*/
|
|
7071
|
-
className:
|
|
7071
|
+
className: b.string,
|
|
7072
7072
|
/**
|
|
7073
7073
|
* The color of the button when it is selected.
|
|
7074
7074
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
7075
7075
|
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
7076
7076
|
* @default 'standard'
|
|
7077
7077
|
*/
|
|
7078
|
-
color:
|
|
7078
|
+
color: b.oneOfType([b.oneOf(["standard", "primary", "secondary", "error", "info", "success", "warning"]), b.string]),
|
|
7079
7079
|
/**
|
|
7080
7080
|
* If `true`, the component is disabled. This implies that all ToggleButton children will be disabled.
|
|
7081
7081
|
* @default false
|
|
7082
7082
|
*/
|
|
7083
|
-
disabled:
|
|
7083
|
+
disabled: b.bool,
|
|
7084
7084
|
/**
|
|
7085
7085
|
* If `true`, only allow one of the child ToggleButton values to be selected.
|
|
7086
7086
|
* @default false
|
|
7087
7087
|
*/
|
|
7088
|
-
exclusive:
|
|
7088
|
+
exclusive: b.bool,
|
|
7089
7089
|
/**
|
|
7090
7090
|
* If `true`, the button group will take up the full width of its container.
|
|
7091
7091
|
* @default false
|
|
7092
7092
|
*/
|
|
7093
|
-
fullWidth:
|
|
7093
|
+
fullWidth: b.bool,
|
|
7094
7094
|
/**
|
|
7095
7095
|
* Callback fired when the value changes.
|
|
7096
7096
|
*
|
|
@@ -7099,36 +7099,36 @@ process.env.NODE_ENV !== "production" && (tc.propTypes = {
|
|
|
7099
7099
|
* this is a single value; when false an array of selected values. If no value
|
|
7100
7100
|
* is selected and `exclusive` is true the value is null; when false an empty array.
|
|
7101
7101
|
*/
|
|
7102
|
-
onChange:
|
|
7102
|
+
onChange: b.func,
|
|
7103
7103
|
/**
|
|
7104
7104
|
* @ignore
|
|
7105
7105
|
*/
|
|
7106
|
-
onFocus:
|
|
7106
|
+
onFocus: b.func,
|
|
7107
7107
|
/**
|
|
7108
7108
|
* @ignore
|
|
7109
7109
|
*/
|
|
7110
|
-
onKeyDown:
|
|
7110
|
+
onKeyDown: b.func,
|
|
7111
7111
|
/**
|
|
7112
7112
|
* The component orientation (layout flow direction).
|
|
7113
7113
|
* @default 'horizontal'
|
|
7114
7114
|
*/
|
|
7115
|
-
orientation:
|
|
7115
|
+
orientation: b.oneOf(["horizontal", "vertical"]),
|
|
7116
7116
|
/**
|
|
7117
7117
|
* The size of the component.
|
|
7118
7118
|
* @default 'medium'
|
|
7119
7119
|
*/
|
|
7120
|
-
size:
|
|
7120
|
+
size: b.oneOfType([b.oneOf(["small", "medium", "large"]), b.string]),
|
|
7121
7121
|
/**
|
|
7122
7122
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
7123
7123
|
*/
|
|
7124
|
-
sx:
|
|
7124
|
+
sx: b.oneOfType([b.arrayOf(b.oneOfType([b.func, b.object, b.bool])), b.func, b.object]),
|
|
7125
7125
|
/**
|
|
7126
7126
|
* The currently selected value within the group or an array of selected
|
|
7127
7127
|
* values when `exclusive` is false.
|
|
7128
7128
|
*
|
|
7129
7129
|
* The value must have reference equality with the option in order to be selected.
|
|
7130
7130
|
*/
|
|
7131
|
-
value:
|
|
7131
|
+
value: b.any
|
|
7132
7132
|
});
|
|
7133
7133
|
function xp(e) {
|
|
7134
7134
|
return Qt("MuiSvgIcon", e);
|
|
@@ -7182,7 +7182,7 @@ const Tp = (e) => {
|
|
|
7182
7182
|
})(xr(({
|
|
7183
7183
|
theme: e
|
|
7184
7184
|
}) => {
|
|
7185
|
-
var t, r, n, o, s, i, a, u, p, f, m,
|
|
7185
|
+
var t, r, n, o, s, i, a, u, p, f, m, g;
|
|
7186
7186
|
return {
|
|
7187
7187
|
userSelect: "none",
|
|
7188
7188
|
width: "1em",
|
|
@@ -7235,13 +7235,13 @@ const Tp = (e) => {
|
|
|
7235
7235
|
},
|
|
7236
7236
|
// TODO v5 deprecate color prop, v6 remove for sx
|
|
7237
7237
|
...Object.entries((e.vars ?? e).palette).filter(([, d]) => d && d.main).map(([d]) => {
|
|
7238
|
-
var
|
|
7238
|
+
var y, h;
|
|
7239
7239
|
return {
|
|
7240
7240
|
props: {
|
|
7241
7241
|
color: d
|
|
7242
7242
|
},
|
|
7243
7243
|
style: {
|
|
7244
|
-
color: (h = (
|
|
7244
|
+
color: (h = (y = (e.vars ?? e).palette) == null ? void 0 : y[d]) == null ? void 0 : h.main
|
|
7245
7245
|
}
|
|
7246
7246
|
};
|
|
7247
7247
|
}),
|
|
@@ -7258,7 +7258,7 @@ const Tp = (e) => {
|
|
|
7258
7258
|
color: "disabled"
|
|
7259
7259
|
},
|
|
7260
7260
|
style: {
|
|
7261
|
-
color: (
|
|
7261
|
+
color: (g = (m = (e.vars ?? e).palette) == null ? void 0 : m.action) == null ? void 0 : g.disabled
|
|
7262
7262
|
}
|
|
7263
7263
|
},
|
|
7264
7264
|
{
|
|
@@ -7284,19 +7284,19 @@ const Tp = (e) => {
|
|
|
7284
7284
|
htmlColor: p,
|
|
7285
7285
|
inheritViewBox: f = !1,
|
|
7286
7286
|
titleAccess: m,
|
|
7287
|
-
viewBox:
|
|
7287
|
+
viewBox: g = "0 0 24 24",
|
|
7288
7288
|
...d
|
|
7289
|
-
} = n,
|
|
7289
|
+
} = n, y = /* @__PURE__ */ B.isValidElement(o) && o.type === "svg", h = {
|
|
7290
7290
|
...n,
|
|
7291
7291
|
color: i,
|
|
7292
7292
|
component: a,
|
|
7293
7293
|
fontSize: u,
|
|
7294
7294
|
instanceFontSize: t.fontSize,
|
|
7295
7295
|
inheritViewBox: f,
|
|
7296
|
-
viewBox:
|
|
7297
|
-
hasSvgAsChild:
|
|
7296
|
+
viewBox: g,
|
|
7297
|
+
hasSvgAsChild: y
|
|
7298
7298
|
}, C = {};
|
|
7299
|
-
f || (C.viewBox =
|
|
7299
|
+
f || (C.viewBox = g);
|
|
7300
7300
|
const E = Tp(h);
|
|
7301
7301
|
return /* @__PURE__ */ c.jsxs(kp, {
|
|
7302
7302
|
as: a,
|
|
@@ -7308,9 +7308,9 @@ const Tp = (e) => {
|
|
|
7308
7308
|
ref: r,
|
|
7309
7309
|
...C,
|
|
7310
7310
|
...d,
|
|
7311
|
-
...
|
|
7311
|
+
...y && o.props,
|
|
7312
7312
|
ownerState: h,
|
|
7313
|
-
children: [
|
|
7313
|
+
children: [y ? o.props.children : o, m ? /* @__PURE__ */ c.jsx("title", {
|
|
7314
7314
|
children: m
|
|
7315
7315
|
}) : null]
|
|
7316
7316
|
});
|
|
@@ -7323,15 +7323,15 @@ process.env.NODE_ENV !== "production" && (Pn.propTypes = {
|
|
|
7323
7323
|
/**
|
|
7324
7324
|
* Node passed into the SVG element.
|
|
7325
7325
|
*/
|
|
7326
|
-
children:
|
|
7326
|
+
children: b.node,
|
|
7327
7327
|
/**
|
|
7328
7328
|
* Override or extend the styles applied to the component.
|
|
7329
7329
|
*/
|
|
7330
|
-
classes:
|
|
7330
|
+
classes: b.object,
|
|
7331
7331
|
/**
|
|
7332
7332
|
* @ignore
|
|
7333
7333
|
*/
|
|
7334
|
-
className:
|
|
7334
|
+
className: b.string,
|
|
7335
7335
|
/**
|
|
7336
7336
|
* The color of the component.
|
|
7337
7337
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
@@ -7339,21 +7339,21 @@ process.env.NODE_ENV !== "production" && (Pn.propTypes = {
|
|
|
7339
7339
|
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
|
|
7340
7340
|
* @default 'inherit'
|
|
7341
7341
|
*/
|
|
7342
|
-
color:
|
|
7342
|
+
color: b.oneOfType([b.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), b.string]),
|
|
7343
7343
|
/**
|
|
7344
7344
|
* The component used for the root node.
|
|
7345
7345
|
* Either a string to use a HTML element or a component.
|
|
7346
7346
|
*/
|
|
7347
|
-
component:
|
|
7347
|
+
component: b.elementType,
|
|
7348
7348
|
/**
|
|
7349
7349
|
* The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
|
|
7350
7350
|
* @default 'medium'
|
|
7351
7351
|
*/
|
|
7352
|
-
fontSize:
|
|
7352
|
+
fontSize: b.oneOfType([b.oneOf(["inherit", "large", "medium", "small"]), b.string]),
|
|
7353
7353
|
/**
|
|
7354
7354
|
* Applies a color attribute to the SVG element.
|
|
7355
7355
|
*/
|
|
7356
|
-
htmlColor:
|
|
7356
|
+
htmlColor: b.string,
|
|
7357
7357
|
/**
|
|
7358
7358
|
* If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
|
|
7359
7359
|
* prop will be ignored.
|
|
@@ -7361,22 +7361,22 @@ process.env.NODE_ENV !== "production" && (Pn.propTypes = {
|
|
|
7361
7361
|
* `component`'s viewBox to the root node.
|
|
7362
7362
|
* @default false
|
|
7363
7363
|
*/
|
|
7364
|
-
inheritViewBox:
|
|
7364
|
+
inheritViewBox: b.bool,
|
|
7365
7365
|
/**
|
|
7366
7366
|
* The shape-rendering attribute. The behavior of the different options is described on the
|
|
7367
7367
|
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
|
|
7368
7368
|
* If you are having issues with blurry icons you should investigate this prop.
|
|
7369
7369
|
*/
|
|
7370
|
-
shapeRendering:
|
|
7370
|
+
shapeRendering: b.string,
|
|
7371
7371
|
/**
|
|
7372
7372
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
7373
7373
|
*/
|
|
7374
|
-
sx:
|
|
7374
|
+
sx: b.oneOfType([b.arrayOf(b.oneOfType([b.func, b.object, b.bool])), b.func, b.object]),
|
|
7375
7375
|
/**
|
|
7376
7376
|
* Provides a human-readable title for the element that contains it.
|
|
7377
7377
|
* https://www.w3.org/TR/SVG-access/#Equivalent
|
|
7378
7378
|
*/
|
|
7379
|
-
titleAccess:
|
|
7379
|
+
titleAccess: b.string,
|
|
7380
7380
|
/**
|
|
7381
7381
|
* Allows you to redefine what the coordinates without units mean inside an SVG element.
|
|
7382
7382
|
* For example, if the SVG element is 500 (width) by 200 (height),
|
|
@@ -7385,7 +7385,7 @@ process.env.NODE_ENV !== "production" && (Pn.propTypes = {
|
|
|
7385
7385
|
* to bottom right (50,20) and each unit will be worth 10px.
|
|
7386
7386
|
* @default '0 0 24 24'
|
|
7387
7387
|
*/
|
|
7388
|
-
viewBox:
|
|
7388
|
+
viewBox: b.string
|
|
7389
7389
|
});
|
|
7390
7390
|
Pn.muiName = "SvgIcon";
|
|
7391
7391
|
function Me(e, t) {
|
|
@@ -7419,7 +7419,7 @@ const fn = {
|
|
|
7419
7419
|
defaultDarkColorScheme: "dark",
|
|
7420
7420
|
modeStorageKey: "mui-mode"
|
|
7421
7421
|
};
|
|
7422
|
-
process.env.NODE_ENV !== "production" && (
|
|
7422
|
+
process.env.NODE_ENV !== "production" && (b.string, b.string, b.string, b.string, b.string, b.oneOf(["dark", "light", "system"]), b.string, b.string);
|
|
7423
7423
|
const {
|
|
7424
7424
|
CssVarsProvider: $p
|
|
7425
7425
|
} = Rd({
|
|
@@ -7625,7 +7625,7 @@ function dm({ i18n: e, netEnabled: t, debug: r }) {
|
|
|
7625
7625
|
const m = await _e("/api/list-clients", r);
|
|
7626
7626
|
m.ok && u(
|
|
7627
7627
|
m.json.filter(
|
|
7628
|
-
(
|
|
7628
|
+
(g) => !g.exclude_from_menu && (r || !g.requires.debug)
|
|
7629
7629
|
)
|
|
7630
7630
|
);
|
|
7631
7631
|
})().then();
|
|
@@ -7782,7 +7782,7 @@ function Bp({
|
|
|
7782
7782
|
isLoading: u = !1
|
|
7783
7783
|
}) {
|
|
7784
7784
|
var E, k, S, j, x;
|
|
7785
|
-
const p = o ? Ho : Ur.Fragment, f = o ? { theme: o } : {}, { enabledRef: m } = fe(Jt), { i18nRef:
|
|
7785
|
+
const p = o ? Ho : Ur.Fragment, f = o ? { theme: o } : {}, { enabledRef: m } = fe(Jt), { i18nRef: g } = fe(Le), { debugRef: d } = fe(Hr), { clientConfigRef: y } = fe(xs), h = ((S = (k = (E = y.current._global) == null ? void 0 : E.find(($) => $.id === "internetConfig")) == null ? void 0 : k.fields.find(($) => $.id === "internetConnectionAccess")) == null ? void 0 : S.value) ?? !0, C = ($, _) => {
|
|
7786
7786
|
u && (_ === "backdropClick" || _ === "escapeKeyDown") || r();
|
|
7787
7787
|
};
|
|
7788
7788
|
return /* @__PURE__ */ c.jsx(p, { ...f, children: /* @__PURE__ */ c.jsxs(
|
|
@@ -7819,7 +7819,7 @@ function Bp({
|
|
|
7819
7819
|
h && a && /* @__PURE__ */ c.jsx(
|
|
7820
7820
|
rc,
|
|
7821
7821
|
{
|
|
7822
|
-
i18n:
|
|
7822
|
+
i18n: g.current,
|
|
7823
7823
|
netEnabled: m.current,
|
|
7824
7824
|
debug: d.current
|
|
7825
7825
|
}
|
|
@@ -7999,24 +7999,24 @@ const Bo = qr`
|
|
|
7999
7999
|
max: p,
|
|
8000
8000
|
size: f = 40,
|
|
8001
8001
|
style: m,
|
|
8002
|
-
thickness:
|
|
8002
|
+
thickness: g = 3.6,
|
|
8003
8003
|
value: d = n.min ?? 0,
|
|
8004
|
-
variant:
|
|
8004
|
+
variant: y = "indeterminate",
|
|
8005
8005
|
...h
|
|
8006
8006
|
} = n;
|
|
8007
|
-
process.env.NODE_ENV !== "production" && !ji &&
|
|
8007
|
+
process.env.NODE_ENV !== "production" && !ji && y === "indeterminate" && (u !== void 0 || p !== void 0) && (console.warn("MUI: You have provided the `min` or `max` props with an 'indeterminate' variant. These props will have no effect."), ji = !0);
|
|
8008
8008
|
const C = u ?? 0, E = p ?? 100, k = {
|
|
8009
8009
|
...n,
|
|
8010
8010
|
color: s,
|
|
8011
8011
|
disableShrink: i,
|
|
8012
8012
|
size: f,
|
|
8013
|
-
thickness:
|
|
8013
|
+
thickness: g,
|
|
8014
8014
|
value: d,
|
|
8015
|
-
variant:
|
|
8015
|
+
variant: y,
|
|
8016
8016
|
enableTrackSlot: a
|
|
8017
8017
|
}, S = Vp(k), j = {}, x = {}, $ = {};
|
|
8018
|
-
if (
|
|
8019
|
-
const _ = 2 * Math.PI * ((ot -
|
|
8018
|
+
if (y === "determinate") {
|
|
8019
|
+
const _ = 2 * Math.PI * ((ot - g) / 2);
|
|
8020
8020
|
process.env.NODE_ENV !== "production" && !_i && (d < C || d > E || C >= E) && (console.error(`MUI: The min, max, and value props in CircularProgress should be numbers where min < max and min <= value <= max. Received min=${C}, max=${E}, value=${d}.`), _i = !0);
|
|
8021
8021
|
const v = E - C;
|
|
8022
8022
|
j.strokeDasharray = _.toFixed(3), j.strokeDashoffset = v > 0 ? `${((E - d) / v * _).toFixed(3)}px` : `${_.toFixed(3)}px`, x.transform = "rotate(-90deg)", $["aria-valuenow"] = d, $["aria-valuemin"] = C, $["aria-valuemax"] = E;
|
|
@@ -8043,9 +8043,9 @@ const Bo = qr`
|
|
|
8043
8043
|
ownerState: k,
|
|
8044
8044
|
cx: ot,
|
|
8045
8045
|
cy: ot,
|
|
8046
|
-
r: (ot -
|
|
8046
|
+
r: (ot - g) / 2,
|
|
8047
8047
|
fill: "none",
|
|
8048
|
-
strokeWidth:
|
|
8048
|
+
strokeWidth: g,
|
|
8049
8049
|
"aria-hidden": "true"
|
|
8050
8050
|
}) : null, /* @__PURE__ */ c.jsx(Yp, {
|
|
8051
8051
|
className: S.circle,
|
|
@@ -8053,9 +8053,9 @@ const Bo = qr`
|
|
|
8053
8053
|
ownerState: k,
|
|
8054
8054
|
cx: ot,
|
|
8055
8055
|
cy: ot,
|
|
8056
|
-
r: (ot -
|
|
8056
|
+
r: (ot - g) / 2,
|
|
8057
8057
|
fill: "none",
|
|
8058
|
-
strokeWidth:
|
|
8058
|
+
strokeWidth: g
|
|
8059
8059
|
})]
|
|
8060
8060
|
})
|
|
8061
8061
|
});
|
|
@@ -8068,72 +8068,72 @@ process.env.NODE_ENV !== "production" && (oc.propTypes = {
|
|
|
8068
8068
|
/**
|
|
8069
8069
|
* Override or extend the styles applied to the component.
|
|
8070
8070
|
*/
|
|
8071
|
-
classes:
|
|
8071
|
+
classes: b.object,
|
|
8072
8072
|
/**
|
|
8073
8073
|
* @ignore
|
|
8074
8074
|
*/
|
|
8075
|
-
className:
|
|
8075
|
+
className: b.string,
|
|
8076
8076
|
/**
|
|
8077
8077
|
* The color of the component.
|
|
8078
8078
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
8079
8079
|
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
8080
8080
|
* @default 'primary'
|
|
8081
8081
|
*/
|
|
8082
|
-
color:
|
|
8082
|
+
color: b.oneOfType([b.oneOf(["inherit", "primary", "secondary", "error", "info", "success", "warning"]), b.string]),
|
|
8083
8083
|
/**
|
|
8084
8084
|
* If `true`, the shrink animation is disabled.
|
|
8085
8085
|
* This only works if variant is `indeterminate`.
|
|
8086
8086
|
* @default false
|
|
8087
8087
|
*/
|
|
8088
|
-
disableShrink: na(
|
|
8088
|
+
disableShrink: na(b.bool, (e) => e.disableShrink && e.variant && e.variant !== "indeterminate" ? new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect.") : null),
|
|
8089
8089
|
/**
|
|
8090
8090
|
* If `true`, a track circle slot is mounted to show a subtle background for the progress.
|
|
8091
8091
|
* The `size` and `thickness` apply to the track slot to be consistent with the progress circle.
|
|
8092
8092
|
* @default false
|
|
8093
8093
|
*/
|
|
8094
|
-
enableTrackSlot:
|
|
8094
|
+
enableTrackSlot: b.bool,
|
|
8095
8095
|
/**
|
|
8096
8096
|
* The maximum value for the progress indicator for the determinate variant.
|
|
8097
8097
|
* @default 100
|
|
8098
8098
|
*/
|
|
8099
|
-
max:
|
|
8099
|
+
max: b.number,
|
|
8100
8100
|
/**
|
|
8101
8101
|
* The minimum value for the progress indicator for the determinate variant.
|
|
8102
8102
|
* @default 0
|
|
8103
8103
|
*/
|
|
8104
|
-
min:
|
|
8104
|
+
min: b.number,
|
|
8105
8105
|
/**
|
|
8106
8106
|
* The size of the component.
|
|
8107
8107
|
* If using a number, the pixel unit is assumed.
|
|
8108
8108
|
* If using a string, you need to provide the CSS unit, for example '3rem'.
|
|
8109
8109
|
* @default 40
|
|
8110
8110
|
*/
|
|
8111
|
-
size:
|
|
8111
|
+
size: b.oneOfType([b.number, b.string]),
|
|
8112
8112
|
/**
|
|
8113
8113
|
* @ignore
|
|
8114
8114
|
*/
|
|
8115
|
-
style:
|
|
8115
|
+
style: b.object,
|
|
8116
8116
|
/**
|
|
8117
8117
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
8118
8118
|
*/
|
|
8119
|
-
sx:
|
|
8119
|
+
sx: b.oneOfType([b.arrayOf(b.oneOfType([b.func, b.object, b.bool])), b.func, b.object]),
|
|
8120
8120
|
/**
|
|
8121
8121
|
* The thickness of the circle.
|
|
8122
8122
|
* @default 3.6
|
|
8123
8123
|
*/
|
|
8124
|
-
thickness:
|
|
8124
|
+
thickness: b.number,
|
|
8125
8125
|
/**
|
|
8126
8126
|
* The value of the progress indicator for the determinate variant.
|
|
8127
8127
|
* Value between `min` and `max`.
|
|
8128
8128
|
* @default props.min ?? 0
|
|
8129
8129
|
*/
|
|
8130
|
-
value:
|
|
8130
|
+
value: b.number,
|
|
8131
8131
|
/**
|
|
8132
8132
|
* The variant to use.
|
|
8133
8133
|
* Use indeterminate when there is no progress value.
|
|
8134
8134
|
* @default 'indeterminate'
|
|
8135
8135
|
*/
|
|
8136
|
-
variant:
|
|
8136
|
+
variant: b.oneOf(["determinate", "indeterminate"])
|
|
8137
8137
|
});
|
|
8138
8138
|
function On({
|
|
8139
8139
|
label: e,
|
|
@@ -8225,20 +8225,20 @@ function ic(e) {
|
|
|
8225
8225
|
setColumnFilter: p,
|
|
8226
8226
|
showColumnFilters: f,
|
|
8227
8227
|
groupOperations: m,
|
|
8228
|
-
checkboxSelection:
|
|
8228
|
+
checkboxSelection: g
|
|
8229
8229
|
} = e, d = (_) => (v) => {
|
|
8230
8230
|
i(v, _);
|
|
8231
|
-
}, [
|
|
8231
|
+
}, [y, h] = Q(null), [C, E] = Q(null), k = (_, v) => {
|
|
8232
8232
|
_.stopPropagation(), h(_.currentTarget), E(v);
|
|
8233
8233
|
}, S = () => {
|
|
8234
8234
|
h(null), E(null);
|
|
8235
8235
|
}, j = (_) => {
|
|
8236
8236
|
const v = _.target.value;
|
|
8237
8237
|
p(C, v);
|
|
8238
|
-
}, x = !!
|
|
8238
|
+
}, x = !!y, $ = x ? "filter-popover" : void 0;
|
|
8239
8239
|
return /* @__PURE__ */ c.jsxs(wc, { children: [
|
|
8240
8240
|
/* @__PURE__ */ c.jsxs(To, { children: [
|
|
8241
|
-
(
|
|
8241
|
+
(g || m) && /* @__PURE__ */ c.jsx(Ir, { padding: "checkbox", children: /* @__PURE__ */ c.jsx(
|
|
8242
8242
|
lr,
|
|
8243
8243
|
{
|
|
8244
8244
|
color: "primary",
|
|
@@ -8302,7 +8302,7 @@ function ic(e) {
|
|
|
8302
8302
|
{
|
|
8303
8303
|
id: $,
|
|
8304
8304
|
open: x,
|
|
8305
|
-
anchorEl:
|
|
8305
|
+
anchorEl: y,
|
|
8306
8306
|
onClose: S,
|
|
8307
8307
|
anchorOrigin: { vertical: "bottom", horizontal: "left" },
|
|
8308
8308
|
children: /* @__PURE__ */ c.jsx(se, { sx: { p: 2 }, children: /* @__PURE__ */ c.jsx(
|
|
@@ -8342,12 +8342,12 @@ function ic(e) {
|
|
|
8342
8342
|
] });
|
|
8343
8343
|
}
|
|
8344
8344
|
ic.propTypes = {
|
|
8345
|
-
onRequestSort:
|
|
8346
|
-
order:
|
|
8347
|
-
orderBy:
|
|
8348
|
-
columns:
|
|
8349
|
-
setColumnFilter:
|
|
8350
|
-
columnFilters:
|
|
8345
|
+
onRequestSort: b.func.isRequired,
|
|
8346
|
+
order: b.oneOf(["asc", "desc"]).isRequired,
|
|
8347
|
+
orderBy: b.string.isRequired,
|
|
8348
|
+
columns: b.array.isRequired,
|
|
8349
|
+
setColumnFilter: b.func.isRequired,
|
|
8350
|
+
columnFilters: b.object.isRequired
|
|
8351
8351
|
};
|
|
8352
8352
|
function ac(e) {
|
|
8353
8353
|
const {
|
|
@@ -8440,9 +8440,9 @@ function ac(e) {
|
|
|
8440
8440
|
);
|
|
8441
8441
|
}
|
|
8442
8442
|
ac.propTypes = {
|
|
8443
|
-
numSelected:
|
|
8444
|
-
selectedIds:
|
|
8445
|
-
clearSelection:
|
|
8443
|
+
numSelected: b.number.isRequired,
|
|
8444
|
+
selectedIds: b.array.isRequired,
|
|
8445
|
+
clearSelection: b.func.isRequired
|
|
8446
8446
|
};
|
|
8447
8447
|
function Jp(e, t) {
|
|
8448
8448
|
return e === "desc" ? (r, n) => String(n[t] ?? "").localeCompare(
|
|
@@ -8468,14 +8468,14 @@ function Qp({
|
|
|
8468
8468
|
theme: p,
|
|
8469
8469
|
onRowSelectionModelChange: f,
|
|
8470
8470
|
checkboxSelection: m,
|
|
8471
|
-
initialState:
|
|
8471
|
+
initialState: g,
|
|
8472
8472
|
preSelections: d
|
|
8473
8473
|
}) {
|
|
8474
8474
|
var O, K;
|
|
8475
|
-
const [
|
|
8476
|
-
|
|
8475
|
+
const [y, h] = Q(
|
|
8476
|
+
g != null && g.sorting ? (O = g == null ? void 0 : g.sorting) == null ? void 0 : O.order : "asc"
|
|
8477
8477
|
), [C, E] = Q(
|
|
8478
|
-
|
|
8478
|
+
g != null && g.sorting ? (K = g == null ? void 0 : g.sorting) == null ? void 0 : K.field : "date"
|
|
8479
8479
|
), [k, S] = Q([]), [j, x] = Q([]), $ = p ? Ho : Ur.Fragment, _ = p ? { theme: p } : {}, [v, V] = Q(0), D = Ie(null), [T, l] = Q(0), I = Ie(null);
|
|
8480
8480
|
ae(() => {
|
|
8481
8481
|
if (!I.current) return;
|
|
@@ -8498,7 +8498,7 @@ function Qp({
|
|
|
8498
8498
|
A[R.field] = "";
|
|
8499
8499
|
}), A;
|
|
8500
8500
|
}), Y = (A, R) => {
|
|
8501
|
-
h(C === R &&
|
|
8501
|
+
h(C === R && y === "asc" ? "desc" : "asc"), E(R);
|
|
8502
8502
|
};
|
|
8503
8503
|
ae(() => {
|
|
8504
8504
|
d && S(d);
|
|
@@ -8537,8 +8537,8 @@ function Qp({
|
|
|
8537
8537
|
return !1;
|
|
8538
8538
|
}
|
|
8539
8539
|
return !0;
|
|
8540
|
-
}).sort(Jp(
|
|
8541
|
-
[
|
|
8540
|
+
}).sort(Jp(y, C)),
|
|
8541
|
+
[y, C, t, r, z, P]
|
|
8542
8542
|
);
|
|
8543
8543
|
return /* @__PURE__ */ c.jsx($, { ..._, children: /* @__PURE__ */ c.jsxs(
|
|
8544
8544
|
se,
|
|
@@ -8613,7 +8613,7 @@ function Qp({
|
|
|
8613
8613
|
ic,
|
|
8614
8614
|
{
|
|
8615
8615
|
numSelected: k.length,
|
|
8616
|
-
order:
|
|
8616
|
+
order: y,
|
|
8617
8617
|
orderBy: C,
|
|
8618
8618
|
onSelectAllClick: X,
|
|
8619
8619
|
onRequestSort: Y,
|
|
@@ -8712,7 +8712,7 @@ function fm({
|
|
|
8712
8712
|
onDownloadingChange: f,
|
|
8713
8713
|
languageLookup: m = []
|
|
8714
8714
|
}) {
|
|
8715
|
-
const { i18nRef:
|
|
8715
|
+
const { i18nRef: g } = fe(Le), { debugRef: d } = fe(Hr), [y, h] = Q(0), C = Ie(0), [E, k] = Q([]), [S, j] = Q(null), [x, $] = Q({}), [_, v] = Q(!0), V = Ie(null), [D, T] = Q(0), [l, I] = Q(!1), { sourceWhitelist: P, filterExample: F, listMode: Y } = Ct(() => {
|
|
8716
8716
|
if (Array.isArray(r))
|
|
8717
8717
|
return {
|
|
8718
8718
|
listMode: !1,
|
|
@@ -8743,8 +8743,8 @@ function fm({
|
|
|
8743
8743
|
m.map((O) => [O.id, O.endonym])
|
|
8744
8744
|
), [m]);
|
|
8745
8745
|
ae(() => {
|
|
8746
|
-
F.length > 0 &&
|
|
8747
|
-
}, [F,
|
|
8746
|
+
F.length > 0 && y === null && h(0);
|
|
8747
|
+
}, [F, y]), ae(() => {
|
|
8748
8748
|
if (!V.current) return;
|
|
8749
8749
|
const O = new ResizeObserver((K) => {
|
|
8750
8750
|
for (const A of K)
|
|
@@ -8754,8 +8754,8 @@ function fm({
|
|
|
8754
8754
|
}, [F]);
|
|
8755
8755
|
const te = Ct(() => {
|
|
8756
8756
|
var O;
|
|
8757
|
-
return
|
|
8758
|
-
}, [
|
|
8757
|
+
return y !== null ? (O = F[y]) == null ? void 0 : O.filter : null;
|
|
8758
|
+
}, [y, F]);
|
|
8759
8759
|
ae(() => {
|
|
8760
8760
|
(async () => {
|
|
8761
8761
|
v(!0), j(null);
|
|
@@ -8782,7 +8782,7 @@ function fm({
|
|
|
8782
8782
|
}
|
|
8783
8783
|
}
|
|
8784
8784
|
else {
|
|
8785
|
-
let R = P[
|
|
8785
|
+
let R = P[y], L = R[0].split("/"), G;
|
|
8786
8786
|
if (e === "org" && (G = await _e(
|
|
8787
8787
|
`/api/gitea/remote-repos/${R[0]}`,
|
|
8788
8788
|
d.current
|
|
@@ -8800,11 +8800,11 @@ function fm({
|
|
|
8800
8800
|
}
|
|
8801
8801
|
}
|
|
8802
8802
|
A.length > 0 ? (v(!1), I(!1), k(A)) : (v(!1), I(!0), St(
|
|
8803
|
-
W("library:pankosmia-rcl:catalog_empty",
|
|
8803
|
+
W("library:pankosmia-rcl:catalog_empty", g.current),
|
|
8804
8804
|
{ variant: "error" }
|
|
8805
8805
|
));
|
|
8806
8806
|
})();
|
|
8807
|
-
}, [P,
|
|
8807
|
+
}, [P, y]), ae(() => {
|
|
8808
8808
|
if (E.length === 0) return;
|
|
8809
8809
|
(async () => {
|
|
8810
8810
|
const K = {};
|
|
@@ -8829,7 +8829,7 @@ function fm({
|
|
|
8829
8829
|
})), St(
|
|
8830
8830
|
`${W(
|
|
8831
8831
|
"pages:core-remote-resources:downloading",
|
|
8832
|
-
|
|
8832
|
+
g.current
|
|
8833
8833
|
)} ${O.row.abbreviation}`,
|
|
8834
8834
|
{ variant: "info" }
|
|
8835
8835
|
);
|
|
@@ -8837,7 +8837,7 @@ function fm({
|
|
|
8837
8837
|
R = await t(O, K, A), R.ok ? (St(
|
|
8838
8838
|
`${O.row.abbreviation} ${W(
|
|
8839
8839
|
A === "clone" ? "pages:core-remote-resources:downloaded" : "pages:core-remote-resources:updated",
|
|
8840
|
-
|
|
8840
|
+
g.current
|
|
8841
8841
|
)}`,
|
|
8842
8842
|
{ variant: "success" }
|
|
8843
8843
|
), j((L) => ({
|
|
@@ -8846,8 +8846,8 @@ function fm({
|
|
|
8846
8846
|
}))) : (St(
|
|
8847
8847
|
`${O.row.abbreviation} ${W(
|
|
8848
8848
|
"pages:core-remote-resources:failed",
|
|
8849
|
-
|
|
8850
|
-
)} : ${R.error} (${R.status})`,
|
|
8849
|
+
g.current
|
|
8850
|
+
)} : ${R.error.reason} (${R.status})`,
|
|
8851
8851
|
{ variant: "error" }
|
|
8852
8852
|
), j((L) => ({
|
|
8853
8853
|
...L,
|
|
@@ -8862,7 +8862,7 @@ function fm({
|
|
|
8862
8862
|
field: "resourceCode",
|
|
8863
8863
|
headerName: W(
|
|
8864
8864
|
"library:pankosmia-rcl:row_resource_code",
|
|
8865
|
-
|
|
8865
|
+
g.current
|
|
8866
8866
|
),
|
|
8867
8867
|
flex: 0.5,
|
|
8868
8868
|
minWidth: 140
|
|
@@ -8871,7 +8871,7 @@ function fm({
|
|
|
8871
8871
|
field: "language",
|
|
8872
8872
|
headerName: W(
|
|
8873
8873
|
"library:pankosmia-rcl:row_language",
|
|
8874
|
-
|
|
8874
|
+
g.current
|
|
8875
8875
|
),
|
|
8876
8876
|
flex: 0.5,
|
|
8877
8877
|
minWidth: 120
|
|
@@ -8880,14 +8880,14 @@ function fm({
|
|
|
8880
8880
|
field: "description",
|
|
8881
8881
|
headerName: W(
|
|
8882
8882
|
"library:pankosmia-rcl:row_description",
|
|
8883
|
-
|
|
8883
|
+
g.current
|
|
8884
8884
|
),
|
|
8885
8885
|
flex: 2,
|
|
8886
8886
|
minWidth: 130
|
|
8887
8887
|
},
|
|
8888
8888
|
{
|
|
8889
8889
|
field: "type",
|
|
8890
|
-
headerName: W("library:pankosmia-rcl:row_type",
|
|
8890
|
+
headerName: W("library:pankosmia-rcl:row_type", g.current),
|
|
8891
8891
|
flex: 1.5,
|
|
8892
8892
|
minWidth: 80
|
|
8893
8893
|
},
|
|
@@ -8896,7 +8896,7 @@ function fm({
|
|
|
8896
8896
|
sortable: !1,
|
|
8897
8897
|
headerName: W(
|
|
8898
8898
|
"library:pankosmia-rcl:row_download",
|
|
8899
|
-
|
|
8899
|
+
g.current
|
|
8900
8900
|
),
|
|
8901
8901
|
flex: 0.5,
|
|
8902
8902
|
minWidth: 120,
|
|
@@ -8920,7 +8920,7 @@ function fm({
|
|
|
8920
8920
|
}
|
|
8921
8921
|
}
|
|
8922
8922
|
],
|
|
8923
|
-
[
|
|
8923
|
+
[g, S, ne]
|
|
8924
8924
|
), w = Ct(
|
|
8925
8925
|
() => E.filter((O) => O.flavor).map((O) => ({
|
|
8926
8926
|
...O,
|
|
@@ -8937,17 +8937,17 @@ function fm({
|
|
|
8937
8937
|
topics: O.topics,
|
|
8938
8938
|
type: W(
|
|
8939
8939
|
`flavors:names:${O.flavor_type}/${O.flavor}`,
|
|
8940
|
-
|
|
8940
|
+
g.current
|
|
8941
8941
|
).includes("flavors:names") ? `${W(
|
|
8942
8942
|
"library:pankosmia-rcl:unknown",
|
|
8943
|
-
|
|
8943
|
+
g.current
|
|
8944
8944
|
)}:${O.flavor}` : W(
|
|
8945
8945
|
`flavors:names:${O.flavor_type}/${O.flavor}`,
|
|
8946
|
-
|
|
8946
|
+
g.current
|
|
8947
8947
|
)
|
|
8948
8948
|
})).filter((O) => O.metadata_types === "rc" && O.topics.some((K) => u.includes(K)) || O.metadata_types === "sb" || !1),
|
|
8949
8949
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
8950
|
-
[E,
|
|
8950
|
+
[E, g, X]
|
|
8951
8951
|
), z = [
|
|
8952
8952
|
{
|
|
8953
8953
|
label: "Download selected",
|
|
@@ -8975,7 +8975,7 @@ function fm({
|
|
|
8975
8975
|
mb: 1
|
|
8976
8976
|
},
|
|
8977
8977
|
children: F.map((O, K) => {
|
|
8978
|
-
const A =
|
|
8978
|
+
const A = y === K, R = K === 0, L = K === F.length - 1;
|
|
8979
8979
|
return /* @__PURE__ */ c.jsx(
|
|
8980
8980
|
Ui,
|
|
8981
8981
|
{
|
|
@@ -9068,7 +9068,7 @@ function fm({
|
|
|
9068
9068
|
},
|
|
9069
9069
|
children: /* @__PURE__ */ c.jsxs(Ee, { children: [
|
|
9070
9070
|
" ",
|
|
9071
|
-
W("library:pankosmia-rcl:catalog_empty",
|
|
9071
|
+
W("library:pankosmia-rcl:catalog_empty", g.current)
|
|
9072
9072
|
] })
|
|
9073
9073
|
}
|
|
9074
9074
|
)
|
|
@@ -9105,7 +9105,7 @@ const vs = Ye({
|
|
|
9105
9105
|
}), cc = Ye({ debug: !1, setBeta: () => {
|
|
9106
9106
|
} });
|
|
9107
9107
|
function ch({ currentId: e }) {
|
|
9108
|
-
const [t, r] = Q("auto"), [n, o] = Q(!1), s = Ie(null), [i, a] = Q(!1), [u, p] = Q([]), [f, m] = Q([]),
|
|
9108
|
+
const [t, r] = Q("auto"), [n, o] = Q(!1), s = Ie(null), [i, a] = Q(!1), [u, p] = Q([]), [f, m] = Q([]), g = Dn(), { i18nRef: d } = fe(Le), { enabledRef: y } = fe(Jt), { debugRef: h } = fe(Hr), { productRef: C } = fe(vs), { betaRef: E } = fe(cc);
|
|
9109
9109
|
ae(() => {
|
|
9110
9110
|
(async () => {
|
|
9111
9111
|
const $ = await _e("/api/list-clients", h.current);
|
|
@@ -9179,7 +9179,7 @@ function ch({ currentId: e }) {
|
|
|
9179
9179
|
) : /* @__PURE__ */ c.jsx(Yt, { disablePadding: !0, children: /* @__PURE__ */ c.jsx(
|
|
9180
9180
|
ft,
|
|
9181
9181
|
{
|
|
9182
|
-
disabled: x.requires.net && !
|
|
9182
|
+
disabled: x.requires.net && !y.current,
|
|
9183
9183
|
onClick: () => {
|
|
9184
9184
|
window.location.href = x.url;
|
|
9185
9185
|
},
|
|
@@ -9254,7 +9254,7 @@ function ch({ currentId: e }) {
|
|
|
9254
9254
|
sx: {
|
|
9255
9255
|
width: "100%",
|
|
9256
9256
|
textAlign: "center",
|
|
9257
|
-
color:
|
|
9257
|
+
color: g.palette.text.secondary
|
|
9258
9258
|
},
|
|
9259
9259
|
children: W("components:header:debug_mode_active", d.current)
|
|
9260
9260
|
}
|
|
@@ -9273,14 +9273,14 @@ function lh({
|
|
|
9273
9273
|
theme: n,
|
|
9274
9274
|
showInternetSwitch: o = !0
|
|
9275
9275
|
}) {
|
|
9276
|
-
var d,
|
|
9277
|
-
const { i18nRef: s } = fe(Le), { clientConfigRef: i } = fe(xs), { enabledRef: a } = fe(Jt), u = ((h = (
|
|
9276
|
+
var d, y, h;
|
|
9277
|
+
const { i18nRef: s } = fe(Le), { clientConfigRef: i } = fe(xs), { enabledRef: a } = fe(Jt), u = ((h = (y = (d = i.current._global) == null ? void 0 : d.find((C) => C.id === "internetConfig")) == null ? void 0 : y.fields.find((C) => C.id === "internetConnectionAccess")) == null ? void 0 : h.value) ?? !0;
|
|
9278
9278
|
ae(() => {
|
|
9279
9279
|
const C = W("branding:software:name", s.current), E = W(e, s.current);
|
|
9280
9280
|
document.title = `${E} - ${C}`;
|
|
9281
9281
|
});
|
|
9282
9282
|
const p = n ? Ho : Ur.Fragment, f = n ? { theme: n } : {};
|
|
9283
|
-
let { product: m } = fe(vs),
|
|
9283
|
+
let { product: m } = fe(vs), g = m && m.os === "android";
|
|
9284
9284
|
return /* @__PURE__ */ c.jsx(p, { ...f, children: /* @__PURE__ */ c.jsx(
|
|
9285
9285
|
se,
|
|
9286
9286
|
{
|
|
@@ -9297,9 +9297,9 @@ function lh({
|
|
|
9297
9297
|
sx: {
|
|
9298
9298
|
m: 0,
|
|
9299
9299
|
p: 0,
|
|
9300
|
-
paddingTop:
|
|
9301
|
-
paddingLeft:
|
|
9302
|
-
paddingRight:
|
|
9300
|
+
paddingTop: g ? "30px" : "0px",
|
|
9301
|
+
paddingLeft: g ? "30px" : "0px",
|
|
9302
|
+
paddingRight: g ? "30px" : "0px"
|
|
9303
9303
|
},
|
|
9304
9304
|
children: /* @__PURE__ */ c.jsxs(Nn, { variant: "dense", sx: { m: 0, p: 0 }, children: [
|
|
9305
9305
|
/* @__PURE__ */ c.jsx(ch, { currentId: r }),
|
|
@@ -9310,7 +9310,7 @@ function lh({
|
|
|
9310
9310
|
{
|
|
9311
9311
|
netEnabled: a.current,
|
|
9312
9312
|
i18n: s.current,
|
|
9313
|
-
isAndroid:
|
|
9313
|
+
isAndroid: g
|
|
9314
9314
|
}
|
|
9315
9315
|
) })
|
|
9316
9316
|
] })
|
|
@@ -9402,17 +9402,17 @@ var hh = function(e, t) {
|
|
|
9402
9402
|
const Lo = "text/event-stream", mh = 1e3, Ai = "last-event-id";
|
|
9403
9403
|
function gh(e, t) {
|
|
9404
9404
|
var { signal: r, headers: n, onopen: o, onmessage: s, onclose: i, onerror: a, openWhenHidden: u, fetch: p } = t, f = hh(t, ["signal", "headers", "onopen", "onmessage", "onclose", "onerror", "openWhenHidden", "fetch"]);
|
|
9405
|
-
return new Promise((m,
|
|
9405
|
+
return new Promise((m, g) => {
|
|
9406
9406
|
const d = Object.assign({}, n);
|
|
9407
9407
|
d.accept || (d.accept = Lo);
|
|
9408
|
-
let
|
|
9408
|
+
let y;
|
|
9409
9409
|
function h() {
|
|
9410
|
-
|
|
9410
|
+
y.abort(), document.hidden || x();
|
|
9411
9411
|
}
|
|
9412
9412
|
u || document.addEventListener("visibilitychange", h);
|
|
9413
9413
|
let C = mh, E = 0;
|
|
9414
9414
|
function k() {
|
|
9415
|
-
document.removeEventListener("visibilitychange", h), window.clearTimeout(E),
|
|
9415
|
+
document.removeEventListener("visibilitychange", h), window.clearTimeout(E), y.abort();
|
|
9416
9416
|
}
|
|
9417
9417
|
r == null || r.addEventListener("abort", () => {
|
|
9418
9418
|
k(), m();
|
|
@@ -9420,21 +9420,21 @@ function gh(e, t) {
|
|
|
9420
9420
|
const S = p ?? window.fetch, j = o ?? yh;
|
|
9421
9421
|
async function x() {
|
|
9422
9422
|
var $;
|
|
9423
|
-
|
|
9423
|
+
y = new AbortController();
|
|
9424
9424
|
try {
|
|
9425
|
-
const _ = await S(e, Object.assign(Object.assign({}, f), { headers: d, signal:
|
|
9425
|
+
const _ = await S(e, Object.assign(Object.assign({}, f), { headers: d, signal: y.signal }));
|
|
9426
9426
|
await j(_), await uh(_.body, dh(fh((v) => {
|
|
9427
9427
|
v ? d[Ai] = v : delete d[Ai];
|
|
9428
9428
|
}, (v) => {
|
|
9429
9429
|
C = v;
|
|
9430
9430
|
}, s))), i == null || i(), k(), m();
|
|
9431
9431
|
} catch (_) {
|
|
9432
|
-
if (!
|
|
9432
|
+
if (!y.signal.aborted)
|
|
9433
9433
|
try {
|
|
9434
9434
|
const v = ($ = a == null ? void 0 : a(_)) !== null && $ !== void 0 ? $ : C;
|
|
9435
9435
|
window.clearTimeout(E), E = window.setTimeout(x, v);
|
|
9436
9436
|
} catch (v) {
|
|
9437
|
-
k(),
|
|
9437
|
+
k(), g(v);
|
|
9438
9438
|
}
|
|
9439
9439
|
}
|
|
9440
9440
|
}
|
|
@@ -9633,11 +9633,11 @@ function zh(e) {
|
|
|
9633
9633
|
return Nh(vn("", null, null, null, [""], e = Mh(e), 0, [0], e));
|
|
9634
9634
|
}
|
|
9635
9635
|
function vn(e, t, r, n, o, s, i, a, u) {
|
|
9636
|
-
for (var p = 0, f = 0, m = i,
|
|
9637
|
-
switch (
|
|
9636
|
+
for (var p = 0, f = 0, m = i, g = 0, d = 0, y = 0, h = 1, C = 1, E = 1, k = 0, S = 0, j = "", x = o, $ = s, _ = n, v = j; C; )
|
|
9637
|
+
switch (y = S, S = it()) {
|
|
9638
9638
|
// (
|
|
9639
9639
|
case 40:
|
|
9640
|
-
|
|
9640
|
+
y != 108 && Ae(v, m - 1) == 58 ? (k++, v += "(") : v += So(S);
|
|
9641
9641
|
break;
|
|
9642
9642
|
// )
|
|
9643
9643
|
case 41:
|
|
@@ -9658,7 +9658,7 @@ function vn(e, t, r, n, o, s, i, a, u) {
|
|
|
9658
9658
|
v += Mr(S);
|
|
9659
9659
|
break;
|
|
9660
9660
|
}
|
|
9661
|
-
v += Dh(
|
|
9661
|
+
v += Dh(y);
|
|
9662
9662
|
break;
|
|
9663
9663
|
// \
|
|
9664
9664
|
case 92:
|
|
@@ -9669,7 +9669,7 @@ function vn(e, t, r, n, o, s, i, a, u) {
|
|
|
9669
9669
|
switch (Nt()) {
|
|
9670
9670
|
case 42:
|
|
9671
9671
|
case 47:
|
|
9672
|
-
Pr(Vh(Fh(it(), xn()), t, r, u), u), (Wr(
|
|
9672
|
+
Pr(Vh(Fh(it(), xn()), t, r, u), u), (Wr(y || 1) == 5 || Wr(Nt() || 1) == 5) && ut(v) && Xt(v, -1, void 0) !== " " && (v += " ");
|
|
9673
9673
|
break;
|
|
9674
9674
|
default:
|
|
9675
9675
|
v += "/";
|
|
@@ -9704,7 +9704,7 @@ function vn(e, t, r, n, o, s, i, a, u) {
|
|
|
9704
9704
|
if (f === 0)
|
|
9705
9705
|
vn(v, t, _, _, x, s, m, a, $);
|
|
9706
9706
|
else {
|
|
9707
|
-
switch (
|
|
9707
|
+
switch (g) {
|
|
9708
9708
|
// c(ontainer)
|
|
9709
9709
|
case 99:
|
|
9710
9710
|
if (Ae(v, 3) === 110) break;
|
|
@@ -9725,7 +9725,7 @@ function vn(e, t, r, n, o, s, i, a, u) {
|
|
|
9725
9725
|
break;
|
|
9726
9726
|
// :
|
|
9727
9727
|
case 58:
|
|
9728
|
-
m = 1 + ut(v), d =
|
|
9728
|
+
m = 1 + ut(v), d = y;
|
|
9729
9729
|
default:
|
|
9730
9730
|
if (h < 1) {
|
|
9731
9731
|
if (S == 123)
|
|
@@ -9745,18 +9745,18 @@ function vn(e, t, r, n, o, s, i, a, u) {
|
|
|
9745
9745
|
break;
|
|
9746
9746
|
// @
|
|
9747
9747
|
case 64:
|
|
9748
|
-
Nt() === 45 && (v += So(it())),
|
|
9748
|
+
Nt() === 45 && (v += So(it())), g = Nt(), f = m = ut(j = v += Lh(xn())), S++;
|
|
9749
9749
|
break;
|
|
9750
9750
|
// -
|
|
9751
9751
|
case 45:
|
|
9752
|
-
|
|
9752
|
+
y === 45 && ut(v) == 2 && (h = 0);
|
|
9753
9753
|
}
|
|
9754
9754
|
}
|
|
9755
9755
|
return s;
|
|
9756
9756
|
}
|
|
9757
9757
|
function Ni(e, t, r, n, o, s, i, a, u, p, f, m) {
|
|
9758
|
-
for (var
|
|
9759
|
-
for (var k = 0, S = Xt(e,
|
|
9758
|
+
for (var g = o - 1, d = o === 0 ? s : [""], y = Ph(d), h = 0, C = 0, E = 0; h < n; ++h)
|
|
9759
|
+
for (var k = 0, S = Xt(e, g + 1, g = jh(C = i[h])), j = e; k < y; ++k)
|
|
9760
9760
|
(j = uc(C > 0 ? d[k] + " " + S : oe(S, /&\f/g, d[k]))) && (u[E++] = j);
|
|
9761
9761
|
return no(e, t, r, o === 0 ? Vr : a, u, p, f, m);
|
|
9762
9762
|
}
|
|
@@ -10035,7 +10035,7 @@ function Wh() {
|
|
|
10035
10035
|
};
|
|
10036
10036
|
}
|
|
10037
10037
|
function o() {
|
|
10038
|
-
var s = "`TMP`", i = "`TMPLTR`", a = "`TMPRTL`", u = "`NOFLIP_SINGLE`", p = "`NOFLIP_CLASS`", f = "`COMMENT`", m = "[^\\u0020-\\u007e]",
|
|
10038
|
+
var s = "`TMP`", i = "`TMPLTR`", a = "`TMPRTL`", u = "`NOFLIP_SINGLE`", p = "`NOFLIP_CLASS`", f = "`COMMENT`", m = "[^\\u0020-\\u007e]", g = "(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)", d = "(?:[0-9]*\\.[0-9]+|[0-9]+)", y = "(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)", h = "direction\\s*:\\s*", C = "[!#$%&*-~]", E = `['"]?\\s*`, k = "(^|[^a-zA-Z])", S = "[^\\}]*?", j = "\\/\\*\\!?\\s*@noflip\\s*\\*\\/", x = "\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/", $ = "(?:" + g + "|\\\\[^\\r\\n\\f0-9a-f])", _ = "(?:[_a-z]|" + m + "|" + $ + ")", v = "(?:[_a-z0-9-]|" + m + "|" + $ + ")", V = "-?" + _ + v + "*", D = d + "(?:\\s*" + y + "|" + V + ")?", T = "((?:-?" + D + ")|(?:inherit|auto))", l = "(?:-?" + d + "(?:\\s*" + y + ")?)", I = "(?:\\+|\\-|\\*|\\/)", P = "(?:\\(|\\)|\\t| )", F = "(?:" + P + "|" + l + "|" + I + "){3,}", Y = "(?:calc\\((?:" + F + ")\\))", X = "((?:-?" + D + ")|(?:inherit|auto)|" + Y + ")", te = "((?:margin|padding|border-width)\\s*:\\s*)", ne = "((?:-color|border-style)\\s*:\\s*)", N = "(#?" + v + "+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))", w = "(?:" + C + "|" + m + "|" + $ + ")*?", z = "(?![a-zA-Z])", q = "(?!(" + v + `|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|"[^"]*"|` + f + ")*?{)", O = "(?!" + w + E + "\\))", K = "(?=" + w + E + "\\))", A = "(\\s*(?:!important\\s*)?[;}])", R = /`TMP`/g, L = /`TMPLTR`/g, G = /`TMPRTL`/g, ee = new RegExp(x, "gi"), ce = new RegExp("(" + j + q + "[^;}]+;?)", "gi"), H = new RegExp("(" + j + S + "})", "gi"), Re = new RegExp("(" + h + ")ltr", "gi"), Ne = new RegExp("(" + h + ")rtl", "gi"), nt = new RegExp(k + "(left)" + z + O + q, "gi"), kt = new RegExp(k + "(right)" + z + O + q, "gi"), yt = new RegExp(k + "(left)" + K, "gi"), bt = new RegExp(k + "(right)" + K, "gi"), De = /(:dir\( *)ltr( *\))/g, ct = /(:dir\( *)rtl( *\))/g, Xe = new RegExp(k + "(ltr)" + K, "gi"), Je = new RegExp(k + "(rtl)" + K, "gi"), Wt = new RegExp(k + "([ns]?)e-resize", "gi"), Rt = new RegExp(k + "([ns]?)w-resize", "gi"), $t = new RegExp(te + X + "(\\s+)" + X + "(\\s+)" + X + "(\\s+)" + X + A, "gi"), jt = new RegExp(ne + N + "(\\s+)" + N + "(\\s+)" + N + "(\\s+)" + N + A, "gi"), _t = new RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)(" + D + ")", "gi"), Pt = new RegExp("(background-position-x\\s*:\\s*)(-?" + d + "%)", "gi"), Ot = new RegExp("(border-radius\\s*:\\s*)" + T + "(?:(?:\\s+" + T + ")(?:\\s+" + T + ")?(?:\\s+" + T + ")?)?(?:(?:(?:\\s*\\/\\s*)" + T + ")(?:\\s+" + T + ")?(?:\\s+" + T + ")?(?:\\s+" + T + ")?)?" + A, "gi"), ve = new RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)" + T, "gi"), xe = new RegExp("(text-shadow\\s*:\\s*)" + T + "(\\s*)" + N, "gi"), qe = new RegExp("(text-shadow\\s*:\\s*)" + N + "(\\s*)" + T, "gi"), ze = new RegExp("(text-shadow\\s*:\\s*)" + T, "gi"), ie = new RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)" + T + "(\\s*\\))", "gi"), wr = new RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)" + T + "((?:\\s*,\\s*" + T + "){0,2}\\s*\\))", "gi");
|
|
10039
10039
|
function Qr(re, U, Z) {
|
|
10040
10040
|
var J, Be;
|
|
10041
10041
|
return U.split("(").length > U.split(")").length ? re : (Z.slice(-1) === "%" && (J = Z.indexOf("."), J !== -1 ? (Be = Z.length - J - 2, Z = 100 - parseFloat(Z), Z = Z.toFixed(Be) + "%") : Z = 100 - parseFloat(Z) + "%"), U + Z);
|
|
@@ -10165,11 +10165,11 @@ function qh({
|
|
|
10165
10165
|
clientInterfacesValue: p,
|
|
10166
10166
|
snippetValue: f,
|
|
10167
10167
|
wordValue: m,
|
|
10168
|
-
productValue:
|
|
10168
|
+
productValue: g,
|
|
10169
10169
|
betaValue: d
|
|
10170
10170
|
}) {
|
|
10171
10171
|
var T, l;
|
|
10172
|
-
const [
|
|
10172
|
+
const [y, h] = Q([]), C = { messages: y, setMessages: h }, { enqueueSnackbar: E } = Vc(), [k, S] = Q(""), [j, x] = Q(null), [$, _] = Q({
|
|
10173
10173
|
palette: {
|
|
10174
10174
|
primary: {
|
|
10175
10175
|
main: "#666"
|
|
@@ -10219,8 +10219,8 @@ function qh({
|
|
|
10219
10219
|
}
|
|
10220
10220
|
});
|
|
10221
10221
|
};
|
|
10222
|
-
|
|
10223
|
-
}, [
|
|
10222
|
+
y.length > 0 && (y.forEach((P) => I(P)), h([]));
|
|
10223
|
+
}, [y, E]), ae(() => {
|
|
10224
10224
|
var F;
|
|
10225
10225
|
const I = ((F = i == null ? void 0 : i.typography) == null ? void 0 : F.direction) === "rtl" ? "rtl" : "ltr", P = fs(
|
|
10226
10226
|
{
|
|
@@ -10295,7 +10295,7 @@ function qh({
|
|
|
10295
10295
|
vh.Provider,
|
|
10296
10296
|
{
|
|
10297
10297
|
value: a,
|
|
10298
|
-
children: /* @__PURE__ */ c.jsx(wh.Provider, { value: n, children: /* @__PURE__ */ c.jsx(Ch.Provider, { value: C, children: /* @__PURE__ */ c.jsx(Hr.Provider, { value: r, children: /* @__PURE__ */ c.jsx(vs.Provider, { value:
|
|
10298
|
+
children: /* @__PURE__ */ c.jsx(wh.Provider, { value: n, children: /* @__PURE__ */ c.jsx(Ch.Provider, { value: C, children: /* @__PURE__ */ c.jsx(Hr.Provider, { value: r, children: /* @__PURE__ */ c.jsx(vs.Provider, { value: g, children: /* @__PURE__ */ c.jsx(Jt.Provider, { value: t, children: /* @__PURE__ */ c.jsx(
|
|
10299
10299
|
se,
|
|
10300
10300
|
{
|
|
10301
10301
|
sx: {
|
|
@@ -10360,10 +10360,10 @@ function Jh({ children: e }) {
|
|
|
10360
10360
|
n.current = U, r(U);
|
|
10361
10361
|
}, [s, i] = Q(!1), a = Ie(s), u = (U) => {
|
|
10362
10362
|
a.current = U, i(U);
|
|
10363
|
-
}, [p, f] = Q(!1), m = Ie(p),
|
|
10363
|
+
}, [p, f] = Q(!1), m = Ie(p), g = (U) => {
|
|
10364
10364
|
m.current = U, f(U);
|
|
10365
|
-
}, [d,
|
|
10366
|
-
h.current = U,
|
|
10365
|
+
}, [d, y] = Q({}), h = Ie(d), C = (U) => {
|
|
10366
|
+
h.current = U, y(U);
|
|
10367
10367
|
}, [E, k] = Q({
|
|
10368
10368
|
bookCode: "TIT",
|
|
10369
10369
|
chapterNum: 1,
|
|
@@ -10397,7 +10397,7 @@ function Jh({ children: e }) {
|
|
|
10397
10397
|
await _e("/api/client-interfaces").then((U) => U.json).then((U) => K(U)).catch((U) => console.error("Error :", U));
|
|
10398
10398
|
}, De = async () => {
|
|
10399
10399
|
const U = await _e("/api/i18n/flat", a.current);
|
|
10400
|
-
U.ok ? v(U.json) : St(`Could not load i18n: ${U.error}`, {
|
|
10400
|
+
U.ok ? v(U.json) : St(`Could not load i18n: ${U.error.reason}`, {
|
|
10401
10401
|
variant: "error",
|
|
10402
10402
|
anchorOrigin: { vertical: "bottom", horizontal: "left" },
|
|
10403
10403
|
persist: !0
|
|
@@ -10407,15 +10407,18 @@ function Jh({ children: e }) {
|
|
|
10407
10407
|
"/api/settings/typography",
|
|
10408
10408
|
a.current
|
|
10409
10409
|
);
|
|
10410
|
-
U.ok ? l(U.json) : St(
|
|
10411
|
-
|
|
10412
|
-
|
|
10413
|
-
|
|
10414
|
-
|
|
10410
|
+
U.ok ? l(U.json) : St(
|
|
10411
|
+
`Could not load typography: ${U.error.reason}`,
|
|
10412
|
+
{
|
|
10413
|
+
variant: "error",
|
|
10414
|
+
anchorOrigin: { vertical: "bottom", horizontal: "left" },
|
|
10415
|
+
persist: !0
|
|
10416
|
+
}
|
|
10417
|
+
);
|
|
10415
10418
|
}, Xe = async () => {
|
|
10416
10419
|
const U = await _e("/api/version", a.current);
|
|
10417
10420
|
U.ok ? yt(U.json) : St(
|
|
10418
|
-
`Could not load version for product: ${U.error}`,
|
|
10421
|
+
`Could not load version for product: ${U.error.reason}`,
|
|
10419
10422
|
{
|
|
10420
10423
|
variant: "error",
|
|
10421
10424
|
anchorOrigin: { vertical: "bottom", horizontal: "left" },
|
|
@@ -10431,11 +10434,14 @@ function Jh({ children: e }) {
|
|
|
10431
10434
|
const Z = U.json.snippet, J = U.json.word;
|
|
10432
10435
|
Z !== L.current && G(Z), JSON.stringify(J) !== JSON.stringify(H.current) && Re(J);
|
|
10433
10436
|
} else
|
|
10434
|
-
St(
|
|
10435
|
-
|
|
10436
|
-
|
|
10437
|
-
|
|
10438
|
-
|
|
10437
|
+
St(
|
|
10438
|
+
`Could not load alignment: ${U.error.reason}`,
|
|
10439
|
+
{
|
|
10440
|
+
variant: "error",
|
|
10441
|
+
anchorOrigin: { vertical: "bottom", horizontal: "left" },
|
|
10442
|
+
persist: !0
|
|
10443
|
+
}
|
|
10444
|
+
);
|
|
10439
10445
|
};
|
|
10440
10446
|
ae(() => {
|
|
10441
10447
|
De().then(), Je().then(), ct().then(), w().then(), bt().then(), Xe().then();
|
|
@@ -10453,7 +10459,7 @@ function Jh({ children: e }) {
|
|
|
10453
10459
|
verseNum: J.verse
|
|
10454
10460
|
});
|
|
10455
10461
|
} else
|
|
10456
|
-
St(`Could not load bcv: ${Z.error}`, {
|
|
10462
|
+
St(`Could not load bcv: ${Z.error.reason}`, {
|
|
10457
10463
|
variant: "error",
|
|
10458
10464
|
anchorOrigin: { vertical: "bottom", horizontal: "left" },
|
|
10459
10465
|
persist: !0
|
|
@@ -10468,7 +10474,7 @@ function Jh({ children: e }) {
|
|
|
10468
10474
|
const Be = Z[3] === "enabled";
|
|
10469
10475
|
Be !== a.current && u(Be);
|
|
10470
10476
|
const It = Z[5] === "enabled";
|
|
10471
|
-
It !== m.current &&
|
|
10477
|
+
It !== m.current && g(It);
|
|
10472
10478
|
}
|
|
10473
10479
|
}, Rt = (U) => {
|
|
10474
10480
|
const Z = U.data.split("--");
|
|
@@ -10544,7 +10550,7 @@ function Jh({ children: e }) {
|
|
|
10544
10550
|
});
|
|
10545
10551
|
})(), () => U.abort();
|
|
10546
10552
|
}, []);
|
|
10547
|
-
const ve = { enableNet: t, setEnableNet: o, enabledRef: n }, xe = { debug: s, setDebug: u, debugRef: a }, qe = { beta: p, setBeta:
|
|
10553
|
+
const ve = { enableNet: t, setEnableNet: o, enabledRef: n }, xe = { debug: s, setDebug: u, debugRef: a }, qe = { beta: p, setBeta: g, betaRef: m }, ze = { systemBcv: E, setSystemBcv: j, bcvRef: S }, ie = { auth: d, setAuth: C, authRef: h }, wr = { i18n: x, setI18n: v, i18nRef: _ }, Qr = { typography: V, setTypography: l, typographyRef: T }, Cr = {
|
|
10548
10554
|
currentProject: I,
|
|
10549
10555
|
setCurrentProject: Y,
|
|
10550
10556
|
currentProjectRef: F
|
|
@@ -10699,7 +10705,7 @@ function mm({
|
|
|
10699
10705
|
setIsValid: r,
|
|
10700
10706
|
open: n = !0
|
|
10701
10707
|
}) {
|
|
10702
|
-
const [o, s] = Q("BCP47List"), [i, a] = Q(!1), { i18nRef: u } = fe(Le), [p, f] = Q(!0), [m,
|
|
10708
|
+
const [o, s] = Q("BCP47List"), [i, a] = Q(!1), { i18nRef: u } = fe(Le), [p, f] = Q(!0), [m, g] = Q(!1), [d, y] = Q(""), [h, C] = Q([]), [E, k] = Q({}), [S, j] = Q(!0), x = /^x-[a-z]{3}$/;
|
|
10703
10709
|
ae(() => {
|
|
10704
10710
|
n && Sn({
|
|
10705
10711
|
url: "/api/git/list-local-repos",
|
|
@@ -10885,7 +10891,7 @@ function mm({
|
|
|
10885
10891
|
{
|
|
10886
10892
|
color: "secondary",
|
|
10887
10893
|
checked: m,
|
|
10888
|
-
onChange: () =>
|
|
10894
|
+
onChange: () => g(!m)
|
|
10889
10895
|
}
|
|
10890
10896
|
),
|
|
10891
10897
|
label: W(
|
|
@@ -10900,7 +10906,7 @@ function mm({
|
|
|
10900
10906
|
Oi,
|
|
10901
10907
|
{
|
|
10902
10908
|
data: _,
|
|
10903
|
-
setValue:
|
|
10909
|
+
setValue: y,
|
|
10904
10910
|
getOptionLabel: (v) => `${v}`,
|
|
10905
10911
|
titleLabel: `${W("library:pankosmia-rcl:document", u.current)} *`
|
|
10906
10912
|
}
|
|
@@ -11145,11 +11151,11 @@ function ym({
|
|
|
11145
11151
|
addVerses: f = !0
|
|
11146
11152
|
}) {
|
|
11147
11153
|
var k, S, j, x, $, _, v, V;
|
|
11148
|
-
const { i18nRef: m } = fe(Le), [
|
|
11154
|
+
const { i18nRef: m } = fe(Le), [g, d] = Q(!0), [y, h] = Q({});
|
|
11149
11155
|
ae(() => {
|
|
11150
11156
|
_e("/api/client-config").then((D) => D.json).then((D) => h(D)).catch((D) => console.error("Error :", D));
|
|
11151
11157
|
}, []);
|
|
11152
|
-
const C = ((x = (j = (S = (k =
|
|
11158
|
+
const C = ((x = (j = (S = (k = y == null ? void 0 : y["core-contenthandler_text_translation"]) == null ? void 0 : k.find((D) => D.id === "config")) == null ? void 0 : S.fields) == null ? void 0 : j.find((D) => D.id === "protestantBooksOnlyCheckbox")) == null ? void 0 : x.value) !== !1, E = ((V = (v = (_ = ($ = y == null ? void 0 : y["core-contenthandler_text_translation"]) == null ? void 0 : $.find((D) => D.id === "config")) == null ? void 0 : _.fields) == null ? void 0 : v.find(
|
|
11153
11159
|
(D) => D.id === "protestantBooksOnlyDefaultChecked"
|
|
11154
11160
|
)) == null ? void 0 : V.value) !== !1;
|
|
11155
11161
|
return ae(() => {
|
|
@@ -11197,7 +11203,7 @@ function ym({
|
|
|
11197
11203
|
);
|
|
11198
11204
|
},
|
|
11199
11205
|
sx: In.select,
|
|
11200
|
-
children: (
|
|
11206
|
+
children: (g ? i.slice(0, 66) : i).map(
|
|
11201
11207
|
(D, T) => /* @__PURE__ */ c.jsx(
|
|
11202
11208
|
Gi,
|
|
11203
11209
|
{
|
|
@@ -11250,8 +11256,8 @@ function ym({
|
|
|
11250
11256
|
lr,
|
|
11251
11257
|
{
|
|
11252
11258
|
color: "secondary",
|
|
11253
|
-
checked:
|
|
11254
|
-
onChange: () => d(!
|
|
11259
|
+
checked: g,
|
|
11260
|
+
onChange: () => d(!g)
|
|
11255
11261
|
}
|
|
11256
11262
|
),
|
|
11257
11263
|
label: W(
|
|
@@ -11295,9 +11301,9 @@ function bm({
|
|
|
11295
11301
|
secondaryButtonVariant: p,
|
|
11296
11302
|
secondaryActionKey: f,
|
|
11297
11303
|
primaryAction: m,
|
|
11298
|
-
secondaryAction:
|
|
11304
|
+
secondaryAction: g,
|
|
11299
11305
|
isLeftStepperButtonDisabled: d,
|
|
11300
|
-
CustomHeader:
|
|
11306
|
+
CustomHeader: y,
|
|
11301
11307
|
isInDialogue: h = !1
|
|
11302
11308
|
}) {
|
|
11303
11309
|
const C = Math.min(
|
|
@@ -11334,7 +11340,7 @@ function bm({
|
|
|
11334
11340
|
return V(I) && (P.completed = !1), /* @__PURE__ */ c.jsx(Ic, { ...P, children: /* @__PURE__ */ c.jsx(Ac, { ...F, children: l }) }, l);
|
|
11335
11341
|
}) }),
|
|
11336
11342
|
/* @__PURE__ */ c.jsxs(se, { ref: $, children: [
|
|
11337
|
-
|
|
11343
|
+
y && /* @__PURE__ */ c.jsx(y, {}),
|
|
11338
11344
|
i && /* @__PURE__ */ c.jsx(Yo, { variant: "subtitle2", sx: { padding: "16px 0px" }, children: W("library:pankosmia-rcl:required_field", x.current) })
|
|
11339
11345
|
] }),
|
|
11340
11346
|
/* @__PURE__ */ c.jsx(
|
|
@@ -11361,7 +11367,7 @@ function bm({
|
|
|
11361
11367
|
{
|
|
11362
11368
|
sx: { padding: 0 },
|
|
11363
11369
|
color: p || "inherit",
|
|
11364
|
-
onClick: E === 0 ? s :
|
|
11370
|
+
onClick: E === 0 ? s : g || T,
|
|
11365
11371
|
disabled: d && E === 0,
|
|
11366
11372
|
children: E === 0 ? `${W(`${f || "library:pankosmia-rcl:cancel"}`, x.current)}` : `${W("library:pankosmia-rcl:back_button", x.current)}`
|
|
11367
11373
|
}
|
|
@@ -11509,12 +11515,12 @@ function Cm({
|
|
|
11509
11515
|
);
|
|
11510
11516
|
}
|
|
11511
11517
|
function rm({ asset: e }) {
|
|
11512
|
-
const { i18nRef: t } = fe(Le), { enabledRef: r } = fe(Jt), [n, o] = Q(!1), [s, i] = Q("checking"), [a, u] = Q(null), [p, f] = Q(null), [m,
|
|
11518
|
+
const { i18nRef: t } = fe(Le), { enabledRef: r } = fe(Jt), [n, o] = Q(!1), [s, i] = Q("checking"), [a, u] = Q(null), [p, f] = Q(null), [m, g] = Q(!1);
|
|
11513
11519
|
ae(() => {
|
|
11514
11520
|
if (window.electronAPI)
|
|
11515
|
-
|
|
11521
|
+
g(!0);
|
|
11516
11522
|
else {
|
|
11517
|
-
|
|
11523
|
+
g(!1);
|
|
11518
11524
|
return;
|
|
11519
11525
|
}
|
|
11520
11526
|
let h = !1;
|
|
@@ -11585,7 +11591,7 @@ function rm({ asset: e }) {
|
|
|
11585
11591
|
console.error("Invalid asset", e);
|
|
11586
11592
|
return;
|
|
11587
11593
|
}
|
|
11588
|
-
},
|
|
11594
|
+
}, y = typeof a == "number";
|
|
11589
11595
|
return /* @__PURE__ */ c.jsx(c.Fragment, { children: /* @__PURE__ */ c.jsxs(Lt, { sx: { maxWidth: 200 }, children: [
|
|
11590
11596
|
/* @__PURE__ */ c.jsx(
|
|
11591
11597
|
qo,
|
|
@@ -11631,11 +11637,11 @@ function rm({ asset: e }) {
|
|
|
11631
11637
|
/* @__PURE__ */ c.jsx(
|
|
11632
11638
|
Mc,
|
|
11633
11639
|
{
|
|
11634
|
-
variant:
|
|
11635
|
-
value:
|
|
11640
|
+
variant: y ? "determinate" : "indeterminate",
|
|
11641
|
+
value: y ? a : void 0
|
|
11636
11642
|
}
|
|
11637
11643
|
),
|
|
11638
|
-
/* @__PURE__ */ c.jsx(Ee, { variant: "body2", color: "text.secondary", children:
|
|
11644
|
+
/* @__PURE__ */ c.jsx(Ee, { variant: "body2", color: "text.secondary", children: y ? `${Math.round(a)}% ${W("library:pankosmia-rcl:download_percent_complete", t.current)}` : W(
|
|
11639
11645
|
"library:pankosmia-rcl:download_downloading",
|
|
11640
11646
|
t.current
|
|
11641
11647
|
) })
|
|
@@ -11700,6 +11706,12 @@ function Em({
|
|
|
11700
11706
|
fullScreen: a,
|
|
11701
11707
|
open: t,
|
|
11702
11708
|
sx: { overflow: "hidden" },
|
|
11709
|
+
onKeyDown: (p) => {
|
|
11710
|
+
var m, g;
|
|
11711
|
+
if (p.key !== "Enter") return;
|
|
11712
|
+
const f = o == null ? void 0 : o[1];
|
|
11713
|
+
(m = f == null ? void 0 : f.props) != null && m.actionFn && !((g = f.props) != null && g.isDisabled) && (p.preventDefault(), f.props.actionFn());
|
|
11714
|
+
},
|
|
11703
11715
|
slotProps: {
|
|
11704
11716
|
sx: {
|
|
11705
11717
|
overflow: "hidden !important",
|
|
@@ -11807,6 +11819,12 @@ function Tm({
|
|
|
11807
11819
|
}
|
|
11808
11820
|
}
|
|
11809
11821
|
},
|
|
11822
|
+
onKeyDown: (p) => {
|
|
11823
|
+
var m, g;
|
|
11824
|
+
if (p.key !== "Enter") return;
|
|
11825
|
+
const f = o == null ? void 0 : o[1];
|
|
11826
|
+
(m = f == null ? void 0 : f.props) != null && m.actionFn && !((g = f.props) != null && g.isDisabled) && (p.preventDefault(), f.props.actionFn());
|
|
11827
|
+
},
|
|
11810
11828
|
maxWidth: "sm",
|
|
11811
11829
|
fullWidth: !1,
|
|
11812
11830
|
children: [
|