@jhelom/react-mui-message-dialog 1.0.12 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var Sa=Object.defineProperty;var $a=(e,t,r)=>t in e?Sa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Rt=(e,t,r)=>$a(e,typeof t!="symbol"?t+"":t,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const X=require("react"),$t=require("@mui/material");function Ca(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const M=Ca(X);function Ea(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pn={exports:{}},At={};/**
1
+ "use strict";var Sa=Object.defineProperty;var $a=(e,t,r)=>t in e?Sa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Rt=(e,t,r)=>$a(e,typeof t!="symbol"?t+"":t,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const J=require("react"),at=require("@mui/material");function Ca(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const M=Ca(J);function Ea(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pn={exports:{}},At={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.js
4
4
  *
@@ -19,7 +19,7 @@
19
19
  <%s {...props} />
20
20
  React keys must be passed directly to JSX without using spread:
21
21
  let props = %s;
22
- <%s key={someKey} {...props} />`,F,L,q,L),le[L+F]=!0)}if(L=null,B!==void 0&&(r(B),L=""+B),a(k)&&(r(k.key),L=""+k.key),"key"in k){B={};for(var H in k)H!=="key"&&(B[H]=k[H])}else B=k;return L&&s(B,typeof b=="function"?b.displayName||b.name||"Unknown":b),d(b,L,U,V,o(),B,Y,G)}function p(b){typeof b=="object"&&b!==null&&b.$$typeof===h&&b._store&&(b._store.validated=1)}var g=X,h=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),P=Symbol.for("react.consumer"),A=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),f=Symbol.for("react.client.reference"),x=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,l=Object.prototype.hasOwnProperty,R=Array.isArray,_=console.createTask?console.createTask:function(){return null};g={"react-stack-bottom-frame":function(b){return b()}};var D,j={},Q=g["react-stack-bottom-frame"].bind(g,i)(),de=_(n(i)),le={};Pt.Fragment=c,Pt.jsx=function(b,k,B,F,V){var U=1e4>x.recentlyCreatedOwnerStacks++;return m(b,k,B,!1,F,V,U?Error("react-stack-top-frame"):Q,U?_(n(b)):de)},Pt.jsxs=function(b,k,B,F,V){var U=1e4>x.recentlyCreatedOwnerStacks++;return m(b,k,B,!0,F,V,U?Error("react-stack-top-frame"):Q,U?_(n(b)):de)}}()),Pt}process.env.NODE_ENV==="production"?pn.exports=Ta():pn.exports=wa();var J=pn.exports;const ao=e=>e,xa=()=>{let e=ao;return{configure(t){e=t},generate(t){return e(t)},reset(){e=ao}}},Oa=xa();function lt(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function ut(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":lt(7));return e.charAt(0).toUpperCase()+e.slice(1)}var mn={exports:{}},nr={exports:{}},te={};/** @license React v16.13.1
22
+ <%s key={someKey} {...props} />`,F,L,q,L),le[L+F]=!0)}if(L=null,B!==void 0&&(r(B),L=""+B),a(k)&&(r(k.key),L=""+k.key),"key"in k){B={};for(var H in k)H!=="key"&&(B[H]=k[H])}else B=k;return L&&s(B,typeof b=="function"?b.displayName||b.name||"Unknown":b),d(b,L,U,V,o(),B,Y,G)}function p(b){typeof b=="object"&&b!==null&&b.$$typeof===h&&b._store&&(b._store.validated=1)}var g=J,h=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),P=Symbol.for("react.consumer"),A=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),f=Symbol.for("react.client.reference"),x=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,l=Object.prototype.hasOwnProperty,R=Array.isArray,_=console.createTask?console.createTask:function(){return null};g={"react-stack-bottom-frame":function(b){return b()}};var D,j={},Q=g["react-stack-bottom-frame"].bind(g,i)(),de=_(n(i)),le={};Pt.Fragment=c,Pt.jsx=function(b,k,B,F,V){var U=1e4>x.recentlyCreatedOwnerStacks++;return m(b,k,B,!1,F,V,U?Error("react-stack-top-frame"):Q,U?_(n(b)):de)},Pt.jsxs=function(b,k,B,F,V){var U=1e4>x.recentlyCreatedOwnerStacks++;return m(b,k,B,!0,F,V,U?Error("react-stack-top-frame"):Q,U?_(n(b)):de)}}()),Pt}process.env.NODE_ENV==="production"?pn.exports=Ta():pn.exports=wa();var X=pn.exports;const ao=e=>e,xa=()=>{let e=ao;return{configure(t){e=t},generate(t){return e(t)},reset(){e=ao}}},Oa=xa();function ut(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function ft(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":ut(7));return e.charAt(0).toUpperCase()+e.slice(1)}var mn={exports:{}},nr={exports:{}},te={};/** @license React v16.13.1
23
23
  * react-is.production.min.js
24
24
  *
25
25
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -55,21 +55,21 @@ Valid keys: `+JSON.stringify(Object.keys(b),null," "));var I=Ce(G,H,V,U,Y+"."+H
55
55
  * This source code is licensed under the MIT license found in the
56
56
  * LICENSE file in the root directory of this source tree.
57
57
  */var bo;function Fa(){return bo||(bo=1,process.env.NODE_ENV!=="production"&&function(){function e(c){if(typeof c=="object"&&c!==null){var v=c.$$typeof;switch(v){case t:switch(c=c.type,c){case n:case i:case o:case d:case m:case h:return c;default:switch(c=c&&c.$$typeof,c){case s:case u:case g:case p:return c;case a:return c;default:return v}}case r:return v}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),y=Symbol.for("react.client.reference");ae.ContextConsumer=a,ae.ContextProvider=s,ae.Element=t,ae.ForwardRef=u,ae.Fragment=n,ae.Lazy=g,ae.Memo=p,ae.Portal=r,ae.Profiler=i,ae.StrictMode=o,ae.Suspense=d,ae.SuspenseList=m,ae.isContextConsumer=function(c){return e(c)===a},ae.isContextProvider=function(c){return e(c)===s},ae.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===t},ae.isForwardRef=function(c){return e(c)===u},ae.isFragment=function(c){return e(c)===n},ae.isLazy=function(c){return e(c)===g},ae.isMemo=function(c){return e(c)===p},ae.isPortal=function(c){return e(c)===r},ae.isProfiler=function(c){return e(c)===i},ae.isStrictMode=function(c){return e(c)===o},ae.isSuspense=function(c){return e(c)===d},ae.isSuspenseList=function(c){return e(c)===m},ae.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===n||c===i||c===o||c===d||c===m||typeof c=="object"&&c!==null&&(c.$$typeof===g||c.$$typeof===p||c.$$typeof===s||c.$$typeof===a||c.$$typeof===u||c.$$typeof===y||c.getModuleId!==void 0)},ae.typeOf=e}()),ae}process.env.NODE_ENV==="production"?hn.exports=ja():hn.exports=Fa();var mr=hn.exports;function Ke(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 gi(e){if(M.isValidElement(e)||mr.isValidElementType(e)||!Ke(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=gi(e[r])}),t}function _e(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return Ke(e)&&Ke(t)&&Object.keys(t).forEach(o=>{M.isValidElement(t[o])||mr.isValidElementType(t[o])?n[o]=t[o]:Ke(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Ke(e[o])?n[o]=_e(e[o],t[o],r):r.clone?n[o]=Ke(t[o])?gi(t[o]):t[o]:n[o]=t[o]}),n}function Vt(e,t){return t?_e(e,t,{clone:!1}):e}const rt=process.env.NODE_ENV!=="production"?S.oneOfType([S.number,S.string,S.object,S.array]):{};function vo(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{var a,s;const i=/min-width:\s*([0-9.]+)/;return+(((a=n.match(i))==null?void 0:a[1])||0)-+(((s=o.match(i))==null?void 0:s[1])||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function Va(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function La(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")throw new Error(`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
58
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`);return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function za(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function r(i,a){i.up=(...s)=>t(e.breakpoints.up(...s),a),i.down=(...s)=>t(e.breakpoints.down(...s),a),i.between=(...s)=>t(e.breakpoints.between(...s),a),i.only=(...s)=>t(e.breakpoints.only(...s),a),i.not=(...s)=>{const u=t(e.breakpoints.not(...s),a);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const Tr={xs:0,sm:600,md:900,lg:1200,xl:1536},So={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Tr[e]}px)`},Ua={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Tr[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function He(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||So;return t.reduce((a,s,u)=>(a[i.up(i.keys[u])]=r(t[u]),a),{})}if(typeof t=="object"){const i=n.breakpoints||So;return Object.keys(t).reduce((a,s)=>{if(Va(i.keys,s)){const u=La(n.containerQueries?n:Ua,s);u&&(a[u]=r(t[s],s))}else if(Object.keys(i.values||Tr).includes(s)){const u=i.up(s);a[u]=r(t[s],s)}else{const u=s;a[u]=t[u]}return a},{})}return r(t)}function Wa(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function $o(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function wr(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function hr(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=wr(e,r)||n,t&&(o=t(o,n,e)),o}function ve(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],u=a.theme,d=wr(u,n)||{};return He(a,s,p=>{let g=hr(d,o,p);return p===g&&typeof p=="string"&&(g=hr(d,o,`${t}${p==="default"?"":ut(p)}`,p)),r===!1?g:{[r]:g}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:rt}:{},i.filterProps=[t],i}function Ya(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Ga={m:"margin",p:"padding"},Ka={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Co={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},qa=Ya(e=>{if(e.length>2)if(Co[e])e=Co[e];else return[e];const[t,r]=e.split(""),n=Ga[t],o=Ka[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),xr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Or=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Ha=[...xr,...Or];function Kt(e,t,r,n){const o=wr(e,t,!0)??r;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`),typeof o=="string"?o.startsWith("var(")&&i===0?0:o.startsWith("var(")&&i===1?o:`calc(${i} * ${o})`:o*i):Array.isArray(o)?i=>{if(typeof i=="string")return i;const a=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>o.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${a} > ${o.length-1}, you need to add the missing values.`].join(`
58
+ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`);return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function za(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function r(i,a){i.up=(...s)=>t(e.breakpoints.up(...s),a),i.down=(...s)=>t(e.breakpoints.down(...s),a),i.between=(...s)=>t(e.breakpoints.between(...s),a),i.only=(...s)=>t(e.breakpoints.only(...s),a),i.not=(...s)=>{const u=t(e.breakpoints.not(...s),a);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const Tr={xs:0,sm:600,md:900,lg:1200,xl:1536},So={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Tr[e]}px)`},Ua={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Tr[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function He(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||So;return t.reduce((a,s,u)=>(a[i.up(i.keys[u])]=r(t[u]),a),{})}if(typeof t=="object"){const i=n.breakpoints||So;return Object.keys(t).reduce((a,s)=>{if(Va(i.keys,s)){const u=La(n.containerQueries?n:Ua,s);u&&(a[u]=r(t[s],s))}else if(Object.keys(i.values||Tr).includes(s)){const u=i.up(s);a[u]=r(t[s],s)}else{const u=s;a[u]=t[u]}return a},{})}return r(t)}function Wa(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function $o(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function wr(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function hr(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=wr(e,r)||n,t&&(o=t(o,n,e)),o}function ve(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],u=a.theme,d=wr(u,n)||{};return He(a,s,p=>{let g=hr(d,o,p);return p===g&&typeof p=="string"&&(g=hr(d,o,`${t}${p==="default"?"":ft(p)}`,p)),r===!1?g:{[r]:g}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:rt}:{},i.filterProps=[t],i}function Ya(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Ga={m:"margin",p:"padding"},Ka={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Co={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},qa=Ya(e=>{if(e.length>2)if(Co[e])e=Co[e];else return[e];const[t,r]=e.split(""),n=Ga[t],o=Ka[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),xr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Or=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Ha=[...xr,...Or];function Kt(e,t,r,n){const o=wr(e,t,!0)??r;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`),typeof o=="string"?o.startsWith("var(")&&i===0?0:o.startsWith("var(")&&i===1?o:`calc(${i} * ${o})`:o*i):Array.isArray(o)?i=>{if(typeof i=="string")return i;const a=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>o.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${a} > ${o.length-1}, you need to add the missing values.`].join(`
59
59
  `)):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(`
60
60
  `)));const s=o[a];return i>=0?s:typeof s=="number"?-s:typeof s=="string"&&s.startsWith("var(")?`calc(-1 * ${s})`:`-${s}`}:typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
61
- `)),()=>{})}function Mn(e){return Kt(e,"spacing",8,"spacing")}function qt(e,t){return typeof t=="string"||t==null?t:e(t)}function Xa(e,t){return r=>e.reduce((n,o)=>(n[o]=qt(t,r),n),{})}function Ja(e,t,r,n){if(!t.includes(r))return null;const o=qa(r),i=Xa(o,n),a=e[r];return He(e,a,i)}function yi(e,t){const r=Mn(e.theme);return Object.keys(e).map(n=>Ja(e,t,n,r)).reduce(Vt,{})}function he(e){return yi(e,xr)}he.propTypes=process.env.NODE_ENV!=="production"?xr.reduce((e,t)=>(e[t]=rt,e),{}):{};he.filterProps=xr;function ge(e){return yi(e,Or)}ge.propTypes=process.env.NODE_ENV!=="production"?Or.reduce((e,t)=>(e[t]=rt,e),{}):{};ge.filterProps=Or;process.env.NODE_ENV!=="production"&&Ha.reduce((e,t)=>(e[t]=rt,e),{});function kr(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?Vt(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function Me(e){return typeof e!="number"?e:`${e}px solid`}function Be(e,t){return ve({prop:e,themeKey:"borders",transform:t})}const Qa=Be("border",Me),Za=Be("borderTop",Me),es=Be("borderRight",Me),ts=Be("borderBottom",Me),rs=Be("borderLeft",Me),ns=Be("borderColor"),os=Be("borderTopColor"),is=Be("borderRightColor"),as=Be("borderBottomColor"),ss=Be("borderLeftColor"),cs=Be("outline",Me),ls=Be("outlineColor"),_r=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Kt(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:qt(t,n)});return He(e,e.borderRadius,r)}return null};_r.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:rt}:{};_r.filterProps=["borderRadius"];kr(Qa,Za,es,ts,rs,ns,os,is,as,ss,_r,cs,ls);const Rr=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Kt(e.theme,"spacing",8,"gap"),r=n=>({gap:qt(t,n)});return He(e,e.gap,r)}return null};Rr.propTypes=process.env.NODE_ENV!=="production"?{gap:rt}:{};Rr.filterProps=["gap"];const Ar=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Kt(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:qt(t,n)});return He(e,e.columnGap,r)}return null};Ar.propTypes=process.env.NODE_ENV!=="production"?{columnGap:rt}:{};Ar.filterProps=["columnGap"];const Pr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Kt(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:qt(t,n)});return He(e,e.rowGap,r)}return null};Pr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:rt}:{};Pr.filterProps=["rowGap"];const us=ve({prop:"gridColumn"}),fs=ve({prop:"gridRow"}),ds=ve({prop:"gridAutoFlow"}),ps=ve({prop:"gridAutoColumns"}),ms=ve({prop:"gridAutoRows"}),hs=ve({prop:"gridTemplateColumns"}),gs=ve({prop:"gridTemplateRows"}),ys=ve({prop:"gridTemplateAreas"}),bs=ve({prop:"gridArea"});kr(Rr,Ar,Pr,us,fs,ds,ps,ms,hs,gs,ys,bs);function Ct(e,t){return t==="grey"?t:e}const vs=ve({prop:"color",themeKey:"palette",transform:Ct}),Ss=ve({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ct}),$s=ve({prop:"backgroundColor",themeKey:"palette",transform:Ct});kr(vs,Ss,$s);function Oe(e){return e<=1&&e!==0?`${e*100}%`:e}const Cs=ve({prop:"width",transform:Oe}),Dn=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,a,s,u;const n=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[r])||Tr[r];return n?((u=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:u.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Oe(r)}};return He(e,e.maxWidth,t)}return null};Dn.filterProps=["maxWidth"];const Es=ve({prop:"minWidth",transform:Oe}),Ts=ve({prop:"height",transform:Oe}),ws=ve({prop:"maxHeight",transform:Oe}),xs=ve({prop:"minHeight",transform:Oe});ve({prop:"size",cssProperty:"width",transform:Oe});ve({prop:"size",cssProperty:"height",transform:Oe});const Os=ve({prop:"boxSizing"});kr(Cs,Dn,Es,Ts,ws,xs,Os);const Nr={border:{themeKey:"borders",transform:Me},borderTop:{themeKey:"borders",transform:Me},borderRight:{themeKey:"borders",transform:Me},borderBottom:{themeKey:"borders",transform:Me},borderLeft:{themeKey:"borders",transform:Me},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Me},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:_r},color:{themeKey:"palette",transform:Ct},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ct},backgroundColor:{themeKey:"palette",transform:Ct},p:{style:ge},pt:{style:ge},pr:{style:ge},pb:{style:ge},pl:{style:ge},px:{style:ge},py:{style:ge},padding:{style:ge},paddingTop:{style:ge},paddingRight:{style:ge},paddingBottom:{style:ge},paddingLeft:{style:ge},paddingX:{style:ge},paddingY:{style:ge},paddingInline:{style:ge},paddingInlineStart:{style:ge},paddingInlineEnd:{style:ge},paddingBlock:{style:ge},paddingBlockStart:{style:ge},paddingBlockEnd:{style:ge},m:{style:he},mt:{style:he},mr:{style:he},mb:{style:he},ml:{style:he},mx:{style:he},my:{style:he},margin:{style:he},marginTop:{style:he},marginRight:{style:he},marginBottom:{style:he},marginLeft:{style:he},marginX:{style:he},marginY:{style:he},marginInline:{style:he},marginInlineStart:{style:he},marginInlineEnd:{style:he},marginBlock:{style:he},marginBlockStart:{style:he},marginBlockEnd:{style:he},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Rr},rowGap:{style:Pr},columnGap:{style:Ar},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Oe},maxWidth:{style:Dn},minWidth:{transform:Oe},height:{transform:Oe},maxHeight:{transform:Oe},minHeight:{transform:Oe},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function ks(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function _s(e,t){return typeof e=="function"?e(t):e}function Rs(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:u=r,themeKey:d,transform:m,style:p}=s;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const g=wr(o,d)||{};return p?p(a):He(a,n,y=>{let c=hr(g,m,y);return y===c&&typeof y=="string"&&(c=hr(g,m,`${r}${y==="default"?"":ut(y)}`,y)),u===!1?c:{[u]:c}})}function t(r){const{sx:n,theme:o={},nested:i}=r||{};if(!n)return null;const a=o.unstable_sxConfig??Nr;function s(u){let d=u;if(typeof u=="function")d=u(o);else if(typeof u!="object")return u;if(!d)return null;const m=Wa(o.breakpoints),p=Object.keys(m);let g=m;return Object.keys(d).forEach(h=>{const y=_s(d[h],o);if(y!=null)if(typeof y=="object")if(a[h])g=Vt(g,e(h,y,o,a));else{const c=He({theme:o},y,v=>({[h]:v}));ks(c,y)?g[h]=t({sx:y,theme:o,nested:!0}):g=Vt(g,c)}else g=Vt(g,e(h,y,o,a))}),!i&&o.modularCssLayers?{"@layer sx":vo(o,$o(p,g))}:vo(o,$o(p,g))}return Array.isArray(n)?n.map(s):s(n)}return t}const wt=Rs();wt.filterProps=["sx"];function gr(){return gr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gr.apply(null,arguments)}function As(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 Ps(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 Ns=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Ps(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=As(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0},e}(),Te="-ms-",yr="-moz-",Z="-webkit-",bi="comm",Bn="rule",jn="decl",Is="@import",vi="@keyframes",Ms="@layer",Ds=Math.abs,Ir=String.fromCharCode,Bs=Object.assign;function js(e,t){return Ee(e,0)^45?(((t<<2^Ee(e,0))<<2^Ee(e,1))<<2^Ee(e,2))<<2^Ee(e,3):0}function Si(e){return e.trim()}function Fs(e,t){return(e=t.exec(e))?e[0]:e}function ee(e,t,r){return e.replace(t,r)}function gn(e,t){return e.indexOf(t)}function Ee(e,t){return e.charCodeAt(t)|0}function zt(e,t,r){return e.slice(t,r)}function Le(e){return e.length}function Fn(e){return e.length}function or(e,t){return t.push(e),e}function Vs(e,t){return e.map(t).join("")}var Mr=1,xt=1,$i=0,xe=0,$e=0,kt="";function Dr(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Mr,column:xt,length:a,return:""}}function Nt(e,t){return Bs(Dr("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ls(){return $e}function zs(){return $e=xe>0?Ee(kt,--xe):0,xt--,$e===10&&(xt=1,Mr--),$e}function Re(){return $e=xe<$i?Ee(kt,xe++):0,xt++,$e===10&&(xt=1,Mr++),$e}function Ue(){return Ee(kt,xe)}function cr(){return xe}function Ht(e,t){return zt(kt,e,t)}function Ut(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ci(e){return Mr=xt=1,$i=Le(kt=e),xe=0,[]}function Ei(e){return kt="",e}function lr(e){return Si(Ht(xe-1,yn(e===91?e+2:e===40?e+1:e)))}function Us(e){for(;($e=Ue())&&$e<33;)Re();return Ut(e)>2||Ut($e)>3?"":" "}function Ws(e,t){for(;--t&&Re()&&!($e<48||$e>102||$e>57&&$e<65||$e>70&&$e<97););return Ht(e,cr()+(t<6&&Ue()==32&&Re()==32))}function yn(e){for(;Re();)switch($e){case e:return xe;case 34:case 39:e!==34&&e!==39&&yn($e);break;case 40:e===41&&yn(e);break;case 92:Re();break}return xe}function Ys(e,t){for(;Re()&&e+$e!==57;)if(e+$e===84&&Ue()===47)break;return"/*"+Ht(t,xe-1)+"*"+Ir(e===47?e:Re())}function Gs(e){for(;!Ut(Ue());)Re();return Ht(e,xe)}function Ks(e){return Ei(ur("",null,null,null,[""],e=Ci(e),0,[0],e))}function ur(e,t,r,n,o,i,a,s,u){for(var d=0,m=0,p=a,g=0,h=0,y=0,c=1,v=1,w=1,P=0,A="",$=o,C=i,O=n,N=A;v;)switch(y=P,P=Re()){case 40:if(y!=108&&Ee(N,p-1)==58){gn(N+=ee(lr(P),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:N+=lr(P);break;case 9:case 10:case 13:case 32:N+=Us(y);break;case 92:N+=Ws(cr()-1,7);continue;case 47:switch(Ue()){case 42:case 47:or(qs(Ys(Re(),cr()),t,r),u);break;default:N+="/"}break;case 123*c:s[d++]=Le(N)*w;case 125*c:case 59:case 0:switch(P){case 0:case 125:v=0;case 59+m:w==-1&&(N=ee(N,/\f/g,"")),h>0&&Le(N)-p&&or(h>32?To(N+";",n,r,p-1):To(ee(N," ","")+";",n,r,p-2),u);break;case 59:N+=";";default:if(or(O=Eo(N,t,r,d,m,o,s,A,$=[],C=[],p),i),P===123)if(m===0)ur(N,t,O,O,$,i,p,s,C);else switch(g===99&&Ee(N,3)===110?100:g){case 100:case 108:case 109:case 115:ur(e,O,O,n&&or(Eo(e,O,O,0,0,o,s,A,o,$=[],p),C),o,C,p,s,n?$:C);break;default:ur(N,O,O,O,[""],C,0,s,C)}}d=m=h=0,c=w=1,A=N="",p=a;break;case 58:p=1+Le(N),h=y;default:if(c<1){if(P==123)--c;else if(P==125&&c++==0&&zs()==125)continue}switch(N+=Ir(P),P*c){case 38:w=m>0?1:(N+="\f",-1);break;case 44:s[d++]=(Le(N)-1)*w,w=1;break;case 64:Ue()===45&&(N+=lr(Re())),g=Ue(),m=p=Le(A=N+=Gs(cr())),P++;break;case 45:y===45&&Le(N)==2&&(c=0)}}return i}function Eo(e,t,r,n,o,i,a,s,u,d,m){for(var p=o-1,g=o===0?i:[""],h=Fn(g),y=0,c=0,v=0;y<n;++y)for(var w=0,P=zt(e,p+1,p=Ds(c=a[y])),A=e;w<h;++w)(A=Si(c>0?g[w]+" "+P:ee(P,/&\f/g,g[w])))&&(u[v++]=A);return Dr(e,t,r,o===0?Bn:s,u,d,m)}function qs(e,t,r){return Dr(e,t,r,bi,Ir(Ls()),zt(e,2,-2),0)}function To(e,t,r,n){return Dr(e,t,r,jn,zt(e,0,n),zt(e,n+1,-1),n)}function Et(e,t){for(var r="",n=Fn(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Hs(e,t,r,n){switch(e.type){case Ms:if(e.children.length)break;case Is:case jn:return e.return=e.return||e.value;case bi:return"";case vi:return e.return=e.value+"{"+Et(e.children,n)+"}";case Bn:e.value=e.props.join(",")}return Le(r=Et(e.children,n))?e.return=e.value+"{"+r+"}":""}function Xs(e){var t=Fn(e);return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}function Js(e){return function(t){t.root||(t=t.return)&&e(t)}}function Ti(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Qs=function(t,r,n){for(var o=0,i=0;o=i,i=Ue(),o===38&&i===12&&(r[n]=1),!Ut(i);)Re();return Ht(t,xe)},Zs=function(t,r){var n=-1,o=44;do switch(Ut(o)){case 0:o===38&&Ue()===12&&(r[n]=1),t[n]+=Qs(xe-1,r,n);break;case 2:t[n]+=lr(o);break;case 4:if(o===44){t[++n]=Ue()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Ir(o)}while(o=Re());return t},ec=function(t,r){return Ei(Zs(Ci(t),r))},wo=new WeakMap,tc=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!wo.get(n))&&!o){wo.set(t,!0);for(var i=[],a=ec(r,i),s=n.props,u=0,d=0;u<a.length;u++)for(var m=0;m<s.length;m++,d++)t.props[d]=i[u]?a[u].replace(/&\f/g,s[m]):s[m]+" "+a[u]}}},rc=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function wi(e,t){switch(js(e,t)){case 5103:return Z+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Z+e+yr+e+Te+e+e;case 6828:case 4268:return Z+e+Te+e+e;case 6165:return Z+e+Te+"flex-"+e+e;case 5187:return Z+e+ee(e,/(\w+).+(:[^]+)/,Z+"box-$1$2"+Te+"flex-$1$2")+e;case 5443:return Z+e+Te+"flex-item-"+ee(e,/flex-|-self/,"")+e;case 4675:return Z+e+Te+"flex-line-pack"+ee(e,/align-content|flex-|-self/,"")+e;case 5548:return Z+e+Te+ee(e,"shrink","negative")+e;case 5292:return Z+e+Te+ee(e,"basis","preferred-size")+e;case 6060:return Z+"box-"+ee(e,"-grow","")+Z+e+Te+ee(e,"grow","positive")+e;case 4554:return Z+ee(e,/([^-])(transform)/g,"$1"+Z+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,Z+"$1"),/(image-set)/,Z+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,Z+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,Z+"box-pack:$3"+Te+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Z+e+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,Z+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Le(e)-1-t>6)switch(Ee(e,t+1)){case 109:if(Ee(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+Z+"$2-$3$1"+yr+(Ee(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~gn(e,"stretch")?wi(ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ee(e,t+1)!==115)break;case 6444:switch(Ee(e,Le(e)-3-(~gn(e,"!important")&&10))){case 107:return ee(e,":",":"+Z)+e;case 101:return ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Z+(Ee(e,14)===45?"inline-":"")+"box$3$1"+Z+"$2$3$1"+Te+"$2box$3")+e}break;case 5936:switch(Ee(e,t+11)){case 114:return Z+e+Te+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Z+e+Te+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Z+e+Te+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Z+e+Te+e+e}return e}var nc=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case jn:t.return=wi(t.value,t.length);break;case vi:return Et([Nt(t,{value:ee(t.value,"@","@"+Z)})],o);case Bn:if(t.length)return Vs(t.props,function(i){switch(Fs(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Et([Nt(t,{props:[ee(i,/:(read-\w+)/,":"+yr+"$1")]})],o);case"::placeholder":return Et([Nt(t,{props:[ee(i,/:(plac\w+)/,":"+Z+"input-$1")]}),Nt(t,{props:[ee(i,/:(plac\w+)/,":"+yr+"$1")]}),Nt(t,{props:[ee(i,/:(plac\w+)/,Te+"input-$1")]})],o)}return""})}},oc=[nc],ic=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(c){var v=c.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(c),c.setAttribute("data-s",""))})}var o=t.stylisPlugins||oc,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(c){for(var v=c.getAttribute("data-emotion").split(" "),w=1;w<v.length;w++)i[v[w]]=!0;s.push(c)});var u,d=[tc,rc];{var m,p=[Hs,Js(function(c){m.insert(c)})],g=Xs(d.concat(o,p)),h=function(v){return Et(Ks(v),g)};u=function(v,w,P,A){m=P,h(v?v+"{"+w.styles+"}":w.styles),A&&(y.inserted[w.name]=!0)}}var y={key:r,sheet:new Ns({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:u};return y.sheet.hydrate(s),y},xi=Nn(),ac={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},sc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Oi={};Oi[xi.ForwardRef]=ac;Oi[xi.Memo]=sc;var cc=!0;function ki(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var Vn=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||cc===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},_i=function(t,r,n){Vn(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function lc(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var uc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},fc=/[A-Z]|^ms/g,dc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ri=function(t){return t.charCodeAt(1)===45},xo=function(t){return t!=null&&typeof t!="boolean"},an=Ti(function(e){return Ri(e)?e:e.replace(fc,"-$&").toLowerCase()}),Oo=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(dc,function(n,o,i){return ze={name:o,styles:i,next:ze},o})}return uc[t]!==1&&!Ri(t)&&typeof r=="number"&&r!==0?r+"px":r};function Wt(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return ze={name:o.name,styles:o.styles,next:ze},o.name;var i=r;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)ze={name:a.name,styles:a.styles,next:ze},a=a.next;var s=i.styles+";";return s}return pc(e,t,r)}case"function":{if(e!==void 0){var u=ze,d=r(e);return ze=u,Wt(e,t,d)}break}}var m=r;if(t==null)return m;var p=t[m];return p!==void 0?p:m}function pc(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Wt(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?n+=i+"{"+t[s]+"}":xo(s)&&(n+=an(i)+":"+Oo(i,s)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var u=0;u<a.length;u++)xo(a[u])&&(n+=an(i)+":"+Oo(i,a[u])+";");else{var d=Wt(e,t,a);switch(i){case"animation":case"animationName":{n+=an(i)+":"+d+";";break}default:n+=i+"{"+d+"}"}}}return n}var ko=/label:\s*([^\s;{]+)\s*(;|$)/g,ze;function Xt(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";ze=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=Wt(r,t,i);else{var a=i;o+=a[0]}for(var s=1;s<e.length;s++)if(o+=Wt(r,t,e[s]),n){var u=i;o+=u[s]}ko.lastIndex=0;for(var d="",m;(m=ko.exec(o))!==null;)d+="-"+m[1];var p=lc(o)+d;return{name:p,styles:o,next:ze}}var mc=function(t){return t()},hc=M.useInsertionEffect?M.useInsertionEffect:!1,Ai=hc||mc,Pi=M.createContext(typeof HTMLElement<"u"?ic({key:"css"}):null);Pi.Provider;var Ni=function(t){return X.forwardRef(function(r,n){var o=X.useContext(Pi);return t(r,o,n)})},Ii=M.createContext({}),Ln={}.hasOwnProperty,bn="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",gc=function(t,r){var n={};for(var o in r)Ln.call(r,o)&&(n[o]=r[o]);return n[bn]=t,n},yc=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Vn(r,n,o),Ai(function(){return _i(r,n,o)}),null},bc=Ni(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[bn],i=[n],a="";typeof e.className=="string"?a=ki(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var s=Xt(i,void 0,M.useContext(Ii));a+=t.key+"-"+s.name;var u={};for(var d in e)Ln.call(e,d)&&d!=="css"&&d!==bn&&(u[d]=e[d]);return u.className=a,r&&(u.ref=r),M.createElement(M.Fragment,null,M.createElement(yc,{cache:t,serialized:s,isStringTag:typeof o=="string"}),M.createElement(o,u))}),vc=bc,_o=function(t,r){var n=arguments;if(r==null||!Ln.call(r,"css"))return M.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=vc,i[1]=gc(t,r);for(var a=2;a<o;a++)i[a]=n[a];return M.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(_o||(_o={}));function zn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Xt(t)}function Jt(){var e=zn.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var Sc=/^((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)-.*))$/,$c=Ti(function(e){return Sc.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Cc=$c,Ec=function(t){return t!=="theme"},Ro=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Cc:Ec},Ao=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Tc=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Vn(r,n,o),Ai(function(){return _i(r,n,o)}),null},wc=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=Ao(t,r,n),u=s||Ro(o),d=!u("as");return function(){var m=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)p.push.apply(p,m);else{var g=m[0];p.push(g[0]);for(var h=m.length,y=1;y<h;y++)p.push(m[y],g[y])}var c=Ni(function(v,w,P){var A=d&&v.as||o,$="",C=[],O=v;if(v.theme==null){O={};for(var N in v)O[N]=v[N];O.theme=M.useContext(Ii)}typeof v.className=="string"?$=ki(w.registered,C,v.className):v.className!=null&&($=v.className+" ");var z=Xt(p.concat(C),w.registered,O);$+=w.key+"-"+z.name,a!==void 0&&($+=" "+a);var W=d&&s===void 0?Ro(A):u,f={};for(var x in v)d&&x==="as"||W(x)&&(f[x]=v[x]);return f.className=$,P&&(f.ref=P),M.createElement(M.Fragment,null,M.createElement(Tc,{cache:w,serialized:z,isStringTag:typeof A=="string"}),M.createElement(A,f))});return c.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",c.defaultProps=t.defaultProps,c.__emotion_real=c,c.__emotion_base=o,c.__emotion_styles=p,c.__emotion_forwardProp=s,Object.defineProperty(c,"toString",{value:function(){return"."+a}}),c.withComponent=function(v,w){var P=e(v,gr({},r,w,{shouldForwardProp:Ao(c,w,!0)}));return P.apply(void 0,p)},c}},xc=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],br=wc.bind(null);xc.forEach(function(e){br[e]=br(e)});/**
61
+ `)),()=>{})}function Mn(e){return Kt(e,"spacing",8,"spacing")}function qt(e,t){return typeof t=="string"||t==null?t:e(t)}function Xa(e,t){return r=>e.reduce((n,o)=>(n[o]=qt(t,r),n),{})}function Ja(e,t,r,n){if(!t.includes(r))return null;const o=qa(r),i=Xa(o,n),a=e[r];return He(e,a,i)}function yi(e,t){const r=Mn(e.theme);return Object.keys(e).map(n=>Ja(e,t,n,r)).reduce(Vt,{})}function he(e){return yi(e,xr)}he.propTypes=process.env.NODE_ENV!=="production"?xr.reduce((e,t)=>(e[t]=rt,e),{}):{};he.filterProps=xr;function ge(e){return yi(e,Or)}ge.propTypes=process.env.NODE_ENV!=="production"?Or.reduce((e,t)=>(e[t]=rt,e),{}):{};ge.filterProps=Or;process.env.NODE_ENV!=="production"&&Ha.reduce((e,t)=>(e[t]=rt,e),{});function kr(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?Vt(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function Me(e){return typeof e!="number"?e:`${e}px solid`}function Be(e,t){return ve({prop:e,themeKey:"borders",transform:t})}const Qa=Be("border",Me),Za=Be("borderTop",Me),es=Be("borderRight",Me),ts=Be("borderBottom",Me),rs=Be("borderLeft",Me),ns=Be("borderColor"),os=Be("borderTopColor"),is=Be("borderRightColor"),as=Be("borderBottomColor"),ss=Be("borderLeftColor"),cs=Be("outline",Me),ls=Be("outlineColor"),_r=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Kt(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:qt(t,n)});return He(e,e.borderRadius,r)}return null};_r.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:rt}:{};_r.filterProps=["borderRadius"];kr(Qa,Za,es,ts,rs,ns,os,is,as,ss,_r,cs,ls);const Rr=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Kt(e.theme,"spacing",8,"gap"),r=n=>({gap:qt(t,n)});return He(e,e.gap,r)}return null};Rr.propTypes=process.env.NODE_ENV!=="production"?{gap:rt}:{};Rr.filterProps=["gap"];const Ar=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Kt(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:qt(t,n)});return He(e,e.columnGap,r)}return null};Ar.propTypes=process.env.NODE_ENV!=="production"?{columnGap:rt}:{};Ar.filterProps=["columnGap"];const Pr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Kt(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:qt(t,n)});return He(e,e.rowGap,r)}return null};Pr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:rt}:{};Pr.filterProps=["rowGap"];const us=ve({prop:"gridColumn"}),fs=ve({prop:"gridRow"}),ds=ve({prop:"gridAutoFlow"}),ps=ve({prop:"gridAutoColumns"}),ms=ve({prop:"gridAutoRows"}),hs=ve({prop:"gridTemplateColumns"}),gs=ve({prop:"gridTemplateRows"}),ys=ve({prop:"gridTemplateAreas"}),bs=ve({prop:"gridArea"});kr(Rr,Ar,Pr,us,fs,ds,ps,ms,hs,gs,ys,bs);function Ct(e,t){return t==="grey"?t:e}const vs=ve({prop:"color",themeKey:"palette",transform:Ct}),Ss=ve({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ct}),$s=ve({prop:"backgroundColor",themeKey:"palette",transform:Ct});kr(vs,Ss,$s);function Oe(e){return e<=1&&e!==0?`${e*100}%`:e}const Cs=ve({prop:"width",transform:Oe}),Dn=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,a,s,u;const n=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[r])||Tr[r];return n?((u=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:u.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Oe(r)}};return He(e,e.maxWidth,t)}return null};Dn.filterProps=["maxWidth"];const Es=ve({prop:"minWidth",transform:Oe}),Ts=ve({prop:"height",transform:Oe}),ws=ve({prop:"maxHeight",transform:Oe}),xs=ve({prop:"minHeight",transform:Oe});ve({prop:"size",cssProperty:"width",transform:Oe});ve({prop:"size",cssProperty:"height",transform:Oe});const Os=ve({prop:"boxSizing"});kr(Cs,Dn,Es,Ts,ws,xs,Os);const Nr={border:{themeKey:"borders",transform:Me},borderTop:{themeKey:"borders",transform:Me},borderRight:{themeKey:"borders",transform:Me},borderBottom:{themeKey:"borders",transform:Me},borderLeft:{themeKey:"borders",transform:Me},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Me},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:_r},color:{themeKey:"palette",transform:Ct},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ct},backgroundColor:{themeKey:"palette",transform:Ct},p:{style:ge},pt:{style:ge},pr:{style:ge},pb:{style:ge},pl:{style:ge},px:{style:ge},py:{style:ge},padding:{style:ge},paddingTop:{style:ge},paddingRight:{style:ge},paddingBottom:{style:ge},paddingLeft:{style:ge},paddingX:{style:ge},paddingY:{style:ge},paddingInline:{style:ge},paddingInlineStart:{style:ge},paddingInlineEnd:{style:ge},paddingBlock:{style:ge},paddingBlockStart:{style:ge},paddingBlockEnd:{style:ge},m:{style:he},mt:{style:he},mr:{style:he},mb:{style:he},ml:{style:he},mx:{style:he},my:{style:he},margin:{style:he},marginTop:{style:he},marginRight:{style:he},marginBottom:{style:he},marginLeft:{style:he},marginX:{style:he},marginY:{style:he},marginInline:{style:he},marginInlineStart:{style:he},marginInlineEnd:{style:he},marginBlock:{style:he},marginBlockStart:{style:he},marginBlockEnd:{style:he},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Rr},rowGap:{style:Pr},columnGap:{style:Ar},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Oe},maxWidth:{style:Dn},minWidth:{transform:Oe},height:{transform:Oe},maxHeight:{transform:Oe},minHeight:{transform:Oe},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function ks(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function _s(e,t){return typeof e=="function"?e(t):e}function Rs(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:u=r,themeKey:d,transform:m,style:p}=s;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const g=wr(o,d)||{};return p?p(a):He(a,n,y=>{let c=hr(g,m,y);return y===c&&typeof y=="string"&&(c=hr(g,m,`${r}${y==="default"?"":ft(y)}`,y)),u===!1?c:{[u]:c}})}function t(r){const{sx:n,theme:o={},nested:i}=r||{};if(!n)return null;const a=o.unstable_sxConfig??Nr;function s(u){let d=u;if(typeof u=="function")d=u(o);else if(typeof u!="object")return u;if(!d)return null;const m=Wa(o.breakpoints),p=Object.keys(m);let g=m;return Object.keys(d).forEach(h=>{const y=_s(d[h],o);if(y!=null)if(typeof y=="object")if(a[h])g=Vt(g,e(h,y,o,a));else{const c=He({theme:o},y,v=>({[h]:v}));ks(c,y)?g[h]=t({sx:y,theme:o,nested:!0}):g=Vt(g,c)}else g=Vt(g,e(h,y,o,a))}),!i&&o.modularCssLayers?{"@layer sx":vo(o,$o(p,g))}:vo(o,$o(p,g))}return Array.isArray(n)?n.map(s):s(n)}return t}const wt=Rs();wt.filterProps=["sx"];function gr(){return gr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gr.apply(null,arguments)}function As(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 Ps(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 Ns=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Ps(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=As(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0},e}(),Te="-ms-",yr="-moz-",Z="-webkit-",bi="comm",Bn="rule",jn="decl",Is="@import",vi="@keyframes",Ms="@layer",Ds=Math.abs,Ir=String.fromCharCode,Bs=Object.assign;function js(e,t){return Ee(e,0)^45?(((t<<2^Ee(e,0))<<2^Ee(e,1))<<2^Ee(e,2))<<2^Ee(e,3):0}function Si(e){return e.trim()}function Fs(e,t){return(e=t.exec(e))?e[0]:e}function ee(e,t,r){return e.replace(t,r)}function gn(e,t){return e.indexOf(t)}function Ee(e,t){return e.charCodeAt(t)|0}function zt(e,t,r){return e.slice(t,r)}function Le(e){return e.length}function Fn(e){return e.length}function or(e,t){return t.push(e),e}function Vs(e,t){return e.map(t).join("")}var Mr=1,xt=1,$i=0,xe=0,$e=0,kt="";function Dr(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Mr,column:xt,length:a,return:""}}function Nt(e,t){return Bs(Dr("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ls(){return $e}function zs(){return $e=xe>0?Ee(kt,--xe):0,xt--,$e===10&&(xt=1,Mr--),$e}function Re(){return $e=xe<$i?Ee(kt,xe++):0,xt++,$e===10&&(xt=1,Mr++),$e}function Ue(){return Ee(kt,xe)}function cr(){return xe}function Ht(e,t){return zt(kt,e,t)}function Ut(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ci(e){return Mr=xt=1,$i=Le(kt=e),xe=0,[]}function Ei(e){return kt="",e}function lr(e){return Si(Ht(xe-1,yn(e===91?e+2:e===40?e+1:e)))}function Us(e){for(;($e=Ue())&&$e<33;)Re();return Ut(e)>2||Ut($e)>3?"":" "}function Ws(e,t){for(;--t&&Re()&&!($e<48||$e>102||$e>57&&$e<65||$e>70&&$e<97););return Ht(e,cr()+(t<6&&Ue()==32&&Re()==32))}function yn(e){for(;Re();)switch($e){case e:return xe;case 34:case 39:e!==34&&e!==39&&yn($e);break;case 40:e===41&&yn(e);break;case 92:Re();break}return xe}function Ys(e,t){for(;Re()&&e+$e!==57;)if(e+$e===84&&Ue()===47)break;return"/*"+Ht(t,xe-1)+"*"+Ir(e===47?e:Re())}function Gs(e){for(;!Ut(Ue());)Re();return Ht(e,xe)}function Ks(e){return Ei(ur("",null,null,null,[""],e=Ci(e),0,[0],e))}function ur(e,t,r,n,o,i,a,s,u){for(var d=0,m=0,p=a,g=0,h=0,y=0,c=1,v=1,w=1,P=0,A="",$=o,C=i,O=n,N=A;v;)switch(y=P,P=Re()){case 40:if(y!=108&&Ee(N,p-1)==58){gn(N+=ee(lr(P),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:N+=lr(P);break;case 9:case 10:case 13:case 32:N+=Us(y);break;case 92:N+=Ws(cr()-1,7);continue;case 47:switch(Ue()){case 42:case 47:or(qs(Ys(Re(),cr()),t,r),u);break;default:N+="/"}break;case 123*c:s[d++]=Le(N)*w;case 125*c:case 59:case 0:switch(P){case 0:case 125:v=0;case 59+m:w==-1&&(N=ee(N,/\f/g,"")),h>0&&Le(N)-p&&or(h>32?To(N+";",n,r,p-1):To(ee(N," ","")+";",n,r,p-2),u);break;case 59:N+=";";default:if(or(O=Eo(N,t,r,d,m,o,s,A,$=[],C=[],p),i),P===123)if(m===0)ur(N,t,O,O,$,i,p,s,C);else switch(g===99&&Ee(N,3)===110?100:g){case 100:case 108:case 109:case 115:ur(e,O,O,n&&or(Eo(e,O,O,0,0,o,s,A,o,$=[],p),C),o,C,p,s,n?$:C);break;default:ur(N,O,O,O,[""],C,0,s,C)}}d=m=h=0,c=w=1,A=N="",p=a;break;case 58:p=1+Le(N),h=y;default:if(c<1){if(P==123)--c;else if(P==125&&c++==0&&zs()==125)continue}switch(N+=Ir(P),P*c){case 38:w=m>0?1:(N+="\f",-1);break;case 44:s[d++]=(Le(N)-1)*w,w=1;break;case 64:Ue()===45&&(N+=lr(Re())),g=Ue(),m=p=Le(A=N+=Gs(cr())),P++;break;case 45:y===45&&Le(N)==2&&(c=0)}}return i}function Eo(e,t,r,n,o,i,a,s,u,d,m){for(var p=o-1,g=o===0?i:[""],h=Fn(g),y=0,c=0,v=0;y<n;++y)for(var w=0,P=zt(e,p+1,p=Ds(c=a[y])),A=e;w<h;++w)(A=Si(c>0?g[w]+" "+P:ee(P,/&\f/g,g[w])))&&(u[v++]=A);return Dr(e,t,r,o===0?Bn:s,u,d,m)}function qs(e,t,r){return Dr(e,t,r,bi,Ir(Ls()),zt(e,2,-2),0)}function To(e,t,r,n){return Dr(e,t,r,jn,zt(e,0,n),zt(e,n+1,-1),n)}function Et(e,t){for(var r="",n=Fn(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Hs(e,t,r,n){switch(e.type){case Ms:if(e.children.length)break;case Is:case jn:return e.return=e.return||e.value;case bi:return"";case vi:return e.return=e.value+"{"+Et(e.children,n)+"}";case Bn:e.value=e.props.join(",")}return Le(r=Et(e.children,n))?e.return=e.value+"{"+r+"}":""}function Xs(e){var t=Fn(e);return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}function Js(e){return function(t){t.root||(t=t.return)&&e(t)}}function Ti(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Qs=function(t,r,n){for(var o=0,i=0;o=i,i=Ue(),o===38&&i===12&&(r[n]=1),!Ut(i);)Re();return Ht(t,xe)},Zs=function(t,r){var n=-1,o=44;do switch(Ut(o)){case 0:o===38&&Ue()===12&&(r[n]=1),t[n]+=Qs(xe-1,r,n);break;case 2:t[n]+=lr(o);break;case 4:if(o===44){t[++n]=Ue()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Ir(o)}while(o=Re());return t},ec=function(t,r){return Ei(Zs(Ci(t),r))},wo=new WeakMap,tc=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!wo.get(n))&&!o){wo.set(t,!0);for(var i=[],a=ec(r,i),s=n.props,u=0,d=0;u<a.length;u++)for(var m=0;m<s.length;m++,d++)t.props[d]=i[u]?a[u].replace(/&\f/g,s[m]):s[m]+" "+a[u]}}},rc=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function wi(e,t){switch(js(e,t)){case 5103:return Z+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Z+e+yr+e+Te+e+e;case 6828:case 4268:return Z+e+Te+e+e;case 6165:return Z+e+Te+"flex-"+e+e;case 5187:return Z+e+ee(e,/(\w+).+(:[^]+)/,Z+"box-$1$2"+Te+"flex-$1$2")+e;case 5443:return Z+e+Te+"flex-item-"+ee(e,/flex-|-self/,"")+e;case 4675:return Z+e+Te+"flex-line-pack"+ee(e,/align-content|flex-|-self/,"")+e;case 5548:return Z+e+Te+ee(e,"shrink","negative")+e;case 5292:return Z+e+Te+ee(e,"basis","preferred-size")+e;case 6060:return Z+"box-"+ee(e,"-grow","")+Z+e+Te+ee(e,"grow","positive")+e;case 4554:return Z+ee(e,/([^-])(transform)/g,"$1"+Z+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,Z+"$1"),/(image-set)/,Z+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,Z+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,Z+"box-pack:$3"+Te+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Z+e+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,Z+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Le(e)-1-t>6)switch(Ee(e,t+1)){case 109:if(Ee(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+Z+"$2-$3$1"+yr+(Ee(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~gn(e,"stretch")?wi(ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ee(e,t+1)!==115)break;case 6444:switch(Ee(e,Le(e)-3-(~gn(e,"!important")&&10))){case 107:return ee(e,":",":"+Z)+e;case 101:return ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Z+(Ee(e,14)===45?"inline-":"")+"box$3$1"+Z+"$2$3$1"+Te+"$2box$3")+e}break;case 5936:switch(Ee(e,t+11)){case 114:return Z+e+Te+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Z+e+Te+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Z+e+Te+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Z+e+Te+e+e}return e}var nc=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case jn:t.return=wi(t.value,t.length);break;case vi:return Et([Nt(t,{value:ee(t.value,"@","@"+Z)})],o);case Bn:if(t.length)return Vs(t.props,function(i){switch(Fs(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Et([Nt(t,{props:[ee(i,/:(read-\w+)/,":"+yr+"$1")]})],o);case"::placeholder":return Et([Nt(t,{props:[ee(i,/:(plac\w+)/,":"+Z+"input-$1")]}),Nt(t,{props:[ee(i,/:(plac\w+)/,":"+yr+"$1")]}),Nt(t,{props:[ee(i,/:(plac\w+)/,Te+"input-$1")]})],o)}return""})}},oc=[nc],ic=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(c){var v=c.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(c),c.setAttribute("data-s",""))})}var o=t.stylisPlugins||oc,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(c){for(var v=c.getAttribute("data-emotion").split(" "),w=1;w<v.length;w++)i[v[w]]=!0;s.push(c)});var u,d=[tc,rc];{var m,p=[Hs,Js(function(c){m.insert(c)})],g=Xs(d.concat(o,p)),h=function(v){return Et(Ks(v),g)};u=function(v,w,P,A){m=P,h(v?v+"{"+w.styles+"}":w.styles),A&&(y.inserted[w.name]=!0)}}var y={key:r,sheet:new Ns({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:u};return y.sheet.hydrate(s),y},xi=Nn(),ac={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},sc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Oi={};Oi[xi.ForwardRef]=ac;Oi[xi.Memo]=sc;var cc=!0;function ki(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var Vn=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||cc===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},_i=function(t,r,n){Vn(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function lc(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var uc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},fc=/[A-Z]|^ms/g,dc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ri=function(t){return t.charCodeAt(1)===45},xo=function(t){return t!=null&&typeof t!="boolean"},an=Ti(function(e){return Ri(e)?e:e.replace(fc,"-$&").toLowerCase()}),Oo=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(dc,function(n,o,i){return ze={name:o,styles:i,next:ze},o})}return uc[t]!==1&&!Ri(t)&&typeof r=="number"&&r!==0?r+"px":r};function Wt(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return ze={name:o.name,styles:o.styles,next:ze},o.name;var i=r;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)ze={name:a.name,styles:a.styles,next:ze},a=a.next;var s=i.styles+";";return s}return pc(e,t,r)}case"function":{if(e!==void 0){var u=ze,d=r(e);return ze=u,Wt(e,t,d)}break}}var m=r;if(t==null)return m;var p=t[m];return p!==void 0?p:m}function pc(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Wt(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?n+=i+"{"+t[s]+"}":xo(s)&&(n+=an(i)+":"+Oo(i,s)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var u=0;u<a.length;u++)xo(a[u])&&(n+=an(i)+":"+Oo(i,a[u])+";");else{var d=Wt(e,t,a);switch(i){case"animation":case"animationName":{n+=an(i)+":"+d+";";break}default:n+=i+"{"+d+"}"}}}return n}var ko=/label:\s*([^\s;{]+)\s*(;|$)/g,ze;function Xt(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";ze=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=Wt(r,t,i);else{var a=i;o+=a[0]}for(var s=1;s<e.length;s++)if(o+=Wt(r,t,e[s]),n){var u=i;o+=u[s]}ko.lastIndex=0;for(var d="",m;(m=ko.exec(o))!==null;)d+="-"+m[1];var p=lc(o)+d;return{name:p,styles:o,next:ze}}var mc=function(t){return t()},hc=M.useInsertionEffect?M.useInsertionEffect:!1,Ai=hc||mc,Pi=M.createContext(typeof HTMLElement<"u"?ic({key:"css"}):null);Pi.Provider;var Ni=function(t){return J.forwardRef(function(r,n){var o=J.useContext(Pi);return t(r,o,n)})},Ii=M.createContext({}),Ln={}.hasOwnProperty,bn="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",gc=function(t,r){var n={};for(var o in r)Ln.call(r,o)&&(n[o]=r[o]);return n[bn]=t,n},yc=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Vn(r,n,o),Ai(function(){return _i(r,n,o)}),null},bc=Ni(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[bn],i=[n],a="";typeof e.className=="string"?a=ki(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var s=Xt(i,void 0,M.useContext(Ii));a+=t.key+"-"+s.name;var u={};for(var d in e)Ln.call(e,d)&&d!=="css"&&d!==bn&&(u[d]=e[d]);return u.className=a,r&&(u.ref=r),M.createElement(M.Fragment,null,M.createElement(yc,{cache:t,serialized:s,isStringTag:typeof o=="string"}),M.createElement(o,u))}),vc=bc,_o=function(t,r){var n=arguments;if(r==null||!Ln.call(r,"css"))return M.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=vc,i[1]=gc(t,r);for(var a=2;a<o;a++)i[a]=n[a];return M.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(_o||(_o={}));function zn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Xt(t)}function Jt(){var e=zn.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var Sc=/^((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)-.*))$/,$c=Ti(function(e){return Sc.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Cc=$c,Ec=function(t){return t!=="theme"},Ro=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Cc:Ec},Ao=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Tc=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Vn(r,n,o),Ai(function(){return _i(r,n,o)}),null},wc=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=Ao(t,r,n),u=s||Ro(o),d=!u("as");return function(){var m=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)p.push.apply(p,m);else{var g=m[0];p.push(g[0]);for(var h=m.length,y=1;y<h;y++)p.push(m[y],g[y])}var c=Ni(function(v,w,P){var A=d&&v.as||o,$="",C=[],O=v;if(v.theme==null){O={};for(var N in v)O[N]=v[N];O.theme=M.useContext(Ii)}typeof v.className=="string"?$=ki(w.registered,C,v.className):v.className!=null&&($=v.className+" ");var z=Xt(p.concat(C),w.registered,O);$+=w.key+"-"+z.name,a!==void 0&&($+=" "+a);var W=d&&s===void 0?Ro(A):u,f={};for(var x in v)d&&x==="as"||W(x)&&(f[x]=v[x]);return f.className=$,P&&(f.ref=P),M.createElement(M.Fragment,null,M.createElement(Tc,{cache:w,serialized:z,isStringTag:typeof A=="string"}),M.createElement(A,f))});return c.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",c.defaultProps=t.defaultProps,c.__emotion_real=c,c.__emotion_base=o,c.__emotion_styles=p,c.__emotion_forwardProp=s,Object.defineProperty(c,"toString",{value:function(){return"."+a}}),c.withComponent=function(v,w){var P=e(v,gr({},r,w,{shouldForwardProp:Ao(c,w,!0)}));return P.apply(void 0,p)},c}},xc=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],br=wc.bind(null);xc.forEach(function(e){br[e]=br(e)});/**
62
62
  * @mui/styled-engine v7.3.10
63
63
  *
64
64
  * @license MIT
65
65
  * This source code is licensed under the MIT license found in the
66
66
  * LICENSE file in the root directory of this source tree.
67
67
  */function Oc(e,t){const r=br(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
68
- `)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}function kc(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Po=[];function ct(e){return Po[0]=e,Xt(Po)}const _c=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function Rc(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=_c(t),a=Object.keys(i);function s(g){return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r})`}function u(g){return`@media (max-width:${(typeof t[g]=="number"?t[g]:g)-n/100}${r})`}function d(g,h){const y=a.indexOf(h);return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r}) and (max-width:${(y!==-1&&typeof t[a[y]]=="number"?t[a[y]]:h)-n/100}${r})`}function m(g){return a.indexOf(g)+1<a.length?d(g,a[a.indexOf(g)+1]):s(g)}function p(g){const h=a.indexOf(g);return h===0?s(a[1]):h===a.length-1?u(a[h]):d(g,a[a.indexOf(g)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:s,down:u,between:d,only:m,not:p,unit:r,...o}}const Ac={borderRadius:4};function Mi(e=8,t=Mn({spacing:e})){if(e.mui)return e;const r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function Pc(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return r.palette.mode===e?t:{}}function Di(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,s=Rc(r),u=Mi(o);let d=_e({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...Ac,...i}},a);return d=za(d),d.applyStyles=Pc,d=t.reduce((m,p)=>_e(m,p),d),d.unstable_sxConfig={...Nr,...a==null?void 0:a.unstable_sxConfig},d.unstable_sx=function(p){return wt({sx:p,theme:this})},d}const Nc={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Un(e,t,r="Mui"){const n=Nc[t];return n?`${r}-${n}`:`${Oa.generate(e)}-${t}`}function Ic(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Un(e,o,r)}),n}function Bi(e,t=""){return e.displayName||e.name||t}function No(e,t,r){const n=Bi(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function Mc(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Bi(e,"Component");if(typeof e=="object")switch(e.$$typeof){case mr.ForwardRef:return No(e,e.render,"ForwardRef");case mr.Memo:return No(e,e.type,"memo");default:return}}}function ji(e){const{variants:t,...r}=e,n={variants:t,style:ct(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=ct(o.style))}),n}const Dc=Di();function sn(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function at(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Bc(e){return e?(t,r)=>r[e]:null}function jc(e,t,r){e.theme=zc(e.theme)?r:e.theme[t]||e.theme}function fr(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(o=>fr(e,o,r));if(Array.isArray(n==null?void 0:n.variants)){let o;if(n.isProcessed)o=r?at(n.style,r):n.style;else{const{variants:i,...a}=n;o=r?at(ct(a),r):a}return Fi(e,n.variants,[o],r)}return n!=null&&n.isProcessed?r?at(ct(n.style),r):n.style:r?at(ct(n),r):n}function Fi(e,t,r=[],n=void 0){var i;let o;e:for(let a=0;a<t.length;a+=1){const s=t[a];if(typeof s.props=="function"){if(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),!s.props(o))continue}else for(const u in s.props)if(e[u]!==s.props[u]&&((i=e.ownerState)==null?void 0:i[u])!==s.props[u])continue e;typeof s.style=="function"?(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),r.push(n?at(ct(s.style(o)),n):s.style(o))):r.push(n?at(ct(s.style),n):s.style)}return r}function Fc(e={}){const{themeId:t,defaultTheme:r=Dc,rootShouldForwardProp:n=sn,slotShouldForwardProp:o=sn}=e;function i(s){jc(s,t,r)}return(s,u={})=>{kc(s,O=>O.filter(N=>N!==wt));const{name:d,slot:m,skipVariantsResolver:p,skipSx:g,overridesResolver:h=Bc(Vi(m)),...y}=u,c=d&&d.startsWith("Mui")||m?"components":"custom",v=p!==void 0?p:m&&m!=="Root"&&m!=="root"||!1,w=g||!1;let P=sn;m==="Root"||m==="root"?P=n:m?P=o:Uc(s)&&(P=void 0);const A=Oc(s,{shouldForwardProp:P,label:Lc(d,m),...y}),$=O=>{if(O.__emotion_real===O)return O;if(typeof O=="function")return function(z){return fr(z,O,z.theme.modularCssLayers?c:void 0)};if(Ke(O)){const N=ji(O);return function(W){return N.variants?fr(W,N,W.theme.modularCssLayers?c:void 0):W.theme.modularCssLayers?at(N.style,c):N.style}}return O},C=(...O)=>{const N=[],z=O.map($),W=[];if(N.push(i),d&&h&&W.push(function(R){var Q,de;const D=(de=(Q=R.theme.components)==null?void 0:Q[d])==null?void 0:de.styleOverrides;if(!D)return null;const j={};for(const le in D)j[le]=fr(R,D[le],R.theme.modularCssLayers?"theme":void 0);return h(R,j)}),d&&!v&&W.push(function(R){var j,Q;const _=R.theme,D=(Q=(j=_==null?void 0:_.components)==null?void 0:j[d])==null?void 0:Q.variants;return D?Fi(R,D,[],R.theme.modularCssLayers?"theme":void 0):null}),w||W.push(wt),Array.isArray(z[0])){const l=z.shift(),R=new Array(N.length).fill(""),_=new Array(W.length).fill("");let D;D=[...R,...l,..._],D.raw=[...R,...l.raw,..._],N.unshift(D)}const f=[...N,...z,...W],x=A(...f);return s.muiName&&(x.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(x.displayName=Vc(d,m,s)),x};return A.withConfig&&(C.withConfig=A.withConfig),C}}function Vc(e,t,r){return e?`${e}${ut(t||"")}`:`Styled(${Mc(r)})`}function Lc(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${Vi(t||"Root")}`),r}function zc(e){for(const t in e)return!1;return!0}function Uc(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Vi(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function vn(e,t,r=!1){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if(i==="components"||i==="slots")n[i]={...e[i],...n[i]};else if(i==="componentsProps"||i==="slotProps"){const a=e[i],s=t[i];if(!s)n[i]=a||{};else if(!a)n[i]=s;else{n[i]={...s};for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u)){const d=u;n[i][d]=vn(a[d],s[d],r)}}}else i==="className"&&r&&t.className?n.className=we(e==null?void 0:e.className,t==null?void 0:t.className):i==="style"&&r&&t.style?n.style={...e==null?void 0:e.style,...t==null?void 0:t.style}:n[i]===void 0&&(n[i]=e[i])}return n}function Wc(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Wn(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),Wc(e,t,r)}function Yc(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),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.`),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Ze(e){if(e.type)return e;if(e.charAt(0)==="#")return Ze(Yc(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
69
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:lt(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
70
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:lt(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Gc=e=>{const t=Ze(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},Dt=(e,t)=>{try{return Gc(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Br(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Li(e){e=Ze(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(d,m=(d+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let s="rgb";const u=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",u.push(t[3])),Br({type:s,values:u})}function Sn(e){e=Ze(e);let t=e.type==="hsl"||e.type==="hsla"?Ze(Li(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Io(e,t){const r=Sn(e),n=Sn(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function zi(e,t){return e=Ze(e),t=Wn(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Br(e)}function it(e,t,r){try{return zi(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function jr(e,t){if(e=Ze(e),t=Wn(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Br(e)}function ne(e,t,r){try{return jr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Fr(e,t){if(e=Ze(e),t=Wn(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Br(e)}function oe(e,t,r){try{return Fr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Kc(e,t=.15){return Sn(e)>.5?jr(e,t):Fr(e,t)}function ir(e,t,r){try{return Kc(e,t)}catch{return e}}const qc=M.createContext(void 0);process.env.NODE_ENV!=="production"&&(S.node,S.object);function Hc(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?vn(o.defaultProps,n,t.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?vn(o,n,t.components.mergeClassNameAndStyle):n}function Xc({props:e,name:t}){const r=M.useContext(qc);return Hc({props:e,name:t,theme:{components:r}})}const Mo={theme:void 0};function Jc(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(Mo.theme=o.theme,i=ji(e(Mo)),t=i,r=o.theme),i}}function Qc(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.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}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const Do=(e,t,r,n=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},Zc=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([s,u])=>{(!r||r&&!r([...i,s]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?n(u,[...i,s],Array.isArray(u)?[...a,s]:a):t([...i,s],u,a))})}n(e)},el=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function cn(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return Zc(e,(s,u,d)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(s,u))){const m=`--${r?`${r}-`:""}${s.join("-")}`,p=el(s,u);Object.assign(o,{[m]:p}),Do(i,s,`var(${m})`,d),Do(a,s,`var(${m}, ${p})`,d)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function tl(e,t={}){const{getSelector:r=w,disableCssColorScheme:n,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:a={},components:s,defaultColorScheme:u="light",...d}=e,{vars:m,css:p,varsWithDefaults:g}=cn(d,t);let h=g;const y={},{[u]:c,...v}=a;if(Object.entries(v||{}).forEach(([$,C])=>{const{vars:O,css:N,varsWithDefaults:z}=cn(C,t);h=_e(h,z),y[$]={css:N,vars:O}}),c){const{css:$,vars:C,varsWithDefaults:O}=cn(c,t);h=_e(h,O),y[u]={css:$,vars:C}}function w($,C){var N,z;let O=o;if(o==="class"&&(O=".%s"),o==="data"&&(O="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(O=`[${o}="%s"]`),$){if(O==="media")return e.defaultColorScheme===$?":root":{[`@media (prefers-color-scheme: ${((z=(N=a[$])==null?void 0:N.palette)==null?void 0:z.mode)||$})`]:{":root":C}};if(O)return e.defaultColorScheme===$?`:root, ${O.replace("%s",String($))}`:O.replace("%s",String($))}return":root"}return{vars:h,generateThemeVars:()=>{let $={...m};return Object.entries(y).forEach(([,{vars:C}])=>{$=_e($,C)}),$},generateStyleSheets:()=>{var W,f;const $=[],C=e.defaultColorScheme||"light";function O(x,l){Object.keys(l).length&&$.push(typeof x=="string"?{[x]:{...l}}:x)}O(r(void 0,{...p}),p);const{[C]:N,...z}=y;if(N){const{css:x}=N,l=(f=(W=a[C])==null?void 0:W.palette)==null?void 0:f.mode,R=!n&&l?{colorScheme:l,...x}:{...x};O(r(C,{...R}),R)}return Object.entries(z).forEach(([x,{css:l}])=>{var D,j;const R=(j=(D=a[x])==null?void 0:D.palette)==null?void 0:j.mode,_=!n&&R?{colorScheme:R,...l}:{...l};O(r(x,{..._}),_)}),i&&$.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),$}}}function rl(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}const Yt={black:"#000",white:"#fff"},nl={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},ft={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},dt={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},It={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},pt={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},mt={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},ht={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function Ui(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Yt.white,default:Yt.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const Wi=Ui();function Yi(){return{text:{primary:Yt.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Yt.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const $n=Yi();function Bo(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Fr(e.main,o):t==="dark"&&(e.dark=jr(e.main,i)))}function jo(e,t,r,n,o){const i=o.light||o,a=o.dark||o*1.5;t[r]||(t.hasOwnProperty(n)?t[r]=t[n]:r==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(i*100).toFixed(0)}%)`:r==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(a*100).toFixed(0)}%)`))}function ol(e="light"){return e==="dark"?{main:pt[200],light:pt[50],dark:pt[400]}:{main:pt[700],light:pt[400],dark:pt[800]}}function il(e="light"){return e==="dark"?{main:ft[200],light:ft[50],dark:ft[400]}:{main:ft[500],light:ft[300],dark:ft[700]}}function al(e="light"){return e==="dark"?{main:dt[500],light:dt[300],dark:dt[700]}:{main:dt[700],light:dt[400],dark:dt[800]}}function sl(e="light"){return e==="dark"?{main:mt[400],light:mt[300],dark:mt[700]}:{main:mt[700],light:mt[500],dark:mt[900]}}function cl(e="light"){return e==="dark"?{main:ht[400],light:ht[300],dark:ht[700]}:{main:ht[800],light:ht[500],dark:ht[900]}}function ll(e="light"){return e==="dark"?{main:It[400],light:It[300],dark:It[700]}:{main:"#ed6c02",light:It[500],dark:It[900]}}function ul(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Yn(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,colorSpace:o,...i}=e,a=e.primary||ol(t),s=e.secondary||il(t),u=e.error||al(t),d=e.info||sl(t),m=e.success||cl(t),p=e.warning||ll(t);function g(v){if(o)return ul(v);const w=Io(v,$n.text.primary)>=r?$n.text.primary:Wi.text.primary;if(process.env.NODE_ENV!=="production"){const P=Io(v,w);P<3&&console.error([`MUI: The contrast ratio of ${P}:1 for ${w} on ${v}`,"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(`
68
+ `)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}function kc(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Po=[];function lt(e){return Po[0]=e,Xt(Po)}const _c=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function Rc(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=_c(t),a=Object.keys(i);function s(g){return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r})`}function u(g){return`@media (max-width:${(typeof t[g]=="number"?t[g]:g)-n/100}${r})`}function d(g,h){const y=a.indexOf(h);return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r}) and (max-width:${(y!==-1&&typeof t[a[y]]=="number"?t[a[y]]:h)-n/100}${r})`}function m(g){return a.indexOf(g)+1<a.length?d(g,a[a.indexOf(g)+1]):s(g)}function p(g){const h=a.indexOf(g);return h===0?s(a[1]):h===a.length-1?u(a[h]):d(g,a[a.indexOf(g)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:s,down:u,between:d,only:m,not:p,unit:r,...o}}const Ac={borderRadius:4};function Mi(e=8,t=Mn({spacing:e})){if(e.mui)return e;const r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function Pc(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return r.palette.mode===e?t:{}}function Di(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,s=Rc(r),u=Mi(o);let d=_e({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...Ac,...i}},a);return d=za(d),d.applyStyles=Pc,d=t.reduce((m,p)=>_e(m,p),d),d.unstable_sxConfig={...Nr,...a==null?void 0:a.unstable_sxConfig},d.unstable_sx=function(p){return wt({sx:p,theme:this})},d}const Nc={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Un(e,t,r="Mui"){const n=Nc[t];return n?`${r}-${n}`:`${Oa.generate(e)}-${t}`}function Ic(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Un(e,o,r)}),n}function Bi(e,t=""){return e.displayName||e.name||t}function No(e,t,r){const n=Bi(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function Mc(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Bi(e,"Component");if(typeof e=="object")switch(e.$$typeof){case mr.ForwardRef:return No(e,e.render,"ForwardRef");case mr.Memo:return No(e,e.type,"memo");default:return}}}function ji(e){const{variants:t,...r}=e,n={variants:t,style:lt(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=lt(o.style))}),n}const Dc=Di();function sn(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function st(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Bc(e){return e?(t,r)=>r[e]:null}function jc(e,t,r){e.theme=zc(e.theme)?r:e.theme[t]||e.theme}function fr(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(o=>fr(e,o,r));if(Array.isArray(n==null?void 0:n.variants)){let o;if(n.isProcessed)o=r?st(n.style,r):n.style;else{const{variants:i,...a}=n;o=r?st(lt(a),r):a}return Fi(e,n.variants,[o],r)}return n!=null&&n.isProcessed?r?st(lt(n.style),r):n.style:r?st(lt(n),r):n}function Fi(e,t,r=[],n=void 0){var i;let o;e:for(let a=0;a<t.length;a+=1){const s=t[a];if(typeof s.props=="function"){if(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),!s.props(o))continue}else for(const u in s.props)if(e[u]!==s.props[u]&&((i=e.ownerState)==null?void 0:i[u])!==s.props[u])continue e;typeof s.style=="function"?(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),r.push(n?st(lt(s.style(o)),n):s.style(o))):r.push(n?st(lt(s.style),n):s.style)}return r}function Fc(e={}){const{themeId:t,defaultTheme:r=Dc,rootShouldForwardProp:n=sn,slotShouldForwardProp:o=sn}=e;function i(s){jc(s,t,r)}return(s,u={})=>{kc(s,O=>O.filter(N=>N!==wt));const{name:d,slot:m,skipVariantsResolver:p,skipSx:g,overridesResolver:h=Bc(Vi(m)),...y}=u,c=d&&d.startsWith("Mui")||m?"components":"custom",v=p!==void 0?p:m&&m!=="Root"&&m!=="root"||!1,w=g||!1;let P=sn;m==="Root"||m==="root"?P=n:m?P=o:Uc(s)&&(P=void 0);const A=Oc(s,{shouldForwardProp:P,label:Lc(d,m),...y}),$=O=>{if(O.__emotion_real===O)return O;if(typeof O=="function")return function(z){return fr(z,O,z.theme.modularCssLayers?c:void 0)};if(Ke(O)){const N=ji(O);return function(W){return N.variants?fr(W,N,W.theme.modularCssLayers?c:void 0):W.theme.modularCssLayers?st(N.style,c):N.style}}return O},C=(...O)=>{const N=[],z=O.map($),W=[];if(N.push(i),d&&h&&W.push(function(R){var Q,de;const D=(de=(Q=R.theme.components)==null?void 0:Q[d])==null?void 0:de.styleOverrides;if(!D)return null;const j={};for(const le in D)j[le]=fr(R,D[le],R.theme.modularCssLayers?"theme":void 0);return h(R,j)}),d&&!v&&W.push(function(R){var j,Q;const _=R.theme,D=(Q=(j=_==null?void 0:_.components)==null?void 0:j[d])==null?void 0:Q.variants;return D?Fi(R,D,[],R.theme.modularCssLayers?"theme":void 0):null}),w||W.push(wt),Array.isArray(z[0])){const l=z.shift(),R=new Array(N.length).fill(""),_=new Array(W.length).fill("");let D;D=[...R,...l,..._],D.raw=[...R,...l.raw,..._],N.unshift(D)}const f=[...N,...z,...W],x=A(...f);return s.muiName&&(x.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(x.displayName=Vc(d,m,s)),x};return A.withConfig&&(C.withConfig=A.withConfig),C}}function Vc(e,t,r){return e?`${e}${ft(t||"")}`:`Styled(${Mc(r)})`}function Lc(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${Vi(t||"Root")}`),r}function zc(e){for(const t in e)return!1;return!0}function Uc(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Vi(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function vn(e,t,r=!1){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if(i==="components"||i==="slots")n[i]={...e[i],...n[i]};else if(i==="componentsProps"||i==="slotProps"){const a=e[i],s=t[i];if(!s)n[i]=a||{};else if(!a)n[i]=s;else{n[i]={...s};for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u)){const d=u;n[i][d]=vn(a[d],s[d],r)}}}else i==="className"&&r&&t.className?n.className=we(e==null?void 0:e.className,t==null?void 0:t.className):i==="style"&&r&&t.style?n.style={...e==null?void 0:e.style,...t==null?void 0:t.style}:n[i]===void 0&&(n[i]=e[i])}return n}function Wc(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Wn(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),Wc(e,t,r)}function Yc(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),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.`),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Ze(e){if(e.type)return e;if(e.charAt(0)==="#")return Ze(Yc(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
69
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:ut(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
70
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:ut(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Gc=e=>{const t=Ze(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},Dt=(e,t)=>{try{return Gc(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Br(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Li(e){e=Ze(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(d,m=(d+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let s="rgb";const u=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",u.push(t[3])),Br({type:s,values:u})}function Sn(e){e=Ze(e);let t=e.type==="hsl"||e.type==="hsla"?Ze(Li(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Io(e,t){const r=Sn(e),n=Sn(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function zi(e,t){return e=Ze(e),t=Wn(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Br(e)}function it(e,t,r){try{return zi(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function jr(e,t){if(e=Ze(e),t=Wn(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Br(e)}function ne(e,t,r){try{return jr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Fr(e,t){if(e=Ze(e),t=Wn(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Br(e)}function oe(e,t,r){try{return Fr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Kc(e,t=.15){return Sn(e)>.5?jr(e,t):Fr(e,t)}function ir(e,t,r){try{return Kc(e,t)}catch{return e}}const qc=M.createContext(void 0);process.env.NODE_ENV!=="production"&&(S.node,S.object);function Hc(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?vn(o.defaultProps,n,t.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?vn(o,n,t.components.mergeClassNameAndStyle):n}function Xc({props:e,name:t}){const r=M.useContext(qc);return Hc({props:e,name:t,theme:{components:r}})}const Mo={theme:void 0};function Jc(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(Mo.theme=o.theme,i=ji(e(Mo)),t=i,r=o.theme),i}}function Qc(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.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}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const Do=(e,t,r,n=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},Zc=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([s,u])=>{(!r||r&&!r([...i,s]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?n(u,[...i,s],Array.isArray(u)?[...a,s]:a):t([...i,s],u,a))})}n(e)},el=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function cn(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return Zc(e,(s,u,d)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(s,u))){const m=`--${r?`${r}-`:""}${s.join("-")}`,p=el(s,u);Object.assign(o,{[m]:p}),Do(i,s,`var(${m})`,d),Do(a,s,`var(${m}, ${p})`,d)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function tl(e,t={}){const{getSelector:r=w,disableCssColorScheme:n,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:a={},components:s,defaultColorScheme:u="light",...d}=e,{vars:m,css:p,varsWithDefaults:g}=cn(d,t);let h=g;const y={},{[u]:c,...v}=a;if(Object.entries(v||{}).forEach(([$,C])=>{const{vars:O,css:N,varsWithDefaults:z}=cn(C,t);h=_e(h,z),y[$]={css:N,vars:O}}),c){const{css:$,vars:C,varsWithDefaults:O}=cn(c,t);h=_e(h,O),y[u]={css:$,vars:C}}function w($,C){var N,z;let O=o;if(o==="class"&&(O=".%s"),o==="data"&&(O="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(O=`[${o}="%s"]`),$){if(O==="media")return e.defaultColorScheme===$?":root":{[`@media (prefers-color-scheme: ${((z=(N=a[$])==null?void 0:N.palette)==null?void 0:z.mode)||$})`]:{":root":C}};if(O)return e.defaultColorScheme===$?`:root, ${O.replace("%s",String($))}`:O.replace("%s",String($))}return":root"}return{vars:h,generateThemeVars:()=>{let $={...m};return Object.entries(y).forEach(([,{vars:C}])=>{$=_e($,C)}),$},generateStyleSheets:()=>{var W,f;const $=[],C=e.defaultColorScheme||"light";function O(x,l){Object.keys(l).length&&$.push(typeof x=="string"?{[x]:{...l}}:x)}O(r(void 0,{...p}),p);const{[C]:N,...z}=y;if(N){const{css:x}=N,l=(f=(W=a[C])==null?void 0:W.palette)==null?void 0:f.mode,R=!n&&l?{colorScheme:l,...x}:{...x};O(r(C,{...R}),R)}return Object.entries(z).forEach(([x,{css:l}])=>{var D,j;const R=(j=(D=a[x])==null?void 0:D.palette)==null?void 0:j.mode,_=!n&&R?{colorScheme:R,...l}:{...l};O(r(x,{..._}),_)}),i&&$.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),$}}}function rl(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}const Yt={black:"#000",white:"#fff"},nl={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},dt={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},pt={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},It={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},mt={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},ht={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},gt={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function Ui(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Yt.white,default:Yt.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const Wi=Ui();function Yi(){return{text:{primary:Yt.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Yt.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const $n=Yi();function Bo(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Fr(e.main,o):t==="dark"&&(e.dark=jr(e.main,i)))}function jo(e,t,r,n,o){const i=o.light||o,a=o.dark||o*1.5;t[r]||(t.hasOwnProperty(n)?t[r]=t[n]:r==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(i*100).toFixed(0)}%)`:r==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(a*100).toFixed(0)}%)`))}function ol(e="light"){return e==="dark"?{main:mt[200],light:mt[50],dark:mt[400]}:{main:mt[700],light:mt[400],dark:mt[800]}}function il(e="light"){return e==="dark"?{main:dt[200],light:dt[50],dark:dt[400]}:{main:dt[500],light:dt[300],dark:dt[700]}}function al(e="light"){return e==="dark"?{main:pt[500],light:pt[300],dark:pt[700]}:{main:pt[700],light:pt[400],dark:pt[800]}}function sl(e="light"){return e==="dark"?{main:ht[400],light:ht[300],dark:ht[700]}:{main:ht[700],light:ht[500],dark:ht[900]}}function cl(e="light"){return e==="dark"?{main:gt[400],light:gt[300],dark:gt[700]}:{main:gt[800],light:gt[500],dark:gt[900]}}function ll(e="light"){return e==="dark"?{main:It[400],light:It[300],dark:It[700]}:{main:"#ed6c02",light:It[500],dark:It[900]}}function ul(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Yn(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,colorSpace:o,...i}=e,a=e.primary||ol(t),s=e.secondary||il(t),u=e.error||al(t),d=e.info||sl(t),m=e.success||cl(t),p=e.warning||ll(t);function g(v){if(o)return ul(v);const w=Io(v,$n.text.primary)>=r?$n.text.primary:Wi.text.primary;if(process.env.NODE_ENV!=="production"){const P=Io(v,w);P<3&&console.error([`MUI: The contrast ratio of ${P}:1 for ${w} on ${v}`,"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(`
71
71
  `))}return w}const h=({color:v,name:w,mainShade:P=500,lightShade:A=300,darkShade:$=700})=>{if(v={...v},!v.main&&v[P]&&(v.main=v[P]),!v.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${w?` (${w})`:""} provided to augmentColor(color) is invalid.
72
- The color object needs to have a \`main\` property or a \`${P}\` property.`:lt(11,w?` (${w})`:"",P));if(typeof v.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${w?` (${w})`:""} provided to augmentColor(color) is invalid.
72
+ The color object needs to have a \`main\` property or a \`${P}\` property.`:ut(11,w?` (${w})`:"",P));if(typeof v.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${w?` (${w})`:""} provided to augmentColor(color) is invalid.
73
73
  \`color.main\` should be a string, but \`${JSON.stringify(v.main)}\` was provided instead.
74
74
 
75
75
  Did you intend to use one of the following approaches?
@@ -82,7 +82,7 @@ const theme1 = createTheme({ palette: {
82
82
 
83
83
  const theme2 = createTheme({ palette: {
84
84
  primary: { main: green[500] },
85
- } });`:lt(12,w?` (${w})`:"",JSON.stringify(v.main)));return o?(jo(o,v,"light",A,n),jo(o,v,"dark",$,n)):(Bo(v,"light",A,n),Bo(v,"dark",$,n)),v.contrastText||(v.contrastText=g(v.main)),v};let y;return t==="light"?y=Ui():t==="dark"&&(y=Yi()),process.env.NODE_ENV!=="production"&&(y||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),_e({common:{...Yt},mode:t,primary:h({color:a,name:"primary"}),secondary:h({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:u,name:"error"}),warning:h({color:p,name:"warning"}),info:h({color:d,name:"info"}),success:h({color:m,name:"success"}),grey:nl,contrastThreshold:r,getContrastText:g,augmentColor:h,tonalOffset:n,...y},i)}function fl(e){const t={};return Object.entries(e).forEach(n=>{const[o,i]=n;typeof i=="object"&&(t[o]=`${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 dl(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function pl(e){return Math.round(e*1e5)/1e5}const Fo={textTransform:"uppercase"},Vo='"Roboto", "Helvetica", "Arial", sans-serif';function ml(e,t){const{fontFamily:r=Vo,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:d,pxToRem:m,...p}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof u!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const g=n/14,h=m||(v=>`${v/u*g}rem`),y=(v,w,P,A,$)=>({fontFamily:r,fontWeight:v,fontSize:h(w),lineHeight:P,...r===Vo?{letterSpacing:`${pl(A/w)}em`}:{},...$,...d}),c={h1:y(o,96,1.167,-1.5),h2:y(o,60,1.2,-.5),h3:y(i,48,1.167,0),h4:y(i,34,1.235,.25),h5:y(i,24,1.334,0),h6:y(a,20,1.6,.15),subtitle1:y(i,16,1.75,.15),subtitle2:y(a,14,1.57,.1),body1:y(i,16,1.5,.15),body2:y(i,14,1.43,.15),button:y(a,14,1.75,.4,Fo),caption:y(i,12,1.66,.4),overline:y(i,12,2.66,1,Fo),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return _e({htmlFontSize:u,pxToRem:h,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...c},p,{clone:!1})}const hl=.2,gl=.14,yl=.12;function pe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${hl})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${gl})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${yl})`].join(",")}const bl=["none",pe(0,2,1,-1,0,1,1,0,0,1,3,0),pe(0,3,1,-2,0,2,2,0,0,1,5,0),pe(0,3,3,-2,0,3,4,0,0,1,8,0),pe(0,2,4,-1,0,4,5,0,0,1,10,0),pe(0,3,5,-1,0,5,8,0,0,1,14,0),pe(0,3,5,-1,0,6,10,0,0,1,18,0),pe(0,4,5,-2,0,7,10,1,0,2,16,1),pe(0,5,5,-3,0,8,10,1,0,3,14,2),pe(0,5,6,-3,0,9,12,1,0,3,16,2),pe(0,6,6,-3,0,10,14,1,0,4,18,3),pe(0,6,7,-4,0,11,15,1,0,4,20,3),pe(0,7,8,-4,0,12,17,2,0,5,22,4),pe(0,7,8,-4,0,13,19,2,0,5,24,4),pe(0,7,9,-4,0,14,21,2,0,5,26,4),pe(0,8,9,-5,0,15,22,2,0,6,28,5),pe(0,8,10,-5,0,16,24,2,0,6,30,5),pe(0,8,11,-5,0,17,26,2,0,6,32,5),pe(0,9,11,-5,0,18,28,2,0,7,34,6),pe(0,9,12,-6,0,19,29,2,0,7,36,6),pe(0,10,13,-6,0,20,31,3,0,8,38,7),pe(0,10,13,-6,0,21,33,3,0,8,40,7),pe(0,10,14,-6,0,22,35,3,0,8,42,7),pe(0,11,14,-7,0,23,36,3,0,9,44,8),pe(0,11,15,-7,0,24,38,3,0,9,46,8)],vl={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Sl={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Lo(e){return`${Math.round(e)}ms`}function $l(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Cl(e){const t={...vl,...e.easing},r={...Sl,...e.duration};return{getAutoHeightDuration:$l,create:(o=["all"],i={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:u=0,...d}=i;if(process.env.NODE_ENV!=="production"){const m=g=>typeof g=="string",p=g=>!Number.isNaN(parseFloat(g));!m(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(a)&&!m(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),m(s)||console.error('MUI: Argument "easing" must be a string.'),!p(u)&&!m(u)&&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(`
85
+ } });`:ut(12,w?` (${w})`:"",JSON.stringify(v.main)));return o?(jo(o,v,"light",A,n),jo(o,v,"dark",$,n)):(Bo(v,"light",A,n),Bo(v,"dark",$,n)),v.contrastText||(v.contrastText=g(v.main)),v};let y;return t==="light"?y=Ui():t==="dark"&&(y=Yi()),process.env.NODE_ENV!=="production"&&(y||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),_e({common:{...Yt},mode:t,primary:h({color:a,name:"primary"}),secondary:h({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:u,name:"error"}),warning:h({color:p,name:"warning"}),info:h({color:d,name:"info"}),success:h({color:m,name:"success"}),grey:nl,contrastThreshold:r,getContrastText:g,augmentColor:h,tonalOffset:n,...y},i)}function fl(e){const t={};return Object.entries(e).forEach(n=>{const[o,i]=n;typeof i=="object"&&(t[o]=`${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 dl(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function pl(e){return Math.round(e*1e5)/1e5}const Fo={textTransform:"uppercase"},Vo='"Roboto", "Helvetica", "Arial", sans-serif';function ml(e,t){const{fontFamily:r=Vo,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:d,pxToRem:m,...p}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof u!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const g=n/14,h=m||(v=>`${v/u*g}rem`),y=(v,w,P,A,$)=>({fontFamily:r,fontWeight:v,fontSize:h(w),lineHeight:P,...r===Vo?{letterSpacing:`${pl(A/w)}em`}:{},...$,...d}),c={h1:y(o,96,1.167,-1.5),h2:y(o,60,1.2,-.5),h3:y(i,48,1.167,0),h4:y(i,34,1.235,.25),h5:y(i,24,1.334,0),h6:y(a,20,1.6,.15),subtitle1:y(i,16,1.75,.15),subtitle2:y(a,14,1.57,.1),body1:y(i,16,1.5,.15),body2:y(i,14,1.43,.15),button:y(a,14,1.75,.4,Fo),caption:y(i,12,1.66,.4),overline:y(i,12,2.66,1,Fo),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return _e({htmlFontSize:u,pxToRem:h,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...c},p,{clone:!1})}const hl=.2,gl=.14,yl=.12;function pe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${hl})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${gl})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${yl})`].join(",")}const bl=["none",pe(0,2,1,-1,0,1,1,0,0,1,3,0),pe(0,3,1,-2,0,2,2,0,0,1,5,0),pe(0,3,3,-2,0,3,4,0,0,1,8,0),pe(0,2,4,-1,0,4,5,0,0,1,10,0),pe(0,3,5,-1,0,5,8,0,0,1,14,0),pe(0,3,5,-1,0,6,10,0,0,1,18,0),pe(0,4,5,-2,0,7,10,1,0,2,16,1),pe(0,5,5,-3,0,8,10,1,0,3,14,2),pe(0,5,6,-3,0,9,12,1,0,3,16,2),pe(0,6,6,-3,0,10,14,1,0,4,18,3),pe(0,6,7,-4,0,11,15,1,0,4,20,3),pe(0,7,8,-4,0,12,17,2,0,5,22,4),pe(0,7,8,-4,0,13,19,2,0,5,24,4),pe(0,7,9,-4,0,14,21,2,0,5,26,4),pe(0,8,9,-5,0,15,22,2,0,6,28,5),pe(0,8,10,-5,0,16,24,2,0,6,30,5),pe(0,8,11,-5,0,17,26,2,0,6,32,5),pe(0,9,11,-5,0,18,28,2,0,7,34,6),pe(0,9,12,-6,0,19,29,2,0,7,36,6),pe(0,10,13,-6,0,20,31,3,0,8,38,7),pe(0,10,13,-6,0,21,33,3,0,8,40,7),pe(0,10,14,-6,0,22,35,3,0,8,42,7),pe(0,11,14,-7,0,23,36,3,0,9,44,8),pe(0,11,15,-7,0,24,38,3,0,9,46,8)],vl={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Sl={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Lo(e){return`${Math.round(e)}ms`}function $l(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Cl(e){const t={...vl,...e.easing},r={...Sl,...e.duration};return{getAutoHeightDuration:$l,create:(o=["all"],i={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:u=0,...d}=i;if(process.env.NODE_ENV!=="production"){const m=g=>typeof g=="string",p=g=>!Number.isNaN(parseFloat(g));!m(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(a)&&!m(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),m(s)||console.error('MUI: Argument "easing" must be a string.'),!p(u)&&!m(u)&&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(`
86
86
  `)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(m=>`${m} ${typeof a=="string"?a:Lo(a)} ${s} ${typeof u=="string"?u:Lo(u)}`).join(",")},...e,easing:t,duration:r}}const El={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Tl(e){return Ke(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Gi(e={}){const t={...e};function r(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[a,s]=o[i];!Tl(s)||a.startsWith("unstable_")?delete n[a]:Ke(s)&&(n[a]={...s},r(n[a]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
87
87
 
88
88
  const theme = ${JSON.stringify(t,null,2)};
@@ -90,9 +90,9 @@ const theme = ${JSON.stringify(t,null,2)};
90
90
  theme.breakpoints = createBreakpoints(theme.breakpoints || {});
91
91
  theme.transitions = createTransitions(theme.transitions || {});
92
92
 
93
- export default theme;`}function zo(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const wl=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let r=0;for(let n=0;n<t.length;n+=1)r+=+t[n];return r};function xl(e){Object.assign(e,{alpha(t,r){const n=this||e;return n.colorSpace?`oklch(from ${t} l c h / ${typeof r=="string"?`calc(${r})`:r})`:n.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof r=="string"?`calc(${r})`:r})`:zi(t,wl(r))},lighten(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #fff ${zo(r)})`:Fr(t,r)},darken(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #000 ${zo(r)})`:jr(t,r)}})}function Cn(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:a={},typography:s={},shape:u,colorSpace:d,...m}=e;if(e.vars&&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.":lt(20));const p=Yn({...i,colorSpace:d}),g=Di(e);let h=_e(g,{mixins:dl(g.breakpoints,n),palette:p,shadows:bl.slice(),typography:ml(p,s),transitions:Cl(a),zIndex:{...El}});if(h=_e(h,m),h=t.reduce((y,c)=>_e(y,c),h),process.env.NODE_ENV!=="production"){const y=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],c=(v,w)=>{let P;for(P in v){const A=v[P];if(y.includes(P)&&Object.keys(A).length>0){if(process.env.NODE_ENV!=="production"){const $=Un("",P);console.error([`MUI: The \`${w}\` component increases the CSS specificity of the \`${P}\` internal state.`,"You can not override it like this: ",JSON.stringify(v,null,2),"",`Instead, you need to use the '&.${$}' syntax:`,JSON.stringify({root:{[`&.${$}`]:A}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
93
+ export default theme;`}function zo(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const wl=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let r=0;for(let n=0;n<t.length;n+=1)r+=+t[n];return r};function xl(e){Object.assign(e,{alpha(t,r){const n=this||e;return n.colorSpace?`oklch(from ${t} l c h / ${typeof r=="string"?`calc(${r})`:r})`:n.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof r=="string"?`calc(${r})`:r})`:zi(t,wl(r))},lighten(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #fff ${zo(r)})`:Fr(t,r)},darken(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #000 ${zo(r)})`:jr(t,r)}})}function Cn(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:a={},typography:s={},shape:u,colorSpace:d,...m}=e;if(e.vars&&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.":ut(20));const p=Yn({...i,colorSpace:d}),g=Di(e);let h=_e(g,{mixins:dl(g.breakpoints,n),palette:p,shadows:bl.slice(),typography:ml(p,s),transitions:Cl(a),zIndex:{...El}});if(h=_e(h,m),h=t.reduce((y,c)=>_e(y,c),h),process.env.NODE_ENV!=="production"){const y=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],c=(v,w)=>{let P;for(P in v){const A=v[P];if(y.includes(P)&&Object.keys(A).length>0){if(process.env.NODE_ENV!=="production"){const $=Un("",P);console.error([`MUI: The \`${w}\` component increases the CSS specificity of the \`${P}\` internal state.`,"You can not override it like this: ",JSON.stringify(v,null,2),"",`Instead, you need to use the '&.${$}' syntax:`,JSON.stringify({root:{[`&.${$}`]:A}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
94
94
  `))}v[P]={}}}};Object.keys(h.components).forEach(v=>{const w=h.components[v].styleOverrides;w&&v.startsWith("Mui")&&c(w,v)})}return h.unstable_sxConfig={...Nr,...m==null?void 0:m.unstable_sxConfig},h.unstable_sx=function(c){return wt({sx:c,theme:this})},h.toRuntimeSource=Gi,xl(h),h}function Ol(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 kl=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=Ol(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Ki(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function qi(e){return e==="dark"?kl:[]}function _l(e){const{palette:t={mode:"light"},opacity:r,overlays:n,colorSpace:o,...i}=e,a=Yn({...t,colorSpace:o});return{palette:a,opacity:{...Ki(a.mode),...r},overlays:n||qi(a.mode),...i}}function Rl(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const Al=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Pl=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const a={};return Al(e.cssVarPrefix).forEach(s=>{a[s]=r[s],delete r[s]}),i==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:a}}:i?{[i.replace("%s",t)]:a,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:{...r,...a}}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}return n};function Nl(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function E(e,t,r){!e[t]&&r&&(e[t]=r)}function Bt(e){return typeof e!="string"||!e.startsWith("hsl")?e:Li(e)}function We(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Dt(Bt(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().
95
- 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 Il(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Fe=e=>{try{return e()}catch{}},Ml=(e="mui")=>Qc(e);function ln(e,t,r,n,o){if(!r)return;r=r===!0?{}:r;const i=o==="dark"?"dark":"light";if(!n){t[o]=_l({...r,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return}const{palette:a,...s}=Cn({...n,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return t[o]={...r,palette:a,opacity:{...Ki(i),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||qi(i)},s}function Dl(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:s=Rl,colorSchemeSelector:u=r.light&&r.dark?"media":void 0,rootSelector:d=":root",...m}=e,p=Object.keys(r)[0],g=n||(r.light&&p!=="light"?"light":p),h=Ml(i),{[g]:y,light:c,dark:v,...w}=r,P={...w};let A=y;if((g==="dark"&&!("dark"in r)||g==="light"&&!("light"in r))&&(A=!0),!A)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${g}\` option is either missing or invalid.`:lt(21,g));let $;a&&($="oklch");const C=ln($,P,A,m,g);c&&!P.light&&ln($,P,c,void 0,"light"),v&&!P.dark&&ln($,P,v,void 0,"dark");let O={defaultColorScheme:g,...C,cssVarPrefix:i,colorSchemeSelector:u,rootSelector:d,getCssVar:h,colorSchemes:P,font:{...fl(C.typography),...C.font},spacing:Il(m.spacing)};Object.keys(O.colorSchemes).forEach(x=>{const l=O.colorSchemes[x].palette,R=D=>{const j=D.split("-"),Q=j[1],de=j[2];return h(D,l[Q][de])};l.mode==="light"&&(E(l.common,"background","#fff"),E(l.common,"onBackground","#000")),l.mode==="dark"&&(E(l.common,"background","#000"),E(l.common,"onBackground","#fff"));function _(D,j,Q){if($){let de;return D===it&&(de=`transparent ${((1-Q)*100).toFixed(0)}%`),D===ne&&(de=`#000 ${(Q*100).toFixed(0)}%`),D===oe&&(de=`#fff ${(Q*100).toFixed(0)}%`),`color-mix(in ${$}, ${j}, ${de})`}return D(j,Q)}if(Nl(l,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),l.mode==="light"){E(l.Alert,"errorColor",_(ne,a?h("palette-error-light"):l.error.light,.6)),E(l.Alert,"infoColor",_(ne,a?h("palette-info-light"):l.info.light,.6)),E(l.Alert,"successColor",_(ne,a?h("palette-success-light"):l.success.light,.6)),E(l.Alert,"warningColor",_(ne,a?h("palette-warning-light"):l.warning.light,.6)),E(l.Alert,"errorFilledBg",R("palette-error-main")),E(l.Alert,"infoFilledBg",R("palette-info-main")),E(l.Alert,"successFilledBg",R("palette-success-main")),E(l.Alert,"warningFilledBg",R("palette-warning-main")),E(l.Alert,"errorFilledColor",Fe(()=>l.getContrastText(l.error.main))),E(l.Alert,"infoFilledColor",Fe(()=>l.getContrastText(l.info.main))),E(l.Alert,"successFilledColor",Fe(()=>l.getContrastText(l.success.main))),E(l.Alert,"warningFilledColor",Fe(()=>l.getContrastText(l.warning.main))),E(l.Alert,"errorStandardBg",_(oe,a?h("palette-error-light"):l.error.light,.9)),E(l.Alert,"infoStandardBg",_(oe,a?h("palette-info-light"):l.info.light,.9)),E(l.Alert,"successStandardBg",_(oe,a?h("palette-success-light"):l.success.light,.9)),E(l.Alert,"warningStandardBg",_(oe,a?h("palette-warning-light"):l.warning.light,.9)),E(l.Alert,"errorIconColor",R("palette-error-main")),E(l.Alert,"infoIconColor",R("palette-info-main")),E(l.Alert,"successIconColor",R("palette-success-main")),E(l.Alert,"warningIconColor",R("palette-warning-main")),E(l.AppBar,"defaultBg",R("palette-grey-100")),E(l.Avatar,"defaultBg",R("palette-grey-400")),E(l.Button,"inheritContainedBg",R("palette-grey-300")),E(l.Button,"inheritContainedHoverBg",R("palette-grey-A100")),E(l.Chip,"defaultBorder",R("palette-grey-400")),E(l.Chip,"defaultAvatarColor",R("palette-grey-700")),E(l.Chip,"defaultIconColor",R("palette-grey-700")),E(l.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),E(l.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),E(l.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),E(l.LinearProgress,"primaryBg",_(oe,a?h("palette-primary-main"):l.primary.main,.62)),E(l.LinearProgress,"secondaryBg",_(oe,a?h("palette-secondary-main"):l.secondary.main,.62)),E(l.LinearProgress,"errorBg",_(oe,a?h("palette-error-main"):l.error.main,.62)),E(l.LinearProgress,"infoBg",_(oe,a?h("palette-info-main"):l.info.main,.62)),E(l.LinearProgress,"successBg",_(oe,a?h("palette-success-main"):l.success.main,.62)),E(l.LinearProgress,"warningBg",_(oe,a?h("palette-warning-light"):l.warning.main,.62)),E(l.Skeleton,"bg",$?_(it,a?h("palette-text-primary"):l.text.primary,.11):`rgba(${R("palette-text-primaryChannel")} / 0.11)`),E(l.Slider,"primaryTrack",_(oe,a?h("palette-primary-main"):l.primary.main,.62)),E(l.Slider,"secondaryTrack",_(oe,a?h("palette-secondary-main"):l.secondary.main,.62)),E(l.Slider,"errorTrack",_(oe,a?h("palette-error-main"):l.error.main,.62)),E(l.Slider,"infoTrack",_(oe,a?h("palette-info-main"):l.info.main,.62)),E(l.Slider,"successTrack",_(oe,a?h("palette-success-main"):l.success.main,.62)),E(l.Slider,"warningTrack",_(oe,a?h("palette-warning-main"):l.warning.main,.62));const D=$?_(ne,a?h("palette-background-default"):l.background.default,.6825):ir(l.background.default,.8);E(l.SnackbarContent,"bg",D),E(l.SnackbarContent,"color",Fe(()=>$?$n.text.primary:l.getContrastText(D))),E(l.SpeedDialAction,"fabHoverBg",ir(l.background.paper,.15)),E(l.StepConnector,"border",R("palette-grey-400")),E(l.StepContent,"border",R("palette-grey-400")),E(l.Switch,"defaultColor",R("palette-common-white")),E(l.Switch,"defaultDisabledColor",R("palette-grey-100")),E(l.Switch,"primaryDisabledColor",_(oe,a?h("palette-primary-main"):l.primary.main,.62)),E(l.Switch,"secondaryDisabledColor",_(oe,a?h("palette-secondary-main"):l.secondary.main,.62)),E(l.Switch,"errorDisabledColor",_(oe,a?h("palette-error-main"):l.error.main,.62)),E(l.Switch,"infoDisabledColor",_(oe,a?h("palette-info-main"):l.info.main,.62)),E(l.Switch,"successDisabledColor",_(oe,a?h("palette-success-main"):l.success.main,.62)),E(l.Switch,"warningDisabledColor",_(oe,a?h("palette-warning-main"):l.warning.main,.62)),E(l.TableCell,"border",_(oe,it(a?h("palette-divider"):l.divider,1),.88)),E(l.Tooltip,"bg",_(it,a?h("palette-grey-700"):l.grey[700],.92))}if(l.mode==="dark"){E(l.Alert,"errorColor",_(oe,a?h("palette-error-light"):l.error.light,.6)),E(l.Alert,"infoColor",_(oe,a?h("palette-info-light"):l.info.light,.6)),E(l.Alert,"successColor",_(oe,a?h("palette-success-light"):l.success.light,.6)),E(l.Alert,"warningColor",_(oe,a?h("palette-warning-light"):l.warning.light,.6)),E(l.Alert,"errorFilledBg",R("palette-error-dark")),E(l.Alert,"infoFilledBg",R("palette-info-dark")),E(l.Alert,"successFilledBg",R("palette-success-dark")),E(l.Alert,"warningFilledBg",R("palette-warning-dark")),E(l.Alert,"errorFilledColor",Fe(()=>l.getContrastText(l.error.dark))),E(l.Alert,"infoFilledColor",Fe(()=>l.getContrastText(l.info.dark))),E(l.Alert,"successFilledColor",Fe(()=>l.getContrastText(l.success.dark))),E(l.Alert,"warningFilledColor",Fe(()=>l.getContrastText(l.warning.dark))),E(l.Alert,"errorStandardBg",_(ne,a?h("palette-error-light"):l.error.light,.9)),E(l.Alert,"infoStandardBg",_(ne,a?h("palette-info-light"):l.info.light,.9)),E(l.Alert,"successStandardBg",_(ne,a?h("palette-success-light"):l.success.light,.9)),E(l.Alert,"warningStandardBg",_(ne,a?h("palette-warning-light"):l.warning.light,.9)),E(l.Alert,"errorIconColor",R("palette-error-main")),E(l.Alert,"infoIconColor",R("palette-info-main")),E(l.Alert,"successIconColor",R("palette-success-main")),E(l.Alert,"warningIconColor",R("palette-warning-main")),E(l.AppBar,"defaultBg",R("palette-grey-900")),E(l.AppBar,"darkBg",R("palette-background-paper")),E(l.AppBar,"darkColor",R("palette-text-primary")),E(l.Avatar,"defaultBg",R("palette-grey-600")),E(l.Button,"inheritContainedBg",R("palette-grey-800")),E(l.Button,"inheritContainedHoverBg",R("palette-grey-700")),E(l.Chip,"defaultBorder",R("palette-grey-700")),E(l.Chip,"defaultAvatarColor",R("palette-grey-300")),E(l.Chip,"defaultIconColor",R("palette-grey-300")),E(l.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),E(l.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),E(l.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),E(l.LinearProgress,"primaryBg",_(ne,a?h("palette-primary-main"):l.primary.main,.5)),E(l.LinearProgress,"secondaryBg",_(ne,a?h("palette-secondary-main"):l.secondary.main,.5)),E(l.LinearProgress,"errorBg",_(ne,a?h("palette-error-main"):l.error.main,.5)),E(l.LinearProgress,"infoBg",_(ne,a?h("palette-info-main"):l.info.main,.5)),E(l.LinearProgress,"successBg",_(ne,a?h("palette-success-main"):l.success.main,.5)),E(l.LinearProgress,"warningBg",_(ne,a?h("palette-warning-main"):l.warning.main,.5)),E(l.Skeleton,"bg",$?_(it,a?h("palette-text-primary"):l.text.primary,.13):`rgba(${R("palette-text-primaryChannel")} / 0.13)`),E(l.Slider,"primaryTrack",_(ne,a?h("palette-primary-main"):l.primary.main,.5)),E(l.Slider,"secondaryTrack",_(ne,a?h("palette-secondary-main"):l.secondary.main,.5)),E(l.Slider,"errorTrack",_(ne,a?h("palette-error-main"):l.error.main,.5)),E(l.Slider,"infoTrack",_(ne,a?h("palette-info-main"):l.info.main,.5)),E(l.Slider,"successTrack",_(ne,a?h("palette-success-main"):l.success.main,.5)),E(l.Slider,"warningTrack",_(ne,a?h("palette-warning-light"):l.warning.main,.5));const D=$?_(oe,a?h("palette-background-default"):l.background.default,.985):ir(l.background.default,.98);E(l.SnackbarContent,"bg",D),E(l.SnackbarContent,"color",Fe(()=>$?Wi.text.primary:l.getContrastText(D))),E(l.SpeedDialAction,"fabHoverBg",ir(l.background.paper,.15)),E(l.StepConnector,"border",R("palette-grey-600")),E(l.StepContent,"border",R("palette-grey-600")),E(l.Switch,"defaultColor",R("palette-grey-300")),E(l.Switch,"defaultDisabledColor",R("palette-grey-600")),E(l.Switch,"primaryDisabledColor",_(ne,a?h("palette-primary-main"):l.primary.main,.55)),E(l.Switch,"secondaryDisabledColor",_(ne,a?h("palette-secondary-main"):l.secondary.main,.55)),E(l.Switch,"errorDisabledColor",_(ne,a?h("palette-error-main"):l.error.main,.55)),E(l.Switch,"infoDisabledColor",_(ne,a?h("palette-info-main"):l.info.main,.55)),E(l.Switch,"successDisabledColor",_(ne,a?h("palette-success-main"):l.success.main,.55)),E(l.Switch,"warningDisabledColor",_(ne,a?h("palette-warning-light"):l.warning.main,.55)),E(l.TableCell,"border",_(ne,it(a?h("palette-divider"):l.divider,1),.68)),E(l.Tooltip,"bg",_(it,a?h("palette-grey-700"):l.grey[700],.92))}a||(We(l.background,"default"),We(l.background,"paper"),We(l.common,"background"),We(l.common,"onBackground"),We(l,"divider")),Object.keys(l).forEach(D=>{const j=l[D];D!=="tonalOffset"&&!a&&j&&typeof j=="object"&&(j.main&&E(l[D],"mainChannel",Dt(Bt(j.main))),j.light&&E(l[D],"lightChannel",Dt(Bt(j.light))),j.dark&&E(l[D],"darkChannel",Dt(Bt(j.dark))),j.contrastText&&E(l[D],"contrastTextChannel",Dt(Bt(j.contrastText))),D==="text"&&(We(l[D],"primary"),We(l[D],"secondary")),D==="action"&&(j.active&&We(l[D],"active"),j.selected&&We(l[D],"selected")))})}),O=t.reduce((x,l)=>_e(x,l),O);const N={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:Pl(O),enableContrastVars:a},{vars:z,generateThemeVars:W,generateStyleSheets:f}=tl(O,N);return O.vars=z,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([x,l])=>{O[x]=l}),O.generateThemeVars=W,O.generateStyleSheets=f,O.generateSpacing=function(){return Mi(m.spacing,Mn(this))},O.getColorSchemeSelector=rl(u),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=s,O.unstable_sxConfig={...Nr,...m==null?void 0:m.unstable_sxConfig},O.unstable_sx=function(l){return wt({sx:l,theme:this})},O.toRuntimeSource=Gi,O}function Uo(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Yn({...r===!0?{}:r.palette,mode:t})})}function Bl(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode,...a}=e,s=i||"light",u=o==null?void 0:o[s],d={...o,...r?{[s]:{...typeof u!="boolean"&&u,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Cn(e,...t);let m=r;"palette"in e||d[s]&&(d[s]!==!0?m=d[s].palette:s==="dark"&&(m={mode:"dark"}));const p=Cn({...e,palette:m},...t);return p.defaultColorScheme=s,p.colorSchemes=d,p.palette.mode==="light"&&(p.colorSchemes.light={...d.light!==!0&&d.light,palette:p.palette},Uo(p,"dark",d.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:p.palette},Uo(p,"light",d.light)),p}return!r&&!("light"in d)&&s==="light"&&(d.light=!0),Dl({...a,colorSchemes:d,defaultColorScheme:s,...typeof n!="boolean"&&n},...t)}const jl=Bl(),Fl="$$material";function Vl(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Ll=e=>Vl(e)&&e!=="classes",zl=Fc({themeId:Fl,defaultTheme:jl,rootShouldForwardProp:Ll}),Ul=Jc;process.env.NODE_ENV!=="production"&&(S.node,S.object.isRequired);function Wl(e){return Xc(e)}function Yl(e){return Un("MuiSvgIcon",e)}Ic("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Gl=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${ut(t)}`,`fontSize${ut(r)}`]};return Ba(o,Yl,n)},Kl=zl("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${ut(r.color)}`],t[`fontSize${ut(r.fontSize)}`]]}})(Ul(({theme:e})=>{var t,r,n,o,i,a,s,u,d,m,p,g,h,y;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(t=e.transitions)==null?void 0:t.create)==null?void 0:o.call(t,"fill",{duration:(n=(r=(e.vars??e).transitions)==null?void 0:r.duration)==null?void 0:n.shorter}),variants:[{props:c=>!c.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((u=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:u.call(s,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((m=(d=e.typography)==null?void 0:d.pxToRem)==null?void 0:m.call(d,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,c])=>c&&c.main).map(([c])=>{var v,w;return{props:{color:c},style:{color:(w=(v=(e.vars??e).palette)==null?void 0:v[c])==null?void 0:w.main}}}),{props:{color:"action"},style:{color:(g=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:g.active}},{props:{color:"disabled"},style:{color:(y=(h=(e.vars??e).palette)==null?void 0:h.action)==null?void 0:y.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),vr=M.forwardRef(function(t,r){const n=Wl({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:u="medium",htmlColor:d,inheritViewBox:m=!1,titleAccess:p,viewBox:g="0 0 24 24",...h}=n,y=M.isValidElement(o)&&o.type==="svg",c={...n,color:a,component:s,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:m,viewBox:g,hasSvgAsChild:y},v={};m||(v.viewBox=g);const w=Gl(c);return J.jsxs(Kl,{as:s,className:we(w.root,i),focusable:"false",color:d,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:r,...v,...h,...y&&o.props,ownerState:c,children:[y?o.props.children:o,p?J.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(vr.propTypes={children:S.node,classes:S.object,className:S.string,color:S.oneOfType([S.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),S.string]),component:S.elementType,fontSize:S.oneOfType([S.oneOf(["inherit","large","medium","small"]),S.string]),htmlColor:S.string,inheritViewBox:S.bool,shapeRendering:S.string,sx:S.oneOfType([S.arrayOf(S.oneOfType([S.func,S.object,S.bool])),S.func,S.object]),titleAccess:S.string,viewBox:S.string});vr.muiName="SvgIcon";function ql(e,t){function r(n,o){return J.jsx(vr,{"data-testid":process.env.NODE_ENV!=="production"?`${t}Icon`:void 0,ref:o,...n,children:e})}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=vr.muiName,M.memo(M.forwardRef(r))}const Hl=ql(J.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function Gn(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...n){return e(...n)||t(...n)}}function Kn(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let a="",s=!0;for(let u=0;u<i.length;u+=1){const d=i[u];d&&(a+=(s===!0?"":" ")+t(d),s=!1,r&&r[d]&&(a+=" "+r[d]))}n[o]=a}return n}function et(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function Xl(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function qn(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),Xl(e,t,r)}function Jl(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),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.`),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function tt(e){if(e.type)return e;if(e.charAt(0)==="#")return tt(Jl(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
95
+ 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 Il(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Fe=e=>{try{return e()}catch{}},Ml=(e="mui")=>Qc(e);function ln(e,t,r,n,o){if(!r)return;r=r===!0?{}:r;const i=o==="dark"?"dark":"light";if(!n){t[o]=_l({...r,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return}const{palette:a,...s}=Cn({...n,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return t[o]={...r,palette:a,opacity:{...Ki(i),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||qi(i)},s}function Dl(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:s=Rl,colorSchemeSelector:u=r.light&&r.dark?"media":void 0,rootSelector:d=":root",...m}=e,p=Object.keys(r)[0],g=n||(r.light&&p!=="light"?"light":p),h=Ml(i),{[g]:y,light:c,dark:v,...w}=r,P={...w};let A=y;if((g==="dark"&&!("dark"in r)||g==="light"&&!("light"in r))&&(A=!0),!A)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${g}\` option is either missing or invalid.`:ut(21,g));let $;a&&($="oklch");const C=ln($,P,A,m,g);c&&!P.light&&ln($,P,c,void 0,"light"),v&&!P.dark&&ln($,P,v,void 0,"dark");let O={defaultColorScheme:g,...C,cssVarPrefix:i,colorSchemeSelector:u,rootSelector:d,getCssVar:h,colorSchemes:P,font:{...fl(C.typography),...C.font},spacing:Il(m.spacing)};Object.keys(O.colorSchemes).forEach(x=>{const l=O.colorSchemes[x].palette,R=D=>{const j=D.split("-"),Q=j[1],de=j[2];return h(D,l[Q][de])};l.mode==="light"&&(E(l.common,"background","#fff"),E(l.common,"onBackground","#000")),l.mode==="dark"&&(E(l.common,"background","#000"),E(l.common,"onBackground","#fff"));function _(D,j,Q){if($){let de;return D===it&&(de=`transparent ${((1-Q)*100).toFixed(0)}%`),D===ne&&(de=`#000 ${(Q*100).toFixed(0)}%`),D===oe&&(de=`#fff ${(Q*100).toFixed(0)}%`),`color-mix(in ${$}, ${j}, ${de})`}return D(j,Q)}if(Nl(l,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),l.mode==="light"){E(l.Alert,"errorColor",_(ne,a?h("palette-error-light"):l.error.light,.6)),E(l.Alert,"infoColor",_(ne,a?h("palette-info-light"):l.info.light,.6)),E(l.Alert,"successColor",_(ne,a?h("palette-success-light"):l.success.light,.6)),E(l.Alert,"warningColor",_(ne,a?h("palette-warning-light"):l.warning.light,.6)),E(l.Alert,"errorFilledBg",R("palette-error-main")),E(l.Alert,"infoFilledBg",R("palette-info-main")),E(l.Alert,"successFilledBg",R("palette-success-main")),E(l.Alert,"warningFilledBg",R("palette-warning-main")),E(l.Alert,"errorFilledColor",Fe(()=>l.getContrastText(l.error.main))),E(l.Alert,"infoFilledColor",Fe(()=>l.getContrastText(l.info.main))),E(l.Alert,"successFilledColor",Fe(()=>l.getContrastText(l.success.main))),E(l.Alert,"warningFilledColor",Fe(()=>l.getContrastText(l.warning.main))),E(l.Alert,"errorStandardBg",_(oe,a?h("palette-error-light"):l.error.light,.9)),E(l.Alert,"infoStandardBg",_(oe,a?h("palette-info-light"):l.info.light,.9)),E(l.Alert,"successStandardBg",_(oe,a?h("palette-success-light"):l.success.light,.9)),E(l.Alert,"warningStandardBg",_(oe,a?h("palette-warning-light"):l.warning.light,.9)),E(l.Alert,"errorIconColor",R("palette-error-main")),E(l.Alert,"infoIconColor",R("palette-info-main")),E(l.Alert,"successIconColor",R("palette-success-main")),E(l.Alert,"warningIconColor",R("palette-warning-main")),E(l.AppBar,"defaultBg",R("palette-grey-100")),E(l.Avatar,"defaultBg",R("palette-grey-400")),E(l.Button,"inheritContainedBg",R("palette-grey-300")),E(l.Button,"inheritContainedHoverBg",R("palette-grey-A100")),E(l.Chip,"defaultBorder",R("palette-grey-400")),E(l.Chip,"defaultAvatarColor",R("palette-grey-700")),E(l.Chip,"defaultIconColor",R("palette-grey-700")),E(l.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),E(l.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),E(l.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),E(l.LinearProgress,"primaryBg",_(oe,a?h("palette-primary-main"):l.primary.main,.62)),E(l.LinearProgress,"secondaryBg",_(oe,a?h("palette-secondary-main"):l.secondary.main,.62)),E(l.LinearProgress,"errorBg",_(oe,a?h("palette-error-main"):l.error.main,.62)),E(l.LinearProgress,"infoBg",_(oe,a?h("palette-info-main"):l.info.main,.62)),E(l.LinearProgress,"successBg",_(oe,a?h("palette-success-main"):l.success.main,.62)),E(l.LinearProgress,"warningBg",_(oe,a?h("palette-warning-light"):l.warning.main,.62)),E(l.Skeleton,"bg",$?_(it,a?h("palette-text-primary"):l.text.primary,.11):`rgba(${R("palette-text-primaryChannel")} / 0.11)`),E(l.Slider,"primaryTrack",_(oe,a?h("palette-primary-main"):l.primary.main,.62)),E(l.Slider,"secondaryTrack",_(oe,a?h("palette-secondary-main"):l.secondary.main,.62)),E(l.Slider,"errorTrack",_(oe,a?h("palette-error-main"):l.error.main,.62)),E(l.Slider,"infoTrack",_(oe,a?h("palette-info-main"):l.info.main,.62)),E(l.Slider,"successTrack",_(oe,a?h("palette-success-main"):l.success.main,.62)),E(l.Slider,"warningTrack",_(oe,a?h("palette-warning-main"):l.warning.main,.62));const D=$?_(ne,a?h("palette-background-default"):l.background.default,.6825):ir(l.background.default,.8);E(l.SnackbarContent,"bg",D),E(l.SnackbarContent,"color",Fe(()=>$?$n.text.primary:l.getContrastText(D))),E(l.SpeedDialAction,"fabHoverBg",ir(l.background.paper,.15)),E(l.StepConnector,"border",R("palette-grey-400")),E(l.StepContent,"border",R("palette-grey-400")),E(l.Switch,"defaultColor",R("palette-common-white")),E(l.Switch,"defaultDisabledColor",R("palette-grey-100")),E(l.Switch,"primaryDisabledColor",_(oe,a?h("palette-primary-main"):l.primary.main,.62)),E(l.Switch,"secondaryDisabledColor",_(oe,a?h("palette-secondary-main"):l.secondary.main,.62)),E(l.Switch,"errorDisabledColor",_(oe,a?h("palette-error-main"):l.error.main,.62)),E(l.Switch,"infoDisabledColor",_(oe,a?h("palette-info-main"):l.info.main,.62)),E(l.Switch,"successDisabledColor",_(oe,a?h("palette-success-main"):l.success.main,.62)),E(l.Switch,"warningDisabledColor",_(oe,a?h("palette-warning-main"):l.warning.main,.62)),E(l.TableCell,"border",_(oe,it(a?h("palette-divider"):l.divider,1),.88)),E(l.Tooltip,"bg",_(it,a?h("palette-grey-700"):l.grey[700],.92))}if(l.mode==="dark"){E(l.Alert,"errorColor",_(oe,a?h("palette-error-light"):l.error.light,.6)),E(l.Alert,"infoColor",_(oe,a?h("palette-info-light"):l.info.light,.6)),E(l.Alert,"successColor",_(oe,a?h("palette-success-light"):l.success.light,.6)),E(l.Alert,"warningColor",_(oe,a?h("palette-warning-light"):l.warning.light,.6)),E(l.Alert,"errorFilledBg",R("palette-error-dark")),E(l.Alert,"infoFilledBg",R("palette-info-dark")),E(l.Alert,"successFilledBg",R("palette-success-dark")),E(l.Alert,"warningFilledBg",R("palette-warning-dark")),E(l.Alert,"errorFilledColor",Fe(()=>l.getContrastText(l.error.dark))),E(l.Alert,"infoFilledColor",Fe(()=>l.getContrastText(l.info.dark))),E(l.Alert,"successFilledColor",Fe(()=>l.getContrastText(l.success.dark))),E(l.Alert,"warningFilledColor",Fe(()=>l.getContrastText(l.warning.dark))),E(l.Alert,"errorStandardBg",_(ne,a?h("palette-error-light"):l.error.light,.9)),E(l.Alert,"infoStandardBg",_(ne,a?h("palette-info-light"):l.info.light,.9)),E(l.Alert,"successStandardBg",_(ne,a?h("palette-success-light"):l.success.light,.9)),E(l.Alert,"warningStandardBg",_(ne,a?h("palette-warning-light"):l.warning.light,.9)),E(l.Alert,"errorIconColor",R("palette-error-main")),E(l.Alert,"infoIconColor",R("palette-info-main")),E(l.Alert,"successIconColor",R("palette-success-main")),E(l.Alert,"warningIconColor",R("palette-warning-main")),E(l.AppBar,"defaultBg",R("palette-grey-900")),E(l.AppBar,"darkBg",R("palette-background-paper")),E(l.AppBar,"darkColor",R("palette-text-primary")),E(l.Avatar,"defaultBg",R("palette-grey-600")),E(l.Button,"inheritContainedBg",R("palette-grey-800")),E(l.Button,"inheritContainedHoverBg",R("palette-grey-700")),E(l.Chip,"defaultBorder",R("palette-grey-700")),E(l.Chip,"defaultAvatarColor",R("palette-grey-300")),E(l.Chip,"defaultIconColor",R("palette-grey-300")),E(l.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),E(l.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),E(l.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),E(l.LinearProgress,"primaryBg",_(ne,a?h("palette-primary-main"):l.primary.main,.5)),E(l.LinearProgress,"secondaryBg",_(ne,a?h("palette-secondary-main"):l.secondary.main,.5)),E(l.LinearProgress,"errorBg",_(ne,a?h("palette-error-main"):l.error.main,.5)),E(l.LinearProgress,"infoBg",_(ne,a?h("palette-info-main"):l.info.main,.5)),E(l.LinearProgress,"successBg",_(ne,a?h("palette-success-main"):l.success.main,.5)),E(l.LinearProgress,"warningBg",_(ne,a?h("palette-warning-main"):l.warning.main,.5)),E(l.Skeleton,"bg",$?_(it,a?h("palette-text-primary"):l.text.primary,.13):`rgba(${R("palette-text-primaryChannel")} / 0.13)`),E(l.Slider,"primaryTrack",_(ne,a?h("palette-primary-main"):l.primary.main,.5)),E(l.Slider,"secondaryTrack",_(ne,a?h("palette-secondary-main"):l.secondary.main,.5)),E(l.Slider,"errorTrack",_(ne,a?h("palette-error-main"):l.error.main,.5)),E(l.Slider,"infoTrack",_(ne,a?h("palette-info-main"):l.info.main,.5)),E(l.Slider,"successTrack",_(ne,a?h("palette-success-main"):l.success.main,.5)),E(l.Slider,"warningTrack",_(ne,a?h("palette-warning-light"):l.warning.main,.5));const D=$?_(oe,a?h("palette-background-default"):l.background.default,.985):ir(l.background.default,.98);E(l.SnackbarContent,"bg",D),E(l.SnackbarContent,"color",Fe(()=>$?Wi.text.primary:l.getContrastText(D))),E(l.SpeedDialAction,"fabHoverBg",ir(l.background.paper,.15)),E(l.StepConnector,"border",R("palette-grey-600")),E(l.StepContent,"border",R("palette-grey-600")),E(l.Switch,"defaultColor",R("palette-grey-300")),E(l.Switch,"defaultDisabledColor",R("palette-grey-600")),E(l.Switch,"primaryDisabledColor",_(ne,a?h("palette-primary-main"):l.primary.main,.55)),E(l.Switch,"secondaryDisabledColor",_(ne,a?h("palette-secondary-main"):l.secondary.main,.55)),E(l.Switch,"errorDisabledColor",_(ne,a?h("palette-error-main"):l.error.main,.55)),E(l.Switch,"infoDisabledColor",_(ne,a?h("palette-info-main"):l.info.main,.55)),E(l.Switch,"successDisabledColor",_(ne,a?h("palette-success-main"):l.success.main,.55)),E(l.Switch,"warningDisabledColor",_(ne,a?h("palette-warning-light"):l.warning.main,.55)),E(l.TableCell,"border",_(ne,it(a?h("palette-divider"):l.divider,1),.68)),E(l.Tooltip,"bg",_(it,a?h("palette-grey-700"):l.grey[700],.92))}a||(We(l.background,"default"),We(l.background,"paper"),We(l.common,"background"),We(l.common,"onBackground"),We(l,"divider")),Object.keys(l).forEach(D=>{const j=l[D];D!=="tonalOffset"&&!a&&j&&typeof j=="object"&&(j.main&&E(l[D],"mainChannel",Dt(Bt(j.main))),j.light&&E(l[D],"lightChannel",Dt(Bt(j.light))),j.dark&&E(l[D],"darkChannel",Dt(Bt(j.dark))),j.contrastText&&E(l[D],"contrastTextChannel",Dt(Bt(j.contrastText))),D==="text"&&(We(l[D],"primary"),We(l[D],"secondary")),D==="action"&&(j.active&&We(l[D],"active"),j.selected&&We(l[D],"selected")))})}),O=t.reduce((x,l)=>_e(x,l),O);const N={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:Pl(O),enableContrastVars:a},{vars:z,generateThemeVars:W,generateStyleSheets:f}=tl(O,N);return O.vars=z,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([x,l])=>{O[x]=l}),O.generateThemeVars=W,O.generateStyleSheets=f,O.generateSpacing=function(){return Mi(m.spacing,Mn(this))},O.getColorSchemeSelector=rl(u),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=s,O.unstable_sxConfig={...Nr,...m==null?void 0:m.unstable_sxConfig},O.unstable_sx=function(l){return wt({sx:l,theme:this})},O.toRuntimeSource=Gi,O}function Uo(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Yn({...r===!0?{}:r.palette,mode:t})})}function Bl(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode,...a}=e,s=i||"light",u=o==null?void 0:o[s],d={...o,...r?{[s]:{...typeof u!="boolean"&&u,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Cn(e,...t);let m=r;"palette"in e||d[s]&&(d[s]!==!0?m=d[s].palette:s==="dark"&&(m={mode:"dark"}));const p=Cn({...e,palette:m},...t);return p.defaultColorScheme=s,p.colorSchemes=d,p.palette.mode==="light"&&(p.colorSchemes.light={...d.light!==!0&&d.light,palette:p.palette},Uo(p,"dark",d.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:p.palette},Uo(p,"light",d.light)),p}return!r&&!("light"in d)&&s==="light"&&(d.light=!0),Dl({...a,colorSchemes:d,defaultColorScheme:s,...typeof n!="boolean"&&n},...t)}const jl=Bl(),Fl="$$material";function Vl(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Ll=e=>Vl(e)&&e!=="classes",zl=Fc({themeId:Fl,defaultTheme:jl,rootShouldForwardProp:Ll}),Ul=Jc;process.env.NODE_ENV!=="production"&&(S.node,S.object.isRequired);function Wl(e){return Xc(e)}function Yl(e){return Un("MuiSvgIcon",e)}Ic("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Gl=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${ft(t)}`,`fontSize${ft(r)}`]};return Ba(o,Yl,n)},Kl=zl("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${ft(r.color)}`],t[`fontSize${ft(r.fontSize)}`]]}})(Ul(({theme:e})=>{var t,r,n,o,i,a,s,u,d,m,p,g,h,y;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(t=e.transitions)==null?void 0:t.create)==null?void 0:o.call(t,"fill",{duration:(n=(r=(e.vars??e).transitions)==null?void 0:r.duration)==null?void 0:n.shorter}),variants:[{props:c=>!c.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((u=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:u.call(s,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((m=(d=e.typography)==null?void 0:d.pxToRem)==null?void 0:m.call(d,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,c])=>c&&c.main).map(([c])=>{var v,w;return{props:{color:c},style:{color:(w=(v=(e.vars??e).palette)==null?void 0:v[c])==null?void 0:w.main}}}),{props:{color:"action"},style:{color:(g=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:g.active}},{props:{color:"disabled"},style:{color:(y=(h=(e.vars??e).palette)==null?void 0:h.action)==null?void 0:y.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),vr=M.forwardRef(function(t,r){const n=Wl({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:u="medium",htmlColor:d,inheritViewBox:m=!1,titleAccess:p,viewBox:g="0 0 24 24",...h}=n,y=M.isValidElement(o)&&o.type==="svg",c={...n,color:a,component:s,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:m,viewBox:g,hasSvgAsChild:y},v={};m||(v.viewBox=g);const w=Gl(c);return X.jsxs(Kl,{as:s,className:we(w.root,i),focusable:"false",color:d,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:r,...v,...h,...y&&o.props,ownerState:c,children:[y?o.props.children:o,p?X.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(vr.propTypes={children:S.node,classes:S.object,className:S.string,color:S.oneOfType([S.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),S.string]),component:S.elementType,fontSize:S.oneOfType([S.oneOf(["inherit","large","medium","small"]),S.string]),htmlColor:S.string,inheritViewBox:S.bool,shapeRendering:S.string,sx:S.oneOfType([S.arrayOf(S.oneOfType([S.func,S.object,S.bool])),S.func,S.object]),titleAccess:S.string,viewBox:S.string});vr.muiName="SvgIcon";function ql(e,t){function r(n,o){return X.jsx(vr,{"data-testid":process.env.NODE_ENV!=="production"?`${t}Icon`:void 0,ref:o,...n,children:e})}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=vr.muiName,M.memo(M.forwardRef(r))}const Hl=ql(X.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function Gn(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...n){return e(...n)||t(...n)}}function Kn(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let a="",s=!0;for(let u=0;u<i.length;u+=1){const d=i[u];d&&(a+=(s===!0?"":" ")+t(d),s=!1,r&&r[d]&&(a+=" "+r[d]))}n[o]=a}return n}function et(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function Xl(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function qn(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),Xl(e,t,r)}function Jl(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),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.`),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function tt(e){if(e.type)return e;if(e.charAt(0)==="#")return tt(Jl(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
96
96
  The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:et(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
97
97
  The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:et(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Ql=e=>{const t=tt(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},jt=(e,t)=>{try{return Ql(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Vr(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Hi(e){e=tt(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(d,m=(d+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let s="rgb";const u=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",u.push(t[3])),Vr({type:s,values:u})}function En(e){e=tt(e);let t=e.type==="hsl"||e.type==="hsla"?tt(Hi(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Wo(e,t){const r=En(e),n=En(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Tn(e,t){return e=tt(e),t=qn(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Vr(e)}function ar(e,t,r){try{return Tn(e,t)}catch{return e}}function Hn(e,t){if(e=tt(e),t=qn(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Vr(e)}function ue(e,t,r){try{return Hn(e,t)}catch{return e}}function Xn(e,t){if(e=tt(e),t=qn(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Vr(e)}function fe(e,t,r){try{return Xn(e,t)}catch{return e}}function Zl(e,t=.15){return En(e)>.5?Hn(e,t):Xn(e,t)}function sr(e,t,r){try{return Zl(e,t)}catch{return e}}const Yo=e=>e,eu=()=>{let e=Yo;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Yo}}},tu=eu();function Ae(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":et(7));return e.charAt(0).toUpperCase()+e.slice(1)}var wn={exports:{}},se={};/**
98
98
  * @license React
@@ -121,7 +121,7 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:et(18,`(${t})`));return
121
121
  * This source code is licensed under the MIT license found in the
122
122
  * LICENSE file in the root directory of this source tree.
123
123
  */function Ju(e,t){const r=br(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
124
- `)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}function Qu(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Xo=[];function Jo(e){return Xo[0]=e,Xt(Xo)}const Zu=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function ef(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=Zu(t),a=Object.keys(i);function s(g){return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r})`}function u(g){return`@media (max-width:${(typeof t[g]=="number"?t[g]:g)-n/100}${r})`}function d(g,h){const y=a.indexOf(h);return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r}) and (max-width:${(y!==-1&&typeof t[a[y]]=="number"?t[a[y]]:h)-n/100}${r})`}function m(g){return a.indexOf(g)+1<a.length?d(g,a[a.indexOf(g)+1]):s(g)}function p(g){const h=a.indexOf(g);return h===0?s(a[1]):h===a.length-1?u(a[h]):d(g,a[a.indexOf(g)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:s,down:u,between:d,only:m,not:p,unit:r,...o}}const tf={borderRadius:4};function Qi(e=8,t=Jn({spacing:e})){if(e.mui)return e;const r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function rf(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return r.palette.mode===e?t:{}}function Zi(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,s=ef(r),u=Qi(o);let d=Pe({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...tf,...i}},a);return d=su(d),d.applyStyles=rf,d=t.reduce((m,p)=>Pe(m,p),d),d.unstable_sxConfig={...Xr,...a==null?void 0:a.unstable_sxConfig},d.unstable_sx=function(p){return Ot({sx:p,theme:this})},d}const nf={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function er(e,t,r="Mui"){const n=nf[t];return n?`${r}-${n}`:`${tu.generate(e)}-${t}`}function Jr(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=er(e,o,r)}),n}function ea(e,t=""){return e.displayName||e.name||t}function Qo(e,t,r){const n=ea(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function of(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return ea(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Sr.ForwardRef:return Qo(e,e.render,"ForwardRef");case Sr.Memo:return Qo(e,e.type,"memo");default:return}}}function ta(e){const{variants:t,...r}=e,n={variants:t,style:Jo(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=Jo(o.style))}),n}const af=Zi();function un(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function sf(e){return e?(t,r)=>r[e]:null}function cf(e,t,r){e.theme=df(e.theme)?r:e.theme[t]||e.theme}function dr(e,t){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(n=>dr(e,n));if(Array.isArray(r==null?void 0:r.variants)){let n;if(r.isProcessed)n=r.style;else{const{variants:o,...i}=r;n=i}return ra(e,r.variants,[n])}return r!=null&&r.isProcessed?r.style:r}function ra(e,t,r=[]){var o;let n;e:for(let i=0;i<t.length;i+=1){const a=t[i];if(typeof a.props=="function"){if(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),!a.props(n))continue}else for(const s in a.props)if(e[s]!==a.props[s]&&((o=e.ownerState)==null?void 0:o[s])!==a.props[s])continue e;typeof a.style=="function"?(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),r.push(a.style(n))):r.push(a.style)}return r}function lf(e={}){const{themeId:t,defaultTheme:r=af,rootShouldForwardProp:n=un,slotShouldForwardProp:o=un}=e;function i(s){cf(s,t,r)}return(s,u={})=>{Qu(s,C=>C.filter(O=>O!==Ot));const{name:d,slot:m,skipVariantsResolver:p,skipSx:g,overridesResolver:h=sf(na(m)),...y}=u,c=p!==void 0?p:m&&m!=="Root"&&m!=="root"||!1,v=g||!1;let w=un;m==="Root"||m==="root"?w=n:m?w=o:pf(s)&&(w=void 0);const P=Ju(s,{shouldForwardProp:w,label:ff(d,m),...y}),A=C=>{if(C.__emotion_real===C)return C;if(typeof C=="function")return function(N){return dr(N,C)};if(qe(C)){const O=ta(C);return O.variants?function(z){return dr(z,O)}:O.style}return C},$=(...C)=>{const O=[],N=C.map(A),z=[];if(O.push(i),d&&h&&z.push(function(l){var j,Q;const _=(Q=(j=l.theme.components)==null?void 0:j[d])==null?void 0:Q.styleOverrides;if(!_)return null;const D={};for(const de in _)D[de]=dr(l,_[de]);return h(l,D)}),d&&!c&&z.push(function(l){var D,j;const R=l.theme,_=(j=(D=R==null?void 0:R.components)==null?void 0:D[d])==null?void 0:j.variants;return _?ra(l,_):null}),v||z.push(Ot),Array.isArray(N[0])){const x=N.shift(),l=new Array(O.length).fill(""),R=new Array(z.length).fill("");let _;_=[...l,...x,...R],_.raw=[...l,...x.raw,...R],O.unshift(_)}const W=[...O,...N,...z],f=P(...W);return s.muiName&&(f.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(f.displayName=uf(d,m,s)),f};return P.withConfig&&($.withConfig=P.withConfig),$}}function uf(e,t,r){return e?`${e}${Ae(t||"")}`:`Styled(${of(r)})`}function ff(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${na(t||"Root")}`),r}function df(e){for(const t in e)return!1;return!0}function pf(e){return typeof e=="string"&&e.charCodeAt(0)>96}function na(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function xn(e,t){const r={...t};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const o=n;if(o==="components"||o==="slots")r[o]={...e[o],...r[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],a=t[o];if(!a)r[o]=i||{};else if(!i)r[o]=a;else{r[o]={...a};for(const s in i)if(Object.prototype.hasOwnProperty.call(i,s)){const u=s;r[o][u]=xn(i[u],a[u])}}}else r[o]===void 0&&(r[o]=e[o])}return r}const mf=typeof window<"u"?M.useLayoutEffect:M.useEffect,hf=M.createContext(void 0);process.env.NODE_ENV!=="production"&&(S.node,S.object);function gf(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?xn(o.defaultProps,n):!o.styleOverrides&&!o.variants?xn(o,n):n}function yf({props:e,name:t}){const r=M.useContext(hf);return gf({props:e,name:t,theme:{components:r}})}const Zo={theme:void 0};function bf(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(Zo.theme=o.theme,i=ta(e(Zo)),t=i,r=o.theme),i}}function vf(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.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}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const ei=(e,t,r,n=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},Sf=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([s,u])=>{(!r||r&&!r([...i,s]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?n(u,[...i,s],Array.isArray(u)?[...a,s]:a):t([...i,s],u,a))})}n(e)},$f=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function fn(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return Sf(e,(s,u,d)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(s,u))){const m=`--${r?`${r}-`:""}${s.join("-")}`,p=$f(s,u);Object.assign(o,{[m]:p}),ei(i,s,`var(${m})`,d),ei(a,s,`var(${m}, ${p})`,d)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function Cf(e,t={}){const{getSelector:r=v,disableCssColorScheme:n,colorSchemeSelector:o}=t,{colorSchemes:i={},components:a,defaultColorScheme:s="light",...u}=e,{vars:d,css:m,varsWithDefaults:p}=fn(u,t);let g=p;const h={},{[s]:y,...c}=i;if(Object.entries(c||{}).forEach(([A,$])=>{const{vars:C,css:O,varsWithDefaults:N}=fn($,t);g=Pe(g,N),h[A]={css:O,vars:C}}),y){const{css:A,vars:$,varsWithDefaults:C}=fn(y,t);g=Pe(g,C),h[s]={css:A,vars:$}}function v(A,$){var O,N;let C=o;if(o==="class"&&(C=".%s"),o==="data"&&(C="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(C=`[${o}="%s"]`),A){if(C==="media")return e.defaultColorScheme===A?":root":{[`@media (prefers-color-scheme: ${((N=(O=i[A])==null?void 0:O.palette)==null?void 0:N.mode)||A})`]:{":root":$}};if(C)return e.defaultColorScheme===A?`:root, ${C.replace("%s",String(A))}`:C.replace("%s",String(A))}return":root"}return{vars:g,generateThemeVars:()=>{let A={...d};return Object.entries(h).forEach(([,{vars:$}])=>{A=Pe(A,$)}),A},generateStyleSheets:()=>{var z,W;const A=[],$=e.defaultColorScheme||"light";function C(f,x){Object.keys(x).length&&A.push(typeof f=="string"?{[f]:{...x}}:f)}C(r(void 0,{...m}),m);const{[$]:O,...N}=h;if(O){const{css:f}=O,x=(W=(z=i[$])==null?void 0:z.palette)==null?void 0:W.mode,l=!n&&x?{colorScheme:x,...f}:{...f};C(r($,{...l}),l)}return Object.entries(N).forEach(([f,{css:x}])=>{var _,D;const l=(D=(_=i[f])==null?void 0:_.palette)==null?void 0:D.mode,R=!n&&l?{colorScheme:l,...x}:{...x};C(r(f,{...R}),R)}),A}}}function Ef(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}const Gt={black:"#000",white:"#fff"},Tf={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},gt={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},yt={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Mt={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},bt={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},vt={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},St={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function oa(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Gt.white,default:Gt.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const wf=oa();function ia(){return{text:{primary:Gt.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Gt.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const ti=ia();function ri(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Xn(e.main,o):t==="dark"&&(e.dark=Hn(e.main,i)))}function xf(e="light"){return e==="dark"?{main:bt[200],light:bt[50],dark:bt[400]}:{main:bt[700],light:bt[400],dark:bt[800]}}function Of(e="light"){return e==="dark"?{main:gt[200],light:gt[50],dark:gt[400]}:{main:gt[500],light:gt[300],dark:gt[700]}}function kf(e="light"){return e==="dark"?{main:yt[500],light:yt[300],dark:yt[700]}:{main:yt[700],light:yt[400],dark:yt[800]}}function _f(e="light"){return e==="dark"?{main:vt[400],light:vt[300],dark:vt[700]}:{main:vt[700],light:vt[500],dark:vt[900]}}function Rf(e="light"){return e==="dark"?{main:St[400],light:St[300],dark:St[700]}:{main:St[800],light:St[500],dark:St[900]}}function Af(e="light"){return e==="dark"?{main:Mt[400],light:Mt[300],dark:Mt[700]}:{main:"#ed6c02",light:Mt[500],dark:Mt[900]}}function Zn(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,...o}=e,i=e.primary||xf(t),a=e.secondary||Of(t),s=e.error||kf(t),u=e.info||_f(t),d=e.success||Rf(t),m=e.warning||Af(t);function p(c){const v=Wo(c,ti.text.primary)>=r?ti.text.primary:wf.text.primary;if(process.env.NODE_ENV!=="production"){const w=Wo(c,v);w<3&&console.error([`MUI: The contrast ratio of ${w}:1 for ${v} on ${c}`,"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(`
124
+ `)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}function Qu(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Xo=[];function Jo(e){return Xo[0]=e,Xt(Xo)}const Zu=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function ef(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=Zu(t),a=Object.keys(i);function s(g){return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r})`}function u(g){return`@media (max-width:${(typeof t[g]=="number"?t[g]:g)-n/100}${r})`}function d(g,h){const y=a.indexOf(h);return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r}) and (max-width:${(y!==-1&&typeof t[a[y]]=="number"?t[a[y]]:h)-n/100}${r})`}function m(g){return a.indexOf(g)+1<a.length?d(g,a[a.indexOf(g)+1]):s(g)}function p(g){const h=a.indexOf(g);return h===0?s(a[1]):h===a.length-1?u(a[h]):d(g,a[a.indexOf(g)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:s,down:u,between:d,only:m,not:p,unit:r,...o}}const tf={borderRadius:4};function Qi(e=8,t=Jn({spacing:e})){if(e.mui)return e;const r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function rf(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return r.palette.mode===e?t:{}}function Zi(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,s=ef(r),u=Qi(o);let d=Pe({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...tf,...i}},a);return d=su(d),d.applyStyles=rf,d=t.reduce((m,p)=>Pe(m,p),d),d.unstable_sxConfig={...Xr,...a==null?void 0:a.unstable_sxConfig},d.unstable_sx=function(p){return Ot({sx:p,theme:this})},d}const nf={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function er(e,t,r="Mui"){const n=nf[t];return n?`${r}-${n}`:`${tu.generate(e)}-${t}`}function Jr(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=er(e,o,r)}),n}function ea(e,t=""){return e.displayName||e.name||t}function Qo(e,t,r){const n=ea(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function of(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return ea(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Sr.ForwardRef:return Qo(e,e.render,"ForwardRef");case Sr.Memo:return Qo(e,e.type,"memo");default:return}}}function ta(e){const{variants:t,...r}=e,n={variants:t,style:Jo(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=Jo(o.style))}),n}const af=Zi();function un(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function sf(e){return e?(t,r)=>r[e]:null}function cf(e,t,r){e.theme=df(e.theme)?r:e.theme[t]||e.theme}function dr(e,t){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(n=>dr(e,n));if(Array.isArray(r==null?void 0:r.variants)){let n;if(r.isProcessed)n=r.style;else{const{variants:o,...i}=r;n=i}return ra(e,r.variants,[n])}return r!=null&&r.isProcessed?r.style:r}function ra(e,t,r=[]){var o;let n;e:for(let i=0;i<t.length;i+=1){const a=t[i];if(typeof a.props=="function"){if(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),!a.props(n))continue}else for(const s in a.props)if(e[s]!==a.props[s]&&((o=e.ownerState)==null?void 0:o[s])!==a.props[s])continue e;typeof a.style=="function"?(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),r.push(a.style(n))):r.push(a.style)}return r}function lf(e={}){const{themeId:t,defaultTheme:r=af,rootShouldForwardProp:n=un,slotShouldForwardProp:o=un}=e;function i(s){cf(s,t,r)}return(s,u={})=>{Qu(s,C=>C.filter(O=>O!==Ot));const{name:d,slot:m,skipVariantsResolver:p,skipSx:g,overridesResolver:h=sf(na(m)),...y}=u,c=p!==void 0?p:m&&m!=="Root"&&m!=="root"||!1,v=g||!1;let w=un;m==="Root"||m==="root"?w=n:m?w=o:pf(s)&&(w=void 0);const P=Ju(s,{shouldForwardProp:w,label:ff(d,m),...y}),A=C=>{if(C.__emotion_real===C)return C;if(typeof C=="function")return function(N){return dr(N,C)};if(qe(C)){const O=ta(C);return O.variants?function(z){return dr(z,O)}:O.style}return C},$=(...C)=>{const O=[],N=C.map(A),z=[];if(O.push(i),d&&h&&z.push(function(l){var j,Q;const _=(Q=(j=l.theme.components)==null?void 0:j[d])==null?void 0:Q.styleOverrides;if(!_)return null;const D={};for(const de in _)D[de]=dr(l,_[de]);return h(l,D)}),d&&!c&&z.push(function(l){var D,j;const R=l.theme,_=(j=(D=R==null?void 0:R.components)==null?void 0:D[d])==null?void 0:j.variants;return _?ra(l,_):null}),v||z.push(Ot),Array.isArray(N[0])){const x=N.shift(),l=new Array(O.length).fill(""),R=new Array(z.length).fill("");let _;_=[...l,...x,...R],_.raw=[...l,...x.raw,...R],O.unshift(_)}const W=[...O,...N,...z],f=P(...W);return s.muiName&&(f.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(f.displayName=uf(d,m,s)),f};return P.withConfig&&($.withConfig=P.withConfig),$}}function uf(e,t,r){return e?`${e}${Ae(t||"")}`:`Styled(${of(r)})`}function ff(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${na(t||"Root")}`),r}function df(e){for(const t in e)return!1;return!0}function pf(e){return typeof e=="string"&&e.charCodeAt(0)>96}function na(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function xn(e,t){const r={...t};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const o=n;if(o==="components"||o==="slots")r[o]={...e[o],...r[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],a=t[o];if(!a)r[o]=i||{};else if(!i)r[o]=a;else{r[o]={...a};for(const s in i)if(Object.prototype.hasOwnProperty.call(i,s)){const u=s;r[o][u]=xn(i[u],a[u])}}}else r[o]===void 0&&(r[o]=e[o])}return r}const mf=typeof window<"u"?M.useLayoutEffect:M.useEffect,hf=M.createContext(void 0);process.env.NODE_ENV!=="production"&&(S.node,S.object);function gf(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?xn(o.defaultProps,n):!o.styleOverrides&&!o.variants?xn(o,n):n}function yf({props:e,name:t}){const r=M.useContext(hf);return gf({props:e,name:t,theme:{components:r}})}const Zo={theme:void 0};function bf(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(Zo.theme=o.theme,i=ta(e(Zo)),t=i,r=o.theme),i}}function vf(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.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}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const ei=(e,t,r,n=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},Sf=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([s,u])=>{(!r||r&&!r([...i,s]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?n(u,[...i,s],Array.isArray(u)?[...a,s]:a):t([...i,s],u,a))})}n(e)},$f=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function fn(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return Sf(e,(s,u,d)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(s,u))){const m=`--${r?`${r}-`:""}${s.join("-")}`,p=$f(s,u);Object.assign(o,{[m]:p}),ei(i,s,`var(${m})`,d),ei(a,s,`var(${m}, ${p})`,d)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function Cf(e,t={}){const{getSelector:r=v,disableCssColorScheme:n,colorSchemeSelector:o}=t,{colorSchemes:i={},components:a,defaultColorScheme:s="light",...u}=e,{vars:d,css:m,varsWithDefaults:p}=fn(u,t);let g=p;const h={},{[s]:y,...c}=i;if(Object.entries(c||{}).forEach(([A,$])=>{const{vars:C,css:O,varsWithDefaults:N}=fn($,t);g=Pe(g,N),h[A]={css:O,vars:C}}),y){const{css:A,vars:$,varsWithDefaults:C}=fn(y,t);g=Pe(g,C),h[s]={css:A,vars:$}}function v(A,$){var O,N;let C=o;if(o==="class"&&(C=".%s"),o==="data"&&(C="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(C=`[${o}="%s"]`),A){if(C==="media")return e.defaultColorScheme===A?":root":{[`@media (prefers-color-scheme: ${((N=(O=i[A])==null?void 0:O.palette)==null?void 0:N.mode)||A})`]:{":root":$}};if(C)return e.defaultColorScheme===A?`:root, ${C.replace("%s",String(A))}`:C.replace("%s",String(A))}return":root"}return{vars:g,generateThemeVars:()=>{let A={...d};return Object.entries(h).forEach(([,{vars:$}])=>{A=Pe(A,$)}),A},generateStyleSheets:()=>{var z,W;const A=[],$=e.defaultColorScheme||"light";function C(f,x){Object.keys(x).length&&A.push(typeof f=="string"?{[f]:{...x}}:f)}C(r(void 0,{...m}),m);const{[$]:O,...N}=h;if(O){const{css:f}=O,x=(W=(z=i[$])==null?void 0:z.palette)==null?void 0:W.mode,l=!n&&x?{colorScheme:x,...f}:{...f};C(r($,{...l}),l)}return Object.entries(N).forEach(([f,{css:x}])=>{var _,D;const l=(D=(_=i[f])==null?void 0:_.palette)==null?void 0:D.mode,R=!n&&l?{colorScheme:l,...x}:{...x};C(r(f,{...R}),R)}),A}}}function Ef(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}const Gt={black:"#000",white:"#fff"},Tf={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},yt={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},bt={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Mt={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},vt={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},St={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},$t={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function oa(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Gt.white,default:Gt.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const wf=oa();function ia(){return{text:{primary:Gt.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Gt.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const ti=ia();function ri(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Xn(e.main,o):t==="dark"&&(e.dark=Hn(e.main,i)))}function xf(e="light"){return e==="dark"?{main:vt[200],light:vt[50],dark:vt[400]}:{main:vt[700],light:vt[400],dark:vt[800]}}function Of(e="light"){return e==="dark"?{main:yt[200],light:yt[50],dark:yt[400]}:{main:yt[500],light:yt[300],dark:yt[700]}}function kf(e="light"){return e==="dark"?{main:bt[500],light:bt[300],dark:bt[700]}:{main:bt[700],light:bt[400],dark:bt[800]}}function _f(e="light"){return e==="dark"?{main:St[400],light:St[300],dark:St[700]}:{main:St[700],light:St[500],dark:St[900]}}function Rf(e="light"){return e==="dark"?{main:$t[400],light:$t[300],dark:$t[700]}:{main:$t[800],light:$t[500],dark:$t[900]}}function Af(e="light"){return e==="dark"?{main:Mt[400],light:Mt[300],dark:Mt[700]}:{main:"#ed6c02",light:Mt[500],dark:Mt[900]}}function Zn(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,...o}=e,i=e.primary||xf(t),a=e.secondary||Of(t),s=e.error||kf(t),u=e.info||_f(t),d=e.success||Rf(t),m=e.warning||Af(t);function p(c){const v=Wo(c,ti.text.primary)>=r?ti.text.primary:wf.text.primary;if(process.env.NODE_ENV!=="production"){const w=Wo(c,v);w<3&&console.error([`MUI: The contrast ratio of ${w}:1 for ${v} on ${c}`,"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(`
125
125
  `))}return v}const g=({color:c,name:v,mainShade:w=500,lightShade:P=300,darkShade:A=700})=>{if(c={...c},!c.main&&c[w]&&(c.main=c[w]),!c.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${v?` (${v})`:""} provided to augmentColor(color) is invalid.
126
126
  The color object needs to have a \`main\` property or a \`${w}\` property.`:et(11,v?` (${v})`:"",w));if(typeof c.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${v?` (${v})`:""} provided to augmentColor(color) is invalid.
127
127
  \`color.main\` should be a string, but \`${JSON.stringify(c.main)}\` was provided instead.
@@ -147,7 +147,7 @@ theme.transitions = createTransitions(theme.transitions || {});
147
147
  export default theme;`}function On(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:a={},typography:s={},shape:u,...d}=e;if(e.vars&&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://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":et(20));const m=Zn(i),p=Zi(e);let g=Pe(p,{mixins:Nf(p.breakpoints,n),palette:m,shadows:Ff.slice(),typography:Mf(m,s),transitions:Uf(a),zIndex:{...Wf}});if(g=Pe(g,d),g=t.reduce((h,y)=>Pe(h,y),g),process.env.NODE_ENV!=="production"){const h=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],y=(c,v)=>{let w;for(w in c){const P=c[w];if(h.includes(w)&&Object.keys(P).length>0){if(process.env.NODE_ENV!=="production"){const A=er("",w);console.error([`MUI: The \`${v}\` component increases the CSS specificity of the \`${w}\` internal state.`,"You can not override it like this: ",JSON.stringify(c,null,2),"",`Instead, you need to use the '&.${A}' syntax:`,JSON.stringify({root:{[`&.${A}`]:P}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
148
148
  `))}c[w]={}}}};Object.keys(g.components).forEach(c=>{const v=g.components[c].styleOverrides;v&&c.startsWith("Mui")&&y(v,c)})}return g.unstable_sxConfig={...Xr,...d==null?void 0:d.unstable_sxConfig},g.unstable_sx=function(y){return Ot({sx:y,theme:this})},g.toRuntimeSource=aa,g}function Gf(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 Kf=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=Gf(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function sa(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function ca(e){return e==="dark"?Kf:[]}function qf(e){const{palette:t={mode:"light"},opacity:r,overlays:n,...o}=e,i=Zn(t);return{palette:i,opacity:{...sa(i.mode),...r},overlays:n||ca(i.mode),...o}}function Hf(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const Xf=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Jf=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const a={};return Xf(e.cssVarPrefix).forEach(s=>{a[s]=r[s],delete r[s]}),i==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:a}}:i?{[i.replace("%s",t)]:a,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:{...r,...a}}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}return n};function Qf(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function T(e,t,r){!e[t]&&r&&(e[t]=r)}function Ft(e){return typeof e!="string"||!e.startsWith("hsl")?e:Hi(e)}function Ye(e,t){`${t}Channel`in e||(e[`${t}Channel`]=jt(Ft(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().
149
149
  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 Zf(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Ve=e=>{try{return e()}catch{}},ed=(e="mui")=>vf(e);function dn(e,t,r,n){if(!t)return;t=t===!0?{}:t;const o=n==="dark"?"dark":"light";if(!r){e[n]=qf({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...a}=On({...r,palette:{mode:o,...t==null?void 0:t.palette}});return e[n]={...t,palette:i,opacity:{...sa(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||ca(o)},a}function td(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=Hf,colorSchemeSelector:s=r.light&&r.dark?"media":void 0,rootSelector:u=":root",...d}=e,m=Object.keys(r)[0],p=n||(r.light&&m!=="light"?"light":m),g=ed(i),{[p]:h,light:y,dark:c,...v}=r,w={...v};let P=h;if((p==="dark"&&!("dark"in r)||p==="light"&&!("light"in r))&&(P=!0),!P)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:et(21,p));const A=dn(w,P,d,p);y&&!w.light&&dn(w,y,void 0,"light"),c&&!w.dark&&dn(w,c,void 0,"dark");let $={defaultColorScheme:p,...A,cssVarPrefix:i,colorSchemeSelector:s,rootSelector:u,getCssVar:g,colorSchemes:w,font:{...Pf(A.typography),...A.font},spacing:Zf(d.spacing)};Object.keys($.colorSchemes).forEach(W=>{const f=$.colorSchemes[W].palette,x=l=>{const R=l.split("-"),_=R[1],D=R[2];return g(l,f[_][D])};if(f.mode==="light"&&(T(f.common,"background","#fff"),T(f.common,"onBackground","#000")),f.mode==="dark"&&(T(f.common,"background","#000"),T(f.common,"onBackground","#fff")),Qf(f,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),f.mode==="light"){T(f.Alert,"errorColor",ue(f.error.light,.6)),T(f.Alert,"infoColor",ue(f.info.light,.6)),T(f.Alert,"successColor",ue(f.success.light,.6)),T(f.Alert,"warningColor",ue(f.warning.light,.6)),T(f.Alert,"errorFilledBg",x("palette-error-main")),T(f.Alert,"infoFilledBg",x("palette-info-main")),T(f.Alert,"successFilledBg",x("palette-success-main")),T(f.Alert,"warningFilledBg",x("palette-warning-main")),T(f.Alert,"errorFilledColor",Ve(()=>f.getContrastText(f.error.main))),T(f.Alert,"infoFilledColor",Ve(()=>f.getContrastText(f.info.main))),T(f.Alert,"successFilledColor",Ve(()=>f.getContrastText(f.success.main))),T(f.Alert,"warningFilledColor",Ve(()=>f.getContrastText(f.warning.main))),T(f.Alert,"errorStandardBg",fe(f.error.light,.9)),T(f.Alert,"infoStandardBg",fe(f.info.light,.9)),T(f.Alert,"successStandardBg",fe(f.success.light,.9)),T(f.Alert,"warningStandardBg",fe(f.warning.light,.9)),T(f.Alert,"errorIconColor",x("palette-error-main")),T(f.Alert,"infoIconColor",x("palette-info-main")),T(f.Alert,"successIconColor",x("palette-success-main")),T(f.Alert,"warningIconColor",x("palette-warning-main")),T(f.AppBar,"defaultBg",x("palette-grey-100")),T(f.Avatar,"defaultBg",x("palette-grey-400")),T(f.Button,"inheritContainedBg",x("palette-grey-300")),T(f.Button,"inheritContainedHoverBg",x("palette-grey-A100")),T(f.Chip,"defaultBorder",x("palette-grey-400")),T(f.Chip,"defaultAvatarColor",x("palette-grey-700")),T(f.Chip,"defaultIconColor",x("palette-grey-700")),T(f.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),T(f.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),T(f.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),T(f.LinearProgress,"primaryBg",fe(f.primary.main,.62)),T(f.LinearProgress,"secondaryBg",fe(f.secondary.main,.62)),T(f.LinearProgress,"errorBg",fe(f.error.main,.62)),T(f.LinearProgress,"infoBg",fe(f.info.main,.62)),T(f.LinearProgress,"successBg",fe(f.success.main,.62)),T(f.LinearProgress,"warningBg",fe(f.warning.main,.62)),T(f.Skeleton,"bg",`rgba(${x("palette-text-primaryChannel")} / 0.11)`),T(f.Slider,"primaryTrack",fe(f.primary.main,.62)),T(f.Slider,"secondaryTrack",fe(f.secondary.main,.62)),T(f.Slider,"errorTrack",fe(f.error.main,.62)),T(f.Slider,"infoTrack",fe(f.info.main,.62)),T(f.Slider,"successTrack",fe(f.success.main,.62)),T(f.Slider,"warningTrack",fe(f.warning.main,.62));const l=sr(f.background.default,.8);T(f.SnackbarContent,"bg",l),T(f.SnackbarContent,"color",Ve(()=>f.getContrastText(l))),T(f.SpeedDialAction,"fabHoverBg",sr(f.background.paper,.15)),T(f.StepConnector,"border",x("palette-grey-400")),T(f.StepContent,"border",x("palette-grey-400")),T(f.Switch,"defaultColor",x("palette-common-white")),T(f.Switch,"defaultDisabledColor",x("palette-grey-100")),T(f.Switch,"primaryDisabledColor",fe(f.primary.main,.62)),T(f.Switch,"secondaryDisabledColor",fe(f.secondary.main,.62)),T(f.Switch,"errorDisabledColor",fe(f.error.main,.62)),T(f.Switch,"infoDisabledColor",fe(f.info.main,.62)),T(f.Switch,"successDisabledColor",fe(f.success.main,.62)),T(f.Switch,"warningDisabledColor",fe(f.warning.main,.62)),T(f.TableCell,"border",fe(ar(f.divider,1),.88)),T(f.Tooltip,"bg",ar(f.grey[700],.92))}if(f.mode==="dark"){T(f.Alert,"errorColor",fe(f.error.light,.6)),T(f.Alert,"infoColor",fe(f.info.light,.6)),T(f.Alert,"successColor",fe(f.success.light,.6)),T(f.Alert,"warningColor",fe(f.warning.light,.6)),T(f.Alert,"errorFilledBg",x("palette-error-dark")),T(f.Alert,"infoFilledBg",x("palette-info-dark")),T(f.Alert,"successFilledBg",x("palette-success-dark")),T(f.Alert,"warningFilledBg",x("palette-warning-dark")),T(f.Alert,"errorFilledColor",Ve(()=>f.getContrastText(f.error.dark))),T(f.Alert,"infoFilledColor",Ve(()=>f.getContrastText(f.info.dark))),T(f.Alert,"successFilledColor",Ve(()=>f.getContrastText(f.success.dark))),T(f.Alert,"warningFilledColor",Ve(()=>f.getContrastText(f.warning.dark))),T(f.Alert,"errorStandardBg",ue(f.error.light,.9)),T(f.Alert,"infoStandardBg",ue(f.info.light,.9)),T(f.Alert,"successStandardBg",ue(f.success.light,.9)),T(f.Alert,"warningStandardBg",ue(f.warning.light,.9)),T(f.Alert,"errorIconColor",x("palette-error-main")),T(f.Alert,"infoIconColor",x("palette-info-main")),T(f.Alert,"successIconColor",x("palette-success-main")),T(f.Alert,"warningIconColor",x("palette-warning-main")),T(f.AppBar,"defaultBg",x("palette-grey-900")),T(f.AppBar,"darkBg",x("palette-background-paper")),T(f.AppBar,"darkColor",x("palette-text-primary")),T(f.Avatar,"defaultBg",x("palette-grey-600")),T(f.Button,"inheritContainedBg",x("palette-grey-800")),T(f.Button,"inheritContainedHoverBg",x("palette-grey-700")),T(f.Chip,"defaultBorder",x("palette-grey-700")),T(f.Chip,"defaultAvatarColor",x("palette-grey-300")),T(f.Chip,"defaultIconColor",x("palette-grey-300")),T(f.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),T(f.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),T(f.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),T(f.LinearProgress,"primaryBg",ue(f.primary.main,.5)),T(f.LinearProgress,"secondaryBg",ue(f.secondary.main,.5)),T(f.LinearProgress,"errorBg",ue(f.error.main,.5)),T(f.LinearProgress,"infoBg",ue(f.info.main,.5)),T(f.LinearProgress,"successBg",ue(f.success.main,.5)),T(f.LinearProgress,"warningBg",ue(f.warning.main,.5)),T(f.Skeleton,"bg",`rgba(${x("palette-text-primaryChannel")} / 0.13)`),T(f.Slider,"primaryTrack",ue(f.primary.main,.5)),T(f.Slider,"secondaryTrack",ue(f.secondary.main,.5)),T(f.Slider,"errorTrack",ue(f.error.main,.5)),T(f.Slider,"infoTrack",ue(f.info.main,.5)),T(f.Slider,"successTrack",ue(f.success.main,.5)),T(f.Slider,"warningTrack",ue(f.warning.main,.5));const l=sr(f.background.default,.98);T(f.SnackbarContent,"bg",l),T(f.SnackbarContent,"color",Ve(()=>f.getContrastText(l))),T(f.SpeedDialAction,"fabHoverBg",sr(f.background.paper,.15)),T(f.StepConnector,"border",x("palette-grey-600")),T(f.StepContent,"border",x("palette-grey-600")),T(f.Switch,"defaultColor",x("palette-grey-300")),T(f.Switch,"defaultDisabledColor",x("palette-grey-600")),T(f.Switch,"primaryDisabledColor",ue(f.primary.main,.55)),T(f.Switch,"secondaryDisabledColor",ue(f.secondary.main,.55)),T(f.Switch,"errorDisabledColor",ue(f.error.main,.55)),T(f.Switch,"infoDisabledColor",ue(f.info.main,.55)),T(f.Switch,"successDisabledColor",ue(f.success.main,.55)),T(f.Switch,"warningDisabledColor",ue(f.warning.main,.55)),T(f.TableCell,"border",ue(ar(f.divider,1),.68)),T(f.Tooltip,"bg",ar(f.grey[700],.92))}Ye(f.background,"default"),Ye(f.background,"paper"),Ye(f.common,"background"),Ye(f.common,"onBackground"),Ye(f,"divider"),Object.keys(f).forEach(l=>{const R=f[l];l!=="tonalOffset"&&R&&typeof R=="object"&&(R.main&&T(f[l],"mainChannel",jt(Ft(R.main))),R.light&&T(f[l],"lightChannel",jt(Ft(R.light))),R.dark&&T(f[l],"darkChannel",jt(Ft(R.dark))),R.contrastText&&T(f[l],"contrastTextChannel",jt(Ft(R.contrastText))),l==="text"&&(Ye(f[l],"primary"),Ye(f[l],"secondary")),l==="action"&&(R.active&&Ye(f[l],"active"),R.selected&&Ye(f[l],"selected")))})}),$=t.reduce((W,f)=>Pe(W,f),$);const C={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:Jf($)},{vars:O,generateThemeVars:N,generateStyleSheets:z}=Cf($,C);return $.vars=O,Object.entries($.colorSchemes[$.defaultColorScheme]).forEach(([W,f])=>{$[W]=f}),$.generateThemeVars=N,$.generateStyleSheets=z,$.generateSpacing=function(){return Qi(d.spacing,Jn(this))},$.getColorSchemeSelector=Ef(s),$.spacing=$.generateSpacing(),$.shouldSkipGeneratingVar=a,$.unstable_sxConfig={...Xr,...d==null?void 0:d.unstable_sxConfig},$.unstable_sx=function(f){return Ot({sx:f,theme:this})},$.toRuntimeSource=aa,$}function ai(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Zn({...r===!0?{}:r.palette,mode:t})})}function rd(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode,...a}=e,s=i||"light",u=o==null?void 0:o[s],d={...o,...r?{[s]:{...typeof u!="boolean"&&u,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return On(e,...t);let m=r;"palette"in e||d[s]&&(d[s]!==!0?m=d[s].palette:s==="dark"&&(m={mode:"dark"}));const p=On({...e,palette:m},...t);return p.defaultColorScheme=s,p.colorSchemes=d,p.palette.mode==="light"&&(p.colorSchemes.light={...d.light!==!0&&d.light,palette:p.palette},ai(p,"dark",d.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:p.palette},ai(p,"light",d.light)),p}return!r&&!("light"in d)&&s==="light"&&(d.light=!0),td({...a,colorSchemes:d,defaultColorScheme:s,...typeof n!="boolean"&&n},...t)}const nd=rd(),od="$$material";function id(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ad=e=>id(e)&&e!=="classes",ot=lf({themeId:od,defaultTheme:nd,rootShouldForwardProp:ad}),Cr=bf;process.env.NODE_ENV!=="production"&&(S.node,S.object.isRequired);function Qr(e){return yf(e)}let si=0;function sd(e){const[t,r]=M.useState(e),n=e||t;return M.useEffect(()=>{t==null&&(si+=1,r(`mui-${si}`))},[t]),n}const cd={...M},ci=cd.useId;function ld(e){if(ci!==void 0){const t=ci();return e??t}return sd(e)}function pr(e){const t=M.useRef(e);return mf(()=>{t.current=e}),M.useRef((...r)=>(0,t.current)(...r)).current}function li(...e){const t=M.useRef(void 0),r=M.useCallback(n=>{const o=e.map(i=>{if(i==null)return null;if(typeof i=="function"){const a=i,s=a(n);return typeof s=="function"?s:()=>{a(null)}}return i.current=n,()=>{i.current=null}});return()=>{o.forEach(i=>i==null?void 0:i())}},e);return M.useMemo(()=>e.every(n=>n==null)?null:n=>{t.current&&(t.current(),t.current=void 0),n!=null&&(t.current=r(n))},e)}function ud(e){return typeof e.main=="string"}function fd(e,t=[]){if(!ud(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||typeof e[r]!="string")return!1;return!0}function kn(e=[]){return([,t])=>t&&fd(t,e)}const dd=S.oneOfType([S.func,S.object]);function pd(e){const{prototype:t={}}=e;return!!t.isReactComponent}function md(e,t,r,n,o){const i=e[t],a=o||t;if(i==null||typeof window>"u")return null;let s;return typeof i=="function"&&!pd(i)&&(s="Did you accidentally provide a plain function component instead?"),s!==void 0?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const hd=Gn(S.elementType,md);function ui(e){try{return e.matches(":focus-visible")}catch{process.env.NODE_ENV!=="production"&&!/jsdom/.test(window.navigator.userAgent)&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join(`
150
- `))}return!1}const fi={};function la(e,t){const r=M.useRef(fi);return r.current===fi&&(r.current=e(t)),r}class Er{constructor(){Rt(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Er}static use(){const t=la(Er.create).current,[r,n]=M.useState(!1);return t.shouldMount=r,t.setShouldMount=n,M.useEffect(t.mountEffect,[r]),t}mount(){return this.mounted||(this.mounted=yd(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.start(...t)})}stop(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.stop(...t)})}pulsate(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.pulsate(...t)})}}function gd(){return Er.use()}function yd(){let e,t;const r=new Promise((n,o)=>{e=n,t=o});return r.resolve=e,r.reject=t,r}function bd(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function _n(e,t){return _n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},_n(e,t)}function vd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_n(e,t)}const di=X.createContext(null);function Sd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eo(e,t){var r=function(i){return t&&X.isValidElement(i)?t(i):i},n=Object.create(null);return e&&X.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function $d(e,t){e=e||{},t=t||{};function r(m){return m in t?t[m]:e[m]}var n=Object.create(null),o=[];for(var i in e)i in t?o.length&&(n[i]=o,o=[]):o.push(i);var a,s={};for(var u in t){if(n[u])for(a=0;a<n[u].length;a++){var d=n[u][a];s[n[u][a]]=r(d)}s[u]=r(u)}for(a=0;a<o.length;a++)s[o[a]]=r(o[a]);return s}function st(e,t,r){return r[t]!=null?r[t]:e.props[t]}function Cd(e,t){return eo(e.children,function(r){return X.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:st(r,"appear",e),enter:st(r,"enter",e),exit:st(r,"exit",e)})})}function Ed(e,t,r){var n=eo(e.children),o=$d(t,n);return Object.keys(o).forEach(function(i){var a=o[i];if(X.isValidElement(a)){var s=i in t,u=i in n,d=t[i],m=X.isValidElement(d)&&!d.props.in;u&&(!s||m)?o[i]=X.cloneElement(a,{onExited:r.bind(null,a),in:!0,exit:st(a,"exit",e),enter:st(a,"enter",e)}):!u&&s&&!m?o[i]=X.cloneElement(a,{in:!1}):u&&s&&X.isValidElement(d)&&(o[i]=X.cloneElement(a,{onExited:r.bind(null,a),in:d.props.in,exit:st(a,"exit",e),enter:st(a,"enter",e)}))}}),o}var Td=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},wd={component:"div",childFactory:function(t){return t}},to=function(e){vd(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=i.handleExited.bind(Sd(i));return i.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},i}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,i){var a=i.children,s=i.handleExited,u=i.firstRender;return{children:u?Cd(o,s):Ed(o,a,s),firstRender:!1}},r.handleExited=function(o,i){var a=eo(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(s){var u=gr({},s.children);return delete u[o.key],{children:u}}))},r.render=function(){var o=this.props,i=o.component,a=o.childFactory,s=bd(o,["component","childFactory"]),u=this.state.contextValue,d=Td(this.state.children).map(a);return delete s.appear,delete s.enter,delete s.exit,i===null?X.createElement(di.Provider,{value:u},d):X.createElement(di.Provider,{value:u},X.createElement(i,s,d))},t}(X.Component);to.propTypes=process.env.NODE_ENV!=="production"?{component:S.any,children:S.node,appear:S.bool,enter:S.bool,exit:S.bool,childFactory:S.func}:{};to.defaultProps=wd;const xd=[];function Od(e){M.useEffect(e,xd)}class ro{constructor(){Rt(this,"currentId",null);Rt(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Rt(this,"disposeEffect",()=>this.clear)}static create(){return new ro}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function kd(){const e=la(ro.create).current;return Od(e.disposeEffect),e}function ua(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:u,timeout:d}=e,[m,p]=M.useState(!1),g=we(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),h={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},y=we(r.child,m&&r.childLeaving,n&&r.childPulsate);return!s&&!m&&p(!0),M.useEffect(()=>{if(!s&&u!=null){const c=setTimeout(u,d);return()=>{clearTimeout(c)}}},[u,s,d]),J.jsx("span",{className:g,style:h,children:J.jsx("span",{className:y})})}process.env.NODE_ENV!=="production"&&(ua.propTypes={classes:S.object.isRequired,className:S.string,in:S.bool,onExited:S.func,pulsate:S.bool,rippleSize:S.number,rippleX:S.number,rippleY:S.number,timeout:S.number.isRequired});const Ie=Jr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Rn=550,_d=80,Rd=Jt`
150
+ `))}return!1}const fi={};function la(e,t){const r=M.useRef(fi);return r.current===fi&&(r.current=e(t)),r}class Er{constructor(){Rt(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Er}static use(){const t=la(Er.create).current,[r,n]=M.useState(!1);return t.shouldMount=r,t.setShouldMount=n,M.useEffect(t.mountEffect,[r]),t}mount(){return this.mounted||(this.mounted=yd(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.start(...t)})}stop(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.stop(...t)})}pulsate(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.pulsate(...t)})}}function gd(){return Er.use()}function yd(){let e,t;const r=new Promise((n,o)=>{e=n,t=o});return r.resolve=e,r.reject=t,r}function bd(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function _n(e,t){return _n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},_n(e,t)}function vd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_n(e,t)}const di=J.createContext(null);function Sd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eo(e,t){var r=function(i){return t&&J.isValidElement(i)?t(i):i},n=Object.create(null);return e&&J.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function $d(e,t){e=e||{},t=t||{};function r(m){return m in t?t[m]:e[m]}var n=Object.create(null),o=[];for(var i in e)i in t?o.length&&(n[i]=o,o=[]):o.push(i);var a,s={};for(var u in t){if(n[u])for(a=0;a<n[u].length;a++){var d=n[u][a];s[n[u][a]]=r(d)}s[u]=r(u)}for(a=0;a<o.length;a++)s[o[a]]=r(o[a]);return s}function ct(e,t,r){return r[t]!=null?r[t]:e.props[t]}function Cd(e,t){return eo(e.children,function(r){return J.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:ct(r,"appear",e),enter:ct(r,"enter",e),exit:ct(r,"exit",e)})})}function Ed(e,t,r){var n=eo(e.children),o=$d(t,n);return Object.keys(o).forEach(function(i){var a=o[i];if(J.isValidElement(a)){var s=i in t,u=i in n,d=t[i],m=J.isValidElement(d)&&!d.props.in;u&&(!s||m)?o[i]=J.cloneElement(a,{onExited:r.bind(null,a),in:!0,exit:ct(a,"exit",e),enter:ct(a,"enter",e)}):!u&&s&&!m?o[i]=J.cloneElement(a,{in:!1}):u&&s&&J.isValidElement(d)&&(o[i]=J.cloneElement(a,{onExited:r.bind(null,a),in:d.props.in,exit:ct(a,"exit",e),enter:ct(a,"enter",e)}))}}),o}var Td=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},wd={component:"div",childFactory:function(t){return t}},to=function(e){vd(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=i.handleExited.bind(Sd(i));return i.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},i}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,i){var a=i.children,s=i.handleExited,u=i.firstRender;return{children:u?Cd(o,s):Ed(o,a,s),firstRender:!1}},r.handleExited=function(o,i){var a=eo(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(s){var u=gr({},s.children);return delete u[o.key],{children:u}}))},r.render=function(){var o=this.props,i=o.component,a=o.childFactory,s=bd(o,["component","childFactory"]),u=this.state.contextValue,d=Td(this.state.children).map(a);return delete s.appear,delete s.enter,delete s.exit,i===null?J.createElement(di.Provider,{value:u},d):J.createElement(di.Provider,{value:u},J.createElement(i,s,d))},t}(J.Component);to.propTypes=process.env.NODE_ENV!=="production"?{component:S.any,children:S.node,appear:S.bool,enter:S.bool,exit:S.bool,childFactory:S.func}:{};to.defaultProps=wd;const xd=[];function Od(e){M.useEffect(e,xd)}class ro{constructor(){Rt(this,"currentId",null);Rt(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Rt(this,"disposeEffect",()=>this.clear)}static create(){return new ro}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function kd(){const e=la(ro.create).current;return Od(e.disposeEffect),e}function ua(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:u,timeout:d}=e,[m,p]=M.useState(!1),g=we(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),h={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},y=we(r.child,m&&r.childLeaving,n&&r.childPulsate);return!s&&!m&&p(!0),M.useEffect(()=>{if(!s&&u!=null){const c=setTimeout(u,d);return()=>{clearTimeout(c)}}},[u,s,d]),X.jsx("span",{className:g,style:h,children:X.jsx("span",{className:y})})}process.env.NODE_ENV!=="production"&&(ua.propTypes={classes:S.object.isRequired,className:S.string,in:S.bool,onExited:S.func,pulsate:S.bool,rippleSize:S.number,rippleX:S.number,rippleY:S.number,timeout:S.number.isRequired});const Ie=Jr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Rn=550,_d=80,Rd=Jt`
151
151
  0% {
152
152
  transform: scale(0);
153
153
  opacity: 0.1;
@@ -220,7 +220,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
220
220
  animation-iteration-count: infinite;
221
221
  animation-delay: 200ms;
222
222
  }
223
- `,fa=M.forwardRef(function(t,r){const n=Qr({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a,...s}=n,[u,d]=M.useState([]),m=M.useRef(0),p=M.useRef(null);M.useEffect(()=>{p.current&&(p.current(),p.current=null)},[u]);const g=M.useRef(!1),h=kd(),y=M.useRef(null),c=M.useRef(null),v=M.useCallback($=>{const{pulsate:C,rippleX:O,rippleY:N,rippleSize:z,cb:W}=$;d(f=>[...f,J.jsx(Id,{classes:{ripple:we(i.ripple,Ie.ripple),rippleVisible:we(i.rippleVisible,Ie.rippleVisible),ripplePulsate:we(i.ripplePulsate,Ie.ripplePulsate),child:we(i.child,Ie.child),childLeaving:we(i.childLeaving,Ie.childLeaving),childPulsate:we(i.childPulsate,Ie.childPulsate)},timeout:Rn,pulsate:C,rippleX:O,rippleY:N,rippleSize:z},m.current)]),m.current+=1,p.current=W},[i]),w=M.useCallback(($={},C={},O=()=>{})=>{const{pulsate:N=!1,center:z=o||C.pulsate,fakeElement:W=!1}=C;if(($==null?void 0:$.type)==="mousedown"&&g.current){g.current=!1;return}($==null?void 0:$.type)==="touchstart"&&(g.current=!0);const f=W?null:c.current,x=f?f.getBoundingClientRect():{width:0,height:0,left:0,top:0};let l,R,_;if(z||$===void 0||$.clientX===0&&$.clientY===0||!$.clientX&&!$.touches)l=Math.round(x.width/2),R=Math.round(x.height/2);else{const{clientX:D,clientY:j}=$.touches&&$.touches.length>0?$.touches[0]:$;l=Math.round(D-x.left),R=Math.round(j-x.top)}if(z)_=Math.sqrt((2*x.width**2+x.height**2)/3),_%2===0&&(_+=1);else{const D=Math.max(Math.abs((f?f.clientWidth:0)-l),l)*2+2,j=Math.max(Math.abs((f?f.clientHeight:0)-R),R)*2+2;_=Math.sqrt(D**2+j**2)}$!=null&&$.touches?y.current===null&&(y.current=()=>{v({pulsate:N,rippleX:l,rippleY:R,rippleSize:_,cb:O})},h.start(_d,()=>{y.current&&(y.current(),y.current=null)})):v({pulsate:N,rippleX:l,rippleY:R,rippleSize:_,cb:O})},[o,v,h]),P=M.useCallback(()=>{w({},{pulsate:!0})},[w]),A=M.useCallback(($,C)=>{if(h.clear(),($==null?void 0:$.type)==="touchend"&&y.current){y.current(),y.current=null,h.start(0,()=>{A($,C)});return}y.current=null,d(O=>O.length>0?O.slice(1):O),p.current=C},[h]);return M.useImperativeHandle(r,()=>({pulsate:P,start:w,stop:A}),[P,w,A]),J.jsx(Nd,{className:we(Ie.root,i.root,a),ref:c,...s,children:J.jsx(to,{component:null,exit:!0,children:u})})});process.env.NODE_ENV!=="production"&&(fa.propTypes={center:S.bool,classes:S.object,className:S.string});function Md(e){return er("MuiButtonBase",e)}const Dd=Jr("MuiButtonBase",["root","disabled","focusVisible"]),Bd=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=Kn({root:["root",t&&"disabled",r&&"focusVisible"]},Md,o);return r&&n&&(a.root+=` ${n}`),a},jd=ot("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Dd.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),da=M.forwardRef(function(t,r){const n=Qr({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:s,component:u="button",disabled:d=!1,disableRipple:m=!1,disableTouchRipple:p=!1,focusRipple:g=!1,focusVisibleClassName:h,LinkComponent:y="a",onBlur:c,onClick:v,onContextMenu:w,onDragLeave:P,onFocus:A,onFocusVisible:$,onKeyDown:C,onKeyUp:O,onMouseDown:N,onMouseLeave:z,onMouseUp:W,onTouchEnd:f,onTouchMove:x,onTouchStart:l,tabIndex:R=0,TouchRippleProps:_,touchRippleRef:D,type:j,...Q}=n,de=M.useRef(null),le=gd(),b=li(le.ref,D),[k,B]=M.useState(!1);d&&k&&B(!1),M.useImperativeHandle(o,()=>({focusVisible:()=>{B(!0),de.current.focus()}}),[]);const F=le.shouldMount&&!m&&!d;M.useEffect(()=>{k&&g&&!m&&le.pulsate()},[m,g,k,le]);const V=Ge(le,"start",N,p),U=Ge(le,"stop",w,p),Y=Ge(le,"stop",P,p),G=Ge(le,"stop",W,p),L=Ge(le,"stop",K=>{k&&K.preventDefault(),z&&z(K)},p),q=Ge(le,"start",l,p),H=Ge(le,"stop",f,p),Ce=Ge(le,"stop",x,p),I=Ge(le,"stop",K=>{ui(K.target)||B(!1),c&&c(K)},!1),Ne=pr(K=>{de.current||(de.current=K.currentTarget),ui(K.target)&&(B(!0),$&&$(K)),A&&A(K)}),Je=()=>{const K=de.current;return u&&u!=="button"&&!(K.tagName==="A"&&K.href)},tr=pr(K=>{g&&!K.repeat&&k&&K.key===" "&&le.stop(K,()=>{le.start(K)}),K.target===K.currentTarget&&Je()&&K.key===" "&&K.preventDefault(),C&&C(K),K.target===K.currentTarget&&Je()&&K.key==="Enter"&&!d&&(K.preventDefault(),v&&v(K))}),ya=pr(K=>{g&&K.key===" "&&k&&!K.defaultPrevented&&le.stop(K,()=>{le.pulsate(K)}),O&&O(K),v&&K.target===K.currentTarget&&Je()&&K.key===" "&&!K.defaultPrevented&&v(K)});let rr=u;rr==="button"&&(Q.href||Q.to)&&(rr=y);const _t={};rr==="button"?(_t.type=j===void 0?"button":j,_t.disabled=d):(!Q.href&&!Q.to&&(_t.role="button"),d&&(_t["aria-disabled"]=d));const ba=li(r,de),no={...n,centerRipple:i,component:u,disabled:d,disableRipple:m,disableTouchRipple:p,focusRipple:g,tabIndex:R,focusVisible:k},va=Bd(no);return J.jsxs(jd,{as:rr,className:we(va.root,s),ownerState:no,onBlur:I,onClick:v,onContextMenu:U,onFocus:Ne,onKeyDown:tr,onKeyUp:ya,onMouseDown:V,onMouseLeave:L,onMouseUp:G,onDragLeave:Y,onTouchEnd:H,onTouchMove:Ce,onTouchStart:q,ref:ba,tabIndex:d?-1:R,type:j,..._t,...Q,children:[a,F?J.jsx(fa,{ref:b,center:i,..._}):null]})});function Ge(e,t,r,n=!1){return pr(o=>(r&&r(o),n||e[t](o),!0))}process.env.NODE_ENV!=="production"&&(da.propTypes={action:dd,centerRipple:S.bool,children:S.node,classes:S.object,className:S.string,component:hd,disabled:S.bool,disableRipple:S.bool,disableTouchRipple:S.bool,focusRipple:S.bool,focusVisibleClassName:S.string,href:S.any,LinkComponent:S.elementType,onBlur:S.func,onClick:S.func,onContextMenu:S.func,onDragLeave:S.func,onFocus:S.func,onFocusVisible:S.func,onKeyDown:S.func,onKeyUp:S.func,onMouseDown:S.func,onMouseLeave:S.func,onMouseUp:S.func,onTouchEnd:S.func,onTouchMove:S.func,onTouchStart:S.func,sx:S.oneOfType([S.arrayOf(S.oneOfType([S.func,S.object,S.bool])),S.func,S.object]),tabIndex:S.number,TouchRippleProps:S.object,touchRippleRef:S.oneOfType([S.func,S.shape({current:S.shape({pulsate:S.func.isRequired,start:S.func.isRequired,stop:S.func.isRequired})})]),type:S.oneOfType([S.oneOf(["button","reset","submit"]),S.string])});function Fd(e){return er("MuiCircularProgress",e)}Jr("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Qe=44,An=Jt`
223
+ `,fa=M.forwardRef(function(t,r){const n=Qr({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a,...s}=n,[u,d]=M.useState([]),m=M.useRef(0),p=M.useRef(null);M.useEffect(()=>{p.current&&(p.current(),p.current=null)},[u]);const g=M.useRef(!1),h=kd(),y=M.useRef(null),c=M.useRef(null),v=M.useCallback($=>{const{pulsate:C,rippleX:O,rippleY:N,rippleSize:z,cb:W}=$;d(f=>[...f,X.jsx(Id,{classes:{ripple:we(i.ripple,Ie.ripple),rippleVisible:we(i.rippleVisible,Ie.rippleVisible),ripplePulsate:we(i.ripplePulsate,Ie.ripplePulsate),child:we(i.child,Ie.child),childLeaving:we(i.childLeaving,Ie.childLeaving),childPulsate:we(i.childPulsate,Ie.childPulsate)},timeout:Rn,pulsate:C,rippleX:O,rippleY:N,rippleSize:z},m.current)]),m.current+=1,p.current=W},[i]),w=M.useCallback(($={},C={},O=()=>{})=>{const{pulsate:N=!1,center:z=o||C.pulsate,fakeElement:W=!1}=C;if(($==null?void 0:$.type)==="mousedown"&&g.current){g.current=!1;return}($==null?void 0:$.type)==="touchstart"&&(g.current=!0);const f=W?null:c.current,x=f?f.getBoundingClientRect():{width:0,height:0,left:0,top:0};let l,R,_;if(z||$===void 0||$.clientX===0&&$.clientY===0||!$.clientX&&!$.touches)l=Math.round(x.width/2),R=Math.round(x.height/2);else{const{clientX:D,clientY:j}=$.touches&&$.touches.length>0?$.touches[0]:$;l=Math.round(D-x.left),R=Math.round(j-x.top)}if(z)_=Math.sqrt((2*x.width**2+x.height**2)/3),_%2===0&&(_+=1);else{const D=Math.max(Math.abs((f?f.clientWidth:0)-l),l)*2+2,j=Math.max(Math.abs((f?f.clientHeight:0)-R),R)*2+2;_=Math.sqrt(D**2+j**2)}$!=null&&$.touches?y.current===null&&(y.current=()=>{v({pulsate:N,rippleX:l,rippleY:R,rippleSize:_,cb:O})},h.start(_d,()=>{y.current&&(y.current(),y.current=null)})):v({pulsate:N,rippleX:l,rippleY:R,rippleSize:_,cb:O})},[o,v,h]),P=M.useCallback(()=>{w({},{pulsate:!0})},[w]),A=M.useCallback(($,C)=>{if(h.clear(),($==null?void 0:$.type)==="touchend"&&y.current){y.current(),y.current=null,h.start(0,()=>{A($,C)});return}y.current=null,d(O=>O.length>0?O.slice(1):O),p.current=C},[h]);return M.useImperativeHandle(r,()=>({pulsate:P,start:w,stop:A}),[P,w,A]),X.jsx(Nd,{className:we(Ie.root,i.root,a),ref:c,...s,children:X.jsx(to,{component:null,exit:!0,children:u})})});process.env.NODE_ENV!=="production"&&(fa.propTypes={center:S.bool,classes:S.object,className:S.string});function Md(e){return er("MuiButtonBase",e)}const Dd=Jr("MuiButtonBase",["root","disabled","focusVisible"]),Bd=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=Kn({root:["root",t&&"disabled",r&&"focusVisible"]},Md,o);return r&&n&&(a.root+=` ${n}`),a},jd=ot("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Dd.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),da=M.forwardRef(function(t,r){const n=Qr({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:s,component:u="button",disabled:d=!1,disableRipple:m=!1,disableTouchRipple:p=!1,focusRipple:g=!1,focusVisibleClassName:h,LinkComponent:y="a",onBlur:c,onClick:v,onContextMenu:w,onDragLeave:P,onFocus:A,onFocusVisible:$,onKeyDown:C,onKeyUp:O,onMouseDown:N,onMouseLeave:z,onMouseUp:W,onTouchEnd:f,onTouchMove:x,onTouchStart:l,tabIndex:R=0,TouchRippleProps:_,touchRippleRef:D,type:j,...Q}=n,de=M.useRef(null),le=gd(),b=li(le.ref,D),[k,B]=M.useState(!1);d&&k&&B(!1),M.useImperativeHandle(o,()=>({focusVisible:()=>{B(!0),de.current.focus()}}),[]);const F=le.shouldMount&&!m&&!d;M.useEffect(()=>{k&&g&&!m&&le.pulsate()},[m,g,k,le]);const V=Ge(le,"start",N,p),U=Ge(le,"stop",w,p),Y=Ge(le,"stop",P,p),G=Ge(le,"stop",W,p),L=Ge(le,"stop",K=>{k&&K.preventDefault(),z&&z(K)},p),q=Ge(le,"start",l,p),H=Ge(le,"stop",f,p),Ce=Ge(le,"stop",x,p),I=Ge(le,"stop",K=>{ui(K.target)||B(!1),c&&c(K)},!1),Ne=pr(K=>{de.current||(de.current=K.currentTarget),ui(K.target)&&(B(!0),$&&$(K)),A&&A(K)}),Je=()=>{const K=de.current;return u&&u!=="button"&&!(K.tagName==="A"&&K.href)},tr=pr(K=>{g&&!K.repeat&&k&&K.key===" "&&le.stop(K,()=>{le.start(K)}),K.target===K.currentTarget&&Je()&&K.key===" "&&K.preventDefault(),C&&C(K),K.target===K.currentTarget&&Je()&&K.key==="Enter"&&!d&&(K.preventDefault(),v&&v(K))}),ya=pr(K=>{g&&K.key===" "&&k&&!K.defaultPrevented&&le.stop(K,()=>{le.pulsate(K)}),O&&O(K),v&&K.target===K.currentTarget&&Je()&&K.key===" "&&!K.defaultPrevented&&v(K)});let rr=u;rr==="button"&&(Q.href||Q.to)&&(rr=y);const _t={};rr==="button"?(_t.type=j===void 0?"button":j,_t.disabled=d):(!Q.href&&!Q.to&&(_t.role="button"),d&&(_t["aria-disabled"]=d));const ba=li(r,de),no={...n,centerRipple:i,component:u,disabled:d,disableRipple:m,disableTouchRipple:p,focusRipple:g,tabIndex:R,focusVisible:k},va=Bd(no);return X.jsxs(jd,{as:rr,className:we(va.root,s),ownerState:no,onBlur:I,onClick:v,onContextMenu:U,onFocus:Ne,onKeyDown:tr,onKeyUp:ya,onMouseDown:V,onMouseLeave:L,onMouseUp:G,onDragLeave:Y,onTouchEnd:H,onTouchMove:Ce,onTouchStart:q,ref:ba,tabIndex:d?-1:R,type:j,..._t,...Q,children:[a,F?X.jsx(fa,{ref:b,center:i,..._}):null]})});function Ge(e,t,r,n=!1){return pr(o=>(r&&r(o),n||e[t](o),!0))}process.env.NODE_ENV!=="production"&&(da.propTypes={action:dd,centerRipple:S.bool,children:S.node,classes:S.object,className:S.string,component:hd,disabled:S.bool,disableRipple:S.bool,disableTouchRipple:S.bool,focusRipple:S.bool,focusVisibleClassName:S.string,href:S.any,LinkComponent:S.elementType,onBlur:S.func,onClick:S.func,onContextMenu:S.func,onDragLeave:S.func,onFocus:S.func,onFocusVisible:S.func,onKeyDown:S.func,onKeyUp:S.func,onMouseDown:S.func,onMouseLeave:S.func,onMouseUp:S.func,onTouchEnd:S.func,onTouchMove:S.func,onTouchStart:S.func,sx:S.oneOfType([S.arrayOf(S.oneOfType([S.func,S.object,S.bool])),S.func,S.object]),tabIndex:S.number,TouchRippleProps:S.object,touchRippleRef:S.oneOfType([S.func,S.shape({current:S.shape({pulsate:S.func.isRequired,start:S.func.isRequired,stop:S.func.isRequired})})]),type:S.oneOfType([S.oneOf(["button","reset","submit"]),S.string])});function Fd(e){return er("MuiCircularProgress",e)}Jr("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Qe=44,An=Jt`
224
224
  0% {
225
225
  transform: rotate(0deg);
226
226
  }
@@ -247,5 +247,5 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
247
247
  animation: ${An} 1.4s linear infinite;
248
248
  `:null,Ld=typeof Pn!="string"?zn`
249
249
  animation: ${Pn} 1.4s ease-in-out infinite;
250
- `:null,zd=e=>{const{classes:t,variant:r,color:n,disableShrink:o}=e,i={root:["root",r,`color${Ae(n)}`],svg:["svg"],circle:["circle",`circle${Ae(r)}`,o&&"circleDisableShrink"]};return Kn(i,Fd,t)},Ud=ot("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${Ae(r.color)}`]]}})(Cr(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:Vd||{animation:`${An} 1.4s linear infinite`}},...Object.entries(e.palette).filter(kn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),Wd=ot("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),Yd=ot("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${Ae(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(Cr(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:Ld||{animation:`${Pn} 1.4s ease-in-out infinite`}}]}))),pa=M.forwardRef(function(t,r){const n=Qr({props:t,name:"MuiCircularProgress"}),{className:o,color:i="primary",disableShrink:a=!1,size:s=40,style:u,thickness:d=3.6,value:m=0,variant:p="indeterminate",...g}=n,h={...n,color:i,disableShrink:a,size:s,thickness:d,value:m,variant:p},y=zd(h),c={},v={},w={};if(p==="determinate"){const P=2*Math.PI*((Qe-d)/2);c.strokeDasharray=P.toFixed(3),w["aria-valuenow"]=Math.round(m),c.strokeDashoffset=`${((100-m)/100*P).toFixed(3)}px`,v.transform="rotate(-90deg)"}return J.jsx(Ud,{className:we(y.root,o),style:{width:s,height:s,...v,...u},ownerState:h,ref:r,role:"progressbar",...w,...g,children:J.jsx(Wd,{className:y.svg,ownerState:h,viewBox:`${Qe/2} ${Qe/2} ${Qe} ${Qe}`,children:J.jsx(Yd,{className:y.circle,style:c,ownerState:h,cx:Qe,cy:Qe,r:(Qe-d)/2,fill:"none",strokeWidth:d})})})});process.env.NODE_ENV!=="production"&&(pa.propTypes={classes:S.object,className:S.string,color:S.oneOfType([S.oneOf(["inherit","primary","secondary","error","info","success","warning"]),S.string]),disableShrink:Gn(S.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),size:S.oneOfType([S.number,S.string]),style:S.object,sx:S.oneOfType([S.arrayOf(S.oneOfType([S.func,S.object,S.bool])),S.func,S.object]),thickness:S.number,value:S.number,variant:S.oneOf(["determinate","indeterminate"])});function Gd(e){return er("MuiIconButton",e)}const pi=Jr("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),Kd=e=>{const{classes:t,disabled:r,color:n,edge:o,size:i,loading:a}=e,s={root:["root",a&&"loading",r&&"disabled",n!=="default"&&`color${Ae(n)}`,o&&`edge${Ae(o)}`,`size${Ae(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return Kn(s,Gd,t)},qd=ot(da,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.loading&&t.loading,r.color!=="default"&&t[`color${Ae(r.color)}`],r.edge&&t[`edge${Ae(r.edge)}`],t[`size${Ae(r.size)}`]]}})(Cr(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Tn(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Cr(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(kn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(kn()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Tn((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${pi.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${pi.loading}`]:{color:"transparent"}}))),Hd=ot("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),ma=M.forwardRef(function(t,r){const n=Qr({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:a,color:s="default",disabled:u=!1,disableFocusRipple:d=!1,size:m="medium",id:p,loading:g=null,loadingIndicator:h,...y}=n,c=ld(p),v=h??J.jsx(pa,{"aria-labelledby":c,color:"inherit",size:16}),w={...n,edge:o,color:s,disabled:u,disableFocusRipple:d,loading:g,loadingIndicator:v,size:m},P=Kd(w);return J.jsxs(qd,{id:g?c:p,className:we(P.root,a),centerRipple:!0,focusRipple:!d,disabled:u||g,ref:r,...y,ownerState:w,children:[typeof g=="boolean"&&J.jsx("span",{className:P.loadingWrapper,style:{display:"contents"},children:J.jsx(Hd,{className:P.loadingIndicator,ownerState:w,children:g&&v})}),i]})});process.env.NODE_ENV!=="production"&&(ma.propTypes={children:Gn(S.node,e=>M.Children.toArray(e.children).some(r=>M.isValidElement(r)&&r.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 <button> will be responsive to click events."].join(`
251
- `)):null),classes:S.object,className:S.string,color:S.oneOfType([S.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),S.string]),disabled:S.bool,disableFocusRipple:S.bool,disableRipple:S.bool,edge:S.oneOf(["end","start",!1]),id:S.string,loading:S.bool,loadingIndicator:S.node,size:S.oneOfType([S.oneOf(["small","medium","large"]),S.string]),sx:S.oneOfType([S.arrayOf(S.oneOfType([S.func,S.object,S.bool])),S.func,S.object])});function ha(e){const t=()=>{var n;(n=e.onClose)==null||n.call(e)},r=e.sx||{backgroundColor:n=>n.palette.primary.main,color:"#fff"};return J.jsx(J.Fragment,{children:J.jsxs($t.DialogTitle,{"data-testid":"dialog-title",sx:{position:"relative",...r},children:[e.title,J.jsx(ma,{onClick:()=>t(),sx:{position:"absolute",right:8,top:"50%",transform:"translateY(-50%)",color:"#fff"},children:J.jsx(Hl,{})})]})})}const ga=X.createContext(null),Xd=()=>{const e=X.useContext(ga);if(!e)throw new Error("useMessageDialog must be used within a MessageDialogProvider");return e},Jd={okText:"OK",cancelText:"Cancel",alertTitle:"Alert",confirmTitle:"Confirm",errorTitle:"Error"},Qd=e=>{const t={...Jd,...e.settings||{}},r=X.useMemo(()=>({backgroundColor:f=>f.palette.primary.main,color:"#fff"}),[]),[n,o]=X.useState(!1),[i,a]=X.useState(""),[s,u]=X.useState(null),[d,m]=X.useState(!1),[p,g]=X.useState(r),[h,y]=X.useState(t.alertTitle),[c,v]=X.useState(t.okText),[w,P]=X.useState(t.cancelText),A=f=>(a(f||""),o(!0),new Promise(x=>{u(()=>x)})),$=X.useCallback((f,x)=>(y(t.confirmTitle),v((x==null?void 0:x.okText)||t.okText),P((x==null?void 0:x.cancelText)||t.cancelText),m(!0),g(r),A(f)),[r,t]),C=X.useCallback(f=>(y(t.alertTitle),v(t.okText),m(!1),g(r),A(f)),[r,t]),O=X.useCallback(f=>(y(t.errorTitle),v(t.okText),m(!1),g({backgroundColor:x=>x.palette.error.main,color:"#fff"}),A(f)),[t]),N=f=>{o(!1);const x=s;u(null),x==null||x(f)},z=(f,x)=>{x!=="backdropClick"&&N(!1)},W=X.useMemo(()=>({error:O,alert:C,confirm:$}),[O,C,$]);return X.useEffect(()=>{const f=x=>{n&&o(!1)};return window.addEventListener("popstate",f),()=>{window.removeEventListener("popstate",f)}},[n]),J.jsx(J.Fragment,{children:J.jsxs(ga.Provider,{value:W,children:[e.children,J.jsxs($t.Dialog,{"data-testid":"message-dialog",open:n,onClose:z,children:[J.jsx(ha,{title:h,onClose:()=>N(!1),sx:p}),J.jsx($t.DialogContent,{dividers:!0,sx:{whiteSpace:"pre-line"},children:i}),J.jsxs($t.DialogActions,{sx:{display:"flex",justifyContent:"space-between",paddingLeft:3,paddingRight:3},children:[J.jsx("div",{style:{flex:1,display:"flex",justifyContent:d?"flex-start":"center"},children:J.jsx($t.Button,{"data-testid":"message-dialog-ok-button",onClick:()=>N(!0),sx:p,autoFocus:!0,children:c})}),d&&J.jsx("div",{style:{flex:1,display:"flex",justifyContent:"flex-end"},children:J.jsx($t.Button,{"data-testid":"message-dialog-cancel-button",onClick:()=>N(!1),variant:"outlined",children:w})})]})]})]})})};exports.DialogTitleEx=ha;exports.MessageDialogProvider=Qd;exports.useMessageDialog=Xd;
250
+ `:null,zd=e=>{const{classes:t,variant:r,color:n,disableShrink:o}=e,i={root:["root",r,`color${Ae(n)}`],svg:["svg"],circle:["circle",`circle${Ae(r)}`,o&&"circleDisableShrink"]};return Kn(i,Fd,t)},Ud=ot("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${Ae(r.color)}`]]}})(Cr(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:Vd||{animation:`${An} 1.4s linear infinite`}},...Object.entries(e.palette).filter(kn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),Wd=ot("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),Yd=ot("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${Ae(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(Cr(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:Ld||{animation:`${Pn} 1.4s ease-in-out infinite`}}]}))),pa=M.forwardRef(function(t,r){const n=Qr({props:t,name:"MuiCircularProgress"}),{className:o,color:i="primary",disableShrink:a=!1,size:s=40,style:u,thickness:d=3.6,value:m=0,variant:p="indeterminate",...g}=n,h={...n,color:i,disableShrink:a,size:s,thickness:d,value:m,variant:p},y=zd(h),c={},v={},w={};if(p==="determinate"){const P=2*Math.PI*((Qe-d)/2);c.strokeDasharray=P.toFixed(3),w["aria-valuenow"]=Math.round(m),c.strokeDashoffset=`${((100-m)/100*P).toFixed(3)}px`,v.transform="rotate(-90deg)"}return X.jsx(Ud,{className:we(y.root,o),style:{width:s,height:s,...v,...u},ownerState:h,ref:r,role:"progressbar",...w,...g,children:X.jsx(Wd,{className:y.svg,ownerState:h,viewBox:`${Qe/2} ${Qe/2} ${Qe} ${Qe}`,children:X.jsx(Yd,{className:y.circle,style:c,ownerState:h,cx:Qe,cy:Qe,r:(Qe-d)/2,fill:"none",strokeWidth:d})})})});process.env.NODE_ENV!=="production"&&(pa.propTypes={classes:S.object,className:S.string,color:S.oneOfType([S.oneOf(["inherit","primary","secondary","error","info","success","warning"]),S.string]),disableShrink:Gn(S.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),size:S.oneOfType([S.number,S.string]),style:S.object,sx:S.oneOfType([S.arrayOf(S.oneOfType([S.func,S.object,S.bool])),S.func,S.object]),thickness:S.number,value:S.number,variant:S.oneOf(["determinate","indeterminate"])});function Gd(e){return er("MuiIconButton",e)}const pi=Jr("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),Kd=e=>{const{classes:t,disabled:r,color:n,edge:o,size:i,loading:a}=e,s={root:["root",a&&"loading",r&&"disabled",n!=="default"&&`color${Ae(n)}`,o&&`edge${Ae(o)}`,`size${Ae(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return Kn(s,Gd,t)},qd=ot(da,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.loading&&t.loading,r.color!=="default"&&t[`color${Ae(r.color)}`],r.edge&&t[`edge${Ae(r.edge)}`],t[`size${Ae(r.size)}`]]}})(Cr(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Tn(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Cr(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(kn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(kn()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Tn((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${pi.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${pi.loading}`]:{color:"transparent"}}))),Hd=ot("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),ma=M.forwardRef(function(t,r){const n=Qr({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:a,color:s="default",disabled:u=!1,disableFocusRipple:d=!1,size:m="medium",id:p,loading:g=null,loadingIndicator:h,...y}=n,c=ld(p),v=h??X.jsx(pa,{"aria-labelledby":c,color:"inherit",size:16}),w={...n,edge:o,color:s,disabled:u,disableFocusRipple:d,loading:g,loadingIndicator:v,size:m},P=Kd(w);return X.jsxs(qd,{id:g?c:p,className:we(P.root,a),centerRipple:!0,focusRipple:!d,disabled:u||g,ref:r,...y,ownerState:w,children:[typeof g=="boolean"&&X.jsx("span",{className:P.loadingWrapper,style:{display:"contents"},children:X.jsx(Hd,{className:P.loadingIndicator,ownerState:w,children:g&&v})}),i]})});process.env.NODE_ENV!=="production"&&(ma.propTypes={children:Gn(S.node,e=>M.Children.toArray(e.children).some(r=>M.isValidElement(r)&&r.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 <button> will be responsive to click events."].join(`
251
+ `)):null),classes:S.object,className:S.string,color:S.oneOfType([S.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),S.string]),disabled:S.bool,disableFocusRipple:S.bool,disableRipple:S.bool,edge:S.oneOf(["end","start",!1]),id:S.string,loading:S.bool,loadingIndicator:S.node,size:S.oneOfType([S.oneOf(["small","medium","large"]),S.string]),sx:S.oneOfType([S.arrayOf(S.oneOfType([S.func,S.object,S.bool])),S.func,S.object])});function ha(e){const t=()=>{var n;(n=e.onClose)==null||n.call(e)},r=e.sx||{backgroundColor:n=>n.palette.primary.main,color:"#fff"};return X.jsx(X.Fragment,{children:X.jsxs(at.DialogTitle,{"data-testid":"dialog-title",sx:{position:"relative",...r},children:[X.jsx(at.Box,{sx:{position:"absolute",left:"2em",top:"50%",transform:"translateY(-50%)"},children:e.title}),X.jsx(ma,{onClick:()=>t(),sx:{position:"absolute",right:8,top:"50%",transform:"translateY(-50%)",color:"#fff"},children:X.jsx(Hl,{})})]})})}const ga=J.createContext(null),Xd=()=>{const e=J.useContext(ga);if(!e)throw new Error("useMessageDialog must be used within a MessageDialogProvider");return e},Jd={okText:"OK",cancelText:"Cancel",alertTitle:"Alert",confirmTitle:"Confirm",errorTitle:"Error"},Qd=e=>{const t={...Jd,...e.settings||{}},r=J.useMemo(()=>({backgroundColor:f=>f.palette.primary.main,color:"#fff"}),[]),[n,o]=J.useState(!1),[i,a]=J.useState(""),[s,u]=J.useState(null),[d,m]=J.useState(!1),[p,g]=J.useState(r),[h,y]=J.useState(t.alertTitle),[c,v]=J.useState(t.okText),[w,P]=J.useState(t.cancelText),A=f=>(a(f||""),o(!0),new Promise(x=>{u(()=>x)})),$=J.useCallback((f,x)=>(y(t.confirmTitle),v((x==null?void 0:x.okText)||t.okText),P((x==null?void 0:x.cancelText)||t.cancelText),m(!0),g(r),A(f)),[r,t]),C=J.useCallback(f=>(y(t.alertTitle),v(t.okText),m(!1),g(r),A(f)),[r,t]),O=J.useCallback(f=>(y(t.errorTitle),v(t.okText),m(!1),g({backgroundColor:x=>x.palette.error.main,color:"#fff"}),A(f)),[t]),N=f=>{o(!1);const x=s;u(null),x==null||x(f)},z=(f,x)=>{x!=="backdropClick"&&N(!1)},W=J.useMemo(()=>({error:O,alert:C,confirm:$}),[O,C,$]);return J.useEffect(()=>{const f=x=>{n&&o(!1)};return window.addEventListener("popstate",f),()=>{window.removeEventListener("popstate",f)}},[n]),X.jsx(X.Fragment,{children:X.jsxs(ga.Provider,{value:W,children:[e.children,X.jsxs(at.Dialog,{"data-testid":"message-dialog",open:n,onClose:z,children:[X.jsx(ha,{title:h,onClose:()=>N(!1),sx:p}),X.jsx(at.DialogContent,{dividers:!0,sx:{whiteSpace:"pre-line"},children:i}),X.jsxs(at.DialogActions,{sx:{display:"flex",justifyContent:"space-between",paddingLeft:3,paddingRight:3},children:[X.jsx("div",{style:{flex:1,display:"flex",justifyContent:d?"flex-start":"center"},children:X.jsx(at.Button,{"data-testid":"message-dialog-ok-button",onClick:()=>N(!0),sx:p,autoFocus:!0,children:c})}),d&&X.jsx("div",{style:{flex:1,display:"flex",justifyContent:"flex-end"},children:X.jsx(at.Button,{"data-testid":"message-dialog-cancel-button",onClick:()=>N(!1),variant:"outlined",children:w})})]})]})]})})};exports.DialogTitleEx=ha;exports.MessageDialogProvider=Qd;exports.useMessageDialog=Xd;