@staff0rd/assist 0.830.0 → 0.831.1

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.
@@ -1,15 +1,71 @@
1
- "use strict";(()=>{var oO=Object.create;var Ld=Object.defineProperty;var rO=Object.getOwnPropertyDescriptor;var nO=Object.getOwnPropertyNames;var aO=Object.getPrototypeOf,iO=Object.prototype.hasOwnProperty;var lO=(e,t,o)=>t in e?Ld(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var Vt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var sO=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of nO(t))!iO.call(e,n)&&n!==o&&Ld(e,n,{get:()=>t[n],enumerable:!(r=rO(t,n))||r.enumerable});return e};var C=(e,t,o)=>(o=e!=null?oO(aO(e)):{},sO(t||!e||!e.__esModule?Ld(o,"default",{value:e,enumerable:!0}):o,e));var Za=(e,t,o)=>lO(e,typeof t!="symbol"?t+"":t,o);var fT=Vt(Z=>{"use strict";var Fd=Symbol.for("react.transitional.element"),xO=Symbol.for("react.portal"),SO=Symbol.for("react.fragment"),CO=Symbol.for("react.strict_mode"),EO=Symbol.for("react.profiler"),PO=Symbol.for("react.consumer"),RO=Symbol.for("react.context"),OO=Symbol.for("react.forward_ref"),AO=Symbol.for("react.suspense"),MO=Symbol.for("react.memo"),iT=Symbol.for("react.lazy"),NO=Symbol.for("react.activity"),oT=Symbol.iterator;function wO(e){return e===null||typeof e!="object"?null:(e=oT&&e[oT]||e["@@iterator"],typeof e=="function"?e:null)}var lT={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},sT=Object.assign,uT={};function ui(e,t,o){this.props=e,this.context=t,this.refs=uT,this.updater=o||lT}ui.prototype.isReactComponent={};ui.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")};ui.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function cT(){}cT.prototype=ui.prototype;function $d(e,t,o){this.props=e,this.context=t,this.refs=uT,this.updater=o||lT}var Yd=$d.prototype=new cT;Yd.constructor=$d;sT(Yd,ui.prototype);Yd.isPureReactComponent=!0;var rT=Array.isArray;function Gd(){}var Ue={H:null,A:null,T:null,S:null},pT=Object.prototype.hasOwnProperty;function Kd(e,t,o){var r=o.ref;return{$$typeof:Fd,type:e,key:t,ref:r!==void 0?r:null,props:o}}function _O(e,t){return Kd(e.type,t,e.props)}function Xd(e){return typeof e=="object"&&e!==null&&e.$$typeof===Fd}function DO(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(o){return t[o]})}var nT=/\/+/g;function qd(e,t){return typeof e=="object"&&e!==null&&e.key!=null?DO(""+e.key):t.toString(36)}function zO(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(Gd,Gd):(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 si(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 Fd:case xO:i=!0;break;case iT:return i=e._init,si(i(e._payload),t,o,r,n)}}if(i)return n=n(e),i=r===""?"."+qd(e,0):r,rT(n)?(o="",i!=null&&(o=i.replace(nT,"$&/")+"/"),si(n,t,o,"",function(u){return u})):n!=null&&(Xd(n)&&(n=_O(n,o+(n.key==null||e&&e.key===n.key?"":(""+n.key).replace(nT,"$&/")+"/")+i)),t.push(n)),1;i=0;var l=r===""?".":r+":";if(rT(e))for(var s=0;s<e.length;s++)r=e[s],a=l+qd(r,s),i+=si(r,t,o,a,n);else if(s=wO(e),typeof s=="function")for(e=s.call(e),s=0;!(r=e.next()).done;)r=r.value,a=l+qd(r,s++),i+=si(r,t,o,a,n);else if(a==="object"){if(typeof e.then=="function")return si(zO(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 cc(e,t,o){if(e==null)return e;var r=[],n=0;return si(e,r,"","",function(a){return t.call(o,a,n++)}),r}function BO(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 aT=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)},UO={map:cc,forEach:function(e,t,o){cc(e,function(){t.apply(this,arguments)},o)},count:function(e){var t=0;return cc(e,function(){t++}),t},toArray:function(e){return cc(e,function(t){return t})||[]},only:function(e){if(!Xd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Z.Activity=NO;Z.Children=UO;Z.Component=ui;Z.Fragment=SO;Z.Profiler=EO;Z.PureComponent=$d;Z.StrictMode=CO;Z.Suspense=AO;Z.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ue;Z.__COMPILER_RUNTIME={__proto__:null,c:function(e){return Ue.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=sT({},e.props),n=e.key;if(t!=null)for(a in t.key!==void 0&&(n=""+t.key),t)!pT.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),l=0;l<a;l++)i[l]=arguments[l+2];r.children=i}return Kd(e.type,n,r)};Z.createContext=function(e){return e={$$typeof:RO,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:PO,_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)pT.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 l=Array(i),s=0;s<i;s++)l[s]=arguments[s+2];n.children=l}if(e&&e.defaultProps)for(r in i=e.defaultProps,i)n[r]===void 0&&(n[r]=i[r]);return Kd(e,a,n)};Z.createRef=function(){return{current:null}};Z.forwardRef=function(e){return{$$typeof:OO,render:e}};Z.isValidElement=Xd;Z.lazy=function(e){return{$$typeof:iT,_payload:{_status:-1,_result:e},_init:BO}};Z.memo=function(e,t){return{$$typeof:MO,type:e,compare:t===void 0?null:t}};Z.startTransition=function(e){var t=Ue.T,o={};Ue.T=o;try{var r=e(),n=Ue.S;n!==null&&n(o,r),typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.then(Gd,aT)}catch(a){aT(a)}finally{t!==null&&o.types!==null&&(t.types=o.types),Ue.T=t}};Z.unstable_useCacheRefresh=function(){return Ue.H.useCacheRefresh()};Z.use=function(e){return Ue.H.use(e)};Z.useActionState=function(e,t,o){return Ue.H.useActionState(e,t,o)};Z.useCallback=function(e,t){return Ue.H.useCallback(e,t)};Z.useContext=function(e){return Ue.H.useContext(e)};Z.useDebugValue=function(){};Z.useDeferredValue=function(e,t){return Ue.H.useDeferredValue(e,t)};Z.useEffect=function(e,t){return Ue.H.useEffect(e,t)};Z.useEffectEvent=function(e){return Ue.H.useEffectEvent(e)};Z.useId=function(){return Ue.H.useId()};Z.useImperativeHandle=function(e,t,o){return Ue.H.useImperativeHandle(e,t,o)};Z.useInsertionEffect=function(e,t){return Ue.H.useInsertionEffect(e,t)};Z.useLayoutEffect=function(e,t){return Ue.H.useLayoutEffect(e,t)};Z.useMemo=function(e,t){return Ue.H.useMemo(e,t)};Z.useOptimistic=function(e,t){return Ue.H.useOptimistic(e,t)};Z.useReducer=function(e,t,o){return Ue.H.useReducer(e,t,o)};Z.useRef=function(e){return Ue.H.useRef(e)};Z.useState=function(e){return Ue.H.useState(e)};Z.useSyncExternalStore=function(e,t,o){return Ue.H.useSyncExternalStore(e,t,o)};Z.useTransition=function(){return Ue.H.useTransition()};Z.version="19.2.4"});var U=Vt((zz,dT)=>{"use strict";dT.exports=fT()});var yT=Vt(xe=>{"use strict";var mt=typeof Symbol=="function"&&Symbol.for,Qd=mt?Symbol.for("react.element"):60103,Zd=mt?Symbol.for("react.portal"):60106,pc=mt?Symbol.for("react.fragment"):60107,fc=mt?Symbol.for("react.strict_mode"):60108,dc=mt?Symbol.for("react.profiler"):60114,mc=mt?Symbol.for("react.provider"):60109,yc=mt?Symbol.for("react.context"):60110,Wd=mt?Symbol.for("react.async_mode"):60111,hc=mt?Symbol.for("react.concurrent_mode"):60111,gc=mt?Symbol.for("react.forward_ref"):60112,bc=mt?Symbol.for("react.suspense"):60113,jO=mt?Symbol.for("react.suspense_list"):60120,Tc=mt?Symbol.for("react.memo"):60115,vc=mt?Symbol.for("react.lazy"):60116,kO=mt?Symbol.for("react.block"):60121,LO=mt?Symbol.for("react.fundamental"):60117,HO=mt?Symbol.for("react.responder"):60118,VO=mt?Symbol.for("react.scope"):60119;function po(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Qd:switch(e=e.type,e){case Wd:case hc:case pc:case dc:case fc:case bc:return e;default:switch(e=e&&e.$$typeof,e){case yc:case gc:case vc:case Tc:case mc:return e;default:return t}}case Zd:return t}}}function mT(e){return po(e)===hc}xe.AsyncMode=Wd;xe.ConcurrentMode=hc;xe.ContextConsumer=yc;xe.ContextProvider=mc;xe.Element=Qd;xe.ForwardRef=gc;xe.Fragment=pc;xe.Lazy=vc;xe.Memo=Tc;xe.Portal=Zd;xe.Profiler=dc;xe.StrictMode=fc;xe.Suspense=bc;xe.isAsyncMode=function(e){return mT(e)||po(e)===Wd};xe.isConcurrentMode=mT;xe.isContextConsumer=function(e){return po(e)===yc};xe.isContextProvider=function(e){return po(e)===mc};xe.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Qd};xe.isForwardRef=function(e){return po(e)===gc};xe.isFragment=function(e){return po(e)===pc};xe.isLazy=function(e){return po(e)===vc};xe.isMemo=function(e){return po(e)===Tc};xe.isPortal=function(e){return po(e)===Zd};xe.isProfiler=function(e){return po(e)===dc};xe.isStrictMode=function(e){return po(e)===fc};xe.isSuspense=function(e){return po(e)===bc};xe.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===pc||e===hc||e===dc||e===fc||e===bc||e===jO||typeof e=="object"&&e!==null&&(e.$$typeof===vc||e.$$typeof===Tc||e.$$typeof===mc||e.$$typeof===yc||e.$$typeof===gc||e.$$typeof===LO||e.$$typeof===HO||e.$$typeof===VO||e.$$typeof===kO)};xe.typeOf=po});var gT=Vt((jz,hT)=>{"use strict";hT.exports=yT()});var ET=Vt((kz,CT)=>{"use strict";var Jd=gT(),IO={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},qO={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},GO={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},xT={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},em={};em[Jd.ForwardRef]=GO;em[Jd.Memo]=xT;function bT(e){return Jd.isMemo(e)?xT:em[e.$$typeof]||IO}var FO=Object.defineProperty,$O=Object.getOwnPropertyNames,TT=Object.getOwnPropertySymbols,YO=Object.getOwnPropertyDescriptor,KO=Object.getPrototypeOf,vT=Object.prototype;function ST(e,t,o){if(typeof t!="string"){if(vT){var r=KO(t);r&&r!==vT&&ST(e,r,o)}var n=$O(t);TT&&(n=n.concat(TT(t)));for(var a=bT(e),i=bT(t),l=0;l<n.length;++l){var s=n[l];if(!qO[s]&&!(o&&o[s])&&!(i&&i[s])&&!(a&&a[s])){var u=YO(t,s);try{FO(e,s,u)}catch{}}}}return e}CT.exports=ST});var YT=Vt(Ve=>{"use strict";function sm(e,t){var o=e.length;e.push(t);e:for(;0<o;){var r=o-1>>>1,n=e[r];if(0<Cc(n,t))e[r]=t,e[o]=n,o=r;else break e}}function cr(e){return e.length===0?null:e[0]}function Pc(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,l=e[i],s=i+1,u=e[s];if(0>Cc(l,o))s<n&&0>Cc(u,l)?(e[r]=u,e[s]=o,r=s):(e[r]=l,e[i]=o,r=i);else if(s<n&&0>Cc(u,o))e[r]=u,e[s]=o,r=s;else break e}}return t}function Cc(e,t){var o=e.sortIndex-t.sortIndex;return o!==0?o:e.id-t.id}Ve.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(kT=performance,Ve.unstable_now=function(){return kT.now()}):(am=Date,LT=am.now(),Ve.unstable_now=function(){return am.now()-LT});var kT,am,LT,Pr=[],rn=[],n2=1,_o=null,Ut=3,um=!1,Jl=!1,es=!1,cm=!1,IT=typeof setTimeout=="function"?setTimeout:null,qT=typeof clearTimeout=="function"?clearTimeout:null,HT=typeof setImmediate<"u"?setImmediate:null;function Ec(e){for(var t=cr(rn);t!==null;){if(t.callback===null)Pc(rn);else if(t.startTime<=e)Pc(rn),t.sortIndex=t.expirationTime,sm(Pr,t);else break;t=cr(rn)}}function pm(e){if(es=!1,Ec(e),!Jl)if(cr(Pr)!==null)Jl=!0,mi||(mi=!0,di());else{var t=cr(rn);t!==null&&fm(pm,t.startTime-e)}}var mi=!1,ts=-1,GT=5,FT=-1;function $T(){return cm?!0:!(Ve.unstable_now()-FT<GT)}function im(){if(cm=!1,mi){var e=Ve.unstable_now();FT=e;var t=!0;try{e:{Jl=!1,es&&(es=!1,qT(ts),ts=-1),um=!0;var o=Ut;try{t:{for(Ec(e),_o=cr(Pr);_o!==null&&!(_o.expirationTime>e&&$T());){var r=_o.callback;if(typeof r=="function"){_o.callback=null,Ut=_o.priorityLevel;var n=r(_o.expirationTime<=e);if(e=Ve.unstable_now(),typeof n=="function"){_o.callback=n,Ec(e),t=!0;break t}_o===cr(Pr)&&Pc(Pr),Ec(e)}else Pc(Pr);_o=cr(Pr)}if(_o!==null)t=!0;else{var a=cr(rn);a!==null&&fm(pm,a.startTime-e),t=!1}}break e}finally{_o=null,Ut=o,um=!1}t=void 0}}finally{t?di():mi=!1}}}var di;typeof HT=="function"?di=function(){HT(im)}:typeof MessageChannel<"u"?(lm=new MessageChannel,VT=lm.port2,lm.port1.onmessage=im,di=function(){VT.postMessage(null)}):di=function(){IT(im,0)};var lm,VT;function fm(e,t){ts=IT(function(){e(Ve.unstable_now())},t)}Ve.unstable_IdlePriority=5;Ve.unstable_ImmediatePriority=1;Ve.unstable_LowPriority=4;Ve.unstable_NormalPriority=3;Ve.unstable_Profiling=null;Ve.unstable_UserBlockingPriority=2;Ve.unstable_cancelCallback=function(e){e.callback=null};Ve.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"):GT=0<e?Math.floor(1e3/e):5};Ve.unstable_getCurrentPriorityLevel=function(){return Ut};Ve.unstable_next=function(e){switch(Ut){case 1:case 2:case 3:var t=3;break;default:t=Ut}var o=Ut;Ut=t;try{return e()}finally{Ut=o}};Ve.unstable_requestPaint=function(){cm=!0};Ve.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var o=Ut;Ut=e;try{return t()}finally{Ut=o}};Ve.unstable_scheduleCallback=function(e,t,o){var r=Ve.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:n2++,callback:t,priorityLevel:e,startTime:o,expirationTime:n,sortIndex:-1},o>r?(e.sortIndex=o,sm(rn,e),cr(Pr)===null&&e===cr(rn)&&(es?(qT(ts),ts=-1):es=!0,fm(pm,o-r))):(e.sortIndex=n,sm(Pr,e),Jl||um||(Jl=!0,mi||(mi=!0,di()))),e};Ve.unstable_shouldYield=$T;Ve.unstable_wrapCallback=function(e){var t=Ut;return function(){var o=Ut;Ut=t;try{return e.apply(this,arguments)}finally{Ut=o}}}});var XT=Vt((h4,KT)=>{"use strict";KT.exports=YT()});var ZT=Vt($t=>{"use strict";var a2=U();function QT(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 nn(){}var Ft={d:{f:nn,r:function(){throw Error(QT(522))},D:nn,C:nn,L:nn,m:nn,X:nn,S:nn,M:nn},p:0,findDOMNode:null},i2=Symbol.for("react.portal");function l2(e,t,o){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:i2,key:r==null?null:""+r,children:e,containerInfo:t,implementation:o}}var os=a2.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Rc(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}$t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ft;$t.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(QT(299));return l2(e,t,null,o)};$t.flushSync=function(e){var t=os.T,o=Ft.p;try{if(os.T=null,Ft.p=2,e)return e()}finally{os.T=t,Ft.p=o,Ft.d.f()}};$t.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Ft.d.C(e,t))};$t.prefetchDNS=function(e){typeof e=="string"&&Ft.d.D(e)};$t.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var o=t.as,r=Rc(o,t.crossOrigin),n=typeof t.integrity=="string"?t.integrity:void 0,a=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;o==="style"?Ft.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:r,integrity:n,fetchPriority:a}):o==="script"&&Ft.d.X(e,{crossOrigin:r,integrity:n,fetchPriority:a,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};$t.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var o=Rc(t.as,t.crossOrigin);Ft.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&&Ft.d.M(e)};$t.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var o=t.as,r=Rc(o,t.crossOrigin);Ft.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})}};$t.preloadModule=function(e,t){if(typeof e=="string")if(t){var o=Rc(t.as,t.crossOrigin);Ft.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 Ft.d.m(e)};$t.requestFormReset=function(e){Ft.d.r(e)};$t.unstable_batchedUpdates=function(e,t){return e(t)};$t.useFormState=function(e,t,o){return os.H.useFormState(e,t,o)};$t.useFormStatus=function(){return os.H.useHostTransitionStatus()};$t.version="19.2.4"});var Oc=Vt((b4,JT)=>{"use strict";function WT(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(WT)}catch(e){console.error(e)}}WT(),JT.exports=ZT()});var p1=Vt(Wp=>{"use strict";var ft=XT(),Pv=U(),s2=Oc();function z(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 Rv(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Is(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 Ov(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 Av(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 e0(e){if(Is(e)!==e)throw Error(z(188))}function u2(e){var t=e.alternate;if(!t){if(t=Is(e),t===null)throw Error(z(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 e0(n),e;if(a===r)return e0(n),t;a=a.sibling}throw Error(z(188))}if(o.return!==r.return)o=n,r=a;else{for(var i=!1,l=n.child;l;){if(l===o){i=!0,o=n,r=a;break}if(l===r){i=!0,r=n,o=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===o){i=!0,o=a,r=n;break}if(l===r){i=!0,r=a,o=n;break}l=l.sibling}if(!i)throw Error(z(189))}}if(o.alternate!==r)throw Error(z(190))}if(o.tag!==3)throw Error(z(188));return o.stateNode.current===o?e:t}function Mv(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=Mv(e),t!==null)return t;e=e.sibling}return null}var Le=Object.assign,c2=Symbol.for("react.element"),Ac=Symbol.for("react.transitional.element"),cs=Symbol.for("react.portal"),vi=Symbol.for("react.fragment"),Nv=Symbol.for("react.strict_mode"),$m=Symbol.for("react.profiler"),wv=Symbol.for("react.consumer"),Dr=Symbol.for("react.context"),Vy=Symbol.for("react.forward_ref"),Ym=Symbol.for("react.suspense"),Km=Symbol.for("react.suspense_list"),Iy=Symbol.for("react.memo"),an=Symbol.for("react.lazy"),Xm=Symbol.for("react.activity"),p2=Symbol.for("react.memo_cache_sentinel"),t0=Symbol.iterator;function rs(e){return e===null||typeof e!="object"?null:(e=t0&&e[t0]||e["@@iterator"],typeof e=="function"?e:null)}var f2=Symbol.for("react.client.reference");function Qm(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===f2?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case vi:return"Fragment";case $m:return"Profiler";case Nv:return"StrictMode";case Ym:return"Suspense";case Km:return"SuspenseList";case Xm:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case cs:return"Portal";case Dr:return e.displayName||"Context";case wv:return(e._context.displayName||"Context")+".Consumer";case Vy:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Iy:return t=e.displayName||null,t!==null?t:Qm(e.type)||"Memo";case an:t=e._payload,e=e._init;try{return Qm(e(t))}catch{}}return null}var ps=Array.isArray,$=Pv.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,me=s2.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,na={pending:!1,data:null,method:null,action:null},Zm=[],xi=-1;function yr(e){return{current:e}}function gt(e){0>xi||(e.current=Zm[xi],Zm[xi]=null,xi--)}function we(e,t){xi++,Zm[xi]=e.current,e.current=t}var mr=yr(null),As=yr(null),gn=yr(null),lp=yr(null);function sp(e,t){switch(we(gn,t),we(As,e),we(mr,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?sv(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=sv(t),e=ZS(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}gt(mr),we(mr,e)}function Li(){gt(mr),gt(As),gt(gn)}function Wm(e){e.memoizedState!==null&&we(lp,e);var t=mr.current,o=ZS(t,e.type);t!==o&&(we(As,e),we(mr,o))}function up(e){As.current===e&&(gt(mr),gt(As)),lp.current===e&&(gt(lp),Ls._currentValue=na)}var dm,o0;function ea(e){if(dm===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);dm=t&&t[1]||"",o0=-1<o.stack.indexOf(`
1
+ "use strict";(()=>{var n2=Object.create;var Hd=Object.defineProperty;var a2=Object.getOwnPropertyDescriptor;var i2=Object.getOwnPropertyNames;var l2=Object.getPrototypeOf,s2=Object.prototype.hasOwnProperty;var u2=(e,t,o)=>t in e?Hd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var It=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var c2=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of i2(t))!s2.call(e,n)&&n!==o&&Hd(e,n,{get:()=>t[n],enumerable:!(r=a2(t,n))||r.enumerable});return e};var C=(e,t,o)=>(o=e!=null?n2(l2(e)):{},c2(t||!e||!e.__esModule?Hd(o,"default",{value:e,enumerable:!0}):o,e));var Za=(e,t,o)=>u2(e,typeof t!="symbol"?t+"":t,o);var mT=It(Z=>{"use strict";var $d=Symbol.for("react.transitional.element"),E2=Symbol.for("react.portal"),P2=Symbol.for("react.fragment"),R2=Symbol.for("react.strict_mode"),O2=Symbol.for("react.profiler"),A2=Symbol.for("react.consumer"),M2=Symbol.for("react.context"),N2=Symbol.for("react.forward_ref"),w2=Symbol.for("react.suspense"),_2=Symbol.for("react.memo"),sT=Symbol.for("react.lazy"),D2=Symbol.for("react.activity"),nT=Symbol.iterator;function z2(e){return e===null||typeof e!="object"?null:(e=nT&&e[nT]||e["@@iterator"],typeof e=="function"?e:null)}var uT={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},cT=Object.assign,pT={};function ui(e,t,o){this.props=e,this.context=t,this.refs=pT,this.updater=o||uT}ui.prototype.isReactComponent={};ui.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")};ui.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function fT(){}fT.prototype=ui.prototype;function Yd(e,t,o){this.props=e,this.context=t,this.refs=pT,this.updater=o||uT}var Kd=Yd.prototype=new fT;Kd.constructor=Yd;cT(Kd,ui.prototype);Kd.isPureReactComponent=!0;var aT=Array.isArray;function Fd(){}var Ue={H:null,A:null,T:null,S:null},dT=Object.prototype.hasOwnProperty;function Xd(e,t,o){var r=o.ref;return{$$typeof:$d,type:e,key:t,ref:r!==void 0?r:null,props:o}}function B2(e,t){return Xd(e.type,t,e.props)}function Qd(e){return typeof e=="object"&&e!==null&&e.$$typeof===$d}function U2(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(o){return t[o]})}var iT=/\/+/g;function Gd(e,t){return typeof e=="object"&&e!==null&&e.key!=null?U2(""+e.key):t.toString(36)}function j2(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(Fd,Fd):(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 si(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 $d:case E2:i=!0;break;case sT:return i=e._init,si(i(e._payload),t,o,r,n)}}if(i)return n=n(e),i=r===""?"."+Gd(e,0):r,aT(n)?(o="",i!=null&&(o=i.replace(iT,"$&/")+"/"),si(n,t,o,"",function(u){return u})):n!=null&&(Qd(n)&&(n=B2(n,o+(n.key==null||e&&e.key===n.key?"":(""+n.key).replace(iT,"$&/")+"/")+i)),t.push(n)),1;i=0;var l=r===""?".":r+":";if(aT(e))for(var s=0;s<e.length;s++)r=e[s],a=l+Gd(r,s),i+=si(r,t,o,a,n);else if(s=z2(e),typeof s=="function")for(e=s.call(e),s=0;!(r=e.next()).done;)r=r.value,a=l+Gd(r,s++),i+=si(r,t,o,a,n);else if(a==="object"){if(typeof e.then=="function")return si(j2(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 pc(e,t,o){if(e==null)return e;var r=[],n=0;return si(e,r,"","",function(a){return t.call(o,a,n++)}),r}function k2(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 lT=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)},L2={map:pc,forEach:function(e,t,o){pc(e,function(){t.apply(this,arguments)},o)},count:function(e){var t=0;return pc(e,function(){t++}),t},toArray:function(e){return pc(e,function(t){return t})||[]},only:function(e){if(!Qd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Z.Activity=D2;Z.Children=L2;Z.Component=ui;Z.Fragment=P2;Z.Profiler=O2;Z.PureComponent=Yd;Z.StrictMode=R2;Z.Suspense=w2;Z.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ue;Z.__COMPILER_RUNTIME={__proto__:null,c:function(e){return Ue.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=cT({},e.props),n=e.key;if(t!=null)for(a in t.key!==void 0&&(n=""+t.key),t)!dT.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),l=0;l<a;l++)i[l]=arguments[l+2];r.children=i}return Xd(e.type,n,r)};Z.createContext=function(e){return e={$$typeof:M2,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:A2,_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)dT.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 l=Array(i),s=0;s<i;s++)l[s]=arguments[s+2];n.children=l}if(e&&e.defaultProps)for(r in i=e.defaultProps,i)n[r]===void 0&&(n[r]=i[r]);return Xd(e,a,n)};Z.createRef=function(){return{current:null}};Z.forwardRef=function(e){return{$$typeof:N2,render:e}};Z.isValidElement=Qd;Z.lazy=function(e){return{$$typeof:sT,_payload:{_status:-1,_result:e},_init:k2}};Z.memo=function(e,t){return{$$typeof:_2,type:e,compare:t===void 0?null:t}};Z.startTransition=function(e){var t=Ue.T,o={};Ue.T=o;try{var r=e(),n=Ue.S;n!==null&&n(o,r),typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.then(Fd,lT)}catch(a){lT(a)}finally{t!==null&&o.types!==null&&(t.types=o.types),Ue.T=t}};Z.unstable_useCacheRefresh=function(){return Ue.H.useCacheRefresh()};Z.use=function(e){return Ue.H.use(e)};Z.useActionState=function(e,t,o){return Ue.H.useActionState(e,t,o)};Z.useCallback=function(e,t){return Ue.H.useCallback(e,t)};Z.useContext=function(e){return Ue.H.useContext(e)};Z.useDebugValue=function(){};Z.useDeferredValue=function(e,t){return Ue.H.useDeferredValue(e,t)};Z.useEffect=function(e,t){return Ue.H.useEffect(e,t)};Z.useEffectEvent=function(e){return Ue.H.useEffectEvent(e)};Z.useId=function(){return Ue.H.useId()};Z.useImperativeHandle=function(e,t,o){return Ue.H.useImperativeHandle(e,t,o)};Z.useInsertionEffect=function(e,t){return Ue.H.useInsertionEffect(e,t)};Z.useLayoutEffect=function(e,t){return Ue.H.useLayoutEffect(e,t)};Z.useMemo=function(e,t){return Ue.H.useMemo(e,t)};Z.useOptimistic=function(e,t){return Ue.H.useOptimistic(e,t)};Z.useReducer=function(e,t,o){return Ue.H.useReducer(e,t,o)};Z.useRef=function(e){return Ue.H.useRef(e)};Z.useState=function(e){return Ue.H.useState(e)};Z.useSyncExternalStore=function(e,t,o){return Ue.H.useSyncExternalStore(e,t,o)};Z.useTransition=function(){return Ue.H.useTransition()};Z.version="19.2.4"});var U=It((Lz,yT)=>{"use strict";yT.exports=mT()});var gT=It(xe=>{"use strict";var mt=typeof Symbol=="function"&&Symbol.for,Zd=mt?Symbol.for("react.element"):60103,Wd=mt?Symbol.for("react.portal"):60106,fc=mt?Symbol.for("react.fragment"):60107,dc=mt?Symbol.for("react.strict_mode"):60108,mc=mt?Symbol.for("react.profiler"):60114,yc=mt?Symbol.for("react.provider"):60109,hc=mt?Symbol.for("react.context"):60110,Jd=mt?Symbol.for("react.async_mode"):60111,gc=mt?Symbol.for("react.concurrent_mode"):60111,bc=mt?Symbol.for("react.forward_ref"):60112,Tc=mt?Symbol.for("react.suspense"):60113,H2=mt?Symbol.for("react.suspense_list"):60120,vc=mt?Symbol.for("react.memo"):60115,xc=mt?Symbol.for("react.lazy"):60116,I2=mt?Symbol.for("react.block"):60121,V2=mt?Symbol.for("react.fundamental"):60117,q2=mt?Symbol.for("react.responder"):60118,G2=mt?Symbol.for("react.scope"):60119;function po(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Zd:switch(e=e.type,e){case Jd:case gc:case fc:case mc:case dc:case Tc:return e;default:switch(e=e&&e.$$typeof,e){case hc:case bc:case xc:case vc:case yc:return e;default:return t}}case Wd:return t}}}function hT(e){return po(e)===gc}xe.AsyncMode=Jd;xe.ConcurrentMode=gc;xe.ContextConsumer=hc;xe.ContextProvider=yc;xe.Element=Zd;xe.ForwardRef=bc;xe.Fragment=fc;xe.Lazy=xc;xe.Memo=vc;xe.Portal=Wd;xe.Profiler=mc;xe.StrictMode=dc;xe.Suspense=Tc;xe.isAsyncMode=function(e){return hT(e)||po(e)===Jd};xe.isConcurrentMode=hT;xe.isContextConsumer=function(e){return po(e)===hc};xe.isContextProvider=function(e){return po(e)===yc};xe.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Zd};xe.isForwardRef=function(e){return po(e)===bc};xe.isFragment=function(e){return po(e)===fc};xe.isLazy=function(e){return po(e)===xc};xe.isMemo=function(e){return po(e)===vc};xe.isPortal=function(e){return po(e)===Wd};xe.isProfiler=function(e){return po(e)===mc};xe.isStrictMode=function(e){return po(e)===dc};xe.isSuspense=function(e){return po(e)===Tc};xe.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===fc||e===gc||e===mc||e===dc||e===Tc||e===H2||typeof e=="object"&&e!==null&&(e.$$typeof===xc||e.$$typeof===vc||e.$$typeof===yc||e.$$typeof===hc||e.$$typeof===bc||e.$$typeof===V2||e.$$typeof===q2||e.$$typeof===G2||e.$$typeof===I2)};xe.typeOf=po});var TT=It((Vz,bT)=>{"use strict";bT.exports=gT()});var RT=It((qz,PT)=>{"use strict";var em=TT(),F2={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},$2={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Y2={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},CT={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tm={};tm[em.ForwardRef]=Y2;tm[em.Memo]=CT;function vT(e){return em.isMemo(e)?CT:tm[e.$$typeof]||F2}var K2=Object.defineProperty,X2=Object.getOwnPropertyNames,xT=Object.getOwnPropertySymbols,Q2=Object.getOwnPropertyDescriptor,Z2=Object.getPrototypeOf,ST=Object.prototype;function ET(e,t,o){if(typeof t!="string"){if(ST){var r=Z2(t);r&&r!==ST&&ET(e,r,o)}var n=X2(t);xT&&(n=n.concat(xT(t)));for(var a=vT(e),i=vT(t),l=0;l<n.length;++l){var s=n[l];if(!$2[s]&&!(o&&o[s])&&!(i&&i[s])&&!(a&&a[s])){var u=Q2(t,s);try{K2(e,s,u)}catch{}}}}return e}PT.exports=ET});var XT=It(Ie=>{"use strict";function um(e,t){var o=e.length;e.push(t);e:for(;0<o;){var r=o-1>>>1,n=e[r];if(0<Ec(n,t))e[r]=t,e[o]=n,o=r;else break e}}function cr(e){return e.length===0?null:e[0]}function Rc(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,l=e[i],s=i+1,u=e[s];if(0>Ec(l,o))s<n&&0>Ec(u,l)?(e[r]=u,e[s]=o,r=s):(e[r]=l,e[i]=o,r=i);else if(s<n&&0>Ec(u,o))e[r]=u,e[s]=o,r=s;else break e}}return t}function Ec(e,t){var o=e.sortIndex-t.sortIndex;return o!==0?o:e.id-t.id}Ie.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(HT=performance,Ie.unstable_now=function(){return HT.now()}):(im=Date,IT=im.now(),Ie.unstable_now=function(){return im.now()-IT});var HT,im,IT,Pr=[],rn=[],lO=1,_o=null,Ut=3,cm=!1,Jl=!1,es=!1,pm=!1,GT=typeof setTimeout=="function"?setTimeout:null,FT=typeof clearTimeout=="function"?clearTimeout:null,VT=typeof setImmediate<"u"?setImmediate:null;function Pc(e){for(var t=cr(rn);t!==null;){if(t.callback===null)Rc(rn);else if(t.startTime<=e)Rc(rn),t.sortIndex=t.expirationTime,um(Pr,t);else break;t=cr(rn)}}function fm(e){if(es=!1,Pc(e),!Jl)if(cr(Pr)!==null)Jl=!0,mi||(mi=!0,di());else{var t=cr(rn);t!==null&&dm(fm,t.startTime-e)}}var mi=!1,ts=-1,$T=5,YT=-1;function KT(){return pm?!0:!(Ie.unstable_now()-YT<$T)}function lm(){if(pm=!1,mi){var e=Ie.unstable_now();YT=e;var t=!0;try{e:{Jl=!1,es&&(es=!1,FT(ts),ts=-1),cm=!0;var o=Ut;try{t:{for(Pc(e),_o=cr(Pr);_o!==null&&!(_o.expirationTime>e&&KT());){var r=_o.callback;if(typeof r=="function"){_o.callback=null,Ut=_o.priorityLevel;var n=r(_o.expirationTime<=e);if(e=Ie.unstable_now(),typeof n=="function"){_o.callback=n,Pc(e),t=!0;break t}_o===cr(Pr)&&Rc(Pr),Pc(e)}else Rc(Pr);_o=cr(Pr)}if(_o!==null)t=!0;else{var a=cr(rn);a!==null&&dm(fm,a.startTime-e),t=!1}}break e}finally{_o=null,Ut=o,cm=!1}t=void 0}}finally{t?di():mi=!1}}}var di;typeof VT=="function"?di=function(){VT(lm)}:typeof MessageChannel<"u"?(sm=new MessageChannel,qT=sm.port2,sm.port1.onmessage=lm,di=function(){qT.postMessage(null)}):di=function(){GT(lm,0)};var sm,qT;function dm(e,t){ts=GT(function(){e(Ie.unstable_now())},t)}Ie.unstable_IdlePriority=5;Ie.unstable_ImmediatePriority=1;Ie.unstable_LowPriority=4;Ie.unstable_NormalPriority=3;Ie.unstable_Profiling=null;Ie.unstable_UserBlockingPriority=2;Ie.unstable_cancelCallback=function(e){e.callback=null};Ie.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"):$T=0<e?Math.floor(1e3/e):5};Ie.unstable_getCurrentPriorityLevel=function(){return Ut};Ie.unstable_next=function(e){switch(Ut){case 1:case 2:case 3:var t=3;break;default:t=Ut}var o=Ut;Ut=t;try{return e()}finally{Ut=o}};Ie.unstable_requestPaint=function(){pm=!0};Ie.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var o=Ut;Ut=e;try{return t()}finally{Ut=o}};Ie.unstable_scheduleCallback=function(e,t,o){var r=Ie.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:lO++,callback:t,priorityLevel:e,startTime:o,expirationTime:n,sortIndex:-1},o>r?(e.sortIndex=o,um(rn,e),cr(Pr)===null&&e===cr(rn)&&(es?(FT(ts),ts=-1):es=!0,dm(fm,o-r))):(e.sortIndex=n,um(Pr,e),Jl||cm||(Jl=!0,mi||(mi=!0,di()))),e};Ie.unstable_shouldYield=KT;Ie.unstable_wrapCallback=function(e){var t=Ut;return function(){var o=Ut;Ut=t;try{return e.apply(this,arguments)}finally{Ut=o}}}});var ZT=It((x4,QT)=>{"use strict";QT.exports=XT()});var JT=It($t=>{"use strict";var sO=U();function WT(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 nn(){}var Ft={d:{f:nn,r:function(){throw Error(WT(522))},D:nn,C:nn,L:nn,m:nn,X:nn,S:nn,M:nn},p:0,findDOMNode:null},uO=Symbol.for("react.portal");function cO(e,t,o){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:uO,key:r==null?null:""+r,children:e,containerInfo:t,implementation:o}}var os=sO.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Oc(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}$t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ft;$t.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(WT(299));return cO(e,t,null,o)};$t.flushSync=function(e){var t=os.T,o=Ft.p;try{if(os.T=null,Ft.p=2,e)return e()}finally{os.T=t,Ft.p=o,Ft.d.f()}};$t.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Ft.d.C(e,t))};$t.prefetchDNS=function(e){typeof e=="string"&&Ft.d.D(e)};$t.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var o=t.as,r=Oc(o,t.crossOrigin),n=typeof t.integrity=="string"?t.integrity:void 0,a=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;o==="style"?Ft.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:r,integrity:n,fetchPriority:a}):o==="script"&&Ft.d.X(e,{crossOrigin:r,integrity:n,fetchPriority:a,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};$t.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var o=Oc(t.as,t.crossOrigin);Ft.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&&Ft.d.M(e)};$t.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var o=t.as,r=Oc(o,t.crossOrigin);Ft.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})}};$t.preloadModule=function(e,t){if(typeof e=="string")if(t){var o=Oc(t.as,t.crossOrigin);Ft.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 Ft.d.m(e)};$t.requestFormReset=function(e){Ft.d.r(e)};$t.unstable_batchedUpdates=function(e,t){return e(t)};$t.useFormState=function(e,t,o){return os.H.useFormState(e,t,o)};$t.useFormStatus=function(){return os.H.useHostTransitionStatus()};$t.version="19.2.4"});var Ac=It((C4,t0)=>{"use strict";function e0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e0)}catch(e){console.error(e)}}e0(),t0.exports=JT()});var d1=It(Jp=>{"use strict";var ft=ZT(),Ov=U(),pO=Ac();function z(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 Av(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Vs(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 Mv(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 Nv(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 o0(e){if(Vs(e)!==e)throw Error(z(188))}function fO(e){var t=e.alternate;if(!t){if(t=Vs(e),t===null)throw Error(z(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 o0(n),e;if(a===r)return o0(n),t;a=a.sibling}throw Error(z(188))}if(o.return!==r.return)o=n,r=a;else{for(var i=!1,l=n.child;l;){if(l===o){i=!0,o=n,r=a;break}if(l===r){i=!0,r=n,o=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===o){i=!0,o=a,r=n;break}if(l===r){i=!0,r=a,o=n;break}l=l.sibling}if(!i)throw Error(z(189))}}if(o.alternate!==r)throw Error(z(190))}if(o.tag!==3)throw Error(z(188));return o.stateNode.current===o?e:t}function wv(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=wv(e),t!==null)return t;e=e.sibling}return null}var Le=Object.assign,dO=Symbol.for("react.element"),Mc=Symbol.for("react.transitional.element"),cs=Symbol.for("react.portal"),vi=Symbol.for("react.fragment"),_v=Symbol.for("react.strict_mode"),Ym=Symbol.for("react.profiler"),Dv=Symbol.for("react.consumer"),Dr=Symbol.for("react.context"),Vy=Symbol.for("react.forward_ref"),Km=Symbol.for("react.suspense"),Xm=Symbol.for("react.suspense_list"),qy=Symbol.for("react.memo"),an=Symbol.for("react.lazy"),Qm=Symbol.for("react.activity"),mO=Symbol.for("react.memo_cache_sentinel"),r0=Symbol.iterator;function rs(e){return e===null||typeof e!="object"?null:(e=r0&&e[r0]||e["@@iterator"],typeof e=="function"?e:null)}var yO=Symbol.for("react.client.reference");function Zm(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===yO?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case vi:return"Fragment";case Ym:return"Profiler";case _v:return"StrictMode";case Km:return"Suspense";case Xm:return"SuspenseList";case Qm:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case cs:return"Portal";case Dr:return e.displayName||"Context";case Dv:return(e._context.displayName||"Context")+".Consumer";case Vy:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case qy:return t=e.displayName||null,t!==null?t:Zm(e.type)||"Memo";case an:t=e._payload,e=e._init;try{return Zm(e(t))}catch{}}return null}var ps=Array.isArray,$=Ov.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,me=pO.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,na={pending:!1,data:null,method:null,action:null},Wm=[],xi=-1;function yr(e){return{current:e}}function gt(e){0>xi||(e.current=Wm[xi],Wm[xi]=null,xi--)}function we(e,t){xi++,Wm[xi]=e.current,e.current=t}var mr=yr(null),As=yr(null),gn=yr(null),sp=yr(null);function up(e,t){switch(we(gn,t),we(As,e),we(mr,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?cv(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=cv(t),e=JS(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}gt(mr),we(mr,e)}function Li(){gt(mr),gt(As),gt(gn)}function Jm(e){e.memoizedState!==null&&we(sp,e);var t=mr.current,o=JS(t,e.type);t!==o&&(we(As,e),we(mr,o))}function cp(e){As.current===e&&(gt(mr),gt(As)),sp.current===e&&(gt(sp),Ls._currentValue=na)}var mm,n0;function ea(e){if(mm===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);mm=t&&t[1]||"",n0=-1<o.stack.indexOf(`
2
2
  at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
3
- `+dm+e+o0}var mm=!1;function ym(e,t){if(!e||mm)return"";mm=!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],l=a[1];if(i&&l){var s=i.split(`
3
+ `+mm+e+n0}var ym=!1;function hm(e,t){if(!e||ym)return"";ym=!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],l=a[1];if(i&&l){var s=i.split(`
4
4
  `),u=l.split(`
5
5
  `);for(n=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;n<u.length&&!u[n].includes("DetermineComponentFrameRoot");)n++;if(r===s.length||n===u.length)for(r=s.length-1,n=u.length-1;1<=r&&0<=n&&s[r]!==u[n];)n--;for(;1<=r&&0<=n;r--,n--)if(s[r]!==u[n]){if(r!==1||n!==1)do if(r--,n--,0>n||s[r]!==u[n]){var p=`
6
- `+s[r].replace(" at new "," at ");return e.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",e.displayName)),p}while(1<=r&&0<=n);break}}}finally{mm=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?ea(o):""}function d2(e,t){switch(e.tag){case 26:case 27:case 5:return ea(e.type);case 16:return ea("Lazy");case 13:return e.child!==t&&t!==null?ea("Suspense Fallback"):ea("Suspense");case 19:return ea("SuspenseList");case 0:case 15:return ym(e.type,!1);case 11:return ym(e.type.render,!1);case 1:return ym(e.type,!0);case 31:return ea("Activity");default:return""}}function r0(e){try{var t="",o=null;do t+=d2(e,o),o=e,e=e.return;while(e);return t}catch(r){return`
6
+ `+s[r].replace(" at new "," at ");return e.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",e.displayName)),p}while(1<=r&&0<=n);break}}}finally{ym=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?ea(o):""}function hO(e,t){switch(e.tag){case 26:case 27:case 5:return ea(e.type);case 16:return ea("Lazy");case 13:return e.child!==t&&t!==null?ea("Suspense Fallback"):ea("Suspense");case 19:return ea("SuspenseList");case 0:case 15:return hm(e.type,!1);case 11:return hm(e.type.render,!1);case 1:return hm(e.type,!0);case 31:return ea("Activity");default:return""}}function a0(e){try{var t="",o=null;do t+=hO(e,o),o=e,e=e.return;while(e);return t}catch(r){return`
7
7
  Error generating stack: `+r.message+`
8
- `+r.stack}}var Jm=Object.prototype.hasOwnProperty,qy=ft.unstable_scheduleCallback,hm=ft.unstable_cancelCallback,m2=ft.unstable_shouldYield,y2=ft.unstable_requestPaint,go=ft.unstable_now,h2=ft.unstable_getCurrentPriorityLevel,_v=ft.unstable_ImmediatePriority,Dv=ft.unstable_UserBlockingPriority,cp=ft.unstable_NormalPriority,g2=ft.unstable_LowPriority,zv=ft.unstable_IdlePriority,b2=ft.log,T2=ft.unstable_setDisableYieldValue,qs=null,bo=null;function fn(e){if(typeof b2=="function"&&T2(e),bo&&typeof bo.setStrictMode=="function")try{bo.setStrictMode(qs,e)}catch{}}var To=Math.clz32?Math.clz32:S2,v2=Math.log,x2=Math.LN2;function S2(e){return e>>>=0,e===0?32:31-(v2(e)/x2|0)|0}var Mc=256,Nc=262144,wc=4194304;function ta(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Up(e,t,o){var r=e.pendingLanes;if(r===0)return 0;var n=0,a=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var l=r&134217727;return l!==0?(r=l&~a,r!==0?n=ta(r):(i&=l,i!==0?n=ta(i):o||(o=l&~e,o!==0&&(n=ta(o))))):(l=r&~a,l!==0?n=ta(l):i!==0?n=ta(i):o||(o=r&~e,o!==0&&(n=ta(o)))),n===0?0:t!==0&&t!==n&&(t&a)===0&&(a=n&-n,o=t&-t,a>=o||a===32&&(o&4194048)!==0)?t:n}function Gs(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function C2(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Bv(){var e=wc;return wc<<=1,(wc&62914560)===0&&(wc=4194304),e}function gm(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function Fs(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function E2(e,t,o,r,n,a){var i=e.pendingLanes;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=o,e.entangledLanes&=o,e.errorRecoveryDisabledLanes&=o,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,u=e.hiddenUpdates;for(o=i&~o;0<o;){var p=31-To(o),f=1<<p;l[p]=0,s[p]=-1;var d=u[p];if(d!==null)for(u[p]=null,p=0;p<d.length;p++){var c=d[p];c!==null&&(c.lane&=-536870913)}o&=~f}r!==0&&Uv(e,r,0),a!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=a&~(i&~t))}function Uv(e,t,o){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-To(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|o&261930}function jv(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var r=31-To(o),n=1<<r;n&t|e[r]&t&&(e[r]|=t),o&=~n}}function kv(e,t){var o=t&-t;return o=(o&42)!==0?1:Gy(o),(o&(e.suspendedLanes|t))!==0?0:o}function Gy(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Fy(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Lv(){var e=me.p;return e!==0?e:(e=window.event,e===void 0?32:s1(e.type))}function n0(e,t){var o=me.p;try{return me.p=e,t()}finally{me.p=o}}var Nn=Math.random().toString(36).slice(2),Ot="__reactFiber$"+Nn,oo="__reactProps$"+Nn,Qi="__reactContainer$"+Nn,ey="__reactEvents$"+Nn,P2="__reactListeners$"+Nn,R2="__reactHandles$"+Nn,a0="__reactResources$"+Nn,$s="__reactMarker$"+Nn;function $y(e){delete e[Ot],delete e[oo],delete e[ey],delete e[P2],delete e[R2]}function Si(e){var t=e[Ot];if(t)return t;for(var o=e.parentNode;o;){if(t=o[Qi]||o[Ot]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=dv(e);e!==null;){if(o=e[Ot])return o;e=dv(e)}return t}e=o,o=e.parentNode}return null}function Zi(e){if(e=e[Ot]||e[Qi]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function fs(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(z(33))}function _i(e){var t=e[a0];return t||(t=e[a0]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ht(e){e[$s]=!0}var Hv=new Set,Vv={};function ma(e,t){Hi(e,t),Hi(e+"Capture",t)}function Hi(e,t){for(Vv[e]=t,e=0;e<t.length;e++)Hv.add(t[e])}var O2=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),i0={},l0={};function A2(e){return Jm.call(l0,e)?!0:Jm.call(i0,e)?!1:O2.test(e)?l0[e]=!0:(i0[e]=!0,!1)}function $c(e,t,o){if(A2(t))if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+o)}}function _c(e,t,o){if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+o)}}function Rr(e,t,o,r){if(r===null)e.removeAttribute(o);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(o);return}e.setAttributeNS(t,o,""+r)}}function zo(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Iv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function M2(e,t,o){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var n=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(i){o=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return o},setValue:function(i){o=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ty(e){if(!e._valueTracker){var t=Iv(e)?"checked":"value";e._valueTracker=M2(e,t,""+e[t])}}function qv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),r="";return e&&(r=Iv(e)?e.checked?"true":"false":e.value),e=r,e!==o?(t.setValue(e),!0):!1}function pp(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var N2=/[\n"\\]/g;function jo(e){return e.replace(N2,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function oy(e,t,o,r,n,a,i,l){e.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?e.type=i:e.removeAttribute("type"),t!=null?i==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+zo(t)):e.value!==""+zo(t)&&(e.value=""+zo(t)):i!=="submit"&&i!=="reset"||e.removeAttribute("value"),t!=null?ry(e,i,zo(t)):o!=null?ry(e,i,zo(o)):r!=null&&e.removeAttribute("value"),n==null&&a!=null&&(e.defaultChecked=!!a),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"?e.name=""+zo(l):e.removeAttribute("name")}function Gv(e,t,o,r,n,a,i,l){if(a!=null&&typeof a!="function"&&typeof a!="symbol"&&typeof a!="boolean"&&(e.type=a),t!=null||o!=null){if(!(a!=="submit"&&a!=="reset"||t!=null)){ty(e);return}o=o!=null?""+zo(o):"",t=t!=null?""+zo(t):o,l||t===e.value||(e.value=t),e.defaultValue=t}r=r??n,r=typeof r!="function"&&typeof r!="symbol"&&!!r,e.checked=l?e.checked:!!r,e.defaultChecked=!!r,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.name=i),ty(e)}function ry(e,t,o){t==="number"&&pp(e.ownerDocument)===e||e.defaultValue===""+o||(e.defaultValue=""+o)}function Di(e,t,o,r){if(e=e.options,t){t={};for(var n=0;n<o.length;n++)t["$"+o[n]]=!0;for(o=0;o<e.length;o++)n=t.hasOwnProperty("$"+e[o].value),e[o].selected!==n&&(e[o].selected=n),n&&r&&(e[o].defaultSelected=!0)}else{for(o=""+zo(o),t=null,n=0;n<e.length;n++){if(e[n].value===o){e[n].selected=!0,r&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function Fv(e,t,o){if(t!=null&&(t=""+zo(t),t!==e.value&&(e.value=t),o==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=o!=null?""+zo(o):""}function $v(e,t,o,r){if(t==null){if(r!=null){if(o!=null)throw Error(z(92));if(ps(r)){if(1<r.length)throw Error(z(93));r=r[0]}o=r}o==null&&(o=""),t=o}o=zo(t),e.defaultValue=o,r=e.textContent,r===o&&r!==""&&r!==null&&(e.value=r),ty(e)}function Vi(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var w2=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function s0(e,t,o){var r=t.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?r?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":r?e.setProperty(t,o):typeof o!="number"||o===0||w2.has(t)?t==="float"?e.cssFloat=o:e[t]=(""+o).trim():e[t]=o+"px"}function Yv(e,t,o){if(t!=null&&typeof t!="object")throw Error(z(62));if(e=e.style,o!=null){for(var r in o)!o.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf("--")===0?e.setProperty(r,""):r==="float"?e.cssFloat="":e[r]="");for(var n in t)r=t[n],t.hasOwnProperty(n)&&o[n]!==r&&s0(e,n,r)}else for(var a in t)t.hasOwnProperty(a)&&s0(e,a,t[a])}function Yy(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var _2=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),D2=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Yc(e){return D2.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function zr(){}var ny=null;function Ky(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ci=null,zi=null;function u0(e){var t=Zi(e);if(t&&(e=t.stateNode)){var o=e[oo]||null;e:switch(e=t.stateNode,t.type){case"input":if(oy(e,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),t=o.name,o.type==="radio"&&t!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+jo(""+t)+'"][type="radio"]'),t=0;t<o.length;t++){var r=o[t];if(r!==e&&r.form===e.form){var n=r[oo]||null;if(!n)throw Error(z(90));oy(r,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<o.length;t++)r=o[t],r.form===e.form&&qv(r)}break e;case"textarea":Fv(e,o.value,o.defaultValue);break e;case"select":t=o.value,t!=null&&Di(e,!!o.multiple,t,!1)}}}var bm=!1;function Kv(e,t,o){if(bm)return e(t,o);bm=!0;try{var r=e(t);return r}finally{if(bm=!1,(Ci!==null||zi!==null)&&(Kp(),Ci&&(t=Ci,e=zi,zi=Ci=null,u0(t),e)))for(t=0;t<e.length;t++)u0(e[t])}}function Ms(e,t){var o=e.stateNode;if(o===null)return null;var r=o[oo]||null;if(r===null)return null;o=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(z(231,t,typeof o));return o}var Lr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ay=!1;if(Lr)try{yi={},Object.defineProperty(yi,"passive",{get:function(){ay=!0}}),window.addEventListener("test",yi,yi),window.removeEventListener("test",yi,yi)}catch{ay=!1}var yi,dn=null,Xy=null,Kc=null;function Xv(){if(Kc)return Kc;var e,t=Xy,o=t.length,r,n="value"in dn?dn.value:dn.textContent,a=n.length;for(e=0;e<o&&t[e]===n[e];e++);var i=o-e;for(r=1;r<=i&&t[o-r]===n[a-r];r++);return Kc=n.slice(e,1<r?1-r:void 0)}function Xc(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Dc(){return!0}function c0(){return!1}function ro(e){function t(o,r,n,a,i){this._reactName=o,this._targetInst=n,this.type=r,this.nativeEvent=a,this.target=i,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(o=e[l],this[l]=o?o(a):a[l]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?Dc:c0,this.isPropagationStopped=c0,this}return Le(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Dc)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Dc)},persist:function(){},isPersistent:Dc}),t}var ya={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},jp=ro(ya),Ys=Le({},ya,{view:0,detail:0}),z2=ro(Ys),Tm,vm,ns,kp=Le({},Ys,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Qy,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ns&&(ns&&e.type==="mousemove"?(Tm=e.screenX-ns.screenX,vm=e.screenY-ns.screenY):vm=Tm=0,ns=e),Tm)},movementY:function(e){return"movementY"in e?e.movementY:vm}}),p0=ro(kp),B2=Le({},kp,{dataTransfer:0}),U2=ro(B2),j2=Le({},Ys,{relatedTarget:0}),xm=ro(j2),k2=Le({},ya,{animationName:0,elapsedTime:0,pseudoElement:0}),L2=ro(k2),H2=Le({},ya,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),V2=ro(H2),I2=Le({},ya,{data:0}),f0=ro(I2),q2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},G2={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},F2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function $2(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=F2[e])?!!t[e]:!1}function Qy(){return $2}var Y2=Le({},Ys,{key:function(e){if(e.key){var t=q2[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Xc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?G2[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Qy,charCode:function(e){return e.type==="keypress"?Xc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Xc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),K2=ro(Y2),X2=Le({},kp,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),d0=ro(X2),Q2=Le({},Ys,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Qy}),Z2=ro(Q2),W2=Le({},ya,{propertyName:0,elapsedTime:0,pseudoElement:0}),J2=ro(W2),eA=Le({},kp,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),tA=ro(eA),oA=Le({},ya,{newState:0,oldState:0}),rA=ro(oA),nA=[9,13,27,32],Zy=Lr&&"CompositionEvent"in window,ys=null;Lr&&"documentMode"in document&&(ys=document.documentMode);var aA=Lr&&"TextEvent"in window&&!ys,Qv=Lr&&(!Zy||ys&&8<ys&&11>=ys),m0=" ",y0=!1;function Zv(e,t){switch(e){case"keyup":return nA.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ei=!1;function iA(e,t){switch(e){case"compositionend":return Wv(t);case"keypress":return t.which!==32?null:(y0=!0,m0);case"textInput":return e=t.data,e===m0&&y0?null:e;default:return null}}function lA(e,t){if(Ei)return e==="compositionend"||!Zy&&Zv(e,t)?(e=Xv(),Kc=Xy=dn=null,Ei=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Qv&&t.locale!=="ko"?null:t.data;default:return null}}var sA={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function h0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!sA[e.type]:t==="textarea"}function Jv(e,t,o,r){Ci?zi?zi.push(r):zi=[r]:Ci=r,t=Mp(t,"onChange"),0<t.length&&(o=new jp("onChange","change",null,o,r),e.push({event:o,listeners:t}))}var hs=null,Ns=null;function uA(e){KS(e,0)}function Lp(e){var t=fs(e);if(qv(t))return e}function g0(e,t){if(e==="change")return t}var ex=!1;Lr&&(Lr?(Bc="oninput"in document,Bc||(Sm=document.createElement("div"),Sm.setAttribute("oninput","return;"),Bc=typeof Sm.oninput=="function"),zc=Bc):zc=!1,ex=zc&&(!document.documentMode||9<document.documentMode));var zc,Bc,Sm;function b0(){hs&&(hs.detachEvent("onpropertychange",tx),Ns=hs=null)}function tx(e){if(e.propertyName==="value"&&Lp(Ns)){var t=[];Jv(t,Ns,e,Ky(e)),Kv(uA,t)}}function cA(e,t,o){e==="focusin"?(b0(),hs=t,Ns=o,hs.attachEvent("onpropertychange",tx)):e==="focusout"&&b0()}function pA(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Lp(Ns)}function fA(e,t){if(e==="click")return Lp(t)}function dA(e,t){if(e==="input"||e==="change")return Lp(t)}function mA(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var xo=typeof Object.is=="function"?Object.is:mA;function ws(e,t){if(xo(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var o=Object.keys(e),r=Object.keys(t);if(o.length!==r.length)return!1;for(r=0;r<o.length;r++){var n=o[r];if(!Jm.call(t,n)||!xo(e[n],t[n]))return!1}return!0}function T0(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function v0(e,t){var o=T0(e);e=0;for(var r;o;){if(o.nodeType===3){if(r=e+o.textContent.length,e<=t&&r>=t)return{node:o,offset:t-e};e=r}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=T0(o)}}function ox(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ox(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function rx(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=pp(e.document);t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=pp(e.document)}return t}function Wy(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var yA=Lr&&"documentMode"in document&&11>=document.documentMode,Pi=null,iy=null,gs=null,ly=!1;function x0(e,t,o){var r=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;ly||Pi==null||Pi!==pp(r)||(r=Pi,"selectionStart"in r&&Wy(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),gs&&ws(gs,r)||(gs=r,r=Mp(iy,"onSelect"),0<r.length&&(t=new jp("onSelect","select",null,t,o),e.push({event:t,listeners:r}),t.target=Pi)))}function Jn(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var Ri={animationend:Jn("Animation","AnimationEnd"),animationiteration:Jn("Animation","AnimationIteration"),animationstart:Jn("Animation","AnimationStart"),transitionrun:Jn("Transition","TransitionRun"),transitionstart:Jn("Transition","TransitionStart"),transitioncancel:Jn("Transition","TransitionCancel"),transitionend:Jn("Transition","TransitionEnd")},Cm={},nx={};Lr&&(nx=document.createElement("div").style,"AnimationEvent"in window||(delete Ri.animationend.animation,delete Ri.animationiteration.animation,delete Ri.animationstart.animation),"TransitionEvent"in window||delete Ri.transitionend.transition);function ha(e){if(Cm[e])return Cm[e];if(!Ri[e])return e;var t=Ri[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in nx)return Cm[e]=t[o];return e}var ax=ha("animationend"),ix=ha("animationiteration"),lx=ha("animationstart"),hA=ha("transitionrun"),gA=ha("transitionstart"),bA=ha("transitioncancel"),sx=ha("transitionend"),ux=new Map,sy="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");sy.push("scrollEnd");function Jo(e,t){ux.set(e,t),ma(t,[e])}var fp=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)},Do=[],Oi=0,Jy=0;function Hp(){for(var e=Oi,t=Jy=Oi=0;t<e;){var o=Do[t];Do[t++]=null;var r=Do[t];Do[t++]=null;var n=Do[t];Do[t++]=null;var a=Do[t];if(Do[t++]=null,r!==null&&n!==null){var i=r.pending;i===null?n.next=n:(n.next=i.next,i.next=n),r.pending=n}a!==0&&cx(o,n,a)}}function Vp(e,t,o,r){Do[Oi++]=e,Do[Oi++]=t,Do[Oi++]=o,Do[Oi++]=r,Jy|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function eh(e,t,o,r){return Vp(e,t,o,r),dp(e)}function ga(e,t){return Vp(e,null,null,t),dp(e)}function cx(e,t,o){e.lanes|=o;var r=e.alternate;r!==null&&(r.lanes|=o);for(var n=!1,a=e.return;a!==null;)a.childLanes|=o,r=a.alternate,r!==null&&(r.childLanes|=o),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(n=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,n&&t!==null&&(n=31-To(o),e=a.hiddenUpdates,r=e[n],r===null?e[n]=[t]:r.push(t),t.lane=o|536870912),a):null}function dp(e){if(50<Rs)throw Rs=0,My=null,Error(z(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Ai={};function TA(e,t,o,r){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yo(e,t,o,r){return new TA(e,t,o,r)}function th(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ur(e,t){var o=e.alternate;return o===null?(o=yo(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&65011712,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,t=e.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o.refCleanup=e.refCleanup,o}function px(e,t){e.flags&=65011714;var o=e.alternate;return o===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=o.childLanes,e.lanes=o.lanes,e.child=o.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=o.memoizedProps,e.memoizedState=o.memoizedState,e.updateQueue=o.updateQueue,e.type=o.type,t=o.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Qc(e,t,o,r,n,a){var i=0;if(r=e,typeof e=="function")th(e)&&(i=1);else if(typeof e=="string")i=SM(e,o,mr.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Xm:return e=yo(31,o,t,n),e.elementType=Xm,e.lanes=a,e;case vi:return aa(o.children,n,a,t);case Nv:i=8,n|=24;break;case $m:return e=yo(12,o,t,n|2),e.elementType=$m,e.lanes=a,e;case Ym:return e=yo(13,o,t,n),e.elementType=Ym,e.lanes=a,e;case Km:return e=yo(19,o,t,n),e.elementType=Km,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Dr:i=10;break e;case wv:i=9;break e;case Vy:i=11;break e;case Iy:i=14;break e;case an:i=16,r=null;break e}i=29,o=Error(z(130,e===null?"null":typeof e,"")),r=null}return t=yo(i,o,t,n),t.elementType=e,t.type=r,t.lanes=a,t}function aa(e,t,o,r){return e=yo(7,e,r,t),e.lanes=o,e}function Em(e,t,o){return e=yo(6,e,null,t),e.lanes=o,e}function fx(e){var t=yo(18,null,null,0);return t.stateNode=e,t}function Pm(e,t,o){return t=yo(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var S0=new WeakMap;function ko(e,t){if(typeof e=="object"&&e!==null){var o=S0.get(e);return o!==void 0?o:(t={value:e,source:t,stack:r0(t)},S0.set(e,t),t)}return{value:e,source:t,stack:r0(t)}}var Mi=[],Ni=0,mp=null,_s=0,Bo=[],Uo=0,Rn=null,pr=1,fr="";function wr(e,t){Mi[Ni++]=_s,Mi[Ni++]=mp,mp=e,_s=t}function dx(e,t,o){Bo[Uo++]=pr,Bo[Uo++]=fr,Bo[Uo++]=Rn,Rn=e;var r=pr;e=fr;var n=32-To(r)-1;r&=~(1<<n),o+=1;var a=32-To(t)+n;if(30<a){var i=n-n%5;a=(r&(1<<i)-1).toString(32),r>>=i,n-=i,pr=1<<32-To(t)+n|o<<n|r,fr=a+e}else pr=1<<a|o<<n|r,fr=e}function oh(e){e.return!==null&&(wr(e,1),dx(e,1,0))}function rh(e){for(;e===mp;)mp=Mi[--Ni],Mi[Ni]=null,_s=Mi[--Ni],Mi[Ni]=null;for(;e===Rn;)Rn=Bo[--Uo],Bo[Uo]=null,fr=Bo[--Uo],Bo[Uo]=null,pr=Bo[--Uo],Bo[Uo]=null}function mx(e,t){Bo[Uo++]=pr,Bo[Uo++]=fr,Bo[Uo++]=Rn,pr=t.id,fr=t.overflow,Rn=e}var At=null,ke=null,le=!1,bn=null,Lo=!1,uy=Error(z(519));function On(e){var t=Error(z(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ds(ko(t,e)),uy}function C0(e){var t=e.stateNode,o=e.type,r=e.memoizedProps;switch(t[Ot]=e,t[oo]=r,o){case"dialog":re("cancel",t),re("close",t);break;case"iframe":case"object":case"embed":re("load",t);break;case"video":case"audio":for(o=0;o<js.length;o++)re(js[o],t);break;case"source":re("error",t);break;case"img":case"image":case"link":re("error",t),re("load",t);break;case"details":re("toggle",t);break;case"input":re("invalid",t),Gv(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":re("invalid",t);break;case"textarea":re("invalid",t),$v(t,r.value,r.defaultValue,r.children)}o=r.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||t.textContent===""+o||r.suppressHydrationWarning===!0||QS(t.textContent,o)?(r.popover!=null&&(re("beforetoggle",t),re("toggle",t)),r.onScroll!=null&&re("scroll",t),r.onScrollEnd!=null&&re("scrollend",t),r.onClick!=null&&(t.onclick=zr),t=!0):t=!1,t||On(e,!0)}function E0(e){for(At=e.return;At;)switch(At.tag){case 5:case 31:case 13:Lo=!1;return;case 27:case 3:Lo=!0;return;default:At=At.return}}function hi(e){if(e!==At)return!1;if(!le)return E0(e),le=!0,!1;var t=e.tag,o;if((o=t!==3&&t!==27)&&((o=t===5)&&(o=e.type,o=!(o!=="form"&&o!=="button")||zy(e.type,e.memoizedProps)),o=!o),o&&ke&&On(e),E0(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(z(317));ke=fv(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(z(317));ke=fv(e)}else t===27?(t=ke,wn(e.type)?(e=ky,ky=null,ke=e):ke=t):ke=At?Vo(e.stateNode.nextSibling):null;return!0}function ua(){ke=At=null,le=!1}function Rm(){var e=bn;return e!==null&&(eo===null?eo=e:eo.push.apply(eo,e),bn=null),e}function Ds(e){bn===null?bn=[e]:bn.push(e)}var cy=yr(null),ba=null,Br=null;function sn(e,t,o){we(cy,t._currentValue),t._currentValue=o}function jr(e){e._currentValue=cy.current,gt(cy)}function py(e,t,o){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===o)break;e=e.return}}function fy(e,t,o,r){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var a=n.dependencies;if(a!==null){var i=n.child;a=a.firstContext;e:for(;a!==null;){var l=a;a=n;for(var s=0;s<t.length;s++)if(l.context===t[s]){a.lanes|=o,l=a.alternate,l!==null&&(l.lanes|=o),py(a.return,o,e),r||(i=null);break e}a=l.next}}else if(n.tag===18){if(i=n.return,i===null)throw Error(z(341));i.lanes|=o,a=i.alternate,a!==null&&(a.lanes|=o),py(i,o,e),i=null}else i=n.child;if(i!==null)i.return=n;else for(i=n;i!==null;){if(i===e){i=null;break}if(n=i.sibling,n!==null){n.return=i.return,i=n;break}i=i.return}n=i}}function Wi(e,t,o,r){e=null;for(var n=t,a=!1;n!==null;){if(!a){if((n.flags&524288)!==0)a=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var i=n.alternate;if(i===null)throw Error(z(387));if(i=i.memoizedProps,i!==null){var l=n.type;xo(n.pendingProps.value,i.value)||(e!==null?e.push(l):e=[l])}}else if(n===lp.current){if(i=n.alternate,i===null)throw Error(z(387));i.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(Ls):e=[Ls])}n=n.return}e!==null&&fy(t,e,o,r),t.flags|=262144}function yp(e){for(e=e.firstContext;e!==null;){if(!xo(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ca(e){ba=e,Br=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Mt(e){return yx(ba,e)}function Uc(e,t){return ba===null&&ca(e),yx(e,t)}function yx(e,t){var o=t._currentValue;if(t={context:t,memoizedValue:o,next:null},Br===null){if(e===null)throw Error(z(308));Br=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Br=Br.next=t;return o}var vA=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(o,r){e.push(r)}};this.abort=function(){t.aborted=!0,e.forEach(function(o){return o()})}},xA=ft.unstable_scheduleCallback,SA=ft.unstable_NormalPriority,it={$$typeof:Dr,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function nh(){return{controller:new vA,data:new Map,refCount:0}}function Ks(e){e.refCount--,e.refCount===0&&xA(SA,function(){e.controller.abort()})}var bs=null,dy=0,Ii=0,Bi=null;function CA(e,t){if(bs===null){var o=bs=[];dy=0,Ii=Mh(),Bi={status:"pending",value:void 0,then:function(r){o.push(r)}}}return dy++,t.then(P0,P0),t}function P0(){if(--dy===0&&bs!==null){Bi!==null&&(Bi.status="fulfilled");var e=bs;bs=null,Ii=0,Bi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function EA(e,t){var o=[],r={status:"pending",value:null,reason:null,then:function(n){o.push(n)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var n=0;n<o.length;n++)(0,o[n])(t)},function(n){for(r.status="rejected",r.reason=n,n=0;n<o.length;n++)(0,o[n])(void 0)}),r}var R0=$.S;$.S=function(e,t){MS=go(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&CA(e,t),R0!==null&&R0(e,t)};var ia=yr(null);function ah(){var e=ia.current;return e!==null?e:Oe.pooledCache}function Zc(e,t){t===null?we(ia,ia.current):we(ia,t.pool)}function hx(){var e=ah();return e===null?null:{parent:it._currentValue,pool:e}}var Ji=Error(z(460)),ih=Error(z(474)),Ip=Error(z(542)),hp={then:function(){}};function O0(e){return e=e.status,e==="fulfilled"||e==="rejected"}function gx(e,t,o){switch(o=e[o],o===void 0?e.push(t):o!==t&&(t.then(zr,zr),t=o),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,M0(e),e;default:if(typeof t.status=="string")t.then(zr,zr);else{if(e=Oe,e!==null&&100<e.shellSuspendCounter)throw Error(z(482));e=t,e.status="pending",e.then(function(r){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=r}},function(r){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=r}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,M0(e),e}throw la=t,Ji}}function oa(e){try{var t=e._init;return t(e._payload)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(la=o,Ji):o}}var la=null;function A0(){if(la===null)throw Error(z(459));var e=la;return la=null,e}function M0(e){if(e===Ji||e===Ip)throw Error(z(483))}var Ui=null,zs=0;function jc(e){var t=zs;return zs+=1,Ui===null&&(Ui=[]),gx(Ui,e,t)}function as(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function kc(e,t){throw t.$$typeof===c2?Error(z(525)):(e=Object.prototype.toString.call(t),Error(z(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function bx(e){function t(m,y){if(e){var g=m.deletions;g===null?(m.deletions=[y],m.flags|=16):g.push(y)}}function o(m,y){if(!e)return null;for(;y!==null;)t(m,y),y=y.sibling;return null}function r(m){for(var y=new Map;m!==null;)m.key!==null?y.set(m.key,m):y.set(m.index,m),m=m.sibling;return y}function n(m,y){return m=Ur(m,y),m.index=0,m.sibling=null,m}function a(m,y,g){return m.index=g,e?(g=m.alternate,g!==null?(g=g.index,g<y?(m.flags|=67108866,y):g):(m.flags|=67108866,y)):(m.flags|=1048576,y)}function i(m){return e&&m.alternate===null&&(m.flags|=67108866),m}function l(m,y,g,b){return y===null||y.tag!==6?(y=Em(g,m.mode,b),y.return=m,y):(y=n(y,g),y.return=m,y)}function s(m,y,g,b){var P=g.type;return P===vi?p(m,y,g.props.children,b,g.key):y!==null&&(y.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===an&&oa(P)===y.type)?(y=n(y,g.props),as(y,g),y.return=m,y):(y=Qc(g.type,g.key,g.props,null,m.mode,b),as(y,g),y.return=m,y)}function u(m,y,g,b){return y===null||y.tag!==4||y.stateNode.containerInfo!==g.containerInfo||y.stateNode.implementation!==g.implementation?(y=Pm(g,m.mode,b),y.return=m,y):(y=n(y,g.children||[]),y.return=m,y)}function p(m,y,g,b,P){return y===null||y.tag!==7?(y=aa(g,m.mode,b,P),y.return=m,y):(y=n(y,g),y.return=m,y)}function f(m,y,g){if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return y=Em(""+y,m.mode,g),y.return=m,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Ac:return g=Qc(y.type,y.key,y.props,null,m.mode,g),as(g,y),g.return=m,g;case cs:return y=Pm(y,m.mode,g),y.return=m,y;case an:return y=oa(y),f(m,y,g)}if(ps(y)||rs(y))return y=aa(y,m.mode,g,null),y.return=m,y;if(typeof y.then=="function")return f(m,jc(y),g);if(y.$$typeof===Dr)return f(m,Uc(m,y),g);kc(m,y)}return null}function d(m,y,g,b){var P=y!==null?y.key:null;if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return P!==null?null:l(m,y,""+g,b);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Ac:return g.key===P?s(m,y,g,b):null;case cs:return g.key===P?u(m,y,g,b):null;case an:return g=oa(g),d(m,y,g,b)}if(ps(g)||rs(g))return P!==null?null:p(m,y,g,b,null);if(typeof g.then=="function")return d(m,y,jc(g),b);if(g.$$typeof===Dr)return d(m,y,Uc(m,g),b);kc(m,g)}return null}function c(m,y,g,b,P){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return m=m.get(g)||null,l(y,m,""+b,P);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Ac:return m=m.get(b.key===null?g:b.key)||null,s(y,m,b,P);case cs:return m=m.get(b.key===null?g:b.key)||null,u(y,m,b,P);case an:return b=oa(b),c(m,y,g,b,P)}if(ps(b)||rs(b))return m=m.get(g)||null,p(y,m,b,P,null);if(typeof b.then=="function")return c(m,y,g,jc(b),P);if(b.$$typeof===Dr)return c(m,y,g,Uc(y,b),P);kc(y,b)}return null}function T(m,y,g,b){for(var P=null,S=null,E=y,O=y=0,N=null;E!==null&&O<g.length;O++){E.index>O?(N=E,E=null):N=E.sibling;var _=d(m,E,g[O],b);if(_===null){E===null&&(E=N);break}e&&E&&_.alternate===null&&t(m,E),y=a(_,y,O),S===null?P=_:S.sibling=_,S=_,E=N}if(O===g.length)return o(m,E),le&&wr(m,O),P;if(E===null){for(;O<g.length;O++)E=f(m,g[O],b),E!==null&&(y=a(E,y,O),S===null?P=E:S.sibling=E,S=E);return le&&wr(m,O),P}for(E=r(E);O<g.length;O++)N=c(E,m,O,g[O],b),N!==null&&(e&&N.alternate!==null&&E.delete(N.key===null?O:N.key),y=a(N,y,O),S===null?P=N:S.sibling=N,S=N);return e&&E.forEach(function(A){return t(m,A)}),le&&wr(m,O),P}function v(m,y,g,b){if(g==null)throw Error(z(151));for(var P=null,S=null,E=y,O=y=0,N=null,_=g.next();E!==null&&!_.done;O++,_=g.next()){E.index>O?(N=E,E=null):N=E.sibling;var A=d(m,E,_.value,b);if(A===null){E===null&&(E=N);break}e&&E&&A.alternate===null&&t(m,E),y=a(A,y,O),S===null?P=A:S.sibling=A,S=A,E=N}if(_.done)return o(m,E),le&&wr(m,O),P;if(E===null){for(;!_.done;O++,_=g.next())_=f(m,_.value,b),_!==null&&(y=a(_,y,O),S===null?P=_:S.sibling=_,S=_);return le&&wr(m,O),P}for(E=r(E);!_.done;O++,_=g.next())_=c(E,m,O,_.value,b),_!==null&&(e&&_.alternate!==null&&E.delete(_.key===null?O:_.key),y=a(_,y,O),S===null?P=_:S.sibling=_,S=_);return e&&E.forEach(function(h){return t(m,h)}),le&&wr(m,O),P}function x(m,y,g,b){if(typeof g=="object"&&g!==null&&g.type===vi&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Ac:e:{for(var P=g.key;y!==null;){if(y.key===P){if(P=g.type,P===vi){if(y.tag===7){o(m,y.sibling),b=n(y,g.props.children),b.return=m,m=b;break e}}else if(y.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===an&&oa(P)===y.type){o(m,y.sibling),b=n(y,g.props),as(b,g),b.return=m,m=b;break e}o(m,y);break}else t(m,y);y=y.sibling}g.type===vi?(b=aa(g.props.children,m.mode,b,g.key),b.return=m,m=b):(b=Qc(g.type,g.key,g.props,null,m.mode,b),as(b,g),b.return=m,m=b)}return i(m);case cs:e:{for(P=g.key;y!==null;){if(y.key===P)if(y.tag===4&&y.stateNode.containerInfo===g.containerInfo&&y.stateNode.implementation===g.implementation){o(m,y.sibling),b=n(y,g.children||[]),b.return=m,m=b;break e}else{o(m,y);break}else t(m,y);y=y.sibling}b=Pm(g,m.mode,b),b.return=m,m=b}return i(m);case an:return g=oa(g),x(m,y,g,b)}if(ps(g))return T(m,y,g,b);if(rs(g)){if(P=rs(g),typeof P!="function")throw Error(z(150));return g=P.call(g),v(m,y,g,b)}if(typeof g.then=="function")return x(m,y,jc(g),b);if(g.$$typeof===Dr)return x(m,y,Uc(m,g),b);kc(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint"?(g=""+g,y!==null&&y.tag===6?(o(m,y.sibling),b=n(y,g),b.return=m,m=b):(o(m,y),b=Em(g,m.mode,b),b.return=m,m=b),i(m)):o(m,y)}return function(m,y,g,b){try{zs=0;var P=x(m,y,g,b);return Ui=null,P}catch(E){if(E===Ji||E===Ip)throw E;var S=yo(29,E,null,m.mode);return S.lanes=b,S.return=m,S}}}var pa=bx(!0),Tx=bx(!1),ln=!1;function lh(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function my(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Tn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function vn(e,t,o){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(de&2)!==0){var n=r.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),r.pending=t,t=dp(e),cx(e,null,o),t}return Vp(e,r,t,o),dp(e)}function Ts(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194048)!==0)){var r=t.lanes;r&=e.pendingLanes,o|=r,t.lanes=o,jv(e,o)}}function Om(e,t){var o=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,o===r)){var n=null,a=null;if(o=o.firstBaseUpdate,o!==null){do{var i={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};a===null?n=a=i:a=a.next=i,o=o.next}while(o!==null);a===null?n=a=t:a=a.next=t}else n=a=t;o={baseState:r.baseState,firstBaseUpdate:n,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}var yy=!1;function vs(){if(yy){var e=Bi;if(e!==null)throw e}}function xs(e,t,o,r){yy=!1;var n=e.updateQueue;ln=!1;var a=n.firstBaseUpdate,i=n.lastBaseUpdate,l=n.shared.pending;if(l!==null){n.shared.pending=null;var s=l,u=s.next;s.next=null,i===null?a=u:i.next=u,i=s;var p=e.alternate;p!==null&&(p=p.updateQueue,l=p.lastBaseUpdate,l!==i&&(l===null?p.firstBaseUpdate=u:l.next=u,p.lastBaseUpdate=s))}if(a!==null){var f=n.baseState;i=0,p=u=s=null,l=a;do{var d=l.lane&-536870913,c=d!==l.lane;if(c?(ae&d)===d:(r&d)===d){d!==0&&d===Ii&&(yy=!0),p!==null&&(p=p.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var T=e,v=l;d=t;var x=o;switch(v.tag){case 1:if(T=v.payload,typeof T=="function"){f=T.call(x,f,d);break e}f=T;break e;case 3:T.flags=T.flags&-65537|128;case 0:if(T=v.payload,d=typeof T=="function"?T.call(x,f,d):T,d==null)break e;f=Le({},f,d);break e;case 2:ln=!0}}d=l.callback,d!==null&&(e.flags|=64,c&&(e.flags|=8192),c=n.callbacks,c===null?n.callbacks=[d]:c.push(d))}else c={lane:d,tag:l.tag,payload:l.payload,callback:l.callback,next:null},p===null?(u=p=c,s=f):p=p.next=c,i|=d;if(l=l.next,l===null){if(l=n.shared.pending,l===null)break;c=l,l=c.next,c.next=null,n.lastBaseUpdate=c,n.shared.pending=null}}while(!0);p===null&&(s=f),n.baseState=s,n.firstBaseUpdate=u,n.lastBaseUpdate=p,a===null&&(n.shared.lanes=0),Mn|=i,e.lanes=i,e.memoizedState=f}}function vx(e,t){if(typeof e!="function")throw Error(z(191,e));e.call(t)}function xx(e,t){var o=e.callbacks;if(o!==null)for(e.callbacks=null,e=0;e<o.length;e++)vx(o[e],t)}var qi=yr(null),gp=yr(0);function N0(e,t){e=qr,we(gp,e),we(qi,t),qr=e|t.baseLanes}function hy(){we(gp,qr),we(qi,qi.current)}function sh(){qr=gp.current,gt(qi),gt(gp)}var So=yr(null),Ho=null;function un(e){var t=e.alternate;we(et,et.current&1),we(So,e),Ho===null&&(t===null||qi.current!==null||t.memoizedState!==null)&&(Ho=e)}function gy(e){we(et,et.current),we(So,e),Ho===null&&(Ho=e)}function Sx(e){e.tag===22?(we(et,et.current),we(So,e),Ho===null&&(Ho=e)):cn(e)}function cn(){we(et,et.current),we(So,So.current)}function mo(e){gt(So),Ho===e&&(Ho=null),gt(et)}var et=yr(0);function bp(e){for(var t=e;t!==null;){if(t.tag===13){var o=t.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||Uy(o)||jy(o)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Hr=0,W=null,Re=null,nt=null,Tp=!1,ji=!1,fa=!1,vp=0,Bs=0,ki=null,PA=0;function Qe(){throw Error(z(321))}function uh(e,t){if(t===null)return!1;for(var o=0;o<t.length&&o<e.length;o++)if(!xo(e[o],t[o]))return!1;return!0}function ch(e,t,o,r,n,a){return Hr=a,W=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,$.H=e===null||e.memoizedState===null?Jx:xh,fa=!1,a=o(r,n),fa=!1,ji&&(a=Ex(t,o,r,n)),Cx(e),a}function Cx(e){$.H=Us;var t=Re!==null&&Re.next!==null;if(Hr=0,nt=Re=W=null,Tp=!1,Bs=0,ki=null,t)throw Error(z(300));e===null||lt||(e=e.dependencies,e!==null&&yp(e)&&(lt=!0))}function Ex(e,t,o,r){W=e;var n=0;do{if(ji&&(ki=null),Bs=0,ji=!1,25<=n)throw Error(z(301));if(n+=1,nt=Re=null,e.updateQueue!=null){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}$.H=eS,a=t(o,r)}while(ji);return a}function RA(){var e=$.H,t=e.useState()[0];return t=typeof t.then=="function"?Xs(t):t,e=e.useState()[0],(Re!==null?Re.memoizedState:null)!==e&&(W.flags|=1024),t}function ph(){var e=vp!==0;return vp=0,e}function fh(e,t,o){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o}function dh(e){if(Tp){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Tp=!1}Hr=0,nt=Re=W=null,ji=!1,Bs=vp=0,ki=null}function Yt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return nt===null?W.memoizedState=nt=e:nt=nt.next=e,nt}function tt(){if(Re===null){var e=W.alternate;e=e!==null?e.memoizedState:null}else e=Re.next;var t=nt===null?W.memoizedState:nt.next;if(t!==null)nt=t,Re=e;else{if(e===null)throw W.alternate===null?Error(z(467)):Error(z(310));Re=e,e={memoizedState:Re.memoizedState,baseState:Re.baseState,baseQueue:Re.baseQueue,queue:Re.queue,next:null},nt===null?W.memoizedState=nt=e:nt=nt.next=e}return nt}function qp(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Xs(e){var t=Bs;return Bs+=1,ki===null&&(ki=[]),e=gx(ki,e,t),t=W,(nt===null?t.memoizedState:nt.next)===null&&(t=t.alternate,$.H=t===null||t.memoizedState===null?Jx:xh),e}function Gp(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Xs(e);if(e.$$typeof===Dr)return Mt(e)}throw Error(z(438,String(e)))}function mh(e){var t=null,o=W.updateQueue;if(o!==null&&(t=o.memoCache),t==null){var r=W.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),o===null&&(o=qp(),W.updateQueue=o),o.memoCache=t,o=t.data[t.index],o===void 0)for(o=t.data[t.index]=Array(e),r=0;r<e;r++)o[r]=p2;return t.index++,o}function Vr(e,t){return typeof t=="function"?t(e):t}function Wc(e){var t=tt();return yh(t,Re,e)}function yh(e,t,o){var r=e.queue;if(r===null)throw Error(z(311));r.lastRenderedReducer=o;var n=e.baseQueue,a=r.pending;if(a!==null){if(n!==null){var i=n.next;n.next=a.next,a.next=i}t.baseQueue=n=a,r.pending=null}if(a=e.baseState,n===null)e.memoizedState=a;else{t=n.next;var l=i=null,s=null,u=t,p=!1;do{var f=u.lane&-536870913;if(f!==u.lane?(ae&f)===f:(Hr&f)===f){var d=u.revertLane;if(d===0)s!==null&&(s=s.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===Ii&&(p=!0);else if((Hr&d)===d){u=u.next,d===Ii&&(p=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},s===null?(l=s=f,i=a):s=s.next=f,W.lanes|=d,Mn|=d;f=u.action,fa&&o(a,f),a=u.hasEagerState?u.eagerState:o(a,f)}else d={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},s===null?(l=s=d,i=a):s=s.next=d,W.lanes|=f,Mn|=f;u=u.next}while(u!==null&&u!==t);if(s===null?i=a:s.next=l,!xo(a,e.memoizedState)&&(lt=!0,p&&(o=Bi,o!==null)))throw o;e.memoizedState=a,e.baseState=i,e.baseQueue=s,r.lastRenderedState=a}return n===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Am(e){var t=tt(),o=t.queue;if(o===null)throw Error(z(311));o.lastRenderedReducer=e;var r=o.dispatch,n=o.pending,a=t.memoizedState;if(n!==null){o.pending=null;var i=n=n.next;do a=e(a,i.action),i=i.next;while(i!==n);xo(a,t.memoizedState)||(lt=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),o.lastRenderedState=a}return[a,r]}function Px(e,t,o){var r=W,n=tt(),a=le;if(a){if(o===void 0)throw Error(z(407));o=o()}else o=t();var i=!xo((Re||n).memoizedState,o);if(i&&(n.memoizedState=o,lt=!0),n=n.queue,hh(Ax.bind(null,r,n,e),[e]),n.getSnapshot!==t||i||nt!==null&&nt.memoizedState.tag&1){if(r.flags|=2048,Gi(9,{destroy:void 0},Ox.bind(null,r,n,o,t),null),Oe===null)throw Error(z(349));a||(Hr&127)!==0||Rx(r,t,o)}return o}function Rx(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=W.updateQueue,t===null?(t=qp(),W.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function Ox(e,t,o,r){t.value=o,t.getSnapshot=r,Mx(t)&&Nx(e)}function Ax(e,t,o){return o(function(){Mx(t)&&Nx(e)})}function Mx(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!xo(e,o)}catch{return!0}}function Nx(e){var t=ga(e,2);t!==null&&to(t,e,2)}function by(e){var t=Yt();if(typeof e=="function"){var o=e;if(e=o(),fa){fn(!0);try{o()}finally{fn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vr,lastRenderedState:e},t}function wx(e,t,o,r){return e.baseState=o,yh(e,Re,typeof r=="function"?r:Vr)}function OA(e,t,o,r,n){if($p(e))throw Error(z(485));if(e=t.action,e!==null){var a={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){a.listeners.push(i)}};$.T!==null?o(!0):a.isTransition=!1,r(a),o=t.pending,o===null?(a.next=t.pending=a,_x(t,a)):(a.next=o.next,t.pending=o.next=a)}}function _x(e,t){var o=t.action,r=t.payload,n=e.state;if(t.isTransition){var a=$.T,i={};$.T=i;try{var l=o(n,r),s=$.S;s!==null&&s(i,l),w0(e,t,l)}catch(u){Ty(e,t,u)}finally{a!==null&&i.types!==null&&(a.types=i.types),$.T=a}}else try{a=o(n,r),w0(e,t,a)}catch(u){Ty(e,t,u)}}function w0(e,t,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(r){_0(e,t,r)},function(r){return Ty(e,t,r)}):_0(e,t,o)}function _0(e,t,o){t.status="fulfilled",t.value=o,Dx(t),e.state=o,t=e.pending,t!==null&&(o=t.next,o===t?e.pending=null:(o=o.next,t.next=o,_x(e,o)))}function Ty(e,t,o){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status="rejected",t.reason=o,Dx(t),t=t.next;while(t!==r)}e.action=null}function Dx(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function zx(e,t){return t}function D0(e,t){if(le){var o=Oe.formState;if(o!==null){e:{var r=W;if(le){if(ke){t:{for(var n=ke,a=Lo;n.nodeType!==8;){if(!a){n=null;break t}if(n=Vo(n.nextSibling),n===null){n=null;break t}}a=n.data,n=a==="F!"||a==="F"?n:null}if(n){ke=Vo(n.nextSibling),r=n.data==="F!";break e}}On(r)}r=!1}r&&(t=o[0])}}return o=Yt(),o.memoizedState=o.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zx,lastRenderedState:t},o.queue=r,o=Qx.bind(null,W,r),r.dispatch=o,r=by(!1),a=vh.bind(null,W,!1,r.queue),r=Yt(),n={state:t,dispatch:null,action:e,pending:null},r.queue=n,o=OA.bind(null,W,n,a,o),n.dispatch=o,r.memoizedState=e,[t,o,!1]}function z0(e){var t=tt();return Bx(t,Re,e)}function Bx(e,t,o){if(t=yh(e,t,zx)[0],e=Wc(Vr)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var r=Xs(t)}catch(i){throw i===Ji?Ip:i}else r=t;t=tt();var n=t.queue,a=n.dispatch;return o!==t.memoizedState&&(W.flags|=2048,Gi(9,{destroy:void 0},AA.bind(null,n,o),null)),[r,a,e]}function AA(e,t){e.action=t}function B0(e){var t=tt(),o=Re;if(o!==null)return Bx(t,o,e);tt(),t=t.memoizedState,o=tt();var r=o.queue.dispatch;return o.memoizedState=e,[t,r,!1]}function Gi(e,t,o,r){return e={tag:e,create:o,deps:r,inst:t,next:null},t=W.updateQueue,t===null&&(t=qp(),W.updateQueue=t),o=t.lastEffect,o===null?t.lastEffect=e.next=e:(r=o.next,o.next=e,e.next=r,t.lastEffect=e),e}function Ux(){return tt().memoizedState}function Jc(e,t,o,r){var n=Yt();W.flags|=e,n.memoizedState=Gi(1|t,{destroy:void 0},o,r===void 0?null:r)}function Fp(e,t,o,r){var n=tt();r=r===void 0?null:r;var a=n.memoizedState.inst;Re!==null&&r!==null&&uh(r,Re.memoizedState.deps)?n.memoizedState=Gi(t,a,o,r):(W.flags|=e,n.memoizedState=Gi(1|t,a,o,r))}function U0(e,t){Jc(8390656,8,e,t)}function hh(e,t){Fp(2048,8,e,t)}function MA(e){W.flags|=4;var t=W.updateQueue;if(t===null)t=qp(),W.updateQueue=t,t.events=[e];else{var o=t.events;o===null?t.events=[e]:o.push(e)}}function jx(e){var t=tt().memoizedState;return MA({ref:t,nextImpl:e}),function(){if((de&2)!==0)throw Error(z(440));return t.impl.apply(void 0,arguments)}}function kx(e,t){return Fp(4,2,e,t)}function Lx(e,t){return Fp(4,4,e,t)}function Hx(e,t){if(typeof t=="function"){e=e();var o=t(e);return function(){typeof o=="function"?o():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Vx(e,t,o){o=o!=null?o.concat([e]):null,Fp(4,4,Hx.bind(null,t,e),o)}function gh(){}function Ix(e,t){var o=tt();t=t===void 0?null:t;var r=o.memoizedState;return t!==null&&uh(t,r[1])?r[0]:(o.memoizedState=[e,t],e)}function qx(e,t){var o=tt();t=t===void 0?null:t;var r=o.memoizedState;if(t!==null&&uh(t,r[1]))return r[0];if(r=e(),fa){fn(!0);try{e()}finally{fn(!1)}}return o.memoizedState=[r,t],r}function bh(e,t,o){return o===void 0||(Hr&1073741824)!==0&&(ae&261930)===0?e.memoizedState=t:(e.memoizedState=o,e=wS(),W.lanes|=e,Mn|=e,o)}function Gx(e,t,o,r){return xo(o,t)?o:qi.current!==null?(e=bh(e,o,r),xo(e,t)||(lt=!0),e):(Hr&42)===0||(Hr&1073741824)!==0&&(ae&261930)===0?(lt=!0,e.memoizedState=o):(e=wS(),W.lanes|=e,Mn|=e,t)}function Fx(e,t,o,r,n){var a=me.p;me.p=a!==0&&8>a?a:8;var i=$.T,l={};$.T=l,vh(e,!1,t,o);try{var s=n(),u=$.S;if(u!==null&&u(l,s),s!==null&&typeof s=="object"&&typeof s.then=="function"){var p=EA(s,r);Ss(e,t,p,vo(e))}else Ss(e,t,r,vo(e))}catch(f){Ss(e,t,{then:function(){},status:"rejected",reason:f},vo())}finally{me.p=a,i!==null&&l.types!==null&&(i.types=l.types),$.T=i}}function NA(){}function vy(e,t,o,r){if(e.tag!==5)throw Error(z(476));var n=$x(e).queue;Fx(e,n,t,na,o===null?NA:function(){return Yx(e),o(r)})}function $x(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:na,baseState:na,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vr,lastRenderedState:na},next:null};var o={};return t.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vr,lastRenderedState:o},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Yx(e){var t=$x(e);t.next===null&&(t=e.alternate.memoizedState),Ss(e,t.next.queue,{},vo())}function Th(){return Mt(Ls)}function Kx(){return tt().memoizedState}function Xx(){return tt().memoizedState}function wA(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var o=vo();e=Tn(o);var r=vn(t,e,o);r!==null&&(to(r,t,o),Ts(r,t,o)),t={cache:nh()},e.payload=t;return}t=t.return}}function _A(e,t,o){var r=vo();o={lane:r,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},$p(e)?Zx(t,o):(o=eh(e,t,o,r),o!==null&&(to(o,e,r),Wx(o,t,r)))}function Qx(e,t,o){var r=vo();Ss(e,t,o,r)}function Ss(e,t,o,r){var n={lane:r,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if($p(e))Zx(t,n);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var i=t.lastRenderedState,l=a(i,o);if(n.hasEagerState=!0,n.eagerState=l,xo(l,i))return Vp(e,t,n,0),Oe===null&&Hp(),!1}catch{}if(o=eh(e,t,n,r),o!==null)return to(o,e,r),Wx(o,t,r),!0}return!1}function vh(e,t,o,r){if(r={lane:2,revertLane:Mh(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},$p(e)){if(t)throw Error(z(479))}else t=eh(e,o,r,2),t!==null&&to(t,e,2)}function $p(e){var t=e.alternate;return e===W||t!==null&&t===W}function Zx(e,t){ji=Tp=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function Wx(e,t,o){if((o&4194048)!==0){var r=t.lanes;r&=e.pendingLanes,o|=r,t.lanes=o,jv(e,o)}}var Us={readContext:Mt,use:Gp,useCallback:Qe,useContext:Qe,useEffect:Qe,useImperativeHandle:Qe,useLayoutEffect:Qe,useInsertionEffect:Qe,useMemo:Qe,useReducer:Qe,useRef:Qe,useState:Qe,useDebugValue:Qe,useDeferredValue:Qe,useTransition:Qe,useSyncExternalStore:Qe,useId:Qe,useHostTransitionStatus:Qe,useFormState:Qe,useActionState:Qe,useOptimistic:Qe,useMemoCache:Qe,useCacheRefresh:Qe};Us.useEffectEvent=Qe;var Jx={readContext:Mt,use:Gp,useCallback:function(e,t){return Yt().memoizedState=[e,t===void 0?null:t],e},useContext:Mt,useEffect:U0,useImperativeHandle:function(e,t,o){o=o!=null?o.concat([e]):null,Jc(4194308,4,Hx.bind(null,t,e),o)},useLayoutEffect:function(e,t){return Jc(4194308,4,e,t)},useInsertionEffect:function(e,t){Jc(4,2,e,t)},useMemo:function(e,t){var o=Yt();t=t===void 0?null:t;var r=e();if(fa){fn(!0);try{e()}finally{fn(!1)}}return o.memoizedState=[r,t],r},useReducer:function(e,t,o){var r=Yt();if(o!==void 0){var n=o(t);if(fa){fn(!0);try{o(t)}finally{fn(!1)}}}else n=t;return r.memoizedState=r.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=_A.bind(null,W,e),[r.memoizedState,e]},useRef:function(e){var t=Yt();return e={current:e},t.memoizedState=e},useState:function(e){e=by(e);var t=e.queue,o=Qx.bind(null,W,t);return t.dispatch=o,[e.memoizedState,o]},useDebugValue:gh,useDeferredValue:function(e,t){var o=Yt();return bh(o,e,t)},useTransition:function(){var e=by(!1);return e=Fx.bind(null,W,e.queue,!0,!1),Yt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,o){var r=W,n=Yt();if(le){if(o===void 0)throw Error(z(407));o=o()}else{if(o=t(),Oe===null)throw Error(z(349));(ae&127)!==0||Rx(r,t,o)}n.memoizedState=o;var a={value:o,getSnapshot:t};return n.queue=a,U0(Ax.bind(null,r,a,e),[e]),r.flags|=2048,Gi(9,{destroy:void 0},Ox.bind(null,r,a,o,t),null),o},useId:function(){var e=Yt(),t=Oe.identifierPrefix;if(le){var o=fr,r=pr;o=(r&~(1<<32-To(r)-1)).toString(32)+o,t="_"+t+"R_"+o,o=vp++,0<o&&(t+="H"+o.toString(32)),t+="_"}else o=PA++,t="_"+t+"r_"+o.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Th,useFormState:D0,useActionState:D0,useOptimistic:function(e){var t=Yt();t.memoizedState=t.baseState=e;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=o,t=vh.bind(null,W,!0,o),o.dispatch=t,[e,t]},useMemoCache:mh,useCacheRefresh:function(){return Yt().memoizedState=wA.bind(null,W)},useEffectEvent:function(e){var t=Yt(),o={impl:e};return t.memoizedState=o,function(){if((de&2)!==0)throw Error(z(440));return o.impl.apply(void 0,arguments)}}},xh={readContext:Mt,use:Gp,useCallback:Ix,useContext:Mt,useEffect:hh,useImperativeHandle:Vx,useInsertionEffect:kx,useLayoutEffect:Lx,useMemo:qx,useReducer:Wc,useRef:Ux,useState:function(){return Wc(Vr)},useDebugValue:gh,useDeferredValue:function(e,t){var o=tt();return Gx(o,Re.memoizedState,e,t)},useTransition:function(){var e=Wc(Vr)[0],t=tt().memoizedState;return[typeof e=="boolean"?e:Xs(e),t]},useSyncExternalStore:Px,useId:Kx,useHostTransitionStatus:Th,useFormState:z0,useActionState:z0,useOptimistic:function(e,t){var o=tt();return wx(o,Re,e,t)},useMemoCache:mh,useCacheRefresh:Xx};xh.useEffectEvent=jx;var eS={readContext:Mt,use:Gp,useCallback:Ix,useContext:Mt,useEffect:hh,useImperativeHandle:Vx,useInsertionEffect:kx,useLayoutEffect:Lx,useMemo:qx,useReducer:Am,useRef:Ux,useState:function(){return Am(Vr)},useDebugValue:gh,useDeferredValue:function(e,t){var o=tt();return Re===null?bh(o,e,t):Gx(o,Re.memoizedState,e,t)},useTransition:function(){var e=Am(Vr)[0],t=tt().memoizedState;return[typeof e=="boolean"?e:Xs(e),t]},useSyncExternalStore:Px,useId:Kx,useHostTransitionStatus:Th,useFormState:B0,useActionState:B0,useOptimistic:function(e,t){var o=tt();return Re!==null?wx(o,Re,e,t):(o.baseState=e,[e,o.queue.dispatch])},useMemoCache:mh,useCacheRefresh:Xx};eS.useEffectEvent=jx;function Mm(e,t,o,r){t=e.memoizedState,o=o(r,t),o=o==null?t:Le({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var xy={enqueueSetState:function(e,t,o){e=e._reactInternals;var r=vo(),n=Tn(r);n.payload=t,o!=null&&(n.callback=o),t=vn(e,n,r),t!==null&&(to(t,e,r),Ts(t,e,r))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var r=vo(),n=Tn(r);n.tag=1,n.payload=t,o!=null&&(n.callback=o),t=vn(e,n,r),t!==null&&(to(t,e,r),Ts(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=vo(),r=Tn(o);r.tag=2,t!=null&&(r.callback=t),t=vn(e,r,o),t!==null&&(to(t,e,o),Ts(t,e,o))}};function j0(e,t,o,r,n,a,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,a,i):t.prototype&&t.prototype.isPureReactComponent?!ws(o,r)||!ws(n,a):!0}function k0(e,t,o,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,r),t.state!==e&&xy.enqueueReplaceState(t,t.state,null)}function da(e,t){var o=t;if("ref"in t){o={};for(var r in t)r!=="ref"&&(o[r]=t[r])}if(e=e.defaultProps){o===t&&(o=Le({},o));for(var n in e)o[n]===void 0&&(o[n]=e[n])}return o}function tS(e){fp(e)}function oS(e){console.error(e)}function rS(e){fp(e)}function xp(e,t){try{var o=e.onUncaughtError;o(t.value,{componentStack:t.stack})}catch(r){setTimeout(function(){throw r})}}function L0(e,t,o){try{var r=e.onCaughtError;r(o.value,{componentStack:o.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Sy(e,t,o){return o=Tn(o),o.tag=3,o.payload={element:null},o.callback=function(){xp(e,t)},o}function nS(e){return e=Tn(e),e.tag=3,e}function aS(e,t,o,r){var n=o.type.getDerivedStateFromError;if(typeof n=="function"){var a=r.value;e.payload=function(){return n(a)},e.callback=function(){L0(t,o,r)}}var i=o.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(e.callback=function(){L0(t,o,r),typeof n!="function"&&(xn===null?xn=new Set([this]):xn.add(this));var l=r.stack;this.componentDidCatch(r.value,{componentStack:l!==null?l:""})})}function DA(e,t,o,r,n){if(o.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(t=o.alternate,t!==null&&Wi(t,o,n,!0),o=So.current,o!==null){switch(o.tag){case 31:case 13:return Ho===null?Rp():o.alternate===null&&Ze===0&&(Ze=3),o.flags&=-257,o.flags|=65536,o.lanes=n,r===hp?o.flags|=16384:(t=o.updateQueue,t===null?o.updateQueue=new Set([r]):t.add(r),Hm(e,r,n)),!1;case 22:return o.flags|=65536,r===hp?o.flags|=16384:(t=o.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},o.updateQueue=t):(o=t.retryQueue,o===null?t.retryQueue=new Set([r]):o.add(r)),Hm(e,r,n)),!1}throw Error(z(435,o.tag))}return Hm(e,r,n),Rp(),!1}if(le)return t=So.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,r!==uy&&(e=Error(z(422),{cause:r}),Ds(ko(e,o)))):(r!==uy&&(t=Error(z(423),{cause:r}),Ds(ko(t,o))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,r=ko(r,o),n=Sy(e.stateNode,r,n),Om(e,n),Ze!==4&&(Ze=2)),!1;var a=Error(z(520),{cause:r});if(a=ko(a,o),Ps===null?Ps=[a]:Ps.push(a),Ze!==4&&(Ze=2),t===null)return!0;r=ko(r,o),o=t;do{switch(o.tag){case 3:return o.flags|=65536,e=n&-n,o.lanes|=e,e=Sy(o.stateNode,r,e),Om(o,e),!1;case 1:if(t=o.type,a=o.stateNode,(o.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||a!==null&&typeof a.componentDidCatch=="function"&&(xn===null||!xn.has(a))))return o.flags|=65536,n&=-n,o.lanes|=n,n=nS(n),aS(n,e,o,r),Om(o,n),!1}o=o.return}while(o!==null);return!1}var Sh=Error(z(461)),lt=!1;function Rt(e,t,o,r){t.child=e===null?Tx(t,null,o,r):pa(t,e.child,o,r)}function H0(e,t,o,r,n){o=o.render;var a=t.ref;if("ref"in r){var i={};for(var l in r)l!=="ref"&&(i[l]=r[l])}else i=r;return ca(t),r=ch(e,t,o,i,a,n),l=ph(),e!==null&&!lt?(fh(e,t,n),Ir(e,t,n)):(le&&l&&oh(t),t.flags|=1,Rt(e,t,r,n),t.child)}function V0(e,t,o,r,n){if(e===null){var a=o.type;return typeof a=="function"&&!th(a)&&a.defaultProps===void 0&&o.compare===null?(t.tag=15,t.type=a,iS(e,t,a,r,n)):(e=Qc(o.type,null,r,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Ch(e,n)){var i=a.memoizedProps;if(o=o.compare,o=o!==null?o:ws,o(i,r)&&e.ref===t.ref)return Ir(e,t,n)}return t.flags|=1,e=Ur(a,r),e.ref=t.ref,e.return=t,t.child=e}function iS(e,t,o,r,n){if(e!==null){var a=e.memoizedProps;if(ws(a,r)&&e.ref===t.ref)if(lt=!1,t.pendingProps=r=a,Ch(e,n))(e.flags&131072)!==0&&(lt=!0);else return t.lanes=e.lanes,Ir(e,t,n)}return Cy(e,t,o,r,n)}function lS(e,t,o,r){var n=r.children,a=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((t.flags&128)!==0){if(a=a!==null?a.baseLanes|o:o,e!==null){for(r=t.child=e.child,n=0;r!==null;)n=n|r.lanes|r.childLanes,r=r.sibling;r=n&~a}else r=0,t.child=null;return I0(e,t,a,o,r)}if((o&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Zc(t,a!==null?a.cachePool:null),a!==null?N0(t,a):hy(),Sx(t);else return r=t.lanes=536870912,I0(e,t,a!==null?a.baseLanes|o:o,o,r)}else a!==null?(Zc(t,a.cachePool),N0(t,a),cn(t),t.memoizedState=null):(e!==null&&Zc(t,null),hy(),cn(t));return Rt(e,t,n,o),t.child}function ds(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function I0(e,t,o,r,n){var a=ah();return a=a===null?null:{parent:it._currentValue,pool:a},t.memoizedState={baseLanes:o,cachePool:a},e!==null&&Zc(t,null),hy(),Sx(t),e!==null&&Wi(e,t,r,!0),t.childLanes=n,null}function ep(e,t){return t=Sp({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function q0(e,t,o){return pa(t,e.child,null,o),e=ep(t,t.pendingProps),e.flags|=2,mo(t),t.memoizedState=null,e}function zA(e,t,o){var r=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(le){if(r.mode==="hidden")return e=ep(t,r),t.lanes=536870912,ds(null,e);if(gy(t),(e=ke)?(e=JS(e,Lo),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Rn!==null?{id:pr,overflow:fr}:null,retryLane:536870912,hydrationErrors:null},o=fx(e),o.return=t,t.child=o,At=t,ke=null)):e=null,e===null)throw On(t);return t.lanes=536870912,null}return ep(t,r)}var a=e.memoizedState;if(a!==null){var i=a.dehydrated;if(gy(t),n)if(t.flags&256)t.flags&=-257,t=q0(e,t,o);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(z(558));else if(lt||Wi(e,t,o,!1),n=(o&e.childLanes)!==0,lt||n){if(r=Oe,r!==null&&(i=kv(r,o),i!==0&&i!==a.retryLane))throw a.retryLane=i,ga(e,i),to(r,e,i),Sh;Rp(),t=q0(e,t,o)}else e=a.treeContext,ke=Vo(i.nextSibling),At=t,le=!0,bn=null,Lo=!1,e!==null&&mx(t,e),t=ep(t,r),t.flags|=4096;return t}return e=Ur(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function tp(e,t){var o=t.ref;if(o===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(z(284));(e===null||e.ref!==o)&&(t.flags|=4194816)}}function Cy(e,t,o,r,n){return ca(t),o=ch(e,t,o,r,void 0,n),r=ph(),e!==null&&!lt?(fh(e,t,n),Ir(e,t,n)):(le&&r&&oh(t),t.flags|=1,Rt(e,t,o,n),t.child)}function G0(e,t,o,r,n,a){return ca(t),t.updateQueue=null,o=Ex(t,r,o,n),Cx(e),r=ph(),e!==null&&!lt?(fh(e,t,a),Ir(e,t,a)):(le&&r&&oh(t),t.flags|=1,Rt(e,t,o,a),t.child)}function F0(e,t,o,r,n){if(ca(t),t.stateNode===null){var a=Ai,i=o.contextType;typeof i=="object"&&i!==null&&(a=Mt(i)),a=new o(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=xy,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},lh(t),i=o.contextType,a.context=typeof i=="object"&&i!==null?Mt(i):Ai,a.state=t.memoizedState,i=o.getDerivedStateFromProps,typeof i=="function"&&(Mm(t,o,i,r),a.state=t.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof a.getSnapshotBeforeUpdate=="function"||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(i=a.state,typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),i!==a.state&&xy.enqueueReplaceState(a,a.state,null),xs(t,r,a,n),vs(),a.state=t.memoizedState),typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var l=t.memoizedProps,s=da(o,l);a.props=s;var u=a.context,p=o.contextType;i=Ai,typeof p=="object"&&p!==null&&(i=Mt(p));var f=o.getDerivedStateFromProps;p=typeof f=="function"||typeof a.getSnapshotBeforeUpdate=="function",l=t.pendingProps!==l,p||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l||u!==i)&&k0(t,a,r,i),ln=!1;var d=t.memoizedState;a.state=d,xs(t,r,a,n),vs(),u=t.memoizedState,l||d!==u||ln?(typeof f=="function"&&(Mm(t,o,f,r),u=t.memoizedState),(s=ln||j0(t,o,s,r,d,u,i))?(p||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=i,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,my(e,t),i=t.memoizedProps,p=da(o,i),a.props=p,f=t.pendingProps,d=a.context,u=o.contextType,s=Ai,typeof u=="object"&&u!==null&&(s=Mt(u)),l=o.getDerivedStateFromProps,(u=typeof l=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(i!==f||d!==s)&&k0(t,a,r,s),ln=!1,d=t.memoizedState,a.state=d,xs(t,r,a,n),vs();var c=t.memoizedState;i!==f||d!==c||ln||e!==null&&e.dependencies!==null&&yp(e.dependencies)?(typeof l=="function"&&(Mm(t,o,l,r),c=t.memoizedState),(p=ln||j0(t,o,p,r,d,c,s)||e!==null&&e.dependencies!==null&&yp(e.dependencies))?(u||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,c,s),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,c,s)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=s,r=p):(typeof a.componentDidUpdate!="function"||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,tp(e,t),r=(t.flags&128)!==0,a||r?(a=t.stateNode,o=r&&typeof o.getDerivedStateFromError!="function"?null:a.render(),t.flags|=1,e!==null&&r?(t.child=pa(t,e.child,null,n),t.child=pa(t,null,o,n)):Rt(e,t,o,n),t.memoizedState=a.state,e=t.child):e=Ir(e,t,n),e}function $0(e,t,o,r){return ua(),t.flags|=256,Rt(e,t,o,r),t.child}var Nm={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function wm(e){return{baseLanes:e,cachePool:hx()}}function _m(e,t,o){return e=e!==null?e.childLanes&~o:0,t&&(e|=ho),e}function sS(e,t,o){var r=t.pendingProps,n=!1,a=(t.flags&128)!==0,i;if((i=a)||(i=e!==null&&e.memoizedState===null?!1:(et.current&2)!==0),i&&(n=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,e===null){if(le){if(n?un(t):cn(t),(e=ke)?(e=JS(e,Lo),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Rn!==null?{id:pr,overflow:fr}:null,retryLane:536870912,hydrationErrors:null},o=fx(e),o.return=t,t.child=o,At=t,ke=null)):e=null,e===null)throw On(t);return jy(e)?t.lanes=32:t.lanes=536870912,null}var l=r.children;return r=r.fallback,n?(cn(t),n=t.mode,l=Sp({mode:"hidden",children:l},n),r=aa(r,n,o,null),l.return=t,r.return=t,l.sibling=r,t.child=l,r=t.child,r.memoizedState=wm(o),r.childLanes=_m(e,i,o),t.memoizedState=Nm,ds(null,r)):(un(t),Ey(t,l))}var s=e.memoizedState;if(s!==null&&(l=s.dehydrated,l!==null)){if(a)t.flags&256?(un(t),t.flags&=-257,t=Dm(e,t,o)):t.memoizedState!==null?(cn(t),t.child=e.child,t.flags|=128,t=null):(cn(t),l=r.fallback,n=t.mode,r=Sp({mode:"visible",children:r.children},n),l=aa(l,n,o,null),l.flags|=2,r.return=t,l.return=t,r.sibling=l,t.child=r,pa(t,e.child,null,o),r=t.child,r.memoizedState=wm(o),r.childLanes=_m(e,i,o),t.memoizedState=Nm,t=ds(null,r));else if(un(t),jy(l)){if(i=l.nextSibling&&l.nextSibling.dataset,i)var u=i.dgst;i=u,r=Error(z(419)),r.stack="",r.digest=i,Ds({value:r,source:null,stack:null}),t=Dm(e,t,o)}else if(lt||Wi(e,t,o,!1),i=(o&e.childLanes)!==0,lt||i){if(i=Oe,i!==null&&(r=kv(i,o),r!==0&&r!==s.retryLane))throw s.retryLane=r,ga(e,r),to(i,e,r),Sh;Uy(l)||Rp(),t=Dm(e,t,o)}else Uy(l)?(t.flags|=192,t.child=e.child,t=null):(e=s.treeContext,ke=Vo(l.nextSibling),At=t,le=!0,bn=null,Lo=!1,e!==null&&mx(t,e),t=Ey(t,r.children),t.flags|=4096);return t}return n?(cn(t),l=r.fallback,n=t.mode,s=e.child,u=s.sibling,r=Ur(s,{mode:"hidden",children:r.children}),r.subtreeFlags=s.subtreeFlags&65011712,u!==null?l=Ur(u,l):(l=aa(l,n,o,null),l.flags|=2),l.return=t,r.return=t,r.sibling=l,t.child=r,ds(null,r),r=t.child,l=e.child.memoizedState,l===null?l=wm(o):(n=l.cachePool,n!==null?(s=it._currentValue,n=n.parent!==s?{parent:s,pool:s}:n):n=hx(),l={baseLanes:l.baseLanes|o,cachePool:n}),r.memoizedState=l,r.childLanes=_m(e,i,o),t.memoizedState=Nm,ds(e.child,r)):(un(t),o=e.child,e=o.sibling,o=Ur(o,{mode:"visible",children:r.children}),o.return=t,o.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=o,t.memoizedState=null,o)}function Ey(e,t){return t=Sp({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Sp(e,t){return e=yo(22,e,null,t),e.lanes=0,e}function Dm(e,t,o){return pa(t,e.child,null,o),e=Ey(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Y0(e,t,o){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),py(e.return,t,o)}function zm(e,t,o,r,n,a){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:o,tailMode:n,treeForkCount:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=o,i.tailMode=n,i.treeForkCount=a)}function uS(e,t,o){var r=t.pendingProps,n=r.revealOrder,a=r.tail;r=r.children;var i=et.current,l=(i&2)!==0;if(l?(i=i&1|2,t.flags|=128):i&=1,we(et,i),Rt(e,t,r,o),r=le?_s:0,!l&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Y0(e,o,t);else if(e.tag===19)Y0(e,o,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(n){case"forwards":for(o=t.child,n=null;o!==null;)e=o.alternate,e!==null&&bp(e)===null&&(n=o),o=o.sibling;o=n,o===null?(n=t.child,t.child=null):(n=o.sibling,o.sibling=null),zm(t,!1,n,o,a,r);break;case"backwards":case"unstable_legacy-backwards":for(o=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&bp(e)===null){t.child=n;break}e=n.sibling,n.sibling=o,o=n,n=e}zm(t,!0,o,null,a,r);break;case"together":zm(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Ir(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),Mn|=t.lanes,(o&t.childLanes)===0)if(e!==null){if(Wi(e,t,o,!1),(o&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(z(153));if(t.child!==null){for(e=t.child,o=Ur(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=Ur(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function Ch(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&yp(e)))}function BA(e,t,o){switch(t.tag){case 3:sp(t,t.stateNode.containerInfo),sn(t,it,e.memoizedState.cache),ua();break;case 27:case 5:Wm(t);break;case 4:sp(t,t.stateNode.containerInfo);break;case 10:sn(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,gy(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated!==null?(un(t),t.flags|=128,null):(o&t.child.childLanes)!==0?sS(e,t,o):(un(t),e=Ir(e,t,o),e!==null?e.sibling:null);un(t);break;case 19:var n=(e.flags&128)!==0;if(r=(o&t.childLanes)!==0,r||(Wi(e,t,o,!1),r=(o&t.childLanes)!==0),n){if(r)return uS(e,t,o);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),we(et,et.current),r)break;return null;case 22:return t.lanes=0,lS(e,t,o,t.pendingProps);case 24:sn(t,it,e.memoizedState.cache)}return Ir(e,t,o)}function cS(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps)lt=!0;else{if(!Ch(e,o)&&(t.flags&128)===0)return lt=!1,BA(e,t,o);lt=(e.flags&131072)!==0}else lt=!1,le&&(t.flags&1048576)!==0&&dx(t,_s,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=oa(t.elementType),t.type=e,typeof e=="function")th(e)?(r=da(e,r),t.tag=1,t=F0(null,t,e,r,o)):(t.tag=0,t=Cy(null,t,e,r,o));else{if(e!=null){var n=e.$$typeof;if(n===Vy){t.tag=11,t=H0(null,t,e,r,o);break e}else if(n===Iy){t.tag=14,t=V0(null,t,e,r,o);break e}}throw t=Qm(e)||e,Error(z(306,t,""))}}return t;case 0:return Cy(e,t,t.type,t.pendingProps,o);case 1:return r=t.type,n=da(r,t.pendingProps),F0(e,t,r,n,o);case 3:e:{if(sp(t,t.stateNode.containerInfo),e===null)throw Error(z(387));r=t.pendingProps;var a=t.memoizedState;n=a.element,my(e,t),xs(t,r,null,o);var i=t.memoizedState;if(r=i.cache,sn(t,it,r),r!==a.cache&&fy(t,[it],o,!0),vs(),r=i.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){t=$0(e,t,r,o);break e}else if(r!==n){n=ko(Error(z(424)),t),Ds(n),t=$0(e,t,r,o);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,ke=Vo(e.firstChild),At=t,le=!0,bn=null,Lo=!0,o=Tx(t,null,r,o),t.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(ua(),r===n){t=Ir(e,t,o);break e}Rt(e,t,r,o)}t=t.child}return t;case 26:return tp(e,t),e===null?(o=yv(t.type,null,t.pendingProps,null))?t.memoizedState=o:le||(o=t.type,e=t.pendingProps,r=Np(gn.current).createElement(o),r[Ot]=t,r[oo]=e,Nt(r,o,e),ht(r),t.stateNode=r):t.memoizedState=yv(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Wm(t),e===null&&le&&(r=t.stateNode=e1(t.type,t.pendingProps,gn.current),At=t,Lo=!0,n=ke,wn(t.type)?(ky=n,ke=Vo(r.firstChild)):ke=n),Rt(e,t,t.pendingProps.children,o),tp(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&le&&((n=r=ke)&&(r=uM(r,t.type,t.pendingProps,Lo),r!==null?(t.stateNode=r,At=t,ke=Vo(r.firstChild),Lo=!1,n=!0):n=!1),n||On(t)),Wm(t),n=t.type,a=t.pendingProps,i=e!==null?e.memoizedProps:null,r=a.children,zy(n,a)?r=null:i!==null&&zy(n,i)&&(t.flags|=32),t.memoizedState!==null&&(n=ch(e,t,RA,null,null,o),Ls._currentValue=n),tp(e,t),Rt(e,t,r,o),t.child;case 6:return e===null&&le&&((e=o=ke)&&(o=cM(o,t.pendingProps,Lo),o!==null?(t.stateNode=o,At=t,ke=null,e=!0):e=!1),e||On(t)),null;case 13:return sS(e,t,o);case 4:return sp(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=pa(t,null,r,o):Rt(e,t,r,o),t.child;case 11:return H0(e,t,t.type,t.pendingProps,o);case 7:return Rt(e,t,t.pendingProps,o),t.child;case 8:return Rt(e,t,t.pendingProps.children,o),t.child;case 12:return Rt(e,t,t.pendingProps.children,o),t.child;case 10:return r=t.pendingProps,sn(t,t.type,r.value),Rt(e,t,r.children,o),t.child;case 9:return n=t.type._context,r=t.pendingProps.children,ca(t),n=Mt(n),r=r(n),t.flags|=1,Rt(e,t,r,o),t.child;case 14:return V0(e,t,t.type,t.pendingProps,o);case 15:return iS(e,t,t.type,t.pendingProps,o);case 19:return uS(e,t,o);case 31:return zA(e,t,o);case 22:return lS(e,t,o,t.pendingProps);case 24:return ca(t),r=Mt(it),e===null?(n=ah(),n===null&&(n=Oe,a=nh(),n.pooledCache=a,a.refCount++,a!==null&&(n.pooledCacheLanes|=o),n=a),t.memoizedState={parent:r,cache:n},lh(t),sn(t,it,n)):((e.lanes&o)!==0&&(my(e,t),xs(t,null,null,o),vs()),n=e.memoizedState,a=t.memoizedState,n.parent!==r?(n={parent:r,cache:r},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),sn(t,it,r)):(r=a.cache,sn(t,it,r),r!==n.cache&&fy(t,[it],o,!0))),Rt(e,t,t.pendingProps.children,o),t.child;case 29:throw t.pendingProps}throw Error(z(156,t.tag))}function Or(e){e.flags|=4}function Bm(e,t,o,r,n){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(n&335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(zS())e.flags|=8192;else throw la=hp,ih}else e.flags&=-16777217}function K0(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!r1(t))if(zS())e.flags|=8192;else throw la=hp,ih}function Lc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Bv():536870912,e.lanes|=t,Fi|=t)}function is(e,t){if(!le)switch(e.tailMode){case"hidden":t=e.tail;for(var o=null;t!==null;)t.alternate!==null&&(o=t),t=t.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var r=null;o!==null;)o.alternate!==null&&(r=o),o=o.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function je(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=0,r=0;if(t)for(var n=e.child;n!==null;)o|=n.lanes|n.childLanes,r|=n.subtreeFlags&65011712,r|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)o|=n.lanes|n.childLanes,r|=n.subtreeFlags,r|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=r,e.childLanes=o,t}function UA(e,t,o){var r=t.pendingProps;switch(rh(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return je(t),null;case 1:return je(t),null;case 3:return o=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),jr(it),Li(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(hi(t)?Or(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Rm())),je(t),null;case 26:var n=t.type,a=t.memoizedState;return e===null?(Or(t),a!==null?(je(t),K0(t,a)):(je(t),Bm(t,n,null,r,o))):a?a!==e.memoizedState?(Or(t),je(t),K0(t,a)):(je(t),t.flags&=-16777217):(e=e.memoizedProps,e!==r&&Or(t),je(t),Bm(t,n,e,r,o)),null;case 27:if(up(t),o=gn.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Or(t);else{if(!r){if(t.stateNode===null)throw Error(z(166));return je(t),null}e=mr.current,hi(t)?C0(t,e):(e=e1(n,r,o),t.stateNode=e,Or(t))}return je(t),null;case 5:if(up(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Or(t);else{if(!r){if(t.stateNode===null)throw Error(z(166));return je(t),null}if(a=mr.current,hi(t))C0(t,a);else{var i=Np(gn.current);switch(a){case 1:a=i.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:a=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":a=i.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":a=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":a=i.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a=typeof r.is=="string"?i.createElement("select",{is:r.is}):i.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a=typeof r.is=="string"?i.createElement(n,{is:r.is}):i.createElement(n)}}a[Ot]=t,a[oo]=r;e:for(i=t.child;i!==null;){if(i.tag===5||i.tag===6)a.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break e;for(;i.sibling===null;){if(i.return===null||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}t.stateNode=a;e:switch(Nt(a,n,r),n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Or(t)}}return je(t),Bm(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,o),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Or(t);else{if(typeof r!="string"&&t.stateNode===null)throw Error(z(166));if(e=gn.current,hi(t)){if(e=t.stateNode,o=t.memoizedProps,r=null,n=At,n!==null)switch(n.tag){case 27:case 5:r=n.memoizedProps}e[Ot]=t,e=!!(e.nodeValue===o||r!==null&&r.suppressHydrationWarning===!0||QS(e.nodeValue,o)),e||On(t,!0)}else e=Np(e).createTextNode(r),e[Ot]=t,t.stateNode=e}return je(t),null;case 31:if(o=t.memoizedState,e===null||e.memoizedState!==null){if(r=hi(t),o!==null){if(e===null){if(!r)throw Error(z(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(z(557));e[Ot]=t}else ua(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;je(t),e=!1}else o=Rm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),e=!0;if(!e)return t.flags&256?(mo(t),t):(mo(t),null);if((t.flags&128)!==0)throw Error(z(558))}return je(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=hi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!n)throw Error(z(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(z(317));n[Ot]=t}else ua(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;je(t),n=!1}else n=Rm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(mo(t),t):(mo(t),null)}return mo(t),(t.flags&128)!==0?(t.lanes=o,t):(o=r!==null,e=e!==null&&e.memoizedState!==null,o&&(r=t.child,n=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(n=r.alternate.memoizedState.cachePool.pool),a=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(a=r.memoizedState.cachePool.pool),a!==n&&(r.flags|=2048)),o!==e&&o&&(t.child.flags|=8192),Lc(t,t.updateQueue),je(t),null);case 4:return Li(),e===null&&Nh(t.stateNode.containerInfo),je(t),null;case 10:return jr(t.type),je(t),null;case 19:if(gt(et),r=t.memoizedState,r===null)return je(t),null;if(n=(t.flags&128)!==0,a=r.rendering,a===null)if(n)is(r,!1);else{if(Ze!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(a=bp(e),a!==null){for(t.flags|=128,is(r,!1),e=a.updateQueue,t.updateQueue=e,Lc(t,e),t.subtreeFlags=0,e=o,o=t.child;o!==null;)px(o,e),o=o.sibling;return we(et,et.current&1|2),le&&wr(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&go()>Ep&&(t.flags|=128,n=!0,is(r,!1),t.lanes=4194304)}else{if(!n)if(e=bp(a),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,Lc(t,e),is(r,!0),r.tail===null&&r.tailMode==="hidden"&&!a.alternate&&!le)return je(t),null}else 2*go()-r.renderingStartTime>Ep&&o!==536870912&&(t.flags|=128,n=!0,is(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(e=r.last,e!==null?e.sibling=a:t.child=a,r.last=a)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=go(),e.sibling=null,o=et.current,we(et,n?o&1|2:o&1),le&&wr(t,r.treeForkCount),e):(je(t),null);case 22:case 23:return mo(t),sh(),r=t.memoizedState!==null,e!==null?e.memoizedState!==null!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?(o&536870912)!==0&&(t.flags&128)===0&&(je(t),t.subtreeFlags&6&&(t.flags|=8192)):je(t),o=t.updateQueue,o!==null&&Lc(t,o.retryQueue),o=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==o&&(t.flags|=2048),e!==null&&gt(ia),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),jr(it),je(t),null;case 25:return null;case 30:return null}throw Error(z(156,t.tag))}function jA(e,t){switch(rh(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return jr(it),Li(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return up(t),null;case 31:if(t.memoizedState!==null){if(mo(t),t.alternate===null)throw Error(z(340));ua()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(mo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(z(340));ua()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return gt(et),null;case 4:return Li(),null;case 10:return jr(t.type),null;case 22:case 23:return mo(t),sh(),e!==null&&gt(ia),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return jr(it),null;case 25:return null;default:return null}}function pS(e,t){switch(rh(t),t.tag){case 3:jr(it),Li();break;case 26:case 27:case 5:up(t);break;case 4:Li();break;case 31:t.memoizedState!==null&&mo(t);break;case 13:mo(t);break;case 19:gt(et);break;case 10:jr(t.type);break;case 22:case 23:mo(t),sh(),e!==null&&gt(ia);break;case 24:jr(it)}}function Qs(e,t){try{var o=t.updateQueue,r=o!==null?o.lastEffect:null;if(r!==null){var n=r.next;o=n;do{if((o.tag&e)===e){r=void 0;var a=o.create,i=o.inst;r=a(),i.destroy=r}o=o.next}while(o!==n)}}catch(l){Ce(t,t.return,l)}}function An(e,t,o){try{var r=t.updateQueue,n=r!==null?r.lastEffect:null;if(n!==null){var a=n.next;r=a;do{if((r.tag&e)===e){var i=r.inst,l=i.destroy;if(l!==void 0){i.destroy=void 0,n=t;var s=o,u=l;try{u()}catch(p){Ce(n,s,p)}}}r=r.next}while(r!==a)}}catch(p){Ce(t,t.return,p)}}function fS(e){var t=e.updateQueue;if(t!==null){var o=e.stateNode;try{xx(t,o)}catch(r){Ce(e,e.return,r)}}}function dS(e,t,o){o.props=da(e.type,e.memoizedProps),o.state=e.memoizedState;try{o.componentWillUnmount()}catch(r){Ce(e,t,r)}}function Cs(e,t){try{var o=e.ref;if(o!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof o=="function"?e.refCleanup=o(r):o.current=r}}catch(n){Ce(e,t,n)}}function dr(e,t){var o=e.ref,r=e.refCleanup;if(o!==null)if(typeof r=="function")try{r()}catch(n){Ce(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(n){Ce(e,t,n)}else o.current=null}function mS(e){var t=e.type,o=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":o.autoFocus&&r.focus();break e;case"img":o.src?r.src=o.src:o.srcSet&&(r.srcset=o.srcSet)}}catch(n){Ce(e,e.return,n)}}function Um(e,t,o){try{var r=e.stateNode;rM(r,e.type,o,t),r[oo]=t}catch(n){Ce(e,e.return,n)}}function yS(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&wn(e.type)||e.tag===4}function jm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||yS(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&wn(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Py(e,t,o){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(e,t):(t=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,t.appendChild(e),o=o._reactRootContainer,o!=null||t.onclick!==null||(t.onclick=zr));else if(r!==4&&(r===27&&wn(e.type)&&(o=e.stateNode,t=null),e=e.child,e!==null))for(Py(e,t,o),e=e.sibling;e!==null;)Py(e,t,o),e=e.sibling}function Cp(e,t,o){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?o.insertBefore(e,t):o.appendChild(e);else if(r!==4&&(r===27&&wn(e.type)&&(o=e.stateNode),e=e.child,e!==null))for(Cp(e,t,o),e=e.sibling;e!==null;)Cp(e,t,o),e=e.sibling}function hS(e){var t=e.stateNode,o=e.memoizedProps;try{for(var r=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Nt(t,r,o),t[Ot]=e,t[oo]=o}catch(a){Ce(e,e.return,a)}}var _r=!1,at=!1,km=!1,X0=typeof WeakSet=="function"?WeakSet:Set,yt=null;function kA(e,t){if(e=e.containerInfo,_y=zp,e=rx(e),Wy(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var r=o.getSelection&&o.getSelection();if(r&&r.rangeCount!==0){o=r.anchorNode;var n=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{o.nodeType,a.nodeType}catch{o=null;break e}var i=0,l=-1,s=-1,u=0,p=0,f=e,d=null;t:for(;;){for(var c;f!==o||n!==0&&f.nodeType!==3||(l=i+n),f!==a||r!==0&&f.nodeType!==3||(s=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(c=f.firstChild)!==null;)d=f,f=c;for(;;){if(f===e)break t;if(d===o&&++u===n&&(l=i),d===a&&++p===r&&(s=i),(c=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=c}o=l===-1||s===-1?null:{start:l,end:s}}else o=null}o=o||{start:0,end:0}}else o=null;for(Dy={focusedElem:e,selectionRange:o},zp=!1,yt=t;yt!==null;)if(t=yt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,yt=e;else for(;yt!==null;){switch(t=yt,a=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(o=0;o<e.length;o++)n=e[o],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&a!==null){e=void 0,o=t,n=a.memoizedProps,a=a.memoizedState,r=o.stateNode;try{var T=da(o.type,n);e=r.getSnapshotBeforeUpdate(T,a),r.__reactInternalSnapshotBeforeUpdate=e}catch(v){Ce(o,o.return,v)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,o=e.nodeType,o===9)By(e);else if(o===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":By(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(z(163))}if(e=t.sibling,e!==null){e.return=t.return,yt=e;break}yt=t.return}}function gS(e,t,o){var r=o.flags;switch(o.tag){case 0:case 11:case 15:Mr(e,o),r&4&&Qs(5,o);break;case 1:if(Mr(e,o),r&4)if(e=o.stateNode,t===null)try{e.componentDidMount()}catch(i){Ce(o,o.return,i)}else{var n=da(o.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(i){Ce(o,o.return,i)}}r&64&&fS(o),r&512&&Cs(o,o.return);break;case 3:if(Mr(e,o),r&64&&(e=o.updateQueue,e!==null)){if(t=null,o.child!==null)switch(o.child.tag){case 27:case 5:t=o.child.stateNode;break;case 1:t=o.child.stateNode}try{xx(e,t)}catch(i){Ce(o,o.return,i)}}break;case 27:t===null&&r&4&&hS(o);case 26:case 5:Mr(e,o),t===null&&r&4&&mS(o),r&512&&Cs(o,o.return);break;case 12:Mr(e,o);break;case 31:Mr(e,o),r&4&&vS(e,o);break;case 13:Mr(e,o),r&4&&xS(e,o),r&64&&(e=o.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(o=YA.bind(null,o),pM(e,o))));break;case 22:if(r=o.memoizedState!==null||_r,!r){t=t!==null&&t.memoizedState!==null||at,n=_r;var a=at;_r=r,(at=t)&&!a?Nr(e,o,(o.subtreeFlags&8772)!==0):Mr(e,o),_r=n,at=a}break;case 30:break;default:Mr(e,o)}}function bS(e){var t=e.alternate;t!==null&&(e.alternate=null,bS(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&$y(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ie=null,Jt=!1;function Ar(e,t,o){for(o=o.child;o!==null;)TS(e,t,o),o=o.sibling}function TS(e,t,o){if(bo&&typeof bo.onCommitFiberUnmount=="function")try{bo.onCommitFiberUnmount(qs,o)}catch{}switch(o.tag){case 26:at||dr(o,t),Ar(e,t,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:at||dr(o,t);var r=Ie,n=Jt;wn(o.type)&&(Ie=o.stateNode,Jt=!1),Ar(e,t,o),Os(o.stateNode),Ie=r,Jt=n;break;case 5:at||dr(o,t);case 6:if(r=Ie,n=Jt,Ie=null,Ar(e,t,o),Ie=r,Jt=n,Ie!==null)if(Jt)try{(Ie.nodeType===9?Ie.body:Ie.nodeName==="HTML"?Ie.ownerDocument.body:Ie).removeChild(o.stateNode)}catch(a){Ce(o,t,a)}else try{Ie.removeChild(o.stateNode)}catch(a){Ce(o,t,a)}break;case 18:Ie!==null&&(Jt?(e=Ie,cv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,o.stateNode),Xi(e)):cv(Ie,o.stateNode));break;case 4:r=Ie,n=Jt,Ie=o.stateNode.containerInfo,Jt=!0,Ar(e,t,o),Ie=r,Jt=n;break;case 0:case 11:case 14:case 15:An(2,o,t),at||An(4,o,t),Ar(e,t,o);break;case 1:at||(dr(o,t),r=o.stateNode,typeof r.componentWillUnmount=="function"&&dS(o,t,r)),Ar(e,t,o);break;case 21:Ar(e,t,o);break;case 22:at=(r=at)||o.memoizedState!==null,Ar(e,t,o),at=r;break;default:Ar(e,t,o)}}function vS(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Xi(e)}catch(o){Ce(t,t.return,o)}}}function xS(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Xi(e)}catch(o){Ce(t,t.return,o)}}function LA(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new X0),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new X0),t;default:throw Error(z(435,e.tag))}}function Hc(e,t){var o=LA(e);t.forEach(function(r){if(!o.has(r)){o.add(r);var n=KA.bind(null,e,r);r.then(n,n)}})}function Zt(e,t){var o=t.deletions;if(o!==null)for(var r=0;r<o.length;r++){var n=o[r],a=e,i=t,l=i;e:for(;l!==null;){switch(l.tag){case 27:if(wn(l.type)){Ie=l.stateNode,Jt=!1;break e}break;case 5:Ie=l.stateNode,Jt=!1;break e;case 3:case 4:Ie=l.stateNode.containerInfo,Jt=!0;break e}l=l.return}if(Ie===null)throw Error(z(160));TS(a,i,n),Ie=null,Jt=!1,a=n.alternate,a!==null&&(a.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)SS(t,e),t=t.sibling}var Wo=null;function SS(e,t){var o=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Zt(t,e),Wt(e),r&4&&(An(3,e,e.return),Qs(3,e),An(5,e,e.return));break;case 1:Zt(t,e),Wt(e),r&512&&(at||o===null||dr(o,o.return)),r&64&&_r&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(o=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=o===null?r:o.concat(r))));break;case 26:var n=Wo;if(Zt(t,e),Wt(e),r&512&&(at||o===null||dr(o,o.return)),r&4){var a=o!==null?o.memoizedState:null;if(r=e.memoizedState,o===null)if(r===null)if(e.stateNode===null){e:{r=e.type,o=e.memoizedProps,n=n.ownerDocument||n;t:switch(r){case"title":a=n.getElementsByTagName("title")[0],(!a||a[$s]||a[Ot]||a.namespaceURI==="http://www.w3.org/2000/svg"||a.hasAttribute("itemprop"))&&(a=n.createElement(r),n.head.insertBefore(a,n.querySelector("head > title"))),Nt(a,r,o),a[Ot]=e,ht(a),r=a;break e;case"link":var i=gv("link","href",n).get(r+(o.href||""));if(i){for(var l=0;l<i.length;l++)if(a=i[l],a.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&a.getAttribute("rel")===(o.rel==null?null:o.rel)&&a.getAttribute("title")===(o.title==null?null:o.title)&&a.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){i.splice(l,1);break t}}a=n.createElement(r),Nt(a,r,o),n.head.appendChild(a);break;case"meta":if(i=gv("meta","content",n).get(r+(o.content||""))){for(l=0;l<i.length;l++)if(a=i[l],a.getAttribute("content")===(o.content==null?null:""+o.content)&&a.getAttribute("name")===(o.name==null?null:o.name)&&a.getAttribute("property")===(o.property==null?null:o.property)&&a.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&a.getAttribute("charset")===(o.charSet==null?null:o.charSet)){i.splice(l,1);break t}}a=n.createElement(r),Nt(a,r,o),n.head.appendChild(a);break;default:throw Error(z(468,r))}a[Ot]=e,ht(a),r=a}e.stateNode=r}else bv(n,e.type,e.stateNode);else e.stateNode=hv(n,r,e.memoizedProps);else a!==r?(a===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):a.count--,r===null?bv(n,e.type,e.stateNode):hv(n,r,e.memoizedProps)):r===null&&e.stateNode!==null&&Um(e,e.memoizedProps,o.memoizedProps)}break;case 27:Zt(t,e),Wt(e),r&512&&(at||o===null||dr(o,o.return)),o!==null&&r&4&&Um(e,e.memoizedProps,o.memoizedProps);break;case 5:if(Zt(t,e),Wt(e),r&512&&(at||o===null||dr(o,o.return)),e.flags&32){n=e.stateNode;try{Vi(n,"")}catch(T){Ce(e,e.return,T)}}r&4&&e.stateNode!=null&&(n=e.memoizedProps,Um(e,n,o!==null?o.memoizedProps:n)),r&1024&&(km=!0);break;case 6:if(Zt(t,e),Wt(e),r&4){if(e.stateNode===null)throw Error(z(162));r=e.memoizedProps,o=e.stateNode;try{o.nodeValue=r}catch(T){Ce(e,e.return,T)}}break;case 3:if(np=null,n=Wo,Wo=wp(t.containerInfo),Zt(t,e),Wo=n,Wt(e),r&4&&o!==null&&o.memoizedState.isDehydrated)try{Xi(t.containerInfo)}catch(T){Ce(e,e.return,T)}km&&(km=!1,CS(e));break;case 4:r=Wo,Wo=wp(e.stateNode.containerInfo),Zt(t,e),Wt(e),Wo=r;break;case 12:Zt(t,e),Wt(e);break;case 31:Zt(t,e),Wt(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Hc(e,r)));break;case 13:Zt(t,e),Wt(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(Yp=go()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Hc(e,r)));break;case 22:n=e.memoizedState!==null;var s=o!==null&&o.memoizedState!==null,u=_r,p=at;if(_r=u||n,at=p||s,Zt(t,e),at=p,_r=u,Wt(e),r&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(o===null||s||_r||at||ra(e)),o=null,t=e;;){if(t.tag===5||t.tag===26){if(o===null){s=o=t;try{if(a=s.stateNode,n)i=a.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none";else{l=s.stateNode;var f=s.memoizedProps.style,d=f!=null&&f.hasOwnProperty("display")?f.display:null;l.style.display=d==null||typeof d=="boolean"?"":(""+d).trim()}}catch(T){Ce(s,s.return,T)}}}else if(t.tag===6){if(o===null){s=t;try{s.stateNode.nodeValue=n?"":s.memoizedProps}catch(T){Ce(s,s.return,T)}}}else if(t.tag===18){if(o===null){s=t;try{var c=s.stateNode;n?pv(c,!0):pv(s.stateNode,!1)}catch(T){Ce(s,s.return,T)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;o===t&&(o=null),t=t.return}o===t&&(o=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(o=r.retryQueue,o!==null&&(r.retryQueue=null,Hc(e,o))));break;case 19:Zt(t,e),Wt(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Hc(e,r)));break;case 30:break;case 21:break;default:Zt(t,e),Wt(e)}}function Wt(e){var t=e.flags;if(t&2){try{for(var o,r=e.return;r!==null;){if(yS(r)){o=r;break}r=r.return}if(o==null)throw Error(z(160));switch(o.tag){case 27:var n=o.stateNode,a=jm(e);Cp(e,a,n);break;case 5:var i=o.stateNode;o.flags&32&&(Vi(i,""),o.flags&=-33);var l=jm(e);Cp(e,l,i);break;case 3:case 4:var s=o.stateNode.containerInfo,u=jm(e);Py(e,u,s);break;default:throw Error(z(161))}}catch(p){Ce(e,e.return,p)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function CS(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;CS(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Mr(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)gS(e,t.alternate,t),t=t.sibling}function ra(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:An(4,t,t.return),ra(t);break;case 1:dr(t,t.return);var o=t.stateNode;typeof o.componentWillUnmount=="function"&&dS(t,t.return,o),ra(t);break;case 27:Os(t.stateNode);case 26:case 5:dr(t,t.return),ra(t);break;case 22:t.memoizedState===null&&ra(t);break;case 30:ra(t);break;default:ra(t)}e=e.sibling}}function Nr(e,t,o){for(o=o&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var r=t.alternate,n=e,a=t,i=a.flags;switch(a.tag){case 0:case 11:case 15:Nr(n,a,o),Qs(4,a);break;case 1:if(Nr(n,a,o),r=a,n=r.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(u){Ce(r,r.return,u)}if(r=a,n=r.updateQueue,n!==null){var l=r.stateNode;try{var s=n.shared.hiddenCallbacks;if(s!==null)for(n.shared.hiddenCallbacks=null,n=0;n<s.length;n++)vx(s[n],l)}catch(u){Ce(r,r.return,u)}}o&&i&64&&fS(a),Cs(a,a.return);break;case 27:hS(a);case 26:case 5:Nr(n,a,o),o&&r===null&&i&4&&mS(a),Cs(a,a.return);break;case 12:Nr(n,a,o);break;case 31:Nr(n,a,o),o&&i&4&&vS(n,a);break;case 13:Nr(n,a,o),o&&i&4&&xS(n,a);break;case 22:a.memoizedState===null&&Nr(n,a,o),Cs(a,a.return);break;case 30:break;default:Nr(n,a,o)}t=t.sibling}}function Eh(e,t){var o=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==o&&(e!=null&&e.refCount++,o!=null&&Ks(o))}function Ph(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ks(e))}function Zo(e,t,o,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)ES(e,t,o,r),t=t.sibling}function ES(e,t,o,r){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Zo(e,t,o,r),n&2048&&Qs(9,t);break;case 1:Zo(e,t,o,r);break;case 3:Zo(e,t,o,r),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ks(e)));break;case 12:if(n&2048){Zo(e,t,o,r),e=t.stateNode;try{var a=t.memoizedProps,i=a.id,l=a.onPostCommit;typeof l=="function"&&l(i,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(s){Ce(t,t.return,s)}}else Zo(e,t,o,r);break;case 31:Zo(e,t,o,r);break;case 13:Zo(e,t,o,r);break;case 23:break;case 22:a=t.stateNode,i=t.alternate,t.memoizedState!==null?a._visibility&2?Zo(e,t,o,r):Es(e,t):a._visibility&2?Zo(e,t,o,r):(a._visibility|=2,bi(e,t,o,r,(t.subtreeFlags&10256)!==0||!1)),n&2048&&Eh(i,t);break;case 24:Zo(e,t,o,r),n&2048&&Ph(t.alternate,t);break;default:Zo(e,t,o,r)}}function bi(e,t,o,r,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var a=e,i=t,l=o,s=r,u=i.flags;switch(i.tag){case 0:case 11:case 15:bi(a,i,l,s,n),Qs(8,i);break;case 23:break;case 22:var p=i.stateNode;i.memoizedState!==null?p._visibility&2?bi(a,i,l,s,n):Es(a,i):(p._visibility|=2,bi(a,i,l,s,n)),n&&u&2048&&Eh(i.alternate,i);break;case 24:bi(a,i,l,s,n),n&&u&2048&&Ph(i.alternate,i);break;default:bi(a,i,l,s,n)}t=t.sibling}}function Es(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var o=e,r=t,n=r.flags;switch(r.tag){case 22:Es(o,r),n&2048&&Eh(r.alternate,r);break;case 24:Es(o,r),n&2048&&Ph(r.alternate,r);break;default:Es(o,r)}t=t.sibling}}var ms=8192;function gi(e,t,o){if(e.subtreeFlags&ms)for(e=e.child;e!==null;)PS(e,t,o),e=e.sibling}function PS(e,t,o){switch(e.tag){case 26:gi(e,t,o),e.flags&ms&&e.memoizedState!==null&&CM(o,Wo,e.memoizedState,e.memoizedProps);break;case 5:gi(e,t,o);break;case 3:case 4:var r=Wo;Wo=wp(e.stateNode.containerInfo),gi(e,t,o),Wo=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=ms,ms=16777216,gi(e,t,o),ms=r):gi(e,t,o));break;default:gi(e,t,o)}}function RS(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function ls(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var o=0;o<t.length;o++){var r=t[o];yt=r,AS(r,e)}RS(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)OS(e),e=e.sibling}function OS(e){switch(e.tag){case 0:case 11:case 15:ls(e),e.flags&2048&&An(9,e,e.return);break;case 3:ls(e);break;case 12:ls(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,op(e)):ls(e);break;default:ls(e)}}function op(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var o=0;o<t.length;o++){var r=t[o];yt=r,AS(r,e)}RS(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:An(8,t,t.return),op(t);break;case 22:o=t.stateNode,o._visibility&2&&(o._visibility&=-3,op(t));break;default:op(t)}e=e.sibling}}function AS(e,t){for(;yt!==null;){var o=yt;switch(o.tag){case 0:case 11:case 15:An(8,o,t);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var r=o.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:Ks(o.memoizedState.cache)}if(r=o.child,r!==null)r.return=o,yt=r;else e:for(o=e;yt!==null;){r=yt;var n=r.sibling,a=r.return;if(bS(r),r===o){yt=null;break e}if(n!==null){n.return=a,yt=n;break e}yt=a}}}var HA={getCacheForType:function(e){var t=Mt(it),o=t.data.get(e);return o===void 0&&(o=e(),t.data.set(e,o)),o},cacheSignal:function(){return Mt(it).controller.signal}},VA=typeof WeakMap=="function"?WeakMap:Map,de=0,Oe=null,ne=null,ae=0,Se=0,fo=null,mn=!1,el=!1,Rh=!1,qr=0,Ze=0,Mn=0,sa=0,Oh=0,ho=0,Fi=0,Ps=null,eo=null,Ry=!1,Yp=0,MS=0,Ep=1/0,Pp=null,xn=null,pt=0,Sn=null,$i=null,kr=0,Oy=0,Ay=null,NS=null,Rs=0,My=null;function vo(){return(de&2)!==0&&ae!==0?ae&-ae:$.T!==null?Mh():Lv()}function wS(){if(ho===0)if((ae&536870912)===0||le){var e=Nc;Nc<<=1,(Nc&3932160)===0&&(Nc=262144),ho=e}else ho=536870912;return e=So.current,e!==null&&(e.flags|=32),ho}function to(e,t,o){(e===Oe&&(Se===2||Se===9)||e.cancelPendingCommit!==null)&&(Yi(e,0),yn(e,ae,ho,!1)),Fs(e,o),((de&2)===0||e!==Oe)&&(e===Oe&&((de&2)===0&&(sa|=o),Ze===4&&yn(e,ae,ho,!1)),hr(e))}function _S(e,t,o){if((de&6)!==0)throw Error(z(327));var r=!o&&(t&127)===0&&(t&e.expiredLanes)===0||Gs(e,t),n=r?GA(e,t):Lm(e,t,!0),a=r;do{if(n===0){el&&!r&&yn(e,t,0,!1);break}else{if(o=e.current.alternate,a&&!IA(o)){n=Lm(e,t,!1),a=!1;continue}if(n===2){if(a=t,e.errorRecoveryDisabledLanes&a)var i=0;else i=e.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){t=i;e:{var l=e;n=Ps;var s=l.current.memoizedState.isDehydrated;if(s&&(Yi(l,i).flags|=256),i=Lm(l,i,!1),i!==2){if(Rh&&!s){l.errorRecoveryDisabledLanes|=a,sa|=a,n=4;break e}a=eo,eo=n,a!==null&&(eo===null?eo=a:eo.push.apply(eo,a))}n=i}if(a=!1,n!==2)continue}}if(n===1){Yi(e,0),yn(e,t,0,!0);break}e:{switch(r=e,a=n,a){case 0:case 1:throw Error(z(345));case 4:if((t&4194048)!==t)break;case 6:yn(r,t,ho,!mn);break e;case 2:eo=null;break;case 3:case 5:break;default:throw Error(z(329))}if((t&62914560)===t&&(n=Yp+300-go(),10<n)){if(yn(r,t,ho,!mn),Up(r,0,!0)!==0)break e;kr=t,r.timeoutHandle=WS(Q0.bind(null,r,o,eo,Pp,Ry,t,ho,sa,Fi,mn,a,"Throttled",-0,0),n);break e}Q0(r,o,eo,Pp,Ry,t,ho,sa,Fi,mn,a,null,-0,0)}}break}while(!0);hr(e)}function Q0(e,t,o,r,n,a,i,l,s,u,p,f,d,c){if(e.timeoutHandle=-1,f=t.subtreeFlags,f&8192||(f&16785408)===16785408){f={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:zr},PS(t,a,f);var T=(a&62914560)===a?Yp-go():(a&4194048)===a?MS-go():0;if(T=EM(f,T),T!==null){kr=a,e.cancelPendingCommit=T(W0.bind(null,e,t,a,o,r,n,i,l,s,p,f,null,d,c)),yn(e,a,i,!u);return}}W0(e,t,a,o,r,n,i,l,s)}function IA(e){for(var t=e;;){var o=t.tag;if((o===0||o===11||o===15)&&t.flags&16384&&(o=t.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var r=0;r<o.length;r++){var n=o[r],a=n.getSnapshot;n=n.value;try{if(!xo(a(),n))return!1}catch{return!1}}if(o=t.child,t.subtreeFlags&16384&&o!==null)o.return=t,t=o;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function yn(e,t,o,r){t&=~Oh,t&=~sa,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var n=t;0<n;){var a=31-To(n),i=1<<a;r[a]=-1,n&=~i}o!==0&&Uv(e,o,t)}function Kp(){return(de&6)===0?(Zs(0,!1),!1):!0}function Ah(){if(ne!==null){if(Se===0)var e=ne.return;else e=ne,Br=ba=null,dh(e),Ui=null,zs=0,e=ne;for(;e!==null;)pS(e.alternate,e),e=e.return;ne=null}}function Yi(e,t){var o=e.timeoutHandle;o!==-1&&(e.timeoutHandle=-1,iM(o)),o=e.cancelPendingCommit,o!==null&&(e.cancelPendingCommit=null,o()),kr=0,Ah(),Oe=e,ne=o=Ur(e.current,null),ae=t,Se=0,fo=null,mn=!1,el=Gs(e,t),Rh=!1,Fi=ho=Oh=sa=Mn=Ze=0,eo=Ps=null,Ry=!1,(t&8)!==0&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var n=31-To(r),a=1<<n;t|=e[n],r&=~a}return qr=t,Hp(),o}function DS(e,t){W=null,$.H=Us,t===Ji||t===Ip?(t=A0(),Se=3):t===ih?(t=A0(),Se=4):Se=t===Sh?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,fo=t,ne===null&&(Ze=1,xp(e,ko(t,e.current)))}function zS(){var e=So.current;return e===null?!0:(ae&4194048)===ae?Ho===null:(ae&62914560)===ae||(ae&536870912)!==0?e===Ho:!1}function BS(){var e=$.H;return $.H=Us,e===null?Us:e}function US(){var e=$.A;return $.A=HA,e}function Rp(){Ze=4,mn||(ae&4194048)!==ae&&So.current!==null||(el=!0),(Mn&134217727)===0&&(sa&134217727)===0||Oe===null||yn(Oe,ae,ho,!1)}function Lm(e,t,o){var r=de;de|=2;var n=BS(),a=US();(Oe!==e||ae!==t)&&(Pp=null,Yi(e,t)),t=!1;var i=Ze;e:do try{if(Se!==0&&ne!==null){var l=ne,s=fo;switch(Se){case 8:Ah(),i=6;break e;case 3:case 2:case 9:case 6:So.current===null&&(t=!0);var u=Se;if(Se=0,fo=null,wi(e,l,s,u),o&&el){i=0;break e}break;default:u=Se,Se=0,fo=null,wi(e,l,s,u)}}qA(),i=Ze;break}catch(p){DS(e,p)}while(!0);return t&&e.shellSuspendCounter++,Br=ba=null,de=r,$.H=n,$.A=a,ne===null&&(Oe=null,ae=0,Hp()),i}function qA(){for(;ne!==null;)jS(ne)}function GA(e,t){var o=de;de|=2;var r=BS(),n=US();Oe!==e||ae!==t?(Pp=null,Ep=go()+500,Yi(e,t)):el=Gs(e,t);e:do try{if(Se!==0&&ne!==null){t=ne;var a=fo;t:switch(Se){case 1:Se=0,fo=null,wi(e,t,a,1);break;case 2:case 9:if(O0(a)){Se=0,fo=null,Z0(t);break}t=function(){Se!==2&&Se!==9||Oe!==e||(Se=7),hr(e)},a.then(t,t);break e;case 3:Se=7;break e;case 4:Se=5;break e;case 7:O0(a)?(Se=0,fo=null,Z0(t)):(Se=0,fo=null,wi(e,t,a,7));break;case 5:var i=null;switch(ne.tag){case 26:i=ne.memoizedState;case 5:case 27:var l=ne;if(i?r1(i):l.stateNode.complete){Se=0,fo=null;var s=l.sibling;if(s!==null)ne=s;else{var u=l.return;u!==null?(ne=u,Xp(u)):ne=null}break t}}Se=0,fo=null,wi(e,t,a,5);break;case 6:Se=0,fo=null,wi(e,t,a,6);break;case 8:Ah(),Ze=6;break e;default:throw Error(z(462))}}FA();break}catch(p){DS(e,p)}while(!0);return Br=ba=null,$.H=r,$.A=n,de=o,ne!==null?0:(Oe=null,ae=0,Hp(),Ze)}function FA(){for(;ne!==null&&!m2();)jS(ne)}function jS(e){var t=cS(e.alternate,e,qr);e.memoizedProps=e.pendingProps,t===null?Xp(e):ne=t}function Z0(e){var t=e,o=t.alternate;switch(t.tag){case 15:case 0:t=G0(o,t,t.pendingProps,t.type,void 0,ae);break;case 11:t=G0(o,t,t.pendingProps,t.type.render,t.ref,ae);break;case 5:dh(t);default:pS(o,t),t=ne=px(t,qr),t=cS(o,t,qr)}e.memoizedProps=e.pendingProps,t===null?Xp(e):ne=t}function wi(e,t,o,r){Br=ba=null,dh(t),Ui=null,zs=0;var n=t.return;try{if(DA(e,n,t,o,ae)){Ze=1,xp(e,ko(o,e.current)),ne=null;return}}catch(a){if(n!==null)throw ne=n,a;Ze=1,xp(e,ko(o,e.current)),ne=null;return}t.flags&32768?(le||r===1?e=!0:el||(ae&536870912)!==0?e=!1:(mn=e=!0,(r===2||r===9||r===3||r===6)&&(r=So.current,r!==null&&r.tag===13&&(r.flags|=16384))),kS(t,e)):Xp(t)}function Xp(e){var t=e;do{if((t.flags&32768)!==0){kS(t,mn);return}e=t.return;var o=UA(t.alternate,t,qr);if(o!==null){ne=o;return}if(t=t.sibling,t!==null){ne=t;return}ne=t=e}while(t!==null);Ze===0&&(Ze=5)}function kS(e,t){do{var o=jA(e.alternate,e);if(o!==null){o.flags&=32767,ne=o;return}if(o=e.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!t&&(e=e.sibling,e!==null)){ne=e;return}ne=e=o}while(e!==null);Ze=6,ne=null}function W0(e,t,o,r,n,a,i,l,s){e.cancelPendingCommit=null;do Qp();while(pt!==0);if((de&6)!==0)throw Error(z(327));if(t!==null){if(t===e.current)throw Error(z(177));if(a=t.lanes|t.childLanes,a|=Jy,E2(e,o,a,i,l,s),e===Oe&&(ne=Oe=null,ae=0),$i=t,Sn=e,kr=o,Oy=a,Ay=n,NS=r,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,XA(cp,function(){return qS(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||r){r=$.T,$.T=null,n=me.p,me.p=2,i=de,de|=4;try{kA(e,t,o)}finally{de=i,me.p=n,$.T=r}}pt=1,LS(),HS(),VS()}}function LS(){if(pt===1){pt=0;var e=Sn,t=$i,o=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||o){o=$.T,$.T=null;var r=me.p;me.p=2;var n=de;de|=4;try{SS(t,e);var a=Dy,i=rx(e.containerInfo),l=a.focusedElem,s=a.selectionRange;if(i!==l&&l&&l.ownerDocument&&ox(l.ownerDocument.documentElement,l)){if(s!==null&&Wy(l)){var u=s.start,p=s.end;if(p===void 0&&(p=u),"selectionStart"in l)l.selectionStart=u,l.selectionEnd=Math.min(p,l.value.length);else{var f=l.ownerDocument||document,d=f&&f.defaultView||window;if(d.getSelection){var c=d.getSelection(),T=l.textContent.length,v=Math.min(s.start,T),x=s.end===void 0?v:Math.min(s.end,T);!c.extend&&v>x&&(i=x,x=v,v=i);var m=v0(l,v),y=v0(l,x);if(m&&y&&(c.rangeCount!==1||c.anchorNode!==m.node||c.anchorOffset!==m.offset||c.focusNode!==y.node||c.focusOffset!==y.offset)){var g=f.createRange();g.setStart(m.node,m.offset),c.removeAllRanges(),v>x?(c.addRange(g),c.extend(y.node,y.offset)):(g.setEnd(y.node,y.offset),c.addRange(g))}}}}for(f=[],c=l;c=c.parentNode;)c.nodeType===1&&f.push({element:c,left:c.scrollLeft,top:c.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<f.length;l++){var b=f[l];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}zp=!!_y,Dy=_y=null}finally{de=n,me.p=r,$.T=o}}e.current=t,pt=2}}function HS(){if(pt===2){pt=0;var e=Sn,t=$i,o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=$.T,$.T=null;var r=me.p;me.p=2;var n=de;de|=4;try{gS(e,t.alternate,t)}finally{de=n,me.p=r,$.T=o}}pt=3}}function VS(){if(pt===4||pt===3){pt=0,y2();var e=Sn,t=$i,o=kr,r=NS;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?pt=5:(pt=0,$i=Sn=null,IS(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(xn=null),Fy(o),t=t.stateNode,bo&&typeof bo.onCommitFiberRoot=="function")try{bo.onCommitFiberRoot(qs,t,void 0,(t.current.flags&128)===128)}catch{}if(r!==null){t=$.T,n=me.p,me.p=2,$.T=null;try{for(var a=e.onRecoverableError,i=0;i<r.length;i++){var l=r[i];a(l.value,{componentStack:l.stack})}}finally{$.T=t,me.p=n}}(kr&3)!==0&&Qp(),hr(e),n=e.pendingLanes,(o&261930)!==0&&(n&42)!==0?e===My?Rs++:(Rs=0,My=e):Rs=0,Zs(0,!1)}}function IS(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ks(t)))}function Qp(){return LS(),HS(),VS(),qS()}function qS(){if(pt!==5)return!1;var e=Sn,t=Oy;Oy=0;var o=Fy(kr),r=$.T,n=me.p;try{me.p=32>o?32:o,$.T=null,o=Ay,Ay=null;var a=Sn,i=kr;if(pt=0,$i=Sn=null,kr=0,(de&6)!==0)throw Error(z(331));var l=de;if(de|=4,OS(a.current),ES(a,a.current,i,o),de=l,Zs(0,!1),bo&&typeof bo.onPostCommitFiberRoot=="function")try{bo.onPostCommitFiberRoot(qs,a)}catch{}return!0}finally{me.p=n,$.T=r,IS(e,t)}}function J0(e,t,o){t=ko(o,t),t=Sy(e.stateNode,t,2),e=vn(e,t,2),e!==null&&(Fs(e,2),hr(e))}function Ce(e,t,o){if(e.tag===3)J0(e,e,o);else for(;t!==null;){if(t.tag===3){J0(t,e,o);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(xn===null||!xn.has(r))){e=ko(o,e),o=nS(2),r=vn(t,o,2),r!==null&&(aS(o,r,t,e),Fs(r,2),hr(r));break}}t=t.return}}function Hm(e,t,o){var r=e.pingCache;if(r===null){r=e.pingCache=new VA;var n=new Set;r.set(t,n)}else n=r.get(t),n===void 0&&(n=new Set,r.set(t,n));n.has(o)||(Rh=!0,n.add(o),e=$A.bind(null,e,t,o),t.then(e,e))}function $A(e,t,o){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&o,e.warmLanes&=~o,Oe===e&&(ae&o)===o&&(Ze===4||Ze===3&&(ae&62914560)===ae&&300>go()-Yp?(de&2)===0&&Yi(e,0):Oh|=o,Fi===ae&&(Fi=0)),hr(e)}function GS(e,t){t===0&&(t=Bv()),e=ga(e,t),e!==null&&(Fs(e,t),hr(e))}function YA(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),GS(e,o)}function KA(e,t){var o=0;switch(e.tag){case 31:case 13:var r=e.stateNode,n=e.memoizedState;n!==null&&(o=n.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(z(314))}r!==null&&r.delete(t),GS(e,o)}function XA(e,t){return qy(e,t)}var Op=null,Ti=null,Ny=!1,Ap=!1,Vm=!1,hn=0;function hr(e){e!==Ti&&e.next===null&&(Ti===null?Op=Ti=e:Ti=Ti.next=e),Ap=!0,Ny||(Ny=!0,ZA())}function Zs(e,t){if(!Vm&&Ap){Vm=!0;do for(var o=!1,r=Op;r!==null;){if(!t)if(e!==0){var n=r.pendingLanes;if(n===0)var a=0;else{var i=r.suspendedLanes,l=r.pingedLanes;a=(1<<31-To(42|e)+1)-1,a&=n&~(i&~l),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(o=!0,ev(r,a))}else a=ae,a=Up(r,r===Oe?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(a&3)===0||Gs(r,a)||(o=!0,ev(r,a));r=r.next}while(o);Vm=!1}}function QA(){FS()}function FS(){Ap=Ny=!1;var e=0;hn!==0&&aM()&&(e=hn);for(var t=go(),o=null,r=Op;r!==null;){var n=r.next,a=$S(r,t);a===0?(r.next=null,o===null?Op=n:o.next=n,n===null&&(Ti=o)):(o=r,(e!==0||(a&3)!==0)&&(Ap=!0)),r=n}pt!==0&&pt!==5||Zs(e,!1),hn!==0&&(hn=0)}function $S(e,t){for(var o=e.suspendedLanes,r=e.pingedLanes,n=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var i=31-To(a),l=1<<i,s=n[i];s===-1?((l&o)===0||(l&r)!==0)&&(n[i]=C2(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}if(t=Oe,o=ae,o=Up(e,e===t?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,o===0||e===t&&(Se===2||Se===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&hm(r),e.callbackNode=null,e.callbackPriority=0;if((o&3)===0||Gs(e,o)){if(t=o&-o,t===e.callbackPriority)return t;switch(r!==null&&hm(r),Fy(o)){case 2:case 8:o=Dv;break;case 32:o=cp;break;case 268435456:o=zv;break;default:o=cp}return r=YS.bind(null,e),o=qy(o,r),e.callbackPriority=t,e.callbackNode=o,t}return r!==null&&r!==null&&hm(r),e.callbackPriority=2,e.callbackNode=null,2}function YS(e,t){if(pt!==0&&pt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var o=e.callbackNode;if(Qp()&&e.callbackNode!==o)return null;var r=ae;return r=Up(e,e===Oe?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(_S(e,r,t),$S(e,go()),e.callbackNode!=null&&e.callbackNode===o?YS.bind(null,e):null)}function ev(e,t){if(Qp())return null;_S(e,t,!0)}function ZA(){lM(function(){(de&6)!==0?qy(_v,QA):FS()})}function Mh(){if(hn===0){var e=Ii;e===0&&(e=Mc,Mc<<=1,(Mc&261888)===0&&(Mc=256)),hn=e}return hn}function tv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Yc(""+e)}function ov(e,t){var o=t.ownerDocument.createElement("input");return o.name=t.name,o.value=t.value,e.id&&o.setAttribute("form",e.id),t.parentNode.insertBefore(o,t),e=new FormData(e),o.parentNode.removeChild(o),e}function WA(e,t,o,r,n){if(t==="submit"&&o&&o.stateNode===n){var a=tv((n[oo]||null).action),i=r.submitter;i&&(t=(t=i[oo]||null)?tv(t.formAction):i.getAttribute("formAction"),t!==null&&(a=t,i=null));var l=new jp("action","action",null,r,n);e.push({event:l,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(hn!==0){var s=i?ov(n,i):new FormData(n);vy(o,{pending:!0,data:s,method:n.method,action:a},null,s)}}else typeof a=="function"&&(l.preventDefault(),s=i?ov(n,i):new FormData(n),vy(o,{pending:!0,data:s,method:n.method,action:a},a,s))},currentTarget:n}]})}}for(Vc=0;Vc<sy.length;Vc++)Ic=sy[Vc],rv=Ic.toLowerCase(),nv=Ic[0].toUpperCase()+Ic.slice(1),Jo(rv,"on"+nv);var Ic,rv,nv,Vc;Jo(ax,"onAnimationEnd");Jo(ix,"onAnimationIteration");Jo(lx,"onAnimationStart");Jo("dblclick","onDoubleClick");Jo("focusin","onFocus");Jo("focusout","onBlur");Jo(hA,"onTransitionRun");Jo(gA,"onTransitionStart");Jo(bA,"onTransitionCancel");Jo(sx,"onTransitionEnd");Hi("onMouseEnter",["mouseout","mouseover"]);Hi("onMouseLeave",["mouseout","mouseover"]);Hi("onPointerEnter",["pointerout","pointerover"]);Hi("onPointerLeave",["pointerout","pointerover"]);ma("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ma("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ma("onBeforeInput",["compositionend","keypress","textInput","paste"]);ma("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ma("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ma("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var js="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),JA=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(js));function KS(e,t){t=(t&4)!==0;for(var o=0;o<e.length;o++){var r=e[o],n=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==a&&n.isPropagationStopped())break e;a=l,n.currentTarget=u;try{a(n)}catch(p){fp(p)}n.currentTarget=null,a=s}else for(i=0;i<r.length;i++){if(l=r[i],s=l.instance,u=l.currentTarget,l=l.listener,s!==a&&n.isPropagationStopped())break e;a=l,n.currentTarget=u;try{a(n)}catch(p){fp(p)}n.currentTarget=null,a=s}}}}function re(e,t){var o=t[ey];o===void 0&&(o=t[ey]=new Set);var r=e+"__bubble";o.has(r)||(XS(t,e,2,!1),o.add(r))}function Im(e,t,o){var r=0;t&&(r|=4),XS(o,e,r,t)}var qc="_reactListening"+Math.random().toString(36).slice(2);function Nh(e){if(!e[qc]){e[qc]=!0,Hv.forEach(function(o){o!=="selectionchange"&&(JA.has(o)||Im(o,!1,e),Im(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[qc]||(t[qc]=!0,Im("selectionchange",!1,t))}}function XS(e,t,o,r){switch(s1(t)){case 2:var n=OM;break;case 8:n=AM;break;default:n=zh}o=n.bind(null,t,o,e),n=void 0,!ay||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),r?n!==void 0?e.addEventListener(t,o,{capture:!0,passive:n}):e.addEventListener(t,o,!0):n!==void 0?e.addEventListener(t,o,{passive:n}):e.addEventListener(t,o,!1)}function qm(e,t,o,r,n){var a=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var l=r.stateNode.containerInfo;if(l===n)break;if(i===4)for(i=r.return;i!==null;){var s=i.tag;if((s===3||s===4)&&i.stateNode.containerInfo===n)return;i=i.return}for(;l!==null;){if(i=Si(l),i===null)return;if(s=i.tag,s===5||s===6||s===26||s===27){r=a=i;continue e}l=l.parentNode}}r=r.return}Kv(function(){var u=a,p=Ky(o),f=[];e:{var d=ux.get(e);if(d!==void 0){var c=jp,T=e;switch(e){case"keypress":if(Xc(o)===0)break e;case"keydown":case"keyup":c=K2;break;case"focusin":T="focus",c=xm;break;case"focusout":T="blur",c=xm;break;case"beforeblur":case"afterblur":c=xm;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=p0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=U2;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=Z2;break;case ax:case ix:case lx:c=L2;break;case sx:c=J2;break;case"scroll":case"scrollend":c=z2;break;case"wheel":c=tA;break;case"copy":case"cut":case"paste":c=V2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=d0;break;case"toggle":case"beforetoggle":c=rA}var v=(t&4)!==0,x=!v&&(e==="scroll"||e==="scrollend"),m=v?d!==null?d+"Capture":null:d;v=[];for(var y=u,g;y!==null;){var b=y;if(g=b.stateNode,b=b.tag,b!==5&&b!==26&&b!==27||g===null||m===null||(b=Ms(y,m),b!=null&&v.push(ks(y,b,g))),x)break;y=y.return}0<v.length&&(d=new c(d,T,null,o,p),f.push({event:d,listeners:v}))}}if((t&7)===0){e:{if(d=e==="mouseover"||e==="pointerover",c=e==="mouseout"||e==="pointerout",d&&o!==ny&&(T=o.relatedTarget||o.fromElement)&&(Si(T)||T[Qi]))break e;if((c||d)&&(d=p.window===p?p:(d=p.ownerDocument)?d.defaultView||d.parentWindow:window,c?(T=o.relatedTarget||o.toElement,c=u,T=T?Si(T):null,T!==null&&(x=Is(T),v=T.tag,T!==x||v!==5&&v!==27&&v!==6)&&(T=null)):(c=null,T=u),c!==T)){if(v=p0,b="onMouseLeave",m="onMouseEnter",y="mouse",(e==="pointerout"||e==="pointerover")&&(v=d0,b="onPointerLeave",m="onPointerEnter",y="pointer"),x=c==null?d:fs(c),g=T==null?d:fs(T),d=new v(b,y+"leave",c,o,p),d.target=x,d.relatedTarget=g,b=null,Si(p)===u&&(v=new v(m,y+"enter",T,o,p),v.target=g,v.relatedTarget=x,b=v),x=b,c&&T)t:{for(v=eM,m=c,y=T,g=0,b=m;b;b=v(b))g++;b=0;for(var P=y;P;P=v(P))b++;for(;0<g-b;)m=v(m),g--;for(;0<b-g;)y=v(y),b--;for(;g--;){if(m===y||y!==null&&m===y.alternate){v=m;break t}m=v(m),y=v(y)}v=null}else v=null;c!==null&&av(f,d,c,v,!1),T!==null&&x!==null&&av(f,x,T,v,!0)}}e:{if(d=u?fs(u):window,c=d.nodeName&&d.nodeName.toLowerCase(),c==="select"||c==="input"&&d.type==="file")var S=g0;else if(h0(d))if(ex)S=dA;else{S=pA;var E=cA}else c=d.nodeName,!c||c.toLowerCase()!=="input"||d.type!=="checkbox"&&d.type!=="radio"?u&&Yy(u.elementType)&&(S=g0):S=fA;if(S&&(S=S(e,u))){Jv(f,S,o,p);break e}E&&E(e,d,u),e==="focusout"&&u&&d.type==="number"&&u.memoizedProps.value!=null&&ry(d,"number",d.value)}switch(E=u?fs(u):window,e){case"focusin":(h0(E)||E.contentEditable==="true")&&(Pi=E,iy=u,gs=null);break;case"focusout":gs=iy=Pi=null;break;case"mousedown":ly=!0;break;case"contextmenu":case"mouseup":case"dragend":ly=!1,x0(f,o,p);break;case"selectionchange":if(yA)break;case"keydown":case"keyup":x0(f,o,p)}var O;if(Zy)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else Ei?Zv(e,o)&&(N="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(N="onCompositionStart");N&&(Qv&&o.locale!=="ko"&&(Ei||N!=="onCompositionStart"?N==="onCompositionEnd"&&Ei&&(O=Xv()):(dn=p,Xy="value"in dn?dn.value:dn.textContent,Ei=!0)),E=Mp(u,N),0<E.length&&(N=new f0(N,e,null,o,p),f.push({event:N,listeners:E}),O?N.data=O:(O=Wv(o),O!==null&&(N.data=O)))),(O=aA?iA(e,o):lA(e,o))&&(N=Mp(u,"onBeforeInput"),0<N.length&&(E=new f0("onBeforeInput","beforeinput",null,o,p),f.push({event:E,listeners:N}),E.data=O)),WA(f,e,u,o,p)}KS(f,t)})}function ks(e,t,o){return{instance:e,listener:t,currentTarget:o}}function Mp(e,t){for(var o=t+"Capture",r=[];e!==null;){var n=e,a=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||a===null||(n=Ms(e,o),n!=null&&r.unshift(ks(e,n,a)),n=Ms(e,t),n!=null&&r.push(ks(e,n,a))),e.tag===3)return r;e=e.return}return[]}function eM(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function av(e,t,o,r,n){for(var a=t._reactName,i=[];o!==null&&o!==r;){var l=o,s=l.alternate,u=l.stateNode;if(l=l.tag,s!==null&&s===r)break;l!==5&&l!==26&&l!==27||u===null||(s=u,n?(u=Ms(o,a),u!=null&&i.unshift(ks(o,u,s))):n||(u=Ms(o,a),u!=null&&i.push(ks(o,u,s)))),o=o.return}i.length!==0&&e.push({event:t,listeners:i})}var tM=/\r\n?/g,oM=/\u0000|\uFFFD/g;function iv(e){return(typeof e=="string"?e:""+e).replace(tM,`
9
- `).replace(oM,"")}function QS(e,t){return t=iv(t),iv(e)===t}function Pe(e,t,o,r,n,a){switch(o){case"children":typeof r=="string"?t==="body"||t==="textarea"&&r===""||Vi(e,r):(typeof r=="number"||typeof r=="bigint")&&t!=="body"&&Vi(e,""+r);break;case"className":_c(e,"class",r);break;case"tabIndex":_c(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":_c(e,o,r);break;case"style":Yv(e,r,a);break;case"data":if(t!=="object"){_c(e,"data",r);break}case"src":case"href":if(r===""&&(t!=="a"||o!=="href")){e.removeAttribute(o);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(o);break}r=Yc(""+r),e.setAttribute(o,r);break;case"action":case"formAction":if(typeof r=="function"){e.setAttribute(o,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof a=="function"&&(o==="formAction"?(t!=="input"&&Pe(e,t,"name",n.name,n,null),Pe(e,t,"formEncType",n.formEncType,n,null),Pe(e,t,"formMethod",n.formMethod,n,null),Pe(e,t,"formTarget",n.formTarget,n,null)):(Pe(e,t,"encType",n.encType,n,null),Pe(e,t,"method",n.method,n,null),Pe(e,t,"target",n.target,n,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(o);break}r=Yc(""+r),e.setAttribute(o,r);break;case"onClick":r!=null&&(e.onclick=zr);break;case"onScroll":r!=null&&re("scroll",e);break;case"onScrollEnd":r!=null&&re("scrollend",e);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(z(61));if(o=r.__html,o!=null){if(n.children!=null)throw Error(z(60));e.innerHTML=o}}break;case"multiple":e.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":e.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){e.removeAttribute("xlink:href");break}o=Yc(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(o,""+r):e.removeAttribute(o);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(o,""):e.removeAttribute(o);break;case"capture":case"download":r===!0?e.setAttribute(o,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(o,r):e.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?e.setAttribute(o,r):e.removeAttribute(o);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?e.removeAttribute(o):e.setAttribute(o,r);break;case"popover":re("beforetoggle",e),re("toggle",e),$c(e,"popover",r);break;case"xlinkActuate":Rr(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":Rr(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":Rr(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":Rr(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":Rr(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":Rr(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":Rr(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":Rr(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":Rr(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":$c(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=_2.get(o)||o,$c(e,o,r))}}function wy(e,t,o,r,n,a){switch(o){case"style":Yv(e,r,a);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(z(61));if(o=r.__html,o!=null){if(n.children!=null)throw Error(z(60));e.innerHTML=o}}break;case"children":typeof r=="string"?Vi(e,r):(typeof r=="number"||typeof r=="bigint")&&Vi(e,""+r);break;case"onScroll":r!=null&&re("scroll",e);break;case"onScrollEnd":r!=null&&re("scrollend",e);break;case"onClick":r!=null&&(e.onclick=zr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Vv.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(n=o.endsWith("Capture"),t=o.slice(2,n?o.length-7:void 0),a=e[oo]||null,a=a!=null?a[o]:null,typeof a=="function"&&e.removeEventListener(t,a,n),typeof r=="function")){typeof a!="function"&&a!==null&&(o in e?e[o]=null:e.hasAttribute(o)&&e.removeAttribute(o)),e.addEventListener(t,r,n);break e}o in e?e[o]=r:r===!0?e.setAttribute(o,""):$c(e,o,r)}}}function Nt(e,t,o){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":re("error",e),re("load",e);var r=!1,n=!1,a;for(a in o)if(o.hasOwnProperty(a)){var i=o[a];if(i!=null)switch(a){case"src":r=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(z(137,t));default:Pe(e,t,a,i,o,null)}}n&&Pe(e,t,"srcSet",o.srcSet,o,null),r&&Pe(e,t,"src",o.src,o,null);return;case"input":re("invalid",e);var l=a=i=n=null,s=null,u=null;for(r in o)if(o.hasOwnProperty(r)){var p=o[r];if(p!=null)switch(r){case"name":n=p;break;case"type":i=p;break;case"checked":s=p;break;case"defaultChecked":u=p;break;case"value":a=p;break;case"defaultValue":l=p;break;case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(z(137,t));break;default:Pe(e,t,r,p,o,null)}}Gv(e,a,l,s,u,i,n,!1);return;case"select":re("invalid",e),r=i=a=null;for(n in o)if(o.hasOwnProperty(n)&&(l=o[n],l!=null))switch(n){case"value":a=l;break;case"defaultValue":i=l;break;case"multiple":r=l;default:Pe(e,t,n,l,o,null)}t=a,o=i,e.multiple=!!r,t!=null?Di(e,!!r,t,!1):o!=null&&Di(e,!!r,o,!0);return;case"textarea":re("invalid",e),a=n=r=null;for(i in o)if(o.hasOwnProperty(i)&&(l=o[i],l!=null))switch(i){case"value":r=l;break;case"defaultValue":n=l;break;case"children":a=l;break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(z(91));break;default:Pe(e,t,i,l,o,null)}$v(e,r,n,a);return;case"option":for(s in o)o.hasOwnProperty(s)&&(r=o[s],r!=null)&&(s==="selected"?e.selected=r&&typeof r!="function"&&typeof r!="symbol":Pe(e,t,s,r,o,null));return;case"dialog":re("beforetoggle",e),re("toggle",e),re("cancel",e),re("close",e);break;case"iframe":case"object":re("load",e);break;case"video":case"audio":for(r=0;r<js.length;r++)re(js[r],e);break;case"image":re("error",e),re("load",e);break;case"details":re("toggle",e);break;case"embed":case"source":case"link":re("error",e),re("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in o)if(o.hasOwnProperty(u)&&(r=o[u],r!=null))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(z(137,t));default:Pe(e,t,u,r,o,null)}return;default:if(Yy(t)){for(p in o)o.hasOwnProperty(p)&&(r=o[p],r!==void 0&&wy(e,t,p,r,o,void 0));return}}for(l in o)o.hasOwnProperty(l)&&(r=o[l],r!=null&&Pe(e,t,l,r,o,null))}function rM(e,t,o,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,a=null,i=null,l=null,s=null,u=null,p=null;for(c in o){var f=o[c];if(o.hasOwnProperty(c)&&f!=null)switch(c){case"checked":break;case"value":break;case"defaultValue":s=f;default:r.hasOwnProperty(c)||Pe(e,t,c,null,r,f)}}for(var d in r){var c=r[d];if(f=o[d],r.hasOwnProperty(d)&&(c!=null||f!=null))switch(d){case"type":a=c;break;case"name":n=c;break;case"checked":u=c;break;case"defaultChecked":p=c;break;case"value":i=c;break;case"defaultValue":l=c;break;case"children":case"dangerouslySetInnerHTML":if(c!=null)throw Error(z(137,t));break;default:c!==f&&Pe(e,t,d,c,r,f)}}oy(e,i,l,s,u,p,a,n);return;case"select":c=i=l=d=null;for(a in o)if(s=o[a],o.hasOwnProperty(a)&&s!=null)switch(a){case"value":break;case"multiple":c=s;default:r.hasOwnProperty(a)||Pe(e,t,a,null,r,s)}for(n in r)if(a=r[n],s=o[n],r.hasOwnProperty(n)&&(a!=null||s!=null))switch(n){case"value":d=a;break;case"defaultValue":l=a;break;case"multiple":i=a;default:a!==s&&Pe(e,t,n,a,r,s)}t=l,o=i,r=c,d!=null?Di(e,!!o,d,!1):!!r!=!!o&&(t!=null?Di(e,!!o,t,!0):Di(e,!!o,o?[]:"",!1));return;case"textarea":c=d=null;for(l in o)if(n=o[l],o.hasOwnProperty(l)&&n!=null&&!r.hasOwnProperty(l))switch(l){case"value":break;case"children":break;default:Pe(e,t,l,null,r,n)}for(i in r)if(n=r[i],a=o[i],r.hasOwnProperty(i)&&(n!=null||a!=null))switch(i){case"value":d=n;break;case"defaultValue":c=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(z(91));break;default:n!==a&&Pe(e,t,i,n,r,a)}Fv(e,d,c);return;case"option":for(var T in o)d=o[T],o.hasOwnProperty(T)&&d!=null&&!r.hasOwnProperty(T)&&(T==="selected"?e.selected=!1:Pe(e,t,T,null,r,d));for(s in r)d=r[s],c=o[s],r.hasOwnProperty(s)&&d!==c&&(d!=null||c!=null)&&(s==="selected"?e.selected=d&&typeof d!="function"&&typeof d!="symbol":Pe(e,t,s,d,r,c));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var v in o)d=o[v],o.hasOwnProperty(v)&&d!=null&&!r.hasOwnProperty(v)&&Pe(e,t,v,null,r,d);for(u in r)if(d=r[u],c=o[u],r.hasOwnProperty(u)&&d!==c&&(d!=null||c!=null))switch(u){case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(z(137,t));break;default:Pe(e,t,u,d,r,c)}return;default:if(Yy(t)){for(var x in o)d=o[x],o.hasOwnProperty(x)&&d!==void 0&&!r.hasOwnProperty(x)&&wy(e,t,x,void 0,r,d);for(p in r)d=r[p],c=o[p],!r.hasOwnProperty(p)||d===c||d===void 0&&c===void 0||wy(e,t,p,d,r,c);return}}for(var m in o)d=o[m],o.hasOwnProperty(m)&&d!=null&&!r.hasOwnProperty(m)&&Pe(e,t,m,null,r,d);for(f in r)d=r[f],c=o[f],!r.hasOwnProperty(f)||d===c||d==null&&c==null||Pe(e,t,f,d,r,c)}function lv(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function nM(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,o=performance.getEntriesByType("resource"),r=0;r<o.length;r++){var n=o[r],a=n.transferSize,i=n.initiatorType,l=n.duration;if(a&&l&&lv(i)){for(i=0,l=n.responseEnd,r+=1;r<o.length;r++){var s=o[r],u=s.startTime;if(u>l)break;var p=s.transferSize,f=s.initiatorType;p&&lv(f)&&(s=s.responseEnd,i+=p*(s<l?1:(l-u)/(s-u)))}if(--r,t+=8*(a+i)/(n.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var _y=null,Dy=null;function Np(e){return e.nodeType===9?e:e.ownerDocument}function sv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function ZS(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function zy(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Gm=null;function aM(){var e=window.event;return e&&e.type==="popstate"?e===Gm?!1:(Gm=e,!0):(Gm=null,!1)}var WS=typeof setTimeout=="function"?setTimeout:void 0,iM=typeof clearTimeout=="function"?clearTimeout:void 0,uv=typeof Promise=="function"?Promise:void 0,lM=typeof queueMicrotask=="function"?queueMicrotask:typeof uv<"u"?function(e){return uv.resolve(null).then(e).catch(sM)}:WS;function sM(e){setTimeout(function(){throw e})}function wn(e){return e==="head"}function cv(e,t){var o=t,r=0;do{var n=o.nextSibling;if(e.removeChild(o),n&&n.nodeType===8)if(o=n.data,o==="/$"||o==="/&"){if(r===0){e.removeChild(n),Xi(t);return}r--}else if(o==="$"||o==="$?"||o==="$~"||o==="$!"||o==="&")r++;else if(o==="html")Os(e.ownerDocument.documentElement);else if(o==="head"){o=e.ownerDocument.head,Os(o);for(var a=o.firstChild;a;){var i=a.nextSibling,l=a.nodeName;a[$s]||l==="SCRIPT"||l==="STYLE"||l==="LINK"&&a.rel.toLowerCase()==="stylesheet"||o.removeChild(a),a=i}}else o==="body"&&Os(e.ownerDocument.body);o=n}while(o);Xi(t)}function pv(e,t){var o=e;e=0;do{var r=o.nextSibling;if(o.nodeType===1?t?(o._stashedDisplay=o.style.display,o.style.display="none"):(o.style.display=o._stashedDisplay||"",o.getAttribute("style")===""&&o.removeAttribute("style")):o.nodeType===3&&(t?(o._stashedText=o.nodeValue,o.nodeValue=""):o.nodeValue=o._stashedText||""),r&&r.nodeType===8)if(o=r.data,o==="/$"){if(e===0)break;e--}else o!=="$"&&o!=="$?"&&o!=="$~"&&o!=="$!"||e++;o=r}while(o)}function By(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var o=t;switch(t=t.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":By(o),$y(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}e.removeChild(o)}}function uM(e,t,o,r){for(;e.nodeType===1;){var n=o;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(r){if(!e[$s])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(a=e.getAttribute("rel"),a==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(a!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(a=e.getAttribute("src"),(a!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var a=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===a)return e}else return e;if(e=Vo(e.nextSibling),e===null)break}return null}function cM(e,t,o){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!o||(e=Vo(e.nextSibling),e===null))return null;return e}function JS(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Vo(e.nextSibling),e===null))return null;return e}function Uy(e){return e.data==="$?"||e.data==="$~"}function jy(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function pM(e,t){var o=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||o.readyState!=="loading")t();else{var r=function(){t(),o.removeEventListener("DOMContentLoaded",r)};o.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}function Vo(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var ky=null;function fv(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"||o==="/&"){if(t===0)return Vo(e.nextSibling);t--}else o!=="$"&&o!=="$!"&&o!=="$?"&&o!=="$~"&&o!=="&"||t++}e=e.nextSibling}return null}function dv(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"){if(t===0)return e;t--}else o!=="/$"&&o!=="/&"||t++}e=e.previousSibling}return null}function e1(e,t,o){switch(t=Np(o),e){case"html":if(e=t.documentElement,!e)throw Error(z(452));return e;case"head":if(e=t.head,!e)throw Error(z(453));return e;case"body":if(e=t.body,!e)throw Error(z(454));return e;default:throw Error(z(451))}}function Os(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);$y(e)}var Io=new Map,mv=new Set;function wp(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Gr=me.d;me.d={f:fM,r:dM,D:mM,C:yM,L:hM,m:gM,X:TM,S:bM,M:vM};function fM(){var e=Gr.f(),t=Kp();return e||t}function dM(e){var t=Zi(e);t!==null&&t.tag===5&&t.type==="form"?Yx(t):Gr.r(e)}var tl=typeof document>"u"?null:document;function t1(e,t,o){var r=tl;if(r&&typeof t=="string"&&t){var n=jo(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof o=="string"&&(n+='[crossorigin="'+o+'"]'),mv.has(n)||(mv.add(n),e={rel:e,crossOrigin:o,href:t},r.querySelector(n)===null&&(t=r.createElement("link"),Nt(t,"link",e),ht(t),r.head.appendChild(t)))}}function mM(e){Gr.D(e),t1("dns-prefetch",e,null)}function yM(e,t){Gr.C(e,t),t1("preconnect",e,t)}function hM(e,t,o){Gr.L(e,t,o);var r=tl;if(r&&e&&t){var n='link[rel="preload"][as="'+jo(t)+'"]';t==="image"&&o&&o.imageSrcSet?(n+='[imagesrcset="'+jo(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(n+='[imagesizes="'+jo(o.imageSizes)+'"]')):n+='[href="'+jo(e)+'"]';var a=n;switch(t){case"style":a=Ki(e);break;case"script":a=ol(e)}Io.has(a)||(e=Le({rel:"preload",href:t==="image"&&o&&o.imageSrcSet?void 0:e,as:t},o),Io.set(a,e),r.querySelector(n)!==null||t==="style"&&r.querySelector(Ws(a))||t==="script"&&r.querySelector(Js(a))||(t=r.createElement("link"),Nt(t,"link",e),ht(t),r.head.appendChild(t)))}}function gM(e,t){Gr.m(e,t);var o=tl;if(o&&e){var r=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+jo(r)+'"][href="'+jo(e)+'"]',a=n;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=ol(e)}if(!Io.has(a)&&(e=Le({rel:"modulepreload",href:e},t),Io.set(a,e),o.querySelector(n)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(Js(a)))return}r=o.createElement("link"),Nt(r,"link",e),ht(r),o.head.appendChild(r)}}}function bM(e,t,o){Gr.S(e,t,o);var r=tl;if(r&&e){var n=_i(r).hoistableStyles,a=Ki(e);t=t||"default";var i=n.get(a);if(!i){var l={loading:0,preload:null};if(i=r.querySelector(Ws(a)))l.loading=5;else{e=Le({rel:"stylesheet",href:e,"data-precedence":t},o),(o=Io.get(a))&&wh(e,o);var s=i=r.createElement("link");ht(s),Nt(s,"link",e),s._p=new Promise(function(u,p){s.onload=u,s.onerror=p}),s.addEventListener("load",function(){l.loading|=1}),s.addEventListener("error",function(){l.loading|=2}),l.loading|=4,rp(i,t,r)}i={type:"stylesheet",instance:i,count:1,state:l},n.set(a,i)}}}function TM(e,t){Gr.X(e,t);var o=tl;if(o&&e){var r=_i(o).hoistableScripts,n=ol(e),a=r.get(n);a||(a=o.querySelector(Js(n)),a||(e=Le({src:e,async:!0},t),(t=Io.get(n))&&_h(e,t),a=o.createElement("script"),ht(a),Nt(a,"link",e),o.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(n,a))}}function vM(e,t){Gr.M(e,t);var o=tl;if(o&&e){var r=_i(o).hoistableScripts,n=ol(e),a=r.get(n);a||(a=o.querySelector(Js(n)),a||(e=Le({src:e,async:!0,type:"module"},t),(t=Io.get(n))&&_h(e,t),a=o.createElement("script"),ht(a),Nt(a,"link",e),o.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(n,a))}}function yv(e,t,o,r){var n=(n=gn.current)?wp(n):null;if(!n)throw Error(z(446));switch(e){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(t=Ki(o.href),o=_i(n).hoistableStyles,r=o.get(t),r||(r={type:"style",instance:null,count:0,state:null},o.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){e=Ki(o.href);var a=_i(n).hoistableStyles,i=a.get(e);if(i||(n=n.ownerDocument||n,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},a.set(e,i),(a=n.querySelector(Ws(e)))&&!a._p&&(i.instance=a,i.state.loading=5),Io.has(e)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},Io.set(e,o),a||xM(n,e,o,i.state))),t&&r===null)throw Error(z(528,""));return i}if(t&&r!==null)throw Error(z(529,""));return null;case"script":return t=o.async,o=o.src,typeof o=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ol(o),o=_i(n).hoistableScripts,r=o.get(t),r||(r={type:"script",instance:null,count:0,state:null},o.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(z(444,e))}}function Ki(e){return'href="'+jo(e)+'"'}function Ws(e){return'link[rel="stylesheet"]['+e+"]"}function o1(e){return Le({},e,{"data-precedence":e.precedence,precedence:null})}function xM(e,t,o,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=1:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2}),Nt(t,"link",o),ht(t),e.head.appendChild(t))}function ol(e){return'[src="'+jo(e)+'"]'}function Js(e){return"script[async]"+e}function hv(e,t,o){if(t.count++,t.instance===null)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+jo(o.href)+'"]');if(r)return t.instance=r,ht(r),r;var n=Le({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement("style"),ht(r),Nt(r,"style",n),rp(r,o.precedence,e),t.instance=r;case"stylesheet":n=Ki(o.href);var a=e.querySelector(Ws(n));if(a)return t.state.loading|=4,t.instance=a,ht(a),a;r=o1(o),(n=Io.get(n))&&wh(r,n),a=(e.ownerDocument||e).createElement("link"),ht(a);var i=a;return i._p=new Promise(function(l,s){i.onload=l,i.onerror=s}),Nt(a,"link",r),t.state.loading|=4,rp(a,o.precedence,e),t.instance=a;case"script":return a=ol(o.src),(n=e.querySelector(Js(a)))?(t.instance=n,ht(n),n):(r=o,(n=Io.get(a))&&(r=Le({},o),_h(r,n)),e=e.ownerDocument||e,n=e.createElement("script"),ht(n),Nt(n,"link",r),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(z(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(r=t.instance,t.state.loading|=4,rp(r,o.precedence,e));return t.instance}function rp(e,t,o){for(var r=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=r.length?r[r.length-1]:null,a=n,i=0;i<r.length;i++){var l=r[i];if(l.dataset.precedence===t)a=l;else if(a!==n)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=o.nodeType===9?o.head:o,t.insertBefore(e,t.firstChild))}function wh(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function _h(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var np=null;function gv(e,t,o){if(np===null){var r=new Map,n=np=new Map;n.set(o,r)}else n=np,r=n.get(o),r||(r=new Map,n.set(o,r));if(r.has(e))return r;for(r.set(e,null),o=o.getElementsByTagName(e),n=0;n<o.length;n++){var a=o[n];if(!(a[$s]||a[Ot]||e==="link"&&a.getAttribute("rel")==="stylesheet")&&a.namespaceURI!=="http://www.w3.org/2000/svg"){var i=a.getAttribute(t)||"";i=e+i;var l=r.get(i);l?l.push(a):r.set(i,[a])}}return r}function bv(e,t,o){e=e.ownerDocument||e,e.head.insertBefore(o,t==="title"?e.querySelector("head > title"):null)}function SM(e,t,o){if(o===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function r1(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function CM(e,t,o,r){if(o.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var n=Ki(r.href),a=t.querySelector(Ws(n));if(a){t=a._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=_p.bind(e),t.then(e,e)),o.state.loading|=4,o.instance=a,ht(a);return}a=t.ownerDocument||t,r=o1(r),(n=Io.get(n))&&wh(r,n),a=a.createElement("link"),ht(a);var i=a;i._p=new Promise(function(l,s){i.onload=l,i.onerror=s}),Nt(a,"link",r),o.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(o,t),(t=o.state.preload)&&(o.state.loading&3)===0&&(e.count++,o=_p.bind(e),t.addEventListener("load",o),t.addEventListener("error",o))}}var Fm=0;function EM(e,t){return e.stylesheets&&e.count===0&&ap(e,e.stylesheets),0<e.count||0<e.imgCount?function(o){var r=setTimeout(function(){if(e.stylesheets&&ap(e,e.stylesheets),e.unsuspend){var a=e.unsuspend;e.unsuspend=null,a()}},6e4+t);0<e.imgBytes&&Fm===0&&(Fm=62500*nM());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&ap(e,e.stylesheets),e.unsuspend)){var a=e.unsuspend;e.unsuspend=null,a()}},(e.imgBytes>Fm?50:800)+t);return e.unsuspend=o,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(n)}}:null}function _p(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ap(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Dp=null;function ap(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Dp=new Map,t.forEach(PM,e),Dp=null,_p.call(e))}function PM(e,t){if(!(t.state.loading&4)){var o=Dp.get(e);if(o)var r=o.get(null);else{o=new Map,Dp.set(e,o);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<n.length;a++){var i=n[a];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(o.set(i.dataset.precedence,i),r=i)}r&&o.set(null,r)}n=t.instance,i=n.getAttribute("data-precedence"),a=o.get(i)||r,a===r&&o.set(null,n),o.set(i,n),this.count++,r=_p.bind(this),n.addEventListener("load",r),n.addEventListener("error",r),a?a.parentNode.insertBefore(n,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var Ls={$$typeof:Dr,Provider:null,Consumer:null,_currentValue:na,_currentValue2:na,_threadCount:0};function RM(e,t,o,r,n,a,i,l,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=gm(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gm(0),this.hiddenUpdates=gm(null),this.identifierPrefix=r,this.onUncaughtError=n,this.onCaughtError=a,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function n1(e,t,o,r,n,a,i,l,s,u,p,f){return e=new RM(e,t,o,i,s,u,p,f,l),t=1,a===!0&&(t|=24),a=yo(3,null,null,t),e.current=a,a.stateNode=e,t=nh(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:o,cache:t},lh(a),e}function a1(e){return e?(e=Ai,e):Ai}function i1(e,t,o,r,n,a){n=a1(n),r.context===null?r.context=n:r.pendingContext=n,r=Tn(t),r.payload={element:o},a=a===void 0?null:a,a!==null&&(r.callback=a),o=vn(e,r,t),o!==null&&(to(o,e,t),Ts(o,e,t))}function Tv(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function Dh(e,t){Tv(e,t),(e=e.alternate)&&Tv(e,t)}function l1(e){if(e.tag===13||e.tag===31){var t=ga(e,67108864);t!==null&&to(t,e,67108864),Dh(e,67108864)}}function vv(e){if(e.tag===13||e.tag===31){var t=vo();t=Gy(t);var o=ga(e,t);o!==null&&to(o,e,t),Dh(e,t)}}var zp=!0;function OM(e,t,o,r){var n=$.T;$.T=null;var a=me.p;try{me.p=2,zh(e,t,o,r)}finally{me.p=a,$.T=n}}function AM(e,t,o,r){var n=$.T;$.T=null;var a=me.p;try{me.p=8,zh(e,t,o,r)}finally{me.p=a,$.T=n}}function zh(e,t,o,r){if(zp){var n=Ly(r);if(n===null)qm(e,t,r,Bp,o),xv(e,r);else if(NM(n,e,t,o,r))r.stopPropagation();else if(xv(e,r),t&4&&-1<MM.indexOf(e)){for(;n!==null;){var a=Zi(n);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var i=ta(a.pendingLanes);if(i!==0){var l=a;for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var s=1<<31-To(i);l.entanglements[1]|=s,i&=~s}hr(a),(de&6)===0&&(Ep=go()+500,Zs(0,!1))}}break;case 31:case 13:l=ga(a,2),l!==null&&to(l,a,2),Kp(),Dh(a,2)}if(a=Ly(r),a===null&&qm(e,t,r,Bp,o),a===n)break;n=a}n!==null&&r.stopPropagation()}else qm(e,t,r,null,o)}}function Ly(e){return e=Ky(e),Bh(e)}var Bp=null;function Bh(e){if(Bp=null,e=Si(e),e!==null){var t=Is(e);if(t===null)e=null;else{var o=t.tag;if(o===13){if(e=Ov(t),e!==null)return e;e=null}else if(o===31){if(e=Av(t),e!==null)return e;e=null}else if(o===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Bp=e,null}function s1(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(h2()){case _v:return 2;case Dv:return 8;case cp:case g2:return 32;case zv:return 268435456;default:return 32}default:return 32}}var Hy=!1,Cn=null,En=null,Pn=null,Hs=new Map,Vs=new Map,pn=[],MM="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function xv(e,t){switch(e){case"focusin":case"focusout":Cn=null;break;case"dragenter":case"dragleave":En=null;break;case"mouseover":case"mouseout":Pn=null;break;case"pointerover":case"pointerout":Hs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Vs.delete(t.pointerId)}}function ss(e,t,o,r,n,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:o,eventSystemFlags:r,nativeEvent:a,targetContainers:[n]},t!==null&&(t=Zi(t),t!==null&&l1(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function NM(e,t,o,r,n){switch(t){case"focusin":return Cn=ss(Cn,e,t,o,r,n),!0;case"dragenter":return En=ss(En,e,t,o,r,n),!0;case"mouseover":return Pn=ss(Pn,e,t,o,r,n),!0;case"pointerover":var a=n.pointerId;return Hs.set(a,ss(Hs.get(a)||null,e,t,o,r,n)),!0;case"gotpointercapture":return a=n.pointerId,Vs.set(a,ss(Vs.get(a)||null,e,t,o,r,n)),!0}return!1}function u1(e){var t=Si(e.target);if(t!==null){var o=Is(t);if(o!==null){if(t=o.tag,t===13){if(t=Ov(o),t!==null){e.blockedOn=t,n0(e.priority,function(){vv(o)});return}}else if(t===31){if(t=Av(o),t!==null){e.blockedOn=t,n0(e.priority,function(){vv(o)});return}}else if(t===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ip(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=Ly(e.nativeEvent);if(o===null){o=e.nativeEvent;var r=new o.constructor(o.type,o);ny=r,o.target.dispatchEvent(r),ny=null}else return t=Zi(o),t!==null&&l1(t),e.blockedOn=o,!1;t.shift()}return!0}function Sv(e,t,o){ip(e)&&o.delete(t)}function wM(){Hy=!1,Cn!==null&&ip(Cn)&&(Cn=null),En!==null&&ip(En)&&(En=null),Pn!==null&&ip(Pn)&&(Pn=null),Hs.forEach(Sv),Vs.forEach(Sv)}function Gc(e,t){e.blockedOn===t&&(e.blockedOn=null,Hy||(Hy=!0,ft.unstable_scheduleCallback(ft.unstable_NormalPriority,wM)))}var Fc=null;function Cv(e){Fc!==e&&(Fc=e,ft.unstable_scheduleCallback(ft.unstable_NormalPriority,function(){Fc===e&&(Fc=null);for(var t=0;t<e.length;t+=3){var o=e[t],r=e[t+1],n=e[t+2];if(typeof r!="function"){if(Bh(r||o)===null)continue;break}var a=Zi(o);a!==null&&(e.splice(t,3),t-=3,vy(a,{pending:!0,data:n,method:o.method,action:r},r,n))}}))}function Xi(e){function t(s){return Gc(s,e)}Cn!==null&&Gc(Cn,e),En!==null&&Gc(En,e),Pn!==null&&Gc(Pn,e),Hs.forEach(t),Vs.forEach(t);for(var o=0;o<pn.length;o++){var r=pn[o];r.blockedOn===e&&(r.blockedOn=null)}for(;0<pn.length&&(o=pn[0],o.blockedOn===null);)u1(o),o.blockedOn===null&&pn.shift();if(o=(e.ownerDocument||e).$$reactFormReplay,o!=null)for(r=0;r<o.length;r+=3){var n=o[r],a=o[r+1],i=n[oo]||null;if(typeof a=="function")i||Cv(o);else if(i){var l=null;if(a&&a.hasAttribute("formAction")){if(n=a,i=a[oo]||null)l=i.formAction;else if(Bh(n)!==null)continue}else l=i.action;typeof l=="function"?o[r+1]=l:(o.splice(r,3),r-=3),Cv(o)}}}function c1(){function e(a){a.canIntercept&&a.info==="react-transition"&&a.intercept({handler:function(){return new Promise(function(i){return n=i})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),r||setTimeout(o,20)}function o(){if(!r&&!navigation.transition){var a=navigation.currentEntry;a&&a.url!=null&&navigation.navigate(a.url,{state:a.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var r=!1,n=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(o,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function Uh(e){this._internalRoot=e}Zp.prototype.render=Uh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(z(409));var o=t.current,r=vo();i1(o,r,e,t,null,null)};Zp.prototype.unmount=Uh.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;i1(e.current,2,null,e,null,null),Kp(),t[Qi]=null}};function Zp(e){this._internalRoot=e}Zp.prototype.unstable_scheduleHydration=function(e){if(e){var t=Lv();e={blockedOn:null,target:e,priority:t};for(var o=0;o<pn.length&&t!==0&&t<pn[o].priority;o++);pn.splice(o,0,e),o===0&&u1(e)}};var Ev=Pv.version;if(Ev!=="19.2.4")throw Error(z(527,Ev,"19.2.4"));me.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(z(188)):(e=Object.keys(e).join(","),Error(z(268,e)));return e=u2(t),e=e!==null?Mv(e):null,e=e===null?null:e.stateNode,e};var _M={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:$,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(us=__REACT_DEVTOOLS_GLOBAL_HOOK__,!us.isDisabled&&us.supportsFiber))try{qs=us.inject(_M),bo=us}catch{}var us;Wp.createRoot=function(e,t){if(!Rv(e))throw Error(z(299));var o=!1,r="",n=tS,a=oS,i=rS;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(a=t.onCaughtError),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=n1(e,1,!1,null,null,o,r,null,n,a,i,c1),e[Qi]=t.current,Nh(e),new Uh(t)};Wp.hydrateRoot=function(e,t,o){if(!Rv(e))throw Error(z(299));var r=!1,n="",a=tS,i=oS,l=rS,s=null;return o!=null&&(o.unstable_strictMode===!0&&(r=!0),o.identifierPrefix!==void 0&&(n=o.identifierPrefix),o.onUncaughtError!==void 0&&(a=o.onUncaughtError),o.onCaughtError!==void 0&&(i=o.onCaughtError),o.onRecoverableError!==void 0&&(l=o.onRecoverableError),o.formState!==void 0&&(s=o.formState)),t=n1(e,1,!0,t,o??null,r,n,s,a,i,l,c1),t.context=a1(null),o=t.current,r=vo(),r=Gy(r),n=Tn(r),n.callback=null,vn(o,n,r),o=r,t.current.lanes=o,Fs(t,o),hr(t),e[Qi]=t.current,Nh(e),new Zp(t)};Wp.version="19.2.4"});var m1=Vt((v4,d1)=>{"use strict";function f1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(f1)}catch(e){console.error(e)}}f1(),d1.exports=p1()});var S1=Vt(ef=>{"use strict";var KM=Symbol.for("react.transitional.element"),XM=Symbol.for("react.fragment");function x1(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:KM,type:e,key:r,ref:t!==void 0?t:null,props:o}}ef.Fragment=XM;ef.jsx=x1;ef.jsxs=x1});var j=Vt((W4,C1)=>{"use strict";C1.exports=S1()});var O1=Vt(Ae=>{"use strict";var jh=Symbol.for("react.transitional.element"),kh=Symbol.for("react.portal"),tf=Symbol.for("react.fragment"),of=Symbol.for("react.strict_mode"),rf=Symbol.for("react.profiler"),nf=Symbol.for("react.consumer"),af=Symbol.for("react.context"),lf=Symbol.for("react.forward_ref"),sf=Symbol.for("react.suspense"),uf=Symbol.for("react.suspense_list"),cf=Symbol.for("react.memo"),pf=Symbol.for("react.lazy"),ZM=Symbol.for("react.view_transition"),WM=Symbol.for("react.client.reference");function qo(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case jh:switch(e=e.type,e){case tf:case rf:case of:case sf:case uf:case ZM:return e;default:switch(e=e&&e.$$typeof,e){case af:case lf:case pf:case cf:return e;case nf:return e;default:return t}}case kh:return t}}}Ae.ContextConsumer=nf;Ae.ContextProvider=af;Ae.Element=jh;Ae.ForwardRef=lf;Ae.Fragment=tf;Ae.Lazy=pf;Ae.Memo=cf;Ae.Portal=kh;Ae.Profiler=rf;Ae.StrictMode=of;Ae.Suspense=sf;Ae.SuspenseList=uf;Ae.isContextConsumer=function(e){return qo(e)===nf};Ae.isContextProvider=function(e){return qo(e)===af};Ae.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===jh};Ae.isForwardRef=function(e){return qo(e)===lf};Ae.isFragment=function(e){return qo(e)===tf};Ae.isLazy=function(e){return qo(e)===pf};Ae.isMemo=function(e){return qo(e)===cf};Ae.isPortal=function(e){return qo(e)===kh};Ae.isProfiler=function(e){return qo(e)===rf};Ae.isStrictMode=function(e){return qo(e)===of};Ae.isSuspense=function(e){return qo(e)===sf};Ae.isSuspenseList=function(e){return qo(e)===uf};Ae.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===tf||e===rf||e===of||e===sf||e===uf||typeof e=="object"&&e!==null&&(e.$$typeof===pf||e.$$typeof===cf||e.$$typeof===af||e.$$typeof===nf||e.$$typeof===lf||e.$$typeof===WM||e.getModuleId!==void 0)};Ae.typeOf=qo});var M1=Vt((uB,A1)=>{"use strict";A1.exports=O1()});function wb(){return globalThis.browser?.runtime}async function _b(e,t){let o=wb();if(!o)return{ok:!1,message:"assist extension runtime unavailable"};let r={type:"assist-send",url:e,instructions:t};try{return await o.sendMessage(r)??{ok:!1,message:"assist extension did not reply"}}catch(n){return{ok:!1,message:n instanceof Error?n.message:String(n)}}}var uO=["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(";"),Db={ok:"var(--bgColor-success-emphasis, #1f883d)",error:"var(--bgColor-danger-emphasis, #cf222e)"};function zb(e,t){let o=document.createElement("div");return o.setAttribute("data-assist-toast",""),o.setAttribute("role","status"),o.style.cssText=`${uO};background: ${t?Db.ok:Db.error}`,o.textContent=e,document.body.append(o),setTimeout(()=>o.remove(),t?4e3:8e3),o}var cO=!1;function pO(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function fO(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Bb=(function(){function e(o){var r=this;this._insertTag=function(n){var a;r.tags.length===0?r.insertionPoint?a=r.insertionPoint.nextSibling:r.prepend?a=r.container.firstChild:a=r.before:a=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(n,a),r.tags.push(n)},this.isSpeedy=o.speedy===void 0?!cO:o.speedy,this.tags=[],this.ctr=0,this.nonce=o.nonce,this.key=o.key,this.container=o.container,this.prepend=o.prepend,this.insertionPoint=o.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(fO(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var a=pO(n);try{a.insertRule(r,a.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var n;return(n=r.parentNode)==null?void 0:n.removeChild(r)}),this.tags=[],this.ctr=0},e})();var Pt="-ms-",Fl="-moz-",pe="-webkit-",tc="comm",Wa="rule",Ja="decl";var Ub="@import";var oc="@keyframes";var jb="@layer";var kb=Math.abs,Xn=String.fromCharCode,Lb=Object.assign;function Hb(e,t){return Je(e,0)^45?(((t<<2^Je(e,0))<<2^Je(e,1))<<2^Je(e,2))<<2^Je(e,3):0}function rc(e){return e.trim()}function Hd(e,t){return(e=t.exec(e))?e[0]:e}function ue(e,t,o){return e.replace(t,o)}function $l(e,t){return e.indexOf(t)}function Je(e,t){return e.charCodeAt(t)|0}function tn(e,t,o){return e.slice(t,o)}function It(e){return e.length}function ei(e){return e.length}function ti(e,t){return t.push(e),e}function Vd(e,t){return e.map(t).join("")}var nc=1,oi=1,Vb=0,qt=0,rt=0,ni="";function Yl(e,t,o,r,n,a,i){return{value:e,root:t,parent:o,type:r,props:n,children:a,line:nc,column:oi,length:i,return:""}}function ai(e,t){return Lb(Yl("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ib(){return rt}function qb(){return rt=qt>0?Je(ni,--qt):0,oi--,rt===10&&(oi=1,nc--),rt}function Gt(){return rt=qt<Vb?Je(ni,qt++):0,oi++,rt===10&&(oi=1,nc++),rt}function No(){return Je(ni,qt)}function Kl(){return qt}function ii(e,t){return tn(ni,e,t)}function ri(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ac(e){return nc=oi=1,Vb=It(ni=e),qt=0,[]}function ic(e){return ni="",e}function li(e){return rc(ii(qt-1,Id(e===91?e+2:e===40?e+1:e)))}function Gb(e){for(;(rt=No())&&rt<33;)Gt();return ri(e)>2||ri(rt)>3?"":" "}function Fb(e,t){for(;--t&&Gt()&&!(rt<48||rt>102||rt>57&&rt<65||rt>70&&rt<97););return ii(e,Kl()+(t<6&&No()==32&&Gt()==32))}function Id(e){for(;Gt();)switch(rt){case e:return qt;case 34:case 39:e!==34&&e!==39&&Id(rt);break;case 40:e===41&&Id(e);break;case 92:Gt();break}return qt}function $b(e,t){for(;Gt()&&e+rt!==57;)if(e+rt===84&&No()===47)break;return"/*"+ii(t,qt-1)+"*"+Xn(e===47?e:Gt())}function Yb(e){for(;!ri(No());)Gt();return ii(e,qt)}function Qb(e){return ic(lc("",null,null,null,[""],e=ac(e),0,[0],e))}function lc(e,t,o,r,n,a,i,l,s){for(var u=0,p=0,f=i,d=0,c=0,T=0,v=1,x=1,m=1,y=0,g="",b=n,P=a,S=r,E=g;x;)switch(T=y,y=Gt()){case 40:if(T!=108&&Je(E,f-1)==58){$l(E+=ue(li(y),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:E+=li(y);break;case 9:case 10:case 13:case 32:E+=Gb(T);break;case 92:E+=Fb(Kl()-1,7);continue;case 47:switch(No()){case 42:case 47:ti(dO($b(Gt(),Kl()),t,o),s);break;default:E+="/"}break;case 123*v:l[u++]=It(E)*m;case 125*v:case 59:case 0:switch(y){case 0:case 125:x=0;case 59+p:m==-1&&(E=ue(E,/\f/g,"")),c>0&&It(E)-f&&ti(c>32?Xb(E+";",r,o,f-1):Xb(ue(E," ","")+";",r,o,f-2),s);break;case 59:E+=";";default:if(ti(S=Kb(E,t,o,u,p,n,l,g,b=[],P=[],f),a),y===123)if(p===0)lc(E,t,S,S,b,a,f,l,P);else switch(d===99&&Je(E,3)===110?100:d){case 100:case 108:case 109:case 115:lc(e,S,S,r&&ti(Kb(e,S,S,0,0,n,l,g,n,b=[],f),P),n,P,f,l,r?b:P);break;default:lc(E,S,S,S,[""],P,0,l,P)}}u=p=c=0,v=m=1,g=E="",f=i;break;case 58:f=1+It(E),c=T;default:if(v<1){if(y==123)--v;else if(y==125&&v++==0&&qb()==125)continue}switch(E+=Xn(y),y*v){case 38:m=p>0?1:(E+="\f",-1);break;case 44:l[u++]=(It(E)-1)*m,m=1;break;case 64:No()===45&&(E+=li(Gt())),d=No(),p=f=It(g=E+=Yb(Kl())),y++;break;case 45:T===45&&It(E)==2&&(v=0)}}return a}function Kb(e,t,o,r,n,a,i,l,s,u,p){for(var f=n-1,d=n===0?a:[""],c=ei(d),T=0,v=0,x=0;T<r;++T)for(var m=0,y=tn(e,f+1,f=kb(v=i[T])),g=e;m<c;++m)(g=rc(v>0?d[m]+" "+y:ue(y,/&\f/g,d[m])))&&(s[x++]=g);return Yl(e,t,o,n===0?Wa:l,s,u,p)}function dO(e,t,o){return Yl(e,t,o,tc,Xn(Ib()),tn(e,2,-2),0)}function Xb(e,t,o,r){return Yl(e,t,o,Ja,tn(e,0,r),tn(e,r+1,-1),r)}function Qn(e,t){for(var o="",r=ei(e),n=0;n<r;n++)o+=t(e[n],n,e,t)||"";return o}function Zb(e,t,o,r){switch(e.type){case jb:if(e.children.length)break;case Ub:case Ja:return e.return=e.return||e.value;case tc:return"";case oc:return e.return=e.value+"{"+Qn(e.children,r)+"}";case Wa:e.value=e.props.join(",")}return It(o=Qn(e.children,r))?e.return=e.value+"{"+o+"}":""}function Wb(e){var t=ei(e);return function(o,r,n,a){for(var i="",l=0;l<t;l++)i+=e[l](o,r,n,a)||"";return i}}function Jb(e){return function(t){t.root||(t=t.return)&&e(t)}}function sc(e){var t=Object.create(null);return function(o){return t[o]===void 0&&(t[o]=e(o)),t[o]}}var mO=function(t,o,r){for(var n=0,a=0;n=a,a=No(),n===38&&a===12&&(o[r]=1),!ri(a);)Gt();return ii(t,qt)},yO=function(t,o){var r=-1,n=44;do switch(ri(n)){case 0:n===38&&No()===12&&(o[r]=1),t[r]+=mO(qt-1,o,r);break;case 2:t[r]+=li(n);break;case 4:if(n===44){t[++r]=No()===58?"&\f":"",o[r]=t[r].length;break}default:t[r]+=Xn(n)}while(n=Gt());return t},hO=function(t,o){return ic(yO(ac(t),o))},eT=new WeakMap,gO=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var o=t.value,r=t.parent,n=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&o.charCodeAt(0)!==58&&!eT.get(r))&&!n){eT.set(t,!0);for(var a=[],i=hO(o,a),l=r.props,s=0,u=0;s<i.length;s++)for(var p=0;p<l.length;p++,u++)t.props[u]=a[s]?i[s].replace(/&\f/g,l[p]):l[p]+" "+i[s]}}},bO=function(t){if(t.type==="decl"){var o=t.value;o.charCodeAt(0)===108&&o.charCodeAt(2)===98&&(t.return="",t.value="")}};function tT(e,t){switch(Hb(e,t)){case 5103:return pe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return pe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return pe+e+Fl+e+Pt+e+e;case 6828:case 4268:return pe+e+Pt+e+e;case 6165:return pe+e+Pt+"flex-"+e+e;case 5187:return pe+e+ue(e,/(\w+).+(:[^]+)/,pe+"box-$1$2"+Pt+"flex-$1$2")+e;case 5443:return pe+e+Pt+"flex-item-"+ue(e,/flex-|-self/,"")+e;case 4675:return pe+e+Pt+"flex-line-pack"+ue(e,/align-content|flex-|-self/,"")+e;case 5548:return pe+e+Pt+ue(e,"shrink","negative")+e;case 5292:return pe+e+Pt+ue(e,"basis","preferred-size")+e;case 6060:return pe+"box-"+ue(e,"-grow","")+pe+e+Pt+ue(e,"grow","positive")+e;case 4554:return pe+ue(e,/([^-])(transform)/g,"$1"+pe+"$2")+e;case 6187:return ue(ue(ue(e,/(zoom-|grab)/,pe+"$1"),/(image-set)/,pe+"$1"),e,"")+e;case 5495:case 3959:return ue(e,/(image-set\([^]*)/,pe+"$1$`$1");case 4968:return ue(ue(e,/(.+:)(flex-)?(.*)/,pe+"box-pack:$3"+Pt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+pe+e+e;case 4095:case 3583:case 4068:case 2532:return ue(e,/(.+)-inline(.+)/,pe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(It(e)-1-t>6)switch(Je(e,t+1)){case 109:if(Je(e,t+4)!==45)break;case 102:return ue(e,/(.+:)(.+)-([^]+)/,"$1"+pe+"$2-$3$1"+Fl+(Je(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~$l(e,"stretch")?tT(ue(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Je(e,t+1)!==115)break;case 6444:switch(Je(e,It(e)-3-(~$l(e,"!important")&&10))){case 107:return ue(e,":",":"+pe)+e;case 101:return ue(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+pe+(Je(e,14)===45?"inline-":"")+"box$3$1"+pe+"$2$3$1"+Pt+"$2box$3")+e}break;case 5936:switch(Je(e,t+11)){case 114:return pe+e+Pt+ue(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return pe+e+Pt+ue(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return pe+e+Pt+ue(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return pe+e+Pt+e+e}return e}var TO=function(t,o,r,n){if(t.length>-1&&!t.return)switch(t.type){case Ja:t.return=tT(t.value,t.length);break;case oc:return Qn([ai(t,{value:ue(t.value,"@","@"+pe)})],n);case Wa:if(t.length)return Vd(t.props,function(a){switch(Hd(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Qn([ai(t,{props:[ue(a,/:(read-\w+)/,":"+Fl+"$1")]})],n);case"::placeholder":return Qn([ai(t,{props:[ue(a,/:(plac\w+)/,":"+pe+"input-$1")]}),ai(t,{props:[ue(a,/:(plac\w+)/,":"+Fl+"$1")]}),ai(t,{props:[ue(a,/:(plac\w+)/,Pt+"input-$1")]})],n)}return""})}},vO=[TO],uc=function(t){var o=t.key;if(o==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var x=v.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var n=t.stylisPlugins||vO,a={},i,l=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+o+' "]'),function(v){for(var x=v.getAttribute("data-emotion").split(" "),m=1;m<x.length;m++)a[x[m]]=!0;l.push(v)});var s,u=[gO,bO];{var p,f=[Zb,Jb(function(v){p.insert(v)})],d=Wb(u.concat(n,f)),c=function(x){return Qn(Qb(x),d)};s=function(x,m,y,g){p=y,c(x?x+"{"+m.styles+"}":m.styles),g&&(T.inserted[m.name]=!0)}}var T={key:o,sheet:new Bb({key:o,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:s};return T.sheet.hydrate(l),T};var wo=C(U()),xc=C(U());function Zn(){return Zn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Zn.apply(null,arguments)}var XO=!0;function Xl(e,t,o){var r="";return o.split(" ").forEach(function(n){e[n]!==void 0?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var ci=function(t,o,r){var n=t.key+"-"+o.name;(r===!1||XO===!1)&&t.registered[n]===void 0&&(t.registered[n]=o.styles)},pi=function(t,o,r){ci(t,o,r);var n=t.key+"-"+o.name;if(t.inserted[o.name]===void 0){var a=o;do t.insert(o===a?"."+n:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function PT(e){for(var t=0,o,r=0,n=e.length;n>=4;++r,n-=4)o=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,o=(o&65535)*1540483477+((o>>>16)*59797<<16),o^=o>>>24,t=(o&65535)*1540483477+((o>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var RT={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var QO=!1,ZO=/[A-Z]|^ms/g,WO=/_EMO_([^_]+?)_([^]*?)_EMO_/g,NT=function(t){return t.charCodeAt(1)===45},OT=function(t){return t!=null&&typeof t!="boolean"},tm=sc(function(e){return NT(e)?e:e.replace(ZO,"-$&").toLowerCase()}),AT=function(t,o){switch(t){case"animation":case"animationName":if(typeof o=="string")return o.replace(WO,function(r,n,a){return sr={name:n,styles:a,next:sr},n})}return RT[t]!==1&&!NT(t)&&typeof o=="number"&&o!==0?o+"px":o},JO="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ql(e,t,o){if(o==null)return"";var r=o;if(r.__emotion_styles!==void 0)return r;switch(typeof o){case"boolean":return"";case"object":{var n=o;if(n.anim===1)return sr={name:n.name,styles:n.styles,next:sr},n.name;var a=o;if(a.styles!==void 0){var i=a.next;if(i!==void 0)for(;i!==void 0;)sr={name:i.name,styles:i.styles,next:sr},i=i.next;var l=a.styles+";";return l}return e2(e,t,o)}case"function":{if(e!==void 0){var s=sr,u=o(e);return sr=s,Ql(e,t,u)}break}}var p=o;if(t==null)return p;var f=t[p];return f!==void 0?f:p}function e2(e,t,o){var r="";if(Array.isArray(o))for(var n=0;n<o.length;n++)r+=Ql(e,t,o[n])+";";else for(var a in o){var i=o[a];if(typeof i!="object"){var l=i;t!=null&&t[l]!==void 0?r+=a+"{"+t[l]+"}":OT(l)&&(r+=tm(a)+":"+AT(a,l)+";")}else{if(a==="NO_COMPONENT_SELECTOR"&&QO)throw new Error(JO);if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var s=0;s<i.length;s++)OT(i[s])&&(r+=tm(a)+":"+AT(a,i[s])+";");else{var u=Ql(e,t,i);switch(a){case"animation":case"animationName":{r+=tm(a)+":"+u+";";break}default:r+=a+"{"+u+"}"}}}}return r}var MT=/label:\s*([^\s;{]+)\s*(;|$)/g,sr;function Er(e,t,o){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,n="";sr=void 0;var a=e[0];if(a==null||a.raw===void 0)r=!1,n+=Ql(o,t,a);else{var i=a;n+=i[0]}for(var l=1;l<e.length;l++)if(n+=Ql(o,t,e[l]),r){var s=a;n+=s[l]}MT.lastIndex=0;for(var u="",p;(p=MT.exec(n))!==null;)u+="-"+p[1];var f=PT(n)+u;return{name:f,styles:n,next:sr}}var Zl=C(U()),t2=function(t){return t()},wT=Zl.useInsertionEffect?Zl.useInsertionEffect:!1,Wl=wT||t2,om=wT||Zl.useLayoutEffect;var _T=!1,DT=wo.createContext(typeof HTMLElement<"u"?uc({key:"css"}):null),nm=DT.Provider;var fi=function(t){return(0,xc.forwardRef)(function(o,r){var n=(0,xc.useContext)(DT);return t(o,n,r)})},Qo=wo.createContext({});var Sc={}.hasOwnProperty,rm="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",zT=function(t,o){var r={};for(var n in o)Sc.call(o,n)&&(r[n]=o[n]);return r[rm]=t,r},o2=function(t){var o=t.cache,r=t.serialized,n=t.isStringTag;return ci(o,r,n),Wl(function(){return pi(o,r,n)}),null},r2=fi(function(e,t,o){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var n=e[rm],a=[r],i="";typeof e.className=="string"?i=Xl(t.registered,a,e.className):e.className!=null&&(i=e.className+" ");var l=Er(a,void 0,wo.useContext(Qo));i+=t.key+"-"+l.name;var s={};for(var u in e)Sc.call(e,u)&&u!=="css"&&u!==rm&&!_T&&(s[u]=e[u]);return s.className=i,o&&(s.ref=o),wo.createElement(wo.Fragment,null,wo.createElement(o2,{cache:t,serialized:l,isStringTag:typeof n=="string"}),wo.createElement(n,s))}),BT=r2;var on=C(U());var f4=C(ET()),UT=function(t,o){var r=arguments;if(o==null||!Sc.call(o,"css"))return on.createElement.apply(void 0,r);var n=r.length,a=new Array(n);a[0]=BT,a[1]=zT(t,o);for(var i=2;i<n;i++)a[i]=r[i];return on.createElement.apply(null,a)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(UT||(UT={}));var jT=fi(function(e,t){var o=e.styles,r=Er([o],void 0,on.useContext(Qo)),n=on.useRef();return om(function(){var a=t.key+"-global",i=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,s=document.querySelector('style[data-emotion="'+a+" "+r.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),s!==null&&(l=!0,s.setAttribute("data-emotion",a),i.hydrate([s])),n.current=[i,l],function(){i.flush()}},[t]),om(function(){var a=n.current,i=a[0],l=a[1];if(l){a[1]=!1;return}if(r.next!==void 0&&pi(t,r.next,!0),i.tags.length){var s=i.tags[i.tags.length-1].nextElementSibling;i.before=s,i.flush()}t.insert("",r,i,!1)},[t,r.name]),null});function Wn(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Er(t)}function ur(){var e=Wn.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var kP=C(m1(),1);var DM=["keydown","keyup","keypress"];function y1(e){for(let t of DM)e.addEventListener(t,o=>o.stopPropagation())}var zM={black:"#000",white:"#fff"},rl=zM;var BM={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Ta=BM;var UM={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},va=UM;var jM={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},xa=jM;var kM={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Sa=kM;var LM={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Ca=LM;var HM={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},nl=HM;var VM={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},h1=VM;function bt(e,...t){let o=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>o.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${o} for the full message.`}var wt="$$material";var _n=C(U());var IM=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,g1=sc(function(e){return IM.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});var qM=!1,GM=g1,FM=function(t){return t!=="theme"},b1=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?GM:FM},T1=function(t,o,r){var n;if(o){var a=o.shouldForwardProp;n=t.__emotion_forwardProp&&a?function(i){return t.__emotion_forwardProp(i)&&a(i)}:a}return typeof n!="function"&&r&&(n=t.__emotion_forwardProp),n},$M=function(t){var o=t.cache,r=t.serialized,n=t.isStringTag;return ci(o,r,n),Wl(function(){return pi(o,r,n)}),null},v1=function e(t,o){var r=t.__emotion_real===t,n=r&&t.__emotion_base||t,a,i;o!==void 0&&(a=o.label,i=o.target);var l=T1(t,o,r),s=l||b1(n),u=!s("as");return function(){var p=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&f.push("label:"+a+";"),p[0]==null||p[0].raw===void 0)f.push.apply(f,p);else{var d=p[0];f.push(d[0]);for(var c=p.length,T=1;T<c;T++)f.push(p[T],d[T])}var v=fi(function(x,m,y){var g=u&&x.as||n,b="",P=[],S=x;if(x.theme==null){S={};for(var E in x)S[E]=x[E];S.theme=_n.useContext(Qo)}typeof x.className=="string"?b=Xl(m.registered,P,x.className):x.className!=null&&(b=x.className+" ");var O=Er(f.concat(P),m.registered,S);b+=m.key+"-"+O.name,i!==void 0&&(b+=" "+i);var N=u&&l===void 0?b1(g):s,_={};for(var A in x)u&&A==="as"||N(A)&&(_[A]=x[A]);return _.className=b,y&&(_.ref=y),_n.createElement(_n.Fragment,null,_n.createElement($M,{cache:m,serialized:O,isStringTag:typeof g=="string"}),_n.createElement(g,_))});return v.displayName=a!==void 0?a:"Styled("+(typeof n=="string"?n:n.displayName||n.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=n,v.__emotion_styles=f,v.__emotion_forwardProp=l,Object.defineProperty(v,"toString",{value:function(){return i===void 0&&qM?"NO_COMPONENT_SELECTOR":"."+i}}),v.withComponent=function(x,m){var y=e(x,Zn({},o,m,{shouldForwardProp:T1(v,m,!0)}));return y.apply(void 0,f)},v}};var K4=C(U());var YM=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Jp=v1.bind(null);YM.forEach(function(e){Jp[e]=Jp(e)});var E1=C(j(),1);function QM(e){return e==null||Object.keys(e).length===0}function Ea(e){let{styles:t,defaultTheme:o={}}=e;return(0,E1.jsx)(jT,{styles:typeof t=="function"?n=>t(QM(n)?o:n):t})}function eu(e,t){return Jp(e,t)}function R1(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var P1=[];function er(e){return P1[0]=e,Er(P1)}var Lh=C(U(),1),Hh=C(M1(),1);function tr(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function N1(e){if(Lh.isValidElement(e)||(0,Hh.isValidElementType)(e)||!tr(e))return e;let t={};return Object.keys(e).forEach(o=>{t[o]=N1(e[o])}),t}function _e(e,t,o={clone:!0}){let r=o.clone?{...e}:e;return tr(e)&&tr(t)&&Object.keys(t).forEach(n=>{Lh.isValidElement(t[n])||(0,Hh.isValidElementType)(t[n])?r[n]=t[n]:tr(t[n])&&Object.prototype.hasOwnProperty.call(e,n)&&tr(e[n])?r[n]=_e(e[n],t[n],o):o.clone?r[n]=tr(t[n])?N1(t[n]):t[n]:r[n]=t[n]}),r}var JM=e=>{let t=Object.keys(e).map(o=>({key:o,val:e[o]}))||[];return t.sort((o,r)=>o.val-r.val),t.reduce((o,r)=>({...o,[r.key]:r.val}),{})};function tu(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:r=5,...n}=e,a=JM(t),i=Object.keys(a);function l(c){return`@media (min-width:${typeof t[c]=="number"?t[c]:c}${o})`}function s(c){return`@media (max-width:${(typeof t[c]=="number"?t[c]:c)-r/100}${o})`}function u(c,T){let v=i.indexOf(T);return`@media (min-width:${typeof t[c]=="number"?t[c]:c}${o}) and (max-width:${(v!==-1&&typeof t[i[v]]=="number"?t[i[v]]:T)-r/100}${o})`}function p(c){return i.indexOf(c)+1<i.length?u(c,i[i.indexOf(c)+1]):l(c)}function f(c){let T=i.indexOf(c);return T===0?l(i[1]):T===i.length-1?s(i[T]):u(c,i[i.indexOf(c)+1]).replace("@media","@media not all and")}let d=[];for(let c=0;c<i.length;c+=1)d.push(l(i[c]));return{keys:i,values:a,up:l,down:s,between:u,only:p,not:f,unit:o,internal_mediaKeys:d,...n}}var w1=/min-width:\s*([0-9.]+)/;function ff(e,t){if(!e.containerQueries||!eN(t))return t;let o=[];for(let n in t)n.startsWith("@container")&&o.push(n);o.sort((n,a)=>+(n.match(w1)?.[1]||0)-+(a.match(w1)?.[1]||0));let r=t;for(let n=0;n<o.length;n+=1){let a=o[n],i=r[a];delete r[a],r[a]=i}return r}function eN(e){for(let t in e)if(t.startsWith("@container"))return!0;return!1}function df(e,t){return t==="@"||t.startsWith("@")&&(e.some(o=>t.startsWith(`@${o}`))||!!t.match(/^@\d/))}function Vh(e,t){let o=t.match(/^@([^/]+)?\/?(.+)?$/);if(!o)return null;let[,r,n]=o,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(n).up(a)}function mf(e){let t=(a,i)=>a.replace("@media",i?`@container ${i}`:"@container");function o(a,i){a.up=(...l)=>t(e.breakpoints.up(...l),i),a.down=(...l)=>t(e.breakpoints.down(...l),i),a.between=(...l)=>t(e.breakpoints.between(...l),i),a.only=(...l)=>t(e.breakpoints.only(...l),i),a.not=(...l)=>{let s=t(e.breakpoints.not(...l),i);return s.includes("not all and")?s.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):s}}let r={},n=a=>(o(r,a),r);return o(n),{...e,containerQueries:n}}var tN={borderRadius:4},_1=tN;function al(e){if(e==null)return!0;for(let t in e)return!1;return!0}function gr(e,t){let o=Array.isArray(t),r=Array.isArray(e);return iN(t)?t:lN(e)?il(t):o&&r?nN(e,t):o!==r?il(t):sN(e,t)}function oN(e){let t=0,o=e.length,r=new Array(o);for(t=0;t<o;t+=1)r[t]=il(e[t]);return r}function rN(e){let t={};for(let o in e)t[o]=il(e[o]);return t}function nN(e,t){let o=e.length;for(let r=0;r<t.length;r+=1)e[o+r]=il(t[r]);return e}function aN(e){return typeof e=="object"&&e!==null&&!(e instanceof RegExp)&&!(e instanceof Date)}function iN(e){return typeof e!="object"||e===null}function lN(e){return typeof e!="object"||e===null||e instanceof RegExp||e instanceof Date}function il(e){return aN(e)?Array.isArray(e)?oN(e):rN(e):e}function sN(e,t){for(let o in t)o in e?e[o]=gr(e[o],t[o]):e[o]=il(t[o]);return e}var uN={},ru={xs:0,sm:600,md:900,lg:1200,xl:1536},ou=tu({values:ru}),cN={containerQueries:e=>({up:t=>{let o=typeof t=="number"?t:ru[t]||t;return typeof o=="number"&&(o=`${o}px`),e?`@container ${e} (min-width:${o})`:`@container (min-width:${o})`}})};function br(e,t,o){let r={};return ll(r,e.theme,t,(n,a,i)=>{let l=o(a,i);n?r[n]=l:gr(r,l)})}function ll(e,t,o,r){if(t??(t=uN),Array.isArray(o)){let n=t.breakpoints??ou;for(let a=0;a<o.length;a+=1)Ih(e,n.up(n.keys[a]),o[a],void 0,r);return e}if(typeof o=="object"){let n=t.breakpoints??ou,a=n.values??ru;for(let i in o)if(df(n.keys,i)){let l=Vh(t.containerQueries?t:cN,i);l&&Ih(e,l,o[i],i,r)}else if(i in a){let l=n.up(i);Ih(e,l,o[i],i,r)}else{let l=i;e[l]=o[l]}return e}return r(void 0,o),e}function Ih(e,t,o,r,n){e[t]??(e[t]={}),n(t,o,r)}function D1(e=ou){let{internal_mediaKeys:t}=e,o={};for(let r=0;r<t.length;r+=1)o[t[r]]={};return o}function qh(e,t){let o=e.internal_mediaKeys;for(let r=0;r<o.length;r+=1){let n=o[r];al(t[n])&&delete t[n]}return t}function z1(e,t){if(Array.isArray(t))return!0;if(typeof t=="object"&&t!==null){for(let r=0;r<e.keys.length;r+=1)if(e.keys[r]in t)return!0;let o=Object.keys(t);for(let r=0;r<o.length;r+=1)if(df(e.keys,o[r]))return!0}return!1}function sl(e){if(typeof e!="string")throw new Error(bt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Gh(e,t,o,r){let n;return typeof e=="function"?n=e(o):Array.isArray(e)?n=e[o]||o:typeof o=="string"?n=ul(e,o,!0,r)||o:n=o,t&&(n=t(n,o,e)),n}function ul(e,t,o=!0,r=void 0){if(!e||!t)return null;let n=t.split(".");if(e.vars&&o){let a=B1(e.vars,n,r);if(a!=null)return a}return B1(e,n,r)}function B1(e,t,o=void 0){let r,n=e,a=0;for(;a<t.length;){if(n==null)return n;r=n,n=n[t[a]],a+=1}if(o&&n===void 0){let i=t[t.length-1],l=`${o}${i==="default"?"":sl(i)}`;return r?.[l]}return n}function Me(e){let{prop:t,cssProperty:o=e.prop,themeKey:r,transform:n}=e,a=i=>{if(i[t]==null)return null;let l=i[t],s=i.theme,u=ul(s,r)||{};return br(i,l,f=>{let d=Gh(u,n,f,t);return o===!1?d:{[o]:d}})};return a.propTypes={},a.filterProps=[t],a}var pN={internal_cache:{}},yf={m:"margin",p:"padding"},U1={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},j1={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},nu={};for(let e in yf)nu[e]=[yf[e]];for(let e in yf)for(let t in U1){let o=yf[e],r=U1[t],n=Array.isArray(r)?r.map(a=>o+a):[o+r];nu[e+t]=n}for(let e in j1)nu[e]=nu[j1[e]];var Fh=new Set(["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"]),$h=new Set(["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"]),L1=new Set([...Fh,...$h]);function Pa(e,t,o,r){let n=ul(e,t,!0)??o;return typeof n=="number"||typeof n=="string"?a=>typeof a=="string"?a:typeof n=="string"?n.startsWith("var(")&&a===0?0:n.startsWith("var(")&&a===1?n:`calc(${a} * ${n})`:n*a:Array.isArray(n)?a=>{if(typeof a=="string")return a;let i=Math.abs(a),l=n[i];return a>=0?l:typeof l=="number"?-l:typeof l=="string"&&l.startsWith("var(")?`calc(-1 * ${l})`:`-${l}`}:typeof n=="function"?n:()=>{}}function au(e){return Pa(e,"spacing",8,"spacing")}function Ra(e,t){return typeof t=="string"||t==null?t:e(t)}var k1=[""];function Yh(e,t){let o=e.theme??pN,r=o?.internal_cache?.unarySpacing??au(o),n={};for(let a in e){if(!t.has(a))continue;let i=nu[a]??(k1[0]=a,k1),l=e[a];ll(n,e.theme,l,(s,u)=>{let p=s?n[s]:n;for(let f=0;f<i.length;f+=1)p[i[f]]=Ra(r,u)})}return n}function $e(e){return Yh(e,Fh)}$e.propTypes={};$e.filterProps=Fh;function Ye(e){return Yh(e,$h)}Ye.propTypes={};Ye.filterProps=$h;function H1(e){return Yh(e,L1)}H1.propTypes={};H1.filterProps=L1;function cl(e=8,t=au({spacing:e})){if(e.mui)return e;let o=(...r)=>(r.length===0?[1]:r).map(a=>{let i=t(a);return typeof i=="number"?`${i}px`:i}).join(" ");return o.mui=!0,o}function fN(...e){let t=e.reduce((r,n)=>(n.filterProps.forEach(a=>{r[a]=n}),r),{}),o=r=>{let n={};for(let a in r)t[a]&&gr(n,t[a](r));return n};return o.propTypes={},o.filterProps=e.reduce((r,n)=>r.concat(n.filterProps),[]),o}var Fr=fN;function Co(e){return typeof e!="number"?e:`${e}px solid`}function Go(e,t){return Me({prop:e,themeKey:"borders",transform:t})}var dN=Go("border",Co),mN=Go("borderTop",Co),yN=Go("borderRight",Co),hN=Go("borderBottom",Co),gN=Go("borderLeft",Co),bN=Go("borderColor"),TN=Go("borderTopColor"),vN=Go("borderRightColor"),xN=Go("borderBottomColor"),SN=Go("borderLeftColor"),CN=Go("outline",Co),EN=Go("outlineColor"),iu=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=Pa(e.theme,"shape.borderRadius",4,"borderRadius"),o=r=>({borderRadius:Ra(t,r)});return br(e,e.borderRadius,o)}return null};iu.propTypes={};iu.filterProps=["borderRadius"];var e6=Fr(dN,mN,yN,hN,gN,bN,TN,vN,xN,SN,iu,CN,EN);var lu=e=>{if(e.gap!==void 0&&e.gap!==null){let t=Pa(e.theme,"spacing",8,"gap"),o=r=>({gap:Ra(t,r)});return br(e,e.gap,o)}return null};lu.propTypes={};lu.filterProps=["gap"];var su=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=Pa(e.theme,"spacing",8,"columnGap"),o=r=>({columnGap:Ra(t,r)});return br(e,e.columnGap,o)}return null};su.propTypes={};su.filterProps=["columnGap"];var uu=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=Pa(e.theme,"spacing",8,"rowGap"),o=r=>({rowGap:Ra(t,r)});return br(e,e.rowGap,o)}return null};uu.propTypes={};uu.filterProps=["rowGap"];var PN=Me({prop:"gridColumn"}),RN=Me({prop:"gridRow"}),ON=Me({prop:"gridAutoFlow"}),AN=Me({prop:"gridAutoColumns"}),MN=Me({prop:"gridAutoRows"}),NN=Me({prop:"gridTemplateColumns"}),wN=Me({prop:"gridTemplateRows"}),_N=Me({prop:"gridTemplateAreas"}),DN=Me({prop:"gridArea"}),i6=Fr(lu,su,uu,PN,RN,ON,AN,MN,NN,wN,_N,DN);function Oa(e,t){return t==="grey"?t:e}var zN=Me({prop:"color",themeKey:"palette",transform:Oa}),BN=Me({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Oa}),UN=Me({prop:"backgroundColor",themeKey:"palette",transform:Oa}),c6=Fr(zN,BN,UN);function no(e){return e<=1&&e!==0?`${e*100}%`:e}var jN=Me({prop:"width",transform:no}),hf=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){let t=o=>{let r=e.theme?.breakpoints?.values?.[o]||ru[o];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:no(o)}};return br(e,e.maxWidth,t)}return null};hf.filterProps=["maxWidth"];var kN=Me({prop:"minWidth",transform:no}),LN=Me({prop:"height",transform:no}),HN=Me({prop:"maxHeight",transform:no}),VN=Me({prop:"minHeight",transform:no}),y6=Me({prop:"size",cssProperty:"width",transform:no}),h6=Me({prop:"size",cssProperty:"height",transform:no}),IN=Me({prop:"boxSizing"}),g6=Fr(jN,hf,kN,LN,HN,VN,IN);var qN={border:{themeKey:"borders",transform:Co},borderTop:{themeKey:"borders",transform:Co},borderRight:{themeKey:"borders",transform:Co},borderBottom:{themeKey:"borders",transform:Co},borderLeft:{themeKey:"borders",transform:Co},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Co},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:iu},color:{themeKey:"palette",transform:Oa},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Oa},backgroundColor:{themeKey:"palette",transform:Oa},p:{style:Ye},pt:{style:Ye},pr:{style:Ye},pb:{style:Ye},pl:{style:Ye},px:{style:Ye},py:{style:Ye},padding:{style:Ye},paddingTop:{style:Ye},paddingRight:{style:Ye},paddingBottom:{style:Ye},paddingLeft:{style:Ye},paddingX:{style:Ye},paddingY:{style:Ye},paddingInline:{style:Ye},paddingInlineStart:{style:Ye},paddingInlineEnd:{style:Ye},paddingBlock:{style:Ye},paddingBlockStart:{style:Ye},paddingBlockEnd:{style:Ye},m:{style:$e},mt:{style:$e},mr:{style:$e},mb:{style:$e},ml:{style:$e},mx:{style:$e},my:{style:$e},margin:{style:$e},marginTop:{style:$e},marginRight:{style:$e},marginBottom:{style:$e},marginLeft:{style:$e},marginX:{style:$e},marginY:{style:$e},marginInline:{style:$e},marginInlineStart:{style:$e},marginInlineEnd:{style:$e},marginBlock:{style:$e},marginBlockStart:{style:$e},marginBlockEnd:{style:$e},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:lu},rowGap:{style:uu},columnGap:{style:su},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:no},maxWidth:{style:hf},minWidth:{transform:no},height:{transform:no},maxHeight:{transform:no},minHeight:{transform:no},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},$r=qN;var GN={};function FN(){function e(t){if(!t.sx)return null;let{sx:o,theme:r=GN,nested:n}=t,a=r.unstable_sxConfig??$r,i={sx:null,theme:r,nested:!0};function l(s){let u=s;if(typeof s=="function")u=s(r);else if(typeof s!="object")return s;if(!u)return null;let p=r.breakpoints??ou,f=D1(p);for(let d in u){let c=$N(u[d],r);if(c!=null){if(typeof c!="object"){V1(f,d,c,r,a);continue}if(a[d]){V1(f,d,c,r,a);continue}z1(p,c)?ll(f,t.theme,c,(T,v)=>{f[T][d]=v}):(i.sx=c,f[d]=e(i))}}return!n&&r.modularCssLayers?{"@layer sx":ff(r,qh(p,f))}:ff(r,qh(p,f))}return Array.isArray(o)?o.map(l):l(o)}return e.filterProps=["sx"],e}var ao=FN();function V1(e,t,o,r,n){let a=n[t];if(!a){e[t]=o;return}if(o==null)return;let{themeKey:i}=a;if(i==="typography"&&o==="inherit"){e[t]=o;return}let{style:l}=a;if(l){gr(e,l({[t]:o,theme:r}));return}let{cssProperty:s=t,transform:u}=a,p=ul(r,i);ll(e,r,o,(f,d)=>{let c=Gh(p,u,d,t);s===!1?f?e[f]=c:gr(e,c):f?e[f][s]=c:e[s]=c})}function $N(e,t){return typeof e=="function"?e(t):e}function Kh(e,t){let o=this;if(o.vars){if(!o.colorSchemes?.[e]||typeof o.getColorSchemeSelector!="function")return{};let r=o.getColorSchemeSelector(e);return r==="&"?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return o.palette.mode===e?t:{}}function YN(e={},...t){let{breakpoints:o={},palette:r={},spacing:n,shape:a={},...i}=e,l=tu(o),s=cl(n),u=_e({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:s,shape:{..._1,...a}},i);return u=mf(u),u.applyStyles=Kh,u=t.reduce((p,f)=>_e(p,f),u),u.unstable_sxConfig={...$r,...i?.unstable_sxConfig},u.unstable_sx=function(f){return ao({sx:f,theme:this})},u.internal_cache={},u}var Aa=YN;var I1=C(U(),1);function KN(e){return Object.keys(e).length===0}function XN(e=null){let t=I1.useContext(Qo);return!t||KN(t)?e:t}var Ma=XN;var QN=Aa();function ZN(e=QN){return Ma(e)}var Dn=ZN;var q1=C(j(),1);function Xh(e){let t=er(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function WN({styles:e,themeId:t,defaultTheme:o={}}){let r=Dn(o),n=t&&r[t]||r,a=typeof e=="function"?e(n):e;return n.modularCssLayers&&(Array.isArray(a)?a=a.map(i=>Xh(typeof i=="function"?i(n):i)):a=Xh(a)),(0,q1.jsx)(Ea,{styles:a})}var pl=WN;var G1=e=>e,JN=()=>{let e=G1;return{configure(t){e=t},generate(t){return e(t)},reset(){e=G1}}},ew=JN(),fl=ew;var $1=C(U(),1);function F1(e){var t,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=F1(e[t]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function tw(){for(var e,t,o=0,r="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=F1(e))&&(r&&(r+=" "),r+=t);return r}var H=tw;var Y1=C(j(),1);function cu(e={}){let{themeId:t,defaultTheme:o,defaultClassName:r="MuiBox-root",generateClassName:n}=e,a=eu("div",{shouldForwardProp:l=>l!=="theme"&&l!=="sx"&&l!=="as"})(ao);return $1.forwardRef(function(s,u){let p=Dn(o),{className:f,component:d="div",...c}=s;return(0,Y1.jsx)(a,{as:d,ref:u,className:H(f,n?n(r):r),theme:t&&p[t]||p,...c})})}var ow={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function G(e,t,o="Mui"){let r=ow[t];return r?`${o}-${r}`:`${fl.generate(e)}-${t}`}function q(e,t,o="Mui"){let r={};return t.forEach(n=>{r[n]=G(e,n,o)}),r}function pu(e){let{variants:t,...o}=e,r={variants:t,style:er(o),isProcessed:!0};return r.style===o||t&&t.forEach(n=>{typeof n.style!="function"&&(n.style=er(n.style))}),r}var rw=Aa();function Qh(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Na(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function nw(e){return e?(t,o)=>o[e]:null}function aw(e,t,o){e.theme=al(e.theme)?o:e.theme[t]||e.theme}function gf(e,t,o){let r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(n=>gf(e,n,o));if(Array.isArray(r?.variants)){let n;if(r.isProcessed)n=o?Na(r.style,o):r.style;else{let{variants:a,...i}=r;n=o?Na(er(i),o):i}return K1(e,r.variants,[n],o)}return r?.isProcessed?o?Na(er(r.style),o):r.style:o?Na(er(r),o):r}function K1(e,t,o=[],r=void 0){let n;e:for(let a=0;a<t.length;a+=1){let i=t[a];if(typeof i.props=="function"){if(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),!i.props(n))continue}else for(let l in i.props)if(e[l]!==i.props[l]&&e.ownerState?.[l]!==i.props[l])continue e;typeof i.style=="function"?(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),o.push(r?Na(er(i.style(n)),r):i.style(n))):o.push(r?Na(er(i.style),r):i.style)}return o}function bf(e={}){let{themeId:t,defaultTheme:o=rw,rootShouldForwardProp:r=Qh,slotShouldForwardProp:n=Qh}=e;function a(l){aw(l,t,o)}return(l,s={})=>{R1(l,S=>S.filter(E=>E!==ao));let{name:u,slot:p,skipVariantsResolver:f,skipSx:d,overridesResolver:c=nw(sw(p)),...T}=s,v=u&&u.startsWith("Mui")||p?"components":"custom",x=f!==void 0?f:p&&p!=="Root"&&p!=="root"||!1,m=d||!1,y=Qh;p==="Root"||p==="root"?y=r:p?y=n:lw(l)&&(y=void 0);let g=eu(l,{shouldForwardProp:y,label:iw(u,p),...T}),b=S=>{if(S.__emotion_real===S)return S;if(typeof S=="function")return function(O){return gf(O,S,O.theme.modularCssLayers?v:void 0)};if(tr(S)){let E=pu(S);return function(N){return E.variants?gf(N,E,N.theme.modularCssLayers?v:void 0):N.theme.modularCssLayers?Na(E.style,v):E.style}}return S},P=(...S)=>{let E=[],O=S.map(b),N=[];if(E.push(a),u&&c&&N.push(function(w){let M=w.theme.components?.[u]?.styleOverrides;if(!M)return null;let B={};for(let k in M)B[k]=gf(w,M[k],w.theme.modularCssLayers?"theme":void 0);return c(w,B)}),u&&!x&&N.push(function(w){let M=w.theme?.components?.[u]?.variants;return M?K1(w,M,[],w.theme.modularCssLayers?"theme":void 0):null}),m||N.push(ao),Array.isArray(O[0])){let h=O.shift(),w=new Array(E.length).fill(""),R=new Array(N.length).fill(""),M;M=[...w,...h,...R],M.raw=[...w,...h.raw,...R],E.unshift(M)}let _=[...E,...O,...N],A=g(..._);return l.muiName&&(A.muiName=l.muiName),A};return g.withConfig&&(P.withConfig=g.withConfig),P}}function iw(e,t){return void 0}function lw(e){return typeof e=="string"&&e.charCodeAt(0)>96}function sw(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function zn(e,t,o=!1){let r={...t};for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)){let a=n;if(a==="components"||a==="slots")r[a]={...e[a],...r[a]};else if(a==="componentsProps"||a==="slotProps"){let i=e[a],l=t[a];if(!l)r[a]=i||{};else if(!i)r[a]=l;else{r[a]={...l};for(let s in i)if(Object.prototype.hasOwnProperty.call(i,s)){let u=s;r[a][u]=zn(i[u],l[u],o)}}}else a==="className"&&o&&t.className?r.className=H(e?.className,t?.className):a==="style"&&o&&t.style?r.style={...e?.style,...t?.style}:r[a]===void 0&&(r[a]=e[a])}return r}var Tf=C(U(),1),uw=typeof window<"u"?Tf.useLayoutEffect:Tf.useEffect,Kt=uw;function cw(e,t=Number.MIN_SAFE_INTEGER,o=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,o))}var Zh=cw;function Jh(e,t=0,o=1){return Zh(e,t,o)}function pw(e){e=e.slice(1);let t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g"),o=e.match(t);return o&&o[0].length===1&&(o=o.map(r=>r+r)),o?`rgb${o.length===4?"a":""}(${o.map((r,n)=>n<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Bn(e){if(e.type)return e;if(e.charAt(0)==="#")return Bn(pw(e));let t=e.indexOf("("),o=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(o))throw new Error(bt(9,e));let r=e.substring(t+1,e.length-1),n;if(o==="color"){if(r=r.split(" "),n=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(n))throw new Error(bt(10,n))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:o,values:r,colorSpace:n}}var fw=e=>{let t=Bn(e);return t.values.slice(0,3).map((o,r)=>t.type.includes("hsl")&&r!==0?`${o}%`:o).join(" ")},dl=(e,t)=>{try{return fw(e)}catch{return e}};function vf(e){let{type:t,colorSpace:o}=e,{values:r}=e;return t.includes("rgb")?r=r.map((n,a)=>a<3?parseInt(n,10):n):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${o} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function eg(e){e=Bn(e);let{values:t}=e,o=t[0],r=t[1]/100,n=t[2]/100,a=r*Math.min(n,1-n),i=(u,p=(u+o/30)%12)=>n-a*Math.max(Math.min(p-3,9-p,1),-1),l="rgb",s=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(l+="a",s.push(t[3])),vf({type:l,values:s})}function Wh(e){e=Bn(e);let t=e.type==="hsl"||e.type==="hsla"?Bn(eg(e)).values:e.values;return t=t.map(o=>(e.type!=="color"&&(o/=255),o<=.03928?o/12.92:((o+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function X1(e,t){let o=Wh(e),r=Wh(t);return(Math.max(o,r)+.05)/(Math.min(o,r)+.05)}function ml(e,t){return e=Bn(e),t=Jh(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,vf(e)}function Un(e,t,o){try{return ml(e,t)}catch{return e}}function yl(e,t){if(e=Bn(e),t=Jh(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]*=1-t;return vf(e)}function Te(e,t,o){try{return yl(e,t)}catch{return e}}function hl(e,t){if(e=Bn(e),t=Jh(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*t;else if(e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*t;return vf(e)}function ve(e,t,o){try{return hl(e,t)}catch{return e}}function dw(e,t=.15){return Wh(e)>.5?yl(e,t):hl(e,t)}function fu(e,t,o){try{return dw(e,t)}catch{return e}}var pC=C(U(),1);var W1=C(U(),1);var Q1=C(U(),1),mw=Q1.createContext(null),xf=mw;var tg=C(U(),1);function Yr(){return tg.useContext(xf)}var yw=typeof Symbol=="function"&&Symbol.for,Z1=yw?Symbol.for("mui.nested"):"__THEME_NESTED__";var J1=C(j(),1);function hw(e,t){return typeof t=="function"?t(e):{...e,...t}}function gw(e){let{children:t,theme:o}=e,r=Yr(),n=W1.useMemo(()=>{let a=r===null?{...o}:hw(r,o);return a!=null&&(a[Z1]=r!==null),a},[o,r]);return(0,J1.jsx)(xf.Provider,{value:n,children:t})}var Sf=gw;var Cf=C(U(),1);var eC=C(j(),1),tC=Cf.createContext();function bw({value:e,...t}){return(0,eC.jsx)(tC.Provider,{value:e??!0,...t})}var oC=()=>Cf.useContext(tC)??!1,rC=bw;var Ef=C(U(),1);var nC=C(j(),1),aC=Ef.createContext(void 0);function Tw({value:e,children:t}){return(0,nC.jsx)(aC.Provider,{value:e,children:t})}function vw(e){let{theme:t,name:o,props:r}=e;if(!t||!t.components||!t.components[o])return r;let n=t.components[o];return n.defaultProps?zn(n.defaultProps,r,t.components.mergeClassNameAndStyle):!n.styleOverrides&&!n.variants?zn(n,r,t.components.mergeClassNameAndStyle):r}function og({props:e,name:t}){let o=Ef.useContext(aC);return vw({props:e,name:t,theme:{components:o}})}var Pf=Tw;var du=C(U(),1),iC=0;function xw(e){let[t,o]=du.useState(e),r=e||t;return du.useEffect(()=>{t==null&&(iC+=1,o(`mui-${iC}`))},[t]),r}var Sw={...du},lC=Sw.useId;function or(e){if(lC!==void 0){let t=lC();return e??t}return xw(e)}var sC=C(j(),1);function rg(e){let t=Ma(),o=or()||"",{modularCssLayers:r}=e,n="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!r||t!==null?n="":typeof r=="string"?n=r.replace(/mui(?!\.)/g,n):n=`@layer ${n};`,Kt(()=>{let a=document.querySelector("head");if(!a)return;let i=a.firstChild;if(n){if(i&&i.hasAttribute?.("data-mui-layer-order")&&i.getAttribute("data-mui-layer-order")===o)return;let l=document.createElement("style");l.setAttribute("data-mui-layer-order",o),l.textContent=n,a.prepend(l)}else a.querySelector(`style[data-mui-layer-order="${o}"]`)?.remove()},[n,o]),n?(0,sC.jsx)(pl,{styles:n}):null}var gl=C(j(),1),uC={};function cC(e,t,o,r=!1){return pC.useMemo(()=>{let n=e&&t[e]||t;if(typeof o=="function"){let a=o(n),i=e?{...t,[e]:a}:a;return r?()=>i:i}return e?{...t,[e]:o}:{...t,...o}},[e,t,o,r])}function Cw(e){let{children:t,theme:o,themeId:r}=e,n=Ma(uC),a=Yr()||uC,i=cC(r,n,o),l=cC(r,a,o,!0),s=(r?i[r]:i).direction==="rtl",u=rg(i);return(0,gl.jsx)(Sf,{theme:l,children:(0,gl.jsx)(Qo.Provider,{value:i,children:(0,gl.jsx)(rC,{value:s,children:(0,gl.jsxs)(Pf,{value:r?i[r].components:i.components,children:[u,t]})})})})}var bl=Cw;var fC={theme:void 0};function Rf(e){let t,o;return function(n){let a=t;return(a===void 0||n.theme!==o)&&(fC.theme=n.theme,a=pu(e(fC)),t=a,o=n.theme),a}}var Dt=C(U(),1);var dC=C(j(),1),mu="mode",yu="color-scheme",Ew="data-color-scheme";function ng(e){let{defaultMode:t="system",defaultLightColorScheme:o="light",defaultDarkColorScheme:r="dark",modeStorageKey:n=mu,colorSchemeStorageKey:a=yu,attribute:i=Ew,colorSchemeNode:l="document.documentElement",nonce:s}=e||{},u="",p=i;if(i==="class"&&(p=".%s"),i==="data"&&(p="[data-%s]"),p.startsWith(".")){let d=p.substring(1);u+=`${l}.classList.remove('${d}'.replace('%s', light), '${d}'.replace('%s', dark));
8
+ `+r.stack}}var ey=Object.prototype.hasOwnProperty,Gy=ft.unstable_scheduleCallback,gm=ft.unstable_cancelCallback,gO=ft.unstable_shouldYield,bO=ft.unstable_requestPaint,go=ft.unstable_now,TO=ft.unstable_getCurrentPriorityLevel,zv=ft.unstable_ImmediatePriority,Bv=ft.unstable_UserBlockingPriority,pp=ft.unstable_NormalPriority,vO=ft.unstable_LowPriority,Uv=ft.unstable_IdlePriority,xO=ft.log,SO=ft.unstable_setDisableYieldValue,qs=null,bo=null;function fn(e){if(typeof xO=="function"&&SO(e),bo&&typeof bo.setStrictMode=="function")try{bo.setStrictMode(qs,e)}catch{}}var To=Math.clz32?Math.clz32:PO,CO=Math.log,EO=Math.LN2;function PO(e){return e>>>=0,e===0?32:31-(CO(e)/EO|0)|0}var Nc=256,wc=262144,_c=4194304;function ta(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function jp(e,t,o){var r=e.pendingLanes;if(r===0)return 0;var n=0,a=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var l=r&134217727;return l!==0?(r=l&~a,r!==0?n=ta(r):(i&=l,i!==0?n=ta(i):o||(o=l&~e,o!==0&&(n=ta(o))))):(l=r&~a,l!==0?n=ta(l):i!==0?n=ta(i):o||(o=r&~e,o!==0&&(n=ta(o)))),n===0?0:t!==0&&t!==n&&(t&a)===0&&(a=n&-n,o=t&-t,a>=o||a===32&&(o&4194048)!==0)?t:n}function Gs(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function RO(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function jv(){var e=_c;return _c<<=1,(_c&62914560)===0&&(_c=4194304),e}function bm(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function Fs(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function OO(e,t,o,r,n,a){var i=e.pendingLanes;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=o,e.entangledLanes&=o,e.errorRecoveryDisabledLanes&=o,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,u=e.hiddenUpdates;for(o=i&~o;0<o;){var p=31-To(o),f=1<<p;l[p]=0,s[p]=-1;var d=u[p];if(d!==null)for(u[p]=null,p=0;p<d.length;p++){var c=d[p];c!==null&&(c.lane&=-536870913)}o&=~f}r!==0&&kv(e,r,0),a!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=a&~(i&~t))}function kv(e,t,o){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-To(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|o&261930}function Lv(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var r=31-To(o),n=1<<r;n&t|e[r]&t&&(e[r]|=t),o&=~n}}function Hv(e,t){var o=t&-t;return o=(o&42)!==0?1:Fy(o),(o&(e.suspendedLanes|t))!==0?0:o}function Fy(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function $y(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Iv(){var e=me.p;return e!==0?e:(e=window.event,e===void 0?32:c1(e.type))}function i0(e,t){var o=me.p;try{return me.p=e,t()}finally{me.p=o}}var Nn=Math.random().toString(36).slice(2),Ot="__reactFiber$"+Nn,oo="__reactProps$"+Nn,Qi="__reactContainer$"+Nn,ty="__reactEvents$"+Nn,AO="__reactListeners$"+Nn,MO="__reactHandles$"+Nn,l0="__reactResources$"+Nn,$s="__reactMarker$"+Nn;function Yy(e){delete e[Ot],delete e[oo],delete e[ty],delete e[AO],delete e[MO]}function Si(e){var t=e[Ot];if(t)return t;for(var o=e.parentNode;o;){if(t=o[Qi]||o[Ot]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=yv(e);e!==null;){if(o=e[Ot])return o;e=yv(e)}return t}e=o,o=e.parentNode}return null}function Zi(e){if(e=e[Ot]||e[Qi]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function fs(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(z(33))}function _i(e){var t=e[l0];return t||(t=e[l0]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ht(e){e[$s]=!0}var Vv=new Set,qv={};function ma(e,t){Hi(e,t),Hi(e+"Capture",t)}function Hi(e,t){for(qv[e]=t,e=0;e<t.length;e++)Vv.add(t[e])}var NO=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),s0={},u0={};function wO(e){return ey.call(u0,e)?!0:ey.call(s0,e)?!1:NO.test(e)?u0[e]=!0:(s0[e]=!0,!1)}function Yc(e,t,o){if(wO(t))if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+o)}}function Dc(e,t,o){if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+o)}}function Rr(e,t,o,r){if(r===null)e.removeAttribute(o);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(o);return}e.setAttributeNS(t,o,""+r)}}function zo(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Gv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function _O(e,t,o){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var n=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(i){o=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return o},setValue:function(i){o=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function oy(e){if(!e._valueTracker){var t=Gv(e)?"checked":"value";e._valueTracker=_O(e,t,""+e[t])}}function Fv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),r="";return e&&(r=Gv(e)?e.checked?"true":"false":e.value),e=r,e!==o?(t.setValue(e),!0):!1}function fp(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var DO=/[\n"\\]/g;function jo(e){return e.replace(DO,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function ry(e,t,o,r,n,a,i,l){e.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?e.type=i:e.removeAttribute("type"),t!=null?i==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+zo(t)):e.value!==""+zo(t)&&(e.value=""+zo(t)):i!=="submit"&&i!=="reset"||e.removeAttribute("value"),t!=null?ny(e,i,zo(t)):o!=null?ny(e,i,zo(o)):r!=null&&e.removeAttribute("value"),n==null&&a!=null&&(e.defaultChecked=!!a),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"?e.name=""+zo(l):e.removeAttribute("name")}function $v(e,t,o,r,n,a,i,l){if(a!=null&&typeof a!="function"&&typeof a!="symbol"&&typeof a!="boolean"&&(e.type=a),t!=null||o!=null){if(!(a!=="submit"&&a!=="reset"||t!=null)){oy(e);return}o=o!=null?""+zo(o):"",t=t!=null?""+zo(t):o,l||t===e.value||(e.value=t),e.defaultValue=t}r=r??n,r=typeof r!="function"&&typeof r!="symbol"&&!!r,e.checked=l?e.checked:!!r,e.defaultChecked=!!r,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.name=i),oy(e)}function ny(e,t,o){t==="number"&&fp(e.ownerDocument)===e||e.defaultValue===""+o||(e.defaultValue=""+o)}function Di(e,t,o,r){if(e=e.options,t){t={};for(var n=0;n<o.length;n++)t["$"+o[n]]=!0;for(o=0;o<e.length;o++)n=t.hasOwnProperty("$"+e[o].value),e[o].selected!==n&&(e[o].selected=n),n&&r&&(e[o].defaultSelected=!0)}else{for(o=""+zo(o),t=null,n=0;n<e.length;n++){if(e[n].value===o){e[n].selected=!0,r&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function Yv(e,t,o){if(t!=null&&(t=""+zo(t),t!==e.value&&(e.value=t),o==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=o!=null?""+zo(o):""}function Kv(e,t,o,r){if(t==null){if(r!=null){if(o!=null)throw Error(z(92));if(ps(r)){if(1<r.length)throw Error(z(93));r=r[0]}o=r}o==null&&(o=""),t=o}o=zo(t),e.defaultValue=o,r=e.textContent,r===o&&r!==""&&r!==null&&(e.value=r),oy(e)}function Ii(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var zO=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function c0(e,t,o){var r=t.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?r?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":r?e.setProperty(t,o):typeof o!="number"||o===0||zO.has(t)?t==="float"?e.cssFloat=o:e[t]=(""+o).trim():e[t]=o+"px"}function Xv(e,t,o){if(t!=null&&typeof t!="object")throw Error(z(62));if(e=e.style,o!=null){for(var r in o)!o.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf("--")===0?e.setProperty(r,""):r==="float"?e.cssFloat="":e[r]="");for(var n in t)r=t[n],t.hasOwnProperty(n)&&o[n]!==r&&c0(e,n,r)}else for(var a in t)t.hasOwnProperty(a)&&c0(e,a,t[a])}function Ky(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var BO=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),UO=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Kc(e){return UO.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function zr(){}var ay=null;function Xy(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ci=null,zi=null;function p0(e){var t=Zi(e);if(t&&(e=t.stateNode)){var o=e[oo]||null;e:switch(e=t.stateNode,t.type){case"input":if(ry(e,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),t=o.name,o.type==="radio"&&t!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+jo(""+t)+'"][type="radio"]'),t=0;t<o.length;t++){var r=o[t];if(r!==e&&r.form===e.form){var n=r[oo]||null;if(!n)throw Error(z(90));ry(r,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<o.length;t++)r=o[t],r.form===e.form&&Fv(r)}break e;case"textarea":Yv(e,o.value,o.defaultValue);break e;case"select":t=o.value,t!=null&&Di(e,!!o.multiple,t,!1)}}}var Tm=!1;function Qv(e,t,o){if(Tm)return e(t,o);Tm=!0;try{var r=e(t);return r}finally{if(Tm=!1,(Ci!==null||zi!==null)&&(Xp(),Ci&&(t=Ci,e=zi,zi=Ci=null,p0(t),e)))for(t=0;t<e.length;t++)p0(e[t])}}function Ms(e,t){var o=e.stateNode;if(o===null)return null;var r=o[oo]||null;if(r===null)return null;o=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(z(231,t,typeof o));return o}var Lr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),iy=!1;if(Lr)try{yi={},Object.defineProperty(yi,"passive",{get:function(){iy=!0}}),window.addEventListener("test",yi,yi),window.removeEventListener("test",yi,yi)}catch{iy=!1}var yi,dn=null,Qy=null,Xc=null;function Zv(){if(Xc)return Xc;var e,t=Qy,o=t.length,r,n="value"in dn?dn.value:dn.textContent,a=n.length;for(e=0;e<o&&t[e]===n[e];e++);var i=o-e;for(r=1;r<=i&&t[o-r]===n[a-r];r++);return Xc=n.slice(e,1<r?1-r:void 0)}function Qc(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function zc(){return!0}function f0(){return!1}function ro(e){function t(o,r,n,a,i){this._reactName=o,this._targetInst=n,this.type=r,this.nativeEvent=a,this.target=i,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(o=e[l],this[l]=o?o(a):a[l]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?zc:f0,this.isPropagationStopped=f0,this}return Le(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=zc)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=zc)},persist:function(){},isPersistent:zc}),t}var ya={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},kp=ro(ya),Ys=Le({},ya,{view:0,detail:0}),jO=ro(Ys),vm,xm,ns,Lp=Le({},Ys,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zy,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ns&&(ns&&e.type==="mousemove"?(vm=e.screenX-ns.screenX,xm=e.screenY-ns.screenY):xm=vm=0,ns=e),vm)},movementY:function(e){return"movementY"in e?e.movementY:xm}}),d0=ro(Lp),kO=Le({},Lp,{dataTransfer:0}),LO=ro(kO),HO=Le({},Ys,{relatedTarget:0}),Sm=ro(HO),IO=Le({},ya,{animationName:0,elapsedTime:0,pseudoElement:0}),VO=ro(IO),qO=Le({},ya,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),GO=ro(qO),FO=Le({},ya,{data:0}),m0=ro(FO),$O={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},YO={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},KO={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function XO(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=KO[e])?!!t[e]:!1}function Zy(){return XO}var QO=Le({},Ys,{key:function(e){if(e.key){var t=$O[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Qc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?YO[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zy,charCode:function(e){return e.type==="keypress"?Qc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Qc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ZO=ro(QO),WO=Le({},Lp,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),y0=ro(WO),JO=Le({},Ys,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zy}),eA=ro(JO),tA=Le({},ya,{propertyName:0,elapsedTime:0,pseudoElement:0}),oA=ro(tA),rA=Le({},Lp,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),nA=ro(rA),aA=Le({},ya,{newState:0,oldState:0}),iA=ro(aA),lA=[9,13,27,32],Wy=Lr&&"CompositionEvent"in window,ys=null;Lr&&"documentMode"in document&&(ys=document.documentMode);var sA=Lr&&"TextEvent"in window&&!ys,Wv=Lr&&(!Wy||ys&&8<ys&&11>=ys),h0=" ",g0=!1;function Jv(e,t){switch(e){case"keyup":return lA.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ex(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ei=!1;function uA(e,t){switch(e){case"compositionend":return ex(t);case"keypress":return t.which!==32?null:(g0=!0,h0);case"textInput":return e=t.data,e===h0&&g0?null:e;default:return null}}function cA(e,t){if(Ei)return e==="compositionend"||!Wy&&Jv(e,t)?(e=Zv(),Xc=Qy=dn=null,Ei=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Wv&&t.locale!=="ko"?null:t.data;default:return null}}var pA={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function b0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!pA[e.type]:t==="textarea"}function tx(e,t,o,r){Ci?zi?zi.push(r):zi=[r]:Ci=r,t=Np(t,"onChange"),0<t.length&&(o=new kp("onChange","change",null,o,r),e.push({event:o,listeners:t}))}var hs=null,Ns=null;function fA(e){QS(e,0)}function Hp(e){var t=fs(e);if(Fv(t))return e}function T0(e,t){if(e==="change")return t}var ox=!1;Lr&&(Lr?(Uc="oninput"in document,Uc||(Cm=document.createElement("div"),Cm.setAttribute("oninput","return;"),Uc=typeof Cm.oninput=="function"),Bc=Uc):Bc=!1,ox=Bc&&(!document.documentMode||9<document.documentMode));var Bc,Uc,Cm;function v0(){hs&&(hs.detachEvent("onpropertychange",rx),Ns=hs=null)}function rx(e){if(e.propertyName==="value"&&Hp(Ns)){var t=[];tx(t,Ns,e,Xy(e)),Qv(fA,t)}}function dA(e,t,o){e==="focusin"?(v0(),hs=t,Ns=o,hs.attachEvent("onpropertychange",rx)):e==="focusout"&&v0()}function mA(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Hp(Ns)}function yA(e,t){if(e==="click")return Hp(t)}function hA(e,t){if(e==="input"||e==="change")return Hp(t)}function gA(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var xo=typeof Object.is=="function"?Object.is:gA;function ws(e,t){if(xo(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var o=Object.keys(e),r=Object.keys(t);if(o.length!==r.length)return!1;for(r=0;r<o.length;r++){var n=o[r];if(!ey.call(t,n)||!xo(e[n],t[n]))return!1}return!0}function x0(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function S0(e,t){var o=x0(e);e=0;for(var r;o;){if(o.nodeType===3){if(r=e+o.textContent.length,e<=t&&r>=t)return{node:o,offset:t-e};e=r}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=x0(o)}}function nx(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?nx(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ax(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=fp(e.document);t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=fp(e.document)}return t}function Jy(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var bA=Lr&&"documentMode"in document&&11>=document.documentMode,Pi=null,ly=null,gs=null,sy=!1;function C0(e,t,o){var r=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;sy||Pi==null||Pi!==fp(r)||(r=Pi,"selectionStart"in r&&Jy(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),gs&&ws(gs,r)||(gs=r,r=Np(ly,"onSelect"),0<r.length&&(t=new kp("onSelect","select",null,t,o),e.push({event:t,listeners:r}),t.target=Pi)))}function Jn(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var Ri={animationend:Jn("Animation","AnimationEnd"),animationiteration:Jn("Animation","AnimationIteration"),animationstart:Jn("Animation","AnimationStart"),transitionrun:Jn("Transition","TransitionRun"),transitionstart:Jn("Transition","TransitionStart"),transitioncancel:Jn("Transition","TransitionCancel"),transitionend:Jn("Transition","TransitionEnd")},Em={},ix={};Lr&&(ix=document.createElement("div").style,"AnimationEvent"in window||(delete Ri.animationend.animation,delete Ri.animationiteration.animation,delete Ri.animationstart.animation),"TransitionEvent"in window||delete Ri.transitionend.transition);function ha(e){if(Em[e])return Em[e];if(!Ri[e])return e;var t=Ri[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in ix)return Em[e]=t[o];return e}var lx=ha("animationend"),sx=ha("animationiteration"),ux=ha("animationstart"),TA=ha("transitionrun"),vA=ha("transitionstart"),xA=ha("transitioncancel"),cx=ha("transitionend"),px=new Map,uy="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");uy.push("scrollEnd");function Jo(e,t){px.set(e,t),ma(t,[e])}var dp=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)},Do=[],Oi=0,eh=0;function Ip(){for(var e=Oi,t=eh=Oi=0;t<e;){var o=Do[t];Do[t++]=null;var r=Do[t];Do[t++]=null;var n=Do[t];Do[t++]=null;var a=Do[t];if(Do[t++]=null,r!==null&&n!==null){var i=r.pending;i===null?n.next=n:(n.next=i.next,i.next=n),r.pending=n}a!==0&&fx(o,n,a)}}function Vp(e,t,o,r){Do[Oi++]=e,Do[Oi++]=t,Do[Oi++]=o,Do[Oi++]=r,eh|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function th(e,t,o,r){return Vp(e,t,o,r),mp(e)}function ga(e,t){return Vp(e,null,null,t),mp(e)}function fx(e,t,o){e.lanes|=o;var r=e.alternate;r!==null&&(r.lanes|=o);for(var n=!1,a=e.return;a!==null;)a.childLanes|=o,r=a.alternate,r!==null&&(r.childLanes|=o),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(n=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,n&&t!==null&&(n=31-To(o),e=a.hiddenUpdates,r=e[n],r===null?e[n]=[t]:r.push(t),t.lane=o|536870912),a):null}function mp(e){if(50<Rs)throw Rs=0,Ny=null,Error(z(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Ai={};function SA(e,t,o,r){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yo(e,t,o,r){return new SA(e,t,o,r)}function oh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ur(e,t){var o=e.alternate;return o===null?(o=yo(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&65011712,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,t=e.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o.refCleanup=e.refCleanup,o}function dx(e,t){e.flags&=65011714;var o=e.alternate;return o===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=o.childLanes,e.lanes=o.lanes,e.child=o.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=o.memoizedProps,e.memoizedState=o.memoizedState,e.updateQueue=o.updateQueue,e.type=o.type,t=o.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Zc(e,t,o,r,n,a){var i=0;if(r=e,typeof e=="function")oh(e)&&(i=1);else if(typeof e=="string")i=PM(e,o,mr.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Qm:return e=yo(31,o,t,n),e.elementType=Qm,e.lanes=a,e;case vi:return aa(o.children,n,a,t);case _v:i=8,n|=24;break;case Ym:return e=yo(12,o,t,n|2),e.elementType=Ym,e.lanes=a,e;case Km:return e=yo(13,o,t,n),e.elementType=Km,e.lanes=a,e;case Xm:return e=yo(19,o,t,n),e.elementType=Xm,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Dr:i=10;break e;case Dv:i=9;break e;case Vy:i=11;break e;case qy:i=14;break e;case an:i=16,r=null;break e}i=29,o=Error(z(130,e===null?"null":typeof e,"")),r=null}return t=yo(i,o,t,n),t.elementType=e,t.type=r,t.lanes=a,t}function aa(e,t,o,r){return e=yo(7,e,r,t),e.lanes=o,e}function Pm(e,t,o){return e=yo(6,e,null,t),e.lanes=o,e}function mx(e){var t=yo(18,null,null,0);return t.stateNode=e,t}function Rm(e,t,o){return t=yo(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var E0=new WeakMap;function ko(e,t){if(typeof e=="object"&&e!==null){var o=E0.get(e);return o!==void 0?o:(t={value:e,source:t,stack:a0(t)},E0.set(e,t),t)}return{value:e,source:t,stack:a0(t)}}var Mi=[],Ni=0,yp=null,_s=0,Bo=[],Uo=0,Rn=null,pr=1,fr="";function wr(e,t){Mi[Ni++]=_s,Mi[Ni++]=yp,yp=e,_s=t}function yx(e,t,o){Bo[Uo++]=pr,Bo[Uo++]=fr,Bo[Uo++]=Rn,Rn=e;var r=pr;e=fr;var n=32-To(r)-1;r&=~(1<<n),o+=1;var a=32-To(t)+n;if(30<a){var i=n-n%5;a=(r&(1<<i)-1).toString(32),r>>=i,n-=i,pr=1<<32-To(t)+n|o<<n|r,fr=a+e}else pr=1<<a|o<<n|r,fr=e}function rh(e){e.return!==null&&(wr(e,1),yx(e,1,0))}function nh(e){for(;e===yp;)yp=Mi[--Ni],Mi[Ni]=null,_s=Mi[--Ni],Mi[Ni]=null;for(;e===Rn;)Rn=Bo[--Uo],Bo[Uo]=null,fr=Bo[--Uo],Bo[Uo]=null,pr=Bo[--Uo],Bo[Uo]=null}function hx(e,t){Bo[Uo++]=pr,Bo[Uo++]=fr,Bo[Uo++]=Rn,pr=t.id,fr=t.overflow,Rn=e}var At=null,ke=null,le=!1,bn=null,Lo=!1,cy=Error(z(519));function On(e){var t=Error(z(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ds(ko(t,e)),cy}function P0(e){var t=e.stateNode,o=e.type,r=e.memoizedProps;switch(t[Ot]=e,t[oo]=r,o){case"dialog":re("cancel",t),re("close",t);break;case"iframe":case"object":case"embed":re("load",t);break;case"video":case"audio":for(o=0;o<js.length;o++)re(js[o],t);break;case"source":re("error",t);break;case"img":case"image":case"link":re("error",t),re("load",t);break;case"details":re("toggle",t);break;case"input":re("invalid",t),$v(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":re("invalid",t);break;case"textarea":re("invalid",t),Kv(t,r.value,r.defaultValue,r.children)}o=r.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||t.textContent===""+o||r.suppressHydrationWarning===!0||WS(t.textContent,o)?(r.popover!=null&&(re("beforetoggle",t),re("toggle",t)),r.onScroll!=null&&re("scroll",t),r.onScrollEnd!=null&&re("scrollend",t),r.onClick!=null&&(t.onclick=zr),t=!0):t=!1,t||On(e,!0)}function R0(e){for(At=e.return;At;)switch(At.tag){case 5:case 31:case 13:Lo=!1;return;case 27:case 3:Lo=!0;return;default:At=At.return}}function hi(e){if(e!==At)return!1;if(!le)return R0(e),le=!0,!1;var t=e.tag,o;if((o=t!==3&&t!==27)&&((o=t===5)&&(o=e.type,o=!(o!=="form"&&o!=="button")||By(e.type,e.memoizedProps)),o=!o),o&&ke&&On(e),R0(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(z(317));ke=mv(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(z(317));ke=mv(e)}else t===27?(t=ke,wn(e.type)?(e=Ly,Ly=null,ke=e):ke=t):ke=At?Io(e.stateNode.nextSibling):null;return!0}function ua(){ke=At=null,le=!1}function Om(){var e=bn;return e!==null&&(eo===null?eo=e:eo.push.apply(eo,e),bn=null),e}function Ds(e){bn===null?bn=[e]:bn.push(e)}var py=yr(null),ba=null,Br=null;function sn(e,t,o){we(py,t._currentValue),t._currentValue=o}function jr(e){e._currentValue=py.current,gt(py)}function fy(e,t,o){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===o)break;e=e.return}}function dy(e,t,o,r){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var a=n.dependencies;if(a!==null){var i=n.child;a=a.firstContext;e:for(;a!==null;){var l=a;a=n;for(var s=0;s<t.length;s++)if(l.context===t[s]){a.lanes|=o,l=a.alternate,l!==null&&(l.lanes|=o),fy(a.return,o,e),r||(i=null);break e}a=l.next}}else if(n.tag===18){if(i=n.return,i===null)throw Error(z(341));i.lanes|=o,a=i.alternate,a!==null&&(a.lanes|=o),fy(i,o,e),i=null}else i=n.child;if(i!==null)i.return=n;else for(i=n;i!==null;){if(i===e){i=null;break}if(n=i.sibling,n!==null){n.return=i.return,i=n;break}i=i.return}n=i}}function Wi(e,t,o,r){e=null;for(var n=t,a=!1;n!==null;){if(!a){if((n.flags&524288)!==0)a=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var i=n.alternate;if(i===null)throw Error(z(387));if(i=i.memoizedProps,i!==null){var l=n.type;xo(n.pendingProps.value,i.value)||(e!==null?e.push(l):e=[l])}}else if(n===sp.current){if(i=n.alternate,i===null)throw Error(z(387));i.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(Ls):e=[Ls])}n=n.return}e!==null&&dy(t,e,o,r),t.flags|=262144}function hp(e){for(e=e.firstContext;e!==null;){if(!xo(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ca(e){ba=e,Br=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Mt(e){return gx(ba,e)}function jc(e,t){return ba===null&&ca(e),gx(e,t)}function gx(e,t){var o=t._currentValue;if(t={context:t,memoizedValue:o,next:null},Br===null){if(e===null)throw Error(z(308));Br=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Br=Br.next=t;return o}var CA=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(o,r){e.push(r)}};this.abort=function(){t.aborted=!0,e.forEach(function(o){return o()})}},EA=ft.unstable_scheduleCallback,PA=ft.unstable_NormalPriority,it={$$typeof:Dr,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ah(){return{controller:new CA,data:new Map,refCount:0}}function Ks(e){e.refCount--,e.refCount===0&&EA(PA,function(){e.controller.abort()})}var bs=null,my=0,Vi=0,Bi=null;function RA(e,t){if(bs===null){var o=bs=[];my=0,Vi=Nh(),Bi={status:"pending",value:void 0,then:function(r){o.push(r)}}}return my++,t.then(O0,O0),t}function O0(){if(--my===0&&bs!==null){Bi!==null&&(Bi.status="fulfilled");var e=bs;bs=null,Vi=0,Bi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function OA(e,t){var o=[],r={status:"pending",value:null,reason:null,then:function(n){o.push(n)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var n=0;n<o.length;n++)(0,o[n])(t)},function(n){for(r.status="rejected",r.reason=n,n=0;n<o.length;n++)(0,o[n])(void 0)}),r}var A0=$.S;$.S=function(e,t){wS=go(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&RA(e,t),A0!==null&&A0(e,t)};var ia=yr(null);function ih(){var e=ia.current;return e!==null?e:Oe.pooledCache}function Wc(e,t){t===null?we(ia,ia.current):we(ia,t.pool)}function bx(){var e=ih();return e===null?null:{parent:it._currentValue,pool:e}}var Ji=Error(z(460)),lh=Error(z(474)),qp=Error(z(542)),gp={then:function(){}};function M0(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Tx(e,t,o){switch(o=e[o],o===void 0?e.push(t):o!==t&&(t.then(zr,zr),t=o),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,w0(e),e;default:if(typeof t.status=="string")t.then(zr,zr);else{if(e=Oe,e!==null&&100<e.shellSuspendCounter)throw Error(z(482));e=t,e.status="pending",e.then(function(r){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=r}},function(r){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=r}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,w0(e),e}throw la=t,Ji}}function oa(e){try{var t=e._init;return t(e._payload)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(la=o,Ji):o}}var la=null;function N0(){if(la===null)throw Error(z(459));var e=la;return la=null,e}function w0(e){if(e===Ji||e===qp)throw Error(z(483))}var Ui=null,zs=0;function kc(e){var t=zs;return zs+=1,Ui===null&&(Ui=[]),Tx(Ui,e,t)}function as(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Lc(e,t){throw t.$$typeof===dO?Error(z(525)):(e=Object.prototype.toString.call(t),Error(z(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function vx(e){function t(m,y){if(e){var g=m.deletions;g===null?(m.deletions=[y],m.flags|=16):g.push(y)}}function o(m,y){if(!e)return null;for(;y!==null;)t(m,y),y=y.sibling;return null}function r(m){for(var y=new Map;m!==null;)m.key!==null?y.set(m.key,m):y.set(m.index,m),m=m.sibling;return y}function n(m,y){return m=Ur(m,y),m.index=0,m.sibling=null,m}function a(m,y,g){return m.index=g,e?(g=m.alternate,g!==null?(g=g.index,g<y?(m.flags|=67108866,y):g):(m.flags|=67108866,y)):(m.flags|=1048576,y)}function i(m){return e&&m.alternate===null&&(m.flags|=67108866),m}function l(m,y,g,b){return y===null||y.tag!==6?(y=Pm(g,m.mode,b),y.return=m,y):(y=n(y,g),y.return=m,y)}function s(m,y,g,b){var P=g.type;return P===vi?p(m,y,g.props.children,b,g.key):y!==null&&(y.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===an&&oa(P)===y.type)?(y=n(y,g.props),as(y,g),y.return=m,y):(y=Zc(g.type,g.key,g.props,null,m.mode,b),as(y,g),y.return=m,y)}function u(m,y,g,b){return y===null||y.tag!==4||y.stateNode.containerInfo!==g.containerInfo||y.stateNode.implementation!==g.implementation?(y=Rm(g,m.mode,b),y.return=m,y):(y=n(y,g.children||[]),y.return=m,y)}function p(m,y,g,b,P){return y===null||y.tag!==7?(y=aa(g,m.mode,b,P),y.return=m,y):(y=n(y,g),y.return=m,y)}function f(m,y,g){if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return y=Pm(""+y,m.mode,g),y.return=m,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Mc:return g=Zc(y.type,y.key,y.props,null,m.mode,g),as(g,y),g.return=m,g;case cs:return y=Rm(y,m.mode,g),y.return=m,y;case an:return y=oa(y),f(m,y,g)}if(ps(y)||rs(y))return y=aa(y,m.mode,g,null),y.return=m,y;if(typeof y.then=="function")return f(m,kc(y),g);if(y.$$typeof===Dr)return f(m,jc(m,y),g);Lc(m,y)}return null}function d(m,y,g,b){var P=y!==null?y.key:null;if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return P!==null?null:l(m,y,""+g,b);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Mc:return g.key===P?s(m,y,g,b):null;case cs:return g.key===P?u(m,y,g,b):null;case an:return g=oa(g),d(m,y,g,b)}if(ps(g)||rs(g))return P!==null?null:p(m,y,g,b,null);if(typeof g.then=="function")return d(m,y,kc(g),b);if(g.$$typeof===Dr)return d(m,y,jc(m,g),b);Lc(m,g)}return null}function c(m,y,g,b,P){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return m=m.get(g)||null,l(y,m,""+b,P);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Mc:return m=m.get(b.key===null?g:b.key)||null,s(y,m,b,P);case cs:return m=m.get(b.key===null?g:b.key)||null,u(y,m,b,P);case an:return b=oa(b),c(m,y,g,b,P)}if(ps(b)||rs(b))return m=m.get(g)||null,p(y,m,b,P,null);if(typeof b.then=="function")return c(m,y,g,kc(b),P);if(b.$$typeof===Dr)return c(m,y,g,jc(y,b),P);Lc(y,b)}return null}function T(m,y,g,b){for(var P=null,S=null,E=y,O=y=0,N=null;E!==null&&O<g.length;O++){E.index>O?(N=E,E=null):N=E.sibling;var _=d(m,E,g[O],b);if(_===null){E===null&&(E=N);break}e&&E&&_.alternate===null&&t(m,E),y=a(_,y,O),S===null?P=_:S.sibling=_,S=_,E=N}if(O===g.length)return o(m,E),le&&wr(m,O),P;if(E===null){for(;O<g.length;O++)E=f(m,g[O],b),E!==null&&(y=a(E,y,O),S===null?P=E:S.sibling=E,S=E);return le&&wr(m,O),P}for(E=r(E);O<g.length;O++)N=c(E,m,O,g[O],b),N!==null&&(e&&N.alternate!==null&&E.delete(N.key===null?O:N.key),y=a(N,y,O),S===null?P=N:S.sibling=N,S=N);return e&&E.forEach(function(A){return t(m,A)}),le&&wr(m,O),P}function v(m,y,g,b){if(g==null)throw Error(z(151));for(var P=null,S=null,E=y,O=y=0,N=null,_=g.next();E!==null&&!_.done;O++,_=g.next()){E.index>O?(N=E,E=null):N=E.sibling;var A=d(m,E,_.value,b);if(A===null){E===null&&(E=N);break}e&&E&&A.alternate===null&&t(m,E),y=a(A,y,O),S===null?P=A:S.sibling=A,S=A,E=N}if(_.done)return o(m,E),le&&wr(m,O),P;if(E===null){for(;!_.done;O++,_=g.next())_=f(m,_.value,b),_!==null&&(y=a(_,y,O),S===null?P=_:S.sibling=_,S=_);return le&&wr(m,O),P}for(E=r(E);!_.done;O++,_=g.next())_=c(E,m,O,_.value,b),_!==null&&(e&&_.alternate!==null&&E.delete(_.key===null?O:_.key),y=a(_,y,O),S===null?P=_:S.sibling=_,S=_);return e&&E.forEach(function(h){return t(m,h)}),le&&wr(m,O),P}function x(m,y,g,b){if(typeof g=="object"&&g!==null&&g.type===vi&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Mc:e:{for(var P=g.key;y!==null;){if(y.key===P){if(P=g.type,P===vi){if(y.tag===7){o(m,y.sibling),b=n(y,g.props.children),b.return=m,m=b;break e}}else if(y.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===an&&oa(P)===y.type){o(m,y.sibling),b=n(y,g.props),as(b,g),b.return=m,m=b;break e}o(m,y);break}else t(m,y);y=y.sibling}g.type===vi?(b=aa(g.props.children,m.mode,b,g.key),b.return=m,m=b):(b=Zc(g.type,g.key,g.props,null,m.mode,b),as(b,g),b.return=m,m=b)}return i(m);case cs:e:{for(P=g.key;y!==null;){if(y.key===P)if(y.tag===4&&y.stateNode.containerInfo===g.containerInfo&&y.stateNode.implementation===g.implementation){o(m,y.sibling),b=n(y,g.children||[]),b.return=m,m=b;break e}else{o(m,y);break}else t(m,y);y=y.sibling}b=Rm(g,m.mode,b),b.return=m,m=b}return i(m);case an:return g=oa(g),x(m,y,g,b)}if(ps(g))return T(m,y,g,b);if(rs(g)){if(P=rs(g),typeof P!="function")throw Error(z(150));return g=P.call(g),v(m,y,g,b)}if(typeof g.then=="function")return x(m,y,kc(g),b);if(g.$$typeof===Dr)return x(m,y,jc(m,g),b);Lc(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint"?(g=""+g,y!==null&&y.tag===6?(o(m,y.sibling),b=n(y,g),b.return=m,m=b):(o(m,y),b=Pm(g,m.mode,b),b.return=m,m=b),i(m)):o(m,y)}return function(m,y,g,b){try{zs=0;var P=x(m,y,g,b);return Ui=null,P}catch(E){if(E===Ji||E===qp)throw E;var S=yo(29,E,null,m.mode);return S.lanes=b,S.return=m,S}}}var pa=vx(!0),xx=vx(!1),ln=!1;function sh(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function yy(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Tn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function vn(e,t,o){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(de&2)!==0){var n=r.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),r.pending=t,t=mp(e),fx(e,null,o),t}return Vp(e,r,t,o),mp(e)}function Ts(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194048)!==0)){var r=t.lanes;r&=e.pendingLanes,o|=r,t.lanes=o,Lv(e,o)}}function Am(e,t){var o=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,o===r)){var n=null,a=null;if(o=o.firstBaseUpdate,o!==null){do{var i={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};a===null?n=a=i:a=a.next=i,o=o.next}while(o!==null);a===null?n=a=t:a=a.next=t}else n=a=t;o={baseState:r.baseState,firstBaseUpdate:n,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}var hy=!1;function vs(){if(hy){var e=Bi;if(e!==null)throw e}}function xs(e,t,o,r){hy=!1;var n=e.updateQueue;ln=!1;var a=n.firstBaseUpdate,i=n.lastBaseUpdate,l=n.shared.pending;if(l!==null){n.shared.pending=null;var s=l,u=s.next;s.next=null,i===null?a=u:i.next=u,i=s;var p=e.alternate;p!==null&&(p=p.updateQueue,l=p.lastBaseUpdate,l!==i&&(l===null?p.firstBaseUpdate=u:l.next=u,p.lastBaseUpdate=s))}if(a!==null){var f=n.baseState;i=0,p=u=s=null,l=a;do{var d=l.lane&-536870913,c=d!==l.lane;if(c?(ae&d)===d:(r&d)===d){d!==0&&d===Vi&&(hy=!0),p!==null&&(p=p.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var T=e,v=l;d=t;var x=o;switch(v.tag){case 1:if(T=v.payload,typeof T=="function"){f=T.call(x,f,d);break e}f=T;break e;case 3:T.flags=T.flags&-65537|128;case 0:if(T=v.payload,d=typeof T=="function"?T.call(x,f,d):T,d==null)break e;f=Le({},f,d);break e;case 2:ln=!0}}d=l.callback,d!==null&&(e.flags|=64,c&&(e.flags|=8192),c=n.callbacks,c===null?n.callbacks=[d]:c.push(d))}else c={lane:d,tag:l.tag,payload:l.payload,callback:l.callback,next:null},p===null?(u=p=c,s=f):p=p.next=c,i|=d;if(l=l.next,l===null){if(l=n.shared.pending,l===null)break;c=l,l=c.next,c.next=null,n.lastBaseUpdate=c,n.shared.pending=null}}while(!0);p===null&&(s=f),n.baseState=s,n.firstBaseUpdate=u,n.lastBaseUpdate=p,a===null&&(n.shared.lanes=0),Mn|=i,e.lanes=i,e.memoizedState=f}}function Sx(e,t){if(typeof e!="function")throw Error(z(191,e));e.call(t)}function Cx(e,t){var o=e.callbacks;if(o!==null)for(e.callbacks=null,e=0;e<o.length;e++)Sx(o[e],t)}var qi=yr(null),bp=yr(0);function _0(e,t){e=qr,we(bp,e),we(qi,t),qr=e|t.baseLanes}function gy(){we(bp,qr),we(qi,qi.current)}function uh(){qr=bp.current,gt(qi),gt(bp)}var So=yr(null),Ho=null;function un(e){var t=e.alternate;we(et,et.current&1),we(So,e),Ho===null&&(t===null||qi.current!==null||t.memoizedState!==null)&&(Ho=e)}function by(e){we(et,et.current),we(So,e),Ho===null&&(Ho=e)}function Ex(e){e.tag===22?(we(et,et.current),we(So,e),Ho===null&&(Ho=e)):cn(e)}function cn(){we(et,et.current),we(So,So.current)}function mo(e){gt(So),Ho===e&&(Ho=null),gt(et)}var et=yr(0);function Tp(e){for(var t=e;t!==null;){if(t.tag===13){var o=t.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||jy(o)||ky(o)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Hr=0,W=null,Re=null,nt=null,vp=!1,ji=!1,fa=!1,xp=0,Bs=0,ki=null,AA=0;function Qe(){throw Error(z(321))}function ch(e,t){if(t===null)return!1;for(var o=0;o<t.length&&o<e.length;o++)if(!xo(e[o],t[o]))return!1;return!0}function ph(e,t,o,r,n,a){return Hr=a,W=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,$.H=e===null||e.memoizedState===null?tS:Sh,fa=!1,a=o(r,n),fa=!1,ji&&(a=Rx(t,o,r,n)),Px(e),a}function Px(e){$.H=Us;var t=Re!==null&&Re.next!==null;if(Hr=0,nt=Re=W=null,vp=!1,Bs=0,ki=null,t)throw Error(z(300));e===null||lt||(e=e.dependencies,e!==null&&hp(e)&&(lt=!0))}function Rx(e,t,o,r){W=e;var n=0;do{if(ji&&(ki=null),Bs=0,ji=!1,25<=n)throw Error(z(301));if(n+=1,nt=Re=null,e.updateQueue!=null){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}$.H=oS,a=t(o,r)}while(ji);return a}function MA(){var e=$.H,t=e.useState()[0];return t=typeof t.then=="function"?Xs(t):t,e=e.useState()[0],(Re!==null?Re.memoizedState:null)!==e&&(W.flags|=1024),t}function fh(){var e=xp!==0;return xp=0,e}function dh(e,t,o){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o}function mh(e){if(vp){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}vp=!1}Hr=0,nt=Re=W=null,ji=!1,Bs=xp=0,ki=null}function Yt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return nt===null?W.memoizedState=nt=e:nt=nt.next=e,nt}function tt(){if(Re===null){var e=W.alternate;e=e!==null?e.memoizedState:null}else e=Re.next;var t=nt===null?W.memoizedState:nt.next;if(t!==null)nt=t,Re=e;else{if(e===null)throw W.alternate===null?Error(z(467)):Error(z(310));Re=e,e={memoizedState:Re.memoizedState,baseState:Re.baseState,baseQueue:Re.baseQueue,queue:Re.queue,next:null},nt===null?W.memoizedState=nt=e:nt=nt.next=e}return nt}function Gp(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Xs(e){var t=Bs;return Bs+=1,ki===null&&(ki=[]),e=Tx(ki,e,t),t=W,(nt===null?t.memoizedState:nt.next)===null&&(t=t.alternate,$.H=t===null||t.memoizedState===null?tS:Sh),e}function Fp(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Xs(e);if(e.$$typeof===Dr)return Mt(e)}throw Error(z(438,String(e)))}function yh(e){var t=null,o=W.updateQueue;if(o!==null&&(t=o.memoCache),t==null){var r=W.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),o===null&&(o=Gp(),W.updateQueue=o),o.memoCache=t,o=t.data[t.index],o===void 0)for(o=t.data[t.index]=Array(e),r=0;r<e;r++)o[r]=mO;return t.index++,o}function Ir(e,t){return typeof t=="function"?t(e):t}function Jc(e){var t=tt();return hh(t,Re,e)}function hh(e,t,o){var r=e.queue;if(r===null)throw Error(z(311));r.lastRenderedReducer=o;var n=e.baseQueue,a=r.pending;if(a!==null){if(n!==null){var i=n.next;n.next=a.next,a.next=i}t.baseQueue=n=a,r.pending=null}if(a=e.baseState,n===null)e.memoizedState=a;else{t=n.next;var l=i=null,s=null,u=t,p=!1;do{var f=u.lane&-536870913;if(f!==u.lane?(ae&f)===f:(Hr&f)===f){var d=u.revertLane;if(d===0)s!==null&&(s=s.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===Vi&&(p=!0);else if((Hr&d)===d){u=u.next,d===Vi&&(p=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},s===null?(l=s=f,i=a):s=s.next=f,W.lanes|=d,Mn|=d;f=u.action,fa&&o(a,f),a=u.hasEagerState?u.eagerState:o(a,f)}else d={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},s===null?(l=s=d,i=a):s=s.next=d,W.lanes|=f,Mn|=f;u=u.next}while(u!==null&&u!==t);if(s===null?i=a:s.next=l,!xo(a,e.memoizedState)&&(lt=!0,p&&(o=Bi,o!==null)))throw o;e.memoizedState=a,e.baseState=i,e.baseQueue=s,r.lastRenderedState=a}return n===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Mm(e){var t=tt(),o=t.queue;if(o===null)throw Error(z(311));o.lastRenderedReducer=e;var r=o.dispatch,n=o.pending,a=t.memoizedState;if(n!==null){o.pending=null;var i=n=n.next;do a=e(a,i.action),i=i.next;while(i!==n);xo(a,t.memoizedState)||(lt=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),o.lastRenderedState=a}return[a,r]}function Ox(e,t,o){var r=W,n=tt(),a=le;if(a){if(o===void 0)throw Error(z(407));o=o()}else o=t();var i=!xo((Re||n).memoizedState,o);if(i&&(n.memoizedState=o,lt=!0),n=n.queue,gh(Nx.bind(null,r,n,e),[e]),n.getSnapshot!==t||i||nt!==null&&nt.memoizedState.tag&1){if(r.flags|=2048,Gi(9,{destroy:void 0},Mx.bind(null,r,n,o,t),null),Oe===null)throw Error(z(349));a||(Hr&127)!==0||Ax(r,t,o)}return o}function Ax(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=W.updateQueue,t===null?(t=Gp(),W.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function Mx(e,t,o,r){t.value=o,t.getSnapshot=r,wx(t)&&_x(e)}function Nx(e,t,o){return o(function(){wx(t)&&_x(e)})}function wx(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!xo(e,o)}catch{return!0}}function _x(e){var t=ga(e,2);t!==null&&to(t,e,2)}function Ty(e){var t=Yt();if(typeof e=="function"){var o=e;if(e=o(),fa){fn(!0);try{o()}finally{fn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ir,lastRenderedState:e},t}function Dx(e,t,o,r){return e.baseState=o,hh(e,Re,typeof r=="function"?r:Ir)}function NA(e,t,o,r,n){if(Yp(e))throw Error(z(485));if(e=t.action,e!==null){var a={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){a.listeners.push(i)}};$.T!==null?o(!0):a.isTransition=!1,r(a),o=t.pending,o===null?(a.next=t.pending=a,zx(t,a)):(a.next=o.next,t.pending=o.next=a)}}function zx(e,t){var o=t.action,r=t.payload,n=e.state;if(t.isTransition){var a=$.T,i={};$.T=i;try{var l=o(n,r),s=$.S;s!==null&&s(i,l),D0(e,t,l)}catch(u){vy(e,t,u)}finally{a!==null&&i.types!==null&&(a.types=i.types),$.T=a}}else try{a=o(n,r),D0(e,t,a)}catch(u){vy(e,t,u)}}function D0(e,t,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(r){z0(e,t,r)},function(r){return vy(e,t,r)}):z0(e,t,o)}function z0(e,t,o){t.status="fulfilled",t.value=o,Bx(t),e.state=o,t=e.pending,t!==null&&(o=t.next,o===t?e.pending=null:(o=o.next,t.next=o,zx(e,o)))}function vy(e,t,o){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status="rejected",t.reason=o,Bx(t),t=t.next;while(t!==r)}e.action=null}function Bx(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Ux(e,t){return t}function B0(e,t){if(le){var o=Oe.formState;if(o!==null){e:{var r=W;if(le){if(ke){t:{for(var n=ke,a=Lo;n.nodeType!==8;){if(!a){n=null;break t}if(n=Io(n.nextSibling),n===null){n=null;break t}}a=n.data,n=a==="F!"||a==="F"?n:null}if(n){ke=Io(n.nextSibling),r=n.data==="F!";break e}}On(r)}r=!1}r&&(t=o[0])}}return o=Yt(),o.memoizedState=o.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ux,lastRenderedState:t},o.queue=r,o=Wx.bind(null,W,r),r.dispatch=o,r=Ty(!1),a=xh.bind(null,W,!1,r.queue),r=Yt(),n={state:t,dispatch:null,action:e,pending:null},r.queue=n,o=NA.bind(null,W,n,a,o),n.dispatch=o,r.memoizedState=e,[t,o,!1]}function U0(e){var t=tt();return jx(t,Re,e)}function jx(e,t,o){if(t=hh(e,t,Ux)[0],e=Jc(Ir)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var r=Xs(t)}catch(i){throw i===Ji?qp:i}else r=t;t=tt();var n=t.queue,a=n.dispatch;return o!==t.memoizedState&&(W.flags|=2048,Gi(9,{destroy:void 0},wA.bind(null,n,o),null)),[r,a,e]}function wA(e,t){e.action=t}function j0(e){var t=tt(),o=Re;if(o!==null)return jx(t,o,e);tt(),t=t.memoizedState,o=tt();var r=o.queue.dispatch;return o.memoizedState=e,[t,r,!1]}function Gi(e,t,o,r){return e={tag:e,create:o,deps:r,inst:t,next:null},t=W.updateQueue,t===null&&(t=Gp(),W.updateQueue=t),o=t.lastEffect,o===null?t.lastEffect=e.next=e:(r=o.next,o.next=e,e.next=r,t.lastEffect=e),e}function kx(){return tt().memoizedState}function ep(e,t,o,r){var n=Yt();W.flags|=e,n.memoizedState=Gi(1|t,{destroy:void 0},o,r===void 0?null:r)}function $p(e,t,o,r){var n=tt();r=r===void 0?null:r;var a=n.memoizedState.inst;Re!==null&&r!==null&&ch(r,Re.memoizedState.deps)?n.memoizedState=Gi(t,a,o,r):(W.flags|=e,n.memoizedState=Gi(1|t,a,o,r))}function k0(e,t){ep(8390656,8,e,t)}function gh(e,t){$p(2048,8,e,t)}function _A(e){W.flags|=4;var t=W.updateQueue;if(t===null)t=Gp(),W.updateQueue=t,t.events=[e];else{var o=t.events;o===null?t.events=[e]:o.push(e)}}function Lx(e){var t=tt().memoizedState;return _A({ref:t,nextImpl:e}),function(){if((de&2)!==0)throw Error(z(440));return t.impl.apply(void 0,arguments)}}function Hx(e,t){return $p(4,2,e,t)}function Ix(e,t){return $p(4,4,e,t)}function Vx(e,t){if(typeof t=="function"){e=e();var o=t(e);return function(){typeof o=="function"?o():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function qx(e,t,o){o=o!=null?o.concat([e]):null,$p(4,4,Vx.bind(null,t,e),o)}function bh(){}function Gx(e,t){var o=tt();t=t===void 0?null:t;var r=o.memoizedState;return t!==null&&ch(t,r[1])?r[0]:(o.memoizedState=[e,t],e)}function Fx(e,t){var o=tt();t=t===void 0?null:t;var r=o.memoizedState;if(t!==null&&ch(t,r[1]))return r[0];if(r=e(),fa){fn(!0);try{e()}finally{fn(!1)}}return o.memoizedState=[r,t],r}function Th(e,t,o){return o===void 0||(Hr&1073741824)!==0&&(ae&261930)===0?e.memoizedState=t:(e.memoizedState=o,e=DS(),W.lanes|=e,Mn|=e,o)}function $x(e,t,o,r){return xo(o,t)?o:qi.current!==null?(e=Th(e,o,r),xo(e,t)||(lt=!0),e):(Hr&42)===0||(Hr&1073741824)!==0&&(ae&261930)===0?(lt=!0,e.memoizedState=o):(e=DS(),W.lanes|=e,Mn|=e,t)}function Yx(e,t,o,r,n){var a=me.p;me.p=a!==0&&8>a?a:8;var i=$.T,l={};$.T=l,xh(e,!1,t,o);try{var s=n(),u=$.S;if(u!==null&&u(l,s),s!==null&&typeof s=="object"&&typeof s.then=="function"){var p=OA(s,r);Ss(e,t,p,vo(e))}else Ss(e,t,r,vo(e))}catch(f){Ss(e,t,{then:function(){},status:"rejected",reason:f},vo())}finally{me.p=a,i!==null&&l.types!==null&&(i.types=l.types),$.T=i}}function DA(){}function xy(e,t,o,r){if(e.tag!==5)throw Error(z(476));var n=Kx(e).queue;Yx(e,n,t,na,o===null?DA:function(){return Xx(e),o(r)})}function Kx(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:na,baseState:na,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ir,lastRenderedState:na},next:null};var o={};return t.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ir,lastRenderedState:o},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Xx(e){var t=Kx(e);t.next===null&&(t=e.alternate.memoizedState),Ss(e,t.next.queue,{},vo())}function vh(){return Mt(Ls)}function Qx(){return tt().memoizedState}function Zx(){return tt().memoizedState}function zA(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var o=vo();e=Tn(o);var r=vn(t,e,o);r!==null&&(to(r,t,o),Ts(r,t,o)),t={cache:ah()},e.payload=t;return}t=t.return}}function BA(e,t,o){var r=vo();o={lane:r,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Yp(e)?Jx(t,o):(o=th(e,t,o,r),o!==null&&(to(o,e,r),eS(o,t,r)))}function Wx(e,t,o){var r=vo();Ss(e,t,o,r)}function Ss(e,t,o,r){var n={lane:r,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(Yp(e))Jx(t,n);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var i=t.lastRenderedState,l=a(i,o);if(n.hasEagerState=!0,n.eagerState=l,xo(l,i))return Vp(e,t,n,0),Oe===null&&Ip(),!1}catch{}if(o=th(e,t,n,r),o!==null)return to(o,e,r),eS(o,t,r),!0}return!1}function xh(e,t,o,r){if(r={lane:2,revertLane:Nh(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Yp(e)){if(t)throw Error(z(479))}else t=th(e,o,r,2),t!==null&&to(t,e,2)}function Yp(e){var t=e.alternate;return e===W||t!==null&&t===W}function Jx(e,t){ji=vp=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function eS(e,t,o){if((o&4194048)!==0){var r=t.lanes;r&=e.pendingLanes,o|=r,t.lanes=o,Lv(e,o)}}var Us={readContext:Mt,use:Fp,useCallback:Qe,useContext:Qe,useEffect:Qe,useImperativeHandle:Qe,useLayoutEffect:Qe,useInsertionEffect:Qe,useMemo:Qe,useReducer:Qe,useRef:Qe,useState:Qe,useDebugValue:Qe,useDeferredValue:Qe,useTransition:Qe,useSyncExternalStore:Qe,useId:Qe,useHostTransitionStatus:Qe,useFormState:Qe,useActionState:Qe,useOptimistic:Qe,useMemoCache:Qe,useCacheRefresh:Qe};Us.useEffectEvent=Qe;var tS={readContext:Mt,use:Fp,useCallback:function(e,t){return Yt().memoizedState=[e,t===void 0?null:t],e},useContext:Mt,useEffect:k0,useImperativeHandle:function(e,t,o){o=o!=null?o.concat([e]):null,ep(4194308,4,Vx.bind(null,t,e),o)},useLayoutEffect:function(e,t){return ep(4194308,4,e,t)},useInsertionEffect:function(e,t){ep(4,2,e,t)},useMemo:function(e,t){var o=Yt();t=t===void 0?null:t;var r=e();if(fa){fn(!0);try{e()}finally{fn(!1)}}return o.memoizedState=[r,t],r},useReducer:function(e,t,o){var r=Yt();if(o!==void 0){var n=o(t);if(fa){fn(!0);try{o(t)}finally{fn(!1)}}}else n=t;return r.memoizedState=r.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=BA.bind(null,W,e),[r.memoizedState,e]},useRef:function(e){var t=Yt();return e={current:e},t.memoizedState=e},useState:function(e){e=Ty(e);var t=e.queue,o=Wx.bind(null,W,t);return t.dispatch=o,[e.memoizedState,o]},useDebugValue:bh,useDeferredValue:function(e,t){var o=Yt();return Th(o,e,t)},useTransition:function(){var e=Ty(!1);return e=Yx.bind(null,W,e.queue,!0,!1),Yt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,o){var r=W,n=Yt();if(le){if(o===void 0)throw Error(z(407));o=o()}else{if(o=t(),Oe===null)throw Error(z(349));(ae&127)!==0||Ax(r,t,o)}n.memoizedState=o;var a={value:o,getSnapshot:t};return n.queue=a,k0(Nx.bind(null,r,a,e),[e]),r.flags|=2048,Gi(9,{destroy:void 0},Mx.bind(null,r,a,o,t),null),o},useId:function(){var e=Yt(),t=Oe.identifierPrefix;if(le){var o=fr,r=pr;o=(r&~(1<<32-To(r)-1)).toString(32)+o,t="_"+t+"R_"+o,o=xp++,0<o&&(t+="H"+o.toString(32)),t+="_"}else o=AA++,t="_"+t+"r_"+o.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:vh,useFormState:B0,useActionState:B0,useOptimistic:function(e){var t=Yt();t.memoizedState=t.baseState=e;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=o,t=xh.bind(null,W,!0,o),o.dispatch=t,[e,t]},useMemoCache:yh,useCacheRefresh:function(){return Yt().memoizedState=zA.bind(null,W)},useEffectEvent:function(e){var t=Yt(),o={impl:e};return t.memoizedState=o,function(){if((de&2)!==0)throw Error(z(440));return o.impl.apply(void 0,arguments)}}},Sh={readContext:Mt,use:Fp,useCallback:Gx,useContext:Mt,useEffect:gh,useImperativeHandle:qx,useInsertionEffect:Hx,useLayoutEffect:Ix,useMemo:Fx,useReducer:Jc,useRef:kx,useState:function(){return Jc(Ir)},useDebugValue:bh,useDeferredValue:function(e,t){var o=tt();return $x(o,Re.memoizedState,e,t)},useTransition:function(){var e=Jc(Ir)[0],t=tt().memoizedState;return[typeof e=="boolean"?e:Xs(e),t]},useSyncExternalStore:Ox,useId:Qx,useHostTransitionStatus:vh,useFormState:U0,useActionState:U0,useOptimistic:function(e,t){var o=tt();return Dx(o,Re,e,t)},useMemoCache:yh,useCacheRefresh:Zx};Sh.useEffectEvent=Lx;var oS={readContext:Mt,use:Fp,useCallback:Gx,useContext:Mt,useEffect:gh,useImperativeHandle:qx,useInsertionEffect:Hx,useLayoutEffect:Ix,useMemo:Fx,useReducer:Mm,useRef:kx,useState:function(){return Mm(Ir)},useDebugValue:bh,useDeferredValue:function(e,t){var o=tt();return Re===null?Th(o,e,t):$x(o,Re.memoizedState,e,t)},useTransition:function(){var e=Mm(Ir)[0],t=tt().memoizedState;return[typeof e=="boolean"?e:Xs(e),t]},useSyncExternalStore:Ox,useId:Qx,useHostTransitionStatus:vh,useFormState:j0,useActionState:j0,useOptimistic:function(e,t){var o=tt();return Re!==null?Dx(o,Re,e,t):(o.baseState=e,[e,o.queue.dispatch])},useMemoCache:yh,useCacheRefresh:Zx};oS.useEffectEvent=Lx;function Nm(e,t,o,r){t=e.memoizedState,o=o(r,t),o=o==null?t:Le({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var Sy={enqueueSetState:function(e,t,o){e=e._reactInternals;var r=vo(),n=Tn(r);n.payload=t,o!=null&&(n.callback=o),t=vn(e,n,r),t!==null&&(to(t,e,r),Ts(t,e,r))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var r=vo(),n=Tn(r);n.tag=1,n.payload=t,o!=null&&(n.callback=o),t=vn(e,n,r),t!==null&&(to(t,e,r),Ts(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=vo(),r=Tn(o);r.tag=2,t!=null&&(r.callback=t),t=vn(e,r,o),t!==null&&(to(t,e,o),Ts(t,e,o))}};function L0(e,t,o,r,n,a,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,a,i):t.prototype&&t.prototype.isPureReactComponent?!ws(o,r)||!ws(n,a):!0}function H0(e,t,o,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,r),t.state!==e&&Sy.enqueueReplaceState(t,t.state,null)}function da(e,t){var o=t;if("ref"in t){o={};for(var r in t)r!=="ref"&&(o[r]=t[r])}if(e=e.defaultProps){o===t&&(o=Le({},o));for(var n in e)o[n]===void 0&&(o[n]=e[n])}return o}function rS(e){dp(e)}function nS(e){console.error(e)}function aS(e){dp(e)}function Sp(e,t){try{var o=e.onUncaughtError;o(t.value,{componentStack:t.stack})}catch(r){setTimeout(function(){throw r})}}function I0(e,t,o){try{var r=e.onCaughtError;r(o.value,{componentStack:o.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Cy(e,t,o){return o=Tn(o),o.tag=3,o.payload={element:null},o.callback=function(){Sp(e,t)},o}function iS(e){return e=Tn(e),e.tag=3,e}function lS(e,t,o,r){var n=o.type.getDerivedStateFromError;if(typeof n=="function"){var a=r.value;e.payload=function(){return n(a)},e.callback=function(){I0(t,o,r)}}var i=o.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(e.callback=function(){I0(t,o,r),typeof n!="function"&&(xn===null?xn=new Set([this]):xn.add(this));var l=r.stack;this.componentDidCatch(r.value,{componentStack:l!==null?l:""})})}function UA(e,t,o,r,n){if(o.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(t=o.alternate,t!==null&&Wi(t,o,n,!0),o=So.current,o!==null){switch(o.tag){case 31:case 13:return Ho===null?Op():o.alternate===null&&Ze===0&&(Ze=3),o.flags&=-257,o.flags|=65536,o.lanes=n,r===gp?o.flags|=16384:(t=o.updateQueue,t===null?o.updateQueue=new Set([r]):t.add(r),Im(e,r,n)),!1;case 22:return o.flags|=65536,r===gp?o.flags|=16384:(t=o.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},o.updateQueue=t):(o=t.retryQueue,o===null?t.retryQueue=new Set([r]):o.add(r)),Im(e,r,n)),!1}throw Error(z(435,o.tag))}return Im(e,r,n),Op(),!1}if(le)return t=So.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,r!==cy&&(e=Error(z(422),{cause:r}),Ds(ko(e,o)))):(r!==cy&&(t=Error(z(423),{cause:r}),Ds(ko(t,o))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,r=ko(r,o),n=Cy(e.stateNode,r,n),Am(e,n),Ze!==4&&(Ze=2)),!1;var a=Error(z(520),{cause:r});if(a=ko(a,o),Ps===null?Ps=[a]:Ps.push(a),Ze!==4&&(Ze=2),t===null)return!0;r=ko(r,o),o=t;do{switch(o.tag){case 3:return o.flags|=65536,e=n&-n,o.lanes|=e,e=Cy(o.stateNode,r,e),Am(o,e),!1;case 1:if(t=o.type,a=o.stateNode,(o.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||a!==null&&typeof a.componentDidCatch=="function"&&(xn===null||!xn.has(a))))return o.flags|=65536,n&=-n,o.lanes|=n,n=iS(n),lS(n,e,o,r),Am(o,n),!1}o=o.return}while(o!==null);return!1}var Ch=Error(z(461)),lt=!1;function Rt(e,t,o,r){t.child=e===null?xx(t,null,o,r):pa(t,e.child,o,r)}function V0(e,t,o,r,n){o=o.render;var a=t.ref;if("ref"in r){var i={};for(var l in r)l!=="ref"&&(i[l]=r[l])}else i=r;return ca(t),r=ph(e,t,o,i,a,n),l=fh(),e!==null&&!lt?(dh(e,t,n),Vr(e,t,n)):(le&&l&&rh(t),t.flags|=1,Rt(e,t,r,n),t.child)}function q0(e,t,o,r,n){if(e===null){var a=o.type;return typeof a=="function"&&!oh(a)&&a.defaultProps===void 0&&o.compare===null?(t.tag=15,t.type=a,sS(e,t,a,r,n)):(e=Zc(o.type,null,r,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Eh(e,n)){var i=a.memoizedProps;if(o=o.compare,o=o!==null?o:ws,o(i,r)&&e.ref===t.ref)return Vr(e,t,n)}return t.flags|=1,e=Ur(a,r),e.ref=t.ref,e.return=t,t.child=e}function sS(e,t,o,r,n){if(e!==null){var a=e.memoizedProps;if(ws(a,r)&&e.ref===t.ref)if(lt=!1,t.pendingProps=r=a,Eh(e,n))(e.flags&131072)!==0&&(lt=!0);else return t.lanes=e.lanes,Vr(e,t,n)}return Ey(e,t,o,r,n)}function uS(e,t,o,r){var n=r.children,a=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((t.flags&128)!==0){if(a=a!==null?a.baseLanes|o:o,e!==null){for(r=t.child=e.child,n=0;r!==null;)n=n|r.lanes|r.childLanes,r=r.sibling;r=n&~a}else r=0,t.child=null;return G0(e,t,a,o,r)}if((o&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Wc(t,a!==null?a.cachePool:null),a!==null?_0(t,a):gy(),Ex(t);else return r=t.lanes=536870912,G0(e,t,a!==null?a.baseLanes|o:o,o,r)}else a!==null?(Wc(t,a.cachePool),_0(t,a),cn(t),t.memoizedState=null):(e!==null&&Wc(t,null),gy(),cn(t));return Rt(e,t,n,o),t.child}function ds(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function G0(e,t,o,r,n){var a=ih();return a=a===null?null:{parent:it._currentValue,pool:a},t.memoizedState={baseLanes:o,cachePool:a},e!==null&&Wc(t,null),gy(),Ex(t),e!==null&&Wi(e,t,r,!0),t.childLanes=n,null}function tp(e,t){return t=Cp({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function F0(e,t,o){return pa(t,e.child,null,o),e=tp(t,t.pendingProps),e.flags|=2,mo(t),t.memoizedState=null,e}function jA(e,t,o){var r=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(le){if(r.mode==="hidden")return e=tp(t,r),t.lanes=536870912,ds(null,e);if(by(t),(e=ke)?(e=t1(e,Lo),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Rn!==null?{id:pr,overflow:fr}:null,retryLane:536870912,hydrationErrors:null},o=mx(e),o.return=t,t.child=o,At=t,ke=null)):e=null,e===null)throw On(t);return t.lanes=536870912,null}return tp(t,r)}var a=e.memoizedState;if(a!==null){var i=a.dehydrated;if(by(t),n)if(t.flags&256)t.flags&=-257,t=F0(e,t,o);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(z(558));else if(lt||Wi(e,t,o,!1),n=(o&e.childLanes)!==0,lt||n){if(r=Oe,r!==null&&(i=Hv(r,o),i!==0&&i!==a.retryLane))throw a.retryLane=i,ga(e,i),to(r,e,i),Ch;Op(),t=F0(e,t,o)}else e=a.treeContext,ke=Io(i.nextSibling),At=t,le=!0,bn=null,Lo=!1,e!==null&&hx(t,e),t=tp(t,r),t.flags|=4096;return t}return e=Ur(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function op(e,t){var o=t.ref;if(o===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(z(284));(e===null||e.ref!==o)&&(t.flags|=4194816)}}function Ey(e,t,o,r,n){return ca(t),o=ph(e,t,o,r,void 0,n),r=fh(),e!==null&&!lt?(dh(e,t,n),Vr(e,t,n)):(le&&r&&rh(t),t.flags|=1,Rt(e,t,o,n),t.child)}function $0(e,t,o,r,n,a){return ca(t),t.updateQueue=null,o=Rx(t,r,o,n),Px(e),r=fh(),e!==null&&!lt?(dh(e,t,a),Vr(e,t,a)):(le&&r&&rh(t),t.flags|=1,Rt(e,t,o,a),t.child)}function Y0(e,t,o,r,n){if(ca(t),t.stateNode===null){var a=Ai,i=o.contextType;typeof i=="object"&&i!==null&&(a=Mt(i)),a=new o(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Sy,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},sh(t),i=o.contextType,a.context=typeof i=="object"&&i!==null?Mt(i):Ai,a.state=t.memoizedState,i=o.getDerivedStateFromProps,typeof i=="function"&&(Nm(t,o,i,r),a.state=t.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof a.getSnapshotBeforeUpdate=="function"||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(i=a.state,typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),i!==a.state&&Sy.enqueueReplaceState(a,a.state,null),xs(t,r,a,n),vs(),a.state=t.memoizedState),typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var l=t.memoizedProps,s=da(o,l);a.props=s;var u=a.context,p=o.contextType;i=Ai,typeof p=="object"&&p!==null&&(i=Mt(p));var f=o.getDerivedStateFromProps;p=typeof f=="function"||typeof a.getSnapshotBeforeUpdate=="function",l=t.pendingProps!==l,p||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l||u!==i)&&H0(t,a,r,i),ln=!1;var d=t.memoizedState;a.state=d,xs(t,r,a,n),vs(),u=t.memoizedState,l||d!==u||ln?(typeof f=="function"&&(Nm(t,o,f,r),u=t.memoizedState),(s=ln||L0(t,o,s,r,d,u,i))?(p||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=i,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,yy(e,t),i=t.memoizedProps,p=da(o,i),a.props=p,f=t.pendingProps,d=a.context,u=o.contextType,s=Ai,typeof u=="object"&&u!==null&&(s=Mt(u)),l=o.getDerivedStateFromProps,(u=typeof l=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(i!==f||d!==s)&&H0(t,a,r,s),ln=!1,d=t.memoizedState,a.state=d,xs(t,r,a,n),vs();var c=t.memoizedState;i!==f||d!==c||ln||e!==null&&e.dependencies!==null&&hp(e.dependencies)?(typeof l=="function"&&(Nm(t,o,l,r),c=t.memoizedState),(p=ln||L0(t,o,p,r,d,c,s)||e!==null&&e.dependencies!==null&&hp(e.dependencies))?(u||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,c,s),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,c,s)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=s,r=p):(typeof a.componentDidUpdate!="function"||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,op(e,t),r=(t.flags&128)!==0,a||r?(a=t.stateNode,o=r&&typeof o.getDerivedStateFromError!="function"?null:a.render(),t.flags|=1,e!==null&&r?(t.child=pa(t,e.child,null,n),t.child=pa(t,null,o,n)):Rt(e,t,o,n),t.memoizedState=a.state,e=t.child):e=Vr(e,t,n),e}function K0(e,t,o,r){return ua(),t.flags|=256,Rt(e,t,o,r),t.child}var wm={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function _m(e){return{baseLanes:e,cachePool:bx()}}function Dm(e,t,o){return e=e!==null?e.childLanes&~o:0,t&&(e|=ho),e}function cS(e,t,o){var r=t.pendingProps,n=!1,a=(t.flags&128)!==0,i;if((i=a)||(i=e!==null&&e.memoizedState===null?!1:(et.current&2)!==0),i&&(n=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,e===null){if(le){if(n?un(t):cn(t),(e=ke)?(e=t1(e,Lo),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Rn!==null?{id:pr,overflow:fr}:null,retryLane:536870912,hydrationErrors:null},o=mx(e),o.return=t,t.child=o,At=t,ke=null)):e=null,e===null)throw On(t);return ky(e)?t.lanes=32:t.lanes=536870912,null}var l=r.children;return r=r.fallback,n?(cn(t),n=t.mode,l=Cp({mode:"hidden",children:l},n),r=aa(r,n,o,null),l.return=t,r.return=t,l.sibling=r,t.child=l,r=t.child,r.memoizedState=_m(o),r.childLanes=Dm(e,i,o),t.memoizedState=wm,ds(null,r)):(un(t),Py(t,l))}var s=e.memoizedState;if(s!==null&&(l=s.dehydrated,l!==null)){if(a)t.flags&256?(un(t),t.flags&=-257,t=zm(e,t,o)):t.memoizedState!==null?(cn(t),t.child=e.child,t.flags|=128,t=null):(cn(t),l=r.fallback,n=t.mode,r=Cp({mode:"visible",children:r.children},n),l=aa(l,n,o,null),l.flags|=2,r.return=t,l.return=t,r.sibling=l,t.child=r,pa(t,e.child,null,o),r=t.child,r.memoizedState=_m(o),r.childLanes=Dm(e,i,o),t.memoizedState=wm,t=ds(null,r));else if(un(t),ky(l)){if(i=l.nextSibling&&l.nextSibling.dataset,i)var u=i.dgst;i=u,r=Error(z(419)),r.stack="",r.digest=i,Ds({value:r,source:null,stack:null}),t=zm(e,t,o)}else if(lt||Wi(e,t,o,!1),i=(o&e.childLanes)!==0,lt||i){if(i=Oe,i!==null&&(r=Hv(i,o),r!==0&&r!==s.retryLane))throw s.retryLane=r,ga(e,r),to(i,e,r),Ch;jy(l)||Op(),t=zm(e,t,o)}else jy(l)?(t.flags|=192,t.child=e.child,t=null):(e=s.treeContext,ke=Io(l.nextSibling),At=t,le=!0,bn=null,Lo=!1,e!==null&&hx(t,e),t=Py(t,r.children),t.flags|=4096);return t}return n?(cn(t),l=r.fallback,n=t.mode,s=e.child,u=s.sibling,r=Ur(s,{mode:"hidden",children:r.children}),r.subtreeFlags=s.subtreeFlags&65011712,u!==null?l=Ur(u,l):(l=aa(l,n,o,null),l.flags|=2),l.return=t,r.return=t,r.sibling=l,t.child=r,ds(null,r),r=t.child,l=e.child.memoizedState,l===null?l=_m(o):(n=l.cachePool,n!==null?(s=it._currentValue,n=n.parent!==s?{parent:s,pool:s}:n):n=bx(),l={baseLanes:l.baseLanes|o,cachePool:n}),r.memoizedState=l,r.childLanes=Dm(e,i,o),t.memoizedState=wm,ds(e.child,r)):(un(t),o=e.child,e=o.sibling,o=Ur(o,{mode:"visible",children:r.children}),o.return=t,o.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=o,t.memoizedState=null,o)}function Py(e,t){return t=Cp({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Cp(e,t){return e=yo(22,e,null,t),e.lanes=0,e}function zm(e,t,o){return pa(t,e.child,null,o),e=Py(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function X0(e,t,o){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),fy(e.return,t,o)}function Bm(e,t,o,r,n,a){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:o,tailMode:n,treeForkCount:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=o,i.tailMode=n,i.treeForkCount=a)}function pS(e,t,o){var r=t.pendingProps,n=r.revealOrder,a=r.tail;r=r.children;var i=et.current,l=(i&2)!==0;if(l?(i=i&1|2,t.flags|=128):i&=1,we(et,i),Rt(e,t,r,o),r=le?_s:0,!l&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&X0(e,o,t);else if(e.tag===19)X0(e,o,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(n){case"forwards":for(o=t.child,n=null;o!==null;)e=o.alternate,e!==null&&Tp(e)===null&&(n=o),o=o.sibling;o=n,o===null?(n=t.child,t.child=null):(n=o.sibling,o.sibling=null),Bm(t,!1,n,o,a,r);break;case"backwards":case"unstable_legacy-backwards":for(o=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&Tp(e)===null){t.child=n;break}e=n.sibling,n.sibling=o,o=n,n=e}Bm(t,!0,o,null,a,r);break;case"together":Bm(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Vr(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),Mn|=t.lanes,(o&t.childLanes)===0)if(e!==null){if(Wi(e,t,o,!1),(o&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(z(153));if(t.child!==null){for(e=t.child,o=Ur(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=Ur(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function Eh(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&hp(e)))}function kA(e,t,o){switch(t.tag){case 3:up(t,t.stateNode.containerInfo),sn(t,it,e.memoizedState.cache),ua();break;case 27:case 5:Jm(t);break;case 4:up(t,t.stateNode.containerInfo);break;case 10:sn(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,by(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated!==null?(un(t),t.flags|=128,null):(o&t.child.childLanes)!==0?cS(e,t,o):(un(t),e=Vr(e,t,o),e!==null?e.sibling:null);un(t);break;case 19:var n=(e.flags&128)!==0;if(r=(o&t.childLanes)!==0,r||(Wi(e,t,o,!1),r=(o&t.childLanes)!==0),n){if(r)return pS(e,t,o);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),we(et,et.current),r)break;return null;case 22:return t.lanes=0,uS(e,t,o,t.pendingProps);case 24:sn(t,it,e.memoizedState.cache)}return Vr(e,t,o)}function fS(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps)lt=!0;else{if(!Eh(e,o)&&(t.flags&128)===0)return lt=!1,kA(e,t,o);lt=(e.flags&131072)!==0}else lt=!1,le&&(t.flags&1048576)!==0&&yx(t,_s,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=oa(t.elementType),t.type=e,typeof e=="function")oh(e)?(r=da(e,r),t.tag=1,t=Y0(null,t,e,r,o)):(t.tag=0,t=Ey(null,t,e,r,o));else{if(e!=null){var n=e.$$typeof;if(n===Vy){t.tag=11,t=V0(null,t,e,r,o);break e}else if(n===qy){t.tag=14,t=q0(null,t,e,r,o);break e}}throw t=Zm(e)||e,Error(z(306,t,""))}}return t;case 0:return Ey(e,t,t.type,t.pendingProps,o);case 1:return r=t.type,n=da(r,t.pendingProps),Y0(e,t,r,n,o);case 3:e:{if(up(t,t.stateNode.containerInfo),e===null)throw Error(z(387));r=t.pendingProps;var a=t.memoizedState;n=a.element,yy(e,t),xs(t,r,null,o);var i=t.memoizedState;if(r=i.cache,sn(t,it,r),r!==a.cache&&dy(t,[it],o,!0),vs(),r=i.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){t=K0(e,t,r,o);break e}else if(r!==n){n=ko(Error(z(424)),t),Ds(n),t=K0(e,t,r,o);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,ke=Io(e.firstChild),At=t,le=!0,bn=null,Lo=!0,o=xx(t,null,r,o),t.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(ua(),r===n){t=Vr(e,t,o);break e}Rt(e,t,r,o)}t=t.child}return t;case 26:return op(e,t),e===null?(o=gv(t.type,null,t.pendingProps,null))?t.memoizedState=o:le||(o=t.type,e=t.pendingProps,r=wp(gn.current).createElement(o),r[Ot]=t,r[oo]=e,Nt(r,o,e),ht(r),t.stateNode=r):t.memoizedState=gv(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Jm(t),e===null&&le&&(r=t.stateNode=o1(t.type,t.pendingProps,gn.current),At=t,Lo=!0,n=ke,wn(t.type)?(Ly=n,ke=Io(r.firstChild)):ke=n),Rt(e,t,t.pendingProps.children,o),op(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&le&&((n=r=ke)&&(r=fM(r,t.type,t.pendingProps,Lo),r!==null?(t.stateNode=r,At=t,ke=Io(r.firstChild),Lo=!1,n=!0):n=!1),n||On(t)),Jm(t),n=t.type,a=t.pendingProps,i=e!==null?e.memoizedProps:null,r=a.children,By(n,a)?r=null:i!==null&&By(n,i)&&(t.flags|=32),t.memoizedState!==null&&(n=ph(e,t,MA,null,null,o),Ls._currentValue=n),op(e,t),Rt(e,t,r,o),t.child;case 6:return e===null&&le&&((e=o=ke)&&(o=dM(o,t.pendingProps,Lo),o!==null?(t.stateNode=o,At=t,ke=null,e=!0):e=!1),e||On(t)),null;case 13:return cS(e,t,o);case 4:return up(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=pa(t,null,r,o):Rt(e,t,r,o),t.child;case 11:return V0(e,t,t.type,t.pendingProps,o);case 7:return Rt(e,t,t.pendingProps,o),t.child;case 8:return Rt(e,t,t.pendingProps.children,o),t.child;case 12:return Rt(e,t,t.pendingProps.children,o),t.child;case 10:return r=t.pendingProps,sn(t,t.type,r.value),Rt(e,t,r.children,o),t.child;case 9:return n=t.type._context,r=t.pendingProps.children,ca(t),n=Mt(n),r=r(n),t.flags|=1,Rt(e,t,r,o),t.child;case 14:return q0(e,t,t.type,t.pendingProps,o);case 15:return sS(e,t,t.type,t.pendingProps,o);case 19:return pS(e,t,o);case 31:return jA(e,t,o);case 22:return uS(e,t,o,t.pendingProps);case 24:return ca(t),r=Mt(it),e===null?(n=ih(),n===null&&(n=Oe,a=ah(),n.pooledCache=a,a.refCount++,a!==null&&(n.pooledCacheLanes|=o),n=a),t.memoizedState={parent:r,cache:n},sh(t),sn(t,it,n)):((e.lanes&o)!==0&&(yy(e,t),xs(t,null,null,o),vs()),n=e.memoizedState,a=t.memoizedState,n.parent!==r?(n={parent:r,cache:r},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),sn(t,it,r)):(r=a.cache,sn(t,it,r),r!==n.cache&&dy(t,[it],o,!0))),Rt(e,t,t.pendingProps.children,o),t.child;case 29:throw t.pendingProps}throw Error(z(156,t.tag))}function Or(e){e.flags|=4}function Um(e,t,o,r,n){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(n&335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(US())e.flags|=8192;else throw la=gp,lh}else e.flags&=-16777217}function Q0(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!a1(t))if(US())e.flags|=8192;else throw la=gp,lh}function Hc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?jv():536870912,e.lanes|=t,Fi|=t)}function is(e,t){if(!le)switch(e.tailMode){case"hidden":t=e.tail;for(var o=null;t!==null;)t.alternate!==null&&(o=t),t=t.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var r=null;o!==null;)o.alternate!==null&&(r=o),o=o.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function je(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=0,r=0;if(t)for(var n=e.child;n!==null;)o|=n.lanes|n.childLanes,r|=n.subtreeFlags&65011712,r|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)o|=n.lanes|n.childLanes,r|=n.subtreeFlags,r|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=r,e.childLanes=o,t}function LA(e,t,o){var r=t.pendingProps;switch(nh(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return je(t),null;case 1:return je(t),null;case 3:return o=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),jr(it),Li(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(hi(t)?Or(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Om())),je(t),null;case 26:var n=t.type,a=t.memoizedState;return e===null?(Or(t),a!==null?(je(t),Q0(t,a)):(je(t),Um(t,n,null,r,o))):a?a!==e.memoizedState?(Or(t),je(t),Q0(t,a)):(je(t),t.flags&=-16777217):(e=e.memoizedProps,e!==r&&Or(t),je(t),Um(t,n,e,r,o)),null;case 27:if(cp(t),o=gn.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Or(t);else{if(!r){if(t.stateNode===null)throw Error(z(166));return je(t),null}e=mr.current,hi(t)?P0(t,e):(e=o1(n,r,o),t.stateNode=e,Or(t))}return je(t),null;case 5:if(cp(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Or(t);else{if(!r){if(t.stateNode===null)throw Error(z(166));return je(t),null}if(a=mr.current,hi(t))P0(t,a);else{var i=wp(gn.current);switch(a){case 1:a=i.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:a=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":a=i.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":a=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":a=i.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a=typeof r.is=="string"?i.createElement("select",{is:r.is}):i.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a=typeof r.is=="string"?i.createElement(n,{is:r.is}):i.createElement(n)}}a[Ot]=t,a[oo]=r;e:for(i=t.child;i!==null;){if(i.tag===5||i.tag===6)a.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break e;for(;i.sibling===null;){if(i.return===null||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}t.stateNode=a;e:switch(Nt(a,n,r),n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Or(t)}}return je(t),Um(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,o),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Or(t);else{if(typeof r!="string"&&t.stateNode===null)throw Error(z(166));if(e=gn.current,hi(t)){if(e=t.stateNode,o=t.memoizedProps,r=null,n=At,n!==null)switch(n.tag){case 27:case 5:r=n.memoizedProps}e[Ot]=t,e=!!(e.nodeValue===o||r!==null&&r.suppressHydrationWarning===!0||WS(e.nodeValue,o)),e||On(t,!0)}else e=wp(e).createTextNode(r),e[Ot]=t,t.stateNode=e}return je(t),null;case 31:if(o=t.memoizedState,e===null||e.memoizedState!==null){if(r=hi(t),o!==null){if(e===null){if(!r)throw Error(z(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(z(557));e[Ot]=t}else ua(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;je(t),e=!1}else o=Om(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),e=!0;if(!e)return t.flags&256?(mo(t),t):(mo(t),null);if((t.flags&128)!==0)throw Error(z(558))}return je(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=hi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!n)throw Error(z(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(z(317));n[Ot]=t}else ua(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;je(t),n=!1}else n=Om(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(mo(t),t):(mo(t),null)}return mo(t),(t.flags&128)!==0?(t.lanes=o,t):(o=r!==null,e=e!==null&&e.memoizedState!==null,o&&(r=t.child,n=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(n=r.alternate.memoizedState.cachePool.pool),a=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(a=r.memoizedState.cachePool.pool),a!==n&&(r.flags|=2048)),o!==e&&o&&(t.child.flags|=8192),Hc(t,t.updateQueue),je(t),null);case 4:return Li(),e===null&&wh(t.stateNode.containerInfo),je(t),null;case 10:return jr(t.type),je(t),null;case 19:if(gt(et),r=t.memoizedState,r===null)return je(t),null;if(n=(t.flags&128)!==0,a=r.rendering,a===null)if(n)is(r,!1);else{if(Ze!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(a=Tp(e),a!==null){for(t.flags|=128,is(r,!1),e=a.updateQueue,t.updateQueue=e,Hc(t,e),t.subtreeFlags=0,e=o,o=t.child;o!==null;)dx(o,e),o=o.sibling;return we(et,et.current&1|2),le&&wr(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&go()>Pp&&(t.flags|=128,n=!0,is(r,!1),t.lanes=4194304)}else{if(!n)if(e=Tp(a),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,Hc(t,e),is(r,!0),r.tail===null&&r.tailMode==="hidden"&&!a.alternate&&!le)return je(t),null}else 2*go()-r.renderingStartTime>Pp&&o!==536870912&&(t.flags|=128,n=!0,is(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(e=r.last,e!==null?e.sibling=a:t.child=a,r.last=a)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=go(),e.sibling=null,o=et.current,we(et,n?o&1|2:o&1),le&&wr(t,r.treeForkCount),e):(je(t),null);case 22:case 23:return mo(t),uh(),r=t.memoizedState!==null,e!==null?e.memoizedState!==null!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?(o&536870912)!==0&&(t.flags&128)===0&&(je(t),t.subtreeFlags&6&&(t.flags|=8192)):je(t),o=t.updateQueue,o!==null&&Hc(t,o.retryQueue),o=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==o&&(t.flags|=2048),e!==null&&gt(ia),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),jr(it),je(t),null;case 25:return null;case 30:return null}throw Error(z(156,t.tag))}function HA(e,t){switch(nh(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return jr(it),Li(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return cp(t),null;case 31:if(t.memoizedState!==null){if(mo(t),t.alternate===null)throw Error(z(340));ua()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(mo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(z(340));ua()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return gt(et),null;case 4:return Li(),null;case 10:return jr(t.type),null;case 22:case 23:return mo(t),uh(),e!==null&&gt(ia),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return jr(it),null;case 25:return null;default:return null}}function dS(e,t){switch(nh(t),t.tag){case 3:jr(it),Li();break;case 26:case 27:case 5:cp(t);break;case 4:Li();break;case 31:t.memoizedState!==null&&mo(t);break;case 13:mo(t);break;case 19:gt(et);break;case 10:jr(t.type);break;case 22:case 23:mo(t),uh(),e!==null&&gt(ia);break;case 24:jr(it)}}function Qs(e,t){try{var o=t.updateQueue,r=o!==null?o.lastEffect:null;if(r!==null){var n=r.next;o=n;do{if((o.tag&e)===e){r=void 0;var a=o.create,i=o.inst;r=a(),i.destroy=r}o=o.next}while(o!==n)}}catch(l){Ce(t,t.return,l)}}function An(e,t,o){try{var r=t.updateQueue,n=r!==null?r.lastEffect:null;if(n!==null){var a=n.next;r=a;do{if((r.tag&e)===e){var i=r.inst,l=i.destroy;if(l!==void 0){i.destroy=void 0,n=t;var s=o,u=l;try{u()}catch(p){Ce(n,s,p)}}}r=r.next}while(r!==a)}}catch(p){Ce(t,t.return,p)}}function mS(e){var t=e.updateQueue;if(t!==null){var o=e.stateNode;try{Cx(t,o)}catch(r){Ce(e,e.return,r)}}}function yS(e,t,o){o.props=da(e.type,e.memoizedProps),o.state=e.memoizedState;try{o.componentWillUnmount()}catch(r){Ce(e,t,r)}}function Cs(e,t){try{var o=e.ref;if(o!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof o=="function"?e.refCleanup=o(r):o.current=r}}catch(n){Ce(e,t,n)}}function dr(e,t){var o=e.ref,r=e.refCleanup;if(o!==null)if(typeof r=="function")try{r()}catch(n){Ce(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(n){Ce(e,t,n)}else o.current=null}function hS(e){var t=e.type,o=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":o.autoFocus&&r.focus();break e;case"img":o.src?r.src=o.src:o.srcSet&&(r.srcset=o.srcSet)}}catch(n){Ce(e,e.return,n)}}function jm(e,t,o){try{var r=e.stateNode;iM(r,e.type,o,t),r[oo]=t}catch(n){Ce(e,e.return,n)}}function gS(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&wn(e.type)||e.tag===4}function km(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||gS(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&wn(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ry(e,t,o){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(e,t):(t=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,t.appendChild(e),o=o._reactRootContainer,o!=null||t.onclick!==null||(t.onclick=zr));else if(r!==4&&(r===27&&wn(e.type)&&(o=e.stateNode,t=null),e=e.child,e!==null))for(Ry(e,t,o),e=e.sibling;e!==null;)Ry(e,t,o),e=e.sibling}function Ep(e,t,o){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?o.insertBefore(e,t):o.appendChild(e);else if(r!==4&&(r===27&&wn(e.type)&&(o=e.stateNode),e=e.child,e!==null))for(Ep(e,t,o),e=e.sibling;e!==null;)Ep(e,t,o),e=e.sibling}function bS(e){var t=e.stateNode,o=e.memoizedProps;try{for(var r=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Nt(t,r,o),t[Ot]=e,t[oo]=o}catch(a){Ce(e,e.return,a)}}var _r=!1,at=!1,Lm=!1,Z0=typeof WeakSet=="function"?WeakSet:Set,yt=null;function IA(e,t){if(e=e.containerInfo,Dy=Bp,e=ax(e),Jy(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var r=o.getSelection&&o.getSelection();if(r&&r.rangeCount!==0){o=r.anchorNode;var n=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{o.nodeType,a.nodeType}catch{o=null;break e}var i=0,l=-1,s=-1,u=0,p=0,f=e,d=null;t:for(;;){for(var c;f!==o||n!==0&&f.nodeType!==3||(l=i+n),f!==a||r!==0&&f.nodeType!==3||(s=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(c=f.firstChild)!==null;)d=f,f=c;for(;;){if(f===e)break t;if(d===o&&++u===n&&(l=i),d===a&&++p===r&&(s=i),(c=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=c}o=l===-1||s===-1?null:{start:l,end:s}}else o=null}o=o||{start:0,end:0}}else o=null;for(zy={focusedElem:e,selectionRange:o},Bp=!1,yt=t;yt!==null;)if(t=yt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,yt=e;else for(;yt!==null;){switch(t=yt,a=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(o=0;o<e.length;o++)n=e[o],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&a!==null){e=void 0,o=t,n=a.memoizedProps,a=a.memoizedState,r=o.stateNode;try{var T=da(o.type,n);e=r.getSnapshotBeforeUpdate(T,a),r.__reactInternalSnapshotBeforeUpdate=e}catch(v){Ce(o,o.return,v)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,o=e.nodeType,o===9)Uy(e);else if(o===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Uy(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(z(163))}if(e=t.sibling,e!==null){e.return=t.return,yt=e;break}yt=t.return}}function TS(e,t,o){var r=o.flags;switch(o.tag){case 0:case 11:case 15:Mr(e,o),r&4&&Qs(5,o);break;case 1:if(Mr(e,o),r&4)if(e=o.stateNode,t===null)try{e.componentDidMount()}catch(i){Ce(o,o.return,i)}else{var n=da(o.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(i){Ce(o,o.return,i)}}r&64&&mS(o),r&512&&Cs(o,o.return);break;case 3:if(Mr(e,o),r&64&&(e=o.updateQueue,e!==null)){if(t=null,o.child!==null)switch(o.child.tag){case 27:case 5:t=o.child.stateNode;break;case 1:t=o.child.stateNode}try{Cx(e,t)}catch(i){Ce(o,o.return,i)}}break;case 27:t===null&&r&4&&bS(o);case 26:case 5:Mr(e,o),t===null&&r&4&&hS(o),r&512&&Cs(o,o.return);break;case 12:Mr(e,o);break;case 31:Mr(e,o),r&4&&SS(e,o);break;case 13:Mr(e,o),r&4&&CS(e,o),r&64&&(e=o.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(o=QA.bind(null,o),mM(e,o))));break;case 22:if(r=o.memoizedState!==null||_r,!r){t=t!==null&&t.memoizedState!==null||at,n=_r;var a=at;_r=r,(at=t)&&!a?Nr(e,o,(o.subtreeFlags&8772)!==0):Mr(e,o),_r=n,at=a}break;case 30:break;default:Mr(e,o)}}function vS(e){var t=e.alternate;t!==null&&(e.alternate=null,vS(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Yy(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ve=null,Jt=!1;function Ar(e,t,o){for(o=o.child;o!==null;)xS(e,t,o),o=o.sibling}function xS(e,t,o){if(bo&&typeof bo.onCommitFiberUnmount=="function")try{bo.onCommitFiberUnmount(qs,o)}catch{}switch(o.tag){case 26:at||dr(o,t),Ar(e,t,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:at||dr(o,t);var r=Ve,n=Jt;wn(o.type)&&(Ve=o.stateNode,Jt=!1),Ar(e,t,o),Os(o.stateNode),Ve=r,Jt=n;break;case 5:at||dr(o,t);case 6:if(r=Ve,n=Jt,Ve=null,Ar(e,t,o),Ve=r,Jt=n,Ve!==null)if(Jt)try{(Ve.nodeType===9?Ve.body:Ve.nodeName==="HTML"?Ve.ownerDocument.body:Ve).removeChild(o.stateNode)}catch(a){Ce(o,t,a)}else try{Ve.removeChild(o.stateNode)}catch(a){Ce(o,t,a)}break;case 18:Ve!==null&&(Jt?(e=Ve,fv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,o.stateNode),Xi(e)):fv(Ve,o.stateNode));break;case 4:r=Ve,n=Jt,Ve=o.stateNode.containerInfo,Jt=!0,Ar(e,t,o),Ve=r,Jt=n;break;case 0:case 11:case 14:case 15:An(2,o,t),at||An(4,o,t),Ar(e,t,o);break;case 1:at||(dr(o,t),r=o.stateNode,typeof r.componentWillUnmount=="function"&&yS(o,t,r)),Ar(e,t,o);break;case 21:Ar(e,t,o);break;case 22:at=(r=at)||o.memoizedState!==null,Ar(e,t,o),at=r;break;default:Ar(e,t,o)}}function SS(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Xi(e)}catch(o){Ce(t,t.return,o)}}}function CS(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Xi(e)}catch(o){Ce(t,t.return,o)}}function VA(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Z0),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Z0),t;default:throw Error(z(435,e.tag))}}function Ic(e,t){var o=VA(e);t.forEach(function(r){if(!o.has(r)){o.add(r);var n=ZA.bind(null,e,r);r.then(n,n)}})}function Zt(e,t){var o=t.deletions;if(o!==null)for(var r=0;r<o.length;r++){var n=o[r],a=e,i=t,l=i;e:for(;l!==null;){switch(l.tag){case 27:if(wn(l.type)){Ve=l.stateNode,Jt=!1;break e}break;case 5:Ve=l.stateNode,Jt=!1;break e;case 3:case 4:Ve=l.stateNode.containerInfo,Jt=!0;break e}l=l.return}if(Ve===null)throw Error(z(160));xS(a,i,n),Ve=null,Jt=!1,a=n.alternate,a!==null&&(a.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)ES(t,e),t=t.sibling}var Wo=null;function ES(e,t){var o=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Zt(t,e),Wt(e),r&4&&(An(3,e,e.return),Qs(3,e),An(5,e,e.return));break;case 1:Zt(t,e),Wt(e),r&512&&(at||o===null||dr(o,o.return)),r&64&&_r&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(o=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=o===null?r:o.concat(r))));break;case 26:var n=Wo;if(Zt(t,e),Wt(e),r&512&&(at||o===null||dr(o,o.return)),r&4){var a=o!==null?o.memoizedState:null;if(r=e.memoizedState,o===null)if(r===null)if(e.stateNode===null){e:{r=e.type,o=e.memoizedProps,n=n.ownerDocument||n;t:switch(r){case"title":a=n.getElementsByTagName("title")[0],(!a||a[$s]||a[Ot]||a.namespaceURI==="http://www.w3.org/2000/svg"||a.hasAttribute("itemprop"))&&(a=n.createElement(r),n.head.insertBefore(a,n.querySelector("head > title"))),Nt(a,r,o),a[Ot]=e,ht(a),r=a;break e;case"link":var i=Tv("link","href",n).get(r+(o.href||""));if(i){for(var l=0;l<i.length;l++)if(a=i[l],a.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&a.getAttribute("rel")===(o.rel==null?null:o.rel)&&a.getAttribute("title")===(o.title==null?null:o.title)&&a.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){i.splice(l,1);break t}}a=n.createElement(r),Nt(a,r,o),n.head.appendChild(a);break;case"meta":if(i=Tv("meta","content",n).get(r+(o.content||""))){for(l=0;l<i.length;l++)if(a=i[l],a.getAttribute("content")===(o.content==null?null:""+o.content)&&a.getAttribute("name")===(o.name==null?null:o.name)&&a.getAttribute("property")===(o.property==null?null:o.property)&&a.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&a.getAttribute("charset")===(o.charSet==null?null:o.charSet)){i.splice(l,1);break t}}a=n.createElement(r),Nt(a,r,o),n.head.appendChild(a);break;default:throw Error(z(468,r))}a[Ot]=e,ht(a),r=a}e.stateNode=r}else vv(n,e.type,e.stateNode);else e.stateNode=bv(n,r,e.memoizedProps);else a!==r?(a===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):a.count--,r===null?vv(n,e.type,e.stateNode):bv(n,r,e.memoizedProps)):r===null&&e.stateNode!==null&&jm(e,e.memoizedProps,o.memoizedProps)}break;case 27:Zt(t,e),Wt(e),r&512&&(at||o===null||dr(o,o.return)),o!==null&&r&4&&jm(e,e.memoizedProps,o.memoizedProps);break;case 5:if(Zt(t,e),Wt(e),r&512&&(at||o===null||dr(o,o.return)),e.flags&32){n=e.stateNode;try{Ii(n,"")}catch(T){Ce(e,e.return,T)}}r&4&&e.stateNode!=null&&(n=e.memoizedProps,jm(e,n,o!==null?o.memoizedProps:n)),r&1024&&(Lm=!0);break;case 6:if(Zt(t,e),Wt(e),r&4){if(e.stateNode===null)throw Error(z(162));r=e.memoizedProps,o=e.stateNode;try{o.nodeValue=r}catch(T){Ce(e,e.return,T)}}break;case 3:if(ap=null,n=Wo,Wo=_p(t.containerInfo),Zt(t,e),Wo=n,Wt(e),r&4&&o!==null&&o.memoizedState.isDehydrated)try{Xi(t.containerInfo)}catch(T){Ce(e,e.return,T)}Lm&&(Lm=!1,PS(e));break;case 4:r=Wo,Wo=_p(e.stateNode.containerInfo),Zt(t,e),Wt(e),Wo=r;break;case 12:Zt(t,e),Wt(e);break;case 31:Zt(t,e),Wt(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Ic(e,r)));break;case 13:Zt(t,e),Wt(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(Kp=go()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Ic(e,r)));break;case 22:n=e.memoizedState!==null;var s=o!==null&&o.memoizedState!==null,u=_r,p=at;if(_r=u||n,at=p||s,Zt(t,e),at=p,_r=u,Wt(e),r&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(o===null||s||_r||at||ra(e)),o=null,t=e;;){if(t.tag===5||t.tag===26){if(o===null){s=o=t;try{if(a=s.stateNode,n)i=a.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none";else{l=s.stateNode;var f=s.memoizedProps.style,d=f!=null&&f.hasOwnProperty("display")?f.display:null;l.style.display=d==null||typeof d=="boolean"?"":(""+d).trim()}}catch(T){Ce(s,s.return,T)}}}else if(t.tag===6){if(o===null){s=t;try{s.stateNode.nodeValue=n?"":s.memoizedProps}catch(T){Ce(s,s.return,T)}}}else if(t.tag===18){if(o===null){s=t;try{var c=s.stateNode;n?dv(c,!0):dv(s.stateNode,!1)}catch(T){Ce(s,s.return,T)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;o===t&&(o=null),t=t.return}o===t&&(o=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(o=r.retryQueue,o!==null&&(r.retryQueue=null,Ic(e,o))));break;case 19:Zt(t,e),Wt(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Ic(e,r)));break;case 30:break;case 21:break;default:Zt(t,e),Wt(e)}}function Wt(e){var t=e.flags;if(t&2){try{for(var o,r=e.return;r!==null;){if(gS(r)){o=r;break}r=r.return}if(o==null)throw Error(z(160));switch(o.tag){case 27:var n=o.stateNode,a=km(e);Ep(e,a,n);break;case 5:var i=o.stateNode;o.flags&32&&(Ii(i,""),o.flags&=-33);var l=km(e);Ep(e,l,i);break;case 3:case 4:var s=o.stateNode.containerInfo,u=km(e);Ry(e,u,s);break;default:throw Error(z(161))}}catch(p){Ce(e,e.return,p)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function PS(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;PS(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Mr(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)TS(e,t.alternate,t),t=t.sibling}function ra(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:An(4,t,t.return),ra(t);break;case 1:dr(t,t.return);var o=t.stateNode;typeof o.componentWillUnmount=="function"&&yS(t,t.return,o),ra(t);break;case 27:Os(t.stateNode);case 26:case 5:dr(t,t.return),ra(t);break;case 22:t.memoizedState===null&&ra(t);break;case 30:ra(t);break;default:ra(t)}e=e.sibling}}function Nr(e,t,o){for(o=o&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var r=t.alternate,n=e,a=t,i=a.flags;switch(a.tag){case 0:case 11:case 15:Nr(n,a,o),Qs(4,a);break;case 1:if(Nr(n,a,o),r=a,n=r.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(u){Ce(r,r.return,u)}if(r=a,n=r.updateQueue,n!==null){var l=r.stateNode;try{var s=n.shared.hiddenCallbacks;if(s!==null)for(n.shared.hiddenCallbacks=null,n=0;n<s.length;n++)Sx(s[n],l)}catch(u){Ce(r,r.return,u)}}o&&i&64&&mS(a),Cs(a,a.return);break;case 27:bS(a);case 26:case 5:Nr(n,a,o),o&&r===null&&i&4&&hS(a),Cs(a,a.return);break;case 12:Nr(n,a,o);break;case 31:Nr(n,a,o),o&&i&4&&SS(n,a);break;case 13:Nr(n,a,o),o&&i&4&&CS(n,a);break;case 22:a.memoizedState===null&&Nr(n,a,o),Cs(a,a.return);break;case 30:break;default:Nr(n,a,o)}t=t.sibling}}function Ph(e,t){var o=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==o&&(e!=null&&e.refCount++,o!=null&&Ks(o))}function Rh(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ks(e))}function Zo(e,t,o,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)RS(e,t,o,r),t=t.sibling}function RS(e,t,o,r){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Zo(e,t,o,r),n&2048&&Qs(9,t);break;case 1:Zo(e,t,o,r);break;case 3:Zo(e,t,o,r),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ks(e)));break;case 12:if(n&2048){Zo(e,t,o,r),e=t.stateNode;try{var a=t.memoizedProps,i=a.id,l=a.onPostCommit;typeof l=="function"&&l(i,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(s){Ce(t,t.return,s)}}else Zo(e,t,o,r);break;case 31:Zo(e,t,o,r);break;case 13:Zo(e,t,o,r);break;case 23:break;case 22:a=t.stateNode,i=t.alternate,t.memoizedState!==null?a._visibility&2?Zo(e,t,o,r):Es(e,t):a._visibility&2?Zo(e,t,o,r):(a._visibility|=2,bi(e,t,o,r,(t.subtreeFlags&10256)!==0||!1)),n&2048&&Ph(i,t);break;case 24:Zo(e,t,o,r),n&2048&&Rh(t.alternate,t);break;default:Zo(e,t,o,r)}}function bi(e,t,o,r,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var a=e,i=t,l=o,s=r,u=i.flags;switch(i.tag){case 0:case 11:case 15:bi(a,i,l,s,n),Qs(8,i);break;case 23:break;case 22:var p=i.stateNode;i.memoizedState!==null?p._visibility&2?bi(a,i,l,s,n):Es(a,i):(p._visibility|=2,bi(a,i,l,s,n)),n&&u&2048&&Ph(i.alternate,i);break;case 24:bi(a,i,l,s,n),n&&u&2048&&Rh(i.alternate,i);break;default:bi(a,i,l,s,n)}t=t.sibling}}function Es(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var o=e,r=t,n=r.flags;switch(r.tag){case 22:Es(o,r),n&2048&&Ph(r.alternate,r);break;case 24:Es(o,r),n&2048&&Rh(r.alternate,r);break;default:Es(o,r)}t=t.sibling}}var ms=8192;function gi(e,t,o){if(e.subtreeFlags&ms)for(e=e.child;e!==null;)OS(e,t,o),e=e.sibling}function OS(e,t,o){switch(e.tag){case 26:gi(e,t,o),e.flags&ms&&e.memoizedState!==null&&RM(o,Wo,e.memoizedState,e.memoizedProps);break;case 5:gi(e,t,o);break;case 3:case 4:var r=Wo;Wo=_p(e.stateNode.containerInfo),gi(e,t,o),Wo=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=ms,ms=16777216,gi(e,t,o),ms=r):gi(e,t,o));break;default:gi(e,t,o)}}function AS(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function ls(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var o=0;o<t.length;o++){var r=t[o];yt=r,NS(r,e)}AS(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)MS(e),e=e.sibling}function MS(e){switch(e.tag){case 0:case 11:case 15:ls(e),e.flags&2048&&An(9,e,e.return);break;case 3:ls(e);break;case 12:ls(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,rp(e)):ls(e);break;default:ls(e)}}function rp(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var o=0;o<t.length;o++){var r=t[o];yt=r,NS(r,e)}AS(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:An(8,t,t.return),rp(t);break;case 22:o=t.stateNode,o._visibility&2&&(o._visibility&=-3,rp(t));break;default:rp(t)}e=e.sibling}}function NS(e,t){for(;yt!==null;){var o=yt;switch(o.tag){case 0:case 11:case 15:An(8,o,t);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var r=o.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:Ks(o.memoizedState.cache)}if(r=o.child,r!==null)r.return=o,yt=r;else e:for(o=e;yt!==null;){r=yt;var n=r.sibling,a=r.return;if(vS(r),r===o){yt=null;break e}if(n!==null){n.return=a,yt=n;break e}yt=a}}}var qA={getCacheForType:function(e){var t=Mt(it),o=t.data.get(e);return o===void 0&&(o=e(),t.data.set(e,o)),o},cacheSignal:function(){return Mt(it).controller.signal}},GA=typeof WeakMap=="function"?WeakMap:Map,de=0,Oe=null,ne=null,ae=0,Se=0,fo=null,mn=!1,el=!1,Oh=!1,qr=0,Ze=0,Mn=0,sa=0,Ah=0,ho=0,Fi=0,Ps=null,eo=null,Oy=!1,Kp=0,wS=0,Pp=1/0,Rp=null,xn=null,pt=0,Sn=null,$i=null,kr=0,Ay=0,My=null,_S=null,Rs=0,Ny=null;function vo(){return(de&2)!==0&&ae!==0?ae&-ae:$.T!==null?Nh():Iv()}function DS(){if(ho===0)if((ae&536870912)===0||le){var e=wc;wc<<=1,(wc&3932160)===0&&(wc=262144),ho=e}else ho=536870912;return e=So.current,e!==null&&(e.flags|=32),ho}function to(e,t,o){(e===Oe&&(Se===2||Se===9)||e.cancelPendingCommit!==null)&&(Yi(e,0),yn(e,ae,ho,!1)),Fs(e,o),((de&2)===0||e!==Oe)&&(e===Oe&&((de&2)===0&&(sa|=o),Ze===4&&yn(e,ae,ho,!1)),hr(e))}function zS(e,t,o){if((de&6)!==0)throw Error(z(327));var r=!o&&(t&127)===0&&(t&e.expiredLanes)===0||Gs(e,t),n=r?YA(e,t):Hm(e,t,!0),a=r;do{if(n===0){el&&!r&&yn(e,t,0,!1);break}else{if(o=e.current.alternate,a&&!FA(o)){n=Hm(e,t,!1),a=!1;continue}if(n===2){if(a=t,e.errorRecoveryDisabledLanes&a)var i=0;else i=e.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){t=i;e:{var l=e;n=Ps;var s=l.current.memoizedState.isDehydrated;if(s&&(Yi(l,i).flags|=256),i=Hm(l,i,!1),i!==2){if(Oh&&!s){l.errorRecoveryDisabledLanes|=a,sa|=a,n=4;break e}a=eo,eo=n,a!==null&&(eo===null?eo=a:eo.push.apply(eo,a))}n=i}if(a=!1,n!==2)continue}}if(n===1){Yi(e,0),yn(e,t,0,!0);break}e:{switch(r=e,a=n,a){case 0:case 1:throw Error(z(345));case 4:if((t&4194048)!==t)break;case 6:yn(r,t,ho,!mn);break e;case 2:eo=null;break;case 3:case 5:break;default:throw Error(z(329))}if((t&62914560)===t&&(n=Kp+300-go(),10<n)){if(yn(r,t,ho,!mn),jp(r,0,!0)!==0)break e;kr=t,r.timeoutHandle=e1(W0.bind(null,r,o,eo,Rp,Oy,t,ho,sa,Fi,mn,a,"Throttled",-0,0),n);break e}W0(r,o,eo,Rp,Oy,t,ho,sa,Fi,mn,a,null,-0,0)}}break}while(!0);hr(e)}function W0(e,t,o,r,n,a,i,l,s,u,p,f,d,c){if(e.timeoutHandle=-1,f=t.subtreeFlags,f&8192||(f&16785408)===16785408){f={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:zr},OS(t,a,f);var T=(a&62914560)===a?Kp-go():(a&4194048)===a?wS-go():0;if(T=OM(f,T),T!==null){kr=a,e.cancelPendingCommit=T(ev.bind(null,e,t,a,o,r,n,i,l,s,p,f,null,d,c)),yn(e,a,i,!u);return}}ev(e,t,a,o,r,n,i,l,s)}function FA(e){for(var t=e;;){var o=t.tag;if((o===0||o===11||o===15)&&t.flags&16384&&(o=t.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var r=0;r<o.length;r++){var n=o[r],a=n.getSnapshot;n=n.value;try{if(!xo(a(),n))return!1}catch{return!1}}if(o=t.child,t.subtreeFlags&16384&&o!==null)o.return=t,t=o;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function yn(e,t,o,r){t&=~Ah,t&=~sa,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var n=t;0<n;){var a=31-To(n),i=1<<a;r[a]=-1,n&=~i}o!==0&&kv(e,o,t)}function Xp(){return(de&6)===0?(Zs(0,!1),!1):!0}function Mh(){if(ne!==null){if(Se===0)var e=ne.return;else e=ne,Br=ba=null,mh(e),Ui=null,zs=0,e=ne;for(;e!==null;)dS(e.alternate,e),e=e.return;ne=null}}function Yi(e,t){var o=e.timeoutHandle;o!==-1&&(e.timeoutHandle=-1,uM(o)),o=e.cancelPendingCommit,o!==null&&(e.cancelPendingCommit=null,o()),kr=0,Mh(),Oe=e,ne=o=Ur(e.current,null),ae=t,Se=0,fo=null,mn=!1,el=Gs(e,t),Oh=!1,Fi=ho=Ah=sa=Mn=Ze=0,eo=Ps=null,Oy=!1,(t&8)!==0&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var n=31-To(r),a=1<<n;t|=e[n],r&=~a}return qr=t,Ip(),o}function BS(e,t){W=null,$.H=Us,t===Ji||t===qp?(t=N0(),Se=3):t===lh?(t=N0(),Se=4):Se=t===Ch?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,fo=t,ne===null&&(Ze=1,Sp(e,ko(t,e.current)))}function US(){var e=So.current;return e===null?!0:(ae&4194048)===ae?Ho===null:(ae&62914560)===ae||(ae&536870912)!==0?e===Ho:!1}function jS(){var e=$.H;return $.H=Us,e===null?Us:e}function kS(){var e=$.A;return $.A=qA,e}function Op(){Ze=4,mn||(ae&4194048)!==ae&&So.current!==null||(el=!0),(Mn&134217727)===0&&(sa&134217727)===0||Oe===null||yn(Oe,ae,ho,!1)}function Hm(e,t,o){var r=de;de|=2;var n=jS(),a=kS();(Oe!==e||ae!==t)&&(Rp=null,Yi(e,t)),t=!1;var i=Ze;e:do try{if(Se!==0&&ne!==null){var l=ne,s=fo;switch(Se){case 8:Mh(),i=6;break e;case 3:case 2:case 9:case 6:So.current===null&&(t=!0);var u=Se;if(Se=0,fo=null,wi(e,l,s,u),o&&el){i=0;break e}break;default:u=Se,Se=0,fo=null,wi(e,l,s,u)}}$A(),i=Ze;break}catch(p){BS(e,p)}while(!0);return t&&e.shellSuspendCounter++,Br=ba=null,de=r,$.H=n,$.A=a,ne===null&&(Oe=null,ae=0,Ip()),i}function $A(){for(;ne!==null;)LS(ne)}function YA(e,t){var o=de;de|=2;var r=jS(),n=kS();Oe!==e||ae!==t?(Rp=null,Pp=go()+500,Yi(e,t)):el=Gs(e,t);e:do try{if(Se!==0&&ne!==null){t=ne;var a=fo;t:switch(Se){case 1:Se=0,fo=null,wi(e,t,a,1);break;case 2:case 9:if(M0(a)){Se=0,fo=null,J0(t);break}t=function(){Se!==2&&Se!==9||Oe!==e||(Se=7),hr(e)},a.then(t,t);break e;case 3:Se=7;break e;case 4:Se=5;break e;case 7:M0(a)?(Se=0,fo=null,J0(t)):(Se=0,fo=null,wi(e,t,a,7));break;case 5:var i=null;switch(ne.tag){case 26:i=ne.memoizedState;case 5:case 27:var l=ne;if(i?a1(i):l.stateNode.complete){Se=0,fo=null;var s=l.sibling;if(s!==null)ne=s;else{var u=l.return;u!==null?(ne=u,Qp(u)):ne=null}break t}}Se=0,fo=null,wi(e,t,a,5);break;case 6:Se=0,fo=null,wi(e,t,a,6);break;case 8:Mh(),Ze=6;break e;default:throw Error(z(462))}}KA();break}catch(p){BS(e,p)}while(!0);return Br=ba=null,$.H=r,$.A=n,de=o,ne!==null?0:(Oe=null,ae=0,Ip(),Ze)}function KA(){for(;ne!==null&&!gO();)LS(ne)}function LS(e){var t=fS(e.alternate,e,qr);e.memoizedProps=e.pendingProps,t===null?Qp(e):ne=t}function J0(e){var t=e,o=t.alternate;switch(t.tag){case 15:case 0:t=$0(o,t,t.pendingProps,t.type,void 0,ae);break;case 11:t=$0(o,t,t.pendingProps,t.type.render,t.ref,ae);break;case 5:mh(t);default:dS(o,t),t=ne=dx(t,qr),t=fS(o,t,qr)}e.memoizedProps=e.pendingProps,t===null?Qp(e):ne=t}function wi(e,t,o,r){Br=ba=null,mh(t),Ui=null,zs=0;var n=t.return;try{if(UA(e,n,t,o,ae)){Ze=1,Sp(e,ko(o,e.current)),ne=null;return}}catch(a){if(n!==null)throw ne=n,a;Ze=1,Sp(e,ko(o,e.current)),ne=null;return}t.flags&32768?(le||r===1?e=!0:el||(ae&536870912)!==0?e=!1:(mn=e=!0,(r===2||r===9||r===3||r===6)&&(r=So.current,r!==null&&r.tag===13&&(r.flags|=16384))),HS(t,e)):Qp(t)}function Qp(e){var t=e;do{if((t.flags&32768)!==0){HS(t,mn);return}e=t.return;var o=LA(t.alternate,t,qr);if(o!==null){ne=o;return}if(t=t.sibling,t!==null){ne=t;return}ne=t=e}while(t!==null);Ze===0&&(Ze=5)}function HS(e,t){do{var o=HA(e.alternate,e);if(o!==null){o.flags&=32767,ne=o;return}if(o=e.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!t&&(e=e.sibling,e!==null)){ne=e;return}ne=e=o}while(e!==null);Ze=6,ne=null}function ev(e,t,o,r,n,a,i,l,s){e.cancelPendingCommit=null;do Zp();while(pt!==0);if((de&6)!==0)throw Error(z(327));if(t!==null){if(t===e.current)throw Error(z(177));if(a=t.lanes|t.childLanes,a|=eh,OO(e,o,a,i,l,s),e===Oe&&(ne=Oe=null,ae=0),$i=t,Sn=e,kr=o,Ay=a,My=n,_S=r,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,WA(pp,function(){return FS(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||r){r=$.T,$.T=null,n=me.p,me.p=2,i=de,de|=4;try{IA(e,t,o)}finally{de=i,me.p=n,$.T=r}}pt=1,IS(),VS(),qS()}}function IS(){if(pt===1){pt=0;var e=Sn,t=$i,o=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||o){o=$.T,$.T=null;var r=me.p;me.p=2;var n=de;de|=4;try{ES(t,e);var a=zy,i=ax(e.containerInfo),l=a.focusedElem,s=a.selectionRange;if(i!==l&&l&&l.ownerDocument&&nx(l.ownerDocument.documentElement,l)){if(s!==null&&Jy(l)){var u=s.start,p=s.end;if(p===void 0&&(p=u),"selectionStart"in l)l.selectionStart=u,l.selectionEnd=Math.min(p,l.value.length);else{var f=l.ownerDocument||document,d=f&&f.defaultView||window;if(d.getSelection){var c=d.getSelection(),T=l.textContent.length,v=Math.min(s.start,T),x=s.end===void 0?v:Math.min(s.end,T);!c.extend&&v>x&&(i=x,x=v,v=i);var m=S0(l,v),y=S0(l,x);if(m&&y&&(c.rangeCount!==1||c.anchorNode!==m.node||c.anchorOffset!==m.offset||c.focusNode!==y.node||c.focusOffset!==y.offset)){var g=f.createRange();g.setStart(m.node,m.offset),c.removeAllRanges(),v>x?(c.addRange(g),c.extend(y.node,y.offset)):(g.setEnd(y.node,y.offset),c.addRange(g))}}}}for(f=[],c=l;c=c.parentNode;)c.nodeType===1&&f.push({element:c,left:c.scrollLeft,top:c.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<f.length;l++){var b=f[l];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}Bp=!!Dy,zy=Dy=null}finally{de=n,me.p=r,$.T=o}}e.current=t,pt=2}}function VS(){if(pt===2){pt=0;var e=Sn,t=$i,o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=$.T,$.T=null;var r=me.p;me.p=2;var n=de;de|=4;try{TS(e,t.alternate,t)}finally{de=n,me.p=r,$.T=o}}pt=3}}function qS(){if(pt===4||pt===3){pt=0,bO();var e=Sn,t=$i,o=kr,r=_S;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?pt=5:(pt=0,$i=Sn=null,GS(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(xn=null),$y(o),t=t.stateNode,bo&&typeof bo.onCommitFiberRoot=="function")try{bo.onCommitFiberRoot(qs,t,void 0,(t.current.flags&128)===128)}catch{}if(r!==null){t=$.T,n=me.p,me.p=2,$.T=null;try{for(var a=e.onRecoverableError,i=0;i<r.length;i++){var l=r[i];a(l.value,{componentStack:l.stack})}}finally{$.T=t,me.p=n}}(kr&3)!==0&&Zp(),hr(e),n=e.pendingLanes,(o&261930)!==0&&(n&42)!==0?e===Ny?Rs++:(Rs=0,Ny=e):Rs=0,Zs(0,!1)}}function GS(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ks(t)))}function Zp(){return IS(),VS(),qS(),FS()}function FS(){if(pt!==5)return!1;var e=Sn,t=Ay;Ay=0;var o=$y(kr),r=$.T,n=me.p;try{me.p=32>o?32:o,$.T=null,o=My,My=null;var a=Sn,i=kr;if(pt=0,$i=Sn=null,kr=0,(de&6)!==0)throw Error(z(331));var l=de;if(de|=4,MS(a.current),RS(a,a.current,i,o),de=l,Zs(0,!1),bo&&typeof bo.onPostCommitFiberRoot=="function")try{bo.onPostCommitFiberRoot(qs,a)}catch{}return!0}finally{me.p=n,$.T=r,GS(e,t)}}function tv(e,t,o){t=ko(o,t),t=Cy(e.stateNode,t,2),e=vn(e,t,2),e!==null&&(Fs(e,2),hr(e))}function Ce(e,t,o){if(e.tag===3)tv(e,e,o);else for(;t!==null;){if(t.tag===3){tv(t,e,o);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(xn===null||!xn.has(r))){e=ko(o,e),o=iS(2),r=vn(t,o,2),r!==null&&(lS(o,r,t,e),Fs(r,2),hr(r));break}}t=t.return}}function Im(e,t,o){var r=e.pingCache;if(r===null){r=e.pingCache=new GA;var n=new Set;r.set(t,n)}else n=r.get(t),n===void 0&&(n=new Set,r.set(t,n));n.has(o)||(Oh=!0,n.add(o),e=XA.bind(null,e,t,o),t.then(e,e))}function XA(e,t,o){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&o,e.warmLanes&=~o,Oe===e&&(ae&o)===o&&(Ze===4||Ze===3&&(ae&62914560)===ae&&300>go()-Kp?(de&2)===0&&Yi(e,0):Ah|=o,Fi===ae&&(Fi=0)),hr(e)}function $S(e,t){t===0&&(t=jv()),e=ga(e,t),e!==null&&(Fs(e,t),hr(e))}function QA(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),$S(e,o)}function ZA(e,t){var o=0;switch(e.tag){case 31:case 13:var r=e.stateNode,n=e.memoizedState;n!==null&&(o=n.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(z(314))}r!==null&&r.delete(t),$S(e,o)}function WA(e,t){return Gy(e,t)}var Ap=null,Ti=null,wy=!1,Mp=!1,Vm=!1,hn=0;function hr(e){e!==Ti&&e.next===null&&(Ti===null?Ap=Ti=e:Ti=Ti.next=e),Mp=!0,wy||(wy=!0,eM())}function Zs(e,t){if(!Vm&&Mp){Vm=!0;do for(var o=!1,r=Ap;r!==null;){if(!t)if(e!==0){var n=r.pendingLanes;if(n===0)var a=0;else{var i=r.suspendedLanes,l=r.pingedLanes;a=(1<<31-To(42|e)+1)-1,a&=n&~(i&~l),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(o=!0,ov(r,a))}else a=ae,a=jp(r,r===Oe?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(a&3)===0||Gs(r,a)||(o=!0,ov(r,a));r=r.next}while(o);Vm=!1}}function JA(){YS()}function YS(){Mp=wy=!1;var e=0;hn!==0&&sM()&&(e=hn);for(var t=go(),o=null,r=Ap;r!==null;){var n=r.next,a=KS(r,t);a===0?(r.next=null,o===null?Ap=n:o.next=n,n===null&&(Ti=o)):(o=r,(e!==0||(a&3)!==0)&&(Mp=!0)),r=n}pt!==0&&pt!==5||Zs(e,!1),hn!==0&&(hn=0)}function KS(e,t){for(var o=e.suspendedLanes,r=e.pingedLanes,n=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var i=31-To(a),l=1<<i,s=n[i];s===-1?((l&o)===0||(l&r)!==0)&&(n[i]=RO(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}if(t=Oe,o=ae,o=jp(e,e===t?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,o===0||e===t&&(Se===2||Se===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&gm(r),e.callbackNode=null,e.callbackPriority=0;if((o&3)===0||Gs(e,o)){if(t=o&-o,t===e.callbackPriority)return t;switch(r!==null&&gm(r),$y(o)){case 2:case 8:o=Bv;break;case 32:o=pp;break;case 268435456:o=Uv;break;default:o=pp}return r=XS.bind(null,e),o=Gy(o,r),e.callbackPriority=t,e.callbackNode=o,t}return r!==null&&r!==null&&gm(r),e.callbackPriority=2,e.callbackNode=null,2}function XS(e,t){if(pt!==0&&pt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var o=e.callbackNode;if(Zp()&&e.callbackNode!==o)return null;var r=ae;return r=jp(e,e===Oe?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(zS(e,r,t),KS(e,go()),e.callbackNode!=null&&e.callbackNode===o?XS.bind(null,e):null)}function ov(e,t){if(Zp())return null;zS(e,t,!0)}function eM(){cM(function(){(de&6)!==0?Gy(zv,JA):YS()})}function Nh(){if(hn===0){var e=Vi;e===0&&(e=Nc,Nc<<=1,(Nc&261888)===0&&(Nc=256)),hn=e}return hn}function rv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Kc(""+e)}function nv(e,t){var o=t.ownerDocument.createElement("input");return o.name=t.name,o.value=t.value,e.id&&o.setAttribute("form",e.id),t.parentNode.insertBefore(o,t),e=new FormData(e),o.parentNode.removeChild(o),e}function tM(e,t,o,r,n){if(t==="submit"&&o&&o.stateNode===n){var a=rv((n[oo]||null).action),i=r.submitter;i&&(t=(t=i[oo]||null)?rv(t.formAction):i.getAttribute("formAction"),t!==null&&(a=t,i=null));var l=new kp("action","action",null,r,n);e.push({event:l,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(hn!==0){var s=i?nv(n,i):new FormData(n);xy(o,{pending:!0,data:s,method:n.method,action:a},null,s)}}else typeof a=="function"&&(l.preventDefault(),s=i?nv(n,i):new FormData(n),xy(o,{pending:!0,data:s,method:n.method,action:a},a,s))},currentTarget:n}]})}}for(Vc=0;Vc<uy.length;Vc++)qc=uy[Vc],av=qc.toLowerCase(),iv=qc[0].toUpperCase()+qc.slice(1),Jo(av,"on"+iv);var qc,av,iv,Vc;Jo(lx,"onAnimationEnd");Jo(sx,"onAnimationIteration");Jo(ux,"onAnimationStart");Jo("dblclick","onDoubleClick");Jo("focusin","onFocus");Jo("focusout","onBlur");Jo(TA,"onTransitionRun");Jo(vA,"onTransitionStart");Jo(xA,"onTransitionCancel");Jo(cx,"onTransitionEnd");Hi("onMouseEnter",["mouseout","mouseover"]);Hi("onMouseLeave",["mouseout","mouseover"]);Hi("onPointerEnter",["pointerout","pointerover"]);Hi("onPointerLeave",["pointerout","pointerover"]);ma("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ma("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ma("onBeforeInput",["compositionend","keypress","textInput","paste"]);ma("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ma("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ma("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var js="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),oM=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(js));function QS(e,t){t=(t&4)!==0;for(var o=0;o<e.length;o++){var r=e[o],n=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==a&&n.isPropagationStopped())break e;a=l,n.currentTarget=u;try{a(n)}catch(p){dp(p)}n.currentTarget=null,a=s}else for(i=0;i<r.length;i++){if(l=r[i],s=l.instance,u=l.currentTarget,l=l.listener,s!==a&&n.isPropagationStopped())break e;a=l,n.currentTarget=u;try{a(n)}catch(p){dp(p)}n.currentTarget=null,a=s}}}}function re(e,t){var o=t[ty];o===void 0&&(o=t[ty]=new Set);var r=e+"__bubble";o.has(r)||(ZS(t,e,2,!1),o.add(r))}function qm(e,t,o){var r=0;t&&(r|=4),ZS(o,e,r,t)}var Gc="_reactListening"+Math.random().toString(36).slice(2);function wh(e){if(!e[Gc]){e[Gc]=!0,Vv.forEach(function(o){o!=="selectionchange"&&(oM.has(o)||qm(o,!1,e),qm(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Gc]||(t[Gc]=!0,qm("selectionchange",!1,t))}}function ZS(e,t,o,r){switch(c1(t)){case 2:var n=NM;break;case 8:n=wM;break;default:n=Bh}o=n.bind(null,t,o,e),n=void 0,!iy||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),r?n!==void 0?e.addEventListener(t,o,{capture:!0,passive:n}):e.addEventListener(t,o,!0):n!==void 0?e.addEventListener(t,o,{passive:n}):e.addEventListener(t,o,!1)}function Gm(e,t,o,r,n){var a=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var l=r.stateNode.containerInfo;if(l===n)break;if(i===4)for(i=r.return;i!==null;){var s=i.tag;if((s===3||s===4)&&i.stateNode.containerInfo===n)return;i=i.return}for(;l!==null;){if(i=Si(l),i===null)return;if(s=i.tag,s===5||s===6||s===26||s===27){r=a=i;continue e}l=l.parentNode}}r=r.return}Qv(function(){var u=a,p=Xy(o),f=[];e:{var d=px.get(e);if(d!==void 0){var c=kp,T=e;switch(e){case"keypress":if(Qc(o)===0)break e;case"keydown":case"keyup":c=ZO;break;case"focusin":T="focus",c=Sm;break;case"focusout":T="blur",c=Sm;break;case"beforeblur":case"afterblur":c=Sm;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=d0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=LO;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=eA;break;case lx:case sx:case ux:c=VO;break;case cx:c=oA;break;case"scroll":case"scrollend":c=jO;break;case"wheel":c=nA;break;case"copy":case"cut":case"paste":c=GO;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=y0;break;case"toggle":case"beforetoggle":c=iA}var v=(t&4)!==0,x=!v&&(e==="scroll"||e==="scrollend"),m=v?d!==null?d+"Capture":null:d;v=[];for(var y=u,g;y!==null;){var b=y;if(g=b.stateNode,b=b.tag,b!==5&&b!==26&&b!==27||g===null||m===null||(b=Ms(y,m),b!=null&&v.push(ks(y,b,g))),x)break;y=y.return}0<v.length&&(d=new c(d,T,null,o,p),f.push({event:d,listeners:v}))}}if((t&7)===0){e:{if(d=e==="mouseover"||e==="pointerover",c=e==="mouseout"||e==="pointerout",d&&o!==ay&&(T=o.relatedTarget||o.fromElement)&&(Si(T)||T[Qi]))break e;if((c||d)&&(d=p.window===p?p:(d=p.ownerDocument)?d.defaultView||d.parentWindow:window,c?(T=o.relatedTarget||o.toElement,c=u,T=T?Si(T):null,T!==null&&(x=Vs(T),v=T.tag,T!==x||v!==5&&v!==27&&v!==6)&&(T=null)):(c=null,T=u),c!==T)){if(v=d0,b="onMouseLeave",m="onMouseEnter",y="mouse",(e==="pointerout"||e==="pointerover")&&(v=y0,b="onPointerLeave",m="onPointerEnter",y="pointer"),x=c==null?d:fs(c),g=T==null?d:fs(T),d=new v(b,y+"leave",c,o,p),d.target=x,d.relatedTarget=g,b=null,Si(p)===u&&(v=new v(m,y+"enter",T,o,p),v.target=g,v.relatedTarget=x,b=v),x=b,c&&T)t:{for(v=rM,m=c,y=T,g=0,b=m;b;b=v(b))g++;b=0;for(var P=y;P;P=v(P))b++;for(;0<g-b;)m=v(m),g--;for(;0<b-g;)y=v(y),b--;for(;g--;){if(m===y||y!==null&&m===y.alternate){v=m;break t}m=v(m),y=v(y)}v=null}else v=null;c!==null&&lv(f,d,c,v,!1),T!==null&&x!==null&&lv(f,x,T,v,!0)}}e:{if(d=u?fs(u):window,c=d.nodeName&&d.nodeName.toLowerCase(),c==="select"||c==="input"&&d.type==="file")var S=T0;else if(b0(d))if(ox)S=hA;else{S=mA;var E=dA}else c=d.nodeName,!c||c.toLowerCase()!=="input"||d.type!=="checkbox"&&d.type!=="radio"?u&&Ky(u.elementType)&&(S=T0):S=yA;if(S&&(S=S(e,u))){tx(f,S,o,p);break e}E&&E(e,d,u),e==="focusout"&&u&&d.type==="number"&&u.memoizedProps.value!=null&&ny(d,"number",d.value)}switch(E=u?fs(u):window,e){case"focusin":(b0(E)||E.contentEditable==="true")&&(Pi=E,ly=u,gs=null);break;case"focusout":gs=ly=Pi=null;break;case"mousedown":sy=!0;break;case"contextmenu":case"mouseup":case"dragend":sy=!1,C0(f,o,p);break;case"selectionchange":if(bA)break;case"keydown":case"keyup":C0(f,o,p)}var O;if(Wy)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else Ei?Jv(e,o)&&(N="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(N="onCompositionStart");N&&(Wv&&o.locale!=="ko"&&(Ei||N!=="onCompositionStart"?N==="onCompositionEnd"&&Ei&&(O=Zv()):(dn=p,Qy="value"in dn?dn.value:dn.textContent,Ei=!0)),E=Np(u,N),0<E.length&&(N=new m0(N,e,null,o,p),f.push({event:N,listeners:E}),O?N.data=O:(O=ex(o),O!==null&&(N.data=O)))),(O=sA?uA(e,o):cA(e,o))&&(N=Np(u,"onBeforeInput"),0<N.length&&(E=new m0("onBeforeInput","beforeinput",null,o,p),f.push({event:E,listeners:N}),E.data=O)),tM(f,e,u,o,p)}QS(f,t)})}function ks(e,t,o){return{instance:e,listener:t,currentTarget:o}}function Np(e,t){for(var o=t+"Capture",r=[];e!==null;){var n=e,a=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||a===null||(n=Ms(e,o),n!=null&&r.unshift(ks(e,n,a)),n=Ms(e,t),n!=null&&r.push(ks(e,n,a))),e.tag===3)return r;e=e.return}return[]}function rM(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function lv(e,t,o,r,n){for(var a=t._reactName,i=[];o!==null&&o!==r;){var l=o,s=l.alternate,u=l.stateNode;if(l=l.tag,s!==null&&s===r)break;l!==5&&l!==26&&l!==27||u===null||(s=u,n?(u=Ms(o,a),u!=null&&i.unshift(ks(o,u,s))):n||(u=Ms(o,a),u!=null&&i.push(ks(o,u,s)))),o=o.return}i.length!==0&&e.push({event:t,listeners:i})}var nM=/\r\n?/g,aM=/\u0000|\uFFFD/g;function sv(e){return(typeof e=="string"?e:""+e).replace(nM,`
9
+ `).replace(aM,"")}function WS(e,t){return t=sv(t),sv(e)===t}function Pe(e,t,o,r,n,a){switch(o){case"children":typeof r=="string"?t==="body"||t==="textarea"&&r===""||Ii(e,r):(typeof r=="number"||typeof r=="bigint")&&t!=="body"&&Ii(e,""+r);break;case"className":Dc(e,"class",r);break;case"tabIndex":Dc(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":Dc(e,o,r);break;case"style":Xv(e,r,a);break;case"data":if(t!=="object"){Dc(e,"data",r);break}case"src":case"href":if(r===""&&(t!=="a"||o!=="href")){e.removeAttribute(o);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(o);break}r=Kc(""+r),e.setAttribute(o,r);break;case"action":case"formAction":if(typeof r=="function"){e.setAttribute(o,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof a=="function"&&(o==="formAction"?(t!=="input"&&Pe(e,t,"name",n.name,n,null),Pe(e,t,"formEncType",n.formEncType,n,null),Pe(e,t,"formMethod",n.formMethod,n,null),Pe(e,t,"formTarget",n.formTarget,n,null)):(Pe(e,t,"encType",n.encType,n,null),Pe(e,t,"method",n.method,n,null),Pe(e,t,"target",n.target,n,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(o);break}r=Kc(""+r),e.setAttribute(o,r);break;case"onClick":r!=null&&(e.onclick=zr);break;case"onScroll":r!=null&&re("scroll",e);break;case"onScrollEnd":r!=null&&re("scrollend",e);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(z(61));if(o=r.__html,o!=null){if(n.children!=null)throw Error(z(60));e.innerHTML=o}}break;case"multiple":e.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":e.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){e.removeAttribute("xlink:href");break}o=Kc(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(o,""+r):e.removeAttribute(o);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(o,""):e.removeAttribute(o);break;case"capture":case"download":r===!0?e.setAttribute(o,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(o,r):e.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?e.setAttribute(o,r):e.removeAttribute(o);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?e.removeAttribute(o):e.setAttribute(o,r);break;case"popover":re("beforetoggle",e),re("toggle",e),Yc(e,"popover",r);break;case"xlinkActuate":Rr(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":Rr(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":Rr(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":Rr(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":Rr(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":Rr(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":Rr(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":Rr(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":Rr(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":Yc(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=BO.get(o)||o,Yc(e,o,r))}}function _y(e,t,o,r,n,a){switch(o){case"style":Xv(e,r,a);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(z(61));if(o=r.__html,o!=null){if(n.children!=null)throw Error(z(60));e.innerHTML=o}}break;case"children":typeof r=="string"?Ii(e,r):(typeof r=="number"||typeof r=="bigint")&&Ii(e,""+r);break;case"onScroll":r!=null&&re("scroll",e);break;case"onScrollEnd":r!=null&&re("scrollend",e);break;case"onClick":r!=null&&(e.onclick=zr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!qv.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(n=o.endsWith("Capture"),t=o.slice(2,n?o.length-7:void 0),a=e[oo]||null,a=a!=null?a[o]:null,typeof a=="function"&&e.removeEventListener(t,a,n),typeof r=="function")){typeof a!="function"&&a!==null&&(o in e?e[o]=null:e.hasAttribute(o)&&e.removeAttribute(o)),e.addEventListener(t,r,n);break e}o in e?e[o]=r:r===!0?e.setAttribute(o,""):Yc(e,o,r)}}}function Nt(e,t,o){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":re("error",e),re("load",e);var r=!1,n=!1,a;for(a in o)if(o.hasOwnProperty(a)){var i=o[a];if(i!=null)switch(a){case"src":r=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(z(137,t));default:Pe(e,t,a,i,o,null)}}n&&Pe(e,t,"srcSet",o.srcSet,o,null),r&&Pe(e,t,"src",o.src,o,null);return;case"input":re("invalid",e);var l=a=i=n=null,s=null,u=null;for(r in o)if(o.hasOwnProperty(r)){var p=o[r];if(p!=null)switch(r){case"name":n=p;break;case"type":i=p;break;case"checked":s=p;break;case"defaultChecked":u=p;break;case"value":a=p;break;case"defaultValue":l=p;break;case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(z(137,t));break;default:Pe(e,t,r,p,o,null)}}$v(e,a,l,s,u,i,n,!1);return;case"select":re("invalid",e),r=i=a=null;for(n in o)if(o.hasOwnProperty(n)&&(l=o[n],l!=null))switch(n){case"value":a=l;break;case"defaultValue":i=l;break;case"multiple":r=l;default:Pe(e,t,n,l,o,null)}t=a,o=i,e.multiple=!!r,t!=null?Di(e,!!r,t,!1):o!=null&&Di(e,!!r,o,!0);return;case"textarea":re("invalid",e),a=n=r=null;for(i in o)if(o.hasOwnProperty(i)&&(l=o[i],l!=null))switch(i){case"value":r=l;break;case"defaultValue":n=l;break;case"children":a=l;break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(z(91));break;default:Pe(e,t,i,l,o,null)}Kv(e,r,n,a);return;case"option":for(s in o)o.hasOwnProperty(s)&&(r=o[s],r!=null)&&(s==="selected"?e.selected=r&&typeof r!="function"&&typeof r!="symbol":Pe(e,t,s,r,o,null));return;case"dialog":re("beforetoggle",e),re("toggle",e),re("cancel",e),re("close",e);break;case"iframe":case"object":re("load",e);break;case"video":case"audio":for(r=0;r<js.length;r++)re(js[r],e);break;case"image":re("error",e),re("load",e);break;case"details":re("toggle",e);break;case"embed":case"source":case"link":re("error",e),re("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in o)if(o.hasOwnProperty(u)&&(r=o[u],r!=null))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(z(137,t));default:Pe(e,t,u,r,o,null)}return;default:if(Ky(t)){for(p in o)o.hasOwnProperty(p)&&(r=o[p],r!==void 0&&_y(e,t,p,r,o,void 0));return}}for(l in o)o.hasOwnProperty(l)&&(r=o[l],r!=null&&Pe(e,t,l,r,o,null))}function iM(e,t,o,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,a=null,i=null,l=null,s=null,u=null,p=null;for(c in o){var f=o[c];if(o.hasOwnProperty(c)&&f!=null)switch(c){case"checked":break;case"value":break;case"defaultValue":s=f;default:r.hasOwnProperty(c)||Pe(e,t,c,null,r,f)}}for(var d in r){var c=r[d];if(f=o[d],r.hasOwnProperty(d)&&(c!=null||f!=null))switch(d){case"type":a=c;break;case"name":n=c;break;case"checked":u=c;break;case"defaultChecked":p=c;break;case"value":i=c;break;case"defaultValue":l=c;break;case"children":case"dangerouslySetInnerHTML":if(c!=null)throw Error(z(137,t));break;default:c!==f&&Pe(e,t,d,c,r,f)}}ry(e,i,l,s,u,p,a,n);return;case"select":c=i=l=d=null;for(a in o)if(s=o[a],o.hasOwnProperty(a)&&s!=null)switch(a){case"value":break;case"multiple":c=s;default:r.hasOwnProperty(a)||Pe(e,t,a,null,r,s)}for(n in r)if(a=r[n],s=o[n],r.hasOwnProperty(n)&&(a!=null||s!=null))switch(n){case"value":d=a;break;case"defaultValue":l=a;break;case"multiple":i=a;default:a!==s&&Pe(e,t,n,a,r,s)}t=l,o=i,r=c,d!=null?Di(e,!!o,d,!1):!!r!=!!o&&(t!=null?Di(e,!!o,t,!0):Di(e,!!o,o?[]:"",!1));return;case"textarea":c=d=null;for(l in o)if(n=o[l],o.hasOwnProperty(l)&&n!=null&&!r.hasOwnProperty(l))switch(l){case"value":break;case"children":break;default:Pe(e,t,l,null,r,n)}for(i in r)if(n=r[i],a=o[i],r.hasOwnProperty(i)&&(n!=null||a!=null))switch(i){case"value":d=n;break;case"defaultValue":c=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(z(91));break;default:n!==a&&Pe(e,t,i,n,r,a)}Yv(e,d,c);return;case"option":for(var T in o)d=o[T],o.hasOwnProperty(T)&&d!=null&&!r.hasOwnProperty(T)&&(T==="selected"?e.selected=!1:Pe(e,t,T,null,r,d));for(s in r)d=r[s],c=o[s],r.hasOwnProperty(s)&&d!==c&&(d!=null||c!=null)&&(s==="selected"?e.selected=d&&typeof d!="function"&&typeof d!="symbol":Pe(e,t,s,d,r,c));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var v in o)d=o[v],o.hasOwnProperty(v)&&d!=null&&!r.hasOwnProperty(v)&&Pe(e,t,v,null,r,d);for(u in r)if(d=r[u],c=o[u],r.hasOwnProperty(u)&&d!==c&&(d!=null||c!=null))switch(u){case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(z(137,t));break;default:Pe(e,t,u,d,r,c)}return;default:if(Ky(t)){for(var x in o)d=o[x],o.hasOwnProperty(x)&&d!==void 0&&!r.hasOwnProperty(x)&&_y(e,t,x,void 0,r,d);for(p in r)d=r[p],c=o[p],!r.hasOwnProperty(p)||d===c||d===void 0&&c===void 0||_y(e,t,p,d,r,c);return}}for(var m in o)d=o[m],o.hasOwnProperty(m)&&d!=null&&!r.hasOwnProperty(m)&&Pe(e,t,m,null,r,d);for(f in r)d=r[f],c=o[f],!r.hasOwnProperty(f)||d===c||d==null&&c==null||Pe(e,t,f,d,r,c)}function uv(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function lM(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,o=performance.getEntriesByType("resource"),r=0;r<o.length;r++){var n=o[r],a=n.transferSize,i=n.initiatorType,l=n.duration;if(a&&l&&uv(i)){for(i=0,l=n.responseEnd,r+=1;r<o.length;r++){var s=o[r],u=s.startTime;if(u>l)break;var p=s.transferSize,f=s.initiatorType;p&&uv(f)&&(s=s.responseEnd,i+=p*(s<l?1:(l-u)/(s-u)))}if(--r,t+=8*(a+i)/(n.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Dy=null,zy=null;function wp(e){return e.nodeType===9?e:e.ownerDocument}function cv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function JS(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function By(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Fm=null;function sM(){var e=window.event;return e&&e.type==="popstate"?e===Fm?!1:(Fm=e,!0):(Fm=null,!1)}var e1=typeof setTimeout=="function"?setTimeout:void 0,uM=typeof clearTimeout=="function"?clearTimeout:void 0,pv=typeof Promise=="function"?Promise:void 0,cM=typeof queueMicrotask=="function"?queueMicrotask:typeof pv<"u"?function(e){return pv.resolve(null).then(e).catch(pM)}:e1;function pM(e){setTimeout(function(){throw e})}function wn(e){return e==="head"}function fv(e,t){var o=t,r=0;do{var n=o.nextSibling;if(e.removeChild(o),n&&n.nodeType===8)if(o=n.data,o==="/$"||o==="/&"){if(r===0){e.removeChild(n),Xi(t);return}r--}else if(o==="$"||o==="$?"||o==="$~"||o==="$!"||o==="&")r++;else if(o==="html")Os(e.ownerDocument.documentElement);else if(o==="head"){o=e.ownerDocument.head,Os(o);for(var a=o.firstChild;a;){var i=a.nextSibling,l=a.nodeName;a[$s]||l==="SCRIPT"||l==="STYLE"||l==="LINK"&&a.rel.toLowerCase()==="stylesheet"||o.removeChild(a),a=i}}else o==="body"&&Os(e.ownerDocument.body);o=n}while(o);Xi(t)}function dv(e,t){var o=e;e=0;do{var r=o.nextSibling;if(o.nodeType===1?t?(o._stashedDisplay=o.style.display,o.style.display="none"):(o.style.display=o._stashedDisplay||"",o.getAttribute("style")===""&&o.removeAttribute("style")):o.nodeType===3&&(t?(o._stashedText=o.nodeValue,o.nodeValue=""):o.nodeValue=o._stashedText||""),r&&r.nodeType===8)if(o=r.data,o==="/$"){if(e===0)break;e--}else o!=="$"&&o!=="$?"&&o!=="$~"&&o!=="$!"||e++;o=r}while(o)}function Uy(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var o=t;switch(t=t.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":Uy(o),Yy(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}e.removeChild(o)}}function fM(e,t,o,r){for(;e.nodeType===1;){var n=o;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(r){if(!e[$s])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(a=e.getAttribute("rel"),a==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(a!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(a=e.getAttribute("src"),(a!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var a=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===a)return e}else return e;if(e=Io(e.nextSibling),e===null)break}return null}function dM(e,t,o){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!o||(e=Io(e.nextSibling),e===null))return null;return e}function t1(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Io(e.nextSibling),e===null))return null;return e}function jy(e){return e.data==="$?"||e.data==="$~"}function ky(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function mM(e,t){var o=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||o.readyState!=="loading")t();else{var r=function(){t(),o.removeEventListener("DOMContentLoaded",r)};o.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}function Io(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Ly=null;function mv(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"||o==="/&"){if(t===0)return Io(e.nextSibling);t--}else o!=="$"&&o!=="$!"&&o!=="$?"&&o!=="$~"&&o!=="&"||t++}e=e.nextSibling}return null}function yv(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"){if(t===0)return e;t--}else o!=="/$"&&o!=="/&"||t++}e=e.previousSibling}return null}function o1(e,t,o){switch(t=wp(o),e){case"html":if(e=t.documentElement,!e)throw Error(z(452));return e;case"head":if(e=t.head,!e)throw Error(z(453));return e;case"body":if(e=t.body,!e)throw Error(z(454));return e;default:throw Error(z(451))}}function Os(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Yy(e)}var Vo=new Map,hv=new Set;function _p(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Gr=me.d;me.d={f:yM,r:hM,D:gM,C:bM,L:TM,m:vM,X:SM,S:xM,M:CM};function yM(){var e=Gr.f(),t=Xp();return e||t}function hM(e){var t=Zi(e);t!==null&&t.tag===5&&t.type==="form"?Xx(t):Gr.r(e)}var tl=typeof document>"u"?null:document;function r1(e,t,o){var r=tl;if(r&&typeof t=="string"&&t){var n=jo(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof o=="string"&&(n+='[crossorigin="'+o+'"]'),hv.has(n)||(hv.add(n),e={rel:e,crossOrigin:o,href:t},r.querySelector(n)===null&&(t=r.createElement("link"),Nt(t,"link",e),ht(t),r.head.appendChild(t)))}}function gM(e){Gr.D(e),r1("dns-prefetch",e,null)}function bM(e,t){Gr.C(e,t),r1("preconnect",e,t)}function TM(e,t,o){Gr.L(e,t,o);var r=tl;if(r&&e&&t){var n='link[rel="preload"][as="'+jo(t)+'"]';t==="image"&&o&&o.imageSrcSet?(n+='[imagesrcset="'+jo(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(n+='[imagesizes="'+jo(o.imageSizes)+'"]')):n+='[href="'+jo(e)+'"]';var a=n;switch(t){case"style":a=Ki(e);break;case"script":a=ol(e)}Vo.has(a)||(e=Le({rel:"preload",href:t==="image"&&o&&o.imageSrcSet?void 0:e,as:t},o),Vo.set(a,e),r.querySelector(n)!==null||t==="style"&&r.querySelector(Ws(a))||t==="script"&&r.querySelector(Js(a))||(t=r.createElement("link"),Nt(t,"link",e),ht(t),r.head.appendChild(t)))}}function vM(e,t){Gr.m(e,t);var o=tl;if(o&&e){var r=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+jo(r)+'"][href="'+jo(e)+'"]',a=n;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=ol(e)}if(!Vo.has(a)&&(e=Le({rel:"modulepreload",href:e},t),Vo.set(a,e),o.querySelector(n)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(Js(a)))return}r=o.createElement("link"),Nt(r,"link",e),ht(r),o.head.appendChild(r)}}}function xM(e,t,o){Gr.S(e,t,o);var r=tl;if(r&&e){var n=_i(r).hoistableStyles,a=Ki(e);t=t||"default";var i=n.get(a);if(!i){var l={loading:0,preload:null};if(i=r.querySelector(Ws(a)))l.loading=5;else{e=Le({rel:"stylesheet",href:e,"data-precedence":t},o),(o=Vo.get(a))&&_h(e,o);var s=i=r.createElement("link");ht(s),Nt(s,"link",e),s._p=new Promise(function(u,p){s.onload=u,s.onerror=p}),s.addEventListener("load",function(){l.loading|=1}),s.addEventListener("error",function(){l.loading|=2}),l.loading|=4,np(i,t,r)}i={type:"stylesheet",instance:i,count:1,state:l},n.set(a,i)}}}function SM(e,t){Gr.X(e,t);var o=tl;if(o&&e){var r=_i(o).hoistableScripts,n=ol(e),a=r.get(n);a||(a=o.querySelector(Js(n)),a||(e=Le({src:e,async:!0},t),(t=Vo.get(n))&&Dh(e,t),a=o.createElement("script"),ht(a),Nt(a,"link",e),o.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(n,a))}}function CM(e,t){Gr.M(e,t);var o=tl;if(o&&e){var r=_i(o).hoistableScripts,n=ol(e),a=r.get(n);a||(a=o.querySelector(Js(n)),a||(e=Le({src:e,async:!0,type:"module"},t),(t=Vo.get(n))&&Dh(e,t),a=o.createElement("script"),ht(a),Nt(a,"link",e),o.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(n,a))}}function gv(e,t,o,r){var n=(n=gn.current)?_p(n):null;if(!n)throw Error(z(446));switch(e){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(t=Ki(o.href),o=_i(n).hoistableStyles,r=o.get(t),r||(r={type:"style",instance:null,count:0,state:null},o.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){e=Ki(o.href);var a=_i(n).hoistableStyles,i=a.get(e);if(i||(n=n.ownerDocument||n,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},a.set(e,i),(a=n.querySelector(Ws(e)))&&!a._p&&(i.instance=a,i.state.loading=5),Vo.has(e)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},Vo.set(e,o),a||EM(n,e,o,i.state))),t&&r===null)throw Error(z(528,""));return i}if(t&&r!==null)throw Error(z(529,""));return null;case"script":return t=o.async,o=o.src,typeof o=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ol(o),o=_i(n).hoistableScripts,r=o.get(t),r||(r={type:"script",instance:null,count:0,state:null},o.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(z(444,e))}}function Ki(e){return'href="'+jo(e)+'"'}function Ws(e){return'link[rel="stylesheet"]['+e+"]"}function n1(e){return Le({},e,{"data-precedence":e.precedence,precedence:null})}function EM(e,t,o,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=1:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2}),Nt(t,"link",o),ht(t),e.head.appendChild(t))}function ol(e){return'[src="'+jo(e)+'"]'}function Js(e){return"script[async]"+e}function bv(e,t,o){if(t.count++,t.instance===null)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+jo(o.href)+'"]');if(r)return t.instance=r,ht(r),r;var n=Le({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement("style"),ht(r),Nt(r,"style",n),np(r,o.precedence,e),t.instance=r;case"stylesheet":n=Ki(o.href);var a=e.querySelector(Ws(n));if(a)return t.state.loading|=4,t.instance=a,ht(a),a;r=n1(o),(n=Vo.get(n))&&_h(r,n),a=(e.ownerDocument||e).createElement("link"),ht(a);var i=a;return i._p=new Promise(function(l,s){i.onload=l,i.onerror=s}),Nt(a,"link",r),t.state.loading|=4,np(a,o.precedence,e),t.instance=a;case"script":return a=ol(o.src),(n=e.querySelector(Js(a)))?(t.instance=n,ht(n),n):(r=o,(n=Vo.get(a))&&(r=Le({},o),Dh(r,n)),e=e.ownerDocument||e,n=e.createElement("script"),ht(n),Nt(n,"link",r),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(z(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(r=t.instance,t.state.loading|=4,np(r,o.precedence,e));return t.instance}function np(e,t,o){for(var r=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=r.length?r[r.length-1]:null,a=n,i=0;i<r.length;i++){var l=r[i];if(l.dataset.precedence===t)a=l;else if(a!==n)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=o.nodeType===9?o.head:o,t.insertBefore(e,t.firstChild))}function _h(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Dh(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var ap=null;function Tv(e,t,o){if(ap===null){var r=new Map,n=ap=new Map;n.set(o,r)}else n=ap,r=n.get(o),r||(r=new Map,n.set(o,r));if(r.has(e))return r;for(r.set(e,null),o=o.getElementsByTagName(e),n=0;n<o.length;n++){var a=o[n];if(!(a[$s]||a[Ot]||e==="link"&&a.getAttribute("rel")==="stylesheet")&&a.namespaceURI!=="http://www.w3.org/2000/svg"){var i=a.getAttribute(t)||"";i=e+i;var l=r.get(i);l?l.push(a):r.set(i,[a])}}return r}function vv(e,t,o){e=e.ownerDocument||e,e.head.insertBefore(o,t==="title"?e.querySelector("head > title"):null)}function PM(e,t,o){if(o===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function a1(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function RM(e,t,o,r){if(o.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var n=Ki(r.href),a=t.querySelector(Ws(n));if(a){t=a._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Dp.bind(e),t.then(e,e)),o.state.loading|=4,o.instance=a,ht(a);return}a=t.ownerDocument||t,r=n1(r),(n=Vo.get(n))&&_h(r,n),a=a.createElement("link"),ht(a);var i=a;i._p=new Promise(function(l,s){i.onload=l,i.onerror=s}),Nt(a,"link",r),o.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(o,t),(t=o.state.preload)&&(o.state.loading&3)===0&&(e.count++,o=Dp.bind(e),t.addEventListener("load",o),t.addEventListener("error",o))}}var $m=0;function OM(e,t){return e.stylesheets&&e.count===0&&ip(e,e.stylesheets),0<e.count||0<e.imgCount?function(o){var r=setTimeout(function(){if(e.stylesheets&&ip(e,e.stylesheets),e.unsuspend){var a=e.unsuspend;e.unsuspend=null,a()}},6e4+t);0<e.imgBytes&&$m===0&&($m=62500*lM());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&ip(e,e.stylesheets),e.unsuspend)){var a=e.unsuspend;e.unsuspend=null,a()}},(e.imgBytes>$m?50:800)+t);return e.unsuspend=o,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(n)}}:null}function Dp(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ip(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var zp=null;function ip(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,zp=new Map,t.forEach(AM,e),zp=null,Dp.call(e))}function AM(e,t){if(!(t.state.loading&4)){var o=zp.get(e);if(o)var r=o.get(null);else{o=new Map,zp.set(e,o);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<n.length;a++){var i=n[a];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(o.set(i.dataset.precedence,i),r=i)}r&&o.set(null,r)}n=t.instance,i=n.getAttribute("data-precedence"),a=o.get(i)||r,a===r&&o.set(null,n),o.set(i,n),this.count++,r=Dp.bind(this),n.addEventListener("load",r),n.addEventListener("error",r),a?a.parentNode.insertBefore(n,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var Ls={$$typeof:Dr,Provider:null,Consumer:null,_currentValue:na,_currentValue2:na,_threadCount:0};function MM(e,t,o,r,n,a,i,l,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=bm(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bm(0),this.hiddenUpdates=bm(null),this.identifierPrefix=r,this.onUncaughtError=n,this.onCaughtError=a,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function i1(e,t,o,r,n,a,i,l,s,u,p,f){return e=new MM(e,t,o,i,s,u,p,f,l),t=1,a===!0&&(t|=24),a=yo(3,null,null,t),e.current=a,a.stateNode=e,t=ah(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:o,cache:t},sh(a),e}function l1(e){return e?(e=Ai,e):Ai}function s1(e,t,o,r,n,a){n=l1(n),r.context===null?r.context=n:r.pendingContext=n,r=Tn(t),r.payload={element:o},a=a===void 0?null:a,a!==null&&(r.callback=a),o=vn(e,r,t),o!==null&&(to(o,e,t),Ts(o,e,t))}function xv(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function zh(e,t){xv(e,t),(e=e.alternate)&&xv(e,t)}function u1(e){if(e.tag===13||e.tag===31){var t=ga(e,67108864);t!==null&&to(t,e,67108864),zh(e,67108864)}}function Sv(e){if(e.tag===13||e.tag===31){var t=vo();t=Fy(t);var o=ga(e,t);o!==null&&to(o,e,t),zh(e,t)}}var Bp=!0;function NM(e,t,o,r){var n=$.T;$.T=null;var a=me.p;try{me.p=2,Bh(e,t,o,r)}finally{me.p=a,$.T=n}}function wM(e,t,o,r){var n=$.T;$.T=null;var a=me.p;try{me.p=8,Bh(e,t,o,r)}finally{me.p=a,$.T=n}}function Bh(e,t,o,r){if(Bp){var n=Hy(r);if(n===null)Gm(e,t,r,Up,o),Cv(e,r);else if(DM(n,e,t,o,r))r.stopPropagation();else if(Cv(e,r),t&4&&-1<_M.indexOf(e)){for(;n!==null;){var a=Zi(n);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var i=ta(a.pendingLanes);if(i!==0){var l=a;for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var s=1<<31-To(i);l.entanglements[1]|=s,i&=~s}hr(a),(de&6)===0&&(Pp=go()+500,Zs(0,!1))}}break;case 31:case 13:l=ga(a,2),l!==null&&to(l,a,2),Xp(),zh(a,2)}if(a=Hy(r),a===null&&Gm(e,t,r,Up,o),a===n)break;n=a}n!==null&&r.stopPropagation()}else Gm(e,t,r,null,o)}}function Hy(e){return e=Xy(e),Uh(e)}var Up=null;function Uh(e){if(Up=null,e=Si(e),e!==null){var t=Vs(e);if(t===null)e=null;else{var o=t.tag;if(o===13){if(e=Mv(t),e!==null)return e;e=null}else if(o===31){if(e=Nv(t),e!==null)return e;e=null}else if(o===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Up=e,null}function c1(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(TO()){case zv:return 2;case Bv:return 8;case pp:case vO:return 32;case Uv:return 268435456;default:return 32}default:return 32}}var Iy=!1,Cn=null,En=null,Pn=null,Hs=new Map,Is=new Map,pn=[],_M="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Cv(e,t){switch(e){case"focusin":case"focusout":Cn=null;break;case"dragenter":case"dragleave":En=null;break;case"mouseover":case"mouseout":Pn=null;break;case"pointerover":case"pointerout":Hs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Is.delete(t.pointerId)}}function ss(e,t,o,r,n,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:o,eventSystemFlags:r,nativeEvent:a,targetContainers:[n]},t!==null&&(t=Zi(t),t!==null&&u1(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function DM(e,t,o,r,n){switch(t){case"focusin":return Cn=ss(Cn,e,t,o,r,n),!0;case"dragenter":return En=ss(En,e,t,o,r,n),!0;case"mouseover":return Pn=ss(Pn,e,t,o,r,n),!0;case"pointerover":var a=n.pointerId;return Hs.set(a,ss(Hs.get(a)||null,e,t,o,r,n)),!0;case"gotpointercapture":return a=n.pointerId,Is.set(a,ss(Is.get(a)||null,e,t,o,r,n)),!0}return!1}function p1(e){var t=Si(e.target);if(t!==null){var o=Vs(t);if(o!==null){if(t=o.tag,t===13){if(t=Mv(o),t!==null){e.blockedOn=t,i0(e.priority,function(){Sv(o)});return}}else if(t===31){if(t=Nv(o),t!==null){e.blockedOn=t,i0(e.priority,function(){Sv(o)});return}}else if(t===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function lp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=Hy(e.nativeEvent);if(o===null){o=e.nativeEvent;var r=new o.constructor(o.type,o);ay=r,o.target.dispatchEvent(r),ay=null}else return t=Zi(o),t!==null&&u1(t),e.blockedOn=o,!1;t.shift()}return!0}function Ev(e,t,o){lp(e)&&o.delete(t)}function zM(){Iy=!1,Cn!==null&&lp(Cn)&&(Cn=null),En!==null&&lp(En)&&(En=null),Pn!==null&&lp(Pn)&&(Pn=null),Hs.forEach(Ev),Is.forEach(Ev)}function Fc(e,t){e.blockedOn===t&&(e.blockedOn=null,Iy||(Iy=!0,ft.unstable_scheduleCallback(ft.unstable_NormalPriority,zM)))}var $c=null;function Pv(e){$c!==e&&($c=e,ft.unstable_scheduleCallback(ft.unstable_NormalPriority,function(){$c===e&&($c=null);for(var t=0;t<e.length;t+=3){var o=e[t],r=e[t+1],n=e[t+2];if(typeof r!="function"){if(Uh(r||o)===null)continue;break}var a=Zi(o);a!==null&&(e.splice(t,3),t-=3,xy(a,{pending:!0,data:n,method:o.method,action:r},r,n))}}))}function Xi(e){function t(s){return Fc(s,e)}Cn!==null&&Fc(Cn,e),En!==null&&Fc(En,e),Pn!==null&&Fc(Pn,e),Hs.forEach(t),Is.forEach(t);for(var o=0;o<pn.length;o++){var r=pn[o];r.blockedOn===e&&(r.blockedOn=null)}for(;0<pn.length&&(o=pn[0],o.blockedOn===null);)p1(o),o.blockedOn===null&&pn.shift();if(o=(e.ownerDocument||e).$$reactFormReplay,o!=null)for(r=0;r<o.length;r+=3){var n=o[r],a=o[r+1],i=n[oo]||null;if(typeof a=="function")i||Pv(o);else if(i){var l=null;if(a&&a.hasAttribute("formAction")){if(n=a,i=a[oo]||null)l=i.formAction;else if(Uh(n)!==null)continue}else l=i.action;typeof l=="function"?o[r+1]=l:(o.splice(r,3),r-=3),Pv(o)}}}function f1(){function e(a){a.canIntercept&&a.info==="react-transition"&&a.intercept({handler:function(){return new Promise(function(i){return n=i})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),r||setTimeout(o,20)}function o(){if(!r&&!navigation.transition){var a=navigation.currentEntry;a&&a.url!=null&&navigation.navigate(a.url,{state:a.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var r=!1,n=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(o,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function jh(e){this._internalRoot=e}Wp.prototype.render=jh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(z(409));var o=t.current,r=vo();s1(o,r,e,t,null,null)};Wp.prototype.unmount=jh.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;s1(e.current,2,null,e,null,null),Xp(),t[Qi]=null}};function Wp(e){this._internalRoot=e}Wp.prototype.unstable_scheduleHydration=function(e){if(e){var t=Iv();e={blockedOn:null,target:e,priority:t};for(var o=0;o<pn.length&&t!==0&&t<pn[o].priority;o++);pn.splice(o,0,e),o===0&&p1(e)}};var Rv=Ov.version;if(Rv!=="19.2.4")throw Error(z(527,Rv,"19.2.4"));me.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(z(188)):(e=Object.keys(e).join(","),Error(z(268,e)));return e=fO(t),e=e!==null?wv(e):null,e=e===null?null:e.stateNode,e};var BM={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:$,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(us=__REACT_DEVTOOLS_GLOBAL_HOOK__,!us.isDisabled&&us.supportsFiber))try{qs=us.inject(BM),bo=us}catch{}var us;Jp.createRoot=function(e,t){if(!Av(e))throw Error(z(299));var o=!1,r="",n=rS,a=nS,i=aS;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(a=t.onCaughtError),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=i1(e,1,!1,null,null,o,r,null,n,a,i,f1),e[Qi]=t.current,wh(e),new jh(t)};Jp.hydrateRoot=function(e,t,o){if(!Av(e))throw Error(z(299));var r=!1,n="",a=rS,i=nS,l=aS,s=null;return o!=null&&(o.unstable_strictMode===!0&&(r=!0),o.identifierPrefix!==void 0&&(n=o.identifierPrefix),o.onUncaughtError!==void 0&&(a=o.onUncaughtError),o.onCaughtError!==void 0&&(i=o.onCaughtError),o.onRecoverableError!==void 0&&(l=o.onRecoverableError),o.formState!==void 0&&(s=o.formState)),t=i1(e,1,!0,t,o??null,r,n,s,a,i,l,f1),t.context=l1(null),o=t.current,r=vo(),r=Fy(r),n=Tn(r),n.callback=null,vn(o,n,r),o=r,t.current.lanes=o,Fs(t,o),hr(t),e[Qi]=t.current,wh(e),new Wp(t)};Jp.version="19.2.4"});var h1=It((P4,y1)=>{"use strict";function m1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(m1)}catch(e){console.error(e)}}m1(),y1.exports=d1()});var E1=It(tf=>{"use strict";var ZM=Symbol.for("react.transitional.element"),WM=Symbol.for("react.fragment");function C1(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:ZM,type:e,key:r,ref:t!==void 0?t:null,props:o}}tf.Fragment=WM;tf.jsx=C1;tf.jsxs=C1});var j=It((rB,P1)=>{"use strict";P1.exports=E1()});var M1=It(Ae=>{"use strict";var kh=Symbol.for("react.transitional.element"),Lh=Symbol.for("react.portal"),of=Symbol.for("react.fragment"),rf=Symbol.for("react.strict_mode"),nf=Symbol.for("react.profiler"),af=Symbol.for("react.consumer"),lf=Symbol.for("react.context"),sf=Symbol.for("react.forward_ref"),uf=Symbol.for("react.suspense"),cf=Symbol.for("react.suspense_list"),pf=Symbol.for("react.memo"),ff=Symbol.for("react.lazy"),eN=Symbol.for("react.view_transition"),tN=Symbol.for("react.client.reference");function qo(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case kh:switch(e=e.type,e){case of:case nf:case rf:case uf:case cf:case eN:return e;default:switch(e=e&&e.$$typeof,e){case lf:case sf:case ff:case pf:return e;case af:return e;default:return t}}case Lh:return t}}}Ae.ContextConsumer=af;Ae.ContextProvider=lf;Ae.Element=kh;Ae.ForwardRef=sf;Ae.Fragment=of;Ae.Lazy=ff;Ae.Memo=pf;Ae.Portal=Lh;Ae.Profiler=nf;Ae.StrictMode=rf;Ae.Suspense=uf;Ae.SuspenseList=cf;Ae.isContextConsumer=function(e){return qo(e)===af};Ae.isContextProvider=function(e){return qo(e)===lf};Ae.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===kh};Ae.isForwardRef=function(e){return qo(e)===sf};Ae.isFragment=function(e){return qo(e)===of};Ae.isLazy=function(e){return qo(e)===ff};Ae.isMemo=function(e){return qo(e)===pf};Ae.isPortal=function(e){return qo(e)===Lh};Ae.isProfiler=function(e){return qo(e)===nf};Ae.isStrictMode=function(e){return qo(e)===rf};Ae.isSuspense=function(e){return qo(e)===uf};Ae.isSuspenseList=function(e){return qo(e)===cf};Ae.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===of||e===nf||e===rf||e===uf||e===cf||typeof e=="object"&&e!==null&&(e.$$typeof===ff||e.$$typeof===pf||e.$$typeof===lf||e.$$typeof===af||e.$$typeof===sf||e.$$typeof===tN||e.getModuleId!==void 0)};Ae.typeOf=qo});var w1=It((mB,N1)=>{"use strict";N1.exports=M1()});var _b="data-assist-send-style",p2=`
10
+ .assist-send {
11
+ font: inherit;
12
+ font-size: 12px;
13
+ font-weight: 600;
14
+ line-height: 20px;
15
+ display: inline-flex;
16
+ align-items: center;
17
+ align-self: center;
18
+ vertical-align: middle;
19
+ gap: 6px;
20
+ padding: 1px 8px 1px 5px;
21
+ margin-left: 6px;
22
+ border-radius: 6px;
23
+ border: 1px solid var(--button-default-borderColor-rest, var(--borderColor-default, #d1d9e0));
24
+ background: var(--button-default-bgColor-rest, #f6f8fa);
25
+ color: var(--button-default-fgColor-rest, var(--fgColor-default, #1f2328));
26
+ cursor: pointer;
27
+ transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
28
+ }
29
+ .assist-send img {
30
+ width: 16px;
31
+ height: 16px;
32
+ display: block;
33
+ transition: transform 0.2s ease;
34
+ }
35
+ .assist-send--header {
36
+ padding: 3px 12px 3px 8px;
37
+ margin-left: 0;
38
+ }
39
+ .assist-send:hover:not(:disabled) {
40
+ background: var(--button-default-bgColor-hover, #eff2f5);
41
+ border-color: var(--fgColor-muted, #59636e);
42
+ box-shadow: var(--shadow-resting-small, 0 1px 3px rgba(31, 35, 40, 0.12));
43
+ }
44
+ .assist-send:hover:not(:disabled) img {
45
+ transform: scale(1.12);
46
+ }
47
+ .assist-send:active:not(:disabled) {
48
+ background: var(--button-default-bgColor-active, #e6eaef);
49
+ box-shadow: none;
50
+ }
51
+ .assist-send:focus-visible {
52
+ outline: 2px solid var(--focus-outlineColor, #0969da);
53
+ outline-offset: -2px;
54
+ }
55
+ .assist-send:disabled {
56
+ cursor: progress;
57
+ opacity: 0.6;
58
+ }
59
+ @media (prefers-reduced-motion: reduce) {
60
+ .assist-send,
61
+ .assist-send img {
62
+ transition: none;
63
+ }
64
+ }
65
+ `;function Db(){if(document.head.querySelector(`[${_b}]`))return;let e=document.createElement("style");e.setAttribute(_b,""),e.textContent=p2,document.head.append(e)}function tc(){return globalThis.browser?.runtime}async function zb(e,t){let o=tc();if(!o)return{ok:!1,message:"assist extension runtime unavailable"};let r={type:"assist-send",url:e,instructions:t};try{return await o.sendMessage(r)??{ok:!1,message:"assist extension did not reply"}}catch(n){return{ok:!1,message:n instanceof Error?n.message:String(n)}}}var f2=["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(";"),Bb={ok:"var(--bgColor-success-emphasis, #1f883d)",error:"var(--bgColor-danger-emphasis, #cf222e)"};function Ub(e,t){let o=document.createElement("div");return o.setAttribute("data-assist-toast",""),o.setAttribute("role","status"),o.style.cssText=`${f2};background: ${t?Bb.ok:Bb.error}`,o.textContent=e,document.body.append(o),setTimeout(()=>o.remove(),t?4e3:8e3),o}var d2=!1;function m2(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function y2(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var jb=(function(){function e(o){var r=this;this._insertTag=function(n){var a;r.tags.length===0?r.insertionPoint?a=r.insertionPoint.nextSibling:r.prepend?a=r.container.firstChild:a=r.before:a=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(n,a),r.tags.push(n)},this.isSpeedy=o.speedy===void 0?!d2:o.speedy,this.tags=[],this.ctr=0,this.nonce=o.nonce,this.key=o.key,this.container=o.container,this.prepend=o.prepend,this.insertionPoint=o.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(y2(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var a=m2(n);try{a.insertRule(r,a.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var n;return(n=r.parentNode)==null?void 0:n.removeChild(r)}),this.tags=[],this.ctr=0},e})();var Pt="-ms-",Fl="-moz-",pe="-webkit-",oc="comm",Wa="rule",Ja="decl";var kb="@import";var rc="@keyframes";var Lb="@layer";var Hb=Math.abs,Xn=String.fromCharCode,Ib=Object.assign;function Vb(e,t){return Je(e,0)^45?(((t<<2^Je(e,0))<<2^Je(e,1))<<2^Je(e,2))<<2^Je(e,3):0}function nc(e){return e.trim()}function Id(e,t){return(e=t.exec(e))?e[0]:e}function ue(e,t,o){return e.replace(t,o)}function $l(e,t){return e.indexOf(t)}function Je(e,t){return e.charCodeAt(t)|0}function tn(e,t,o){return e.slice(t,o)}function Vt(e){return e.length}function ei(e){return e.length}function ti(e,t){return t.push(e),e}function Vd(e,t){return e.map(t).join("")}var ac=1,oi=1,qb=0,qt=0,rt=0,ni="";function Yl(e,t,o,r,n,a,i){return{value:e,root:t,parent:o,type:r,props:n,children:a,line:ac,column:oi,length:i,return:""}}function ai(e,t){return Ib(Yl("",null,null,"",null,null,0),e,{length:-e.length},t)}function Gb(){return rt}function Fb(){return rt=qt>0?Je(ni,--qt):0,oi--,rt===10&&(oi=1,ac--),rt}function Gt(){return rt=qt<qb?Je(ni,qt++):0,oi++,rt===10&&(oi=1,ac++),rt}function No(){return Je(ni,qt)}function Kl(){return qt}function ii(e,t){return tn(ni,e,t)}function ri(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ic(e){return ac=oi=1,qb=Vt(ni=e),qt=0,[]}function lc(e){return ni="",e}function li(e){return nc(ii(qt-1,qd(e===91?e+2:e===40?e+1:e)))}function $b(e){for(;(rt=No())&&rt<33;)Gt();return ri(e)>2||ri(rt)>3?"":" "}function Yb(e,t){for(;--t&&Gt()&&!(rt<48||rt>102||rt>57&&rt<65||rt>70&&rt<97););return ii(e,Kl()+(t<6&&No()==32&&Gt()==32))}function qd(e){for(;Gt();)switch(rt){case e:return qt;case 34:case 39:e!==34&&e!==39&&qd(rt);break;case 40:e===41&&qd(e);break;case 92:Gt();break}return qt}function Kb(e,t){for(;Gt()&&e+rt!==57;)if(e+rt===84&&No()===47)break;return"/*"+ii(t,qt-1)+"*"+Xn(e===47?e:Gt())}function Xb(e){for(;!ri(No());)Gt();return ii(e,qt)}function Wb(e){return lc(sc("",null,null,null,[""],e=ic(e),0,[0],e))}function sc(e,t,o,r,n,a,i,l,s){for(var u=0,p=0,f=i,d=0,c=0,T=0,v=1,x=1,m=1,y=0,g="",b=n,P=a,S=r,E=g;x;)switch(T=y,y=Gt()){case 40:if(T!=108&&Je(E,f-1)==58){$l(E+=ue(li(y),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:E+=li(y);break;case 9:case 10:case 13:case 32:E+=$b(T);break;case 92:E+=Yb(Kl()-1,7);continue;case 47:switch(No()){case 42:case 47:ti(h2(Kb(Gt(),Kl()),t,o),s);break;default:E+="/"}break;case 123*v:l[u++]=Vt(E)*m;case 125*v:case 59:case 0:switch(y){case 0:case 125:x=0;case 59+p:m==-1&&(E=ue(E,/\f/g,"")),c>0&&Vt(E)-f&&ti(c>32?Zb(E+";",r,o,f-1):Zb(ue(E," ","")+";",r,o,f-2),s);break;case 59:E+=";";default:if(ti(S=Qb(E,t,o,u,p,n,l,g,b=[],P=[],f),a),y===123)if(p===0)sc(E,t,S,S,b,a,f,l,P);else switch(d===99&&Je(E,3)===110?100:d){case 100:case 108:case 109:case 115:sc(e,S,S,r&&ti(Qb(e,S,S,0,0,n,l,g,n,b=[],f),P),n,P,f,l,r?b:P);break;default:sc(E,S,S,S,[""],P,0,l,P)}}u=p=c=0,v=m=1,g=E="",f=i;break;case 58:f=1+Vt(E),c=T;default:if(v<1){if(y==123)--v;else if(y==125&&v++==0&&Fb()==125)continue}switch(E+=Xn(y),y*v){case 38:m=p>0?1:(E+="\f",-1);break;case 44:l[u++]=(Vt(E)-1)*m,m=1;break;case 64:No()===45&&(E+=li(Gt())),d=No(),p=f=Vt(g=E+=Xb(Kl())),y++;break;case 45:T===45&&Vt(E)==2&&(v=0)}}return a}function Qb(e,t,o,r,n,a,i,l,s,u,p){for(var f=n-1,d=n===0?a:[""],c=ei(d),T=0,v=0,x=0;T<r;++T)for(var m=0,y=tn(e,f+1,f=Hb(v=i[T])),g=e;m<c;++m)(g=nc(v>0?d[m]+" "+y:ue(y,/&\f/g,d[m])))&&(s[x++]=g);return Yl(e,t,o,n===0?Wa:l,s,u,p)}function h2(e,t,o){return Yl(e,t,o,oc,Xn(Gb()),tn(e,2,-2),0)}function Zb(e,t,o,r){return Yl(e,t,o,Ja,tn(e,0,r),tn(e,r+1,-1),r)}function Qn(e,t){for(var o="",r=ei(e),n=0;n<r;n++)o+=t(e[n],n,e,t)||"";return o}function Jb(e,t,o,r){switch(e.type){case Lb:if(e.children.length)break;case kb:case Ja:return e.return=e.return||e.value;case oc:return"";case rc:return e.return=e.value+"{"+Qn(e.children,r)+"}";case Wa:e.value=e.props.join(",")}return Vt(o=Qn(e.children,r))?e.return=e.value+"{"+o+"}":""}function eT(e){var t=ei(e);return function(o,r,n,a){for(var i="",l=0;l<t;l++)i+=e[l](o,r,n,a)||"";return i}}function tT(e){return function(t){t.root||(t=t.return)&&e(t)}}function uc(e){var t=Object.create(null);return function(o){return t[o]===void 0&&(t[o]=e(o)),t[o]}}var g2=function(t,o,r){for(var n=0,a=0;n=a,a=No(),n===38&&a===12&&(o[r]=1),!ri(a);)Gt();return ii(t,qt)},b2=function(t,o){var r=-1,n=44;do switch(ri(n)){case 0:n===38&&No()===12&&(o[r]=1),t[r]+=g2(qt-1,o,r);break;case 2:t[r]+=li(n);break;case 4:if(n===44){t[++r]=No()===58?"&\f":"",o[r]=t[r].length;break}default:t[r]+=Xn(n)}while(n=Gt());return t},T2=function(t,o){return lc(b2(ic(t),o))},oT=new WeakMap,v2=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var o=t.value,r=t.parent,n=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&o.charCodeAt(0)!==58&&!oT.get(r))&&!n){oT.set(t,!0);for(var a=[],i=T2(o,a),l=r.props,s=0,u=0;s<i.length;s++)for(var p=0;p<l.length;p++,u++)t.props[u]=a[s]?i[s].replace(/&\f/g,l[p]):l[p]+" "+i[s]}}},x2=function(t){if(t.type==="decl"){var o=t.value;o.charCodeAt(0)===108&&o.charCodeAt(2)===98&&(t.return="",t.value="")}};function rT(e,t){switch(Vb(e,t)){case 5103:return pe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return pe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return pe+e+Fl+e+Pt+e+e;case 6828:case 4268:return pe+e+Pt+e+e;case 6165:return pe+e+Pt+"flex-"+e+e;case 5187:return pe+e+ue(e,/(\w+).+(:[^]+)/,pe+"box-$1$2"+Pt+"flex-$1$2")+e;case 5443:return pe+e+Pt+"flex-item-"+ue(e,/flex-|-self/,"")+e;case 4675:return pe+e+Pt+"flex-line-pack"+ue(e,/align-content|flex-|-self/,"")+e;case 5548:return pe+e+Pt+ue(e,"shrink","negative")+e;case 5292:return pe+e+Pt+ue(e,"basis","preferred-size")+e;case 6060:return pe+"box-"+ue(e,"-grow","")+pe+e+Pt+ue(e,"grow","positive")+e;case 4554:return pe+ue(e,/([^-])(transform)/g,"$1"+pe+"$2")+e;case 6187:return ue(ue(ue(e,/(zoom-|grab)/,pe+"$1"),/(image-set)/,pe+"$1"),e,"")+e;case 5495:case 3959:return ue(e,/(image-set\([^]*)/,pe+"$1$`$1");case 4968:return ue(ue(e,/(.+:)(flex-)?(.*)/,pe+"box-pack:$3"+Pt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+pe+e+e;case 4095:case 3583:case 4068:case 2532:return ue(e,/(.+)-inline(.+)/,pe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Vt(e)-1-t>6)switch(Je(e,t+1)){case 109:if(Je(e,t+4)!==45)break;case 102:return ue(e,/(.+:)(.+)-([^]+)/,"$1"+pe+"$2-$3$1"+Fl+(Je(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~$l(e,"stretch")?rT(ue(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Je(e,t+1)!==115)break;case 6444:switch(Je(e,Vt(e)-3-(~$l(e,"!important")&&10))){case 107:return ue(e,":",":"+pe)+e;case 101:return ue(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+pe+(Je(e,14)===45?"inline-":"")+"box$3$1"+pe+"$2$3$1"+Pt+"$2box$3")+e}break;case 5936:switch(Je(e,t+11)){case 114:return pe+e+Pt+ue(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return pe+e+Pt+ue(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return pe+e+Pt+ue(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return pe+e+Pt+e+e}return e}var S2=function(t,o,r,n){if(t.length>-1&&!t.return)switch(t.type){case Ja:t.return=rT(t.value,t.length);break;case rc:return Qn([ai(t,{value:ue(t.value,"@","@"+pe)})],n);case Wa:if(t.length)return Vd(t.props,function(a){switch(Id(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Qn([ai(t,{props:[ue(a,/:(read-\w+)/,":"+Fl+"$1")]})],n);case"::placeholder":return Qn([ai(t,{props:[ue(a,/:(plac\w+)/,":"+pe+"input-$1")]}),ai(t,{props:[ue(a,/:(plac\w+)/,":"+Fl+"$1")]}),ai(t,{props:[ue(a,/:(plac\w+)/,Pt+"input-$1")]})],n)}return""})}},C2=[S2],cc=function(t){var o=t.key;if(o==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var x=v.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var n=t.stylisPlugins||C2,a={},i,l=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+o+' "]'),function(v){for(var x=v.getAttribute("data-emotion").split(" "),m=1;m<x.length;m++)a[x[m]]=!0;l.push(v)});var s,u=[v2,x2];{var p,f=[Jb,tT(function(v){p.insert(v)})],d=eT(u.concat(n,f)),c=function(x){return Qn(Wb(x),d)};s=function(x,m,y,g){p=y,c(x?x+"{"+m.styles+"}":m.styles),g&&(T.inserted[m.name]=!0)}}var T={key:o,sheet:new jb({key:o,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:s};return T.sheet.hydrate(l),T};var wo=C(U()),Sc=C(U());function Zn(){return Zn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Zn.apply(null,arguments)}var W2=!0;function Xl(e,t,o){var r="";return o.split(" ").forEach(function(n){e[n]!==void 0?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var ci=function(t,o,r){var n=t.key+"-"+o.name;(r===!1||W2===!1)&&t.registered[n]===void 0&&(t.registered[n]=o.styles)},pi=function(t,o,r){ci(t,o,r);var n=t.key+"-"+o.name;if(t.inserted[o.name]===void 0){var a=o;do t.insert(o===a?"."+n:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function OT(e){for(var t=0,o,r=0,n=e.length;n>=4;++r,n-=4)o=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,o=(o&65535)*1540483477+((o>>>16)*59797<<16),o^=o>>>24,t=(o&65535)*1540483477+((o>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var AT={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var J2=!1,eO=/[A-Z]|^ms/g,tO=/_EMO_([^_]+?)_([^]*?)_EMO_/g,_T=function(t){return t.charCodeAt(1)===45},MT=function(t){return t!=null&&typeof t!="boolean"},om=uc(function(e){return _T(e)?e:e.replace(eO,"-$&").toLowerCase()}),NT=function(t,o){switch(t){case"animation":case"animationName":if(typeof o=="string")return o.replace(tO,function(r,n,a){return sr={name:n,styles:a,next:sr},n})}return AT[t]!==1&&!_T(t)&&typeof o=="number"&&o!==0?o+"px":o},oO="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ql(e,t,o){if(o==null)return"";var r=o;if(r.__emotion_styles!==void 0)return r;switch(typeof o){case"boolean":return"";case"object":{var n=o;if(n.anim===1)return sr={name:n.name,styles:n.styles,next:sr},n.name;var a=o;if(a.styles!==void 0){var i=a.next;if(i!==void 0)for(;i!==void 0;)sr={name:i.name,styles:i.styles,next:sr},i=i.next;var l=a.styles+";";return l}return rO(e,t,o)}case"function":{if(e!==void 0){var s=sr,u=o(e);return sr=s,Ql(e,t,u)}break}}var p=o;if(t==null)return p;var f=t[p];return f!==void 0?f:p}function rO(e,t,o){var r="";if(Array.isArray(o))for(var n=0;n<o.length;n++)r+=Ql(e,t,o[n])+";";else for(var a in o){var i=o[a];if(typeof i!="object"){var l=i;t!=null&&t[l]!==void 0?r+=a+"{"+t[l]+"}":MT(l)&&(r+=om(a)+":"+NT(a,l)+";")}else{if(a==="NO_COMPONENT_SELECTOR"&&J2)throw new Error(oO);if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var s=0;s<i.length;s++)MT(i[s])&&(r+=om(a)+":"+NT(a,i[s])+";");else{var u=Ql(e,t,i);switch(a){case"animation":case"animationName":{r+=om(a)+":"+u+";";break}default:r+=a+"{"+u+"}"}}}}return r}var wT=/label:\s*([^\s;{]+)\s*(;|$)/g,sr;function Er(e,t,o){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,n="";sr=void 0;var a=e[0];if(a==null||a.raw===void 0)r=!1,n+=Ql(o,t,a);else{var i=a;n+=i[0]}for(var l=1;l<e.length;l++)if(n+=Ql(o,t,e[l]),r){var s=a;n+=s[l]}wT.lastIndex=0;for(var u="",p;(p=wT.exec(n))!==null;)u+="-"+p[1];var f=OT(n)+u;return{name:f,styles:n,next:sr}}var Zl=C(U()),nO=function(t){return t()},DT=Zl.useInsertionEffect?Zl.useInsertionEffect:!1,Wl=DT||nO,rm=DT||Zl.useLayoutEffect;var zT=!1,BT=wo.createContext(typeof HTMLElement<"u"?cc({key:"css"}):null),am=BT.Provider;var fi=function(t){return(0,Sc.forwardRef)(function(o,r){var n=(0,Sc.useContext)(BT);return t(o,n,r)})},Qo=wo.createContext({});var Cc={}.hasOwnProperty,nm="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",UT=function(t,o){var r={};for(var n in o)Cc.call(o,n)&&(r[n]=o[n]);return r[nm]=t,r},aO=function(t){var o=t.cache,r=t.serialized,n=t.isStringTag;return ci(o,r,n),Wl(function(){return pi(o,r,n)}),null},iO=fi(function(e,t,o){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var n=e[nm],a=[r],i="";typeof e.className=="string"?i=Xl(t.registered,a,e.className):e.className!=null&&(i=e.className+" ");var l=Er(a,void 0,wo.useContext(Qo));i+=t.key+"-"+l.name;var s={};for(var u in e)Cc.call(e,u)&&u!=="css"&&u!==nm&&!zT&&(s[u]=e[u]);return s.className=i,o&&(s.ref=o),wo.createElement(wo.Fragment,null,wo.createElement(aO,{cache:t,serialized:l,isStringTag:typeof n=="string"}),wo.createElement(n,s))}),jT=iO;var on=C(U());var g4=C(RT()),kT=function(t,o){var r=arguments;if(o==null||!Cc.call(o,"css"))return on.createElement.apply(void 0,r);var n=r.length,a=new Array(n);a[0]=jT,a[1]=UT(t,o);for(var i=2;i<n;i++)a[i]=r[i];return on.createElement.apply(null,a)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(kT||(kT={}));var LT=fi(function(e,t){var o=e.styles,r=Er([o],void 0,on.useContext(Qo)),n=on.useRef();return rm(function(){var a=t.key+"-global",i=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,s=document.querySelector('style[data-emotion="'+a+" "+r.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),s!==null&&(l=!0,s.setAttribute("data-emotion",a),i.hydrate([s])),n.current=[i,l],function(){i.flush()}},[t]),rm(function(){var a=n.current,i=a[0],l=a[1];if(l){a[1]=!1;return}if(r.next!==void 0&&pi(t,r.next,!0),i.tags.length){var s=i.tags[i.tags.length-1].nextElementSibling;i.before=s,i.flush()}t.insert("",r,i,!1)},[t,r.name]),null});function Wn(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Er(t)}function ur(){var e=Wn.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var HP=C(h1(),1);var UM=["keydown","keyup","keypress"];function g1(e){for(let t of UM)e.addEventListener(t,o=>o.stopPropagation())}var jM={black:"#000",white:"#fff"},rl=jM;var kM={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Ta=kM;var LM={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},va=LM;var HM={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},xa=HM;var IM={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Sa=IM;var VM={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Ca=VM;var qM={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},nl=qM;var GM={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},b1=GM;function bt(e,...t){let o=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>o.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${o} for the full message.`}var wt="$$material";var _n=C(U());var FM=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,T1=uc(function(e){return FM.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});var $M=!1,YM=T1,KM=function(t){return t!=="theme"},v1=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?YM:KM},x1=function(t,o,r){var n;if(o){var a=o.shouldForwardProp;n=t.__emotion_forwardProp&&a?function(i){return t.__emotion_forwardProp(i)&&a(i)}:a}return typeof n!="function"&&r&&(n=t.__emotion_forwardProp),n},XM=function(t){var o=t.cache,r=t.serialized,n=t.isStringTag;return ci(o,r,n),Wl(function(){return pi(o,r,n)}),null},S1=function e(t,o){var r=t.__emotion_real===t,n=r&&t.__emotion_base||t,a,i;o!==void 0&&(a=o.label,i=o.target);var l=x1(t,o,r),s=l||v1(n),u=!s("as");return function(){var p=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&f.push("label:"+a+";"),p[0]==null||p[0].raw===void 0)f.push.apply(f,p);else{var d=p[0];f.push(d[0]);for(var c=p.length,T=1;T<c;T++)f.push(p[T],d[T])}var v=fi(function(x,m,y){var g=u&&x.as||n,b="",P=[],S=x;if(x.theme==null){S={};for(var E in x)S[E]=x[E];S.theme=_n.useContext(Qo)}typeof x.className=="string"?b=Xl(m.registered,P,x.className):x.className!=null&&(b=x.className+" ");var O=Er(f.concat(P),m.registered,S);b+=m.key+"-"+O.name,i!==void 0&&(b+=" "+i);var N=u&&l===void 0?v1(g):s,_={};for(var A in x)u&&A==="as"||N(A)&&(_[A]=x[A]);return _.className=b,y&&(_.ref=y),_n.createElement(_n.Fragment,null,_n.createElement(XM,{cache:m,serialized:O,isStringTag:typeof g=="string"}),_n.createElement(g,_))});return v.displayName=a!==void 0?a:"Styled("+(typeof n=="string"?n:n.displayName||n.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=n,v.__emotion_styles=f,v.__emotion_forwardProp=l,Object.defineProperty(v,"toString",{value:function(){return i===void 0&&$M?"NO_COMPONENT_SELECTOR":"."+i}}),v.withComponent=function(x,m){var y=e(x,Zn({},o,m,{shouldForwardProp:x1(v,m,!0)}));return y.apply(void 0,f)},v}};var J4=C(U());var QM=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],ef=S1.bind(null);QM.forEach(function(e){ef[e]=ef(e)});var R1=C(j(),1);function JM(e){return e==null||Object.keys(e).length===0}function Ea(e){let{styles:t,defaultTheme:o={}}=e;return(0,R1.jsx)(LT,{styles:typeof t=="function"?n=>t(JM(n)?o:n):t})}function eu(e,t){return ef(e,t)}function A1(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var O1=[];function er(e){return O1[0]=e,Er(O1)}var Hh=C(U(),1),Ih=C(w1(),1);function tr(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function _1(e){if(Hh.isValidElement(e)||(0,Ih.isValidElementType)(e)||!tr(e))return e;let t={};return Object.keys(e).forEach(o=>{t[o]=_1(e[o])}),t}function _e(e,t,o={clone:!0}){let r=o.clone?{...e}:e;return tr(e)&&tr(t)&&Object.keys(t).forEach(n=>{Hh.isValidElement(t[n])||(0,Ih.isValidElementType)(t[n])?r[n]=t[n]:tr(t[n])&&Object.prototype.hasOwnProperty.call(e,n)&&tr(e[n])?r[n]=_e(e[n],t[n],o):o.clone?r[n]=tr(t[n])?_1(t[n]):t[n]:r[n]=t[n]}),r}var oN=e=>{let t=Object.keys(e).map(o=>({key:o,val:e[o]}))||[];return t.sort((o,r)=>o.val-r.val),t.reduce((o,r)=>({...o,[r.key]:r.val}),{})};function tu(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:r=5,...n}=e,a=oN(t),i=Object.keys(a);function l(c){return`@media (min-width:${typeof t[c]=="number"?t[c]:c}${o})`}function s(c){return`@media (max-width:${(typeof t[c]=="number"?t[c]:c)-r/100}${o})`}function u(c,T){let v=i.indexOf(T);return`@media (min-width:${typeof t[c]=="number"?t[c]:c}${o}) and (max-width:${(v!==-1&&typeof t[i[v]]=="number"?t[i[v]]:T)-r/100}${o})`}function p(c){return i.indexOf(c)+1<i.length?u(c,i[i.indexOf(c)+1]):l(c)}function f(c){let T=i.indexOf(c);return T===0?l(i[1]):T===i.length-1?s(i[T]):u(c,i[i.indexOf(c)+1]).replace("@media","@media not all and")}let d=[];for(let c=0;c<i.length;c+=1)d.push(l(i[c]));return{keys:i,values:a,up:l,down:s,between:u,only:p,not:f,unit:o,internal_mediaKeys:d,...n}}var D1=/min-width:\s*([0-9.]+)/;function df(e,t){if(!e.containerQueries||!rN(t))return t;let o=[];for(let n in t)n.startsWith("@container")&&o.push(n);o.sort((n,a)=>+(n.match(D1)?.[1]||0)-+(a.match(D1)?.[1]||0));let r=t;for(let n=0;n<o.length;n+=1){let a=o[n],i=r[a];delete r[a],r[a]=i}return r}function rN(e){for(let t in e)if(t.startsWith("@container"))return!0;return!1}function mf(e,t){return t==="@"||t.startsWith("@")&&(e.some(o=>t.startsWith(`@${o}`))||!!t.match(/^@\d/))}function Vh(e,t){let o=t.match(/^@([^/]+)?\/?(.+)?$/);if(!o)return null;let[,r,n]=o,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(n).up(a)}function yf(e){let t=(a,i)=>a.replace("@media",i?`@container ${i}`:"@container");function o(a,i){a.up=(...l)=>t(e.breakpoints.up(...l),i),a.down=(...l)=>t(e.breakpoints.down(...l),i),a.between=(...l)=>t(e.breakpoints.between(...l),i),a.only=(...l)=>t(e.breakpoints.only(...l),i),a.not=(...l)=>{let s=t(e.breakpoints.not(...l),i);return s.includes("not all and")?s.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):s}}let r={},n=a=>(o(r,a),r);return o(n),{...e,containerQueries:n}}var nN={borderRadius:4},z1=nN;function al(e){if(e==null)return!0;for(let t in e)return!1;return!0}function gr(e,t){let o=Array.isArray(t),r=Array.isArray(e);return uN(t)?t:cN(e)?il(t):o&&r?lN(e,t):o!==r?il(t):pN(e,t)}function aN(e){let t=0,o=e.length,r=new Array(o);for(t=0;t<o;t+=1)r[t]=il(e[t]);return r}function iN(e){let t={};for(let o in e)t[o]=il(e[o]);return t}function lN(e,t){let o=e.length;for(let r=0;r<t.length;r+=1)e[o+r]=il(t[r]);return e}function sN(e){return typeof e=="object"&&e!==null&&!(e instanceof RegExp)&&!(e instanceof Date)}function uN(e){return typeof e!="object"||e===null}function cN(e){return typeof e!="object"||e===null||e instanceof RegExp||e instanceof Date}function il(e){return sN(e)?Array.isArray(e)?aN(e):iN(e):e}function pN(e,t){for(let o in t)o in e?e[o]=gr(e[o],t[o]):e[o]=il(t[o]);return e}var fN={},ru={xs:0,sm:600,md:900,lg:1200,xl:1536},ou=tu({values:ru}),dN={containerQueries:e=>({up:t=>{let o=typeof t=="number"?t:ru[t]||t;return typeof o=="number"&&(o=`${o}px`),e?`@container ${e} (min-width:${o})`:`@container (min-width:${o})`}})};function br(e,t,o){let r={};return ll(r,e.theme,t,(n,a,i)=>{let l=o(a,i);n?r[n]=l:gr(r,l)})}function ll(e,t,o,r){if(t??(t=fN),Array.isArray(o)){let n=t.breakpoints??ou;for(let a=0;a<o.length;a+=1)qh(e,n.up(n.keys[a]),o[a],void 0,r);return e}if(typeof o=="object"){let n=t.breakpoints??ou,a=n.values??ru;for(let i in o)if(mf(n.keys,i)){let l=Vh(t.containerQueries?t:dN,i);l&&qh(e,l,o[i],i,r)}else if(i in a){let l=n.up(i);qh(e,l,o[i],i,r)}else{let l=i;e[l]=o[l]}return e}return r(void 0,o),e}function qh(e,t,o,r,n){e[t]??(e[t]={}),n(t,o,r)}function B1(e=ou){let{internal_mediaKeys:t}=e,o={};for(let r=0;r<t.length;r+=1)o[t[r]]={};return o}function Gh(e,t){let o=e.internal_mediaKeys;for(let r=0;r<o.length;r+=1){let n=o[r];al(t[n])&&delete t[n]}return t}function U1(e,t){if(Array.isArray(t))return!0;if(typeof t=="object"&&t!==null){for(let r=0;r<e.keys.length;r+=1)if(e.keys[r]in t)return!0;let o=Object.keys(t);for(let r=0;r<o.length;r+=1)if(mf(e.keys,o[r]))return!0}return!1}function sl(e){if(typeof e!="string")throw new Error(bt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Fh(e,t,o,r){let n;return typeof e=="function"?n=e(o):Array.isArray(e)?n=e[o]||o:typeof o=="string"?n=ul(e,o,!0,r)||o:n=o,t&&(n=t(n,o,e)),n}function ul(e,t,o=!0,r=void 0){if(!e||!t)return null;let n=t.split(".");if(e.vars&&o){let a=j1(e.vars,n,r);if(a!=null)return a}return j1(e,n,r)}function j1(e,t,o=void 0){let r,n=e,a=0;for(;a<t.length;){if(n==null)return n;r=n,n=n[t[a]],a+=1}if(o&&n===void 0){let i=t[t.length-1],l=`${o}${i==="default"?"":sl(i)}`;return r?.[l]}return n}function Me(e){let{prop:t,cssProperty:o=e.prop,themeKey:r,transform:n}=e,a=i=>{if(i[t]==null)return null;let l=i[t],s=i.theme,u=ul(s,r)||{};return br(i,l,f=>{let d=Fh(u,n,f,t);return o===!1?d:{[o]:d}})};return a.propTypes={},a.filterProps=[t],a}var mN={internal_cache:{}},hf={m:"margin",p:"padding"},k1={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},L1={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},nu={};for(let e in hf)nu[e]=[hf[e]];for(let e in hf)for(let t in k1){let o=hf[e],r=k1[t],n=Array.isArray(r)?r.map(a=>o+a):[o+r];nu[e+t]=n}for(let e in L1)nu[e]=nu[L1[e]];var $h=new Set(["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"]),Yh=new Set(["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"]),I1=new Set([...$h,...Yh]);function Pa(e,t,o,r){let n=ul(e,t,!0)??o;return typeof n=="number"||typeof n=="string"?a=>typeof a=="string"?a:typeof n=="string"?n.startsWith("var(")&&a===0?0:n.startsWith("var(")&&a===1?n:`calc(${a} * ${n})`:n*a:Array.isArray(n)?a=>{if(typeof a=="string")return a;let i=Math.abs(a),l=n[i];return a>=0?l:typeof l=="number"?-l:typeof l=="string"&&l.startsWith("var(")?`calc(-1 * ${l})`:`-${l}`}:typeof n=="function"?n:()=>{}}function au(e){return Pa(e,"spacing",8,"spacing")}function Ra(e,t){return typeof t=="string"||t==null?t:e(t)}var H1=[""];function Kh(e,t){let o=e.theme??mN,r=o?.internal_cache?.unarySpacing??au(o),n={};for(let a in e){if(!t.has(a))continue;let i=nu[a]??(H1[0]=a,H1),l=e[a];ll(n,e.theme,l,(s,u)=>{let p=s?n[s]:n;for(let f=0;f<i.length;f+=1)p[i[f]]=Ra(r,u)})}return n}function $e(e){return Kh(e,$h)}$e.propTypes={};$e.filterProps=$h;function Ye(e){return Kh(e,Yh)}Ye.propTypes={};Ye.filterProps=Yh;function V1(e){return Kh(e,I1)}V1.propTypes={};V1.filterProps=I1;function cl(e=8,t=au({spacing:e})){if(e.mui)return e;let o=(...r)=>(r.length===0?[1]:r).map(a=>{let i=t(a);return typeof i=="number"?`${i}px`:i}).join(" ");return o.mui=!0,o}function yN(...e){let t=e.reduce((r,n)=>(n.filterProps.forEach(a=>{r[a]=n}),r),{}),o=r=>{let n={};for(let a in r)t[a]&&gr(n,t[a](r));return n};return o.propTypes={},o.filterProps=e.reduce((r,n)=>r.concat(n.filterProps),[]),o}var Fr=yN;function Co(e){return typeof e!="number"?e:`${e}px solid`}function Go(e,t){return Me({prop:e,themeKey:"borders",transform:t})}var hN=Go("border",Co),gN=Go("borderTop",Co),bN=Go("borderRight",Co),TN=Go("borderBottom",Co),vN=Go("borderLeft",Co),xN=Go("borderColor"),SN=Go("borderTopColor"),CN=Go("borderRightColor"),EN=Go("borderBottomColor"),PN=Go("borderLeftColor"),RN=Go("outline",Co),ON=Go("outlineColor"),iu=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=Pa(e.theme,"shape.borderRadius",4,"borderRadius"),o=r=>({borderRadius:Ra(t,r)});return br(e,e.borderRadius,o)}return null};iu.propTypes={};iu.filterProps=["borderRadius"];var a6=Fr(hN,gN,bN,TN,vN,xN,SN,CN,EN,PN,iu,RN,ON);var lu=e=>{if(e.gap!==void 0&&e.gap!==null){let t=Pa(e.theme,"spacing",8,"gap"),o=r=>({gap:Ra(t,r)});return br(e,e.gap,o)}return null};lu.propTypes={};lu.filterProps=["gap"];var su=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=Pa(e.theme,"spacing",8,"columnGap"),o=r=>({columnGap:Ra(t,r)});return br(e,e.columnGap,o)}return null};su.propTypes={};su.filterProps=["columnGap"];var uu=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=Pa(e.theme,"spacing",8,"rowGap"),o=r=>({rowGap:Ra(t,r)});return br(e,e.rowGap,o)}return null};uu.propTypes={};uu.filterProps=["rowGap"];var AN=Me({prop:"gridColumn"}),MN=Me({prop:"gridRow"}),NN=Me({prop:"gridAutoFlow"}),wN=Me({prop:"gridAutoColumns"}),_N=Me({prop:"gridAutoRows"}),DN=Me({prop:"gridTemplateColumns"}),zN=Me({prop:"gridTemplateRows"}),BN=Me({prop:"gridTemplateAreas"}),UN=Me({prop:"gridArea"}),p6=Fr(lu,su,uu,AN,MN,NN,wN,_N,DN,zN,BN,UN);function Oa(e,t){return t==="grey"?t:e}var jN=Me({prop:"color",themeKey:"palette",transform:Oa}),kN=Me({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Oa}),LN=Me({prop:"backgroundColor",themeKey:"palette",transform:Oa}),y6=Fr(jN,kN,LN);function no(e){return e<=1&&e!==0?`${e*100}%`:e}var HN=Me({prop:"width",transform:no}),gf=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){let t=o=>{let r=e.theme?.breakpoints?.values?.[o]||ru[o];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:no(o)}};return br(e,e.maxWidth,t)}return null};gf.filterProps=["maxWidth"];var IN=Me({prop:"minWidth",transform:no}),VN=Me({prop:"height",transform:no}),qN=Me({prop:"maxHeight",transform:no}),GN=Me({prop:"minHeight",transform:no}),v6=Me({prop:"size",cssProperty:"width",transform:no}),x6=Me({prop:"size",cssProperty:"height",transform:no}),FN=Me({prop:"boxSizing"}),S6=Fr(HN,gf,IN,VN,qN,GN,FN);var $N={border:{themeKey:"borders",transform:Co},borderTop:{themeKey:"borders",transform:Co},borderRight:{themeKey:"borders",transform:Co},borderBottom:{themeKey:"borders",transform:Co},borderLeft:{themeKey:"borders",transform:Co},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Co},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:iu},color:{themeKey:"palette",transform:Oa},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Oa},backgroundColor:{themeKey:"palette",transform:Oa},p:{style:Ye},pt:{style:Ye},pr:{style:Ye},pb:{style:Ye},pl:{style:Ye},px:{style:Ye},py:{style:Ye},padding:{style:Ye},paddingTop:{style:Ye},paddingRight:{style:Ye},paddingBottom:{style:Ye},paddingLeft:{style:Ye},paddingX:{style:Ye},paddingY:{style:Ye},paddingInline:{style:Ye},paddingInlineStart:{style:Ye},paddingInlineEnd:{style:Ye},paddingBlock:{style:Ye},paddingBlockStart:{style:Ye},paddingBlockEnd:{style:Ye},m:{style:$e},mt:{style:$e},mr:{style:$e},mb:{style:$e},ml:{style:$e},mx:{style:$e},my:{style:$e},margin:{style:$e},marginTop:{style:$e},marginRight:{style:$e},marginBottom:{style:$e},marginLeft:{style:$e},marginX:{style:$e},marginY:{style:$e},marginInline:{style:$e},marginInlineStart:{style:$e},marginInlineEnd:{style:$e},marginBlock:{style:$e},marginBlockStart:{style:$e},marginBlockEnd:{style:$e},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:lu},rowGap:{style:uu},columnGap:{style:su},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:no},maxWidth:{style:gf},minWidth:{transform:no},height:{transform:no},maxHeight:{transform:no},minHeight:{transform:no},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},$r=$N;var YN={};function KN(){function e(t){if(!t.sx)return null;let{sx:o,theme:r=YN,nested:n}=t,a=r.unstable_sxConfig??$r,i={sx:null,theme:r,nested:!0};function l(s){let u=s;if(typeof s=="function")u=s(r);else if(typeof s!="object")return s;if(!u)return null;let p=r.breakpoints??ou,f=B1(p);for(let d in u){let c=XN(u[d],r);if(c!=null){if(typeof c!="object"){q1(f,d,c,r,a);continue}if(a[d]){q1(f,d,c,r,a);continue}U1(p,c)?ll(f,t.theme,c,(T,v)=>{f[T][d]=v}):(i.sx=c,f[d]=e(i))}}return!n&&r.modularCssLayers?{"@layer sx":df(r,Gh(p,f))}:df(r,Gh(p,f))}return Array.isArray(o)?o.map(l):l(o)}return e.filterProps=["sx"],e}var ao=KN();function q1(e,t,o,r,n){let a=n[t];if(!a){e[t]=o;return}if(o==null)return;let{themeKey:i}=a;if(i==="typography"&&o==="inherit"){e[t]=o;return}let{style:l}=a;if(l){gr(e,l({[t]:o,theme:r}));return}let{cssProperty:s=t,transform:u}=a,p=ul(r,i);ll(e,r,o,(f,d)=>{let c=Fh(p,u,d,t);s===!1?f?e[f]=c:gr(e,c):f?e[f][s]=c:e[s]=c})}function XN(e,t){return typeof e=="function"?e(t):e}function Xh(e,t){let o=this;if(o.vars){if(!o.colorSchemes?.[e]||typeof o.getColorSchemeSelector!="function")return{};let r=o.getColorSchemeSelector(e);return r==="&"?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return o.palette.mode===e?t:{}}function QN(e={},...t){let{breakpoints:o={},palette:r={},spacing:n,shape:a={},...i}=e,l=tu(o),s=cl(n),u=_e({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:s,shape:{...z1,...a}},i);return u=yf(u),u.applyStyles=Xh,u=t.reduce((p,f)=>_e(p,f),u),u.unstable_sxConfig={...$r,...i?.unstable_sxConfig},u.unstable_sx=function(f){return ao({sx:f,theme:this})},u.internal_cache={},u}var Aa=QN;var G1=C(U(),1);function ZN(e){return Object.keys(e).length===0}function WN(e=null){let t=G1.useContext(Qo);return!t||ZN(t)?e:t}var Ma=WN;var JN=Aa();function ew(e=JN){return Ma(e)}var Dn=ew;var F1=C(j(),1);function Qh(e){let t=er(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function tw({styles:e,themeId:t,defaultTheme:o={}}){let r=Dn(o),n=t&&r[t]||r,a=typeof e=="function"?e(n):e;return n.modularCssLayers&&(Array.isArray(a)?a=a.map(i=>Qh(typeof i=="function"?i(n):i)):a=Qh(a)),(0,F1.jsx)(Ea,{styles:a})}var pl=tw;var $1=e=>e,ow=()=>{let e=$1;return{configure(t){e=t},generate(t){return e(t)},reset(){e=$1}}},rw=ow(),fl=rw;var K1=C(U(),1);function Y1(e){var t,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Y1(e[t]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function nw(){for(var e,t,o=0,r="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Y1(e))&&(r&&(r+=" "),r+=t);return r}var H=nw;var X1=C(j(),1);function cu(e={}){let{themeId:t,defaultTheme:o,defaultClassName:r="MuiBox-root",generateClassName:n}=e,a=eu("div",{shouldForwardProp:l=>l!=="theme"&&l!=="sx"&&l!=="as"})(ao);return K1.forwardRef(function(s,u){let p=Dn(o),{className:f,component:d="div",...c}=s;return(0,X1.jsx)(a,{as:d,ref:u,className:H(f,n?n(r):r),theme:t&&p[t]||p,...c})})}var aw={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function G(e,t,o="Mui"){let r=aw[t];return r?`${o}-${r}`:`${fl.generate(e)}-${t}`}function q(e,t,o="Mui"){let r={};return t.forEach(n=>{r[n]=G(e,n,o)}),r}function pu(e){let{variants:t,...o}=e,r={variants:t,style:er(o),isProcessed:!0};return r.style===o||t&&t.forEach(n=>{typeof n.style!="function"&&(n.style=er(n.style))}),r}var iw=Aa();function Zh(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Na(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function lw(e){return e?(t,o)=>o[e]:null}function sw(e,t,o){e.theme=al(e.theme)?o:e.theme[t]||e.theme}function bf(e,t,o){let r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(n=>bf(e,n,o));if(Array.isArray(r?.variants)){let n;if(r.isProcessed)n=o?Na(r.style,o):r.style;else{let{variants:a,...i}=r;n=o?Na(er(i),o):i}return Q1(e,r.variants,[n],o)}return r?.isProcessed?o?Na(er(r.style),o):r.style:o?Na(er(r),o):r}function Q1(e,t,o=[],r=void 0){let n;e:for(let a=0;a<t.length;a+=1){let i=t[a];if(typeof i.props=="function"){if(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),!i.props(n))continue}else for(let l in i.props)if(e[l]!==i.props[l]&&e.ownerState?.[l]!==i.props[l])continue e;typeof i.style=="function"?(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),o.push(r?Na(er(i.style(n)),r):i.style(n))):o.push(r?Na(er(i.style),r):i.style)}return o}function Tf(e={}){let{themeId:t,defaultTheme:o=iw,rootShouldForwardProp:r=Zh,slotShouldForwardProp:n=Zh}=e;function a(l){sw(l,t,o)}return(l,s={})=>{A1(l,S=>S.filter(E=>E!==ao));let{name:u,slot:p,skipVariantsResolver:f,skipSx:d,overridesResolver:c=lw(pw(p)),...T}=s,v=u&&u.startsWith("Mui")||p?"components":"custom",x=f!==void 0?f:p&&p!=="Root"&&p!=="root"||!1,m=d||!1,y=Zh;p==="Root"||p==="root"?y=r:p?y=n:cw(l)&&(y=void 0);let g=eu(l,{shouldForwardProp:y,label:uw(u,p),...T}),b=S=>{if(S.__emotion_real===S)return S;if(typeof S=="function")return function(O){return bf(O,S,O.theme.modularCssLayers?v:void 0)};if(tr(S)){let E=pu(S);return function(N){return E.variants?bf(N,E,N.theme.modularCssLayers?v:void 0):N.theme.modularCssLayers?Na(E.style,v):E.style}}return S},P=(...S)=>{let E=[],O=S.map(b),N=[];if(E.push(a),u&&c&&N.push(function(w){let M=w.theme.components?.[u]?.styleOverrides;if(!M)return null;let B={};for(let k in M)B[k]=bf(w,M[k],w.theme.modularCssLayers?"theme":void 0);return c(w,B)}),u&&!x&&N.push(function(w){let M=w.theme?.components?.[u]?.variants;return M?Q1(w,M,[],w.theme.modularCssLayers?"theme":void 0):null}),m||N.push(ao),Array.isArray(O[0])){let h=O.shift(),w=new Array(E.length).fill(""),R=new Array(N.length).fill(""),M;M=[...w,...h,...R],M.raw=[...w,...h.raw,...R],E.unshift(M)}let _=[...E,...O,...N],A=g(..._);return l.muiName&&(A.muiName=l.muiName),A};return g.withConfig&&(P.withConfig=g.withConfig),P}}function uw(e,t){return void 0}function cw(e){return typeof e=="string"&&e.charCodeAt(0)>96}function pw(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function zn(e,t,o=!1){let r={...t};for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)){let a=n;if(a==="components"||a==="slots")r[a]={...e[a],...r[a]};else if(a==="componentsProps"||a==="slotProps"){let i=e[a],l=t[a];if(!l)r[a]=i||{};else if(!i)r[a]=l;else{r[a]={...l};for(let s in i)if(Object.prototype.hasOwnProperty.call(i,s)){let u=s;r[a][u]=zn(i[u],l[u],o)}}}else a==="className"&&o&&t.className?r.className=H(e?.className,t?.className):a==="style"&&o&&t.style?r.style={...e?.style,...t?.style}:r[a]===void 0&&(r[a]=e[a])}return r}var vf=C(U(),1),fw=typeof window<"u"?vf.useLayoutEffect:vf.useEffect,Kt=fw;function dw(e,t=Number.MIN_SAFE_INTEGER,o=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,o))}var Wh=dw;function eg(e,t=0,o=1){return Wh(e,t,o)}function mw(e){e=e.slice(1);let t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g"),o=e.match(t);return o&&o[0].length===1&&(o=o.map(r=>r+r)),o?`rgb${o.length===4?"a":""}(${o.map((r,n)=>n<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Bn(e){if(e.type)return e;if(e.charAt(0)==="#")return Bn(mw(e));let t=e.indexOf("("),o=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(o))throw new Error(bt(9,e));let r=e.substring(t+1,e.length-1),n;if(o==="color"){if(r=r.split(" "),n=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(n))throw new Error(bt(10,n))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:o,values:r,colorSpace:n}}var yw=e=>{let t=Bn(e);return t.values.slice(0,3).map((o,r)=>t.type.includes("hsl")&&r!==0?`${o}%`:o).join(" ")},dl=(e,t)=>{try{return yw(e)}catch{return e}};function xf(e){let{type:t,colorSpace:o}=e,{values:r}=e;return t.includes("rgb")?r=r.map((n,a)=>a<3?parseInt(n,10):n):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${o} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function tg(e){e=Bn(e);let{values:t}=e,o=t[0],r=t[1]/100,n=t[2]/100,a=r*Math.min(n,1-n),i=(u,p=(u+o/30)%12)=>n-a*Math.max(Math.min(p-3,9-p,1),-1),l="rgb",s=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(l+="a",s.push(t[3])),xf({type:l,values:s})}function Jh(e){e=Bn(e);let t=e.type==="hsl"||e.type==="hsla"?Bn(tg(e)).values:e.values;return t=t.map(o=>(e.type!=="color"&&(o/=255),o<=.03928?o/12.92:((o+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Z1(e,t){let o=Jh(e),r=Jh(t);return(Math.max(o,r)+.05)/(Math.min(o,r)+.05)}function ml(e,t){return e=Bn(e),t=eg(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,xf(e)}function Un(e,t,o){try{return ml(e,t)}catch{return e}}function yl(e,t){if(e=Bn(e),t=eg(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]*=1-t;return xf(e)}function Te(e,t,o){try{return yl(e,t)}catch{return e}}function hl(e,t){if(e=Bn(e),t=eg(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*t;else if(e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*t;return xf(e)}function ve(e,t,o){try{return hl(e,t)}catch{return e}}function hw(e,t=.15){return Jh(e)>.5?yl(e,t):hl(e,t)}function fu(e,t,o){try{return hw(e,t)}catch{return e}}var dC=C(U(),1);var eC=C(U(),1);var W1=C(U(),1),gw=W1.createContext(null),Sf=gw;var og=C(U(),1);function Yr(){return og.useContext(Sf)}var bw=typeof Symbol=="function"&&Symbol.for,J1=bw?Symbol.for("mui.nested"):"__THEME_NESTED__";var tC=C(j(),1);function Tw(e,t){return typeof t=="function"?t(e):{...e,...t}}function vw(e){let{children:t,theme:o}=e,r=Yr(),n=eC.useMemo(()=>{let a=r===null?{...o}:Tw(r,o);return a!=null&&(a[J1]=r!==null),a},[o,r]);return(0,tC.jsx)(Sf.Provider,{value:n,children:t})}var Cf=vw;var Ef=C(U(),1);var oC=C(j(),1),rC=Ef.createContext();function xw({value:e,...t}){return(0,oC.jsx)(rC.Provider,{value:e??!0,...t})}var nC=()=>Ef.useContext(rC)??!1,aC=xw;var Pf=C(U(),1);var iC=C(j(),1),lC=Pf.createContext(void 0);function Sw({value:e,children:t}){return(0,iC.jsx)(lC.Provider,{value:e,children:t})}function Cw(e){let{theme:t,name:o,props:r}=e;if(!t||!t.components||!t.components[o])return r;let n=t.components[o];return n.defaultProps?zn(n.defaultProps,r,t.components.mergeClassNameAndStyle):!n.styleOverrides&&!n.variants?zn(n,r,t.components.mergeClassNameAndStyle):r}function rg({props:e,name:t}){let o=Pf.useContext(lC);return Cw({props:e,name:t,theme:{components:o}})}var Rf=Sw;var du=C(U(),1),sC=0;function Ew(e){let[t,o]=du.useState(e),r=e||t;return du.useEffect(()=>{t==null&&(sC+=1,o(`mui-${sC}`))},[t]),r}var Pw={...du},uC=Pw.useId;function or(e){if(uC!==void 0){let t=uC();return e??t}return Ew(e)}var cC=C(j(),1);function ng(e){let t=Ma(),o=or()||"",{modularCssLayers:r}=e,n="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!r||t!==null?n="":typeof r=="string"?n=r.replace(/mui(?!\.)/g,n):n=`@layer ${n};`,Kt(()=>{let a=document.querySelector("head");if(!a)return;let i=a.firstChild;if(n){if(i&&i.hasAttribute?.("data-mui-layer-order")&&i.getAttribute("data-mui-layer-order")===o)return;let l=document.createElement("style");l.setAttribute("data-mui-layer-order",o),l.textContent=n,a.prepend(l)}else a.querySelector(`style[data-mui-layer-order="${o}"]`)?.remove()},[n,o]),n?(0,cC.jsx)(pl,{styles:n}):null}var gl=C(j(),1),pC={};function fC(e,t,o,r=!1){return dC.useMemo(()=>{let n=e&&t[e]||t;if(typeof o=="function"){let a=o(n),i=e?{...t,[e]:a}:a;return r?()=>i:i}return e?{...t,[e]:o}:{...t,...o}},[e,t,o,r])}function Rw(e){let{children:t,theme:o,themeId:r}=e,n=Ma(pC),a=Yr()||pC,i=fC(r,n,o),l=fC(r,a,o,!0),s=(r?i[r]:i).direction==="rtl",u=ng(i);return(0,gl.jsx)(Cf,{theme:l,children:(0,gl.jsx)(Qo.Provider,{value:i,children:(0,gl.jsx)(aC,{value:s,children:(0,gl.jsxs)(Rf,{value:r?i[r].components:i.components,children:[u,t]})})})})}var bl=Rw;var mC={theme:void 0};function Of(e){let t,o;return function(n){let a=t;return(a===void 0||n.theme!==o)&&(mC.theme=n.theme,a=pu(e(mC)),t=a,o=n.theme),a}}var Dt=C(U(),1);var yC=C(j(),1),mu="mode",yu="color-scheme",Ow="data-color-scheme";function ag(e){let{defaultMode:t="system",defaultLightColorScheme:o="light",defaultDarkColorScheme:r="dark",modeStorageKey:n=mu,colorSchemeStorageKey:a=yu,attribute:i=Ow,colorSchemeNode:l="document.documentElement",nonce:s}=e||{},u="",p=i;if(i==="class"&&(p=".%s"),i==="data"&&(p="[data-%s]"),p.startsWith(".")){let d=p.substring(1);u+=`${l}.classList.remove('${d}'.replace('%s', light), '${d}'.replace('%s', dark));
10
66
  ${l}.classList.add('${d}'.replace('%s', colorScheme));`}let f=p.match(/\[([^[\]]+)\]/);if(f){let[d,c]=f[1].split("=");c||(u+=`${l}.removeAttribute('${d}'.replace('%s', light));
11
67
  ${l}.removeAttribute('${d}'.replace('%s', dark));`),u+=`
12
- ${l}.setAttribute('${d}'.replace('%s', colorScheme), ${c?`${c}.replace('%s', colorScheme)`:'""'});`}else p!==".%s"&&(u+=`${l}.setAttribute('${p}', colorScheme);`);return(0,dC.jsx)("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?s:"",dangerouslySetInnerHTML:{__html:`(function() {
68
+ ${l}.setAttribute('${d}'.replace('%s', colorScheme), ${c?`${c}.replace('%s', colorScheme)`:'""'});`}else p!==".%s"&&(u+=`${l}.setAttribute('${p}', colorScheme);`);return(0,yC.jsx)("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?s:"",dangerouslySetInnerHTML:{__html:`(function() {
13
69
  try {
14
70
  let colorScheme = '';
15
71
  const mode = localStorage.getItem('${n}') || '${t}';
@@ -33,15 +89,15 @@ try {
33
89
  if (colorScheme) {
34
90
  ${u}
35
91
  }
36
- } catch(e){}})();`}},"mui-color-scheme-init")}var _t=C(U(),1);function Pw(){}var Rw=({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 Pw;let r=n=>{let a=n.newValue;n.key===e&&o(a)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}}),mC=Rw;function ag(){}function yC(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function hC(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 Ow(e){return hC(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function ig(e){let{defaultMode:t="light",defaultLightColorScheme:o,defaultDarkColorScheme:r,supportedColorSchemes:n=[],modeStorageKey:a=mu,colorSchemeStorageKey:i=yu,storageWindow:l=typeof window>"u"?void 0:window,storageManager:s=mC,noSsr:u=!1}=e,p=n.join(","),f=n.length>1,d=_t.useMemo(()=>s?.({key:a,storageWindow:l}),[s,a,l]),c=_t.useMemo(()=>s?.({key:`${i}-light`,storageWindow:l}),[s,i,l]),T=_t.useMemo(()=>s?.({key:`${i}-dark`,storageWindow:l}),[s,i,l]),[v,x]=_t.useState(()=>{let O=d?.get(t)||t,N=c?.get(o)||o,_=T?.get(r)||r;return{mode:O,systemMode:yC(O),lightColorScheme:N,darkColorScheme:_}}),[m,y]=_t.useState(u||!f);_t.useEffect(()=>{y(!0)},[]);let g=Ow(v),b=_t.useCallback(O=>{x(N=>{if(O===N.mode)return N;let _=O??t;return d?.set(_),{...N,mode:_,systemMode:yC(_)}})},[d,t]),P=_t.useCallback(O=>{O?typeof O=="string"?O&&!p.includes(O)?console.error(`\`${O}\` does not exist in \`theme.colorSchemes\`.`):x(N=>{let _={...N};return hC(N,A=>{A==="light"&&(c?.set(O),_.lightColorScheme=O),A==="dark"&&(T?.set(O),_.darkColorScheme=O)}),_}):x(N=>{let _={...N},A=O.light===null?o:O.light,h=O.dark===null?r:O.dark;return A&&(p.includes(A)?(_.lightColorScheme=A,c?.set(A)):console.error(`\`${A}\` does not exist in \`theme.colorSchemes\`.`)),h&&(p.includes(h)?(_.darkColorScheme=h,T?.set(h)):console.error(`\`${h}\` does not exist in \`theme.colorSchemes\`.`)),_}):x(N=>(c?.set(o),T?.set(r),{...N,lightColorScheme:o,darkColorScheme:r}))},[p,c,T,o,r]),S=_t.useCallback(O=>{v.mode==="system"&&x(N=>{let _=O?.matches?"dark":"light";return N.systemMode===_?N:{...N,systemMode:_}})},[v.mode]),E=_t.useRef(S);return E.current=S,_t.useEffect(()=>{if(typeof window.matchMedia!="function"||!f)return;let O=(..._)=>E.current(..._),N=window.matchMedia("(prefers-color-scheme: dark)");return N.addListener(O),O(N),()=>{N.removeListener(O)}},[f]),_t.useEffect(()=>{if(f){let O=d?.subscribe(A=>{(!A||["light","dark","system"].includes(A))&&b(A||t)})||ag,N=c?.subscribe(A=>{(!A||p.match(A))&&P({light:A})})||ag,_=T?.subscribe(A=>{(!A||p.match(A))&&P({dark:A})})||ag;return()=>{O(),N(),_()}}},[P,b,p,t,l,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 Tl=C(j(),1),Aw="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Of(e){let{themeId:t,theme:o={},modeStorageKey:r=mu,colorSchemeStorageKey:n=yu,disableTransitionOnChange:a=!1,defaultColorScheme:i,resolveTheme:l}=e,s={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},u=Dt.createContext(void 0),p=()=>Dt.useContext(u)||s,f={},d={};function c(m){let{children:y,theme:g,modeStorageKey:b=r,colorSchemeStorageKey:P=n,disableTransitionOnChange:S=a,storageManager:E,storageWindow:O=typeof window>"u"?void 0:window,documentNode:N=typeof document>"u"?void 0:document,colorSchemeNode:_=typeof document>"u"?void 0:document.documentElement,disableNestedContext:A=!1,disableStyleSheetGeneration:h=!1,defaultMode:w="system",forceThemeRerender:R=!1,noSsr:M}=m,B=Dt.useRef(!1),k=Yr(),V=Dt.useContext(u),ye=!!V&&!A,se=Dt.useMemo(()=>g||(typeof o=="function"?o():o),[g]),K=se[t],ce=K||se,{colorSchemes:We=f,components:De=d,cssVarPrefix:He}=ce,ze=Object.keys(We).filter(Be=>!!We[Be]).join(","),Q=Dt.useMemo(()=>ze.split(","),[ze]),J=typeof i=="string"?i:i.light,ee=typeof i=="string"?i:i.dark,he=We[J]&&We[ee]?w:We[ce.defaultColorScheme]?.palette?.mode||ce.palette?.mode,{mode:St,setMode:ie,systemMode:Ee,lightColorScheme:st,darkColorScheme:Ht,colorScheme:Ge,setColorScheme:ut}=ig({supportedColorSchemes:Q,defaultLightColorScheme:J,defaultDarkColorScheme:ee,modeStorageKey:b,colorSchemeStorageKey:P,defaultMode:he,storageManager:E,storageWindow:O,noSsr:M}),Ct=St,fe=Ge;ye&&(Ct=V.mode,fe=V.colorScheme);let uo=fe||ce.defaultColorScheme;ce.vars&&!R&&(uo=ce.defaultColorScheme);let Mo=Dt.useMemo(()=>{let Be=ce.generateThemeVars?.()||ce.vars,ge={...ce,components:De,colorSchemes:We,cssVarPrefix:He,vars:Be};if(typeof ge.generateSpacing=="function"&&(ge.spacing=ge.generateSpacing()),uo){let Xe=We[uo];Xe&&typeof Xe=="object"&&Object.keys(Xe).forEach(te=>{Xe[te]&&typeof Xe[te]=="object"?ge[te]={...ge[te],...Xe[te]}:ge[te]=Xe[te]})}return l?l(ge):ge},[ce,uo,De,We,He]),ct=ce.colorSchemeSelector;Kt(()=>{if(fe&&_&&ct&&ct!=="media"){let Be=ct,ge=ct;if(Be==="class"&&(ge=".%s"),Be==="data"&&(ge="[data-%s]"),Be?.startsWith("data-")&&!Be.includes("%s")&&(ge=`[${Be}="%s"]`),ge.startsWith("."))_.classList.remove(...Q.map(Xe=>ge.substring(1).replace("%s",Xe))),_.classList.add(ge.substring(1).replace("%s",fe));else{let Xe=ge.replace("%s",fe).match(/\[([^\]]+)\]/);if(Xe){let[te,co]=Xe[1].split("=");co||Q.forEach(en=>{_.removeAttribute(te.replace(fe,en))}),_.setAttribute(te,co?co.replace(/"|'/g,""):"")}else _.setAttribute(ge,fe)}}},[fe,ct,_,Q]),Dt.useEffect(()=>{let Be;if(S&&B.current&&N){let ge=N.createElement("style");ge.appendChild(N.createTextNode(Aw)),N.head.appendChild(ge),window.getComputedStyle(N.body),Be=setTimeout(()=>{N.head.removeChild(ge)},1)}return()=>{clearTimeout(Be)}},[fe,S,N]),Dt.useEffect(()=>(B.current=!0,()=>{B.current=!1}),[]);let Kn=Dt.useMemo(()=>({allColorSchemes:Q,colorScheme:fe,darkColorScheme:Ht,lightColorScheme:st,mode:Ct,setColorScheme:ut,setMode:ie,systemMode:Ee}),[Q,fe,Ht,st,Ct,ut,ie,Ee,Mo.colorSchemeSelector]),lr=!0;(h||ce.cssVariables===!1||ye&&k?.cssVarPrefix===He)&&(lr=!1);let Cr=(0,Tl.jsxs)(Dt.Fragment,{children:[(0,Tl.jsx)(bl,{themeId:K?t:void 0,theme:Mo,children:y}),lr&&(0,Tl.jsx)(Ea,{styles:Mo.generateStyleSheets?.()||[]})]});return ye?Cr:(0,Tl.jsx)(u.Provider,{value:Kn,children:Cr})}let T=typeof i=="string"?i:i.light,v=typeof i=="string"?i:i.dark;return{CssVarsProvider:c,useColorScheme:p,getInitColorSchemeScript:m=>ng({colorSchemeStorageKey:n,defaultLightColorScheme:T,defaultDarkColorScheme:v,modeStorageKey:r,...m})}}function Af(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 gC=(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])})},Mw=(e,t,o)=>{function r(n,a=[],i=[]){Object.entries(n).forEach(([l,s])=>{(!o||o&&!o([...a,l]))&&s!=null&&(typeof s=="object"&&Object.keys(s).length>0?r(s,[...a,l],Array.isArray(s)?[...i,l]:i):t([...a,l],s,i))})}r(e)},Nw=(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 hu(e,t){let{prefix:o,shouldSkipGeneratingVar:r}=t||{},n={},a={},i={};return Mw(e,(l,s,u)=>{if((typeof s=="string"||typeof s=="number")&&(!r||!r(l,s))){let p=`--${o?`${o}-`:""}${l.join("-")}`,f=Nw(l,s);Object.assign(n,{[p]:f}),gC(a,l,`var(${p})`,u),gC(i,l,`var(${p}, ${f})`,u)}},l=>l[0]==="vars"),{css:n,vars:a,varsWithDefaults:i}}function ww(e,t={}){let{getSelector:o=m,disableCssColorScheme:r,colorSchemeSelector:n,enableContrastVars:a}=t,{colorSchemes:i={},components:l,defaultColorScheme:s="light",...u}=e,{vars:p,css:f,varsWithDefaults:d}=hu(u,t),c=d,T={},{[s]:v,...x}=i;if(Object.entries(x||{}).forEach(([b,P])=>{let{vars:S,css:E,varsWithDefaults:O}=hu(P,t);c=_e(c,O),T[b]={css:E,vars:S}}),v){let{css:b,vars:P,varsWithDefaults:S}=hu(v,t);c=_e(c,S),T[s]={css:b,vars:P}}function m(b,P){let S=n;if(n==="class"&&(S=".%s"),n==="data"&&(S="[data-%s]"),n?.startsWith("data-")&&!n.includes("%s")&&(S=`[${n}="%s"]`),b){if(S==="media")return e.defaultColorScheme===b?":root":{[`@media (prefers-color-scheme: ${i[b]?.palette?.mode||b})`]:{":root":P}};if(S)return e.defaultColorScheme===b?`:root, ${S.replace("%s",String(b))}`:S.replace("%s",String(b))}return":root"}return{vars:c,generateThemeVars:()=>{let b={...p};return Object.entries(T).forEach(([,{vars:P}])=>{b=_e(b,P)}),b},generateStyleSheets:()=>{let b=[],P=e.defaultColorScheme||"light";function S(N,_){Object.keys(_).length&&b.push(typeof N=="string"?{[N]:{..._}}:N)}S(o(void 0,{...f}),f);let{[P]:E,...O}=T;if(E){let{css:N}=E,_=i[P]?.palette?.mode,A=!r&&_?{colorScheme:_,...N}:{...N};S(o(P,{...A}),A)}return Object.entries(O).forEach(([N,{css:_}])=>{let A=i[N]?.palette?.mode,h=!r&&A?{colorScheme:A,..._}:{..._};S(o(N,{...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 lg=ww;function sg(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="",l=!0;for(let s=0;s<a.length;s+=1){let u=a[s];u&&(i+=(l===!0?"":" ")+t(u),l=!1,o&&o[u]&&(i+=" "+o[u]))}r[n]=i}return r}var bC=C(U(),1);function Mf(e,t){return bC.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}function xC(){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:rl.white,default:rl.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 ug=xC();function SC(){return{text:{primary:rl.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:rl.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 Nf=SC();function TC(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=hl(e.main,n):t==="dark"&&(e.dark=yl(e.main,a)))}function vC(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 _w(e="light"){return e==="dark"?{main:xa[200],light:xa[50],dark:xa[400]}:{main:xa[700],light:xa[400],dark:xa[800]}}function Dw(e="light"){return e==="dark"?{main:va[200],light:va[50],dark:va[400]}:{main:va[500],light:va[300],dark:va[700]}}function zw(e="light"){return e==="dark"?{main:Ta[500],light:Ta[300],dark:Ta[700]}:{main:Ta[700],light:Ta[400],dark:Ta[800]}}function Bw(e="light"){return e==="dark"?{main:Sa[400],light:Sa[300],dark:Sa[700]}:{main:Sa[700],light:Sa[500],dark:Sa[900]}}function Uw(e="light"){return e==="dark"?{main:Ca[400],light:Ca[300],dark:Ca[700]}:{main:Ca[800],light:Ca[500],dark:Ca[900]}}function jw(e="light"){return e==="dark"?{main:nl[400],light:nl[300],dark:nl[700]}:{main:"#ed6c02",light:nl[500],dark:nl[900]}}function kw(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function wa(e){let{mode:t="light",contrastThreshold:o=3,tonalOffset:r=.2,colorSpace:n,...a}=e,i=e.primary||_w(t),l=e.secondary||Dw(t),s=e.error||zw(t),u=e.info||Bw(t),p=e.success||Uw(t),f=e.warning||jw(t);function d(x){return n?kw(x):X1(x,Nf.text.primary)>=o?Nf.text.primary:ug.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(bt(11,m?` (${m})`:"",y));if(typeof x.main!="string")throw new Error(bt(12,m?` (${m})`:"",JSON.stringify(x.main)));return n?(vC(n,x,"light",g,r),vC(n,x,"dark",b,r)):(TC(x,"light",g,r),TC(x,"dark",b,r)),x.contrastText||(x.contrastText=d(x.main)),x},T;return t==="light"?T=xC():t==="dark"&&(T=SC()),_e({common:{...rl},mode:t,primary:c({color:i,name:"primary"}),secondary:c({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:c({color:s,name:"error"}),warning:c({color:f,name:"warning"}),info:c({color:u,name:"info"}),success:c({color:p,name:"success"}),grey:h1,contrastThreshold:o,getContrastText:d,augmentColor:c,tonalOffset:r,...T},a)}function wf(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 cg(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Lw(e){return Math.round(e*1e5)/1e5}var CC={textTransform:"uppercase"},EC='"Roboto", "Helvetica", "Arial", sans-serif';function gu(e,t){let{fontFamily:o=EC,fontSize:r=14,fontWeightLight:n=300,fontWeightRegular:a=400,fontWeightMedium:i=500,fontWeightBold:l=700,htmlFontSize:s=16,allVariants:u,pxToRem:p,...f}=typeof t=="function"?t(e):t,d=r/14,c=p||(x=>`${x/s*d}rem`),T=(x,m,y,g,b)=>({fontFamily:o,fontWeight:x,fontSize:c(m),lineHeight:y,...o===EC?{letterSpacing:`${Lw(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,CC),caption:T(a,12,1.66,.4),overline:T(a,12,2.66,1,CC),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return _e({htmlFontSize:s,pxToRem:c,fontFamily:o,fontSize:r,fontWeightLight:n,fontWeightRegular:a,fontWeightMedium:i,fontWeightBold:l,...v},f,{clone:!1})}function qe(...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 Hw=["none",qe(0,2,1,-1,0,1,1,0,0,1,3,0),qe(0,3,1,-2,0,2,2,0,0,1,5,0),qe(0,3,3,-2,0,3,4,0,0,1,8,0),qe(0,2,4,-1,0,4,5,0,0,1,10,0),qe(0,3,5,-1,0,5,8,0,0,1,14,0),qe(0,3,5,-1,0,6,10,0,0,1,18,0),qe(0,4,5,-2,0,7,10,1,0,2,16,1),qe(0,5,5,-3,0,8,10,1,0,3,14,2),qe(0,5,6,-3,0,9,12,1,0,3,16,2),qe(0,6,6,-3,0,10,14,1,0,4,18,3),qe(0,6,7,-4,0,11,15,1,0,4,20,3),qe(0,7,8,-4,0,12,17,2,0,5,22,4),qe(0,7,8,-4,0,13,19,2,0,5,24,4),qe(0,7,9,-4,0,14,21,2,0,5,26,4),qe(0,8,9,-5,0,15,22,2,0,6,28,5),qe(0,8,10,-5,0,16,24,2,0,6,30,5),qe(0,8,11,-5,0,17,26,2,0,6,32,5),qe(0,9,11,-5,0,18,28,2,0,7,34,6),qe(0,9,12,-6,0,19,29,2,0,7,36,6),qe(0,10,13,-6,0,20,31,3,0,8,38,7),qe(0,10,13,-6,0,21,33,3,0,8,40,7),qe(0,10,14,-6,0,22,35,3,0,8,42,7),qe(0,11,14,-7,0,23,36,3,0,9,44,8),qe(0,11,15,-7,0,24,38,3,0,9,46,8)],PC=Hw;var Vw={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)"},Iw={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function RC(e){return`${Math.round(e)}ms`}function qw(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function pg(e){let t={...Vw,...e.easing},o={...Iw,...e.duration};return{getAutoHeightDuration:qw,create:(n=["all"],a={})=>{let{duration:i=o.standard,easing:l=t.easeInOut,delay:s=0,...u}=a;return(Array.isArray(n)?n:[n]).map(p=>`${p} ${typeof i=="string"?i:RC(i)} ${l} ${typeof s=="string"?s:RC(s)}`).join(",")},...e,easing:t,duration:o}}var Gw={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},OC=Gw;function Fw(e){return tr(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function _f(e={}){let t={...e};function o(r){let n=Object.entries(r);for(let a=0;a<n.length;a++){let[i,l]=n[a];!Fw(l)||i.startsWith("unstable_")||i.startsWith("internal_")?delete r[i]:tr(l)&&(r[i]={...l},o(r[i]))}}return o(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
92
+ } catch(e){}})();`}},"mui-color-scheme-init")}var _t=C(U(),1);function Aw(){}var Mw=({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 Aw;let r=n=>{let a=n.newValue;n.key===e&&o(a)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}}),hC=Mw;function ig(){}function gC(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function bC(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 Nw(e){return bC(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function lg(e){let{defaultMode:t="light",defaultLightColorScheme:o,defaultDarkColorScheme:r,supportedColorSchemes:n=[],modeStorageKey:a=mu,colorSchemeStorageKey:i=yu,storageWindow:l=typeof window>"u"?void 0:window,storageManager:s=hC,noSsr:u=!1}=e,p=n.join(","),f=n.length>1,d=_t.useMemo(()=>s?.({key:a,storageWindow:l}),[s,a,l]),c=_t.useMemo(()=>s?.({key:`${i}-light`,storageWindow:l}),[s,i,l]),T=_t.useMemo(()=>s?.({key:`${i}-dark`,storageWindow:l}),[s,i,l]),[v,x]=_t.useState(()=>{let O=d?.get(t)||t,N=c?.get(o)||o,_=T?.get(r)||r;return{mode:O,systemMode:gC(O),lightColorScheme:N,darkColorScheme:_}}),[m,y]=_t.useState(u||!f);_t.useEffect(()=>{y(!0)},[]);let g=Nw(v),b=_t.useCallback(O=>{x(N=>{if(O===N.mode)return N;let _=O??t;return d?.set(_),{...N,mode:_,systemMode:gC(_)}})},[d,t]),P=_t.useCallback(O=>{O?typeof O=="string"?O&&!p.includes(O)?console.error(`\`${O}\` does not exist in \`theme.colorSchemes\`.`):x(N=>{let _={...N};return bC(N,A=>{A==="light"&&(c?.set(O),_.lightColorScheme=O),A==="dark"&&(T?.set(O),_.darkColorScheme=O)}),_}):x(N=>{let _={...N},A=O.light===null?o:O.light,h=O.dark===null?r:O.dark;return A&&(p.includes(A)?(_.lightColorScheme=A,c?.set(A)):console.error(`\`${A}\` does not exist in \`theme.colorSchemes\`.`)),h&&(p.includes(h)?(_.darkColorScheme=h,T?.set(h)):console.error(`\`${h}\` does not exist in \`theme.colorSchemes\`.`)),_}):x(N=>(c?.set(o),T?.set(r),{...N,lightColorScheme:o,darkColorScheme:r}))},[p,c,T,o,r]),S=_t.useCallback(O=>{v.mode==="system"&&x(N=>{let _=O?.matches?"dark":"light";return N.systemMode===_?N:{...N,systemMode:_}})},[v.mode]),E=_t.useRef(S);return E.current=S,_t.useEffect(()=>{if(typeof window.matchMedia!="function"||!f)return;let O=(..._)=>E.current(..._),N=window.matchMedia("(prefers-color-scheme: dark)");return N.addListener(O),O(N),()=>{N.removeListener(O)}},[f]),_t.useEffect(()=>{if(f){let O=d?.subscribe(A=>{(!A||["light","dark","system"].includes(A))&&b(A||t)})||ig,N=c?.subscribe(A=>{(!A||p.match(A))&&P({light:A})})||ig,_=T?.subscribe(A=>{(!A||p.match(A))&&P({dark:A})})||ig;return()=>{O(),N(),_()}}},[P,b,p,t,l,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 Tl=C(j(),1),ww="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Af(e){let{themeId:t,theme:o={},modeStorageKey:r=mu,colorSchemeStorageKey:n=yu,disableTransitionOnChange:a=!1,defaultColorScheme:i,resolveTheme:l}=e,s={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},u=Dt.createContext(void 0),p=()=>Dt.useContext(u)||s,f={},d={};function c(m){let{children:y,theme:g,modeStorageKey:b=r,colorSchemeStorageKey:P=n,disableTransitionOnChange:S=a,storageManager:E,storageWindow:O=typeof window>"u"?void 0:window,documentNode:N=typeof document>"u"?void 0:document,colorSchemeNode:_=typeof document>"u"?void 0:document.documentElement,disableNestedContext:A=!1,disableStyleSheetGeneration:h=!1,defaultMode:w="system",forceThemeRerender:R=!1,noSsr:M}=m,B=Dt.useRef(!1),k=Yr(),I=Dt.useContext(u),ye=!!I&&!A,se=Dt.useMemo(()=>g||(typeof o=="function"?o():o),[g]),K=se[t],ce=K||se,{colorSchemes:We=f,components:De=d,cssVarPrefix:He}=ce,ze=Object.keys(We).filter(Be=>!!We[Be]).join(","),Q=Dt.useMemo(()=>ze.split(","),[ze]),J=typeof i=="string"?i:i.light,ee=typeof i=="string"?i:i.dark,he=We[J]&&We[ee]?w:We[ce.defaultColorScheme]?.palette?.mode||ce.palette?.mode,{mode:St,setMode:ie,systemMode:Ee,lightColorScheme:st,darkColorScheme:Ht,colorScheme:Ge,setColorScheme:ut}=lg({supportedColorSchemes:Q,defaultLightColorScheme:J,defaultDarkColorScheme:ee,modeStorageKey:b,colorSchemeStorageKey:P,defaultMode:he,storageManager:E,storageWindow:O,noSsr:M}),Ct=St,fe=Ge;ye&&(Ct=I.mode,fe=I.colorScheme);let uo=fe||ce.defaultColorScheme;ce.vars&&!R&&(uo=ce.defaultColorScheme);let Mo=Dt.useMemo(()=>{let Be=ce.generateThemeVars?.()||ce.vars,ge={...ce,components:De,colorSchemes:We,cssVarPrefix:He,vars:Be};if(typeof ge.generateSpacing=="function"&&(ge.spacing=ge.generateSpacing()),uo){let Xe=We[uo];Xe&&typeof Xe=="object"&&Object.keys(Xe).forEach(te=>{Xe[te]&&typeof Xe[te]=="object"?ge[te]={...ge[te],...Xe[te]}:ge[te]=Xe[te]})}return l?l(ge):ge},[ce,uo,De,We,He]),ct=ce.colorSchemeSelector;Kt(()=>{if(fe&&_&&ct&&ct!=="media"){let Be=ct,ge=ct;if(Be==="class"&&(ge=".%s"),Be==="data"&&(ge="[data-%s]"),Be?.startsWith("data-")&&!Be.includes("%s")&&(ge=`[${Be}="%s"]`),ge.startsWith("."))_.classList.remove(...Q.map(Xe=>ge.substring(1).replace("%s",Xe))),_.classList.add(ge.substring(1).replace("%s",fe));else{let Xe=ge.replace("%s",fe).match(/\[([^\]]+)\]/);if(Xe){let[te,co]=Xe[1].split("=");co||Q.forEach(en=>{_.removeAttribute(te.replace(fe,en))}),_.setAttribute(te,co?co.replace(/"|'/g,""):"")}else _.setAttribute(ge,fe)}}},[fe,ct,_,Q]),Dt.useEffect(()=>{let Be;if(S&&B.current&&N){let ge=N.createElement("style");ge.appendChild(N.createTextNode(ww)),N.head.appendChild(ge),window.getComputedStyle(N.body),Be=setTimeout(()=>{N.head.removeChild(ge)},1)}return()=>{clearTimeout(Be)}},[fe,S,N]),Dt.useEffect(()=>(B.current=!0,()=>{B.current=!1}),[]);let Kn=Dt.useMemo(()=>({allColorSchemes:Q,colorScheme:fe,darkColorScheme:Ht,lightColorScheme:st,mode:Ct,setColorScheme:ut,setMode:ie,systemMode:Ee}),[Q,fe,Ht,st,Ct,ut,ie,Ee,Mo.colorSchemeSelector]),lr=!0;(h||ce.cssVariables===!1||ye&&k?.cssVarPrefix===He)&&(lr=!1);let Cr=(0,Tl.jsxs)(Dt.Fragment,{children:[(0,Tl.jsx)(bl,{themeId:K?t:void 0,theme:Mo,children:y}),lr&&(0,Tl.jsx)(Ea,{styles:Mo.generateStyleSheets?.()||[]})]});return ye?Cr:(0,Tl.jsx)(u.Provider,{value:Kn,children:Cr})}let T=typeof i=="string"?i:i.light,v=typeof i=="string"?i:i.dark;return{CssVarsProvider:c,useColorScheme:p,getInitColorSchemeScript:m=>ag({colorSchemeStorageKey:n,defaultLightColorScheme:T,defaultDarkColorScheme:v,modeStorageKey:r,...m})}}function Mf(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 TC=(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])})},_w=(e,t,o)=>{function r(n,a=[],i=[]){Object.entries(n).forEach(([l,s])=>{(!o||o&&!o([...a,l]))&&s!=null&&(typeof s=="object"&&Object.keys(s).length>0?r(s,[...a,l],Array.isArray(s)?[...i,l]:i):t([...a,l],s,i))})}r(e)},Dw=(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 hu(e,t){let{prefix:o,shouldSkipGeneratingVar:r}=t||{},n={},a={},i={};return _w(e,(l,s,u)=>{if((typeof s=="string"||typeof s=="number")&&(!r||!r(l,s))){let p=`--${o?`${o}-`:""}${l.join("-")}`,f=Dw(l,s);Object.assign(n,{[p]:f}),TC(a,l,`var(${p})`,u),TC(i,l,`var(${p}, ${f})`,u)}},l=>l[0]==="vars"),{css:n,vars:a,varsWithDefaults:i}}function zw(e,t={}){let{getSelector:o=m,disableCssColorScheme:r,colorSchemeSelector:n,enableContrastVars:a}=t,{colorSchemes:i={},components:l,defaultColorScheme:s="light",...u}=e,{vars:p,css:f,varsWithDefaults:d}=hu(u,t),c=d,T={},{[s]:v,...x}=i;if(Object.entries(x||{}).forEach(([b,P])=>{let{vars:S,css:E,varsWithDefaults:O}=hu(P,t);c=_e(c,O),T[b]={css:E,vars:S}}),v){let{css:b,vars:P,varsWithDefaults:S}=hu(v,t);c=_e(c,S),T[s]={css:b,vars:P}}function m(b,P){let S=n;if(n==="class"&&(S=".%s"),n==="data"&&(S="[data-%s]"),n?.startsWith("data-")&&!n.includes("%s")&&(S=`[${n}="%s"]`),b){if(S==="media")return e.defaultColorScheme===b?":root":{[`@media (prefers-color-scheme: ${i[b]?.palette?.mode||b})`]:{":root":P}};if(S)return e.defaultColorScheme===b?`:root, ${S.replace("%s",String(b))}`:S.replace("%s",String(b))}return":root"}return{vars:c,generateThemeVars:()=>{let b={...p};return Object.entries(T).forEach(([,{vars:P}])=>{b=_e(b,P)}),b},generateStyleSheets:()=>{let b=[],P=e.defaultColorScheme||"light";function S(N,_){Object.keys(_).length&&b.push(typeof N=="string"?{[N]:{..._}}:N)}S(o(void 0,{...f}),f);let{[P]:E,...O}=T;if(E){let{css:N}=E,_=i[P]?.palette?.mode,A=!r&&_?{colorScheme:_,...N}:{...N};S(o(P,{...A}),A)}return Object.entries(O).forEach(([N,{css:_}])=>{let A=i[N]?.palette?.mode,h=!r&&A?{colorScheme:A,..._}:{..._};S(o(N,{...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 sg=zw;function ug(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="",l=!0;for(let s=0;s<a.length;s+=1){let u=a[s];u&&(i+=(l===!0?"":" ")+t(u),l=!1,o&&o[u]&&(i+=" "+o[u]))}r[n]=i}return r}var vC=C(U(),1);function Nf(e,t){return vC.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}function CC(){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:rl.white,default:rl.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 cg=CC();function EC(){return{text:{primary:rl.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:rl.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 wf=EC();function xC(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=hl(e.main,n):t==="dark"&&(e.dark=yl(e.main,a)))}function SC(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 Bw(e="light"){return e==="dark"?{main:xa[200],light:xa[50],dark:xa[400]}:{main:xa[700],light:xa[400],dark:xa[800]}}function Uw(e="light"){return e==="dark"?{main:va[200],light:va[50],dark:va[400]}:{main:va[500],light:va[300],dark:va[700]}}function jw(e="light"){return e==="dark"?{main:Ta[500],light:Ta[300],dark:Ta[700]}:{main:Ta[700],light:Ta[400],dark:Ta[800]}}function kw(e="light"){return e==="dark"?{main:Sa[400],light:Sa[300],dark:Sa[700]}:{main:Sa[700],light:Sa[500],dark:Sa[900]}}function Lw(e="light"){return e==="dark"?{main:Ca[400],light:Ca[300],dark:Ca[700]}:{main:Ca[800],light:Ca[500],dark:Ca[900]}}function Hw(e="light"){return e==="dark"?{main:nl[400],light:nl[300],dark:nl[700]}:{main:"#ed6c02",light:nl[500],dark:nl[900]}}function Iw(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function wa(e){let{mode:t="light",contrastThreshold:o=3,tonalOffset:r=.2,colorSpace:n,...a}=e,i=e.primary||Bw(t),l=e.secondary||Uw(t),s=e.error||jw(t),u=e.info||kw(t),p=e.success||Lw(t),f=e.warning||Hw(t);function d(x){return n?Iw(x):Z1(x,wf.text.primary)>=o?wf.text.primary:cg.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(bt(11,m?` (${m})`:"",y));if(typeof x.main!="string")throw new Error(bt(12,m?` (${m})`:"",JSON.stringify(x.main)));return n?(SC(n,x,"light",g,r),SC(n,x,"dark",b,r)):(xC(x,"light",g,r),xC(x,"dark",b,r)),x.contrastText||(x.contrastText=d(x.main)),x},T;return t==="light"?T=CC():t==="dark"&&(T=EC()),_e({common:{...rl},mode:t,primary:c({color:i,name:"primary"}),secondary:c({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:c({color:s,name:"error"}),warning:c({color:f,name:"warning"}),info:c({color:u,name:"info"}),success:c({color:p,name:"success"}),grey:b1,contrastThreshold:o,getContrastText:d,augmentColor:c,tonalOffset:r,...T},a)}function _f(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 pg(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Vw(e){return Math.round(e*1e5)/1e5}var PC={textTransform:"uppercase"},RC='"Roboto", "Helvetica", "Arial", sans-serif';function gu(e,t){let{fontFamily:o=RC,fontSize:r=14,fontWeightLight:n=300,fontWeightRegular:a=400,fontWeightMedium:i=500,fontWeightBold:l=700,htmlFontSize:s=16,allVariants:u,pxToRem:p,...f}=typeof t=="function"?t(e):t,d=r/14,c=p||(x=>`${x/s*d}rem`),T=(x,m,y,g,b)=>({fontFamily:o,fontWeight:x,fontSize:c(m),lineHeight:y,...o===RC?{letterSpacing:`${Vw(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,PC),caption:T(a,12,1.66,.4),overline:T(a,12,2.66,1,PC),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return _e({htmlFontSize:s,pxToRem:c,fontFamily:o,fontSize:r,fontWeightLight:n,fontWeightRegular:a,fontWeightMedium:i,fontWeightBold:l,...v},f,{clone:!1})}function qe(...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 qw=["none",qe(0,2,1,-1,0,1,1,0,0,1,3,0),qe(0,3,1,-2,0,2,2,0,0,1,5,0),qe(0,3,3,-2,0,3,4,0,0,1,8,0),qe(0,2,4,-1,0,4,5,0,0,1,10,0),qe(0,3,5,-1,0,5,8,0,0,1,14,0),qe(0,3,5,-1,0,6,10,0,0,1,18,0),qe(0,4,5,-2,0,7,10,1,0,2,16,1),qe(0,5,5,-3,0,8,10,1,0,3,14,2),qe(0,5,6,-3,0,9,12,1,0,3,16,2),qe(0,6,6,-3,0,10,14,1,0,4,18,3),qe(0,6,7,-4,0,11,15,1,0,4,20,3),qe(0,7,8,-4,0,12,17,2,0,5,22,4),qe(0,7,8,-4,0,13,19,2,0,5,24,4),qe(0,7,9,-4,0,14,21,2,0,5,26,4),qe(0,8,9,-5,0,15,22,2,0,6,28,5),qe(0,8,10,-5,0,16,24,2,0,6,30,5),qe(0,8,11,-5,0,17,26,2,0,6,32,5),qe(0,9,11,-5,0,18,28,2,0,7,34,6),qe(0,9,12,-6,0,19,29,2,0,7,36,6),qe(0,10,13,-6,0,20,31,3,0,8,38,7),qe(0,10,13,-6,0,21,33,3,0,8,40,7),qe(0,10,14,-6,0,22,35,3,0,8,42,7),qe(0,11,14,-7,0,23,36,3,0,9,44,8),qe(0,11,15,-7,0,24,38,3,0,9,46,8)],OC=qw;var Gw={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)"},Fw={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function AC(e){return`${Math.round(e)}ms`}function $w(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function fg(e){let t={...Gw,...e.easing},o={...Fw,...e.duration};return{getAutoHeightDuration:$w,create:(n=["all"],a={})=>{let{duration:i=o.standard,easing:l=t.easeInOut,delay:s=0,...u}=a;return(Array.isArray(n)?n:[n]).map(p=>`${p} ${typeof i=="string"?i:AC(i)} ${l} ${typeof s=="string"?s:AC(s)}`).join(",")},...e,easing:t,duration:o}}var Yw={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},MC=Yw;function Kw(e){return tr(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Df(e={}){let t={...e};function o(r){let n=Object.entries(r);for(let a=0;a<n.length;a++){let[i,l]=n[a];!Kw(l)||i.startsWith("unstable_")||i.startsWith("internal_")?delete r[i]:tr(l)&&(r[i]={...l},o(r[i]))}}return o(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
37
93
 
38
94
  const theme = ${JSON.stringify(t,null,2)};
39
95
 
40
96
  theme.breakpoints = createBreakpoints(theme.breakpoints || {});
41
97
  theme.transitions = createTransitions(theme.transitions || {});
42
98
 
43
- export default theme;`}function AC(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var $w=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 Yw(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})`:ml(t,$w(o))},lighten(t,o){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${AC(o)})`:hl(t,o)},darken(t,o){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${AC(o)})`:yl(t,o)}})}function Kw(e={},...t){let{breakpoints:o,mixins:r={},spacing:n,palette:a={},transitions:i={},typography:l={},shape:s,colorSpace:u,...p}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(bt(22));let f=wa({...a,colorSpace:u}),d=Aa(e),c=_e(d,{mixins:cg(d.breakpoints,r),palette:f,shadows:PC.slice(),typography:gu(f,l),transitions:pg(i),zIndex:{...OC}});return c=_e(c,p),c=t.reduce((T,v)=>_e(T,v),c),c.unstable_sxConfig={...$r,...p?.unstable_sxConfig},c.unstable_sx=function(v){return ao({sx:v,theme:this})},c.toRuntimeSource=_f,Yw(c),c}var bu=Kw;function vl(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 Xw=[...Array(25)].map((e,t)=>{if(t===0)return"none";let o=vl(t);return`linear-gradient(rgba(255 255 255 / ${o}), rgba(255 255 255 / ${o}))`});function fg(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function dg(e){return e==="dark"?Xw:[]}function mg(e){let{palette:t={mode:"light"},opacity:o,overlays:r,colorSpace:n,...a}=e,i=wa({...t,colorSpace:n});return{palette:i,opacity:{...fg(i.mode),...o},overlays:r||dg(i.mode),...a}}function yg(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 Qw=e=>[...[...Array(25)].map((t,o)=>`--${e?`${e}-`:""}overlays-${o}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],MC=Qw;var NC=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 MC(e.cssVarPrefix).forEach(l=>{i[l]=o[l],delete o[l]}),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 Zw(e,t){t.forEach(o=>{e[o]||(e[o]={})})}function D(e,t,o){!e[t]&&o&&(e[t]=o)}function Tu(e){return typeof e!="string"||!e.startsWith("hsl")?e:eg(e)}function Kr(e,t){`${t}Channel`in e||(e[`${t}Channel`]=dl(Tu(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().
44
- 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 Ww(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}var Tr=e=>{try{return e()}catch{}},Jw=(e="mui")=>Af(e);function hg(e,t,o,r,n){if(!o)return;o=o===!0?{}:o;let a=n==="dark"?"dark":"light";if(!r){t[n]=mg({...o,palette:{mode:a,...o?.palette},colorSpace:e});return}let{palette:i,...l}=bu({...r,palette:{mode:a,...o?.palette},colorSpace:e});return t[n]={...o,palette:i,opacity:{...fg(a),...o?.opacity},overlays:o?.overlays||dg(a)},l}function gg(e={},...t){let{colorSchemes:o={light:!0},defaultColorScheme:r,disableCssColorScheme:n=!1,cssVarPrefix:a="mui",nativeColor:i=!1,shouldSkipGeneratingVar:l=yg,colorSchemeSelector:s=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=Jw(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(bt(21,d));let b;i&&(b="oklch");let P=hg(b,y,g,p,d);v&&!y.light&&hg(b,y,v,void 0,"light"),x&&!y.dark&&hg(b,y,x,void 0,"dark");let S={defaultColorScheme:d,...P,cssVarPrefix:a,colorSchemeSelector:s,rootSelector:u,getCssVar:c,colorSchemes:y,font:{...wf(P.typography),...P.font},spacing:Ww(p.spacing)};Object.keys(S.colorSchemes).forEach(A=>{let h=S.colorSchemes[A].palette,w=M=>{let B=M.split("-"),k=B[1],V=B[2];return c(M,h[k][V])};h.mode==="light"&&(D(h.common,"background","#fff"),D(h.common,"onBackground","#000")),h.mode==="dark"&&(D(h.common,"background","#000"),D(h.common,"onBackground","#fff"));function R(M,B,k){if(b){let V;return M===Un&&(V=`transparent ${((1-k)*100).toFixed(0)}%`),M===Te&&(V=`#000 ${(k*100).toFixed(0)}%`),M===ve&&(V=`#fff ${(k*100).toFixed(0)}%`),`color-mix(in ${b}, ${B}, ${V})`}return M(B,k)}if(Zw(h,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),h.mode==="light"){D(h.Alert,"errorColor",R(Te,i?c("palette-error-light"):h.error.light,.6)),D(h.Alert,"infoColor",R(Te,i?c("palette-info-light"):h.info.light,.6)),D(h.Alert,"successColor",R(Te,i?c("palette-success-light"):h.success.light,.6)),D(h.Alert,"warningColor",R(Te,i?c("palette-warning-light"):h.warning.light,.6)),D(h.Alert,"errorFilledBg",w("palette-error-main")),D(h.Alert,"infoFilledBg",w("palette-info-main")),D(h.Alert,"successFilledBg",w("palette-success-main")),D(h.Alert,"warningFilledBg",w("palette-warning-main")),D(h.Alert,"errorFilledColor",Tr(()=>h.getContrastText(h.error.main))),D(h.Alert,"infoFilledColor",Tr(()=>h.getContrastText(h.info.main))),D(h.Alert,"successFilledColor",Tr(()=>h.getContrastText(h.success.main))),D(h.Alert,"warningFilledColor",Tr(()=>h.getContrastText(h.warning.main))),D(h.Alert,"errorStandardBg",R(ve,i?c("palette-error-light"):h.error.light,.9)),D(h.Alert,"infoStandardBg",R(ve,i?c("palette-info-light"):h.info.light,.9)),D(h.Alert,"successStandardBg",R(ve,i?c("palette-success-light"):h.success.light,.9)),D(h.Alert,"warningStandardBg",R(ve,i?c("palette-warning-light"):h.warning.light,.9)),D(h.Alert,"errorIconColor",w("palette-error-main")),D(h.Alert,"infoIconColor",w("palette-info-main")),D(h.Alert,"successIconColor",w("palette-success-main")),D(h.Alert,"warningIconColor",w("palette-warning-main")),D(h.AppBar,"defaultBg",w("palette-grey-100")),D(h.Avatar,"defaultBg",w("palette-grey-400")),D(h.Button,"inheritContainedBg",w("palette-grey-300")),D(h.Button,"inheritContainedHoverBg",w("palette-grey-A100")),D(h.Chip,"defaultBorder",w("palette-grey-400")),D(h.Chip,"defaultAvatarColor",w("palette-grey-700")),D(h.Chip,"defaultIconColor",w("palette-grey-700")),D(h.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),D(h.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),D(h.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),D(h.LinearProgress,"primaryBg",R(ve,i?c("palette-primary-main"):h.primary.main,.62)),D(h.LinearProgress,"secondaryBg",R(ve,i?c("palette-secondary-main"):h.secondary.main,.62)),D(h.LinearProgress,"errorBg",R(ve,i?c("palette-error-main"):h.error.main,.62)),D(h.LinearProgress,"infoBg",R(ve,i?c("palette-info-main"):h.info.main,.62)),D(h.LinearProgress,"successBg",R(ve,i?c("palette-success-main"):h.success.main,.62)),D(h.LinearProgress,"warningBg",R(ve,i?c("palette-warning-light"):h.warning.main,.62)),D(h.Skeleton,"bg",b?R(Un,i?c("palette-text-primary"):h.text.primary,.11):`rgba(${w("palette-text-primaryChannel")} / 0.11)`),D(h.Slider,"primaryTrack",R(ve,i?c("palette-primary-main"):h.primary.main,.62)),D(h.Slider,"secondaryTrack",R(ve,i?c("palette-secondary-main"):h.secondary.main,.62)),D(h.Slider,"errorTrack",R(ve,i?c("palette-error-main"):h.error.main,.62)),D(h.Slider,"infoTrack",R(ve,i?c("palette-info-main"):h.info.main,.62)),D(h.Slider,"successTrack",R(ve,i?c("palette-success-main"):h.success.main,.62)),D(h.Slider,"warningTrack",R(ve,i?c("palette-warning-main"):h.warning.main,.62));let M=b?R(Te,i?c("palette-background-default"):h.background.default,.6825):fu(h.background.default,.8);D(h.SnackbarContent,"bg",M),D(h.SnackbarContent,"color",Tr(()=>b?Nf.text.primary:h.getContrastText(M))),D(h.SpeedDialAction,"fabHoverBg",fu(h.background.paper,.15)),D(h.StepConnector,"border",w("palette-grey-400")),D(h.StepContent,"border",w("palette-grey-400")),D(h.Switch,"defaultColor",w("palette-common-white")),D(h.Switch,"defaultDisabledColor",w("palette-grey-100")),D(h.Switch,"primaryDisabledColor",R(ve,i?c("palette-primary-main"):h.primary.main,.62)),D(h.Switch,"secondaryDisabledColor",R(ve,i?c("palette-secondary-main"):h.secondary.main,.62)),D(h.Switch,"errorDisabledColor",R(ve,i?c("palette-error-main"):h.error.main,.62)),D(h.Switch,"infoDisabledColor",R(ve,i?c("palette-info-main"):h.info.main,.62)),D(h.Switch,"successDisabledColor",R(ve,i?c("palette-success-main"):h.success.main,.62)),D(h.Switch,"warningDisabledColor",R(ve,i?c("palette-warning-main"):h.warning.main,.62)),D(h.TableCell,"border",R(ve,Un(i?c("palette-divider"):h.divider,1),.88)),D(h.Tooltip,"bg",R(Un,i?c("palette-grey-700"):h.grey[700],.92))}if(h.mode==="dark"){D(h.Alert,"errorColor",R(ve,i?c("palette-error-light"):h.error.light,.6)),D(h.Alert,"infoColor",R(ve,i?c("palette-info-light"):h.info.light,.6)),D(h.Alert,"successColor",R(ve,i?c("palette-success-light"):h.success.light,.6)),D(h.Alert,"warningColor",R(ve,i?c("palette-warning-light"):h.warning.light,.6)),D(h.Alert,"errorFilledBg",w("palette-error-dark")),D(h.Alert,"infoFilledBg",w("palette-info-dark")),D(h.Alert,"successFilledBg",w("palette-success-dark")),D(h.Alert,"warningFilledBg",w("palette-warning-dark")),D(h.Alert,"errorFilledColor",Tr(()=>h.getContrastText(h.error.dark))),D(h.Alert,"infoFilledColor",Tr(()=>h.getContrastText(h.info.dark))),D(h.Alert,"successFilledColor",Tr(()=>h.getContrastText(h.success.dark))),D(h.Alert,"warningFilledColor",Tr(()=>h.getContrastText(h.warning.dark))),D(h.Alert,"errorStandardBg",R(Te,i?c("palette-error-light"):h.error.light,.9)),D(h.Alert,"infoStandardBg",R(Te,i?c("palette-info-light"):h.info.light,.9)),D(h.Alert,"successStandardBg",R(Te,i?c("palette-success-light"):h.success.light,.9)),D(h.Alert,"warningStandardBg",R(Te,i?c("palette-warning-light"):h.warning.light,.9)),D(h.Alert,"errorIconColor",w("palette-error-main")),D(h.Alert,"infoIconColor",w("palette-info-main")),D(h.Alert,"successIconColor",w("palette-success-main")),D(h.Alert,"warningIconColor",w("palette-warning-main")),D(h.AppBar,"defaultBg",w("palette-grey-900")),D(h.AppBar,"darkBg",w("palette-background-paper")),D(h.AppBar,"darkColor",w("palette-text-primary")),D(h.Avatar,"defaultBg",w("palette-grey-600")),D(h.Button,"inheritContainedBg",w("palette-grey-800")),D(h.Button,"inheritContainedHoverBg",w("palette-grey-700")),D(h.Chip,"defaultBorder",w("palette-grey-700")),D(h.Chip,"defaultAvatarColor",w("palette-grey-300")),D(h.Chip,"defaultIconColor",w("palette-grey-300")),D(h.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),D(h.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),D(h.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),D(h.LinearProgress,"primaryBg",R(Te,i?c("palette-primary-main"):h.primary.main,.5)),D(h.LinearProgress,"secondaryBg",R(Te,i?c("palette-secondary-main"):h.secondary.main,.5)),D(h.LinearProgress,"errorBg",R(Te,i?c("palette-error-main"):h.error.main,.5)),D(h.LinearProgress,"infoBg",R(Te,i?c("palette-info-main"):h.info.main,.5)),D(h.LinearProgress,"successBg",R(Te,i?c("palette-success-main"):h.success.main,.5)),D(h.LinearProgress,"warningBg",R(Te,i?c("palette-warning-main"):h.warning.main,.5)),D(h.Skeleton,"bg",b?R(Un,i?c("palette-text-primary"):h.text.primary,.13):`rgba(${w("palette-text-primaryChannel")} / 0.13)`),D(h.Slider,"primaryTrack",R(Te,i?c("palette-primary-main"):h.primary.main,.5)),D(h.Slider,"secondaryTrack",R(Te,i?c("palette-secondary-main"):h.secondary.main,.5)),D(h.Slider,"errorTrack",R(Te,i?c("palette-error-main"):h.error.main,.5)),D(h.Slider,"infoTrack",R(Te,i?c("palette-info-main"):h.info.main,.5)),D(h.Slider,"successTrack",R(Te,i?c("palette-success-main"):h.success.main,.5)),D(h.Slider,"warningTrack",R(Te,i?c("palette-warning-light"):h.warning.main,.5));let M=b?R(ve,i?c("palette-background-default"):h.background.default,.985):fu(h.background.default,.98);D(h.SnackbarContent,"bg",M),D(h.SnackbarContent,"color",Tr(()=>b?ug.text.primary:h.getContrastText(M))),D(h.SpeedDialAction,"fabHoverBg",fu(h.background.paper,.15)),D(h.StepConnector,"border",w("palette-grey-600")),D(h.StepContent,"border",w("palette-grey-600")),D(h.Switch,"defaultColor",w("palette-grey-300")),D(h.Switch,"defaultDisabledColor",w("palette-grey-600")),D(h.Switch,"primaryDisabledColor",R(Te,i?c("palette-primary-main"):h.primary.main,.55)),D(h.Switch,"secondaryDisabledColor",R(Te,i?c("palette-secondary-main"):h.secondary.main,.55)),D(h.Switch,"errorDisabledColor",R(Te,i?c("palette-error-main"):h.error.main,.55)),D(h.Switch,"infoDisabledColor",R(Te,i?c("palette-info-main"):h.info.main,.55)),D(h.Switch,"successDisabledColor",R(Te,i?c("palette-success-main"):h.success.main,.55)),D(h.Switch,"warningDisabledColor",R(Te,i?c("palette-warning-light"):h.warning.main,.55)),D(h.TableCell,"border",R(Te,Un(i?c("palette-divider"):h.divider,1),.68)),D(h.Tooltip,"bg",R(Un,i?c("palette-grey-700"):h.grey[700],.92))}i||(Kr(h.background,"default"),Kr(h.background,"paper"),Kr(h.common,"background"),Kr(h.common,"onBackground"),Kr(h,"divider")),Object.keys(h).forEach(M=>{let B=h[M];M!=="tonalOffset"&&!i&&B&&typeof B=="object"&&(B.main&&D(h[M],"mainChannel",dl(Tu(B.main))),B.light&&D(h[M],"lightChannel",dl(Tu(B.light))),B.dark&&D(h[M],"darkChannel",dl(Tu(B.dark))),B.contrastText&&D(h[M],"contrastTextChannel",dl(Tu(B.contrastText))),M==="text"&&(Kr(h[M],"primary"),Kr(h[M],"secondary")),M==="action"&&(B.active&&Kr(h[M],"active"),B.selected&&Kr(h[M],"selected")))})}),S=t.reduce((A,h)=>_e(A,h),S);let E={prefix:a,disableCssColorScheme:n,shouldSkipGeneratingVar:l,getSelector:NC(S),enableContrastVars:i},{vars:O,generateThemeVars:N,generateStyleSheets:_}=lg(S,E);return S.vars=O,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([A,h])=>{S[A]=h}),S.generateThemeVars=N,S.generateStyleSheets=_,S.generateSpacing=function(){return cl(p.spacing,au(this))},S.getColorSchemeSelector=sg(s),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=l,S.unstable_sxConfig={...$r,...p?.unstable_sxConfig},S.unstable_sx=function(h){return ao({sx:h,theme:this})},S.internal_cache={},S.toRuntimeSource=_f,S}function wC(e,t,o){e.colorSchemes&&o&&(e.colorSchemes[t]={...o!==!0&&o,palette:wa({...o===!0?{}:o.palette,mode:t})})}function vr(e={},...t){let{palette:o,cssVariables:r=!1,colorSchemes:n=o?void 0:{light:!0},defaultColorScheme:a=o?.mode,...i}=e,l=a||"light",s=n?.[l],u={...n,...o?{[l]:{...typeof s!="boolean"&&s,palette:o}}:void 0};if(r===!1){if(!("colorSchemes"in e))return bu(e,...t);let p=o;"palette"in e||u[l]&&(u[l]!==!0?p=u[l].palette:l==="dark"&&(p={mode:"dark"}));let f=bu({...e,palette:p},...t);return f.defaultColorScheme=l,f.colorSchemes=u,f.palette.mode==="light"&&(f.colorSchemes.light={...u.light!==!0&&u.light,palette:f.palette},wC(f,"dark",u.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:f.palette},wC(f,"light",u.light)),f}return!o&&!("light"in u)&&l==="light"&&(u.light=!0),gg({...i,colorSchemes:u,defaultColorScheme:l,...typeof r!="boolean"&&r},...t)}var t_=C(U(),1);var e_=vr(),xl=e_;function jn(){let e=Dn(xl);return e[wt]||e}function o_(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}var Df=o_;var r_=e=>Df(e)&&e!=="classes",ot=r_;var n_=bf({themeId:wt,defaultTheme:xl,rootShouldForwardProp:ot}),L=n_;var zC=C(U(),1);var iL=C(U(),1);var _C=C(j(),1);function bg({theme:e,...t}){let o=wt in e?e[wt]:void 0;return(0,_C.jsx)(bl,{...t,themeId:o?wt:void 0,theme:o||e})}var a_=C(j(),1),vu={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"};var i_=C(j(),1),{CssVarsProvider:l_,useColorScheme:gL,getInitColorSchemeScript:bL}=Of({themeId:wt,theme:()=>vr({cssVariables:!0}),colorSchemeStorageKey:vu.colorSchemeStorageKey,modeStorageKey:vu.modeStorageKey,defaultColorScheme:{light:vu.defaultLightColorScheme,dark:vu.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:gu(e.palette,e.typography)};return t.unstable_sx=function(r){return ao({sx:r,theme:this})},t}});var DC=l_;var Tg=C(j(),1);function zf({theme:e,...t}){let o=zC.useMemo(()=>{if(typeof e=="function")return e;let r=wt in e?e[wt]:e;return"colorSchemes"in r?null:"vars"in r?e:{...e,vars:null}},[e]);return o?(0,Tg.jsx)(bg,{theme:o,...t}):(0,Tg.jsx)(DC,{theme:e,...t})}var X=sl;function xu(...e){return e.reduce((t,o)=>o==null?t:function(...n){t.apply(this,n),o.apply(this,n)},()=>{})}var jf=C(U(),1);var Bf=C(U(),1);var BC=C(j(),1);function s_(e){return(0,BC.jsx)(pl,{...e,defaultTheme:xl,themeId:wt})}var vg=s_;var UC=C(j(),1);function jC(e){return function(o){return(0,UC.jsx)(vg,{styles:typeof e=="function"?r=>e({theme:r,...o}):e})}}var u_=Rf,oe=u_;var $L=C(U(),1);var c_=C(j(),1);function Y(e){return og(e)}function kC(e){return G("MuiSvgIcon",e)}var e9=q("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var Uf=C(j(),1),p_=e=>{let{color:t,fontSize:o,classes:r}=e,n={root:["root",t!=="inherit"&&`color${X(t)}`,`fontSize${X(o)}`]};return F(n,kC,r)},f_=L("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.color!=="inherit"&&t[`color${X(o.color)}`],t[`fontSize${X(o.fontSize)}`]]}})(oe(({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}}]}))),LC=Bf.forwardRef(function(t,o){let r=Y({props:t,name:"MuiSvgIcon"}),{children:n,className:a,color:i="inherit",component:l="svg",fontSize:s="medium",htmlColor:u,inheritViewBox:p=!1,titleAccess:f,viewBox:d="0 0 24 24",...c}=r,T=Bf.isValidElement(n)&&n.type==="svg",v={...r,color:i,component:l,fontSize:s,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:d,hasSvgAsChild:T},x={};p||(x.viewBox=d);let m=p_(v);return(0,Uf.jsxs)(f_,{as:l,className:H(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,Uf.jsx)("title",{children:f}):null]})});LC.muiName="SvgIcon";var xg=LC;var HC=C(j(),1);function io(e,t){function o(r,n){return(0,HC.jsx)(xg,{"data-testid":void 0,ref:n,...r,children:e})}return o.muiName=xg.muiName,jf.memo(jf.forwardRef(o))}function Sl(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 VC=Sl;var kf=Mf;function _a(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}var kn=_a;function Tt(e){return e&&e.ownerDocument||document}var Ln=Tt;function Fo(e){return Tt(e).defaultView||window}var Su=Fo;function Da(e,t){typeof e=="function"?e(t):e&&(e.current=t)}var Lf=Kt;var Cu=or;var za=C(U(),1);function Hf(e){let{controlled:t,default:o,name:r,state:n="value"}=e,{current:a}=za.useRef(t!==void 0),[i,l]=za.useState(o),s=a?t:i,u=za.useCallback(p=>{a||l(p)},[]);return[s,u]}var Sg=Hf;var Cg=C(U(),1);function d_(e){let t=Cg.useRef(e);return Kt(()=>{t.current=e}),Cg.useRef((...o)=>(0,t.current)(...o)).current}var $o=d_;var Hn=$o;var Cl=C(U(),1);function jt(...e){let t=Cl.useRef(void 0),o=Cl.useCallback(r=>{let n=e.map(a=>{if(a==null)return null;if(typeof a=="function"){let i=a,l=i(r);return typeof l=="function"?l:()=>{i(null)}}return a.current=r,()=>{a.current=null}});return()=>{n.forEach(a=>a?.())}},e);return Cl.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=o(r))},e)}var Xt=jt;function m_(e,t){let o=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&o>=65&&o<=90&&typeof t=="function"}function Eg(e,t){if(!e)return t;function o(i,l){let s={};return Object.keys(l).forEach(u=>{m_(u,l[u])&&typeof i[u]=="function"&&(s[u]=(...p)=>{i[u](...p),l[u](...p)})}),s}if(typeof e=="function"||typeof t=="function")return i=>{let l=typeof t=="function"?t(i):t,s=typeof e=="function"?e({...i,...l}):e,u=H(i?.className,l?.className,s?.className),p=o(s,l);return{...l,...s,...p,...!!u&&{className:u},...l?.style&&s?.style&&{style:{...l.style,...s.style}},...l?.sx&&s?.sx&&{sx:[...Array.isArray(l.sx)?l.sx:[l.sx],...Array.isArray(s.sx)?s.sx:[s.sx]]}}};let r=t,n=o(e,r),a=H(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 Vf(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 If(e,t){return If=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,r){return o.__proto__=r,o},If(e,t)}function qf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,If(e,t)}var Eu=C(U()),Pu=C(Oc());var Pg={disabled:!1};var IC=C(U()),El=IC.default.createContext(null);var qC=function(t){return t.scrollTop};var Ru="unmounted",Ba="exited",Ua="entering",Rl="entered",Rg="exiting",Xr=(function(e){qf(t,e);function t(r,n){var a;a=e.call(this,r,n)||this;var i=n,l=i&&!i.isMounting?r.enter:r.appear,s;return a.appearStatus=null,r.in?l?(s=Ba,a.appearStatus=Ua):s=Rl:r.unmountOnExit||r.mountOnEnter?s=Ru:s=Ba,a.state={status:s},a.nextCallback=null,a}t.getDerivedStateFromProps=function(n,a){var i=n.in;return i&&a.status===Ru?{status:Ba}: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!==Ua&&i!==Rl&&(a=Ua):(i===Ua||i===Rl)&&(a=Rg)}this.updateStatus(!1,a)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var n=this.props.timeout,a,i,l;return a=i=l=n,n!=null&&typeof n!="number"&&(a=n.exit,i=n.enter,l=n.appear!==void 0?n.appear:i),{exit:a,enter:i,appear:l}},o.updateStatus=function(n,a){if(n===void 0&&(n=!1),a!==null)if(this.cancelNextCallback(),a===Ua){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Pu.default.findDOMNode(this);i&&qC(i)}this.performEnter(n)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ba&&this.setState({status:Ru})},o.performEnter=function(n){var a=this,i=this.props.enter,l=this.context?this.context.isMounting:n,s=this.props.nodeRef?[l]:[Pu.default.findDOMNode(this),l],u=s[0],p=s[1],f=this.getTimeouts(),d=l?f.appear:f.enter;if(!n&&!i||Pg.disabled){this.safeSetState({status:Rl},function(){a.props.onEntered(u)});return}this.props.onEnter(u,p),this.safeSetState({status:Ua},function(){a.props.onEntering(u,p),a.onTransitionEnd(d,function(){a.safeSetState({status:Rl},function(){a.props.onEntered(u,p)})})})},o.performExit=function(){var n=this,a=this.props.exit,i=this.getTimeouts(),l=this.props.nodeRef?void 0:Pu.default.findDOMNode(this);if(!a||Pg.disabled){this.safeSetState({status:Ba},function(){n.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:Rg},function(){n.props.onExiting(l),n.onTransitionEnd(i.exit,function(){n.safeSetState({status:Ba},function(){n.props.onExited(l)})})})},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(l){i&&(i=!1,a.nextCallback=null,n(l))},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:Pu.default.findDOMNode(this),l=n==null&&!this.props.addEndListener;if(!i||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],u=s[0],p=s[1];this.props.addEndListener(u,p)}n!=null&&setTimeout(this.nextCallback,n)},o.render=function(){var n=this.state.status;if(n===Ru)return null;var a=this.props,i=a.children,l=a.in,s=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,S=Vf(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Eu.default.createElement(El.Provider,{value:null},typeof i=="function"?i(n,S):Eu.default.cloneElement(Eu.default.Children.only(i),S))},t})(Eu.default.Component);Xr.contextType=El;Xr.propTypes={};function Pl(){}Xr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Pl,onEntering:Pl,onEntered:Pl,onExit:Pl,onExiting:Pl,onExited:Pl};Xr.UNMOUNTED=Ru;Xr.EXITED=Ba;Xr.ENTERING=Ua;Xr.ENTERED=Rl;Xr.EXITING=Rg;var Ou=Xr;function GC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Au=C(U());var Yo=C(U());function Gf(e,t){var o=function(a){return t&&(0,Yo.isValidElement)(a)?t(a):a},r=Object.create(null);return e&&Yo.Children.map(e,function(n){return n}).forEach(function(n){r[n.key]=o(n)}),r}function y_(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,l={};for(var s in t){if(r[s])for(i=0;i<r[s].length;i++){var u=r[s][i];l[r[s][i]]=o(u)}l[s]=o(s)}for(i=0;i<n.length;i++)l[n[i]]=o(n[i]);return l}function ja(e,t,o){return o[t]!=null?o[t]:e.props[t]}function FC(e,t){return Gf(e.children,function(o){return(0,Yo.cloneElement)(o,{onExited:t.bind(null,o),in:!0,appear:ja(o,"appear",e),enter:ja(o,"enter",e),exit:ja(o,"exit",e)})})}function $C(e,t,o){var r=Gf(e.children),n=y_(t,r);return Object.keys(n).forEach(function(a){var i=n[a];if((0,Yo.isValidElement)(i)){var l=a in t,s=a in r,u=t[a],p=(0,Yo.isValidElement)(u)&&!u.props.in;s&&(!l||p)?n[a]=(0,Yo.cloneElement)(i,{onExited:o.bind(null,i),in:!0,exit:ja(i,"exit",e),enter:ja(i,"enter",e)}):!s&&l&&!p?n[a]=(0,Yo.cloneElement)(i,{in:!1}):s&&l&&(0,Yo.isValidElement)(u)&&(n[a]=(0,Yo.cloneElement)(i,{onExited:o.bind(null,i),in:u.props.in,exit:ja(i,"exit",e),enter:ja(i,"enter",e)}))}}),n}var h_=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},g_={component:"div",childFactory:function(t){return t}},Og=(function(e){qf(t,e);function t(r,n){var a;a=e.call(this,r,n)||this;var i=a.handleExited.bind(GC(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,l=a.handleExited,s=a.firstRender;return{children:s?FC(n,l):$C(n,i,l),firstRender:!1}},o.handleExited=function(n,a){var i=Gf(this.props.children);n.key in i||(n.props.onExited&&n.props.onExited(a),this.mounted&&this.setState(function(l){var s=Zn({},l.children);return delete s[n.key],{children:s}}))},o.render=function(){var n=this.props,a=n.component,i=n.childFactory,l=Vf(n,["component","childFactory"]),s=this.state.contextValue,u=h_(this.state.children).map(i);return delete l.appear,delete l.enter,delete l.exit,a===null?Au.default.createElement(El.Provider,{value:s},u):Au.default.createElement(El.Provider,{value:s},Au.default.createElement(a,l,u))},t})(Au.default.Component);Og.propTypes={};Og.defaultProps=g_;var Ag=Og;var KC=C(U(),1),YC={};function Ol(e,t){let o=KC.useRef(YC);return o.current===YC&&(o.current=e(t)),o}var XC=C(U(),1),b_=[];function Mg(e){XC.useEffect(e,b_)}var Ng=class e{constructor(){Za(this,"currentId",null);Za(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Za(this,"disposeEffect",()=>this.clear)}static create(){return new e}start(t,o){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,o()},t)}};function Al(){let e=Ol(Ng.create).current;return Mg(e.disposeEffect),e}var Ff=e=>e.scrollTop;function lo(e,t){return o=>{if(t){let r=e.current;o===void 0?t(r):t(r,o)}}}function $f(e,t,o,r,n,a){let i=e==="exited"&&!t?r:o[e]||o.exited;return n||a?{...i,...n,...a}:i}function Ml(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 T_(e){return typeof e=="string"}var Vn=T_;function v_(e,t,o){return e===void 0||Vn(e)?t:{...t,ownerState:{...t.ownerState,...o}}}var Mu=v_;function x_(e,t,o){return typeof e=="function"?e(t,o):e}var Nu=x_;function S_(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 wu=S_;function C_(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 Yf=C_;function E_(e){let{getSlotProps:t,additionalProps:o,externalSlotProps:r,externalForwardedProps:n,className:a}=e;if(!t){let c=H(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=wu({...n,...r}),l=Yf(r),s=Yf(n),u=t(i),p=H(u?.className,o?.className,a,n?.className,r?.className),f={...u?.style,...o?.style,...n?.style,...r?.style},d={...u,...o,...s,...l};return p.length>0&&(d.className=p),Object.keys(f).length>0&&(d.style=f),{props:d,internalRef:u.ref}}var _u=E_;function Ke(e,t){let{className:o,elementType:r,ownerState:n,externalForwardedProps:a,internalForwardedProps:i,shouldForwardComponentProp:l=!1,...s}=t,{component:u,slots:p={[e]:void 0},slotProps:f={[e]:void 0},...d}=a,c=p[e]||r,T=Nu(f[e],n),{props:{component:v,...x},internalRef:m}=_u({className:o,...s,externalForwardedProps:e==="root"?d:void 0,externalSlotProps:T}),y=jt(m,T?.ref,t.ref),g=e==="root"?v||u:v,b=Mu(c,{...e==="root"&&!u&&!p[e]&&i,...e!=="root"&&!p[e]&&i,...x,...g&&!l&&{as:g},...g&&l&&{component:g},ref:y},n);return[c,b]}var ZC=C(U(),1);function QC(e){return G("MuiPaper",e)}var S7=q("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 WC=C(j(),1),P_=e=>{let{square:t,elevation:o,variant:r,classes:n}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${o}`]};return F(a,QC,n)},R_=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}`]]}})(oe(({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)"}}]}))),O_=ZC.forwardRef(function(t,o){let r=Y({props:t,name:"MuiPaper"}),n=jn(),{className:a,component:i="div",elevation:l=1,square:s=!1,variant:u="elevation",...p}=r,f={...r,component:i,elevation:l,square:s,variant:u},d=P_(f);return(0,WC.jsx)(R_,{as:i,ownerState:f,className:H(d.root,a),ref:o,...p,style:{...u==="elevation"&&{"--Paper-shadow":(n.vars||n).shadows[l],...n.vars&&{"--Paper-overlay":n.vars.overlays?.[l]},...!n.vars&&n.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${ml("#fff",vl(l))}, ${ml("#fff",vl(l))})`}},...p.style}})}),Nl=O_;var qn=C(U(),1);function Du(e){try{return e.matches(":focus-visible")}catch{}return!1}var In=C(U(),1);var JC=C(U(),1);function wg(e){let{focusableWhenDisabled:t,disabled:o,composite:r=!1,tabIndex:n=0,isNativeButton:a}=e,i=r&&t!==!1,l=r&&t===!1;return JC.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||l)&&(u.disabled=o),u},[r,o,t,i,l,a,n])}var A_={};function _g(e){let{nativeButton:t,nativeButtonProp:o,internalNativeButton:r=t,allowInferredHostMismatch:n=!1,disabled:a,type:i,hasFormAction:l=!1,tabIndex:s=0,focusableWhenDisabled:u,stopEventPropagation:p=!1,onBeforeKeyDown:f,onBeforeKeyUp:d}=e,c=In.useRef(null),T=u===!0,v=wg({focusableWhenDisabled:T,disabled:a,isNativeButton:t,tabIndex:s}),x=In.useCallback(()=>{let g=c.current;return g==null?t:g.tagName==="BUTTON"?!0:!!(g.tagName==="A"&&g.href)},[t]),m=In.useMemo(()=>{let g=T?{}:{tabIndex:a?-1:s};return t?(g.type=i===void 0&&!l?"button":i,T||(g.disabled=a)):(g.role="button",!T&&a&&(g["aria-disabled"]=a)),T?{...g,...v}:g},[a,T,v,l,t,s,i]);return{getButtonProps:In.useCallback((g=A_)=>{let{onClick:b,onKeyDown:P,onKeyUp:S,...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),S?.(A),A.target===A.currentTarget&&!x()&&A.key===" "&&!A.defaultPrevented&&A.currentTarget.click())}}},[m,a,T,v,x,f,d,p]),rootRef:c}}var Kf=C(U(),1);var Dg=class e{constructor(){Za(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=Ol(e.create).current,[o,r]=Kf.useState(!1);return t.shouldMount=o,t.setShouldMount=r,Kf.useEffect(t.mountEffect,[o]),t}mount(){return this.mounted||(this.mounted=M_(),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 Xf(){return Dg.use()}function M_(){let e,t,o=new Promise((r,n)=>{e=r,t=n});return o.resolve=e,o.reject=t,o}var dt=C(U(),1);var Qf=C(U(),1);var zg=C(j(),1);function N_(e){let{className:t,classes:o,pulsate:r=!1,rippleX:n,rippleY:a,rippleSize:i,in:l,onExited:s,timeout:u}=e,[p,f]=Qf.useState(!1),d=H(t,o.ripple,o.rippleVisible,r&&o.ripplePulsate),c={width:i,height:i,top:-(i/2)+a,left:-(i/2)+n},T=H(o.child,p&&o.childLeaving,r&&o.childPulsate);return!l&&!p&&f(!0),Qf.useEffect(()=>{if(!l&&s!=null){let v=setTimeout(s,u);return()=>{clearTimeout(v)}}},[s,l,u]),(0,zg.jsx)("span",{className:d,style:c,children:(0,zg.jsx)("span",{className:T})})}var eE=N_;var w_=q("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Eo=w_;var Zf=C(j(),1),Bg=550,__=80,D_=ur`
99
+ export default theme;`}function NC(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var Xw=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 Qw(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})`:ml(t,Xw(o))},lighten(t,o){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${NC(o)})`:hl(t,o)},darken(t,o){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${NC(o)})`:yl(t,o)}})}function Zw(e={},...t){let{breakpoints:o,mixins:r={},spacing:n,palette:a={},transitions:i={},typography:l={},shape:s,colorSpace:u,...p}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(bt(22));let f=wa({...a,colorSpace:u}),d=Aa(e),c=_e(d,{mixins:pg(d.breakpoints,r),palette:f,shadows:OC.slice(),typography:gu(f,l),transitions:fg(i),zIndex:{...MC}});return c=_e(c,p),c=t.reduce((T,v)=>_e(T,v),c),c.unstable_sxConfig={...$r,...p?.unstable_sxConfig},c.unstable_sx=function(v){return ao({sx:v,theme:this})},c.toRuntimeSource=Df,Qw(c),c}var bu=Zw;function vl(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 Ww=[...Array(25)].map((e,t)=>{if(t===0)return"none";let o=vl(t);return`linear-gradient(rgba(255 255 255 / ${o}), rgba(255 255 255 / ${o}))`});function dg(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function mg(e){return e==="dark"?Ww:[]}function yg(e){let{palette:t={mode:"light"},opacity:o,overlays:r,colorSpace:n,...a}=e,i=wa({...t,colorSpace:n});return{palette:i,opacity:{...dg(i.mode),...o},overlays:r||mg(i.mode),...a}}function hg(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 Jw=e=>[...[...Array(25)].map((t,o)=>`--${e?`${e}-`:""}overlays-${o}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],wC=Jw;var _C=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 wC(e.cssVarPrefix).forEach(l=>{i[l]=o[l],delete o[l]}),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 e_(e,t){t.forEach(o=>{e[o]||(e[o]={})})}function D(e,t,o){!e[t]&&o&&(e[t]=o)}function Tu(e){return typeof e!="string"||!e.startsWith("hsl")?e:tg(e)}function Kr(e,t){`${t}Channel`in e||(e[`${t}Channel`]=dl(Tu(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().
100
+ 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 t_(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}var Tr=e=>{try{return e()}catch{}},o_=(e="mui")=>Mf(e);function gg(e,t,o,r,n){if(!o)return;o=o===!0?{}:o;let a=n==="dark"?"dark":"light";if(!r){t[n]=yg({...o,palette:{mode:a,...o?.palette},colorSpace:e});return}let{palette:i,...l}=bu({...r,palette:{mode:a,...o?.palette},colorSpace:e});return t[n]={...o,palette:i,opacity:{...dg(a),...o?.opacity},overlays:o?.overlays||mg(a)},l}function bg(e={},...t){let{colorSchemes:o={light:!0},defaultColorScheme:r,disableCssColorScheme:n=!1,cssVarPrefix:a="mui",nativeColor:i=!1,shouldSkipGeneratingVar:l=hg,colorSchemeSelector:s=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=o_(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(bt(21,d));let b;i&&(b="oklch");let P=gg(b,y,g,p,d);v&&!y.light&&gg(b,y,v,void 0,"light"),x&&!y.dark&&gg(b,y,x,void 0,"dark");let S={defaultColorScheme:d,...P,cssVarPrefix:a,colorSchemeSelector:s,rootSelector:u,getCssVar:c,colorSchemes:y,font:{..._f(P.typography),...P.font},spacing:t_(p.spacing)};Object.keys(S.colorSchemes).forEach(A=>{let h=S.colorSchemes[A].palette,w=M=>{let B=M.split("-"),k=B[1],I=B[2];return c(M,h[k][I])};h.mode==="light"&&(D(h.common,"background","#fff"),D(h.common,"onBackground","#000")),h.mode==="dark"&&(D(h.common,"background","#000"),D(h.common,"onBackground","#fff"));function R(M,B,k){if(b){let I;return M===Un&&(I=`transparent ${((1-k)*100).toFixed(0)}%`),M===Te&&(I=`#000 ${(k*100).toFixed(0)}%`),M===ve&&(I=`#fff ${(k*100).toFixed(0)}%`),`color-mix(in ${b}, ${B}, ${I})`}return M(B,k)}if(e_(h,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),h.mode==="light"){D(h.Alert,"errorColor",R(Te,i?c("palette-error-light"):h.error.light,.6)),D(h.Alert,"infoColor",R(Te,i?c("palette-info-light"):h.info.light,.6)),D(h.Alert,"successColor",R(Te,i?c("palette-success-light"):h.success.light,.6)),D(h.Alert,"warningColor",R(Te,i?c("palette-warning-light"):h.warning.light,.6)),D(h.Alert,"errorFilledBg",w("palette-error-main")),D(h.Alert,"infoFilledBg",w("palette-info-main")),D(h.Alert,"successFilledBg",w("palette-success-main")),D(h.Alert,"warningFilledBg",w("palette-warning-main")),D(h.Alert,"errorFilledColor",Tr(()=>h.getContrastText(h.error.main))),D(h.Alert,"infoFilledColor",Tr(()=>h.getContrastText(h.info.main))),D(h.Alert,"successFilledColor",Tr(()=>h.getContrastText(h.success.main))),D(h.Alert,"warningFilledColor",Tr(()=>h.getContrastText(h.warning.main))),D(h.Alert,"errorStandardBg",R(ve,i?c("palette-error-light"):h.error.light,.9)),D(h.Alert,"infoStandardBg",R(ve,i?c("palette-info-light"):h.info.light,.9)),D(h.Alert,"successStandardBg",R(ve,i?c("palette-success-light"):h.success.light,.9)),D(h.Alert,"warningStandardBg",R(ve,i?c("palette-warning-light"):h.warning.light,.9)),D(h.Alert,"errorIconColor",w("palette-error-main")),D(h.Alert,"infoIconColor",w("palette-info-main")),D(h.Alert,"successIconColor",w("palette-success-main")),D(h.Alert,"warningIconColor",w("palette-warning-main")),D(h.AppBar,"defaultBg",w("palette-grey-100")),D(h.Avatar,"defaultBg",w("palette-grey-400")),D(h.Button,"inheritContainedBg",w("palette-grey-300")),D(h.Button,"inheritContainedHoverBg",w("palette-grey-A100")),D(h.Chip,"defaultBorder",w("palette-grey-400")),D(h.Chip,"defaultAvatarColor",w("palette-grey-700")),D(h.Chip,"defaultIconColor",w("palette-grey-700")),D(h.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),D(h.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),D(h.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),D(h.LinearProgress,"primaryBg",R(ve,i?c("palette-primary-main"):h.primary.main,.62)),D(h.LinearProgress,"secondaryBg",R(ve,i?c("palette-secondary-main"):h.secondary.main,.62)),D(h.LinearProgress,"errorBg",R(ve,i?c("palette-error-main"):h.error.main,.62)),D(h.LinearProgress,"infoBg",R(ve,i?c("palette-info-main"):h.info.main,.62)),D(h.LinearProgress,"successBg",R(ve,i?c("palette-success-main"):h.success.main,.62)),D(h.LinearProgress,"warningBg",R(ve,i?c("palette-warning-light"):h.warning.main,.62)),D(h.Skeleton,"bg",b?R(Un,i?c("palette-text-primary"):h.text.primary,.11):`rgba(${w("palette-text-primaryChannel")} / 0.11)`),D(h.Slider,"primaryTrack",R(ve,i?c("palette-primary-main"):h.primary.main,.62)),D(h.Slider,"secondaryTrack",R(ve,i?c("palette-secondary-main"):h.secondary.main,.62)),D(h.Slider,"errorTrack",R(ve,i?c("palette-error-main"):h.error.main,.62)),D(h.Slider,"infoTrack",R(ve,i?c("palette-info-main"):h.info.main,.62)),D(h.Slider,"successTrack",R(ve,i?c("palette-success-main"):h.success.main,.62)),D(h.Slider,"warningTrack",R(ve,i?c("palette-warning-main"):h.warning.main,.62));let M=b?R(Te,i?c("palette-background-default"):h.background.default,.6825):fu(h.background.default,.8);D(h.SnackbarContent,"bg",M),D(h.SnackbarContent,"color",Tr(()=>b?wf.text.primary:h.getContrastText(M))),D(h.SpeedDialAction,"fabHoverBg",fu(h.background.paper,.15)),D(h.StepConnector,"border",w("palette-grey-400")),D(h.StepContent,"border",w("palette-grey-400")),D(h.Switch,"defaultColor",w("palette-common-white")),D(h.Switch,"defaultDisabledColor",w("palette-grey-100")),D(h.Switch,"primaryDisabledColor",R(ve,i?c("palette-primary-main"):h.primary.main,.62)),D(h.Switch,"secondaryDisabledColor",R(ve,i?c("palette-secondary-main"):h.secondary.main,.62)),D(h.Switch,"errorDisabledColor",R(ve,i?c("palette-error-main"):h.error.main,.62)),D(h.Switch,"infoDisabledColor",R(ve,i?c("palette-info-main"):h.info.main,.62)),D(h.Switch,"successDisabledColor",R(ve,i?c("palette-success-main"):h.success.main,.62)),D(h.Switch,"warningDisabledColor",R(ve,i?c("palette-warning-main"):h.warning.main,.62)),D(h.TableCell,"border",R(ve,Un(i?c("palette-divider"):h.divider,1),.88)),D(h.Tooltip,"bg",R(Un,i?c("palette-grey-700"):h.grey[700],.92))}if(h.mode==="dark"){D(h.Alert,"errorColor",R(ve,i?c("palette-error-light"):h.error.light,.6)),D(h.Alert,"infoColor",R(ve,i?c("palette-info-light"):h.info.light,.6)),D(h.Alert,"successColor",R(ve,i?c("palette-success-light"):h.success.light,.6)),D(h.Alert,"warningColor",R(ve,i?c("palette-warning-light"):h.warning.light,.6)),D(h.Alert,"errorFilledBg",w("palette-error-dark")),D(h.Alert,"infoFilledBg",w("palette-info-dark")),D(h.Alert,"successFilledBg",w("palette-success-dark")),D(h.Alert,"warningFilledBg",w("palette-warning-dark")),D(h.Alert,"errorFilledColor",Tr(()=>h.getContrastText(h.error.dark))),D(h.Alert,"infoFilledColor",Tr(()=>h.getContrastText(h.info.dark))),D(h.Alert,"successFilledColor",Tr(()=>h.getContrastText(h.success.dark))),D(h.Alert,"warningFilledColor",Tr(()=>h.getContrastText(h.warning.dark))),D(h.Alert,"errorStandardBg",R(Te,i?c("palette-error-light"):h.error.light,.9)),D(h.Alert,"infoStandardBg",R(Te,i?c("palette-info-light"):h.info.light,.9)),D(h.Alert,"successStandardBg",R(Te,i?c("palette-success-light"):h.success.light,.9)),D(h.Alert,"warningStandardBg",R(Te,i?c("palette-warning-light"):h.warning.light,.9)),D(h.Alert,"errorIconColor",w("palette-error-main")),D(h.Alert,"infoIconColor",w("palette-info-main")),D(h.Alert,"successIconColor",w("palette-success-main")),D(h.Alert,"warningIconColor",w("palette-warning-main")),D(h.AppBar,"defaultBg",w("palette-grey-900")),D(h.AppBar,"darkBg",w("palette-background-paper")),D(h.AppBar,"darkColor",w("palette-text-primary")),D(h.Avatar,"defaultBg",w("palette-grey-600")),D(h.Button,"inheritContainedBg",w("palette-grey-800")),D(h.Button,"inheritContainedHoverBg",w("palette-grey-700")),D(h.Chip,"defaultBorder",w("palette-grey-700")),D(h.Chip,"defaultAvatarColor",w("palette-grey-300")),D(h.Chip,"defaultIconColor",w("palette-grey-300")),D(h.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),D(h.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),D(h.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),D(h.LinearProgress,"primaryBg",R(Te,i?c("palette-primary-main"):h.primary.main,.5)),D(h.LinearProgress,"secondaryBg",R(Te,i?c("palette-secondary-main"):h.secondary.main,.5)),D(h.LinearProgress,"errorBg",R(Te,i?c("palette-error-main"):h.error.main,.5)),D(h.LinearProgress,"infoBg",R(Te,i?c("palette-info-main"):h.info.main,.5)),D(h.LinearProgress,"successBg",R(Te,i?c("palette-success-main"):h.success.main,.5)),D(h.LinearProgress,"warningBg",R(Te,i?c("palette-warning-main"):h.warning.main,.5)),D(h.Skeleton,"bg",b?R(Un,i?c("palette-text-primary"):h.text.primary,.13):`rgba(${w("palette-text-primaryChannel")} / 0.13)`),D(h.Slider,"primaryTrack",R(Te,i?c("palette-primary-main"):h.primary.main,.5)),D(h.Slider,"secondaryTrack",R(Te,i?c("palette-secondary-main"):h.secondary.main,.5)),D(h.Slider,"errorTrack",R(Te,i?c("palette-error-main"):h.error.main,.5)),D(h.Slider,"infoTrack",R(Te,i?c("palette-info-main"):h.info.main,.5)),D(h.Slider,"successTrack",R(Te,i?c("palette-success-main"):h.success.main,.5)),D(h.Slider,"warningTrack",R(Te,i?c("palette-warning-light"):h.warning.main,.5));let M=b?R(ve,i?c("palette-background-default"):h.background.default,.985):fu(h.background.default,.98);D(h.SnackbarContent,"bg",M),D(h.SnackbarContent,"color",Tr(()=>b?cg.text.primary:h.getContrastText(M))),D(h.SpeedDialAction,"fabHoverBg",fu(h.background.paper,.15)),D(h.StepConnector,"border",w("palette-grey-600")),D(h.StepContent,"border",w("palette-grey-600")),D(h.Switch,"defaultColor",w("palette-grey-300")),D(h.Switch,"defaultDisabledColor",w("palette-grey-600")),D(h.Switch,"primaryDisabledColor",R(Te,i?c("palette-primary-main"):h.primary.main,.55)),D(h.Switch,"secondaryDisabledColor",R(Te,i?c("palette-secondary-main"):h.secondary.main,.55)),D(h.Switch,"errorDisabledColor",R(Te,i?c("palette-error-main"):h.error.main,.55)),D(h.Switch,"infoDisabledColor",R(Te,i?c("palette-info-main"):h.info.main,.55)),D(h.Switch,"successDisabledColor",R(Te,i?c("palette-success-main"):h.success.main,.55)),D(h.Switch,"warningDisabledColor",R(Te,i?c("palette-warning-light"):h.warning.main,.55)),D(h.TableCell,"border",R(Te,Un(i?c("palette-divider"):h.divider,1),.68)),D(h.Tooltip,"bg",R(Un,i?c("palette-grey-700"):h.grey[700],.92))}i||(Kr(h.background,"default"),Kr(h.background,"paper"),Kr(h.common,"background"),Kr(h.common,"onBackground"),Kr(h,"divider")),Object.keys(h).forEach(M=>{let B=h[M];M!=="tonalOffset"&&!i&&B&&typeof B=="object"&&(B.main&&D(h[M],"mainChannel",dl(Tu(B.main))),B.light&&D(h[M],"lightChannel",dl(Tu(B.light))),B.dark&&D(h[M],"darkChannel",dl(Tu(B.dark))),B.contrastText&&D(h[M],"contrastTextChannel",dl(Tu(B.contrastText))),M==="text"&&(Kr(h[M],"primary"),Kr(h[M],"secondary")),M==="action"&&(B.active&&Kr(h[M],"active"),B.selected&&Kr(h[M],"selected")))})}),S=t.reduce((A,h)=>_e(A,h),S);let E={prefix:a,disableCssColorScheme:n,shouldSkipGeneratingVar:l,getSelector:_C(S),enableContrastVars:i},{vars:O,generateThemeVars:N,generateStyleSheets:_}=sg(S,E);return S.vars=O,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([A,h])=>{S[A]=h}),S.generateThemeVars=N,S.generateStyleSheets=_,S.generateSpacing=function(){return cl(p.spacing,au(this))},S.getColorSchemeSelector=ug(s),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=l,S.unstable_sxConfig={...$r,...p?.unstable_sxConfig},S.unstable_sx=function(h){return ao({sx:h,theme:this})},S.internal_cache={},S.toRuntimeSource=Df,S}function DC(e,t,o){e.colorSchemes&&o&&(e.colorSchemes[t]={...o!==!0&&o,palette:wa({...o===!0?{}:o.palette,mode:t})})}function vr(e={},...t){let{palette:o,cssVariables:r=!1,colorSchemes:n=o?void 0:{light:!0},defaultColorScheme:a=o?.mode,...i}=e,l=a||"light",s=n?.[l],u={...n,...o?{[l]:{...typeof s!="boolean"&&s,palette:o}}:void 0};if(r===!1){if(!("colorSchemes"in e))return bu(e,...t);let p=o;"palette"in e||u[l]&&(u[l]!==!0?p=u[l].palette:l==="dark"&&(p={mode:"dark"}));let f=bu({...e,palette:p},...t);return f.defaultColorScheme=l,f.colorSchemes=u,f.palette.mode==="light"&&(f.colorSchemes.light={...u.light!==!0&&u.light,palette:f.palette},DC(f,"dark",u.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:f.palette},DC(f,"light",u.light)),f}return!o&&!("light"in u)&&l==="light"&&(u.light=!0),bg({...i,colorSchemes:u,defaultColorScheme:l,...typeof r!="boolean"&&r},...t)}var n_=C(U(),1);var r_=vr(),xl=r_;function jn(){let e=Dn(xl);return e[wt]||e}function a_(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}var zf=a_;var i_=e=>zf(e)&&e!=="classes",ot=i_;var l_=Tf({themeId:wt,defaultTheme:xl,rootShouldForwardProp:ot}),L=l_;var UC=C(U(),1);var pL=C(U(),1);var zC=C(j(),1);function Tg({theme:e,...t}){let o=wt in e?e[wt]:void 0;return(0,zC.jsx)(bl,{...t,themeId:o?wt:void 0,theme:o||e})}var s_=C(j(),1),vu={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"};var u_=C(j(),1),{CssVarsProvider:c_,useColorScheme:SL,getInitColorSchemeScript:CL}=Af({themeId:wt,theme:()=>vr({cssVariables:!0}),colorSchemeStorageKey:vu.colorSchemeStorageKey,modeStorageKey:vu.modeStorageKey,defaultColorScheme:{light:vu.defaultLightColorScheme,dark:vu.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:gu(e.palette,e.typography)};return t.unstable_sx=function(r){return ao({sx:r,theme:this})},t}});var BC=c_;var vg=C(j(),1);function Bf({theme:e,...t}){let o=UC.useMemo(()=>{if(typeof e=="function")return e;let r=wt in e?e[wt]:e;return"colorSchemes"in r?null:"vars"in r?e:{...e,vars:null}},[e]);return o?(0,vg.jsx)(Tg,{theme:o,...t}):(0,vg.jsx)(BC,{theme:e,...t})}var X=sl;function xu(...e){return e.reduce((t,o)=>o==null?t:function(...n){t.apply(this,n),o.apply(this,n)},()=>{})}var kf=C(U(),1);var Uf=C(U(),1);var jC=C(j(),1);function p_(e){return(0,jC.jsx)(pl,{...e,defaultTheme:xl,themeId:wt})}var xg=p_;var kC=C(j(),1);function LC(e){return function(o){return(0,kC.jsx)(xg,{styles:typeof e=="function"?r=>e({theme:r,...o}):e})}}var f_=Of,oe=f_;var ZL=C(U(),1);var d_=C(j(),1);function Y(e){return rg(e)}function HC(e){return G("MuiSvgIcon",e)}var a9=q("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var jf=C(j(),1),m_=e=>{let{color:t,fontSize:o,classes:r}=e,n={root:["root",t!=="inherit"&&`color${X(t)}`,`fontSize${X(o)}`]};return F(n,HC,r)},y_=L("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.color!=="inherit"&&t[`color${X(o.color)}`],t[`fontSize${X(o.fontSize)}`]]}})(oe(({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}}]}))),IC=Uf.forwardRef(function(t,o){let r=Y({props:t,name:"MuiSvgIcon"}),{children:n,className:a,color:i="inherit",component:l="svg",fontSize:s="medium",htmlColor:u,inheritViewBox:p=!1,titleAccess:f,viewBox:d="0 0 24 24",...c}=r,T=Uf.isValidElement(n)&&n.type==="svg",v={...r,color:i,component:l,fontSize:s,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:d,hasSvgAsChild:T},x={};p||(x.viewBox=d);let m=m_(v);return(0,jf.jsxs)(y_,{as:l,className:H(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,jf.jsx)("title",{children:f}):null]})});IC.muiName="SvgIcon";var Sg=IC;var VC=C(j(),1);function io(e,t){function o(r,n){return(0,VC.jsx)(Sg,{"data-testid":void 0,ref:n,...r,children:e})}return o.muiName=Sg.muiName,kf.memo(kf.forwardRef(o))}function Sl(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 qC=Sl;var Lf=Nf;function _a(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}var kn=_a;function Tt(e){return e&&e.ownerDocument||document}var Ln=Tt;function Fo(e){return Tt(e).defaultView||window}var Su=Fo;function Da(e,t){typeof e=="function"?e(t):e&&(e.current=t)}var Hf=Kt;var Cu=or;var za=C(U(),1);function If(e){let{controlled:t,default:o,name:r,state:n="value"}=e,{current:a}=za.useRef(t!==void 0),[i,l]=za.useState(o),s=a?t:i,u=za.useCallback(p=>{a||l(p)},[]);return[s,u]}var Cg=If;var Eg=C(U(),1);function h_(e){let t=Eg.useRef(e);return Kt(()=>{t.current=e}),Eg.useRef((...o)=>(0,t.current)(...o)).current}var $o=h_;var Hn=$o;var Cl=C(U(),1);function jt(...e){let t=Cl.useRef(void 0),o=Cl.useCallback(r=>{let n=e.map(a=>{if(a==null)return null;if(typeof a=="function"){let i=a,l=i(r);return typeof l=="function"?l:()=>{i(null)}}return a.current=r,()=>{a.current=null}});return()=>{n.forEach(a=>a?.())}},e);return Cl.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=o(r))},e)}var Xt=jt;function g_(e,t){let o=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&o>=65&&o<=90&&typeof t=="function"}function Pg(e,t){if(!e)return t;function o(i,l){let s={};return Object.keys(l).forEach(u=>{g_(u,l[u])&&typeof i[u]=="function"&&(s[u]=(...p)=>{i[u](...p),l[u](...p)})}),s}if(typeof e=="function"||typeof t=="function")return i=>{let l=typeof t=="function"?t(i):t,s=typeof e=="function"?e({...i,...l}):e,u=H(i?.className,l?.className,s?.className),p=o(s,l);return{...l,...s,...p,...!!u&&{className:u},...l?.style&&s?.style&&{style:{...l.style,...s.style}},...l?.sx&&s?.sx&&{sx:[...Array.isArray(l.sx)?l.sx:[l.sx],...Array.isArray(s.sx)?s.sx:[s.sx]]}}};let r=t,n=o(e,r),a=H(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 Vf(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 qf(e,t){return qf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,r){return o.__proto__=r,o},qf(e,t)}function Gf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,qf(e,t)}var Eu=C(U()),Pu=C(Ac());var Rg={disabled:!1};var GC=C(U()),El=GC.default.createContext(null);var FC=function(t){return t.scrollTop};var Ru="unmounted",Ba="exited",Ua="entering",Rl="entered",Og="exiting",Xr=(function(e){Gf(t,e);function t(r,n){var a;a=e.call(this,r,n)||this;var i=n,l=i&&!i.isMounting?r.enter:r.appear,s;return a.appearStatus=null,r.in?l?(s=Ba,a.appearStatus=Ua):s=Rl:r.unmountOnExit||r.mountOnEnter?s=Ru:s=Ba,a.state={status:s},a.nextCallback=null,a}t.getDerivedStateFromProps=function(n,a){var i=n.in;return i&&a.status===Ru?{status:Ba}: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!==Ua&&i!==Rl&&(a=Ua):(i===Ua||i===Rl)&&(a=Og)}this.updateStatus(!1,a)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var n=this.props.timeout,a,i,l;return a=i=l=n,n!=null&&typeof n!="number"&&(a=n.exit,i=n.enter,l=n.appear!==void 0?n.appear:i),{exit:a,enter:i,appear:l}},o.updateStatus=function(n,a){if(n===void 0&&(n=!1),a!==null)if(this.cancelNextCallback(),a===Ua){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Pu.default.findDOMNode(this);i&&FC(i)}this.performEnter(n)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ba&&this.setState({status:Ru})},o.performEnter=function(n){var a=this,i=this.props.enter,l=this.context?this.context.isMounting:n,s=this.props.nodeRef?[l]:[Pu.default.findDOMNode(this),l],u=s[0],p=s[1],f=this.getTimeouts(),d=l?f.appear:f.enter;if(!n&&!i||Rg.disabled){this.safeSetState({status:Rl},function(){a.props.onEntered(u)});return}this.props.onEnter(u,p),this.safeSetState({status:Ua},function(){a.props.onEntering(u,p),a.onTransitionEnd(d,function(){a.safeSetState({status:Rl},function(){a.props.onEntered(u,p)})})})},o.performExit=function(){var n=this,a=this.props.exit,i=this.getTimeouts(),l=this.props.nodeRef?void 0:Pu.default.findDOMNode(this);if(!a||Rg.disabled){this.safeSetState({status:Ba},function(){n.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:Og},function(){n.props.onExiting(l),n.onTransitionEnd(i.exit,function(){n.safeSetState({status:Ba},function(){n.props.onExited(l)})})})},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(l){i&&(i=!1,a.nextCallback=null,n(l))},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:Pu.default.findDOMNode(this),l=n==null&&!this.props.addEndListener;if(!i||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],u=s[0],p=s[1];this.props.addEndListener(u,p)}n!=null&&setTimeout(this.nextCallback,n)},o.render=function(){var n=this.state.status;if(n===Ru)return null;var a=this.props,i=a.children,l=a.in,s=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,S=Vf(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Eu.default.createElement(El.Provider,{value:null},typeof i=="function"?i(n,S):Eu.default.cloneElement(Eu.default.Children.only(i),S))},t})(Eu.default.Component);Xr.contextType=El;Xr.propTypes={};function Pl(){}Xr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Pl,onEntering:Pl,onEntered:Pl,onExit:Pl,onExiting:Pl,onExited:Pl};Xr.UNMOUNTED=Ru;Xr.EXITED=Ba;Xr.ENTERING=Ua;Xr.ENTERED=Rl;Xr.EXITING=Og;var Ou=Xr;function $C(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Au=C(U());var Yo=C(U());function Ff(e,t){var o=function(a){return t&&(0,Yo.isValidElement)(a)?t(a):a},r=Object.create(null);return e&&Yo.Children.map(e,function(n){return n}).forEach(function(n){r[n.key]=o(n)}),r}function b_(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,l={};for(var s in t){if(r[s])for(i=0;i<r[s].length;i++){var u=r[s][i];l[r[s][i]]=o(u)}l[s]=o(s)}for(i=0;i<n.length;i++)l[n[i]]=o(n[i]);return l}function ja(e,t,o){return o[t]!=null?o[t]:e.props[t]}function YC(e,t){return Ff(e.children,function(o){return(0,Yo.cloneElement)(o,{onExited:t.bind(null,o),in:!0,appear:ja(o,"appear",e),enter:ja(o,"enter",e),exit:ja(o,"exit",e)})})}function KC(e,t,o){var r=Ff(e.children),n=b_(t,r);return Object.keys(n).forEach(function(a){var i=n[a];if((0,Yo.isValidElement)(i)){var l=a in t,s=a in r,u=t[a],p=(0,Yo.isValidElement)(u)&&!u.props.in;s&&(!l||p)?n[a]=(0,Yo.cloneElement)(i,{onExited:o.bind(null,i),in:!0,exit:ja(i,"exit",e),enter:ja(i,"enter",e)}):!s&&l&&!p?n[a]=(0,Yo.cloneElement)(i,{in:!1}):s&&l&&(0,Yo.isValidElement)(u)&&(n[a]=(0,Yo.cloneElement)(i,{onExited:o.bind(null,i),in:u.props.in,exit:ja(i,"exit",e),enter:ja(i,"enter",e)}))}}),n}var T_=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},v_={component:"div",childFactory:function(t){return t}},Ag=(function(e){Gf(t,e);function t(r,n){var a;a=e.call(this,r,n)||this;var i=a.handleExited.bind($C(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,l=a.handleExited,s=a.firstRender;return{children:s?YC(n,l):KC(n,i,l),firstRender:!1}},o.handleExited=function(n,a){var i=Ff(this.props.children);n.key in i||(n.props.onExited&&n.props.onExited(a),this.mounted&&this.setState(function(l){var s=Zn({},l.children);return delete s[n.key],{children:s}}))},o.render=function(){var n=this.props,a=n.component,i=n.childFactory,l=Vf(n,["component","childFactory"]),s=this.state.contextValue,u=T_(this.state.children).map(i);return delete l.appear,delete l.enter,delete l.exit,a===null?Au.default.createElement(El.Provider,{value:s},u):Au.default.createElement(El.Provider,{value:s},Au.default.createElement(a,l,u))},t})(Au.default.Component);Ag.propTypes={};Ag.defaultProps=v_;var Mg=Ag;var QC=C(U(),1),XC={};function Ol(e,t){let o=QC.useRef(XC);return o.current===XC&&(o.current=e(t)),o}var ZC=C(U(),1),x_=[];function Ng(e){ZC.useEffect(e,x_)}var wg=class e{constructor(){Za(this,"currentId",null);Za(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Za(this,"disposeEffect",()=>this.clear)}static create(){return new e}start(t,o){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,o()},t)}};function Al(){let e=Ol(wg.create).current;return Ng(e.disposeEffect),e}var $f=e=>e.scrollTop;function lo(e,t){return o=>{if(t){let r=e.current;o===void 0?t(r):t(r,o)}}}function Yf(e,t,o,r,n,a){let i=e==="exited"&&!t?r:o[e]||o.exited;return n||a?{...i,...n,...a}:i}function Ml(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 S_(e){return typeof e=="string"}var In=S_;function C_(e,t,o){return e===void 0||In(e)?t:{...t,ownerState:{...t.ownerState,...o}}}var Mu=C_;function E_(e,t,o){return typeof e=="function"?e(t,o):e}var Nu=E_;function P_(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 wu=P_;function R_(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 Kf=R_;function O_(e){let{getSlotProps:t,additionalProps:o,externalSlotProps:r,externalForwardedProps:n,className:a}=e;if(!t){let c=H(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=wu({...n,...r}),l=Kf(r),s=Kf(n),u=t(i),p=H(u?.className,o?.className,a,n?.className,r?.className),f={...u?.style,...o?.style,...n?.style,...r?.style},d={...u,...o,...s,...l};return p.length>0&&(d.className=p),Object.keys(f).length>0&&(d.style=f),{props:d,internalRef:u.ref}}var _u=O_;function Ke(e,t){let{className:o,elementType:r,ownerState:n,externalForwardedProps:a,internalForwardedProps:i,shouldForwardComponentProp:l=!1,...s}=t,{component:u,slots:p={[e]:void 0},slotProps:f={[e]:void 0},...d}=a,c=p[e]||r,T=Nu(f[e],n),{props:{component:v,...x},internalRef:m}=_u({className:o,...s,externalForwardedProps:e==="root"?d:void 0,externalSlotProps:T}),y=jt(m,T?.ref,t.ref),g=e==="root"?v||u:v,b=Mu(c,{...e==="root"&&!u&&!p[e]&&i,...e!=="root"&&!p[e]&&i,...x,...g&&!l&&{as:g},...g&&l&&{component:g},ref:y},n);return[c,b]}var JC=C(U(),1);function WC(e){return G("MuiPaper",e)}var O7=q("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 eE=C(j(),1),A_=e=>{let{square:t,elevation:o,variant:r,classes:n}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${o}`]};return F(a,WC,n)},M_=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}`]]}})(oe(({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)"}}]}))),N_=JC.forwardRef(function(t,o){let r=Y({props:t,name:"MuiPaper"}),n=jn(),{className:a,component:i="div",elevation:l=1,square:s=!1,variant:u="elevation",...p}=r,f={...r,component:i,elevation:l,square:s,variant:u},d=A_(f);return(0,eE.jsx)(M_,{as:i,ownerState:f,className:H(d.root,a),ref:o,...p,style:{...u==="elevation"&&{"--Paper-shadow":(n.vars||n).shadows[l],...n.vars&&{"--Paper-overlay":n.vars.overlays?.[l]},...!n.vars&&n.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${ml("#fff",vl(l))}, ${ml("#fff",vl(l))})`}},...p.style}})}),Nl=N_;var qn=C(U(),1);function Du(e){try{return e.matches(":focus-visible")}catch{}return!1}var Vn=C(U(),1);var tE=C(U(),1);function _g(e){let{focusableWhenDisabled:t,disabled:o,composite:r=!1,tabIndex:n=0,isNativeButton:a}=e,i=r&&t!==!1,l=r&&t===!1;return tE.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||l)&&(u.disabled=o),u},[r,o,t,i,l,a,n])}var w_={};function Dg(e){let{nativeButton:t,nativeButtonProp:o,internalNativeButton:r=t,allowInferredHostMismatch:n=!1,disabled:a,type:i,hasFormAction:l=!1,tabIndex:s=0,focusableWhenDisabled:u,stopEventPropagation:p=!1,onBeforeKeyDown:f,onBeforeKeyUp:d}=e,c=Vn.useRef(null),T=u===!0,v=_g({focusableWhenDisabled:T,disabled:a,isNativeButton:t,tabIndex:s}),x=Vn.useCallback(()=>{let g=c.current;return g==null?t:g.tagName==="BUTTON"?!0:!!(g.tagName==="A"&&g.href)},[t]),m=Vn.useMemo(()=>{let g=T?{}:{tabIndex:a?-1:s};return t?(g.type=i===void 0&&!l?"button":i,T||(g.disabled=a)):(g.role="button",!T&&a&&(g["aria-disabled"]=a)),T?{...g,...v}:g},[a,T,v,l,t,s,i]);return{getButtonProps:Vn.useCallback((g=w_)=>{let{onClick:b,onKeyDown:P,onKeyUp:S,...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),S?.(A),A.target===A.currentTarget&&!x()&&A.key===" "&&!A.defaultPrevented&&A.currentTarget.click())}}},[m,a,T,v,x,f,d,p]),rootRef:c}}var Xf=C(U(),1);var zg=class e{constructor(){Za(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=Ol(e.create).current,[o,r]=Xf.useState(!1);return t.shouldMount=o,t.setShouldMount=r,Xf.useEffect(t.mountEffect,[o]),t}mount(){return this.mounted||(this.mounted=__(),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 Qf(){return zg.use()}function __(){let e,t,o=new Promise((r,n)=>{e=r,t=n});return o.resolve=e,o.reject=t,o}var dt=C(U(),1);var Zf=C(U(),1);var Bg=C(j(),1);function D_(e){let{className:t,classes:o,pulsate:r=!1,rippleX:n,rippleY:a,rippleSize:i,in:l,onExited:s,timeout:u}=e,[p,f]=Zf.useState(!1),d=H(t,o.ripple,o.rippleVisible,r&&o.ripplePulsate),c={width:i,height:i,top:-(i/2)+a,left:-(i/2)+n},T=H(o.child,p&&o.childLeaving,r&&o.childPulsate);return!l&&!p&&f(!0),Zf.useEffect(()=>{if(!l&&s!=null){let v=setTimeout(s,u);return()=>{clearTimeout(v)}}},[s,l,u]),(0,Bg.jsx)("span",{className:d,style:c,children:(0,Bg.jsx)("span",{className:T})})}var oE=D_;var z_=q("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Eo=z_;var Wf=C(j(),1),Ug=550,B_=80,U_=ur`
45
101
  0% {
46
102
  transform: scale(0);
47
103
  opacity: 0.1;
@@ -51,7 +107,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
51
107
  transform: scale(1);
52
108
  opacity: 0.3;
53
109
  }
54
- `,z_=ur`
110
+ `,j_=ur`
55
111
  0% {
56
112
  opacity: 1;
57
113
  }
@@ -59,7 +115,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
59
115
  100% {
60
116
  opacity: 0;
61
117
  }
62
- `,B_=ur`
118
+ `,k_=ur`
63
119
  0% {
64
120
  transform: scale(1);
65
121
  }
@@ -71,15 +127,15 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
71
127
  100% {
72
128
  transform: scale(1);
73
129
  }
74
- `,U_=L("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),j_=L(eE,{name:"MuiTouchRipple",slot:"Ripple"})`
130
+ `,L_=L("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),H_=L(oE,{name:"MuiTouchRipple",slot:"Ripple"})`
75
131
  opacity: 0;
76
132
  position: absolute;
77
133
 
78
134
  &.${Eo.rippleVisible} {
79
135
  opacity: 0.3;
80
136
  transform: scale(1);
81
- animation-name: ${D_};
82
- animation-duration: ${Bg}ms;
137
+ animation-name: ${U_};
138
+ animation-duration: ${Ug}ms;
83
139
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
84
140
  }
85
141
 
@@ -98,8 +154,8 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
98
154
 
99
155
  & .${Eo.childLeaving} {
100
156
  opacity: 0;
101
- animation-name: ${z_};
102
- animation-duration: ${Bg}ms;
157
+ animation-name: ${j_};
158
+ animation-duration: ${Ug}ms;
103
159
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
104
160
  }
105
161
 
@@ -108,13 +164,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
108
164
  /* @noflip */
109
165
  left: 0px;
110
166
  top: 0;
111
- animation-name: ${B_};
167
+ animation-name: ${k_};
112
168
  animation-duration: 2500ms;
113
169
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
114
170
  animation-iteration-count: infinite;
115
171
  animation-delay: 200ms;
116
172
  }
117
- `,k_=dt.forwardRef(function(t,o){let r=Y({props:t,name:"MuiTouchRipple"}),{center:n=!1,classes:a={},className:i,...l}=r,[s,u]=dt.useState([]),p=dt.useRef(0),f=dt.useRef(null);dt.useEffect(()=>{f.current&&(f.current(),f.current=null)},[s]);let d=dt.useRef(!1),c=Al(),T=dt.useRef(null),v=dt.useRef(null),x=dt.useCallback(b=>{let{pulsate:P,rippleX:S,rippleY:E,rippleSize:O,cb:N}=b;u(_=>[..._,(0,Zf.jsx)(j_,{classes:{ripple:H(a.ripple,Eo.ripple),rippleVisible:H(a.rippleVisible,Eo.rippleVisible),ripplePulsate:H(a.ripplePulsate,Eo.ripplePulsate),child:H(a.child,Eo.child),childLeaving:H(a.childLeaving,Eo.childLeaving),childPulsate:H(a.childPulsate,Eo.childPulsate)},timeout:Bg,pulsate:P,rippleX:S,rippleY:E,rippleSize:O},p.current)]),p.current+=1,f.current=N},[a]),m=dt.useCallback((b={},P={},S=()=>{})=>{let{pulsate:E=!1,center:O=n||P.pulsate,fakeElement:N=!1}=P;if(b?.type==="mousedown"&&d.current){d.current=!1;return}b?.type==="touchstart"&&(d.current=!0);let _=N?null:v.current,A=_?_.getBoundingClientRect():{width:0,height:0,left:0,top:0},h,w,R;if(O||b===void 0||b.clientX===0&&b.clientY===0||!b.clientX&&!b.touches)h=Math.round(A.width/2),w=Math.round(A.height/2);else{let{clientX:M,clientY:B}=b.touches&&b.touches.length>0?b.touches[0]:b;h=Math.round(M-A.left),w=Math.round(B-A.top)}if(O)R=Math.sqrt((2*A.width**2+A.height**2)/3),R%2===0&&(R+=1);else{let M=Math.max(Math.abs((_?_.clientWidth:0)-h),h)*2+2,B=Math.max(Math.abs((_?_.clientHeight:0)-w),w)*2+2;R=Math.sqrt(M**2+B**2)}b?.touches?T.current===null&&(T.current=()=>{x({pulsate:E,rippleX:h,rippleY:w,rippleSize:R,cb:S})},c.start(__,()=>{T.current&&(T.current(),T.current=null)})):x({pulsate:E,rippleX:h,rippleY:w,rippleSize:R,cb:S})},[n,x,c]),y=dt.useCallback(()=>{m({},{pulsate:!0})},[m]),g=dt.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(S=>S.length>0?S.slice(1):S),f.current=P},[c]);return dt.useImperativeHandle(o,()=>({pulsate:y,start:m,stop:g}),[y,m,g]),(0,Zf.jsx)(U_,{className:H(Eo.root,a.root,i),ref:v,...l,children:(0,Zf.jsx)(Ag,{component:null,exit:!0,children:s})})}),tE=k_;function oE(e){return G("MuiButtonBase",e)}var L_=q("MuiButtonBase",["root","disabled","focusVisible"]),rE=L_;var Wf=C(j(),1),H_=e=>{let{disabled:t,focusVisible:o,focusVisibleClassName:r,suppressFocusVisible:n,classes:a}=e,l=F({root:["root",t&&"disabled",o&&!n&&"focusVisible"]},oE,a);return o&&!n&&r&&(l.root+=` ${r}`),l},V_=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"},[`&.${rE.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),I_=qn.forwardRef(function(t,o){let r=Y({props:t,name:"MuiButtonBase"}),{action:n,centerRipple:a=!1,children:i,className:l,component:s="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:S,onFocus:E,onFocusVisible:O,onKeyDown:N,onKeyUp:_,onMouseDown:A,onMouseLeave:h,onMouseUp:w,onTouchEnd:R,onTouchMove:M,onTouchStart:B,tabIndex:k=0,TouchRippleProps:V,touchRippleRef:ye,type:se,...K}=r,ce=!!(K.href||K.to),We=!!K.formAction,De=s;De==="button"&&ce&&(De=m);let He=typeof De=="string"?De==="button":x??!1,ze=y??He,Q=Xf(),J=Xt(Q.ref,ye),[ee,he]=qn.useState(!1);(u||v)&&ee&&he(!1);let St=Hn(Fe=>{d&&!Fe.repeat&&ee&&Fe.key===" "&&Q.stop(Fe,()=>{Q.start(Fe)})}),ie=Hn(Fe=>{d&&Fe.key===" "&&ee&&!Fe.defaultPrevented&&Q.stop(Fe,()=>{Q.pulsate(Fe)})}),{getButtonProps:Ee,rootRef:st}=_g({nativeButton:ze,nativeButtonProp:y,internalNativeButton:He,allowInferredHostMismatch:ce||typeof De=="string",disabled:u,type:se,hasFormAction:We,tabIndex:k,onBeforeKeyDown:St,onBeforeKeyUp:ie}),{onClick:Ht,onKeyDown:Ge,onKeyUp:ut,...Ct}=Ee({onClick:b,onKeyDown:N,onKeyUp:_});qn.useImperativeHandle(n,()=>({focusVisible:()=>{he(!0),st.current.focus()}}),[st]);let fe=Q.shouldMount&&!p&&!u;qn.useEffect(()=>{ee&&d&&!p&&Q.pulsate()},[p,d,ee,Q]);let uo=Qr(Q,"start",A,f),Mo=Qr(Q,"stop",P,f),ct=Qr(Q,"stop",S,f),Kn=Qr(Q,"stop",w,f),lr=Qr(Q,"stop",Fe=>{ee&&Fe.preventDefault(),h&&h(Fe)},f),Cr=Qr(Q,"start",B,f),Be=Qr(Q,"stop",R,f),ge=Qr(Q,"stop",M,f),Xe=Qr(Q,"stop",Fe=>{Du(Fe.target)||he(!1),g&&g(Fe)},!1),te=Hn(Fe=>{st.current||(st.current=Fe.currentTarget),!v&&Du(Fe.target)&&(he(!0),O&&O(Fe)),E&&E(Fe)}),co={};ce&&(co.tabIndex=u?-1:k,u&&(co["aria-disabled"]=u),co.type=se);let en=Xt(o,st),ql={...r,centerRipple:a,component:s,disabled:u,disableRipple:p,disableTouchRipple:f,focusRipple:d,suppressFocusVisible:v,tabIndex:k,focusVisible:ee},Gl=H_(ql);return(0,Wf.jsxs)(V_,{as:De,className:H(Gl.root,l),ownerState:ql,onBlur:Xe,onClick:Ht,onContextMenu:Mo,onFocus:te,onKeyDown:Ge,onKeyUp:ut,onMouseDown:uo,onMouseLeave:lr,onMouseUp:Kn,onDragLeave:ct,onTouchEnd:Be,onTouchMove:ge,onTouchStart:Cr,ref:en,...ce?co:Ct,...K,children:[i,fe?(0,Wf.jsx)(tE,{ref:J,center:a,...V}):null]})});function Qr(e,t,o,r=!1){return Hn(n=>(o&&o(n),r||e[t](n),!0))}var zu=I_;function q_(e){return typeof e.main=="string"}function G_(e,t=[]){if(!q_(e))return!1;for(let o of t)if(!e.hasOwnProperty(o)||typeof e[o]!="string")return!1;return!0}function vt(e=[]){return([,t])=>t&&G_(t,e)}var Jf=C(U(),1);var aE=C(U(),1);function nE(e){return G("MuiCircularProgress",e)}var MV=q("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDisableShrink"]);var wl=C(j(),1),rr=44,Ug=ur`
173
+ `,I_=dt.forwardRef(function(t,o){let r=Y({props:t,name:"MuiTouchRipple"}),{center:n=!1,classes:a={},className:i,...l}=r,[s,u]=dt.useState([]),p=dt.useRef(0),f=dt.useRef(null);dt.useEffect(()=>{f.current&&(f.current(),f.current=null)},[s]);let d=dt.useRef(!1),c=Al(),T=dt.useRef(null),v=dt.useRef(null),x=dt.useCallback(b=>{let{pulsate:P,rippleX:S,rippleY:E,rippleSize:O,cb:N}=b;u(_=>[..._,(0,Wf.jsx)(H_,{classes:{ripple:H(a.ripple,Eo.ripple),rippleVisible:H(a.rippleVisible,Eo.rippleVisible),ripplePulsate:H(a.ripplePulsate,Eo.ripplePulsate),child:H(a.child,Eo.child),childLeaving:H(a.childLeaving,Eo.childLeaving),childPulsate:H(a.childPulsate,Eo.childPulsate)},timeout:Ug,pulsate:P,rippleX:S,rippleY:E,rippleSize:O},p.current)]),p.current+=1,f.current=N},[a]),m=dt.useCallback((b={},P={},S=()=>{})=>{let{pulsate:E=!1,center:O=n||P.pulsate,fakeElement:N=!1}=P;if(b?.type==="mousedown"&&d.current){d.current=!1;return}b?.type==="touchstart"&&(d.current=!0);let _=N?null:v.current,A=_?_.getBoundingClientRect():{width:0,height:0,left:0,top:0},h,w,R;if(O||b===void 0||b.clientX===0&&b.clientY===0||!b.clientX&&!b.touches)h=Math.round(A.width/2),w=Math.round(A.height/2);else{let{clientX:M,clientY:B}=b.touches&&b.touches.length>0?b.touches[0]:b;h=Math.round(M-A.left),w=Math.round(B-A.top)}if(O)R=Math.sqrt((2*A.width**2+A.height**2)/3),R%2===0&&(R+=1);else{let M=Math.max(Math.abs((_?_.clientWidth:0)-h),h)*2+2,B=Math.max(Math.abs((_?_.clientHeight:0)-w),w)*2+2;R=Math.sqrt(M**2+B**2)}b?.touches?T.current===null&&(T.current=()=>{x({pulsate:E,rippleX:h,rippleY:w,rippleSize:R,cb:S})},c.start(B_,()=>{T.current&&(T.current(),T.current=null)})):x({pulsate:E,rippleX:h,rippleY:w,rippleSize:R,cb:S})},[n,x,c]),y=dt.useCallback(()=>{m({},{pulsate:!0})},[m]),g=dt.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(S=>S.length>0?S.slice(1):S),f.current=P},[c]);return dt.useImperativeHandle(o,()=>({pulsate:y,start:m,stop:g}),[y,m,g]),(0,Wf.jsx)(L_,{className:H(Eo.root,a.root,i),ref:v,...l,children:(0,Wf.jsx)(Mg,{component:null,exit:!0,children:s})})}),rE=I_;function nE(e){return G("MuiButtonBase",e)}var V_=q("MuiButtonBase",["root","disabled","focusVisible"]),aE=V_;var Jf=C(j(),1),q_=e=>{let{disabled:t,focusVisible:o,focusVisibleClassName:r,suppressFocusVisible:n,classes:a}=e,l=F({root:["root",t&&"disabled",o&&!n&&"focusVisible"]},nE,a);return o&&!n&&r&&(l.root+=` ${r}`),l},G_=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"},[`&.${aE.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),F_=qn.forwardRef(function(t,o){let r=Y({props:t,name:"MuiButtonBase"}),{action:n,centerRipple:a=!1,children:i,className:l,component:s="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:S,onFocus:E,onFocusVisible:O,onKeyDown:N,onKeyUp:_,onMouseDown:A,onMouseLeave:h,onMouseUp:w,onTouchEnd:R,onTouchMove:M,onTouchStart:B,tabIndex:k=0,TouchRippleProps:I,touchRippleRef:ye,type:se,...K}=r,ce=!!(K.href||K.to),We=!!K.formAction,De=s;De==="button"&&ce&&(De=m);let He=typeof De=="string"?De==="button":x??!1,ze=y??He,Q=Qf(),J=Xt(Q.ref,ye),[ee,he]=qn.useState(!1);(u||v)&&ee&&he(!1);let St=Hn(Fe=>{d&&!Fe.repeat&&ee&&Fe.key===" "&&Q.stop(Fe,()=>{Q.start(Fe)})}),ie=Hn(Fe=>{d&&Fe.key===" "&&ee&&!Fe.defaultPrevented&&Q.stop(Fe,()=>{Q.pulsate(Fe)})}),{getButtonProps:Ee,rootRef:st}=Dg({nativeButton:ze,nativeButtonProp:y,internalNativeButton:He,allowInferredHostMismatch:ce||typeof De=="string",disabled:u,type:se,hasFormAction:We,tabIndex:k,onBeforeKeyDown:St,onBeforeKeyUp:ie}),{onClick:Ht,onKeyDown:Ge,onKeyUp:ut,...Ct}=Ee({onClick:b,onKeyDown:N,onKeyUp:_});qn.useImperativeHandle(n,()=>({focusVisible:()=>{he(!0),st.current.focus()}}),[st]);let fe=Q.shouldMount&&!p&&!u;qn.useEffect(()=>{ee&&d&&!p&&Q.pulsate()},[p,d,ee,Q]);let uo=Qr(Q,"start",A,f),Mo=Qr(Q,"stop",P,f),ct=Qr(Q,"stop",S,f),Kn=Qr(Q,"stop",w,f),lr=Qr(Q,"stop",Fe=>{ee&&Fe.preventDefault(),h&&h(Fe)},f),Cr=Qr(Q,"start",B,f),Be=Qr(Q,"stop",R,f),ge=Qr(Q,"stop",M,f),Xe=Qr(Q,"stop",Fe=>{Du(Fe.target)||he(!1),g&&g(Fe)},!1),te=Hn(Fe=>{st.current||(st.current=Fe.currentTarget),!v&&Du(Fe.target)&&(he(!0),O&&O(Fe)),E&&E(Fe)}),co={};ce&&(co.tabIndex=u?-1:k,u&&(co["aria-disabled"]=u),co.type=se);let en=Xt(o,st),ql={...r,centerRipple:a,component:s,disabled:u,disableRipple:p,disableTouchRipple:f,focusRipple:d,suppressFocusVisible:v,tabIndex:k,focusVisible:ee},Gl=q_(ql);return(0,Jf.jsxs)(G_,{as:De,className:H(Gl.root,l),ownerState:ql,onBlur:Xe,onClick:Ht,onContextMenu:Mo,onFocus:te,onKeyDown:Ge,onKeyUp:ut,onMouseDown:uo,onMouseLeave:lr,onMouseUp:Kn,onDragLeave:ct,onTouchEnd:Be,onTouchMove:ge,onTouchStart:Cr,ref:en,...ce?co:Ct,...K,children:[i,fe?(0,Jf.jsx)(rE,{ref:J,center:a,...I}):null]})});function Qr(e,t,o,r=!1){return Hn(n=>(o&&o(n),r||e[t](n),!0))}var zu=F_;function $_(e){return typeof e.main=="string"}function Y_(e,t=[]){if(!$_(e))return!1;for(let o of t)if(!e.hasOwnProperty(o)||typeof e[o]!="string")return!1;return!0}function vt(e=[]){return([,t])=>t&&Y_(t,e)}var ed=C(U(),1);var lE=C(U(),1);function iE(e){return G("MuiCircularProgress",e)}var zI=q("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDisableShrink"]);var wl=C(j(),1),rr=44,jg=ur`
118
174
  0% {
119
175
  transform: rotate(0deg);
120
176
  }
@@ -122,7 +178,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
122
178
  100% {
123
179
  transform: rotate(360deg);
124
180
  }
125
- `,jg=ur`
181
+ `,kg=ur`
126
182
  0% {
127
183
  stroke-dasharray: 1px, 200px;
128
184
  stroke-dashoffset: 0;
@@ -137,29 +193,29 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
137
193
  stroke-dasharray: 1px, 200px;
138
194
  stroke-dashoffset: -126px;
139
195
  }
140
- `,F_=typeof Ug!="string"?Wn`
141
- animation: ${Ug} 1.4s linear infinite;
142
- `:null,$_=typeof jg!="string"?Wn`
143
- animation: ${jg} 1.4s ease-in-out infinite;
144
- `:null,Y_=e=>{let{classes:t,variant:o,color:r,disableShrink:n}=e,a={root:["root",o,`color${X(r)}`],svg:["svg"],track:["track"],circle:["circle",n&&"circleDisableShrink"]};return F(a,nE,t)},K_=L("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],t[`color${X(o.color)}`]]}})(oe(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:F_||{animation:`${Ug} 1.4s linear infinite`}},...Object.entries(e.palette).filter(vt()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),X_=L("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),Q_=L("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.circle,o.disableShrink&&t.circleDisableShrink]}})(oe(({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:$_||{animation:`${jg} 1.4s ease-in-out infinite`}}]}))),Z_=L("circle",{name:"MuiCircularProgress",slot:"Track"})(oe(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),W_=aE.forwardRef(function(t,o){let r=Y({props:t,name:"MuiCircularProgress"}),{className:n,color:a="primary",disableShrink:i=!1,enableTrackSlot:l=!1,size:s=40,style:u,thickness:p=3.6,value:f=0,variant:d="indeterminate",...c}=r,T={...r,color:a,disableShrink:i,size:s,thickness:p,value:f,variant:d,enableTrackSlot:l},v=Y_(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,wl.jsx)(K_,{className:H(v.root,n),style:{width:s,height:s,...m,...u},ownerState:T,ref:o,role:"progressbar",...y,...c,children:(0,wl.jsxs)(X_,{className:v.svg,ownerState:T,viewBox:`${rr/2} ${rr/2} ${rr} ${rr}`,children:[l?(0,wl.jsx)(Z_,{className:v.track,ownerState:T,cx:rr,cy:rr,r:(rr-p)/2,fill:"none",strokeWidth:p,"aria-hidden":"true"}):null,(0,wl.jsx)(Q_,{className:v.circle,style:x,ownerState:T,cx:rr,cy:rr,r:(rr-p)/2,fill:"none",strokeWidth:p})]})})}),Bu=W_;function iE(e){return G("MuiIconButton",e)}var J_=q("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),kg=J_;var _l=C(j(),1),e5=e=>{let{classes:t,disabled:o,color:r,edge:n,size:a,loading:i}=e,l={root:["root",i&&"loading",o&&"disabled",r!=="default"&&`color${X(r)}`,n&&`edge${X(n)}`,`size${X(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return F(l,iE,t)},t5=L(zu,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.loading&&t.loading,o.color!=="default"&&t[`color${X(o.color)}`],o.edge&&t[`edge${X(o.edge)}`],t[`size${X(o.size)}`]]}})(oe(({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}}]})),oe(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(vt()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(vt()).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)}}],[`&.${kg.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${kg.loading}`]:{color:"transparent"}}))),o5=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"}}]})),r5=Jf.forwardRef(function(t,o){let r=Y({props:t,name:"MuiIconButton"}),{edge:n=!1,children:a,className:i,color:l="default",disabled:s=!1,disableFocusRipple:u=!1,size:p="medium",id:f,loading:d=null,loadingIndicator:c,...T}=r,v=Cu(f),x=c??(0,_l.jsx)(Bu,{"aria-labelledby":v,color:"inherit",size:16}),m={...r,edge:n,color:l,disabled:s,disableFocusRipple:u,loading:d,loadingIndicator:x,size:p},y=e5(m);return(0,_l.jsxs)(t5,{id:d?v:f,className:H(y.root,i),centerRipple:!0,internalNativeButton:!0,focusRipple:!u,disabled:s||d,ref:o,...T,ownerState:m,children:[typeof d=="boolean"&&(0,_l.jsx)("span",{className:y.loadingWrapper,style:{display:"contents"},children:(0,_l.jsx)(o5,{className:y.loadingIndicator,ownerState:m,children:d&&x})}),a]})}),ka=r5;var uE=C(U(),1);function lE(e){return G("MuiTypography",e)}var uI=q("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom"]);var cE=C(j(),1),n5=e=>{let{align:t,gutterBottom:o,noWrap:r,variant:n,classes:a}=e,i={root:["root",n,e.align!=="inherit"&&`align${X(t)}`,o&&"gutterBottom",r&&"noWrap"]};return F(i,lE,a)},a5=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${X(o.align)}`],o.noWrap&&t.noWrap,o.gutterBottom&&t.gutterBottom]}})(oe(({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(vt()).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${X(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"}}]}))),sE={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},i5=uE.forwardRef(function(t,o){let r=Y({props:t,name:"MuiTypography"}),{color:n,align:a="inherit",className:i,component:l,gutterBottom:s=!1,noWrap:u=!1,variant:p="body1",variantMapping:f=sE,...d}=r,c={...r,align:a,color:n,className:i,component:l,gutterBottom:s,noWrap:u,variant:p,variantMapping:f},T=l||f[p]||sE[p]||"span",v=n5(c);return(0,cE.jsx)(a5,{as:T,ref:o,className:H(v.root,i),...d,ownerState:c,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...d.style}})}),ed=i5;function l5(e){let{elementType:t,externalSlotProps:o,ownerState:r,skipResolvingSlotProps:n=!1,...a}=e,i=n?{}:Nu(o,r),{props:l,internalRef:s}=_u({...a,externalSlotProps:i}),u=jt(s,i?.ref,e.additionalProps?.ref);return Mu(t,{...l,ref:u},r)}var Lg=l5;var Zr=C(U(),1),fE=C(Oc(),1);var pE=C(U(),1);function Ko(e){return parseInt(pE.version,10)>=19?e?.props?.ref||null:e?.ref||null}function s5(e){return typeof e=="function"?e():e}var u5=Zr.forwardRef(function(t,o){let{children:r,container:n,disablePortal:a=!1}=t,[i,l]=Zr.useState(null),s=jt(Zr.isValidElement(r)?Ko(r):null,o);return Kt(()=>{a||l(s5(n)||document.body)},[n,a]),Kt(()=>{if(i&&!a)return Da(o,i),()=>{Da(o,null)}},[o,i,a]),a?Zr.isValidElement(r)?Zr.cloneElement(r,{ref:s}):r:i&&fE.createPortal(r,i)}),Hg=u5;var kt=C(U(),1);var Po=C(U(),1);var Uu=C(j(),1);function td(e){return parseInt(e,10)||0}var c5={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function p5(e){for(let t in e)return!1;return!0}function dE(e){return p5(e)||e.outerHeightStyle===0&&!e.overflowing}var f5=Po.forwardRef(function(t,o){let{onChange:r,maxRows:n,minRows:a=1,style:i,value:l,...s}=t,{current:u}=Po.useRef(l!=null),p=Po.useRef(null),f=jt(o,p),d=Po.useRef(null),c=Po.useRef(null),T=Po.useCallback(()=>{let g=p.current,b=c.current;if(!g||!b)return;let S=Fo(g).getComputedStyle(g);if(S.width==="0px")return{outerHeightStyle:0,overflowing:!1};b.style.width=S.width,b.value=g.value||t.placeholder||"x",b.value.slice(-1)===`
145
- `&&(b.value+=" ");let E=S.boxSizing,O=td(S.paddingBottom)+td(S.paddingTop),N=td(S.borderBottomWidth)+td(S.borderTopWidth),_=b.scrollHeight;b.value="x";let A=b.scrollHeight,h=_;a&&(h=Math.max(Number(a)*A,h)),n&&(h=Math.min(Number(n)*A,h)),h=Math.max(h,A);let w=h+(E==="border-box"?O+N:0),R=Math.abs(h-_)<=1;return{outerHeightStyle:w,overflowing:R}},[n,a,t.placeholder]),v=$o(()=>{let g=p.current,b=T();if(!g||!b||dE(b))return!1;let P=b.outerHeightStyle;return d.current!=null&&d.current!==P}),x=Po.useCallback(()=>{let g=p.current,b=T();if(!g||!b||dE(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=Po.useRef(-1);return Kt(()=>{let g=Sl(x),b=p?.current;if(!b)return;let P=Fo(b);P.addEventListener("resize",g);let S;return typeof ResizeObserver<"u"&&(S=new ResizeObserver(()=>{v()&&(S.unobserve(b),cancelAnimationFrame(m.current),x(),m.current=requestAnimationFrame(()=>{S.observe(b)}))}),S.observe(b)),()=>{g.clear(),cancelAnimationFrame(m.current),P.removeEventListener("resize",g),S&&S.disconnect()}},[T,x,v]),Kt(()=>{x()}),(0,Uu.jsxs)(Po.Fragment,{children:[(0,Uu.jsx)("textarea",{value:l,onChange:g=>{u||x();let b=g.target,P=b.value.length,S=b.value.endsWith(`
146
- `),E=b.selectionStart===P;S&&E&&b.setSelectionRange(P,P),r&&r(g)},ref:f,rows:a,style:i,...s}),(0,Uu.jsx)("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:c,tabIndex:-1,style:{...c5.shadow,...i,paddingTop:0,paddingBottom:0}})]})}),Vg=f5;function Ro({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 mE=C(U(),1),d5=mE.createContext(void 0),Dl=d5;var yE=C(U(),1);function Oo(){return yE.useContext(Dl)}function hE(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function La(e,t=!1){return e&&(hE(e.value)&&e.value!==""||t&&hE(e.defaultValue)&&e.defaultValue!=="")}function gE(e){return e.startAdornment}function bE(e){return G("MuiInputBase",e)}var m5=q("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputTypeSearch"]),nr=m5;var Ha=C(j(),1),TE,Va=(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${X(o.color)}`],o.fullWidth&&t.fullWidth,o.hiddenLabel&&t.hiddenLabel]},Ia=(e,t)=>{let{ownerState:o}=e;return[t.input,o.type==="search"&&t.inputTypeSearch]},y5=e=>{let{classes:t,color:o,disabled:r,error:n,endAdornment:a,focused:i,formControl:l,fullWidth:s,hiddenLabel:u,multiline:p,readOnly:f,size:d,startAdornment:c,type:T}=e,v={root:["root",`color${X(o)}`,r&&"disabled",n&&"error",s&&"fullWidth",i&&"focused",l&&"formControl",d&&d!=="medium"&&`size${X(d)}`,p&&"multiline",c&&"adornedStart",a&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",T==="search"&&"inputTypeSearch",f&&"readOnly"]};return F(v,bE,t)},qa=L("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Va})(oe(({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%"}}]}))),Ga=L("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Ia})(oe(({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"}}]}})),vE=jC({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),h5=kt.forwardRef(function(t,o){let r=Y({props:t,name:"MuiInputBase"}),{"aria-describedby":n,autoComplete:a,autoFocus:i,className:l,color:s,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:S=!1,name:E,onBlur:O,onChange:N,onClick:_,onFocus:A,onKeyDown:h,onKeyUp:w,placeholder:R,readOnly:M,renderSuffix:B,rows:k,size:V,slotProps:ye={},slots:se={},startAdornment:K,type:ce="text",value:We,...De}=r,He=m.value!=null?m.value:We,{current:ze}=kt.useRef(He!=null),Q=kt.useRef(),J=kt.useCallback(te=>{},[]),ee=Xt(Q,y,m.ref,J),[he,St]=kt.useState(!1),ie=Oo(),Ee=Ro({props:r,muiFormControl:ie,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Ee.focused=ie?ie.focused:he,kt.useEffect(()=>{!ie&&p&&he&&(St(!1),O&&O())},[ie,p,he,O]);let st=ie&&ie.onFilled,Ht=ie&&ie.onEmpty,Ge=kt.useCallback(te=>{La(te)?st&&st():Ht&&Ht()},[st,Ht]);Lf(()=>{ze&&Ge({value:He})},[He,Ge,ze]);let ut=te=>{A&&A(te),m.onFocus&&m.onFocus(te),ie&&ie.onFocus?ie.onFocus(te):St(!0)},Ct=te=>{O&&O(te),m.onBlur&&m.onBlur(te),ie&&ie.onBlur?ie.onBlur(te):St(!1)},fe=(te,...co)=>{if(!ze){let en=te.target||Q.current;if(en==null)throw new Error(bt(1));Ge({value:en.value})}m.onChange&&m.onChange(te,...co),N&&N(te,...co)};kt.useEffect(()=>{Ge(Q.current)},[]);let uo=te=>{Q.current&&te.currentTarget===te.target&&Q.current.focus(),_&&_(te)},Mo=x,ct=m;S&&Mo==="input"&&(k?ct={type:void 0,minRows:k,maxRows:k,...ct}:ct={type:void 0,maxRows:b,minRows:P,...ct},Mo=Vg);let Kn=te=>{Ge(te.animationName==="mui-auto-fill-cancel"?Q.current:{value:"x"})};kt.useEffect(()=>{ie&&ie.setAdornedStart(!!K)},[ie,K]);let lr={...r,color:Ee.color||"primary",disabled:Ee.disabled,endAdornment:d,error:Ee.error,focused:Ee.focused,formControl:ie,fullWidth:T,hiddenLabel:Ee.hiddenLabel,multiline:S,size:Ee.size,startAdornment:K,type:ce},Cr=y5(lr),Be=se.root||qa,ge=ye.root||{},Xe=se.input||Ga;return ct={...ct,...ye.input},(0,Ha.jsxs)(kt.Fragment,{children:[!f&&typeof vE=="function"&&(TE||(TE=(0,Ha.jsx)(vE,{}))),(0,Ha.jsxs)(Be,{...ge,ref:o,onClick:uo,...De,...!Vn(Be)&&{ownerState:{...lr,...ge.ownerState}},className:H(Cr.root,ge.className,l,M&&"MuiInputBase-readOnly"),children:[K,(0,Ha.jsx)(Dl.Provider,{value:null,children:(0,Ha.jsx)(Xe,{"aria-invalid":Ee.error,"aria-describedby":n,autoComplete:a,autoFocus:i,defaultValue:u,disabled:Ee.disabled,id:v,onAnimationStart:Kn,name:E,placeholder:R,readOnly:M,required:Ee.required,rows:k,value:He,onKeyDown:h,onKeyUp:w,type:ce,...ct,...!Vn(Xe)&&{as:Mo,ownerState:{...lr,...ct.ownerState}},ref:ee,className:H(Cr.input,ct.className,M&&"MuiInputBase-readOnly"),onBlur:Ct,onChange:fe,onFocus:ut})}),d,B?B({...Ee,startAdornment:K}):null]})]})}),Xo=h5;function xE(e){return G("MuiInput",e)}var g5={...nr,...q("MuiInput",["root","underline","input"])},zl=g5;function SE(e){return G("MuiOutlinedInput",e)}var b5={...nr,...q("MuiOutlinedInput",["root","notchedOutline","input"])},ar=b5;function CE(e){return G("MuiFilledInput",e)}var T5={...nr,...q("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},Gn=T5;var EE=C(j(),1),PE=io((0,EE.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");var AE=C(U(),1);var Bl=C(U(),1);var RE=C(j(),1),v5={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},x5={opacity:0,visibility:"hidden"},S5=Bl.forwardRef(function(t,o){let r=jn(),n={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:i=!0,children:l,easing:s,in:u,onEnter:p,onEntered:f,onEntering:d,onExit:c,onExited:T,onExiting:v,style:x,timeout:m=n,...y}=t,g=Bl.useRef(null),b=Xt(g,Ko(l),o),P=lo(g,d),S=lo(g,(h,w)=>{Ff(h);let R=Ml({style:x,timeout:m,easing:s},{mode:"enter"});h.style.transition=r.transitions.create("opacity",R),p&&p(h,w)}),E=lo(g,f),O=lo(g,v),N=lo(g,h=>{let w=Ml({style:x,timeout:m,easing:s},{mode:"exit"});h.style.transition=r.transitions.create("opacity",w),c&&c(h)}),_=lo(g,h=>{h.style.transition="",T&&T(h)});return(0,RE.jsx)(Ou,{appear:i,in:u,nodeRef:g,onEnter:S,onEntered:E,onEntering:P,onExit:N,onExited:_,onExiting:O,addEndListener:h=>{a&&a(g.current,h)},timeout:m,...y,children:(h,{ownerState:w,...R})=>{let M=$f(h,u,v5,x5,x,l.props.style);return Bl.cloneElement(l,{style:M,ref:b,...R})}})}),Ig=S5;function OE(e){return G("MuiBackdrop",e)}var Yq=q("MuiBackdrop",["root","invisible"]);var qg=C(j(),1),C5=e=>{let{classes:t,invisible:o}=e;return F({root:["root",o&&"invisible"]},OE,t)},E5=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"}}]}),P5=AE.forwardRef(function(t,o){let r=Y({props:t,name:"MuiBackdrop"}),{children:n,className:a,component:i="div",invisible:l=!1,open:s,slotProps:u={},slots:p={},transitionDuration:f,...d}=r,c={...r,component:i,invisible:l},T=C5(c),v={component:i,slots:p,slotProps:u},[x,m]=Ke("root",{elementType:E5,externalForwardedProps:v,className:H(T.root,a),ownerState:c}),[y,g]=Ke("transition",{elementType:Ig,externalForwardedProps:v,ownerState:c});return(0,qg.jsx)(y,{in:s,timeout:f,...d,...g,children:(0,qg.jsx)(x,{...m,ref:o,children:n})})}),Gg=P5;var R5=q("MuiBox",["root"]),ME=R5;var O5=vr(),A5=cu({themeId:wt,defaultTheme:O5,defaultClassName:ME.root,generateClassName:fl.generate}),Qt=A5;var ju=C(U(),1);function NE(e){return G("MuiButton",e)}var M5=q("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"]),Fn=M5;var wE=C(U(),1),N5=wE.createContext({}),_E=N5;var DE=C(U(),1),w5=DE.createContext(void 0),zE=w5;var xr=C(j(),1),_5=e=>{let{color:t,disableElevation:o,fullWidth:r,size:n,variant:a,loading:i,loadingPosition:l,classes:s}=e,u={root:["root",i&&"loading",a,`size${X(n)}`,`color${X(t)}`,o&&"disableElevation",r&&"fullWidth",i&&`loadingPosition${X(l)}`],startIcon:["icon","startIcon"],endIcon:["icon","endIcon"],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},p=F(u,NE,s);return{...s,...p}},UE=[{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}}}],D5=L(zu,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],t[`size${X(o.size)}`],o.color==="inherit"&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth,o.loading&&t.loading]}})(oe(({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"},[`&.${Fn.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]},[`&.${Fn.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Fn.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)",[`&.${Fn.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(vt()).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"},[`&.${Fn.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Fn.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}),[`&.${Fn.loading}`]:{color:"transparent"}}}]}})),z5=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}},...UE]})),B5=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}},...UE]})),U5=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}}]})),BE=L("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),j5=ju.forwardRef(function(t,o){let r=ju.useContext(_E),n=ju.useContext(zE),a=zn(r,t),i=Y({props:a,name:"MuiButton"}),{children:l,color:s="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:S,type:E,variant:O="text",...N}=i,_=Cu(m),A=g??(0,xr.jsx)(Bu,{"aria-labelledby":_,color:"inherit",size:16}),h={...i,color:s,component:u,disabled:f,disableElevation:d,disableFocusRipple:c,fullWidth:x,loading:y,loadingIndicator:A,loadingPosition:b,size:P,type:E,variant:O},w=_5(h),R=(S||y&&b==="start")&&(0,xr.jsx)(z5,{className:w.startIcon,ownerState:h,children:S||(0,xr.jsx)(BE,{className:w.loadingIconPlaceholder,ownerState:h})}),M=(T||y&&b==="end")&&(0,xr.jsx)(B5,{className:w.endIcon,ownerState:h,children:T||(0,xr.jsx)(BE,{className:w.loadingIconPlaceholder,ownerState:h})}),B=n||"",k=typeof y=="boolean"?(0,xr.jsx)("span",{className:w.loadingWrapper,style:{display:"contents"},children:y&&(0,xr.jsx)(U5,{className:w.loadingIndicator,ownerState:h,children:A})}):null;return(0,xr.jsxs)(D5,{ownerState:h,className:H(r.className,w.root,p,B),component:u,disabled:f||y,focusRipple:!c,focusVisibleClassName:H(w.focusVisible,v),ref:o,internalNativeButton:!0,type:E,id:y?_:m,...N,classes:w,children:[R,b!=="end"&&k,l,b==="end"&&k,M]})}),od=j5;function Ul(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}function k5(e){let t=Tt(e);return t.body===e?Fo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function jl(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function jE(e){return parseFloat(Fo(e).getComputedStyle(e).paddingRight)||0}function L5(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 kE(e,t,o,r,n){let a=[t,o,...r];[].forEach.call(e.children,i=>{let l=!a.includes(i),s=!L5(i);l&&s&&jl(i,n)})}function Fg(e,t){let o=-1;return e.some((r,n)=>t(r)?(o=n,!0):!1),o}function H5(e,t){let o=[],r=e.container;if(!t.disableScrollLock){if(k5(r)){let i=Ul(Fo(r));o.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${jE(r)+i}px`;let l=Tt(r).querySelectorAll(".mui-fixed");[].forEach.call(l,s=>{o.push({value:s.style.paddingRight,property:"padding-right",el:s}),s.style.paddingRight=`${jE(s)+i}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=Tt(r).body;else{let i=r.parentElement,l=Fo(r);a=i?.nodeName==="HTML"&&l.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:l})=>{a?i.style.setProperty(l,a):i.style.removeProperty(l)})}}function V5(e){let t=[];return[].forEach.call(e.children,o=>{o.getAttribute("aria-hidden")==="true"&&t.push(o)}),t}var rd=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&&jl(t.modalRef,!1);let n=V5(o);kE(o,t.mount,t.modalRef,n,!0);let a=Fg(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=Fg(this.containers,a=>a.modals.includes(t)),n=this.containers[r];n.restore||(n.restore=H5(n,o))}remove(t,o=!0){let r=this.modals.indexOf(t);if(r===-1)return r;let n=Fg(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&&jl(t.modalRef,o),kE(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&&jl(i.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}};var ad=C(U(),1);var zt=C(U(),1);var ku=C(j(),1),I5=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function q5(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 G5(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 F5(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||G5(e))}function $5(e){let t=[],o=[];return Array.from(e.querySelectorAll(I5)).forEach((r,n)=>{let a=q5(r);a===-1||!F5(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 Y5(){return!0}function K5(e){let{children:t,disableAutoFocus:o=!1,disableEnforceFocus:r=!1,disableRestoreFocus:n=!1,getTabbable:a=$5,isEnabled:i=Y5,open:l}=e,s=zt.useRef(!1),u=zt.useRef(null),p=zt.useRef(null),f=zt.useRef(null),d=zt.useRef(null),c=zt.useRef(!1),T=zt.useRef(null),v=jt(Ko(t),T),x=zt.useRef(null);zt.useEffect(()=>{!l||!T.current||(c.current=!o)},[o,l]),zt.useEffect(()=>{if(!l||!T.current)return;let g=Tt(T.current),b=kn(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&&(s.current=!0,f.current.focus()),f.current=null)}},[l]),zt.useEffect(()=>{if(!l||!T.current)return;let g=Tt(T.current),b=E=>{if(x.current=E,r||!i()||E.key!=="Tab")return;kn(g)===T.current&&E.shiftKey&&(s.current=!0,p.current&&p.current.focus())},P=()=>{let E=T.current;if(E===null)return;let O=kn(g);if(!g.hasFocus()||!i()||s.current){s.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 N=[];if((O===u.current||O===p.current)&&(N=a(T.current)),N.length>0){let _=!!(x.current?.shiftKey&&x.current?.key==="Tab"),A=N[0],h=N[N.length-1];typeof A!="string"&&typeof h!="string"&&(_?h.focus():A.focus())}else E.focus()};g.addEventListener("focusin",P),g.addEventListener("keydown",b,!0);let S=setInterval(()=>{let E=kn(g);E&&E.tagName==="BODY"&&P()},50);return()=>{clearInterval(S),g.removeEventListener("focusin",P),g.removeEventListener("keydown",b,!0)}},[o,r,n,i,l,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,ku.jsxs)(zt.Fragment,{children:[(0,ku.jsx)("div",{tabIndex:l?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),zt.cloneElement(t,{ref:v,onFocus:m}),(0,ku.jsx)("div",{tabIndex:l?0:-1,onFocus:y,ref:p,"data-testid":"sentinelEnd"})]})}var $g=K5;var ir=C(U(),1);function X5(e){return typeof e=="function"?e():e}function Q5(e){return e?e.props.hasOwnProperty("in"):!1}var LE=()=>{},nd=new rd;function Z5(e){let{container:t,disableScrollLock:o=!1,closeAfterTransition:r=!1,onTransitionEnter:n,onTransitionExited:a,children:i,onClose:l,open:s,rootRef:u}=e,p=ir.useRef({}),f=ir.useRef(null),d=ir.useRef(null),c=jt(d,u),[T,v]=ir.useState(!s),x=Q5(i),m=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(m=!1);let y=()=>Tt(f.current),g=()=>(p.current.modalRef=d.current,p.current.mount=f.current,p.current),b=()=>{nd.mount(g(),{disableScrollLock:o}),d.current&&(d.current.scrollTop=0)},P=$o(()=>{let R=X5(t)||y().body;nd.add(g(),R),d.current&&b()}),S=()=>nd.isTopModal(g()),E=$o(R=>{f.current=R,R&&(s&&S()?b():d.current&&jl(d.current,m))}),O=ir.useCallback(()=>{nd.remove(g(),m)},[m]);ir.useEffect(()=>()=>{O()},[O]),ir.useEffect(()=>{s?P():(!x||!r)&&O()},[s,O,x,r,P]);let N=R=>M=>{R.onKeyDown?.(M),!(M.key!=="Escape"||M.which===229||!S())&&(M.stopPropagation(),l&&l(M,"escapeKeyDown"))},_=R=>M=>{R.onClick?.(M),M.target===M.currentTarget&&l&&l(M,"backdropClick")};return{getRootProps:(R={})=>{let M=wu(e);delete M.onTransitionEnter,delete M.onTransitionExited;let B={...M,...R};return{role:"presentation",...B,onKeyDown:N(B),ref:c}},getBackdropProps:(R={})=>{let M=R;return{"aria-hidden":!0,...M,onClick:_(M),open:s}},getTransitionProps:()=>{let R=()=>{v(!1),n&&n()},M=()=>{v(!0),a&&a(),r&&O()};return{onEnter:xu(R,i?.props.onEnter??LE),onExited:xu(M,i?.props.onExited??LE)}},rootRef:c,portalRef:E,isTopModal:S,exited:T,hasTransition:x}}var HE=Z5;function VE(e){return G("MuiModal",e)}var fF=q("MuiModal",["root","hidden","backdrop"]);var kl=C(j(),1),W5=e=>{let{open:t,exited:o,classes:r}=e;return F({root:["root",!t&&o&&"hidden"],backdrop:["backdrop"]},VE,r)},J5=L("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,!o.open&&o.exited&&t.hidden]}})(oe(({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"}}]}))),eD=L(Gg,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),tD=ad.forwardRef(function(t,o){let r=Y({name:"MuiModal",props:t}),{classes:n,className:a,closeAfterTransition:i=!1,children:l,container:s,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:S={},theme:E,...O}=r,N={...r,closeAfterTransition:i,disableAutoFocus:p,disableEnforceFocus:f,disablePortal:d,disableRestoreFocus:c,disableScrollLock:T,hideBackdrop:v,keepMounted:x},{getRootProps:_,getBackdropProps:A,getTransitionProps:h,portalRef:w,isTopModal:R,exited:M,hasTransition:B}=HE({...N,rootRef:o}),k={...N,exited:M},V=W5(k),ye={};if(l.props.tabIndex===void 0&&(ye.tabIndex="-1"),B){let{onEnter:He,onExited:ze}=h();ye.onEnter=He,ye.onExited=ze}let se={slots:S,slotProps:P},[K,ce]=Ke("root",{ref:o,elementType:J5,externalForwardedProps:{...se,...O,component:u},getSlotProps:_,ownerState:k,className:H(a,V?.root,!k.open&&k.exited&&V?.hidden)}),[We,De]=Ke("backdrop",{elementType:eD,externalForwardedProps:se,shouldForwardComponentProp:!0,getSlotProps:He=>A({...He,onClick:ze=>{He?.onClick&&He.onClick(ze)}}),className:V?.backdrop,ownerState:k});return!x&&!b&&(!B||M)?null:(0,kl.jsx)(Hg,{ref:w,container:s,disablePortal:d,children:(0,kl.jsxs)(K,{...ce,children:[v?null:(0,kl.jsx)(We,{...De}),(0,kl.jsx)($g,{disableEnforceFocus:f,disableAutoFocus:p,disableRestoreFocus:c,isEnabled:R,open:b,children:ad.cloneElement(l,ye)})]})})}),Yg=tD;var IE=C(U(),1);var qE=C(j(),1),oD=e=>{let{classes:t,disableUnderline:o,startAdornment:r,endAdornment:n,size:a,hiddenLabel:i,multiline:l}=e,s={root:["root",!o&&"underline",r&&"adornedStart",n&&"adornedEnd",a==="small"&&`size${X(a)}`,i&&"hiddenLabel",l&&"multiline"],input:["input"]},u=F(s,CE,t);return{...t,...u}},rD=L(qa,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[...Va(e,t),!o.disableUnderline&&t.underline]}})(oe(({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}},[`&.${Gn.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Gn.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"},[`&.${Gn.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Gn.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(.${Gn.disabled}, .${Gn.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Gn.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(vt()).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:l})=>i.multiline&&l==="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}}]}})),nD=L(Ga,{name:"MuiFilledInput",slot:"Input",overridesResolver:Ia})(oe(({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}}]}))),GE=IE.forwardRef(function(t,o){let r=Y({props:t,name:"MuiFilledInput"}),{disableUnderline:n=!1,fullWidth:a=!1,hiddenLabel:i,inputComponent:l="input",multiline:s=!1,slotProps:u,slots:p={},type:f="text",...d}=r,c={...r,disableUnderline:n,fullWidth:a,inputComponent:l,multiline:s,type:f},T=oD(r),v={root:{ownerState:c},input:{ownerState:c}},x=u?_e(v,u):v,m=p.root??rD,y=p.input??nD;return(0,qE.jsx)(Xo,{slots:{root:m,input:y},slotProps:x,fullWidth:a,inputComponent:l,multiline:s,ref:o,type:f,...d,classes:T})});GE.muiName="Input";var Lu=GE;var Lt=C(U(),1);function FE(e){return G("MuiFormControl",e)}var $F=q("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var Kg=C(j(),1),aD=e=>{let{classes:t,margin:o,fullWidth:r}=e,n={root:["root",o!=="none"&&`margin${X(o)}`,r&&"fullWidth"]};return F(n,FE,t)},iD=L("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[`margin${X(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%"}}]}),lD=Lt.forwardRef(function(t,o){let r=Y({props:t,name:"MuiFormControl"}),{children:n,className:a,color:i="primary",component:l="div",disabled:s=!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:l,disabled:s,error:u,fullWidth:f,hiddenLabel:d,margin:c,required:T,size:v,variant:x},g=aD(y),[b,P]=Lt.useState(()=>{let B=!1;return n&&Lt.Children.forEach(n,k=>{if(!kf(k,["Input","Select"]))return;let V=kf(k,["Select"])?k.props.input:k;V&&gE(V.props)&&(B=!0)}),B}),[S,E]=Lt.useState(()=>{let B=!1;return n&&Lt.Children.forEach(n,k=>{kf(k,["Input","Select"])&&(La(k.props,!0)||La(k.props.inputProps,!0))&&(B=!0)}),B}),[O,N]=Lt.useState(!1);s&&O&&N(!1);let _=p!==void 0&&!s?p:O,A,h=Lt.useRef(!1),w=Lt.useCallback(()=>{E(!0)},[]),R=Lt.useCallback(()=>{E(!1)},[]),M=Lt.useMemo(()=>({adornedStart:b,setAdornedStart:P,color:i,disabled:s,error:u,filled:S,focused:_,fullWidth:f,hiddenLabel:d,size:v,onBlur:()=>{N(!1)},onFocus:()=>{N(!0)},onEmpty:R,onFilled:w,registerEffect:A,required:T,variant:x}),[b,i,s,u,S,_,f,d,A,R,w,T,v,x]);return(0,Kg.jsx)(Dl.Provider,{value:M,children:(0,Kg.jsx)(iD,{as:l,ownerState:y,className:H(g.root,a),ref:o,...m,children:n})})}),Xg=lD;var KE=C(U(),1);function $E(e){return G("MuiFormHelperText",e)}var sD=q("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),Qg=sD;var Zg=C(j(),1),YE,uD=e=>{let{classes:t,contained:o,size:r,disabled:n,error:a,filled:i,focused:l,required:s}=e,u={root:["root",n&&"disabled",a&&"error",r&&`size${X(r)}`,o&&"contained",l&&"focused",i&&"filled",s&&"required"]};return F(u,$E,t)},cD=L("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.size&&t[`size${X(o.size)}`],o.contained&&t.contained,o.filled&&t.filled]}})(oe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Qg.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Qg.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}}]}))),pD=KE.forwardRef(function(t,o){let r=Y({props:t,name:"MuiFormHelperText"}),{children:n,className:a,component:i="p",disabled:l,error:s,filled:u,focused:p,margin:f,required:d,variant:c,...T}=r,v=Oo(),x=Ro({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=uD(m);return(0,Zg.jsx)(cD,{as:i,className:H(y.root,a),ref:o,...T,ownerState:m,children:n===" "?YE||(YE=(0,Zg.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"})):n})}),Wg=pD;var QE=C(U(),1);function XE(e){return G("MuiFormLabel",e)}var fD=q("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),$n=fD;var Jg=C(j(),1),dD=e=>{let{classes:t,color:o,focused:r,disabled:n,error:a,filled:i,required:l}=e,s={root:["root",`color${X(o)}`,n&&"disabled",a&&"error",i&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",a&&"error"]};return F(s,XE,t)},mD=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]}})(oe(({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(vt()).map(([t])=>({props:{color:t},style:{[`&.${$n.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${$n.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${$n.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),yD=L("span",{name:"MuiFormLabel",slot:"Asterisk"})(oe(({theme:e})=>({[`&.${$n.error}`]:{color:(e.vars||e).palette.error.main}}))),hD=QE.forwardRef(function(t,o){let r=Y({props:t,name:"MuiFormLabel"}),{children:n,className:a,color:i,component:l="label",disabled:s,error:u,filled:p,focused:f,required:d,...c}=r,T=Oo(),v=Ro({props:r,muiFormControl:T,states:["color","required","focused","disabled","error","filled"]}),x={...r,color:v.color||"primary",component:l,disabled:v.disabled,error:v.error,filled:v.filled,focused:v.focused,required:v.required},m=dD(x);return(0,Jg.jsxs)(mD,{as:l,ownerState:x,className:H(m.root,a),ref:o,...c,children:[n,v.required&&(0,Jg.jsxs)(yD,{ownerState:x,"aria-hidden":!0,className:m.asterisk,children:["\u2009","*"]})]})}),eb=hD;var Fa=C(U(),1);var ZE=C(j(),1);function Hu(e){return`scale(${e}, ${e**2})`}var gD={entering:{opacity:1,transform:Hu(1)},entered:{opacity:1,transform:"none"},exiting:{opacity:0,transform:Hu(.75)},exited:{opacity:0,transform:Hu(.75)}},bD={opacity:0,transform:Hu(.75),visibility:"hidden"},tb=Fa.forwardRef(function(t,o){let{addEndListener:r,appear:n=!0,children:a,easing:i,in:l,onEnter:s,onEntered:u,onEntering:p,onExit:f,onExited:d,onExiting:c,style:T,timeout:v="auto",...x}=t,m=Al(),y=Fa.useRef(),g=jn(),b=Fa.useRef(null),P=Xt(b,Ko(a),o),S=lo(b,p),E=lo(b,(w,R)=>{Ff(w);let{duration:M,delay:B,easing:k}=Ml({style:T,timeout:v,easing:i},{mode:"enter"}),V;v==="auto"?(V=g.transitions.getAutoHeightDuration(w.clientHeight),y.current=V):V=M,w.style.transition=[g.transitions.create("opacity",{duration:V,delay:B}),g.transitions.create("transform",{duration:V*.666,delay:B,easing:k})].join(","),s&&s(w,R)}),O=lo(b,u),N=lo(b,c),_=lo(b,w=>{let{duration:R,delay:M,easing:B}=Ml({style:T,timeout:v,easing:i},{mode:"exit"}),k;v==="auto"?(k=g.transitions.getAutoHeightDuration(w.clientHeight),y.current=k):k=R,w.style.transition=[g.transitions.create("opacity",{duration:k,delay:M}),g.transitions.create("transform",{duration:k*.666,delay:M||k*.333,easing:B})].join(","),w.style.opacity=0,w.style.transform=Hu(.75),f&&f(w)}),A=lo(b,w=>{w.style.transition="",d&&d(w)});return(0,ZE.jsx)(Ou,{appear:n,in:l,nodeRef:b,onEnter:E,onEntered:O,onEntering:S,onExit:_,onExited:A,onExiting:N,addEndListener:w=>{v==="auto"&&m.start(y.current||0,w),r&&r(b.current,w)},timeout:v==="auto"?null:v,...x,children:(w,{ownerState:R,...M})=>{let B=$f(w,l,gD,bD,T,a.props.style);return Fa.cloneElement(a,{style:B,ref:P,...M})}})});tb&&(tb.muiSupportAuto=!0);var ob=tb;var eP=C(U(),1);function WE(e){return G("MuiInputLabel",e)}var TD=q("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]),JE=TD;var tP=C(j(),1),vD=e=>{let{classes:t,disableUnderline:o}=e,n=F({root:["root",!o&&"underline"],input:["input"]},xE,t);return{...t,...n}},xD=L(qa,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[...Va(e,t),!o.disableUnderline&&t.underline]}})(oe(({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 + &, .${JE.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"},[`&.${zl.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${zl.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(.${zl.disabled}, .${zl.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${o}`}},[`&.${zl.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(vt()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),SD=L(Ga,{name:"MuiInput",slot:"Input",overridesResolver:Ia})({}),oP=eP.forwardRef(function(t,o){let r=Y({props:t,name:"MuiInput"}),{disableUnderline:n=!1,fullWidth:a=!1,inputComponent:i="input",multiline:l=!1,slotProps:s,slots:u={},type:p="text",...f}=r,d=vD(r),T={root:{ownerState:{disableUnderline:n}}},v=s?_e(s,T):T,x=u.root??xD,m=u.input??SD;return(0,tP.jsx)(Xo,{slots:{root:x,input:m},slotProps:v,fullWidth:a,inputComponent:i,multiline:l,ref:o,type:p,...f,classes:d})});oP.muiName="Input";var Vu=oP;var rP=C(U(),1);var nP=C(j(),1),CD=e=>{let{classes:t,formControl:o,size:r,shrink:n,disableAnimation:a,variant:i,required:l}=e,s={root:["root",o&&"formControl",!a&&"animated",n&&"shrink",r&&r!=="medium"&&`size${X(r)}`,i],asterisk:[l&&"asterisk"]},u=F(s,WE,t);return{...t,...u}},ED=L(eb,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[{[`& .${$n.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]]}})(oe(({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)"}}]}))),PD=rP.forwardRef(function(t,o){let r=Y({name:"MuiInputLabel",props:t}),{disableAnimation:n=!1,margin:a,shrink:i,variant:l,className:s,...u}=r,p=Oo(),f=i;typeof f>"u"&&p&&(f=p.filled||p.focused||p.adornedStart);let d=Ro({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=CD(c);return(0,nP.jsx)(ED,{"data-shrink":f,ref:o,className:H(T.root,s),...u,ownerState:c,classes:T})}),rb=PD;var id=C(U(),1);var aP=C(U(),1),RD=aP.createContext({}),iP=RD;function lP(e){return G("MuiList",e)}var DY=q("MuiList",["root","padding","dense","subheader"]);var ld=C(j(),1),OD=e=>{let{classes:t,disablePadding:o,dense:r,subheader:n}=e;return F({root:["root",!o&&"padding",r&&"dense",n&&"subheader"]},lP,t)},AD=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}}]}),MD=id.forwardRef(function(t,o){let r=Y({props:t,name:"MuiList"}),{children:n,className:a,component:i="ul",dense:l=!1,disablePadding:s=!1,subheader:u,...p}=r,f=id.useMemo(()=>({dense:l}),[l]),d={...r,component:i,dense:l,disablePadding:s},c=OD(d);return(0,ld.jsx)(iP.Provider,{value:f,children:(0,ld.jsxs)(AD,{as:i,className:H(c.root,a),ref:o,ownerState:d,...p,children:[u,n]})})}),nb=MD;var hd=C(U(),1);var so=C(U(),1);var ab=C(U(),1),ib=ab.createContext(void 0);var xt=C(U(),1);var ND=Object.is;function sd(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,!ND(e[n],t[n])||!(n in t))return!1;for(let n in t)r+=1;return o===r}var wD=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown","Home","End"];function ub(e){let{activeItemId:t,getDefaultActiveItemId:o,orientation:r,isRtl:n=!1,isItemFocusable:a=Ll,wrap:i=!0}=e,[l,s]=xt.useState(t),u=xt.useRef(t),p=l;t!==u.current&&(u.current=t,t!==void 0&&t!==l&&(p=t,s(t)));let f=xt.useRef(null),d=xt.useRef(new Map),[c,T]=xt.useState(0),v=xt.useMemo(()=>lb(d.current),[c]),x=sP(p,v,a,o),m=xt.useRef(x);m.current=x;let y=xt.useCallback(()=>{let A=lb(d.current),h=sP(m.current,A,a,o);return dP(A,h)},[o,a]),g=xt.useCallback(()=>d.current,[]),b=$o(A=>{let h=d.current.get(A.id);sd(h??null,A)||(d.current.set(A.id,A),T(w=>w+1))}),P=$o(A=>{d.current.delete(A)&&T(h=>h+1)}),S=$o(A=>{s(A)}),E=xt.useCallback(A=>m.current===A,[]),O=xt.useCallback((A,h,w,R)=>{let M=ud(d.current),B=pP(M,A,h,w,R??a);return B?(B.element?.focus(),s(B.id),B):null},[a]),N=xt.useCallback(A=>({onFocus:R=>{let M=ud(d.current),B=yP(M,R.target);B!==-1&&s(M[B].id)},onKeyDown:R=>{if(R.altKey||R.shiftKey||R.ctrlKey||R.metaKey||!wD.includes(R.key))return;let M=r==="horizontal"?"ArrowLeft":"ArrowUp",B=r==="horizontal"?"ArrowRight":"ArrowDown";r==="horizontal"&&n&&(M="ArrowRight",B="ArrowLeft");let k=ud(d.current),V=_a(Tt(f.current)),ye=V===f.current,se=uP(k,V,m.current),K="next";switch(R.key){case M:K="previous",R.preventDefault(),ye&&(se=k.length);break;case B:R.preventDefault(),ye&&(se=-1);break;case"Home":R.preventDefault(),se=-1;break;case"End":R.preventDefault(),K="previous",se=k.length;break;default:return}O(se,K,i)},ref:BD(A,R=>{f.current=R})}),[O,n,r,i]),_=xt.useCallback(A=>{let h=ud(d.current),w=_a(Tt(f.current)),M=w===f.current?-1:uP(h,w,m.current);return O(M,"next",!0,A)?.id??null},[O]);return xt.useMemo(()=>({activeItemId:x,focusNext:_,getActiveItem:y,getContainerProps:N,getItemMap:g,isItemActive:E,registerItem:b,setActiveItemId:S,unregisterItem:P}),[x,_,y,N,g,E,b,S,P])}function sP(e,t,o,r){return e!=null?_D(e,t,o):DD(t,o,r)}function _D(e,t,o){let r=mP(t,e);return r===-1?fP(t,o):o(t[r])?t[r].id:pP(t,r,"next",!1,o)?.id??null}function DD(e,t,o){let r=o?.(e);if(r!=null){let n=dP(e,r);if(n&&t(n))return n.id}return fP(e,t)}function uP(e,t,o){if(t){let r=yP(e,t);if(r!==-1)return r}return mP(e,o)}function pP(e,t,o,r,n){let a=e.length-1;if(a===-1)return null;let i=!1,l=cP(t,a,o,r),s=l;for(;l!==-1;){if(l===s){if(i)return null;i=!0}let u=e[l];if(!u||!n(u))l=cP(l,a,o,r);else return u}return null}function fP(e,t){return e.find(o=>t(o))?.id??null}function dP(e,t){return t==null?null:e.find(o=>o.id===t)??null}function mP(e,t){return t==null?-1:e.findIndex(o=>o.id===t)}function yP(e,t){return t?e.findIndex(o=>o.element===t||o.element?.contains(t)):-1}function lb(e){let t=Array.from(e.values());if(t.every(n=>n.element==null))return t;let o=t.filter(sb).sort((n,a)=>zD(n.element,a.element)),r=t.filter(n=>!sb(n));return[...o,...r]}function ud(e){return lb(e).filter(sb)}function cP(e,t,o,r=!0){return o==="next"?e===t?r?0:-1:e+1:e===0?r?t:-1:e-1}function Ll(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 sb(e){return e.element!=null&&e.element.isConnected}function zD(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 BD(...e){return t=>{e.forEach(o=>{Da(o??null,t)})}}var hP=Ul;function cb(e,t){if(t==null){e.focus();return}try{e.focus({focusVisible:t==="keyboard"})}catch{e.focus()}}function cd(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 pd(e){return e==null||typeof e=="string"&&!e.trim()}function Iu(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}var fd=C(U(),1),gP=fd.createContext(null);function pb(){return fd.useContext(gP)}var fb=gP.Provider;var db=C(U(),1),bP=db.createContext(void 0);var dd=C(j(),1);function UD(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 TP(e,t){if(t===void 0)return!0;let o=UD(e);return o=o.trim().toLowerCase(),o.length===0?!1:t.repeating?o[0]===t.keys[0]:o.startsWith(t.keys.join(""))}function jD(e,t){return TP(e,t)?Ll(e):!1}function kD(e,t){cb(e,t)}var LD=so.forwardRef(function(t,o){let{actions:r,autoFocus:n=!1,autoFocusItem:a=!1,children:i,className:l,disabledItemsFocusable:s=!1,disableListWrap:u=!1,onKeyDown:p,variant:f="selectedMenu",...d}=t,c=so.useRef(null),T=so.useRef(!1),[v,x]=so.useState(!1),m=pb(),y=so.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null}),g=so.useCallback(M=>f==="selectedMenu"?M.find(B=>B.selected&&Ll(B))?.id??M.find(B=>Ll(B))?.id??null:M.find(B=>Ll(B))?.id??null,[f]),b=ub({activeItemId:void 0,getDefaultActiveItemId:g,orientation:"vertical",wrap:!u}),{activeItemId:P,focusNext:S,getActiveItem:E,getContainerProps:O,getItemMap:N}=b,_=Hn((M=!1)=>{if(!c.current||!M&&T.current)return null;if(a){let B=E();if(B?.element){let k=Array.from(N().values()).some(ye=>ye.selected),V=f==="menu"&&k&&!B.selected&&m==null;return x(V),kD(B.element,m),T.current=!0,B.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)});Lf(()=>{if(!n&&!a){T.current=!1,x(!1);return}_()},[P,a,n,_]),so.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(M,{direction:B})=>{let k=!c.current.style.width;if(M.clientHeight<c.current.clientHeight&&k){let V=`${hP(Su(M))}px`;c.current.style[B==="rtl"?"paddingLeft":"paddingRight"]=V,c.current.style.width=`calc(100% + ${V})`}return c.current},focusInitialTarget:()=>{if(!c.current)return null;let M=kn(Ln(c.current));return M&&c.current.contains(M)?M:_(!0)}}),[_]);let A=O(),h=Xt(c,A.ref,o),w=so.useMemo(()=>({itemsFocusableWhenDisabled:s,suppressInitialFocusVisible:v,variant:f}),[s,v,f]),R=Hn(M=>{if(v&&x(!1),(M.ctrlKey||M.metaKey||M.altKey)&&p){p(M);return}if(A.onKeyDown(M),M.key.length===1){let k=y.current,V=M.key.toLowerCase(),ye=performance.now();k.keys.length>0&&(ye-k.lastTime>500?(k.keys=[],k.repeating=!0,k.previousKeyMatched=!0):k.repeating&&V!==k.keys[0]&&(k.repeating=!1)),k.lastTime=ye,k.keys.push(V);let se=kn(Ln(c.current)),K=se&&!k.repeating&&TP(se,k);k.previousKeyMatched&&(K||S(ce=>jD(ce,k))!=null)?M.preventDefault():k.previousKeyMatched=!1}p&&p(M)});return(0,dd.jsx)(nb,{role:"menu",ref:h,className:l,onKeyDown:R,onFocus:A.onFocus,tabIndex:-1,...d,children:(0,dd.jsx)(bP.Provider,{value:w,children:(0,dd.jsx)(ib.Provider,{value:b,children:i})})})}),mb=LD;var Bt=C(U(),1);function vP(e){return G("MuiPopover",e)}var UK=q("MuiPopover",["root","paper"]);var yd=C(j(),1);function xP(e,t){let o=0;return typeof t=="number"?o=t:t==="center"?o=e.height/2:t==="bottom"&&(o=e.height),o}function SP(e,t){let o=0;return typeof t=="number"?o=t:t==="center"?o=e.width/2:t==="right"&&(o=e.width),o}function CP(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function md(e){return typeof e=="function"?e():e}var HD=e=>{let{classes:t}=e;return F({root:["root"],paper:["paper"]},vP,t)},VD=L(Yg,{name:"MuiPopover",slot:"Root"})({}),yb=L(Nl,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),ID=Bt.forwardRef(function(t,o){let r=Y({props:t,name:"MuiPopover"}),{action:n,anchorEl:a,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:s="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,S=Bt.useRef(),E={...r,anchorOrigin:i,anchorReference:s,elevation:c,marginThreshold:T,transformOrigin:y,transitionDuration:g},O=HD(E),N=Bt.useCallback(()=>{if(s==="anchorPosition")return l;let J=md(a),he=(J&&J.nodeType===1?J:Ln(S.current).body).getBoundingClientRect();return{top:he.top+xP(he,i.vertical),left:he.left+SP(he,i.horizontal)}},[a,i.horizontal,i.vertical,l,s]),_=Bt.useCallback(J=>({vertical:xP(J,y.vertical),horizontal:SP(J,y.horizontal)}),[y.horizontal,y.vertical]),A=Bt.useCallback(J=>{let ee={width:J.offsetWidth,height:J.offsetHeight},he=_(ee);if(s==="none")return{top:null,left:null,transformOrigin:CP(he)};let St=N(),ie=St.top-he.vertical,Ee=St.left-he.horizontal,st=ie+ee.height,Ht=Ee+ee.width,Ge=Su(md(a)),ut=Ge.innerHeight-T,Ct=Ge.innerWidth-T;if(T!=null&&ie<T){let fe=ie-T;ie-=fe,he.vertical+=fe}else if(T!=null&&st>ut){let fe=st-ut;ie-=fe,he.vertical+=fe}if(T!=null&&Ee<T){let fe=Ee-T;Ee-=fe,he.horizontal+=fe}else if(Ht>Ct){let fe=Ht-Ct;Ee-=fe,he.horizontal+=fe}return{top:`${Math.round(ie)}px`,left:`${Math.round(Ee)}px`,transformOrigin:CP(he)}},[a,s,N,_,T]),[h,w]=Bt.useState(v),R=Bt.useCallback(()=>{let J=S.current;if(!J)return;let ee=A(J);ee.top!=null&&J.style.setProperty("top",ee.top),ee.left!=null&&(J.style.left=ee.left),J.style.transformOrigin=ee.transformOrigin,w(!0)},[A]);Bt.useEffect(()=>(b&&window.addEventListener("scroll",R),()=>window.removeEventListener("scroll",R)),[a,b,R]);let M=()=>{R()},B=()=>{w(!1)};Bt.useEffect(()=>{v&&R()}),Bt.useImperativeHandle(n,()=>v?{updatePosition:()=>{R()}}:null,[v,R]),Bt.useEffect(()=>{if(!v)return;let J=VC(()=>{R()}),ee=Su(md(a));return ee.addEventListener("resize",J),()=>{J.clear(),ee.removeEventListener("resize",J)}},[a,v,R]);let k=g,V={slots:x,slotProps:m},[ye,se]=Ke("transition",{elementType:ob,externalForwardedProps:V,ownerState:E,getSlotProps:J=>({...J,onEntering:(ee,he)=>{J.onEntering?.(ee,he),M()},onExited:ee=>{J.onExited?.(ee),B()}}),additionalProps:{appear:!0,in:v}});g==="auto"&&!ye.muiSupportAuto&&(k=void 0);let K=f||(a?Ln(md(a)).body:void 0),[ce,{slots:We,slotProps:De,...He}]=Ke("root",{ref:o,elementType:VD,externalForwardedProps:{...V,...P},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:x.backdrop},slotProps:{backdrop:Eg(typeof m.backdrop=="function"?m.backdrop(E):m.backdrop,{invisible:!0})},container:K,open:v},ownerState:E,className:H(O.root,p)}),[ze,Q]=Ke("paper",{ref:S,className:O.paper,elementType:yb,externalForwardedProps:V,shouldForwardComponentProp:!0,additionalProps:{elevation:c,style:h?void 0:{opacity:0}},ownerState:E});return(0,yd.jsx)(ce,{...He,...!Vn(ce)&&{slots:We,slotProps:De,disableAutoFocus:d,disableScrollLock:b},children:(0,yd.jsx)(ye,{...se,timeout:k,children:(0,yd.jsx)(ze,{...Q,children:u})})})}),hb=ID;function EP(e){return G("MuiMenu",e)}var aX=q("MuiMenu",["root","paper","list"]);var gb=C(j(),1),qD={vertical:"top",horizontal:"right"},GD={vertical:"top",horizontal:"left"},FD=e=>{let{classes:t}=e;return F({root:["root"],paper:["paper"],list:["list"]},EP,t)},$D=L(hb,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiMenu",slot:"Root"})({}),YD=L(yb,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),KD=L(mb,{name:"MuiMenu",slot:"List"})({outline:0}),XD=hd.forwardRef(function(t,o){let r=Y({props:t,name:"MuiMenu"}),{autoFocus:n=!0,children:a,className:i,disableAutoFocusItem:l=!1,onClose:s,open:u,PopoverClasses:p,transitionDuration:f="auto",variant:d="selectedMenu",slots:c={},slotProps:T={},...v}=r,x=oC(),m={...r,autoFocus:n,disableAutoFocusItem:l,transitionDuration:f,variant:d},y=FD(m),g=n&&u,b=g&&!l,P=hd.useRef(null),S=(M,B)=>{P.current&&(P.current.adjustStyleForScrollbar(M,{direction:x?"rtl":"ltr"}),g&&P.current.focusInitialTarget?.())},E=M=>{M.key==="Tab"&&(M.preventDefault(),s&&s(M,"tabKeyDown"))},O={slots:c,slotProps:T},N=Lg({elementType:c.root,externalSlotProps:T.root,ownerState:m,className:[y.root,i]}),[_,A]=Ke("paper",{className:y.paper,elementType:YD,externalForwardedProps:O,shouldForwardComponentProp:!0,ownerState:m}),[h,w]=Ke("list",{className:y.list,elementType:KD,shouldForwardComponentProp:!0,externalForwardedProps:O,getSlotProps:M=>({...M,onKeyDown:B=>{E(B),M.onKeyDown?.(B)}}),ownerState:m}),R=typeof T.transition=="function"?T.transition(m):T.transition;return(0,gb.jsx)($D,{disableAutoFocus:n,onClose:s,anchorOrigin:{vertical:"bottom",horizontal:x?"right":"left"},transformOrigin:x?qD:GD,slots:{root:c.root,paper:_,backdrop:c.backdrop,transition:c.transition},slotProps:{root:N,paper:A,backdrop:typeof T.backdrop=="function"?T.backdrop(m):T.backdrop,transition:{...R,onEntering:(...M)=>{S(...M),R?.onEntering?.(...M)}}},open:u,ref:o,transitionDuration:f,ownerState:m,...v,classes:p,children:(0,gb.jsx)(h,{actions:P,autoFocus:g,autoFocusItem:b,variant:d,...w,children:a})})}),PP=XD;var bd=C(U(),1);function RP(e){return G("MuiNativeSelect",e)}var QD=q("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),gd=QD;var qu=C(j(),1),ZD=e=>{let{classes:t,variant:o,disabled:r,multiple:n,open:a,error:i}=e,l={select:["select",o,r&&"disabled",n&&"multiple",i&&"error"],icon:["icon",`icon${X(o)}`,a&&"iconOpen",r&&"disabled"]};return F(l,RP,t)},bb=L("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${gd.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}}}]})),WD=L(bb,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:ot,overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.select,t[o.variant],o.error&&t.error,{[`&.${gd.multiple}`]:t.multiple}]}})({}),Tb=L("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${gd.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}}]})),JD=L(Tb,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.icon,o.variant&&t[`icon${X(o.variant)}`],o.open&&t.iconOpen]}})({}),e3=bd.forwardRef(function(t,o){let{className:r,disabled:n,error:a,IconComponent:i,inputRef:l,variant:s="standard",...u}=t,p={...t,disabled:n,variant:s,error:a},f=ZD(p);return(0,qu.jsxs)(bd.Fragment,{children:[(0,qu.jsx)(WD,{ownerState:p,className:H(f.select,r),disabled:n,ref:l||o,...u}),t.multiple?null:(0,qu.jsx)(JD,{as:i,ownerState:p,className:f.icon})]})}),OP=e3;var Td=C(U(),1);var Gu=C(j(),1),AP,t3=L("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:ot})({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%"}),o3=L("legend",{name:"MuiNotchedOutlined",shouldForwardProp:ot})(oe(({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 vb(e){let{children:t,classes:o,className:r,label:n,notched:a,...i}=e,l=n!=null&&n!=="",s={...e,notched:a,withLabel:l};return(0,Gu.jsx)(t3,{"aria-hidden":!0,className:r,ownerState:s,...i,children:(0,Gu.jsx)(o3,{ownerState:s,children:l?(0,Gu.jsx)("span",{children:n}):AP||(AP=(0,Gu.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"}))})})}var Fu=C(j(),1),r3=e=>{let{classes:t}=e,r=F({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},SE,t);return{...t,...r}},n3=L(qa,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Va})(oe(({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(vt()).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"}}]}})),a3=L(vb,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(oe(({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}})),i3=L(Ga,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Ia})(oe(({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}}]}))),MP=Td.forwardRef(function(t,o){let r=Y({props:t,name:"MuiOutlinedInput"}),{fullWidth:n=!1,inputComponent:a="input",label:i,multiline:l=!1,notched:s,slots:u={},slotProps:p={},type:f="text",...d}=r,c=r3(r),T=Oo(),v=Ro({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:l,size:v.size,type:f},m=u.root??n3,y=u.input??i3,[g,b]=Ke("notchedOutline",{elementType:a3,className:c.notchedOutline,shouldForwardComponentProp:!0,ownerState:x,externalForwardedProps:{slots:u,slotProps:p},additionalProps:{label:i!=null&&i!==""&&v.required?(0,Fu.jsxs)(Td.Fragment,{children:[i,"\u2009","*"]}):i}});return(0,Fu.jsx)(Xo,{slots:{root:m,input:y},slotProps:p,renderSuffix:P=>(0,Fu.jsx)(g,{...b,notched:typeof s<"u"?s:!!(P.startAdornment||P.filled||P.focused)}),fullWidth:n,inputComponent:a,multiline:l,ref:o,type:f,...d,classes:{...c,notchedOutline:null}})});MP.muiName="Input";var $u=MP;var Vl=C(U(),1);var Ne=C(U(),1);function vd(e){return G("MuiSelect",e)}var l3=q("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","nativeInput","error"]),Hl=l3;var Wr=C(j(),1),NP,s3=L(bb,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[{[`&.${Hl.select}`]:t.select},{[`&.${Hl.select}`]:t[o.variant]},{[`&.${Hl.error}`]:t.error},{[`&.${Hl.multiple}`]:t.multiple}]}})({[`&.${Hl.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),u3=L(Tb,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.icon,o.open&&t.iconOpen]}})({}),c3=L("input",{shouldForwardProp:e=>Df(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"}),p3=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"]},vd,t)},f3=Ne.forwardRef(function(t,o){let{"aria-describedby":r,"aria-label":n,autoFocus:a,autoWidth:i,children:l,className:s,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:S,onFocus:E,onKeyDown:O,onMouseDown:N,onOpen:_,open:A,readOnly:h,renderValue:w,required:R,SelectDisplayProps:M={},tabIndex:B,type:k,value:V,variant:ye="standard",...se}=t,[K,ce]=Sg({controlled:V,default:p,name:"Select"}),[We,De]=Sg({controlled:A,default:u,name:"Select"}),He=Ne.useRef(null),ze=Ne.useRef(null),[Q,J]=Ne.useState(null),{current:ee}=Ne.useRef(A!=null),[he,St]=Ne.useState(),[ie,Ee]=Ne.useState(null),st=Xt(o,v),Ht=Ne.useCallback(I=>{ze.current=I,I&&J(I)},[]),Ge=Q?.parentNode;Ne.useImperativeHandle(st,()=>({focus:()=>{ze.current.focus()},node:He.current,value:K}),[K]);let ut=Q!==null&&We;Ne.useEffect(()=>{if(!ut||!Ge||i||typeof ResizeObserver>"u")return;let I=new ResizeObserver(()=>{St(Ge.clientWidth)});return I.observe(Ge),()=>{I.disconnect()}},[ut,Ge,i]),Ne.useEffect(()=>{u&&We&&Q&&!ee&&(St(i?null:Ge.clientWidth),ze.current.focus())},[Q,i]),Ne.useEffect(()=>{a&&ze.current.focus()},[a]),Ne.useEffect(()=>{if(!x)return;let I=Ln(ze.current).getElementById(x);if(I){let be=()=>{getSelection().isCollapsed&&ze.current.focus()};return I.addEventListener("click",be),()=>{I.removeEventListener("click",be)}}},[x]);let Ct=(I,be)=>{I?(Ee(cd(be)),_&&_(be)):(Ee(null),S&&S(be)),ee||(St(i?null:Ge.clientWidth),De(I))},fe=I=>{N?.(I),I.button===0&&(I.preventDefault(),ze.current.focus(),Ct(!0,I))},uo=I=>{Ct(!1,I)},Mo=Ne.Children.toArray(l),ct=I=>{let be=Mo.find(Et=>Et.props.value===I.target.value);be!==void 0&&(ce(be.props.value),P&&P(I,be))},Kn=I=>be=>{let Et;if(be.currentTarget.hasAttribute("tabindex")){if(y){Et=Array.isArray(K)?K.slice():[];let Qa=K.indexOf(I.props.value);Qa===-1?Et.push(I.props.value):Et.splice(Qa,1)}else Et=I.props.value;if(I.props.onClick&&I.props.onClick(be),K!==Et&&(ce(Et),P)){let Qa=be.nativeEvent||be,Nb=new Qa.constructor(Qa.type,Qa);Object.defineProperty(Nb,"target",{writable:!0,value:{value:Et,name:g}}),P(Nb,I)}y||Ct(!1,be)}},lr=I=>{h||([" ","ArrowUp","ArrowDown","Enter"].includes(I.key)&&(I.preventDefault(),Ct(!0,I)),O?.(I))},Cr=I=>{!ut&&b&&(Object.defineProperty(I,"target",{writable:!0,value:{value:K,name:g}}),b(I))};delete se["aria-invalid"];let Be,ge,Xe=[],te=!1,co=!1;(La({value:K})||d)&&(w?Be=w(K):te=!0);let en=Mo.map(I=>{if(!Ne.isValidElement(I))return null;let be;if(y){if(!Array.isArray(K))throw new Error(bt(2));be=K.some(Et=>Iu(Et,I.props.value)),be&&te&&Xe.push(I.props.children)}else be=Iu(K,I.props.value),be&&te&&(ge=I.props.children);return be&&(co=!0),Ne.cloneElement(I,{"aria-selected":be?"true":"false",onClick:Kn(I),onKeyUp:Et=>{Et.key===" "&&Et.preventDefault(),I.props.onKeyUp&&I.props.onKeyUp(Et)},role:"option",selected:be,value:void 0,"data-value":I.props.value})});te&&(y?Xe.length===0?Be=null:Be=Xe.reduce((I,be,Et)=>(I.push(be),Et<Xe.length-1&&I.push(", "),I),[]):Be=ge);let ql=he;!i&&ee&&Q&&(ql=Ge.clientWidth);let Gl;typeof B<"u"?Gl=B:Gl=f?null:0;let Fe=M.id||(g?`mui-component-select-${g}`:void 0),Xa={...t,variant:ye,value:K,open:ut,error:c},kd=p3(Xa),Ab=typeof m.slotProps?.paper=="function"?m.slotProps.paper(Xa):m.slotProps?.paper,eO=typeof m.slotProps?.list=="function"?m.slotProps.list(Xa):m.slotProps?.list,Mb=or(),tO=or();return(0,Wr.jsxs)(Ne.Fragment,{children:[(0,Wr.jsx)(s3,{as:"div",ref:Ht,tabIndex:Gl,role:"combobox","aria-controls":ut?Mb:void 0,"aria-disabled":f?"true":void 0,"aria-expanded":ut?"true":"false","aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[x,Fe].filter(Boolean).join(" ")||void 0,"aria-describedby":r,"aria-required":R?"true":void 0,"aria-invalid":c?"true":void 0,onKeyDown:lr,onMouseDown:f||h?null:fe,onBlur:Cr,onFocus:E,...M,ownerState:Xa,className:H(M.className,kd.select,s),id:Fe,children:pd(Be)?NP||(NP=(0,Wr.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"})):Be}),(0,Wr.jsx)(c3,{"aria-invalid":c,value:Array.isArray(K)?K.join(","):K,name:g,ref:He,"aria-hidden":!0,onChange:ct,tabIndex:-1,disabled:f,className:kd.nativeInput,autoFocus:a,required:R,...se,id:se.id??tO,ownerState:Xa}),(0,Wr.jsx)(u3,{as:T,className:kd.icon,ownerState:Xa}),(0,Wr.jsx)(fb,{value:ie,children:(0,Wr.jsx)(PP,{id:`menu-${g||""}`,anchorEl:Ge,open:ut,onClose:uo,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:Mb,...eO},paper:{...Ab,style:{minWidth:ql,...Ab?.style}}},children:en})})]})}),wP=f3;var Yu=C(j(),1),d3=e=>{let{classes:t}=e,r=F({root:["root"]},vd,t);return{...t,...r}},xb={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>ot(e)&&e!=="variant"},m3=L(Vu,xb)(""),y3=L($u,xb)(""),h3=L(Lu,xb)(""),_P=Vl.forwardRef(function(t,o){let r=Y({name:"MuiSelect",props:t}),{autoWidth:n=!1,children:a,classes:i={},className:l,defaultOpen:s=!1,displayEmpty:u=!1,IconComponent:p=PE,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:S,SelectDisplayProps:E,variant:O="outlined",...N}=r,_=y?OP:wP,A=Oo(),h=Ro({props:r,muiFormControl:A,states:["variant","error"]}),w=h.variant||O,R={...r,variant:w,classes:i},M=d3(R),{root:B,...k}=M,V=d||{standard:(0,Yu.jsx)(m3,{ownerState:R}),outlined:(0,Yu.jsx)(y3,{label:T,ownerState:R}),filled:(0,Yu.jsx)(h3,{ownerState:R})}[w],ye=Xt(o,Ko(V));return(0,Yu.jsx)(Vl.Fragment,{children:Vl.cloneElement(V,{inputComponent:_,inputProps:{children:a,error:h.error,IconComponent:p,variant:w,type:void 0,multiple:m,...y?{id:f}:{autoWidth:n,defaultOpen:s,displayEmpty:u,labelId:v,MenuProps:x,onClose:g,onOpen:b,open:P,renderValue:S,SelectDisplayProps:{id:f,...E}},...c,classes:c?_e(k,c.classes):k,...d?d.props.inputProps:{}},...(m&&y||u)&&w==="outlined"?{notched:!0}:{},ref:ye,className:H(V.props.className,l,M.root),...!d&&{variant:w},...N})})});_P.muiName="Select";var Sb=_P;var zP=C(U(),1);function DP(e){return G("MuiTextField",e)}var HQ=q("MuiTextField",["root"]);var $a=C(j(),1),g3={standard:Vu,filled:Lu,outlined:$u},b3=e=>{let{classes:t}=e;return F({root:["root"]},DP,t)},T3=L(Xg,{name:"MuiTextField",slot:"Root"})({}),v3=zP.forwardRef(function(t,o){let r=Y({props:t,name:"MuiTextField"}),{autoComplete:n,autoFocus:a=!1,children:i,className:l,color:s="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:S,onFocus:E,placeholder:O,required:N=!1,rows:_,select:A=!1,slots:h={},slotProps:w={},type:R,value:M,variant:B="outlined",...k}=r,V={...r,autoFocus:a,color:s,disabled:p,error:f,fullWidth:d,multiline:g,required:N,select:A,variant:B},ye=b3(V),se=or(T),K=c&&se?`${se}-helper-text`:void 0,ce=x&&se?`${se}-label`:void 0,We=g3[B],De={slots:h,slotProps:w},[He,ze]=Ke("select",{elementType:Sb,externalForwardedProps:De,ownerState:V}),Q=A&&ze.native,J={},ee=De.slotProps.inputLabel;B==="outlined"&&(ee&&typeof ee.shrink<"u"&&(J.notched=ee.shrink),J.label=x),A&&(Q||(J.id=void 0),J["aria-describedby"]=void 0);let[he,St]=Ke("root",{elementType:T3,shouldForwardComponentProp:!0,externalForwardedProps:{...De,...k},ownerState:V,className:H(ye.root,l),ref:o,additionalProps:{disabled:p,error:f,fullWidth:d,required:N,color:s,variant:B}}),[ie,Ee]=Ke("input",{elementType:We,externalForwardedProps:De,additionalProps:J,ownerState:V}),[st,Ht]=Ke("inputLabel",{elementType:rb,externalForwardedProps:De,ownerState:V}),[Ge,ut]=Ke("htmlInput",{elementType:"input",externalForwardedProps:De,ownerState:V}),[Ct,fe]=Ke("formHelperText",{elementType:Wg,externalForwardedProps:De,ownerState:V}),uo=(0,$a.jsx)(ie,{"aria-describedby":K,autoComplete:n,autoFocus:a,defaultValue:u,fullWidth:d,multiline:g,name:b,rows:_,maxRows:m,minRows:y,type:R,value:M,id:se,inputRef:v,onBlur:P,onChange:S,onFocus:E,placeholder:O,inputProps:ut,slots:{input:h.htmlInput?Ge:void 0},...Ee});return(0,$a.jsxs)(he,{...St,children:[x!=null&&x!==""&&(0,$a.jsx)(st,{htmlFor:A&&!Q?void 0:se,id:ce,...A&&!Q&&{component:"div"},...Ht,children:x}),A?(0,$a.jsx)(He,{"aria-describedby":K,id:se,labelId:ce,value:M,input:uo,...ze,children:i}):uo,c&&(0,$a.jsx)(Ct,{id:K,...fe,children:c})]})}),xd=v3;var Il=C(U(),1);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 Ku(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 BP(e,t){let o=Ku(e),r=()=>{let i=Ku(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 jP=C(j(),1);function UP({children:e}){let[t,o]=(0,Il.useState)(()=>Ku(document.documentElement));(0,Il.useEffect)(()=>BP(document.documentElement,o),[]);let r=(0,Il.useMemo)(()=>vr({palette:{mode:t},typography:{fontFamily:"inherit"}}),[t]);return(0,jP.jsx)(zf,{theme:r,children:e})}var Cb=C(j(),1);function Sd(e,t,o){let r=e.shadowRoot??e.attachShadow({mode:"open"});y1(e);let n=document.createElement("div"),a=document.createElement("div");a.style.cssText="width:100%;font:inherit;color:inherit",r.append(n,a);let i=uc({key:t,container:n}),l=(0,kP.createRoot)(a);return l.render((0,Cb.jsx)(nm,{value:i,children:(0,Cb.jsx)(UP,{children:o})})),l}var LP=C(U(),1),Xu=C(j(),1);function HP({onSend:e,onClose:t}){let[o,r]=(0,LP.useState)("");return(0,Xu.jsxs)(Nl,{elevation:8,sx:{p:1.5},children:[(0,Xu.jsx)(xd,{autoFocus:!0,fullWidth:!0,multiline:!0,maxRows:6,size:"small",placeholder:"Instructions (optional)",value:o,onChange:i=>r(i.target.value),onKeyDown:i=>{i.key==="Escape"?(i.preventDefault(),t(!0)):i.key==="Enter"&&!i.shiftKey&&!i.nativeEvent.isComposing&&(i.preventDefault(),e(o))},onBlur:()=>{document.hasFocus()&&t(!1)},slotProps:{htmlInput:{"aria-label":"Instructions for assist"}}}),(0,Xu.jsx)(ed,{variant:"caption",color:"text.secondary",sx:{display:"block",mt:.5},children:"Enter to send \xB7 Shift+Enter for a new line \xB7 Esc to close"})]})}var GP=C(j(),1),VP=320,IP=16,Qu=null;function C3(e){let t=e.getBoundingClientRect(),o=Math.max(IP,Math.min(t.left,window.innerWidth-VP-IP));return["position: absolute",`top: ${t.bottom+window.scrollY+4}px`,`left: ${o+window.scrollX}px`,`width: ${VP}px`,"z-index: 2147483646"].join(";")}function E3(){Qu?.close()}function qP(e,t){let o=Qu?.anchor;if(E3(),o===e)return;let r=document.createElement("div");r.setAttribute("data-assist-popover",""),r.style.cssText=C3(e),document.body.append(r);let n=()=>{Qu?.close===n&&(Qu=null,r.remove(),queueMicrotask(()=>a.unmount()))};Qu={anchor:e,close:n};let a=Sd(r,"assist-popover",(0,GP.jsx)(HP,{onSend:i=>{n(),t(i)},onClose:i=>{n(),i&&e.focus()}}))}var P3=["font: inherit","font-size: 12px","line-height: 18px","padding: 0 6px","margin-left: 6px","border-radius: 6px","border: 1px solid var(--borderColor-default, #d0d7de)","background: var(--bgColor-muted, transparent)","color: var(--fgColor-muted, inherit)","cursor: pointer","vertical-align: middle","align-self: center"].join(";"),FP="assist";function Cd(e,t){let o=document.createElement("button");o.type="button",o.setAttribute("data-assist-send",""),o.title=t,o.style.cssText=P3,o.textContent=FP;let r=async n=>{o.disabled=!0,o.textContent="sending\u2026";let a=await _b(e(),n||void 0);zb(a.message,a.ok),o.disabled=!1,o.textContent=FP};return o.addEventListener("mousedown",n=>n.preventDefault()),o.addEventListener("click",n=>{n.preventDefault(),n.stopPropagation(),qP(o,r)}),o}var R3=['a[href*="#discussion_r"]','a[href*="#issuecomment-"]','a[href*="#pullrequestreview-"]'].join(",");function O3(e){return e.classList.contains("js-timestamp")||e.querySelector("relative-time")!==null}function $P(){for(let e of document.querySelectorAll(R3))O3(e)&&(e.nextElementSibling?.hasAttribute("data-assist-send")||e.after(Cd(()=>e.href,"Start an assist session from this comment")))}var A3=/^\/([^/]+)\/([^/]+)\/(pull|issues)\/(\d+)(?:\/|$)/;function Eb({origin:e,pathname:t}){let o=A3.exec(t);if(!o)return;let[,r,n,a,i]=o;return`${e}/${r}/${n}/${a}/${i}`}var M3='.gh-header-actions, [data-component="PH_Actions"]';function YP(){if(Eb(location))for(let e of document.querySelectorAll(M3))e.querySelector(":scope > [data-assist-send]")||e.prepend(Cd(()=>Eb(location)??location.href,"Start an assist session from this page"))}var N3=/^ {0,3}#{1,6}[ \t]+acceptance criteria[ \t]*$/i,w3=/^ {0,3}#{1,6}[ \t]/;function Sr(e){let t=e.split(`
147
- `),o=t.findIndex(i=>N3.test(i));if(o===-1)return null;let r=o+1;for(;r<t.length&&!w3.test(t[r]);)r+=1;let n=o+1;for(;n<r&&t[n].trim()==="";)n+=1;let a=r;for(;a>n&&t[a-1].trim()==="";)a-=1;return n===r&&(n=o+1,a=o+1),{before:t.slice(0,n),lines:t.slice(n,a),after:t.slice(a)}}function Ed(e){let t=0;for(let o of e)t+=o===" "?4:1;return t}function Pd(e){let t=[];return e.map(o=>{for(;t.length>0&&o<t[t.length-1];)t.pop();return(t.length===0||o>t[t.length-1])&&t.push(o),t.length-1})}var _3=/^([ \t]*)\d+[.)](?:[ \t]+(.*))?$/;function KP(e){let t=Sr(e);if(!t)return null;let o=[];for(let n of t.lines){if(n.trim()==="")continue;let a=_3.exec(n);if(!a)return null;o.push({width:Ed(a[1]),text:a[2]??""})}let r=Pd(o.map(n=>n.width));return{before:t.before,items:o.map((n,a)=>({text:n.text,depth:r[a]})),after:t.after}}function Rd(e){let t=KP(e);if(t)return{kind:"outline",items:t.items,before:t.before.join(`
196
+ `,K_=typeof jg!="string"?Wn`
197
+ animation: ${jg} 1.4s linear infinite;
198
+ `:null,X_=typeof kg!="string"?Wn`
199
+ animation: ${kg} 1.4s ease-in-out infinite;
200
+ `:null,Q_=e=>{let{classes:t,variant:o,color:r,disableShrink:n}=e,a={root:["root",o,`color${X(r)}`],svg:["svg"],track:["track"],circle:["circle",n&&"circleDisableShrink"]};return F(a,iE,t)},Z_=L("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],t[`color${X(o.color)}`]]}})(oe(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:K_||{animation:`${jg} 1.4s linear infinite`}},...Object.entries(e.palette).filter(vt()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),W_=L("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),J_=L("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.circle,o.disableShrink&&t.circleDisableShrink]}})(oe(({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:X_||{animation:`${kg} 1.4s ease-in-out infinite`}}]}))),e5=L("circle",{name:"MuiCircularProgress",slot:"Track"})(oe(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),t5=lE.forwardRef(function(t,o){let r=Y({props:t,name:"MuiCircularProgress"}),{className:n,color:a="primary",disableShrink:i=!1,enableTrackSlot:l=!1,size:s=40,style:u,thickness:p=3.6,value:f=0,variant:d="indeterminate",...c}=r,T={...r,color:a,disableShrink:i,size:s,thickness:p,value:f,variant:d,enableTrackSlot:l},v=Q_(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,wl.jsx)(Z_,{className:H(v.root,n),style:{width:s,height:s,...m,...u},ownerState:T,ref:o,role:"progressbar",...y,...c,children:(0,wl.jsxs)(W_,{className:v.svg,ownerState:T,viewBox:`${rr/2} ${rr/2} ${rr} ${rr}`,children:[l?(0,wl.jsx)(e5,{className:v.track,ownerState:T,cx:rr,cy:rr,r:(rr-p)/2,fill:"none",strokeWidth:p,"aria-hidden":"true"}):null,(0,wl.jsx)(J_,{className:v.circle,style:x,ownerState:T,cx:rr,cy:rr,r:(rr-p)/2,fill:"none",strokeWidth:p})]})})}),Bu=t5;function sE(e){return G("MuiIconButton",e)}var o5=q("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),Lg=o5;var _l=C(j(),1),r5=e=>{let{classes:t,disabled:o,color:r,edge:n,size:a,loading:i}=e,l={root:["root",i&&"loading",o&&"disabled",r!=="default"&&`color${X(r)}`,n&&`edge${X(n)}`,`size${X(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return F(l,sE,t)},n5=L(zu,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.loading&&t.loading,o.color!=="default"&&t[`color${X(o.color)}`],o.edge&&t[`edge${X(o.edge)}`],t[`size${X(o.size)}`]]}})(oe(({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}}]})),oe(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(vt()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(vt()).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)}}],[`&.${Lg.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${Lg.loading}`]:{color:"transparent"}}))),a5=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"}}]})),i5=ed.forwardRef(function(t,o){let r=Y({props:t,name:"MuiIconButton"}),{edge:n=!1,children:a,className:i,color:l="default",disabled:s=!1,disableFocusRipple:u=!1,size:p="medium",id:f,loading:d=null,loadingIndicator:c,...T}=r,v=Cu(f),x=c??(0,_l.jsx)(Bu,{"aria-labelledby":v,color:"inherit",size:16}),m={...r,edge:n,color:l,disabled:s,disableFocusRipple:u,loading:d,loadingIndicator:x,size:p},y=r5(m);return(0,_l.jsxs)(n5,{id:d?v:f,className:H(y.root,i),centerRipple:!0,internalNativeButton:!0,focusRipple:!u,disabled:s||d,ref:o,...T,ownerState:m,children:[typeof d=="boolean"&&(0,_l.jsx)("span",{className:y.loadingWrapper,style:{display:"contents"},children:(0,_l.jsx)(a5,{className:y.loadingIndicator,ownerState:m,children:d&&x})}),a]})}),ka=i5;var pE=C(U(),1);function uE(e){return G("MuiTypography",e)}var mV=q("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom"]);var fE=C(j(),1),l5=e=>{let{align:t,gutterBottom:o,noWrap:r,variant:n,classes:a}=e,i={root:["root",n,e.align!=="inherit"&&`align${X(t)}`,o&&"gutterBottom",r&&"noWrap"]};return F(i,uE,a)},s5=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${X(o.align)}`],o.noWrap&&t.noWrap,o.gutterBottom&&t.gutterBottom]}})(oe(({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(vt()).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${X(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"}}]}))),cE={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},u5=pE.forwardRef(function(t,o){let r=Y({props:t,name:"MuiTypography"}),{color:n,align:a="inherit",className:i,component:l,gutterBottom:s=!1,noWrap:u=!1,variant:p="body1",variantMapping:f=cE,...d}=r,c={...r,align:a,color:n,className:i,component:l,gutterBottom:s,noWrap:u,variant:p,variantMapping:f},T=l||f[p]||cE[p]||"span",v=l5(c);return(0,fE.jsx)(s5,{as:T,ref:o,className:H(v.root,i),...d,ownerState:c,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...d.style}})}),td=u5;function c5(e){let{elementType:t,externalSlotProps:o,ownerState:r,skipResolvingSlotProps:n=!1,...a}=e,i=n?{}:Nu(o,r),{props:l,internalRef:s}=_u({...a,externalSlotProps:i}),u=jt(s,i?.ref,e.additionalProps?.ref);return Mu(t,{...l,ref:u},r)}var Hg=c5;var Zr=C(U(),1),mE=C(Ac(),1);var dE=C(U(),1);function Ko(e){return parseInt(dE.version,10)>=19?e?.props?.ref||null:e?.ref||null}function p5(e){return typeof e=="function"?e():e}var f5=Zr.forwardRef(function(t,o){let{children:r,container:n,disablePortal:a=!1}=t,[i,l]=Zr.useState(null),s=jt(Zr.isValidElement(r)?Ko(r):null,o);return Kt(()=>{a||l(p5(n)||document.body)},[n,a]),Kt(()=>{if(i&&!a)return Da(o,i),()=>{Da(o,null)}},[o,i,a]),a?Zr.isValidElement(r)?Zr.cloneElement(r,{ref:s}):r:i&&mE.createPortal(r,i)}),Ig=f5;var kt=C(U(),1);var Po=C(U(),1);var Uu=C(j(),1);function od(e){return parseInt(e,10)||0}var d5={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function m5(e){for(let t in e)return!1;return!0}function yE(e){return m5(e)||e.outerHeightStyle===0&&!e.overflowing}var y5=Po.forwardRef(function(t,o){let{onChange:r,maxRows:n,minRows:a=1,style:i,value:l,...s}=t,{current:u}=Po.useRef(l!=null),p=Po.useRef(null),f=jt(o,p),d=Po.useRef(null),c=Po.useRef(null),T=Po.useCallback(()=>{let g=p.current,b=c.current;if(!g||!b)return;let S=Fo(g).getComputedStyle(g);if(S.width==="0px")return{outerHeightStyle:0,overflowing:!1};b.style.width=S.width,b.value=g.value||t.placeholder||"x",b.value.slice(-1)===`
201
+ `&&(b.value+=" ");let E=S.boxSizing,O=od(S.paddingBottom)+od(S.paddingTop),N=od(S.borderBottomWidth)+od(S.borderTopWidth),_=b.scrollHeight;b.value="x";let A=b.scrollHeight,h=_;a&&(h=Math.max(Number(a)*A,h)),n&&(h=Math.min(Number(n)*A,h)),h=Math.max(h,A);let w=h+(E==="border-box"?O+N:0),R=Math.abs(h-_)<=1;return{outerHeightStyle:w,overflowing:R}},[n,a,t.placeholder]),v=$o(()=>{let g=p.current,b=T();if(!g||!b||yE(b))return!1;let P=b.outerHeightStyle;return d.current!=null&&d.current!==P}),x=Po.useCallback(()=>{let g=p.current,b=T();if(!g||!b||yE(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=Po.useRef(-1);return Kt(()=>{let g=Sl(x),b=p?.current;if(!b)return;let P=Fo(b);P.addEventListener("resize",g);let S;return typeof ResizeObserver<"u"&&(S=new ResizeObserver(()=>{v()&&(S.unobserve(b),cancelAnimationFrame(m.current),x(),m.current=requestAnimationFrame(()=>{S.observe(b)}))}),S.observe(b)),()=>{g.clear(),cancelAnimationFrame(m.current),P.removeEventListener("resize",g),S&&S.disconnect()}},[T,x,v]),Kt(()=>{x()}),(0,Uu.jsxs)(Po.Fragment,{children:[(0,Uu.jsx)("textarea",{value:l,onChange:g=>{u||x();let b=g.target,P=b.value.length,S=b.value.endsWith(`
202
+ `),E=b.selectionStart===P;S&&E&&b.setSelectionRange(P,P),r&&r(g)},ref:f,rows:a,style:i,...s}),(0,Uu.jsx)("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:c,tabIndex:-1,style:{...d5.shadow,...i,paddingTop:0,paddingBottom:0}})]})}),Vg=y5;function Ro({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 hE=C(U(),1),h5=hE.createContext(void 0),Dl=h5;var gE=C(U(),1);function Oo(){return gE.useContext(Dl)}function bE(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function La(e,t=!1){return e&&(bE(e.value)&&e.value!==""||t&&bE(e.defaultValue)&&e.defaultValue!=="")}function TE(e){return e.startAdornment}function vE(e){return G("MuiInputBase",e)}var g5=q("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputTypeSearch"]),nr=g5;var Ha=C(j(),1),xE,Ia=(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${X(o.color)}`],o.fullWidth&&t.fullWidth,o.hiddenLabel&&t.hiddenLabel]},Va=(e,t)=>{let{ownerState:o}=e;return[t.input,o.type==="search"&&t.inputTypeSearch]},b5=e=>{let{classes:t,color:o,disabled:r,error:n,endAdornment:a,focused:i,formControl:l,fullWidth:s,hiddenLabel:u,multiline:p,readOnly:f,size:d,startAdornment:c,type:T}=e,v={root:["root",`color${X(o)}`,r&&"disabled",n&&"error",s&&"fullWidth",i&&"focused",l&&"formControl",d&&d!=="medium"&&`size${X(d)}`,p&&"multiline",c&&"adornedStart",a&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",T==="search"&&"inputTypeSearch",f&&"readOnly"]};return F(v,vE,t)},qa=L("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Ia})(oe(({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%"}}]}))),Ga=L("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Va})(oe(({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"}}]}})),SE=LC({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),T5=kt.forwardRef(function(t,o){let r=Y({props:t,name:"MuiInputBase"}),{"aria-describedby":n,autoComplete:a,autoFocus:i,className:l,color:s,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:S=!1,name:E,onBlur:O,onChange:N,onClick:_,onFocus:A,onKeyDown:h,onKeyUp:w,placeholder:R,readOnly:M,renderSuffix:B,rows:k,size:I,slotProps:ye={},slots:se={},startAdornment:K,type:ce="text",value:We,...De}=r,He=m.value!=null?m.value:We,{current:ze}=kt.useRef(He!=null),Q=kt.useRef(),J=kt.useCallback(te=>{},[]),ee=Xt(Q,y,m.ref,J),[he,St]=kt.useState(!1),ie=Oo(),Ee=Ro({props:r,muiFormControl:ie,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Ee.focused=ie?ie.focused:he,kt.useEffect(()=>{!ie&&p&&he&&(St(!1),O&&O())},[ie,p,he,O]);let st=ie&&ie.onFilled,Ht=ie&&ie.onEmpty,Ge=kt.useCallback(te=>{La(te)?st&&st():Ht&&Ht()},[st,Ht]);Hf(()=>{ze&&Ge({value:He})},[He,Ge,ze]);let ut=te=>{A&&A(te),m.onFocus&&m.onFocus(te),ie&&ie.onFocus?ie.onFocus(te):St(!0)},Ct=te=>{O&&O(te),m.onBlur&&m.onBlur(te),ie&&ie.onBlur?ie.onBlur(te):St(!1)},fe=(te,...co)=>{if(!ze){let en=te.target||Q.current;if(en==null)throw new Error(bt(1));Ge({value:en.value})}m.onChange&&m.onChange(te,...co),N&&N(te,...co)};kt.useEffect(()=>{Ge(Q.current)},[]);let uo=te=>{Q.current&&te.currentTarget===te.target&&Q.current.focus(),_&&_(te)},Mo=x,ct=m;S&&Mo==="input"&&(k?ct={type:void 0,minRows:k,maxRows:k,...ct}:ct={type:void 0,maxRows:b,minRows:P,...ct},Mo=Vg);let Kn=te=>{Ge(te.animationName==="mui-auto-fill-cancel"?Q.current:{value:"x"})};kt.useEffect(()=>{ie&&ie.setAdornedStart(!!K)},[ie,K]);let lr={...r,color:Ee.color||"primary",disabled:Ee.disabled,endAdornment:d,error:Ee.error,focused:Ee.focused,formControl:ie,fullWidth:T,hiddenLabel:Ee.hiddenLabel,multiline:S,size:Ee.size,startAdornment:K,type:ce},Cr=b5(lr),Be=se.root||qa,ge=ye.root||{},Xe=se.input||Ga;return ct={...ct,...ye.input},(0,Ha.jsxs)(kt.Fragment,{children:[!f&&typeof SE=="function"&&(xE||(xE=(0,Ha.jsx)(SE,{}))),(0,Ha.jsxs)(Be,{...ge,ref:o,onClick:uo,...De,...!In(Be)&&{ownerState:{...lr,...ge.ownerState}},className:H(Cr.root,ge.className,l,M&&"MuiInputBase-readOnly"),children:[K,(0,Ha.jsx)(Dl.Provider,{value:null,children:(0,Ha.jsx)(Xe,{"aria-invalid":Ee.error,"aria-describedby":n,autoComplete:a,autoFocus:i,defaultValue:u,disabled:Ee.disabled,id:v,onAnimationStart:Kn,name:E,placeholder:R,readOnly:M,required:Ee.required,rows:k,value:He,onKeyDown:h,onKeyUp:w,type:ce,...ct,...!In(Xe)&&{as:Mo,ownerState:{...lr,...ct.ownerState}},ref:ee,className:H(Cr.input,ct.className,M&&"MuiInputBase-readOnly"),onBlur:Ct,onChange:fe,onFocus:ut})}),d,B?B({...Ee,startAdornment:K}):null]})]})}),Xo=T5;function CE(e){return G("MuiInput",e)}var v5={...nr,...q("MuiInput",["root","underline","input"])},zl=v5;function EE(e){return G("MuiOutlinedInput",e)}var x5={...nr,...q("MuiOutlinedInput",["root","notchedOutline","input"])},ar=x5;function PE(e){return G("MuiFilledInput",e)}var S5={...nr,...q("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},Gn=S5;var RE=C(j(),1),OE=io((0,RE.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");var NE=C(U(),1);var Bl=C(U(),1);var AE=C(j(),1),C5={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},E5={opacity:0,visibility:"hidden"},P5=Bl.forwardRef(function(t,o){let r=jn(),n={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:i=!0,children:l,easing:s,in:u,onEnter:p,onEntered:f,onEntering:d,onExit:c,onExited:T,onExiting:v,style:x,timeout:m=n,...y}=t,g=Bl.useRef(null),b=Xt(g,Ko(l),o),P=lo(g,d),S=lo(g,(h,w)=>{$f(h);let R=Ml({style:x,timeout:m,easing:s},{mode:"enter"});h.style.transition=r.transitions.create("opacity",R),p&&p(h,w)}),E=lo(g,f),O=lo(g,v),N=lo(g,h=>{let w=Ml({style:x,timeout:m,easing:s},{mode:"exit"});h.style.transition=r.transitions.create("opacity",w),c&&c(h)}),_=lo(g,h=>{h.style.transition="",T&&T(h)});return(0,AE.jsx)(Ou,{appear:i,in:u,nodeRef:g,onEnter:S,onEntered:E,onEntering:P,onExit:N,onExited:_,onExiting:O,addEndListener:h=>{a&&a(g.current,h)},timeout:m,...y,children:(h,{ownerState:w,...R})=>{let M=Yf(h,u,C5,E5,x,l.props.style);return Bl.cloneElement(l,{style:M,ref:b,...R})}})}),qg=P5;function ME(e){return G("MuiBackdrop",e)}var Wq=q("MuiBackdrop",["root","invisible"]);var Gg=C(j(),1),R5=e=>{let{classes:t,invisible:o}=e;return F({root:["root",o&&"invisible"]},ME,t)},O5=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"}}]}),A5=NE.forwardRef(function(t,o){let r=Y({props:t,name:"MuiBackdrop"}),{children:n,className:a,component:i="div",invisible:l=!1,open:s,slotProps:u={},slots:p={},transitionDuration:f,...d}=r,c={...r,component:i,invisible:l},T=R5(c),v={component:i,slots:p,slotProps:u},[x,m]=Ke("root",{elementType:O5,externalForwardedProps:v,className:H(T.root,a),ownerState:c}),[y,g]=Ke("transition",{elementType:qg,externalForwardedProps:v,ownerState:c});return(0,Gg.jsx)(y,{in:s,timeout:f,...d,...g,children:(0,Gg.jsx)(x,{...m,ref:o,children:n})})}),Fg=A5;var M5=q("MuiBox",["root"]),wE=M5;var N5=vr(),w5=cu({themeId:wt,defaultTheme:N5,defaultClassName:wE.root,generateClassName:fl.generate}),Qt=w5;var ju=C(U(),1);function _E(e){return G("MuiButton",e)}var _5=q("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"]),Fn=_5;var DE=C(U(),1),D5=DE.createContext({}),zE=D5;var BE=C(U(),1),z5=BE.createContext(void 0),UE=z5;var xr=C(j(),1),B5=e=>{let{color:t,disableElevation:o,fullWidth:r,size:n,variant:a,loading:i,loadingPosition:l,classes:s}=e,u={root:["root",i&&"loading",a,`size${X(n)}`,`color${X(t)}`,o&&"disableElevation",r&&"fullWidth",i&&`loadingPosition${X(l)}`],startIcon:["icon","startIcon"],endIcon:["icon","endIcon"],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},p=F(u,_E,s);return{...s,...p}},kE=[{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}}}],U5=L(zu,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],t[`size${X(o.size)}`],o.color==="inherit"&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth,o.loading&&t.loading]}})(oe(({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"},[`&.${Fn.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]},[`&.${Fn.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Fn.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)",[`&.${Fn.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(vt()).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"},[`&.${Fn.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Fn.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}),[`&.${Fn.loading}`]:{color:"transparent"}}}]}})),j5=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}},...kE]})),k5=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}},...kE]})),L5=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}}]})),jE=L("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),H5=ju.forwardRef(function(t,o){let r=ju.useContext(zE),n=ju.useContext(UE),a=zn(r,t),i=Y({props:a,name:"MuiButton"}),{children:l,color:s="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:S,type:E,variant:O="text",...N}=i,_=Cu(m),A=g??(0,xr.jsx)(Bu,{"aria-labelledby":_,color:"inherit",size:16}),h={...i,color:s,component:u,disabled:f,disableElevation:d,disableFocusRipple:c,fullWidth:x,loading:y,loadingIndicator:A,loadingPosition:b,size:P,type:E,variant:O},w=B5(h),R=(S||y&&b==="start")&&(0,xr.jsx)(j5,{className:w.startIcon,ownerState:h,children:S||(0,xr.jsx)(jE,{className:w.loadingIconPlaceholder,ownerState:h})}),M=(T||y&&b==="end")&&(0,xr.jsx)(k5,{className:w.endIcon,ownerState:h,children:T||(0,xr.jsx)(jE,{className:w.loadingIconPlaceholder,ownerState:h})}),B=n||"",k=typeof y=="boolean"?(0,xr.jsx)("span",{className:w.loadingWrapper,style:{display:"contents"},children:y&&(0,xr.jsx)(L5,{className:w.loadingIndicator,ownerState:h,children:A})}):null;return(0,xr.jsxs)(U5,{ownerState:h,className:H(r.className,w.root,p,B),component:u,disabled:f||y,focusRipple:!c,focusVisibleClassName:H(w.focusVisible,v),ref:o,internalNativeButton:!0,type:E,id:y?_:m,...N,classes:w,children:[R,b!=="end"&&k,l,b==="end"&&k,M]})}),rd=H5;function Ul(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}function I5(e){let t=Tt(e);return t.body===e?Fo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function jl(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function LE(e){return parseFloat(Fo(e).getComputedStyle(e).paddingRight)||0}function V5(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 HE(e,t,o,r,n){let a=[t,o,...r];[].forEach.call(e.children,i=>{let l=!a.includes(i),s=!V5(i);l&&s&&jl(i,n)})}function $g(e,t){let o=-1;return e.some((r,n)=>t(r)?(o=n,!0):!1),o}function q5(e,t){let o=[],r=e.container;if(!t.disableScrollLock){if(I5(r)){let i=Ul(Fo(r));o.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${LE(r)+i}px`;let l=Tt(r).querySelectorAll(".mui-fixed");[].forEach.call(l,s=>{o.push({value:s.style.paddingRight,property:"padding-right",el:s}),s.style.paddingRight=`${LE(s)+i}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=Tt(r).body;else{let i=r.parentElement,l=Fo(r);a=i?.nodeName==="HTML"&&l.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:l})=>{a?i.style.setProperty(l,a):i.style.removeProperty(l)})}}function G5(e){let t=[];return[].forEach.call(e.children,o=>{o.getAttribute("aria-hidden")==="true"&&t.push(o)}),t}var nd=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&&jl(t.modalRef,!1);let n=G5(o);HE(o,t.mount,t.modalRef,n,!0);let a=$g(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=$g(this.containers,a=>a.modals.includes(t)),n=this.containers[r];n.restore||(n.restore=q5(n,o))}remove(t,o=!0){let r=this.modals.indexOf(t);if(r===-1)return r;let n=$g(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&&jl(t.modalRef,o),HE(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&&jl(i.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}};var id=C(U(),1);var zt=C(U(),1);var ku=C(j(),1),F5=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function $5(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 Y5(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 K5(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Y5(e))}function X5(e){let t=[],o=[];return Array.from(e.querySelectorAll(F5)).forEach((r,n)=>{let a=$5(r);a===-1||!K5(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 Q5(){return!0}function Z5(e){let{children:t,disableAutoFocus:o=!1,disableEnforceFocus:r=!1,disableRestoreFocus:n=!1,getTabbable:a=X5,isEnabled:i=Q5,open:l}=e,s=zt.useRef(!1),u=zt.useRef(null),p=zt.useRef(null),f=zt.useRef(null),d=zt.useRef(null),c=zt.useRef(!1),T=zt.useRef(null),v=jt(Ko(t),T),x=zt.useRef(null);zt.useEffect(()=>{!l||!T.current||(c.current=!o)},[o,l]),zt.useEffect(()=>{if(!l||!T.current)return;let g=Tt(T.current),b=kn(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&&(s.current=!0,f.current.focus()),f.current=null)}},[l]),zt.useEffect(()=>{if(!l||!T.current)return;let g=Tt(T.current),b=E=>{if(x.current=E,r||!i()||E.key!=="Tab")return;kn(g)===T.current&&E.shiftKey&&(s.current=!0,p.current&&p.current.focus())},P=()=>{let E=T.current;if(E===null)return;let O=kn(g);if(!g.hasFocus()||!i()||s.current){s.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 N=[];if((O===u.current||O===p.current)&&(N=a(T.current)),N.length>0){let _=!!(x.current?.shiftKey&&x.current?.key==="Tab"),A=N[0],h=N[N.length-1];typeof A!="string"&&typeof h!="string"&&(_?h.focus():A.focus())}else E.focus()};g.addEventListener("focusin",P),g.addEventListener("keydown",b,!0);let S=setInterval(()=>{let E=kn(g);E&&E.tagName==="BODY"&&P()},50);return()=>{clearInterval(S),g.removeEventListener("focusin",P),g.removeEventListener("keydown",b,!0)}},[o,r,n,i,l,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,ku.jsxs)(zt.Fragment,{children:[(0,ku.jsx)("div",{tabIndex:l?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),zt.cloneElement(t,{ref:v,onFocus:m}),(0,ku.jsx)("div",{tabIndex:l?0:-1,onFocus:y,ref:p,"data-testid":"sentinelEnd"})]})}var Yg=Z5;var ir=C(U(),1);function W5(e){return typeof e=="function"?e():e}function J5(e){return e?e.props.hasOwnProperty("in"):!1}var IE=()=>{},ad=new nd;function eD(e){let{container:t,disableScrollLock:o=!1,closeAfterTransition:r=!1,onTransitionEnter:n,onTransitionExited:a,children:i,onClose:l,open:s,rootRef:u}=e,p=ir.useRef({}),f=ir.useRef(null),d=ir.useRef(null),c=jt(d,u),[T,v]=ir.useState(!s),x=J5(i),m=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(m=!1);let y=()=>Tt(f.current),g=()=>(p.current.modalRef=d.current,p.current.mount=f.current,p.current),b=()=>{ad.mount(g(),{disableScrollLock:o}),d.current&&(d.current.scrollTop=0)},P=$o(()=>{let R=W5(t)||y().body;ad.add(g(),R),d.current&&b()}),S=()=>ad.isTopModal(g()),E=$o(R=>{f.current=R,R&&(s&&S()?b():d.current&&jl(d.current,m))}),O=ir.useCallback(()=>{ad.remove(g(),m)},[m]);ir.useEffect(()=>()=>{O()},[O]),ir.useEffect(()=>{s?P():(!x||!r)&&O()},[s,O,x,r,P]);let N=R=>M=>{R.onKeyDown?.(M),!(M.key!=="Escape"||M.which===229||!S())&&(M.stopPropagation(),l&&l(M,"escapeKeyDown"))},_=R=>M=>{R.onClick?.(M),M.target===M.currentTarget&&l&&l(M,"backdropClick")};return{getRootProps:(R={})=>{let M=wu(e);delete M.onTransitionEnter,delete M.onTransitionExited;let B={...M,...R};return{role:"presentation",...B,onKeyDown:N(B),ref:c}},getBackdropProps:(R={})=>{let M=R;return{"aria-hidden":!0,...M,onClick:_(M),open:s}},getTransitionProps:()=>{let R=()=>{v(!1),n&&n()},M=()=>{v(!0),a&&a(),r&&O()};return{onEnter:xu(R,i?.props.onEnter??IE),onExited:xu(M,i?.props.onExited??IE)}},rootRef:c,portalRef:E,isTopModal:S,exited:T,hasTransition:x}}var VE=eD;function qE(e){return G("MuiModal",e)}var gF=q("MuiModal",["root","hidden","backdrop"]);var kl=C(j(),1),tD=e=>{let{open:t,exited:o,classes:r}=e;return F({root:["root",!t&&o&&"hidden"],backdrop:["backdrop"]},qE,r)},oD=L("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,!o.open&&o.exited&&t.hidden]}})(oe(({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"}}]}))),rD=L(Fg,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),nD=id.forwardRef(function(t,o){let r=Y({name:"MuiModal",props:t}),{classes:n,className:a,closeAfterTransition:i=!1,children:l,container:s,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:S={},theme:E,...O}=r,N={...r,closeAfterTransition:i,disableAutoFocus:p,disableEnforceFocus:f,disablePortal:d,disableRestoreFocus:c,disableScrollLock:T,hideBackdrop:v,keepMounted:x},{getRootProps:_,getBackdropProps:A,getTransitionProps:h,portalRef:w,isTopModal:R,exited:M,hasTransition:B}=VE({...N,rootRef:o}),k={...N,exited:M},I=tD(k),ye={};if(l.props.tabIndex===void 0&&(ye.tabIndex="-1"),B){let{onEnter:He,onExited:ze}=h();ye.onEnter=He,ye.onExited=ze}let se={slots:S,slotProps:P},[K,ce]=Ke("root",{ref:o,elementType:oD,externalForwardedProps:{...se,...O,component:u},getSlotProps:_,ownerState:k,className:H(a,I?.root,!k.open&&k.exited&&I?.hidden)}),[We,De]=Ke("backdrop",{elementType:rD,externalForwardedProps:se,shouldForwardComponentProp:!0,getSlotProps:He=>A({...He,onClick:ze=>{He?.onClick&&He.onClick(ze)}}),className:I?.backdrop,ownerState:k});return!x&&!b&&(!B||M)?null:(0,kl.jsx)(Ig,{ref:w,container:s,disablePortal:d,children:(0,kl.jsxs)(K,{...ce,children:[v?null:(0,kl.jsx)(We,{...De}),(0,kl.jsx)(Yg,{disableEnforceFocus:f,disableAutoFocus:p,disableRestoreFocus:c,isEnabled:R,open:b,children:id.cloneElement(l,ye)})]})})}),Kg=nD;var GE=C(U(),1);var FE=C(j(),1),aD=e=>{let{classes:t,disableUnderline:o,startAdornment:r,endAdornment:n,size:a,hiddenLabel:i,multiline:l}=e,s={root:["root",!o&&"underline",r&&"adornedStart",n&&"adornedEnd",a==="small"&&`size${X(a)}`,i&&"hiddenLabel",l&&"multiline"],input:["input"]},u=F(s,PE,t);return{...t,...u}},iD=L(qa,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[...Ia(e,t),!o.disableUnderline&&t.underline]}})(oe(({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}},[`&.${Gn.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Gn.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"},[`&.${Gn.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Gn.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(.${Gn.disabled}, .${Gn.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Gn.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(vt()).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:l})=>i.multiline&&l==="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}}]}})),lD=L(Ga,{name:"MuiFilledInput",slot:"Input",overridesResolver:Va})(oe(({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}}]}))),$E=GE.forwardRef(function(t,o){let r=Y({props:t,name:"MuiFilledInput"}),{disableUnderline:n=!1,fullWidth:a=!1,hiddenLabel:i,inputComponent:l="input",multiline:s=!1,slotProps:u,slots:p={},type:f="text",...d}=r,c={...r,disableUnderline:n,fullWidth:a,inputComponent:l,multiline:s,type:f},T=aD(r),v={root:{ownerState:c},input:{ownerState:c}},x=u?_e(v,u):v,m=p.root??iD,y=p.input??lD;return(0,FE.jsx)(Xo,{slots:{root:m,input:y},slotProps:x,fullWidth:a,inputComponent:l,multiline:s,ref:o,type:f,...d,classes:T})});$E.muiName="Input";var Lu=$E;var Lt=C(U(),1);function YE(e){return G("MuiFormControl",e)}var ZF=q("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var Xg=C(j(),1),sD=e=>{let{classes:t,margin:o,fullWidth:r}=e,n={root:["root",o!=="none"&&`margin${X(o)}`,r&&"fullWidth"]};return F(n,YE,t)},uD=L("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[`margin${X(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%"}}]}),cD=Lt.forwardRef(function(t,o){let r=Y({props:t,name:"MuiFormControl"}),{children:n,className:a,color:i="primary",component:l="div",disabled:s=!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:l,disabled:s,error:u,fullWidth:f,hiddenLabel:d,margin:c,required:T,size:v,variant:x},g=sD(y),[b,P]=Lt.useState(()=>{let B=!1;return n&&Lt.Children.forEach(n,k=>{if(!Lf(k,["Input","Select"]))return;let I=Lf(k,["Select"])?k.props.input:k;I&&TE(I.props)&&(B=!0)}),B}),[S,E]=Lt.useState(()=>{let B=!1;return n&&Lt.Children.forEach(n,k=>{Lf(k,["Input","Select"])&&(La(k.props,!0)||La(k.props.inputProps,!0))&&(B=!0)}),B}),[O,N]=Lt.useState(!1);s&&O&&N(!1);let _=p!==void 0&&!s?p:O,A,h=Lt.useRef(!1),w=Lt.useCallback(()=>{E(!0)},[]),R=Lt.useCallback(()=>{E(!1)},[]),M=Lt.useMemo(()=>({adornedStart:b,setAdornedStart:P,color:i,disabled:s,error:u,filled:S,focused:_,fullWidth:f,hiddenLabel:d,size:v,onBlur:()=>{N(!1)},onFocus:()=>{N(!0)},onEmpty:R,onFilled:w,registerEffect:A,required:T,variant:x}),[b,i,s,u,S,_,f,d,A,R,w,T,v,x]);return(0,Xg.jsx)(Dl.Provider,{value:M,children:(0,Xg.jsx)(uD,{as:l,ownerState:y,className:H(g.root,a),ref:o,...m,children:n})})}),Qg=cD;var QE=C(U(),1);function KE(e){return G("MuiFormHelperText",e)}var pD=q("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),Zg=pD;var Wg=C(j(),1),XE,fD=e=>{let{classes:t,contained:o,size:r,disabled:n,error:a,filled:i,focused:l,required:s}=e,u={root:["root",n&&"disabled",a&&"error",r&&`size${X(r)}`,o&&"contained",l&&"focused",i&&"filled",s&&"required"]};return F(u,KE,t)},dD=L("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.size&&t[`size${X(o.size)}`],o.contained&&t.contained,o.filled&&t.filled]}})(oe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Zg.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Zg.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}}]}))),mD=QE.forwardRef(function(t,o){let r=Y({props:t,name:"MuiFormHelperText"}),{children:n,className:a,component:i="p",disabled:l,error:s,filled:u,focused:p,margin:f,required:d,variant:c,...T}=r,v=Oo(),x=Ro({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=fD(m);return(0,Wg.jsx)(dD,{as:i,className:H(y.root,a),ref:o,...T,ownerState:m,children:n===" "?XE||(XE=(0,Wg.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"})):n})}),Jg=mD;var WE=C(U(),1);function ZE(e){return G("MuiFormLabel",e)}var yD=q("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),$n=yD;var eb=C(j(),1),hD=e=>{let{classes:t,color:o,focused:r,disabled:n,error:a,filled:i,required:l}=e,s={root:["root",`color${X(o)}`,n&&"disabled",a&&"error",i&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",a&&"error"]};return F(s,ZE,t)},gD=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]}})(oe(({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(vt()).map(([t])=>({props:{color:t},style:{[`&.${$n.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${$n.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${$n.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),bD=L("span",{name:"MuiFormLabel",slot:"Asterisk"})(oe(({theme:e})=>({[`&.${$n.error}`]:{color:(e.vars||e).palette.error.main}}))),TD=WE.forwardRef(function(t,o){let r=Y({props:t,name:"MuiFormLabel"}),{children:n,className:a,color:i,component:l="label",disabled:s,error:u,filled:p,focused:f,required:d,...c}=r,T=Oo(),v=Ro({props:r,muiFormControl:T,states:["color","required","focused","disabled","error","filled"]}),x={...r,color:v.color||"primary",component:l,disabled:v.disabled,error:v.error,filled:v.filled,focused:v.focused,required:v.required},m=hD(x);return(0,eb.jsxs)(gD,{as:l,ownerState:x,className:H(m.root,a),ref:o,...c,children:[n,v.required&&(0,eb.jsxs)(bD,{ownerState:x,"aria-hidden":!0,className:m.asterisk,children:["\u2009","*"]})]})}),tb=TD;var Fa=C(U(),1);var JE=C(j(),1);function Hu(e){return`scale(${e}, ${e**2})`}var vD={entering:{opacity:1,transform:Hu(1)},entered:{opacity:1,transform:"none"},exiting:{opacity:0,transform:Hu(.75)},exited:{opacity:0,transform:Hu(.75)}},xD={opacity:0,transform:Hu(.75),visibility:"hidden"},ob=Fa.forwardRef(function(t,o){let{addEndListener:r,appear:n=!0,children:a,easing:i,in:l,onEnter:s,onEntered:u,onEntering:p,onExit:f,onExited:d,onExiting:c,style:T,timeout:v="auto",...x}=t,m=Al(),y=Fa.useRef(),g=jn(),b=Fa.useRef(null),P=Xt(b,Ko(a),o),S=lo(b,p),E=lo(b,(w,R)=>{$f(w);let{duration:M,delay:B,easing:k}=Ml({style:T,timeout:v,easing:i},{mode:"enter"}),I;v==="auto"?(I=g.transitions.getAutoHeightDuration(w.clientHeight),y.current=I):I=M,w.style.transition=[g.transitions.create("opacity",{duration:I,delay:B}),g.transitions.create("transform",{duration:I*.666,delay:B,easing:k})].join(","),s&&s(w,R)}),O=lo(b,u),N=lo(b,c),_=lo(b,w=>{let{duration:R,delay:M,easing:B}=Ml({style:T,timeout:v,easing:i},{mode:"exit"}),k;v==="auto"?(k=g.transitions.getAutoHeightDuration(w.clientHeight),y.current=k):k=R,w.style.transition=[g.transitions.create("opacity",{duration:k,delay:M}),g.transitions.create("transform",{duration:k*.666,delay:M||k*.333,easing:B})].join(","),w.style.opacity=0,w.style.transform=Hu(.75),f&&f(w)}),A=lo(b,w=>{w.style.transition="",d&&d(w)});return(0,JE.jsx)(Ou,{appear:n,in:l,nodeRef:b,onEnter:E,onEntered:O,onEntering:S,onExit:_,onExited:A,onExiting:N,addEndListener:w=>{v==="auto"&&m.start(y.current||0,w),r&&r(b.current,w)},timeout:v==="auto"?null:v,...x,children:(w,{ownerState:R,...M})=>{let B=Yf(w,l,vD,xD,T,a.props.style);return Fa.cloneElement(a,{style:B,ref:P,...M})}})});ob&&(ob.muiSupportAuto=!0);var rb=ob;var oP=C(U(),1);function eP(e){return G("MuiInputLabel",e)}var SD=q("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]),tP=SD;var rP=C(j(),1),CD=e=>{let{classes:t,disableUnderline:o}=e,n=F({root:["root",!o&&"underline"],input:["input"]},CE,t);return{...t,...n}},ED=L(qa,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[...Ia(e,t),!o.disableUnderline&&t.underline]}})(oe(({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 + &, .${tP.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"},[`&.${zl.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${zl.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(.${zl.disabled}, .${zl.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${o}`}},[`&.${zl.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(vt()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),PD=L(Ga,{name:"MuiInput",slot:"Input",overridesResolver:Va})({}),nP=oP.forwardRef(function(t,o){let r=Y({props:t,name:"MuiInput"}),{disableUnderline:n=!1,fullWidth:a=!1,inputComponent:i="input",multiline:l=!1,slotProps:s,slots:u={},type:p="text",...f}=r,d=CD(r),T={root:{ownerState:{disableUnderline:n}}},v=s?_e(s,T):T,x=u.root??ED,m=u.input??PD;return(0,rP.jsx)(Xo,{slots:{root:x,input:m},slotProps:v,fullWidth:a,inputComponent:i,multiline:l,ref:o,type:p,...f,classes:d})});nP.muiName="Input";var Iu=nP;var aP=C(U(),1);var iP=C(j(),1),RD=e=>{let{classes:t,formControl:o,size:r,shrink:n,disableAnimation:a,variant:i,required:l}=e,s={root:["root",o&&"formControl",!a&&"animated",n&&"shrink",r&&r!=="medium"&&`size${X(r)}`,i],asterisk:[l&&"asterisk"]},u=F(s,eP,t);return{...t,...u}},OD=L(tb,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[{[`& .${$n.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]]}})(oe(({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)"}}]}))),AD=aP.forwardRef(function(t,o){let r=Y({name:"MuiInputLabel",props:t}),{disableAnimation:n=!1,margin:a,shrink:i,variant:l,className:s,...u}=r,p=Oo(),f=i;typeof f>"u"&&p&&(f=p.filled||p.focused||p.adornedStart);let d=Ro({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=RD(c);return(0,iP.jsx)(OD,{"data-shrink":f,ref:o,className:H(T.root,s),...u,ownerState:c,classes:T})}),nb=AD;var ld=C(U(),1);var lP=C(U(),1),MD=lP.createContext({}),sP=MD;function uP(e){return G("MuiList",e)}var kY=q("MuiList",["root","padding","dense","subheader"]);var sd=C(j(),1),ND=e=>{let{classes:t,disablePadding:o,dense:r,subheader:n}=e;return F({root:["root",!o&&"padding",r&&"dense",n&&"subheader"]},uP,t)},wD=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}}]}),_D=ld.forwardRef(function(t,o){let r=Y({props:t,name:"MuiList"}),{children:n,className:a,component:i="ul",dense:l=!1,disablePadding:s=!1,subheader:u,...p}=r,f=ld.useMemo(()=>({dense:l}),[l]),d={...r,component:i,dense:l,disablePadding:s},c=ND(d);return(0,sd.jsx)(sP.Provider,{value:f,children:(0,sd.jsxs)(wD,{as:i,className:H(c.root,a),ref:o,ownerState:d,...p,children:[u,n]})})}),ab=_D;var gd=C(U(),1);var so=C(U(),1);var ib=C(U(),1),lb=ib.createContext(void 0);var xt=C(U(),1);var DD=Object.is;function ud(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,!DD(e[n],t[n])||!(n in t))return!1;for(let n in t)r+=1;return o===r}var zD=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown","Home","End"];function cb(e){let{activeItemId:t,getDefaultActiveItemId:o,orientation:r,isRtl:n=!1,isItemFocusable:a=Ll,wrap:i=!0}=e,[l,s]=xt.useState(t),u=xt.useRef(t),p=l;t!==u.current&&(u.current=t,t!==void 0&&t!==l&&(p=t,s(t)));let f=xt.useRef(null),d=xt.useRef(new Map),[c,T]=xt.useState(0),v=xt.useMemo(()=>sb(d.current),[c]),x=cP(p,v,a,o),m=xt.useRef(x);m.current=x;let y=xt.useCallback(()=>{let A=sb(d.current),h=cP(m.current,A,a,o);return yP(A,h)},[o,a]),g=xt.useCallback(()=>d.current,[]),b=$o(A=>{let h=d.current.get(A.id);ud(h??null,A)||(d.current.set(A.id,A),T(w=>w+1))}),P=$o(A=>{d.current.delete(A)&&T(h=>h+1)}),S=$o(A=>{s(A)}),E=xt.useCallback(A=>m.current===A,[]),O=xt.useCallback((A,h,w,R)=>{let M=cd(d.current),B=dP(M,A,h,w,R??a);return B?(B.element?.focus(),s(B.id),B):null},[a]),N=xt.useCallback(A=>({onFocus:R=>{let M=cd(d.current),B=gP(M,R.target);B!==-1&&s(M[B].id)},onKeyDown:R=>{if(R.altKey||R.shiftKey||R.ctrlKey||R.metaKey||!zD.includes(R.key))return;let M=r==="horizontal"?"ArrowLeft":"ArrowUp",B=r==="horizontal"?"ArrowRight":"ArrowDown";r==="horizontal"&&n&&(M="ArrowRight",B="ArrowLeft");let k=cd(d.current),I=_a(Tt(f.current)),ye=I===f.current,se=pP(k,I,m.current),K="next";switch(R.key){case M:K="previous",R.preventDefault(),ye&&(se=k.length);break;case B:R.preventDefault(),ye&&(se=-1);break;case"Home":R.preventDefault(),se=-1;break;case"End":R.preventDefault(),K="previous",se=k.length;break;default:return}O(se,K,i)},ref:kD(A,R=>{f.current=R})}),[O,n,r,i]),_=xt.useCallback(A=>{let h=cd(d.current),w=_a(Tt(f.current)),M=w===f.current?-1:pP(h,w,m.current);return O(M,"next",!0,A)?.id??null},[O]);return xt.useMemo(()=>({activeItemId:x,focusNext:_,getActiveItem:y,getContainerProps:N,getItemMap:g,isItemActive:E,registerItem:b,setActiveItemId:S,unregisterItem:P}),[x,_,y,N,g,E,b,S,P])}function cP(e,t,o,r){return e!=null?BD(e,t,o):UD(t,o,r)}function BD(e,t,o){let r=hP(t,e);return r===-1?mP(t,o):o(t[r])?t[r].id:dP(t,r,"next",!1,o)?.id??null}function UD(e,t,o){let r=o?.(e);if(r!=null){let n=yP(e,r);if(n&&t(n))return n.id}return mP(e,t)}function pP(e,t,o){if(t){let r=gP(e,t);if(r!==-1)return r}return hP(e,o)}function dP(e,t,o,r,n){let a=e.length-1;if(a===-1)return null;let i=!1,l=fP(t,a,o,r),s=l;for(;l!==-1;){if(l===s){if(i)return null;i=!0}let u=e[l];if(!u||!n(u))l=fP(l,a,o,r);else return u}return null}function mP(e,t){return e.find(o=>t(o))?.id??null}function yP(e,t){return t==null?null:e.find(o=>o.id===t)??null}function hP(e,t){return t==null?-1:e.findIndex(o=>o.id===t)}function gP(e,t){return t?e.findIndex(o=>o.element===t||o.element?.contains(t)):-1}function sb(e){let t=Array.from(e.values());if(t.every(n=>n.element==null))return t;let o=t.filter(ub).sort((n,a)=>jD(n.element,a.element)),r=t.filter(n=>!ub(n));return[...o,...r]}function cd(e){return sb(e).filter(ub)}function fP(e,t,o,r=!0){return o==="next"?e===t?r?0:-1:e+1:e===0?r?t:-1:e-1}function Ll(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 ub(e){return e.element!=null&&e.element.isConnected}function jD(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 kD(...e){return t=>{e.forEach(o=>{Da(o??null,t)})}}var bP=Ul;function pb(e,t){if(t==null){e.focus();return}try{e.focus({focusVisible:t==="keyboard"})}catch{e.focus()}}function pd(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 fd(e){return e==null||typeof e=="string"&&!e.trim()}function Vu(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}var dd=C(U(),1),TP=dd.createContext(null);function fb(){return dd.useContext(TP)}var db=TP.Provider;var mb=C(U(),1),vP=mb.createContext(void 0);var md=C(j(),1);function LD(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 xP(e,t){if(t===void 0)return!0;let o=LD(e);return o=o.trim().toLowerCase(),o.length===0?!1:t.repeating?o[0]===t.keys[0]:o.startsWith(t.keys.join(""))}function HD(e,t){return xP(e,t)?Ll(e):!1}function ID(e,t){pb(e,t)}var VD=so.forwardRef(function(t,o){let{actions:r,autoFocus:n=!1,autoFocusItem:a=!1,children:i,className:l,disabledItemsFocusable:s=!1,disableListWrap:u=!1,onKeyDown:p,variant:f="selectedMenu",...d}=t,c=so.useRef(null),T=so.useRef(!1),[v,x]=so.useState(!1),m=fb(),y=so.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null}),g=so.useCallback(M=>f==="selectedMenu"?M.find(B=>B.selected&&Ll(B))?.id??M.find(B=>Ll(B))?.id??null:M.find(B=>Ll(B))?.id??null,[f]),b=cb({activeItemId:void 0,getDefaultActiveItemId:g,orientation:"vertical",wrap:!u}),{activeItemId:P,focusNext:S,getActiveItem:E,getContainerProps:O,getItemMap:N}=b,_=Hn((M=!1)=>{if(!c.current||!M&&T.current)return null;if(a){let B=E();if(B?.element){let k=Array.from(N().values()).some(ye=>ye.selected),I=f==="menu"&&k&&!B.selected&&m==null;return x(I),ID(B.element,m),T.current=!0,B.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)});Hf(()=>{if(!n&&!a){T.current=!1,x(!1);return}_()},[P,a,n,_]),so.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(M,{direction:B})=>{let k=!c.current.style.width;if(M.clientHeight<c.current.clientHeight&&k){let I=`${bP(Su(M))}px`;c.current.style[B==="rtl"?"paddingLeft":"paddingRight"]=I,c.current.style.width=`calc(100% + ${I})`}return c.current},focusInitialTarget:()=>{if(!c.current)return null;let M=kn(Ln(c.current));return M&&c.current.contains(M)?M:_(!0)}}),[_]);let A=O(),h=Xt(c,A.ref,o),w=so.useMemo(()=>({itemsFocusableWhenDisabled:s,suppressInitialFocusVisible:v,variant:f}),[s,v,f]),R=Hn(M=>{if(v&&x(!1),(M.ctrlKey||M.metaKey||M.altKey)&&p){p(M);return}if(A.onKeyDown(M),M.key.length===1){let k=y.current,I=M.key.toLowerCase(),ye=performance.now();k.keys.length>0&&(ye-k.lastTime>500?(k.keys=[],k.repeating=!0,k.previousKeyMatched=!0):k.repeating&&I!==k.keys[0]&&(k.repeating=!1)),k.lastTime=ye,k.keys.push(I);let se=kn(Ln(c.current)),K=se&&!k.repeating&&xP(se,k);k.previousKeyMatched&&(K||S(ce=>HD(ce,k))!=null)?M.preventDefault():k.previousKeyMatched=!1}p&&p(M)});return(0,md.jsx)(ab,{role:"menu",ref:h,className:l,onKeyDown:R,onFocus:A.onFocus,tabIndex:-1,...d,children:(0,md.jsx)(vP.Provider,{value:w,children:(0,md.jsx)(lb.Provider,{value:b,children:i})})})}),yb=VD;var Bt=C(U(),1);function SP(e){return G("MuiPopover",e)}var IK=q("MuiPopover",["root","paper"]);var hd=C(j(),1);function CP(e,t){let o=0;return typeof t=="number"?o=t:t==="center"?o=e.height/2:t==="bottom"&&(o=e.height),o}function EP(e,t){let o=0;return typeof t=="number"?o=t:t==="center"?o=e.width/2:t==="right"&&(o=e.width),o}function PP(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function yd(e){return typeof e=="function"?e():e}var qD=e=>{let{classes:t}=e;return F({root:["root"],paper:["paper"]},SP,t)},GD=L(Kg,{name:"MuiPopover",slot:"Root"})({}),hb=L(Nl,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),FD=Bt.forwardRef(function(t,o){let r=Y({props:t,name:"MuiPopover"}),{action:n,anchorEl:a,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:s="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,S=Bt.useRef(),E={...r,anchorOrigin:i,anchorReference:s,elevation:c,marginThreshold:T,transformOrigin:y,transitionDuration:g},O=qD(E),N=Bt.useCallback(()=>{if(s==="anchorPosition")return l;let J=yd(a),he=(J&&J.nodeType===1?J:Ln(S.current).body).getBoundingClientRect();return{top:he.top+CP(he,i.vertical),left:he.left+EP(he,i.horizontal)}},[a,i.horizontal,i.vertical,l,s]),_=Bt.useCallback(J=>({vertical:CP(J,y.vertical),horizontal:EP(J,y.horizontal)}),[y.horizontal,y.vertical]),A=Bt.useCallback(J=>{let ee={width:J.offsetWidth,height:J.offsetHeight},he=_(ee);if(s==="none")return{top:null,left:null,transformOrigin:PP(he)};let St=N(),ie=St.top-he.vertical,Ee=St.left-he.horizontal,st=ie+ee.height,Ht=Ee+ee.width,Ge=Su(yd(a)),ut=Ge.innerHeight-T,Ct=Ge.innerWidth-T;if(T!=null&&ie<T){let fe=ie-T;ie-=fe,he.vertical+=fe}else if(T!=null&&st>ut){let fe=st-ut;ie-=fe,he.vertical+=fe}if(T!=null&&Ee<T){let fe=Ee-T;Ee-=fe,he.horizontal+=fe}else if(Ht>Ct){let fe=Ht-Ct;Ee-=fe,he.horizontal+=fe}return{top:`${Math.round(ie)}px`,left:`${Math.round(Ee)}px`,transformOrigin:PP(he)}},[a,s,N,_,T]),[h,w]=Bt.useState(v),R=Bt.useCallback(()=>{let J=S.current;if(!J)return;let ee=A(J);ee.top!=null&&J.style.setProperty("top",ee.top),ee.left!=null&&(J.style.left=ee.left),J.style.transformOrigin=ee.transformOrigin,w(!0)},[A]);Bt.useEffect(()=>(b&&window.addEventListener("scroll",R),()=>window.removeEventListener("scroll",R)),[a,b,R]);let M=()=>{R()},B=()=>{w(!1)};Bt.useEffect(()=>{v&&R()}),Bt.useImperativeHandle(n,()=>v?{updatePosition:()=>{R()}}:null,[v,R]),Bt.useEffect(()=>{if(!v)return;let J=qC(()=>{R()}),ee=Su(yd(a));return ee.addEventListener("resize",J),()=>{J.clear(),ee.removeEventListener("resize",J)}},[a,v,R]);let k=g,I={slots:x,slotProps:m},[ye,se]=Ke("transition",{elementType:rb,externalForwardedProps:I,ownerState:E,getSlotProps:J=>({...J,onEntering:(ee,he)=>{J.onEntering?.(ee,he),M()},onExited:ee=>{J.onExited?.(ee),B()}}),additionalProps:{appear:!0,in:v}});g==="auto"&&!ye.muiSupportAuto&&(k=void 0);let K=f||(a?Ln(yd(a)).body:void 0),[ce,{slots:We,slotProps:De,...He}]=Ke("root",{ref:o,elementType:GD,externalForwardedProps:{...I,...P},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:x.backdrop},slotProps:{backdrop:Pg(typeof m.backdrop=="function"?m.backdrop(E):m.backdrop,{invisible:!0})},container:K,open:v},ownerState:E,className:H(O.root,p)}),[ze,Q]=Ke("paper",{ref:S,className:O.paper,elementType:hb,externalForwardedProps:I,shouldForwardComponentProp:!0,additionalProps:{elevation:c,style:h?void 0:{opacity:0}},ownerState:E});return(0,hd.jsx)(ce,{...He,...!In(ce)&&{slots:We,slotProps:De,disableAutoFocus:d,disableScrollLock:b},children:(0,hd.jsx)(ye,{...se,timeout:k,children:(0,hd.jsx)(ze,{...Q,children:u})})})}),gb=FD;function RP(e){return G("MuiMenu",e)}var cX=q("MuiMenu",["root","paper","list"]);var bb=C(j(),1),$D={vertical:"top",horizontal:"right"},YD={vertical:"top",horizontal:"left"},KD=e=>{let{classes:t}=e;return F({root:["root"],paper:["paper"],list:["list"]},RP,t)},XD=L(gb,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiMenu",slot:"Root"})({}),QD=L(hb,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),ZD=L(yb,{name:"MuiMenu",slot:"List"})({outline:0}),WD=gd.forwardRef(function(t,o){let r=Y({props:t,name:"MuiMenu"}),{autoFocus:n=!0,children:a,className:i,disableAutoFocusItem:l=!1,onClose:s,open:u,PopoverClasses:p,transitionDuration:f="auto",variant:d="selectedMenu",slots:c={},slotProps:T={},...v}=r,x=nC(),m={...r,autoFocus:n,disableAutoFocusItem:l,transitionDuration:f,variant:d},y=KD(m),g=n&&u,b=g&&!l,P=gd.useRef(null),S=(M,B)=>{P.current&&(P.current.adjustStyleForScrollbar(M,{direction:x?"rtl":"ltr"}),g&&P.current.focusInitialTarget?.())},E=M=>{M.key==="Tab"&&(M.preventDefault(),s&&s(M,"tabKeyDown"))},O={slots:c,slotProps:T},N=Hg({elementType:c.root,externalSlotProps:T.root,ownerState:m,className:[y.root,i]}),[_,A]=Ke("paper",{className:y.paper,elementType:QD,externalForwardedProps:O,shouldForwardComponentProp:!0,ownerState:m}),[h,w]=Ke("list",{className:y.list,elementType:ZD,shouldForwardComponentProp:!0,externalForwardedProps:O,getSlotProps:M=>({...M,onKeyDown:B=>{E(B),M.onKeyDown?.(B)}}),ownerState:m}),R=typeof T.transition=="function"?T.transition(m):T.transition;return(0,bb.jsx)(XD,{disableAutoFocus:n,onClose:s,anchorOrigin:{vertical:"bottom",horizontal:x?"right":"left"},transformOrigin:x?$D:YD,slots:{root:c.root,paper:_,backdrop:c.backdrop,transition:c.transition},slotProps:{root:N,paper:A,backdrop:typeof T.backdrop=="function"?T.backdrop(m):T.backdrop,transition:{...R,onEntering:(...M)=>{S(...M),R?.onEntering?.(...M)}}},open:u,ref:o,transitionDuration:f,ownerState:m,...v,classes:p,children:(0,bb.jsx)(h,{actions:P,autoFocus:g,autoFocusItem:b,variant:d,...w,children:a})})}),OP=WD;var Td=C(U(),1);function AP(e){return G("MuiNativeSelect",e)}var JD=q("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),bd=JD;var qu=C(j(),1),e3=e=>{let{classes:t,variant:o,disabled:r,multiple:n,open:a,error:i}=e,l={select:["select",o,r&&"disabled",n&&"multiple",i&&"error"],icon:["icon",`icon${X(o)}`,a&&"iconOpen",r&&"disabled"]};return F(l,AP,t)},Tb=L("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${bd.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}}}]})),t3=L(Tb,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:ot,overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.select,t[o.variant],o.error&&t.error,{[`&.${bd.multiple}`]:t.multiple}]}})({}),vb=L("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${bd.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}}]})),o3=L(vb,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.icon,o.variant&&t[`icon${X(o.variant)}`],o.open&&t.iconOpen]}})({}),r3=Td.forwardRef(function(t,o){let{className:r,disabled:n,error:a,IconComponent:i,inputRef:l,variant:s="standard",...u}=t,p={...t,disabled:n,variant:s,error:a},f=e3(p);return(0,qu.jsxs)(Td.Fragment,{children:[(0,qu.jsx)(t3,{ownerState:p,className:H(f.select,r),disabled:n,ref:l||o,...u}),t.multiple?null:(0,qu.jsx)(o3,{as:i,ownerState:p,className:f.icon})]})}),MP=r3;var vd=C(U(),1);var Gu=C(j(),1),NP,n3=L("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:ot})({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%"}),a3=L("legend",{name:"MuiNotchedOutlined",shouldForwardProp:ot})(oe(({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 xb(e){let{children:t,classes:o,className:r,label:n,notched:a,...i}=e,l=n!=null&&n!=="",s={...e,notched:a,withLabel:l};return(0,Gu.jsx)(n3,{"aria-hidden":!0,className:r,ownerState:s,...i,children:(0,Gu.jsx)(a3,{ownerState:s,children:l?(0,Gu.jsx)("span",{children:n}):NP||(NP=(0,Gu.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"}))})})}var Fu=C(j(),1),i3=e=>{let{classes:t}=e,r=F({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},EE,t);return{...t,...r}},l3=L(qa,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Ia})(oe(({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(vt()).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"}}]}})),s3=L(xb,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(oe(({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}})),u3=L(Ga,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Va})(oe(({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}}]}))),wP=vd.forwardRef(function(t,o){let r=Y({props:t,name:"MuiOutlinedInput"}),{fullWidth:n=!1,inputComponent:a="input",label:i,multiline:l=!1,notched:s,slots:u={},slotProps:p={},type:f="text",...d}=r,c=i3(r),T=Oo(),v=Ro({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:l,size:v.size,type:f},m=u.root??l3,y=u.input??u3,[g,b]=Ke("notchedOutline",{elementType:s3,className:c.notchedOutline,shouldForwardComponentProp:!0,ownerState:x,externalForwardedProps:{slots:u,slotProps:p},additionalProps:{label:i!=null&&i!==""&&v.required?(0,Fu.jsxs)(vd.Fragment,{children:[i,"\u2009","*"]}):i}});return(0,Fu.jsx)(Xo,{slots:{root:m,input:y},slotProps:p,renderSuffix:P=>(0,Fu.jsx)(g,{...b,notched:typeof s<"u"?s:!!(P.startAdornment||P.filled||P.focused)}),fullWidth:n,inputComponent:a,multiline:l,ref:o,type:f,...d,classes:{...c,notchedOutline:null}})});wP.muiName="Input";var $u=wP;var Il=C(U(),1);var Ne=C(U(),1);function xd(e){return G("MuiSelect",e)}var c3=q("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","nativeInput","error"]),Hl=c3;var Wr=C(j(),1),_P,p3=L(Tb,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[{[`&.${Hl.select}`]:t.select},{[`&.${Hl.select}`]:t[o.variant]},{[`&.${Hl.error}`]:t.error},{[`&.${Hl.multiple}`]:t.multiple}]}})({[`&.${Hl.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),f3=L(vb,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.icon,o.open&&t.iconOpen]}})({}),d3=L("input",{shouldForwardProp:e=>zf(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"}),m3=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"]},xd,t)},y3=Ne.forwardRef(function(t,o){let{"aria-describedby":r,"aria-label":n,autoFocus:a,autoWidth:i,children:l,className:s,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:S,onFocus:E,onKeyDown:O,onMouseDown:N,onOpen:_,open:A,readOnly:h,renderValue:w,required:R,SelectDisplayProps:M={},tabIndex:B,type:k,value:I,variant:ye="standard",...se}=t,[K,ce]=Cg({controlled:I,default:p,name:"Select"}),[We,De]=Cg({controlled:A,default:u,name:"Select"}),He=Ne.useRef(null),ze=Ne.useRef(null),[Q,J]=Ne.useState(null),{current:ee}=Ne.useRef(A!=null),[he,St]=Ne.useState(),[ie,Ee]=Ne.useState(null),st=Xt(o,v),Ht=Ne.useCallback(V=>{ze.current=V,V&&J(V)},[]),Ge=Q?.parentNode;Ne.useImperativeHandle(st,()=>({focus:()=>{ze.current.focus()},node:He.current,value:K}),[K]);let ut=Q!==null&&We;Ne.useEffect(()=>{if(!ut||!Ge||i||typeof ResizeObserver>"u")return;let V=new ResizeObserver(()=>{St(Ge.clientWidth)});return V.observe(Ge),()=>{V.disconnect()}},[ut,Ge,i]),Ne.useEffect(()=>{u&&We&&Q&&!ee&&(St(i?null:Ge.clientWidth),ze.current.focus())},[Q,i]),Ne.useEffect(()=>{a&&ze.current.focus()},[a]),Ne.useEffect(()=>{if(!x)return;let V=Ln(ze.current).getElementById(x);if(V){let be=()=>{getSelection().isCollapsed&&ze.current.focus()};return V.addEventListener("click",be),()=>{V.removeEventListener("click",be)}}},[x]);let Ct=(V,be)=>{V?(Ee(pd(be)),_&&_(be)):(Ee(null),S&&S(be)),ee||(St(i?null:Ge.clientWidth),De(V))},fe=V=>{N?.(V),V.button===0&&(V.preventDefault(),ze.current.focus(),Ct(!0,V))},uo=V=>{Ct(!1,V)},Mo=Ne.Children.toArray(l),ct=V=>{let be=Mo.find(Et=>Et.props.value===V.target.value);be!==void 0&&(ce(be.props.value),P&&P(V,be))},Kn=V=>be=>{let Et;if(be.currentTarget.hasAttribute("tabindex")){if(y){Et=Array.isArray(K)?K.slice():[];let Qa=K.indexOf(V.props.value);Qa===-1?Et.push(V.props.value):Et.splice(Qa,1)}else Et=V.props.value;if(V.props.onClick&&V.props.onClick(be),K!==Et&&(ce(Et),P)){let Qa=be.nativeEvent||be,wb=new Qa.constructor(Qa.type,Qa);Object.defineProperty(wb,"target",{writable:!0,value:{value:Et,name:g}}),P(wb,V)}y||Ct(!1,be)}},lr=V=>{h||([" ","ArrowUp","ArrowDown","Enter"].includes(V.key)&&(V.preventDefault(),Ct(!0,V)),O?.(V))},Cr=V=>{!ut&&b&&(Object.defineProperty(V,"target",{writable:!0,value:{value:K,name:g}}),b(V))};delete se["aria-invalid"];let Be,ge,Xe=[],te=!1,co=!1;(La({value:K})||d)&&(w?Be=w(K):te=!0);let en=Mo.map(V=>{if(!Ne.isValidElement(V))return null;let be;if(y){if(!Array.isArray(K))throw new Error(bt(2));be=K.some(Et=>Vu(Et,V.props.value)),be&&te&&Xe.push(V.props.children)}else be=Vu(K,V.props.value),be&&te&&(ge=V.props.children);return be&&(co=!0),Ne.cloneElement(V,{"aria-selected":be?"true":"false",onClick:Kn(V),onKeyUp:Et=>{Et.key===" "&&Et.preventDefault(),V.props.onKeyUp&&V.props.onKeyUp(Et)},role:"option",selected:be,value:void 0,"data-value":V.props.value})});te&&(y?Xe.length===0?Be=null:Be=Xe.reduce((V,be,Et)=>(V.push(be),Et<Xe.length-1&&V.push(", "),V),[]):Be=ge);let ql=he;!i&&ee&&Q&&(ql=Ge.clientWidth);let Gl;typeof B<"u"?Gl=B:Gl=f?null:0;let Fe=M.id||(g?`mui-component-select-${g}`:void 0),Xa={...t,variant:ye,value:K,open:ut,error:c},Ld=m3(Xa),Mb=typeof m.slotProps?.paper=="function"?m.slotProps.paper(Xa):m.slotProps?.paper,o2=typeof m.slotProps?.list=="function"?m.slotProps.list(Xa):m.slotProps?.list,Nb=or(),r2=or();return(0,Wr.jsxs)(Ne.Fragment,{children:[(0,Wr.jsx)(p3,{as:"div",ref:Ht,tabIndex:Gl,role:"combobox","aria-controls":ut?Nb:void 0,"aria-disabled":f?"true":void 0,"aria-expanded":ut?"true":"false","aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[x,Fe].filter(Boolean).join(" ")||void 0,"aria-describedby":r,"aria-required":R?"true":void 0,"aria-invalid":c?"true":void 0,onKeyDown:lr,onMouseDown:f||h?null:fe,onBlur:Cr,onFocus:E,...M,ownerState:Xa,className:H(M.className,Ld.select,s),id:Fe,children:fd(Be)?_P||(_P=(0,Wr.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"})):Be}),(0,Wr.jsx)(d3,{"aria-invalid":c,value:Array.isArray(K)?K.join(","):K,name:g,ref:He,"aria-hidden":!0,onChange:ct,tabIndex:-1,disabled:f,className:Ld.nativeInput,autoFocus:a,required:R,...se,id:se.id??r2,ownerState:Xa}),(0,Wr.jsx)(f3,{as:T,className:Ld.icon,ownerState:Xa}),(0,Wr.jsx)(db,{value:ie,children:(0,Wr.jsx)(OP,{id:`menu-${g||""}`,anchorEl:Ge,open:ut,onClose:uo,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:Nb,...o2},paper:{...Mb,style:{minWidth:ql,...Mb?.style}}},children:en})})]})}),DP=y3;var Yu=C(j(),1),h3=e=>{let{classes:t}=e,r=F({root:["root"]},xd,t);return{...t,...r}},Sb={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>ot(e)&&e!=="variant"},g3=L(Iu,Sb)(""),b3=L($u,Sb)(""),T3=L(Lu,Sb)(""),zP=Il.forwardRef(function(t,o){let r=Y({name:"MuiSelect",props:t}),{autoWidth:n=!1,children:a,classes:i={},className:l,defaultOpen:s=!1,displayEmpty:u=!1,IconComponent:p=OE,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:S,SelectDisplayProps:E,variant:O="outlined",...N}=r,_=y?MP:DP,A=Oo(),h=Ro({props:r,muiFormControl:A,states:["variant","error"]}),w=h.variant||O,R={...r,variant:w,classes:i},M=h3(R),{root:B,...k}=M,I=d||{standard:(0,Yu.jsx)(g3,{ownerState:R}),outlined:(0,Yu.jsx)(b3,{label:T,ownerState:R}),filled:(0,Yu.jsx)(T3,{ownerState:R})}[w],ye=Xt(o,Ko(I));return(0,Yu.jsx)(Il.Fragment,{children:Il.cloneElement(I,{inputComponent:_,inputProps:{children:a,error:h.error,IconComponent:p,variant:w,type:void 0,multiple:m,...y?{id:f}:{autoWidth:n,defaultOpen:s,displayEmpty:u,labelId:v,MenuProps:x,onClose:g,onOpen:b,open:P,renderValue:S,SelectDisplayProps:{id:f,...E}},...c,classes:c?_e(k,c.classes):k,...d?d.props.inputProps:{}},...(m&&y||u)&&w==="outlined"?{notched:!0}:{},ref:ye,className:H(I.props.className,l,M.root),...!d&&{variant:w},...N})})});zP.muiName="Select";var Cb=zP;var UP=C(U(),1);function BP(e){return G("MuiTextField",e)}var FQ=q("MuiTextField",["root"]);var $a=C(j(),1),v3={standard:Iu,filled:Lu,outlined:$u},x3=e=>{let{classes:t}=e;return F({root:["root"]},BP,t)},S3=L(Qg,{name:"MuiTextField",slot:"Root"})({}),C3=UP.forwardRef(function(t,o){let r=Y({props:t,name:"MuiTextField"}),{autoComplete:n,autoFocus:a=!1,children:i,className:l,color:s="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:S,onFocus:E,placeholder:O,required:N=!1,rows:_,select:A=!1,slots:h={},slotProps:w={},type:R,value:M,variant:B="outlined",...k}=r,I={...r,autoFocus:a,color:s,disabled:p,error:f,fullWidth:d,multiline:g,required:N,select:A,variant:B},ye=x3(I),se=or(T),K=c&&se?`${se}-helper-text`:void 0,ce=x&&se?`${se}-label`:void 0,We=v3[B],De={slots:h,slotProps:w},[He,ze]=Ke("select",{elementType:Cb,externalForwardedProps:De,ownerState:I}),Q=A&&ze.native,J={},ee=De.slotProps.inputLabel;B==="outlined"&&(ee&&typeof ee.shrink<"u"&&(J.notched=ee.shrink),J.label=x),A&&(Q||(J.id=void 0),J["aria-describedby"]=void 0);let[he,St]=Ke("root",{elementType:S3,shouldForwardComponentProp:!0,externalForwardedProps:{...De,...k},ownerState:I,className:H(ye.root,l),ref:o,additionalProps:{disabled:p,error:f,fullWidth:d,required:N,color:s,variant:B}}),[ie,Ee]=Ke("input",{elementType:We,externalForwardedProps:De,additionalProps:J,ownerState:I}),[st,Ht]=Ke("inputLabel",{elementType:nb,externalForwardedProps:De,ownerState:I}),[Ge,ut]=Ke("htmlInput",{elementType:"input",externalForwardedProps:De,ownerState:I}),[Ct,fe]=Ke("formHelperText",{elementType:Jg,externalForwardedProps:De,ownerState:I}),uo=(0,$a.jsx)(ie,{"aria-describedby":K,autoComplete:n,autoFocus:a,defaultValue:u,fullWidth:d,multiline:g,name:b,rows:_,maxRows:m,minRows:y,type:R,value:M,id:se,inputRef:v,onBlur:P,onChange:S,onFocus:E,placeholder:O,inputProps:ut,slots:{input:h.htmlInput?Ge:void 0},...Ee});return(0,$a.jsxs)(he,{...St,children:[x!=null&&x!==""&&(0,$a.jsx)(st,{htmlFor:A&&!Q?void 0:se,id:ce,...A&&!Q&&{component:"div"},...Ht,children:x}),A?(0,$a.jsx)(He,{"aria-describedby":K,id:se,labelId:ce,value:M,input:uo,...ze,children:i}):uo,c&&(0,$a.jsx)(Ct,{id:K,...fe,children:c})]})}),Sd=C3;var Vl=C(U(),1);function E3(e){let t=e.getAttribute("data-color-mode");return t==="light"||t==="dark"?t:globalThis.matchMedia?.("(prefers-color-scheme: dark)").matches?"dark":"light"}function Ku(e){let t=E3(e),o=e.getAttribute(t==="dark"?"data-dark-theme":"data-light-theme");return o?o.startsWith("dark")?"dark":"light":t}var P3=["data-color-mode","data-light-theme","data-dark-theme"];function jP(e,t){let o=Ku(e),r=()=>{let i=Ku(e);i!==o&&(o=i,t(i))},n=new MutationObserver(r);n.observe(e,{attributeFilter:P3});let a=globalThis.matchMedia?.("(prefers-color-scheme: dark)");return a?.addEventListener?.("change",r),()=>{n.disconnect(),a?.removeEventListener?.("change",r)}}var LP=C(j(),1);function kP({children:e}){let[t,o]=(0,Vl.useState)(()=>Ku(document.documentElement));(0,Vl.useEffect)(()=>jP(document.documentElement,o),[]);let r=(0,Vl.useMemo)(()=>vr({palette:{mode:t},typography:{fontFamily:"inherit"}}),[t]);return(0,LP.jsx)(Bf,{theme:r,children:e})}var Eb=C(j(),1);function Cd(e,t,o){let r=e.shadowRoot??e.attachShadow({mode:"open"});g1(e);let n=document.createElement("div"),a=document.createElement("div");a.style.cssText="width:100%;font:inherit;color:inherit",r.append(n,a);let i=cc({key:t,container:n}),l=(0,HP.createRoot)(a);return l.render((0,Eb.jsx)(am,{value:i,children:(0,Eb.jsx)(kP,{children:o})})),l}var IP=C(U(),1),Xu=C(j(),1);function VP({onSend:e,onClose:t}){let[o,r]=(0,IP.useState)("");return(0,Xu.jsxs)(Nl,{elevation:8,sx:{p:1.5},children:[(0,Xu.jsx)(Sd,{autoFocus:!0,fullWidth:!0,multiline:!0,maxRows:6,size:"small",placeholder:"Instructions (optional)",value:o,onChange:i=>r(i.target.value),onKeyDown:i=>{i.key==="Escape"?(i.preventDefault(),t(!0)):i.key==="Enter"&&!i.shiftKey&&!i.nativeEvent.isComposing&&(i.preventDefault(),e(o))},onBlur:()=>{document.hasFocus()&&t(!1)},slotProps:{htmlInput:{"aria-label":"Instructions for assist"}}}),(0,Xu.jsx)(td,{variant:"caption",color:"text.secondary",sx:{display:"block",mt:.5},children:"Enter to send \xB7 Shift+Enter for a new line \xB7 Esc to close"})]})}var $P=C(j(),1),qP=320,GP=16,Qu=null;function R3(e){let t=e.getBoundingClientRect(),o=Math.max(GP,Math.min(t.left,window.innerWidth-qP-GP));return["position: absolute",`top: ${t.bottom+window.scrollY+4}px`,`left: ${o+window.scrollX}px`,`width: ${qP}px`,"z-index: 2147483646"].join(";")}function O3(){Qu?.close()}function FP(e,t){let o=Qu?.anchor;if(O3(),o===e)return;let r=document.createElement("div");r.setAttribute("data-assist-popover",""),r.style.cssText=R3(e),document.body.append(r);let n=()=>{Qu?.close===n&&(Qu=null,r.remove(),queueMicrotask(()=>a.unmount()))};Qu={anchor:e,close:n};let a=Cd(r,"assist-popover",(0,$P.jsx)(VP,{onSend:i=>{n(),t(i)},onClose:i=>{n(),i&&e.focus()}}))}var YP="assist",A3="icons/assist-32.png";function M3(){let e=tc()?.getURL?.(A3);if(!e)return;let t=document.createElement("img");return t.src=e,t.alt="",t}function Ed(e,t,o="comment"){Db();let r=document.createElement("button");r.type="button",r.setAttribute("data-assist-send",""),r.className=o==="header"?"assist-send assist-send--header":"assist-send",r.title=t;let n=document.createElement("span");n.textContent=YP;let a=M3();a&&r.append(a),r.append(n);let i=async l=>{r.disabled=!0,n.textContent="sending\u2026";let s=await zb(e(),l||void 0);Ub(s.message,s.ok),r.disabled=!1,n.textContent=YP};return r.addEventListener("mousedown",l=>l.preventDefault()),r.addEventListener("click",l=>{l.preventDefault(),l.stopPropagation(),FP(r,i)}),r}var N3=['a[href*="#discussion_r"]','a[href*="#issuecomment-"]','a[href*="#pullrequestreview-"]'].join(",");function w3(e){return e.classList.contains("js-timestamp")||e.querySelector("relative-time")!==null}function KP(){for(let e of document.querySelectorAll(N3))w3(e)&&(e.nextElementSibling?.hasAttribute("data-assist-send")||e.after(Ed(()=>e.href,"Start an assist session from this comment")))}var _3=/^\/([^/]+)\/([^/]+)\/(pull|issues)\/(\d+)(?:\/|$)/;function Pb({origin:e,pathname:t}){let o=_3.exec(t);if(!o)return;let[,r,n,a,i]=o;return`${e}/${r}/${n}/${a}/${i}`}var D3='.gh-header-actions, [data-component="PH_Actions"]';function XP(){if(Pb(location))for(let e of document.querySelectorAll(D3))e.querySelector(":scope > [data-assist-send]")||e.prepend(Ed(()=>Pb(location)??location.href,"Start an assist session from this page","header"))}var z3=/^ {0,3}#{1,6}[ \t]+acceptance criteria[ \t]*$/i,B3=/^ {0,3}#{1,6}[ \t]/;function Sr(e){let t=e.split(`
203
+ `),o=t.findIndex(i=>z3.test(i));if(o===-1)return null;let r=o+1;for(;r<t.length&&!B3.test(t[r]);)r+=1;let n=o+1;for(;n<r&&t[n].trim()==="";)n+=1;let a=r;for(;a>n&&t[a-1].trim()==="";)a-=1;return n===r&&(n=o+1,a=o+1),{before:t.slice(0,n),lines:t.slice(n,a),after:t.slice(a)}}function Pd(e){let t=0;for(let o of e)t+=o===" "?4:1;return t}function Rd(e){let t=[];return e.map(o=>{for(;t.length>0&&o<t[t.length-1];)t.pop();return(t.length===0||o>t[t.length-1])&&t.push(o),t.length-1})}var U3=/^([ \t]*)\d+[.)](?:[ \t]+(.*))?$/;function QP(e){let t=Sr(e);if(!t)return null;let o=[];for(let n of t.lines){if(n.trim()==="")continue;let a=U3.exec(n);if(!a)return null;o.push({width:Pd(a[1]),text:a[2]??""})}let r=Rd(o.map(n=>n.width));return{before:t.before,items:o.map((n,a)=>({text:n.text,depth:r[a]})),after:t.after}}function Od(e){let t=QP(e);if(t)return{kind:"outline",items:t.items,before:t.before.join(`
148
204
  `),after:t.after.join(`
149
205
  `)};let o=Sr(e);return o?{kind:"convert",before:[...o.before,...o.lines].join(`
150
206
  `),after:o.after.join(`
151
- `)}:{kind:"insert",before:e,after:""}}var jR=C(U(),1);var XP={display:"flex",alignItems:"flex-start",gap:.25,"& .criterion-action":{opacity:0,transition:"opacity 120ms"},"&:hover .criterion-action":{opacity:1},"&:focus-within .criterion-action":{opacity:1},"& .criterion-action:focus-visible":{opacity:1}},QP={p:.25,mt:"2px",color:"text.disabled",cursor:"grab",touchAction:"none","&:active":{cursor:"grabbing"}},ZP={fontFamily:"monospace",fontSize:"0.8rem",color:"text.secondary",minWidth:32,pt:"5px",textAlign:"right",userSelect:"none",whiteSpace:"nowrap"},Od={flex:1,fontSize:"inherit",lineHeight:1.5,px:.75,py:0,borderRadius:1,"&:hover":{bgcolor:"action.hover"},"&.Mui-focused":{bgcolor:"action.selected"}},Pb={p:.25,mt:"2px"},WP={position:"absolute",right:8,height:2,borderRadius:1,bgcolor:"primary.main",pointerEvents:"none"};var JP=C(j(),1),D3={...Od,flex:"none",width:"100%"};function Zu({label:e,value:t,onChange:o}){return(0,JP.jsx)(Xo,{multiline:!0,fullWidth:!0,value:t,sx:D3,inputProps:{"aria-label":e},onChange:r=>o(r.target.value)})}var eR=C(j(),1),Ad=io((0,eR.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");var tR=C(j(),1),oR=io((0,tR.jsx)("path",{d:"M2 17h2v.5H3v1h1v.5H2v1h3v-4H2zm1-9h1V4H2v1h1zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2zm5-6v2h14V5zm0 14h14v-2H7zm0-6h14v-2H7z"}),"FormatListNumbered");var Wu=C(j(),1),z3={insert:"Add acceptance criteria",convert:"Convert to outline"};function Md({kind:e,onClick:t}){return(0,Wu.jsx)(Qt,{sx:{my:1},"data-preview-skip":!0,children:(0,Wu.jsx)(od,{size:"small",variant:"outlined",startIcon:e==="insert"?(0,Wu.jsx)(Ad,{}):(0,Wu.jsx)(oR,{}),onClick:t,children:z3[e]})})}var rR=`## Acceptance criteria
207
+ `)}:{kind:"insert",before:e,after:""}}var LR=C(U(),1);var ZP={display:"flex",alignItems:"flex-start",gap:.25,"& .criterion-action":{opacity:0,transition:"opacity 120ms"},"&:hover .criterion-action":{opacity:1},"&:focus-within .criterion-action":{opacity:1},"& .criterion-action:focus-visible":{opacity:1}},WP={p:.25,mt:"2px",color:"text.disabled",cursor:"grab",touchAction:"none","&:active":{cursor:"grabbing"}},JP={fontFamily:"monospace",fontSize:"0.8rem",color:"text.secondary",minWidth:32,pt:"5px",textAlign:"right",userSelect:"none",whiteSpace:"nowrap"},Ad={flex:1,fontSize:"inherit",lineHeight:1.5,px:.75,py:0,borderRadius:1,"&:hover":{bgcolor:"action.hover"},"&.Mui-focused":{bgcolor:"action.selected"}},Rb={p:.25,mt:"2px"},eR={position:"absolute",right:8,height:2,borderRadius:1,bgcolor:"primary.main",pointerEvents:"none"};var tR=C(j(),1),j3={...Ad,flex:"none",width:"100%"};function Zu({label:e,value:t,onChange:o}){return(0,tR.jsx)(Xo,{multiline:!0,fullWidth:!0,value:t,sx:j3,inputProps:{"aria-label":e},onChange:r=>o(r.target.value)})}var oR=C(j(),1),Md=io((0,oR.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");var rR=C(j(),1),nR=io((0,rR.jsx)("path",{d:"M2 17h2v.5H3v1h1v.5H2v1h3v-4H2zm1-9h1V4H2v1h1zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2zm5-6v2h14V5zm0 14h14v-2H7zm0-6h14v-2H7z"}),"FormatListNumbered");var Wu=C(j(),1),k3={insert:"Add acceptance criteria",convert:"Convert to outline"};function Nd({kind:e,onClick:t}){return(0,Wu.jsx)(Qt,{sx:{my:1},"data-preview-skip":!0,children:(0,Wu.jsx)(rd,{size:"small",variant:"outlined",startIcon:e==="insert"?(0,Wu.jsx)(Md,{}):(0,Wu.jsx)(nR,{}),onClick:t,children:k3[e]})})}var aR=`## Acceptance criteria
152
208
 
153
- 1.`;function nR(e){let t=e.replace(/\n+$/,"");return t===""?rR:`${t}
209
+ 1.`;function iR(e){let t=e.replace(/\n+$/,"");return t===""?aR:`${t}
154
210
 
155
- ${rR}`}var Ju=C(j(),1),B3="Issue body";function aR({body:e,onBody:t}){return(0,Ju.jsxs)(Qt,{sx:{width:"100%"},children:[(0,Ju.jsx)(Zu,{label:B3,value:e,onChange:t}),(0,Ju.jsx)(Md,{kind:"insert",onClick:()=>t(nR(e))})]})}var DR=C(U(),1);function iR(e){let t=[];return e.map(o=>(t.length=o+1,t[o]=(t[o]??0)+1,t.map(r=>r??1).join(".")))}function Nd(e){return e*22}function lR(e){return Math.round(e/22)}var uR=C(j(),1),U3=8;function sR({drag:e}){return e?(0,uR.jsx)(Qt,{sx:WP,style:{top:e.top-1,left:U3+Nd(e.depth)}}):null}var cR=C(j(),1),pR=io((0,cR.jsx)("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2m-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"DragIndicator");var Rb=C(j(),1);function fR({number:e,onGrip:t}){return(0,Rb.jsx)(ka,{size:"small",className:"criterion-action",sx:QP,"aria-label":`Reorder criterion ${e}`,onPointerDown:t,children:(0,Rb.jsx)(pR,{fontSize:"inherit"})})}var dR=C(j(),1),mR=io((0,dR.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");var Jr=C(j(),1);function yR({number:e,onAdd:t,onDelete:o}){return(0,Jr.jsxs)(Jr.Fragment,{children:[(0,Jr.jsx)(ka,{size:"small",className:"criterion-action",sx:Pb,"aria-label":`Add criterion after ${e}`,onClick:t,children:(0,Jr.jsx)(Ad,{fontSize:"inherit"})}),(0,Jr.jsx)(ka,{size:"small",className:"criterion-action",sx:Pb,"aria-label":`Delete criterion ${e}`,onClick:o,children:(0,Jr.jsx)(mR,{fontSize:"inherit"})})]})}var wd=C(U(),1);function hR(e,t){return e==="start"?0:e==="end"?t:Math.min(Math.max(e,0),t)}function gR(e){let t=(0,wd.useRef)(null);return(0,wd.useEffect)(()=>{let o=t.current;if(!e||!o)return;o.focus();let r=hR(e.caret,o.value.length);o.setSelectionRange(r,r)},[e]),t}var Ya=C(j(),1);function bR({index:e,number:t,item:o,outline:r,dragging:n,onGrip:a}){let i=gR(r.focus?.index===e?r.focus:null),l={marginLeft:Nd(o.depth),opacity:n?.4:1};return(0,Ya.jsxs)(Qt,{sx:XP,"data-criterion-row":!0,style:l,children:[(0,Ya.jsx)(fR,{number:t,onGrip:a}),(0,Ya.jsx)(Qt,{component:"span",sx:ZP,"aria-hidden":"true",children:`${t}.`}),(0,Ya.jsx)(Xo,{multiline:!0,value:o.text,sx:Od,inputRef:i,inputProps:{"aria-label":`Criterion ${t}`},onChange:s=>r.onText(e,s.target.value),onKeyDown:s=>r.onKeyDown(e,s)}),(0,Ya.jsx)(yR,{number:t,onAdd:()=>r.onAdd(e),onDelete:()=>r.onDelete(e)})]})}var PR=C(U(),1);function TR(e,t,{key:o,shift:r,alt:n,caret:a,text:i}){return n||r?null:o==="ArrowUp"&&a===0&&t>0?{kind:"focus",index:t-1}:o==="ArrowDown"&&a===i.length&&t<e.length-1?{kind:"focus",index:t+1}:null}function Yn(e){if(e.length===0)return[{text:"",depth:0}];let t=-1;return e.map(o=>{let r=Math.min(Math.max(o.depth,0),t+1);return t=r,o.depth===r?o:{...o,depth:r}})}function _d(e,t,o,r){let n=e[t]?.depth??0,a=e.map((i,l)=>l===t?{...i,text:o}:i);return{items:Yn([...a.slice(0,t+1),{text:r,depth:n},...a.slice(t+1)]),index:t+1}}function Ao(e,t){let o=t+1;for(;o<e.length&&e[o].depth>e[t].depth;)o+=1;return o}function Dd(e,t){let o=e[t].depth;for(let r=t-1;r>=0;r-=1){if(e[r].depth<o)return-1;if(e[r].depth===o)return r}return-1}function vR(e,t){let o=Ao(e,t);return o<e.length&&e[o].depth===e[t].depth?o:-1}function xR(e,t,o){let r=o<0?Dd(e,t):vR(e,t);if(r<0)return null;let n=Ao(e,t),a=e.slice(t,n),i=[...e.slice(0,t),...e.slice(n)],l=o<0?r:Ao(e,r)-(n-t);return{items:[...i.slice(0,l),...a,...i.slice(l)],index:l}}function zd(e,t){let o=Ao(e,t),r=e.map((n,a)=>a>t&&a<o?{...n,depth:n.depth-1}:n).filter((n,a)=>a!==t);return{items:Yn(r),index:Math.max(0,t-1)}}function SR(e,t,o){if(o<0&&e[t].depth===0||o>0&&Dd(e,t)<0)return null;let r=Ao(e,t);return e.map((n,a)=>a>=t&&a<r?{...n,depth:n.depth+o}:n)}function Bd(e,t){return e?{kind:"edit",edit:e,caret:t}:null}function j3(e,t,{caret:o,text:r}){let n=r.slice(0,o);return Bd(_d(e,t,n,r.slice(o)),"start")}function k3(e,t,{shift:o,caret:r}){let n=SR(e,t,o?-1:1);return Bd(n?{items:n,index:t}:null,r)}function CR(e,t,o){let{key:r,shift:n,alt:a,caret:i,text:l}=o;return r==="Enter"&&!n?j3(e,t,o):r==="Tab"?k3(e,t,o):a&&(r==="ArrowUp"||r==="ArrowDown")?Bd(xR(e,t,r==="ArrowUp"?-1:1),i):r==="Backspace"&&i===0&&l===""?Bd(zd(e,t),"end"):null}function ER(e,t,o){return CR(e,t,o)??TR(e,t,o)}function RR(e,t){let[o,r]=(0,PR.useState)(null),n=(i,l)=>{i&&(t(i.items),r({index:i.index,caret:l}))};return{focus:o,onKeyDown:(i,l)=>{let s=l.currentTarget;(l.key==="Enter"||l.key==="Tab")&&l.preventDefault();let u=ER(e,i,{key:l.key,shift:l.shiftKey,alt:l.altKey,caret:s.selectionStart??0,text:s.value});u&&(l.preventDefault(),u.kind==="focus"?r({index:u.index,caret:"end"}):n(u.edit,u.caret))},onDrop:i=>n(i,"end"),onText:(i,l)=>t(e.map((s,u)=>u===i?{...s,text:l}:s)),onAdd:i=>n(_d(e,i,e[i].text,""),"start"),onDelete:i=>n(zd(e,i),"end")}}var wR=C(U(),1);function L3(e,t,o,r){let n=t.length;for(let i=0;i<e.length;i+=1)if(r<e[i].top+e[i].height/2){n=i;break}let a=Ao(t,o);return n>o&&n<a?o:n}function H3(e,t,o,r){let n=Ao(e,t),a=o-1,i=a>=t&&a<n?t-1:a,l=i>=0?e[i].depth+1:0;return Math.max(0,Math.min(e[t].depth+lR(r),l))}function V3(e,t){if(t<e.length)return e[t].top;let o=e[e.length-1];return o?o.top+o.height:0}function OR(e,t,o,r,n){let a=L3(e,t,o,n);return{target:a,depth:H3(t,o,a,r),top:V3(e,a)}}function I3(e){let t=e.getBoundingClientRect().top;return{boxes:Array.from(e.querySelectorAll("[data-criterion-row]")).map(r=>{let n=r.getBoundingClientRect();return{top:n.top-t,height:n.height}}),origin:t}}function AR(e,t,o,r){return n=>{let{boxes:a,origin:i}=I3(t);return OR(a,e,o,n.clientX-r,n.clientY-i)}}function MR(e,t,o,r,n){let a=new AbortController,i=null,l=p=>{i=o(p),r(i)},s=()=>{a.abort(),i&&n(i)},u={signal:a.signal};return e.setPointerCapture(t),e.addEventListener("pointermove",l,u),e.addEventListener("pointerup",s,u),e.addEventListener("pointercancel",s,u),l}function NR(e,t,o,r){let n=Ao(e,t),a=r-e[t].depth,i=e.slice(t,n).map(u=>({...u,depth:Math.max(0,u.depth+a)})),l=[...e.slice(0,t),...e.slice(n)],s=o>t?o-i.length:o;return{items:Yn([...l.slice(0,s),...i,...l.slice(s)]),index:s}}function _R(e,t,o){let[r,n]=(0,wR.useState)(null);return{drag:r,onGrip:i=>l=>{let s=t.current;if(!s||l.pointerType==="mouse"&&l.button!==0)return;l.preventDefault(),MR(l.currentTarget,l.pointerId,AR(e,s,i,l.clientX),p=>n({from:i,depth:p.depth,top:p.top}),p=>{n(null),o(NR(e,i,p.target,p.depth))})(l)}}}var ec=C(j(),1),q3={my:1,px:1,py:.5,border:1,borderColor:"divider",borderRadius:1,position:"relative",userSelect:"text",cursor:"auto"},G3=[{text:"",depth:0}];function zR({items:e,onChange:t}){let o=(0,DR.useRef)(null),r=e.length>0?e:G3,n=RR(r,t),{drag:a,onGrip:i}=_R(r,o,n.onDrop),l=iR(r.map(s=>s.depth));return(0,ec.jsxs)(Qt,{sx:q3,ref:o,"data-preview-skip":!0,"aria-label":"Acceptance criteria",children:[r.map((s,u)=>(0,ec.jsx)(bR,{index:u,number:l[u],item:s,outline:n,dragging:a?.from===u,onGrip:i(u)},`criterion-${u}`)),(0,ec.jsx)(sR,{drag:a})]})}var F3=" ";function $3({text:e,depth:t}){let o=`${F3.repeat(t)}1.`;return e===""?o:`${o} ${e}`}function Ud(e,t){let o=Sr(e);return o?[...o.before,...t.map($3),...o.after].join(`
156
- `):e}var Y3=/^([ \t]*)(?:[-*+]|\d+[.)])(?:[ \t]+(.*))?$/,K3=/^\[[ xX]\][ \t]*/;function X3(e){return e.slice(0,e.length-e.trimStart().length)}function BR(e){let t=Sr(e);if(!t)return e;let o=t.lines.filter(n=>n.trim()!=="").map(n=>{let a=Y3.exec(n);return{width:Ed(a?a[1]:X3(n)),text:(a?a[2]??"":n.trim()).replace(K3,"")}}),r=Pd(o.map(n=>n.width));return Ud(e,Yn(o.map((n,a)=>({text:n.text,depth:r[a]}))))}var Ob=C(j(),1);function UR({items:e,body:t,onBody:o}){return e?(0,Ob.jsx)(zR,{items:e,onChange:r=>o(Ud(t,r))}):(0,Ob.jsx)(Md,{kind:"convert",onClick:()=>o(BR(t))})}var Ka=C(j(),1),Q3="Body before acceptance criteria",Z3="Body after acceptance criteria";function kR({initialBody:e,onBody:t}){let[o,r]=(0,jR.useState)(e),n=Rd(o),a=Sr(o),i=p=>{r(p),t(p)};if(n.kind==="insert"||!a)return(0,Ka.jsx)(aR,{body:o,onBody:i});let l=n.kind==="outline"?n.items:null,s=l?a.before:[...a.before,...a.lines],u=l?a.lines:[];return(0,Ka.jsxs)(Qt,{sx:{width:"100%"},children:[(0,Ka.jsx)(Zu,{label:Q3,value:s.join(`
211
+ ${aR}`}var Ju=C(j(),1),L3="Issue body";function lR({body:e,onBody:t}){return(0,Ju.jsxs)(Qt,{sx:{width:"100%"},children:[(0,Ju.jsx)(Zu,{label:L3,value:e,onChange:t}),(0,Ju.jsx)(Nd,{kind:"insert",onClick:()=>t(iR(e))})]})}var BR=C(U(),1);function sR(e){let t=[];return e.map(o=>(t.length=o+1,t[o]=(t[o]??0)+1,t.map(r=>r??1).join(".")))}function wd(e){return e*22}function uR(e){return Math.round(e/22)}var pR=C(j(),1),H3=8;function cR({drag:e}){return e?(0,pR.jsx)(Qt,{sx:eR,style:{top:e.top-1,left:H3+wd(e.depth)}}):null}var fR=C(j(),1),dR=io((0,fR.jsx)("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2m-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"DragIndicator");var Ob=C(j(),1);function mR({number:e,onGrip:t}){return(0,Ob.jsx)(ka,{size:"small",className:"criterion-action",sx:WP,"aria-label":`Reorder criterion ${e}`,onPointerDown:t,children:(0,Ob.jsx)(dR,{fontSize:"inherit"})})}var yR=C(j(),1),hR=io((0,yR.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");var Jr=C(j(),1);function gR({number:e,onAdd:t,onDelete:o}){return(0,Jr.jsxs)(Jr.Fragment,{children:[(0,Jr.jsx)(ka,{size:"small",className:"criterion-action",sx:Rb,"aria-label":`Add criterion after ${e}`,onClick:t,children:(0,Jr.jsx)(Md,{fontSize:"inherit"})}),(0,Jr.jsx)(ka,{size:"small",className:"criterion-action",sx:Rb,"aria-label":`Delete criterion ${e}`,onClick:o,children:(0,Jr.jsx)(hR,{fontSize:"inherit"})})]})}var _d=C(U(),1);function bR(e,t){return e==="start"?0:e==="end"?t:Math.min(Math.max(e,0),t)}function TR(e){let t=(0,_d.useRef)(null);return(0,_d.useEffect)(()=>{let o=t.current;if(!e||!o)return;o.focus();let r=bR(e.caret,o.value.length);o.setSelectionRange(r,r)},[e]),t}var Ya=C(j(),1);function vR({index:e,number:t,item:o,outline:r,dragging:n,onGrip:a}){let i=TR(r.focus?.index===e?r.focus:null),l={marginLeft:wd(o.depth),opacity:n?.4:1};return(0,Ya.jsxs)(Qt,{sx:ZP,"data-criterion-row":!0,style:l,children:[(0,Ya.jsx)(mR,{number:t,onGrip:a}),(0,Ya.jsx)(Qt,{component:"span",sx:JP,"aria-hidden":"true",children:`${t}.`}),(0,Ya.jsx)(Xo,{multiline:!0,value:o.text,sx:Ad,inputRef:i,inputProps:{"aria-label":`Criterion ${t}`},onChange:s=>r.onText(e,s.target.value),onKeyDown:s=>r.onKeyDown(e,s)}),(0,Ya.jsx)(gR,{number:t,onAdd:()=>r.onAdd(e),onDelete:()=>r.onDelete(e)})]})}var OR=C(U(),1);function xR(e,t,{key:o,shift:r,alt:n,caret:a,text:i}){return n||r?null:o==="ArrowUp"&&a===0&&t>0?{kind:"focus",index:t-1}:o==="ArrowDown"&&a===i.length&&t<e.length-1?{kind:"focus",index:t+1}:null}function Yn(e){if(e.length===0)return[{text:"",depth:0}];let t=-1;return e.map(o=>{let r=Math.min(Math.max(o.depth,0),t+1);return t=r,o.depth===r?o:{...o,depth:r}})}function Dd(e,t,o,r){let n=e[t]?.depth??0,a=e.map((i,l)=>l===t?{...i,text:o}:i);return{items:Yn([...a.slice(0,t+1),{text:r,depth:n},...a.slice(t+1)]),index:t+1}}function Ao(e,t){let o=t+1;for(;o<e.length&&e[o].depth>e[t].depth;)o+=1;return o}function zd(e,t){let o=e[t].depth;for(let r=t-1;r>=0;r-=1){if(e[r].depth<o)return-1;if(e[r].depth===o)return r}return-1}function SR(e,t){let o=Ao(e,t);return o<e.length&&e[o].depth===e[t].depth?o:-1}function CR(e,t,o){let r=o<0?zd(e,t):SR(e,t);if(r<0)return null;let n=Ao(e,t),a=e.slice(t,n),i=[...e.slice(0,t),...e.slice(n)],l=o<0?r:Ao(e,r)-(n-t);return{items:[...i.slice(0,l),...a,...i.slice(l)],index:l}}function Bd(e,t){let o=Ao(e,t),r=e.map((n,a)=>a>t&&a<o?{...n,depth:n.depth-1}:n).filter((n,a)=>a!==t);return{items:Yn(r),index:Math.max(0,t-1)}}function ER(e,t,o){if(o<0&&e[t].depth===0||o>0&&zd(e,t)<0)return null;let r=Ao(e,t);return e.map((n,a)=>a>=t&&a<r?{...n,depth:n.depth+o}:n)}function Ud(e,t){return e?{kind:"edit",edit:e,caret:t}:null}function I3(e,t,{caret:o,text:r}){let n=r.slice(0,o);return Ud(Dd(e,t,n,r.slice(o)),"start")}function V3(e,t,{shift:o,caret:r}){let n=ER(e,t,o?-1:1);return Ud(n?{items:n,index:t}:null,r)}function PR(e,t,o){let{key:r,shift:n,alt:a,caret:i,text:l}=o;return r==="Enter"&&!n?I3(e,t,o):r==="Tab"?V3(e,t,o):a&&(r==="ArrowUp"||r==="ArrowDown")?Ud(CR(e,t,r==="ArrowUp"?-1:1),i):r==="Backspace"&&i===0&&l===""?Ud(Bd(e,t),"end"):null}function RR(e,t,o){return PR(e,t,o)??xR(e,t,o)}function AR(e,t){let[o,r]=(0,OR.useState)(null),n=(i,l)=>{i&&(t(i.items),r({index:i.index,caret:l}))};return{focus:o,onKeyDown:(i,l)=>{let s=l.currentTarget;(l.key==="Enter"||l.key==="Tab")&&l.preventDefault();let u=RR(e,i,{key:l.key,shift:l.shiftKey,alt:l.altKey,caret:s.selectionStart??0,text:s.value});u&&(l.preventDefault(),u.kind==="focus"?r({index:u.index,caret:"end"}):n(u.edit,u.caret))},onDrop:i=>n(i,"end"),onText:(i,l)=>t(e.map((s,u)=>u===i?{...s,text:l}:s)),onAdd:i=>n(Dd(e,i,e[i].text,""),"start"),onDelete:i=>n(Bd(e,i),"end")}}var DR=C(U(),1);function q3(e,t,o,r){let n=t.length;for(let i=0;i<e.length;i+=1)if(r<e[i].top+e[i].height/2){n=i;break}let a=Ao(t,o);return n>o&&n<a?o:n}function G3(e,t,o,r){let n=Ao(e,t),a=o-1,i=a>=t&&a<n?t-1:a,l=i>=0?e[i].depth+1:0;return Math.max(0,Math.min(e[t].depth+uR(r),l))}function F3(e,t){if(t<e.length)return e[t].top;let o=e[e.length-1];return o?o.top+o.height:0}function MR(e,t,o,r,n){let a=q3(e,t,o,n);return{target:a,depth:G3(t,o,a,r),top:F3(e,a)}}function $3(e){let t=e.getBoundingClientRect().top;return{boxes:Array.from(e.querySelectorAll("[data-criterion-row]")).map(r=>{let n=r.getBoundingClientRect();return{top:n.top-t,height:n.height}}),origin:t}}function NR(e,t,o,r){return n=>{let{boxes:a,origin:i}=$3(t);return MR(a,e,o,n.clientX-r,n.clientY-i)}}function wR(e,t,o,r,n){let a=new AbortController,i=null,l=p=>{i=o(p),r(i)},s=()=>{a.abort(),i&&n(i)},u={signal:a.signal};return e.setPointerCapture(t),e.addEventListener("pointermove",l,u),e.addEventListener("pointerup",s,u),e.addEventListener("pointercancel",s,u),l}function _R(e,t,o,r){let n=Ao(e,t),a=r-e[t].depth,i=e.slice(t,n).map(u=>({...u,depth:Math.max(0,u.depth+a)})),l=[...e.slice(0,t),...e.slice(n)],s=o>t?o-i.length:o;return{items:Yn([...l.slice(0,s),...i,...l.slice(s)]),index:s}}function zR(e,t,o){let[r,n]=(0,DR.useState)(null);return{drag:r,onGrip:i=>l=>{let s=t.current;if(!s||l.pointerType==="mouse"&&l.button!==0)return;l.preventDefault(),wR(l.currentTarget,l.pointerId,NR(e,s,i,l.clientX),p=>n({from:i,depth:p.depth,top:p.top}),p=>{n(null),o(_R(e,i,p.target,p.depth))})(l)}}}var ec=C(j(),1),Y3={my:1,px:1,py:.5,border:1,borderColor:"divider",borderRadius:1,position:"relative",userSelect:"text",cursor:"auto"},K3=[{text:"",depth:0}];function UR({items:e,onChange:t}){let o=(0,BR.useRef)(null),r=e.length>0?e:K3,n=AR(r,t),{drag:a,onGrip:i}=zR(r,o,n.onDrop),l=sR(r.map(s=>s.depth));return(0,ec.jsxs)(Qt,{sx:Y3,ref:o,"data-preview-skip":!0,"aria-label":"Acceptance criteria",children:[r.map((s,u)=>(0,ec.jsx)(vR,{index:u,number:l[u],item:s,outline:n,dragging:a?.from===u,onGrip:i(u)},`criterion-${u}`)),(0,ec.jsx)(cR,{drag:a})]})}var X3=" ";function Q3({text:e,depth:t}){let o=`${X3.repeat(t)}1.`;return e===""?o:`${o} ${e}`}function jd(e,t){let o=Sr(e);return o?[...o.before,...t.map(Q3),...o.after].join(`
212
+ `):e}var Z3=/^([ \t]*)(?:[-*+]|\d+[.)])(?:[ \t]+(.*))?$/,W3=/^\[[ xX]\][ \t]*/;function J3(e){return e.slice(0,e.length-e.trimStart().length)}function jR(e){let t=Sr(e);if(!t)return e;let o=t.lines.filter(n=>n.trim()!=="").map(n=>{let a=Z3.exec(n);return{width:Pd(a?a[1]:J3(n)),text:(a?a[2]??"":n.trim()).replace(W3,"")}}),r=Rd(o.map(n=>n.width));return jd(e,Yn(o.map((n,a)=>({text:n.text,depth:r[a]}))))}var Ab=C(j(),1);function kR({items:e,body:t,onBody:o}){return e?(0,Ab.jsx)(UR,{items:e,onChange:r=>o(jd(t,r))}):(0,Ab.jsx)(Nd,{kind:"convert",onClick:()=>o(jR(t))})}var Ka=C(j(),1),ez="Body before acceptance criteria",tz="Body after acceptance criteria";function HR({initialBody:e,onBody:t}){let[o,r]=(0,LR.useState)(e),n=Od(o),a=Sr(o),i=p=>{r(p),t(p)};if(n.kind==="insert"||!a)return(0,Ka.jsx)(lR,{body:o,onBody:i});let l=n.kind==="outline"?n.items:null,s=l?a.before:[...a.before,...a.lines],u=l?a.lines:[];return(0,Ka.jsxs)(Qt,{sx:{width:"100%"},children:[(0,Ka.jsx)(Zu,{label:ez,value:s.join(`
157
213
  `),onChange:p=>i([...p.split(`
158
214
  `),...u,...a.after].join(`
159
- `))}),(0,Ka.jsx)(UR,{items:l,body:o,onBody:i}),(0,Ka.jsx)(Zu,{label:Z3,value:a.after.join(`
215
+ `))}),(0,Ka.jsx)(kR,{items:l,body:o,onBody:i}),(0,Ka.jsx)(Zu,{label:tz,value:a.after.join(`
160
216
  `),onChange:p=>i([...s,...u,...p.split(`
161
217
  `)].join(`
162
- `))})]})}var HR=C(j(),1);function LR(e,t,o){return Sd(e,"assist-criteria",(0,HR.jsx)(kR,{initialBody:t,onBody:o}))}var VR=Object.getOwnPropertyDescriptor(HTMLTextAreaElement.prototype,"value")?.set;function IR(e,t){VR?VR.call(e,t):e.value=t,e.dispatchEvent(new Event("input",{bubbles:!0})),e.dispatchEvent(new Event("change",{bubbles:!0}))}var W3="display:block;width:100%;flex:1 1 auto;align-self:stretch";function qR(e){let t=null,o=null;return{show(){t=document.createElement("div"),t.style.cssText=W3,e.parentElement?.insertBefore(t,e.nextSibling),e.style.display="none",o=LR(t,e.value,r=>IR(e,r))},hide(){o?.unmount(),o=null,t?.remove(),t=null,e.style.display=""}}}var J3=["font: inherit","font-size: 12px","display: inline-flex","align-items: center","align-self: center","line-height: 20px","padding: 1px 8px","margin: 0 4px","border-radius: 6px","border: 1px solid var(--borderColor-default, #d0d7de)","background: var(--bgColor-muted, transparent)","color: var(--fgColor-default, inherit)","cursor: pointer"].join(";"),GR={open:"Edit markdown",closed:"Outline criteria"};function FR(e){let t=document.createElement("button");t.type="button",t.setAttribute("data-assist-criteria-toggle",""),t.style.cssText=J3;let o=r=>{t.setAttribute("aria-pressed",String(r)),t.textContent=r?GR.open:GR.closed};return o(!1),t.addEventListener("click",r=>{r.preventDefault();let n=t.getAttribute("aria-pressed")!=="true";o(n),e(n)}),{element:t,setOpen:o}}var ez='markdown-toolbar, [role="toolbar"]';function $R(e){for(let t=e.parentElement;t;t=t.parentElement){let o=t.querySelector(ez);if(o)return o;if(t.tagName==="FORM")break}return null}var YR="data-assist-criteria-attached";function tz(e,t){let o=$R(e);o?o.append(t):e.parentElement?.insertBefore(t,e)}function KR(e){return Rd(e).kind==="outline"}function XR(e){if(e.hasAttribute(YR))return;e.setAttribute(YR,"");let t=qR(e);function o(){e.removeEventListener("input",a)}function r(){o(),t.show(),i.setOpen(!0)}function n(){o(),t.hide(),i.setOpen(!1)}function a(){KR(e.value)&&r()}let i=FR(l=>l?r():n());tz(e,i.element),KR(e.value)?r():e.addEventListener("input",a)}var oz=/^\/[^/]+\/[^/]+\/issues\/(?:\d+|new)(?:\/|$)/;function QR(e){return oz.test(e)}var rz=/issue.?body/i,nz=/description/i,az=/comment/i;function ZR(e){let t=[e.name,e.id,e.getAttribute("data-testid")??"",e.getAttribute("aria-label")??""],o=e.placeholder;return[...t,o].some(r=>az.test(r))?!1:t.some(r=>rz.test(r))||nz.test(o)}function WR(){if(QR(globalThis.location.pathname))for(let e of document.querySelectorAll("textarea"))ZR(e)&&XR(e)}function jd(e){e(),new MutationObserver(e).observe(document.documentElement,{childList:!0,subtree:!0})}function JR(){jd(WR)}function iz(){JR(),jd(()=>{$P(),YP()})}iz();})();
218
+ `))})]})}var VR=C(j(),1);function IR(e,t,o){return Cd(e,"assist-criteria",(0,VR.jsx)(HR,{initialBody:t,onBody:o}))}var qR=Object.getOwnPropertyDescriptor(HTMLTextAreaElement.prototype,"value")?.set;function GR(e,t){qR?qR.call(e,t):e.value=t,e.dispatchEvent(new Event("input",{bubbles:!0})),e.dispatchEvent(new Event("change",{bubbles:!0}))}var oz="display:block;width:100%;flex:1 1 auto;align-self:stretch";function FR(e){let t=null,o=null;return{show(){t=document.createElement("div"),t.style.cssText=oz,e.parentElement?.insertBefore(t,e.nextSibling),e.style.display="none",o=IR(t,e.value,r=>GR(e,r))},hide(){o?.unmount(),o=null,t?.remove(),t=null,e.style.display=""}}}var rz=["font: inherit","font-size: 12px","display: inline-flex","align-items: center","align-self: center","line-height: 20px","padding: 1px 8px","margin: 0 4px","border-radius: 6px","border: 1px solid var(--borderColor-default, #d0d7de)","background: var(--bgColor-muted, transparent)","color: var(--fgColor-default, inherit)","cursor: pointer"].join(";"),$R={open:"Edit markdown",closed:"Outline criteria"};function YR(e){let t=document.createElement("button");t.type="button",t.setAttribute("data-assist-criteria-toggle",""),t.style.cssText=rz;let o=r=>{t.setAttribute("aria-pressed",String(r)),t.textContent=r?$R.open:$R.closed};return o(!1),t.addEventListener("click",r=>{r.preventDefault();let n=t.getAttribute("aria-pressed")!=="true";o(n),e(n)}),{element:t,setOpen:o}}var nz='markdown-toolbar, [role="toolbar"]';function KR(e){for(let t=e.parentElement;t;t=t.parentElement){let o=t.querySelector(nz);if(o)return o;if(t.tagName==="FORM")break}return null}var XR="data-assist-criteria-attached";function az(e,t){let o=KR(e);o?o.append(t):e.parentElement?.insertBefore(t,e)}function QR(e){return Od(e).kind==="outline"}function ZR(e){if(e.hasAttribute(XR))return;e.setAttribute(XR,"");let t=FR(e);function o(){e.removeEventListener("input",a)}function r(){o(),t.show(),i.setOpen(!0)}function n(){o(),t.hide(),i.setOpen(!1)}function a(){QR(e.value)&&r()}let i=YR(l=>l?r():n());az(e,i.element),QR(e.value)?r():e.addEventListener("input",a)}var iz=/^\/[^/]+\/[^/]+\/issues\/(?:\d+|new)(?:\/|$)/;function WR(e){return iz.test(e)}var lz=/issue.?body/i,sz=/description/i,uz=/comment/i;function JR(e){let t=[e.name,e.id,e.getAttribute("data-testid")??"",e.getAttribute("aria-label")??""],o=e.placeholder;return[...t,o].some(r=>uz.test(r))?!1:t.some(r=>lz.test(r))||sz.test(o)}function e2(){if(WR(globalThis.location.pathname))for(let e of document.querySelectorAll("textarea"))JR(e)&&ZR(e)}function kd(e){e(),new MutationObserver(e).observe(document.documentElement,{childList:!0,subtree:!0})}function t2(){kd(e2)}function cz(){t2(),kd(()=>{KP(),XP()})}cz();})();
163
219
  /*! Bundled license information:
164
220
 
165
221
  react/cjs/react.production.js: