@js-smart/react-kit
Version:
1,625 lines • 134 kB
JavaScript
var Qr = Object.defineProperty;
var Jr = (e, t, r) => t in e ? Qr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
var Be = (e, t, r) => Jr(e, typeof t != "symbol" ? t + "" : t, r);
import { jsxs as Se, jsx as v, Fragment as Er } from "react/jsx-runtime";
import { Button as ye, Tooltip as Tr, IconButton as ge, Snackbar as Ze, Alert as Fe, Slide as xr, Box as wr, Typography as Xr, Link as Or, CircularProgress as Zr, Dialog as en, DialogTitle as tn, DialogContent as rn, DialogActions as nn, Icon as on } from "@mui/material";
import * as me from "react";
import { useState as Me, useEffect as $r } from "react";
import an from "@emotion/styled";
import { ThemeContext as sn } from "@emotion/react";
import { Link as _r } from "react-router-dom";
import { format as Ar, parseISO as cn } from "date-fns";
const jt = (e) => e, ln = () => {
let e = jt;
return {
configure(t) {
e = t;
},
generate(t) {
return e(t);
},
reset() {
e = jt;
}
};
}, un = ln();
function Ce(e, ...t) {
const r = new URL(`https://mui.com/production-error/?code=${e}`);
return t.forEach((n) => r.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${r} for the full message.`;
}
function $e(e) {
if (typeof e != "string")
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Ce(7));
return e.charAt(0).toUpperCase() + e.slice(1);
}
function fn(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
var Ge = { exports: {} }, Ke = { exports: {} }, j = {};
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var zt;
function dn() {
if (zt) return j;
zt = 1;
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, i = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, C = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, s = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, Q = e ? Symbol.for("react.scope") : 60119;
function O(g) {
if (typeof g == "object" && g !== null) {
var V = g.$$typeof;
switch (V) {
case t:
switch (g = g.type, g) {
case u:
case f:
case n:
case i:
case o:
case h:
return g;
default:
switch (g = g && g.$$typeof, g) {
case l:
case m:
case b:
case C:
case c:
return g;
default:
return V;
}
}
case r:
return V;
}
}
}
function w(g) {
return O(g) === f;
}
return j.AsyncMode = u, j.ConcurrentMode = f, j.ContextConsumer = l, j.ContextProvider = c, j.Element = t, j.ForwardRef = m, j.Fragment = n, j.Lazy = b, j.Memo = C, j.Portal = r, j.Profiler = i, j.StrictMode = o, j.Suspense = h, j.isAsyncMode = function(g) {
return w(g) || O(g) === u;
}, j.isConcurrentMode = w, j.isContextConsumer = function(g) {
return O(g) === l;
}, j.isContextProvider = function(g) {
return O(g) === c;
}, j.isElement = function(g) {
return typeof g == "object" && g !== null && g.$$typeof === t;
}, j.isForwardRef = function(g) {
return O(g) === m;
}, j.isFragment = function(g) {
return O(g) === n;
}, j.isLazy = function(g) {
return O(g) === b;
}, j.isMemo = function(g) {
return O(g) === C;
}, j.isPortal = function(g) {
return O(g) === r;
}, j.isProfiler = function(g) {
return O(g) === i;
}, j.isStrictMode = function(g) {
return O(g) === o;
}, j.isSuspense = function(g) {
return O(g) === h;
}, j.isValidElementType = function(g) {
return typeof g == "string" || typeof g == "function" || g === n || g === f || g === i || g === o || g === h || g === p || typeof g == "object" && g !== null && (g.$$typeof === b || g.$$typeof === C || g.$$typeof === c || g.$$typeof === l || g.$$typeof === m || g.$$typeof === T || g.$$typeof === $ || g.$$typeof === Q || g.$$typeof === s);
}, j.typeOf = O, j;
}
var z = {};
/** @license React v16.13.1
* react-is.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Ft;
function mn() {
return Ft || (Ft = 1, process.env.NODE_ENV !== "production" && function() {
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, i = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, C = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, s = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, Q = e ? Symbol.for("react.scope") : 60119;
function O(S) {
return typeof S == "string" || typeof S == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
S === n || S === f || S === i || S === o || S === h || S === p || typeof S == "object" && S !== null && (S.$$typeof === b || S.$$typeof === C || S.$$typeof === c || S.$$typeof === l || S.$$typeof === m || S.$$typeof === T || S.$$typeof === $ || S.$$typeof === Q || S.$$typeof === s);
}
function w(S) {
if (typeof S == "object" && S !== null) {
var fe = S.$$typeof;
switch (fe) {
case t:
var He = S.type;
switch (He) {
case u:
case f:
case n:
case i:
case o:
case h:
return He;
default:
var Vt = He && He.$$typeof;
switch (Vt) {
case l:
case m:
case b:
case C:
case c:
return Vt;
default:
return fe;
}
}
case r:
return fe;
}
}
}
var g = u, V = f, G = l, re = c, K = t, a = m, x = n, R = b, M = C, ee = r, te = i, ne = o, ie = h, xe = !1;
function _e(S) {
return xe || (xe = !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.")), y(S) || w(S) === u;
}
function y(S) {
return w(S) === f;
}
function E(S) {
return w(S) === l;
}
function P(S) {
return w(S) === c;
}
function k(S) {
return typeof S == "object" && S !== null && S.$$typeof === t;
}
function _(S) {
return w(S) === m;
}
function N(S) {
return w(S) === n;
}
function A(S) {
return w(S) === b;
}
function I(S) {
return w(S) === C;
}
function D(S) {
return w(S) === r;
}
function F(S) {
return w(S) === i;
}
function B(S) {
return w(S) === o;
}
function oe(S) {
return w(S) === h;
}
z.AsyncMode = g, z.ConcurrentMode = V, z.ContextConsumer = G, z.ContextProvider = re, z.Element = K, z.ForwardRef = a, z.Fragment = x, z.Lazy = R, z.Memo = M, z.Portal = ee, z.Profiler = te, z.StrictMode = ne, z.Suspense = ie, z.isAsyncMode = _e, z.isConcurrentMode = y, z.isContextConsumer = E, z.isContextProvider = P, z.isElement = k, z.isForwardRef = _, z.isFragment = N, z.isLazy = A, z.isMemo = I, z.isPortal = D, z.isProfiler = F, z.isStrictMode = B, z.isSuspense = oe, z.isValidElementType = O, z.typeOf = w;
}()), z;
}
var Ut;
function Rr() {
return Ut || (Ut = 1, process.env.NODE_ENV === "production" ? Ke.exports = dn() : Ke.exports = mn()), Ke.exports;
}
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
var ht, Yt;
function pn() {
if (Yt) return ht;
Yt = 1;
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
function n(i) {
if (i == null)
throw new TypeError("Object.assign cannot be called with null or undefined");
return Object(i);
}
function o() {
try {
if (!Object.assign)
return !1;
var i = new String("abc");
if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
return !1;
for (var c = {}, l = 0; l < 10; l++)
c["_" + String.fromCharCode(l)] = l;
var u = Object.getOwnPropertyNames(c).map(function(m) {
return c[m];
});
if (u.join("") !== "0123456789")
return !1;
var f = {};
return "abcdefghijklmnopqrst".split("").forEach(function(m) {
f[m] = m;
}), Object.keys(Object.assign({}, f)).join("") === "abcdefghijklmnopqrst";
} catch {
return !1;
}
}
return ht = o() ? Object.assign : function(i, c) {
for (var l, u = n(i), f, m = 1; m < arguments.length; m++) {
l = Object(arguments[m]);
for (var h in l)
t.call(l, h) && (u[h] = l[h]);
if (e) {
f = e(l);
for (var p = 0; p < f.length; p++)
r.call(l, f[p]) && (u[f[p]] = l[f[p]]);
}
}
return u;
}, ht;
}
var gt, Wt;
function _t() {
if (Wt) return gt;
Wt = 1;
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
return gt = e, gt;
}
var yt, Ht;
function kr() {
return Ht || (Ht = 1, yt = Function.call.bind(Object.prototype.hasOwnProperty)), yt;
}
var bt, Gt;
function hn() {
if (Gt) return bt;
Gt = 1;
var e = function() {
};
if (process.env.NODE_ENV !== "production") {
var t = /* @__PURE__ */ _t(), r = {}, n = /* @__PURE__ */ kr();
e = function(i) {
var c = "Warning: " + i;
typeof console < "u" && console.error(c);
try {
throw new Error(c);
} catch {
}
};
}
function o(i, c, l, u, f) {
if (process.env.NODE_ENV !== "production") {
for (var m in i)
if (n(i, m)) {
var h;
try {
if (typeof i[m] != "function") {
var p = Error(
(u || "React class") + ": " + l + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
);
throw p.name = "Invariant Violation", p;
}
h = i[m](c, m, u, l, null, t);
} catch (b) {
h = b;
}
if (h && !(h instanceof Error) && e(
(u || "React class") + ": type specification of " + l + " `" + m + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof h + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
), h instanceof Error && !(h.message in r)) {
r[h.message] = !0;
var C = f ? f() : "";
e(
"Failed " + l + " type: " + h.message + (C ?? "")
);
}
}
}
}
return o.resetWarningCache = function() {
process.env.NODE_ENV !== "production" && (r = {});
}, bt = o, bt;
}
var vt, Kt;
function gn() {
if (Kt) return vt;
Kt = 1;
var e = Rr(), t = pn(), r = /* @__PURE__ */ _t(), n = /* @__PURE__ */ kr(), o = /* @__PURE__ */ hn(), i = function() {
};
process.env.NODE_ENV !== "production" && (i = function(l) {
var u = "Warning: " + l;
typeof console < "u" && console.error(u);
try {
throw new Error(u);
} catch {
}
});
function c() {
return null;
}
return vt = function(l, u) {
var f = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
function h(y) {
var E = y && (f && y[f] || y[m]);
if (typeof E == "function")
return E;
}
var p = "<<anonymous>>", C = {
array: $("array"),
bigint: $("bigint"),
bool: $("boolean"),
func: $("function"),
number: $("number"),
object: $("object"),
string: $("string"),
symbol: $("symbol"),
any: Q(),
arrayOf: O,
element: w(),
elementType: g(),
instanceOf: V,
node: a(),
objectOf: re,
oneOf: G,
oneOfType: K,
shape: R,
exact: M
};
function b(y, E) {
return y === E ? y !== 0 || 1 / y === 1 / E : y !== y && E !== E;
}
function s(y, E) {
this.message = y, this.data = E && typeof E == "object" ? E : {}, this.stack = "";
}
s.prototype = Error.prototype;
function T(y) {
if (process.env.NODE_ENV !== "production")
var E = {}, P = 0;
function k(N, A, I, D, F, B, oe) {
if (D = D || p, B = B || I, oe !== r) {
if (u) {
var S = new Error(
"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"
);
throw S.name = "Invariant Violation", S;
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
var fe = D + ":" + I;
!E[fe] && // Avoid spamming the console because they are often not actionable except for lib authors
P < 3 && (i(
"You are manually calling a React.PropTypes validation function for the `" + B + "` prop on `" + D + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
), E[fe] = !0, P++);
}
}
return A[I] == null ? N ? A[I] === null ? new s("The " + F + " `" + B + "` is marked as required " + ("in `" + D + "`, but its value is `null`.")) : new s("The " + F + " `" + B + "` is marked as required in " + ("`" + D + "`, but its value is `undefined`.")) : null : y(A, I, D, F, B);
}
var _ = k.bind(null, !1);
return _.isRequired = k.bind(null, !0), _;
}
function $(y) {
function E(P, k, _, N, A, I) {
var D = P[k], F = ne(D);
if (F !== y) {
var B = ie(D);
return new s(
"Invalid " + N + " `" + A + "` of type " + ("`" + B + "` supplied to `" + _ + "`, expected ") + ("`" + y + "`."),
{ expectedType: y }
);
}
return null;
}
return T(E);
}
function Q() {
return T(c);
}
function O(y) {
function E(P, k, _, N, A) {
if (typeof y != "function")
return new s("Property `" + A + "` of component `" + _ + "` has invalid PropType notation inside arrayOf.");
var I = P[k];
if (!Array.isArray(I)) {
var D = ne(I);
return new s("Invalid " + N + " `" + A + "` of type " + ("`" + D + "` supplied to `" + _ + "`, expected an array."));
}
for (var F = 0; F < I.length; F++) {
var B = y(I, F, _, N, A + "[" + F + "]", r);
if (B instanceof Error)
return B;
}
return null;
}
return T(E);
}
function w() {
function y(E, P, k, _, N) {
var A = E[P];
if (!l(A)) {
var I = ne(A);
return new s("Invalid " + _ + " `" + N + "` of type " + ("`" + I + "` supplied to `" + k + "`, expected a single ReactElement."));
}
return null;
}
return T(y);
}
function g() {
function y(E, P, k, _, N) {
var A = E[P];
if (!e.isValidElementType(A)) {
var I = ne(A);
return new s("Invalid " + _ + " `" + N + "` of type " + ("`" + I + "` supplied to `" + k + "`, expected a single ReactElement type."));
}
return null;
}
return T(y);
}
function V(y) {
function E(P, k, _, N, A) {
if (!(P[k] instanceof y)) {
var I = y.name || p, D = _e(P[k]);
return new s("Invalid " + N + " `" + A + "` of type " + ("`" + D + "` supplied to `" + _ + "`, expected ") + ("instance of `" + I + "`."));
}
return null;
}
return T(E);
}
function G(y) {
if (!Array.isArray(y))
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
) : i("Invalid argument supplied to oneOf, expected an array.")), c;
function E(P, k, _, N, A) {
for (var I = P[k], D = 0; D < y.length; D++)
if (b(I, y[D]))
return null;
var F = JSON.stringify(y, function(oe, S) {
var fe = ie(S);
return fe === "symbol" ? String(S) : S;
});
return new s("Invalid " + N + " `" + A + "` of value `" + String(I) + "` " + ("supplied to `" + _ + "`, expected one of " + F + "."));
}
return T(E);
}
function re(y) {
function E(P, k, _, N, A) {
if (typeof y != "function")
return new s("Property `" + A + "` of component `" + _ + "` has invalid PropType notation inside objectOf.");
var I = P[k], D = ne(I);
if (D !== "object")
return new s("Invalid " + N + " `" + A + "` of type " + ("`" + D + "` supplied to `" + _ + "`, expected an object."));
for (var F in I)
if (n(I, F)) {
var B = y(I, F, _, N, A + "." + F, r);
if (B instanceof Error)
return B;
}
return null;
}
return T(E);
}
function K(y) {
if (!Array.isArray(y))
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), c;
for (var E = 0; E < y.length; E++) {
var P = y[E];
if (typeof P != "function")
return i(
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + xe(P) + " at index " + E + "."
), c;
}
function k(_, N, A, I, D) {
for (var F = [], B = 0; B < y.length; B++) {
var oe = y[B], S = oe(_, N, A, I, D, r);
if (S == null)
return null;
S.data && n(S.data, "expectedType") && F.push(S.data.expectedType);
}
var fe = F.length > 0 ? ", expected one of type [" + F.join(", ") + "]" : "";
return new s("Invalid " + I + " `" + D + "` supplied to " + ("`" + A + "`" + fe + "."));
}
return T(k);
}
function a() {
function y(E, P, k, _, N) {
return ee(E[P]) ? null : new s("Invalid " + _ + " `" + N + "` supplied to " + ("`" + k + "`, expected a ReactNode."));
}
return T(y);
}
function x(y, E, P, k, _) {
return new s(
(y || "React class") + ": " + E + " type `" + P + "." + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + _ + "`."
);
}
function R(y) {
function E(P, k, _, N, A) {
var I = P[k], D = ne(I);
if (D !== "object")
return new s("Invalid " + N + " `" + A + "` of type `" + D + "` " + ("supplied to `" + _ + "`, expected `object`."));
for (var F in y) {
var B = y[F];
if (typeof B != "function")
return x(_, N, A, F, ie(B));
var oe = B(I, F, _, N, A + "." + F, r);
if (oe)
return oe;
}
return null;
}
return T(E);
}
function M(y) {
function E(P, k, _, N, A) {
var I = P[k], D = ne(I);
if (D !== "object")
return new s("Invalid " + N + " `" + A + "` of type `" + D + "` " + ("supplied to `" + _ + "`, expected `object`."));
var F = t({}, P[k], y);
for (var B in F) {
var oe = y[B];
if (n(y, B) && typeof oe != "function")
return x(_, N, A, B, ie(oe));
if (!oe)
return new s(
"Invalid " + N + " `" + A + "` key `" + B + "` supplied to `" + _ + "`.\nBad object: " + JSON.stringify(P[k], null, " ") + `
Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
);
var S = oe(I, B, _, N, A + "." + B, r);
if (S)
return S;
}
return null;
}
return T(E);
}
function ee(y) {
switch (typeof y) {
case "number":
case "string":
case "undefined":
return !0;
case "boolean":
return !y;
case "object":
if (Array.isArray(y))
return y.every(ee);
if (y === null || l(y))
return !0;
var E = h(y);
if (E) {
var P = E.call(y), k;
if (E !== y.entries) {
for (; !(k = P.next()).done; )
if (!ee(k.value))
return !1;
} else
for (; !(k = P.next()).done; ) {
var _ = k.value;
if (_ && !ee(_[1]))
return !1;
}
} else
return !1;
return !0;
default:
return !1;
}
}
function te(y, E) {
return y === "symbol" ? !0 : E ? E["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && E instanceof Symbol : !1;
}
function ne(y) {
var E = typeof y;
return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" : te(E, y) ? "symbol" : E;
}
function ie(y) {
if (typeof y > "u" || y === null)
return "" + y;
var E = ne(y);
if (E === "object") {
if (y instanceof Date)
return "date";
if (y instanceof RegExp)
return "regexp";
}
return E;
}
function xe(y) {
var E = ie(y);
switch (E) {
case "array":
case "object":
return "an " + E;
case "boolean":
case "date":
case "regexp":
return "a " + E;
default:
return E;
}
}
function _e(y) {
return !y.constructor || !y.constructor.name ? p : y.constructor.name;
}
return C.checkPropTypes = o, C.resetWarningCache = o.resetWarningCache, C.PropTypes = C, C;
}, vt;
}
var St, qt;
function yn() {
if (qt) return St;
qt = 1;
var e = /* @__PURE__ */ _t();
function t() {
}
function r() {
}
return r.resetWarningCache = t, St = function() {
function n(c, l, u, f, m, h) {
if (h !== e) {
var p = new Error(
"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"
);
throw p.name = "Invariant Violation", p;
}
}
n.isRequired = n;
function o() {
return n;
}
var i = {
array: n,
bigint: n,
bool: n,
func: n,
number: n,
object: n,
string: n,
symbol: n,
any: n,
arrayOf: o,
element: n,
elementType: n,
instanceOf: o,
node: n,
objectOf: o,
oneOf: o,
oneOfType: o,
shape: o,
exact: o,
checkPropTypes: r,
resetWarningCache: t
};
return i.PropTypes = i, i;
}, St;
}
var Qt;
function bn() {
if (Qt) return Ge.exports;
if (Qt = 1, process.env.NODE_ENV !== "production") {
var e = Rr(), t = !0;
Ge.exports = /* @__PURE__ */ gn()(e.isElement, t);
} else
Ge.exports = /* @__PURE__ */ yn()();
return Ge.exports;
}
var vn = /* @__PURE__ */ bn();
const L = /* @__PURE__ */ fn(vn);
function Ir(e) {
var t, r, n = "";
if (typeof e == "string" || typeof e == "number") n += e;
else if (typeof e == "object") if (Array.isArray(e)) {
var o = e.length;
for (t = 0; t < o; t++) e[t] && (r = Ir(e[t])) && (n && (n += " "), n += r);
} else for (r in e) e[r] && (n && (n += " "), n += r);
return n;
}
function Pr() {
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = Ir(e)) && (n && (n += " "), n += t);
return n;
}
function Sn(e, t, r = void 0) {
const n = {};
for (const o in e) {
const i = e[o];
let c = "", l = !0;
for (let u = 0; u < i.length; u += 1) {
const f = i[u];
f && (c += (l === !0 ? "" : " ") + t(f), l = !1, r && r[f] && (c += " " + r[f]));
}
n[o] = c;
}
return n;
}
var qe = { exports: {} }, U = {};
/**
* @license React
* react-is.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Jt;
function Cn() {
if (Jt) return U;
Jt = 1;
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"), i = Symbol.for("react.consumer"), c = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition"), C = Symbol.for("react.client.reference");
function b(s) {
if (typeof s == "object" && s !== null) {
var T = s.$$typeof;
switch (T) {
case e:
switch (s = s.type, s) {
case r:
case o:
case n:
case u:
case f:
case p:
return s;
default:
switch (s = s && s.$$typeof, s) {
case c:
case l:
case h:
case m:
return s;
case i:
return s;
default:
return T;
}
}
case t:
return T;
}
}
}
return U.ContextConsumer = i, U.ContextProvider = c, U.Element = e, U.ForwardRef = l, U.Fragment = r, U.Lazy = h, U.Memo = m, U.Portal = t, U.Profiler = o, U.StrictMode = n, U.Suspense = u, U.SuspenseList = f, U.isContextConsumer = function(s) {
return b(s) === i;
}, U.isContextProvider = function(s) {
return b(s) === c;
}, U.isElement = function(s) {
return typeof s == "object" && s !== null && s.$$typeof === e;
}, U.isForwardRef = function(s) {
return b(s) === l;
}, U.isFragment = function(s) {
return b(s) === r;
}, U.isLazy = function(s) {
return b(s) === h;
}, U.isMemo = function(s) {
return b(s) === m;
}, U.isPortal = function(s) {
return b(s) === t;
}, U.isProfiler = function(s) {
return b(s) === o;
}, U.isStrictMode = function(s) {
return b(s) === n;
}, U.isSuspense = function(s) {
return b(s) === u;
}, U.isSuspenseList = function(s) {
return b(s) === f;
}, U.isValidElementType = function(s) {
return typeof s == "string" || typeof s == "function" || s === r || s === o || s === n || s === u || s === f || typeof s == "object" && s !== null && (s.$$typeof === h || s.$$typeof === m || s.$$typeof === c || s.$$typeof === i || s.$$typeof === l || s.$$typeof === C || s.getModuleId !== void 0);
}, U.typeOf = b, U;
}
var Y = {};
/**
* @license React
* react-is.development.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Xt;
function En() {
return Xt || (Xt = 1, process.env.NODE_ENV !== "production" && function() {
function e(s) {
if (typeof s == "object" && s !== null) {
var T = s.$$typeof;
switch (T) {
case t:
switch (s = s.type, s) {
case n:
case i:
case o:
case f:
case m:
case C:
return s;
default:
switch (s = s && s.$$typeof, s) {
case l:
case u:
case p:
case h:
return s;
case c:
return s;
default:
return T;
}
}
case r:
return T;
}
}
}
var t = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), c = Symbol.for("react.consumer"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), C = Symbol.for("react.view_transition"), b = Symbol.for("react.client.reference");
Y.ContextConsumer = c, Y.ContextProvider = l, Y.Element = t, Y.ForwardRef = u, Y.Fragment = n, Y.Lazy = p, Y.Memo = h, Y.Portal = r, Y.Profiler = i, Y.StrictMode = o, Y.Suspense = f, Y.SuspenseList = m, Y.isContextConsumer = function(s) {
return e(s) === c;
}, Y.isContextProvider = function(s) {
return e(s) === l;
}, Y.isElement = function(s) {
return typeof s == "object" && s !== null && s.$$typeof === t;
}, Y.isForwardRef = function(s) {
return e(s) === u;
}, Y.isFragment = function(s) {
return e(s) === n;
}, Y.isLazy = function(s) {
return e(s) === p;
}, Y.isMemo = function(s) {
return e(s) === h;
}, Y.isPortal = function(s) {
return e(s) === r;
}, Y.isProfiler = function(s) {
return e(s) === i;
}, Y.isStrictMode = function(s) {
return e(s) === o;
}, Y.isSuspense = function(s) {
return e(s) === f;
}, Y.isSuspenseList = function(s) {
return e(s) === m;
}, Y.isValidElementType = function(s) {
return typeof s == "string" || typeof s == "function" || s === n || s === i || s === o || s === f || s === m || typeof s == "object" && s !== null && (s.$$typeof === p || s.$$typeof === h || s.$$typeof === l || s.$$typeof === c || s.$$typeof === u || s.$$typeof === b || s.getModuleId !== void 0);
}, Y.typeOf = e;
}()), Y;
}
var Zt;
function Tn() {
return Zt || (Zt = 1, process.env.NODE_ENV === "production" ? qe.exports = /* @__PURE__ */ Cn() : qe.exports = /* @__PURE__ */ En()), qe.exports;
}
var et = /* @__PURE__ */ Tn();
function he(e) {
if (typeof e != "object" || e === null)
return !1;
const t = Object.getPrototypeOf(e);
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
}
function Mr(e) {
if (/* @__PURE__ */ me.isValidElement(e) || et.isValidElementType(e) || !he(e))
return e;
const t = {};
return Object.keys(e).forEach((r) => {
t[r] = Mr(e[r]);
}), t;
}
function se(e, t, r = {
clone: !0
}) {
const n = r.clone ? {
...e
} : e;
return he(e) && he(t) && Object.keys(t).forEach((o) => {
/* @__PURE__ */ me.isValidElement(t[o]) || et.isValidElementType(t[o]) ? n[o] = t[o] : he(t[o]) && // Avoid prototype pollution
Object.prototype.hasOwnProperty.call(e, o) && he(e[o]) ? n[o] = se(e[o], t[o], r) : r.clone ? n[o] = he(t[o]) ? Mr(t[o]) : t[o] : n[o] = t[o];
}), n;
}
function ze(e, t) {
return t ? se(e, t, {
clone: !1
// No need to clone deep, it's way faster.
}) : e;
}
const Te = process.env.NODE_ENV !== "production" ? L.oneOfType([L.number, L.string, L.object, L.array]) : {};
function er(e, t) {
if (!e.containerQueries)
return t;
const r = Object.keys(t).filter((n) => n.startsWith("@container")).sort((n, o) => {
var c, l;
const i = /min-width:\s*([0-9.]+)/;
return +(((c = n.match(i)) == null ? void 0 : c[1]) || 0) - +(((l = o.match(i)) == null ? void 0 : l[1]) || 0);
});
return r.length ? r.reduce((n, o) => {
const i = t[o];
return delete n[o], n[o] = i, n;
}, {
...t
}) : t;
}
function xn(e, t) {
return t === "@" || t.startsWith("@") && (e.some((r) => t.startsWith(`@${r}`)) || !!t.match(/^@\d/));
}
function wn(e, t) {
const r = t.match(/^@([^/]+)?\/?(.+)?$/);
if (!r) {
if (process.env.NODE_ENV !== "production")
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : Ce(18, `(${t})`));
return null;
}
const [, n, o] = r, i = Number.isNaN(+n) ? n || 0 : +n;
return e.containerQueries(o).up(i);
}
function On(e) {
const t = (i, c) => i.replace("@media", c ? `@container ${c}` : "@container");
function r(i, c) {
i.up = (...l) => t(e.breakpoints.up(...l), c), i.down = (...l) => t(e.breakpoints.down(...l), c), i.between = (...l) => t(e.breakpoints.between(...l), c), i.only = (...l) => t(e.breakpoints.only(...l), c), i.not = (...l) => {
const u = t(e.breakpoints.not(...l), c);
return u.includes("not all and") ? u.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : u;
};
}
const n = {}, o = (i) => (r(n, i), n);
return r(o), {
...e,
containerQueries: o
};
}
const ot = {
xs: 0,
// phone
sm: 600,
// tablet
md: 900,
// small laptop
lg: 1200,
// desktop
xl: 1536
// large screen
}, tr = {
// Sorted ASC by size. That's important.
// It can't be configured as it's used statically for propTypes.
keys: ["xs", "sm", "md", "lg", "xl"],
up: (e) => `@media (min-width:${ot[e]}px)`
}, $n = {
containerQueries: (e) => ({
up: (t) => {
let r = typeof t == "number" ? t : ot[t] || t;
return typeof r == "number" && (r = `${r}px`), e ? `@container ${e} (min-width:${r})` : `@container (min-width:${r})`;
}
})
};
function be(e, t, r) {
const n = e.theme || {};
if (Array.isArray(t)) {
const i = n.breakpoints || tr;
return t.reduce((c, l, u) => (c[i.up(i.keys[u])] = r(t[u]), c), {});
}
if (typeof t == "object") {
const i = n.breakpoints || tr;
return Object.keys(t).reduce((c, l) => {
if (xn(i.keys, l)) {
const u = wn(n.containerQueries ? n : $n, l);
u && (c[u] = r(t[l], l));
} else if (Object.keys(i.values || ot).includes(l)) {
const u = i.up(l);
c[u] = r(t[l], l);
} else {
const u = l;
c[u] = t[u];
}
return c;
}, {});
}
return r(t);
}
function _n(e = {}) {
var r;
return ((r = e.keys) == null ? void 0 : r.reduce((n, o) => {
const i = e.up(o);
return n[i] = {}, n;
}, {})) || {};
}
function rr(e, t) {
return e.reduce((r, n) => {
const o = r[n];
return (!o || Object.keys(o).length === 0) && delete r[n], r;
}, t);
}
function it(e, t, r = !0) {
if (!t || typeof t != "string")
return null;
if (e && e.vars && r) {
const n = `vars.${t}`.split(".").reduce((o, i) => o && o[i] ? o[i] : null, e);
if (n != null)
return n;
}
return t.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
}
function tt(e, t, r, n = r) {
let o;
return typeof e == "function" ? o = e(r) : Array.isArray(e) ? o = e[r] || n : o = it(e, r) || n, t && (o = t(o, n, e)), o;
}
function Z(e) {
const {
prop: t,
cssProperty: r = e.prop,
themeKey: n,
transform: o
} = e, i = (c) => {
if (c[t] == null)
return null;
const l = c[t], u = c.theme, f = it(u, n) || {};
return be(c, l, (h) => {
let p = tt(f, o, h);
return h === p && typeof h == "string" && (p = tt(f, o, `${t}${h === "default" ? "" : $e(h)}`, h)), r === !1 ? p : {
[r]: p
};
});
};
return i.propTypes = process.env.NODE_ENV !== "production" ? {
[t]: Te
} : {}, i.filterProps = [t], i;
}
function An(e) {
const t = {};
return (r) => (t[r] === void 0 && (t[r] = e(r)), t[r]);
}
const Rn = {
m: "margin",
p: "padding"
}, kn = {
t: "Top",
r: "Right",
b: "Bottom",
l: "Left",
x: ["Left", "Right"],
y: ["Top", "Bottom"]
}, nr = {
marginX: "mx",
marginY: "my",
paddingX: "px",
paddingY: "py"
}, In = An((e) => {
if (e.length > 2)
if (nr[e])
e = nr[e];
else
return [e];
const [t, r] = e.split(""), n = Rn[t], o = kn[r] || "";
return Array.isArray(o) ? o.map((i) => n + i) : [n + o];
}), at = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], st = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Pn = [...at, ...st];
function Ye(e, t, r, n) {
const o = it(e, t, !0) ?? r;
return typeof o == "number" || typeof o == "string" ? (i) => typeof i == "string" ? i : (process.env.NODE_ENV !== "production" && typeof i != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`), typeof o == "string" ? o.startsWith("var(") && i === 0 ? 0 : o.startsWith("var(") && i === 1 ? o : `calc(${i} * ${o})` : o * i) : Array.isArray(o) ? (i) => {
if (typeof i == "string")
return i;
const c = Math.abs(i);
process.env.NODE_ENV !== "production" && (Number.isInteger(c) ? c > o.length - 1 && console.error([`MUI: The value provided (${c}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${c} > ${o.length - 1}, you need to add the missing values.`].join(`
`)) : console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
`)));
const l = o[c];
return i >= 0 ? l : typeof l == "number" ? -l : typeof l == "string" && l.startsWith("var(") ? `calc(-1 * ${l})` : `-${l}`;
} : typeof o == "function" ? o : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`, "It should be a number, an array or a function."].join(`
`)), () => {
});
}
function At(e) {
return Ye(e, "spacing", 8, "spacing");
}
function We(e, t) {
return typeof t == "string" || t == null ? t : e(t);
}
function Mn(e, t) {
return (r) => e.reduce((n, o) => (n[o] = We(t, r), n), {});
}
function Nn(e, t, r, n) {
if (!t.includes(r))
return null;
const o = In(r), i = Mn(o, n), c = e[r];
return be(e, c, i);
}
function Nr(e, t) {
const r = At(e.theme);
return Object.keys(e).map((n) => Nn(e, t, n, r)).reduce(ze, {});
}
function J(e) {
return Nr(e, at);
}
J.propTypes = process.env.NODE_ENV !== "production" ? at.reduce((e, t) => (e[t] = Te, e), {}) : {};
J.filterProps = at;
function X(e) {
return Nr(e, st);
}
X.propTypes = process.env.NODE_ENV !== "production" ? st.reduce((e, t) => (e[t] = Te, e), {}) : {};
X.filterProps = st;
process.env.NODE_ENV !== "production" && Pn.reduce((e, t) => (e[t] = Te, e), {});
function ct(...e) {
const t = e.reduce((n, o) => (o.filterProps.forEach((i) => {
n[i] = o;
}), n), {}), r = (n) => Object.keys(n).reduce((o, i) => t[i] ? ze(o, t[i](n)) : o, {});
return r.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, r.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), r;
}
function le(e) {
return typeof e != "number" ? e : `${e}px solid`;
}
function ue(e, t) {
return Z({
prop: e,
themeKey: "borders",
transform: t
});
}
const Dn = ue("border", le), Bn = ue("borderTop", le), Ln = ue("borderRight", le), Vn = ue("borderBottom", le), jn = ue("borderLeft", le), zn = ue("borderColor"), Fn = ue("borderTopColor"), Un = ue("borderRightColor"), Yn = ue("borderBottomColor"), Wn = ue("borderLeftColor"), Hn = ue("outline", le), Gn = ue("outlineColor"), lt = (e) => {
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
const t = Ye(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
borderRadius: We(t, n)
});
return be(e, e.borderRadius, r);
}
return null;
};
lt.propTypes = process.env.NODE_ENV !== "production" ? {
borderRadius: Te
} : {};
lt.filterProps = ["borderRadius"];
ct(Dn, Bn, Ln, Vn, jn, zn, Fn, Un, Yn, Wn, lt, Hn, Gn);
const ut = (e) => {
if (e.gap !== void 0 && e.gap !== null) {
const t = Ye(e.theme, "spacing", 8, "gap"), r = (n) => ({
gap: We(t, n)
});
return be(e, e.gap, r);
}
return null;
};
ut.propTypes = process.env.NODE_ENV !== "production" ? {
gap: Te
} : {};
ut.filterProps = ["gap"];
const ft = (e) => {
if (e.columnGap !== void 0 && e.columnGap !== null) {
const t = Ye(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
columnGap: We(t, n)
});
return be(e, e.columnGap, r);
}
return null;
};
ft.propTypes = process.env.NODE_ENV !== "production" ? {
columnGap: Te
} : {};
ft.filterProps = ["columnGap"];
const dt = (e) => {
if (e.rowGap !== void 0 && e.rowGap !== null) {
const t = Ye(e.theme, "spacing", 8, "rowGap"), r = (n) => ({
rowGap: We(t, n)
});
return be(e, e.rowGap, r);
}
return null;
};
dt.propTypes = process.env.NODE_ENV !== "production" ? {
rowGap: Te
} : {};
dt.filterProps = ["rowGap"];
const Kn = Z({
prop: "gridColumn"
}), qn = Z({
prop: "gridRow"
}), Qn = Z({
prop: "gridAutoFlow"
}), Jn = Z({
prop: "gridAutoColumns"
}), Xn = Z({
prop: "gridAutoRows"
}), Zn = Z({
prop: "gridTemplateColumns"
}), eo = Z({
prop: "gridTemplateRows"
}), to = Z({
prop: "gridTemplateAreas"
}), ro = Z({
prop: "gridArea"
});
ct(ut, ft, dt, Kn, qn, Qn, Jn, Xn, Zn, eo, to, ro);
function Ne(e, t) {
return t === "grey" ? t : e;
}
const no = Z({
prop: "color",
themeKey: "palette",
transform: Ne
}), oo = Z({
prop: "bgcolor",
cssProperty: "backgroundColor",
themeKey: "palette",
transform: Ne
}), io = Z({
prop: "backgroundColor",
themeKey: "palette",
transform: Ne
});
ct(no, oo, io);
function ae(e) {
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
}
const ao = Z({
prop: "width",
transform: ae
}), Rt = (e) => {
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
const t = (r) => {
var o, i, c, l, u;
const n = ((c = (i = (o = e.theme) == null ? void 0 : o.breakpoints) == null ? void 0 : i.values) == null ? void 0 : c[r]) || ot[r];
return n ? ((u = (l = e.theme) == null ? void 0 : l.breakpoints) == null ? void 0 : u.unit) !== "px" ? {
maxWidth: `${n}${e.theme.breakpoints.unit}`
} : {
maxWidth: n
} : {
maxWidth: ae(r)
};
};
return be(e, e.maxWidth, t);
}
return null;
};
Rt.filterProps = ["maxWidth"];
const so = Z({
prop: "minWidth",
transform: ae
}), co = Z({
prop: "height",
transform: ae
}), lo = Z({
prop: "maxHeight",
transform: ae
}), uo = Z({
prop: "minHeight",
transform: ae
});
Z({
prop: "size",
cssProperty: "width",
transform: ae
});
Z({
prop: "size",
cssProperty: "height",
transform: ae
});
const fo = Z({
prop: "boxSizing"
});
ct(ao, Rt, so, co, lo, uo, fo);
const mt = {
// borders
border: {
themeKey: "borders",
transform: le
},
borderTop: {
themeKey: "borders",
transform: le
},
borderRight: {
themeKey: "borders",
transform: le
},
borderBottom: {
themeKey: "borders",
transform: le
},
borderLeft: {
themeKey: "borders",
transform: le
},
borderColor: {
themeKey: "palette"
},
borderTopColor: {
themeKey: "palette"
},
borderRightColor: {
themeKey: "palette"
},
borderBottomColor: {
themeKey: "palette"
},
borderLeftColor: {
themeKey: "palette"
},
outline: {
themeKey: "borders",
transform: le
},
outlineColor: {
themeKey: "palette"
},
borderRadius: {
themeKey: "shape.borderRadius",
style: lt
},
// palette
color: {
themeKey: "palette",
transform: Ne
},
bgcolor: {
themeKey: "palette",
cssProperty: "backgroundColor",
transform: Ne
},
backgroundColor: {
themeKey: "palette",
transform: Ne
},
// spacing
p: {
style: X
},
pt: {
style: X
},
pr: {
style: X
},
pb: {
style: X
},
pl: {
style: X
},
px: {
style: X
},
py: {
style: X
},
padding: {
style: X
},
paddingTop: {
style: X
},
paddingRight: {
style: X
},
paddingBottom: {
style: X
},
paddingLeft: {
style: X
},
paddingX: {
style: X
},
paddingY: {
style: X
},
paddingInline: {
style: X
},
paddingInlineStart: {
style: X
},
paddingInlineEnd: {
style: X
},
paddingBlock: {
style: X
},
paddingBlockStart: {
style: X
},
paddingBlockEnd: {
style: X
},
m: {
style: J
},
mt: {
style: J
},
mr: {
style: J
},
mb: {
style: J
},
ml: {
style: J
},
mx: {
style: J
},
my: {
style: J
},
margin: {
style: J
},
marginTop: {
style: J
},
marginRight: {
style: J
},
marginBottom: {
style: J
},
marginLeft: {
style: J
},
marginX: {
style: J
},
marginY: {
style: J
},
marginInline: {
style: J
},
marginInlineStart: {
style: J
},
marginInlineEnd: {
style: J
},
marginBlock: {
style: J
},
marginBlockStart: {
style: J
},
marginBlockEnd: {
style: J
},
// display
displayPrint: {
cssProperty: !1,
transform: (e) => ({
"@media print": {
display: e
}
})
},
display: {},
overflow: {},
textOverflow: {},
visibility: {},
whiteSpace: {},
// flexbox
flexBasis: {},
flexDirection: {},
flexWrap: {},
justifyContent: {},
alignItems: {},
alignContent: {},
order: {},
flex: {},
flexGrow: {},
flexShrink: {},
alignSelf: {},
justifyItems: {},
justifySelf: {},
// grid
gap: {
style: ut
},
rowGap: {
style: dt
},
columnGap: {
style: ft
},
gridColumn: {},
gridRow: {},
gridAutoFlow: {},
gridAutoColumns: {},
gridAutoRows: {},
gridTemplateColumns: {},
gridTemplateRows: {},
gridTemplateAreas: {},
gridArea: {},
// positions
position: {},
zIndex: {
themeKey: "zIndex"
},
top: {},
right: {},
bottom: {},
left: {},
// shadows
boxShadow: {
themeKey: "shadows"
},
// sizing
width: {
transform: ae
},
maxWidth: {
style: Rt
},
minWidth: {
transform: ae
},
height: {
transform: ae
},
maxHeight: {
transform: ae
},
minHeight: {
transform: ae
},
boxSizing: {},
// typography
font: {
themeKey: "font"
},
fontFamily: {
themeKey: "typography"
},
fontSize: {
themeKey: "typography"
},
fontStyle: {
themeKey: "typography"
},
fontWeight: {
themeKey: "typography"
},
letterSpacing: {},
textTransform: {},
lineHeight: {},
textAlign: {},
typography: {
cssProperty: !1,
themeKey: "typography"
}
};
function mo(...e) {
const t = e.reduce((n, o) => n.concat(Object.keys(o)), []), r = new Set(t);
return e.every((n) => r.size === Object.keys(n).length);
}
function po(e, t) {
return typeof e == "function" ? e(t) : e;
}
function ho() {
function e(r, n, o, i) {
const c = {
[r]: n,
theme: o
}, l = i[r];
if (!l)
return {
[r]: n
};
const {
cssProperty: u = r,
themeKey: f,
transform: m,
style: h
} = l;
if (n == null)
return null;
if (f === "typography" && n === "inherit")
return {
[r]: n
};
const p = it(o, f) || {};
return h ? h(c) : be(c, n, (b) => {
let s = tt(p, m, b);
return b === s && typeof b == "string" && (s = tt(p, m, `${r}${b === "default" ? "" : $e(b)}`, b)), u === !1 ? s : {
[u]: s
};
});
}
function t(r) {
const {
sx: n,
theme: o = {},
nested: i
} = r || {};
if (!n)
return null;
const c = o.unstable_sxConfig ?? mt;
function l(u) {
let f = u;
if (typeof u == "function")
f = u(o);
else if (typeof u != "object")
return u;
if (!f)
return null;
const m = _n(o.breakpoints), h = Object.keys(m);
let