From 25c9bc21b3d0e8d2e096b3bce93ab5f77a95233e Mon Sep 17 00:00:00 2001 From: firmansyah Date: Tue, 19 May 2026 15:18:28 +0700 Subject: [PATCH] feat: support to react oslog 7 --- dist/index.js | 10927 +++++++++++++++++++++----------------------- package-lock.json | 71 +- package.json | 4 +- 3 files changed, 5323 insertions(+), 5679 deletions(-) diff --git a/dist/index.js b/dist/index.js index 42fcb89..3aa01d7 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,681 +1,332 @@ -var pu = Object.defineProperty; -var mu = (e, t, n) => t in e ? pu(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n; -var qn = (e, t, n) => mu(e, typeof t != "symbol" ? t + "" : t, n); +var Uc = Object.defineProperty; +var Vc = (e, t, n) => t in e ? Uc(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n; +var En = (e, t, n) => Vc(e, typeof t != "symbol" ? t + "" : t, n); import * as x from "react"; -import xt, { forwardRef as hu, useContext as yu, isValidElement as Br, cloneElement as Fr, Children as gu, useState as Qt, useCallback as bu, useMemo as vu, useEffect as xs } from "react"; -import * as Eu from "react-dom"; -import Ir from "react-dom"; -function Su(e) { +import mt, { forwardRef as zc, useContext as Wc, isValidElement as mr, cloneElement as hr, Children as Hc, useState as kt, useCallback as qc, useMemo as Gc, useEffect as oi } from "react"; +import * as Yc from "react-dom"; +import ir from "react-dom"; +function Kc(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } -var mi = { exports: {} }, Gn = {}; +var Ho = { exports: {} }, Sn = {}; /** * @license React - * react-jsx-runtime.production.min.js + * react-jsx-runtime.production.js * - * Copyright (c) Facebook, Inc. and its affiliates. + * 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 Rs; -function Tu() { - if (Rs) return Gn; - Rs = 1; - var e = xt, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 }; - function a(l, c, u) { - var d, h = {}, b = null, m = null; - u !== void 0 && (b = "" + u), c.key !== void 0 && (b = "" + c.key), c.ref !== void 0 && (m = c.ref); - for (d in c) r.call(c, d) && !s.hasOwnProperty(d) && (h[d] = c[d]); - if (l && l.defaultProps) for (d in c = l.defaultProps, c) h[d] === void 0 && (h[d] = c[d]); - return { $$typeof: t, type: l, key: b, ref: m, props: h, _owner: i.current }; +var si; +function Xc() { + if (si) return Sn; + si = 1; + var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment"); + function n(r, s, i) { + var a = null; + if (i !== void 0 && (a = "" + i), s.key !== void 0 && (a = "" + s.key), "key" in s) { + i = {}; + for (var l in s) + l !== "key" && (i[l] = s[l]); + } else i = s; + return s = i.ref, { + $$typeof: e, + type: r, + key: a, + ref: s !== void 0 ? s : null, + props: i + }; } - return Gn.Fragment = n, Gn.jsx = a, Gn.jsxs = a, Gn; + return Sn.Fragment = t, Sn.jsx = n, Sn.jsxs = n, Sn; } -var Yn = {}; +var Tn = {}; /** * @license React * react-jsx-runtime.development.js * - * Copyright (c) Facebook, Inc. and its affiliates. + * 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 Os; -function xu() { - return Os || (Os = 1, process.env.NODE_ENV !== "production" && function() { - var e = xt, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), g = Symbol.iterator, f = "@@iterator"; - function y(R) { - if (R === null || typeof R != "object") - return null; - var U = g && R[g] || R[f]; - return typeof U == "function" ? U : null; - } - var S = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - function O(R) { - { - for (var U = arguments.length, ee = new Array(U > 1 ? U - 1 : 0), ce = 1; ce < U; ce++) - ee[ce - 1] = arguments[ce]; - T("error", R, ee); - } - } - function T(R, U, ee) { - { - var ce = S.ReactDebugCurrentFrame, Te = ce.getStackAddendum(); - Te !== "" && (U += "%s", ee = ee.concat([Te])); - var Ne = ee.map(function(he) { - return String(he); - }); - Ne.unshift("Warning: " + U), Function.prototype.apply.call(console[R], console, Ne); - } - } - var v = !1, E = !1, w = !1, N = !1, L = !1, z; - z = Symbol.for("react.module.reference"); - function H(R) { - return !!(typeof R == "string" || typeof R == "function" || R === r || R === s || L || R === i || R === u || R === d || N || R === m || v || E || w || typeof R == "object" && R !== null && (R.$$typeof === b || R.$$typeof === h || R.$$typeof === a || R.$$typeof === l || R.$$typeof === c || // This needs to include all possible module reference object - // types supported by any Flight configuration anywhere since - // we don't know which Flight build this will end up being used - // with. - R.$$typeof === z || R.getModuleId !== void 0)); - } - function F(R, U, ee) { - var ce = R.displayName; - if (ce) - return ce; - var Te = U.displayName || U.name || ""; - return Te !== "" ? ee + "(" + Te + ")" : ee; - } - function p(R) { - return R.displayName || "Context"; - } - function _(R) { - if (R == null) - return null; - if (typeof R.tag == "number" && O("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof R == "function") - return R.displayName || R.name || null; - if (typeof R == "string") - return R; - switch (R) { - case r: +var ii; +function Jc() { + return ii || (ii = 1, process.env.NODE_ENV !== "production" && function() { + function e(O) { + if (O == null) return null; + if (typeof O == "function") + return O.$$typeof === q ? null : O.displayName || O.name || null; + if (typeof O == "string") return O; + switch (O) { + case f: return "Fragment"; - case n: - return "Portal"; - case s: + case S: return "Profiler"; - case i: + case y: return "StrictMode"; - case u: + case E: return "Suspense"; - case d: + case w: return "SuspenseList"; + case z: + return "Activity"; } - if (typeof R == "object") - switch (R.$$typeof) { - case l: - var U = R; - return p(U) + ".Consumer"; - case a: - var ee = R; - return p(ee._context) + ".Provider"; - case c: - return F(R, R.render, "ForwardRef"); - case h: - var ce = R.displayName || null; - return ce !== null ? ce : _(R.type) || "Memo"; - case b: { - var Te = R, Ne = Te._payload, he = Te._init; + if (typeof O == "object") + switch (typeof O.tag == "number" && console.error( + "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue." + ), O.$$typeof) { + case g: + return "Portal"; + case T: + return (O.displayName || "Context") + ".Provider"; + case R: + return (O._context.displayName || "Context") + ".Consumer"; + case b: + var P = O.render; + return O = O.displayName, O || (O = P.displayName || P.name || "", O = O !== "" ? "ForwardRef(" + O + ")" : "ForwardRef"), O; + case N: + return P = O.displayName || null, P !== null ? P : e(O.type) || "Memo"; + case j: + P = O._payload, O = O._init; try { - return _(he(Ne)); + return e(O(P)); } catch { - return null; } - } } return null; } - var A = Object.assign, M = 0, j, q, te, K, I, D, W; - function B() { + function t(O) { + return "" + O; } - B.__reactDisabledLog = !0; - function X() { - { - if (M === 0) { - j = console.log, q = console.info, te = console.warn, K = console.error, I = console.group, D = console.groupCollapsed, W = console.groupEnd; - var R = { - configurable: !0, - enumerable: !0, - value: B, - writable: !0 - }; - Object.defineProperties(console, { - info: R, - log: R, - warn: R, - error: R, - group: R, - groupCollapsed: R, - groupEnd: R - }); - } - M++; - } - } - function Q() { - { - if (M--, M === 0) { - var R = { - configurable: !0, - enumerable: !0, - writable: !0 - }; - Object.defineProperties(console, { - log: A({}, R, { - value: j - }), - info: A({}, R, { - value: q - }), - warn: A({}, R, { - value: te - }), - error: A({}, R, { - value: K - }), - group: A({}, R, { - value: I - }), - groupCollapsed: A({}, R, { - value: D - }), - groupEnd: A({}, R, { - value: W - }) - }); - } - M < 0 && O("disabledDepth fell below zero. This is a bug in React. Please file an issue."); - } - } - var G = S.ReactCurrentDispatcher, J; - function Y(R, U, ee) { - { - if (J === void 0) - try { - throw Error(); - } catch (Te) { - var ce = Te.stack.trim().match(/\n( *(at )?)/); - J = ce && ce[1] || ""; - } - return ` -` + J + R; - } - } - var Z = !1, V; - { - var ne = typeof WeakMap == "function" ? WeakMap : Map; - V = new ne(); - } - function P(R, U) { - if (!R || Z) - return ""; - { - var ee = V.get(R); - if (ee !== void 0) - return ee; - } - var ce; - Z = !0; - var Te = Error.prepareStackTrace; - Error.prepareStackTrace = void 0; - var Ne; - Ne = G.current, G.current = null, X(); + function n(O) { try { - if (U) { - var he = function() { - throw Error(); - }; - if (Object.defineProperty(he.prototype, "props", { - set: function() { - throw Error(); - } - }), typeof Reflect == "object" && Reflect.construct) { - try { - Reflect.construct(he, []); - } catch (ot) { - ce = ot; - } - Reflect.construct(R, [], he); - } else { - try { - he.call(); - } catch (ot) { - ce = ot; - } - R.call(he.prototype); - } - } else { - try { - throw Error(); - } catch (ot) { - ce = ot; - } - R(); - } - } catch (ot) { - if (ot && ce && typeof ot.stack == "string") { - for (var pe = ot.stack.split(` -`), tt = ce.stack.split(` -`), ze = pe.length - 1, qe = tt.length - 1; ze >= 1 && qe >= 0 && pe[ze] !== tt[qe]; ) - qe--; - for (; ze >= 1 && qe >= 0; ze--, qe--) - if (pe[ze] !== tt[qe]) { - if (ze !== 1 || qe !== 1) - do - if (ze--, qe--, qe < 0 || pe[ze] !== tt[qe]) { - var ft = ` -` + pe[ze].replace(" at new ", " at "); - return R.displayName && ft.includes("") && (ft = ft.replace("", R.displayName)), typeof R == "function" && V.set(R, ft), ft; - } - while (ze >= 1 && qe >= 0); - break; - } - } - } finally { - Z = !1, G.current = Ne, Q(), Error.prepareStackTrace = Te; - } - var Sn = R ? R.displayName || R.name : "", Jt = Sn ? Y(Sn) : ""; - return typeof R == "function" && V.set(R, Jt), Jt; - } - function de(R, U, ee) { - return P(R, !1); - } - function re(R) { - var U = R.prototype; - return !!(U && U.isReactComponent); - } - function me(R, U, ee) { - if (R == null) - return ""; - if (typeof R == "function") - return P(R, re(R)); - if (typeof R == "string") - return Y(R); - switch (R) { - case u: - return Y("Suspense"); - case d: - return Y("SuspenseList"); - } - if (typeof R == "object") - switch (R.$$typeof) { - case c: - return de(R.render); - case h: - return me(R.type, U, ee); - case b: { - var ce = R, Te = ce._payload, Ne = ce._init; - try { - return me(Ne(Te), U, ee); - } catch { - } - } - } - return ""; - } - var $e = Object.prototype.hasOwnProperty, Me = {}, De = S.ReactDebugCurrentFrame; - function Ke(R) { - if (R) { - var U = R._owner, ee = me(R.type, R._source, U ? U.type : null); - De.setExtraStackFrame(ee); - } else - De.setExtraStackFrame(null); - } - function at(R, U, ee, ce, Te) { - { - var Ne = Function.call.bind($e); - for (var he in R) - if (Ne(R, he)) { - var pe = void 0; - try { - if (typeof R[he] != "function") { - var tt = Error((ce || "React class") + ": " + ee + " type `" + he + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof R[he] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."); - throw tt.name = "Invariant Violation", tt; - } - pe = R[he](U, he, ce, ee, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); - } catch (ze) { - pe = ze; - } - pe && !(pe instanceof Error) && (Ke(Te), O("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ce || "React class", ee, he, typeof pe), Ke(null)), pe instanceof Error && !(pe.message in Me) && (Me[pe.message] = !0, Ke(Te), O("Failed %s type: %s", ee, pe.message), Ke(null)); - } - } - } - var je = Array.isArray; - function le(R) { - return je(R); - } - function Nt(R) { - { - var U = typeof Symbol == "function" && Symbol.toStringTag, ee = U && R[Symbol.toStringTag] || R.constructor.name || "Object"; - return ee; - } - } - function Je(R) { - try { - return gn(R), !1; + t(O); + var P = !1; } catch { - return !0; + P = !0; + } + if (P) { + P = console; + var B = P.error, M = typeof Symbol == "function" && Symbol.toStringTag && O[Symbol.toStringTag] || O.constructor.name || "Object"; + return B.call( + P, + "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", + M + ), t(O); } } - function gn(R) { - return "" + R; - } - function lt(R) { - if (Je(R)) - return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Nt(R)), gn(R); - } - var qt = S.ReactCurrentOwner, kt = { - key: !0, - ref: !0, - __self: !0, - __source: !0 - }, Et, $t; - function ye(R) { - if ($e.call(R, "ref")) { - var U = Object.getOwnPropertyDescriptor(R, "ref").get; - if (U && U.isReactWarning) - return !1; - } - return R.ref !== void 0; - } - function St(R) { - if ($e.call(R, "key")) { - var U = Object.getOwnPropertyDescriptor(R, "key").get; - if (U && U.isReactWarning) - return !1; - } - return R.key !== void 0; - } - function ct(R, U) { - typeof R.ref == "string" && qt.current; - } - function bn(R, U) { - { - var ee = function() { - Et || (Et = !0, O("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", U)); - }; - ee.isReactWarning = !0, Object.defineProperty(R, "key", { - get: ee, - configurable: !0 - }); + function r(O) { + if (O === f) return "<>"; + if (typeof O == "object" && O !== null && O.$$typeof === j) + return "<...>"; + try { + var P = e(O); + return P ? "<" + P + ">" : "<...>"; + } catch { + return "<...>"; } } - function Gt(R, U) { - { - var ee = function() { - $t || ($t = !0, O("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", U)); - }; - ee.isReactWarning = !0, Object.defineProperty(R, "ref", { - get: ee, - configurable: !0 - }); - } + function s() { + var O = F.A; + return O === null ? null : O.getOwner(); } - var Fn = function(R, U, ee, ce, Te, Ne, he) { - var pe = { - // This tag allows us to uniquely identify this as a React Element - $$typeof: t, - // Built-in properties that belong on the element - type: R, - key: U, - ref: ee, - props: he, - // Record the component responsible for creating this element. - _owner: Ne - }; - return pe._store = {}, Object.defineProperty(pe._store, "validated", { + function i() { + return Error("react-stack-top-frame"); + } + function a(O) { + if (p.call(O, "key")) { + var P = Object.getOwnPropertyDescriptor(O, "key").get; + if (P && P.isReactWarning) return !1; + } + return O.key !== void 0; + } + function l(O, P) { + function B() { + D || (D = !0, console.error( + "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", + P + )); + } + B.isReactWarning = !0, Object.defineProperty(O, "key", { + get: B, + configurable: !0 + }); + } + function c() { + var O = e(this.type); + return L[O] || (L[O] = !0, console.error( + "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release." + )), O = this.props.ref, O !== void 0 ? O : null; + } + function u(O, P, B, M, W, H, Y, X) { + return B = H.ref, O = { + $$typeof: m, + type: O, + key: P, + props: H, + _owner: W + }, (B !== void 0 ? B : null) !== null ? Object.defineProperty(O, "ref", { + enumerable: !1, + get: c + }) : Object.defineProperty(O, "ref", { enumerable: !1, value: null }), O._store = {}, Object.defineProperty(O._store, "validated", { configurable: !1, enumerable: !1, writable: !0, - value: !1 - }), Object.defineProperty(pe, "_self", { + value: 0 + }), Object.defineProperty(O, "_debugInfo", { configurable: !1, enumerable: !1, - writable: !1, - value: ce - }), Object.defineProperty(pe, "_source", { + writable: !0, + value: null + }), Object.defineProperty(O, "_debugStack", { configurable: !1, enumerable: !1, - writable: !1, - value: Te - }), Object.freeze && (Object.freeze(pe.props), Object.freeze(pe)), pe; - }; - function Un(R, U, ee, ce, Te) { - { - var Ne, he = {}, pe = null, tt = null; - ee !== void 0 && (lt(ee), pe = "" + ee), St(U) && (lt(U.key), pe = "" + U.key), ye(U) && (tt = U.ref, ct(U, Te)); - for (Ne in U) - $e.call(U, Ne) && !kt.hasOwnProperty(Ne) && (he[Ne] = U[Ne]); - if (R && R.defaultProps) { - var ze = R.defaultProps; - for (Ne in ze) - he[Ne] === void 0 && (he[Ne] = ze[Ne]); - } - if (pe || tt) { - var qe = typeof R == "function" ? R.displayName || R.name || "Unknown" : R; - pe && bn(he, qe), tt && Gt(he, qe); - } - return Fn(R, pe, tt, Te, ce, qt.current, he); - } + writable: !0, + value: Y + }), Object.defineProperty(O, "_debugTask", { + configurable: !1, + enumerable: !1, + writable: !0, + value: X + }), Object.freeze && (Object.freeze(O.props), Object.freeze(O)), O; } - var Vn = S.ReactCurrentOwner, zn = S.ReactDebugCurrentFrame; - function Mt(R) { - if (R) { - var U = R._owner, ee = me(R.type, R._source, U ? U.type : null); - zn.setExtraStackFrame(ee); - } else - zn.setExtraStackFrame(null); - } - var vn; - vn = !1; - function En(R) { - return typeof R == "object" && R !== null && R.$$typeof === t; - } - function Wn() { - { - if (Vn.current) { - var R = _(Vn.current.type); - if (R) - return ` - -Check the render method of \`` + R + "`."; - } - return ""; - } - } - function se(R) { - return ""; - } - var fe = {}; - function Ye(R) { - { - var U = Wn(); - if (!U) { - var ee = typeof R == "string" ? R : R.displayName || R.name; - ee && (U = ` - -Check the top-level render call using <` + ee + ">."); - } - return U; - } - } - function Dt(R, U) { - { - if (!R._store || R._store.validated || R.key != null) - return; - R._store.validated = !0; - var ee = Ye(U); - if (fe[ee]) - return; - fe[ee] = !0; - var ce = ""; - R && R._owner && R._owner !== Vn.current && (ce = " It was passed a child from " + _(R._owner.type) + "."), Mt(R), O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', ee, ce), Mt(null); - } - } - function Hn(R, U) { - { - if (typeof R != "object") - return; - if (le(R)) - for (var ee = 0; ee < R.length; ee++) { - var ce = R[ee]; - En(ce) && Dt(ce, U); - } - else if (En(R)) - R._store && (R._store.validated = !0); - else if (R) { - var Te = y(R); - if (typeof Te == "function" && Te !== R.entries) - for (var Ne = Te.call(R), he; !(he = Ne.next()).done; ) - En(he.value) && Dt(he.value, U); - } - } - } - function iu(R) { - { - var U = R.type; - if (U == null || typeof U == "string") - return; - var ee; - if (typeof U == "function") - ee = U.propTypes; - else if (typeof U == "object" && (U.$$typeof === c || // Note: Memo only checks outer props here. - // Inner props are checked in the reconciler. - U.$$typeof === h)) - ee = U.propTypes; - else - return; - if (ee) { - var ce = _(U); - at(ee, R.props, "prop", ce, R); - } else if (U.PropTypes !== void 0 && !vn) { - vn = !0; - var Te = _(U); - O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Te || "Unknown"); - } - typeof U.getDefaultProps == "function" && !U.getDefaultProps.isReactClassApproved && O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."); - } - } - function su(R) { - { - for (var U = Object.keys(R.props), ee = 0; ee < U.length; ee++) { - var ce = U[ee]; - if (ce !== "children" && ce !== "key") { - Mt(R), O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", ce), Mt(null); - break; - } - } - R.ref !== null && (Mt(R), O("Invalid attribute `ref` supplied to `React.Fragment`."), Mt(null)); - } - } - var Ss = {}; - function Ts(R, U, ee, ce, Te, Ne) { - { - var he = H(R); - if (!he) { - var pe = ""; - (R === void 0 || typeof R == "object" && R !== null && Object.keys(R).length === 0) && (pe += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."); - var tt = se(); - tt ? pe += tt : pe += Wn(); - var ze; - R === null ? ze = "null" : le(R) ? ze = "array" : R !== void 0 && R.$$typeof === t ? (ze = "<" + (_(R.type) || "Unknown") + " />", pe = " Did you accidentally export a JSX literal instead of a component?") : ze = typeof R, O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ze, pe); - } - var qe = Un(R, U, ee, Te, Ne); - if (qe == null) - return qe; - if (he) { - var ft = U.children; - if (ft !== void 0) - if (ce) - if (le(ft)) { - for (var Sn = 0; Sn < ft.length; Sn++) - Hn(ft[Sn], R); - Object.freeze && Object.freeze(ft); - } else - O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."); - else - Hn(ft, R); - } - if ($e.call(U, "key")) { - var Jt = _(R), ot = Object.keys(U).filter(function(fu) { - return fu !== "key"; - }), Go = ot.length > 0 ? "{key: someKey, " + ot.join(": ..., ") + ": ...}" : "{key: someKey}"; - if (!Ss[Jt + Go]) { - var du = ot.length > 0 ? "{" + ot.join(": ..., ") + ": ...}" : "{}"; - O(`A props object containing a "key" prop is being spread into JSX: + function d(O, P, B, M, W, H, Y, X) { + var U = P.children; + if (U !== void 0) + if (M) + if (I(U)) { + for (M = 0; M < U.length; M++) + h(U[M]); + Object.freeze && Object.freeze(U); + } else + console.error( + "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead." + ); + else h(U); + if (p.call(P, "key")) { + U = e(O); + var J = Object.keys(P).filter(function(Z) { + return Z !== "key"; + }); + M = 0 < J.length ? "{key: someKey, " + J.join(": ..., ") + ": ...}" : "{key: someKey}", K[U + M] || (J = 0 < J.length ? "{" + J.join(": ..., ") + ": ...}" : "{}", console.error( + `A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; - <%s key={someKey} {...props} />`, Go, Jt, du, Jt), Ss[Jt + Go] = !0; - } - } - return R === r ? su(qe) : iu(qe), qe; + <%s key={someKey} {...props} />`, + M, + U, + J, + U + ), K[U + M] = !0); } + if (U = null, B !== void 0 && (n(B), U = "" + B), a(P) && (n(P.key), U = "" + P.key), "key" in P) { + B = {}; + for (var V in P) + V !== "key" && (B[V] = P[V]); + } else B = P; + return U && l( + B, + typeof O == "function" ? O.displayName || O.name || "Unknown" : O + ), u( + O, + U, + H, + W, + s(), + B, + Y, + X + ); } - function au(R, U, ee) { - return Ts(R, U, ee, !0); + function h(O) { + typeof O == "object" && O !== null && O.$$typeof === m && O._store && (O._store.validated = 1); } - function lu(R, U, ee) { - return Ts(R, U, ee, !1); - } - var cu = lu, uu = au; - Yn.Fragment = r, Yn.jsx = cu, Yn.jsxs = uu; - }()), Yn; + var v = mt, m = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), R = Symbol.for("react.consumer"), T = Symbol.for("react.context"), b = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), N = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), z = Symbol.for("react.activity"), q = Symbol.for("react.client.reference"), F = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, p = Object.prototype.hasOwnProperty, I = Array.isArray, A = console.createTask ? console.createTask : function() { + return null; + }; + v = { + "react-stack-bottom-frame": function(O) { + return O(); + } + }; + var D, L = {}, G = v["react-stack-bottom-frame"].bind( + v, + i + )(), Q = A(r(i)), K = {}; + Tn.Fragment = f, Tn.jsx = function(O, P, B, M, W) { + var H = 1e4 > F.recentlyCreatedOwnerStacks++; + return d( + O, + P, + B, + !1, + M, + W, + H ? Error("react-stack-top-frame") : G, + H ? A(r(O)) : Q + ); + }, Tn.jsxs = function(O, P, B, M, W) { + var H = 1e4 > F.recentlyCreatedOwnerStacks++; + return d( + O, + P, + B, + !0, + M, + W, + H ? Error("react-stack-top-frame") : G, + H ? A(r(O)) : Q + ); + }; + }()), Tn; } -process.env.NODE_ENV === "production" ? mi.exports = Tu() : mi.exports = xu(); -var k = mi.exports; -const ur = { +process.env.NODE_ENV === "production" ? Ho.exports = Xc() : Ho.exports = Jc(); +var k = Ho.exports; +const jn = { black: "#000", white: "#fff" -}, Tn = { +}, en = { 300: "#e57373", 400: "#ef5350", 500: "#f44336", 700: "#d32f2f", 800: "#c62828" -}, xn = { +}, tn = { 50: "#f3e5f5", 200: "#ce93d8", 300: "#ba68c8", 400: "#ab47bc", 500: "#9c27b0", 700: "#7b1fa2" -}, Rn = { +}, nn = { 50: "#e3f2fd", 200: "#90caf9", 400: "#42a5f5", 700: "#1976d2", 800: "#1565c0" -}, On = { +}, rn = { 300: "#4fc3f7", 400: "#29b6f6", 500: "#03a9f4", 700: "#0288d1", 900: "#01579b" -}, wn = { +}, on = { 300: "#81c784", 400: "#66bb6a", 500: "#4caf50", 700: "#388e3c", 800: "#2e7d32", 900: "#1b5e20" -}, Kn = { +}, xn = { 300: "#ffb74d", 400: "#ffa726", 500: "#ff9800", 700: "#f57c00", 900: "#e65100" -}, Ru = { +}, Qc = { 50: "#fafafa", 100: "#f5f5f5", 200: "#eeeeee", @@ -691,120 +342,120 @@ const ur = { A400: "#bdbdbd", A700: "#616161" }; -function Ft(e, ...t) { +function St(e, ...t) { const n = new URL(`https://mui.com/production-error/?code=${e}`); return t.forEach((r) => n.searchParams.append("args[]", r)), `Minified MUI error #${e}; visit ${n} for the full message.`; } -const Ui = "$$material"; -function Yr() { - return Yr = Object.assign ? Object.assign.bind() : function(e) { +const bs = "$$material"; +function xr() { + return xr = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; - }, Yr.apply(null, arguments); + }, xr.apply(null, arguments); } -function Ou(e) { +function Zc(e) { if (e.sheet) return e.sheet; for (var t = 0; t < document.styleSheets.length; t++) if (document.styleSheets[t].ownerNode === e) return document.styleSheets[t]; } -function wu(e) { +function eu(e) { var t = document.createElement("style"); return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t; } -var Cu = /* @__PURE__ */ function() { +var tu = /* @__PURE__ */ function() { function e(n) { var r = this; - this._insertTag = function(i) { - var s; - r.tags.length === 0 ? r.insertionPoint ? s = r.insertionPoint.nextSibling : r.prepend ? s = r.container.firstChild : s = r.before : s = r.tags[r.tags.length - 1].nextSibling, r.container.insertBefore(i, s), r.tags.push(i); + this._insertTag = function(s) { + var i; + r.tags.length === 0 ? r.insertionPoint ? i = r.insertionPoint.nextSibling : r.prepend ? i = r.container.firstChild : i = r.before : i = r.tags[r.tags.length - 1].nextSibling, r.container.insertBefore(s, i), r.tags.push(s); }, this.isSpeedy = n.speedy === void 0 ? !0 : n.speedy, this.tags = [], this.ctr = 0, this.nonce = n.nonce, this.key = n.key, this.container = n.container, this.prepend = n.prepend, this.insertionPoint = n.insertionPoint, this.before = null; } var t = e.prototype; return t.hydrate = function(r) { r.forEach(this._insertTag); }, t.insert = function(r) { - this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(wu(this)); - var i = this.tags[this.tags.length - 1]; + this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(eu(this)); + var s = this.tags[this.tags.length - 1]; if (this.isSpeedy) { - var s = Ou(i); + var i = Zc(s); try { - s.insertRule(r, s.cssRules.length); + i.insertRule(r, i.cssRules.length); } catch { } } else - i.appendChild(document.createTextNode(r)); + s.appendChild(document.createTextNode(r)); this.ctr++; }, t.flush = function() { this.tags.forEach(function(r) { - var i; - return (i = r.parentNode) == null ? void 0 : i.removeChild(r); + var s; + return (s = r.parentNode) == null ? void 0 : s.removeChild(r); }), this.tags = [], this.ctr = 0; }, e; -}(), Qe = "-ms-", Kr = "-moz-", be = "-webkit-", il = "comm", Vi = "rule", zi = "decl", Pu = "@import", sl = "@keyframes", _u = "@layer", Au = Math.abs, mo = String.fromCharCode, Iu = Object.assign; -function Nu(e, t) { - return Xe(e, 0) ^ 45 ? (((t << 2 ^ Xe(e, 0)) << 2 ^ Xe(e, 1)) << 2 ^ Xe(e, 2)) << 2 ^ Xe(e, 3) : 0; +}(), Fe = "-ms-", Or = "-moz-", ue = "-webkit-", Fa = "comm", vs = "rule", Es = "decl", nu = "@import", Ua = "@keyframes", ru = "@layer", ou = Math.abs, Vr = String.fromCharCode, su = Object.assign; +function iu(e, t) { + return Be(e, 0) ^ 45 ? (((t << 2 ^ Be(e, 0)) << 2 ^ Be(e, 1)) << 2 ^ Be(e, 2)) << 2 ^ Be(e, 3) : 0; } -function al(e) { +function Va(e) { return e.trim(); } -function ku(e, t) { +function au(e, t) { return (e = t.exec(e)) ? e[0] : e; } -function ve(e, t, n) { +function de(e, t, n) { return e.replace(t, n); } -function hi(e, t) { +function qo(e, t) { return e.indexOf(t); } -function Xe(e, t) { +function Be(e, t) { return e.charCodeAt(t) | 0; } -function dr(e, t, n) { +function Bn(e, t, n) { return e.slice(t, n); } -function Ct(e) { +function dt(e) { return e.length; } -function Wi(e) { +function Ss(e) { return e.length; } -function Nr(e, t) { +function ar(e, t) { return t.push(e), e; } -function $u(e, t) { +function lu(e, t) { return e.map(t).join(""); } -var ho = 1, kn = 1, ll = 0, st = 0, Ge = 0, jn = ""; -function yo(e, t, n, r, i, s, a) { - return { value: e, root: t, parent: n, type: r, props: i, children: s, line: ho, column: kn, length: a, return: "" }; +var zr = 1, fn = 1, za = 0, Ge = 0, De = 0, yn = ""; +function Wr(e, t, n, r, s, i, a) { + return { value: e, root: t, parent: n, type: r, props: s, children: i, line: zr, column: fn, length: a, return: "" }; } -function Xn(e, t) { - return Iu(yo("", null, null, "", null, null, 0), e, { length: -e.length }, t); +function On(e, t) { + return su(Wr("", null, null, "", null, null, 0), e, { length: -e.length }, t); } -function Mu() { +function cu() { + return De; +} +function uu() { + return De = Ge > 0 ? Be(yn, --Ge) : 0, fn--, De === 10 && (fn = 1, zr--), De; +} +function Xe() { + return De = Ge < za ? Be(yn, Ge++) : 0, fn++, De === 10 && (fn = 1, zr++), De; +} +function ht() { + return Be(yn, Ge); +} +function yr() { return Ge; } -function Du() { - return Ge = st > 0 ? Xe(jn, --st) : 0, kn--, Ge === 10 && (kn = 1, ho--), Ge; +function Wn(e, t) { + return Bn(yn, e, t); } -function dt() { - return Ge = st < ll ? Xe(jn, st++) : 0, kn++, Ge === 10 && (kn = 1, ho++), Ge; -} -function At() { - return Xe(jn, st); -} -function Ur() { - return st; -} -function yr(e, t) { - return dr(jn, e, t); -} -function fr(e) { +function Fn(e) { switch (e) { case 0: case 9: @@ -836,238 +487,238 @@ function fr(e) { } return 0; } -function cl(e) { - return ho = kn = 1, ll = Ct(jn = e), st = 0, []; +function Wa(e) { + return zr = fn = 1, za = dt(yn = e), Ge = 0, []; } -function ul(e) { - return jn = "", e; +function Ha(e) { + return yn = "", e; } -function Vr(e) { - return al(yr(st - 1, yi(e === 91 ? e + 2 : e === 40 ? e + 1 : e))); +function gr(e) { + return Va(Wn(Ge - 1, Go(e === 91 ? e + 2 : e === 40 ? e + 1 : e))); } -function ju(e) { - for (; (Ge = At()) && Ge < 33; ) - dt(); - return fr(e) > 2 || fr(Ge) > 3 ? "" : " "; +function du(e) { + for (; (De = ht()) && De < 33; ) + Xe(); + return Fn(e) > 2 || Fn(De) > 3 ? "" : " "; } -function Lu(e, t) { - for (; --t && dt() && !(Ge < 48 || Ge > 102 || Ge > 57 && Ge < 65 || Ge > 70 && Ge < 97); ) +function fu(e, t) { + for (; --t && Xe() && !(De < 48 || De > 102 || De > 57 && De < 65 || De > 70 && De < 97); ) ; - return yr(e, Ur() + (t < 6 && At() == 32 && dt() == 32)); + return Wn(e, yr() + (t < 6 && ht() == 32 && Xe() == 32)); } -function yi(e) { - for (; dt(); ) - switch (Ge) { +function Go(e) { + for (; Xe(); ) + switch (De) { case e: - return st; + return Ge; case 34: case 39: - e !== 34 && e !== 39 && yi(Ge); + e !== 34 && e !== 39 && Go(De); break; case 40: - e === 41 && yi(e); + e === 41 && Go(e); break; case 92: - dt(); + Xe(); break; } - return st; + return Ge; } -function Bu(e, t) { - for (; dt() && e + Ge !== 57; ) - if (e + Ge === 84 && At() === 47) +function pu(e, t) { + for (; Xe() && e + De !== 57; ) + if (e + De === 84 && ht() === 47) break; - return "/*" + yr(t, st - 1) + "*" + mo(e === 47 ? e : dt()); + return "/*" + Wn(t, Ge - 1) + "*" + Vr(e === 47 ? e : Xe()); } -function Fu(e) { - for (; !fr(At()); ) - dt(); - return yr(e, st); +function mu(e) { + for (; !Fn(ht()); ) + Xe(); + return Wn(e, Ge); } -function Uu(e) { - return ul(zr("", null, null, null, [""], e = cl(e), 0, [0], e)); +function hu(e) { + return Ha(br("", null, null, null, [""], e = Wa(e), 0, [0], e)); } -function zr(e, t, n, r, i, s, a, l, c) { - for (var u = 0, d = 0, h = a, b = 0, m = 0, g = 0, f = 1, y = 1, S = 1, O = 0, T = "", v = i, E = s, w = r, N = T; y; ) - switch (g = O, O = dt()) { +function br(e, t, n, r, s, i, a, l, c) { + for (var u = 0, d = 0, h = a, v = 0, m = 0, g = 0, f = 1, y = 1, S = 1, R = 0, T = "", b = s, E = i, w = r, N = T; y; ) + switch (g = R, R = Xe()) { case 40: - if (g != 108 && Xe(N, h - 1) == 58) { - hi(N += ve(Vr(O), "&", "&\f"), "&\f") != -1 && (S = -1); + if (g != 108 && Be(N, h - 1) == 58) { + qo(N += de(gr(R), "&", "&\f"), "&\f") != -1 && (S = -1); break; } case 34: case 39: case 91: - N += Vr(O); + N += gr(R); break; case 9: case 10: case 13: case 32: - N += ju(g); + N += du(g); break; case 92: - N += Lu(Ur() - 1, 7); + N += fu(yr() - 1, 7); continue; case 47: - switch (At()) { + switch (ht()) { case 42: case 47: - Nr(Vu(Bu(dt(), Ur()), t, n), c); + ar(yu(pu(Xe(), yr()), t, n), c); break; default: N += "/"; } break; case 123 * f: - l[u++] = Ct(N) * S; + l[u++] = dt(N) * S; case 125 * f: case 59: case 0: - switch (O) { + switch (R) { case 0: case 125: y = 0; case 59 + d: - S == -1 && (N = ve(N, /\f/g, "")), m > 0 && Ct(N) - h && Nr(m > 32 ? Cs(N + ";", r, n, h - 1) : Cs(ve(N, " ", "") + ";", r, n, h - 2), c); + S == -1 && (N = de(N, /\f/g, "")), m > 0 && dt(N) - h && ar(m > 32 ? li(N + ";", r, n, h - 1) : li(de(N, " ", "") + ";", r, n, h - 2), c); break; case 59: N += ";"; default: - if (Nr(w = ws(N, t, n, u, d, i, l, T, v = [], E = [], h), s), O === 123) + if (ar(w = ai(N, t, n, u, d, s, l, T, b = [], E = [], h), i), R === 123) if (d === 0) - zr(N, t, w, w, v, s, h, l, E); + br(N, t, w, w, b, i, h, l, E); else - switch (b === 99 && Xe(N, 3) === 110 ? 100 : b) { + switch (v === 99 && Be(N, 3) === 110 ? 100 : v) { case 100: case 108: case 109: case 115: - zr(e, w, w, r && Nr(ws(e, w, w, 0, 0, i, l, T, i, v = [], h), E), i, E, h, l, r ? v : E); + br(e, w, w, r && ar(ai(e, w, w, 0, 0, s, l, T, s, b = [], h), E), s, E, h, l, r ? b : E); break; default: - zr(N, w, w, w, [""], E, 0, l, E); + br(N, w, w, w, [""], E, 0, l, E); } } u = d = m = 0, f = S = 1, T = N = "", h = a; break; case 58: - h = 1 + Ct(N), m = g; + h = 1 + dt(N), m = g; default: if (f < 1) { - if (O == 123) + if (R == 123) --f; - else if (O == 125 && f++ == 0 && Du() == 125) + else if (R == 125 && f++ == 0 && uu() == 125) continue; } - switch (N += mo(O), O * f) { + switch (N += Vr(R), R * f) { case 38: S = d > 0 ? 1 : (N += "\f", -1); break; case 44: - l[u++] = (Ct(N) - 1) * S, S = 1; + l[u++] = (dt(N) - 1) * S, S = 1; break; case 64: - At() === 45 && (N += Vr(dt())), b = At(), d = h = Ct(T = N += Fu(Ur())), O++; + ht() === 45 && (N += gr(Xe())), v = ht(), d = h = dt(T = N += mu(yr())), R++; break; case 45: - g === 45 && Ct(N) == 2 && (f = 0); + g === 45 && dt(N) == 2 && (f = 0); } } - return s; + return i; } -function ws(e, t, n, r, i, s, a, l, c, u, d) { - for (var h = i - 1, b = i === 0 ? s : [""], m = Wi(b), g = 0, f = 0, y = 0; g < r; ++g) - for (var S = 0, O = dr(e, h + 1, h = Au(f = a[g])), T = e; S < m; ++S) - (T = al(f > 0 ? b[S] + " " + O : ve(O, /&\f/g, b[S]))) && (c[y++] = T); - return yo(e, t, n, i === 0 ? Vi : l, c, u, d); +function ai(e, t, n, r, s, i, a, l, c, u, d) { + for (var h = s - 1, v = s === 0 ? i : [""], m = Ss(v), g = 0, f = 0, y = 0; g < r; ++g) + for (var S = 0, R = Bn(e, h + 1, h = ou(f = a[g])), T = e; S < m; ++S) + (T = Va(f > 0 ? v[S] + " " + R : de(R, /&\f/g, v[S]))) && (c[y++] = T); + return Wr(e, t, n, s === 0 ? vs : l, c, u, d); } -function Vu(e, t, n) { - return yo(e, t, n, il, mo(Mu()), dr(e, 2, -2), 0); +function yu(e, t, n) { + return Wr(e, t, n, Fa, Vr(cu()), Bn(e, 2, -2), 0); } -function Cs(e, t, n, r) { - return yo(e, t, n, zi, dr(e, 0, r), dr(e, r + 1, -1), r); +function li(e, t, n, r) { + return Wr(e, t, n, Es, Bn(e, 0, r), Bn(e, r + 1, -1), r); } -function In(e, t) { - for (var n = "", r = Wi(e), i = 0; i < r; i++) - n += t(e[i], i, e, t) || ""; +function un(e, t) { + for (var n = "", r = Ss(e), s = 0; s < r; s++) + n += t(e[s], s, e, t) || ""; return n; } -function zu(e, t, n, r) { +function gu(e, t, n, r) { switch (e.type) { - case _u: + case ru: if (e.children.length) break; - case Pu: - case zi: + case nu: + case Es: return e.return = e.return || e.value; - case il: + case Fa: return ""; - case sl: - return e.return = e.value + "{" + In(e.children, r) + "}"; - case Vi: + case Ua: + return e.return = e.value + "{" + un(e.children, r) + "}"; + case vs: e.value = e.props.join(","); } - return Ct(n = In(e.children, r)) ? e.return = e.value + "{" + n + "}" : ""; + return dt(n = un(e.children, r)) ? e.return = e.value + "{" + n + "}" : ""; } -function Wu(e) { - var t = Wi(e); - return function(n, r, i, s) { +function bu(e) { + var t = Ss(e); + return function(n, r, s, i) { for (var a = "", l = 0; l < t; l++) - a += e[l](n, r, i, s) || ""; + a += e[l](n, r, s, i) || ""; return a; }; } -function Hu(e) { +function vu(e) { return function(t) { t.root || (t = t.return) && e(t); }; } -function dl(e) { +function qa(e) { var t = /* @__PURE__ */ Object.create(null); return function(n) { return t[n] === void 0 && (t[n] = e(n)), t[n]; }; } -var qu = function(t, n, r) { - for (var i = 0, s = 0; i = s, s = At(), i === 38 && s === 12 && (n[r] = 1), !fr(s); ) - dt(); - return yr(t, st); -}, Gu = function(t, n) { - var r = -1, i = 44; +var Eu = function(t, n, r) { + for (var s = 0, i = 0; s = i, i = ht(), s === 38 && i === 12 && (n[r] = 1), !Fn(i); ) + Xe(); + return Wn(t, Ge); +}, Su = function(t, n) { + var r = -1, s = 44; do - switch (fr(i)) { + switch (Fn(s)) { case 0: - i === 38 && At() === 12 && (n[r] = 1), t[r] += qu(st - 1, n, r); + s === 38 && ht() === 12 && (n[r] = 1), t[r] += Eu(Ge - 1, n, r); break; case 2: - t[r] += Vr(i); + t[r] += gr(s); break; case 4: - if (i === 44) { - t[++r] = At() === 58 ? "&\f" : "", n[r] = t[r].length; + if (s === 44) { + t[++r] = ht() === 58 ? "&\f" : "", n[r] = t[r].length; break; } default: - t[r] += mo(i); + t[r] += Vr(s); } - while (i = dt()); + while (s = Xe()); return t; -}, Yu = function(t, n) { - return ul(Gu(cl(t), n)); -}, Ps = /* @__PURE__ */ new WeakMap(), Ku = function(t) { +}, Tu = function(t, n) { + return Ha(Su(Wa(t), n)); +}, ci = /* @__PURE__ */ new WeakMap(), xu = function(t) { if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo // negative .length indicates that this rule has been already prefixed t.length < 1)) { - for (var n = t.value, r = t.parent, i = t.column === r.column && t.line === r.line; r.type !== "rule"; ) + for (var n = t.value, r = t.parent, s = t.column === r.column && t.line === r.line; r.type !== "rule"; ) if (r = r.parent, !r) return; - if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !Ps.get(r)) && !i) { - Ps.set(t, !0); - for (var s = [], a = Yu(n, s), l = r.props, c = 0, u = 0; c < a.length; c++) + if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !ci.get(r)) && !s) { + ci.set(t, !0); + for (var i = [], a = Tu(n, i), l = r.props, c = 0, u = 0; c < a.length; c++) for (var d = 0; d < l.length; d++, u++) - t.props[u] = s[c] ? a[c].replace(/&\f/g, l[d]) : l[d] + " " + a[c]; + t.props[u] = i[c] ? a[c].replace(/&\f/g, l[d]) : l[d] + " " + a[c]; } } -}, Xu = function(t) { +}, Ou = function(t) { if (t.type === "decl") { var n = t.value; // charcode for l @@ -1075,10 +726,10 @@ var qu = function(t, n, r) { n.charCodeAt(2) === 98 && (t.return = "", t.value = ""); } }; -function fl(e, t) { - switch (Nu(e, t)) { +function Ga(e, t) { + switch (iu(e, t)) { case 5103: - return be + "print-" + e + e; + return ue + "print-" + e + e; case 5737: case 4201: case 3177: @@ -1104,44 +755,44 @@ function fl(e, t) { case 5365: case 5621: case 3829: - return be + e + e; + return ue + e + e; case 5349: case 4246: case 4810: case 6968: case 2756: - return be + e + Kr + e + Qe + e + e; + return ue + e + Or + e + Fe + e + e; case 6828: case 4268: - return be + e + Qe + e + e; + return ue + e + Fe + e + e; case 6165: - return be + e + Qe + "flex-" + e + e; + return ue + e + Fe + "flex-" + e + e; case 5187: - return be + e + ve(e, /(\w+).+(:[^]+)/, be + "box-$1$2" + Qe + "flex-$1$2") + e; + return ue + e + de(e, /(\w+).+(:[^]+)/, ue + "box-$1$2" + Fe + "flex-$1$2") + e; case 5443: - return be + e + Qe + "flex-item-" + ve(e, /flex-|-self/, "") + e; + return ue + e + Fe + "flex-item-" + de(e, /flex-|-self/, "") + e; case 4675: - return be + e + Qe + "flex-line-pack" + ve(e, /align-content|flex-|-self/, "") + e; + return ue + e + Fe + "flex-line-pack" + de(e, /align-content|flex-|-self/, "") + e; case 5548: - return be + e + Qe + ve(e, "shrink", "negative") + e; + return ue + e + Fe + de(e, "shrink", "negative") + e; case 5292: - return be + e + Qe + ve(e, "basis", "preferred-size") + e; + return ue + e + Fe + de(e, "basis", "preferred-size") + e; case 6060: - return be + "box-" + ve(e, "-grow", "") + be + e + Qe + ve(e, "grow", "positive") + e; + return ue + "box-" + de(e, "-grow", "") + ue + e + Fe + de(e, "grow", "positive") + e; case 4554: - return be + ve(e, /([^-])(transform)/g, "$1" + be + "$2") + e; + return ue + de(e, /([^-])(transform)/g, "$1" + ue + "$2") + e; case 6187: - return ve(ve(ve(e, /(zoom-|grab)/, be + "$1"), /(image-set)/, be + "$1"), e, "") + e; + return de(de(de(e, /(zoom-|grab)/, ue + "$1"), /(image-set)/, ue + "$1"), e, "") + e; case 5495: case 3959: - return ve(e, /(image-set\([^]*)/, be + "$1$`$1"); + return de(e, /(image-set\([^]*)/, ue + "$1$`$1"); case 4968: - return ve(ve(e, /(.+:)(flex-)?(.*)/, be + "box-pack:$3" + Qe + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + be + e + e; + return de(de(e, /(.+:)(flex-)?(.*)/, ue + "box-pack:$3" + Fe + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + ue + e + e; case 4095: case 3583: case 4068: case 2532: - return ve(e, /(.+)-inline(.+)/, be + "$1$2") + e; + return de(e, /(.+)-inline(.+)/, ue + "$1$2") + e; case 8116: case 7059: case 5753: @@ -1154,68 +805,68 @@ function fl(e, t) { case 5789: case 5021: case 4765: - if (Ct(e) - 1 - t > 6) switch (Xe(e, t + 1)) { + if (dt(e) - 1 - t > 6) switch (Be(e, t + 1)) { case 109: - if (Xe(e, t + 4) !== 45) break; + if (Be(e, t + 4) !== 45) break; case 102: - return ve(e, /(.+:)(.+)-([^]+)/, "$1" + be + "$2-$3$1" + Kr + (Xe(e, t + 3) == 108 ? "$3" : "$2-$3")) + e; + return de(e, /(.+:)(.+)-([^]+)/, "$1" + ue + "$2-$3$1" + Or + (Be(e, t + 3) == 108 ? "$3" : "$2-$3")) + e; case 115: - return ~hi(e, "stretch") ? fl(ve(e, "stretch", "fill-available"), t) + e : e; + return ~qo(e, "stretch") ? Ga(de(e, "stretch", "fill-available"), t) + e : e; } break; case 4949: - if (Xe(e, t + 1) !== 115) break; + if (Be(e, t + 1) !== 115) break; case 6444: - switch (Xe(e, Ct(e) - 3 - (~hi(e, "!important") && 10))) { + switch (Be(e, dt(e) - 3 - (~qo(e, "!important") && 10))) { case 107: - return ve(e, ":", ":" + be) + e; + return de(e, ":", ":" + ue) + e; case 101: - return ve(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + be + (Xe(e, 14) === 45 ? "inline-" : "") + "box$3$1" + be + "$2$3$1" + Qe + "$2box$3") + e; + return de(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + ue + (Be(e, 14) === 45 ? "inline-" : "") + "box$3$1" + ue + "$2$3$1" + Fe + "$2box$3") + e; } break; case 5936: - switch (Xe(e, t + 11)) { + switch (Be(e, t + 11)) { case 114: - return be + e + Qe + ve(e, /[svh]\w+-[tblr]{2}/, "tb") + e; + return ue + e + Fe + de(e, /[svh]\w+-[tblr]{2}/, "tb") + e; case 108: - return be + e + Qe + ve(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e; + return ue + e + Fe + de(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e; case 45: - return be + e + Qe + ve(e, /[svh]\w+-[tblr]{2}/, "lr") + e; + return ue + e + Fe + de(e, /[svh]\w+-[tblr]{2}/, "lr") + e; } - return be + e + Qe + e + e; + return ue + e + Fe + e + e; } return e; } -var Ju = function(t, n, r, i) { +var Ru = function(t, n, r, s) { if (t.length > -1 && !t.return) switch (t.type) { - case zi: - t.return = fl(t.value, t.length); + case Es: + t.return = Ga(t.value, t.length); break; - case sl: - return In([Xn(t, { - value: ve(t.value, "@", "@" + be) - })], i); - case Vi: - if (t.length) return $u(t.props, function(s) { - switch (ku(s, /(::plac\w+|:read-\w+)/)) { + case Ua: + return un([On(t, { + value: de(t.value, "@", "@" + ue) + })], s); + case vs: + if (t.length) return lu(t.props, function(i) { + switch (au(i, /(::plac\w+|:read-\w+)/)) { case ":read-only": case ":read-write": - return In([Xn(t, { - props: [ve(s, /:(read-\w+)/, ":" + Kr + "$1")] - })], i); + return un([On(t, { + props: [de(i, /:(read-\w+)/, ":" + Or + "$1")] + })], s); case "::placeholder": - return In([Xn(t, { - props: [ve(s, /:(plac\w+)/, ":" + be + "input-$1")] - }), Xn(t, { - props: [ve(s, /:(plac\w+)/, ":" + Kr + "$1")] - }), Xn(t, { - props: [ve(s, /:(plac\w+)/, Qe + "input-$1")] - })], i); + return un([On(t, { + props: [de(i, /:(plac\w+)/, ":" + ue + "input-$1")] + }), On(t, { + props: [de(i, /:(plac\w+)/, ":" + Or + "$1")] + }), On(t, { + props: [de(i, /:(plac\w+)/, Fe + "input-$1")] + })], s); } return ""; }); } -}, Qu = [Ju], Zu = function(t) { +}, wu = [Ru], Cu = function(t) { var n = t.key; if (n === "css") { var r = document.querySelectorAll("style[data-emotion]:not([data-s])"); @@ -1224,31 +875,31 @@ var Ju = function(t, n, r, i) { y.indexOf(" ") !== -1 && (document.head.appendChild(f), f.setAttribute("data-s", "")); }); } - var i = t.stylisPlugins || Qu, s = {}, a, l = []; + var s = t.stylisPlugins || wu, i = {}, a, l = []; a = t.container || document.head, Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which // means that the style elements we're looking at are only Emotion 11 server-rendered style elements document.querySelectorAll('style[data-emotion^="' + n + ' "]'), function(f) { for (var y = f.getAttribute("data-emotion").split(" "), S = 1; S < y.length; S++) - s[y[S]] = !0; + i[y[S]] = !0; l.push(f); } ); - var c, u = [Ku, Xu]; + var c, u = [xu, Ou]; { - var d, h = [zu, Hu(function(f) { + var d, h = [gu, vu(function(f) { d.insert(f); - })], b = Wu(u.concat(i, h)), m = function(y) { - return In(Uu(y), b); + })], v = bu(u.concat(s, h)), m = function(y) { + return un(hu(y), v); }; - c = function(y, S, O, T) { - d = O, m(y ? y + "{" + S.styles + "}" : S.styles), T && (g.inserted[S.name] = !0); + c = function(y, S, R, T) { + d = R, m(y ? y + "{" + S.styles + "}" : S.styles), T && (g.inserted[S.name] = !0); }; } var g = { key: n, - sheet: new Cu({ + sheet: new tu({ key: n, container: a, nonce: t.nonce, @@ -1257,12 +908,12 @@ var Ju = function(t, n, r, i) { insertionPoint: t.insertionPoint }), nonce: t.nonce, - inserted: s, + inserted: i, registered: {}, insert: c }; return g.sheet.hydrate(l), g; -}, gi = { exports: {} }, xe = {}; +}, Yo = { exports: {} }, ye = {}; /** @license React v16.13.1 * react-is.production.min.js * @@ -1271,11 +922,11 @@ var Ju = function(t, n, r, i) { * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var _s; -function ed() { - if (_s) return xe; - _s = 1; - var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, O = e ? Symbol.for("react.scope") : 60119; +var ui; +function Pu() { + if (ui) return ye; + ui = 1; + var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, s = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, R = e ? Symbol.for("react.scope") : 60119; function T(E) { if (typeof E == "object" && E !== null) { var w = E.$$typeof; @@ -1285,8 +936,8 @@ function ed() { case c: case u: case r: - case s: case i: + case s: case h: return E; default: @@ -1306,38 +957,38 @@ function ed() { } } } - function v(E) { + function b(E) { return T(E) === u; } - return xe.AsyncMode = c, xe.ConcurrentMode = u, xe.ContextConsumer = l, xe.ContextProvider = a, xe.Element = t, xe.ForwardRef = d, xe.Fragment = r, xe.Lazy = g, xe.Memo = m, xe.Portal = n, xe.Profiler = s, xe.StrictMode = i, xe.Suspense = h, xe.isAsyncMode = function(E) { - return v(E) || T(E) === c; - }, xe.isConcurrentMode = v, xe.isContextConsumer = function(E) { + return ye.AsyncMode = c, ye.ConcurrentMode = u, ye.ContextConsumer = l, ye.ContextProvider = a, ye.Element = t, ye.ForwardRef = d, ye.Fragment = r, ye.Lazy = g, ye.Memo = m, ye.Portal = n, ye.Profiler = i, ye.StrictMode = s, ye.Suspense = h, ye.isAsyncMode = function(E) { + return b(E) || T(E) === c; + }, ye.isConcurrentMode = b, ye.isContextConsumer = function(E) { return T(E) === l; - }, xe.isContextProvider = function(E) { + }, ye.isContextProvider = function(E) { return T(E) === a; - }, xe.isElement = function(E) { + }, ye.isElement = function(E) { return typeof E == "object" && E !== null && E.$$typeof === t; - }, xe.isForwardRef = function(E) { + }, ye.isForwardRef = function(E) { return T(E) === d; - }, xe.isFragment = function(E) { + }, ye.isFragment = function(E) { return T(E) === r; - }, xe.isLazy = function(E) { + }, ye.isLazy = function(E) { return T(E) === g; - }, xe.isMemo = function(E) { + }, ye.isMemo = function(E) { return T(E) === m; - }, xe.isPortal = function(E) { + }, ye.isPortal = function(E) { return T(E) === n; - }, xe.isProfiler = function(E) { - return T(E) === s; - }, xe.isStrictMode = function(E) { + }, ye.isProfiler = function(E) { return T(E) === i; - }, xe.isSuspense = function(E) { + }, ye.isStrictMode = function(E) { + return T(E) === s; + }, ye.isSuspense = function(E) { return T(E) === h; - }, xe.isValidElementType = function(E) { - return typeof E == "string" || typeof E == "function" || E === r || E === u || E === s || E === i || E === h || E === b || typeof E == "object" && E !== null && (E.$$typeof === g || E.$$typeof === m || E.$$typeof === a || E.$$typeof === l || E.$$typeof === d || E.$$typeof === y || E.$$typeof === S || E.$$typeof === O || E.$$typeof === f); - }, xe.typeOf = T, xe; + }, ye.isValidElementType = function(E) { + return typeof E == "string" || typeof E == "function" || E === r || E === u || E === i || E === s || E === h || E === v || typeof E == "object" && E !== null && (E.$$typeof === g || E.$$typeof === m || E.$$typeof === a || E.$$typeof === l || E.$$typeof === d || E.$$typeof === y || E.$$typeof === S || E.$$typeof === R || E.$$typeof === f); + }, ye.typeOf = T, ye; } -var Re = {}; +var ge = {}; /** @license React v16.13.1 * react-is.development.js * @@ -1346,30 +997,30 @@ var Re = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var As; -function td() { - return As || (As = 1, process.env.NODE_ENV !== "production" && function() { - var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, O = e ? Symbol.for("react.scope") : 60119; - function T(P) { - return typeof P == "string" || typeof P == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. - P === r || P === u || P === s || P === i || P === h || P === b || typeof P == "object" && P !== null && (P.$$typeof === g || P.$$typeof === m || P.$$typeof === a || P.$$typeof === l || P.$$typeof === d || P.$$typeof === y || P.$$typeof === S || P.$$typeof === O || P.$$typeof === f); +var di; +function _u() { + return di || (di = 1, process.env.NODE_ENV !== "production" && function() { + var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, s = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, R = e ? Symbol.for("react.scope") : 60119; + function T(_) { + return typeof _ == "string" || typeof _ == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. + _ === r || _ === u || _ === i || _ === s || _ === h || _ === v || typeof _ == "object" && _ !== null && (_.$$typeof === g || _.$$typeof === m || _.$$typeof === a || _.$$typeof === l || _.$$typeof === d || _.$$typeof === y || _.$$typeof === S || _.$$typeof === R || _.$$typeof === f); } - function v(P) { - if (typeof P == "object" && P !== null) { - var de = P.$$typeof; - switch (de) { + function b(_) { + if (typeof _ == "object" && _ !== null) { + var ae = _.$$typeof; + switch (ae) { case t: - var re = P.type; - switch (re) { + var ne = _.type; + switch (ne) { case c: case u: case r: - case s: case i: + case s: case h: - return re; + return ne; default: - var me = re && re.$$typeof; + var me = ne && ne.$$typeof; switch (me) { case l: case d: @@ -1378,83 +1029,83 @@ function td() { case a: return me; default: - return de; + return ae; } } case n: - return de; + return ae; } } } - var E = c, w = u, N = l, L = a, z = t, H = d, F = r, p = g, _ = m, A = n, M = s, j = i, q = h, te = !1; - function K(P) { - 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.")), I(P) || v(P) === c; + var E = c, w = u, N = l, j = a, z = t, q = d, F = r, p = g, I = m, A = n, D = i, L = s, G = h, Q = !1; + function K(_) { + return Q || (Q = !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.")), O(_) || b(_) === c; } - function I(P) { - return v(P) === u; + function O(_) { + return b(_) === u; } - function D(P) { - return v(P) === l; + function P(_) { + return b(_) === l; } - function W(P) { - return v(P) === a; + function B(_) { + return b(_) === a; } - function B(P) { - return typeof P == "object" && P !== null && P.$$typeof === t; + function M(_) { + return typeof _ == "object" && _ !== null && _.$$typeof === t; } - function X(P) { - return v(P) === d; + function W(_) { + return b(_) === d; } - function Q(P) { - return v(P) === r; + function H(_) { + return b(_) === r; } - function G(P) { - return v(P) === g; + function Y(_) { + return b(_) === g; } - function J(P) { - return v(P) === m; + function X(_) { + return b(_) === m; } - function Y(P) { - return v(P) === n; + function U(_) { + return b(_) === n; } - function Z(P) { - return v(P) === s; + function J(_) { + return b(_) === i; } - function V(P) { - return v(P) === i; + function V(_) { + return b(_) === s; } - function ne(P) { - return v(P) === h; + function Z(_) { + return b(_) === h; } - Re.AsyncMode = E, Re.ConcurrentMode = w, Re.ContextConsumer = N, Re.ContextProvider = L, Re.Element = z, Re.ForwardRef = H, Re.Fragment = F, Re.Lazy = p, Re.Memo = _, Re.Portal = A, Re.Profiler = M, Re.StrictMode = j, Re.Suspense = q, Re.isAsyncMode = K, Re.isConcurrentMode = I, Re.isContextConsumer = D, Re.isContextProvider = W, Re.isElement = B, Re.isForwardRef = X, Re.isFragment = Q, Re.isLazy = G, Re.isMemo = J, Re.isPortal = Y, Re.isProfiler = Z, Re.isStrictMode = V, Re.isSuspense = ne, Re.isValidElementType = T, Re.typeOf = v; - }()), Re; + ge.AsyncMode = E, ge.ConcurrentMode = w, ge.ContextConsumer = N, ge.ContextProvider = j, ge.Element = z, ge.ForwardRef = q, ge.Fragment = F, ge.Lazy = p, ge.Memo = I, ge.Portal = A, ge.Profiler = D, ge.StrictMode = L, ge.Suspense = G, ge.isAsyncMode = K, ge.isConcurrentMode = O, ge.isContextConsumer = P, ge.isContextProvider = B, ge.isElement = M, ge.isForwardRef = W, ge.isFragment = H, ge.isLazy = Y, ge.isMemo = X, ge.isPortal = U, ge.isProfiler = J, ge.isStrictMode = V, ge.isSuspense = Z, ge.isValidElementType = T, ge.typeOf = b; + }()), ge; } -process.env.NODE_ENV === "production" ? gi.exports = ed() : gi.exports = td(); -var nd = gi.exports, pl = nd, rd = { +process.env.NODE_ENV === "production" ? Yo.exports = Pu() : Yo.exports = _u(); +var Au = Yo.exports, Ya = Au, Iu = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 -}, od = { +}, Nu = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 -}, ml = {}; -ml[pl.ForwardRef] = rd; -ml[pl.Memo] = od; -var id = !0; -function hl(e, t, n) { +}, Ka = {}; +Ka[Ya.ForwardRef] = Iu; +Ka[Ya.Memo] = Nu; +var ku = !0; +function Xa(e, t, n) { var r = ""; - return n.split(" ").forEach(function(i) { - e[i] !== void 0 ? t.push(e[i] + ";") : i && (r += i + " "); + return n.split(" ").forEach(function(s) { + e[s] !== void 0 ? t.push(e[s] + ";") : s && (r += s + " "); }), r; } -var Hi = function(t, n, r) { - var i = t.key + "-" + n.name; +var Ts = function(t, n, r) { + var s = t.key + "-" + n.name; // we only need to add the styles to the registered cache if the // class name could be used further down // the tree but if it's a string tag, we know it won't @@ -1464,25 +1115,25 @@ var Hi = function(t, n, r) { // in node since emotion-server relies on whether a style is in // the registered cache to know whether a style is global or not // also, note that this check will be dead code eliminated in the browser - id === !1) && t.registered[i] === void 0 && (t.registered[i] = n.styles); -}, qi = function(t, n, r) { - Hi(t, n, r); - var i = t.key + "-" + n.name; + ku === !1) && t.registered[s] === void 0 && (t.registered[s] = n.styles); +}, xs = function(t, n, r) { + Ts(t, n, r); + var s = t.key + "-" + n.name; if (t.inserted[n.name] === void 0) { - var s = n; + var i = n; do - t.insert(n === s ? "." + i : "", s, t.sheet, !0), s = s.next; - while (s !== void 0); + t.insert(n === i ? "." + s : "", i, t.sheet, !0), i = i.next; + while (i !== void 0); } }; -function sd(e) { - for (var t = 0, n, r = 0, i = e.length; i >= 4; ++r, i -= 4) +function $u(e) { + for (var t = 0, n, r = 0, s = e.length; s >= 4; ++r, s -= 4) n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */ n >>> 24, t = /* Math.imul(k, m): */ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16); - switch (i) { + switch (s) { case 3: t ^= (e.charCodeAt(r + 2) & 255) << 16; case 2: @@ -1494,7 +1145,7 @@ function sd(e) { return t ^= t >>> 13, t = /* Math.imul(h, m): */ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36); } -var ad = { +var Mu = { animationIterationCount: 1, aspectRatio: 1, borderImageOutset: 1, @@ -1543,28 +1194,28 @@ var ad = { strokeMiterlimit: 1, strokeOpacity: 1, strokeWidth: 1 -}, ld = /[A-Z]|^ms/g, cd = /_EMO_([^_]+?)_([^]*?)_EMO_/g, yl = function(t) { +}, Du = /[A-Z]|^ms/g, Lu = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Ja = function(t) { return t.charCodeAt(1) === 45; -}, Is = function(t) { +}, fi = function(t) { return t != null && typeof t != "boolean"; -}, Yo = /* @__PURE__ */ dl(function(e) { - return yl(e) ? e : e.replace(ld, "-$&").toLowerCase(); -}), Ns = function(t, n) { +}, Ro = /* @__PURE__ */ qa(function(e) { + return Ja(e) ? e : e.replace(Du, "-$&").toLowerCase(); +}), pi = function(t, n) { switch (t) { case "animation": case "animationName": if (typeof n == "string") - return n.replace(cd, function(r, i, s) { - return Pt = { - name: i, - styles: s, - next: Pt - }, i; + return n.replace(Lu, function(r, s, i) { + return ft = { + name: s, + styles: i, + next: ft + }, s; }); } - return ad[t] !== 1 && !yl(t) && typeof n == "number" && n !== 0 ? n + "px" : n; + return Mu[t] !== 1 && !Ja(t) && typeof n == "number" && n !== 0 ? n + "px" : n; }; -function pr(e, t, n) { +function Un(e, t, n) { if (n == null) return ""; var r = n; @@ -1574,32 +1225,32 @@ function pr(e, t, n) { case "boolean": return ""; case "object": { - var i = n; - if (i.anim === 1) - return Pt = { - name: i.name, - styles: i.styles, - next: Pt - }, i.name; var s = n; - if (s.styles !== void 0) { - var a = s.next; + if (s.anim === 1) + return ft = { + name: s.name, + styles: s.styles, + next: ft + }, s.name; + var i = n; + if (i.styles !== void 0) { + var a = i.next; if (a !== void 0) for (; a !== void 0; ) - Pt = { + ft = { name: a.name, styles: a.styles, - next: Pt + next: ft }, a = a.next; - var l = s.styles + ";"; + var l = i.styles + ";"; return l; } - return ud(e, t, n); + return ju(e, t, n); } case "function": { if (e !== void 0) { - var c = Pt, u = n(e); - return Pt = c, pr(e, t, u); + var c = ft, u = n(e); + return ft = c, Un(e, t, u); } break; } @@ -1610,153 +1261,153 @@ function pr(e, t, n) { var h = t[d]; return h !== void 0 ? h : d; } -function ud(e, t, n) { +function ju(e, t, n) { var r = ""; if (Array.isArray(n)) - for (var i = 0; i < n.length; i++) - r += pr(e, t, n[i]) + ";"; + for (var s = 0; s < n.length; s++) + r += Un(e, t, n[s]) + ";"; else - for (var s in n) { - var a = n[s]; + for (var i in n) { + var a = n[i]; if (typeof a != "object") { var l = a; - t != null && t[l] !== void 0 ? r += s + "{" + t[l] + "}" : Is(l) && (r += Yo(s) + ":" + Ns(s, l) + ";"); + t != null && t[l] !== void 0 ? r += i + "{" + t[l] + "}" : fi(l) && (r += Ro(i) + ":" + pi(i, l) + ";"); } else if (Array.isArray(a) && typeof a[0] == "string" && (t == null || t[a[0]] === void 0)) for (var c = 0; c < a.length; c++) - Is(a[c]) && (r += Yo(s) + ":" + Ns(s, a[c]) + ";"); + fi(a[c]) && (r += Ro(i) + ":" + pi(i, a[c]) + ";"); else { - var u = pr(e, t, a); - switch (s) { + var u = Un(e, t, a); + switch (i) { case "animation": case "animationName": { - r += Yo(s) + ":" + u + ";"; + r += Ro(i) + ":" + u + ";"; break; } default: - r += s + "{" + u + "}"; + r += i + "{" + u + "}"; } } } return r; } -var ks = /label:\s*([^\s;{]+)\s*(;|$)/g, Pt; -function gr(e, t, n) { +var mi = /label:\s*([^\s;{]+)\s*(;|$)/g, ft; +function Hn(e, t, n) { if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0) return e[0]; - var r = !0, i = ""; - Pt = void 0; - var s = e[0]; - if (s == null || s.raw === void 0) - r = !1, i += pr(n, t, s); + var r = !0, s = ""; + ft = void 0; + var i = e[0]; + if (i == null || i.raw === void 0) + r = !1, s += Un(n, t, i); else { - var a = s; - i += a[0]; + var a = i; + s += a[0]; } for (var l = 1; l < e.length; l++) - if (i += pr(n, t, e[l]), r) { - var c = s; - i += c[l]; + if (s += Un(n, t, e[l]), r) { + var c = i; + s += c[l]; } - ks.lastIndex = 0; - for (var u = "", d; (d = ks.exec(i)) !== null; ) + mi.lastIndex = 0; + for (var u = "", d; (d = mi.exec(s)) !== null; ) u += "-" + d[1]; - var h = sd(i) + u; + var h = $u(s) + u; return { name: h, - styles: i, - next: Pt + styles: s, + next: ft }; } -var dd = function(t) { +var Bu = function(t) { return t(); -}, gl = x.useInsertionEffect ? x.useInsertionEffect : !1, bl = gl || dd, $s = gl || x.useLayoutEffect, vl = /* @__PURE__ */ x.createContext( +}, Qa = x.useInsertionEffect ? x.useInsertionEffect : !1, Za = Qa || Bu, hi = Qa || x.useLayoutEffect, el = /* @__PURE__ */ x.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case // because this module is primarily intended for the browser and node // but it's also required in react native and similar environments sometimes // and we could have a special build just for that // but this is much easier and the native packages // might use a different theme context in the future anyway - typeof HTMLElement < "u" ? /* @__PURE__ */ Zu({ + typeof HTMLElement < "u" ? /* @__PURE__ */ Cu({ key: "css" }) : null ); -vl.Provider; -var Gi = function(t) { - return /* @__PURE__ */ hu(function(n, r) { - var i = yu(vl); - return t(n, i, r); +el.Provider; +var Os = function(t) { + return /* @__PURE__ */ zc(function(n, r) { + var s = Wc(el); + return t(n, s, r); }); -}, go = /* @__PURE__ */ x.createContext({}), Yi = {}.hasOwnProperty, bi = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", fd = function(t, n) { +}, Hr = /* @__PURE__ */ x.createContext({}), Rs = {}.hasOwnProperty, Ko = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Fu = function(t, n) { var r = {}; - for (var i in n) - Yi.call(n, i) && (r[i] = n[i]); - return r[bi] = t, r; -}, pd = function(t) { - var n = t.cache, r = t.serialized, i = t.isStringTag; - return Hi(n, r, i), bl(function() { - return qi(n, r, i); + for (var s in n) + Rs.call(n, s) && (r[s] = n[s]); + return r[Ko] = t, r; +}, Uu = function(t) { + var n = t.cache, r = t.serialized, s = t.isStringTag; + return Ts(n, r, s), Za(function() { + return xs(n, r, s); }), null; -}, md = /* @__PURE__ */ Gi(function(e, t, n) { +}, Vu = /* @__PURE__ */ Os(function(e, t, n) { var r = e.css; typeof r == "string" && t.registered[r] !== void 0 && (r = t.registered[r]); - var i = e[bi], s = [r], a = ""; - typeof e.className == "string" ? a = hl(t.registered, s, e.className) : e.className != null && (a = e.className + " "); - var l = gr(s, void 0, x.useContext(go)); + var s = e[Ko], i = [r], a = ""; + typeof e.className == "string" ? a = Xa(t.registered, i, e.className) : e.className != null && (a = e.className + " "); + var l = Hn(i, void 0, x.useContext(Hr)); a += t.key + "-" + l.name; var c = {}; for (var u in e) - Yi.call(e, u) && u !== "css" && u !== bi && (c[u] = e[u]); - return c.className = a, n && (c.ref = n), /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement(pd, { + Rs.call(e, u) && u !== "css" && u !== Ko && (c[u] = e[u]); + return c.className = a, n && (c.ref = n), /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement(Uu, { cache: t, serialized: l, - isStringTag: typeof i == "string" - }), /* @__PURE__ */ x.createElement(i, c)); -}), hd = md, Ms = function(t, n) { + isStringTag: typeof s == "string" + }), /* @__PURE__ */ x.createElement(s, c)); +}), zu = Vu, yi = function(t, n) { var r = arguments; - if (n == null || !Yi.call(n, "css")) + if (n == null || !Rs.call(n, "css")) return x.createElement.apply(void 0, r); - var i = r.length, s = new Array(i); - s[0] = hd, s[1] = fd(t, n); - for (var a = 2; a < i; a++) - s[a] = r[a]; - return x.createElement.apply(null, s); + var s = r.length, i = new Array(s); + i[0] = zu, i[1] = Fu(t, n); + for (var a = 2; a < s; a++) + i[a] = r[a]; + return x.createElement.apply(null, i); }; (function(e) { var t; t || (t = e.JSX || (e.JSX = {})); -})(Ms || (Ms = {})); -var yd = /* @__PURE__ */ Gi(function(e, t) { - var n = e.styles, r = gr([n], void 0, x.useContext(go)), i = x.useRef(); - return $s(function() { - var s = t.key + "-global", a = new t.sheet.constructor({ - key: s, +})(yi || (yi = {})); +var Wu = /* @__PURE__ */ Os(function(e, t) { + var n = e.styles, r = Hn([n], void 0, x.useContext(Hr)), s = x.useRef(); + return hi(function() { + var i = t.key + "-global", a = new t.sheet.constructor({ + key: i, nonce: t.sheet.nonce, container: t.sheet.container, speedy: t.sheet.isSpeedy - }), l = !1, c = document.querySelector('style[data-emotion="' + s + " " + r.name + '"]'); - return t.sheet.tags.length && (a.before = t.sheet.tags[0]), c !== null && (l = !0, c.setAttribute("data-emotion", s), a.hydrate([c])), i.current = [a, l], function() { + }), l = !1, c = document.querySelector('style[data-emotion="' + i + " " + r.name + '"]'); + return t.sheet.tags.length && (a.before = t.sheet.tags[0]), c !== null && (l = !0, c.setAttribute("data-emotion", i), a.hydrate([c])), s.current = [a, l], function() { a.flush(); }; - }, [t]), $s(function() { - var s = i.current, a = s[0], l = s[1]; + }, [t]), hi(function() { + var i = s.current, a = i[0], l = i[1]; if (l) { - s[1] = !1; + i[1] = !1; return; } - if (r.next !== void 0 && qi(t, r.next, !0), a.tags.length) { + if (r.next !== void 0 && xs(t, r.next, !0), a.tags.length) { var c = a.tags[a.tags.length - 1].nextElementSibling; a.before = c, a.flush(); } t.insert("", r, a, !1); }, [t, r.name]), null; }); -function Ki() { +function ws() { for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n]; - return gr(t); + return Hn(t); } -function br() { - var e = Ki.apply(void 0, arguments), t = "animation-" + e.name; +function qn() { + var e = ws.apply(void 0, arguments), t = "animation-" + e.name; return { name: t, styles: "@keyframes " + t + "{" + e.styles + "}", @@ -1766,78 +1417,78 @@ function br() { } }; } -var gd = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, bd = /* @__PURE__ */ dl( +var Hu = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, qu = /* @__PURE__ */ qa( function(e) { - return gd.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91; + return Hu.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91; } /* Z+1 */ -), vd = bd, Ed = function(t) { +), Gu = qu, Yu = function(t) { return t !== "theme"; -}, Ds = function(t) { +}, gi = function(t) { return typeof t == "string" && // 96 is one less than the char code // for "a" so this is checking that // it's a lowercase character - t.charCodeAt(0) > 96 ? vd : Ed; -}, js = function(t, n, r) { - var i; + t.charCodeAt(0) > 96 ? Gu : Yu; +}, bi = function(t, n, r) { + var s; if (n) { - var s = n.shouldForwardProp; - i = t.__emotion_forwardProp && s ? function(a) { - return t.__emotion_forwardProp(a) && s(a); - } : s; + var i = n.shouldForwardProp; + s = t.__emotion_forwardProp && i ? function(a) { + return t.__emotion_forwardProp(a) && i(a); + } : i; } - return typeof i != "function" && r && (i = t.__emotion_forwardProp), i; -}, Sd = function(t) { - var n = t.cache, r = t.serialized, i = t.isStringTag; - return Hi(n, r, i), bl(function() { - return qi(n, r, i); + return typeof s != "function" && r && (s = t.__emotion_forwardProp), s; +}, Ku = function(t) { + var n = t.cache, r = t.serialized, s = t.isStringTag; + return Ts(n, r, s), Za(function() { + return xs(n, r, s); }), null; -}, Td = function e(t, n) { - var r = t.__emotion_real === t, i = r && t.__emotion_base || t, s, a; - n !== void 0 && (s = n.label, a = n.target); - var l = js(t, n, r), c = l || Ds(i), u = !c("as"); +}, Xu = function e(t, n) { + var r = t.__emotion_real === t, s = r && t.__emotion_base || t, i, a; + n !== void 0 && (i = n.label, a = n.target); + var l = bi(t, n, r), c = l || gi(s), u = !c("as"); return function() { var d = arguments, h = r && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : []; - if (s !== void 0 && h.push("label:" + s + ";"), d[0] == null || d[0].raw === void 0) + if (i !== void 0 && h.push("label:" + i + ";"), d[0] == null || d[0].raw === void 0) h.push.apply(h, d); else { - var b = d[0]; - h.push(b[0]); + var v = d[0]; + h.push(v[0]); for (var m = d.length, g = 1; g < m; g++) - h.push(d[g], b[g]); + h.push(d[g], v[g]); } - var f = Gi(function(y, S, O) { - var T = u && y.as || i, v = "", E = [], w = y; + var f = Os(function(y, S, R) { + var T = u && y.as || s, b = "", E = [], w = y; if (y.theme == null) { w = {}; for (var N in y) w[N] = y[N]; - w.theme = x.useContext(go); + w.theme = x.useContext(Hr); } - typeof y.className == "string" ? v = hl(S.registered, E, y.className) : y.className != null && (v = y.className + " "); - var L = gr(h.concat(E), S.registered, w); - v += S.key + "-" + L.name, a !== void 0 && (v += " " + a); - var z = u && l === void 0 ? Ds(T) : c, H = {}; + typeof y.className == "string" ? b = Xa(S.registered, E, y.className) : y.className != null && (b = y.className + " "); + var j = Hn(h.concat(E), S.registered, w); + b += S.key + "-" + j.name, a !== void 0 && (b += " " + a); + var z = u && l === void 0 ? gi(T) : c, q = {}; for (var F in y) - u && F === "as" || z(F) && (H[F] = y[F]); - return H.className = v, O && (H.ref = O), /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement(Sd, { + u && F === "as" || z(F) && (q[F] = y[F]); + return q.className = b, R && (q.ref = R), /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement(Ku, { cache: S, - serialized: L, + serialized: j, isStringTag: typeof T == "string" - }), /* @__PURE__ */ x.createElement(T, H)); + }), /* @__PURE__ */ x.createElement(T, q)); }); - return f.displayName = s !== void 0 ? s : "Styled(" + (typeof i == "string" ? i : i.displayName || i.name || "Component") + ")", f.defaultProps = t.defaultProps, f.__emotion_real = f, f.__emotion_base = i, f.__emotion_styles = h, f.__emotion_forwardProp = l, Object.defineProperty(f, "toString", { + return f.displayName = i !== void 0 ? i : "Styled(" + (typeof s == "string" ? s : s.displayName || s.name || "Component") + ")", f.defaultProps = t.defaultProps, f.__emotion_real = f, f.__emotion_base = s, f.__emotion_styles = h, f.__emotion_forwardProp = l, Object.defineProperty(f, "toString", { value: function() { return "." + a; } }), f.withComponent = function(y, S) { - var O = e(y, Yr({}, n, S, { - shouldForwardProp: js(f, S, !0) + var R = e(y, xr({}, n, S, { + shouldForwardProp: bi(f, S, !0) })); - return O.apply(void 0, h); + return R.apply(void 0, h); }, f; }; -}, xd = [ +}, Ju = [ "a", "abbr", "address", @@ -1973,11 +1624,11 @@ var gd = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def "svg", "text", "tspan" -], vi = Td.bind(null); -xd.forEach(function(e) { - vi[e] = vi(e); +], Xo = Xu.bind(null); +Ju.forEach(function(e) { + Xo[e] = Xo(e); }); -var Ei = { exports: {} }, kr = { exports: {} }, Oe = {}; +var Jo = { exports: {} }, lr = { exports: {} }, be = {}; /** @license React v16.13.1 * react-is.production.min.js * @@ -1986,11 +1637,11 @@ var Ei = { exports: {} }, kr = { exports: {} }, Oe = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var Ls; -function Rd() { - if (Ls) return Oe; - Ls = 1; - var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, O = e ? Symbol.for("react.scope") : 60119; +var vi; +function Qu() { + if (vi) return be; + vi = 1; + var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, s = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, R = e ? Symbol.for("react.scope") : 60119; function T(E) { if (typeof E == "object" && E !== null) { var w = E.$$typeof; @@ -2000,8 +1651,8 @@ function Rd() { case c: case u: case r: - case s: case i: + case s: case h: return E; default: @@ -2021,38 +1672,38 @@ function Rd() { } } } - function v(E) { + function b(E) { return T(E) === u; } - return Oe.AsyncMode = c, Oe.ConcurrentMode = u, Oe.ContextConsumer = l, Oe.ContextProvider = a, Oe.Element = t, Oe.ForwardRef = d, Oe.Fragment = r, Oe.Lazy = g, Oe.Memo = m, Oe.Portal = n, Oe.Profiler = s, Oe.StrictMode = i, Oe.Suspense = h, Oe.isAsyncMode = function(E) { - return v(E) || T(E) === c; - }, Oe.isConcurrentMode = v, Oe.isContextConsumer = function(E) { + return be.AsyncMode = c, be.ConcurrentMode = u, be.ContextConsumer = l, be.ContextProvider = a, be.Element = t, be.ForwardRef = d, be.Fragment = r, be.Lazy = g, be.Memo = m, be.Portal = n, be.Profiler = i, be.StrictMode = s, be.Suspense = h, be.isAsyncMode = function(E) { + return b(E) || T(E) === c; + }, be.isConcurrentMode = b, be.isContextConsumer = function(E) { return T(E) === l; - }, Oe.isContextProvider = function(E) { + }, be.isContextProvider = function(E) { return T(E) === a; - }, Oe.isElement = function(E) { + }, be.isElement = function(E) { return typeof E == "object" && E !== null && E.$$typeof === t; - }, Oe.isForwardRef = function(E) { + }, be.isForwardRef = function(E) { return T(E) === d; - }, Oe.isFragment = function(E) { + }, be.isFragment = function(E) { return T(E) === r; - }, Oe.isLazy = function(E) { + }, be.isLazy = function(E) { return T(E) === g; - }, Oe.isMemo = function(E) { + }, be.isMemo = function(E) { return T(E) === m; - }, Oe.isPortal = function(E) { + }, be.isPortal = function(E) { return T(E) === n; - }, Oe.isProfiler = function(E) { - return T(E) === s; - }, Oe.isStrictMode = function(E) { + }, be.isProfiler = function(E) { return T(E) === i; - }, Oe.isSuspense = function(E) { + }, be.isStrictMode = function(E) { + return T(E) === s; + }, be.isSuspense = function(E) { return T(E) === h; - }, Oe.isValidElementType = function(E) { - return typeof E == "string" || typeof E == "function" || E === r || E === u || E === s || E === i || E === h || E === b || typeof E == "object" && E !== null && (E.$$typeof === g || E.$$typeof === m || E.$$typeof === a || E.$$typeof === l || E.$$typeof === d || E.$$typeof === y || E.$$typeof === S || E.$$typeof === O || E.$$typeof === f); - }, Oe.typeOf = T, Oe; + }, be.isValidElementType = function(E) { + return typeof E == "string" || typeof E == "function" || E === r || E === u || E === i || E === s || E === h || E === v || typeof E == "object" && E !== null && (E.$$typeof === g || E.$$typeof === m || E.$$typeof === a || E.$$typeof === l || E.$$typeof === d || E.$$typeof === y || E.$$typeof === S || E.$$typeof === R || E.$$typeof === f); + }, be.typeOf = T, be; } -var we = {}; +var ve = {}; /** @license React v16.13.1 * react-is.development.js * @@ -2061,30 +1712,30 @@ var we = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var Bs; -function Od() { - return Bs || (Bs = 1, process.env.NODE_ENV !== "production" && function() { - var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, O = e ? Symbol.for("react.scope") : 60119; - function T(P) { - return typeof P == "string" || typeof P == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. - P === r || P === u || P === s || P === i || P === h || P === b || typeof P == "object" && P !== null && (P.$$typeof === g || P.$$typeof === m || P.$$typeof === a || P.$$typeof === l || P.$$typeof === d || P.$$typeof === y || P.$$typeof === S || P.$$typeof === O || P.$$typeof === f); +var Ei; +function Zu() { + return Ei || (Ei = 1, process.env.NODE_ENV !== "production" && function() { + var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, s = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, R = e ? Symbol.for("react.scope") : 60119; + function T(_) { + return typeof _ == "string" || typeof _ == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. + _ === r || _ === u || _ === i || _ === s || _ === h || _ === v || typeof _ == "object" && _ !== null && (_.$$typeof === g || _.$$typeof === m || _.$$typeof === a || _.$$typeof === l || _.$$typeof === d || _.$$typeof === y || _.$$typeof === S || _.$$typeof === R || _.$$typeof === f); } - function v(P) { - if (typeof P == "object" && P !== null) { - var de = P.$$typeof; - switch (de) { + function b(_) { + if (typeof _ == "object" && _ !== null) { + var ae = _.$$typeof; + switch (ae) { case t: - var re = P.type; - switch (re) { + var ne = _.type; + switch (ne) { case c: case u: case r: - case s: case i: + case s: case h: - return re; + return ne; default: - var me = re && re.$$typeof; + var me = ne && ne.$$typeof; switch (me) { case l: case d: @@ -2093,82 +1744,82 @@ function Od() { case a: return me; default: - return de; + return ae; } } case n: - return de; + return ae; } } } - var E = c, w = u, N = l, L = a, z = t, H = d, F = r, p = g, _ = m, A = n, M = s, j = i, q = h, te = !1; - function K(P) { - 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.")), I(P) || v(P) === c; + var E = c, w = u, N = l, j = a, z = t, q = d, F = r, p = g, I = m, A = n, D = i, L = s, G = h, Q = !1; + function K(_) { + return Q || (Q = !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.")), O(_) || b(_) === c; } - function I(P) { - return v(P) === u; + function O(_) { + return b(_) === u; } - function D(P) { - return v(P) === l; + function P(_) { + return b(_) === l; } - function W(P) { - return v(P) === a; + function B(_) { + return b(_) === a; } - function B(P) { - return typeof P == "object" && P !== null && P.$$typeof === t; + function M(_) { + return typeof _ == "object" && _ !== null && _.$$typeof === t; } - function X(P) { - return v(P) === d; + function W(_) { + return b(_) === d; } - function Q(P) { - return v(P) === r; + function H(_) { + return b(_) === r; } - function G(P) { - return v(P) === g; + function Y(_) { + return b(_) === g; } - function J(P) { - return v(P) === m; + function X(_) { + return b(_) === m; } - function Y(P) { - return v(P) === n; + function U(_) { + return b(_) === n; } - function Z(P) { - return v(P) === s; + function J(_) { + return b(_) === i; } - function V(P) { - return v(P) === i; + function V(_) { + return b(_) === s; } - function ne(P) { - return v(P) === h; + function Z(_) { + return b(_) === h; } - we.AsyncMode = E, we.ConcurrentMode = w, we.ContextConsumer = N, we.ContextProvider = L, we.Element = z, we.ForwardRef = H, we.Fragment = F, we.Lazy = p, we.Memo = _, we.Portal = A, we.Profiler = M, we.StrictMode = j, we.Suspense = q, we.isAsyncMode = K, we.isConcurrentMode = I, we.isContextConsumer = D, we.isContextProvider = W, we.isElement = B, we.isForwardRef = X, we.isFragment = Q, we.isLazy = G, we.isMemo = J, we.isPortal = Y, we.isProfiler = Z, we.isStrictMode = V, we.isSuspense = ne, we.isValidElementType = T, we.typeOf = v; - }()), we; + ve.AsyncMode = E, ve.ConcurrentMode = w, ve.ContextConsumer = N, ve.ContextProvider = j, ve.Element = z, ve.ForwardRef = q, ve.Fragment = F, ve.Lazy = p, ve.Memo = I, ve.Portal = A, ve.Profiler = D, ve.StrictMode = L, ve.Suspense = G, ve.isAsyncMode = K, ve.isConcurrentMode = O, ve.isContextConsumer = P, ve.isContextProvider = B, ve.isElement = M, ve.isForwardRef = W, ve.isFragment = H, ve.isLazy = Y, ve.isMemo = X, ve.isPortal = U, ve.isProfiler = J, ve.isStrictMode = V, ve.isSuspense = Z, ve.isValidElementType = T, ve.typeOf = b; + }()), ve; } -var Fs; -function El() { - return Fs || (Fs = 1, process.env.NODE_ENV === "production" ? kr.exports = Rd() : kr.exports = Od()), kr.exports; +var Si; +function tl() { + return Si || (Si = 1, process.env.NODE_ENV === "production" ? lr.exports = Qu() : lr.exports = Zu()), lr.exports; } /* object-assign (c) Sindre Sorhus @license MIT */ -var Ko, Us; -function wd() { - if (Us) return Ko; - Us = 1; +var wo, Ti; +function ed() { + if (Ti) return wo; + Ti = 1; var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable; - function r(s) { - if (s == null) + function r(i) { + if (i == null) throw new TypeError("Object.assign cannot be called with null or undefined"); - return Object(s); + return Object(i); } - function i() { + function s() { try { if (!Object.assign) return !1; - var s = new String("abc"); - if (s[5] = "de", Object.getOwnPropertyNames(s)[0] === "5") + var i = new String("abc"); + if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5") return !1; for (var a = {}, l = 0; l < 10; l++) a["_" + String.fromCharCode(l)] = l; @@ -2185,41 +1836,41 @@ function wd() { return !1; } } - return Ko = i() ? Object.assign : function(s, a) { - for (var l, c = r(s), u, d = 1; d < arguments.length; d++) { + return wo = s() ? Object.assign : function(i, a) { + for (var l, c = r(i), u, d = 1; d < arguments.length; d++) { l = Object(arguments[d]); for (var h in l) t.call(l, h) && (c[h] = l[h]); if (e) { u = e(l); - for (var b = 0; b < u.length; b++) - n.call(l, u[b]) && (c[u[b]] = l[u[b]]); + for (var v = 0; v < u.length; v++) + n.call(l, u[v]) && (c[u[v]] = l[u[v]]); } } return c; - }, Ko; + }, wo; } -var Xo, Vs; -function Xi() { - if (Vs) return Xo; - Vs = 1; +var Co, xi; +function Cs() { + if (xi) return Co; + xi = 1; var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; - return Xo = e, Xo; + return Co = e, Co; } -var Jo, zs; -function Sl() { - return zs || (zs = 1, Jo = Function.call.bind(Object.prototype.hasOwnProperty)), Jo; +var Po, Oi; +function nl() { + return Oi || (Oi = 1, Po = Function.call.bind(Object.prototype.hasOwnProperty)), Po; } -var Qo, Ws; -function Cd() { - if (Ws) return Qo; - Ws = 1; +var _o, Ri; +function td() { + if (Ri) return _o; + Ri = 1; var e = function() { }; if (process.env.NODE_ENV !== "production") { - var t = Xi(), n = {}, r = Sl(); - e = function(s) { - var a = "Warning: " + s; + var t = Cs(), n = {}, r = nl(); + e = function(i) { + var a = "Warning: " + i; typeof console < "u" && console.error(a); try { throw new Error(a); @@ -2227,19 +1878,19 @@ function Cd() { } }; } - function i(s, a, l, c, u) { + function s(i, a, l, c, u) { if (process.env.NODE_ENV !== "production") { - for (var d in s) - if (r(s, d)) { + for (var d in i) + if (r(i, d)) { var h; try { - if (typeof s[d] != "function") { - var b = Error( - (c || "React class") + ": " + l + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`." + if (typeof i[d] != "function") { + var v = Error( + (c || "React class") + ": " + l + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`." ); - throw b.name = "Invariant Violation", b; + throw v.name = "Invariant Violation", v; } - h = s[d](a, d, c, l, null, t); + h = i[d](a, d, c, l, null, t); } catch (g) { h = g; } @@ -2255,17 +1906,17 @@ function Cd() { } } } - return i.resetWarningCache = function() { + return s.resetWarningCache = function() { process.env.NODE_ENV !== "production" && (n = {}); - }, Qo = i, Qo; + }, _o = s, _o; } -var Zo, Hs; -function Pd() { - if (Hs) return Zo; - Hs = 1; - var e = El(), t = wd(), n = Xi(), r = Sl(), i = Cd(), s = function() { +var Ao, wi; +function nd() { + if (wi) return Ao; + wi = 1; + var e = tl(), t = ed(), n = Cs(), r = nl(), s = td(), i = function() { }; - process.env.NODE_ENV !== "production" && (s = function(l) { + process.env.NODE_ENV !== "production" && (i = function(l) { var c = "Warning: " + l; typeof console < "u" && console.error(c); try { @@ -2276,14 +1927,14 @@ function Pd() { function a() { return null; } - return Zo = function(l, c) { + return Ao = function(l, c) { var u = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator"; - function h(I) { - var D = I && (u && I[u] || I[d]); - if (typeof D == "function") - return D; + function h(O) { + var P = O && (u && O[u] || O[d]); + if (typeof P == "function") + return P; } - var b = "<>", m = { + var v = "<>", m = { array: S("array"), bigint: S("bigint"), bool: S("boolean"), @@ -2292,246 +1943,246 @@ function Pd() { object: S("object"), string: S("string"), symbol: S("symbol"), - any: O(), + any: R(), arrayOf: T, - element: v(), + element: b(), elementType: E(), instanceOf: w, - node: H(), - objectOf: L, + node: q(), + objectOf: j, oneOf: N, oneOfType: z, shape: p, - exact: _ + exact: I }; - function g(I, D) { - return I === D ? I !== 0 || 1 / I === 1 / D : I !== I && D !== D; + function g(O, P) { + return O === P ? O !== 0 || 1 / O === 1 / P : O !== O && P !== P; } - function f(I, D) { - this.message = I, this.data = D && typeof D == "object" ? D : {}, this.stack = ""; + function f(O, P) { + this.message = O, this.data = P && typeof P == "object" ? P : {}, this.stack = ""; } f.prototype = Error.prototype; - function y(I) { + function y(O) { if (process.env.NODE_ENV !== "production") - var D = {}, W = 0; - function B(Q, G, J, Y, Z, V, ne) { - if (Y = Y || b, V = V || J, ne !== n) { + var P = {}, B = 0; + function M(H, Y, X, U, J, V, Z) { + if (U = U || v, V = V || X, Z !== n) { if (c) { - var P = new Error( + var _ = 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; + throw _.name = "Invariant Violation", _; } else if (process.env.NODE_ENV !== "production" && typeof console < "u") { - var de = Y + ":" + J; - !D[de] && // Avoid spamming the console because they are often not actionable except for lib authors - W < 3 && (s( - "You are manually calling a React.PropTypes validation function for the `" + V + "` prop on `" + Y + "`. 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." - ), D[de] = !0, W++); + var ae = U + ":" + X; + !P[ae] && // Avoid spamming the console because they are often not actionable except for lib authors + B < 3 && (i( + "You are manually calling a React.PropTypes validation function for the `" + V + "` prop on `" + U + "`. 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." + ), P[ae] = !0, B++); } } - return G[J] == null ? Q ? G[J] === null ? new f("The " + Z + " `" + V + "` is marked as required " + ("in `" + Y + "`, but its value is `null`.")) : new f("The " + Z + " `" + V + "` is marked as required in " + ("`" + Y + "`, but its value is `undefined`.")) : null : I(G, J, Y, Z, V); + return Y[X] == null ? H ? Y[X] === null ? new f("The " + J + " `" + V + "` is marked as required " + ("in `" + U + "`, but its value is `null`.")) : new f("The " + J + " `" + V + "` is marked as required in " + ("`" + U + "`, but its value is `undefined`.")) : null : O(Y, X, U, J, V); } - var X = B.bind(null, !1); - return X.isRequired = B.bind(null, !0), X; + var W = M.bind(null, !1); + return W.isRequired = M.bind(null, !0), W; } - function S(I) { - function D(W, B, X, Q, G, J) { - var Y = W[B], Z = j(Y); - if (Z !== I) { - var V = q(Y); + function S(O) { + function P(B, M, W, H, Y, X) { + var U = B[M], J = L(U); + if (J !== O) { + var V = G(U); return new f( - "Invalid " + Q + " `" + G + "` of type " + ("`" + V + "` supplied to `" + X + "`, expected ") + ("`" + I + "`."), - { expectedType: I } + "Invalid " + H + " `" + Y + "` of type " + ("`" + V + "` supplied to `" + W + "`, expected ") + ("`" + O + "`."), + { expectedType: O } ); } return null; } - return y(D); + return y(P); } - function O() { + function R() { return y(a); } - function T(I) { - function D(W, B, X, Q, G) { - if (typeof I != "function") - return new f("Property `" + G + "` of component `" + X + "` has invalid PropType notation inside arrayOf."); - var J = W[B]; - if (!Array.isArray(J)) { - var Y = j(J); - return new f("Invalid " + Q + " `" + G + "` of type " + ("`" + Y + "` supplied to `" + X + "`, expected an array.")); + function T(O) { + function P(B, M, W, H, Y) { + if (typeof O != "function") + return new f("Property `" + Y + "` of component `" + W + "` has invalid PropType notation inside arrayOf."); + var X = B[M]; + if (!Array.isArray(X)) { + var U = L(X); + return new f("Invalid " + H + " `" + Y + "` of type " + ("`" + U + "` supplied to `" + W + "`, expected an array.")); } - for (var Z = 0; Z < J.length; Z++) { - var V = I(J, Z, X, Q, G + "[" + Z + "]", n); + for (var J = 0; J < X.length; J++) { + var V = O(X, J, W, H, Y + "[" + J + "]", n); if (V instanceof Error) return V; } return null; } - return y(D); + return y(P); } - function v() { - function I(D, W, B, X, Q) { - var G = D[W]; - if (!l(G)) { - var J = j(G); - return new f("Invalid " + X + " `" + Q + "` of type " + ("`" + J + "` supplied to `" + B + "`, expected a single ReactElement.")); + function b() { + function O(P, B, M, W, H) { + var Y = P[B]; + if (!l(Y)) { + var X = L(Y); + return new f("Invalid " + W + " `" + H + "` of type " + ("`" + X + "` supplied to `" + M + "`, expected a single ReactElement.")); } return null; } - return y(I); + return y(O); } function E() { - function I(D, W, B, X, Q) { - var G = D[W]; - if (!e.isValidElementType(G)) { - var J = j(G); - return new f("Invalid " + X + " `" + Q + "` of type " + ("`" + J + "` supplied to `" + B + "`, expected a single ReactElement type.")); + function O(P, B, M, W, H) { + var Y = P[B]; + if (!e.isValidElementType(Y)) { + var X = L(Y); + return new f("Invalid " + W + " `" + H + "` of type " + ("`" + X + "` supplied to `" + M + "`, expected a single ReactElement type.")); } return null; } - return y(I); + return y(O); } - function w(I) { - function D(W, B, X, Q, G) { - if (!(W[B] instanceof I)) { - var J = I.name || b, Y = K(W[B]); - return new f("Invalid " + Q + " `" + G + "` of type " + ("`" + Y + "` supplied to `" + X + "`, expected ") + ("instance of `" + J + "`.")); + function w(O) { + function P(B, M, W, H, Y) { + if (!(B[M] instanceof O)) { + var X = O.name || v, U = K(B[M]); + return new f("Invalid " + H + " `" + Y + "` of type " + ("`" + U + "` supplied to `" + W + "`, expected ") + ("instance of `" + X + "`.")); } return null; } - return y(D); + return y(P); } - function N(I) { - if (!Array.isArray(I)) - return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s( + function N(O) { + if (!Array.isArray(O)) + 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])." - ) : s("Invalid argument supplied to oneOf, expected an array.")), a; - function D(W, B, X, Q, G) { - for (var J = W[B], Y = 0; Y < I.length; Y++) - if (g(J, I[Y])) + ) : i("Invalid argument supplied to oneOf, expected an array.")), a; + function P(B, M, W, H, Y) { + for (var X = B[M], U = 0; U < O.length; U++) + if (g(X, O[U])) return null; - var Z = JSON.stringify(I, function(ne, P) { - var de = q(P); - return de === "symbol" ? String(P) : P; + var J = JSON.stringify(O, function(Z, _) { + var ae = G(_); + return ae === "symbol" ? String(_) : _; }); - return new f("Invalid " + Q + " `" + G + "` of value `" + String(J) + "` " + ("supplied to `" + X + "`, expected one of " + Z + ".")); + return new f("Invalid " + H + " `" + Y + "` of value `" + String(X) + "` " + ("supplied to `" + W + "`, expected one of " + J + ".")); } - return y(D); + return y(P); } - function L(I) { - function D(W, B, X, Q, G) { - if (typeof I != "function") - return new f("Property `" + G + "` of component `" + X + "` has invalid PropType notation inside objectOf."); - var J = W[B], Y = j(J); - if (Y !== "object") - return new f("Invalid " + Q + " `" + G + "` of type " + ("`" + Y + "` supplied to `" + X + "`, expected an object.")); - for (var Z in J) - if (r(J, Z)) { - var V = I(J, Z, X, Q, G + "." + Z, n); + function j(O) { + function P(B, M, W, H, Y) { + if (typeof O != "function") + return new f("Property `" + Y + "` of component `" + W + "` has invalid PropType notation inside objectOf."); + var X = B[M], U = L(X); + if (U !== "object") + return new f("Invalid " + H + " `" + Y + "` of type " + ("`" + U + "` supplied to `" + W + "`, expected an object.")); + for (var J in X) + if (r(X, J)) { + var V = O(X, J, W, H, Y + "." + J, n); if (V instanceof Error) return V; } return null; } - return y(D); + return y(P); } - function z(I) { - if (!Array.isArray(I)) - return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), a; - for (var D = 0; D < I.length; D++) { - var W = I[D]; - if (typeof W != "function") - return s( - "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + te(W) + " at index " + D + "." + function z(O) { + if (!Array.isArray(O)) + return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), a; + for (var P = 0; P < O.length; P++) { + var B = O[P]; + if (typeof B != "function") + return i( + "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Q(B) + " at index " + P + "." ), a; } - function B(X, Q, G, J, Y) { - for (var Z = [], V = 0; V < I.length; V++) { - var ne = I[V], P = ne(X, Q, G, J, Y, n); - if (P == null) + function M(W, H, Y, X, U) { + for (var J = [], V = 0; V < O.length; V++) { + var Z = O[V], _ = Z(W, H, Y, X, U, n); + if (_ == null) return null; - P.data && r(P.data, "expectedType") && Z.push(P.data.expectedType); + _.data && r(_.data, "expectedType") && J.push(_.data.expectedType); } - var de = Z.length > 0 ? ", expected one of type [" + Z.join(", ") + "]" : ""; - return new f("Invalid " + J + " `" + Y + "` supplied to " + ("`" + G + "`" + de + ".")); + var ae = J.length > 0 ? ", expected one of type [" + J.join(", ") + "]" : ""; + return new f("Invalid " + X + " `" + U + "` supplied to " + ("`" + Y + "`" + ae + ".")); } - return y(B); + return y(M); } - function H() { - function I(D, W, B, X, Q) { - return A(D[W]) ? null : new f("Invalid " + X + " `" + Q + "` supplied to " + ("`" + B + "`, expected a ReactNode.")); + function q() { + function O(P, B, M, W, H) { + return A(P[B]) ? null : new f("Invalid " + W + " `" + H + "` supplied to " + ("`" + M + "`, expected a ReactNode.")); } - return y(I); + return y(O); } - function F(I, D, W, B, X) { + function F(O, P, B, M, W) { return new f( - (I || "React class") + ": " + D + " type `" + W + "." + B + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + X + "`." + (O || "React class") + ": " + P + " type `" + B + "." + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + W + "`." ); } - function p(I) { - function D(W, B, X, Q, G) { - var J = W[B], Y = j(J); - if (Y !== "object") - return new f("Invalid " + Q + " `" + G + "` of type `" + Y + "` " + ("supplied to `" + X + "`, expected `object`.")); - for (var Z in I) { - var V = I[Z]; + function p(O) { + function P(B, M, W, H, Y) { + var X = B[M], U = L(X); + if (U !== "object") + return new f("Invalid " + H + " `" + Y + "` of type `" + U + "` " + ("supplied to `" + W + "`, expected `object`.")); + for (var J in O) { + var V = O[J]; if (typeof V != "function") - return F(X, Q, G, Z, q(V)); - var ne = V(J, Z, X, Q, G + "." + Z, n); - if (ne) - return ne; + return F(W, H, Y, J, G(V)); + var Z = V(X, J, W, H, Y + "." + J, n); + if (Z) + return Z; } return null; } - return y(D); + return y(P); } - function _(I) { - function D(W, B, X, Q, G) { - var J = W[B], Y = j(J); - if (Y !== "object") - return new f("Invalid " + Q + " `" + G + "` of type `" + Y + "` " + ("supplied to `" + X + "`, expected `object`.")); - var Z = t({}, W[B], I); - for (var V in Z) { - var ne = I[V]; - if (r(I, V) && typeof ne != "function") - return F(X, Q, G, V, q(ne)); - if (!ne) + function I(O) { + function P(B, M, W, H, Y) { + var X = B[M], U = L(X); + if (U !== "object") + return new f("Invalid " + H + " `" + Y + "` of type `" + U + "` " + ("supplied to `" + W + "`, expected `object`.")); + var J = t({}, B[M], O); + for (var V in J) { + var Z = O[V]; + if (r(O, V) && typeof Z != "function") + return F(W, H, Y, V, G(Z)); + if (!Z) return new f( - "Invalid " + Q + " `" + G + "` key `" + V + "` supplied to `" + X + "`.\nBad object: " + JSON.stringify(W[B], null, " ") + ` -Valid keys: ` + JSON.stringify(Object.keys(I), null, " ") + "Invalid " + H + " `" + Y + "` key `" + V + "` supplied to `" + W + "`.\nBad object: " + JSON.stringify(B[M], null, " ") + ` +Valid keys: ` + JSON.stringify(Object.keys(O), null, " ") ); - var P = ne(J, V, X, Q, G + "." + V, n); - if (P) - return P; + var _ = Z(X, V, W, H, Y + "." + V, n); + if (_) + return _; } return null; } - return y(D); + return y(P); } - function A(I) { - switch (typeof I) { + function A(O) { + switch (typeof O) { case "number": case "string": case "undefined": return !0; case "boolean": - return !I; + return !O; case "object": - if (Array.isArray(I)) - return I.every(A); - if (I === null || l(I)) + if (Array.isArray(O)) + return O.every(A); + if (O === null || l(O)) return !0; - var D = h(I); - if (D) { - var W = D.call(I), B; - if (D !== I.entries) { - for (; !(B = W.next()).done; ) - if (!A(B.value)) + var P = h(O); + if (P) { + var B = P.call(O), M; + if (P !== O.entries) { + for (; !(M = B.next()).done; ) + if (!A(M.value)) return !1; } else - for (; !(B = W.next()).done; ) { - var X = B.value; - if (X && !A(X[1])) + for (; !(M = B.next()).done; ) { + var W = M.value; + if (W && !A(W[1])) return !1; } } else @@ -2541,68 +2192,68 @@ Valid keys: ` + JSON.stringify(Object.keys(I), null, " ") return !1; } } - function M(I, D) { - return I === "symbol" ? !0 : D ? D["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && D instanceof Symbol : !1; + function D(O, P) { + return O === "symbol" ? !0 : P ? P["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && P instanceof Symbol : !1; } - function j(I) { - var D = typeof I; - return Array.isArray(I) ? "array" : I instanceof RegExp ? "object" : M(D, I) ? "symbol" : D; + function L(O) { + var P = typeof O; + return Array.isArray(O) ? "array" : O instanceof RegExp ? "object" : D(P, O) ? "symbol" : P; } - function q(I) { - if (typeof I > "u" || I === null) - return "" + I; - var D = j(I); - if (D === "object") { - if (I instanceof Date) + function G(O) { + if (typeof O > "u" || O === null) + return "" + O; + var P = L(O); + if (P === "object") { + if (O instanceof Date) return "date"; - if (I instanceof RegExp) + if (O instanceof RegExp) return "regexp"; } - return D; + return P; } - function te(I) { - var D = q(I); - switch (D) { + function Q(O) { + var P = G(O); + switch (P) { case "array": case "object": - return "an " + D; + return "an " + P; case "boolean": case "date": case "regexp": - return "a " + D; + return "a " + P; default: - return D; + return P; } } - function K(I) { - return !I.constructor || !I.constructor.name ? b : I.constructor.name; + function K(O) { + return !O.constructor || !O.constructor.name ? v : O.constructor.name; } - return m.checkPropTypes = i, m.resetWarningCache = i.resetWarningCache, m.PropTypes = m, m; - }, Zo; + return m.checkPropTypes = s, m.resetWarningCache = s.resetWarningCache, m.PropTypes = m, m; + }, Ao; } -var ei, qs; -function _d() { - if (qs) return ei; - qs = 1; - var e = Xi(); +var Io, Ci; +function rd() { + if (Ci) return Io; + Ci = 1; + var e = Cs(); function t() { } function n() { } - return n.resetWarningCache = t, ei = function() { + return n.resetWarningCache = t, Io = function() { function r(a, l, c, u, d, h) { if (h !== e) { - var b = new Error( + var v = 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 b.name = "Invariant Violation", b; + throw v.name = "Invariant Violation", v; } } r.isRequired = r; - function i() { + function s() { return r; } - var s = { + var i = { array: r, bigint: r, bool: r, @@ -2612,42 +2263,42 @@ function _d() { string: r, symbol: r, any: r, - arrayOf: i, + arrayOf: s, element: r, elementType: r, - instanceOf: i, + instanceOf: s, node: r, - objectOf: i, - oneOf: i, - oneOfType: i, - shape: i, - exact: i, + objectOf: s, + oneOf: s, + oneOfType: s, + shape: s, + exact: s, checkPropTypes: n, resetWarningCache: t }; - return s.PropTypes = s, s; - }, ei; + return i.PropTypes = i, i; + }, Io; } if (process.env.NODE_ENV !== "production") { - var Ad = El(), Id = !0; - Ei.exports = Pd()(Ad.isElement, Id); + var od = tl(), sd = !0; + Jo.exports = nd()(od.isElement, sd); } else - Ei.exports = _d()(); -var Nd = Ei.exports; -const o = /* @__PURE__ */ Su(Nd); -function kd(e) { + Jo.exports = rd()(); +var id = Jo.exports; +const o = /* @__PURE__ */ Kc(id); +function ad(e) { return e == null || Object.keys(e).length === 0; } -function Tl(e) { +function rl(e) { const { styles: t, defaultTheme: n = {} - } = e, r = typeof t == "function" ? (i) => t(kd(i) ? n : i) : t; - return /* @__PURE__ */ k.jsx(yd, { + } = e, r = typeof t == "function" ? (s) => t(ad(s) ? n : s) : t; + return /* @__PURE__ */ k.jsx(Wu, { styles: r }); } -process.env.NODE_ENV !== "production" && (Tl.propTypes = { +process.env.NODE_ENV !== "production" && (rl.propTypes = { defaultTheme: o.object, styles: o.oneOfType([o.array, o.string, o.object, o.func]) }); @@ -2658,22 +2309,22 @@ process.env.NODE_ENV !== "production" && (Tl.propTypes = { * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -function $d(e, t) { - const n = vi(e, t); +function ld(e, t) { + const n = Xo(e, t); return process.env.NODE_ENV !== "production" ? (...r) => { - const i = typeof e == "string" ? `"${e}"` : "component"; - return r.length === 0 ? console.error([`MUI: Seems like you called \`styled(${i})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(` -`)) : r.some((s) => s === void 0) && console.error(`MUI: the styled(${i})(...args) API requires all its args to be defined.`), n(...r); + const s = typeof e == "string" ? `"${e}"` : "component"; + return r.length === 0 ? console.error([`MUI: Seems like you called \`styled(${s})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(` +`)) : r.some((i) => i === void 0) && console.error(`MUI: the styled(${s})(...args) API requires all its args to be defined.`), n(...r); } : n; } -function Md(e, t) { +function cd(e, t) { Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles)); } -const Gs = []; -function Yt(e) { - return Gs[0] = e, gr(Gs); +const Pi = []; +function Pt(e) { + return Pi[0] = e, Hn(Pi); } -var Si = { exports: {} }, Ae = {}; +var Qo = { exports: {} }, xe = {}; /** * @license React * react-is.production.js @@ -2683,11 +2334,11 @@ var Si = { exports: {} }, Ae = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var Ys; -function Dd() { - if (Ys) return Ae; - Ys = 1; - var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), b = Symbol.for("react.view_transition"), m = Symbol.for("react.client.reference"); +var _i; +function ud() { + if (_i) return xe; + _i = 1; + var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), i = Symbol.for("react.consumer"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), v = Symbol.for("react.view_transition"), m = Symbol.for("react.client.reference"); function g(f) { if (typeof f == "object" && f !== null) { var y = f.$$typeof; @@ -2695,11 +2346,11 @@ function Dd() { case e: switch (f = f.type, f) { case n: - case i: + case s: case r: case c: case u: - case b: + case v: return f; default: switch (f = f && f.$$typeof, f) { @@ -2708,7 +2359,7 @@ function Dd() { case h: case d: return f; - case s: + case i: return f; default: return y; @@ -2719,35 +2370,35 @@ function Dd() { } } } - return Ae.ContextConsumer = s, Ae.ContextProvider = a, Ae.Element = e, Ae.ForwardRef = l, Ae.Fragment = n, Ae.Lazy = h, Ae.Memo = d, Ae.Portal = t, Ae.Profiler = i, Ae.StrictMode = r, Ae.Suspense = c, Ae.SuspenseList = u, Ae.isContextConsumer = function(f) { - return g(f) === s; - }, Ae.isContextProvider = function(f) { - return g(f) === a; - }, Ae.isElement = function(f) { - return typeof f == "object" && f !== null && f.$$typeof === e; - }, Ae.isForwardRef = function(f) { - return g(f) === l; - }, Ae.isFragment = function(f) { - return g(f) === n; - }, Ae.isLazy = function(f) { - return g(f) === h; - }, Ae.isMemo = function(f) { - return g(f) === d; - }, Ae.isPortal = function(f) { - return g(f) === t; - }, Ae.isProfiler = function(f) { + return xe.ContextConsumer = i, xe.ContextProvider = a, xe.Element = e, xe.ForwardRef = l, xe.Fragment = n, xe.Lazy = h, xe.Memo = d, xe.Portal = t, xe.Profiler = s, xe.StrictMode = r, xe.Suspense = c, xe.SuspenseList = u, xe.isContextConsumer = function(f) { return g(f) === i; - }, Ae.isStrictMode = function(f) { + }, xe.isContextProvider = function(f) { + return g(f) === a; + }, xe.isElement = function(f) { + return typeof f == "object" && f !== null && f.$$typeof === e; + }, xe.isForwardRef = function(f) { + return g(f) === l; + }, xe.isFragment = function(f) { + return g(f) === n; + }, xe.isLazy = function(f) { + return g(f) === h; + }, xe.isMemo = function(f) { + return g(f) === d; + }, xe.isPortal = function(f) { + return g(f) === t; + }, xe.isProfiler = function(f) { + return g(f) === s; + }, xe.isStrictMode = function(f) { return g(f) === r; - }, Ae.isSuspense = function(f) { + }, xe.isSuspense = function(f) { return g(f) === c; - }, Ae.isSuspenseList = function(f) { + }, xe.isSuspenseList = function(f) { return g(f) === u; - }, Ae.isValidElementType = function(f) { - return typeof f == "string" || typeof f == "function" || f === n || f === i || f === r || f === c || f === u || typeof f == "object" && f !== null && (f.$$typeof === h || f.$$typeof === d || f.$$typeof === a || f.$$typeof === s || f.$$typeof === l || f.$$typeof === m || f.getModuleId !== void 0); - }, Ae.typeOf = g, Ae; + }, xe.isValidElementType = function(f) { + return typeof f == "string" || typeof f == "function" || f === n || f === s || f === r || f === c || f === u || typeof f == "object" && f !== null && (f.$$typeof === h || f.$$typeof === d || f.$$typeof === a || f.$$typeof === i || f.$$typeof === l || f.$$typeof === m || f.getModuleId !== void 0); + }, xe.typeOf = g, xe; } -var Ie = {}; +var Oe = {}; /** * @license React * react-is.development.js @@ -2757,9 +2408,9 @@ var Ie = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var Ks; -function jd() { - return Ks || (Ks = 1, process.env.NODE_ENV !== "production" && function() { +var Ai; +function dd() { + return Ai || (Ai = 1, process.env.NODE_ENV !== "production" && function() { function e(f) { if (typeof f == "object" && f !== null) { var y = f.$$typeof; @@ -2767,8 +2418,8 @@ function jd() { case t: switch (f = f.type, f) { case r: - case s: case i: + case s: case u: case d: case m: @@ -2777,7 +2428,7 @@ function jd() { switch (f = f && f.$$typeof, f) { case l: case c: - case b: + case v: case h: return f; case a: @@ -2791,64 +2442,64 @@ function jd() { } } } - var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), m = Symbol.for("react.view_transition"), g = Symbol.for("react.client.reference"); - Ie.ContextConsumer = a, Ie.ContextProvider = l, Ie.Element = t, Ie.ForwardRef = c, Ie.Fragment = r, Ie.Lazy = b, Ie.Memo = h, Ie.Portal = n, Ie.Profiler = s, Ie.StrictMode = i, Ie.Suspense = u, Ie.SuspenseList = d, Ie.isContextConsumer = function(f) { + var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), m = Symbol.for("react.view_transition"), g = Symbol.for("react.client.reference"); + Oe.ContextConsumer = a, Oe.ContextProvider = l, Oe.Element = t, Oe.ForwardRef = c, Oe.Fragment = r, Oe.Lazy = v, Oe.Memo = h, Oe.Portal = n, Oe.Profiler = i, Oe.StrictMode = s, Oe.Suspense = u, Oe.SuspenseList = d, Oe.isContextConsumer = function(f) { return e(f) === a; - }, Ie.isContextProvider = function(f) { + }, Oe.isContextProvider = function(f) { return e(f) === l; - }, Ie.isElement = function(f) { + }, Oe.isElement = function(f) { return typeof f == "object" && f !== null && f.$$typeof === t; - }, Ie.isForwardRef = function(f) { + }, Oe.isForwardRef = function(f) { return e(f) === c; - }, Ie.isFragment = function(f) { + }, Oe.isFragment = function(f) { return e(f) === r; - }, Ie.isLazy = function(f) { - return e(f) === b; - }, Ie.isMemo = function(f) { + }, Oe.isLazy = function(f) { + return e(f) === v; + }, Oe.isMemo = function(f) { return e(f) === h; - }, Ie.isPortal = function(f) { + }, Oe.isPortal = function(f) { return e(f) === n; - }, Ie.isProfiler = function(f) { - return e(f) === s; - }, Ie.isStrictMode = function(f) { + }, Oe.isProfiler = function(f) { return e(f) === i; - }, Ie.isSuspense = function(f) { + }, Oe.isStrictMode = function(f) { + return e(f) === s; + }, Oe.isSuspense = function(f) { return e(f) === u; - }, Ie.isSuspenseList = function(f) { + }, Oe.isSuspenseList = function(f) { return e(f) === d; - }, Ie.isValidElementType = function(f) { - return typeof f == "string" || typeof f == "function" || f === r || f === s || f === i || f === u || f === d || typeof f == "object" && f !== null && (f.$$typeof === b || f.$$typeof === h || f.$$typeof === l || f.$$typeof === a || f.$$typeof === c || f.$$typeof === g || f.getModuleId !== void 0); - }, Ie.typeOf = e; - }()), Ie; + }, Oe.isValidElementType = function(f) { + return typeof f == "string" || typeof f == "function" || f === r || f === i || f === s || f === u || f === d || typeof f == "object" && f !== null && (f.$$typeof === v || f.$$typeof === h || f.$$typeof === l || f.$$typeof === a || f.$$typeof === c || f.$$typeof === g || f.getModuleId !== void 0); + }, Oe.typeOf = e; + }()), Oe; } -process.env.NODE_ENV === "production" ? Si.exports = Dd() : Si.exports = jd(); -var un = Si.exports; -function _t(e) { +process.env.NODE_ENV === "production" ? Qo.exports = ud() : Qo.exports = dd(); +var Wt = Qo.exports; +function pt(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 xl(e) { - if (/* @__PURE__ */ x.isValidElement(e) || un.isValidElementType(e) || !_t(e)) +function ol(e) { + if (/* @__PURE__ */ x.isValidElement(e) || Wt.isValidElementType(e) || !pt(e)) return e; const t = {}; return Object.keys(e).forEach((n) => { - t[n] = xl(e[n]); + t[n] = ol(e[n]); }), t; } -function et(e, t, n = { +function Ve(e, t, n = { clone: !0 }) { const r = n.clone ? { ...e } : e; - return _t(e) && _t(t) && Object.keys(t).forEach((i) => { - /* @__PURE__ */ x.isValidElement(t[i]) || un.isValidElementType(t[i]) ? r[i] = t[i] : _t(t[i]) && // Avoid prototype pollution - Object.prototype.hasOwnProperty.call(e, i) && _t(e[i]) ? r[i] = et(e[i], t[i], n) : n.clone ? r[i] = _t(t[i]) ? xl(t[i]) : t[i] : r[i] = t[i]; + return pt(e) && pt(t) && Object.keys(t).forEach((s) => { + /* @__PURE__ */ x.isValidElement(t[s]) || Wt.isValidElementType(t[s]) ? r[s] = t[s] : pt(t[s]) && // Avoid prototype pollution + Object.prototype.hasOwnProperty.call(e, s) && pt(e[s]) ? r[s] = Ve(e[s], t[s], n) : n.clone ? r[s] = pt(t[s]) ? ol(t[s]) : t[s] : r[s] = t[s]; }), r; } -const Ld = (e) => { +const fd = (e) => { const t = Object.keys(e).map((n) => ({ key: n, val: e[n] @@ -2858,7 +2509,7 @@ const Ld = (e) => { [r.key]: r.val }), {}); }; -function Bd(e) { +function pd(e) { const { // The breakpoint **start** at this value. // For instance with the first breakpoint xs: [xs, sm). @@ -2876,56 +2527,56 @@ function Bd(e) { }, unit: n = "px", step: r = 5, - ...i - } = e, s = Ld(t), a = Object.keys(s); - function l(b) { - return `@media (min-width:${typeof t[b] == "number" ? t[b] : b}${n})`; + ...s + } = e, i = fd(t), a = Object.keys(i); + function l(v) { + return `@media (min-width:${typeof t[v] == "number" ? t[v] : v}${n})`; } - function c(b) { - return `@media (max-width:${(typeof t[b] == "number" ? t[b] : b) - r / 100}${n})`; + function c(v) { + return `@media (max-width:${(typeof t[v] == "number" ? t[v] : v) - r / 100}${n})`; } - function u(b, m) { + function u(v, m) { const g = a.indexOf(m); - return `@media (min-width:${typeof t[b] == "number" ? t[b] : b}${n}) and (max-width:${(g !== -1 && typeof t[a[g]] == "number" ? t[a[g]] : m) - r / 100}${n})`; + return `@media (min-width:${typeof t[v] == "number" ? t[v] : v}${n}) and (max-width:${(g !== -1 && typeof t[a[g]] == "number" ? t[a[g]] : m) - r / 100}${n})`; } - function d(b) { - return a.indexOf(b) + 1 < a.length ? u(b, a[a.indexOf(b) + 1]) : l(b); + function d(v) { + return a.indexOf(v) + 1 < a.length ? u(v, a[a.indexOf(v) + 1]) : l(v); } - function h(b) { - const m = a.indexOf(b); - return m === 0 ? l(a[1]) : m === a.length - 1 ? c(a[m]) : u(b, a[a.indexOf(b) + 1]).replace("@media", "@media not all and"); + function h(v) { + const m = a.indexOf(v); + return m === 0 ? l(a[1]) : m === a.length - 1 ? c(a[m]) : u(v, a[a.indexOf(v) + 1]).replace("@media", "@media not all and"); } return { keys: a, - values: s, + values: i, up: l, down: c, between: u, only: d, not: h, unit: n, - ...i + ...s }; } -function Xs(e, t) { +function Ii(e, t) { if (!e.containerQueries) return t; - const n = Object.keys(t).filter((r) => r.startsWith("@container")).sort((r, i) => { + const n = Object.keys(t).filter((r) => r.startsWith("@container")).sort((r, s) => { var a, l; - const s = /min-width:\s*([0-9.]+)/; - return +(((a = r.match(s)) == null ? void 0 : a[1]) || 0) - +(((l = i.match(s)) == null ? void 0 : l[1]) || 0); + const i = /min-width:\s*([0-9.]+)/; + return +(((a = r.match(i)) == null ? void 0 : a[1]) || 0) - +(((l = s.match(i)) == null ? void 0 : l[1]) || 0); }); - return n.length ? n.reduce((r, i) => { - const s = t[i]; - return delete r[i], r[i] = s, r; + return n.length ? n.reduce((r, s) => { + const i = t[s]; + return delete r[s], r[s] = i, r; }, { ...t }) : t; } -function Fd(e, t) { +function md(e, t) { return t === "@" || t.startsWith("@") && (e.some((n) => t.startsWith(`@${n}`)) || !!t.match(/^@\d/)); } -function Ud(e, t) { +function hd(e, t) { const n = t.match(/^@([^/]+)?\/?(.+)?$/); if (!n) { if (process.env.NODE_ENV !== "production") @@ -2936,33 +2587,33 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`) ); return null; } - const [, r, i] = n, s = Number.isNaN(+r) ? r || 0 : +r; - return e.containerQueries(i).up(s); + const [, r, s] = n, i = Number.isNaN(+r) ? r || 0 : +r; + return e.containerQueries(s).up(i); } -function Vd(e) { - const t = (s, a) => s.replace("@media", a ? `@container ${a}` : "@container"); - function n(s, a) { - s.up = (...l) => t(e.breakpoints.up(...l), a), s.down = (...l) => t(e.breakpoints.down(...l), a), s.between = (...l) => t(e.breakpoints.between(...l), a), s.only = (...l) => t(e.breakpoints.only(...l), a), s.not = (...l) => { +function yd(e) { + const t = (i, a) => i.replace("@media", a ? `@container ${a}` : "@container"); + function n(i, a) { + i.up = (...l) => t(e.breakpoints.up(...l), a), i.down = (...l) => t(e.breakpoints.down(...l), a), i.between = (...l) => t(e.breakpoints.between(...l), a), i.only = (...l) => t(e.breakpoints.only(...l), a), i.not = (...l) => { const c = t(e.breakpoints.not(...l), a); return c.includes("not all and") ? c.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : c; }; } - const r = {}, i = (s) => (n(r, s), r); - return n(i), { + const r = {}, s = (i) => (n(r, i), r); + return n(s), { ...e, - containerQueries: i + containerQueries: s }; } -const zd = { +const gd = { borderRadius: 4 -}, Xt = process.env.NODE_ENV !== "production" ? o.oneOfType([o.number, o.string, o.object, o.array]) : {}; -function sr(e, t) { - return t ? et(e, t, { +}, At = process.env.NODE_ENV !== "production" ? o.oneOfType([o.number, o.string, o.object, o.array]) : {}; +function $n(e, t) { + return t ? Ve(e, t, { clone: !1 // No need to clone deep, it's way faster. }) : e; } -const bo = { +const qr = { xs: 0, // phone sm: 600, @@ -2973,33 +2624,33 @@ const bo = { // desktop xl: 1536 // large screen -}, Js = { +}, Ni = { // 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:${bo[e]}px)` -}, Wd = { + up: (e) => `@media (min-width:${qr[e]}px)` +}, bd = { containerQueries: (e) => ({ up: (t) => { - let n = typeof t == "number" ? t : bo[t] || t; + let n = typeof t == "number" ? t : qr[t] || t; return typeof n == "number" && (n = `${n}px`), e ? `@container ${e} (min-width:${n})` : `@container (min-width:${n})`; } }) }; -function Ut(e, t, n) { +function Tt(e, t, n) { const r = e.theme || {}; if (Array.isArray(t)) { - const s = r.breakpoints || Js; - return t.reduce((a, l, c) => (a[s.up(s.keys[c])] = n(t[c]), a), {}); + const i = r.breakpoints || Ni; + return t.reduce((a, l, c) => (a[i.up(i.keys[c])] = n(t[c]), a), {}); } if (typeof t == "object") { - const s = r.breakpoints || Js; + const i = r.breakpoints || Ni; return Object.keys(t).reduce((a, l) => { - if (Fd(s.keys, l)) { - const c = Ud(r.containerQueries ? r : Wd, l); + if (md(i.keys, l)) { + const c = hd(r.containerQueries ? r : bd, l); c && (a[c] = n(t[l], l)); - } else if (Object.keys(s.values || bo).includes(l)) { - const c = s.up(l); + } else if (Object.keys(i.values || qr).includes(l)) { + const c = i.up(l); a[c] = n(t[l], l); } else { const c = l; @@ -3010,322 +2661,322 @@ function Ut(e, t, n) { } return n(t); } -function Hd(e = {}) { +function vd(e = {}) { var n; - return ((n = e.keys) == null ? void 0 : n.reduce((r, i) => { - const s = e.up(i); - return r[s] = {}, r; + return ((n = e.keys) == null ? void 0 : n.reduce((r, s) => { + const i = e.up(s); + return r[i] = {}, r; }, {})) || {}; } -function Qs(e, t) { +function ki(e, t) { return e.reduce((n, r) => { - const i = n[r]; - return (!i || Object.keys(i).length === 0) && delete n[r], n; + const s = n[r]; + return (!s || Object.keys(s).length === 0) && delete n[r], n; }, t); } -function ae(e) { +function oe(e) { if (typeof e != "string") - throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Ft(7)); + throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : St(7)); return e.charAt(0).toUpperCase() + e.slice(1); } -function vo(e, t, n = !0) { +function Gr(e, t, n = !0) { if (!t || typeof t != "string") return null; if (e && e.vars && n) { - const r = `vars.${t}`.split(".").reduce((i, s) => i && i[s] ? i[s] : null, e); + const r = `vars.${t}`.split(".").reduce((s, i) => s && s[i] ? s[i] : null, e); if (r != null) return r; } - return t.split(".").reduce((r, i) => r && r[i] != null ? r[i] : null, e); + return t.split(".").reduce((r, s) => r && r[s] != null ? r[s] : null, e); } -function Xr(e, t, n, r = n) { - let i; - return typeof e == "function" ? i = e(n) : Array.isArray(e) ? i = e[n] || r : i = vo(e, n) || r, t && (i = t(i, r, e)), i; +function Rr(e, t, n, r = n) { + let s; + return typeof e == "function" ? s = e(n) : Array.isArray(e) ? s = e[n] || r : s = Gr(e, n) || r, t && (s = t(s, r, e)), s; } -function He(e) { +function Me(e) { const { prop: t, cssProperty: n = e.prop, themeKey: r, - transform: i - } = e, s = (a) => { + transform: s + } = e, i = (a) => { if (a[t] == null) return null; - const l = a[t], c = a.theme, u = vo(c, r) || {}; - return Ut(a, l, (h) => { - let b = Xr(u, i, h); - return h === b && typeof h == "string" && (b = Xr(u, i, `${t}${h === "default" ? "" : ae(h)}`, h)), n === !1 ? b : { - [n]: b + const l = a[t], c = a.theme, u = Gr(c, r) || {}; + return Tt(a, l, (h) => { + let v = Rr(u, s, h); + return h === v && typeof h == "string" && (v = Rr(u, s, `${t}${h === "default" ? "" : oe(h)}`, h)), n === !1 ? v : { + [n]: v }; }); }; - return s.propTypes = process.env.NODE_ENV !== "production" ? { - [t]: Xt - } : {}, s.filterProps = [t], s; + return i.propTypes = process.env.NODE_ENV !== "production" ? { + [t]: At + } : {}, i.filterProps = [t], i; } -function qd(e) { +function Ed(e) { const t = {}; return (n) => (t[n] === void 0 && (t[n] = e(n)), t[n]); } -const Gd = { +const Sd = { m: "margin", p: "padding" -}, Yd = { +}, Td = { t: "Top", r: "Right", b: "Bottom", l: "Left", x: ["Left", "Right"], y: ["Top", "Bottom"] -}, Zs = { +}, $i = { marginX: "mx", marginY: "my", paddingX: "px", paddingY: "py" -}, Kd = qd((e) => { +}, xd = Ed((e) => { if (e.length > 2) - if (Zs[e]) - e = Zs[e]; + if ($i[e]) + e = $i[e]; else return [e]; - const [t, n] = e.split(""), r = Gd[t], i = Yd[n] || ""; - return Array.isArray(i) ? i.map((s) => r + s) : [r + i]; -}), Eo = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], So = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Xd = [...Eo, ...So]; -function vr(e, t, n, r) { - const i = vo(e, t, !0) ?? n; - return typeof i == "number" || typeof i == "string" ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && typeof s != "number" && console.error(`MUI: Expected ${r} argument to be a number or a string, got ${s}.`), typeof i == "string" ? i.startsWith("var(") && s === 0 ? 0 : i.startsWith("var(") && s === 1 ? i : `calc(${s} * ${i})` : i * s) : Array.isArray(i) ? (s) => { - if (typeof s == "string") - return s; - const a = Math.abs(s); - process.env.NODE_ENV !== "production" && (Number.isInteger(a) ? a > i.length - 1 && console.error([`MUI: The value provided (${a}) overflows.`, `The supported values are: ${JSON.stringify(i)}.`, `${a} > ${i.length - 1}, you need to add the missing values.`].join(` + const [t, n] = e.split(""), r = Sd[t], s = Td[n] || ""; + return Array.isArray(s) ? s.map((i) => r + i) : [r + s]; +}), Yr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Kr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Od = [...Yr, ...Kr]; +function Gn(e, t, n, r) { + const s = Gr(e, t, !0) ?? n; + return typeof s == "number" || typeof s == "string" ? (i) => typeof i == "string" ? i : (process.env.NODE_ENV !== "production" && typeof i != "number" && console.error(`MUI: Expected ${r} argument to be a number or a string, got ${i}.`), typeof s == "string" ? s.startsWith("var(") && i === 0 ? 0 : s.startsWith("var(") && i === 1 ? s : `calc(${i} * ${s})` : s * i) : Array.isArray(s) ? (i) => { + if (typeof i == "string") + return i; + const a = Math.abs(i); + process.env.NODE_ENV !== "production" && (Number.isInteger(a) ? a > s.length - 1 && console.error([`MUI: The value provided (${a}) overflows.`, `The supported values are: ${JSON.stringify(s)}.`, `${a} > ${s.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 = i[a]; - return s >= 0 ? l : typeof l == "number" ? -l : typeof l == "string" && l.startsWith("var(") ? `calc(-1 * ${l})` : `-${l}`; - } : typeof i == "function" ? i : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`, "It should be a number, an array or a function."].join(` + const l = s[a]; + return i >= 0 ? l : typeof l == "number" ? -l : typeof l == "string" && l.startsWith("var(") ? `calc(-1 * ${l})` : `-${l}`; + } : typeof s == "function" ? s : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${s}) is invalid.`, "It should be a number, an array or a function."].join(` `)), () => { }); } -function Ji(e) { - return vr(e, "spacing", 8, "spacing"); +function Ps(e) { + return Gn(e, "spacing", 8, "spacing"); } -function Er(e, t) { +function Yn(e, t) { return typeof t == "string" || t == null ? t : e(t); } -function Jd(e, t) { - return (n) => e.reduce((r, i) => (r[i] = Er(t, n), r), {}); +function Rd(e, t) { + return (n) => e.reduce((r, s) => (r[s] = Yn(t, n), r), {}); } -function Qd(e, t, n, r) { +function wd(e, t, n, r) { if (!t.includes(n)) return null; - const i = Kd(n), s = Jd(i, r), a = e[n]; - return Ut(e, a, s); + const s = xd(n), i = Rd(s, r), a = e[n]; + return Tt(e, a, i); } -function Rl(e, t) { - const n = Ji(e.theme); - return Object.keys(e).map((r) => Qd(e, t, r, n)).reduce(sr, {}); +function sl(e, t) { + const n = Ps(e.theme); + return Object.keys(e).map((r) => wd(e, t, r, n)).reduce($n, {}); } -function Ue(e) { - return Rl(e, Eo); +function Ae(e) { + return sl(e, Yr); } -Ue.propTypes = process.env.NODE_ENV !== "production" ? Eo.reduce((e, t) => (e[t] = Xt, e), {}) : {}; -Ue.filterProps = Eo; -function Ve(e) { - return Rl(e, So); +Ae.propTypes = process.env.NODE_ENV !== "production" ? Yr.reduce((e, t) => (e[t] = At, e), {}) : {}; +Ae.filterProps = Yr; +function Ie(e) { + return sl(e, Kr); } -Ve.propTypes = process.env.NODE_ENV !== "production" ? So.reduce((e, t) => (e[t] = Xt, e), {}) : {}; -Ve.filterProps = So; -process.env.NODE_ENV !== "production" && Xd.reduce((e, t) => (e[t] = Xt, e), {}); -function Ol(e = 8, t = Ji({ +Ie.propTypes = process.env.NODE_ENV !== "production" ? Kr.reduce((e, t) => (e[t] = At, e), {}) : {}; +Ie.filterProps = Kr; +process.env.NODE_ENV !== "production" && Od.reduce((e, t) => (e[t] = At, e), {}); +function il(e = 8, t = Ps({ spacing: e })) { if (e.mui) return e; - const n = (...r) => (process.env.NODE_ENV !== "production" && (r.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)), (r.length === 0 ? [1] : r).map((s) => { - const a = t(s); + const n = (...r) => (process.env.NODE_ENV !== "production" && (r.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)), (r.length === 0 ? [1] : r).map((i) => { + const a = t(i); return typeof a == "number" ? `${a}px` : a; }).join(" ")); return n.mui = !0, n; } -function To(...e) { - const t = e.reduce((r, i) => (i.filterProps.forEach((s) => { - r[s] = i; - }), r), {}), n = (r) => Object.keys(r).reduce((i, s) => t[s] ? sr(i, t[s](r)) : i, {}); - return n.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((r, i) => Object.assign(r, i.propTypes), {}) : {}, n.filterProps = e.reduce((r, i) => r.concat(i.filterProps), []), n; +function Xr(...e) { + const t = e.reduce((r, s) => (s.filterProps.forEach((i) => { + r[i] = s; + }), r), {}), n = (r) => Object.keys(r).reduce((s, i) => t[i] ? $n(s, t[i](r)) : s, {}); + return n.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((r, s) => Object.assign(r, s.propTypes), {}) : {}, n.filterProps = e.reduce((r, s) => r.concat(s.filterProps), []), n; } -function ht(e) { +function Ze(e) { return typeof e != "number" ? e : `${e}px solid`; } -function bt(e, t) { - return He({ +function nt(e, t) { + return Me({ prop: e, themeKey: "borders", transform: t }); } -const Zd = bt("border", ht), ef = bt("borderTop", ht), tf = bt("borderRight", ht), nf = bt("borderBottom", ht), rf = bt("borderLeft", ht), of = bt("borderColor"), sf = bt("borderTopColor"), af = bt("borderRightColor"), lf = bt("borderBottomColor"), cf = bt("borderLeftColor"), uf = bt("outline", ht), df = bt("outlineColor"), xo = (e) => { +const Cd = nt("border", Ze), Pd = nt("borderTop", Ze), _d = nt("borderRight", Ze), Ad = nt("borderBottom", Ze), Id = nt("borderLeft", Ze), Nd = nt("borderColor"), kd = nt("borderTopColor"), $d = nt("borderRightColor"), Md = nt("borderBottomColor"), Dd = nt("borderLeftColor"), Ld = nt("outline", Ze), jd = nt("outlineColor"), Jr = (e) => { if (e.borderRadius !== void 0 && e.borderRadius !== null) { - const t = vr(e.theme, "shape.borderRadius", 4, "borderRadius"), n = (r) => ({ - borderRadius: Er(t, r) + const t = Gn(e.theme, "shape.borderRadius", 4, "borderRadius"), n = (r) => ({ + borderRadius: Yn(t, r) }); - return Ut(e, e.borderRadius, n); + return Tt(e, e.borderRadius, n); } return null; }; -xo.propTypes = process.env.NODE_ENV !== "production" ? { - borderRadius: Xt +Jr.propTypes = process.env.NODE_ENV !== "production" ? { + borderRadius: At } : {}; -xo.filterProps = ["borderRadius"]; -To(Zd, ef, tf, nf, rf, of, sf, af, lf, cf, xo, uf, df); -const Ro = (e) => { +Jr.filterProps = ["borderRadius"]; +Xr(Cd, Pd, _d, Ad, Id, Nd, kd, $d, Md, Dd, Jr, Ld, jd); +const Qr = (e) => { if (e.gap !== void 0 && e.gap !== null) { - const t = vr(e.theme, "spacing", 8, "gap"), n = (r) => ({ - gap: Er(t, r) + const t = Gn(e.theme, "spacing", 8, "gap"), n = (r) => ({ + gap: Yn(t, r) }); - return Ut(e, e.gap, n); + return Tt(e, e.gap, n); } return null; }; -Ro.propTypes = process.env.NODE_ENV !== "production" ? { - gap: Xt +Qr.propTypes = process.env.NODE_ENV !== "production" ? { + gap: At } : {}; -Ro.filterProps = ["gap"]; -const Oo = (e) => { +Qr.filterProps = ["gap"]; +const Zr = (e) => { if (e.columnGap !== void 0 && e.columnGap !== null) { - const t = vr(e.theme, "spacing", 8, "columnGap"), n = (r) => ({ - columnGap: Er(t, r) + const t = Gn(e.theme, "spacing", 8, "columnGap"), n = (r) => ({ + columnGap: Yn(t, r) }); - return Ut(e, e.columnGap, n); + return Tt(e, e.columnGap, n); } return null; }; -Oo.propTypes = process.env.NODE_ENV !== "production" ? { - columnGap: Xt +Zr.propTypes = process.env.NODE_ENV !== "production" ? { + columnGap: At } : {}; -Oo.filterProps = ["columnGap"]; -const wo = (e) => { +Zr.filterProps = ["columnGap"]; +const eo = (e) => { if (e.rowGap !== void 0 && e.rowGap !== null) { - const t = vr(e.theme, "spacing", 8, "rowGap"), n = (r) => ({ - rowGap: Er(t, r) + const t = Gn(e.theme, "spacing", 8, "rowGap"), n = (r) => ({ + rowGap: Yn(t, r) }); - return Ut(e, e.rowGap, n); + return Tt(e, e.rowGap, n); } return null; }; -wo.propTypes = process.env.NODE_ENV !== "production" ? { - rowGap: Xt +eo.propTypes = process.env.NODE_ENV !== "production" ? { + rowGap: At } : {}; -wo.filterProps = ["rowGap"]; -const ff = He({ +eo.filterProps = ["rowGap"]; +const Bd = Me({ prop: "gridColumn" -}), pf = He({ +}), Fd = Me({ prop: "gridRow" -}), mf = He({ +}), Ud = Me({ prop: "gridAutoFlow" -}), hf = He({ +}), Vd = Me({ prop: "gridAutoColumns" -}), yf = He({ +}), zd = Me({ prop: "gridAutoRows" -}), gf = He({ +}), Wd = Me({ prop: "gridTemplateColumns" -}), bf = He({ +}), Hd = Me({ prop: "gridTemplateRows" -}), vf = He({ +}), qd = Me({ prop: "gridTemplateAreas" -}), Ef = He({ +}), Gd = Me({ prop: "gridArea" }); -To(Ro, Oo, wo, ff, pf, mf, hf, yf, gf, bf, vf, Ef); -function Nn(e, t) { +Xr(Qr, Zr, eo, Bd, Fd, Ud, Vd, zd, Wd, Hd, qd, Gd); +function dn(e, t) { return t === "grey" ? t : e; } -const Sf = He({ +const Yd = Me({ prop: "color", themeKey: "palette", - transform: Nn -}), Tf = He({ + transform: dn +}), Kd = Me({ prop: "bgcolor", cssProperty: "backgroundColor", themeKey: "palette", - transform: Nn -}), xf = He({ + transform: dn +}), Xd = Me({ prop: "backgroundColor", themeKey: "palette", - transform: Nn + transform: dn }); -To(Sf, Tf, xf); -function ut(e) { +Xr(Yd, Kd, Xd); +function Ke(e) { return e <= 1 && e !== 0 ? `${e * 100}%` : e; } -const Rf = He({ +const Jd = Me({ prop: "width", - transform: ut -}), Qi = (e) => { + transform: Ke +}), _s = (e) => { if (e.maxWidth !== void 0 && e.maxWidth !== null) { const t = (n) => { - var i, s, a, l, c; - const r = ((a = (s = (i = e.theme) == null ? void 0 : i.breakpoints) == null ? void 0 : s.values) == null ? void 0 : a[n]) || bo[n]; + var s, i, a, l, c; + const r = ((a = (i = (s = e.theme) == null ? void 0 : s.breakpoints) == null ? void 0 : i.values) == null ? void 0 : a[n]) || qr[n]; return r ? ((c = (l = e.theme) == null ? void 0 : l.breakpoints) == null ? void 0 : c.unit) !== "px" ? { maxWidth: `${r}${e.theme.breakpoints.unit}` } : { maxWidth: r } : { - maxWidth: ut(n) + maxWidth: Ke(n) }; }; - return Ut(e, e.maxWidth, t); + return Tt(e, e.maxWidth, t); } return null; }; -Qi.filterProps = ["maxWidth"]; -const Of = He({ +_s.filterProps = ["maxWidth"]; +const Qd = Me({ prop: "minWidth", - transform: ut -}), wf = He({ + transform: Ke +}), Zd = Me({ prop: "height", - transform: ut -}), Cf = He({ + transform: Ke +}), ef = Me({ prop: "maxHeight", - transform: ut -}), Pf = He({ + transform: Ke +}), tf = Me({ prop: "minHeight", - transform: ut + transform: Ke }); -He({ +Me({ prop: "size", cssProperty: "width", - transform: ut + transform: Ke }); -He({ +Me({ prop: "size", cssProperty: "height", - transform: ut + transform: Ke }); -const _f = He({ +const nf = Me({ prop: "boxSizing" }); -To(Rf, Qi, Of, wf, Cf, Pf, _f); -const Sr = { +Xr(Jd, _s, Qd, Zd, ef, tf, nf); +const Kn = { // borders border: { themeKey: "borders", - transform: ht + transform: Ze }, borderTop: { themeKey: "borders", - transform: ht + transform: Ze }, borderRight: { themeKey: "borders", - transform: ht + transform: Ze }, borderBottom: { themeKey: "borders", - transform: ht + transform: Ze }, borderLeft: { themeKey: "borders", - transform: ht + transform: Ze }, borderColor: { themeKey: "palette" @@ -3344,149 +2995,149 @@ const Sr = { }, outline: { themeKey: "borders", - transform: ht + transform: Ze }, outlineColor: { themeKey: "palette" }, borderRadius: { themeKey: "shape.borderRadius", - style: xo + style: Jr }, // palette color: { themeKey: "palette", - transform: Nn + transform: dn }, bgcolor: { themeKey: "palette", cssProperty: "backgroundColor", - transform: Nn + transform: dn }, backgroundColor: { themeKey: "palette", - transform: Nn + transform: dn }, // spacing p: { - style: Ve + style: Ie }, pt: { - style: Ve + style: Ie }, pr: { - style: Ve + style: Ie }, pb: { - style: Ve + style: Ie }, pl: { - style: Ve + style: Ie }, px: { - style: Ve + style: Ie }, py: { - style: Ve + style: Ie }, padding: { - style: Ve + style: Ie }, paddingTop: { - style: Ve + style: Ie }, paddingRight: { - style: Ve + style: Ie }, paddingBottom: { - style: Ve + style: Ie }, paddingLeft: { - style: Ve + style: Ie }, paddingX: { - style: Ve + style: Ie }, paddingY: { - style: Ve + style: Ie }, paddingInline: { - style: Ve + style: Ie }, paddingInlineStart: { - style: Ve + style: Ie }, paddingInlineEnd: { - style: Ve + style: Ie }, paddingBlock: { - style: Ve + style: Ie }, paddingBlockStart: { - style: Ve + style: Ie }, paddingBlockEnd: { - style: Ve + style: Ie }, m: { - style: Ue + style: Ae }, mt: { - style: Ue + style: Ae }, mr: { - style: Ue + style: Ae }, mb: { - style: Ue + style: Ae }, ml: { - style: Ue + style: Ae }, mx: { - style: Ue + style: Ae }, my: { - style: Ue + style: Ae }, margin: { - style: Ue + style: Ae }, marginTop: { - style: Ue + style: Ae }, marginRight: { - style: Ue + style: Ae }, marginBottom: { - style: Ue + style: Ae }, marginLeft: { - style: Ue + style: Ae }, marginX: { - style: Ue + style: Ae }, marginY: { - style: Ue + style: Ae }, marginInline: { - style: Ue + style: Ae }, marginInlineStart: { - style: Ue + style: Ae }, marginInlineEnd: { - style: Ue + style: Ae }, marginBlock: { - style: Ue + style: Ae }, marginBlockStart: { - style: Ue + style: Ae }, marginBlockEnd: { - style: Ue + style: Ae }, // display displayPrint: { @@ -3518,13 +3169,13 @@ const Sr = { justifySelf: {}, // grid gap: { - style: Ro + style: Qr }, rowGap: { - style: wo + style: eo }, columnGap: { - style: Oo + style: Zr }, gridColumn: {}, gridRow: {}, @@ -3550,22 +3201,22 @@ const Sr = { }, // sizing width: { - transform: ut + transform: Ke }, maxWidth: { - style: Qi + style: _s }, minWidth: { - transform: ut + transform: Ke }, height: { - transform: ut + transform: Ke }, maxHeight: { - transform: ut + transform: Ke }, minHeight: { - transform: ut + transform: Ke }, boxSizing: {}, // typography @@ -3593,19 +3244,19 @@ const Sr = { themeKey: "typography" } }; -function Af(...e) { - const t = e.reduce((r, i) => r.concat(Object.keys(i)), []), n = new Set(t); +function rf(...e) { + const t = e.reduce((r, s) => r.concat(Object.keys(s)), []), n = new Set(t); return e.every((r) => n.size === Object.keys(r).length); } -function If(e, t) { +function of(e, t) { return typeof e == "function" ? e(t) : e; } -function Nf() { - function e(n, r, i, s) { +function sf() { + function e(n, r, s, i) { const a = { [n]: r, - theme: i - }, l = s[n]; + theme: s + }, l = i[n]; if (!l) return { [n]: r @@ -3622,10 +3273,10 @@ function Nf() { return { [n]: r }; - const b = vo(i, u) || {}; - return h ? h(a) : Ut(a, r, (g) => { - let f = Xr(b, d, g); - return g === f && typeof g == "string" && (f = Xr(b, d, `${n}${g === "default" ? "" : ae(g)}`, g)), c === !1 ? f : { + const v = Gr(s, u) || {}; + return h ? h(a) : Tt(a, r, (g) => { + let f = Rr(v, d, g); + return g === f && typeof g == "string" && (f = Rr(v, d, `${n}${g === "default" ? "" : oe(g)}`, g)), c === !1 ? f : { [c]: f }; }); @@ -3633,74 +3284,74 @@ function Nf() { function t(n) { const { sx: r, - theme: i = {}, - nested: s + theme: s = {}, + nested: i } = n || {}; if (!r) return null; - const a = i.unstable_sxConfig ?? Sr; + const a = s.unstable_sxConfig ?? Kn; function l(c) { let u = c; if (typeof c == "function") - u = c(i); + u = c(s); else if (typeof c != "object") return c; if (!u) return null; - const d = Hd(i.breakpoints), h = Object.keys(d); - let b = d; + const d = vd(s.breakpoints), h = Object.keys(d); + let v = d; return Object.keys(u).forEach((m) => { - const g = If(u[m], i); + const g = of(u[m], s); if (g != null) if (typeof g == "object") if (a[m]) - b = sr(b, e(m, g, i, a)); + v = $n(v, e(m, g, s, a)); else { - const f = Ut({ - theme: i + const f = Tt({ + theme: s }, g, (y) => ({ [m]: y })); - Af(f, g) ? b[m] = t({ + rf(f, g) ? v[m] = t({ sx: g, - theme: i, + theme: s, nested: !0 - }) : b = sr(b, f); + }) : v = $n(v, f); } else - b = sr(b, e(m, g, i, a)); - }), !s && i.modularCssLayers ? { - "@layer sx": Xs(i, Qs(h, b)) - } : Xs(i, Qs(h, b)); + v = $n(v, e(m, g, s, a)); + }), !i && s.modularCssLayers ? { + "@layer sx": Ii(s, ki(h, v)) + } : Ii(s, ki(h, v)); } return Array.isArray(r) ? r.map(l) : l(r); } return t; } -const $n = Nf(); -$n.filterProps = ["sx"]; -function kf(e, t) { +const pn = sf(); +pn.filterProps = ["sx"]; +function af(e, t) { var r; const n = this; if (n.vars) { if (!((r = n.colorSchemes) != null && r[e]) || typeof n.getColorSchemeSelector != "function") return {}; - let i = n.getColorSchemeSelector(e); - return i === "&" ? t : ((i.includes("data-") || i.includes(".")) && (i = `*:where(${i.replace(/\s*&$/, "")}) &`), { - [i]: t + let s = n.getColorSchemeSelector(e); + return s === "&" ? t : ((s.includes("data-") || s.includes(".")) && (s = `*:where(${s.replace(/\s*&$/, "")}) &`), { + [s]: t }); } return n.palette.mode === e ? t : {}; } -function Zi(e = {}, ...t) { +function As(e = {}, ...t) { const { breakpoints: n = {}, palette: r = {}, - spacing: i, - shape: s = {}, + spacing: s, + shape: i = {}, ...a - } = e, l = Bd(n), c = Ol(i); - let u = et({ + } = e, l = pd(n), c = il(s); + let u = Ve({ breakpoints: l, direction: "ltr", components: {}, @@ -3711,47 +3362,47 @@ function Zi(e = {}, ...t) { }, spacing: c, shape: { - ...zd, - ...s + ...gd, + ...i } }, a); - return u = Vd(u), u.applyStyles = kf, u = t.reduce((d, h) => et(d, h), u), u.unstable_sxConfig = { - ...Sr, + return u = yd(u), u.applyStyles = af, u = t.reduce((d, h) => Ve(d, h), u), u.unstable_sxConfig = { + ...Kn, ...a == null ? void 0 : a.unstable_sxConfig }, u.unstable_sx = function(h) { - return $n({ + return pn({ sx: h, theme: this }); }, u; } -function $f(e) { +function lf(e) { return Object.keys(e).length === 0; } -function Mf(e = null) { - const t = x.useContext(go); - return !t || $f(t) ? e : t; +function cf(e = null) { + const t = x.useContext(Hr); + return !t || lf(t) ? e : t; } -const Df = Zi(); -function wl(e = Df) { - return Mf(e); +const uf = As(); +function al(e = uf) { + return cf(e); } -function ti(e) { - const t = Yt(e); +function No(e) { + const t = Pt(e); return e !== t && t.styles ? (t.styles.match(/^@layer\s+[^{]*$/) || (t.styles = `@layer global{${t.styles}}`), t) : e; } -function Cl({ +function ll({ styles: e, themeId: t, defaultTheme: n = {} }) { - const r = wl(n), i = t && r[t] || r; - let s = typeof e == "function" ? e(i) : e; - return i.modularCssLayers && (Array.isArray(s) ? s = s.map((a) => ti(typeof a == "function" ? a(i) : a)) : s = ti(s)), /* @__PURE__ */ k.jsx(Tl, { - styles: s + const r = al(n), s = t && r[t] || r; + let i = typeof e == "function" ? e(s) : e; + return s.modularCssLayers && (Array.isArray(i) ? i = i.map((a) => No(typeof a == "function" ? a(s) : a)) : i = No(i)), /* @__PURE__ */ k.jsx(rl, { + styles: i }); } -process.env.NODE_ENV !== "production" && (Cl.propTypes = { +process.env.NODE_ENV !== "production" && (ll.propTypes = { // ┌────────────────────────────── Warning ──────────────────────────────┐ // │ These PropTypes are generated from the TypeScript type definitions. │ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ @@ -3769,41 +3420,41 @@ process.env.NODE_ENV !== "production" && (Cl.propTypes = { */ themeId: o.string }); -const jf = (e) => { +const df = (e) => { var r; const t = { systemProps: {}, otherProps: {} - }, n = ((r = e == null ? void 0 : e.theme) == null ? void 0 : r.unstable_sxConfig) ?? Sr; - return Object.keys(e).forEach((i) => { - n[i] ? t.systemProps[i] = e[i] : t.otherProps[i] = e[i]; + }, n = ((r = e == null ? void 0 : e.theme) == null ? void 0 : r.unstable_sxConfig) ?? Kn; + return Object.keys(e).forEach((s) => { + n[s] ? t.systemProps[s] = e[s] : t.otherProps[s] = e[s]; }), t; }; -function Lf(e) { +function ff(e) { const { sx: t, ...n } = e, { systemProps: r, - otherProps: i - } = jf(n); - let s; - return Array.isArray(t) ? s = [r, ...t] : typeof t == "function" ? s = (...a) => { + otherProps: s + } = df(n); + let i; + return Array.isArray(t) ? i = [r, ...t] : typeof t == "function" ? i = (...a) => { const l = t(...a); - return _t(l) ? { + return pt(l) ? { ...r, ...l } : r; - } : s = { + } : i = { ...r, ...t }, { - ...i, - sx: s + ...s, + sx: i }; } -const ea = (e) => e, Bf = () => { - let e = ea; +const Mi = (e) => e, pf = () => { + let e = Mi; return { configure(t) { e = t; @@ -3812,24 +3463,24 @@ const ea = (e) => e, Bf = () => { return e(t); }, reset() { - e = ea; + e = Mi; } }; -}, Ff = Bf(); -function Pl(e) { +}, mf = pf(); +function cl(e) { var t, n, r = ""; if (typeof e == "string" || typeof e == "number") r += e; else if (typeof e == "object") if (Array.isArray(e)) { - var i = e.length; - for (t = 0; t < i; t++) e[t] && (n = Pl(e[t])) && (r && (r += " "), r += n); + var s = e.length; + for (t = 0; t < s; t++) e[t] && (n = cl(e[t])) && (r && (r += " "), r += n); } else for (n in e) e[n] && (r && (r += " "), r += n); return r; } -function ue() { - for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Pl(e)) && (r && (r += " "), r += t); +function ie() { + for (var e, t, n = 0, r = "", s = arguments.length; n < s; n++) (e = arguments[n]) && (t = cl(e)) && (r && (r += " "), r += t); return r; } -const Uf = { +const hf = { active: "active", checked: "checked", completed: "completed", @@ -3843,283 +3494,283 @@ const Uf = { required: "required", selected: "selected" }; -function ge(e, t, n = "Mui") { - const r = Uf[t]; - return r ? `${n}-${r}` : `${Ff.generate(e)}-${t}`; +function ce(e, t, n = "Mui") { + const r = hf[t]; + return r ? `${n}-${r}` : `${mf.generate(e)}-${t}`; } -function Ee(e, t, n = "Mui") { +function fe(e, t, n = "Mui") { const r = {}; - return t.forEach((i) => { - r[i] = ge(e, i, n); + return t.forEach((s) => { + r[s] = ce(e, s, n); }), r; } -function _l(e, t = "") { +function ul(e, t = "") { return e.displayName || e.name || t; } -function ta(e, t, n) { - const r = _l(t); +function Di(e, t, n) { + const r = ul(t); return e.displayName || (r !== "" ? `${n}(${r})` : n); } -function Vf(e) { +function yf(e) { if (e != null) { if (typeof e == "string") return e; if (typeof e == "function") - return _l(e, "Component"); + return ul(e, "Component"); if (typeof e == "object") switch (e.$$typeof) { - case un.ForwardRef: - return ta(e, e.render, "ForwardRef"); - case un.Memo: - return ta(e, e.type, "memo"); + case Wt.ForwardRef: + return Di(e, e.render, "ForwardRef"); + case Wt.Memo: + return Di(e, e.type, "memo"); default: return; } } } -function Al(e) { +function dl(e) { const { variants: t, ...n } = e, r = { variants: t, - style: Yt(n), + style: Pt(n), isProcessed: !0 }; - return r.style === n || t && t.forEach((i) => { - typeof i.style != "function" && (i.style = Yt(i.style)); + return r.style === n || t && t.forEach((s) => { + typeof s.style != "function" && (s.style = Pt(s.style)); }), r; } -const zf = Zi(); -function ni(e) { +const gf = As(); +function ko(e) { return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as"; } -function on(e, t) { +function Bt(e, t) { return t && e && typeof e == "object" && e.styles && !e.styles.startsWith("@layer") && (e.styles = `@layer ${t}{${String(e.styles)}}`), e; } -function Wf(e) { +function bf(e) { return e ? (t, n) => n[e] : null; } -function Hf(e, t, n) { - e.theme = Kf(e.theme) ? n : e.theme[t] || e.theme; +function vf(e, t, n) { + e.theme = xf(e.theme) ? n : e.theme[t] || e.theme; } -function Wr(e, t, n) { +function vr(e, t, n) { const r = typeof t == "function" ? t(e) : t; if (Array.isArray(r)) - return r.flatMap((i) => Wr(e, i, n)); + return r.flatMap((s) => vr(e, s, n)); if (Array.isArray(r == null ? void 0 : r.variants)) { - let i; + let s; if (r.isProcessed) - i = n ? on(r.style, n) : r.style; + s = n ? Bt(r.style, n) : r.style; else { const { - variants: s, + variants: i, ...a } = r; - i = n ? on(Yt(a), n) : a; + s = n ? Bt(Pt(a), n) : a; } - return Il(e, r.variants, [i], n); + return fl(e, r.variants, [s], n); } - return r != null && r.isProcessed ? n ? on(Yt(r.style), n) : r.style : n ? on(Yt(r), n) : r; + return r != null && r.isProcessed ? n ? Bt(Pt(r.style), n) : r.style : n ? Bt(Pt(r), n) : r; } -function Il(e, t, n = [], r = void 0) { - var s; - let i; +function fl(e, t, n = [], r = void 0) { + var i; + let s; e: for (let a = 0; a < t.length; a += 1) { const l = t[a]; if (typeof l.props == "function") { - if (i ?? (i = { + if (s ?? (s = { ...e, ...e.ownerState, ownerState: e.ownerState - }), !l.props(i)) + }), !l.props(s)) continue; } else for (const c in l.props) - if (e[c] !== l.props[c] && ((s = e.ownerState) == null ? void 0 : s[c]) !== l.props[c]) + if (e[c] !== l.props[c] && ((i = e.ownerState) == null ? void 0 : i[c]) !== l.props[c]) continue e; - typeof l.style == "function" ? (i ?? (i = { + typeof l.style == "function" ? (s ?? (s = { ...e, ...e.ownerState, ownerState: e.ownerState - }), n.push(r ? on(Yt(l.style(i)), r) : l.style(i))) : n.push(r ? on(Yt(l.style), r) : l.style); + }), n.push(r ? Bt(Pt(l.style(s)), r) : l.style(s))) : n.push(r ? Bt(Pt(l.style), r) : l.style); } return n; } -function qf(e = {}) { +function Ef(e = {}) { const { themeId: t, - defaultTheme: n = zf, - rootShouldForwardProp: r = ni, - slotShouldForwardProp: i = ni + defaultTheme: n = gf, + rootShouldForwardProp: r = ko, + slotShouldForwardProp: s = ko } = e; - function s(l) { - Hf(l, t, n); + function i(l) { + vf(l, t, n); } return (l, c = {}) => { - Md(l, (w) => w.filter((N) => N !== $n)); + cd(l, (w) => w.filter((N) => N !== pn)); const { name: u, slot: d, skipVariantsResolver: h, - skipSx: b, + skipSx: v, // TODO v6: remove `lowercaseFirstLetter()` in the next major release // For more details: https://github.com/mui/material-ui/pull/37908 - overridesResolver: m = Wf(Nl(d)), + overridesResolver: m = bf(pl(d)), ...g } = c, f = u && u.startsWith("Mui") || d ? "components" : "custom", y = h !== void 0 ? h : ( // TODO v6: remove `Root` in the next major release // For more details: https://github.com/mui/material-ui/pull/37908 d && d !== "Root" && d !== "root" || !1 - ), S = b || !1; - let O = ni; - d === "Root" || d === "root" ? O = r : d ? O = i : Xf(l) && (O = void 0); - const T = $d(l, { - shouldForwardProp: O, - label: Yf(u, d), + ), S = v || !1; + let R = ko; + d === "Root" || d === "root" ? R = r : d ? R = s : Of(l) && (R = void 0); + const T = ld(l, { + shouldForwardProp: R, + label: Tf(u, d), ...g - }), v = (w) => { + }), b = (w) => { if (w.__emotion_real === w) return w; if (typeof w == "function") - return function(L) { - return Wr(L, w, L.theme.modularCssLayers ? f : void 0); + return function(j) { + return vr(j, w, j.theme.modularCssLayers ? f : void 0); }; - if (_t(w)) { - const N = Al(w); + if (pt(w)) { + const N = dl(w); return function(z) { - return N.variants ? Wr(z, N, z.theme.modularCssLayers ? f : void 0) : z.theme.modularCssLayers ? on(N.style, f) : N.style; + return N.variants ? vr(z, N, z.theme.modularCssLayers ? f : void 0) : z.theme.modularCssLayers ? Bt(N.style, f) : N.style; }; } return w; }, E = (...w) => { - const N = [], L = w.map(v), z = []; - if (N.push(s), u && m && z.push(function(_) { - var q, te; - const M = (te = (q = _.theme.components) == null ? void 0 : q[u]) == null ? void 0 : te.styleOverrides; - if (!M) + const N = [], j = w.map(b), z = []; + if (N.push(i), u && m && z.push(function(I) { + var G, Q; + const D = (Q = (G = I.theme.components) == null ? void 0 : G[u]) == null ? void 0 : Q.styleOverrides; + if (!D) return null; - const j = {}; - for (const K in M) - j[K] = Wr(_, M[K], _.theme.modularCssLayers ? "theme" : void 0); - return m(_, j); - }), u && !y && z.push(function(_) { - var j, q; - const A = _.theme, M = (q = (j = A == null ? void 0 : A.components) == null ? void 0 : j[u]) == null ? void 0 : q.variants; - return M ? Il(_, M, [], _.theme.modularCssLayers ? "theme" : void 0) : null; - }), S || z.push($n), Array.isArray(L[0])) { - const p = L.shift(), _ = new Array(N.length).fill(""), A = new Array(z.length).fill(""); - let M; - M = [..._, ...p, ...A], M.raw = [..._, ...p.raw, ...A], N.unshift(M); + const L = {}; + for (const K in D) + L[K] = vr(I, D[K], I.theme.modularCssLayers ? "theme" : void 0); + return m(I, L); + }), u && !y && z.push(function(I) { + var L, G; + const A = I.theme, D = (G = (L = A == null ? void 0 : A.components) == null ? void 0 : L[u]) == null ? void 0 : G.variants; + return D ? fl(I, D, [], I.theme.modularCssLayers ? "theme" : void 0) : null; + }), S || z.push(pn), Array.isArray(j[0])) { + const p = j.shift(), I = new Array(N.length).fill(""), A = new Array(z.length).fill(""); + let D; + D = [...I, ...p, ...A], D.raw = [...I, ...p.raw, ...A], N.unshift(D); } - const H = [...N, ...L, ...z], F = T(...H); - return l.muiName && (F.muiName = l.muiName), process.env.NODE_ENV !== "production" && (F.displayName = Gf(u, d, l)), F; + const q = [...N, ...j, ...z], F = T(...q); + return l.muiName && (F.muiName = l.muiName), process.env.NODE_ENV !== "production" && (F.displayName = Sf(u, d, l)), F; }; return T.withConfig && (E.withConfig = T.withConfig), E; }; } -function Gf(e, t, n) { - return e ? `${e}${ae(t || "")}` : `Styled(${Vf(n)})`; +function Sf(e, t, n) { + return e ? `${e}${oe(t || "")}` : `Styled(${yf(n)})`; } -function Yf(e, t) { +function Tf(e, t) { let n; - return process.env.NODE_ENV !== "production" && e && (n = `${e}-${Nl(t || "Root")}`), n; + return process.env.NODE_ENV !== "production" && e && (n = `${e}-${pl(t || "Root")}`), n; } -function Kf(e) { +function xf(e) { for (const t in e) return !1; return !0; } -function Xf(e) { +function Of(e) { return typeof e == "string" && // 96 is one less than the char code // for "a" so this is checking that // it's a lowercase character e.charCodeAt(0) > 96; } -function Nl(e) { +function pl(e) { return e && e.charAt(0).toLowerCase() + e.slice(1); } -function Jr(e, t, n = !1) { +function wr(e, t, n = !1) { const r = { ...t }; - for (const i in e) - if (Object.prototype.hasOwnProperty.call(e, i)) { - const s = i; - if (s === "components" || s === "slots") - r[s] = { - ...e[s], - ...r[s] + for (const s in e) + if (Object.prototype.hasOwnProperty.call(e, s)) { + const i = s; + if (i === "components" || i === "slots") + r[i] = { + ...e[i], + ...r[i] }; - else if (s === "componentsProps" || s === "slotProps") { - const a = e[s], l = t[s]; + else if (i === "componentsProps" || i === "slotProps") { + const a = e[i], l = t[i]; if (!l) - r[s] = a || {}; + r[i] = a || {}; else if (!a) - r[s] = l; + r[i] = l; else { - r[s] = { + r[i] = { ...l }; for (const c in a) if (Object.prototype.hasOwnProperty.call(a, c)) { const u = c; - r[s][u] = Jr(a[u], l[u], n); + r[i][u] = wr(a[u], l[u], n); } } - } else s === "className" && n && t.className ? r.className = ue(e == null ? void 0 : e.className, t == null ? void 0 : t.className) : s === "style" && n && t.style ? r.style = { + } else i === "className" && n && t.className ? r.className = ie(e == null ? void 0 : e.className, t == null ? void 0 : t.className) : i === "style" && n && t.style ? r.style = { ...e == null ? void 0 : e.style, ...t == null ? void 0 : t.style - } : r[s] === void 0 && (r[s] = e[s]); + } : r[i] === void 0 && (r[i] = e[i]); } return r; } -const Vt = typeof window < "u" ? x.useLayoutEffect : x.useEffect; -function Jf(e, t = Number.MIN_SAFE_INTEGER, n = Number.MAX_SAFE_INTEGER) { +const xt = typeof window < "u" ? x.useLayoutEffect : x.useEffect; +function Rf(e, t = Number.MIN_SAFE_INTEGER, n = Number.MAX_SAFE_INTEGER) { return Math.max(t, Math.min(e, n)); } -function es(e, t = 0, n = 1) { - return process.env.NODE_ENV !== "production" && (e < t || e > n) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`), Jf(e, t, n); +function Is(e, t = 0, n = 1) { + return process.env.NODE_ENV !== "production" && (e < t || e > n) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`), Rf(e, t, n); } -function Qf(e) { +function wf(e) { e = e.slice(1); const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g"); let n = e.match(t); - return n && n[0].length === 1 && (n = n.map((r) => r + r)), process.env.NODE_ENV !== "production" && e.length !== e.trim().length && console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`), n ? `rgb${n.length === 4 ? "a" : ""}(${n.map((r, i) => i < 3 ? parseInt(r, 16) : Math.round(parseInt(r, 16) / 255 * 1e3) / 1e3).join(", ")})` : ""; + return n && n[0].length === 1 && (n = n.map((r) => r + r)), process.env.NODE_ENV !== "production" && e.length !== e.trim().length && console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`), n ? `rgb${n.length === 4 ? "a" : ""}(${n.map((r, s) => s < 3 ? parseInt(r, 16) : Math.round(parseInt(r, 16) / 255 * 1e3) / 1e3).join(", ")})` : ""; } -function Kt(e) { +function _t(e) { if (e.type) return e; if (e.charAt(0) === "#") - return Kt(Qf(e)); + return _t(wf(e)); const t = e.indexOf("("), n = e.substring(0, t); if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(n)) throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color. -The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : Ft(9, e)); - let r = e.substring(t + 1, e.length - 1), i; +The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : St(9, e)); + let r = e.substring(t + 1, e.length - 1), s; if (n === "color") { - if (r = r.split(" "), i = r.shift(), r.length === 4 && r[3].charAt(0) === "/" && (r[3] = r[3].slice(1)), !["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(i)) - throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${i}\` color space. -The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : Ft(10, i)); + if (r = r.split(" "), s = r.shift(), r.length === 4 && r[3].charAt(0) === "/" && (r[3] = r[3].slice(1)), !["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(s)) + throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${s}\` color space. +The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : St(10, s)); } else r = r.split(","); - return r = r.map((s) => parseFloat(s)), { + return r = r.map((i) => parseFloat(i)), { type: n, values: r, - colorSpace: i + colorSpace: s }; } -const Zf = (e) => { - const t = Kt(e); +const Cf = (e) => { + const t = _t(e); return t.values.slice(0, 3).map((n, r) => t.type.includes("hsl") && r !== 0 ? `${n}%` : n).join(" "); -}, nr = (e, t) => { +}, An = (e, t) => { try { - return Zf(e); + return Cf(e); } catch { return t && process.env.NODE_ENV !== "production" && console.warn(t), e; } }; -function Co(e) { +function to(e) { const { type: t, colorSpace: n @@ -4127,56 +3778,56 @@ function Co(e) { let { values: r } = e; - return t.includes("rgb") ? r = r.map((i, s) => s < 3 ? parseInt(i, 10) : i) : t.includes("hsl") && (r[1] = `${r[1]}%`, r[2] = `${r[2]}%`), t.includes("color") ? r = `${n} ${r.join(" ")}` : r = `${r.join(", ")}`, `${t}(${r})`; + return t.includes("rgb") ? r = r.map((s, i) => i < 3 ? parseInt(s, 10) : s) : t.includes("hsl") && (r[1] = `${r[1]}%`, r[2] = `${r[2]}%`), t.includes("color") ? r = `${n} ${r.join(" ")}` : r = `${r.join(", ")}`, `${t}(${r})`; } -function kl(e) { - e = Kt(e); +function ml(e) { + e = _t(e); const { values: t - } = e, n = t[0], r = t[1] / 100, i = t[2] / 100, s = r * Math.min(i, 1 - i), a = (u, d = (u + n / 30) % 12) => i - s * Math.max(Math.min(d - 3, 9 - d, 1), -1); + } = e, n = t[0], r = t[1] / 100, s = t[2] / 100, i = r * Math.min(s, 1 - s), a = (u, d = (u + n / 30) % 12) => s - i * Math.max(Math.min(d - 3, 9 - d, 1), -1); let l = "rgb"; const c = [Math.round(a(0) * 255), Math.round(a(8) * 255), Math.round(a(4) * 255)]; - return e.type === "hsla" && (l += "a", c.push(t[3])), Co({ + return e.type === "hsla" && (l += "a", c.push(t[3])), to({ type: l, values: c }); } -function Ti(e) { - e = Kt(e); - let t = e.type === "hsl" || e.type === "hsla" ? Kt(kl(e)).values : e.values; +function Zo(e) { + e = _t(e); + let t = e.type === "hsl" || e.type === "hsla" ? _t(ml(e)).values : e.values; return t = t.map((n) => (e.type !== "color" && (n /= 255), n <= 0.03928 ? n / 12.92 : ((n + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3)); } -function na(e, t) { - const n = Ti(e), r = Ti(t); +function Li(e, t) { + const n = Zo(e), r = Zo(t); return (Math.max(n, r) + 0.05) / (Math.min(n, r) + 0.05); } -function Qr(e, t) { - return e = Kt(e), t = es(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Co(e); +function Cr(e, t) { + return e = _t(e), t = Is(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, to(e); } -function Zt(e, t, n) { +function $t(e, t, n) { try { - return Qr(e, t); + return Cr(e, t); } catch { return n && process.env.NODE_ENV !== "production" && console.warn(n), e; } } -function Po(e, t) { - if (e = Kt(e), t = es(t), e.type.includes("hsl")) +function no(e, t) { + if (e = _t(e), t = Is(t), e.type.includes("hsl")) e.values[2] *= 1 - t; else if (e.type.includes("rgb") || e.type.includes("color")) for (let n = 0; n < 3; n += 1) e.values[n] *= 1 - t; - return Co(e); + return to(e); } -function Pe(e, t, n) { +function Se(e, t, n) { try { - return Po(e, t); + return no(e, t); } catch { return n && process.env.NODE_ENV !== "production" && console.warn(n), e; } } -function _o(e, t) { - if (e = Kt(e), t = es(t), e.type.includes("hsl")) +function ro(e, t) { + if (e = _t(e), t = Is(t), e.type.includes("hsl")) e.values[2] += (100 - e.values[2]) * t; else if (e.type.includes("rgb")) for (let n = 0; n < 3; n += 1) @@ -4184,40 +3835,40 @@ function _o(e, t) { else if (e.type.includes("color")) for (let n = 0; n < 3; n += 1) e.values[n] += (1 - e.values[n]) * t; - return Co(e); + return to(e); } -function _e(e, t, n) { +function Te(e, t, n) { try { - return _o(e, t); + return ro(e, t); } catch { return n && process.env.NODE_ENV !== "production" && console.warn(n), e; } } -function ep(e, t = 0.15) { - return Ti(e) > 0.5 ? Po(e, t) : _o(e, t); +function Pf(e, t = 0.15) { + return Zo(e) > 0.5 ? no(e, t) : ro(e, t); } -function $r(e, t, n) { +function cr(e, t, n) { try { - return ep(e, t); + return Pf(e, t); } catch { return e; } } -const tp = "exact-prop: ​"; -function $l(e) { +const _f = "exact-prop: ​"; +function hl(e) { return process.env.NODE_ENV === "production" ? e : { ...e, - [tp]: (t) => { + [_f]: (t) => { const n = Object.keys(t).filter((r) => !e.hasOwnProperty(r)); return n.length > 0 ? new Error(`The following props are not supported: ${n.map((r) => `\`${r}\``).join(", ")}. Please remove them.`) : null; } }; } -const np = /* @__PURE__ */ x.createContext(); +const Af = /* @__PURE__ */ x.createContext(); process.env.NODE_ENV !== "production" && (o.node, o.bool); -const rp = () => x.useContext(np) ?? !1, op = /* @__PURE__ */ x.createContext(void 0); +const If = () => x.useContext(Af) ?? !1, Nf = /* @__PURE__ */ x.createContext(void 0); process.env.NODE_ENV !== "production" && (o.node, o.object); -function ip(e) { +function kf(e) { const { theme: t, name: n, @@ -4225,15 +3876,15 @@ function ip(e) { } = e; if (!t || !t.components || !t.components[n]) return r; - const i = t.components[n]; - return i.defaultProps ? Jr(i.defaultProps, r, t.components.mergeClassNameAndStyle) : !i.styleOverrides && !i.variants ? Jr(i, r, t.components.mergeClassNameAndStyle) : r; + const s = t.components[n]; + return s.defaultProps ? wr(s.defaultProps, r, t.components.mergeClassNameAndStyle) : !s.styleOverrides && !s.variants ? wr(s, r, t.components.mergeClassNameAndStyle) : r; } -function sp({ +function $f({ props: e, name: t }) { - const n = x.useContext(op); - return ip({ + const n = x.useContext(Nf); + return kf({ props: e, name: t, theme: { @@ -4241,84 +3892,84 @@ function sp({ } }); } -let ra = 0; -function ap(e) { +let ji = 0; +function Mf(e) { const [t, n] = x.useState(e), r = e || t; return x.useEffect(() => { - t == null && (ra += 1, n(`mui-${ra}`)); + t == null && (ji += 1, n(`mui-${ji}`)); }, [t]), r; } -const lp = { +const Df = { ...x -}, oa = lp.useId; -function Tr(e) { - if (oa !== void 0) { - const t = oa(); +}, Bi = Df.useId; +function Xn(e) { + if (Bi !== void 0) { + const t = Bi(); return e ?? t; } - return ap(e); + return Mf(e); } -const ia = { +const Fi = { theme: void 0 }; -function cp(e) { +function Lf(e) { let t, n; - return function(i) { - let s = t; - return (s === void 0 || i.theme !== n) && (ia.theme = i.theme, s = Al(e(ia)), t = s, n = i.theme), s; + return function(s) { + let i = t; + return (i === void 0 || s.theme !== n) && (Fi.theme = s.theme, i = dl(e(Fi)), t = i, n = s.theme), i; }; } -function up(e = "") { +function jf(e = "") { function t(...r) { if (!r.length) return ""; - const i = r[0]; - return typeof i == "string" && !i.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/) ? `, var(--${e ? `${e}-` : ""}${i}${t(...r.slice(1))})` : `, ${i}`; + const s = r[0]; + return typeof s == "string" && !s.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/) ? `, var(--${e ? `${e}-` : ""}${s}${t(...r.slice(1))})` : `, ${s}`; } - return (r, ...i) => `var(--${e ? `${e}-` : ""}${r}${t(...i)})`; + return (r, ...s) => `var(--${e ? `${e}-` : ""}${r}${t(...s)})`; } -const sa = (e, t, n, r = []) => { - let i = e; - t.forEach((s, a) => { - a === t.length - 1 ? Array.isArray(i) ? i[Number(s)] = n : i && typeof i == "object" && (i[s] = n) : i && typeof i == "object" && (i[s] || (i[s] = r.includes(s) ? [] : {}), i = i[s]); +const Ui = (e, t, n, r = []) => { + let s = e; + t.forEach((i, a) => { + a === t.length - 1 ? Array.isArray(s) ? s[Number(i)] = n : s && typeof s == "object" && (s[i] = n) : s && typeof s == "object" && (s[i] || (s[i] = r.includes(i) ? [] : {}), s = s[i]); }); -}, dp = (e, t, n) => { - function r(i, s = [], a = []) { - Object.entries(i).forEach(([l, c]) => { - (!n || n && !n([...s, l])) && c != null && (typeof c == "object" && Object.keys(c).length > 0 ? r(c, [...s, l], Array.isArray(c) ? [...a, l] : a) : t([...s, l], c, a)); +}, Bf = (e, t, n) => { + function r(s, i = [], a = []) { + Object.entries(s).forEach(([l, c]) => { + (!n || n && !n([...i, l])) && c != null && (typeof c == "object" && Object.keys(c).length > 0 ? r(c, [...i, l], Array.isArray(c) ? [...a, l] : a) : t([...i, l], c, a)); }); } r(e); -}, fp = (e, t) => typeof t == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((r) => e.includes(r)) || e[e.length - 1].toLowerCase().includes("opacity") ? t : `${t}px` : t; -function ri(e, t) { +}, Ff = (e, t) => typeof t == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((r) => e.includes(r)) || e[e.length - 1].toLowerCase().includes("opacity") ? t : `${t}px` : t; +function $o(e, t) { const { prefix: n, shouldSkipGeneratingVar: r - } = t || {}, i = {}, s = {}, a = {}; - return dp( + } = t || {}, s = {}, i = {}, a = {}; + return Bf( e, (l, c, u) => { if ((typeof c == "string" || typeof c == "number") && (!r || !r(l, c))) { - const d = `--${n ? `${n}-` : ""}${l.join("-")}`, h = fp(l, c); - Object.assign(i, { + const d = `--${n ? `${n}-` : ""}${l.join("-")}`, h = Ff(l, c); + Object.assign(s, { [d]: h - }), sa(s, l, `var(${d})`, u), sa(a, l, `var(${d}, ${h})`, u); + }), Ui(i, l, `var(${d})`, u), Ui(a, l, `var(${d}, ${h})`, u); } }, (l) => l[0] === "vars" // skip 'vars/*' paths ), { - css: i, - vars: s, + css: s, + vars: i, varsWithDefaults: a }; } -function pp(e, t = {}) { +function Uf(e, t = {}) { const { getSelector: n = S, disableCssColorScheme: r, - colorSchemeSelector: i, - enableContrastVars: s + colorSchemeSelector: s, + enableContrastVars: i } = t, { colorSchemes: a = {}, components: l, @@ -4327,66 +3978,66 @@ function pp(e, t = {}) { } = e, { vars: d, css: h, - varsWithDefaults: b - } = ri(u, t); - let m = b; + varsWithDefaults: v + } = $o(u, t); + let m = v; const g = {}, { [c]: f, ...y } = a; - if (Object.entries(y || {}).forEach(([v, E]) => { + if (Object.entries(y || {}).forEach(([b, E]) => { const { vars: w, css: N, - varsWithDefaults: L - } = ri(E, t); - m = et(m, L), g[v] = { + varsWithDefaults: j + } = $o(E, t); + m = Ve(m, j), g[b] = { css: N, vars: w }; }), f) { const { - css: v, + css: b, vars: E, varsWithDefaults: w - } = ri(f, t); - m = et(m, w), g[c] = { - css: v, + } = $o(f, t); + m = Ve(m, w), g[c] = { + css: b, vars: E }; } - function S(v, E) { - var N, L; - let w = i; - if (i === "class" && (w = ".%s"), i === "data" && (w = "[data-%s]"), i != null && i.startsWith("data-") && !i.includes("%s") && (w = `[${i}="%s"]`), v) { + function S(b, E) { + var N, j; + let w = s; + if (s === "class" && (w = ".%s"), s === "data" && (w = "[data-%s]"), s != null && s.startsWith("data-") && !s.includes("%s") && (w = `[${s}="%s"]`), b) { if (w === "media") - return e.defaultColorScheme === v ? ":root" : { - [`@media (prefers-color-scheme: ${((L = (N = a[v]) == null ? void 0 : N.palette) == null ? void 0 : L.mode) || v})`]: { + return e.defaultColorScheme === b ? ":root" : { + [`@media (prefers-color-scheme: ${((j = (N = a[b]) == null ? void 0 : N.palette) == null ? void 0 : j.mode) || b})`]: { ":root": E } }; if (w) - return e.defaultColorScheme === v ? `:root, ${w.replace("%s", String(v))}` : w.replace("%s", String(v)); + return e.defaultColorScheme === b ? `:root, ${w.replace("%s", String(b))}` : w.replace("%s", String(b)); } return ":root"; } return { vars: m, generateThemeVars: () => { - let v = { + let b = { ...d }; return Object.entries(g).forEach(([, { vars: E }]) => { - v = et(v, E); - }), v; + b = Ve(b, E); + }), b; }, generateStyleSheets: () => { - var z, H; - const v = [], E = e.defaultColorScheme || "light"; + var z, q; + const b = [], E = e.defaultColorScheme || "light"; function w(F, p) { - Object.keys(p).length && v.push(typeof F == "string" ? { + Object.keys(p).length && b.push(typeof F == "string" ? { [F]: { ...p } @@ -4397,27 +4048,27 @@ function pp(e, t = {}) { }), h); const { [E]: N, - ...L + ...j } = g; if (N) { const { css: F - } = N, p = (H = (z = a[E]) == null ? void 0 : z.palette) == null ? void 0 : H.mode, _ = !r && p ? { + } = N, p = (q = (z = a[E]) == null ? void 0 : z.palette) == null ? void 0 : q.mode, I = !r && p ? { colorScheme: p, ...F } : { ...F }; w(n(E, { - ..._ - }), _); + ...I + }), I); } - return Object.entries(L).forEach(([F, { + return Object.entries(j).forEach(([F, { css: p }]) => { - var M, j; - const _ = (j = (M = a[F]) == null ? void 0 : M.palette) == null ? void 0 : j.mode, A = !r && _ ? { - colorScheme: _, + var D, L; + const I = (L = (D = a[F]) == null ? void 0 : D.palette) == null ? void 0 : L.mode, A = !r && I ? { + colorScheme: I, ...p } : { ...p @@ -4425,7 +4076,7 @@ function pp(e, t = {}) { w(n(F, { ...A }), A); - }), s && v.push({ + }), i && b.push({ ":root": { // use double underscore to indicate that these are private variables "--__l-threshold": "0.7", @@ -4433,38 +4084,38 @@ function pp(e, t = {}) { "--__a": "clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)" // 0.87 is the default alpha value for black text. } - }), v; + }), b; } }; } -function mp(e) { +function Vf(e) { return function(n) { return e === "media" ? (process.env.NODE_ENV !== "production" && n !== "light" && n !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${n}'.`), `@media (prefers-color-scheme: ${n})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${n}"] &` : e === "class" ? `.${n} &` : e === "data" ? `[data-${n}] &` : `${e.replace("%s", n)} &` : "&"; }; } -function Se(e, t, n = void 0) { +function pe(e, t, n = void 0) { const r = {}; - for (const i in e) { - const s = e[i]; + for (const s in e) { + const i = e[s]; let a = "", l = !0; - for (let c = 0; c < s.length; c += 1) { - const u = s[c]; + for (let c = 0; c < i.length; c += 1) { + const u = i[c]; u && (a += (l === !0 ? "" : " ") + t(u), l = !1, n && n[u] && (a += " " + n[u])); } - r[i] = a; + r[s] = a; } return r; } -function oi(e, t) { - var n, r, i; +function Mo(e, t) { + var n, r, s; return /* @__PURE__ */ x.isValidElement(e) && t.indexOf( // For server components `muiName` is available in element.type._payload.value.muiName // relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45 // eslint-disable-next-line no-underscore-dangle - e.type.muiName ?? ((i = (r = (n = e.type) == null ? void 0 : n._payload) == null ? void 0 : r.value) == null ? void 0 : i.muiName) + e.type.muiName ?? ((s = (r = (n = e.type) == null ? void 0 : n._payload) == null ? void 0 : r.value) == null ? void 0 : s.muiName) ) !== -1; } -function Ml() { +function yl() { return { // The colors used to style the text. text: { @@ -4480,8 +4131,8 @@ function Ml() { // The background colors used to style the surfaces. // Consistency between these values is important. background: { - paper: ur.white, - default: ur.white + paper: jn.white, + default: jn.white }, // The colors used to style the action elements. action: { @@ -4504,11 +4155,11 @@ function Ml() { } }; } -const Dl = Ml(); -function jl() { +const gl = yl(); +function bl() { return { text: { - primary: ur.white, + primary: jn.white, secondary: "rgba(255, 255, 255, 0.7)", disabled: "rgba(255, 255, 255, 0.5)", icon: "rgba(255, 255, 255, 0.5)" @@ -4519,7 +4170,7 @@ function jl() { default: "#121212" }, action: { - active: ur.white, + active: jn.white, hover: "rgba(255, 255, 255, 0.08)", hoverOpacity: 0.08, selected: "rgba(255, 255, 255, 0.16)", @@ -4533,100 +4184,100 @@ function jl() { } }; } -const xi = jl(); -function aa(e, t, n, r) { - const i = r.light || r, s = r.dark || r * 1.5; - e[t] || (e.hasOwnProperty(n) ? e[t] = e[n] : t === "light" ? e.light = _o(e.main, i) : t === "dark" && (e.dark = Po(e.main, s))); +const es = bl(); +function Vi(e, t, n, r) { + const s = r.light || r, i = r.dark || r * 1.5; + e[t] || (e.hasOwnProperty(n) ? e[t] = e[n] : t === "light" ? e.light = ro(e.main, s) : t === "dark" && (e.dark = no(e.main, i))); } -function la(e, t, n, r, i) { - const s = i.light || i, a = i.dark || i * 1.5; - t[n] || (t.hasOwnProperty(r) ? t[n] = t[r] : n === "light" ? t.light = `color-mix(in ${e}, ${t.main}, #fff ${(s * 100).toFixed(0)}%)` : n === "dark" && (t.dark = `color-mix(in ${e}, ${t.main}, #000 ${(a * 100).toFixed(0)}%)`)); +function zi(e, t, n, r, s) { + const i = s.light || s, a = s.dark || s * 1.5; + t[n] || (t.hasOwnProperty(r) ? t[n] = t[r] : n === "light" ? t.light = `color-mix(in ${e}, ${t.main}, #fff ${(i * 100).toFixed(0)}%)` : n === "dark" && (t.dark = `color-mix(in ${e}, ${t.main}, #000 ${(a * 100).toFixed(0)}%)`)); } -function hp(e = "light") { +function zf(e = "light") { return e === "dark" ? { - main: Rn[200], - light: Rn[50], - dark: Rn[400] + main: nn[200], + light: nn[50], + dark: nn[400] } : { - main: Rn[700], - light: Rn[400], - dark: Rn[800] + main: nn[700], + light: nn[400], + dark: nn[800] }; } -function yp(e = "light") { +function Wf(e = "light") { return e === "dark" ? { - main: xn[200], - light: xn[50], - dark: xn[400] + main: tn[200], + light: tn[50], + dark: tn[400] } : { - main: xn[500], + main: tn[500], + light: tn[300], + dark: tn[700] + }; +} +function Hf(e = "light") { + return e === "dark" ? { + main: en[500], + light: en[300], + dark: en[700] + } : { + main: en[700], + light: en[400], + dark: en[800] + }; +} +function qf(e = "light") { + return e === "dark" ? { + main: rn[400], + light: rn[300], + dark: rn[700] + } : { + main: rn[700], + light: rn[500], + dark: rn[900] + }; +} +function Gf(e = "light") { + return e === "dark" ? { + main: on[400], + light: on[300], + dark: on[700] + } : { + main: on[800], + light: on[500], + dark: on[900] + }; +} +function Yf(e = "light") { + return e === "dark" ? { + main: xn[400], light: xn[300], dark: xn[700] - }; -} -function gp(e = "light") { - return e === "dark" ? { - main: Tn[500], - light: Tn[300], - dark: Tn[700] - } : { - main: Tn[700], - light: Tn[400], - dark: Tn[800] - }; -} -function bp(e = "light") { - return e === "dark" ? { - main: On[400], - light: On[300], - dark: On[700] - } : { - main: On[700], - light: On[500], - dark: On[900] - }; -} -function vp(e = "light") { - return e === "dark" ? { - main: wn[400], - light: wn[300], - dark: wn[700] - } : { - main: wn[800], - light: wn[500], - dark: wn[900] - }; -} -function Ep(e = "light") { - return e === "dark" ? { - main: Kn[400], - light: Kn[300], - dark: Kn[700] } : { main: "#ed6c02", // closest to orange[800] that pass 3:1. - light: Kn[500], - dark: Kn[900] + light: xn[500], + dark: xn[900] }; } -function Sp(e) { +function Kf(e) { return `oklch(from ${e} var(--__l) 0 h / var(--__a))`; } -function ts(e) { +function Ns(e) { const { mode: t = "light", contrastThreshold: n = 3, tonalOffset: r = 0.2, - colorSpace: i, - ...s - } = e, a = e.primary || hp(t), l = e.secondary || yp(t), c = e.error || gp(t), u = e.info || bp(t), d = e.success || vp(t), h = e.warning || Ep(t); - function b(y) { - if (i) - return Sp(y); - const S = na(y, xi.text.primary) >= n ? xi.text.primary : Dl.text.primary; + colorSpace: s, + ...i + } = e, a = e.primary || zf(t), l = e.secondary || Wf(t), c = e.error || Hf(t), u = e.info || qf(t), d = e.success || Gf(t), h = e.warning || Yf(t); + function v(y) { + if (s) + return Kf(y); + const S = Li(y, es.text.primary) >= n ? es.text.primary : gl.text.primary; if (process.env.NODE_ENV !== "production") { - const O = na(y, S); - O < 3 && console.error([`MUI: The contrast ratio of ${O}:1 for ${S} on ${y}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(` + const R = Li(y, S); + R < 3 && console.error([`MUI: The contrast ratio of ${R}:1 for ${S} on ${y}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(` `)); } return S; @@ -4634,15 +4285,15 @@ function ts(e) { const m = ({ color: y, name: S, - mainShade: O = 500, + mainShade: R = 500, lightShade: T = 300, - darkShade: v = 700 + darkShade: b = 700 }) => { if (y = { ...y - }, !y.main && y[O] && (y.main = y[O]), !y.hasOwnProperty("main")) + }, !y.main && y[R] && (y.main = y[R]), !y.hasOwnProperty("main")) throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${S ? ` (${S})` : ""} provided to augmentColor(color) is invalid. -The color object needs to have a \`main\` property or a \`${O}\` property.` : Ft(11, S ? ` (${S})` : "", O)); +The color object needs to have a \`main\` property or a \`${R}\` property.` : St(11, S ? ` (${S})` : "", R)); if (typeof y.main != "string") throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${S ? ` (${S})` : ""} provided to augmentColor(color) is invalid. \`color.main\` should be a string, but \`${JSON.stringify(y.main)}\` was provided instead. @@ -4657,14 +4308,14 @@ const theme1 = createTheme({ palette: { const theme2 = createTheme({ palette: { primary: { main: green[500] }, -} });` : Ft(12, S ? ` (${S})` : "", JSON.stringify(y.main))); - return i ? (la(i, y, "light", T, r), la(i, y, "dark", v, r)) : (aa(y, "light", T, r), aa(y, "dark", v, r)), y.contrastText || (y.contrastText = b(y.main)), y; +} });` : St(12, S ? ` (${S})` : "", JSON.stringify(y.main))); + return s ? (zi(s, y, "light", T, r), zi(s, y, "dark", b, r)) : (Vi(y, "light", T, r), Vi(y, "dark", b, r)), y.contrastText || (y.contrastText = v(y.main)), y; }; let g; - return t === "light" ? g = Ml() : t === "dark" && (g = jl()), process.env.NODE_ENV !== "production" && (g || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), et({ + return t === "light" ? g = yl() : t === "dark" && (g = bl()), process.env.NODE_ENV !== "production" && (g || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), Ve({ // A collection of common colors. common: { - ...ur + ...jn }, // prevent mutable object. // The palette mode, can be light or dark. @@ -4703,12 +4354,12 @@ const theme2 = createTheme({ palette: { name: "success" }), // The grey colors. - grey: Ru, + grey: Qc, // Used by `getContrastText()` to maximize the contrast between // the background and the text. contrastThreshold: n, // Takes a background color and returns the text color that maximizes the contrast. - getContrastText: b, + getContrastText: v, // Generate a rich color object. augmentColor: m, // Used by the functions below to shift a color's luminance by approximately @@ -4717,16 +4368,16 @@ const theme2 = createTheme({ palette: { tonalOffset: r, // The light and dark mode object. ...g - }, s); + }, i); } -function Tp(e) { +function Xf(e) { const t = {}; return Object.entries(e).forEach((r) => { - const [i, s] = r; - typeof s == "object" && (t[i] = `${s.fontStyle ? `${s.fontStyle} ` : ""}${s.fontVariant ? `${s.fontVariant} ` : ""}${s.fontWeight ? `${s.fontWeight} ` : ""}${s.fontStretch ? `${s.fontStretch} ` : ""}${s.fontSize || ""}${s.lineHeight ? `/${s.lineHeight} ` : ""}${s.fontFamily || ""}`); + const [s, i] = r; + typeof i == "object" && (t[s] = `${i.fontStyle ? `${i.fontStyle} ` : ""}${i.fontVariant ? `${i.fontVariant} ` : ""}${i.fontWeight ? `${i.fontWeight} ` : ""}${i.fontStretch ? `${i.fontStretch} ` : ""}${i.fontSize || ""}${i.lineHeight ? `/${i.lineHeight} ` : ""}${i.fontFamily || ""}`); }), t; } -function xp(e, t) { +function Jf(e, t) { return { toolbar: { minHeight: 56, @@ -4742,20 +4393,20 @@ function xp(e, t) { ...t }; } -function Rp(e) { +function Qf(e) { return Math.round(e * 1e5) / 1e5; } -const ca = { +const Wi = { textTransform: "uppercase" -}, ua = '"Roboto", "Helvetica", "Arial", sans-serif'; -function Op(e, t) { +}, Hi = '"Roboto", "Helvetica", "Arial", sans-serif'; +function Zf(e, t) { const { - fontFamily: n = ua, + fontFamily: n = Hi, // The default font size of the Material Specification. fontSize: r = 14, // px - fontWeightLight: i = 300, - fontWeightRegular: s = 400, + fontWeightLight: s = 300, + fontWeightRegular: i = 400, fontWeightMedium: a = 500, fontWeightBold: l = 700, // Tell MUI what's the font-size on the html element. @@ -4767,33 +4418,33 @@ function Op(e, t) { ...h } = typeof t == "function" ? t(e) : t; process.env.NODE_ENV !== "production" && (typeof r != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof c != "number" && console.error("MUI: `htmlFontSize` is required to be a number.")); - const b = r / 14, m = d || ((y) => `${y / c * b}rem`), g = (y, S, O, T, v) => ({ + const v = r / 14, m = d || ((y) => `${y / c * v}rem`), g = (y, S, R, T, b) => ({ fontFamily: n, fontWeight: y, fontSize: m(S), // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/ - lineHeight: O, + lineHeight: R, // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing // across font-families can cause issues with the kerning. - ...n === ua ? { - letterSpacing: `${Rp(T / S)}em` + ...n === Hi ? { + letterSpacing: `${Qf(T / S)}em` } : {}, - ...v, + ...b, ...u }), f = { - h1: g(i, 96, 1.167, -1.5), - h2: g(i, 60, 1.2, -0.5), - h3: g(s, 48, 1.167, 0), - h4: g(s, 34, 1.235, 0.25), - h5: g(s, 24, 1.334, 0), + h1: g(s, 96, 1.167, -1.5), + h2: g(s, 60, 1.2, -0.5), + h3: g(i, 48, 1.167, 0), + h4: g(i, 34, 1.235, 0.25), + h5: g(i, 24, 1.334, 0), h6: g(a, 20, 1.6, 0.15), - subtitle1: g(s, 16, 1.75, 0.15), + subtitle1: g(i, 16, 1.75, 0.15), subtitle2: g(a, 14, 1.57, 0.1), - body1: g(s, 16, 1.5, 0.15), - body2: g(s, 14, 1.43, 0.15), - button: g(a, 14, 1.75, 0.4, ca), - caption: g(s, 12, 1.66, 0.4), - overline: g(s, 12, 2.66, 1, ca), + body1: g(i, 16, 1.5, 0.15), + body2: g(i, 14, 1.43, 0.15), + button: g(a, 14, 1.75, 0.4, Wi), + caption: g(i, 12, 1.66, 0.4), + overline: g(i, 12, 2.66, 1, Wi), // 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. inherit: { fontFamily: "inherit", @@ -4803,13 +4454,13 @@ function Op(e, t) { letterSpacing: "inherit" } }; - return et({ + return Ve({ htmlFontSize: c, pxToRem: m, fontFamily: n, fontSize: r, - fontWeightLight: i, - fontWeightRegular: s, + fontWeightLight: s, + fontWeightRegular: i, fontWeightMedium: a, fontWeightBold: l, ...f @@ -4818,11 +4469,11 @@ function Op(e, t) { // No need to clone deep }); } -const wp = 0.2, Cp = 0.14, Pp = 0.12; -function Le(...e) { - return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${wp})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Cp})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Pp})`].join(","); +const ep = 0.2, tp = 0.14, np = 0.12; +function we(...e) { + return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ep})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${tp})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${np})`].join(","); } -const _p = ["none", Le(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), Le(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), Le(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), Le(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), Le(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), Le(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), Le(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), Le(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), Le(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), Le(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), Le(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), Le(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), Le(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), Le(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), Le(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), Le(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), Le(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), Le(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), Le(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), Le(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), Le(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), Le(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), Le(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), Le(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Ap = { +const rp = ["none", we(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), we(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), we(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), we(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), we(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), we(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), we(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), we(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), we(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), we(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), we(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), we(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), we(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), we(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), we(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), we(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), we(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), we(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), we(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), we(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), we(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), we(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), we(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), we(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], op = { // This is the most common easing curve. easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)", // Objects enter the screen at full velocity from off-screen and @@ -4832,7 +4483,7 @@ const _p = ["none", Le(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), Le(0, 3, 1, -2, 0, easeIn: "cubic-bezier(0.4, 0, 1, 1)", // The sharp curve is used by objects that may return to the screen at any time. sharp: "cubic-bezier(0.4, 0, 0.6, 1)" -}, Ip = { +}, sp = { shortest: 150, shorter: 200, short: 250, @@ -4845,45 +4496,45 @@ const _p = ["none", Le(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), Le(0, 3, 1, -2, 0, // recommended when something is leaving screen leavingScreen: 195 }; -function da(e) { +function qi(e) { return `${Math.round(e)}ms`; } -function Np(e) { +function ip(e) { if (!e) return 0; const t = e / 36; return Math.min(Math.round((4 + 15 * t ** 0.25 + t / 5) * 10), 3e3); } -function kp(e) { +function ap(e) { const t = { - ...Ap, + ...op, ...e.easing }, n = { - ...Ip, + ...sp, ...e.duration }; return { - getAutoHeightDuration: Np, - create: (i = ["all"], s = {}) => { + getAutoHeightDuration: ip, + create: (s = ["all"], i = {}) => { const { duration: a = n.standard, easing: l = t.easeInOut, delay: c = 0, ...u - } = s; + } = i; if (process.env.NODE_ENV !== "production") { - const d = (b) => typeof b == "string", h = (b) => !Number.isNaN(parseFloat(b)); - !d(i) && !Array.isArray(i) && console.error('MUI: Argument "props" must be a string or Array.'), !h(a) && !d(a) && console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`), d(l) || console.error('MUI: Argument "easing" must be a string.'), !h(c) && !d(c) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof s != "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(` + const d = (v) => typeof v == "string", h = (v) => !Number.isNaN(parseFloat(v)); + !d(s) && !Array.isArray(s) && console.error('MUI: Argument "props" must be a string or Array.'), !h(a) && !d(a) && console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`), d(l) || console.error('MUI: Argument "easing" must be a string.'), !h(c) && !d(c) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof i != "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(` `)), Object.keys(u).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(u).join(",")}].`); } - return (Array.isArray(i) ? i : [i]).map((d) => `${d} ${typeof a == "string" ? a : da(a)} ${l} ${typeof c == "string" ? c : da(c)}`).join(","); + return (Array.isArray(s) ? s : [s]).map((d) => `${d} ${typeof a == "string" ? a : qi(a)} ${l} ${typeof c == "string" ? c : qi(c)}`).join(","); }, ...e, easing: t, duration: n }; } -const $p = { +const lp = { mobileStepper: 1e3, fab: 1050, speedDial: 1050, @@ -4893,18 +4544,18 @@ const $p = { snackbar: 1400, tooltip: 1500 }; -function Mp(e) { - return _t(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e); +function cp(e) { + return pt(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e); } -function Ll(e = {}) { +function vl(e = {}) { const t = { ...e }; function n(r) { - const i = Object.entries(r); - for (let s = 0; s < i.length; s++) { - const [a, l] = i[s]; - !Mp(l) || a.startsWith("unstable_") ? delete r[a] : _t(l) && (r[a] = { + const s = Object.entries(r); + for (let i = 0; i < s.length; i++) { + const [a, l] = s[i]; + !cp(l) || a.startsWith("unstable_") ? delete r[a] : pt(l) && (r[a] = { ...l }, n(r[a])); } @@ -4918,10 +4569,10 @@ theme.transitions = createTransitions(theme.transitions || {}); export default theme;`; } -function fa(e) { +function Gi(e) { return typeof e == "number" ? `${(e * 100).toFixed(0)}%` : `calc((${e}) * 100%)`; } -const Dp = (e) => { +const up = (e) => { if (!Number.isNaN(+e)) return +e; const t = e.match(/\d*\.?\d+/g); @@ -4932,28 +4583,28 @@ const Dp = (e) => { n += +t[r]; return n; }; -function jp(e) { +function dp(e) { Object.assign(e, { alpha(t, n) { const r = this || e; - return r.colorSpace ? `oklch(from ${t} l c h / ${typeof n == "string" ? `calc(${n})` : n})` : r.vars ? `rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof n == "string" ? `calc(${n})` : n})` : Qr(t, Dp(n)); + return r.colorSpace ? `oklch(from ${t} l c h / ${typeof n == "string" ? `calc(${n})` : n})` : r.vars ? `rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof n == "string" ? `calc(${n})` : n})` : Cr(t, up(n)); }, lighten(t, n) { const r = this || e; - return r.colorSpace ? `color-mix(in ${r.colorSpace}, ${t}, #fff ${fa(n)})` : _o(t, n); + return r.colorSpace ? `color-mix(in ${r.colorSpace}, ${t}, #fff ${Gi(n)})` : ro(t, n); }, darken(t, n) { const r = this || e; - return r.colorSpace ? `color-mix(in ${r.colorSpace}, ${t}, #000 ${fa(n)})` : Po(t, n); + return r.colorSpace ? `color-mix(in ${r.colorSpace}, ${t}, #000 ${Gi(n)})` : no(t, n); } }); } -function Ri(e = {}, ...t) { +function ts(e = {}, ...t) { const { breakpoints: n, mixins: r = {}, - spacing: i, - palette: s = {}, + spacing: s, + palette: i = {}, transitions: a = {}, typography: l = {}, shape: c, @@ -4963,38 +4614,38 @@ function Ri(e = {}, ...t) { if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`. // `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. e.generateThemeVars === void 0) - 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://v7.mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : Ft(20)); - const h = ts({ - ...s, + 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://v7.mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : St(20)); + const h = Ns({ + ...i, colorSpace: u - }), b = Zi(e); - let m = et(b, { - mixins: xp(b.breakpoints, r), + }), v = As(e); + let m = Ve(v, { + mixins: Jf(v.breakpoints, r), palette: h, // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol. - shadows: _p.slice(), - typography: Op(h, l), - transitions: kp(a), + shadows: rp.slice(), + typography: Zf(h, l), + transitions: ap(a), zIndex: { - ...$p + ...lp } }); - if (m = et(m, d), m = t.reduce((g, f) => et(g, f), m), process.env.NODE_ENV !== "production") { + if (m = Ve(m, d), m = t.reduce((g, f) => Ve(g, f), m), process.env.NODE_ENV !== "production") { const g = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], f = (y, S) => { - let O; - for (O in y) { - const T = y[O]; - if (g.includes(O) && Object.keys(T).length > 0) { + let R; + for (R in y) { + const T = y[R]; + if (g.includes(R) && Object.keys(T).length > 0) { if (process.env.NODE_ENV !== "production") { - const v = ge("", O); - console.error([`MUI: The \`${S}\` component increases the CSS specificity of the \`${O}\` internal state.`, "You can not override it like this: ", JSON.stringify(y, null, 2), "", `Instead, you need to use the '&.${v}' syntax:`, JSON.stringify({ + const b = ce("", R); + console.error([`MUI: The \`${S}\` component increases the CSS specificity of the \`${R}\` internal state.`, "You can not override it like this: ", JSON.stringify(y, null, 2), "", `Instead, you need to use the '&.${b}' syntax:`, JSON.stringify({ root: { - [`&.${v}`]: T + [`&.${b}`]: T } }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(` `)); } - y[O] = {}; + y[R] = {}; } } }; @@ -5004,26 +4655,26 @@ function Ri(e = {}, ...t) { }); } return m.unstable_sxConfig = { - ...Sr, + ...Kn, ...d == null ? void 0 : d.unstable_sxConfig }, m.unstable_sx = function(f) { - return $n({ + return pn({ sx: f, theme: this }); - }, m.toRuntimeSource = Ll, jp(m), m; + }, m.toRuntimeSource = vl, dp(m), m; } -function Oi(e) { +function ns(e) { let t; return e < 1 ? t = 5.11916 * e ** 2 : t = 4.5 * Math.log(e + 1) + 2, Math.round(t * 10) / 1e3; } -const Lp = [...Array(25)].map((e, t) => { +const fp = [...Array(25)].map((e, t) => { if (t === 0) return "none"; - const n = Oi(t); + const n = ns(t); return `linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`; }); -function Bl(e) { +function El(e) { return { inputPlaceholder: e === "dark" ? 0.5 : 0.42, inputUnderline: e === "dark" ? 0.7 : 0.42, @@ -5031,10 +4682,10 @@ function Bl(e) { switchTrack: e === "dark" ? 0.3 : 0.38 }; } -function Fl(e) { - return e === "dark" ? Lp : []; +function Sl(e) { + return e === "dark" ? fp : []; } -function Bp(e) { +function pp(e) { const { palette: t = { mode: "light" @@ -5042,43 +4693,43 @@ function Bp(e) { // need to cast to avoid module augmentation test opacity: n, overlays: r, - colorSpace: i, - ...s - } = e, a = ts({ + colorSpace: s, + ...i + } = e, a = Ns({ ...t, - colorSpace: i + colorSpace: s }); return { palette: a, opacity: { - ...Bl(a.mode), + ...El(a.mode), ...n }, - overlays: r || Fl(a.mode), - ...s + overlays: r || Sl(a.mode), + ...i }; } -function Fp(e) { +function mp(e) { var t; return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig e[0] === "palette" && !!((t = e[1]) != null && t.match(/(mode|contrastThreshold|tonalOffset)/)); } -const Up = (e) => [...[...Array(25)].map((t, n) => `--${e ? `${e}-` : ""}overlays-${n}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], Vp = (e) => (t, n) => { - const r = e.rootSelector || ":root", i = e.colorSchemeSelector; - let s = i; - if (i === "class" && (s = ".%s"), i === "data" && (s = "[data-%s]"), i != null && i.startsWith("data-") && !i.includes("%s") && (s = `[${i}="%s"]`), e.defaultColorScheme === t) { +const hp = (e) => [...[...Array(25)].map((t, n) => `--${e ? `${e}-` : ""}overlays-${n}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], yp = (e) => (t, n) => { + const r = e.rootSelector || ":root", s = e.colorSchemeSelector; + let i = s; + if (s === "class" && (i = ".%s"), s === "data" && (i = "[data-%s]"), s != null && s.startsWith("data-") && !s.includes("%s") && (i = `[${s}="%s"]`), e.defaultColorScheme === t) { if (t === "dark") { const a = {}; - return Up(e.cssVarPrefix).forEach((l) => { + return hp(e.cssVarPrefix).forEach((l) => { a[l] = n[l], delete n[l]; - }), s === "media" ? { + }), i === "media" ? { [r]: n, "@media (prefers-color-scheme: dark)": { [r]: a } - } : s ? { - [s.replace("%s", t)]: a, - [`${r}, ${s.replace("%s", t)}`]: n + } : i ? { + [i.replace("%s", t)]: a, + [`${r}, ${i.replace("%s", t)}`]: n } : { [r]: { ...n, @@ -5086,21 +4737,21 @@ const Up = (e) => [...[...Array(25)].map((t, n) => `--${e ? `${e}-` : ""}overlay } }; } - if (s && s !== "media") - return `${r}, ${s.replace("%s", String(t))}`; + if (i && i !== "media") + return `${r}, ${i.replace("%s", String(t))}`; } else if (t) { - if (s === "media") + if (i === "media") return { [`@media (prefers-color-scheme: ${String(t)})`]: { [r]: n } }; - if (s) - return s.replace("%s", String(t)); + if (i) + return i.replace("%s", String(t)); } return r; }; -function zp(e, t) { +function gp(e, t) { t.forEach((n) => { e[n] || (e[n] = {}); }); @@ -5108,32 +4759,32 @@ function zp(e, t) { function $(e, t, n) { !e[t] && n && (e[t] = n); } -function rr(e) { - return typeof e != "string" || !e.startsWith("hsl") ? e : kl(e); +function In(e) { + return typeof e != "string" || !e.startsWith("hsl") ? e : ml(e); } -function jt(e, t) { - `${t}Channel` in e || (e[`${t}Channel`] = nr(rr(e[t]), `MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). +function bt(e, t) { + `${t}Channel` in e || (e[`${t}Channel`] = An(In(e[t]), `MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`)); } -function Wp(e) { +function bp(e) { return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px"; } -const Ot = (e) => { +const ct = (e) => { try { return e(); } catch { } -}, Hp = (e = "mui") => up(e); -function ii(e, t, n, r, i) { +}, vp = (e = "mui") => jf(e); +function Do(e, t, n, r, s) { if (!n) return; n = n === !0 ? {} : n; - const s = i === "dark" ? "dark" : "light"; + const i = s === "dark" ? "dark" : "light"; if (!r) { - t[i] = Bp({ + t[s] = pp({ ...n, palette: { - mode: s, + mode: i, ...n == null ? void 0 : n.palette }, colorSpace: e @@ -5143,140 +4794,140 @@ function ii(e, t, n, r, i) { const { palette: a, ...l - } = Ri({ + } = ts({ ...r, palette: { - mode: s, + mode: i, ...n == null ? void 0 : n.palette }, colorSpace: e }); - return t[i] = { + return t[s] = { ...n, palette: a, opacity: { - ...Bl(s), + ...El(i), ...n == null ? void 0 : n.opacity }, - overlays: (n == null ? void 0 : n.overlays) || Fl(s) + overlays: (n == null ? void 0 : n.overlays) || Sl(i) }, l; } -function qp(e = {}, ...t) { +function Ep(e = {}, ...t) { const { colorSchemes: n = { light: !0 }, defaultColorScheme: r, - disableCssColorScheme: i = !1, - cssVarPrefix: s = "mui", + disableCssColorScheme: s = !1, + cssVarPrefix: i = "mui", nativeColor: a = !1, - shouldSkipGeneratingVar: l = Fp, + shouldSkipGeneratingVar: l = mp, colorSchemeSelector: c = n.light && n.dark ? "media" : void 0, rootSelector: u = ":root", ...d - } = e, h = Object.keys(n)[0], b = r || (n.light && h !== "light" ? "light" : h), m = Hp(s), { - [b]: g, + } = e, h = Object.keys(n)[0], v = r || (n.light && h !== "light" ? "light" : h), m = vp(i), { + [v]: g, light: f, dark: y, ...S - } = n, O = { + } = n, R = { ...S }; let T = g; - if ((b === "dark" && !("dark" in n) || b === "light" && !("light" in n)) && (T = !0), !T) - throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${b}\` option is either missing or invalid.` : Ft(21, b)); - let v; - a && (v = "oklch"); - const E = ii(v, O, T, d, b); - f && !O.light && ii(v, O, f, void 0, "light"), y && !O.dark && ii(v, O, y, void 0, "dark"); + if ((v === "dark" && !("dark" in n) || v === "light" && !("light" in n)) && (T = !0), !T) + throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${v}\` option is either missing or invalid.` : St(21, v)); + let b; + a && (b = "oklch"); + const E = Do(b, R, T, d, v); + f && !R.light && Do(b, R, f, void 0, "light"), y && !R.dark && Do(b, R, y, void 0, "dark"); let w = { - defaultColorScheme: b, + defaultColorScheme: v, ...E, - cssVarPrefix: s, + cssVarPrefix: i, colorSchemeSelector: c, rootSelector: u, getCssVar: m, - colorSchemes: O, + colorSchemes: R, font: { - ...Tp(E.typography), + ...Xf(E.typography), ...E.font }, - spacing: Wp(d.spacing) + spacing: bp(d.spacing) }; Object.keys(w.colorSchemes).forEach((F) => { - const p = w.colorSchemes[F].palette, _ = (M) => { - const j = M.split("-"), q = j[1], te = j[2]; - return m(M, p[q][te]); + const p = w.colorSchemes[F].palette, I = (D) => { + const L = D.split("-"), G = L[1], Q = L[2]; + return m(D, p[G][Q]); }; p.mode === "light" && ($(p.common, "background", "#fff"), $(p.common, "onBackground", "#000")), p.mode === "dark" && ($(p.common, "background", "#000"), $(p.common, "onBackground", "#fff")); - function A(M, j, q) { - if (v) { - let te; - return M === Zt && (te = `transparent ${((1 - q) * 100).toFixed(0)}%`), M === Pe && (te = `#000 ${(q * 100).toFixed(0)}%`), M === _e && (te = `#fff ${(q * 100).toFixed(0)}%`), `color-mix(in ${v}, ${j}, ${te})`; + function A(D, L, G) { + if (b) { + let Q; + return D === $t && (Q = `transparent ${((1 - G) * 100).toFixed(0)}%`), D === Se && (Q = `#000 ${(G * 100).toFixed(0)}%`), D === Te && (Q = `#fff ${(G * 100).toFixed(0)}%`), `color-mix(in ${b}, ${L}, ${Q})`; } - return M(j, q); + return D(L, G); } - if (zp(p, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), p.mode === "light") { - $(p.Alert, "errorColor", A(Pe, a ? m("palette-error-light") : p.error.light, 0.6)), $(p.Alert, "infoColor", A(Pe, a ? m("palette-info-light") : p.info.light, 0.6)), $(p.Alert, "successColor", A(Pe, a ? m("palette-success-light") : p.success.light, 0.6)), $(p.Alert, "warningColor", A(Pe, a ? m("palette-warning-light") : p.warning.light, 0.6)), $(p.Alert, "errorFilledBg", _("palette-error-main")), $(p.Alert, "infoFilledBg", _("palette-info-main")), $(p.Alert, "successFilledBg", _("palette-success-main")), $(p.Alert, "warningFilledBg", _("palette-warning-main")), $(p.Alert, "errorFilledColor", Ot(() => p.getContrastText(p.error.main))), $(p.Alert, "infoFilledColor", Ot(() => p.getContrastText(p.info.main))), $(p.Alert, "successFilledColor", Ot(() => p.getContrastText(p.success.main))), $(p.Alert, "warningFilledColor", Ot(() => p.getContrastText(p.warning.main))), $(p.Alert, "errorStandardBg", A(_e, a ? m("palette-error-light") : p.error.light, 0.9)), $(p.Alert, "infoStandardBg", A(_e, a ? m("palette-info-light") : p.info.light, 0.9)), $(p.Alert, "successStandardBg", A(_e, a ? m("palette-success-light") : p.success.light, 0.9)), $(p.Alert, "warningStandardBg", A(_e, a ? m("palette-warning-light") : p.warning.light, 0.9)), $(p.Alert, "errorIconColor", _("palette-error-main")), $(p.Alert, "infoIconColor", _("palette-info-main")), $(p.Alert, "successIconColor", _("palette-success-main")), $(p.Alert, "warningIconColor", _("palette-warning-main")), $(p.AppBar, "defaultBg", _("palette-grey-100")), $(p.Avatar, "defaultBg", _("palette-grey-400")), $(p.Button, "inheritContainedBg", _("palette-grey-300")), $(p.Button, "inheritContainedHoverBg", _("palette-grey-A100")), $(p.Chip, "defaultBorder", _("palette-grey-400")), $(p.Chip, "defaultAvatarColor", _("palette-grey-700")), $(p.Chip, "defaultIconColor", _("palette-grey-700")), $(p.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), $(p.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), $(p.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), $(p.LinearProgress, "primaryBg", A(_e, a ? m("palette-primary-main") : p.primary.main, 0.62)), $(p.LinearProgress, "secondaryBg", A(_e, a ? m("palette-secondary-main") : p.secondary.main, 0.62)), $(p.LinearProgress, "errorBg", A(_e, a ? m("palette-error-main") : p.error.main, 0.62)), $(p.LinearProgress, "infoBg", A(_e, a ? m("palette-info-main") : p.info.main, 0.62)), $(p.LinearProgress, "successBg", A(_e, a ? m("palette-success-main") : p.success.main, 0.62)), $(p.LinearProgress, "warningBg", A(_e, a ? m("palette-warning-light") : p.warning.main, 0.62)), $(p.Skeleton, "bg", v ? A(Zt, a ? m("palette-text-primary") : p.text.primary, 0.11) : `rgba(${_("palette-text-primaryChannel")} / 0.11)`), $(p.Slider, "primaryTrack", A(_e, a ? m("palette-primary-main") : p.primary.main, 0.62)), $(p.Slider, "secondaryTrack", A(_e, a ? m("palette-secondary-main") : p.secondary.main, 0.62)), $(p.Slider, "errorTrack", A(_e, a ? m("palette-error-main") : p.error.main, 0.62)), $(p.Slider, "infoTrack", A(_e, a ? m("palette-info-main") : p.info.main, 0.62)), $(p.Slider, "successTrack", A(_e, a ? m("palette-success-main") : p.success.main, 0.62)), $(p.Slider, "warningTrack", A(_e, a ? m("palette-warning-main") : p.warning.main, 0.62)); - const M = v ? A(Pe, a ? m("palette-background-default") : p.background.default, 0.6825) : $r(p.background.default, 0.8); - $(p.SnackbarContent, "bg", M), $(p.SnackbarContent, "color", Ot(() => v ? xi.text.primary : p.getContrastText(M))), $(p.SpeedDialAction, "fabHoverBg", $r(p.background.paper, 0.15)), $(p.StepConnector, "border", _("palette-grey-400")), $(p.StepContent, "border", _("palette-grey-400")), $(p.Switch, "defaultColor", _("palette-common-white")), $(p.Switch, "defaultDisabledColor", _("palette-grey-100")), $(p.Switch, "primaryDisabledColor", A(_e, a ? m("palette-primary-main") : p.primary.main, 0.62)), $(p.Switch, "secondaryDisabledColor", A(_e, a ? m("palette-secondary-main") : p.secondary.main, 0.62)), $(p.Switch, "errorDisabledColor", A(_e, a ? m("palette-error-main") : p.error.main, 0.62)), $(p.Switch, "infoDisabledColor", A(_e, a ? m("palette-info-main") : p.info.main, 0.62)), $(p.Switch, "successDisabledColor", A(_e, a ? m("palette-success-main") : p.success.main, 0.62)), $(p.Switch, "warningDisabledColor", A(_e, a ? m("palette-warning-main") : p.warning.main, 0.62)), $(p.TableCell, "border", A(_e, Zt(a ? m("palette-divider") : p.divider, 1), 0.88)), $(p.Tooltip, "bg", A(Zt, a ? m("palette-grey-700") : p.grey[700], 0.92)); + if (gp(p, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), p.mode === "light") { + $(p.Alert, "errorColor", A(Se, a ? m("palette-error-light") : p.error.light, 0.6)), $(p.Alert, "infoColor", A(Se, a ? m("palette-info-light") : p.info.light, 0.6)), $(p.Alert, "successColor", A(Se, a ? m("palette-success-light") : p.success.light, 0.6)), $(p.Alert, "warningColor", A(Se, a ? m("palette-warning-light") : p.warning.light, 0.6)), $(p.Alert, "errorFilledBg", I("palette-error-main")), $(p.Alert, "infoFilledBg", I("palette-info-main")), $(p.Alert, "successFilledBg", I("palette-success-main")), $(p.Alert, "warningFilledBg", I("palette-warning-main")), $(p.Alert, "errorFilledColor", ct(() => p.getContrastText(p.error.main))), $(p.Alert, "infoFilledColor", ct(() => p.getContrastText(p.info.main))), $(p.Alert, "successFilledColor", ct(() => p.getContrastText(p.success.main))), $(p.Alert, "warningFilledColor", ct(() => p.getContrastText(p.warning.main))), $(p.Alert, "errorStandardBg", A(Te, a ? m("palette-error-light") : p.error.light, 0.9)), $(p.Alert, "infoStandardBg", A(Te, a ? m("palette-info-light") : p.info.light, 0.9)), $(p.Alert, "successStandardBg", A(Te, a ? m("palette-success-light") : p.success.light, 0.9)), $(p.Alert, "warningStandardBg", A(Te, a ? m("palette-warning-light") : p.warning.light, 0.9)), $(p.Alert, "errorIconColor", I("palette-error-main")), $(p.Alert, "infoIconColor", I("palette-info-main")), $(p.Alert, "successIconColor", I("palette-success-main")), $(p.Alert, "warningIconColor", I("palette-warning-main")), $(p.AppBar, "defaultBg", I("palette-grey-100")), $(p.Avatar, "defaultBg", I("palette-grey-400")), $(p.Button, "inheritContainedBg", I("palette-grey-300")), $(p.Button, "inheritContainedHoverBg", I("palette-grey-A100")), $(p.Chip, "defaultBorder", I("palette-grey-400")), $(p.Chip, "defaultAvatarColor", I("palette-grey-700")), $(p.Chip, "defaultIconColor", I("palette-grey-700")), $(p.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), $(p.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), $(p.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), $(p.LinearProgress, "primaryBg", A(Te, a ? m("palette-primary-main") : p.primary.main, 0.62)), $(p.LinearProgress, "secondaryBg", A(Te, a ? m("palette-secondary-main") : p.secondary.main, 0.62)), $(p.LinearProgress, "errorBg", A(Te, a ? m("palette-error-main") : p.error.main, 0.62)), $(p.LinearProgress, "infoBg", A(Te, a ? m("palette-info-main") : p.info.main, 0.62)), $(p.LinearProgress, "successBg", A(Te, a ? m("palette-success-main") : p.success.main, 0.62)), $(p.LinearProgress, "warningBg", A(Te, a ? m("palette-warning-light") : p.warning.main, 0.62)), $(p.Skeleton, "bg", b ? A($t, a ? m("palette-text-primary") : p.text.primary, 0.11) : `rgba(${I("palette-text-primaryChannel")} / 0.11)`), $(p.Slider, "primaryTrack", A(Te, a ? m("palette-primary-main") : p.primary.main, 0.62)), $(p.Slider, "secondaryTrack", A(Te, a ? m("palette-secondary-main") : p.secondary.main, 0.62)), $(p.Slider, "errorTrack", A(Te, a ? m("palette-error-main") : p.error.main, 0.62)), $(p.Slider, "infoTrack", A(Te, a ? m("palette-info-main") : p.info.main, 0.62)), $(p.Slider, "successTrack", A(Te, a ? m("palette-success-main") : p.success.main, 0.62)), $(p.Slider, "warningTrack", A(Te, a ? m("palette-warning-main") : p.warning.main, 0.62)); + const D = b ? A(Se, a ? m("palette-background-default") : p.background.default, 0.6825) : cr(p.background.default, 0.8); + $(p.SnackbarContent, "bg", D), $(p.SnackbarContent, "color", ct(() => b ? es.text.primary : p.getContrastText(D))), $(p.SpeedDialAction, "fabHoverBg", cr(p.background.paper, 0.15)), $(p.StepConnector, "border", I("palette-grey-400")), $(p.StepContent, "border", I("palette-grey-400")), $(p.Switch, "defaultColor", I("palette-common-white")), $(p.Switch, "defaultDisabledColor", I("palette-grey-100")), $(p.Switch, "primaryDisabledColor", A(Te, a ? m("palette-primary-main") : p.primary.main, 0.62)), $(p.Switch, "secondaryDisabledColor", A(Te, a ? m("palette-secondary-main") : p.secondary.main, 0.62)), $(p.Switch, "errorDisabledColor", A(Te, a ? m("palette-error-main") : p.error.main, 0.62)), $(p.Switch, "infoDisabledColor", A(Te, a ? m("palette-info-main") : p.info.main, 0.62)), $(p.Switch, "successDisabledColor", A(Te, a ? m("palette-success-main") : p.success.main, 0.62)), $(p.Switch, "warningDisabledColor", A(Te, a ? m("palette-warning-main") : p.warning.main, 0.62)), $(p.TableCell, "border", A(Te, $t(a ? m("palette-divider") : p.divider, 1), 0.88)), $(p.Tooltip, "bg", A($t, a ? m("palette-grey-700") : p.grey[700], 0.92)); } if (p.mode === "dark") { - $(p.Alert, "errorColor", A(_e, a ? m("palette-error-light") : p.error.light, 0.6)), $(p.Alert, "infoColor", A(_e, a ? m("palette-info-light") : p.info.light, 0.6)), $(p.Alert, "successColor", A(_e, a ? m("palette-success-light") : p.success.light, 0.6)), $(p.Alert, "warningColor", A(_e, a ? m("palette-warning-light") : p.warning.light, 0.6)), $(p.Alert, "errorFilledBg", _("palette-error-dark")), $(p.Alert, "infoFilledBg", _("palette-info-dark")), $(p.Alert, "successFilledBg", _("palette-success-dark")), $(p.Alert, "warningFilledBg", _("palette-warning-dark")), $(p.Alert, "errorFilledColor", Ot(() => p.getContrastText(p.error.dark))), $(p.Alert, "infoFilledColor", Ot(() => p.getContrastText(p.info.dark))), $(p.Alert, "successFilledColor", Ot(() => p.getContrastText(p.success.dark))), $(p.Alert, "warningFilledColor", Ot(() => p.getContrastText(p.warning.dark))), $(p.Alert, "errorStandardBg", A(Pe, a ? m("palette-error-light") : p.error.light, 0.9)), $(p.Alert, "infoStandardBg", A(Pe, a ? m("palette-info-light") : p.info.light, 0.9)), $(p.Alert, "successStandardBg", A(Pe, a ? m("palette-success-light") : p.success.light, 0.9)), $(p.Alert, "warningStandardBg", A(Pe, a ? m("palette-warning-light") : p.warning.light, 0.9)), $(p.Alert, "errorIconColor", _("palette-error-main")), $(p.Alert, "infoIconColor", _("palette-info-main")), $(p.Alert, "successIconColor", _("palette-success-main")), $(p.Alert, "warningIconColor", _("palette-warning-main")), $(p.AppBar, "defaultBg", _("palette-grey-900")), $(p.AppBar, "darkBg", _("palette-background-paper")), $(p.AppBar, "darkColor", _("palette-text-primary")), $(p.Avatar, "defaultBg", _("palette-grey-600")), $(p.Button, "inheritContainedBg", _("palette-grey-800")), $(p.Button, "inheritContainedHoverBg", _("palette-grey-700")), $(p.Chip, "defaultBorder", _("palette-grey-700")), $(p.Chip, "defaultAvatarColor", _("palette-grey-300")), $(p.Chip, "defaultIconColor", _("palette-grey-300")), $(p.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), $(p.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), $(p.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), $(p.LinearProgress, "primaryBg", A(Pe, a ? m("palette-primary-main") : p.primary.main, 0.5)), $(p.LinearProgress, "secondaryBg", A(Pe, a ? m("palette-secondary-main") : p.secondary.main, 0.5)), $(p.LinearProgress, "errorBg", A(Pe, a ? m("palette-error-main") : p.error.main, 0.5)), $(p.LinearProgress, "infoBg", A(Pe, a ? m("palette-info-main") : p.info.main, 0.5)), $(p.LinearProgress, "successBg", A(Pe, a ? m("palette-success-main") : p.success.main, 0.5)), $(p.LinearProgress, "warningBg", A(Pe, a ? m("palette-warning-main") : p.warning.main, 0.5)), $(p.Skeleton, "bg", v ? A(Zt, a ? m("palette-text-primary") : p.text.primary, 0.13) : `rgba(${_("palette-text-primaryChannel")} / 0.13)`), $(p.Slider, "primaryTrack", A(Pe, a ? m("palette-primary-main") : p.primary.main, 0.5)), $(p.Slider, "secondaryTrack", A(Pe, a ? m("palette-secondary-main") : p.secondary.main, 0.5)), $(p.Slider, "errorTrack", A(Pe, a ? m("palette-error-main") : p.error.main, 0.5)), $(p.Slider, "infoTrack", A(Pe, a ? m("palette-info-main") : p.info.main, 0.5)), $(p.Slider, "successTrack", A(Pe, a ? m("palette-success-main") : p.success.main, 0.5)), $(p.Slider, "warningTrack", A(Pe, a ? m("palette-warning-light") : p.warning.main, 0.5)); - const M = v ? A(_e, a ? m("palette-background-default") : p.background.default, 0.985) : $r(p.background.default, 0.98); - $(p.SnackbarContent, "bg", M), $(p.SnackbarContent, "color", Ot(() => v ? Dl.text.primary : p.getContrastText(M))), $(p.SpeedDialAction, "fabHoverBg", $r(p.background.paper, 0.15)), $(p.StepConnector, "border", _("palette-grey-600")), $(p.StepContent, "border", _("palette-grey-600")), $(p.Switch, "defaultColor", _("palette-grey-300")), $(p.Switch, "defaultDisabledColor", _("palette-grey-600")), $(p.Switch, "primaryDisabledColor", A(Pe, a ? m("palette-primary-main") : p.primary.main, 0.55)), $(p.Switch, "secondaryDisabledColor", A(Pe, a ? m("palette-secondary-main") : p.secondary.main, 0.55)), $(p.Switch, "errorDisabledColor", A(Pe, a ? m("palette-error-main") : p.error.main, 0.55)), $(p.Switch, "infoDisabledColor", A(Pe, a ? m("palette-info-main") : p.info.main, 0.55)), $(p.Switch, "successDisabledColor", A(Pe, a ? m("palette-success-main") : p.success.main, 0.55)), $(p.Switch, "warningDisabledColor", A(Pe, a ? m("palette-warning-light") : p.warning.main, 0.55)), $(p.TableCell, "border", A(Pe, Zt(a ? m("palette-divider") : p.divider, 1), 0.68)), $(p.Tooltip, "bg", A(Zt, a ? m("palette-grey-700") : p.grey[700], 0.92)); + $(p.Alert, "errorColor", A(Te, a ? m("palette-error-light") : p.error.light, 0.6)), $(p.Alert, "infoColor", A(Te, a ? m("palette-info-light") : p.info.light, 0.6)), $(p.Alert, "successColor", A(Te, a ? m("palette-success-light") : p.success.light, 0.6)), $(p.Alert, "warningColor", A(Te, a ? m("palette-warning-light") : p.warning.light, 0.6)), $(p.Alert, "errorFilledBg", I("palette-error-dark")), $(p.Alert, "infoFilledBg", I("palette-info-dark")), $(p.Alert, "successFilledBg", I("palette-success-dark")), $(p.Alert, "warningFilledBg", I("palette-warning-dark")), $(p.Alert, "errorFilledColor", ct(() => p.getContrastText(p.error.dark))), $(p.Alert, "infoFilledColor", ct(() => p.getContrastText(p.info.dark))), $(p.Alert, "successFilledColor", ct(() => p.getContrastText(p.success.dark))), $(p.Alert, "warningFilledColor", ct(() => p.getContrastText(p.warning.dark))), $(p.Alert, "errorStandardBg", A(Se, a ? m("palette-error-light") : p.error.light, 0.9)), $(p.Alert, "infoStandardBg", A(Se, a ? m("palette-info-light") : p.info.light, 0.9)), $(p.Alert, "successStandardBg", A(Se, a ? m("palette-success-light") : p.success.light, 0.9)), $(p.Alert, "warningStandardBg", A(Se, a ? m("palette-warning-light") : p.warning.light, 0.9)), $(p.Alert, "errorIconColor", I("palette-error-main")), $(p.Alert, "infoIconColor", I("palette-info-main")), $(p.Alert, "successIconColor", I("palette-success-main")), $(p.Alert, "warningIconColor", I("palette-warning-main")), $(p.AppBar, "defaultBg", I("palette-grey-900")), $(p.AppBar, "darkBg", I("palette-background-paper")), $(p.AppBar, "darkColor", I("palette-text-primary")), $(p.Avatar, "defaultBg", I("palette-grey-600")), $(p.Button, "inheritContainedBg", I("palette-grey-800")), $(p.Button, "inheritContainedHoverBg", I("palette-grey-700")), $(p.Chip, "defaultBorder", I("palette-grey-700")), $(p.Chip, "defaultAvatarColor", I("palette-grey-300")), $(p.Chip, "defaultIconColor", I("palette-grey-300")), $(p.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), $(p.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), $(p.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), $(p.LinearProgress, "primaryBg", A(Se, a ? m("palette-primary-main") : p.primary.main, 0.5)), $(p.LinearProgress, "secondaryBg", A(Se, a ? m("palette-secondary-main") : p.secondary.main, 0.5)), $(p.LinearProgress, "errorBg", A(Se, a ? m("palette-error-main") : p.error.main, 0.5)), $(p.LinearProgress, "infoBg", A(Se, a ? m("palette-info-main") : p.info.main, 0.5)), $(p.LinearProgress, "successBg", A(Se, a ? m("palette-success-main") : p.success.main, 0.5)), $(p.LinearProgress, "warningBg", A(Se, a ? m("palette-warning-main") : p.warning.main, 0.5)), $(p.Skeleton, "bg", b ? A($t, a ? m("palette-text-primary") : p.text.primary, 0.13) : `rgba(${I("palette-text-primaryChannel")} / 0.13)`), $(p.Slider, "primaryTrack", A(Se, a ? m("palette-primary-main") : p.primary.main, 0.5)), $(p.Slider, "secondaryTrack", A(Se, a ? m("palette-secondary-main") : p.secondary.main, 0.5)), $(p.Slider, "errorTrack", A(Se, a ? m("palette-error-main") : p.error.main, 0.5)), $(p.Slider, "infoTrack", A(Se, a ? m("palette-info-main") : p.info.main, 0.5)), $(p.Slider, "successTrack", A(Se, a ? m("palette-success-main") : p.success.main, 0.5)), $(p.Slider, "warningTrack", A(Se, a ? m("palette-warning-light") : p.warning.main, 0.5)); + const D = b ? A(Te, a ? m("palette-background-default") : p.background.default, 0.985) : cr(p.background.default, 0.98); + $(p.SnackbarContent, "bg", D), $(p.SnackbarContent, "color", ct(() => b ? gl.text.primary : p.getContrastText(D))), $(p.SpeedDialAction, "fabHoverBg", cr(p.background.paper, 0.15)), $(p.StepConnector, "border", I("palette-grey-600")), $(p.StepContent, "border", I("palette-grey-600")), $(p.Switch, "defaultColor", I("palette-grey-300")), $(p.Switch, "defaultDisabledColor", I("palette-grey-600")), $(p.Switch, "primaryDisabledColor", A(Se, a ? m("palette-primary-main") : p.primary.main, 0.55)), $(p.Switch, "secondaryDisabledColor", A(Se, a ? m("palette-secondary-main") : p.secondary.main, 0.55)), $(p.Switch, "errorDisabledColor", A(Se, a ? m("palette-error-main") : p.error.main, 0.55)), $(p.Switch, "infoDisabledColor", A(Se, a ? m("palette-info-main") : p.info.main, 0.55)), $(p.Switch, "successDisabledColor", A(Se, a ? m("palette-success-main") : p.success.main, 0.55)), $(p.Switch, "warningDisabledColor", A(Se, a ? m("palette-warning-light") : p.warning.main, 0.55)), $(p.TableCell, "border", A(Se, $t(a ? m("palette-divider") : p.divider, 1), 0.68)), $(p.Tooltip, "bg", A($t, a ? m("palette-grey-700") : p.grey[700], 0.92)); } - a || (jt(p.background, "default"), jt(p.background, "paper"), jt(p.common, "background"), jt(p.common, "onBackground"), jt(p, "divider")), Object.keys(p).forEach((M) => { - const j = p[M]; - M !== "tonalOffset" && !a && j && typeof j == "object" && (j.main && $(p[M], "mainChannel", nr(rr(j.main))), j.light && $(p[M], "lightChannel", nr(rr(j.light))), j.dark && $(p[M], "darkChannel", nr(rr(j.dark))), j.contrastText && $(p[M], "contrastTextChannel", nr(rr(j.contrastText))), M === "text" && (jt(p[M], "primary"), jt(p[M], "secondary")), M === "action" && (j.active && jt(p[M], "active"), j.selected && jt(p[M], "selected"))); + a || (bt(p.background, "default"), bt(p.background, "paper"), bt(p.common, "background"), bt(p.common, "onBackground"), bt(p, "divider")), Object.keys(p).forEach((D) => { + const L = p[D]; + D !== "tonalOffset" && !a && L && typeof L == "object" && (L.main && $(p[D], "mainChannel", An(In(L.main))), L.light && $(p[D], "lightChannel", An(In(L.light))), L.dark && $(p[D], "darkChannel", An(In(L.dark))), L.contrastText && $(p[D], "contrastTextChannel", An(In(L.contrastText))), D === "text" && (bt(p[D], "primary"), bt(p[D], "secondary")), D === "action" && (L.active && bt(p[D], "active"), L.selected && bt(p[D], "selected"))); }); - }), w = t.reduce((F, p) => et(F, p), w); + }), w = t.reduce((F, p) => Ve(F, p), w); const N = { - prefix: s, - disableCssColorScheme: i, + prefix: i, + disableCssColorScheme: s, shouldSkipGeneratingVar: l, - getSelector: Vp(w), + getSelector: yp(w), enableContrastVars: a }, { - vars: L, + vars: j, generateThemeVars: z, - generateStyleSheets: H - } = pp(w, N); - return w.vars = L, Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach(([F, p]) => { + generateStyleSheets: q + } = Uf(w, N); + return w.vars = j, Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach(([F, p]) => { w[F] = p; - }), w.generateThemeVars = z, w.generateStyleSheets = H, w.generateSpacing = function() { - return Ol(d.spacing, Ji(this)); - }, w.getColorSchemeSelector = mp(c), w.spacing = w.generateSpacing(), w.shouldSkipGeneratingVar = l, w.unstable_sxConfig = { - ...Sr, + }), w.generateThemeVars = z, w.generateStyleSheets = q, w.generateSpacing = function() { + return il(d.spacing, Ps(this)); + }, w.getColorSchemeSelector = Vf(c), w.spacing = w.generateSpacing(), w.shouldSkipGeneratingVar = l, w.unstable_sxConfig = { + ...Kn, ...d == null ? void 0 : d.unstable_sxConfig }, w.unstable_sx = function(p) { - return $n({ + return pn({ sx: p, theme: this }); - }, w.toRuntimeSource = Ll, w; + }, w.toRuntimeSource = vl, w; } -function pa(e, t, n) { +function Yi(e, t, n) { e.colorSchemes && n && (e.colorSchemes[t] = { ...n !== !0 && n, - palette: ts({ + palette: Ns({ ...n === !0 ? {} : n.palette, mode: t }) // cast type to skip module augmentation test }); } -function Gp(e = {}, ...t) { +function Sp(e = {}, ...t) { const { palette: n, cssVariables: r = !1, - colorSchemes: i = n ? void 0 : { + colorSchemes: s = n ? void 0 : { light: !0 }, - defaultColorScheme: s = n == null ? void 0 : n.mode, + defaultColorScheme: i = n == null ? void 0 : n.mode, ...a - } = e, l = s || "light", c = i == null ? void 0 : i[l], u = { - ...i, + } = e, l = i || "light", c = s == null ? void 0 : s[l], u = { + ...s, ...n ? { [l]: { ...typeof c != "boolean" && c, @@ -5286,57 +4937,57 @@ function Gp(e = {}, ...t) { }; if (r === !1) { if (!("colorSchemes" in e)) - return Ri(e, ...t); + return ts(e, ...t); let d = n; "palette" in e || u[l] && (u[l] !== !0 ? d = u[l].palette : l === "dark" && (d = { mode: "dark" })); - const h = Ri({ + const h = ts({ ...e, palette: d }, ...t); return h.defaultColorScheme = l, h.colorSchemes = u, h.palette.mode === "light" && (h.colorSchemes.light = { ...u.light !== !0 && u.light, palette: h.palette - }, pa(h, "dark", u.dark)), h.palette.mode === "dark" && (h.colorSchemes.dark = { + }, Yi(h, "dark", u.dark)), h.palette.mode === "dark" && (h.colorSchemes.dark = { ...u.dark !== !0 && u.dark, palette: h.palette - }, pa(h, "light", u.light)), h; + }, Yi(h, "light", u.light)), h; } - return !n && !("light" in u) && l === "light" && (u.light = !0), qp({ + return !n && !("light" in u) && l === "light" && (u.light = !0), Ep({ ...a, colorSchemes: u, defaultColorScheme: l, ...typeof r != "boolean" && r }, ...t); } -const ns = Gp(); -function Ao() { - const e = wl(ns); - return process.env.NODE_ENV !== "production" && x.useDebugValue(e), e[Ui] || e; +const ks = Sp(); +function oo() { + const e = al(ks); + return process.env.NODE_ENV !== "production" && x.useDebugValue(e), e[bs] || e; } -function Ul(e) { +function Tl(e) { return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as"; } -const vt = (e) => Ul(e) && e !== "classes", ie = qf({ - themeId: Ui, - defaultTheme: ns, - rootShouldForwardProp: vt +const rt = (e) => Tl(e) && e !== "classes", te = Ef({ + themeId: bs, + defaultTheme: ks, + rootShouldForwardProp: rt }); -function ma(...e) { - return e.reduce((t, n) => n == null ? t : function(...i) { - t.apply(this, i), n.apply(this, i); +function Ki(...e) { + return e.reduce((t, n) => n == null ? t : function(...s) { + t.apply(this, s), n.apply(this, s); }, () => { }); } -function Vl(e) { - return /* @__PURE__ */ k.jsx(Cl, { +function xl(e) { + return /* @__PURE__ */ k.jsx(ll, { ...e, - defaultTheme: ns, - themeId: Ui + defaultTheme: ks, + themeId: bs }); } -process.env.NODE_ENV !== "production" && (Vl.propTypes = { +process.env.NODE_ENV !== "production" && (xl.propTypes = { // ┌────────────────────────────── Warning ──────────────────────────────┐ // │ These PropTypes are generated from the TypeScript type definitions. │ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ @@ -5346,11 +4997,11 @@ process.env.NODE_ENV !== "production" && (Vl.propTypes = { */ styles: o.oneOfType([o.array, o.func, o.number, o.object, o.string, o.bool]) }); -function Yp(e) { +function Tp(e) { return function(n) { return ( // Pigment CSS `globalCss` support callback with theme inside an object but `GlobalStyles` support theme as a callback value. - /* @__PURE__ */ k.jsx(Vl, { + /* @__PURE__ */ k.jsx(xl, { styles: typeof e == "function" ? (r) => e({ theme: r, ...n @@ -5359,47 +5010,47 @@ function Yp(e) { ); }; } -function Kp() { - return Lf; +function xp() { + return ff; } -const ke = cp; +const Re = Lf; process.env.NODE_ENV !== "production" && (o.node, o.object.isRequired); -function Ce(e) { - return sp(e); +function Ee(e) { + return $f(e); } -function Xp(e) { - return ge("MuiSvgIcon", e); +function Op(e) { + return ce("MuiSvgIcon", e); } -Ee("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]); -const Jp = (e) => { +fe("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]); +const Rp = (e) => { const { color: t, fontSize: n, classes: r - } = e, i = { - root: ["root", t !== "inherit" && `color${ae(t)}`, `fontSize${ae(n)}`] + } = e, s = { + root: ["root", t !== "inherit" && `color${oe(t)}`, `fontSize${oe(n)}`] }; - return Se(i, Xp, r); -}, Qp = ie("svg", { + return pe(s, Op, r); +}, wp = te("svg", { name: "MuiSvgIcon", slot: "Root", overridesResolver: (e, t) => { const { ownerState: n } = e; - return [t.root, n.color !== "inherit" && t[`color${ae(n.color)}`], t[`fontSize${ae(n.fontSize)}`]]; + return [t.root, n.color !== "inherit" && t[`color${oe(n.color)}`], t[`fontSize${oe(n.fontSize)}`]]; } -})(ke(({ +})(Re(({ theme: e }) => { - var t, n, r, i, s, a, l, c, u, d, h, b, m, g; + var t, n, r, s, i, a, l, c, u, d, h, v, m, g; return { userSelect: "none", width: "1em", height: "1em", display: "inline-block", flexShrink: 0, - transition: (i = (t = e.transitions) == null ? void 0 : t.create) == null ? void 0 : i.call(t, "fill", { + transition: (s = (t = e.transitions) == null ? void 0 : t.create) == null ? void 0 : s.call(t, "fill", { duration: (r = (n = (e.vars ?? e).transitions) == null ? void 0 : n.duration) == null ? void 0 : r.shorter }), variants: [ @@ -5424,7 +5075,7 @@ const Jp = (e) => { fontSize: "small" }, style: { - fontSize: ((a = (s = e.typography) == null ? void 0 : s.pxToRem) == null ? void 0 : a.call(s, 20)) || "1.25rem" + fontSize: ((a = (i = e.typography) == null ? void 0 : i.pxToRem) == null ? void 0 : a.call(i, 20)) || "1.25rem" } }, { @@ -5460,7 +5111,7 @@ const Jp = (e) => { color: "action" }, style: { - color: (b = (h = (e.vars ?? e).palette) == null ? void 0 : h.action) == null ? void 0 : b.active + color: (v = (h = (e.vars ?? e).palette) == null ? void 0 : h.action) == null ? void 0 : v.active } }, { @@ -5481,36 +5132,36 @@ const Jp = (e) => { } ] }; -})), Zr = /* @__PURE__ */ x.forwardRef(function(t, n) { - const r = Ce({ +})), Pr = /* @__PURE__ */ x.forwardRef(function(t, n) { + const r = Ee({ props: t, name: "MuiSvgIcon" }), { - children: i, - className: s, + children: s, + className: i, color: a = "inherit", component: l = "svg", fontSize: c = "medium", htmlColor: u, inheritViewBox: d = !1, titleAccess: h, - viewBox: b = "0 0 24 24", + viewBox: v = "0 0 24 24", ...m - } = r, g = /* @__PURE__ */ x.isValidElement(i) && i.type === "svg", f = { + } = r, g = /* @__PURE__ */ x.isValidElement(s) && s.type === "svg", f = { ...r, color: a, component: l, fontSize: c, instanceFontSize: t.fontSize, inheritViewBox: d, - viewBox: b, + viewBox: v, hasSvgAsChild: g }, y = {}; - d || (y.viewBox = b); - const S = Jp(f); - return /* @__PURE__ */ k.jsxs(Qp, { + d || (y.viewBox = v); + const S = Rp(f); + return /* @__PURE__ */ k.jsxs(wp, { as: l, - className: ue(S.root, s), + className: ie(S.root, i), focusable: "false", color: u, "aria-hidden": h ? void 0 : !0, @@ -5518,14 +5169,14 @@ const Jp = (e) => { ref: n, ...y, ...m, - ...g && i.props, + ...g && s.props, ownerState: f, - children: [g ? i.props.children : i, h ? /* @__PURE__ */ k.jsx("title", { + children: [g ? s.props.children : s, h ? /* @__PURE__ */ k.jsx("title", { children: h }) : null] }); }); -process.env.NODE_ENV !== "production" && (Zr.propTypes = { +process.env.NODE_ENV !== "production" && (Pr.propTypes = { // ┌────────────────────────────── Warning ──────────────────────────────┐ // │ These PropTypes are generated from the TypeScript type definitions. │ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ @@ -5597,109 +5248,109 @@ process.env.NODE_ENV !== "production" && (Zr.propTypes = { */ viewBox: o.string }); -Zr.muiName = "SvgIcon"; -function zl(e, t) { - function n(r, i) { - return /* @__PURE__ */ k.jsx(Zr, { +Pr.muiName = "SvgIcon"; +function Ol(e, t) { + function n(r, s) { + return /* @__PURE__ */ k.jsx(Pr, { "data-testid": process.env.NODE_ENV !== "production" ? `${t}Icon` : void 0, - ref: i, + ref: s, ...r, children: e }); } - return process.env.NODE_ENV !== "production" && (n.displayName = `${t}Icon`), n.muiName = Zr.muiName, /* @__PURE__ */ x.memo(/* @__PURE__ */ x.forwardRef(n)); + return process.env.NODE_ENV !== "production" && (n.displayName = `${t}Icon`), n.muiName = Pr.muiName, /* @__PURE__ */ x.memo(/* @__PURE__ */ x.forwardRef(n)); } -function Wl(e, t = 166) { +function Rl(e, t = 166) { let n; - function r(...i) { - const s = () => { - e.apply(this, i); + function r(...s) { + const i = () => { + e.apply(this, s); }; - clearTimeout(n), n = setTimeout(s, t); + clearTimeout(n), n = setTimeout(i, t); } return r.clear = () => { clearTimeout(n); }, r; } -function gt(e) { +function tt(e) { return e && e.ownerDocument || document; } -function zt(e) { - return gt(e).defaultView || window; +function Ot(e) { + return tt(e).defaultView || window; } -function ha(e, t) { +function Xi(e, t) { typeof e == "function" ? e(t) : e && (e.current = t); } -function ya(e) { +function Ji(e) { const { controlled: t, default: n, name: r, - state: i = "value" + state: s = "value" } = e, { - current: s - } = x.useRef(t !== void 0), [a, l] = x.useState(n), c = s ? t : a; + current: i + } = x.useRef(t !== void 0), [a, l] = x.useState(n), c = i ? t : a; if (process.env.NODE_ENV !== "production") { x.useEffect(() => { - s !== (t !== void 0) && console.error([`MUI: A component is changing the ${s ? "" : "un"}controlled ${i} state of ${r} to be ${s ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join(` + i !== (t !== void 0) && console.error([`MUI: A component is changing the ${i ? "" : "un"}controlled ${s} state of ${r} to be ${i ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join(` `)); - }, [i, r, t]); + }, [s, r, t]); const { current: d } = x.useRef(n); x.useEffect(() => { - !s && JSON.stringify(n) !== JSON.stringify(d) && console.error([`MUI: A component is changing the default ${i} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(` + !i && JSON.stringify(n) !== JSON.stringify(d) && console.error([`MUI: A component is changing the default ${s} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(` `)); }, [JSON.stringify(n)]); } const u = x.useCallback((d) => { - s || l(d); + i || l(d); }, []); return [c, u]; } -function ln(e) { +function Vt(e) { const t = x.useRef(e); - return Vt(() => { + return xt(() => { t.current = e; }), x.useRef((...n) => ( // @ts-expect-error hide `this` (0, t.current)(...n) )).current; } -function rt(...e) { +function We(...e) { const t = x.useRef(void 0), n = x.useCallback((r) => { - const i = e.map((s) => { - if (s == null) + const s = e.map((i) => { + if (i == null) return null; - if (typeof s == "function") { - const a = s, l = a(r); + if (typeof i == "function") { + const a = i, l = a(r); return typeof l == "function" ? l : () => { a(null); }; } - return s.current = r, () => { - s.current = null; + return i.current = r, () => { + i.current = null; }; }); return () => { - i.forEach((s) => s == null ? void 0 : s()); + s.forEach((i) => i == null ? void 0 : i()); }; }, e); return x.useMemo(() => e.every((r) => r == null) ? null : (r) => { t.current && (t.current(), t.current = void 0), r != null && (t.current = n(r)); }, e); } -function Zp(e, t) { +function Cp(e, t) { const n = e.charCodeAt(2); return e[0] === "o" && e[1] === "n" && n >= 65 && n <= 90 && typeof t == "function"; } -function em(e, t) { +function Pp(e, t) { if (!e) return t; function n(a, l) { const c = {}; return Object.keys(l).forEach((u) => { - Zp(u, l[u]) && typeof a[u] == "function" && (c[u] = (...d) => { + Cp(u, l[u]) && typeof a[u] == "function" && (c[u] = (...d) => { a[u](...d), l[u](...d); }); }), c; @@ -5709,7 +5360,7 @@ function em(e, t) { const l = typeof t == "function" ? t(a) : t, c = typeof e == "function" ? e({ ...a, ...l - }) : e, u = ue(a == null ? void 0 : a.className, l == null ? void 0 : l.className, c == null ? void 0 : c.className), d = n(c, l); + }) : e, u = ie(a == null ? void 0 : a.className, l == null ? void 0 : l.className, c == null ? void 0 : c.className), d = n(c, l); return { ...l, ...c, @@ -5728,13 +5379,13 @@ function em(e, t) { } }; }; - const r = t, i = n(e, r), s = ue(r == null ? void 0 : r.className, e == null ? void 0 : e.className); + const r = t, s = n(e, r), i = ie(r == null ? void 0 : r.className, e == null ? void 0 : e.className); return { ...t, ...e, - ...i, - ...!!s && { - className: s + ...s, + ...!!i && { + className: i }, ...(r == null ? void 0 : r.style) && (e == null ? void 0 : e.style) && { style: { @@ -5747,12 +5398,12 @@ function em(e, t) { } }; } -function fn(e, t) { +function qt(e, t) { return process.env.NODE_ENV === "production" ? () => null : function(...r) { return e(...r) || t(...r); }; } -function Hl(e, t) { +function wl(e, t) { if (e == null) return {}; var n = {}; for (var r in e) if ({}.hasOwnProperty.call(e, r)) { @@ -5761,18 +5412,18 @@ function Hl(e, t) { } return n; } -function wi(e, t) { - return wi = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) { +function rs(e, t) { + return rs = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) { return n.__proto__ = r, n; - }, wi(e, t); + }, rs(e, t); } -function ql(e, t) { - e.prototype = Object.create(t.prototype), e.prototype.constructor = e, wi(e, t); +function Cl(e, t) { + e.prototype = Object.create(t.prototype), e.prototype.constructor = e, rs(e, t); } -const ga = { +const Qi = { disabled: !1 }; -var tm = process.env.NODE_ENV !== "production" ? o.oneOfType([o.number, o.shape({ +var _p = process.env.NODE_ENV !== "production" ? o.oneOfType([o.number, o.shape({ enter: o.number, exit: o.number, appear: o.number @@ -5789,113 +5440,113 @@ process.env.NODE_ENV !== "production" && o.oneOfType([o.string, o.shape({ exitDone: o.string, exitActive: o.string })]); -const eo = xt.createContext(null); -var nm = function(t) { +const _r = mt.createContext(null); +var Ap = function(t) { return t.scrollTop; -}, or = "unmounted", nn = "exited", rn = "entering", _n = "entered", Ci = "exiting", It = /* @__PURE__ */ function(e) { - ql(t, e); - function t(r, i) { - var s; - s = e.call(this, r, i) || this; - var a = i, l = a && !a.isMounting ? r.enter : r.appear, c; - return s.appearStatus = null, r.in ? l ? (c = nn, s.appearStatus = rn) : c = _n : r.unmountOnExit || r.mountOnEnter ? c = or : c = nn, s.state = { +}, Nn = "unmounted", Lt = "exited", jt = "entering", ln = "entered", os = "exiting", yt = /* @__PURE__ */ function(e) { + Cl(t, e); + function t(r, s) { + var i; + i = e.call(this, r, s) || this; + var a = s, l = a && !a.isMounting ? r.enter : r.appear, c; + return i.appearStatus = null, r.in ? l ? (c = Lt, i.appearStatus = jt) : c = ln : r.unmountOnExit || r.mountOnEnter ? c = Nn : c = Lt, i.state = { status: c - }, s.nextCallback = null, s; + }, i.nextCallback = null, i; } - t.getDerivedStateFromProps = function(i, s) { - var a = i.in; - return a && s.status === or ? { - status: nn + t.getDerivedStateFromProps = function(s, i) { + var a = s.in; + return a && i.status === Nn ? { + status: Lt } : null; }; var n = t.prototype; return n.componentDidMount = function() { this.updateStatus(!0, this.appearStatus); - }, n.componentDidUpdate = function(i) { - var s = null; - if (i !== this.props) { + }, n.componentDidUpdate = function(s) { + var i = null; + if (s !== this.props) { var a = this.state.status; - this.props.in ? a !== rn && a !== _n && (s = rn) : (a === rn || a === _n) && (s = Ci); + this.props.in ? a !== jt && a !== ln && (i = jt) : (a === jt || a === ln) && (i = os); } - this.updateStatus(!1, s); + this.updateStatus(!1, i); }, n.componentWillUnmount = function() { this.cancelNextCallback(); }, n.getTimeouts = function() { - var i = this.props.timeout, s, a, l; - return s = a = l = i, i != null && typeof i != "number" && (s = i.exit, a = i.enter, l = i.appear !== void 0 ? i.appear : a), { - exit: s, + var s = this.props.timeout, i, a, l; + return i = a = l = s, s != null && typeof s != "number" && (i = s.exit, a = s.enter, l = s.appear !== void 0 ? s.appear : a), { + exit: i, enter: a, appear: l }; - }, n.updateStatus = function(i, s) { - if (i === void 0 && (i = !1), s !== null) - if (this.cancelNextCallback(), s === rn) { + }, n.updateStatus = function(s, i) { + if (s === void 0 && (s = !1), i !== null) + if (this.cancelNextCallback(), i === jt) { if (this.props.unmountOnExit || this.props.mountOnEnter) { - var a = this.props.nodeRef ? this.props.nodeRef.current : Ir.findDOMNode(this); - a && nm(a); + var a = this.props.nodeRef ? this.props.nodeRef.current : ir.findDOMNode(this); + a && Ap(a); } - this.performEnter(i); + this.performEnter(s); } else this.performExit(); - else this.props.unmountOnExit && this.state.status === nn && this.setState({ - status: or + else this.props.unmountOnExit && this.state.status === Lt && this.setState({ + status: Nn }); - }, n.performEnter = function(i) { - var s = this, a = this.props.enter, l = this.context ? this.context.isMounting : i, c = this.props.nodeRef ? [l] : [Ir.findDOMNode(this), l], u = c[0], d = c[1], h = this.getTimeouts(), b = l ? h.appear : h.enter; - if (!i && !a || ga.disabled) { + }, n.performEnter = function(s) { + var i = this, a = this.props.enter, l = this.context ? this.context.isMounting : s, c = this.props.nodeRef ? [l] : [ir.findDOMNode(this), l], u = c[0], d = c[1], h = this.getTimeouts(), v = l ? h.appear : h.enter; + if (!s && !a || Qi.disabled) { this.safeSetState({ - status: _n + status: ln }, function() { - s.props.onEntered(u); + i.props.onEntered(u); }); return; } this.props.onEnter(u, d), this.safeSetState({ - status: rn + status: jt }, function() { - s.props.onEntering(u, d), s.onTransitionEnd(b, function() { - s.safeSetState({ - status: _n + i.props.onEntering(u, d), i.onTransitionEnd(v, function() { + i.safeSetState({ + status: ln }, function() { - s.props.onEntered(u, d); + i.props.onEntered(u, d); }); }); }); }, n.performExit = function() { - var i = this, s = this.props.exit, a = this.getTimeouts(), l = this.props.nodeRef ? void 0 : Ir.findDOMNode(this); - if (!s || ga.disabled) { + var s = this, i = this.props.exit, a = this.getTimeouts(), l = this.props.nodeRef ? void 0 : ir.findDOMNode(this); + if (!i || Qi.disabled) { this.safeSetState({ - status: nn + status: Lt }, function() { - i.props.onExited(l); + s.props.onExited(l); }); return; } this.props.onExit(l), this.safeSetState({ - status: Ci + status: os }, function() { - i.props.onExiting(l), i.onTransitionEnd(a.exit, function() { - i.safeSetState({ - status: nn + s.props.onExiting(l), s.onTransitionEnd(a.exit, function() { + s.safeSetState({ + status: Lt }, function() { - i.props.onExited(l); + s.props.onExited(l); }); }); }); }, n.cancelNextCallback = function() { this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null); - }, n.safeSetState = function(i, s) { - s = this.setNextCallback(s), this.setState(i, s); - }, n.setNextCallback = function(i) { - var s = this, a = !0; + }, n.safeSetState = function(s, i) { + i = this.setNextCallback(i), this.setState(s, i); + }, n.setNextCallback = function(s) { + var i = this, a = !0; return this.nextCallback = function(l) { - a && (a = !1, s.nextCallback = null, i(l)); + a && (a = !1, i.nextCallback = null, s(l)); }, this.nextCallback.cancel = function() { a = !1; }, this.nextCallback; - }, n.onTransitionEnd = function(i, s) { - this.setNextCallback(s); - var a = this.props.nodeRef ? this.props.nodeRef.current : Ir.findDOMNode(this), l = i == null && !this.props.addEndListener; + }, n.onTransitionEnd = function(s, i) { + this.setNextCallback(i); + var a = this.props.nodeRef ? this.props.nodeRef.current : ir.findDOMNode(this), l = s == null && !this.props.addEndListener; if (!a || l) { setTimeout(this.nextCallback, 0); return; @@ -5904,24 +5555,24 @@ var nm = function(t) { var c = this.props.nodeRef ? [this.nextCallback] : [a, this.nextCallback], u = c[0], d = c[1]; this.props.addEndListener(u, d); } - i != null && setTimeout(this.nextCallback, i); + s != null && setTimeout(this.nextCallback, s); }, n.render = function() { - var i = this.state.status; - if (i === or) + var s = this.state.status; + if (s === Nn) return null; - var s = this.props, a = s.children; - s.in, s.mountOnEnter, s.unmountOnExit, s.appear, s.enter, s.exit, s.timeout, s.addEndListener, s.onEnter, s.onEntering, s.onEntered, s.onExit, s.onExiting, s.onExited, s.nodeRef; - var l = Hl(s, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]); + var i = this.props, a = i.children; + i.in, i.mountOnEnter, i.unmountOnExit, i.appear, i.enter, i.exit, i.timeout, i.addEndListener, i.onEnter, i.onEntering, i.onEntered, i.onExit, i.onExiting, i.onExited, i.nodeRef; + var l = wl(i, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]); return ( // allows for nested Transitions - /* @__PURE__ */ xt.createElement(eo.Provider, { + /* @__PURE__ */ mt.createElement(_r.Provider, { value: null - }, typeof a == "function" ? a(i, l) : xt.cloneElement(xt.Children.only(a), l)) + }, typeof a == "function" ? a(s, l) : mt.cloneElement(mt.Children.only(a), l)) ); }, t; -}(xt.Component); -It.contextType = eo; -It.propTypes = process.env.NODE_ENV !== "production" ? { +}(mt.Component); +yt.contextType = _r; +yt.propTypes = process.env.NODE_ENV !== "production" ? { /** * A React reference to DOM element that need to transition: * https://stackoverflow.com/a/51127130/4671932 @@ -5934,9 +5585,9 @@ It.propTypes = process.env.NODE_ENV !== "production" ? { * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)). */ nodeRef: o.shape({ - current: typeof Element > "u" ? o.any : function(e, t, n, r, i, s) { + current: typeof Element > "u" ? o.any : function(e, t, n, r, s, i) { var a = e[t]; - return o.instanceOf(a && "ownerDocument" in a ? a.ownerDocument.defaultView.Element : Element)(e, t, n, r, i, s); + return o.instanceOf(a && "ownerDocument" in a ? a.ownerDocument.defaultView.Element : Element)(e, t, n, r, s, i); } }), /** @@ -6017,11 +5668,11 @@ It.propTypes = process.env.NODE_ENV !== "production" ? { * @type {number | { enter?: number, exit?: number, appear?: number }} */ timeout: function(t) { - var n = tm; + var n = _p; t.addEndListener || (n = n.isRequired); - for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++) - i[s - 1] = arguments[s]; - return n.apply(void 0, [t].concat(i)); + for (var r = arguments.length, s = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++) + s[i - 1] = arguments[i]; + return n.apply(void 0, [t].concat(s)); }, /** * Add a custom transition end trigger. Called with the transitioning @@ -6090,49 +5741,49 @@ It.propTypes = process.env.NODE_ENV !== "production" ? { */ onExited: o.func } : {}; -function Cn() { +function sn() { } -It.defaultProps = { +yt.defaultProps = { in: !1, mountOnEnter: !1, unmountOnExit: !1, appear: !1, enter: !0, exit: !0, - onEnter: Cn, - onEntering: Cn, - onEntered: Cn, - onExit: Cn, - onExiting: Cn, - onExited: Cn + onEnter: sn, + onEntering: sn, + onEntered: sn, + onExit: sn, + onExiting: sn, + onExited: sn }; -It.UNMOUNTED = or; -It.EXITED = nn; -It.ENTERING = rn; -It.ENTERED = _n; -It.EXITING = Ci; -function rm(e) { +yt.UNMOUNTED = Nn; +yt.EXITED = Lt; +yt.ENTERING = jt; +yt.ENTERED = ln; +yt.EXITING = os; +function Ip(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } -function rs(e, t) { - var n = function(s) { - return t && Br(s) ? t(s) : s; +function $s(e, t) { + var n = function(i) { + return t && mr(i) ? t(i) : i; }, r = /* @__PURE__ */ Object.create(null); - return e && gu.map(e, function(i) { - return i; - }).forEach(function(i) { - r[i.key] = n(i); + return e && Hc.map(e, function(s) { + return s; + }).forEach(function(s) { + r[s.key] = n(s); }), r; } -function om(e, t) { +function Np(e, t) { e = e || {}, t = t || {}; function n(d) { return d in t ? t[d] : e[d]; } - var r = /* @__PURE__ */ Object.create(null), i = []; - for (var s in e) - s in t ? i.length && (r[s] = i, i = []) : i.push(s); + var r = /* @__PURE__ */ Object.create(null), s = []; + for (var i in e) + i in t ? s.length && (r[i] = s, s = []) : s.push(i); var a, l = {}; for (var c in t) { if (r[c]) @@ -6142,68 +5793,68 @@ function om(e, t) { } l[c] = n(c); } - for (a = 0; a < i.length; a++) - l[i[a]] = n(i[a]); + for (a = 0; a < s.length; a++) + l[s[a]] = n(s[a]); return l; } -function sn(e, t, n) { +function Ft(e, t, n) { return n[t] != null ? n[t] : e.props[t]; } -function im(e, t) { - return rs(e.children, function(n) { - return Fr(n, { +function kp(e, t) { + return $s(e.children, function(n) { + return hr(n, { onExited: t.bind(null, n), in: !0, - appear: sn(n, "appear", e), - enter: sn(n, "enter", e), - exit: sn(n, "exit", e) + appear: Ft(n, "appear", e), + enter: Ft(n, "enter", e), + exit: Ft(n, "exit", e) }); }); } -function sm(e, t, n) { - var r = rs(e.children), i = om(t, r); - return Object.keys(i).forEach(function(s) { - var a = i[s]; - if (Br(a)) { - var l = s in t, c = s in r, u = t[s], d = Br(u) && !u.props.in; - c && (!l || d) ? i[s] = Fr(a, { +function $p(e, t, n) { + var r = $s(e.children), s = Np(t, r); + return Object.keys(s).forEach(function(i) { + var a = s[i]; + if (mr(a)) { + var l = i in t, c = i in r, u = t[i], d = mr(u) && !u.props.in; + c && (!l || d) ? s[i] = hr(a, { onExited: n.bind(null, a), in: !0, - exit: sn(a, "exit", e), - enter: sn(a, "enter", e) - }) : !c && l && !d ? i[s] = Fr(a, { + exit: Ft(a, "exit", e), + enter: Ft(a, "enter", e) + }) : !c && l && !d ? s[i] = hr(a, { in: !1 - }) : c && l && Br(u) && (i[s] = Fr(a, { + }) : c && l && mr(u) && (s[i] = hr(a, { onExited: n.bind(null, a), in: u.props.in, - exit: sn(a, "exit", e), - enter: sn(a, "enter", e) + exit: Ft(a, "exit", e), + enter: Ft(a, "enter", e) })); } - }), i; + }), s; } -var am = Object.values || function(e) { +var Mp = Object.values || function(e) { return Object.keys(e).map(function(t) { return e[t]; }); -}, lm = { +}, Dp = { component: "div", childFactory: function(t) { return t; } -}, os = /* @__PURE__ */ function(e) { - ql(t, e); - function t(r, i) { - var s; - s = e.call(this, r, i) || this; - var a = s.handleExited.bind(rm(s)); - return s.state = { +}, Ms = /* @__PURE__ */ function(e) { + Cl(t, e); + function t(r, s) { + var i; + i = e.call(this, r, s) || this; + var a = i.handleExited.bind(Ip(i)); + return i.state = { contextValue: { isMounting: !0 }, handleExited: a, firstRender: !0 - }, s; + }, i; } var n = t.prototype; return n.componentDidMount = function() { @@ -6214,30 +5865,30 @@ var am = Object.values || function(e) { }); }, n.componentWillUnmount = function() { this.mounted = !1; - }, t.getDerivedStateFromProps = function(i, s) { - var a = s.children, l = s.handleExited, c = s.firstRender; + }, t.getDerivedStateFromProps = function(s, i) { + var a = i.children, l = i.handleExited, c = i.firstRender; return { - children: c ? im(i, l) : sm(i, a, l), + children: c ? kp(s, l) : $p(s, a, l), firstRender: !1 }; - }, n.handleExited = function(i, s) { - var a = rs(this.props.children); - i.key in a || (i.props.onExited && i.props.onExited(s), this.mounted && this.setState(function(l) { - var c = Yr({}, l.children); - return delete c[i.key], { + }, n.handleExited = function(s, i) { + var a = $s(this.props.children); + s.key in a || (s.props.onExited && s.props.onExited(i), this.mounted && this.setState(function(l) { + var c = xr({}, l.children); + return delete c[s.key], { children: c }; })); }, n.render = function() { - var i = this.props, s = i.component, a = i.childFactory, l = Hl(i, ["component", "childFactory"]), c = this.state.contextValue, u = am(this.state.children).map(a); - return delete l.appear, delete l.enter, delete l.exit, s === null ? /* @__PURE__ */ xt.createElement(eo.Provider, { + var s = this.props, i = s.component, a = s.childFactory, l = wl(s, ["component", "childFactory"]), c = this.state.contextValue, u = Mp(this.state.children).map(a); + return delete l.appear, delete l.enter, delete l.exit, i === null ? /* @__PURE__ */ mt.createElement(_r.Provider, { value: c - }, u) : /* @__PURE__ */ xt.createElement(eo.Provider, { + }, u) : /* @__PURE__ */ mt.createElement(_r.Provider, { value: c - }, /* @__PURE__ */ xt.createElement(s, l, u)); + }, /* @__PURE__ */ mt.createElement(i, l, u)); }, t; -}(xt.Component); -os.propTypes = process.env.NODE_ENV !== "production" ? { +}(mt.Component); +Ms.propTypes = process.env.NODE_ENV !== "production" ? { /** * `` renders a `
` by default. You can change this * behavior by providing a `component` prop. @@ -6290,26 +5941,26 @@ os.propTypes = process.env.NODE_ENV !== "production" ? { */ childFactory: o.func } : {}; -os.defaultProps = lm; -const ba = {}; -function Gl(e, t) { - const n = x.useRef(ba); - return n.current === ba && (n.current = e(t)), n; +Ms.defaultProps = Dp; +const Zi = {}; +function Pl(e, t) { + const n = x.useRef(Zi); + return n.current === Zi && (n.current = e(t)), n; } -const cm = []; -function um(e) { - x.useEffect(e, cm); +const Lp = []; +function jp(e) { + x.useEffect(e, Lp); } -class is { +class Ds { constructor() { - qn(this, "currentId", null); - qn(this, "clear", () => { + En(this, "currentId", null); + En(this, "clear", () => { this.currentId !== null && (clearTimeout(this.currentId), this.currentId = null); }); - qn(this, "disposeEffect", () => this.clear); + En(this, "disposeEffect", () => this.clear); } static create() { - return new is(); + return new Ds(); } /** * Executes `fn` after `delay`, clearing any previously scheduled call. @@ -6320,29 +5971,29 @@ class is { }, t); } } -function Yl() { - const e = Gl(is.create).current; - return um(e.disposeEffect), e; +function _l() { + const e = Pl(Ds.create).current; + return jp(e.disposeEffect), e; } -function dm(e) { +function Bp(e) { const { prototype: t = {} } = e; return !!t.isReactComponent; } -function fm(e, t, n, r, i) { - const s = e[t], a = i || t; - if (s == null || // When server-side rendering React doesn't warn either. +function Fp(e, t, n, r, s) { + const i = e[t], a = s || t; + if (i == null || // When server-side rendering React doesn't warn either. // This is not an accurate check for SSR. // This is only in place for emotion compat. // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved. typeof window > "u") return null; let l; - return typeof s == "function" && !dm(s) && (l = "Did you accidentally provide a plain function component instead?"), s === x.Fragment && (l = "Did you accidentally provide a React.Fragment instead?"), l !== void 0 ? new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${l} For more information see https://v7.mui.com/r/caveat-with-refs-guide`) : null; + return typeof i == "function" && !Bp(i) && (l = "Did you accidentally provide a plain function component instead?"), i === x.Fragment && (l = "Did you accidentally provide a React.Fragment instead?"), l !== void 0 ? new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${l} For more information see https://v7.mui.com/r/caveat-with-refs-guide`) : null; } -const ss = fn(o.elementType, fm), Kl = (e) => e.scrollTop; -function yt(e, t) { +const Ls = qt(o.elementType, Fp), Al = (e) => e.scrollTop; +function et(e, t) { return (n) => { if (t) { const r = e.current; @@ -6350,31 +6001,31 @@ function yt(e, t) { } }; } -function Xl(e, t, n, r, i, s) { +function Il(e, t, n, r, s, i) { const a = e === "exited" && !t ? r : n[e] || n.exited; - return i || s ? { + return s || i ? { ...a, - ...i, - ...s + ...s, + ...i } : a; } -function to(e, t) { +function Ar(e, t) { const { timeout: n, easing: r, - style: i = {} + style: s = {} } = e; return { - duration: i.transitionDuration ?? (typeof n == "number" ? n : n[t.mode] || 0), - easing: i.transitionTimingFunction ?? (typeof r == "object" ? r[t.mode] : r), - delay: i.transitionDelay + duration: s.transitionDuration ?? (typeof n == "number" ? n : n[t.mode] || 0), + easing: s.transitionTimingFunction ?? (typeof r == "object" ? r[t.mode] : r), + delay: s.transitionDelay }; } -function no(e) { +function Ir(e) { return typeof e == "string"; } -function Jl(e, t, n) { - return e === void 0 || no(e) ? t : { +function Nl(e, t, n) { + return e === void 0 || Ir(e) ? t : { ...t, ownerState: { ...t.ownerState, @@ -6382,10 +6033,10 @@ function Jl(e, t, n) { } }; } -function Ql(e, t, n) { +function kl(e, t, n) { return typeof e == "function" ? e(t, n) : e; } -function Zl(e, t = []) { +function $l(e, t = []) { if (e === void 0) return {}; const n = {}; @@ -6393,7 +6044,7 @@ function Zl(e, t = []) { n[r] = e[r]; }), n; } -function va(e) { +function ea(e) { if (e === void 0) return {}; const t = {}; @@ -6401,22 +6052,22 @@ function va(e) { t[n] = e[n]; }), t; } -function ec(e) { +function Ml(e) { const { getSlotProps: t, additionalProps: n, externalSlotProps: r, - externalForwardedProps: i, - className: s + externalForwardedProps: s, + className: i } = e; if (!t) { - const m = ue(n == null ? void 0 : n.className, s, i == null ? void 0 : i.className, r == null ? void 0 : r.className), g = { + const m = ie(n == null ? void 0 : n.className, i, s == null ? void 0 : s.className, r == null ? void 0 : r.className), g = { ...n == null ? void 0 : n.style, - ...i == null ? void 0 : i.style, + ...s == null ? void 0 : s.style, ...r == null ? void 0 : r.style }, f = { ...n, - ...i, + ...s, ...r }; return m.length > 0 && (f.className = m), Object.keys(g).length > 0 && (f.style = g), { @@ -6424,31 +6075,31 @@ function ec(e) { internalRef: void 0 }; } - const a = Zl({ - ...i, + const a = $l({ + ...s, ...r - }), l = va(r), c = va(i), u = t(a), d = ue(u == null ? void 0 : u.className, n == null ? void 0 : n.className, s, i == null ? void 0 : i.className, r == null ? void 0 : r.className), h = { + }), l = ea(r), c = ea(s), u = t(a), d = ie(u == null ? void 0 : u.className, n == null ? void 0 : n.className, i, s == null ? void 0 : s.className, r == null ? void 0 : r.className), h = { ...u == null ? void 0 : u.style, ...n == null ? void 0 : n.style, - ...i == null ? void 0 : i.style, + ...s == null ? void 0 : s.style, ...r == null ? void 0 : r.style - }, b = { + }, v = { ...u, ...n, ...c, ...l }; - return d.length > 0 && (b.className = d), Object.keys(h).length > 0 && (b.style = h), { - props: b, + return d.length > 0 && (v.className = d), Object.keys(h).length > 0 && (v.style = h), { + props: v, internalRef: u.ref }; } -function Fe(e, t) { +function Pe(e, t) { const { className: n, elementType: r, - ownerState: i, - externalForwardedProps: s, + ownerState: s, + externalForwardedProps: i, internalForwardedProps: a, shouldForwardComponentProp: l = !1, ...c @@ -6460,19 +6111,19 @@ function Fe(e, t) { slotProps: h = { [e]: void 0 }, - ...b - } = s, m = d[e] || r, g = Ql(h[e], i), { + ...v + } = i, m = d[e] || r, g = kl(h[e], s), { props: { component: f, ...y }, internalRef: S - } = ec({ + } = Ml({ className: n, ...c, - externalForwardedProps: e === "root" ? b : void 0, + externalForwardedProps: e === "root" ? v : void 0, externalSlotProps: g - }), O = rt(S, g == null ? void 0 : g.ref, t.ref), T = e === "root" ? f || u : f, v = Jl(m, { + }), R = We(S, g == null ? void 0 : g.ref, t.ref), T = e === "root" ? f || u : f, b = Nl(m, { ...e === "root" && !u && !d[e] && a, ...e !== "root" && !d[e] && a, ...y, @@ -6482,11 +6133,11 @@ function Fe(e, t) { ...T && l && { component: T }, - ref: O - }, i); - return [m, v]; + ref: R + }, s); + return [m, b]; } -function pm(e) { +function Up(e) { const t = typeof e; switch (t) { case "number": @@ -6497,38 +6148,38 @@ function pm(e) { return t; } } -function tc(e, t, n, r) { - const i = e[t]; - if (i == null || !Number.isInteger(i)) { - const s = pm(i); - return new RangeError(`Invalid ${r} \`${t}\` of type \`${s}\` supplied to \`${n}\`, expected \`integer\`.`); +function Dl(e, t, n, r) { + const s = e[t]; + if (s == null || !Number.isInteger(s)) { + const i = Up(s); + return new RangeError(`Invalid ${r} \`${t}\` of type \`${i}\` supplied to \`${n}\`, expected \`integer\`.`); } return null; } -function nc(e, t, n, r) { - return e[t] === void 0 ? null : tc(e, t, n, r); +function Ll(e, t, n, r) { + return e[t] === void 0 ? null : Dl(e, t, n, r); } -function Pi() { +function ss() { return null; } -nc.isRequired = tc; -Pi.isRequired = Pi; -const rc = process.env.NODE_ENV === "production" ? Pi : nc; -function mm(e) { - return ge("MuiPaper", e); +Ll.isRequired = Dl; +ss.isRequired = ss; +const jl = process.env.NODE_ENV === "production" ? ss : Ll; +function Vp(e) { + return ce("MuiPaper", e); } -Ee("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]); -const hm = (e) => { +fe("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]); +const zp = (e) => { const { square: t, elevation: n, variant: r, - classes: i - } = e, s = { + classes: s + } = e, i = { root: ["root", r, !t && "rounded", r === "elevation" && `elevation${n}`] }; - return Se(s, mm, i); -}, ym = ie("div", { + return pe(i, Vp, s); +}, Wp = te("div", { name: "MuiPaper", slot: "Root", overridesResolver: (e, t) => { @@ -6537,7 +6188,7 @@ const hm = (e) => { } = e; return [t.root, t[n.variant], !n.square && t.rounded, n.variant === "elevation" && t[`elevation${n.elevation}`]]; } -})(ke(({ +})(Re(({ theme: e }) => ({ backgroundColor: (e.vars || e).palette.background.paper, @@ -6566,13 +6217,13 @@ const hm = (e) => { backgroundImage: "var(--Paper-overlay)" } }] -}))), Io = /* @__PURE__ */ x.forwardRef(function(t, n) { +}))), so = /* @__PURE__ */ x.forwardRef(function(t, n) { var m; - const r = Ce({ + const r = Ee({ props: t, name: "MuiPaper" - }), i = Ao(), { - className: s, + }), s = oo(), { + className: i, component: a = "div", elevation: l = 1, square: c = !1, @@ -6584,29 +6235,29 @@ const hm = (e) => { elevation: l, square: c, variant: u - }, b = hm(h); - return process.env.NODE_ENV !== "production" && i.shadows[l] === void 0 && console.error([`MUI: The elevation provided is not available in the theme.`, `Please make sure that \`theme.shadows[${l}]\` is defined.`].join(` -`)), /* @__PURE__ */ k.jsx(ym, { + }, v = zp(h); + return process.env.NODE_ENV !== "production" && s.shadows[l] === void 0 && console.error([`MUI: The elevation provided is not available in the theme.`, `Please make sure that \`theme.shadows[${l}]\` is defined.`].join(` +`)), /* @__PURE__ */ k.jsx(Wp, { as: a, ownerState: h, - className: ue(b.root, s), + className: ie(v.root, i), ref: n, ...d, style: { ...u === "elevation" && { - "--Paper-shadow": (i.vars || i).shadows[l], - ...i.vars && { - "--Paper-overlay": (m = i.vars.overlays) == null ? void 0 : m[l] + "--Paper-shadow": (s.vars || s).shadows[l], + ...s.vars && { + "--Paper-overlay": (m = s.vars.overlays) == null ? void 0 : m[l] }, - ...!i.vars && i.palette.mode === "dark" && { - "--Paper-overlay": `linear-gradient(${Qr("#fff", Oi(l))}, ${Qr("#fff", Oi(l))})` + ...!s.vars && s.palette.mode === "dark" && { + "--Paper-overlay": `linear-gradient(${Cr("#fff", ns(l))}, ${Cr("#fff", ns(l))})` } }, ...d.style } }); }); -process.env.NODE_ENV !== "production" && (Io.propTypes = { +process.env.NODE_ENV !== "production" && (so.propTypes = { // ┌────────────────────────────── Warning ──────────────────────────────┐ // │ These PropTypes are generated from the TypeScript type definitions. │ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ @@ -6633,7 +6284,7 @@ process.env.NODE_ENV !== "production" && (Io.propTypes = { * It accepts values between 0 and 24 inclusive. * @default 1 */ - elevation: fn(rc, (e) => { + elevation: qt(jl, (e) => { const { elevation: t, variant: n @@ -6659,8 +6310,8 @@ process.env.NODE_ENV !== "production" && (Io.propTypes = { */ variant: o.oneOfType([o.oneOf(["elevation", "outlined"]), o.string]) }); -const Ht = o.oneOfType([o.func, o.object]); -function Ea(e) { +const wt = o.oneOfType([o.func, o.object]); +function ta(e) { try { return e.matches(":focus-visible"); } catch { @@ -6669,9 +6320,9 @@ function Ea(e) { } return !1; } -class ro { +class Nr { constructor() { - qn(this, "mountEffect", () => { + En(this, "mountEffect", () => { this.shouldMount && !this.didMount && this.ref.current !== null && (this.didMount = !0, this.mounted.resolve()); }); this.ref = { @@ -6684,14 +6335,14 @@ class ro { /** If the ripple component has been mounted */ /** React state hook setter */ static create() { - return new ro(); + return new Nr(); } static use() { - const t = Gl(ro.create).current, [n, r] = x.useState(!1); + const t = Pl(Nr.create).current, [n, r] = x.useState(!1); return t.shouldMount = n, t.setShouldMount = r, x.useEffect(t.mountEffect, [n]), t; } mount() { - return this.mounted || (this.mounted = bm(), this.shouldMount = !0, this.setShouldMount(this.shouldMount)), this.mounted; + return this.mounted || (this.mounted = qp(), this.shouldMount = !0, this.setShouldMount(this.shouldMount)), this.mounted; } /* Ripple API */ start(...t) { @@ -6713,33 +6364,33 @@ class ro { }); } } -function gm() { - return ro.use(); +function Hp() { + return Nr.use(); } -function bm() { +function qp() { let e, t; - const n = new Promise((r, i) => { - e = r, t = i; + const n = new Promise((r, s) => { + e = r, t = s; }); return n.resolve = e, n.reject = t, n; } -function oc(e) { +function Bl(e) { const { className: t, classes: n, pulsate: r = !1, - rippleX: i, - rippleY: s, + rippleX: s, + rippleY: i, rippleSize: a, in: l, onExited: c, timeout: u - } = e, [d, h] = x.useState(!1), b = ue(t, n.ripple, n.rippleVisible, r && n.ripplePulsate), m = { + } = e, [d, h] = x.useState(!1), v = ie(t, n.ripple, n.rippleVisible, r && n.ripplePulsate), m = { width: a, height: a, - top: -(a / 2) + s, - left: -(a / 2) + i - }, g = ue(n.child, d && n.childLeaving, r && n.childPulsate); + top: -(a / 2) + i, + left: -(a / 2) + s + }, g = ie(n.child, d && n.childLeaving, r && n.childPulsate); return !l && !d && h(!0), x.useEffect(() => { if (!l && c != null) { const f = setTimeout(c, u); @@ -6748,14 +6399,14 @@ function oc(e) { }; } }, [c, l, u]), /* @__PURE__ */ k.jsx("span", { - className: b, + className: v, style: m, children: /* @__PURE__ */ k.jsx("span", { className: g }) }); } -process.env.NODE_ENV !== "production" && (oc.propTypes = { +process.env.NODE_ENV !== "production" && (Bl.propTypes = { /** * Override or extend the styles applied to the component. */ @@ -6790,7 +6441,7 @@ process.env.NODE_ENV !== "production" && (oc.propTypes = { */ timeout: o.number.isRequired }); -const mt = Ee("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), _i = 550, vm = 80, Em = br` +const Qe = fe("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), is = 550, Gp = 80, Yp = qn` 0% { transform: scale(0); opacity: 0.1; @@ -6800,7 +6451,7 @@ const mt = Ee("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa transform: scale(1); opacity: 0.3; } -`, Sm = br` +`, Kp = qn` 0% { opacity: 1; } @@ -6808,7 +6459,7 @@ const mt = Ee("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa 100% { opacity: 0; } -`, Tm = br` +`, Xp = qn` 0% { transform: scale(1); } @@ -6820,7 +6471,7 @@ const mt = Ee("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa 100% { transform: scale(1); } -`, xm = ie("span", { +`, Jp = te("span", { name: "MuiTouchRipple", slot: "Root" })({ @@ -6833,30 +6484,30 @@ const mt = Ee("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa bottom: 0, left: 0, borderRadius: "inherit" -}), Rm = ie(oc, { +}), Qp = te(Bl, { name: "MuiTouchRipple", slot: "Ripple" })` opacity: 0; position: absolute; - &.${mt.rippleVisible} { + &.${Qe.rippleVisible} { opacity: 0.3; transform: scale(1); - animation-name: ${Em}; - animation-duration: ${_i}ms; + animation-name: ${Yp}; + animation-duration: ${is}ms; animation-timing-function: ${({ theme: e }) => e.transitions.easing.easeInOut}; } - &.${mt.ripplePulsate} { + &.${Qe.ripplePulsate} { animation-duration: ${({ theme: e }) => e.transitions.duration.shorter}ms; } - & .${mt.child} { + & .${Qe.child} { opacity: 1; display: block; width: 100%; @@ -6865,21 +6516,21 @@ const mt = Ee("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa background-color: currentColor; } - & .${mt.childLeaving} { + & .${Qe.childLeaving} { opacity: 0; - animation-name: ${Sm}; - animation-duration: ${_i}ms; + animation-name: ${Kp}; + animation-duration: ${is}ms; animation-timing-function: ${({ theme: e }) => e.transitions.easing.easeInOut}; } - & .${mt.childPulsate} { + & .${Qe.childPulsate} { position: absolute; /* @noflip */ left: 0px; top: 0; - animation-name: ${Tm}; + animation-name: ${Xp}; animation-duration: 2500ms; animation-timing-function: ${({ theme: e @@ -6887,123 +6538,123 @@ const mt = Ee("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa animation-iteration-count: infinite; animation-delay: 200ms; } -`, ic = /* @__PURE__ */ x.forwardRef(function(t, n) { - const r = Ce({ +`, Fl = /* @__PURE__ */ x.forwardRef(function(t, n) { + const r = Ee({ props: t, name: "MuiTouchRipple" }), { - center: i = !1, - classes: s = {}, + center: s = !1, + classes: i = {}, className: a, ...l } = r, [c, u] = x.useState([]), d = x.useRef(0), h = x.useRef(null); x.useEffect(() => { h.current && (h.current(), h.current = null); }, [c]); - const b = x.useRef(!1), m = Yl(), g = x.useRef(null), f = x.useRef(null), y = x.useCallback((v) => { + const v = x.useRef(!1), m = _l(), g = x.useRef(null), f = x.useRef(null), y = x.useCallback((b) => { const { pulsate: E, rippleX: w, rippleY: N, - rippleSize: L, + rippleSize: j, cb: z - } = v; - u((H) => [...H, /* @__PURE__ */ k.jsx(Rm, { + } = b; + u((q) => [...q, /* @__PURE__ */ k.jsx(Qp, { classes: { - ripple: ue(s.ripple, mt.ripple), - rippleVisible: ue(s.rippleVisible, mt.rippleVisible), - ripplePulsate: ue(s.ripplePulsate, mt.ripplePulsate), - child: ue(s.child, mt.child), - childLeaving: ue(s.childLeaving, mt.childLeaving), - childPulsate: ue(s.childPulsate, mt.childPulsate) + ripple: ie(i.ripple, Qe.ripple), + rippleVisible: ie(i.rippleVisible, Qe.rippleVisible), + ripplePulsate: ie(i.ripplePulsate, Qe.ripplePulsate), + child: ie(i.child, Qe.child), + childLeaving: ie(i.childLeaving, Qe.childLeaving), + childPulsate: ie(i.childPulsate, Qe.childPulsate) }, - timeout: _i, + timeout: is, pulsate: E, rippleX: w, rippleY: N, - rippleSize: L + rippleSize: j }, d.current)]), d.current += 1, h.current = z; - }, [s]), S = x.useCallback((v = {}, E = {}, w = () => { + }, [i]), S = x.useCallback((b = {}, E = {}, w = () => { }) => { const { pulsate: N = !1, - center: L = i || E.pulsate, + center: j = s || E.pulsate, fakeElement: z = !1 // For test purposes } = E; - if ((v == null ? void 0 : v.type) === "mousedown" && b.current) { - b.current = !1; + if ((b == null ? void 0 : b.type) === "mousedown" && v.current) { + v.current = !1; return; } - (v == null ? void 0 : v.type) === "touchstart" && (b.current = !0); - const H = z ? null : f.current, F = H ? H.getBoundingClientRect() : { + (b == null ? void 0 : b.type) === "touchstart" && (v.current = !0); + const q = z ? null : f.current, F = q ? q.getBoundingClientRect() : { width: 0, height: 0, left: 0, top: 0 }; - let p, _, A; - if (L || v === void 0 || v.clientX === 0 && v.clientY === 0 || !v.clientX && !v.touches) - p = Math.round(F.width / 2), _ = Math.round(F.height / 2); + let p, I, A; + if (j || b === void 0 || b.clientX === 0 && b.clientY === 0 || !b.clientX && !b.touches) + p = Math.round(F.width / 2), I = Math.round(F.height / 2); else { const { - clientX: M, - clientY: j - } = v.touches && v.touches.length > 0 ? v.touches[0] : v; - p = Math.round(M - F.left), _ = Math.round(j - F.top); + clientX: D, + clientY: L + } = b.touches && b.touches.length > 0 ? b.touches[0] : b; + p = Math.round(D - F.left), I = Math.round(L - F.top); } - if (L) + if (j) A = Math.sqrt((2 * F.width ** 2 + F.height ** 2) / 3), A % 2 === 0 && (A += 1); else { - const M = Math.max(Math.abs((H ? H.clientWidth : 0) - p), p) * 2 + 2, j = Math.max(Math.abs((H ? H.clientHeight : 0) - _), _) * 2 + 2; - A = Math.sqrt(M ** 2 + j ** 2); + const D = Math.max(Math.abs((q ? q.clientWidth : 0) - p), p) * 2 + 2, L = Math.max(Math.abs((q ? q.clientHeight : 0) - I), I) * 2 + 2; + A = Math.sqrt(D ** 2 + L ** 2); } - v != null && v.touches ? g.current === null && (g.current = () => { + b != null && b.touches ? g.current === null && (g.current = () => { y({ pulsate: N, rippleX: p, - rippleY: _, + rippleY: I, rippleSize: A, cb: w }); - }, m.start(vm, () => { + }, m.start(Gp, () => { g.current && (g.current(), g.current = null); })) : y({ pulsate: N, rippleX: p, - rippleY: _, + rippleY: I, rippleSize: A, cb: w }); - }, [i, y, m]), O = x.useCallback(() => { + }, [s, y, m]), R = x.useCallback(() => { S({}, { pulsate: !0 }); - }, [S]), T = x.useCallback((v, E) => { - if (m.clear(), (v == null ? void 0 : v.type) === "touchend" && g.current) { + }, [S]), T = x.useCallback((b, E) => { + if (m.clear(), (b == null ? void 0 : b.type) === "touchend" && g.current) { g.current(), g.current = null, m.start(0, () => { - T(v, E); + T(b, E); }); return; } g.current = null, u((w) => w.length > 0 ? w.slice(1) : w), h.current = E; }, [m]); return x.useImperativeHandle(n, () => ({ - pulsate: O, + pulsate: R, start: S, stop: T - }), [O, S, T]), /* @__PURE__ */ k.jsx(xm, { - className: ue(mt.root, s.root, a), + }), [R, S, T]), /* @__PURE__ */ k.jsx(Jp, { + className: ie(Qe.root, i.root, a), ref: f, ...l, - children: /* @__PURE__ */ k.jsx(os, { + children: /* @__PURE__ */ k.jsx(Ms, { component: null, exit: !0, children: c }) }); }); -process.env.NODE_ENV !== "production" && (ic.propTypes = { +process.env.NODE_ENV !== "production" && (Fl.propTypes = { /** * If `true`, the ripple starts at the center of the component * rather than at the point of interaction. @@ -7018,20 +6669,20 @@ process.env.NODE_ENV !== "production" && (ic.propTypes = { */ className: o.string }); -function Om(e) { - return ge("MuiButtonBase", e); +function Zp(e) { + return ce("MuiButtonBase", e); } -const wm = Ee("MuiButtonBase", ["root", "disabled", "focusVisible"]), Cm = (e) => { +const em = fe("MuiButtonBase", ["root", "disabled", "focusVisible"]), tm = (e) => { const { disabled: t, focusVisible: n, focusVisibleClassName: r, - classes: i - } = e, a = Se({ + classes: s + } = e, a = pe({ root: ["root", t && "disabled", n && "focusVisible"] - }, Om, i); + }, Zp, s); return n && r && (a.root += ` ${r}`), a; -}, Pm = ie("button", { +}, nm = te("button", { name: "MuiButtonBase", slot: "Root" })({ @@ -7065,7 +6716,7 @@ const wm = Ee("MuiButtonBase", ["root", "disabled", "focusVisible"]), Cm = (e) = borderStyle: "none" // Remove Firefox dotted outline. }, - [`&.${wm.disabled}`]: { + [`&.${em.disabled}`]: { pointerEvents: "none", // Disable link interactions cursor: "default" @@ -7073,121 +6724,121 @@ const wm = Ee("MuiButtonBase", ["root", "disabled", "focusVisible"]), Cm = (e) = "@media print": { colorAdjust: "exact" } -}), No = /* @__PURE__ */ x.forwardRef(function(t, n) { - const r = Ce({ +}), io = /* @__PURE__ */ x.forwardRef(function(t, n) { + const r = Ee({ props: t, name: "MuiButtonBase" }), { - action: i, - centerRipple: s = !1, + action: s, + centerRipple: i = !1, children: a, className: l, component: c = "button", disabled: u = !1, disableRipple: d = !1, disableTouchRipple: h = !1, - focusRipple: b = !1, + focusRipple: v = !1, focusVisibleClassName: m, LinkComponent: g = "a", onBlur: f, onClick: y, onContextMenu: S, - onDragLeave: O, + onDragLeave: R, onFocus: T, - onFocusVisible: v, + onFocusVisible: b, onKeyDown: E, onKeyUp: w, onMouseDown: N, - onMouseLeave: L, + onMouseLeave: j, onMouseUp: z, - onTouchEnd: H, + onTouchEnd: q, onTouchMove: F, onTouchStart: p, - tabIndex: _ = 0, + tabIndex: I = 0, TouchRippleProps: A, - touchRippleRef: M, - type: j, - ...q - } = r, te = x.useRef(null), K = gm(), I = rt(K.ref, M), [D, W] = x.useState(!1); - u && D && W(!1), x.useImperativeHandle(i, () => ({ + touchRippleRef: D, + type: L, + ...G + } = r, Q = x.useRef(null), K = Hp(), O = We(K.ref, D), [P, B] = x.useState(!1); + u && P && B(!1), x.useImperativeHandle(s, () => ({ focusVisible: () => { - W(!0), te.current.focus(); + B(!0), Q.current.focus(); } }), []); - const B = K.shouldMount && !d && !u; + const M = K.shouldMount && !d && !u; x.useEffect(() => { - D && b && !d && K.pulsate(); - }, [d, b, D, K]); - const X = Lt(K, "start", N, h), Q = Lt(K, "stop", S, h), G = Lt(K, "stop", O, h), J = Lt(K, "stop", z, h), Y = Lt(K, "stop", (le) => { - D && le.preventDefault(), L && L(le); - }, h), Z = Lt(K, "start", p, h), V = Lt(K, "stop", H, h), ne = Lt(K, "stop", F, h), P = Lt(K, "stop", (le) => { - Ea(le.target) || W(!1), f && f(le); - }, !1), de = ln((le) => { - te.current || (te.current = le.currentTarget), Ea(le.target) && (W(!0), v && v(le)), T && T(le); - }), re = () => { - const le = te.current; - return le ? le.tagName === "BUTTON" ? !1 : !(le.tagName === "A" && le.href) : c && c !== "button"; - }, me = ln((le) => { - b && !le.repeat && D && le.key === " " && K.stop(le, () => { - K.start(le); - }), le.target === le.currentTarget && re() && le.key === " " && le.preventDefault(), E && E(le), le.target === le.currentTarget && re() && le.key === "Enter" && !u && (le.preventDefault(), y && y(le)); - }), $e = ln((le) => { - b && le.key === " " && D && !le.defaultPrevented && K.stop(le, () => { - K.pulsate(le); - }), w && w(le), y && le.target === le.currentTarget && re() && le.key === " " && !le.defaultPrevented && !u && y(le); + P && v && !d && K.pulsate(); + }, [d, v, P, K]); + const W = vt(K, "start", N, h), H = vt(K, "stop", S, h), Y = vt(K, "stop", R, h), X = vt(K, "stop", z, h), U = vt(K, "stop", (se) => { + P && se.preventDefault(), j && j(se); + }, h), J = vt(K, "start", p, h), V = vt(K, "stop", q, h), Z = vt(K, "stop", F, h), _ = vt(K, "stop", (se) => { + ta(se.target) || B(!1), f && f(se); + }, !1), ae = Vt((se) => { + Q.current || (Q.current = se.currentTarget), ta(se.target) && (B(!0), b && b(se)), T && T(se); + }), ne = () => { + const se = Q.current; + return se ? se.tagName === "BUTTON" ? !1 : !(se.tagName === "A" && se.href) : c && c !== "button"; + }, me = Vt((se) => { + v && !se.repeat && P && se.key === " " && K.stop(se, () => { + K.start(se); + }), se.target === se.currentTarget && ne() && se.key === " " && se.preventDefault(), E && E(se), se.target === se.currentTarget && ne() && se.key === "Enter" && !u && (se.preventDefault(), y && y(se)); + }), Le = Vt((se) => { + v && se.key === " " && P && !se.defaultPrevented && K.stop(se, () => { + K.pulsate(se); + }), w && w(se), y && se.target === se.currentTarget && ne() && se.key === " " && !se.defaultPrevented && !u && y(se); }); - let Me = c; - Me === "button" && (q.href || q.to) && (Me = g); - const De = {}; - if (Me === "button") { - const le = !!q.formAction; - De.type = j === void 0 && !le ? "button" : j, De.disabled = u; + let Ne = c; + Ne === "button" && (G.href || G.to) && (Ne = g); + const ke = {}; + if (Ne === "button") { + const se = !!G.formAction; + ke.type = L === void 0 && !se ? "button" : L, ke.disabled = u; } else - !q.href && !q.to && (De.role = "button"), u && (De["aria-disabled"] = u); - const Ke = rt(n, te), at = { + !G.href && !G.to && (ke.role = "button"), u && (ke["aria-disabled"] = u); + const Ye = We(n, Q), ot = { ...r, - centerRipple: s, + centerRipple: i, component: c, disabled: u, disableRipple: d, disableTouchRipple: h, - focusRipple: b, - tabIndex: _, - focusVisible: D - }, je = Cm(at); - return /* @__PURE__ */ k.jsxs(Pm, { - as: Me, - className: ue(je.root, l), - ownerState: at, - onBlur: P, + focusRipple: v, + tabIndex: I, + focusVisible: P + }, _e = tm(ot); + return /* @__PURE__ */ k.jsxs(nm, { + as: Ne, + className: ie(_e.root, l), + ownerState: ot, + onBlur: _, onClick: y, - onContextMenu: Q, - onFocus: de, + onContextMenu: H, + onFocus: ae, onKeyDown: me, - onKeyUp: $e, - onMouseDown: X, - onMouseLeave: Y, - onMouseUp: J, - onDragLeave: G, + onKeyUp: Le, + onMouseDown: W, + onMouseLeave: U, + onMouseUp: X, + onDragLeave: Y, onTouchEnd: V, - onTouchMove: ne, - onTouchStart: Z, - ref: Ke, - tabIndex: u ? -1 : _, - type: j, - ...De, - ...q, - children: [a, B ? /* @__PURE__ */ k.jsx(ic, { - ref: I, - center: s, + onTouchMove: Z, + onTouchStart: J, + ref: Ye, + tabIndex: u ? -1 : I, + type: L, + ...ke, + ...G, + children: [a, M ? /* @__PURE__ */ k.jsx(Fl, { + ref: O, + center: i, ...A }) : null] }); }); -function Lt(e, t, n, r = !1) { - return ln((i) => (n && n(i), r || e[t](i), !0)); +function vt(e, t, n, r = !1) { + return Vt((s) => (n && n(s), r || e[t](s), !0)); } -process.env.NODE_ENV !== "production" && (No.propTypes = { +process.env.NODE_ENV !== "production" && (io.propTypes = { // ┌────────────────────────────── Warning ──────────────────────────────┐ // │ These PropTypes are generated from the TypeScript type definitions. │ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ @@ -7196,7 +6847,7 @@ process.env.NODE_ENV !== "production" && (No.propTypes = { * A ref for imperative actions. * It currently only supports `focusVisible()` action. */ - action: Ht, + action: wt, /** * If `true`, the ripples are centered. * They won't start at the cursor interaction position. @@ -7219,7 +6870,7 @@ process.env.NODE_ENV !== "production" && (No.propTypes = { * The component used for the root node. * Either a string to use a HTML element or a component. */ - component: ss, + component: Ls, /** * If `true`, the component is disabled. * @default false @@ -7349,25 +7000,25 @@ process.env.NODE_ENV !== "production" && (No.propTypes = { */ type: o.oneOfType([o.oneOf(["button", "reset", "submit"]), o.string]) }); -function _m(e) { +function rm(e) { return typeof e.main == "string"; } -function Am(e, t = []) { - if (!_m(e)) +function om(e, t = []) { + if (!rm(e)) return !1; for (const n of t) if (!e.hasOwnProperty(n) || typeof e[n] != "string") return !1; return !0; } -function Wt(e = []) { - return ([, t]) => t && Am(t, e); +function Rt(e = []) { + return ([, t]) => t && om(t, e); } -function Im(e) { - return ge("MuiCircularProgress", e); +function sm(e) { + return ce("MuiCircularProgress", e); } -Ee("MuiCircularProgress", ["root", "determinate", "indeterminate", "colorPrimary", "colorSecondary", "svg", "track", "circle", "circleDeterminate", "circleIndeterminate", "circleDisableShrink"]); -const Tt = 44, Ai = br` +fe("MuiCircularProgress", ["root", "determinate", "indeterminate", "colorPrimary", "colorSecondary", "svg", "track", "circle", "circleDeterminate", "circleIndeterminate", "circleDisableShrink"]); +const it = 44, as = qn` 0% { transform: rotate(0deg); } @@ -7375,7 +7026,7 @@ const Tt = 44, Ai = br` 100% { transform: rotate(360deg); } -`, Ii = br` +`, ls = qn` 0% { stroke-dasharray: 1px, 200px; stroke-dashoffset: 0; @@ -7390,33 +7041,33 @@ const Tt = 44, Ai = br` stroke-dasharray: 1px, 200px; stroke-dashoffset: -126px; } -`, Nm = typeof Ai != "string" ? Ki` - animation: ${Ai} 1.4s linear infinite; - ` : null, km = typeof Ii != "string" ? Ki` - animation: ${Ii} 1.4s ease-in-out infinite; - ` : null, $m = (e) => { +`, im = typeof as != "string" ? ws` + animation: ${as} 1.4s linear infinite; + ` : null, am = typeof ls != "string" ? ws` + animation: ${ls} 1.4s ease-in-out infinite; + ` : null, lm = (e) => { const { classes: t, variant: n, color: r, - disableShrink: i - } = e, s = { - root: ["root", n, `color${ae(r)}`], + disableShrink: s + } = e, i = { + root: ["root", n, `color${oe(r)}`], svg: ["svg"], track: ["track"], - circle: ["circle", `circle${ae(n)}`, i && "circleDisableShrink"] + circle: ["circle", `circle${oe(n)}`, s && "circleDisableShrink"] }; - return Se(s, Im, t); -}, Mm = ie("span", { + return pe(i, sm, t); +}, cm = te("span", { name: "MuiCircularProgress", slot: "Root", overridesResolver: (e, t) => { const { ownerState: n } = e; - return [t.root, t[n.variant], t[`color${ae(n.color)}`]]; + return [t.root, t[n.variant], t[`color${oe(n.color)}`]]; } -})(ke(({ +})(Re(({ theme: e }) => ({ display: "inline-block", @@ -7431,10 +7082,10 @@ const Tt = 44, Ai = br` props: { variant: "indeterminate" }, - style: Nm || { - animation: `${Ai} 1.4s linear infinite` + style: im || { + animation: `${as} 1.4s linear infinite` } - }, ...Object.entries(e.palette).filter(Wt()).map(([t]) => ({ + }, ...Object.entries(e.palette).filter(Rt()).map(([t]) => ({ props: { color: t }, @@ -7442,22 +7093,22 @@ const Tt = 44, Ai = br` color: (e.vars || e).palette[t].main } }))] -}))), Dm = ie("svg", { +}))), um = te("svg", { name: "MuiCircularProgress", slot: "Svg" })({ display: "block" // Keeps the progress centered -}), jm = ie("circle", { +}), dm = te("circle", { name: "MuiCircularProgress", slot: "Circle", overridesResolver: (e, t) => { const { ownerState: n } = e; - return [t.circle, t[`circle${ae(n.variant)}`], n.disableShrink && t.circleDisableShrink]; + return [t.circle, t[`circle${oe(n.variant)}`], n.disableShrink && t.circleDisableShrink]; } -})(ke(({ +})(Re(({ theme: e }) => ({ stroke: "currentColor", @@ -7482,50 +7133,50 @@ const Tt = 44, Ai = br` props: ({ ownerState: t }) => t.variant === "indeterminate" && !t.disableShrink, - style: km || { + style: am || { // At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used. - animation: `${Ii} 1.4s ease-in-out infinite` + animation: `${ls} 1.4s ease-in-out infinite` } }] -}))), Lm = ie("circle", { +}))), fm = te("circle", { name: "MuiCircularProgress", slot: "Track" -})(ke(({ +})(Re(({ theme: e }) => ({ stroke: "currentColor", opacity: (e.vars || e).palette.action.activatedOpacity -}))), as = /* @__PURE__ */ x.forwardRef(function(t, n) { - const r = Ce({ +}))), js = /* @__PURE__ */ x.forwardRef(function(t, n) { + const r = Ee({ props: t, name: "MuiCircularProgress" }), { - className: i, - color: s = "primary", + className: s, + color: i = "primary", disableShrink: a = !1, enableTrackSlot: l = !1, size: c = 40, style: u, thickness: d = 3.6, value: h = 0, - variant: b = "indeterminate", + variant: v = "indeterminate", ...m } = r, g = { ...r, - color: s, + color: i, disableShrink: a, size: c, thickness: d, value: h, - variant: b, + variant: v, enableTrackSlot: l - }, f = $m(g), y = {}, S = {}, O = {}; - if (b === "determinate") { - const T = 2 * Math.PI * ((Tt - d) / 2); - y.strokeDasharray = T.toFixed(3), O["aria-valuenow"] = Math.round(h), y.strokeDashoffset = `${((100 - h) / 100 * T).toFixed(3)}px`, S.transform = "rotate(-90deg)"; + }, f = lm(g), y = {}, S = {}, R = {}; + if (v === "determinate") { + const T = 2 * Math.PI * ((it - d) / 2); + y.strokeDasharray = T.toFixed(3), R["aria-valuenow"] = Math.round(h), y.strokeDashoffset = `${((100 - h) / 100 * T).toFixed(3)}px`, S.transform = "rotate(-90deg)"; } - return /* @__PURE__ */ k.jsx(Mm, { - className: ue(f.root, i), + return /* @__PURE__ */ k.jsx(cm, { + className: ie(f.root, s), style: { width: c, height: c, @@ -7535,35 +7186,35 @@ const Tt = 44, Ai = br` ownerState: g, ref: n, role: "progressbar", - ...O, + ...R, ...m, - children: /* @__PURE__ */ k.jsxs(Dm, { + children: /* @__PURE__ */ k.jsxs(um, { className: f.svg, ownerState: g, - viewBox: `${Tt / 2} ${Tt / 2} ${Tt} ${Tt}`, - children: [l ? /* @__PURE__ */ k.jsx(Lm, { + viewBox: `${it / 2} ${it / 2} ${it} ${it}`, + children: [l ? /* @__PURE__ */ k.jsx(fm, { className: f.track, ownerState: g, - cx: Tt, - cy: Tt, - r: (Tt - d) / 2, + cx: it, + cy: it, + r: (it - d) / 2, fill: "none", strokeWidth: d, "aria-hidden": "true" - }) : null, /* @__PURE__ */ k.jsx(jm, { + }) : null, /* @__PURE__ */ k.jsx(dm, { className: f.circle, style: y, ownerState: g, - cx: Tt, - cy: Tt, - r: (Tt - d) / 2, + cx: it, + cy: it, + r: (it - d) / 2, fill: "none", strokeWidth: d })] }) }); }); -process.env.NODE_ENV !== "production" && (as.propTypes = { +process.env.NODE_ENV !== "production" && (js.propTypes = { // ┌────────────────────────────── Warning ──────────────────────────────┐ // │ These PropTypes are generated from the TypeScript type definitions. │ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ @@ -7588,7 +7239,7 @@ process.env.NODE_ENV !== "production" && (as.propTypes = { * This only works if variant is `indeterminate`. * @default false */ - disableShrink: fn(o.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), + disableShrink: qt(o.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), /** * If `true`, a track circle slot is mounted to show a subtle background for the progress. * The `size` and `thickness` apply to the track slot to be consistent with the progress circle. @@ -7628,33 +7279,33 @@ process.env.NODE_ENV !== "production" && (as.propTypes = { */ variant: o.oneOf(["determinate", "indeterminate"]) }); -function Bm(e) { - return ge("MuiIconButton", e); +function pm(e) { + return ce("MuiIconButton", e); } -const Sa = Ee("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge", "loading", "loadingIndicator", "loadingWrapper"]), Fm = (e) => { +const na = fe("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge", "loading", "loadingIndicator", "loadingWrapper"]), mm = (e) => { const { classes: t, disabled: n, color: r, - edge: i, - size: s, + edge: s, + size: i, loading: a } = e, l = { - root: ["root", a && "loading", n && "disabled", r !== "default" && `color${ae(r)}`, i && `edge${ae(i)}`, `size${ae(s)}`], + root: ["root", a && "loading", n && "disabled", r !== "default" && `color${oe(r)}`, s && `edge${oe(s)}`, `size${oe(i)}`], loadingIndicator: ["loadingIndicator"], loadingWrapper: ["loadingWrapper"] }; - return Se(l, Bm, t); -}, Um = ie(No, { + return pe(l, pm, t); +}, hm = te(io, { name: "MuiIconButton", slot: "Root", overridesResolver: (e, t) => { const { ownerState: n } = e; - return [t.root, n.loading && t.loading, n.color !== "default" && t[`color${ae(n.color)}`], n.edge && t[`edge${ae(n.edge)}`], t[`size${ae(n.size)}`]]; + return [t.root, n.loading && t.loading, n.color !== "default" && t[`color${oe(n.color)}`], n.edge && t[`edge${oe(n.edge)}`], t[`size${oe(n.size)}`]]; } -})(ke(({ +})(Re(({ theme: e }) => ({ textAlign: "center", @@ -7709,7 +7360,7 @@ const Sa = Ee("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar marginRight: -3 } }] -})), ke(({ +})), Re(({ theme: e }) => ({ variants: [{ @@ -7719,14 +7370,14 @@ const Sa = Ee("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar style: { color: "inherit" } - }, ...Object.entries(e.palette).filter(Wt()).map(([t]) => ({ + }, ...Object.entries(e.palette).filter(Rt()).map(([t]) => ({ props: { color: t }, style: { color: (e.vars || e).palette[t].main } - })), ...Object.entries(e.palette).filter(Wt()).map(([t]) => ({ + })), ...Object.entries(e.palette).filter(Rt()).map(([t]) => ({ props: { color: t }, @@ -7750,14 +7401,14 @@ const Sa = Ee("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar fontSize: e.typography.pxToRem(28) } }], - [`&.${Sa.disabled}`]: { + [`&.${na.disabled}`]: { backgroundColor: "transparent", color: (e.vars || e).palette.action.disabled }, - [`&.${Sa.loading}`]: { + [`&.${na.loading}`]: { color: "transparent" } -}))), Vm = ie("span", { +}))), ym = te("span", { name: "MuiIconButton", slot: "LoadingIndicator" })(({ @@ -7778,60 +7429,60 @@ const Sa = Ee("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar display: "flex" } }] -})), sc = /* @__PURE__ */ x.forwardRef(function(t, n) { - const r = Ce({ +})), Ul = /* @__PURE__ */ x.forwardRef(function(t, n) { + const r = Ee({ props: t, name: "MuiIconButton" }), { - edge: i = !1, - children: s, + edge: s = !1, + children: i, className: a, color: l = "default", disabled: c = !1, disableFocusRipple: u = !1, size: d = "medium", id: h, - loading: b = null, + loading: v = null, loadingIndicator: m, ...g - } = r, f = Tr(h), y = m ?? /* @__PURE__ */ k.jsx(as, { + } = r, f = Xn(h), y = m ?? /* @__PURE__ */ k.jsx(js, { "aria-labelledby": f, color: "inherit", size: 16 }), S = { ...r, - edge: i, + edge: s, color: l, disabled: c, disableFocusRipple: u, - loading: b, + loading: v, loadingIndicator: y, size: d - }, O = Fm(S); - return /* @__PURE__ */ k.jsxs(Um, { - id: b ? f : h, - className: ue(O.root, a), + }, R = mm(S); + return /* @__PURE__ */ k.jsxs(hm, { + id: v ? f : h, + className: ie(R.root, a), centerRipple: !0, focusRipple: !u, - disabled: c || b, + disabled: c || v, ref: n, ...g, ownerState: S, - children: [typeof b == "boolean" && // use plain HTML span to minimize the runtime overhead + children: [typeof v == "boolean" && // use plain HTML span to minimize the runtime overhead /* @__PURE__ */ k.jsx("span", { - className: O.loadingWrapper, + className: R.loadingWrapper, style: { display: "contents" }, - children: /* @__PURE__ */ k.jsx(Vm, { - className: O.loadingIndicator, + children: /* @__PURE__ */ k.jsx(ym, { + className: R.loadingIndicator, ownerState: S, - children: b && y + children: v && y }) - }), s] + }), i] }); }); -process.env.NODE_ENV !== "production" && (sc.propTypes = { +process.env.NODE_ENV !== "production" && (Ul.propTypes = { // ┌────────────────────────────── Warning ──────────────────────────────┐ // │ These PropTypes are generated from the TypeScript type definitions. │ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ @@ -7839,7 +7490,7 @@ process.env.NODE_ENV !== "production" && (sc.propTypes = { /** * The icon to display. */ - children: fn(o.node, (e) => x.Children.toArray(e.children).some((n) => /* @__PURE__ */ x.isValidElement(n) && n.props.onClick) ? new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole