@staff0rd/assist 0.891.1 → 0.893.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,12 @@
1
- "use strict";(()=>{var nO=Object.create;var mm=Object.defineProperty;var aO=Object.getOwnPropertyDescriptor;var iO=Object.getOwnPropertyNames;var lO=Object.getPrototypeOf,sO=Object.prototype.hasOwnProperty;var uO=(e,t,o)=>t in e?mm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var $t=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var cO=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of iO(t))!sO.call(e,n)&&n!==o&&mm(e,n,{get:()=>t[n],enumerable:!(r=aO(t,n))||r.enumerable});return e};var S=(e,t,o)=>(o=e!=null?nO(lO(e)):{},cO(t||!e||!e.__esModule?mm(o,"default",{value:e,enumerable:!0}):o,e));var ai=(e,t,o)=>uO(e,typeof t!="symbol"?t+"":t,o);var bT=$t(W=>{"use strict";var gm=Symbol.for("react.transitional.element"),vO=Symbol.for("react.portal"),xO=Symbol.for("react.fragment"),SO=Symbol.for("react.strict_mode"),CO=Symbol.for("react.profiler"),EO=Symbol.for("react.consumer"),PO=Symbol.for("react.context"),RO=Symbol.for("react.forward_ref"),OO=Symbol.for("react.suspense"),AO=Symbol.for("react.memo"),fT=Symbol.for("react.lazy"),MO=Symbol.for("react.activity"),sT=Symbol.iterator;function wO(e){return e===null||typeof e!="object"?null:(e=sT&&e[sT]||e["@@iterator"],typeof e=="function"?e:null)}var dT={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},mT=Object.assign,yT={};function ui(e,t,o){this.props=e,this.context=t,this.refs=yT,this.updater=o||dT}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 hT(){}hT.prototype=ui.prototype;function bm(e,t,o){this.props=e,this.context=t,this.refs=yT,this.updater=o||dT}var Tm=bm.prototype=new hT;Tm.constructor=bm;mT(Tm,ui.prototype);Tm.isPureReactComponent=!0;var uT=Array.isArray;function hm(){}var Le={H:null,A:null,T:null,S:null},gT=Object.prototype.hasOwnProperty;function vm(e,t,o){var r=o.ref;return{$$typeof:gm,type:e,key:t,ref:r!==void 0?r:null,props:o}}function NO(e,t){return vm(e.type,t,e.props)}function xm(e){return typeof e=="object"&&e!==null&&e.$$typeof===gm}function _O(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(o){return t[o]})}var cT=/\/+/g;function ym(e,t){return typeof e=="object"&&e!==null&&e.key!=null?_O(""+e.key):t.toString(36)}function DO(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(hm,hm):(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 gm:case vO:i=!0;break;case fT:return i=e._init,si(i(e._payload),t,o,r,n)}}if(i)return n=n(e),i=r===""?"."+ym(e,0):r,uT(n)?(o="",i!=null&&(o=i.replace(cT,"$&/")+"/"),si(n,t,o,"",function(u){return u})):n!=null&&(xm(n)&&(n=NO(n,o+(n.key==null||e&&e.key===n.key?"":(""+n.key).replace(cT,"$&/")+"/")+i)),t.push(n)),1;i=0;var l=r===""?".":r+":";if(uT(e))for(var s=0;s<e.length;s++)r=e[s],a=l+ym(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+ym(r,s++),i+=si(r,t,o,a,n);else if(a==="object"){if(typeof e.then=="function")return si(DO(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 bc(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 zO(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 pT=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)},BO={map:bc,forEach:function(e,t,o){bc(e,function(){t.apply(this,arguments)},o)},count:function(e){var t=0;return bc(e,function(){t++}),t},toArray:function(e){return bc(e,function(t){return t})||[]},only:function(e){if(!xm(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};W.Activity=MO;W.Children=BO;W.Component=ui;W.Fragment=xO;W.Profiler=CO;W.PureComponent=bm;W.StrictMode=SO;W.Suspense=OO;W.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Le;W.__COMPILER_RUNTIME={__proto__:null,c:function(e){return Le.H.useMemoCache(e)}};W.cache=function(e){return function(){return e.apply(null,arguments)}};W.cacheSignal=function(){return null};W.cloneElement=function(e,t,o){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var r=mT({},e.props),n=e.key;if(t!=null)for(a in t.key!==void 0&&(n=""+t.key),t)!gT.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 vm(e.type,n,r)};W.createContext=function(e){return e={$$typeof:PO,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:EO,_context:e},e};W.createElement=function(e,t,o){var r,n={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=""+t.key),t)gT.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 vm(e,a,n)};W.createRef=function(){return{current:null}};W.forwardRef=function(e){return{$$typeof:RO,render:e}};W.isValidElement=xm;W.lazy=function(e){return{$$typeof:fT,_payload:{_status:-1,_result:e},_init:zO}};W.memo=function(e,t){return{$$typeof:AO,type:e,compare:t===void 0?null:t}};W.startTransition=function(e){var t=Le.T,o={};Le.T=o;try{var r=e(),n=Le.S;n!==null&&n(o,r),typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.then(hm,pT)}catch(a){pT(a)}finally{t!==null&&o.types!==null&&(t.types=o.types),Le.T=t}};W.unstable_useCacheRefresh=function(){return Le.H.useCacheRefresh()};W.use=function(e){return Le.H.use(e)};W.useActionState=function(e,t,o){return Le.H.useActionState(e,t,o)};W.useCallback=function(e,t){return Le.H.useCallback(e,t)};W.useContext=function(e){return Le.H.useContext(e)};W.useDebugValue=function(){};W.useDeferredValue=function(e,t){return Le.H.useDeferredValue(e,t)};W.useEffect=function(e,t){return Le.H.useEffect(e,t)};W.useEffectEvent=function(e){return Le.H.useEffectEvent(e)};W.useId=function(){return Le.H.useId()};W.useImperativeHandle=function(e,t,o){return Le.H.useImperativeHandle(e,t,o)};W.useInsertionEffect=function(e,t){return Le.H.useInsertionEffect(e,t)};W.useLayoutEffect=function(e,t){return Le.H.useLayoutEffect(e,t)};W.useMemo=function(e,t){return Le.H.useMemo(e,t)};W.useOptimistic=function(e,t){return Le.H.useOptimistic(e,t)};W.useReducer=function(e,t,o){return Le.H.useReducer(e,t,o)};W.useRef=function(e){return Le.H.useRef(e)};W.useState=function(e){return Le.H.useState(e)};W.useSyncExternalStore=function(e,t,o){return Le.H.useSyncExternalStore(e,t,o)};W.useTransition=function(){return Le.H.useTransition()};W.version="19.2.4"});var k=$t((o4,TT)=>{"use strict";TT.exports=bT()});var VT=$t(Ce=>{"use strict";var bt=typeof Symbol=="function"&&Symbol.for,Pm=bt?Symbol.for("react.element"):60103,Rm=bt?Symbol.for("react.portal"):60106,Ac=bt?Symbol.for("react.fragment"):60107,Mc=bt?Symbol.for("react.strict_mode"):60108,wc=bt?Symbol.for("react.profiler"):60114,Nc=bt?Symbol.for("react.provider"):60109,_c=bt?Symbol.for("react.context"):60110,Om=bt?Symbol.for("react.async_mode"):60111,Dc=bt?Symbol.for("react.concurrent_mode"):60111,zc=bt?Symbol.for("react.forward_ref"):60112,Bc=bt?Symbol.for("react.suspense"):60113,KO=bt?Symbol.for("react.suspense_list"):60120,Uc=bt?Symbol.for("react.memo"):60115,kc=bt?Symbol.for("react.lazy"):60116,YO=bt?Symbol.for("react.block"):60121,XO=bt?Symbol.for("react.fundamental"):60117,QO=bt?Symbol.for("react.responder"):60118,ZO=bt?Symbol.for("react.scope"):60119;function fo(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Pm:switch(e=e.type,e){case Om:case Dc:case Ac:case wc:case Mc:case Bc:return e;default:switch(e=e&&e.$$typeof,e){case _c:case zc:case kc:case Uc:case Nc:return e;default:return t}}case Rm:return t}}}function HT(e){return fo(e)===Dc}Ce.AsyncMode=Om;Ce.ConcurrentMode=Dc;Ce.ContextConsumer=_c;Ce.ContextProvider=Nc;Ce.Element=Pm;Ce.ForwardRef=zc;Ce.Fragment=Ac;Ce.Lazy=kc;Ce.Memo=Uc;Ce.Portal=Rm;Ce.Profiler=wc;Ce.StrictMode=Mc;Ce.Suspense=Bc;Ce.isAsyncMode=function(e){return HT(e)||fo(e)===Om};Ce.isConcurrentMode=HT;Ce.isContextConsumer=function(e){return fo(e)===_c};Ce.isContextProvider=function(e){return fo(e)===Nc};Ce.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Pm};Ce.isForwardRef=function(e){return fo(e)===zc};Ce.isFragment=function(e){return fo(e)===Ac};Ce.isLazy=function(e){return fo(e)===kc};Ce.isMemo=function(e){return fo(e)===Uc};Ce.isPortal=function(e){return fo(e)===Rm};Ce.isProfiler=function(e){return fo(e)===wc};Ce.isStrictMode=function(e){return fo(e)===Mc};Ce.isSuspense=function(e){return fo(e)===Bc};Ce.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ac||e===Dc||e===wc||e===Mc||e===Bc||e===KO||typeof e=="object"&&e!==null&&(e.$$typeof===kc||e.$$typeof===Uc||e.$$typeof===Nc||e.$$typeof===_c||e.$$typeof===zc||e.$$typeof===XO||e.$$typeof===QO||e.$$typeof===ZO||e.$$typeof===YO)};Ce.typeOf=fo});var $T=$t((P4,FT)=>{"use strict";FT.exports=VT()});var ZT=$t((R4,QT)=>{"use strict";var Am=$T(),WO={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},JO={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},eA={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},YT={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Mm={};Mm[Am.ForwardRef]=eA;Mm[Am.Memo]=YT;function qT(e){return Am.isMemo(e)?YT:Mm[e.$$typeof]||WO}var tA=Object.defineProperty,oA=Object.getOwnPropertyNames,GT=Object.getOwnPropertySymbols,rA=Object.getOwnPropertyDescriptor,nA=Object.getPrototypeOf,KT=Object.prototype;function XT(e,t,o){if(typeof t!="string"){if(KT){var r=nA(t);r&&r!==KT&&XT(e,r,o)}var n=oA(t);GT&&(n=n.concat(GT(t)));for(var a=qT(e),i=qT(t),l=0;l<n.length;++l){var s=n[l];if(!JO[s]&&!(o&&o[s])&&!(i&&i[s])&&!(a&&a[s])){var u=rA(t,s);try{tA(e,s,u)}catch{}}}}return e}QT.exports=XT});var hv=$t(Hc=>{"use strict";var vA=Symbol.for("react.transitional.element"),xA=Symbol.for("react.fragment");function yv(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:vA,type:e,key:r,ref:t!==void 0?t:null,props:o}}Hc.Fragment=xA;Hc.jsx=yv;Hc.jsxs=yv});var U=$t((x6,gv)=>{"use strict";gv.exports=hv()});var xv=$t(Ne=>{"use strict";var zm=Symbol.for("react.transitional.element"),Bm=Symbol.for("react.portal"),Vc=Symbol.for("react.fragment"),Fc=Symbol.for("react.strict_mode"),$c=Symbol.for("react.profiler"),qc=Symbol.for("react.consumer"),Gc=Symbol.for("react.context"),Kc=Symbol.for("react.forward_ref"),Yc=Symbol.for("react.suspense"),Xc=Symbol.for("react.suspense_list"),Qc=Symbol.for("react.memo"),Zc=Symbol.for("react.lazy"),CA=Symbol.for("react.view_transition"),EA=Symbol.for("react.client.reference");function _o(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case zm:switch(e=e.type,e){case Vc:case $c:case Fc:case Yc:case Xc:case CA:return e;default:switch(e=e&&e.$$typeof,e){case Gc:case Kc:case Zc:case Qc:return e;case qc:return e;default:return t}}case Bm:return t}}}Ne.ContextConsumer=qc;Ne.ContextProvider=Gc;Ne.Element=zm;Ne.ForwardRef=Kc;Ne.Fragment=Vc;Ne.Lazy=Zc;Ne.Memo=Qc;Ne.Portal=Bm;Ne.Profiler=$c;Ne.StrictMode=Fc;Ne.Suspense=Yc;Ne.SuspenseList=Xc;Ne.isContextConsumer=function(e){return _o(e)===qc};Ne.isContextProvider=function(e){return _o(e)===Gc};Ne.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===zm};Ne.isForwardRef=function(e){return _o(e)===Kc};Ne.isFragment=function(e){return _o(e)===Vc};Ne.isLazy=function(e){return _o(e)===Zc};Ne.isMemo=function(e){return _o(e)===Qc};Ne.isPortal=function(e){return _o(e)===Bm};Ne.isProfiler=function(e){return _o(e)===$c};Ne.isStrictMode=function(e){return _o(e)===Fc};Ne.isSuspense=function(e){return _o(e)===Yc};Ne.isSuspenseList=function(e){return _o(e)===Xc};Ne.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Vc||e===$c||e===Fc||e===Yc||e===Xc||typeof e=="object"&&e!==null&&(e.$$typeof===Zc||e.$$typeof===Qc||e.$$typeof===Gc||e.$$typeof===qc||e.$$typeof===Kc||e.$$typeof===EA||e.getModuleId!==void 0)};Ne.typeOf=_o});var Cv=$t((_6,Sv)=>{"use strict";Sv.exports=xv()});var k0=$t(Xt=>{"use strict";var Hw=k();function U0(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 yn(){}var Yt={d:{f:yn,r:function(){throw Error(U0(522))},D:yn,C:yn,L:yn,m:yn,X:yn,S:yn,M:yn},p:0,findDOMNode:null},Vw=Symbol.for("react.portal");function Fw(e,t,o){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Vw,key:r==null?null:""+r,children:e,containerInfo:t,implementation:o}}var zs=Hw.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Mp(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}Xt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Yt;Xt.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(U0(299));return Fw(e,t,null,o)};Xt.flushSync=function(e){var t=zs.T,o=Yt.p;try{if(zs.T=null,Yt.p=2,e)return e()}finally{zs.T=t,Yt.p=o,Yt.d.f()}};Xt.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Yt.d.C(e,t))};Xt.prefetchDNS=function(e){typeof e=="string"&&Yt.d.D(e)};Xt.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var o=t.as,r=Mp(o,t.crossOrigin),n=typeof t.integrity=="string"?t.integrity:void 0,a=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;o==="style"?Yt.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:r,integrity:n,fetchPriority:a}):o==="script"&&Yt.d.X(e,{crossOrigin:r,integrity:n,fetchPriority:a,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};Xt.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var o=Mp(t.as,t.crossOrigin);Yt.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&&Yt.d.M(e)};Xt.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var o=t.as,r=Mp(o,t.crossOrigin);Yt.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})}};Xt.preloadModule=function(e,t){if(typeof e=="string")if(t){var o=Mp(t.as,t.crossOrigin);Yt.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 Yt.d.m(e)};Xt.requestFormReset=function(e){Yt.d.r(e)};Xt.unstable_batchedUpdates=function(e,t){return e(t)};Xt.useFormState=function(e,t,o){return zs.H.useFormState(e,t,o)};Xt.useFormStatus=function(){return zs.H.useHostTransitionStatus()};Xt.version="19.2.4"});var wp=$t((VH,L0)=>{"use strict";function j0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(j0)}catch(e){console.error(e)}}j0(),L0.exports=k0()});var v1=$t($e=>{"use strict";function Sh(e,t){var o=e.length;e.push(t);e:for(;0<o;){var r=o-1>>>1,n=e[r];if(0<xf(n,t))e[r]=t,e[o]=n,o=r;else break e}}function yr(e){return e.length===0?null:e[0]}function Cf(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>xf(l,o))s<n&&0>xf(u,l)?(e[r]=u,e[s]=o,r=s):(e[r]=l,e[i]=o,r=i);else if(s<n&&0>xf(u,o))e[r]=u,e[s]=o,r=s;else break e}}return t}function xf(e,t){var o=e.sortIndex-t.sortIndex;return o!==0?o:e.id-t.id}$e.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(p1=performance,$e.unstable_now=function(){return p1.now()}):(Th=Date,f1=Th.now(),$e.unstable_now=function(){return Th.now()-f1});var p1,Th,f1,Br=[],En=[],E5=1,Lo=null,Vt=3,Ch=!1,fu=!1,du=!1,Eh=!1,y1=typeof setTimeout=="function"?setTimeout:null,h1=typeof clearTimeout=="function"?clearTimeout:null,d1=typeof setImmediate<"u"?setImmediate:null;function Sf(e){for(var t=yr(En);t!==null;){if(t.callback===null)Cf(En);else if(t.startTime<=e)Cf(En),t.sortIndex=t.expirationTime,Sh(Br,t);else break;t=yr(En)}}function Ph(e){if(du=!1,Sf(e),!fu)if(yr(Br)!==null)fu=!0,cl||(cl=!0,ul());else{var t=yr(En);t!==null&&Rh(Ph,t.startTime-e)}}var cl=!1,mu=-1,g1=5,b1=-1;function T1(){return Eh?!0:!($e.unstable_now()-b1<g1)}function vh(){if(Eh=!1,cl){var e=$e.unstable_now();b1=e;var t=!0;try{e:{fu=!1,du&&(du=!1,h1(mu),mu=-1),Ch=!0;var o=Vt;try{t:{for(Sf(e),Lo=yr(Br);Lo!==null&&!(Lo.expirationTime>e&&T1());){var r=Lo.callback;if(typeof r=="function"){Lo.callback=null,Vt=Lo.priorityLevel;var n=r(Lo.expirationTime<=e);if(e=$e.unstable_now(),typeof n=="function"){Lo.callback=n,Sf(e),t=!0;break t}Lo===yr(Br)&&Cf(Br),Sf(e)}else Cf(Br);Lo=yr(Br)}if(Lo!==null)t=!0;else{var a=yr(En);a!==null&&Rh(Ph,a.startTime-e),t=!1}}break e}finally{Lo=null,Vt=o,Ch=!1}t=void 0}}finally{t?ul():cl=!1}}}var ul;typeof d1=="function"?ul=function(){d1(vh)}:typeof MessageChannel<"u"?(xh=new MessageChannel,m1=xh.port2,xh.port1.onmessage=vh,ul=function(){m1.postMessage(null)}):ul=function(){y1(vh,0)};var xh,m1;function Rh(e,t){mu=y1(function(){e($e.unstable_now())},t)}$e.unstable_IdlePriority=5;$e.unstable_ImmediatePriority=1;$e.unstable_LowPriority=4;$e.unstable_NormalPriority=3;$e.unstable_Profiling=null;$e.unstable_UserBlockingPriority=2;$e.unstable_cancelCallback=function(e){e.callback=null};$e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):g1=0<e?Math.floor(1e3/e):5};$e.unstable_getCurrentPriorityLevel=function(){return Vt};$e.unstable_next=function(e){switch(Vt){case 1:case 2:case 3:var t=3;break;default:t=Vt}var o=Vt;Vt=t;try{return e()}finally{Vt=o}};$e.unstable_requestPaint=function(){Eh=!0};$e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var o=Vt;Vt=e;try{return t()}finally{Vt=o}};$e.unstable_scheduleCallback=function(e,t,o){var r=$e.unstable_now();switch(typeof o=="object"&&o!==null?(o=o.delay,o=typeof o=="number"&&0<o?r+o:r):o=r,e){case 1:var n=-1;break;case 2:n=250;break;case 5:n=1073741823;break;case 4:n=1e4;break;default:n=5e3}return n=o+n,e={id:E5++,callback:t,priorityLevel:e,startTime:o,expirationTime:n,sortIndex:-1},o>r?(e.sortIndex=o,Sh(En,e),yr(Br)===null&&e===yr(En)&&(du?(h1(mu),mu=-1):du=!0,Rh(Ph,o-r))):(e.sortIndex=n,Sh(Br,e),fu||Ch||(fu=!0,cl||(cl=!0,ul()))),e};$e.unstable_shouldYield=T1;$e.unstable_wrapCallback=function(e){var t=Vt;return function(){var o=Vt;Vt=t;try{return e.apply(this,arguments)}finally{Vt=o}}}});var S1=$t(($re,x1)=>{"use strict";x1.exports=v1()});var zR=$t(Yd=>{"use strict";var ht=S1(),YC=k(),P5=wp();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 XC(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ec(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 QC(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 ZC(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 C1(e){if(ec(e)!==e)throw Error(z(188))}function R5(e){var t=e.alternate;if(!t){if(t=ec(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 C1(n),e;if(a===r)return C1(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 WC(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=WC(e),t!==null)return t;e=e.sibling}return null}var Ve=Object.assign,O5=Symbol.for("react.element"),Ef=Symbol.for("react.transitional.element"),Su=Symbol.for("react.portal"),hl=Symbol.for("react.fragment"),JC=Symbol.for("react.strict_mode"),ig=Symbol.for("react.profiler"),eE=Symbol.for("react.consumer"),Fr=Symbol.for("react.context"),tb=Symbol.for("react.forward_ref"),lg=Symbol.for("react.suspense"),sg=Symbol.for("react.suspense_list"),ob=Symbol.for("react.memo"),Pn=Symbol.for("react.lazy"),ug=Symbol.for("react.activity"),A5=Symbol.for("react.memo_cache_sentinel"),E1=Symbol.iterator;function yu(e){return e===null||typeof e!="object"?null:(e=E1&&e[E1]||e["@@iterator"],typeof e=="function"?e:null)}var M5=Symbol.for("react.client.reference");function cg(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===M5?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case hl:return"Fragment";case ig:return"Profiler";case JC:return"StrictMode";case lg:return"Suspense";case sg:return"SuspenseList";case ug:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case Su:return"Portal";case Fr:return e.displayName||"Context";case eE:return(e._context.displayName||"Context")+".Consumer";case tb:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ob:return t=e.displayName||null,t!==null?t:cg(e.type)||"Memo";case Pn:t=e._payload,e=e._init;try{return cg(e(t))}catch{}}return null}var Cu=Array.isArray,Y=YC.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ge=P5.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ia={pending:!1,data:null,method:null,action:null},pg=[],gl=-1;function vr(e){return{current:e}}function Et(e){0>gl||(e.current=pg[gl],pg[gl]=null,gl--)}function ke(e,t){gl++,pg[gl]=e.current,e.current=t}var Tr=vr(null),Iu=vr(null),Un=vr(null),rd=vr(null);function nd(e,t){switch(ke(Un,t),ke(Iu,e),ke(Tr,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?NC(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=NC(t),e=vR(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Et(Tr),ke(Tr,e)}function Bl(){Et(Tr),Et(Iu),Et(Un)}function fg(e){e.memoizedState!==null&&ke(rd,e);var t=Tr.current,o=vR(t,e.type);t!==o&&(ke(Iu,e),ke(Tr,o))}function ad(e){Iu.current===e&&(Et(Tr),Et(Iu)),rd.current===e&&(Et(rd),Zu._currentValue=Ia)}var Oh,P1;function Ua(e){if(Oh===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);Oh=t&&t[1]||"",P1=-1<o.stack.indexOf(`
1
+ "use strict";(()=>{var aO=Object.create;var mm=Object.defineProperty;var iO=Object.getOwnPropertyDescriptor;var lO=Object.getOwnPropertyNames;var sO=Object.getPrototypeOf,uO=Object.prototype.hasOwnProperty;var cO=(e,t,o)=>t in e?mm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var $t=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var pO=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of lO(t))!uO.call(e,n)&&n!==o&&mm(e,n,{get:()=>t[n],enumerable:!(r=iO(t,n))||r.enumerable});return e};var S=(e,t,o)=>(o=e!=null?aO(sO(e)):{},pO(t||!e||!e.__esModule?mm(o,"default",{value:e,enumerable:!0}):o,e));var ai=(e,t,o)=>cO(e,typeof t!="symbol"?t+"":t,o);var bT=$t(W=>{"use strict";var gm=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"),fT=Symbol.for("react.lazy"),wO=Symbol.for("react.activity"),sT=Symbol.iterator;function NO(e){return e===null||typeof e!="object"?null:(e=sT&&e[sT]||e["@@iterator"],typeof e=="function"?e:null)}var dT={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},mT=Object.assign,yT={};function ui(e,t,o){this.props=e,this.context=t,this.refs=yT,this.updater=o||dT}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 hT(){}hT.prototype=ui.prototype;function bm(e,t,o){this.props=e,this.context=t,this.refs=yT,this.updater=o||dT}var Tm=bm.prototype=new hT;Tm.constructor=bm;mT(Tm,ui.prototype);Tm.isPureReactComponent=!0;var uT=Array.isArray;function hm(){}var Le={H:null,A:null,T:null,S:null},gT=Object.prototype.hasOwnProperty;function vm(e,t,o){var r=o.ref;return{$$typeof:gm,type:e,key:t,ref:r!==void 0?r:null,props:o}}function _O(e,t){return vm(e.type,t,e.props)}function xm(e){return typeof e=="object"&&e!==null&&e.$$typeof===gm}function DO(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(o){return t[o]})}var cT=/\/+/g;function ym(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(hm,hm):(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 gm:case xO:i=!0;break;case fT:return i=e._init,si(i(e._payload),t,o,r,n)}}if(i)return n=n(e),i=r===""?"."+ym(e,0):r,uT(n)?(o="",i!=null&&(o=i.replace(cT,"$&/")+"/"),si(n,t,o,"",function(u){return u})):n!=null&&(xm(n)&&(n=_O(n,o+(n.key==null||e&&e.key===n.key?"":(""+n.key).replace(cT,"$&/")+"/")+i)),t.push(n)),1;i=0;var l=r===""?".":r+":";if(uT(e))for(var s=0;s<e.length;s++)r=e[s],a=l+ym(r,s),i+=si(r,t,o,a,n);else if(s=NO(e),typeof s=="function")for(e=s.call(e),s=0;!(r=e.next()).done;)r=r.value,a=l+ym(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 bc(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 pT=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:bc,forEach:function(e,t,o){bc(e,function(){t.apply(this,arguments)},o)},count:function(e){var t=0;return bc(e,function(){t++}),t},toArray:function(e){return bc(e,function(t){return t})||[]},only:function(e){if(!xm(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};W.Activity=wO;W.Children=UO;W.Component=ui;W.Fragment=SO;W.Profiler=EO;W.PureComponent=bm;W.StrictMode=CO;W.Suspense=AO;W.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Le;W.__COMPILER_RUNTIME={__proto__:null,c:function(e){return Le.H.useMemoCache(e)}};W.cache=function(e){return function(){return e.apply(null,arguments)}};W.cacheSignal=function(){return null};W.cloneElement=function(e,t,o){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var r=mT({},e.props),n=e.key;if(t!=null)for(a in t.key!==void 0&&(n=""+t.key),t)!gT.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 vm(e.type,n,r)};W.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};W.createElement=function(e,t,o){var r,n={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=""+t.key),t)gT.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 vm(e,a,n)};W.createRef=function(){return{current:null}};W.forwardRef=function(e){return{$$typeof:OO,render:e}};W.isValidElement=xm;W.lazy=function(e){return{$$typeof:fT,_payload:{_status:-1,_result:e},_init:BO}};W.memo=function(e,t){return{$$typeof:MO,type:e,compare:t===void 0?null:t}};W.startTransition=function(e){var t=Le.T,o={};Le.T=o;try{var r=e(),n=Le.S;n!==null&&n(o,r),typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.then(hm,pT)}catch(a){pT(a)}finally{t!==null&&o.types!==null&&(t.types=o.types),Le.T=t}};W.unstable_useCacheRefresh=function(){return Le.H.useCacheRefresh()};W.use=function(e){return Le.H.use(e)};W.useActionState=function(e,t,o){return Le.H.useActionState(e,t,o)};W.useCallback=function(e,t){return Le.H.useCallback(e,t)};W.useContext=function(e){return Le.H.useContext(e)};W.useDebugValue=function(){};W.useDeferredValue=function(e,t){return Le.H.useDeferredValue(e,t)};W.useEffect=function(e,t){return Le.H.useEffect(e,t)};W.useEffectEvent=function(e){return Le.H.useEffectEvent(e)};W.useId=function(){return Le.H.useId()};W.useImperativeHandle=function(e,t,o){return Le.H.useImperativeHandle(e,t,o)};W.useInsertionEffect=function(e,t){return Le.H.useInsertionEffect(e,t)};W.useLayoutEffect=function(e,t){return Le.H.useLayoutEffect(e,t)};W.useMemo=function(e,t){return Le.H.useMemo(e,t)};W.useOptimistic=function(e,t){return Le.H.useOptimistic(e,t)};W.useReducer=function(e,t,o){return Le.H.useReducer(e,t,o)};W.useRef=function(e){return Le.H.useRef(e)};W.useState=function(e){return Le.H.useState(e)};W.useSyncExternalStore=function(e,t,o){return Le.H.useSyncExternalStore(e,t,o)};W.useTransition=function(){return Le.H.useTransition()};W.version="19.2.4"});var k=$t((n4,TT)=>{"use strict";TT.exports=bT()});var VT=$t(Ce=>{"use strict";var bt=typeof Symbol=="function"&&Symbol.for,Pm=bt?Symbol.for("react.element"):60103,Rm=bt?Symbol.for("react.portal"):60106,Ac=bt?Symbol.for("react.fragment"):60107,Mc=bt?Symbol.for("react.strict_mode"):60108,wc=bt?Symbol.for("react.profiler"):60114,Nc=bt?Symbol.for("react.provider"):60109,_c=bt?Symbol.for("react.context"):60110,Om=bt?Symbol.for("react.async_mode"):60111,Dc=bt?Symbol.for("react.concurrent_mode"):60111,zc=bt?Symbol.for("react.forward_ref"):60112,Bc=bt?Symbol.for("react.suspense"):60113,YO=bt?Symbol.for("react.suspense_list"):60120,Uc=bt?Symbol.for("react.memo"):60115,kc=bt?Symbol.for("react.lazy"):60116,XO=bt?Symbol.for("react.block"):60121,QO=bt?Symbol.for("react.fundamental"):60117,ZO=bt?Symbol.for("react.responder"):60118,WO=bt?Symbol.for("react.scope"):60119;function fo(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Pm:switch(e=e.type,e){case Om:case Dc:case Ac:case wc:case Mc:case Bc:return e;default:switch(e=e&&e.$$typeof,e){case _c:case zc:case kc:case Uc:case Nc:return e;default:return t}}case Rm:return t}}}function HT(e){return fo(e)===Dc}Ce.AsyncMode=Om;Ce.ConcurrentMode=Dc;Ce.ContextConsumer=_c;Ce.ContextProvider=Nc;Ce.Element=Pm;Ce.ForwardRef=zc;Ce.Fragment=Ac;Ce.Lazy=kc;Ce.Memo=Uc;Ce.Portal=Rm;Ce.Profiler=wc;Ce.StrictMode=Mc;Ce.Suspense=Bc;Ce.isAsyncMode=function(e){return HT(e)||fo(e)===Om};Ce.isConcurrentMode=HT;Ce.isContextConsumer=function(e){return fo(e)===_c};Ce.isContextProvider=function(e){return fo(e)===Nc};Ce.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Pm};Ce.isForwardRef=function(e){return fo(e)===zc};Ce.isFragment=function(e){return fo(e)===Ac};Ce.isLazy=function(e){return fo(e)===kc};Ce.isMemo=function(e){return fo(e)===Uc};Ce.isPortal=function(e){return fo(e)===Rm};Ce.isProfiler=function(e){return fo(e)===wc};Ce.isStrictMode=function(e){return fo(e)===Mc};Ce.isSuspense=function(e){return fo(e)===Bc};Ce.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ac||e===Dc||e===wc||e===Mc||e===Bc||e===YO||typeof e=="object"&&e!==null&&(e.$$typeof===kc||e.$$typeof===Uc||e.$$typeof===Nc||e.$$typeof===_c||e.$$typeof===zc||e.$$typeof===QO||e.$$typeof===ZO||e.$$typeof===WO||e.$$typeof===XO)};Ce.typeOf=fo});var $T=$t((O4,FT)=>{"use strict";FT.exports=VT()});var ZT=$t((A4,QT)=>{"use strict";var Am=$T(),JO={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},eA={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tA={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},YT={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Mm={};Mm[Am.ForwardRef]=tA;Mm[Am.Memo]=YT;function qT(e){return Am.isMemo(e)?YT:Mm[e.$$typeof]||JO}var oA=Object.defineProperty,rA=Object.getOwnPropertyNames,GT=Object.getOwnPropertySymbols,nA=Object.getOwnPropertyDescriptor,aA=Object.getPrototypeOf,KT=Object.prototype;function XT(e,t,o){if(typeof t!="string"){if(KT){var r=aA(t);r&&r!==KT&&XT(e,r,o)}var n=rA(t);GT&&(n=n.concat(GT(t)));for(var a=qT(e),i=qT(t),l=0;l<n.length;++l){var s=n[l];if(!eA[s]&&!(o&&o[s])&&!(i&&i[s])&&!(a&&a[s])){var u=nA(t,s);try{oA(e,s,u)}catch{}}}}return e}QT.exports=XT});var hv=$t(Hc=>{"use strict";var xA=Symbol.for("react.transitional.element"),SA=Symbol.for("react.fragment");function yv(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:xA,type:e,key:r,ref:t!==void 0?t:null,props:o}}Hc.Fragment=SA;Hc.jsx=yv;Hc.jsxs=yv});var U=$t((C6,gv)=>{"use strict";gv.exports=hv()});var xv=$t(Ne=>{"use strict";var zm=Symbol.for("react.transitional.element"),Bm=Symbol.for("react.portal"),Vc=Symbol.for("react.fragment"),Fc=Symbol.for("react.strict_mode"),$c=Symbol.for("react.profiler"),qc=Symbol.for("react.consumer"),Gc=Symbol.for("react.context"),Kc=Symbol.for("react.forward_ref"),Yc=Symbol.for("react.suspense"),Xc=Symbol.for("react.suspense_list"),Qc=Symbol.for("react.memo"),Zc=Symbol.for("react.lazy"),EA=Symbol.for("react.view_transition"),PA=Symbol.for("react.client.reference");function _o(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case zm:switch(e=e.type,e){case Vc:case $c:case Fc:case Yc:case Xc:case EA:return e;default:switch(e=e&&e.$$typeof,e){case Gc:case Kc:case Zc:case Qc:return e;case qc:return e;default:return t}}case Bm:return t}}}Ne.ContextConsumer=qc;Ne.ContextProvider=Gc;Ne.Element=zm;Ne.ForwardRef=Kc;Ne.Fragment=Vc;Ne.Lazy=Zc;Ne.Memo=Qc;Ne.Portal=Bm;Ne.Profiler=$c;Ne.StrictMode=Fc;Ne.Suspense=Yc;Ne.SuspenseList=Xc;Ne.isContextConsumer=function(e){return _o(e)===qc};Ne.isContextProvider=function(e){return _o(e)===Gc};Ne.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===zm};Ne.isForwardRef=function(e){return _o(e)===Kc};Ne.isFragment=function(e){return _o(e)===Vc};Ne.isLazy=function(e){return _o(e)===Zc};Ne.isMemo=function(e){return _o(e)===Qc};Ne.isPortal=function(e){return _o(e)===Bm};Ne.isProfiler=function(e){return _o(e)===$c};Ne.isStrictMode=function(e){return _o(e)===Fc};Ne.isSuspense=function(e){return _o(e)===Yc};Ne.isSuspenseList=function(e){return _o(e)===Xc};Ne.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Vc||e===$c||e===Fc||e===Yc||e===Xc||typeof e=="object"&&e!==null&&(e.$$typeof===Zc||e.$$typeof===Qc||e.$$typeof===Gc||e.$$typeof===qc||e.$$typeof===Kc||e.$$typeof===PA||e.getModuleId!==void 0)};Ne.typeOf=_o});var Cv=$t((z6,Sv)=>{"use strict";Sv.exports=xv()});var k0=$t(Xt=>{"use strict";var Vw=k();function U0(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 yn(){}var Yt={d:{f:yn,r:function(){throw Error(U0(522))},D:yn,C:yn,L:yn,m:yn,X:yn,S:yn,M:yn},p:0,findDOMNode:null},Fw=Symbol.for("react.portal");function $w(e,t,o){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Fw,key:r==null?null:""+r,children:e,containerInfo:t,implementation:o}}var zs=Vw.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Mp(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}Xt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Yt;Xt.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(U0(299));return $w(e,t,null,o)};Xt.flushSync=function(e){var t=zs.T,o=Yt.p;try{if(zs.T=null,Yt.p=2,e)return e()}finally{zs.T=t,Yt.p=o,Yt.d.f()}};Xt.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Yt.d.C(e,t))};Xt.prefetchDNS=function(e){typeof e=="string"&&Yt.d.D(e)};Xt.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var o=t.as,r=Mp(o,t.crossOrigin),n=typeof t.integrity=="string"?t.integrity:void 0,a=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;o==="style"?Yt.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:r,integrity:n,fetchPriority:a}):o==="script"&&Yt.d.X(e,{crossOrigin:r,integrity:n,fetchPriority:a,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};Xt.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var o=Mp(t.as,t.crossOrigin);Yt.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&&Yt.d.M(e)};Xt.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var o=t.as,r=Mp(o,t.crossOrigin);Yt.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})}};Xt.preloadModule=function(e,t){if(typeof e=="string")if(t){var o=Mp(t.as,t.crossOrigin);Yt.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 Yt.d.m(e)};Xt.requestFormReset=function(e){Yt.d.r(e)};Xt.unstable_batchedUpdates=function(e,t){return e(t)};Xt.useFormState=function(e,t,o){return zs.H.useFormState(e,t,o)};Xt.useFormStatus=function(){return zs.H.useHostTransitionStatus()};Xt.version="19.2.4"});var wp=$t(($H,L0)=>{"use strict";function j0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(j0)}catch(e){console.error(e)}}j0(),L0.exports=k0()});var x1=$t($e=>{"use strict";function Sh(e,t){var o=e.length;e.push(t);e:for(;0<o;){var r=o-1>>>1,n=e[r];if(0<xf(n,t))e[r]=t,e[o]=n,o=r;else break e}}function yr(e){return e.length===0?null:e[0]}function Cf(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>xf(l,o))s<n&&0>xf(u,l)?(e[r]=u,e[s]=o,r=s):(e[r]=l,e[i]=o,r=i);else if(s<n&&0>xf(u,o))e[r]=u,e[s]=o,r=s;else break e}}return t}function xf(e,t){var o=e.sortIndex-t.sortIndex;return o!==0?o:e.id-t.id}$e.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(f1=performance,$e.unstable_now=function(){return f1.now()}):(Th=Date,d1=Th.now(),$e.unstable_now=function(){return Th.now()-d1});var f1,Th,d1,Br=[],En=[],R5=1,Lo=null,Vt=3,Ch=!1,fu=!1,du=!1,Eh=!1,h1=typeof setTimeout=="function"?setTimeout:null,g1=typeof clearTimeout=="function"?clearTimeout:null,m1=typeof setImmediate<"u"?setImmediate:null;function Sf(e){for(var t=yr(En);t!==null;){if(t.callback===null)Cf(En);else if(t.startTime<=e)Cf(En),t.sortIndex=t.expirationTime,Sh(Br,t);else break;t=yr(En)}}function Ph(e){if(du=!1,Sf(e),!fu)if(yr(Br)!==null)fu=!0,cl||(cl=!0,ul());else{var t=yr(En);t!==null&&Rh(Ph,t.startTime-e)}}var cl=!1,mu=-1,b1=5,T1=-1;function v1(){return Eh?!0:!($e.unstable_now()-T1<b1)}function vh(){if(Eh=!1,cl){var e=$e.unstable_now();T1=e;var t=!0;try{e:{fu=!1,du&&(du=!1,g1(mu),mu=-1),Ch=!0;var o=Vt;try{t:{for(Sf(e),Lo=yr(Br);Lo!==null&&!(Lo.expirationTime>e&&v1());){var r=Lo.callback;if(typeof r=="function"){Lo.callback=null,Vt=Lo.priorityLevel;var n=r(Lo.expirationTime<=e);if(e=$e.unstable_now(),typeof n=="function"){Lo.callback=n,Sf(e),t=!0;break t}Lo===yr(Br)&&Cf(Br),Sf(e)}else Cf(Br);Lo=yr(Br)}if(Lo!==null)t=!0;else{var a=yr(En);a!==null&&Rh(Ph,a.startTime-e),t=!1}}break e}finally{Lo=null,Vt=o,Ch=!1}t=void 0}}finally{t?ul():cl=!1}}}var ul;typeof m1=="function"?ul=function(){m1(vh)}:typeof MessageChannel<"u"?(xh=new MessageChannel,y1=xh.port2,xh.port1.onmessage=vh,ul=function(){y1.postMessage(null)}):ul=function(){h1(vh,0)};var xh,y1;function Rh(e,t){mu=h1(function(){e($e.unstable_now())},t)}$e.unstable_IdlePriority=5;$e.unstable_ImmediatePriority=1;$e.unstable_LowPriority=4;$e.unstable_NormalPriority=3;$e.unstable_Profiling=null;$e.unstable_UserBlockingPriority=2;$e.unstable_cancelCallback=function(e){e.callback=null};$e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):b1=0<e?Math.floor(1e3/e):5};$e.unstable_getCurrentPriorityLevel=function(){return Vt};$e.unstable_next=function(e){switch(Vt){case 1:case 2:case 3:var t=3;break;default:t=Vt}var o=Vt;Vt=t;try{return e()}finally{Vt=o}};$e.unstable_requestPaint=function(){Eh=!0};$e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var o=Vt;Vt=e;try{return t()}finally{Vt=o}};$e.unstable_scheduleCallback=function(e,t,o){var r=$e.unstable_now();switch(typeof o=="object"&&o!==null?(o=o.delay,o=typeof o=="number"&&0<o?r+o:r):o=r,e){case 1:var n=-1;break;case 2:n=250;break;case 5:n=1073741823;break;case 4:n=1e4;break;default:n=5e3}return n=o+n,e={id:R5++,callback:t,priorityLevel:e,startTime:o,expirationTime:n,sortIndex:-1},o>r?(e.sortIndex=o,Sh(En,e),yr(Br)===null&&e===yr(En)&&(du?(g1(mu),mu=-1):du=!0,Rh(Ph,o-r))):(e.sortIndex=n,Sh(Br,e),fu||Ch||(fu=!0,cl||(cl=!0,ul()))),e};$e.unstable_shouldYield=v1;$e.unstable_wrapCallback=function(e){var t=Vt;return function(){var o=Vt;Vt=t;try{return e.apply(this,arguments)}finally{Vt=o}}}});var C1=$t((Yre,S1)=>{"use strict";S1.exports=x1()});var BR=$t(Yd=>{"use strict";var ht=C1(),XC=k(),O5=wp();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 QC(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ec(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 ZC(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 WC(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 E1(e){if(ec(e)!==e)throw Error(z(188))}function A5(e){var t=e.alternate;if(!t){if(t=ec(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 E1(n),e;if(a===r)return E1(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 JC(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=JC(e),t!==null)return t;e=e.sibling}return null}var Ve=Object.assign,M5=Symbol.for("react.element"),Ef=Symbol.for("react.transitional.element"),Su=Symbol.for("react.portal"),hl=Symbol.for("react.fragment"),eE=Symbol.for("react.strict_mode"),ig=Symbol.for("react.profiler"),tE=Symbol.for("react.consumer"),Fr=Symbol.for("react.context"),tb=Symbol.for("react.forward_ref"),lg=Symbol.for("react.suspense"),sg=Symbol.for("react.suspense_list"),ob=Symbol.for("react.memo"),Pn=Symbol.for("react.lazy"),ug=Symbol.for("react.activity"),w5=Symbol.for("react.memo_cache_sentinel"),P1=Symbol.iterator;function yu(e){return e===null||typeof e!="object"?null:(e=P1&&e[P1]||e["@@iterator"],typeof e=="function"?e:null)}var N5=Symbol.for("react.client.reference");function cg(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===N5?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case hl:return"Fragment";case ig:return"Profiler";case eE:return"StrictMode";case lg:return"Suspense";case sg:return"SuspenseList";case ug:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case Su:return"Portal";case Fr:return e.displayName||"Context";case tE:return(e._context.displayName||"Context")+".Consumer";case tb:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ob:return t=e.displayName||null,t!==null?t:cg(e.type)||"Memo";case Pn:t=e._payload,e=e._init;try{return cg(e(t))}catch{}}return null}var Cu=Array.isArray,Y=XC.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ge=O5.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ia={pending:!1,data:null,method:null,action:null},pg=[],gl=-1;function vr(e){return{current:e}}function Et(e){0>gl||(e.current=pg[gl],pg[gl]=null,gl--)}function ke(e,t){gl++,pg[gl]=e.current,e.current=t}var Tr=vr(null),Iu=vr(null),Un=vr(null),rd=vr(null);function nd(e,t){switch(ke(Un,t),ke(Iu,e),ke(Tr,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?_C(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=_C(t),e=xR(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Et(Tr),ke(Tr,e)}function Bl(){Et(Tr),Et(Iu),Et(Un)}function fg(e){e.memoizedState!==null&&ke(rd,e);var t=Tr.current,o=xR(t,e.type);t!==o&&(ke(Iu,e),ke(Tr,o))}function ad(e){Iu.current===e&&(Et(Tr),Et(Iu)),rd.current===e&&(Et(rd),Zu._currentValue=Ia)}var Oh,R1;function Ua(e){if(Oh===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);Oh=t&&t[1]||"",R1=-1<o.stack.indexOf(`
2
2
  at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
3
- `+Oh+e+P1}var Ah=!1;function Mh(e,t){if(!e||Ah)return"";Ah=!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
+ `+Oh+e+R1}var Ah=!1;function Mh(e,t){if(!e||Ah)return"";Ah=!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{Ah=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?Ua(o):""}function w5(e,t){switch(e.tag){case 26:case 27:case 5:return Ua(e.type);case 16:return Ua("Lazy");case 13:return e.child!==t&&t!==null?Ua("Suspense Fallback"):Ua("Suspense");case 19:return Ua("SuspenseList");case 0:case 15:return Mh(e.type,!1);case 11:return Mh(e.type.render,!1);case 1:return Mh(e.type,!0);case 31:return Ua("Activity");default:return""}}function R1(e){try{var t="",o=null;do t+=w5(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{Ah=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?Ua(o):""}function _5(e,t){switch(e.tag){case 26:case 27:case 5:return Ua(e.type);case 16:return Ua("Lazy");case 13:return e.child!==t&&t!==null?Ua("Suspense Fallback"):Ua("Suspense");case 19:return Ua("SuspenseList");case 0:case 15:return Mh(e.type,!1);case 11:return Mh(e.type.render,!1);case 1:return Mh(e.type,!0);case 31:return Ua("Activity");default:return""}}function O1(e){try{var t="",o=null;do t+=_5(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 dg=Object.prototype.hasOwnProperty,rb=ht.unstable_scheduleCallback,wh=ht.unstable_cancelCallback,N5=ht.unstable_shouldYield,_5=ht.unstable_requestPaint,So=ht.unstable_now,D5=ht.unstable_getCurrentPriorityLevel,tE=ht.unstable_ImmediatePriority,oE=ht.unstable_UserBlockingPriority,id=ht.unstable_NormalPriority,z5=ht.unstable_LowPriority,rE=ht.unstable_IdlePriority,B5=ht.log,U5=ht.unstable_setDisableYieldValue,tc=null,Co=null;function Nn(e){if(typeof B5=="function"&&U5(e),Co&&typeof Co.setStrictMode=="function")try{Co.setStrictMode(tc,e)}catch{}}var Eo=Math.clz32?Math.clz32:L5,k5=Math.log,j5=Math.LN2;function L5(e){return e>>>=0,e===0?32:31-(k5(e)/j5|0)|0}var Pf=256,Rf=262144,Of=4194304;function ka(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 _d(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=ka(r):(i&=l,i!==0?n=ka(i):o||(o=l&~e,o!==0&&(n=ka(o))))):(l=r&~a,l!==0?n=ka(l):i!==0?n=ka(i):o||(o=r&~e,o!==0&&(n=ka(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 oc(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function I5(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 nE(){var e=Of;return Of<<=1,(Of&62914560)===0&&(Of=4194304),e}function Nh(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function rc(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function H5(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-Eo(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&&aE(e,r,0),a!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=a&~(i&~t))}function aE(e,t,o){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Eo(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|o&261930}function iE(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var r=31-Eo(o),n=1<<r;n&t|e[r]&t&&(e[r]|=t),o&=~n}}function lE(e,t){var o=t&-t;return o=(o&42)!==0?1:nb(o),(o&(e.suspendedLanes|t))!==0?0:o}function nb(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 ab(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function sE(){var e=ge.p;return e!==0?e:(e=window.event,e===void 0?32:NR(e.type))}function O1(e,t){var o=ge.p;try{return ge.p=e,t()}finally{ge.p=o}}var Xn=Math.random().toString(36).slice(2),Ut="__reactFiber$"+Xn,so="__reactProps$"+Xn,Gl="__reactContainer$"+Xn,mg="__reactEvents$"+Xn,V5="__reactListeners$"+Xn,F5="__reactHandles$"+Xn,A1="__reactResources$"+Xn,nc="__reactMarker$"+Xn;function ib(e){delete e[Ut],delete e[so],delete e[mg],delete e[V5],delete e[F5]}function bl(e){var t=e[Ut];if(t)return t;for(var o=e.parentNode;o;){if(t=o[Gl]||o[Ut]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=UC(e);e!==null;){if(o=e[Ut])return o;e=UC(e)}return t}e=o,o=e.parentNode}return null}function Kl(e){if(e=e[Ut]||e[Gl]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Eu(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(z(33))}function Al(e){var t=e[A1];return t||(t=e[A1]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ct(e){e[nc]=!0}var uE=new Set,cE={};function Qa(e,t){Ul(e,t),Ul(e+"Capture",t)}function Ul(e,t){for(cE[e]=t,e=0;e<t.length;e++)uE.add(t[e])}var $5=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]*$"),M1={},w1={};function q5(e){return dg.call(w1,e)?!0:dg.call(M1,e)?!1:$5.test(e)?w1[e]=!0:(M1[e]=!0,!1)}function Vf(e,t,o){if(q5(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 Af(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 Ur(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 Ho(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function pE(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function G5(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 yg(e){if(!e._valueTracker){var t=pE(e)?"checked":"value";e._valueTracker=G5(e,t,""+e[t])}}function fE(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),r="";return e&&(r=pE(e)?e.checked?"true":"false":e.value),e=r,e!==o?(t.setValue(e),!0):!1}function ld(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 K5=/[\n"\\]/g;function $o(e){return e.replace(K5,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function hg(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=""+Ho(t)):e.value!==""+Ho(t)&&(e.value=""+Ho(t)):i!=="submit"&&i!=="reset"||e.removeAttribute("value"),t!=null?gg(e,i,Ho(t)):o!=null?gg(e,i,Ho(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=""+Ho(l):e.removeAttribute("name")}function dE(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)){yg(e);return}o=o!=null?""+Ho(o):"",t=t!=null?""+Ho(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),yg(e)}function gg(e,t,o){t==="number"&&ld(e.ownerDocument)===e||e.defaultValue===""+o||(e.defaultValue=""+o)}function Ml(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=""+Ho(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 mE(e,t,o){if(t!=null&&(t=""+Ho(t),t!==e.value&&(e.value=t),o==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=o!=null?""+Ho(o):""}function yE(e,t,o,r){if(t==null){if(r!=null){if(o!=null)throw Error(z(92));if(Cu(r)){if(1<r.length)throw Error(z(93));r=r[0]}o=r}o==null&&(o=""),t=o}o=Ho(t),e.defaultValue=o,r=e.textContent,r===o&&r!==""&&r!==null&&(e.value=r),yg(e)}function kl(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var Y5=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 N1(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||Y5.has(t)?t==="float"?e.cssFloat=o:e[t]=(""+o).trim():e[t]=o+"px"}function hE(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&&N1(e,n,r)}else for(var a in t)t.hasOwnProperty(a)&&N1(e,a,t[a])}function lb(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 X5=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"]]),Q5=/^[\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 Ff(e){return Q5.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function $r(){}var bg=null;function sb(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Tl=null,wl=null;function _1(e){var t=Kl(e);if(t&&(e=t.stateNode)){var o=e[so]||null;e:switch(e=t.stateNode,t.type){case"input":if(hg(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="'+$o(""+t)+'"][type="radio"]'),t=0;t<o.length;t++){var r=o[t];if(r!==e&&r.form===e.form){var n=r[so]||null;if(!n)throw Error(z(90));hg(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&&fE(r)}break e;case"textarea":mE(e,o.value,o.defaultValue);break e;case"select":t=o.value,t!=null&&Ml(e,!!o.multiple,t,!1)}}}var _h=!1;function gE(e,t,o){if(_h)return e(t,o);_h=!0;try{var r=e(t);return r}finally{if(_h=!1,(Tl!==null||wl!==null)&&($d(),Tl&&(t=Tl,e=wl,wl=Tl=null,_1(t),e)))for(t=0;t<e.length;t++)_1(e[t])}}function Hu(e,t){var o=e.stateNode;if(o===null)return null;var r=o[so]||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 Xr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Tg=!1;if(Xr)try{pl={},Object.defineProperty(pl,"passive",{get:function(){Tg=!0}}),window.addEventListener("test",pl,pl),window.removeEventListener("test",pl,pl)}catch{Tg=!1}var pl,_n=null,ub=null,$f=null;function bE(){if($f)return $f;var e,t=ub,o=t.length,r,n="value"in _n?_n.value:_n.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 $f=n.slice(e,1<r?1-r:void 0)}function qf(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 Mf(){return!0}function D1(){return!1}function uo(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)?Mf:D1,this.isPropagationStopped=D1,this}return Ve(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=Mf)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Mf)},persist:function(){},isPersistent:Mf}),t}var Za={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Dd=uo(Za),ac=Ve({},Za,{view:0,detail:0}),Z5=uo(ac),Dh,zh,hu,zd=Ve({},ac,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:cb,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!==hu&&(hu&&e.type==="mousemove"?(Dh=e.screenX-hu.screenX,zh=e.screenY-hu.screenY):zh=Dh=0,hu=e),Dh)},movementY:function(e){return"movementY"in e?e.movementY:zh}}),z1=uo(zd),W5=Ve({},zd,{dataTransfer:0}),J5=uo(W5),e3=Ve({},ac,{relatedTarget:0}),Bh=uo(e3),t3=Ve({},Za,{animationName:0,elapsedTime:0,pseudoElement:0}),o3=uo(t3),r3=Ve({},Za,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),n3=uo(r3),a3=Ve({},Za,{data:0}),B1=uo(a3),i3={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},l3={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"},s3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function u3(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=s3[e])?!!t[e]:!1}function cb(){return u3}var c3=Ve({},ac,{key:function(e){if(e.key){var t=i3[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=qf(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?l3[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:cb,charCode:function(e){return e.type==="keypress"?qf(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?qf(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),p3=uo(c3),f3=Ve({},zd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),U1=uo(f3),d3=Ve({},ac,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:cb}),m3=uo(d3),y3=Ve({},Za,{propertyName:0,elapsedTime:0,pseudoElement:0}),h3=uo(y3),g3=Ve({},zd,{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}),b3=uo(g3),T3=Ve({},Za,{newState:0,oldState:0}),v3=uo(T3),x3=[9,13,27,32],pb=Xr&&"CompositionEvent"in window,Ou=null;Xr&&"documentMode"in document&&(Ou=document.documentMode);var S3=Xr&&"TextEvent"in window&&!Ou,TE=Xr&&(!pb||Ou&&8<Ou&&11>=Ou),k1=" ",j1=!1;function vE(e,t){switch(e){case"keyup":return x3.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xE(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var vl=!1;function C3(e,t){switch(e){case"compositionend":return xE(t);case"keypress":return t.which!==32?null:(j1=!0,k1);case"textInput":return e=t.data,e===k1&&j1?null:e;default:return null}}function E3(e,t){if(vl)return e==="compositionend"||!pb&&vE(e,t)?(e=bE(),$f=ub=_n=null,vl=!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 TE&&t.locale!=="ko"?null:t.data;default:return null}}var P3={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 L1(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!P3[e.type]:t==="textarea"}function SE(e,t,o,r){Tl?wl?wl.push(r):wl=[r]:Tl=r,t=Pd(t,"onChange"),0<t.length&&(o=new Dd("onChange","change",null,o,r),e.push({event:o,listeners:t}))}var Au=null,Vu=null;function R3(e){gR(e,0)}function Bd(e){var t=Eu(e);if(fE(t))return e}function I1(e,t){if(e==="change")return t}var CE=!1;Xr&&(Xr?(Nf="oninput"in document,Nf||(Uh=document.createElement("div"),Uh.setAttribute("oninput","return;"),Nf=typeof Uh.oninput=="function"),wf=Nf):wf=!1,CE=wf&&(!document.documentMode||9<document.documentMode));var wf,Nf,Uh;function H1(){Au&&(Au.detachEvent("onpropertychange",EE),Vu=Au=null)}function EE(e){if(e.propertyName==="value"&&Bd(Vu)){var t=[];SE(t,Vu,e,sb(e)),gE(R3,t)}}function O3(e,t,o){e==="focusin"?(H1(),Au=t,Vu=o,Au.attachEvent("onpropertychange",EE)):e==="focusout"&&H1()}function A3(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Bd(Vu)}function M3(e,t){if(e==="click")return Bd(t)}function w3(e,t){if(e==="input"||e==="change")return Bd(t)}function N3(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ro=typeof Object.is=="function"?Object.is:N3;function Fu(e,t){if(Ro(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(!dg.call(t,n)||!Ro(e[n],t[n]))return!1}return!0}function V1(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function F1(e,t){var o=V1(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=V1(o)}}function PE(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?PE(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function RE(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ld(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=ld(e.document)}return t}function fb(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 _3=Xr&&"documentMode"in document&&11>=document.documentMode,xl=null,vg=null,Mu=null,xg=!1;function $1(e,t,o){var r=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;xg||xl==null||xl!==ld(r)||(r=xl,"selectionStart"in r&&fb(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}),Mu&&Fu(Mu,r)||(Mu=r,r=Pd(vg,"onSelect"),0<r.length&&(t=new Dd("onSelect","select",null,t,o),e.push({event:t,listeners:r}),t.target=xl)))}function Ba(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var Sl={animationend:Ba("Animation","AnimationEnd"),animationiteration:Ba("Animation","AnimationIteration"),animationstart:Ba("Animation","AnimationStart"),transitionrun:Ba("Transition","TransitionRun"),transitionstart:Ba("Transition","TransitionStart"),transitioncancel:Ba("Transition","TransitionCancel"),transitionend:Ba("Transition","TransitionEnd")},kh={},OE={};Xr&&(OE=document.createElement("div").style,"AnimationEvent"in window||(delete Sl.animationend.animation,delete Sl.animationiteration.animation,delete Sl.animationstart.animation),"TransitionEvent"in window||delete Sl.transitionend.transition);function Wa(e){if(kh[e])return kh[e];if(!Sl[e])return e;var t=Sl[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in OE)return kh[e]=t[o];return e}var AE=Wa("animationend"),ME=Wa("animationiteration"),wE=Wa("animationstart"),D3=Wa("transitionrun"),z3=Wa("transitionstart"),B3=Wa("transitioncancel"),NE=Wa("transitionend"),_E=new Map,Sg="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(" ");Sg.push("scrollEnd");function ir(e,t){_E.set(e,t),Qa(t,[e])}var sd=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)},Io=[],Cl=0,db=0;function Ud(){for(var e=Cl,t=db=Cl=0;t<e;){var o=Io[t];Io[t++]=null;var r=Io[t];Io[t++]=null;var n=Io[t];Io[t++]=null;var a=Io[t];if(Io[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&&DE(o,n,a)}}function kd(e,t,o,r){Io[Cl++]=e,Io[Cl++]=t,Io[Cl++]=o,Io[Cl++]=r,db|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function mb(e,t,o,r){return kd(e,t,o,r),ud(e)}function Ja(e,t){return kd(e,null,null,t),ud(e)}function DE(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-Eo(o),e=a.hiddenUpdates,r=e[n],r===null?e[n]=[t]:r.push(t),t.lane=o|536870912),a):null}function ud(e){if(50<ju)throw ju=0,Fg=null,Error(z(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var El={};function U3(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 vo(e,t,o,r){return new U3(e,t,o,r)}function yb(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Gr(e,t){var o=e.alternate;return o===null?(o=vo(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 zE(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 Gf(e,t,o,r,n,a){var i=0;if(r=e,typeof e=="function")yb(e)&&(i=1);else if(typeof e=="string")i=Lz(e,o,Tr.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ug:return e=vo(31,o,t,n),e.elementType=ug,e.lanes=a,e;case hl:return Ha(o.children,n,a,t);case JC:i=8,n|=24;break;case ig:return e=vo(12,o,t,n|2),e.elementType=ig,e.lanes=a,e;case lg:return e=vo(13,o,t,n),e.elementType=lg,e.lanes=a,e;case sg:return e=vo(19,o,t,n),e.elementType=sg,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Fr:i=10;break e;case eE:i=9;break e;case tb:i=11;break e;case ob:i=14;break e;case Pn:i=16,r=null;break e}i=29,o=Error(z(130,e===null?"null":typeof e,"")),r=null}return t=vo(i,o,t,n),t.elementType=e,t.type=r,t.lanes=a,t}function Ha(e,t,o,r){return e=vo(7,e,r,t),e.lanes=o,e}function jh(e,t,o){return e=vo(6,e,null,t),e.lanes=o,e}function BE(e){var t=vo(18,null,null,0);return t.stateNode=e,t}function Lh(e,t,o){return t=vo(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var q1=new WeakMap;function qo(e,t){if(typeof e=="object"&&e!==null){var o=q1.get(e);return o!==void 0?o:(t={value:e,source:t,stack:R1(t)},q1.set(e,t),t)}return{value:e,source:t,stack:R1(t)}}var Pl=[],Rl=0,cd=null,$u=0,Vo=[],Fo=0,qn=null,hr=1,gr="";function Hr(e,t){Pl[Rl++]=$u,Pl[Rl++]=cd,cd=e,$u=t}function UE(e,t,o){Vo[Fo++]=hr,Vo[Fo++]=gr,Vo[Fo++]=qn,qn=e;var r=hr;e=gr;var n=32-Eo(r)-1;r&=~(1<<n),o+=1;var a=32-Eo(t)+n;if(30<a){var i=n-n%5;a=(r&(1<<i)-1).toString(32),r>>=i,n-=i,hr=1<<32-Eo(t)+n|o<<n|r,gr=a+e}else hr=1<<a|o<<n|r,gr=e}function hb(e){e.return!==null&&(Hr(e,1),UE(e,1,0))}function gb(e){for(;e===cd;)cd=Pl[--Rl],Pl[Rl]=null,$u=Pl[--Rl],Pl[Rl]=null;for(;e===qn;)qn=Vo[--Fo],Vo[Fo]=null,gr=Vo[--Fo],Vo[Fo]=null,hr=Vo[--Fo],Vo[Fo]=null}function kE(e,t){Vo[Fo++]=hr,Vo[Fo++]=gr,Vo[Fo++]=qn,hr=t.id,gr=t.overflow,qn=e}var kt=null,He=null,pe=!1,kn=null,Go=!1,Cg=Error(z(519));function Gn(e){var t=Error(z(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw qu(qo(t,e)),Cg}function G1(e){var t=e.stateNode,o=e.type,r=e.memoizedProps;switch(t[Ut]=e,t[so]=r,o){case"dialog":ie("cancel",t),ie("close",t);break;case"iframe":case"object":case"embed":ie("load",t);break;case"video":case"audio":for(o=0;o<Xu.length;o++)ie(Xu[o],t);break;case"source":ie("error",t);break;case"img":case"image":case"link":ie("error",t),ie("load",t);break;case"details":ie("toggle",t);break;case"input":ie("invalid",t),dE(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":ie("invalid",t);break;case"textarea":ie("invalid",t),yE(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||TR(t.textContent,o)?(r.popover!=null&&(ie("beforetoggle",t),ie("toggle",t)),r.onScroll!=null&&ie("scroll",t),r.onScrollEnd!=null&&ie("scrollend",t),r.onClick!=null&&(t.onclick=$r),t=!0):t=!1,t||Gn(e,!0)}function K1(e){for(kt=e.return;kt;)switch(kt.tag){case 5:case 31:case 13:Go=!1;return;case 27:case 3:Go=!0;return;default:kt=kt.return}}function fl(e){if(e!==kt)return!1;if(!pe)return K1(e),pe=!0,!1;var t=e.tag,o;if((o=t!==3&&t!==27)&&((o=t===5)&&(o=e.type,o=!(o!=="form"&&o!=="button")||Yg(e.type,e.memoizedProps)),o=!o),o&&He&&Gn(e),K1(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(z(317));He=BC(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(z(317));He=BC(e)}else t===27?(t=He,Qn(e.type)?(e=Wg,Wg=null,He=e):He=t):He=kt?Yo(e.stateNode.nextSibling):null;return!0}function qa(){He=kt=null,pe=!1}function Ih(){var e=kn;return e!==null&&(io===null?io=e:io.push.apply(io,e),kn=null),e}function qu(e){kn===null?kn=[e]:kn.push(e)}var Eg=vr(null),ei=null,qr=null;function On(e,t,o){ke(Eg,t._currentValue),t._currentValue=o}function Kr(e){e._currentValue=Eg.current,Et(Eg)}function Pg(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 Rg(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),Pg(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),Pg(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 Yl(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;Ro(n.pendingProps.value,i.value)||(e!==null?e.push(l):e=[l])}}else if(n===rd.current){if(i=n.alternate,i===null)throw Error(z(387));i.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(Zu):e=[Zu])}n=n.return}e!==null&&Rg(t,e,o,r),t.flags|=262144}function pd(e){for(e=e.firstContext;e!==null;){if(!Ro(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ga(e){ei=e,qr=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function jt(e){return jE(ei,e)}function _f(e,t){return ei===null&&Ga(e),jE(e,t)}function jE(e,t){var o=t._currentValue;if(t={context:t,memoizedValue:o,next:null},qr===null){if(e===null)throw Error(z(308));qr=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else qr=qr.next=t;return o}var k3=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()})}},j3=ht.unstable_scheduleCallback,L3=ht.unstable_NormalPriority,ut={$$typeof:Fr,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function bb(){return{controller:new k3,data:new Map,refCount:0}}function ic(e){e.refCount--,e.refCount===0&&j3(L3,function(){e.controller.abort()})}var wu=null,Og=0,jl=0,Nl=null;function I3(e,t){if(wu===null){var o=wu=[];Og=0,jl=Fb(),Nl={status:"pending",value:void 0,then:function(r){o.push(r)}}}return Og++,t.then(Y1,Y1),t}function Y1(){if(--Og===0&&wu!==null){Nl!==null&&(Nl.status="fulfilled");var e=wu;wu=null,jl=0,Nl=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function H3(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 X1=Y.S;Y.S=function(e,t){WP=So(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&I3(e,t),X1!==null&&X1(e,t)};var Va=vr(null);function Tb(){var e=Va.current;return e!==null?e:Be.pooledCache}function Kf(e,t){t===null?ke(Va,Va.current):ke(Va,t.pool)}function LE(){var e=Tb();return e===null?null:{parent:ut._currentValue,pool:e}}var Xl=Error(z(460)),vb=Error(z(474)),jd=Error(z(542)),fd={then:function(){}};function Q1(e){return e=e.status,e==="fulfilled"||e==="rejected"}function IE(e,t,o){switch(o=e[o],o===void 0?e.push(t):o!==t&&(t.then($r,$r),t=o),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,W1(e),e;default:if(typeof t.status=="string")t.then($r,$r);else{if(e=Be,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,W1(e),e}throw Fa=t,Xl}}function ja(e){try{var t=e._init;return t(e._payload)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(Fa=o,Xl):o}}var Fa=null;function Z1(){if(Fa===null)throw Error(z(459));var e=Fa;return Fa=null,e}function W1(e){if(e===Xl||e===jd)throw Error(z(483))}var _l=null,Gu=0;function Df(e){var t=Gu;return Gu+=1,_l===null&&(_l=[]),IE(_l,e,t)}function gu(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function zf(e,t){throw t.$$typeof===O5?Error(z(525)):(e=Object.prototype.toString.call(t),Error(z(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function HE(e){function t(m,h){if(e){var g=m.deletions;g===null?(m.deletions=[h],m.flags|=16):g.push(h)}}function o(m,h){if(!e)return null;for(;h!==null;)t(m,h),h=h.sibling;return null}function r(m){for(var h=new Map;m!==null;)m.key!==null?h.set(m.key,m):h.set(m.index,m),m=m.sibling;return h}function n(m,h){return m=Gr(m,h),m.index=0,m.sibling=null,m}function a(m,h,g){return m.index=g,e?(g=m.alternate,g!==null?(g=g.index,g<h?(m.flags|=67108866,h):g):(m.flags|=67108866,h)):(m.flags|=1048576,h)}function i(m){return e&&m.alternate===null&&(m.flags|=67108866),m}function l(m,h,g,b){return h===null||h.tag!==6?(h=jh(g,m.mode,b),h.return=m,h):(h=n(h,g),h.return=m,h)}function s(m,h,g,b){var P=g.type;return P===hl?p(m,h,g.props.children,b,g.key):h!==null&&(h.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===Pn&&ja(P)===h.type)?(h=n(h,g.props),gu(h,g),h.return=m,h):(h=Gf(g.type,g.key,g.props,null,m.mode,b),gu(h,g),h.return=m,h)}function u(m,h,g,b){return h===null||h.tag!==4||h.stateNode.containerInfo!==g.containerInfo||h.stateNode.implementation!==g.implementation?(h=Lh(g,m.mode,b),h.return=m,h):(h=n(h,g.children||[]),h.return=m,h)}function p(m,h,g,b,P){return h===null||h.tag!==7?(h=Ha(g,m.mode,b,P),h.return=m,h):(h=n(h,g),h.return=m,h)}function f(m,h,g){if(typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint")return h=jh(""+h,m.mode,g),h.return=m,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Ef:return g=Gf(h.type,h.key,h.props,null,m.mode,g),gu(g,h),g.return=m,g;case Su:return h=Lh(h,m.mode,g),h.return=m,h;case Pn:return h=ja(h),f(m,h,g)}if(Cu(h)||yu(h))return h=Ha(h,m.mode,g,null),h.return=m,h;if(typeof h.then=="function")return f(m,Df(h),g);if(h.$$typeof===Fr)return f(m,_f(m,h),g);zf(m,h)}return null}function d(m,h,g,b){var P=h!==null?h.key:null;if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return P!==null?null:l(m,h,""+g,b);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Ef:return g.key===P?s(m,h,g,b):null;case Su:return g.key===P?u(m,h,g,b):null;case Pn:return g=ja(g),d(m,h,g,b)}if(Cu(g)||yu(g))return P!==null?null:p(m,h,g,b,null);if(typeof g.then=="function")return d(m,h,Df(g),b);if(g.$$typeof===Fr)return d(m,h,_f(m,g),b);zf(m,g)}return null}function c(m,h,g,b,P){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return m=m.get(g)||null,l(h,m,""+b,P);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Ef:return m=m.get(b.key===null?g:b.key)||null,s(h,m,b,P);case Su:return m=m.get(b.key===null?g:b.key)||null,u(h,m,b,P);case Pn:return b=ja(b),c(m,h,g,b,P)}if(Cu(b)||yu(b))return m=m.get(g)||null,p(h,m,b,P,null);if(typeof b.then=="function")return c(m,h,g,Df(b),P);if(b.$$typeof===Fr)return c(m,h,g,_f(h,b),P);zf(h,b)}return null}function T(m,h,g,b){for(var P=null,C=null,E=h,O=h=0,M=null;E!==null&&O<g.length;O++){E.index>O?(M=E,E=null):M=E.sibling;var N=d(m,E,g[O],b);if(N===null){E===null&&(E=M);break}e&&E&&N.alternate===null&&t(m,E),h=a(N,h,O),C===null?P=N:C.sibling=N,C=N,E=M}if(O===g.length)return o(m,E),pe&&Hr(m,O),P;if(E===null){for(;O<g.length;O++)E=f(m,g[O],b),E!==null&&(h=a(E,h,O),C===null?P=E:C.sibling=E,C=E);return pe&&Hr(m,O),P}for(E=r(E);O<g.length;O++)M=c(E,m,O,g[O],b),M!==null&&(e&&M.alternate!==null&&E.delete(M.key===null?O:M.key),h=a(M,h,O),C===null?P=M:C.sibling=M,C=M);return e&&E.forEach(function(A){return t(m,A)}),pe&&Hr(m,O),P}function v(m,h,g,b){if(g==null)throw Error(z(151));for(var P=null,C=null,E=h,O=h=0,M=null,N=g.next();E!==null&&!N.done;O++,N=g.next()){E.index>O?(M=E,E=null):M=E.sibling;var A=d(m,E,N.value,b);if(A===null){E===null&&(E=M);break}e&&E&&A.alternate===null&&t(m,E),h=a(A,h,O),C===null?P=A:C.sibling=A,C=A,E=M}if(N.done)return o(m,E),pe&&Hr(m,O),P;if(E===null){for(;!N.done;O++,N=g.next())N=f(m,N.value,b),N!==null&&(h=a(N,h,O),C===null?P=N:C.sibling=N,C=N);return pe&&Hr(m,O),P}for(E=r(E);!N.done;O++,N=g.next())N=c(E,m,O,N.value,b),N!==null&&(e&&N.alternate!==null&&E.delete(N.key===null?O:N.key),h=a(N,h,O),C===null?P=N:C.sibling=N,C=N);return e&&E.forEach(function(y){return t(m,y)}),pe&&Hr(m,O),P}function x(m,h,g,b){if(typeof g=="object"&&g!==null&&g.type===hl&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Ef:e:{for(var P=g.key;h!==null;){if(h.key===P){if(P=g.type,P===hl){if(h.tag===7){o(m,h.sibling),b=n(h,g.props.children),b.return=m,m=b;break e}}else if(h.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===Pn&&ja(P)===h.type){o(m,h.sibling),b=n(h,g.props),gu(b,g),b.return=m,m=b;break e}o(m,h);break}else t(m,h);h=h.sibling}g.type===hl?(b=Ha(g.props.children,m.mode,b,g.key),b.return=m,m=b):(b=Gf(g.type,g.key,g.props,null,m.mode,b),gu(b,g),b.return=m,m=b)}return i(m);case Su:e:{for(P=g.key;h!==null;){if(h.key===P)if(h.tag===4&&h.stateNode.containerInfo===g.containerInfo&&h.stateNode.implementation===g.implementation){o(m,h.sibling),b=n(h,g.children||[]),b.return=m,m=b;break e}else{o(m,h);break}else t(m,h);h=h.sibling}b=Lh(g,m.mode,b),b.return=m,m=b}return i(m);case Pn:return g=ja(g),x(m,h,g,b)}if(Cu(g))return T(m,h,g,b);if(yu(g)){if(P=yu(g),typeof P!="function")throw Error(z(150));return g=P.call(g),v(m,h,g,b)}if(typeof g.then=="function")return x(m,h,Df(g),b);if(g.$$typeof===Fr)return x(m,h,_f(m,g),b);zf(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint"?(g=""+g,h!==null&&h.tag===6?(o(m,h.sibling),b=n(h,g),b.return=m,m=b):(o(m,h),b=jh(g,m.mode,b),b.return=m,m=b),i(m)):o(m,h)}return function(m,h,g,b){try{Gu=0;var P=x(m,h,g,b);return _l=null,P}catch(E){if(E===Xl||E===jd)throw E;var C=vo(29,E,null,m.mode);return C.lanes=b,C.return=m,C}}}var Ka=HE(!0),VE=HE(!1),Rn=!1;function xb(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ag(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 jn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ln(e,t,o){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(he&2)!==0){var n=r.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),r.pending=t,t=ud(e),DE(e,null,o),t}return kd(e,r,t,o),ud(e)}function Nu(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,iE(e,o)}}function Hh(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 Mg=!1;function _u(){if(Mg){var e=Nl;if(e!==null)throw e}}function Du(e,t,o,r){Mg=!1;var n=e.updateQueue;Rn=!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?(se&d)===d:(r&d)===d){d!==0&&d===jl&&(Mg=!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=Ve({},f,d);break e;case 2:Rn=!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),Yn|=i,e.lanes=i,e.memoizedState=f}}function FE(e,t){if(typeof e!="function")throw Error(z(191,e));e.call(t)}function $E(e,t){var o=e.callbacks;if(o!==null)for(e.callbacks=null,e=0;e<o.length;e++)FE(o[e],t)}var Ll=vr(null),dd=vr(0);function J1(e,t){e=Jr,ke(dd,e),ke(Ll,t),Jr=e|t.baseLanes}function wg(){ke(dd,Jr),ke(Ll,Ll.current)}function Sb(){Jr=dd.current,Et(Ll),Et(dd)}var Oo=vr(null),Ko=null;function An(e){var t=e.alternate;ke(rt,rt.current&1),ke(Oo,e),Ko===null&&(t===null||Ll.current!==null||t.memoizedState!==null)&&(Ko=e)}function Ng(e){ke(rt,rt.current),ke(Oo,e),Ko===null&&(Ko=e)}function qE(e){e.tag===22?(ke(rt,rt.current),ke(Oo,e),Ko===null&&(Ko=e)):Mn(e)}function Mn(){ke(rt,rt.current),ke(Oo,Oo.current)}function To(e){Et(Oo),Ko===e&&(Ko=null),Et(rt)}var rt=vr(0);function md(e){for(var t=e;t!==null;){if(t.tag===13){var o=t.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||Qg(o)||Zg(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 Qr=0,J=null,Me=null,lt=null,yd=!1,Dl=!1,Ya=!1,hd=0,Ku=0,zl=null,V3=0;function Je(){throw Error(z(321))}function Cb(e,t){if(t===null)return!1;for(var o=0;o<t.length&&o<e.length;o++)if(!Ro(e[o],t[o]))return!1;return!0}function Eb(e,t,o,r,n,a){return Qr=a,J=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Y.H=e===null||e.memoizedState===null?SP:Bb,Ya=!1,a=o(r,n),Ya=!1,Dl&&(a=KE(t,o,r,n)),GE(e),a}function GE(e){Y.H=Yu;var t=Me!==null&&Me.next!==null;if(Qr=0,lt=Me=J=null,yd=!1,Ku=0,zl=null,t)throw Error(z(300));e===null||ct||(e=e.dependencies,e!==null&&pd(e)&&(ct=!0))}function KE(e,t,o,r){J=e;var n=0;do{if(Dl&&(zl=null),Ku=0,Dl=!1,25<=n)throw Error(z(301));if(n+=1,lt=Me=null,e.updateQueue!=null){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}Y.H=CP,a=t(o,r)}while(Dl);return a}function F3(){var e=Y.H,t=e.useState()[0];return t=typeof t.then=="function"?lc(t):t,e=e.useState()[0],(Me!==null?Me.memoizedState:null)!==e&&(J.flags|=1024),t}function Pb(){var e=hd!==0;return hd=0,e}function Rb(e,t,o){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o}function Ob(e){if(yd){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}yd=!1}Qr=0,lt=Me=J=null,Dl=!1,Ku=hd=0,zl=null}function Wt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return lt===null?J.memoizedState=lt=e:lt=lt.next=e,lt}function nt(){if(Me===null){var e=J.alternate;e=e!==null?e.memoizedState:null}else e=Me.next;var t=lt===null?J.memoizedState:lt.next;if(t!==null)lt=t,Me=e;else{if(e===null)throw J.alternate===null?Error(z(467)):Error(z(310));Me=e,e={memoizedState:Me.memoizedState,baseState:Me.baseState,baseQueue:Me.baseQueue,queue:Me.queue,next:null},lt===null?J.memoizedState=lt=e:lt=lt.next=e}return lt}function Ld(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function lc(e){var t=Ku;return Ku+=1,zl===null&&(zl=[]),e=IE(zl,e,t),t=J,(lt===null?t.memoizedState:lt.next)===null&&(t=t.alternate,Y.H=t===null||t.memoizedState===null?SP:Bb),e}function Id(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return lc(e);if(e.$$typeof===Fr)return jt(e)}throw Error(z(438,String(e)))}function Ab(e){var t=null,o=J.updateQueue;if(o!==null&&(t=o.memoCache),t==null){var r=J.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=Ld(),J.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]=A5;return t.index++,o}function Zr(e,t){return typeof t=="function"?t(e):t}function Yf(e){var t=nt();return Mb(t,Me,e)}function Mb(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?(se&f)===f:(Qr&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===jl&&(p=!0);else if((Qr&d)===d){u=u.next,d===jl&&(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,J.lanes|=d,Yn|=d;f=u.action,Ya&&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,J.lanes|=f,Yn|=f;u=u.next}while(u!==null&&u!==t);if(s===null?i=a:s.next=l,!Ro(a,e.memoizedState)&&(ct=!0,p&&(o=Nl,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 Vh(e){var t=nt(),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);Ro(a,t.memoizedState)||(ct=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),o.lastRenderedState=a}return[a,r]}function YE(e,t,o){var r=J,n=nt(),a=pe;if(a){if(o===void 0)throw Error(z(407));o=o()}else o=t();var i=!Ro((Me||n).memoizedState,o);if(i&&(n.memoizedState=o,ct=!0),n=n.queue,wb(ZE.bind(null,r,n,e),[e]),n.getSnapshot!==t||i||lt!==null&&lt.memoizedState.tag&1){if(r.flags|=2048,Il(9,{destroy:void 0},QE.bind(null,r,n,o,t),null),Be===null)throw Error(z(349));a||(Qr&127)!==0||XE(r,t,o)}return o}function XE(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=J.updateQueue,t===null?(t=Ld(),J.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function QE(e,t,o,r){t.value=o,t.getSnapshot=r,WE(t)&&JE(e)}function ZE(e,t,o){return o(function(){WE(t)&&JE(e)})}function WE(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!Ro(e,o)}catch{return!0}}function JE(e){var t=Ja(e,2);t!==null&&lo(t,e,2)}function _g(e){var t=Wt();if(typeof e=="function"){var o=e;if(e=o(),Ya){Nn(!0);try{o()}finally{Nn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zr,lastRenderedState:e},t}function eP(e,t,o,r){return e.baseState=o,Mb(e,Me,typeof r=="function"?r:Zr)}function $3(e,t,o,r,n){if(Vd(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)}};Y.T!==null?o(!0):a.isTransition=!1,r(a),o=t.pending,o===null?(a.next=t.pending=a,tP(t,a)):(a.next=o.next,t.pending=o.next=a)}}function tP(e,t){var o=t.action,r=t.payload,n=e.state;if(t.isTransition){var a=Y.T,i={};Y.T=i;try{var l=o(n,r),s=Y.S;s!==null&&s(i,l),eC(e,t,l)}catch(u){Dg(e,t,u)}finally{a!==null&&i.types!==null&&(a.types=i.types),Y.T=a}}else try{a=o(n,r),eC(e,t,a)}catch(u){Dg(e,t,u)}}function eC(e,t,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(r){tC(e,t,r)},function(r){return Dg(e,t,r)}):tC(e,t,o)}function tC(e,t,o){t.status="fulfilled",t.value=o,oP(t),e.state=o,t=e.pending,t!==null&&(o=t.next,o===t?e.pending=null:(o=o.next,t.next=o,tP(e,o)))}function Dg(e,t,o){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status="rejected",t.reason=o,oP(t),t=t.next;while(t!==r)}e.action=null}function oP(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function rP(e,t){return t}function oC(e,t){if(pe){var o=Be.formState;if(o!==null){e:{var r=J;if(pe){if(He){t:{for(var n=He,a=Go;n.nodeType!==8;){if(!a){n=null;break t}if(n=Yo(n.nextSibling),n===null){n=null;break t}}a=n.data,n=a==="F!"||a==="F"?n:null}if(n){He=Yo(n.nextSibling),r=n.data==="F!";break e}}Gn(r)}r=!1}r&&(t=o[0])}}return o=Wt(),o.memoizedState=o.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rP,lastRenderedState:t},o.queue=r,o=TP.bind(null,J,r),r.dispatch=o,r=_g(!1),a=zb.bind(null,J,!1,r.queue),r=Wt(),n={state:t,dispatch:null,action:e,pending:null},r.queue=n,o=$3.bind(null,J,n,a,o),n.dispatch=o,r.memoizedState=e,[t,o,!1]}function rC(e){var t=nt();return nP(t,Me,e)}function nP(e,t,o){if(t=Mb(e,t,rP)[0],e=Yf(Zr)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var r=lc(t)}catch(i){throw i===Xl?jd:i}else r=t;t=nt();var n=t.queue,a=n.dispatch;return o!==t.memoizedState&&(J.flags|=2048,Il(9,{destroy:void 0},q3.bind(null,n,o),null)),[r,a,e]}function q3(e,t){e.action=t}function nC(e){var t=nt(),o=Me;if(o!==null)return nP(t,o,e);nt(),t=t.memoizedState,o=nt();var r=o.queue.dispatch;return o.memoizedState=e,[t,r,!1]}function Il(e,t,o,r){return e={tag:e,create:o,deps:r,inst:t,next:null},t=J.updateQueue,t===null&&(t=Ld(),J.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 aP(){return nt().memoizedState}function Xf(e,t,o,r){var n=Wt();J.flags|=e,n.memoizedState=Il(1|t,{destroy:void 0},o,r===void 0?null:r)}function Hd(e,t,o,r){var n=nt();r=r===void 0?null:r;var a=n.memoizedState.inst;Me!==null&&r!==null&&Cb(r,Me.memoizedState.deps)?n.memoizedState=Il(t,a,o,r):(J.flags|=e,n.memoizedState=Il(1|t,a,o,r))}function aC(e,t){Xf(8390656,8,e,t)}function wb(e,t){Hd(2048,8,e,t)}function G3(e){J.flags|=4;var t=J.updateQueue;if(t===null)t=Ld(),J.updateQueue=t,t.events=[e];else{var o=t.events;o===null?t.events=[e]:o.push(e)}}function iP(e){var t=nt().memoizedState;return G3({ref:t,nextImpl:e}),function(){if((he&2)!==0)throw Error(z(440));return t.impl.apply(void 0,arguments)}}function lP(e,t){return Hd(4,2,e,t)}function sP(e,t){return Hd(4,4,e,t)}function uP(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 cP(e,t,o){o=o!=null?o.concat([e]):null,Hd(4,4,uP.bind(null,t,e),o)}function Nb(){}function pP(e,t){var o=nt();t=t===void 0?null:t;var r=o.memoizedState;return t!==null&&Cb(t,r[1])?r[0]:(o.memoizedState=[e,t],e)}function fP(e,t){var o=nt();t=t===void 0?null:t;var r=o.memoizedState;if(t!==null&&Cb(t,r[1]))return r[0];if(r=e(),Ya){Nn(!0);try{e()}finally{Nn(!1)}}return o.memoizedState=[r,t],r}function _b(e,t,o){return o===void 0||(Qr&1073741824)!==0&&(se&261930)===0?e.memoizedState=t:(e.memoizedState=o,e=eR(),J.lanes|=e,Yn|=e,o)}function dP(e,t,o,r){return Ro(o,t)?o:Ll.current!==null?(e=_b(e,o,r),Ro(e,t)||(ct=!0),e):(Qr&42)===0||(Qr&1073741824)!==0&&(se&261930)===0?(ct=!0,e.memoizedState=o):(e=eR(),J.lanes|=e,Yn|=e,t)}function mP(e,t,o,r,n){var a=ge.p;ge.p=a!==0&&8>a?a:8;var i=Y.T,l={};Y.T=l,zb(e,!1,t,o);try{var s=n(),u=Y.S;if(u!==null&&u(l,s),s!==null&&typeof s=="object"&&typeof s.then=="function"){var p=H3(s,r);zu(e,t,p,Po(e))}else zu(e,t,r,Po(e))}catch(f){zu(e,t,{then:function(){},status:"rejected",reason:f},Po())}finally{ge.p=a,i!==null&&l.types!==null&&(i.types=l.types),Y.T=i}}function K3(){}function zg(e,t,o,r){if(e.tag!==5)throw Error(z(476));var n=yP(e).queue;mP(e,n,t,Ia,o===null?K3:function(){return hP(e),o(r)})}function yP(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Ia,baseState:Ia,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zr,lastRenderedState:Ia},next:null};var o={};return t.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zr,lastRenderedState:o},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function hP(e){var t=yP(e);t.next===null&&(t=e.alternate.memoizedState),zu(e,t.next.queue,{},Po())}function Db(){return jt(Zu)}function gP(){return nt().memoizedState}function bP(){return nt().memoizedState}function Y3(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var o=Po();e=jn(o);var r=Ln(t,e,o);r!==null&&(lo(r,t,o),Nu(r,t,o)),t={cache:bb()},e.payload=t;return}t=t.return}}function X3(e,t,o){var r=Po();o={lane:r,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Vd(e)?vP(t,o):(o=mb(e,t,o,r),o!==null&&(lo(o,e,r),xP(o,t,r)))}function TP(e,t,o){var r=Po();zu(e,t,o,r)}function zu(e,t,o,r){var n={lane:r,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(Vd(e))vP(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,Ro(l,i))return kd(e,t,n,0),Be===null&&Ud(),!1}catch{}if(o=mb(e,t,n,r),o!==null)return lo(o,e,r),xP(o,t,r),!0}return!1}function zb(e,t,o,r){if(r={lane:2,revertLane:Fb(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Vd(e)){if(t)throw Error(z(479))}else t=mb(e,o,r,2),t!==null&&lo(t,e,2)}function Vd(e){var t=e.alternate;return e===J||t!==null&&t===J}function vP(e,t){Dl=yd=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function xP(e,t,o){if((o&4194048)!==0){var r=t.lanes;r&=e.pendingLanes,o|=r,t.lanes=o,iE(e,o)}}var Yu={readContext:jt,use:Id,useCallback:Je,useContext:Je,useEffect:Je,useImperativeHandle:Je,useLayoutEffect:Je,useInsertionEffect:Je,useMemo:Je,useReducer:Je,useRef:Je,useState:Je,useDebugValue:Je,useDeferredValue:Je,useTransition:Je,useSyncExternalStore:Je,useId:Je,useHostTransitionStatus:Je,useFormState:Je,useActionState:Je,useOptimistic:Je,useMemoCache:Je,useCacheRefresh:Je};Yu.useEffectEvent=Je;var SP={readContext:jt,use:Id,useCallback:function(e,t){return Wt().memoizedState=[e,t===void 0?null:t],e},useContext:jt,useEffect:aC,useImperativeHandle:function(e,t,o){o=o!=null?o.concat([e]):null,Xf(4194308,4,uP.bind(null,t,e),o)},useLayoutEffect:function(e,t){return Xf(4194308,4,e,t)},useInsertionEffect:function(e,t){Xf(4,2,e,t)},useMemo:function(e,t){var o=Wt();t=t===void 0?null:t;var r=e();if(Ya){Nn(!0);try{e()}finally{Nn(!1)}}return o.memoizedState=[r,t],r},useReducer:function(e,t,o){var r=Wt();if(o!==void 0){var n=o(t);if(Ya){Nn(!0);try{o(t)}finally{Nn(!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=X3.bind(null,J,e),[r.memoizedState,e]},useRef:function(e){var t=Wt();return e={current:e},t.memoizedState=e},useState:function(e){e=_g(e);var t=e.queue,o=TP.bind(null,J,t);return t.dispatch=o,[e.memoizedState,o]},useDebugValue:Nb,useDeferredValue:function(e,t){var o=Wt();return _b(o,e,t)},useTransition:function(){var e=_g(!1);return e=mP.bind(null,J,e.queue,!0,!1),Wt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,o){var r=J,n=Wt();if(pe){if(o===void 0)throw Error(z(407));o=o()}else{if(o=t(),Be===null)throw Error(z(349));(se&127)!==0||XE(r,t,o)}n.memoizedState=o;var a={value:o,getSnapshot:t};return n.queue=a,aC(ZE.bind(null,r,a,e),[e]),r.flags|=2048,Il(9,{destroy:void 0},QE.bind(null,r,a,o,t),null),o},useId:function(){var e=Wt(),t=Be.identifierPrefix;if(pe){var o=gr,r=hr;o=(r&~(1<<32-Eo(r)-1)).toString(32)+o,t="_"+t+"R_"+o,o=hd++,0<o&&(t+="H"+o.toString(32)),t+="_"}else o=V3++,t="_"+t+"r_"+o.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Db,useFormState:oC,useActionState:oC,useOptimistic:function(e){var t=Wt();t.memoizedState=t.baseState=e;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=o,t=zb.bind(null,J,!0,o),o.dispatch=t,[e,t]},useMemoCache:Ab,useCacheRefresh:function(){return Wt().memoizedState=Y3.bind(null,J)},useEffectEvent:function(e){var t=Wt(),o={impl:e};return t.memoizedState=o,function(){if((he&2)!==0)throw Error(z(440));return o.impl.apply(void 0,arguments)}}},Bb={readContext:jt,use:Id,useCallback:pP,useContext:jt,useEffect:wb,useImperativeHandle:cP,useInsertionEffect:lP,useLayoutEffect:sP,useMemo:fP,useReducer:Yf,useRef:aP,useState:function(){return Yf(Zr)},useDebugValue:Nb,useDeferredValue:function(e,t){var o=nt();return dP(o,Me.memoizedState,e,t)},useTransition:function(){var e=Yf(Zr)[0],t=nt().memoizedState;return[typeof e=="boolean"?e:lc(e),t]},useSyncExternalStore:YE,useId:gP,useHostTransitionStatus:Db,useFormState:rC,useActionState:rC,useOptimistic:function(e,t){var o=nt();return eP(o,Me,e,t)},useMemoCache:Ab,useCacheRefresh:bP};Bb.useEffectEvent=iP;var CP={readContext:jt,use:Id,useCallback:pP,useContext:jt,useEffect:wb,useImperativeHandle:cP,useInsertionEffect:lP,useLayoutEffect:sP,useMemo:fP,useReducer:Vh,useRef:aP,useState:function(){return Vh(Zr)},useDebugValue:Nb,useDeferredValue:function(e,t){var o=nt();return Me===null?_b(o,e,t):dP(o,Me.memoizedState,e,t)},useTransition:function(){var e=Vh(Zr)[0],t=nt().memoizedState;return[typeof e=="boolean"?e:lc(e),t]},useSyncExternalStore:YE,useId:gP,useHostTransitionStatus:Db,useFormState:nC,useActionState:nC,useOptimistic:function(e,t){var o=nt();return Me!==null?eP(o,Me,e,t):(o.baseState=e,[e,o.queue.dispatch])},useMemoCache:Ab,useCacheRefresh:bP};CP.useEffectEvent=iP;function Fh(e,t,o,r){t=e.memoizedState,o=o(r,t),o=o==null?t:Ve({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var Bg={enqueueSetState:function(e,t,o){e=e._reactInternals;var r=Po(),n=jn(r);n.payload=t,o!=null&&(n.callback=o),t=Ln(e,n,r),t!==null&&(lo(t,e,r),Nu(t,e,r))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var r=Po(),n=jn(r);n.tag=1,n.payload=t,o!=null&&(n.callback=o),t=Ln(e,n,r),t!==null&&(lo(t,e,r),Nu(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=Po(),r=jn(o);r.tag=2,t!=null&&(r.callback=t),t=Ln(e,r,o),t!==null&&(lo(t,e,o),Nu(t,e,o))}};function iC(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?!Fu(o,r)||!Fu(n,a):!0}function lC(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&&Bg.enqueueReplaceState(t,t.state,null)}function Xa(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=Ve({},o));for(var n in e)o[n]===void 0&&(o[n]=e[n])}return o}function EP(e){sd(e)}function PP(e){console.error(e)}function RP(e){sd(e)}function gd(e,t){try{var o=e.onUncaughtError;o(t.value,{componentStack:t.stack})}catch(r){setTimeout(function(){throw r})}}function sC(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 Ug(e,t,o){return o=jn(o),o.tag=3,o.payload={element:null},o.callback=function(){gd(e,t)},o}function OP(e){return e=jn(e),e.tag=3,e}function AP(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(){sC(t,o,r)}}var i=o.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(e.callback=function(){sC(t,o,r),typeof n!="function"&&(In===null?In=new Set([this]):In.add(this));var l=r.stack;this.componentDidCatch(r.value,{componentStack:l!==null?l:""})})}function Q3(e,t,o,r,n){if(o.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(t=o.alternate,t!==null&&Yl(t,o,n,!0),o=Oo.current,o!==null){switch(o.tag){case 31:case 13:return Ko===null?Sd():o.alternate===null&&et===0&&(et=3),o.flags&=-257,o.flags|=65536,o.lanes=n,r===fd?o.flags|=16384:(t=o.updateQueue,t===null?o.updateQueue=new Set([r]):t.add(r),eg(e,r,n)),!1;case 22:return o.flags|=65536,r===fd?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)),eg(e,r,n)),!1}throw Error(z(435,o.tag))}return eg(e,r,n),Sd(),!1}if(pe)return t=Oo.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,r!==Cg&&(e=Error(z(422),{cause:r}),qu(qo(e,o)))):(r!==Cg&&(t=Error(z(423),{cause:r}),qu(qo(t,o))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,r=qo(r,o),n=Ug(e.stateNode,r,n),Hh(e,n),et!==4&&(et=2)),!1;var a=Error(z(520),{cause:r});if(a=qo(a,o),ku===null?ku=[a]:ku.push(a),et!==4&&(et=2),t===null)return!0;r=qo(r,o),o=t;do{switch(o.tag){case 3:return o.flags|=65536,e=n&-n,o.lanes|=e,e=Ug(o.stateNode,r,e),Hh(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"&&(In===null||!In.has(a))))return o.flags|=65536,n&=-n,o.lanes|=n,n=OP(n),AP(n,e,o,r),Hh(o,n),!1}o=o.return}while(o!==null);return!1}var Ub=Error(z(461)),ct=!1;function Bt(e,t,o,r){t.child=e===null?VE(t,null,o,r):Ka(t,e.child,o,r)}function uC(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 Ga(t),r=Eb(e,t,o,i,a,n),l=Pb(),e!==null&&!ct?(Rb(e,t,n),Wr(e,t,n)):(pe&&l&&hb(t),t.flags|=1,Bt(e,t,r,n),t.child)}function cC(e,t,o,r,n){if(e===null){var a=o.type;return typeof a=="function"&&!yb(a)&&a.defaultProps===void 0&&o.compare===null?(t.tag=15,t.type=a,MP(e,t,a,r,n)):(e=Gf(o.type,null,r,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!kb(e,n)){var i=a.memoizedProps;if(o=o.compare,o=o!==null?o:Fu,o(i,r)&&e.ref===t.ref)return Wr(e,t,n)}return t.flags|=1,e=Gr(a,r),e.ref=t.ref,e.return=t,t.child=e}function MP(e,t,o,r,n){if(e!==null){var a=e.memoizedProps;if(Fu(a,r)&&e.ref===t.ref)if(ct=!1,t.pendingProps=r=a,kb(e,n))(e.flags&131072)!==0&&(ct=!0);else return t.lanes=e.lanes,Wr(e,t,n)}return kg(e,t,o,r,n)}function wP(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 pC(e,t,a,o,r)}if((o&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Kf(t,a!==null?a.cachePool:null),a!==null?J1(t,a):wg(),qE(t);else return r=t.lanes=536870912,pC(e,t,a!==null?a.baseLanes|o:o,o,r)}else a!==null?(Kf(t,a.cachePool),J1(t,a),Mn(t),t.memoizedState=null):(e!==null&&Kf(t,null),wg(),Mn(t));return Bt(e,t,n,o),t.child}function Pu(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function pC(e,t,o,r,n){var a=Tb();return a=a===null?null:{parent:ut._currentValue,pool:a},t.memoizedState={baseLanes:o,cachePool:a},e!==null&&Kf(t,null),wg(),qE(t),e!==null&&Yl(e,t,r,!0),t.childLanes=n,null}function Qf(e,t){return t=bd({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function fC(e,t,o){return Ka(t,e.child,null,o),e=Qf(t,t.pendingProps),e.flags|=2,To(t),t.memoizedState=null,e}function Z3(e,t,o){var r=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(pe){if(r.mode==="hidden")return e=Qf(t,r),t.lanes=536870912,Pu(null,e);if(Ng(t),(e=He)?(e=SR(e,Go),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:qn!==null?{id:hr,overflow:gr}:null,retryLane:536870912,hydrationErrors:null},o=BE(e),o.return=t,t.child=o,kt=t,He=null)):e=null,e===null)throw Gn(t);return t.lanes=536870912,null}return Qf(t,r)}var a=e.memoizedState;if(a!==null){var i=a.dehydrated;if(Ng(t),n)if(t.flags&256)t.flags&=-257,t=fC(e,t,o);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(z(558));else if(ct||Yl(e,t,o,!1),n=(o&e.childLanes)!==0,ct||n){if(r=Be,r!==null&&(i=lE(r,o),i!==0&&i!==a.retryLane))throw a.retryLane=i,Ja(e,i),lo(r,e,i),Ub;Sd(),t=fC(e,t,o)}else e=a.treeContext,He=Yo(i.nextSibling),kt=t,pe=!0,kn=null,Go=!1,e!==null&&kE(t,e),t=Qf(t,r),t.flags|=4096;return t}return e=Gr(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Zf(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 kg(e,t,o,r,n){return Ga(t),o=Eb(e,t,o,r,void 0,n),r=Pb(),e!==null&&!ct?(Rb(e,t,n),Wr(e,t,n)):(pe&&r&&hb(t),t.flags|=1,Bt(e,t,o,n),t.child)}function dC(e,t,o,r,n,a){return Ga(t),t.updateQueue=null,o=KE(t,r,o,n),GE(e),r=Pb(),e!==null&&!ct?(Rb(e,t,a),Wr(e,t,a)):(pe&&r&&hb(t),t.flags|=1,Bt(e,t,o,a),t.child)}function mC(e,t,o,r,n){if(Ga(t),t.stateNode===null){var a=El,i=o.contextType;typeof i=="object"&&i!==null&&(a=jt(i)),a=new o(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Bg,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},xb(t),i=o.contextType,a.context=typeof i=="object"&&i!==null?jt(i):El,a.state=t.memoizedState,i=o.getDerivedStateFromProps,typeof i=="function"&&(Fh(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&&Bg.enqueueReplaceState(a,a.state,null),Du(t,r,a,n),_u(),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=Xa(o,l);a.props=s;var u=a.context,p=o.contextType;i=El,typeof p=="object"&&p!==null&&(i=jt(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)&&lC(t,a,r,i),Rn=!1;var d=t.memoizedState;a.state=d,Du(t,r,a,n),_u(),u=t.memoizedState,l||d!==u||Rn?(typeof f=="function"&&(Fh(t,o,f,r),u=t.memoizedState),(s=Rn||iC(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,Ag(e,t),i=t.memoizedProps,p=Xa(o,i),a.props=p,f=t.pendingProps,d=a.context,u=o.contextType,s=El,typeof u=="object"&&u!==null&&(s=jt(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)&&lC(t,a,r,s),Rn=!1,d=t.memoizedState,a.state=d,Du(t,r,a,n),_u();var c=t.memoizedState;i!==f||d!==c||Rn||e!==null&&e.dependencies!==null&&pd(e.dependencies)?(typeof l=="function"&&(Fh(t,o,l,r),c=t.memoizedState),(p=Rn||iC(t,o,p,r,d,c,s)||e!==null&&e.dependencies!==null&&pd(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,Zf(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=Ka(t,e.child,null,n),t.child=Ka(t,null,o,n)):Bt(e,t,o,n),t.memoizedState=a.state,e=t.child):e=Wr(e,t,n),e}function yC(e,t,o,r){return qa(),t.flags|=256,Bt(e,t,o,r),t.child}var $h={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function qh(e){return{baseLanes:e,cachePool:LE()}}function Gh(e,t,o){return e=e!==null?e.childLanes&~o:0,t&&(e|=xo),e}function NP(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:(rt.current&2)!==0),i&&(n=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,e===null){if(pe){if(n?An(t):Mn(t),(e=He)?(e=SR(e,Go),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:qn!==null?{id:hr,overflow:gr}:null,retryLane:536870912,hydrationErrors:null},o=BE(e),o.return=t,t.child=o,kt=t,He=null)):e=null,e===null)throw Gn(t);return Zg(e)?t.lanes=32:t.lanes=536870912,null}var l=r.children;return r=r.fallback,n?(Mn(t),n=t.mode,l=bd({mode:"hidden",children:l},n),r=Ha(r,n,o,null),l.return=t,r.return=t,l.sibling=r,t.child=l,r=t.child,r.memoizedState=qh(o),r.childLanes=Gh(e,i,o),t.memoizedState=$h,Pu(null,r)):(An(t),jg(t,l))}var s=e.memoizedState;if(s!==null&&(l=s.dehydrated,l!==null)){if(a)t.flags&256?(An(t),t.flags&=-257,t=Kh(e,t,o)):t.memoizedState!==null?(Mn(t),t.child=e.child,t.flags|=128,t=null):(Mn(t),l=r.fallback,n=t.mode,r=bd({mode:"visible",children:r.children},n),l=Ha(l,n,o,null),l.flags|=2,r.return=t,l.return=t,r.sibling=l,t.child=r,Ka(t,e.child,null,o),r=t.child,r.memoizedState=qh(o),r.childLanes=Gh(e,i,o),t.memoizedState=$h,t=Pu(null,r));else if(An(t),Zg(l)){if(i=l.nextSibling&&l.nextSibling.dataset,i)var u=i.dgst;i=u,r=Error(z(419)),r.stack="",r.digest=i,qu({value:r,source:null,stack:null}),t=Kh(e,t,o)}else if(ct||Yl(e,t,o,!1),i=(o&e.childLanes)!==0,ct||i){if(i=Be,i!==null&&(r=lE(i,o),r!==0&&r!==s.retryLane))throw s.retryLane=r,Ja(e,r),lo(i,e,r),Ub;Qg(l)||Sd(),t=Kh(e,t,o)}else Qg(l)?(t.flags|=192,t.child=e.child,t=null):(e=s.treeContext,He=Yo(l.nextSibling),kt=t,pe=!0,kn=null,Go=!1,e!==null&&kE(t,e),t=jg(t,r.children),t.flags|=4096);return t}return n?(Mn(t),l=r.fallback,n=t.mode,s=e.child,u=s.sibling,r=Gr(s,{mode:"hidden",children:r.children}),r.subtreeFlags=s.subtreeFlags&65011712,u!==null?l=Gr(u,l):(l=Ha(l,n,o,null),l.flags|=2),l.return=t,r.return=t,r.sibling=l,t.child=r,Pu(null,r),r=t.child,l=e.child.memoizedState,l===null?l=qh(o):(n=l.cachePool,n!==null?(s=ut._currentValue,n=n.parent!==s?{parent:s,pool:s}:n):n=LE(),l={baseLanes:l.baseLanes|o,cachePool:n}),r.memoizedState=l,r.childLanes=Gh(e,i,o),t.memoizedState=$h,Pu(e.child,r)):(An(t),o=e.child,e=o.sibling,o=Gr(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 jg(e,t){return t=bd({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function bd(e,t){return e=vo(22,e,null,t),e.lanes=0,e}function Kh(e,t,o){return Ka(t,e.child,null,o),e=jg(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function hC(e,t,o){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Pg(e.return,t,o)}function Yh(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 _P(e,t,o){var r=t.pendingProps,n=r.revealOrder,a=r.tail;r=r.children;var i=rt.current,l=(i&2)!==0;if(l?(i=i&1|2,t.flags|=128):i&=1,ke(rt,i),Bt(e,t,r,o),r=pe?$u:0,!l&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&hC(e,o,t);else if(e.tag===19)hC(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&&md(e)===null&&(n=o),o=o.sibling;o=n,o===null?(n=t.child,t.child=null):(n=o.sibling,o.sibling=null),Yh(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&&md(e)===null){t.child=n;break}e=n.sibling,n.sibling=o,o=n,n=e}Yh(t,!0,o,null,a,r);break;case"together":Yh(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Wr(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),Yn|=t.lanes,(o&t.childLanes)===0)if(e!==null){if(Yl(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=Gr(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=Gr(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function kb(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&pd(e)))}function W3(e,t,o){switch(t.tag){case 3:nd(t,t.stateNode.containerInfo),On(t,ut,e.memoizedState.cache),qa();break;case 27:case 5:fg(t);break;case 4:nd(t,t.stateNode.containerInfo);break;case 10:On(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Ng(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated!==null?(An(t),t.flags|=128,null):(o&t.child.childLanes)!==0?NP(e,t,o):(An(t),e=Wr(e,t,o),e!==null?e.sibling:null);An(t);break;case 19:var n=(e.flags&128)!==0;if(r=(o&t.childLanes)!==0,r||(Yl(e,t,o,!1),r=(o&t.childLanes)!==0),n){if(r)return _P(e,t,o);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),ke(rt,rt.current),r)break;return null;case 22:return t.lanes=0,wP(e,t,o,t.pendingProps);case 24:On(t,ut,e.memoizedState.cache)}return Wr(e,t,o)}function DP(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps)ct=!0;else{if(!kb(e,o)&&(t.flags&128)===0)return ct=!1,W3(e,t,o);ct=(e.flags&131072)!==0}else ct=!1,pe&&(t.flags&1048576)!==0&&UE(t,$u,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=ja(t.elementType),t.type=e,typeof e=="function")yb(e)?(r=Xa(e,r),t.tag=1,t=mC(null,t,e,r,o)):(t.tag=0,t=kg(null,t,e,r,o));else{if(e!=null){var n=e.$$typeof;if(n===tb){t.tag=11,t=uC(null,t,e,r,o);break e}else if(n===ob){t.tag=14,t=cC(null,t,e,r,o);break e}}throw t=cg(e)||e,Error(z(306,t,""))}}return t;case 0:return kg(e,t,t.type,t.pendingProps,o);case 1:return r=t.type,n=Xa(r,t.pendingProps),mC(e,t,r,n,o);case 3:e:{if(nd(t,t.stateNode.containerInfo),e===null)throw Error(z(387));r=t.pendingProps;var a=t.memoizedState;n=a.element,Ag(e,t),Du(t,r,null,o);var i=t.memoizedState;if(r=i.cache,On(t,ut,r),r!==a.cache&&Rg(t,[ut],o,!0),_u(),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=yC(e,t,r,o);break e}else if(r!==n){n=qo(Error(z(424)),t),qu(n),t=yC(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,He=Yo(e.firstChild),kt=t,pe=!0,kn=null,Go=!0,o=VE(t,null,r,o),t.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(qa(),r===n){t=Wr(e,t,o);break e}Bt(e,t,r,o)}t=t.child}return t;case 26:return Zf(e,t),e===null?(o=jC(t.type,null,t.pendingProps,null))?t.memoizedState=o:pe||(o=t.type,e=t.pendingProps,r=Rd(Un.current).createElement(o),r[Ut]=t,r[so]=e,Lt(r,o,e),Ct(r),t.stateNode=r):t.memoizedState=jC(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return fg(t),e===null&&pe&&(r=t.stateNode=CR(t.type,t.pendingProps,Un.current),kt=t,Go=!0,n=He,Qn(t.type)?(Wg=n,He=Yo(r.firstChild)):He=n),Bt(e,t,t.pendingProps.children,o),Zf(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&pe&&((n=r=He)&&(r=Rz(r,t.type,t.pendingProps,Go),r!==null?(t.stateNode=r,kt=t,He=Yo(r.firstChild),Go=!1,n=!0):n=!1),n||Gn(t)),fg(t),n=t.type,a=t.pendingProps,i=e!==null?e.memoizedProps:null,r=a.children,Yg(n,a)?r=null:i!==null&&Yg(n,i)&&(t.flags|=32),t.memoizedState!==null&&(n=Eb(e,t,F3,null,null,o),Zu._currentValue=n),Zf(e,t),Bt(e,t,r,o),t.child;case 6:return e===null&&pe&&((e=o=He)&&(o=Oz(o,t.pendingProps,Go),o!==null?(t.stateNode=o,kt=t,He=null,e=!0):e=!1),e||Gn(t)),null;case 13:return NP(e,t,o);case 4:return nd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ka(t,null,r,o):Bt(e,t,r,o),t.child;case 11:return uC(e,t,t.type,t.pendingProps,o);case 7:return Bt(e,t,t.pendingProps,o),t.child;case 8:return Bt(e,t,t.pendingProps.children,o),t.child;case 12:return Bt(e,t,t.pendingProps.children,o),t.child;case 10:return r=t.pendingProps,On(t,t.type,r.value),Bt(e,t,r.children,o),t.child;case 9:return n=t.type._context,r=t.pendingProps.children,Ga(t),n=jt(n),r=r(n),t.flags|=1,Bt(e,t,r,o),t.child;case 14:return cC(e,t,t.type,t.pendingProps,o);case 15:return MP(e,t,t.type,t.pendingProps,o);case 19:return _P(e,t,o);case 31:return Z3(e,t,o);case 22:return wP(e,t,o,t.pendingProps);case 24:return Ga(t),r=jt(ut),e===null?(n=Tb(),n===null&&(n=Be,a=bb(),n.pooledCache=a,a.refCount++,a!==null&&(n.pooledCacheLanes|=o),n=a),t.memoizedState={parent:r,cache:n},xb(t),On(t,ut,n)):((e.lanes&o)!==0&&(Ag(e,t),Du(t,null,null,o),_u()),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),On(t,ut,r)):(r=a.cache,On(t,ut,r),r!==n.cache&&Rg(t,[ut],o,!0))),Bt(e,t,t.pendingProps.children,o),t.child;case 29:throw t.pendingProps}throw Error(z(156,t.tag))}function kr(e){e.flags|=4}function Xh(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(rR())e.flags|=8192;else throw Fa=fd,vb}else e.flags&=-16777217}function gC(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!RR(t))if(rR())e.flags|=8192;else throw Fa=fd,vb}function Bf(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?nE():536870912,e.lanes|=t,Hl|=t)}function bu(e,t){if(!pe)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 Ie(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 J3(e,t,o){var r=t.pendingProps;switch(gb(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ie(t),null;case 1:return Ie(t),null;case 3:return o=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Kr(ut),Bl(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(fl(t)?kr(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Ih())),Ie(t),null;case 26:var n=t.type,a=t.memoizedState;return e===null?(kr(t),a!==null?(Ie(t),gC(t,a)):(Ie(t),Xh(t,n,null,r,o))):a?a!==e.memoizedState?(kr(t),Ie(t),gC(t,a)):(Ie(t),t.flags&=-16777217):(e=e.memoizedProps,e!==r&&kr(t),Ie(t),Xh(t,n,e,r,o)),null;case 27:if(ad(t),o=Un.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&kr(t);else{if(!r){if(t.stateNode===null)throw Error(z(166));return Ie(t),null}e=Tr.current,fl(t)?G1(t,e):(e=CR(n,r,o),t.stateNode=e,kr(t))}return Ie(t),null;case 5:if(ad(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&kr(t);else{if(!r){if(t.stateNode===null)throw Error(z(166));return Ie(t),null}if(a=Tr.current,fl(t))G1(t,a);else{var i=Rd(Un.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[Ut]=t,a[so]=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(Lt(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&&kr(t)}}return Ie(t),Xh(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,o),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&kr(t);else{if(typeof r!="string"&&t.stateNode===null)throw Error(z(166));if(e=Un.current,fl(t)){if(e=t.stateNode,o=t.memoizedProps,r=null,n=kt,n!==null)switch(n.tag){case 27:case 5:r=n.memoizedProps}e[Ut]=t,e=!!(e.nodeValue===o||r!==null&&r.suppressHydrationWarning===!0||TR(e.nodeValue,o)),e||Gn(t,!0)}else e=Rd(e).createTextNode(r),e[Ut]=t,t.stateNode=e}return Ie(t),null;case 31:if(o=t.memoizedState,e===null||e.memoizedState!==null){if(r=fl(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[Ut]=t}else qa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ie(t),e=!1}else o=Ih(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),e=!0;if(!e)return t.flags&256?(To(t),t):(To(t),null);if((t.flags&128)!==0)throw Error(z(558))}return Ie(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=fl(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[Ut]=t}else qa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ie(t),n=!1}else n=Ih(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(To(t),t):(To(t),null)}return To(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),Bf(t,t.updateQueue),Ie(t),null);case 4:return Bl(),e===null&&$b(t.stateNode.containerInfo),Ie(t),null;case 10:return Kr(t.type),Ie(t),null;case 19:if(Et(rt),r=t.memoizedState,r===null)return Ie(t),null;if(n=(t.flags&128)!==0,a=r.rendering,a===null)if(n)bu(r,!1);else{if(et!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(a=md(e),a!==null){for(t.flags|=128,bu(r,!1),e=a.updateQueue,t.updateQueue=e,Bf(t,e),t.subtreeFlags=0,e=o,o=t.child;o!==null;)zE(o,e),o=o.sibling;return ke(rt,rt.current&1|2),pe&&Hr(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&So()>vd&&(t.flags|=128,n=!0,bu(r,!1),t.lanes=4194304)}else{if(!n)if(e=md(a),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,Bf(t,e),bu(r,!0),r.tail===null&&r.tailMode==="hidden"&&!a.alternate&&!pe)return Ie(t),null}else 2*So()-r.renderingStartTime>vd&&o!==536870912&&(t.flags|=128,n=!0,bu(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=So(),e.sibling=null,o=rt.current,ke(rt,n?o&1|2:o&1),pe&&Hr(t,r.treeForkCount),e):(Ie(t),null);case 22:case 23:return To(t),Sb(),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&&(Ie(t),t.subtreeFlags&6&&(t.flags|=8192)):Ie(t),o=t.updateQueue,o!==null&&Bf(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&&Et(Va),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),Kr(ut),Ie(t),null;case 25:return null;case 30:return null}throw Error(z(156,t.tag))}function ez(e,t){switch(gb(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Kr(ut),Bl(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ad(t),null;case 31:if(t.memoizedState!==null){if(To(t),t.alternate===null)throw Error(z(340));qa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(To(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(z(340));qa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Et(rt),null;case 4:return Bl(),null;case 10:return Kr(t.type),null;case 22:case 23:return To(t),Sb(),e!==null&&Et(Va),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Kr(ut),null;case 25:return null;default:return null}}function zP(e,t){switch(gb(t),t.tag){case 3:Kr(ut),Bl();break;case 26:case 27:case 5:ad(t);break;case 4:Bl();break;case 31:t.memoizedState!==null&&To(t);break;case 13:To(t);break;case 19:Et(rt);break;case 10:Kr(t.type);break;case 22:case 23:To(t),Sb(),e!==null&&Et(Va);break;case 24:Kr(ut)}}function sc(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){Pe(t,t.return,l)}}function Kn(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){Pe(n,s,p)}}}r=r.next}while(r!==a)}}catch(p){Pe(t,t.return,p)}}function BP(e){var t=e.updateQueue;if(t!==null){var o=e.stateNode;try{$E(t,o)}catch(r){Pe(e,e.return,r)}}}function UP(e,t,o){o.props=Xa(e.type,e.memoizedProps),o.state=e.memoizedState;try{o.componentWillUnmount()}catch(r){Pe(e,t,r)}}function Bu(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){Pe(e,t,n)}}function br(e,t){var o=e.ref,r=e.refCleanup;if(o!==null)if(typeof r=="function")try{r()}catch(n){Pe(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){Pe(e,t,n)}else o.current=null}function kP(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){Pe(e,e.return,n)}}function Qh(e,t,o){try{var r=e.stateNode;vz(r,e.type,o,t),r[so]=t}catch(n){Pe(e,e.return,n)}}function jP(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Qn(e.type)||e.tag===4}function Zh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||jP(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&&Qn(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 Lg(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=$r));else if(r!==4&&(r===27&&Qn(e.type)&&(o=e.stateNode,t=null),e=e.child,e!==null))for(Lg(e,t,o),e=e.sibling;e!==null;)Lg(e,t,o),e=e.sibling}function Td(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&&Qn(e.type)&&(o=e.stateNode),e=e.child,e!==null))for(Td(e,t,o),e=e.sibling;e!==null;)Td(e,t,o),e=e.sibling}function LP(e){var t=e.stateNode,o=e.memoizedProps;try{for(var r=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Lt(t,r,o),t[Ut]=e,t[so]=o}catch(a){Pe(e,e.return,a)}}var Vr=!1,st=!1,Wh=!1,bC=typeof WeakSet=="function"?WeakSet:Set,St=null;function tz(e,t){if(e=e.containerInfo,Gg=wd,e=RE(e),fb(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(Kg={focusedElem:e,selectionRange:o},wd=!1,St=t;St!==null;)if(t=St,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,St=e;else for(;St!==null;){switch(t=St,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=Xa(o.type,n);e=r.getSnapshotBeforeUpdate(T,a),r.__reactInternalSnapshotBeforeUpdate=e}catch(v){Pe(o,o.return,v)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,o=e.nodeType,o===9)Xg(e);else if(o===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Xg(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,St=e;break}St=t.return}}function IP(e,t,o){var r=o.flags;switch(o.tag){case 0:case 11:case 15:Lr(e,o),r&4&&sc(5,o);break;case 1:if(Lr(e,o),r&4)if(e=o.stateNode,t===null)try{e.componentDidMount()}catch(i){Pe(o,o.return,i)}else{var n=Xa(o.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(i){Pe(o,o.return,i)}}r&64&&BP(o),r&512&&Bu(o,o.return);break;case 3:if(Lr(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{$E(e,t)}catch(i){Pe(o,o.return,i)}}break;case 27:t===null&&r&4&&LP(o);case 26:case 5:Lr(e,o),t===null&&r&4&&kP(o),r&512&&Bu(o,o.return);break;case 12:Lr(e,o);break;case 31:Lr(e,o),r&4&&FP(e,o);break;case 13:Lr(e,o),r&4&&$P(e,o),r&64&&(e=o.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(o=cz.bind(null,o),Az(e,o))));break;case 22:if(r=o.memoizedState!==null||Vr,!r){t=t!==null&&t.memoizedState!==null||st,n=Vr;var a=st;Vr=r,(st=t)&&!a?Ir(e,o,(o.subtreeFlags&8772)!==0):Lr(e,o),Vr=n,st=a}break;case 30:break;default:Lr(e,o)}}function HP(e){var t=e.alternate;t!==null&&(e.alternate=null,HP(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ib(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 qe=null,ao=!1;function jr(e,t,o){for(o=o.child;o!==null;)VP(e,t,o),o=o.sibling}function VP(e,t,o){if(Co&&typeof Co.onCommitFiberUnmount=="function")try{Co.onCommitFiberUnmount(tc,o)}catch{}switch(o.tag){case 26:st||br(o,t),jr(e,t,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:st||br(o,t);var r=qe,n=ao;Qn(o.type)&&(qe=o.stateNode,ao=!1),jr(e,t,o),Lu(o.stateNode),qe=r,ao=n;break;case 5:st||br(o,t);case 6:if(r=qe,n=ao,qe=null,jr(e,t,o),qe=r,ao=n,qe!==null)if(ao)try{(qe.nodeType===9?qe.body:qe.nodeName==="HTML"?qe.ownerDocument.body:qe).removeChild(o.stateNode)}catch(a){Pe(o,t,a)}else try{qe.removeChild(o.stateNode)}catch(a){Pe(o,t,a)}break;case 18:qe!==null&&(ao?(e=qe,DC(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,o.stateNode),ql(e)):DC(qe,o.stateNode));break;case 4:r=qe,n=ao,qe=o.stateNode.containerInfo,ao=!0,jr(e,t,o),qe=r,ao=n;break;case 0:case 11:case 14:case 15:Kn(2,o,t),st||Kn(4,o,t),jr(e,t,o);break;case 1:st||(br(o,t),r=o.stateNode,typeof r.componentWillUnmount=="function"&&UP(o,t,r)),jr(e,t,o);break;case 21:jr(e,t,o);break;case 22:st=(r=st)||o.memoizedState!==null,jr(e,t,o),st=r;break;default:jr(e,t,o)}}function FP(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ql(e)}catch(o){Pe(t,t.return,o)}}}function $P(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ql(e)}catch(o){Pe(t,t.return,o)}}function oz(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new bC),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new bC),t;default:throw Error(z(435,e.tag))}}function Uf(e,t){var o=oz(e);t.forEach(function(r){if(!o.has(r)){o.add(r);var n=pz.bind(null,e,r);r.then(n,n)}})}function ro(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(Qn(l.type)){qe=l.stateNode,ao=!1;break e}break;case 5:qe=l.stateNode,ao=!1;break e;case 3:case 4:qe=l.stateNode.containerInfo,ao=!0;break e}l=l.return}if(qe===null)throw Error(z(160));VP(a,i,n),qe=null,ao=!1,a=n.alternate,a!==null&&(a.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)qP(t,e),t=t.sibling}var ar=null;function qP(e,t){var o=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ro(t,e),no(e),r&4&&(Kn(3,e,e.return),sc(3,e),Kn(5,e,e.return));break;case 1:ro(t,e),no(e),r&512&&(st||o===null||br(o,o.return)),r&64&&Vr&&(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=ar;if(ro(t,e),no(e),r&512&&(st||o===null||br(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[nc]||a[Ut]||a.namespaceURI==="http://www.w3.org/2000/svg"||a.hasAttribute("itemprop"))&&(a=n.createElement(r),n.head.insertBefore(a,n.querySelector("head > title"))),Lt(a,r,o),a[Ut]=e,Ct(a),r=a;break e;case"link":var i=IC("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),Lt(a,r,o),n.head.appendChild(a);break;case"meta":if(i=IC("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),Lt(a,r,o),n.head.appendChild(a);break;default:throw Error(z(468,r))}a[Ut]=e,Ct(a),r=a}e.stateNode=r}else HC(n,e.type,e.stateNode);else e.stateNode=LC(n,r,e.memoizedProps);else a!==r?(a===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):a.count--,r===null?HC(n,e.type,e.stateNode):LC(n,r,e.memoizedProps)):r===null&&e.stateNode!==null&&Qh(e,e.memoizedProps,o.memoizedProps)}break;case 27:ro(t,e),no(e),r&512&&(st||o===null||br(o,o.return)),o!==null&&r&4&&Qh(e,e.memoizedProps,o.memoizedProps);break;case 5:if(ro(t,e),no(e),r&512&&(st||o===null||br(o,o.return)),e.flags&32){n=e.stateNode;try{kl(n,"")}catch(T){Pe(e,e.return,T)}}r&4&&e.stateNode!=null&&(n=e.memoizedProps,Qh(e,n,o!==null?o.memoizedProps:n)),r&1024&&(Wh=!0);break;case 6:if(ro(t,e),no(e),r&4){if(e.stateNode===null)throw Error(z(162));r=e.memoizedProps,o=e.stateNode;try{o.nodeValue=r}catch(T){Pe(e,e.return,T)}}break;case 3:if(ed=null,n=ar,ar=Od(t.containerInfo),ro(t,e),ar=n,no(e),r&4&&o!==null&&o.memoizedState.isDehydrated)try{ql(t.containerInfo)}catch(T){Pe(e,e.return,T)}Wh&&(Wh=!1,GP(e));break;case 4:r=ar,ar=Od(e.stateNode.containerInfo),ro(t,e),no(e),ar=r;break;case 12:ro(t,e),no(e);break;case 31:ro(t,e),no(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Uf(e,r)));break;case 13:ro(t,e),no(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(Fd=So()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Uf(e,r)));break;case 22:n=e.memoizedState!==null;var s=o!==null&&o.memoizedState!==null,u=Vr,p=st;if(Vr=u||n,st=p||s,ro(t,e),st=p,Vr=u,no(e),r&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(o===null||s||Vr||st||La(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){Pe(s,s.return,T)}}}else if(t.tag===6){if(o===null){s=t;try{s.stateNode.nodeValue=n?"":s.memoizedProps}catch(T){Pe(s,s.return,T)}}}else if(t.tag===18){if(o===null){s=t;try{var c=s.stateNode;n?zC(c,!0):zC(s.stateNode,!1)}catch(T){Pe(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,Uf(e,o))));break;case 19:ro(t,e),no(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Uf(e,r)));break;case 30:break;case 21:break;default:ro(t,e),no(e)}}function no(e){var t=e.flags;if(t&2){try{for(var o,r=e.return;r!==null;){if(jP(r)){o=r;break}r=r.return}if(o==null)throw Error(z(160));switch(o.tag){case 27:var n=o.stateNode,a=Zh(e);Td(e,a,n);break;case 5:var i=o.stateNode;o.flags&32&&(kl(i,""),o.flags&=-33);var l=Zh(e);Td(e,l,i);break;case 3:case 4:var s=o.stateNode.containerInfo,u=Zh(e);Lg(e,u,s);break;default:throw Error(z(161))}}catch(p){Pe(e,e.return,p)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function GP(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;GP(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Lr(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)IP(e,t.alternate,t),t=t.sibling}function La(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Kn(4,t,t.return),La(t);break;case 1:br(t,t.return);var o=t.stateNode;typeof o.componentWillUnmount=="function"&&UP(t,t.return,o),La(t);break;case 27:Lu(t.stateNode);case 26:case 5:br(t,t.return),La(t);break;case 22:t.memoizedState===null&&La(t);break;case 30:La(t);break;default:La(t)}e=e.sibling}}function Ir(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:Ir(n,a,o),sc(4,a);break;case 1:if(Ir(n,a,o),r=a,n=r.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(u){Pe(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++)FE(s[n],l)}catch(u){Pe(r,r.return,u)}}o&&i&64&&BP(a),Bu(a,a.return);break;case 27:LP(a);case 26:case 5:Ir(n,a,o),o&&r===null&&i&4&&kP(a),Bu(a,a.return);break;case 12:Ir(n,a,o);break;case 31:Ir(n,a,o),o&&i&4&&FP(n,a);break;case 13:Ir(n,a,o),o&&i&4&&$P(n,a);break;case 22:a.memoizedState===null&&Ir(n,a,o),Bu(a,a.return);break;case 30:break;default:Ir(n,a,o)}t=t.sibling}}function jb(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&&ic(o))}function Lb(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ic(e))}function nr(e,t,o,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)KP(e,t,o,r),t=t.sibling}function KP(e,t,o,r){var n=t.flags;switch(t.tag){case 0:case 11:case 15:nr(e,t,o,r),n&2048&&sc(9,t);break;case 1:nr(e,t,o,r);break;case 3:nr(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&&ic(e)));break;case 12:if(n&2048){nr(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){Pe(t,t.return,s)}}else nr(e,t,o,r);break;case 31:nr(e,t,o,r);break;case 13:nr(e,t,o,r);break;case 23:break;case 22:a=t.stateNode,i=t.alternate,t.memoizedState!==null?a._visibility&2?nr(e,t,o,r):Uu(e,t):a._visibility&2?nr(e,t,o,r):(a._visibility|=2,ml(e,t,o,r,(t.subtreeFlags&10256)!==0||!1)),n&2048&&jb(i,t);break;case 24:nr(e,t,o,r),n&2048&&Lb(t.alternate,t);break;default:nr(e,t,o,r)}}function ml(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:ml(a,i,l,s,n),sc(8,i);break;case 23:break;case 22:var p=i.stateNode;i.memoizedState!==null?p._visibility&2?ml(a,i,l,s,n):Uu(a,i):(p._visibility|=2,ml(a,i,l,s,n)),n&&u&2048&&jb(i.alternate,i);break;case 24:ml(a,i,l,s,n),n&&u&2048&&Lb(i.alternate,i);break;default:ml(a,i,l,s,n)}t=t.sibling}}function Uu(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:Uu(o,r),n&2048&&jb(r.alternate,r);break;case 24:Uu(o,r),n&2048&&Lb(r.alternate,r);break;default:Uu(o,r)}t=t.sibling}}var Ru=8192;function dl(e,t,o){if(e.subtreeFlags&Ru)for(e=e.child;e!==null;)YP(e,t,o),e=e.sibling}function YP(e,t,o){switch(e.tag){case 26:dl(e,t,o),e.flags&Ru&&e.memoizedState!==null&&Iz(o,ar,e.memoizedState,e.memoizedProps);break;case 5:dl(e,t,o);break;case 3:case 4:var r=ar;ar=Od(e.stateNode.containerInfo),dl(e,t,o),ar=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Ru,Ru=16777216,dl(e,t,o),Ru=r):dl(e,t,o));break;default:dl(e,t,o)}}function XP(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 Tu(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];St=r,ZP(r,e)}XP(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)QP(e),e=e.sibling}function QP(e){switch(e.tag){case 0:case 11:case 15:Tu(e),e.flags&2048&&Kn(9,e,e.return);break;case 3:Tu(e);break;case 12:Tu(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Wf(e)):Tu(e);break;default:Tu(e)}}function Wf(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];St=r,ZP(r,e)}XP(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Kn(8,t,t.return),Wf(t);break;case 22:o=t.stateNode,o._visibility&2&&(o._visibility&=-3,Wf(t));break;default:Wf(t)}e=e.sibling}}function ZP(e,t){for(;St!==null;){var o=St;switch(o.tag){case 0:case 11:case 15:Kn(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:ic(o.memoizedState.cache)}if(r=o.child,r!==null)r.return=o,St=r;else e:for(o=e;St!==null;){r=St;var n=r.sibling,a=r.return;if(HP(r),r===o){St=null;break e}if(n!==null){n.return=a,St=n;break e}St=a}}}var rz={getCacheForType:function(e){var t=jt(ut),o=t.data.get(e);return o===void 0&&(o=e(),t.data.set(e,o)),o},cacheSignal:function(){return jt(ut).controller.signal}},nz=typeof WeakMap=="function"?WeakMap:Map,he=0,Be=null,le=null,se=0,Ee=0,bo=null,Dn=!1,Ql=!1,Ib=!1,Jr=0,et=0,Yn=0,$a=0,Hb=0,xo=0,Hl=0,ku=null,io=null,Ig=!1,Fd=0,WP=0,vd=1/0,xd=null,In=null,yt=0,Hn=null,Vl=null,Yr=0,Hg=0,Vg=null,JP=null,ju=0,Fg=null;function Po(){return(he&2)!==0&&se!==0?se&-se:Y.T!==null?Fb():sE()}function eR(){if(xo===0)if((se&536870912)===0||pe){var e=Rf;Rf<<=1,(Rf&3932160)===0&&(Rf=262144),xo=e}else xo=536870912;return e=Oo.current,e!==null&&(e.flags|=32),xo}function lo(e,t,o){(e===Be&&(Ee===2||Ee===9)||e.cancelPendingCommit!==null)&&(Fl(e,0),zn(e,se,xo,!1)),rc(e,o),((he&2)===0||e!==Be)&&(e===Be&&((he&2)===0&&($a|=o),et===4&&zn(e,se,xo,!1)),xr(e))}function tR(e,t,o){if((he&6)!==0)throw Error(z(327));var r=!o&&(t&127)===0&&(t&e.expiredLanes)===0||oc(e,t),n=r?lz(e,t):Jh(e,t,!0),a=r;do{if(n===0){Ql&&!r&&zn(e,t,0,!1);break}else{if(o=e.current.alternate,a&&!az(o)){n=Jh(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=ku;var s=l.current.memoizedState.isDehydrated;if(s&&(Fl(l,i).flags|=256),i=Jh(l,i,!1),i!==2){if(Ib&&!s){l.errorRecoveryDisabledLanes|=a,$a|=a,n=4;break e}a=io,io=n,a!==null&&(io===null?io=a:io.push.apply(io,a))}n=i}if(a=!1,n!==2)continue}}if(n===1){Fl(e,0),zn(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:zn(r,t,xo,!Dn);break e;case 2:io=null;break;case 3:case 5:break;default:throw Error(z(329))}if((t&62914560)===t&&(n=Fd+300-So(),10<n)){if(zn(r,t,xo,!Dn),_d(r,0,!0)!==0)break e;Yr=t,r.timeoutHandle=xR(TC.bind(null,r,o,io,xd,Ig,t,xo,$a,Hl,Dn,a,"Throttled",-0,0),n);break e}TC(r,o,io,xd,Ig,t,xo,$a,Hl,Dn,a,null,-0,0)}}break}while(!0);xr(e)}function TC(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:$r},YP(t,a,f);var T=(a&62914560)===a?Fd-So():(a&4194048)===a?WP-So():0;if(T=Hz(f,T),T!==null){Yr=a,e.cancelPendingCommit=T(xC.bind(null,e,t,a,o,r,n,i,l,s,p,f,null,d,c)),zn(e,a,i,!u);return}}xC(e,t,a,o,r,n,i,l,s)}function az(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(!Ro(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 zn(e,t,o,r){t&=~Hb,t&=~$a,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var n=t;0<n;){var a=31-Eo(n),i=1<<a;r[a]=-1,n&=~i}o!==0&&aE(e,o,t)}function $d(){return(he&6)===0?(uc(0,!1),!1):!0}function Vb(){if(le!==null){if(Ee===0)var e=le.return;else e=le,qr=ei=null,Ob(e),_l=null,Gu=0,e=le;for(;e!==null;)zP(e.alternate,e),e=e.return;le=null}}function Fl(e,t){var o=e.timeoutHandle;o!==-1&&(e.timeoutHandle=-1,Cz(o)),o=e.cancelPendingCommit,o!==null&&(e.cancelPendingCommit=null,o()),Yr=0,Vb(),Be=e,le=o=Gr(e.current,null),se=t,Ee=0,bo=null,Dn=!1,Ql=oc(e,t),Ib=!1,Hl=xo=Hb=$a=Yn=et=0,io=ku=null,Ig=!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-Eo(r),a=1<<n;t|=e[n],r&=~a}return Jr=t,Ud(),o}function oR(e,t){J=null,Y.H=Yu,t===Xl||t===jd?(t=Z1(),Ee=3):t===vb?(t=Z1(),Ee=4):Ee=t===Ub?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,bo=t,le===null&&(et=1,gd(e,qo(t,e.current)))}function rR(){var e=Oo.current;return e===null?!0:(se&4194048)===se?Ko===null:(se&62914560)===se||(se&536870912)!==0?e===Ko:!1}function nR(){var e=Y.H;return Y.H=Yu,e===null?Yu:e}function aR(){var e=Y.A;return Y.A=rz,e}function Sd(){et=4,Dn||(se&4194048)!==se&&Oo.current!==null||(Ql=!0),(Yn&134217727)===0&&($a&134217727)===0||Be===null||zn(Be,se,xo,!1)}function Jh(e,t,o){var r=he;he|=2;var n=nR(),a=aR();(Be!==e||se!==t)&&(xd=null,Fl(e,t)),t=!1;var i=et;e:do try{if(Ee!==0&&le!==null){var l=le,s=bo;switch(Ee){case 8:Vb(),i=6;break e;case 3:case 2:case 9:case 6:Oo.current===null&&(t=!0);var u=Ee;if(Ee=0,bo=null,Ol(e,l,s,u),o&&Ql){i=0;break e}break;default:u=Ee,Ee=0,bo=null,Ol(e,l,s,u)}}iz(),i=et;break}catch(p){oR(e,p)}while(!0);return t&&e.shellSuspendCounter++,qr=ei=null,he=r,Y.H=n,Y.A=a,le===null&&(Be=null,se=0,Ud()),i}function iz(){for(;le!==null;)iR(le)}function lz(e,t){var o=he;he|=2;var r=nR(),n=aR();Be!==e||se!==t?(xd=null,vd=So()+500,Fl(e,t)):Ql=oc(e,t);e:do try{if(Ee!==0&&le!==null){t=le;var a=bo;t:switch(Ee){case 1:Ee=0,bo=null,Ol(e,t,a,1);break;case 2:case 9:if(Q1(a)){Ee=0,bo=null,vC(t);break}t=function(){Ee!==2&&Ee!==9||Be!==e||(Ee=7),xr(e)},a.then(t,t);break e;case 3:Ee=7;break e;case 4:Ee=5;break e;case 7:Q1(a)?(Ee=0,bo=null,vC(t)):(Ee=0,bo=null,Ol(e,t,a,7));break;case 5:var i=null;switch(le.tag){case 26:i=le.memoizedState;case 5:case 27:var l=le;if(i?RR(i):l.stateNode.complete){Ee=0,bo=null;var s=l.sibling;if(s!==null)le=s;else{var u=l.return;u!==null?(le=u,qd(u)):le=null}break t}}Ee=0,bo=null,Ol(e,t,a,5);break;case 6:Ee=0,bo=null,Ol(e,t,a,6);break;case 8:Vb(),et=6;break e;default:throw Error(z(462))}}sz();break}catch(p){oR(e,p)}while(!0);return qr=ei=null,Y.H=r,Y.A=n,he=o,le!==null?0:(Be=null,se=0,Ud(),et)}function sz(){for(;le!==null&&!N5();)iR(le)}function iR(e){var t=DP(e.alternate,e,Jr);e.memoizedProps=e.pendingProps,t===null?qd(e):le=t}function vC(e){var t=e,o=t.alternate;switch(t.tag){case 15:case 0:t=dC(o,t,t.pendingProps,t.type,void 0,se);break;case 11:t=dC(o,t,t.pendingProps,t.type.render,t.ref,se);break;case 5:Ob(t);default:zP(o,t),t=le=zE(t,Jr),t=DP(o,t,Jr)}e.memoizedProps=e.pendingProps,t===null?qd(e):le=t}function Ol(e,t,o,r){qr=ei=null,Ob(t),_l=null,Gu=0;var n=t.return;try{if(Q3(e,n,t,o,se)){et=1,gd(e,qo(o,e.current)),le=null;return}}catch(a){if(n!==null)throw le=n,a;et=1,gd(e,qo(o,e.current)),le=null;return}t.flags&32768?(pe||r===1?e=!0:Ql||(se&536870912)!==0?e=!1:(Dn=e=!0,(r===2||r===9||r===3||r===6)&&(r=Oo.current,r!==null&&r.tag===13&&(r.flags|=16384))),lR(t,e)):qd(t)}function qd(e){var t=e;do{if((t.flags&32768)!==0){lR(t,Dn);return}e=t.return;var o=J3(t.alternate,t,Jr);if(o!==null){le=o;return}if(t=t.sibling,t!==null){le=t;return}le=t=e}while(t!==null);et===0&&(et=5)}function lR(e,t){do{var o=ez(e.alternate,e);if(o!==null){o.flags&=32767,le=o;return}if(o=e.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!t&&(e=e.sibling,e!==null)){le=e;return}le=e=o}while(e!==null);et=6,le=null}function xC(e,t,o,r,n,a,i,l,s){e.cancelPendingCommit=null;do Gd();while(yt!==0);if((he&6)!==0)throw Error(z(327));if(t!==null){if(t===e.current)throw Error(z(177));if(a=t.lanes|t.childLanes,a|=db,H5(e,o,a,i,l,s),e===Be&&(le=Be=null,se=0),Vl=t,Hn=e,Yr=o,Hg=a,Vg=n,JP=r,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,fz(id,function(){return fR(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||r){r=Y.T,Y.T=null,n=ge.p,ge.p=2,i=he,he|=4;try{tz(e,t,o)}finally{he=i,ge.p=n,Y.T=r}}yt=1,sR(),uR(),cR()}}function sR(){if(yt===1){yt=0;var e=Hn,t=Vl,o=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||o){o=Y.T,Y.T=null;var r=ge.p;ge.p=2;var n=he;he|=4;try{qP(t,e);var a=Kg,i=RE(e.containerInfo),l=a.focusedElem,s=a.selectionRange;if(i!==l&&l&&l.ownerDocument&&PE(l.ownerDocument.documentElement,l)){if(s!==null&&fb(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=F1(l,v),h=F1(l,x);if(m&&h&&(c.rangeCount!==1||c.anchorNode!==m.node||c.anchorOffset!==m.offset||c.focusNode!==h.node||c.focusOffset!==h.offset)){var g=f.createRange();g.setStart(m.node,m.offset),c.removeAllRanges(),v>x?(c.addRange(g),c.extend(h.node,h.offset)):(g.setEnd(h.node,h.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}}wd=!!Gg,Kg=Gg=null}finally{he=n,ge.p=r,Y.T=o}}e.current=t,yt=2}}function uR(){if(yt===2){yt=0;var e=Hn,t=Vl,o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=Y.T,Y.T=null;var r=ge.p;ge.p=2;var n=he;he|=4;try{IP(e,t.alternate,t)}finally{he=n,ge.p=r,Y.T=o}}yt=3}}function cR(){if(yt===4||yt===3){yt=0,_5();var e=Hn,t=Vl,o=Yr,r=JP;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?yt=5:(yt=0,Vl=Hn=null,pR(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(In=null),ab(o),t=t.stateNode,Co&&typeof Co.onCommitFiberRoot=="function")try{Co.onCommitFiberRoot(tc,t,void 0,(t.current.flags&128)===128)}catch{}if(r!==null){t=Y.T,n=ge.p,ge.p=2,Y.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{Y.T=t,ge.p=n}}(Yr&3)!==0&&Gd(),xr(e),n=e.pendingLanes,(o&261930)!==0&&(n&42)!==0?e===Fg?ju++:(ju=0,Fg=e):ju=0,uc(0,!1)}}function pR(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ic(t)))}function Gd(){return sR(),uR(),cR(),fR()}function fR(){if(yt!==5)return!1;var e=Hn,t=Hg;Hg=0;var o=ab(Yr),r=Y.T,n=ge.p;try{ge.p=32>o?32:o,Y.T=null,o=Vg,Vg=null;var a=Hn,i=Yr;if(yt=0,Vl=Hn=null,Yr=0,(he&6)!==0)throw Error(z(331));var l=he;if(he|=4,QP(a.current),KP(a,a.current,i,o),he=l,uc(0,!1),Co&&typeof Co.onPostCommitFiberRoot=="function")try{Co.onPostCommitFiberRoot(tc,a)}catch{}return!0}finally{ge.p=n,Y.T=r,pR(e,t)}}function SC(e,t,o){t=qo(o,t),t=Ug(e.stateNode,t,2),e=Ln(e,t,2),e!==null&&(rc(e,2),xr(e))}function Pe(e,t,o){if(e.tag===3)SC(e,e,o);else for(;t!==null;){if(t.tag===3){SC(t,e,o);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(In===null||!In.has(r))){e=qo(o,e),o=OP(2),r=Ln(t,o,2),r!==null&&(AP(o,r,t,e),rc(r,2),xr(r));break}}t=t.return}}function eg(e,t,o){var r=e.pingCache;if(r===null){r=e.pingCache=new nz;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)||(Ib=!0,n.add(o),e=uz.bind(null,e,t,o),t.then(e,e))}function uz(e,t,o){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&o,e.warmLanes&=~o,Be===e&&(se&o)===o&&(et===4||et===3&&(se&62914560)===se&&300>So()-Fd?(he&2)===0&&Fl(e,0):Hb|=o,Hl===se&&(Hl=0)),xr(e)}function dR(e,t){t===0&&(t=nE()),e=Ja(e,t),e!==null&&(rc(e,t),xr(e))}function cz(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),dR(e,o)}function pz(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),dR(e,o)}function fz(e,t){return rb(e,t)}var Cd=null,yl=null,$g=!1,Ed=!1,tg=!1,Bn=0;function xr(e){e!==yl&&e.next===null&&(yl===null?Cd=yl=e:yl=yl.next=e),Ed=!0,$g||($g=!0,mz())}function uc(e,t){if(!tg&&Ed){tg=!0;do for(var o=!1,r=Cd;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-Eo(42|e)+1)-1,a&=n&~(i&~l),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(o=!0,CC(r,a))}else a=se,a=_d(r,r===Be?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(a&3)===0||oc(r,a)||(o=!0,CC(r,a));r=r.next}while(o);tg=!1}}function dz(){mR()}function mR(){Ed=$g=!1;var e=0;Bn!==0&&Sz()&&(e=Bn);for(var t=So(),o=null,r=Cd;r!==null;){var n=r.next,a=yR(r,t);a===0?(r.next=null,o===null?Cd=n:o.next=n,n===null&&(yl=o)):(o=r,(e!==0||(a&3)!==0)&&(Ed=!0)),r=n}yt!==0&&yt!==5||uc(e,!1),Bn!==0&&(Bn=0)}function yR(e,t){for(var o=e.suspendedLanes,r=e.pingedLanes,n=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var i=31-Eo(a),l=1<<i,s=n[i];s===-1?((l&o)===0||(l&r)!==0)&&(n[i]=I5(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}if(t=Be,o=se,o=_d(e,e===t?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,o===0||e===t&&(Ee===2||Ee===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&wh(r),e.callbackNode=null,e.callbackPriority=0;if((o&3)===0||oc(e,o)){if(t=o&-o,t===e.callbackPriority)return t;switch(r!==null&&wh(r),ab(o)){case 2:case 8:o=oE;break;case 32:o=id;break;case 268435456:o=rE;break;default:o=id}return r=hR.bind(null,e),o=rb(o,r),e.callbackPriority=t,e.callbackNode=o,t}return r!==null&&r!==null&&wh(r),e.callbackPriority=2,e.callbackNode=null,2}function hR(e,t){if(yt!==0&&yt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var o=e.callbackNode;if(Gd()&&e.callbackNode!==o)return null;var r=se;return r=_d(e,e===Be?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(tR(e,r,t),yR(e,So()),e.callbackNode!=null&&e.callbackNode===o?hR.bind(null,e):null)}function CC(e,t){if(Gd())return null;tR(e,t,!0)}function mz(){Ez(function(){(he&6)!==0?rb(tE,dz):mR()})}function Fb(){if(Bn===0){var e=jl;e===0&&(e=Pf,Pf<<=1,(Pf&261888)===0&&(Pf=256)),Bn=e}return Bn}function EC(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Ff(""+e)}function PC(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 yz(e,t,o,r,n){if(t==="submit"&&o&&o.stateNode===n){var a=EC((n[so]||null).action),i=r.submitter;i&&(t=(t=i[so]||null)?EC(t.formAction):i.getAttribute("formAction"),t!==null&&(a=t,i=null));var l=new Dd("action","action",null,r,n);e.push({event:l,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Bn!==0){var s=i?PC(n,i):new FormData(n);zg(o,{pending:!0,data:s,method:n.method,action:a},null,s)}}else typeof a=="function"&&(l.preventDefault(),s=i?PC(n,i):new FormData(n),zg(o,{pending:!0,data:s,method:n.method,action:a},a,s))},currentTarget:n}]})}}for(kf=0;kf<Sg.length;kf++)jf=Sg[kf],RC=jf.toLowerCase(),OC=jf[0].toUpperCase()+jf.slice(1),ir(RC,"on"+OC);var jf,RC,OC,kf;ir(AE,"onAnimationEnd");ir(ME,"onAnimationIteration");ir(wE,"onAnimationStart");ir("dblclick","onDoubleClick");ir("focusin","onFocus");ir("focusout","onBlur");ir(D3,"onTransitionRun");ir(z3,"onTransitionStart");ir(B3,"onTransitionCancel");ir(NE,"onTransitionEnd");Ul("onMouseEnter",["mouseout","mouseover"]);Ul("onMouseLeave",["mouseout","mouseover"]);Ul("onPointerEnter",["pointerout","pointerover"]);Ul("onPointerLeave",["pointerout","pointerover"]);Qa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Qa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Qa("onBeforeInput",["compositionend","keypress","textInput","paste"]);Qa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Qa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Qa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xu="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(" "),hz=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Xu));function gR(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){sd(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){sd(p)}n.currentTarget=null,a=s}}}}function ie(e,t){var o=t[mg];o===void 0&&(o=t[mg]=new Set);var r=e+"__bubble";o.has(r)||(bR(t,e,2,!1),o.add(r))}function og(e,t,o){var r=0;t&&(r|=4),bR(o,e,r,t)}var Lf="_reactListening"+Math.random().toString(36).slice(2);function $b(e){if(!e[Lf]){e[Lf]=!0,uE.forEach(function(o){o!=="selectionchange"&&(hz.has(o)||og(o,!1,e),og(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Lf]||(t[Lf]=!0,og("selectionchange",!1,t))}}function bR(e,t,o,r){switch(NR(t)){case 2:var n=$z;break;case 8:n=qz;break;default:n=Yb}o=n.bind(null,t,o,e),n=void 0,!Tg||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 rg(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=bl(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}gE(function(){var u=a,p=sb(o),f=[];e:{var d=_E.get(e);if(d!==void 0){var c=Dd,T=e;switch(e){case"keypress":if(qf(o)===0)break e;case"keydown":case"keyup":c=p3;break;case"focusin":T="focus",c=Bh;break;case"focusout":T="blur",c=Bh;break;case"beforeblur":case"afterblur":c=Bh;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=z1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=J5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=m3;break;case AE:case ME:case wE:c=o3;break;case NE:c=h3;break;case"scroll":case"scrollend":c=Z5;break;case"wheel":c=b3;break;case"copy":case"cut":case"paste":c=n3;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=U1;break;case"toggle":case"beforetoggle":c=v3}var v=(t&4)!==0,x=!v&&(e==="scroll"||e==="scrollend"),m=v?d!==null?d+"Capture":null:d;v=[];for(var h=u,g;h!==null;){var b=h;if(g=b.stateNode,b=b.tag,b!==5&&b!==26&&b!==27||g===null||m===null||(b=Hu(h,m),b!=null&&v.push(Qu(h,b,g))),x)break;h=h.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!==bg&&(T=o.relatedTarget||o.fromElement)&&(bl(T)||T[Gl]))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?bl(T):null,T!==null&&(x=ec(T),v=T.tag,T!==x||v!==5&&v!==27&&v!==6)&&(T=null)):(c=null,T=u),c!==T)){if(v=z1,b="onMouseLeave",m="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(v=U1,b="onPointerLeave",m="onPointerEnter",h="pointer"),x=c==null?d:Eu(c),g=T==null?d:Eu(T),d=new v(b,h+"leave",c,o,p),d.target=x,d.relatedTarget=g,b=null,bl(p)===u&&(v=new v(m,h+"enter",T,o,p),v.target=g,v.relatedTarget=x,b=v),x=b,c&&T)t:{for(v=gz,m=c,h=T,g=0,b=m;b;b=v(b))g++;b=0;for(var P=h;P;P=v(P))b++;for(;0<g-b;)m=v(m),g--;for(;0<b-g;)h=v(h),b--;for(;g--;){if(m===h||h!==null&&m===h.alternate){v=m;break t}m=v(m),h=v(h)}v=null}else v=null;c!==null&&AC(f,d,c,v,!1),T!==null&&x!==null&&AC(f,x,T,v,!0)}}e:{if(d=u?Eu(u):window,c=d.nodeName&&d.nodeName.toLowerCase(),c==="select"||c==="input"&&d.type==="file")var C=I1;else if(L1(d))if(CE)C=w3;else{C=A3;var E=O3}else c=d.nodeName,!c||c.toLowerCase()!=="input"||d.type!=="checkbox"&&d.type!=="radio"?u&&lb(u.elementType)&&(C=I1):C=M3;if(C&&(C=C(e,u))){SE(f,C,o,p);break e}E&&E(e,d,u),e==="focusout"&&u&&d.type==="number"&&u.memoizedProps.value!=null&&gg(d,"number",d.value)}switch(E=u?Eu(u):window,e){case"focusin":(L1(E)||E.contentEditable==="true")&&(xl=E,vg=u,Mu=null);break;case"focusout":Mu=vg=xl=null;break;case"mousedown":xg=!0;break;case"contextmenu":case"mouseup":case"dragend":xg=!1,$1(f,o,p);break;case"selectionchange":if(_3)break;case"keydown":case"keyup":$1(f,o,p)}var O;if(pb)e:{switch(e){case"compositionstart":var M="onCompositionStart";break e;case"compositionend":M="onCompositionEnd";break e;case"compositionupdate":M="onCompositionUpdate";break e}M=void 0}else vl?vE(e,o)&&(M="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(M="onCompositionStart");M&&(TE&&o.locale!=="ko"&&(vl||M!=="onCompositionStart"?M==="onCompositionEnd"&&vl&&(O=bE()):(_n=p,ub="value"in _n?_n.value:_n.textContent,vl=!0)),E=Pd(u,M),0<E.length&&(M=new B1(M,e,null,o,p),f.push({event:M,listeners:E}),O?M.data=O:(O=xE(o),O!==null&&(M.data=O)))),(O=S3?C3(e,o):E3(e,o))&&(M=Pd(u,"onBeforeInput"),0<M.length&&(E=new B1("onBeforeInput","beforeinput",null,o,p),f.push({event:E,listeners:M}),E.data=O)),yz(f,e,u,o,p)}gR(f,t)})}function Qu(e,t,o){return{instance:e,listener:t,currentTarget:o}}function Pd(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=Hu(e,o),n!=null&&r.unshift(Qu(e,n,a)),n=Hu(e,t),n!=null&&r.push(Qu(e,n,a))),e.tag===3)return r;e=e.return}return[]}function gz(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function AC(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=Hu(o,a),u!=null&&i.unshift(Qu(o,u,s))):n||(u=Hu(o,a),u!=null&&i.push(Qu(o,u,s)))),o=o.return}i.length!==0&&e.push({event:t,listeners:i})}var bz=/\r\n?/g,Tz=/\u0000|\uFFFD/g;function MC(e){return(typeof e=="string"?e:""+e).replace(bz,`
9
- `).replace(Tz,"")}function TR(e,t){return t=MC(t),MC(e)===t}function Ae(e,t,o,r,n,a){switch(o){case"children":typeof r=="string"?t==="body"||t==="textarea"&&r===""||kl(e,r):(typeof r=="number"||typeof r=="bigint")&&t!=="body"&&kl(e,""+r);break;case"className":Af(e,"class",r);break;case"tabIndex":Af(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":Af(e,o,r);break;case"style":hE(e,r,a);break;case"data":if(t!=="object"){Af(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=Ff(""+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"&&Ae(e,t,"name",n.name,n,null),Ae(e,t,"formEncType",n.formEncType,n,null),Ae(e,t,"formMethod",n.formMethod,n,null),Ae(e,t,"formTarget",n.formTarget,n,null)):(Ae(e,t,"encType",n.encType,n,null),Ae(e,t,"method",n.method,n,null),Ae(e,t,"target",n.target,n,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(o);break}r=Ff(""+r),e.setAttribute(o,r);break;case"onClick":r!=null&&(e.onclick=$r);break;case"onScroll":r!=null&&ie("scroll",e);break;case"onScrollEnd":r!=null&&ie("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=Ff(""+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":ie("beforetoggle",e),ie("toggle",e),Vf(e,"popover",r);break;case"xlinkActuate":Ur(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":Ur(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":Ur(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":Ur(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":Ur(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":Ur(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":Ur(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":Ur(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":Ur(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":Vf(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=X5.get(o)||o,Vf(e,o,r))}}function qg(e,t,o,r,n,a){switch(o){case"style":hE(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"?kl(e,r):(typeof r=="number"||typeof r=="bigint")&&kl(e,""+r);break;case"onScroll":r!=null&&ie("scroll",e);break;case"onScrollEnd":r!=null&&ie("scrollend",e);break;case"onClick":r!=null&&(e.onclick=$r);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!cE.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[so]||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,""):Vf(e,o,r)}}}function Lt(e,t,o){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ie("error",e),ie("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:Ae(e,t,a,i,o,null)}}n&&Ae(e,t,"srcSet",o.srcSet,o,null),r&&Ae(e,t,"src",o.src,o,null);return;case"input":ie("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:Ae(e,t,r,p,o,null)}}dE(e,a,l,s,u,i,n,!1);return;case"select":ie("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:Ae(e,t,n,l,o,null)}t=a,o=i,e.multiple=!!r,t!=null?Ml(e,!!r,t,!1):o!=null&&Ml(e,!!r,o,!0);return;case"textarea":ie("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:Ae(e,t,i,l,o,null)}yE(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":Ae(e,t,s,r,o,null));return;case"dialog":ie("beforetoggle",e),ie("toggle",e),ie("cancel",e),ie("close",e);break;case"iframe":case"object":ie("load",e);break;case"video":case"audio":for(r=0;r<Xu.length;r++)ie(Xu[r],e);break;case"image":ie("error",e),ie("load",e);break;case"details":ie("toggle",e);break;case"embed":case"source":case"link":ie("error",e),ie("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:Ae(e,t,u,r,o,null)}return;default:if(lb(t)){for(p in o)o.hasOwnProperty(p)&&(r=o[p],r!==void 0&&qg(e,t,p,r,o,void 0));return}}for(l in o)o.hasOwnProperty(l)&&(r=o[l],r!=null&&Ae(e,t,l,r,o,null))}function vz(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)||Ae(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&&Ae(e,t,d,c,r,f)}}hg(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)||Ae(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&&Ae(e,t,n,a,r,s)}t=l,o=i,r=c,d!=null?Ml(e,!!o,d,!1):!!r!=!!o&&(t!=null?Ml(e,!!o,t,!0):Ml(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:Ae(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&&Ae(e,t,i,n,r,a)}mE(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:Ae(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":Ae(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)&&Ae(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:Ae(e,t,u,d,r,c)}return;default:if(lb(t)){for(var x in o)d=o[x],o.hasOwnProperty(x)&&d!==void 0&&!r.hasOwnProperty(x)&&qg(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||qg(e,t,p,d,r,c);return}}for(var m in o)d=o[m],o.hasOwnProperty(m)&&d!=null&&!r.hasOwnProperty(m)&&Ae(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||Ae(e,t,f,d,r,c)}function wC(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function xz(){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&&wC(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&&wC(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 Gg=null,Kg=null;function Rd(e){return e.nodeType===9?e:e.ownerDocument}function NC(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 vR(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 Yg(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 ng=null;function Sz(){var e=window.event;return e&&e.type==="popstate"?e===ng?!1:(ng=e,!0):(ng=null,!1)}var xR=typeof setTimeout=="function"?setTimeout:void 0,Cz=typeof clearTimeout=="function"?clearTimeout:void 0,_C=typeof Promise=="function"?Promise:void 0,Ez=typeof queueMicrotask=="function"?queueMicrotask:typeof _C<"u"?function(e){return _C.resolve(null).then(e).catch(Pz)}:xR;function Pz(e){setTimeout(function(){throw e})}function Qn(e){return e==="head"}function DC(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),ql(t);return}r--}else if(o==="$"||o==="$?"||o==="$~"||o==="$!"||o==="&")r++;else if(o==="html")Lu(e.ownerDocument.documentElement);else if(o==="head"){o=e.ownerDocument.head,Lu(o);for(var a=o.firstChild;a;){var i=a.nextSibling,l=a.nodeName;a[nc]||l==="SCRIPT"||l==="STYLE"||l==="LINK"&&a.rel.toLowerCase()==="stylesheet"||o.removeChild(a),a=i}}else o==="body"&&Lu(e.ownerDocument.body);o=n}while(o);ql(t)}function zC(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 Xg(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":Xg(o),ib(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}e.removeChild(o)}}function Rz(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[nc])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=Yo(e.nextSibling),e===null)break}return null}function Oz(e,t,o){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!o||(e=Yo(e.nextSibling),e===null))return null;return e}function SR(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Yo(e.nextSibling),e===null))return null;return e}function Qg(e){return e.data==="$?"||e.data==="$~"}function Zg(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Az(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 Yo(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 Wg=null;function BC(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"||o==="/&"){if(t===0)return Yo(e.nextSibling);t--}else o!=="$"&&o!=="$!"&&o!=="$?"&&o!=="$~"&&o!=="&"||t++}e=e.nextSibling}return null}function UC(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 CR(e,t,o){switch(t=Rd(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 Lu(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ib(e)}var Xo=new Map,kC=new Set;function Od(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var en=ge.d;ge.d={f:Mz,r:wz,D:Nz,C:_z,L:Dz,m:zz,X:Uz,S:Bz,M:kz};function Mz(){var e=en.f(),t=$d();return e||t}function wz(e){var t=Kl(e);t!==null&&t.tag===5&&t.type==="form"?hP(t):en.r(e)}var Zl=typeof document>"u"?null:document;function ER(e,t,o){var r=Zl;if(r&&typeof t=="string"&&t){var n=$o(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof o=="string"&&(n+='[crossorigin="'+o+'"]'),kC.has(n)||(kC.add(n),e={rel:e,crossOrigin:o,href:t},r.querySelector(n)===null&&(t=r.createElement("link"),Lt(t,"link",e),Ct(t),r.head.appendChild(t)))}}function Nz(e){en.D(e),ER("dns-prefetch",e,null)}function _z(e,t){en.C(e,t),ER("preconnect",e,t)}function Dz(e,t,o){en.L(e,t,o);var r=Zl;if(r&&e&&t){var n='link[rel="preload"][as="'+$o(t)+'"]';t==="image"&&o&&o.imageSrcSet?(n+='[imagesrcset="'+$o(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(n+='[imagesizes="'+$o(o.imageSizes)+'"]')):n+='[href="'+$o(e)+'"]';var a=n;switch(t){case"style":a=$l(e);break;case"script":a=Wl(e)}Xo.has(a)||(e=Ve({rel:"preload",href:t==="image"&&o&&o.imageSrcSet?void 0:e,as:t},o),Xo.set(a,e),r.querySelector(n)!==null||t==="style"&&r.querySelector(cc(a))||t==="script"&&r.querySelector(pc(a))||(t=r.createElement("link"),Lt(t,"link",e),Ct(t),r.head.appendChild(t)))}}function zz(e,t){en.m(e,t);var o=Zl;if(o&&e){var r=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+$o(r)+'"][href="'+$o(e)+'"]',a=n;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=Wl(e)}if(!Xo.has(a)&&(e=Ve({rel:"modulepreload",href:e},t),Xo.set(a,e),o.querySelector(n)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(pc(a)))return}r=o.createElement("link"),Lt(r,"link",e),Ct(r),o.head.appendChild(r)}}}function Bz(e,t,o){en.S(e,t,o);var r=Zl;if(r&&e){var n=Al(r).hoistableStyles,a=$l(e);t=t||"default";var i=n.get(a);if(!i){var l={loading:0,preload:null};if(i=r.querySelector(cc(a)))l.loading=5;else{e=Ve({rel:"stylesheet",href:e,"data-precedence":t},o),(o=Xo.get(a))&&qb(e,o);var s=i=r.createElement("link");Ct(s),Lt(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,Jf(i,t,r)}i={type:"stylesheet",instance:i,count:1,state:l},n.set(a,i)}}}function Uz(e,t){en.X(e,t);var o=Zl;if(o&&e){var r=Al(o).hoistableScripts,n=Wl(e),a=r.get(n);a||(a=o.querySelector(pc(n)),a||(e=Ve({src:e,async:!0},t),(t=Xo.get(n))&&Gb(e,t),a=o.createElement("script"),Ct(a),Lt(a,"link",e),o.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(n,a))}}function kz(e,t){en.M(e,t);var o=Zl;if(o&&e){var r=Al(o).hoistableScripts,n=Wl(e),a=r.get(n);a||(a=o.querySelector(pc(n)),a||(e=Ve({src:e,async:!0,type:"module"},t),(t=Xo.get(n))&&Gb(e,t),a=o.createElement("script"),Ct(a),Lt(a,"link",e),o.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(n,a))}}function jC(e,t,o,r){var n=(n=Un.current)?Od(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=$l(o.href),o=Al(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=$l(o.href);var a=Al(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(cc(e)))&&!a._p&&(i.instance=a,i.state.loading=5),Xo.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},Xo.set(e,o),a||jz(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=Wl(o),o=Al(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 $l(e){return'href="'+$o(e)+'"'}function cc(e){return'link[rel="stylesheet"]['+e+"]"}function PR(e){return Ve({},e,{"data-precedence":e.precedence,precedence:null})}function jz(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}),Lt(t,"link",o),Ct(t),e.head.appendChild(t))}function Wl(e){return'[src="'+$o(e)+'"]'}function pc(e){return"script[async]"+e}function LC(e,t,o){if(t.count++,t.instance===null)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+$o(o.href)+'"]');if(r)return t.instance=r,Ct(r),r;var n=Ve({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement("style"),Ct(r),Lt(r,"style",n),Jf(r,o.precedence,e),t.instance=r;case"stylesheet":n=$l(o.href);var a=e.querySelector(cc(n));if(a)return t.state.loading|=4,t.instance=a,Ct(a),a;r=PR(o),(n=Xo.get(n))&&qb(r,n),a=(e.ownerDocument||e).createElement("link"),Ct(a);var i=a;return i._p=new Promise(function(l,s){i.onload=l,i.onerror=s}),Lt(a,"link",r),t.state.loading|=4,Jf(a,o.precedence,e),t.instance=a;case"script":return a=Wl(o.src),(n=e.querySelector(pc(a)))?(t.instance=n,Ct(n),n):(r=o,(n=Xo.get(a))&&(r=Ve({},o),Gb(r,n)),e=e.ownerDocument||e,n=e.createElement("script"),Ct(n),Lt(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,Jf(r,o.precedence,e));return t.instance}function Jf(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 qb(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Gb(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var ed=null;function IC(e,t,o){if(ed===null){var r=new Map,n=ed=new Map;n.set(o,r)}else n=ed,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[nc]||a[Ut]||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 HC(e,t,o){e=e.ownerDocument||e,e.head.insertBefore(o,t==="title"?e.querySelector("head > title"):null)}function Lz(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 RR(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Iz(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=$l(r.href),a=t.querySelector(cc(n));if(a){t=a._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Ad.bind(e),t.then(e,e)),o.state.loading|=4,o.instance=a,Ct(a);return}a=t.ownerDocument||t,r=PR(r),(n=Xo.get(n))&&qb(r,n),a=a.createElement("link"),Ct(a);var i=a;i._p=new Promise(function(l,s){i.onload=l,i.onerror=s}),Lt(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=Ad.bind(e),t.addEventListener("load",o),t.addEventListener("error",o))}}var ag=0;function Hz(e,t){return e.stylesheets&&e.count===0&&td(e,e.stylesheets),0<e.count||0<e.imgCount?function(o){var r=setTimeout(function(){if(e.stylesheets&&td(e,e.stylesheets),e.unsuspend){var a=e.unsuspend;e.unsuspend=null,a()}},6e4+t);0<e.imgBytes&&ag===0&&(ag=62500*xz());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&td(e,e.stylesheets),e.unsuspend)){var a=e.unsuspend;e.unsuspend=null,a()}},(e.imgBytes>ag?50:800)+t);return e.unsuspend=o,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(n)}}:null}function Ad(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)td(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Md=null;function td(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Md=new Map,t.forEach(Vz,e),Md=null,Ad.call(e))}function Vz(e,t){if(!(t.state.loading&4)){var o=Md.get(e);if(o)var r=o.get(null);else{o=new Map,Md.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=Ad.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 Zu={$$typeof:Fr,Provider:null,Consumer:null,_currentValue:Ia,_currentValue2:Ia,_threadCount:0};function Fz(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=Nh(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Nh(0),this.hiddenUpdates=Nh(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 OR(e,t,o,r,n,a,i,l,s,u,p,f){return e=new Fz(e,t,o,i,s,u,p,f,l),t=1,a===!0&&(t|=24),a=vo(3,null,null,t),e.current=a,a.stateNode=e,t=bb(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:o,cache:t},xb(a),e}function AR(e){return e?(e=El,e):El}function MR(e,t,o,r,n,a){n=AR(n),r.context===null?r.context=n:r.pendingContext=n,r=jn(t),r.payload={element:o},a=a===void 0?null:a,a!==null&&(r.callback=a),o=Ln(e,r,t),o!==null&&(lo(o,e,t),Nu(o,e,t))}function VC(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function Kb(e,t){VC(e,t),(e=e.alternate)&&VC(e,t)}function wR(e){if(e.tag===13||e.tag===31){var t=Ja(e,67108864);t!==null&&lo(t,e,67108864),Kb(e,67108864)}}function FC(e){if(e.tag===13||e.tag===31){var t=Po();t=nb(t);var o=Ja(e,t);o!==null&&lo(o,e,t),Kb(e,t)}}var wd=!0;function $z(e,t,o,r){var n=Y.T;Y.T=null;var a=ge.p;try{ge.p=2,Yb(e,t,o,r)}finally{ge.p=a,Y.T=n}}function qz(e,t,o,r){var n=Y.T;Y.T=null;var a=ge.p;try{ge.p=8,Yb(e,t,o,r)}finally{ge.p=a,Y.T=n}}function Yb(e,t,o,r){if(wd){var n=Jg(r);if(n===null)rg(e,t,r,Nd,o),$C(e,r);else if(Kz(n,e,t,o,r))r.stopPropagation();else if($C(e,r),t&4&&-1<Gz.indexOf(e)){for(;n!==null;){var a=Kl(n);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var i=ka(a.pendingLanes);if(i!==0){var l=a;for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var s=1<<31-Eo(i);l.entanglements[1]|=s,i&=~s}xr(a),(he&6)===0&&(vd=So()+500,uc(0,!1))}}break;case 31:case 13:l=Ja(a,2),l!==null&&lo(l,a,2),$d(),Kb(a,2)}if(a=Jg(r),a===null&&rg(e,t,r,Nd,o),a===n)break;n=a}n!==null&&r.stopPropagation()}else rg(e,t,r,null,o)}}function Jg(e){return e=sb(e),Xb(e)}var Nd=null;function Xb(e){if(Nd=null,e=bl(e),e!==null){var t=ec(e);if(t===null)e=null;else{var o=t.tag;if(o===13){if(e=QC(t),e!==null)return e;e=null}else if(o===31){if(e=ZC(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 Nd=e,null}function NR(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(D5()){case tE:return 2;case oE:return 8;case id:case z5:return 32;case rE:return 268435456;default:return 32}default:return 32}}var eb=!1,Vn=null,Fn=null,$n=null,Wu=new Map,Ju=new Map,wn=[],Gz="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 $C(e,t){switch(e){case"focusin":case"focusout":Vn=null;break;case"dragenter":case"dragleave":Fn=null;break;case"mouseover":case"mouseout":$n=null;break;case"pointerover":case"pointerout":Wu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ju.delete(t.pointerId)}}function vu(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=Kl(t),t!==null&&wR(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function Kz(e,t,o,r,n){switch(t){case"focusin":return Vn=vu(Vn,e,t,o,r,n),!0;case"dragenter":return Fn=vu(Fn,e,t,o,r,n),!0;case"mouseover":return $n=vu($n,e,t,o,r,n),!0;case"pointerover":var a=n.pointerId;return Wu.set(a,vu(Wu.get(a)||null,e,t,o,r,n)),!0;case"gotpointercapture":return a=n.pointerId,Ju.set(a,vu(Ju.get(a)||null,e,t,o,r,n)),!0}return!1}function _R(e){var t=bl(e.target);if(t!==null){var o=ec(t);if(o!==null){if(t=o.tag,t===13){if(t=QC(o),t!==null){e.blockedOn=t,O1(e.priority,function(){FC(o)});return}}else if(t===31){if(t=ZC(o),t!==null){e.blockedOn=t,O1(e.priority,function(){FC(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 od(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=Jg(e.nativeEvent);if(o===null){o=e.nativeEvent;var r=new o.constructor(o.type,o);bg=r,o.target.dispatchEvent(r),bg=null}else return t=Kl(o),t!==null&&wR(t),e.blockedOn=o,!1;t.shift()}return!0}function qC(e,t,o){od(e)&&o.delete(t)}function Yz(){eb=!1,Vn!==null&&od(Vn)&&(Vn=null),Fn!==null&&od(Fn)&&(Fn=null),$n!==null&&od($n)&&($n=null),Wu.forEach(qC),Ju.forEach(qC)}function If(e,t){e.blockedOn===t&&(e.blockedOn=null,eb||(eb=!0,ht.unstable_scheduleCallback(ht.unstable_NormalPriority,Yz)))}var Hf=null;function GC(e){Hf!==e&&(Hf=e,ht.unstable_scheduleCallback(ht.unstable_NormalPriority,function(){Hf===e&&(Hf=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(Xb(r||o)===null)continue;break}var a=Kl(o);a!==null&&(e.splice(t,3),t-=3,zg(a,{pending:!0,data:n,method:o.method,action:r},r,n))}}))}function ql(e){function t(s){return If(s,e)}Vn!==null&&If(Vn,e),Fn!==null&&If(Fn,e),$n!==null&&If($n,e),Wu.forEach(t),Ju.forEach(t);for(var o=0;o<wn.length;o++){var r=wn[o];r.blockedOn===e&&(r.blockedOn=null)}for(;0<wn.length&&(o=wn[0],o.blockedOn===null);)_R(o),o.blockedOn===null&&wn.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[so]||null;if(typeof a=="function")i||GC(o);else if(i){var l=null;if(a&&a.hasAttribute("formAction")){if(n=a,i=a[so]||null)l=i.formAction;else if(Xb(n)!==null)continue}else l=i.action;typeof l=="function"?o[r+1]=l:(o.splice(r,3),r-=3),GC(o)}}}function DR(){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 Qb(e){this._internalRoot=e}Kd.prototype.render=Qb.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(z(409));var o=t.current,r=Po();MR(o,r,e,t,null,null)};Kd.prototype.unmount=Qb.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;MR(e.current,2,null,e,null,null),$d(),t[Gl]=null}};function Kd(e){this._internalRoot=e}Kd.prototype.unstable_scheduleHydration=function(e){if(e){var t=sE();e={blockedOn:null,target:e,priority:t};for(var o=0;o<wn.length&&t!==0&&t<wn[o].priority;o++);wn.splice(o,0,e),o===0&&_R(e)}};var KC=YC.version;if(KC!=="19.2.4")throw Error(z(527,KC,"19.2.4"));ge.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=R5(t),e=e!==null?WC(e):null,e=e===null?null:e.stateNode,e};var Xz={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:Y,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(xu=__REACT_DEVTOOLS_GLOBAL_HOOK__,!xu.isDisabled&&xu.supportsFiber))try{tc=xu.inject(Xz),Co=xu}catch{}var xu;Yd.createRoot=function(e,t){if(!XC(e))throw Error(z(299));var o=!1,r="",n=EP,a=PP,i=RP;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=OR(e,1,!1,null,null,o,r,null,n,a,i,DR),e[Gl]=t.current,$b(e),new Qb(t)};Yd.hydrateRoot=function(e,t,o){if(!XC(e))throw Error(z(299));var r=!1,n="",a=EP,i=PP,l=RP,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=OR(e,1,!0,t,o??null,r,n,s,a,i,l,DR),t.context=AR(null),o=t.current,r=Po(),r=nb(r),n=jn(r),n.callback=null,Ln(o,n,r),o=r,t.current.lanes=o,rc(t,o),xr(t),e[Gl]=t.current,$b(e),new Kd(t)};Yd.version="19.2.4"});var kR=$t((Gre,UR)=>{"use strict";function BR(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(BR)}catch(e){console.error(e)}}BR(),UR.exports=zR()});var pO=/^\/[^/]+\/[^/]+\/pull\/(\d+)(?:\/|$)/;function iT(e){let t;try{t=new URL(e)}catch{return}return pO.exec(t.pathname)?.[1]}var fO={black:"#000",white:"#fff"},ii=fO;var dO={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"},Jn=dO;var mO={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"},ea=mO;var yO={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"},ta=yO;var hO={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"},oa=hO;var gO={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"},ra=gO;var bO={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"},li=bO;var TO={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"},lT=TO;function gt(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 At="$$material";function na(){return na=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},na.apply(null,arguments)}var No=S(k()),jc=S(k());var UO=!1;function kO(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 jO(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 vT=(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?!UO: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(jO(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var a=kO(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 Mt="-ms-",os="-moz-",me="-webkit-",Tc="comm",ci="rule",pi="decl";var xT="@import";var vc="@keyframes";var ST="@layer";var CT=Math.abs,aa=String.fromCharCode,ET=Object.assign;function PT(e,t){return tt(e,0)^45?(((t<<2^tt(e,0))<<2^tt(e,1))<<2^tt(e,2))<<2^tt(e,3):0}function xc(e){return e.trim()}function Sm(e,t){return(e=t.exec(e))?e[0]:e}function fe(e,t,o){return e.replace(t,o)}function rs(e,t){return e.indexOf(t)}function tt(e,t){return e.charCodeAt(t)|0}function rn(e,t,o){return e.slice(t,o)}function qt(e){return e.length}function fi(e){return e.length}function di(e,t){return t.push(e),e}function Cm(e,t){return e.map(t).join("")}var Sc=1,mi=1,RT=0,Gt=0,at=0,hi="";function ns(e,t,o,r,n,a,i){return{value:e,root:t,parent:o,type:r,props:n,children:a,line:Sc,column:mi,length:i,return:""}}function gi(e,t){return ET(ns("",null,null,"",null,null,0),e,{length:-e.length},t)}function OT(){return at}function AT(){return at=Gt>0?tt(hi,--Gt):0,mi--,at===10&&(mi=1,Sc--),at}function Kt(){return at=Gt<RT?tt(hi,Gt++):0,mi++,at===10&&(mi=1,Sc++),at}function wo(){return tt(hi,Gt)}function as(){return Gt}function bi(e,t){return rn(hi,e,t)}function yi(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 Cc(e){return Sc=mi=1,RT=qt(hi=e),Gt=0,[]}function Ec(e){return hi="",e}function Ti(e){return xc(bi(Gt-1,Em(e===91?e+2:e===40?e+1:e)))}function MT(e){for(;(at=wo())&&at<33;)Kt();return yi(e)>2||yi(at)>3?"":" "}function wT(e,t){for(;--t&&Kt()&&!(at<48||at>102||at>57&&at<65||at>70&&at<97););return bi(e,as()+(t<6&&wo()==32&&Kt()==32))}function Em(e){for(;Kt();)switch(at){case e:return Gt;case 34:case 39:e!==34&&e!==39&&Em(at);break;case 40:e===41&&Em(e);break;case 92:Kt();break}return Gt}function NT(e,t){for(;Kt()&&e+at!==57;)if(e+at===84&&wo()===47)break;return"/*"+bi(t,Gt-1)+"*"+aa(e===47?e:Kt())}function _T(e){for(;!yi(wo());)Kt();return bi(e,Gt)}function BT(e){return Ec(Pc("",null,null,null,[""],e=Cc(e),0,[0],e))}function Pc(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,h=0,g="",b=n,P=a,C=r,E=g;x;)switch(T=h,h=Kt()){case 40:if(T!=108&&tt(E,f-1)==58){rs(E+=fe(Ti(h),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:E+=Ti(h);break;case 9:case 10:case 13:case 32:E+=MT(T);break;case 92:E+=wT(as()-1,7);continue;case 47:switch(wo()){case 42:case 47:di(LO(NT(Kt(),as()),t,o),s);break;default:E+="/"}break;case 123*v:l[u++]=qt(E)*m;case 125*v:case 59:case 0:switch(h){case 0:case 125:x=0;case 59+p:m==-1&&(E=fe(E,/\f/g,"")),c>0&&qt(E)-f&&di(c>32?zT(E+";",r,o,f-1):zT(fe(E," ","")+";",r,o,f-2),s);break;case 59:E+=";";default:if(di(C=DT(E,t,o,u,p,n,l,g,b=[],P=[],f),a),h===123)if(p===0)Pc(E,t,C,C,b,a,f,l,P);else switch(d===99&&tt(E,3)===110?100:d){case 100:case 108:case 109:case 115:Pc(e,C,C,r&&di(DT(e,C,C,0,0,n,l,g,n,b=[],f),P),n,P,f,l,r?b:P);break;default:Pc(E,C,C,C,[""],P,0,l,P)}}u=p=c=0,v=m=1,g=E="",f=i;break;case 58:f=1+qt(E),c=T;default:if(v<1){if(h==123)--v;else if(h==125&&v++==0&&AT()==125)continue}switch(E+=aa(h),h*v){case 38:m=p>0?1:(E+="\f",-1);break;case 44:l[u++]=(qt(E)-1)*m,m=1;break;case 64:wo()===45&&(E+=Ti(Kt())),d=wo(),p=f=qt(g=E+=_T(as())),h++;break;case 45:T===45&&qt(E)==2&&(v=0)}}return a}function DT(e,t,o,r,n,a,i,l,s,u,p){for(var f=n-1,d=n===0?a:[""],c=fi(d),T=0,v=0,x=0;T<r;++T)for(var m=0,h=rn(e,f+1,f=CT(v=i[T])),g=e;m<c;++m)(g=xc(v>0?d[m]+" "+h:fe(h,/&\f/g,d[m])))&&(s[x++]=g);return ns(e,t,o,n===0?ci:l,s,u,p)}function LO(e,t,o){return ns(e,t,o,Tc,aa(OT()),rn(e,2,-2),0)}function zT(e,t,o,r){return ns(e,t,o,pi,rn(e,0,r),rn(e,r+1,-1),r)}function ia(e,t){for(var o="",r=fi(e),n=0;n<r;n++)o+=t(e[n],n,e,t)||"";return o}function UT(e,t,o,r){switch(e.type){case ST:if(e.children.length)break;case xT:case pi:return e.return=e.return||e.value;case Tc:return"";case vc:return e.return=e.value+"{"+ia(e.children,r)+"}";case ci:e.value=e.props.join(",")}return qt(o=ia(e.children,r))?e.return=e.value+"{"+o+"}":""}function kT(e){var t=fi(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 jT(e){return function(t){t.root||(t=t.return)&&e(t)}}function Rc(e){var t=Object.create(null);return function(o){return t[o]===void 0&&(t[o]=e(o)),t[o]}}var IO=function(t,o,r){for(var n=0,a=0;n=a,a=wo(),n===38&&a===12&&(o[r]=1),!yi(a);)Kt();return bi(t,Gt)},HO=function(t,o){var r=-1,n=44;do switch(yi(n)){case 0:n===38&&wo()===12&&(o[r]=1),t[r]+=IO(Gt-1,o,r);break;case 2:t[r]+=Ti(n);break;case 4:if(n===44){t[++r]=wo()===58?"&\f":"",o[r]=t[r].length;break}default:t[r]+=aa(n)}while(n=Kt());return t},VO=function(t,o){return Ec(HO(Cc(t),o))},LT=new WeakMap,FO=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&&!LT.get(r))&&!n){LT.set(t,!0);for(var a=[],i=VO(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]}}},$O=function(t){if(t.type==="decl"){var o=t.value;o.charCodeAt(0)===108&&o.charCodeAt(2)===98&&(t.return="",t.value="")}};function IT(e,t){switch(PT(e,t)){case 5103:return me+"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 me+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return me+e+os+e+Mt+e+e;case 6828:case 4268:return me+e+Mt+e+e;case 6165:return me+e+Mt+"flex-"+e+e;case 5187:return me+e+fe(e,/(\w+).+(:[^]+)/,me+"box-$1$2"+Mt+"flex-$1$2")+e;case 5443:return me+e+Mt+"flex-item-"+fe(e,/flex-|-self/,"")+e;case 4675:return me+e+Mt+"flex-line-pack"+fe(e,/align-content|flex-|-self/,"")+e;case 5548:return me+e+Mt+fe(e,"shrink","negative")+e;case 5292:return me+e+Mt+fe(e,"basis","preferred-size")+e;case 6060:return me+"box-"+fe(e,"-grow","")+me+e+Mt+fe(e,"grow","positive")+e;case 4554:return me+fe(e,/([^-])(transform)/g,"$1"+me+"$2")+e;case 6187:return fe(fe(fe(e,/(zoom-|grab)/,me+"$1"),/(image-set)/,me+"$1"),e,"")+e;case 5495:case 3959:return fe(e,/(image-set\([^]*)/,me+"$1$`$1");case 4968:return fe(fe(e,/(.+:)(flex-)?(.*)/,me+"box-pack:$3"+Mt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+me+e+e;case 4095:case 3583:case 4068:case 2532:return fe(e,/(.+)-inline(.+)/,me+"$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(qt(e)-1-t>6)switch(tt(e,t+1)){case 109:if(tt(e,t+4)!==45)break;case 102:return fe(e,/(.+:)(.+)-([^]+)/,"$1"+me+"$2-$3$1"+os+(tt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~rs(e,"stretch")?IT(fe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(tt(e,t+1)!==115)break;case 6444:switch(tt(e,qt(e)-3-(~rs(e,"!important")&&10))){case 107:return fe(e,":",":"+me)+e;case 101:return fe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+me+(tt(e,14)===45?"inline-":"")+"box$3$1"+me+"$2$3$1"+Mt+"$2box$3")+e}break;case 5936:switch(tt(e,t+11)){case 114:return me+e+Mt+fe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return me+e+Mt+fe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return me+e+Mt+fe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return me+e+Mt+e+e}return e}var qO=function(t,o,r,n){if(t.length>-1&&!t.return)switch(t.type){case pi:t.return=IT(t.value,t.length);break;case vc:return ia([gi(t,{value:fe(t.value,"@","@"+me)})],n);case ci:if(t.length)return Cm(t.props,function(a){switch(Sm(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ia([gi(t,{props:[fe(a,/:(read-\w+)/,":"+os+"$1")]})],n);case"::placeholder":return ia([gi(t,{props:[fe(a,/:(plac\w+)/,":"+me+"input-$1")]}),gi(t,{props:[fe(a,/:(plac\w+)/,":"+os+"$1")]}),gi(t,{props:[fe(a,/:(plac\w+)/,Mt+"input-$1")]})],n)}return""})}},GO=[qO],Oc=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||GO,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=[FO,$O];{var p,f=[UT,jT(function(v){p.insert(v)})],d=kT(u.concat(n,f)),c=function(x){return ia(BT(x),d)};s=function(x,m,h,g){p=h,c(x?x+"{"+m.styles+"}":m.styles),g&&(T.inserted[m.name]=!0)}}var T={key:o,sheet:new vT({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 aA=!0;function is(e,t,o){var r="";return o.split(" ").forEach(function(n){e[n]!==void 0?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var vi=function(t,o,r){var n=t.key+"-"+o.name;(r===!1||aA===!1)&&t.registered[n]===void 0&&(t.registered[n]=o.styles)},xi=function(t,o,r){vi(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 WT(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 JT={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 iA=!1,lA=/[A-Z]|^ms/g,sA=/_EMO_([^_]+?)_([^]*?)_EMO_/g,rv=function(t){return t.charCodeAt(1)===45},ev=function(t){return t!=null&&typeof t!="boolean"},wm=Rc(function(e){return rv(e)?e:e.replace(lA,"-$&").toLowerCase()}),tv=function(t,o){switch(t){case"animation":case"animationName":if(typeof o=="string")return o.replace(sA,function(r,n,a){return sr={name:n,styles:a,next:sr},n})}return JT[t]!==1&&!rv(t)&&typeof o=="number"&&o!==0?o+"px":o},uA="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ls(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 cA(e,t,o)}case"function":{if(e!==void 0){var s=sr,u=o(e);return sr=s,ls(e,t,u)}break}}var p=o;if(t==null)return p;var f=t[p];return f!==void 0?f:p}function cA(e,t,o){var r="";if(Array.isArray(o))for(var n=0;n<o.length;n++)r+=ls(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]+"}":ev(l)&&(r+=wm(a)+":"+tv(a,l)+";")}else{if(a==="NO_COMPONENT_SELECTOR"&&iA)throw new Error(uA);if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var s=0;s<i.length;s++)ev(i[s])&&(r+=wm(a)+":"+tv(a,i[s])+";");else{var u=ls(e,t,i);switch(a){case"animation":case"animationName":{r+=wm(a)+":"+u+";";break}default:r+=a+"{"+u+"}"}}}}return r}var ov=/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+=ls(o,t,a);else{var i=a;n+=i[0]}for(var l=1;l<e.length;l++)if(n+=ls(o,t,e[l]),r){var s=a;n+=s[l]}ov.lastIndex=0;for(var u="",p;(p=ov.exec(n))!==null;)u+="-"+p[1];var f=WT(n)+u;return{name:f,styles:n,next:sr}}var ss=S(k()),pA=function(t){return t()},nv=ss.useInsertionEffect?ss.useInsertionEffect:!1,us=nv||pA,Nm=nv||ss.useLayoutEffect;var av=!1,iv=No.createContext(typeof HTMLElement<"u"?Oc({key:"css"}):null),Dm=iv.Provider;var Si=function(t){return(0,jc.forwardRef)(function(o,r){var n=(0,jc.useContext)(iv);return t(o,n,r)})},Qo=No.createContext({});var Lc={}.hasOwnProperty,_m="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",lv=function(t,o){var r={};for(var n in o)Lc.call(o,n)&&(r[n]=o[n]);return r[_m]=t,r},fA=function(t){var o=t.cache,r=t.serialized,n=t.isStringTag;return vi(o,r,n),us(function(){return xi(o,r,n)}),null},dA=Si(function(e,t,o){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var n=e[_m],a=[r],i="";typeof e.className=="string"?i=is(t.registered,a,e.className):e.className!=null&&(i=e.className+" ");var l=Er(a,void 0,No.useContext(Qo));i+=t.key+"-"+l.name;var s={};for(var u in e)Lc.call(e,u)&&u!=="css"&&u!==_m&&!av&&(s[u]=e[u]);return s.className=i,o&&(s.ref=o),No.createElement(No.Fragment,null,No.createElement(fA,{cache:t,serialized:l,isStringTag:typeof n=="string"}),No.createElement(n,s))}),sv=dA;var nn=S(k());var e6=S(ZT()),uv=function(t,o){var r=arguments;if(o==null||!Lc.call(o,"css"))return nn.createElement.apply(void 0,r);var n=r.length,a=new Array(n);a[0]=sv,a[1]=lv(t,o);for(var i=2;i<n;i++)a[i]=r[i];return nn.createElement.apply(null,a)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(uv||(uv={}));var cv=Si(function(e,t){var o=e.styles,r=Er([o],void 0,nn.useContext(Qo)),n=nn.useRef();return Nm(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]),Nm(function(){var a=n.current,i=a[0],l=a[1];if(l){a[1]=!1;return}if(r.next!==void 0&&xi(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 la(){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=la.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 an=S(k());var mA=/^((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)-.*))$/,pv=Rc(function(e){return mA.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});var yA=!1,hA=pv,gA=function(t){return t!=="theme"},fv=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?hA:gA},dv=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},bA=function(t){var o=t.cache,r=t.serialized,n=t.isStringTag;return vi(o,r,n),us(function(){return xi(o,r,n)}),null},mv=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=dv(t,o,r),s=l||fv(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=Si(function(x,m,h){var g=u&&x.as||n,b="",P=[],C=x;if(x.theme==null){C={};for(var E in x)C[E]=x[E];C.theme=an.useContext(Qo)}typeof x.className=="string"?b=is(m.registered,P,x.className):x.className!=null&&(b=x.className+" ");var O=Er(f.concat(P),m.registered,C);b+=m.key+"-"+O.name,i!==void 0&&(b+=" "+i);var M=u&&l===void 0?fv(g):s,N={};for(var A in x)u&&A==="as"||M(A)&&(N[A]=x[A]);return N.className=b,h&&(N.ref=h),an.createElement(an.Fragment,null,an.createElement(bA,{cache:m,serialized:O,isStringTag:typeof g=="string"}),an.createElement(g,N))});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&&yA?"NO_COMPONENT_SELECTOR":"."+i}}),v.withComponent=function(x,m){var h=e(x,na({},o,m,{shouldForwardProp:dv(v,m,!0)}));return h.apply(void 0,f)},v}};var g6=S(k());var TA=["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"],Ic=mv.bind(null);TA.forEach(function(e){Ic[e]=Ic(e)});var bv=S(U(),1);function SA(e){return e==null||Object.keys(e).length===0}function sa(e){let{styles:t,defaultTheme:o={}}=e;return(0,bv.jsx)(cv,{styles:typeof t=="function"?n=>t(SA(n)?o:n):t})}function cs(e,t){return Ic(e,t)}function vv(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Tv=[];function Zo(e){return Tv[0]=e,Er(Tv)}var Um=S(k(),1),km=S(Cv(),1);function Wo(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 Ev(e){if(Um.isValidElement(e)||(0,km.isValidElementType)(e)||!Wo(e))return e;let t={};return Object.keys(e).forEach(o=>{t[o]=Ev(e[o])}),t}function Ue(e,t,o={clone:!0}){let r=o.clone?{...e}:e;return Wo(e)&&Wo(t)&&Object.keys(t).forEach(n=>{Um.isValidElement(t[n])||(0,km.isValidElementType)(t[n])?r[n]=t[n]:Wo(t[n])&&Object.prototype.hasOwnProperty.call(e,n)&&Wo(e[n])?r[n]=Ue(e[n],t[n],o):o.clone?r[n]=Wo(t[n])?Ev(t[n]):t[n]:r[n]=t[n]}),r}var PA=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 ps(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:r=5,...n}=e,a=PA(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 Pv=/min-width:\s*([0-9.]+)/;function Wc(e,t){if(!e.containerQueries||!RA(t))return t;let o=[];for(let n in t)n.startsWith("@container")&&o.push(n);o.sort((n,a)=>+(n.match(Pv)?.[1]||0)-+(a.match(Pv)?.[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 RA(e){for(let t in e)if(t.startsWith("@container"))return!0;return!1}function Jc(e,t){return t==="@"||t.startsWith("@")&&(e.some(o=>t.startsWith(`@${o}`))||!!t.match(/^@\d/))}function jm(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 ep(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 OA={borderRadius:4},Rv=OA;function Ci(e){if(e==null)return!0;for(let t in e)return!1;return!0}function cr(e,t){let o=Array.isArray(t),r=Array.isArray(e);return _A(t)?t:DA(e)?Ei(t):o&&r?wA(e,t):o!==r?Ei(t):zA(e,t)}function AA(e){let t=0,o=e.length,r=new Array(o);for(t=0;t<o;t+=1)r[t]=Ei(e[t]);return r}function MA(e){let t={};for(let o in e)t[o]=Ei(e[o]);return t}function wA(e,t){let o=e.length;for(let r=0;r<t.length;r+=1)e[o+r]=Ei(t[r]);return e}function NA(e){return typeof e=="object"&&e!==null&&!(e instanceof RegExp)&&!(e instanceof Date)}function _A(e){return typeof e!="object"||e===null}function DA(e){return typeof e!="object"||e===null||e instanceof RegExp||e instanceof Date}function Ei(e){return NA(e)?Array.isArray(e)?AA(e):MA(e):e}function zA(e,t){for(let o in t)o in e?e[o]=cr(e[o],t[o]):e[o]=Ei(t[o]);return e}var BA={},ds={xs:0,sm:600,md:900,lg:1200,xl:1536},fs=ps({values:ds}),UA={containerQueries:e=>({up:t=>{let o=typeof t=="number"?t:ds[t]||t;return typeof o=="number"&&(o=`${o}px`),e?`@container ${e} (min-width:${o})`:`@container (min-width:${o})`}})};function pr(e,t,o){let r={};return Pi(r,e.theme,t,(n,a,i)=>{let l=o(a,i);n?r[n]=l:cr(r,l)})}function Pi(e,t,o,r){if(t??(t=BA),Array.isArray(o)){let n=t.breakpoints??fs;for(let a=0;a<o.length;a+=1)Lm(e,n.up(n.keys[a]),o[a],void 0,r);return e}if(typeof o=="object"){let n=t.breakpoints??fs,a=n.values??ds;for(let i in o)if(Jc(n.keys,i)){let l=jm(t.containerQueries?t:UA,i);l&&Lm(e,l,o[i],i,r)}else if(i in a){let l=n.up(i);Lm(e,l,o[i],i,r)}else{let l=i;e[l]=o[l]}return e}return r(void 0,o),e}function Lm(e,t,o,r,n){e[t]??(e[t]={}),n(t,o,r)}function Ov(e=fs){let{internal_mediaKeys:t}=e,o={};for(let r=0;r<t.length;r+=1)o[t[r]]={};return o}function Im(e,t){let o=e.internal_mediaKeys;for(let r=0;r<o.length;r+=1){let n=o[r];Ci(t[n])&&delete t[n]}return t}function Av(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(Jc(e.keys,o[r]))return!0}return!1}function Ri(e){if(typeof e!="string")throw new Error(gt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Hm(e,t,o,r){let n;return typeof e=="function"?n=e(o):Array.isArray(e)?n=e[o]||o:typeof o=="string"?n=Oi(e,o,!0,r)||o:n=o,t&&(n=t(n,o,e)),n}function Oi(e,t,o=!0,r=void 0){if(!e||!t)return null;let n=t.split(".");if(e.vars&&o){let a=Mv(e.vars,n,r);if(a!=null)return a}return Mv(e,n,r)}function Mv(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"?"":Ri(i)}`;return r?.[l]}return n}function _e(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=Oi(s,r)||{};return pr(i,l,f=>{let d=Hm(u,n,f,t);return o===!1?d:{[o]:d}})};return a.propTypes={},a.filterProps=[t],a}var kA={internal_cache:{}},tp={m:"margin",p:"padding"},wv={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Nv={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ms={};for(let e in tp)ms[e]=[tp[e]];for(let e in tp)for(let t in wv){let o=tp[e],r=wv[t],n=Array.isArray(r)?r.map(a=>o+a):[o+r];ms[e+t]=n}for(let e in Nv)ms[e]=ms[Nv[e]];var Vm=new Set(["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"]),Fm=new Set(["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"]),Dv=new Set([...Vm,...Fm]);function ua(e,t,o,r){let n=Oi(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 ys(e){return ua(e,"spacing",8,"spacing")}function ca(e,t){return typeof t=="string"||t==null?t:e(t)}var _v=[""];function $m(e,t){let o=e.theme??kA,r=o?.internal_cache?.unarySpacing??ys(o),n={};for(let a in e){if(!t.has(a))continue;let i=ms[a]??(_v[0]=a,_v),l=e[a];Pi(n,e.theme,l,(s,u)=>{let p=s?n[s]:n;for(let f=0;f<i.length;f+=1)p[i[f]]=ca(r,u)})}return n}function Xe(e){return $m(e,Vm)}Xe.propTypes={};Xe.filterProps=Vm;function Qe(e){return $m(e,Fm)}Qe.propTypes={};Qe.filterProps=Fm;function zv(e){return $m(e,Dv)}zv.propTypes={};zv.filterProps=Dv;function Ai(e=8,t=ys({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 jA(...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]&&cr(n,t[a](r));return n};return o.propTypes={},o.filterProps=e.reduce((r,n)=>r.concat(n.filterProps),[]),o}var Pr=jA;function mo(e){return typeof e!="number"?e:`${e}px solid`}function Do(e,t){return _e({prop:e,themeKey:"borders",transform:t})}var LA=Do("border",mo),IA=Do("borderTop",mo),HA=Do("borderRight",mo),VA=Do("borderBottom",mo),FA=Do("borderLeft",mo),$A=Do("borderColor"),qA=Do("borderTopColor"),GA=Do("borderRightColor"),KA=Do("borderBottomColor"),YA=Do("borderLeftColor"),XA=Do("outline",mo),QA=Do("outlineColor"),hs=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=ua(e.theme,"shape.borderRadius",4,"borderRadius"),o=r=>({borderRadius:ca(t,r)});return pr(e,e.borderRadius,o)}return null};hs.propTypes={};hs.filterProps=["borderRadius"];var CU=Pr(LA,IA,HA,VA,FA,$A,qA,GA,KA,YA,hs,XA,QA);var gs=e=>{if(e.gap!==void 0&&e.gap!==null){let t=ua(e.theme,"spacing",8,"gap"),o=r=>({gap:ca(t,r)});return pr(e,e.gap,o)}return null};gs.propTypes={};gs.filterProps=["gap"];var bs=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=ua(e.theme,"spacing",8,"columnGap"),o=r=>({columnGap:ca(t,r)});return pr(e,e.columnGap,o)}return null};bs.propTypes={};bs.filterProps=["columnGap"];var Ts=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=ua(e.theme,"spacing",8,"rowGap"),o=r=>({rowGap:ca(t,r)});return pr(e,e.rowGap,o)}return null};Ts.propTypes={};Ts.filterProps=["rowGap"];var ZA=_e({prop:"gridColumn"}),WA=_e({prop:"gridRow"}),JA=_e({prop:"gridAutoFlow"}),eM=_e({prop:"gridAutoColumns"}),tM=_e({prop:"gridAutoRows"}),oM=_e({prop:"gridTemplateColumns"}),rM=_e({prop:"gridTemplateRows"}),nM=_e({prop:"gridTemplateAreas"}),aM=_e({prop:"gridArea"}),MU=Pr(gs,bs,Ts,ZA,WA,JA,eM,tM,oM,rM,nM,aM);function pa(e,t){return t==="grey"?t:e}var iM=_e({prop:"color",themeKey:"palette",transform:pa}),lM=_e({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:pa}),sM=_e({prop:"backgroundColor",themeKey:"palette",transform:pa}),DU=Pr(iM,lM,sM);function Jt(e){return e<=1&&e!==0?`${e*100}%`:e}var uM=_e({prop:"width",transform:Jt}),op=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){let t=o=>{let r=e.theme?.breakpoints?.values?.[o]||ds[o];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Jt(o)}};return pr(e,e.maxWidth,t)}return null};op.filterProps=["maxWidth"];var cM=_e({prop:"minWidth",transform:Jt}),pM=_e({prop:"height",transform:Jt}),fM=_e({prop:"maxHeight",transform:Jt}),dM=_e({prop:"minHeight",transform:Jt}),jU=_e({prop:"size",cssProperty:"width",transform:Jt}),LU=_e({prop:"size",cssProperty:"height",transform:Jt}),mM=_e({prop:"boxSizing"}),IU=Pr(uM,op,cM,pM,fM,dM,mM);var yM={border:{themeKey:"borders",transform:mo},borderTop:{themeKey:"borders",transform:mo},borderRight:{themeKey:"borders",transform:mo},borderBottom:{themeKey:"borders",transform:mo},borderLeft:{themeKey:"borders",transform:mo},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:mo},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:hs},color:{themeKey:"palette",transform:pa},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:pa},backgroundColor:{themeKey:"palette",transform:pa},p:{style:Qe},pt:{style:Qe},pr:{style:Qe},pb:{style:Qe},pl:{style:Qe},px:{style:Qe},py:{style:Qe},padding:{style:Qe},paddingTop:{style:Qe},paddingRight:{style:Qe},paddingBottom:{style:Qe},paddingLeft:{style:Qe},paddingX:{style:Qe},paddingY:{style:Qe},paddingInline:{style:Qe},paddingInlineStart:{style:Qe},paddingInlineEnd:{style:Qe},paddingBlock:{style:Qe},paddingBlockStart:{style:Qe},paddingBlockEnd:{style:Qe},m:{style:Xe},mt:{style:Xe},mr:{style:Xe},mb:{style:Xe},ml:{style:Xe},mx:{style:Xe},my:{style:Xe},margin:{style:Xe},marginTop:{style:Xe},marginRight:{style:Xe},marginBottom:{style:Xe},marginLeft:{style:Xe},marginX:{style:Xe},marginY:{style:Xe},marginInline:{style:Xe},marginInlineStart:{style:Xe},marginInlineEnd:{style:Xe},marginBlock:{style:Xe},marginBlockStart:{style:Xe},marginBlockEnd:{style:Xe},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:gs},rowGap:{style:Ts},columnGap:{style:bs},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Jt},maxWidth:{style:op},minWidth:{transform:Jt},height:{transform:Jt},maxHeight:{transform:Jt},minHeight:{transform:Jt},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"}},Rr=yM;var hM={};function gM(){function e(t){if(!t.sx)return null;let{sx:o,theme:r=hM,nested:n}=t,a=r.unstable_sxConfig??Rr,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??fs,f=Ov(p);for(let d in u){let c=bM(u[d],r);if(c!=null){if(typeof c!="object"){Bv(f,d,c,r,a);continue}if(a[d]){Bv(f,d,c,r,a);continue}Av(p,c)?Pi(f,t.theme,c,(T,v)=>{f[T][d]=v}):(i.sx=c,f[d]=e(i))}}return!n&&r.modularCssLayers?{"@layer sx":Wc(r,Im(p,f))}:Wc(r,Im(p,f))}return Array.isArray(o)?o.map(l):l(o)}return e.filterProps=["sx"],e}var eo=gM();function Bv(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){cr(e,l({[t]:o,theme:r}));return}let{cssProperty:s=t,transform:u}=a,p=Oi(r,i);Pi(e,r,o,(f,d)=>{let c=Hm(p,u,d,t);s===!1?f?e[f]=c:cr(e,c):f?e[f][s]=c:e[s]=c})}function bM(e,t){return typeof e=="function"?e(t):e}function qm(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 TM(e={},...t){let{breakpoints:o={},palette:r={},spacing:n,shape:a={},...i}=e,l=ps(o),s=Ai(n),u=Ue({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:s,shape:{...Rv,...a}},i);return u=ep(u),u.applyStyles=qm,u=t.reduce((p,f)=>Ue(p,f),u),u.unstable_sxConfig={...Rr,...i?.unstable_sxConfig},u.unstable_sx=function(f){return eo({sx:f,theme:this})},u.internal_cache={},u}var fa=TM;var Uv=S(k(),1);function vM(e){return Object.keys(e).length===0}function xM(e=null){let t=Uv.useContext(Qo);return!t||vM(t)?e:t}var da=xM;var SM=fa();function CM(e=SM){return da(e)}var ln=CM;var kv=S(U(),1);function Gm(e){let t=Zo(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function EM({styles:e,themeId:t,defaultTheme:o={}}){let r=ln(o),n=t&&r[t]||r,a=typeof e=="function"?e(n):e;return n.modularCssLayers&&(Array.isArray(a)?a=a.map(i=>Gm(typeof i=="function"?i(n):i)):a=Gm(a)),(0,kv.jsx)(sa,{styles:a})}var Mi=EM;var jv=e=>e,PM=()=>{let e=jv;return{configure(t){e=t},generate(t){return e(t)},reset(){e=jv}}},RM=PM(),wi=RM;var Iv=S(k(),1);function Lv(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=Lv(e[t]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function OM(){for(var e,t,o=0,r="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Lv(e))&&(r&&(r+=" "),r+=t);return r}var I=OM;var Hv=S(U(),1);function vs(e={}){let{themeId:t,defaultTheme:o,defaultClassName:r="MuiBox-root",generateClassName:n}=e,a=cs("div",{shouldForwardProp:l=>l!=="theme"&&l!=="sx"&&l!=="as"})(eo);return Iv.forwardRef(function(s,u){let p=ln(o),{className:f,component:d="div",...c}=s;return(0,Hv.jsx)(a,{as:d,ref:u,className:I(f,n?n(r):r),theme:t&&p[t]||p,...c})})}var AM={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 V(e,t,o="Mui"){let r=AM[t];return r?`${o}-${r}`:`${wi.generate(e)}-${t}`}function H(e,t,o="Mui"){let r={};return t.forEach(n=>{r[n]=V(e,n,o)}),r}function xs(e){let{variants:t,...o}=e,r={variants:t,style:Zo(o),isProcessed:!0};return r.style===o||t&&t.forEach(n=>{typeof n.style!="function"&&(n.style=Zo(n.style))}),r}var MM=fa();function Km(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function ma(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function wM(e){return e?(t,o)=>o[e]:null}function NM(e,t,o){e.theme=Ci(e.theme)?o:e.theme[t]||e.theme}function rp(e,t,o){let r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(n=>rp(e,n,o));if(Array.isArray(r?.variants)){let n;if(r.isProcessed)n=o?ma(r.style,o):r.style;else{let{variants:a,...i}=r;n=o?ma(Zo(i),o):i}return Vv(e,r.variants,[n],o)}return r?.isProcessed?o?ma(Zo(r.style),o):r.style:o?ma(Zo(r),o):r}function Vv(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?ma(Zo(i.style(n)),r):i.style(n))):o.push(r?ma(Zo(i.style),r):i.style)}return o}function np(e={}){let{themeId:t,defaultTheme:o=MM,rootShouldForwardProp:r=Km,slotShouldForwardProp:n=Km}=e;function a(l){NM(l,t,o)}return(l,s={})=>{vv(l,C=>C.filter(E=>E!==eo));let{name:u,slot:p,skipVariantsResolver:f,skipSx:d,overridesResolver:c=wM(zM(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,h=Km;p==="Root"||p==="root"?h=r:p?h=n:DM(l)&&(h=void 0);let g=cs(l,{shouldForwardProp:h,label:_M(u,p),...T}),b=C=>{if(C.__emotion_real===C)return C;if(typeof C=="function")return function(O){return rp(O,C,O.theme.modularCssLayers?v:void 0)};if(Wo(C)){let E=xs(C);return function(M){return E.variants?rp(M,E,M.theme.modularCssLayers?v:void 0):M.theme.modularCssLayers?ma(E.style,v):E.style}}return C},P=(...C)=>{let E=[],O=C.map(b),M=[];if(E.push(a),u&&c&&M.push(function(_){let w=_.theme.components?.[u]?.styleOverrides;if(!w)return null;let B={};for(let L in w)B[L]=rp(_,w[L],_.theme.modularCssLayers?"theme":void 0);return c(_,B)}),u&&!x&&M.push(function(_){let w=_.theme?.components?.[u]?.variants;return w?Vv(_,w,[],_.theme.modularCssLayers?"theme":void 0):null}),m||M.push(eo),Array.isArray(O[0])){let y=O.shift(),_=new Array(E.length).fill(""),R=new Array(M.length).fill(""),w;w=[..._,...y,...R],w.raw=[..._,...y.raw,...R],E.unshift(w)}let N=[...E,...O,...M],A=g(...N);return l.muiName&&(A.muiName=l.muiName),A};return g.withConfig&&(P.withConfig=g.withConfig),P}}function _M(e,t){return void 0}function DM(e){return typeof e=="string"&&e.charCodeAt(0)>96}function zM(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function sn(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]=sn(i[u],l[u],o)}}}else a==="className"&&o&&t.className?r.className=I(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 ap=S(k(),1),BM=typeof window<"u"?ap.useLayoutEffect:ap.useEffect,Tt=BM;function UM(e,t=Number.MIN_SAFE_INTEGER,o=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,o))}var Ym=UM;function Qm(e,t=0,o=1){return Ym(e,t,o)}function kM(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 un(e){if(e.type)return e;if(e.charAt(0)==="#")return un(kM(e));let t=e.indexOf("("),o=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(o))throw new Error(gt(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(gt(10,n))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:o,values:r,colorSpace:n}}var jM=e=>{let t=un(e);return t.values.slice(0,3).map((o,r)=>t.type.includes("hsl")&&r!==0?`${o}%`:o).join(" ")},Ni=(e,t)=>{try{return jM(e)}catch{return e}};function ip(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 Zm(e){e=un(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])),ip({type:l,values:s})}function Xm(e){e=un(e);let t=e.type==="hsl"||e.type==="hsla"?un(Zm(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 Fv(e,t){let o=Xm(e),r=Xm(t);return(Math.max(o,r)+.05)/(Math.min(o,r)+.05)}function _i(e,t){return e=un(e),t=Qm(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ip(e)}function cn(e,t,o){try{return _i(e,t)}catch{return e}}function Di(e,t){if(e=un(e),t=Qm(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 ip(e)}function xe(e,t,o){try{return Di(e,t)}catch{return e}}function zi(e,t){if(e=un(e),t=Qm(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 ip(e)}function Se(e,t,o){try{return zi(e,t)}catch{return e}}function LM(e,t=.15){return Xm(e)>.5?Di(e,t):zi(e,t)}function Ss(e,t,o){try{return LM(e,t)}catch{return e}}var a0=S(k(),1);var Gv=S(k(),1);var $v=S(k(),1),IM=$v.createContext(null),lp=IM;var Wm=S(k(),1);function Or(){return Wm.useContext(lp)}var HM=typeof Symbol=="function"&&Symbol.for,qv=HM?Symbol.for("mui.nested"):"__THEME_NESTED__";var Kv=S(U(),1);function VM(e,t){return typeof t=="function"?t(e):{...e,...t}}function FM(e){let{children:t,theme:o}=e,r=Or(),n=Gv.useMemo(()=>{let a=r===null?{...o}:VM(r,o);return a!=null&&(a[qv]=r!==null),a},[o,r]);return(0,Kv.jsx)(lp.Provider,{value:n,children:t})}var sp=FM;var up=S(k(),1);var Yv=S(U(),1),Xv=up.createContext();function $M({value:e,...t}){return(0,Yv.jsx)(Xv.Provider,{value:e??!0,...t})}var Qv=()=>up.useContext(Xv)??!1,Zv=$M;var cp=S(k(),1);var Wv=S(U(),1),Jv=cp.createContext(void 0);function qM({value:e,children:t}){return(0,Wv.jsx)(Jv.Provider,{value:e,children:t})}function GM(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?sn(n.defaultProps,r,t.components.mergeClassNameAndStyle):!n.styleOverrides&&!n.variants?sn(n,r,t.components.mergeClassNameAndStyle):r}function Jm({props:e,name:t}){let o=cp.useContext(Jv);return GM({props:e,name:t,theme:{components:o}})}var pp=qM;var Cs=S(k(),1),e0=0;function KM(e){let[t,o]=Cs.useState(e),r=e||t;return Cs.useEffect(()=>{t==null&&(e0+=1,o(`mui-${e0}`))},[t]),r}var YM={...Cs},t0=YM.useId;function Jo(e){if(t0!==void 0){let t=t0();return e??t}return KM(e)}var o0=S(U(),1);function ey(e){let t=da(),o=Jo()||"",{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};`,Tt(()=>{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,o0.jsx)(Mi,{styles:n}):null}var Bi=S(U(),1),r0={};function n0(e,t,o,r=!1){return a0.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 XM(e){let{children:t,theme:o,themeId:r}=e,n=da(r0),a=Or()||r0,i=n0(r,n,o),l=n0(r,a,o,!0),s=(r?i[r]:i).direction==="rtl",u=ey(i);return(0,Bi.jsx)(sp,{theme:l,children:(0,Bi.jsx)(Qo.Provider,{value:i,children:(0,Bi.jsx)(Zv,{value:s,children:(0,Bi.jsxs)(pp,{value:r?i[r].components:i.components,children:[u,t]})})})})}var Ui=XM;var i0={theme:void 0};function fp(e){let t,o;return function(n){let a=t;return(a===void 0||n.theme!==o)&&(i0.theme=n.theme,a=xs(e(i0)),t=a,o=n.theme),a}}var Nt=S(k(),1);var l0=S(U(),1),Es="mode",Ps="color-scheme",QM="data-color-scheme";function ty(e){let{defaultMode:t="system",defaultLightColorScheme:o="light",defaultDarkColorScheme:r="dark",modeStorageKey:n=Es,colorSchemeStorageKey:a=Ps,attribute:i=QM,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 dg=Object.prototype.hasOwnProperty,rb=ht.unstable_scheduleCallback,wh=ht.unstable_cancelCallback,D5=ht.unstable_shouldYield,z5=ht.unstable_requestPaint,So=ht.unstable_now,B5=ht.unstable_getCurrentPriorityLevel,oE=ht.unstable_ImmediatePriority,rE=ht.unstable_UserBlockingPriority,id=ht.unstable_NormalPriority,U5=ht.unstable_LowPriority,nE=ht.unstable_IdlePriority,k5=ht.log,j5=ht.unstable_setDisableYieldValue,tc=null,Co=null;function Nn(e){if(typeof k5=="function"&&j5(e),Co&&typeof Co.setStrictMode=="function")try{Co.setStrictMode(tc,e)}catch{}}var Eo=Math.clz32?Math.clz32:H5,L5=Math.log,I5=Math.LN2;function H5(e){return e>>>=0,e===0?32:31-(L5(e)/I5|0)|0}var Pf=256,Rf=262144,Of=4194304;function ka(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 _d(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=ka(r):(i&=l,i!==0?n=ka(i):o||(o=l&~e,o!==0&&(n=ka(o))))):(l=r&~a,l!==0?n=ka(l):i!==0?n=ka(i):o||(o=r&~e,o!==0&&(n=ka(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 oc(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function V5(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 aE(){var e=Of;return Of<<=1,(Of&62914560)===0&&(Of=4194304),e}function Nh(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function rc(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function F5(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-Eo(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&&iE(e,r,0),a!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=a&~(i&~t))}function iE(e,t,o){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Eo(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|o&261930}function lE(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var r=31-Eo(o),n=1<<r;n&t|e[r]&t&&(e[r]|=t),o&=~n}}function sE(e,t){var o=t&-t;return o=(o&42)!==0?1:nb(o),(o&(e.suspendedLanes|t))!==0?0:o}function nb(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 ab(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function uE(){var e=ge.p;return e!==0?e:(e=window.event,e===void 0?32:_R(e.type))}function A1(e,t){var o=ge.p;try{return ge.p=e,t()}finally{ge.p=o}}var Xn=Math.random().toString(36).slice(2),Ut="__reactFiber$"+Xn,so="__reactProps$"+Xn,Gl="__reactContainer$"+Xn,mg="__reactEvents$"+Xn,$5="__reactListeners$"+Xn,q5="__reactHandles$"+Xn,M1="__reactResources$"+Xn,nc="__reactMarker$"+Xn;function ib(e){delete e[Ut],delete e[so],delete e[mg],delete e[$5],delete e[q5]}function bl(e){var t=e[Ut];if(t)return t;for(var o=e.parentNode;o;){if(t=o[Gl]||o[Ut]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=kC(e);e!==null;){if(o=e[Ut])return o;e=kC(e)}return t}e=o,o=e.parentNode}return null}function Kl(e){if(e=e[Ut]||e[Gl]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Eu(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(z(33))}function Al(e){var t=e[M1];return t||(t=e[M1]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ct(e){e[nc]=!0}var cE=new Set,pE={};function Qa(e,t){Ul(e,t),Ul(e+"Capture",t)}function Ul(e,t){for(pE[e]=t,e=0;e<t.length;e++)cE.add(t[e])}var G5=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]*$"),w1={},N1={};function K5(e){return dg.call(N1,e)?!0:dg.call(w1,e)?!1:G5.test(e)?N1[e]=!0:(w1[e]=!0,!1)}function Vf(e,t,o){if(K5(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 Af(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 Ur(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 Ho(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function fE(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Y5(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 yg(e){if(!e._valueTracker){var t=fE(e)?"checked":"value";e._valueTracker=Y5(e,t,""+e[t])}}function dE(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),r="";return e&&(r=fE(e)?e.checked?"true":"false":e.value),e=r,e!==o?(t.setValue(e),!0):!1}function ld(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 X5=/[\n"\\]/g;function $o(e){return e.replace(X5,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function hg(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=""+Ho(t)):e.value!==""+Ho(t)&&(e.value=""+Ho(t)):i!=="submit"&&i!=="reset"||e.removeAttribute("value"),t!=null?gg(e,i,Ho(t)):o!=null?gg(e,i,Ho(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=""+Ho(l):e.removeAttribute("name")}function mE(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)){yg(e);return}o=o!=null?""+Ho(o):"",t=t!=null?""+Ho(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),yg(e)}function gg(e,t,o){t==="number"&&ld(e.ownerDocument)===e||e.defaultValue===""+o||(e.defaultValue=""+o)}function Ml(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=""+Ho(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 yE(e,t,o){if(t!=null&&(t=""+Ho(t),t!==e.value&&(e.value=t),o==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=o!=null?""+Ho(o):""}function hE(e,t,o,r){if(t==null){if(r!=null){if(o!=null)throw Error(z(92));if(Cu(r)){if(1<r.length)throw Error(z(93));r=r[0]}o=r}o==null&&(o=""),t=o}o=Ho(t),e.defaultValue=o,r=e.textContent,r===o&&r!==""&&r!==null&&(e.value=r),yg(e)}function kl(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var Q5=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 _1(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||Q5.has(t)?t==="float"?e.cssFloat=o:e[t]=(""+o).trim():e[t]=o+"px"}function gE(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&&_1(e,n,r)}else for(var a in t)t.hasOwnProperty(a)&&_1(e,a,t[a])}function lb(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 Z5=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"]]),W5=/^[\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 Ff(e){return W5.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function $r(){}var bg=null;function sb(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Tl=null,wl=null;function D1(e){var t=Kl(e);if(t&&(e=t.stateNode)){var o=e[so]||null;e:switch(e=t.stateNode,t.type){case"input":if(hg(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="'+$o(""+t)+'"][type="radio"]'),t=0;t<o.length;t++){var r=o[t];if(r!==e&&r.form===e.form){var n=r[so]||null;if(!n)throw Error(z(90));hg(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&&dE(r)}break e;case"textarea":yE(e,o.value,o.defaultValue);break e;case"select":t=o.value,t!=null&&Ml(e,!!o.multiple,t,!1)}}}var _h=!1;function bE(e,t,o){if(_h)return e(t,o);_h=!0;try{var r=e(t);return r}finally{if(_h=!1,(Tl!==null||wl!==null)&&($d(),Tl&&(t=Tl,e=wl,wl=Tl=null,D1(t),e)))for(t=0;t<e.length;t++)D1(e[t])}}function Hu(e,t){var o=e.stateNode;if(o===null)return null;var r=o[so]||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 Xr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Tg=!1;if(Xr)try{pl={},Object.defineProperty(pl,"passive",{get:function(){Tg=!0}}),window.addEventListener("test",pl,pl),window.removeEventListener("test",pl,pl)}catch{Tg=!1}var pl,_n=null,ub=null,$f=null;function TE(){if($f)return $f;var e,t=ub,o=t.length,r,n="value"in _n?_n.value:_n.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 $f=n.slice(e,1<r?1-r:void 0)}function qf(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 Mf(){return!0}function z1(){return!1}function uo(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)?Mf:z1,this.isPropagationStopped=z1,this}return Ve(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=Mf)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Mf)},persist:function(){},isPersistent:Mf}),t}var Za={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Dd=uo(Za),ac=Ve({},Za,{view:0,detail:0}),J5=uo(ac),Dh,zh,hu,zd=Ve({},ac,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:cb,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!==hu&&(hu&&e.type==="mousemove"?(Dh=e.screenX-hu.screenX,zh=e.screenY-hu.screenY):zh=Dh=0,hu=e),Dh)},movementY:function(e){return"movementY"in e?e.movementY:zh}}),B1=uo(zd),e3=Ve({},zd,{dataTransfer:0}),t3=uo(e3),o3=Ve({},ac,{relatedTarget:0}),Bh=uo(o3),r3=Ve({},Za,{animationName:0,elapsedTime:0,pseudoElement:0}),n3=uo(r3),a3=Ve({},Za,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),i3=uo(a3),l3=Ve({},Za,{data:0}),U1=uo(l3),s3={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},u3={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"},c3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function p3(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=c3[e])?!!t[e]:!1}function cb(){return p3}var f3=Ve({},ac,{key:function(e){if(e.key){var t=s3[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=qf(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?u3[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:cb,charCode:function(e){return e.type==="keypress"?qf(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?qf(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),d3=uo(f3),m3=Ve({},zd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),k1=uo(m3),y3=Ve({},ac,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:cb}),h3=uo(y3),g3=Ve({},Za,{propertyName:0,elapsedTime:0,pseudoElement:0}),b3=uo(g3),T3=Ve({},zd,{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}),v3=uo(T3),x3=Ve({},Za,{newState:0,oldState:0}),S3=uo(x3),C3=[9,13,27,32],pb=Xr&&"CompositionEvent"in window,Ou=null;Xr&&"documentMode"in document&&(Ou=document.documentMode);var E3=Xr&&"TextEvent"in window&&!Ou,vE=Xr&&(!pb||Ou&&8<Ou&&11>=Ou),j1=" ",L1=!1;function xE(e,t){switch(e){case"keyup":return C3.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function SE(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var vl=!1;function P3(e,t){switch(e){case"compositionend":return SE(t);case"keypress":return t.which!==32?null:(L1=!0,j1);case"textInput":return e=t.data,e===j1&&L1?null:e;default:return null}}function R3(e,t){if(vl)return e==="compositionend"||!pb&&xE(e,t)?(e=TE(),$f=ub=_n=null,vl=!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 vE&&t.locale!=="ko"?null:t.data;default:return null}}var O3={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 I1(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!O3[e.type]:t==="textarea"}function CE(e,t,o,r){Tl?wl?wl.push(r):wl=[r]:Tl=r,t=Pd(t,"onChange"),0<t.length&&(o=new Dd("onChange","change",null,o,r),e.push({event:o,listeners:t}))}var Au=null,Vu=null;function A3(e){bR(e,0)}function Bd(e){var t=Eu(e);if(dE(t))return e}function H1(e,t){if(e==="change")return t}var EE=!1;Xr&&(Xr?(Nf="oninput"in document,Nf||(Uh=document.createElement("div"),Uh.setAttribute("oninput","return;"),Nf=typeof Uh.oninput=="function"),wf=Nf):wf=!1,EE=wf&&(!document.documentMode||9<document.documentMode));var wf,Nf,Uh;function V1(){Au&&(Au.detachEvent("onpropertychange",PE),Vu=Au=null)}function PE(e){if(e.propertyName==="value"&&Bd(Vu)){var t=[];CE(t,Vu,e,sb(e)),bE(A3,t)}}function M3(e,t,o){e==="focusin"?(V1(),Au=t,Vu=o,Au.attachEvent("onpropertychange",PE)):e==="focusout"&&V1()}function w3(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Bd(Vu)}function N3(e,t){if(e==="click")return Bd(t)}function _3(e,t){if(e==="input"||e==="change")return Bd(t)}function D3(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ro=typeof Object.is=="function"?Object.is:D3;function Fu(e,t){if(Ro(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(!dg.call(t,n)||!Ro(e[n],t[n]))return!1}return!0}function F1(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function $1(e,t){var o=F1(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=F1(o)}}function RE(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?RE(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function OE(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ld(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=ld(e.document)}return t}function fb(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 z3=Xr&&"documentMode"in document&&11>=document.documentMode,xl=null,vg=null,Mu=null,xg=!1;function q1(e,t,o){var r=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;xg||xl==null||xl!==ld(r)||(r=xl,"selectionStart"in r&&fb(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}),Mu&&Fu(Mu,r)||(Mu=r,r=Pd(vg,"onSelect"),0<r.length&&(t=new Dd("onSelect","select",null,t,o),e.push({event:t,listeners:r}),t.target=xl)))}function Ba(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var Sl={animationend:Ba("Animation","AnimationEnd"),animationiteration:Ba("Animation","AnimationIteration"),animationstart:Ba("Animation","AnimationStart"),transitionrun:Ba("Transition","TransitionRun"),transitionstart:Ba("Transition","TransitionStart"),transitioncancel:Ba("Transition","TransitionCancel"),transitionend:Ba("Transition","TransitionEnd")},kh={},AE={};Xr&&(AE=document.createElement("div").style,"AnimationEvent"in window||(delete Sl.animationend.animation,delete Sl.animationiteration.animation,delete Sl.animationstart.animation),"TransitionEvent"in window||delete Sl.transitionend.transition);function Wa(e){if(kh[e])return kh[e];if(!Sl[e])return e;var t=Sl[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in AE)return kh[e]=t[o];return e}var ME=Wa("animationend"),wE=Wa("animationiteration"),NE=Wa("animationstart"),B3=Wa("transitionrun"),U3=Wa("transitionstart"),k3=Wa("transitioncancel"),_E=Wa("transitionend"),DE=new Map,Sg="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(" ");Sg.push("scrollEnd");function ir(e,t){DE.set(e,t),Qa(t,[e])}var sd=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)},Io=[],Cl=0,db=0;function Ud(){for(var e=Cl,t=db=Cl=0;t<e;){var o=Io[t];Io[t++]=null;var r=Io[t];Io[t++]=null;var n=Io[t];Io[t++]=null;var a=Io[t];if(Io[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&&zE(o,n,a)}}function kd(e,t,o,r){Io[Cl++]=e,Io[Cl++]=t,Io[Cl++]=o,Io[Cl++]=r,db|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function mb(e,t,o,r){return kd(e,t,o,r),ud(e)}function Ja(e,t){return kd(e,null,null,t),ud(e)}function zE(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-Eo(o),e=a.hiddenUpdates,r=e[n],r===null?e[n]=[t]:r.push(t),t.lane=o|536870912),a):null}function ud(e){if(50<ju)throw ju=0,Fg=null,Error(z(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var El={};function j3(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 vo(e,t,o,r){return new j3(e,t,o,r)}function yb(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Gr(e,t){var o=e.alternate;return o===null?(o=vo(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 BE(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 Gf(e,t,o,r,n,a){var i=0;if(r=e,typeof e=="function")yb(e)&&(i=1);else if(typeof e=="string")i=Hz(e,o,Tr.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ug:return e=vo(31,o,t,n),e.elementType=ug,e.lanes=a,e;case hl:return Ha(o.children,n,a,t);case eE:i=8,n|=24;break;case ig:return e=vo(12,o,t,n|2),e.elementType=ig,e.lanes=a,e;case lg:return e=vo(13,o,t,n),e.elementType=lg,e.lanes=a,e;case sg:return e=vo(19,o,t,n),e.elementType=sg,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Fr:i=10;break e;case tE:i=9;break e;case tb:i=11;break e;case ob:i=14;break e;case Pn:i=16,r=null;break e}i=29,o=Error(z(130,e===null?"null":typeof e,"")),r=null}return t=vo(i,o,t,n),t.elementType=e,t.type=r,t.lanes=a,t}function Ha(e,t,o,r){return e=vo(7,e,r,t),e.lanes=o,e}function jh(e,t,o){return e=vo(6,e,null,t),e.lanes=o,e}function UE(e){var t=vo(18,null,null,0);return t.stateNode=e,t}function Lh(e,t,o){return t=vo(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var G1=new WeakMap;function qo(e,t){if(typeof e=="object"&&e!==null){var o=G1.get(e);return o!==void 0?o:(t={value:e,source:t,stack:O1(t)},G1.set(e,t),t)}return{value:e,source:t,stack:O1(t)}}var Pl=[],Rl=0,cd=null,$u=0,Vo=[],Fo=0,qn=null,hr=1,gr="";function Hr(e,t){Pl[Rl++]=$u,Pl[Rl++]=cd,cd=e,$u=t}function kE(e,t,o){Vo[Fo++]=hr,Vo[Fo++]=gr,Vo[Fo++]=qn,qn=e;var r=hr;e=gr;var n=32-Eo(r)-1;r&=~(1<<n),o+=1;var a=32-Eo(t)+n;if(30<a){var i=n-n%5;a=(r&(1<<i)-1).toString(32),r>>=i,n-=i,hr=1<<32-Eo(t)+n|o<<n|r,gr=a+e}else hr=1<<a|o<<n|r,gr=e}function hb(e){e.return!==null&&(Hr(e,1),kE(e,1,0))}function gb(e){for(;e===cd;)cd=Pl[--Rl],Pl[Rl]=null,$u=Pl[--Rl],Pl[Rl]=null;for(;e===qn;)qn=Vo[--Fo],Vo[Fo]=null,gr=Vo[--Fo],Vo[Fo]=null,hr=Vo[--Fo],Vo[Fo]=null}function jE(e,t){Vo[Fo++]=hr,Vo[Fo++]=gr,Vo[Fo++]=qn,hr=t.id,gr=t.overflow,qn=e}var kt=null,He=null,pe=!1,kn=null,Go=!1,Cg=Error(z(519));function Gn(e){var t=Error(z(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw qu(qo(t,e)),Cg}function K1(e){var t=e.stateNode,o=e.type,r=e.memoizedProps;switch(t[Ut]=e,t[so]=r,o){case"dialog":ie("cancel",t),ie("close",t);break;case"iframe":case"object":case"embed":ie("load",t);break;case"video":case"audio":for(o=0;o<Xu.length;o++)ie(Xu[o],t);break;case"source":ie("error",t);break;case"img":case"image":case"link":ie("error",t),ie("load",t);break;case"details":ie("toggle",t);break;case"input":ie("invalid",t),mE(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":ie("invalid",t);break;case"textarea":ie("invalid",t),hE(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||vR(t.textContent,o)?(r.popover!=null&&(ie("beforetoggle",t),ie("toggle",t)),r.onScroll!=null&&ie("scroll",t),r.onScrollEnd!=null&&ie("scrollend",t),r.onClick!=null&&(t.onclick=$r),t=!0):t=!1,t||Gn(e,!0)}function Y1(e){for(kt=e.return;kt;)switch(kt.tag){case 5:case 31:case 13:Go=!1;return;case 27:case 3:Go=!0;return;default:kt=kt.return}}function fl(e){if(e!==kt)return!1;if(!pe)return Y1(e),pe=!0,!1;var t=e.tag,o;if((o=t!==3&&t!==27)&&((o=t===5)&&(o=e.type,o=!(o!=="form"&&o!=="button")||Yg(e.type,e.memoizedProps)),o=!o),o&&He&&Gn(e),Y1(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(z(317));He=UC(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(z(317));He=UC(e)}else t===27?(t=He,Qn(e.type)?(e=Wg,Wg=null,He=e):He=t):He=kt?Yo(e.stateNode.nextSibling):null;return!0}function qa(){He=kt=null,pe=!1}function Ih(){var e=kn;return e!==null&&(io===null?io=e:io.push.apply(io,e),kn=null),e}function qu(e){kn===null?kn=[e]:kn.push(e)}var Eg=vr(null),ei=null,qr=null;function On(e,t,o){ke(Eg,t._currentValue),t._currentValue=o}function Kr(e){e._currentValue=Eg.current,Et(Eg)}function Pg(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 Rg(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),Pg(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),Pg(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 Yl(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;Ro(n.pendingProps.value,i.value)||(e!==null?e.push(l):e=[l])}}else if(n===rd.current){if(i=n.alternate,i===null)throw Error(z(387));i.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(Zu):e=[Zu])}n=n.return}e!==null&&Rg(t,e,o,r),t.flags|=262144}function pd(e){for(e=e.firstContext;e!==null;){if(!Ro(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ga(e){ei=e,qr=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function jt(e){return LE(ei,e)}function _f(e,t){return ei===null&&Ga(e),LE(e,t)}function LE(e,t){var o=t._currentValue;if(t={context:t,memoizedValue:o,next:null},qr===null){if(e===null)throw Error(z(308));qr=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else qr=qr.next=t;return o}var L3=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()})}},I3=ht.unstable_scheduleCallback,H3=ht.unstable_NormalPriority,ut={$$typeof:Fr,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function bb(){return{controller:new L3,data:new Map,refCount:0}}function ic(e){e.refCount--,e.refCount===0&&I3(H3,function(){e.controller.abort()})}var wu=null,Og=0,jl=0,Nl=null;function V3(e,t){if(wu===null){var o=wu=[];Og=0,jl=Fb(),Nl={status:"pending",value:void 0,then:function(r){o.push(r)}}}return Og++,t.then(X1,X1),t}function X1(){if(--Og===0&&wu!==null){Nl!==null&&(Nl.status="fulfilled");var e=wu;wu=null,jl=0,Nl=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function F3(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 Q1=Y.S;Y.S=function(e,t){JP=So(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&V3(e,t),Q1!==null&&Q1(e,t)};var Va=vr(null);function Tb(){var e=Va.current;return e!==null?e:Be.pooledCache}function Kf(e,t){t===null?ke(Va,Va.current):ke(Va,t.pool)}function IE(){var e=Tb();return e===null?null:{parent:ut._currentValue,pool:e}}var Xl=Error(z(460)),vb=Error(z(474)),jd=Error(z(542)),fd={then:function(){}};function Z1(e){return e=e.status,e==="fulfilled"||e==="rejected"}function HE(e,t,o){switch(o=e[o],o===void 0?e.push(t):o!==t&&(t.then($r,$r),t=o),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,J1(e),e;default:if(typeof t.status=="string")t.then($r,$r);else{if(e=Be,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,J1(e),e}throw Fa=t,Xl}}function ja(e){try{var t=e._init;return t(e._payload)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(Fa=o,Xl):o}}var Fa=null;function W1(){if(Fa===null)throw Error(z(459));var e=Fa;return Fa=null,e}function J1(e){if(e===Xl||e===jd)throw Error(z(483))}var _l=null,Gu=0;function Df(e){var t=Gu;return Gu+=1,_l===null&&(_l=[]),HE(_l,e,t)}function gu(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function zf(e,t){throw t.$$typeof===M5?Error(z(525)):(e=Object.prototype.toString.call(t),Error(z(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function VE(e){function t(m,h){if(e){var g=m.deletions;g===null?(m.deletions=[h],m.flags|=16):g.push(h)}}function o(m,h){if(!e)return null;for(;h!==null;)t(m,h),h=h.sibling;return null}function r(m){for(var h=new Map;m!==null;)m.key!==null?h.set(m.key,m):h.set(m.index,m),m=m.sibling;return h}function n(m,h){return m=Gr(m,h),m.index=0,m.sibling=null,m}function a(m,h,g){return m.index=g,e?(g=m.alternate,g!==null?(g=g.index,g<h?(m.flags|=67108866,h):g):(m.flags|=67108866,h)):(m.flags|=1048576,h)}function i(m){return e&&m.alternate===null&&(m.flags|=67108866),m}function l(m,h,g,b){return h===null||h.tag!==6?(h=jh(g,m.mode,b),h.return=m,h):(h=n(h,g),h.return=m,h)}function s(m,h,g,b){var P=g.type;return P===hl?p(m,h,g.props.children,b,g.key):h!==null&&(h.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===Pn&&ja(P)===h.type)?(h=n(h,g.props),gu(h,g),h.return=m,h):(h=Gf(g.type,g.key,g.props,null,m.mode,b),gu(h,g),h.return=m,h)}function u(m,h,g,b){return h===null||h.tag!==4||h.stateNode.containerInfo!==g.containerInfo||h.stateNode.implementation!==g.implementation?(h=Lh(g,m.mode,b),h.return=m,h):(h=n(h,g.children||[]),h.return=m,h)}function p(m,h,g,b,P){return h===null||h.tag!==7?(h=Ha(g,m.mode,b,P),h.return=m,h):(h=n(h,g),h.return=m,h)}function f(m,h,g){if(typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint")return h=jh(""+h,m.mode,g),h.return=m,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Ef:return g=Gf(h.type,h.key,h.props,null,m.mode,g),gu(g,h),g.return=m,g;case Su:return h=Lh(h,m.mode,g),h.return=m,h;case Pn:return h=ja(h),f(m,h,g)}if(Cu(h)||yu(h))return h=Ha(h,m.mode,g,null),h.return=m,h;if(typeof h.then=="function")return f(m,Df(h),g);if(h.$$typeof===Fr)return f(m,_f(m,h),g);zf(m,h)}return null}function d(m,h,g,b){var P=h!==null?h.key:null;if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return P!==null?null:l(m,h,""+g,b);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Ef:return g.key===P?s(m,h,g,b):null;case Su:return g.key===P?u(m,h,g,b):null;case Pn:return g=ja(g),d(m,h,g,b)}if(Cu(g)||yu(g))return P!==null?null:p(m,h,g,b,null);if(typeof g.then=="function")return d(m,h,Df(g),b);if(g.$$typeof===Fr)return d(m,h,_f(m,g),b);zf(m,g)}return null}function c(m,h,g,b,P){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return m=m.get(g)||null,l(h,m,""+b,P);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Ef:return m=m.get(b.key===null?g:b.key)||null,s(h,m,b,P);case Su:return m=m.get(b.key===null?g:b.key)||null,u(h,m,b,P);case Pn:return b=ja(b),c(m,h,g,b,P)}if(Cu(b)||yu(b))return m=m.get(g)||null,p(h,m,b,P,null);if(typeof b.then=="function")return c(m,h,g,Df(b),P);if(b.$$typeof===Fr)return c(m,h,g,_f(h,b),P);zf(h,b)}return null}function T(m,h,g,b){for(var P=null,C=null,E=h,O=h=0,M=null;E!==null&&O<g.length;O++){E.index>O?(M=E,E=null):M=E.sibling;var N=d(m,E,g[O],b);if(N===null){E===null&&(E=M);break}e&&E&&N.alternate===null&&t(m,E),h=a(N,h,O),C===null?P=N:C.sibling=N,C=N,E=M}if(O===g.length)return o(m,E),pe&&Hr(m,O),P;if(E===null){for(;O<g.length;O++)E=f(m,g[O],b),E!==null&&(h=a(E,h,O),C===null?P=E:C.sibling=E,C=E);return pe&&Hr(m,O),P}for(E=r(E);O<g.length;O++)M=c(E,m,O,g[O],b),M!==null&&(e&&M.alternate!==null&&E.delete(M.key===null?O:M.key),h=a(M,h,O),C===null?P=M:C.sibling=M,C=M);return e&&E.forEach(function(A){return t(m,A)}),pe&&Hr(m,O),P}function v(m,h,g,b){if(g==null)throw Error(z(151));for(var P=null,C=null,E=h,O=h=0,M=null,N=g.next();E!==null&&!N.done;O++,N=g.next()){E.index>O?(M=E,E=null):M=E.sibling;var A=d(m,E,N.value,b);if(A===null){E===null&&(E=M);break}e&&E&&A.alternate===null&&t(m,E),h=a(A,h,O),C===null?P=A:C.sibling=A,C=A,E=M}if(N.done)return o(m,E),pe&&Hr(m,O),P;if(E===null){for(;!N.done;O++,N=g.next())N=f(m,N.value,b),N!==null&&(h=a(N,h,O),C===null?P=N:C.sibling=N,C=N);return pe&&Hr(m,O),P}for(E=r(E);!N.done;O++,N=g.next())N=c(E,m,O,N.value,b),N!==null&&(e&&N.alternate!==null&&E.delete(N.key===null?O:N.key),h=a(N,h,O),C===null?P=N:C.sibling=N,C=N);return e&&E.forEach(function(y){return t(m,y)}),pe&&Hr(m,O),P}function x(m,h,g,b){if(typeof g=="object"&&g!==null&&g.type===hl&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Ef:e:{for(var P=g.key;h!==null;){if(h.key===P){if(P=g.type,P===hl){if(h.tag===7){o(m,h.sibling),b=n(h,g.props.children),b.return=m,m=b;break e}}else if(h.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===Pn&&ja(P)===h.type){o(m,h.sibling),b=n(h,g.props),gu(b,g),b.return=m,m=b;break e}o(m,h);break}else t(m,h);h=h.sibling}g.type===hl?(b=Ha(g.props.children,m.mode,b,g.key),b.return=m,m=b):(b=Gf(g.type,g.key,g.props,null,m.mode,b),gu(b,g),b.return=m,m=b)}return i(m);case Su:e:{for(P=g.key;h!==null;){if(h.key===P)if(h.tag===4&&h.stateNode.containerInfo===g.containerInfo&&h.stateNode.implementation===g.implementation){o(m,h.sibling),b=n(h,g.children||[]),b.return=m,m=b;break e}else{o(m,h);break}else t(m,h);h=h.sibling}b=Lh(g,m.mode,b),b.return=m,m=b}return i(m);case Pn:return g=ja(g),x(m,h,g,b)}if(Cu(g))return T(m,h,g,b);if(yu(g)){if(P=yu(g),typeof P!="function")throw Error(z(150));return g=P.call(g),v(m,h,g,b)}if(typeof g.then=="function")return x(m,h,Df(g),b);if(g.$$typeof===Fr)return x(m,h,_f(m,g),b);zf(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint"?(g=""+g,h!==null&&h.tag===6?(o(m,h.sibling),b=n(h,g),b.return=m,m=b):(o(m,h),b=jh(g,m.mode,b),b.return=m,m=b),i(m)):o(m,h)}return function(m,h,g,b){try{Gu=0;var P=x(m,h,g,b);return _l=null,P}catch(E){if(E===Xl||E===jd)throw E;var C=vo(29,E,null,m.mode);return C.lanes=b,C.return=m,C}}}var Ka=VE(!0),FE=VE(!1),Rn=!1;function xb(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ag(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 jn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ln(e,t,o){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(he&2)!==0){var n=r.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),r.pending=t,t=ud(e),zE(e,null,o),t}return kd(e,r,t,o),ud(e)}function Nu(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,lE(e,o)}}function Hh(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 Mg=!1;function _u(){if(Mg){var e=Nl;if(e!==null)throw e}}function Du(e,t,o,r){Mg=!1;var n=e.updateQueue;Rn=!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?(se&d)===d:(r&d)===d){d!==0&&d===jl&&(Mg=!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=Ve({},f,d);break e;case 2:Rn=!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),Yn|=i,e.lanes=i,e.memoizedState=f}}function $E(e,t){if(typeof e!="function")throw Error(z(191,e));e.call(t)}function qE(e,t){var o=e.callbacks;if(o!==null)for(e.callbacks=null,e=0;e<o.length;e++)$E(o[e],t)}var Ll=vr(null),dd=vr(0);function eC(e,t){e=Jr,ke(dd,e),ke(Ll,t),Jr=e|t.baseLanes}function wg(){ke(dd,Jr),ke(Ll,Ll.current)}function Sb(){Jr=dd.current,Et(Ll),Et(dd)}var Oo=vr(null),Ko=null;function An(e){var t=e.alternate;ke(rt,rt.current&1),ke(Oo,e),Ko===null&&(t===null||Ll.current!==null||t.memoizedState!==null)&&(Ko=e)}function Ng(e){ke(rt,rt.current),ke(Oo,e),Ko===null&&(Ko=e)}function GE(e){e.tag===22?(ke(rt,rt.current),ke(Oo,e),Ko===null&&(Ko=e)):Mn(e)}function Mn(){ke(rt,rt.current),ke(Oo,Oo.current)}function To(e){Et(Oo),Ko===e&&(Ko=null),Et(rt)}var rt=vr(0);function md(e){for(var t=e;t!==null;){if(t.tag===13){var o=t.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||Qg(o)||Zg(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 Qr=0,J=null,Me=null,lt=null,yd=!1,Dl=!1,Ya=!1,hd=0,Ku=0,zl=null,$3=0;function Je(){throw Error(z(321))}function Cb(e,t){if(t===null)return!1;for(var o=0;o<t.length&&o<e.length;o++)if(!Ro(e[o],t[o]))return!1;return!0}function Eb(e,t,o,r,n,a){return Qr=a,J=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Y.H=e===null||e.memoizedState===null?CP:Bb,Ya=!1,a=o(r,n),Ya=!1,Dl&&(a=YE(t,o,r,n)),KE(e),a}function KE(e){Y.H=Yu;var t=Me!==null&&Me.next!==null;if(Qr=0,lt=Me=J=null,yd=!1,Ku=0,zl=null,t)throw Error(z(300));e===null||ct||(e=e.dependencies,e!==null&&pd(e)&&(ct=!0))}function YE(e,t,o,r){J=e;var n=0;do{if(Dl&&(zl=null),Ku=0,Dl=!1,25<=n)throw Error(z(301));if(n+=1,lt=Me=null,e.updateQueue!=null){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}Y.H=EP,a=t(o,r)}while(Dl);return a}function q3(){var e=Y.H,t=e.useState()[0];return t=typeof t.then=="function"?lc(t):t,e=e.useState()[0],(Me!==null?Me.memoizedState:null)!==e&&(J.flags|=1024),t}function Pb(){var e=hd!==0;return hd=0,e}function Rb(e,t,o){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o}function Ob(e){if(yd){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}yd=!1}Qr=0,lt=Me=J=null,Dl=!1,Ku=hd=0,zl=null}function Wt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return lt===null?J.memoizedState=lt=e:lt=lt.next=e,lt}function nt(){if(Me===null){var e=J.alternate;e=e!==null?e.memoizedState:null}else e=Me.next;var t=lt===null?J.memoizedState:lt.next;if(t!==null)lt=t,Me=e;else{if(e===null)throw J.alternate===null?Error(z(467)):Error(z(310));Me=e,e={memoizedState:Me.memoizedState,baseState:Me.baseState,baseQueue:Me.baseQueue,queue:Me.queue,next:null},lt===null?J.memoizedState=lt=e:lt=lt.next=e}return lt}function Ld(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function lc(e){var t=Ku;return Ku+=1,zl===null&&(zl=[]),e=HE(zl,e,t),t=J,(lt===null?t.memoizedState:lt.next)===null&&(t=t.alternate,Y.H=t===null||t.memoizedState===null?CP:Bb),e}function Id(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return lc(e);if(e.$$typeof===Fr)return jt(e)}throw Error(z(438,String(e)))}function Ab(e){var t=null,o=J.updateQueue;if(o!==null&&(t=o.memoCache),t==null){var r=J.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=Ld(),J.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]=w5;return t.index++,o}function Zr(e,t){return typeof t=="function"?t(e):t}function Yf(e){var t=nt();return Mb(t,Me,e)}function Mb(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?(se&f)===f:(Qr&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===jl&&(p=!0);else if((Qr&d)===d){u=u.next,d===jl&&(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,J.lanes|=d,Yn|=d;f=u.action,Ya&&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,J.lanes|=f,Yn|=f;u=u.next}while(u!==null&&u!==t);if(s===null?i=a:s.next=l,!Ro(a,e.memoizedState)&&(ct=!0,p&&(o=Nl,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 Vh(e){var t=nt(),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);Ro(a,t.memoizedState)||(ct=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),o.lastRenderedState=a}return[a,r]}function XE(e,t,o){var r=J,n=nt(),a=pe;if(a){if(o===void 0)throw Error(z(407));o=o()}else o=t();var i=!Ro((Me||n).memoizedState,o);if(i&&(n.memoizedState=o,ct=!0),n=n.queue,wb(WE.bind(null,r,n,e),[e]),n.getSnapshot!==t||i||lt!==null&&lt.memoizedState.tag&1){if(r.flags|=2048,Il(9,{destroy:void 0},ZE.bind(null,r,n,o,t),null),Be===null)throw Error(z(349));a||(Qr&127)!==0||QE(r,t,o)}return o}function QE(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=J.updateQueue,t===null?(t=Ld(),J.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function ZE(e,t,o,r){t.value=o,t.getSnapshot=r,JE(t)&&eP(e)}function WE(e,t,o){return o(function(){JE(t)&&eP(e)})}function JE(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!Ro(e,o)}catch{return!0}}function eP(e){var t=Ja(e,2);t!==null&&lo(t,e,2)}function _g(e){var t=Wt();if(typeof e=="function"){var o=e;if(e=o(),Ya){Nn(!0);try{o()}finally{Nn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zr,lastRenderedState:e},t}function tP(e,t,o,r){return e.baseState=o,Mb(e,Me,typeof r=="function"?r:Zr)}function G3(e,t,o,r,n){if(Vd(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)}};Y.T!==null?o(!0):a.isTransition=!1,r(a),o=t.pending,o===null?(a.next=t.pending=a,oP(t,a)):(a.next=o.next,t.pending=o.next=a)}}function oP(e,t){var o=t.action,r=t.payload,n=e.state;if(t.isTransition){var a=Y.T,i={};Y.T=i;try{var l=o(n,r),s=Y.S;s!==null&&s(i,l),tC(e,t,l)}catch(u){Dg(e,t,u)}finally{a!==null&&i.types!==null&&(a.types=i.types),Y.T=a}}else try{a=o(n,r),tC(e,t,a)}catch(u){Dg(e,t,u)}}function tC(e,t,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(r){oC(e,t,r)},function(r){return Dg(e,t,r)}):oC(e,t,o)}function oC(e,t,o){t.status="fulfilled",t.value=o,rP(t),e.state=o,t=e.pending,t!==null&&(o=t.next,o===t?e.pending=null:(o=o.next,t.next=o,oP(e,o)))}function Dg(e,t,o){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status="rejected",t.reason=o,rP(t),t=t.next;while(t!==r)}e.action=null}function rP(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function nP(e,t){return t}function rC(e,t){if(pe){var o=Be.formState;if(o!==null){e:{var r=J;if(pe){if(He){t:{for(var n=He,a=Go;n.nodeType!==8;){if(!a){n=null;break t}if(n=Yo(n.nextSibling),n===null){n=null;break t}}a=n.data,n=a==="F!"||a==="F"?n:null}if(n){He=Yo(n.nextSibling),r=n.data==="F!";break e}}Gn(r)}r=!1}r&&(t=o[0])}}return o=Wt(),o.memoizedState=o.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:nP,lastRenderedState:t},o.queue=r,o=vP.bind(null,J,r),r.dispatch=o,r=_g(!1),a=zb.bind(null,J,!1,r.queue),r=Wt(),n={state:t,dispatch:null,action:e,pending:null},r.queue=n,o=G3.bind(null,J,n,a,o),n.dispatch=o,r.memoizedState=e,[t,o,!1]}function nC(e){var t=nt();return aP(t,Me,e)}function aP(e,t,o){if(t=Mb(e,t,nP)[0],e=Yf(Zr)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var r=lc(t)}catch(i){throw i===Xl?jd:i}else r=t;t=nt();var n=t.queue,a=n.dispatch;return o!==t.memoizedState&&(J.flags|=2048,Il(9,{destroy:void 0},K3.bind(null,n,o),null)),[r,a,e]}function K3(e,t){e.action=t}function aC(e){var t=nt(),o=Me;if(o!==null)return aP(t,o,e);nt(),t=t.memoizedState,o=nt();var r=o.queue.dispatch;return o.memoizedState=e,[t,r,!1]}function Il(e,t,o,r){return e={tag:e,create:o,deps:r,inst:t,next:null},t=J.updateQueue,t===null&&(t=Ld(),J.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 iP(){return nt().memoizedState}function Xf(e,t,o,r){var n=Wt();J.flags|=e,n.memoizedState=Il(1|t,{destroy:void 0},o,r===void 0?null:r)}function Hd(e,t,o,r){var n=nt();r=r===void 0?null:r;var a=n.memoizedState.inst;Me!==null&&r!==null&&Cb(r,Me.memoizedState.deps)?n.memoizedState=Il(t,a,o,r):(J.flags|=e,n.memoizedState=Il(1|t,a,o,r))}function iC(e,t){Xf(8390656,8,e,t)}function wb(e,t){Hd(2048,8,e,t)}function Y3(e){J.flags|=4;var t=J.updateQueue;if(t===null)t=Ld(),J.updateQueue=t,t.events=[e];else{var o=t.events;o===null?t.events=[e]:o.push(e)}}function lP(e){var t=nt().memoizedState;return Y3({ref:t,nextImpl:e}),function(){if((he&2)!==0)throw Error(z(440));return t.impl.apply(void 0,arguments)}}function sP(e,t){return Hd(4,2,e,t)}function uP(e,t){return Hd(4,4,e,t)}function cP(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 pP(e,t,o){o=o!=null?o.concat([e]):null,Hd(4,4,cP.bind(null,t,e),o)}function Nb(){}function fP(e,t){var o=nt();t=t===void 0?null:t;var r=o.memoizedState;return t!==null&&Cb(t,r[1])?r[0]:(o.memoizedState=[e,t],e)}function dP(e,t){var o=nt();t=t===void 0?null:t;var r=o.memoizedState;if(t!==null&&Cb(t,r[1]))return r[0];if(r=e(),Ya){Nn(!0);try{e()}finally{Nn(!1)}}return o.memoizedState=[r,t],r}function _b(e,t,o){return o===void 0||(Qr&1073741824)!==0&&(se&261930)===0?e.memoizedState=t:(e.memoizedState=o,e=tR(),J.lanes|=e,Yn|=e,o)}function mP(e,t,o,r){return Ro(o,t)?o:Ll.current!==null?(e=_b(e,o,r),Ro(e,t)||(ct=!0),e):(Qr&42)===0||(Qr&1073741824)!==0&&(se&261930)===0?(ct=!0,e.memoizedState=o):(e=tR(),J.lanes|=e,Yn|=e,t)}function yP(e,t,o,r,n){var a=ge.p;ge.p=a!==0&&8>a?a:8;var i=Y.T,l={};Y.T=l,zb(e,!1,t,o);try{var s=n(),u=Y.S;if(u!==null&&u(l,s),s!==null&&typeof s=="object"&&typeof s.then=="function"){var p=F3(s,r);zu(e,t,p,Po(e))}else zu(e,t,r,Po(e))}catch(f){zu(e,t,{then:function(){},status:"rejected",reason:f},Po())}finally{ge.p=a,i!==null&&l.types!==null&&(i.types=l.types),Y.T=i}}function X3(){}function zg(e,t,o,r){if(e.tag!==5)throw Error(z(476));var n=hP(e).queue;yP(e,n,t,Ia,o===null?X3:function(){return gP(e),o(r)})}function hP(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Ia,baseState:Ia,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zr,lastRenderedState:Ia},next:null};var o={};return t.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zr,lastRenderedState:o},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function gP(e){var t=hP(e);t.next===null&&(t=e.alternate.memoizedState),zu(e,t.next.queue,{},Po())}function Db(){return jt(Zu)}function bP(){return nt().memoizedState}function TP(){return nt().memoizedState}function Q3(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var o=Po();e=jn(o);var r=Ln(t,e,o);r!==null&&(lo(r,t,o),Nu(r,t,o)),t={cache:bb()},e.payload=t;return}t=t.return}}function Z3(e,t,o){var r=Po();o={lane:r,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Vd(e)?xP(t,o):(o=mb(e,t,o,r),o!==null&&(lo(o,e,r),SP(o,t,r)))}function vP(e,t,o){var r=Po();zu(e,t,o,r)}function zu(e,t,o,r){var n={lane:r,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(Vd(e))xP(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,Ro(l,i))return kd(e,t,n,0),Be===null&&Ud(),!1}catch{}if(o=mb(e,t,n,r),o!==null)return lo(o,e,r),SP(o,t,r),!0}return!1}function zb(e,t,o,r){if(r={lane:2,revertLane:Fb(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Vd(e)){if(t)throw Error(z(479))}else t=mb(e,o,r,2),t!==null&&lo(t,e,2)}function Vd(e){var t=e.alternate;return e===J||t!==null&&t===J}function xP(e,t){Dl=yd=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function SP(e,t,o){if((o&4194048)!==0){var r=t.lanes;r&=e.pendingLanes,o|=r,t.lanes=o,lE(e,o)}}var Yu={readContext:jt,use:Id,useCallback:Je,useContext:Je,useEffect:Je,useImperativeHandle:Je,useLayoutEffect:Je,useInsertionEffect:Je,useMemo:Je,useReducer:Je,useRef:Je,useState:Je,useDebugValue:Je,useDeferredValue:Je,useTransition:Je,useSyncExternalStore:Je,useId:Je,useHostTransitionStatus:Je,useFormState:Je,useActionState:Je,useOptimistic:Je,useMemoCache:Je,useCacheRefresh:Je};Yu.useEffectEvent=Je;var CP={readContext:jt,use:Id,useCallback:function(e,t){return Wt().memoizedState=[e,t===void 0?null:t],e},useContext:jt,useEffect:iC,useImperativeHandle:function(e,t,o){o=o!=null?o.concat([e]):null,Xf(4194308,4,cP.bind(null,t,e),o)},useLayoutEffect:function(e,t){return Xf(4194308,4,e,t)},useInsertionEffect:function(e,t){Xf(4,2,e,t)},useMemo:function(e,t){var o=Wt();t=t===void 0?null:t;var r=e();if(Ya){Nn(!0);try{e()}finally{Nn(!1)}}return o.memoizedState=[r,t],r},useReducer:function(e,t,o){var r=Wt();if(o!==void 0){var n=o(t);if(Ya){Nn(!0);try{o(t)}finally{Nn(!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=Z3.bind(null,J,e),[r.memoizedState,e]},useRef:function(e){var t=Wt();return e={current:e},t.memoizedState=e},useState:function(e){e=_g(e);var t=e.queue,o=vP.bind(null,J,t);return t.dispatch=o,[e.memoizedState,o]},useDebugValue:Nb,useDeferredValue:function(e,t){var o=Wt();return _b(o,e,t)},useTransition:function(){var e=_g(!1);return e=yP.bind(null,J,e.queue,!0,!1),Wt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,o){var r=J,n=Wt();if(pe){if(o===void 0)throw Error(z(407));o=o()}else{if(o=t(),Be===null)throw Error(z(349));(se&127)!==0||QE(r,t,o)}n.memoizedState=o;var a={value:o,getSnapshot:t};return n.queue=a,iC(WE.bind(null,r,a,e),[e]),r.flags|=2048,Il(9,{destroy:void 0},ZE.bind(null,r,a,o,t),null),o},useId:function(){var e=Wt(),t=Be.identifierPrefix;if(pe){var o=gr,r=hr;o=(r&~(1<<32-Eo(r)-1)).toString(32)+o,t="_"+t+"R_"+o,o=hd++,0<o&&(t+="H"+o.toString(32)),t+="_"}else o=$3++,t="_"+t+"r_"+o.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Db,useFormState:rC,useActionState:rC,useOptimistic:function(e){var t=Wt();t.memoizedState=t.baseState=e;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=o,t=zb.bind(null,J,!0,o),o.dispatch=t,[e,t]},useMemoCache:Ab,useCacheRefresh:function(){return Wt().memoizedState=Q3.bind(null,J)},useEffectEvent:function(e){var t=Wt(),o={impl:e};return t.memoizedState=o,function(){if((he&2)!==0)throw Error(z(440));return o.impl.apply(void 0,arguments)}}},Bb={readContext:jt,use:Id,useCallback:fP,useContext:jt,useEffect:wb,useImperativeHandle:pP,useInsertionEffect:sP,useLayoutEffect:uP,useMemo:dP,useReducer:Yf,useRef:iP,useState:function(){return Yf(Zr)},useDebugValue:Nb,useDeferredValue:function(e,t){var o=nt();return mP(o,Me.memoizedState,e,t)},useTransition:function(){var e=Yf(Zr)[0],t=nt().memoizedState;return[typeof e=="boolean"?e:lc(e),t]},useSyncExternalStore:XE,useId:bP,useHostTransitionStatus:Db,useFormState:nC,useActionState:nC,useOptimistic:function(e,t){var o=nt();return tP(o,Me,e,t)},useMemoCache:Ab,useCacheRefresh:TP};Bb.useEffectEvent=lP;var EP={readContext:jt,use:Id,useCallback:fP,useContext:jt,useEffect:wb,useImperativeHandle:pP,useInsertionEffect:sP,useLayoutEffect:uP,useMemo:dP,useReducer:Vh,useRef:iP,useState:function(){return Vh(Zr)},useDebugValue:Nb,useDeferredValue:function(e,t){var o=nt();return Me===null?_b(o,e,t):mP(o,Me.memoizedState,e,t)},useTransition:function(){var e=Vh(Zr)[0],t=nt().memoizedState;return[typeof e=="boolean"?e:lc(e),t]},useSyncExternalStore:XE,useId:bP,useHostTransitionStatus:Db,useFormState:aC,useActionState:aC,useOptimistic:function(e,t){var o=nt();return Me!==null?tP(o,Me,e,t):(o.baseState=e,[e,o.queue.dispatch])},useMemoCache:Ab,useCacheRefresh:TP};EP.useEffectEvent=lP;function Fh(e,t,o,r){t=e.memoizedState,o=o(r,t),o=o==null?t:Ve({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var Bg={enqueueSetState:function(e,t,o){e=e._reactInternals;var r=Po(),n=jn(r);n.payload=t,o!=null&&(n.callback=o),t=Ln(e,n,r),t!==null&&(lo(t,e,r),Nu(t,e,r))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var r=Po(),n=jn(r);n.tag=1,n.payload=t,o!=null&&(n.callback=o),t=Ln(e,n,r),t!==null&&(lo(t,e,r),Nu(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=Po(),r=jn(o);r.tag=2,t!=null&&(r.callback=t),t=Ln(e,r,o),t!==null&&(lo(t,e,o),Nu(t,e,o))}};function lC(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?!Fu(o,r)||!Fu(n,a):!0}function sC(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&&Bg.enqueueReplaceState(t,t.state,null)}function Xa(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=Ve({},o));for(var n in e)o[n]===void 0&&(o[n]=e[n])}return o}function PP(e){sd(e)}function RP(e){console.error(e)}function OP(e){sd(e)}function gd(e,t){try{var o=e.onUncaughtError;o(t.value,{componentStack:t.stack})}catch(r){setTimeout(function(){throw r})}}function uC(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 Ug(e,t,o){return o=jn(o),o.tag=3,o.payload={element:null},o.callback=function(){gd(e,t)},o}function AP(e){return e=jn(e),e.tag=3,e}function MP(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(){uC(t,o,r)}}var i=o.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(e.callback=function(){uC(t,o,r),typeof n!="function"&&(In===null?In=new Set([this]):In.add(this));var l=r.stack;this.componentDidCatch(r.value,{componentStack:l!==null?l:""})})}function W3(e,t,o,r,n){if(o.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(t=o.alternate,t!==null&&Yl(t,o,n,!0),o=Oo.current,o!==null){switch(o.tag){case 31:case 13:return Ko===null?Sd():o.alternate===null&&et===0&&(et=3),o.flags&=-257,o.flags|=65536,o.lanes=n,r===fd?o.flags|=16384:(t=o.updateQueue,t===null?o.updateQueue=new Set([r]):t.add(r),eg(e,r,n)),!1;case 22:return o.flags|=65536,r===fd?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)),eg(e,r,n)),!1}throw Error(z(435,o.tag))}return eg(e,r,n),Sd(),!1}if(pe)return t=Oo.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,r!==Cg&&(e=Error(z(422),{cause:r}),qu(qo(e,o)))):(r!==Cg&&(t=Error(z(423),{cause:r}),qu(qo(t,o))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,r=qo(r,o),n=Ug(e.stateNode,r,n),Hh(e,n),et!==4&&(et=2)),!1;var a=Error(z(520),{cause:r});if(a=qo(a,o),ku===null?ku=[a]:ku.push(a),et!==4&&(et=2),t===null)return!0;r=qo(r,o),o=t;do{switch(o.tag){case 3:return o.flags|=65536,e=n&-n,o.lanes|=e,e=Ug(o.stateNode,r,e),Hh(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"&&(In===null||!In.has(a))))return o.flags|=65536,n&=-n,o.lanes|=n,n=AP(n),MP(n,e,o,r),Hh(o,n),!1}o=o.return}while(o!==null);return!1}var Ub=Error(z(461)),ct=!1;function Bt(e,t,o,r){t.child=e===null?FE(t,null,o,r):Ka(t,e.child,o,r)}function cC(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 Ga(t),r=Eb(e,t,o,i,a,n),l=Pb(),e!==null&&!ct?(Rb(e,t,n),Wr(e,t,n)):(pe&&l&&hb(t),t.flags|=1,Bt(e,t,r,n),t.child)}function pC(e,t,o,r,n){if(e===null){var a=o.type;return typeof a=="function"&&!yb(a)&&a.defaultProps===void 0&&o.compare===null?(t.tag=15,t.type=a,wP(e,t,a,r,n)):(e=Gf(o.type,null,r,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!kb(e,n)){var i=a.memoizedProps;if(o=o.compare,o=o!==null?o:Fu,o(i,r)&&e.ref===t.ref)return Wr(e,t,n)}return t.flags|=1,e=Gr(a,r),e.ref=t.ref,e.return=t,t.child=e}function wP(e,t,o,r,n){if(e!==null){var a=e.memoizedProps;if(Fu(a,r)&&e.ref===t.ref)if(ct=!1,t.pendingProps=r=a,kb(e,n))(e.flags&131072)!==0&&(ct=!0);else return t.lanes=e.lanes,Wr(e,t,n)}return kg(e,t,o,r,n)}function NP(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 fC(e,t,a,o,r)}if((o&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Kf(t,a!==null?a.cachePool:null),a!==null?eC(t,a):wg(),GE(t);else return r=t.lanes=536870912,fC(e,t,a!==null?a.baseLanes|o:o,o,r)}else a!==null?(Kf(t,a.cachePool),eC(t,a),Mn(t),t.memoizedState=null):(e!==null&&Kf(t,null),wg(),Mn(t));return Bt(e,t,n,o),t.child}function Pu(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function fC(e,t,o,r,n){var a=Tb();return a=a===null?null:{parent:ut._currentValue,pool:a},t.memoizedState={baseLanes:o,cachePool:a},e!==null&&Kf(t,null),wg(),GE(t),e!==null&&Yl(e,t,r,!0),t.childLanes=n,null}function Qf(e,t){return t=bd({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function dC(e,t,o){return Ka(t,e.child,null,o),e=Qf(t,t.pendingProps),e.flags|=2,To(t),t.memoizedState=null,e}function J3(e,t,o){var r=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(pe){if(r.mode==="hidden")return e=Qf(t,r),t.lanes=536870912,Pu(null,e);if(Ng(t),(e=He)?(e=CR(e,Go),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:qn!==null?{id:hr,overflow:gr}:null,retryLane:536870912,hydrationErrors:null},o=UE(e),o.return=t,t.child=o,kt=t,He=null)):e=null,e===null)throw Gn(t);return t.lanes=536870912,null}return Qf(t,r)}var a=e.memoizedState;if(a!==null){var i=a.dehydrated;if(Ng(t),n)if(t.flags&256)t.flags&=-257,t=dC(e,t,o);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(z(558));else if(ct||Yl(e,t,o,!1),n=(o&e.childLanes)!==0,ct||n){if(r=Be,r!==null&&(i=sE(r,o),i!==0&&i!==a.retryLane))throw a.retryLane=i,Ja(e,i),lo(r,e,i),Ub;Sd(),t=dC(e,t,o)}else e=a.treeContext,He=Yo(i.nextSibling),kt=t,pe=!0,kn=null,Go=!1,e!==null&&jE(t,e),t=Qf(t,r),t.flags|=4096;return t}return e=Gr(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Zf(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 kg(e,t,o,r,n){return Ga(t),o=Eb(e,t,o,r,void 0,n),r=Pb(),e!==null&&!ct?(Rb(e,t,n),Wr(e,t,n)):(pe&&r&&hb(t),t.flags|=1,Bt(e,t,o,n),t.child)}function mC(e,t,o,r,n,a){return Ga(t),t.updateQueue=null,o=YE(t,r,o,n),KE(e),r=Pb(),e!==null&&!ct?(Rb(e,t,a),Wr(e,t,a)):(pe&&r&&hb(t),t.flags|=1,Bt(e,t,o,a),t.child)}function yC(e,t,o,r,n){if(Ga(t),t.stateNode===null){var a=El,i=o.contextType;typeof i=="object"&&i!==null&&(a=jt(i)),a=new o(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Bg,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},xb(t),i=o.contextType,a.context=typeof i=="object"&&i!==null?jt(i):El,a.state=t.memoizedState,i=o.getDerivedStateFromProps,typeof i=="function"&&(Fh(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&&Bg.enqueueReplaceState(a,a.state,null),Du(t,r,a,n),_u(),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=Xa(o,l);a.props=s;var u=a.context,p=o.contextType;i=El,typeof p=="object"&&p!==null&&(i=jt(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)&&sC(t,a,r,i),Rn=!1;var d=t.memoizedState;a.state=d,Du(t,r,a,n),_u(),u=t.memoizedState,l||d!==u||Rn?(typeof f=="function"&&(Fh(t,o,f,r),u=t.memoizedState),(s=Rn||lC(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,Ag(e,t),i=t.memoizedProps,p=Xa(o,i),a.props=p,f=t.pendingProps,d=a.context,u=o.contextType,s=El,typeof u=="object"&&u!==null&&(s=jt(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)&&sC(t,a,r,s),Rn=!1,d=t.memoizedState,a.state=d,Du(t,r,a,n),_u();var c=t.memoizedState;i!==f||d!==c||Rn||e!==null&&e.dependencies!==null&&pd(e.dependencies)?(typeof l=="function"&&(Fh(t,o,l,r),c=t.memoizedState),(p=Rn||lC(t,o,p,r,d,c,s)||e!==null&&e.dependencies!==null&&pd(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,Zf(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=Ka(t,e.child,null,n),t.child=Ka(t,null,o,n)):Bt(e,t,o,n),t.memoizedState=a.state,e=t.child):e=Wr(e,t,n),e}function hC(e,t,o,r){return qa(),t.flags|=256,Bt(e,t,o,r),t.child}var $h={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function qh(e){return{baseLanes:e,cachePool:IE()}}function Gh(e,t,o){return e=e!==null?e.childLanes&~o:0,t&&(e|=xo),e}function _P(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:(rt.current&2)!==0),i&&(n=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,e===null){if(pe){if(n?An(t):Mn(t),(e=He)?(e=CR(e,Go),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:qn!==null?{id:hr,overflow:gr}:null,retryLane:536870912,hydrationErrors:null},o=UE(e),o.return=t,t.child=o,kt=t,He=null)):e=null,e===null)throw Gn(t);return Zg(e)?t.lanes=32:t.lanes=536870912,null}var l=r.children;return r=r.fallback,n?(Mn(t),n=t.mode,l=bd({mode:"hidden",children:l},n),r=Ha(r,n,o,null),l.return=t,r.return=t,l.sibling=r,t.child=l,r=t.child,r.memoizedState=qh(o),r.childLanes=Gh(e,i,o),t.memoizedState=$h,Pu(null,r)):(An(t),jg(t,l))}var s=e.memoizedState;if(s!==null&&(l=s.dehydrated,l!==null)){if(a)t.flags&256?(An(t),t.flags&=-257,t=Kh(e,t,o)):t.memoizedState!==null?(Mn(t),t.child=e.child,t.flags|=128,t=null):(Mn(t),l=r.fallback,n=t.mode,r=bd({mode:"visible",children:r.children},n),l=Ha(l,n,o,null),l.flags|=2,r.return=t,l.return=t,r.sibling=l,t.child=r,Ka(t,e.child,null,o),r=t.child,r.memoizedState=qh(o),r.childLanes=Gh(e,i,o),t.memoizedState=$h,t=Pu(null,r));else if(An(t),Zg(l)){if(i=l.nextSibling&&l.nextSibling.dataset,i)var u=i.dgst;i=u,r=Error(z(419)),r.stack="",r.digest=i,qu({value:r,source:null,stack:null}),t=Kh(e,t,o)}else if(ct||Yl(e,t,o,!1),i=(o&e.childLanes)!==0,ct||i){if(i=Be,i!==null&&(r=sE(i,o),r!==0&&r!==s.retryLane))throw s.retryLane=r,Ja(e,r),lo(i,e,r),Ub;Qg(l)||Sd(),t=Kh(e,t,o)}else Qg(l)?(t.flags|=192,t.child=e.child,t=null):(e=s.treeContext,He=Yo(l.nextSibling),kt=t,pe=!0,kn=null,Go=!1,e!==null&&jE(t,e),t=jg(t,r.children),t.flags|=4096);return t}return n?(Mn(t),l=r.fallback,n=t.mode,s=e.child,u=s.sibling,r=Gr(s,{mode:"hidden",children:r.children}),r.subtreeFlags=s.subtreeFlags&65011712,u!==null?l=Gr(u,l):(l=Ha(l,n,o,null),l.flags|=2),l.return=t,r.return=t,r.sibling=l,t.child=r,Pu(null,r),r=t.child,l=e.child.memoizedState,l===null?l=qh(o):(n=l.cachePool,n!==null?(s=ut._currentValue,n=n.parent!==s?{parent:s,pool:s}:n):n=IE(),l={baseLanes:l.baseLanes|o,cachePool:n}),r.memoizedState=l,r.childLanes=Gh(e,i,o),t.memoizedState=$h,Pu(e.child,r)):(An(t),o=e.child,e=o.sibling,o=Gr(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 jg(e,t){return t=bd({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function bd(e,t){return e=vo(22,e,null,t),e.lanes=0,e}function Kh(e,t,o){return Ka(t,e.child,null,o),e=jg(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function gC(e,t,o){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Pg(e.return,t,o)}function Yh(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 DP(e,t,o){var r=t.pendingProps,n=r.revealOrder,a=r.tail;r=r.children;var i=rt.current,l=(i&2)!==0;if(l?(i=i&1|2,t.flags|=128):i&=1,ke(rt,i),Bt(e,t,r,o),r=pe?$u:0,!l&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&gC(e,o,t);else if(e.tag===19)gC(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&&md(e)===null&&(n=o),o=o.sibling;o=n,o===null?(n=t.child,t.child=null):(n=o.sibling,o.sibling=null),Yh(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&&md(e)===null){t.child=n;break}e=n.sibling,n.sibling=o,o=n,n=e}Yh(t,!0,o,null,a,r);break;case"together":Yh(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Wr(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),Yn|=t.lanes,(o&t.childLanes)===0)if(e!==null){if(Yl(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=Gr(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=Gr(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function kb(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&pd(e)))}function ez(e,t,o){switch(t.tag){case 3:nd(t,t.stateNode.containerInfo),On(t,ut,e.memoizedState.cache),qa();break;case 27:case 5:fg(t);break;case 4:nd(t,t.stateNode.containerInfo);break;case 10:On(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Ng(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated!==null?(An(t),t.flags|=128,null):(o&t.child.childLanes)!==0?_P(e,t,o):(An(t),e=Wr(e,t,o),e!==null?e.sibling:null);An(t);break;case 19:var n=(e.flags&128)!==0;if(r=(o&t.childLanes)!==0,r||(Yl(e,t,o,!1),r=(o&t.childLanes)!==0),n){if(r)return DP(e,t,o);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),ke(rt,rt.current),r)break;return null;case 22:return t.lanes=0,NP(e,t,o,t.pendingProps);case 24:On(t,ut,e.memoizedState.cache)}return Wr(e,t,o)}function zP(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps)ct=!0;else{if(!kb(e,o)&&(t.flags&128)===0)return ct=!1,ez(e,t,o);ct=(e.flags&131072)!==0}else ct=!1,pe&&(t.flags&1048576)!==0&&kE(t,$u,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=ja(t.elementType),t.type=e,typeof e=="function")yb(e)?(r=Xa(e,r),t.tag=1,t=yC(null,t,e,r,o)):(t.tag=0,t=kg(null,t,e,r,o));else{if(e!=null){var n=e.$$typeof;if(n===tb){t.tag=11,t=cC(null,t,e,r,o);break e}else if(n===ob){t.tag=14,t=pC(null,t,e,r,o);break e}}throw t=cg(e)||e,Error(z(306,t,""))}}return t;case 0:return kg(e,t,t.type,t.pendingProps,o);case 1:return r=t.type,n=Xa(r,t.pendingProps),yC(e,t,r,n,o);case 3:e:{if(nd(t,t.stateNode.containerInfo),e===null)throw Error(z(387));r=t.pendingProps;var a=t.memoizedState;n=a.element,Ag(e,t),Du(t,r,null,o);var i=t.memoizedState;if(r=i.cache,On(t,ut,r),r!==a.cache&&Rg(t,[ut],o,!0),_u(),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=hC(e,t,r,o);break e}else if(r!==n){n=qo(Error(z(424)),t),qu(n),t=hC(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,He=Yo(e.firstChild),kt=t,pe=!0,kn=null,Go=!0,o=FE(t,null,r,o),t.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(qa(),r===n){t=Wr(e,t,o);break e}Bt(e,t,r,o)}t=t.child}return t;case 26:return Zf(e,t),e===null?(o=LC(t.type,null,t.pendingProps,null))?t.memoizedState=o:pe||(o=t.type,e=t.pendingProps,r=Rd(Un.current).createElement(o),r[Ut]=t,r[so]=e,Lt(r,o,e),Ct(r),t.stateNode=r):t.memoizedState=LC(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return fg(t),e===null&&pe&&(r=t.stateNode=ER(t.type,t.pendingProps,Un.current),kt=t,Go=!0,n=He,Qn(t.type)?(Wg=n,He=Yo(r.firstChild)):He=n),Bt(e,t,t.pendingProps.children,o),Zf(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&pe&&((n=r=He)&&(r=Az(r,t.type,t.pendingProps,Go),r!==null?(t.stateNode=r,kt=t,He=Yo(r.firstChild),Go=!1,n=!0):n=!1),n||Gn(t)),fg(t),n=t.type,a=t.pendingProps,i=e!==null?e.memoizedProps:null,r=a.children,Yg(n,a)?r=null:i!==null&&Yg(n,i)&&(t.flags|=32),t.memoizedState!==null&&(n=Eb(e,t,q3,null,null,o),Zu._currentValue=n),Zf(e,t),Bt(e,t,r,o),t.child;case 6:return e===null&&pe&&((e=o=He)&&(o=Mz(o,t.pendingProps,Go),o!==null?(t.stateNode=o,kt=t,He=null,e=!0):e=!1),e||Gn(t)),null;case 13:return _P(e,t,o);case 4:return nd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ka(t,null,r,o):Bt(e,t,r,o),t.child;case 11:return cC(e,t,t.type,t.pendingProps,o);case 7:return Bt(e,t,t.pendingProps,o),t.child;case 8:return Bt(e,t,t.pendingProps.children,o),t.child;case 12:return Bt(e,t,t.pendingProps.children,o),t.child;case 10:return r=t.pendingProps,On(t,t.type,r.value),Bt(e,t,r.children,o),t.child;case 9:return n=t.type._context,r=t.pendingProps.children,Ga(t),n=jt(n),r=r(n),t.flags|=1,Bt(e,t,r,o),t.child;case 14:return pC(e,t,t.type,t.pendingProps,o);case 15:return wP(e,t,t.type,t.pendingProps,o);case 19:return DP(e,t,o);case 31:return J3(e,t,o);case 22:return NP(e,t,o,t.pendingProps);case 24:return Ga(t),r=jt(ut),e===null?(n=Tb(),n===null&&(n=Be,a=bb(),n.pooledCache=a,a.refCount++,a!==null&&(n.pooledCacheLanes|=o),n=a),t.memoizedState={parent:r,cache:n},xb(t),On(t,ut,n)):((e.lanes&o)!==0&&(Ag(e,t),Du(t,null,null,o),_u()),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),On(t,ut,r)):(r=a.cache,On(t,ut,r),r!==n.cache&&Rg(t,[ut],o,!0))),Bt(e,t,t.pendingProps.children,o),t.child;case 29:throw t.pendingProps}throw Error(z(156,t.tag))}function kr(e){e.flags|=4}function Xh(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(nR())e.flags|=8192;else throw Fa=fd,vb}else e.flags&=-16777217}function bC(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!OR(t))if(nR())e.flags|=8192;else throw Fa=fd,vb}function Bf(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?aE():536870912,e.lanes|=t,Hl|=t)}function bu(e,t){if(!pe)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 Ie(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 tz(e,t,o){var r=t.pendingProps;switch(gb(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ie(t),null;case 1:return Ie(t),null;case 3:return o=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Kr(ut),Bl(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(fl(t)?kr(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Ih())),Ie(t),null;case 26:var n=t.type,a=t.memoizedState;return e===null?(kr(t),a!==null?(Ie(t),bC(t,a)):(Ie(t),Xh(t,n,null,r,o))):a?a!==e.memoizedState?(kr(t),Ie(t),bC(t,a)):(Ie(t),t.flags&=-16777217):(e=e.memoizedProps,e!==r&&kr(t),Ie(t),Xh(t,n,e,r,o)),null;case 27:if(ad(t),o=Un.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&kr(t);else{if(!r){if(t.stateNode===null)throw Error(z(166));return Ie(t),null}e=Tr.current,fl(t)?K1(t,e):(e=ER(n,r,o),t.stateNode=e,kr(t))}return Ie(t),null;case 5:if(ad(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&kr(t);else{if(!r){if(t.stateNode===null)throw Error(z(166));return Ie(t),null}if(a=Tr.current,fl(t))K1(t,a);else{var i=Rd(Un.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[Ut]=t,a[so]=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(Lt(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&&kr(t)}}return Ie(t),Xh(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,o),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&kr(t);else{if(typeof r!="string"&&t.stateNode===null)throw Error(z(166));if(e=Un.current,fl(t)){if(e=t.stateNode,o=t.memoizedProps,r=null,n=kt,n!==null)switch(n.tag){case 27:case 5:r=n.memoizedProps}e[Ut]=t,e=!!(e.nodeValue===o||r!==null&&r.suppressHydrationWarning===!0||vR(e.nodeValue,o)),e||Gn(t,!0)}else e=Rd(e).createTextNode(r),e[Ut]=t,t.stateNode=e}return Ie(t),null;case 31:if(o=t.memoizedState,e===null||e.memoizedState!==null){if(r=fl(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[Ut]=t}else qa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ie(t),e=!1}else o=Ih(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),e=!0;if(!e)return t.flags&256?(To(t),t):(To(t),null);if((t.flags&128)!==0)throw Error(z(558))}return Ie(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=fl(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[Ut]=t}else qa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ie(t),n=!1}else n=Ih(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(To(t),t):(To(t),null)}return To(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),Bf(t,t.updateQueue),Ie(t),null);case 4:return Bl(),e===null&&$b(t.stateNode.containerInfo),Ie(t),null;case 10:return Kr(t.type),Ie(t),null;case 19:if(Et(rt),r=t.memoizedState,r===null)return Ie(t),null;if(n=(t.flags&128)!==0,a=r.rendering,a===null)if(n)bu(r,!1);else{if(et!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(a=md(e),a!==null){for(t.flags|=128,bu(r,!1),e=a.updateQueue,t.updateQueue=e,Bf(t,e),t.subtreeFlags=0,e=o,o=t.child;o!==null;)BE(o,e),o=o.sibling;return ke(rt,rt.current&1|2),pe&&Hr(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&So()>vd&&(t.flags|=128,n=!0,bu(r,!1),t.lanes=4194304)}else{if(!n)if(e=md(a),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,Bf(t,e),bu(r,!0),r.tail===null&&r.tailMode==="hidden"&&!a.alternate&&!pe)return Ie(t),null}else 2*So()-r.renderingStartTime>vd&&o!==536870912&&(t.flags|=128,n=!0,bu(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=So(),e.sibling=null,o=rt.current,ke(rt,n?o&1|2:o&1),pe&&Hr(t,r.treeForkCount),e):(Ie(t),null);case 22:case 23:return To(t),Sb(),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&&(Ie(t),t.subtreeFlags&6&&(t.flags|=8192)):Ie(t),o=t.updateQueue,o!==null&&Bf(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&&Et(Va),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),Kr(ut),Ie(t),null;case 25:return null;case 30:return null}throw Error(z(156,t.tag))}function oz(e,t){switch(gb(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Kr(ut),Bl(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ad(t),null;case 31:if(t.memoizedState!==null){if(To(t),t.alternate===null)throw Error(z(340));qa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(To(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(z(340));qa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Et(rt),null;case 4:return Bl(),null;case 10:return Kr(t.type),null;case 22:case 23:return To(t),Sb(),e!==null&&Et(Va),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Kr(ut),null;case 25:return null;default:return null}}function BP(e,t){switch(gb(t),t.tag){case 3:Kr(ut),Bl();break;case 26:case 27:case 5:ad(t);break;case 4:Bl();break;case 31:t.memoizedState!==null&&To(t);break;case 13:To(t);break;case 19:Et(rt);break;case 10:Kr(t.type);break;case 22:case 23:To(t),Sb(),e!==null&&Et(Va);break;case 24:Kr(ut)}}function sc(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){Pe(t,t.return,l)}}function Kn(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){Pe(n,s,p)}}}r=r.next}while(r!==a)}}catch(p){Pe(t,t.return,p)}}function UP(e){var t=e.updateQueue;if(t!==null){var o=e.stateNode;try{qE(t,o)}catch(r){Pe(e,e.return,r)}}}function kP(e,t,o){o.props=Xa(e.type,e.memoizedProps),o.state=e.memoizedState;try{o.componentWillUnmount()}catch(r){Pe(e,t,r)}}function Bu(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){Pe(e,t,n)}}function br(e,t){var o=e.ref,r=e.refCleanup;if(o!==null)if(typeof r=="function")try{r()}catch(n){Pe(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){Pe(e,t,n)}else o.current=null}function jP(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){Pe(e,e.return,n)}}function Qh(e,t,o){try{var r=e.stateNode;Sz(r,e.type,o,t),r[so]=t}catch(n){Pe(e,e.return,n)}}function LP(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Qn(e.type)||e.tag===4}function Zh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||LP(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&&Qn(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 Lg(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=$r));else if(r!==4&&(r===27&&Qn(e.type)&&(o=e.stateNode,t=null),e=e.child,e!==null))for(Lg(e,t,o),e=e.sibling;e!==null;)Lg(e,t,o),e=e.sibling}function Td(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&&Qn(e.type)&&(o=e.stateNode),e=e.child,e!==null))for(Td(e,t,o),e=e.sibling;e!==null;)Td(e,t,o),e=e.sibling}function IP(e){var t=e.stateNode,o=e.memoizedProps;try{for(var r=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Lt(t,r,o),t[Ut]=e,t[so]=o}catch(a){Pe(e,e.return,a)}}var Vr=!1,st=!1,Wh=!1,TC=typeof WeakSet=="function"?WeakSet:Set,St=null;function rz(e,t){if(e=e.containerInfo,Gg=wd,e=OE(e),fb(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(Kg={focusedElem:e,selectionRange:o},wd=!1,St=t;St!==null;)if(t=St,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,St=e;else for(;St!==null;){switch(t=St,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=Xa(o.type,n);e=r.getSnapshotBeforeUpdate(T,a),r.__reactInternalSnapshotBeforeUpdate=e}catch(v){Pe(o,o.return,v)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,o=e.nodeType,o===9)Xg(e);else if(o===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Xg(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,St=e;break}St=t.return}}function HP(e,t,o){var r=o.flags;switch(o.tag){case 0:case 11:case 15:Lr(e,o),r&4&&sc(5,o);break;case 1:if(Lr(e,o),r&4)if(e=o.stateNode,t===null)try{e.componentDidMount()}catch(i){Pe(o,o.return,i)}else{var n=Xa(o.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(i){Pe(o,o.return,i)}}r&64&&UP(o),r&512&&Bu(o,o.return);break;case 3:if(Lr(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{qE(e,t)}catch(i){Pe(o,o.return,i)}}break;case 27:t===null&&r&4&&IP(o);case 26:case 5:Lr(e,o),t===null&&r&4&&jP(o),r&512&&Bu(o,o.return);break;case 12:Lr(e,o);break;case 31:Lr(e,o),r&4&&$P(e,o);break;case 13:Lr(e,o),r&4&&qP(e,o),r&64&&(e=o.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(o=fz.bind(null,o),wz(e,o))));break;case 22:if(r=o.memoizedState!==null||Vr,!r){t=t!==null&&t.memoizedState!==null||st,n=Vr;var a=st;Vr=r,(st=t)&&!a?Ir(e,o,(o.subtreeFlags&8772)!==0):Lr(e,o),Vr=n,st=a}break;case 30:break;default:Lr(e,o)}}function VP(e){var t=e.alternate;t!==null&&(e.alternate=null,VP(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ib(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 qe=null,ao=!1;function jr(e,t,o){for(o=o.child;o!==null;)FP(e,t,o),o=o.sibling}function FP(e,t,o){if(Co&&typeof Co.onCommitFiberUnmount=="function")try{Co.onCommitFiberUnmount(tc,o)}catch{}switch(o.tag){case 26:st||br(o,t),jr(e,t,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:st||br(o,t);var r=qe,n=ao;Qn(o.type)&&(qe=o.stateNode,ao=!1),jr(e,t,o),Lu(o.stateNode),qe=r,ao=n;break;case 5:st||br(o,t);case 6:if(r=qe,n=ao,qe=null,jr(e,t,o),qe=r,ao=n,qe!==null)if(ao)try{(qe.nodeType===9?qe.body:qe.nodeName==="HTML"?qe.ownerDocument.body:qe).removeChild(o.stateNode)}catch(a){Pe(o,t,a)}else try{qe.removeChild(o.stateNode)}catch(a){Pe(o,t,a)}break;case 18:qe!==null&&(ao?(e=qe,zC(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,o.stateNode),ql(e)):zC(qe,o.stateNode));break;case 4:r=qe,n=ao,qe=o.stateNode.containerInfo,ao=!0,jr(e,t,o),qe=r,ao=n;break;case 0:case 11:case 14:case 15:Kn(2,o,t),st||Kn(4,o,t),jr(e,t,o);break;case 1:st||(br(o,t),r=o.stateNode,typeof r.componentWillUnmount=="function"&&kP(o,t,r)),jr(e,t,o);break;case 21:jr(e,t,o);break;case 22:st=(r=st)||o.memoizedState!==null,jr(e,t,o),st=r;break;default:jr(e,t,o)}}function $P(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ql(e)}catch(o){Pe(t,t.return,o)}}}function qP(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ql(e)}catch(o){Pe(t,t.return,o)}}function nz(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new TC),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new TC),t;default:throw Error(z(435,e.tag))}}function Uf(e,t){var o=nz(e);t.forEach(function(r){if(!o.has(r)){o.add(r);var n=dz.bind(null,e,r);r.then(n,n)}})}function ro(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(Qn(l.type)){qe=l.stateNode,ao=!1;break e}break;case 5:qe=l.stateNode,ao=!1;break e;case 3:case 4:qe=l.stateNode.containerInfo,ao=!0;break e}l=l.return}if(qe===null)throw Error(z(160));FP(a,i,n),qe=null,ao=!1,a=n.alternate,a!==null&&(a.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)GP(t,e),t=t.sibling}var ar=null;function GP(e,t){var o=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ro(t,e),no(e),r&4&&(Kn(3,e,e.return),sc(3,e),Kn(5,e,e.return));break;case 1:ro(t,e),no(e),r&512&&(st||o===null||br(o,o.return)),r&64&&Vr&&(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=ar;if(ro(t,e),no(e),r&512&&(st||o===null||br(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[nc]||a[Ut]||a.namespaceURI==="http://www.w3.org/2000/svg"||a.hasAttribute("itemprop"))&&(a=n.createElement(r),n.head.insertBefore(a,n.querySelector("head > title"))),Lt(a,r,o),a[Ut]=e,Ct(a),r=a;break e;case"link":var i=HC("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),Lt(a,r,o),n.head.appendChild(a);break;case"meta":if(i=HC("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),Lt(a,r,o),n.head.appendChild(a);break;default:throw Error(z(468,r))}a[Ut]=e,Ct(a),r=a}e.stateNode=r}else VC(n,e.type,e.stateNode);else e.stateNode=IC(n,r,e.memoizedProps);else a!==r?(a===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):a.count--,r===null?VC(n,e.type,e.stateNode):IC(n,r,e.memoizedProps)):r===null&&e.stateNode!==null&&Qh(e,e.memoizedProps,o.memoizedProps)}break;case 27:ro(t,e),no(e),r&512&&(st||o===null||br(o,o.return)),o!==null&&r&4&&Qh(e,e.memoizedProps,o.memoizedProps);break;case 5:if(ro(t,e),no(e),r&512&&(st||o===null||br(o,o.return)),e.flags&32){n=e.stateNode;try{kl(n,"")}catch(T){Pe(e,e.return,T)}}r&4&&e.stateNode!=null&&(n=e.memoizedProps,Qh(e,n,o!==null?o.memoizedProps:n)),r&1024&&(Wh=!0);break;case 6:if(ro(t,e),no(e),r&4){if(e.stateNode===null)throw Error(z(162));r=e.memoizedProps,o=e.stateNode;try{o.nodeValue=r}catch(T){Pe(e,e.return,T)}}break;case 3:if(ed=null,n=ar,ar=Od(t.containerInfo),ro(t,e),ar=n,no(e),r&4&&o!==null&&o.memoizedState.isDehydrated)try{ql(t.containerInfo)}catch(T){Pe(e,e.return,T)}Wh&&(Wh=!1,KP(e));break;case 4:r=ar,ar=Od(e.stateNode.containerInfo),ro(t,e),no(e),ar=r;break;case 12:ro(t,e),no(e);break;case 31:ro(t,e),no(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Uf(e,r)));break;case 13:ro(t,e),no(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(Fd=So()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Uf(e,r)));break;case 22:n=e.memoizedState!==null;var s=o!==null&&o.memoizedState!==null,u=Vr,p=st;if(Vr=u||n,st=p||s,ro(t,e),st=p,Vr=u,no(e),r&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(o===null||s||Vr||st||La(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){Pe(s,s.return,T)}}}else if(t.tag===6){if(o===null){s=t;try{s.stateNode.nodeValue=n?"":s.memoizedProps}catch(T){Pe(s,s.return,T)}}}else if(t.tag===18){if(o===null){s=t;try{var c=s.stateNode;n?BC(c,!0):BC(s.stateNode,!1)}catch(T){Pe(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,Uf(e,o))));break;case 19:ro(t,e),no(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Uf(e,r)));break;case 30:break;case 21:break;default:ro(t,e),no(e)}}function no(e){var t=e.flags;if(t&2){try{for(var o,r=e.return;r!==null;){if(LP(r)){o=r;break}r=r.return}if(o==null)throw Error(z(160));switch(o.tag){case 27:var n=o.stateNode,a=Zh(e);Td(e,a,n);break;case 5:var i=o.stateNode;o.flags&32&&(kl(i,""),o.flags&=-33);var l=Zh(e);Td(e,l,i);break;case 3:case 4:var s=o.stateNode.containerInfo,u=Zh(e);Lg(e,u,s);break;default:throw Error(z(161))}}catch(p){Pe(e,e.return,p)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function KP(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;KP(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Lr(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)HP(e,t.alternate,t),t=t.sibling}function La(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Kn(4,t,t.return),La(t);break;case 1:br(t,t.return);var o=t.stateNode;typeof o.componentWillUnmount=="function"&&kP(t,t.return,o),La(t);break;case 27:Lu(t.stateNode);case 26:case 5:br(t,t.return),La(t);break;case 22:t.memoizedState===null&&La(t);break;case 30:La(t);break;default:La(t)}e=e.sibling}}function Ir(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:Ir(n,a,o),sc(4,a);break;case 1:if(Ir(n,a,o),r=a,n=r.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(u){Pe(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++)$E(s[n],l)}catch(u){Pe(r,r.return,u)}}o&&i&64&&UP(a),Bu(a,a.return);break;case 27:IP(a);case 26:case 5:Ir(n,a,o),o&&r===null&&i&4&&jP(a),Bu(a,a.return);break;case 12:Ir(n,a,o);break;case 31:Ir(n,a,o),o&&i&4&&$P(n,a);break;case 13:Ir(n,a,o),o&&i&4&&qP(n,a);break;case 22:a.memoizedState===null&&Ir(n,a,o),Bu(a,a.return);break;case 30:break;default:Ir(n,a,o)}t=t.sibling}}function jb(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&&ic(o))}function Lb(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ic(e))}function nr(e,t,o,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)YP(e,t,o,r),t=t.sibling}function YP(e,t,o,r){var n=t.flags;switch(t.tag){case 0:case 11:case 15:nr(e,t,o,r),n&2048&&sc(9,t);break;case 1:nr(e,t,o,r);break;case 3:nr(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&&ic(e)));break;case 12:if(n&2048){nr(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){Pe(t,t.return,s)}}else nr(e,t,o,r);break;case 31:nr(e,t,o,r);break;case 13:nr(e,t,o,r);break;case 23:break;case 22:a=t.stateNode,i=t.alternate,t.memoizedState!==null?a._visibility&2?nr(e,t,o,r):Uu(e,t):a._visibility&2?nr(e,t,o,r):(a._visibility|=2,ml(e,t,o,r,(t.subtreeFlags&10256)!==0||!1)),n&2048&&jb(i,t);break;case 24:nr(e,t,o,r),n&2048&&Lb(t.alternate,t);break;default:nr(e,t,o,r)}}function ml(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:ml(a,i,l,s,n),sc(8,i);break;case 23:break;case 22:var p=i.stateNode;i.memoizedState!==null?p._visibility&2?ml(a,i,l,s,n):Uu(a,i):(p._visibility|=2,ml(a,i,l,s,n)),n&&u&2048&&jb(i.alternate,i);break;case 24:ml(a,i,l,s,n),n&&u&2048&&Lb(i.alternate,i);break;default:ml(a,i,l,s,n)}t=t.sibling}}function Uu(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:Uu(o,r),n&2048&&jb(r.alternate,r);break;case 24:Uu(o,r),n&2048&&Lb(r.alternate,r);break;default:Uu(o,r)}t=t.sibling}}var Ru=8192;function dl(e,t,o){if(e.subtreeFlags&Ru)for(e=e.child;e!==null;)XP(e,t,o),e=e.sibling}function XP(e,t,o){switch(e.tag){case 26:dl(e,t,o),e.flags&Ru&&e.memoizedState!==null&&Vz(o,ar,e.memoizedState,e.memoizedProps);break;case 5:dl(e,t,o);break;case 3:case 4:var r=ar;ar=Od(e.stateNode.containerInfo),dl(e,t,o),ar=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Ru,Ru=16777216,dl(e,t,o),Ru=r):dl(e,t,o));break;default:dl(e,t,o)}}function QP(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 Tu(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];St=r,WP(r,e)}QP(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)ZP(e),e=e.sibling}function ZP(e){switch(e.tag){case 0:case 11:case 15:Tu(e),e.flags&2048&&Kn(9,e,e.return);break;case 3:Tu(e);break;case 12:Tu(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Wf(e)):Tu(e);break;default:Tu(e)}}function Wf(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];St=r,WP(r,e)}QP(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Kn(8,t,t.return),Wf(t);break;case 22:o=t.stateNode,o._visibility&2&&(o._visibility&=-3,Wf(t));break;default:Wf(t)}e=e.sibling}}function WP(e,t){for(;St!==null;){var o=St;switch(o.tag){case 0:case 11:case 15:Kn(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:ic(o.memoizedState.cache)}if(r=o.child,r!==null)r.return=o,St=r;else e:for(o=e;St!==null;){r=St;var n=r.sibling,a=r.return;if(VP(r),r===o){St=null;break e}if(n!==null){n.return=a,St=n;break e}St=a}}}var az={getCacheForType:function(e){var t=jt(ut),o=t.data.get(e);return o===void 0&&(o=e(),t.data.set(e,o)),o},cacheSignal:function(){return jt(ut).controller.signal}},iz=typeof WeakMap=="function"?WeakMap:Map,he=0,Be=null,le=null,se=0,Ee=0,bo=null,Dn=!1,Ql=!1,Ib=!1,Jr=0,et=0,Yn=0,$a=0,Hb=0,xo=0,Hl=0,ku=null,io=null,Ig=!1,Fd=0,JP=0,vd=1/0,xd=null,In=null,yt=0,Hn=null,Vl=null,Yr=0,Hg=0,Vg=null,eR=null,ju=0,Fg=null;function Po(){return(he&2)!==0&&se!==0?se&-se:Y.T!==null?Fb():uE()}function tR(){if(xo===0)if((se&536870912)===0||pe){var e=Rf;Rf<<=1,(Rf&3932160)===0&&(Rf=262144),xo=e}else xo=536870912;return e=Oo.current,e!==null&&(e.flags|=32),xo}function lo(e,t,o){(e===Be&&(Ee===2||Ee===9)||e.cancelPendingCommit!==null)&&(Fl(e,0),zn(e,se,xo,!1)),rc(e,o),((he&2)===0||e!==Be)&&(e===Be&&((he&2)===0&&($a|=o),et===4&&zn(e,se,xo,!1)),xr(e))}function oR(e,t,o){if((he&6)!==0)throw Error(z(327));var r=!o&&(t&127)===0&&(t&e.expiredLanes)===0||oc(e,t),n=r?uz(e,t):Jh(e,t,!0),a=r;do{if(n===0){Ql&&!r&&zn(e,t,0,!1);break}else{if(o=e.current.alternate,a&&!lz(o)){n=Jh(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=ku;var s=l.current.memoizedState.isDehydrated;if(s&&(Fl(l,i).flags|=256),i=Jh(l,i,!1),i!==2){if(Ib&&!s){l.errorRecoveryDisabledLanes|=a,$a|=a,n=4;break e}a=io,io=n,a!==null&&(io===null?io=a:io.push.apply(io,a))}n=i}if(a=!1,n!==2)continue}}if(n===1){Fl(e,0),zn(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:zn(r,t,xo,!Dn);break e;case 2:io=null;break;case 3:case 5:break;default:throw Error(z(329))}if((t&62914560)===t&&(n=Fd+300-So(),10<n)){if(zn(r,t,xo,!Dn),_d(r,0,!0)!==0)break e;Yr=t,r.timeoutHandle=SR(vC.bind(null,r,o,io,xd,Ig,t,xo,$a,Hl,Dn,a,"Throttled",-0,0),n);break e}vC(r,o,io,xd,Ig,t,xo,$a,Hl,Dn,a,null,-0,0)}}break}while(!0);xr(e)}function vC(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:$r},XP(t,a,f);var T=(a&62914560)===a?Fd-So():(a&4194048)===a?JP-So():0;if(T=Fz(f,T),T!==null){Yr=a,e.cancelPendingCommit=T(SC.bind(null,e,t,a,o,r,n,i,l,s,p,f,null,d,c)),zn(e,a,i,!u);return}}SC(e,t,a,o,r,n,i,l,s)}function lz(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(!Ro(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 zn(e,t,o,r){t&=~Hb,t&=~$a,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var n=t;0<n;){var a=31-Eo(n),i=1<<a;r[a]=-1,n&=~i}o!==0&&iE(e,o,t)}function $d(){return(he&6)===0?(uc(0,!1),!1):!0}function Vb(){if(le!==null){if(Ee===0)var e=le.return;else e=le,qr=ei=null,Ob(e),_l=null,Gu=0,e=le;for(;e!==null;)BP(e.alternate,e),e=e.return;le=null}}function Fl(e,t){var o=e.timeoutHandle;o!==-1&&(e.timeoutHandle=-1,Pz(o)),o=e.cancelPendingCommit,o!==null&&(e.cancelPendingCommit=null,o()),Yr=0,Vb(),Be=e,le=o=Gr(e.current,null),se=t,Ee=0,bo=null,Dn=!1,Ql=oc(e,t),Ib=!1,Hl=xo=Hb=$a=Yn=et=0,io=ku=null,Ig=!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-Eo(r),a=1<<n;t|=e[n],r&=~a}return Jr=t,Ud(),o}function rR(e,t){J=null,Y.H=Yu,t===Xl||t===jd?(t=W1(),Ee=3):t===vb?(t=W1(),Ee=4):Ee=t===Ub?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,bo=t,le===null&&(et=1,gd(e,qo(t,e.current)))}function nR(){var e=Oo.current;return e===null?!0:(se&4194048)===se?Ko===null:(se&62914560)===se||(se&536870912)!==0?e===Ko:!1}function aR(){var e=Y.H;return Y.H=Yu,e===null?Yu:e}function iR(){var e=Y.A;return Y.A=az,e}function Sd(){et=4,Dn||(se&4194048)!==se&&Oo.current!==null||(Ql=!0),(Yn&134217727)===0&&($a&134217727)===0||Be===null||zn(Be,se,xo,!1)}function Jh(e,t,o){var r=he;he|=2;var n=aR(),a=iR();(Be!==e||se!==t)&&(xd=null,Fl(e,t)),t=!1;var i=et;e:do try{if(Ee!==0&&le!==null){var l=le,s=bo;switch(Ee){case 8:Vb(),i=6;break e;case 3:case 2:case 9:case 6:Oo.current===null&&(t=!0);var u=Ee;if(Ee=0,bo=null,Ol(e,l,s,u),o&&Ql){i=0;break e}break;default:u=Ee,Ee=0,bo=null,Ol(e,l,s,u)}}sz(),i=et;break}catch(p){rR(e,p)}while(!0);return t&&e.shellSuspendCounter++,qr=ei=null,he=r,Y.H=n,Y.A=a,le===null&&(Be=null,se=0,Ud()),i}function sz(){for(;le!==null;)lR(le)}function uz(e,t){var o=he;he|=2;var r=aR(),n=iR();Be!==e||se!==t?(xd=null,vd=So()+500,Fl(e,t)):Ql=oc(e,t);e:do try{if(Ee!==0&&le!==null){t=le;var a=bo;t:switch(Ee){case 1:Ee=0,bo=null,Ol(e,t,a,1);break;case 2:case 9:if(Z1(a)){Ee=0,bo=null,xC(t);break}t=function(){Ee!==2&&Ee!==9||Be!==e||(Ee=7),xr(e)},a.then(t,t);break e;case 3:Ee=7;break e;case 4:Ee=5;break e;case 7:Z1(a)?(Ee=0,bo=null,xC(t)):(Ee=0,bo=null,Ol(e,t,a,7));break;case 5:var i=null;switch(le.tag){case 26:i=le.memoizedState;case 5:case 27:var l=le;if(i?OR(i):l.stateNode.complete){Ee=0,bo=null;var s=l.sibling;if(s!==null)le=s;else{var u=l.return;u!==null?(le=u,qd(u)):le=null}break t}}Ee=0,bo=null,Ol(e,t,a,5);break;case 6:Ee=0,bo=null,Ol(e,t,a,6);break;case 8:Vb(),et=6;break e;default:throw Error(z(462))}}cz();break}catch(p){rR(e,p)}while(!0);return qr=ei=null,Y.H=r,Y.A=n,he=o,le!==null?0:(Be=null,se=0,Ud(),et)}function cz(){for(;le!==null&&!D5();)lR(le)}function lR(e){var t=zP(e.alternate,e,Jr);e.memoizedProps=e.pendingProps,t===null?qd(e):le=t}function xC(e){var t=e,o=t.alternate;switch(t.tag){case 15:case 0:t=mC(o,t,t.pendingProps,t.type,void 0,se);break;case 11:t=mC(o,t,t.pendingProps,t.type.render,t.ref,se);break;case 5:Ob(t);default:BP(o,t),t=le=BE(t,Jr),t=zP(o,t,Jr)}e.memoizedProps=e.pendingProps,t===null?qd(e):le=t}function Ol(e,t,o,r){qr=ei=null,Ob(t),_l=null,Gu=0;var n=t.return;try{if(W3(e,n,t,o,se)){et=1,gd(e,qo(o,e.current)),le=null;return}}catch(a){if(n!==null)throw le=n,a;et=1,gd(e,qo(o,e.current)),le=null;return}t.flags&32768?(pe||r===1?e=!0:Ql||(se&536870912)!==0?e=!1:(Dn=e=!0,(r===2||r===9||r===3||r===6)&&(r=Oo.current,r!==null&&r.tag===13&&(r.flags|=16384))),sR(t,e)):qd(t)}function qd(e){var t=e;do{if((t.flags&32768)!==0){sR(t,Dn);return}e=t.return;var o=tz(t.alternate,t,Jr);if(o!==null){le=o;return}if(t=t.sibling,t!==null){le=t;return}le=t=e}while(t!==null);et===0&&(et=5)}function sR(e,t){do{var o=oz(e.alternate,e);if(o!==null){o.flags&=32767,le=o;return}if(o=e.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!t&&(e=e.sibling,e!==null)){le=e;return}le=e=o}while(e!==null);et=6,le=null}function SC(e,t,o,r,n,a,i,l,s){e.cancelPendingCommit=null;do Gd();while(yt!==0);if((he&6)!==0)throw Error(z(327));if(t!==null){if(t===e.current)throw Error(z(177));if(a=t.lanes|t.childLanes,a|=db,F5(e,o,a,i,l,s),e===Be&&(le=Be=null,se=0),Vl=t,Hn=e,Yr=o,Hg=a,Vg=n,eR=r,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,mz(id,function(){return dR(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||r){r=Y.T,Y.T=null,n=ge.p,ge.p=2,i=he,he|=4;try{rz(e,t,o)}finally{he=i,ge.p=n,Y.T=r}}yt=1,uR(),cR(),pR()}}function uR(){if(yt===1){yt=0;var e=Hn,t=Vl,o=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||o){o=Y.T,Y.T=null;var r=ge.p;ge.p=2;var n=he;he|=4;try{GP(t,e);var a=Kg,i=OE(e.containerInfo),l=a.focusedElem,s=a.selectionRange;if(i!==l&&l&&l.ownerDocument&&RE(l.ownerDocument.documentElement,l)){if(s!==null&&fb(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=$1(l,v),h=$1(l,x);if(m&&h&&(c.rangeCount!==1||c.anchorNode!==m.node||c.anchorOffset!==m.offset||c.focusNode!==h.node||c.focusOffset!==h.offset)){var g=f.createRange();g.setStart(m.node,m.offset),c.removeAllRanges(),v>x?(c.addRange(g),c.extend(h.node,h.offset)):(g.setEnd(h.node,h.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}}wd=!!Gg,Kg=Gg=null}finally{he=n,ge.p=r,Y.T=o}}e.current=t,yt=2}}function cR(){if(yt===2){yt=0;var e=Hn,t=Vl,o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=Y.T,Y.T=null;var r=ge.p;ge.p=2;var n=he;he|=4;try{HP(e,t.alternate,t)}finally{he=n,ge.p=r,Y.T=o}}yt=3}}function pR(){if(yt===4||yt===3){yt=0,z5();var e=Hn,t=Vl,o=Yr,r=eR;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?yt=5:(yt=0,Vl=Hn=null,fR(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(In=null),ab(o),t=t.stateNode,Co&&typeof Co.onCommitFiberRoot=="function")try{Co.onCommitFiberRoot(tc,t,void 0,(t.current.flags&128)===128)}catch{}if(r!==null){t=Y.T,n=ge.p,ge.p=2,Y.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{Y.T=t,ge.p=n}}(Yr&3)!==0&&Gd(),xr(e),n=e.pendingLanes,(o&261930)!==0&&(n&42)!==0?e===Fg?ju++:(ju=0,Fg=e):ju=0,uc(0,!1)}}function fR(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ic(t)))}function Gd(){return uR(),cR(),pR(),dR()}function dR(){if(yt!==5)return!1;var e=Hn,t=Hg;Hg=0;var o=ab(Yr),r=Y.T,n=ge.p;try{ge.p=32>o?32:o,Y.T=null,o=Vg,Vg=null;var a=Hn,i=Yr;if(yt=0,Vl=Hn=null,Yr=0,(he&6)!==0)throw Error(z(331));var l=he;if(he|=4,ZP(a.current),YP(a,a.current,i,o),he=l,uc(0,!1),Co&&typeof Co.onPostCommitFiberRoot=="function")try{Co.onPostCommitFiberRoot(tc,a)}catch{}return!0}finally{ge.p=n,Y.T=r,fR(e,t)}}function CC(e,t,o){t=qo(o,t),t=Ug(e.stateNode,t,2),e=Ln(e,t,2),e!==null&&(rc(e,2),xr(e))}function Pe(e,t,o){if(e.tag===3)CC(e,e,o);else for(;t!==null;){if(t.tag===3){CC(t,e,o);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(In===null||!In.has(r))){e=qo(o,e),o=AP(2),r=Ln(t,o,2),r!==null&&(MP(o,r,t,e),rc(r,2),xr(r));break}}t=t.return}}function eg(e,t,o){var r=e.pingCache;if(r===null){r=e.pingCache=new iz;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)||(Ib=!0,n.add(o),e=pz.bind(null,e,t,o),t.then(e,e))}function pz(e,t,o){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&o,e.warmLanes&=~o,Be===e&&(se&o)===o&&(et===4||et===3&&(se&62914560)===se&&300>So()-Fd?(he&2)===0&&Fl(e,0):Hb|=o,Hl===se&&(Hl=0)),xr(e)}function mR(e,t){t===0&&(t=aE()),e=Ja(e,t),e!==null&&(rc(e,t),xr(e))}function fz(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),mR(e,o)}function dz(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),mR(e,o)}function mz(e,t){return rb(e,t)}var Cd=null,yl=null,$g=!1,Ed=!1,tg=!1,Bn=0;function xr(e){e!==yl&&e.next===null&&(yl===null?Cd=yl=e:yl=yl.next=e),Ed=!0,$g||($g=!0,hz())}function uc(e,t){if(!tg&&Ed){tg=!0;do for(var o=!1,r=Cd;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-Eo(42|e)+1)-1,a&=n&~(i&~l),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(o=!0,EC(r,a))}else a=se,a=_d(r,r===Be?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(a&3)===0||oc(r,a)||(o=!0,EC(r,a));r=r.next}while(o);tg=!1}}function yz(){yR()}function yR(){Ed=$g=!1;var e=0;Bn!==0&&Ez()&&(e=Bn);for(var t=So(),o=null,r=Cd;r!==null;){var n=r.next,a=hR(r,t);a===0?(r.next=null,o===null?Cd=n:o.next=n,n===null&&(yl=o)):(o=r,(e!==0||(a&3)!==0)&&(Ed=!0)),r=n}yt!==0&&yt!==5||uc(e,!1),Bn!==0&&(Bn=0)}function hR(e,t){for(var o=e.suspendedLanes,r=e.pingedLanes,n=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var i=31-Eo(a),l=1<<i,s=n[i];s===-1?((l&o)===0||(l&r)!==0)&&(n[i]=V5(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}if(t=Be,o=se,o=_d(e,e===t?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,o===0||e===t&&(Ee===2||Ee===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&wh(r),e.callbackNode=null,e.callbackPriority=0;if((o&3)===0||oc(e,o)){if(t=o&-o,t===e.callbackPriority)return t;switch(r!==null&&wh(r),ab(o)){case 2:case 8:o=rE;break;case 32:o=id;break;case 268435456:o=nE;break;default:o=id}return r=gR.bind(null,e),o=rb(o,r),e.callbackPriority=t,e.callbackNode=o,t}return r!==null&&r!==null&&wh(r),e.callbackPriority=2,e.callbackNode=null,2}function gR(e,t){if(yt!==0&&yt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var o=e.callbackNode;if(Gd()&&e.callbackNode!==o)return null;var r=se;return r=_d(e,e===Be?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(oR(e,r,t),hR(e,So()),e.callbackNode!=null&&e.callbackNode===o?gR.bind(null,e):null)}function EC(e,t){if(Gd())return null;oR(e,t,!0)}function hz(){Rz(function(){(he&6)!==0?rb(oE,yz):yR()})}function Fb(){if(Bn===0){var e=jl;e===0&&(e=Pf,Pf<<=1,(Pf&261888)===0&&(Pf=256)),Bn=e}return Bn}function PC(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Ff(""+e)}function RC(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 gz(e,t,o,r,n){if(t==="submit"&&o&&o.stateNode===n){var a=PC((n[so]||null).action),i=r.submitter;i&&(t=(t=i[so]||null)?PC(t.formAction):i.getAttribute("formAction"),t!==null&&(a=t,i=null));var l=new Dd("action","action",null,r,n);e.push({event:l,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Bn!==0){var s=i?RC(n,i):new FormData(n);zg(o,{pending:!0,data:s,method:n.method,action:a},null,s)}}else typeof a=="function"&&(l.preventDefault(),s=i?RC(n,i):new FormData(n),zg(o,{pending:!0,data:s,method:n.method,action:a},a,s))},currentTarget:n}]})}}for(kf=0;kf<Sg.length;kf++)jf=Sg[kf],OC=jf.toLowerCase(),AC=jf[0].toUpperCase()+jf.slice(1),ir(OC,"on"+AC);var jf,OC,AC,kf;ir(ME,"onAnimationEnd");ir(wE,"onAnimationIteration");ir(NE,"onAnimationStart");ir("dblclick","onDoubleClick");ir("focusin","onFocus");ir("focusout","onBlur");ir(B3,"onTransitionRun");ir(U3,"onTransitionStart");ir(k3,"onTransitionCancel");ir(_E,"onTransitionEnd");Ul("onMouseEnter",["mouseout","mouseover"]);Ul("onMouseLeave",["mouseout","mouseover"]);Ul("onPointerEnter",["pointerout","pointerover"]);Ul("onPointerLeave",["pointerout","pointerover"]);Qa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Qa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Qa("onBeforeInput",["compositionend","keypress","textInput","paste"]);Qa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Qa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Qa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xu="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(" "),bz=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Xu));function bR(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){sd(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){sd(p)}n.currentTarget=null,a=s}}}}function ie(e,t){var o=t[mg];o===void 0&&(o=t[mg]=new Set);var r=e+"__bubble";o.has(r)||(TR(t,e,2,!1),o.add(r))}function og(e,t,o){var r=0;t&&(r|=4),TR(o,e,r,t)}var Lf="_reactListening"+Math.random().toString(36).slice(2);function $b(e){if(!e[Lf]){e[Lf]=!0,cE.forEach(function(o){o!=="selectionchange"&&(bz.has(o)||og(o,!1,e),og(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Lf]||(t[Lf]=!0,og("selectionchange",!1,t))}}function TR(e,t,o,r){switch(_R(t)){case 2:var n=Gz;break;case 8:n=Kz;break;default:n=Yb}o=n.bind(null,t,o,e),n=void 0,!Tg||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 rg(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=bl(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}bE(function(){var u=a,p=sb(o),f=[];e:{var d=DE.get(e);if(d!==void 0){var c=Dd,T=e;switch(e){case"keypress":if(qf(o)===0)break e;case"keydown":case"keyup":c=d3;break;case"focusin":T="focus",c=Bh;break;case"focusout":T="blur",c=Bh;break;case"beforeblur":case"afterblur":c=Bh;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=B1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=t3;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=h3;break;case ME:case wE:case NE:c=n3;break;case _E:c=b3;break;case"scroll":case"scrollend":c=J5;break;case"wheel":c=v3;break;case"copy":case"cut":case"paste":c=i3;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=k1;break;case"toggle":case"beforetoggle":c=S3}var v=(t&4)!==0,x=!v&&(e==="scroll"||e==="scrollend"),m=v?d!==null?d+"Capture":null:d;v=[];for(var h=u,g;h!==null;){var b=h;if(g=b.stateNode,b=b.tag,b!==5&&b!==26&&b!==27||g===null||m===null||(b=Hu(h,m),b!=null&&v.push(Qu(h,b,g))),x)break;h=h.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!==bg&&(T=o.relatedTarget||o.fromElement)&&(bl(T)||T[Gl]))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?bl(T):null,T!==null&&(x=ec(T),v=T.tag,T!==x||v!==5&&v!==27&&v!==6)&&(T=null)):(c=null,T=u),c!==T)){if(v=B1,b="onMouseLeave",m="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(v=k1,b="onPointerLeave",m="onPointerEnter",h="pointer"),x=c==null?d:Eu(c),g=T==null?d:Eu(T),d=new v(b,h+"leave",c,o,p),d.target=x,d.relatedTarget=g,b=null,bl(p)===u&&(v=new v(m,h+"enter",T,o,p),v.target=g,v.relatedTarget=x,b=v),x=b,c&&T)t:{for(v=Tz,m=c,h=T,g=0,b=m;b;b=v(b))g++;b=0;for(var P=h;P;P=v(P))b++;for(;0<g-b;)m=v(m),g--;for(;0<b-g;)h=v(h),b--;for(;g--;){if(m===h||h!==null&&m===h.alternate){v=m;break t}m=v(m),h=v(h)}v=null}else v=null;c!==null&&MC(f,d,c,v,!1),T!==null&&x!==null&&MC(f,x,T,v,!0)}}e:{if(d=u?Eu(u):window,c=d.nodeName&&d.nodeName.toLowerCase(),c==="select"||c==="input"&&d.type==="file")var C=H1;else if(I1(d))if(EE)C=_3;else{C=w3;var E=M3}else c=d.nodeName,!c||c.toLowerCase()!=="input"||d.type!=="checkbox"&&d.type!=="radio"?u&&lb(u.elementType)&&(C=H1):C=N3;if(C&&(C=C(e,u))){CE(f,C,o,p);break e}E&&E(e,d,u),e==="focusout"&&u&&d.type==="number"&&u.memoizedProps.value!=null&&gg(d,"number",d.value)}switch(E=u?Eu(u):window,e){case"focusin":(I1(E)||E.contentEditable==="true")&&(xl=E,vg=u,Mu=null);break;case"focusout":Mu=vg=xl=null;break;case"mousedown":xg=!0;break;case"contextmenu":case"mouseup":case"dragend":xg=!1,q1(f,o,p);break;case"selectionchange":if(z3)break;case"keydown":case"keyup":q1(f,o,p)}var O;if(pb)e:{switch(e){case"compositionstart":var M="onCompositionStart";break e;case"compositionend":M="onCompositionEnd";break e;case"compositionupdate":M="onCompositionUpdate";break e}M=void 0}else vl?xE(e,o)&&(M="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(M="onCompositionStart");M&&(vE&&o.locale!=="ko"&&(vl||M!=="onCompositionStart"?M==="onCompositionEnd"&&vl&&(O=TE()):(_n=p,ub="value"in _n?_n.value:_n.textContent,vl=!0)),E=Pd(u,M),0<E.length&&(M=new U1(M,e,null,o,p),f.push({event:M,listeners:E}),O?M.data=O:(O=SE(o),O!==null&&(M.data=O)))),(O=E3?P3(e,o):R3(e,o))&&(M=Pd(u,"onBeforeInput"),0<M.length&&(E=new U1("onBeforeInput","beforeinput",null,o,p),f.push({event:E,listeners:M}),E.data=O)),gz(f,e,u,o,p)}bR(f,t)})}function Qu(e,t,o){return{instance:e,listener:t,currentTarget:o}}function Pd(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=Hu(e,o),n!=null&&r.unshift(Qu(e,n,a)),n=Hu(e,t),n!=null&&r.push(Qu(e,n,a))),e.tag===3)return r;e=e.return}return[]}function Tz(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function MC(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=Hu(o,a),u!=null&&i.unshift(Qu(o,u,s))):n||(u=Hu(o,a),u!=null&&i.push(Qu(o,u,s)))),o=o.return}i.length!==0&&e.push({event:t,listeners:i})}var vz=/\r\n?/g,xz=/\u0000|\uFFFD/g;function wC(e){return(typeof e=="string"?e:""+e).replace(vz,`
9
+ `).replace(xz,"")}function vR(e,t){return t=wC(t),wC(e)===t}function Ae(e,t,o,r,n,a){switch(o){case"children":typeof r=="string"?t==="body"||t==="textarea"&&r===""||kl(e,r):(typeof r=="number"||typeof r=="bigint")&&t!=="body"&&kl(e,""+r);break;case"className":Af(e,"class",r);break;case"tabIndex":Af(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":Af(e,o,r);break;case"style":gE(e,r,a);break;case"data":if(t!=="object"){Af(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=Ff(""+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"&&Ae(e,t,"name",n.name,n,null),Ae(e,t,"formEncType",n.formEncType,n,null),Ae(e,t,"formMethod",n.formMethod,n,null),Ae(e,t,"formTarget",n.formTarget,n,null)):(Ae(e,t,"encType",n.encType,n,null),Ae(e,t,"method",n.method,n,null),Ae(e,t,"target",n.target,n,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(o);break}r=Ff(""+r),e.setAttribute(o,r);break;case"onClick":r!=null&&(e.onclick=$r);break;case"onScroll":r!=null&&ie("scroll",e);break;case"onScrollEnd":r!=null&&ie("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=Ff(""+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":ie("beforetoggle",e),ie("toggle",e),Vf(e,"popover",r);break;case"xlinkActuate":Ur(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":Ur(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":Ur(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":Ur(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":Ur(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":Ur(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":Ur(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":Ur(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":Ur(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":Vf(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=Z5.get(o)||o,Vf(e,o,r))}}function qg(e,t,o,r,n,a){switch(o){case"style":gE(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"?kl(e,r):(typeof r=="number"||typeof r=="bigint")&&kl(e,""+r);break;case"onScroll":r!=null&&ie("scroll",e);break;case"onScrollEnd":r!=null&&ie("scrollend",e);break;case"onClick":r!=null&&(e.onclick=$r);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!pE.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[so]||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,""):Vf(e,o,r)}}}function Lt(e,t,o){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ie("error",e),ie("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:Ae(e,t,a,i,o,null)}}n&&Ae(e,t,"srcSet",o.srcSet,o,null),r&&Ae(e,t,"src",o.src,o,null);return;case"input":ie("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:Ae(e,t,r,p,o,null)}}mE(e,a,l,s,u,i,n,!1);return;case"select":ie("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:Ae(e,t,n,l,o,null)}t=a,o=i,e.multiple=!!r,t!=null?Ml(e,!!r,t,!1):o!=null&&Ml(e,!!r,o,!0);return;case"textarea":ie("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:Ae(e,t,i,l,o,null)}hE(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":Ae(e,t,s,r,o,null));return;case"dialog":ie("beforetoggle",e),ie("toggle",e),ie("cancel",e),ie("close",e);break;case"iframe":case"object":ie("load",e);break;case"video":case"audio":for(r=0;r<Xu.length;r++)ie(Xu[r],e);break;case"image":ie("error",e),ie("load",e);break;case"details":ie("toggle",e);break;case"embed":case"source":case"link":ie("error",e),ie("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:Ae(e,t,u,r,o,null)}return;default:if(lb(t)){for(p in o)o.hasOwnProperty(p)&&(r=o[p],r!==void 0&&qg(e,t,p,r,o,void 0));return}}for(l in o)o.hasOwnProperty(l)&&(r=o[l],r!=null&&Ae(e,t,l,r,o,null))}function Sz(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)||Ae(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&&Ae(e,t,d,c,r,f)}}hg(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)||Ae(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&&Ae(e,t,n,a,r,s)}t=l,o=i,r=c,d!=null?Ml(e,!!o,d,!1):!!r!=!!o&&(t!=null?Ml(e,!!o,t,!0):Ml(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:Ae(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&&Ae(e,t,i,n,r,a)}yE(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:Ae(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":Ae(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)&&Ae(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:Ae(e,t,u,d,r,c)}return;default:if(lb(t)){for(var x in o)d=o[x],o.hasOwnProperty(x)&&d!==void 0&&!r.hasOwnProperty(x)&&qg(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||qg(e,t,p,d,r,c);return}}for(var m in o)d=o[m],o.hasOwnProperty(m)&&d!=null&&!r.hasOwnProperty(m)&&Ae(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||Ae(e,t,f,d,r,c)}function NC(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Cz(){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&&NC(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&&NC(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 Gg=null,Kg=null;function Rd(e){return e.nodeType===9?e:e.ownerDocument}function _C(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 xR(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 Yg(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 ng=null;function Ez(){var e=window.event;return e&&e.type==="popstate"?e===ng?!1:(ng=e,!0):(ng=null,!1)}var SR=typeof setTimeout=="function"?setTimeout:void 0,Pz=typeof clearTimeout=="function"?clearTimeout:void 0,DC=typeof Promise=="function"?Promise:void 0,Rz=typeof queueMicrotask=="function"?queueMicrotask:typeof DC<"u"?function(e){return DC.resolve(null).then(e).catch(Oz)}:SR;function Oz(e){setTimeout(function(){throw e})}function Qn(e){return e==="head"}function zC(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),ql(t);return}r--}else if(o==="$"||o==="$?"||o==="$~"||o==="$!"||o==="&")r++;else if(o==="html")Lu(e.ownerDocument.documentElement);else if(o==="head"){o=e.ownerDocument.head,Lu(o);for(var a=o.firstChild;a;){var i=a.nextSibling,l=a.nodeName;a[nc]||l==="SCRIPT"||l==="STYLE"||l==="LINK"&&a.rel.toLowerCase()==="stylesheet"||o.removeChild(a),a=i}}else o==="body"&&Lu(e.ownerDocument.body);o=n}while(o);ql(t)}function BC(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 Xg(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":Xg(o),ib(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}e.removeChild(o)}}function Az(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[nc])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=Yo(e.nextSibling),e===null)break}return null}function Mz(e,t,o){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!o||(e=Yo(e.nextSibling),e===null))return null;return e}function CR(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Yo(e.nextSibling),e===null))return null;return e}function Qg(e){return e.data==="$?"||e.data==="$~"}function Zg(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function wz(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 Yo(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 Wg=null;function UC(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"||o==="/&"){if(t===0)return Yo(e.nextSibling);t--}else o!=="$"&&o!=="$!"&&o!=="$?"&&o!=="$~"&&o!=="&"||t++}e=e.nextSibling}return null}function kC(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 ER(e,t,o){switch(t=Rd(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 Lu(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ib(e)}var Xo=new Map,jC=new Set;function Od(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var en=ge.d;ge.d={f:Nz,r:_z,D:Dz,C:zz,L:Bz,m:Uz,X:jz,S:kz,M:Lz};function Nz(){var e=en.f(),t=$d();return e||t}function _z(e){var t=Kl(e);t!==null&&t.tag===5&&t.type==="form"?gP(t):en.r(e)}var Zl=typeof document>"u"?null:document;function PR(e,t,o){var r=Zl;if(r&&typeof t=="string"&&t){var n=$o(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof o=="string"&&(n+='[crossorigin="'+o+'"]'),jC.has(n)||(jC.add(n),e={rel:e,crossOrigin:o,href:t},r.querySelector(n)===null&&(t=r.createElement("link"),Lt(t,"link",e),Ct(t),r.head.appendChild(t)))}}function Dz(e){en.D(e),PR("dns-prefetch",e,null)}function zz(e,t){en.C(e,t),PR("preconnect",e,t)}function Bz(e,t,o){en.L(e,t,o);var r=Zl;if(r&&e&&t){var n='link[rel="preload"][as="'+$o(t)+'"]';t==="image"&&o&&o.imageSrcSet?(n+='[imagesrcset="'+$o(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(n+='[imagesizes="'+$o(o.imageSizes)+'"]')):n+='[href="'+$o(e)+'"]';var a=n;switch(t){case"style":a=$l(e);break;case"script":a=Wl(e)}Xo.has(a)||(e=Ve({rel:"preload",href:t==="image"&&o&&o.imageSrcSet?void 0:e,as:t},o),Xo.set(a,e),r.querySelector(n)!==null||t==="style"&&r.querySelector(cc(a))||t==="script"&&r.querySelector(pc(a))||(t=r.createElement("link"),Lt(t,"link",e),Ct(t),r.head.appendChild(t)))}}function Uz(e,t){en.m(e,t);var o=Zl;if(o&&e){var r=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+$o(r)+'"][href="'+$o(e)+'"]',a=n;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=Wl(e)}if(!Xo.has(a)&&(e=Ve({rel:"modulepreload",href:e},t),Xo.set(a,e),o.querySelector(n)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(pc(a)))return}r=o.createElement("link"),Lt(r,"link",e),Ct(r),o.head.appendChild(r)}}}function kz(e,t,o){en.S(e,t,o);var r=Zl;if(r&&e){var n=Al(r).hoistableStyles,a=$l(e);t=t||"default";var i=n.get(a);if(!i){var l={loading:0,preload:null};if(i=r.querySelector(cc(a)))l.loading=5;else{e=Ve({rel:"stylesheet",href:e,"data-precedence":t},o),(o=Xo.get(a))&&qb(e,o);var s=i=r.createElement("link");Ct(s),Lt(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,Jf(i,t,r)}i={type:"stylesheet",instance:i,count:1,state:l},n.set(a,i)}}}function jz(e,t){en.X(e,t);var o=Zl;if(o&&e){var r=Al(o).hoistableScripts,n=Wl(e),a=r.get(n);a||(a=o.querySelector(pc(n)),a||(e=Ve({src:e,async:!0},t),(t=Xo.get(n))&&Gb(e,t),a=o.createElement("script"),Ct(a),Lt(a,"link",e),o.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(n,a))}}function Lz(e,t){en.M(e,t);var o=Zl;if(o&&e){var r=Al(o).hoistableScripts,n=Wl(e),a=r.get(n);a||(a=o.querySelector(pc(n)),a||(e=Ve({src:e,async:!0,type:"module"},t),(t=Xo.get(n))&&Gb(e,t),a=o.createElement("script"),Ct(a),Lt(a,"link",e),o.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(n,a))}}function LC(e,t,o,r){var n=(n=Un.current)?Od(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=$l(o.href),o=Al(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=$l(o.href);var a=Al(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(cc(e)))&&!a._p&&(i.instance=a,i.state.loading=5),Xo.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},Xo.set(e,o),a||Iz(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=Wl(o),o=Al(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 $l(e){return'href="'+$o(e)+'"'}function cc(e){return'link[rel="stylesheet"]['+e+"]"}function RR(e){return Ve({},e,{"data-precedence":e.precedence,precedence:null})}function Iz(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}),Lt(t,"link",o),Ct(t),e.head.appendChild(t))}function Wl(e){return'[src="'+$o(e)+'"]'}function pc(e){return"script[async]"+e}function IC(e,t,o){if(t.count++,t.instance===null)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+$o(o.href)+'"]');if(r)return t.instance=r,Ct(r),r;var n=Ve({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement("style"),Ct(r),Lt(r,"style",n),Jf(r,o.precedence,e),t.instance=r;case"stylesheet":n=$l(o.href);var a=e.querySelector(cc(n));if(a)return t.state.loading|=4,t.instance=a,Ct(a),a;r=RR(o),(n=Xo.get(n))&&qb(r,n),a=(e.ownerDocument||e).createElement("link"),Ct(a);var i=a;return i._p=new Promise(function(l,s){i.onload=l,i.onerror=s}),Lt(a,"link",r),t.state.loading|=4,Jf(a,o.precedence,e),t.instance=a;case"script":return a=Wl(o.src),(n=e.querySelector(pc(a)))?(t.instance=n,Ct(n),n):(r=o,(n=Xo.get(a))&&(r=Ve({},o),Gb(r,n)),e=e.ownerDocument||e,n=e.createElement("script"),Ct(n),Lt(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,Jf(r,o.precedence,e));return t.instance}function Jf(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 qb(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Gb(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var ed=null;function HC(e,t,o){if(ed===null){var r=new Map,n=ed=new Map;n.set(o,r)}else n=ed,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[nc]||a[Ut]||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 VC(e,t,o){e=e.ownerDocument||e,e.head.insertBefore(o,t==="title"?e.querySelector("head > title"):null)}function Hz(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 OR(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Vz(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=$l(r.href),a=t.querySelector(cc(n));if(a){t=a._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Ad.bind(e),t.then(e,e)),o.state.loading|=4,o.instance=a,Ct(a);return}a=t.ownerDocument||t,r=RR(r),(n=Xo.get(n))&&qb(r,n),a=a.createElement("link"),Ct(a);var i=a;i._p=new Promise(function(l,s){i.onload=l,i.onerror=s}),Lt(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=Ad.bind(e),t.addEventListener("load",o),t.addEventListener("error",o))}}var ag=0;function Fz(e,t){return e.stylesheets&&e.count===0&&td(e,e.stylesheets),0<e.count||0<e.imgCount?function(o){var r=setTimeout(function(){if(e.stylesheets&&td(e,e.stylesheets),e.unsuspend){var a=e.unsuspend;e.unsuspend=null,a()}},6e4+t);0<e.imgBytes&&ag===0&&(ag=62500*Cz());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&td(e,e.stylesheets),e.unsuspend)){var a=e.unsuspend;e.unsuspend=null,a()}},(e.imgBytes>ag?50:800)+t);return e.unsuspend=o,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(n)}}:null}function Ad(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)td(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Md=null;function td(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Md=new Map,t.forEach($z,e),Md=null,Ad.call(e))}function $z(e,t){if(!(t.state.loading&4)){var o=Md.get(e);if(o)var r=o.get(null);else{o=new Map,Md.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=Ad.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 Zu={$$typeof:Fr,Provider:null,Consumer:null,_currentValue:Ia,_currentValue2:Ia,_threadCount:0};function qz(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=Nh(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Nh(0),this.hiddenUpdates=Nh(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 AR(e,t,o,r,n,a,i,l,s,u,p,f){return e=new qz(e,t,o,i,s,u,p,f,l),t=1,a===!0&&(t|=24),a=vo(3,null,null,t),e.current=a,a.stateNode=e,t=bb(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:o,cache:t},xb(a),e}function MR(e){return e?(e=El,e):El}function wR(e,t,o,r,n,a){n=MR(n),r.context===null?r.context=n:r.pendingContext=n,r=jn(t),r.payload={element:o},a=a===void 0?null:a,a!==null&&(r.callback=a),o=Ln(e,r,t),o!==null&&(lo(o,e,t),Nu(o,e,t))}function FC(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function Kb(e,t){FC(e,t),(e=e.alternate)&&FC(e,t)}function NR(e){if(e.tag===13||e.tag===31){var t=Ja(e,67108864);t!==null&&lo(t,e,67108864),Kb(e,67108864)}}function $C(e){if(e.tag===13||e.tag===31){var t=Po();t=nb(t);var o=Ja(e,t);o!==null&&lo(o,e,t),Kb(e,t)}}var wd=!0;function Gz(e,t,o,r){var n=Y.T;Y.T=null;var a=ge.p;try{ge.p=2,Yb(e,t,o,r)}finally{ge.p=a,Y.T=n}}function Kz(e,t,o,r){var n=Y.T;Y.T=null;var a=ge.p;try{ge.p=8,Yb(e,t,o,r)}finally{ge.p=a,Y.T=n}}function Yb(e,t,o,r){if(wd){var n=Jg(r);if(n===null)rg(e,t,r,Nd,o),qC(e,r);else if(Xz(n,e,t,o,r))r.stopPropagation();else if(qC(e,r),t&4&&-1<Yz.indexOf(e)){for(;n!==null;){var a=Kl(n);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var i=ka(a.pendingLanes);if(i!==0){var l=a;for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var s=1<<31-Eo(i);l.entanglements[1]|=s,i&=~s}xr(a),(he&6)===0&&(vd=So()+500,uc(0,!1))}}break;case 31:case 13:l=Ja(a,2),l!==null&&lo(l,a,2),$d(),Kb(a,2)}if(a=Jg(r),a===null&&rg(e,t,r,Nd,o),a===n)break;n=a}n!==null&&r.stopPropagation()}else rg(e,t,r,null,o)}}function Jg(e){return e=sb(e),Xb(e)}var Nd=null;function Xb(e){if(Nd=null,e=bl(e),e!==null){var t=ec(e);if(t===null)e=null;else{var o=t.tag;if(o===13){if(e=ZC(t),e!==null)return e;e=null}else if(o===31){if(e=WC(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 Nd=e,null}function _R(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(B5()){case oE:return 2;case rE:return 8;case id:case U5:return 32;case nE:return 268435456;default:return 32}default:return 32}}var eb=!1,Vn=null,Fn=null,$n=null,Wu=new Map,Ju=new Map,wn=[],Yz="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 qC(e,t){switch(e){case"focusin":case"focusout":Vn=null;break;case"dragenter":case"dragleave":Fn=null;break;case"mouseover":case"mouseout":$n=null;break;case"pointerover":case"pointerout":Wu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ju.delete(t.pointerId)}}function vu(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=Kl(t),t!==null&&NR(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function Xz(e,t,o,r,n){switch(t){case"focusin":return Vn=vu(Vn,e,t,o,r,n),!0;case"dragenter":return Fn=vu(Fn,e,t,o,r,n),!0;case"mouseover":return $n=vu($n,e,t,o,r,n),!0;case"pointerover":var a=n.pointerId;return Wu.set(a,vu(Wu.get(a)||null,e,t,o,r,n)),!0;case"gotpointercapture":return a=n.pointerId,Ju.set(a,vu(Ju.get(a)||null,e,t,o,r,n)),!0}return!1}function DR(e){var t=bl(e.target);if(t!==null){var o=ec(t);if(o!==null){if(t=o.tag,t===13){if(t=ZC(o),t!==null){e.blockedOn=t,A1(e.priority,function(){$C(o)});return}}else if(t===31){if(t=WC(o),t!==null){e.blockedOn=t,A1(e.priority,function(){$C(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 od(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=Jg(e.nativeEvent);if(o===null){o=e.nativeEvent;var r=new o.constructor(o.type,o);bg=r,o.target.dispatchEvent(r),bg=null}else return t=Kl(o),t!==null&&NR(t),e.blockedOn=o,!1;t.shift()}return!0}function GC(e,t,o){od(e)&&o.delete(t)}function Qz(){eb=!1,Vn!==null&&od(Vn)&&(Vn=null),Fn!==null&&od(Fn)&&(Fn=null),$n!==null&&od($n)&&($n=null),Wu.forEach(GC),Ju.forEach(GC)}function If(e,t){e.blockedOn===t&&(e.blockedOn=null,eb||(eb=!0,ht.unstable_scheduleCallback(ht.unstable_NormalPriority,Qz)))}var Hf=null;function KC(e){Hf!==e&&(Hf=e,ht.unstable_scheduleCallback(ht.unstable_NormalPriority,function(){Hf===e&&(Hf=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(Xb(r||o)===null)continue;break}var a=Kl(o);a!==null&&(e.splice(t,3),t-=3,zg(a,{pending:!0,data:n,method:o.method,action:r},r,n))}}))}function ql(e){function t(s){return If(s,e)}Vn!==null&&If(Vn,e),Fn!==null&&If(Fn,e),$n!==null&&If($n,e),Wu.forEach(t),Ju.forEach(t);for(var o=0;o<wn.length;o++){var r=wn[o];r.blockedOn===e&&(r.blockedOn=null)}for(;0<wn.length&&(o=wn[0],o.blockedOn===null);)DR(o),o.blockedOn===null&&wn.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[so]||null;if(typeof a=="function")i||KC(o);else if(i){var l=null;if(a&&a.hasAttribute("formAction")){if(n=a,i=a[so]||null)l=i.formAction;else if(Xb(n)!==null)continue}else l=i.action;typeof l=="function"?o[r+1]=l:(o.splice(r,3),r-=3),KC(o)}}}function zR(){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 Qb(e){this._internalRoot=e}Kd.prototype.render=Qb.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(z(409));var o=t.current,r=Po();wR(o,r,e,t,null,null)};Kd.prototype.unmount=Qb.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;wR(e.current,2,null,e,null,null),$d(),t[Gl]=null}};function Kd(e){this._internalRoot=e}Kd.prototype.unstable_scheduleHydration=function(e){if(e){var t=uE();e={blockedOn:null,target:e,priority:t};for(var o=0;o<wn.length&&t!==0&&t<wn[o].priority;o++);wn.splice(o,0,e),o===0&&DR(e)}};var YC=XC.version;if(YC!=="19.2.4")throw Error(z(527,YC,"19.2.4"));ge.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=A5(t),e=e!==null?JC(e):null,e=e===null?null:e.stateNode,e};var Zz={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:Y,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(xu=__REACT_DEVTOOLS_GLOBAL_HOOK__,!xu.isDisabled&&xu.supportsFiber))try{tc=xu.inject(Zz),Co=xu}catch{}var xu;Yd.createRoot=function(e,t){if(!QC(e))throw Error(z(299));var o=!1,r="",n=PP,a=RP,i=OP;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=AR(e,1,!1,null,null,o,r,null,n,a,i,zR),e[Gl]=t.current,$b(e),new Qb(t)};Yd.hydrateRoot=function(e,t,o){if(!QC(e))throw Error(z(299));var r=!1,n="",a=PP,i=RP,l=OP,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=AR(e,1,!0,t,o??null,r,n,s,a,i,l,zR),t.context=MR(null),o=t.current,r=Po(),r=nb(r),n=jn(r),n.callback=null,Ln(o,n,r),o=r,t.current.lanes=o,rc(t,o),xr(t),e[Gl]=t.current,$b(e),new Kd(t)};Yd.version="19.2.4"});var jR=$t((Qre,kR)=>{"use strict";function UR(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(UR)}catch(e){console.error(e)}}UR(),kR.exports=BR()});var fO=/^\/[^/]+\/[^/]+\/pull\/(\d+)(?:\/|$)/;function iT(e){let t;try{t=new URL(e)}catch{return}return fO.exec(t.pathname)?.[1]}var dO={black:"#000",white:"#fff"},ii=dO;var mO={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"},Jn=mO;var yO={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"},ea=yO;var hO={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"},ta=hO;var gO={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"},oa=gO;var bO={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"},ra=bO;var TO={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"},li=TO;var vO={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"},lT=vO;function gt(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 At="$$material";function na(){return na=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},na.apply(null,arguments)}var No=S(k()),jc=S(k());var kO=!1;function jO(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 LO(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 vT=(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?!kO: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(LO(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var a=jO(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 Mt="-ms-",os="-moz-",me="-webkit-",Tc="comm",ci="rule",pi="decl";var xT="@import";var vc="@keyframes";var ST="@layer";var CT=Math.abs,aa=String.fromCharCode,ET=Object.assign;function PT(e,t){return tt(e,0)^45?(((t<<2^tt(e,0))<<2^tt(e,1))<<2^tt(e,2))<<2^tt(e,3):0}function xc(e){return e.trim()}function Sm(e,t){return(e=t.exec(e))?e[0]:e}function fe(e,t,o){return e.replace(t,o)}function rs(e,t){return e.indexOf(t)}function tt(e,t){return e.charCodeAt(t)|0}function rn(e,t,o){return e.slice(t,o)}function qt(e){return e.length}function fi(e){return e.length}function di(e,t){return t.push(e),e}function Cm(e,t){return e.map(t).join("")}var Sc=1,mi=1,RT=0,Gt=0,at=0,hi="";function ns(e,t,o,r,n,a,i){return{value:e,root:t,parent:o,type:r,props:n,children:a,line:Sc,column:mi,length:i,return:""}}function gi(e,t){return ET(ns("",null,null,"",null,null,0),e,{length:-e.length},t)}function OT(){return at}function AT(){return at=Gt>0?tt(hi,--Gt):0,mi--,at===10&&(mi=1,Sc--),at}function Kt(){return at=Gt<RT?tt(hi,Gt++):0,mi++,at===10&&(mi=1,Sc++),at}function wo(){return tt(hi,Gt)}function as(){return Gt}function bi(e,t){return rn(hi,e,t)}function yi(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 Cc(e){return Sc=mi=1,RT=qt(hi=e),Gt=0,[]}function Ec(e){return hi="",e}function Ti(e){return xc(bi(Gt-1,Em(e===91?e+2:e===40?e+1:e)))}function MT(e){for(;(at=wo())&&at<33;)Kt();return yi(e)>2||yi(at)>3?"":" "}function wT(e,t){for(;--t&&Kt()&&!(at<48||at>102||at>57&&at<65||at>70&&at<97););return bi(e,as()+(t<6&&wo()==32&&Kt()==32))}function Em(e){for(;Kt();)switch(at){case e:return Gt;case 34:case 39:e!==34&&e!==39&&Em(at);break;case 40:e===41&&Em(e);break;case 92:Kt();break}return Gt}function NT(e,t){for(;Kt()&&e+at!==57;)if(e+at===84&&wo()===47)break;return"/*"+bi(t,Gt-1)+"*"+aa(e===47?e:Kt())}function _T(e){for(;!yi(wo());)Kt();return bi(e,Gt)}function BT(e){return Ec(Pc("",null,null,null,[""],e=Cc(e),0,[0],e))}function Pc(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,h=0,g="",b=n,P=a,C=r,E=g;x;)switch(T=h,h=Kt()){case 40:if(T!=108&&tt(E,f-1)==58){rs(E+=fe(Ti(h),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:E+=Ti(h);break;case 9:case 10:case 13:case 32:E+=MT(T);break;case 92:E+=wT(as()-1,7);continue;case 47:switch(wo()){case 42:case 47:di(IO(NT(Kt(),as()),t,o),s);break;default:E+="/"}break;case 123*v:l[u++]=qt(E)*m;case 125*v:case 59:case 0:switch(h){case 0:case 125:x=0;case 59+p:m==-1&&(E=fe(E,/\f/g,"")),c>0&&qt(E)-f&&di(c>32?zT(E+";",r,o,f-1):zT(fe(E," ","")+";",r,o,f-2),s);break;case 59:E+=";";default:if(di(C=DT(E,t,o,u,p,n,l,g,b=[],P=[],f),a),h===123)if(p===0)Pc(E,t,C,C,b,a,f,l,P);else switch(d===99&&tt(E,3)===110?100:d){case 100:case 108:case 109:case 115:Pc(e,C,C,r&&di(DT(e,C,C,0,0,n,l,g,n,b=[],f),P),n,P,f,l,r?b:P);break;default:Pc(E,C,C,C,[""],P,0,l,P)}}u=p=c=0,v=m=1,g=E="",f=i;break;case 58:f=1+qt(E),c=T;default:if(v<1){if(h==123)--v;else if(h==125&&v++==0&&AT()==125)continue}switch(E+=aa(h),h*v){case 38:m=p>0?1:(E+="\f",-1);break;case 44:l[u++]=(qt(E)-1)*m,m=1;break;case 64:wo()===45&&(E+=Ti(Kt())),d=wo(),p=f=qt(g=E+=_T(as())),h++;break;case 45:T===45&&qt(E)==2&&(v=0)}}return a}function DT(e,t,o,r,n,a,i,l,s,u,p){for(var f=n-1,d=n===0?a:[""],c=fi(d),T=0,v=0,x=0;T<r;++T)for(var m=0,h=rn(e,f+1,f=CT(v=i[T])),g=e;m<c;++m)(g=xc(v>0?d[m]+" "+h:fe(h,/&\f/g,d[m])))&&(s[x++]=g);return ns(e,t,o,n===0?ci:l,s,u,p)}function IO(e,t,o){return ns(e,t,o,Tc,aa(OT()),rn(e,2,-2),0)}function zT(e,t,o,r){return ns(e,t,o,pi,rn(e,0,r),rn(e,r+1,-1),r)}function ia(e,t){for(var o="",r=fi(e),n=0;n<r;n++)o+=t(e[n],n,e,t)||"";return o}function UT(e,t,o,r){switch(e.type){case ST:if(e.children.length)break;case xT:case pi:return e.return=e.return||e.value;case Tc:return"";case vc:return e.return=e.value+"{"+ia(e.children,r)+"}";case ci:e.value=e.props.join(",")}return qt(o=ia(e.children,r))?e.return=e.value+"{"+o+"}":""}function kT(e){var t=fi(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 jT(e){return function(t){t.root||(t=t.return)&&e(t)}}function Rc(e){var t=Object.create(null);return function(o){return t[o]===void 0&&(t[o]=e(o)),t[o]}}var HO=function(t,o,r){for(var n=0,a=0;n=a,a=wo(),n===38&&a===12&&(o[r]=1),!yi(a);)Kt();return bi(t,Gt)},VO=function(t,o){var r=-1,n=44;do switch(yi(n)){case 0:n===38&&wo()===12&&(o[r]=1),t[r]+=HO(Gt-1,o,r);break;case 2:t[r]+=Ti(n);break;case 4:if(n===44){t[++r]=wo()===58?"&\f":"",o[r]=t[r].length;break}default:t[r]+=aa(n)}while(n=Kt());return t},FO=function(t,o){return Ec(VO(Cc(t),o))},LT=new WeakMap,$O=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&&!LT.get(r))&&!n){LT.set(t,!0);for(var a=[],i=FO(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]}}},qO=function(t){if(t.type==="decl"){var o=t.value;o.charCodeAt(0)===108&&o.charCodeAt(2)===98&&(t.return="",t.value="")}};function IT(e,t){switch(PT(e,t)){case 5103:return me+"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 me+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return me+e+os+e+Mt+e+e;case 6828:case 4268:return me+e+Mt+e+e;case 6165:return me+e+Mt+"flex-"+e+e;case 5187:return me+e+fe(e,/(\w+).+(:[^]+)/,me+"box-$1$2"+Mt+"flex-$1$2")+e;case 5443:return me+e+Mt+"flex-item-"+fe(e,/flex-|-self/,"")+e;case 4675:return me+e+Mt+"flex-line-pack"+fe(e,/align-content|flex-|-self/,"")+e;case 5548:return me+e+Mt+fe(e,"shrink","negative")+e;case 5292:return me+e+Mt+fe(e,"basis","preferred-size")+e;case 6060:return me+"box-"+fe(e,"-grow","")+me+e+Mt+fe(e,"grow","positive")+e;case 4554:return me+fe(e,/([^-])(transform)/g,"$1"+me+"$2")+e;case 6187:return fe(fe(fe(e,/(zoom-|grab)/,me+"$1"),/(image-set)/,me+"$1"),e,"")+e;case 5495:case 3959:return fe(e,/(image-set\([^]*)/,me+"$1$`$1");case 4968:return fe(fe(e,/(.+:)(flex-)?(.*)/,me+"box-pack:$3"+Mt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+me+e+e;case 4095:case 3583:case 4068:case 2532:return fe(e,/(.+)-inline(.+)/,me+"$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(qt(e)-1-t>6)switch(tt(e,t+1)){case 109:if(tt(e,t+4)!==45)break;case 102:return fe(e,/(.+:)(.+)-([^]+)/,"$1"+me+"$2-$3$1"+os+(tt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~rs(e,"stretch")?IT(fe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(tt(e,t+1)!==115)break;case 6444:switch(tt(e,qt(e)-3-(~rs(e,"!important")&&10))){case 107:return fe(e,":",":"+me)+e;case 101:return fe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+me+(tt(e,14)===45?"inline-":"")+"box$3$1"+me+"$2$3$1"+Mt+"$2box$3")+e}break;case 5936:switch(tt(e,t+11)){case 114:return me+e+Mt+fe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return me+e+Mt+fe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return me+e+Mt+fe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return me+e+Mt+e+e}return e}var GO=function(t,o,r,n){if(t.length>-1&&!t.return)switch(t.type){case pi:t.return=IT(t.value,t.length);break;case vc:return ia([gi(t,{value:fe(t.value,"@","@"+me)})],n);case ci:if(t.length)return Cm(t.props,function(a){switch(Sm(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ia([gi(t,{props:[fe(a,/:(read-\w+)/,":"+os+"$1")]})],n);case"::placeholder":return ia([gi(t,{props:[fe(a,/:(plac\w+)/,":"+me+"input-$1")]}),gi(t,{props:[fe(a,/:(plac\w+)/,":"+os+"$1")]}),gi(t,{props:[fe(a,/:(plac\w+)/,Mt+"input-$1")]})],n)}return""})}},KO=[GO],Oc=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||KO,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=[$O,qO];{var p,f=[UT,jT(function(v){p.insert(v)})],d=kT(u.concat(n,f)),c=function(x){return ia(BT(x),d)};s=function(x,m,h,g){p=h,c(x?x+"{"+m.styles+"}":m.styles),g&&(T.inserted[m.name]=!0)}}var T={key:o,sheet:new vT({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 iA=!0;function is(e,t,o){var r="";return o.split(" ").forEach(function(n){e[n]!==void 0?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var vi=function(t,o,r){var n=t.key+"-"+o.name;(r===!1||iA===!1)&&t.registered[n]===void 0&&(t.registered[n]=o.styles)},xi=function(t,o,r){vi(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 WT(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 JT={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 lA=!1,sA=/[A-Z]|^ms/g,uA=/_EMO_([^_]+?)_([^]*?)_EMO_/g,rv=function(t){return t.charCodeAt(1)===45},ev=function(t){return t!=null&&typeof t!="boolean"},wm=Rc(function(e){return rv(e)?e:e.replace(sA,"-$&").toLowerCase()}),tv=function(t,o){switch(t){case"animation":case"animationName":if(typeof o=="string")return o.replace(uA,function(r,n,a){return sr={name:n,styles:a,next:sr},n})}return JT[t]!==1&&!rv(t)&&typeof o=="number"&&o!==0?o+"px":o},cA="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ls(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 pA(e,t,o)}case"function":{if(e!==void 0){var s=sr,u=o(e);return sr=s,ls(e,t,u)}break}}var p=o;if(t==null)return p;var f=t[p];return f!==void 0?f:p}function pA(e,t,o){var r="";if(Array.isArray(o))for(var n=0;n<o.length;n++)r+=ls(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]+"}":ev(l)&&(r+=wm(a)+":"+tv(a,l)+";")}else{if(a==="NO_COMPONENT_SELECTOR"&&lA)throw new Error(cA);if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var s=0;s<i.length;s++)ev(i[s])&&(r+=wm(a)+":"+tv(a,i[s])+";");else{var u=ls(e,t,i);switch(a){case"animation":case"animationName":{r+=wm(a)+":"+u+";";break}default:r+=a+"{"+u+"}"}}}}return r}var ov=/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+=ls(o,t,a);else{var i=a;n+=i[0]}for(var l=1;l<e.length;l++)if(n+=ls(o,t,e[l]),r){var s=a;n+=s[l]}ov.lastIndex=0;for(var u="",p;(p=ov.exec(n))!==null;)u+="-"+p[1];var f=WT(n)+u;return{name:f,styles:n,next:sr}}var ss=S(k()),fA=function(t){return t()},nv=ss.useInsertionEffect?ss.useInsertionEffect:!1,us=nv||fA,Nm=nv||ss.useLayoutEffect;var av=!1,iv=No.createContext(typeof HTMLElement<"u"?Oc({key:"css"}):null),Dm=iv.Provider;var Si=function(t){return(0,jc.forwardRef)(function(o,r){var n=(0,jc.useContext)(iv);return t(o,n,r)})},Qo=No.createContext({});var Lc={}.hasOwnProperty,_m="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",lv=function(t,o){var r={};for(var n in o)Lc.call(o,n)&&(r[n]=o[n]);return r[_m]=t,r},dA=function(t){var o=t.cache,r=t.serialized,n=t.isStringTag;return vi(o,r,n),us(function(){return xi(o,r,n)}),null},mA=Si(function(e,t,o){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var n=e[_m],a=[r],i="";typeof e.className=="string"?i=is(t.registered,a,e.className):e.className!=null&&(i=e.className+" ");var l=Er(a,void 0,No.useContext(Qo));i+=t.key+"-"+l.name;var s={};for(var u in e)Lc.call(e,u)&&u!=="css"&&u!==_m&&!av&&(s[u]=e[u]);return s.className=i,o&&(s.ref=o),No.createElement(No.Fragment,null,No.createElement(dA,{cache:t,serialized:l,isStringTag:typeof n=="string"}),No.createElement(n,s))}),sv=mA;var nn=S(k());var o6=S(ZT()),uv=function(t,o){var r=arguments;if(o==null||!Lc.call(o,"css"))return nn.createElement.apply(void 0,r);var n=r.length,a=new Array(n);a[0]=sv,a[1]=lv(t,o);for(var i=2;i<n;i++)a[i]=r[i];return nn.createElement.apply(null,a)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(uv||(uv={}));var cv=Si(function(e,t){var o=e.styles,r=Er([o],void 0,nn.useContext(Qo)),n=nn.useRef();return Nm(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]),Nm(function(){var a=n.current,i=a[0],l=a[1];if(l){a[1]=!1;return}if(r.next!==void 0&&xi(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 la(){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=la.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 an=S(k());var yA=/^((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)-.*))$/,pv=Rc(function(e){return yA.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});var hA=!1,gA=pv,bA=function(t){return t!=="theme"},fv=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?gA:bA},dv=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},TA=function(t){var o=t.cache,r=t.serialized,n=t.isStringTag;return vi(o,r,n),us(function(){return xi(o,r,n)}),null},mv=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=dv(t,o,r),s=l||fv(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=Si(function(x,m,h){var g=u&&x.as||n,b="",P=[],C=x;if(x.theme==null){C={};for(var E in x)C[E]=x[E];C.theme=an.useContext(Qo)}typeof x.className=="string"?b=is(m.registered,P,x.className):x.className!=null&&(b=x.className+" ");var O=Er(f.concat(P),m.registered,C);b+=m.key+"-"+O.name,i!==void 0&&(b+=" "+i);var M=u&&l===void 0?fv(g):s,N={};for(var A in x)u&&A==="as"||M(A)&&(N[A]=x[A]);return N.className=b,h&&(N.ref=h),an.createElement(an.Fragment,null,an.createElement(TA,{cache:m,serialized:O,isStringTag:typeof g=="string"}),an.createElement(g,N))});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&&hA?"NO_COMPONENT_SELECTOR":"."+i}}),v.withComponent=function(x,m){var h=e(x,na({},o,m,{shouldForwardProp:dv(v,m,!0)}));return h.apply(void 0,f)},v}};var T6=S(k());var vA=["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"],Ic=mv.bind(null);vA.forEach(function(e){Ic[e]=Ic(e)});var bv=S(U(),1);function CA(e){return e==null||Object.keys(e).length===0}function sa(e){let{styles:t,defaultTheme:o={}}=e;return(0,bv.jsx)(cv,{styles:typeof t=="function"?n=>t(CA(n)?o:n):t})}function cs(e,t){return Ic(e,t)}function vv(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Tv=[];function Zo(e){return Tv[0]=e,Er(Tv)}var Um=S(k(),1),km=S(Cv(),1);function Wo(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 Ev(e){if(Um.isValidElement(e)||(0,km.isValidElementType)(e)||!Wo(e))return e;let t={};return Object.keys(e).forEach(o=>{t[o]=Ev(e[o])}),t}function Ue(e,t,o={clone:!0}){let r=o.clone?{...e}:e;return Wo(e)&&Wo(t)&&Object.keys(t).forEach(n=>{Um.isValidElement(t[n])||(0,km.isValidElementType)(t[n])?r[n]=t[n]:Wo(t[n])&&Object.prototype.hasOwnProperty.call(e,n)&&Wo(e[n])?r[n]=Ue(e[n],t[n],o):o.clone?r[n]=Wo(t[n])?Ev(t[n]):t[n]:r[n]=t[n]}),r}var RA=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 ps(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:r=5,...n}=e,a=RA(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 Pv=/min-width:\s*([0-9.]+)/;function Wc(e,t){if(!e.containerQueries||!OA(t))return t;let o=[];for(let n in t)n.startsWith("@container")&&o.push(n);o.sort((n,a)=>+(n.match(Pv)?.[1]||0)-+(a.match(Pv)?.[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 OA(e){for(let t in e)if(t.startsWith("@container"))return!0;return!1}function Jc(e,t){return t==="@"||t.startsWith("@")&&(e.some(o=>t.startsWith(`@${o}`))||!!t.match(/^@\d/))}function jm(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 ep(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 AA={borderRadius:4},Rv=AA;function Ci(e){if(e==null)return!0;for(let t in e)return!1;return!0}function cr(e,t){let o=Array.isArray(t),r=Array.isArray(e);return DA(t)?t:zA(e)?Ei(t):o&&r?NA(e,t):o!==r?Ei(t):BA(e,t)}function MA(e){let t=0,o=e.length,r=new Array(o);for(t=0;t<o;t+=1)r[t]=Ei(e[t]);return r}function wA(e){let t={};for(let o in e)t[o]=Ei(e[o]);return t}function NA(e,t){let o=e.length;for(let r=0;r<t.length;r+=1)e[o+r]=Ei(t[r]);return e}function _A(e){return typeof e=="object"&&e!==null&&!(e instanceof RegExp)&&!(e instanceof Date)}function DA(e){return typeof e!="object"||e===null}function zA(e){return typeof e!="object"||e===null||e instanceof RegExp||e instanceof Date}function Ei(e){return _A(e)?Array.isArray(e)?MA(e):wA(e):e}function BA(e,t){for(let o in t)o in e?e[o]=cr(e[o],t[o]):e[o]=Ei(t[o]);return e}var UA={},ds={xs:0,sm:600,md:900,lg:1200,xl:1536},fs=ps({values:ds}),kA={containerQueries:e=>({up:t=>{let o=typeof t=="number"?t:ds[t]||t;return typeof o=="number"&&(o=`${o}px`),e?`@container ${e} (min-width:${o})`:`@container (min-width:${o})`}})};function pr(e,t,o){let r={};return Pi(r,e.theme,t,(n,a,i)=>{let l=o(a,i);n?r[n]=l:cr(r,l)})}function Pi(e,t,o,r){if(t??(t=UA),Array.isArray(o)){let n=t.breakpoints??fs;for(let a=0;a<o.length;a+=1)Lm(e,n.up(n.keys[a]),o[a],void 0,r);return e}if(typeof o=="object"){let n=t.breakpoints??fs,a=n.values??ds;for(let i in o)if(Jc(n.keys,i)){let l=jm(t.containerQueries?t:kA,i);l&&Lm(e,l,o[i],i,r)}else if(i in a){let l=n.up(i);Lm(e,l,o[i],i,r)}else{let l=i;e[l]=o[l]}return e}return r(void 0,o),e}function Lm(e,t,o,r,n){e[t]??(e[t]={}),n(t,o,r)}function Ov(e=fs){let{internal_mediaKeys:t}=e,o={};for(let r=0;r<t.length;r+=1)o[t[r]]={};return o}function Im(e,t){let o=e.internal_mediaKeys;for(let r=0;r<o.length;r+=1){let n=o[r];Ci(t[n])&&delete t[n]}return t}function Av(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(Jc(e.keys,o[r]))return!0}return!1}function Ri(e){if(typeof e!="string")throw new Error(gt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Hm(e,t,o,r){let n;return typeof e=="function"?n=e(o):Array.isArray(e)?n=e[o]||o:typeof o=="string"?n=Oi(e,o,!0,r)||o:n=o,t&&(n=t(n,o,e)),n}function Oi(e,t,o=!0,r=void 0){if(!e||!t)return null;let n=t.split(".");if(e.vars&&o){let a=Mv(e.vars,n,r);if(a!=null)return a}return Mv(e,n,r)}function Mv(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"?"":Ri(i)}`;return r?.[l]}return n}function _e(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=Oi(s,r)||{};return pr(i,l,f=>{let d=Hm(u,n,f,t);return o===!1?d:{[o]:d}})};return a.propTypes={},a.filterProps=[t],a}var jA={internal_cache:{}},tp={m:"margin",p:"padding"},wv={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Nv={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ms={};for(let e in tp)ms[e]=[tp[e]];for(let e in tp)for(let t in wv){let o=tp[e],r=wv[t],n=Array.isArray(r)?r.map(a=>o+a):[o+r];ms[e+t]=n}for(let e in Nv)ms[e]=ms[Nv[e]];var Vm=new Set(["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"]),Fm=new Set(["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"]),Dv=new Set([...Vm,...Fm]);function ua(e,t,o,r){let n=Oi(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 ys(e){return ua(e,"spacing",8,"spacing")}function ca(e,t){return typeof t=="string"||t==null?t:e(t)}var _v=[""];function $m(e,t){let o=e.theme??jA,r=o?.internal_cache?.unarySpacing??ys(o),n={};for(let a in e){if(!t.has(a))continue;let i=ms[a]??(_v[0]=a,_v),l=e[a];Pi(n,e.theme,l,(s,u)=>{let p=s?n[s]:n;for(let f=0;f<i.length;f+=1)p[i[f]]=ca(r,u)})}return n}function Xe(e){return $m(e,Vm)}Xe.propTypes={};Xe.filterProps=Vm;function Qe(e){return $m(e,Fm)}Qe.propTypes={};Qe.filterProps=Fm;function zv(e){return $m(e,Dv)}zv.propTypes={};zv.filterProps=Dv;function Ai(e=8,t=ys({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 LA(...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]&&cr(n,t[a](r));return n};return o.propTypes={},o.filterProps=e.reduce((r,n)=>r.concat(n.filterProps),[]),o}var Pr=LA;function mo(e){return typeof e!="number"?e:`${e}px solid`}function Do(e,t){return _e({prop:e,themeKey:"borders",transform:t})}var IA=Do("border",mo),HA=Do("borderTop",mo),VA=Do("borderRight",mo),FA=Do("borderBottom",mo),$A=Do("borderLeft",mo),qA=Do("borderColor"),GA=Do("borderTopColor"),KA=Do("borderRightColor"),YA=Do("borderBottomColor"),XA=Do("borderLeftColor"),QA=Do("outline",mo),ZA=Do("outlineColor"),hs=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=ua(e.theme,"shape.borderRadius",4,"borderRadius"),o=r=>({borderRadius:ca(t,r)});return pr(e,e.borderRadius,o)}return null};hs.propTypes={};hs.filterProps=["borderRadius"];var PU=Pr(IA,HA,VA,FA,$A,qA,GA,KA,YA,XA,hs,QA,ZA);var gs=e=>{if(e.gap!==void 0&&e.gap!==null){let t=ua(e.theme,"spacing",8,"gap"),o=r=>({gap:ca(t,r)});return pr(e,e.gap,o)}return null};gs.propTypes={};gs.filterProps=["gap"];var bs=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=ua(e.theme,"spacing",8,"columnGap"),o=r=>({columnGap:ca(t,r)});return pr(e,e.columnGap,o)}return null};bs.propTypes={};bs.filterProps=["columnGap"];var Ts=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=ua(e.theme,"spacing",8,"rowGap"),o=r=>({rowGap:ca(t,r)});return pr(e,e.rowGap,o)}return null};Ts.propTypes={};Ts.filterProps=["rowGap"];var WA=_e({prop:"gridColumn"}),JA=_e({prop:"gridRow"}),eM=_e({prop:"gridAutoFlow"}),tM=_e({prop:"gridAutoColumns"}),oM=_e({prop:"gridAutoRows"}),rM=_e({prop:"gridTemplateColumns"}),nM=_e({prop:"gridTemplateRows"}),aM=_e({prop:"gridTemplateAreas"}),iM=_e({prop:"gridArea"}),NU=Pr(gs,bs,Ts,WA,JA,eM,tM,oM,rM,nM,aM,iM);function pa(e,t){return t==="grey"?t:e}var lM=_e({prop:"color",themeKey:"palette",transform:pa}),sM=_e({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:pa}),uM=_e({prop:"backgroundColor",themeKey:"palette",transform:pa}),BU=Pr(lM,sM,uM);function Jt(e){return e<=1&&e!==0?`${e*100}%`:e}var cM=_e({prop:"width",transform:Jt}),op=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){let t=o=>{let r=e.theme?.breakpoints?.values?.[o]||ds[o];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Jt(o)}};return pr(e,e.maxWidth,t)}return null};op.filterProps=["maxWidth"];var pM=_e({prop:"minWidth",transform:Jt}),fM=_e({prop:"height",transform:Jt}),dM=_e({prop:"maxHeight",transform:Jt}),mM=_e({prop:"minHeight",transform:Jt}),IU=_e({prop:"size",cssProperty:"width",transform:Jt}),HU=_e({prop:"size",cssProperty:"height",transform:Jt}),yM=_e({prop:"boxSizing"}),VU=Pr(cM,op,pM,fM,dM,mM,yM);var hM={border:{themeKey:"borders",transform:mo},borderTop:{themeKey:"borders",transform:mo},borderRight:{themeKey:"borders",transform:mo},borderBottom:{themeKey:"borders",transform:mo},borderLeft:{themeKey:"borders",transform:mo},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:mo},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:hs},color:{themeKey:"palette",transform:pa},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:pa},backgroundColor:{themeKey:"palette",transform:pa},p:{style:Qe},pt:{style:Qe},pr:{style:Qe},pb:{style:Qe},pl:{style:Qe},px:{style:Qe},py:{style:Qe},padding:{style:Qe},paddingTop:{style:Qe},paddingRight:{style:Qe},paddingBottom:{style:Qe},paddingLeft:{style:Qe},paddingX:{style:Qe},paddingY:{style:Qe},paddingInline:{style:Qe},paddingInlineStart:{style:Qe},paddingInlineEnd:{style:Qe},paddingBlock:{style:Qe},paddingBlockStart:{style:Qe},paddingBlockEnd:{style:Qe},m:{style:Xe},mt:{style:Xe},mr:{style:Xe},mb:{style:Xe},ml:{style:Xe},mx:{style:Xe},my:{style:Xe},margin:{style:Xe},marginTop:{style:Xe},marginRight:{style:Xe},marginBottom:{style:Xe},marginLeft:{style:Xe},marginX:{style:Xe},marginY:{style:Xe},marginInline:{style:Xe},marginInlineStart:{style:Xe},marginInlineEnd:{style:Xe},marginBlock:{style:Xe},marginBlockStart:{style:Xe},marginBlockEnd:{style:Xe},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:gs},rowGap:{style:Ts},columnGap:{style:bs},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Jt},maxWidth:{style:op},minWidth:{transform:Jt},height:{transform:Jt},maxHeight:{transform:Jt},minHeight:{transform:Jt},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"}},Rr=hM;var gM={};function bM(){function e(t){if(!t.sx)return null;let{sx:o,theme:r=gM,nested:n}=t,a=r.unstable_sxConfig??Rr,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??fs,f=Ov(p);for(let d in u){let c=TM(u[d],r);if(c!=null){if(typeof c!="object"){Bv(f,d,c,r,a);continue}if(a[d]){Bv(f,d,c,r,a);continue}Av(p,c)?Pi(f,t.theme,c,(T,v)=>{f[T][d]=v}):(i.sx=c,f[d]=e(i))}}return!n&&r.modularCssLayers?{"@layer sx":Wc(r,Im(p,f))}:Wc(r,Im(p,f))}return Array.isArray(o)?o.map(l):l(o)}return e.filterProps=["sx"],e}var eo=bM();function Bv(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){cr(e,l({[t]:o,theme:r}));return}let{cssProperty:s=t,transform:u}=a,p=Oi(r,i);Pi(e,r,o,(f,d)=>{let c=Hm(p,u,d,t);s===!1?f?e[f]=c:cr(e,c):f?e[f][s]=c:e[s]=c})}function TM(e,t){return typeof e=="function"?e(t):e}function qm(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 vM(e={},...t){let{breakpoints:o={},palette:r={},spacing:n,shape:a={},...i}=e,l=ps(o),s=Ai(n),u=Ue({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:s,shape:{...Rv,...a}},i);return u=ep(u),u.applyStyles=qm,u=t.reduce((p,f)=>Ue(p,f),u),u.unstable_sxConfig={...Rr,...i?.unstable_sxConfig},u.unstable_sx=function(f){return eo({sx:f,theme:this})},u.internal_cache={},u}var fa=vM;var Uv=S(k(),1);function xM(e){return Object.keys(e).length===0}function SM(e=null){let t=Uv.useContext(Qo);return!t||xM(t)?e:t}var da=SM;var CM=fa();function EM(e=CM){return da(e)}var ln=EM;var kv=S(U(),1);function Gm(e){let t=Zo(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function PM({styles:e,themeId:t,defaultTheme:o={}}){let r=ln(o),n=t&&r[t]||r,a=typeof e=="function"?e(n):e;return n.modularCssLayers&&(Array.isArray(a)?a=a.map(i=>Gm(typeof i=="function"?i(n):i)):a=Gm(a)),(0,kv.jsx)(sa,{styles:a})}var Mi=PM;var jv=e=>e,RM=()=>{let e=jv;return{configure(t){e=t},generate(t){return e(t)},reset(){e=jv}}},OM=RM(),wi=OM;var Iv=S(k(),1);function Lv(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=Lv(e[t]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function AM(){for(var e,t,o=0,r="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Lv(e))&&(r&&(r+=" "),r+=t);return r}var I=AM;var Hv=S(U(),1);function vs(e={}){let{themeId:t,defaultTheme:o,defaultClassName:r="MuiBox-root",generateClassName:n}=e,a=cs("div",{shouldForwardProp:l=>l!=="theme"&&l!=="sx"&&l!=="as"})(eo);return Iv.forwardRef(function(s,u){let p=ln(o),{className:f,component:d="div",...c}=s;return(0,Hv.jsx)(a,{as:d,ref:u,className:I(f,n?n(r):r),theme:t&&p[t]||p,...c})})}var MM={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 V(e,t,o="Mui"){let r=MM[t];return r?`${o}-${r}`:`${wi.generate(e)}-${t}`}function H(e,t,o="Mui"){let r={};return t.forEach(n=>{r[n]=V(e,n,o)}),r}function xs(e){let{variants:t,...o}=e,r={variants:t,style:Zo(o),isProcessed:!0};return r.style===o||t&&t.forEach(n=>{typeof n.style!="function"&&(n.style=Zo(n.style))}),r}var wM=fa();function Km(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function ma(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function NM(e){return e?(t,o)=>o[e]:null}function _M(e,t,o){e.theme=Ci(e.theme)?o:e.theme[t]||e.theme}function rp(e,t,o){let r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(n=>rp(e,n,o));if(Array.isArray(r?.variants)){let n;if(r.isProcessed)n=o?ma(r.style,o):r.style;else{let{variants:a,...i}=r;n=o?ma(Zo(i),o):i}return Vv(e,r.variants,[n],o)}return r?.isProcessed?o?ma(Zo(r.style),o):r.style:o?ma(Zo(r),o):r}function Vv(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?ma(Zo(i.style(n)),r):i.style(n))):o.push(r?ma(Zo(i.style),r):i.style)}return o}function np(e={}){let{themeId:t,defaultTheme:o=wM,rootShouldForwardProp:r=Km,slotShouldForwardProp:n=Km}=e;function a(l){_M(l,t,o)}return(l,s={})=>{vv(l,C=>C.filter(E=>E!==eo));let{name:u,slot:p,skipVariantsResolver:f,skipSx:d,overridesResolver:c=NM(BM(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,h=Km;p==="Root"||p==="root"?h=r:p?h=n:zM(l)&&(h=void 0);let g=cs(l,{shouldForwardProp:h,label:DM(u,p),...T}),b=C=>{if(C.__emotion_real===C)return C;if(typeof C=="function")return function(O){return rp(O,C,O.theme.modularCssLayers?v:void 0)};if(Wo(C)){let E=xs(C);return function(M){return E.variants?rp(M,E,M.theme.modularCssLayers?v:void 0):M.theme.modularCssLayers?ma(E.style,v):E.style}}return C},P=(...C)=>{let E=[],O=C.map(b),M=[];if(E.push(a),u&&c&&M.push(function(_){let w=_.theme.components?.[u]?.styleOverrides;if(!w)return null;let B={};for(let L in w)B[L]=rp(_,w[L],_.theme.modularCssLayers?"theme":void 0);return c(_,B)}),u&&!x&&M.push(function(_){let w=_.theme?.components?.[u]?.variants;return w?Vv(_,w,[],_.theme.modularCssLayers?"theme":void 0):null}),m||M.push(eo),Array.isArray(O[0])){let y=O.shift(),_=new Array(E.length).fill(""),R=new Array(M.length).fill(""),w;w=[..._,...y,...R],w.raw=[..._,...y.raw,...R],E.unshift(w)}let N=[...E,...O,...M],A=g(...N);return l.muiName&&(A.muiName=l.muiName),A};return g.withConfig&&(P.withConfig=g.withConfig),P}}function DM(e,t){return void 0}function zM(e){return typeof e=="string"&&e.charCodeAt(0)>96}function BM(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function sn(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]=sn(i[u],l[u],o)}}}else a==="className"&&o&&t.className?r.className=I(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 ap=S(k(),1),UM=typeof window<"u"?ap.useLayoutEffect:ap.useEffect,Tt=UM;function kM(e,t=Number.MIN_SAFE_INTEGER,o=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,o))}var Ym=kM;function Qm(e,t=0,o=1){return Ym(e,t,o)}function jM(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 un(e){if(e.type)return e;if(e.charAt(0)==="#")return un(jM(e));let t=e.indexOf("("),o=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(o))throw new Error(gt(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(gt(10,n))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:o,values:r,colorSpace:n}}var LM=e=>{let t=un(e);return t.values.slice(0,3).map((o,r)=>t.type.includes("hsl")&&r!==0?`${o}%`:o).join(" ")},Ni=(e,t)=>{try{return LM(e)}catch{return e}};function ip(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 Zm(e){e=un(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])),ip({type:l,values:s})}function Xm(e){e=un(e);let t=e.type==="hsl"||e.type==="hsla"?un(Zm(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 Fv(e,t){let o=Xm(e),r=Xm(t);return(Math.max(o,r)+.05)/(Math.min(o,r)+.05)}function _i(e,t){return e=un(e),t=Qm(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ip(e)}function cn(e,t,o){try{return _i(e,t)}catch{return e}}function Di(e,t){if(e=un(e),t=Qm(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 ip(e)}function xe(e,t,o){try{return Di(e,t)}catch{return e}}function zi(e,t){if(e=un(e),t=Qm(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 ip(e)}function Se(e,t,o){try{return zi(e,t)}catch{return e}}function IM(e,t=.15){return Xm(e)>.5?Di(e,t):zi(e,t)}function Ss(e,t,o){try{return IM(e,t)}catch{return e}}var a0=S(k(),1);var Gv=S(k(),1);var $v=S(k(),1),HM=$v.createContext(null),lp=HM;var Wm=S(k(),1);function Or(){return Wm.useContext(lp)}var VM=typeof Symbol=="function"&&Symbol.for,qv=VM?Symbol.for("mui.nested"):"__THEME_NESTED__";var Kv=S(U(),1);function FM(e,t){return typeof t=="function"?t(e):{...e,...t}}function $M(e){let{children:t,theme:o}=e,r=Or(),n=Gv.useMemo(()=>{let a=r===null?{...o}:FM(r,o);return a!=null&&(a[qv]=r!==null),a},[o,r]);return(0,Kv.jsx)(lp.Provider,{value:n,children:t})}var sp=$M;var up=S(k(),1);var Yv=S(U(),1),Xv=up.createContext();function qM({value:e,...t}){return(0,Yv.jsx)(Xv.Provider,{value:e??!0,...t})}var Qv=()=>up.useContext(Xv)??!1,Zv=qM;var cp=S(k(),1);var Wv=S(U(),1),Jv=cp.createContext(void 0);function GM({value:e,children:t}){return(0,Wv.jsx)(Jv.Provider,{value:e,children:t})}function KM(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?sn(n.defaultProps,r,t.components.mergeClassNameAndStyle):!n.styleOverrides&&!n.variants?sn(n,r,t.components.mergeClassNameAndStyle):r}function Jm({props:e,name:t}){let o=cp.useContext(Jv);return KM({props:e,name:t,theme:{components:o}})}var pp=GM;var Cs=S(k(),1),e0=0;function YM(e){let[t,o]=Cs.useState(e),r=e||t;return Cs.useEffect(()=>{t==null&&(e0+=1,o(`mui-${e0}`))},[t]),r}var XM={...Cs},t0=XM.useId;function Jo(e){if(t0!==void 0){let t=t0();return e??t}return YM(e)}var o0=S(U(),1);function ey(e){let t=da(),o=Jo()||"",{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};`,Tt(()=>{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,o0.jsx)(Mi,{styles:n}):null}var Bi=S(U(),1),r0={};function n0(e,t,o,r=!1){return a0.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 QM(e){let{children:t,theme:o,themeId:r}=e,n=da(r0),a=Or()||r0,i=n0(r,n,o),l=n0(r,a,o,!0),s=(r?i[r]:i).direction==="rtl",u=ey(i);return(0,Bi.jsx)(sp,{theme:l,children:(0,Bi.jsx)(Qo.Provider,{value:i,children:(0,Bi.jsx)(Zv,{value:s,children:(0,Bi.jsxs)(pp,{value:r?i[r].components:i.components,children:[u,t]})})})})}var Ui=QM;var i0={theme:void 0};function fp(e){let t,o;return function(n){let a=t;return(a===void 0||n.theme!==o)&&(i0.theme=n.theme,a=xs(e(i0)),t=a,o=n.theme),a}}var Nt=S(k(),1);var l0=S(U(),1),Es="mode",Ps="color-scheme",ZM="data-color-scheme";function ty(e){let{defaultMode:t="system",defaultLightColorScheme:o="light",defaultDarkColorScheme:r="dark",modeStorageKey:n=Es,colorSchemeStorageKey:a=Ps,attribute:i=ZM,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
10
  ${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
11
  ${l}.removeAttribute('${d}'.replace('%s', dark));`),u+=`
12
12
  ${l}.setAttribute('${d}'.replace('%s', colorScheme), ${c?`${c}.replace('%s', colorScheme)`:'""'});`}else p!==".%s"&&(u+=`${l}.setAttribute('${p}', colorScheme);`);return(0,l0.jsx)("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?s:"",dangerouslySetInnerHTML:{__html:`(function() {
@@ -33,15 +33,15 @@ try {
33
33
  if (colorScheme) {
34
34
  ${u}
35
35
  }
36
- } catch(e){}})();`}},"mui-color-scheme-init")}var wt=S(k(),1);function ZM(){}var WM=({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 ZM;let r=n=>{let a=n.newValue;n.key===e&&o(a)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}}),s0=WM;function oy(){}function u0(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function c0(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 JM(e){return c0(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function ry(e){let{defaultMode:t="light",defaultLightColorScheme:o,defaultDarkColorScheme:r,supportedColorSchemes:n=[],modeStorageKey:a=Es,colorSchemeStorageKey:i=Ps,storageWindow:l=typeof window>"u"?void 0:window,storageManager:s=s0,noSsr:u=!1}=e,p=n.join(","),f=n.length>1,d=wt.useMemo(()=>s?.({key:a,storageWindow:l}),[s,a,l]),c=wt.useMemo(()=>s?.({key:`${i}-light`,storageWindow:l}),[s,i,l]),T=wt.useMemo(()=>s?.({key:`${i}-dark`,storageWindow:l}),[s,i,l]),[v,x]=wt.useState(()=>{let O=d?.get(t)||t,M=c?.get(o)||o,N=T?.get(r)||r;return{mode:O,systemMode:u0(O),lightColorScheme:M,darkColorScheme:N}}),[m,h]=wt.useState(u||!f);wt.useEffect(()=>{h(!0)},[]);let g=JM(v),b=wt.useCallback(O=>{x(M=>{if(O===M.mode)return M;let N=O??t;return d?.set(N),{...M,mode:N,systemMode:u0(N)}})},[d,t]),P=wt.useCallback(O=>{O?typeof O=="string"?O&&!p.includes(O)?console.error(`\`${O}\` does not exist in \`theme.colorSchemes\`.`):x(M=>{let N={...M};return c0(M,A=>{A==="light"&&(c?.set(O),N.lightColorScheme=O),A==="dark"&&(T?.set(O),N.darkColorScheme=O)}),N}):x(M=>{let N={...M},A=O.light===null?o:O.light,y=O.dark===null?r:O.dark;return A&&(p.includes(A)?(N.lightColorScheme=A,c?.set(A)):console.error(`\`${A}\` does not exist in \`theme.colorSchemes\`.`)),y&&(p.includes(y)?(N.darkColorScheme=y,T?.set(y)):console.error(`\`${y}\` does not exist in \`theme.colorSchemes\`.`)),N}):x(M=>(c?.set(o),T?.set(r),{...M,lightColorScheme:o,darkColorScheme:r}))},[p,c,T,o,r]),C=wt.useCallback(O=>{v.mode==="system"&&x(M=>{let N=O?.matches?"dark":"light";return M.systemMode===N?M:{...M,systemMode:N}})},[v.mode]),E=wt.useRef(C);return E.current=C,wt.useEffect(()=>{if(typeof window.matchMedia!="function"||!f)return;let O=(...N)=>E.current(...N),M=window.matchMedia("(prefers-color-scheme: dark)");return M.addListener(O),O(M),()=>{M.removeListener(O)}},[f]),wt.useEffect(()=>{if(f){let O=d?.subscribe(A=>{(!A||["light","dark","system"].includes(A))&&b(A||t)})||oy,M=c?.subscribe(A=>{(!A||p.match(A))&&P({light:A})})||oy,N=T?.subscribe(A=>{(!A||p.match(A))&&P({dark:A})})||oy;return()=>{O(),M(),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 ki=S(U(),1),ew="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function dp(e){let{themeId:t,theme:o={},modeStorageKey:r=Es,colorSchemeStorageKey:n=Ps,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=Nt.createContext(void 0),p=()=>Nt.useContext(u)||s,f={},d={};function c(m){let{children:h,theme:g,modeStorageKey:b=r,colorSchemeStorageKey:P=n,disableTransitionOnChange:C=a,storageManager:E,storageWindow:O=typeof window>"u"?void 0:window,documentNode:M=typeof document>"u"?void 0:document,colorSchemeNode:N=typeof document>"u"?void 0:document.documentElement,disableNestedContext:A=!1,disableStyleSheetGeneration:y=!1,defaultMode:_="system",forceThemeRerender:R=!1,noSsr:w}=m,B=Nt.useRef(!1),L=Or(),$=Nt.useContext(u),de=!!$&&!A,ne=Nt.useMemo(()=>g||(typeof o=="function"?o():o),[g]),Q=ne[t],ue=Q||ne,{colorSchemes:Ge=f,components:we=d,cssVarPrefix:ee}=ue,ae=Object.keys(Ge).filter(je=>!!Ge[je]).join(","),Z=Nt.useMemo(()=>ae.split(","),[ae]),te=typeof i=="string"?i:i.light,oe=typeof i=="string"?i:i.dark,be=Ge[te]&&Ge[oe]?_:Ge[ue.defaultColorScheme]?.palette?.mode||ue.palette?.mode,{mode:Pt,setMode:ce,systemMode:Re,lightColorScheme:pt,darkColorScheme:Ft,colorScheme:Ke,setColorScheme:ft}=ry({supportedColorSchemes:Z,defaultLightColorScheme:te,defaultDarkColorScheme:oe,modeStorageKey:b,colorSchemeStorageKey:P,defaultMode:be,storageManager:E,storageWindow:O,noSsr:w}),Rt=Pt,ye=Ke;de&&(Rt=$.mode,ye=$.colorScheme);let co=ye||ue.defaultColorScheme;ue.vars&&!R&&(co=ue.defaultColorScheme);let Mo=Nt.useMemo(()=>{let je=ue.generateThemeVars?.()||ue.vars,Te={...ue,components:we,colorSchemes:Ge,cssVarPrefix:ee,vars:je};if(typeof Te.generateSpacing=="function"&&(Te.spacing=Te.generateSpacing()),co){let Ze=Ge[co];Ze&&typeof Ze=="object"&&Object.keys(Ze).forEach(re=>{Ze[re]&&typeof Ze[re]=="object"?Te[re]={...Te[re],...Ze[re]}:Te[re]=Ze[re]})}return l?l(Te):Te},[ue,co,we,Ge,ee]),dt=ue.colorSchemeSelector;Tt(()=>{if(ye&&N&&dt&&dt!=="media"){let je=dt,Te=dt;if(je==="class"&&(Te=".%s"),je==="data"&&(Te="[data-%s]"),je?.startsWith("data-")&&!je.includes("%s")&&(Te=`[${je}="%s"]`),Te.startsWith("."))N.classList.remove(...Z.map(Ze=>Te.substring(1).replace("%s",Ze))),N.classList.add(Te.substring(1).replace("%s",ye));else{let Ze=Te.replace("%s",ye).match(/\[([^\]]+)\]/);if(Ze){let[re,po]=Ze[1].split("=");po||Z.forEach(on=>{N.removeAttribute(re.replace(ye,on))}),N.setAttribute(re,po?po.replace(/"|'/g,""):"")}else N.setAttribute(Te,ye)}}},[ye,dt,N,Z]),Nt.useEffect(()=>{let je;if(C&&B.current&&M){let Te=M.createElement("style");Te.appendChild(M.createTextNode(ew)),M.head.appendChild(Te),window.getComputedStyle(M.body),je=setTimeout(()=>{M.head.removeChild(Te)},1)}return()=>{clearTimeout(je)}},[ye,C,M]),Nt.useEffect(()=>(B.current=!0,()=>{B.current=!1}),[]);let Wn=Nt.useMemo(()=>({allColorSchemes:Z,colorScheme:ye,darkColorScheme:Ft,lightColorScheme:pt,mode:Rt,setColorScheme:ft,setMode:ce,systemMode:Re}),[Z,ye,Ft,pt,Rt,ft,ce,Re,Mo.colorSchemeSelector]),lr=!0;(y||ue.cssVariables===!1||de&&L?.cssVarPrefix===ee)&&(lr=!1);let Cr=(0,ki.jsxs)(Nt.Fragment,{children:[(0,ki.jsx)(Ui,{themeId:Q?t:void 0,theme:Mo,children:h}),lr&&(0,ki.jsx)(sa,{styles:Mo.generateStyleSheets?.()||[]})]});return de?Cr:(0,ki.jsx)(u.Provider,{value:Wn,children:Cr})}let T=typeof i=="string"?i:i.light,v=typeof i=="string"?i:i.dark;return{CssVarsProvider:c,useColorScheme:p,getInitColorSchemeScript:m=>ty({colorSchemeStorageKey:n,defaultLightColorScheme:T,defaultDarkColorScheme:v,modeStorageKey:r,...m})}}function mp(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 p0=(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])})},tw=(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)},ow=(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 Rs(e,t){let{prefix:o,shouldSkipGeneratingVar:r}=t||{},n={},a={},i={};return tw(e,(l,s,u)=>{if((typeof s=="string"||typeof s=="number")&&(!r||!r(l,s))){let p=`--${o?`${o}-`:""}${l.join("-")}`,f=ow(l,s);Object.assign(n,{[p]:f}),p0(a,l,`var(${p})`,u),p0(i,l,`var(${p}, ${f})`,u)}},l=>l[0]==="vars"),{css:n,vars:a,varsWithDefaults:i}}function rw(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}=Rs(u,t),c=d,T={},{[s]:v,...x}=i;if(Object.entries(x||{}).forEach(([b,P])=>{let{vars:C,css:E,varsWithDefaults:O}=Rs(P,t);c=Ue(c,O),T[b]={css:E,vars:C}}),v){let{css:b,vars:P,varsWithDefaults:C}=Rs(v,t);c=Ue(c,C),T[s]={css:b,vars:P}}function m(b,P){let C=n;if(n==="class"&&(C=".%s"),n==="data"&&(C="[data-%s]"),n?.startsWith("data-")&&!n.includes("%s")&&(C=`[${n}="%s"]`),b){if(C==="media")return e.defaultColorScheme===b?":root":{[`@media (prefers-color-scheme: ${i[b]?.palette?.mode||b})`]:{":root":P}};if(C)return e.defaultColorScheme===b?`:root, ${C.replace("%s",String(b))}`:C.replace("%s",String(b))}return":root"}return{vars:c,generateThemeVars:()=>{let b={...p};return Object.entries(T).forEach(([,{vars:P}])=>{b=Ue(b,P)}),b},generateStyleSheets:()=>{let b=[],P=e.defaultColorScheme||"light";function C(M,N){Object.keys(N).length&&b.push(typeof M=="string"?{[M]:{...N}}:M)}C(o(void 0,{...f}),f);let{[P]:E,...O}=T;if(E){let{css:M}=E,N=i[P]?.palette?.mode,A=!r&&N?{colorScheme:N,...M}:{...M};C(o(P,{...A}),A)}return Object.entries(O).forEach(([M,{css:N}])=>{let A=i[M]?.palette?.mode,y=!r&&A?{colorScheme:A,...N}:{...N};C(o(M,{...y}),y)}),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 ny=rw;function ay(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 f0=S(k(),1);function yp(e,t){return f0.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}function y0(){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:ii.white,default:ii.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 iy=y0();function h0(){return{text:{primary:ii.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:ii.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 hp=h0();function d0(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=zi(e.main,n):t==="dark"&&(e.dark=Di(e.main,a)))}function m0(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 nw(e="light"){return e==="dark"?{main:ta[200],light:ta[50],dark:ta[400]}:{main:ta[700],light:ta[400],dark:ta[800]}}function aw(e="light"){return e==="dark"?{main:ea[200],light:ea[50],dark:ea[400]}:{main:ea[500],light:ea[300],dark:ea[700]}}function iw(e="light"){return e==="dark"?{main:Jn[500],light:Jn[300],dark:Jn[700]}:{main:Jn[700],light:Jn[400],dark:Jn[800]}}function lw(e="light"){return e==="dark"?{main:oa[400],light:oa[300],dark:oa[700]}:{main:oa[700],light:oa[500],dark:oa[900]}}function sw(e="light"){return e==="dark"?{main:ra[400],light:ra[300],dark:ra[700]}:{main:ra[800],light:ra[500],dark:ra[900]}}function uw(e="light"){return e==="dark"?{main:li[400],light:li[300],dark:li[700]}:{main:"#ed6c02",light:li[500],dark:li[900]}}function cw(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function ya(e){let{mode:t="light",contrastThreshold:o=3,tonalOffset:r=.2,colorSpace:n,...a}=e,i=e.primary||nw(t),l=e.secondary||aw(t),s=e.error||iw(t),u=e.info||lw(t),p=e.success||sw(t),f=e.warning||uw(t);function d(x){return n?cw(x):Fv(x,hp.text.primary)>=o?hp.text.primary:iy.text.primary}let c=({color:x,name:m,mainShade:h=500,lightShade:g=300,darkShade:b=700})=>{if(x={...x},!x.main&&x[h]&&(x.main=x[h]),!x.hasOwnProperty("main"))throw new Error(gt(11,m?` (${m})`:"",h));if(typeof x.main!="string")throw new Error(gt(12,m?` (${m})`:"",JSON.stringify(x.main)));return n?(m0(n,x,"light",g,r),m0(n,x,"dark",b,r)):(d0(x,"light",g,r),d0(x,"dark",b,r)),x.contrastText||(x.contrastText=d(x.main)),x},T;return t==="light"?T=y0():t==="dark"&&(T=h0()),Ue({common:{...ii},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:lT,contrastThreshold:o,getContrastText:d,augmentColor:c,tonalOffset:r,...T},a)}function gp(e){let t={};return Object.entries(e).forEach(r=>{let[n,a]=r;typeof a=="object"&&(t[n]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),t}function ly(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function pw(e){return Math.round(e*1e5)/1e5}var g0={textTransform:"uppercase"},b0='"Roboto", "Helvetica", "Arial", sans-serif';function Os(e,t){let{fontFamily:o=b0,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,h,g,b)=>({fontFamily:o,fontWeight:x,fontSize:c(m),lineHeight:h,...o===b0?{letterSpacing:`${pw(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,g0),caption:T(a,12,1.66,.4),overline:T(a,12,2.66,1,g0),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ue({htmlFontSize:s,pxToRem:c,fontFamily:o,fontSize:r,fontWeightLight:n,fontWeightRegular:a,fontWeightMedium:i,fontWeightBold:l,...v},f,{clone:!1})}function Fe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${.2})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${.14})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${.12})`].join(",")}var fw=["none",Fe(0,2,1,-1,0,1,1,0,0,1,3,0),Fe(0,3,1,-2,0,2,2,0,0,1,5,0),Fe(0,3,3,-2,0,3,4,0,0,1,8,0),Fe(0,2,4,-1,0,4,5,0,0,1,10,0),Fe(0,3,5,-1,0,5,8,0,0,1,14,0),Fe(0,3,5,-1,0,6,10,0,0,1,18,0),Fe(0,4,5,-2,0,7,10,1,0,2,16,1),Fe(0,5,5,-3,0,8,10,1,0,3,14,2),Fe(0,5,6,-3,0,9,12,1,0,3,16,2),Fe(0,6,6,-3,0,10,14,1,0,4,18,3),Fe(0,6,7,-4,0,11,15,1,0,4,20,3),Fe(0,7,8,-4,0,12,17,2,0,5,22,4),Fe(0,7,8,-4,0,13,19,2,0,5,24,4),Fe(0,7,9,-4,0,14,21,2,0,5,26,4),Fe(0,8,9,-5,0,15,22,2,0,6,28,5),Fe(0,8,10,-5,0,16,24,2,0,6,30,5),Fe(0,8,11,-5,0,17,26,2,0,6,32,5),Fe(0,9,11,-5,0,18,28,2,0,7,34,6),Fe(0,9,12,-6,0,19,29,2,0,7,36,6),Fe(0,10,13,-6,0,20,31,3,0,8,38,7),Fe(0,10,13,-6,0,21,33,3,0,8,40,7),Fe(0,10,14,-6,0,22,35,3,0,8,42,7),Fe(0,11,14,-7,0,23,36,3,0,9,44,8),Fe(0,11,15,-7,0,24,38,3,0,9,46,8)],T0=fw;var dw={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)"},mw={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function v0(e){return`${Math.round(e)}ms`}function yw(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function sy(e){let t={...dw,...e.easing},o={...mw,...e.duration};return{getAutoHeightDuration:yw,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:v0(i)} ${l} ${typeof s=="string"?s:v0(s)}`).join(",")},...e,easing:t,duration:o}}var hw={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},x0=hw;function gw(e){return Wo(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function bp(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];!gw(l)||i.startsWith("unstable_")||i.startsWith("internal_")?delete r[i]:Wo(l)&&(r[i]={...l},o(r[i]))}}return o(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
36
+ } catch(e){}})();`}},"mui-color-scheme-init")}var wt=S(k(),1);function WM(){}var JM=({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 WM;let r=n=>{let a=n.newValue;n.key===e&&o(a)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}}),s0=JM;function oy(){}function u0(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function c0(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 ew(e){return c0(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function ry(e){let{defaultMode:t="light",defaultLightColorScheme:o,defaultDarkColorScheme:r,supportedColorSchemes:n=[],modeStorageKey:a=Es,colorSchemeStorageKey:i=Ps,storageWindow:l=typeof window>"u"?void 0:window,storageManager:s=s0,noSsr:u=!1}=e,p=n.join(","),f=n.length>1,d=wt.useMemo(()=>s?.({key:a,storageWindow:l}),[s,a,l]),c=wt.useMemo(()=>s?.({key:`${i}-light`,storageWindow:l}),[s,i,l]),T=wt.useMemo(()=>s?.({key:`${i}-dark`,storageWindow:l}),[s,i,l]),[v,x]=wt.useState(()=>{let O=d?.get(t)||t,M=c?.get(o)||o,N=T?.get(r)||r;return{mode:O,systemMode:u0(O),lightColorScheme:M,darkColorScheme:N}}),[m,h]=wt.useState(u||!f);wt.useEffect(()=>{h(!0)},[]);let g=ew(v),b=wt.useCallback(O=>{x(M=>{if(O===M.mode)return M;let N=O??t;return d?.set(N),{...M,mode:N,systemMode:u0(N)}})},[d,t]),P=wt.useCallback(O=>{O?typeof O=="string"?O&&!p.includes(O)?console.error(`\`${O}\` does not exist in \`theme.colorSchemes\`.`):x(M=>{let N={...M};return c0(M,A=>{A==="light"&&(c?.set(O),N.lightColorScheme=O),A==="dark"&&(T?.set(O),N.darkColorScheme=O)}),N}):x(M=>{let N={...M},A=O.light===null?o:O.light,y=O.dark===null?r:O.dark;return A&&(p.includes(A)?(N.lightColorScheme=A,c?.set(A)):console.error(`\`${A}\` does not exist in \`theme.colorSchemes\`.`)),y&&(p.includes(y)?(N.darkColorScheme=y,T?.set(y)):console.error(`\`${y}\` does not exist in \`theme.colorSchemes\`.`)),N}):x(M=>(c?.set(o),T?.set(r),{...M,lightColorScheme:o,darkColorScheme:r}))},[p,c,T,o,r]),C=wt.useCallback(O=>{v.mode==="system"&&x(M=>{let N=O?.matches?"dark":"light";return M.systemMode===N?M:{...M,systemMode:N}})},[v.mode]),E=wt.useRef(C);return E.current=C,wt.useEffect(()=>{if(typeof window.matchMedia!="function"||!f)return;let O=(...N)=>E.current(...N),M=window.matchMedia("(prefers-color-scheme: dark)");return M.addListener(O),O(M),()=>{M.removeListener(O)}},[f]),wt.useEffect(()=>{if(f){let O=d?.subscribe(A=>{(!A||["light","dark","system"].includes(A))&&b(A||t)})||oy,M=c?.subscribe(A=>{(!A||p.match(A))&&P({light:A})})||oy,N=T?.subscribe(A=>{(!A||p.match(A))&&P({dark:A})})||oy;return()=>{O(),M(),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 ki=S(U(),1),tw="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function dp(e){let{themeId:t,theme:o={},modeStorageKey:r=Es,colorSchemeStorageKey:n=Ps,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=Nt.createContext(void 0),p=()=>Nt.useContext(u)||s,f={},d={};function c(m){let{children:h,theme:g,modeStorageKey:b=r,colorSchemeStorageKey:P=n,disableTransitionOnChange:C=a,storageManager:E,storageWindow:O=typeof window>"u"?void 0:window,documentNode:M=typeof document>"u"?void 0:document,colorSchemeNode:N=typeof document>"u"?void 0:document.documentElement,disableNestedContext:A=!1,disableStyleSheetGeneration:y=!1,defaultMode:_="system",forceThemeRerender:R=!1,noSsr:w}=m,B=Nt.useRef(!1),L=Or(),$=Nt.useContext(u),de=!!$&&!A,ne=Nt.useMemo(()=>g||(typeof o=="function"?o():o),[g]),Q=ne[t],ue=Q||ne,{colorSchemes:Ge=f,components:we=d,cssVarPrefix:ee}=ue,ae=Object.keys(Ge).filter(je=>!!Ge[je]).join(","),Z=Nt.useMemo(()=>ae.split(","),[ae]),te=typeof i=="string"?i:i.light,oe=typeof i=="string"?i:i.dark,be=Ge[te]&&Ge[oe]?_:Ge[ue.defaultColorScheme]?.palette?.mode||ue.palette?.mode,{mode:Pt,setMode:ce,systemMode:Re,lightColorScheme:pt,darkColorScheme:Ft,colorScheme:Ke,setColorScheme:ft}=ry({supportedColorSchemes:Z,defaultLightColorScheme:te,defaultDarkColorScheme:oe,modeStorageKey:b,colorSchemeStorageKey:P,defaultMode:be,storageManager:E,storageWindow:O,noSsr:w}),Rt=Pt,ye=Ke;de&&(Rt=$.mode,ye=$.colorScheme);let co=ye||ue.defaultColorScheme;ue.vars&&!R&&(co=ue.defaultColorScheme);let Mo=Nt.useMemo(()=>{let je=ue.generateThemeVars?.()||ue.vars,Te={...ue,components:we,colorSchemes:Ge,cssVarPrefix:ee,vars:je};if(typeof Te.generateSpacing=="function"&&(Te.spacing=Te.generateSpacing()),co){let Ze=Ge[co];Ze&&typeof Ze=="object"&&Object.keys(Ze).forEach(re=>{Ze[re]&&typeof Ze[re]=="object"?Te[re]={...Te[re],...Ze[re]}:Te[re]=Ze[re]})}return l?l(Te):Te},[ue,co,we,Ge,ee]),dt=ue.colorSchemeSelector;Tt(()=>{if(ye&&N&&dt&&dt!=="media"){let je=dt,Te=dt;if(je==="class"&&(Te=".%s"),je==="data"&&(Te="[data-%s]"),je?.startsWith("data-")&&!je.includes("%s")&&(Te=`[${je}="%s"]`),Te.startsWith("."))N.classList.remove(...Z.map(Ze=>Te.substring(1).replace("%s",Ze))),N.classList.add(Te.substring(1).replace("%s",ye));else{let Ze=Te.replace("%s",ye).match(/\[([^\]]+)\]/);if(Ze){let[re,po]=Ze[1].split("=");po||Z.forEach(on=>{N.removeAttribute(re.replace(ye,on))}),N.setAttribute(re,po?po.replace(/"|'/g,""):"")}else N.setAttribute(Te,ye)}}},[ye,dt,N,Z]),Nt.useEffect(()=>{let je;if(C&&B.current&&M){let Te=M.createElement("style");Te.appendChild(M.createTextNode(tw)),M.head.appendChild(Te),window.getComputedStyle(M.body),je=setTimeout(()=>{M.head.removeChild(Te)},1)}return()=>{clearTimeout(je)}},[ye,C,M]),Nt.useEffect(()=>(B.current=!0,()=>{B.current=!1}),[]);let Wn=Nt.useMemo(()=>({allColorSchemes:Z,colorScheme:ye,darkColorScheme:Ft,lightColorScheme:pt,mode:Rt,setColorScheme:ft,setMode:ce,systemMode:Re}),[Z,ye,Ft,pt,Rt,ft,ce,Re,Mo.colorSchemeSelector]),lr=!0;(y||ue.cssVariables===!1||de&&L?.cssVarPrefix===ee)&&(lr=!1);let Cr=(0,ki.jsxs)(Nt.Fragment,{children:[(0,ki.jsx)(Ui,{themeId:Q?t:void 0,theme:Mo,children:h}),lr&&(0,ki.jsx)(sa,{styles:Mo.generateStyleSheets?.()||[]})]});return de?Cr:(0,ki.jsx)(u.Provider,{value:Wn,children:Cr})}let T=typeof i=="string"?i:i.light,v=typeof i=="string"?i:i.dark;return{CssVarsProvider:c,useColorScheme:p,getInitColorSchemeScript:m=>ty({colorSchemeStorageKey:n,defaultLightColorScheme:T,defaultDarkColorScheme:v,modeStorageKey:r,...m})}}function mp(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 p0=(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])})},ow=(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)},rw=(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 Rs(e,t){let{prefix:o,shouldSkipGeneratingVar:r}=t||{},n={},a={},i={};return ow(e,(l,s,u)=>{if((typeof s=="string"||typeof s=="number")&&(!r||!r(l,s))){let p=`--${o?`${o}-`:""}${l.join("-")}`,f=rw(l,s);Object.assign(n,{[p]:f}),p0(a,l,`var(${p})`,u),p0(i,l,`var(${p}, ${f})`,u)}},l=>l[0]==="vars"),{css:n,vars:a,varsWithDefaults:i}}function nw(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}=Rs(u,t),c=d,T={},{[s]:v,...x}=i;if(Object.entries(x||{}).forEach(([b,P])=>{let{vars:C,css:E,varsWithDefaults:O}=Rs(P,t);c=Ue(c,O),T[b]={css:E,vars:C}}),v){let{css:b,vars:P,varsWithDefaults:C}=Rs(v,t);c=Ue(c,C),T[s]={css:b,vars:P}}function m(b,P){let C=n;if(n==="class"&&(C=".%s"),n==="data"&&(C="[data-%s]"),n?.startsWith("data-")&&!n.includes("%s")&&(C=`[${n}="%s"]`),b){if(C==="media")return e.defaultColorScheme===b?":root":{[`@media (prefers-color-scheme: ${i[b]?.palette?.mode||b})`]:{":root":P}};if(C)return e.defaultColorScheme===b?`:root, ${C.replace("%s",String(b))}`:C.replace("%s",String(b))}return":root"}return{vars:c,generateThemeVars:()=>{let b={...p};return Object.entries(T).forEach(([,{vars:P}])=>{b=Ue(b,P)}),b},generateStyleSheets:()=>{let b=[],P=e.defaultColorScheme||"light";function C(M,N){Object.keys(N).length&&b.push(typeof M=="string"?{[M]:{...N}}:M)}C(o(void 0,{...f}),f);let{[P]:E,...O}=T;if(E){let{css:M}=E,N=i[P]?.palette?.mode,A=!r&&N?{colorScheme:N,...M}:{...M};C(o(P,{...A}),A)}return Object.entries(O).forEach(([M,{css:N}])=>{let A=i[M]?.palette?.mode,y=!r&&A?{colorScheme:A,...N}:{...N};C(o(M,{...y}),y)}),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 ny=nw;function ay(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 f0=S(k(),1);function yp(e,t){return f0.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}function y0(){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:ii.white,default:ii.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 iy=y0();function h0(){return{text:{primary:ii.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:ii.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 hp=h0();function d0(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=zi(e.main,n):t==="dark"&&(e.dark=Di(e.main,a)))}function m0(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 aw(e="light"){return e==="dark"?{main:ta[200],light:ta[50],dark:ta[400]}:{main:ta[700],light:ta[400],dark:ta[800]}}function iw(e="light"){return e==="dark"?{main:ea[200],light:ea[50],dark:ea[400]}:{main:ea[500],light:ea[300],dark:ea[700]}}function lw(e="light"){return e==="dark"?{main:Jn[500],light:Jn[300],dark:Jn[700]}:{main:Jn[700],light:Jn[400],dark:Jn[800]}}function sw(e="light"){return e==="dark"?{main:oa[400],light:oa[300],dark:oa[700]}:{main:oa[700],light:oa[500],dark:oa[900]}}function uw(e="light"){return e==="dark"?{main:ra[400],light:ra[300],dark:ra[700]}:{main:ra[800],light:ra[500],dark:ra[900]}}function cw(e="light"){return e==="dark"?{main:li[400],light:li[300],dark:li[700]}:{main:"#ed6c02",light:li[500],dark:li[900]}}function pw(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function ya(e){let{mode:t="light",contrastThreshold:o=3,tonalOffset:r=.2,colorSpace:n,...a}=e,i=e.primary||aw(t),l=e.secondary||iw(t),s=e.error||lw(t),u=e.info||sw(t),p=e.success||uw(t),f=e.warning||cw(t);function d(x){return n?pw(x):Fv(x,hp.text.primary)>=o?hp.text.primary:iy.text.primary}let c=({color:x,name:m,mainShade:h=500,lightShade:g=300,darkShade:b=700})=>{if(x={...x},!x.main&&x[h]&&(x.main=x[h]),!x.hasOwnProperty("main"))throw new Error(gt(11,m?` (${m})`:"",h));if(typeof x.main!="string")throw new Error(gt(12,m?` (${m})`:"",JSON.stringify(x.main)));return n?(m0(n,x,"light",g,r),m0(n,x,"dark",b,r)):(d0(x,"light",g,r),d0(x,"dark",b,r)),x.contrastText||(x.contrastText=d(x.main)),x},T;return t==="light"?T=y0():t==="dark"&&(T=h0()),Ue({common:{...ii},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:lT,contrastThreshold:o,getContrastText:d,augmentColor:c,tonalOffset:r,...T},a)}function gp(e){let t={};return Object.entries(e).forEach(r=>{let[n,a]=r;typeof a=="object"&&(t[n]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),t}function ly(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function fw(e){return Math.round(e*1e5)/1e5}var g0={textTransform:"uppercase"},b0='"Roboto", "Helvetica", "Arial", sans-serif';function Os(e,t){let{fontFamily:o=b0,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,h,g,b)=>({fontFamily:o,fontWeight:x,fontSize:c(m),lineHeight:h,...o===b0?{letterSpacing:`${fw(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,g0),caption:T(a,12,1.66,.4),overline:T(a,12,2.66,1,g0),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ue({htmlFontSize:s,pxToRem:c,fontFamily:o,fontSize:r,fontWeightLight:n,fontWeightRegular:a,fontWeightMedium:i,fontWeightBold:l,...v},f,{clone:!1})}function Fe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${.2})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${.14})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${.12})`].join(",")}var dw=["none",Fe(0,2,1,-1,0,1,1,0,0,1,3,0),Fe(0,3,1,-2,0,2,2,0,0,1,5,0),Fe(0,3,3,-2,0,3,4,0,0,1,8,0),Fe(0,2,4,-1,0,4,5,0,0,1,10,0),Fe(0,3,5,-1,0,5,8,0,0,1,14,0),Fe(0,3,5,-1,0,6,10,0,0,1,18,0),Fe(0,4,5,-2,0,7,10,1,0,2,16,1),Fe(0,5,5,-3,0,8,10,1,0,3,14,2),Fe(0,5,6,-3,0,9,12,1,0,3,16,2),Fe(0,6,6,-3,0,10,14,1,0,4,18,3),Fe(0,6,7,-4,0,11,15,1,0,4,20,3),Fe(0,7,8,-4,0,12,17,2,0,5,22,4),Fe(0,7,8,-4,0,13,19,2,0,5,24,4),Fe(0,7,9,-4,0,14,21,2,0,5,26,4),Fe(0,8,9,-5,0,15,22,2,0,6,28,5),Fe(0,8,10,-5,0,16,24,2,0,6,30,5),Fe(0,8,11,-5,0,17,26,2,0,6,32,5),Fe(0,9,11,-5,0,18,28,2,0,7,34,6),Fe(0,9,12,-6,0,19,29,2,0,7,36,6),Fe(0,10,13,-6,0,20,31,3,0,8,38,7),Fe(0,10,13,-6,0,21,33,3,0,8,40,7),Fe(0,10,14,-6,0,22,35,3,0,8,42,7),Fe(0,11,14,-7,0,23,36,3,0,9,44,8),Fe(0,11,15,-7,0,24,38,3,0,9,46,8)],T0=dw;var mw={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)"},yw={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function v0(e){return`${Math.round(e)}ms`}function hw(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function sy(e){let t={...mw,...e.easing},o={...yw,...e.duration};return{getAutoHeightDuration:hw,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:v0(i)} ${l} ${typeof s=="string"?s:v0(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},x0=gw;function bw(e){return Wo(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function bp(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];!bw(l)||i.startsWith("unstable_")||i.startsWith("internal_")?delete r[i]:Wo(l)&&(r[i]={...l},o(r[i]))}}return o(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
37
37
 
38
38
  const theme = ${JSON.stringify(t,null,2)};
39
39
 
40
40
  theme.breakpoints = createBreakpoints(theme.breakpoints || {});
41
41
  theme.transitions = createTransitions(theme.transitions || {});
42
42
 
43
- export default theme;`}function S0(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var bw=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 Tw(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})`:_i(t,bw(o))},lighten(t,o){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${S0(o)})`:zi(t,o)},darken(t,o){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${S0(o)})`:Di(t,o)}})}function vw(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(gt(22));let f=ya({...a,colorSpace:u}),d=fa(e),c=Ue(d,{mixins:ly(d.breakpoints,r),palette:f,shadows:T0.slice(),typography:Os(f,l),transitions:sy(i),zIndex:{...x0}});return c=Ue(c,p),c=t.reduce((T,v)=>Ue(T,v),c),c.unstable_sxConfig={...Rr,...p?.unstable_sxConfig},c.unstable_sx=function(v){return eo({sx:v,theme:this})},c.toRuntimeSource=bp,Tw(c),c}var As=vw;function ji(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=ji(t);return`linear-gradient(rgba(255 255 255 / ${o}), rgba(255 255 255 / ${o}))`});function uy(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function cy(e){return e==="dark"?xw:[]}function py(e){let{palette:t={mode:"light"},opacity:o,overlays:r,colorSpace:n,...a}=e,i=ya({...t,colorSpace:n});return{palette:i,opacity:{...uy(i.mode),...o},overlays:r||cy(i.mode),...a}}function fy(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var Sw=e=>[...[...Array(25)].map((t,o)=>`--${e?`${e}-`:""}overlays-${o}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],C0=Sw;var E0=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 C0(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 Cw(e,t){t.forEach(o=>{e[o]||(e[o]={})})}function D(e,t,o){!e[t]&&o&&(e[t]=o)}function Ms(e){return typeof e!="string"||!e.startsWith("hsl")?e:Zm(e)}function Ar(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Ni(Ms(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 Ew(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}var fr=e=>{try{return e()}catch{}},Pw=(e="mui")=>mp(e);function dy(e,t,o,r,n){if(!o)return;o=o===!0?{}:o;let a=n==="dark"?"dark":"light";if(!r){t[n]=py({...o,palette:{mode:a,...o?.palette},colorSpace:e});return}let{palette:i,...l}=As({...r,palette:{mode:a,...o?.palette},colorSpace:e});return t[n]={...o,palette:i,opacity:{...uy(a),...o?.opacity},overlays:o?.overlays||cy(a)},l}function my(e={},...t){let{colorSchemes:o={light:!0},defaultColorScheme:r,disableCssColorScheme:n=!1,cssVarPrefix:a="mui",nativeColor:i=!1,shouldSkipGeneratingVar:l=fy,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=Pw(a),{[d]:T,light:v,dark:x,...m}=o,h={...m},g=T;if((d==="dark"&&!("dark"in o)||d==="light"&&!("light"in o))&&(g=!0),!g)throw new Error(gt(21,d));let b;i&&(b="oklch");let P=dy(b,h,g,p,d);v&&!h.light&&dy(b,h,v,void 0,"light"),x&&!h.dark&&dy(b,h,x,void 0,"dark");let C={defaultColorScheme:d,...P,cssVarPrefix:a,colorSchemeSelector:s,rootSelector:u,getCssVar:c,colorSchemes:h,font:{...gp(P.typography),...P.font},spacing:Ew(p.spacing)};Object.keys(C.colorSchemes).forEach(A=>{let y=C.colorSchemes[A].palette,_=w=>{let B=w.split("-"),L=B[1],$=B[2];return c(w,y[L][$])};y.mode==="light"&&(D(y.common,"background","#fff"),D(y.common,"onBackground","#000")),y.mode==="dark"&&(D(y.common,"background","#000"),D(y.common,"onBackground","#fff"));function R(w,B,L){if(b){let $;return w===cn&&($=`transparent ${((1-L)*100).toFixed(0)}%`),w===xe&&($=`#000 ${(L*100).toFixed(0)}%`),w===Se&&($=`#fff ${(L*100).toFixed(0)}%`),`color-mix(in ${b}, ${B}, ${$})`}return w(B,L)}if(Cw(y,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),y.mode==="light"){D(y.Alert,"errorColor",R(xe,i?c("palette-error-light"):y.error.light,.6)),D(y.Alert,"infoColor",R(xe,i?c("palette-info-light"):y.info.light,.6)),D(y.Alert,"successColor",R(xe,i?c("palette-success-light"):y.success.light,.6)),D(y.Alert,"warningColor",R(xe,i?c("palette-warning-light"):y.warning.light,.6)),D(y.Alert,"errorFilledBg",_("palette-error-main")),D(y.Alert,"infoFilledBg",_("palette-info-main")),D(y.Alert,"successFilledBg",_("palette-success-main")),D(y.Alert,"warningFilledBg",_("palette-warning-main")),D(y.Alert,"errorFilledColor",fr(()=>y.getContrastText(y.error.main))),D(y.Alert,"infoFilledColor",fr(()=>y.getContrastText(y.info.main))),D(y.Alert,"successFilledColor",fr(()=>y.getContrastText(y.success.main))),D(y.Alert,"warningFilledColor",fr(()=>y.getContrastText(y.warning.main))),D(y.Alert,"errorStandardBg",R(Se,i?c("palette-error-light"):y.error.light,.9)),D(y.Alert,"infoStandardBg",R(Se,i?c("palette-info-light"):y.info.light,.9)),D(y.Alert,"successStandardBg",R(Se,i?c("palette-success-light"):y.success.light,.9)),D(y.Alert,"warningStandardBg",R(Se,i?c("palette-warning-light"):y.warning.light,.9)),D(y.Alert,"errorIconColor",_("palette-error-main")),D(y.Alert,"infoIconColor",_("palette-info-main")),D(y.Alert,"successIconColor",_("palette-success-main")),D(y.Alert,"warningIconColor",_("palette-warning-main")),D(y.AppBar,"defaultBg",_("palette-grey-100")),D(y.Avatar,"defaultBg",_("palette-grey-400")),D(y.Button,"inheritContainedBg",_("palette-grey-300")),D(y.Button,"inheritContainedHoverBg",_("palette-grey-A100")),D(y.Chip,"defaultBorder",_("palette-grey-400")),D(y.Chip,"defaultAvatarColor",_("palette-grey-700")),D(y.Chip,"defaultIconColor",_("palette-grey-700")),D(y.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),D(y.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),D(y.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),D(y.LinearProgress,"primaryBg",R(Se,i?c("palette-primary-main"):y.primary.main,.62)),D(y.LinearProgress,"secondaryBg",R(Se,i?c("palette-secondary-main"):y.secondary.main,.62)),D(y.LinearProgress,"errorBg",R(Se,i?c("palette-error-main"):y.error.main,.62)),D(y.LinearProgress,"infoBg",R(Se,i?c("palette-info-main"):y.info.main,.62)),D(y.LinearProgress,"successBg",R(Se,i?c("palette-success-main"):y.success.main,.62)),D(y.LinearProgress,"warningBg",R(Se,i?c("palette-warning-light"):y.warning.main,.62)),D(y.Skeleton,"bg",b?R(cn,i?c("palette-text-primary"):y.text.primary,.11):`rgba(${_("palette-text-primaryChannel")} / 0.11)`),D(y.Slider,"primaryTrack",R(Se,i?c("palette-primary-main"):y.primary.main,.62)),D(y.Slider,"secondaryTrack",R(Se,i?c("palette-secondary-main"):y.secondary.main,.62)),D(y.Slider,"errorTrack",R(Se,i?c("palette-error-main"):y.error.main,.62)),D(y.Slider,"infoTrack",R(Se,i?c("palette-info-main"):y.info.main,.62)),D(y.Slider,"successTrack",R(Se,i?c("palette-success-main"):y.success.main,.62)),D(y.Slider,"warningTrack",R(Se,i?c("palette-warning-main"):y.warning.main,.62));let w=b?R(xe,i?c("palette-background-default"):y.background.default,.6825):Ss(y.background.default,.8);D(y.SnackbarContent,"bg",w),D(y.SnackbarContent,"color",fr(()=>b?hp.text.primary:y.getContrastText(w))),D(y.SpeedDialAction,"fabHoverBg",Ss(y.background.paper,.15)),D(y.StepConnector,"border",_("palette-grey-400")),D(y.StepContent,"border",_("palette-grey-400")),D(y.Switch,"defaultColor",_("palette-common-white")),D(y.Switch,"defaultDisabledColor",_("palette-grey-100")),D(y.Switch,"primaryDisabledColor",R(Se,i?c("palette-primary-main"):y.primary.main,.62)),D(y.Switch,"secondaryDisabledColor",R(Se,i?c("palette-secondary-main"):y.secondary.main,.62)),D(y.Switch,"errorDisabledColor",R(Se,i?c("palette-error-main"):y.error.main,.62)),D(y.Switch,"infoDisabledColor",R(Se,i?c("palette-info-main"):y.info.main,.62)),D(y.Switch,"successDisabledColor",R(Se,i?c("palette-success-main"):y.success.main,.62)),D(y.Switch,"warningDisabledColor",R(Se,i?c("palette-warning-main"):y.warning.main,.62)),D(y.TableCell,"border",R(Se,cn(i?c("palette-divider"):y.divider,1),.88)),D(y.Tooltip,"bg",R(cn,i?c("palette-grey-700"):y.grey[700],.92))}if(y.mode==="dark"){D(y.Alert,"errorColor",R(Se,i?c("palette-error-light"):y.error.light,.6)),D(y.Alert,"infoColor",R(Se,i?c("palette-info-light"):y.info.light,.6)),D(y.Alert,"successColor",R(Se,i?c("palette-success-light"):y.success.light,.6)),D(y.Alert,"warningColor",R(Se,i?c("palette-warning-light"):y.warning.light,.6)),D(y.Alert,"errorFilledBg",_("palette-error-dark")),D(y.Alert,"infoFilledBg",_("palette-info-dark")),D(y.Alert,"successFilledBg",_("palette-success-dark")),D(y.Alert,"warningFilledBg",_("palette-warning-dark")),D(y.Alert,"errorFilledColor",fr(()=>y.getContrastText(y.error.dark))),D(y.Alert,"infoFilledColor",fr(()=>y.getContrastText(y.info.dark))),D(y.Alert,"successFilledColor",fr(()=>y.getContrastText(y.success.dark))),D(y.Alert,"warningFilledColor",fr(()=>y.getContrastText(y.warning.dark))),D(y.Alert,"errorStandardBg",R(xe,i?c("palette-error-light"):y.error.light,.9)),D(y.Alert,"infoStandardBg",R(xe,i?c("palette-info-light"):y.info.light,.9)),D(y.Alert,"successStandardBg",R(xe,i?c("palette-success-light"):y.success.light,.9)),D(y.Alert,"warningStandardBg",R(xe,i?c("palette-warning-light"):y.warning.light,.9)),D(y.Alert,"errorIconColor",_("palette-error-main")),D(y.Alert,"infoIconColor",_("palette-info-main")),D(y.Alert,"successIconColor",_("palette-success-main")),D(y.Alert,"warningIconColor",_("palette-warning-main")),D(y.AppBar,"defaultBg",_("palette-grey-900")),D(y.AppBar,"darkBg",_("palette-background-paper")),D(y.AppBar,"darkColor",_("palette-text-primary")),D(y.Avatar,"defaultBg",_("palette-grey-600")),D(y.Button,"inheritContainedBg",_("palette-grey-800")),D(y.Button,"inheritContainedHoverBg",_("palette-grey-700")),D(y.Chip,"defaultBorder",_("palette-grey-700")),D(y.Chip,"defaultAvatarColor",_("palette-grey-300")),D(y.Chip,"defaultIconColor",_("palette-grey-300")),D(y.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),D(y.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),D(y.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),D(y.LinearProgress,"primaryBg",R(xe,i?c("palette-primary-main"):y.primary.main,.5)),D(y.LinearProgress,"secondaryBg",R(xe,i?c("palette-secondary-main"):y.secondary.main,.5)),D(y.LinearProgress,"errorBg",R(xe,i?c("palette-error-main"):y.error.main,.5)),D(y.LinearProgress,"infoBg",R(xe,i?c("palette-info-main"):y.info.main,.5)),D(y.LinearProgress,"successBg",R(xe,i?c("palette-success-main"):y.success.main,.5)),D(y.LinearProgress,"warningBg",R(xe,i?c("palette-warning-main"):y.warning.main,.5)),D(y.Skeleton,"bg",b?R(cn,i?c("palette-text-primary"):y.text.primary,.13):`rgba(${_("palette-text-primaryChannel")} / 0.13)`),D(y.Slider,"primaryTrack",R(xe,i?c("palette-primary-main"):y.primary.main,.5)),D(y.Slider,"secondaryTrack",R(xe,i?c("palette-secondary-main"):y.secondary.main,.5)),D(y.Slider,"errorTrack",R(xe,i?c("palette-error-main"):y.error.main,.5)),D(y.Slider,"infoTrack",R(xe,i?c("palette-info-main"):y.info.main,.5)),D(y.Slider,"successTrack",R(xe,i?c("palette-success-main"):y.success.main,.5)),D(y.Slider,"warningTrack",R(xe,i?c("palette-warning-light"):y.warning.main,.5));let w=b?R(Se,i?c("palette-background-default"):y.background.default,.985):Ss(y.background.default,.98);D(y.SnackbarContent,"bg",w),D(y.SnackbarContent,"color",fr(()=>b?iy.text.primary:y.getContrastText(w))),D(y.SpeedDialAction,"fabHoverBg",Ss(y.background.paper,.15)),D(y.StepConnector,"border",_("palette-grey-600")),D(y.StepContent,"border",_("palette-grey-600")),D(y.Switch,"defaultColor",_("palette-grey-300")),D(y.Switch,"defaultDisabledColor",_("palette-grey-600")),D(y.Switch,"primaryDisabledColor",R(xe,i?c("palette-primary-main"):y.primary.main,.55)),D(y.Switch,"secondaryDisabledColor",R(xe,i?c("palette-secondary-main"):y.secondary.main,.55)),D(y.Switch,"errorDisabledColor",R(xe,i?c("palette-error-main"):y.error.main,.55)),D(y.Switch,"infoDisabledColor",R(xe,i?c("palette-info-main"):y.info.main,.55)),D(y.Switch,"successDisabledColor",R(xe,i?c("palette-success-main"):y.success.main,.55)),D(y.Switch,"warningDisabledColor",R(xe,i?c("palette-warning-light"):y.warning.main,.55)),D(y.TableCell,"border",R(xe,cn(i?c("palette-divider"):y.divider,1),.68)),D(y.Tooltip,"bg",R(cn,i?c("palette-grey-700"):y.grey[700],.92))}i||(Ar(y.background,"default"),Ar(y.background,"paper"),Ar(y.common,"background"),Ar(y.common,"onBackground"),Ar(y,"divider")),Object.keys(y).forEach(w=>{let B=y[w];w!=="tonalOffset"&&!i&&B&&typeof B=="object"&&(B.main&&D(y[w],"mainChannel",Ni(Ms(B.main))),B.light&&D(y[w],"lightChannel",Ni(Ms(B.light))),B.dark&&D(y[w],"darkChannel",Ni(Ms(B.dark))),B.contrastText&&D(y[w],"contrastTextChannel",Ni(Ms(B.contrastText))),w==="text"&&(Ar(y[w],"primary"),Ar(y[w],"secondary")),w==="action"&&(B.active&&Ar(y[w],"active"),B.selected&&Ar(y[w],"selected")))})}),C=t.reduce((A,y)=>Ue(A,y),C);let E={prefix:a,disableCssColorScheme:n,shouldSkipGeneratingVar:l,getSelector:E0(C),enableContrastVars:i},{vars:O,generateThemeVars:M,generateStyleSheets:N}=ny(C,E);return C.vars=O,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([A,y])=>{C[A]=y}),C.generateThemeVars=M,C.generateStyleSheets=N,C.generateSpacing=function(){return Ai(p.spacing,ys(this))},C.getColorSchemeSelector=ay(s),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=l,C.unstable_sxConfig={...Rr,...p?.unstable_sxConfig},C.unstable_sx=function(y){return eo({sx:y,theme:this})},C.internal_cache={},C.toRuntimeSource=bp,C}function P0(e,t,o){e.colorSchemes&&o&&(e.colorSchemes[t]={...o!==!0&&o,palette:ya({...o===!0?{}:o.palette,mode:t})})}function dr(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 As(e,...t);let p=o;"palette"in e||u[l]&&(u[l]!==!0?p=u[l].palette:l==="dark"&&(p={mode:"dark"}));let f=As({...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},P0(f,"dark",u.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:f.palette},P0(f,"light",u.light)),f}return!o&&!("light"in u)&&l==="light"&&(u.light=!0),my({...i,colorSchemes:u,defaultColorScheme:l,...typeof r!="boolean"&&r},...t)}var Ow=S(k(),1);var Rw=dr(),Li=Rw;function pn(){let e=ln(Li);return e[At]||e}function Aw(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}var Tp=Aw;var Mw=e=>Tp(e)&&e!=="classes",De=Mw;var ww=np({themeId:At,defaultTheme:Li,rootShouldForwardProp:De}),j=ww;var A0=S(k(),1);var MI=S(k(),1);var R0=S(U(),1);function yy({theme:e,...t}){let o=At in e?e[At]:void 0;return(0,R0.jsx)(Ui,{...t,themeId:o?At:void 0,theme:o||e})}var Nw=S(U(),1),ws={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"};var _w=S(U(),1),{CssVarsProvider:Dw,useColorScheme:II,getInitColorSchemeScript:HI}=dp({themeId:At,theme:()=>dr({cssVariables:!0}),colorSchemeStorageKey:ws.colorSchemeStorageKey,modeStorageKey:ws.modeStorageKey,defaultColorScheme:{light:ws.defaultLightColorScheme,dark:ws.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:Os(e.palette,e.typography)};return t.unstable_sx=function(r){return eo({sx:r,theme:this})},t}});var O0=Dw;var hy=S(U(),1);function vp({theme:e,...t}){let o=A0.useMemo(()=>{if(typeof e=="function")return e;let r=At in e?e[At]:e;return"colorSchemes"in r?null:"vars"in r?e:{...e,vars:null}},[e]);return o?(0,hy.jsx)(yy,{theme:o,...t}):(0,hy.jsx)(O0,{theme:e,...t})}var K=Ri;function Ns(...e){return e.reduce((t,o)=>o==null?t:function(...n){t.apply(this,n),o.apply(this,n)},()=>{})}var Cp=S(k(),1);var xp=S(k(),1);var M0=S(U(),1);function zw(e){return(0,M0.jsx)(Mi,{...e,defaultTheme:Li,themeId:At})}var gy=zw;var w0=S(U(),1);function N0(e){return function(o){return(0,w0.jsx)(gy,{styles:typeof e=="function"?r=>e({theme:r,...o}):e})}}var Bw=fp,X=Bw;var y9=S(k(),1);var Uw=S(U(),1);function q(e){return Jm(e)}function _0(e){return V("MuiSvgIcon",e)}var C9=H("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var Sp=S(U(),1),kw=e=>{let{color:t,fontSize:o,classes:r}=e,n={root:["root",t!=="inherit"&&`color${K(t)}`,`fontSize${K(o)}`]};return F(n,_0,r)},jw=j("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.color!=="inherit"&&t[`color${K(o.color)}`],t[`fontSize${K(o.fontSize)}`]]}})(X(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),D0=xp.forwardRef(function(t,o){let r=q({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=xp.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=kw(v);return(0,Sp.jsxs)(jw,{as:l,className:I(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,Sp.jsx)("title",{children:f}):null]})});D0.muiName="SvgIcon";var by=D0;var z0=S(U(),1);function it(e,t){function o(r,n){return(0,z0.jsx)(by,{"data-testid":void 0,ref:n,...r,children:e})}return o.muiName=by.muiName,Cp.memo(Cp.forwardRef(o))}function Ii(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 B0=Ii;var Ep=yp;function ha(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}var fn=ha;function vt(e){return e&&e.ownerDocument||document}var dn=vt;function zo(e){return vt(e).defaultView||window}var _s=zo;function ga(e,t){typeof e=="function"?e(t):e&&(e.current=t)}var Hi=Tt;var ba=Jo;var Ta=S(k(),1);function Pp(e){let{controlled:t,default:o,name:r,state:n="value"}=e,{current:a}=Ta.useRef(t!==void 0),[i,l]=Ta.useState(o),s=a?t:i,u=Ta.useCallback(p=>{a||l(p)},[]);return[s,u]}var Ds=Pp;var Ty=S(k(),1);function Lw(e){let t=Ty.useRef(e);return Tt(()=>{t.current=e}),Ty.useRef((...o)=>(0,t.current)(...o)).current}var Bo=Lw;var mn=Bo;var Vi=S(k(),1);function xt(...e){let t=Vi.useRef(void 0),o=Vi.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 Vi.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=o(r))},e)}var _t=xt;function Iw(e,t){let o=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&o>=65&&o<=90&&typeof t=="function"}function Fi(e,t){if(!e)return t;function o(i,l){let s={};return Object.keys(l).forEach(u=>{Iw(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=I(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=I(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 Rp(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 Op(e,t){return Op=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,r){return o.__proto__=r,o},Op(e,t)}function Ap(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Op(e,t)}var Bs=S(k()),Us=S(wp());var vy={disabled:!1};var I0=S(k()),$i=I0.default.createContext(null);var H0=function(t){return t.scrollTop};var ks="unmounted",va="exited",xa="entering",Gi="entered",xy="exiting",Mr=(function(e){Ap(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=va,a.appearStatus=xa):s=Gi:r.unmountOnExit||r.mountOnEnter?s=ks:s=va,a.state={status:s},a.nextCallback=null,a}t.getDerivedStateFromProps=function(n,a){var i=n.in;return i&&a.status===ks?{status:va}: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!==xa&&i!==Gi&&(a=xa):(i===xa||i===Gi)&&(a=xy)}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===xa){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Us.default.findDOMNode(this);i&&H0(i)}this.performEnter(n)}else this.performExit();else this.props.unmountOnExit&&this.state.status===va&&this.setState({status:ks})},o.performEnter=function(n){var a=this,i=this.props.enter,l=this.context?this.context.isMounting:n,s=this.props.nodeRef?[l]:[Us.default.findDOMNode(this),l],u=s[0],p=s[1],f=this.getTimeouts(),d=l?f.appear:f.enter;if(!n&&!i||vy.disabled){this.safeSetState({status:Gi},function(){a.props.onEntered(u)});return}this.props.onEnter(u,p),this.safeSetState({status:xa},function(){a.props.onEntering(u,p),a.onTransitionEnd(d,function(){a.safeSetState({status:Gi},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:Us.default.findDOMNode(this);if(!a||vy.disabled){this.safeSetState({status:va},function(){n.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:xy},function(){n.props.onExiting(l),n.onTransitionEnd(i.exit,function(){n.safeSetState({status:va},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:Us.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===ks)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,h=a.onExit,g=a.onExiting,b=a.onExited,P=a.nodeRef,C=Rp(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Bs.default.createElement($i.Provider,{value:null},typeof i=="function"?i(n,C):Bs.default.cloneElement(Bs.default.Children.only(i),C))},t})(Bs.default.Component);Mr.contextType=$i;Mr.propTypes={};function qi(){}Mr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:qi,onEntering:qi,onEntered:qi,onExit:qi,onExiting:qi,onExited:qi};Mr.UNMOUNTED=ks;Mr.EXITED=va;Mr.ENTERING=xa;Mr.ENTERED=Gi;Mr.EXITING=xy;var js=Mr;function V0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Ls=S(k());var Uo=S(k());function Np(e,t){var o=function(a){return t&&(0,Uo.isValidElement)(a)?t(a):a},r=Object.create(null);return e&&Uo.Children.map(e,function(n){return n}).forEach(function(n){r[n.key]=o(n)}),r}function $w(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 Sa(e,t,o){return o[t]!=null?o[t]:e.props[t]}function F0(e,t){return Np(e.children,function(o){return(0,Uo.cloneElement)(o,{onExited:t.bind(null,o),in:!0,appear:Sa(o,"appear",e),enter:Sa(o,"enter",e),exit:Sa(o,"exit",e)})})}function $0(e,t,o){var r=Np(e.children),n=$w(t,r);return Object.keys(n).forEach(function(a){var i=n[a];if((0,Uo.isValidElement)(i)){var l=a in t,s=a in r,u=t[a],p=(0,Uo.isValidElement)(u)&&!u.props.in;s&&(!l||p)?n[a]=(0,Uo.cloneElement)(i,{onExited:o.bind(null,i),in:!0,exit:Sa(i,"exit",e),enter:Sa(i,"enter",e)}):!s&&l&&!p?n[a]=(0,Uo.cloneElement)(i,{in:!1}):s&&l&&(0,Uo.isValidElement)(u)&&(n[a]=(0,Uo.cloneElement)(i,{onExited:o.bind(null,i),in:u.props.in,exit:Sa(i,"exit",e),enter:Sa(i,"enter",e)}))}}),n}var qw=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Gw={component:"div",childFactory:function(t){return t}},Sy=(function(e){Ap(t,e);function t(r,n){var a;a=e.call(this,r,n)||this;var i=a.handleExited.bind(V0(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?F0(n,l):$0(n,i,l),firstRender:!1}},o.handleExited=function(n,a){var i=Np(this.props.children);n.key in i||(n.props.onExited&&n.props.onExited(a),this.mounted&&this.setState(function(l){var s=na({},l.children);return delete s[n.key],{children:s}}))},o.render=function(){var n=this.props,a=n.component,i=n.childFactory,l=Rp(n,["component","childFactory"]),s=this.state.contextValue,u=qw(this.state.children).map(i);return delete l.appear,delete l.enter,delete l.exit,a===null?Ls.default.createElement($i.Provider,{value:s},u):Ls.default.createElement($i.Provider,{value:s},Ls.default.createElement(a,l,u))},t})(Ls.default.Component);Sy.propTypes={};Sy.defaultProps=Gw;var Cy=Sy;var G0=S(k(),1),q0={};function Ki(e,t){let o=G0.useRef(q0);return o.current===q0&&(o.current=e(t)),o}var K0=S(k(),1),Kw=[];function Ey(e){K0.useEffect(e,Kw)}var Py=class e{constructor(){ai(this,"currentId",null);ai(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});ai(this,"disposeEffect",()=>this.clear)}static create(){return new e}start(t,o){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,o()},t)}};function Yi(){let e=Ki(Py.create).current;return Ey(e.disposeEffect),e}var _p=e=>e.scrollTop;function to(e,t){return o=>{if(t){let r=e.current;o===void 0?t(r):t(r,o)}}}function Dp(e,t,o,r,n,a){let i=e==="exited"&&!t?r:o[e]||o.exited;return n||a?{...i,...n,...a}:i}function Xi(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 Yw(e){return typeof e=="string"}var hn=Yw;function Xw(e,t,o){return e===void 0||hn(e)?t:{...t,ownerState:{...t.ownerState,...o}}}var Is=Xw;function Qw(e,t,o){return typeof e=="function"?e(t,o):e}var Hs=Qw;function Zw(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 Vs=Zw;function Ww(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 zp=Ww;function Jw(e){let{getSlotProps:t,additionalProps:o,externalSlotProps:r,externalForwardedProps:n,className:a}=e;if(!t){let c=I(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=Vs({...n,...r}),l=zp(r),s=zp(n),u=t(i),p=I(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 Fs=Jw;function Oe(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=Hs(f[e],n),{props:{component:v,...x},internalRef:m}=Fs({className:o,...s,externalForwardedProps:e==="root"?d:void 0,externalSlotProps:T}),h=xt(m,T?.ref,t.ref),g=e==="root"?v||u:v,b=Is(c,{...e==="root"&&!u&&!p[e]&&i,...e!=="root"&&!p[e]&&i,...x,...g&&!l&&{as:g},...g&&l&&{component:g},ref:h},n);return[c,b]}var X0=S(k(),1);function Y0(e){return V("MuiPaper",e)}var YV=H("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var Q0=S(U(),1),eN=e=>{let{square:t,elevation:o,variant:r,classes:n}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${o}`]};return F(a,Y0,n)},tN=j("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],!o.square&&t.rounded,o.variant==="elevation"&&t[`elevation${o.elevation}`]]}})(X(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),oN=X0.forwardRef(function(t,o){let r=q({props:t,name:"MuiPaper"}),n=pn(),{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=eN(f);return(0,Q0.jsx)(tN,{as:i,ownerState:f,className:I(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(${_i("#fff",ji(l))}, ${_i("#fff",ji(l))})`}},...p.style}})}),gn=oN;var Tn=S(k(),1);function $s(e){try{return e.matches(":focus-visible")}catch{}return!1}var bn=S(k(),1);var Z0=S(k(),1);function Ry(e){let{focusableWhenDisabled:t,disabled:o,composite:r=!1,tabIndex:n=0,isNativeButton:a}=e,i=r&&t!==!1,l=r&&t===!1;return Z0.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 rN={};function Oy(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=bn.useRef(null),T=u===!0,v=Ry({focusableWhenDisabled:T,disabled:a,isNativeButton:t,tabIndex:s}),x=bn.useCallback(()=>{let g=c.current;return g==null?t:g.tagName==="BUTTON"?!0:!!(g.tagName==="A"&&g.href)},[t]),m=bn.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:bn.useCallback((g=rN)=>{let{onClick:b,onKeyDown:P,onKeyUp:C,...E}=g;return{...m,...E,onClick:A=>{if(p&&A.stopPropagation(),a){A.preventDefault();return}b?.(A)},onKeyDown:A=>{if(T&&v.onKeyDown(A),!a&&(f?.(A),P?.(A),!(A.target!==A.currentTarget||x()))){if(A.key===" "){A.preventDefault();return}A.key==="Enter"&&(A.preventDefault(),A.currentTarget.click())}},onKeyUp:A=>{a||(d?.(A),C?.(A),A.target===A.currentTarget&&!x()&&A.key===" "&&!A.defaultPrevented&&A.currentTarget.click())}}},[m,a,T,v,x,f,d,p]),rootRef:c}}var Bp=S(k(),1);var Ay=class e{constructor(){ai(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=Ki(e.create).current,[o,r]=Bp.useState(!1);return t.shouldMount=o,t.setShouldMount=r,Bp.useEffect(t.mountEffect,[o]),t}mount(){return this.mounted||(this.mounted=nN(),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 Up(){return Ay.use()}function nN(){let e,t,o=new Promise((r,n)=>{e=r,t=n});return o.resolve=e,o.reject=t,o}var mt=S(k(),1);var kp=S(k(),1);var My=S(U(),1);function aN(e){let{className:t,classes:o,pulsate:r=!1,rippleX:n,rippleY:a,rippleSize:i,in:l,onExited:s,timeout:u}=e,[p,f]=kp.useState(!1),d=I(t,o.ripple,o.rippleVisible,r&&o.ripplePulsate),c={width:i,height:i,top:-(i/2)+a,left:-(i/2)+n},T=I(o.child,p&&o.childLeaving,r&&o.childPulsate);return!l&&!p&&f(!0),kp.useEffect(()=>{if(!l&&s!=null){let v=setTimeout(s,u);return()=>{clearTimeout(v)}}},[s,l,u]),(0,My.jsx)("span",{className:d,style:c,children:(0,My.jsx)("span",{className:T})})}var W0=aN;var iN=H("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),yo=iN;var jp=S(U(),1),wy=550,lN=80,sN=ur`
43
+ export default theme;`}function S0(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var Tw=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 vw(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})`:_i(t,Tw(o))},lighten(t,o){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${S0(o)})`:zi(t,o)},darken(t,o){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${S0(o)})`:Di(t,o)}})}function xw(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(gt(22));let f=ya({...a,colorSpace:u}),d=fa(e),c=Ue(d,{mixins:ly(d.breakpoints,r),palette:f,shadows:T0.slice(),typography:Os(f,l),transitions:sy(i),zIndex:{...x0}});return c=Ue(c,p),c=t.reduce((T,v)=>Ue(T,v),c),c.unstable_sxConfig={...Rr,...p?.unstable_sxConfig},c.unstable_sx=function(v){return eo({sx:v,theme:this})},c.toRuntimeSource=bp,vw(c),c}var As=xw;function ji(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 Sw=[...Array(25)].map((e,t)=>{if(t===0)return"none";let o=ji(t);return`linear-gradient(rgba(255 255 255 / ${o}), rgba(255 255 255 / ${o}))`});function uy(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function cy(e){return e==="dark"?Sw:[]}function py(e){let{palette:t={mode:"light"},opacity:o,overlays:r,colorSpace:n,...a}=e,i=ya({...t,colorSpace:n});return{palette:i,opacity:{...uy(i.mode),...o},overlays:r||cy(i.mode),...a}}function fy(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var Cw=e=>[...[...Array(25)].map((t,o)=>`--${e?`${e}-`:""}overlays-${o}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],C0=Cw;var E0=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 C0(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 Ew(e,t){t.forEach(o=>{e[o]||(e[o]={})})}function D(e,t,o){!e[t]&&o&&(e[t]=o)}function Ms(e){return typeof e!="string"||!e.startsWith("hsl")?e:Zm(e)}function Ar(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Ni(Ms(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 Pw(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}var fr=e=>{try{return e()}catch{}},Rw=(e="mui")=>mp(e);function dy(e,t,o,r,n){if(!o)return;o=o===!0?{}:o;let a=n==="dark"?"dark":"light";if(!r){t[n]=py({...o,palette:{mode:a,...o?.palette},colorSpace:e});return}let{palette:i,...l}=As({...r,palette:{mode:a,...o?.palette},colorSpace:e});return t[n]={...o,palette:i,opacity:{...uy(a),...o?.opacity},overlays:o?.overlays||cy(a)},l}function my(e={},...t){let{colorSchemes:o={light:!0},defaultColorScheme:r,disableCssColorScheme:n=!1,cssVarPrefix:a="mui",nativeColor:i=!1,shouldSkipGeneratingVar:l=fy,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=Rw(a),{[d]:T,light:v,dark:x,...m}=o,h={...m},g=T;if((d==="dark"&&!("dark"in o)||d==="light"&&!("light"in o))&&(g=!0),!g)throw new Error(gt(21,d));let b;i&&(b="oklch");let P=dy(b,h,g,p,d);v&&!h.light&&dy(b,h,v,void 0,"light"),x&&!h.dark&&dy(b,h,x,void 0,"dark");let C={defaultColorScheme:d,...P,cssVarPrefix:a,colorSchemeSelector:s,rootSelector:u,getCssVar:c,colorSchemes:h,font:{...gp(P.typography),...P.font},spacing:Pw(p.spacing)};Object.keys(C.colorSchemes).forEach(A=>{let y=C.colorSchemes[A].palette,_=w=>{let B=w.split("-"),L=B[1],$=B[2];return c(w,y[L][$])};y.mode==="light"&&(D(y.common,"background","#fff"),D(y.common,"onBackground","#000")),y.mode==="dark"&&(D(y.common,"background","#000"),D(y.common,"onBackground","#fff"));function R(w,B,L){if(b){let $;return w===cn&&($=`transparent ${((1-L)*100).toFixed(0)}%`),w===xe&&($=`#000 ${(L*100).toFixed(0)}%`),w===Se&&($=`#fff ${(L*100).toFixed(0)}%`),`color-mix(in ${b}, ${B}, ${$})`}return w(B,L)}if(Ew(y,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),y.mode==="light"){D(y.Alert,"errorColor",R(xe,i?c("palette-error-light"):y.error.light,.6)),D(y.Alert,"infoColor",R(xe,i?c("palette-info-light"):y.info.light,.6)),D(y.Alert,"successColor",R(xe,i?c("palette-success-light"):y.success.light,.6)),D(y.Alert,"warningColor",R(xe,i?c("palette-warning-light"):y.warning.light,.6)),D(y.Alert,"errorFilledBg",_("palette-error-main")),D(y.Alert,"infoFilledBg",_("palette-info-main")),D(y.Alert,"successFilledBg",_("palette-success-main")),D(y.Alert,"warningFilledBg",_("palette-warning-main")),D(y.Alert,"errorFilledColor",fr(()=>y.getContrastText(y.error.main))),D(y.Alert,"infoFilledColor",fr(()=>y.getContrastText(y.info.main))),D(y.Alert,"successFilledColor",fr(()=>y.getContrastText(y.success.main))),D(y.Alert,"warningFilledColor",fr(()=>y.getContrastText(y.warning.main))),D(y.Alert,"errorStandardBg",R(Se,i?c("palette-error-light"):y.error.light,.9)),D(y.Alert,"infoStandardBg",R(Se,i?c("palette-info-light"):y.info.light,.9)),D(y.Alert,"successStandardBg",R(Se,i?c("palette-success-light"):y.success.light,.9)),D(y.Alert,"warningStandardBg",R(Se,i?c("palette-warning-light"):y.warning.light,.9)),D(y.Alert,"errorIconColor",_("palette-error-main")),D(y.Alert,"infoIconColor",_("palette-info-main")),D(y.Alert,"successIconColor",_("palette-success-main")),D(y.Alert,"warningIconColor",_("palette-warning-main")),D(y.AppBar,"defaultBg",_("palette-grey-100")),D(y.Avatar,"defaultBg",_("palette-grey-400")),D(y.Button,"inheritContainedBg",_("palette-grey-300")),D(y.Button,"inheritContainedHoverBg",_("palette-grey-A100")),D(y.Chip,"defaultBorder",_("palette-grey-400")),D(y.Chip,"defaultAvatarColor",_("palette-grey-700")),D(y.Chip,"defaultIconColor",_("palette-grey-700")),D(y.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),D(y.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),D(y.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),D(y.LinearProgress,"primaryBg",R(Se,i?c("palette-primary-main"):y.primary.main,.62)),D(y.LinearProgress,"secondaryBg",R(Se,i?c("palette-secondary-main"):y.secondary.main,.62)),D(y.LinearProgress,"errorBg",R(Se,i?c("palette-error-main"):y.error.main,.62)),D(y.LinearProgress,"infoBg",R(Se,i?c("palette-info-main"):y.info.main,.62)),D(y.LinearProgress,"successBg",R(Se,i?c("palette-success-main"):y.success.main,.62)),D(y.LinearProgress,"warningBg",R(Se,i?c("palette-warning-light"):y.warning.main,.62)),D(y.Skeleton,"bg",b?R(cn,i?c("palette-text-primary"):y.text.primary,.11):`rgba(${_("palette-text-primaryChannel")} / 0.11)`),D(y.Slider,"primaryTrack",R(Se,i?c("palette-primary-main"):y.primary.main,.62)),D(y.Slider,"secondaryTrack",R(Se,i?c("palette-secondary-main"):y.secondary.main,.62)),D(y.Slider,"errorTrack",R(Se,i?c("palette-error-main"):y.error.main,.62)),D(y.Slider,"infoTrack",R(Se,i?c("palette-info-main"):y.info.main,.62)),D(y.Slider,"successTrack",R(Se,i?c("palette-success-main"):y.success.main,.62)),D(y.Slider,"warningTrack",R(Se,i?c("palette-warning-main"):y.warning.main,.62));let w=b?R(xe,i?c("palette-background-default"):y.background.default,.6825):Ss(y.background.default,.8);D(y.SnackbarContent,"bg",w),D(y.SnackbarContent,"color",fr(()=>b?hp.text.primary:y.getContrastText(w))),D(y.SpeedDialAction,"fabHoverBg",Ss(y.background.paper,.15)),D(y.StepConnector,"border",_("palette-grey-400")),D(y.StepContent,"border",_("palette-grey-400")),D(y.Switch,"defaultColor",_("palette-common-white")),D(y.Switch,"defaultDisabledColor",_("palette-grey-100")),D(y.Switch,"primaryDisabledColor",R(Se,i?c("palette-primary-main"):y.primary.main,.62)),D(y.Switch,"secondaryDisabledColor",R(Se,i?c("palette-secondary-main"):y.secondary.main,.62)),D(y.Switch,"errorDisabledColor",R(Se,i?c("palette-error-main"):y.error.main,.62)),D(y.Switch,"infoDisabledColor",R(Se,i?c("palette-info-main"):y.info.main,.62)),D(y.Switch,"successDisabledColor",R(Se,i?c("palette-success-main"):y.success.main,.62)),D(y.Switch,"warningDisabledColor",R(Se,i?c("palette-warning-main"):y.warning.main,.62)),D(y.TableCell,"border",R(Se,cn(i?c("palette-divider"):y.divider,1),.88)),D(y.Tooltip,"bg",R(cn,i?c("palette-grey-700"):y.grey[700],.92))}if(y.mode==="dark"){D(y.Alert,"errorColor",R(Se,i?c("palette-error-light"):y.error.light,.6)),D(y.Alert,"infoColor",R(Se,i?c("palette-info-light"):y.info.light,.6)),D(y.Alert,"successColor",R(Se,i?c("palette-success-light"):y.success.light,.6)),D(y.Alert,"warningColor",R(Se,i?c("palette-warning-light"):y.warning.light,.6)),D(y.Alert,"errorFilledBg",_("palette-error-dark")),D(y.Alert,"infoFilledBg",_("palette-info-dark")),D(y.Alert,"successFilledBg",_("palette-success-dark")),D(y.Alert,"warningFilledBg",_("palette-warning-dark")),D(y.Alert,"errorFilledColor",fr(()=>y.getContrastText(y.error.dark))),D(y.Alert,"infoFilledColor",fr(()=>y.getContrastText(y.info.dark))),D(y.Alert,"successFilledColor",fr(()=>y.getContrastText(y.success.dark))),D(y.Alert,"warningFilledColor",fr(()=>y.getContrastText(y.warning.dark))),D(y.Alert,"errorStandardBg",R(xe,i?c("palette-error-light"):y.error.light,.9)),D(y.Alert,"infoStandardBg",R(xe,i?c("palette-info-light"):y.info.light,.9)),D(y.Alert,"successStandardBg",R(xe,i?c("palette-success-light"):y.success.light,.9)),D(y.Alert,"warningStandardBg",R(xe,i?c("palette-warning-light"):y.warning.light,.9)),D(y.Alert,"errorIconColor",_("palette-error-main")),D(y.Alert,"infoIconColor",_("palette-info-main")),D(y.Alert,"successIconColor",_("palette-success-main")),D(y.Alert,"warningIconColor",_("palette-warning-main")),D(y.AppBar,"defaultBg",_("palette-grey-900")),D(y.AppBar,"darkBg",_("palette-background-paper")),D(y.AppBar,"darkColor",_("palette-text-primary")),D(y.Avatar,"defaultBg",_("palette-grey-600")),D(y.Button,"inheritContainedBg",_("palette-grey-800")),D(y.Button,"inheritContainedHoverBg",_("palette-grey-700")),D(y.Chip,"defaultBorder",_("palette-grey-700")),D(y.Chip,"defaultAvatarColor",_("palette-grey-300")),D(y.Chip,"defaultIconColor",_("palette-grey-300")),D(y.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),D(y.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),D(y.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),D(y.LinearProgress,"primaryBg",R(xe,i?c("palette-primary-main"):y.primary.main,.5)),D(y.LinearProgress,"secondaryBg",R(xe,i?c("palette-secondary-main"):y.secondary.main,.5)),D(y.LinearProgress,"errorBg",R(xe,i?c("palette-error-main"):y.error.main,.5)),D(y.LinearProgress,"infoBg",R(xe,i?c("palette-info-main"):y.info.main,.5)),D(y.LinearProgress,"successBg",R(xe,i?c("palette-success-main"):y.success.main,.5)),D(y.LinearProgress,"warningBg",R(xe,i?c("palette-warning-main"):y.warning.main,.5)),D(y.Skeleton,"bg",b?R(cn,i?c("palette-text-primary"):y.text.primary,.13):`rgba(${_("palette-text-primaryChannel")} / 0.13)`),D(y.Slider,"primaryTrack",R(xe,i?c("palette-primary-main"):y.primary.main,.5)),D(y.Slider,"secondaryTrack",R(xe,i?c("palette-secondary-main"):y.secondary.main,.5)),D(y.Slider,"errorTrack",R(xe,i?c("palette-error-main"):y.error.main,.5)),D(y.Slider,"infoTrack",R(xe,i?c("palette-info-main"):y.info.main,.5)),D(y.Slider,"successTrack",R(xe,i?c("palette-success-main"):y.success.main,.5)),D(y.Slider,"warningTrack",R(xe,i?c("palette-warning-light"):y.warning.main,.5));let w=b?R(Se,i?c("palette-background-default"):y.background.default,.985):Ss(y.background.default,.98);D(y.SnackbarContent,"bg",w),D(y.SnackbarContent,"color",fr(()=>b?iy.text.primary:y.getContrastText(w))),D(y.SpeedDialAction,"fabHoverBg",Ss(y.background.paper,.15)),D(y.StepConnector,"border",_("palette-grey-600")),D(y.StepContent,"border",_("palette-grey-600")),D(y.Switch,"defaultColor",_("palette-grey-300")),D(y.Switch,"defaultDisabledColor",_("palette-grey-600")),D(y.Switch,"primaryDisabledColor",R(xe,i?c("palette-primary-main"):y.primary.main,.55)),D(y.Switch,"secondaryDisabledColor",R(xe,i?c("palette-secondary-main"):y.secondary.main,.55)),D(y.Switch,"errorDisabledColor",R(xe,i?c("palette-error-main"):y.error.main,.55)),D(y.Switch,"infoDisabledColor",R(xe,i?c("palette-info-main"):y.info.main,.55)),D(y.Switch,"successDisabledColor",R(xe,i?c("palette-success-main"):y.success.main,.55)),D(y.Switch,"warningDisabledColor",R(xe,i?c("palette-warning-light"):y.warning.main,.55)),D(y.TableCell,"border",R(xe,cn(i?c("palette-divider"):y.divider,1),.68)),D(y.Tooltip,"bg",R(cn,i?c("palette-grey-700"):y.grey[700],.92))}i||(Ar(y.background,"default"),Ar(y.background,"paper"),Ar(y.common,"background"),Ar(y.common,"onBackground"),Ar(y,"divider")),Object.keys(y).forEach(w=>{let B=y[w];w!=="tonalOffset"&&!i&&B&&typeof B=="object"&&(B.main&&D(y[w],"mainChannel",Ni(Ms(B.main))),B.light&&D(y[w],"lightChannel",Ni(Ms(B.light))),B.dark&&D(y[w],"darkChannel",Ni(Ms(B.dark))),B.contrastText&&D(y[w],"contrastTextChannel",Ni(Ms(B.contrastText))),w==="text"&&(Ar(y[w],"primary"),Ar(y[w],"secondary")),w==="action"&&(B.active&&Ar(y[w],"active"),B.selected&&Ar(y[w],"selected")))})}),C=t.reduce((A,y)=>Ue(A,y),C);let E={prefix:a,disableCssColorScheme:n,shouldSkipGeneratingVar:l,getSelector:E0(C),enableContrastVars:i},{vars:O,generateThemeVars:M,generateStyleSheets:N}=ny(C,E);return C.vars=O,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([A,y])=>{C[A]=y}),C.generateThemeVars=M,C.generateStyleSheets=N,C.generateSpacing=function(){return Ai(p.spacing,ys(this))},C.getColorSchemeSelector=ay(s),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=l,C.unstable_sxConfig={...Rr,...p?.unstable_sxConfig},C.unstable_sx=function(y){return eo({sx:y,theme:this})},C.internal_cache={},C.toRuntimeSource=bp,C}function P0(e,t,o){e.colorSchemes&&o&&(e.colorSchemes[t]={...o!==!0&&o,palette:ya({...o===!0?{}:o.palette,mode:t})})}function dr(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 As(e,...t);let p=o;"palette"in e||u[l]&&(u[l]!==!0?p=u[l].palette:l==="dark"&&(p={mode:"dark"}));let f=As({...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},P0(f,"dark",u.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:f.palette},P0(f,"light",u.light)),f}return!o&&!("light"in u)&&l==="light"&&(u.light=!0),my({...i,colorSchemes:u,defaultColorScheme:l,...typeof r!="boolean"&&r},...t)}var Aw=S(k(),1);var Ow=dr(),Li=Ow;function pn(){let e=ln(Li);return e[At]||e}function Mw(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}var Tp=Mw;var ww=e=>Tp(e)&&e!=="classes",De=ww;var Nw=np({themeId:At,defaultTheme:Li,rootShouldForwardProp:De}),j=Nw;var A0=S(k(),1);var NI=S(k(),1);var R0=S(U(),1);function yy({theme:e,...t}){let o=At in e?e[At]:void 0;return(0,R0.jsx)(Ui,{...t,themeId:o?At:void 0,theme:o||e})}var _w=S(U(),1),ws={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"};var Dw=S(U(),1),{CssVarsProvider:zw,useColorScheme:VI,getInitColorSchemeScript:FI}=dp({themeId:At,theme:()=>dr({cssVariables:!0}),colorSchemeStorageKey:ws.colorSchemeStorageKey,modeStorageKey:ws.modeStorageKey,defaultColorScheme:{light:ws.defaultLightColorScheme,dark:ws.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:Os(e.palette,e.typography)};return t.unstable_sx=function(r){return eo({sx:r,theme:this})},t}});var O0=zw;var hy=S(U(),1);function vp({theme:e,...t}){let o=A0.useMemo(()=>{if(typeof e=="function")return e;let r=At in e?e[At]:e;return"colorSchemes"in r?null:"vars"in r?e:{...e,vars:null}},[e]);return o?(0,hy.jsx)(yy,{theme:o,...t}):(0,hy.jsx)(O0,{theme:e,...t})}var K=Ri;function Ns(...e){return e.reduce((t,o)=>o==null?t:function(...n){t.apply(this,n),o.apply(this,n)},()=>{})}var Cp=S(k(),1);var xp=S(k(),1);var M0=S(U(),1);function Bw(e){return(0,M0.jsx)(Mi,{...e,defaultTheme:Li,themeId:At})}var gy=Bw;var w0=S(U(),1);function N0(e){return function(o){return(0,w0.jsx)(gy,{styles:typeof e=="function"?r=>e({theme:r,...o}):e})}}var Uw=fp,X=Uw;var g9=S(k(),1);var kw=S(U(),1);function q(e){return Jm(e)}function _0(e){return V("MuiSvgIcon",e)}var P9=H("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var Sp=S(U(),1),jw=e=>{let{color:t,fontSize:o,classes:r}=e,n={root:["root",t!=="inherit"&&`color${K(t)}`,`fontSize${K(o)}`]};return F(n,_0,r)},Lw=j("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.color!=="inherit"&&t[`color${K(o.color)}`],t[`fontSize${K(o.fontSize)}`]]}})(X(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),D0=xp.forwardRef(function(t,o){let r=q({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=xp.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=jw(v);return(0,Sp.jsxs)(Lw,{as:l,className:I(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,Sp.jsx)("title",{children:f}):null]})});D0.muiName="SvgIcon";var by=D0;var z0=S(U(),1);function it(e,t){function o(r,n){return(0,z0.jsx)(by,{"data-testid":void 0,ref:n,...r,children:e})}return o.muiName=by.muiName,Cp.memo(Cp.forwardRef(o))}function Ii(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 B0=Ii;var Ep=yp;function ha(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}var fn=ha;function vt(e){return e&&e.ownerDocument||document}var dn=vt;function zo(e){return vt(e).defaultView||window}var _s=zo;function ga(e,t){typeof e=="function"?e(t):e&&(e.current=t)}var Hi=Tt;var ba=Jo;var Ta=S(k(),1);function Pp(e){let{controlled:t,default:o,name:r,state:n="value"}=e,{current:a}=Ta.useRef(t!==void 0),[i,l]=Ta.useState(o),s=a?t:i,u=Ta.useCallback(p=>{a||l(p)},[]);return[s,u]}var Ds=Pp;var Ty=S(k(),1);function Iw(e){let t=Ty.useRef(e);return Tt(()=>{t.current=e}),Ty.useRef((...o)=>(0,t.current)(...o)).current}var Bo=Iw;var mn=Bo;var Vi=S(k(),1);function xt(...e){let t=Vi.useRef(void 0),o=Vi.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 Vi.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=o(r))},e)}var _t=xt;function Hw(e,t){let o=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&o>=65&&o<=90&&typeof t=="function"}function Fi(e,t){if(!e)return t;function o(i,l){let s={};return Object.keys(l).forEach(u=>{Hw(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=I(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=I(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 Rp(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 Op(e,t){return Op=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,r){return o.__proto__=r,o},Op(e,t)}function Ap(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Op(e,t)}var Bs=S(k()),Us=S(wp());var vy={disabled:!1};var I0=S(k()),$i=I0.default.createContext(null);var H0=function(t){return t.scrollTop};var ks="unmounted",va="exited",xa="entering",Gi="entered",xy="exiting",Mr=(function(e){Ap(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=va,a.appearStatus=xa):s=Gi:r.unmountOnExit||r.mountOnEnter?s=ks:s=va,a.state={status:s},a.nextCallback=null,a}t.getDerivedStateFromProps=function(n,a){var i=n.in;return i&&a.status===ks?{status:va}: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!==xa&&i!==Gi&&(a=xa):(i===xa||i===Gi)&&(a=xy)}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===xa){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Us.default.findDOMNode(this);i&&H0(i)}this.performEnter(n)}else this.performExit();else this.props.unmountOnExit&&this.state.status===va&&this.setState({status:ks})},o.performEnter=function(n){var a=this,i=this.props.enter,l=this.context?this.context.isMounting:n,s=this.props.nodeRef?[l]:[Us.default.findDOMNode(this),l],u=s[0],p=s[1],f=this.getTimeouts(),d=l?f.appear:f.enter;if(!n&&!i||vy.disabled){this.safeSetState({status:Gi},function(){a.props.onEntered(u)});return}this.props.onEnter(u,p),this.safeSetState({status:xa},function(){a.props.onEntering(u,p),a.onTransitionEnd(d,function(){a.safeSetState({status:Gi},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:Us.default.findDOMNode(this);if(!a||vy.disabled){this.safeSetState({status:va},function(){n.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:xy},function(){n.props.onExiting(l),n.onTransitionEnd(i.exit,function(){n.safeSetState({status:va},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:Us.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===ks)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,h=a.onExit,g=a.onExiting,b=a.onExited,P=a.nodeRef,C=Rp(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Bs.default.createElement($i.Provider,{value:null},typeof i=="function"?i(n,C):Bs.default.cloneElement(Bs.default.Children.only(i),C))},t})(Bs.default.Component);Mr.contextType=$i;Mr.propTypes={};function qi(){}Mr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:qi,onEntering:qi,onEntered:qi,onExit:qi,onExiting:qi,onExited:qi};Mr.UNMOUNTED=ks;Mr.EXITED=va;Mr.ENTERING=xa;Mr.ENTERED=Gi;Mr.EXITING=xy;var js=Mr;function V0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Ls=S(k());var Uo=S(k());function Np(e,t){var o=function(a){return t&&(0,Uo.isValidElement)(a)?t(a):a},r=Object.create(null);return e&&Uo.Children.map(e,function(n){return n}).forEach(function(n){r[n.key]=o(n)}),r}function qw(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 Sa(e,t,o){return o[t]!=null?o[t]:e.props[t]}function F0(e,t){return Np(e.children,function(o){return(0,Uo.cloneElement)(o,{onExited:t.bind(null,o),in:!0,appear:Sa(o,"appear",e),enter:Sa(o,"enter",e),exit:Sa(o,"exit",e)})})}function $0(e,t,o){var r=Np(e.children),n=qw(t,r);return Object.keys(n).forEach(function(a){var i=n[a];if((0,Uo.isValidElement)(i)){var l=a in t,s=a in r,u=t[a],p=(0,Uo.isValidElement)(u)&&!u.props.in;s&&(!l||p)?n[a]=(0,Uo.cloneElement)(i,{onExited:o.bind(null,i),in:!0,exit:Sa(i,"exit",e),enter:Sa(i,"enter",e)}):!s&&l&&!p?n[a]=(0,Uo.cloneElement)(i,{in:!1}):s&&l&&(0,Uo.isValidElement)(u)&&(n[a]=(0,Uo.cloneElement)(i,{onExited:o.bind(null,i),in:u.props.in,exit:Sa(i,"exit",e),enter:Sa(i,"enter",e)}))}}),n}var Gw=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Kw={component:"div",childFactory:function(t){return t}},Sy=(function(e){Ap(t,e);function t(r,n){var a;a=e.call(this,r,n)||this;var i=a.handleExited.bind(V0(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?F0(n,l):$0(n,i,l),firstRender:!1}},o.handleExited=function(n,a){var i=Np(this.props.children);n.key in i||(n.props.onExited&&n.props.onExited(a),this.mounted&&this.setState(function(l){var s=na({},l.children);return delete s[n.key],{children:s}}))},o.render=function(){var n=this.props,a=n.component,i=n.childFactory,l=Rp(n,["component","childFactory"]),s=this.state.contextValue,u=Gw(this.state.children).map(i);return delete l.appear,delete l.enter,delete l.exit,a===null?Ls.default.createElement($i.Provider,{value:s},u):Ls.default.createElement($i.Provider,{value:s},Ls.default.createElement(a,l,u))},t})(Ls.default.Component);Sy.propTypes={};Sy.defaultProps=Kw;var Cy=Sy;var G0=S(k(),1),q0={};function Ki(e,t){let o=G0.useRef(q0);return o.current===q0&&(o.current=e(t)),o}var K0=S(k(),1),Yw=[];function Ey(e){K0.useEffect(e,Yw)}var Py=class e{constructor(){ai(this,"currentId",null);ai(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});ai(this,"disposeEffect",()=>this.clear)}static create(){return new e}start(t,o){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,o()},t)}};function Yi(){let e=Ki(Py.create).current;return Ey(e.disposeEffect),e}var _p=e=>e.scrollTop;function to(e,t){return o=>{if(t){let r=e.current;o===void 0?t(r):t(r,o)}}}function Dp(e,t,o,r,n,a){let i=e==="exited"&&!t?r:o[e]||o.exited;return n||a?{...i,...n,...a}:i}function Xi(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 Xw(e){return typeof e=="string"}var hn=Xw;function Qw(e,t,o){return e===void 0||hn(e)?t:{...t,ownerState:{...t.ownerState,...o}}}var Is=Qw;function Zw(e,t,o){return typeof e=="function"?e(t,o):e}var Hs=Zw;function Ww(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 Vs=Ww;function Jw(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 zp=Jw;function eN(e){let{getSlotProps:t,additionalProps:o,externalSlotProps:r,externalForwardedProps:n,className:a}=e;if(!t){let c=I(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=Vs({...n,...r}),l=zp(r),s=zp(n),u=t(i),p=I(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 Fs=eN;function Oe(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=Hs(f[e],n),{props:{component:v,...x},internalRef:m}=Fs({className:o,...s,externalForwardedProps:e==="root"?d:void 0,externalSlotProps:T}),h=xt(m,T?.ref,t.ref),g=e==="root"?v||u:v,b=Is(c,{...e==="root"&&!u&&!p[e]&&i,...e!=="root"&&!p[e]&&i,...x,...g&&!l&&{as:g},...g&&l&&{component:g},ref:h},n);return[c,b]}var X0=S(k(),1);function Y0(e){return V("MuiPaper",e)}var QV=H("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var Q0=S(U(),1),tN=e=>{let{square:t,elevation:o,variant:r,classes:n}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${o}`]};return F(a,Y0,n)},oN=j("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],!o.square&&t.rounded,o.variant==="elevation"&&t[`elevation${o.elevation}`]]}})(X(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),rN=X0.forwardRef(function(t,o){let r=q({props:t,name:"MuiPaper"}),n=pn(),{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=tN(f);return(0,Q0.jsx)(oN,{as:i,ownerState:f,className:I(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(${_i("#fff",ji(l))}, ${_i("#fff",ji(l))})`}},...p.style}})}),gn=rN;var Tn=S(k(),1);function $s(e){try{return e.matches(":focus-visible")}catch{}return!1}var bn=S(k(),1);var Z0=S(k(),1);function Ry(e){let{focusableWhenDisabled:t,disabled:o,composite:r=!1,tabIndex:n=0,isNativeButton:a}=e,i=r&&t!==!1,l=r&&t===!1;return Z0.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 nN={};function Oy(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=bn.useRef(null),T=u===!0,v=Ry({focusableWhenDisabled:T,disabled:a,isNativeButton:t,tabIndex:s}),x=bn.useCallback(()=>{let g=c.current;return g==null?t:g.tagName==="BUTTON"?!0:!!(g.tagName==="A"&&g.href)},[t]),m=bn.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:bn.useCallback((g=nN)=>{let{onClick:b,onKeyDown:P,onKeyUp:C,...E}=g;return{...m,...E,onClick:A=>{if(p&&A.stopPropagation(),a){A.preventDefault();return}b?.(A)},onKeyDown:A=>{if(T&&v.onKeyDown(A),!a&&(f?.(A),P?.(A),!(A.target!==A.currentTarget||x()))){if(A.key===" "){A.preventDefault();return}A.key==="Enter"&&(A.preventDefault(),A.currentTarget.click())}},onKeyUp:A=>{a||(d?.(A),C?.(A),A.target===A.currentTarget&&!x()&&A.key===" "&&!A.defaultPrevented&&A.currentTarget.click())}}},[m,a,T,v,x,f,d,p]),rootRef:c}}var Bp=S(k(),1);var Ay=class e{constructor(){ai(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=Ki(e.create).current,[o,r]=Bp.useState(!1);return t.shouldMount=o,t.setShouldMount=r,Bp.useEffect(t.mountEffect,[o]),t}mount(){return this.mounted||(this.mounted=aN(),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 Up(){return Ay.use()}function aN(){let e,t,o=new Promise((r,n)=>{e=r,t=n});return o.resolve=e,o.reject=t,o}var mt=S(k(),1);var kp=S(k(),1);var My=S(U(),1);function iN(e){let{className:t,classes:o,pulsate:r=!1,rippleX:n,rippleY:a,rippleSize:i,in:l,onExited:s,timeout:u}=e,[p,f]=kp.useState(!1),d=I(t,o.ripple,o.rippleVisible,r&&o.ripplePulsate),c={width:i,height:i,top:-(i/2)+a,left:-(i/2)+n},T=I(o.child,p&&o.childLeaving,r&&o.childPulsate);return!l&&!p&&f(!0),kp.useEffect(()=>{if(!l&&s!=null){let v=setTimeout(s,u);return()=>{clearTimeout(v)}}},[s,l,u]),(0,My.jsx)("span",{className:d,style:c,children:(0,My.jsx)("span",{className:T})})}var W0=iN;var lN=H("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),yo=lN;var jp=S(U(),1),wy=550,sN=80,uN=ur`
45
45
  0% {
46
46
  transform: scale(0);
47
47
  opacity: 0.1;
@@ -51,7 +51,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
51
51
  transform: scale(1);
52
52
  opacity: 0.3;
53
53
  }
54
- `,uN=ur`
54
+ `,cN=ur`
55
55
  0% {
56
56
  opacity: 1;
57
57
  }
@@ -59,7 +59,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
59
59
  100% {
60
60
  opacity: 0;
61
61
  }
62
- `,cN=ur`
62
+ `,pN=ur`
63
63
  0% {
64
64
  transform: scale(1);
65
65
  }
@@ -71,14 +71,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
71
71
  100% {
72
72
  transform: scale(1);
73
73
  }
74
- `,pN=j("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),fN=j(W0,{name:"MuiTouchRipple",slot:"Ripple"})`
74
+ `,fN=j("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),dN=j(W0,{name:"MuiTouchRipple",slot:"Ripple"})`
75
75
  opacity: 0;
76
76
  position: absolute;
77
77
 
78
78
  &.${yo.rippleVisible} {
79
79
  opacity: 0.3;
80
80
  transform: scale(1);
81
- animation-name: ${sN};
81
+ animation-name: ${uN};
82
82
  animation-duration: ${wy}ms;
83
83
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
84
84
  }
@@ -98,7 +98,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
98
98
 
99
99
  & .${yo.childLeaving} {
100
100
  opacity: 0;
101
- animation-name: ${uN};
101
+ animation-name: ${cN};
102
102
  animation-duration: ${wy}ms;
103
103
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
104
104
  }
@@ -108,13 +108,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
108
108
  /* @noflip */
109
109
  left: 0px;
110
110
  top: 0;
111
- animation-name: ${cN};
111
+ animation-name: ${pN};
112
112
  animation-duration: 2500ms;
113
113
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
114
114
  animation-iteration-count: infinite;
115
115
  animation-delay: 200ms;
116
116
  }
117
- `,dN=mt.forwardRef(function(t,o){let r=q({props:t,name:"MuiTouchRipple"}),{center:n=!1,classes:a={},className:i,...l}=r,[s,u]=mt.useState([]),p=mt.useRef(0),f=mt.useRef(null);mt.useEffect(()=>{f.current&&(f.current(),f.current=null)},[s]);let d=mt.useRef(!1),c=Yi(),T=mt.useRef(null),v=mt.useRef(null),x=mt.useCallback(b=>{let{pulsate:P,rippleX:C,rippleY:E,rippleSize:O,cb:M}=b;u(N=>[...N,(0,jp.jsx)(fN,{classes:{ripple:I(a.ripple,yo.ripple),rippleVisible:I(a.rippleVisible,yo.rippleVisible),ripplePulsate:I(a.ripplePulsate,yo.ripplePulsate),child:I(a.child,yo.child),childLeaving:I(a.childLeaving,yo.childLeaving),childPulsate:I(a.childPulsate,yo.childPulsate)},timeout:wy,pulsate:P,rippleX:C,rippleY:E,rippleSize:O},p.current)]),p.current+=1,f.current=M},[a]),m=mt.useCallback((b={},P={},C=()=>{})=>{let{pulsate:E=!1,center:O=n||P.pulsate,fakeElement:M=!1}=P;if(b?.type==="mousedown"&&d.current){d.current=!1;return}b?.type==="touchstart"&&(d.current=!0);let N=M?null:v.current,A=N?N.getBoundingClientRect():{width:0,height:0,left:0,top:0},y,_,R;if(O||b===void 0||b.clientX===0&&b.clientY===0||!b.clientX&&!b.touches)y=Math.round(A.width/2),_=Math.round(A.height/2);else{let{clientX:w,clientY:B}=b.touches&&b.touches.length>0?b.touches[0]:b;y=Math.round(w-A.left),_=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 w=Math.max(Math.abs((N?N.clientWidth:0)-y),y)*2+2,B=Math.max(Math.abs((N?N.clientHeight:0)-_),_)*2+2;R=Math.sqrt(w**2+B**2)}b?.touches?T.current===null&&(T.current=()=>{x({pulsate:E,rippleX:y,rippleY:_,rippleSize:R,cb:C})},c.start(lN,()=>{T.current&&(T.current(),T.current=null)})):x({pulsate:E,rippleX:y,rippleY:_,rippleSize:R,cb:C})},[n,x,c]),h=mt.useCallback(()=>{m({},{pulsate:!0})},[m]),g=mt.useCallback((b,P)=>{if(c.clear(),b?.type==="touchend"&&T.current){T.current(),T.current=null,c.start(0,()=>{g(b,P)});return}T.current=null,u(C=>C.length>0?C.slice(1):C),f.current=P},[c]);return mt.useImperativeHandle(o,()=>({pulsate:h,start:m,stop:g}),[h,m,g]),(0,jp.jsx)(pN,{className:I(yo.root,a.root,i),ref:v,...l,children:(0,jp.jsx)(Cy,{component:null,exit:!0,children:s})})}),J0=dN;function ex(e){return V("MuiButtonBase",e)}var mN=H("MuiButtonBase",["root","disabled","focusVisible"]),tx=mN;var Lp=S(U(),1),yN=e=>{let{disabled:t,focusVisible:o,focusVisibleClassName:r,suppressFocusVisible:n,classes:a}=e,l=F({root:["root",t&&"disabled",o&&!n&&"focusVisible"]},ex,a);return o&&!n&&r&&(l.root+=` ${r}`),l},hN=j("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"},[`&.${tx.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),gN=Tn.forwardRef(function(t,o){let r=q({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:h,onBlur:g,onClick:b,onContextMenu:P,onDragLeave:C,onFocus:E,onFocusVisible:O,onKeyDown:M,onKeyUp:N,onMouseDown:A,onMouseLeave:y,onMouseUp:_,onTouchEnd:R,onTouchMove:w,onTouchStart:B,tabIndex:L=0,TouchRippleProps:$,touchRippleRef:de,type:ne,...Q}=r,ue=!!(Q.href||Q.to),Ge=!!Q.formAction,we=s;we==="button"&&ue&&(we=m);let ee=typeof we=="string"?we==="button":x??!1,ae=h??ee,Z=Up(),te=_t(Z.ref,de),[oe,be]=Tn.useState(!1);(u||v)&&oe&&be(!1);let Pt=mn(Ye=>{d&&!Ye.repeat&&oe&&Ye.key===" "&&Z.stop(Ye,()=>{Z.start(Ye)})}),ce=mn(Ye=>{d&&Ye.key===" "&&oe&&!Ye.defaultPrevented&&Z.stop(Ye,()=>{Z.pulsate(Ye)})}),{getButtonProps:Re,rootRef:pt}=Oy({nativeButton:ae,nativeButtonProp:h,internalNativeButton:ee,allowInferredHostMismatch:ue||typeof we=="string",disabled:u,type:ne,hasFormAction:Ge,tabIndex:L,onBeforeKeyDown:Pt,onBeforeKeyUp:ce}),{onClick:Ft,onKeyDown:Ke,onKeyUp:ft,...Rt}=Re({onClick:b,onKeyDown:M,onKeyUp:N});Tn.useImperativeHandle(n,()=>({focusVisible:()=>{be(!0),pt.current.focus()}}),[pt]);let ye=Z.shouldMount&&!p&&!u;Tn.useEffect(()=>{oe&&d&&!p&&Z.pulsate()},[p,d,oe,Z]);let co=wr(Z,"start",A,f),Mo=wr(Z,"stop",P,f),dt=wr(Z,"stop",C,f),Wn=wr(Z,"stop",_,f),lr=wr(Z,"stop",Ye=>{oe&&Ye.preventDefault(),y&&y(Ye)},f),Cr=wr(Z,"start",B,f),je=wr(Z,"stop",R,f),Te=wr(Z,"stop",w,f),Ze=wr(Z,"stop",Ye=>{$s(Ye.target)||be(!1),g&&g(Ye)},!1),re=mn(Ye=>{pt.current||(pt.current=Ye.currentTarget),!v&&$s(Ye.target)&&(be(!0),O&&O(Ye)),E&&E(Ye)}),po={};ue&&(po.tabIndex=u?-1:L,u&&(po["aria-disabled"]=u),po.type=ne);let on=_t(o,pt),es={...r,centerRipple:a,component:s,disabled:u,disableRipple:p,disableTouchRipple:f,focusRipple:d,suppressFocusVisible:v,tabIndex:L,focusVisible:oe},ts=yN(es);return(0,Lp.jsxs)(hN,{as:we,className:I(ts.root,l),ownerState:es,onBlur:Ze,onClick:Ft,onContextMenu:Mo,onFocus:re,onKeyDown:Ke,onKeyUp:ft,onMouseDown:co,onMouseLeave:lr,onMouseUp:Wn,onDragLeave:dt,onTouchEnd:je,onTouchMove:Te,onTouchStart:Cr,ref:on,...ue?po:Rt,...Q,children:[i,ye?(0,Lp.jsx)(J0,{ref:te,center:a,...$}):null]})});function wr(e,t,o,r=!1){return mn(n=>(o&&o(n),r||e[t](n),!0))}var Nr=gN;function bN(e){return typeof e.main=="string"}function TN(e,t=[]){if(!bN(e))return!1;for(let o of t)if(!e.hasOwnProperty(o)||typeof e[o]!="string")return!1;return!0}function ot(e=[]){return([,t])=>t&&TN(t,e)}var Ip=S(k(),1);var rx=S(k(),1);function ox(e){return V("MuiCircularProgress",e)}var tF=H("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDisableShrink"]);var Qi=S(U(),1),er=44,Ny=ur`
117
+ `,mN=mt.forwardRef(function(t,o){let r=q({props:t,name:"MuiTouchRipple"}),{center:n=!1,classes:a={},className:i,...l}=r,[s,u]=mt.useState([]),p=mt.useRef(0),f=mt.useRef(null);mt.useEffect(()=>{f.current&&(f.current(),f.current=null)},[s]);let d=mt.useRef(!1),c=Yi(),T=mt.useRef(null),v=mt.useRef(null),x=mt.useCallback(b=>{let{pulsate:P,rippleX:C,rippleY:E,rippleSize:O,cb:M}=b;u(N=>[...N,(0,jp.jsx)(dN,{classes:{ripple:I(a.ripple,yo.ripple),rippleVisible:I(a.rippleVisible,yo.rippleVisible),ripplePulsate:I(a.ripplePulsate,yo.ripplePulsate),child:I(a.child,yo.child),childLeaving:I(a.childLeaving,yo.childLeaving),childPulsate:I(a.childPulsate,yo.childPulsate)},timeout:wy,pulsate:P,rippleX:C,rippleY:E,rippleSize:O},p.current)]),p.current+=1,f.current=M},[a]),m=mt.useCallback((b={},P={},C=()=>{})=>{let{pulsate:E=!1,center:O=n||P.pulsate,fakeElement:M=!1}=P;if(b?.type==="mousedown"&&d.current){d.current=!1;return}b?.type==="touchstart"&&(d.current=!0);let N=M?null:v.current,A=N?N.getBoundingClientRect():{width:0,height:0,left:0,top:0},y,_,R;if(O||b===void 0||b.clientX===0&&b.clientY===0||!b.clientX&&!b.touches)y=Math.round(A.width/2),_=Math.round(A.height/2);else{let{clientX:w,clientY:B}=b.touches&&b.touches.length>0?b.touches[0]:b;y=Math.round(w-A.left),_=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 w=Math.max(Math.abs((N?N.clientWidth:0)-y),y)*2+2,B=Math.max(Math.abs((N?N.clientHeight:0)-_),_)*2+2;R=Math.sqrt(w**2+B**2)}b?.touches?T.current===null&&(T.current=()=>{x({pulsate:E,rippleX:y,rippleY:_,rippleSize:R,cb:C})},c.start(sN,()=>{T.current&&(T.current(),T.current=null)})):x({pulsate:E,rippleX:y,rippleY:_,rippleSize:R,cb:C})},[n,x,c]),h=mt.useCallback(()=>{m({},{pulsate:!0})},[m]),g=mt.useCallback((b,P)=>{if(c.clear(),b?.type==="touchend"&&T.current){T.current(),T.current=null,c.start(0,()=>{g(b,P)});return}T.current=null,u(C=>C.length>0?C.slice(1):C),f.current=P},[c]);return mt.useImperativeHandle(o,()=>({pulsate:h,start:m,stop:g}),[h,m,g]),(0,jp.jsx)(fN,{className:I(yo.root,a.root,i),ref:v,...l,children:(0,jp.jsx)(Cy,{component:null,exit:!0,children:s})})}),J0=mN;function ex(e){return V("MuiButtonBase",e)}var yN=H("MuiButtonBase",["root","disabled","focusVisible"]),tx=yN;var Lp=S(U(),1),hN=e=>{let{disabled:t,focusVisible:o,focusVisibleClassName:r,suppressFocusVisible:n,classes:a}=e,l=F({root:["root",t&&"disabled",o&&!n&&"focusVisible"]},ex,a);return o&&!n&&r&&(l.root+=` ${r}`),l},gN=j("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"},[`&.${tx.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),bN=Tn.forwardRef(function(t,o){let r=q({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:h,onBlur:g,onClick:b,onContextMenu:P,onDragLeave:C,onFocus:E,onFocusVisible:O,onKeyDown:M,onKeyUp:N,onMouseDown:A,onMouseLeave:y,onMouseUp:_,onTouchEnd:R,onTouchMove:w,onTouchStart:B,tabIndex:L=0,TouchRippleProps:$,touchRippleRef:de,type:ne,...Q}=r,ue=!!(Q.href||Q.to),Ge=!!Q.formAction,we=s;we==="button"&&ue&&(we=m);let ee=typeof we=="string"?we==="button":x??!1,ae=h??ee,Z=Up(),te=_t(Z.ref,de),[oe,be]=Tn.useState(!1);(u||v)&&oe&&be(!1);let Pt=mn(Ye=>{d&&!Ye.repeat&&oe&&Ye.key===" "&&Z.stop(Ye,()=>{Z.start(Ye)})}),ce=mn(Ye=>{d&&Ye.key===" "&&oe&&!Ye.defaultPrevented&&Z.stop(Ye,()=>{Z.pulsate(Ye)})}),{getButtonProps:Re,rootRef:pt}=Oy({nativeButton:ae,nativeButtonProp:h,internalNativeButton:ee,allowInferredHostMismatch:ue||typeof we=="string",disabled:u,type:ne,hasFormAction:Ge,tabIndex:L,onBeforeKeyDown:Pt,onBeforeKeyUp:ce}),{onClick:Ft,onKeyDown:Ke,onKeyUp:ft,...Rt}=Re({onClick:b,onKeyDown:M,onKeyUp:N});Tn.useImperativeHandle(n,()=>({focusVisible:()=>{be(!0),pt.current.focus()}}),[pt]);let ye=Z.shouldMount&&!p&&!u;Tn.useEffect(()=>{oe&&d&&!p&&Z.pulsate()},[p,d,oe,Z]);let co=wr(Z,"start",A,f),Mo=wr(Z,"stop",P,f),dt=wr(Z,"stop",C,f),Wn=wr(Z,"stop",_,f),lr=wr(Z,"stop",Ye=>{oe&&Ye.preventDefault(),y&&y(Ye)},f),Cr=wr(Z,"start",B,f),je=wr(Z,"stop",R,f),Te=wr(Z,"stop",w,f),Ze=wr(Z,"stop",Ye=>{$s(Ye.target)||be(!1),g&&g(Ye)},!1),re=mn(Ye=>{pt.current||(pt.current=Ye.currentTarget),!v&&$s(Ye.target)&&(be(!0),O&&O(Ye)),E&&E(Ye)}),po={};ue&&(po.tabIndex=u?-1:L,u&&(po["aria-disabled"]=u),po.type=ne);let on=_t(o,pt),es={...r,centerRipple:a,component:s,disabled:u,disableRipple:p,disableTouchRipple:f,focusRipple:d,suppressFocusVisible:v,tabIndex:L,focusVisible:oe},ts=hN(es);return(0,Lp.jsxs)(gN,{as:we,className:I(ts.root,l),ownerState:es,onBlur:Ze,onClick:Ft,onContextMenu:Mo,onFocus:re,onKeyDown:Ke,onKeyUp:ft,onMouseDown:co,onMouseLeave:lr,onMouseUp:Wn,onDragLeave:dt,onTouchEnd:je,onTouchMove:Te,onTouchStart:Cr,ref:on,...ue?po:Rt,...Q,children:[i,ye?(0,Lp.jsx)(J0,{ref:te,center:a,...$}):null]})});function wr(e,t,o,r=!1){return mn(n=>(o&&o(n),r||e[t](n),!0))}var Nr=bN;function TN(e){return typeof e.main=="string"}function vN(e,t=[]){if(!TN(e))return!1;for(let o of t)if(!e.hasOwnProperty(o)||typeof e[o]!="string")return!1;return!0}function ot(e=[]){return([,t])=>t&&vN(t,e)}var Ip=S(k(),1);var rx=S(k(),1);function ox(e){return V("MuiCircularProgress",e)}var rF=H("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDisableShrink"]);var Qi=S(U(),1),er=44,Ny=ur`
118
118
  0% {
119
119
  transform: rotate(0deg);
120
120
  }
@@ -137,13 +137,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
137
137
  stroke-dasharray: 1px, 200px;
138
138
  stroke-dashoffset: -126px;
139
139
  }
140
- `,vN=typeof Ny!="string"?la`
140
+ `,xN=typeof Ny!="string"?la`
141
141
  animation: ${Ny} 1.4s linear infinite;
142
- `:null,xN=typeof _y!="string"?la`
142
+ `:null,SN=typeof _y!="string"?la`
143
143
  animation: ${_y} 1.4s ease-in-out infinite;
144
- `:null,SN=e=>{let{classes:t,variant:o,color:r,disableShrink:n}=e,a={root:["root",o,`color${K(r)}`],svg:["svg"],track:["track"],circle:["circle",n&&"circleDisableShrink"]};return F(a,ox,t)},CN=j("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],t[`color${K(o.color)}`]]}})(X(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:vN||{animation:`${Ny} 1.4s linear infinite`}},...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),EN=j("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),PN=j("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.circle,o.disableShrink&&t.circleDisableShrink]}})(X(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:xN||{animation:`${_y} 1.4s ease-in-out infinite`}}]}))),RN=j("circle",{name:"MuiCircularProgress",slot:"Track"})(X(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),ON=rx.forwardRef(function(t,o){let r=q({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=SN(T),x={},m={},h={};if(d==="determinate"){let g=2*Math.PI*((er-p)/2);x.strokeDasharray=g.toFixed(3),h["aria-valuenow"]=Math.round(f),x.strokeDashoffset=`${((100-f)/100*g).toFixed(3)}px`,m.transform="rotate(-90deg)"}return(0,Qi.jsx)(CN,{className:I(v.root,n),style:{width:s,height:s,...m,...u},ownerState:T,ref:o,role:"progressbar",...h,...c,children:(0,Qi.jsxs)(EN,{className:v.svg,ownerState:T,viewBox:`${er/2} ${er/2} ${er} ${er}`,children:[l?(0,Qi.jsx)(RN,{className:v.track,ownerState:T,cx:er,cy:er,r:(er-p)/2,fill:"none",strokeWidth:p,"aria-hidden":"true"}):null,(0,Qi.jsx)(PN,{className:v.circle,style:x,ownerState:T,cx:er,cy:er,r:(er-p)/2,fill:"none",strokeWidth:p})]})})}),qs=ON;function nx(e){return V("MuiIconButton",e)}var AN=H("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),Dy=AN;var Zi=S(U(),1),MN=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${K(r)}`,n&&`edge${K(n)}`,`size${K(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return F(l,nx,t)},wN=j(Nr,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.loading&&t.loading,o.color!=="default"&&t[`color${K(o.color)}`],o.edge&&t[`edge${K(o.edge)}`],t[`size${K(o.size)}`]]}})(X(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),X(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${Dy.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${Dy.loading}`]:{color:"transparent"}}))),NN=j("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"}}]})),_N=Ip.forwardRef(function(t,o){let r=q({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=ba(f),x=c??(0,Zi.jsx)(qs,{"aria-labelledby":v,color:"inherit",size:16}),m={...r,edge:n,color:l,disabled:s,disableFocusRipple:u,loading:d,loadingIndicator:x,size:p},h=MN(m);return(0,Zi.jsxs)(wN,{id:d?v:f,className:I(h.root,i),centerRipple:!0,internalNativeButton:!0,focusRipple:!u,disabled:s||d,ref:o,...T,ownerState:m,children:[typeof d=="boolean"&&(0,Zi.jsx)("span",{className:h.loadingWrapper,style:{display:"contents"},children:(0,Zi.jsx)(NN,{className:h.loadingIndicator,ownerState:m,children:d&&x})}),a]})}),Ca=_N;var lx=S(k(),1);function ax(e){return V("MuiTypography",e)}var BF=H("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom"]);var sx=S(U(),1),DN=e=>{let{align:t,gutterBottom:o,noWrap:r,variant:n,classes:a}=e,i={root:["root",n,e.align!=="inherit"&&`align${K(t)}`,o&&"gutterBottom",r&&"noWrap"]};return F(i,ax,a)},zN=j("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.variant&&t[o.variant],o.align!=="inherit"&&t[`align${K(o.align)}`],o.noWrap&&t.noWrap,o.gutterBottom&&t.gutterBottom]}})(X(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([t,o])=>t!=="inherit"&&o&&typeof o=="object").map(([t,o])=>({props:{variant:t},style:o})),...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,t])=>typeof t=="string").map(([t])=>({props:{color:`text${K(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:t})=>t.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:t})=>t.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:t})=>t.gutterBottom,style:{marginBottom:"0.35em"}}]}))),ix={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},BN=lx.forwardRef(function(t,o){let r=q({props:t,name:"MuiTypography"}),{color:n,align:a="inherit",className:i,component:l,gutterBottom:s=!1,noWrap:u=!1,variant:p="body1",variantMapping:f=ix,...d}=r,c={...r,align:a,color:n,className:i,component:l,gutterBottom:s,noWrap:u,variant:p,variantMapping:f},T=l||f[p]||ix[p]||"span",v=DN(c);return(0,sx.jsx)(zN,{as:T,ref:o,className:I(v.root,i),...d,ownerState:c,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...d.style}})}),Gs=BN;function UN(e){let{elementType:t,externalSlotProps:o,ownerState:r,skipResolvingSlotProps:n=!1,...a}=e,i=n?{}:Hs(o,r),{props:l,internalRef:s}=Fs({...a,externalSlotProps:i}),u=xt(s,i?.ref,e.additionalProps?.ref);return Is(t,{...l,ref:u},r)}var zy=UN;var _r=S(k(),1),cx=S(wp(),1);var ux=S(k(),1);function ko(e){return parseInt(ux.version,10)>=19?e?.props?.ref||null:e?.ref||null}function kN(e){return typeof e=="function"?e():e}var jN=_r.forwardRef(function(t,o){let{children:r,container:n,disablePortal:a=!1}=t,[i,l]=_r.useState(null),s=xt(_r.isValidElement(r)?ko(r):null,o);return Tt(()=>{a||l(kN(n)||document.body)},[n,a]),Tt(()=>{if(i&&!a)return ga(o,i),()=>{ga(o,null)}},[o,i,a]),a?_r.isValidElement(r)?_r.cloneElement(r,{ref:s}):r:i&&cx.createPortal(r,i)}),By=jN;var It=S(k(),1);var ho=S(k(),1);var Ks=S(U(),1);function Hp(e){return parseInt(e,10)||0}var LN={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function IN(e){for(let t in e)return!1;return!0}function px(e){return IN(e)||e.outerHeightStyle===0&&!e.overflowing}var HN=ho.forwardRef(function(t,o){let{onChange:r,maxRows:n,minRows:a=1,style:i,value:l,...s}=t,{current:u}=ho.useRef(l!=null),p=ho.useRef(null),f=xt(o,p),d=ho.useRef(null),c=ho.useRef(null),T=ho.useCallback(()=>{let g=p.current,b=c.current;if(!g||!b)return;let C=zo(g).getComputedStyle(g);if(C.width==="0px")return{outerHeightStyle:0,overflowing:!1};b.style.width=C.width,b.value=g.value||t.placeholder||"x",b.value.slice(-1)===`
144
+ `:null,CN=e=>{let{classes:t,variant:o,color:r,disableShrink:n}=e,a={root:["root",o,`color${K(r)}`],svg:["svg"],track:["track"],circle:["circle",n&&"circleDisableShrink"]};return F(a,ox,t)},EN=j("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],t[`color${K(o.color)}`]]}})(X(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:xN||{animation:`${Ny} 1.4s linear infinite`}},...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),PN=j("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),RN=j("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.circle,o.disableShrink&&t.circleDisableShrink]}})(X(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:SN||{animation:`${_y} 1.4s ease-in-out infinite`}}]}))),ON=j("circle",{name:"MuiCircularProgress",slot:"Track"})(X(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),AN=rx.forwardRef(function(t,o){let r=q({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=CN(T),x={},m={},h={};if(d==="determinate"){let g=2*Math.PI*((er-p)/2);x.strokeDasharray=g.toFixed(3),h["aria-valuenow"]=Math.round(f),x.strokeDashoffset=`${((100-f)/100*g).toFixed(3)}px`,m.transform="rotate(-90deg)"}return(0,Qi.jsx)(EN,{className:I(v.root,n),style:{width:s,height:s,...m,...u},ownerState:T,ref:o,role:"progressbar",...h,...c,children:(0,Qi.jsxs)(PN,{className:v.svg,ownerState:T,viewBox:`${er/2} ${er/2} ${er} ${er}`,children:[l?(0,Qi.jsx)(ON,{className:v.track,ownerState:T,cx:er,cy:er,r:(er-p)/2,fill:"none",strokeWidth:p,"aria-hidden":"true"}):null,(0,Qi.jsx)(RN,{className:v.circle,style:x,ownerState:T,cx:er,cy:er,r:(er-p)/2,fill:"none",strokeWidth:p})]})})}),qs=AN;function nx(e){return V("MuiIconButton",e)}var MN=H("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),Dy=MN;var Zi=S(U(),1),wN=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${K(r)}`,n&&`edge${K(n)}`,`size${K(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return F(l,nx,t)},NN=j(Nr,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.loading&&t.loading,o.color!=="default"&&t[`color${K(o.color)}`],o.edge&&t[`edge${K(o.edge)}`],t[`size${K(o.size)}`]]}})(X(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),X(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${Dy.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${Dy.loading}`]:{color:"transparent"}}))),_N=j("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"}}]})),DN=Ip.forwardRef(function(t,o){let r=q({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=ba(f),x=c??(0,Zi.jsx)(qs,{"aria-labelledby":v,color:"inherit",size:16}),m={...r,edge:n,color:l,disabled:s,disableFocusRipple:u,loading:d,loadingIndicator:x,size:p},h=wN(m);return(0,Zi.jsxs)(NN,{id:d?v:f,className:I(h.root,i),centerRipple:!0,internalNativeButton:!0,focusRipple:!u,disabled:s||d,ref:o,...T,ownerState:m,children:[typeof d=="boolean"&&(0,Zi.jsx)("span",{className:h.loadingWrapper,style:{display:"contents"},children:(0,Zi.jsx)(_N,{className:h.loadingIndicator,ownerState:m,children:d&&x})}),a]})}),Ca=DN;var lx=S(k(),1);function ax(e){return V("MuiTypography",e)}var kF=H("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom"]);var sx=S(U(),1),zN=e=>{let{align:t,gutterBottom:o,noWrap:r,variant:n,classes:a}=e,i={root:["root",n,e.align!=="inherit"&&`align${K(t)}`,o&&"gutterBottom",r&&"noWrap"]};return F(i,ax,a)},BN=j("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.variant&&t[o.variant],o.align!=="inherit"&&t[`align${K(o.align)}`],o.noWrap&&t.noWrap,o.gutterBottom&&t.gutterBottom]}})(X(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([t,o])=>t!=="inherit"&&o&&typeof o=="object").map(([t,o])=>({props:{variant:t},style:o})),...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,t])=>typeof t=="string").map(([t])=>({props:{color:`text${K(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:t})=>t.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:t})=>t.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:t})=>t.gutterBottom,style:{marginBottom:"0.35em"}}]}))),ix={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},UN=lx.forwardRef(function(t,o){let r=q({props:t,name:"MuiTypography"}),{color:n,align:a="inherit",className:i,component:l,gutterBottom:s=!1,noWrap:u=!1,variant:p="body1",variantMapping:f=ix,...d}=r,c={...r,align:a,color:n,className:i,component:l,gutterBottom:s,noWrap:u,variant:p,variantMapping:f},T=l||f[p]||ix[p]||"span",v=zN(c);return(0,sx.jsx)(BN,{as:T,ref:o,className:I(v.root,i),...d,ownerState:c,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...d.style}})}),Gs=UN;function kN(e){let{elementType:t,externalSlotProps:o,ownerState:r,skipResolvingSlotProps:n=!1,...a}=e,i=n?{}:Hs(o,r),{props:l,internalRef:s}=Fs({...a,externalSlotProps:i}),u=xt(s,i?.ref,e.additionalProps?.ref);return Is(t,{...l,ref:u},r)}var zy=kN;var _r=S(k(),1),cx=S(wp(),1);var ux=S(k(),1);function ko(e){return parseInt(ux.version,10)>=19?e?.props?.ref||null:e?.ref||null}function jN(e){return typeof e=="function"?e():e}var LN=_r.forwardRef(function(t,o){let{children:r,container:n,disablePortal:a=!1}=t,[i,l]=_r.useState(null),s=xt(_r.isValidElement(r)?ko(r):null,o);return Tt(()=>{a||l(jN(n)||document.body)},[n,a]),Tt(()=>{if(i&&!a)return ga(o,i),()=>{ga(o,null)}},[o,i,a]),a?_r.isValidElement(r)?_r.cloneElement(r,{ref:s}):r:i&&cx.createPortal(r,i)}),By=LN;var It=S(k(),1);var ho=S(k(),1);var Ks=S(U(),1);function Hp(e){return parseInt(e,10)||0}var IN={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function HN(e){for(let t in e)return!1;return!0}function px(e){return HN(e)||e.outerHeightStyle===0&&!e.overflowing}var VN=ho.forwardRef(function(t,o){let{onChange:r,maxRows:n,minRows:a=1,style:i,value:l,...s}=t,{current:u}=ho.useRef(l!=null),p=ho.useRef(null),f=xt(o,p),d=ho.useRef(null),c=ho.useRef(null),T=ho.useCallback(()=>{let g=p.current,b=c.current;if(!g||!b)return;let C=zo(g).getComputedStyle(g);if(C.width==="0px")return{outerHeightStyle:0,overflowing:!1};b.style.width=C.width,b.value=g.value||t.placeholder||"x",b.value.slice(-1)===`
145
145
  `&&(b.value+=" ");let E=C.boxSizing,O=Hp(C.paddingBottom)+Hp(C.paddingTop),M=Hp(C.borderBottomWidth)+Hp(C.borderTopWidth),N=b.scrollHeight;b.value="x";let A=b.scrollHeight,y=N;a&&(y=Math.max(Number(a)*A,y)),n&&(y=Math.min(Number(n)*A,y)),y=Math.max(y,A);let _=y+(E==="border-box"?O+M:0),R=Math.abs(y-N)<=1;return{outerHeightStyle:_,overflowing:R}},[n,a,t.placeholder]),v=Bo(()=>{let g=p.current,b=T();if(!g||!b||px(b))return!1;let P=b.outerHeightStyle;return d.current!=null&&d.current!==P}),x=ho.useCallback(()=>{let g=p.current,b=T();if(!g||!b||px(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=ho.useRef(-1);return Tt(()=>{let g=Ii(x),b=p?.current;if(!b)return;let P=zo(b);P.addEventListener("resize",g);let C;return typeof ResizeObserver<"u"&&(C=new ResizeObserver(()=>{v()&&(C.unobserve(b),cancelAnimationFrame(m.current),x(),m.current=requestAnimationFrame(()=>{C.observe(b)}))}),C.observe(b)),()=>{g.clear(),cancelAnimationFrame(m.current),P.removeEventListener("resize",g),C&&C.disconnect()}},[T,x,v]),Tt(()=>{x()}),(0,Ks.jsxs)(ho.Fragment,{children:[(0,Ks.jsx)("textarea",{value:l,onChange:g=>{u||x();let b=g.target,P=b.value.length,C=b.value.endsWith(`
146
- `),E=b.selectionStart===P;C&&E&&b.setSelectionRange(P,P),r&&r(g)},ref:f,rows:a,style:i,...s}),(0,Ks.jsx)("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:c,tabIndex:-1,style:{...LN.shadow,...i,paddingTop:0,paddingBottom:0}})]})}),Uy=HN;function go({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 fx=S(k(),1),VN=fx.createContext(void 0),Wi=VN;var dx=S(k(),1);function Qt(){return dx.useContext(Wi)}function mx(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Ea(e,t=!1){return e&&(mx(e.value)&&e.value!==""||t&&mx(e.defaultValue)&&e.defaultValue!=="")}function yx(e){return e.startAdornment}function hx(e){return V("MuiInputBase",e)}var FN=H("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputTypeSearch"]),tr=FN;var Pa=S(U(),1),gx,Ra=(e,t)=>{let{ownerState:o}=e;return[t.root,o.formControl&&t.formControl,o.startAdornment&&t.adornedStart,o.endAdornment&&t.adornedEnd,o.error&&t.error,o.size==="small"&&t.sizeSmall,o.multiline&&t.multiline,o.color&&t[`color${K(o.color)}`],o.fullWidth&&t.fullWidth,o.hiddenLabel&&t.hiddenLabel]},Oa=(e,t)=>{let{ownerState:o}=e;return[t.input,o.type==="search"&&t.inputTypeSearch]},$N=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${K(o)}`,r&&"disabled",n&&"error",s&&"fullWidth",i&&"focused",l&&"formControl",d&&d!=="medium"&&`size${K(d)}`,p&&"multiline",c&&"adornedStart",a&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",T==="search"&&"inputTypeSearch",f&&"readOnly"]};return F(v,hx,t)},Aa=j("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Ra})(X(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${tr.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%"}}]}))),Ma=j("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Oa})(X(({theme:e})=>{let t=e.palette.mode==="light",o={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},n=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${tr.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},[`&.${tr.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"}}]}})),bx=N0({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),qN=It.forwardRef(function(t,o){let r=q({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:h,margin:g,maxRows:b,minRows:P,multiline:C=!1,name:E,onBlur:O,onChange:M,onClick:N,onFocus:A,onKeyDown:y,onKeyUp:_,placeholder:R,readOnly:w,renderSuffix:B,rows:L,size:$,slotProps:de={},slots:ne={},startAdornment:Q,type:ue="text",value:Ge,...we}=r,ee=m.value!=null?m.value:Ge,{current:ae}=It.useRef(ee!=null),Z=It.useRef(),te=It.useCallback(re=>{},[]),oe=_t(Z,h,m.ref,te),[be,Pt]=It.useState(!1),ce=Qt(),Re=go({props:r,muiFormControl:ce,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Re.focused=ce?ce.focused:be,It.useEffect(()=>{!ce&&p&&be&&(Pt(!1),O&&O())},[ce,p,be,O]);let pt=ce&&ce.onFilled,Ft=ce&&ce.onEmpty,Ke=It.useCallback(re=>{Ea(re)?pt&&pt():Ft&&Ft()},[pt,Ft]);Hi(()=>{ae&&Ke({value:ee})},[ee,Ke,ae]);let ft=re=>{A&&A(re),m.onFocus&&m.onFocus(re),ce&&ce.onFocus?ce.onFocus(re):Pt(!0)},Rt=re=>{O&&O(re),m.onBlur&&m.onBlur(re),ce&&ce.onBlur?ce.onBlur(re):Pt(!1)},ye=(re,...po)=>{if(!ae){let on=re.target||Z.current;if(on==null)throw new Error(gt(1));Ke({value:on.value})}m.onChange&&m.onChange(re,...po),M&&M(re,...po)};It.useEffect(()=>{Ke(Z.current)},[]);let co=re=>{Z.current&&re.currentTarget===re.target&&Z.current.focus(),N&&N(re)},Mo=x,dt=m;C&&Mo==="input"&&(L?dt={type:void 0,minRows:L,maxRows:L,...dt}:dt={type:void 0,maxRows:b,minRows:P,...dt},Mo=Uy);let Wn=re=>{Ke(re.animationName==="mui-auto-fill-cancel"?Z.current:{value:"x"})};It.useEffect(()=>{ce&&ce.setAdornedStart(!!Q)},[ce,Q]);let lr={...r,color:Re.color||"primary",disabled:Re.disabled,endAdornment:d,error:Re.error,focused:Re.focused,formControl:ce,fullWidth:T,hiddenLabel:Re.hiddenLabel,multiline:C,size:Re.size,startAdornment:Q,type:ue},Cr=$N(lr),je=ne.root||Aa,Te=de.root||{},Ze=ne.input||Ma;return dt={...dt,...de.input},(0,Pa.jsxs)(It.Fragment,{children:[!f&&typeof bx=="function"&&(gx||(gx=(0,Pa.jsx)(bx,{}))),(0,Pa.jsxs)(je,{...Te,ref:o,onClick:co,...we,...!hn(je)&&{ownerState:{...lr,...Te.ownerState}},className:I(Cr.root,Te.className,l,w&&"MuiInputBase-readOnly"),children:[Q,(0,Pa.jsx)(Wi.Provider,{value:null,children:(0,Pa.jsx)(Ze,{"aria-invalid":Re.error,"aria-describedby":n,autoComplete:a,autoFocus:i,defaultValue:u,disabled:Re.disabled,id:v,onAnimationStart:Wn,name:E,placeholder:R,readOnly:w,required:Re.required,rows:L,value:ee,onKeyDown:y,onKeyUp:_,type:ue,...dt,...!hn(Ze)&&{as:Mo,ownerState:{...lr,...dt.ownerState}},ref:oe,className:I(Cr.input,dt.className,w&&"MuiInputBase-readOnly"),onBlur:Rt,onChange:ye,onFocus:ft})}),d,B?B({...Re,startAdornment:Q}):null]})]})}),jo=qN;function Tx(e){return V("MuiInput",e)}var GN={...tr,...H("MuiInput",["root","underline","input"])},Ji=GN;function vx(e){return V("MuiOutlinedInput",e)}var KN={...tr,...H("MuiOutlinedInput",["root","notchedOutline","input"])},or=KN;function xx(e){return V("MuiFilledInput",e)}var YN={...tr,...H("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},vn=YN;var Sx=S(U(),1),Cx=it((0,Sx.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");var Rx=S(k(),1);var el=S(k(),1);var Ex=S(U(),1),XN={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},QN={opacity:0,visibility:"hidden"},ZN=el.forwardRef(function(t,o){let r=pn(),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,...h}=t,g=el.useRef(null),b=_t(g,ko(l),o),P=to(g,d),C=to(g,(y,_)=>{_p(y);let R=Xi({style:x,timeout:m,easing:s},{mode:"enter"});y.style.transition=r.transitions.create("opacity",R),p&&p(y,_)}),E=to(g,f),O=to(g,v),M=to(g,y=>{let _=Xi({style:x,timeout:m,easing:s},{mode:"exit"});y.style.transition=r.transitions.create("opacity",_),c&&c(y)}),N=to(g,y=>{y.style.transition="",T&&T(y)});return(0,Ex.jsx)(js,{appear:i,in:u,nodeRef:g,onEnter:C,onEntered:E,onEntering:P,onExit:M,onExited:N,onExiting:O,addEndListener:y=>{a&&a(g.current,y)},timeout:m,...h,children:(y,{ownerState:_,...R})=>{let w=Dp(y,u,XN,QN,x,l.props.style);return el.cloneElement(l,{style:w,ref:b,...R})}})}),ky=ZN;function Px(e){return V("MuiBackdrop",e)}var Tq=H("MuiBackdrop",["root","invisible"]);var jy=S(U(),1),WN=e=>{let{classes:t,invisible:o}=e;return F({root:["root",o&&"invisible"]},Px,t)},JN=j("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"}}]}),e_=Rx.forwardRef(function(t,o){let r=q({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=WN(c),v={component:i,slots:p,slotProps:u},[x,m]=Oe("root",{elementType:JN,externalForwardedProps:v,className:I(T.root,a),ownerState:c}),[h,g]=Oe("transition",{elementType:ky,externalForwardedProps:v,ownerState:c});return(0,jy.jsx)(h,{in:s,timeout:f,...d,...g,children:(0,jy.jsx)(x,{...m,ref:o,children:n})})}),Ly=e_;var t_=H("MuiBox",["root"]),Ox=t_;var o_=dr(),r_=vs({themeId:At,defaultTheme:o_,defaultClassName:Ox.root,generateClassName:wi.generate}),Zt=r_;var Ys=S(k(),1);function Ax(e){return V("MuiButton",e)}var n_=H("MuiButton",["root","text","outlined","contained","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),xn=n_;var Mx=S(k(),1),a_=Mx.createContext({}),wx=a_;var Nx=S(k(),1),i_=Nx.createContext(void 0),_x=i_;var mr=S(U(),1),l_=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${K(n)}`,`color${K(t)}`,o&&"disableElevation",r&&"fullWidth",i&&`loadingPosition${K(l)}`],startIcon:["icon","startIcon"],endIcon:["icon","endIcon"],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},p=F(u,Ax,s);return{...s,...p}},zx=[{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}}}],s_=j(Nr,{shouldForwardProp:e=>De(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],t[`size${K(o.size)}`],o.color==="inherit"&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth,o.loading&&t.loading]}})(X(({theme:e})=>{let t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],o=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${xn.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]},[`&.${xn.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${xn.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)",[`&.${xn.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(ot()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:o,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${xn.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${xn.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}),[`&.${xn.loading}`]:{color:"transparent"}}}]}})),u_=j("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}},...zx]})),c_=j("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}},...zx]})),p_=j("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}}]})),Dx=j("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),f_=Ys.forwardRef(function(t,o){let r=Ys.useContext(wx),n=Ys.useContext(_x),a=sn(r,t),i=q({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:h=null,loadingIndicator:g,loadingPosition:b="center",size:P="medium",startIcon:C,type:E,variant:O="text",...M}=i,N=ba(m),A=g??(0,mr.jsx)(qs,{"aria-labelledby":N,color:"inherit",size:16}),y={...i,color:s,component:u,disabled:f,disableElevation:d,disableFocusRipple:c,fullWidth:x,loading:h,loadingIndicator:A,loadingPosition:b,size:P,type:E,variant:O},_=l_(y),R=(C||h&&b==="start")&&(0,mr.jsx)(u_,{className:_.startIcon,ownerState:y,children:C||(0,mr.jsx)(Dx,{className:_.loadingIconPlaceholder,ownerState:y})}),w=(T||h&&b==="end")&&(0,mr.jsx)(c_,{className:_.endIcon,ownerState:y,children:T||(0,mr.jsx)(Dx,{className:_.loadingIconPlaceholder,ownerState:y})}),B=n||"",L=typeof h=="boolean"?(0,mr.jsx)("span",{className:_.loadingWrapper,style:{display:"contents"},children:h&&(0,mr.jsx)(p_,{className:_.loadingIndicator,ownerState:y,children:A})}):null;return(0,mr.jsxs)(s_,{ownerState:y,className:I(r.className,_.root,p,B),component:u,disabled:f||h,focusRipple:!c,focusVisibleClassName:I(_.focusVisible,v),ref:o,internalNativeButton:!0,type:E,id:h?N:m,...M,classes:_,children:[R,b!=="end"&&L,l,b==="end"&&L,w]})}),Vp=f_;var Xs=S(k(),1);var Ux=S(k(),1);function Bx(e){return V("PrivateSwitchBase",e)}var gG=H("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var Fp=S(U(),1),d_=e=>{let{classes:t,checked:o,disabled:r,edge:n}=e,a={root:["root",o&&"checked",r&&"disabled",n&&`edge${K(n)}`],input:["input"]};return F(a,Bx,t)},m_=j(Nr,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),y_=j("input",{name:"MuiSwitchBase",shouldForwardProp:De})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),h_=Ux.forwardRef(function(t,o){let{autoFocus:r,checked:n,checkedIcon:a,defaultChecked:i,disabled:l,disableFocusRipple:s=!1,edge:u=!1,icon:p,id:f,name:d,onBlur:c,onChange:T,onFocus:v,readOnly:x,required:m=!1,tabIndex:h,type:g,value:b,slots:P={},slotProps:C={},...E}=t,{nativeButton:O,...M}=E,[N,A]=Ds({controlled:n,default:!!i,name:"SwitchBase",state:"checked"}),y=Qt(),_=ee=>{v&&v(ee),y&&y.onFocus&&y.onFocus(ee)},R=ee=>{c&&c(ee),y&&y.onBlur&&y.onBlur(ee)},w=ee=>{if(ee.nativeEvent.defaultPrevented||x)return;let ae=ee.target.checked;A(ae),T&&T(ee,ae)},B=l;y&&typeof B>"u"&&(B=y.disabled);let L=g==="checkbox"||g==="radio",$={...t,checked:N,disabled:B,disableFocusRipple:s,edge:u},de=d_($),ne={slots:P,slotProps:C},[Q,ue]=Oe("root",{ref:o,elementType:m_,className:de.root,shouldForwardComponentProp:!0,externalForwardedProps:{...ne,component:"span",...M},getSlotProps:ee=>({...ee,onFocus:ae=>{ee.onFocus?.(ae),_(ae)},onBlur:ae=>{ee.onBlur?.(ae),R(ae)}}),ownerState:$,additionalProps:{centerRipple:!0,focusRipple:!s,role:void 0,tabIndex:null}}),[Ge,we]=Oe("input",{elementType:y_,className:de.input,externalForwardedProps:ne,getSlotProps:ee=>({...ee,onChange:ae=>{ee.onChange?.(ae),w(ae)}}),ownerState:$,additionalProps:{autoFocus:r,checked:n,defaultChecked:i,disabled:B,id:L?f:void 0,name:d,readOnly:x,required:m,tabIndex:h,type:g,...g==="checkbox"&&b===void 0?{}:{value:b}}});return(0,Fp.jsxs)(Q,{...ue,children:[(0,Fp.jsx)(Ge,{...we}),N?a:p]})}),kx=h_;var jx=S(U(),1),Lx=it((0,jx.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank");var Ix=S(U(),1),Hx=it((0,Ix.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox");var Vx=S(U(),1),Fx=it((0,Vx.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function $x(e){return V("MuiCheckbox",e)}var g_=H("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),$p=g_;var Qs=S(U(),1),b_=e=>{let{classes:t,indeterminate:o,color:r,size:n}=e,a={root:["root",o&&"indeterminate",`color${K(r)}`,`size${K(n)}`]},i=F(a,$x,t);return{...t,...i}},T_=j(kx,{shouldForwardProp:e=>De(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.indeterminate&&t.indeterminate,t[`size${K(o.size)}`],o.color!=="default"&&t[`color${K(o.color)}`]]}})(X(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t},style:{[`&.${$p.checked}, &.${$p.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${$p.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),v_=(0,Qs.jsx)(Hx,{}),x_=(0,Qs.jsx)(Lx,{}),S_=(0,Qs.jsx)(Fx,{}),C_=Xs.forwardRef(function(t,o){let r=q({props:t,name:"MuiCheckbox"}),{checkedIcon:n=v_,color:a="primary",icon:i=x_,indeterminate:l=!1,indeterminateIcon:s=S_,size:u="medium",disableRipple:p=!1,className:f,slots:d={},slotProps:c={},...T}=r,v=l?s:i,x=l?s:n,m={...r,disableRipple:p,color:a,indeterminate:l,size:u},h=b_(m),g=c.input,[b,P]=Oe("root",{ref:o,elementType:T_,className:I(h.root,f),shouldForwardComponentProp:!0,externalForwardedProps:{slots:d,slotProps:c,...T},ownerState:m,additionalProps:{type:"checkbox",icon:Xs.cloneElement(v,{fontSize:v.props.fontSize??u}),checkedIcon:Xs.cloneElement(x,{fontSize:x.props.fontSize??u}),disableRipple:p,slots:d,slotProps:{input:Fi(typeof g=="function"?g(m):g,{"data-indeterminate":l})}}});return(0,Qs.jsx)(b,{...P,classes:h})}),qp=C_;function tl(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}function E_(e){let t=vt(e);return t.body===e?zo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ol(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function qx(e){return parseFloat(zo(e).getComputedStyle(e).paddingRight)||0}function P_(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 Gx(e,t,o,r,n){let a=[t,o,...r];[].forEach.call(e.children,i=>{let l=!a.includes(i),s=!P_(i);l&&s&&ol(i,n)})}function Iy(e,t){let o=-1;return e.some((r,n)=>t(r)?(o=n,!0):!1),o}function R_(e,t){let o=[],r=e.container;if(!t.disableScrollLock){if(E_(r)){let i=tl(zo(r));o.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${qx(r)+i}px`;let l=vt(r).querySelectorAll(".mui-fixed");[].forEach.call(l,s=>{o.push({value:s.style.paddingRight,property:"padding-right",el:s}),s.style.paddingRight=`${qx(s)+i}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=vt(r).body;else{let i=r.parentElement,l=zo(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 O_(e){let t=[];return[].forEach.call(e.children,o=>{o.getAttribute("aria-hidden")==="true"&&t.push(o)}),t}var Gp=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&&ol(t.modalRef,!1);let n=O_(o);Gx(o,t.mount,t.modalRef,n,!0);let a=Iy(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=Iy(this.containers,a=>a.modals.includes(t)),n=this.containers[r];n.restore||(n.restore=R_(n,o))}remove(t,o=!0){let r=this.modals.indexOf(t);if(r===-1)return r;let n=Iy(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&&ol(t.modalRef,o),Gx(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&&ol(i.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}};var Yp=S(k(),1);var Dt=S(k(),1);var Zs=S(U(),1),A_=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function M_(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 w_(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 N_(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||w_(e))}function __(e){let t=[],o=[];return Array.from(e.querySelectorAll(A_)).forEach((r,n)=>{let a=M_(r);a===-1||!N_(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 D_(){return!0}function z_(e){let{children:t,disableAutoFocus:o=!1,disableEnforceFocus:r=!1,disableRestoreFocus:n=!1,getTabbable:a=__,isEnabled:i=D_,open:l}=e,s=Dt.useRef(!1),u=Dt.useRef(null),p=Dt.useRef(null),f=Dt.useRef(null),d=Dt.useRef(null),c=Dt.useRef(!1),T=Dt.useRef(null),v=xt(ko(t),T),x=Dt.useRef(null);Dt.useEffect(()=>{!l||!T.current||(c.current=!o)},[o,l]),Dt.useEffect(()=>{if(!l||!T.current)return;let g=vt(T.current),b=fn(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]),Dt.useEffect(()=>{if(!l||!T.current)return;let g=vt(T.current),b=E=>{if(x.current=E,r||!i()||E.key!=="Tab")return;fn(g)===T.current&&E.shiftKey&&(s.current=!0,p.current&&p.current.focus())},P=()=>{let E=T.current;if(E===null)return;let O=fn(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 M=[];if((O===u.current||O===p.current)&&(M=a(T.current)),M.length>0){let N=!!(x.current?.shiftKey&&x.current?.key==="Tab"),A=M[0],y=M[M.length-1];typeof A!="string"&&typeof y!="string"&&(N?y.focus():A.focus())}else E.focus()};g.addEventListener("focusin",P),g.addEventListener("keydown",b,!0);let C=setInterval(()=>{let E=fn(g);E&&E.tagName==="BODY"&&P()},50);return()=>{clearInterval(C),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)},h=g=>{f.current===null&&(f.current=g.relatedTarget),c.current=!0};return(0,Zs.jsxs)(Dt.Fragment,{children:[(0,Zs.jsx)("div",{tabIndex:l?0:-1,onFocus:h,ref:u,"data-testid":"sentinelStart"}),Dt.cloneElement(t,{ref:v,onFocus:m}),(0,Zs.jsx)("div",{tabIndex:l?0:-1,onFocus:h,ref:p,"data-testid":"sentinelEnd"})]})}var Hy=z_;var rr=S(k(),1);function B_(e){return typeof e=="function"?e():e}function U_(e){return e?e.props.hasOwnProperty("in"):!1}var Kx=()=>{},Kp=new Gp;function k_(e){let{container:t,disableScrollLock:o=!1,closeAfterTransition:r=!1,onTransitionEnter:n,onTransitionExited:a,children:i,onClose:l,open:s,rootRef:u}=e,p=rr.useRef({}),f=rr.useRef(null),d=rr.useRef(null),c=xt(d,u),[T,v]=rr.useState(!s),x=U_(i),m=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(m=!1);let h=()=>vt(f.current),g=()=>(p.current.modalRef=d.current,p.current.mount=f.current,p.current),b=()=>{Kp.mount(g(),{disableScrollLock:o}),d.current&&(d.current.scrollTop=0)},P=Bo(()=>{let R=B_(t)||h().body;Kp.add(g(),R),d.current&&b()}),C=()=>Kp.isTopModal(g()),E=Bo(R=>{f.current=R,R&&(s&&C()?b():d.current&&ol(d.current,m))}),O=rr.useCallback(()=>{Kp.remove(g(),m)},[m]);rr.useEffect(()=>()=>{O()},[O]),rr.useEffect(()=>{s?P():(!x||!r)&&O()},[s,O,x,r,P]);let M=R=>w=>{R.onKeyDown?.(w),!(w.key!=="Escape"||w.which===229||!C())&&(w.stopPropagation(),l&&l(w,"escapeKeyDown"))},N=R=>w=>{R.onClick?.(w),w.target===w.currentTarget&&l&&l(w,"backdropClick")};return{getRootProps:(R={})=>{let w=Vs(e);delete w.onTransitionEnter,delete w.onTransitionExited;let B={...w,...R};return{role:"presentation",...B,onKeyDown:M(B),ref:c}},getBackdropProps:(R={})=>{let w=R;return{"aria-hidden":!0,...w,onClick:N(w),open:s}},getTransitionProps:()=>{let R=()=>{v(!1),n&&n()},w=()=>{v(!0),a&&a(),r&&O()};return{onEnter:Ns(R,i?.props.onEnter??Kx),onExited:Ns(w,i?.props.onExited??Kx)}},rootRef:c,portalRef:E,isTopModal:C,exited:T,hasTransition:x}}var Yx=k_;function Xx(e){return V("MuiModal",e)}var RK=H("MuiModal",["root","hidden","backdrop"]);var rl=S(U(),1),j_=e=>{let{open:t,exited:o,classes:r}=e;return F({root:["root",!t&&o&&"hidden"],backdrop:["backdrop"]},Xx,r)},L_=j("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,!o.open&&o.exited&&t.hidden]}})(X(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),I_=j(Ly,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),H_=Yp.forwardRef(function(t,o){let r=q({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:h,onTransitionExited:g,open:b,slotProps:P={},slots:C={},theme:E,...O}=r,M={...r,closeAfterTransition:i,disableAutoFocus:p,disableEnforceFocus:f,disablePortal:d,disableRestoreFocus:c,disableScrollLock:T,hideBackdrop:v,keepMounted:x},{getRootProps:N,getBackdropProps:A,getTransitionProps:y,portalRef:_,isTopModal:R,exited:w,hasTransition:B}=Yx({...M,rootRef:o}),L={...M,exited:w},$=j_(L),de={};if(l.props.tabIndex===void 0&&(de.tabIndex="-1"),B){let{onEnter:ee,onExited:ae}=y();de.onEnter=ee,de.onExited=ae}let ne={slots:C,slotProps:P},[Q,ue]=Oe("root",{ref:o,elementType:L_,externalForwardedProps:{...ne,...O,component:u},getSlotProps:N,ownerState:L,className:I(a,$?.root,!L.open&&L.exited&&$?.hidden)}),[Ge,we]=Oe("backdrop",{elementType:I_,externalForwardedProps:ne,shouldForwardComponentProp:!0,getSlotProps:ee=>A({...ee,onClick:ae=>{ee?.onClick&&ee.onClick(ae)}}),className:$?.backdrop,ownerState:L});return!x&&!b&&(!B||w)?null:(0,rl.jsx)(By,{ref:_,container:s,disablePortal:d,children:(0,rl.jsxs)(Q,{...ue,children:[v?null:(0,rl.jsx)(Ge,{...we}),(0,rl.jsx)(Hy,{disableEnforceFocus:f,disableAutoFocus:p,disableRestoreFocus:c,isEnabled:R,open:b,children:Yp.cloneElement(l,de)})]})})}),Vy=H_;var Zx=S(k(),1);function Qx(e){return V("MuiDivider",e)}var V_=H("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","vertical","withChildren","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Xp=V_;var Fy=S(U(),1),F_=e=>{let{absolute:t,children:o,classes:r,flexItem:n,orientation:a,textAlign:i,variant:l}=e;return F({root:["root",t&&"absolute",l,a==="vertical"&&"vertical",n&&"flexItem",o&&"withChildren",i==="right"&&a!=="vertical"&&"textAlignRight",i==="left"&&a!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",a==="vertical"&&"wrapperVertical"]},Qx,r)},$_=j("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.absolute&&t.absolute,t[o.variant],o.orientation==="vertical"&&t.vertical,o.flexItem&&t.flexItem,o.children&&t.withChildren,o.textAlign==="right"&&o.orientation!=="vertical"&&t.textAlignRight,o.textAlign==="left"&&o.orientation!=="vertical"&&t.textAlignLeft]}})(X(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),q_=j("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.wrapper,o.orientation==="vertical"&&t.wrapperVertical]}})(X(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),G_=Zx.forwardRef(function(t,o){let r=q({props:t,name:"MuiDivider"}),{absolute:n=!1,children:a,className:i,orientation:l="horizontal",component:s=a||l==="vertical"?"div":"hr",flexItem:u=!1,role:p=s!=="hr"?"separator":void 0,textAlign:f="center",variant:d="fullWidth",...c}=r,T={...r,absolute:n,component:s,flexItem:u,orientation:l,role:p,textAlign:f,variant:d},v=F_(T);return(0,Fy.jsx)($_,{as:s,className:I(v.root,i),role:p,ref:o,ownerState:T,"aria-orientation":p==="separator"&&(s!=="hr"||l==="vertical")?l:void 0,...c,children:a?(0,Fy.jsx)(q_,{className:v.wrapper,ownerState:T,children:a}):null})}),Ws=G_;var Wx=S(k(),1);var Jx=S(U(),1),K_=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${K(a)}`,i&&"hiddenLabel",l&&"multiline"],input:["input"]},u=F(s,xx,t);return{...t,...u}},Y_=j(Aa,{shouldForwardProp:e=>De(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[...Ra(e,t),!o.disableUnderline&&t.underline]}})(X(({theme:e})=>{let t=e.palette.mode==="light",o=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",n=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:n,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${vn.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${vn.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"},[`&.${vn.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${vn.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(.${vn.disabled}, .${vn.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${vn.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(ot()).map(([i])=>({props:{disableUnderline:!1,color:i},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[i]?.main}`}}})),{props:({ownerState:i})=>i.startAdornment,style:{paddingLeft:12}},{props:({ownerState:i})=>i.endAdornment,style:{paddingRight:12}},{props:({ownerState:i})=>i.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:i,size: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}}]}})),X_=j(Ma,{name:"MuiFilledInput",slot:"Input",overridesResolver:Oa})(X(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),eS=Wx.forwardRef(function(t,o){let r=q({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=K_(r),v={root:{ownerState:c},input:{ownerState:c}},x=u?Ue(v,u):v,m=p.root??Y_,h=p.input??X_;return(0,Jx.jsx)(jo,{slots:{root:m,input:h},slotProps:x,fullWidth:a,inputComponent:l,multiline:s,ref:o,type:f,...d,classes:T})});eS.muiName="Input";var Js=eS;var Ht=S(k(),1);function tS(e){return V("MuiFormControl",e)}var vY=H("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var $y=S(U(),1),Q_=e=>{let{classes:t,margin:o,fullWidth:r}=e,n={root:["root",o!=="none"&&`margin${K(o)}`,r&&"fullWidth"]};return F(n,tS,t)},Z_=j("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[`margin${K(o.margin)}`],o.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),W_=Ht.forwardRef(function(t,o){let r=q({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,h={...r,color:i,component:l,disabled:s,error:u,fullWidth:f,hiddenLabel:d,margin:c,required:T,size:v,variant:x},g=Q_(h),[b,P]=Ht.useState(()=>{let B=!1;return n&&Ht.Children.forEach(n,L=>{if(!Ep(L,["Input","Select"]))return;let $=Ep(L,["Select"])?L.props.input:L;$&&yx($.props)&&(B=!0)}),B}),[C,E]=Ht.useState(()=>{let B=!1;return n&&Ht.Children.forEach(n,L=>{Ep(L,["Input","Select"])&&(Ea(L.props,!0)||Ea(L.props.inputProps,!0))&&(B=!0)}),B}),[O,M]=Ht.useState(!1);s&&O&&M(!1);let N=p!==void 0&&!s?p:O,A,y=Ht.useRef(!1),_=Ht.useCallback(()=>{E(!0)},[]),R=Ht.useCallback(()=>{E(!1)},[]),w=Ht.useMemo(()=>({adornedStart:b,setAdornedStart:P,color:i,disabled:s,error:u,filled:C,focused:N,fullWidth:f,hiddenLabel:d,size:v,onBlur:()=>{M(!1)},onFocus:()=>{M(!0)},onEmpty:R,onFilled:_,registerEffect:A,required:T,variant:x}),[b,i,s,u,C,N,f,d,A,R,_,T,v,x]);return(0,$y.jsx)(Wi.Provider,{value:w,children:(0,$y.jsx)(Z_,{as:l,ownerState:h,className:I(g.root,a),ref:o,...m,children:n})})}),qy=W_;var nS=S(k(),1);function oS(e){return V("MuiFormHelperText",e)}var J_=H("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),Gy=J_;var Ky=S(U(),1),rS,eD=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${K(r)}`,o&&"contained",l&&"focused",i&&"filled",s&&"required"]};return F(u,oS,t)},tD=j("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.size&&t[`size${K(o.size)}`],o.contained&&t.contained,o.filled&&t.filled]}})(X(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Gy.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Gy.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}}]}))),oD=nS.forwardRef(function(t,o){let r=q({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=Qt(),x=go({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 h=eD(m);return(0,Ky.jsx)(tD,{as:i,className:I(h.root,a),ref:o,...T,ownerState:m,children:n===" "?rS||(rS=(0,Ky.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"})):n})}),Yy=oD;var iS=S(k(),1);function aS(e){return V("MuiFormLabel",e)}var rD=H("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Sn=rD;var Xy=S(U(),1),nD=e=>{let{classes:t,color:o,focused:r,disabled:n,error:a,filled:i,required:l}=e,s={root:["root",`color${K(o)}`,n&&"disabled",a&&"error",i&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",a&&"error"]};return F(s,aS,t)},aD=j("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.color==="secondary"&&t.colorSecondary,o.filled&&t.filled]}})(X(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t},style:{[`&.${Sn.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Sn.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Sn.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),iD=j("span",{name:"MuiFormLabel",slot:"Asterisk"})(X(({theme:e})=>({[`&.${Sn.error}`]:{color:(e.vars||e).palette.error.main}}))),lD=iS.forwardRef(function(t,o){let r=q({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=Qt(),v=go({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=nD(x);return(0,Xy.jsxs)(aD,{as:l,ownerState:x,className:I(m.root,a),ref:o,...c,children:[n,v.required&&(0,Xy.jsxs)(iD,{ownerState:x,"aria-hidden":!0,className:m.asterisk,children:["\u2009","*"]})]})}),Qy=lD;var wa=S(k(),1);var lS=S(U(),1);function eu(e){return`scale(${e}, ${e**2})`}var sD={entering:{opacity:1,transform:eu(1)},entered:{opacity:1,transform:"none"},exiting:{opacity:0,transform:eu(.75)},exited:{opacity:0,transform:eu(.75)}},uD={opacity:0,transform:eu(.75),visibility:"hidden"},Zy=wa.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=Yi(),h=wa.useRef(),g=pn(),b=wa.useRef(null),P=_t(b,ko(a),o),C=to(b,p),E=to(b,(_,R)=>{_p(_);let{duration:w,delay:B,easing:L}=Xi({style:T,timeout:v,easing:i},{mode:"enter"}),$;v==="auto"?($=g.transitions.getAutoHeightDuration(_.clientHeight),h.current=$):$=w,_.style.transition=[g.transitions.create("opacity",{duration:$,delay:B}),g.transitions.create("transform",{duration:$*.666,delay:B,easing:L})].join(","),s&&s(_,R)}),O=to(b,u),M=to(b,c),N=to(b,_=>{let{duration:R,delay:w,easing:B}=Xi({style:T,timeout:v,easing:i},{mode:"exit"}),L;v==="auto"?(L=g.transitions.getAutoHeightDuration(_.clientHeight),h.current=L):L=R,_.style.transition=[g.transitions.create("opacity",{duration:L,delay:w}),g.transitions.create("transform",{duration:L*.666,delay:w||L*.333,easing:B})].join(","),_.style.opacity=0,_.style.transform=eu(.75),f&&f(_)}),A=to(b,_=>{_.style.transition="",d&&d(_)});return(0,lS.jsx)(js,{appear:n,in:l,nodeRef:b,onEnter:E,onEntered:O,onEntering:C,onExit:N,onExited:A,onExiting:M,addEndListener:_=>{v==="auto"&&m.start(h.current||0,_),r&&r(b.current,_)},timeout:v==="auto"?null:v,...x,children:(_,{ownerState:R,...w})=>{let B=Dp(_,l,sD,uD,T,a.props.style);return wa.cloneElement(a,{style:B,ref:P,...w})}})});Zy&&(Zy.muiSupportAuto=!0);var Wy=Zy;var cS=S(k(),1);function sS(e){return V("MuiInputLabel",e)}var cD=H("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]),uS=cD;var pS=S(U(),1),pD=e=>{let{classes:t,disableUnderline:o}=e,n=F({root:["root",!o&&"underline"],input:["input"]},Tx,t);return{...t,...n}},fD=j(Aa,{shouldForwardProp:e=>De(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[...Ra(e,t),!o.disableUnderline&&t.underline]}})(X(({theme:e})=>{let o=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(o=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{[`label + &, .${uS.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"},[`&.${Ji.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ji.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(.${Ji.disabled}, .${Ji.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${o}`}},[`&.${Ji.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(ot()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),dD=j(Ma,{name:"MuiInput",slot:"Input",overridesResolver:Oa})({}),fS=cS.forwardRef(function(t,o){let r=q({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=pD(r),T={root:{ownerState:{disableUnderline:n}}},v=s?Ue(s,T):T,x=u.root??fD,m=u.input??dD;return(0,pS.jsx)(jo,{slots:{root:x,input:m},slotProps:v,fullWidth:a,inputComponent:i,multiline:l,ref:o,type:p,...f,classes:d})});fS.muiName="Input";var tu=fS;var dS=S(k(),1);var mS=S(U(),1),mD=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${K(r)}`,i],asterisk:[l&&"asterisk"]},u=F(s,sS,t);return{...t,...u}},yD=j(Qy,{shouldForwardProp:e=>De(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[{[`& .${Sn.asterisk}`]:t.asterisk},t.root,o.formControl&&t.formControl,o.size==="small"&&t.sizeSmall,o.shrink&&t.shrink,!o.disableAnimation&&t.animated,o.focused&&t.focused,t[o.variant]]}})(X(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:o})=>t==="filled"&&o.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:o,size:r})=>t==="filled"&&o.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:o})=>t==="outlined"&&o.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),hD=dS.forwardRef(function(t,o){let r=q({name:"MuiInputLabel",props:t}),{disableAnimation:n=!1,margin:a,shrink:i,variant:l,className:s,...u}=r,p=Qt(),f=i;typeof f>"u"&&p&&(f=p.filled||p.focused||p.adornedStart);let d=go({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=mD(c);return(0,mS.jsx)(yD,{"data-shrink":f,ref:o,className:I(T.root,s),...u,ownerState:c,classes:T})}),Jy=hD;var Qp=S(k(),1);var yS=S(k(),1),gD=yS.createContext({}),Na=gD;function hS(e){return V("MuiList",e)}var lQ=H("MuiList",["root","padding","dense","subheader"]);var Zp=S(U(),1),bD=e=>{let{classes:t,disablePadding:o,dense:r,subheader:n}=e;return F({root:["root",!o&&"padding",r&&"dense",n&&"subheader"]},hS,t)},TD=j("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}}]}),vD=Qp.forwardRef(function(t,o){let r=q({props:t,name:"MuiList"}),{children:n,className:a,component:i="ul",dense:l=!1,disablePadding:s=!1,subheader:u,...p}=r,f=Qp.useMemo(()=>({dense:l}),[l]),d={...r,component:i,dense:l,disablePadding:s},c=bD(d);return(0,Zp.jsx)(Na.Provider,{value:f,children:(0,Zp.jsxs)(TD,{as:i,className:I(c.root,a),ref:o,ownerState:d,...p,children:[u,n]})})}),eh=vD;var Jp=S(k(),1);function gS(e){return V("MuiListItemIcon",e)}var xD=H("MuiListItemIcon",["root","alignItemsFlexStart"]),Wp=xD;var bS=S(U(),1),SD=e=>{let{alignItems:t,classes:o}=e;return F({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},gS,o)},CD=j("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(X(({theme:e})=>({minWidth:e.spacing(4.5),color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),ED=Jp.forwardRef(function(t,o){let r=q({props:t,name:"MuiListItemIcon"}),{className:n,...a}=r,i=Jp.useContext(Na),l={...r,alignItems:i.alignItems},s=SD(l);return(0,bS.jsx)(CD,{className:I(s.root,n),ownerState:l,ref:o,...a})}),ef=ED;var PD=H("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),tf=PD;var mf=S(k(),1);var oo=S(k(),1);var of=S(k(),1),rf=of.createContext(void 0);function th(){let e=of.useContext(rf);if(e===void 0)throw new Error("MUI: RovingTabIndexContext is missing. Roving tab index items must be placed within a roving tab index provider.");return e}var We=S(k(),1);var RD=Object.is;function nf(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,!RD(e[n],t[n])||!(n in t))return!1;for(let n in t)r+=1;return o===r}var OD=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown","Home","End"];function nh(e){let{activeItemId:t,getDefaultActiveItemId:o,orientation:r,isRtl:n=!1,isItemFocusable:a=nl,wrap:i=!0}=e,[l,s]=We.useState(t),u=We.useRef(t),p=l;t!==u.current&&(u.current=t,t!==void 0&&t!==l&&(p=t,s(t)));let f=We.useRef(null),d=We.useRef(new Map),[c,T]=We.useState(0),v=We.useMemo(()=>oh(d.current),[c]),x=TS(p,v,a,o),m=We.useRef(x);m.current=x;let h=We.useCallback(()=>{let A=oh(d.current),y=TS(m.current,A,a,o);return ES(A,y)},[o,a]),g=We.useCallback(()=>d.current,[]),b=Bo(A=>{let y=d.current.get(A.id);nf(y??null,A)||(d.current.set(A.id,A),T(_=>_+1))}),P=Bo(A=>{d.current.delete(A)&&T(y=>y+1)}),C=Bo(A=>{s(A)}),E=We.useCallback(A=>m.current===A,[]),O=We.useCallback((A,y,_,R)=>{let w=af(d.current),B=SS(w,A,y,_,R??a);return B?(B.element?.focus(),s(B.id),B):null},[a]),M=We.useCallback(A=>({onFocus:R=>{let w=af(d.current),B=RS(w,R.target);B!==-1&&s(w[B].id)},onKeyDown:R=>{if(R.altKey||R.shiftKey||R.ctrlKey||R.metaKey||!OD.includes(R.key))return;let w=r==="horizontal"?"ArrowLeft":"ArrowUp",B=r==="horizontal"?"ArrowRight":"ArrowDown";r==="horizontal"&&n&&(w="ArrowRight",B="ArrowLeft");let L=af(d.current),$=ha(vt(f.current)),de=$===f.current,ne=vS(L,$,m.current),Q="next";switch(R.key){case w:Q="previous",R.preventDefault(),de&&(ne=L.length);break;case B:R.preventDefault(),de&&(ne=-1);break;case"Home":R.preventDefault(),ne=-1;break;case"End":R.preventDefault(),Q="previous",ne=L.length;break;default:return}O(ne,Q,i)},ref:ND(A,R=>{f.current=R})}),[O,n,r,i]),N=We.useCallback(A=>{let y=af(d.current),_=ha(vt(f.current)),w=_===f.current?-1:vS(y,_,m.current);return O(w,"next",!0,A)?.id??null},[O]);return We.useMemo(()=>({activeItemId:x,focusNext:N,getActiveItem:h,getContainerProps:M,getItemMap:g,isItemActive:E,registerItem:b,setActiveItemId:C,unregisterItem:P}),[x,N,h,M,g,E,b,C,P])}function ah(e){let t=th(),{activeItemId:o,registerItem:r,unregisterItem:n}=t,a=We.useRef(null),i=We.useMemo(()=>({disabled:e.disabled??!1,element:null,focusableWhenDisabled:e.focusableWhenDisabled??!1,id:e.id,selected:e.selected??!1,textValue:e.textValue}),[e.disabled,e.focusableWhenDisabled,e.id,e.selected,e.textValue]),l=We.useRef(i);l.current=i;let s=We.useCallback(p=>{if(a.current=p,p==null){queueMicrotask(()=>{a.current==null&&n(e.id)});return}r({...l.current,element:p})},[e.id,r,n]),u=xt(e.ref,s);return Tt(()=>{a.current&&r({...i,element:a.current})},[i,r]),Tt(()=>{let p=e.id;return()=>{n(p)}},[e.id,n]),{ref:u,tabIndex:o===e.id?0:-1}}function TS(e,t,o,r){return e!=null?AD(e,t,o):MD(t,o,r)}function AD(e,t,o){let r=PS(t,e);return r===-1?CS(t,o):o(t[r])?t[r].id:SS(t,r,"next",!1,o)?.id??null}function MD(e,t,o){let r=o?.(e);if(r!=null){let n=ES(e,r);if(n&&t(n))return n.id}return CS(e,t)}function vS(e,t,o){if(t){let r=RS(e,t);if(r!==-1)return r}return PS(e,o)}function SS(e,t,o,r,n){let a=e.length-1;if(a===-1)return null;let i=!1,l=xS(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=xS(l,a,o,r);else return u}return null}function CS(e,t){return e.find(o=>t(o))?.id??null}function ES(e,t){return t==null?null:e.find(o=>o.id===t)??null}function PS(e,t){return t==null?-1:e.findIndex(o=>o.id===t)}function RS(e,t){return t?e.findIndex(o=>o.element===t||o.element?.contains(t)):-1}function oh(e){let t=Array.from(e.values());if(t.every(n=>n.element==null))return t;let o=t.filter(rh).sort((n,a)=>wD(n.element,a.element)),r=t.filter(n=>!rh(n));return[...o,...r]}function af(e){return oh(e).filter(rh)}function xS(e,t,o,r=!0){return o==="next"?e===t?r?0:-1:e+1:e===0?r?t:-1:e-1}function nl(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 rh(e){return e.element!=null&&e.element.isConnected}function wD(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 ND(...e){return t=>{e.forEach(o=>{ga(o??null,t)})}}var OS=tl;function ou(e,t){if(t==null){e.focus();return}try{e.focus({focusVisible:t==="keyboard"})}catch{e.focus()}}function lf(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 sf(e){return e==null||typeof e=="string"&&!e.trim()}function ru(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}var uf=S(k(),1),AS=uf.createContext(null);function nu(){return uf.useContext(AS)}var ih=AS.Provider;var cf=S(k(),1),lh=cf.createContext(void 0);function MS(){let e=cf.useContext(lh);if(e===void 0)throw new Error("MUI: MenuListContext is missing. MenuItems must be placed within Menu or MenuList.");return e}var pf=S(U(),1);function _D(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 wS(e,t){if(t===void 0)return!0;let o=_D(e);return o=o.trim().toLowerCase(),o.length===0?!1:t.repeating?o[0]===t.keys[0]:o.startsWith(t.keys.join(""))}function DD(e,t){return wS(e,t)?nl(e):!1}function zD(e,t){ou(e,t)}var BD=oo.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=oo.useRef(null),T=oo.useRef(!1),[v,x]=oo.useState(!1),m=nu(),h=oo.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null}),g=oo.useCallback(w=>f==="selectedMenu"?w.find(B=>B.selected&&nl(B))?.id??w.find(B=>nl(B))?.id??null:w.find(B=>nl(B))?.id??null,[f]),b=nh({activeItemId:void 0,getDefaultActiveItemId:g,orientation:"vertical",wrap:!u}),{activeItemId:P,focusNext:C,getActiveItem:E,getContainerProps:O,getItemMap:M}=b,N=mn((w=!1)=>{if(!c.current||!w&&T.current)return null;if(a){let B=E();if(B?.element){let L=Array.from(M().values()).some(de=>de.selected),$=f==="menu"&&L&&!B.selected&&m==null;return x($),zD(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)});Hi(()=>{if(!n&&!a){T.current=!1,x(!1);return}N()},[P,a,n,N]),oo.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(w,{direction:B})=>{let L=!c.current.style.width;if(w.clientHeight<c.current.clientHeight&&L){let $=`${OS(_s(w))}px`;c.current.style[B==="rtl"?"paddingLeft":"paddingRight"]=$,c.current.style.width=`calc(100% + ${$})`}return c.current},focusInitialTarget:()=>{if(!c.current)return null;let w=fn(dn(c.current));return w&&c.current.contains(w)?w:N(!0)}}),[N]);let A=O(),y=_t(c,A.ref,o),_=oo.useMemo(()=>({itemsFocusableWhenDisabled:s,suppressInitialFocusVisible:v,variant:f}),[s,v,f]),R=mn(w=>{if(v&&x(!1),(w.ctrlKey||w.metaKey||w.altKey)&&p){p(w);return}if(A.onKeyDown(w),w.key.length===1){let L=h.current,$=w.key.toLowerCase(),de=performance.now();L.keys.length>0&&(de-L.lastTime>500?(L.keys=[],L.repeating=!0,L.previousKeyMatched=!0):L.repeating&&$!==L.keys[0]&&(L.repeating=!1)),L.lastTime=de,L.keys.push($);let ne=fn(dn(c.current)),Q=ne&&!L.repeating&&wS(ne,L);L.previousKeyMatched&&(Q||C(ue=>DD(ue,L))!=null)?w.preventDefault():L.previousKeyMatched=!1}p&&p(w)});return(0,pf.jsx)(eh,{role:"menu",ref:y,className:l,onKeyDown:R,onFocus:A.onFocus,tabIndex:-1,...d,children:(0,pf.jsx)(lh.Provider,{value:_,children:(0,pf.jsx)(rf.Provider,{value:b,children:i})})})}),al=BD;var zt=S(k(),1);function NS(e){return V("MuiPopover",e)}var NZ=H("MuiPopover",["root","paper"]);var df=S(U(),1);function _S(e,t){let o=0;return typeof t=="number"?o=t:t==="center"?o=e.height/2:t==="bottom"&&(o=e.height),o}function DS(e,t){let o=0;return typeof t=="number"?o=t:t==="center"?o=e.width/2:t==="right"&&(o=e.width),o}function zS(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function ff(e){return typeof e=="function"?e():e}var UD=e=>{let{classes:t}=e;return F({root:["root"],paper:["paper"]},NS,t)},kD=j(Vy,{name:"MuiPopover",slot:"Root"})({}),sh=j(gn,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),jD=zt.forwardRef(function(t,o){let r=q({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:h={vertical:"top",horizontal:"left"},transitionDuration:g="auto",disableScrollLock:b=!1,...P}=r,C=zt.useRef(),E={...r,anchorOrigin:i,anchorReference:s,elevation:c,marginThreshold:T,transformOrigin:h,transitionDuration:g},O=UD(E),M=zt.useCallback(()=>{if(s==="anchorPosition")return l;let te=ff(a),be=(te&&te.nodeType===1?te:dn(C.current).body).getBoundingClientRect();return{top:be.top+_S(be,i.vertical),left:be.left+DS(be,i.horizontal)}},[a,i.horizontal,i.vertical,l,s]),N=zt.useCallback(te=>({vertical:_S(te,h.vertical),horizontal:DS(te,h.horizontal)}),[h.horizontal,h.vertical]),A=zt.useCallback(te=>{let oe={width:te.offsetWidth,height:te.offsetHeight},be=N(oe);if(s==="none")return{top:null,left:null,transformOrigin:zS(be)};let Pt=M(),ce=Pt.top-be.vertical,Re=Pt.left-be.horizontal,pt=ce+oe.height,Ft=Re+oe.width,Ke=_s(ff(a)),ft=Ke.innerHeight-T,Rt=Ke.innerWidth-T;if(T!=null&&ce<T){let ye=ce-T;ce-=ye,be.vertical+=ye}else if(T!=null&&pt>ft){let ye=pt-ft;ce-=ye,be.vertical+=ye}if(T!=null&&Re<T){let ye=Re-T;Re-=ye,be.horizontal+=ye}else if(Ft>Rt){let ye=Ft-Rt;Re-=ye,be.horizontal+=ye}return{top:`${Math.round(ce)}px`,left:`${Math.round(Re)}px`,transformOrigin:zS(be)}},[a,s,M,N,T]),[y,_]=zt.useState(v),R=zt.useCallback(()=>{let te=C.current;if(!te)return;let oe=A(te);oe.top!=null&&te.style.setProperty("top",oe.top),oe.left!=null&&(te.style.left=oe.left),te.style.transformOrigin=oe.transformOrigin,_(!0)},[A]);zt.useEffect(()=>(b&&window.addEventListener("scroll",R),()=>window.removeEventListener("scroll",R)),[a,b,R]);let w=()=>{R()},B=()=>{_(!1)};zt.useEffect(()=>{v&&R()}),zt.useImperativeHandle(n,()=>v?{updatePosition:()=>{R()}}:null,[v,R]),zt.useEffect(()=>{if(!v)return;let te=B0(()=>{R()}),oe=_s(ff(a));return oe.addEventListener("resize",te),()=>{te.clear(),oe.removeEventListener("resize",te)}},[a,v,R]);let L=g,$={slots:x,slotProps:m},[de,ne]=Oe("transition",{elementType:Wy,externalForwardedProps:$,ownerState:E,getSlotProps:te=>({...te,onEntering:(oe,be)=>{te.onEntering?.(oe,be),w()},onExited:oe=>{te.onExited?.(oe),B()}}),additionalProps:{appear:!0,in:v}});g==="auto"&&!de.muiSupportAuto&&(L=void 0);let Q=f||(a?dn(ff(a)).body:void 0),[ue,{slots:Ge,slotProps:we,...ee}]=Oe("root",{ref:o,elementType:kD,externalForwardedProps:{...$,...P},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:x.backdrop},slotProps:{backdrop:Fi(typeof m.backdrop=="function"?m.backdrop(E):m.backdrop,{invisible:!0})},container:Q,open:v},ownerState:E,className:I(O.root,p)}),[ae,Z]=Oe("paper",{ref:C,className:O.paper,elementType:sh,externalForwardedProps:$,shouldForwardComponentProp:!0,additionalProps:{elevation:c,style:y?void 0:{opacity:0}},ownerState:E});return(0,df.jsx)(ue,{...ee,...!hn(ue)&&{slots:Ge,slotProps:we,disableAutoFocus:d,disableScrollLock:b},children:(0,df.jsx)(de,{...ne,timeout:L,children:(0,df.jsx)(ae,{...Z,children:u})})})}),uh=jD;function BS(e){return V("MuiMenu",e)}var eW=H("MuiMenu",["root","paper","list"]);var ch=S(U(),1),LD={vertical:"top",horizontal:"right"},ID={vertical:"top",horizontal:"left"},HD=e=>{let{classes:t}=e;return F({root:["root"],paper:["paper"],list:["list"]},BS,t)},VD=j(uh,{shouldForwardProp:e=>De(e)||e==="classes",name:"MuiMenu",slot:"Root"})({}),FD=j(sh,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),$D=j(al,{name:"MuiMenu",slot:"List"})({outline:0}),qD=mf.forwardRef(function(t,o){let r=q({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=Qv(),m={...r,autoFocus:n,disableAutoFocusItem:l,transitionDuration:f,variant:d},h=HD(m),g=n&&u,b=g&&!l,P=mf.useRef(null),C=(w,B)=>{P.current&&(P.current.adjustStyleForScrollbar(w,{direction:x?"rtl":"ltr"}),g&&P.current.focusInitialTarget?.())},E=w=>{w.key==="Tab"&&(w.preventDefault(),s&&s(w,"tabKeyDown"))},O={slots:c,slotProps:T},M=zy({elementType:c.root,externalSlotProps:T.root,ownerState:m,className:[h.root,i]}),[N,A]=Oe("paper",{className:h.paper,elementType:FD,externalForwardedProps:O,shouldForwardComponentProp:!0,ownerState:m}),[y,_]=Oe("list",{className:h.list,elementType:$D,shouldForwardComponentProp:!0,externalForwardedProps:O,getSlotProps:w=>({...w,onKeyDown:B=>{E(B),w.onKeyDown?.(B)}}),ownerState:m}),R=typeof T.transition=="function"?T.transition(m):T.transition;return(0,ch.jsx)(VD,{disableAutoFocus:n,onClose:s,anchorOrigin:{vertical:"bottom",horizontal:x?"right":"left"},transformOrigin:x?LD:ID,slots:{root:c.root,paper:N,backdrop:c.backdrop,transition:c.transition},slotProps:{root:M,paper:A,backdrop:typeof T.backdrop=="function"?T.backdrop(m):T.backdrop,transition:{...R,onEntering:(...w)=>{C(...w),R?.onEntering?.(...w)}}},open:u,ref:o,transitionDuration:f,ownerState:m,...v,classes:p,children:(0,ch.jsx)(y,{actions:P,autoFocus:g,autoFocusItem:b,variant:d,..._,children:a})})}),US=qD;var Cn=S(k(),1);function kS(e){return V("MuiMenuItem",e)}var GD=H("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),il=GD;var ph=S(U(),1),KD=(e,t)=>{let{ownerState:o}=e;return[t.root,o.dense&&t.dense,o.divider&&t.divider,!o.disableGutters&&t.gutters]},YD=e=>{let{disabled:t,dense:o,divider:r,disableGutters:n,selected:a,classes:i}=e,s=F({root:["root",o&&"dense",t&&"disabled",!n&&"gutters",r&&"divider",a&&"selected"]},kS,i);return{...i,...s}},XD=j(Nr,{shouldForwardProp:e=>De(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:KD})(X(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${il.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${il.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${il.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${il.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${il.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Xp.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Xp.inset}`]:{marginLeft:52},[`& .${tf.root}`]:{marginTop:0,marginBottom:0},[`& .${tf.inset}`]:{paddingLeft:36},[`& .${Wp.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${Wp.root} svg`]:{fontSize:"1.25rem"}}}]}))),QD=Cn.forwardRef(function(t,o){let r=q({props:t,name:"MuiMenuItem"}),{autoFocus:n=!1,component:a="li",dense:i=!1,divider:l=!1,disableGutters:s=!1,focusVisibleClassName:u,role:p="menuitem",tabIndex:f,className:d,...c}=r,T=nu(),v=Cn.useContext(Na),x=Cn.useMemo(()=>({dense:i||v.dense||!1,disableGutters:s}),[v.dense,i,s]),m=MS(),h=ba(),g=m.suppressInitialFocusVisible,b=m.itemsFocusableWhenDisabled,P=Cn.useRef(null);Hi(()=>{n&&P.current&&ou(P.current,T)},[n]);let C={...r,dense:x.dense,divider:l,disableGutters:s},E=YD(r),O=ah({id:h,ref:o,disabled:r.disabled,focusableWhenDisabled:b,selected:r.selected}),M=_t(P,O.ref),N;return f!==void 0?N=f:m.variant==="selectedMenu"?N=O.tabIndex:(!r.disabled||b)&&(N=-1),(0,ph.jsx)(Na.Provider,{value:x,children:(0,ph.jsx)(XD,{ref:M,role:p,tabIndex:N,component:a,internalNativeButton:!1,focusableWhenDisabled:b,suppressFocusVisible:g,focusVisibleClassName:I(E.focusVisible,u),className:I(E.root,d),...c,ownerState:C,classes:E})})}),_a=QD;var hf=S(k(),1);function jS(e){return V("MuiNativeSelect",e)}var ZD=H("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),yf=ZD;var au=S(U(),1),WD=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${K(o)}`,a&&"iconOpen",r&&"disabled"]};return F(l,jS,t)},fh=j("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${yf.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}}}]})),JD=j(fh,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:De,overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.select,t[o.variant],o.error&&t.error,{[`&.${yf.multiple}`]:t.multiple}]}})({}),dh=j("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${yf.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}}]})),e5=j(dh,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.icon,o.variant&&t[`icon${K(o.variant)}`],o.open&&t.iconOpen]}})({}),t5=hf.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=WD(p);return(0,au.jsxs)(hf.Fragment,{children:[(0,au.jsx)(JD,{ownerState:p,className:I(f.select,r),disabled:n,ref:l||o,...u}),t.multiple?null:(0,au.jsx)(e5,{as:i,ownerState:p,className:f.icon})]})}),LS=t5;var gf=S(k(),1);var iu=S(U(),1),IS,o5=j("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:De})({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%"}),r5=j("legend",{name:"MuiNotchedOutlined",shouldForwardProp:De})(X(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function mh(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,iu.jsx)(o5,{"aria-hidden":!0,className:r,ownerState:s,...i,children:(0,iu.jsx)(r5,{ownerState:s,children:l?(0,iu.jsx)("span",{children:n}):IS||(IS=(0,iu.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"}))})})}var lu=S(U(),1),n5=e=>{let{classes:t}=e,r=F({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},vx,t);return{...t,...r}},a5=j(Aa,{shouldForwardProp:e=>De(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Ra})(X(({theme:e})=>{let t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${or.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${or.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${or.focused} .${or.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(ot()).map(([o])=>({props:{color:o},style:{[`&.${or.focused} .${or.notchedOutline}`]:{borderColor:(e.vars||e).palette[o].main}}})),{props:{},style:{[`&.${or.error} .${or.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${or.disabled} .${or.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"}}]}})),i5=j(mh,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(X(({theme:e})=>{let t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),l5=j(Ma,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Oa})(X(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),HS=gf.forwardRef(function(t,o){let r=q({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=n5(r),T=Qt(),v=go({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??a5,h=u.input??l5,[g,b]=Oe("notchedOutline",{elementType:i5,className:c.notchedOutline,shouldForwardComponentProp:!0,ownerState:x,externalForwardedProps:{slots:u,slotProps:p},additionalProps:{label:i!=null&&i!==""&&v.required?(0,lu.jsxs)(gf.Fragment,{children:[i,"\u2009","*"]}):i}});return(0,lu.jsx)(jo,{slots:{root:m,input:h},slotProps:p,renderSuffix:P=>(0,lu.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}})});HS.muiName="Input";var su=HS;var sl=S(k(),1);var ze=S(k(),1);function bf(e){return V("MuiSelect",e)}var s5=H("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","nativeInput","error"]),ll=s5;var Dr=S(U(),1),VS,u5=j(fh,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[{[`&.${ll.select}`]:t.select},{[`&.${ll.select}`]:t[o.variant]},{[`&.${ll.error}`]:t.error},{[`&.${ll.multiple}`]:t.multiple}]}})({[`&.${ll.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),c5=j(dh,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.icon,o.open&&t.iconOpen]}})({}),p5=j("input",{shouldForwardProp:e=>Tp(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"}),f5=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"]},bf,t)},d5=ze.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:h,name:g,onBlur:b,onChange:P,onClose:C,onFocus:E,onKeyDown:O,onMouseDown:M,onOpen:N,open:A,readOnly:y,renderValue:_,required:R,SelectDisplayProps:w={},tabIndex:B,type:L,value:$,variant:de="standard",...ne}=t,[Q,ue]=Ds({controlled:$,default:p,name:"Select"}),[Ge,we]=Ds({controlled:A,default:u,name:"Select"}),ee=ze.useRef(null),ae=ze.useRef(null),[Z,te]=ze.useState(null),{current:oe}=ze.useRef(A!=null),[be,Pt]=ze.useState(),[ce,Re]=ze.useState(null),pt=_t(o,v),Ft=ze.useCallback(G=>{ae.current=G,G&&te(G)},[]),Ke=Z?.parentNode;ze.useImperativeHandle(pt,()=>({focus:()=>{ae.current.focus()},node:ee.current,value:Q}),[Q]);let ft=Z!==null&&Ge;ze.useEffect(()=>{if(!ft||!Ke||i||typeof ResizeObserver>"u")return;let G=new ResizeObserver(()=>{Pt(Ke.clientWidth)});return G.observe(Ke),()=>{G.disconnect()}},[ft,Ke,i]),ze.useEffect(()=>{u&&Ge&&Z&&!oe&&(Pt(i?null:Ke.clientWidth),ae.current.focus())},[Z,i]),ze.useEffect(()=>{a&&ae.current.focus()},[a]),ze.useEffect(()=>{if(!x)return;let G=dn(ae.current).getElementById(x);if(G){let ve=()=>{getSelection().isCollapsed&&ae.current.focus()};return G.addEventListener("click",ve),()=>{G.removeEventListener("click",ve)}}},[x]);let Rt=(G,ve)=>{G?(Re(lf(ve)),N&&N(ve)):(Re(null),C&&C(ve)),oe||(Pt(i?null:Ke.clientWidth),we(G))},ye=G=>{M?.(G),G.button===0&&(G.preventDefault(),ae.current.focus(),Rt(!0,G))},co=G=>{Rt(!1,G)},Mo=ze.Children.toArray(l),dt=G=>{let ve=Mo.find(Ot=>Ot.props.value===G.target.value);ve!==void 0&&(ue(ve.props.value),P&&P(G,ve))},Wn=G=>ve=>{let Ot;if(ve.currentTarget.hasAttribute("tabindex")){if(h){Ot=Array.isArray(Q)?Q.slice():[];let ni=Q.indexOf(G.props.value);ni===-1?Ot.push(G.props.value):Ot.splice(ni,1)}else Ot=G.props.value;if(G.props.onClick&&G.props.onClick(ve),Q!==Ot&&(ue(Ot),P)){let ni=ve.nativeEvent||ve,aT=new ni.constructor(ni.type,ni);Object.defineProperty(aT,"target",{writable:!0,value:{value:Ot,name:g}}),P(aT,G)}h||Rt(!1,ve)}},lr=G=>{y||([" ","ArrowUp","ArrowDown","Enter"].includes(G.key)&&(G.preventDefault(),Rt(!0,G)),O?.(G))},Cr=G=>{!ft&&b&&(Object.defineProperty(G,"target",{writable:!0,value:{value:Q,name:g}}),b(G))};delete ne["aria-invalid"];let je,Te,Ze=[],re=!1,po=!1;(Ea({value:Q})||d)&&(_?je=_(Q):re=!0);let on=Mo.map(G=>{if(!ze.isValidElement(G))return null;let ve;if(h){if(!Array.isArray(Q))throw new Error(gt(2));ve=Q.some(Ot=>ru(Ot,G.props.value)),ve&&re&&Ze.push(G.props.children)}else ve=ru(Q,G.props.value),ve&&re&&(Te=G.props.children);return ve&&(po=!0),ze.cloneElement(G,{"aria-selected":ve?"true":"false",onClick:Wn(G),onKeyUp:Ot=>{Ot.key===" "&&Ot.preventDefault(),G.props.onKeyUp&&G.props.onKeyUp(Ot)},role:"option",selected:ve,value:void 0,"data-value":G.props.value})});re&&(h?Ze.length===0?je=null:je=Ze.reduce((G,ve,Ot)=>(G.push(ve),Ot<Ze.length-1&&G.push(", "),G),[]):je=Te);let es=be;!i&&oe&&Z&&(es=Ke.clientWidth);let ts;typeof B<"u"?ts=B:ts=f?null:0;let Ye=w.id||(g?`mui-component-select-${g}`:void 0),ri={...t,variant:de,value:Q,open:ft,error:c},dm=f5(ri),rT=typeof m.slotProps?.paper=="function"?m.slotProps.paper(ri):m.slotProps?.paper,oO=typeof m.slotProps?.list=="function"?m.slotProps.list(ri):m.slotProps?.list,nT=Jo(),rO=Jo();return(0,Dr.jsxs)(ze.Fragment,{children:[(0,Dr.jsx)(u5,{as:"div",ref:Ft,tabIndex:ts,role:"combobox","aria-controls":ft?nT:void 0,"aria-disabled":f?"true":void 0,"aria-expanded":ft?"true":"false","aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[x,Ye].filter(Boolean).join(" ")||void 0,"aria-describedby":r,"aria-required":R?"true":void 0,"aria-invalid":c?"true":void 0,onKeyDown:lr,onMouseDown:f||y?null:ye,onBlur:Cr,onFocus:E,...w,ownerState:ri,className:I(w.className,dm.select,s),id:Ye,children:sf(je)?VS||(VS=(0,Dr.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"})):je}),(0,Dr.jsx)(p5,{"aria-invalid":c,value:Array.isArray(Q)?Q.join(","):Q,name:g,ref:ee,"aria-hidden":!0,onChange:dt,tabIndex:-1,disabled:f,className:dm.nativeInput,autoFocus:a,required:R,...ne,id:ne.id??rO,ownerState:ri}),(0,Dr.jsx)(c5,{as:T,className:dm.icon,ownerState:ri}),(0,Dr.jsx)(ih,{value:ce,children:(0,Dr.jsx)(US,{id:`menu-${g||""}`,anchorEl:Ke,open:ft,onClose:co,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...m,slotProps:{...m.slotProps,list:{"aria-labelledby":x,role:"listbox","aria-multiselectable":h?"true":void 0,disableListWrap:!0,id:nT,...oO},paper:{...rT,style:{minWidth:es,...rT?.style}}},children:on})})]})}),FS=d5;var uu=S(U(),1),m5=e=>{let{classes:t}=e,r=F({root:["root"]},bf,t);return{...t,...r}},yh={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>De(e)&&e!=="variant"},y5=j(tu,yh)(""),h5=j(su,yh)(""),g5=j(Js,yh)(""),$S=sl.forwardRef(function(t,o){let r=q({name:"MuiSelect",props:t}),{autoWidth:n=!1,children:a,classes:i={},className:l,defaultOpen:s=!1,displayEmpty:u=!1,IconComponent:p=Cx,id:f,input:d,inputProps:c,label:T,labelId:v,MenuProps:x,multiple:m=!1,native:h=!1,onClose:g,onOpen:b,open:P,renderValue:C,SelectDisplayProps:E,variant:O="outlined",...M}=r,N=h?LS:FS,A=Qt(),y=go({props:r,muiFormControl:A,states:["variant","error"]}),_=y.variant||O,R={...r,variant:_,classes:i},w=m5(R),{root:B,...L}=w,$=d||{standard:(0,uu.jsx)(y5,{ownerState:R}),outlined:(0,uu.jsx)(h5,{label:T,ownerState:R}),filled:(0,uu.jsx)(g5,{ownerState:R})}[_],de=_t(o,ko($));return(0,uu.jsx)(sl.Fragment,{children:sl.cloneElement($,{inputComponent:N,inputProps:{children:a,error:y.error,IconComponent:p,variant:_,type:void 0,multiple:m,...h?{id:f}:{autoWidth:n,defaultOpen:s,displayEmpty:u,labelId:v,MenuProps:x,onClose:g,onOpen:b,open:P,renderValue:C,SelectDisplayProps:{id:f,...E}},...c,classes:c?Ue(L,c.classes):L,...d?d.props.inputProps:{}},...(m&&h||u)&&_==="outlined"?{notched:!0}:{},ref:de,className:I($.props.className,l,w.root),...!d&&{variant:_},...M})})});$S.muiName="Select";var hh=$S;var GS=S(k(),1);function qS(e){return V("MuiTextField",e)}var lee=H("MuiTextField",["root"]);var Da=S(U(),1),b5={standard:tu,filled:Js,outlined:su},T5=e=>{let{classes:t}=e;return F({root:["root"]},qS,t)},v5=j(qy,{name:"MuiTextField",slot:"Root"})({}),x5=GS.forwardRef(function(t,o){let r=q({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:h,multiline:g=!1,name:b,onBlur:P,onChange:C,onFocus:E,placeholder:O,required:M=!1,rows:N,select:A=!1,slots:y={},slotProps:_={},type:R,value:w,variant:B="outlined",...L}=r,$={...r,autoFocus:a,color:s,disabled:p,error:f,fullWidth:d,multiline:g,required:M,select:A,variant:B},de=T5($),ne=Jo(T),Q=c&&ne?`${ne}-helper-text`:void 0,ue=x&&ne?`${ne}-label`:void 0,Ge=b5[B],we={slots:y,slotProps:_},[ee,ae]=Oe("select",{elementType:hh,externalForwardedProps:we,ownerState:$}),Z=A&&ae.native,te={},oe=we.slotProps.inputLabel;B==="outlined"&&(oe&&typeof oe.shrink<"u"&&(te.notched=oe.shrink),te.label=x),A&&(Z||(te.id=void 0),te["aria-describedby"]=void 0);let[be,Pt]=Oe("root",{elementType:v5,shouldForwardComponentProp:!0,externalForwardedProps:{...we,...L},ownerState:$,className:I(de.root,l),ref:o,additionalProps:{disabled:p,error:f,fullWidth:d,required:M,color:s,variant:B}}),[ce,Re]=Oe("input",{elementType:Ge,externalForwardedProps:we,additionalProps:te,ownerState:$}),[pt,Ft]=Oe("inputLabel",{elementType:Jy,externalForwardedProps:we,ownerState:$}),[Ke,ft]=Oe("htmlInput",{elementType:"input",externalForwardedProps:we,ownerState:$}),[Rt,ye]=Oe("formHelperText",{elementType:Yy,externalForwardedProps:we,ownerState:$}),co=(0,Da.jsx)(ce,{"aria-describedby":Q,autoComplete:n,autoFocus:a,defaultValue:u,fullWidth:d,multiline:g,name:b,rows:N,maxRows:m,minRows:h,type:R,value:w,id:ne,inputRef:v,onBlur:P,onChange:C,onFocus:E,placeholder:O,inputProps:ft,slots:{input:y.htmlInput?Ke:void 0},...Re});return(0,Da.jsxs)(be,{...Pt,children:[x!=null&&x!==""&&(0,Da.jsx)(pt,{htmlFor:A&&!Z?void 0:ne,id:ue,...A&&!Z&&{component:"div"},...Ft,children:x}),A?(0,Da.jsx)(ee,{"aria-describedby":Q,id:ne,labelId:ue,value:w,input:co,...ae,children:i}):co,c&&(0,Da.jsx)(Rt,{id:Q,...ye,children:c})]})}),Tf=x5;var XS=S(k(),1);var za=S(U(),1);function KS({error:e,busy:t}){return(0,za.jsxs)(za.Fragment,{children:[e&&(0,za.jsxs)(Gs,{role:"alert",variant:"caption",color:"error",sx:{display:"block",mt:.5},children:["Not sent: ",e]}),(0,za.jsx)(Gs,{variant:"caption",color:"text.secondary",sx:{display:"block",mt:.5},children:t?"Sending\u2026":`Enter to ${e?"retry":"send"} \xB7 Shift+Enter for a new line \xB7 Esc to close`})]})}function YS(e,t){return o=>{o.key==="Escape"?(o.preventDefault(),e(!0)):o.key==="Enter"&&!o.shiftKey&&!o.nativeEvent.isComposing&&(o.preventDefault(),t())}}var cu=S(U(),1);function QS({onSend:e,onClose:t,placeholder:o="Instructions (optional)",initialText:r="",error:n,busy:a=!1}){let[i,l]=(0,XS.useState)(r),s=YS(t,()=>{a||e(i)});return(0,cu.jsxs)(gn,{elevation:8,sx:{p:1.5},children:[(0,cu.jsx)(Tf,{autoFocus:!0,fullWidth:!0,multiline:!0,maxRows:6,size:"small",placeholder:o,value:i,onChange:p=>l(p.target.value),onKeyDown:s,onBlur:()=>{document.hasFocus()&&!n&&!a&&t(!1)},error:!!n,slotProps:{htmlInput:{"aria-label":"Instructions for assist"}}}),(0,cu.jsx)(KS,{error:n,busy:a})]})}var o1=S(k(),1);var ZS=[{label:"Checkout",args:["review","--checkout-only"]},{label:"Address Comments",args:["review-pr-comments"]},{label:"Fix conflicts (merge)",args:["fix-conflict"]},{label:"Fix conflicts (rebase)",args:["fix-conflict","--rebase"]}];var WS=[{label:"Review",args:["review"]},{label:"Review & refine",args:["review","--refine"]},{label:"Review & apply",args:["review","--apply"]},{label:"Review & post",args:["review","--no-prompt","--submit"]},{label:"High-level review",args:["review","--high-level"]}];var gh=[{key:"force",label:"Force re-run",flag:"--force"},{key:"addressComments",label:"Address comments after",flag:"--address-comments"},{key:"announce",label:"Announce to Slack after",flag:"--announce"}],JS={force:!1,addressComments:!1,announce:!1};function e1(e){return gh.filter(({key:t})=>e[t]).map(({flag:t})=>t)}var pu=S(U(),1);function t1({value:e,onChange:t}){return gh.map(({key:o,label:r})=>(0,pu.jsxs)(_a,{role:"menuitemcheckbox","aria-checked":e[o],onClick:()=>t({...e,[o]:!e[o]}),children:[(0,pu.jsx)(ef,{children:(0,pu.jsx)(qp,{size:"small",edge:"start",checked:e[o],tabIndex:-1,disableRipple:!0,sx:{p:0}})}),r]},o))}var zr=S(U(),1);function r1({onPick:e,onClose:t}){let[o,r]=(0,o1.useState)(JS);return(0,zr.jsx)(gn,{elevation:8,children:(0,zr.jsxs)(al,{autoFocusItem:!0,dense:!0,"aria-label":"Start an assist session for this PR",onKeyDown:i=>{i.key==="Escape"&&(i.preventDefault(),t(!0))},onBlur:i=>{i.currentTarget.contains(i.relatedTarget)||document.hasFocus()&&t(!1)},children:[WS.map(({label:i,args:l})=>(0,zr.jsx)(_a,{onClick:()=>e([...l,...e1(o)]),children:i},i)),(0,zr.jsx)(Ws,{}),(0,zr.jsx)(t1,{value:o,onChange:r}),(0,zr.jsx)(Ws,{}),ZS.map(({label:i,args:l})=>(0,zr.jsx)(_a,{onClick:()=>e(l),children:i},i))]})})}var bh=S(U(),1);function n1(e,{send:t,dismiss:o}){return e==="review"?(0,bh.jsx)(r1,{onPick:r=>{o(!1),t({args:r})},onClose:o}):(0,bh.jsx)(QS,{onSend:r=>{o(!1),t({instructions:r||void 0})},onClose:o})}var a1="data-assist-send-style",S5=`
146
+ `),E=b.selectionStart===P;C&&E&&b.setSelectionRange(P,P),r&&r(g)},ref:f,rows:a,style:i,...s}),(0,Ks.jsx)("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:c,tabIndex:-1,style:{...IN.shadow,...i,paddingTop:0,paddingBottom:0}})]})}),Uy=VN;function go({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 fx=S(k(),1),FN=fx.createContext(void 0),Wi=FN;var dx=S(k(),1);function Qt(){return dx.useContext(Wi)}function mx(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Ea(e,t=!1){return e&&(mx(e.value)&&e.value!==""||t&&mx(e.defaultValue)&&e.defaultValue!=="")}function yx(e){return e.startAdornment}function hx(e){return V("MuiInputBase",e)}var $N=H("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputTypeSearch"]),tr=$N;var Pa=S(U(),1),gx,Ra=(e,t)=>{let{ownerState:o}=e;return[t.root,o.formControl&&t.formControl,o.startAdornment&&t.adornedStart,o.endAdornment&&t.adornedEnd,o.error&&t.error,o.size==="small"&&t.sizeSmall,o.multiline&&t.multiline,o.color&&t[`color${K(o.color)}`],o.fullWidth&&t.fullWidth,o.hiddenLabel&&t.hiddenLabel]},Oa=(e,t)=>{let{ownerState:o}=e;return[t.input,o.type==="search"&&t.inputTypeSearch]},qN=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${K(o)}`,r&&"disabled",n&&"error",s&&"fullWidth",i&&"focused",l&&"formControl",d&&d!=="medium"&&`size${K(d)}`,p&&"multiline",c&&"adornedStart",a&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",T==="search"&&"inputTypeSearch",f&&"readOnly"]};return F(v,hx,t)},Aa=j("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Ra})(X(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${tr.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%"}}]}))),Ma=j("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Oa})(X(({theme:e})=>{let t=e.palette.mode==="light",o={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},n=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${tr.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},[`&.${tr.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"}}]}})),bx=N0({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),GN=It.forwardRef(function(t,o){let r=q({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:h,margin:g,maxRows:b,minRows:P,multiline:C=!1,name:E,onBlur:O,onChange:M,onClick:N,onFocus:A,onKeyDown:y,onKeyUp:_,placeholder:R,readOnly:w,renderSuffix:B,rows:L,size:$,slotProps:de={},slots:ne={},startAdornment:Q,type:ue="text",value:Ge,...we}=r,ee=m.value!=null?m.value:Ge,{current:ae}=It.useRef(ee!=null),Z=It.useRef(),te=It.useCallback(re=>{},[]),oe=_t(Z,h,m.ref,te),[be,Pt]=It.useState(!1),ce=Qt(),Re=go({props:r,muiFormControl:ce,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Re.focused=ce?ce.focused:be,It.useEffect(()=>{!ce&&p&&be&&(Pt(!1),O&&O())},[ce,p,be,O]);let pt=ce&&ce.onFilled,Ft=ce&&ce.onEmpty,Ke=It.useCallback(re=>{Ea(re)?pt&&pt():Ft&&Ft()},[pt,Ft]);Hi(()=>{ae&&Ke({value:ee})},[ee,Ke,ae]);let ft=re=>{A&&A(re),m.onFocus&&m.onFocus(re),ce&&ce.onFocus?ce.onFocus(re):Pt(!0)},Rt=re=>{O&&O(re),m.onBlur&&m.onBlur(re),ce&&ce.onBlur?ce.onBlur(re):Pt(!1)},ye=(re,...po)=>{if(!ae){let on=re.target||Z.current;if(on==null)throw new Error(gt(1));Ke({value:on.value})}m.onChange&&m.onChange(re,...po),M&&M(re,...po)};It.useEffect(()=>{Ke(Z.current)},[]);let co=re=>{Z.current&&re.currentTarget===re.target&&Z.current.focus(),N&&N(re)},Mo=x,dt=m;C&&Mo==="input"&&(L?dt={type:void 0,minRows:L,maxRows:L,...dt}:dt={type:void 0,maxRows:b,minRows:P,...dt},Mo=Uy);let Wn=re=>{Ke(re.animationName==="mui-auto-fill-cancel"?Z.current:{value:"x"})};It.useEffect(()=>{ce&&ce.setAdornedStart(!!Q)},[ce,Q]);let lr={...r,color:Re.color||"primary",disabled:Re.disabled,endAdornment:d,error:Re.error,focused:Re.focused,formControl:ce,fullWidth:T,hiddenLabel:Re.hiddenLabel,multiline:C,size:Re.size,startAdornment:Q,type:ue},Cr=qN(lr),je=ne.root||Aa,Te=de.root||{},Ze=ne.input||Ma;return dt={...dt,...de.input},(0,Pa.jsxs)(It.Fragment,{children:[!f&&typeof bx=="function"&&(gx||(gx=(0,Pa.jsx)(bx,{}))),(0,Pa.jsxs)(je,{...Te,ref:o,onClick:co,...we,...!hn(je)&&{ownerState:{...lr,...Te.ownerState}},className:I(Cr.root,Te.className,l,w&&"MuiInputBase-readOnly"),children:[Q,(0,Pa.jsx)(Wi.Provider,{value:null,children:(0,Pa.jsx)(Ze,{"aria-invalid":Re.error,"aria-describedby":n,autoComplete:a,autoFocus:i,defaultValue:u,disabled:Re.disabled,id:v,onAnimationStart:Wn,name:E,placeholder:R,readOnly:w,required:Re.required,rows:L,value:ee,onKeyDown:y,onKeyUp:_,type:ue,...dt,...!hn(Ze)&&{as:Mo,ownerState:{...lr,...dt.ownerState}},ref:oe,className:I(Cr.input,dt.className,w&&"MuiInputBase-readOnly"),onBlur:Rt,onChange:ye,onFocus:ft})}),d,B?B({...Re,startAdornment:Q}):null]})]})}),jo=GN;function Tx(e){return V("MuiInput",e)}var KN={...tr,...H("MuiInput",["root","underline","input"])},Ji=KN;function vx(e){return V("MuiOutlinedInput",e)}var YN={...tr,...H("MuiOutlinedInput",["root","notchedOutline","input"])},or=YN;function xx(e){return V("MuiFilledInput",e)}var XN={...tr,...H("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},vn=XN;var Sx=S(U(),1),Cx=it((0,Sx.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");var Rx=S(k(),1);var el=S(k(),1);var Ex=S(U(),1),QN={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},ZN={opacity:0,visibility:"hidden"},WN=el.forwardRef(function(t,o){let r=pn(),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,...h}=t,g=el.useRef(null),b=_t(g,ko(l),o),P=to(g,d),C=to(g,(y,_)=>{_p(y);let R=Xi({style:x,timeout:m,easing:s},{mode:"enter"});y.style.transition=r.transitions.create("opacity",R),p&&p(y,_)}),E=to(g,f),O=to(g,v),M=to(g,y=>{let _=Xi({style:x,timeout:m,easing:s},{mode:"exit"});y.style.transition=r.transitions.create("opacity",_),c&&c(y)}),N=to(g,y=>{y.style.transition="",T&&T(y)});return(0,Ex.jsx)(js,{appear:i,in:u,nodeRef:g,onEnter:C,onEntered:E,onEntering:P,onExit:M,onExited:N,onExiting:O,addEndListener:y=>{a&&a(g.current,y)},timeout:m,...h,children:(y,{ownerState:_,...R})=>{let w=Dp(y,u,QN,ZN,x,l.props.style);return el.cloneElement(l,{style:w,ref:b,...R})}})}),ky=WN;function Px(e){return V("MuiBackdrop",e)}var xq=H("MuiBackdrop",["root","invisible"]);var jy=S(U(),1),JN=e=>{let{classes:t,invisible:o}=e;return F({root:["root",o&&"invisible"]},Px,t)},e_=j("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"}}]}),t_=Rx.forwardRef(function(t,o){let r=q({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=JN(c),v={component:i,slots:p,slotProps:u},[x,m]=Oe("root",{elementType:e_,externalForwardedProps:v,className:I(T.root,a),ownerState:c}),[h,g]=Oe("transition",{elementType:ky,externalForwardedProps:v,ownerState:c});return(0,jy.jsx)(h,{in:s,timeout:f,...d,...g,children:(0,jy.jsx)(x,{...m,ref:o,children:n})})}),Ly=t_;var o_=H("MuiBox",["root"]),Ox=o_;var r_=dr(),n_=vs({themeId:At,defaultTheme:r_,defaultClassName:Ox.root,generateClassName:wi.generate}),Zt=n_;var Ys=S(k(),1);function Ax(e){return V("MuiButton",e)}var a_=H("MuiButton",["root","text","outlined","contained","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),xn=a_;var Mx=S(k(),1),i_=Mx.createContext({}),wx=i_;var Nx=S(k(),1),l_=Nx.createContext(void 0),_x=l_;var mr=S(U(),1),s_=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${K(n)}`,`color${K(t)}`,o&&"disableElevation",r&&"fullWidth",i&&`loadingPosition${K(l)}`],startIcon:["icon","startIcon"],endIcon:["icon","endIcon"],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},p=F(u,Ax,s);return{...s,...p}},zx=[{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}}}],u_=j(Nr,{shouldForwardProp:e=>De(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],t[`size${K(o.size)}`],o.color==="inherit"&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth,o.loading&&t.loading]}})(X(({theme:e})=>{let t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],o=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${xn.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]},[`&.${xn.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${xn.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)",[`&.${xn.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(ot()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:o,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${xn.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${xn.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}),[`&.${xn.loading}`]:{color:"transparent"}}}]}})),c_=j("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}},...zx]})),p_=j("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}},...zx]})),f_=j("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}}]})),Dx=j("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),d_=Ys.forwardRef(function(t,o){let r=Ys.useContext(wx),n=Ys.useContext(_x),a=sn(r,t),i=q({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:h=null,loadingIndicator:g,loadingPosition:b="center",size:P="medium",startIcon:C,type:E,variant:O="text",...M}=i,N=ba(m),A=g??(0,mr.jsx)(qs,{"aria-labelledby":N,color:"inherit",size:16}),y={...i,color:s,component:u,disabled:f,disableElevation:d,disableFocusRipple:c,fullWidth:x,loading:h,loadingIndicator:A,loadingPosition:b,size:P,type:E,variant:O},_=s_(y),R=(C||h&&b==="start")&&(0,mr.jsx)(c_,{className:_.startIcon,ownerState:y,children:C||(0,mr.jsx)(Dx,{className:_.loadingIconPlaceholder,ownerState:y})}),w=(T||h&&b==="end")&&(0,mr.jsx)(p_,{className:_.endIcon,ownerState:y,children:T||(0,mr.jsx)(Dx,{className:_.loadingIconPlaceholder,ownerState:y})}),B=n||"",L=typeof h=="boolean"?(0,mr.jsx)("span",{className:_.loadingWrapper,style:{display:"contents"},children:h&&(0,mr.jsx)(f_,{className:_.loadingIndicator,ownerState:y,children:A})}):null;return(0,mr.jsxs)(u_,{ownerState:y,className:I(r.className,_.root,p,B),component:u,disabled:f||h,focusRipple:!c,focusVisibleClassName:I(_.focusVisible,v),ref:o,internalNativeButton:!0,type:E,id:h?N:m,...M,classes:_,children:[R,b!=="end"&&L,l,b==="end"&&L,w]})}),Vp=d_;var Xs=S(k(),1);var Ux=S(k(),1);function Bx(e){return V("PrivateSwitchBase",e)}var TG=H("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var Fp=S(U(),1),m_=e=>{let{classes:t,checked:o,disabled:r,edge:n}=e,a={root:["root",o&&"checked",r&&"disabled",n&&`edge${K(n)}`],input:["input"]};return F(a,Bx,t)},y_=j(Nr,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),h_=j("input",{name:"MuiSwitchBase",shouldForwardProp:De})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),g_=Ux.forwardRef(function(t,o){let{autoFocus:r,checked:n,checkedIcon:a,defaultChecked:i,disabled:l,disableFocusRipple:s=!1,edge:u=!1,icon:p,id:f,name:d,onBlur:c,onChange:T,onFocus:v,readOnly:x,required:m=!1,tabIndex:h,type:g,value:b,slots:P={},slotProps:C={},...E}=t,{nativeButton:O,...M}=E,[N,A]=Ds({controlled:n,default:!!i,name:"SwitchBase",state:"checked"}),y=Qt(),_=ee=>{v&&v(ee),y&&y.onFocus&&y.onFocus(ee)},R=ee=>{c&&c(ee),y&&y.onBlur&&y.onBlur(ee)},w=ee=>{if(ee.nativeEvent.defaultPrevented||x)return;let ae=ee.target.checked;A(ae),T&&T(ee,ae)},B=l;y&&typeof B>"u"&&(B=y.disabled);let L=g==="checkbox"||g==="radio",$={...t,checked:N,disabled:B,disableFocusRipple:s,edge:u},de=m_($),ne={slots:P,slotProps:C},[Q,ue]=Oe("root",{ref:o,elementType:y_,className:de.root,shouldForwardComponentProp:!0,externalForwardedProps:{...ne,component:"span",...M},getSlotProps:ee=>({...ee,onFocus:ae=>{ee.onFocus?.(ae),_(ae)},onBlur:ae=>{ee.onBlur?.(ae),R(ae)}}),ownerState:$,additionalProps:{centerRipple:!0,focusRipple:!s,role:void 0,tabIndex:null}}),[Ge,we]=Oe("input",{elementType:h_,className:de.input,externalForwardedProps:ne,getSlotProps:ee=>({...ee,onChange:ae=>{ee.onChange?.(ae),w(ae)}}),ownerState:$,additionalProps:{autoFocus:r,checked:n,defaultChecked:i,disabled:B,id:L?f:void 0,name:d,readOnly:x,required:m,tabIndex:h,type:g,...g==="checkbox"&&b===void 0?{}:{value:b}}});return(0,Fp.jsxs)(Q,{...ue,children:[(0,Fp.jsx)(Ge,{...we}),N?a:p]})}),kx=g_;var jx=S(U(),1),Lx=it((0,jx.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank");var Ix=S(U(),1),Hx=it((0,Ix.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox");var Vx=S(U(),1),Fx=it((0,Vx.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function $x(e){return V("MuiCheckbox",e)}var b_=H("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),$p=b_;var Qs=S(U(),1),T_=e=>{let{classes:t,indeterminate:o,color:r,size:n}=e,a={root:["root",o&&"indeterminate",`color${K(r)}`,`size${K(n)}`]},i=F(a,$x,t);return{...t,...i}},v_=j(kx,{shouldForwardProp:e=>De(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.indeterminate&&t.indeterminate,t[`size${K(o.size)}`],o.color!=="default"&&t[`color${K(o.color)}`]]}})(X(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t},style:{[`&.${$p.checked}, &.${$p.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${$p.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),x_=(0,Qs.jsx)(Hx,{}),S_=(0,Qs.jsx)(Lx,{}),C_=(0,Qs.jsx)(Fx,{}),E_=Xs.forwardRef(function(t,o){let r=q({props:t,name:"MuiCheckbox"}),{checkedIcon:n=x_,color:a="primary",icon:i=S_,indeterminate:l=!1,indeterminateIcon:s=C_,size:u="medium",disableRipple:p=!1,className:f,slots:d={},slotProps:c={},...T}=r,v=l?s:i,x=l?s:n,m={...r,disableRipple:p,color:a,indeterminate:l,size:u},h=T_(m),g=c.input,[b,P]=Oe("root",{ref:o,elementType:v_,className:I(h.root,f),shouldForwardComponentProp:!0,externalForwardedProps:{slots:d,slotProps:c,...T},ownerState:m,additionalProps:{type:"checkbox",icon:Xs.cloneElement(v,{fontSize:v.props.fontSize??u}),checkedIcon:Xs.cloneElement(x,{fontSize:x.props.fontSize??u}),disableRipple:p,slots:d,slotProps:{input:Fi(typeof g=="function"?g(m):g,{"data-indeterminate":l})}}});return(0,Qs.jsx)(b,{...P,classes:h})}),qp=E_;function tl(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}function P_(e){let t=vt(e);return t.body===e?zo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ol(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function qx(e){return parseFloat(zo(e).getComputedStyle(e).paddingRight)||0}function R_(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 Gx(e,t,o,r,n){let a=[t,o,...r];[].forEach.call(e.children,i=>{let l=!a.includes(i),s=!R_(i);l&&s&&ol(i,n)})}function Iy(e,t){let o=-1;return e.some((r,n)=>t(r)?(o=n,!0):!1),o}function O_(e,t){let o=[],r=e.container;if(!t.disableScrollLock){if(P_(r)){let i=tl(zo(r));o.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${qx(r)+i}px`;let l=vt(r).querySelectorAll(".mui-fixed");[].forEach.call(l,s=>{o.push({value:s.style.paddingRight,property:"padding-right",el:s}),s.style.paddingRight=`${qx(s)+i}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=vt(r).body;else{let i=r.parentElement,l=zo(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 A_(e){let t=[];return[].forEach.call(e.children,o=>{o.getAttribute("aria-hidden")==="true"&&t.push(o)}),t}var Gp=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&&ol(t.modalRef,!1);let n=A_(o);Gx(o,t.mount,t.modalRef,n,!0);let a=Iy(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=Iy(this.containers,a=>a.modals.includes(t)),n=this.containers[r];n.restore||(n.restore=O_(n,o))}remove(t,o=!0){let r=this.modals.indexOf(t);if(r===-1)return r;let n=Iy(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&&ol(t.modalRef,o),Gx(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&&ol(i.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}};var Yp=S(k(),1);var Dt=S(k(),1);var Zs=S(U(),1),M_=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function w_(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 N_(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 __(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||N_(e))}function D_(e){let t=[],o=[];return Array.from(e.querySelectorAll(M_)).forEach((r,n)=>{let a=w_(r);a===-1||!__(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 z_(){return!0}function B_(e){let{children:t,disableAutoFocus:o=!1,disableEnforceFocus:r=!1,disableRestoreFocus:n=!1,getTabbable:a=D_,isEnabled:i=z_,open:l}=e,s=Dt.useRef(!1),u=Dt.useRef(null),p=Dt.useRef(null),f=Dt.useRef(null),d=Dt.useRef(null),c=Dt.useRef(!1),T=Dt.useRef(null),v=xt(ko(t),T),x=Dt.useRef(null);Dt.useEffect(()=>{!l||!T.current||(c.current=!o)},[o,l]),Dt.useEffect(()=>{if(!l||!T.current)return;let g=vt(T.current),b=fn(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]),Dt.useEffect(()=>{if(!l||!T.current)return;let g=vt(T.current),b=E=>{if(x.current=E,r||!i()||E.key!=="Tab")return;fn(g)===T.current&&E.shiftKey&&(s.current=!0,p.current&&p.current.focus())},P=()=>{let E=T.current;if(E===null)return;let O=fn(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 M=[];if((O===u.current||O===p.current)&&(M=a(T.current)),M.length>0){let N=!!(x.current?.shiftKey&&x.current?.key==="Tab"),A=M[0],y=M[M.length-1];typeof A!="string"&&typeof y!="string"&&(N?y.focus():A.focus())}else E.focus()};g.addEventListener("focusin",P),g.addEventListener("keydown",b,!0);let C=setInterval(()=>{let E=fn(g);E&&E.tagName==="BODY"&&P()},50);return()=>{clearInterval(C),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)},h=g=>{f.current===null&&(f.current=g.relatedTarget),c.current=!0};return(0,Zs.jsxs)(Dt.Fragment,{children:[(0,Zs.jsx)("div",{tabIndex:l?0:-1,onFocus:h,ref:u,"data-testid":"sentinelStart"}),Dt.cloneElement(t,{ref:v,onFocus:m}),(0,Zs.jsx)("div",{tabIndex:l?0:-1,onFocus:h,ref:p,"data-testid":"sentinelEnd"})]})}var Hy=B_;var rr=S(k(),1);function U_(e){return typeof e=="function"?e():e}function k_(e){return e?e.props.hasOwnProperty("in"):!1}var Kx=()=>{},Kp=new Gp;function j_(e){let{container:t,disableScrollLock:o=!1,closeAfterTransition:r=!1,onTransitionEnter:n,onTransitionExited:a,children:i,onClose:l,open:s,rootRef:u}=e,p=rr.useRef({}),f=rr.useRef(null),d=rr.useRef(null),c=xt(d,u),[T,v]=rr.useState(!s),x=k_(i),m=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(m=!1);let h=()=>vt(f.current),g=()=>(p.current.modalRef=d.current,p.current.mount=f.current,p.current),b=()=>{Kp.mount(g(),{disableScrollLock:o}),d.current&&(d.current.scrollTop=0)},P=Bo(()=>{let R=U_(t)||h().body;Kp.add(g(),R),d.current&&b()}),C=()=>Kp.isTopModal(g()),E=Bo(R=>{f.current=R,R&&(s&&C()?b():d.current&&ol(d.current,m))}),O=rr.useCallback(()=>{Kp.remove(g(),m)},[m]);rr.useEffect(()=>()=>{O()},[O]),rr.useEffect(()=>{s?P():(!x||!r)&&O()},[s,O,x,r,P]);let M=R=>w=>{R.onKeyDown?.(w),!(w.key!=="Escape"||w.which===229||!C())&&(w.stopPropagation(),l&&l(w,"escapeKeyDown"))},N=R=>w=>{R.onClick?.(w),w.target===w.currentTarget&&l&&l(w,"backdropClick")};return{getRootProps:(R={})=>{let w=Vs(e);delete w.onTransitionEnter,delete w.onTransitionExited;let B={...w,...R};return{role:"presentation",...B,onKeyDown:M(B),ref:c}},getBackdropProps:(R={})=>{let w=R;return{"aria-hidden":!0,...w,onClick:N(w),open:s}},getTransitionProps:()=>{let R=()=>{v(!1),n&&n()},w=()=>{v(!0),a&&a(),r&&O()};return{onEnter:Ns(R,i?.props.onEnter??Kx),onExited:Ns(w,i?.props.onExited??Kx)}},rootRef:c,portalRef:E,isTopModal:C,exited:T,hasTransition:x}}var Yx=j_;function Xx(e){return V("MuiModal",e)}var AK=H("MuiModal",["root","hidden","backdrop"]);var rl=S(U(),1),L_=e=>{let{open:t,exited:o,classes:r}=e;return F({root:["root",!t&&o&&"hidden"],backdrop:["backdrop"]},Xx,r)},I_=j("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,!o.open&&o.exited&&t.hidden]}})(X(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),H_=j(Ly,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),V_=Yp.forwardRef(function(t,o){let r=q({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:h,onTransitionExited:g,open:b,slotProps:P={},slots:C={},theme:E,...O}=r,M={...r,closeAfterTransition:i,disableAutoFocus:p,disableEnforceFocus:f,disablePortal:d,disableRestoreFocus:c,disableScrollLock:T,hideBackdrop:v,keepMounted:x},{getRootProps:N,getBackdropProps:A,getTransitionProps:y,portalRef:_,isTopModal:R,exited:w,hasTransition:B}=Yx({...M,rootRef:o}),L={...M,exited:w},$=L_(L),de={};if(l.props.tabIndex===void 0&&(de.tabIndex="-1"),B){let{onEnter:ee,onExited:ae}=y();de.onEnter=ee,de.onExited=ae}let ne={slots:C,slotProps:P},[Q,ue]=Oe("root",{ref:o,elementType:I_,externalForwardedProps:{...ne,...O,component:u},getSlotProps:N,ownerState:L,className:I(a,$?.root,!L.open&&L.exited&&$?.hidden)}),[Ge,we]=Oe("backdrop",{elementType:H_,externalForwardedProps:ne,shouldForwardComponentProp:!0,getSlotProps:ee=>A({...ee,onClick:ae=>{ee?.onClick&&ee.onClick(ae)}}),className:$?.backdrop,ownerState:L});return!x&&!b&&(!B||w)?null:(0,rl.jsx)(By,{ref:_,container:s,disablePortal:d,children:(0,rl.jsxs)(Q,{...ue,children:[v?null:(0,rl.jsx)(Ge,{...we}),(0,rl.jsx)(Hy,{disableEnforceFocus:f,disableAutoFocus:p,disableRestoreFocus:c,isEnabled:R,open:b,children:Yp.cloneElement(l,de)})]})})}),Vy=V_;var Zx=S(k(),1);function Qx(e){return V("MuiDivider",e)}var F_=H("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","vertical","withChildren","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Xp=F_;var Fy=S(U(),1),$_=e=>{let{absolute:t,children:o,classes:r,flexItem:n,orientation:a,textAlign:i,variant:l}=e;return F({root:["root",t&&"absolute",l,a==="vertical"&&"vertical",n&&"flexItem",o&&"withChildren",i==="right"&&a!=="vertical"&&"textAlignRight",i==="left"&&a!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",a==="vertical"&&"wrapperVertical"]},Qx,r)},q_=j("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.absolute&&t.absolute,t[o.variant],o.orientation==="vertical"&&t.vertical,o.flexItem&&t.flexItem,o.children&&t.withChildren,o.textAlign==="right"&&o.orientation!=="vertical"&&t.textAlignRight,o.textAlign==="left"&&o.orientation!=="vertical"&&t.textAlignLeft]}})(X(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),G_=j("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.wrapper,o.orientation==="vertical"&&t.wrapperVertical]}})(X(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),K_=Zx.forwardRef(function(t,o){let r=q({props:t,name:"MuiDivider"}),{absolute:n=!1,children:a,className:i,orientation:l="horizontal",component:s=a||l==="vertical"?"div":"hr",flexItem:u=!1,role:p=s!=="hr"?"separator":void 0,textAlign:f="center",variant:d="fullWidth",...c}=r,T={...r,absolute:n,component:s,flexItem:u,orientation:l,role:p,textAlign:f,variant:d},v=$_(T);return(0,Fy.jsx)(q_,{as:s,className:I(v.root,i),role:p,ref:o,ownerState:T,"aria-orientation":p==="separator"&&(s!=="hr"||l==="vertical")?l:void 0,...c,children:a?(0,Fy.jsx)(G_,{className:v.wrapper,ownerState:T,children:a}):null})}),Ws=K_;var Wx=S(k(),1);var Jx=S(U(),1),Y_=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${K(a)}`,i&&"hiddenLabel",l&&"multiline"],input:["input"]},u=F(s,xx,t);return{...t,...u}},X_=j(Aa,{shouldForwardProp:e=>De(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[...Ra(e,t),!o.disableUnderline&&t.underline]}})(X(({theme:e})=>{let t=e.palette.mode==="light",o=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",n=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:n,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${vn.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${vn.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"},[`&.${vn.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${vn.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(.${vn.disabled}, .${vn.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${vn.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(ot()).map(([i])=>({props:{disableUnderline:!1,color:i},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[i]?.main}`}}})),{props:({ownerState:i})=>i.startAdornment,style:{paddingLeft:12}},{props:({ownerState:i})=>i.endAdornment,style:{paddingRight:12}},{props:({ownerState:i})=>i.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:i,size: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}}]}})),Q_=j(Ma,{name:"MuiFilledInput",slot:"Input",overridesResolver:Oa})(X(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),eS=Wx.forwardRef(function(t,o){let r=q({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=Y_(r),v={root:{ownerState:c},input:{ownerState:c}},x=u?Ue(v,u):v,m=p.root??X_,h=p.input??Q_;return(0,Jx.jsx)(jo,{slots:{root:m,input:h},slotProps:x,fullWidth:a,inputComponent:l,multiline:s,ref:o,type:f,...d,classes:T})});eS.muiName="Input";var Js=eS;var Ht=S(k(),1);function tS(e){return V("MuiFormControl",e)}var SY=H("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var $y=S(U(),1),Z_=e=>{let{classes:t,margin:o,fullWidth:r}=e,n={root:["root",o!=="none"&&`margin${K(o)}`,r&&"fullWidth"]};return F(n,tS,t)},W_=j("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[`margin${K(o.margin)}`],o.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),J_=Ht.forwardRef(function(t,o){let r=q({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,h={...r,color:i,component:l,disabled:s,error:u,fullWidth:f,hiddenLabel:d,margin:c,required:T,size:v,variant:x},g=Z_(h),[b,P]=Ht.useState(()=>{let B=!1;return n&&Ht.Children.forEach(n,L=>{if(!Ep(L,["Input","Select"]))return;let $=Ep(L,["Select"])?L.props.input:L;$&&yx($.props)&&(B=!0)}),B}),[C,E]=Ht.useState(()=>{let B=!1;return n&&Ht.Children.forEach(n,L=>{Ep(L,["Input","Select"])&&(Ea(L.props,!0)||Ea(L.props.inputProps,!0))&&(B=!0)}),B}),[O,M]=Ht.useState(!1);s&&O&&M(!1);let N=p!==void 0&&!s?p:O,A,y=Ht.useRef(!1),_=Ht.useCallback(()=>{E(!0)},[]),R=Ht.useCallback(()=>{E(!1)},[]),w=Ht.useMemo(()=>({adornedStart:b,setAdornedStart:P,color:i,disabled:s,error:u,filled:C,focused:N,fullWidth:f,hiddenLabel:d,size:v,onBlur:()=>{M(!1)},onFocus:()=>{M(!0)},onEmpty:R,onFilled:_,registerEffect:A,required:T,variant:x}),[b,i,s,u,C,N,f,d,A,R,_,T,v,x]);return(0,$y.jsx)(Wi.Provider,{value:w,children:(0,$y.jsx)(W_,{as:l,ownerState:h,className:I(g.root,a),ref:o,...m,children:n})})}),qy=J_;var nS=S(k(),1);function oS(e){return V("MuiFormHelperText",e)}var eD=H("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),Gy=eD;var Ky=S(U(),1),rS,tD=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${K(r)}`,o&&"contained",l&&"focused",i&&"filled",s&&"required"]};return F(u,oS,t)},oD=j("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.size&&t[`size${K(o.size)}`],o.contained&&t.contained,o.filled&&t.filled]}})(X(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Gy.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Gy.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}}]}))),rD=nS.forwardRef(function(t,o){let r=q({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=Qt(),x=go({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 h=tD(m);return(0,Ky.jsx)(oD,{as:i,className:I(h.root,a),ref:o,...T,ownerState:m,children:n===" "?rS||(rS=(0,Ky.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"})):n})}),Yy=rD;var iS=S(k(),1);function aS(e){return V("MuiFormLabel",e)}var nD=H("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Sn=nD;var Xy=S(U(),1),aD=e=>{let{classes:t,color:o,focused:r,disabled:n,error:a,filled:i,required:l}=e,s={root:["root",`color${K(o)}`,n&&"disabled",a&&"error",i&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",a&&"error"]};return F(s,aS,t)},iD=j("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.color==="secondary"&&t.colorSecondary,o.filled&&t.filled]}})(X(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(ot()).map(([t])=>({props:{color:t},style:{[`&.${Sn.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Sn.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Sn.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),lD=j("span",{name:"MuiFormLabel",slot:"Asterisk"})(X(({theme:e})=>({[`&.${Sn.error}`]:{color:(e.vars||e).palette.error.main}}))),sD=iS.forwardRef(function(t,o){let r=q({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=Qt(),v=go({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=aD(x);return(0,Xy.jsxs)(iD,{as:l,ownerState:x,className:I(m.root,a),ref:o,...c,children:[n,v.required&&(0,Xy.jsxs)(lD,{ownerState:x,"aria-hidden":!0,className:m.asterisk,children:["\u2009","*"]})]})}),Qy=sD;var wa=S(k(),1);var lS=S(U(),1);function eu(e){return`scale(${e}, ${e**2})`}var uD={entering:{opacity:1,transform:eu(1)},entered:{opacity:1,transform:"none"},exiting:{opacity:0,transform:eu(.75)},exited:{opacity:0,transform:eu(.75)}},cD={opacity:0,transform:eu(.75),visibility:"hidden"},Zy=wa.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=Yi(),h=wa.useRef(),g=pn(),b=wa.useRef(null),P=_t(b,ko(a),o),C=to(b,p),E=to(b,(_,R)=>{_p(_);let{duration:w,delay:B,easing:L}=Xi({style:T,timeout:v,easing:i},{mode:"enter"}),$;v==="auto"?($=g.transitions.getAutoHeightDuration(_.clientHeight),h.current=$):$=w,_.style.transition=[g.transitions.create("opacity",{duration:$,delay:B}),g.transitions.create("transform",{duration:$*.666,delay:B,easing:L})].join(","),s&&s(_,R)}),O=to(b,u),M=to(b,c),N=to(b,_=>{let{duration:R,delay:w,easing:B}=Xi({style:T,timeout:v,easing:i},{mode:"exit"}),L;v==="auto"?(L=g.transitions.getAutoHeightDuration(_.clientHeight),h.current=L):L=R,_.style.transition=[g.transitions.create("opacity",{duration:L,delay:w}),g.transitions.create("transform",{duration:L*.666,delay:w||L*.333,easing:B})].join(","),_.style.opacity=0,_.style.transform=eu(.75),f&&f(_)}),A=to(b,_=>{_.style.transition="",d&&d(_)});return(0,lS.jsx)(js,{appear:n,in:l,nodeRef:b,onEnter:E,onEntered:O,onEntering:C,onExit:N,onExited:A,onExiting:M,addEndListener:_=>{v==="auto"&&m.start(h.current||0,_),r&&r(b.current,_)},timeout:v==="auto"?null:v,...x,children:(_,{ownerState:R,...w})=>{let B=Dp(_,l,uD,cD,T,a.props.style);return wa.cloneElement(a,{style:B,ref:P,...w})}})});Zy&&(Zy.muiSupportAuto=!0);var Wy=Zy;var cS=S(k(),1);function sS(e){return V("MuiInputLabel",e)}var pD=H("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]),uS=pD;var pS=S(U(),1),fD=e=>{let{classes:t,disableUnderline:o}=e,n=F({root:["root",!o&&"underline"],input:["input"]},Tx,t);return{...t,...n}},dD=j(Aa,{shouldForwardProp:e=>De(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[...Ra(e,t),!o.disableUnderline&&t.underline]}})(X(({theme:e})=>{let o=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(o=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{[`label + &, .${uS.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"},[`&.${Ji.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ji.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(.${Ji.disabled}, .${Ji.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${o}`}},[`&.${Ji.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(ot()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),mD=j(Ma,{name:"MuiInput",slot:"Input",overridesResolver:Oa})({}),fS=cS.forwardRef(function(t,o){let r=q({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=fD(r),T={root:{ownerState:{disableUnderline:n}}},v=s?Ue(s,T):T,x=u.root??dD,m=u.input??mD;return(0,pS.jsx)(jo,{slots:{root:x,input:m},slotProps:v,fullWidth:a,inputComponent:i,multiline:l,ref:o,type:p,...f,classes:d})});fS.muiName="Input";var tu=fS;var dS=S(k(),1);var mS=S(U(),1),yD=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${K(r)}`,i],asterisk:[l&&"asterisk"]},u=F(s,sS,t);return{...t,...u}},hD=j(Qy,{shouldForwardProp:e=>De(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[{[`& .${Sn.asterisk}`]:t.asterisk},t.root,o.formControl&&t.formControl,o.size==="small"&&t.sizeSmall,o.shrink&&t.shrink,!o.disableAnimation&&t.animated,o.focused&&t.focused,t[o.variant]]}})(X(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:o})=>t==="filled"&&o.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:o,size:r})=>t==="filled"&&o.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:o})=>t==="outlined"&&o.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),gD=dS.forwardRef(function(t,o){let r=q({name:"MuiInputLabel",props:t}),{disableAnimation:n=!1,margin:a,shrink:i,variant:l,className:s,...u}=r,p=Qt(),f=i;typeof f>"u"&&p&&(f=p.filled||p.focused||p.adornedStart);let d=go({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=yD(c);return(0,mS.jsx)(hD,{"data-shrink":f,ref:o,className:I(T.root,s),...u,ownerState:c,classes:T})}),Jy=gD;var Qp=S(k(),1);var yS=S(k(),1),bD=yS.createContext({}),Na=bD;function hS(e){return V("MuiList",e)}var uQ=H("MuiList",["root","padding","dense","subheader"]);var Zp=S(U(),1),TD=e=>{let{classes:t,disablePadding:o,dense:r,subheader:n}=e;return F({root:["root",!o&&"padding",r&&"dense",n&&"subheader"]},hS,t)},vD=j("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}}]}),xD=Qp.forwardRef(function(t,o){let r=q({props:t,name:"MuiList"}),{children:n,className:a,component:i="ul",dense:l=!1,disablePadding:s=!1,subheader:u,...p}=r,f=Qp.useMemo(()=>({dense:l}),[l]),d={...r,component:i,dense:l,disablePadding:s},c=TD(d);return(0,Zp.jsx)(Na.Provider,{value:f,children:(0,Zp.jsxs)(vD,{as:i,className:I(c.root,a),ref:o,ownerState:d,...p,children:[u,n]})})}),eh=xD;var Jp=S(k(),1);function gS(e){return V("MuiListItemIcon",e)}var SD=H("MuiListItemIcon",["root","alignItemsFlexStart"]),Wp=SD;var bS=S(U(),1),CD=e=>{let{alignItems:t,classes:o}=e;return F({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},gS,o)},ED=j("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(X(({theme:e})=>({minWidth:e.spacing(4.5),color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),PD=Jp.forwardRef(function(t,o){let r=q({props:t,name:"MuiListItemIcon"}),{className:n,...a}=r,i=Jp.useContext(Na),l={...r,alignItems:i.alignItems},s=CD(l);return(0,bS.jsx)(ED,{className:I(s.root,n),ownerState:l,ref:o,...a})}),ef=PD;var RD=H("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),tf=RD;var mf=S(k(),1);var oo=S(k(),1);var of=S(k(),1),rf=of.createContext(void 0);function th(){let e=of.useContext(rf);if(e===void 0)throw new Error("MUI: RovingTabIndexContext is missing. Roving tab index items must be placed within a roving tab index provider.");return e}var We=S(k(),1);var OD=Object.is;function nf(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,!OD(e[n],t[n])||!(n in t))return!1;for(let n in t)r+=1;return o===r}var AD=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown","Home","End"];function nh(e){let{activeItemId:t,getDefaultActiveItemId:o,orientation:r,isRtl:n=!1,isItemFocusable:a=nl,wrap:i=!0}=e,[l,s]=We.useState(t),u=We.useRef(t),p=l;t!==u.current&&(u.current=t,t!==void 0&&t!==l&&(p=t,s(t)));let f=We.useRef(null),d=We.useRef(new Map),[c,T]=We.useState(0),v=We.useMemo(()=>oh(d.current),[c]),x=TS(p,v,a,o),m=We.useRef(x);m.current=x;let h=We.useCallback(()=>{let A=oh(d.current),y=TS(m.current,A,a,o);return ES(A,y)},[o,a]),g=We.useCallback(()=>d.current,[]),b=Bo(A=>{let y=d.current.get(A.id);nf(y??null,A)||(d.current.set(A.id,A),T(_=>_+1))}),P=Bo(A=>{d.current.delete(A)&&T(y=>y+1)}),C=Bo(A=>{s(A)}),E=We.useCallback(A=>m.current===A,[]),O=We.useCallback((A,y,_,R)=>{let w=af(d.current),B=SS(w,A,y,_,R??a);return B?(B.element?.focus(),s(B.id),B):null},[a]),M=We.useCallback(A=>({onFocus:R=>{let w=af(d.current),B=RS(w,R.target);B!==-1&&s(w[B].id)},onKeyDown:R=>{if(R.altKey||R.shiftKey||R.ctrlKey||R.metaKey||!AD.includes(R.key))return;let w=r==="horizontal"?"ArrowLeft":"ArrowUp",B=r==="horizontal"?"ArrowRight":"ArrowDown";r==="horizontal"&&n&&(w="ArrowRight",B="ArrowLeft");let L=af(d.current),$=ha(vt(f.current)),de=$===f.current,ne=vS(L,$,m.current),Q="next";switch(R.key){case w:Q="previous",R.preventDefault(),de&&(ne=L.length);break;case B:R.preventDefault(),de&&(ne=-1);break;case"Home":R.preventDefault(),ne=-1;break;case"End":R.preventDefault(),Q="previous",ne=L.length;break;default:return}O(ne,Q,i)},ref:_D(A,R=>{f.current=R})}),[O,n,r,i]),N=We.useCallback(A=>{let y=af(d.current),_=ha(vt(f.current)),w=_===f.current?-1:vS(y,_,m.current);return O(w,"next",!0,A)?.id??null},[O]);return We.useMemo(()=>({activeItemId:x,focusNext:N,getActiveItem:h,getContainerProps:M,getItemMap:g,isItemActive:E,registerItem:b,setActiveItemId:C,unregisterItem:P}),[x,N,h,M,g,E,b,C,P])}function ah(e){let t=th(),{activeItemId:o,registerItem:r,unregisterItem:n}=t,a=We.useRef(null),i=We.useMemo(()=>({disabled:e.disabled??!1,element:null,focusableWhenDisabled:e.focusableWhenDisabled??!1,id:e.id,selected:e.selected??!1,textValue:e.textValue}),[e.disabled,e.focusableWhenDisabled,e.id,e.selected,e.textValue]),l=We.useRef(i);l.current=i;let s=We.useCallback(p=>{if(a.current=p,p==null){queueMicrotask(()=>{a.current==null&&n(e.id)});return}r({...l.current,element:p})},[e.id,r,n]),u=xt(e.ref,s);return Tt(()=>{a.current&&r({...i,element:a.current})},[i,r]),Tt(()=>{let p=e.id;return()=>{n(p)}},[e.id,n]),{ref:u,tabIndex:o===e.id?0:-1}}function TS(e,t,o,r){return e!=null?MD(e,t,o):wD(t,o,r)}function MD(e,t,o){let r=PS(t,e);return r===-1?CS(t,o):o(t[r])?t[r].id:SS(t,r,"next",!1,o)?.id??null}function wD(e,t,o){let r=o?.(e);if(r!=null){let n=ES(e,r);if(n&&t(n))return n.id}return CS(e,t)}function vS(e,t,o){if(t){let r=RS(e,t);if(r!==-1)return r}return PS(e,o)}function SS(e,t,o,r,n){let a=e.length-1;if(a===-1)return null;let i=!1,l=xS(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=xS(l,a,o,r);else return u}return null}function CS(e,t){return e.find(o=>t(o))?.id??null}function ES(e,t){return t==null?null:e.find(o=>o.id===t)??null}function PS(e,t){return t==null?-1:e.findIndex(o=>o.id===t)}function RS(e,t){return t?e.findIndex(o=>o.element===t||o.element?.contains(t)):-1}function oh(e){let t=Array.from(e.values());if(t.every(n=>n.element==null))return t;let o=t.filter(rh).sort((n,a)=>ND(n.element,a.element)),r=t.filter(n=>!rh(n));return[...o,...r]}function af(e){return oh(e).filter(rh)}function xS(e,t,o,r=!0){return o==="next"?e===t?r?0:-1:e+1:e===0?r?t:-1:e-1}function nl(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 rh(e){return e.element!=null&&e.element.isConnected}function ND(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 _D(...e){return t=>{e.forEach(o=>{ga(o??null,t)})}}var OS=tl;function ou(e,t){if(t==null){e.focus();return}try{e.focus({focusVisible:t==="keyboard"})}catch{e.focus()}}function lf(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 sf(e){return e==null||typeof e=="string"&&!e.trim()}function ru(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}var uf=S(k(),1),AS=uf.createContext(null);function nu(){return uf.useContext(AS)}var ih=AS.Provider;var cf=S(k(),1),lh=cf.createContext(void 0);function MS(){let e=cf.useContext(lh);if(e===void 0)throw new Error("MUI: MenuListContext is missing. MenuItems must be placed within Menu or MenuList.");return e}var pf=S(U(),1);function DD(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 wS(e,t){if(t===void 0)return!0;let o=DD(e);return o=o.trim().toLowerCase(),o.length===0?!1:t.repeating?o[0]===t.keys[0]:o.startsWith(t.keys.join(""))}function zD(e,t){return wS(e,t)?nl(e):!1}function BD(e,t){ou(e,t)}var UD=oo.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=oo.useRef(null),T=oo.useRef(!1),[v,x]=oo.useState(!1),m=nu(),h=oo.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null}),g=oo.useCallback(w=>f==="selectedMenu"?w.find(B=>B.selected&&nl(B))?.id??w.find(B=>nl(B))?.id??null:w.find(B=>nl(B))?.id??null,[f]),b=nh({activeItemId:void 0,getDefaultActiveItemId:g,orientation:"vertical",wrap:!u}),{activeItemId:P,focusNext:C,getActiveItem:E,getContainerProps:O,getItemMap:M}=b,N=mn((w=!1)=>{if(!c.current||!w&&T.current)return null;if(a){let B=E();if(B?.element){let L=Array.from(M().values()).some(de=>de.selected),$=f==="menu"&&L&&!B.selected&&m==null;return x($),BD(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)});Hi(()=>{if(!n&&!a){T.current=!1,x(!1);return}N()},[P,a,n,N]),oo.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(w,{direction:B})=>{let L=!c.current.style.width;if(w.clientHeight<c.current.clientHeight&&L){let $=`${OS(_s(w))}px`;c.current.style[B==="rtl"?"paddingLeft":"paddingRight"]=$,c.current.style.width=`calc(100% + ${$})`}return c.current},focusInitialTarget:()=>{if(!c.current)return null;let w=fn(dn(c.current));return w&&c.current.contains(w)?w:N(!0)}}),[N]);let A=O(),y=_t(c,A.ref,o),_=oo.useMemo(()=>({itemsFocusableWhenDisabled:s,suppressInitialFocusVisible:v,variant:f}),[s,v,f]),R=mn(w=>{if(v&&x(!1),(w.ctrlKey||w.metaKey||w.altKey)&&p){p(w);return}if(A.onKeyDown(w),w.key.length===1){let L=h.current,$=w.key.toLowerCase(),de=performance.now();L.keys.length>0&&(de-L.lastTime>500?(L.keys=[],L.repeating=!0,L.previousKeyMatched=!0):L.repeating&&$!==L.keys[0]&&(L.repeating=!1)),L.lastTime=de,L.keys.push($);let ne=fn(dn(c.current)),Q=ne&&!L.repeating&&wS(ne,L);L.previousKeyMatched&&(Q||C(ue=>zD(ue,L))!=null)?w.preventDefault():L.previousKeyMatched=!1}p&&p(w)});return(0,pf.jsx)(eh,{role:"menu",ref:y,className:l,onKeyDown:R,onFocus:A.onFocus,tabIndex:-1,...d,children:(0,pf.jsx)(lh.Provider,{value:_,children:(0,pf.jsx)(rf.Provider,{value:b,children:i})})})}),al=UD;var zt=S(k(),1);function NS(e){return V("MuiPopover",e)}var DZ=H("MuiPopover",["root","paper"]);var df=S(U(),1);function _S(e,t){let o=0;return typeof t=="number"?o=t:t==="center"?o=e.height/2:t==="bottom"&&(o=e.height),o}function DS(e,t){let o=0;return typeof t=="number"?o=t:t==="center"?o=e.width/2:t==="right"&&(o=e.width),o}function zS(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function ff(e){return typeof e=="function"?e():e}var kD=e=>{let{classes:t}=e;return F({root:["root"],paper:["paper"]},NS,t)},jD=j(Vy,{name:"MuiPopover",slot:"Root"})({}),sh=j(gn,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),LD=zt.forwardRef(function(t,o){let r=q({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:h={vertical:"top",horizontal:"left"},transitionDuration:g="auto",disableScrollLock:b=!1,...P}=r,C=zt.useRef(),E={...r,anchorOrigin:i,anchorReference:s,elevation:c,marginThreshold:T,transformOrigin:h,transitionDuration:g},O=kD(E),M=zt.useCallback(()=>{if(s==="anchorPosition")return l;let te=ff(a),be=(te&&te.nodeType===1?te:dn(C.current).body).getBoundingClientRect();return{top:be.top+_S(be,i.vertical),left:be.left+DS(be,i.horizontal)}},[a,i.horizontal,i.vertical,l,s]),N=zt.useCallback(te=>({vertical:_S(te,h.vertical),horizontal:DS(te,h.horizontal)}),[h.horizontal,h.vertical]),A=zt.useCallback(te=>{let oe={width:te.offsetWidth,height:te.offsetHeight},be=N(oe);if(s==="none")return{top:null,left:null,transformOrigin:zS(be)};let Pt=M(),ce=Pt.top-be.vertical,Re=Pt.left-be.horizontal,pt=ce+oe.height,Ft=Re+oe.width,Ke=_s(ff(a)),ft=Ke.innerHeight-T,Rt=Ke.innerWidth-T;if(T!=null&&ce<T){let ye=ce-T;ce-=ye,be.vertical+=ye}else if(T!=null&&pt>ft){let ye=pt-ft;ce-=ye,be.vertical+=ye}if(T!=null&&Re<T){let ye=Re-T;Re-=ye,be.horizontal+=ye}else if(Ft>Rt){let ye=Ft-Rt;Re-=ye,be.horizontal+=ye}return{top:`${Math.round(ce)}px`,left:`${Math.round(Re)}px`,transformOrigin:zS(be)}},[a,s,M,N,T]),[y,_]=zt.useState(v),R=zt.useCallback(()=>{let te=C.current;if(!te)return;let oe=A(te);oe.top!=null&&te.style.setProperty("top",oe.top),oe.left!=null&&(te.style.left=oe.left),te.style.transformOrigin=oe.transformOrigin,_(!0)},[A]);zt.useEffect(()=>(b&&window.addEventListener("scroll",R),()=>window.removeEventListener("scroll",R)),[a,b,R]);let w=()=>{R()},B=()=>{_(!1)};zt.useEffect(()=>{v&&R()}),zt.useImperativeHandle(n,()=>v?{updatePosition:()=>{R()}}:null,[v,R]),zt.useEffect(()=>{if(!v)return;let te=B0(()=>{R()}),oe=_s(ff(a));return oe.addEventListener("resize",te),()=>{te.clear(),oe.removeEventListener("resize",te)}},[a,v,R]);let L=g,$={slots:x,slotProps:m},[de,ne]=Oe("transition",{elementType:Wy,externalForwardedProps:$,ownerState:E,getSlotProps:te=>({...te,onEntering:(oe,be)=>{te.onEntering?.(oe,be),w()},onExited:oe=>{te.onExited?.(oe),B()}}),additionalProps:{appear:!0,in:v}});g==="auto"&&!de.muiSupportAuto&&(L=void 0);let Q=f||(a?dn(ff(a)).body:void 0),[ue,{slots:Ge,slotProps:we,...ee}]=Oe("root",{ref:o,elementType:jD,externalForwardedProps:{...$,...P},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:x.backdrop},slotProps:{backdrop:Fi(typeof m.backdrop=="function"?m.backdrop(E):m.backdrop,{invisible:!0})},container:Q,open:v},ownerState:E,className:I(O.root,p)}),[ae,Z]=Oe("paper",{ref:C,className:O.paper,elementType:sh,externalForwardedProps:$,shouldForwardComponentProp:!0,additionalProps:{elevation:c,style:y?void 0:{opacity:0}},ownerState:E});return(0,df.jsx)(ue,{...ee,...!hn(ue)&&{slots:Ge,slotProps:we,disableAutoFocus:d,disableScrollLock:b},children:(0,df.jsx)(de,{...ne,timeout:L,children:(0,df.jsx)(ae,{...Z,children:u})})})}),uh=LD;function BS(e){return V("MuiMenu",e)}var oW=H("MuiMenu",["root","paper","list"]);var ch=S(U(),1),ID={vertical:"top",horizontal:"right"},HD={vertical:"top",horizontal:"left"},VD=e=>{let{classes:t}=e;return F({root:["root"],paper:["paper"],list:["list"]},BS,t)},FD=j(uh,{shouldForwardProp:e=>De(e)||e==="classes",name:"MuiMenu",slot:"Root"})({}),$D=j(sh,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),qD=j(al,{name:"MuiMenu",slot:"List"})({outline:0}),GD=mf.forwardRef(function(t,o){let r=q({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=Qv(),m={...r,autoFocus:n,disableAutoFocusItem:l,transitionDuration:f,variant:d},h=VD(m),g=n&&u,b=g&&!l,P=mf.useRef(null),C=(w,B)=>{P.current&&(P.current.adjustStyleForScrollbar(w,{direction:x?"rtl":"ltr"}),g&&P.current.focusInitialTarget?.())},E=w=>{w.key==="Tab"&&(w.preventDefault(),s&&s(w,"tabKeyDown"))},O={slots:c,slotProps:T},M=zy({elementType:c.root,externalSlotProps:T.root,ownerState:m,className:[h.root,i]}),[N,A]=Oe("paper",{className:h.paper,elementType:$D,externalForwardedProps:O,shouldForwardComponentProp:!0,ownerState:m}),[y,_]=Oe("list",{className:h.list,elementType:qD,shouldForwardComponentProp:!0,externalForwardedProps:O,getSlotProps:w=>({...w,onKeyDown:B=>{E(B),w.onKeyDown?.(B)}}),ownerState:m}),R=typeof T.transition=="function"?T.transition(m):T.transition;return(0,ch.jsx)(FD,{disableAutoFocus:n,onClose:s,anchorOrigin:{vertical:"bottom",horizontal:x?"right":"left"},transformOrigin:x?ID:HD,slots:{root:c.root,paper:N,backdrop:c.backdrop,transition:c.transition},slotProps:{root:M,paper:A,backdrop:typeof T.backdrop=="function"?T.backdrop(m):T.backdrop,transition:{...R,onEntering:(...w)=>{C(...w),R?.onEntering?.(...w)}}},open:u,ref:o,transitionDuration:f,ownerState:m,...v,classes:p,children:(0,ch.jsx)(y,{actions:P,autoFocus:g,autoFocusItem:b,variant:d,..._,children:a})})}),US=GD;var Cn=S(k(),1);function kS(e){return V("MuiMenuItem",e)}var KD=H("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),il=KD;var ph=S(U(),1),YD=(e,t)=>{let{ownerState:o}=e;return[t.root,o.dense&&t.dense,o.divider&&t.divider,!o.disableGutters&&t.gutters]},XD=e=>{let{disabled:t,dense:o,divider:r,disableGutters:n,selected:a,classes:i}=e,s=F({root:["root",o&&"dense",t&&"disabled",!n&&"gutters",r&&"divider",a&&"selected"]},kS,i);return{...i,...s}},QD=j(Nr,{shouldForwardProp:e=>De(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:YD})(X(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${il.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${il.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${il.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${il.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${il.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Xp.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Xp.inset}`]:{marginLeft:52},[`& .${tf.root}`]:{marginTop:0,marginBottom:0},[`& .${tf.inset}`]:{paddingLeft:36},[`& .${Wp.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${Wp.root} svg`]:{fontSize:"1.25rem"}}}]}))),ZD=Cn.forwardRef(function(t,o){let r=q({props:t,name:"MuiMenuItem"}),{autoFocus:n=!1,component:a="li",dense:i=!1,divider:l=!1,disableGutters:s=!1,focusVisibleClassName:u,role:p="menuitem",tabIndex:f,className:d,...c}=r,T=nu(),v=Cn.useContext(Na),x=Cn.useMemo(()=>({dense:i||v.dense||!1,disableGutters:s}),[v.dense,i,s]),m=MS(),h=ba(),g=m.suppressInitialFocusVisible,b=m.itemsFocusableWhenDisabled,P=Cn.useRef(null);Hi(()=>{n&&P.current&&ou(P.current,T)},[n]);let C={...r,dense:x.dense,divider:l,disableGutters:s},E=XD(r),O=ah({id:h,ref:o,disabled:r.disabled,focusableWhenDisabled:b,selected:r.selected}),M=_t(P,O.ref),N;return f!==void 0?N=f:m.variant==="selectedMenu"?N=O.tabIndex:(!r.disabled||b)&&(N=-1),(0,ph.jsx)(Na.Provider,{value:x,children:(0,ph.jsx)(QD,{ref:M,role:p,tabIndex:N,component:a,internalNativeButton:!1,focusableWhenDisabled:b,suppressFocusVisible:g,focusVisibleClassName:I(E.focusVisible,u),className:I(E.root,d),...c,ownerState:C,classes:E})})}),_a=ZD;var hf=S(k(),1);function jS(e){return V("MuiNativeSelect",e)}var WD=H("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),yf=WD;var au=S(U(),1),JD=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${K(o)}`,a&&"iconOpen",r&&"disabled"]};return F(l,jS,t)},fh=j("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${yf.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}}}]})),e5=j(fh,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:De,overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.select,t[o.variant],o.error&&t.error,{[`&.${yf.multiple}`]:t.multiple}]}})({}),dh=j("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${yf.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}}]})),t5=j(dh,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.icon,o.variant&&t[`icon${K(o.variant)}`],o.open&&t.iconOpen]}})({}),o5=hf.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=JD(p);return(0,au.jsxs)(hf.Fragment,{children:[(0,au.jsx)(e5,{ownerState:p,className:I(f.select,r),disabled:n,ref:l||o,...u}),t.multiple?null:(0,au.jsx)(t5,{as:i,ownerState:p,className:f.icon})]})}),LS=o5;var gf=S(k(),1);var iu=S(U(),1),IS,r5=j("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:De})({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%"}),n5=j("legend",{name:"MuiNotchedOutlined",shouldForwardProp:De})(X(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function mh(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,iu.jsx)(r5,{"aria-hidden":!0,className:r,ownerState:s,...i,children:(0,iu.jsx)(n5,{ownerState:s,children:l?(0,iu.jsx)("span",{children:n}):IS||(IS=(0,iu.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"}))})})}var lu=S(U(),1),a5=e=>{let{classes:t}=e,r=F({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},vx,t);return{...t,...r}},i5=j(Aa,{shouldForwardProp:e=>De(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Ra})(X(({theme:e})=>{let t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${or.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${or.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${or.focused} .${or.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(ot()).map(([o])=>({props:{color:o},style:{[`&.${or.focused} .${or.notchedOutline}`]:{borderColor:(e.vars||e).palette[o].main}}})),{props:{},style:{[`&.${or.error} .${or.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${or.disabled} .${or.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"}}]}})),l5=j(mh,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(X(({theme:e})=>{let t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),s5=j(Ma,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Oa})(X(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),HS=gf.forwardRef(function(t,o){let r=q({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=a5(r),T=Qt(),v=go({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??i5,h=u.input??s5,[g,b]=Oe("notchedOutline",{elementType:l5,className:c.notchedOutline,shouldForwardComponentProp:!0,ownerState:x,externalForwardedProps:{slots:u,slotProps:p},additionalProps:{label:i!=null&&i!==""&&v.required?(0,lu.jsxs)(gf.Fragment,{children:[i,"\u2009","*"]}):i}});return(0,lu.jsx)(jo,{slots:{root:m,input:h},slotProps:p,renderSuffix:P=>(0,lu.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}})});HS.muiName="Input";var su=HS;var sl=S(k(),1);var ze=S(k(),1);function bf(e){return V("MuiSelect",e)}var u5=H("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","nativeInput","error"]),ll=u5;var Dr=S(U(),1),VS,c5=j(fh,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[{[`&.${ll.select}`]:t.select},{[`&.${ll.select}`]:t[o.variant]},{[`&.${ll.error}`]:t.error},{[`&.${ll.multiple}`]:t.multiple}]}})({[`&.${ll.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),p5=j(dh,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.icon,o.open&&t.iconOpen]}})({}),f5=j("input",{shouldForwardProp:e=>Tp(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"}),d5=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"]},bf,t)},m5=ze.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:h,name:g,onBlur:b,onChange:P,onClose:C,onFocus:E,onKeyDown:O,onMouseDown:M,onOpen:N,open:A,readOnly:y,renderValue:_,required:R,SelectDisplayProps:w={},tabIndex:B,type:L,value:$,variant:de="standard",...ne}=t,[Q,ue]=Ds({controlled:$,default:p,name:"Select"}),[Ge,we]=Ds({controlled:A,default:u,name:"Select"}),ee=ze.useRef(null),ae=ze.useRef(null),[Z,te]=ze.useState(null),{current:oe}=ze.useRef(A!=null),[be,Pt]=ze.useState(),[ce,Re]=ze.useState(null),pt=_t(o,v),Ft=ze.useCallback(G=>{ae.current=G,G&&te(G)},[]),Ke=Z?.parentNode;ze.useImperativeHandle(pt,()=>({focus:()=>{ae.current.focus()},node:ee.current,value:Q}),[Q]);let ft=Z!==null&&Ge;ze.useEffect(()=>{if(!ft||!Ke||i||typeof ResizeObserver>"u")return;let G=new ResizeObserver(()=>{Pt(Ke.clientWidth)});return G.observe(Ke),()=>{G.disconnect()}},[ft,Ke,i]),ze.useEffect(()=>{u&&Ge&&Z&&!oe&&(Pt(i?null:Ke.clientWidth),ae.current.focus())},[Z,i]),ze.useEffect(()=>{a&&ae.current.focus()},[a]),ze.useEffect(()=>{if(!x)return;let G=dn(ae.current).getElementById(x);if(G){let ve=()=>{getSelection().isCollapsed&&ae.current.focus()};return G.addEventListener("click",ve),()=>{G.removeEventListener("click",ve)}}},[x]);let Rt=(G,ve)=>{G?(Re(lf(ve)),N&&N(ve)):(Re(null),C&&C(ve)),oe||(Pt(i?null:Ke.clientWidth),we(G))},ye=G=>{M?.(G),G.button===0&&(G.preventDefault(),ae.current.focus(),Rt(!0,G))},co=G=>{Rt(!1,G)},Mo=ze.Children.toArray(l),dt=G=>{let ve=Mo.find(Ot=>Ot.props.value===G.target.value);ve!==void 0&&(ue(ve.props.value),P&&P(G,ve))},Wn=G=>ve=>{let Ot;if(ve.currentTarget.hasAttribute("tabindex")){if(h){Ot=Array.isArray(Q)?Q.slice():[];let ni=Q.indexOf(G.props.value);ni===-1?Ot.push(G.props.value):Ot.splice(ni,1)}else Ot=G.props.value;if(G.props.onClick&&G.props.onClick(ve),Q!==Ot&&(ue(Ot),P)){let ni=ve.nativeEvent||ve,aT=new ni.constructor(ni.type,ni);Object.defineProperty(aT,"target",{writable:!0,value:{value:Ot,name:g}}),P(aT,G)}h||Rt(!1,ve)}},lr=G=>{y||([" ","ArrowUp","ArrowDown","Enter"].includes(G.key)&&(G.preventDefault(),Rt(!0,G)),O?.(G))},Cr=G=>{!ft&&b&&(Object.defineProperty(G,"target",{writable:!0,value:{value:Q,name:g}}),b(G))};delete ne["aria-invalid"];let je,Te,Ze=[],re=!1,po=!1;(Ea({value:Q})||d)&&(_?je=_(Q):re=!0);let on=Mo.map(G=>{if(!ze.isValidElement(G))return null;let ve;if(h){if(!Array.isArray(Q))throw new Error(gt(2));ve=Q.some(Ot=>ru(Ot,G.props.value)),ve&&re&&Ze.push(G.props.children)}else ve=ru(Q,G.props.value),ve&&re&&(Te=G.props.children);return ve&&(po=!0),ze.cloneElement(G,{"aria-selected":ve?"true":"false",onClick:Wn(G),onKeyUp:Ot=>{Ot.key===" "&&Ot.preventDefault(),G.props.onKeyUp&&G.props.onKeyUp(Ot)},role:"option",selected:ve,value:void 0,"data-value":G.props.value})});re&&(h?Ze.length===0?je=null:je=Ze.reduce((G,ve,Ot)=>(G.push(ve),Ot<Ze.length-1&&G.push(", "),G),[]):je=Te);let es=be;!i&&oe&&Z&&(es=Ke.clientWidth);let ts;typeof B<"u"?ts=B:ts=f?null:0;let Ye=w.id||(g?`mui-component-select-${g}`:void 0),ri={...t,variant:de,value:Q,open:ft,error:c},dm=d5(ri),rT=typeof m.slotProps?.paper=="function"?m.slotProps.paper(ri):m.slotProps?.paper,rO=typeof m.slotProps?.list=="function"?m.slotProps.list(ri):m.slotProps?.list,nT=Jo(),nO=Jo();return(0,Dr.jsxs)(ze.Fragment,{children:[(0,Dr.jsx)(c5,{as:"div",ref:Ft,tabIndex:ts,role:"combobox","aria-controls":ft?nT:void 0,"aria-disabled":f?"true":void 0,"aria-expanded":ft?"true":"false","aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[x,Ye].filter(Boolean).join(" ")||void 0,"aria-describedby":r,"aria-required":R?"true":void 0,"aria-invalid":c?"true":void 0,onKeyDown:lr,onMouseDown:f||y?null:ye,onBlur:Cr,onFocus:E,...w,ownerState:ri,className:I(w.className,dm.select,s),id:Ye,children:sf(je)?VS||(VS=(0,Dr.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"})):je}),(0,Dr.jsx)(f5,{"aria-invalid":c,value:Array.isArray(Q)?Q.join(","):Q,name:g,ref:ee,"aria-hidden":!0,onChange:dt,tabIndex:-1,disabled:f,className:dm.nativeInput,autoFocus:a,required:R,...ne,id:ne.id??nO,ownerState:ri}),(0,Dr.jsx)(p5,{as:T,className:dm.icon,ownerState:ri}),(0,Dr.jsx)(ih,{value:ce,children:(0,Dr.jsx)(US,{id:`menu-${g||""}`,anchorEl:Ke,open:ft,onClose:co,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...m,slotProps:{...m.slotProps,list:{"aria-labelledby":x,role:"listbox","aria-multiselectable":h?"true":void 0,disableListWrap:!0,id:nT,...rO},paper:{...rT,style:{minWidth:es,...rT?.style}}},children:on})})]})}),FS=m5;var uu=S(U(),1),y5=e=>{let{classes:t}=e,r=F({root:["root"]},bf,t);return{...t,...r}},yh={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>De(e)&&e!=="variant"},h5=j(tu,yh)(""),g5=j(su,yh)(""),b5=j(Js,yh)(""),$S=sl.forwardRef(function(t,o){let r=q({name:"MuiSelect",props:t}),{autoWidth:n=!1,children:a,classes:i={},className:l,defaultOpen:s=!1,displayEmpty:u=!1,IconComponent:p=Cx,id:f,input:d,inputProps:c,label:T,labelId:v,MenuProps:x,multiple:m=!1,native:h=!1,onClose:g,onOpen:b,open:P,renderValue:C,SelectDisplayProps:E,variant:O="outlined",...M}=r,N=h?LS:FS,A=Qt(),y=go({props:r,muiFormControl:A,states:["variant","error"]}),_=y.variant||O,R={...r,variant:_,classes:i},w=y5(R),{root:B,...L}=w,$=d||{standard:(0,uu.jsx)(h5,{ownerState:R}),outlined:(0,uu.jsx)(g5,{label:T,ownerState:R}),filled:(0,uu.jsx)(b5,{ownerState:R})}[_],de=_t(o,ko($));return(0,uu.jsx)(sl.Fragment,{children:sl.cloneElement($,{inputComponent:N,inputProps:{children:a,error:y.error,IconComponent:p,variant:_,type:void 0,multiple:m,...h?{id:f}:{autoWidth:n,defaultOpen:s,displayEmpty:u,labelId:v,MenuProps:x,onClose:g,onOpen:b,open:P,renderValue:C,SelectDisplayProps:{id:f,...E}},...c,classes:c?Ue(L,c.classes):L,...d?d.props.inputProps:{}},...(m&&h||u)&&_==="outlined"?{notched:!0}:{},ref:de,className:I($.props.className,l,w.root),...!d&&{variant:_},...M})})});$S.muiName="Select";var hh=$S;var GS=S(k(),1);function qS(e){return V("MuiTextField",e)}var uee=H("MuiTextField",["root"]);var Da=S(U(),1),T5={standard:tu,filled:Js,outlined:su},v5=e=>{let{classes:t}=e;return F({root:["root"]},qS,t)},x5=j(qy,{name:"MuiTextField",slot:"Root"})({}),S5=GS.forwardRef(function(t,o){let r=q({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:h,multiline:g=!1,name:b,onBlur:P,onChange:C,onFocus:E,placeholder:O,required:M=!1,rows:N,select:A=!1,slots:y={},slotProps:_={},type:R,value:w,variant:B="outlined",...L}=r,$={...r,autoFocus:a,color:s,disabled:p,error:f,fullWidth:d,multiline:g,required:M,select:A,variant:B},de=v5($),ne=Jo(T),Q=c&&ne?`${ne}-helper-text`:void 0,ue=x&&ne?`${ne}-label`:void 0,Ge=T5[B],we={slots:y,slotProps:_},[ee,ae]=Oe("select",{elementType:hh,externalForwardedProps:we,ownerState:$}),Z=A&&ae.native,te={},oe=we.slotProps.inputLabel;B==="outlined"&&(oe&&typeof oe.shrink<"u"&&(te.notched=oe.shrink),te.label=x),A&&(Z||(te.id=void 0),te["aria-describedby"]=void 0);let[be,Pt]=Oe("root",{elementType:x5,shouldForwardComponentProp:!0,externalForwardedProps:{...we,...L},ownerState:$,className:I(de.root,l),ref:o,additionalProps:{disabled:p,error:f,fullWidth:d,required:M,color:s,variant:B}}),[ce,Re]=Oe("input",{elementType:Ge,externalForwardedProps:we,additionalProps:te,ownerState:$}),[pt,Ft]=Oe("inputLabel",{elementType:Jy,externalForwardedProps:we,ownerState:$}),[Ke,ft]=Oe("htmlInput",{elementType:"input",externalForwardedProps:we,ownerState:$}),[Rt,ye]=Oe("formHelperText",{elementType:Yy,externalForwardedProps:we,ownerState:$}),co=(0,Da.jsx)(ce,{"aria-describedby":Q,autoComplete:n,autoFocus:a,defaultValue:u,fullWidth:d,multiline:g,name:b,rows:N,maxRows:m,minRows:h,type:R,value:w,id:ne,inputRef:v,onBlur:P,onChange:C,onFocus:E,placeholder:O,inputProps:ft,slots:{input:y.htmlInput?Ke:void 0},...Re});return(0,Da.jsxs)(be,{...Pt,children:[x!=null&&x!==""&&(0,Da.jsx)(pt,{htmlFor:A&&!Z?void 0:ne,id:ue,...A&&!Z&&{component:"div"},...Ft,children:x}),A?(0,Da.jsx)(ee,{"aria-describedby":Q,id:ne,labelId:ue,value:w,input:co,...ae,children:i}):co,c&&(0,Da.jsx)(Rt,{id:Q,...ye,children:c})]})}),Tf=S5;var QS=S(k(),1);var za=S(U(),1);function KS({error:e,busy:t}){return(0,za.jsxs)(za.Fragment,{children:[e&&(0,za.jsxs)(Gs,{role:"alert",variant:"caption",color:"error",sx:{display:"block",mt:.5},children:["Not sent: ",e]}),(0,za.jsx)(Gs,{variant:"caption",color:"text.secondary",sx:{display:"block",mt:.5},children:t?"Sending\u2026":`Enter to ${e?"retry":"send"} \xB7 Shift+Enter for a new line \xB7 Esc to close`})]})}function C5(e){return(e.ctrlKey||e.metaKey)&&e.key.toLowerCase()==="c"}function YS(e,t,o){return r=>{if(e&&t&&C5(r)){r.preventDefault(),navigator.clipboard?.writeText(e);return}o(r)}}function XS(e,t){return o=>{o.key==="Escape"?(o.preventDefault(),e(!0)):o.key==="Enter"&&!o.shiftKey&&!o.nativeEvent.isComposing&&(o.preventDefault(),t())}}var cu=S(U(),1);function ZS({onSend:e,onClose:t,placeholder:o="Instructions (optional)",error:r,busy:n=!1,keepDraftOnBlur:a=!1,copyWhenEmpty:i}){let[l,s]=(0,QS.useState)(""),u=YS(i,!l,XS(t,()=>{n||e(l)}));return(0,cu.jsxs)(gn,{elevation:8,sx:{p:1.5},children:[(0,cu.jsx)(Tf,{autoFocus:!0,fullWidth:!0,multiline:!0,maxRows:6,size:"small",placeholder:o,value:l,onChange:f=>s(f.target.value),onKeyDown:u,onBlur:()=>{let f=a&&l.trim()!=="";document.hasFocus()&&!r&&!n&&!f&&t(!1)},error:!!r,slotProps:{htmlInput:{"aria-label":"Instructions for assist"}}}),(0,cu.jsx)(KS,{error:r,busy:n})]})}var r1=S(k(),1);var WS=[{label:"Checkout",args:["review","--checkout-only"]},{label:"Address Comments",args:["review-pr-comments"]},{label:"Fix conflicts (merge)",args:["fix-conflict"]},{label:"Fix conflicts (rebase)",args:["fix-conflict","--rebase"]}];var JS=[{label:"Review",args:["review"]},{label:"Review & refine",args:["review","--refine"]},{label:"Review & apply",args:["review","--apply"]},{label:"Review & post",args:["review","--no-prompt","--submit"]},{label:"High-level review",args:["review","--high-level"]}];var gh=[{key:"force",label:"Force re-run",flag:"--force"},{key:"addressComments",label:"Address comments after",flag:"--address-comments"},{key:"announce",label:"Announce to Slack after",flag:"--announce"}],e1={force:!1,addressComments:!1,announce:!1};function t1(e){return gh.filter(({key:t})=>e[t]).map(({flag:t})=>t)}var pu=S(U(),1);function o1({value:e,onChange:t}){return gh.map(({key:o,label:r})=>(0,pu.jsxs)(_a,{role:"menuitemcheckbox","aria-checked":e[o],onClick:()=>t({...e,[o]:!e[o]}),children:[(0,pu.jsx)(ef,{children:(0,pu.jsx)(qp,{size:"small",edge:"start",checked:e[o],tabIndex:-1,disableRipple:!0,sx:{p:0}})}),r]},o))}var zr=S(U(),1);function n1({onPick:e,onClose:t}){let[o,r]=(0,r1.useState)(e1);return(0,zr.jsx)(gn,{elevation:8,children:(0,zr.jsxs)(al,{autoFocusItem:!0,dense:!0,"aria-label":"Start an assist session for this PR",onKeyDown:i=>{i.key==="Escape"&&(i.preventDefault(),t(!0))},onBlur:i=>{i.currentTarget.contains(i.relatedTarget)||document.hasFocus()&&t(!1)},children:[JS.map(({label:i,args:l})=>(0,zr.jsx)(_a,{onClick:()=>e([...l,...t1(o)]),children:i},i)),(0,zr.jsx)(Ws,{}),(0,zr.jsx)(o1,{value:o,onChange:r}),(0,zr.jsx)(Ws,{}),WS.map(({label:i,args:l})=>(0,zr.jsx)(_a,{onClick:()=>e(l),children:i},i))]})})}var bh=S(U(),1);function a1(e,{send:t,dismiss:o}){return e==="review"?(0,bh.jsx)(n1,{onPick:r=>{o(!1),t({args:r})},onClose:o}):(0,bh.jsx)(ZS,{onSend:r=>{o(!1),t({instructions:r||void 0})},onClose:o})}var i1="data-assist-send-style",E5=`
147
147
  .assist-send {
148
148
  font: inherit;
149
149
  font-size: 12px;
@@ -199,23 +199,23 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
199
199
  transition: none;
200
200
  }
201
201
  }
202
- `;function i1(){if(document.head.querySelector(`[${a1}]`))return;let e=document.createElement("style");e.setAttribute(a1,""),e.textContent=S5,document.head.append(e)}function vf(){return globalThis.browser?.runtime}async function l1(e){let t=vf();if(!t)return{ok:!1,message:"assist extension runtime unavailable"};try{return await t.sendMessage(e)??{ok:!1,message:"assist extension did not reply"}}catch(o){return{ok:!1,message:o instanceof Error?o.message:String(o)}}}function s1(e){let t={type:"assist-send",...e};return l1(t)}var C5=["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(";"),u1={ok:"var(--bgColor-success-emphasis, #1f883d)",error:"var(--bgColor-danger-emphasis, #cf222e)"};function c1(e,t){let o=document.createElement("div");return o.setAttribute("data-assist-toast",""),o.setAttribute("role","status"),o.style.cssText=`${C5};background: ${t?u1.ok:u1.error}`,o.textContent=e,document.body.append(o),setTimeout(()=>o.remove(),t?4e3:8e3),o}var VR=S(kR(),1);var Qz=["keydown","keyup","keypress"];function jR(e){for(let t of Qz)e.addEventListener(t,o=>o.stopPropagation())}var Jl=S(k(),1);function Zz(e){let t=e.getAttribute("data-color-mode");return t==="light"||t==="dark"?t:globalThis.matchMedia?.("(prefers-color-scheme: dark)").matches?"dark":"light"}function fc(e){let t=Zz(e),o=e.getAttribute(t==="dark"?"data-dark-theme":"data-light-theme");return o?o.startsWith("dark")?"dark":"light":t}var Wz=["data-color-mode","data-light-theme","data-dark-theme"];function LR(e,t){let o=fc(e),r=()=>{let i=fc(e);i!==o&&(o=i,t(i))},n=new MutationObserver(r);n.observe(e,{attributeFilter:Wz});let a=globalThis.matchMedia?.("(prefers-color-scheme: dark)");return a?.addEventListener?.("change",r),()=>{n.disconnect(),a?.removeEventListener?.("change",r)}}var HR=S(U(),1);function IR({children:e}){let[t,o]=(0,Jl.useState)(()=>fc(document.documentElement));(0,Jl.useEffect)(()=>LR(document.documentElement,o),[]);let r=(0,Jl.useMemo)(()=>dr({palette:{mode:t},typography:{fontFamily:"inherit"}}),[t]);return(0,HR.jsx)(vp,{theme:r,children:e})}var Zb=S(U(),1);function Xd(e,t,o){let r=e.shadowRoot??e.attachShadow({mode:"open"});jR(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=Oc({key:t,container:n}),l=(0,VR.createRoot)(a);return l.render((0,Zb.jsx)(Dm,{value:i,children:(0,Zb.jsx)(IR,{children:o})})),l}function FR(e,t){let o=t.closest('dialog, [role="dialog"]'),r=o?eB:Jz,n=()=>{e.style.cssText=r(t)};return n(),o?(e.setAttribute("popover","manual"),o.append(e),e.showPopover?.()):document.body.append(e),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)}function Jz(e){let{top:t,left:o}=$R(e);return["position: absolute",`top: ${t+window.scrollY}px`,`left: ${o+window.scrollX}px`,"width: 320px","z-index: 2147483646"].join(";")}function eB(e){let{top:t,left:o}=$R(e);return["position: fixed","inset: auto",`top: ${t}px`,`left: ${o}px`,"width: 320px","height: auto","margin: 0","padding: 0","border: 0","background: transparent","overflow: visible"].join(";")}function $R(e){let t=e.getBoundingClientRect(),o=Math.max(16,Math.min(t.left,window.innerWidth-320-16));return{top:t.bottom+4,left:o}}var dc=null;function tB(){dc?.close()}function qR(e,t){let o=dc?.anchor;if(tB(),o===e)return;let r=document.createElement("div");r.setAttribute("data-assist-popover","");let n=FR(r,e),a=()=>{dc?.close===a&&(dc=null,n(),r.remove(),queueMicrotask(()=>i.unmount()))};dc={anchor:e,close:a};let i=Xd(r,"assist-popover",t(l=>{a(),l&&e.focus()}))}var oB="icons/assist-32.png";function GR(){let e=vf()?.getURL?.(oB);if(!e)return;let t=document.createElement("img");return t.src=e,t.alt="",t}var KR="assist";function Qd(e,t,o="comment"){i1();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=KR;let a=GR();a&&r.append(a),r.append(n);let i=async l=>{r.disabled=!0,n.textContent="sending\u2026";let s=await s1({url:e(),...l});c1(s.message,s.ok),r.disabled=!1,n.textContent=KR};return r.addEventListener("mousedown",l=>l.preventDefault()),r.addEventListener("click",l=>{l.preventDefault(),l.stopPropagation();let s=o==="header"&&iT(e());qR(r,u=>n1(s?"review":"instructions",{send:i,dismiss:u}))}),r}var rB=['a[href*="#discussion_r"]','a[href*="#issuecomment-"]','a[href*="#pullrequestreview-"]'].join(",");function nB(e){return e.classList.contains("js-timestamp")||e.querySelector("relative-time")!==null}function YR(){for(let e of document.querySelectorAll(rB))nB(e)&&(e.nextElementSibling?.hasAttribute("data-assist-send")||e.after(Qd(()=>e.href,"Start an assist session from this comment")))}function Zd({owner:e,repo:t,number:o}){return document.querySelector(`a[href$="/${e}/${t}/pull/${o}" i]`)!==null}var aB=/^\/(?:orgs|users)\/[^/]+\/projects\/\d+(?:\/|$)/,iB=/^([\w.-]+)\|([\w.-]+)\|(\d+)$/;function Wd({pathname:e,search:t}){if(!aB.test(e))return;let o=new URLSearchParams(t);if(o.get("pane")!=="issue")return;let r=iB.exec(o.get("issue")??"");if(!r)return;let[,n,a,i]=r;return{owner:n,repo:a,number:i}}var lB=/^\/([^/]+)\/([^/]+)\/(pull|issues)\/(\d+)(?:\/|$)/;function Wb(e,t=Zd){let o=lB.exec(e.pathname);if(o){let[,a,i,l,s]=o;return`${e.origin}/${a}/${i}/${l}/${s}`}let r=Wd(e);if(!r)return;let n=t(r)?"pull":"issues";return`${e.origin}/${r.owner}/${r.repo}/${n}/${r.number}`}var sB='.gh-header-actions, [data-component="PH_Actions"]';function XR(){if(!Wb(location)){for(let e of document.querySelectorAll(".assist-send--header[data-assist-send]"))e.remove();return}for(let e of document.querySelectorAll(sB))e.querySelector(":scope > [data-assist-send]")||e.prepend(Qd(()=>Wb(location)??location.href,"Start an assist session from this page","header"))}var uB=/^ {0,3}#{1,6}[ \t]+acceptance criteria[ \t]*$/i,cB=/^ {0,3}#{1,6}[ \t]/;function Sr(e){let t=e.split(`
203
- `),o=t.findIndex(i=>uB.test(i));if(o===-1)return null;let r=o+1;for(;r<t.length&&!cB.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 Jd(e){let t=0;for(let o of e)t+=o===" "?4:1;return t}function em(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 pB=/^([ \t]*)\d+[.)](?:[ \t]+(.*))?$/;function QR(e){let t=Sr(e);if(!t)return null;let o=[];for(let n of t.lines){if(n.trim()==="")continue;let a=pB.exec(n);if(!a)return null;o.push({width:Jd(a[1]),text:a[2]??""})}let r=em(o.map(n=>n.width));return{before:t.before,items:o.map((n,a)=>({text:n.text,depth:r[a]})),after:t.after}}function tm(e){let t=QR(e);if(t)return{kind:"outline",items:t.items,before:t.before.join(`
202
+ `;function l1(){if(document.head.querySelector(`[${i1}]`))return;let e=document.createElement("style");e.setAttribute(i1,""),e.textContent=E5,document.head.append(e)}function vf(){return globalThis.browser?.runtime}async function s1(e){let t=vf();if(!t)return{ok:!1,message:"assist extension runtime unavailable"};try{return await t.sendMessage(e)??{ok:!1,message:"assist extension did not reply"}}catch(o){return{ok:!1,message:o instanceof Error?o.message:String(o)}}}function u1(e){let t={type:"assist-send",...e};return s1(t)}var P5=["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(";"),c1={ok:"var(--bgColor-success-emphasis, #1f883d)",error:"var(--bgColor-danger-emphasis, #cf222e)"};function p1(e,t){let o=document.createElement("div");return o.setAttribute("data-assist-toast",""),o.setAttribute("role","status"),o.style.cssText=`${P5};background: ${t?c1.ok:c1.error}`,o.textContent=e,document.body.append(o),setTimeout(()=>o.remove(),t?4e3:8e3),o}var FR=S(jR(),1);var Wz=["keydown","keyup","keypress"];function LR(e){for(let t of Wz)e.addEventListener(t,o=>o.stopPropagation())}var Jl=S(k(),1);function Jz(e){let t=e.getAttribute("data-color-mode");return t==="light"||t==="dark"?t:globalThis.matchMedia?.("(prefers-color-scheme: dark)").matches?"dark":"light"}function fc(e){let t=Jz(e),o=e.getAttribute(t==="dark"?"data-dark-theme":"data-light-theme");return o?o.startsWith("dark")?"dark":"light":t}var eB=["data-color-mode","data-light-theme","data-dark-theme"];function IR(e,t){let o=fc(e),r=()=>{let i=fc(e);i!==o&&(o=i,t(i))},n=new MutationObserver(r);n.observe(e,{attributeFilter:eB});let a=globalThis.matchMedia?.("(prefers-color-scheme: dark)");return a?.addEventListener?.("change",r),()=>{n.disconnect(),a?.removeEventListener?.("change",r)}}var VR=S(U(),1);function HR({children:e}){let[t,o]=(0,Jl.useState)(()=>fc(document.documentElement));(0,Jl.useEffect)(()=>IR(document.documentElement,o),[]);let r=(0,Jl.useMemo)(()=>dr({palette:{mode:t},typography:{fontFamily:"inherit"}}),[t]);return(0,VR.jsx)(vp,{theme:r,children:e})}var Zb=S(U(),1);function Xd(e,t,o){let r=e.shadowRoot??e.attachShadow({mode:"open"});LR(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=Oc({key:t,container:n}),l=(0,FR.createRoot)(a);return l.render((0,Zb.jsx)(Dm,{value:i,children:(0,Zb.jsx)(HR,{children:o})})),l}function $R(e,t){let o=t.closest('dialog, [role="dialog"]'),r=o?oB:tB,n=()=>{e.style.cssText=r(t)};return n(),o?(e.setAttribute("popover","manual"),o.append(e),e.showPopover?.()):document.body.append(e),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)}function tB(e){let{top:t,left:o}=qR(e);return["position: absolute",`top: ${t+window.scrollY}px`,`left: ${o+window.scrollX}px`,"width: 320px","z-index: 2147483646"].join(";")}function oB(e){let{top:t,left:o}=qR(e);return["position: fixed","inset: auto",`top: ${t}px`,`left: ${o}px`,"width: 320px","height: auto","margin: 0","padding: 0","border: 0","background: transparent","overflow: visible"].join(";")}function qR(e){let t=e.getBoundingClientRect(),o=Math.max(16,Math.min(t.left,window.innerWidth-320-16));return{top:t.bottom+4,left:o}}var dc=null;function rB(){dc?.close()}function GR(e,t){let o=dc?.anchor;if(rB(),o===e)return;let r=document.createElement("div");r.setAttribute("data-assist-popover","");let n=$R(r,e),a=()=>{dc?.close===a&&(dc=null,n(),r.remove(),queueMicrotask(()=>i.unmount()))};dc={anchor:e,close:a};let i=Xd(r,"assist-popover",t(l=>{a(),l&&e.focus()}))}var nB="icons/assist-32.png";function KR(){let e=vf()?.getURL?.(nB);if(!e)return;let t=document.createElement("img");return t.src=e,t.alt="",t}var YR="assist";function Qd(e,t,o="comment"){l1();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=YR;let a=KR();a&&r.append(a),r.append(n);let i=async l=>{r.disabled=!0,n.textContent="sending\u2026";let s=await u1({url:e(),...l});p1(s.message,s.ok),r.disabled=!1,n.textContent=YR};return r.addEventListener("mousedown",l=>l.preventDefault()),r.addEventListener("click",l=>{l.preventDefault(),l.stopPropagation();let s=o==="header"&&iT(e());GR(r,u=>a1(s?"review":"instructions",{send:i,dismiss:u}))}),r}var aB=['a[href*="#discussion_r"]','a[href*="#issuecomment-"]','a[href*="#pullrequestreview-"]'].join(",");function iB(e){return e.classList.contains("js-timestamp")||e.querySelector("relative-time")!==null}function XR(){for(let e of document.querySelectorAll(aB))iB(e)&&(e.nextElementSibling?.hasAttribute("data-assist-send")||e.after(Qd(()=>e.href,"Start an assist session from this comment")))}function Zd({owner:e,repo:t,number:o}){return document.querySelector(`a[href$="/${e}/${t}/pull/${o}" i]`)!==null}var lB=/^\/(?:orgs|users)\/[^/]+\/projects\/\d+(?:\/|$)/,sB=/^([\w.-]+)\|([\w.-]+)\|(\d+)$/;function Wd({pathname:e,search:t}){if(!lB.test(e))return;let o=new URLSearchParams(t);if(o.get("pane")!=="issue")return;let r=sB.exec(o.get("issue")??"");if(!r)return;let[,n,a,i]=r;return{owner:n,repo:a,number:i}}var uB=/^\/([^/]+)\/([^/]+)\/(pull|issues)\/(\d+)(?:\/|$)/;function Wb(e,t=Zd){let o=uB.exec(e.pathname);if(o){let[,a,i,l,s]=o;return`${e.origin}/${a}/${i}/${l}/${s}`}let r=Wd(e);if(!r)return;let n=t(r)?"pull":"issues";return`${e.origin}/${r.owner}/${r.repo}/${n}/${r.number}`}var cB='.gh-header-actions, [data-component="PH_Actions"]';function QR(){if(!Wb(location)){for(let e of document.querySelectorAll(".assist-send--header[data-assist-send]"))e.remove();return}for(let e of document.querySelectorAll(cB))e.querySelector(":scope > [data-assist-send]")||e.prepend(Qd(()=>Wb(location)??location.href,"Start an assist session from this page","header"))}var pB=/^ {0,3}#{1,6}[ \t]+acceptance criteria[ \t]*$/i,fB=/^ {0,3}#{1,6}[ \t]/;function Sr(e){let t=e.split(`
203
+ `),o=t.findIndex(i=>pB.test(i));if(o===-1)return null;let r=o+1;for(;r<t.length&&!fB.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 Jd(e){let t=0;for(let o of e)t+=o===" "?4:1;return t}function em(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 dB=/^([ \t]*)\d+[.)](?:[ \t]+(.*))?$/;function ZR(e){let t=Sr(e);if(!t)return null;let o=[];for(let n of t.lines){if(n.trim()==="")continue;let a=dB.exec(n);if(!a)return null;o.push({width:Jd(a[1]),text:a[2]??""})}let r=em(o.map(n=>n.width));return{before:t.before,items:o.map((n,a)=>({text:n.text,depth:r[a]})),after:t.after}}function tm(e){let t=ZR(e);if(t)return{kind:"outline",items:t.items,before:t.before.join(`
204
204
  `),after:t.after.join(`
205
205
  `)};let o=Sr(e);return o?{kind:"convert",before:[...o.before,...o.lines].join(`
206
206
  `),after:o.after.join(`
207
- `)}:{kind:"insert",before:e,after:""}}var L2=S(k(),1);var ZR={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}},WR={p:.25,mt:"2px",color:"text.disabled",cursor:"grab",touchAction:"none","&:active":{cursor:"grabbing"}},JR={fontFamily:"monospace",fontSize:"0.8rem",color:"text.secondary",minWidth:32,pt:"5px",textAlign:"right",userSelect:"none",whiteSpace:"nowrap"},om={flex:1,fontSize:"inherit",lineHeight:1.5,px:.75,py:0,borderRadius:1,"&:hover":{bgcolor:"action.hover"},"&.Mui-focused":{bgcolor:"action.selected"}},Jb={p:.25,mt:"2px"},e2={position:"absolute",right:8,height:2,borderRadius:1,bgcolor:"primary.main",pointerEvents:"none"};var t2=S(U(),1),fB={...om,flex:"none",width:"100%"};function mc({label:e,value:t,onChange:o}){return(0,t2.jsx)(jo,{multiline:!0,fullWidth:!0,value:t,sx:fB,inputProps:{"aria-label":e},onChange:r=>o(r.target.value)})}var o2=S(U(),1),rm=it((0,o2.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");var r2=S(U(),1),n2=it((0,r2.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 yc=S(U(),1),dB={insert:"Add acceptance criteria",convert:"Convert to outline"};function nm({kind:e,onClick:t}){return(0,yc.jsx)(Zt,{sx:{my:1},"data-preview-skip":!0,children:(0,yc.jsx)(Vp,{size:"small",variant:"outlined",startIcon:e==="insert"?(0,yc.jsx)(rm,{}):(0,yc.jsx)(n2,{}),onClick:t,children:dB[e]})})}var a2=`## Acceptance criteria
207
+ `)}:{kind:"insert",before:e,after:""}}var I2=S(k(),1);var WR={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}},JR={p:.25,mt:"2px",color:"text.disabled",cursor:"grab",touchAction:"none","&:active":{cursor:"grabbing"}},e2={fontFamily:"monospace",fontSize:"0.8rem",color:"text.secondary",minWidth:32,pt:"5px",textAlign:"right",userSelect:"none",whiteSpace:"nowrap"},om={flex:1,fontSize:"inherit",lineHeight:1.5,px:.75,py:0,borderRadius:1,"&:hover":{bgcolor:"action.hover"},"&.Mui-focused":{bgcolor:"action.selected"}},Jb={p:.25,mt:"2px"},t2={position:"absolute",right:8,height:2,borderRadius:1,bgcolor:"primary.main",pointerEvents:"none"};var o2=S(U(),1),mB={...om,flex:"none",width:"100%"};function mc({label:e,value:t,onChange:o}){return(0,o2.jsx)(jo,{multiline:!0,fullWidth:!0,value:t,sx:mB,inputProps:{"aria-label":e},onChange:r=>o(r.target.value)})}var r2=S(U(),1),rm=it((0,r2.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");var n2=S(U(),1),a2=it((0,n2.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 yc=S(U(),1),yB={insert:"Add acceptance criteria",convert:"Convert to outline"};function nm({kind:e,onClick:t}){return(0,yc.jsx)(Zt,{sx:{my:1},"data-preview-skip":!0,children:(0,yc.jsx)(Vp,{size:"small",variant:"outlined",startIcon:e==="insert"?(0,yc.jsx)(rm,{}):(0,yc.jsx)(a2,{}),onClick:t,children:yB[e]})})}var i2=`## Acceptance criteria
208
208
 
209
- 1.`;function i2(e){let t=e.replace(/\n+$/,"");return t===""?a2:`${t}
209
+ 1.`;function l2(e){let t=e.replace(/\n+$/,"");return t===""?i2:`${t}
210
210
 
211
- ${a2}`}var hc=S(U(),1),mB="Issue body";function l2({body:e,onBody:t}){return(0,hc.jsxs)(Zt,{sx:{width:"100%"},children:[(0,hc.jsx)(mc,{label:mB,value:e,onChange:t}),(0,hc.jsx)(nm,{kind:"insert",onClick:()=>t(i2(e))})]})}var B2=S(k(),1);function s2(e){let t=[];return e.map(o=>(t.length=o+1,t[o]=(t[o]??0)+1,t.map(r=>r??1).join(".")))}function am(e){return e*22}function u2(e){return Math.round(e/22)}var p2=S(U(),1),yB=8;function c2({drag:e}){return e?(0,p2.jsx)(Zt,{sx:e2,style:{top:e.top-1,left:yB+am(e.depth)}}):null}var f2=S(U(),1),d2=it((0,f2.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 eT=S(U(),1);function m2({number:e,onGrip:t}){return(0,eT.jsx)(Ca,{size:"small",className:"criterion-action",sx:WR,"aria-label":`Reorder criterion ${e}`,onPointerDown:t,children:(0,eT.jsx)(d2,{fontSize:"inherit"})})}var y2=S(U(),1),h2=it((0,y2.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 tn=S(U(),1);function g2({number:e,onAdd:t,onDelete:o}){return(0,tn.jsxs)(tn.Fragment,{children:[(0,tn.jsx)(Ca,{size:"small",className:"criterion-action",sx:Jb,"aria-label":`Add criterion after ${e}`,onClick:t,children:(0,tn.jsx)(rm,{fontSize:"inherit"})}),(0,tn.jsx)(Ca,{size:"small",className:"criterion-action",sx:Jb,"aria-label":`Delete criterion ${e}`,onClick:o,children:(0,tn.jsx)(h2,{fontSize:"inherit"})})]})}var im=S(k(),1);function b2(e,t){return e==="start"?0:e==="end"?t:Math.min(Math.max(e,0),t)}function T2(e){let t=(0,im.useRef)(null);return(0,im.useEffect)(()=>{let o=t.current;if(!e||!o)return;o.focus();let r=b2(e.caret,o.value.length);o.setSelectionRange(r,r)},[e]),t}var ti=S(U(),1);function v2({index:e,number:t,item:o,outline:r,dragging:n,onGrip:a}){let i=T2(r.focus?.index===e?r.focus:null),l={marginLeft:am(o.depth),opacity:n?.4:1};return(0,ti.jsxs)(Zt,{sx:ZR,"data-criterion-row":!0,style:l,children:[(0,ti.jsx)(m2,{number:t,onGrip:a}),(0,ti.jsx)(Zt,{component:"span",sx:JR,"aria-hidden":"true",children:`${t}.`}),(0,ti.jsx)(jo,{multiline:!0,value:o.text,sx:om,inputRef:i,inputProps:{"aria-label":`Criterion ${t}`},onChange:s=>r.onText(e,s.target.value),onKeyDown:s=>r.onKeyDown(e,s)}),(0,ti.jsx)(g2,{number:t,onAdd:()=>r.onAdd(e),onDelete:()=>r.onDelete(e)})]})}var O2=S(k(),1);function x2(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 Zn(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 lm(e,t,o,r){let n=e[t]?.depth??0,a=e.map((i,l)=>l===t?{...i,text:o}:i);return{items:Zn([...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 sm(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 S2(e,t){let o=Ao(e,t);return o<e.length&&e[o].depth===e[t].depth?o:-1}function C2(e,t,o){let r=o<0?sm(e,t):S2(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 um(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:Zn(r),index:Math.max(0,t-1)}}function E2(e,t,o){if(o<0&&e[t].depth===0||o>0&&sm(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 cm(e,t){return e?{kind:"edit",edit:e,caret:t}:null}function hB(e,t,{caret:o,text:r}){let n=r.slice(0,o);return cm(lm(e,t,n,r.slice(o)),"start")}function gB(e,t,{shift:o,caret:r}){let n=E2(e,t,o?-1:1);return cm(n?{items:n,index:t}:null,r)}function P2(e,t,o){let{key:r,shift:n,alt:a,caret:i,text:l}=o;return r==="Enter"&&!n?hB(e,t,o):r==="Tab"?gB(e,t,o):a&&(r==="ArrowUp"||r==="ArrowDown")?cm(C2(e,t,r==="ArrowUp"?-1:1),i):r==="Backspace"&&i===0&&l===""?cm(um(e,t),"end"):null}function R2(e,t,o){return P2(e,t,o)??x2(e,t,o)}function A2(e,t){let[o,r]=(0,O2.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=R2(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(lm(e,i,e[i].text,""),"start"),onDelete:i=>n(um(e,i),"end")}}var D2=S(k(),1);function bB(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 TB(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+u2(r),l))}function vB(e,t){if(t<e.length)return e[t].top;let o=e[e.length-1];return o?o.top+o.height:0}function M2(e,t,o,r,n){let a=bB(e,t,o,n);return{target:a,depth:TB(t,o,a,r),top:vB(e,a)}}function xB(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 w2(e,t,o,r){return n=>{let{boxes:a,origin:i}=xB(t);return M2(a,e,o,n.clientX-r,n.clientY-i)}}function N2(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 _2(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:Zn([...l.slice(0,s),...i,...l.slice(s)]),index:s}}function z2(e,t,o){let[r,n]=(0,D2.useState)(null);return{drag:r,onGrip:i=>l=>{let s=t.current;if(!s||l.pointerType==="mouse"&&l.button!==0)return;l.preventDefault(),N2(l.currentTarget,l.pointerId,w2(e,s,i,l.clientX),p=>n({from:i,depth:p.depth,top:p.top}),p=>{n(null),o(_2(e,i,p.target,p.depth))})(l)}}}var gc=S(U(),1),SB={my:1,px:1,py:.5,border:1,borderColor:"divider",borderRadius:1,position:"relative",userSelect:"text",cursor:"auto"},CB=[{text:"",depth:0}];function U2({items:e,onChange:t}){let o=(0,B2.useRef)(null),r=e.length>0?e:CB,n=A2(r,t),{drag:a,onGrip:i}=z2(r,o,n.onDrop),l=s2(r.map(s=>s.depth));return(0,gc.jsxs)(Zt,{sx:SB,ref:o,"data-preview-skip":!0,"aria-label":"Acceptance criteria",children:[r.map((s,u)=>(0,gc.jsx)(v2,{index:u,number:l[u],item:s,outline:n,dragging:a?.from===u,onGrip:i(u)},`criterion-${u}`)),(0,gc.jsx)(c2,{drag:a})]})}var EB=" ";function PB({text:e,depth:t}){let o=`${EB.repeat(t)}1.`;return e===""?o:`${o} ${e}`}function pm(e,t){let o=Sr(e);return o?[...o.before,...t.map(PB),...o.after].join(`
212
- `):e}var RB=/^([ \t]*)(?:[-*+]|\d+[.)])(?:[ \t]+(.*))?$/,OB=/^\[[ xX]\][ \t]*/;function AB(e){return e.slice(0,e.length-e.trimStart().length)}function k2(e){let t=Sr(e);if(!t)return e;let o=t.lines.filter(n=>n.trim()!=="").map(n=>{let a=RB.exec(n);return{width:Jd(a?a[1]:AB(n)),text:(a?a[2]??"":n.trim()).replace(OB,"")}}),r=em(o.map(n=>n.width));return pm(e,Zn(o.map((n,a)=>({text:n.text,depth:r[a]}))))}var tT=S(U(),1);function j2({items:e,body:t,onBody:o}){return e?(0,tT.jsx)(U2,{items:e,onChange:r=>o(pm(t,r))}):(0,tT.jsx)(nm,{kind:"convert",onClick:()=>o(k2(t))})}var oi=S(U(),1),MB="Body before acceptance criteria",wB="Body after acceptance criteria";function I2({initialBody:e,onBody:t}){let[o,r]=(0,L2.useState)(e),n=tm(o),a=Sr(o),i=p=>{r(p),t(p)};if(n.kind==="insert"||!a)return(0,oi.jsx)(l2,{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,oi.jsxs)(Zt,{sx:{width:"100%"},children:[(0,oi.jsx)(mc,{label:MB,value:s.join(`
211
+ ${i2}`}var hc=S(U(),1),hB="Issue body";function s2({body:e,onBody:t}){return(0,hc.jsxs)(Zt,{sx:{width:"100%"},children:[(0,hc.jsx)(mc,{label:hB,value:e,onChange:t}),(0,hc.jsx)(nm,{kind:"insert",onClick:()=>t(l2(e))})]})}var U2=S(k(),1);function u2(e){let t=[];return e.map(o=>(t.length=o+1,t[o]=(t[o]??0)+1,t.map(r=>r??1).join(".")))}function am(e){return e*22}function c2(e){return Math.round(e/22)}var f2=S(U(),1),gB=8;function p2({drag:e}){return e?(0,f2.jsx)(Zt,{sx:t2,style:{top:e.top-1,left:gB+am(e.depth)}}):null}var d2=S(U(),1),m2=it((0,d2.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 eT=S(U(),1);function y2({number:e,onGrip:t}){return(0,eT.jsx)(Ca,{size:"small",className:"criterion-action",sx:JR,"aria-label":`Reorder criterion ${e}`,onPointerDown:t,children:(0,eT.jsx)(m2,{fontSize:"inherit"})})}var h2=S(U(),1),g2=it((0,h2.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 tn=S(U(),1);function b2({number:e,onAdd:t,onDelete:o}){return(0,tn.jsxs)(tn.Fragment,{children:[(0,tn.jsx)(Ca,{size:"small",className:"criterion-action",sx:Jb,"aria-label":`Add criterion after ${e}`,onClick:t,children:(0,tn.jsx)(rm,{fontSize:"inherit"})}),(0,tn.jsx)(Ca,{size:"small",className:"criterion-action",sx:Jb,"aria-label":`Delete criterion ${e}`,onClick:o,children:(0,tn.jsx)(g2,{fontSize:"inherit"})})]})}var im=S(k(),1);function T2(e,t){return e==="start"?0:e==="end"?t:Math.min(Math.max(e,0),t)}function v2(e){let t=(0,im.useRef)(null);return(0,im.useEffect)(()=>{let o=t.current;if(!e||!o)return;o.focus();let r=T2(e.caret,o.value.length);o.setSelectionRange(r,r)},[e]),t}var ti=S(U(),1);function x2({index:e,number:t,item:o,outline:r,dragging:n,onGrip:a}){let i=v2(r.focus?.index===e?r.focus:null),l={marginLeft:am(o.depth),opacity:n?.4:1};return(0,ti.jsxs)(Zt,{sx:WR,"data-criterion-row":!0,style:l,children:[(0,ti.jsx)(y2,{number:t,onGrip:a}),(0,ti.jsx)(Zt,{component:"span",sx:e2,"aria-hidden":"true",children:`${t}.`}),(0,ti.jsx)(jo,{multiline:!0,value:o.text,sx:om,inputRef:i,inputProps:{"aria-label":`Criterion ${t}`},onChange:s=>r.onText(e,s.target.value),onKeyDown:s=>r.onKeyDown(e,s)}),(0,ti.jsx)(b2,{number:t,onAdd:()=>r.onAdd(e),onDelete:()=>r.onDelete(e)})]})}var A2=S(k(),1);function S2(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 Zn(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 lm(e,t,o,r){let n=e[t]?.depth??0,a=e.map((i,l)=>l===t?{...i,text:o}:i);return{items:Zn([...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 sm(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 C2(e,t){let o=Ao(e,t);return o<e.length&&e[o].depth===e[t].depth?o:-1}function E2(e,t,o){let r=o<0?sm(e,t):C2(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 um(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:Zn(r),index:Math.max(0,t-1)}}function P2(e,t,o){if(o<0&&e[t].depth===0||o>0&&sm(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 cm(e,t){return e?{kind:"edit",edit:e,caret:t}:null}function bB(e,t,{caret:o,text:r}){let n=r.slice(0,o);return cm(lm(e,t,n,r.slice(o)),"start")}function TB(e,t,{shift:o,caret:r}){let n=P2(e,t,o?-1:1);return cm(n?{items:n,index:t}:null,r)}function R2(e,t,o){let{key:r,shift:n,alt:a,caret:i,text:l}=o;return r==="Enter"&&!n?bB(e,t,o):r==="Tab"?TB(e,t,o):a&&(r==="ArrowUp"||r==="ArrowDown")?cm(E2(e,t,r==="ArrowUp"?-1:1),i):r==="Backspace"&&i===0&&l===""?cm(um(e,t),"end"):null}function O2(e,t,o){return R2(e,t,o)??S2(e,t,o)}function M2(e,t){let[o,r]=(0,A2.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=O2(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(lm(e,i,e[i].text,""),"start"),onDelete:i=>n(um(e,i),"end")}}var z2=S(k(),1);function vB(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 xB(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+c2(r),l))}function SB(e,t){if(t<e.length)return e[t].top;let o=e[e.length-1];return o?o.top+o.height:0}function w2(e,t,o,r,n){let a=vB(e,t,o,n);return{target:a,depth:xB(t,o,a,r),top:SB(e,a)}}function CB(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 N2(e,t,o,r){return n=>{let{boxes:a,origin:i}=CB(t);return w2(a,e,o,n.clientX-r,n.clientY-i)}}function _2(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 D2(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:Zn([...l.slice(0,s),...i,...l.slice(s)]),index:s}}function B2(e,t,o){let[r,n]=(0,z2.useState)(null);return{drag:r,onGrip:i=>l=>{let s=t.current;if(!s||l.pointerType==="mouse"&&l.button!==0)return;l.preventDefault(),_2(l.currentTarget,l.pointerId,N2(e,s,i,l.clientX),p=>n({from:i,depth:p.depth,top:p.top}),p=>{n(null),o(D2(e,i,p.target,p.depth))})(l)}}}var gc=S(U(),1),EB={my:1,px:1,py:.5,border:1,borderColor:"divider",borderRadius:1,position:"relative",userSelect:"text",cursor:"auto"},PB=[{text:"",depth:0}];function k2({items:e,onChange:t}){let o=(0,U2.useRef)(null),r=e.length>0?e:PB,n=M2(r,t),{drag:a,onGrip:i}=B2(r,o,n.onDrop),l=u2(r.map(s=>s.depth));return(0,gc.jsxs)(Zt,{sx:EB,ref:o,"data-preview-skip":!0,"aria-label":"Acceptance criteria",children:[r.map((s,u)=>(0,gc.jsx)(x2,{index:u,number:l[u],item:s,outline:n,dragging:a?.from===u,onGrip:i(u)},`criterion-${u}`)),(0,gc.jsx)(p2,{drag:a})]})}var RB=" ";function OB({text:e,depth:t}){let o=`${RB.repeat(t)}1.`;return e===""?o:`${o} ${e}`}function pm(e,t){let o=Sr(e);return o?[...o.before,...t.map(OB),...o.after].join(`
212
+ `):e}var AB=/^([ \t]*)(?:[-*+]|\d+[.)])(?:[ \t]+(.*))?$/,MB=/^\[[ xX]\][ \t]*/;function wB(e){return e.slice(0,e.length-e.trimStart().length)}function j2(e){let t=Sr(e);if(!t)return e;let o=t.lines.filter(n=>n.trim()!=="").map(n=>{let a=AB.exec(n);return{width:Jd(a?a[1]:wB(n)),text:(a?a[2]??"":n.trim()).replace(MB,"")}}),r=em(o.map(n=>n.width));return pm(e,Zn(o.map((n,a)=>({text:n.text,depth:r[a]}))))}var tT=S(U(),1);function L2({items:e,body:t,onBody:o}){return e?(0,tT.jsx)(k2,{items:e,onChange:r=>o(pm(t,r))}):(0,tT.jsx)(nm,{kind:"convert",onClick:()=>o(j2(t))})}var oi=S(U(),1),NB="Body before acceptance criteria",_B="Body after acceptance criteria";function H2({initialBody:e,onBody:t}){let[o,r]=(0,I2.useState)(e),n=tm(o),a=Sr(o),i=p=>{r(p),t(p)};if(n.kind==="insert"||!a)return(0,oi.jsx)(s2,{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,oi.jsxs)(Zt,{sx:{width:"100%"},children:[(0,oi.jsx)(mc,{label:NB,value:s.join(`
213
213
  `),onChange:p=>i([...p.split(`
214
214
  `),...u,...a.after].join(`
215
- `))}),(0,oi.jsx)(j2,{items:l,body:o,onBody:i}),(0,oi.jsx)(mc,{label:wB,value:a.after.join(`
215
+ `))}),(0,oi.jsx)(L2,{items:l,body:o,onBody:i}),(0,oi.jsx)(mc,{label:_B,value:a.after.join(`
216
216
  `),onChange:p=>i([...s,...u,...p.split(`
217
217
  `)].join(`
218
- `))})]})}var V2=S(U(),1);function H2(e,t,o){return Xd(e,"assist-criteria",(0,V2.jsx)(I2,{initialBody:t,onBody:o}))}var F2=Object.getOwnPropertyDescriptor(HTMLTextAreaElement.prototype,"value")?.set;function $2(e,t){F2?F2.call(e,t):e.value=t,e.dispatchEvent(new Event("input",{bubbles:!0})),e.dispatchEvent(new Event("change",{bubbles:!0}))}var NB="display:block;width:100%;flex:1 1 auto;align-self:stretch";function q2(e){let t=null,o=null;return{show(){t=document.createElement("div"),t.style.cssText=NB,e.parentElement?.insertBefore(t,e.nextSibling),e.style.display="none",o=H2(t,e.value,r=>$2(e,r))},hide(){o?.unmount(),o=null,t?.remove(),t=null,e.style.display=""}}}var _B=["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(";"),G2={open:"Edit markdown",closed:"Outline criteria"};function K2(e){let t=document.createElement("button");t.type="button",t.setAttribute("data-assist-criteria-toggle",""),t.style.cssText=_B;let o=r=>{t.setAttribute("aria-pressed",String(r)),t.textContent=r?G2.open:G2.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 DB='markdown-toolbar, [role="toolbar"]';function Y2(e){for(let t=e.parentElement;t;t=t.parentElement){let o=t.querySelector(DB);if(o)return o;if(t.tagName==="FORM")break}return null}var X2="data-assist-criteria-attached";function zB(e,t){let o=Y2(e);o?o.append(t):e.parentElement?.insertBefore(t,e)}function Q2(e){return tm(e).kind==="outline"}var oT=new WeakMap;function Z2(e){if(e.hasAttribute(X2)){oT.get(e)?.();return}e.setAttribute(X2,"");let t=q2(e);function o(){e.removeEventListener("input",a),oT.delete(e)}function r(){o(),t.show(),i.setOpen(!0)}function n(){o(),t.hide(),i.setOpen(!1)}function a(){Q2(e.value)&&r()}let i=K2(l=>l?r():n());zB(e,i.element),Q2(e.value)?r():(e.addEventListener("input",a),oT.set(e,a))}var BB=/^\/[^/]+\/[^/]+\/issues\/(?:\d+|new)(?:\/|$)/;function W2(e,t=Zd){if(BB.test(e.pathname))return!0;let o=Wd(e);return o!==void 0&&!t(o)}var UB=/issue.?body/i,kB=/description/i,jB=/comment/i;function J2(e){let t=[e.name,e.id,e.getAttribute("data-testid")??"",e.getAttribute("aria-label")??""],o=e.placeholder;return[...t,o].some(r=>jB.test(r))?!1:t.some(r=>UB.test(r))||kB.test(o)}function eO(){if(W2(globalThis.location))for(let e of document.querySelectorAll("textarea"))J2(e)&&Z2(e)}function fm(e){e(),new MutationObserver(e).observe(document.documentElement,{childList:!0,subtree:!0})}function tO(){fm(eO)}function LB(){tO(),fm(()=>{YR(),XR()})}LB();})();
218
+ `))})]})}var F2=S(U(),1);function V2(e,t,o){return Xd(e,"assist-criteria",(0,F2.jsx)(H2,{initialBody:t,onBody:o}))}var $2=Object.getOwnPropertyDescriptor(HTMLTextAreaElement.prototype,"value")?.set;function q2(e,t){$2?$2.call(e,t):e.value=t,e.dispatchEvent(new Event("input",{bubbles:!0})),e.dispatchEvent(new Event("change",{bubbles:!0}))}var DB="display:block;width:100%;flex:1 1 auto;align-self:stretch";function G2(e){let t=null,o=null;return{show(){t=document.createElement("div"),t.style.cssText=DB,e.parentElement?.insertBefore(t,e.nextSibling),e.style.display="none",o=V2(t,e.value,r=>q2(e,r))},hide(){o?.unmount(),o=null,t?.remove(),t=null,e.style.display=""}}}var zB=["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(";"),K2={open:"Edit markdown",closed:"Outline criteria"};function Y2(e){let t=document.createElement("button");t.type="button",t.setAttribute("data-assist-criteria-toggle",""),t.style.cssText=zB;let o=r=>{t.setAttribute("aria-pressed",String(r)),t.textContent=r?K2.open:K2.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 BB='markdown-toolbar, [role="toolbar"]';function X2(e){for(let t=e.parentElement;t;t=t.parentElement){let o=t.querySelector(BB);if(o)return o;if(t.tagName==="FORM")break}return null}var Q2="data-assist-criteria-attached";function UB(e,t){let o=X2(e);o?o.append(t):e.parentElement?.insertBefore(t,e)}function Z2(e){return tm(e).kind==="outline"}var oT=new WeakMap;function W2(e){if(e.hasAttribute(Q2)){oT.get(e)?.();return}e.setAttribute(Q2,"");let t=G2(e);function o(){e.removeEventListener("input",a),oT.delete(e)}function r(){o(),t.show(),i.setOpen(!0)}function n(){o(),t.hide(),i.setOpen(!1)}function a(){Z2(e.value)&&r()}let i=Y2(l=>l?r():n());UB(e,i.element),Z2(e.value)?r():(e.addEventListener("input",a),oT.set(e,a))}var kB=/^\/[^/]+\/[^/]+\/issues\/(?:\d+|new)(?:\/|$)/;function J2(e,t=Zd){if(kB.test(e.pathname))return!0;let o=Wd(e);return o!==void 0&&!t(o)}var jB=/issue.?body/i,LB=/description/i,IB=/comment/i;function eO(e){let t=[e.name,e.id,e.getAttribute("data-testid")??"",e.getAttribute("aria-label")??""],o=e.placeholder;return[...t,o].some(r=>IB.test(r))?!1:t.some(r=>jB.test(r))||LB.test(o)}function tO(){if(J2(globalThis.location))for(let e of document.querySelectorAll("textarea"))eO(e)&&W2(e)}function fm(e){e(),new MutationObserver(e).observe(document.documentElement,{childList:!0,subtree:!0})}function oO(){fm(tO)}function HB(){oO(),fm(()=>{XR(),QR()})}HB();})();
219
219
  /*! Bundled license information:
220
220
 
221
221
  react/cjs/react.production.js: