96?Qt:$t},tn=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return typeof r!=`function`&&n&&(r=e.__emotion_forwardProp),r},nn=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return gt(t,n,r),Ft(function(){return _t(t,n,r)}),null},rn=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,o;n!==void 0&&(a=n.label,o=n.target);var s=tn(t,n,r),c=s||en(i),l=!c(`as`);return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&d.push(`label:`+a+`;`),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var f=u[0];d.push(f[0]);for(var p=u.length,m=1;m{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),N=o(((e,t)=>{t.exports=sn()}))();function cn(e){return e==null||Object.keys(e).length===0}function ln(e){let{styles:t,defaultTheme:n={}}=e;return(0,N.jsx)(Kt,{styles:typeof t==`function`?e=>t(cn(e)?n:e):t})}function un(e,t){return on(e,t)}function dn(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var fn=[];function pn(e){return fn[0]=e,Mt(fn)}var mn=o((e=>{var t=Symbol.for(`react.fragment`),n=Symbol.for(`react.strict_mode`),r=Symbol.for(`react.profiler`),i=Symbol.for(`react.consumer`),a=Symbol.for(`react.context`),o=Symbol.for(`react.forward_ref`),s=Symbol.for(`react.suspense`),c=Symbol.for(`react.suspense_list`),l=Symbol.for(`react.memo`),u=Symbol.for(`react.lazy`),d=Symbol.for(`react.client.reference`);e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===t||e===r||e===n||e===s||e===c||typeof e==`object`&&e&&(e.$$typeof===u||e.$$typeof===l||e.$$typeof===a||e.$$typeof===i||e.$$typeof===o||e.$$typeof===d||e.getModuleId!==void 0))}})),hn=o(((e,t)=>{t.exports=mn()}))();function gn(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function _n(e){if(M.isValidElement(e)||(0,hn.isValidElementType)(e)||!gn(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=_n(e[n])}),t}function vn(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return gn(e)&&gn(t)&&Object.keys(t).forEach(i=>{M.isValidElement(t[i])||(0,hn.isValidElementType)(t[i])?r[i]=t[i]:gn(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&gn(e[i])?r[i]=vn(e[i],t[i],n):n.clone?r[i]=gn(t[i])?_n(t[i]):t[i]:r[i]=t[i]}),r}var yn=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};function bn(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=yn(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1e.startsWith(`@container`)).sort((e,t)=>{let n=/min-width:\s*([0-9.]+)/;return(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{let r=t[n];return delete e[n],e[n]=r,e},{...t}):t}function Sn(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function Cn(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function wn(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var Tn={borderRadius:4};function En(e,t){return t?vn(e,t,{clone:!1}):e}var Dn={xs:0,sm:600,md:900,lg:1200,xl:1536},On={keys:[`xs`,`sm`,`md`,`lg`,`xl`],up:e=>`@media (min-width:${Dn[e]}px)`},kn={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:Dn[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function An(e,t,n){let r=e.theme||{};if(Array.isArray(t)){let e=r.breakpoints||On;return t.reduce((r,i,a)=>(r[e.up(e.keys[a])]=n(t[a]),r),{})}if(typeof t==`object`){let e=r.breakpoints||On;return Object.keys(t).reduce((i,a)=>{if(Sn(e.keys,a)){let e=Cn(r.containerQueries?r:kn,a);e&&(i[e]=n(t[a],a))}else if(Object.keys(e.values||Dn).includes(a)){let r=e.up(a);i[r]=n(t[a],a)}else{let e=a;i[e]=t[e]}return i},{})}return n(t)}function jn(e={}){return e.keys?.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{})||{}}function Mn(e,t){return e.reduce((e,t)=>{let n=e[t];return(!n||Object.keys(n).length===0)&&delete e[t],e},t)}function Nn(e){if(typeof e!=`string`)throw Error(ee(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Pn(e,t,n=!0){if(!t||typeof t!=`string`)return null;if(e&&e.vars&&n){let n=`vars.${t}`.split(`.`).reduce((e,t)=>e&&e[t]?e[t]:null,e);if(n!=null)return n}return t.split(`.`).reduce((e,t)=>e&&e[t]!=null?e[t]:null,e)}function Fn(e,t,n,r=n){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||r:Pn(e,n)||r,t&&(i=t(i,r,e)),i}function In(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=Pn(o,r)||{};return An(e,a,e=>{let r=Fn(s,i,e);return e===r&&typeof e==`string`&&(r=Fn(s,i,`${t}${e==="default"?``:Nn(e)}`,e)),n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}function Ln(e){let t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var Rn={m:`margin`,p:`padding`},zn={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Bn={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},Vn=Ln(e=>{if(e.length>2)if(Bn[e])e=Bn[e];else return[e];let[t,n]=e.split(``),r=Rn[t],i=zn[n]||``;return Array.isArray(i)?i.map(e=>r+e):[r+i]}),Hn=[`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`],Un=[`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`],Wn=[...Hn,...Un];function Gn(e,t,n,r){let i=Pn(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if(typeof e==`string`)return e;let t=i[Math.abs(e)];return e>=0?t:typeof t==`number`?-t:typeof t==`string`&&t.startsWith(`var(`)?`calc(-1 * ${t})`:`-${t}`}:typeof i==`function`?i:()=>void 0}function Kn(e){return Gn(e,`spacing`,8,`spacing`)}function qn(e,t){return typeof t==`string`||t==null?t:e(t)}function Jn(e,t){return n=>e.reduce((e,r)=>(e[r]=qn(t,n),e),{})}function Yn(e,t,n,r){if(!t.includes(n))return null;let i=Jn(Vn(n),r),a=e[n];return An(e,a,i)}function Xn(e,t){let n=Kn(e.theme);return Object.keys(e).map(r=>Yn(e,t,r,n)).reduce(En,{})}function Zn(e){return Xn(e,Hn)}Zn.propTypes={},Zn.filterProps=Hn;function P(e){return Xn(e,Un)}P.propTypes={},P.filterProps=Un;function Qn(e){return Xn(e,Wn)}Qn.propTypes={},Qn.filterProps=Wn;function $n(e=8,t=Kn({spacing:e})){if(e.mui)return e;let n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}function er(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?En(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function tr(e){return typeof e==`number`?`${e}px solid`:e}function nr(e,t){return In({prop:e,themeKey:`borders`,transform:t})}var rr=nr(`border`,tr),ir=nr(`borderTop`,tr),ar=nr(`borderRight`,tr),or=nr(`borderBottom`,tr),sr=nr(`borderLeft`,tr),cr=nr(`borderColor`),lr=nr(`borderTopColor`),ur=nr(`borderRightColor`),dr=nr(`borderBottomColor`),fr=nr(`borderLeftColor`),pr=nr(`outline`,tr),mr=nr(`outlineColor`),hr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=Gn(e.theme,`shape.borderRadius`,4,`borderRadius`);return An(e,e.borderRadius,e=>({borderRadius:qn(t,e)}))}return null};hr.propTypes={},hr.filterProps=[`borderRadius`],er(rr,ir,ar,or,sr,cr,lr,ur,dr,fr,hr,pr,mr);var gr=e=>{if(e.gap!==void 0&&e.gap!==null){let t=Gn(e.theme,`spacing`,8,`gap`);return An(e,e.gap,e=>({gap:qn(t,e)}))}return null};gr.propTypes={},gr.filterProps=[`gap`];var _r=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=Gn(e.theme,`spacing`,8,`columnGap`);return An(e,e.columnGap,e=>({columnGap:qn(t,e)}))}return null};_r.propTypes={},_r.filterProps=[`columnGap`];var vr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=Gn(e.theme,`spacing`,8,`rowGap`);return An(e,e.rowGap,e=>({rowGap:qn(t,e)}))}return null};vr.propTypes={},vr.filterProps=[`rowGap`],er(gr,_r,vr,In({prop:`gridColumn`}),In({prop:`gridRow`}),In({prop:`gridAutoFlow`}),In({prop:`gridAutoColumns`}),In({prop:`gridAutoRows`}),In({prop:`gridTemplateColumns`}),In({prop:`gridTemplateRows`}),In({prop:`gridTemplateAreas`}),In({prop:`gridArea`}));function yr(e,t){return t===`grey`?t:e}er(In({prop:`color`,themeKey:`palette`,transform:yr}),In({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:yr}),In({prop:`backgroundColor`,themeKey:`palette`,transform:yr}));function br(e){return e<=1&&e!==0?`${e*100}%`:e}var xr=In({prop:`width`,transform:br}),Sr=e=>e.maxWidth!==void 0&&e.maxWidth!==null?An(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||Dn[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:br(t)}}):null;Sr.filterProps=[`maxWidth`];var Cr=In({prop:`minWidth`,transform:br}),wr=In({prop:`height`,transform:br}),Tr=In({prop:`maxHeight`,transform:br}),Er=In({prop:`minHeight`,transform:br});In({prop:`size`,cssProperty:`width`,transform:br}),In({prop:`size`,cssProperty:`height`,transform:br}),er(xr,Sr,Cr,wr,Tr,Er,In({prop:`boxSizing`}));var Dr={border:{themeKey:`borders`,transform:tr},borderTop:{themeKey:`borders`,transform:tr},borderRight:{themeKey:`borders`,transform:tr},borderBottom:{themeKey:`borders`,transform:tr},borderLeft:{themeKey:`borders`,transform:tr},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:tr},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:hr},color:{themeKey:`palette`,transform:yr},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:yr},backgroundColor:{themeKey:`palette`,transform:yr},p:{style:P},pt:{style:P},pr:{style:P},pb:{style:P},pl:{style:P},px:{style:P},py:{style:P},padding:{style:P},paddingTop:{style:P},paddingRight:{style:P},paddingBottom:{style:P},paddingLeft:{style:P},paddingX:{style:P},paddingY:{style:P},paddingInline:{style:P},paddingInlineStart:{style:P},paddingInlineEnd:{style:P},paddingBlock:{style:P},paddingBlockStart:{style:P},paddingBlockEnd:{style:P},m:{style:Zn},mt:{style:Zn},mr:{style:Zn},mb:{style:Zn},ml:{style:Zn},mx:{style:Zn},my:{style:Zn},margin:{style:Zn},marginTop:{style:Zn},marginRight:{style:Zn},marginBottom:{style:Zn},marginLeft:{style:Zn},marginX:{style:Zn},marginY:{style:Zn},marginInline:{style:Zn},marginInlineStart:{style:Zn},marginInlineEnd:{style:Zn},marginBlock:{style:Zn},marginBlockStart:{style:Zn},marginBlockEnd:{style:Zn},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:gr},rowGap:{style:vr},columnGap:{style:_r},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:br},maxWidth:{style:Sr},minWidth:{transform:br},height:{transform:br},maxHeight:{transform:br},minHeight:{transform:br},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 Or(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}function kr(e,t){return typeof e==`function`?e(t):e}function Ar(){function e(e,t,n,r){let i={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};let{cssProperty:o=e,themeKey:s,transform:c,style:l}=a;if(t==null)return null;if(s===`typography`&&t===`inherit`)return{[e]:t};let u=Pn(n,s)||{};return l?l(i):An(i,t,t=>{let n=Fn(u,c,t);return t===n&&typeof t==`string`&&(n=Fn(u,c,`${e}${t==="default"?``:Nn(t)}`,t)),o===!1?n:{[o]:n}})}function t(n){let{sx:r,theme:i={},nested:a}=n||{};if(!r)return null;let o=i.unstable_sxConfig??Dr;function s(n){let r=n;if(typeof n==`function`)r=n(i);else if(typeof n!=`object`)return n;if(!r)return null;let s=jn(i.breakpoints),c=Object.keys(s),l=s;return Object.keys(r).forEach(n=>{let a=kr(r[n],i);if(a!=null)if(typeof a==`object`)if(o[n])l=En(l,e(n,a,i,o));else{let e=An({theme:i},a,e=>({[n]:e}));Or(e,a)?l[n]=t({sx:a,theme:i,nested:!0}):l=En(l,e)}else l=En(l,e(n,a,i,o))}),!a&&i.modularCssLayers?{"@layer sx":xn(i,Mn(c,l))}:xn(i,Mn(c,l))}return Array.isArray(r)?r.map(s):s(r)}return t}var jr=Ar();jr.filterProps=[`sx`];function Mr(e,t){let n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!=`function`)return{};let r=n.getColorSchemeSelector(e);return r===`&`?t:((r.includes(`data-`)||r.includes(`.`))&&(r=`*:where(${r.replace(/\s*&$/,``)}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function Nr(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=bn(n),c=$n(i),l=vn({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...Tn,...a}},o);return l=wn(l),l.applyStyles=Mr,l=t.reduce((e,t)=>vn(e,t),l),l.unstable_sxConfig={...Dr,...o?.unstable_sxConfig},l.unstable_sx=function(e){return jr({sx:e,theme:this})},l}function Pr(e){return Object.keys(e).length===0}function Fr(e=null){let t=M.useContext(zt);return!t||Pr(t)?e:t}var Ir=Nr();function Lr(e=Ir){return Fr(e)}function Rr(e){let t=pn(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function zr({styles:e,themeId:t,defaultTheme:n={}}){let r=Lr(n),i=t&&r[t]||r,a=typeof e==`function`?e(i):e;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>Rr(typeof e==`function`?e(i):e)):Rr(a)),(0,N.jsx)(ln,{styles:a})}var Br=e=>{let t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??Dr;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t};function Vr(e){let{sx:t,...n}=e,{systemProps:r,otherProps:i}=Br(n),a;return a=Array.isArray(t)?[r,...t]:typeof t==`function`?(...e)=>{let n=t(...e);return gn(n)?{...r,...n}:r}:{...r,...t},{...i,sx:a}}var Hr=e=>e,Ur=(()=>{let e=Hr;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Hr}}})();function Wr(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;te!==`theme`&&e!==`sx`&&e!==`as`})(jr);return M.forwardRef(function(e,o){let s=Lr(n),{className:c,component:l=`div`,...u}=Vr(e);return(0,N.jsx)(a,{as:l,ref:o,className:Gr(c,i?i(r):r),theme:t&&s[t]||s,...u})})}var qr={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 Jr(e,t,n=`Mui`){let r=qr[t];return r?`${n}-${r}`:`${Ur.generate(e)}-${t}`}function Yr(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=Jr(e,t,n)}),r}function Xr(e){let{variants:t,...n}=e,r={variants:t,style:pn(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=pn(e.style))}),r}var Zr=Nr();function Qr(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function $r(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function ei(e){return e?(t,n)=>n[e]:null}function ti(e,t,n){e.theme=ai(e.theme)?n:e.theme[t]||e.theme}function ni(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>ni(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?$r(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?$r(pn(i),n):i}return ri(e,r.variants,[t],n)}return r?.isProcessed?n?$r(pn(r.style),n):r.style:n?$r(pn(r),n):r}function ri(e,t,n=[],r=void 0){let i;variantLoop:for(let a=0;a{dn(e,e=>e.filter(e=>e!==jr));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=ei(si(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,f=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,p=c||!1,m=Qr;o===`Root`||o===`root`?m=r:o?m=i:oi(e)&&(m=void 0);let h=un(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return ni(t,e,t.theme.modularCssLayers?d:void 0)};if(gn(e)){let t=Xr(e);return function(e){return t.variants?ni(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?$r(t.style,d):t.style}}return e},_=(...t)=>{let r=[],i=t.map(g),o=[];if(r.push(a),n&&l&&o.push(function(e){let t=e.theme.components?.[n]?.styleOverrides;if(!t)return null;let r={};for(let n in t)r[n]=ni(e,t[n],e.theme.modularCssLayers?`theme`:void 0);return l(e,r)}),n&&!f&&o.push(function(e){let t=e.theme?.components?.[n]?.variants;return t?ri(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(jr),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(o.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let s=h(...r,...i,...o);return e.muiName&&(s.muiName=e.muiName),s};return h.withConfig&&(_.withConfig=h.withConfig),_}}function ai(e){for(let t in e)return!1;return!0}function oi(e){return typeof e==`string`&&e.charCodeAt(0)>96}function si(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function ci(e,t,n=!1){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if(a===`components`||a===`slots`)r[a]={...e[a],...r[a]};else if(a===`componentsProps`||a===`slotProps`){let i=e[a],o=t[a];if(!o)r[a]=i||{};else if(!i)r[a]=o;else{r[a]={...o};for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e;r[a][t]=ci(i[t],o[t],n)}}}else a===`className`&&n&&t.className?r.className=Gr(e?.className,t?.className):a===`style`&&n&&t.style?r.style={...e?.style,...t?.style}:r[a]===void 0&&(r[a]=e[a])}return r}var li=typeof window<`u`?M.useLayoutEffect:M.useEffect;function ui(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function di(e,t=0,n=1){return ui(e,t,n)}function fi(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),n?`rgb${n.length===4?`a`:``}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function pi(e){if(e.type)return e;if(e.charAt(0)===`#`)return pi(fi(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(ee(9,e));let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=r.shift(),r.length===4&&r[3].charAt(0)===`/`&&(r[3]=r[3].slice(1)),![`srgb`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec-2020`].includes(i))throw Error(ee(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var mi=e=>{let t=pi(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},hi=(e,t)=>{try{return mi(e)}catch{return e}};function gi(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function _i(e){e=pi(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),gi({type:s,values:c})}function vi(e){e=pi(e);let t=e.type===`hsl`||e.type===`hsla`?pi(_i(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function yi(e,t){let n=vi(e),r=vi(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function bi(e,t){return e=pi(e),t=di(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,gi(e)}function xi(e,t,n){try{return bi(e,t)}catch{return e}}function Si(e,t){if(e=pi(e),t=di(t),e.type.includes(`hsl`))e.values[2]*=1-t;else if(e.type.includes(`rgb`)||e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return gi(e)}function F(e,t,n){try{return Si(e,t)}catch{return e}}function Ci(e,t){if(e=pi(e),t=di(t),e.type.includes(`hsl`))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes(`rgb`))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return gi(e)}function I(e,t,n){try{return Ci(e,t)}catch{return e}}function wi(e,t=.15){return vi(e)>.5?Si(e,t):Ci(e,t)}function Ti(e,t,n){try{return wi(e,t)}catch{return e}}var Ei=M.createContext(),Di=()=>M.useContext(Ei)??!1,Oi=M.createContext(void 0);function ki(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?ci(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?ci(i,r,t.components.mergeClassNameAndStyle):r}function Ai({props:e,name:t}){return ki({props:e,name:t,theme:{components:M.useContext(Oi)}})}var ji=0;function Mi(e){let[t,n]=M.useState(e),r=e||t;return M.useEffect(()=>{t??(ji+=1,n(`mui-${ji}`))},[t]),r}var Ni={...M}.useId;function Pi(e){if(Ni!==void 0){let t=Ni();return e??t}return Mi(e)}var Fi={theme:void 0};function L(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(Fi.theme=r.theme,i=Xr(e(Fi)),t=i,n=r.theme),i}}function R(e=``){function t(...n){if(!n.length)return``;let r=n[0];return typeof r==`string`&&!r.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}-`:``}${r}${t(...n.slice(1))})`:`, ${r}`}return(n,...r)=>`var(--${e?`${e}-`:``}${n}${t(...r)})`}var Ii=(e,t,n,r=[])=>{let i=e;t.forEach((e,a)=>{a===t.length-1?Array.isArray(i)?i[Number(e)]=n:i&&typeof i==`object`&&(i[e]=n):i&&typeof i==`object`&&(i[e]||(i[e]=r.includes(e)?[]:{}),i=i[e])})},Li=(e,t,n)=>{function r(e,i=[],a=[]){Object.entries(e).forEach(([e,o])=>{(!n||n&&!n([...i,e]))&&o!=null&&(typeof o==`object`&&Object.keys(o).length>0?r(o,[...i,e],Array.isArray(o)?[...a,e]:a):t([...i,e],o,a))})}r(e)},Ri=(e,t)=>typeof t==`number`?[`lineHeight`,`fontWeight`,`opacity`,`zIndex`].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes(`opacity`)?t:`${t}px`:t;function zi(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},a={},o={};return Li(e,(e,t,s)=>{if((typeof t==`string`||typeof t==`number`)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:``}${e.join(`-`)}`,c=Ri(e,t);Object.assign(i,{[r]:c}),Ii(a,e,`var(${r})`,s),Ii(o,e,`var(${r}, ${c})`,s)}},e=>e[0]===`vars`),{css:i,vars:a,varsWithDefaults:o}}function Bi(e,t={}){let{getSelector:n=_,disableCssColorScheme:r,colorSchemeSelector:i,enableContrastVars:a}=t,{colorSchemes:o={},components:s,defaultColorScheme:c=`light`,...l}=e,{vars:u,css:d,varsWithDefaults:f}=zi(l,t),p=f,m={},{[c]:h,...g}=o;if(Object.entries(g||{}).forEach(([e,n])=>{let{vars:r,css:i,varsWithDefaults:a}=zi(n,t);p=vn(p,a),m[e]={css:i,vars:r}}),h){let{css:e,vars:n,varsWithDefaults:r}=zi(h,t);p=vn(p,r),m[c]={css:e,vars:n}}function _(t,n){let r=i;if(i===`class`&&(r=`.%s`),i===`data`&&(r=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(r=`[${i}="%s"]`),t){if(r===`media`)return e.defaultColorScheme===t?`:root`:{[`@media (prefers-color-scheme: ${o[t]?.palette?.mode||t})`]:{":root":n}};if(r)return e.defaultColorScheme===t?`:root, ${r.replace(`%s`,String(t))}`:r.replace(`%s`,String(t))}return`:root`}return{vars:p,generateThemeVars:()=>{let e={...u};return Object.entries(m).forEach(([,{vars:t}])=>{e=vn(e,t)}),e},generateStyleSheets:()=>{let t=[],i=e.defaultColorScheme||`light`;function s(e,n){Object.keys(n).length&&t.push(typeof e==`string`?{[e]:{...n}}:e)}s(n(void 0,{...d}),d);let{[i]:c,...l}=m;if(c){let{css:e}=c,t=o[i]?.palette?.mode,a=!r&&t?{colorScheme:t,...e}:{...e};s(n(i,{...a}),a)}return Object.entries(l).forEach(([e,{css:t}])=>{let i=o[e]?.palette?.mode,a=!r&&i?{colorScheme:i,...t}:{...t};s(n(e,{...a}),a)}),a&&t.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)`}}),t}}}function Vi(e){return function(t){return e===`media`?`@media (prefers-color-scheme: ${t})`:e?e.startsWith(`data-`)&&!e.includes(`%s`)?`[${e}="${t}"] &`:e===`class`?`.${t} &`:e===`data`?`[data-${t}] &`:`${e.replace(`%s`,t)} &`:`&`}}function Hi(e,t,n=void 0){let r={};for(let i in e){let a=e[i],o=``,s=!0;for(let e=0;e=n?Ki.text.primary:Wi.text.primary}let p=({color:e,name:t,mainShade:n=500,lightShade:a=300,darkShade:o=700})=>{if(e={...e},!e.main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty(`main`))throw Error(ee(11,t?` (${t})`:``,n));if(typeof e.main!=`string`)throw Error(ee(12,t?` (${t})`:``,JSON.stringify(e.main)));return i?(Ji(i,e,`light`,a,r),Ji(i,e,`dark`,o,r)):(qi(e,`light`,a,r),qi(e,`dark`,o,r)),e.contrastText||=f(e.main),e},m;return t===`light`?m=Ui():t===`dark`&&(m=Gi()),vn({common:{..._},mode:t,primary:p({color:o,name:`primary`}),secondary:p({color:s,name:`secondary`,mainShade:`A400`,lightShade:`A200`,darkShade:`A700`}),error:p({color:c,name:`error`}),warning:p({color:d,name:`warning`}),info:p({color:l,name:`info`}),success:p({color:u,name:`success`}),grey:w,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...m},a)}function ra(e){let t={};return Object.entries(e).forEach(e=>{let[n,r]=e;typeof r==`object`&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:``}${r.fontVariant?`${r.fontVariant} `:``}${r.fontWeight?`${r.fontWeight} `:``}${r.fontStretch?`${r.fontStretch} `:``}${r.fontSize||``}${r.lineHeight?`/${r.lineHeight} `:``}${r.fontFamily||``}`)}),t}function ia(e,t){return{toolbar:{minHeight:56,[e.up(`xs`)]:{"@media (orientation: landscape)":{minHeight:48}},[e.up(`sm`)]:{minHeight:64}},...t}}function aa(e){return Math.round(e*1e5)/1e5}var oa={textTransform:`uppercase`},sa=`"Roboto", "Helvetica", "Arial", sans-serif`;function ca(e,t){let{fontFamily:n=sa,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:o=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:l,pxToRem:u,...d}=typeof t==`function`?t(e):t,f=r/14,p=u||(e=>`${e/c*f}rem`),m=(e,t,r,i,a)=>({fontFamily:n,fontWeight:e,fontSize:p(t),lineHeight:r,...n===sa?{letterSpacing:`${aa(i/t)}em`}:{},...a,...l});return vn({htmlFontSize:c,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:o,fontWeightBold:s,h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(o,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(o,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(o,14,1.75,.4,oa),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,oa),inherit:{fontFamily:`inherit`,fontWeight:`inherit`,fontSize:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},d,{clone:!1})}var la=.2,ua=.14,da=.12;function z(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${la})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ua})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${da})`].join(`,`)}var fa=[`none`,z(0,2,1,-1,0,1,1,0,0,1,3,0),z(0,3,1,-2,0,2,2,0,0,1,5,0),z(0,3,3,-2,0,3,4,0,0,1,8,0),z(0,2,4,-1,0,4,5,0,0,1,10,0),z(0,3,5,-1,0,5,8,0,0,1,14,0),z(0,3,5,-1,0,6,10,0,0,1,18,0),z(0,4,5,-2,0,7,10,1,0,2,16,1),z(0,5,5,-3,0,8,10,1,0,3,14,2),z(0,5,6,-3,0,9,12,1,0,3,16,2),z(0,6,6,-3,0,10,14,1,0,4,18,3),z(0,6,7,-4,0,11,15,1,0,4,20,3),z(0,7,8,-4,0,12,17,2,0,5,22,4),z(0,7,8,-4,0,13,19,2,0,5,24,4),z(0,7,9,-4,0,14,21,2,0,5,26,4),z(0,8,9,-5,0,15,22,2,0,6,28,5),z(0,8,10,-5,0,16,24,2,0,6,30,5),z(0,8,11,-5,0,17,26,2,0,6,32,5),z(0,9,11,-5,0,18,28,2,0,7,34,6),z(0,9,12,-6,0,19,29,2,0,7,36,6),z(0,10,13,-6,0,20,31,3,0,8,38,7),z(0,10,13,-6,0,21,33,3,0,8,40,7),z(0,10,14,-6,0,22,35,3,0,8,42,7),z(0,11,14,-7,0,23,36,3,0,9,44,8),z(0,11,15,-7,0,24,38,3,0,9,46,8)],pa={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)`},ma={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ha(e){return`${Math.round(e)}ms`}function ga(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function _a(e){let t={...pa,...e.easing},n={...ma,...e.duration};return{getAutoHeightDuration:ga,create:(e=[`all`],r={})=>{let{duration:i=n.standard,easing:a=t.easeInOut,delay:o=0,...s}=r;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${typeof i==`string`?i:ha(i)} ${a} ${typeof o==`string`?o:ha(o)}`).join(`,`)},...e,easing:t,duration:n}}var va={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function ya(e){return gn(e)||e===void 0||typeof e==`string`||typeof e==`boolean`||typeof e==`number`||Array.isArray(e)}function ba(e={}){let t={...e};function n(e){let t=Object.entries(e);for(let r=0;r{if(!Number.isNaN(+e))return+e;let t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let e=0;evn(e,t),p),p.unstable_sxConfig={...Dr,...u?.unstable_sxConfig},p.unstable_sx=function(e){return jr({sx:e,theme:this})},p.toRuntimeSource=ba,Ca(p),p}function Ta(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var Ea=[...Array(25)].map((e,t)=>{if(t===0)return`none`;let n=Ta(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Da(e){return{inputPlaceholder:e===`dark`?.5:.42,inputUnderline:e===`dark`?.7:.42,switchTrackDisabled:e===`dark`?.2:.12,switchTrack:e===`dark`?.3:.38}}function Oa(e){return e===`dark`?Ea:[]}function ka(e){let{palette:t={mode:`light`},opacity:n,overlays:r,colorSpace:i,...a}=e,o=na({...t,colorSpace:i});return{palette:o,opacity:{...Da(o.mode),...n},overlays:r||Oa(o.mode),...a}}function Aa(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]===`palette`&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var ja=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:``}overlays-${n}`),`--${e?`${e}-`:``}palette-AppBar-darkBg`,`--${e?`${e}-`:``}palette-AppBar-darkColor`],Ma=e=>(t,n)=>{let r=e.rootSelector||`:root`,i=e.colorSchemeSelector,a=i;if(i===`class`&&(a=`.%s`),i===`data`&&(a=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(a=`[${i}="%s"]`),e.defaultColorScheme===t){if(t===`dark`){let i={};return ja(e.cssVarPrefix).forEach(e=>{i[e]=n[e],delete n[e]}),a===`media`?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:a?{[a.replace(`%s`,t)]:i,[`${r}, ${a.replace(`%s`,t)}`]:n}:{[r]:{...n,...i}}}if(a&&a!==`media`)return`${r}, ${a.replace(`%s`,String(t))}`}else if(t){if(a===`media`)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace(`%s`,String(t))}return r};function Na(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function B(e,t,n){!e[t]&&n&&(e[t]=n)}function Pa(e){return typeof e!=`string`||!e.startsWith(`hsl`)?e:_i(e)}function Fa(e,t){`${t}Channel`in e||(e[`${t}Channel`]=hi(Pa(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
-To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Ia(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var La=e=>{try{return e()}catch{}},Ra=(e=`mui`)=>R(e);function za(e,t,n,r,i){if(!n)return;n=n===!0?{}:n;let a=i===`dark`?`dark`:`light`;if(!r){t[i]=ka({...n,palette:{mode:a,...n?.palette},colorSpace:e});return}let{palette:o,...s}=wa({...r,palette:{mode:a,...n?.palette},colorSpace:e});return t[i]={...n,palette:o,opacity:{...Da(a),...n?.opacity},overlays:n?.overlays||Oa(a)},s}function Ba(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,nativeColor:o=!1,shouldSkipGeneratingVar:s=Aa,colorSchemeSelector:c=n.light&&n.dark?`media`:void 0,rootSelector:l=`:root`,...u}=e,d=Object.keys(n)[0],f=r||(n.light&&d!==`light`?`light`:d),p=Ra(a),{[f]:m,light:h,dark:g,..._}=n,v={..._},y=m;if((f===`dark`&&!(`dark`in n)||f===`light`&&!(`light`in n))&&(y=!0),!y)throw Error(ee(21,f));let b;o&&(b=`oklch`);let x=za(b,v,y,u,f);h&&!v.light&&za(b,v,h,void 0,`light`),g&&!v.dark&&za(b,v,g,void 0,`dark`);let S={defaultColorScheme:f,...x,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:l,getCssVar:p,colorSchemes:v,font:{...ra(x.typography),...x.font},spacing:Ia(u.spacing)};Object.keys(S.colorSchemes).forEach(e=>{let t=S.colorSchemes[e].palette,n=e=>{let n=e.split(`-`),r=n[1],i=n[2];return p(e,t[r][i])};t.mode===`light`&&(B(t.common,`background`,`#fff`),B(t.common,`onBackground`,`#000`)),t.mode===`dark`&&(B(t.common,`background`,`#000`),B(t.common,`onBackground`,`#fff`));function r(e,t,n){if(b){let r;return e===xi&&(r=`transparent ${((1-n)*100).toFixed(0)}%`),e===F&&(r=`#000 ${(n*100).toFixed(0)}%`),e===I&&(r=`#fff ${(n*100).toFixed(0)}%`),`color-mix(in ${b}, ${t}, ${r})`}return e(t,n)}if(Na(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){B(t.Alert,`errorColor`,r(F,t.error.light,.6)),B(t.Alert,`infoColor`,r(F,t.info.light,.6)),B(t.Alert,`successColor`,r(F,t.success.light,.6)),B(t.Alert,`warningColor`,r(F,t.warning.light,.6)),B(t.Alert,`errorFilledBg`,n(`palette-error-main`)),B(t.Alert,`infoFilledBg`,n(`palette-info-main`)),B(t.Alert,`successFilledBg`,n(`palette-success-main`)),B(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),B(t.Alert,`errorFilledColor`,La(()=>t.getContrastText(t.error.main))),B(t.Alert,`infoFilledColor`,La(()=>t.getContrastText(t.info.main))),B(t.Alert,`successFilledColor`,La(()=>t.getContrastText(t.success.main))),B(t.Alert,`warningFilledColor`,La(()=>t.getContrastText(t.warning.main))),B(t.Alert,`errorStandardBg`,r(I,t.error.light,.9)),B(t.Alert,`infoStandardBg`,r(I,t.info.light,.9)),B(t.Alert,`successStandardBg`,r(I,t.success.light,.9)),B(t.Alert,`warningStandardBg`,r(I,t.warning.light,.9)),B(t.Alert,`errorIconColor`,n(`palette-error-main`)),B(t.Alert,`infoIconColor`,n(`palette-info-main`)),B(t.Alert,`successIconColor`,n(`palette-success-main`)),B(t.Alert,`warningIconColor`,n(`palette-warning-main`)),B(t.AppBar,`defaultBg`,n(`palette-grey-100`)),B(t.Avatar,`defaultBg`,n(`palette-grey-400`)),B(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),B(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),B(t.Chip,`defaultBorder`,n(`palette-grey-400`)),B(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),B(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),B(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),B(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),B(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),B(t.LinearProgress,`primaryBg`,r(I,t.primary.main,.62)),B(t.LinearProgress,`secondaryBg`,r(I,t.secondary.main,.62)),B(t.LinearProgress,`errorBg`,r(I,t.error.main,.62)),B(t.LinearProgress,`infoBg`,r(I,t.info.main,.62)),B(t.LinearProgress,`successBg`,r(I,t.success.main,.62)),B(t.LinearProgress,`warningBg`,r(I,t.warning.main,.62)),B(t.Skeleton,`bg`,b?r(xi,t.text.primary,.11):`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),B(t.Slider,`primaryTrack`,r(I,t.primary.main,.62)),B(t.Slider,`secondaryTrack`,r(I,t.secondary.main,.62)),B(t.Slider,`errorTrack`,r(I,t.error.main,.62)),B(t.Slider,`infoTrack`,r(I,t.info.main,.62)),B(t.Slider,`successTrack`,r(I,t.success.main,.62)),B(t.Slider,`warningTrack`,r(I,t.warning.main,.62));let e=b?r(F,t.background.default,.6825):Ti(t.background.default,.8);B(t.SnackbarContent,`bg`,e),B(t.SnackbarContent,`color`,La(()=>b?Ki.text.primary:t.getContrastText(e))),B(t.SpeedDialAction,`fabHoverBg`,Ti(t.background.paper,.15)),B(t.StepConnector,`border`,n(`palette-grey-400`)),B(t.StepContent,`border`,n(`palette-grey-400`)),B(t.Switch,`defaultColor`,n(`palette-common-white`)),B(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),B(t.Switch,`primaryDisabledColor`,r(I,t.primary.main,.62)),B(t.Switch,`secondaryDisabledColor`,r(I,t.secondary.main,.62)),B(t.Switch,`errorDisabledColor`,r(I,t.error.main,.62)),B(t.Switch,`infoDisabledColor`,r(I,t.info.main,.62)),B(t.Switch,`successDisabledColor`,r(I,t.success.main,.62)),B(t.Switch,`warningDisabledColor`,r(I,t.warning.main,.62)),B(t.TableCell,`border`,r(I,r(xi,t.divider,1),.88)),B(t.Tooltip,`bg`,r(xi,t.grey[700],.92))}if(t.mode===`dark`){B(t.Alert,`errorColor`,r(I,t.error.light,.6)),B(t.Alert,`infoColor`,r(I,t.info.light,.6)),B(t.Alert,`successColor`,r(I,t.success.light,.6)),B(t.Alert,`warningColor`,r(I,t.warning.light,.6)),B(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),B(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),B(t.Alert,`successFilledBg`,n(`palette-success-dark`)),B(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),B(t.Alert,`errorFilledColor`,La(()=>t.getContrastText(t.error.dark))),B(t.Alert,`infoFilledColor`,La(()=>t.getContrastText(t.info.dark))),B(t.Alert,`successFilledColor`,La(()=>t.getContrastText(t.success.dark))),B(t.Alert,`warningFilledColor`,La(()=>t.getContrastText(t.warning.dark))),B(t.Alert,`errorStandardBg`,r(F,t.error.light,.9)),B(t.Alert,`infoStandardBg`,r(F,t.info.light,.9)),B(t.Alert,`successStandardBg`,r(F,t.success.light,.9)),B(t.Alert,`warningStandardBg`,r(F,t.warning.light,.9)),B(t.Alert,`errorIconColor`,n(`palette-error-main`)),B(t.Alert,`infoIconColor`,n(`palette-info-main`)),B(t.Alert,`successIconColor`,n(`palette-success-main`)),B(t.Alert,`warningIconColor`,n(`palette-warning-main`)),B(t.AppBar,`defaultBg`,n(`palette-grey-900`)),B(t.AppBar,`darkBg`,n(`palette-background-paper`)),B(t.AppBar,`darkColor`,n(`palette-text-primary`)),B(t.Avatar,`defaultBg`,n(`palette-grey-600`)),B(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),B(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),B(t.Chip,`defaultBorder`,n(`palette-grey-700`)),B(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),B(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),B(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),B(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),B(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),B(t.LinearProgress,`primaryBg`,r(F,t.primary.main,.5)),B(t.LinearProgress,`secondaryBg`,r(F,t.secondary.main,.5)),B(t.LinearProgress,`errorBg`,r(F,t.error.main,.5)),B(t.LinearProgress,`infoBg`,r(F,t.info.main,.5)),B(t.LinearProgress,`successBg`,r(F,t.success.main,.5)),B(t.LinearProgress,`warningBg`,r(F,t.warning.main,.5)),B(t.Skeleton,`bg`,b?r(xi,t.text.primary,.13):`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),B(t.Slider,`primaryTrack`,r(F,t.primary.main,.5)),B(t.Slider,`secondaryTrack`,r(F,t.secondary.main,.5)),B(t.Slider,`errorTrack`,r(F,t.error.main,.5)),B(t.Slider,`infoTrack`,r(F,t.info.main,.5)),B(t.Slider,`successTrack`,r(F,t.success.main,.5)),B(t.Slider,`warningTrack`,r(F,t.warning.main,.5));let e=b?r(I,t.background.default,.985):Ti(t.background.default,.98);B(t.SnackbarContent,`bg`,e),B(t.SnackbarContent,`color`,La(()=>b?Wi.text.primary:t.getContrastText(e))),B(t.SpeedDialAction,`fabHoverBg`,Ti(t.background.paper,.15)),B(t.StepConnector,`border`,n(`palette-grey-600`)),B(t.StepContent,`border`,n(`palette-grey-600`)),B(t.Switch,`defaultColor`,n(`palette-grey-300`)),B(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),B(t.Switch,`primaryDisabledColor`,r(F,t.primary.main,.55)),B(t.Switch,`secondaryDisabledColor`,r(F,t.secondary.main,.55)),B(t.Switch,`errorDisabledColor`,r(F,t.error.main,.55)),B(t.Switch,`infoDisabledColor`,r(F,t.info.main,.55)),B(t.Switch,`successDisabledColor`,r(F,t.success.main,.55)),B(t.Switch,`warningDisabledColor`,r(F,t.warning.main,.55)),B(t.TableCell,`border`,r(F,r(xi,t.divider,1),.68)),B(t.Tooltip,`bg`,r(xi,t.grey[700],.92))}Fa(t.background,`default`),Fa(t.background,`paper`),Fa(t.common,`background`),Fa(t.common,`onBackground`),Fa(t,`divider`),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&n&&typeof n==`object`&&(n.main&&B(t[e],`mainChannel`,hi(Pa(n.main))),n.light&&B(t[e],`lightChannel`,hi(Pa(n.light))),n.dark&&B(t[e],`darkChannel`,hi(Pa(n.dark))),n.contrastText&&B(t[e],`contrastTextChannel`,hi(Pa(n.contrastText))),e===`text`&&(Fa(t[e],`primary`),Fa(t[e],`secondary`)),e===`action`&&(n.active&&Fa(t[e],`active`),n.selected&&Fa(t[e],`selected`)))})}),S=t.reduce((e,t)=>vn(e,t),S);let C={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:Ma(S),enableContrastVars:o},{vars:w,generateThemeVars:te,generateStyleSheets:ne}=Bi(S,C);return S.vars=w,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([e,t])=>{S[e]=t}),S.generateThemeVars=te,S.generateStyleSheets=ne,S.generateSpacing=function(){return $n(u.spacing,Kn(this))},S.getColorSchemeSelector=Vi(c),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=s,S.unstable_sxConfig={...Dr,...u?.unstable_sxConfig},S.unstable_sx=function(e){return jr({sx:e,theme:this})},S.toRuntimeSource=ba,S}function Va(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:na({...n===!0?{}:n.palette,mode:t})})}function Ha(e={},...t){let{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...o}=e,s=a||`light`,c=i?.[s],l={...i,...n?{[s]:{...typeof c!=`boolean`&&c,palette:n}}:void 0};if(r===!1){if(!(`colorSchemes`in e))return wa(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=wa({...e,palette:r},...t);return i.defaultColorScheme=s,i.colorSchemes=l,i.palette.mode===`light`&&(i.colorSchemes.light={...l.light!==!0&&l.light,palette:i.palette},Va(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},Va(i,`light`,l.light)),i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),Ba({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}var Ua=Ha();function Wa(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var Ga=e=>Wa(e)&&e!==`classes`,Ka=ii({themeId:te,defaultTheme:Ua,rootShouldForwardProp:Ga}),V=Nn;function qa(e){return(0,N.jsx)(zr,{...e,defaultTheme:Ua,themeId:te})}function Ja(e){return function(t){return(0,N.jsx)(qa,{styles:typeof e==`function`?n=>e({theme:n,...t}):e})}}function Ya(){return Vr}var Xa=L;function Za(e){return Ai(e)}var Qa=Pi;function $a(e){let t=M.useRef(e);return li(()=>{t.current=e}),M.useRef((...e)=>(0,t.current)(...e)).current}var eo=$a;function to(...e){let t=M.useRef(void 0),n=M.useCallback(t=>{let n=e.map(e=>{if(e==null)return null;if(typeof e==`function`){let n=e,r=n(t);return typeof r==`function`?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return M.useMemo(()=>e.every(e=>e==null)?null:e=>{t.current&&=(t.current(),void 0),e!=null&&(t.current=n(e))},e)}var no=to;function ro(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function io(e,t){return io=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},io(e,t)}function ao(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,io(e,t)}var oo=M.createContext(null);function so(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function co(e,t){var n=function(e){return t&&(0,M.isValidElement)(e)?t(e):e},r=Object.create(null);return e&&M.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=n(e)}),r}function lo(e,t){e||={},t||={};function n(n){return n in t?t[n]:e[n]}var r=Object.create(null),i=[];for(var a in e)a in t?i.length&&(r[a]=i,i=[]):i.push(a);var o,s={};for(var c in t){if(r[c])for(o=0;o{this.currentId=null,t()},e)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear};function bo(){let e=go(yo.create).current;return vo(e.disposeEffect),e}function xo(e){try{return e.matches(`:focus-visible`)}catch{}return!1}var So=class e{static create(){return new e}static use(){let t=go(e.create).current,[n,r]=M.useState(!1);return t.shouldMount=n,t.setShouldMount=r,M.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=wo(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}};function Co(){return So.use()}function wo(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function To(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:c,timeout:l}=e,[u,d]=M.useState(!1),f=Gr(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},m=Gr(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&d(!0),M.useEffect(()=>{if(!s&&c!=null){let e=setTimeout(c,l);return()=>{clearTimeout(e)}}},[c,s,l]),(0,N.jsx)(`span`,{className:f,style:p,children:(0,N.jsx)(`span`,{className:m})})}var Eo=Yr(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),Do=550,Oo=Jt`
+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 Ia(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var La=e=>{try{return e()}catch{}},Ra=(e=`mui`)=>R(e);function za(e,t,n,r,i){if(!n)return;n=n===!0?{}:n;let a=i===`dark`?`dark`:`light`;if(!r){t[i]=ka({...n,palette:{mode:a,...n?.palette},colorSpace:e});return}let{palette:o,...s}=wa({...r,palette:{mode:a,...n?.palette},colorSpace:e});return t[i]={...n,palette:o,opacity:{...Da(a),...n?.opacity},overlays:n?.overlays||Oa(a)},s}function Ba(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,nativeColor:o=!1,shouldSkipGeneratingVar:s=Aa,colorSchemeSelector:c=n.light&&n.dark?`media`:void 0,rootSelector:l=`:root`,...u}=e,d=Object.keys(n)[0],f=r||(n.light&&d!==`light`?`light`:d),p=Ra(a),{[f]:m,light:h,dark:g,..._}=n,v={..._},y=m;if((f===`dark`&&!(`dark`in n)||f===`light`&&!(`light`in n))&&(y=!0),!y)throw Error(ee(21,f));let b;o&&(b=`oklch`);let x=za(b,v,y,u,f);h&&!v.light&&za(b,v,h,void 0,`light`),g&&!v.dark&&za(b,v,g,void 0,`dark`);let S={defaultColorScheme:f,...x,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:l,getCssVar:p,colorSchemes:v,font:{...ra(x.typography),...x.font},spacing:Ia(u.spacing)};Object.keys(S.colorSchemes).forEach(e=>{let t=S.colorSchemes[e].palette,n=e=>{let n=e.split(`-`),r=n[1],i=n[2];return p(e,t[r][i])};t.mode===`light`&&(B(t.common,`background`,`#fff`),B(t.common,`onBackground`,`#000`)),t.mode===`dark`&&(B(t.common,`background`,`#000`),B(t.common,`onBackground`,`#fff`));function r(e,t,n){if(b){let r;return e===xi&&(r=`transparent ${((1-n)*100).toFixed(0)}%`),e===F&&(r=`#000 ${(n*100).toFixed(0)}%`),e===I&&(r=`#fff ${(n*100).toFixed(0)}%`),`color-mix(in ${b}, ${t}, ${r})`}return e(t,n)}if(Na(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){B(t.Alert,`errorColor`,r(F,o?p(`palette-error-light`):t.error.light,.6)),B(t.Alert,`infoColor`,r(F,o?p(`palette-info-light`):t.info.light,.6)),B(t.Alert,`successColor`,r(F,o?p(`palette-success-light`):t.success.light,.6)),B(t.Alert,`warningColor`,r(F,o?p(`palette-warning-light`):t.warning.light,.6)),B(t.Alert,`errorFilledBg`,n(`palette-error-main`)),B(t.Alert,`infoFilledBg`,n(`palette-info-main`)),B(t.Alert,`successFilledBg`,n(`palette-success-main`)),B(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),B(t.Alert,`errorFilledColor`,La(()=>t.getContrastText(t.error.main))),B(t.Alert,`infoFilledColor`,La(()=>t.getContrastText(t.info.main))),B(t.Alert,`successFilledColor`,La(()=>t.getContrastText(t.success.main))),B(t.Alert,`warningFilledColor`,La(()=>t.getContrastText(t.warning.main))),B(t.Alert,`errorStandardBg`,r(I,o?p(`palette-error-light`):t.error.light,.9)),B(t.Alert,`infoStandardBg`,r(I,o?p(`palette-info-light`):t.info.light,.9)),B(t.Alert,`successStandardBg`,r(I,o?p(`palette-success-light`):t.success.light,.9)),B(t.Alert,`warningStandardBg`,r(I,o?p(`palette-warning-light`):t.warning.light,.9)),B(t.Alert,`errorIconColor`,n(`palette-error-main`)),B(t.Alert,`infoIconColor`,n(`palette-info-main`)),B(t.Alert,`successIconColor`,n(`palette-success-main`)),B(t.Alert,`warningIconColor`,n(`palette-warning-main`)),B(t.AppBar,`defaultBg`,n(`palette-grey-100`)),B(t.Avatar,`defaultBg`,n(`palette-grey-400`)),B(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),B(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),B(t.Chip,`defaultBorder`,n(`palette-grey-400`)),B(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),B(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),B(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),B(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),B(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),B(t.LinearProgress,`primaryBg`,r(I,o?p(`palette-primary-main`):t.primary.main,.62)),B(t.LinearProgress,`secondaryBg`,r(I,o?p(`palette-secondary-main`):t.secondary.main,.62)),B(t.LinearProgress,`errorBg`,r(I,o?p(`palette-error-main`):t.error.main,.62)),B(t.LinearProgress,`infoBg`,r(I,o?p(`palette-info-main`):t.info.main,.62)),B(t.LinearProgress,`successBg`,r(I,o?p(`palette-success-main`):t.success.main,.62)),B(t.LinearProgress,`warningBg`,r(I,o?p(`palette-warning-light`):t.warning.main,.62)),B(t.Skeleton,`bg`,b?r(xi,o?p(`palette-text-primary`):t.text.primary,.11):`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),B(t.Slider,`primaryTrack`,r(I,o?p(`palette-primary-main`):t.primary.main,.62)),B(t.Slider,`secondaryTrack`,r(I,o?p(`palette-secondary-main`):t.secondary.main,.62)),B(t.Slider,`errorTrack`,r(I,o?p(`palette-error-main`):t.error.main,.62)),B(t.Slider,`infoTrack`,r(I,o?p(`palette-info-main`):t.info.main,.62)),B(t.Slider,`successTrack`,r(I,o?p(`palette-success-main`):t.success.main,.62)),B(t.Slider,`warningTrack`,r(I,o?p(`palette-warning-main`):t.warning.main,.62));let e=b?r(F,o?p(`palette-background-default`):t.background.default,.6825):Ti(t.background.default,.8);B(t.SnackbarContent,`bg`,e),B(t.SnackbarContent,`color`,La(()=>b?Ki.text.primary:t.getContrastText(e))),B(t.SpeedDialAction,`fabHoverBg`,Ti(t.background.paper,.15)),B(t.StepConnector,`border`,n(`palette-grey-400`)),B(t.StepContent,`border`,n(`palette-grey-400`)),B(t.Switch,`defaultColor`,n(`palette-common-white`)),B(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),B(t.Switch,`primaryDisabledColor`,r(I,o?p(`palette-primary-main`):t.primary.main,.62)),B(t.Switch,`secondaryDisabledColor`,r(I,o?p(`palette-secondary-main`):t.secondary.main,.62)),B(t.Switch,`errorDisabledColor`,r(I,o?p(`palette-error-main`):t.error.main,.62)),B(t.Switch,`infoDisabledColor`,r(I,o?p(`palette-info-main`):t.info.main,.62)),B(t.Switch,`successDisabledColor`,r(I,o?p(`palette-success-main`):t.success.main,.62)),B(t.Switch,`warningDisabledColor`,r(I,o?p(`palette-warning-main`):t.warning.main,.62)),B(t.TableCell,`border`,r(I,xi(o?p(`palette-divider`):t.divider,1),.88)),B(t.Tooltip,`bg`,r(xi,o?p(`palette-grey-700`):t.grey[700],.92))}if(t.mode===`dark`){B(t.Alert,`errorColor`,r(I,o?p(`palette-error-light`):t.error.light,.6)),B(t.Alert,`infoColor`,r(I,o?p(`palette-info-light`):t.info.light,.6)),B(t.Alert,`successColor`,r(I,o?p(`palette-success-light`):t.success.light,.6)),B(t.Alert,`warningColor`,r(I,o?p(`palette-warning-light`):t.warning.light,.6)),B(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),B(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),B(t.Alert,`successFilledBg`,n(`palette-success-dark`)),B(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),B(t.Alert,`errorFilledColor`,La(()=>t.getContrastText(t.error.dark))),B(t.Alert,`infoFilledColor`,La(()=>t.getContrastText(t.info.dark))),B(t.Alert,`successFilledColor`,La(()=>t.getContrastText(t.success.dark))),B(t.Alert,`warningFilledColor`,La(()=>t.getContrastText(t.warning.dark))),B(t.Alert,`errorStandardBg`,r(F,o?p(`palette-error-light`):t.error.light,.9)),B(t.Alert,`infoStandardBg`,r(F,o?p(`palette-info-light`):t.info.light,.9)),B(t.Alert,`successStandardBg`,r(F,o?p(`palette-success-light`):t.success.light,.9)),B(t.Alert,`warningStandardBg`,r(F,o?p(`palette-warning-light`):t.warning.light,.9)),B(t.Alert,`errorIconColor`,n(`palette-error-main`)),B(t.Alert,`infoIconColor`,n(`palette-info-main`)),B(t.Alert,`successIconColor`,n(`palette-success-main`)),B(t.Alert,`warningIconColor`,n(`palette-warning-main`)),B(t.AppBar,`defaultBg`,n(`palette-grey-900`)),B(t.AppBar,`darkBg`,n(`palette-background-paper`)),B(t.AppBar,`darkColor`,n(`palette-text-primary`)),B(t.Avatar,`defaultBg`,n(`palette-grey-600`)),B(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),B(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),B(t.Chip,`defaultBorder`,n(`palette-grey-700`)),B(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),B(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),B(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),B(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),B(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),B(t.LinearProgress,`primaryBg`,r(F,o?p(`palette-primary-main`):t.primary.main,.5)),B(t.LinearProgress,`secondaryBg`,r(F,o?p(`palette-secondary-main`):t.secondary.main,.5)),B(t.LinearProgress,`errorBg`,r(F,o?p(`palette-error-main`):t.error.main,.5)),B(t.LinearProgress,`infoBg`,r(F,o?p(`palette-info-main`):t.info.main,.5)),B(t.LinearProgress,`successBg`,r(F,o?p(`palette-success-main`):t.success.main,.5)),B(t.LinearProgress,`warningBg`,r(F,o?p(`palette-warning-main`):t.warning.main,.5)),B(t.Skeleton,`bg`,b?r(xi,o?p(`palette-text-primary`):t.text.primary,.13):`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),B(t.Slider,`primaryTrack`,r(F,o?p(`palette-primary-main`):t.primary.main,.5)),B(t.Slider,`secondaryTrack`,r(F,o?p(`palette-secondary-main`):t.secondary.main,.5)),B(t.Slider,`errorTrack`,r(F,o?p(`palette-error-main`):t.error.main,.5)),B(t.Slider,`infoTrack`,r(F,o?p(`palette-info-main`):t.info.main,.5)),B(t.Slider,`successTrack`,r(F,o?p(`palette-success-main`):t.success.main,.5)),B(t.Slider,`warningTrack`,r(F,o?p(`palette-warning-light`):t.warning.main,.5));let e=b?r(I,o?p(`palette-background-default`):t.background.default,.985):Ti(t.background.default,.98);B(t.SnackbarContent,`bg`,e),B(t.SnackbarContent,`color`,La(()=>b?Wi.text.primary:t.getContrastText(e))),B(t.SpeedDialAction,`fabHoverBg`,Ti(t.background.paper,.15)),B(t.StepConnector,`border`,n(`palette-grey-600`)),B(t.StepContent,`border`,n(`palette-grey-600`)),B(t.Switch,`defaultColor`,n(`palette-grey-300`)),B(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),B(t.Switch,`primaryDisabledColor`,r(F,o?p(`palette-primary-main`):t.primary.main,.55)),B(t.Switch,`secondaryDisabledColor`,r(F,o?p(`palette-secondary-main`):t.secondary.main,.55)),B(t.Switch,`errorDisabledColor`,r(F,o?p(`palette-error-main`):t.error.main,.55)),B(t.Switch,`infoDisabledColor`,r(F,o?p(`palette-info-main`):t.info.main,.55)),B(t.Switch,`successDisabledColor`,r(F,o?p(`palette-success-main`):t.success.main,.55)),B(t.Switch,`warningDisabledColor`,r(F,o?p(`palette-warning-light`):t.warning.main,.55)),B(t.TableCell,`border`,r(F,xi(o?p(`palette-divider`):t.divider,1),.68)),B(t.Tooltip,`bg`,r(xi,o?p(`palette-grey-700`):t.grey[700],.92))}o||(Fa(t.background,`default`),Fa(t.background,`paper`),Fa(t.common,`background`),Fa(t.common,`onBackground`),Fa(t,`divider`)),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&!o&&n&&typeof n==`object`&&(n.main&&B(t[e],`mainChannel`,hi(Pa(n.main))),n.light&&B(t[e],`lightChannel`,hi(Pa(n.light))),n.dark&&B(t[e],`darkChannel`,hi(Pa(n.dark))),n.contrastText&&B(t[e],`contrastTextChannel`,hi(Pa(n.contrastText))),e===`text`&&(Fa(t[e],`primary`),Fa(t[e],`secondary`)),e===`action`&&(n.active&&Fa(t[e],`active`),n.selected&&Fa(t[e],`selected`)))})}),S=t.reduce((e,t)=>vn(e,t),S);let C={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:Ma(S),enableContrastVars:o},{vars:w,generateThemeVars:te,generateStyleSheets:ne}=Bi(S,C);return S.vars=w,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([e,t])=>{S[e]=t}),S.generateThemeVars=te,S.generateStyleSheets=ne,S.generateSpacing=function(){return $n(u.spacing,Kn(this))},S.getColorSchemeSelector=Vi(c),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=s,S.unstable_sxConfig={...Dr,...u?.unstable_sxConfig},S.unstable_sx=function(e){return jr({sx:e,theme:this})},S.toRuntimeSource=ba,S}function Va(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:na({...n===!0?{}:n.palette,mode:t})})}function Ha(e={},...t){let{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...o}=e,s=a||`light`,c=i?.[s],l={...i,...n?{[s]:{...typeof c!=`boolean`&&c,palette:n}}:void 0};if(r===!1){if(!(`colorSchemes`in e))return wa(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=wa({...e,palette:r},...t);return i.defaultColorScheme=s,i.colorSchemes=l,i.palette.mode===`light`&&(i.colorSchemes.light={...l.light!==!0&&l.light,palette:i.palette},Va(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},Va(i,`light`,l.light)),i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),Ba({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}var Ua=Ha();function Wa(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var Ga=e=>Wa(e)&&e!==`classes`,Ka=ii({themeId:te,defaultTheme:Ua,rootShouldForwardProp:Ga}),V=Nn;function qa(e){return(0,N.jsx)(zr,{...e,defaultTheme:Ua,themeId:te})}function Ja(e){return function(t){return(0,N.jsx)(qa,{styles:typeof e==`function`?n=>e({theme:n,...t}):e})}}function Ya(){return Vr}var Xa=L;function Za(e){return Ai(e)}var Qa=Pi;function $a(e){let t=M.useRef(e);return li(()=>{t.current=e}),M.useRef((...e)=>(0,t.current)(...e)).current}var eo=$a;function to(...e){let t=M.useRef(void 0),n=M.useCallback(t=>{let n=e.map(e=>{if(e==null)return null;if(typeof e==`function`){let n=e,r=n(t);return typeof r==`function`?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return M.useMemo(()=>e.every(e=>e==null)?null:e=>{t.current&&=(t.current(),void 0),e!=null&&(t.current=n(e))},e)}var no=to;function ro(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function io(e,t){return io=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},io(e,t)}function ao(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,io(e,t)}var oo=M.createContext(null);function so(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function co(e,t){var n=function(e){return t&&(0,M.isValidElement)(e)?t(e):e},r=Object.create(null);return e&&M.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=n(e)}),r}function lo(e,t){e||={},t||={};function n(n){return n in t?t[n]:e[n]}var r=Object.create(null),i=[];for(var a in e)a in t?i.length&&(r[a]=i,i=[]):i.push(a);var o,s={};for(var c in t){if(r[c])for(o=0;o{this.currentId=null,t()},e)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear};function bo(){let e=go(yo.create).current;return vo(e.disposeEffect),e}function xo(e){try{return e.matches(`:focus-visible`)}catch{}return!1}var So=class e{static create(){return new e}static use(){let t=go(e.create).current,[n,r]=M.useState(!1);return t.shouldMount=n,t.setShouldMount=r,M.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=wo(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}};function Co(){return So.use()}function wo(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function To(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:c,timeout:l}=e,[u,d]=M.useState(!1),f=Gr(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},m=Gr(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&d(!0),M.useEffect(()=>{if(!s&&c!=null){let e=setTimeout(c,l);return()=>{clearTimeout(e)}}},[c,s,l]),(0,N.jsx)(`span`,{className:f,style:p,children:(0,N.jsx)(`span`,{className:m})})}var Eo=Yr(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),Do=550,Oo=Jt`
0% {
transform: scale(0);
opacity: 0.1;
@@ -87,7 +87,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
animation-iteration-count: infinite;
animation-delay: 200ms;
}
-`,No=M.forwardRef(function(e,t){let{center:n=!1,classes:r={},className:i,...a}=Za({props:e,name:`MuiTouchRipple`}),[o,s]=M.useState([]),c=M.useRef(0),l=M.useRef(null);M.useEffect(()=>{l.current&&=(l.current(),null)},[o]);let u=M.useRef(!1),d=bo(),f=M.useRef(null),p=M.useRef(null),m=M.useCallback(e=>{let{pulsate:t,rippleX:n,rippleY:i,rippleSize:a,cb:o}=e;s(e=>[...e,(0,N.jsx)(Mo,{classes:{ripple:Gr(r.ripple,Eo.ripple),rippleVisible:Gr(r.rippleVisible,Eo.rippleVisible),ripplePulsate:Gr(r.ripplePulsate,Eo.ripplePulsate),child:Gr(r.child,Eo.child),childLeaving:Gr(r.childLeaving,Eo.childLeaving),childPulsate:Gr(r.childPulsate,Eo.childPulsate)},timeout:Do,pulsate:t,rippleX:n,rippleY:i,rippleSize:a},c.current)]),c.current+=1,l.current=o},[r]),h=M.useCallback((e={},t={},r=()=>{})=>{let{pulsate:i=!1,center:a=n||t.pulsate,fakeElement:o=!1}=t;if(e?.type===`mousedown`&&u.current){u.current=!1;return}e?.type===`touchstart`&&(u.current=!0);let s=o?null:p.current,c=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0},l,h,g;if(a||e===void 0||e.clientX===0&&e.clientY===0||!e.clientX&&!e.touches)l=Math.round(c.width/2),h=Math.round(c.height/2);else{let{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;l=Math.round(t-c.left),h=Math.round(n-c.top)}if(a)g=Math.sqrt((2*c.width**2+c.height**2)/3),g%2==0&&(g+=1);else{let e=Math.max(Math.abs((s?s.clientWidth:0)-l),l)*2+2,t=Math.max(Math.abs((s?s.clientHeight:0)-h),h)*2+2;g=Math.sqrt(e**2+t**2)}e?.touches?f.current===null&&(f.current=()=>{m({pulsate:i,rippleX:l,rippleY:h,rippleSize:g,cb:r})},d.start(80,()=>{f.current&&=(f.current(),null)})):m({pulsate:i,rippleX:l,rippleY:h,rippleSize:g,cb:r})},[n,m,d]),g=M.useCallback(()=>{h({},{pulsate:!0})},[h]),_=M.useCallback((e,t)=>{if(d.clear(),e?.type===`touchend`&&f.current){f.current(),f.current=null,d.start(0,()=>{_(e,t)});return}f.current=null,s(e=>e.length>0?e.slice(1):e),l.current=t},[d]);return M.useImperativeHandle(t,()=>({pulsate:g,start:h,stop:_}),[g,h,_]),(0,N.jsx)(jo,{className:Gr(Eo.root,r.root,i),ref:p,...a,children:(0,N.jsx)(mo,{component:null,exit:!0,children:o})})});function Po(e){return Jr(`MuiButtonBase`,e)}var Fo=Yr(`MuiButtonBase`,[`root`,`disabled`,`focusVisible`]),Io=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,a=Hi({root:[`root`,t&&`disabled`,n&&`focusVisible`]},Po,i);return n&&r&&(a.root+=` ${r}`),a},Lo=Ka(`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`},[`&.${Fo.disabled}`]:{pointerEvents:`none`,cursor:`default`},"@media print":{colorAdjust:`exact`}}),Ro=M.forwardRef(function(e,t){let n=Za({props:e,name:`MuiButtonBase`}),{action:r,centerRipple:i=!1,children:a,className:o,component:s=`button`,disabled:c=!1,disableRipple:l=!1,disableTouchRipple:u=!1,focusRipple:d=!1,focusVisibleClassName:f,LinkComponent:p=`a`,onBlur:m,onClick:h,onContextMenu:g,onDragLeave:_,onFocus:v,onFocusVisible:y,onKeyDown:b,onKeyUp:x,onMouseDown:S,onMouseLeave:C,onMouseUp:w,onTouchEnd:ee,onTouchMove:te,onTouchStart:ne,tabIndex:re=0,TouchRippleProps:ie,touchRippleRef:ae,type:oe,...T}=n,se=M.useRef(null),E=Co(),ce=no(E.ref,ae),[D,O]=M.useState(!1);c&&D&&O(!1),M.useImperativeHandle(r,()=>({focusVisible:()=>{O(!0),se.current.focus()}}),[]);let le=E.shouldMount&&!l&&!c;M.useEffect(()=>{D&&d&&!l&&E.pulsate()},[l,d,D,E]);let ue=zo(E,`start`,S,u),de=zo(E,`stop`,g,u),fe=zo(E,`stop`,_,u),pe=zo(E,`stop`,w,u),k=zo(E,`stop`,e=>{D&&e.preventDefault(),C&&C(e)},u),me=zo(E,`start`,ne,u),he=zo(E,`stop`,ee,u),ge=zo(E,`stop`,te,u),A=zo(E,`stop`,e=>{xo(e.target)||O(!1),m&&m(e)},!1),_e=eo(e=>{se.current||=e.currentTarget,xo(e.target)&&(O(!0),y&&y(e)),v&&v(e)}),j=()=>{let e=se.current;return s&&s!==`button`&&!(e.tagName===`A`&&e.href)},ve=eo(e=>{d&&!e.repeat&&D&&e.key===` `&&E.stop(e,()=>{E.start(e)}),e.target===e.currentTarget&&j()&&e.key===` `&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&j()&&e.key===`Enter`&&!c&&(e.preventDefault(),h&&h(e))}),ye=eo(e=>{d&&e.key===` `&&D&&!e.defaultPrevented&&E.stop(e,()=>{E.pulsate(e)}),x&&x(e),h&&e.target===e.currentTarget&&j()&&e.key===` `&&!e.defaultPrevented&&h(e)}),be=s;be===`button`&&(T.href||T.to)&&(be=p);let xe={};if(be===`button`){let e=!!T.formAction;xe.type=oe===void 0&&!e?`button`:oe,xe.disabled=c}else !T.href&&!T.to&&(xe.role=`button`),c&&(xe[`aria-disabled`]=c);let Se=no(t,se),Ce={...n,centerRipple:i,component:s,disabled:c,disableRipple:l,disableTouchRipple:u,focusRipple:d,tabIndex:re,focusVisible:D},we=Io(Ce);return(0,N.jsxs)(Lo,{as:be,className:Gr(we.root,o),ownerState:Ce,onBlur:A,onClick:h,onContextMenu:de,onFocus:_e,onKeyDown:ve,onKeyUp:ye,onMouseDown:ue,onMouseLeave:k,onMouseUp:pe,onDragLeave:fe,onTouchEnd:he,onTouchMove:ge,onTouchStart:me,ref:Se,tabIndex:c?-1:re,type:oe,...xe,...T,children:[a,le?(0,N.jsx)(No,{ref:ce,center:i,...ie}):null]})});function zo(e,t,n,r=!1){return eo(i=>(n&&n(i),r||e[t](i),!0))}function Bo(e){return typeof e.main==`string`}function Vo(e,t=[]){if(!Bo(e))return!1;for(let n of t)if(!e.hasOwnProperty(n)||typeof e[n]!=`string`)return!1;return!0}function Ho(e=[]){return([,t])=>t&&Vo(t,e)}function Uo(e){return Jr(`MuiCircularProgress`,e)}Yr(`MuiCircularProgress`,[`root`,`determinate`,`indeterminate`,`colorPrimary`,`colorSecondary`,`svg`,`track`,`circle`,`circleDeterminate`,`circleIndeterminate`,`circleDisableShrink`]);var Wo=44,Go=Jt`
+`,No=M.forwardRef(function(e,t){let{center:n=!1,classes:r={},className:i,...a}=Za({props:e,name:`MuiTouchRipple`}),[o,s]=M.useState([]),c=M.useRef(0),l=M.useRef(null);M.useEffect(()=>{l.current&&=(l.current(),null)},[o]);let u=M.useRef(!1),d=bo(),f=M.useRef(null),p=M.useRef(null),m=M.useCallback(e=>{let{pulsate:t,rippleX:n,rippleY:i,rippleSize:a,cb:o}=e;s(e=>[...e,(0,N.jsx)(Mo,{classes:{ripple:Gr(r.ripple,Eo.ripple),rippleVisible:Gr(r.rippleVisible,Eo.rippleVisible),ripplePulsate:Gr(r.ripplePulsate,Eo.ripplePulsate),child:Gr(r.child,Eo.child),childLeaving:Gr(r.childLeaving,Eo.childLeaving),childPulsate:Gr(r.childPulsate,Eo.childPulsate)},timeout:Do,pulsate:t,rippleX:n,rippleY:i,rippleSize:a},c.current)]),c.current+=1,l.current=o},[r]),h=M.useCallback((e={},t={},r=()=>{})=>{let{pulsate:i=!1,center:a=n||t.pulsate,fakeElement:o=!1}=t;if(e?.type===`mousedown`&&u.current){u.current=!1;return}e?.type===`touchstart`&&(u.current=!0);let s=o?null:p.current,c=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0},l,h,g;if(a||e===void 0||e.clientX===0&&e.clientY===0||!e.clientX&&!e.touches)l=Math.round(c.width/2),h=Math.round(c.height/2);else{let{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;l=Math.round(t-c.left),h=Math.round(n-c.top)}if(a)g=Math.sqrt((2*c.width**2+c.height**2)/3),g%2==0&&(g+=1);else{let e=Math.max(Math.abs((s?s.clientWidth:0)-l),l)*2+2,t=Math.max(Math.abs((s?s.clientHeight:0)-h),h)*2+2;g=Math.sqrt(e**2+t**2)}e?.touches?f.current===null&&(f.current=()=>{m({pulsate:i,rippleX:l,rippleY:h,rippleSize:g,cb:r})},d.start(80,()=>{f.current&&=(f.current(),null)})):m({pulsate:i,rippleX:l,rippleY:h,rippleSize:g,cb:r})},[n,m,d]),g=M.useCallback(()=>{h({},{pulsate:!0})},[h]),_=M.useCallback((e,t)=>{if(d.clear(),e?.type===`touchend`&&f.current){f.current(),f.current=null,d.start(0,()=>{_(e,t)});return}f.current=null,s(e=>e.length>0?e.slice(1):e),l.current=t},[d]);return M.useImperativeHandle(t,()=>({pulsate:g,start:h,stop:_}),[g,h,_]),(0,N.jsx)(jo,{className:Gr(Eo.root,r.root,i),ref:p,...a,children:(0,N.jsx)(mo,{component:null,exit:!0,children:o})})});function Po(e){return Jr(`MuiButtonBase`,e)}var Fo=Yr(`MuiButtonBase`,[`root`,`disabled`,`focusVisible`]),Io=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,a=Hi({root:[`root`,t&&`disabled`,n&&`focusVisible`]},Po,i);return n&&r&&(a.root+=` ${r}`),a},Lo=Ka(`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`},[`&.${Fo.disabled}`]:{pointerEvents:`none`,cursor:`default`},"@media print":{colorAdjust:`exact`}}),Ro=M.forwardRef(function(e,t){let n=Za({props:e,name:`MuiButtonBase`}),{action:r,centerRipple:i=!1,children:a,className:o,component:s=`button`,disabled:c=!1,disableRipple:l=!1,disableTouchRipple:u=!1,focusRipple:d=!1,focusVisibleClassName:f,LinkComponent:p=`a`,onBlur:m,onClick:h,onContextMenu:g,onDragLeave:_,onFocus:v,onFocusVisible:y,onKeyDown:b,onKeyUp:x,onMouseDown:S,onMouseLeave:C,onMouseUp:w,onTouchEnd:ee,onTouchMove:te,onTouchStart:ne,tabIndex:re=0,TouchRippleProps:ie,touchRippleRef:ae,type:oe,...T}=n,se=M.useRef(null),E=Co(),ce=no(E.ref,ae),[D,O]=M.useState(!1);c&&D&&O(!1),M.useImperativeHandle(r,()=>({focusVisible:()=>{O(!0),se.current.focus()}}),[]);let le=E.shouldMount&&!l&&!c;M.useEffect(()=>{D&&d&&!l&&E.pulsate()},[l,d,D,E]);let ue=zo(E,`start`,S,u),de=zo(E,`stop`,g,u),fe=zo(E,`stop`,_,u),pe=zo(E,`stop`,w,u),k=zo(E,`stop`,e=>{D&&e.preventDefault(),C&&C(e)},u),me=zo(E,`start`,ne,u),he=zo(E,`stop`,ee,u),ge=zo(E,`stop`,te,u),A=zo(E,`stop`,e=>{xo(e.target)||O(!1),m&&m(e)},!1),_e=eo(e=>{se.current||=e.currentTarget,xo(e.target)&&(O(!0),y&&y(e)),v&&v(e)}),j=()=>{let e=se.current;return e?e.tagName===`BUTTON`?!1:!(e.tagName===`A`&&e.href):s&&s!==`button`},ve=eo(e=>{d&&!e.repeat&&D&&e.key===` `&&E.stop(e,()=>{E.start(e)}),e.target===e.currentTarget&&j()&&e.key===` `&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&j()&&e.key===`Enter`&&!c&&(e.preventDefault(),h&&h(e))}),ye=eo(e=>{d&&e.key===` `&&D&&!e.defaultPrevented&&E.stop(e,()=>{E.pulsate(e)}),x&&x(e),h&&e.target===e.currentTarget&&j()&&e.key===` `&&!e.defaultPrevented&&!c&&h(e)}),be=s;be===`button`&&(T.href||T.to)&&(be=p);let xe={};if(be===`button`){let e=!!T.formAction;xe.type=oe===void 0&&!e?`button`:oe,xe.disabled=c}else !T.href&&!T.to&&(xe.role=`button`),c&&(xe[`aria-disabled`]=c);let Se=no(t,se),Ce={...n,centerRipple:i,component:s,disabled:c,disableRipple:l,disableTouchRipple:u,focusRipple:d,tabIndex:re,focusVisible:D},we=Io(Ce);return(0,N.jsxs)(Lo,{as:be,className:Gr(we.root,o),ownerState:Ce,onBlur:A,onClick:h,onContextMenu:de,onFocus:_e,onKeyDown:ve,onKeyUp:ye,onMouseDown:ue,onMouseLeave:k,onMouseUp:pe,onDragLeave:fe,onTouchEnd:he,onTouchMove:ge,onTouchStart:me,ref:Se,tabIndex:c?-1:re,type:oe,...xe,...T,children:[a,le?(0,N.jsx)(No,{ref:ce,center:i,...ie}):null]})});function zo(e,t,n,r=!1){return eo(i=>(n&&n(i),r||e[t](i),!0))}function Bo(e){return typeof e.main==`string`}function Vo(e,t=[]){if(!Bo(e))return!1;for(let n of t)if(!e.hasOwnProperty(n)||typeof e[n]!=`string`)return!1;return!0}function Ho(e=[]){return([,t])=>t&&Vo(t,e)}function Uo(e){return Jr(`MuiCircularProgress`,e)}Yr(`MuiCircularProgress`,[`root`,`determinate`,`indeterminate`,`colorPrimary`,`colorSecondary`,`svg`,`track`,`circle`,`circleDeterminate`,`circleIndeterminate`,`circleDisableShrink`]);var Wo=44,Go=Jt`
0% {
transform: rotate(0deg);
}
@@ -114,7 +114,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
animation: ${Go} 1.4s linear infinite;
`,Jo=typeof Ko==`string`?null:qt`
animation: ${Ko} 1.4s ease-in-out infinite;
- `,Yo=e=>{let{classes:t,variant:n,color:r,disableShrink:i}=e;return Hi({root:[`root`,n,`color${V(r)}`],svg:[`svg`],track:[`track`],circle:[`circle`,`circle${V(n)}`,i&&`circleDisableShrink`]},Uo,t)},Xo=Ka(`span`,{name:`MuiCircularProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`color${V(n.color)}`]]}})(Xa(({theme:e})=>({display:`inline-block`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`transform`)}},{props:{variant:`indeterminate`},style:qo||{animation:`${Go} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Ho()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),Zo=Ka(`svg`,{name:`MuiCircularProgress`,slot:`Svg`})({display:`block`}),Qo=Ka(`circle`,{name:`MuiCircularProgress`,slot:`Circle`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,t[`circle${V(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Xa(({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:e})=>e.variant===`indeterminate`&&!e.disableShrink,style:Jo||{animation:`${Ko} 1.4s ease-in-out infinite`}}]}))),$o=Ka(`circle`,{name:`MuiCircularProgress`,slot:`Track`})(Xa(({theme:e})=>({stroke:`currentColor`,opacity:(e.vars||e).palette.action.activatedOpacity}))),es=M.forwardRef(function(e,t){let n=Za({props:e,name:`MuiCircularProgress`}),{className:r,color:i=`primary`,disableShrink:a=!1,enableTrackSlot:o=!1,size:s=40,style:c,thickness:l=3.6,value:u=0,variant:d=`indeterminate`,...f}=n,p={...n,color:i,disableShrink:a,size:s,thickness:l,value:u,variant:d,enableTrackSlot:o},m=Yo(p),h={},g={},_={};if(d===`determinate`){let e=2*Math.PI*((Wo-l)/2);h.strokeDasharray=e.toFixed(3),_[`aria-valuenow`]=Math.round(u),h.strokeDashoffset=`${((100-u)/100*e).toFixed(3)}px`,g.transform=`rotate(-90deg)`}return(0,N.jsx)(Xo,{className:Gr(m.root,r),style:{width:s,height:s,...g,...c},ownerState:p,ref:t,role:`progressbar`,..._,...f,children:(0,N.jsxs)(Zo,{className:m.svg,ownerState:p,viewBox:`${Wo/2} ${Wo/2} ${Wo} ${Wo}`,children:[o?(0,N.jsx)($o,{className:m.track,ownerState:p,cx:Wo,cy:Wo,r:(Wo-l)/2,fill:`none`,strokeWidth:l,"aria-hidden":`true`}):null,(0,N.jsx)(Qo,{className:m.circle,style:h,ownerState:p,cx:Wo,cy:Wo,r:(Wo-l)/2,fill:`none`,strokeWidth:l})]})})});function ts(e){return Jr(`MuiTypography`,e)}Yr(`MuiTypography`,[`root`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`subtitle1`,`subtitle2`,`body1`,`body2`,`inherit`,`button`,`caption`,`overline`,`alignLeft`,`alignRight`,`alignCenter`,`alignJustify`,`noWrap`,`gutterBottom`,`paragraph`]);var ns={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},rs=Ya(),is=e=>{let{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:a,classes:o}=e;return Hi({root:[`root`,a,e.align!==`inherit`&&`align${V(t)}`,n&&`gutterBottom`,r&&`noWrap`,i&&`paragraph`]},ts,o)},as=Ka(`span`,{name:`MuiTypography`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!==`inherit`&&t[`align${V(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(Xa(({theme:e})=>({margin:0,variants:[{props:{variant:`inherit`},style:{font:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},...Object.entries(e.typography).filter(([e,t])=>e!==`inherit`&&t&&typeof t==`object`).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter(Ho()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>typeof e==`string`).map(([t])=>({props:{color:`text${V(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>e.align!==`inherit`,style:{textAlign:`var(--Typography-textAlign)`}},{props:({ownerState:e})=>e.noWrap,style:{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:`0.35em`}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),os={h1:`h1`,h2:`h2`,h3:`h3`,h4:`h4`,h5:`h5`,h6:`h6`,subtitle1:`h6`,subtitle2:`h6`,body1:`p`,body2:`p`,inherit:`p`},ss=M.forwardRef(function(e,t){let{color:n,...r}=Za({props:e,name:`MuiTypography`}),i=!ns[n],a=rs({...r,...i&&{color:n}}),{align:o=`inherit`,className:s,component:c,gutterBottom:l=!1,noWrap:u=!1,paragraph:d=!1,variant:f=`body1`,variantMapping:p=os,...m}=a,h={...a,align:o,color:n,className:s,component:c,gutterBottom:l,noWrap:u,paragraph:d,variant:f,variantMapping:p};return(0,N.jsx)(as,{as:c||(d?`p`:p[f]||os[f])||`span`,ref:t,className:Gr(is(h).root,s),...m,ownerState:h,style:{...o!==`inherit`&&{"--Typography-textAlign":o},...m.style}})}),cs=Yr(`MuiBox`,[`root`]),ls=Kr({themeId:te,defaultTheme:Ha(),defaultClassName:cs.root,generateClassName:Ur.generate});function us(e){return Jr(`MuiButton`,e)}var ds=Yr(`MuiButton`,`root.text.textInherit.textPrimary.textSecondary.textSuccess.textError.textInfo.textWarning.outlined.outlinedInherit.outlinedPrimary.outlinedSecondary.outlinedSuccess.outlinedError.outlinedInfo.outlinedWarning.contained.containedInherit.containedPrimary.containedSecondary.containedSuccess.containedError.containedInfo.containedWarning.disableElevation.focusVisible.disabled.colorInherit.colorPrimary.colorSecondary.colorSuccess.colorError.colorInfo.colorWarning.textSizeSmall.textSizeMedium.textSizeLarge.outlinedSizeSmall.outlinedSizeMedium.outlinedSizeLarge.containedSizeSmall.containedSizeMedium.containedSizeLarge.sizeMedium.sizeSmall.sizeLarge.fullWidth.startIcon.endIcon.icon.iconSizeSmall.iconSizeMedium.iconSizeLarge.loading.loadingWrapper.loadingIconPlaceholder.loadingIndicator.loadingPositionCenter.loadingPositionStart.loadingPositionEnd`.split(`.`)),fs=M.createContext({}),ps=M.createContext(void 0),ms=e=>{let{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,loading:o,loadingPosition:s,classes:c}=e,l=Hi({root:[`root`,o&&`loading`,a,`${a}${V(t)}`,`size${V(i)}`,`${a}Size${V(i)}`,`color${V(t)}`,n&&`disableElevation`,r&&`fullWidth`,o&&`loadingPosition${V(s)}`],startIcon:[`icon`,`startIcon`,`iconSize${V(i)}`],endIcon:[`icon`,`endIcon`,`iconSize${V(i)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},us,c);return{...c,...l}},hs=[{props:{size:`small`},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:`medium`},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:`large`},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],gs=Ka(Ro,{shouldForwardProp:e=>Ga(e)||e===`classes`,name:`MuiButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${V(n.color)}`],t[`size${V(n.size)}`],t[`${n.variant}Size${V(n.size)}`],n.color===`inherit`&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(Xa(({theme:e})=>{let t=e.palette.mode===`light`?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode===`light`?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:`6px 16px`,border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`,`color`],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:`none`},[`&.${ds.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:`contained`},style:{color:`var(--variant-containedColor)`,backgroundColor:`var(--variant-containedBg)`,boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${ds.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${ds.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:`outlined`},style:{padding:`5px 15px`,border:`1px solid currentColor`,borderColor:`var(--variant-outlinedBorder, currentColor)`,backgroundColor:`var(--variant-outlinedBg)`,color:`var(--variant-outlinedColor)`,[`&.${ds.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:`text`},style:{padding:`6px 8px`,color:`var(--variant-textColor)`,backgroundColor:`var(--variant-textBg)`}},...Object.entries(e.palette).filter(Ho()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:`inherit`},style:{color:`inherit`,borderColor:`currentColor`,"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:`small`,variant:`text`},style:{padding:`4px 5px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`text`},style:{padding:`8px 11px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`outlined`},style:{padding:`3px 9px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`outlined`},style:{padding:`7px 21px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`contained`},style:{padding:`4px 10px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`contained`},style:{padding:`8px 22px`,fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:`none`,"&:hover":{boxShadow:`none`},[`&.${ds.focusVisible}`]:{boxShadow:`none`},"&:active":{boxShadow:`none`},[`&.${ds.disabled}`]:{boxShadow:`none`}}},{props:{fullWidth:!0},style:{width:`100%`}},{props:{loadingPosition:`center`},style:{transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`],{duration:e.transitions.duration.short}),[`&.${ds.loading}`]:{color:`transparent`}}}]}})),_s=Ka(`span`,{name:`MuiButton`,slot:`StartIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${V(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:8,marginLeft:-4,variants:[{props:{size:`small`},style:{marginLeft:-2}},{props:{loadingPosition:`start`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`start`,loading:!0,fullWidth:!0},style:{marginRight:-8}},...hs]})),vs=Ka(`span`,{name:`MuiButton`,slot:`EndIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${V(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:-4,marginLeft:8,variants:[{props:{size:`small`},style:{marginRight:-2}},{props:{loadingPosition:`end`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`end`,loading:!0,fullWidth:!0},style:{marginLeft:-8}},...hs]})),ys=Ka(`span`,{name:`MuiButton`,slot:`LoadingIndicator`})(({theme:e})=>({display:`none`,position:`absolute`,visibility:`visible`,variants:[{props:{loading:!0},style:{display:`flex`}},{props:{loadingPosition:`start`},style:{left:14}},{props:{loadingPosition:`start`,size:`small`},style:{left:10}},{props:{variant:`text`,loadingPosition:`start`},style:{left:6}},{props:{loadingPosition:`center`},style:{left:`50%`,transform:`translate(-50%)`,color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:`end`},style:{right:14}},{props:{loadingPosition:`end`,size:`small`},style:{right:10}},{props:{variant:`text`,loadingPosition:`end`},style:{right:6}},{props:{loadingPosition:`start`,fullWidth:!0},style:{position:`relative`,left:-10}},{props:{loadingPosition:`end`,fullWidth:!0},style:{position:`relative`,right:-10}}]})),bs=Ka(`span`,{name:`MuiButton`,slot:`LoadingIconPlaceholder`})({display:`inline-block`,width:`1em`,height:`1em`}),xs=M.forwardRef(function(e,t){let n=M.useContext(fs),r=M.useContext(ps),i=Za({props:ci(n,e),name:`MuiButton`}),{children:a,color:o=`primary`,component:s=`button`,className:c,disabled:l=!1,disableElevation:u=!1,disableFocusRipple:d=!1,endIcon:f,focusVisibleClassName:p,fullWidth:m=!1,id:h,loading:g=null,loadingIndicator:_,loadingPosition:v=`center`,size:y=`medium`,startIcon:b,type:x,variant:S=`text`,...C}=i,w=Qa(h),ee=_??(0,N.jsx)(es,{"aria-labelledby":w,color:`inherit`,size:16}),te={...i,color:o,component:s,disabled:l,disableElevation:u,disableFocusRipple:d,fullWidth:m,loading:g,loadingIndicator:ee,loadingPosition:v,size:y,type:x,variant:S},ne=ms(te),re=(b||g&&v===`start`)&&(0,N.jsx)(_s,{className:ne.startIcon,ownerState:te,children:b||(0,N.jsx)(bs,{className:ne.loadingIconPlaceholder,ownerState:te})}),ie=(f||g&&v===`end`)&&(0,N.jsx)(vs,{className:ne.endIcon,ownerState:te,children:f||(0,N.jsx)(bs,{className:ne.loadingIconPlaceholder,ownerState:te})}),ae=r||``,oe=typeof g==`boolean`?(0,N.jsx)(`span`,{className:ne.loadingWrapper,style:{display:`contents`},children:g&&(0,N.jsx)(ys,{className:ne.loadingIndicator,ownerState:te,children:ee})}):null;return(0,N.jsxs)(gs,{ownerState:te,className:Gr(n.className,ne.root,c,ae),component:s,disabled:l||g,focusRipple:!d,focusVisibleClassName:Gr(ne.focusVisible,p),ref:t,type:x,id:g?w:h,...C,classes:ne,children:[re,v!==`end`&&oe,a,v===`end`&&oe,ie]})}),Ss=typeof Ja({})==`function`,Cs=(e,t)=>({WebkitFontSmoothing:`antialiased`,MozOsxFontSmoothing:`grayscale`,boxSizing:`border-box`,WebkitTextSizeAdjust:`100%`,...t&&!e.vars&&{colorScheme:e.palette.mode}}),ws=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),Ts=(e,t=!1)=>{let n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector==`function`&&Object.entries(e.colorSchemes).forEach(([t,r])=>{let i=e.getColorSchemeSelector(t);i.startsWith(`@`)?n[i]={":root":{colorScheme:r.palette?.mode}}:n[i.replace(/\s*&/,``)]={colorScheme:r.palette?.mode}});let r={html:Cs(e,t),"*, *::before, *::after":{boxSizing:`inherit`},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...ws(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n},i=e.components?.MuiCssBaseline?.styleOverrides;return i&&(r=[r,i]),r},Es=`mui-ecs`,Ds=e=>{let t=Ts(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${Es})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([t,r])=>{let i=e.getColorSchemeSelector(t);i.startsWith(`@`)?n[i]={[`:root:not(:has(.${Es}))`]:{colorScheme:r.palette?.mode}}:n[i.replace(/\s*&/,``)]={[`&:not(:has(.${Es}))`]:{colorScheme:r.palette?.mode}}}),t},Os=Ja(Ss?({theme:e,enableColorScheme:t})=>Ts(e,t):({theme:e})=>Ds(e));function ks(e){let{children:t,enableColorScheme:n=!1}=Za({props:e,name:`MuiCssBaseline`});return(0,N.jsxs)(M.Fragment,{children:[Ss&&(0,N.jsx)(Os,{enableColorScheme:n}),!Ss&&!n&&(0,N.jsx)(`span`,{className:Es,style:{display:`none`}}),t]})}function As(e){return Jr(`MuiLinearProgress`,e)}Yr(`MuiLinearProgress`,[`root`,`colorPrimary`,`colorSecondary`,`determinate`,`indeterminate`,`buffer`,`query`,`dashed`,`dashedColorPrimary`,`dashedColorSecondary`,`bar`,`bar1`,`bar2`,`barColorPrimary`,`barColorSecondary`,`bar1Indeterminate`,`bar1Determinate`,`bar1Buffer`,`bar2Indeterminate`,`bar2Buffer`]);var js=4,Ms=Jt`
+ `,Yo=e=>{let{classes:t,variant:n,color:r,disableShrink:i}=e;return Hi({root:[`root`,n,`color${V(r)}`],svg:[`svg`],track:[`track`],circle:[`circle`,`circle${V(n)}`,i&&`circleDisableShrink`]},Uo,t)},Xo=Ka(`span`,{name:`MuiCircularProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`color${V(n.color)}`]]}})(Xa(({theme:e})=>({display:`inline-block`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`transform`)}},{props:{variant:`indeterminate`},style:qo||{animation:`${Go} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Ho()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),Zo=Ka(`svg`,{name:`MuiCircularProgress`,slot:`Svg`})({display:`block`}),Qo=Ka(`circle`,{name:`MuiCircularProgress`,slot:`Circle`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,t[`circle${V(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Xa(({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:e})=>e.variant===`indeterminate`&&!e.disableShrink,style:Jo||{animation:`${Ko} 1.4s ease-in-out infinite`}}]}))),$o=Ka(`circle`,{name:`MuiCircularProgress`,slot:`Track`})(Xa(({theme:e})=>({stroke:`currentColor`,opacity:(e.vars||e).palette.action.activatedOpacity}))),es=M.forwardRef(function(e,t){let n=Za({props:e,name:`MuiCircularProgress`}),{className:r,color:i=`primary`,disableShrink:a=!1,enableTrackSlot:o=!1,size:s=40,style:c,thickness:l=3.6,value:u=0,variant:d=`indeterminate`,...f}=n,p={...n,color:i,disableShrink:a,size:s,thickness:l,value:u,variant:d,enableTrackSlot:o},m=Yo(p),h={},g={},_={};if(d===`determinate`){let e=2*Math.PI*((Wo-l)/2);h.strokeDasharray=e.toFixed(3),_[`aria-valuenow`]=Math.round(u),h.strokeDashoffset=`${((100-u)/100*e).toFixed(3)}px`,g.transform=`rotate(-90deg)`}return(0,N.jsx)(Xo,{className:Gr(m.root,r),style:{width:s,height:s,...g,...c},ownerState:p,ref:t,role:`progressbar`,..._,...f,children:(0,N.jsxs)(Zo,{className:m.svg,ownerState:p,viewBox:`${Wo/2} ${Wo/2} ${Wo} ${Wo}`,children:[o?(0,N.jsx)($o,{className:m.track,ownerState:p,cx:Wo,cy:Wo,r:(Wo-l)/2,fill:`none`,strokeWidth:l,"aria-hidden":`true`}):null,(0,N.jsx)(Qo,{className:m.circle,style:h,ownerState:p,cx:Wo,cy:Wo,r:(Wo-l)/2,fill:`none`,strokeWidth:l})]})})});function ts(e){return Jr(`MuiTypography`,e)}Yr(`MuiTypography`,[`root`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`subtitle1`,`subtitle2`,`body1`,`body2`,`inherit`,`button`,`caption`,`overline`,`alignLeft`,`alignRight`,`alignCenter`,`alignJustify`,`noWrap`,`gutterBottom`,`paragraph`]);var ns={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},rs=Ya(),is=e=>{let{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:a,classes:o}=e;return Hi({root:[`root`,a,e.align!==`inherit`&&`align${V(t)}`,n&&`gutterBottom`,r&&`noWrap`,i&&`paragraph`]},ts,o)},as=Ka(`span`,{name:`MuiTypography`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!==`inherit`&&t[`align${V(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(Xa(({theme:e})=>({margin:0,variants:[{props:{variant:`inherit`},style:{font:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},...Object.entries(e.typography).filter(([e,t])=>e!==`inherit`&&t&&typeof t==`object`).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter(Ho()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>typeof e==`string`).map(([t])=>({props:{color:`text${V(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>e.align!==`inherit`,style:{textAlign:`var(--Typography-textAlign)`}},{props:({ownerState:e})=>e.noWrap,style:{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:`0.35em`}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),os={h1:`h1`,h2:`h2`,h3:`h3`,h4:`h4`,h5:`h5`,h6:`h6`,subtitle1:`h6`,subtitle2:`h6`,body1:`p`,body2:`p`,inherit:`p`},ss=M.forwardRef(function(e,t){let{color:n,...r}=Za({props:e,name:`MuiTypography`}),i=!ns[n],a=rs({...r,...i&&{color:n}}),{align:o=`inherit`,className:s,component:c,gutterBottom:l=!1,noWrap:u=!1,paragraph:d=!1,variant:f=`body1`,variantMapping:p=os,...m}=a,h={...a,align:o,color:n,className:s,component:c,gutterBottom:l,noWrap:u,paragraph:d,variant:f,variantMapping:p};return(0,N.jsx)(as,{as:c||(d?`p`:p[f]||os[f])||`span`,ref:t,className:Gr(is(h).root,s),...m,ownerState:h,style:{...o!==`inherit`&&{"--Typography-textAlign":o},...m.style}})}),cs=Yr(`MuiBox`,[`root`]),ls=Kr({themeId:te,defaultTheme:Ha(),defaultClassName:cs.root,generateClassName:Ur.generate});function us(e){return Jr(`MuiButton`,e)}var ds=Yr(`MuiButton`,`root.text.textInherit.textPrimary.textSecondary.textSuccess.textError.textInfo.textWarning.outlined.outlinedInherit.outlinedPrimary.outlinedSecondary.outlinedSuccess.outlinedError.outlinedInfo.outlinedWarning.contained.containedInherit.containedPrimary.containedSecondary.containedSuccess.containedError.containedInfo.containedWarning.disableElevation.focusVisible.disabled.colorInherit.colorPrimary.colorSecondary.colorSuccess.colorError.colorInfo.colorWarning.textSizeSmall.textSizeMedium.textSizeLarge.outlinedSizeSmall.outlinedSizeMedium.outlinedSizeLarge.containedSizeSmall.containedSizeMedium.containedSizeLarge.sizeMedium.sizeSmall.sizeLarge.fullWidth.startIcon.endIcon.icon.iconSizeSmall.iconSizeMedium.iconSizeLarge.loading.loadingWrapper.loadingIconPlaceholder.loadingIndicator.loadingPositionCenter.loadingPositionStart.loadingPositionEnd`.split(`.`)),fs=M.createContext({}),ps=M.createContext(void 0),ms=e=>{let{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,loading:o,loadingPosition:s,classes:c}=e,l=Hi({root:[`root`,o&&`loading`,a,`${a}${V(t)}`,`size${V(i)}`,`${a}Size${V(i)}`,`color${V(t)}`,n&&`disableElevation`,r&&`fullWidth`,o&&`loadingPosition${V(s)}`],startIcon:[`icon`,`startIcon`,`iconSize${V(i)}`],endIcon:[`icon`,`endIcon`,`iconSize${V(i)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},us,c);return{...c,...l}},hs=[{props:{size:`small`},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:`medium`},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:`large`},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],gs=Ka(Ro,{shouldForwardProp:e=>Ga(e)||e===`classes`,name:`MuiButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${V(n.color)}`],t[`size${V(n.size)}`],t[`${n.variant}Size${V(n.size)}`],n.color===`inherit`&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(Xa(({theme:e})=>{let t=e.palette.mode===`light`?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode===`light`?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:`6px 16px`,border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`,`color`],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:`none`},[`&.${ds.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.startIcon||e.loading&&e.loadingPosition===`start`,style:{"&::before":{content:`"\\200b"`,width:0,overflow:`hidden`}}},{props:{variant:`contained`},style:{color:`var(--variant-containedColor)`,backgroundColor:`var(--variant-containedBg)`,boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${ds.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${ds.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:`outlined`},style:{padding:`5px 15px`,border:`1px solid currentColor`,borderColor:`var(--variant-outlinedBorder, currentColor)`,backgroundColor:`var(--variant-outlinedBg)`,color:`var(--variant-outlinedColor)`,[`&.${ds.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:`text`},style:{padding:`6px 8px`,color:`var(--variant-textColor)`,backgroundColor:`var(--variant-textBg)`}},...Object.entries(e.palette).filter(Ho()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:`inherit`},style:{color:`inherit`,borderColor:`currentColor`,"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:`small`,variant:`text`},style:{padding:`4px 5px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`text`},style:{padding:`8px 11px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`outlined`},style:{padding:`3px 9px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`outlined`},style:{padding:`7px 21px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`contained`},style:{padding:`4px 10px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`contained`},style:{padding:`8px 22px`,fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:`none`,"&:hover":{boxShadow:`none`},[`&.${ds.focusVisible}`]:{boxShadow:`none`},"&:active":{boxShadow:`none`},[`&.${ds.disabled}`]:{boxShadow:`none`}}},{props:{fullWidth:!0},style:{width:`100%`}},{props:{loadingPosition:`center`},style:{transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`],{duration:e.transitions.duration.short}),[`&.${ds.loading}`]:{color:`transparent`}}}]}})),_s=Ka(`span`,{name:`MuiButton`,slot:`StartIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${V(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:8,marginLeft:-4,variants:[{props:{size:`small`},style:{marginLeft:-2}},{props:{loadingPosition:`start`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`start`,loading:!0,fullWidth:!0},style:{marginRight:-8}},...hs]})),vs=Ka(`span`,{name:`MuiButton`,slot:`EndIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${V(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:-4,marginLeft:8,variants:[{props:{size:`small`},style:{marginRight:-2}},{props:{loadingPosition:`end`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`end`,loading:!0,fullWidth:!0},style:{marginLeft:-8}},...hs]})),ys=Ka(`span`,{name:`MuiButton`,slot:`LoadingIndicator`})(({theme:e})=>({display:`none`,position:`absolute`,visibility:`visible`,variants:[{props:{loading:!0},style:{display:`flex`}},{props:{loadingPosition:`start`},style:{left:14}},{props:{loadingPosition:`start`,size:`small`},style:{left:10}},{props:{variant:`text`,loadingPosition:`start`},style:{left:6}},{props:{loadingPosition:`center`},style:{left:`50%`,transform:`translate(-50%)`,color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:`end`},style:{right:14}},{props:{loadingPosition:`end`,size:`small`},style:{right:10}},{props:{variant:`text`,loadingPosition:`end`},style:{right:6}},{props:{loadingPosition:`start`,fullWidth:!0},style:{position:`relative`,left:-10}},{props:{loadingPosition:`end`,fullWidth:!0},style:{position:`relative`,right:-10}}]})),bs=Ka(`span`,{name:`MuiButton`,slot:`LoadingIconPlaceholder`})({display:`inline-block`,width:`1em`,height:`1em`}),xs=M.forwardRef(function(e,t){let n=M.useContext(fs),r=M.useContext(ps),i=Za({props:ci(n,e),name:`MuiButton`}),{children:a,color:o=`primary`,component:s=`button`,className:c,disabled:l=!1,disableElevation:u=!1,disableFocusRipple:d=!1,endIcon:f,focusVisibleClassName:p,fullWidth:m=!1,id:h,loading:g=null,loadingIndicator:_,loadingPosition:v=`center`,size:y=`medium`,startIcon:b,type:x,variant:S=`text`,...C}=i,w=Qa(h),ee=_??(0,N.jsx)(es,{"aria-labelledby":w,color:`inherit`,size:16}),te={...i,color:o,component:s,disabled:l,disableElevation:u,disableFocusRipple:d,fullWidth:m,loading:g,loadingIndicator:ee,loadingPosition:v,size:y,type:x,variant:S},ne=ms(te),re=(b||g&&v===`start`)&&(0,N.jsx)(_s,{className:ne.startIcon,ownerState:te,children:b||(0,N.jsx)(bs,{className:ne.loadingIconPlaceholder,ownerState:te})}),ie=(f||g&&v===`end`)&&(0,N.jsx)(vs,{className:ne.endIcon,ownerState:te,children:f||(0,N.jsx)(bs,{className:ne.loadingIconPlaceholder,ownerState:te})}),ae=r||``,oe=typeof g==`boolean`?(0,N.jsx)(`span`,{className:ne.loadingWrapper,style:{display:`contents`},children:g&&(0,N.jsx)(ys,{className:ne.loadingIndicator,ownerState:te,children:ee})}):null,{root:T,...se}=ne;return(0,N.jsxs)(gs,{ownerState:te,className:Gr(n.className,ne.root,c,ae),component:s,disabled:l||g,focusRipple:!d,focusVisibleClassName:Gr(ne.focusVisible,p),ref:t,type:x,id:g?w:h,...C,classes:se,children:[re,v!==`end`&&oe,a,v===`end`&&oe,ie]})}),Ss=typeof Ja({})==`function`,Cs=(e,t)=>({WebkitFontSmoothing:`antialiased`,MozOsxFontSmoothing:`grayscale`,boxSizing:`border-box`,WebkitTextSizeAdjust:`100%`,...t&&!e.vars&&{colorScheme:e.palette.mode}}),ws=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),Ts=(e,t=!1)=>{let n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector==`function`&&Object.entries(e.colorSchemes).forEach(([t,r])=>{let i=e.getColorSchemeSelector(t);i.startsWith(`@`)?n[i]={":root":{colorScheme:r.palette?.mode}}:n[i.replace(/\s*&/,``)]={colorScheme:r.palette?.mode}});let r={html:Cs(e,t),"*, *::before, *::after":{boxSizing:`inherit`},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...ws(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n},i=e.components?.MuiCssBaseline?.styleOverrides;return i&&(r=[r,i]),r},Es=`mui-ecs`,Ds=e=>{let t=Ts(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${Es})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([t,r])=>{let i=e.getColorSchemeSelector(t);i.startsWith(`@`)?n[i]={[`:root:not(:has(.${Es}))`]:{colorScheme:r.palette?.mode}}:n[i.replace(/\s*&/,``)]={[`&:not(:has(.${Es}))`]:{colorScheme:r.palette?.mode}}}),t},Os=Ja(Ss?({theme:e,enableColorScheme:t})=>Ts(e,t):({theme:e})=>Ds(e));function ks(e){let{children:t,enableColorScheme:n=!1}=Za({props:e,name:`MuiCssBaseline`});return(0,N.jsxs)(M.Fragment,{children:[Ss&&(0,N.jsx)(Os,{enableColorScheme:n}),!Ss&&!n&&(0,N.jsx)(`span`,{className:Es,style:{display:`none`}}),t]})}function As(e){return Jr(`MuiLinearProgress`,e)}Yr(`MuiLinearProgress`,[`root`,`colorPrimary`,`colorSecondary`,`determinate`,`indeterminate`,`buffer`,`query`,`dashed`,`dashedColorPrimary`,`dashedColorSecondary`,`bar`,`bar1`,`bar2`,`barColorPrimary`,`barColorSecondary`,`bar1Indeterminate`,`bar1Determinate`,`bar1Buffer`,`bar2Indeterminate`,`bar2Buffer`]);var js=4,Ms=Jt`
0% {
left: -35%;
right: 100%;
@@ -165,4 +165,4 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
}
`,Ls=typeof Is==`string`?null:qt`
animation: ${Is} 3s infinite linear;
- `,Rs=e=>{let{classes:t,variant:n,color:r}=e;return Hi({root:[`root`,`color${V(r)}`,n],dashed:[`dashed`,`dashedColor${V(r)}`],bar1:[`bar`,`bar1`,`barColor${V(r)}`,(n===`indeterminate`||n===`query`)&&`bar1Indeterminate`,n===`determinate`&&`bar1Determinate`,n===`buffer`&&`bar1Buffer`],bar2:[`bar`,`bar2`,n!==`buffer`&&`barColor${V(r)}`,n===`buffer`&&`color${V(r)}`,(n===`indeterminate`||n===`query`)&&`bar2Indeterminate`,n===`buffer`&&`bar2Buffer`]},As,t)},zs=(e,t)=>e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:e.palette.mode===`light`?e.lighten(e.palette[t].main,.62):e.darken(e.palette[t].main,.5),Bs=Ka(`span`,{name:`MuiLinearProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`color${V(n.color)}`],t[n.variant]]}})(Xa(({theme:e})=>({position:`relative`,overflow:`hidden`,display:`block`,height:4,zIndex:0,"@media print":{colorAdjust:`exact`},variants:[...Object.entries(e.palette).filter(Ho()).map(([t])=>({props:{color:t},style:{backgroundColor:zs(e,t)}})),{props:({ownerState:e})=>e.color===`inherit`&&e.variant!==`buffer`,style:{"&::before":{content:`""`,position:`absolute`,left:0,top:0,right:0,bottom:0,backgroundColor:`currentColor`,opacity:.3}}},{props:{variant:`buffer`},style:{backgroundColor:`transparent`}},{props:{variant:`query`},style:{transform:`rotate(180deg)`}}]}))),Vs=Ka(`span`,{name:`MuiLinearProgress`,slot:`Dashed`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.dashed,t[`dashedColor${V(n.color)}`]]}})(Xa(({theme:e})=>({position:`absolute`,marginTop:0,height:`100%`,width:`100%`,backgroundSize:`10px 10px`,backgroundPosition:`0 -23px`,variants:[{props:{color:`inherit`},style:{opacity:.3,backgroundImage:`radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)`}},...Object.entries(e.palette).filter(Ho()).map(([t])=>{let n=zs(e,t);return{props:{color:t},style:{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`}}})]})),Ls||{animation:`${Is} 3s infinite linear`}),Hs=Ka(`span`,{name:`MuiLinearProgress`,slot:`Bar1`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.bar,t.bar1,t[`barColor${V(n.color)}`],(n.variant===`indeterminate`||n.variant===`query`)&&t.bar1Indeterminate,n.variant===`determinate`&&t.bar1Determinate,n.variant===`buffer`&&t.bar1Buffer]}})(Xa(({theme:e})=>({width:`100%`,position:`absolute`,left:0,bottom:0,top:0,transition:`transform 0.2s linear`,transformOrigin:`left`,variants:[{props:{color:`inherit`},style:{backgroundColor:`currentColor`}},...Object.entries(e.palette).filter(Ho()).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main}})),{props:{variant:`determinate`},style:{transition:`transform .${js}s linear`}},{props:{variant:`buffer`},style:{zIndex:1,transition:`transform .${js}s linear`}},{props:({ownerState:e})=>e.variant===`indeterminate`||e.variant===`query`,style:{width:`auto`}},{props:({ownerState:e})=>e.variant===`indeterminate`||e.variant===`query`,style:Ns||{animation:`${Ms} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),Us=Ka(`span`,{name:`MuiLinearProgress`,slot:`Bar2`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.bar,t.bar2,t[`barColor${V(n.color)}`],(n.variant===`indeterminate`||n.variant===`query`)&&t.bar2Indeterminate,n.variant===`buffer`&&t.bar2Buffer]}})(Xa(({theme:e})=>({width:`100%`,position:`absolute`,left:0,bottom:0,top:0,transition:`transform 0.2s linear`,transformOrigin:`left`,variants:[...Object.entries(e.palette).filter(Ho()).map(([t])=>({props:{color:t},style:{"--LinearProgressBar2-barColor":(e.vars||e).palette[t].main}})),{props:({ownerState:e})=>e.variant!==`buffer`&&e.color!==`inherit`,style:{backgroundColor:`var(--LinearProgressBar2-barColor, currentColor)`}},{props:({ownerState:e})=>e.variant!==`buffer`&&e.color===`inherit`,style:{backgroundColor:`currentColor`}},{props:{color:`inherit`},style:{opacity:.3}},...Object.entries(e.palette).filter(Ho()).map(([t])=>({props:{color:t,variant:`buffer`},style:{backgroundColor:zs(e,t),transition:`transform .${js}s linear`}})),{props:({ownerState:e})=>e.variant===`indeterminate`||e.variant===`query`,style:{width:`auto`}},{props:({ownerState:e})=>e.variant===`indeterminate`||e.variant===`query`,style:Fs||{animation:`${Ps} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),Ws=M.forwardRef(function(e,t){let n=Za({props:e,name:`MuiLinearProgress`}),{className:r,color:i=`primary`,value:a,valueBuffer:o,variant:s=`indeterminate`,...c}=n,l={...n,color:i,variant:s},u=Rs(l),d=Di(),f={},p={bar1:{},bar2:{}};if((s===`determinate`||s===`buffer`)&&a!==void 0){f[`aria-valuenow`]=Math.round(a),f[`aria-valuemin`]=0,f[`aria-valuemax`]=100;let e=a-100;d&&(e=-e),p.bar1.transform=`translateX(${e}%)`}if(s===`buffer`&&o!==void 0){let e=(o||0)-100;d&&(e=-e),p.bar2.transform=`translateX(${e}%)`}return(0,N.jsxs)(Bs,{className:Gr(u.root,r),ownerState:l,role:`progressbar`,...f,ref:t,...c,children:[s===`buffer`?(0,N.jsx)(Vs,{className:u.dashed,ownerState:l}):null,(0,N.jsx)(Hs,{className:u.bar1,ownerState:l,style:p.bar1}),s===`determinate`?null:(0,N.jsx)(Us,{className:u.bar2,ownerState:l,style:p.bar2})]})}),Gs=g();function Ks(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)}function qs(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n}var Js,Ys=`__TAURI_TO_IPC_KEY__`;function Xs(e,t=!1){return window.__TAURI_INTERNALS__.transformCallback(e,t)}async function W(e,t={},n){return window.__TAURI_INTERNALS__.invoke(e,t,n)}var Zs=class{get rid(){return Ks(this,Js,`f`)}constructor(e){Js.set(this,void 0),qs(this,Js,e,`f`)}async close(){return W(`plugin:resources|close`,{rid:this.rid})}};Js=new WeakMap;var Qs=class{constructor(...e){this.type=`Logical`,e.length===1?`Logical`in e[0]?(this.width=e[0].Logical.width,this.height=e[0].Logical.height):(this.width=e[0].width,this.height=e[0].height):(this.width=e[0],this.height=e[1])}toPhysical(e){return new $s(this.width*e,this.height*e)}[Ys](){return{width:this.width,height:this.height}}toJSON(){return this[Ys]()}},$s=class{constructor(...e){this.type=`Physical`,e.length===1?`Physical`in e[0]?(this.width=e[0].Physical.width,this.height=e[0].Physical.height):(this.width=e[0].width,this.height=e[0].height):(this.width=e[0],this.height=e[1])}toLogical(e){return new Qs(this.width/e,this.height/e)}[Ys](){return{width:this.width,height:this.height}}toJSON(){return this[Ys]()}},ec=class{constructor(e){this.size=e}toLogical(e){return this.size instanceof Qs?this.size:this.size.toLogical(e)}toPhysical(e){return this.size instanceof $s?this.size:this.size.toPhysical(e)}[Ys](){return{[`${this.size.type}`]:{width:this.size.width,height:this.size.height}}}toJSON(){return this[Ys]()}},tc=class{constructor(...e){this.type=`Logical`,e.length===1?`Logical`in e[0]?(this.x=e[0].Logical.x,this.y=e[0].Logical.y):(this.x=e[0].x,this.y=e[0].y):(this.x=e[0],this.y=e[1])}toPhysical(e){return new G(this.x*e,this.y*e)}[Ys](){return{x:this.x,y:this.y}}toJSON(){return this[Ys]()}},G=class{constructor(...e){this.type=`Physical`,e.length===1?`Physical`in e[0]?(this.x=e[0].Physical.x,this.y=e[0].Physical.y):(this.x=e[0].x,this.y=e[0].y):(this.x=e[0],this.y=e[1])}toLogical(e){return new tc(this.x/e,this.y/e)}[Ys](){return{x:this.x,y:this.y}}toJSON(){return this[Ys]()}},nc=class{constructor(e){this.position=e}toLogical(e){return this.position instanceof tc?this.position:this.position.toLogical(e)}toPhysical(e){return this.position instanceof G?this.position:this.position.toPhysical(e)}[Ys](){return{[`${this.position.type}`]:{x:this.position.x,y:this.position.y}}}toJSON(){return this[Ys]()}},rc;(function(e){e.WINDOW_RESIZED=`tauri://resize`,e.WINDOW_MOVED=`tauri://move`,e.WINDOW_CLOSE_REQUESTED=`tauri://close-requested`,e.WINDOW_DESTROYED=`tauri://destroyed`,e.WINDOW_FOCUS=`tauri://focus`,e.WINDOW_BLUR=`tauri://blur`,e.WINDOW_SCALE_FACTOR_CHANGED=`tauri://scale-change`,e.WINDOW_THEME_CHANGED=`tauri://theme-changed`,e.WINDOW_CREATED=`tauri://window-created`,e.WEBVIEW_CREATED=`tauri://webview-created`,e.DRAG_ENTER=`tauri://drag-enter`,e.DRAG_OVER=`tauri://drag-over`,e.DRAG_DROP=`tauri://drag-drop`,e.DRAG_LEAVE=`tauri://drag-leave`})(rc||={});async function ic(e,t){window.__TAURI_EVENT_PLUGIN_INTERNALS__.unregisterListener(e,t),await W(`plugin:event|unlisten`,{event:e,eventId:t})}async function ac(e,t,n){return W(`plugin:event|listen`,{event:e,target:typeof n?.target==`string`?{kind:`AnyLabel`,label:n.target}:n?.target??{kind:`Any`},handler:Xs(t)}).then(t=>async()=>ic(e,t))}async function oc(e,t,n){return ac(e,n=>{ic(e,n.id),t(n)},n)}async function sc(e,t){await W(`plugin:event|emit`,{event:e,payload:t})}async function cc(e,t,n){await W(`plugin:event|emit_to`,{target:typeof e==`string`?{kind:`AnyLabel`,label:e}:e,event:t,payload:n})}var lc=class e extends Zs{constructor(e){super(e)}static async new(t,n,r){return W(`plugin:image|new`,{rgba:uc(t),width:n,height:r}).then(t=>new e(t))}static async fromBytes(t){return W(`plugin:image|from_bytes`,{bytes:uc(t)}).then(t=>new e(t))}static async fromPath(t){return W(`plugin:image|from_path`,{path:t}).then(t=>new e(t))}async rgba(){return W(`plugin:image|rgba`,{rid:this.rid}).then(e=>new Uint8Array(e))}async size(){return W(`plugin:image|size`,{rid:this.rid})}};function uc(e){return e==null?null:typeof e==`string`?e:e instanceof lc?e.rid:e}var dc;(function(e){e[e.Critical=1]=`Critical`,e[e.Informational=2]=`Informational`})(dc||={});var fc=class{constructor(e){this._preventDefault=!1,this.event=e.event,this.id=e.id}preventDefault(){this._preventDefault=!0}isPreventDefault(){return this._preventDefault}},pc;(function(e){e.None=`none`,e.Normal=`normal`,e.Indeterminate=`indeterminate`,e.Paused=`paused`,e.Error=`error`})(pc||={});function mc(){return new _c(window.__TAURI_INTERNALS__.metadata.currentWindow.label,{skip:!0})}async function hc(){return W(`plugin:window|get_all_windows`).then(e=>e.map(e=>new _c(e,{skip:!0})))}var gc=[`tauri://created`,`tauri://error`],_c=class{constructor(e,t={}){this.label=e,this.listeners=Object.create(null),t?.skip||W(`plugin:window|create`,{options:{...t,parent:typeof t.parent==`string`?t.parent:t.parent?.label,label:e}}).then(async()=>this.emit(`tauri://created`)).catch(async e=>this.emit(`tauri://error`,e))}static async getByLabel(e){return(await hc()).find(t=>t.label===e)??null}static getCurrent(){return mc()}static async getAll(){return hc()}static async getFocusedWindow(){for(let e of await hc())if(await e.isFocused())return e;return null}async listen(e,t){return this._handleTauriEvent(e,t)?()=>{let n=this.listeners[e];n.splice(n.indexOf(t),1)}:ac(e,t,{target:{kind:`Window`,label:this.label}})}async once(e,t){return this._handleTauriEvent(e,t)?()=>{let n=this.listeners[e];n.splice(n.indexOf(t),1)}:oc(e,t,{target:{kind:`Window`,label:this.label}})}async emit(e,t){if(gc.includes(e)){for(let n of this.listeners[e]||[])n({event:e,id:-1,payload:t});return}return sc(e,t)}async emitTo(e,t,n){if(gc.includes(t)){for(let e of this.listeners[t]||[])e({event:t,id:-1,payload:n});return}return cc(e,t,n)}_handleTauriEvent(e,t){return gc.includes(e)?(e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t],!0):!1}async scaleFactor(){return W(`plugin:window|scale_factor`,{label:this.label})}async innerPosition(){return W(`plugin:window|inner_position`,{label:this.label}).then(e=>new G(e))}async outerPosition(){return W(`plugin:window|outer_position`,{label:this.label}).then(e=>new G(e))}async innerSize(){return W(`plugin:window|inner_size`,{label:this.label}).then(e=>new $s(e))}async outerSize(){return W(`plugin:window|outer_size`,{label:this.label}).then(e=>new $s(e))}async isFullscreen(){return W(`plugin:window|is_fullscreen`,{label:this.label})}async isMinimized(){return W(`plugin:window|is_minimized`,{label:this.label})}async isMaximized(){return W(`plugin:window|is_maximized`,{label:this.label})}async isFocused(){return W(`plugin:window|is_focused`,{label:this.label})}async isDecorated(){return W(`plugin:window|is_decorated`,{label:this.label})}async isResizable(){return W(`plugin:window|is_resizable`,{label:this.label})}async isMaximizable(){return W(`plugin:window|is_maximizable`,{label:this.label})}async isMinimizable(){return W(`plugin:window|is_minimizable`,{label:this.label})}async isClosable(){return W(`plugin:window|is_closable`,{label:this.label})}async isVisible(){return W(`plugin:window|is_visible`,{label:this.label})}async title(){return W(`plugin:window|title`,{label:this.label})}async theme(){return W(`plugin:window|theme`,{label:this.label})}async isAlwaysOnTop(){return W(`plugin:window|is_always_on_top`,{label:this.label})}async center(){return W(`plugin:window|center`,{label:this.label})}async requestUserAttention(e){let t=null;return e&&(t=e===dc.Critical?{type:`Critical`}:{type:`Informational`}),W(`plugin:window|request_user_attention`,{label:this.label,value:t})}async setResizable(e){return W(`plugin:window|set_resizable`,{label:this.label,value:e})}async setEnabled(e){return W(`plugin:window|set_enabled`,{label:this.label,value:e})}async isEnabled(){return W(`plugin:window|is_enabled`,{label:this.label})}async setMaximizable(e){return W(`plugin:window|set_maximizable`,{label:this.label,value:e})}async setMinimizable(e){return W(`plugin:window|set_minimizable`,{label:this.label,value:e})}async setClosable(e){return W(`plugin:window|set_closable`,{label:this.label,value:e})}async setTitle(e){return W(`plugin:window|set_title`,{label:this.label,value:e})}async maximize(){return W(`plugin:window|maximize`,{label:this.label})}async unmaximize(){return W(`plugin:window|unmaximize`,{label:this.label})}async toggleMaximize(){return W(`plugin:window|toggle_maximize`,{label:this.label})}async minimize(){return W(`plugin:window|minimize`,{label:this.label})}async unminimize(){return W(`plugin:window|unminimize`,{label:this.label})}async show(){return W(`plugin:window|show`,{label:this.label})}async hide(){return W(`plugin:window|hide`,{label:this.label})}async close(){return W(`plugin:window|close`,{label:this.label})}async destroy(){return W(`plugin:window|destroy`,{label:this.label})}async setDecorations(e){return W(`plugin:window|set_decorations`,{label:this.label,value:e})}async setShadow(e){return W(`plugin:window|set_shadow`,{label:this.label,value:e})}async setEffects(e){return W(`plugin:window|set_effects`,{label:this.label,value:e})}async clearEffects(){return W(`plugin:window|set_effects`,{label:this.label,value:null})}async setAlwaysOnTop(e){return W(`plugin:window|set_always_on_top`,{label:this.label,value:e})}async setAlwaysOnBottom(e){return W(`plugin:window|set_always_on_bottom`,{label:this.label,value:e})}async setContentProtected(e){return W(`plugin:window|set_content_protected`,{label:this.label,value:e})}async setSize(e){return W(`plugin:window|set_size`,{label:this.label,value:e instanceof ec?e:new ec(e)})}async setMinSize(e){return W(`plugin:window|set_min_size`,{label:this.label,value:e instanceof ec?e:e?new ec(e):null})}async setMaxSize(e){return W(`plugin:window|set_max_size`,{label:this.label,value:e instanceof ec?e:e?new ec(e):null})}async setSizeConstraints(e){function t(e){return e?{Logical:e}:null}return W(`plugin:window|set_size_constraints`,{label:this.label,value:{minWidth:t(e?.minWidth),minHeight:t(e?.minHeight),maxWidth:t(e?.maxWidth),maxHeight:t(e?.maxHeight)}})}async setPosition(e){return W(`plugin:window|set_position`,{label:this.label,value:e instanceof nc?e:new nc(e)})}async setFullscreen(e){return W(`plugin:window|set_fullscreen`,{label:this.label,value:e})}async setSimpleFullscreen(e){return W(`plugin:window|set_simple_fullscreen`,{label:this.label,value:e})}async setFocus(){return W(`plugin:window|set_focus`,{label:this.label})}async setFocusable(e){return W(`plugin:window|set_focusable`,{label:this.label,value:e})}async setIcon(e){return W(`plugin:window|set_icon`,{label:this.label,value:uc(e)})}async setSkipTaskbar(e){return W(`plugin:window|set_skip_taskbar`,{label:this.label,value:e})}async setCursorGrab(e){return W(`plugin:window|set_cursor_grab`,{label:this.label,value:e})}async setCursorVisible(e){return W(`plugin:window|set_cursor_visible`,{label:this.label,value:e})}async setCursorIcon(e){return W(`plugin:window|set_cursor_icon`,{label:this.label,value:e})}async setBackgroundColor(e){return W(`plugin:window|set_background_color`,{color:e})}async setCursorPosition(e){return W(`plugin:window|set_cursor_position`,{label:this.label,value:e instanceof nc?e:new nc(e)})}async setIgnoreCursorEvents(e){return W(`plugin:window|set_ignore_cursor_events`,{label:this.label,value:e})}async startDragging(){return W(`plugin:window|start_dragging`,{label:this.label})}async startResizeDragging(e){return W(`plugin:window|start_resize_dragging`,{label:this.label,value:e})}async setBadgeCount(e){return W(`plugin:window|set_badge_count`,{label:this.label,value:e})}async setBadgeLabel(e){return W(`plugin:window|set_badge_label`,{label:this.label,value:e})}async setOverlayIcon(e){return W(`plugin:window|set_overlay_icon`,{label:this.label,value:e?uc(e):void 0})}async setProgressBar(e){return W(`plugin:window|set_progress_bar`,{label:this.label,value:e})}async setVisibleOnAllWorkspaces(e){return W(`plugin:window|set_visible_on_all_workspaces`,{label:this.label,value:e})}async setTitleBarStyle(e){return W(`plugin:window|set_title_bar_style`,{label:this.label,value:e})}async setTheme(e){return W(`plugin:window|set_theme`,{label:this.label,value:e})}async onResized(e){return this.listen(rc.WINDOW_RESIZED,t=>{t.payload=new $s(t.payload),e(t)})}async onMoved(e){return this.listen(rc.WINDOW_MOVED,t=>{t.payload=new G(t.payload),e(t)})}async onCloseRequested(e){return this.listen(rc.WINDOW_CLOSE_REQUESTED,async t=>{let n=new fc(t);await e(n),n.isPreventDefault()||await this.destroy()})}async onDragDropEvent(e){let t=await this.listen(rc.DRAG_ENTER,t=>{e({...t,payload:{type:`enter`,paths:t.payload.paths,position:new G(t.payload.position)}})}),n=await this.listen(rc.DRAG_OVER,t=>{e({...t,payload:{type:`over`,position:new G(t.payload.position)}})}),r=await this.listen(rc.DRAG_DROP,t=>{e({...t,payload:{type:`drop`,paths:t.payload.paths,position:new G(t.payload.position)}})}),i=await this.listen(rc.DRAG_LEAVE,t=>{e({...t,payload:{type:`leave`}})});return()=>{t(),r(),n(),i()}}async onFocusChanged(e){let t=await this.listen(rc.WINDOW_FOCUS,t=>{e({...t,payload:!0})}),n=await this.listen(rc.WINDOW_BLUR,t=>{e({...t,payload:!1})});return()=>{t(),n()}}async onScaleChanged(e){return this.listen(rc.WINDOW_SCALE_FACTOR_CHANGED,e)}async onThemeChanged(e){return this.listen(rc.WINDOW_THEME_CHANGED,e)}},vc;(function(e){e.Disabled=`disabled`,e.Throttle=`throttle`,e.Suspend=`suspend`})(vc||={});var yc;(function(e){e.Default=`default`,e.FluentOverlay=`fluentOverlay`})(yc||={});var bc;(function(e){e.AppearanceBased=`appearanceBased`,e.Light=`light`,e.Dark=`dark`,e.MediumLight=`mediumLight`,e.UltraDark=`ultraDark`,e.Titlebar=`titlebar`,e.Selection=`selection`,e.Menu=`menu`,e.Popover=`popover`,e.Sidebar=`sidebar`,e.HeaderView=`headerView`,e.Sheet=`sheet`,e.WindowBackground=`windowBackground`,e.HudWindow=`hudWindow`,e.FullScreenUI=`fullScreenUI`,e.Tooltip=`tooltip`,e.ContentBackground=`contentBackground`,e.UnderWindowBackground=`underWindowBackground`,e.UnderPageBackground=`underPageBackground`,e.Mica=`mica`,e.Blur=`blur`,e.Acrylic=`acrylic`,e.Tabbed=`tabbed`,e.TabbedDark=`tabbedDark`,e.TabbedLight=`tabbedLight`})(bc||={});var xc;(function(e){e.FollowsWindowActiveState=`followsWindowActiveState`,e.Active=`active`,e.Inactive=`inactive`})(xc||={});var Sc=`/assets/icon-BlfaAlWe.svg`,Cc=mc();function wc(){let[e,t]=(0,M.useState)(null);return(0,M.useEffect)(()=>{let e=Cc.listen(`app://update-progress`,e=>{t(e.payload)});return()=>{e.then(e=>e())}},[]),e}function Tc(){let[e,t]=(0,M.useState)(!1);(0,M.useEffect)(()=>{Cc.emit(`app://update`);let e=Cc.listen(`app://update-error`,()=>{t(!0)});return()=>{e.then(e=>e())}},[]);let n=()=>{t(!1),Cc.emit(`app://update`)};return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(ks,{}),(0,N.jsx)(ls,{sx:{position:`absolute`,inset:0},display:`flex`,alignItems:`center`,px:2,"data-tauri-drag-region":!0,children:(0,N.jsxs)(ls,{display:`flex`,alignItems:`center`,flex:`1`,"data-tauri-drag-region":!0,children:[(0,N.jsx)(ls,{component:`img`,src:Sc,alt:`logo`,sx:{width:`4rem`,height:`4rem`},"data-tauri-drag-region":!0}),(0,N.jsx)(ls,{flex:1,ml:2,children:e?(0,N.jsx)(Dc,{onRetry:n}):(0,N.jsx)(Ec,{})})]})})]})}function Ec(){let e=wc();return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(ss,{variant:`h1`,fontSize:`1rem`,"data-tauri-drag-region":!0,children:`Updating the GUI components...`}),(0,N.jsx)(ls,{mt:1,children:(0,N.jsx)(Oc,{value:e})})]})}function Dc({onRetry:e}){return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(ss,{variant:`h1`,fontSize:`1rem`,"data-tauri-drag-region":!0,children:`Failed to update the GUI components.`}),(0,N.jsx)(ls,{mt:1,"data-tauri-drag-region":!0,children:(0,N.jsx)(xs,{variant:`contained`,color:`primary`,size:`small`,onClick:e,sx:{textTransform:`none`},children:`Retry`})})]})}function Oc(e){let{value:t}=e;return(0,N.jsxs)(ls,{sx:{display:`flex`,alignItems:`center`},children:[(0,N.jsx)(ls,{flex:`1`,children:(0,N.jsx)(Ws,{variant:t===null?`indeterminate`:`determinate`,value:t??0,sx:{py:1.2,".MuiLinearProgress-bar":{transition:`none`}}})}),t!==null&&(0,N.jsx)(ls,{sx:{minWidth:35,textAlign:`right`,ml:1},children:(0,N.jsx)(ss,{variant:`body2`,color:`text.secondary`,children:`${Math.round(t)}%`})})]})}(0,Gs.createRoot)(document.getElementById(`root`)).render((0,N.jsx)(Tc,{}));
\ No newline at end of file
+ `,Rs=e=>{let{classes:t,variant:n,color:r}=e;return Hi({root:[`root`,`color${V(r)}`,n],dashed:[`dashed`,`dashedColor${V(r)}`],bar1:[`bar`,`bar1`,`barColor${V(r)}`,(n===`indeterminate`||n===`query`)&&`bar1Indeterminate`,n===`determinate`&&`bar1Determinate`,n===`buffer`&&`bar1Buffer`],bar2:[`bar`,`bar2`,n!==`buffer`&&`barColor${V(r)}`,n===`buffer`&&`color${V(r)}`,(n===`indeterminate`||n===`query`)&&`bar2Indeterminate`,n===`buffer`&&`bar2Buffer`]},As,t)},zs=(e,t)=>e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:e.palette.mode===`light`?e.lighten(e.palette[t].main,.62):e.darken(e.palette[t].main,.5),Bs=Ka(`span`,{name:`MuiLinearProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`color${V(n.color)}`],t[n.variant]]}})(Xa(({theme:e})=>({position:`relative`,overflow:`hidden`,display:`block`,height:4,zIndex:0,"@media print":{colorAdjust:`exact`},variants:[...Object.entries(e.palette).filter(Ho()).map(([t])=>({props:{color:t},style:{backgroundColor:zs(e,t)}})),{props:({ownerState:e})=>e.color===`inherit`&&e.variant!==`buffer`,style:{"&::before":{content:`""`,position:`absolute`,left:0,top:0,right:0,bottom:0,backgroundColor:`currentColor`,opacity:.3}}},{props:{variant:`buffer`},style:{backgroundColor:`transparent`}},{props:{variant:`query`},style:{transform:`rotate(180deg)`}}]}))),Vs=Ka(`span`,{name:`MuiLinearProgress`,slot:`Dashed`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.dashed,t[`dashedColor${V(n.color)}`]]}})(Xa(({theme:e})=>({position:`absolute`,marginTop:0,height:`100%`,width:`100%`,backgroundSize:`10px 10px`,backgroundPosition:`0 -23px`,variants:[{props:{color:`inherit`},style:{opacity:.3,backgroundImage:`radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)`}},...Object.entries(e.palette).filter(Ho()).map(([t])=>{let n=zs(e,t);return{props:{color:t},style:{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`}}})]})),Ls||{animation:`${Is} 3s infinite linear`}),Hs=Ka(`span`,{name:`MuiLinearProgress`,slot:`Bar1`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.bar,t.bar1,t[`barColor${V(n.color)}`],(n.variant===`indeterminate`||n.variant===`query`)&&t.bar1Indeterminate,n.variant===`determinate`&&t.bar1Determinate,n.variant===`buffer`&&t.bar1Buffer]}})(Xa(({theme:e})=>({width:`100%`,position:`absolute`,left:0,bottom:0,top:0,transition:`transform 0.2s linear`,transformOrigin:`left`,variants:[{props:{color:`inherit`},style:{backgroundColor:`currentColor`}},...Object.entries(e.palette).filter(Ho()).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main}})),{props:{variant:`determinate`},style:{transition:`transform .${js}s linear`}},{props:{variant:`buffer`},style:{zIndex:1,transition:`transform .${js}s linear`}},{props:({ownerState:e})=>e.variant===`indeterminate`||e.variant===`query`,style:{width:`auto`}},{props:({ownerState:e})=>e.variant===`indeterminate`||e.variant===`query`,style:Ns||{animation:`${Ms} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),Us=Ka(`span`,{name:`MuiLinearProgress`,slot:`Bar2`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.bar,t.bar2,t[`barColor${V(n.color)}`],(n.variant===`indeterminate`||n.variant===`query`)&&t.bar2Indeterminate,n.variant===`buffer`&&t.bar2Buffer]}})(Xa(({theme:e})=>({width:`100%`,position:`absolute`,left:0,bottom:0,top:0,transition:`transform 0.2s linear`,transformOrigin:`left`,variants:[...Object.entries(e.palette).filter(Ho()).map(([t])=>({props:{color:t},style:{"--LinearProgressBar2-barColor":(e.vars||e).palette[t].main}})),{props:({ownerState:e})=>e.variant!==`buffer`&&e.color!==`inherit`,style:{backgroundColor:`var(--LinearProgressBar2-barColor, currentColor)`}},{props:({ownerState:e})=>e.variant!==`buffer`&&e.color===`inherit`,style:{backgroundColor:`currentColor`}},{props:{color:`inherit`},style:{opacity:.3}},...Object.entries(e.palette).filter(Ho()).map(([t])=>({props:{color:t,variant:`buffer`},style:{backgroundColor:zs(e,t),transition:`transform .${js}s linear`}})),{props:({ownerState:e})=>e.variant===`indeterminate`||e.variant===`query`,style:{width:`auto`}},{props:({ownerState:e})=>e.variant===`indeterminate`||e.variant===`query`,style:Fs||{animation:`${Ps} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),Ws=M.forwardRef(function(e,t){let n=Za({props:e,name:`MuiLinearProgress`}),{className:r,color:i=`primary`,value:a,valueBuffer:o,variant:s=`indeterminate`,...c}=n,l={...n,color:i,variant:s},u=Rs(l),d=Di(),f={},p={bar1:{},bar2:{}};if((s===`determinate`||s===`buffer`)&&a!==void 0){f[`aria-valuenow`]=Math.round(a),f[`aria-valuemin`]=0,f[`aria-valuemax`]=100;let e=a-100;d&&(e=-e),p.bar1.transform=`translateX(${e}%)`}if(s===`buffer`&&o!==void 0){let e=(o||0)-100;d&&(e=-e),p.bar2.transform=`translateX(${e}%)`}return(0,N.jsxs)(Bs,{className:Gr(u.root,r),ownerState:l,role:`progressbar`,...f,ref:t,...c,children:[s===`buffer`?(0,N.jsx)(Vs,{className:u.dashed,ownerState:l}):null,(0,N.jsx)(Hs,{className:u.bar1,ownerState:l,style:p.bar1}),s===`determinate`?null:(0,N.jsx)(Us,{className:u.bar2,ownerState:l,style:p.bar2})]})}),Gs=g();function Ks(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)}function qs(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n}var Js,Ys=`__TAURI_TO_IPC_KEY__`;function Xs(e,t=!1){return window.__TAURI_INTERNALS__.transformCallback(e,t)}async function W(e,t={},n){return window.__TAURI_INTERNALS__.invoke(e,t,n)}var Zs=class{get rid(){return Ks(this,Js,`f`)}constructor(e){Js.set(this,void 0),qs(this,Js,e,`f`)}async close(){return W(`plugin:resources|close`,{rid:this.rid})}};Js=new WeakMap;var Qs=class{constructor(...e){this.type=`Logical`,e.length===1?`Logical`in e[0]?(this.width=e[0].Logical.width,this.height=e[0].Logical.height):(this.width=e[0].width,this.height=e[0].height):(this.width=e[0],this.height=e[1])}toPhysical(e){return new $s(this.width*e,this.height*e)}[Ys](){return{width:this.width,height:this.height}}toJSON(){return this[Ys]()}},$s=class{constructor(...e){this.type=`Physical`,e.length===1?`Physical`in e[0]?(this.width=e[0].Physical.width,this.height=e[0].Physical.height):(this.width=e[0].width,this.height=e[0].height):(this.width=e[0],this.height=e[1])}toLogical(e){return new Qs(this.width/e,this.height/e)}[Ys](){return{width:this.width,height:this.height}}toJSON(){return this[Ys]()}},ec=class{constructor(e){this.size=e}toLogical(e){return this.size instanceof Qs?this.size:this.size.toLogical(e)}toPhysical(e){return this.size instanceof $s?this.size:this.size.toPhysical(e)}[Ys](){return{[`${this.size.type}`]:{width:this.size.width,height:this.size.height}}}toJSON(){return this[Ys]()}},tc=class{constructor(...e){this.type=`Logical`,e.length===1?`Logical`in e[0]?(this.x=e[0].Logical.x,this.y=e[0].Logical.y):(this.x=e[0].x,this.y=e[0].y):(this.x=e[0],this.y=e[1])}toPhysical(e){return new G(this.x*e,this.y*e)}[Ys](){return{x:this.x,y:this.y}}toJSON(){return this[Ys]()}},G=class{constructor(...e){this.type=`Physical`,e.length===1?`Physical`in e[0]?(this.x=e[0].Physical.x,this.y=e[0].Physical.y):(this.x=e[0].x,this.y=e[0].y):(this.x=e[0],this.y=e[1])}toLogical(e){return new tc(this.x/e,this.y/e)}[Ys](){return{x:this.x,y:this.y}}toJSON(){return this[Ys]()}},nc=class{constructor(e){this.position=e}toLogical(e){return this.position instanceof tc?this.position:this.position.toLogical(e)}toPhysical(e){return this.position instanceof G?this.position:this.position.toPhysical(e)}[Ys](){return{[`${this.position.type}`]:{x:this.position.x,y:this.position.y}}}toJSON(){return this[Ys]()}},rc;(function(e){e.WINDOW_RESIZED=`tauri://resize`,e.WINDOW_MOVED=`tauri://move`,e.WINDOW_CLOSE_REQUESTED=`tauri://close-requested`,e.WINDOW_DESTROYED=`tauri://destroyed`,e.WINDOW_FOCUS=`tauri://focus`,e.WINDOW_BLUR=`tauri://blur`,e.WINDOW_SCALE_FACTOR_CHANGED=`tauri://scale-change`,e.WINDOW_THEME_CHANGED=`tauri://theme-changed`,e.WINDOW_CREATED=`tauri://window-created`,e.WINDOW_SUSPENDED=`tauri://suspended`,e.WINDOW_RESUMED=`tauri://resumed`,e.WEBVIEW_CREATED=`tauri://webview-created`,e.DRAG_ENTER=`tauri://drag-enter`,e.DRAG_OVER=`tauri://drag-over`,e.DRAG_DROP=`tauri://drag-drop`,e.DRAG_LEAVE=`tauri://drag-leave`})(rc||={});async function ic(e,t){window.__TAURI_EVENT_PLUGIN_INTERNALS__.unregisterListener(e,t),await W(`plugin:event|unlisten`,{event:e,eventId:t})}async function ac(e,t,n){return W(`plugin:event|listen`,{event:e,target:typeof n?.target==`string`?{kind:`AnyLabel`,label:n.target}:n?.target??{kind:`Any`},handler:Xs(t)}).then(t=>async()=>ic(e,t))}async function oc(e,t,n){return ac(e,n=>{ic(e,n.id),t(n)},n)}async function sc(e,t){await W(`plugin:event|emit`,{event:e,payload:t})}async function cc(e,t,n){await W(`plugin:event|emit_to`,{target:typeof e==`string`?{kind:`AnyLabel`,label:e}:e,event:t,payload:n})}var lc=class e extends Zs{constructor(e){super(e)}static async new(t,n,r){return W(`plugin:image|new`,{rgba:uc(t),width:n,height:r}).then(t=>new e(t))}static async fromBytes(t){return W(`plugin:image|from_bytes`,{bytes:uc(t)}).then(t=>new e(t))}static async fromPath(t){return W(`plugin:image|from_path`,{path:t}).then(t=>new e(t))}async rgba(){return W(`plugin:image|rgba`,{rid:this.rid}).then(e=>new Uint8Array(e))}async size(){return W(`plugin:image|size`,{rid:this.rid})}};function uc(e){return e==null?null:typeof e==`string`?e:e instanceof lc?e.rid:e}var dc;(function(e){e[e.Critical=1]=`Critical`,e[e.Informational=2]=`Informational`})(dc||={});var fc=class{constructor(e){this._preventDefault=!1,this.event=e.event,this.id=e.id}preventDefault(){this._preventDefault=!0}isPreventDefault(){return this._preventDefault}},pc;(function(e){e.None=`none`,e.Normal=`normal`,e.Indeterminate=`indeterminate`,e.Paused=`paused`,e.Error=`error`})(pc||={});function mc(){return new _c(window.__TAURI_INTERNALS__.metadata.currentWindow.label,{skip:!0})}async function hc(){return W(`plugin:window|get_all_windows`).then(e=>e.map(e=>new _c(e,{skip:!0})))}var gc=[`tauri://created`,`tauri://error`],_c=class{constructor(e,t={}){this.label=e,this.listeners=Object.create(null),t?.skip||W(`plugin:window|create`,{options:{...t,parent:typeof t.parent==`string`?t.parent:t.parent?.label,label:e}}).then(async()=>this.emit(`tauri://created`)).catch(async e=>this.emit(`tauri://error`,e))}static async getByLabel(e){return(await hc()).find(t=>t.label===e)??null}static getCurrent(){return mc()}static async getAll(){return hc()}static async getFocusedWindow(){for(let e of await hc())if(await e.isFocused())return e;return null}async listen(e,t){return this._handleTauriEvent(e,t)?()=>{let n=this.listeners[e];n.splice(n.indexOf(t),1)}:ac(e,t,{target:{kind:`Window`,label:this.label}})}async once(e,t){return this._handleTauriEvent(e,t)?()=>{let n=this.listeners[e];n.splice(n.indexOf(t),1)}:oc(e,t,{target:{kind:`Window`,label:this.label}})}async emit(e,t){if(gc.includes(e)){for(let n of this.listeners[e]||[])n({event:e,id:-1,payload:t});return}return sc(e,t)}async emitTo(e,t,n){if(gc.includes(t)){for(let e of this.listeners[t]||[])e({event:t,id:-1,payload:n});return}return cc(e,t,n)}_handleTauriEvent(e,t){return gc.includes(e)?(e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t],!0):!1}async scaleFactor(){return W(`plugin:window|scale_factor`,{label:this.label})}async innerPosition(){return W(`plugin:window|inner_position`,{label:this.label}).then(e=>new G(e))}async outerPosition(){return W(`plugin:window|outer_position`,{label:this.label}).then(e=>new G(e))}async innerSize(){return W(`plugin:window|inner_size`,{label:this.label}).then(e=>new $s(e))}async outerSize(){return W(`plugin:window|outer_size`,{label:this.label}).then(e=>new $s(e))}async isFullscreen(){return W(`plugin:window|is_fullscreen`,{label:this.label})}async isMinimized(){return W(`plugin:window|is_minimized`,{label:this.label})}async isMaximized(){return W(`plugin:window|is_maximized`,{label:this.label})}async isFocused(){return W(`plugin:window|is_focused`,{label:this.label})}async isDecorated(){return W(`plugin:window|is_decorated`,{label:this.label})}async isResizable(){return W(`plugin:window|is_resizable`,{label:this.label})}async isMaximizable(){return W(`plugin:window|is_maximizable`,{label:this.label})}async isMinimizable(){return W(`plugin:window|is_minimizable`,{label:this.label})}async isClosable(){return W(`plugin:window|is_closable`,{label:this.label})}async isVisible(){return W(`plugin:window|is_visible`,{label:this.label})}async title(){return W(`plugin:window|title`,{label:this.label})}async theme(){return W(`plugin:window|theme`,{label:this.label})}async isAlwaysOnTop(){return W(`plugin:window|is_always_on_top`,{label:this.label})}async activityName(){return W(`plugin:window|activity_name`,{label:this.label})}async sceneIdentifier(){return W(`plugin:window|scene_identifier`,{label:this.label})}async center(){return W(`plugin:window|center`,{label:this.label})}async requestUserAttention(e){let t=null;return e&&(t=e===dc.Critical?{type:`Critical`}:{type:`Informational`}),W(`plugin:window|request_user_attention`,{label:this.label,value:t})}async setResizable(e){return W(`plugin:window|set_resizable`,{label:this.label,value:e})}async setEnabled(e){return W(`plugin:window|set_enabled`,{label:this.label,value:e})}async isEnabled(){return W(`plugin:window|is_enabled`,{label:this.label})}async setMaximizable(e){return W(`plugin:window|set_maximizable`,{label:this.label,value:e})}async setMinimizable(e){return W(`plugin:window|set_minimizable`,{label:this.label,value:e})}async setClosable(e){return W(`plugin:window|set_closable`,{label:this.label,value:e})}async setTitle(e){return W(`plugin:window|set_title`,{label:this.label,value:e})}async maximize(){return W(`plugin:window|maximize`,{label:this.label})}async unmaximize(){return W(`plugin:window|unmaximize`,{label:this.label})}async toggleMaximize(){return W(`plugin:window|toggle_maximize`,{label:this.label})}async minimize(){return W(`plugin:window|minimize`,{label:this.label})}async unminimize(){return W(`plugin:window|unminimize`,{label:this.label})}async show(){return W(`plugin:window|show`,{label:this.label})}async hide(){return W(`plugin:window|hide`,{label:this.label})}async close(){return W(`plugin:window|close`,{label:this.label})}async destroy(){return W(`plugin:window|destroy`,{label:this.label})}async setDecorations(e){return W(`plugin:window|set_decorations`,{label:this.label,value:e})}async setShadow(e){return W(`plugin:window|set_shadow`,{label:this.label,value:e})}async setEffects(e){return W(`plugin:window|set_effects`,{label:this.label,value:e})}async clearEffects(){return W(`plugin:window|set_effects`,{label:this.label,value:null})}async setAlwaysOnTop(e){return W(`plugin:window|set_always_on_top`,{label:this.label,value:e})}async setAlwaysOnBottom(e){return W(`plugin:window|set_always_on_bottom`,{label:this.label,value:e})}async setContentProtected(e){return W(`plugin:window|set_content_protected`,{label:this.label,value:e})}async setSize(e){return W(`plugin:window|set_size`,{label:this.label,value:e instanceof ec?e:new ec(e)})}async setMinSize(e){return W(`plugin:window|set_min_size`,{label:this.label,value:e instanceof ec?e:e?new ec(e):null})}async setMaxSize(e){return W(`plugin:window|set_max_size`,{label:this.label,value:e instanceof ec?e:e?new ec(e):null})}async setSizeConstraints(e){function t(e){return e?{Logical:e}:null}return W(`plugin:window|set_size_constraints`,{label:this.label,value:{minWidth:t(e?.minWidth),minHeight:t(e?.minHeight),maxWidth:t(e?.maxWidth),maxHeight:t(e?.maxHeight)}})}async setPosition(e){return W(`plugin:window|set_position`,{label:this.label,value:e instanceof nc?e:new nc(e)})}async setFullscreen(e){return W(`plugin:window|set_fullscreen`,{label:this.label,value:e})}async setSimpleFullscreen(e){return W(`plugin:window|set_simple_fullscreen`,{label:this.label,value:e})}async setFocus(){return W(`plugin:window|set_focus`,{label:this.label})}async setFocusable(e){return W(`plugin:window|set_focusable`,{label:this.label,value:e})}async setIcon(e){return W(`plugin:window|set_icon`,{label:this.label,value:uc(e)})}async setSkipTaskbar(e){return W(`plugin:window|set_skip_taskbar`,{label:this.label,value:e})}async setCursorGrab(e){return W(`plugin:window|set_cursor_grab`,{label:this.label,value:e})}async setCursorVisible(e){return W(`plugin:window|set_cursor_visible`,{label:this.label,value:e})}async setCursorIcon(e){return W(`plugin:window|set_cursor_icon`,{label:this.label,value:e})}async setBackgroundColor(e){return W(`plugin:window|set_background_color`,{color:e})}async setCursorPosition(e){return W(`plugin:window|set_cursor_position`,{label:this.label,value:e instanceof nc?e:new nc(e)})}async setIgnoreCursorEvents(e){return W(`plugin:window|set_ignore_cursor_events`,{label:this.label,value:e})}async startDragging(){return W(`plugin:window|start_dragging`,{label:this.label})}async startResizeDragging(e){return W(`plugin:window|start_resize_dragging`,{label:this.label,value:e})}async setBadgeCount(e){return W(`plugin:window|set_badge_count`,{label:this.label,value:e})}async setBadgeLabel(e){return W(`plugin:window|set_badge_label`,{label:this.label,value:e})}async setOverlayIcon(e){return W(`plugin:window|set_overlay_icon`,{label:this.label,value:e?uc(e):void 0})}async setProgressBar(e){return W(`plugin:window|set_progress_bar`,{label:this.label,value:e})}async setVisibleOnAllWorkspaces(e){return W(`plugin:window|set_visible_on_all_workspaces`,{label:this.label,value:e})}async setTitleBarStyle(e){return W(`plugin:window|set_title_bar_style`,{label:this.label,value:e})}async setTheme(e){return W(`plugin:window|set_theme`,{label:this.label,value:e})}async onResized(e){return this.listen(rc.WINDOW_RESIZED,t=>{t.payload=new $s(t.payload),e(t)})}async onMoved(e){return this.listen(rc.WINDOW_MOVED,t=>{t.payload=new G(t.payload),e(t)})}async onCloseRequested(e){return this.listen(rc.WINDOW_CLOSE_REQUESTED,async t=>{let n=new fc(t);await e(n),n.isPreventDefault()||await this.destroy()})}async onDragDropEvent(e){let t=await this.listen(rc.DRAG_ENTER,t=>{e({...t,payload:{type:`enter`,paths:t.payload.paths,position:new G(t.payload.position)}})}),n=await this.listen(rc.DRAG_OVER,t=>{e({...t,payload:{type:`over`,position:new G(t.payload.position)}})}),r=await this.listen(rc.DRAG_DROP,t=>{e({...t,payload:{type:`drop`,paths:t.payload.paths,position:new G(t.payload.position)}})}),i=await this.listen(rc.DRAG_LEAVE,t=>{e({...t,payload:{type:`leave`}})});return()=>{t(),r(),n(),i()}}async onFocusChanged(e){let t=await this.listen(rc.WINDOW_FOCUS,t=>{e({...t,payload:!0})}),n=await this.listen(rc.WINDOW_BLUR,t=>{e({...t,payload:!1})});return()=>{t(),n()}}async onScaleChanged(e){return this.listen(rc.WINDOW_SCALE_FACTOR_CHANGED,e)}async onThemeChanged(e){return this.listen(rc.WINDOW_THEME_CHANGED,e)}},vc;(function(e){e.Disabled=`disabled`,e.Throttle=`throttle`,e.Suspend=`suspend`})(vc||={});var yc;(function(e){e.Default=`default`,e.FluentOverlay=`fluentOverlay`})(yc||={});var bc;(function(e){e.AppearanceBased=`appearanceBased`,e.Light=`light`,e.Dark=`dark`,e.MediumLight=`mediumLight`,e.UltraDark=`ultraDark`,e.Titlebar=`titlebar`,e.Selection=`selection`,e.Menu=`menu`,e.Popover=`popover`,e.Sidebar=`sidebar`,e.HeaderView=`headerView`,e.Sheet=`sheet`,e.WindowBackground=`windowBackground`,e.HudWindow=`hudWindow`,e.FullScreenUI=`fullScreenUI`,e.Tooltip=`tooltip`,e.ContentBackground=`contentBackground`,e.UnderWindowBackground=`underWindowBackground`,e.UnderPageBackground=`underPageBackground`,e.Mica=`mica`,e.Blur=`blur`,e.Acrylic=`acrylic`,e.Tabbed=`tabbed`,e.TabbedDark=`tabbedDark`,e.TabbedLight=`tabbedLight`})(bc||={});var xc;(function(e){e.FollowsWindowActiveState=`followsWindowActiveState`,e.Active=`active`,e.Inactive=`inactive`})(xc||={});var Sc=`/assets/icon-C_7DxqAT.svg`,Cc=mc();function wc(){let[e,t]=(0,M.useState)(null);return(0,M.useEffect)(()=>{let e=Cc.listen(`app://update-progress`,e=>{t(e.payload)});return()=>{e.then(e=>e())}},[]),e}function Tc(){let[e,t]=(0,M.useState)(!1);return(0,M.useEffect)(()=>{Cc.emit(`app://update`);let e=Cc.listen(`app://update-error`,()=>{t(!0)});return()=>{e.then(e=>e())}},[]),(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(ks,{}),(0,N.jsx)(ls,{sx:{position:`absolute`,inset:0},display:`flex`,alignItems:`center`,px:2,"data-tauri-drag-region":!0,children:(0,N.jsxs)(ls,{display:`flex`,alignItems:`center`,flex:`1`,"data-tauri-drag-region":!0,children:[(0,N.jsx)(ls,{component:`img`,src:Sc,alt:`logo`,sx:{width:`4rem`,height:`4rem`},"data-tauri-drag-region":!0}),(0,N.jsx)(ls,{flex:1,ml:2,children:e?(0,N.jsx)(Dc,{onRetry:()=>{t(!1),Cc.emit(`app://update`)}}):(0,N.jsx)(Ec,{})})]})})]})}function Ec(){let e=wc();return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(ss,{variant:`h1`,fontSize:`1rem`,"data-tauri-drag-region":!0,children:`Updating the GUI components...`}),(0,N.jsx)(ls,{mt:1,children:(0,N.jsx)(Oc,{value:e})})]})}function Dc({onRetry:e}){return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(ss,{variant:`h1`,fontSize:`1rem`,"data-tauri-drag-region":!0,children:`Failed to update the GUI components.`}),(0,N.jsx)(ls,{mt:1,"data-tauri-drag-region":!0,children:(0,N.jsx)(xs,{variant:`contained`,color:`primary`,size:`small`,onClick:e,sx:{textTransform:`none`},children:`Retry`})})]})}function Oc(e){let{value:t}=e;return(0,N.jsxs)(ls,{sx:{display:`flex`,alignItems:`center`},children:[(0,N.jsx)(ls,{flex:`1`,children:(0,N.jsx)(Ws,{variant:t===null?`indeterminate`:`determinate`,value:t??0,sx:{py:1.2,".MuiLinearProgress-bar":{transition:`none`}}})}),t!==null&&(0,N.jsx)(ls,{sx:{minWidth:35,textAlign:`right`,ml:1},children:(0,N.jsx)(ss,{variant:`body2`,color:`text.secondary`,children:`${Math.round(t)}%`})})]})}(0,Gs.createRoot)(document.getElementById(`root`)).render((0,N.jsx)(Tc,{}));
\ No newline at end of file
diff --git a/apps/gpgui-helper/dist/index.html b/apps/gpgui-helper/dist/index.html
index 81e65d6..476ec54 100644
--- a/apps/gpgui-helper/dist/index.html
+++ b/apps/gpgui-helper/dist/index.html
@@ -2,10 +2,10 @@
-
+
GP Connect Helper
-
+
diff --git a/apps/gpgui-helper/dist/tauri.svg b/apps/gpgui-helper/dist/tauri.svg
deleted file mode 100644
index 31b62c9..0000000
--- a/apps/gpgui-helper/dist/tauri.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
diff --git a/apps/gpgui-helper/dist/vite.svg b/apps/gpgui-helper/dist/vite.svg
deleted file mode 100644
index e7b8dfb..0000000
--- a/apps/gpgui-helper/dist/vite.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/apps/gpgui-helper/index.html b/apps/gpgui-helper/index.html
index 22fe573..b99b19f 100644
--- a/apps/gpgui-helper/index.html
+++ b/apps/gpgui-helper/index.html
@@ -2,7 +2,7 @@
-
+
GP Connect Helper
diff --git a/apps/gpgui-helper/public/tauri.svg b/apps/gpgui-helper/public/tauri.svg
deleted file mode 100644
index 31b62c9..0000000
--- a/apps/gpgui-helper/public/tauri.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
diff --git a/apps/gpgui-helper/public/vite.svg b/apps/gpgui-helper/public/vite.svg
deleted file mode 100644
index e7b8dfb..0000000
--- a/apps/gpgui-helper/public/vite.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/apps/gpgui-helper/src-tauri/icons/128x128.png b/apps/gpgui-helper/src-tauri/icons/128x128.png
index d7e9730..b31f37a 100644
Binary files a/apps/gpgui-helper/src-tauri/icons/128x128.png and b/apps/gpgui-helper/src-tauri/icons/128x128.png differ
diff --git a/apps/gpgui-helper/src-tauri/icons/128x128@2x.png b/apps/gpgui-helper/src-tauri/icons/128x128@2x.png
index 301c18a..d10cdd6 100644
Binary files a/apps/gpgui-helper/src-tauri/icons/128x128@2x.png and b/apps/gpgui-helper/src-tauri/icons/128x128@2x.png differ
diff --git a/apps/gpgui-helper/src-tauri/icons/32x32.png b/apps/gpgui-helper/src-tauri/icons/32x32.png
index a29d98a..fcbd261 100644
Binary files a/apps/gpgui-helper/src-tauri/icons/32x32.png and b/apps/gpgui-helper/src-tauri/icons/32x32.png differ
diff --git a/apps/gpgui-helper/src-tauri/icons/icon.icns b/apps/gpgui-helper/src-tauri/icons/icon.icns
index 2657ed2..8fa387a 100644
Binary files a/apps/gpgui-helper/src-tauri/icons/icon.icns and b/apps/gpgui-helper/src-tauri/icons/icon.icns differ
diff --git a/apps/gpgui-helper/src-tauri/icons/icon.ico b/apps/gpgui-helper/src-tauri/icons/icon.ico
index 0d74c41..566bb12 100644
Binary files a/apps/gpgui-helper/src-tauri/icons/icon.ico and b/apps/gpgui-helper/src-tauri/icons/icon.ico differ
diff --git a/apps/gpgui-helper/src-tauri/icons/icon.png b/apps/gpgui-helper/src-tauri/icons/icon.png
index 52a3e63..4aff083 100644
Binary files a/apps/gpgui-helper/src-tauri/icons/icon.png and b/apps/gpgui-helper/src-tauri/icons/icon.png differ
diff --git a/apps/gpgui-helper/src-tauri/icons/icon.svg b/apps/gpgui-helper/src-tauri/icons/icon.svg
index bccc611..9f0efa6 100644
--- a/apps/gpgui-helper/src-tauri/icons/icon.svg
+++ b/apps/gpgui-helper/src-tauri/icons/icon.svg
@@ -1,99 +1,51 @@
-
-
+
diff --git a/apps/gpgui-helper/src/assets/icon.svg b/apps/gpgui-helper/src/assets/icon.svg
index bccc611..9f0efa6 100644
--- a/apps/gpgui-helper/src/assets/icon.svg
+++ b/apps/gpgui-helper/src/assets/icon.svg
@@ -1,99 +1,51 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-image/svg+xml
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packaging/binary/Makefile.in b/packaging/binary/Makefile.in
index 87dcc72..ba5abdc 100644
--- a/packaging/binary/Makefile.in
+++ b/packaging/binary/Makefile.in
@@ -22,6 +22,7 @@ install:
install -Dm644 artifacts/usr/share/icons/hicolor/scalable/apps/gpgui.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/gpgui.svg
install -Dm644 artifacts/usr/share/icons/hicolor/32x32/apps/gpgui.png $(DESTDIR)/usr/share/icons/hicolor/32x32/apps/gpgui.png
install -Dm644 artifacts/usr/share/icons/hicolor/128x128/apps/gpgui.png $(DESTDIR)/usr/share/icons/hicolor/128x128/apps/gpgui.png
+ install -Dm644 artifacts/usr/share/icons/hicolor/256x256/apps/gpgui.png $(DESTDIR)/usr/share/icons/hicolor/256x256/apps/gpgui.png
install -Dm644 artifacts/usr/share/icons/hicolor/256x256@2/apps/gpgui.png $(DESTDIR)/usr/share/icons/hicolor/256x256@2/apps/gpgui.png
install -Dm644 artifacts/usr/share/polkit-1/actions/com.yuezk.gpgui.policy $(DESTDIR)/usr/share/polkit-1/actions/com.yuezk.gpgui.policy
@@ -45,5 +46,6 @@ uninstall:
rm -f $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/gpgui.svg
rm -f $(DESTDIR)/usr/share/icons/hicolor/32x32/apps/gpgui.png
rm -f $(DESTDIR)/usr/share/icons/hicolor/128x128/apps/gpgui.png
+ rm -f $(DESTDIR)/usr/share/icons/hicolor/256x256/apps/gpgui.png
rm -f $(DESTDIR)/usr/share/icons/hicolor/256x256@2/apps/gpgui.png
rm -f $(DESTDIR)/usr/share/polkit-1/actions/com.yuezk.gpgui.policy
diff --git a/packaging/files/usr/share/icons/hicolor/256x256/apps/gpgui.png b/packaging/files/usr/share/icons/hicolor/256x256/apps/gpgui.png
new file mode 100644
index 0000000..d10cdd6
Binary files /dev/null and b/packaging/files/usr/share/icons/hicolor/256x256/apps/gpgui.png differ
diff --git a/packaging/files/usr/share/icons/hicolor/256x256@2/apps/gpgui.png b/packaging/files/usr/share/icons/hicolor/256x256@2/apps/gpgui.png
index d10cdd6..4aff083 100644
Binary files a/packaging/files/usr/share/icons/hicolor/256x256@2/apps/gpgui.png and b/packaging/files/usr/share/icons/hicolor/256x256@2/apps/gpgui.png differ
diff --git a/packaging/rpm/globalprotect-openconnect.spec.in b/packaging/rpm/globalprotect-openconnect.spec.in
index b8273fb..80b0faa 100644
--- a/packaging/rpm/globalprotect-openconnect.spec.in
+++ b/packaging/rpm/globalprotect-openconnect.spec.in
@@ -68,6 +68,7 @@ make build
%{_datadir}/applications/gpauth.desktop
%{_datadir}/icons/hicolor/32x32/apps/gpgui.png
%{_datadir}/icons/hicolor/128x128/apps/gpgui.png
+%{_datadir}/icons/hicolor/256x256/apps/gpgui.png
%{_datadir}/icons/hicolor/256x256@2/apps/gpgui.png
%{_datadir}/icons/hicolor/scalable/apps/gpgui.svg
%{_datadir}/polkit-1/actions/com.yuezk.gpgui.policy
@@ -86,6 +87,8 @@ make build
%dir %{_datadir}/icons/hicolor/32x32/apps
%dir %{_datadir}/icons/hicolor/128x128
%dir %{_datadir}/icons/hicolor/128x128/apps
+%dir %{_datadir}/icons/hicolor/256x256
+%dir %{_datadir}/icons/hicolor/256x256/apps
%dir %{_datadir}/icons/hicolor/256x256@2
%dir %{_datadir}/icons/hicolor/256x256@2/apps
%dir %{_datadir}/icons/hicolor/scalable
diff --git a/scripts/verify-linux-desktop-assets.sh b/scripts/verify-linux-desktop-assets.sh
index fea0cc4..148d9c1 100755
--- a/scripts/verify-linux-desktop-assets.sh
+++ b/scripts/verify-linux-desktop-assets.sh
@@ -30,6 +30,9 @@ verify_same_file \
"$GP_DIR/packaging/files/usr/share/icons/hicolor/128x128/apps/gpgui.png"
verify_same_file \
"$GPGUI_DIR/app/src-tauri/icons/128x128@2x.png" \
+ "$GP_DIR/packaging/files/usr/share/icons/hicolor/256x256/apps/gpgui.png"
+verify_same_file \
+ "$GPGUI_DIR/app/src-tauri/icons/icon.png" \
"$GP_DIR/packaging/files/usr/share/icons/hicolor/256x256@2/apps/gpgui.png"
verify_same_file \
"$GPGUI_DIR/app/src-tauri/icons/icon.svg" \
@@ -46,6 +49,30 @@ verify_same_file \
verify_same_file \
"$GPGUI_DIR/app/src-tauri/icons/icon.png" \
"$GP_DIR/apps/gpauth/icons/icon.png"
+verify_same_file \
+ "$GPGUI_DIR/app/src-tauri/icons/32x32.png" \
+ "$GP_DIR/apps/gpgui-helper/src-tauri/icons/32x32.png"
+verify_same_file \
+ "$GPGUI_DIR/app/src-tauri/icons/128x128.png" \
+ "$GP_DIR/apps/gpgui-helper/src-tauri/icons/128x128.png"
+verify_same_file \
+ "$GPGUI_DIR/app/src-tauri/icons/128x128@2x.png" \
+ "$GP_DIR/apps/gpgui-helper/src-tauri/icons/128x128@2x.png"
+verify_same_file \
+ "$GPGUI_DIR/app/src-tauri/icons/icon.png" \
+ "$GP_DIR/apps/gpgui-helper/src-tauri/icons/icon.png"
+verify_same_file \
+ "$GPGUI_DIR/app/src-tauri/icons/icon.svg" \
+ "$GP_DIR/apps/gpgui-helper/src-tauri/icons/icon.svg"
+verify_same_file \
+ "$GPGUI_DIR/app/src-tauri/icons/icon.icns" \
+ "$GP_DIR/apps/gpgui-helper/src-tauri/icons/icon.icns"
+verify_same_file \
+ "$GPGUI_DIR/app/src-tauri/icons/icon.ico" \
+ "$GP_DIR/apps/gpgui-helper/src-tauri/icons/icon.ico"
+verify_same_file \
+ "$GPGUI_DIR/app/src-tauri/icons/icon.svg" \
+ "$GP_DIR/apps/gpgui-helper/src/assets/icon.svg"
verify_same_file \
"$GPGUI_DIR/app/gpauth.desktop" \
"$GP_DIR/packaging/files/usr/share/applications/gpauth.desktop"