@staff0rd/assist 0.1010.1 → 0.1011.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/claude/commands/draft.md +2 -2
- package/claude/commands/refine.md +1 -1
- package/dist/commands/extension/extension/content.js +15 -15
- package/dist/commands/extension/extension/docs.js +1 -1
- package/dist/commands/sessions/web/bundle.js +430 -430
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{var kA=Object.create;var $m=Object.defineProperty;var UA=Object.getOwnPropertyDescriptor;var LA=Object.getOwnPropertyNames;var IA=Object.getPrototypeOf,jA=Object.prototype.hasOwnProperty;var HA=(e,t,o)=>t in e?$m(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var Gt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var VA=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of LA(t))!jA.call(e,n)&&n!==o&&$m(e,n,{get:()=>t[n],enumerable:!(r=UA(t,n))||r.enumerable});return e};var S=(e,t,o)=>(o=e!=null?kA(IA(e)):{},VA(t||!e||!e.__esModule?$m(o,"default",{value:e,enumerable:!0}):o,e));var mi=(e,t,o)=>HA(e,typeof t!="symbol"?t+"":t,o);var fv=Gt(Z=>{"use strict";var Km=Symbol.for("react.transitional.element"),uM=Symbol.for("react.portal"),cM=Symbol.for("react.fragment"),pM=Symbol.for("react.strict_mode"),fM=Symbol.for("react.profiler"),dM=Symbol.for("react.consumer"),mM=Symbol.for("react.context"),yM=Symbol.for("react.forward_ref"),hM=Symbol.for("react.suspense"),gM=Symbol.for("react.memo"),iv=Symbol.for("react.lazy"),bM=Symbol.for("react.activity"),ov=Symbol.iterator;function TM(e){return e===null||typeof e!="object"?null:(e=ov&&e[ov]||e["@@iterator"],typeof e=="function"?e:null)}var sv={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},lv=Object.assign,uv={};function bi(e,t,o){this.props=e,this.context=t,this.refs=uv,this.updater=o||sv}bi.prototype.isReactComponent={};bi.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};bi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function cv(){}cv.prototype=bi.prototype;function Ym(e,t,o){this.props=e,this.context=t,this.refs=uv,this.updater=o||sv}var Xm=Ym.prototype=new cv;Xm.constructor=Ym;lv(Xm,bi.prototype);Xm.isPureReactComponent=!0;var rv=Array.isArray;function Gm(){}var Ie={H:null,A:null,T:null,S:null},pv=Object.prototype.hasOwnProperty;function Qm(e,t,o){var r=o.ref;return{$$typeof:Km,type:e,key:t,ref:r!==void 0?r:null,props:o}}function vM(e,t){return Qm(e.type,t,e.props)}function Wm(e){return typeof e=="object"&&e!==null&&e.$$typeof===Km}function xM(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(o){return t[o]})}var nv=/\/+/g;function qm(e,t){return typeof e=="object"&&e!==null&&e.key!=null?xM(""+e.key):t.toString(36)}function SM(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(Gm,Gm):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function gi(e,t,o,r,n){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(a){case"bigint":case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Km:case uM:i=!0;break;case iv:return i=e._init,gi(i(e._payload),t,o,r,n)}}if(i)return n=n(e),i=r===""?"."+qm(e,0):r,rv(n)?(o="",i!=null&&(o=i.replace(nv,"$&/")+"/"),gi(n,t,o,"",function(u){return u})):n!=null&&(Wm(n)&&(n=vM(n,o+(n.key==null||e&&e.key===n.key?"":(""+n.key).replace(nv,"$&/")+"/")+i)),t.push(n)),1;i=0;var s=r===""?".":r+":";if(rv(e))for(var l=0;l<e.length;l++)r=e[l],a=s+qm(r,l),i+=gi(r,t,o,a,n);else if(l=TM(e),typeof l=="function")for(e=l.call(e),l=0;!(r=e.next()).done;)r=r.value,a=s+qm(r,l++),i+=gi(r,t,o,a,n);else if(a==="object"){if(typeof e.then=="function")return gi(SM(e),t,o,r,n);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return i}function kc(e,t,o){if(e==null)return e;var r=[],n=0;return gi(e,r,"","",function(a){return t.call(o,a,n++)}),r}function CM(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(o){(e._status===0||e._status===-1)&&(e._status=1,e._result=o)},function(o){(e._status===0||e._status===-1)&&(e._status=2,e._result=o)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var av=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},EM={map:kc,forEach:function(e,t,o){kc(e,function(){t.apply(this,arguments)},o)},count:function(e){var t=0;return kc(e,function(){t++}),t},toArray:function(e){return kc(e,function(t){return t})||[]},only:function(e){if(!Wm(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Z.Activity=bM;Z.Children=EM;Z.Component=bi;Z.Fragment=cM;Z.Profiler=fM;Z.PureComponent=Ym;Z.StrictMode=pM;Z.Suspense=hM;Z.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ie;Z.__COMPILER_RUNTIME={__proto__:null,c:function(e){return Ie.H.useMemoCache(e)}};Z.cache=function(e){return function(){return e.apply(null,arguments)}};Z.cacheSignal=function(){return null};Z.cloneElement=function(e,t,o){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var r=lv({},e.props),n=e.key;if(t!=null)for(a in t.key!==void 0&&(n=""+t.key),t)!pv.call(t,a)||a==="key"||a==="__self"||a==="__source"||a==="ref"&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=o;else if(1<a){for(var i=Array(a),s=0;s<a;s++)i[s]=arguments[s+2];r.children=i}return Qm(e.type,n,r)};Z.createContext=function(e){return e={$$typeof:mM,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:dM,_context:e},e};Z.createElement=function(e,t,o){var r,n={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=""+t.key),t)pv.call(t,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(n[r]=t[r]);var i=arguments.length-2;if(i===1)n.children=o;else if(1<i){for(var s=Array(i),l=0;l<i;l++)s[l]=arguments[l+2];n.children=s}if(e&&e.defaultProps)for(r in i=e.defaultProps,i)n[r]===void 0&&(n[r]=i[r]);return Qm(e,a,n)};Z.createRef=function(){return{current:null}};Z.forwardRef=function(e){return{$$typeof:yM,render:e}};Z.isValidElement=Wm;Z.lazy=function(e){return{$$typeof:iv,_payload:{_status:-1,_result:e},_init:CM}};Z.memo=function(e,t){return{$$typeof:gM,type:e,compare:t===void 0?null:t}};Z.startTransition=function(e){var t=Ie.T,o={};Ie.T=o;try{var r=e(),n=Ie.S;n!==null&&n(o,r),typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.then(Gm,av)}catch(a){av(a)}finally{t!==null&&o.types!==null&&(t.types=o.types),Ie.T=t}};Z.unstable_useCacheRefresh=function(){return Ie.H.useCacheRefresh()};Z.use=function(e){return Ie.H.use(e)};Z.useActionState=function(e,t,o){return Ie.H.useActionState(e,t,o)};Z.useCallback=function(e,t){return Ie.H.useCallback(e,t)};Z.useContext=function(e){return Ie.H.useContext(e)};Z.useDebugValue=function(){};Z.useDeferredValue=function(e,t){return Ie.H.useDeferredValue(e,t)};Z.useEffect=function(e,t){return Ie.H.useEffect(e,t)};Z.useEffectEvent=function(e){return Ie.H.useEffectEvent(e)};Z.useId=function(){return Ie.H.useId()};Z.useImperativeHandle=function(e,t,o){return Ie.H.useImperativeHandle(e,t,o)};Z.useInsertionEffect=function(e,t){return Ie.H.useInsertionEffect(e,t)};Z.useLayoutEffect=function(e,t){return Ie.H.useLayoutEffect(e,t)};Z.useMemo=function(e,t){return Ie.H.useMemo(e,t)};Z.useOptimistic=function(e,t){return Ie.H.useOptimistic(e,t)};Z.useReducer=function(e,t,o){return Ie.H.useReducer(e,t,o)};Z.useRef=function(e){return Ie.H.useRef(e)};Z.useState=function(e){return Ie.H.useState(e)};Z.useSyncExternalStore=function(e,t,o){return Ie.H.useSyncExternalStore(e,t,o)};Z.useTransition=function(){return Ie.H.useTransition()};Z.version="19.2.4"});var U=Gt((B6,dv)=>{"use strict";dv.exports=fv()});var kv=Gt(Ee=>{"use strict";var bt=typeof Symbol=="function"&&Symbol.for,ty=bt?Symbol.for("react.element"):60103,oy=bt?Symbol.for("react.portal"):60106,Gc=bt?Symbol.for("react.fragment"):60107,Kc=bt?Symbol.for("react.strict_mode"):60108,Yc=bt?Symbol.for("react.profiler"):60114,Xc=bt?Symbol.for("react.provider"):60109,Qc=bt?Symbol.for("react.context"):60110,ry=bt?Symbol.for("react.async_mode"):60111,Wc=bt?Symbol.for("react.concurrent_mode"):60111,Zc=bt?Symbol.for("react.forward_ref"):60112,Jc=bt?Symbol.for("react.suspense"):60113,kM=bt?Symbol.for("react.suspense_list"):60120,ep=bt?Symbol.for("react.memo"):60115,tp=bt?Symbol.for("react.lazy"):60116,UM=bt?Symbol.for("react.block"):60121,LM=bt?Symbol.for("react.fundamental"):60117,IM=bt?Symbol.for("react.responder"):60118,jM=bt?Symbol.for("react.scope"):60119;function mo(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case ty:switch(e=e.type,e){case ry:case Wc:case Gc:case Yc:case Kc:case Jc:return e;default:switch(e=e&&e.$$typeof,e){case Qc:case Zc:case tp:case ep:case Xc:return e;default:return t}}case oy:return t}}}function zv(e){return mo(e)===Wc}Ee.AsyncMode=ry;Ee.ConcurrentMode=Wc;Ee.ContextConsumer=Qc;Ee.ContextProvider=Xc;Ee.Element=ty;Ee.ForwardRef=Zc;Ee.Fragment=Gc;Ee.Lazy=tp;Ee.Memo=ep;Ee.Portal=oy;Ee.Profiler=Yc;Ee.StrictMode=Kc;Ee.Suspense=Jc;Ee.isAsyncMode=function(e){return zv(e)||mo(e)===ry};Ee.isConcurrentMode=zv;Ee.isContextConsumer=function(e){return mo(e)===Qc};Ee.isContextProvider=function(e){return mo(e)===Xc};Ee.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ty};Ee.isForwardRef=function(e){return mo(e)===Zc};Ee.isFragment=function(e){return mo(e)===Gc};Ee.isLazy=function(e){return mo(e)===tp};Ee.isMemo=function(e){return mo(e)===ep};Ee.isPortal=function(e){return mo(e)===oy};Ee.isProfiler=function(e){return mo(e)===Yc};Ee.isStrictMode=function(e){return mo(e)===Kc};Ee.isSuspense=function(e){return mo(e)===Jc};Ee.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Gc||e===Wc||e===Yc||e===Kc||e===Jc||e===kM||typeof e=="object"&&e!==null&&(e.$$typeof===tp||e.$$typeof===ep||e.$$typeof===Xc||e.$$typeof===Qc||e.$$typeof===Zc||e.$$typeof===LM||e.$$typeof===IM||e.$$typeof===jM||e.$$typeof===UM)};Ee.typeOf=mo});var Lv=Gt((rU,Uv)=>{"use strict";Uv.exports=kv()});var qv=Gt((nU,$v)=>{"use strict";var ny=Lv(),HM={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},VM={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},FM={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Vv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ay={};ay[ny.ForwardRef]=FM;ay[ny.Memo]=Vv;function Iv(e){return ny.isMemo(e)?Vv:ay[e.$$typeof]||HM}var $M=Object.defineProperty,qM=Object.getOwnPropertyNames,jv=Object.getOwnPropertySymbols,GM=Object.getOwnPropertyDescriptor,KM=Object.getPrototypeOf,Hv=Object.prototype;function Fv(e,t,o){if(typeof t!="string"){if(Hv){var r=KM(t);r&&r!==Hv&&Fv(e,r,o)}var n=qM(t);jv&&(n=n.concat(jv(t)));for(var a=Iv(e),i=Iv(t),s=0;s<n.length;++s){var l=n[s];if(!VM[l]&&!(o&&o[l])&&!(i&&i[l])&&!(a&&a[l])){var u=GM(t,l);try{$M(e,l,u)}catch{}}}}return e}$v.exports=Fv});var c0=Gt(ap=>{"use strict";var uw=Symbol.for("react.transitional.element"),cw=Symbol.for("react.fragment");function u0(e,t,o){var r=null;if(o!==void 0&&(r=""+o),t.key!==void 0&&(r=""+t.key),"key"in t){o={};for(var n in t)n!=="key"&&(o[n]=t[n])}else o=t;return t=o.ref,{$$typeof:uw,type:e,key:r,ref:t!==void 0?t:null,props:o}}ap.Fragment=cw;ap.jsx=u0;ap.jsxs=u0});var z=Gt((JU,p0)=>{"use strict";p0.exports=c0()});var y0=Gt(De=>{"use strict";var cy=Symbol.for("react.transitional.element"),py=Symbol.for("react.portal"),ip=Symbol.for("react.fragment"),sp=Symbol.for("react.strict_mode"),lp=Symbol.for("react.profiler"),up=Symbol.for("react.consumer"),cp=Symbol.for("react.context"),pp=Symbol.for("react.forward_ref"),fp=Symbol.for("react.suspense"),dp=Symbol.for("react.suspense_list"),mp=Symbol.for("react.memo"),yp=Symbol.for("react.lazy"),fw=Symbol.for("react.view_transition"),dw=Symbol.for("react.client.reference");function Bo(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case cy:switch(e=e.type,e){case ip:case lp:case sp:case fp:case dp:case fw:return e;default:switch(e=e&&e.$$typeof,e){case cp:case pp:case yp:case mp:return e;case up:return e;default:return t}}case py:return t}}}De.ContextConsumer=up;De.ContextProvider=cp;De.Element=cy;De.ForwardRef=pp;De.Fragment=ip;De.Lazy=yp;De.Memo=mp;De.Portal=py;De.Profiler=lp;De.StrictMode=sp;De.Suspense=fp;De.SuspenseList=dp;De.isContextConsumer=function(e){return Bo(e)===up};De.isContextProvider=function(e){return Bo(e)===cp};De.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===cy};De.isForwardRef=function(e){return Bo(e)===pp};De.isFragment=function(e){return Bo(e)===ip};De.isLazy=function(e){return Bo(e)===yp};De.isMemo=function(e){return Bo(e)===mp};De.isPortal=function(e){return Bo(e)===py};De.isProfiler=function(e){return Bo(e)===lp};De.isStrictMode=function(e){return Bo(e)===sp};De.isSuspense=function(e){return Bo(e)===fp};De.isSuspenseList=function(e){return Bo(e)===dp};De.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ip||e===lp||e===sp||e===fp||e===dp||typeof e=="object"&&e!==null&&(e.$$typeof===yp||e.$$typeof===mp||e.$$typeof===cp||e.$$typeof===up||e.$$typeof===pp||e.$$typeof===dw||e.getModuleId!==void 0)};De.typeOf=Bo});var g0=Gt((cL,h0)=>{"use strict";h0.exports=y0()});var _x=Gt(Wt=>{"use strict";var kD=U();function Dx(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function xn(){}var Qt={d:{f:xn,r:function(){throw Error(Dx(522))},D:xn,C:xn,L:xn,m:xn,X:xn,S:xn,M:xn},p:0,findDOMNode:null},UD=Symbol.for("react.portal");function LD(e,t,o){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:UD,key:r==null?null:""+r,children:e,containerInfo:t,implementation:o}}var Gl=kD.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Wp(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}Wt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Qt;Wt.createPortal=function(e,t){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(Dx(299));return LD(e,t,null,o)};Wt.flushSync=function(e){var t=Gl.T,o=Qt.p;try{if(Gl.T=null,Qt.p=2,e)return e()}finally{Gl.T=t,Qt.p=o,Qt.d.f()}};Wt.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Qt.d.C(e,t))};Wt.prefetchDNS=function(e){typeof e=="string"&&Qt.d.D(e)};Wt.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var o=t.as,r=Wp(o,t.crossOrigin),n=typeof t.integrity=="string"?t.integrity:void 0,a=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;o==="style"?Qt.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:r,integrity:n,fetchPriority:a}):o==="script"&&Qt.d.X(e,{crossOrigin:r,integrity:n,fetchPriority:a,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};Wt.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var o=Wp(t.as,t.crossOrigin);Qt.d.M(e,{crossOrigin:o,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&Qt.d.M(e)};Wt.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var o=t.as,r=Wp(o,t.crossOrigin);Qt.d.L(e,o,{crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};Wt.preloadModule=function(e,t){if(typeof e=="string")if(t){var o=Wp(t.as,t.crossOrigin);Qt.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:o,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else Qt.d.m(e)};Wt.requestFormReset=function(e){Qt.d.r(e)};Wt.unstable_batchedUpdates=function(e,t){return e(t)};Wt.useFormState=function(e,t,o){return Gl.H.useFormState(e,t,o)};Wt.useFormStatus=function(){return Gl.H.useHostTransitionStatus()};Wt.version="19.2.4"});var Zp=Gt((YF,zx)=>{"use strict";function Bx(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Bx)}catch(e){console.error(e)}}Bx(),zx.exports=_x()});var AC=Gt($e=>{"use strict";function ig(e,t){var o=e.length;e.push(t);e:for(;0<o;){var r=o-1>>>1,n=e[r];if(0<Wf(n,t))e[r]=t,e[o]=n,o=r;else break e}}function vr(e){return e.length===0?null:e[0]}function Jf(e){if(e.length===0)return null;var t=e[0],o=e.pop();if(o!==t){e[0]=o;e:for(var r=0,n=e.length,a=n>>>1;r<a;){var i=2*(r+1)-1,s=e[i],l=i+1,u=e[l];if(0>Wf(s,o))l<n&&0>Wf(u,s)?(e[r]=u,e[l]=o,r=l):(e[r]=s,e[i]=o,r=i);else if(l<n&&0>Wf(u,o))e[r]=u,e[l]=o,r=l;else break e}}return t}function Wf(e,t){var o=e.sortIndex-t.sortIndex;return o!==0?o:e.id-t.id}$e.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(TC=performance,$e.unstable_now=function(){return TC.now()}):(rg=Date,vC=rg.now(),$e.unstable_now=function(){return rg.now()-vC});var TC,rg,vC,Hr=[],Nn=[],C3=1,Ho=null,$t=3,sg=!1,Au=!1,Mu=!1,lg=!1,CC=typeof setTimeout=="function"?setTimeout:null,EC=typeof clearTimeout=="function"?clearTimeout:null,xC=typeof setImmediate<"u"?setImmediate:null;function Zf(e){for(var t=vr(Nn);t!==null;){if(t.callback===null)Jf(Nn);else if(t.startTime<=e)Jf(Nn),t.sortIndex=t.expirationTime,ig(Hr,t);else break;t=vr(Nn)}}function ug(e){if(Mu=!1,Zf(e),!Au)if(vr(Hr)!==null)Au=!0,xs||(xs=!0,vs());else{var t=vr(Nn);t!==null&&cg(ug,t.startTime-e)}}var xs=!1,wu=-1,PC=5,RC=-1;function OC(){return lg?!0:!($e.unstable_now()-RC<PC)}function ng(){if(lg=!1,xs){var e=$e.unstable_now();RC=e;var t=!0;try{e:{Au=!1,Mu&&(Mu=!1,EC(wu),wu=-1),sg=!0;var o=$t;try{t:{for(Zf(e),Ho=vr(Hr);Ho!==null&&!(Ho.expirationTime>e&&OC());){var r=Ho.callback;if(typeof r=="function"){Ho.callback=null,$t=Ho.priorityLevel;var n=r(Ho.expirationTime<=e);if(e=$e.unstable_now(),typeof n=="function"){Ho.callback=n,Zf(e),t=!0;break t}Ho===vr(Hr)&&Jf(Hr),Zf(e)}else Jf(Hr);Ho=vr(Hr)}if(Ho!==null)t=!0;else{var a=vr(Nn);a!==null&&cg(ug,a.startTime-e),t=!1}}break e}finally{Ho=null,$t=o,sg=!1}t=void 0}}finally{t?vs():xs=!1}}}var vs;typeof xC=="function"?vs=function(){xC(ng)}:typeof MessageChannel<"u"?(ag=new MessageChannel,SC=ag.port2,ag.port1.onmessage=ng,vs=function(){SC.postMessage(null)}):vs=function(){CC(ng,0)};var ag,SC;function cg(e,t){wu=CC(function(){e($e.unstable_now())},t)}$e.unstable_IdlePriority=5;$e.unstable_ImmediatePriority=1;$e.unstable_LowPriority=4;$e.unstable_NormalPriority=3;$e.unstable_Profiling=null;$e.unstable_UserBlockingPriority=2;$e.unstable_cancelCallback=function(e){e.callback=null};$e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):PC=0<e?Math.floor(1e3/e):5};$e.unstable_getCurrentPriorityLevel=function(){return $t};$e.unstable_next=function(e){switch($t){case 1:case 2:case 3:var t=3;break;default:t=$t}var o=$t;$t=t;try{return e()}finally{$t=o}};$e.unstable_requestPaint=function(){lg=!0};$e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var o=$t;$t=e;try{return t()}finally{$t=o}};$e.unstable_scheduleCallback=function(e,t,o){var r=$e.unstable_now();switch(typeof o=="object"&&o!==null?(o=o.delay,o=typeof o=="number"&&0<o?r+o:r):o=r,e){case 1:var n=-1;break;case 2:n=250;break;case 5:n=1073741823;break;case 4:n=1e4;break;default:n=5e3}return n=o+n,e={id:C3++,callback:t,priorityLevel:e,startTime:o,expirationTime:n,sortIndex:-1},o>r?(e.sortIndex=o,ig(Nn,e),vr(Hr)===null&&e===vr(Nn)&&(Mu?(EC(wu),wu=-1):Mu=!0,cg(ug,o-r))):(e.sortIndex=n,ig(Hr,e),Au||sg||(Au=!0,xs||(xs=!0,vs()))),e};$e.unstable_shouldYield=OC;$e.unstable_wrapCallback=function(e){var t=$t;return function(){var o=$t;$t=t;try{return e.apply(this,arguments)}finally{$t=o}}}});var wC=Gt(($se,MC)=>{"use strict";MC.exports=AC()});var V2=Gt(Em=>{"use strict";var ht=wC(),oP=U(),E3=Zp();function B(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function rP(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function hc(e){var t=e,o=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(o=t.return),e=t.return;while(e)}return t.tag===3?o:null}function nP(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function aP(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function NC(e){if(hc(e)!==e)throw Error(B(188))}function P3(e){var t=e.alternate;if(!t){if(t=hc(e),t===null)throw Error(B(188));return t!==e?null:e}for(var o=e,r=t;;){var n=o.return;if(n===null)break;var a=n.alternate;if(a===null){if(r=n.return,r!==null){o=r;continue}break}if(n.child===a.child){for(a=n.child;a;){if(a===o)return NC(n),e;if(a===r)return NC(n),t;a=a.sibling}throw Error(B(188))}if(o.return!==r.return)o=n,r=a;else{for(var i=!1,s=n.child;s;){if(s===o){i=!0,o=n,r=a;break}if(s===r){i=!0,r=n,o=a;break}s=s.sibling}if(!i){for(s=a.child;s;){if(s===o){i=!0,o=a,r=n;break}if(s===r){i=!0,r=a,o=n;break}s=s.sibling}if(!i)throw Error(B(189))}}if(o.alternate!==r)throw Error(B(190))}if(o.tag!==3)throw Error(B(188));return o.stateNode.current===o?e:t}function iP(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=iP(e),t!==null)return t;e=e.sibling}return null}var Ve=Object.assign,R3=Symbol.for("react.element"),ed=Symbol.for("react.transitional.element"),Lu=Symbol.for("react.portal"),Os=Symbol.for("react.fragment"),sP=Symbol.for("react.strict_mode"),$g=Symbol.for("react.profiler"),lP=Symbol.for("react.consumer"),Xr=Symbol.for("react.context"),Ib=Symbol.for("react.forward_ref"),qg=Symbol.for("react.suspense"),Gg=Symbol.for("react.suspense_list"),jb=Symbol.for("react.memo"),Dn=Symbol.for("react.lazy"),Kg=Symbol.for("react.activity"),O3=Symbol.for("react.memo_cache_sentinel"),DC=Symbol.iterator;function Nu(e){return e===null||typeof e!="object"?null:(e=DC&&e[DC]||e["@@iterator"],typeof e=="function"?e:null)}var A3=Symbol.for("react.client.reference");function Yg(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A3?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Os:return"Fragment";case $g:return"Profiler";case sP:return"StrictMode";case qg:return"Suspense";case Gg:return"SuspenseList";case Kg:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case Lu:return"Portal";case Xr:return e.displayName||"Context";case lP:return(e._context.displayName||"Context")+".Consumer";case Ib:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case jb:return t=e.displayName||null,t!==null?t:Yg(e.type)||"Memo";case Dn:t=e._payload,e=e._init;try{return Yg(e(t))}catch{}}return null}var Iu=Array.isArray,Y=oP.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ge=E3.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Xa={pending:!1,data:null,method:null,action:null},Xg=[],As=-1;function Pr(e){return{current:e}}function Et(e){0>As||(e.current=Xg[As],Xg[As]=null,As--)}function Ue(e,t){As++,Xg[As]=e.current,e.current=t}var Er=Pr(null),oc=Pr(null),Fn=Pr(null),_d=Pr(null);function Bd(e,t){switch(Ue(Fn,t),Ue(oc,e),Ue(Er,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?IE(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=IE(t),e=A2(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Et(Er),Ue(Er,e)}function Gs(){Et(Er),Et(oc),Et(Fn)}function Qg(e){e.memoizedState!==null&&Ue(_d,e);var t=Er.current,o=A2(t,e.type);t!==o&&(Ue(oc,e),Ue(Er,o))}function zd(e){oc.current===e&&(Et(Er),Et(oc)),_d.current===e&&(Et(_d),dc._currentValue=Xa)}var pg,_C;function qa(e){if(pg===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);pg=t&&t[1]||"",_C=-1<o.stack.indexOf(`
|
|
1
|
+
"use strict";(()=>{var kA=Object.create;var $m=Object.defineProperty;var UA=Object.getOwnPropertyDescriptor;var LA=Object.getOwnPropertyNames;var IA=Object.getPrototypeOf,jA=Object.prototype.hasOwnProperty;var HA=(e,t,o)=>t in e?$m(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var Gt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var VA=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of LA(t))!jA.call(e,n)&&n!==o&&$m(e,n,{get:()=>t[n],enumerable:!(r=UA(t,n))||r.enumerable});return e};var S=(e,t,o)=>(o=e!=null?kA(IA(e)):{},VA(t||!e||!e.__esModule?$m(o,"default",{value:e,enumerable:!0}):o,e));var mi=(e,t,o)=>HA(e,typeof t!="symbol"?t+"":t,o);var fv=Gt(Z=>{"use strict";var Km=Symbol.for("react.transitional.element"),uM=Symbol.for("react.portal"),cM=Symbol.for("react.fragment"),pM=Symbol.for("react.strict_mode"),fM=Symbol.for("react.profiler"),dM=Symbol.for("react.consumer"),mM=Symbol.for("react.context"),yM=Symbol.for("react.forward_ref"),hM=Symbol.for("react.suspense"),gM=Symbol.for("react.memo"),iv=Symbol.for("react.lazy"),bM=Symbol.for("react.activity"),ov=Symbol.iterator;function TM(e){return e===null||typeof e!="object"?null:(e=ov&&e[ov]||e["@@iterator"],typeof e=="function"?e:null)}var sv={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},lv=Object.assign,uv={};function bi(e,t,o){this.props=e,this.context=t,this.refs=uv,this.updater=o||sv}bi.prototype.isReactComponent={};bi.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};bi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function cv(){}cv.prototype=bi.prototype;function Ym(e,t,o){this.props=e,this.context=t,this.refs=uv,this.updater=o||sv}var Xm=Ym.prototype=new cv;Xm.constructor=Ym;lv(Xm,bi.prototype);Xm.isPureReactComponent=!0;var rv=Array.isArray;function Gm(){}var Ie={H:null,A:null,T:null,S:null},pv=Object.prototype.hasOwnProperty;function Qm(e,t,o){var r=o.ref;return{$$typeof:Km,type:e,key:t,ref:r!==void 0?r:null,props:o}}function vM(e,t){return Qm(e.type,t,e.props)}function Wm(e){return typeof e=="object"&&e!==null&&e.$$typeof===Km}function xM(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(o){return t[o]})}var nv=/\/+/g;function qm(e,t){return typeof e=="object"&&e!==null&&e.key!=null?xM(""+e.key):t.toString(36)}function SM(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(Gm,Gm):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function gi(e,t,o,r,n){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(a){case"bigint":case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Km:case uM:i=!0;break;case iv:return i=e._init,gi(i(e._payload),t,o,r,n)}}if(i)return n=n(e),i=r===""?"."+qm(e,0):r,rv(n)?(o="",i!=null&&(o=i.replace(nv,"$&/")+"/"),gi(n,t,o,"",function(u){return u})):n!=null&&(Wm(n)&&(n=vM(n,o+(n.key==null||e&&e.key===n.key?"":(""+n.key).replace(nv,"$&/")+"/")+i)),t.push(n)),1;i=0;var s=r===""?".":r+":";if(rv(e))for(var l=0;l<e.length;l++)r=e[l],a=s+qm(r,l),i+=gi(r,t,o,a,n);else if(l=TM(e),typeof l=="function")for(e=l.call(e),l=0;!(r=e.next()).done;)r=r.value,a=s+qm(r,l++),i+=gi(r,t,o,a,n);else if(a==="object"){if(typeof e.then=="function")return gi(SM(e),t,o,r,n);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return i}function kc(e,t,o){if(e==null)return e;var r=[],n=0;return gi(e,r,"","",function(a){return t.call(o,a,n++)}),r}function CM(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(o){(e._status===0||e._status===-1)&&(e._status=1,e._result=o)},function(o){(e._status===0||e._status===-1)&&(e._status=2,e._result=o)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var av=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},EM={map:kc,forEach:function(e,t,o){kc(e,function(){t.apply(this,arguments)},o)},count:function(e){var t=0;return kc(e,function(){t++}),t},toArray:function(e){return kc(e,function(t){return t})||[]},only:function(e){if(!Wm(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Z.Activity=bM;Z.Children=EM;Z.Component=bi;Z.Fragment=cM;Z.Profiler=fM;Z.PureComponent=Ym;Z.StrictMode=pM;Z.Suspense=hM;Z.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ie;Z.__COMPILER_RUNTIME={__proto__:null,c:function(e){return Ie.H.useMemoCache(e)}};Z.cache=function(e){return function(){return e.apply(null,arguments)}};Z.cacheSignal=function(){return null};Z.cloneElement=function(e,t,o){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var r=lv({},e.props),n=e.key;if(t!=null)for(a in t.key!==void 0&&(n=""+t.key),t)!pv.call(t,a)||a==="key"||a==="__self"||a==="__source"||a==="ref"&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=o;else if(1<a){for(var i=Array(a),s=0;s<a;s++)i[s]=arguments[s+2];r.children=i}return Qm(e.type,n,r)};Z.createContext=function(e){return e={$$typeof:mM,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:dM,_context:e},e};Z.createElement=function(e,t,o){var r,n={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=""+t.key),t)pv.call(t,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(n[r]=t[r]);var i=arguments.length-2;if(i===1)n.children=o;else if(1<i){for(var s=Array(i),l=0;l<i;l++)s[l]=arguments[l+2];n.children=s}if(e&&e.defaultProps)for(r in i=e.defaultProps,i)n[r]===void 0&&(n[r]=i[r]);return Qm(e,a,n)};Z.createRef=function(){return{current:null}};Z.forwardRef=function(e){return{$$typeof:yM,render:e}};Z.isValidElement=Wm;Z.lazy=function(e){return{$$typeof:iv,_payload:{_status:-1,_result:e},_init:CM}};Z.memo=function(e,t){return{$$typeof:gM,type:e,compare:t===void 0?null:t}};Z.startTransition=function(e){var t=Ie.T,o={};Ie.T=o;try{var r=e(),n=Ie.S;n!==null&&n(o,r),typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.then(Gm,av)}catch(a){av(a)}finally{t!==null&&o.types!==null&&(t.types=o.types),Ie.T=t}};Z.unstable_useCacheRefresh=function(){return Ie.H.useCacheRefresh()};Z.use=function(e){return Ie.H.use(e)};Z.useActionState=function(e,t,o){return Ie.H.useActionState(e,t,o)};Z.useCallback=function(e,t){return Ie.H.useCallback(e,t)};Z.useContext=function(e){return Ie.H.useContext(e)};Z.useDebugValue=function(){};Z.useDeferredValue=function(e,t){return Ie.H.useDeferredValue(e,t)};Z.useEffect=function(e,t){return Ie.H.useEffect(e,t)};Z.useEffectEvent=function(e){return Ie.H.useEffectEvent(e)};Z.useId=function(){return Ie.H.useId()};Z.useImperativeHandle=function(e,t,o){return Ie.H.useImperativeHandle(e,t,o)};Z.useInsertionEffect=function(e,t){return Ie.H.useInsertionEffect(e,t)};Z.useLayoutEffect=function(e,t){return Ie.H.useLayoutEffect(e,t)};Z.useMemo=function(e,t){return Ie.H.useMemo(e,t)};Z.useOptimistic=function(e,t){return Ie.H.useOptimistic(e,t)};Z.useReducer=function(e,t,o){return Ie.H.useReducer(e,t,o)};Z.useRef=function(e){return Ie.H.useRef(e)};Z.useState=function(e){return Ie.H.useState(e)};Z.useSyncExternalStore=function(e,t,o){return Ie.H.useSyncExternalStore(e,t,o)};Z.useTransition=function(){return Ie.H.useTransition()};Z.version="19.2.4"});var U=Gt((B6,dv)=>{"use strict";dv.exports=fv()});var kv=Gt(Ee=>{"use strict";var bt=typeof Symbol=="function"&&Symbol.for,ty=bt?Symbol.for("react.element"):60103,oy=bt?Symbol.for("react.portal"):60106,Gc=bt?Symbol.for("react.fragment"):60107,Kc=bt?Symbol.for("react.strict_mode"):60108,Yc=bt?Symbol.for("react.profiler"):60114,Xc=bt?Symbol.for("react.provider"):60109,Qc=bt?Symbol.for("react.context"):60110,ry=bt?Symbol.for("react.async_mode"):60111,Wc=bt?Symbol.for("react.concurrent_mode"):60111,Zc=bt?Symbol.for("react.forward_ref"):60112,Jc=bt?Symbol.for("react.suspense"):60113,kM=bt?Symbol.for("react.suspense_list"):60120,ep=bt?Symbol.for("react.memo"):60115,tp=bt?Symbol.for("react.lazy"):60116,UM=bt?Symbol.for("react.block"):60121,LM=bt?Symbol.for("react.fundamental"):60117,IM=bt?Symbol.for("react.responder"):60118,jM=bt?Symbol.for("react.scope"):60119;function mo(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case ty:switch(e=e.type,e){case ry:case Wc:case Gc:case Yc:case Kc:case Jc:return e;default:switch(e=e&&e.$$typeof,e){case Qc:case Zc:case tp:case ep:case Xc:return e;default:return t}}case oy:return t}}}function zv(e){return mo(e)===Wc}Ee.AsyncMode=ry;Ee.ConcurrentMode=Wc;Ee.ContextConsumer=Qc;Ee.ContextProvider=Xc;Ee.Element=ty;Ee.ForwardRef=Zc;Ee.Fragment=Gc;Ee.Lazy=tp;Ee.Memo=ep;Ee.Portal=oy;Ee.Profiler=Yc;Ee.StrictMode=Kc;Ee.Suspense=Jc;Ee.isAsyncMode=function(e){return zv(e)||mo(e)===ry};Ee.isConcurrentMode=zv;Ee.isContextConsumer=function(e){return mo(e)===Qc};Ee.isContextProvider=function(e){return mo(e)===Xc};Ee.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ty};Ee.isForwardRef=function(e){return mo(e)===Zc};Ee.isFragment=function(e){return mo(e)===Gc};Ee.isLazy=function(e){return mo(e)===tp};Ee.isMemo=function(e){return mo(e)===ep};Ee.isPortal=function(e){return mo(e)===oy};Ee.isProfiler=function(e){return mo(e)===Yc};Ee.isStrictMode=function(e){return mo(e)===Kc};Ee.isSuspense=function(e){return mo(e)===Jc};Ee.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Gc||e===Wc||e===Yc||e===Kc||e===Jc||e===kM||typeof e=="object"&&e!==null&&(e.$$typeof===tp||e.$$typeof===ep||e.$$typeof===Xc||e.$$typeof===Qc||e.$$typeof===Zc||e.$$typeof===LM||e.$$typeof===IM||e.$$typeof===jM||e.$$typeof===UM)};Ee.typeOf=mo});var Lv=Gt((rU,Uv)=>{"use strict";Uv.exports=kv()});var qv=Gt((nU,$v)=>{"use strict";var ny=Lv(),HM={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},VM={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},FM={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Vv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ay={};ay[ny.ForwardRef]=FM;ay[ny.Memo]=Vv;function Iv(e){return ny.isMemo(e)?Vv:ay[e.$$typeof]||HM}var $M=Object.defineProperty,qM=Object.getOwnPropertyNames,jv=Object.getOwnPropertySymbols,GM=Object.getOwnPropertyDescriptor,KM=Object.getPrototypeOf,Hv=Object.prototype;function Fv(e,t,o){if(typeof t!="string"){if(Hv){var r=KM(t);r&&r!==Hv&&Fv(e,r,o)}var n=qM(t);jv&&(n=n.concat(jv(t)));for(var a=Iv(e),i=Iv(t),s=0;s<n.length;++s){var l=n[s];if(!VM[l]&&!(o&&o[l])&&!(i&&i[l])&&!(a&&a[l])){var u=GM(t,l);try{$M(e,l,u)}catch{}}}}return e}$v.exports=Fv});var c0=Gt(ap=>{"use strict";var uw=Symbol.for("react.transitional.element"),cw=Symbol.for("react.fragment");function u0(e,t,o){var r=null;if(o!==void 0&&(r=""+o),t.key!==void 0&&(r=""+t.key),"key"in t){o={};for(var n in t)n!=="key"&&(o[n]=t[n])}else o=t;return t=o.ref,{$$typeof:uw,type:e,key:r,ref:t!==void 0?t:null,props:o}}ap.Fragment=cw;ap.jsx=u0;ap.jsxs=u0});var z=Gt((JU,p0)=>{"use strict";p0.exports=c0()});var y0=Gt(De=>{"use strict";var cy=Symbol.for("react.transitional.element"),py=Symbol.for("react.portal"),ip=Symbol.for("react.fragment"),sp=Symbol.for("react.strict_mode"),lp=Symbol.for("react.profiler"),up=Symbol.for("react.consumer"),cp=Symbol.for("react.context"),pp=Symbol.for("react.forward_ref"),fp=Symbol.for("react.suspense"),dp=Symbol.for("react.suspense_list"),mp=Symbol.for("react.memo"),yp=Symbol.for("react.lazy"),fw=Symbol.for("react.view_transition"),dw=Symbol.for("react.client.reference");function Bo(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case cy:switch(e=e.type,e){case ip:case lp:case sp:case fp:case dp:case fw:return e;default:switch(e=e&&e.$$typeof,e){case cp:case pp:case yp:case mp:return e;case up:return e;default:return t}}case py:return t}}}De.ContextConsumer=up;De.ContextProvider=cp;De.Element=cy;De.ForwardRef=pp;De.Fragment=ip;De.Lazy=yp;De.Memo=mp;De.Portal=py;De.Profiler=lp;De.StrictMode=sp;De.Suspense=fp;De.SuspenseList=dp;De.isContextConsumer=function(e){return Bo(e)===up};De.isContextProvider=function(e){return Bo(e)===cp};De.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===cy};De.isForwardRef=function(e){return Bo(e)===pp};De.isFragment=function(e){return Bo(e)===ip};De.isLazy=function(e){return Bo(e)===yp};De.isMemo=function(e){return Bo(e)===mp};De.isPortal=function(e){return Bo(e)===py};De.isProfiler=function(e){return Bo(e)===lp};De.isStrictMode=function(e){return Bo(e)===sp};De.isSuspense=function(e){return Bo(e)===fp};De.isSuspenseList=function(e){return Bo(e)===dp};De.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ip||e===lp||e===sp||e===fp||e===dp||typeof e=="object"&&e!==null&&(e.$$typeof===yp||e.$$typeof===mp||e.$$typeof===cp||e.$$typeof===up||e.$$typeof===pp||e.$$typeof===dw||e.getModuleId!==void 0)};De.typeOf=Bo});var g0=Gt((cL,h0)=>{"use strict";h0.exports=y0()});var _x=Gt(Wt=>{"use strict";var k5=U();function Dx(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function xn(){}var Qt={d:{f:xn,r:function(){throw Error(Dx(522))},D:xn,C:xn,L:xn,m:xn,X:xn,S:xn,M:xn},p:0,findDOMNode:null},U5=Symbol.for("react.portal");function L5(e,t,o){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:U5,key:r==null?null:""+r,children:e,containerInfo:t,implementation:o}}var Gl=k5.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Wp(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}Wt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Qt;Wt.createPortal=function(e,t){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(Dx(299));return L5(e,t,null,o)};Wt.flushSync=function(e){var t=Gl.T,o=Qt.p;try{if(Gl.T=null,Qt.p=2,e)return e()}finally{Gl.T=t,Qt.p=o,Qt.d.f()}};Wt.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Qt.d.C(e,t))};Wt.prefetchDNS=function(e){typeof e=="string"&&Qt.d.D(e)};Wt.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var o=t.as,r=Wp(o,t.crossOrigin),n=typeof t.integrity=="string"?t.integrity:void 0,a=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;o==="style"?Qt.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:r,integrity:n,fetchPriority:a}):o==="script"&&Qt.d.X(e,{crossOrigin:r,integrity:n,fetchPriority:a,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};Wt.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var o=Wp(t.as,t.crossOrigin);Qt.d.M(e,{crossOrigin:o,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&Qt.d.M(e)};Wt.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var o=t.as,r=Wp(o,t.crossOrigin);Qt.d.L(e,o,{crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};Wt.preloadModule=function(e,t){if(typeof e=="string")if(t){var o=Wp(t.as,t.crossOrigin);Qt.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:o,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else Qt.d.m(e)};Wt.requestFormReset=function(e){Qt.d.r(e)};Wt.unstable_batchedUpdates=function(e,t){return e(t)};Wt.useFormState=function(e,t,o){return Gl.H.useFormState(e,t,o)};Wt.useFormStatus=function(){return Gl.H.useHostTransitionStatus()};Wt.version="19.2.4"});var Zp=Gt((YF,zx)=>{"use strict";function Bx(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Bx)}catch(e){console.error(e)}}Bx(),zx.exports=_x()});var AC=Gt($e=>{"use strict";function ig(e,t){var o=e.length;e.push(t);e:for(;0<o;){var r=o-1>>>1,n=e[r];if(0<Wf(n,t))e[r]=t,e[o]=n,o=r;else break e}}function vr(e){return e.length===0?null:e[0]}function Jf(e){if(e.length===0)return null;var t=e[0],o=e.pop();if(o!==t){e[0]=o;e:for(var r=0,n=e.length,a=n>>>1;r<a;){var i=2*(r+1)-1,s=e[i],l=i+1,u=e[l];if(0>Wf(s,o))l<n&&0>Wf(u,s)?(e[r]=u,e[l]=o,r=l):(e[r]=s,e[i]=o,r=i);else if(l<n&&0>Wf(u,o))e[r]=u,e[l]=o,r=l;else break e}}return t}function Wf(e,t){var o=e.sortIndex-t.sortIndex;return o!==0?o:e.id-t.id}$e.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(TC=performance,$e.unstable_now=function(){return TC.now()}):(rg=Date,vC=rg.now(),$e.unstable_now=function(){return rg.now()-vC});var TC,rg,vC,Hr=[],Nn=[],C3=1,Ho=null,$t=3,sg=!1,Au=!1,Mu=!1,lg=!1,CC=typeof setTimeout=="function"?setTimeout:null,EC=typeof clearTimeout=="function"?clearTimeout:null,xC=typeof setImmediate<"u"?setImmediate:null;function Zf(e){for(var t=vr(Nn);t!==null;){if(t.callback===null)Jf(Nn);else if(t.startTime<=e)Jf(Nn),t.sortIndex=t.expirationTime,ig(Hr,t);else break;t=vr(Nn)}}function ug(e){if(Mu=!1,Zf(e),!Au)if(vr(Hr)!==null)Au=!0,xs||(xs=!0,vs());else{var t=vr(Nn);t!==null&&cg(ug,t.startTime-e)}}var xs=!1,wu=-1,PC=5,RC=-1;function OC(){return lg?!0:!($e.unstable_now()-RC<PC)}function ng(){if(lg=!1,xs){var e=$e.unstable_now();RC=e;var t=!0;try{e:{Au=!1,Mu&&(Mu=!1,EC(wu),wu=-1),sg=!0;var o=$t;try{t:{for(Zf(e),Ho=vr(Hr);Ho!==null&&!(Ho.expirationTime>e&&OC());){var r=Ho.callback;if(typeof r=="function"){Ho.callback=null,$t=Ho.priorityLevel;var n=r(Ho.expirationTime<=e);if(e=$e.unstable_now(),typeof n=="function"){Ho.callback=n,Zf(e),t=!0;break t}Ho===vr(Hr)&&Jf(Hr),Zf(e)}else Jf(Hr);Ho=vr(Hr)}if(Ho!==null)t=!0;else{var a=vr(Nn);a!==null&&cg(ug,a.startTime-e),t=!1}}break e}finally{Ho=null,$t=o,sg=!1}t=void 0}}finally{t?vs():xs=!1}}}var vs;typeof xC=="function"?vs=function(){xC(ng)}:typeof MessageChannel<"u"?(ag=new MessageChannel,SC=ag.port2,ag.port1.onmessage=ng,vs=function(){SC.postMessage(null)}):vs=function(){CC(ng,0)};var ag,SC;function cg(e,t){wu=CC(function(){e($e.unstable_now())},t)}$e.unstable_IdlePriority=5;$e.unstable_ImmediatePriority=1;$e.unstable_LowPriority=4;$e.unstable_NormalPriority=3;$e.unstable_Profiling=null;$e.unstable_UserBlockingPriority=2;$e.unstable_cancelCallback=function(e){e.callback=null};$e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):PC=0<e?Math.floor(1e3/e):5};$e.unstable_getCurrentPriorityLevel=function(){return $t};$e.unstable_next=function(e){switch($t){case 1:case 2:case 3:var t=3;break;default:t=$t}var o=$t;$t=t;try{return e()}finally{$t=o}};$e.unstable_requestPaint=function(){lg=!0};$e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var o=$t;$t=e;try{return t()}finally{$t=o}};$e.unstable_scheduleCallback=function(e,t,o){var r=$e.unstable_now();switch(typeof o=="object"&&o!==null?(o=o.delay,o=typeof o=="number"&&0<o?r+o:r):o=r,e){case 1:var n=-1;break;case 2:n=250;break;case 5:n=1073741823;break;case 4:n=1e4;break;default:n=5e3}return n=o+n,e={id:C3++,callback:t,priorityLevel:e,startTime:o,expirationTime:n,sortIndex:-1},o>r?(e.sortIndex=o,ig(Nn,e),vr(Hr)===null&&e===vr(Nn)&&(Mu?(EC(wu),wu=-1):Mu=!0,cg(ug,o-r))):(e.sortIndex=n,ig(Hr,e),Au||sg||(Au=!0,xs||(xs=!0,vs()))),e};$e.unstable_shouldYield=OC;$e.unstable_wrapCallback=function(e){var t=$t;return function(){var o=$t;$t=t;try{return e.apply(this,arguments)}finally{$t=o}}}});var wC=Gt(($se,MC)=>{"use strict";MC.exports=AC()});var V2=Gt(Em=>{"use strict";var ht=wC(),oP=U(),E3=Zp();function B(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function rP(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function hc(e){var t=e,o=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(o=t.return),e=t.return;while(e)}return t.tag===3?o:null}function nP(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function aP(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function NC(e){if(hc(e)!==e)throw Error(B(188))}function P3(e){var t=e.alternate;if(!t){if(t=hc(e),t===null)throw Error(B(188));return t!==e?null:e}for(var o=e,r=t;;){var n=o.return;if(n===null)break;var a=n.alternate;if(a===null){if(r=n.return,r!==null){o=r;continue}break}if(n.child===a.child){for(a=n.child;a;){if(a===o)return NC(n),e;if(a===r)return NC(n),t;a=a.sibling}throw Error(B(188))}if(o.return!==r.return)o=n,r=a;else{for(var i=!1,s=n.child;s;){if(s===o){i=!0,o=n,r=a;break}if(s===r){i=!0,r=n,o=a;break}s=s.sibling}if(!i){for(s=a.child;s;){if(s===o){i=!0,o=a,r=n;break}if(s===r){i=!0,r=a,o=n;break}s=s.sibling}if(!i)throw Error(B(189))}}if(o.alternate!==r)throw Error(B(190))}if(o.tag!==3)throw Error(B(188));return o.stateNode.current===o?e:t}function iP(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=iP(e),t!==null)return t;e=e.sibling}return null}var Ve=Object.assign,R3=Symbol.for("react.element"),ed=Symbol.for("react.transitional.element"),Lu=Symbol.for("react.portal"),Os=Symbol.for("react.fragment"),sP=Symbol.for("react.strict_mode"),$g=Symbol.for("react.profiler"),lP=Symbol.for("react.consumer"),Xr=Symbol.for("react.context"),Ib=Symbol.for("react.forward_ref"),qg=Symbol.for("react.suspense"),Gg=Symbol.for("react.suspense_list"),jb=Symbol.for("react.memo"),Dn=Symbol.for("react.lazy"),Kg=Symbol.for("react.activity"),O3=Symbol.for("react.memo_cache_sentinel"),DC=Symbol.iterator;function Nu(e){return e===null||typeof e!="object"?null:(e=DC&&e[DC]||e["@@iterator"],typeof e=="function"?e:null)}var A3=Symbol.for("react.client.reference");function Yg(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A3?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Os:return"Fragment";case $g:return"Profiler";case sP:return"StrictMode";case qg:return"Suspense";case Gg:return"SuspenseList";case Kg:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case Lu:return"Portal";case Xr:return e.displayName||"Context";case lP:return(e._context.displayName||"Context")+".Consumer";case Ib:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case jb:return t=e.displayName||null,t!==null?t:Yg(e.type)||"Memo";case Dn:t=e._payload,e=e._init;try{return Yg(e(t))}catch{}}return null}var Iu=Array.isArray,Y=oP.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ge=E3.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Xa={pending:!1,data:null,method:null,action:null},Xg=[],As=-1;function Pr(e){return{current:e}}function Et(e){0>As||(e.current=Xg[As],Xg[As]=null,As--)}function Ue(e,t){As++,Xg[As]=e.current,e.current=t}var Er=Pr(null),oc=Pr(null),Fn=Pr(null),_d=Pr(null);function Bd(e,t){switch(Ue(Fn,t),Ue(oc,e),Ue(Er,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?IE(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=IE(t),e=A2(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Et(Er),Ue(Er,e)}function Gs(){Et(Er),Et(oc),Et(Fn)}function Qg(e){e.memoizedState!==null&&Ue(_d,e);var t=Er.current,o=A2(t,e.type);t!==o&&(Ue(oc,e),Ue(Er,o))}function zd(e){oc.current===e&&(Et(Er),Et(oc)),_d.current===e&&(Et(_d),dc._currentValue=Xa)}var pg,_C;function qa(e){if(pg===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);pg=t&&t[1]||"",_C=-1<o.stack.indexOf(`
|
|
2
2
|
at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
3
|
`+pg+e+_C}var fg=!1;function dg(e,t){if(!e||fg)return"";fg=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var f=function(){throw Error()};if(Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(c){var d=c}Reflect.construct(e,[],f)}else{try{f.call()}catch(c){d=c}e.call(f.prototype)}}else{try{throw Error()}catch(c){d=c}(f=e())&&typeof f.catch=="function"&&f.catch(function(){})}}catch(c){if(c&&d&&typeof c.stack=="string")return[c.stack,d.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),i=a[0],s=a[1];if(i&&s){var l=i.split(`
|
|
4
4
|
`),u=s.split(`
|
|
@@ -78,15 +78,15 @@ try {
|
|
|
78
78
|
if (colorScheme) {
|
|
79
79
|
${u}
|
|
80
80
|
}
|
|
81
|
-
} catch(e){}})();`}},"mui-color-scheme-init")}var wt=S(U(),1);function jN(){}var HN=({key:e,storageWindow:t})=>(!t&&typeof window<"u"&&(t=window),{get(o){if(typeof window>"u")return;if(!t)return o;let r;try{r=t.localStorage.getItem(e)}catch{}return r||o},set:o=>{if(t)try{t.localStorage.setItem(e,o)}catch{}},subscribe:o=>{if(!t)return jN;let r=n=>{let a=n.newValue;n.key===e&&o(a)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}}),rx=HN;function _y(){}function nx(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function ax(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function VN(e){return ax(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function By(e){let{defaultMode:t="light",defaultLightColorScheme:o,defaultDarkColorScheme:r,supportedColorSchemes:n=[],modeStorageKey:a=kl,colorSchemeStorageKey:i=Ul,storageWindow:s=typeof window>"u"?void 0:window,storageManager:l=rx,noSsr:u=!1}=e,p=n.join(","),f=n.length>1,d=wt.useMemo(()=>l?.({key:a,storageWindow:s}),[l,a,s]),c=wt.useMemo(()=>l?.({key:`${i}-light`,storageWindow:s}),[l,i,s]),T=wt.useMemo(()=>l?.({key:`${i}-dark`,storageWindow:s}),[l,i,s]),[v,x]=wt.useState(()=>{let O=d?.get(t)||t,M=c?.get(o)||o,N=T?.get(r)||r;return{mode:O,systemMode:nx(O),lightColorScheme:M,darkColorScheme:N}}),[m,y]=wt.useState(u||!f);wt.useEffect(()=>{y(!0)},[]);let g=VN(v),b=wt.useCallback(O=>{x(M=>{if(O===M.mode)return M;let N=O??t;return d?.set(N),{...M,mode:N,systemMode:nx(N)}})},[d,t]),P=wt.useCallback(O=>{O?typeof O=="string"?O&&!p.includes(O)?console.error(`\`${O}\` does not exist in \`theme.colorSchemes\`.`):x(M=>{let N={...M};return ax(M,A=>{A==="light"&&(c?.set(O),N.lightColorScheme=O),A==="dark"&&(T?.set(O),N.darkColorScheme=O)}),N}):x(M=>{let N={...M},A=O.light===null?o:O.light,h=O.dark===null?r:O.dark;return A&&(p.includes(A)?(N.lightColorScheme=A,c?.set(A)):console.error(`\`${A}\` does not exist in \`theme.colorSchemes\`.`)),h&&(p.includes(h)?(N.darkColorScheme=h,T?.set(h)):console.error(`\`${h}\` does not exist in \`theme.colorSchemes\`.`)),N}):x(M=>(c?.set(o),T?.set(r),{...M,lightColorScheme:o,darkColorScheme:r}))},[p,c,T,o,r]),C=wt.useCallback(O=>{v.mode==="system"&&x(M=>{let N=O?.matches?"dark":"light";return M.systemMode===N?M:{...M,systemMode:N}})},[v.mode]),E=wt.useRef(C);return E.current=C,wt.useEffect(()=>{if(typeof window.matchMedia!="function"||!f)return;let O=(...N)=>E.current(...N),M=window.matchMedia("(prefers-color-scheme: dark)");return M.addListener(O),O(M),()=>{M.removeListener(O)}},[f]),wt.useEffect(()=>{if(f){let O=d?.subscribe(A=>{(!A||["light","dark","system"].includes(A))&&b(A||t)})||_y,M=c?.subscribe(A=>{(!A||p.match(A))&&P({light:A})})||_y,N=T?.subscribe(A=>{(!A||p.match(A))&&P({dark:A})})||_y;return()=>{O(),M(),N()}}},[P,b,p,t,s,f,d,c,T]),{...v,mode:m?v.mode:void 0,systemMode:m?v.systemMode:void 0,colorScheme:m?g:void 0,setMode:b,setColorScheme:P}}var $i=S(z(),1),FN="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Bp(e){let{themeId:t,theme:o={},modeStorageKey:r=kl,colorSchemeStorageKey:n=Ul,disableTransitionOnChange:a=!1,defaultColorScheme:i,resolveTheme:s}=e,l={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},u=Nt.createContext(void 0),p=()=>Nt.useContext(u)||l,f={},d={};function c(m){let{children:y,theme:g,modeStorageKey:b=r,colorSchemeStorageKey:P=n,disableTransitionOnChange:C=a,storageManager:E,storageWindow:O=typeof window>"u"?void 0:window,documentNode:M=typeof document>"u"?void 0:document,colorSchemeNode:N=typeof document>"u"?void 0:document.documentElement,disableNestedContext:A=!1,disableStyleSheetGeneration:h=!1,defaultMode:D="system",forceThemeRerender:R=!1,noSsr:w}=m,k=Nt.useRef(!1),I=Br(),$=Nt.useContext(u),de=!!$&&!A,ne=Nt.useMemo(()=>g||(typeof o=="function"?o():o),[g]),Q=ne[t],ue=Q||ne,{colorSchemes:Ge=f,components:Ne=d,cssVarPrefix:ee}=ue,ae=Object.keys(Ge).filter(Le=>!!Ge[Le]).join(","),W=Nt.useMemo(()=>ae.split(","),[ae]),te=typeof i=="string"?i:i.light,oe=typeof i=="string"?i:i.dark,be=Ge[te]&&Ge[oe]?D:Ge[ue.defaultColorScheme]?.palette?.mode||ue.palette?.mode,{mode:Pt,setMode:ce,systemMode:Oe,lightColorScheme:pt,darkColorScheme:qt,colorScheme:Ke,setColorScheme:ft}=By({supportedColorSchemes:W,defaultLightColorScheme:te,defaultDarkColorScheme:oe,modeStorageKey:b,colorSchemeStorageKey:P,defaultMode:be,storageManager:E,storageWindow:O,noSsr:w}),Rt=Pt,ye=Ke;de&&(Rt=$.mode,ye=$.colorScheme);let po=ye||ue.defaultColorScheme;ue.vars&&!R&&(po=ue.defaultColorScheme);let No=Nt.useMemo(()=>{let Le=ue.generateThemeVars?.()||ue.vars,Te={...ue,components:Ne,colorSchemes:Ge,cssVarPrefix:ee,vars:Le};if(typeof Te.generateSpacing=="function"&&(Te.spacing=Te.generateSpacing()),po){let We=Ge[po];We&&typeof We=="object"&&Object.keys(We).forEach(re=>{We[re]&&typeof We[re]=="object"?Te[re]={...Te[re],...We[re]}:Te[re]=We[re]})}return s?s(Te):Te},[ue,po,Ne,Ge,ee]),dt=ue.colorSchemeSelector;Tt(()=>{if(ye&&N&&dt&&dt!=="media"){let Le=dt,Te=dt;if(Le==="class"&&(Te=".%s"),Le==="data"&&(Te="[data-%s]"),Le?.startsWith("data-")&&!Le.includes("%s")&&(Te=`[${Le}="%s"]`),Te.startsWith("."))N.classList.remove(...W.map(We=>Te.substring(1).replace("%s",We))),N.classList.add(Te.substring(1).replace("%s",ye));else{let We=Te.replace("%s",ye).match(/\[([^\]]+)\]/);if(We){let[re,fo]=We[1].split("=");fo||W.forEach(cn=>{N.removeAttribute(re.replace(ye,cn))}),N.setAttribute(re,fo?fo.replace(/"|'/g,""):"")}else N.setAttribute(Te,ye)}}},[ye,dt,N,W]),Nt.useEffect(()=>{let Le;if(C&&k.current&&M){let Te=M.createElement("style");Te.appendChild(M.createTextNode(FN)),M.head.appendChild(Te),window.getComputedStyle(M.body),Le=setTimeout(()=>{M.head.removeChild(Te)},1)}return()=>{clearTimeout(Le)}},[ye,C,M]),Nt.useEffect(()=>(k.current=!0,()=>{k.current=!1}),[]);let ia=Nt.useMemo(()=>({allColorSchemes:W,colorScheme:ye,darkColorScheme:qt,lightColorScheme:pt,mode:Rt,setColorScheme:ft,setMode:ce,systemMode:Oe}),[W,ye,qt,pt,Rt,ft,ce,Oe,No.colorSchemeSelector]),cr=!0;(h||ue.cssVariables===!1||de&&I?.cssVarPrefix===ee)&&(cr=!1);let Ar=(0,$i.jsxs)(Nt.Fragment,{children:[(0,$i.jsx)(Fi,{themeId:Q?t:void 0,theme:No,children:y}),cr&&(0,$i.jsx)(ya,{styles:No.generateStyleSheets?.()||[]})]});return de?Ar:(0,$i.jsx)(u.Provider,{value:ia,children:Ar})}let T=typeof i=="string"?i:i.light,v=typeof i=="string"?i:i.dark;return{CssVarsProvider:c,useColorScheme:p,getInitColorSchemeScript:m=>Dy({colorSchemeStorageKey:n,defaultLightColorScheme:T,defaultDarkColorScheme:v,modeStorageKey:r,...m})}}function zp(e=""){function t(...r){if(!r.length)return"";let n=r[0];return typeof n=="string"&&!n.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}-`:""}${n}${t(...r.slice(1))})`:`, ${n}`}return(r,...n)=>`var(--${e?`${e}-`:""}${r}${t(...n)})`}var ix=(e,t,o,r=[])=>{let n=e;t.forEach((a,i)=>{i===t.length-1?Array.isArray(n)?n[Number(a)]=o:n&&typeof n=="object"&&(n[a]=o):n&&typeof n=="object"&&(n[a]||(n[a]=r.includes(a)?[]:{}),n=n[a])})},$N=(e,t,o)=>{function r(n,a=[],i=[]){Object.entries(n).forEach(([s,l])=>{(!o||o&&!o([...a,s]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...a,s],Array.isArray(l)?[...i,s]:i):t([...a,s],l,i))})}r(e)},qN=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Ll(e,t){let{prefix:o,shouldSkipGeneratingVar:r}=t||{},n={},a={},i={};return $N(e,(s,l,u)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(s,l))){let p=`--${o?`${o}-`:""}${s.join("-")}`,f=qN(s,l);Object.assign(n,{[p]:f}),ix(a,s,`var(${p})`,u),ix(i,s,`var(${p}, ${f})`,u)}},s=>s[0]==="vars"),{css:n,vars:a,varsWithDefaults:i}}function GN(e,t={}){let{getSelector:o=m,disableCssColorScheme:r,colorSchemeSelector:n,enableContrastVars:a}=t,{colorSchemes:i={},components:s,defaultColorScheme:l="light",...u}=e,{vars:p,css:f,varsWithDefaults:d}=Ll(u,t),c=d,T={},{[l]:v,...x}=i;if(Object.entries(x||{}).forEach(([b,P])=>{let{vars:C,css:E,varsWithDefaults:O}=Ll(P,t);c=xe(c,O),T[b]={css:E,vars:C}}),v){let{css:b,vars:P,varsWithDefaults:C}=Ll(v,t);c=xe(c,C),T[l]={css:b,vars:P}}function m(b,P){let C=n;if(n==="class"&&(C=".%s"),n==="data"&&(C="[data-%s]"),n?.startsWith("data-")&&!n.includes("%s")&&(C=`[${n}="%s"]`),b){if(C==="media")return e.defaultColorScheme===b?":root":{[`@media (prefers-color-scheme: ${i[b]?.palette?.mode||b})`]:{":root":P}};if(C)return e.defaultColorScheme===b?`:root, ${C.replace("%s",String(b))}`:C.replace("%s",String(b))}return":root"}return{vars:c,generateThemeVars:()=>{let b={...p};return Object.entries(T).forEach(([,{vars:P}])=>{b=xe(b,P)}),b},generateStyleSheets:()=>{let b=[],P=e.defaultColorScheme||"light";function C(M,N){Object.keys(N).length&&b.push(typeof M=="string"?{[M]:{...N}}:M)}C(o(void 0,{...f}),f);let{[P]:E,...O}=T;if(E){let{css:M}=E,N=i[P]?.palette?.mode,A=!r&&N?{colorScheme:N,...M}:{...M};C(o(P,{...A}),A)}return Object.entries(O).forEach(([M,{css:N}])=>{let A=i[M]?.palette?.mode,h=!r&&A?{colorScheme:A,...N}:{...N};C(o(M,{...h}),h)}),a&&b.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)"}}),b}}}var zy=GN;function ky(e){return function(o){return e==="media"?`@media (prefers-color-scheme: ${o})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${o}"] &`:e==="class"?`.${o} &`:e==="data"?`[data-${o}] &`:`${e.replace("%s",o)} &`:"&"}}function F(e,t,o=void 0){let r={};for(let n in e){let a=e[n],i="",s=!0;for(let l=0;l<a.length;l+=1){let u=a[l];u&&(i+=(s===!0?"":" ")+t(u),s=!1,o&&o[u]&&(i+=" "+o[u]))}r[n]=i}return r}var sx=S(U(),1);function kp(e,t){return sx.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}var qi=S(U(),1);var lx=S(z(),1),KN=Dr(),YN=Ey("div",{name:"MuiStack",slot:"Root"});function XN(e){return Ep({props:e,name:"MuiStack",defaultTheme:KN})}function QN(e,t){let o=qi.Children.toArray(e).filter(Boolean);return o.reduce((r,n,a)=>(r.push(n),a<o.length-1&&r.push(qi.cloneElement(t,{key:`separator-${a}`})),r),[])}var WN=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],ZN=({ownerState:e,theme:t})=>{let o={display:"flex",flexDirection:"column",...yo({theme:t},vp({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){let r=ga(t),n=Object.keys(t.breakpoints.values).reduce((l,u)=>((typeof e.spacing=="object"&&e.spacing[u]!=null||typeof e.direction=="object"&&e.direction[u]!=null)&&(l[u]=!0),l),{}),a=vp({values:e.direction,base:n}),i=vp({values:e.spacing,base:n});typeof a=="object"&&Object.keys(a).forEach((l,u,p)=>{if(!a[l]){let d=u>0?a[p[u-1]]:"column";a[l]=d}}),o=xe(o,yo({theme:t},i,(l,u)=>e.useFlexGap?{gap:dr(r,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${WN(u?a[u]:e.direction)}`]:dr(r,l)}}))}return o=x0(t.breakpoints,o),o};function Up(e={}){let{createStyledComponent:t=YN,useThemeProps:o=XN,componentName:r="MuiStack"}=e,n=()=>F({root:["root"]},l=>V(r,l),{}),a=t(ZN);return qi.forwardRef(function(l,u){let p=o(l),{component:f="div",direction:d="column",spacing:c=0,divider:T,children:v,className:x,useFlexGap:m=!1,...y}=p,g={direction:d,spacing:c,useFlexGap:m},b=n();return(0,lx.jsx)(a,{as:f,ownerState:g,ref:u,className:j(b.root,x),...y,children:T?QN(v,T):v})})}function px(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:yi.white,default:yi.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}var Uy=px();function fx(){return{text:{primary:yi.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:yi.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}var Lp=fx();function ux(e,t,o,r){let n=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(o)?e[t]=e[o]:t==="light"?e.light=Sa(e.main,n):t==="dark"&&(e.dark=xa(e.main,a)))}function cx(e,t,o,r,n){let a=n.light||n,i=n.dark||n*1.5;t[o]||(t.hasOwnProperty(r)?t[o]=t[r]:o==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(a*100).toFixed(0)}%)`:o==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(i*100).toFixed(0)}%)`))}function JN(e="light"){return e==="dark"?{main:ua[200],light:ua[50],dark:ua[400]}:{main:ua[700],light:ua[400],dark:ua[800]}}function eD(e="light"){return e==="dark"?{main:la[200],light:la[50],dark:la[400]}:{main:la[500],light:la[300],dark:la[700]}}function tD(e="light"){return e==="dark"?{main:sa[500],light:sa[300],dark:sa[700]}:{main:sa[700],light:sa[400],dark:sa[800]}}function oD(e="light"){return e==="dark"?{main:ca[400],light:ca[300],dark:ca[700]}:{main:ca[700],light:ca[500],dark:ca[900]}}function rD(e="light"){return e==="dark"?{main:pa[400],light:pa[300],dark:pa[700]}:{main:pa[800],light:pa[500],dark:pa[900]}}function nD(e="light"){return e==="dark"?{main:hi[400],light:hi[300],dark:hi[700]}:{main:"#ed6c02",light:hi[500],dark:hi[900]}}function aD(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Ca(e){let{mode:t="light",contrastThreshold:o=3,tonalOffset:r=.2,colorSpace:n,...a}=e,i=e.primary||JN(t),s=e.secondary||eD(t),l=e.error||tD(t),u=e.info||oD(t),p=e.success||rD(t),f=e.warning||nD(t);function d(x){return n?aD(x):Ay(x,Lp.text.primary)>=o?Lp.text.primary:Uy.text.primary}let c=({color:x,name:m,mainShade:y=500,lightShade:g=300,darkShade:b=700})=>{if(x={...x},!x.main&&x[y]&&(x.main=x[y]),!x.hasOwnProperty("main"))throw new Error(gt(11,m?` (${m})`:"",y));if(typeof x.main!="string")throw new Error(gt(12,m?` (${m})`:"",JSON.stringify(x.main)));return n?(cx(n,x,"light",g,r),cx(n,x,"dark",b,r)):(ux(x,"light",g,r),ux(x,"dark",b,r)),x.contrastText||(x.contrastText=d(x.main)),x},T;return t==="light"?T=px():t==="dark"&&(T=fx()),xe({common:{...yi},mode:t,primary:c({color:i,name:"primary"}),secondary:c({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:c({color:l,name:"error"}),warning:c({color:f,name:"warning"}),info:c({color:u,name:"info"}),success:c({color:p,name:"success"}),grey:tv,contrastThreshold:o,getContrastText:d,augmentColor:c,tonalOffset:r,...T},a)}function Ip(e){let t={};return Object.entries(e).forEach(r=>{let[n,a]=r;typeof a=="object"&&(t[n]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),t}function Ly(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function iD(e){return Math.round(e*1e5)/1e5}var dx={textTransform:"uppercase"},mx='"Roboto", "Helvetica", "Arial", sans-serif';function Il(e,t){let{fontFamily:o=mx,fontSize:r=14,fontWeightLight:n=300,fontWeightRegular:a=400,fontWeightMedium:i=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:u,pxToRem:p,...f}=typeof t=="function"?t(e):t,d=r/14,c=p||(x=>`${x/l*d}rem`),T=(x,m,y,g,b)=>({fontFamily:o,fontWeight:x,fontSize:c(m),lineHeight:y,...o===mx?{letterSpacing:`${iD(g/m)}em`}:{},...b,...u}),v={h1:T(n,96,1.167,-1.5),h2:T(n,60,1.2,-.5),h3:T(a,48,1.167,0),h4:T(a,34,1.235,.25),h5:T(a,24,1.334,0),h6:T(i,20,1.6,.15),subtitle1:T(a,16,1.75,.15),subtitle2:T(i,14,1.57,.1),body1:T(a,16,1.5,.15),body2:T(a,14,1.43,.15),button:T(i,14,1.75,.4,dx),caption:T(a,12,1.66,.4),overline:T(a,12,2.66,1,dx),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return xe({htmlFontSize:l,pxToRem:c,fontFamily:o,fontSize:r,fontWeightLight:n,fontWeightRegular:a,fontWeightMedium:i,fontWeightBold:s,...v},f,{clone:!1})}function Fe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${.2})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${.14})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${.12})`].join(",")}var sD=["none",Fe(0,2,1,-1,0,1,1,0,0,1,3,0),Fe(0,3,1,-2,0,2,2,0,0,1,5,0),Fe(0,3,3,-2,0,3,4,0,0,1,8,0),Fe(0,2,4,-1,0,4,5,0,0,1,10,0),Fe(0,3,5,-1,0,5,8,0,0,1,14,0),Fe(0,3,5,-1,0,6,10,0,0,1,18,0),Fe(0,4,5,-2,0,7,10,1,0,2,16,1),Fe(0,5,5,-3,0,8,10,1,0,3,14,2),Fe(0,5,6,-3,0,9,12,1,0,3,16,2),Fe(0,6,6,-3,0,10,14,1,0,4,18,3),Fe(0,6,7,-4,0,11,15,1,0,4,20,3),Fe(0,7,8,-4,0,12,17,2,0,5,22,4),Fe(0,7,8,-4,0,13,19,2,0,5,24,4),Fe(0,7,9,-4,0,14,21,2,0,5,26,4),Fe(0,8,9,-5,0,15,22,2,0,6,28,5),Fe(0,8,10,-5,0,16,24,2,0,6,30,5),Fe(0,8,11,-5,0,17,26,2,0,6,32,5),Fe(0,9,11,-5,0,18,28,2,0,7,34,6),Fe(0,9,12,-6,0,19,29,2,0,7,36,6),Fe(0,10,13,-6,0,20,31,3,0,8,38,7),Fe(0,10,13,-6,0,21,33,3,0,8,40,7),Fe(0,10,14,-6,0,22,35,3,0,8,42,7),Fe(0,11,14,-7,0,23,36,3,0,9,44,8),Fe(0,11,15,-7,0,24,38,3,0,9,46,8)],yx=sD;var lD={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)"},uD={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function hx(e){return`${Math.round(e)}ms`}function cD(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Iy(e){let t={...lD,...e.easing},o={...uD,...e.duration};return{getAutoHeightDuration:cD,create:(n=["all"],a={})=>{let{duration:i=o.standard,easing:s=t.easeInOut,delay:l=0,...u}=a;return(Array.isArray(n)?n:[n]).map(p=>`${p} ${typeof i=="string"?i:hx(i)} ${s} ${typeof l=="string"?l:hx(l)}`).join(",")},...e,easing:t,duration:o}}var pD={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},gx=pD;function fD(e){return tr(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function jp(e={}){let t={...e};function o(r){let n=Object.entries(r);for(let a=0;a<n.length;a++){let[i,s]=n[a];!fD(s)||i.startsWith("unstable_")||i.startsWith("internal_")?delete r[i]:tr(s)&&(r[i]={...s},o(r[i]))}}return o(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
81
|
+
} catch(e){}})();`}},"mui-color-scheme-init")}var wt=S(U(),1);function jN(){}var HN=({key:e,storageWindow:t})=>(!t&&typeof window<"u"&&(t=window),{get(o){if(typeof window>"u")return;if(!t)return o;let r;try{r=t.localStorage.getItem(e)}catch{}return r||o},set:o=>{if(t)try{t.localStorage.setItem(e,o)}catch{}},subscribe:o=>{if(!t)return jN;let r=n=>{let a=n.newValue;n.key===e&&o(a)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}}),rx=HN;function _y(){}function nx(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function ax(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function VN(e){return ax(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function By(e){let{defaultMode:t="light",defaultLightColorScheme:o,defaultDarkColorScheme:r,supportedColorSchemes:n=[],modeStorageKey:a=kl,colorSchemeStorageKey:i=Ul,storageWindow:s=typeof window>"u"?void 0:window,storageManager:l=rx,noSsr:u=!1}=e,p=n.join(","),f=n.length>1,d=wt.useMemo(()=>l?.({key:a,storageWindow:s}),[l,a,s]),c=wt.useMemo(()=>l?.({key:`${i}-light`,storageWindow:s}),[l,i,s]),T=wt.useMemo(()=>l?.({key:`${i}-dark`,storageWindow:s}),[l,i,s]),[v,x]=wt.useState(()=>{let O=d?.get(t)||t,M=c?.get(o)||o,N=T?.get(r)||r;return{mode:O,systemMode:nx(O),lightColorScheme:M,darkColorScheme:N}}),[m,y]=wt.useState(u||!f);wt.useEffect(()=>{y(!0)},[]);let g=VN(v),b=wt.useCallback(O=>{x(M=>{if(O===M.mode)return M;let N=O??t;return d?.set(N),{...M,mode:N,systemMode:nx(N)}})},[d,t]),P=wt.useCallback(O=>{O?typeof O=="string"?O&&!p.includes(O)?console.error(`\`${O}\` does not exist in \`theme.colorSchemes\`.`):x(M=>{let N={...M};return ax(M,A=>{A==="light"&&(c?.set(O),N.lightColorScheme=O),A==="dark"&&(T?.set(O),N.darkColorScheme=O)}),N}):x(M=>{let N={...M},A=O.light===null?o:O.light,h=O.dark===null?r:O.dark;return A&&(p.includes(A)?(N.lightColorScheme=A,c?.set(A)):console.error(`\`${A}\` does not exist in \`theme.colorSchemes\`.`)),h&&(p.includes(h)?(N.darkColorScheme=h,T?.set(h)):console.error(`\`${h}\` does not exist in \`theme.colorSchemes\`.`)),N}):x(M=>(c?.set(o),T?.set(r),{...M,lightColorScheme:o,darkColorScheme:r}))},[p,c,T,o,r]),C=wt.useCallback(O=>{v.mode==="system"&&x(M=>{let N=O?.matches?"dark":"light";return M.systemMode===N?M:{...M,systemMode:N}})},[v.mode]),E=wt.useRef(C);return E.current=C,wt.useEffect(()=>{if(typeof window.matchMedia!="function"||!f)return;let O=(...N)=>E.current(...N),M=window.matchMedia("(prefers-color-scheme: dark)");return M.addListener(O),O(M),()=>{M.removeListener(O)}},[f]),wt.useEffect(()=>{if(f){let O=d?.subscribe(A=>{(!A||["light","dark","system"].includes(A))&&b(A||t)})||_y,M=c?.subscribe(A=>{(!A||p.match(A))&&P({light:A})})||_y,N=T?.subscribe(A=>{(!A||p.match(A))&&P({dark:A})})||_y;return()=>{O(),M(),N()}}},[P,b,p,t,s,f,d,c,T]),{...v,mode:m?v.mode:void 0,systemMode:m?v.systemMode:void 0,colorScheme:m?g:void 0,setMode:b,setColorScheme:P}}var $i=S(z(),1),FN="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Bp(e){let{themeId:t,theme:o={},modeStorageKey:r=kl,colorSchemeStorageKey:n=Ul,disableTransitionOnChange:a=!1,defaultColorScheme:i,resolveTheme:s}=e,l={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},u=Nt.createContext(void 0),p=()=>Nt.useContext(u)||l,f={},d={};function c(m){let{children:y,theme:g,modeStorageKey:b=r,colorSchemeStorageKey:P=n,disableTransitionOnChange:C=a,storageManager:E,storageWindow:O=typeof window>"u"?void 0:window,documentNode:M=typeof document>"u"?void 0:document,colorSchemeNode:N=typeof document>"u"?void 0:document.documentElement,disableNestedContext:A=!1,disableStyleSheetGeneration:h=!1,defaultMode:D="system",forceThemeRerender:R=!1,noSsr:w}=m,k=Nt.useRef(!1),I=Br(),$=Nt.useContext(u),de=!!$&&!A,ne=Nt.useMemo(()=>g||(typeof o=="function"?o():o),[g]),Q=ne[t],ue=Q||ne,{colorSchemes:Ge=f,components:Ne=d,cssVarPrefix:ee}=ue,ae=Object.keys(Ge).filter(Le=>!!Ge[Le]).join(","),W=Nt.useMemo(()=>ae.split(","),[ae]),te=typeof i=="string"?i:i.light,oe=typeof i=="string"?i:i.dark,be=Ge[te]&&Ge[oe]?D:Ge[ue.defaultColorScheme]?.palette?.mode||ue.palette?.mode,{mode:Pt,setMode:ce,systemMode:Oe,lightColorScheme:pt,darkColorScheme:qt,colorScheme:Ke,setColorScheme:ft}=By({supportedColorSchemes:W,defaultLightColorScheme:te,defaultDarkColorScheme:oe,modeStorageKey:b,colorSchemeStorageKey:P,defaultMode:be,storageManager:E,storageWindow:O,noSsr:w}),Rt=Pt,ye=Ke;de&&(Rt=$.mode,ye=$.colorScheme);let po=ye||ue.defaultColorScheme;ue.vars&&!R&&(po=ue.defaultColorScheme);let No=Nt.useMemo(()=>{let Le=ue.generateThemeVars?.()||ue.vars,Te={...ue,components:Ne,colorSchemes:Ge,cssVarPrefix:ee,vars:Le};if(typeof Te.generateSpacing=="function"&&(Te.spacing=Te.generateSpacing()),po){let We=Ge[po];We&&typeof We=="object"&&Object.keys(We).forEach(re=>{We[re]&&typeof We[re]=="object"?Te[re]={...Te[re],...We[re]}:Te[re]=We[re]})}return s?s(Te):Te},[ue,po,Ne,Ge,ee]),dt=ue.colorSchemeSelector;Tt(()=>{if(ye&&N&&dt&&dt!=="media"){let Le=dt,Te=dt;if(Le==="class"&&(Te=".%s"),Le==="data"&&(Te="[data-%s]"),Le?.startsWith("data-")&&!Le.includes("%s")&&(Te=`[${Le}="%s"]`),Te.startsWith("."))N.classList.remove(...W.map(We=>Te.substring(1).replace("%s",We))),N.classList.add(Te.substring(1).replace("%s",ye));else{let We=Te.replace("%s",ye).match(/\[([^\]]+)\]/);if(We){let[re,fo]=We[1].split("=");fo||W.forEach(cn=>{N.removeAttribute(re.replace(ye,cn))}),N.setAttribute(re,fo?fo.replace(/"|'/g,""):"")}else N.setAttribute(Te,ye)}}},[ye,dt,N,W]),Nt.useEffect(()=>{let Le;if(C&&k.current&&M){let Te=M.createElement("style");Te.appendChild(M.createTextNode(FN)),M.head.appendChild(Te),window.getComputedStyle(M.body),Le=setTimeout(()=>{M.head.removeChild(Te)},1)}return()=>{clearTimeout(Le)}},[ye,C,M]),Nt.useEffect(()=>(k.current=!0,()=>{k.current=!1}),[]);let ia=Nt.useMemo(()=>({allColorSchemes:W,colorScheme:ye,darkColorScheme:qt,lightColorScheme:pt,mode:Rt,setColorScheme:ft,setMode:ce,systemMode:Oe}),[W,ye,qt,pt,Rt,ft,ce,Oe,No.colorSchemeSelector]),cr=!0;(h||ue.cssVariables===!1||de&&I?.cssVarPrefix===ee)&&(cr=!1);let Ar=(0,$i.jsxs)(Nt.Fragment,{children:[(0,$i.jsx)(Fi,{themeId:Q?t:void 0,theme:No,children:y}),cr&&(0,$i.jsx)(ya,{styles:No.generateStyleSheets?.()||[]})]});return de?Ar:(0,$i.jsx)(u.Provider,{value:ia,children:Ar})}let T=typeof i=="string"?i:i.light,v=typeof i=="string"?i:i.dark;return{CssVarsProvider:c,useColorScheme:p,getInitColorSchemeScript:m=>Dy({colorSchemeStorageKey:n,defaultLightColorScheme:T,defaultDarkColorScheme:v,modeStorageKey:r,...m})}}function zp(e=""){function t(...r){if(!r.length)return"";let n=r[0];return typeof n=="string"&&!n.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}-`:""}${n}${t(...r.slice(1))})`:`, ${n}`}return(r,...n)=>`var(--${e?`${e}-`:""}${r}${t(...n)})`}var ix=(e,t,o,r=[])=>{let n=e;t.forEach((a,i)=>{i===t.length-1?Array.isArray(n)?n[Number(a)]=o:n&&typeof n=="object"&&(n[a]=o):n&&typeof n=="object"&&(n[a]||(n[a]=r.includes(a)?[]:{}),n=n[a])})},$N=(e,t,o)=>{function r(n,a=[],i=[]){Object.entries(n).forEach(([s,l])=>{(!o||o&&!o([...a,s]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...a,s],Array.isArray(l)?[...i,s]:i):t([...a,s],l,i))})}r(e)},qN=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Ll(e,t){let{prefix:o,shouldSkipGeneratingVar:r}=t||{},n={},a={},i={};return $N(e,(s,l,u)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(s,l))){let p=`--${o?`${o}-`:""}${s.join("-")}`,f=qN(s,l);Object.assign(n,{[p]:f}),ix(a,s,`var(${p})`,u),ix(i,s,`var(${p}, ${f})`,u)}},s=>s[0]==="vars"),{css:n,vars:a,varsWithDefaults:i}}function GN(e,t={}){let{getSelector:o=m,disableCssColorScheme:r,colorSchemeSelector:n,enableContrastVars:a}=t,{colorSchemes:i={},components:s,defaultColorScheme:l="light",...u}=e,{vars:p,css:f,varsWithDefaults:d}=Ll(u,t),c=d,T={},{[l]:v,...x}=i;if(Object.entries(x||{}).forEach(([b,P])=>{let{vars:C,css:E,varsWithDefaults:O}=Ll(P,t);c=xe(c,O),T[b]={css:E,vars:C}}),v){let{css:b,vars:P,varsWithDefaults:C}=Ll(v,t);c=xe(c,C),T[l]={css:b,vars:P}}function m(b,P){let C=n;if(n==="class"&&(C=".%s"),n==="data"&&(C="[data-%s]"),n?.startsWith("data-")&&!n.includes("%s")&&(C=`[${n}="%s"]`),b){if(C==="media")return e.defaultColorScheme===b?":root":{[`@media (prefers-color-scheme: ${i[b]?.palette?.mode||b})`]:{":root":P}};if(C)return e.defaultColorScheme===b?`:root, ${C.replace("%s",String(b))}`:C.replace("%s",String(b))}return":root"}return{vars:c,generateThemeVars:()=>{let b={...p};return Object.entries(T).forEach(([,{vars:P}])=>{b=xe(b,P)}),b},generateStyleSheets:()=>{let b=[],P=e.defaultColorScheme||"light";function C(M,N){Object.keys(N).length&&b.push(typeof M=="string"?{[M]:{...N}}:M)}C(o(void 0,{...f}),f);let{[P]:E,...O}=T;if(E){let{css:M}=E,N=i[P]?.palette?.mode,A=!r&&N?{colorScheme:N,...M}:{...M};C(o(P,{...A}),A)}return Object.entries(O).forEach(([M,{css:N}])=>{let A=i[M]?.palette?.mode,h=!r&&A?{colorScheme:A,...N}:{...N};C(o(M,{...h}),h)}),a&&b.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)"}}),b}}}var zy=GN;function ky(e){return function(o){return e==="media"?`@media (prefers-color-scheme: ${o})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${o}"] &`:e==="class"?`.${o} &`:e==="data"?`[data-${o}] &`:`${e.replace("%s",o)} &`:"&"}}function F(e,t,o=void 0){let r={};for(let n in e){let a=e[n],i="",s=!0;for(let l=0;l<a.length;l+=1){let u=a[l];u&&(i+=(s===!0?"":" ")+t(u),s=!1,o&&o[u]&&(i+=" "+o[u]))}r[n]=i}return r}var sx=S(U(),1);function kp(e,t){return sx.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}var qi=S(U(),1);var lx=S(z(),1),KN=Dr(),YN=Ey("div",{name:"MuiStack",slot:"Root"});function XN(e){return Ep({props:e,name:"MuiStack",defaultTheme:KN})}function QN(e,t){let o=qi.Children.toArray(e).filter(Boolean);return o.reduce((r,n,a)=>(r.push(n),a<o.length-1&&r.push(qi.cloneElement(t,{key:`separator-${a}`})),r),[])}var WN=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],ZN=({ownerState:e,theme:t})=>{let o={display:"flex",flexDirection:"column",...yo({theme:t},vp({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){let r=ga(t),n=Object.keys(t.breakpoints.values).reduce((l,u)=>((typeof e.spacing=="object"&&e.spacing[u]!=null||typeof e.direction=="object"&&e.direction[u]!=null)&&(l[u]=!0),l),{}),a=vp({values:e.direction,base:n}),i=vp({values:e.spacing,base:n});typeof a=="object"&&Object.keys(a).forEach((l,u,p)=>{if(!a[l]){let d=u>0?a[p[u-1]]:"column";a[l]=d}}),o=xe(o,yo({theme:t},i,(l,u)=>e.useFlexGap?{gap:dr(r,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${WN(u?a[u]:e.direction)}`]:dr(r,l)}}))}return o=x0(t.breakpoints,o),o};function Up(e={}){let{createStyledComponent:t=YN,useThemeProps:o=XN,componentName:r="MuiStack"}=e,n=()=>F({root:["root"]},l=>V(r,l),{}),a=t(ZN);return qi.forwardRef(function(l,u){let p=o(l),{component:f="div",direction:d="column",spacing:c=0,divider:T,children:v,className:x,useFlexGap:m=!1,...y}=p,g={direction:d,spacing:c,useFlexGap:m},b=n();return(0,lx.jsx)(a,{as:f,ownerState:g,ref:u,className:j(b.root,x),...y,children:T?QN(v,T):v})})}function px(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:yi.white,default:yi.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}var Uy=px();function fx(){return{text:{primary:yi.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:yi.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}var Lp=fx();function ux(e,t,o,r){let n=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(o)?e[t]=e[o]:t==="light"?e.light=Sa(e.main,n):t==="dark"&&(e.dark=xa(e.main,a)))}function cx(e,t,o,r,n){let a=n.light||n,i=n.dark||n*1.5;t[o]||(t.hasOwnProperty(r)?t[o]=t[r]:o==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(a*100).toFixed(0)}%)`:o==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(i*100).toFixed(0)}%)`))}function JN(e="light"){return e==="dark"?{main:ua[200],light:ua[50],dark:ua[400]}:{main:ua[700],light:ua[400],dark:ua[800]}}function e5(e="light"){return e==="dark"?{main:la[200],light:la[50],dark:la[400]}:{main:la[500],light:la[300],dark:la[700]}}function t5(e="light"){return e==="dark"?{main:sa[500],light:sa[300],dark:sa[700]}:{main:sa[700],light:sa[400],dark:sa[800]}}function o5(e="light"){return e==="dark"?{main:ca[400],light:ca[300],dark:ca[700]}:{main:ca[700],light:ca[500],dark:ca[900]}}function r5(e="light"){return e==="dark"?{main:pa[400],light:pa[300],dark:pa[700]}:{main:pa[800],light:pa[500],dark:pa[900]}}function n5(e="light"){return e==="dark"?{main:hi[400],light:hi[300],dark:hi[700]}:{main:"#ed6c02",light:hi[500],dark:hi[900]}}function a5(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Ca(e){let{mode:t="light",contrastThreshold:o=3,tonalOffset:r=.2,colorSpace:n,...a}=e,i=e.primary||JN(t),s=e.secondary||e5(t),l=e.error||t5(t),u=e.info||o5(t),p=e.success||r5(t),f=e.warning||n5(t);function d(x){return n?a5(x):Ay(x,Lp.text.primary)>=o?Lp.text.primary:Uy.text.primary}let c=({color:x,name:m,mainShade:y=500,lightShade:g=300,darkShade:b=700})=>{if(x={...x},!x.main&&x[y]&&(x.main=x[y]),!x.hasOwnProperty("main"))throw new Error(gt(11,m?` (${m})`:"",y));if(typeof x.main!="string")throw new Error(gt(12,m?` (${m})`:"",JSON.stringify(x.main)));return n?(cx(n,x,"light",g,r),cx(n,x,"dark",b,r)):(ux(x,"light",g,r),ux(x,"dark",b,r)),x.contrastText||(x.contrastText=d(x.main)),x},T;return t==="light"?T=px():t==="dark"&&(T=fx()),xe({common:{...yi},mode:t,primary:c({color:i,name:"primary"}),secondary:c({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:c({color:l,name:"error"}),warning:c({color:f,name:"warning"}),info:c({color:u,name:"info"}),success:c({color:p,name:"success"}),grey:tv,contrastThreshold:o,getContrastText:d,augmentColor:c,tonalOffset:r,...T},a)}function Ip(e){let t={};return Object.entries(e).forEach(r=>{let[n,a]=r;typeof a=="object"&&(t[n]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),t}function Ly(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function i5(e){return Math.round(e*1e5)/1e5}var dx={textTransform:"uppercase"},mx='"Roboto", "Helvetica", "Arial", sans-serif';function Il(e,t){let{fontFamily:o=mx,fontSize:r=14,fontWeightLight:n=300,fontWeightRegular:a=400,fontWeightMedium:i=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:u,pxToRem:p,...f}=typeof t=="function"?t(e):t,d=r/14,c=p||(x=>`${x/l*d}rem`),T=(x,m,y,g,b)=>({fontFamily:o,fontWeight:x,fontSize:c(m),lineHeight:y,...o===mx?{letterSpacing:`${i5(g/m)}em`}:{},...b,...u}),v={h1:T(n,96,1.167,-1.5),h2:T(n,60,1.2,-.5),h3:T(a,48,1.167,0),h4:T(a,34,1.235,.25),h5:T(a,24,1.334,0),h6:T(i,20,1.6,.15),subtitle1:T(a,16,1.75,.15),subtitle2:T(i,14,1.57,.1),body1:T(a,16,1.5,.15),body2:T(a,14,1.43,.15),button:T(i,14,1.75,.4,dx),caption:T(a,12,1.66,.4),overline:T(a,12,2.66,1,dx),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return xe({htmlFontSize:l,pxToRem:c,fontFamily:o,fontSize:r,fontWeightLight:n,fontWeightRegular:a,fontWeightMedium:i,fontWeightBold:s,...v},f,{clone:!1})}function Fe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${.2})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${.14})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${.12})`].join(",")}var s5=["none",Fe(0,2,1,-1,0,1,1,0,0,1,3,0),Fe(0,3,1,-2,0,2,2,0,0,1,5,0),Fe(0,3,3,-2,0,3,4,0,0,1,8,0),Fe(0,2,4,-1,0,4,5,0,0,1,10,0),Fe(0,3,5,-1,0,5,8,0,0,1,14,0),Fe(0,3,5,-1,0,6,10,0,0,1,18,0),Fe(0,4,5,-2,0,7,10,1,0,2,16,1),Fe(0,5,5,-3,0,8,10,1,0,3,14,2),Fe(0,5,6,-3,0,9,12,1,0,3,16,2),Fe(0,6,6,-3,0,10,14,1,0,4,18,3),Fe(0,6,7,-4,0,11,15,1,0,4,20,3),Fe(0,7,8,-4,0,12,17,2,0,5,22,4),Fe(0,7,8,-4,0,13,19,2,0,5,24,4),Fe(0,7,9,-4,0,14,21,2,0,5,26,4),Fe(0,8,9,-5,0,15,22,2,0,6,28,5),Fe(0,8,10,-5,0,16,24,2,0,6,30,5),Fe(0,8,11,-5,0,17,26,2,0,6,32,5),Fe(0,9,11,-5,0,18,28,2,0,7,34,6),Fe(0,9,12,-6,0,19,29,2,0,7,36,6),Fe(0,10,13,-6,0,20,31,3,0,8,38,7),Fe(0,10,13,-6,0,21,33,3,0,8,40,7),Fe(0,10,14,-6,0,22,35,3,0,8,42,7),Fe(0,11,14,-7,0,23,36,3,0,9,44,8),Fe(0,11,15,-7,0,24,38,3,0,9,46,8)],yx=s5;var l5={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)"},u5={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function hx(e){return`${Math.round(e)}ms`}function c5(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Iy(e){let t={...l5,...e.easing},o={...u5,...e.duration};return{getAutoHeightDuration:c5,create:(n=["all"],a={})=>{let{duration:i=o.standard,easing:s=t.easeInOut,delay:l=0,...u}=a;return(Array.isArray(n)?n:[n]).map(p=>`${p} ${typeof i=="string"?i:hx(i)} ${s} ${typeof l=="string"?l:hx(l)}`).join(",")},...e,easing:t,duration:o}}var p5={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},gx=p5;function f5(e){return tr(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function jp(e={}){let t={...e};function o(r){let n=Object.entries(r);for(let a=0;a<n.length;a++){let[i,s]=n[a];!f5(s)||i.startsWith("unstable_")||i.startsWith("internal_")?delete r[i]:tr(s)&&(r[i]={...s},o(r[i]))}}return o(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
82
82
|
|
|
83
83
|
const theme = ${JSON.stringify(t,null,2)};
|
|
84
84
|
|
|
85
85
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
86
86
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
87
87
|
|
|
88
|
-
export default theme;`}function bx(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var
|
|
89
|
-
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 TD(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}var hr=e=>{try{return e()}catch{}},vD=(e="mui")=>zp(e);function $y(e,t,o,r,n){if(!o)return;o=o===!0?{}:o;let a=n==="dark"?"dark":"light";if(!r){t[n]=Vy({...o,palette:{mode:a,...o?.palette},colorSpace:e});return}let{palette:i,...s}=jl({...r,palette:{mode:a,...o?.palette},colorSpace:e});return t[n]={...o,palette:i,opacity:{...jy(a),...o?.opacity},overlays:o?.overlays||Hy(a)},s}function qy(e={},...t){let{colorSchemes:o={light:!0},defaultColorScheme:r,disableCssColorScheme:n=!1,cssVarPrefix:a="mui",nativeColor:i=!1,shouldSkipGeneratingVar:s=Fy,colorSchemeSelector:l=o.light&&o.dark?"media":void 0,rootSelector:u=":root",...p}=e,f=Object.keys(o)[0],d=r||(o.light&&f!=="light"?"light":f),c=vD(a),{[d]:T,light:v,dark:x,...m}=o,y={...m},g=T;if((d==="dark"&&!("dark"in o)||d==="light"&&!("light"in o))&&(g=!0),!g)throw new Error(gt(21,d));let b;i&&(b="oklch");let P=$y(b,y,g,p,d);v&&!y.light&&$y(b,y,v,void 0,"light"),x&&!y.dark&&$y(b,y,x,void 0,"dark");let C={defaultColorScheme:d,...P,cssVarPrefix:a,colorSchemeSelector:l,rootSelector:u,getCssVar:c,colorSchemes:y,font:{...Ip(P.typography),...P.font},spacing:TD(p.spacing)};Object.keys(C.colorSchemes).forEach(A=>{let h=C.colorSchemes[A].palette,D=w=>{let k=w.split("-"),I=k[1],$=k[2];return c(w,h[I][$])};h.mode==="light"&&(_(h.common,"background","#fff"),_(h.common,"onBackground","#000")),h.mode==="dark"&&(_(h.common,"background","#000"),_(h.common,"onBackground","#fff"));function R(w,k,I){if(b){let $;return w===hn&&($=`transparent ${((1-I)*100).toFixed(0)}%`),w===Se&&($=`#000 ${(I*100).toFixed(0)}%`),w===Ce&&($=`#fff ${(I*100).toFixed(0)}%`),`color-mix(in ${b}, ${k}, ${$})`}return w(k,I)}if(bD(h,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),h.mode==="light"){_(h.Alert,"errorColor",R(Se,i?c("palette-error-light"):h.error.light,.6)),_(h.Alert,"infoColor",R(Se,i?c("palette-info-light"):h.info.light,.6)),_(h.Alert,"successColor",R(Se,i?c("palette-success-light"):h.success.light,.6)),_(h.Alert,"warningColor",R(Se,i?c("palette-warning-light"):h.warning.light,.6)),_(h.Alert,"errorFilledBg",D("palette-error-main")),_(h.Alert,"infoFilledBg",D("palette-info-main")),_(h.Alert,"successFilledBg",D("palette-success-main")),_(h.Alert,"warningFilledBg",D("palette-warning-main")),_(h.Alert,"errorFilledColor",hr(()=>h.getContrastText(h.error.main))),_(h.Alert,"infoFilledColor",hr(()=>h.getContrastText(h.info.main))),_(h.Alert,"successFilledColor",hr(()=>h.getContrastText(h.success.main))),_(h.Alert,"warningFilledColor",hr(()=>h.getContrastText(h.warning.main))),_(h.Alert,"errorStandardBg",R(Ce,i?c("palette-error-light"):h.error.light,.9)),_(h.Alert,"infoStandardBg",R(Ce,i?c("palette-info-light"):h.info.light,.9)),_(h.Alert,"successStandardBg",R(Ce,i?c("palette-success-light"):h.success.light,.9)),_(h.Alert,"warningStandardBg",R(Ce,i?c("palette-warning-light"):h.warning.light,.9)),_(h.Alert,"errorIconColor",D("palette-error-main")),_(h.Alert,"infoIconColor",D("palette-info-main")),_(h.Alert,"successIconColor",D("palette-success-main")),_(h.Alert,"warningIconColor",D("palette-warning-main")),_(h.AppBar,"defaultBg",D("palette-grey-100")),_(h.Avatar,"defaultBg",D("palette-grey-400")),_(h.Button,"inheritContainedBg",D("palette-grey-300")),_(h.Button,"inheritContainedHoverBg",D("palette-grey-A100")),_(h.Chip,"defaultBorder",D("palette-grey-400")),_(h.Chip,"defaultAvatarColor",D("palette-grey-700")),_(h.Chip,"defaultIconColor",D("palette-grey-700")),_(h.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),_(h.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),_(h.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),_(h.LinearProgress,"primaryBg",R(Ce,i?c("palette-primary-main"):h.primary.main,.62)),_(h.LinearProgress,"secondaryBg",R(Ce,i?c("palette-secondary-main"):h.secondary.main,.62)),_(h.LinearProgress,"errorBg",R(Ce,i?c("palette-error-main"):h.error.main,.62)),_(h.LinearProgress,"infoBg",R(Ce,i?c("palette-info-main"):h.info.main,.62)),_(h.LinearProgress,"successBg",R(Ce,i?c("palette-success-main"):h.success.main,.62)),_(h.LinearProgress,"warningBg",R(Ce,i?c("palette-warning-light"):h.warning.main,.62)),_(h.Skeleton,"bg",b?R(hn,i?c("palette-text-primary"):h.text.primary,.11):`rgba(${D("palette-text-primaryChannel")} / 0.11)`),_(h.Slider,"primaryTrack",R(Ce,i?c("palette-primary-main"):h.primary.main,.62)),_(h.Slider,"secondaryTrack",R(Ce,i?c("palette-secondary-main"):h.secondary.main,.62)),_(h.Slider,"errorTrack",R(Ce,i?c("palette-error-main"):h.error.main,.62)),_(h.Slider,"infoTrack",R(Ce,i?c("palette-info-main"):h.info.main,.62)),_(h.Slider,"successTrack",R(Ce,i?c("palette-success-main"):h.success.main,.62)),_(h.Slider,"warningTrack",R(Ce,i?c("palette-warning-main"):h.warning.main,.62));let w=b?R(Se,i?c("palette-background-default"):h.background.default,.6825):Bl(h.background.default,.8);_(h.SnackbarContent,"bg",w),_(h.SnackbarContent,"color",hr(()=>b?Lp.text.primary:h.getContrastText(w))),_(h.SpeedDialAction,"fabHoverBg",Bl(h.background.paper,.15)),_(h.StepConnector,"border",D("palette-grey-400")),_(h.StepContent,"border",D("palette-grey-400")),_(h.Switch,"defaultColor",D("palette-common-white")),_(h.Switch,"defaultDisabledColor",D("palette-grey-100")),_(h.Switch,"primaryDisabledColor",R(Ce,i?c("palette-primary-main"):h.primary.main,.62)),_(h.Switch,"secondaryDisabledColor",R(Ce,i?c("palette-secondary-main"):h.secondary.main,.62)),_(h.Switch,"errorDisabledColor",R(Ce,i?c("palette-error-main"):h.error.main,.62)),_(h.Switch,"infoDisabledColor",R(Ce,i?c("palette-info-main"):h.info.main,.62)),_(h.Switch,"successDisabledColor",R(Ce,i?c("palette-success-main"):h.success.main,.62)),_(h.Switch,"warningDisabledColor",R(Ce,i?c("palette-warning-main"):h.warning.main,.62)),_(h.TableCell,"border",R(Ce,hn(i?c("palette-divider"):h.divider,1),.88)),_(h.Tooltip,"bg",R(hn,i?c("palette-grey-700"):h.grey[700],.92))}if(h.mode==="dark"){_(h.Alert,"errorColor",R(Ce,i?c("palette-error-light"):h.error.light,.6)),_(h.Alert,"infoColor",R(Ce,i?c("palette-info-light"):h.info.light,.6)),_(h.Alert,"successColor",R(Ce,i?c("palette-success-light"):h.success.light,.6)),_(h.Alert,"warningColor",R(Ce,i?c("palette-warning-light"):h.warning.light,.6)),_(h.Alert,"errorFilledBg",D("palette-error-dark")),_(h.Alert,"infoFilledBg",D("palette-info-dark")),_(h.Alert,"successFilledBg",D("palette-success-dark")),_(h.Alert,"warningFilledBg",D("palette-warning-dark")),_(h.Alert,"errorFilledColor",hr(()=>h.getContrastText(h.error.dark))),_(h.Alert,"infoFilledColor",hr(()=>h.getContrastText(h.info.dark))),_(h.Alert,"successFilledColor",hr(()=>h.getContrastText(h.success.dark))),_(h.Alert,"warningFilledColor",hr(()=>h.getContrastText(h.warning.dark))),_(h.Alert,"errorStandardBg",R(Se,i?c("palette-error-light"):h.error.light,.9)),_(h.Alert,"infoStandardBg",R(Se,i?c("palette-info-light"):h.info.light,.9)),_(h.Alert,"successStandardBg",R(Se,i?c("palette-success-light"):h.success.light,.9)),_(h.Alert,"warningStandardBg",R(Se,i?c("palette-warning-light"):h.warning.light,.9)),_(h.Alert,"errorIconColor",D("palette-error-main")),_(h.Alert,"infoIconColor",D("palette-info-main")),_(h.Alert,"successIconColor",D("palette-success-main")),_(h.Alert,"warningIconColor",D("palette-warning-main")),_(h.AppBar,"defaultBg",D("palette-grey-900")),_(h.AppBar,"darkBg",D("palette-background-paper")),_(h.AppBar,"darkColor",D("palette-text-primary")),_(h.Avatar,"defaultBg",D("palette-grey-600")),_(h.Button,"inheritContainedBg",D("palette-grey-800")),_(h.Button,"inheritContainedHoverBg",D("palette-grey-700")),_(h.Chip,"defaultBorder",D("palette-grey-700")),_(h.Chip,"defaultAvatarColor",D("palette-grey-300")),_(h.Chip,"defaultIconColor",D("palette-grey-300")),_(h.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),_(h.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),_(h.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),_(h.LinearProgress,"primaryBg",R(Se,i?c("palette-primary-main"):h.primary.main,.5)),_(h.LinearProgress,"secondaryBg",R(Se,i?c("palette-secondary-main"):h.secondary.main,.5)),_(h.LinearProgress,"errorBg",R(Se,i?c("palette-error-main"):h.error.main,.5)),_(h.LinearProgress,"infoBg",R(Se,i?c("palette-info-main"):h.info.main,.5)),_(h.LinearProgress,"successBg",R(Se,i?c("palette-success-main"):h.success.main,.5)),_(h.LinearProgress,"warningBg",R(Se,i?c("palette-warning-main"):h.warning.main,.5)),_(h.Skeleton,"bg",b?R(hn,i?c("palette-text-primary"):h.text.primary,.13):`rgba(${D("palette-text-primaryChannel")} / 0.13)`),_(h.Slider,"primaryTrack",R(Se,i?c("palette-primary-main"):h.primary.main,.5)),_(h.Slider,"secondaryTrack",R(Se,i?c("palette-secondary-main"):h.secondary.main,.5)),_(h.Slider,"errorTrack",R(Se,i?c("palette-error-main"):h.error.main,.5)),_(h.Slider,"infoTrack",R(Se,i?c("palette-info-main"):h.info.main,.5)),_(h.Slider,"successTrack",R(Se,i?c("palette-success-main"):h.success.main,.5)),_(h.Slider,"warningTrack",R(Se,i?c("palette-warning-light"):h.warning.main,.5));let w=b?R(Ce,i?c("palette-background-default"):h.background.default,.985):Bl(h.background.default,.98);_(h.SnackbarContent,"bg",w),_(h.SnackbarContent,"color",hr(()=>b?Uy.text.primary:h.getContrastText(w))),_(h.SpeedDialAction,"fabHoverBg",Bl(h.background.paper,.15)),_(h.StepConnector,"border",D("palette-grey-600")),_(h.StepContent,"border",D("palette-grey-600")),_(h.Switch,"defaultColor",D("palette-grey-300")),_(h.Switch,"defaultDisabledColor",D("palette-grey-600")),_(h.Switch,"primaryDisabledColor",R(Se,i?c("palette-primary-main"):h.primary.main,.55)),_(h.Switch,"secondaryDisabledColor",R(Se,i?c("palette-secondary-main"):h.secondary.main,.55)),_(h.Switch,"errorDisabledColor",R(Se,i?c("palette-error-main"):h.error.main,.55)),_(h.Switch,"infoDisabledColor",R(Se,i?c("palette-info-main"):h.info.main,.55)),_(h.Switch,"successDisabledColor",R(Se,i?c("palette-success-main"):h.success.main,.55)),_(h.Switch,"warningDisabledColor",R(Se,i?c("palette-warning-light"):h.warning.main,.55)),_(h.TableCell,"border",R(Se,hn(i?c("palette-divider"):h.divider,1),.68)),_(h.Tooltip,"bg",R(hn,i?c("palette-grey-700"):h.grey[700],.92))}i||(zr(h.background,"default"),zr(h.background,"paper"),zr(h.common,"background"),zr(h.common,"onBackground"),zr(h,"divider")),Object.keys(h).forEach(w=>{let k=h[w];w!=="tonalOffset"&&!i&&k&&typeof k=="object"&&(k.main&&_(h[w],"mainChannel",Hi(Hl(k.main))),k.light&&_(h[w],"lightChannel",Hi(Hl(k.light))),k.dark&&_(h[w],"darkChannel",Hi(Hl(k.dark))),k.contrastText&&_(h[w],"contrastTextChannel",Hi(Hl(k.contrastText))),w==="text"&&(zr(h[w],"primary"),zr(h[w],"secondary")),w==="action"&&(k.active&&zr(h[w],"active"),k.selected&&zr(h[w],"selected")))})}),C=t.reduce((A,h)=>xe(A,h),C);let E={prefix:a,disableCssColorScheme:n,shouldSkipGeneratingVar:s,getSelector:vx(C),enableContrastVars:i},{vars:O,generateThemeVars:M,generateStyleSheets:N}=zy(C,E);return C.vars=O,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([A,h])=>{C[A]=h}),C.generateThemeVars=M,C.generateStyleSheets=N,C.generateSpacing=function(){return Ui(p.spacing,ga(this))},C.getColorSchemeSelector=ky(l),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=s,C.unstable_sxConfig={...Nr,...p?.unstable_sxConfig},C.unstable_sx=function(h){return to({sx:h,theme:this})},C.internal_cache={},C.toRuntimeSource=jp,C}function xx(e,t,o){e.colorSchemes&&o&&(e.colorSchemes[t]={...o!==!0&&o,palette:Ca({...o===!0?{}:o.palette,mode:t})})}function gr(e={},...t){let{palette:o,cssVariables:r=!1,colorSchemes:n=o?void 0:{light:!0},defaultColorScheme:a=o?.mode,...i}=e,s=a||"light",l=n?.[s],u={...n,...o?{[s]:{...typeof l!="boolean"&&l,palette:o}}:void 0};if(r===!1){if(!("colorSchemes"in e))return jl(e,...t);let p=o;"palette"in e||u[s]&&(u[s]!==!0?p=u[s].palette:s==="dark"&&(p={mode:"dark"}));let f=jl({...e,palette:p},...t);return f.defaultColorScheme=s,f.colorSchemes=u,f.palette.mode==="light"&&(f.colorSchemes.light={...u.light!==!0&&u.light,palette:f.palette},xx(f,"dark",u.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:f.palette},xx(f,"light",u.light)),f}return!o&&!("light"in u)&&s==="light"&&(u.light=!0),qy({...i,colorSchemes:u,defaultColorScheme:s,...typeof r!="boolean"&&r},...t)}var SD=S(U(),1);var xD=gr(),Ki=xD;function gn(){let e=mr(Ki);return e[At]||e}function CD(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}var Hp=CD;var ED=e=>Hp(e)&&e!=="classes",Be=ED;var PD=ji({themeId:At,defaultTheme:Ki,rootShouldForwardProp:Be}),L=PD;var Ex=S(U(),1);var _7=S(U(),1);var Sx=S(z(),1);function Gy({theme:e,...t}){let o=At in e?e[At]:void 0;return(0,Sx.jsx)(Fi,{...t,themeId:o?At:void 0,theme:o||e})}var RD=S(z(),1),Vl={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"};var OD=S(z(),1),{CssVarsProvider:AD,useColorScheme:$7,getInitColorSchemeScript:q7}=Bp({themeId:At,theme:()=>gr({cssVariables:!0}),colorSchemeStorageKey:Vl.colorSchemeStorageKey,modeStorageKey:Vl.modeStorageKey,defaultColorScheme:{light:Vl.defaultLightColorScheme,dark:Vl.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:Il(e.palette,e.typography)};return t.unstable_sx=function(r){return to({sx:r,theme:this})},t}});var Cx=AD;var Ky=S(z(),1);function Vp({theme:e,...t}){let o=Ex.useMemo(()=>{if(typeof e=="function")return e;let r=At in e?e[At]:e;return"colorSchemes"in r?null:"vars"in r?e:{...e,vars:null}},[e]);return o?(0,Ky.jsx)(Gy,{theme:o,...t}):(0,Ky.jsx)(Cx,{theme:e,...t})}var K=zi;function Fl(...e){return e.reduce((t,o)=>o==null?t:function(...n){t.apply(this,n),o.apply(this,n)},()=>{})}var qp=S(U(),1);var Fp=S(U(),1);var Px=S(z(),1);function MD(e){return(0,Px.jsx)(Li,{...e,defaultTheme:Ki,themeId:At})}var Yy=MD;var Rx=S(z(),1);function Ox(e){return function(o){return(0,Rx.jsx)(Yy,{styles:typeof e=="function"?r=>e({theme:r,...o}):e})}}var wD=_p,X=wD;var xV=S(U(),1);var ND=S(z(),1);function q(e){return wy(e)}function Ax(e){return V("MuiSvgIcon",e)}var MV=H("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var $p=S(z(),1),DD=e=>{let{color:t,fontSize:o,classes:r}=e,n={root:["root",t!=="inherit"&&`color${K(t)}`,`fontSize${K(o)}`]};return F(n,Ax,r)},_D=L("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.color!=="inherit"&&t[`color${K(o.color)}`],t[`fontSize${K(o.fontSize)}`]]}})(X(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),Mx=Fp.forwardRef(function(t,o){let r=q({props:t,name:"MuiSvgIcon"}),{children:n,className:a,color:i="inherit",component:s="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:p=!1,titleAccess:f,viewBox:d="0 0 24 24",...c}=r,T=Fp.isValidElement(n)&&n.type==="svg",v={...r,color:i,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:d,hasSvgAsChild:T},x={};p||(x.viewBox=d);let m=DD(v);return(0,$p.jsxs)(_D,{as:s,className:j(m.root,a),focusable:"false",color:u,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:o,...x,...c,...T&&n.props,ownerState:v,children:[T?n.props.children:n,f?(0,$p.jsx)("title",{children:f}):null]})});Mx.muiName="SvgIcon";var Xy=Mx;var wx=S(z(),1);function it(e,t){function o(r,n){return(0,wx.jsx)(Xy,{"data-testid":void 0,ref:n,...r,children:e})}return o.muiName=Xy.muiName,qp.memo(qp.forwardRef(o))}function Yi(e,t=166){let o;function r(...n){let a=()=>{e.apply(this,n)};clearTimeout(o),o=setTimeout(a,t)}return r.clear=()=>{clearTimeout(o)},r}var Nx=Yi;var Gp=kp;function Ea(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}var bn=Ea;function vt(e){return e&&e.ownerDocument||document}var Tn=vt;function ko(e){return vt(e).defaultView||window}var $l=ko;function Pa(e,t){typeof e=="function"?e(t):e&&(e.current=t)}var Xi=Tt;var Ra=or;var Oa=S(U(),1);function Kp(e){let{controlled:t,default:o,name:r,state:n="value"}=e,{current:a}=Oa.useRef(t!==void 0),[i,s]=Oa.useState(o),l=a?t:i,u=Oa.useCallback(p=>{a||s(p)},[]);return[l,u]}var ql=Kp;var Qy=S(U(),1);function BD(e){let t=Qy.useRef(e);return Tt(()=>{t.current=e}),Qy.useRef((...o)=>(0,t.current)(...o)).current}var Uo=BD;var vn=Uo;var Qi=S(U(),1);function xt(...e){let t=Qi.useRef(void 0),o=Qi.useCallback(r=>{let n=e.map(a=>{if(a==null)return null;if(typeof a=="function"){let i=a,s=i(r);return typeof s=="function"?s:()=>{i(null)}}return a.current=r,()=>{a.current=null}});return()=>{n.forEach(a=>a?.())}},e);return Qi.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=o(r))},e)}var Dt=xt;function zD(e,t){let o=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&o>=65&&o<=90&&typeof t=="function"}function Wi(e,t){if(!e)return t;function o(i,s){let l={};return Object.keys(s).forEach(u=>{zD(u,s[u])&&typeof i[u]=="function"&&(l[u]=(...p)=>{i[u](...p),s[u](...p)})}),l}if(typeof e=="function"||typeof t=="function")return i=>{let s=typeof t=="function"?t(i):t,l=typeof e=="function"?e({...i,...s}):e,u=j(i?.className,s?.className,l?.className),p=o(l,s);return{...s,...l,...p,...!!u&&{className:u},...s?.style&&l?.style&&{style:{...s.style,...l.style}},...s?.sx&&l?.sx&&{sx:[...Array.isArray(s.sx)?s.sx:[s.sx],...Array.isArray(l.sx)?l.sx:[l.sx]]}}};let r=t,n=o(e,r),a=j(r?.className,e?.className);return{...t,...e,...n,...!!a&&{className:a},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function Yp(e,t){if(e==null)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;o[r]=e[r]}return o}function Xp(e,t){return Xp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,r){return o.__proto__=r,o},Xp(e,t)}function Qp(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Xp(e,t)}var Kl=S(U()),Yl=S(Zp());var Wy={disabled:!1};var kx=S(U()),Zi=kx.default.createContext(null);var Ux=function(t){return t.scrollTop};var Xl="unmounted",Aa="exited",Ma="entering",es="entered",Zy="exiting",kr=(function(e){Qp(t,e);function t(r,n){var a;a=e.call(this,r,n)||this;var i=n,s=i&&!i.isMounting?r.enter:r.appear,l;return a.appearStatus=null,r.in?s?(l=Aa,a.appearStatus=Ma):l=es:r.unmountOnExit||r.mountOnEnter?l=Xl:l=Aa,a.state={status:l},a.nextCallback=null,a}t.getDerivedStateFromProps=function(n,a){var i=n.in;return i&&a.status===Xl?{status:Aa}:null};var o=t.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(n){var a=null;if(n!==this.props){var i=this.state.status;this.props.in?i!==Ma&&i!==es&&(a=Ma):(i===Ma||i===es)&&(a=Zy)}this.updateStatus(!1,a)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var n=this.props.timeout,a,i,s;return a=i=s=n,n!=null&&typeof n!="number"&&(a=n.exit,i=n.enter,s=n.appear!==void 0?n.appear:i),{exit:a,enter:i,appear:s}},o.updateStatus=function(n,a){if(n===void 0&&(n=!1),a!==null)if(this.cancelNextCallback(),a===Ma){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Yl.default.findDOMNode(this);i&&Ux(i)}this.performEnter(n)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Aa&&this.setState({status:Xl})},o.performEnter=function(n){var a=this,i=this.props.enter,s=this.context?this.context.isMounting:n,l=this.props.nodeRef?[s]:[Yl.default.findDOMNode(this),s],u=l[0],p=l[1],f=this.getTimeouts(),d=s?f.appear:f.enter;if(!n&&!i||Wy.disabled){this.safeSetState({status:es},function(){a.props.onEntered(u)});return}this.props.onEnter(u,p),this.safeSetState({status:Ma},function(){a.props.onEntering(u,p),a.onTransitionEnd(d,function(){a.safeSetState({status:es},function(){a.props.onEntered(u,p)})})})},o.performExit=function(){var n=this,a=this.props.exit,i=this.getTimeouts(),s=this.props.nodeRef?void 0:Yl.default.findDOMNode(this);if(!a||Wy.disabled){this.safeSetState({status:Aa},function(){n.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:Zy},function(){n.props.onExiting(s),n.onTransitionEnd(i.exit,function(){n.safeSetState({status:Aa},function(){n.props.onExited(s)})})})},o.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(n,a){a=this.setNextCallback(a),this.setState(n,a)},o.setNextCallback=function(n){var a=this,i=!0;return this.nextCallback=function(s){i&&(i=!1,a.nextCallback=null,n(s))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},o.onTransitionEnd=function(n,a){this.setNextCallback(a);var i=this.props.nodeRef?this.props.nodeRef.current:Yl.default.findDOMNode(this),s=n==null&&!this.props.addEndListener;if(!i||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],u=l[0],p=l[1];this.props.addEndListener(u,p)}n!=null&&setTimeout(this.nextCallback,n)},o.render=function(){var n=this.state.status;if(n===Xl)return null;var a=this.props,i=a.children,s=a.in,l=a.mountOnEnter,u=a.unmountOnExit,p=a.appear,f=a.enter,d=a.exit,c=a.timeout,T=a.addEndListener,v=a.onEnter,x=a.onEntering,m=a.onEntered,y=a.onExit,g=a.onExiting,b=a.onExited,P=a.nodeRef,C=Yp(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Kl.default.createElement(Zi.Provider,{value:null},typeof i=="function"?i(n,C):Kl.default.cloneElement(Kl.default.Children.only(i),C))},t})(Kl.default.Component);kr.contextType=Zi;kr.propTypes={};function Ji(){}kr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ji,onEntering:Ji,onEntered:Ji,onExit:Ji,onExiting:Ji,onExited:Ji};kr.UNMOUNTED=Xl;kr.EXITED=Aa;kr.ENTERING=Ma;kr.ENTERED=es;kr.EXITING=Zy;var Ql=kr;function Lx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Wl=S(U());var Lo=S(U());function Jp(e,t){var o=function(a){return t&&(0,Lo.isValidElement)(a)?t(a):a},r=Object.create(null);return e&&Lo.Children.map(e,function(n){return n}).forEach(function(n){r[n.key]=o(n)}),r}function ID(e,t){e=e||{},t=t||{};function o(p){return p in t?t[p]:e[p]}var r=Object.create(null),n=[];for(var a in e)a in t?n.length&&(r[a]=n,n=[]):n.push(a);var i,s={};for(var l in t){if(r[l])for(i=0;i<r[l].length;i++){var u=r[l][i];s[r[l][i]]=o(u)}s[l]=o(l)}for(i=0;i<n.length;i++)s[n[i]]=o(n[i]);return s}function wa(e,t,o){return o[t]!=null?o[t]:e.props[t]}function Ix(e,t){return Jp(e.children,function(o){return(0,Lo.cloneElement)(o,{onExited:t.bind(null,o),in:!0,appear:wa(o,"appear",e),enter:wa(o,"enter",e),exit:wa(o,"exit",e)})})}function jx(e,t,o){var r=Jp(e.children),n=ID(t,r);return Object.keys(n).forEach(function(a){var i=n[a];if((0,Lo.isValidElement)(i)){var s=a in t,l=a in r,u=t[a],p=(0,Lo.isValidElement)(u)&&!u.props.in;l&&(!s||p)?n[a]=(0,Lo.cloneElement)(i,{onExited:o.bind(null,i),in:!0,exit:wa(i,"exit",e),enter:wa(i,"enter",e)}):!l&&s&&!p?n[a]=(0,Lo.cloneElement)(i,{in:!1}):l&&s&&(0,Lo.isValidElement)(u)&&(n[a]=(0,Lo.cloneElement)(i,{onExited:o.bind(null,i),in:u.props.in,exit:wa(i,"exit",e),enter:wa(i,"enter",e)}))}}),n}var jD=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},HD={component:"div",childFactory:function(t){return t}},Jy=(function(e){Qp(t,e);function t(r,n){var a;a=e.call(this,r,n)||this;var i=a.handleExited.bind(Lx(a));return a.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},a}var o=t.prototype;return o.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},o.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(n,a){var i=a.children,s=a.handleExited,l=a.firstRender;return{children:l?Ix(n,s):jx(n,i,s),firstRender:!1}},o.handleExited=function(n,a){var i=Jp(this.props.children);n.key in i||(n.props.onExited&&n.props.onExited(a),this.mounted&&this.setState(function(s){var l=fa({},s.children);return delete l[n.key],{children:l}}))},o.render=function(){var n=this.props,a=n.component,i=n.childFactory,s=Yp(n,["component","childFactory"]),l=this.state.contextValue,u=jD(this.state.children).map(i);return delete s.appear,delete s.enter,delete s.exit,a===null?Wl.default.createElement(Zi.Provider,{value:l},u):Wl.default.createElement(Zi.Provider,{value:l},Wl.default.createElement(a,s,u))},t})(Wl.default.Component);Jy.propTypes={};Jy.defaultProps=HD;var eh=Jy;var Vx=S(U(),1),Hx={};function ts(e,t){let o=Vx.useRef(Hx);return o.current===Hx&&(o.current=e(t)),o}var Fx=S(U(),1),VD=[];function th(e){Fx.useEffect(e,VD)}var oh=class e{constructor(){mi(this,"currentId",null);mi(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});mi(this,"disposeEffect",()=>this.clear)}static create(){return new e}start(t,o){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,o()},t)}};function os(){let e=ts(oh.create).current;return th(e.disposeEffect),e}var ef=e=>e.scrollTop;function oo(e,t){return o=>{if(t){let r=e.current;o===void 0?t(r):t(r,o)}}}function tf(e,t,o,r,n,a){let i=e==="exited"&&!t?r:o[e]||o.exited;return n||a?{...i,...n,...a}:i}function rs(e,t){let{timeout:o,easing:r,style:n={}}=e;return{duration:n.transitionDuration??(typeof o=="number"?o:o[t.mode]||0),easing:n.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:n.transitionDelay}}function FD(e){return typeof e=="string"}var Sn=FD;function $D(e,t,o){return e===void 0||Sn(e)?t:{...t,ownerState:{...t.ownerState,...o}}}var Zl=$D;function qD(e,t,o){return typeof e=="function"?e(t,o):e}var Jl=qD;function GD(e,t=[]){if(e===void 0)return{};let o={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{o[r]=e[r]}),o}var eu=GD;function KD(e){if(e===void 0)return{};let t={};return Object.keys(e).filter(o=>!(o.match(/^on[A-Z]/)&&typeof e[o]=="function")).forEach(o=>{t[o]=e[o]}),t}var of=KD;function YD(e){let{getSlotProps:t,additionalProps:o,externalSlotProps:r,externalForwardedProps:n,className:a}=e;if(!t){let c=j(o?.className,a,n?.className,r?.className),T={...o?.style,...n?.style,...r?.style},v={...o,...n,...r};return c.length>0&&(v.className=c),Object.keys(T).length>0&&(v.style=T),{props:v,internalRef:void 0}}let i=eu({...n,...r}),s=of(r),l=of(n),u=t(i),p=j(u?.className,o?.className,a,n?.className,r?.className),f={...u?.style,...o?.style,...n?.style,...r?.style},d={...u,...o,...l,...s};return p.length>0&&(d.className=p),Object.keys(f).length>0&&(d.style=f),{props:d,internalRef:u.ref}}var tu=YD;function Ae(e,t){let{className:o,elementType:r,ownerState:n,externalForwardedProps:a,internalForwardedProps:i,shouldForwardComponentProp:s=!1,...l}=t,{component:u,slots:p={[e]:void 0},slotProps:f={[e]:void 0},...d}=a,c=p[e]||r,T=Jl(f[e],n),{props:{component:v,...x},internalRef:m}=tu({className:o,...l,externalForwardedProps:e==="root"?d:void 0,externalSlotProps:T}),y=xt(m,T?.ref,t.ref),g=e==="root"?v||u:v,b=Zl(c,{...e==="root"&&!u&&!p[e]&&i,...e!=="root"&&!p[e]&&i,...x,...g&&!s&&{as:g},...g&&s&&{component:g},ref:y},n);return[c,b]}var qx=S(U(),1);function $x(e){return V("MuiPaper",e)}var eq=H("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var Gx=S(z(),1),XD=e=>{let{square:t,elevation:o,variant:r,classes:n}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${o}`]};return F(a,$x,n)},QD=L("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],!o.square&&t.rounded,o.variant==="elevation"&&t[`elevation${o.elevation}`]]}})(X(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),WD=qx.forwardRef(function(t,o){let r=q({props:t,name:"MuiPaper"}),n=gn(),{className:a,component:i="div",elevation:s=1,square:l=!1,variant:u="elevation",...p}=r,f={...r,component:i,elevation:s,square:l,variant:u},d=XD(f);return(0,Gx.jsx)(QD,{as:i,ownerState:f,className:j(d.root,a),ref:o,...p,style:{...u==="elevation"&&{"--Paper-shadow":(n.vars||n).shadows[s],...n.vars&&{"--Paper-overlay":n.vars.overlays?.[s]},...!n.vars&&n.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Ht("#fff",Gi(s))}, ${Ht("#fff",Gi(s))})`}},...p.style}})}),Cn=WD;var Pn=S(U(),1);function ou(e){try{return e.matches(":focus-visible")}catch{}return!1}var En=S(U(),1);var Kx=S(U(),1);function rh(e){let{focusableWhenDisabled:t,disabled:o,composite:r=!1,tabIndex:n=0,isNativeButton:a}=e,i=r&&t!==!1,s=r&&t===!1;return Kx.useMemo(()=>{let u={onKeyDown(p){o&&t&&p.key!=="Tab"&&p.preventDefault()}};return r||(u.tabIndex=n,!a&&o&&(u.tabIndex=t?n:-1)),(a&&(t||i)||!a&&o)&&(u["aria-disabled"]=o),a&&(!t||s)&&(u.disabled=o),u},[r,o,t,i,s,a,n])}var ZD={};function nh(e){let{nativeButton:t,nativeButtonProp:o,internalNativeButton:r=t,allowInferredHostMismatch:n=!1,disabled:a,type:i,hasFormAction:s=!1,tabIndex:l=0,focusableWhenDisabled:u,stopEventPropagation:p=!1,onBeforeKeyDown:f,onBeforeKeyUp:d}=e,c=En.useRef(null),T=u===!0,v=rh({focusableWhenDisabled:T,disabled:a,isNativeButton:t,tabIndex:l}),x=En.useCallback(()=>{let g=c.current;return g==null?t:g.tagName==="BUTTON"?!0:!!(g.tagName==="A"&&g.href)},[t]),m=En.useMemo(()=>{let g=T?{}:{tabIndex:a?-1:l};return t?(g.type=i===void 0&&!s?"button":i,T||(g.disabled=a)):(g.role="button",!T&&a&&(g["aria-disabled"]=a)),T?{...g,...v}:g},[a,T,v,s,t,l,i]);return{getButtonProps:En.useCallback((g=ZD)=>{let{onClick:b,onKeyDown:P,onKeyUp:C,...E}=g;return{...m,...E,onClick:A=>{if(p&&A.stopPropagation(),a){A.preventDefault();return}b?.(A)},onKeyDown:A=>{if(T&&v.onKeyDown(A),!a&&(f?.(A),P?.(A),!(A.target!==A.currentTarget||x()))){if(A.key===" "){A.preventDefault();return}A.key==="Enter"&&(A.preventDefault(),A.currentTarget.click())}},onKeyUp:A=>{a||(d?.(A),C?.(A),A.target===A.currentTarget&&!x()&&A.key===" "&&!A.defaultPrevented&&A.currentTarget.click())}}},[m,a,T,v,x,f,d,p]),rootRef:c}}var rf=S(U(),1);var ah=class e{constructor(){mi(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new e}static use(){let t=ts(e.create).current,[o,r]=rf.useState(!1);return t.shouldMount=o,t.setShouldMount=r,rf.useEffect(t.mountEffect,[o]),t}mount(){return this.mounted||(this.mounted=JD(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}};function nf(){return ah.use()}function JD(){let e,t,o=new Promise((r,n)=>{e=r,t=n});return o.resolve=e,o.reject=t,o}var mt=S(U(),1);var af=S(U(),1);var ih=S(z(),1);function e5(e){let{className:t,classes:o,pulsate:r=!1,rippleX:n,rippleY:a,rippleSize:i,in:s,onExited:l,timeout:u}=e,[p,f]=af.useState(!1),d=j(t,o.ripple,o.rippleVisible,r&&o.ripplePulsate),c={width:i,height:i,top:-(i/2)+a,left:-(i/2)+n},T=j(o.child,p&&o.childLeaving,r&&o.childPulsate);return!s&&!p&&f(!0),af.useEffect(()=>{if(!s&&l!=null){let v=setTimeout(l,u);return()=>{clearTimeout(v)}}},[l,s,u]),(0,ih.jsx)("span",{className:d,style:c,children:(0,ih.jsx)("span",{className:T})})}var Yx=e5;var t5=H("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),go=t5;var sf=S(z(),1),sh=550,o5=80,r5=Jo`
|
|
88
|
+
export default theme;`}function bx(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var d5=e=>{if(!Number.isNaN(+e))return+e;let t=e.match(/\d*\.?\d+/g);if(!t)return 0;let o=0;for(let r=0;r<t.length;r+=1)o+=+t[r];return o};function m5(e){Object.assign(e,{alpha(t,o){let r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${typeof o=="string"?`calc(${o})`:o})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof o=="string"?`calc(${o})`:o})`:Ht(t,d5(o))},lighten(t,o){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${bx(o)})`:Sa(t,o)},darken(t,o){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${bx(o)})`:xa(t,o)}})}function y5(e={},...t){let{breakpoints:o,mixins:r={},spacing:n,palette:a={},transitions:i={},typography:s={},shape:l,colorSpace:u,...p}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(gt(22));let f=Ca({...a,colorSpace:u}),d=Dr(e),c=xe(d,{mixins:Ly(d.breakpoints,r),palette:f,shadows:yx.slice(),typography:Il(f,s),transitions:Iy(i),zIndex:{...gx}});return c=xe(c,p),c=t.reduce((T,v)=>xe(T,v),c),c.unstable_sxConfig={...Nr,...p?.unstable_sxConfig},c.unstable_sx=function(v){return to({sx:v,theme:this})},c.toRuntimeSource=jp,m5(c),c}var jl=y5;function Gi(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var h5=[...Array(25)].map((e,t)=>{if(t===0)return"none";let o=Gi(t);return`linear-gradient(rgba(255 255 255 / ${o}), rgba(255 255 255 / ${o}))`});function jy(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Hy(e){return e==="dark"?h5:[]}function Vy(e){let{palette:t={mode:"light"},opacity:o,overlays:r,colorSpace:n,...a}=e,i=Ca({...t,colorSpace:n});return{palette:i,opacity:{...jy(i.mode),...o},overlays:r||Hy(i.mode),...a}}function Fy(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 g5=e=>[...[...Array(25)].map((t,o)=>`--${e?`${e}-`:""}overlays-${o}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Tx=g5;var vx=e=>(t,o)=>{let r=e.rootSelector||":root",n=e.colorSchemeSelector,a=n;if(n==="class"&&(a=".%s"),n==="data"&&(a="[data-%s]"),n?.startsWith("data-")&&!n.includes("%s")&&(a=`[${n}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){let i={};return Tx(e.cssVarPrefix).forEach(s=>{i[s]=o[s],delete o[s]}),a==="media"?{[r]:o,"@media (prefers-color-scheme: dark)":{[r]:i}}:a?{[a.replace("%s",t)]:i,[`${r}, ${a.replace("%s",t)}`]:o}:{[r]:{...o,...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]:o}};if(a)return a.replace("%s",String(t))}return r};function b5(e,t){t.forEach(o=>{e[o]||(e[o]={})})}function _(e,t,o){!e[t]&&o&&(e[t]=o)}function Hl(e){return typeof e!="string"||!e.startsWith("hsl")?e:Op(e)}function zr(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Hi(Hl(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().
|
|
89
|
+
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 T5(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}var hr=e=>{try{return e()}catch{}},v5=(e="mui")=>zp(e);function $y(e,t,o,r,n){if(!o)return;o=o===!0?{}:o;let a=n==="dark"?"dark":"light";if(!r){t[n]=Vy({...o,palette:{mode:a,...o?.palette},colorSpace:e});return}let{palette:i,...s}=jl({...r,palette:{mode:a,...o?.palette},colorSpace:e});return t[n]={...o,palette:i,opacity:{...jy(a),...o?.opacity},overlays:o?.overlays||Hy(a)},s}function qy(e={},...t){let{colorSchemes:o={light:!0},defaultColorScheme:r,disableCssColorScheme:n=!1,cssVarPrefix:a="mui",nativeColor:i=!1,shouldSkipGeneratingVar:s=Fy,colorSchemeSelector:l=o.light&&o.dark?"media":void 0,rootSelector:u=":root",...p}=e,f=Object.keys(o)[0],d=r||(o.light&&f!=="light"?"light":f),c=v5(a),{[d]:T,light:v,dark:x,...m}=o,y={...m},g=T;if((d==="dark"&&!("dark"in o)||d==="light"&&!("light"in o))&&(g=!0),!g)throw new Error(gt(21,d));let b;i&&(b="oklch");let P=$y(b,y,g,p,d);v&&!y.light&&$y(b,y,v,void 0,"light"),x&&!y.dark&&$y(b,y,x,void 0,"dark");let C={defaultColorScheme:d,...P,cssVarPrefix:a,colorSchemeSelector:l,rootSelector:u,getCssVar:c,colorSchemes:y,font:{...Ip(P.typography),...P.font},spacing:T5(p.spacing)};Object.keys(C.colorSchemes).forEach(A=>{let h=C.colorSchemes[A].palette,D=w=>{let k=w.split("-"),I=k[1],$=k[2];return c(w,h[I][$])};h.mode==="light"&&(_(h.common,"background","#fff"),_(h.common,"onBackground","#000")),h.mode==="dark"&&(_(h.common,"background","#000"),_(h.common,"onBackground","#fff"));function R(w,k,I){if(b){let $;return w===hn&&($=`transparent ${((1-I)*100).toFixed(0)}%`),w===Se&&($=`#000 ${(I*100).toFixed(0)}%`),w===Ce&&($=`#fff ${(I*100).toFixed(0)}%`),`color-mix(in ${b}, ${k}, ${$})`}return w(k,I)}if(b5(h,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),h.mode==="light"){_(h.Alert,"errorColor",R(Se,i?c("palette-error-light"):h.error.light,.6)),_(h.Alert,"infoColor",R(Se,i?c("palette-info-light"):h.info.light,.6)),_(h.Alert,"successColor",R(Se,i?c("palette-success-light"):h.success.light,.6)),_(h.Alert,"warningColor",R(Se,i?c("palette-warning-light"):h.warning.light,.6)),_(h.Alert,"errorFilledBg",D("palette-error-main")),_(h.Alert,"infoFilledBg",D("palette-info-main")),_(h.Alert,"successFilledBg",D("palette-success-main")),_(h.Alert,"warningFilledBg",D("palette-warning-main")),_(h.Alert,"errorFilledColor",hr(()=>h.getContrastText(h.error.main))),_(h.Alert,"infoFilledColor",hr(()=>h.getContrastText(h.info.main))),_(h.Alert,"successFilledColor",hr(()=>h.getContrastText(h.success.main))),_(h.Alert,"warningFilledColor",hr(()=>h.getContrastText(h.warning.main))),_(h.Alert,"errorStandardBg",R(Ce,i?c("palette-error-light"):h.error.light,.9)),_(h.Alert,"infoStandardBg",R(Ce,i?c("palette-info-light"):h.info.light,.9)),_(h.Alert,"successStandardBg",R(Ce,i?c("palette-success-light"):h.success.light,.9)),_(h.Alert,"warningStandardBg",R(Ce,i?c("palette-warning-light"):h.warning.light,.9)),_(h.Alert,"errorIconColor",D("palette-error-main")),_(h.Alert,"infoIconColor",D("palette-info-main")),_(h.Alert,"successIconColor",D("palette-success-main")),_(h.Alert,"warningIconColor",D("palette-warning-main")),_(h.AppBar,"defaultBg",D("palette-grey-100")),_(h.Avatar,"defaultBg",D("palette-grey-400")),_(h.Button,"inheritContainedBg",D("palette-grey-300")),_(h.Button,"inheritContainedHoverBg",D("palette-grey-A100")),_(h.Chip,"defaultBorder",D("palette-grey-400")),_(h.Chip,"defaultAvatarColor",D("palette-grey-700")),_(h.Chip,"defaultIconColor",D("palette-grey-700")),_(h.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),_(h.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),_(h.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),_(h.LinearProgress,"primaryBg",R(Ce,i?c("palette-primary-main"):h.primary.main,.62)),_(h.LinearProgress,"secondaryBg",R(Ce,i?c("palette-secondary-main"):h.secondary.main,.62)),_(h.LinearProgress,"errorBg",R(Ce,i?c("palette-error-main"):h.error.main,.62)),_(h.LinearProgress,"infoBg",R(Ce,i?c("palette-info-main"):h.info.main,.62)),_(h.LinearProgress,"successBg",R(Ce,i?c("palette-success-main"):h.success.main,.62)),_(h.LinearProgress,"warningBg",R(Ce,i?c("palette-warning-light"):h.warning.main,.62)),_(h.Skeleton,"bg",b?R(hn,i?c("palette-text-primary"):h.text.primary,.11):`rgba(${D("palette-text-primaryChannel")} / 0.11)`),_(h.Slider,"primaryTrack",R(Ce,i?c("palette-primary-main"):h.primary.main,.62)),_(h.Slider,"secondaryTrack",R(Ce,i?c("palette-secondary-main"):h.secondary.main,.62)),_(h.Slider,"errorTrack",R(Ce,i?c("palette-error-main"):h.error.main,.62)),_(h.Slider,"infoTrack",R(Ce,i?c("palette-info-main"):h.info.main,.62)),_(h.Slider,"successTrack",R(Ce,i?c("palette-success-main"):h.success.main,.62)),_(h.Slider,"warningTrack",R(Ce,i?c("palette-warning-main"):h.warning.main,.62));let w=b?R(Se,i?c("palette-background-default"):h.background.default,.6825):Bl(h.background.default,.8);_(h.SnackbarContent,"bg",w),_(h.SnackbarContent,"color",hr(()=>b?Lp.text.primary:h.getContrastText(w))),_(h.SpeedDialAction,"fabHoverBg",Bl(h.background.paper,.15)),_(h.StepConnector,"border",D("palette-grey-400")),_(h.StepContent,"border",D("palette-grey-400")),_(h.Switch,"defaultColor",D("palette-common-white")),_(h.Switch,"defaultDisabledColor",D("palette-grey-100")),_(h.Switch,"primaryDisabledColor",R(Ce,i?c("palette-primary-main"):h.primary.main,.62)),_(h.Switch,"secondaryDisabledColor",R(Ce,i?c("palette-secondary-main"):h.secondary.main,.62)),_(h.Switch,"errorDisabledColor",R(Ce,i?c("palette-error-main"):h.error.main,.62)),_(h.Switch,"infoDisabledColor",R(Ce,i?c("palette-info-main"):h.info.main,.62)),_(h.Switch,"successDisabledColor",R(Ce,i?c("palette-success-main"):h.success.main,.62)),_(h.Switch,"warningDisabledColor",R(Ce,i?c("palette-warning-main"):h.warning.main,.62)),_(h.TableCell,"border",R(Ce,hn(i?c("palette-divider"):h.divider,1),.88)),_(h.Tooltip,"bg",R(hn,i?c("palette-grey-700"):h.grey[700],.92))}if(h.mode==="dark"){_(h.Alert,"errorColor",R(Ce,i?c("palette-error-light"):h.error.light,.6)),_(h.Alert,"infoColor",R(Ce,i?c("palette-info-light"):h.info.light,.6)),_(h.Alert,"successColor",R(Ce,i?c("palette-success-light"):h.success.light,.6)),_(h.Alert,"warningColor",R(Ce,i?c("palette-warning-light"):h.warning.light,.6)),_(h.Alert,"errorFilledBg",D("palette-error-dark")),_(h.Alert,"infoFilledBg",D("palette-info-dark")),_(h.Alert,"successFilledBg",D("palette-success-dark")),_(h.Alert,"warningFilledBg",D("palette-warning-dark")),_(h.Alert,"errorFilledColor",hr(()=>h.getContrastText(h.error.dark))),_(h.Alert,"infoFilledColor",hr(()=>h.getContrastText(h.info.dark))),_(h.Alert,"successFilledColor",hr(()=>h.getContrastText(h.success.dark))),_(h.Alert,"warningFilledColor",hr(()=>h.getContrastText(h.warning.dark))),_(h.Alert,"errorStandardBg",R(Se,i?c("palette-error-light"):h.error.light,.9)),_(h.Alert,"infoStandardBg",R(Se,i?c("palette-info-light"):h.info.light,.9)),_(h.Alert,"successStandardBg",R(Se,i?c("palette-success-light"):h.success.light,.9)),_(h.Alert,"warningStandardBg",R(Se,i?c("palette-warning-light"):h.warning.light,.9)),_(h.Alert,"errorIconColor",D("palette-error-main")),_(h.Alert,"infoIconColor",D("palette-info-main")),_(h.Alert,"successIconColor",D("palette-success-main")),_(h.Alert,"warningIconColor",D("palette-warning-main")),_(h.AppBar,"defaultBg",D("palette-grey-900")),_(h.AppBar,"darkBg",D("palette-background-paper")),_(h.AppBar,"darkColor",D("palette-text-primary")),_(h.Avatar,"defaultBg",D("palette-grey-600")),_(h.Button,"inheritContainedBg",D("palette-grey-800")),_(h.Button,"inheritContainedHoverBg",D("palette-grey-700")),_(h.Chip,"defaultBorder",D("palette-grey-700")),_(h.Chip,"defaultAvatarColor",D("palette-grey-300")),_(h.Chip,"defaultIconColor",D("palette-grey-300")),_(h.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),_(h.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),_(h.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),_(h.LinearProgress,"primaryBg",R(Se,i?c("palette-primary-main"):h.primary.main,.5)),_(h.LinearProgress,"secondaryBg",R(Se,i?c("palette-secondary-main"):h.secondary.main,.5)),_(h.LinearProgress,"errorBg",R(Se,i?c("palette-error-main"):h.error.main,.5)),_(h.LinearProgress,"infoBg",R(Se,i?c("palette-info-main"):h.info.main,.5)),_(h.LinearProgress,"successBg",R(Se,i?c("palette-success-main"):h.success.main,.5)),_(h.LinearProgress,"warningBg",R(Se,i?c("palette-warning-main"):h.warning.main,.5)),_(h.Skeleton,"bg",b?R(hn,i?c("palette-text-primary"):h.text.primary,.13):`rgba(${D("palette-text-primaryChannel")} / 0.13)`),_(h.Slider,"primaryTrack",R(Se,i?c("palette-primary-main"):h.primary.main,.5)),_(h.Slider,"secondaryTrack",R(Se,i?c("palette-secondary-main"):h.secondary.main,.5)),_(h.Slider,"errorTrack",R(Se,i?c("palette-error-main"):h.error.main,.5)),_(h.Slider,"infoTrack",R(Se,i?c("palette-info-main"):h.info.main,.5)),_(h.Slider,"successTrack",R(Se,i?c("palette-success-main"):h.success.main,.5)),_(h.Slider,"warningTrack",R(Se,i?c("palette-warning-light"):h.warning.main,.5));let w=b?R(Ce,i?c("palette-background-default"):h.background.default,.985):Bl(h.background.default,.98);_(h.SnackbarContent,"bg",w),_(h.SnackbarContent,"color",hr(()=>b?Uy.text.primary:h.getContrastText(w))),_(h.SpeedDialAction,"fabHoverBg",Bl(h.background.paper,.15)),_(h.StepConnector,"border",D("palette-grey-600")),_(h.StepContent,"border",D("palette-grey-600")),_(h.Switch,"defaultColor",D("palette-grey-300")),_(h.Switch,"defaultDisabledColor",D("palette-grey-600")),_(h.Switch,"primaryDisabledColor",R(Se,i?c("palette-primary-main"):h.primary.main,.55)),_(h.Switch,"secondaryDisabledColor",R(Se,i?c("palette-secondary-main"):h.secondary.main,.55)),_(h.Switch,"errorDisabledColor",R(Se,i?c("palette-error-main"):h.error.main,.55)),_(h.Switch,"infoDisabledColor",R(Se,i?c("palette-info-main"):h.info.main,.55)),_(h.Switch,"successDisabledColor",R(Se,i?c("palette-success-main"):h.success.main,.55)),_(h.Switch,"warningDisabledColor",R(Se,i?c("palette-warning-light"):h.warning.main,.55)),_(h.TableCell,"border",R(Se,hn(i?c("palette-divider"):h.divider,1),.68)),_(h.Tooltip,"bg",R(hn,i?c("palette-grey-700"):h.grey[700],.92))}i||(zr(h.background,"default"),zr(h.background,"paper"),zr(h.common,"background"),zr(h.common,"onBackground"),zr(h,"divider")),Object.keys(h).forEach(w=>{let k=h[w];w!=="tonalOffset"&&!i&&k&&typeof k=="object"&&(k.main&&_(h[w],"mainChannel",Hi(Hl(k.main))),k.light&&_(h[w],"lightChannel",Hi(Hl(k.light))),k.dark&&_(h[w],"darkChannel",Hi(Hl(k.dark))),k.contrastText&&_(h[w],"contrastTextChannel",Hi(Hl(k.contrastText))),w==="text"&&(zr(h[w],"primary"),zr(h[w],"secondary")),w==="action"&&(k.active&&zr(h[w],"active"),k.selected&&zr(h[w],"selected")))})}),C=t.reduce((A,h)=>xe(A,h),C);let E={prefix:a,disableCssColorScheme:n,shouldSkipGeneratingVar:s,getSelector:vx(C),enableContrastVars:i},{vars:O,generateThemeVars:M,generateStyleSheets:N}=zy(C,E);return C.vars=O,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([A,h])=>{C[A]=h}),C.generateThemeVars=M,C.generateStyleSheets=N,C.generateSpacing=function(){return Ui(p.spacing,ga(this))},C.getColorSchemeSelector=ky(l),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=s,C.unstable_sxConfig={...Nr,...p?.unstable_sxConfig},C.unstable_sx=function(h){return to({sx:h,theme:this})},C.internal_cache={},C.toRuntimeSource=jp,C}function xx(e,t,o){e.colorSchemes&&o&&(e.colorSchemes[t]={...o!==!0&&o,palette:Ca({...o===!0?{}:o.palette,mode:t})})}function gr(e={},...t){let{palette:o,cssVariables:r=!1,colorSchemes:n=o?void 0:{light:!0},defaultColorScheme:a=o?.mode,...i}=e,s=a||"light",l=n?.[s],u={...n,...o?{[s]:{...typeof l!="boolean"&&l,palette:o}}:void 0};if(r===!1){if(!("colorSchemes"in e))return jl(e,...t);let p=o;"palette"in e||u[s]&&(u[s]!==!0?p=u[s].palette:s==="dark"&&(p={mode:"dark"}));let f=jl({...e,palette:p},...t);return f.defaultColorScheme=s,f.colorSchemes=u,f.palette.mode==="light"&&(f.colorSchemes.light={...u.light!==!0&&u.light,palette:f.palette},xx(f,"dark",u.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:f.palette},xx(f,"light",u.light)),f}return!o&&!("light"in u)&&s==="light"&&(u.light=!0),qy({...i,colorSchemes:u,defaultColorScheme:s,...typeof r!="boolean"&&r},...t)}var S5=S(U(),1);var x5=gr(),Ki=x5;function gn(){let e=mr(Ki);return e[At]||e}function C5(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}var Hp=C5;var E5=e=>Hp(e)&&e!=="classes",Be=E5;var P5=ji({themeId:At,defaultTheme:Ki,rootShouldForwardProp:Be}),L=P5;var Ex=S(U(),1);var _7=S(U(),1);var Sx=S(z(),1);function Gy({theme:e,...t}){let o=At in e?e[At]:void 0;return(0,Sx.jsx)(Fi,{...t,themeId:o?At:void 0,theme:o||e})}var R5=S(z(),1),Vl={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"};var O5=S(z(),1),{CssVarsProvider:A5,useColorScheme:$7,getInitColorSchemeScript:q7}=Bp({themeId:At,theme:()=>gr({cssVariables:!0}),colorSchemeStorageKey:Vl.colorSchemeStorageKey,modeStorageKey:Vl.modeStorageKey,defaultColorScheme:{light:Vl.defaultLightColorScheme,dark:Vl.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:Il(e.palette,e.typography)};return t.unstable_sx=function(r){return to({sx:r,theme:this})},t}});var Cx=A5;var Ky=S(z(),1);function Vp({theme:e,...t}){let o=Ex.useMemo(()=>{if(typeof e=="function")return e;let r=At in e?e[At]:e;return"colorSchemes"in r?null:"vars"in r?e:{...e,vars:null}},[e]);return o?(0,Ky.jsx)(Gy,{theme:o,...t}):(0,Ky.jsx)(Cx,{theme:e,...t})}var K=zi;function Fl(...e){return e.reduce((t,o)=>o==null?t:function(...n){t.apply(this,n),o.apply(this,n)},()=>{})}var qp=S(U(),1);var Fp=S(U(),1);var Px=S(z(),1);function M5(e){return(0,Px.jsx)(Li,{...e,defaultTheme:Ki,themeId:At})}var Yy=M5;var Rx=S(z(),1);function Ox(e){return function(o){return(0,Rx.jsx)(Yy,{styles:typeof e=="function"?r=>e({theme:r,...o}):e})}}var w5=_p,X=w5;var xV=S(U(),1);var N5=S(z(),1);function q(e){return wy(e)}function Ax(e){return V("MuiSvgIcon",e)}var MV=H("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var $p=S(z(),1),D5=e=>{let{color:t,fontSize:o,classes:r}=e,n={root:["root",t!=="inherit"&&`color${K(t)}`,`fontSize${K(o)}`]};return F(n,Ax,r)},_5=L("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.color!=="inherit"&&t[`color${K(o.color)}`],t[`fontSize${K(o.fontSize)}`]]}})(X(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),Mx=Fp.forwardRef(function(t,o){let r=q({props:t,name:"MuiSvgIcon"}),{children:n,className:a,color:i="inherit",component:s="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:p=!1,titleAccess:f,viewBox:d="0 0 24 24",...c}=r,T=Fp.isValidElement(n)&&n.type==="svg",v={...r,color:i,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:d,hasSvgAsChild:T},x={};p||(x.viewBox=d);let m=D5(v);return(0,$p.jsxs)(_5,{as:s,className:j(m.root,a),focusable:"false",color:u,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:o,...x,...c,...T&&n.props,ownerState:v,children:[T?n.props.children:n,f?(0,$p.jsx)("title",{children:f}):null]})});Mx.muiName="SvgIcon";var Xy=Mx;var wx=S(z(),1);function it(e,t){function o(r,n){return(0,wx.jsx)(Xy,{"data-testid":void 0,ref:n,...r,children:e})}return o.muiName=Xy.muiName,qp.memo(qp.forwardRef(o))}function Yi(e,t=166){let o;function r(...n){let a=()=>{e.apply(this,n)};clearTimeout(o),o=setTimeout(a,t)}return r.clear=()=>{clearTimeout(o)},r}var Nx=Yi;var Gp=kp;function Ea(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}var bn=Ea;function vt(e){return e&&e.ownerDocument||document}var Tn=vt;function ko(e){return vt(e).defaultView||window}var $l=ko;function Pa(e,t){typeof e=="function"?e(t):e&&(e.current=t)}var Xi=Tt;var Ra=or;var Oa=S(U(),1);function Kp(e){let{controlled:t,default:o,name:r,state:n="value"}=e,{current:a}=Oa.useRef(t!==void 0),[i,s]=Oa.useState(o),l=a?t:i,u=Oa.useCallback(p=>{a||s(p)},[]);return[l,u]}var ql=Kp;var Qy=S(U(),1);function B5(e){let t=Qy.useRef(e);return Tt(()=>{t.current=e}),Qy.useRef((...o)=>(0,t.current)(...o)).current}var Uo=B5;var vn=Uo;var Qi=S(U(),1);function xt(...e){let t=Qi.useRef(void 0),o=Qi.useCallback(r=>{let n=e.map(a=>{if(a==null)return null;if(typeof a=="function"){let i=a,s=i(r);return typeof s=="function"?s:()=>{i(null)}}return a.current=r,()=>{a.current=null}});return()=>{n.forEach(a=>a?.())}},e);return Qi.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=o(r))},e)}var Dt=xt;function z5(e,t){let o=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&o>=65&&o<=90&&typeof t=="function"}function Wi(e,t){if(!e)return t;function o(i,s){let l={};return Object.keys(s).forEach(u=>{z5(u,s[u])&&typeof i[u]=="function"&&(l[u]=(...p)=>{i[u](...p),s[u](...p)})}),l}if(typeof e=="function"||typeof t=="function")return i=>{let s=typeof t=="function"?t(i):t,l=typeof e=="function"?e({...i,...s}):e,u=j(i?.className,s?.className,l?.className),p=o(l,s);return{...s,...l,...p,...!!u&&{className:u},...s?.style&&l?.style&&{style:{...s.style,...l.style}},...s?.sx&&l?.sx&&{sx:[...Array.isArray(s.sx)?s.sx:[s.sx],...Array.isArray(l.sx)?l.sx:[l.sx]]}}};let r=t,n=o(e,r),a=j(r?.className,e?.className);return{...t,...e,...n,...!!a&&{className:a},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function Yp(e,t){if(e==null)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;o[r]=e[r]}return o}function Xp(e,t){return Xp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,r){return o.__proto__=r,o},Xp(e,t)}function Qp(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Xp(e,t)}var Kl=S(U()),Yl=S(Zp());var Wy={disabled:!1};var kx=S(U()),Zi=kx.default.createContext(null);var Ux=function(t){return t.scrollTop};var Xl="unmounted",Aa="exited",Ma="entering",es="entered",Zy="exiting",kr=(function(e){Qp(t,e);function t(r,n){var a;a=e.call(this,r,n)||this;var i=n,s=i&&!i.isMounting?r.enter:r.appear,l;return a.appearStatus=null,r.in?s?(l=Aa,a.appearStatus=Ma):l=es:r.unmountOnExit||r.mountOnEnter?l=Xl:l=Aa,a.state={status:l},a.nextCallback=null,a}t.getDerivedStateFromProps=function(n,a){var i=n.in;return i&&a.status===Xl?{status:Aa}:null};var o=t.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(n){var a=null;if(n!==this.props){var i=this.state.status;this.props.in?i!==Ma&&i!==es&&(a=Ma):(i===Ma||i===es)&&(a=Zy)}this.updateStatus(!1,a)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var n=this.props.timeout,a,i,s;return a=i=s=n,n!=null&&typeof n!="number"&&(a=n.exit,i=n.enter,s=n.appear!==void 0?n.appear:i),{exit:a,enter:i,appear:s}},o.updateStatus=function(n,a){if(n===void 0&&(n=!1),a!==null)if(this.cancelNextCallback(),a===Ma){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Yl.default.findDOMNode(this);i&&Ux(i)}this.performEnter(n)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Aa&&this.setState({status:Xl})},o.performEnter=function(n){var a=this,i=this.props.enter,s=this.context?this.context.isMounting:n,l=this.props.nodeRef?[s]:[Yl.default.findDOMNode(this),s],u=l[0],p=l[1],f=this.getTimeouts(),d=s?f.appear:f.enter;if(!n&&!i||Wy.disabled){this.safeSetState({status:es},function(){a.props.onEntered(u)});return}this.props.onEnter(u,p),this.safeSetState({status:Ma},function(){a.props.onEntering(u,p),a.onTransitionEnd(d,function(){a.safeSetState({status:es},function(){a.props.onEntered(u,p)})})})},o.performExit=function(){var n=this,a=this.props.exit,i=this.getTimeouts(),s=this.props.nodeRef?void 0:Yl.default.findDOMNode(this);if(!a||Wy.disabled){this.safeSetState({status:Aa},function(){n.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:Zy},function(){n.props.onExiting(s),n.onTransitionEnd(i.exit,function(){n.safeSetState({status:Aa},function(){n.props.onExited(s)})})})},o.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(n,a){a=this.setNextCallback(a),this.setState(n,a)},o.setNextCallback=function(n){var a=this,i=!0;return this.nextCallback=function(s){i&&(i=!1,a.nextCallback=null,n(s))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},o.onTransitionEnd=function(n,a){this.setNextCallback(a);var i=this.props.nodeRef?this.props.nodeRef.current:Yl.default.findDOMNode(this),s=n==null&&!this.props.addEndListener;if(!i||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],u=l[0],p=l[1];this.props.addEndListener(u,p)}n!=null&&setTimeout(this.nextCallback,n)},o.render=function(){var n=this.state.status;if(n===Xl)return null;var a=this.props,i=a.children,s=a.in,l=a.mountOnEnter,u=a.unmountOnExit,p=a.appear,f=a.enter,d=a.exit,c=a.timeout,T=a.addEndListener,v=a.onEnter,x=a.onEntering,m=a.onEntered,y=a.onExit,g=a.onExiting,b=a.onExited,P=a.nodeRef,C=Yp(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Kl.default.createElement(Zi.Provider,{value:null},typeof i=="function"?i(n,C):Kl.default.cloneElement(Kl.default.Children.only(i),C))},t})(Kl.default.Component);kr.contextType=Zi;kr.propTypes={};function Ji(){}kr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ji,onEntering:Ji,onEntered:Ji,onExit:Ji,onExiting:Ji,onExited:Ji};kr.UNMOUNTED=Xl;kr.EXITED=Aa;kr.ENTERING=Ma;kr.ENTERED=es;kr.EXITING=Zy;var Ql=kr;function Lx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Wl=S(U());var Lo=S(U());function Jp(e,t){var o=function(a){return t&&(0,Lo.isValidElement)(a)?t(a):a},r=Object.create(null);return e&&Lo.Children.map(e,function(n){return n}).forEach(function(n){r[n.key]=o(n)}),r}function I5(e,t){e=e||{},t=t||{};function o(p){return p in t?t[p]:e[p]}var r=Object.create(null),n=[];for(var a in e)a in t?n.length&&(r[a]=n,n=[]):n.push(a);var i,s={};for(var l in t){if(r[l])for(i=0;i<r[l].length;i++){var u=r[l][i];s[r[l][i]]=o(u)}s[l]=o(l)}for(i=0;i<n.length;i++)s[n[i]]=o(n[i]);return s}function wa(e,t,o){return o[t]!=null?o[t]:e.props[t]}function Ix(e,t){return Jp(e.children,function(o){return(0,Lo.cloneElement)(o,{onExited:t.bind(null,o),in:!0,appear:wa(o,"appear",e),enter:wa(o,"enter",e),exit:wa(o,"exit",e)})})}function jx(e,t,o){var r=Jp(e.children),n=I5(t,r);return Object.keys(n).forEach(function(a){var i=n[a];if((0,Lo.isValidElement)(i)){var s=a in t,l=a in r,u=t[a],p=(0,Lo.isValidElement)(u)&&!u.props.in;l&&(!s||p)?n[a]=(0,Lo.cloneElement)(i,{onExited:o.bind(null,i),in:!0,exit:wa(i,"exit",e),enter:wa(i,"enter",e)}):!l&&s&&!p?n[a]=(0,Lo.cloneElement)(i,{in:!1}):l&&s&&(0,Lo.isValidElement)(u)&&(n[a]=(0,Lo.cloneElement)(i,{onExited:o.bind(null,i),in:u.props.in,exit:wa(i,"exit",e),enter:wa(i,"enter",e)}))}}),n}var j5=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},H5={component:"div",childFactory:function(t){return t}},Jy=(function(e){Qp(t,e);function t(r,n){var a;a=e.call(this,r,n)||this;var i=a.handleExited.bind(Lx(a));return a.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},a}var o=t.prototype;return o.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},o.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(n,a){var i=a.children,s=a.handleExited,l=a.firstRender;return{children:l?Ix(n,s):jx(n,i,s),firstRender:!1}},o.handleExited=function(n,a){var i=Jp(this.props.children);n.key in i||(n.props.onExited&&n.props.onExited(a),this.mounted&&this.setState(function(s){var l=fa({},s.children);return delete l[n.key],{children:l}}))},o.render=function(){var n=this.props,a=n.component,i=n.childFactory,s=Yp(n,["component","childFactory"]),l=this.state.contextValue,u=j5(this.state.children).map(i);return delete s.appear,delete s.enter,delete s.exit,a===null?Wl.default.createElement(Zi.Provider,{value:l},u):Wl.default.createElement(Zi.Provider,{value:l},Wl.default.createElement(a,s,u))},t})(Wl.default.Component);Jy.propTypes={};Jy.defaultProps=H5;var eh=Jy;var Vx=S(U(),1),Hx={};function ts(e,t){let o=Vx.useRef(Hx);return o.current===Hx&&(o.current=e(t)),o}var Fx=S(U(),1),V5=[];function th(e){Fx.useEffect(e,V5)}var oh=class e{constructor(){mi(this,"currentId",null);mi(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});mi(this,"disposeEffect",()=>this.clear)}static create(){return new e}start(t,o){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,o()},t)}};function os(){let e=ts(oh.create).current;return th(e.disposeEffect),e}var ef=e=>e.scrollTop;function oo(e,t){return o=>{if(t){let r=e.current;o===void 0?t(r):t(r,o)}}}function tf(e,t,o,r,n,a){let i=e==="exited"&&!t?r:o[e]||o.exited;return n||a?{...i,...n,...a}:i}function rs(e,t){let{timeout:o,easing:r,style:n={}}=e;return{duration:n.transitionDuration??(typeof o=="number"?o:o[t.mode]||0),easing:n.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:n.transitionDelay}}function F5(e){return typeof e=="string"}var Sn=F5;function $5(e,t,o){return e===void 0||Sn(e)?t:{...t,ownerState:{...t.ownerState,...o}}}var Zl=$5;function q5(e,t,o){return typeof e=="function"?e(t,o):e}var Jl=q5;function G5(e,t=[]){if(e===void 0)return{};let o={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{o[r]=e[r]}),o}var eu=G5;function K5(e){if(e===void 0)return{};let t={};return Object.keys(e).filter(o=>!(o.match(/^on[A-Z]/)&&typeof e[o]=="function")).forEach(o=>{t[o]=e[o]}),t}var of=K5;function Y5(e){let{getSlotProps:t,additionalProps:o,externalSlotProps:r,externalForwardedProps:n,className:a}=e;if(!t){let c=j(o?.className,a,n?.className,r?.className),T={...o?.style,...n?.style,...r?.style},v={...o,...n,...r};return c.length>0&&(v.className=c),Object.keys(T).length>0&&(v.style=T),{props:v,internalRef:void 0}}let i=eu({...n,...r}),s=of(r),l=of(n),u=t(i),p=j(u?.className,o?.className,a,n?.className,r?.className),f={...u?.style,...o?.style,...n?.style,...r?.style},d={...u,...o,...l,...s};return p.length>0&&(d.className=p),Object.keys(f).length>0&&(d.style=f),{props:d,internalRef:u.ref}}var tu=Y5;function Ae(e,t){let{className:o,elementType:r,ownerState:n,externalForwardedProps:a,internalForwardedProps:i,shouldForwardComponentProp:s=!1,...l}=t,{component:u,slots:p={[e]:void 0},slotProps:f={[e]:void 0},...d}=a,c=p[e]||r,T=Jl(f[e],n),{props:{component:v,...x},internalRef:m}=tu({className:o,...l,externalForwardedProps:e==="root"?d:void 0,externalSlotProps:T}),y=xt(m,T?.ref,t.ref),g=e==="root"?v||u:v,b=Zl(c,{...e==="root"&&!u&&!p[e]&&i,...e!=="root"&&!p[e]&&i,...x,...g&&!s&&{as:g},...g&&s&&{component:g},ref:y},n);return[c,b]}var qx=S(U(),1);function $x(e){return V("MuiPaper",e)}var eq=H("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var Gx=S(z(),1),X5=e=>{let{square:t,elevation:o,variant:r,classes:n}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${o}`]};return F(a,$x,n)},Q5=L("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],!o.square&&t.rounded,o.variant==="elevation"&&t[`elevation${o.elevation}`]]}})(X(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),W5=qx.forwardRef(function(t,o){let r=q({props:t,name:"MuiPaper"}),n=gn(),{className:a,component:i="div",elevation:s=1,square:l=!1,variant:u="elevation",...p}=r,f={...r,component:i,elevation:s,square:l,variant:u},d=X5(f);return(0,Gx.jsx)(Q5,{as:i,ownerState:f,className:j(d.root,a),ref:o,...p,style:{...u==="elevation"&&{"--Paper-shadow":(n.vars||n).shadows[s],...n.vars&&{"--Paper-overlay":n.vars.overlays?.[s]},...!n.vars&&n.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Ht("#fff",Gi(s))}, ${Ht("#fff",Gi(s))})`}},...p.style}})}),Cn=W5;var Pn=S(U(),1);function ou(e){try{return e.matches(":focus-visible")}catch{}return!1}var En=S(U(),1);var Kx=S(U(),1);function rh(e){let{focusableWhenDisabled:t,disabled:o,composite:r=!1,tabIndex:n=0,isNativeButton:a}=e,i=r&&t!==!1,s=r&&t===!1;return Kx.useMemo(()=>{let u={onKeyDown(p){o&&t&&p.key!=="Tab"&&p.preventDefault()}};return r||(u.tabIndex=n,!a&&o&&(u.tabIndex=t?n:-1)),(a&&(t||i)||!a&&o)&&(u["aria-disabled"]=o),a&&(!t||s)&&(u.disabled=o),u},[r,o,t,i,s,a,n])}var Z5={};function nh(e){let{nativeButton:t,nativeButtonProp:o,internalNativeButton:r=t,allowInferredHostMismatch:n=!1,disabled:a,type:i,hasFormAction:s=!1,tabIndex:l=0,focusableWhenDisabled:u,stopEventPropagation:p=!1,onBeforeKeyDown:f,onBeforeKeyUp:d}=e,c=En.useRef(null),T=u===!0,v=rh({focusableWhenDisabled:T,disabled:a,isNativeButton:t,tabIndex:l}),x=En.useCallback(()=>{let g=c.current;return g==null?t:g.tagName==="BUTTON"?!0:!!(g.tagName==="A"&&g.href)},[t]),m=En.useMemo(()=>{let g=T?{}:{tabIndex:a?-1:l};return t?(g.type=i===void 0&&!s?"button":i,T||(g.disabled=a)):(g.role="button",!T&&a&&(g["aria-disabled"]=a)),T?{...g,...v}:g},[a,T,v,s,t,l,i]);return{getButtonProps:En.useCallback((g=Z5)=>{let{onClick:b,onKeyDown:P,onKeyUp:C,...E}=g;return{...m,...E,onClick:A=>{if(p&&A.stopPropagation(),a){A.preventDefault();return}b?.(A)},onKeyDown:A=>{if(T&&v.onKeyDown(A),!a&&(f?.(A),P?.(A),!(A.target!==A.currentTarget||x()))){if(A.key===" "){A.preventDefault();return}A.key==="Enter"&&(A.preventDefault(),A.currentTarget.click())}},onKeyUp:A=>{a||(d?.(A),C?.(A),A.target===A.currentTarget&&!x()&&A.key===" "&&!A.defaultPrevented&&A.currentTarget.click())}}},[m,a,T,v,x,f,d,p]),rootRef:c}}var rf=S(U(),1);var ah=class e{constructor(){mi(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new e}static use(){let t=ts(e.create).current,[o,r]=rf.useState(!1);return t.shouldMount=o,t.setShouldMount=r,rf.useEffect(t.mountEffect,[o]),t}mount(){return this.mounted||(this.mounted=J5(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}};function nf(){return ah.use()}function J5(){let e,t,o=new Promise((r,n)=>{e=r,t=n});return o.resolve=e,o.reject=t,o}var mt=S(U(),1);var af=S(U(),1);var ih=S(z(),1);function eD(e){let{className:t,classes:o,pulsate:r=!1,rippleX:n,rippleY:a,rippleSize:i,in:s,onExited:l,timeout:u}=e,[p,f]=af.useState(!1),d=j(t,o.ripple,o.rippleVisible,r&&o.ripplePulsate),c={width:i,height:i,top:-(i/2)+a,left:-(i/2)+n},T=j(o.child,p&&o.childLeaving,r&&o.childPulsate);return!s&&!p&&f(!0),af.useEffect(()=>{if(!s&&l!=null){let v=setTimeout(l,u);return()=>{clearTimeout(v)}}},[l,s,u]),(0,ih.jsx)("span",{className:d,style:c,children:(0,ih.jsx)("span",{className:T})})}var Yx=eD;var tD=H("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),go=tD;var sf=S(z(),1),sh=550,oD=80,rD=Jo`
|
|
90
90
|
0% {
|
|
91
91
|
transform: scale(0);
|
|
92
92
|
opacity: 0.1;
|
|
@@ -96,7 +96,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
96
96
|
transform: scale(1);
|
|
97
97
|
opacity: 0.3;
|
|
98
98
|
}
|
|
99
|
-
`,
|
|
99
|
+
`,nD=Jo`
|
|
100
100
|
0% {
|
|
101
101
|
opacity: 1;
|
|
102
102
|
}
|
|
@@ -104,7 +104,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
104
104
|
100% {
|
|
105
105
|
opacity: 0;
|
|
106
106
|
}
|
|
107
|
-
`,
|
|
107
|
+
`,aD=Jo`
|
|
108
108
|
0% {
|
|
109
109
|
transform: scale(1);
|
|
110
110
|
}
|
|
@@ -116,14 +116,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
116
116
|
100% {
|
|
117
117
|
transform: scale(1);
|
|
118
118
|
}
|
|
119
|
-
`,
|
|
119
|
+
`,iD=L("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),sD=L(Yx,{name:"MuiTouchRipple",slot:"Ripple"})`
|
|
120
120
|
opacity: 0;
|
|
121
121
|
position: absolute;
|
|
122
122
|
|
|
123
123
|
&.${go.rippleVisible} {
|
|
124
124
|
opacity: 0.3;
|
|
125
125
|
transform: scale(1);
|
|
126
|
-
animation-name: ${
|
|
126
|
+
animation-name: ${rD};
|
|
127
127
|
animation-duration: ${sh}ms;
|
|
128
128
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
129
129
|
}
|
|
@@ -143,7 +143,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
143
143
|
|
|
144
144
|
& .${go.childLeaving} {
|
|
145
145
|
opacity: 0;
|
|
146
|
-
animation-name: ${
|
|
146
|
+
animation-name: ${nD};
|
|
147
147
|
animation-duration: ${sh}ms;
|
|
148
148
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
149
149
|
}
|
|
@@ -153,13 +153,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
153
153
|
/* @noflip */
|
|
154
154
|
left: 0px;
|
|
155
155
|
top: 0;
|
|
156
|
-
animation-name: ${
|
|
156
|
+
animation-name: ${aD};
|
|
157
157
|
animation-duration: 2500ms;
|
|
158
158
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
159
159
|
animation-iteration-count: infinite;
|
|
160
160
|
animation-delay: 200ms;
|
|
161
161
|
}
|
|
162
|
-
`,
|
|
162
|
+
`,lD=mt.forwardRef(function(t,o){let r=q({props:t,name:"MuiTouchRipple"}),{center:n=!1,classes:a={},className:i,...s}=r,[l,u]=mt.useState([]),p=mt.useRef(0),f=mt.useRef(null);mt.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);let d=mt.useRef(!1),c=os(),T=mt.useRef(null),v=mt.useRef(null),x=mt.useCallback(b=>{let{pulsate:P,rippleX:C,rippleY:E,rippleSize:O,cb:M}=b;u(N=>[...N,(0,sf.jsx)(sD,{classes:{ripple:j(a.ripple,go.ripple),rippleVisible:j(a.rippleVisible,go.rippleVisible),ripplePulsate:j(a.ripplePulsate,go.ripplePulsate),child:j(a.child,go.child),childLeaving:j(a.childLeaving,go.childLeaving),childPulsate:j(a.childPulsate,go.childPulsate)},timeout:sh,pulsate:P,rippleX:C,rippleY:E,rippleSize:O},p.current)]),p.current+=1,f.current=M},[a]),m=mt.useCallback((b={},P={},C=()=>{})=>{let{pulsate:E=!1,center:O=n||P.pulsate,fakeElement:M=!1}=P;if(b?.type==="mousedown"&&d.current){d.current=!1;return}b?.type==="touchstart"&&(d.current=!0);let N=M?null:v.current,A=N?N.getBoundingClientRect():{width:0,height:0,left:0,top:0},h,D,R;if(O||b===void 0||b.clientX===0&&b.clientY===0||!b.clientX&&!b.touches)h=Math.round(A.width/2),D=Math.round(A.height/2);else{let{clientX:w,clientY:k}=b.touches&&b.touches.length>0?b.touches[0]:b;h=Math.round(w-A.left),D=Math.round(k-A.top)}if(O)R=Math.sqrt((2*A.width**2+A.height**2)/3),R%2===0&&(R+=1);else{let w=Math.max(Math.abs((N?N.clientWidth:0)-h),h)*2+2,k=Math.max(Math.abs((N?N.clientHeight:0)-D),D)*2+2;R=Math.sqrt(w**2+k**2)}b?.touches?T.current===null&&(T.current=()=>{x({pulsate:E,rippleX:h,rippleY:D,rippleSize:R,cb:C})},c.start(oD,()=>{T.current&&(T.current(),T.current=null)})):x({pulsate:E,rippleX:h,rippleY:D,rippleSize:R,cb:C})},[n,x,c]),y=mt.useCallback(()=>{m({},{pulsate:!0})},[m]),g=mt.useCallback((b,P)=>{if(c.clear(),b?.type==="touchend"&&T.current){T.current(),T.current=null,c.start(0,()=>{g(b,P)});return}T.current=null,u(C=>C.length>0?C.slice(1):C),f.current=P},[c]);return mt.useImperativeHandle(o,()=>({pulsate:y,start:m,stop:g}),[y,m,g]),(0,sf.jsx)(iD,{className:j(go.root,a.root,i),ref:v,...s,children:(0,sf.jsx)(eh,{component:null,exit:!0,children:l})})}),Xx=lD;function Qx(e){return V("MuiButtonBase",e)}var uD=H("MuiButtonBase",["root","disabled","focusVisible"]),Wx=uD;var lf=S(z(),1),cD=e=>{let{disabled:t,focusVisible:o,focusVisibleClassName:r,suppressFocusVisible:n,classes:a}=e,s=F({root:["root",t&&"disabled",o&&!n&&"focusVisible"]},Qx,a);return o&&!n&&r&&(s.root+=` ${r}`),s},pD=L("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"},[`&.${Wx.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),fD=Pn.forwardRef(function(t,o){let r=q({props:t,name:"MuiButtonBase"}),{action:n,centerRipple:a=!1,children:i,className:s,component:l="button",disabled:u=!1,disableRipple:p=!1,disableTouchRipple:f=!1,focusRipple:d=!1,focusVisibleClassName:c,focusableWhenDisabled:T,suppressFocusVisible:v=!1,internalNativeButton:x,LinkComponent:m="a",nativeButton:y,onBlur:g,onClick:b,onContextMenu:P,onDragLeave:C,onFocus:E,onFocusVisible:O,onKeyDown:M,onKeyUp:N,onMouseDown:A,onMouseLeave:h,onMouseUp:D,onTouchEnd:R,onTouchMove:w,onTouchStart:k,tabIndex:I=0,TouchRippleProps:$,touchRippleRef:de,type:ne,...Q}=r,ue=!!(Q.href||Q.to),Ge=!!Q.formAction,Ne=l;Ne==="button"&&ue&&(Ne=m);let ee=typeof Ne=="string"?Ne==="button":x??!1,ae=y??ee,W=nf(),te=Dt(W.ref,de),[oe,be]=Pn.useState(!1);(u||v)&&oe&&be(!1);let Pt=vn(Ye=>{d&&!Ye.repeat&&oe&&Ye.key===" "&&W.stop(Ye,()=>{W.start(Ye)})}),ce=vn(Ye=>{d&&Ye.key===" "&&oe&&!Ye.defaultPrevented&&W.stop(Ye,()=>{W.pulsate(Ye)})}),{getButtonProps:Oe,rootRef:pt}=nh({nativeButton:ae,nativeButtonProp:y,internalNativeButton:ee,allowInferredHostMismatch:ue||typeof Ne=="string",disabled:u,type:ne,hasFormAction:Ge,tabIndex:I,onBeforeKeyDown:Pt,onBeforeKeyUp:ce}),{onClick:qt,onKeyDown:Ke,onKeyUp:ft,...Rt}=Oe({onClick:b,onKeyDown:M,onKeyUp:N});Pn.useImperativeHandle(n,()=>({focusVisible:()=>{be(!0),pt.current.focus()}}),[pt]);let ye=W.shouldMount&&!p&&!u;Pn.useEffect(()=>{oe&&d&&!p&&W.pulsate()},[p,d,oe,W]);let po=Ur(W,"start",A,f),No=Ur(W,"stop",P,f),dt=Ur(W,"stop",C,f),ia=Ur(W,"stop",D,f),cr=Ur(W,"stop",Ye=>{oe&&Ye.preventDefault(),h&&h(Ye)},f),Ar=Ur(W,"start",k,f),Le=Ur(W,"stop",R,f),Te=Ur(W,"stop",w,f),We=Ur(W,"stop",Ye=>{ou(Ye.target)||be(!1),g&&g(Ye)},!1),re=vn(Ye=>{pt.current||(pt.current=Ye.currentTarget),!v&&ou(Ye.target)&&(be(!0),O&&O(Ye)),E&&E(Ye)}),fo={};ue&&(fo.tabIndex=u?-1:I,u&&(fo["aria-disabled"]=u),fo.type=ne);let cn=Dt(o,pt),fl={...r,centerRipple:a,component:l,disabled:u,disableRipple:p,disableTouchRipple:f,focusRipple:d,suppressFocusVisible:v,tabIndex:I,focusVisible:oe},dl=cD(fl);return(0,lf.jsxs)(pD,{as:Ne,className:j(dl.root,s),ownerState:fl,onBlur:We,onClick:qt,onContextMenu:No,onFocus:re,onKeyDown:Ke,onKeyUp:ft,onMouseDown:po,onMouseLeave:cr,onMouseUp:ia,onDragLeave:dt,onTouchEnd:Le,onTouchMove:Te,onTouchStart:Ar,ref:cn,...ue?fo:Rt,...Q,children:[i,ye?(0,lf.jsx)(Xx,{ref:te,center:a,...$}):null]})});function Ur(e,t,o,r=!1){return vn(n=>(o&&o(n),r||e[t](n),!0))}var Lr=fD;function dD(e){return typeof e.main=="string"}function mD(e,t=[]){if(!dD(e))return!1;for(let o of t)if(!e.hasOwnProperty(o)||typeof e[o]!="string")return!1;return!0}function ot(e=[]){return([,t])=>t&&mD(t,e)}var uf=S(U(),1);var Jx=S(U(),1);function Zx(e){return V("MuiCircularProgress",e)}var sG=H("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDisableShrink"]);var ns=S(z(),1),rr=44,lh=Jo`
|
|
163
163
|
0% {
|
|
164
164
|
transform: rotate(0deg);
|
|
165
165
|
}
|
|
@@ -182,13 +182,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
182
182
|
stroke-dasharray: 1px, 200px;
|
|
183
183
|
stroke-dashoffset: -126px;
|
|
184
184
|
}
|
|
185
|
-
`,
|
|
185
|
+
`,yD=typeof lh!="string"?mn`
|
|
186
186
|
animation: ${lh} 1.4s linear infinite;
|
|
187
|
-
`:null,
|
|
187
|
+
`:null,hD=typeof uh!="string"?mn`
|
|
188
188
|
animation: ${uh} 1.4s ease-in-out infinite;
|
|
189
|
-
`:null,
|
|
189
|
+
`:null,gD=e=>{let{classes:t,variant:o,color:r,disableShrink:n}=e,a={root:["root",o,`color${K(r)}`],svg:["svg"],track:["track"],circle:["circle",n&&"circleDisableShrink"]};return F(a,Zx,t)},bD=L("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],t[`color${K(o.color)}`]]}})(X(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:yD||{animation:`${lh} 1.4s linear infinite`}},...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),TD=L("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),vD=L("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.circle,o.disableShrink&&t.circleDisableShrink]}})(X(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:hD||{animation:`${uh} 1.4s ease-in-out infinite`}}]}))),xD=L("circle",{name:"MuiCircularProgress",slot:"Track"})(X(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),SD=Jx.forwardRef(function(t,o){let r=q({props:t,name:"MuiCircularProgress"}),{className:n,color:a="primary",disableShrink:i=!1,enableTrackSlot:s=!1,size:l=40,style:u,thickness:p=3.6,value:f=0,variant:d="indeterminate",...c}=r,T={...r,color:a,disableShrink:i,size:l,thickness:p,value:f,variant:d,enableTrackSlot:s},v=gD(T),x={},m={},y={};if(d==="determinate"){let g=2*Math.PI*((rr-p)/2);x.strokeDasharray=g.toFixed(3),y["aria-valuenow"]=Math.round(f),x.strokeDashoffset=`${((100-f)/100*g).toFixed(3)}px`,m.transform="rotate(-90deg)"}return(0,ns.jsx)(bD,{className:j(v.root,n),style:{width:l,height:l,...m,...u},ownerState:T,ref:o,role:"progressbar",...y,...c,children:(0,ns.jsxs)(TD,{className:v.svg,ownerState:T,viewBox:`${rr/2} ${rr/2} ${rr} ${rr}`,children:[s?(0,ns.jsx)(xD,{className:v.track,ownerState:T,cx:rr,cy:rr,r:(rr-p)/2,fill:"none",strokeWidth:p,"aria-hidden":"true"}):null,(0,ns.jsx)(vD,{className:v.circle,style:x,ownerState:T,cx:rr,cy:rr,r:(rr-p)/2,fill:"none",strokeWidth:p})]})})}),ru=SD;function eS(e){return V("MuiIconButton",e)}var CD=H("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),ch=CD;var as=S(z(),1),ED=e=>{let{classes:t,disabled:o,color:r,edge:n,size:a,loading:i}=e,s={root:["root",i&&"loading",o&&"disabled",r!=="default"&&`color${K(r)}`,n&&`edge${K(n)}`,`size${K(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return F(s,eS,t)},PD=L(Lr,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.loading&&t.loading,o.color!=="default"&&t[`color${K(o.color)}`],o.edge&&t[`edge${K(o.edge)}`],t[`size${K(o.size)}`]]}})(X(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),X(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${ch.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${ch.loading}`]:{color:"transparent"}}))),RD=L("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),OD=uf.forwardRef(function(t,o){let r=q({props:t,name:"MuiIconButton"}),{edge:n=!1,children:a,className:i,color:s="default",disabled:l=!1,disableFocusRipple:u=!1,size:p="medium",id:f,loading:d=null,loadingIndicator:c,...T}=r,v=Ra(f),x=c??(0,as.jsx)(ru,{"aria-labelledby":v,color:"inherit",size:16}),m={...r,edge:n,color:s,disabled:l,disableFocusRipple:u,loading:d,loadingIndicator:x,size:p},y=ED(m);return(0,as.jsxs)(PD,{id:d?v:f,className:j(y.root,i),centerRipple:!0,internalNativeButton:!0,focusRipple:!u,disabled:l||d,ref:o,...T,ownerState:m,children:[typeof d=="boolean"&&(0,as.jsx)("span",{className:y.loadingWrapper,style:{display:"contents"},children:(0,as.jsx)(RD,{className:y.loadingIndicator,ownerState:m,children:d&&x})}),a]})}),Na=OD;var rS=S(U(),1);function tS(e){return V("MuiTypography",e)}var HG=H("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom"]);var nS=S(z(),1),AD=e=>{let{align:t,gutterBottom:o,noWrap:r,variant:n,classes:a}=e,i={root:["root",n,e.align!=="inherit"&&`align${K(t)}`,o&&"gutterBottom",r&&"noWrap"]};return F(i,tS,a)},MD=L("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.variant&&t[o.variant],o.align!=="inherit"&&t[`align${K(o.align)}`],o.noWrap&&t.noWrap,o.gutterBottom&&t.gutterBottom]}})(X(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([t,o])=>t!=="inherit"&&o&&typeof o=="object").map(([t,o])=>({props:{variant:t},style:o})),...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,t])=>typeof t=="string").map(([t])=>({props:{color:`text${K(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:t})=>t.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:t})=>t.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:t})=>t.gutterBottom,style:{marginBottom:"0.35em"}}]}))),oS={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},wD=rS.forwardRef(function(t,o){let r=q({props:t,name:"MuiTypography"}),{color:n,align:a="inherit",className:i,component:s,gutterBottom:l=!1,noWrap:u=!1,variant:p="body1",variantMapping:f=oS,...d}=r,c={...r,align:a,color:n,className:i,component:s,gutterBottom:l,noWrap:u,variant:p,variantMapping:f},T=s||f[p]||oS[p]||"span",v=AD(c);return(0,nS.jsx)(MD,{as:T,ref:o,className:j(v.root,i),...d,ownerState:c,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...d.style}})}),nu=wD;function ND(e){let{elementType:t,externalSlotProps:o,ownerState:r,skipResolvingSlotProps:n=!1,...a}=e,i=n?{}:Jl(o,r),{props:s,internalRef:l}=tu({...a,externalSlotProps:i}),u=xt(l,i?.ref,e.additionalProps?.ref);return Zl(t,{...s,ref:u},r)}var ph=ND;var Ir=S(U(),1),iS=S(Zp(),1);var aS=S(U(),1);function Io(e){return parseInt(aS.version,10)>=19?e?.props?.ref||null:e?.ref||null}function DD(e){return typeof e=="function"?e():e}var _D=Ir.forwardRef(function(t,o){let{children:r,container:n,disablePortal:a=!1}=t,[i,s]=Ir.useState(null),l=xt(Ir.isValidElement(r)?Io(r):null,o);return Tt(()=>{a||s(DD(n)||document.body)},[n,a]),Tt(()=>{if(i&&!a)return Pa(o,i),()=>{Pa(o,null)}},[o,i,a]),a?Ir.isValidElement(r)?Ir.cloneElement(r,{ref:l}):r:i&&iS.createPortal(r,i)}),fh=_D;var Vt=S(U(),1);var bo=S(U(),1);var au=S(z(),1);function cf(e){return parseInt(e,10)||0}var BD={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function zD(e){for(let t in e)return!1;return!0}function sS(e){return zD(e)||e.outerHeightStyle===0&&!e.overflowing}var kD=bo.forwardRef(function(t,o){let{onChange:r,maxRows:n,minRows:a=1,style:i,value:s,...l}=t,{current:u}=bo.useRef(s!=null),p=bo.useRef(null),f=xt(o,p),d=bo.useRef(null),c=bo.useRef(null),T=bo.useCallback(()=>{let g=p.current,b=c.current;if(!g||!b)return;let C=ko(g).getComputedStyle(g);if(C.width==="0px")return{outerHeightStyle:0,overflowing:!1};b.style.width=C.width,b.value=g.value||t.placeholder||"x",b.value.slice(-1)===`
|
|
190
190
|
`&&(b.value+=" ");let E=C.boxSizing,O=cf(C.paddingBottom)+cf(C.paddingTop),M=cf(C.borderBottomWidth)+cf(C.borderTopWidth),N=b.scrollHeight;b.value="x";let A=b.scrollHeight,h=N;a&&(h=Math.max(Number(a)*A,h)),n&&(h=Math.min(Number(n)*A,h)),h=Math.max(h,A);let D=h+(E==="border-box"?O+M:0),R=Math.abs(h-N)<=1;return{outerHeightStyle:D,overflowing:R}},[n,a,t.placeholder]),v=Uo(()=>{let g=p.current,b=T();if(!g||!b||sS(b))return!1;let P=b.outerHeightStyle;return d.current!=null&&d.current!==P}),x=bo.useCallback(()=>{let g=p.current,b=T();if(!g||!b||sS(b))return;let P=b.outerHeightStyle;d.current!==P&&(d.current=P,g.style.height=`${P}px`),g.style.overflow=b.overflowing?"hidden":""},[T]),m=bo.useRef(-1);return Tt(()=>{let g=Yi(x),b=p?.current;if(!b)return;let P=ko(b);P.addEventListener("resize",g);let C;return typeof ResizeObserver<"u"&&(C=new ResizeObserver(()=>{v()&&(C.unobserve(b),cancelAnimationFrame(m.current),x(),m.current=requestAnimationFrame(()=>{C.observe(b)}))}),C.observe(b)),()=>{g.clear(),cancelAnimationFrame(m.current),P.removeEventListener("resize",g),C&&C.disconnect()}},[T,x,v]),Tt(()=>{x()}),(0,au.jsxs)(bo.Fragment,{children:[(0,au.jsx)("textarea",{value:s,onChange:g=>{u||x();let b=g.target,P=b.value.length,C=b.value.endsWith(`
|
|
191
|
-
`),E=b.selectionStart===P;C&&E&&b.setSelectionRange(P,P),r&&r(g)},ref:f,rows:a,style:i,...l}),(0,au.jsx)("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:c,tabIndex:-1,style:{...B5.shadow,...i,paddingTop:0,paddingBottom:0}})]})}),dh=k5;function To({props:e,states:t,muiFormControl:o}){return t.reduce((r,n)=>(r[n]=e[n],o&&typeof e[n]>"u"&&(r[n]=o[n]),r),{})}var lS=S(U(),1),U5=lS.createContext(void 0),is=U5;var uS=S(U(),1);function Zt(){return uS.useContext(is)}function cS(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Da(e,t=!1){return e&&(cS(e.value)&&e.value!==""||t&&cS(e.defaultValue)&&e.defaultValue!=="")}function pS(e){return e.startAdornment}function fS(e){return V("MuiInputBase",e)}var L5=H("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputTypeSearch"]),nr=L5;var _a=S(z(),1),dS,Ba=(e,t)=>{let{ownerState:o}=e;return[t.root,o.formControl&&t.formControl,o.startAdornment&&t.adornedStart,o.endAdornment&&t.adornedEnd,o.error&&t.error,o.size==="small"&&t.sizeSmall,o.multiline&&t.multiline,o.color&&t[`color${K(o.color)}`],o.fullWidth&&t.fullWidth,o.hiddenLabel&&t.hiddenLabel]},za=(e,t)=>{let{ownerState:o}=e;return[t.input,o.type==="search"&&t.inputTypeSearch]},I5=e=>{let{classes:t,color:o,disabled:r,error:n,endAdornment:a,focused:i,formControl:s,fullWidth:l,hiddenLabel:u,multiline:p,readOnly:f,size:d,startAdornment:c,type:T}=e,v={root:["root",`color${K(o)}`,r&&"disabled",n&&"error",l&&"fullWidth",i&&"focused",s&&"formControl",d&&d!=="medium"&&`size${K(d)}`,p&&"multiline",c&&"adornedStart",a&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",T==="search"&&"inputTypeSearch",f&&"readOnly"]};return F(v,fS,t)},ka=L("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Ba})(X(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${nr.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:o})=>t.multiline&&o==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),Ua=L("input",{name:"MuiInputBase",slot:"Input",overridesResolver:za})(X(({theme:e})=>{let t=e.palette.mode==="light",o={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},n=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${nr.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":n,"&:focus::-moz-placeholder":n,"&:focus::-ms-input-placeholder":n},[`&.${nr.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:a})=>!a.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:a})=>a.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),mS=Ox({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),j5=Vt.forwardRef(function(t,o){let r=q({props:t,name:"MuiInputBase"}),{"aria-describedby":n,autoComplete:a,autoFocus:i,className:s,color:l,defaultValue:u,disabled:p,disableInjectingGlobalStyles:f,endAdornment:d,error:c,fullWidth:T=!1,id:v,inputComponent:x="input",inputProps:m={},inputRef:y,margin:g,maxRows:b,minRows:P,multiline:C=!1,name:E,onBlur:O,onChange:M,onClick:N,onFocus:A,onKeyDown:h,onKeyUp:D,placeholder:R,readOnly:w,renderSuffix:k,rows:I,size:$,slotProps:de={},slots:ne={},startAdornment:Q,type:ue="text",value:Ge,...Ne}=r,ee=m.value!=null?m.value:Ge,{current:ae}=Vt.useRef(ee!=null),W=Vt.useRef(),te=Vt.useCallback(re=>{},[]),oe=Dt(W,y,m.ref,te),[be,Pt]=Vt.useState(!1),ce=Zt(),Oe=To({props:r,muiFormControl:ce,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Oe.focused=ce?ce.focused:be,Vt.useEffect(()=>{!ce&&p&&be&&(Pt(!1),O&&O())},[ce,p,be,O]);let pt=ce&&ce.onFilled,qt=ce&&ce.onEmpty,Ke=Vt.useCallback(re=>{Da(re)?pt&&pt():qt&&qt()},[pt,qt]);Xi(()=>{ae&&Ke({value:ee})},[ee,Ke,ae]);let ft=re=>{A&&A(re),m.onFocus&&m.onFocus(re),ce&&ce.onFocus?ce.onFocus(re):Pt(!0)},Rt=re=>{O&&O(re),m.onBlur&&m.onBlur(re),ce&&ce.onBlur?ce.onBlur(re):Pt(!1)},ye=(re,...fo)=>{if(!ae){let cn=re.target||W.current;if(cn==null)throw new Error(gt(1));Ke({value:cn.value})}m.onChange&&m.onChange(re,...fo),M&&M(re,...fo)};Vt.useEffect(()=>{Ke(W.current)},[]);let po=re=>{W.current&&re.currentTarget===re.target&&W.current.focus(),N&&N(re)},No=x,dt=m;C&&No==="input"&&(I?dt={type:void 0,minRows:I,maxRows:I,...dt}:dt={type:void 0,maxRows:b,minRows:P,...dt},No=dh);let ia=re=>{Ke(re.animationName==="mui-auto-fill-cancel"?W.current:{value:"x"})};Vt.useEffect(()=>{ce&&ce.setAdornedStart(!!Q)},[ce,Q]);let cr={...r,color:Oe.color||"primary",disabled:Oe.disabled,endAdornment:d,error:Oe.error,focused:Oe.focused,formControl:ce,fullWidth:T,hiddenLabel:Oe.hiddenLabel,multiline:C,size:Oe.size,startAdornment:Q,type:ue},Ar=I5(cr),Le=ne.root||ka,Te=de.root||{},We=ne.input||Ua;return dt={...dt,...de.input},(0,_a.jsxs)(Vt.Fragment,{children:[!f&&typeof mS=="function"&&(dS||(dS=(0,_a.jsx)(mS,{}))),(0,_a.jsxs)(Le,{...Te,ref:o,onClick:po,...Ne,...!Sn(Le)&&{ownerState:{...cr,...Te.ownerState}},className:j(Ar.root,Te.className,s,w&&"MuiInputBase-readOnly"),children:[Q,(0,_a.jsx)(is.Provider,{value:null,children:(0,_a.jsx)(We,{"aria-invalid":Oe.error,"aria-describedby":n,autoComplete:a,autoFocus:i,defaultValue:u,disabled:Oe.disabled,id:v,onAnimationStart:ia,name:E,placeholder:R,readOnly:w,required:Oe.required,rows:I,value:ee,onKeyDown:h,onKeyUp:D,type:ue,...dt,...!Sn(We)&&{as:No,ownerState:{...cr,...dt.ownerState}},ref:oe,className:j(Ar.input,dt.className,w&&"MuiInputBase-readOnly"),onBlur:Rt,onChange:ye,onFocus:ft})}),d,k?k({...Oe,startAdornment:Q}):null]})]})}),jo=j5;function yS(e){return V("MuiInput",e)}var H5={...nr,...H("MuiInput",["root","underline","input"])},ss=H5;function hS(e){return V("MuiOutlinedInput",e)}var V5={...nr,...H("MuiOutlinedInput",["root","notchedOutline","input"])},ar=V5;function gS(e){return V("MuiFilledInput",e)}var F5={...nr,...H("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},Rn=F5;var bS=S(z(),1),TS=it((0,bS.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");var SS=S(U(),1);var ls=S(U(),1);var vS=S(z(),1),$5={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},q5={opacity:0,visibility:"hidden"},G5=ls.forwardRef(function(t,o){let r=gn(),n={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:i=!0,children:s,easing:l,in:u,onEnter:p,onEntered:f,onEntering:d,onExit:c,onExited:T,onExiting:v,style:x,timeout:m=n,...y}=t,g=ls.useRef(null),b=Dt(g,Io(s),o),P=oo(g,d),C=oo(g,(h,D)=>{ef(h);let R=rs({style:x,timeout:m,easing:l},{mode:"enter"});h.style.transition=r.transitions.create("opacity",R),p&&p(h,D)}),E=oo(g,f),O=oo(g,v),M=oo(g,h=>{let D=rs({style:x,timeout:m,easing:l},{mode:"exit"});h.style.transition=r.transitions.create("opacity",D),c&&c(h)}),N=oo(g,h=>{h.style.transition="",T&&T(h)});return(0,vS.jsx)(Ql,{appear:i,in:u,nodeRef:g,onEnter:C,onEntered:E,onEntering:P,onExit:M,onExited:N,onExiting:O,addEndListener:h=>{a&&a(g.current,h)},timeout:m,...y,children:(h,{ownerState:D,...R})=>{let w=tf(h,u,$5,q5,x,s.props.style);return ls.cloneElement(s,{style:w,ref:b,...R})}})}),mh=G5;function xS(e){return V("MuiBackdrop",e)}var PY=H("MuiBackdrop",["root","invisible"]);var yh=S(z(),1),K5=e=>{let{classes:t,invisible:o}=e;return F({root:["root",o&&"invisible"]},xS,t)},Y5=L("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),X5=SS.forwardRef(function(t,o){let r=q({props:t,name:"MuiBackdrop"}),{children:n,className:a,component:i="div",invisible:s=!1,open:l,slotProps:u={},slots:p={},transitionDuration:f,...d}=r,c={...r,component:i,invisible:s},T=K5(c),v={component:i,slots:p,slotProps:u},[x,m]=Ae("root",{elementType:Y5,externalForwardedProps:v,className:j(T.root,a),ownerState:c}),[y,g]=Ae("transition",{elementType:mh,externalForwardedProps:v,ownerState:c});return(0,yh.jsx)(y,{in:l,timeout:f,...d,...g,children:(0,yh.jsx)(x,{...m,ref:o,children:n})})}),hh=X5;var Q5=H("MuiBox",["root"]),CS=Q5;var W5=gr(),Z5=Nl({themeId:At,defaultTheme:W5,defaultClassName:CS.root,generateClassName:Ii.generate}),_t=Z5;var iu=S(U(),1);function ES(e){return V("MuiButton",e)}var J5=H("MuiButton",["root","text","outlined","contained","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),On=J5;var PS=S(U(),1),e_=PS.createContext({}),RS=e_;var OS=S(U(),1),t_=OS.createContext(void 0),AS=t_;var br=S(z(),1),o_=e=>{let{color:t,disableElevation:o,fullWidth:r,size:n,variant:a,loading:i,loadingPosition:s,classes:l}=e,u={root:["root",i&&"loading",a,`size${K(n)}`,`color${K(t)}`,o&&"disableElevation",r&&"fullWidth",i&&`loadingPosition${K(s)}`],startIcon:["icon","startIcon"],endIcon:["icon","endIcon"],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},p=F(u,ES,l);return{...l,...p}},wS=[{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}}}],r_=L(Lr,{shouldForwardProp:e=>Be(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],t[`size${K(o.size)}`],o.color==="inherit"&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth,o.loading&&t.loading]}})(X(({theme:e})=>{let t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],o=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"},[`&.${On.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]},[`&.${On.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${On.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)",[`&.${On.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(ot()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[r].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:o,"--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"},[`&.${On.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${On.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}),[`&.${On.loading}`]:{color:"transparent"}}}]}})),n_=L("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.startIcon,o.loading&&t.startIconLoadingStart]}})(({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}},...wS]})),a_=L("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.endIcon,o.loading&&t.endIconLoadingEnd]}})(({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}},...wS]})),i_=L("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}}]})),MS=L("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),s_=iu.forwardRef(function(t,o){let r=iu.useContext(RS),n=iu.useContext(AS),a=yr(r,t),i=q({props:a,name:"MuiButton"}),{children:s,color:l="primary",component:u="button",className:p,disabled:f=!1,disableElevation:d=!1,disableFocusRipple:c=!1,endIcon:T,focusVisibleClassName:v,fullWidth:x=!1,id:m,loading:y=null,loadingIndicator:g,loadingPosition:b="center",size:P="medium",startIcon:C,type:E,variant:O="text",...M}=i,N=Ra(m),A=g??(0,br.jsx)(ru,{"aria-labelledby":N,color:"inherit",size:16}),h={...i,color:l,component:u,disabled:f,disableElevation:d,disableFocusRipple:c,fullWidth:x,loading:y,loadingIndicator:A,loadingPosition:b,size:P,type:E,variant:O},D=o_(h),R=(C||y&&b==="start")&&(0,br.jsx)(n_,{className:D.startIcon,ownerState:h,children:C||(0,br.jsx)(MS,{className:D.loadingIconPlaceholder,ownerState:h})}),w=(T||y&&b==="end")&&(0,br.jsx)(a_,{className:D.endIcon,ownerState:h,children:T||(0,br.jsx)(MS,{className:D.loadingIconPlaceholder,ownerState:h})}),k=n||"",I=typeof y=="boolean"?(0,br.jsx)("span",{className:D.loadingWrapper,style:{display:"contents"},children:y&&(0,br.jsx)(i_,{className:D.loadingIndicator,ownerState:h,children:A})}):null;return(0,br.jsxs)(r_,{ownerState:h,className:j(r.className,D.root,p,k),component:u,disabled:f||y,focusRipple:!c,focusVisibleClassName:j(D.focusVisible,v),ref:o,internalNativeButton:!0,type:E,id:y?N:m,...M,classes:D,children:[R,b!=="end"&&I,s,b==="end"&&I,w]})}),us=s_;var su=S(U(),1);var DS=S(U(),1);function NS(e){return V("PrivateSwitchBase",e)}var CX=H("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var pf=S(z(),1),l_=e=>{let{classes:t,checked:o,disabled:r,edge:n}=e,a={root:["root",o&&"checked",r&&"disabled",n&&`edge${K(n)}`],input:["input"]};return F(a,NS,t)},u_=L(Lr,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),c_=L("input",{name:"MuiSwitchBase",shouldForwardProp:Be})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),p_=DS.forwardRef(function(t,o){let{autoFocus:r,checked:n,checkedIcon:a,defaultChecked:i,disabled:s,disableFocusRipple:l=!1,edge:u=!1,icon:p,id:f,name:d,onBlur:c,onChange:T,onFocus:v,readOnly:x,required:m=!1,tabIndex:y,type:g,value:b,slots:P={},slotProps:C={},...E}=t,{nativeButton:O,...M}=E,[N,A]=ql({controlled:n,default:!!i,name:"SwitchBase",state:"checked"}),h=Zt(),D=ee=>{v&&v(ee),h&&h.onFocus&&h.onFocus(ee)},R=ee=>{c&&c(ee),h&&h.onBlur&&h.onBlur(ee)},w=ee=>{if(ee.nativeEvent.defaultPrevented||x)return;let ae=ee.target.checked;A(ae),T&&T(ee,ae)},k=s;h&&typeof k>"u"&&(k=h.disabled);let I=g==="checkbox"||g==="radio",$={...t,checked:N,disabled:k,disableFocusRipple:l,edge:u},de=l_($),ne={slots:P,slotProps:C},[Q,ue]=Ae("root",{ref:o,elementType:u_,className:de.root,shouldForwardComponentProp:!0,externalForwardedProps:{...ne,component:"span",...M},getSlotProps:ee=>({...ee,onFocus:ae=>{ee.onFocus?.(ae),D(ae)},onBlur:ae=>{ee.onBlur?.(ae),R(ae)}}),ownerState:$,additionalProps:{centerRipple:!0,focusRipple:!l,role:void 0,tabIndex:null}}),[Ge,Ne]=Ae("input",{elementType:c_,className:de.input,externalForwardedProps:ne,getSlotProps:ee=>({...ee,onChange:ae=>{ee.onChange?.(ae),w(ae)}}),ownerState:$,additionalProps:{autoFocus:r,checked:n,defaultChecked:i,disabled:k,id:I?f:void 0,name:d,readOnly:x,required:m,tabIndex:y,type:g,...g==="checkbox"&&b===void 0?{}:{value:b}}});return(0,pf.jsxs)(Q,{...ue,children:[(0,pf.jsx)(Ge,{...Ne}),N?a:p]})}),_S=p_;var BS=S(z(),1),zS=it((0,BS.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank");var kS=S(z(),1),US=it((0,kS.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox");var LS=S(z(),1),IS=it((0,LS.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function jS(e){return V("MuiCheckbox",e)}var f_=H("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),ff=f_;var lu=S(z(),1),d_=e=>{let{classes:t,indeterminate:o,color:r,size:n}=e,a={root:["root",o&&"indeterminate",`color${K(r)}`,`size${K(n)}`]},i=F(a,jS,t);return{...t,...i}},m_=L(_S,{shouldForwardProp:e=>Be(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.indeterminate&&t.indeterminate,t[`size${K(o.size)}`],o.color!=="default"&&t[`color${K(o.color)}`]]}})(X(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t},style:{[`&.${ff.checked}, &.${ff.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${ff.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),y_=(0,lu.jsx)(US,{}),h_=(0,lu.jsx)(zS,{}),g_=(0,lu.jsx)(IS,{}),b_=su.forwardRef(function(t,o){let r=q({props:t,name:"MuiCheckbox"}),{checkedIcon:n=y_,color:a="primary",icon:i=h_,indeterminate:s=!1,indeterminateIcon:l=g_,size:u="medium",disableRipple:p=!1,className:f,slots:d={},slotProps:c={},...T}=r,v=s?l:i,x=s?l:n,m={...r,disableRipple:p,color:a,indeterminate:s,size:u},y=d_(m),g=c.input,[b,P]=Ae("root",{ref:o,elementType:m_,className:j(y.root,f),shouldForwardComponentProp:!0,externalForwardedProps:{slots:d,slotProps:c,...T},ownerState:m,additionalProps:{type:"checkbox",icon:su.cloneElement(v,{fontSize:v.props.fontSize??u}),checkedIcon:su.cloneElement(x,{fontSize:x.props.fontSize??u}),disableRipple:p,slots:d,slotProps:{input:Wi(typeof g=="function"?g(m):g,{"data-indeterminate":s})}}});return(0,lu.jsx)(b,{...P,classes:y})}),df=b_;function cs(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}function T_(e){let t=vt(e);return t.body===e?ko(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ps(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function HS(e){return parseFloat(ko(e).getComputedStyle(e).paddingRight)||0}function v_(e){let o=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return o||r}function VS(e,t,o,r,n){let a=[t,o,...r];[].forEach.call(e.children,i=>{let s=!a.includes(i),l=!v_(i);s&&l&&ps(i,n)})}function gh(e,t){let o=-1;return e.some((r,n)=>t(r)?(o=n,!0):!1),o}function x_(e,t){let o=[],r=e.container;if(!t.disableScrollLock){if(T_(r)){let i=cs(ko(r));o.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${HS(r)+i}px`;let s=vt(r).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{o.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${HS(l)+i}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=vt(r).body;else{let i=r.parentElement,s=ko(r);a=i?.nodeName==="HTML"&&s.getComputedStyle(i).overflowY==="scroll"?i:r}o.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{o.forEach(({value:a,el:i,property:s})=>{a?i.style.setProperty(s,a):i.style.removeProperty(s)})}}function S_(e){let t=[];return[].forEach.call(e.children,o=>{o.getAttribute("aria-hidden")==="true"&&t.push(o)}),t}var mf=class{constructor(){this.modals=[],this.containers=[]}add(t,o){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&ps(t.modalRef,!1);let n=S_(o);VS(o,t.mount,t.modalRef,n,!0);let a=gh(this.containers,i=>i.container===o);return a!==-1?(this.containers[a].modals.push(t),r):(this.containers.push({modals:[t],container:o,restore:null,hiddenSiblings:n}),r)}mount(t,o){let r=gh(this.containers,a=>a.modals.includes(t)),n=this.containers[r];n.restore||(n.restore=x_(n,o))}remove(t,o=!0){let r=this.modals.indexOf(t);if(r===-1)return r;let n=gh(this.containers,i=>i.modals.includes(t)),a=this.containers[n];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(r,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&ps(t.modalRef,o),VS(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(n,1);else{let i=a.modals[a.modals.length-1];i.modalRef&&ps(i.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}};var hf=S(U(),1);var Bt=S(U(),1);var uu=S(z(),1),C_=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function E_(e){let t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function P_(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;let t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`),o=t(`[name="${e.name}"]:checked`);return o||(o=t(`[name="${e.name}"]`)),o!==e}function R_(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||P_(e))}function O_(e){let t=[],o=[];return Array.from(e.querySelectorAll(C_)).forEach((r,n)=>{let a=E_(r);a===-1||!R_(r)||(a===0?t.push(r):o.push({documentOrder:n,tabIndex:a,node:r}))}),o.sort((r,n)=>r.tabIndex===n.tabIndex?r.documentOrder-n.documentOrder:r.tabIndex-n.tabIndex).map(r=>r.node).concat(t)}function A_(){return!0}function M_(e){let{children:t,disableAutoFocus:o=!1,disableEnforceFocus:r=!1,disableRestoreFocus:n=!1,getTabbable:a=O_,isEnabled:i=A_,open:s}=e,l=Bt.useRef(!1),u=Bt.useRef(null),p=Bt.useRef(null),f=Bt.useRef(null),d=Bt.useRef(null),c=Bt.useRef(!1),T=Bt.useRef(null),v=xt(Io(t),T),x=Bt.useRef(null);Bt.useEffect(()=>{!s||!T.current||(c.current=!o)},[o,s]),Bt.useEffect(()=>{if(!s||!T.current)return;let g=vt(T.current),b=bn(g);return T.current.contains(b)||(T.current.hasAttribute("tabIndex")||T.current.setAttribute("tabIndex","-1"),c.current&&T.current.focus()),()=>{n||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[s]),Bt.useEffect(()=>{if(!s||!T.current)return;let g=vt(T.current),b=E=>{if(x.current=E,r||!i()||E.key!=="Tab")return;bn(g)===T.current&&E.shiftKey&&(l.current=!0,p.current&&p.current.focus())},P=()=>{let E=T.current;if(E===null)return;let O=bn(g);if(!g.hasFocus()||!i()||l.current){l.current=!1;return}if(E.contains(O)||r&&O!==u.current&&O!==p.current)return;if(O!==d.current)d.current=null;else if(d.current!==null)return;if(!c.current)return;let M=[];if((O===u.current||O===p.current)&&(M=a(T.current)),M.length>0){let N=!!(x.current?.shiftKey&&x.current?.key==="Tab"),A=M[0],h=M[M.length-1];typeof A!="string"&&typeof h!="string"&&(N?h.focus():A.focus())}else E.focus()};g.addEventListener("focusin",P),g.addEventListener("keydown",b,!0);let C=setInterval(()=>{let E=bn(g);E&&E.tagName==="BODY"&&P()},50);return()=>{clearInterval(C),g.removeEventListener("focusin",P),g.removeEventListener("keydown",b,!0)}},[o,r,n,i,s,a]);let m=g=>{f.current===null&&(f.current=g.relatedTarget),c.current=!0,d.current=g.target;let b=t.props.onFocus;b&&b(g)},y=g=>{f.current===null&&(f.current=g.relatedTarget),c.current=!0};return(0,uu.jsxs)(Bt.Fragment,{children:[(0,uu.jsx)("div",{tabIndex:s?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),Bt.cloneElement(t,{ref:v,onFocus:m}),(0,uu.jsx)("div",{tabIndex:s?0:-1,onFocus:y,ref:p,"data-testid":"sentinelEnd"})]})}var bh=M_;var ir=S(U(),1);function w_(e){return typeof e=="function"?e():e}function N_(e){return e?e.props.hasOwnProperty("in"):!1}var FS=()=>{},yf=new mf;function D_(e){let{container:t,disableScrollLock:o=!1,closeAfterTransition:r=!1,onTransitionEnter:n,onTransitionExited:a,children:i,onClose:s,open:l,rootRef:u}=e,p=ir.useRef({}),f=ir.useRef(null),d=ir.useRef(null),c=xt(d,u),[T,v]=ir.useState(!l),x=N_(i),m=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(m=!1);let y=()=>vt(f.current),g=()=>(p.current.modalRef=d.current,p.current.mount=f.current,p.current),b=()=>{yf.mount(g(),{disableScrollLock:o}),d.current&&(d.current.scrollTop=0)},P=Uo(()=>{let R=w_(t)||y().body;yf.add(g(),R),d.current&&b()}),C=()=>yf.isTopModal(g()),E=Uo(R=>{f.current=R,R&&(l&&C()?b():d.current&&ps(d.current,m))}),O=ir.useCallback(()=>{yf.remove(g(),m)},[m]);ir.useEffect(()=>()=>{O()},[O]),ir.useEffect(()=>{l?P():(!x||!r)&&O()},[l,O,x,r,P]);let M=R=>w=>{R.onKeyDown?.(w),!(w.key!=="Escape"||w.which===229||!C())&&(w.stopPropagation(),s&&s(w,"escapeKeyDown"))},N=R=>w=>{R.onClick?.(w),w.target===w.currentTarget&&s&&s(w,"backdropClick")};return{getRootProps:(R={})=>{let w=eu(e);delete w.onTransitionEnter,delete w.onTransitionExited;let k={...w,...R};return{role:"presentation",...k,onKeyDown:M(k),ref:c}},getBackdropProps:(R={})=>{let w=R;return{"aria-hidden":!0,...w,onClick:N(w),open:l}},getTransitionProps:()=>{let R=()=>{v(!1),n&&n()},w=()=>{v(!0),a&&a(),r&&O()};return{onEnter:Fl(R,i?.props.onEnter??FS),onExited:Fl(w,i?.props.onExited??FS)}},rootRef:c,portalRef:E,isTopModal:C,exited:T,hasTransition:x}}var $S=D_;function qS(e){return V("MuiModal",e)}var DQ=H("MuiModal",["root","hidden","backdrop"]);var fs=S(z(),1),__=e=>{let{open:t,exited:o,classes:r}=e;return F({root:["root",!t&&o&&"hidden"],backdrop:["backdrop"]},qS,r)},B_=L("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,!o.open&&o.exited&&t.hidden]}})(X(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),z_=L(hh,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),k_=hf.forwardRef(function(t,o){let r=q({name:"MuiModal",props:t}),{classes:n,className:a,closeAfterTransition:i=!1,children:s,container:l,component:u,disableAutoFocus:p=!1,disableEnforceFocus:f=!1,disablePortal:d=!1,disableRestoreFocus:c=!1,disableScrollLock:T=!1,hideBackdrop:v=!1,keepMounted:x=!1,onClose:m,onTransitionEnter:y,onTransitionExited:g,open:b,slotProps:P={},slots:C={},theme:E,...O}=r,M={...r,closeAfterTransition:i,disableAutoFocus:p,disableEnforceFocus:f,disablePortal:d,disableRestoreFocus:c,disableScrollLock:T,hideBackdrop:v,keepMounted:x},{getRootProps:N,getBackdropProps:A,getTransitionProps:h,portalRef:D,isTopModal:R,exited:w,hasTransition:k}=$S({...M,rootRef:o}),I={...M,exited:w},$=__(I),de={};if(s.props.tabIndex===void 0&&(de.tabIndex="-1"),k){let{onEnter:ee,onExited:ae}=h();de.onEnter=ee,de.onExited=ae}let ne={slots:C,slotProps:P},[Q,ue]=Ae("root",{ref:o,elementType:B_,externalForwardedProps:{...ne,...O,component:u},getSlotProps:N,ownerState:I,className:j(a,$?.root,!I.open&&I.exited&&$?.hidden)}),[Ge,Ne]=Ae("backdrop",{elementType:z_,externalForwardedProps:ne,shouldForwardComponentProp:!0,getSlotProps:ee=>A({...ee,onClick:ae=>{ee?.onClick&&ee.onClick(ae)}}),className:$?.backdrop,ownerState:I});return!x&&!b&&(!k||w)?null:(0,fs.jsx)(fh,{ref:D,container:l,disablePortal:d,children:(0,fs.jsxs)(Q,{...ue,children:[v?null:(0,fs.jsx)(Ge,{...Ne}),(0,fs.jsx)(bh,{disableEnforceFocus:f,disableAutoFocus:p,disableRestoreFocus:c,isEnabled:R,open:b,children:hf.cloneElement(s,de)})]})})}),Th=k_;var KS=S(U(),1);function GS(e){return V("MuiDivider",e)}var U_=H("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","vertical","withChildren","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),gf=U_;var vh=S(z(),1),L_=e=>{let{absolute:t,children:o,classes:r,flexItem:n,orientation:a,textAlign:i,variant:s}=e;return F({root:["root",t&&"absolute",s,a==="vertical"&&"vertical",n&&"flexItem",o&&"withChildren",i==="right"&&a!=="vertical"&&"textAlignRight",i==="left"&&a!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",a==="vertical"&&"wrapperVertical"]},GS,r)},I_=L("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.absolute&&t.absolute,t[o.variant],o.orientation==="vertical"&&t.vertical,o.flexItem&&t.flexItem,o.children&&t.withChildren,o.textAlign==="right"&&o.orientation!=="vertical"&&t.textAlignRight,o.textAlign==="left"&&o.orientation!=="vertical"&&t.textAlignLeft]}})(X(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),j_=L("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.wrapper,o.orientation==="vertical"&&t.wrapperVertical]}})(X(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),H_=KS.forwardRef(function(t,o){let r=q({props:t,name:"MuiDivider"}),{absolute:n=!1,children:a,className:i,orientation:s="horizontal",component:l=a||s==="vertical"?"div":"hr",flexItem:u=!1,role:p=l!=="hr"?"separator":void 0,textAlign:f="center",variant:d="fullWidth",...c}=r,T={...r,absolute:n,component:l,flexItem:u,orientation:s,role:p,textAlign:f,variant:d},v=L_(T);return(0,vh.jsx)(I_,{as:l,className:j(v.root,i),role:p,ref:o,ownerState:T,"aria-orientation":p==="separator"&&(l!=="hr"||s==="vertical")?s:void 0,...c,children:a?(0,vh.jsx)(j_,{className:v.wrapper,ownerState:T,children:a}):null})}),cu=H_;var YS=S(U(),1);var XS=S(z(),1),V_=e=>{let{classes:t,disableUnderline:o,startAdornment:r,endAdornment:n,size:a,hiddenLabel:i,multiline:s}=e,l={root:["root",!o&&"underline",r&&"adornedStart",n&&"adornedEnd",a==="small"&&`size${K(a)}`,i&&"hiddenLabel",s&&"multiline"],input:["input"]},u=F(l,gS,t);return{...t,...u}},F_=L(ka,{shouldForwardProp:e=>Be(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[...Ba(e,t),!o.disableUnderline&&t.underline]}})(X(({theme:e})=>{let t=e.palette.mode==="light",o=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",n=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:n,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Rn.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Rn.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a},variants:[{props:({ownerState:i})=>!i.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Rn.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Rn.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline):o}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Rn.disabled}, .${Rn.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Rn.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(ot()).map(([i])=>({props:{disableUnderline:!1,color:i},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[i]?.main}`}}})),{props:({ownerState:i})=>i.startAdornment,style:{paddingLeft:12}},{props:({ownerState:i})=>i.endAdornment,style:{paddingRight:12}},{props:({ownerState:i})=>i.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:i,size:s})=>i.multiline&&s==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:i})=>i.multiline&&i.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:i})=>i.multiline&&i.hiddenLabel&&i.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),$_=L(Ua,{name:"MuiFilledInput",slot:"Input",overridesResolver:za})(X(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),QS=YS.forwardRef(function(t,o){let r=q({props:t,name:"MuiFilledInput"}),{disableUnderline:n=!1,fullWidth:a=!1,hiddenLabel:i,inputComponent:s="input",multiline:l=!1,slotProps:u,slots:p={},type:f="text",...d}=r,c={...r,disableUnderline:n,fullWidth:a,inputComponent:s,multiline:l,type:f},T=V_(r),v={root:{ownerState:c},input:{ownerState:c}},x=u?xe(v,u):v,m=p.root??F_,y=p.input??$_;return(0,XS.jsx)(jo,{slots:{root:m,input:y},slotProps:x,fullWidth:a,inputComponent:s,multiline:l,ref:o,type:f,...d,classes:T})});QS.muiName="Input";var pu=QS;var Ft=S(U(),1);function WS(e){return V("MuiFormControl",e)}var RW=H("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var xh=S(z(),1),q_=e=>{let{classes:t,margin:o,fullWidth:r}=e,n={root:["root",o!=="none"&&`margin${K(o)}`,r&&"fullWidth"]};return F(n,WS,t)},G_=L("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[`margin${K(o.margin)}`],o.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),K_=Ft.forwardRef(function(t,o){let r=q({props:t,name:"MuiFormControl"}),{children:n,className:a,color:i="primary",component:s="div",disabled:l=!1,error:u=!1,focused:p,fullWidth:f=!1,hiddenLabel:d=!1,margin:c="none",required:T=!1,size:v="medium",variant:x="outlined",...m}=r,y={...r,color:i,component:s,disabled:l,error:u,fullWidth:f,hiddenLabel:d,margin:c,required:T,size:v,variant:x},g=q_(y),[b,P]=Ft.useState(()=>{let k=!1;return n&&Ft.Children.forEach(n,I=>{if(!Gp(I,["Input","Select"]))return;let $=Gp(I,["Select"])?I.props.input:I;$&&pS($.props)&&(k=!0)}),k}),[C,E]=Ft.useState(()=>{let k=!1;return n&&Ft.Children.forEach(n,I=>{Gp(I,["Input","Select"])&&(Da(I.props,!0)||Da(I.props.inputProps,!0))&&(k=!0)}),k}),[O,M]=Ft.useState(!1);l&&O&&M(!1);let N=p!==void 0&&!l?p:O,A,h=Ft.useRef(!1),D=Ft.useCallback(()=>{E(!0)},[]),R=Ft.useCallback(()=>{E(!1)},[]),w=Ft.useMemo(()=>({adornedStart:b,setAdornedStart:P,color:i,disabled:l,error:u,filled:C,focused:N,fullWidth:f,hiddenLabel:d,size:v,onBlur:()=>{M(!1)},onFocus:()=>{M(!0)},onEmpty:R,onFilled:D,registerEffect:A,required:T,variant:x}),[b,i,l,u,C,N,f,d,A,R,D,T,v,x]);return(0,xh.jsx)(is.Provider,{value:w,children:(0,xh.jsx)(G_,{as:s,ownerState:y,className:j(g.root,a),ref:o,...m,children:n})})}),Sh=K_;var e1=S(U(),1);function ZS(e){return V("MuiFormHelperText",e)}var Y_=H("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),Ch=Y_;var Eh=S(z(),1),JS,X_=e=>{let{classes:t,contained:o,size:r,disabled:n,error:a,filled:i,focused:s,required:l}=e,u={root:["root",n&&"disabled",a&&"error",r&&`size${K(r)}`,o&&"contained",s&&"focused",i&&"filled",l&&"required"]};return F(u,ZS,t)},Q_=L("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.size&&t[`size${K(o.size)}`],o.contained&&t.contained,o.filled&&t.filled]}})(X(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Ch.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Ch.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),W_=e1.forwardRef(function(t,o){let r=q({props:t,name:"MuiFormHelperText"}),{children:n,className:a,component:i="p",disabled:s,error:l,filled:u,focused:p,margin:f,required:d,variant:c,...T}=r,v=Zt(),x=To({props:r,muiFormControl:v,states:["variant","size","disabled","error","filled","focused","required"]}),m={...r,component:i,contained:x.variant==="filled"||x.variant==="outlined",variant:x.variant,size:x.size,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required};delete m.ownerState;let y=X_(m);return(0,Eh.jsx)(Q_,{as:i,className:j(y.root,a),ref:o,...T,ownerState:m,children:n===" "?JS||(JS=(0,Eh.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"})):n})}),Ph=W_;var o1=S(U(),1);function t1(e){return V("MuiFormLabel",e)}var Z_=H("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),An=Z_;var Rh=S(z(),1),J_=e=>{let{classes:t,color:o,focused:r,disabled:n,error:a,filled:i,required:s}=e,l={root:["root",`color${K(o)}`,n&&"disabled",a&&"error",i&&"filled",r&&"focused",s&&"required"],asterisk:["asterisk",a&&"error"]};return F(l,t1,t)},eB=L("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.color==="secondary"&&t.colorSecondary,o.filled&&t.filled]}})(X(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t},style:{[`&.${An.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${An.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${An.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),tB=L("span",{name:"MuiFormLabel",slot:"Asterisk"})(X(({theme:e})=>({[`&.${An.error}`]:{color:(e.vars||e).palette.error.main}}))),oB=o1.forwardRef(function(t,o){let r=q({props:t,name:"MuiFormLabel"}),{children:n,className:a,color:i,component:s="label",disabled:l,error:u,filled:p,focused:f,required:d,...c}=r,T=Zt(),v=To({props:r,muiFormControl:T,states:["color","required","focused","disabled","error","filled"]}),x={...r,color:v.color||"primary",component:s,disabled:v.disabled,error:v.error,filled:v.filled,focused:v.focused,required:v.required},m=J_(x);return(0,Rh.jsxs)(eB,{as:s,ownerState:x,className:j(m.root,a),ref:o,...c,children:[n,v.required&&(0,Rh.jsxs)(tB,{ownerState:x,"aria-hidden":!0,className:m.asterisk,children:["\u2009","*"]})]})}),Oh=oB;var La=S(U(),1);var r1=S(z(),1);function fu(e){return`scale(${e}, ${e**2})`}var rB={entering:{opacity:1,transform:fu(1)},entered:{opacity:1,transform:"none"},exiting:{opacity:0,transform:fu(.75)},exited:{opacity:0,transform:fu(.75)}},nB={opacity:0,transform:fu(.75),visibility:"hidden"},Ah=La.forwardRef(function(t,o){let{addEndListener:r,appear:n=!0,children:a,easing:i,in:s,onEnter:l,onEntered:u,onEntering:p,onExit:f,onExited:d,onExiting:c,style:T,timeout:v="auto",...x}=t,m=os(),y=La.useRef(),g=gn(),b=La.useRef(null),P=Dt(b,Io(a),o),C=oo(b,p),E=oo(b,(D,R)=>{ef(D);let{duration:w,delay:k,easing:I}=rs({style:T,timeout:v,easing:i},{mode:"enter"}),$;v==="auto"?($=g.transitions.getAutoHeightDuration(D.clientHeight),y.current=$):$=w,D.style.transition=[g.transitions.create("opacity",{duration:$,delay:k}),g.transitions.create("transform",{duration:$*.666,delay:k,easing:I})].join(","),l&&l(D,R)}),O=oo(b,u),M=oo(b,c),N=oo(b,D=>{let{duration:R,delay:w,easing:k}=rs({style:T,timeout:v,easing:i},{mode:"exit"}),I;v==="auto"?(I=g.transitions.getAutoHeightDuration(D.clientHeight),y.current=I):I=R,D.style.transition=[g.transitions.create("opacity",{duration:I,delay:w}),g.transitions.create("transform",{duration:I*.666,delay:w||I*.333,easing:k})].join(","),D.style.opacity=0,D.style.transform=fu(.75),f&&f(D)}),A=oo(b,D=>{D.style.transition="",d&&d(D)});return(0,r1.jsx)(Ql,{appear:n,in:s,nodeRef:b,onEnter:E,onEntered:O,onEntering:C,onExit:N,onExited:A,onExiting:M,addEndListener:D=>{v==="auto"&&m.start(y.current||0,D),r&&r(b.current,D)},timeout:v==="auto"?null:v,...x,children:(D,{ownerState:R,...w})=>{let k=tf(D,s,rB,nB,T,a.props.style);return La.cloneElement(a,{style:k,ref:P,...w})}})});Ah&&(Ah.muiSupportAuto=!0);var Mh=Ah;var i1=S(U(),1);function n1(e){return V("MuiInputLabel",e)}var aB=H("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]),a1=aB;var s1=S(z(),1),iB=e=>{let{classes:t,disableUnderline:o}=e,n=F({root:["root",!o&&"underline"],input:["input"]},yS,t);return{...t,...n}},sB=L(ka,{shouldForwardProp:e=>Be(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[...Ba(e,t),!o.disableUnderline&&t.underline]}})(X(({theme:e})=>{let o=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(o=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{[`label + &, .${a1.root} + &`]:{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${ss.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${ss.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${o}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${ss.disabled}, .${ss.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${o}`}},[`&.${ss.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(ot()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),lB=L(Ua,{name:"MuiInput",slot:"Input",overridesResolver:za})({}),l1=i1.forwardRef(function(t,o){let r=q({props:t,name:"MuiInput"}),{disableUnderline:n=!1,fullWidth:a=!1,inputComponent:i="input",multiline:s=!1,slotProps:l,slots:u={},type:p="text",...f}=r,d=iB(r),T={root:{ownerState:{disableUnderline:n}}},v=l?xe(l,T):T,x=u.root??sB,m=u.input??lB;return(0,s1.jsx)(jo,{slots:{root:x,input:m},slotProps:v,fullWidth:a,inputComponent:i,multiline:s,ref:o,type:p,...f,classes:d})});l1.muiName="Input";var du=l1;var u1=S(U(),1);var c1=S(z(),1),uB=e=>{let{classes:t,formControl:o,size:r,shrink:n,disableAnimation:a,variant:i,required:s}=e,l={root:["root",o&&"formControl",!a&&"animated",n&&"shrink",r&&r!=="medium"&&`size${K(r)}`,i],asterisk:[s&&"asterisk"]},u=F(l,n1,t);return{...t,...u}},cB=L(Oh,{shouldForwardProp:e=>Be(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[{[`& .${An.asterisk}`]:t.asterisk},t.root,o.formControl&&t.formControl,o.size==="small"&&t.sizeSmall,o.shrink&&t.shrink,!o.disableAnimation&&t.animated,o.focused&&t.focused,t[o.variant]]}})(X(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:o})=>t==="filled"&&o.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:o,size:r})=>t==="filled"&&o.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:o})=>t==="outlined"&&o.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),pB=u1.forwardRef(function(t,o){let r=q({name:"MuiInputLabel",props:t}),{disableAnimation:n=!1,margin:a,shrink:i,variant:s,className:l,...u}=r,p=Zt(),f=i;typeof f>"u"&&p&&(f=p.filled||p.focused||p.adornedStart);let d=To({props:r,muiFormControl:p,states:["size","variant","required","focused"]}),c={...r,disableAnimation:n,formControl:p,shrink:f,size:d.size,variant:d.variant,required:d.required,focused:d.focused},T=uB(c);return(0,c1.jsx)(cB,{"data-shrink":f,ref:o,className:j(T.root,l),...u,ownerState:c,classes:T})}),wh=pB;var bf=S(U(),1);var p1=S(U(),1),fB=p1.createContext({}),Ia=fB;function f1(e){return V("MuiList",e)}var dJ=H("MuiList",["root","padding","dense","subheader"]);var Tf=S(z(),1),dB=e=>{let{classes:t,disablePadding:o,dense:r,subheader:n}=e;return F({root:["root",!o&&"padding",r&&"dense",n&&"subheader"]},f1,t)},mB=L("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,!o.disablePadding&&t.padding,o.dense&&t.dense,o.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),yB=bf.forwardRef(function(t,o){let r=q({props:t,name:"MuiList"}),{children:n,className:a,component:i="ul",dense:s=!1,disablePadding:l=!1,subheader:u,...p}=r,f=bf.useMemo(()=>({dense:s}),[s]),d={...r,component:i,dense:s,disablePadding:l},c=dB(d);return(0,Tf.jsx)(Ia.Provider,{value:f,children:(0,Tf.jsxs)(mB,{as:i,className:j(c.root,a),ref:o,ownerState:d,...p,children:[u,n]})})}),Nh=yB;var xf=S(U(),1);function d1(e){return V("MuiListItemIcon",e)}var hB=H("MuiListItemIcon",["root","alignItemsFlexStart"]),vf=hB;var m1=S(z(),1),gB=e=>{let{alignItems:t,classes:o}=e;return F({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},d1,o)},bB=L("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(X(({theme:e})=>({minWidth:e.spacing(4.5),color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),TB=xf.forwardRef(function(t,o){let r=q({props:t,name:"MuiListItemIcon"}),{className:n,...a}=r,i=xf.useContext(Ia),s={...r,alignItems:i.alignItems},l=gB(s);return(0,m1.jsx)(bB,{className:j(l.root,n),ownerState:s,ref:o,...a})}),Sf=TB;var vB=H("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Cf=vB;var zf=S(U(),1);var ro=S(U(),1);var Ef=S(U(),1),Pf=Ef.createContext(void 0);function Dh(){let e=Ef.useContext(Pf);if(e===void 0)throw new Error("MUI: RovingTabIndexContext is missing. Roving tab index items must be placed within a roving tab index provider.");return e}var Ze=S(U(),1);var xB=Object.is;function Rf(e,t){if(e===t)return!0;if(!(e instanceof Object)||!(t instanceof Object))return!1;let o=0,r=0;for(let n in e)if(o+=1,!xB(e[n],t[n])||!(n in t))return!1;for(let n in t)r+=1;return o===r}var SB=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown","Home","End"];function zh(e){let{activeItemId:t,getDefaultActiveItemId:o,orientation:r,isRtl:n=!1,isItemFocusable:a=ds,wrap:i=!0}=e,[s,l]=Ze.useState(t),u=Ze.useRef(t),p=s;t!==u.current&&(u.current=t,t!==void 0&&t!==s&&(p=t,l(t)));let f=Ze.useRef(null),d=Ze.useRef(new Map),[c,T]=Ze.useState(0),v=Ze.useMemo(()=>_h(d.current),[c]),x=y1(p,v,a,o),m=Ze.useRef(x);m.current=x;let y=Ze.useCallback(()=>{let A=_h(d.current),h=y1(m.current,A,a,o);return v1(A,h)},[o,a]),g=Ze.useCallback(()=>d.current,[]),b=Uo(A=>{let h=d.current.get(A.id);Rf(h??null,A)||(d.current.set(A.id,A),T(D=>D+1))}),P=Uo(A=>{d.current.delete(A)&&T(h=>h+1)}),C=Uo(A=>{l(A)}),E=Ze.useCallback(A=>m.current===A,[]),O=Ze.useCallback((A,h,D,R)=>{let w=Of(d.current),k=b1(w,A,h,D,R??a);return k?(k.element?.focus(),l(k.id),k):null},[a]),M=Ze.useCallback(A=>({onFocus:R=>{let w=Of(d.current),k=S1(w,R.target);k!==-1&&l(w[k].id)},onKeyDown:R=>{if(R.altKey||R.shiftKey||R.ctrlKey||R.metaKey||!SB.includes(R.key))return;let w=r==="horizontal"?"ArrowLeft":"ArrowUp",k=r==="horizontal"?"ArrowRight":"ArrowDown";r==="horizontal"&&n&&(w="ArrowRight",k="ArrowLeft");let I=Of(d.current),$=Ea(vt(f.current)),de=$===f.current,ne=h1(I,$,m.current),Q="next";switch(R.key){case w:Q="previous",R.preventDefault(),de&&(ne=I.length);break;case k:R.preventDefault(),de&&(ne=-1);break;case"Home":R.preventDefault(),ne=-1;break;case"End":R.preventDefault(),Q="previous",ne=I.length;break;default:return}O(ne,Q,i)},ref:RB(A,R=>{f.current=R})}),[O,n,r,i]),N=Ze.useCallback(A=>{let h=Of(d.current),D=Ea(vt(f.current)),w=D===f.current?-1:h1(h,D,m.current);return O(w,"next",!0,A)?.id??null},[O]);return Ze.useMemo(()=>({activeItemId:x,focusNext:N,getActiveItem:y,getContainerProps:M,getItemMap:g,isItemActive:E,registerItem:b,setActiveItemId:C,unregisterItem:P}),[x,N,y,M,g,E,b,C,P])}function kh(e){let t=Dh(),{activeItemId:o,registerItem:r,unregisterItem:n}=t,a=Ze.useRef(null),i=Ze.useMemo(()=>({disabled:e.disabled??!1,element:null,focusableWhenDisabled:e.focusableWhenDisabled??!1,id:e.id,selected:e.selected??!1,textValue:e.textValue}),[e.disabled,e.focusableWhenDisabled,e.id,e.selected,e.textValue]),s=Ze.useRef(i);s.current=i;let l=Ze.useCallback(p=>{if(a.current=p,p==null){queueMicrotask(()=>{a.current==null&&n(e.id)});return}r({...s.current,element:p})},[e.id,r,n]),u=xt(e.ref,l);return Tt(()=>{a.current&&r({...i,element:a.current})},[i,r]),Tt(()=>{let p=e.id;return()=>{n(p)}},[e.id,n]),{ref:u,tabIndex:o===e.id?0:-1}}function y1(e,t,o,r){return e!=null?CB(e,t,o):EB(t,o,r)}function CB(e,t,o){let r=x1(t,e);return r===-1?T1(t,o):o(t[r])?t[r].id:b1(t,r,"next",!1,o)?.id??null}function EB(e,t,o){let r=o?.(e);if(r!=null){let n=v1(e,r);if(n&&t(n))return n.id}return T1(e,t)}function h1(e,t,o){if(t){let r=S1(e,t);if(r!==-1)return r}return x1(e,o)}function b1(e,t,o,r,n){let a=e.length-1;if(a===-1)return null;let i=!1,s=g1(t,a,o,r),l=s;for(;s!==-1;){if(s===l){if(i)return null;i=!0}let u=e[s];if(!u||!n(u))s=g1(s,a,o,r);else return u}return null}function T1(e,t){return e.find(o=>t(o))?.id??null}function v1(e,t){return t==null?null:e.find(o=>o.id===t)??null}function x1(e,t){return t==null?-1:e.findIndex(o=>o.id===t)}function S1(e,t){return t?e.findIndex(o=>o.element===t||o.element?.contains(t)):-1}function _h(e){let t=Array.from(e.values());if(t.every(n=>n.element==null))return t;let o=t.filter(Bh).sort((n,a)=>PB(n.element,a.element)),r=t.filter(n=>!Bh(n));return[...o,...r]}function Of(e){return _h(e).filter(Bh)}function g1(e,t,o,r=!0){return o==="next"?e===t?r?0:-1:e+1:e===0?r?t:-1:e-1}function ds(e){return e.element?e.focusableWhenDisabled?!0:!e.disabled&&!e.element.hasAttribute("disabled")&&e.element.getAttribute("aria-disabled")!=="true"&&e.element.hasAttribute("tabindex"):!1}function Bh(e){return e.element!=null&&e.element.isConnected}function PB(e,t){if(e===t)return 0;let o=e.compareDocumentPosition(t);return o&Node.DOCUMENT_POSITION_FOLLOWING||o&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:o&Node.DOCUMENT_POSITION_PRECEDING||o&Node.DOCUMENT_POSITION_CONTAINS?1:0}function RB(...e){return t=>{e.forEach(o=>{Pa(o??null,t)})}}var C1=cs;function mu(e,t){if(t==null){e.focus();return}try{e.focus({focusVisible:t==="keyboard"})}catch{e.focus()}}function Af(e){return e?e.type==="mousedown"||e.type==="pointerdown"||e.type==="touchstart"?"pointer":e.type==="keydown"||e.type==="click"&&e.detail===0?"keyboard":null:null}function Mf(e){return e==null||typeof e=="string"&&!e.trim()}function yu(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}var wf=S(U(),1),E1=wf.createContext(null);function hu(){return wf.useContext(E1)}var Uh=E1.Provider;var Nf=S(U(),1),Lh=Nf.createContext(void 0);function P1(){let e=Nf.useContext(Lh);if(e===void 0)throw new Error("MUI: MenuListContext is missing. MenuItems must be placed within Menu or MenuList.");return e}var Df=S(z(),1);function OB(e){let t=e?.element??e;if(!t)return"";if(e?.textValue!==void 0)return e.textValue;let o=t.innerText;return o===void 0&&(o=t.textContent),o??""}function R1(e,t){if(t===void 0)return!0;let o=OB(e);return o=o.trim().toLowerCase(),o.length===0?!1:t.repeating?o[0]===t.keys[0]:o.startsWith(t.keys.join(""))}function AB(e,t){return R1(e,t)?ds(e):!1}function MB(e,t){mu(e,t)}var wB=ro.forwardRef(function(t,o){let{actions:r,autoFocus:n=!1,autoFocusItem:a=!1,children:i,className:s,disabledItemsFocusable:l=!1,disableListWrap:u=!1,onKeyDown:p,variant:f="selectedMenu",...d}=t,c=ro.useRef(null),T=ro.useRef(!1),[v,x]=ro.useState(!1),m=hu(),y=ro.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null}),g=ro.useCallback(w=>f==="selectedMenu"?w.find(k=>k.selected&&ds(k))?.id??w.find(k=>ds(k))?.id??null:w.find(k=>ds(k))?.id??null,[f]),b=zh({activeItemId:void 0,getDefaultActiveItemId:g,orientation:"vertical",wrap:!u}),{activeItemId:P,focusNext:C,getActiveItem:E,getContainerProps:O,getItemMap:M}=b,N=vn((w=!1)=>{if(!c.current||!w&&T.current)return null;if(a){let k=E();if(k?.element){let I=Array.from(M().values()).some(de=>de.selected),$=f==="menu"&&I&&!k.selected&&m==null;return x($),MB(k.element,m),T.current=!0,k.element}return n?(x(!1),c.current.focus(),c.current):null}return n?(x(!1),c.current.focus(),T.current=!0,c.current):(x(!1),null)});Xi(()=>{if(!n&&!a){T.current=!1,x(!1);return}N()},[P,a,n,N]),ro.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(w,{direction:k})=>{let I=!c.current.style.width;if(w.clientHeight<c.current.clientHeight&&I){let $=`${C1($l(w))}px`;c.current.style[k==="rtl"?"paddingLeft":"paddingRight"]=$,c.current.style.width=`calc(100% + ${$})`}return c.current},focusInitialTarget:()=>{if(!c.current)return null;let w=bn(Tn(c.current));return w&&c.current.contains(w)?w:N(!0)}}),[N]);let A=O(),h=Dt(c,A.ref,o),D=ro.useMemo(()=>({itemsFocusableWhenDisabled:l,suppressInitialFocusVisible:v,variant:f}),[l,v,f]),R=vn(w=>{if(v&&x(!1),(w.ctrlKey||w.metaKey||w.altKey)&&p){p(w);return}if(A.onKeyDown(w),w.key.length===1){let I=y.current,$=w.key.toLowerCase(),de=performance.now();I.keys.length>0&&(de-I.lastTime>500?(I.keys=[],I.repeating=!0,I.previousKeyMatched=!0):I.repeating&&$!==I.keys[0]&&(I.repeating=!1)),I.lastTime=de,I.keys.push($);let ne=bn(Tn(c.current)),Q=ne&&!I.repeating&&R1(ne,I);I.previousKeyMatched&&(Q||C(ue=>AB(ue,I))!=null)?w.preventDefault():I.previousKeyMatched=!1}p&&p(w)});return(0,Df.jsx)(Nh,{role:"menu",ref:h,className:s,onKeyDown:R,onFocus:A.onFocus,tabIndex:-1,...d,children:(0,Df.jsx)(Lh.Provider,{value:D,children:(0,Df.jsx)(Pf.Provider,{value:b,children:i})})})}),ms=wB;var zt=S(U(),1);function O1(e){return V("MuiPopover",e)}var Uee=H("MuiPopover",["root","paper"]);var Bf=S(z(),1);function A1(e,t){let o=0;return typeof t=="number"?o=t:t==="center"?o=e.height/2:t==="bottom"&&(o=e.height),o}function M1(e,t){let o=0;return typeof t=="number"?o=t:t==="center"?o=e.width/2:t==="right"&&(o=e.width),o}function w1(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function _f(e){return typeof e=="function"?e():e}var NB=e=>{let{classes:t}=e;return F({root:["root"],paper:["paper"]},O1,t)},DB=L(Th,{name:"MuiPopover",slot:"Root"})({}),Ih=L(Cn,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),_B=zt.forwardRef(function(t,o){let r=q({props:t,name:"MuiPopover"}),{action:n,anchorEl:a,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:s,anchorReference:l="anchorEl",children:u,className:p,container:f,disableAutoFocus:d=!1,elevation:c=8,marginThreshold:T=16,open:v,slots:x={},slotProps:m={},transformOrigin:y={vertical:"top",horizontal:"left"},transitionDuration:g="auto",disableScrollLock:b=!1,...P}=r,C=zt.useRef(),E={...r,anchorOrigin:i,anchorReference:l,elevation:c,marginThreshold:T,transformOrigin:y,transitionDuration:g},O=NB(E),M=zt.useCallback(()=>{if(l==="anchorPosition")return s;let te=_f(a),be=(te&&te.nodeType===1?te:Tn(C.current).body).getBoundingClientRect();return{top:be.top+A1(be,i.vertical),left:be.left+M1(be,i.horizontal)}},[a,i.horizontal,i.vertical,s,l]),N=zt.useCallback(te=>({vertical:A1(te,y.vertical),horizontal:M1(te,y.horizontal)}),[y.horizontal,y.vertical]),A=zt.useCallback(te=>{let oe={width:te.offsetWidth,height:te.offsetHeight},be=N(oe);if(l==="none")return{top:null,left:null,transformOrigin:w1(be)};let Pt=M(),ce=Pt.top-be.vertical,Oe=Pt.left-be.horizontal,pt=ce+oe.height,qt=Oe+oe.width,Ke=$l(_f(a)),ft=Ke.innerHeight-T,Rt=Ke.innerWidth-T;if(T!=null&&ce<T){let ye=ce-T;ce-=ye,be.vertical+=ye}else if(T!=null&&pt>ft){let ye=pt-ft;ce-=ye,be.vertical+=ye}if(T!=null&&Oe<T){let ye=Oe-T;Oe-=ye,be.horizontal+=ye}else if(qt>Rt){let ye=qt-Rt;Oe-=ye,be.horizontal+=ye}return{top:`${Math.round(ce)}px`,left:`${Math.round(Oe)}px`,transformOrigin:w1(be)}},[a,l,M,N,T]),[h,D]=zt.useState(v),R=zt.useCallback(()=>{let te=C.current;if(!te)return;let oe=A(te);oe.top!=null&&te.style.setProperty("top",oe.top),oe.left!=null&&(te.style.left=oe.left),te.style.transformOrigin=oe.transformOrigin,D(!0)},[A]);zt.useEffect(()=>(b&&window.addEventListener("scroll",R),()=>window.removeEventListener("scroll",R)),[a,b,R]);let w=()=>{R()},k=()=>{D(!1)};zt.useEffect(()=>{v&&R()}),zt.useImperativeHandle(n,()=>v?{updatePosition:()=>{R()}}:null,[v,R]),zt.useEffect(()=>{if(!v)return;let te=Nx(()=>{R()}),oe=$l(_f(a));return oe.addEventListener("resize",te),()=>{te.clear(),oe.removeEventListener("resize",te)}},[a,v,R]);let I=g,$={slots:x,slotProps:m},[de,ne]=Ae("transition",{elementType:Mh,externalForwardedProps:$,ownerState:E,getSlotProps:te=>({...te,onEntering:(oe,be)=>{te.onEntering?.(oe,be),w()},onExited:oe=>{te.onExited?.(oe),k()}}),additionalProps:{appear:!0,in:v}});g==="auto"&&!de.muiSupportAuto&&(I=void 0);let Q=f||(a?Tn(_f(a)).body:void 0),[ue,{slots:Ge,slotProps:Ne,...ee}]=Ae("root",{ref:o,elementType:DB,externalForwardedProps:{...$,...P},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:x.backdrop},slotProps:{backdrop:Wi(typeof m.backdrop=="function"?m.backdrop(E):m.backdrop,{invisible:!0})},container:Q,open:v},ownerState:E,className:j(O.root,p)}),[ae,W]=Ae("paper",{ref:C,className:O.paper,elementType:Ih,externalForwardedProps:$,shouldForwardComponentProp:!0,additionalProps:{elevation:c,style:h?void 0:{opacity:0}},ownerState:E});return(0,Bf.jsx)(ue,{...ee,...!Sn(ue)&&{slots:Ge,slotProps:Ne,disableAutoFocus:d,disableScrollLock:b},children:(0,Bf.jsx)(de,{...ne,timeout:I,children:(0,Bf.jsx)(ae,{...W,children:u})})})}),jh=_B;function N1(e){return V("MuiMenu",e)}var ite=H("MuiMenu",["root","paper","list"]);var Hh=S(z(),1),BB={vertical:"top",horizontal:"right"},zB={vertical:"top",horizontal:"left"},kB=e=>{let{classes:t}=e;return F({root:["root"],paper:["paper"],list:["list"]},N1,t)},UB=L(jh,{shouldForwardProp:e=>Be(e)||e==="classes",name:"MuiMenu",slot:"Root"})({}),LB=L(Ih,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),IB=L(ms,{name:"MuiMenu",slot:"List"})({outline:0}),jB=zf.forwardRef(function(t,o){let r=q({props:t,name:"MuiMenu"}),{autoFocus:n=!0,children:a,className:i,disableAutoFocusItem:s=!1,onClose:l,open:u,PopoverClasses:p,transitionDuration:f="auto",variant:d="selectedMenu",slots:c={},slotProps:T={},...v}=r,x=q0(),m={...r,autoFocus:n,disableAutoFocusItem:s,transitionDuration:f,variant:d},y=kB(m),g=n&&u,b=g&&!s,P=zf.useRef(null),C=(w,k)=>{P.current&&(P.current.adjustStyleForScrollbar(w,{direction:x?"rtl":"ltr"}),g&&P.current.focusInitialTarget?.())},E=w=>{w.key==="Tab"&&(w.preventDefault(),l&&l(w,"tabKeyDown"))},O={slots:c,slotProps:T},M=ph({elementType:c.root,externalSlotProps:T.root,ownerState:m,className:[y.root,i]}),[N,A]=Ae("paper",{className:y.paper,elementType:LB,externalForwardedProps:O,shouldForwardComponentProp:!0,ownerState:m}),[h,D]=Ae("list",{className:y.list,elementType:IB,shouldForwardComponentProp:!0,externalForwardedProps:O,getSlotProps:w=>({...w,onKeyDown:k=>{E(k),w.onKeyDown?.(k)}}),ownerState:m}),R=typeof T.transition=="function"?T.transition(m):T.transition;return(0,Hh.jsx)(UB,{disableAutoFocus:n,onClose:l,anchorOrigin:{vertical:"bottom",horizontal:x?"right":"left"},transformOrigin:x?BB:zB,slots:{root:c.root,paper:N,backdrop:c.backdrop,transition:c.transition},slotProps:{root:M,paper:A,backdrop:typeof T.backdrop=="function"?T.backdrop(m):T.backdrop,transition:{...R,onEntering:(...w)=>{C(...w),R?.onEntering?.(...w)}}},open:u,ref:o,transitionDuration:f,ownerState:m,...v,classes:p,children:(0,Hh.jsx)(h,{actions:P,autoFocus:g,autoFocusItem:b,variant:d,...D,children:a})})}),D1=jB;var Mn=S(U(),1);function _1(e){return V("MuiMenuItem",e)}var HB=H("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),ys=HB;var Vh=S(z(),1),VB=(e,t)=>{let{ownerState:o}=e;return[t.root,o.dense&&t.dense,o.divider&&t.divider,!o.disableGutters&&t.gutters]},FB=e=>{let{disabled:t,dense:o,divider:r,disableGutters:n,selected:a,classes:i}=e,l=F({root:["root",o&&"dense",t&&"disabled",!n&&"gutters",r&&"divider",a&&"selected"]},_1,i);return{...i,...l}},$B=L(Lr,{shouldForwardProp:e=>Be(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:VB})(X(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ys.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${ys.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${ys.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${ys.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ys.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${gf.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${gf.inset}`]:{marginLeft:52},[`& .${Cf.root}`]:{marginTop:0,marginBottom:0},[`& .${Cf.inset}`]:{paddingLeft:36},[`& .${vf.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${vf.root} svg`]:{fontSize:"1.25rem"}}}]}))),qB=Mn.forwardRef(function(t,o){let r=q({props:t,name:"MuiMenuItem"}),{autoFocus:n=!1,component:a="li",dense:i=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:u,role:p="menuitem",tabIndex:f,className:d,...c}=r,T=hu(),v=Mn.useContext(Ia),x=Mn.useMemo(()=>({dense:i||v.dense||!1,disableGutters:l}),[v.dense,i,l]),m=P1(),y=Ra(),g=m.suppressInitialFocusVisible,b=m.itemsFocusableWhenDisabled,P=Mn.useRef(null);Xi(()=>{n&&P.current&&mu(P.current,T)},[n]);let C={...r,dense:x.dense,divider:s,disableGutters:l},E=FB(r),O=kh({id:y,ref:o,disabled:r.disabled,focusableWhenDisabled:b,selected:r.selected}),M=Dt(P,O.ref),N;return f!==void 0?N=f:m.variant==="selectedMenu"?N=O.tabIndex:(!r.disabled||b)&&(N=-1),(0,Vh.jsx)(Ia.Provider,{value:x,children:(0,Vh.jsx)($B,{ref:M,role:p,tabIndex:N,component:a,internalNativeButton:!1,focusableWhenDisabled:b,suppressFocusVisible:g,focusVisibleClassName:j(E.focusVisible,u),className:j(E.root,d),...c,ownerState:C,classes:E})})}),wn=qB;var Uf=S(U(),1);function B1(e){return V("MuiNativeSelect",e)}var GB=H("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),kf=GB;var gu=S(z(),1),KB=e=>{let{classes:t,variant:o,disabled:r,multiple:n,open:a,error:i}=e,s={select:["select",o,r&&"disabled",n&&"multiple",i&&"error"],icon:["icon",`icon${K(o)}`,a&&"iconOpen",r&&"disabled"]};return F(s,B1,t)},Fh=L("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${kf.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),YB=L(Fh,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Be,overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.select,t[o.variant],o.error&&t.error,{[`&.${kf.multiple}`]:t.multiple}]}})({}),$h=L("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${kf.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),XB=L($h,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.icon,o.variant&&t[`icon${K(o.variant)}`],o.open&&t.iconOpen]}})({}),QB=Uf.forwardRef(function(t,o){let{className:r,disabled:n,error:a,IconComponent:i,inputRef:s,variant:l="standard",...u}=t,p={...t,disabled:n,variant:l,error:a},f=KB(p);return(0,gu.jsxs)(Uf.Fragment,{children:[(0,gu.jsx)(YB,{ownerState:p,className:j(f.select,r),disabled:n,ref:s||o,...u}),t.multiple?null:(0,gu.jsx)(XB,{as:i,ownerState:p,className:f.icon})]})}),z1=QB;var Lf=S(U(),1);var bu=S(z(),1),k1,WB=L("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:Be})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),ZB=L("legend",{name:"MuiNotchedOutlined",shouldForwardProp:Be})(X(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function qh(e){let{children:t,classes:o,className:r,label:n,notched:a,...i}=e,s=n!=null&&n!=="",l={...e,notched:a,withLabel:s};return(0,bu.jsx)(WB,{"aria-hidden":!0,className:r,ownerState:l,...i,children:(0,bu.jsx)(ZB,{ownerState:l,children:s?(0,bu.jsx)("span",{children:n}):k1||(k1=(0,bu.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"}))})})}var Tu=S(z(),1),JB=e=>{let{classes:t}=e,r=F({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},hS,t);return{...t,...r}},e3=L(ka,{shouldForwardProp:e=>Be(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Ba})(X(({theme:e})=>{let t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${ar.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${ar.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${ar.focused} .${ar.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(ot()).map(([o])=>({props:{color:o},style:{[`&.${ar.focused} .${ar.notchedOutline}`]:{borderColor:(e.vars||e).palette[o].main}}})),{props:{},style:{[`&.${ar.error} .${ar.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${ar.disabled} .${ar.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:o})=>o.startAdornment,style:{paddingLeft:14}},{props:({ownerState:o})=>o.endAdornment,style:{paddingRight:14}},{props:({ownerState:o})=>o.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:o,size:r})=>o.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),t3=L(qh,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(X(({theme:e})=>{let t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),o3=L(Ua,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:za})(X(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),U1=Lf.forwardRef(function(t,o){let r=q({props:t,name:"MuiOutlinedInput"}),{fullWidth:n=!1,inputComponent:a="input",label:i,multiline:s=!1,notched:l,slots:u={},slotProps:p={},type:f="text",...d}=r,c=JB(r),T=Zt(),v=To({props:r,muiFormControl:T,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),x={...r,color:v.color||"primary",disabled:v.disabled,error:v.error,focused:v.focused,formControl:T,fullWidth:n,hiddenLabel:v.hiddenLabel,multiline:s,size:v.size,type:f},m=u.root??e3,y=u.input??o3,[g,b]=Ae("notchedOutline",{elementType:t3,className:c.notchedOutline,shouldForwardComponentProp:!0,ownerState:x,externalForwardedProps:{slots:u,slotProps:p},additionalProps:{label:i!=null&&i!==""&&v.required?(0,Tu.jsxs)(Lf.Fragment,{children:[i,"\u2009","*"]}):i}});return(0,Tu.jsx)(jo,{slots:{root:m,input:y},slotProps:p,renderSuffix:P=>(0,Tu.jsx)(g,{...b,notched:typeof l<"u"?l:!!(P.startAdornment||P.filled||P.focused)}),fullWidth:n,inputComponent:a,multiline:s,ref:o,type:f,...d,classes:{...c,notchedOutline:null}})});U1.muiName="Input";var vu=U1;var gs=S(U(),1);var ze=S(U(),1);function If(e){return V("MuiSelect",e)}var r3=H("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","nativeInput","error"]),hs=r3;var jr=S(z(),1),L1,n3=L(Fh,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[{[`&.${hs.select}`]:t.select},{[`&.${hs.select}`]:t[o.variant]},{[`&.${hs.error}`]:t.error},{[`&.${hs.multiple}`]:t.multiple}]}})({[`&.${hs.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),a3=L($h,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.icon,o.open&&t.iconOpen]}})({}),i3=L("input",{shouldForwardProp:e=>Hp(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"}),s3=e=>{let{classes:t,variant:o,disabled:r,multiple:n,open:a,error:i}=e;return F({select:["select",o,r&&"disabled",n&&"multiple",i&&"error"],icon:["icon",a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]},If,t)},l3=ze.forwardRef(function(t,o){let{"aria-describedby":r,"aria-label":n,autoFocus:a,autoWidth:i,children:s,className:l,defaultOpen:u,defaultValue:p,disabled:f,displayEmpty:d,error:c=!1,IconComponent:T,inputRef:v,labelId:x,MenuProps:m={},multiple:y,name:g,onBlur:b,onChange:P,onClose:C,onFocus:E,onKeyDown:O,onMouseDown:M,onOpen:N,open:A,readOnly:h,renderValue:D,required:R,SelectDisplayProps:w={},tabIndex:k,type:I,value:$,variant:de="standard",...ne}=t,[Q,ue]=ql({controlled:$,default:p,name:"Select"}),[Ge,Ne]=ql({controlled:A,default:u,name:"Select"}),ee=ze.useRef(null),ae=ze.useRef(null),[W,te]=ze.useState(null),{current:oe}=ze.useRef(A!=null),[be,Pt]=ze.useState(),[ce,Oe]=ze.useState(null),pt=Dt(o,v),qt=ze.useCallback(G=>{ae.current=G,G&&te(G)},[]),Ke=W?.parentNode;ze.useImperativeHandle(pt,()=>({focus:()=>{ae.current.focus()},node:ee.current,value:Q}),[Q]);let ft=W!==null&&Ge;ze.useEffect(()=>{if(!ft||!Ke||i||typeof ResizeObserver>"u")return;let G=new ResizeObserver(()=>{Pt(Ke.clientWidth)});return G.observe(Ke),()=>{G.disconnect()}},[ft,Ke,i]),ze.useEffect(()=>{u&&Ge&&W&&!oe&&(Pt(i?null:Ke.clientWidth),ae.current.focus())},[W,i]),ze.useEffect(()=>{a&&ae.current.focus()},[a]),ze.useEffect(()=>{if(!x)return;let G=Tn(ae.current).getElementById(x);if(G){let ve=()=>{getSelection().isCollapsed&&ae.current.focus()};return G.addEventListener("click",ve),()=>{G.removeEventListener("click",ve)}}},[x]);let Rt=(G,ve)=>{G?(Oe(Af(ve)),N&&N(ve)):(Oe(null),C&&C(ve)),oe||(Pt(i?null:Ke.clientWidth),Ne(G))},ye=G=>{M?.(G),G.button===0&&(G.preventDefault(),ae.current.focus(),Rt(!0,G))},po=G=>{Rt(!1,G)},No=ze.Children.toArray(s),dt=G=>{let ve=No.find(Ot=>Ot.props.value===G.target.value);ve!==void 0&&(ue(ve.props.value),P&&P(G,ve))},ia=G=>ve=>{let Ot;if(ve.currentTarget.hasAttribute("tabindex")){if(y){Ot=Array.isArray(Q)?Q.slice():[];let di=Q.indexOf(G.props.value);di===-1?Ot.push(G.props.value):Ot.splice(di,1)}else Ot=G.props.value;if(G.props.onClick&&G.props.onClick(ve),Q!==Ot&&(ue(Ot),P)){let di=ve.nativeEvent||ve,GT=new di.constructor(di.type,di);Object.defineProperty(GT,"target",{writable:!0,value:{value:Ot,name:g}}),P(GT,G)}y||Rt(!1,ve)}},cr=G=>{h||([" ","ArrowUp","ArrowDown","Enter"].includes(G.key)&&(G.preventDefault(),Rt(!0,G)),O?.(G))},Ar=G=>{!ft&&b&&(Object.defineProperty(G,"target",{writable:!0,value:{value:Q,name:g}}),b(G))};delete ne["aria-invalid"];let Le,Te,We=[],re=!1,fo=!1;(Da({value:Q})||d)&&(D?Le=D(Q):re=!0);let cn=No.map(G=>{if(!ze.isValidElement(G))return null;let ve;if(y){if(!Array.isArray(Q))throw new Error(gt(2));ve=Q.some(Ot=>yu(Ot,G.props.value)),ve&&re&&We.push(G.props.children)}else ve=yu(Q,G.props.value),ve&&re&&(Te=G.props.children);return ve&&(fo=!0),ze.cloneElement(G,{"aria-selected":ve?"true":"false",onClick:ia(G),onKeyUp:Ot=>{Ot.key===" "&&Ot.preventDefault(),G.props.onKeyUp&&G.props.onKeyUp(Ot)},role:"option",selected:ve,value:void 0,"data-value":G.props.value})});re&&(y?We.length===0?Le=null:Le=We.reduce((G,ve,Ot)=>(G.push(ve),Ot<We.length-1&&G.push(", "),G),[]):Le=Te);let fl=be;!i&&oe&&W&&(fl=Ke.clientWidth);let dl;typeof k<"u"?dl=k:dl=f?null:0;let Ye=w.id||(g?`mui-component-select-${g}`:void 0),fi={...t,variant:de,value:Q,open:ft,error:c},Fm=s3(fi),$T=typeof m.slotProps?.paper=="function"?m.slotProps.paper(fi):m.slotProps?.paper,BA=typeof m.slotProps?.list=="function"?m.slotProps.list(fi):m.slotProps?.list,qT=or(),zA=or();return(0,jr.jsxs)(ze.Fragment,{children:[(0,jr.jsx)(n3,{as:"div",ref:qt,tabIndex:dl,role:"combobox","aria-controls":ft?qT:void 0,"aria-disabled":f?"true":void 0,"aria-expanded":ft?"true":"false","aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[x,Ye].filter(Boolean).join(" ")||void 0,"aria-describedby":r,"aria-required":R?"true":void 0,"aria-invalid":c?"true":void 0,onKeyDown:cr,onMouseDown:f||h?null:ye,onBlur:Ar,onFocus:E,...w,ownerState:fi,className:j(w.className,Fm.select,l),id:Ye,children:Mf(Le)?L1||(L1=(0,jr.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"})):Le}),(0,jr.jsx)(i3,{"aria-invalid":c,value:Array.isArray(Q)?Q.join(","):Q,name:g,ref:ee,"aria-hidden":!0,onChange:dt,tabIndex:-1,disabled:f,className:Fm.nativeInput,autoFocus:a,required:R,...ne,id:ne.id??zA,ownerState:fi}),(0,jr.jsx)(a3,{as:T,className:Fm.icon,ownerState:fi}),(0,jr.jsx)(Uh,{value:ce,children:(0,jr.jsx)(D1,{id:`menu-${g||""}`,anchorEl:Ke,open:ft,onClose:po,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...m,slotProps:{...m.slotProps,list:{"aria-labelledby":x,role:"listbox","aria-multiselectable":y?"true":void 0,disableListWrap:!0,id:qT,...BA},paper:{...$T,style:{minWidth:fl,...$T?.style}}},children:cn})})]})}),I1=l3;var xu=S(z(),1),u3=e=>{let{classes:t}=e,r=F({root:["root"]},If,t);return{...t,...r}},Gh={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>Be(e)&&e!=="variant"},c3=L(du,Gh)(""),p3=L(vu,Gh)(""),f3=L(pu,Gh)(""),j1=gs.forwardRef(function(t,o){let r=q({name:"MuiSelect",props:t}),{autoWidth:n=!1,children:a,classes:i={},className:s,defaultOpen:l=!1,displayEmpty:u=!1,IconComponent:p=TS,id:f,input:d,inputProps:c,label:T,labelId:v,MenuProps:x,multiple:m=!1,native:y=!1,onClose:g,onOpen:b,open:P,renderValue:C,SelectDisplayProps:E,variant:O="outlined",...M}=r,N=y?z1:I1,A=Zt(),h=To({props:r,muiFormControl:A,states:["variant","error"]}),D=h.variant||O,R={...r,variant:D,classes:i},w=u3(R),{root:k,...I}=w,$=d||{standard:(0,xu.jsx)(c3,{ownerState:R}),outlined:(0,xu.jsx)(p3,{label:T,ownerState:R}),filled:(0,xu.jsx)(f3,{ownerState:R})}[D],de=Dt(o,Io($));return(0,xu.jsx)(gs.Fragment,{children:gs.cloneElement($,{inputComponent:N,inputProps:{children:a,error:h.error,IconComponent:p,variant:D,type:void 0,multiple:m,...y?{id:f}:{autoWidth:n,defaultOpen:l,displayEmpty:u,labelId:v,MenuProps:x,onClose:g,onOpen:b,open:P,renderValue:C,SelectDisplayProps:{id:f,...E}},...c,classes:c?xe(I,c.classes):I,...d?d.props.inputProps:{}},...(m&&y||u)&&D==="outlined"?{notched:!0}:{},ref:de,className:j($.props.className,s,w.root),...!d&&{variant:D},...M})})});j1.muiName="Select";var Kh=j1;var d3=Up({createStyledComponent:L("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>q({props:e,name:"MuiStack"})}),jf=d3;var V1=S(U(),1);function H1(e){return V("MuiTextField",e)}var Tre=H("MuiTextField",["root"]);var ja=S(z(),1),m3={standard:du,filled:pu,outlined:vu},y3=e=>{let{classes:t}=e;return F({root:["root"]},H1,t)},h3=L(Sh,{name:"MuiTextField",slot:"Root"})({}),g3=V1.forwardRef(function(t,o){let r=q({props:t,name:"MuiTextField"}),{autoComplete:n,autoFocus:a=!1,children:i,className:s,color:l="primary",defaultValue:u,disabled:p=!1,error:f=!1,fullWidth:d=!1,helperText:c,id:T,inputRef:v,label:x,maxRows:m,minRows:y,multiline:g=!1,name:b,onBlur:P,onChange:C,onFocus:E,placeholder:O,required:M=!1,rows:N,select:A=!1,slots:h={},slotProps:D={},type:R,value:w,variant:k="outlined",...I}=r,$={...r,autoFocus:a,color:l,disabled:p,error:f,fullWidth:d,multiline:g,required:M,select:A,variant:k},de=y3($),ne=or(T),Q=c&&ne?`${ne}-helper-text`:void 0,ue=x&&ne?`${ne}-label`:void 0,Ge=m3[k],Ne={slots:h,slotProps:D},[ee,ae]=Ae("select",{elementType:Kh,externalForwardedProps:Ne,ownerState:$}),W=A&&ae.native,te={},oe=Ne.slotProps.inputLabel;k==="outlined"&&(oe&&typeof oe.shrink<"u"&&(te.notched=oe.shrink),te.label=x),A&&(W||(te.id=void 0),te["aria-describedby"]=void 0);let[be,Pt]=Ae("root",{elementType:h3,shouldForwardComponentProp:!0,externalForwardedProps:{...Ne,...I},ownerState:$,className:j(de.root,s),ref:o,additionalProps:{disabled:p,error:f,fullWidth:d,required:M,color:l,variant:k}}),[ce,Oe]=Ae("input",{elementType:Ge,externalForwardedProps:Ne,additionalProps:te,ownerState:$}),[pt,qt]=Ae("inputLabel",{elementType:wh,externalForwardedProps:Ne,ownerState:$}),[Ke,ft]=Ae("htmlInput",{elementType:"input",externalForwardedProps:Ne,ownerState:$}),[Rt,ye]=Ae("formHelperText",{elementType:Ph,externalForwardedProps:Ne,ownerState:$}),po=(0,ja.jsx)(ce,{"aria-describedby":Q,autoComplete:n,autoFocus:a,defaultValue:u,fullWidth:d,multiline:g,name:b,rows:N,maxRows:m,minRows:y,type:R,value:w,id:ne,inputRef:v,onBlur:P,onChange:C,onFocus:E,placeholder:O,inputProps:ft,slots:{input:h.htmlInput?Ke:void 0},...Oe});return(0,ja.jsxs)(be,{...Pt,children:[x!=null&&x!==""&&(0,ja.jsx)(pt,{htmlFor:A&&!W?void 0:ne,id:ue,...A&&!W&&{component:"div"},...qt,children:x}),A?(0,ja.jsx)(ee,{"aria-describedby":Q,id:ne,labelId:ue,value:w,input:po,...ae,children:i}):po,c&&(0,ja.jsx)(Rt,{id:Q,...ye,children:c})]})}),bs=g3;var X1=S(U(),1);var Hf=[{label:"Checkout",args:["review","--checkout-only"]},{label:"Address Comments",args:["review-pr-comments"]},{label:"Address Comments (batch)",args:["review-pr-comments","--batch"]},{label:"Address Comments (auto)",args:["review-pr-comments","--auto"]},{label:"Fix conflicts (merge)",args:["fix-conflict"]},{label:"Fix conflicts (rebase)",args:["fix-conflict","--rebase"]}];var b3=new Set(["Checkout","Address Comments","Address Comments (batch)","Address Comments (auto)"]),F1=Hf.filter(({label:e})=>b3.has(e));var Yh=[{key:"force",label:"Force re-run",flag:"--force"},{key:"addressComments",label:"Address comments after",flag:"--address-comments"},{key:"announce",label:"Announce to Slack after",flag:"--announce"}],$1={force:!1,addressComments:!1,announce:!1};function q1(e){return Yh.filter(({key:t})=>e[t]).map(({flag:t})=>t)}function Vf(e){return{border:`1px solid ${e.palette.divider}`,boxShadow:e.tokens.elevation.overlay}}var G1=[{label:"Review",args:["review"]},{label:"Review & refine",args:["review","--refine"]},{label:"Review & apply",args:["review","--apply"]},{label:"Review & post",args:["review","--no-prompt","--submit"]},{label:"High-level review",args:["review","--high-level"]}];var Su=S(z(),1);function K1({value:e,onChange:t}){return Yh.map(({key:o,label:r})=>(0,Su.jsxs)(wn,{role:"menuitemcheckbox","aria-checked":e[o],onClick:()=>t({...e,[o]:!e[o]}),children:[(0,Su.jsx)(Sf,{children:(0,Su.jsx)(df,{size:"small",edge:"start",checked:e[o],tabIndex:-1,disableRipple:!0,sx:{p:0}})}),r]},o))}var Cu=S(z(),1);function Y1(e,t,o){return[...G1.map(({label:r,args:n})=>(0,Cu.jsx)(wn,{onClick:()=>o([...n,...q1(e)]),children:r},r)),(0,Cu.jsx)(cu,{},"modes-divider"),(0,Cu.jsx)(K1,{value:e,onChange:t},"toggles"),(0,Cu.jsx)(cu,{},"toggles-divider")]}var Eu=S(z(),1);function Q1({actionsOnly:e=!1,onPick:t,onClose:o}){let[r,n]=(0,X1.useState)($1);return(0,Eu.jsx)(Cn,{sx:Vf,children:(0,Eu.jsxs)(ms,{autoFocusItem:!0,dense:!0,"aria-label":"Start an assist session for this PR",onKeyDown:s=>{s.key==="Escape"&&(s.preventDefault(),o(!0))},onBlur:s=>{s.currentTarget.contains(s.relatedTarget)||document.hasFocus()&&o(!1)},children:[!e&&Y1(r,n,t),(e?F1:Hf).map(({label:s,args:l})=>(0,Eu.jsx)(wn,{onClick:()=>t(l),children:s},s))]})})}var pC=S(U(),1);var aC=S(U(),1);var Z1=S(z(),1);function W1({value:e,onChange:t,onKeyDown:o,placeholder:r,error:n}){return(0,Z1.jsx)(bs,{autoFocus:!0,fullWidth:!0,multiline:!0,maxRows:6,size:"small",placeholder:r,value:e,onChange:a=>t(a.target.value),onKeyDown:o,error:n,slotProps:{htmlInput:{"aria-label":"Instructions for assist"}}})}var Xh=S(z(),1);function J1({labels:e,disabled:t,onClick:o}){return(0,Xh.jsx)(jf,{direction:"row",spacing:1,sx:{mt:1},children:e.map((r,n)=>(0,Xh.jsx)(us,{size:"small",variant:n===0?"contained":"outlined",disabled:t,onMouseDown:a=>a.preventDefault(),onClick:()=>o(n),children:r},r))})}var Ha=S(z(),1);function eC({error:e,busy:t}){return(0,Ha.jsxs)(Ha.Fragment,{children:[e&&(0,Ha.jsxs)(nu,{role:"alert",variant:"caption",color:"error",sx:{display:"block",mt:.5},children:["Not sent: ",e]}),(0,Ha.jsx)(nu,{variant:"caption",color:"text.secondary",sx:{display:"block",mt:.5},children:t?"Sending\u2026":`Enter to ${e?"retry":"send"} \xB7 Shift+Enter for a new line \xB7 Esc to close`})]})}function tC(e,t){return o=>{o.currentTarget.contains(o.relatedTarget)||document.hasFocus()&&!e&&t(!1)}}function T3(e){return(e.ctrlKey||e.metaKey)&&e.key.toLowerCase()==="c"}function oC(e,t,o){return r=>{if(e&&t&&T3(r)){r.preventDefault(),navigator.clipboard?.writeText(e);return}o(r)}}function rC(e,t){return o=>{o.key==="Escape"?(o.preventDefault(),e(!0)):o.key==="Enter"&&!o.shiftKey&&!o.nativeEvent.isComposing&&(o.preventDefault(),t())}}function nC({instructions:e,onSend:t,onClose:o,busy:r,keepOpen:n,keepDraftOnBlur:a,copyWhenEmpty:i}){let s=f=>{r||t(e,f)},l=oC(i,!e,rC(o,()=>s(0))),u=a&&e.trim()!=="",p=tC(n||r||u,o);return{send:s,onKeyDown:l,onBlur:p}}var Ts=S(z(),1);function iC({onSend:e,onClose:t,placeholder:o="Instructions (optional)",error:r,busy:n=!1,keepDraftOnBlur:a=!1,copyWhenEmpty:i,buttons:s,children:l}){let[u,p]=(0,aC.useState)(""),{send:f,onKeyDown:d,onBlur:c}=nC({instructions:u,onSend:e,onClose:t,busy:n,keepOpen:!!r,keepDraftOnBlur:a,copyWhenEmpty:i});return(0,Ts.jsxs)(Cn,{sx:T=>({...Vf(T),p:1.5}),onBlur:c,children:[(0,Ts.jsx)(W1,{value:u,onChange:p,onKeyDown:d,placeholder:o,error:!!r}),l,s&&(0,Ts.jsx)(J1,{labels:s,disabled:n,onClick:f}),(0,Ts.jsx)(eC,{error:r,busy:n})]})}var Pu=S(U(),1);function Qh(){return globalThis.browser?.storage?.local}var Wh="lastRepo",Zh={async load(){let t=(await Qh()?.get(Wh).catch(()=>{}))?.[Wh];return typeof t=="string"?t:void 0},save(e){Qh()?.set({[Wh]:e}).catch(()=>{})}};async function Ff(e){let t=pn();if(!t)return{ok:!1,message:"assist extension runtime unavailable"};try{return await t.sendMessage(e)??{ok:!1,message:"assist extension did not reply"}}catch(o){return{ok:!1,message:o instanceof Error?o.message:String(o)}}}function sC(){return Ff({type:"assist-clones"})}var Ru=S(z(),1);function lC({value:e,onChange:t}){let[o,r]=(0,Pu.useState)(),[n,a]=(0,Pu.useState)();return(0,Pu.useEffect)(()=>{let i=!0;return Promise.all([sC(),Zh.load()]).then(([s,l])=>{if(i){if(!s.ok)return a(s.message);r(s.clones),l&&s.clones.includes(l)&&t(l)}}),()=>{i=!1}},[t]),(0,Ru.jsxs)(bs,{select:!0,fullWidth:!0,size:"small",sx:{mt:1},value:e,onChange:i=>{Zh.save(i.target.value),t(i.target.value)},error:!!n,helperText:n,slotProps:{select:{native:!0},htmlInput:{"aria-label":"Repo for assist"}},children:[(0,Ru.jsx)("option",{value:"",children:o?"Pick a repo":"Loading repos\u2026"}),o?.map(i=>(0,Ru.jsx)("option",{value:i,children:i},i))]})}var v3=["position: fixed","right: 16px","bottom: 16px","z-index: 2147483647","max-width: 420px","padding: 8px 12px","border-radius: 6px","font: 14px/20px -apple-system, BlinkMacSystemFont, sans-serif","color: var(--fgColor-onEmphasis, #fff)","box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25)"].join(";"),uC={ok:"var(--bgColor-success-emphasis, #1f883d)",error:"var(--bgColor-danger-emphasis, #cf222e)"};function $f(e,t){let o=document.createElement("div");return o.setAttribute("data-assist-toast",""),o.setAttribute("role","status"),o.style.cssText=`${v3};background: ${t?uC.ok:uC.error}`,o.textContent=e,document.body.append(o),setTimeout(()=>o.remove(),t?4e3:8e3),o}var Jh=S(z(),1),cC=[{label:"Prompt"},{label:"Draft",mode:"draft"},{label:"Bug",mode:"bug"}];function fC({pickRepo:e,send:t,dismiss:o}){let[r,n]=(0,pC.useState)("");return(0,Jh.jsx)(iC,{buttons:cC.map(({label:a})=>a),onSend:(a,i)=>{if(e&&!r){$f("Pick a repo to start the assist session in",!1);return}o(!1);let{mode:s}=cC[i];t({instructions:a||void 0,...s&&{mode:s},...e&&{repo:r}})},onClose:o,children:e&&(0,Jh.jsx)(lC,{value:r,onChange:n})})}var eg=S(z(),1);function dC(e,{send:t,dismiss:o}){return e==="review"||e==="azure-devops-review"?(0,eg.jsx)(Q1,{actionsOnly:e==="azure-devops-review",onPick:r=>{o(!1),t({args:r})},onClose:o}):(0,eg.jsx)(fC,{pickRepo:e==="link",send:t,dismiss:o})}var Tr="#0e1116",tg="#141820",qf="#1b202a",Gf="#e3e7ee",og="#8a93a3",Ou="#8b9cff",Kf="#5fd0a0",Yf="#f2b45a",Xf="#f27a7a",mC={secondary:"rgba(255, 255, 255, 0.7)",hover:"rgba(255, 255, 255, 0.12)",active:"rgba(255, 255, 255, 0.16)",dot:"#ffb74d",dotRing:"rgba(0, 0, 0, 0.15)"},Va={dark:{color:{background:Tr,surface:tg,raised:qf,line:"#262c37",lineSoft:"#1d222b",text:{primary:Gf,secondary:og,disabled:"#5c6473"},selected:"rgba(139, 156, 255, 0.14)",wash:{warning:"rgba(242, 180, 90, 0.09)",error:"rgba(242, 122, 122, 0.09)"},well:Tr,stripe:qf,codeWash:"rgba(255, 255, 255, 0.08)",overlay:{background:qf,text:Gf},scrim:"rgba(0, 0, 0, 0.5)",appBar:{background:tg,text:Gf},onAppBar:{...mC,secondary:og,level:{ok:Kf,warn:Yf,over:Xf}},statusBar:{background:tg,text:og,hoverText:Gf,secondary:"#5c6473",hover:qf,active:"transparent",dot:Ou,dotRing:"rgba(139, 156, 255, 0.14)",readyText:Ou,level:{ok:Kf,warn:Yf,over:Xf}},primary:{main:Ou,contrastText:Tr},secondary:{main:"#c99bff",contrastText:Tr},success:{main:Kf,contrastText:Tr},warning:{main:Yf,contrastText:Tr},error:{main:Xf,contrastText:Tr},info:{main:"#6cb6ff",contrastText:Tr}},terminal:{background:Tr,foreground:"#d6dbe4",cursor:Ou,cursorAccent:Tr,selectionBackground:"rgba(139, 156, 255, 0.28)",black:"#1b2029",red:Xf,green:Kf,yellow:Yf,blue:Ou,magenta:"#c99bff",cyan:"#6cc8d8",white:"#c3c9d4",brightBlack:"#5c6473",brightRed:"#ff9a9a",brightGreen:"#82e0b6",brightYellow:"#ffc97a",brightBlue:"#a9b6ff",brightMagenta:"#dcb8ff",brightCyan:"#8fdbe8",brightWhite:"#eef1f6"},elevation:{appBar:0,overlay:"0 14px 34px rgba(0, 0, 0, 0.45)",dialog:"0 30px 60px rgba(0, 0, 0, 0.5)",stuckHeader:"0 8px 8px -9px rgba(0, 0, 0, 0.8)"}},light:{color:{background:"#fff",surface:"#fff",raised:"rgba(0, 0, 0, 0.04)",line:"rgba(0, 0, 0, 0.12)",lineSoft:"rgba(0, 0, 0, 0.12)",text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},selected:"rgba(0, 0, 0, 0.08)",wash:{warning:"rgba(255, 167, 38, 0.09)",error:"rgba(244, 67, 54, 0.09)"},well:"#f3f4f6",stripe:"rgba(0, 0, 0, 0.1)",codeWash:"rgba(0, 0, 0, 0.06)",overlay:{background:"rgba(97, 97, 97, 0.92)",text:"#fff"},onAppBar:{...mC,level:{ok:"#b9f6ca",warn:"#ffe57f",over:"#ffcdd2"}},primary:{main:"#1976d2",light:"#42a5f5",dark:"#1565c0",contrastText:"#fff"},secondary:{main:"#9c27b0",light:"#ba68c8",dark:"#7b1fa2",contrastText:"#fff"},success:{main:"#2e7d32",light:"#4caf50",dark:"#1b5e20",contrastText:"#fff"},warning:{main:"#ed6c02",light:"#ff9800",dark:"#e65100",contrastText:"#fff"},error:{main:"#d32f2f",light:"#ef5350",dark:"#c62828",contrastText:"#fff"},info:{main:"#0288d1",light:"#03a9f4",dark:"#01579b",contrastText:"#fff"},scrim:"rgba(15, 23, 42, 0.32)",statusBar:{background:"#f3f4f6",text:"rgba(0, 0, 0, 0.6)",hoverText:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.38)",hover:"rgba(0, 0, 0, 0.06)",active:"transparent",dot:"#1976d2",dotRing:"rgba(25, 118, 210, 0.16)",readyText:"#1976d2",level:{ok:"#2e7d32",warn:"#ed6c02",over:"#d32f2f"}}},terminal:{background:"#ffffff",foreground:"#333333",cursor:"#333333",cursorAccent:"#ffffff",selectionBackground:"#add6ff",black:"#000000",red:"#cd3131",green:"#107c10",yellow:"#949800",blue:"#0451a5",magenta:"#bc05bc",cyan:"#0598bc",white:"#555555",brightBlack:"#666666",brightRed:"#cd3131",brightGreen:"#14ce14",brightYellow:"#b5ba00",brightBlue:"#0451a5",brightMagenta:"#bc05bc",brightCyan:"#0598bc",brightWhite:"#a5a5a5"},elevation:{appBar:0,overlay:"0 8px 24px rgba(15, 23, 42, 0.12)",dialog:"0 24px 48px rgba(15, 23, 42, 0.18)",stuckHeader:"0 6px 6px -7px rgba(0, 0, 0, 0.2)"}},font:{ui:'"Geist Variable", "Segoe UI", system-ui, sans-serif',mono:'"Geist Mono Variable", ui-monospace, Menlo, Consolas, monospace',terminal:'"Geist Mono Variable", ui-monospace, Menlo, Consolas, monospace'},type:{fontSize:14,terminalFontSize:13,scale:{caption:12,body2:14,body1:15,subtitle2:14,subtitle1:15,h6:16,h5:18,h4:24,button:14},button:{textTransform:"none",fontWeight:600}},radius:{sm:6,md:8},spacing:8,densities:{desktop:{target:30,bar:40,iconButton:{side:30,icon:18,smallSide:26,smallIcon:16},button:{minHeight:30,fontSize:13,paddingX:12},switch:{width:34,height:20,thumb:16},inputFontSize:13,tabBar:{height:44,icon:20,label:10,badge:16,insetTrim:0}},touch:{target:48,bar:60,iconButton:{side:48,icon:30,smallSide:40,smallIcon:24},button:{minHeight:48,fontSize:17,paddingX:20},switch:{width:51,height:31,thumb:27},inputFontSize:16,tabBar:{height:49,icon:26,label:11,badge:18,insetTrim:12}}}};function x3(e){let t=e.getAttribute("data-color-mode");return t==="light"||t==="dark"?t:globalThis.matchMedia?.("(prefers-color-scheme: dark)").matches?"dark":"light"}function Fa(e){let t=x3(e),o=e.getAttribute(t==="dark"?"data-dark-theme":"data-light-theme");return o?o.startsWith("dark")?"dark":"light":t}var S3=["data-color-mode","data-light-theme","data-dark-theme"];function Qf(e,t){let o=Fa(e),r=()=>{let i=Fa(e);i!==o&&(o=i,t(i))},n=new MutationObserver(r);n.observe(e,{attributeFilter:S3});let a=globalThis.matchMedia?.("(prefers-color-scheme: dark)");return a?.addEventListener?.("change",r),()=>{n.disconnect(),a?.removeEventListener?.("change",r)}}var yC="data-assist-send-style";function hC(e){let{color:t}=Va[e];return`
|
|
191
|
+
`),E=b.selectionStart===P;C&&E&&b.setSelectionRange(P,P),r&&r(g)},ref:f,rows:a,style:i,...l}),(0,au.jsx)("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:c,tabIndex:-1,style:{...BD.shadow,...i,paddingTop:0,paddingBottom:0}})]})}),dh=kD;function To({props:e,states:t,muiFormControl:o}){return t.reduce((r,n)=>(r[n]=e[n],o&&typeof e[n]>"u"&&(r[n]=o[n]),r),{})}var lS=S(U(),1),UD=lS.createContext(void 0),is=UD;var uS=S(U(),1);function Zt(){return uS.useContext(is)}function cS(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Da(e,t=!1){return e&&(cS(e.value)&&e.value!==""||t&&cS(e.defaultValue)&&e.defaultValue!=="")}function pS(e){return e.startAdornment}function fS(e){return V("MuiInputBase",e)}var LD=H("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputTypeSearch"]),nr=LD;var _a=S(z(),1),dS,Ba=(e,t)=>{let{ownerState:o}=e;return[t.root,o.formControl&&t.formControl,o.startAdornment&&t.adornedStart,o.endAdornment&&t.adornedEnd,o.error&&t.error,o.size==="small"&&t.sizeSmall,o.multiline&&t.multiline,o.color&&t[`color${K(o.color)}`],o.fullWidth&&t.fullWidth,o.hiddenLabel&&t.hiddenLabel]},za=(e,t)=>{let{ownerState:o}=e;return[t.input,o.type==="search"&&t.inputTypeSearch]},ID=e=>{let{classes:t,color:o,disabled:r,error:n,endAdornment:a,focused:i,formControl:s,fullWidth:l,hiddenLabel:u,multiline:p,readOnly:f,size:d,startAdornment:c,type:T}=e,v={root:["root",`color${K(o)}`,r&&"disabled",n&&"error",l&&"fullWidth",i&&"focused",s&&"formControl",d&&d!=="medium"&&`size${K(d)}`,p&&"multiline",c&&"adornedStart",a&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",T==="search"&&"inputTypeSearch",f&&"readOnly"]};return F(v,fS,t)},ka=L("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Ba})(X(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${nr.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:o})=>t.multiline&&o==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),Ua=L("input",{name:"MuiInputBase",slot:"Input",overridesResolver:za})(X(({theme:e})=>{let t=e.palette.mode==="light",o={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},n=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${nr.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":n,"&:focus::-moz-placeholder":n,"&:focus::-ms-input-placeholder":n},[`&.${nr.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:a})=>!a.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:a})=>a.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),mS=Ox({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),jD=Vt.forwardRef(function(t,o){let r=q({props:t,name:"MuiInputBase"}),{"aria-describedby":n,autoComplete:a,autoFocus:i,className:s,color:l,defaultValue:u,disabled:p,disableInjectingGlobalStyles:f,endAdornment:d,error:c,fullWidth:T=!1,id:v,inputComponent:x="input",inputProps:m={},inputRef:y,margin:g,maxRows:b,minRows:P,multiline:C=!1,name:E,onBlur:O,onChange:M,onClick:N,onFocus:A,onKeyDown:h,onKeyUp:D,placeholder:R,readOnly:w,renderSuffix:k,rows:I,size:$,slotProps:de={},slots:ne={},startAdornment:Q,type:ue="text",value:Ge,...Ne}=r,ee=m.value!=null?m.value:Ge,{current:ae}=Vt.useRef(ee!=null),W=Vt.useRef(),te=Vt.useCallback(re=>{},[]),oe=Dt(W,y,m.ref,te),[be,Pt]=Vt.useState(!1),ce=Zt(),Oe=To({props:r,muiFormControl:ce,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Oe.focused=ce?ce.focused:be,Vt.useEffect(()=>{!ce&&p&&be&&(Pt(!1),O&&O())},[ce,p,be,O]);let pt=ce&&ce.onFilled,qt=ce&&ce.onEmpty,Ke=Vt.useCallback(re=>{Da(re)?pt&&pt():qt&&qt()},[pt,qt]);Xi(()=>{ae&&Ke({value:ee})},[ee,Ke,ae]);let ft=re=>{A&&A(re),m.onFocus&&m.onFocus(re),ce&&ce.onFocus?ce.onFocus(re):Pt(!0)},Rt=re=>{O&&O(re),m.onBlur&&m.onBlur(re),ce&&ce.onBlur?ce.onBlur(re):Pt(!1)},ye=(re,...fo)=>{if(!ae){let cn=re.target||W.current;if(cn==null)throw new Error(gt(1));Ke({value:cn.value})}m.onChange&&m.onChange(re,...fo),M&&M(re,...fo)};Vt.useEffect(()=>{Ke(W.current)},[]);let po=re=>{W.current&&re.currentTarget===re.target&&W.current.focus(),N&&N(re)},No=x,dt=m;C&&No==="input"&&(I?dt={type:void 0,minRows:I,maxRows:I,...dt}:dt={type:void 0,maxRows:b,minRows:P,...dt},No=dh);let ia=re=>{Ke(re.animationName==="mui-auto-fill-cancel"?W.current:{value:"x"})};Vt.useEffect(()=>{ce&&ce.setAdornedStart(!!Q)},[ce,Q]);let cr={...r,color:Oe.color||"primary",disabled:Oe.disabled,endAdornment:d,error:Oe.error,focused:Oe.focused,formControl:ce,fullWidth:T,hiddenLabel:Oe.hiddenLabel,multiline:C,size:Oe.size,startAdornment:Q,type:ue},Ar=ID(cr),Le=ne.root||ka,Te=de.root||{},We=ne.input||Ua;return dt={...dt,...de.input},(0,_a.jsxs)(Vt.Fragment,{children:[!f&&typeof mS=="function"&&(dS||(dS=(0,_a.jsx)(mS,{}))),(0,_a.jsxs)(Le,{...Te,ref:o,onClick:po,...Ne,...!Sn(Le)&&{ownerState:{...cr,...Te.ownerState}},className:j(Ar.root,Te.className,s,w&&"MuiInputBase-readOnly"),children:[Q,(0,_a.jsx)(is.Provider,{value:null,children:(0,_a.jsx)(We,{"aria-invalid":Oe.error,"aria-describedby":n,autoComplete:a,autoFocus:i,defaultValue:u,disabled:Oe.disabled,id:v,onAnimationStart:ia,name:E,placeholder:R,readOnly:w,required:Oe.required,rows:I,value:ee,onKeyDown:h,onKeyUp:D,type:ue,...dt,...!Sn(We)&&{as:No,ownerState:{...cr,...dt.ownerState}},ref:oe,className:j(Ar.input,dt.className,w&&"MuiInputBase-readOnly"),onBlur:Rt,onChange:ye,onFocus:ft})}),d,k?k({...Oe,startAdornment:Q}):null]})]})}),jo=jD;function yS(e){return V("MuiInput",e)}var HD={...nr,...H("MuiInput",["root","underline","input"])},ss=HD;function hS(e){return V("MuiOutlinedInput",e)}var VD={...nr,...H("MuiOutlinedInput",["root","notchedOutline","input"])},ar=VD;function gS(e){return V("MuiFilledInput",e)}var FD={...nr,...H("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},Rn=FD;var bS=S(z(),1),TS=it((0,bS.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");var SS=S(U(),1);var ls=S(U(),1);var vS=S(z(),1),$D={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},qD={opacity:0,visibility:"hidden"},GD=ls.forwardRef(function(t,o){let r=gn(),n={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:i=!0,children:s,easing:l,in:u,onEnter:p,onEntered:f,onEntering:d,onExit:c,onExited:T,onExiting:v,style:x,timeout:m=n,...y}=t,g=ls.useRef(null),b=Dt(g,Io(s),o),P=oo(g,d),C=oo(g,(h,D)=>{ef(h);let R=rs({style:x,timeout:m,easing:l},{mode:"enter"});h.style.transition=r.transitions.create("opacity",R),p&&p(h,D)}),E=oo(g,f),O=oo(g,v),M=oo(g,h=>{let D=rs({style:x,timeout:m,easing:l},{mode:"exit"});h.style.transition=r.transitions.create("opacity",D),c&&c(h)}),N=oo(g,h=>{h.style.transition="",T&&T(h)});return(0,vS.jsx)(Ql,{appear:i,in:u,nodeRef:g,onEnter:C,onEntered:E,onEntering:P,onExit:M,onExited:N,onExiting:O,addEndListener:h=>{a&&a(g.current,h)},timeout:m,...y,children:(h,{ownerState:D,...R})=>{let w=tf(h,u,$D,qD,x,s.props.style);return ls.cloneElement(s,{style:w,ref:b,...R})}})}),mh=GD;function xS(e){return V("MuiBackdrop",e)}var PY=H("MuiBackdrop",["root","invisible"]);var yh=S(z(),1),KD=e=>{let{classes:t,invisible:o}=e;return F({root:["root",o&&"invisible"]},xS,t)},YD=L("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),XD=SS.forwardRef(function(t,o){let r=q({props:t,name:"MuiBackdrop"}),{children:n,className:a,component:i="div",invisible:s=!1,open:l,slotProps:u={},slots:p={},transitionDuration:f,...d}=r,c={...r,component:i,invisible:s},T=KD(c),v={component:i,slots:p,slotProps:u},[x,m]=Ae("root",{elementType:YD,externalForwardedProps:v,className:j(T.root,a),ownerState:c}),[y,g]=Ae("transition",{elementType:mh,externalForwardedProps:v,ownerState:c});return(0,yh.jsx)(y,{in:l,timeout:f,...d,...g,children:(0,yh.jsx)(x,{...m,ref:o,children:n})})}),hh=XD;var QD=H("MuiBox",["root"]),CS=QD;var WD=gr(),ZD=Nl({themeId:At,defaultTheme:WD,defaultClassName:CS.root,generateClassName:Ii.generate}),_t=ZD;var iu=S(U(),1);function ES(e){return V("MuiButton",e)}var JD=H("MuiButton",["root","text","outlined","contained","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),On=JD;var PS=S(U(),1),e_=PS.createContext({}),RS=e_;var OS=S(U(),1),t_=OS.createContext(void 0),AS=t_;var br=S(z(),1),o_=e=>{let{color:t,disableElevation:o,fullWidth:r,size:n,variant:a,loading:i,loadingPosition:s,classes:l}=e,u={root:["root",i&&"loading",a,`size${K(n)}`,`color${K(t)}`,o&&"disableElevation",r&&"fullWidth",i&&`loadingPosition${K(s)}`],startIcon:["icon","startIcon"],endIcon:["icon","endIcon"],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},p=F(u,ES,l);return{...l,...p}},wS=[{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}}}],r_=L(Lr,{shouldForwardProp:e=>Be(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],t[`size${K(o.size)}`],o.color==="inherit"&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth,o.loading&&t.loading]}})(X(({theme:e})=>{let t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],o=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"},[`&.${On.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]},[`&.${On.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${On.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)",[`&.${On.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(ot()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[r].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:o,"--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"},[`&.${On.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${On.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}),[`&.${On.loading}`]:{color:"transparent"}}}]}})),n_=L("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.startIcon,o.loading&&t.startIconLoadingStart]}})(({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}},...wS]})),a_=L("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.endIcon,o.loading&&t.endIconLoadingEnd]}})(({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}},...wS]})),i_=L("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}}]})),MS=L("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),s_=iu.forwardRef(function(t,o){let r=iu.useContext(RS),n=iu.useContext(AS),a=yr(r,t),i=q({props:a,name:"MuiButton"}),{children:s,color:l="primary",component:u="button",className:p,disabled:f=!1,disableElevation:d=!1,disableFocusRipple:c=!1,endIcon:T,focusVisibleClassName:v,fullWidth:x=!1,id:m,loading:y=null,loadingIndicator:g,loadingPosition:b="center",size:P="medium",startIcon:C,type:E,variant:O="text",...M}=i,N=Ra(m),A=g??(0,br.jsx)(ru,{"aria-labelledby":N,color:"inherit",size:16}),h={...i,color:l,component:u,disabled:f,disableElevation:d,disableFocusRipple:c,fullWidth:x,loading:y,loadingIndicator:A,loadingPosition:b,size:P,type:E,variant:O},D=o_(h),R=(C||y&&b==="start")&&(0,br.jsx)(n_,{className:D.startIcon,ownerState:h,children:C||(0,br.jsx)(MS,{className:D.loadingIconPlaceholder,ownerState:h})}),w=(T||y&&b==="end")&&(0,br.jsx)(a_,{className:D.endIcon,ownerState:h,children:T||(0,br.jsx)(MS,{className:D.loadingIconPlaceholder,ownerState:h})}),k=n||"",I=typeof y=="boolean"?(0,br.jsx)("span",{className:D.loadingWrapper,style:{display:"contents"},children:y&&(0,br.jsx)(i_,{className:D.loadingIndicator,ownerState:h,children:A})}):null;return(0,br.jsxs)(r_,{ownerState:h,className:j(r.className,D.root,p,k),component:u,disabled:f||y,focusRipple:!c,focusVisibleClassName:j(D.focusVisible,v),ref:o,internalNativeButton:!0,type:E,id:y?N:m,...M,classes:D,children:[R,b!=="end"&&I,s,b==="end"&&I,w]})}),us=s_;var su=S(U(),1);var DS=S(U(),1);function NS(e){return V("PrivateSwitchBase",e)}var CX=H("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var pf=S(z(),1),l_=e=>{let{classes:t,checked:o,disabled:r,edge:n}=e,a={root:["root",o&&"checked",r&&"disabled",n&&`edge${K(n)}`],input:["input"]};return F(a,NS,t)},u_=L(Lr,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),c_=L("input",{name:"MuiSwitchBase",shouldForwardProp:Be})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),p_=DS.forwardRef(function(t,o){let{autoFocus:r,checked:n,checkedIcon:a,defaultChecked:i,disabled:s,disableFocusRipple:l=!1,edge:u=!1,icon:p,id:f,name:d,onBlur:c,onChange:T,onFocus:v,readOnly:x,required:m=!1,tabIndex:y,type:g,value:b,slots:P={},slotProps:C={},...E}=t,{nativeButton:O,...M}=E,[N,A]=ql({controlled:n,default:!!i,name:"SwitchBase",state:"checked"}),h=Zt(),D=ee=>{v&&v(ee),h&&h.onFocus&&h.onFocus(ee)},R=ee=>{c&&c(ee),h&&h.onBlur&&h.onBlur(ee)},w=ee=>{if(ee.nativeEvent.defaultPrevented||x)return;let ae=ee.target.checked;A(ae),T&&T(ee,ae)},k=s;h&&typeof k>"u"&&(k=h.disabled);let I=g==="checkbox"||g==="radio",$={...t,checked:N,disabled:k,disableFocusRipple:l,edge:u},de=l_($),ne={slots:P,slotProps:C},[Q,ue]=Ae("root",{ref:o,elementType:u_,className:de.root,shouldForwardComponentProp:!0,externalForwardedProps:{...ne,component:"span",...M},getSlotProps:ee=>({...ee,onFocus:ae=>{ee.onFocus?.(ae),D(ae)},onBlur:ae=>{ee.onBlur?.(ae),R(ae)}}),ownerState:$,additionalProps:{centerRipple:!0,focusRipple:!l,role:void 0,tabIndex:null}}),[Ge,Ne]=Ae("input",{elementType:c_,className:de.input,externalForwardedProps:ne,getSlotProps:ee=>({...ee,onChange:ae=>{ee.onChange?.(ae),w(ae)}}),ownerState:$,additionalProps:{autoFocus:r,checked:n,defaultChecked:i,disabled:k,id:I?f:void 0,name:d,readOnly:x,required:m,tabIndex:y,type:g,...g==="checkbox"&&b===void 0?{}:{value:b}}});return(0,pf.jsxs)(Q,{...ue,children:[(0,pf.jsx)(Ge,{...Ne}),N?a:p]})}),_S=p_;var BS=S(z(),1),zS=it((0,BS.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank");var kS=S(z(),1),US=it((0,kS.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox");var LS=S(z(),1),IS=it((0,LS.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function jS(e){return V("MuiCheckbox",e)}var f_=H("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),ff=f_;var lu=S(z(),1),d_=e=>{let{classes:t,indeterminate:o,color:r,size:n}=e,a={root:["root",o&&"indeterminate",`color${K(r)}`,`size${K(n)}`]},i=F(a,jS,t);return{...t,...i}},m_=L(_S,{shouldForwardProp:e=>Be(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.indeterminate&&t.indeterminate,t[`size${K(o.size)}`],o.color!=="default"&&t[`color${K(o.color)}`]]}})(X(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t},style:{[`&.${ff.checked}, &.${ff.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${ff.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),y_=(0,lu.jsx)(US,{}),h_=(0,lu.jsx)(zS,{}),g_=(0,lu.jsx)(IS,{}),b_=su.forwardRef(function(t,o){let r=q({props:t,name:"MuiCheckbox"}),{checkedIcon:n=y_,color:a="primary",icon:i=h_,indeterminate:s=!1,indeterminateIcon:l=g_,size:u="medium",disableRipple:p=!1,className:f,slots:d={},slotProps:c={},...T}=r,v=s?l:i,x=s?l:n,m={...r,disableRipple:p,color:a,indeterminate:s,size:u},y=d_(m),g=c.input,[b,P]=Ae("root",{ref:o,elementType:m_,className:j(y.root,f),shouldForwardComponentProp:!0,externalForwardedProps:{slots:d,slotProps:c,...T},ownerState:m,additionalProps:{type:"checkbox",icon:su.cloneElement(v,{fontSize:v.props.fontSize??u}),checkedIcon:su.cloneElement(x,{fontSize:x.props.fontSize??u}),disableRipple:p,slots:d,slotProps:{input:Wi(typeof g=="function"?g(m):g,{"data-indeterminate":s})}}});return(0,lu.jsx)(b,{...P,classes:y})}),df=b_;function cs(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}function T_(e){let t=vt(e);return t.body===e?ko(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ps(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function HS(e){return parseFloat(ko(e).getComputedStyle(e).paddingRight)||0}function v_(e){let o=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return o||r}function VS(e,t,o,r,n){let a=[t,o,...r];[].forEach.call(e.children,i=>{let s=!a.includes(i),l=!v_(i);s&&l&&ps(i,n)})}function gh(e,t){let o=-1;return e.some((r,n)=>t(r)?(o=n,!0):!1),o}function x_(e,t){let o=[],r=e.container;if(!t.disableScrollLock){if(T_(r)){let i=cs(ko(r));o.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${HS(r)+i}px`;let s=vt(r).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{o.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${HS(l)+i}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=vt(r).body;else{let i=r.parentElement,s=ko(r);a=i?.nodeName==="HTML"&&s.getComputedStyle(i).overflowY==="scroll"?i:r}o.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{o.forEach(({value:a,el:i,property:s})=>{a?i.style.setProperty(s,a):i.style.removeProperty(s)})}}function S_(e){let t=[];return[].forEach.call(e.children,o=>{o.getAttribute("aria-hidden")==="true"&&t.push(o)}),t}var mf=class{constructor(){this.modals=[],this.containers=[]}add(t,o){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&ps(t.modalRef,!1);let n=S_(o);VS(o,t.mount,t.modalRef,n,!0);let a=gh(this.containers,i=>i.container===o);return a!==-1?(this.containers[a].modals.push(t),r):(this.containers.push({modals:[t],container:o,restore:null,hiddenSiblings:n}),r)}mount(t,o){let r=gh(this.containers,a=>a.modals.includes(t)),n=this.containers[r];n.restore||(n.restore=x_(n,o))}remove(t,o=!0){let r=this.modals.indexOf(t);if(r===-1)return r;let n=gh(this.containers,i=>i.modals.includes(t)),a=this.containers[n];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(r,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&ps(t.modalRef,o),VS(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(n,1);else{let i=a.modals[a.modals.length-1];i.modalRef&&ps(i.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}};var hf=S(U(),1);var Bt=S(U(),1);var uu=S(z(),1),C_=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function E_(e){let t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function P_(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;let t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`),o=t(`[name="${e.name}"]:checked`);return o||(o=t(`[name="${e.name}"]`)),o!==e}function R_(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||P_(e))}function O_(e){let t=[],o=[];return Array.from(e.querySelectorAll(C_)).forEach((r,n)=>{let a=E_(r);a===-1||!R_(r)||(a===0?t.push(r):o.push({documentOrder:n,tabIndex:a,node:r}))}),o.sort((r,n)=>r.tabIndex===n.tabIndex?r.documentOrder-n.documentOrder:r.tabIndex-n.tabIndex).map(r=>r.node).concat(t)}function A_(){return!0}function M_(e){let{children:t,disableAutoFocus:o=!1,disableEnforceFocus:r=!1,disableRestoreFocus:n=!1,getTabbable:a=O_,isEnabled:i=A_,open:s}=e,l=Bt.useRef(!1),u=Bt.useRef(null),p=Bt.useRef(null),f=Bt.useRef(null),d=Bt.useRef(null),c=Bt.useRef(!1),T=Bt.useRef(null),v=xt(Io(t),T),x=Bt.useRef(null);Bt.useEffect(()=>{!s||!T.current||(c.current=!o)},[o,s]),Bt.useEffect(()=>{if(!s||!T.current)return;let g=vt(T.current),b=bn(g);return T.current.contains(b)||(T.current.hasAttribute("tabIndex")||T.current.setAttribute("tabIndex","-1"),c.current&&T.current.focus()),()=>{n||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[s]),Bt.useEffect(()=>{if(!s||!T.current)return;let g=vt(T.current),b=E=>{if(x.current=E,r||!i()||E.key!=="Tab")return;bn(g)===T.current&&E.shiftKey&&(l.current=!0,p.current&&p.current.focus())},P=()=>{let E=T.current;if(E===null)return;let O=bn(g);if(!g.hasFocus()||!i()||l.current){l.current=!1;return}if(E.contains(O)||r&&O!==u.current&&O!==p.current)return;if(O!==d.current)d.current=null;else if(d.current!==null)return;if(!c.current)return;let M=[];if((O===u.current||O===p.current)&&(M=a(T.current)),M.length>0){let N=!!(x.current?.shiftKey&&x.current?.key==="Tab"),A=M[0],h=M[M.length-1];typeof A!="string"&&typeof h!="string"&&(N?h.focus():A.focus())}else E.focus()};g.addEventListener("focusin",P),g.addEventListener("keydown",b,!0);let C=setInterval(()=>{let E=bn(g);E&&E.tagName==="BODY"&&P()},50);return()=>{clearInterval(C),g.removeEventListener("focusin",P),g.removeEventListener("keydown",b,!0)}},[o,r,n,i,s,a]);let m=g=>{f.current===null&&(f.current=g.relatedTarget),c.current=!0,d.current=g.target;let b=t.props.onFocus;b&&b(g)},y=g=>{f.current===null&&(f.current=g.relatedTarget),c.current=!0};return(0,uu.jsxs)(Bt.Fragment,{children:[(0,uu.jsx)("div",{tabIndex:s?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),Bt.cloneElement(t,{ref:v,onFocus:m}),(0,uu.jsx)("div",{tabIndex:s?0:-1,onFocus:y,ref:p,"data-testid":"sentinelEnd"})]})}var bh=M_;var ir=S(U(),1);function w_(e){return typeof e=="function"?e():e}function N_(e){return e?e.props.hasOwnProperty("in"):!1}var FS=()=>{},yf=new mf;function D_(e){let{container:t,disableScrollLock:o=!1,closeAfterTransition:r=!1,onTransitionEnter:n,onTransitionExited:a,children:i,onClose:s,open:l,rootRef:u}=e,p=ir.useRef({}),f=ir.useRef(null),d=ir.useRef(null),c=xt(d,u),[T,v]=ir.useState(!l),x=N_(i),m=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(m=!1);let y=()=>vt(f.current),g=()=>(p.current.modalRef=d.current,p.current.mount=f.current,p.current),b=()=>{yf.mount(g(),{disableScrollLock:o}),d.current&&(d.current.scrollTop=0)},P=Uo(()=>{let R=w_(t)||y().body;yf.add(g(),R),d.current&&b()}),C=()=>yf.isTopModal(g()),E=Uo(R=>{f.current=R,R&&(l&&C()?b():d.current&&ps(d.current,m))}),O=ir.useCallback(()=>{yf.remove(g(),m)},[m]);ir.useEffect(()=>()=>{O()},[O]),ir.useEffect(()=>{l?P():(!x||!r)&&O()},[l,O,x,r,P]);let M=R=>w=>{R.onKeyDown?.(w),!(w.key!=="Escape"||w.which===229||!C())&&(w.stopPropagation(),s&&s(w,"escapeKeyDown"))},N=R=>w=>{R.onClick?.(w),w.target===w.currentTarget&&s&&s(w,"backdropClick")};return{getRootProps:(R={})=>{let w=eu(e);delete w.onTransitionEnter,delete w.onTransitionExited;let k={...w,...R};return{role:"presentation",...k,onKeyDown:M(k),ref:c}},getBackdropProps:(R={})=>{let w=R;return{"aria-hidden":!0,...w,onClick:N(w),open:l}},getTransitionProps:()=>{let R=()=>{v(!1),n&&n()},w=()=>{v(!0),a&&a(),r&&O()};return{onEnter:Fl(R,i?.props.onEnter??FS),onExited:Fl(w,i?.props.onExited??FS)}},rootRef:c,portalRef:E,isTopModal:C,exited:T,hasTransition:x}}var $S=D_;function qS(e){return V("MuiModal",e)}var DQ=H("MuiModal",["root","hidden","backdrop"]);var fs=S(z(),1),__=e=>{let{open:t,exited:o,classes:r}=e;return F({root:["root",!t&&o&&"hidden"],backdrop:["backdrop"]},qS,r)},B_=L("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,!o.open&&o.exited&&t.hidden]}})(X(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),z_=L(hh,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),k_=hf.forwardRef(function(t,o){let r=q({name:"MuiModal",props:t}),{classes:n,className:a,closeAfterTransition:i=!1,children:s,container:l,component:u,disableAutoFocus:p=!1,disableEnforceFocus:f=!1,disablePortal:d=!1,disableRestoreFocus:c=!1,disableScrollLock:T=!1,hideBackdrop:v=!1,keepMounted:x=!1,onClose:m,onTransitionEnter:y,onTransitionExited:g,open:b,slotProps:P={},slots:C={},theme:E,...O}=r,M={...r,closeAfterTransition:i,disableAutoFocus:p,disableEnforceFocus:f,disablePortal:d,disableRestoreFocus:c,disableScrollLock:T,hideBackdrop:v,keepMounted:x},{getRootProps:N,getBackdropProps:A,getTransitionProps:h,portalRef:D,isTopModal:R,exited:w,hasTransition:k}=$S({...M,rootRef:o}),I={...M,exited:w},$=__(I),de={};if(s.props.tabIndex===void 0&&(de.tabIndex="-1"),k){let{onEnter:ee,onExited:ae}=h();de.onEnter=ee,de.onExited=ae}let ne={slots:C,slotProps:P},[Q,ue]=Ae("root",{ref:o,elementType:B_,externalForwardedProps:{...ne,...O,component:u},getSlotProps:N,ownerState:I,className:j(a,$?.root,!I.open&&I.exited&&$?.hidden)}),[Ge,Ne]=Ae("backdrop",{elementType:z_,externalForwardedProps:ne,shouldForwardComponentProp:!0,getSlotProps:ee=>A({...ee,onClick:ae=>{ee?.onClick&&ee.onClick(ae)}}),className:$?.backdrop,ownerState:I});return!x&&!b&&(!k||w)?null:(0,fs.jsx)(fh,{ref:D,container:l,disablePortal:d,children:(0,fs.jsxs)(Q,{...ue,children:[v?null:(0,fs.jsx)(Ge,{...Ne}),(0,fs.jsx)(bh,{disableEnforceFocus:f,disableAutoFocus:p,disableRestoreFocus:c,isEnabled:R,open:b,children:hf.cloneElement(s,de)})]})})}),Th=k_;var KS=S(U(),1);function GS(e){return V("MuiDivider",e)}var U_=H("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","vertical","withChildren","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),gf=U_;var vh=S(z(),1),L_=e=>{let{absolute:t,children:o,classes:r,flexItem:n,orientation:a,textAlign:i,variant:s}=e;return F({root:["root",t&&"absolute",s,a==="vertical"&&"vertical",n&&"flexItem",o&&"withChildren",i==="right"&&a!=="vertical"&&"textAlignRight",i==="left"&&a!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",a==="vertical"&&"wrapperVertical"]},GS,r)},I_=L("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.absolute&&t.absolute,t[o.variant],o.orientation==="vertical"&&t.vertical,o.flexItem&&t.flexItem,o.children&&t.withChildren,o.textAlign==="right"&&o.orientation!=="vertical"&&t.textAlignRight,o.textAlign==="left"&&o.orientation!=="vertical"&&t.textAlignLeft]}})(X(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),j_=L("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.wrapper,o.orientation==="vertical"&&t.wrapperVertical]}})(X(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),H_=KS.forwardRef(function(t,o){let r=q({props:t,name:"MuiDivider"}),{absolute:n=!1,children:a,className:i,orientation:s="horizontal",component:l=a||s==="vertical"?"div":"hr",flexItem:u=!1,role:p=l!=="hr"?"separator":void 0,textAlign:f="center",variant:d="fullWidth",...c}=r,T={...r,absolute:n,component:l,flexItem:u,orientation:s,role:p,textAlign:f,variant:d},v=L_(T);return(0,vh.jsx)(I_,{as:l,className:j(v.root,i),role:p,ref:o,ownerState:T,"aria-orientation":p==="separator"&&(l!=="hr"||s==="vertical")?s:void 0,...c,children:a?(0,vh.jsx)(j_,{className:v.wrapper,ownerState:T,children:a}):null})}),cu=H_;var YS=S(U(),1);var XS=S(z(),1),V_=e=>{let{classes:t,disableUnderline:o,startAdornment:r,endAdornment:n,size:a,hiddenLabel:i,multiline:s}=e,l={root:["root",!o&&"underline",r&&"adornedStart",n&&"adornedEnd",a==="small"&&`size${K(a)}`,i&&"hiddenLabel",s&&"multiline"],input:["input"]},u=F(l,gS,t);return{...t,...u}},F_=L(ka,{shouldForwardProp:e=>Be(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[...Ba(e,t),!o.disableUnderline&&t.underline]}})(X(({theme:e})=>{let t=e.palette.mode==="light",o=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",n=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:n,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Rn.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Rn.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a},variants:[{props:({ownerState:i})=>!i.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Rn.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Rn.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline):o}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Rn.disabled}, .${Rn.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Rn.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(ot()).map(([i])=>({props:{disableUnderline:!1,color:i},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[i]?.main}`}}})),{props:({ownerState:i})=>i.startAdornment,style:{paddingLeft:12}},{props:({ownerState:i})=>i.endAdornment,style:{paddingRight:12}},{props:({ownerState:i})=>i.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:i,size:s})=>i.multiline&&s==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:i})=>i.multiline&&i.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:i})=>i.multiline&&i.hiddenLabel&&i.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),$_=L(Ua,{name:"MuiFilledInput",slot:"Input",overridesResolver:za})(X(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),QS=YS.forwardRef(function(t,o){let r=q({props:t,name:"MuiFilledInput"}),{disableUnderline:n=!1,fullWidth:a=!1,hiddenLabel:i,inputComponent:s="input",multiline:l=!1,slotProps:u,slots:p={},type:f="text",...d}=r,c={...r,disableUnderline:n,fullWidth:a,inputComponent:s,multiline:l,type:f},T=V_(r),v={root:{ownerState:c},input:{ownerState:c}},x=u?xe(v,u):v,m=p.root??F_,y=p.input??$_;return(0,XS.jsx)(jo,{slots:{root:m,input:y},slotProps:x,fullWidth:a,inputComponent:s,multiline:l,ref:o,type:f,...d,classes:T})});QS.muiName="Input";var pu=QS;var Ft=S(U(),1);function WS(e){return V("MuiFormControl",e)}var RW=H("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var xh=S(z(),1),q_=e=>{let{classes:t,margin:o,fullWidth:r}=e,n={root:["root",o!=="none"&&`margin${K(o)}`,r&&"fullWidth"]};return F(n,WS,t)},G_=L("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[`margin${K(o.margin)}`],o.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),K_=Ft.forwardRef(function(t,o){let r=q({props:t,name:"MuiFormControl"}),{children:n,className:a,color:i="primary",component:s="div",disabled:l=!1,error:u=!1,focused:p,fullWidth:f=!1,hiddenLabel:d=!1,margin:c="none",required:T=!1,size:v="medium",variant:x="outlined",...m}=r,y={...r,color:i,component:s,disabled:l,error:u,fullWidth:f,hiddenLabel:d,margin:c,required:T,size:v,variant:x},g=q_(y),[b,P]=Ft.useState(()=>{let k=!1;return n&&Ft.Children.forEach(n,I=>{if(!Gp(I,["Input","Select"]))return;let $=Gp(I,["Select"])?I.props.input:I;$&&pS($.props)&&(k=!0)}),k}),[C,E]=Ft.useState(()=>{let k=!1;return n&&Ft.Children.forEach(n,I=>{Gp(I,["Input","Select"])&&(Da(I.props,!0)||Da(I.props.inputProps,!0))&&(k=!0)}),k}),[O,M]=Ft.useState(!1);l&&O&&M(!1);let N=p!==void 0&&!l?p:O,A,h=Ft.useRef(!1),D=Ft.useCallback(()=>{E(!0)},[]),R=Ft.useCallback(()=>{E(!1)},[]),w=Ft.useMemo(()=>({adornedStart:b,setAdornedStart:P,color:i,disabled:l,error:u,filled:C,focused:N,fullWidth:f,hiddenLabel:d,size:v,onBlur:()=>{M(!1)},onFocus:()=>{M(!0)},onEmpty:R,onFilled:D,registerEffect:A,required:T,variant:x}),[b,i,l,u,C,N,f,d,A,R,D,T,v,x]);return(0,xh.jsx)(is.Provider,{value:w,children:(0,xh.jsx)(G_,{as:s,ownerState:y,className:j(g.root,a),ref:o,...m,children:n})})}),Sh=K_;var e1=S(U(),1);function ZS(e){return V("MuiFormHelperText",e)}var Y_=H("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),Ch=Y_;var Eh=S(z(),1),JS,X_=e=>{let{classes:t,contained:o,size:r,disabled:n,error:a,filled:i,focused:s,required:l}=e,u={root:["root",n&&"disabled",a&&"error",r&&`size${K(r)}`,o&&"contained",s&&"focused",i&&"filled",l&&"required"]};return F(u,ZS,t)},Q_=L("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.size&&t[`size${K(o.size)}`],o.contained&&t.contained,o.filled&&t.filled]}})(X(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Ch.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Ch.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),W_=e1.forwardRef(function(t,o){let r=q({props:t,name:"MuiFormHelperText"}),{children:n,className:a,component:i="p",disabled:s,error:l,filled:u,focused:p,margin:f,required:d,variant:c,...T}=r,v=Zt(),x=To({props:r,muiFormControl:v,states:["variant","size","disabled","error","filled","focused","required"]}),m={...r,component:i,contained:x.variant==="filled"||x.variant==="outlined",variant:x.variant,size:x.size,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required};delete m.ownerState;let y=X_(m);return(0,Eh.jsx)(Q_,{as:i,className:j(y.root,a),ref:o,...T,ownerState:m,children:n===" "?JS||(JS=(0,Eh.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"})):n})}),Ph=W_;var o1=S(U(),1);function t1(e){return V("MuiFormLabel",e)}var Z_=H("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),An=Z_;var Rh=S(z(),1),J_=e=>{let{classes:t,color:o,focused:r,disabled:n,error:a,filled:i,required:s}=e,l={root:["root",`color${K(o)}`,n&&"disabled",a&&"error",i&&"filled",r&&"focused",s&&"required"],asterisk:["asterisk",a&&"error"]};return F(l,t1,t)},eB=L("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.color==="secondary"&&t.colorSecondary,o.filled&&t.filled]}})(X(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t},style:{[`&.${An.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${An.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${An.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),tB=L("span",{name:"MuiFormLabel",slot:"Asterisk"})(X(({theme:e})=>({[`&.${An.error}`]:{color:(e.vars||e).palette.error.main}}))),oB=o1.forwardRef(function(t,o){let r=q({props:t,name:"MuiFormLabel"}),{children:n,className:a,color:i,component:s="label",disabled:l,error:u,filled:p,focused:f,required:d,...c}=r,T=Zt(),v=To({props:r,muiFormControl:T,states:["color","required","focused","disabled","error","filled"]}),x={...r,color:v.color||"primary",component:s,disabled:v.disabled,error:v.error,filled:v.filled,focused:v.focused,required:v.required},m=J_(x);return(0,Rh.jsxs)(eB,{as:s,ownerState:x,className:j(m.root,a),ref:o,...c,children:[n,v.required&&(0,Rh.jsxs)(tB,{ownerState:x,"aria-hidden":!0,className:m.asterisk,children:["\u2009","*"]})]})}),Oh=oB;var La=S(U(),1);var r1=S(z(),1);function fu(e){return`scale(${e}, ${e**2})`}var rB={entering:{opacity:1,transform:fu(1)},entered:{opacity:1,transform:"none"},exiting:{opacity:0,transform:fu(.75)},exited:{opacity:0,transform:fu(.75)}},nB={opacity:0,transform:fu(.75),visibility:"hidden"},Ah=La.forwardRef(function(t,o){let{addEndListener:r,appear:n=!0,children:a,easing:i,in:s,onEnter:l,onEntered:u,onEntering:p,onExit:f,onExited:d,onExiting:c,style:T,timeout:v="auto",...x}=t,m=os(),y=La.useRef(),g=gn(),b=La.useRef(null),P=Dt(b,Io(a),o),C=oo(b,p),E=oo(b,(D,R)=>{ef(D);let{duration:w,delay:k,easing:I}=rs({style:T,timeout:v,easing:i},{mode:"enter"}),$;v==="auto"?($=g.transitions.getAutoHeightDuration(D.clientHeight),y.current=$):$=w,D.style.transition=[g.transitions.create("opacity",{duration:$,delay:k}),g.transitions.create("transform",{duration:$*.666,delay:k,easing:I})].join(","),l&&l(D,R)}),O=oo(b,u),M=oo(b,c),N=oo(b,D=>{let{duration:R,delay:w,easing:k}=rs({style:T,timeout:v,easing:i},{mode:"exit"}),I;v==="auto"?(I=g.transitions.getAutoHeightDuration(D.clientHeight),y.current=I):I=R,D.style.transition=[g.transitions.create("opacity",{duration:I,delay:w}),g.transitions.create("transform",{duration:I*.666,delay:w||I*.333,easing:k})].join(","),D.style.opacity=0,D.style.transform=fu(.75),f&&f(D)}),A=oo(b,D=>{D.style.transition="",d&&d(D)});return(0,r1.jsx)(Ql,{appear:n,in:s,nodeRef:b,onEnter:E,onEntered:O,onEntering:C,onExit:N,onExited:A,onExiting:M,addEndListener:D=>{v==="auto"&&m.start(y.current||0,D),r&&r(b.current,D)},timeout:v==="auto"?null:v,...x,children:(D,{ownerState:R,...w})=>{let k=tf(D,s,rB,nB,T,a.props.style);return La.cloneElement(a,{style:k,ref:P,...w})}})});Ah&&(Ah.muiSupportAuto=!0);var Mh=Ah;var i1=S(U(),1);function n1(e){return V("MuiInputLabel",e)}var aB=H("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]),a1=aB;var s1=S(z(),1),iB=e=>{let{classes:t,disableUnderline:o}=e,n=F({root:["root",!o&&"underline"],input:["input"]},yS,t);return{...t,...n}},sB=L(ka,{shouldForwardProp:e=>Be(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[...Ba(e,t),!o.disableUnderline&&t.underline]}})(X(({theme:e})=>{let o=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(o=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{[`label + &, .${a1.root} + &`]:{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${ss.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${ss.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${o}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${ss.disabled}, .${ss.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${o}`}},[`&.${ss.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(ot()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),lB=L(Ua,{name:"MuiInput",slot:"Input",overridesResolver:za})({}),l1=i1.forwardRef(function(t,o){let r=q({props:t,name:"MuiInput"}),{disableUnderline:n=!1,fullWidth:a=!1,inputComponent:i="input",multiline:s=!1,slotProps:l,slots:u={},type:p="text",...f}=r,d=iB(r),T={root:{ownerState:{disableUnderline:n}}},v=l?xe(l,T):T,x=u.root??sB,m=u.input??lB;return(0,s1.jsx)(jo,{slots:{root:x,input:m},slotProps:v,fullWidth:a,inputComponent:i,multiline:s,ref:o,type:p,...f,classes:d})});l1.muiName="Input";var du=l1;var u1=S(U(),1);var c1=S(z(),1),uB=e=>{let{classes:t,formControl:o,size:r,shrink:n,disableAnimation:a,variant:i,required:s}=e,l={root:["root",o&&"formControl",!a&&"animated",n&&"shrink",r&&r!=="medium"&&`size${K(r)}`,i],asterisk:[s&&"asterisk"]},u=F(l,n1,t);return{...t,...u}},cB=L(Oh,{shouldForwardProp:e=>Be(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[{[`& .${An.asterisk}`]:t.asterisk},t.root,o.formControl&&t.formControl,o.size==="small"&&t.sizeSmall,o.shrink&&t.shrink,!o.disableAnimation&&t.animated,o.focused&&t.focused,t[o.variant]]}})(X(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:o})=>t==="filled"&&o.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:o,size:r})=>t==="filled"&&o.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:o})=>t==="outlined"&&o.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),pB=u1.forwardRef(function(t,o){let r=q({name:"MuiInputLabel",props:t}),{disableAnimation:n=!1,margin:a,shrink:i,variant:s,className:l,...u}=r,p=Zt(),f=i;typeof f>"u"&&p&&(f=p.filled||p.focused||p.adornedStart);let d=To({props:r,muiFormControl:p,states:["size","variant","required","focused"]}),c={...r,disableAnimation:n,formControl:p,shrink:f,size:d.size,variant:d.variant,required:d.required,focused:d.focused},T=uB(c);return(0,c1.jsx)(cB,{"data-shrink":f,ref:o,className:j(T.root,l),...u,ownerState:c,classes:T})}),wh=pB;var bf=S(U(),1);var p1=S(U(),1),fB=p1.createContext({}),Ia=fB;function f1(e){return V("MuiList",e)}var dJ=H("MuiList",["root","padding","dense","subheader"]);var Tf=S(z(),1),dB=e=>{let{classes:t,disablePadding:o,dense:r,subheader:n}=e;return F({root:["root",!o&&"padding",r&&"dense",n&&"subheader"]},f1,t)},mB=L("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,!o.disablePadding&&t.padding,o.dense&&t.dense,o.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),yB=bf.forwardRef(function(t,o){let r=q({props:t,name:"MuiList"}),{children:n,className:a,component:i="ul",dense:s=!1,disablePadding:l=!1,subheader:u,...p}=r,f=bf.useMemo(()=>({dense:s}),[s]),d={...r,component:i,dense:s,disablePadding:l},c=dB(d);return(0,Tf.jsx)(Ia.Provider,{value:f,children:(0,Tf.jsxs)(mB,{as:i,className:j(c.root,a),ref:o,ownerState:d,...p,children:[u,n]})})}),Nh=yB;var xf=S(U(),1);function d1(e){return V("MuiListItemIcon",e)}var hB=H("MuiListItemIcon",["root","alignItemsFlexStart"]),vf=hB;var m1=S(z(),1),gB=e=>{let{alignItems:t,classes:o}=e;return F({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},d1,o)},bB=L("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(X(({theme:e})=>({minWidth:e.spacing(4.5),color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),TB=xf.forwardRef(function(t,o){let r=q({props:t,name:"MuiListItemIcon"}),{className:n,...a}=r,i=xf.useContext(Ia),s={...r,alignItems:i.alignItems},l=gB(s);return(0,m1.jsx)(bB,{className:j(l.root,n),ownerState:s,ref:o,...a})}),Sf=TB;var vB=H("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Cf=vB;var zf=S(U(),1);var ro=S(U(),1);var Ef=S(U(),1),Pf=Ef.createContext(void 0);function Dh(){let e=Ef.useContext(Pf);if(e===void 0)throw new Error("MUI: RovingTabIndexContext is missing. Roving tab index items must be placed within a roving tab index provider.");return e}var Ze=S(U(),1);var xB=Object.is;function Rf(e,t){if(e===t)return!0;if(!(e instanceof Object)||!(t instanceof Object))return!1;let o=0,r=0;for(let n in e)if(o+=1,!xB(e[n],t[n])||!(n in t))return!1;for(let n in t)r+=1;return o===r}var SB=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown","Home","End"];function zh(e){let{activeItemId:t,getDefaultActiveItemId:o,orientation:r,isRtl:n=!1,isItemFocusable:a=ds,wrap:i=!0}=e,[s,l]=Ze.useState(t),u=Ze.useRef(t),p=s;t!==u.current&&(u.current=t,t!==void 0&&t!==s&&(p=t,l(t)));let f=Ze.useRef(null),d=Ze.useRef(new Map),[c,T]=Ze.useState(0),v=Ze.useMemo(()=>_h(d.current),[c]),x=y1(p,v,a,o),m=Ze.useRef(x);m.current=x;let y=Ze.useCallback(()=>{let A=_h(d.current),h=y1(m.current,A,a,o);return v1(A,h)},[o,a]),g=Ze.useCallback(()=>d.current,[]),b=Uo(A=>{let h=d.current.get(A.id);Rf(h??null,A)||(d.current.set(A.id,A),T(D=>D+1))}),P=Uo(A=>{d.current.delete(A)&&T(h=>h+1)}),C=Uo(A=>{l(A)}),E=Ze.useCallback(A=>m.current===A,[]),O=Ze.useCallback((A,h,D,R)=>{let w=Of(d.current),k=b1(w,A,h,D,R??a);return k?(k.element?.focus(),l(k.id),k):null},[a]),M=Ze.useCallback(A=>({onFocus:R=>{let w=Of(d.current),k=S1(w,R.target);k!==-1&&l(w[k].id)},onKeyDown:R=>{if(R.altKey||R.shiftKey||R.ctrlKey||R.metaKey||!SB.includes(R.key))return;let w=r==="horizontal"?"ArrowLeft":"ArrowUp",k=r==="horizontal"?"ArrowRight":"ArrowDown";r==="horizontal"&&n&&(w="ArrowRight",k="ArrowLeft");let I=Of(d.current),$=Ea(vt(f.current)),de=$===f.current,ne=h1(I,$,m.current),Q="next";switch(R.key){case w:Q="previous",R.preventDefault(),de&&(ne=I.length);break;case k:R.preventDefault(),de&&(ne=-1);break;case"Home":R.preventDefault(),ne=-1;break;case"End":R.preventDefault(),Q="previous",ne=I.length;break;default:return}O(ne,Q,i)},ref:RB(A,R=>{f.current=R})}),[O,n,r,i]),N=Ze.useCallback(A=>{let h=Of(d.current),D=Ea(vt(f.current)),w=D===f.current?-1:h1(h,D,m.current);return O(w,"next",!0,A)?.id??null},[O]);return Ze.useMemo(()=>({activeItemId:x,focusNext:N,getActiveItem:y,getContainerProps:M,getItemMap:g,isItemActive:E,registerItem:b,setActiveItemId:C,unregisterItem:P}),[x,N,y,M,g,E,b,C,P])}function kh(e){let t=Dh(),{activeItemId:o,registerItem:r,unregisterItem:n}=t,a=Ze.useRef(null),i=Ze.useMemo(()=>({disabled:e.disabled??!1,element:null,focusableWhenDisabled:e.focusableWhenDisabled??!1,id:e.id,selected:e.selected??!1,textValue:e.textValue}),[e.disabled,e.focusableWhenDisabled,e.id,e.selected,e.textValue]),s=Ze.useRef(i);s.current=i;let l=Ze.useCallback(p=>{if(a.current=p,p==null){queueMicrotask(()=>{a.current==null&&n(e.id)});return}r({...s.current,element:p})},[e.id,r,n]),u=xt(e.ref,l);return Tt(()=>{a.current&&r({...i,element:a.current})},[i,r]),Tt(()=>{let p=e.id;return()=>{n(p)}},[e.id,n]),{ref:u,tabIndex:o===e.id?0:-1}}function y1(e,t,o,r){return e!=null?CB(e,t,o):EB(t,o,r)}function CB(e,t,o){let r=x1(t,e);return r===-1?T1(t,o):o(t[r])?t[r].id:b1(t,r,"next",!1,o)?.id??null}function EB(e,t,o){let r=o?.(e);if(r!=null){let n=v1(e,r);if(n&&t(n))return n.id}return T1(e,t)}function h1(e,t,o){if(t){let r=S1(e,t);if(r!==-1)return r}return x1(e,o)}function b1(e,t,o,r,n){let a=e.length-1;if(a===-1)return null;let i=!1,s=g1(t,a,o,r),l=s;for(;s!==-1;){if(s===l){if(i)return null;i=!0}let u=e[s];if(!u||!n(u))s=g1(s,a,o,r);else return u}return null}function T1(e,t){return e.find(o=>t(o))?.id??null}function v1(e,t){return t==null?null:e.find(o=>o.id===t)??null}function x1(e,t){return t==null?-1:e.findIndex(o=>o.id===t)}function S1(e,t){return t?e.findIndex(o=>o.element===t||o.element?.contains(t)):-1}function _h(e){let t=Array.from(e.values());if(t.every(n=>n.element==null))return t;let o=t.filter(Bh).sort((n,a)=>PB(n.element,a.element)),r=t.filter(n=>!Bh(n));return[...o,...r]}function Of(e){return _h(e).filter(Bh)}function g1(e,t,o,r=!0){return o==="next"?e===t?r?0:-1:e+1:e===0?r?t:-1:e-1}function ds(e){return e.element?e.focusableWhenDisabled?!0:!e.disabled&&!e.element.hasAttribute("disabled")&&e.element.getAttribute("aria-disabled")!=="true"&&e.element.hasAttribute("tabindex"):!1}function Bh(e){return e.element!=null&&e.element.isConnected}function PB(e,t){if(e===t)return 0;let o=e.compareDocumentPosition(t);return o&Node.DOCUMENT_POSITION_FOLLOWING||o&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:o&Node.DOCUMENT_POSITION_PRECEDING||o&Node.DOCUMENT_POSITION_CONTAINS?1:0}function RB(...e){return t=>{e.forEach(o=>{Pa(o??null,t)})}}var C1=cs;function mu(e,t){if(t==null){e.focus();return}try{e.focus({focusVisible:t==="keyboard"})}catch{e.focus()}}function Af(e){return e?e.type==="mousedown"||e.type==="pointerdown"||e.type==="touchstart"?"pointer":e.type==="keydown"||e.type==="click"&&e.detail===0?"keyboard":null:null}function Mf(e){return e==null||typeof e=="string"&&!e.trim()}function yu(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}var wf=S(U(),1),E1=wf.createContext(null);function hu(){return wf.useContext(E1)}var Uh=E1.Provider;var Nf=S(U(),1),Lh=Nf.createContext(void 0);function P1(){let e=Nf.useContext(Lh);if(e===void 0)throw new Error("MUI: MenuListContext is missing. MenuItems must be placed within Menu or MenuList.");return e}var Df=S(z(),1);function OB(e){let t=e?.element??e;if(!t)return"";if(e?.textValue!==void 0)return e.textValue;let o=t.innerText;return o===void 0&&(o=t.textContent),o??""}function R1(e,t){if(t===void 0)return!0;let o=OB(e);return o=o.trim().toLowerCase(),o.length===0?!1:t.repeating?o[0]===t.keys[0]:o.startsWith(t.keys.join(""))}function AB(e,t){return R1(e,t)?ds(e):!1}function MB(e,t){mu(e,t)}var wB=ro.forwardRef(function(t,o){let{actions:r,autoFocus:n=!1,autoFocusItem:a=!1,children:i,className:s,disabledItemsFocusable:l=!1,disableListWrap:u=!1,onKeyDown:p,variant:f="selectedMenu",...d}=t,c=ro.useRef(null),T=ro.useRef(!1),[v,x]=ro.useState(!1),m=hu(),y=ro.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null}),g=ro.useCallback(w=>f==="selectedMenu"?w.find(k=>k.selected&&ds(k))?.id??w.find(k=>ds(k))?.id??null:w.find(k=>ds(k))?.id??null,[f]),b=zh({activeItemId:void 0,getDefaultActiveItemId:g,orientation:"vertical",wrap:!u}),{activeItemId:P,focusNext:C,getActiveItem:E,getContainerProps:O,getItemMap:M}=b,N=vn((w=!1)=>{if(!c.current||!w&&T.current)return null;if(a){let k=E();if(k?.element){let I=Array.from(M().values()).some(de=>de.selected),$=f==="menu"&&I&&!k.selected&&m==null;return x($),MB(k.element,m),T.current=!0,k.element}return n?(x(!1),c.current.focus(),c.current):null}return n?(x(!1),c.current.focus(),T.current=!0,c.current):(x(!1),null)});Xi(()=>{if(!n&&!a){T.current=!1,x(!1);return}N()},[P,a,n,N]),ro.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(w,{direction:k})=>{let I=!c.current.style.width;if(w.clientHeight<c.current.clientHeight&&I){let $=`${C1($l(w))}px`;c.current.style[k==="rtl"?"paddingLeft":"paddingRight"]=$,c.current.style.width=`calc(100% + ${$})`}return c.current},focusInitialTarget:()=>{if(!c.current)return null;let w=bn(Tn(c.current));return w&&c.current.contains(w)?w:N(!0)}}),[N]);let A=O(),h=Dt(c,A.ref,o),D=ro.useMemo(()=>({itemsFocusableWhenDisabled:l,suppressInitialFocusVisible:v,variant:f}),[l,v,f]),R=vn(w=>{if(v&&x(!1),(w.ctrlKey||w.metaKey||w.altKey)&&p){p(w);return}if(A.onKeyDown(w),w.key.length===1){let I=y.current,$=w.key.toLowerCase(),de=performance.now();I.keys.length>0&&(de-I.lastTime>500?(I.keys=[],I.repeating=!0,I.previousKeyMatched=!0):I.repeating&&$!==I.keys[0]&&(I.repeating=!1)),I.lastTime=de,I.keys.push($);let ne=bn(Tn(c.current)),Q=ne&&!I.repeating&&R1(ne,I);I.previousKeyMatched&&(Q||C(ue=>AB(ue,I))!=null)?w.preventDefault():I.previousKeyMatched=!1}p&&p(w)});return(0,Df.jsx)(Nh,{role:"menu",ref:h,className:s,onKeyDown:R,onFocus:A.onFocus,tabIndex:-1,...d,children:(0,Df.jsx)(Lh.Provider,{value:D,children:(0,Df.jsx)(Pf.Provider,{value:b,children:i})})})}),ms=wB;var zt=S(U(),1);function O1(e){return V("MuiPopover",e)}var Uee=H("MuiPopover",["root","paper"]);var Bf=S(z(),1);function A1(e,t){let o=0;return typeof t=="number"?o=t:t==="center"?o=e.height/2:t==="bottom"&&(o=e.height),o}function M1(e,t){let o=0;return typeof t=="number"?o=t:t==="center"?o=e.width/2:t==="right"&&(o=e.width),o}function w1(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function _f(e){return typeof e=="function"?e():e}var NB=e=>{let{classes:t}=e;return F({root:["root"],paper:["paper"]},O1,t)},DB=L(Th,{name:"MuiPopover",slot:"Root"})({}),Ih=L(Cn,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),_B=zt.forwardRef(function(t,o){let r=q({props:t,name:"MuiPopover"}),{action:n,anchorEl:a,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:s,anchorReference:l="anchorEl",children:u,className:p,container:f,disableAutoFocus:d=!1,elevation:c=8,marginThreshold:T=16,open:v,slots:x={},slotProps:m={},transformOrigin:y={vertical:"top",horizontal:"left"},transitionDuration:g="auto",disableScrollLock:b=!1,...P}=r,C=zt.useRef(),E={...r,anchorOrigin:i,anchorReference:l,elevation:c,marginThreshold:T,transformOrigin:y,transitionDuration:g},O=NB(E),M=zt.useCallback(()=>{if(l==="anchorPosition")return s;let te=_f(a),be=(te&&te.nodeType===1?te:Tn(C.current).body).getBoundingClientRect();return{top:be.top+A1(be,i.vertical),left:be.left+M1(be,i.horizontal)}},[a,i.horizontal,i.vertical,s,l]),N=zt.useCallback(te=>({vertical:A1(te,y.vertical),horizontal:M1(te,y.horizontal)}),[y.horizontal,y.vertical]),A=zt.useCallback(te=>{let oe={width:te.offsetWidth,height:te.offsetHeight},be=N(oe);if(l==="none")return{top:null,left:null,transformOrigin:w1(be)};let Pt=M(),ce=Pt.top-be.vertical,Oe=Pt.left-be.horizontal,pt=ce+oe.height,qt=Oe+oe.width,Ke=$l(_f(a)),ft=Ke.innerHeight-T,Rt=Ke.innerWidth-T;if(T!=null&&ce<T){let ye=ce-T;ce-=ye,be.vertical+=ye}else if(T!=null&&pt>ft){let ye=pt-ft;ce-=ye,be.vertical+=ye}if(T!=null&&Oe<T){let ye=Oe-T;Oe-=ye,be.horizontal+=ye}else if(qt>Rt){let ye=qt-Rt;Oe-=ye,be.horizontal+=ye}return{top:`${Math.round(ce)}px`,left:`${Math.round(Oe)}px`,transformOrigin:w1(be)}},[a,l,M,N,T]),[h,D]=zt.useState(v),R=zt.useCallback(()=>{let te=C.current;if(!te)return;let oe=A(te);oe.top!=null&&te.style.setProperty("top",oe.top),oe.left!=null&&(te.style.left=oe.left),te.style.transformOrigin=oe.transformOrigin,D(!0)},[A]);zt.useEffect(()=>(b&&window.addEventListener("scroll",R),()=>window.removeEventListener("scroll",R)),[a,b,R]);let w=()=>{R()},k=()=>{D(!1)};zt.useEffect(()=>{v&&R()}),zt.useImperativeHandle(n,()=>v?{updatePosition:()=>{R()}}:null,[v,R]),zt.useEffect(()=>{if(!v)return;let te=Nx(()=>{R()}),oe=$l(_f(a));return oe.addEventListener("resize",te),()=>{te.clear(),oe.removeEventListener("resize",te)}},[a,v,R]);let I=g,$={slots:x,slotProps:m},[de,ne]=Ae("transition",{elementType:Mh,externalForwardedProps:$,ownerState:E,getSlotProps:te=>({...te,onEntering:(oe,be)=>{te.onEntering?.(oe,be),w()},onExited:oe=>{te.onExited?.(oe),k()}}),additionalProps:{appear:!0,in:v}});g==="auto"&&!de.muiSupportAuto&&(I=void 0);let Q=f||(a?Tn(_f(a)).body:void 0),[ue,{slots:Ge,slotProps:Ne,...ee}]=Ae("root",{ref:o,elementType:DB,externalForwardedProps:{...$,...P},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:x.backdrop},slotProps:{backdrop:Wi(typeof m.backdrop=="function"?m.backdrop(E):m.backdrop,{invisible:!0})},container:Q,open:v},ownerState:E,className:j(O.root,p)}),[ae,W]=Ae("paper",{ref:C,className:O.paper,elementType:Ih,externalForwardedProps:$,shouldForwardComponentProp:!0,additionalProps:{elevation:c,style:h?void 0:{opacity:0}},ownerState:E});return(0,Bf.jsx)(ue,{...ee,...!Sn(ue)&&{slots:Ge,slotProps:Ne,disableAutoFocus:d,disableScrollLock:b},children:(0,Bf.jsx)(de,{...ne,timeout:I,children:(0,Bf.jsx)(ae,{...W,children:u})})})}),jh=_B;function N1(e){return V("MuiMenu",e)}var ite=H("MuiMenu",["root","paper","list"]);var Hh=S(z(),1),BB={vertical:"top",horizontal:"right"},zB={vertical:"top",horizontal:"left"},kB=e=>{let{classes:t}=e;return F({root:["root"],paper:["paper"],list:["list"]},N1,t)},UB=L(jh,{shouldForwardProp:e=>Be(e)||e==="classes",name:"MuiMenu",slot:"Root"})({}),LB=L(Ih,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),IB=L(ms,{name:"MuiMenu",slot:"List"})({outline:0}),jB=zf.forwardRef(function(t,o){let r=q({props:t,name:"MuiMenu"}),{autoFocus:n=!0,children:a,className:i,disableAutoFocusItem:s=!1,onClose:l,open:u,PopoverClasses:p,transitionDuration:f="auto",variant:d="selectedMenu",slots:c={},slotProps:T={},...v}=r,x=q0(),m={...r,autoFocus:n,disableAutoFocusItem:s,transitionDuration:f,variant:d},y=kB(m),g=n&&u,b=g&&!s,P=zf.useRef(null),C=(w,k)=>{P.current&&(P.current.adjustStyleForScrollbar(w,{direction:x?"rtl":"ltr"}),g&&P.current.focusInitialTarget?.())},E=w=>{w.key==="Tab"&&(w.preventDefault(),l&&l(w,"tabKeyDown"))},O={slots:c,slotProps:T},M=ph({elementType:c.root,externalSlotProps:T.root,ownerState:m,className:[y.root,i]}),[N,A]=Ae("paper",{className:y.paper,elementType:LB,externalForwardedProps:O,shouldForwardComponentProp:!0,ownerState:m}),[h,D]=Ae("list",{className:y.list,elementType:IB,shouldForwardComponentProp:!0,externalForwardedProps:O,getSlotProps:w=>({...w,onKeyDown:k=>{E(k),w.onKeyDown?.(k)}}),ownerState:m}),R=typeof T.transition=="function"?T.transition(m):T.transition;return(0,Hh.jsx)(UB,{disableAutoFocus:n,onClose:l,anchorOrigin:{vertical:"bottom",horizontal:x?"right":"left"},transformOrigin:x?BB:zB,slots:{root:c.root,paper:N,backdrop:c.backdrop,transition:c.transition},slotProps:{root:M,paper:A,backdrop:typeof T.backdrop=="function"?T.backdrop(m):T.backdrop,transition:{...R,onEntering:(...w)=>{C(...w),R?.onEntering?.(...w)}}},open:u,ref:o,transitionDuration:f,ownerState:m,...v,classes:p,children:(0,Hh.jsx)(h,{actions:P,autoFocus:g,autoFocusItem:b,variant:d,...D,children:a})})}),D1=jB;var Mn=S(U(),1);function _1(e){return V("MuiMenuItem",e)}var HB=H("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),ys=HB;var Vh=S(z(),1),VB=(e,t)=>{let{ownerState:o}=e;return[t.root,o.dense&&t.dense,o.divider&&t.divider,!o.disableGutters&&t.gutters]},FB=e=>{let{disabled:t,dense:o,divider:r,disableGutters:n,selected:a,classes:i}=e,l=F({root:["root",o&&"dense",t&&"disabled",!n&&"gutters",r&&"divider",a&&"selected"]},_1,i);return{...i,...l}},$B=L(Lr,{shouldForwardProp:e=>Be(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:VB})(X(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ys.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${ys.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${ys.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${ys.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ys.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${gf.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${gf.inset}`]:{marginLeft:52},[`& .${Cf.root}`]:{marginTop:0,marginBottom:0},[`& .${Cf.inset}`]:{paddingLeft:36},[`& .${vf.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${vf.root} svg`]:{fontSize:"1.25rem"}}}]}))),qB=Mn.forwardRef(function(t,o){let r=q({props:t,name:"MuiMenuItem"}),{autoFocus:n=!1,component:a="li",dense:i=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:u,role:p="menuitem",tabIndex:f,className:d,...c}=r,T=hu(),v=Mn.useContext(Ia),x=Mn.useMemo(()=>({dense:i||v.dense||!1,disableGutters:l}),[v.dense,i,l]),m=P1(),y=Ra(),g=m.suppressInitialFocusVisible,b=m.itemsFocusableWhenDisabled,P=Mn.useRef(null);Xi(()=>{n&&P.current&&mu(P.current,T)},[n]);let C={...r,dense:x.dense,divider:s,disableGutters:l},E=FB(r),O=kh({id:y,ref:o,disabled:r.disabled,focusableWhenDisabled:b,selected:r.selected}),M=Dt(P,O.ref),N;return f!==void 0?N=f:m.variant==="selectedMenu"?N=O.tabIndex:(!r.disabled||b)&&(N=-1),(0,Vh.jsx)(Ia.Provider,{value:x,children:(0,Vh.jsx)($B,{ref:M,role:p,tabIndex:N,component:a,internalNativeButton:!1,focusableWhenDisabled:b,suppressFocusVisible:g,focusVisibleClassName:j(E.focusVisible,u),className:j(E.root,d),...c,ownerState:C,classes:E})})}),wn=qB;var Uf=S(U(),1);function B1(e){return V("MuiNativeSelect",e)}var GB=H("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),kf=GB;var gu=S(z(),1),KB=e=>{let{classes:t,variant:o,disabled:r,multiple:n,open:a,error:i}=e,s={select:["select",o,r&&"disabled",n&&"multiple",i&&"error"],icon:["icon",`icon${K(o)}`,a&&"iconOpen",r&&"disabled"]};return F(s,B1,t)},Fh=L("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${kf.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),YB=L(Fh,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Be,overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.select,t[o.variant],o.error&&t.error,{[`&.${kf.multiple}`]:t.multiple}]}})({}),$h=L("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${kf.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),XB=L($h,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.icon,o.variant&&t[`icon${K(o.variant)}`],o.open&&t.iconOpen]}})({}),QB=Uf.forwardRef(function(t,o){let{className:r,disabled:n,error:a,IconComponent:i,inputRef:s,variant:l="standard",...u}=t,p={...t,disabled:n,variant:l,error:a},f=KB(p);return(0,gu.jsxs)(Uf.Fragment,{children:[(0,gu.jsx)(YB,{ownerState:p,className:j(f.select,r),disabled:n,ref:s||o,...u}),t.multiple?null:(0,gu.jsx)(XB,{as:i,ownerState:p,className:f.icon})]})}),z1=QB;var Lf=S(U(),1);var bu=S(z(),1),k1,WB=L("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:Be})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),ZB=L("legend",{name:"MuiNotchedOutlined",shouldForwardProp:Be})(X(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function qh(e){let{children:t,classes:o,className:r,label:n,notched:a,...i}=e,s=n!=null&&n!=="",l={...e,notched:a,withLabel:s};return(0,bu.jsx)(WB,{"aria-hidden":!0,className:r,ownerState:l,...i,children:(0,bu.jsx)(ZB,{ownerState:l,children:s?(0,bu.jsx)("span",{children:n}):k1||(k1=(0,bu.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"}))})})}var Tu=S(z(),1),JB=e=>{let{classes:t}=e,r=F({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},hS,t);return{...t,...r}},e3=L(ka,{shouldForwardProp:e=>Be(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Ba})(X(({theme:e})=>{let t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${ar.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${ar.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${ar.focused} .${ar.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(ot()).map(([o])=>({props:{color:o},style:{[`&.${ar.focused} .${ar.notchedOutline}`]:{borderColor:(e.vars||e).palette[o].main}}})),{props:{},style:{[`&.${ar.error} .${ar.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${ar.disabled} .${ar.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:o})=>o.startAdornment,style:{paddingLeft:14}},{props:({ownerState:o})=>o.endAdornment,style:{paddingRight:14}},{props:({ownerState:o})=>o.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:o,size:r})=>o.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),t3=L(qh,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(X(({theme:e})=>{let t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),o3=L(Ua,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:za})(X(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),U1=Lf.forwardRef(function(t,o){let r=q({props:t,name:"MuiOutlinedInput"}),{fullWidth:n=!1,inputComponent:a="input",label:i,multiline:s=!1,notched:l,slots:u={},slotProps:p={},type:f="text",...d}=r,c=JB(r),T=Zt(),v=To({props:r,muiFormControl:T,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),x={...r,color:v.color||"primary",disabled:v.disabled,error:v.error,focused:v.focused,formControl:T,fullWidth:n,hiddenLabel:v.hiddenLabel,multiline:s,size:v.size,type:f},m=u.root??e3,y=u.input??o3,[g,b]=Ae("notchedOutline",{elementType:t3,className:c.notchedOutline,shouldForwardComponentProp:!0,ownerState:x,externalForwardedProps:{slots:u,slotProps:p},additionalProps:{label:i!=null&&i!==""&&v.required?(0,Tu.jsxs)(Lf.Fragment,{children:[i,"\u2009","*"]}):i}});return(0,Tu.jsx)(jo,{slots:{root:m,input:y},slotProps:p,renderSuffix:P=>(0,Tu.jsx)(g,{...b,notched:typeof l<"u"?l:!!(P.startAdornment||P.filled||P.focused)}),fullWidth:n,inputComponent:a,multiline:s,ref:o,type:f,...d,classes:{...c,notchedOutline:null}})});U1.muiName="Input";var vu=U1;var gs=S(U(),1);var ze=S(U(),1);function If(e){return V("MuiSelect",e)}var r3=H("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","nativeInput","error"]),hs=r3;var jr=S(z(),1),L1,n3=L(Fh,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[{[`&.${hs.select}`]:t.select},{[`&.${hs.select}`]:t[o.variant]},{[`&.${hs.error}`]:t.error},{[`&.${hs.multiple}`]:t.multiple}]}})({[`&.${hs.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),a3=L($h,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.icon,o.open&&t.iconOpen]}})({}),i3=L("input",{shouldForwardProp:e=>Hp(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"}),s3=e=>{let{classes:t,variant:o,disabled:r,multiple:n,open:a,error:i}=e;return F({select:["select",o,r&&"disabled",n&&"multiple",i&&"error"],icon:["icon",a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]},If,t)},l3=ze.forwardRef(function(t,o){let{"aria-describedby":r,"aria-label":n,autoFocus:a,autoWidth:i,children:s,className:l,defaultOpen:u,defaultValue:p,disabled:f,displayEmpty:d,error:c=!1,IconComponent:T,inputRef:v,labelId:x,MenuProps:m={},multiple:y,name:g,onBlur:b,onChange:P,onClose:C,onFocus:E,onKeyDown:O,onMouseDown:M,onOpen:N,open:A,readOnly:h,renderValue:D,required:R,SelectDisplayProps:w={},tabIndex:k,type:I,value:$,variant:de="standard",...ne}=t,[Q,ue]=ql({controlled:$,default:p,name:"Select"}),[Ge,Ne]=ql({controlled:A,default:u,name:"Select"}),ee=ze.useRef(null),ae=ze.useRef(null),[W,te]=ze.useState(null),{current:oe}=ze.useRef(A!=null),[be,Pt]=ze.useState(),[ce,Oe]=ze.useState(null),pt=Dt(o,v),qt=ze.useCallback(G=>{ae.current=G,G&&te(G)},[]),Ke=W?.parentNode;ze.useImperativeHandle(pt,()=>({focus:()=>{ae.current.focus()},node:ee.current,value:Q}),[Q]);let ft=W!==null&&Ge;ze.useEffect(()=>{if(!ft||!Ke||i||typeof ResizeObserver>"u")return;let G=new ResizeObserver(()=>{Pt(Ke.clientWidth)});return G.observe(Ke),()=>{G.disconnect()}},[ft,Ke,i]),ze.useEffect(()=>{u&&Ge&&W&&!oe&&(Pt(i?null:Ke.clientWidth),ae.current.focus())},[W,i]),ze.useEffect(()=>{a&&ae.current.focus()},[a]),ze.useEffect(()=>{if(!x)return;let G=Tn(ae.current).getElementById(x);if(G){let ve=()=>{getSelection().isCollapsed&&ae.current.focus()};return G.addEventListener("click",ve),()=>{G.removeEventListener("click",ve)}}},[x]);let Rt=(G,ve)=>{G?(Oe(Af(ve)),N&&N(ve)):(Oe(null),C&&C(ve)),oe||(Pt(i?null:Ke.clientWidth),Ne(G))},ye=G=>{M?.(G),G.button===0&&(G.preventDefault(),ae.current.focus(),Rt(!0,G))},po=G=>{Rt(!1,G)},No=ze.Children.toArray(s),dt=G=>{let ve=No.find(Ot=>Ot.props.value===G.target.value);ve!==void 0&&(ue(ve.props.value),P&&P(G,ve))},ia=G=>ve=>{let Ot;if(ve.currentTarget.hasAttribute("tabindex")){if(y){Ot=Array.isArray(Q)?Q.slice():[];let di=Q.indexOf(G.props.value);di===-1?Ot.push(G.props.value):Ot.splice(di,1)}else Ot=G.props.value;if(G.props.onClick&&G.props.onClick(ve),Q!==Ot&&(ue(Ot),P)){let di=ve.nativeEvent||ve,GT=new di.constructor(di.type,di);Object.defineProperty(GT,"target",{writable:!0,value:{value:Ot,name:g}}),P(GT,G)}y||Rt(!1,ve)}},cr=G=>{h||([" ","ArrowUp","ArrowDown","Enter"].includes(G.key)&&(G.preventDefault(),Rt(!0,G)),O?.(G))},Ar=G=>{!ft&&b&&(Object.defineProperty(G,"target",{writable:!0,value:{value:Q,name:g}}),b(G))};delete ne["aria-invalid"];let Le,Te,We=[],re=!1,fo=!1;(Da({value:Q})||d)&&(D?Le=D(Q):re=!0);let cn=No.map(G=>{if(!ze.isValidElement(G))return null;let ve;if(y){if(!Array.isArray(Q))throw new Error(gt(2));ve=Q.some(Ot=>yu(Ot,G.props.value)),ve&&re&&We.push(G.props.children)}else ve=yu(Q,G.props.value),ve&&re&&(Te=G.props.children);return ve&&(fo=!0),ze.cloneElement(G,{"aria-selected":ve?"true":"false",onClick:ia(G),onKeyUp:Ot=>{Ot.key===" "&&Ot.preventDefault(),G.props.onKeyUp&&G.props.onKeyUp(Ot)},role:"option",selected:ve,value:void 0,"data-value":G.props.value})});re&&(y?We.length===0?Le=null:Le=We.reduce((G,ve,Ot)=>(G.push(ve),Ot<We.length-1&&G.push(", "),G),[]):Le=Te);let fl=be;!i&&oe&&W&&(fl=Ke.clientWidth);let dl;typeof k<"u"?dl=k:dl=f?null:0;let Ye=w.id||(g?`mui-component-select-${g}`:void 0),fi={...t,variant:de,value:Q,open:ft,error:c},Fm=s3(fi),$T=typeof m.slotProps?.paper=="function"?m.slotProps.paper(fi):m.slotProps?.paper,BA=typeof m.slotProps?.list=="function"?m.slotProps.list(fi):m.slotProps?.list,qT=or(),zA=or();return(0,jr.jsxs)(ze.Fragment,{children:[(0,jr.jsx)(n3,{as:"div",ref:qt,tabIndex:dl,role:"combobox","aria-controls":ft?qT:void 0,"aria-disabled":f?"true":void 0,"aria-expanded":ft?"true":"false","aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[x,Ye].filter(Boolean).join(" ")||void 0,"aria-describedby":r,"aria-required":R?"true":void 0,"aria-invalid":c?"true":void 0,onKeyDown:cr,onMouseDown:f||h?null:ye,onBlur:Ar,onFocus:E,...w,ownerState:fi,className:j(w.className,Fm.select,l),id:Ye,children:Mf(Le)?L1||(L1=(0,jr.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"})):Le}),(0,jr.jsx)(i3,{"aria-invalid":c,value:Array.isArray(Q)?Q.join(","):Q,name:g,ref:ee,"aria-hidden":!0,onChange:dt,tabIndex:-1,disabled:f,className:Fm.nativeInput,autoFocus:a,required:R,...ne,id:ne.id??zA,ownerState:fi}),(0,jr.jsx)(a3,{as:T,className:Fm.icon,ownerState:fi}),(0,jr.jsx)(Uh,{value:ce,children:(0,jr.jsx)(D1,{id:`menu-${g||""}`,anchorEl:Ke,open:ft,onClose:po,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...m,slotProps:{...m.slotProps,list:{"aria-labelledby":x,role:"listbox","aria-multiselectable":y?"true":void 0,disableListWrap:!0,id:qT,...BA},paper:{...$T,style:{minWidth:fl,...$T?.style}}},children:cn})})]})}),I1=l3;var xu=S(z(),1),u3=e=>{let{classes:t}=e,r=F({root:["root"]},If,t);return{...t,...r}},Gh={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>Be(e)&&e!=="variant"},c3=L(du,Gh)(""),p3=L(vu,Gh)(""),f3=L(pu,Gh)(""),j1=gs.forwardRef(function(t,o){let r=q({name:"MuiSelect",props:t}),{autoWidth:n=!1,children:a,classes:i={},className:s,defaultOpen:l=!1,displayEmpty:u=!1,IconComponent:p=TS,id:f,input:d,inputProps:c,label:T,labelId:v,MenuProps:x,multiple:m=!1,native:y=!1,onClose:g,onOpen:b,open:P,renderValue:C,SelectDisplayProps:E,variant:O="outlined",...M}=r,N=y?z1:I1,A=Zt(),h=To({props:r,muiFormControl:A,states:["variant","error"]}),D=h.variant||O,R={...r,variant:D,classes:i},w=u3(R),{root:k,...I}=w,$=d||{standard:(0,xu.jsx)(c3,{ownerState:R}),outlined:(0,xu.jsx)(p3,{label:T,ownerState:R}),filled:(0,xu.jsx)(f3,{ownerState:R})}[D],de=Dt(o,Io($));return(0,xu.jsx)(gs.Fragment,{children:gs.cloneElement($,{inputComponent:N,inputProps:{children:a,error:h.error,IconComponent:p,variant:D,type:void 0,multiple:m,...y?{id:f}:{autoWidth:n,defaultOpen:l,displayEmpty:u,labelId:v,MenuProps:x,onClose:g,onOpen:b,open:P,renderValue:C,SelectDisplayProps:{id:f,...E}},...c,classes:c?xe(I,c.classes):I,...d?d.props.inputProps:{}},...(m&&y||u)&&D==="outlined"?{notched:!0}:{},ref:de,className:j($.props.className,s,w.root),...!d&&{variant:D},...M})})});j1.muiName="Select";var Kh=j1;var d3=Up({createStyledComponent:L("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>q({props:e,name:"MuiStack"})}),jf=d3;var V1=S(U(),1);function H1(e){return V("MuiTextField",e)}var Tre=H("MuiTextField",["root"]);var ja=S(z(),1),m3={standard:du,filled:pu,outlined:vu},y3=e=>{let{classes:t}=e;return F({root:["root"]},H1,t)},h3=L(Sh,{name:"MuiTextField",slot:"Root"})({}),g3=V1.forwardRef(function(t,o){let r=q({props:t,name:"MuiTextField"}),{autoComplete:n,autoFocus:a=!1,children:i,className:s,color:l="primary",defaultValue:u,disabled:p=!1,error:f=!1,fullWidth:d=!1,helperText:c,id:T,inputRef:v,label:x,maxRows:m,minRows:y,multiline:g=!1,name:b,onBlur:P,onChange:C,onFocus:E,placeholder:O,required:M=!1,rows:N,select:A=!1,slots:h={},slotProps:D={},type:R,value:w,variant:k="outlined",...I}=r,$={...r,autoFocus:a,color:l,disabled:p,error:f,fullWidth:d,multiline:g,required:M,select:A,variant:k},de=y3($),ne=or(T),Q=c&&ne?`${ne}-helper-text`:void 0,ue=x&&ne?`${ne}-label`:void 0,Ge=m3[k],Ne={slots:h,slotProps:D},[ee,ae]=Ae("select",{elementType:Kh,externalForwardedProps:Ne,ownerState:$}),W=A&&ae.native,te={},oe=Ne.slotProps.inputLabel;k==="outlined"&&(oe&&typeof oe.shrink<"u"&&(te.notched=oe.shrink),te.label=x),A&&(W||(te.id=void 0),te["aria-describedby"]=void 0);let[be,Pt]=Ae("root",{elementType:h3,shouldForwardComponentProp:!0,externalForwardedProps:{...Ne,...I},ownerState:$,className:j(de.root,s),ref:o,additionalProps:{disabled:p,error:f,fullWidth:d,required:M,color:l,variant:k}}),[ce,Oe]=Ae("input",{elementType:Ge,externalForwardedProps:Ne,additionalProps:te,ownerState:$}),[pt,qt]=Ae("inputLabel",{elementType:wh,externalForwardedProps:Ne,ownerState:$}),[Ke,ft]=Ae("htmlInput",{elementType:"input",externalForwardedProps:Ne,ownerState:$}),[Rt,ye]=Ae("formHelperText",{elementType:Ph,externalForwardedProps:Ne,ownerState:$}),po=(0,ja.jsx)(ce,{"aria-describedby":Q,autoComplete:n,autoFocus:a,defaultValue:u,fullWidth:d,multiline:g,name:b,rows:N,maxRows:m,minRows:y,type:R,value:w,id:ne,inputRef:v,onBlur:P,onChange:C,onFocus:E,placeholder:O,inputProps:ft,slots:{input:h.htmlInput?Ke:void 0},...Oe});return(0,ja.jsxs)(be,{...Pt,children:[x!=null&&x!==""&&(0,ja.jsx)(pt,{htmlFor:A&&!W?void 0:ne,id:ue,...A&&!W&&{component:"div"},...qt,children:x}),A?(0,ja.jsx)(ee,{"aria-describedby":Q,id:ne,labelId:ue,value:w,input:po,...ae,children:i}):po,c&&(0,ja.jsx)(Rt,{id:Q,...ye,children:c})]})}),bs=g3;var X1=S(U(),1);var Hf=[{label:"Checkout",args:["review","--checkout-only"]},{label:"Address Comments",args:["review-pr-comments"]},{label:"Address Comments (batch)",args:["review-pr-comments","--batch"]},{label:"Address Comments (auto)",args:["review-pr-comments","--auto"]},{label:"Fix conflicts (merge)",args:["fix-conflict"]},{label:"Fix conflicts (rebase)",args:["fix-conflict","--rebase"]}];var b3=new Set(["Checkout","Address Comments","Address Comments (batch)","Address Comments (auto)"]),F1=Hf.filter(({label:e})=>b3.has(e));var Yh=[{key:"force",label:"Force re-run",flag:"--force"},{key:"addressComments",label:"Address comments after",flag:"--address-comments"},{key:"announce",label:"Announce to Slack after",flag:"--announce"}],$1={force:!1,addressComments:!1,announce:!1};function q1(e){return Yh.filter(({key:t})=>e[t]).map(({flag:t})=>t)}function Vf(e){return{border:`1px solid ${e.palette.divider}`,boxShadow:e.tokens.elevation.overlay}}var G1=[{label:"Review",args:["review"]},{label:"Review & refine",args:["review","--refine"]},{label:"Review & apply",args:["review","--apply"]},{label:"Review & post",args:["review","--no-prompt","--submit"]},{label:"High-level review",args:["review","--high-level"]}];var Su=S(z(),1);function K1({value:e,onChange:t}){return Yh.map(({key:o,label:r})=>(0,Su.jsxs)(wn,{role:"menuitemcheckbox","aria-checked":e[o],onClick:()=>t({...e,[o]:!e[o]}),children:[(0,Su.jsx)(Sf,{children:(0,Su.jsx)(df,{size:"small",edge:"start",checked:e[o],tabIndex:-1,disableRipple:!0,sx:{p:0}})}),r]},o))}var Cu=S(z(),1);function Y1(e,t,o){return[...G1.map(({label:r,args:n})=>(0,Cu.jsx)(wn,{onClick:()=>o([...n,...q1(e)]),children:r},r)),(0,Cu.jsx)(cu,{},"modes-divider"),(0,Cu.jsx)(K1,{value:e,onChange:t},"toggles"),(0,Cu.jsx)(cu,{},"toggles-divider")]}var Eu=S(z(),1);function Q1({actionsOnly:e=!1,onPick:t,onClose:o}){let[r,n]=(0,X1.useState)($1);return(0,Eu.jsx)(Cn,{sx:Vf,children:(0,Eu.jsxs)(ms,{autoFocusItem:!0,dense:!0,"aria-label":"Start an assist session for this PR",onKeyDown:s=>{s.key==="Escape"&&(s.preventDefault(),o(!0))},onBlur:s=>{s.currentTarget.contains(s.relatedTarget)||document.hasFocus()&&o(!1)},children:[!e&&Y1(r,n,t),(e?F1:Hf).map(({label:s,args:l})=>(0,Eu.jsx)(wn,{onClick:()=>t(l),children:s},s))]})})}var pC=S(U(),1);var aC=S(U(),1);var Z1=S(z(),1);function W1({value:e,onChange:t,onKeyDown:o,placeholder:r,error:n}){return(0,Z1.jsx)(bs,{autoFocus:!0,fullWidth:!0,multiline:!0,maxRows:6,size:"small",placeholder:r,value:e,onChange:a=>t(a.target.value),onKeyDown:o,error:n,slotProps:{htmlInput:{"aria-label":"Instructions for assist"}}})}var Xh=S(z(),1);function J1({labels:e,disabled:t,onClick:o}){return(0,Xh.jsx)(jf,{direction:"row",spacing:1,sx:{mt:1},children:e.map((r,n)=>(0,Xh.jsx)(us,{size:"small",variant:n===0?"contained":"outlined",disabled:t,onMouseDown:a=>a.preventDefault(),onClick:()=>o(n),children:r},r))})}var Ha=S(z(),1);function eC({error:e,busy:t}){return(0,Ha.jsxs)(Ha.Fragment,{children:[e&&(0,Ha.jsxs)(nu,{role:"alert",variant:"caption",color:"error",sx:{display:"block",mt:.5},children:["Not sent: ",e]}),(0,Ha.jsx)(nu,{variant:"caption",color:"text.secondary",sx:{display:"block",mt:.5},children:t?"Sending\u2026":`Enter to ${e?"retry":"send"} \xB7 Shift+Enter for a new line \xB7 Esc to close`})]})}function tC(e,t){return o=>{o.currentTarget.contains(o.relatedTarget)||document.hasFocus()&&!e&&t(!1)}}function T3(e){return(e.ctrlKey||e.metaKey)&&e.key.toLowerCase()==="c"}function oC(e,t,o){return r=>{if(e&&t&&T3(r)){r.preventDefault(),navigator.clipboard?.writeText(e);return}o(r)}}function rC(e,t){return o=>{o.key==="Escape"?(o.preventDefault(),e(!0)):o.key==="Enter"&&!o.shiftKey&&!o.nativeEvent.isComposing&&(o.preventDefault(),t())}}function nC({instructions:e,onSend:t,onClose:o,busy:r,keepOpen:n,keepDraftOnBlur:a,copyWhenEmpty:i}){let s=f=>{r||t(e,f)},l=oC(i,!e,rC(o,()=>s(0))),u=a&&e.trim()!=="",p=tC(n||r||u,o);return{send:s,onKeyDown:l,onBlur:p}}var Ts=S(z(),1);function iC({onSend:e,onClose:t,placeholder:o="Instructions (optional)",error:r,busy:n=!1,keepDraftOnBlur:a=!1,copyWhenEmpty:i,buttons:s,children:l}){let[u,p]=(0,aC.useState)(""),{send:f,onKeyDown:d,onBlur:c}=nC({instructions:u,onSend:e,onClose:t,busy:n,keepOpen:!!r,keepDraftOnBlur:a,copyWhenEmpty:i});return(0,Ts.jsxs)(Cn,{sx:T=>({...Vf(T),p:1.5}),onBlur:c,children:[(0,Ts.jsx)(W1,{value:u,onChange:p,onKeyDown:d,placeholder:o,error:!!r}),l,s&&(0,Ts.jsx)(J1,{labels:s,disabled:n,onClick:f}),(0,Ts.jsx)(eC,{error:r,busy:n})]})}var Pu=S(U(),1);function Qh(){return globalThis.browser?.storage?.local}var Wh="lastRepo",Zh={async load(){let t=(await Qh()?.get(Wh).catch(()=>{}))?.[Wh];return typeof t=="string"?t:void 0},save(e){Qh()?.set({[Wh]:e}).catch(()=>{})}};async function Ff(e){let t=pn();if(!t)return{ok:!1,message:"assist extension runtime unavailable"};try{return await t.sendMessage(e)??{ok:!1,message:"assist extension did not reply"}}catch(o){return{ok:!1,message:o instanceof Error?o.message:String(o)}}}function sC(){return Ff({type:"assist-clones"})}var Ru=S(z(),1);function lC({value:e,onChange:t}){let[o,r]=(0,Pu.useState)(),[n,a]=(0,Pu.useState)();return(0,Pu.useEffect)(()=>{let i=!0;return Promise.all([sC(),Zh.load()]).then(([s,l])=>{if(i){if(!s.ok)return a(s.message);r(s.clones),l&&s.clones.includes(l)&&t(l)}}),()=>{i=!1}},[t]),(0,Ru.jsxs)(bs,{select:!0,fullWidth:!0,size:"small",sx:{mt:1},value:e,onChange:i=>{Zh.save(i.target.value),t(i.target.value)},error:!!n,helperText:n,slotProps:{select:{native:!0},htmlInput:{"aria-label":"Repo for assist"}},children:[(0,Ru.jsx)("option",{value:"",children:o?"Pick a repo":"Loading repos\u2026"}),o?.map(i=>(0,Ru.jsx)("option",{value:i,children:i},i))]})}var v3=["position: fixed","right: 16px","bottom: 16px","z-index: 2147483647","max-width: 420px","padding: 8px 12px","border-radius: 6px","font: 14px/20px -apple-system, BlinkMacSystemFont, sans-serif","color: var(--fgColor-onEmphasis, #fff)","box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25)"].join(";"),uC={ok:"var(--bgColor-success-emphasis, #1f883d)",error:"var(--bgColor-danger-emphasis, #cf222e)"};function $f(e,t){let o=document.createElement("div");return o.setAttribute("data-assist-toast",""),o.setAttribute("role","status"),o.style.cssText=`${v3};background: ${t?uC.ok:uC.error}`,o.textContent=e,document.body.append(o),setTimeout(()=>o.remove(),t?4e3:8e3),o}var Jh=S(z(),1),cC=[{label:"Prompt"},{label:"Draft",mode:"draft"},{label:"Bug",mode:"bug"}];function fC({pickRepo:e,send:t,dismiss:o}){let[r,n]=(0,pC.useState)("");return(0,Jh.jsx)(iC,{buttons:cC.map(({label:a})=>a),onSend:(a,i)=>{if(e&&!r){$f("Pick a repo to start the assist session in",!1);return}o(!1);let{mode:s}=cC[i];t({instructions:a||void 0,...s&&{mode:s},...e&&{repo:r}})},onClose:o,children:e&&(0,Jh.jsx)(lC,{value:r,onChange:n})})}var eg=S(z(),1);function dC(e,{send:t,dismiss:o}){return e==="review"||e==="azure-devops-review"?(0,eg.jsx)(Q1,{actionsOnly:e==="azure-devops-review",onPick:r=>{o(!1),t({args:r})},onClose:o}):(0,eg.jsx)(fC,{pickRepo:e==="link",send:t,dismiss:o})}var Tr="#0e1116",tg="#141820",qf="#1b202a",Gf="#e3e7ee",og="#8a93a3",Ou="#8b9cff",Kf="#5fd0a0",Yf="#f2b45a",Xf="#f27a7a",mC={secondary:"rgba(255, 255, 255, 0.7)",hover:"rgba(255, 255, 255, 0.12)",active:"rgba(255, 255, 255, 0.16)",dot:"#ffb74d",dotRing:"rgba(0, 0, 0, 0.15)"},Va={dark:{color:{background:Tr,surface:tg,raised:qf,line:"#262c37",lineSoft:"#1d222b",text:{primary:Gf,secondary:og,disabled:"#5c6473"},selected:"rgba(139, 156, 255, 0.14)",wash:{warning:"rgba(242, 180, 90, 0.09)",error:"rgba(242, 122, 122, 0.09)",accent:"rgba(139, 156, 255, 0.1)"},well:Tr,stripe:qf,codeWash:"rgba(255, 255, 255, 0.08)",overlay:{background:qf,text:Gf},scrim:"rgba(0, 0, 0, 0.5)",appBar:{background:tg,text:Gf},onAppBar:{...mC,secondary:og,level:{ok:Kf,warn:Yf,over:Xf}},statusBar:{background:tg,text:og,hoverText:Gf,secondary:"#5c6473",hover:qf,active:"transparent",dot:Ou,dotRing:"rgba(139, 156, 255, 0.14)",readyText:Ou,level:{ok:Kf,warn:Yf,over:Xf}},primary:{main:Ou,contrastText:Tr},secondary:{main:"#c99bff",contrastText:Tr},success:{main:Kf,contrastText:Tr},warning:{main:Yf,contrastText:Tr},error:{main:Xf,contrastText:Tr},info:{main:"#6cb6ff",contrastText:Tr}},terminal:{background:Tr,foreground:"#d6dbe4",cursor:Ou,cursorAccent:Tr,selectionBackground:"rgba(139, 156, 255, 0.28)",black:"#1b2029",red:Xf,green:Kf,yellow:Yf,blue:Ou,magenta:"#c99bff",cyan:"#6cc8d8",white:"#c3c9d4",brightBlack:"#5c6473",brightRed:"#ff9a9a",brightGreen:"#82e0b6",brightYellow:"#ffc97a",brightBlue:"#a9b6ff",brightMagenta:"#dcb8ff",brightCyan:"#8fdbe8",brightWhite:"#eef1f6"},elevation:{appBar:0,overlay:"0 14px 34px rgba(0, 0, 0, 0.45)",dialog:"0 30px 60px rgba(0, 0, 0, 0.5)",stuckHeader:"0 8px 8px -9px rgba(0, 0, 0, 0.8)"}},light:{color:{background:"#fff",surface:"#fff",raised:"rgba(0, 0, 0, 0.04)",line:"rgba(0, 0, 0, 0.12)",lineSoft:"rgba(0, 0, 0, 0.12)",text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},selected:"rgba(0, 0, 0, 0.08)",wash:{warning:"rgba(255, 167, 38, 0.09)",error:"rgba(244, 67, 54, 0.09)",accent:"rgba(25, 118, 210, 0.08)"},well:"#f3f4f6",stripe:"rgba(0, 0, 0, 0.1)",codeWash:"rgba(0, 0, 0, 0.06)",overlay:{background:"rgba(97, 97, 97, 0.92)",text:"#fff"},onAppBar:{...mC,level:{ok:"#b9f6ca",warn:"#ffe57f",over:"#ffcdd2"}},primary:{main:"#1976d2",light:"#42a5f5",dark:"#1565c0",contrastText:"#fff"},secondary:{main:"#9c27b0",light:"#ba68c8",dark:"#7b1fa2",contrastText:"#fff"},success:{main:"#2e7d32",light:"#4caf50",dark:"#1b5e20",contrastText:"#fff"},warning:{main:"#ed6c02",light:"#ff9800",dark:"#e65100",contrastText:"#fff"},error:{main:"#d32f2f",light:"#ef5350",dark:"#c62828",contrastText:"#fff"},info:{main:"#0288d1",light:"#03a9f4",dark:"#01579b",contrastText:"#fff"},scrim:"rgba(15, 23, 42, 0.32)",statusBar:{background:"#f3f4f6",text:"rgba(0, 0, 0, 0.6)",hoverText:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.38)",hover:"rgba(0, 0, 0, 0.06)",active:"transparent",dot:"#1976d2",dotRing:"rgba(25, 118, 210, 0.16)",readyText:"#1976d2",level:{ok:"#2e7d32",warn:"#ed6c02",over:"#d32f2f"}}},terminal:{background:"#ffffff",foreground:"#333333",cursor:"#333333",cursorAccent:"#ffffff",selectionBackground:"#add6ff",black:"#000000",red:"#cd3131",green:"#107c10",yellow:"#949800",blue:"#0451a5",magenta:"#bc05bc",cyan:"#0598bc",white:"#555555",brightBlack:"#666666",brightRed:"#cd3131",brightGreen:"#14ce14",brightYellow:"#b5ba00",brightBlue:"#0451a5",brightMagenta:"#bc05bc",brightCyan:"#0598bc",brightWhite:"#a5a5a5"},elevation:{appBar:0,overlay:"0 8px 24px rgba(15, 23, 42, 0.12)",dialog:"0 24px 48px rgba(15, 23, 42, 0.18)",stuckHeader:"0 6px 6px -7px rgba(0, 0, 0, 0.2)"}},font:{ui:'"Geist Variable", "Segoe UI", system-ui, sans-serif',mono:'"Geist Mono Variable", ui-monospace, Menlo, Consolas, monospace',terminal:'"Geist Mono Variable", ui-monospace, Menlo, Consolas, monospace'},type:{fontSize:14,terminalFontSize:13,scale:{caption:12,body2:14,body1:15,subtitle2:14,subtitle1:15,h6:16,h5:18,h4:24,button:14},button:{textTransform:"none",fontWeight:600}},radius:{sm:6,md:8},spacing:8,densities:{desktop:{target:30,bar:40,iconButton:{side:30,icon:18,smallSide:26,smallIcon:16},button:{minHeight:30,fontSize:13,paddingX:12},switch:{width:34,height:20,thumb:16},inputFontSize:13,tabBar:{height:44,icon:20,label:10,badge:16,insetTrim:0}},touch:{target:48,bar:60,iconButton:{side:48,icon:30,smallSide:40,smallIcon:24},button:{minHeight:48,fontSize:17,paddingX:20},switch:{width:51,height:31,thumb:27},inputFontSize:16,tabBar:{height:49,icon:26,label:11,badge:18,insetTrim:12}}}};function x3(e){let t=e.getAttribute("data-color-mode");return t==="light"||t==="dark"?t:globalThis.matchMedia?.("(prefers-color-scheme: dark)").matches?"dark":"light"}function Fa(e){let t=x3(e),o=e.getAttribute(t==="dark"?"data-dark-theme":"data-light-theme");return o?o.startsWith("dark")?"dark":"light":t}var S3=["data-color-mode","data-light-theme","data-dark-theme"];function Qf(e,t){let o=Fa(e),r=()=>{let i=Fa(e);i!==o&&(o=i,t(i))},n=new MutationObserver(r);n.observe(e,{attributeFilter:S3});let a=globalThis.matchMedia?.("(prefers-color-scheme: dark)");return a?.addEventListener?.("change",r),()=>{n.disconnect(),a?.removeEventListener?.("change",r)}}var yC="data-assist-send-style";function hC(e){let{color:t}=Va[e];return`
|
|
192
192
|
.assist-send {
|
|
193
193
|
font-family: ${Va.font.ui};
|
|
194
194
|
font-size: 12px;
|