const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-CFsI42wJ.js","./Star-CMBtJgOp.js","./Grid-DyVgKpIU.js","./isMuiElement-CEQVLtSO.js","./TableRow-BnuF4MgY.js","./TableHead-bSDcjZ3P.js","./Chip-CLl42OM8.js","./index-BEgjY8n2.js","./useMutation-CKlbob41.js","./recipes.api-BG8aZTWt.js","./ActiveFilterChips-D6n95Sn2.js","./usePreviousProps-B1Ax3hNV.js","./TextField-CWEE-Dgp.js","./MenuItem-BRyKZl1N.js","./listItemTextClasses-CLRRC5Y4.js","./Close-Bxz3dk_v.js","./formatters-CHPqDDvZ.js","./StatusBadge-C3oVkKTs.js","./RatingDisplay-DW-J497p.js","./FormControlLabel-D9bnwoo8.js","./Checkbox-CSpbbmhN.js","./SwitchBase-BoGf5uFH.js","./Add-CaMj10kU.js","./CardContent-DtdCrWYz.js","./index-B9gtxdqv.js","./categories.api-hgkmpP-X.js","./SwapVert-CcOuIpx-.js","./index-Bd94unt4.js","./cuisines.api-cRv1I8z1.js","./index-DdSy3C64.js","./reviews.api-CZw_ywga.js","./index-BQHg6EoD.js","./collections.api-DvlronwW.js","./index-DfFFVH_d.js","./shopping-lists.api-DR49Co3_.js","./LinearProgress-BDRD8c4M.js","./index-Dbed4sqS.js","./views.api-CFs4007q.js","./InputAdornment-83apu5dt.js","./Search-D_ULqnec.js","./TableContainer-aQkhQtrH.js","./ViewModule-Cl093GZZ.js","./index-DKzBR9ue.js","./shortcodes.api-BjE76tst.js","./index-DGpYmxu9.js","./GroupCard-BWnQWvHn.js","./index-C0mWk_U-.js","./Save-cfs8JpKk.js","./Switch-Cz5xNANc.js","./Slider-Bxr-tafA.js","./visuallyHidden-Dan1xhjv.js","./ContentCopy-BzgdklAB.js","./RecipeForm-B-2M84Ln.js","./FormPage-BVW5CvFp.js","./ArrowBack-wNhJWsVJ.js","./index.esm-BtvPq225.js","./useFormPage-DPJesiXn.js","./courses.api-DQ3PFM-E.js","./Autocomplete-CtCXklby.js","./CategoryForm-DwCJudY-.js","./CuisineForm-BMGeokgA.js","./CollectionForm-BlAXOJkD.js","./ViewForm-CyJV4YWs.js","./ShortcodeForm-nxslKeZW.js","./ReviewEditForm-D4Wffdq-.js","./ShoppingListEditForm-CIkjlVEO.js","./RecipeOrdering-BxFXx8rF.js","./sortable.esm-Cf71MVYe.js","./CategoryOrdering-CLxTKeEX.js","./CuisineOrdering-CcrTgFkf.js"])))=>i.map(i=>d[i]);
var OC=Object.defineProperty;var Dv=e=>{throw TypeError(e)};var AC=(e,a,i)=>a in e?OC(e,a,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[a]=i;var Gl=(e,a,i)=>AC(e,typeof a!="symbol"?a+"":a,i),Hp=(e,a,i)=>a.has(e)||Dv("Cannot "+i);var U=(e,a,i)=>(Hp(e,a,"read from private field"),i?i.call(e):a.get(e)),xt=(e,a,i)=>a.has(e)?Dv("Cannot add the same private member more than once"):a instanceof WeakSet?a.add(e):a.set(e,i),ft=(e,a,i,l)=>(Hp(e,a,"write to private field"),l?l.call(e,i):a.set(e,i),i),qt=(e,a,i)=>(Hp(e,a,"access private method"),i);var Sc=(e,a,i,l)=>({set _(s){ft(e,a,s,i)},get _(){return U(e,a,l)}});function MC(e,a){for(var i=0;i<a.length;i++){const l=a[i];if(typeof l!="string"&&!Array.isArray(l)){for(const s in l)if(s!=="default"&&!(s in e)){const u=Object.getOwnPropertyDescriptor(l,s);u&&Object.defineProperty(e,s,u.get?u:{enumerable:!0,get:()=>l[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function nm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var kp={exports:{}},hs={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var jv;function _C(){if(jv)return hs;jv=1;var e=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function i(l,s,u){var f=null;if(u!==void 0&&(f=""+u),s.key!==void 0&&(f=""+s.key),"key"in s){u={};for(var p in s)p!=="key"&&(u[p]=s[p])}else u=s;return s=u.ref,{$$typeof:e,type:l,key:f,ref:s!==void 0?s:null,props:u}}return hs.Fragment=a,hs.jsx=i,hs.jsxs=i,hs}var Nv;function zC(){return Nv||(Nv=1,kp.exports=_C()),kp.exports}var A=zC(),$p={exports:{}},Tt={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Uv;function BC(){if(Uv)return Tt;Uv=1;var e=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),T=Symbol.iterator;function x(_){return _===null||typeof _!="object"?null:(_=T&&_[T]||_["@@iterator"],typeof _=="function"?_:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,C={};function M(_,V,lt){this.props=_,this.context=V,this.refs=C,this.updater=lt||S}M.prototype.isReactComponent={},M.prototype.setState=function(_,V){if(typeof _!="object"&&typeof _!="function"&&_!=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,_,V,"setState")},M.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};function L(){}L.prototype=M.prototype;function j(_,V,lt){this.props=_,this.context=V,this.refs=C,this.updater=lt||S}var O=j.prototype=new L;O.constructor=j,b(O,M.prototype),O.isPureReactComponent=!0;var B=Array.isArray;function H(){}var $={H:null,A:null,T:null,S:null},Q=Object.prototype.hasOwnProperty;function Z(_,V,lt){var ot=lt.ref;return{$$typeof:e,type:_,key:V,ref:ot!==void 0?ot:null,props:lt}}function W(_,V){return Z(_.type,V,_.props)}function et(_){return typeof _=="object"&&_!==null&&_.$$typeof===e}function R(_){var V={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(lt){return V[lt]})}var X=/\/+/g;function I(_,V){return typeof _=="object"&&_!==null&&_.key!=null?R(""+_.key):V.toString(36)}function at(_){switch(_.status){case"fulfilled":return _.value;case"rejected":throw _.reason;default:switch(typeof _.status=="string"?_.then(H,H):(_.status="pending",_.then(function(V){_.status==="pending"&&(_.status="fulfilled",_.value=V)},function(V){_.status==="pending"&&(_.status="rejected",_.reason=V)})),_.status){case"fulfilled":return _.value;case"rejected":throw _.reason}}throw _}function D(_,V,lt,ot,ct){var ht=typeof _;(ht==="undefined"||ht==="boolean")&&(_=null);var bt=!1;if(_===null)bt=!0;else switch(ht){case"bigint":case"string":case"number":bt=!0;break;case"object":switch(_.$$typeof){case e:case a:bt=!0;break;case y:return bt=_._init,D(bt(_._payload),V,lt,ot,ct)}}if(bt)return ct=ct(_),bt=ot===""?"."+I(_,0):ot,B(ct)?(lt="",bt!=null&&(lt=bt.replace(X,"$&/")+"/"),D(ct,V,lt,"",function(Fe){return Fe})):ct!=null&&(et(ct)&&(ct=W(ct,lt+(ct.key==null||_&&_.key===ct.key?"":(""+ct.key).replace(X,"$&/")+"/")+bt)),V.push(ct)),1;bt=0;var _t=ot===""?".":ot+":";if(B(_))for(var Bt=0;Bt<_.length;Bt++)ot=_[Bt],ht=_t+I(ot,Bt),bt+=D(ot,V,lt,ht,ct);else if(Bt=x(_),typeof Bt=="function")for(_=Bt.call(_),Bt=0;!(ot=_.next()).done;)ot=ot.value,ht=_t+I(ot,Bt++),bt+=D(ot,V,lt,ht,ct);else if(ht==="object"){if(typeof _.then=="function")return D(at(_),V,lt,ot,ct);throw V=String(_),Error("Objects are not valid as a React child (found: "+(V==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":V)+"). If you meant to render a collection of children, use an array instead.")}return bt}function Y(_,V,lt){if(_==null)return _;var ot=[],ct=0;return D(_,ot,"","",function(ht){return V.call(lt,ht,ct++)}),ot}function it(_){if(_._status===-1){var V=_._result;V=V(),V.then(function(lt){(_._status===0||_._status===-1)&&(_._status=1,_._result=lt)},function(lt){(_._status===0||_._status===-1)&&(_._status=2,_._result=lt)}),_._status===-1&&(_._status=0,_._result=V)}if(_._status===1)return _._result.default;throw _._result}var st=typeof reportError=="function"?reportError:function(_){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var V=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof _=="object"&&_!==null&&typeof _.message=="string"?String(_.message):String(_),error:_});if(!window.dispatchEvent(V))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",_);return}console.error(_)},dt={map:Y,forEach:function(_,V,lt){Y(_,function(){V.apply(this,arguments)},lt)},count:function(_){var V=0;return Y(_,function(){V++}),V},toArray:function(_){return Y(_,function(V){return V})||[]},only:function(_){if(!et(_))throw Error("React.Children.only expected to receive a single React element child.");return _}};return Tt.Activity=v,Tt.Children=dt,Tt.Component=M,Tt.Fragment=i,Tt.Profiler=s,Tt.PureComponent=j,Tt.StrictMode=l,Tt.Suspense=h,Tt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$,Tt.__COMPILER_RUNTIME={__proto__:null,c:function(_){return $.H.useMemoCache(_)}},Tt.cache=function(_){return function(){return _.apply(null,arguments)}},Tt.cacheSignal=function(){return null},Tt.cloneElement=function(_,V,lt){if(_==null)throw Error("The argument must be a React element, but you passed "+_+".");var ot=b({},_.props),ct=_.key;if(V!=null)for(ht in V.key!==void 0&&(ct=""+V.key),V)!Q.call(V,ht)||ht==="key"||ht==="__self"||ht==="__source"||ht==="ref"&&V.ref===void 0||(ot[ht]=V[ht]);var ht=arguments.length-2;if(ht===1)ot.children=lt;else if(1<ht){for(var bt=Array(ht),_t=0;_t<ht;_t++)bt[_t]=arguments[_t+2];ot.children=bt}return Z(_.type,ct,ot)},Tt.createContext=function(_){return _={$$typeof:f,_currentValue:_,_currentValue2:_,_threadCount:0,Provider:null,Consumer:null},_.Provider=_,_.Consumer={$$typeof:u,_context:_},_},Tt.createElement=function(_,V,lt){var ot,ct={},ht=null;if(V!=null)for(ot in V.key!==void 0&&(ht=""+V.key),V)Q.call(V,ot)&&ot!=="key"&&ot!=="__self"&&ot!=="__source"&&(ct[ot]=V[ot]);var bt=arguments.length-2;if(bt===1)ct.children=lt;else if(1<bt){for(var _t=Array(bt),Bt=0;Bt<bt;Bt++)_t[Bt]=arguments[Bt+2];ct.children=_t}if(_&&_.defaultProps)for(ot in bt=_.defaultProps,bt)ct[ot]===void 0&&(ct[ot]=bt[ot]);return Z(_,ht,ct)},Tt.createRef=function(){return{current:null}},Tt.forwardRef=function(_){return{$$typeof:p,render:_}},Tt.isValidElement=et,Tt.lazy=function(_){return{$$typeof:y,_payload:{_status:-1,_result:_},_init:it}},Tt.memo=function(_,V){return{$$typeof:m,type:_,compare:V===void 0?null:V}},Tt.startTransition=function(_){var V=$.T,lt={};$.T=lt;try{var ot=_(),ct=$.S;ct!==null&&ct(lt,ot),typeof ot=="object"&&ot!==null&&typeof ot.then=="function"&&ot.then(H,st)}catch(ht){st(ht)}finally{V!==null&&lt.types!==null&&(V.types=lt.types),$.T=V}},Tt.unstable_useCacheRefresh=function(){return $.H.useCacheRefresh()},Tt.use=function(_){return $.H.use(_)},Tt.useActionState=function(_,V,lt){return $.H.useActionState(_,V,lt)},Tt.useCallback=function(_,V){return $.H.useCallback(_,V)},Tt.useContext=function(_){return $.H.useContext(_)},Tt.useDebugValue=function(){},Tt.useDeferredValue=function(_,V){return $.H.useDeferredValue(_,V)},Tt.useEffect=function(_,V){return $.H.useEffect(_,V)},Tt.useEffectEvent=function(_){return $.H.useEffectEvent(_)},Tt.useId=function(){return $.H.useId()},Tt.useImperativeHandle=function(_,V,lt){return $.H.useImperativeHandle(_,V,lt)},Tt.useInsertionEffect=function(_,V){return $.H.useInsertionEffect(_,V)},Tt.useLayoutEffect=function(_,V){return $.H.useLayoutEffect(_,V)},Tt.useMemo=function(_,V){return $.H.useMemo(_,V)},Tt.useOptimistic=function(_,V){return $.H.useOptimistic(_,V)},Tt.useReducer=function(_,V,lt){return $.H.useReducer(_,V,lt)},Tt.useRef=function(_){return $.H.useRef(_)},Tt.useState=function(_){return $.H.useState(_)},Tt.useSyncExternalStore=function(_,V,lt){return $.H.useSyncExternalStore(_,V,lt)},Tt.useTransition=function(){return $.H.useTransition()},Tt.version="19.2.4",Tt}var Lv;function am(){return Lv||(Lv=1,$p.exports=BC()),$p.exports}var w=am();const Ma=nm(w),qc=MC({__proto__:null,default:Ma},[w]);var qp={exports:{}},ms={},Pp={exports:{}},Vp={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Hv;function DC(){return Hv||(Hv=1,(function(e){function a(D,Y){var it=D.length;D.push(Y);t:for(;0<it;){var st=it-1>>>1,dt=D[st];if(0<s(dt,Y))D[st]=Y,D[it]=dt,it=st;else break t}}function i(D){return D.length===0?null:D[0]}function l(D){if(D.length===0)return null;var Y=D[0],it=D.pop();if(it!==Y){D[0]=it;t:for(var st=0,dt=D.length,_=dt>>>1;st<_;){var V=2*(st+1)-1,lt=D[V],ot=V+1,ct=D[ot];if(0>s(lt,it))ot<dt&&0>s(ct,lt)?(D[st]=ct,D[ot]=it,st=ot):(D[st]=lt,D[V]=it,st=V);else if(ot<dt&&0>s(ct,it))D[st]=ct,D[ot]=it,st=ot;else break t}}return Y}function s(D,Y){var it=D.sortIndex-Y.sortIndex;return it!==0?it:D.id-Y.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var f=Date,p=f.now();e.unstable_now=function(){return f.now()-p}}var h=[],m=[],y=1,v=null,T=3,x=!1,S=!1,b=!1,C=!1,M=typeof setTimeout=="function"?setTimeout:null,L=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;function O(D){for(var Y=i(m);Y!==null;){if(Y.callback===null)l(m);else if(Y.startTime<=D)l(m),Y.sortIndex=Y.expirationTime,a(h,Y);else break;Y=i(m)}}function B(D){if(b=!1,O(D),!S)if(i(h)!==null)S=!0,H||(H=!0,R());else{var Y=i(m);Y!==null&&at(B,Y.startTime-D)}}var H=!1,$=-1,Q=5,Z=-1;function W(){return C?!0:!(e.unstable_now()-Z<Q)}function et(){if(C=!1,H){var D=e.unstable_now();Z=D;var Y=!0;try{t:{S=!1,b&&(b=!1,L($),$=-1),x=!0;var it=T;try{e:{for(O(D),v=i(h);v!==null&&!(v.expirationTime>D&&W());){var st=v.callback;if(typeof st=="function"){v.callback=null,T=v.priorityLevel;var dt=st(v.expirationTime<=D);if(D=e.unstable_now(),typeof dt=="function"){v.callback=dt,O(D),Y=!0;break e}v===i(h)&&l(h),O(D)}else l(h);v=i(h)}if(v!==null)Y=!0;else{var _=i(m);_!==null&&at(B,_.startTime-D),Y=!1}}break t}finally{v=null,T=it,x=!1}Y=void 0}}finally{Y?R():H=!1}}}var R;if(typeof j=="function")R=function(){j(et)};else if(typeof MessageChannel<"u"){var X=new MessageChannel,I=X.port2;X.port1.onmessage=et,R=function(){I.postMessage(null)}}else R=function(){M(et,0)};function at(D,Y){$=M(function(){D(e.unstable_now())},Y)}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(D){D.callback=null},e.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Q=0<D?Math.floor(1e3/D):5},e.unstable_getCurrentPriorityLevel=function(){return T},e.unstable_next=function(D){switch(T){case 1:case 2:case 3:var Y=3;break;default:Y=T}var it=T;T=Y;try{return D()}finally{T=it}},e.unstable_requestPaint=function(){C=!0},e.unstable_runWithPriority=function(D,Y){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var it=T;T=D;try{return Y()}finally{T=it}},e.unstable_scheduleCallback=function(D,Y,it){var st=e.unstable_now();switch(typeof it=="object"&&it!==null?(it=it.delay,it=typeof it=="number"&&0<it?st+it:st):it=st,D){case 1:var dt=-1;break;case 2:dt=250;break;case 5:dt=1073741823;break;case 4:dt=1e4;break;default:dt=5e3}return dt=it+dt,D={id:y++,callback:Y,priorityLevel:D,startTime:it,expirationTime:dt,sortIndex:-1},it>st?(D.sortIndex=it,a(m,D),i(h)===null&&D===i(m)&&(b?(L($),$=-1):b=!0,at(B,it-st))):(D.sortIndex=dt,a(h,D),S||x||(S=!0,H||(H=!0,R()))),D},e.unstable_shouldYield=W,e.unstable_wrapCallback=function(D){var Y=T;return function(){var it=T;T=Y;try{return D.apply(this,arguments)}finally{T=it}}}})(Vp)),Vp}var kv;function jC(){return kv||(kv=1,Pp.exports=DC()),Pp.exports}var Gp={exports:{}},mn={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var $v;function NC(){if($v)return mn;$v=1;var e=am();function a(h){var m="https://react.dev/errors/"+h;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)m+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+h+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var l={d:{f:i,r:function(){throw Error(a(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},s=Symbol.for("react.portal");function u(h,m,y){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:v==null?null:""+v,children:h,containerInfo:m,implementation:y}}var f=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(h,m){if(h==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return mn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,mn.createPortal=function(h,m){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(a(299));return u(h,m,null,y)},mn.flushSync=function(h){var m=f.T,y=l.p;try{if(f.T=null,l.p=2,h)return h()}finally{f.T=m,l.p=y,l.d.f()}},mn.preconnect=function(h,m){typeof h=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,l.d.C(h,m))},mn.prefetchDNS=function(h){typeof h=="string"&&l.d.D(h)},mn.preinit=function(h,m){if(typeof h=="string"&&m&&typeof m.as=="string"){var y=m.as,v=p(y,m.crossOrigin),T=typeof m.integrity=="string"?m.integrity:void 0,x=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;y==="style"?l.d.S(h,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:v,integrity:T,fetchPriority:x}):y==="script"&&l.d.X(h,{crossOrigin:v,integrity:T,fetchPriority:x,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},mn.preinitModule=function(h,m){if(typeof h=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var y=p(m.as,m.crossOrigin);l.d.M(h,{crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&l.d.M(h)},mn.preload=function(h,m){if(typeof h=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var y=m.as,v=p(y,m.crossOrigin);l.d.L(h,y,{crossOrigin:v,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},mn.preloadModule=function(h,m){if(typeof h=="string")if(m){var y=p(m.as,m.crossOrigin);l.d.m(h,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else l.d.m(h)},mn.requestFormReset=function(h){l.d.r(h)},mn.unstable_batchedUpdates=function(h,m){return h(m)},mn.useFormState=function(h,m,y){return f.H.useFormState(h,m,y)},mn.useFormStatus=function(){return f.H.useHostTransitionStatus()},mn.version="19.2.4",mn}var qv;function iS(){if(qv)return Gp.exports;qv=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(a){console.error(a)}}return e(),Gp.exports=NC(),Gp.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Pv;function UC(){if(Pv)return ms;Pv=1;var e=jC(),a=am(),i=iS();function l(t){var n="https://react.dev/errors/"+t;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)n+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function u(t){var n=t,r=t;if(t.alternate)for(;n.return;)n=n.return;else{t=n;do n=t,(n.flags&4098)!==0&&(r=n.return),t=n.return;while(t)}return n.tag===3?r:null}function f(t){if(t.tag===13){var n=t.memoizedState;if(n===null&&(t=t.alternate,t!==null&&(n=t.memoizedState)),n!==null)return n.dehydrated}return null}function p(t){if(t.tag===31){var n=t.memoizedState;if(n===null&&(t=t.alternate,t!==null&&(n=t.memoizedState)),n!==null)return n.dehydrated}return null}function h(t){if(u(t)!==t)throw Error(l(188))}function m(t){var n=t.alternate;if(!n){if(n=u(t),n===null)throw Error(l(188));return n!==t?null:t}for(var r=t,o=n;;){var c=r.return;if(c===null)break;var d=c.alternate;if(d===null){if(o=c.return,o!==null){r=o;continue}break}if(c.child===d.child){for(d=c.child;d;){if(d===r)return h(c),t;if(d===o)return h(c),n;d=d.sibling}throw Error(l(188))}if(r.return!==o.return)r=c,o=d;else{for(var g=!1,E=c.child;E;){if(E===r){g=!0,r=c,o=d;break}if(E===o){g=!0,o=c,r=d;break}E=E.sibling}if(!g){for(E=d.child;E;){if(E===r){g=!0,r=d,o=c;break}if(E===o){g=!0,o=d,r=c;break}E=E.sibling}if(!g)throw Error(l(189))}}if(r.alternate!==o)throw Error(l(190))}if(r.tag!==3)throw Error(l(188));return r.stateNode.current===r?t:n}function y(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t;for(t=t.child;t!==null;){if(n=y(t),n!==null)return n;t=t.sibling}return null}var v=Object.assign,T=Symbol.for("react.element"),x=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),j=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),Z=Symbol.for("react.activity"),W=Symbol.for("react.memo_cache_sentinel"),et=Symbol.iterator;function R(t){return t===null||typeof t!="object"?null:(t=et&&t[et]||t["@@iterator"],typeof t=="function"?t:null)}var X=Symbol.for("react.client.reference");function I(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===X?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case b:return"Fragment";case M:return"Profiler";case C:return"StrictMode";case B:return"Suspense";case H:return"SuspenseList";case Z:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case S:return"Portal";case j:return t.displayName||"Context";case L:return(t._context.displayName||"Context")+".Consumer";case O:var n=t.render;return t=t.displayName,t||(t=n.displayName||n.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case $:return n=t.displayName||null,n!==null?n:I(t.type)||"Memo";case Q:n=t._payload,t=t._init;try{return I(t(n))}catch{}}return null}var at=Array.isArray,D=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,it={pending:!1,data:null,method:null,action:null},st=[],dt=-1;function _(t){return{current:t}}function V(t){0>dt||(t.current=st[dt],st[dt]=null,dt--)}function lt(t,n){dt++,st[dt]=t.current,t.current=n}var ot=_(null),ct=_(null),ht=_(null),bt=_(null);function _t(t,n){switch(lt(ht,n),lt(ct,t),lt(ot,null),n.nodeType){case 9:case 11:t=(t=n.documentElement)&&(t=t.namespaceURI)?nv(t):0;break;default:if(t=n.tagName,n=n.namespaceURI)n=nv(n),t=av(n,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}V(ot),lt(ot,t)}function Bt(){V(ot),V(ct),V(ht)}function Fe(t){t.memoizedState!==null&&lt(bt,t);var n=ot.current,r=av(n,t.type);n!==r&&(lt(ct,t),lt(ot,r))}function Ge(t){ct.current===t&&(V(ot),V(ct)),bt.current===t&&(V(bt),cs._currentValue=it)}var he,Kt;function Dt(t){if(he===void 0)try{throw Error()}catch(r){var n=r.stack.trim().match(/\n( *(at )?)/);he=n&&n[1]||"",Kt=-1<r.stack.indexOf(`
    at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
`+he+t+Kt}var ue=!1;function Ye(t,n){if(!t||ue)return"";ue=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(n){var rt=function(){throw Error()};if(Object.defineProperty(rt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(rt,[])}catch(F){var G=F}Reflect.construct(t,[],rt)}else{try{rt.call()}catch(F){G=F}t.call(rt.prototype)}}else{try{throw Error()}catch(F){G=F}(rt=t())&&typeof rt.catch=="function"&&rt.catch(function(){})}}catch(F){if(F&&G&&typeof F.stack=="string")return[F.stack,G.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=o.DetermineComponentFrameRoot(),g=d[0],E=d[1];if(g&&E){var z=g.split(`
`),P=E.split(`
`);for(c=o=0;o<z.length&&!z[o].includes("DetermineComponentFrameRoot");)o++;for(;c<P.length&&!P[c].includes("DetermineComponentFrameRoot");)c++;if(o===z.length||c===P.length)for(o=z.length-1,c=P.length-1;1<=o&&0<=c&&z[o]!==P[c];)c--;for(;1<=o&&0<=c;o--,c--)if(z[o]!==P[c]){if(o!==1||c!==1)do if(o--,c--,0>c||z[o]!==P[c]){var J=`
`+z[o].replace(" at new "," at ");return t.displayName&&J.includes("<anonymous>")&&(J=J.replace("<anonymous>",t.displayName)),J}while(1<=o&&0<=c);break}}}finally{ue=!1,Error.prepareStackTrace=r}return(r=t?t.displayName||t.name:"")?Dt(r):""}function ce(t,n){switch(t.tag){case 26:case 27:case 5:return Dt(t.type);case 16:return Dt("Lazy");case 13:return t.child!==n&&n!==null?Dt("Suspense Fallback"):Dt("Suspense");case 19:return Dt("SuspenseList");case 0:case 15:return Ye(t.type,!1);case 11:return Ye(t.type.render,!1);case 1:return Ye(t.type,!0);case 31:return Dt("Activity");default:return""}}function fe(t){try{var n="",r=null;do n+=ce(t,r),r=t,t=t.return;while(t);return n}catch(o){return`
Error generating stack: `+o.message+`
`+o.stack}}var Wt=Object.prototype.hasOwnProperty,me=e.unstable_scheduleCallback,ye=e.unstable_cancelCallback,yt=e.unstable_shouldYield,Fn=e.unstable_requestPaint,ge=e.unstable_now,Sa=e.unstable_getCurrentPriorityLevel,In=e.unstable_ImmediatePriority,En=e.unstable_UserBlockingPriority,an=e.unstable_NormalPriority,Zn=e.unstable_LowPriority,Ce=e.unstable_IdlePriority,zt=e.log,Ie=e.unstable_setDisableYieldValue,pe=null,Mt=null;function rn(t){if(typeof zt=="function"&&Ie(t),Mt&&typeof Mt.setStrictMode=="function")try{Mt.setStrictMode(pe,t)}catch{}}var Qe=Math.clz32?Math.clz32:Er,Eo=Math.log,Ka=Math.LN2;function Er(t){return t>>>=0,t===0?32:31-(Eo(t)/Ka|0)|0}var Cr=256,Tr=262144,za=4194304;function xa(t){var n=t&42;if(n!==0)return n;switch(t&-t){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 t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function wr(t,n,r){var o=t.pendingLanes;if(o===0)return 0;var c=0,d=t.suspendedLanes,g=t.pingedLanes;t=t.warmLanes;var E=o&134217727;return E!==0?(o=E&~d,o!==0?c=xa(o):(g&=E,g!==0?c=xa(g):r||(r=E&~t,r!==0&&(c=xa(r))))):(E=o&~d,E!==0?c=xa(E):g!==0?c=xa(g):r||(r=o&~t,r!==0&&(c=xa(r)))),c===0?0:n!==0&&n!==c&&(n&d)===0&&(d=c&-c,r=n&-n,d>=r||d===32&&(r&4194048)!==0)?n:c}function Fa(t,n){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&n)===0}function Co(t,n){switch(t){case 1:case 2:case 4:case 8:case 64:return n+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 n+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 Ct(){var t=za;return za<<=1,(za&62914560)===0&&(za=4194304),t}function Te(t){for(var n=[],r=0;31>r;r++)n.push(t);return n}function ut(t,n){t.pendingLanes|=n,n!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function gt(t,n,r,o,c,d){var g=t.pendingLanes;t.pendingLanes=r,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=r,t.entangledLanes&=r,t.errorRecoveryDisabledLanes&=r,t.shellSuspendCounter=0;var E=t.entanglements,z=t.expirationTimes,P=t.hiddenUpdates;for(r=g&~r;0<r;){var J=31-Qe(r),rt=1<<J;E[J]=0,z[J]=-1;var G=P[J];if(G!==null)for(P[J]=null,J=0;J<G.length;J++){var F=G[J];F!==null&&(F.lane&=-536870913)}r&=~rt}o!==0&&jt(t,o,0),d!==0&&c===0&&t.tag!==0&&(t.suspendedLanes|=d&~(g&~n))}function jt(t,n,r){t.pendingLanes|=n,t.suspendedLanes&=~n;var o=31-Qe(n);t.entangledLanes|=n,t.entanglements[o]=t.entanglements[o]|1073741824|r&261930}function Vt(t,n){var r=t.entangledLanes|=n;for(t=t.entanglements;r;){var o=31-Qe(r),c=1<<o;c&n|t[o]&n&&(t[o]|=n),r&=~c}}function ve(t,n){var r=n&-n;return r=(r&42)!==0?1:Cn(r),(r&(t.suspendedLanes|n))!==0?0:r}function Cn(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Ea(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Rr(){var t=Y.p;return t!==0?t:(t=window.event,t===void 0?32:Rv(t.type))}function To(t,n){var r=Y.p;try{return Y.p=t,n()}finally{Y.p=r}}var Wn=Math.random().toString(36).slice(2),ln="__reactFiber$"+Wn,Tn="__reactProps$"+Wn,ll="__reactContainer$"+Wn,Mf="__reactEvents$"+Wn,y2="__reactListeners$"+Wn,g2="__reactHandles$"+Wn,Vm="__reactResources$"+Wn,wo="__reactMarker$"+Wn;function _f(t){delete t[ln],delete t[Tn],delete t[Mf],delete t[y2],delete t[g2]}function ol(t){var n=t[ln];if(n)return n;for(var r=t.parentNode;r;){if(n=r[ll]||r[ln]){if(r=n.alternate,n.child!==null||r!==null&&r.child!==null)for(t=cv(t);t!==null;){if(r=t[ln])return r;t=cv(t)}return n}t=r,r=t.parentNode}return null}function sl(t){if(t=t[ln]||t[ll]){var n=t.tag;if(n===5||n===6||n===13||n===31||n===26||n===27||n===3)return t}return null}function Ro(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t.stateNode;throw Error(l(33))}function ul(t){var n=t[Vm];return n||(n=t[Vm]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function Ze(t){t[wo]=!0}var Gm=new Set,Ym={};function hi(t,n){cl(t,n),cl(t+"Capture",n)}function cl(t,n){for(Ym[t]=n,t=0;t<n.length;t++)Gm.add(n[t])}var v2=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]*$"),Qm={},Xm={};function b2(t){return Wt.call(Xm,t)?!0:Wt.call(Qm,t)?!1:v2.test(t)?Xm[t]=!0:(Qm[t]=!0,!1)}function su(t,n,r){if(b2(n))if(r===null)t.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":t.removeAttribute(n);return;case"boolean":var o=n.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){t.removeAttribute(n);return}}t.setAttribute(n,""+r)}}function uu(t,n,r){if(r===null)t.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttribute(n,""+r)}}function Ia(t,n,r,o){if(o===null)t.removeAttribute(r);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(r);return}t.setAttributeNS(n,r,""+o)}}function Jn(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Km(t){var n=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function S2(t,n,r){var o=Object.getOwnPropertyDescriptor(t.constructor.prototype,n);if(!t.hasOwnProperty(n)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var c=o.get,d=o.set;return Object.defineProperty(t,n,{configurable:!0,get:function(){return c.call(this)},set:function(g){r=""+g,d.call(this,g)}}),Object.defineProperty(t,n,{enumerable:o.enumerable}),{getValue:function(){return r},setValue:function(g){r=""+g},stopTracking:function(){t._valueTracker=null,delete t[n]}}}}function zf(t){if(!t._valueTracker){var n=Km(t)?"checked":"value";t._valueTracker=S2(t,n,""+t[n])}}function Fm(t){if(!t)return!1;var n=t._valueTracker;if(!n)return!0;var r=n.getValue(),o="";return t&&(o=Km(t)?t.checked?"true":"false":t.value),t=o,t!==r?(n.setValue(t),!0):!1}function cu(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var x2=/[\n"\\]/g;function ta(t){return t.replace(x2,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function Bf(t,n,r,o,c,d,g,E){t.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?t.type=g:t.removeAttribute("type"),n!=null?g==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+Jn(n)):t.value!==""+Jn(n)&&(t.value=""+Jn(n)):g!=="submit"&&g!=="reset"||t.removeAttribute("value"),n!=null?Df(t,g,Jn(n)):r!=null?Df(t,g,Jn(r)):o!=null&&t.removeAttribute("value"),c==null&&d!=null&&(t.defaultChecked=!!d),c!=null&&(t.checked=c&&typeof c!="function"&&typeof c!="symbol"),E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"?t.name=""+Jn(E):t.removeAttribute("name")}function Im(t,n,r,o,c,d,g,E){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(t.type=d),n!=null||r!=null){if(!(d!=="submit"&&d!=="reset"||n!=null)){zf(t);return}r=r!=null?""+Jn(r):"",n=n!=null?""+Jn(n):r,E||n===t.value||(t.value=n),t.defaultValue=n}o=o??c,o=typeof o!="function"&&typeof o!="symbol"&&!!o,t.checked=E?t.checked:!!o,t.defaultChecked=!!o,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(t.name=g),zf(t)}function Df(t,n,r){n==="number"&&cu(t.ownerDocument)===t||t.defaultValue===""+r||(t.defaultValue=""+r)}function fl(t,n,r,o){if(t=t.options,n){n={};for(var c=0;c<r.length;c++)n["$"+r[c]]=!0;for(r=0;r<t.length;r++)c=n.hasOwnProperty("$"+t[r].value),t[r].selected!==c&&(t[r].selected=c),c&&o&&(t[r].defaultSelected=!0)}else{for(r=""+Jn(r),n=null,c=0;c<t.length;c++){if(t[c].value===r){t[c].selected=!0,o&&(t[c].defaultSelected=!0);return}n!==null||t[c].disabled||(n=t[c])}n!==null&&(n.selected=!0)}}function Zm(t,n,r){if(n!=null&&(n=""+Jn(n),n!==t.value&&(t.value=n),r==null)){t.defaultValue!==n&&(t.defaultValue=n);return}t.defaultValue=r!=null?""+Jn(r):""}function Wm(t,n,r,o){if(n==null){if(o!=null){if(r!=null)throw Error(l(92));if(at(o)){if(1<o.length)throw Error(l(93));o=o[0]}r=o}r==null&&(r=""),n=r}r=Jn(n),t.defaultValue=r,o=t.textContent,o===r&&o!==""&&o!==null&&(t.value=o),zf(t)}function dl(t,n){if(n){var r=t.firstChild;if(r&&r===t.lastChild&&r.nodeType===3){r.nodeValue=n;return}}t.textContent=n}var E2=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 Jm(t,n,r){var o=n.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?o?t.setProperty(n,""):n==="float"?t.cssFloat="":t[n]="":o?t.setProperty(n,r):typeof r!="number"||r===0||E2.has(n)?n==="float"?t.cssFloat=r:t[n]=(""+r).trim():t[n]=r+"px"}function ty(t,n,r){if(n!=null&&typeof n!="object")throw Error(l(62));if(t=t.style,r!=null){for(var o in r)!r.hasOwnProperty(o)||n!=null&&n.hasOwnProperty(o)||(o.indexOf("--")===0?t.setProperty(o,""):o==="float"?t.cssFloat="":t[o]="");for(var c in n)o=n[c],n.hasOwnProperty(c)&&r[c]!==o&&Jm(t,c,o)}else for(var d in n)n.hasOwnProperty(d)&&Jm(t,d,n[d])}function jf(t){if(t.indexOf("-")===-1)return!1;switch(t){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 C2=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"]]),T2=/^[\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 fu(t){return T2.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Za(){}var Nf=null;function Uf(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var pl=null,hl=null;function ey(t){var n=sl(t);if(n&&(t=n.stateNode)){var r=t[Tn]||null;t:switch(t=n.stateNode,n.type){case"input":if(Bf(t,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),n=r.name,r.type==="radio"&&n!=null){for(r=t;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+ta(""+n)+'"][type="radio"]'),n=0;n<r.length;n++){var o=r[n];if(o!==t&&o.form===t.form){var c=o[Tn]||null;if(!c)throw Error(l(90));Bf(o,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(n=0;n<r.length;n++)o=r[n],o.form===t.form&&Fm(o)}break t;case"textarea":Zm(t,r.value,r.defaultValue);break t;case"select":n=r.value,n!=null&&fl(t,!!r.multiple,n,!1)}}}var Lf=!1;function ny(t,n,r){if(Lf)return t(n,r);Lf=!0;try{var o=t(n);return o}finally{if(Lf=!1,(pl!==null||hl!==null)&&(Wu(),pl&&(n=pl,t=hl,hl=pl=null,ey(n),t)))for(n=0;n<t.length;n++)ey(t[n])}}function Oo(t,n){var r=t.stateNode;if(r===null)return null;var o=r[Tn]||null;if(o===null)return null;r=o[n];t:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(t=t.type,o=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!o;break t;default:t=!1}if(t)return null;if(r&&typeof r!="function")throw Error(l(231,n,typeof r));return r}var Wa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Hf=!1;if(Wa)try{var Ao={};Object.defineProperty(Ao,"passive",{get:function(){Hf=!0}}),window.addEventListener("test",Ao,Ao),window.removeEventListener("test",Ao,Ao)}catch{Hf=!1}var Or=null,kf=null,du=null;function ay(){if(du)return du;var t,n=kf,r=n.length,o,c="value"in Or?Or.value:Or.textContent,d=c.length;for(t=0;t<r&&n[t]===c[t];t++);var g=r-t;for(o=1;o<=g&&n[r-o]===c[d-o];o++);return du=c.slice(t,1<o?1-o:void 0)}function pu(t){var n=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&n===13&&(t=13)):t=n,t===10&&(t=13),32<=t||t===13?t:0}function hu(){return!0}function ry(){return!1}function wn(t){function n(r,o,c,d,g){this._reactName=r,this._targetInst=c,this.type=o,this.nativeEvent=d,this.target=g,this.currentTarget=null;for(var E in t)t.hasOwnProperty(E)&&(r=t[E],this[E]=r?r(d):d[E]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?hu:ry,this.isPropagationStopped=ry,this}return v(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=hu)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=hu)},persist:function(){},isPersistent:hu}),n}var mi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},mu=wn(mi),Mo=v({},mi,{view:0,detail:0}),w2=wn(Mo),$f,qf,_o,yu=v({},Mo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Vf,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==_o&&(_o&&t.type==="mousemove"?($f=t.screenX-_o.screenX,qf=t.screenY-_o.screenY):qf=$f=0,_o=t),$f)},movementY:function(t){return"movementY"in t?t.movementY:qf}}),iy=wn(yu),R2=v({},yu,{dataTransfer:0}),O2=wn(R2),A2=v({},Mo,{relatedTarget:0}),Pf=wn(A2),M2=v({},mi,{animationName:0,elapsedTime:0,pseudoElement:0}),_2=wn(M2),z2=v({},mi,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),B2=wn(z2),D2=v({},mi,{data:0}),ly=wn(D2),j2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},N2={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"},U2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function L2(t){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(t):(t=U2[t])?!!n[t]:!1}function Vf(){return L2}var H2=v({},Mo,{key:function(t){if(t.key){var n=j2[t.key]||t.key;if(n!=="Unidentified")return n}return t.type==="keypress"?(t=pu(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?N2[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Vf,charCode:function(t){return t.type==="keypress"?pu(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?pu(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),k2=wn(H2),$2=v({},yu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),oy=wn($2),q2=v({},Mo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Vf}),P2=wn(q2),V2=v({},mi,{propertyName:0,elapsedTime:0,pseudoElement:0}),G2=wn(V2),Y2=v({},yu,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Q2=wn(Y2),X2=v({},mi,{newState:0,oldState:0}),K2=wn(X2),F2=[9,13,27,32],Gf=Wa&&"CompositionEvent"in window,zo=null;Wa&&"documentMode"in document&&(zo=document.documentMode);var I2=Wa&&"TextEvent"in window&&!zo,sy=Wa&&(!Gf||zo&&8<zo&&11>=zo),uy=" ",cy=!1;function fy(t,n){switch(t){case"keyup":return F2.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function dy(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ml=!1;function Z2(t,n){switch(t){case"compositionend":return dy(n);case"keypress":return n.which!==32?null:(cy=!0,uy);case"textInput":return t=n.data,t===uy&&cy?null:t;default:return null}}function W2(t,n){if(ml)return t==="compositionend"||!Gf&&fy(t,n)?(t=ay(),du=kf=Or=null,ml=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return sy&&n.locale!=="ko"?null:n.data;default:return null}}var J2={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 py(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n==="input"?!!J2[t.type]:n==="textarea"}function hy(t,n,r,o){pl?hl?hl.push(o):hl=[o]:pl=o,n=ic(n,"onChange"),0<n.length&&(r=new mu("onChange","change",null,r,o),t.push({event:r,listeners:n}))}var Bo=null,Do=null;function tE(t){I0(t,0)}function gu(t){var n=Ro(t);if(Fm(n))return t}function my(t,n){if(t==="change")return n}var yy=!1;if(Wa){var Yf;if(Wa){var Qf="oninput"in document;if(!Qf){var gy=document.createElement("div");gy.setAttribute("oninput","return;"),Qf=typeof gy.oninput=="function"}Yf=Qf}else Yf=!1;yy=Yf&&(!document.documentMode||9<document.documentMode)}function vy(){Bo&&(Bo.detachEvent("onpropertychange",by),Do=Bo=null)}function by(t){if(t.propertyName==="value"&&gu(Do)){var n=[];hy(n,Do,t,Uf(t)),ny(tE,n)}}function eE(t,n,r){t==="focusin"?(vy(),Bo=n,Do=r,Bo.attachEvent("onpropertychange",by)):t==="focusout"&&vy()}function nE(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return gu(Do)}function aE(t,n){if(t==="click")return gu(n)}function rE(t,n){if(t==="input"||t==="change")return gu(n)}function iE(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var kn=typeof Object.is=="function"?Object.is:iE;function jo(t,n){if(kn(t,n))return!0;if(typeof t!="object"||t===null||typeof n!="object"||n===null)return!1;var r=Object.keys(t),o=Object.keys(n);if(r.length!==o.length)return!1;for(o=0;o<r.length;o++){var c=r[o];if(!Wt.call(n,c)||!kn(t[c],n[c]))return!1}return!0}function Sy(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function xy(t,n){var r=Sy(t);t=0;for(var o;r;){if(r.nodeType===3){if(o=t+r.textContent.length,t<=n&&o>=n)return{node:r,offset:n-t};t=o}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=Sy(r)}}function Ey(t,n){return t&&n?t===n?!0:t&&t.nodeType===3?!1:n&&n.nodeType===3?Ey(t,n.parentNode):"contains"in t?t.contains(n):t.compareDocumentPosition?!!(t.compareDocumentPosition(n)&16):!1:!1}function Cy(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var n=cu(t.document);n instanceof t.HTMLIFrameElement;){try{var r=typeof n.contentWindow.location.href=="string"}catch{r=!1}if(r)t=n.contentWindow;else break;n=cu(t.document)}return n}function Xf(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n&&(n==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||n==="textarea"||t.contentEditable==="true")}var lE=Wa&&"documentMode"in document&&11>=document.documentMode,yl=null,Kf=null,No=null,Ff=!1;function Ty(t,n,r){var o=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Ff||yl==null||yl!==cu(o)||(o=yl,"selectionStart"in o&&Xf(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),No&&jo(No,o)||(No=o,o=ic(Kf,"onSelect"),0<o.length&&(n=new mu("onSelect","select",null,n,r),t.push({event:n,listeners:o}),n.target=yl)))}function yi(t,n){var r={};return r[t.toLowerCase()]=n.toLowerCase(),r["Webkit"+t]="webkit"+n,r["Moz"+t]="moz"+n,r}var gl={animationend:yi("Animation","AnimationEnd"),animationiteration:yi("Animation","AnimationIteration"),animationstart:yi("Animation","AnimationStart"),transitionrun:yi("Transition","TransitionRun"),transitionstart:yi("Transition","TransitionStart"),transitioncancel:yi("Transition","TransitionCancel"),transitionend:yi("Transition","TransitionEnd")},If={},wy={};Wa&&(wy=document.createElement("div").style,"AnimationEvent"in window||(delete gl.animationend.animation,delete gl.animationiteration.animation,delete gl.animationstart.animation),"TransitionEvent"in window||delete gl.transitionend.transition);function gi(t){if(If[t])return If[t];if(!gl[t])return t;var n=gl[t],r;for(r in n)if(n.hasOwnProperty(r)&&r in wy)return If[t]=n[r];return t}var Ry=gi("animationend"),Oy=gi("animationiteration"),Ay=gi("animationstart"),oE=gi("transitionrun"),sE=gi("transitionstart"),uE=gi("transitioncancel"),My=gi("transitionend"),_y=new Map,Zf="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(" ");Zf.push("scrollEnd");function Ca(t,n){_y.set(t,n),hi(n,[t])}var vu=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},ea=[],vl=0,Wf=0;function bu(){for(var t=vl,n=Wf=vl=0;n<t;){var r=ea[n];ea[n++]=null;var o=ea[n];ea[n++]=null;var c=ea[n];ea[n++]=null;var d=ea[n];if(ea[n++]=null,o!==null&&c!==null){var g=o.pending;g===null?c.next=c:(c.next=g.next,g.next=c),o.pending=c}d!==0&&zy(r,c,d)}}function Su(t,n,r,o){ea[vl++]=t,ea[vl++]=n,ea[vl++]=r,ea[vl++]=o,Wf|=o,t.lanes|=o,t=t.alternate,t!==null&&(t.lanes|=o)}function Jf(t,n,r,o){return Su(t,n,r,o),xu(t)}function vi(t,n){return Su(t,null,null,n),xu(t)}function zy(t,n,r){t.lanes|=r;var o=t.alternate;o!==null&&(o.lanes|=r);for(var c=!1,d=t.return;d!==null;)d.childLanes|=r,o=d.alternate,o!==null&&(o.childLanes|=r),d.tag===22&&(t=d.stateNode,t===null||t._visibility&1||(c=!0)),t=d,d=d.return;return t.tag===3?(d=t.stateNode,c&&n!==null&&(c=31-Qe(r),t=d.hiddenUpdates,o=t[c],o===null?t[c]=[n]:o.push(n),n.lane=r|536870912),d):null}function xu(t){if(50<as)throw as=0,sp=null,Error(l(185));for(var n=t.return;n!==null;)t=n,n=t.return;return t.tag===3?t.stateNode:null}var bl={};function cE(t,n,r,o){this.tag=t,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function $n(t,n,r,o){return new cE(t,n,r,o)}function td(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Ja(t,n){var r=t.alternate;return r===null?(r=$n(t.tag,n,t.key,t.mode),r.elementType=t.elementType,r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=n,r.type=t.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=t.flags&65011712,r.childLanes=t.childLanes,r.lanes=t.lanes,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,n=t.dependencies,r.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r.refCleanup=t.refCleanup,r}function By(t,n){t.flags&=65011714;var r=t.alternate;return r===null?(t.childLanes=0,t.lanes=n,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=r.childLanes,t.lanes=r.lanes,t.child=r.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=r.memoizedProps,t.memoizedState=r.memoizedState,t.updateQueue=r.updateQueue,t.type=r.type,n=r.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),t}function Eu(t,n,r,o,c,d){var g=0;if(o=t,typeof t=="function")td(t)&&(g=1);else if(typeof t=="string")g=mC(t,r,ot.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Z:return t=$n(31,r,n,c),t.elementType=Z,t.lanes=d,t;case b:return bi(r.children,c,d,n);case C:g=8,c|=24;break;case M:return t=$n(12,r,n,c|2),t.elementType=M,t.lanes=d,t;case B:return t=$n(13,r,n,c),t.elementType=B,t.lanes=d,t;case H:return t=$n(19,r,n,c),t.elementType=H,t.lanes=d,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case j:g=10;break t;case L:g=9;break t;case O:g=11;break t;case $:g=14;break t;case Q:g=16,o=null;break t}g=29,r=Error(l(130,t===null?"null":typeof t,"")),o=null}return n=$n(g,r,n,c),n.elementType=t,n.type=o,n.lanes=d,n}function bi(t,n,r,o){return t=$n(7,t,o,n),t.lanes=r,t}function ed(t,n,r){return t=$n(6,t,null,n),t.lanes=r,t}function Dy(t){var n=$n(18,null,null,0);return n.stateNode=t,n}function nd(t,n,r){return n=$n(4,t.children!==null?t.children:[],t.key,n),n.lanes=r,n.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},n}var jy=new WeakMap;function na(t,n){if(typeof t=="object"&&t!==null){var r=jy.get(t);return r!==void 0?r:(n={value:t,source:n,stack:fe(n)},jy.set(t,n),n)}return{value:t,source:n,stack:fe(n)}}var Sl=[],xl=0,Cu=null,Uo=0,aa=[],ra=0,Ar=null,Ba=1,Da="";function tr(t,n){Sl[xl++]=Uo,Sl[xl++]=Cu,Cu=t,Uo=n}function Ny(t,n,r){aa[ra++]=Ba,aa[ra++]=Da,aa[ra++]=Ar,Ar=t;var o=Ba;t=Da;var c=32-Qe(o)-1;o&=~(1<<c),r+=1;var d=32-Qe(n)+c;if(30<d){var g=c-c%5;d=(o&(1<<g)-1).toString(32),o>>=g,c-=g,Ba=1<<32-Qe(n)+c|r<<c|o,Da=d+t}else Ba=1<<d|r<<c|o,Da=t}function ad(t){t.return!==null&&(tr(t,1),Ny(t,1,0))}function rd(t){for(;t===Cu;)Cu=Sl[--xl],Sl[xl]=null,Uo=Sl[--xl],Sl[xl]=null;for(;t===Ar;)Ar=aa[--ra],aa[ra]=null,Da=aa[--ra],aa[ra]=null,Ba=aa[--ra],aa[ra]=null}function Uy(t,n){aa[ra++]=Ba,aa[ra++]=Da,aa[ra++]=Ar,Ba=n.id,Da=n.overflow,Ar=t}var on=null,be=null,$t=!1,Mr=null,ia=!1,id=Error(l(519));function _r(t){var n=Error(l(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Lo(na(n,t)),id}function Ly(t){var n=t.stateNode,r=t.type,o=t.memoizedProps;switch(n[ln]=t,n[Tn]=o,r){case"dialog":Ut("cancel",n),Ut("close",n);break;case"iframe":case"object":case"embed":Ut("load",n);break;case"video":case"audio":for(r=0;r<is.length;r++)Ut(is[r],n);break;case"source":Ut("error",n);break;case"img":case"image":case"link":Ut("error",n),Ut("load",n);break;case"details":Ut("toggle",n);break;case"input":Ut("invalid",n),Im(n,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":Ut("invalid",n);break;case"textarea":Ut("invalid",n),Wm(n,o.value,o.defaultValue,o.children)}r=o.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||n.textContent===""+r||o.suppressHydrationWarning===!0||tv(n.textContent,r)?(o.popover!=null&&(Ut("beforetoggle",n),Ut("toggle",n)),o.onScroll!=null&&Ut("scroll",n),o.onScrollEnd!=null&&Ut("scrollend",n),o.onClick!=null&&(n.onclick=Za),n=!0):n=!1,n||_r(t,!0)}function Hy(t){for(on=t.return;on;)switch(on.tag){case 5:case 31:case 13:ia=!1;return;case 27:case 3:ia=!0;return;default:on=on.return}}function El(t){if(t!==on)return!1;if(!$t)return Hy(t),$t=!0,!1;var n=t.tag,r;if((r=n!==3&&n!==27)&&((r=n===5)&&(r=t.type,r=!(r!=="form"&&r!=="button")||Cp(t.type,t.memoizedProps)),r=!r),r&&be&&_r(t),Hy(t),n===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(l(317));be=uv(t)}else if(n===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(l(317));be=uv(t)}else n===27?(n=be,Gr(t.type)?(t=Ap,Ap=null,be=t):be=n):be=on?oa(t.stateNode.nextSibling):null;return!0}function Si(){be=on=null,$t=!1}function ld(){var t=Mr;return t!==null&&(Mn===null?Mn=t:Mn.push.apply(Mn,t),Mr=null),t}function Lo(t){Mr===null?Mr=[t]:Mr.push(t)}var od=_(null),xi=null,er=null;function zr(t,n,r){lt(od,n._currentValue),n._currentValue=r}function nr(t){t._currentValue=od.current,V(od)}function sd(t,n,r){for(;t!==null;){var o=t.alternate;if((t.childLanes&n)!==n?(t.childLanes|=n,o!==null&&(o.childLanes|=n)):o!==null&&(o.childLanes&n)!==n&&(o.childLanes|=n),t===r)break;t=t.return}}function ud(t,n,r,o){var c=t.child;for(c!==null&&(c.return=t);c!==null;){var d=c.dependencies;if(d!==null){var g=c.child;d=d.firstContext;t:for(;d!==null;){var E=d;d=c;for(var z=0;z<n.length;z++)if(E.context===n[z]){d.lanes|=r,E=d.alternate,E!==null&&(E.lanes|=r),sd(d.return,r,t),o||(g=null);break t}d=E.next}}else if(c.tag===18){if(g=c.return,g===null)throw Error(l(341));g.lanes|=r,d=g.alternate,d!==null&&(d.lanes|=r),sd(g,r,t),g=null}else g=c.child;if(g!==null)g.return=c;else for(g=c;g!==null;){if(g===t){g=null;break}if(c=g.sibling,c!==null){c.return=g.return,g=c;break}g=g.return}c=g}}function Cl(t,n,r,o){t=null;for(var c=n,d=!1;c!==null;){if(!d){if((c.flags&524288)!==0)d=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var g=c.alternate;if(g===null)throw Error(l(387));if(g=g.memoizedProps,g!==null){var E=c.type;kn(c.pendingProps.value,g.value)||(t!==null?t.push(E):t=[E])}}else if(c===bt.current){if(g=c.alternate,g===null)throw Error(l(387));g.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(t!==null?t.push(cs):t=[cs])}c=c.return}t!==null&&ud(n,t,r,o),n.flags|=262144}function Tu(t){for(t=t.firstContext;t!==null;){if(!kn(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Ei(t){xi=t,er=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function sn(t){return ky(xi,t)}function wu(t,n){return xi===null&&Ei(t),ky(t,n)}function ky(t,n){var r=n._currentValue;if(n={context:n,memoizedValue:r,next:null},er===null){if(t===null)throw Error(l(308));er=n,t.dependencies={lanes:0,firstContext:n},t.flags|=524288}else er=er.next=n;return r}var fE=typeof AbortController<"u"?AbortController:function(){var t=[],n=this.signal={aborted:!1,addEventListener:function(r,o){t.push(o)}};this.abort=function(){n.aborted=!0,t.forEach(function(r){return r()})}},dE=e.unstable_scheduleCallback,pE=e.unstable_NormalPriority,Ue={$$typeof:j,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function cd(){return{controller:new fE,data:new Map,refCount:0}}function Ho(t){t.refCount--,t.refCount===0&&dE(pE,function(){t.controller.abort()})}var ko=null,fd=0,Tl=0,wl=null;function hE(t,n){if(ko===null){var r=ko=[];fd=0,Tl=hp(),wl={status:"pending",value:void 0,then:function(o){r.push(o)}}}return fd++,n.then($y,$y),n}function $y(){if(--fd===0&&ko!==null){wl!==null&&(wl.status="fulfilled");var t=ko;ko=null,Tl=0,wl=null;for(var n=0;n<t.length;n++)(0,t[n])()}}function mE(t,n){var r=[],o={status:"pending",value:null,reason:null,then:function(c){r.push(c)}};return t.then(function(){o.status="fulfilled",o.value=n;for(var c=0;c<r.length;c++)(0,r[c])(n)},function(c){for(o.status="rejected",o.reason=c,c=0;c<r.length;c++)(0,r[c])(void 0)}),o}var qy=D.S;D.S=function(t,n){T0=ge(),typeof n=="object"&&n!==null&&typeof n.then=="function"&&hE(t,n),qy!==null&&qy(t,n)};var Ci=_(null);function dd(){var t=Ci.current;return t!==null?t:de.pooledCache}function Ru(t,n){n===null?lt(Ci,Ci.current):lt(Ci,n.pool)}function Py(){var t=dd();return t===null?null:{parent:Ue._currentValue,pool:t}}var Rl=Error(l(460)),pd=Error(l(474)),Ou=Error(l(542)),Au={then:function(){}};function Vy(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Gy(t,n,r){switch(r=t[r],r===void 0?t.push(n):r!==n&&(n.then(Za,Za),n=r),n.status){case"fulfilled":return n.value;case"rejected":throw t=n.reason,Qy(t),t;default:if(typeof n.status=="string")n.then(Za,Za);else{if(t=de,t!==null&&100<t.shellSuspendCounter)throw Error(l(482));t=n,t.status="pending",t.then(function(o){if(n.status==="pending"){var c=n;c.status="fulfilled",c.value=o}},function(o){if(n.status==="pending"){var c=n;c.status="rejected",c.reason=o}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw t=n.reason,Qy(t),t}throw wi=n,Rl}}function Ti(t){try{var n=t._init;return n(t._payload)}catch(r){throw r!==null&&typeof r=="object"&&typeof r.then=="function"?(wi=r,Rl):r}}var wi=null;function Yy(){if(wi===null)throw Error(l(459));var t=wi;return wi=null,t}function Qy(t){if(t===Rl||t===Ou)throw Error(l(483))}var Ol=null,$o=0;function Mu(t){var n=$o;return $o+=1,Ol===null&&(Ol=[]),Gy(Ol,t,n)}function qo(t,n){n=n.props.ref,t.ref=n!==void 0?n:null}function _u(t,n){throw n.$$typeof===T?Error(l(525)):(t=Object.prototype.toString.call(n),Error(l(31,t==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":t)))}function Xy(t){function n(k,N){if(t){var q=k.deletions;q===null?(k.deletions=[N],k.flags|=16):q.push(N)}}function r(k,N){if(!t)return null;for(;N!==null;)n(k,N),N=N.sibling;return null}function o(k){for(var N=new Map;k!==null;)k.key!==null?N.set(k.key,k):N.set(k.index,k),k=k.sibling;return N}function c(k,N){return k=Ja(k,N),k.index=0,k.sibling=null,k}function d(k,N,q){return k.index=q,t?(q=k.alternate,q!==null?(q=q.index,q<N?(k.flags|=67108866,N):q):(k.flags|=67108866,N)):(k.flags|=1048576,N)}function g(k){return t&&k.alternate===null&&(k.flags|=67108866),k}function E(k,N,q,nt){return N===null||N.tag!==6?(N=ed(q,k.mode,nt),N.return=k,N):(N=c(N,q),N.return=k,N)}function z(k,N,q,nt){var vt=q.type;return vt===b?J(k,N,q.props.children,nt,q.key):N!==null&&(N.elementType===vt||typeof vt=="object"&&vt!==null&&vt.$$typeof===Q&&Ti(vt)===N.type)?(N=c(N,q.props),qo(N,q),N.return=k,N):(N=Eu(q.type,q.key,q.props,null,k.mode,nt),qo(N,q),N.return=k,N)}function P(k,N,q,nt){return N===null||N.tag!==4||N.stateNode.containerInfo!==q.containerInfo||N.stateNode.implementation!==q.implementation?(N=nd(q,k.mode,nt),N.return=k,N):(N=c(N,q.children||[]),N.return=k,N)}function J(k,N,q,nt,vt){return N===null||N.tag!==7?(N=bi(q,k.mode,nt,vt),N.return=k,N):(N=c(N,q),N.return=k,N)}function rt(k,N,q){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return N=ed(""+N,k.mode,q),N.return=k,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case x:return q=Eu(N.type,N.key,N.props,null,k.mode,q),qo(q,N),q.return=k,q;case S:return N=nd(N,k.mode,q),N.return=k,N;case Q:return N=Ti(N),rt(k,N,q)}if(at(N)||R(N))return N=bi(N,k.mode,q,null),N.return=k,N;if(typeof N.then=="function")return rt(k,Mu(N),q);if(N.$$typeof===j)return rt(k,wu(k,N),q);_u(k,N)}return null}function G(k,N,q,nt){var vt=N!==null?N.key:null;if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return vt!==null?null:E(k,N,""+q,nt);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case x:return q.key===vt?z(k,N,q,nt):null;case S:return q.key===vt?P(k,N,q,nt):null;case Q:return q=Ti(q),G(k,N,q,nt)}if(at(q)||R(q))return vt!==null?null:J(k,N,q,nt,null);if(typeof q.then=="function")return G(k,N,Mu(q),nt);if(q.$$typeof===j)return G(k,N,wu(k,q),nt);_u(k,q)}return null}function F(k,N,q,nt,vt){if(typeof nt=="string"&&nt!==""||typeof nt=="number"||typeof nt=="bigint")return k=k.get(q)||null,E(N,k,""+nt,vt);if(typeof nt=="object"&&nt!==null){switch(nt.$$typeof){case x:return k=k.get(nt.key===null?q:nt.key)||null,z(N,k,nt,vt);case S:return k=k.get(nt.key===null?q:nt.key)||null,P(N,k,nt,vt);case Q:return nt=Ti(nt),F(k,N,q,nt,vt)}if(at(nt)||R(nt))return k=k.get(q)||null,J(N,k,nt,vt,null);if(typeof nt.then=="function")return F(k,N,q,Mu(nt),vt);if(nt.$$typeof===j)return F(k,N,q,wu(N,nt),vt);_u(N,nt)}return null}function pt(k,N,q,nt){for(var vt=null,Qt=null,mt=N,At=N=0,kt=null;mt!==null&&At<q.length;At++){mt.index>At?(kt=mt,mt=null):kt=mt.sibling;var Xt=G(k,mt,q[At],nt);if(Xt===null){mt===null&&(mt=kt);break}t&&mt&&Xt.alternate===null&&n(k,mt),N=d(Xt,N,At),Qt===null?vt=Xt:Qt.sibling=Xt,Qt=Xt,mt=kt}if(At===q.length)return r(k,mt),$t&&tr(k,At),vt;if(mt===null){for(;At<q.length;At++)mt=rt(k,q[At],nt),mt!==null&&(N=d(mt,N,At),Qt===null?vt=mt:Qt.sibling=mt,Qt=mt);return $t&&tr(k,At),vt}for(mt=o(mt);At<q.length;At++)kt=F(mt,k,At,q[At],nt),kt!==null&&(t&&kt.alternate!==null&&mt.delete(kt.key===null?At:kt.key),N=d(kt,N,At),Qt===null?vt=kt:Qt.sibling=kt,Qt=kt);return t&&mt.forEach(function(Fr){return n(k,Fr)}),$t&&tr(k,At),vt}function St(k,N,q,nt){if(q==null)throw Error(l(151));for(var vt=null,Qt=null,mt=N,At=N=0,kt=null,Xt=q.next();mt!==null&&!Xt.done;At++,Xt=q.next()){mt.index>At?(kt=mt,mt=null):kt=mt.sibling;var Fr=G(k,mt,Xt.value,nt);if(Fr===null){mt===null&&(mt=kt);break}t&&mt&&Fr.alternate===null&&n(k,mt),N=d(Fr,N,At),Qt===null?vt=Fr:Qt.sibling=Fr,Qt=Fr,mt=kt}if(Xt.done)return r(k,mt),$t&&tr(k,At),vt;if(mt===null){for(;!Xt.done;At++,Xt=q.next())Xt=rt(k,Xt.value,nt),Xt!==null&&(N=d(Xt,N,At),Qt===null?vt=Xt:Qt.sibling=Xt,Qt=Xt);return $t&&tr(k,At),vt}for(mt=o(mt);!Xt.done;At++,Xt=q.next())Xt=F(mt,k,At,Xt.value,nt),Xt!==null&&(t&&Xt.alternate!==null&&mt.delete(Xt.key===null?At:Xt.key),N=d(Xt,N,At),Qt===null?vt=Xt:Qt.sibling=Xt,Qt=Xt);return t&&mt.forEach(function(RC){return n(k,RC)}),$t&&tr(k,At),vt}function oe(k,N,q,nt){if(typeof q=="object"&&q!==null&&q.type===b&&q.key===null&&(q=q.props.children),typeof q=="object"&&q!==null){switch(q.$$typeof){case x:t:{for(var vt=q.key;N!==null;){if(N.key===vt){if(vt=q.type,vt===b){if(N.tag===7){r(k,N.sibling),nt=c(N,q.props.children),nt.return=k,k=nt;break t}}else if(N.elementType===vt||typeof vt=="object"&&vt!==null&&vt.$$typeof===Q&&Ti(vt)===N.type){r(k,N.sibling),nt=c(N,q.props),qo(nt,q),nt.return=k,k=nt;break t}r(k,N);break}else n(k,N);N=N.sibling}q.type===b?(nt=bi(q.props.children,k.mode,nt,q.key),nt.return=k,k=nt):(nt=Eu(q.type,q.key,q.props,null,k.mode,nt),qo(nt,q),nt.return=k,k=nt)}return g(k);case S:t:{for(vt=q.key;N!==null;){if(N.key===vt)if(N.tag===4&&N.stateNode.containerInfo===q.containerInfo&&N.stateNode.implementation===q.implementation){r(k,N.sibling),nt=c(N,q.children||[]),nt.return=k,k=nt;break t}else{r(k,N);break}else n(k,N);N=N.sibling}nt=nd(q,k.mode,nt),nt.return=k,k=nt}return g(k);case Q:return q=Ti(q),oe(k,N,q,nt)}if(at(q))return pt(k,N,q,nt);if(R(q)){if(vt=R(q),typeof vt!="function")throw Error(l(150));return q=vt.call(q),St(k,N,q,nt)}if(typeof q.then=="function")return oe(k,N,Mu(q),nt);if(q.$$typeof===j)return oe(k,N,wu(k,q),nt);_u(k,q)}return typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint"?(q=""+q,N!==null&&N.tag===6?(r(k,N.sibling),nt=c(N,q),nt.return=k,k=nt):(r(k,N),nt=ed(q,k.mode,nt),nt.return=k,k=nt),g(k)):r(k,N)}return function(k,N,q,nt){try{$o=0;var vt=oe(k,N,q,nt);return Ol=null,vt}catch(mt){if(mt===Rl||mt===Ou)throw mt;var Qt=$n(29,mt,null,k.mode);return Qt.lanes=nt,Qt.return=k,Qt}finally{}}}var Ri=Xy(!0),Ky=Xy(!1),Br=!1;function hd(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function md(t,n){t=t.updateQueue,n.updateQueue===t&&(n.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Dr(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function jr(t,n,r){var o=t.updateQueue;if(o===null)return null;if(o=o.shared,(Ft&2)!==0){var c=o.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),o.pending=n,n=xu(t),zy(t,null,r),n}return Su(t,o,n,r),xu(t)}function Po(t,n,r){if(n=n.updateQueue,n!==null&&(n=n.shared,(r&4194048)!==0)){var o=n.lanes;o&=t.pendingLanes,r|=o,n.lanes=r,Vt(t,r)}}function yd(t,n){var r=t.updateQueue,o=t.alternate;if(o!==null&&(o=o.updateQueue,r===o)){var c=null,d=null;if(r=r.firstBaseUpdate,r!==null){do{var g={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};d===null?c=d=g:d=d.next=g,r=r.next}while(r!==null);d===null?c=d=n:d=d.next=n}else c=d=n;r={baseState:o.baseState,firstBaseUpdate:c,lastBaseUpdate:d,shared:o.shared,callbacks:o.callbacks},t.updateQueue=r;return}t=r.lastBaseUpdate,t===null?r.firstBaseUpdate=n:t.next=n,r.lastBaseUpdate=n}var gd=!1;function Vo(){if(gd){var t=wl;if(t!==null)throw t}}function Go(t,n,r,o){gd=!1;var c=t.updateQueue;Br=!1;var d=c.firstBaseUpdate,g=c.lastBaseUpdate,E=c.shared.pending;if(E!==null){c.shared.pending=null;var z=E,P=z.next;z.next=null,g===null?d=P:g.next=P,g=z;var J=t.alternate;J!==null&&(J=J.updateQueue,E=J.lastBaseUpdate,E!==g&&(E===null?J.firstBaseUpdate=P:E.next=P,J.lastBaseUpdate=z))}if(d!==null){var rt=c.baseState;g=0,J=P=z=null,E=d;do{var G=E.lane&-536870913,F=G!==E.lane;if(F?(Ht&G)===G:(o&G)===G){G!==0&&G===Tl&&(gd=!0),J!==null&&(J=J.next={lane:0,tag:E.tag,payload:E.payload,callback:null,next:null});t:{var pt=t,St=E;G=n;var oe=r;switch(St.tag){case 1:if(pt=St.payload,typeof pt=="function"){rt=pt.call(oe,rt,G);break t}rt=pt;break t;case 3:pt.flags=pt.flags&-65537|128;case 0:if(pt=St.payload,G=typeof pt=="function"?pt.call(oe,rt,G):pt,G==null)break t;rt=v({},rt,G);break t;case 2:Br=!0}}G=E.callback,G!==null&&(t.flags|=64,F&&(t.flags|=8192),F=c.callbacks,F===null?c.callbacks=[G]:F.push(G))}else F={lane:G,tag:E.tag,payload:E.payload,callback:E.callback,next:null},J===null?(P=J=F,z=rt):J=J.next=F,g|=G;if(E=E.next,E===null){if(E=c.shared.pending,E===null)break;F=E,E=F.next,F.next=null,c.lastBaseUpdate=F,c.shared.pending=null}}while(!0);J===null&&(z=rt),c.baseState=z,c.firstBaseUpdate=P,c.lastBaseUpdate=J,d===null&&(c.shared.lanes=0),kr|=g,t.lanes=g,t.memoizedState=rt}}function Fy(t,n){if(typeof t!="function")throw Error(l(191,t));t.call(n)}function Iy(t,n){var r=t.callbacks;if(r!==null)for(t.callbacks=null,t=0;t<r.length;t++)Fy(r[t],n)}var Al=_(null),zu=_(0);function Zy(t,n){t=fr,lt(zu,t),lt(Al,n),fr=t|n.baseLanes}function vd(){lt(zu,fr),lt(Al,Al.current)}function bd(){fr=zu.current,V(Al),V(zu)}var qn=_(null),la=null;function Nr(t){var n=t.alternate;lt(Be,Be.current&1),lt(qn,t),la===null&&(n===null||Al.current!==null||n.memoizedState!==null)&&(la=t)}function Sd(t){lt(Be,Be.current),lt(qn,t),la===null&&(la=t)}function Wy(t){t.tag===22?(lt(Be,Be.current),lt(qn,t),la===null&&(la=t)):Ur()}function Ur(){lt(Be,Be.current),lt(qn,qn.current)}function Pn(t){V(qn),la===t&&(la=null),V(Be)}var Be=_(0);function Bu(t){for(var n=t;n!==null;){if(n.tag===13){var r=n.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||Rp(r)||Op(r)))return n}else if(n.tag===19&&(n.memoizedProps.revealOrder==="forwards"||n.memoizedProps.revealOrder==="backwards"||n.memoizedProps.revealOrder==="unstable_legacy-backwards"||n.memoizedProps.revealOrder==="together")){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var ar=0,wt=null,ie=null,Le=null,Du=!1,Ml=!1,Oi=!1,ju=0,Yo=0,_l=null,yE=0;function we(){throw Error(l(321))}function xd(t,n){if(n===null)return!1;for(var r=0;r<n.length&&r<t.length;r++)if(!kn(t[r],n[r]))return!1;return!0}function Ed(t,n,r,o,c,d){return ar=d,wt=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,D.H=t===null||t.memoizedState===null?Ng:Ld,Oi=!1,d=r(o,c),Oi=!1,Ml&&(d=tg(n,r,o,c)),Jy(t),d}function Jy(t){D.H=Ko;var n=ie!==null&&ie.next!==null;if(ar=0,Le=ie=wt=null,Du=!1,Yo=0,_l=null,n)throw Error(l(300));t===null||He||(t=t.dependencies,t!==null&&Tu(t)&&(He=!0))}function tg(t,n,r,o){wt=t;var c=0;do{if(Ml&&(_l=null),Yo=0,Ml=!1,25<=c)throw Error(l(301));if(c+=1,Le=ie=null,t.updateQueue!=null){var d=t.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}D.H=Ug,d=n(r,o)}while(Ml);return d}function gE(){var t=D.H,n=t.useState()[0];return n=typeof n.then=="function"?Qo(n):n,t=t.useState()[0],(ie!==null?ie.memoizedState:null)!==t&&(wt.flags|=1024),n}function Cd(){var t=ju!==0;return ju=0,t}function Td(t,n,r){n.updateQueue=t.updateQueue,n.flags&=-2053,t.lanes&=~r}function wd(t){if(Du){for(t=t.memoizedState;t!==null;){var n=t.queue;n!==null&&(n.pending=null),t=t.next}Du=!1}ar=0,Le=ie=wt=null,Ml=!1,Yo=ju=0,_l=null}function Sn(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Le===null?wt.memoizedState=Le=t:Le=Le.next=t,Le}function De(){if(ie===null){var t=wt.alternate;t=t!==null?t.memoizedState:null}else t=ie.next;var n=Le===null?wt.memoizedState:Le.next;if(n!==null)Le=n,ie=t;else{if(t===null)throw wt.alternate===null?Error(l(467)):Error(l(310));ie=t,t={memoizedState:ie.memoizedState,baseState:ie.baseState,baseQueue:ie.baseQueue,queue:ie.queue,next:null},Le===null?wt.memoizedState=Le=t:Le=Le.next=t}return Le}function Nu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Qo(t){var n=Yo;return Yo+=1,_l===null&&(_l=[]),t=Gy(_l,t,n),n=wt,(Le===null?n.memoizedState:Le.next)===null&&(n=n.alternate,D.H=n===null||n.memoizedState===null?Ng:Ld),t}function Uu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Qo(t);if(t.$$typeof===j)return sn(t)}throw Error(l(438,String(t)))}function Rd(t){var n=null,r=wt.updateQueue;if(r!==null&&(n=r.memoCache),n==null){var o=wt.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(n={data:o.data.map(function(c){return c.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),r===null&&(r=Nu(),wt.updateQueue=r),r.memoCache=n,r=n.data[n.index],r===void 0)for(r=n.data[n.index]=Array(t),o=0;o<t;o++)r[o]=W;return n.index++,r}function rr(t,n){return typeof n=="function"?n(t):n}function Lu(t){var n=De();return Od(n,ie,t)}function Od(t,n,r){var o=t.queue;if(o===null)throw Error(l(311));o.lastRenderedReducer=r;var c=t.baseQueue,d=o.pending;if(d!==null){if(c!==null){var g=c.next;c.next=d.next,d.next=g}n.baseQueue=c=d,o.pending=null}if(d=t.baseState,c===null)t.memoizedState=d;else{n=c.next;var E=g=null,z=null,P=n,J=!1;do{var rt=P.lane&-536870913;if(rt!==P.lane?(Ht&rt)===rt:(ar&rt)===rt){var G=P.revertLane;if(G===0)z!==null&&(z=z.next={lane:0,revertLane:0,gesture:null,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null}),rt===Tl&&(J=!0);else if((ar&G)===G){P=P.next,G===Tl&&(J=!0);continue}else rt={lane:0,revertLane:P.revertLane,gesture:null,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},z===null?(E=z=rt,g=d):z=z.next=rt,wt.lanes|=G,kr|=G;rt=P.action,Oi&&r(d,rt),d=P.hasEagerState?P.eagerState:r(d,rt)}else G={lane:rt,revertLane:P.revertLane,gesture:P.gesture,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},z===null?(E=z=G,g=d):z=z.next=G,wt.lanes|=rt,kr|=rt;P=P.next}while(P!==null&&P!==n);if(z===null?g=d:z.next=E,!kn(d,t.memoizedState)&&(He=!0,J&&(r=wl,r!==null)))throw r;t.memoizedState=d,t.baseState=g,t.baseQueue=z,o.lastRenderedState=d}return c===null&&(o.lanes=0),[t.memoizedState,o.dispatch]}function Ad(t){var n=De(),r=n.queue;if(r===null)throw Error(l(311));r.lastRenderedReducer=t;var o=r.dispatch,c=r.pending,d=n.memoizedState;if(c!==null){r.pending=null;var g=c=c.next;do d=t(d,g.action),g=g.next;while(g!==c);kn(d,n.memoizedState)||(He=!0),n.memoizedState=d,n.baseQueue===null&&(n.baseState=d),r.lastRenderedState=d}return[d,o]}function eg(t,n,r){var o=wt,c=De(),d=$t;if(d){if(r===void 0)throw Error(l(407));r=r()}else r=n();var g=!kn((ie||c).memoizedState,r);if(g&&(c.memoizedState=r,He=!0),c=c.queue,zd(rg.bind(null,o,c,t),[t]),c.getSnapshot!==n||g||Le!==null&&Le.memoizedState.tag&1){if(o.flags|=2048,zl(9,{destroy:void 0},ag.bind(null,o,c,r,n),null),de===null)throw Error(l(349));d||(ar&127)!==0||ng(o,n,r)}return r}function ng(t,n,r){t.flags|=16384,t={getSnapshot:n,value:r},n=wt.updateQueue,n===null?(n=Nu(),wt.updateQueue=n,n.stores=[t]):(r=n.stores,r===null?n.stores=[t]:r.push(t))}function ag(t,n,r,o){n.value=r,n.getSnapshot=o,ig(n)&&lg(t)}function rg(t,n,r){return r(function(){ig(n)&&lg(t)})}function ig(t){var n=t.getSnapshot;t=t.value;try{var r=n();return!kn(t,r)}catch{return!0}}function lg(t){var n=vi(t,2);n!==null&&_n(n,t,2)}function Md(t){var n=Sn();if(typeof t=="function"){var r=t;if(t=r(),Oi){rn(!0);try{r()}finally{rn(!1)}}}return n.memoizedState=n.baseState=t,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rr,lastRenderedState:t},n}function og(t,n,r,o){return t.baseState=r,Od(t,ie,typeof o=="function"?o:rr)}function vE(t,n,r,o,c){if($u(t))throw Error(l(485));if(t=n.action,t!==null){var d={payload:c,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(g){d.listeners.push(g)}};D.T!==null?r(!0):d.isTransition=!1,o(d),r=n.pending,r===null?(d.next=n.pending=d,sg(n,d)):(d.next=r.next,n.pending=r.next=d)}}function sg(t,n){var r=n.action,o=n.payload,c=t.state;if(n.isTransition){var d=D.T,g={};D.T=g;try{var E=r(c,o),z=D.S;z!==null&&z(g,E),ug(t,n,E)}catch(P){_d(t,n,P)}finally{d!==null&&g.types!==null&&(d.types=g.types),D.T=d}}else try{d=r(c,o),ug(t,n,d)}catch(P){_d(t,n,P)}}function ug(t,n,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(o){cg(t,n,o)},function(o){return _d(t,n,o)}):cg(t,n,r)}function cg(t,n,r){n.status="fulfilled",n.value=r,fg(n),t.state=r,n=t.pending,n!==null&&(r=n.next,r===n?t.pending=null:(r=r.next,n.next=r,sg(t,r)))}function _d(t,n,r){var o=t.pending;if(t.pending=null,o!==null){o=o.next;do n.status="rejected",n.reason=r,fg(n),n=n.next;while(n!==o)}t.action=null}function fg(t){t=t.listeners;for(var n=0;n<t.length;n++)(0,t[n])()}function dg(t,n){return n}function pg(t,n){if($t){var r=de.formState;if(r!==null){t:{var o=wt;if($t){if(be){e:{for(var c=be,d=ia;c.nodeType!==8;){if(!d){c=null;break e}if(c=oa(c.nextSibling),c===null){c=null;break e}}d=c.data,c=d==="F!"||d==="F"?c:null}if(c){be=oa(c.nextSibling),o=c.data==="F!";break t}}_r(o)}o=!1}o&&(n=r[0])}}return r=Sn(),r.memoizedState=r.baseState=n,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:dg,lastRenderedState:n},r.queue=o,r=Bg.bind(null,wt,o),o.dispatch=r,o=Md(!1),d=Ud.bind(null,wt,!1,o.queue),o=Sn(),c={state:n,dispatch:null,action:t,pending:null},o.queue=c,r=vE.bind(null,wt,c,d,r),c.dispatch=r,o.memoizedState=t,[n,r,!1]}function hg(t){var n=De();return mg(n,ie,t)}function mg(t,n,r){if(n=Od(t,n,dg)[0],t=Lu(rr)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var o=Qo(n)}catch(g){throw g===Rl?Ou:g}else o=n;n=De();var c=n.queue,d=c.dispatch;return r!==n.memoizedState&&(wt.flags|=2048,zl(9,{destroy:void 0},bE.bind(null,c,r),null)),[o,d,t]}function bE(t,n){t.action=n}function yg(t){var n=De(),r=ie;if(r!==null)return mg(n,r,t);De(),n=n.memoizedState,r=De();var o=r.queue.dispatch;return r.memoizedState=t,[n,o,!1]}function zl(t,n,r,o){return t={tag:t,create:r,deps:o,inst:n,next:null},n=wt.updateQueue,n===null&&(n=Nu(),wt.updateQueue=n),r=n.lastEffect,r===null?n.lastEffect=t.next=t:(o=r.next,r.next=t,t.next=o,n.lastEffect=t),t}function gg(){return De().memoizedState}function Hu(t,n,r,o){var c=Sn();wt.flags|=t,c.memoizedState=zl(1|n,{destroy:void 0},r,o===void 0?null:o)}function ku(t,n,r,o){var c=De();o=o===void 0?null:o;var d=c.memoizedState.inst;ie!==null&&o!==null&&xd(o,ie.memoizedState.deps)?c.memoizedState=zl(n,d,r,o):(wt.flags|=t,c.memoizedState=zl(1|n,d,r,o))}function vg(t,n){Hu(8390656,8,t,n)}function zd(t,n){ku(2048,8,t,n)}function SE(t){wt.flags|=4;var n=wt.updateQueue;if(n===null)n=Nu(),wt.updateQueue=n,n.events=[t];else{var r=n.events;r===null?n.events=[t]:r.push(t)}}function bg(t){var n=De().memoizedState;return SE({ref:n,nextImpl:t}),function(){if((Ft&2)!==0)throw Error(l(440));return n.impl.apply(void 0,arguments)}}function Sg(t,n){return ku(4,2,t,n)}function xg(t,n){return ku(4,4,t,n)}function Eg(t,n){if(typeof n=="function"){t=t();var r=n(t);return function(){typeof r=="function"?r():n(null)}}if(n!=null)return t=t(),n.current=t,function(){n.current=null}}function Cg(t,n,r){r=r!=null?r.concat([t]):null,ku(4,4,Eg.bind(null,n,t),r)}function Bd(){}function Tg(t,n){var r=De();n=n===void 0?null:n;var o=r.memoizedState;return n!==null&&xd(n,o[1])?o[0]:(r.memoizedState=[t,n],t)}function wg(t,n){var r=De();n=n===void 0?null:n;var o=r.memoizedState;if(n!==null&&xd(n,o[1]))return o[0];if(o=t(),Oi){rn(!0);try{t()}finally{rn(!1)}}return r.memoizedState=[o,n],o}function Dd(t,n,r){return r===void 0||(ar&1073741824)!==0&&(Ht&261930)===0?t.memoizedState=n:(t.memoizedState=r,t=R0(),wt.lanes|=t,kr|=t,r)}function Rg(t,n,r,o){return kn(r,n)?r:Al.current!==null?(t=Dd(t,r,o),kn(t,n)||(He=!0),t):(ar&42)===0||(ar&1073741824)!==0&&(Ht&261930)===0?(He=!0,t.memoizedState=r):(t=R0(),wt.lanes|=t,kr|=t,n)}function Og(t,n,r,o,c){var d=Y.p;Y.p=d!==0&&8>d?d:8;var g=D.T,E={};D.T=E,Ud(t,!1,n,r);try{var z=c(),P=D.S;if(P!==null&&P(E,z),z!==null&&typeof z=="object"&&typeof z.then=="function"){var J=mE(z,o);Xo(t,n,J,Yn(t))}else Xo(t,n,o,Yn(t))}catch(rt){Xo(t,n,{then:function(){},status:"rejected",reason:rt},Yn())}finally{Y.p=d,g!==null&&E.types!==null&&(g.types=E.types),D.T=g}}function xE(){}function jd(t,n,r,o){if(t.tag!==5)throw Error(l(476));var c=Ag(t).queue;Og(t,c,n,it,r===null?xE:function(){return Mg(t),r(o)})}function Ag(t){var n=t.memoizedState;if(n!==null)return n;n={memoizedState:it,baseState:it,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:rr,lastRenderedState:it},next:null};var r={};return n.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:rr,lastRenderedState:r},next:null},t.memoizedState=n,t=t.alternate,t!==null&&(t.memoizedState=n),n}function Mg(t){var n=Ag(t);n.next===null&&(n=t.alternate.memoizedState),Xo(t,n.next.queue,{},Yn())}function Nd(){return sn(cs)}function _g(){return De().memoizedState}function zg(){return De().memoizedState}function EE(t){for(var n=t.return;n!==null;){switch(n.tag){case 24:case 3:var r=Yn();t=Dr(r);var o=jr(n,t,r);o!==null&&(_n(o,n,r),Po(o,n,r)),n={cache:cd()},t.payload=n;return}n=n.return}}function CE(t,n,r){var o=Yn();r={lane:o,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},$u(t)?Dg(n,r):(r=Jf(t,n,r,o),r!==null&&(_n(r,t,o),jg(r,n,o)))}function Bg(t,n,r){var o=Yn();Xo(t,n,r,o)}function Xo(t,n,r,o){var c={lane:o,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if($u(t))Dg(n,c);else{var d=t.alternate;if(t.lanes===0&&(d===null||d.lanes===0)&&(d=n.lastRenderedReducer,d!==null))try{var g=n.lastRenderedState,E=d(g,r);if(c.hasEagerState=!0,c.eagerState=E,kn(E,g))return Su(t,n,c,0),de===null&&bu(),!1}catch{}finally{}if(r=Jf(t,n,c,o),r!==null)return _n(r,t,o),jg(r,n,o),!0}return!1}function Ud(t,n,r,o){if(o={lane:2,revertLane:hp(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},$u(t)){if(n)throw Error(l(479))}else n=Jf(t,r,o,2),n!==null&&_n(n,t,2)}function $u(t){var n=t.alternate;return t===wt||n!==null&&n===wt}function Dg(t,n){Ml=Du=!0;var r=t.pending;r===null?n.next=n:(n.next=r.next,r.next=n),t.pending=n}function jg(t,n,r){if((r&4194048)!==0){var o=n.lanes;o&=t.pendingLanes,r|=o,n.lanes=r,Vt(t,r)}}var Ko={readContext:sn,use:Uu,useCallback:we,useContext:we,useEffect:we,useImperativeHandle:we,useLayoutEffect:we,useInsertionEffect:we,useMemo:we,useReducer:we,useRef:we,useState:we,useDebugValue:we,useDeferredValue:we,useTransition:we,useSyncExternalStore:we,useId:we,useHostTransitionStatus:we,useFormState:we,useActionState:we,useOptimistic:we,useMemoCache:we,useCacheRefresh:we};Ko.useEffectEvent=we;var Ng={readContext:sn,use:Uu,useCallback:function(t,n){return Sn().memoizedState=[t,n===void 0?null:n],t},useContext:sn,useEffect:vg,useImperativeHandle:function(t,n,r){r=r!=null?r.concat([t]):null,Hu(4194308,4,Eg.bind(null,n,t),r)},useLayoutEffect:function(t,n){return Hu(4194308,4,t,n)},useInsertionEffect:function(t,n){Hu(4,2,t,n)},useMemo:function(t,n){var r=Sn();n=n===void 0?null:n;var o=t();if(Oi){rn(!0);try{t()}finally{rn(!1)}}return r.memoizedState=[o,n],o},useReducer:function(t,n,r){var o=Sn();if(r!==void 0){var c=r(n);if(Oi){rn(!0);try{r(n)}finally{rn(!1)}}}else c=n;return o.memoizedState=o.baseState=c,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:c},o.queue=t,t=t.dispatch=CE.bind(null,wt,t),[o.memoizedState,t]},useRef:function(t){var n=Sn();return t={current:t},n.memoizedState=t},useState:function(t){t=Md(t);var n=t.queue,r=Bg.bind(null,wt,n);return n.dispatch=r,[t.memoizedState,r]},useDebugValue:Bd,useDeferredValue:function(t,n){var r=Sn();return Dd(r,t,n)},useTransition:function(){var t=Md(!1);return t=Og.bind(null,wt,t.queue,!0,!1),Sn().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,n,r){var o=wt,c=Sn();if($t){if(r===void 0)throw Error(l(407));r=r()}else{if(r=n(),de===null)throw Error(l(349));(Ht&127)!==0||ng(o,n,r)}c.memoizedState=r;var d={value:r,getSnapshot:n};return c.queue=d,vg(rg.bind(null,o,d,t),[t]),o.flags|=2048,zl(9,{destroy:void 0},ag.bind(null,o,d,r,n),null),r},useId:function(){var t=Sn(),n=de.identifierPrefix;if($t){var r=Da,o=Ba;r=(o&~(1<<32-Qe(o)-1)).toString(32)+r,n="_"+n+"R_"+r,r=ju++,0<r&&(n+="H"+r.toString(32)),n+="_"}else r=yE++,n="_"+n+"r_"+r.toString(32)+"_";return t.memoizedState=n},useHostTransitionStatus:Nd,useFormState:pg,useActionState:pg,useOptimistic:function(t){var n=Sn();n.memoizedState=n.baseState=t;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=r,n=Ud.bind(null,wt,!0,r),r.dispatch=n,[t,n]},useMemoCache:Rd,useCacheRefresh:function(){return Sn().memoizedState=EE.bind(null,wt)},useEffectEvent:function(t){var n=Sn(),r={impl:t};return n.memoizedState=r,function(){if((Ft&2)!==0)throw Error(l(440));return r.impl.apply(void 0,arguments)}}},Ld={readContext:sn,use:Uu,useCallback:Tg,useContext:sn,useEffect:zd,useImperativeHandle:Cg,useInsertionEffect:Sg,useLayoutEffect:xg,useMemo:wg,useReducer:Lu,useRef:gg,useState:function(){return Lu(rr)},useDebugValue:Bd,useDeferredValue:function(t,n){var r=De();return Rg(r,ie.memoizedState,t,n)},useTransition:function(){var t=Lu(rr)[0],n=De().memoizedState;return[typeof t=="boolean"?t:Qo(t),n]},useSyncExternalStore:eg,useId:_g,useHostTransitionStatus:Nd,useFormState:hg,useActionState:hg,useOptimistic:function(t,n){var r=De();return og(r,ie,t,n)},useMemoCache:Rd,useCacheRefresh:zg};Ld.useEffectEvent=bg;var Ug={readContext:sn,use:Uu,useCallback:Tg,useContext:sn,useEffect:zd,useImperativeHandle:Cg,useInsertionEffect:Sg,useLayoutEffect:xg,useMemo:wg,useReducer:Ad,useRef:gg,useState:function(){return Ad(rr)},useDebugValue:Bd,useDeferredValue:function(t,n){var r=De();return ie===null?Dd(r,t,n):Rg(r,ie.memoizedState,t,n)},useTransition:function(){var t=Ad(rr)[0],n=De().memoizedState;return[typeof t=="boolean"?t:Qo(t),n]},useSyncExternalStore:eg,useId:_g,useHostTransitionStatus:Nd,useFormState:yg,useActionState:yg,useOptimistic:function(t,n){var r=De();return ie!==null?og(r,ie,t,n):(r.baseState=t,[t,r.queue.dispatch])},useMemoCache:Rd,useCacheRefresh:zg};Ug.useEffectEvent=bg;function Hd(t,n,r,o){n=t.memoizedState,r=r(o,n),r=r==null?n:v({},n,r),t.memoizedState=r,t.lanes===0&&(t.updateQueue.baseState=r)}var kd={enqueueSetState:function(t,n,r){t=t._reactInternals;var o=Yn(),c=Dr(o);c.payload=n,r!=null&&(c.callback=r),n=jr(t,c,o),n!==null&&(_n(n,t,o),Po(n,t,o))},enqueueReplaceState:function(t,n,r){t=t._reactInternals;var o=Yn(),c=Dr(o);c.tag=1,c.payload=n,r!=null&&(c.callback=r),n=jr(t,c,o),n!==null&&(_n(n,t,o),Po(n,t,o))},enqueueForceUpdate:function(t,n){t=t._reactInternals;var r=Yn(),o=Dr(r);o.tag=2,n!=null&&(o.callback=n),n=jr(t,o,r),n!==null&&(_n(n,t,r),Po(n,t,r))}};function Lg(t,n,r,o,c,d,g){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(o,d,g):n.prototype&&n.prototype.isPureReactComponent?!jo(r,o)||!jo(c,d):!0}function Hg(t,n,r,o){t=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(r,o),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(r,o),n.state!==t&&kd.enqueueReplaceState(n,n.state,null)}function Ai(t,n){var r=n;if("ref"in n){r={};for(var o in n)o!=="ref"&&(r[o]=n[o])}if(t=t.defaultProps){r===n&&(r=v({},r));for(var c in t)r[c]===void 0&&(r[c]=t[c])}return r}function kg(t){vu(t)}function $g(t){console.error(t)}function qg(t){vu(t)}function qu(t,n){try{var r=t.onUncaughtError;r(n.value,{componentStack:n.stack})}catch(o){setTimeout(function(){throw o})}}function Pg(t,n,r){try{var o=t.onCaughtError;o(r.value,{componentStack:r.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function $d(t,n,r){return r=Dr(r),r.tag=3,r.payload={element:null},r.callback=function(){qu(t,n)},r}function Vg(t){return t=Dr(t),t.tag=3,t}function Gg(t,n,r,o){var c=r.type.getDerivedStateFromError;if(typeof c=="function"){var d=o.value;t.payload=function(){return c(d)},t.callback=function(){Pg(n,r,o)}}var g=r.stateNode;g!==null&&typeof g.componentDidCatch=="function"&&(t.callback=function(){Pg(n,r,o),typeof c!="function"&&($r===null?$r=new Set([this]):$r.add(this));var E=o.stack;this.componentDidCatch(o.value,{componentStack:E!==null?E:""})})}function TE(t,n,r,o,c){if(r.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(n=r.alternate,n!==null&&Cl(n,r,c,!0),r=qn.current,r!==null){switch(r.tag){case 31:case 13:return la===null?Ju():r.alternate===null&&Re===0&&(Re=3),r.flags&=-257,r.flags|=65536,r.lanes=c,o===Au?r.flags|=16384:(n=r.updateQueue,n===null?r.updateQueue=new Set([o]):n.add(o),fp(t,o,c)),!1;case 22:return r.flags|=65536,o===Au?r.flags|=16384:(n=r.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([o])},r.updateQueue=n):(r=n.retryQueue,r===null?n.retryQueue=new Set([o]):r.add(o)),fp(t,o,c)),!1}throw Error(l(435,r.tag))}return fp(t,o,c),Ju(),!1}if($t)return n=qn.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=c,o!==id&&(t=Error(l(422),{cause:o}),Lo(na(t,r)))):(o!==id&&(n=Error(l(423),{cause:o}),Lo(na(n,r))),t=t.current.alternate,t.flags|=65536,c&=-c,t.lanes|=c,o=na(o,r),c=$d(t.stateNode,o,c),yd(t,c),Re!==4&&(Re=2)),!1;var d=Error(l(520),{cause:o});if(d=na(d,r),ns===null?ns=[d]:ns.push(d),Re!==4&&(Re=2),n===null)return!0;o=na(o,r),r=n;do{switch(r.tag){case 3:return r.flags|=65536,t=c&-c,r.lanes|=t,t=$d(r.stateNode,o,t),yd(r,t),!1;case 1:if(n=r.type,d=r.stateNode,(r.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&($r===null||!$r.has(d))))return r.flags|=65536,c&=-c,r.lanes|=c,c=Vg(c),Gg(c,t,r,o),yd(r,c),!1}r=r.return}while(r!==null);return!1}var qd=Error(l(461)),He=!1;function un(t,n,r,o){n.child=t===null?Ky(n,null,r,o):Ri(n,t.child,r,o)}function Yg(t,n,r,o,c){r=r.render;var d=n.ref;if("ref"in o){var g={};for(var E in o)E!=="ref"&&(g[E]=o[E])}else g=o;return Ei(n),o=Ed(t,n,r,g,d,c),E=Cd(),t!==null&&!He?(Td(t,n,c),ir(t,n,c)):($t&&E&&ad(n),n.flags|=1,un(t,n,o,c),n.child)}function Qg(t,n,r,o,c){if(t===null){var d=r.type;return typeof d=="function"&&!td(d)&&d.defaultProps===void 0&&r.compare===null?(n.tag=15,n.type=d,Xg(t,n,d,o,c)):(t=Eu(r.type,null,o,n,n.mode,c),t.ref=n.ref,t.return=n,n.child=t)}if(d=t.child,!Fd(t,c)){var g=d.memoizedProps;if(r=r.compare,r=r!==null?r:jo,r(g,o)&&t.ref===n.ref)return ir(t,n,c)}return n.flags|=1,t=Ja(d,o),t.ref=n.ref,t.return=n,n.child=t}function Xg(t,n,r,o,c){if(t!==null){var d=t.memoizedProps;if(jo(d,o)&&t.ref===n.ref)if(He=!1,n.pendingProps=o=d,Fd(t,c))(t.flags&131072)!==0&&(He=!0);else return n.lanes=t.lanes,ir(t,n,c)}return Pd(t,n,r,o,c)}function Kg(t,n,r,o){var c=o.children,d=t!==null?t.memoizedState:null;if(t===null&&n.stateNode===null&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((n.flags&128)!==0){if(d=d!==null?d.baseLanes|r:r,t!==null){for(o=n.child=t.child,c=0;o!==null;)c=c|o.lanes|o.childLanes,o=o.sibling;o=c&~d}else o=0,n.child=null;return Fg(t,n,d,r,o)}if((r&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},t!==null&&Ru(n,d!==null?d.cachePool:null),d!==null?Zy(n,d):vd(),Wy(n);else return o=n.lanes=536870912,Fg(t,n,d!==null?d.baseLanes|r:r,r,o)}else d!==null?(Ru(n,d.cachePool),Zy(n,d),Ur(),n.memoizedState=null):(t!==null&&Ru(n,null),vd(),Ur());return un(t,n,c,r),n.child}function Fo(t,n){return t!==null&&t.tag===22||n.stateNode!==null||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function Fg(t,n,r,o,c){var d=dd();return d=d===null?null:{parent:Ue._currentValue,pool:d},n.memoizedState={baseLanes:r,cachePool:d},t!==null&&Ru(n,null),vd(),Wy(n),t!==null&&Cl(t,n,o,!0),n.childLanes=c,null}function Pu(t,n){return n=Gu({mode:n.mode,children:n.children},t.mode),n.ref=t.ref,t.child=n,n.return=t,n}function Ig(t,n,r){return Ri(n,t.child,null,r),t=Pu(n,n.pendingProps),t.flags|=2,Pn(n),n.memoizedState=null,t}function wE(t,n,r){var o=n.pendingProps,c=(n.flags&128)!==0;if(n.flags&=-129,t===null){if($t){if(o.mode==="hidden")return t=Pu(n,o),n.lanes=536870912,Fo(null,t);if(Sd(n),(t=be)?(t=sv(t,ia),t=t!==null&&t.data==="&"?t:null,t!==null&&(n.memoizedState={dehydrated:t,treeContext:Ar!==null?{id:Ba,overflow:Da}:null,retryLane:536870912,hydrationErrors:null},r=Dy(t),r.return=n,n.child=r,on=n,be=null)):t=null,t===null)throw _r(n);return n.lanes=536870912,null}return Pu(n,o)}var d=t.memoizedState;if(d!==null){var g=d.dehydrated;if(Sd(n),c)if(n.flags&256)n.flags&=-257,n=Ig(t,n,r);else if(n.memoizedState!==null)n.child=t.child,n.flags|=128,n=null;else throw Error(l(558));else if(He||Cl(t,n,r,!1),c=(r&t.childLanes)!==0,He||c){if(o=de,o!==null&&(g=ve(o,r),g!==0&&g!==d.retryLane))throw d.retryLane=g,vi(t,g),_n(o,t,g),qd;Ju(),n=Ig(t,n,r)}else t=d.treeContext,be=oa(g.nextSibling),on=n,$t=!0,Mr=null,ia=!1,t!==null&&Uy(n,t),n=Pu(n,o),n.flags|=4096;return n}return t=Ja(t.child,{mode:o.mode,children:o.children}),t.ref=n.ref,n.child=t,t.return=n,t}function Vu(t,n){var r=n.ref;if(r===null)t!==null&&t.ref!==null&&(n.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(l(284));(t===null||t.ref!==r)&&(n.flags|=4194816)}}function Pd(t,n,r,o,c){return Ei(n),r=Ed(t,n,r,o,void 0,c),o=Cd(),t!==null&&!He?(Td(t,n,c),ir(t,n,c)):($t&&o&&ad(n),n.flags|=1,un(t,n,r,c),n.child)}function Zg(t,n,r,o,c,d){return Ei(n),n.updateQueue=null,r=tg(n,o,r,c),Jy(t),o=Cd(),t!==null&&!He?(Td(t,n,d),ir(t,n,d)):($t&&o&&ad(n),n.flags|=1,un(t,n,r,d),n.child)}function Wg(t,n,r,o,c){if(Ei(n),n.stateNode===null){var d=bl,g=r.contextType;typeof g=="object"&&g!==null&&(d=sn(g)),d=new r(o,d),n.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=kd,n.stateNode=d,d._reactInternals=n,d=n.stateNode,d.props=o,d.state=n.memoizedState,d.refs={},hd(n),g=r.contextType,d.context=typeof g=="object"&&g!==null?sn(g):bl,d.state=n.memoizedState,g=r.getDerivedStateFromProps,typeof g=="function"&&(Hd(n,r,g,o),d.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(g=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),g!==d.state&&kd.enqueueReplaceState(d,d.state,null),Go(n,o,d,c),Vo(),d.state=n.memoizedState),typeof d.componentDidMount=="function"&&(n.flags|=4194308),o=!0}else if(t===null){d=n.stateNode;var E=n.memoizedProps,z=Ai(r,E);d.props=z;var P=d.context,J=r.contextType;g=bl,typeof J=="object"&&J!==null&&(g=sn(J));var rt=r.getDerivedStateFromProps;J=typeof rt=="function"||typeof d.getSnapshotBeforeUpdate=="function",E=n.pendingProps!==E,J||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(E||P!==g)&&Hg(n,d,o,g),Br=!1;var G=n.memoizedState;d.state=G,Go(n,o,d,c),Vo(),P=n.memoizedState,E||G!==P||Br?(typeof rt=="function"&&(Hd(n,r,rt,o),P=n.memoizedState),(z=Br||Lg(n,r,z,o,G,P,g))?(J||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(n.flags|=4194308)):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=o,n.memoizedState=P),d.props=o,d.state=P,d.context=g,o=z):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),o=!1)}else{d=n.stateNode,md(t,n),g=n.memoizedProps,J=Ai(r,g),d.props=J,rt=n.pendingProps,G=d.context,P=r.contextType,z=bl,typeof P=="object"&&P!==null&&(z=sn(P)),E=r.getDerivedStateFromProps,(P=typeof E=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(g!==rt||G!==z)&&Hg(n,d,o,z),Br=!1,G=n.memoizedState,d.state=G,Go(n,o,d,c),Vo();var F=n.memoizedState;g!==rt||G!==F||Br||t!==null&&t.dependencies!==null&&Tu(t.dependencies)?(typeof E=="function"&&(Hd(n,r,E,o),F=n.memoizedState),(J=Br||Lg(n,r,J,o,G,F,z)||t!==null&&t.dependencies!==null&&Tu(t.dependencies))?(P||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(o,F,z),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(o,F,z)),typeof d.componentDidUpdate=="function"&&(n.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof d.componentDidUpdate!="function"||g===t.memoizedProps&&G===t.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||g===t.memoizedProps&&G===t.memoizedState||(n.flags|=1024),n.memoizedProps=o,n.memoizedState=F),d.props=o,d.state=F,d.context=z,o=J):(typeof d.componentDidUpdate!="function"||g===t.memoizedProps&&G===t.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||g===t.memoizedProps&&G===t.memoizedState||(n.flags|=1024),o=!1)}return d=o,Vu(t,n),o=(n.flags&128)!==0,d||o?(d=n.stateNode,r=o&&typeof r.getDerivedStateFromError!="function"?null:d.render(),n.flags|=1,t!==null&&o?(n.child=Ri(n,t.child,null,c),n.child=Ri(n,null,r,c)):un(t,n,r,c),n.memoizedState=d.state,t=n.child):t=ir(t,n,c),t}function Jg(t,n,r,o){return Si(),n.flags|=256,un(t,n,r,o),n.child}var Vd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Gd(t){return{baseLanes:t,cachePool:Py()}}function Yd(t,n,r){return t=t!==null?t.childLanes&~r:0,n&&(t|=Gn),t}function t0(t,n,r){var o=n.pendingProps,c=!1,d=(n.flags&128)!==0,g;if((g=d)||(g=t!==null&&t.memoizedState===null?!1:(Be.current&2)!==0),g&&(c=!0,n.flags&=-129),g=(n.flags&32)!==0,n.flags&=-33,t===null){if($t){if(c?Nr(n):Ur(),(t=be)?(t=sv(t,ia),t=t!==null&&t.data!=="&"?t:null,t!==null&&(n.memoizedState={dehydrated:t,treeContext:Ar!==null?{id:Ba,overflow:Da}:null,retryLane:536870912,hydrationErrors:null},r=Dy(t),r.return=n,n.child=r,on=n,be=null)):t=null,t===null)throw _r(n);return Op(t)?n.lanes=32:n.lanes=536870912,null}var E=o.children;return o=o.fallback,c?(Ur(),c=n.mode,E=Gu({mode:"hidden",children:E},c),o=bi(o,c,r,null),E.return=n,o.return=n,E.sibling=o,n.child=E,o=n.child,o.memoizedState=Gd(r),o.childLanes=Yd(t,g,r),n.memoizedState=Vd,Fo(null,o)):(Nr(n),Qd(n,E))}var z=t.memoizedState;if(z!==null&&(E=z.dehydrated,E!==null)){if(d)n.flags&256?(Nr(n),n.flags&=-257,n=Xd(t,n,r)):n.memoizedState!==null?(Ur(),n.child=t.child,n.flags|=128,n=null):(Ur(),E=o.fallback,c=n.mode,o=Gu({mode:"visible",children:o.children},c),E=bi(E,c,r,null),E.flags|=2,o.return=n,E.return=n,o.sibling=E,n.child=o,Ri(n,t.child,null,r),o=n.child,o.memoizedState=Gd(r),o.childLanes=Yd(t,g,r),n.memoizedState=Vd,n=Fo(null,o));else if(Nr(n),Op(E)){if(g=E.nextSibling&&E.nextSibling.dataset,g)var P=g.dgst;g=P,o=Error(l(419)),o.stack="",o.digest=g,Lo({value:o,source:null,stack:null}),n=Xd(t,n,r)}else if(He||Cl(t,n,r,!1),g=(r&t.childLanes)!==0,He||g){if(g=de,g!==null&&(o=ve(g,r),o!==0&&o!==z.retryLane))throw z.retryLane=o,vi(t,o),_n(g,t,o),qd;Rp(E)||Ju(),n=Xd(t,n,r)}else Rp(E)?(n.flags|=192,n.child=t.child,n=null):(t=z.treeContext,be=oa(E.nextSibling),on=n,$t=!0,Mr=null,ia=!1,t!==null&&Uy(n,t),n=Qd(n,o.children),n.flags|=4096);return n}return c?(Ur(),E=o.fallback,c=n.mode,z=t.child,P=z.sibling,o=Ja(z,{mode:"hidden",children:o.children}),o.subtreeFlags=z.subtreeFlags&65011712,P!==null?E=Ja(P,E):(E=bi(E,c,r,null),E.flags|=2),E.return=n,o.return=n,o.sibling=E,n.child=o,Fo(null,o),o=n.child,E=t.child.memoizedState,E===null?E=Gd(r):(c=E.cachePool,c!==null?(z=Ue._currentValue,c=c.parent!==z?{parent:z,pool:z}:c):c=Py(),E={baseLanes:E.baseLanes|r,cachePool:c}),o.memoizedState=E,o.childLanes=Yd(t,g,r),n.memoizedState=Vd,Fo(t.child,o)):(Nr(n),r=t.child,t=r.sibling,r=Ja(r,{mode:"visible",children:o.children}),r.return=n,r.sibling=null,t!==null&&(g=n.deletions,g===null?(n.deletions=[t],n.flags|=16):g.push(t)),n.child=r,n.memoizedState=null,r)}function Qd(t,n){return n=Gu({mode:"visible",children:n},t.mode),n.return=t,t.child=n}function Gu(t,n){return t=$n(22,t,null,n),t.lanes=0,t}function Xd(t,n,r){return Ri(n,t.child,null,r),t=Qd(n,n.pendingProps.children),t.flags|=2,n.memoizedState=null,t}function e0(t,n,r){t.lanes|=n;var o=t.alternate;o!==null&&(o.lanes|=n),sd(t.return,n,r)}function Kd(t,n,r,o,c,d){var g=t.memoizedState;g===null?t.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:o,tail:r,tailMode:c,treeForkCount:d}:(g.isBackwards=n,g.rendering=null,g.renderingStartTime=0,g.last=o,g.tail=r,g.tailMode=c,g.treeForkCount=d)}function n0(t,n,r){var o=n.pendingProps,c=o.revealOrder,d=o.tail;o=o.children;var g=Be.current,E=(g&2)!==0;if(E?(g=g&1|2,n.flags|=128):g&=1,lt(Be,g),un(t,n,o,r),o=$t?Uo:0,!E&&t!==null&&(t.flags&128)!==0)t:for(t=n.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&e0(t,r,n);else if(t.tag===19)e0(t,r,n);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break t;for(;t.sibling===null;){if(t.return===null||t.return===n)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(c){case"forwards":for(r=n.child,c=null;r!==null;)t=r.alternate,t!==null&&Bu(t)===null&&(c=r),r=r.sibling;r=c,r===null?(c=n.child,n.child=null):(c=r.sibling,r.sibling=null),Kd(n,!1,c,r,d,o);break;case"backwards":case"unstable_legacy-backwards":for(r=null,c=n.child,n.child=null;c!==null;){if(t=c.alternate,t!==null&&Bu(t)===null){n.child=c;break}t=c.sibling,c.sibling=r,r=c,c=t}Kd(n,!0,r,null,d,o);break;case"together":Kd(n,!1,null,null,void 0,o);break;default:n.memoizedState=null}return n.child}function ir(t,n,r){if(t!==null&&(n.dependencies=t.dependencies),kr|=n.lanes,(r&n.childLanes)===0)if(t!==null){if(Cl(t,n,r,!1),(r&n.childLanes)===0)return null}else return null;if(t!==null&&n.child!==t.child)throw Error(l(153));if(n.child!==null){for(t=n.child,r=Ja(t,t.pendingProps),n.child=r,r.return=n;t.sibling!==null;)t=t.sibling,r=r.sibling=Ja(t,t.pendingProps),r.return=n;r.sibling=null}return n.child}function Fd(t,n){return(t.lanes&n)!==0?!0:(t=t.dependencies,!!(t!==null&&Tu(t)))}function RE(t,n,r){switch(n.tag){case 3:_t(n,n.stateNode.containerInfo),zr(n,Ue,t.memoizedState.cache),Si();break;case 27:case 5:Fe(n);break;case 4:_t(n,n.stateNode.containerInfo);break;case 10:zr(n,n.type,n.memoizedProps.value);break;case 31:if(n.memoizedState!==null)return n.flags|=128,Sd(n),null;break;case 13:var o=n.memoizedState;if(o!==null)return o.dehydrated!==null?(Nr(n),n.flags|=128,null):(r&n.child.childLanes)!==0?t0(t,n,r):(Nr(n),t=ir(t,n,r),t!==null?t.sibling:null);Nr(n);break;case 19:var c=(t.flags&128)!==0;if(o=(r&n.childLanes)!==0,o||(Cl(t,n,r,!1),o=(r&n.childLanes)!==0),c){if(o)return n0(t,n,r);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),lt(Be,Be.current),o)break;return null;case 22:return n.lanes=0,Kg(t,n,r,n.pendingProps);case 24:zr(n,Ue,t.memoizedState.cache)}return ir(t,n,r)}function a0(t,n,r){if(t!==null)if(t.memoizedProps!==n.pendingProps)He=!0;else{if(!Fd(t,r)&&(n.flags&128)===0)return He=!1,RE(t,n,r);He=(t.flags&131072)!==0}else He=!1,$t&&(n.flags&1048576)!==0&&Ny(n,Uo,n.index);switch(n.lanes=0,n.tag){case 16:t:{var o=n.pendingProps;if(t=Ti(n.elementType),n.type=t,typeof t=="function")td(t)?(o=Ai(t,o),n.tag=1,n=Wg(null,n,t,o,r)):(n.tag=0,n=Pd(null,n,t,o,r));else{if(t!=null){var c=t.$$typeof;if(c===O){n.tag=11,n=Yg(null,n,t,o,r);break t}else if(c===$){n.tag=14,n=Qg(null,n,t,o,r);break t}}throw n=I(t)||t,Error(l(306,n,""))}}return n;case 0:return Pd(t,n,n.type,n.pendingProps,r);case 1:return o=n.type,c=Ai(o,n.pendingProps),Wg(t,n,o,c,r);case 3:t:{if(_t(n,n.stateNode.containerInfo),t===null)throw Error(l(387));o=n.pendingProps;var d=n.memoizedState;c=d.element,md(t,n),Go(n,o,null,r);var g=n.memoizedState;if(o=g.cache,zr(n,Ue,o),o!==d.cache&&ud(n,[Ue],r,!0),Vo(),o=g.element,d.isDehydrated)if(d={element:o,isDehydrated:!1,cache:g.cache},n.updateQueue.baseState=d,n.memoizedState=d,n.flags&256){n=Jg(t,n,o,r);break t}else if(o!==c){c=na(Error(l(424)),n),Lo(c),n=Jg(t,n,o,r);break t}else{switch(t=n.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(be=oa(t.firstChild),on=n,$t=!0,Mr=null,ia=!0,r=Ky(n,null,o,r),n.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling}else{if(Si(),o===c){n=ir(t,n,r);break t}un(t,n,o,r)}n=n.child}return n;case 26:return Vu(t,n),t===null?(r=hv(n.type,null,n.pendingProps,null))?n.memoizedState=r:$t||(r=n.type,t=n.pendingProps,o=lc(ht.current).createElement(r),o[ln]=n,o[Tn]=t,cn(o,r,t),Ze(o),n.stateNode=o):n.memoizedState=hv(n.type,t.memoizedProps,n.pendingProps,t.memoizedState),null;case 27:return Fe(n),t===null&&$t&&(o=n.stateNode=fv(n.type,n.pendingProps,ht.current),on=n,ia=!0,c=be,Gr(n.type)?(Ap=c,be=oa(o.firstChild)):be=c),un(t,n,n.pendingProps.children,r),Vu(t,n),t===null&&(n.flags|=4194304),n.child;case 5:return t===null&&$t&&((c=o=be)&&(o=nC(o,n.type,n.pendingProps,ia),o!==null?(n.stateNode=o,on=n,be=oa(o.firstChild),ia=!1,c=!0):c=!1),c||_r(n)),Fe(n),c=n.type,d=n.pendingProps,g=t!==null?t.memoizedProps:null,o=d.children,Cp(c,d)?o=null:g!==null&&Cp(c,g)&&(n.flags|=32),n.memoizedState!==null&&(c=Ed(t,n,gE,null,null,r),cs._currentValue=c),Vu(t,n),un(t,n,o,r),n.child;case 6:return t===null&&$t&&((t=r=be)&&(r=aC(r,n.pendingProps,ia),r!==null?(n.stateNode=r,on=n,be=null,t=!0):t=!1),t||_r(n)),null;case 13:return t0(t,n,r);case 4:return _t(n,n.stateNode.containerInfo),o=n.pendingProps,t===null?n.child=Ri(n,null,o,r):un(t,n,o,r),n.child;case 11:return Yg(t,n,n.type,n.pendingProps,r);case 7:return un(t,n,n.pendingProps,r),n.child;case 8:return un(t,n,n.pendingProps.children,r),n.child;case 12:return un(t,n,n.pendingProps.children,r),n.child;case 10:return o=n.pendingProps,zr(n,n.type,o.value),un(t,n,o.children,r),n.child;case 9:return c=n.type._context,o=n.pendingProps.children,Ei(n),c=sn(c),o=o(c),n.flags|=1,un(t,n,o,r),n.child;case 14:return Qg(t,n,n.type,n.pendingProps,r);case 15:return Xg(t,n,n.type,n.pendingProps,r);case 19:return n0(t,n,r);case 31:return wE(t,n,r);case 22:return Kg(t,n,r,n.pendingProps);case 24:return Ei(n),o=sn(Ue),t===null?(c=dd(),c===null&&(c=de,d=cd(),c.pooledCache=d,d.refCount++,d!==null&&(c.pooledCacheLanes|=r),c=d),n.memoizedState={parent:o,cache:c},hd(n),zr(n,Ue,c)):((t.lanes&r)!==0&&(md(t,n),Go(n,null,null,r),Vo()),c=t.memoizedState,d=n.memoizedState,c.parent!==o?(c={parent:o,cache:o},n.memoizedState=c,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=c),zr(n,Ue,o)):(o=d.cache,zr(n,Ue,o),o!==c.cache&&ud(n,[Ue],r,!0))),un(t,n,n.pendingProps.children,r),n.child;case 29:throw n.pendingProps}throw Error(l(156,n.tag))}function lr(t){t.flags|=4}function Id(t,n,r,o,c){if((n=(t.mode&32)!==0)&&(n=!1),n){if(t.flags|=16777216,(c&335544128)===c)if(t.stateNode.complete)t.flags|=8192;else if(_0())t.flags|=8192;else throw wi=Au,pd}else t.flags&=-16777217}function r0(t,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!bv(n))if(_0())t.flags|=8192;else throw wi=Au,pd}function Yu(t,n){n!==null&&(t.flags|=4),t.flags&16384&&(n=t.tag!==22?Ct():536870912,t.lanes|=n,Nl|=n)}function Io(t,n){if(!$t)switch(t.tailMode){case"hidden":n=t.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t.tail=null:r.sibling=null;break;case"collapsed":r=t.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?n||t.tail===null?t.tail=null:t.tail.sibling=null:o.sibling=null}}function Se(t){var n=t.alternate!==null&&t.alternate.child===t.child,r=0,o=0;if(n)for(var c=t.child;c!==null;)r|=c.lanes|c.childLanes,o|=c.subtreeFlags&65011712,o|=c.flags&65011712,c.return=t,c=c.sibling;else for(c=t.child;c!==null;)r|=c.lanes|c.childLanes,o|=c.subtreeFlags,o|=c.flags,c.return=t,c=c.sibling;return t.subtreeFlags|=o,t.childLanes=r,n}function OE(t,n,r){var o=n.pendingProps;switch(rd(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Se(n),null;case 1:return Se(n),null;case 3:return r=n.stateNode,o=null,t!==null&&(o=t.memoizedState.cache),n.memoizedState.cache!==o&&(n.flags|=2048),nr(Ue),Bt(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(t===null||t.child===null)&&(El(n)?lr(n):t===null||t.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,ld())),Se(n),null;case 26:var c=n.type,d=n.memoizedState;return t===null?(lr(n),d!==null?(Se(n),r0(n,d)):(Se(n),Id(n,c,null,o,r))):d?d!==t.memoizedState?(lr(n),Se(n),r0(n,d)):(Se(n),n.flags&=-16777217):(t=t.memoizedProps,t!==o&&lr(n),Se(n),Id(n,c,t,o,r)),null;case 27:if(Ge(n),r=ht.current,c=n.type,t!==null&&n.stateNode!=null)t.memoizedProps!==o&&lr(n);else{if(!o){if(n.stateNode===null)throw Error(l(166));return Se(n),null}t=ot.current,El(n)?Ly(n):(t=fv(c,o,r),n.stateNode=t,lr(n))}return Se(n),null;case 5:if(Ge(n),c=n.type,t!==null&&n.stateNode!=null)t.memoizedProps!==o&&lr(n);else{if(!o){if(n.stateNode===null)throw Error(l(166));return Se(n),null}if(d=ot.current,El(n))Ly(n);else{var g=lc(ht.current);switch(d){case 1:d=g.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:d=g.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":d=g.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":d=g.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":d=g.createElement("div"),d.innerHTML="<script><\/script>",d=d.removeChild(d.firstChild);break;case"select":d=typeof o.is=="string"?g.createElement("select",{is:o.is}):g.createElement("select"),o.multiple?d.multiple=!0:o.size&&(d.size=o.size);break;default:d=typeof o.is=="string"?g.createElement(c,{is:o.is}):g.createElement(c)}}d[ln]=n,d[Tn]=o;t:for(g=n.child;g!==null;){if(g.tag===5||g.tag===6)d.appendChild(g.stateNode);else if(g.tag!==4&&g.tag!==27&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===n)break t;for(;g.sibling===null;){if(g.return===null||g.return===n)break t;g=g.return}g.sibling.return=g.return,g=g.sibling}n.stateNode=d;t:switch(cn(d,c,o),c){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break t;case"img":o=!0;break t;default:o=!1}o&&lr(n)}}return Se(n),Id(n,n.type,t===null?null:t.memoizedProps,n.pendingProps,r),null;case 6:if(t&&n.stateNode!=null)t.memoizedProps!==o&&lr(n);else{if(typeof o!="string"&&n.stateNode===null)throw Error(l(166));if(t=ht.current,El(n)){if(t=n.stateNode,r=n.memoizedProps,o=null,c=on,c!==null)switch(c.tag){case 27:case 5:o=c.memoizedProps}t[ln]=n,t=!!(t.nodeValue===r||o!==null&&o.suppressHydrationWarning===!0||tv(t.nodeValue,r)),t||_r(n,!0)}else t=lc(t).createTextNode(o),t[ln]=n,n.stateNode=t}return Se(n),null;case 31:if(r=n.memoizedState,t===null||t.memoizedState!==null){if(o=El(n),r!==null){if(t===null){if(!o)throw Error(l(318));if(t=n.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(l(557));t[ln]=n}else Si(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Se(n),t=!1}else r=ld(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=r),t=!0;if(!t)return n.flags&256?(Pn(n),n):(Pn(n),null);if((n.flags&128)!==0)throw Error(l(558))}return Se(n),null;case 13:if(o=n.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(c=El(n),o!==null&&o.dehydrated!==null){if(t===null){if(!c)throw Error(l(318));if(c=n.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(l(317));c[ln]=n}else Si(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Se(n),c=!1}else c=ld(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=c),c=!0;if(!c)return n.flags&256?(Pn(n),n):(Pn(n),null)}return Pn(n),(n.flags&128)!==0?(n.lanes=r,n):(r=o!==null,t=t!==null&&t.memoizedState!==null,r&&(o=n.child,c=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(c=o.alternate.memoizedState.cachePool.pool),d=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(d=o.memoizedState.cachePool.pool),d!==c&&(o.flags|=2048)),r!==t&&r&&(n.child.flags|=8192),Yu(n,n.updateQueue),Se(n),null);case 4:return Bt(),t===null&&vp(n.stateNode.containerInfo),Se(n),null;case 10:return nr(n.type),Se(n),null;case 19:if(V(Be),o=n.memoizedState,o===null)return Se(n),null;if(c=(n.flags&128)!==0,d=o.rendering,d===null)if(c)Io(o,!1);else{if(Re!==0||t!==null&&(t.flags&128)!==0)for(t=n.child;t!==null;){if(d=Bu(t),d!==null){for(n.flags|=128,Io(o,!1),t=d.updateQueue,n.updateQueue=t,Yu(n,t),n.subtreeFlags=0,t=r,r=n.child;r!==null;)By(r,t),r=r.sibling;return lt(Be,Be.current&1|2),$t&&tr(n,o.treeForkCount),n.child}t=t.sibling}o.tail!==null&&ge()>Iu&&(n.flags|=128,c=!0,Io(o,!1),n.lanes=4194304)}else{if(!c)if(t=Bu(d),t!==null){if(n.flags|=128,c=!0,t=t.updateQueue,n.updateQueue=t,Yu(n,t),Io(o,!0),o.tail===null&&o.tailMode==="hidden"&&!d.alternate&&!$t)return Se(n),null}else 2*ge()-o.renderingStartTime>Iu&&r!==536870912&&(n.flags|=128,c=!0,Io(o,!1),n.lanes=4194304);o.isBackwards?(d.sibling=n.child,n.child=d):(t=o.last,t!==null?t.sibling=d:n.child=d,o.last=d)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ge(),t.sibling=null,r=Be.current,lt(Be,c?r&1|2:r&1),$t&&tr(n,o.treeForkCount),t):(Se(n),null);case 22:case 23:return Pn(n),bd(),o=n.memoizedState!==null,t!==null?t.memoizedState!==null!==o&&(n.flags|=8192):o&&(n.flags|=8192),o?(r&536870912)!==0&&(n.flags&128)===0&&(Se(n),n.subtreeFlags&6&&(n.flags|=8192)):Se(n),r=n.updateQueue,r!==null&&Yu(n,r.retryQueue),r=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),o=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),o!==r&&(n.flags|=2048),t!==null&&V(Ci),null;case 24:return r=null,t!==null&&(r=t.memoizedState.cache),n.memoizedState.cache!==r&&(n.flags|=2048),nr(Ue),Se(n),null;case 25:return null;case 30:return null}throw Error(l(156,n.tag))}function AE(t,n){switch(rd(n),n.tag){case 1:return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 3:return nr(Ue),Bt(),t=n.flags,(t&65536)!==0&&(t&128)===0?(n.flags=t&-65537|128,n):null;case 26:case 27:case 5:return Ge(n),null;case 31:if(n.memoizedState!==null){if(Pn(n),n.alternate===null)throw Error(l(340));Si()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 13:if(Pn(n),t=n.memoizedState,t!==null&&t.dehydrated!==null){if(n.alternate===null)throw Error(l(340));Si()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 19:return V(Be),null;case 4:return Bt(),null;case 10:return nr(n.type),null;case 22:case 23:return Pn(n),bd(),t!==null&&V(Ci),t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 24:return nr(Ue),null;case 25:return null;default:return null}}function i0(t,n){switch(rd(n),n.tag){case 3:nr(Ue),Bt();break;case 26:case 27:case 5:Ge(n);break;case 4:Bt();break;case 31:n.memoizedState!==null&&Pn(n);break;case 13:Pn(n);break;case 19:V(Be);break;case 10:nr(n.type);break;case 22:case 23:Pn(n),bd(),t!==null&&V(Ci);break;case 24:nr(Ue)}}function Zo(t,n){try{var r=n.updateQueue,o=r!==null?r.lastEffect:null;if(o!==null){var c=o.next;r=c;do{if((r.tag&t)===t){o=void 0;var d=r.create,g=r.inst;o=d(),g.destroy=o}r=r.next}while(r!==c)}}catch(E){ne(n,n.return,E)}}function Lr(t,n,r){try{var o=n.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var d=c.next;o=d;do{if((o.tag&t)===t){var g=o.inst,E=g.destroy;if(E!==void 0){g.destroy=void 0,c=n;var z=r,P=E;try{P()}catch(J){ne(c,z,J)}}}o=o.next}while(o!==d)}}catch(J){ne(n,n.return,J)}}function l0(t){var n=t.updateQueue;if(n!==null){var r=t.stateNode;try{Iy(n,r)}catch(o){ne(t,t.return,o)}}}function o0(t,n,r){r.props=Ai(t.type,t.memoizedProps),r.state=t.memoizedState;try{r.componentWillUnmount()}catch(o){ne(t,n,o)}}function Wo(t,n){try{var r=t.ref;if(r!==null){switch(t.tag){case 26:case 27:case 5:var o=t.stateNode;break;case 30:o=t.stateNode;break;default:o=t.stateNode}typeof r=="function"?t.refCleanup=r(o):r.current=o}}catch(c){ne(t,n,c)}}function ja(t,n){var r=t.ref,o=t.refCleanup;if(r!==null)if(typeof o=="function")try{o()}catch(c){ne(t,n,c)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(c){ne(t,n,c)}else r.current=null}function s0(t){var n=t.type,r=t.memoizedProps,o=t.stateNode;try{t:switch(n){case"button":case"input":case"select":case"textarea":r.autoFocus&&o.focus();break t;case"img":r.src?o.src=r.src:r.srcSet&&(o.srcset=r.srcSet)}}catch(c){ne(t,t.return,c)}}function Zd(t,n,r){try{var o=t.stateNode;IE(o,t.type,r,n),o[Tn]=n}catch(c){ne(t,t.return,c)}}function u0(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Gr(t.type)||t.tag===4}function Wd(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||u0(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Gr(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Jd(t,n,r){var o=t.tag;if(o===5||o===6)t=t.stateNode,n?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(t,n):(n=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,n.appendChild(t),r=r._reactRootContainer,r!=null||n.onclick!==null||(n.onclick=Za));else if(o!==4&&(o===27&&Gr(t.type)&&(r=t.stateNode,n=null),t=t.child,t!==null))for(Jd(t,n,r),t=t.sibling;t!==null;)Jd(t,n,r),t=t.sibling}function Qu(t,n,r){var o=t.tag;if(o===5||o===6)t=t.stateNode,n?r.insertBefore(t,n):r.appendChild(t);else if(o!==4&&(o===27&&Gr(t.type)&&(r=t.stateNode),t=t.child,t!==null))for(Qu(t,n,r),t=t.sibling;t!==null;)Qu(t,n,r),t=t.sibling}function c0(t){var n=t.stateNode,r=t.memoizedProps;try{for(var o=t.type,c=n.attributes;c.length;)n.removeAttributeNode(c[0]);cn(n,o,r),n[ln]=t,n[Tn]=r}catch(d){ne(t,t.return,d)}}var or=!1,ke=!1,tp=!1,f0=typeof WeakSet=="function"?WeakSet:Set,We=null;function ME(t,n){if(t=t.containerInfo,xp=pc,t=Cy(t),Xf(t)){if("selectionStart"in t)var r={start:t.selectionStart,end:t.selectionEnd};else t:{r=(r=t.ownerDocument)&&r.defaultView||window;var o=r.getSelection&&r.getSelection();if(o&&o.rangeCount!==0){r=o.anchorNode;var c=o.anchorOffset,d=o.focusNode;o=o.focusOffset;try{r.nodeType,d.nodeType}catch{r=null;break t}var g=0,E=-1,z=-1,P=0,J=0,rt=t,G=null;e:for(;;){for(var F;rt!==r||c!==0&&rt.nodeType!==3||(E=g+c),rt!==d||o!==0&&rt.nodeType!==3||(z=g+o),rt.nodeType===3&&(g+=rt.nodeValue.length),(F=rt.firstChild)!==null;)G=rt,rt=F;for(;;){if(rt===t)break e;if(G===r&&++P===c&&(E=g),G===d&&++J===o&&(z=g),(F=rt.nextSibling)!==null)break;rt=G,G=rt.parentNode}rt=F}r=E===-1||z===-1?null:{start:E,end:z}}else r=null}r=r||{start:0,end:0}}else r=null;for(Ep={focusedElem:t,selectionRange:r},pc=!1,We=n;We!==null;)if(n=We,t=n.child,(n.subtreeFlags&1028)!==0&&t!==null)t.return=n,We=t;else for(;We!==null;){switch(n=We,d=n.alternate,t=n.flags,n.tag){case 0:if((t&4)!==0&&(t=n.updateQueue,t=t!==null?t.events:null,t!==null))for(r=0;r<t.length;r++)c=t[r],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&d!==null){t=void 0,r=n,c=d.memoizedProps,d=d.memoizedState,o=r.stateNode;try{var pt=Ai(r.type,c);t=o.getSnapshotBeforeUpdate(pt,d),o.__reactInternalSnapshotBeforeUpdate=t}catch(St){ne(r,r.return,St)}}break;case 3:if((t&1024)!==0){if(t=n.stateNode.containerInfo,r=t.nodeType,r===9)wp(t);else if(r===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":wp(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(l(163))}if(t=n.sibling,t!==null){t.return=n.return,We=t;break}We=n.return}}function d0(t,n,r){var o=r.flags;switch(r.tag){case 0:case 11:case 15:ur(t,r),o&4&&Zo(5,r);break;case 1:if(ur(t,r),o&4)if(t=r.stateNode,n===null)try{t.componentDidMount()}catch(g){ne(r,r.return,g)}else{var c=Ai(r.type,n.memoizedProps);n=n.memoizedState;try{t.componentDidUpdate(c,n,t.__reactInternalSnapshotBeforeUpdate)}catch(g){ne(r,r.return,g)}}o&64&&l0(r),o&512&&Wo(r,r.return);break;case 3:if(ur(t,r),o&64&&(t=r.updateQueue,t!==null)){if(n=null,r.child!==null)switch(r.child.tag){case 27:case 5:n=r.child.stateNode;break;case 1:n=r.child.stateNode}try{Iy(t,n)}catch(g){ne(r,r.return,g)}}break;case 27:n===null&&o&4&&c0(r);case 26:case 5:ur(t,r),n===null&&o&4&&s0(r),o&512&&Wo(r,r.return);break;case 12:ur(t,r);break;case 31:ur(t,r),o&4&&m0(t,r);break;case 13:ur(t,r),o&4&&y0(t,r),o&64&&(t=r.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(r=HE.bind(null,r),rC(t,r))));break;case 22:if(o=r.memoizedState!==null||or,!o){n=n!==null&&n.memoizedState!==null||ke,c=or;var d=ke;or=o,(ke=n)&&!d?cr(t,r,(r.subtreeFlags&8772)!==0):ur(t,r),or=c,ke=d}break;case 30:break;default:ur(t,r)}}function p0(t){var n=t.alternate;n!==null&&(t.alternate=null,p0(n)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(n=t.stateNode,n!==null&&_f(n)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var xe=null,Rn=!1;function sr(t,n,r){for(r=r.child;r!==null;)h0(t,n,r),r=r.sibling}function h0(t,n,r){if(Mt&&typeof Mt.onCommitFiberUnmount=="function")try{Mt.onCommitFiberUnmount(pe,r)}catch{}switch(r.tag){case 26:ke||ja(r,n),sr(t,n,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:ke||ja(r,n);var o=xe,c=Rn;Gr(r.type)&&(xe=r.stateNode,Rn=!1),sr(t,n,r),os(r.stateNode),xe=o,Rn=c;break;case 5:ke||ja(r,n);case 6:if(o=xe,c=Rn,xe=null,sr(t,n,r),xe=o,Rn=c,xe!==null)if(Rn)try{(xe.nodeType===9?xe.body:xe.nodeName==="HTML"?xe.ownerDocument.body:xe).removeChild(r.stateNode)}catch(d){ne(r,n,d)}else try{xe.removeChild(r.stateNode)}catch(d){ne(r,n,d)}break;case 18:xe!==null&&(Rn?(t=xe,lv(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,r.stateNode),Vl(t)):lv(xe,r.stateNode));break;case 4:o=xe,c=Rn,xe=r.stateNode.containerInfo,Rn=!0,sr(t,n,r),xe=o,Rn=c;break;case 0:case 11:case 14:case 15:Lr(2,r,n),ke||Lr(4,r,n),sr(t,n,r);break;case 1:ke||(ja(r,n),o=r.stateNode,typeof o.componentWillUnmount=="function"&&o0(r,n,o)),sr(t,n,r);break;case 21:sr(t,n,r);break;case 22:ke=(o=ke)||r.memoizedState!==null,sr(t,n,r),ke=o;break;default:sr(t,n,r)}}function m0(t,n){if(n.memoizedState===null&&(t=n.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Vl(t)}catch(r){ne(n,n.return,r)}}}function y0(t,n){if(n.memoizedState===null&&(t=n.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Vl(t)}catch(r){ne(n,n.return,r)}}function _E(t){switch(t.tag){case 31:case 13:case 19:var n=t.stateNode;return n===null&&(n=t.stateNode=new f0),n;case 22:return t=t.stateNode,n=t._retryCache,n===null&&(n=t._retryCache=new f0),n;default:throw Error(l(435,t.tag))}}function Xu(t,n){var r=_E(t);n.forEach(function(o){if(!r.has(o)){r.add(o);var c=kE.bind(null,t,o);o.then(c,c)}})}function On(t,n){var r=n.deletions;if(r!==null)for(var o=0;o<r.length;o++){var c=r[o],d=t,g=n,E=g;t:for(;E!==null;){switch(E.tag){case 27:if(Gr(E.type)){xe=E.stateNode,Rn=!1;break t}break;case 5:xe=E.stateNode,Rn=!1;break t;case 3:case 4:xe=E.stateNode.containerInfo,Rn=!0;break t}E=E.return}if(xe===null)throw Error(l(160));h0(d,g,c),xe=null,Rn=!1,d=c.alternate,d!==null&&(d.return=null),c.return=null}if(n.subtreeFlags&13886)for(n=n.child;n!==null;)g0(n,t),n=n.sibling}var Ta=null;function g0(t,n){var r=t.alternate,o=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:On(n,t),An(t),o&4&&(Lr(3,t,t.return),Zo(3,t),Lr(5,t,t.return));break;case 1:On(n,t),An(t),o&512&&(ke||r===null||ja(r,r.return)),o&64&&or&&(t=t.updateQueue,t!==null&&(o=t.callbacks,o!==null&&(r=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=r===null?o:r.concat(o))));break;case 26:var c=Ta;if(On(n,t),An(t),o&512&&(ke||r===null||ja(r,r.return)),o&4){var d=r!==null?r.memoizedState:null;if(o=t.memoizedState,r===null)if(o===null)if(t.stateNode===null){t:{o=t.type,r=t.memoizedProps,c=c.ownerDocument||c;e:switch(o){case"title":d=c.getElementsByTagName("title")[0],(!d||d[wo]||d[ln]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=c.createElement(o),c.head.insertBefore(d,c.querySelector("head > title"))),cn(d,o,r),d[ln]=t,Ze(d),o=d;break t;case"link":var g=gv("link","href",c).get(o+(r.href||""));if(g){for(var E=0;E<g.length;E++)if(d=g[E],d.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&d.getAttribute("rel")===(r.rel==null?null:r.rel)&&d.getAttribute("title")===(r.title==null?null:r.title)&&d.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){g.splice(E,1);break e}}d=c.createElement(o),cn(d,o,r),c.head.appendChild(d);break;case"meta":if(g=gv("meta","content",c).get(o+(r.content||""))){for(E=0;E<g.length;E++)if(d=g[E],d.getAttribute("content")===(r.content==null?null:""+r.content)&&d.getAttribute("name")===(r.name==null?null:r.name)&&d.getAttribute("property")===(r.property==null?null:r.property)&&d.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&d.getAttribute("charset")===(r.charSet==null?null:r.charSet)){g.splice(E,1);break e}}d=c.createElement(o),cn(d,o,r),c.head.appendChild(d);break;default:throw Error(l(468,o))}d[ln]=t,Ze(d),o=d}t.stateNode=o}else vv(c,t.type,t.stateNode);else t.stateNode=yv(c,o,t.memoizedProps);else d!==o?(d===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):d.count--,o===null?vv(c,t.type,t.stateNode):yv(c,o,t.memoizedProps)):o===null&&t.stateNode!==null&&Zd(t,t.memoizedProps,r.memoizedProps)}break;case 27:On(n,t),An(t),o&512&&(ke||r===null||ja(r,r.return)),r!==null&&o&4&&Zd(t,t.memoizedProps,r.memoizedProps);break;case 5:if(On(n,t),An(t),o&512&&(ke||r===null||ja(r,r.return)),t.flags&32){c=t.stateNode;try{dl(c,"")}catch(pt){ne(t,t.return,pt)}}o&4&&t.stateNode!=null&&(c=t.memoizedProps,Zd(t,c,r!==null?r.memoizedProps:c)),o&1024&&(tp=!0);break;case 6:if(On(n,t),An(t),o&4){if(t.stateNode===null)throw Error(l(162));o=t.memoizedProps,r=t.stateNode;try{r.nodeValue=o}catch(pt){ne(t,t.return,pt)}}break;case 3:if(uc=null,c=Ta,Ta=oc(n.containerInfo),On(n,t),Ta=c,An(t),o&4&&r!==null&&r.memoizedState.isDehydrated)try{Vl(n.containerInfo)}catch(pt){ne(t,t.return,pt)}tp&&(tp=!1,v0(t));break;case 4:o=Ta,Ta=oc(t.stateNode.containerInfo),On(n,t),An(t),Ta=o;break;case 12:On(n,t),An(t);break;case 31:On(n,t),An(t),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,Xu(t,o)));break;case 13:On(n,t),An(t),t.child.flags&8192&&t.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(Fu=ge()),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,Xu(t,o)));break;case 22:c=t.memoizedState!==null;var z=r!==null&&r.memoizedState!==null,P=or,J=ke;if(or=P||c,ke=J||z,On(n,t),ke=J,or=P,An(t),o&8192)t:for(n=t.stateNode,n._visibility=c?n._visibility&-2:n._visibility|1,c&&(r===null||z||or||ke||Mi(t)),r=null,n=t;;){if(n.tag===5||n.tag===26){if(r===null){z=r=n;try{if(d=z.stateNode,c)g=d.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none";else{E=z.stateNode;var rt=z.memoizedProps.style,G=rt!=null&&rt.hasOwnProperty("display")?rt.display:null;E.style.display=G==null||typeof G=="boolean"?"":(""+G).trim()}}catch(pt){ne(z,z.return,pt)}}}else if(n.tag===6){if(r===null){z=n;try{z.stateNode.nodeValue=c?"":z.memoizedProps}catch(pt){ne(z,z.return,pt)}}}else if(n.tag===18){if(r===null){z=n;try{var F=z.stateNode;c?ov(F,!0):ov(z.stateNode,!1)}catch(pt){ne(z,z.return,pt)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===t)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break t;for(;n.sibling===null;){if(n.return===null||n.return===t)break t;r===n&&(r=null),n=n.return}r===n&&(r=null),n.sibling.return=n.return,n=n.sibling}o&4&&(o=t.updateQueue,o!==null&&(r=o.retryQueue,r!==null&&(o.retryQueue=null,Xu(t,r))));break;case 19:On(n,t),An(t),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,Xu(t,o)));break;case 30:break;case 21:break;default:On(n,t),An(t)}}function An(t){var n=t.flags;if(n&2){try{for(var r,o=t.return;o!==null;){if(u0(o)){r=o;break}o=o.return}if(r==null)throw Error(l(160));switch(r.tag){case 27:var c=r.stateNode,d=Wd(t);Qu(t,d,c);break;case 5:var g=r.stateNode;r.flags&32&&(dl(g,""),r.flags&=-33);var E=Wd(t);Qu(t,E,g);break;case 3:case 4:var z=r.stateNode.containerInfo,P=Wd(t);Jd(t,P,z);break;default:throw Error(l(161))}}catch(J){ne(t,t.return,J)}t.flags&=-3}n&4096&&(t.flags&=-4097)}function v0(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var n=t;v0(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),t=t.sibling}}function ur(t,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)d0(t,n.alternate,n),n=n.sibling}function Mi(t){for(t=t.child;t!==null;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:Lr(4,n,n.return),Mi(n);break;case 1:ja(n,n.return);var r=n.stateNode;typeof r.componentWillUnmount=="function"&&o0(n,n.return,r),Mi(n);break;case 27:os(n.stateNode);case 26:case 5:ja(n,n.return),Mi(n);break;case 22:n.memoizedState===null&&Mi(n);break;case 30:Mi(n);break;default:Mi(n)}t=t.sibling}}function cr(t,n,r){for(r=r&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var o=n.alternate,c=t,d=n,g=d.flags;switch(d.tag){case 0:case 11:case 15:cr(c,d,r),Zo(4,d);break;case 1:if(cr(c,d,r),o=d,c=o.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(P){ne(o,o.return,P)}if(o=d,c=o.updateQueue,c!==null){var E=o.stateNode;try{var z=c.shared.hiddenCallbacks;if(z!==null)for(c.shared.hiddenCallbacks=null,c=0;c<z.length;c++)Fy(z[c],E)}catch(P){ne(o,o.return,P)}}r&&g&64&&l0(d),Wo(d,d.return);break;case 27:c0(d);case 26:case 5:cr(c,d,r),r&&o===null&&g&4&&s0(d),Wo(d,d.return);break;case 12:cr(c,d,r);break;case 31:cr(c,d,r),r&&g&4&&m0(c,d);break;case 13:cr(c,d,r),r&&g&4&&y0(c,d);break;case 22:d.memoizedState===null&&cr(c,d,r),Wo(d,d.return);break;case 30:break;default:cr(c,d,r)}n=n.sibling}}function ep(t,n){var r=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),t=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(t=n.memoizedState.cachePool.pool),t!==r&&(t!=null&&t.refCount++,r!=null&&Ho(r))}function np(t,n){t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&Ho(t))}function wa(t,n,r,o){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)b0(t,n,r,o),n=n.sibling}function b0(t,n,r,o){var c=n.flags;switch(n.tag){case 0:case 11:case 15:wa(t,n,r,o),c&2048&&Zo(9,n);break;case 1:wa(t,n,r,o);break;case 3:wa(t,n,r,o),c&2048&&(t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&Ho(t)));break;case 12:if(c&2048){wa(t,n,r,o),t=n.stateNode;try{var d=n.memoizedProps,g=d.id,E=d.onPostCommit;typeof E=="function"&&E(g,n.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(z){ne(n,n.return,z)}}else wa(t,n,r,o);break;case 31:wa(t,n,r,o);break;case 13:wa(t,n,r,o);break;case 23:break;case 22:d=n.stateNode,g=n.alternate,n.memoizedState!==null?d._visibility&2?wa(t,n,r,o):Jo(t,n):d._visibility&2?wa(t,n,r,o):(d._visibility|=2,Bl(t,n,r,o,(n.subtreeFlags&10256)!==0||!1)),c&2048&&ep(g,n);break;case 24:wa(t,n,r,o),c&2048&&np(n.alternate,n);break;default:wa(t,n,r,o)}}function Bl(t,n,r,o,c){for(c=c&&((n.subtreeFlags&10256)!==0||!1),n=n.child;n!==null;){var d=t,g=n,E=r,z=o,P=g.flags;switch(g.tag){case 0:case 11:case 15:Bl(d,g,E,z,c),Zo(8,g);break;case 23:break;case 22:var J=g.stateNode;g.memoizedState!==null?J._visibility&2?Bl(d,g,E,z,c):Jo(d,g):(J._visibility|=2,Bl(d,g,E,z,c)),c&&P&2048&&ep(g.alternate,g);break;case 24:Bl(d,g,E,z,c),c&&P&2048&&np(g.alternate,g);break;default:Bl(d,g,E,z,c)}n=n.sibling}}function Jo(t,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var r=t,o=n,c=o.flags;switch(o.tag){case 22:Jo(r,o),c&2048&&ep(o.alternate,o);break;case 24:Jo(r,o),c&2048&&np(o.alternate,o);break;default:Jo(r,o)}n=n.sibling}}var ts=8192;function Dl(t,n,r){if(t.subtreeFlags&ts)for(t=t.child;t!==null;)S0(t,n,r),t=t.sibling}function S0(t,n,r){switch(t.tag){case 26:Dl(t,n,r),t.flags&ts&&t.memoizedState!==null&&yC(r,Ta,t.memoizedState,t.memoizedProps);break;case 5:Dl(t,n,r);break;case 3:case 4:var o=Ta;Ta=oc(t.stateNode.containerInfo),Dl(t,n,r),Ta=o;break;case 22:t.memoizedState===null&&(o=t.alternate,o!==null&&o.memoizedState!==null?(o=ts,ts=16777216,Dl(t,n,r),ts=o):Dl(t,n,r));break;default:Dl(t,n,r)}}function x0(t){var n=t.alternate;if(n!==null&&(t=n.child,t!==null)){n.child=null;do n=t.sibling,t.sibling=null,t=n;while(t!==null)}}function es(t){var n=t.deletions;if((t.flags&16)!==0){if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];We=o,C0(o,t)}x0(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)E0(t),t=t.sibling}function E0(t){switch(t.tag){case 0:case 11:case 15:es(t),t.flags&2048&&Lr(9,t,t.return);break;case 3:es(t);break;case 12:es(t);break;case 22:var n=t.stateNode;t.memoizedState!==null&&n._visibility&2&&(t.return===null||t.return.tag!==13)?(n._visibility&=-3,Ku(t)):es(t);break;default:es(t)}}function Ku(t){var n=t.deletions;if((t.flags&16)!==0){if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];We=o,C0(o,t)}x0(t)}for(t=t.child;t!==null;){switch(n=t,n.tag){case 0:case 11:case 15:Lr(8,n,n.return),Ku(n);break;case 22:r=n.stateNode,r._visibility&2&&(r._visibility&=-3,Ku(n));break;default:Ku(n)}t=t.sibling}}function C0(t,n){for(;We!==null;){var r=We;switch(r.tag){case 0:case 11:case 15:Lr(8,r,n);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var o=r.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:Ho(r.memoizedState.cache)}if(o=r.child,o!==null)o.return=r,We=o;else t:for(r=t;We!==null;){o=We;var c=o.sibling,d=o.return;if(p0(o),o===r){We=null;break t}if(c!==null){c.return=d,We=c;break t}We=d}}}var zE={getCacheForType:function(t){var n=sn(Ue),r=n.data.get(t);return r===void 0&&(r=t(),n.data.set(t,r)),r},cacheSignal:function(){return sn(Ue).controller.signal}},BE=typeof WeakMap=="function"?WeakMap:Map,Ft=0,de=null,Nt=null,Ht=0,ee=0,Vn=null,Hr=!1,jl=!1,ap=!1,fr=0,Re=0,kr=0,_i=0,rp=0,Gn=0,Nl=0,ns=null,Mn=null,ip=!1,Fu=0,T0=0,Iu=1/0,Zu=null,$r=null,Xe=0,qr=null,Ul=null,dr=0,lp=0,op=null,w0=null,as=0,sp=null;function Yn(){return(Ft&2)!==0&&Ht!==0?Ht&-Ht:D.T!==null?hp():Rr()}function R0(){if(Gn===0)if((Ht&536870912)===0||$t){var t=Tr;Tr<<=1,(Tr&3932160)===0&&(Tr=262144),Gn=t}else Gn=536870912;return t=qn.current,t!==null&&(t.flags|=32),Gn}function _n(t,n,r){(t===de&&(ee===2||ee===9)||t.cancelPendingCommit!==null)&&(Ll(t,0),Pr(t,Ht,Gn,!1)),ut(t,r),((Ft&2)===0||t!==de)&&(t===de&&((Ft&2)===0&&(_i|=r),Re===4&&Pr(t,Ht,Gn,!1)),Na(t))}function O0(t,n,r){if((Ft&6)!==0)throw Error(l(327));var o=!r&&(n&127)===0&&(n&t.expiredLanes)===0||Fa(t,n),c=o?NE(t,n):cp(t,n,!0),d=o;do{if(c===0){jl&&!o&&Pr(t,n,0,!1);break}else{if(r=t.current.alternate,d&&!DE(r)){c=cp(t,n,!1),d=!1;continue}if(c===2){if(d=n,t.errorRecoveryDisabledLanes&d)var g=0;else g=t.pendingLanes&-536870913,g=g!==0?g:g&536870912?536870912:0;if(g!==0){n=g;t:{var E=t;c=ns;var z=E.current.memoizedState.isDehydrated;if(z&&(Ll(E,g).flags|=256),g=cp(E,g,!1),g!==2){if(ap&&!z){E.errorRecoveryDisabledLanes|=d,_i|=d,c=4;break t}d=Mn,Mn=c,d!==null&&(Mn===null?Mn=d:Mn.push.apply(Mn,d))}c=g}if(d=!1,c!==2)continue}}if(c===1){Ll(t,0),Pr(t,n,0,!0);break}t:{switch(o=t,d=c,d){case 0:case 1:throw Error(l(345));case 4:if((n&4194048)!==n)break;case 6:Pr(o,n,Gn,!Hr);break t;case 2:Mn=null;break;case 3:case 5:break;default:throw Error(l(329))}if((n&62914560)===n&&(c=Fu+300-ge(),10<c)){if(Pr(o,n,Gn,!Hr),wr(o,0,!0)!==0)break t;dr=n,o.timeoutHandle=rv(A0.bind(null,o,r,Mn,Zu,ip,n,Gn,_i,Nl,Hr,d,"Throttled",-0,0),c);break t}A0(o,r,Mn,Zu,ip,n,Gn,_i,Nl,Hr,d,null,-0,0)}}break}while(!0);Na(t)}function A0(t,n,r,o,c,d,g,E,z,P,J,rt,G,F){if(t.timeoutHandle=-1,rt=n.subtreeFlags,rt&8192||(rt&16785408)===16785408){rt={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Za},S0(n,d,rt);var pt=(d&62914560)===d?Fu-ge():(d&4194048)===d?T0-ge():0;if(pt=gC(rt,pt),pt!==null){dr=d,t.cancelPendingCommit=pt(U0.bind(null,t,n,d,r,o,c,g,E,z,J,rt,null,G,F)),Pr(t,d,g,!P);return}}U0(t,n,d,r,o,c,g,E,z)}function DE(t){for(var n=t;;){var r=n.tag;if((r===0||r===11||r===15)&&n.flags&16384&&(r=n.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var o=0;o<r.length;o++){var c=r[o],d=c.getSnapshot;c=c.value;try{if(!kn(d(),c))return!1}catch{return!1}}if(r=n.child,n.subtreeFlags&16384&&r!==null)r.return=n,n=r;else{if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function Pr(t,n,r,o){n&=~rp,n&=~_i,t.suspendedLanes|=n,t.pingedLanes&=~n,o&&(t.warmLanes|=n),o=t.expirationTimes;for(var c=n;0<c;){var d=31-Qe(c),g=1<<d;o[d]=-1,c&=~g}r!==0&&jt(t,r,n)}function Wu(){return(Ft&6)===0?(rs(0),!1):!0}function up(){if(Nt!==null){if(ee===0)var t=Nt.return;else t=Nt,er=xi=null,wd(t),Ol=null,$o=0,t=Nt;for(;t!==null;)i0(t.alternate,t),t=t.return;Nt=null}}function Ll(t,n){var r=t.timeoutHandle;r!==-1&&(t.timeoutHandle=-1,JE(r)),r=t.cancelPendingCommit,r!==null&&(t.cancelPendingCommit=null,r()),dr=0,up(),de=t,Nt=r=Ja(t.current,null),Ht=n,ee=0,Vn=null,Hr=!1,jl=Fa(t,n),ap=!1,Nl=Gn=rp=_i=kr=Re=0,Mn=ns=null,ip=!1,(n&8)!==0&&(n|=n&32);var o=t.entangledLanes;if(o!==0)for(t=t.entanglements,o&=n;0<o;){var c=31-Qe(o),d=1<<c;n|=t[c],o&=~d}return fr=n,bu(),r}function M0(t,n){wt=null,D.H=Ko,n===Rl||n===Ou?(n=Yy(),ee=3):n===pd?(n=Yy(),ee=4):ee=n===qd?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,Vn=n,Nt===null&&(Re=1,qu(t,na(n,t.current)))}function _0(){var t=qn.current;return t===null?!0:(Ht&4194048)===Ht?la===null:(Ht&62914560)===Ht||(Ht&536870912)!==0?t===la:!1}function z0(){var t=D.H;return D.H=Ko,t===null?Ko:t}function B0(){var t=D.A;return D.A=zE,t}function Ju(){Re=4,Hr||(Ht&4194048)!==Ht&&qn.current!==null||(jl=!0),(kr&134217727)===0&&(_i&134217727)===0||de===null||Pr(de,Ht,Gn,!1)}function cp(t,n,r){var o=Ft;Ft|=2;var c=z0(),d=B0();(de!==t||Ht!==n)&&(Zu=null,Ll(t,n)),n=!1;var g=Re;t:do try{if(ee!==0&&Nt!==null){var E=Nt,z=Vn;switch(ee){case 8:up(),g=6;break t;case 3:case 2:case 9:case 6:qn.current===null&&(n=!0);var P=ee;if(ee=0,Vn=null,Hl(t,E,z,P),r&&jl){g=0;break t}break;default:P=ee,ee=0,Vn=null,Hl(t,E,z,P)}}jE(),g=Re;break}catch(J){M0(t,J)}while(!0);return n&&t.shellSuspendCounter++,er=xi=null,Ft=o,D.H=c,D.A=d,Nt===null&&(de=null,Ht=0,bu()),g}function jE(){for(;Nt!==null;)D0(Nt)}function NE(t,n){var r=Ft;Ft|=2;var o=z0(),c=B0();de!==t||Ht!==n?(Zu=null,Iu=ge()+500,Ll(t,n)):jl=Fa(t,n);t:do try{if(ee!==0&&Nt!==null){n=Nt;var d=Vn;e:switch(ee){case 1:ee=0,Vn=null,Hl(t,n,d,1);break;case 2:case 9:if(Vy(d)){ee=0,Vn=null,j0(n);break}n=function(){ee!==2&&ee!==9||de!==t||(ee=7),Na(t)},d.then(n,n);break t;case 3:ee=7;break t;case 4:ee=5;break t;case 7:Vy(d)?(ee=0,Vn=null,j0(n)):(ee=0,Vn=null,Hl(t,n,d,7));break;case 5:var g=null;switch(Nt.tag){case 26:g=Nt.memoizedState;case 5:case 27:var E=Nt;if(g?bv(g):E.stateNode.complete){ee=0,Vn=null;var z=E.sibling;if(z!==null)Nt=z;else{var P=E.return;P!==null?(Nt=P,tc(P)):Nt=null}break e}}ee=0,Vn=null,Hl(t,n,d,5);break;case 6:ee=0,Vn=null,Hl(t,n,d,6);break;case 8:up(),Re=6;break t;default:throw Error(l(462))}}UE();break}catch(J){M0(t,J)}while(!0);return er=xi=null,D.H=o,D.A=c,Ft=r,Nt!==null?0:(de=null,Ht=0,bu(),Re)}function UE(){for(;Nt!==null&&!yt();)D0(Nt)}function D0(t){var n=a0(t.alternate,t,fr);t.memoizedProps=t.pendingProps,n===null?tc(t):Nt=n}function j0(t){var n=t,r=n.alternate;switch(n.tag){case 15:case 0:n=Zg(r,n,n.pendingProps,n.type,void 0,Ht);break;case 11:n=Zg(r,n,n.pendingProps,n.type.render,n.ref,Ht);break;case 5:wd(n);default:i0(r,n),n=Nt=By(n,fr),n=a0(r,n,fr)}t.memoizedProps=t.pendingProps,n===null?tc(t):Nt=n}function Hl(t,n,r,o){er=xi=null,wd(n),Ol=null,$o=0;var c=n.return;try{if(TE(t,c,n,r,Ht)){Re=1,qu(t,na(r,t.current)),Nt=null;return}}catch(d){if(c!==null)throw Nt=c,d;Re=1,qu(t,na(r,t.current)),Nt=null;return}n.flags&32768?($t||o===1?t=!0:jl||(Ht&536870912)!==0?t=!1:(Hr=t=!0,(o===2||o===9||o===3||o===6)&&(o=qn.current,o!==null&&o.tag===13&&(o.flags|=16384))),N0(n,t)):tc(n)}function tc(t){var n=t;do{if((n.flags&32768)!==0){N0(n,Hr);return}t=n.return;var r=OE(n.alternate,n,fr);if(r!==null){Nt=r;return}if(n=n.sibling,n!==null){Nt=n;return}Nt=n=t}while(n!==null);Re===0&&(Re=5)}function N0(t,n){do{var r=AE(t.alternate,t);if(r!==null){r.flags&=32767,Nt=r;return}if(r=t.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!n&&(t=t.sibling,t!==null)){Nt=t;return}Nt=t=r}while(t!==null);Re=6,Nt=null}function U0(t,n,r,o,c,d,g,E,z){t.cancelPendingCommit=null;do ec();while(Xe!==0);if((Ft&6)!==0)throw Error(l(327));if(n!==null){if(n===t.current)throw Error(l(177));if(d=n.lanes|n.childLanes,d|=Wf,gt(t,r,d,g,E,z),t===de&&(Nt=de=null,Ht=0),Ul=n,qr=t,dr=r,lp=d,op=c,w0=o,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,$E(an,function(){return q0(),null})):(t.callbackNode=null,t.callbackPriority=0),o=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||o){o=D.T,D.T=null,c=Y.p,Y.p=2,g=Ft,Ft|=4;try{ME(t,n,r)}finally{Ft=g,Y.p=c,D.T=o}}Xe=1,L0(),H0(),k0()}}function L0(){if(Xe===1){Xe=0;var t=qr,n=Ul,r=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||r){r=D.T,D.T=null;var o=Y.p;Y.p=2;var c=Ft;Ft|=4;try{g0(n,t);var d=Ep,g=Cy(t.containerInfo),E=d.focusedElem,z=d.selectionRange;if(g!==E&&E&&E.ownerDocument&&Ey(E.ownerDocument.documentElement,E)){if(z!==null&&Xf(E)){var P=z.start,J=z.end;if(J===void 0&&(J=P),"selectionStart"in E)E.selectionStart=P,E.selectionEnd=Math.min(J,E.value.length);else{var rt=E.ownerDocument||document,G=rt&&rt.defaultView||window;if(G.getSelection){var F=G.getSelection(),pt=E.textContent.length,St=Math.min(z.start,pt),oe=z.end===void 0?St:Math.min(z.end,pt);!F.extend&&St>oe&&(g=oe,oe=St,St=g);var k=xy(E,St),N=xy(E,oe);if(k&&N&&(F.rangeCount!==1||F.anchorNode!==k.node||F.anchorOffset!==k.offset||F.focusNode!==N.node||F.focusOffset!==N.offset)){var q=rt.createRange();q.setStart(k.node,k.offset),F.removeAllRanges(),St>oe?(F.addRange(q),F.extend(N.node,N.offset)):(q.setEnd(N.node,N.offset),F.addRange(q))}}}}for(rt=[],F=E;F=F.parentNode;)F.nodeType===1&&rt.push({element:F,left:F.scrollLeft,top:F.scrollTop});for(typeof E.focus=="function"&&E.focus(),E=0;E<rt.length;E++){var nt=rt[E];nt.element.scrollLeft=nt.left,nt.element.scrollTop=nt.top}}pc=!!xp,Ep=xp=null}finally{Ft=c,Y.p=o,D.T=r}}t.current=n,Xe=2}}function H0(){if(Xe===2){Xe=0;var t=qr,n=Ul,r=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||r){r=D.T,D.T=null;var o=Y.p;Y.p=2;var c=Ft;Ft|=4;try{d0(t,n.alternate,n)}finally{Ft=c,Y.p=o,D.T=r}}Xe=3}}function k0(){if(Xe===4||Xe===3){Xe=0,Fn();var t=qr,n=Ul,r=dr,o=w0;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?Xe=5:(Xe=0,Ul=qr=null,$0(t,t.pendingLanes));var c=t.pendingLanes;if(c===0&&($r=null),Ea(r),n=n.stateNode,Mt&&typeof Mt.onCommitFiberRoot=="function")try{Mt.onCommitFiberRoot(pe,n,void 0,(n.current.flags&128)===128)}catch{}if(o!==null){n=D.T,c=Y.p,Y.p=2,D.T=null;try{for(var d=t.onRecoverableError,g=0;g<o.length;g++){var E=o[g];d(E.value,{componentStack:E.stack})}}finally{D.T=n,Y.p=c}}(dr&3)!==0&&ec(),Na(t),c=t.pendingLanes,(r&261930)!==0&&(c&42)!==0?t===sp?as++:(as=0,sp=t):as=0,rs(0)}}function $0(t,n){(t.pooledCacheLanes&=n)===0&&(n=t.pooledCache,n!=null&&(t.pooledCache=null,Ho(n)))}function ec(){return L0(),H0(),k0(),q0()}function q0(){if(Xe!==5)return!1;var t=qr,n=lp;lp=0;var r=Ea(dr),o=D.T,c=Y.p;try{Y.p=32>r?32:r,D.T=null,r=op,op=null;var d=qr,g=dr;if(Xe=0,Ul=qr=null,dr=0,(Ft&6)!==0)throw Error(l(331));var E=Ft;if(Ft|=4,E0(d.current),b0(d,d.current,g,r),Ft=E,rs(0,!1),Mt&&typeof Mt.onPostCommitFiberRoot=="function")try{Mt.onPostCommitFiberRoot(pe,d)}catch{}return!0}finally{Y.p=c,D.T=o,$0(t,n)}}function P0(t,n,r){n=na(r,n),n=$d(t.stateNode,n,2),t=jr(t,n,2),t!==null&&(ut(t,2),Na(t))}function ne(t,n,r){if(t.tag===3)P0(t,t,r);else for(;n!==null;){if(n.tag===3){P0(n,t,r);break}else if(n.tag===1){var o=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&($r===null||!$r.has(o))){t=na(r,t),r=Vg(2),o=jr(n,r,2),o!==null&&(Gg(r,o,n,t),ut(o,2),Na(o));break}}n=n.return}}function fp(t,n,r){var o=t.pingCache;if(o===null){o=t.pingCache=new BE;var c=new Set;o.set(n,c)}else c=o.get(n),c===void 0&&(c=new Set,o.set(n,c));c.has(r)||(ap=!0,c.add(r),t=LE.bind(null,t,n,r),n.then(t,t))}function LE(t,n,r){var o=t.pingCache;o!==null&&o.delete(n),t.pingedLanes|=t.suspendedLanes&r,t.warmLanes&=~r,de===t&&(Ht&r)===r&&(Re===4||Re===3&&(Ht&62914560)===Ht&&300>ge()-Fu?(Ft&2)===0&&Ll(t,0):rp|=r,Nl===Ht&&(Nl=0)),Na(t)}function V0(t,n){n===0&&(n=Ct()),t=vi(t,n),t!==null&&(ut(t,n),Na(t))}function HE(t){var n=t.memoizedState,r=0;n!==null&&(r=n.retryLane),V0(t,r)}function kE(t,n){var r=0;switch(t.tag){case 31:case 13:var o=t.stateNode,c=t.memoizedState;c!==null&&(r=c.retryLane);break;case 19:o=t.stateNode;break;case 22:o=t.stateNode._retryCache;break;default:throw Error(l(314))}o!==null&&o.delete(n),V0(t,r)}function $E(t,n){return me(t,n)}var nc=null,kl=null,dp=!1,ac=!1,pp=!1,Vr=0;function Na(t){t!==kl&&t.next===null&&(kl===null?nc=kl=t:kl=kl.next=t),ac=!0,dp||(dp=!0,PE())}function rs(t,n){if(!pp&&ac){pp=!0;do for(var r=!1,o=nc;o!==null;){if(t!==0){var c=o.pendingLanes;if(c===0)var d=0;else{var g=o.suspendedLanes,E=o.pingedLanes;d=(1<<31-Qe(42|t)+1)-1,d&=c&~(g&~E),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(r=!0,X0(o,d))}else d=Ht,d=wr(o,o===de?d:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(d&3)===0||Fa(o,d)||(r=!0,X0(o,d));o=o.next}while(r);pp=!1}}function qE(){G0()}function G0(){ac=dp=!1;var t=0;Vr!==0&&WE()&&(t=Vr);for(var n=ge(),r=null,o=nc;o!==null;){var c=o.next,d=Y0(o,n);d===0?(o.next=null,r===null?nc=c:r.next=c,c===null&&(kl=r)):(r=o,(t!==0||(d&3)!==0)&&(ac=!0)),o=c}Xe!==0&&Xe!==5||rs(t),Vr!==0&&(Vr=0)}function Y0(t,n){for(var r=t.suspendedLanes,o=t.pingedLanes,c=t.expirationTimes,d=t.pendingLanes&-62914561;0<d;){var g=31-Qe(d),E=1<<g,z=c[g];z===-1?((E&r)===0||(E&o)!==0)&&(c[g]=Co(E,n)):z<=n&&(t.expiredLanes|=E),d&=~E}if(n=de,r=Ht,r=wr(t,t===n?r:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),o=t.callbackNode,r===0||t===n&&(ee===2||ee===9)||t.cancelPendingCommit!==null)return o!==null&&o!==null&&ye(o),t.callbackNode=null,t.callbackPriority=0;if((r&3)===0||Fa(t,r)){if(n=r&-r,n===t.callbackPriority)return n;switch(o!==null&&ye(o),Ea(r)){case 2:case 8:r=En;break;case 32:r=an;break;case 268435456:r=Ce;break;default:r=an}return o=Q0.bind(null,t),r=me(r,o),t.callbackPriority=n,t.callbackNode=r,n}return o!==null&&o!==null&&ye(o),t.callbackPriority=2,t.callbackNode=null,2}function Q0(t,n){if(Xe!==0&&Xe!==5)return t.callbackNode=null,t.callbackPriority=0,null;var r=t.callbackNode;if(ec()&&t.callbackNode!==r)return null;var o=Ht;return o=wr(t,t===de?o:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),o===0?null:(O0(t,o,n),Y0(t,ge()),t.callbackNode!=null&&t.callbackNode===r?Q0.bind(null,t):null)}function X0(t,n){if(ec())return null;O0(t,n,!0)}function PE(){tC(function(){(Ft&6)!==0?me(In,qE):G0()})}function hp(){if(Vr===0){var t=Tl;t===0&&(t=Cr,Cr<<=1,(Cr&261888)===0&&(Cr=256)),Vr=t}return Vr}function K0(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:fu(""+t)}function F0(t,n){var r=n.ownerDocument.createElement("input");return r.name=n.name,r.value=n.value,t.id&&r.setAttribute("form",t.id),n.parentNode.insertBefore(r,n),t=new FormData(t),r.parentNode.removeChild(r),t}function VE(t,n,r,o,c){if(n==="submit"&&r&&r.stateNode===c){var d=K0((c[Tn]||null).action),g=o.submitter;g&&(n=(n=g[Tn]||null)?K0(n.formAction):g.getAttribute("formAction"),n!==null&&(d=n,g=null));var E=new mu("action","action",null,o,c);t.push({event:E,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Vr!==0){var z=g?F0(c,g):new FormData(c);jd(r,{pending:!0,data:z,method:c.method,action:d},null,z)}}else typeof d=="function"&&(E.preventDefault(),z=g?F0(c,g):new FormData(c),jd(r,{pending:!0,data:z,method:c.method,action:d},d,z))},currentTarget:c}]})}}for(var mp=0;mp<Zf.length;mp++){var yp=Zf[mp],GE=yp.toLowerCase(),YE=yp[0].toUpperCase()+yp.slice(1);Ca(GE,"on"+YE)}Ca(Ry,"onAnimationEnd"),Ca(Oy,"onAnimationIteration"),Ca(Ay,"onAnimationStart"),Ca("dblclick","onDoubleClick"),Ca("focusin","onFocus"),Ca("focusout","onBlur"),Ca(oE,"onTransitionRun"),Ca(sE,"onTransitionStart"),Ca(uE,"onTransitionCancel"),Ca(My,"onTransitionEnd"),cl("onMouseEnter",["mouseout","mouseover"]),cl("onMouseLeave",["mouseout","mouseover"]),cl("onPointerEnter",["pointerout","pointerover"]),cl("onPointerLeave",["pointerout","pointerover"]),hi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),hi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),hi("onBeforeInput",["compositionend","keypress","textInput","paste"]),hi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),hi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),hi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var is="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(" "),QE=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(is));function I0(t,n){n=(n&4)!==0;for(var r=0;r<t.length;r++){var o=t[r],c=o.event;o=o.listeners;t:{var d=void 0;if(n)for(var g=o.length-1;0<=g;g--){var E=o[g],z=E.instance,P=E.currentTarget;if(E=E.listener,z!==d&&c.isPropagationStopped())break t;d=E,c.currentTarget=P;try{d(c)}catch(J){vu(J)}c.currentTarget=null,d=z}else for(g=0;g<o.length;g++){if(E=o[g],z=E.instance,P=E.currentTarget,E=E.listener,z!==d&&c.isPropagationStopped())break t;d=E,c.currentTarget=P;try{d(c)}catch(J){vu(J)}c.currentTarget=null,d=z}}}}function Ut(t,n){var r=n[Mf];r===void 0&&(r=n[Mf]=new Set);var o=t+"__bubble";r.has(o)||(Z0(n,t,2,!1),r.add(o))}function gp(t,n,r){var o=0;n&&(o|=4),Z0(r,t,o,n)}var rc="_reactListening"+Math.random().toString(36).slice(2);function vp(t){if(!t[rc]){t[rc]=!0,Gm.forEach(function(r){r!=="selectionchange"&&(QE.has(r)||gp(r,!1,t),gp(r,!0,t))});var n=t.nodeType===9?t:t.ownerDocument;n===null||n[rc]||(n[rc]=!0,gp("selectionchange",!1,n))}}function Z0(t,n,r,o){switch(Rv(n)){case 2:var c=SC;break;case 8:c=xC;break;default:c=Dp}r=c.bind(null,n,r,t),c=void 0,!Hf||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(c=!0),o?c!==void 0?t.addEventListener(n,r,{capture:!0,passive:c}):t.addEventListener(n,r,!0):c!==void 0?t.addEventListener(n,r,{passive:c}):t.addEventListener(n,r,!1)}function bp(t,n,r,o,c){var d=o;if((n&1)===0&&(n&2)===0&&o!==null)t:for(;;){if(o===null)return;var g=o.tag;if(g===3||g===4){var E=o.stateNode.containerInfo;if(E===c)break;if(g===4)for(g=o.return;g!==null;){var z=g.tag;if((z===3||z===4)&&g.stateNode.containerInfo===c)return;g=g.return}for(;E!==null;){if(g=ol(E),g===null)return;if(z=g.tag,z===5||z===6||z===26||z===27){o=d=g;continue t}E=E.parentNode}}o=o.return}ny(function(){var P=d,J=Uf(r),rt=[];t:{var G=_y.get(t);if(G!==void 0){var F=mu,pt=t;switch(t){case"keypress":if(pu(r)===0)break t;case"keydown":case"keyup":F=k2;break;case"focusin":pt="focus",F=Pf;break;case"focusout":pt="blur",F=Pf;break;case"beforeblur":case"afterblur":F=Pf;break;case"click":if(r.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":F=iy;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":F=O2;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":F=P2;break;case Ry:case Oy:case Ay:F=_2;break;case My:F=G2;break;case"scroll":case"scrollend":F=w2;break;case"wheel":F=Q2;break;case"copy":case"cut":case"paste":F=B2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":F=oy;break;case"toggle":case"beforetoggle":F=K2}var St=(n&4)!==0,oe=!St&&(t==="scroll"||t==="scrollend"),k=St?G!==null?G+"Capture":null:G;St=[];for(var N=P,q;N!==null;){var nt=N;if(q=nt.stateNode,nt=nt.tag,nt!==5&&nt!==26&&nt!==27||q===null||k===null||(nt=Oo(N,k),nt!=null&&St.push(ls(N,nt,q))),oe)break;N=N.return}0<St.length&&(G=new F(G,pt,null,r,J),rt.push({event:G,listeners:St}))}}if((n&7)===0){t:{if(G=t==="mouseover"||t==="pointerover",F=t==="mouseout"||t==="pointerout",G&&r!==Nf&&(pt=r.relatedTarget||r.fromElement)&&(ol(pt)||pt[ll]))break t;if((F||G)&&(G=J.window===J?J:(G=J.ownerDocument)?G.defaultView||G.parentWindow:window,F?(pt=r.relatedTarget||r.toElement,F=P,pt=pt?ol(pt):null,pt!==null&&(oe=u(pt),St=pt.tag,pt!==oe||St!==5&&St!==27&&St!==6)&&(pt=null)):(F=null,pt=P),F!==pt)){if(St=iy,nt="onMouseLeave",k="onMouseEnter",N="mouse",(t==="pointerout"||t==="pointerover")&&(St=oy,nt="onPointerLeave",k="onPointerEnter",N="pointer"),oe=F==null?G:Ro(F),q=pt==null?G:Ro(pt),G=new St(nt,N+"leave",F,r,J),G.target=oe,G.relatedTarget=q,nt=null,ol(J)===P&&(St=new St(k,N+"enter",pt,r,J),St.target=q,St.relatedTarget=oe,nt=St),oe=nt,F&&pt)e:{for(St=XE,k=F,N=pt,q=0,nt=k;nt;nt=St(nt))q++;nt=0;for(var vt=N;vt;vt=St(vt))nt++;for(;0<q-nt;)k=St(k),q--;for(;0<nt-q;)N=St(N),nt--;for(;q--;){if(k===N||N!==null&&k===N.alternate){St=k;break e}k=St(k),N=St(N)}St=null}else St=null;F!==null&&W0(rt,G,F,St,!1),pt!==null&&oe!==null&&W0(rt,oe,pt,St,!0)}}t:{if(G=P?Ro(P):window,F=G.nodeName&&G.nodeName.toLowerCase(),F==="select"||F==="input"&&G.type==="file")var Qt=my;else if(py(G))if(yy)Qt=rE;else{Qt=nE;var mt=eE}else F=G.nodeName,!F||F.toLowerCase()!=="input"||G.type!=="checkbox"&&G.type!=="radio"?P&&jf(P.elementType)&&(Qt=my):Qt=aE;if(Qt&&(Qt=Qt(t,P))){hy(rt,Qt,r,J);break t}mt&&mt(t,G,P),t==="focusout"&&P&&G.type==="number"&&P.memoizedProps.value!=null&&Df(G,"number",G.value)}switch(mt=P?Ro(P):window,t){case"focusin":(py(mt)||mt.contentEditable==="true")&&(yl=mt,Kf=P,No=null);break;case"focusout":No=Kf=yl=null;break;case"mousedown":Ff=!0;break;case"contextmenu":case"mouseup":case"dragend":Ff=!1,Ty(rt,r,J);break;case"selectionchange":if(lE)break;case"keydown":case"keyup":Ty(rt,r,J)}var At;if(Gf)t:{switch(t){case"compositionstart":var kt="onCompositionStart";break t;case"compositionend":kt="onCompositionEnd";break t;case"compositionupdate":kt="onCompositionUpdate";break t}kt=void 0}else ml?fy(t,r)&&(kt="onCompositionEnd"):t==="keydown"&&r.keyCode===229&&(kt="onCompositionStart");kt&&(sy&&r.locale!=="ko"&&(ml||kt!=="onCompositionStart"?kt==="onCompositionEnd"&&ml&&(At=ay()):(Or=J,kf="value"in Or?Or.value:Or.textContent,ml=!0)),mt=ic(P,kt),0<mt.length&&(kt=new ly(kt,t,null,r,J),rt.push({event:kt,listeners:mt}),At?kt.data=At:(At=dy(r),At!==null&&(kt.data=At)))),(At=I2?Z2(t,r):W2(t,r))&&(kt=ic(P,"onBeforeInput"),0<kt.length&&(mt=new ly("onBeforeInput","beforeinput",null,r,J),rt.push({event:mt,listeners:kt}),mt.data=At)),VE(rt,t,P,r,J)}I0(rt,n)})}function ls(t,n,r){return{instance:t,listener:n,currentTarget:r}}function ic(t,n){for(var r=n+"Capture",o=[];t!==null;){var c=t,d=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||d===null||(c=Oo(t,r),c!=null&&o.unshift(ls(t,c,d)),c=Oo(t,n),c!=null&&o.push(ls(t,c,d))),t.tag===3)return o;t=t.return}return[]}function XE(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function W0(t,n,r,o,c){for(var d=n._reactName,g=[];r!==null&&r!==o;){var E=r,z=E.alternate,P=E.stateNode;if(E=E.tag,z!==null&&z===o)break;E!==5&&E!==26&&E!==27||P===null||(z=P,c?(P=Oo(r,d),P!=null&&g.unshift(ls(r,P,z))):c||(P=Oo(r,d),P!=null&&g.push(ls(r,P,z)))),r=r.return}g.length!==0&&t.push({event:n,listeners:g})}var KE=/\r\n?/g,FE=/\u0000|\uFFFD/g;function J0(t){return(typeof t=="string"?t:""+t).replace(KE,`
`).replace(FE,"")}function tv(t,n){return n=J0(n),J0(t)===n}function le(t,n,r,o,c,d){switch(r){case"children":typeof o=="string"?n==="body"||n==="textarea"&&o===""||dl(t,o):(typeof o=="number"||typeof o=="bigint")&&n!=="body"&&dl(t,""+o);break;case"className":uu(t,"class",o);break;case"tabIndex":uu(t,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":uu(t,r,o);break;case"style":ty(t,o,d);break;case"data":if(n!=="object"){uu(t,"data",o);break}case"src":case"href":if(o===""&&(n!=="a"||r!=="href")){t.removeAttribute(r);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(r);break}o=fu(""+o),t.setAttribute(r,o);break;case"action":case"formAction":if(typeof o=="function"){t.setAttribute(r,"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 d=="function"&&(r==="formAction"?(n!=="input"&&le(t,n,"name",c.name,c,null),le(t,n,"formEncType",c.formEncType,c,null),le(t,n,"formMethod",c.formMethod,c,null),le(t,n,"formTarget",c.formTarget,c,null)):(le(t,n,"encType",c.encType,c,null),le(t,n,"method",c.method,c,null),le(t,n,"target",c.target,c,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(r);break}o=fu(""+o),t.setAttribute(r,o);break;case"onClick":o!=null&&(t.onclick=Za);break;case"onScroll":o!=null&&Ut("scroll",t);break;case"onScrollEnd":o!=null&&Ut("scrollend",t);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(l(61));if(r=o.__html,r!=null){if(c.children!=null)throw Error(l(60));t.innerHTML=r}}break;case"multiple":t.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":t.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){t.removeAttribute("xlink:href");break}r=fu(""+o),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(r,""+o):t.removeAttribute(r);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":o&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(r,""):t.removeAttribute(r);break;case"capture":case"download":o===!0?t.setAttribute(r,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(r,o):t.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?t.setAttribute(r,o):t.removeAttribute(r);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?t.removeAttribute(r):t.setAttribute(r,o);break;case"popover":Ut("beforetoggle",t),Ut("toggle",t),su(t,"popover",o);break;case"xlinkActuate":Ia(t,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Ia(t,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Ia(t,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Ia(t,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Ia(t,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Ia(t,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Ia(t,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Ia(t,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Ia(t,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":su(t,"is",o);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=C2.get(r)||r,su(t,r,o))}}function Sp(t,n,r,o,c,d){switch(r){case"style":ty(t,o,d);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(l(61));if(r=o.__html,r!=null){if(c.children!=null)throw Error(l(60));t.innerHTML=r}}break;case"children":typeof o=="string"?dl(t,o):(typeof o=="number"||typeof o=="bigint")&&dl(t,""+o);break;case"onScroll":o!=null&&Ut("scroll",t);break;case"onScrollEnd":o!=null&&Ut("scrollend",t);break;case"onClick":o!=null&&(t.onclick=Za);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Ym.hasOwnProperty(r))t:{if(r[0]==="o"&&r[1]==="n"&&(c=r.endsWith("Capture"),n=r.slice(2,c?r.length-7:void 0),d=t[Tn]||null,d=d!=null?d[r]:null,typeof d=="function"&&t.removeEventListener(n,d,c),typeof o=="function")){typeof d!="function"&&d!==null&&(r in t?t[r]=null:t.hasAttribute(r)&&t.removeAttribute(r)),t.addEventListener(n,o,c);break t}r in t?t[r]=o:o===!0?t.setAttribute(r,""):su(t,r,o)}}}function cn(t,n,r){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ut("error",t),Ut("load",t);var o=!1,c=!1,d;for(d in r)if(r.hasOwnProperty(d)){var g=r[d];if(g!=null)switch(d){case"src":o=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,n));default:le(t,n,d,g,r,null)}}c&&le(t,n,"srcSet",r.srcSet,r,null),o&&le(t,n,"src",r.src,r,null);return;case"input":Ut("invalid",t);var E=d=g=c=null,z=null,P=null;for(o in r)if(r.hasOwnProperty(o)){var J=r[o];if(J!=null)switch(o){case"name":c=J;break;case"type":g=J;break;case"checked":z=J;break;case"defaultChecked":P=J;break;case"value":d=J;break;case"defaultValue":E=J;break;case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(l(137,n));break;default:le(t,n,o,J,r,null)}}Im(t,d,E,z,P,g,c,!1);return;case"select":Ut("invalid",t),o=g=d=null;for(c in r)if(r.hasOwnProperty(c)&&(E=r[c],E!=null))switch(c){case"value":d=E;break;case"defaultValue":g=E;break;case"multiple":o=E;default:le(t,n,c,E,r,null)}n=d,r=g,t.multiple=!!o,n!=null?fl(t,!!o,n,!1):r!=null&&fl(t,!!o,r,!0);return;case"textarea":Ut("invalid",t),d=c=o=null;for(g in r)if(r.hasOwnProperty(g)&&(E=r[g],E!=null))switch(g){case"value":o=E;break;case"defaultValue":c=E;break;case"children":d=E;break;case"dangerouslySetInnerHTML":if(E!=null)throw Error(l(91));break;default:le(t,n,g,E,r,null)}Wm(t,o,c,d);return;case"option":for(z in r)if(r.hasOwnProperty(z)&&(o=r[z],o!=null))switch(z){case"selected":t.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:le(t,n,z,o,r,null)}return;case"dialog":Ut("beforetoggle",t),Ut("toggle",t),Ut("cancel",t),Ut("close",t);break;case"iframe":case"object":Ut("load",t);break;case"video":case"audio":for(o=0;o<is.length;o++)Ut(is[o],t);break;case"image":Ut("error",t),Ut("load",t);break;case"details":Ut("toggle",t);break;case"embed":case"source":case"link":Ut("error",t),Ut("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(P in r)if(r.hasOwnProperty(P)&&(o=r[P],o!=null))switch(P){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,n));default:le(t,n,P,o,r,null)}return;default:if(jf(n)){for(J in r)r.hasOwnProperty(J)&&(o=r[J],o!==void 0&&Sp(t,n,J,o,r,void 0));return}}for(E in r)r.hasOwnProperty(E)&&(o=r[E],o!=null&&le(t,n,E,o,r,null))}function IE(t,n,r,o){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,d=null,g=null,E=null,z=null,P=null,J=null;for(F in r){var rt=r[F];if(r.hasOwnProperty(F)&&rt!=null)switch(F){case"checked":break;case"value":break;case"defaultValue":z=rt;default:o.hasOwnProperty(F)||le(t,n,F,null,o,rt)}}for(var G in o){var F=o[G];if(rt=r[G],o.hasOwnProperty(G)&&(F!=null||rt!=null))switch(G){case"type":d=F;break;case"name":c=F;break;case"checked":P=F;break;case"defaultChecked":J=F;break;case"value":g=F;break;case"defaultValue":E=F;break;case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(l(137,n));break;default:F!==rt&&le(t,n,G,F,o,rt)}}Bf(t,g,E,z,P,J,d,c);return;case"select":F=g=E=G=null;for(d in r)if(z=r[d],r.hasOwnProperty(d)&&z!=null)switch(d){case"value":break;case"multiple":F=z;default:o.hasOwnProperty(d)||le(t,n,d,null,o,z)}for(c in o)if(d=o[c],z=r[c],o.hasOwnProperty(c)&&(d!=null||z!=null))switch(c){case"value":G=d;break;case"defaultValue":E=d;break;case"multiple":g=d;default:d!==z&&le(t,n,c,d,o,z)}n=E,r=g,o=F,G!=null?fl(t,!!r,G,!1):!!o!=!!r&&(n!=null?fl(t,!!r,n,!0):fl(t,!!r,r?[]:"",!1));return;case"textarea":F=G=null;for(E in r)if(c=r[E],r.hasOwnProperty(E)&&c!=null&&!o.hasOwnProperty(E))switch(E){case"value":break;case"children":break;default:le(t,n,E,null,o,c)}for(g in o)if(c=o[g],d=r[g],o.hasOwnProperty(g)&&(c!=null||d!=null))switch(g){case"value":G=c;break;case"defaultValue":F=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(l(91));break;default:c!==d&&le(t,n,g,c,o,d)}Zm(t,G,F);return;case"option":for(var pt in r)if(G=r[pt],r.hasOwnProperty(pt)&&G!=null&&!o.hasOwnProperty(pt))switch(pt){case"selected":t.selected=!1;break;default:le(t,n,pt,null,o,G)}for(z in o)if(G=o[z],F=r[z],o.hasOwnProperty(z)&&G!==F&&(G!=null||F!=null))switch(z){case"selected":t.selected=G&&typeof G!="function"&&typeof G!="symbol";break;default:le(t,n,z,G,o,F)}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 St in r)G=r[St],r.hasOwnProperty(St)&&G!=null&&!o.hasOwnProperty(St)&&le(t,n,St,null,o,G);for(P in o)if(G=o[P],F=r[P],o.hasOwnProperty(P)&&G!==F&&(G!=null||F!=null))switch(P){case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(l(137,n));break;default:le(t,n,P,G,o,F)}return;default:if(jf(n)){for(var oe in r)G=r[oe],r.hasOwnProperty(oe)&&G!==void 0&&!o.hasOwnProperty(oe)&&Sp(t,n,oe,void 0,o,G);for(J in o)G=o[J],F=r[J],!o.hasOwnProperty(J)||G===F||G===void 0&&F===void 0||Sp(t,n,J,G,o,F);return}}for(var k in r)G=r[k],r.hasOwnProperty(k)&&G!=null&&!o.hasOwnProperty(k)&&le(t,n,k,null,o,G);for(rt in o)G=o[rt],F=r[rt],!o.hasOwnProperty(rt)||G===F||G==null&&F==null||le(t,n,rt,G,o,F)}function ev(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function ZE(){if(typeof performance.getEntriesByType=="function"){for(var t=0,n=0,r=performance.getEntriesByType("resource"),o=0;o<r.length;o++){var c=r[o],d=c.transferSize,g=c.initiatorType,E=c.duration;if(d&&E&&ev(g)){for(g=0,E=c.responseEnd,o+=1;o<r.length;o++){var z=r[o],P=z.startTime;if(P>E)break;var J=z.transferSize,rt=z.initiatorType;J&&ev(rt)&&(z=z.responseEnd,g+=J*(z<E?1:(E-P)/(z-P)))}if(--o,n+=8*(d+g)/(c.duration/1e3),t++,10<t)break}}if(0<t)return n/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var xp=null,Ep=null;function lc(t){return t.nodeType===9?t:t.ownerDocument}function nv(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function av(t,n){if(t===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&n==="foreignObject"?0:t}function Cp(t,n){return t==="textarea"||t==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Tp=null;function WE(){var t=window.event;return t&&t.type==="popstate"?t===Tp?!1:(Tp=t,!0):(Tp=null,!1)}var rv=typeof setTimeout=="function"?setTimeout:void 0,JE=typeof clearTimeout=="function"?clearTimeout:void 0,iv=typeof Promise=="function"?Promise:void 0,tC=typeof queueMicrotask=="function"?queueMicrotask:typeof iv<"u"?function(t){return iv.resolve(null).then(t).catch(eC)}:rv;function eC(t){setTimeout(function(){throw t})}function Gr(t){return t==="head"}function lv(t,n){var r=n,o=0;do{var c=r.nextSibling;if(t.removeChild(r),c&&c.nodeType===8)if(r=c.data,r==="/$"||r==="/&"){if(o===0){t.removeChild(c),Vl(n);return}o--}else if(r==="$"||r==="$?"||r==="$~"||r==="$!"||r==="&")o++;else if(r==="html")os(t.ownerDocument.documentElement);else if(r==="head"){r=t.ownerDocument.head,os(r);for(var d=r.firstChild;d;){var g=d.nextSibling,E=d.nodeName;d[wo]||E==="SCRIPT"||E==="STYLE"||E==="LINK"&&d.rel.toLowerCase()==="stylesheet"||r.removeChild(d),d=g}}else r==="body"&&os(t.ownerDocument.body);r=c}while(r);Vl(n)}function ov(t,n){var r=t;t=0;do{var o=r.nextSibling;if(r.nodeType===1?n?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(n?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),o&&o.nodeType===8)if(r=o.data,r==="/$"){if(t===0)break;t--}else r!=="$"&&r!=="$?"&&r!=="$~"&&r!=="$!"||t++;r=o}while(r)}function wp(t){var n=t.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var r=n;switch(n=n.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":wp(r),_f(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}t.removeChild(r)}}function nC(t,n,r,o){for(;t.nodeType===1;){var c=r;if(t.nodeName.toLowerCase()!==n.toLowerCase()){if(!o&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(o){if(!t[wo])switch(n){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(d=t.getAttribute("rel"),d==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(d!==c.rel||t.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||t.getAttribute("title")!==(c.title==null?null:c.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(d=t.getAttribute("src"),(d!==(c.src==null?null:c.src)||t.getAttribute("type")!==(c.type==null?null:c.type)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&d&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(n==="input"&&t.type==="hidden"){var d=c.name==null?null:""+c.name;if(c.type==="hidden"&&t.getAttribute("name")===d)return t}else return t;if(t=oa(t.nextSibling),t===null)break}return null}function aC(t,n,r){if(n==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!r||(t=oa(t.nextSibling),t===null))return null;return t}function sv(t,n){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=oa(t.nextSibling),t===null))return null;return t}function Rp(t){return t.data==="$?"||t.data==="$~"}function Op(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function rC(t,n){var r=t.ownerDocument;if(t.data==="$~")t._reactRetry=n;else if(t.data!=="$?"||r.readyState!=="loading")n();else{var o=function(){n(),r.removeEventListener("DOMContentLoaded",o)};r.addEventListener("DOMContentLoaded",o),t._reactRetry=o}}function oa(t){for(;t!=null;t=t.nextSibling){var n=t.nodeType;if(n===1||n===3)break;if(n===8){if(n=t.data,n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"||n==="F!"||n==="F")break;if(n==="/$"||n==="/&")return null}}return t}var Ap=null;function uv(t){t=t.nextSibling;for(var n=0;t;){if(t.nodeType===8){var r=t.data;if(r==="/$"||r==="/&"){if(n===0)return oa(t.nextSibling);n--}else r!=="$"&&r!=="$!"&&r!=="$?"&&r!=="$~"&&r!=="&"||n++}t=t.nextSibling}return null}function cv(t){t=t.previousSibling;for(var n=0;t;){if(t.nodeType===8){var r=t.data;if(r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"){if(n===0)return t;n--}else r!=="/$"&&r!=="/&"||n++}t=t.previousSibling}return null}function fv(t,n,r){switch(n=lc(r),t){case"html":if(t=n.documentElement,!t)throw Error(l(452));return t;case"head":if(t=n.head,!t)throw Error(l(453));return t;case"body":if(t=n.body,!t)throw Error(l(454));return t;default:throw Error(l(451))}}function os(t){for(var n=t.attributes;n.length;)t.removeAttributeNode(n[0]);_f(t)}var sa=new Map,dv=new Set;function oc(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var pr=Y.d;Y.d={f:iC,r:lC,D:oC,C:sC,L:uC,m:cC,X:dC,S:fC,M:pC};function iC(){var t=pr.f(),n=Wu();return t||n}function lC(t){var n=sl(t);n!==null&&n.tag===5&&n.type==="form"?Mg(n):pr.r(t)}var $l=typeof document>"u"?null:document;function pv(t,n,r){var o=$l;if(o&&typeof n=="string"&&n){var c=ta(n);c='link[rel="'+t+'"][href="'+c+'"]',typeof r=="string"&&(c+='[crossorigin="'+r+'"]'),dv.has(c)||(dv.add(c),t={rel:t,crossOrigin:r,href:n},o.querySelector(c)===null&&(n=o.createElement("link"),cn(n,"link",t),Ze(n),o.head.appendChild(n)))}}function oC(t){pr.D(t),pv("dns-prefetch",t,null)}function sC(t,n){pr.C(t,n),pv("preconnect",t,n)}function uC(t,n,r){pr.L(t,n,r);var o=$l;if(o&&t&&n){var c='link[rel="preload"][as="'+ta(n)+'"]';n==="image"&&r&&r.imageSrcSet?(c+='[imagesrcset="'+ta(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(c+='[imagesizes="'+ta(r.imageSizes)+'"]')):c+='[href="'+ta(t)+'"]';var d=c;switch(n){case"style":d=ql(t);break;case"script":d=Pl(t)}sa.has(d)||(t=v({rel:"preload",href:n==="image"&&r&&r.imageSrcSet?void 0:t,as:n},r),sa.set(d,t),o.querySelector(c)!==null||n==="style"&&o.querySelector(ss(d))||n==="script"&&o.querySelector(us(d))||(n=o.createElement("link"),cn(n,"link",t),Ze(n),o.head.appendChild(n)))}}function cC(t,n){pr.m(t,n);var r=$l;if(r&&t){var o=n&&typeof n.as=="string"?n.as:"script",c='link[rel="modulepreload"][as="'+ta(o)+'"][href="'+ta(t)+'"]',d=c;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=Pl(t)}if(!sa.has(d)&&(t=v({rel:"modulepreload",href:t},n),sa.set(d,t),r.querySelector(c)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(us(d)))return}o=r.createElement("link"),cn(o,"link",t),Ze(o),r.head.appendChild(o)}}}function fC(t,n,r){pr.S(t,n,r);var o=$l;if(o&&t){var c=ul(o).hoistableStyles,d=ql(t);n=n||"default";var g=c.get(d);if(!g){var E={loading:0,preload:null};if(g=o.querySelector(ss(d)))E.loading=5;else{t=v({rel:"stylesheet",href:t,"data-precedence":n},r),(r=sa.get(d))&&Mp(t,r);var z=g=o.createElement("link");Ze(z),cn(z,"link",t),z._p=new Promise(function(P,J){z.onload=P,z.onerror=J}),z.addEventListener("load",function(){E.loading|=1}),z.addEventListener("error",function(){E.loading|=2}),E.loading|=4,sc(g,n,o)}g={type:"stylesheet",instance:g,count:1,state:E},c.set(d,g)}}}function dC(t,n){pr.X(t,n);var r=$l;if(r&&t){var o=ul(r).hoistableScripts,c=Pl(t),d=o.get(c);d||(d=r.querySelector(us(c)),d||(t=v({src:t,async:!0},n),(n=sa.get(c))&&_p(t,n),d=r.createElement("script"),Ze(d),cn(d,"link",t),r.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(c,d))}}function pC(t,n){pr.M(t,n);var r=$l;if(r&&t){var o=ul(r).hoistableScripts,c=Pl(t),d=o.get(c);d||(d=r.querySelector(us(c)),d||(t=v({src:t,async:!0,type:"module"},n),(n=sa.get(c))&&_p(t,n),d=r.createElement("script"),Ze(d),cn(d,"link",t),r.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(c,d))}}function hv(t,n,r,o){var c=(c=ht.current)?oc(c):null;if(!c)throw Error(l(446));switch(t){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(n=ql(r.href),r=ul(c).hoistableStyles,o=r.get(n),o||(o={type:"style",instance:null,count:0,state:null},r.set(n,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){t=ql(r.href);var d=ul(c).hoistableStyles,g=d.get(t);if(g||(c=c.ownerDocument||c,g={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(t,g),(d=c.querySelector(ss(t)))&&!d._p&&(g.instance=d,g.state.loading=5),sa.has(t)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},sa.set(t,r),d||hC(c,t,r,g.state))),n&&o===null)throw Error(l(528,""));return g}if(n&&o!==null)throw Error(l(529,""));return null;case"script":return n=r.async,r=r.src,typeof r=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=Pl(r),r=ul(c).hoistableScripts,o=r.get(n),o||(o={type:"script",instance:null,count:0,state:null},r.set(n,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,t))}}function ql(t){return'href="'+ta(t)+'"'}function ss(t){return'link[rel="stylesheet"]['+t+"]"}function mv(t){return v({},t,{"data-precedence":t.precedence,precedence:null})}function hC(t,n,r,o){t.querySelector('link[rel="preload"][as="style"]['+n+"]")?o.loading=1:(n=t.createElement("link"),o.preload=n,n.addEventListener("load",function(){return o.loading|=1}),n.addEventListener("error",function(){return o.loading|=2}),cn(n,"link",r),Ze(n),t.head.appendChild(n))}function Pl(t){return'[src="'+ta(t)+'"]'}function us(t){return"script[async]"+t}function yv(t,n,r){if(n.count++,n.instance===null)switch(n.type){case"style":var o=t.querySelector('style[data-href~="'+ta(r.href)+'"]');if(o)return n.instance=o,Ze(o),o;var c=v({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return o=(t.ownerDocument||t).createElement("style"),Ze(o),cn(o,"style",c),sc(o,r.precedence,t),n.instance=o;case"stylesheet":c=ql(r.href);var d=t.querySelector(ss(c));if(d)return n.state.loading|=4,n.instance=d,Ze(d),d;o=mv(r),(c=sa.get(c))&&Mp(o,c),d=(t.ownerDocument||t).createElement("link"),Ze(d);var g=d;return g._p=new Promise(function(E,z){g.onload=E,g.onerror=z}),cn(d,"link",o),n.state.loading|=4,sc(d,r.precedence,t),n.instance=d;case"script":return d=Pl(r.src),(c=t.querySelector(us(d)))?(n.instance=c,Ze(c),c):(o=r,(c=sa.get(d))&&(o=v({},r),_p(o,c)),t=t.ownerDocument||t,c=t.createElement("script"),Ze(c),cn(c,"link",o),t.head.appendChild(c),n.instance=c);case"void":return null;default:throw Error(l(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(o=n.instance,n.state.loading|=4,sc(o,r.precedence,t));return n.instance}function sc(t,n,r){for(var o=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=o.length?o[o.length-1]:null,d=c,g=0;g<o.length;g++){var E=o[g];if(E.dataset.precedence===n)d=E;else if(d!==c)break}d?d.parentNode.insertBefore(t,d.nextSibling):(n=r.nodeType===9?r.head:r,n.insertBefore(t,n.firstChild))}function Mp(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.title==null&&(t.title=n.title)}function _p(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.integrity==null&&(t.integrity=n.integrity)}var uc=null;function gv(t,n,r){if(uc===null){var o=new Map,c=uc=new Map;c.set(r,o)}else c=uc,o=c.get(r),o||(o=new Map,c.set(r,o));if(o.has(t))return o;for(o.set(t,null),r=r.getElementsByTagName(t),c=0;c<r.length;c++){var d=r[c];if(!(d[wo]||d[ln]||t==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var g=d.getAttribute(n)||"";g=t+g;var E=o.get(g);E?E.push(d):o.set(g,[d])}}return o}function vv(t,n,r){t=t.ownerDocument||t,t.head.insertBefore(r,n==="title"?t.querySelector("head > title"):null)}function mC(t,n,r){if(r===1||n.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;switch(n.rel){case"stylesheet":return t=n.disabled,typeof n.precedence=="string"&&t==null;default:return!0}case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function bv(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function yC(t,n,r,o){if(r.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var c=ql(o.href),d=n.querySelector(ss(c));if(d){n=d._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(t.count++,t=cc.bind(t),n.then(t,t)),r.state.loading|=4,r.instance=d,Ze(d);return}d=n.ownerDocument||n,o=mv(o),(c=sa.get(c))&&Mp(o,c),d=d.createElement("link"),Ze(d);var g=d;g._p=new Promise(function(E,z){g.onload=E,g.onerror=z}),cn(d,"link",o),r.instance=d}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(r,n),(n=r.state.preload)&&(r.state.loading&3)===0&&(t.count++,r=cc.bind(t),n.addEventListener("load",r),n.addEventListener("error",r))}}var zp=0;function gC(t,n){return t.stylesheets&&t.count===0&&dc(t,t.stylesheets),0<t.count||0<t.imgCount?function(r){var o=setTimeout(function(){if(t.stylesheets&&dc(t,t.stylesheets),t.unsuspend){var d=t.unsuspend;t.unsuspend=null,d()}},6e4+n);0<t.imgBytes&&zp===0&&(zp=62500*ZE());var c=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&dc(t,t.stylesheets),t.unsuspend)){var d=t.unsuspend;t.unsuspend=null,d()}},(t.imgBytes>zp?50:800)+n);return t.unsuspend=r,function(){t.unsuspend=null,clearTimeout(o),clearTimeout(c)}}:null}function cc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)dc(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var fc=null;function dc(t,n){t.stylesheets=null,t.unsuspend!==null&&(t.count++,fc=new Map,n.forEach(vC,t),fc=null,cc.call(t))}function vC(t,n){if(!(n.state.loading&4)){var r=fc.get(t);if(r)var o=r.get(null);else{r=new Map,fc.set(t,r);for(var c=t.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<c.length;d++){var g=c[d];(g.nodeName==="LINK"||g.getAttribute("media")!=="not all")&&(r.set(g.dataset.precedence,g),o=g)}o&&r.set(null,o)}c=n.instance,g=c.getAttribute("data-precedence"),d=r.get(g)||o,d===o&&r.set(null,c),r.set(g,c),this.count++,o=cc.bind(this),c.addEventListener("load",o),c.addEventListener("error",o),d?d.parentNode.insertBefore(c,d.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(c,t.firstChild)),n.state.loading|=4}}var cs={$$typeof:j,Provider:null,Consumer:null,_currentValue:it,_currentValue2:it,_threadCount:0};function bC(t,n,r,o,c,d,g,E,z){this.tag=1,this.containerInfo=t,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=Te(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Te(0),this.hiddenUpdates=Te(null),this.identifierPrefix=o,this.onUncaughtError=c,this.onCaughtError=d,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=z,this.incompleteTransitions=new Map}function Sv(t,n,r,o,c,d,g,E,z,P,J,rt){return t=new bC(t,n,r,g,z,P,J,rt,E),n=1,d===!0&&(n|=24),d=$n(3,null,null,n),t.current=d,d.stateNode=t,n=cd(),n.refCount++,t.pooledCache=n,n.refCount++,d.memoizedState={element:o,isDehydrated:r,cache:n},hd(d),t}function xv(t){return t?(t=bl,t):bl}function Ev(t,n,r,o,c,d){c=xv(c),o.context===null?o.context=c:o.pendingContext=c,o=Dr(n),o.payload={element:r},d=d===void 0?null:d,d!==null&&(o.callback=d),r=jr(t,o,n),r!==null&&(_n(r,t,n),Po(r,t,n))}function Cv(t,n){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var r=t.retryLane;t.retryLane=r!==0&&r<n?r:n}}function Bp(t,n){Cv(t,n),(t=t.alternate)&&Cv(t,n)}function Tv(t){if(t.tag===13||t.tag===31){var n=vi(t,67108864);n!==null&&_n(n,t,67108864),Bp(t,67108864)}}function wv(t){if(t.tag===13||t.tag===31){var n=Yn();n=Cn(n);var r=vi(t,n);r!==null&&_n(r,t,n),Bp(t,n)}}var pc=!0;function SC(t,n,r,o){var c=D.T;D.T=null;var d=Y.p;try{Y.p=2,Dp(t,n,r,o)}finally{Y.p=d,D.T=c}}function xC(t,n,r,o){var c=D.T;D.T=null;var d=Y.p;try{Y.p=8,Dp(t,n,r,o)}finally{Y.p=d,D.T=c}}function Dp(t,n,r,o){if(pc){var c=jp(o);if(c===null)bp(t,n,o,hc,r),Ov(t,o);else if(CC(c,t,n,r,o))o.stopPropagation();else if(Ov(t,o),n&4&&-1<EC.indexOf(t)){for(;c!==null;){var d=sl(c);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var g=xa(d.pendingLanes);if(g!==0){var E=d;for(E.pendingLanes|=2,E.entangledLanes|=2;g;){var z=1<<31-Qe(g);E.entanglements[1]|=z,g&=~z}Na(d),(Ft&6)===0&&(Iu=ge()+500,rs(0))}}break;case 31:case 13:E=vi(d,2),E!==null&&_n(E,d,2),Wu(),Bp(d,2)}if(d=jp(o),d===null&&bp(t,n,o,hc,r),d===c)break;c=d}c!==null&&o.stopPropagation()}else bp(t,n,o,null,r)}}function jp(t){return t=Uf(t),Np(t)}var hc=null;function Np(t){if(hc=null,t=ol(t),t!==null){var n=u(t);if(n===null)t=null;else{var r=n.tag;if(r===13){if(t=f(n),t!==null)return t;t=null}else if(r===31){if(t=p(n),t!==null)return t;t=null}else if(r===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;t=null}else n!==t&&(t=null)}}return hc=t,null}function Rv(t){switch(t){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(Sa()){case In:return 2;case En:return 8;case an:case Zn:return 32;case Ce:return 268435456;default:return 32}default:return 32}}var Up=!1,Yr=null,Qr=null,Xr=null,fs=new Map,ds=new Map,Kr=[],EC="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 Ov(t,n){switch(t){case"focusin":case"focusout":Yr=null;break;case"dragenter":case"dragleave":Qr=null;break;case"mouseover":case"mouseout":Xr=null;break;case"pointerover":case"pointerout":fs.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":ds.delete(n.pointerId)}}function ps(t,n,r,o,c,d){return t===null||t.nativeEvent!==d?(t={blockedOn:n,domEventName:r,eventSystemFlags:o,nativeEvent:d,targetContainers:[c]},n!==null&&(n=sl(n),n!==null&&Tv(n)),t):(t.eventSystemFlags|=o,n=t.targetContainers,c!==null&&n.indexOf(c)===-1&&n.push(c),t)}function CC(t,n,r,o,c){switch(n){case"focusin":return Yr=ps(Yr,t,n,r,o,c),!0;case"dragenter":return Qr=ps(Qr,t,n,r,o,c),!0;case"mouseover":return Xr=ps(Xr,t,n,r,o,c),!0;case"pointerover":var d=c.pointerId;return fs.set(d,ps(fs.get(d)||null,t,n,r,o,c)),!0;case"gotpointercapture":return d=c.pointerId,ds.set(d,ps(ds.get(d)||null,t,n,r,o,c)),!0}return!1}function Av(t){var n=ol(t.target);if(n!==null){var r=u(n);if(r!==null){if(n=r.tag,n===13){if(n=f(r),n!==null){t.blockedOn=n,To(t.priority,function(){wv(r)});return}}else if(n===31){if(n=p(r),n!==null){t.blockedOn=n,To(t.priority,function(){wv(r)});return}}else if(n===3&&r.stateNode.current.memoizedState.isDehydrated){t.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}t.blockedOn=null}function mc(t){if(t.blockedOn!==null)return!1;for(var n=t.targetContainers;0<n.length;){var r=jp(t.nativeEvent);if(r===null){r=t.nativeEvent;var o=new r.constructor(r.type,r);Nf=o,r.target.dispatchEvent(o),Nf=null}else return n=sl(r),n!==null&&Tv(n),t.blockedOn=r,!1;n.shift()}return!0}function Mv(t,n,r){mc(t)&&r.delete(n)}function TC(){Up=!1,Yr!==null&&mc(Yr)&&(Yr=null),Qr!==null&&mc(Qr)&&(Qr=null),Xr!==null&&mc(Xr)&&(Xr=null),fs.forEach(Mv),ds.forEach(Mv)}function yc(t,n){t.blockedOn===n&&(t.blockedOn=null,Up||(Up=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,TC)))}var gc=null;function _v(t){gc!==t&&(gc=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){gc===t&&(gc=null);for(var n=0;n<t.length;n+=3){var r=t[n],o=t[n+1],c=t[n+2];if(typeof o!="function"){if(Np(o||r)===null)continue;break}var d=sl(r);d!==null&&(t.splice(n,3),n-=3,jd(d,{pending:!0,data:c,method:r.method,action:o},o,c))}}))}function Vl(t){function n(z){return yc(z,t)}Yr!==null&&yc(Yr,t),Qr!==null&&yc(Qr,t),Xr!==null&&yc(Xr,t),fs.forEach(n),ds.forEach(n);for(var r=0;r<Kr.length;r++){var o=Kr[r];o.blockedOn===t&&(o.blockedOn=null)}for(;0<Kr.length&&(r=Kr[0],r.blockedOn===null);)Av(r),r.blockedOn===null&&Kr.shift();if(r=(t.ownerDocument||t).$$reactFormReplay,r!=null)for(o=0;o<r.length;o+=3){var c=r[o],d=r[o+1],g=c[Tn]||null;if(typeof d=="function")g||_v(r);else if(g){var E=null;if(d&&d.hasAttribute("formAction")){if(c=d,g=d[Tn]||null)E=g.formAction;else if(Np(c)!==null)continue}else E=g.action;typeof E=="function"?r[o+1]=E:(r.splice(o,3),o-=3),_v(r)}}}function zv(){function t(d){d.canIntercept&&d.info==="react-transition"&&d.intercept({handler:function(){return new Promise(function(g){return c=g})},focusReset:"manual",scroll:"manual"})}function n(){c!==null&&(c(),c=null),o||setTimeout(r,20)}function r(){if(!o&&!navigation.transition){var d=navigation.currentEntry;d&&d.url!=null&&navigation.navigate(d.url,{state:d.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,c=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(r,100),function(){o=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),c!==null&&(c(),c=null)}}}function Lp(t){this._internalRoot=t}vc.prototype.render=Lp.prototype.render=function(t){var n=this._internalRoot;if(n===null)throw Error(l(409));var r=n.current,o=Yn();Ev(r,o,t,n,null,null)},vc.prototype.unmount=Lp.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var n=t.containerInfo;Ev(t.current,2,null,t,null,null),Wu(),n[ll]=null}};function vc(t){this._internalRoot=t}vc.prototype.unstable_scheduleHydration=function(t){if(t){var n=Rr();t={blockedOn:null,target:t,priority:n};for(var r=0;r<Kr.length&&n!==0&&n<Kr[r].priority;r++);Kr.splice(r,0,t),r===0&&Av(t)}};var Bv=a.version;if(Bv!=="19.2.4")throw Error(l(527,Bv,"19.2.4"));Y.findDOMNode=function(t){var n=t._reactInternals;if(n===void 0)throw typeof t.render=="function"?Error(l(188)):(t=Object.keys(t).join(","),Error(l(268,t)));return t=m(n),t=t!==null?y(t):null,t=t===null?null:t.stateNode,t};var wC={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var bc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!bc.isDisabled&&bc.supportsFiber)try{pe=bc.inject(wC),Mt=bc}catch{}}return ms.createRoot=function(t,n){if(!s(t))throw Error(l(299));var r=!1,o="",c=kg,d=$g,g=qg;return n!=null&&(n.unstable_strictMode===!0&&(r=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(g=n.onRecoverableError)),n=Sv(t,1,!1,null,null,r,o,null,c,d,g,zv),t[ll]=n.current,vp(t),new Lp(n)},ms.hydrateRoot=function(t,n,r){if(!s(t))throw Error(l(299));var o=!1,c="",d=kg,g=$g,E=qg,z=null;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(c=r.identifierPrefix),r.onUncaughtError!==void 0&&(d=r.onUncaughtError),r.onCaughtError!==void 0&&(g=r.onCaughtError),r.onRecoverableError!==void 0&&(E=r.onRecoverableError),r.formState!==void 0&&(z=r.formState)),n=Sv(t,1,!0,n,r??null,o,c,z,d,g,E,zv),n.context=xv(null),r=n.current,o=Yn(),o=Cn(o),c=Dr(o),c.callback=null,jr(r,c,o),r=o,n.current.lanes=r,ut(n,r),Na(n),t[ll]=n.current,vp(t),new vc(n)},ms.version="19.2.4",ms}var Vv;function LC(){if(Vv)return qp.exports;Vv=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(a){console.error(a)}}return e(),qp.exports=UC(),qp.exports}var HC=LC();const kC=nm(HC),$C="modulepreload",qC=function(e,a){return new URL(e,a).href},Gv={},ze=function(a,i,l){let s=Promise.resolve();if(i&&i.length>0){let f=function(y){return Promise.all(y.map(v=>Promise.resolve(v).then(T=>({status:"fulfilled",value:T}),T=>({status:"rejected",reason:T}))))};const p=document.getElementsByTagName("link"),h=document.querySelector("meta[property=csp-nonce]"),m=(h==null?void 0:h.nonce)||(h==null?void 0:h.getAttribute("nonce"));s=f(i.map(y=>{if(y=qC(y,l),y in Gv)return;Gv[y]=!0;const v=y.endsWith(".css"),T=v?'[rel="stylesheet"]':"";if(!!l)for(let b=p.length-1;b>=0;b--){const C=p[b];if(C.href===y&&(!v||C.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${y}"]${T}`))return;const S=document.createElement("link");if(S.rel=v?"stylesheet":$C,v||(S.as="script"),S.crossOrigin="",S.href=y,m&&S.setAttribute("nonce",m),document.head.appendChild(S),v)return new Promise((b,C)=>{S.addEventListener("load",b),S.addEventListener("error",()=>C(new Error(`Unable to preload CSS for ${y}`)))})}))}function u(f){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=f,window.dispatchEvent(p),!p.defaultPrevented)throw f}return s.then(f=>{for(const p of f||[])p.status==="rejected"&&u(p.reason);return a().catch(u)})};var lS=iS();const xc=nm(lS);/**
 * @remix-run/router v1.23.2
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function As(){return As=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var i=arguments[a];for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(e[l]=i[l])}return e},As.apply(this,arguments)}var ii;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(ii||(ii={}));const Yv="popstate";function PC(e){e===void 0&&(e={});function a(s,u){let{pathname:f="/",search:p="",hash:h=""}=al(s.location.hash.substr(1));return!f.startsWith("/")&&!f.startsWith(".")&&(f="/"+f),fh("",{pathname:f,search:p,hash:h},u.state&&u.state.usr||null,u.state&&u.state.key||"default")}function i(s,u){let f=s.document.querySelector("base"),p="";if(f&&f.getAttribute("href")){let h=s.location.href,m=h.indexOf("#");p=m===-1?h:h.slice(0,m)}return p+"#"+(typeof u=="string"?u:oS(u))}function l(s,u){tf(s.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(u)+")")}return GC(a,i,l,e)}function Pe(e,a){if(e===!1||e===null||typeof e>"u")throw new Error(a)}function tf(e,a){if(!e){typeof console<"u"&&console.warn(a);try{throw new Error(a)}catch{}}}function VC(){return Math.random().toString(36).substr(2,8)}function Qv(e,a){return{usr:e.state,key:e.key,idx:a}}function fh(e,a,i,l){return i===void 0&&(i=null),As({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof a=="string"?al(a):a,{state:i,key:a&&a.key||l||VC()})}function oS(e){let{pathname:a="/",search:i="",hash:l=""}=e;return i&&i!=="?"&&(a+=i.charAt(0)==="?"?i:"?"+i),l&&l!=="#"&&(a+=l.charAt(0)==="#"?l:"#"+l),a}function al(e){let a={};if(e){let i=e.indexOf("#");i>=0&&(a.hash=e.substr(i),e=e.substr(0,i));let l=e.indexOf("?");l>=0&&(a.search=e.substr(l),e=e.substr(0,l)),e&&(a.pathname=e)}return a}function GC(e,a,i,l){l===void 0&&(l={});let{window:s=document.defaultView,v5Compat:u=!1}=l,f=s.history,p=ii.Pop,h=null,m=y();m==null&&(m=0,f.replaceState(As({},f.state,{idx:m}),""));function y(){return(f.state||{idx:null}).idx}function v(){p=ii.Pop;let C=y(),M=C==null?null:C-m;m=C,h&&h({action:p,location:b.location,delta:M})}function T(C,M){p=ii.Push;let L=fh(b.location,C,M);i&&i(L,C),m=y()+1;let j=Qv(L,m),O=b.createHref(L);try{f.pushState(j,"",O)}catch(B){if(B instanceof DOMException&&B.name==="DataCloneError")throw B;s.location.assign(O)}u&&h&&h({action:p,location:b.location,delta:1})}function x(C,M){p=ii.Replace;let L=fh(b.location,C,M);i&&i(L,C),m=y();let j=Qv(L,m),O=b.createHref(L);f.replaceState(j,"",O),u&&h&&h({action:p,location:b.location,delta:0})}function S(C){let M=s.location.origin!=="null"?s.location.origin:s.location.href,L=typeof C=="string"?C:oS(C);return L=L.replace(/ $/,"%20"),Pe(M,"No window.location.(origin|href) available to create URL for href: "+L),new URL(L,M)}let b={get action(){return p},get location(){return e(s,f)},listen(C){if(h)throw new Error("A history only accepts one active listener");return s.addEventListener(Yv,v),h=C,()=>{s.removeEventListener(Yv,v),h=null}},createHref(C){return a(s,C)},createURL:S,encodeLocation(C){let M=S(C);return{pathname:M.pathname,search:M.search,hash:M.hash}},push:T,replace:x,go(C){return f.go(C)}};return b}var Xv;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Xv||(Xv={}));function YC(e,a,i){return i===void 0&&(i="/"),QC(e,a,i)}function QC(e,a,i,l){let s=typeof a=="string"?al(a):a,u=cS(s.pathname||"/",i);if(u==null)return null;let f=sS(e);XC(f);let p=null;for(let h=0;p==null&&h<f.length;++h){let m=iT(u);p=nT(f[h],m)}return p}function sS(e,a,i,l){a===void 0&&(a=[]),i===void 0&&(i=[]),l===void 0&&(l="");let s=(u,f,p)=>{let h={relativePath:p===void 0?u.path||"":p,caseSensitive:u.caseSensitive===!0,childrenIndex:f,route:u};h.relativePath.startsWith("/")&&(Pe(h.relativePath.startsWith(l),'Absolute route path "'+h.relativePath+'" nested under path '+('"'+l+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),h.relativePath=h.relativePath.slice(l.length));let m=Fi([l,h.relativePath]),y=i.concat(h);u.children&&u.children.length>0&&(Pe(u.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+m+'".')),sS(u.children,a,y,m)),!(u.path==null&&!u.index)&&a.push({path:m,score:tT(m,u.index),routesMeta:y})};return e.forEach((u,f)=>{var p;if(u.path===""||!((p=u.path)!=null&&p.includes("?")))s(u,f);else for(let h of uS(u.path))s(u,f,h)}),a}function uS(e){let a=e.split("/");if(a.length===0)return[];let[i,...l]=a,s=i.endsWith("?"),u=i.replace(/\?$/,"");if(l.length===0)return s?[u,""]:[u];let f=uS(l.join("/")),p=[];return p.push(...f.map(h=>h===""?u:[u,h].join("/"))),s&&p.push(...f),p.map(h=>e.startsWith("/")&&h===""?"/":h)}function XC(e){e.sort((a,i)=>a.score!==i.score?i.score-a.score:eT(a.routesMeta.map(l=>l.childrenIndex),i.routesMeta.map(l=>l.childrenIndex)))}const KC=/^:[\w-]+$/,FC=3,IC=2,ZC=1,WC=10,JC=-2,Kv=e=>e==="*";function tT(e,a){let i=e.split("/"),l=i.length;return i.some(Kv)&&(l+=JC),a&&(l+=IC),i.filter(s=>!Kv(s)).reduce((s,u)=>s+(KC.test(u)?FC:u===""?ZC:WC),l)}function eT(e,a){return e.length===a.length&&e.slice(0,-1).every((l,s)=>l===a[s])?e[e.length-1]-a[a.length-1]:0}function nT(e,a,i){let{routesMeta:l}=e,s={},u="/",f=[];for(let p=0;p<l.length;++p){let h=l[p],m=p===l.length-1,y=u==="/"?a:a.slice(u.length)||"/",v=aT({path:h.relativePath,caseSensitive:h.caseSensitive,end:m},y),T=h.route;if(!v)return null;Object.assign(s,v.params),f.push({params:s,pathname:Fi([u,v.pathname]),pathnameBase:cT(Fi([u,v.pathnameBase])),route:T}),v.pathnameBase!=="/"&&(u=Fi([u,v.pathnameBase]))}return f}function aT(e,a){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[i,l]=rT(e.path,e.caseSensitive,e.end),s=a.match(i);if(!s)return null;let u=s[0],f=u.replace(/(.)\/+$/,"$1"),p=s.slice(1);return{params:l.reduce((m,y,v)=>{let{paramName:T,isOptional:x}=y;if(T==="*"){let b=p[v]||"";f=u.slice(0,u.length-b.length).replace(/(.)\/+$/,"$1")}const S=p[v];return x&&!S?m[T]=void 0:m[T]=(S||"").replace(/%2F/g,"/"),m},{}),pathname:u,pathnameBase:f,pattern:e}}function rT(e,a,i){a===void 0&&(a=!1),i===void 0&&(i=!0),tf(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let l=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,p,h)=>(l.push({paramName:p,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(l.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,a?void 0:"i"),l]}function iT(e){try{return e.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return tf(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+a+").")),e}}function cS(e,a){if(a==="/")return e;if(!e.toLowerCase().startsWith(a.toLowerCase()))return null;let i=a.endsWith("/")?a.length-1:a.length,l=e.charAt(i);return l&&l!=="/"?null:e.slice(i)||"/"}const lT=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,oT=e=>lT.test(e);function sT(e,a){a===void 0&&(a="/");let{pathname:i,search:l="",hash:s=""}=typeof e=="string"?al(e):e,u;if(i)if(oT(i))u=i;else{if(i.includes("//")){let f=i;i=i.replace(/\/\/+/g,"/"),tf(!1,"Pathnames cannot have embedded double slashes - normalizing "+(f+" -> "+i))}i.startsWith("/")?u=Fv(i.substring(1),"/"):u=Fv(i,a)}else u=a;return{pathname:u,search:fT(l),hash:dT(s)}}function Fv(e,a){let i=a.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?i.length>1&&i.pop():s!=="."&&i.push(s)}),i.length>1?i.join("/"):"/"}function Yp(e,a,i,l){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+a+"` field ["+JSON.stringify(l)+"].  Please separate it out to the ")+("`to."+i+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function uT(e){return e.filter((a,i)=>i===0||a.route.path&&a.route.path.length>0)}function fS(e,a){let i=uT(e);return a?i.map((l,s)=>s===i.length-1?l.pathname:l.pathnameBase):i.map(l=>l.pathnameBase)}function dS(e,a,i,l){l===void 0&&(l=!1);let s;typeof e=="string"?s=al(e):(s=As({},e),Pe(!s.pathname||!s.pathname.includes("?"),Yp("?","pathname","search",s)),Pe(!s.pathname||!s.pathname.includes("#"),Yp("#","pathname","hash",s)),Pe(!s.search||!s.search.includes("#"),Yp("#","search","hash",s)));let u=e===""||s.pathname==="",f=u?"/":s.pathname,p;if(f==null)p=i;else{let v=a.length-1;if(!l&&f.startsWith("..")){let T=f.split("/");for(;T[0]==="..";)T.shift(),v-=1;s.pathname=T.join("/")}p=v>=0?a[v]:"/"}let h=sT(s,p),m=f&&f!=="/"&&f.endsWith("/"),y=(u||f===".")&&i.endsWith("/");return!h.pathname.endsWith("/")&&(m||y)&&(h.pathname+="/"),h}const Fi=e=>e.join("/").replace(/\/\/+/g,"/"),cT=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),fT=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,dT=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function pT(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const pS=["post","put","patch","delete"];new Set(pS);const hT=["get",...pS];new Set(hT);/**
 * React Router v6.30.3
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function Ms(){return Ms=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var i=arguments[a];for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(e[l]=i[l])}return e},Ms.apply(this,arguments)}const rm=w.createContext(null),mT=w.createContext(null),Gs=w.createContext(null),ef=w.createContext(null),di=w.createContext({outlet:null,matches:[],isDataRoute:!1}),hS=w.createContext(null);function Ys(){return w.useContext(ef)!=null}function nf(){return Ys()||Pe(!1),w.useContext(ef).location}function mS(e){w.useContext(Gs).static||w.useLayoutEffect(e)}function yS(){let{isDataRoute:e}=w.useContext(di);return e?AT():yT()}function yT(){Ys()||Pe(!1);let e=w.useContext(rm),{basename:a,future:i,navigator:l}=w.useContext(Gs),{matches:s}=w.useContext(di),{pathname:u}=nf(),f=JSON.stringify(fS(s,i.v7_relativeSplatPath)),p=w.useRef(!1);return mS(()=>{p.current=!0}),w.useCallback(function(m,y){if(y===void 0&&(y={}),!p.current)return;if(typeof m=="number"){l.go(m);return}let v=dS(m,JSON.parse(f),u,y.relative==="path");e==null&&a!=="/"&&(v.pathname=v.pathname==="/"?a:Fi([a,v.pathname])),(y.replace?l.replace:l.push)(v,y.state,y)},[a,l,f,u,e])}function tz(){let{matches:e}=w.useContext(di),a=e[e.length-1];return a?a.params:{}}function gT(e,a){return vT(e,a)}function vT(e,a,i,l){Ys()||Pe(!1);let{navigator:s}=w.useContext(Gs),{matches:u}=w.useContext(di),f=u[u.length-1],p=f?f.params:{};f&&f.pathname;let h=f?f.pathnameBase:"/";f&&f.route;let m=nf(),y;if(a){var v;let C=typeof a=="string"?al(a):a;h==="/"||(v=C.pathname)!=null&&v.startsWith(h)||Pe(!1),y=C}else y=m;let T=y.pathname||"/",x=T;if(h!=="/"){let C=h.replace(/^\//,"").split("/");x="/"+T.replace(/^\//,"").split("/").slice(C.length).join("/")}let S=YC(e,{pathname:x}),b=CT(S&&S.map(C=>Object.assign({},C,{params:Object.assign({},p,C.params),pathname:Fi([h,s.encodeLocation?s.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?h:Fi([h,s.encodeLocation?s.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),u,i,l);return a&&b?w.createElement(ef.Provider,{value:{location:Ms({pathname:"/",search:"",hash:"",state:null,key:"default"},y),navigationType:ii.Pop}},b):b}function bT(){let e=OT(),a=pT(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),i=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},a),i?w.createElement("pre",{style:s},i):null,null)}const ST=w.createElement(bT,null);class xT extends w.Component{constructor(a){super(a),this.state={location:a.location,revalidation:a.revalidation,error:a.error}}static getDerivedStateFromError(a){return{error:a}}static getDerivedStateFromProps(a,i){return i.location!==a.location||i.revalidation!=="idle"&&a.revalidation==="idle"?{error:a.error,location:a.location,revalidation:a.revalidation}:{error:a.error!==void 0?a.error:i.error,location:i.location,revalidation:a.revalidation||i.revalidation}}componentDidCatch(a,i){console.error("React Router caught the following error during render",a,i)}render(){return this.state.error!==void 0?w.createElement(di.Provider,{value:this.props.routeContext},w.createElement(hS.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function ET(e){let{routeContext:a,match:i,children:l}=e,s=w.useContext(rm);return s&&s.static&&s.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=i.route.id),w.createElement(di.Provider,{value:a},l)}function CT(e,a,i,l){var s;if(a===void 0&&(a=[]),i===void 0&&(i=null),l===void 0&&(l=null),e==null){var u;if(!i)return null;if(i.errors)e=i.matches;else if((u=l)!=null&&u.v7_partialHydration&&a.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let f=e,p=(s=i)==null?void 0:s.errors;if(p!=null){let y=f.findIndex(v=>v.route.id&&(p==null?void 0:p[v.route.id])!==void 0);y>=0||Pe(!1),f=f.slice(0,Math.min(f.length,y+1))}let h=!1,m=-1;if(i&&l&&l.v7_partialHydration)for(let y=0;y<f.length;y++){let v=f[y];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(m=y),v.route.id){let{loaderData:T,errors:x}=i,S=v.route.loader&&T[v.route.id]===void 0&&(!x||x[v.route.id]===void 0);if(v.route.lazy||S){h=!0,m>=0?f=f.slice(0,m+1):f=[f[0]];break}}}return f.reduceRight((y,v,T)=>{let x,S=!1,b=null,C=null;i&&(x=p&&v.route.id?p[v.route.id]:void 0,b=v.route.errorElement||ST,h&&(m<0&&T===0?(MT("route-fallback"),S=!0,C=null):m===T&&(S=!0,C=v.route.hydrateFallbackElement||null)));let M=a.concat(f.slice(0,T+1)),L=()=>{let j;return x?j=b:S?j=C:v.route.Component?j=w.createElement(v.route.Component,null):v.route.element?j=v.route.element:j=y,w.createElement(ET,{match:v,routeContext:{outlet:y,matches:M,isDataRoute:i!=null},children:j})};return i&&(v.route.ErrorBoundary||v.route.errorElement||T===0)?w.createElement(xT,{location:i.location,revalidation:i.revalidation,component:b,error:x,children:L(),routeContext:{outlet:null,matches:M,isDataRoute:!0}}):L()},null)}var gS=(function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e})(gS||{}),vS=(function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e})(vS||{});function TT(e){let a=w.useContext(rm);return a||Pe(!1),a}function wT(e){let a=w.useContext(mT);return a||Pe(!1),a}function RT(e){let a=w.useContext(di);return a||Pe(!1),a}function bS(e){let a=RT(),i=a.matches[a.matches.length-1];return i.route.id||Pe(!1),i.route.id}function OT(){var e;let a=w.useContext(hS),i=wT(),l=bS();return a!==void 0?a:(e=i.errors)==null?void 0:e[l]}function AT(){let{router:e}=TT(gS.UseNavigateStable),a=bS(vS.UseNavigateStable),i=w.useRef(!1);return mS(()=>{i.current=!0}),w.useCallback(function(s,u){u===void 0&&(u={}),i.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,Ms({fromRouteId:a},u)))},[e,a])}const Iv={};function MT(e,a,i){Iv[e]||(Iv[e]=!0)}function _T(e,a){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Zv(e){let{to:a,replace:i,state:l,relative:s}=e;Ys()||Pe(!1);let{future:u,static:f}=w.useContext(Gs),{matches:p}=w.useContext(di),{pathname:h}=nf(),m=yS(),y=dS(a,fS(p,u.v7_relativeSplatPath),h,s==="path"),v=JSON.stringify(y);return w.useEffect(()=>m(JSON.parse(v),{replace:i,state:l,relative:s}),[m,v,s,i,l]),null}function Yt(e){Pe(!1)}function zT(e){let{basename:a="/",children:i=null,location:l,navigationType:s=ii.Pop,navigator:u,static:f=!1,future:p}=e;Ys()&&Pe(!1);let h=a.replace(/^\/*/,"/"),m=w.useMemo(()=>({basename:h,navigator:u,static:f,future:Ms({v7_relativeSplatPath:!1},p)}),[h,p,u,f]);typeof l=="string"&&(l=al(l));let{pathname:y="/",search:v="",hash:T="",state:x=null,key:S="default"}=l,b=w.useMemo(()=>{let C=cS(y,h);return C==null?null:{location:{pathname:C,search:v,hash:T,state:x,key:S},navigationType:s}},[h,y,v,T,x,S,s]);return b==null?null:w.createElement(Gs.Provider,{value:m},w.createElement(ef.Provider,{children:i,value:b}))}function BT(e){let{children:a,location:i}=e;return gT(dh(a),i)}new Promise(()=>{});function dh(e,a){a===void 0&&(a=[]);let i=[];return w.Children.forEach(e,(l,s)=>{if(!w.isValidElement(l))return;let u=[...a,s];if(l.type===w.Fragment){i.push.apply(i,dh(l.props.children,u));return}l.type!==Yt&&Pe(!1),!l.props.index||!l.props.children||Pe(!1);let f={id:l.props.id||u.join("-"),caseSensitive:l.props.caseSensitive,element:l.props.element,Component:l.props.Component,index:l.props.index,path:l.props.path,loader:l.props.loader,action:l.props.action,errorElement:l.props.errorElement,ErrorBoundary:l.props.ErrorBoundary,hasErrorBoundary:l.props.ErrorBoundary!=null||l.props.errorElement!=null,shouldRevalidate:l.props.shouldRevalidate,handle:l.props.handle,lazy:l.props.lazy};l.props.children&&(f.children=dh(l.props.children,u)),i.push(f)}),i}/**
 * React Router DOM v6.30.3
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */const DT="6";try{window.__reactRouterVersion=DT}catch{}const jT="startTransition",Wv=qc[jT];function NT(e){let{basename:a,children:i,future:l,window:s}=e,u=w.useRef();u.current==null&&(u.current=PC({window:s,v5Compat:!0}));let f=u.current,[p,h]=w.useState({action:f.action,location:f.location}),{v7_startTransition:m}=l||{},y=w.useCallback(v=>{m&&Wv?Wv(()=>h(v)):h(v)},[h,m]);return w.useLayoutEffect(()=>f.listen(y),[f,y]),w.useEffect(()=>_T(l),[l]),w.createElement(zT,{basename:a,children:i,location:p.location,navigationType:p.action,navigator:f,future:l})}var Jv;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Jv||(Jv={}));var tb;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(tb||(tb={}));var Qs=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},UT={setTimeout:(e,a)=>setTimeout(e,a),clearTimeout:e=>clearTimeout(e),setInterval:(e,a)=>setInterval(e,a),clearInterval:e=>clearInterval(e)},Zr,em,F1,LT=(F1=class{constructor(){xt(this,Zr,UT);xt(this,em,!1)}setTimeoutProvider(e){ft(this,Zr,e)}setTimeout(e,a){return U(this,Zr).setTimeout(e,a)}clearTimeout(e){U(this,Zr).clearTimeout(e)}setInterval(e,a){return U(this,Zr).setInterval(e,a)}clearInterval(e){U(this,Zr).clearInterval(e)}},Zr=new WeakMap,em=new WeakMap,F1),Ni=new LT;function HT(e){setTimeout(e,0)}var Ji=typeof window>"u"||"Deno"in globalThis;function Bn(){}function kT(e,a){return typeof e=="function"?e(a):e}function ph(e){return typeof e=="number"&&e>=0&&e!==1/0}function SS(e,a){return Math.max(e+(a||0)-Date.now(),0)}function li(e,a){return typeof e=="function"?e(a):e}function da(e,a){return typeof e=="function"?e(a):e}function eb(e,a){const{type:i="all",exact:l,fetchStatus:s,predicate:u,queryKey:f,stale:p}=e;if(f){if(l){if(a.queryHash!==im(f,a.options))return!1}else if(!zs(a.queryKey,f))return!1}if(i!=="all"){const h=a.isActive();if(i==="active"&&!h||i==="inactive"&&h)return!1}return!(typeof p=="boolean"&&a.isStale()!==p||s&&s!==a.state.fetchStatus||u&&!u(a))}function nb(e,a){const{exact:i,status:l,predicate:s,mutationKey:u}=e;if(u){if(!a.options.mutationKey)return!1;if(i){if(_s(a.options.mutationKey)!==_s(u))return!1}else if(!zs(a.options.mutationKey,u))return!1}return!(l&&a.state.status!==l||s&&!s(a))}function im(e,a){return((a==null?void 0:a.queryKeyHashFn)||_s)(e)}function _s(e){return JSON.stringify(e,(a,i)=>mh(i)?Object.keys(i).sort().reduce((l,s)=>(l[s]=i[s],l),{}):i)}function zs(e,a){return e===a?!0:typeof e!=typeof a?!1:e&&a&&typeof e=="object"&&typeof a=="object"?Object.keys(a).every(i=>zs(e[i],a[i])):!1}var $T=Object.prototype.hasOwnProperty;function xS(e,a,i=0){if(e===a)return e;if(i>500)return a;const l=ab(e)&&ab(a);if(!l&&!(mh(e)&&mh(a)))return a;const u=(l?e:Object.keys(e)).length,f=l?a:Object.keys(a),p=f.length,h=l?new Array(p):{};let m=0;for(let y=0;y<p;y++){const v=l?y:f[y],T=e[v],x=a[v];if(T===x){h[v]=T,(l?y<u:$T.call(e,v))&&m++;continue}if(T===null||x===null||typeof T!="object"||typeof x!="object"){h[v]=x;continue}const S=xS(T,x,i+1);h[v]=S,S===T&&m++}return u===p&&m===u?e:h}function hh(e,a){if(!a||Object.keys(e).length!==Object.keys(a).length)return!1;for(const i in e)if(e[i]!==a[i])return!1;return!0}function ab(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function mh(e){if(!rb(e))return!1;const a=e.constructor;if(a===void 0)return!0;const i=a.prototype;return!(!rb(i)||!i.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function rb(e){return Object.prototype.toString.call(e)==="[object Object]"}function qT(e){return new Promise(a=>{Ni.setTimeout(a,e)})}function yh(e,a,i){return typeof i.structuralSharing=="function"?i.structuralSharing(e,a):i.structuralSharing!==!1?xS(e,a):a}function PT(e,a,i=0){const l=[...e,a];return i&&l.length>i?l.slice(1):l}function VT(e,a,i=0){const l=[a,...e];return i&&l.length>i?l.slice(0,-1):l}var lm=Symbol();function ES(e,a){return!e.queryFn&&(a!=null&&a.initialPromise)?()=>a.initialPromise:!e.queryFn||e.queryFn===lm?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function CS(e,a){return typeof e=="function"?e(...a):!!e}function GT(e,a,i){let l=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??(s=a()),l||(l=!0,s.aborted?i():s.addEventListener("abort",i,{once:!0})),s)}),e}var $i,Wr,eo,I1,YT=(I1=class extends Qs{constructor(){super();xt(this,$i);xt(this,Wr);xt(this,eo);ft(this,eo,a=>{if(!Ji&&window.addEventListener){const i=()=>a();return window.addEventListener("visibilitychange",i,!1),()=>{window.removeEventListener("visibilitychange",i)}}})}onSubscribe(){U(this,Wr)||this.setEventListener(U(this,eo))}onUnsubscribe(){var a;this.hasListeners()||((a=U(this,Wr))==null||a.call(this),ft(this,Wr,void 0))}setEventListener(a){var i;ft(this,eo,a),(i=U(this,Wr))==null||i.call(this),ft(this,Wr,a(l=>{typeof l=="boolean"?this.setFocused(l):this.onFocus()}))}setFocused(a){U(this,$i)!==a&&(ft(this,$i,a),this.onFocus())}onFocus(){const a=this.isFocused();this.listeners.forEach(i=>{i(a)})}isFocused(){var a;return typeof U(this,$i)=="boolean"?U(this,$i):((a=globalThis.document)==null?void 0:a.visibilityState)!=="hidden"}},$i=new WeakMap,Wr=new WeakMap,eo=new WeakMap,I1),om=new YT;function gh(){let e,a;const i=new Promise((s,u)=>{e=s,a=u});i.status="pending",i.catch(()=>{});function l(s){Object.assign(i,s),delete i.resolve,delete i.reject}return i.resolve=s=>{l({status:"fulfilled",value:s}),e(s)},i.reject=s=>{l({status:"rejected",reason:s}),a(s)},i}var QT=HT;function XT(){let e=[],a=0,i=p=>{p()},l=p=>{p()},s=QT;const u=p=>{a?e.push(p):s(()=>{i(p)})},f=()=>{const p=e;e=[],p.length&&s(()=>{l(()=>{p.forEach(h=>{i(h)})})})};return{batch:p=>{let h;a++;try{h=p()}finally{a--,a||f()}return h},batchCalls:p=>(...h)=>{u(()=>{p(...h)})},schedule:u,setNotifyFunction:p=>{i=p},setBatchNotifyFunction:p=>{l=p},setScheduler:p=>{s=p}}}var pn=XT(),no,Jr,ao,Z1,KT=(Z1=class extends Qs{constructor(){super();xt(this,no,!0);xt(this,Jr);xt(this,ao);ft(this,ao,a=>{if(!Ji&&window.addEventListener){const i=()=>a(!0),l=()=>a(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",l,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",l)}}})}onSubscribe(){U(this,Jr)||this.setEventListener(U(this,ao))}onUnsubscribe(){var a;this.hasListeners()||((a=U(this,Jr))==null||a.call(this),ft(this,Jr,void 0))}setEventListener(a){var i;ft(this,ao,a),(i=U(this,Jr))==null||i.call(this),ft(this,Jr,a(this.setOnline.bind(this)))}setOnline(a){U(this,no)!==a&&(ft(this,no,a),this.listeners.forEach(l=>{l(a)}))}isOnline(){return U(this,no)}},no=new WeakMap,Jr=new WeakMap,ao=new WeakMap,Z1),Pc=new KT;function FT(e){return Math.min(1e3*2**e,3e4)}function TS(e){return(e??"online")==="online"?Pc.isOnline():!0}var vh=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function wS(e){let a=!1,i=0,l;const s=gh(),u=()=>s.status!=="pending",f=b=>{var C;if(!u()){const M=new vh(b);T(M),(C=e.onCancel)==null||C.call(e,M)}},p=()=>{a=!0},h=()=>{a=!1},m=()=>om.isFocused()&&(e.networkMode==="always"||Pc.isOnline())&&e.canRun(),y=()=>TS(e.networkMode)&&e.canRun(),v=b=>{u()||(l==null||l(),s.resolve(b))},T=b=>{u()||(l==null||l(),s.reject(b))},x=()=>new Promise(b=>{var C;l=M=>{(u()||m())&&b(M)},(C=e.onPause)==null||C.call(e)}).then(()=>{var b;l=void 0,u()||(b=e.onContinue)==null||b.call(e)}),S=()=>{if(u())return;let b;const C=i===0?e.initialPromise:void 0;try{b=C??e.fn()}catch(M){b=Promise.reject(M)}Promise.resolve(b).then(v).catch(M=>{var H;if(u())return;const L=e.retry??(Ji?0:3),j=e.retryDelay??FT,O=typeof j=="function"?j(i,M):j,B=L===!0||typeof L=="number"&&i<L||typeof L=="function"&&L(i,M);if(a||!B){T(M);return}i++,(H=e.onFail)==null||H.call(e,i,M),qT(O).then(()=>m()?void 0:x()).then(()=>{a?T(M):S()})})};return{promise:s,status:()=>s.status,cancel:f,continue:()=>(l==null||l(),s),cancelRetry:p,continueRetry:h,canStart:y,start:()=>(y()?S():x().then(S),s)}}var qi,W1,RS=(W1=class{constructor(){xt(this,qi)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ph(this.gcTime)&&ft(this,qi,Ni.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ji?1/0:300*1e3))}clearGcTimeout(){U(this,qi)&&(Ni.clearTimeout(U(this,qi)),ft(this,qi,void 0))}},qi=new WeakMap,W1),Pi,ro,fa,Vi,Je,ks,Gi,Oa,yr,J1,IT=(J1=class extends RS{constructor(a){super();xt(this,Oa);xt(this,Pi);xt(this,ro);xt(this,fa);xt(this,Vi);xt(this,Je);xt(this,ks);xt(this,Gi);ft(this,Gi,!1),ft(this,ks,a.defaultOptions),this.setOptions(a.options),this.observers=[],ft(this,Vi,a.client),ft(this,fa,U(this,Vi).getQueryCache()),this.queryKey=a.queryKey,this.queryHash=a.queryHash,ft(this,Pi,lb(this.options)),this.state=a.state??U(this,Pi),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var a;return(a=U(this,Je))==null?void 0:a.promise}setOptions(a){if(this.options={...U(this,ks),...a},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const i=lb(this.options);i.data!==void 0&&(this.setState(ib(i.data,i.dataUpdatedAt)),ft(this,Pi,i))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&U(this,fa).remove(this)}setData(a,i){const l=yh(this.state.data,a,this.options);return qt(this,Oa,yr).call(this,{data:l,type:"success",dataUpdatedAt:i==null?void 0:i.updatedAt,manual:i==null?void 0:i.manual}),l}setState(a,i){qt(this,Oa,yr).call(this,{type:"setState",state:a,setStateOptions:i})}cancel(a){var l,s;const i=(l=U(this,Je))==null?void 0:l.promise;return(s=U(this,Je))==null||s.cancel(a),i?i.then(Bn).catch(Bn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(U(this,Pi))}isActive(){return this.observers.some(a=>da(a.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===lm||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(a=>li(a.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(a=>a.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(a=0){return this.state.data===void 0?!0:a==="static"?!1:this.state.isInvalidated?!0:!SS(this.state.dataUpdatedAt,a)}onFocus(){var i;const a=this.observers.find(l=>l.shouldFetchOnWindowFocus());a==null||a.refetch({cancelRefetch:!1}),(i=U(this,Je))==null||i.continue()}onOnline(){var i;const a=this.observers.find(l=>l.shouldFetchOnReconnect());a==null||a.refetch({cancelRefetch:!1}),(i=U(this,Je))==null||i.continue()}addObserver(a){this.observers.includes(a)||(this.observers.push(a),this.clearGcTimeout(),U(this,fa).notify({type:"observerAdded",query:this,observer:a}))}removeObserver(a){this.observers.includes(a)&&(this.observers=this.observers.filter(i=>i!==a),this.observers.length||(U(this,Je)&&(U(this,Gi)?U(this,Je).cancel({revert:!0}):U(this,Je).cancelRetry()),this.scheduleGc()),U(this,fa).notify({type:"observerRemoved",query:this,observer:a}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||qt(this,Oa,yr).call(this,{type:"invalidate"})}async fetch(a,i){var h,m,y,v,T,x,S,b,C,M,L,j;if(this.state.fetchStatus!=="idle"&&((h=U(this,Je))==null?void 0:h.status())!=="rejected"){if(this.state.data!==void 0&&(i!=null&&i.cancelRefetch))this.cancel({silent:!0});else if(U(this,Je))return U(this,Je).continueRetry(),U(this,Je).promise}if(a&&this.setOptions(a),!this.options.queryFn){const O=this.observers.find(B=>B.options.queryFn);O&&this.setOptions(O.options)}const l=new AbortController,s=O=>{Object.defineProperty(O,"signal",{enumerable:!0,get:()=>(ft(this,Gi,!0),l.signal)})},u=()=>{const O=ES(this.options,i),H=(()=>{const $={client:U(this,Vi),queryKey:this.queryKey,meta:this.meta};return s($),$})();return ft(this,Gi,!1),this.options.persister?this.options.persister(O,H,this):O(H)},p=(()=>{const O={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:U(this,Vi),state:this.state,fetchFn:u};return s(O),O})();(m=this.options.behavior)==null||m.onFetch(p,this),ft(this,ro,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((y=p.fetchOptions)==null?void 0:y.meta))&&qt(this,Oa,yr).call(this,{type:"fetch",meta:(v=p.fetchOptions)==null?void 0:v.meta}),ft(this,Je,wS({initialPromise:i==null?void 0:i.initialPromise,fn:p.fetchFn,onCancel:O=>{O instanceof vh&&O.revert&&this.setState({...U(this,ro),fetchStatus:"idle"}),l.abort()},onFail:(O,B)=>{qt(this,Oa,yr).call(this,{type:"failed",failureCount:O,error:B})},onPause:()=>{qt(this,Oa,yr).call(this,{type:"pause"})},onContinue:()=>{qt(this,Oa,yr).call(this,{type:"continue"})},retry:p.options.retry,retryDelay:p.options.retryDelay,networkMode:p.options.networkMode,canRun:()=>!0}));try{const O=await U(this,Je).start();if(O===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(O),(x=(T=U(this,fa).config).onSuccess)==null||x.call(T,O,this),(b=(S=U(this,fa).config).onSettled)==null||b.call(S,O,this.state.error,this),O}catch(O){if(O instanceof vh){if(O.silent)return U(this,Je).promise;if(O.revert){if(this.state.data===void 0)throw O;return this.state.data}}throw qt(this,Oa,yr).call(this,{type:"error",error:O}),(M=(C=U(this,fa).config).onError)==null||M.call(C,O,this),(j=(L=U(this,fa).config).onSettled)==null||j.call(L,this.state.data,O,this),O}finally{this.scheduleGc()}}},Pi=new WeakMap,ro=new WeakMap,fa=new WeakMap,Vi=new WeakMap,Je=new WeakMap,ks=new WeakMap,Gi=new WeakMap,Oa=new WeakSet,yr=function(a){const i=l=>{switch(a.type){case"failed":return{...l,fetchFailureCount:a.failureCount,fetchFailureReason:a.error};case"pause":return{...l,fetchStatus:"paused"};case"continue":return{...l,fetchStatus:"fetching"};case"fetch":return{...l,...OS(l.data,this.options),fetchMeta:a.meta??null};case"success":const s={...l,...ib(a.data,a.dataUpdatedAt),dataUpdateCount:l.dataUpdateCount+1,...!a.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return ft(this,ro,a.manual?s:void 0),s;case"error":const u=a.error;return{...l,error:u,errorUpdateCount:l.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:l.fetchFailureCount+1,fetchFailureReason:u,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...l,isInvalidated:!0};case"setState":return{...l,...a.state}}};this.state=i(this.state),pn.batch(()=>{this.observers.forEach(l=>{l.onQueryUpdate()}),U(this,fa).notify({query:this,type:"updated",action:a})})},J1);function OS(e,a){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:TS(a.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function ib(e,a){return{data:e,dataUpdatedAt:a??Date.now(),error:null,isInvalidated:!1,status:"success"}}function lb(e){const a=typeof e.initialData=="function"?e.initialData():e.initialData,i=a!==void 0,l=i?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:a,dataUpdateCount:0,dataUpdatedAt:i?l??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}var zn,Pt,$s,xn,Yi,io,gr,ti,qs,lo,oo,Qi,Xi,ei,so,te,xs,bh,Sh,xh,Eh,Ch,Th,wh,AS,tS,ZT=(tS=class extends Qs{constructor(a,i){super();xt(this,te);xt(this,zn);xt(this,Pt);xt(this,$s);xt(this,xn);xt(this,Yi);xt(this,io);xt(this,gr);xt(this,ti);xt(this,qs);xt(this,lo);xt(this,oo);xt(this,Qi);xt(this,Xi);xt(this,ei);xt(this,so,new Set);this.options=i,ft(this,zn,a),ft(this,ti,null),ft(this,gr,gh()),this.bindMethods(),this.setOptions(i)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(U(this,Pt).addObserver(this),ob(U(this,Pt),this.options)?qt(this,te,xs).call(this):this.updateResult(),qt(this,te,Eh).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Rh(U(this,Pt),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Rh(U(this,Pt),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,qt(this,te,Ch).call(this),qt(this,te,Th).call(this),U(this,Pt).removeObserver(this)}setOptions(a){const i=this.options,l=U(this,Pt);if(this.options=U(this,zn).defaultQueryOptions(a),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof da(this.options.enabled,U(this,Pt))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");qt(this,te,wh).call(this),U(this,Pt).setOptions(this.options),i._defaulted&&!hh(this.options,i)&&U(this,zn).getQueryCache().notify({type:"observerOptionsUpdated",query:U(this,Pt),observer:this});const s=this.hasListeners();s&&sb(U(this,Pt),l,this.options,i)&&qt(this,te,xs).call(this),this.updateResult(),s&&(U(this,Pt)!==l||da(this.options.enabled,U(this,Pt))!==da(i.enabled,U(this,Pt))||li(this.options.staleTime,U(this,Pt))!==li(i.staleTime,U(this,Pt)))&&qt(this,te,bh).call(this);const u=qt(this,te,Sh).call(this);s&&(U(this,Pt)!==l||da(this.options.enabled,U(this,Pt))!==da(i.enabled,U(this,Pt))||u!==U(this,ei))&&qt(this,te,xh).call(this,u)}getOptimisticResult(a){const i=U(this,zn).getQueryCache().build(U(this,zn),a),l=this.createResult(i,a);return JT(this,l)&&(ft(this,xn,l),ft(this,io,this.options),ft(this,Yi,U(this,Pt).state)),l}getCurrentResult(){return U(this,xn)}trackResult(a,i){return new Proxy(a,{get:(l,s)=>(this.trackProp(s),i==null||i(s),s==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&U(this,gr).status==="pending"&&U(this,gr).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(l,s))})}trackProp(a){U(this,so).add(a)}getCurrentQuery(){return U(this,Pt)}refetch({...a}={}){return this.fetch({...a})}fetchOptimistic(a){const i=U(this,zn).defaultQueryOptions(a),l=U(this,zn).getQueryCache().build(U(this,zn),i);return l.fetch().then(()=>this.createResult(l,i))}fetch(a){return qt(this,te,xs).call(this,{...a,cancelRefetch:a.cancelRefetch??!0}).then(()=>(this.updateResult(),U(this,xn)))}createResult(a,i){var Z;const l=U(this,Pt),s=this.options,u=U(this,xn),f=U(this,Yi),p=U(this,io),m=a!==l?a.state:U(this,$s),{state:y}=a;let v={...y},T=!1,x;if(i._optimisticResults){const W=this.hasListeners(),et=!W&&ob(a,i),R=W&&sb(a,l,i,s);(et||R)&&(v={...v,...OS(y.data,a.options)}),i._optimisticResults==="isRestoring"&&(v.fetchStatus="idle")}let{error:S,errorUpdatedAt:b,status:C}=v;x=v.data;let M=!1;if(i.placeholderData!==void 0&&x===void 0&&C==="pending"){let W;u!=null&&u.isPlaceholderData&&i.placeholderData===(p==null?void 0:p.placeholderData)?(W=u.data,M=!0):W=typeof i.placeholderData=="function"?i.placeholderData((Z=U(this,oo))==null?void 0:Z.state.data,U(this,oo)):i.placeholderData,W!==void 0&&(C="success",x=yh(u==null?void 0:u.data,W,i),T=!0)}if(i.select&&x!==void 0&&!M)if(u&&x===(f==null?void 0:f.data)&&i.select===U(this,qs))x=U(this,lo);else try{ft(this,qs,i.select),x=i.select(x),x=yh(u==null?void 0:u.data,x,i),ft(this,lo,x),ft(this,ti,null)}catch(W){ft(this,ti,W)}U(this,ti)&&(S=U(this,ti),x=U(this,lo),b=Date.now(),C="error");const L=v.fetchStatus==="fetching",j=C==="pending",O=C==="error",B=j&&L,H=x!==void 0,Q={status:C,fetchStatus:v.fetchStatus,isPending:j,isSuccess:C==="success",isError:O,isInitialLoading:B,isLoading:B,data:x,dataUpdatedAt:v.dataUpdatedAt,error:S,errorUpdatedAt:b,failureCount:v.fetchFailureCount,failureReason:v.fetchFailureReason,errorUpdateCount:v.errorUpdateCount,isFetched:v.dataUpdateCount>0||v.errorUpdateCount>0,isFetchedAfterMount:v.dataUpdateCount>m.dataUpdateCount||v.errorUpdateCount>m.errorUpdateCount,isFetching:L,isRefetching:L&&!j,isLoadingError:O&&!H,isPaused:v.fetchStatus==="paused",isPlaceholderData:T,isRefetchError:O&&H,isStale:sm(a,i),refetch:this.refetch,promise:U(this,gr),isEnabled:da(i.enabled,a)!==!1};if(this.options.experimental_prefetchInRender){const W=Q.data!==void 0,et=Q.status==="error"&&!W,R=at=>{et?at.reject(Q.error):W&&at.resolve(Q.data)},X=()=>{const at=ft(this,gr,Q.promise=gh());R(at)},I=U(this,gr);switch(I.status){case"pending":a.queryHash===l.queryHash&&R(I);break;case"fulfilled":(et||Q.data!==I.value)&&X();break;case"rejected":(!et||Q.error!==I.reason)&&X();break}}return Q}updateResult(){const a=U(this,xn),i=this.createResult(U(this,Pt),this.options);if(ft(this,Yi,U(this,Pt).state),ft(this,io,this.options),U(this,Yi).data!==void 0&&ft(this,oo,U(this,Pt)),hh(i,a))return;ft(this,xn,i);const l=()=>{if(!a)return!0;const{notifyOnChangeProps:s}=this.options,u=typeof s=="function"?s():s;if(u==="all"||!u&&!U(this,so).size)return!0;const f=new Set(u??U(this,so));return this.options.throwOnError&&f.add("error"),Object.keys(U(this,xn)).some(p=>{const h=p;return U(this,xn)[h]!==a[h]&&f.has(h)})};qt(this,te,AS).call(this,{listeners:l()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&qt(this,te,Eh).call(this)}},zn=new WeakMap,Pt=new WeakMap,$s=new WeakMap,xn=new WeakMap,Yi=new WeakMap,io=new WeakMap,gr=new WeakMap,ti=new WeakMap,qs=new WeakMap,lo=new WeakMap,oo=new WeakMap,Qi=new WeakMap,Xi=new WeakMap,ei=new WeakMap,so=new WeakMap,te=new WeakSet,xs=function(a){qt(this,te,wh).call(this);let i=U(this,Pt).fetch(this.options,a);return a!=null&&a.throwOnError||(i=i.catch(Bn)),i},bh=function(){qt(this,te,Ch).call(this);const a=li(this.options.staleTime,U(this,Pt));if(Ji||U(this,xn).isStale||!ph(a))return;const l=SS(U(this,xn).dataUpdatedAt,a)+1;ft(this,Qi,Ni.setTimeout(()=>{U(this,xn).isStale||this.updateResult()},l))},Sh=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(U(this,Pt)):this.options.refetchInterval)??!1},xh=function(a){qt(this,te,Th).call(this),ft(this,ei,a),!(Ji||da(this.options.enabled,U(this,Pt))===!1||!ph(U(this,ei))||U(this,ei)===0)&&ft(this,Xi,Ni.setInterval(()=>{(this.options.refetchIntervalInBackground||om.isFocused())&&qt(this,te,xs).call(this)},U(this,ei)))},Eh=function(){qt(this,te,bh).call(this),qt(this,te,xh).call(this,qt(this,te,Sh).call(this))},Ch=function(){U(this,Qi)&&(Ni.clearTimeout(U(this,Qi)),ft(this,Qi,void 0))},Th=function(){U(this,Xi)&&(Ni.clearInterval(U(this,Xi)),ft(this,Xi,void 0))},wh=function(){const a=U(this,zn).getQueryCache().build(U(this,zn),this.options);if(a===U(this,Pt))return;const i=U(this,Pt);ft(this,Pt,a),ft(this,$s,a.state),this.hasListeners()&&(i==null||i.removeObserver(this),a.addObserver(this))},AS=function(a){pn.batch(()=>{a.listeners&&this.listeners.forEach(i=>{i(U(this,xn))}),U(this,zn).getQueryCache().notify({query:U(this,Pt),type:"observerResultsUpdated"})})},tS);function WT(e,a){return da(a.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&a.retryOnMount===!1)}function ob(e,a){return WT(e,a)||e.state.data!==void 0&&Rh(e,a,a.refetchOnMount)}function Rh(e,a,i){if(da(a.enabled,e)!==!1&&li(a.staleTime,e)!=="static"){const l=typeof i=="function"?i(e):i;return l==="always"||l!==!1&&sm(e,a)}return!1}function sb(e,a,i,l){return(e!==a||da(l.enabled,e)===!1)&&(!i.suspense||e.state.status!=="error")&&sm(e,i)}function sm(e,a){return da(a.enabled,e)!==!1&&e.isStaleByTime(li(a.staleTime,e))}function JT(e,a){return!hh(e.getCurrentResult(),a)}function ub(e){return{onFetch:(a,i)=>{var y,v,T,x,S;const l=a.options,s=(T=(v=(y=a.fetchOptions)==null?void 0:y.meta)==null?void 0:v.fetchMore)==null?void 0:T.direction,u=((x=a.state.data)==null?void 0:x.pages)||[],f=((S=a.state.data)==null?void 0:S.pageParams)||[];let p={pages:[],pageParams:[]},h=0;const m=async()=>{let b=!1;const C=j=>{GT(j,()=>a.signal,()=>b=!0)},M=ES(a.options,a.fetchOptions),L=async(j,O,B)=>{if(b)return Promise.reject();if(O==null&&j.pages.length)return Promise.resolve(j);const $=(()=>{const et={client:a.client,queryKey:a.queryKey,pageParam:O,direction:B?"backward":"forward",meta:a.options.meta};return C(et),et})(),Q=await M($),{maxPages:Z}=a.options,W=B?VT:PT;return{pages:W(j.pages,Q,Z),pageParams:W(j.pageParams,O,Z)}};if(s&&u.length){const j=s==="backward",O=j?tw:cb,B={pages:u,pageParams:f},H=O(l,B);p=await L(B,H,j)}else{const j=e??u.length;do{const O=h===0?f[0]??l.initialPageParam:cb(l,p);if(h>0&&O==null)break;p=await L(p,O),h++}while(h<j)}return p};a.options.persister?a.fetchFn=()=>{var b,C;return(C=(b=a.options).persister)==null?void 0:C.call(b,m,{client:a.client,queryKey:a.queryKey,meta:a.options.meta,signal:a.signal},i)}:a.fetchFn=m}}}function cb(e,{pages:a,pageParams:i}){const l=a.length-1;return a.length>0?e.getNextPageParam(a[l],a,i[l],i):void 0}function tw(e,{pages:a,pageParams:i}){var l;return a.length>0?(l=e.getPreviousPageParam)==null?void 0:l.call(e,a[0],a,i[0],i):void 0}var Ps,La,gn,Ki,Ha,Ir,eS,ew=(eS=class extends RS{constructor(a){super();xt(this,Ha);xt(this,Ps);xt(this,La);xt(this,gn);xt(this,Ki);ft(this,Ps,a.client),this.mutationId=a.mutationId,ft(this,gn,a.mutationCache),ft(this,La,[]),this.state=a.state||nw(),this.setOptions(a.options),this.scheduleGc()}setOptions(a){this.options=a,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(a){U(this,La).includes(a)||(U(this,La).push(a),this.clearGcTimeout(),U(this,gn).notify({type:"observerAdded",mutation:this,observer:a}))}removeObserver(a){ft(this,La,U(this,La).filter(i=>i!==a)),this.scheduleGc(),U(this,gn).notify({type:"observerRemoved",mutation:this,observer:a})}optionalRemove(){U(this,La).length||(this.state.status==="pending"?this.scheduleGc():U(this,gn).remove(this))}continue(){var a;return((a=U(this,Ki))==null?void 0:a.continue())??this.execute(this.state.variables)}async execute(a){var f,p,h,m,y,v,T,x,S,b,C,M,L,j,O,B,H,$;const i=()=>{qt(this,Ha,Ir).call(this,{type:"continue"})},l={client:U(this,Ps),meta:this.options.meta,mutationKey:this.options.mutationKey};ft(this,Ki,wS({fn:()=>this.options.mutationFn?this.options.mutationFn(a,l):Promise.reject(new Error("No mutationFn found")),onFail:(Q,Z)=>{qt(this,Ha,Ir).call(this,{type:"failed",failureCount:Q,error:Z})},onPause:()=>{qt(this,Ha,Ir).call(this,{type:"pause"})},onContinue:i,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>U(this,gn).canRun(this)}));const s=this.state.status==="pending",u=!U(this,Ki).canStart();try{if(s)i();else{qt(this,Ha,Ir).call(this,{type:"pending",variables:a,isPaused:u}),U(this,gn).config.onMutate&&await U(this,gn).config.onMutate(a,this,l);const Z=await((p=(f=this.options).onMutate)==null?void 0:p.call(f,a,l));Z!==this.state.context&&qt(this,Ha,Ir).call(this,{type:"pending",context:Z,variables:a,isPaused:u})}const Q=await U(this,Ki).start();return await((m=(h=U(this,gn).config).onSuccess)==null?void 0:m.call(h,Q,a,this.state.context,this,l)),await((v=(y=this.options).onSuccess)==null?void 0:v.call(y,Q,a,this.state.context,l)),await((x=(T=U(this,gn).config).onSettled)==null?void 0:x.call(T,Q,null,this.state.variables,this.state.context,this,l)),await((b=(S=this.options).onSettled)==null?void 0:b.call(S,Q,null,a,this.state.context,l)),qt(this,Ha,Ir).call(this,{type:"success",data:Q}),Q}catch(Q){try{await((M=(C=U(this,gn).config).onError)==null?void 0:M.call(C,Q,a,this.state.context,this,l))}catch(Z){Promise.reject(Z)}try{await((j=(L=this.options).onError)==null?void 0:j.call(L,Q,a,this.state.context,l))}catch(Z){Promise.reject(Z)}try{await((B=(O=U(this,gn).config).onSettled)==null?void 0:B.call(O,void 0,Q,this.state.variables,this.state.context,this,l))}catch(Z){Promise.reject(Z)}try{await(($=(H=this.options).onSettled)==null?void 0:$.call(H,void 0,Q,a,this.state.context,l))}catch(Z){Promise.reject(Z)}throw qt(this,Ha,Ir).call(this,{type:"error",error:Q}),Q}finally{U(this,gn).runNext(this)}}},Ps=new WeakMap,La=new WeakMap,gn=new WeakMap,Ki=new WeakMap,Ha=new WeakSet,Ir=function(a){const i=l=>{switch(a.type){case"failed":return{...l,failureCount:a.failureCount,failureReason:a.error};case"pause":return{...l,isPaused:!0};case"continue":return{...l,isPaused:!1};case"pending":return{...l,context:a.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:a.isPaused,status:"pending",variables:a.variables,submittedAt:Date.now()};case"success":return{...l,data:a.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...l,data:void 0,error:a.error,failureCount:l.failureCount+1,failureReason:a.error,isPaused:!1,status:"error"}}};this.state=i(this.state),pn.batch(()=>{U(this,La).forEach(l=>{l.onMutationUpdate(a)}),U(this,gn).notify({mutation:this,type:"updated",action:a})})},eS);function nw(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var vr,Aa,Vs,nS,aw=(nS=class extends Qs{constructor(a={}){super();xt(this,vr);xt(this,Aa);xt(this,Vs);this.config=a,ft(this,vr,new Set),ft(this,Aa,new Map),ft(this,Vs,0)}build(a,i,l){const s=new ew({client:a,mutationCache:this,mutationId:++Sc(this,Vs)._,options:a.defaultMutationOptions(i),state:l});return this.add(s),s}add(a){U(this,vr).add(a);const i=Ec(a);if(typeof i=="string"){const l=U(this,Aa).get(i);l?l.push(a):U(this,Aa).set(i,[a])}this.notify({type:"added",mutation:a})}remove(a){if(U(this,vr).delete(a)){const i=Ec(a);if(typeof i=="string"){const l=U(this,Aa).get(i);if(l)if(l.length>1){const s=l.indexOf(a);s!==-1&&l.splice(s,1)}else l[0]===a&&U(this,Aa).delete(i)}}this.notify({type:"removed",mutation:a})}canRun(a){const i=Ec(a);if(typeof i=="string"){const l=U(this,Aa).get(i),s=l==null?void 0:l.find(u=>u.state.status==="pending");return!s||s===a}else return!0}runNext(a){var l;const i=Ec(a);if(typeof i=="string"){const s=(l=U(this,Aa).get(i))==null?void 0:l.find(u=>u!==a&&u.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){pn.batch(()=>{U(this,vr).forEach(a=>{this.notify({type:"removed",mutation:a})}),U(this,vr).clear(),U(this,Aa).clear()})}getAll(){return Array.from(U(this,vr))}find(a){const i={exact:!0,...a};return this.getAll().find(l=>nb(i,l))}findAll(a={}){return this.getAll().filter(i=>nb(a,i))}notify(a){pn.batch(()=>{this.listeners.forEach(i=>{i(a)})})}resumePausedMutations(){const a=this.getAll().filter(i=>i.state.isPaused);return pn.batch(()=>Promise.all(a.map(i=>i.continue().catch(Bn))))}},vr=new WeakMap,Aa=new WeakMap,Vs=new WeakMap,nS);function Ec(e){var a;return(a=e.options.scope)==null?void 0:a.id}var ka,aS,rw=(aS=class extends Qs{constructor(a={}){super();xt(this,ka);this.config=a,ft(this,ka,new Map)}build(a,i,l){const s=i.queryKey,u=i.queryHash??im(s,i);let f=this.get(u);return f||(f=new IT({client:a,queryKey:s,queryHash:u,options:a.defaultQueryOptions(i),state:l,defaultOptions:a.getQueryDefaults(s)}),this.add(f)),f}add(a){U(this,ka).has(a.queryHash)||(U(this,ka).set(a.queryHash,a),this.notify({type:"added",query:a}))}remove(a){const i=U(this,ka).get(a.queryHash);i&&(a.destroy(),i===a&&U(this,ka).delete(a.queryHash),this.notify({type:"removed",query:a}))}clear(){pn.batch(()=>{this.getAll().forEach(a=>{this.remove(a)})})}get(a){return U(this,ka).get(a)}getAll(){return[...U(this,ka).values()]}find(a){const i={exact:!0,...a};return this.getAll().find(l=>eb(i,l))}findAll(a={}){const i=this.getAll();return Object.keys(a).length>0?i.filter(l=>eb(a,l)):i}notify(a){pn.batch(()=>{this.listeners.forEach(i=>{i(a)})})}onFocus(){pn.batch(()=>{this.getAll().forEach(a=>{a.onFocus()})})}onOnline(){pn.batch(()=>{this.getAll().forEach(a=>{a.onOnline()})})}},ka=new WeakMap,aS),Me,ni,ai,uo,co,ri,fo,po,rS,iw=(rS=class{constructor(e={}){xt(this,Me);xt(this,ni);xt(this,ai);xt(this,uo);xt(this,co);xt(this,ri);xt(this,fo);xt(this,po);ft(this,Me,e.queryCache||new rw),ft(this,ni,e.mutationCache||new aw),ft(this,ai,e.defaultOptions||{}),ft(this,uo,new Map),ft(this,co,new Map),ft(this,ri,0)}mount(){Sc(this,ri)._++,U(this,ri)===1&&(ft(this,fo,om.subscribe(async e=>{e&&(await this.resumePausedMutations(),U(this,Me).onFocus())})),ft(this,po,Pc.subscribe(async e=>{e&&(await this.resumePausedMutations(),U(this,Me).onOnline())})))}unmount(){var e,a;Sc(this,ri)._--,U(this,ri)===0&&((e=U(this,fo))==null||e.call(this),ft(this,fo,void 0),(a=U(this,po))==null||a.call(this),ft(this,po,void 0))}isFetching(e){return U(this,Me).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return U(this,ni).findAll({...e,status:"pending"}).length}getQueryData(e){var i;const a=this.defaultQueryOptions({queryKey:e});return(i=U(this,Me).get(a.queryHash))==null?void 0:i.state.data}ensureQueryData(e){const a=this.defaultQueryOptions(e),i=U(this,Me).build(this,a),l=i.state.data;return l===void 0?this.fetchQuery(e):(e.revalidateIfStale&&i.isStaleByTime(li(a.staleTime,i))&&this.prefetchQuery(a),Promise.resolve(l))}getQueriesData(e){return U(this,Me).findAll(e).map(({queryKey:a,state:i})=>{const l=i.data;return[a,l]})}setQueryData(e,a,i){const l=this.defaultQueryOptions({queryKey:e}),s=U(this,Me).get(l.queryHash),u=s==null?void 0:s.state.data,f=kT(a,u);if(f!==void 0)return U(this,Me).build(this,l).setData(f,{...i,manual:!0})}setQueriesData(e,a,i){return pn.batch(()=>U(this,Me).findAll(e).map(({queryKey:l})=>[l,this.setQueryData(l,a,i)]))}getQueryState(e){var i;const a=this.defaultQueryOptions({queryKey:e});return(i=U(this,Me).get(a.queryHash))==null?void 0:i.state}removeQueries(e){const a=U(this,Me);pn.batch(()=>{a.findAll(e).forEach(i=>{a.remove(i)})})}resetQueries(e,a){const i=U(this,Me);return pn.batch(()=>(i.findAll(e).forEach(l=>{l.reset()}),this.refetchQueries({type:"active",...e},a)))}cancelQueries(e,a={}){const i={revert:!0,...a},l=pn.batch(()=>U(this,Me).findAll(e).map(s=>s.cancel(i)));return Promise.all(l).then(Bn).catch(Bn)}invalidateQueries(e,a={}){return pn.batch(()=>(U(this,Me).findAll(e).forEach(i=>{i.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},a)))}refetchQueries(e,a={}){const i={...a,cancelRefetch:a.cancelRefetch??!0},l=pn.batch(()=>U(this,Me).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let u=s.fetch(void 0,i);return i.throwOnError||(u=u.catch(Bn)),s.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(l).then(Bn)}fetchQuery(e){const a=this.defaultQueryOptions(e);a.retry===void 0&&(a.retry=!1);const i=U(this,Me).build(this,a);return i.isStaleByTime(li(a.staleTime,i))?i.fetch(a):Promise.resolve(i.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Bn).catch(Bn)}fetchInfiniteQuery(e){return e.behavior=ub(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Bn).catch(Bn)}ensureInfiniteQueryData(e){return e.behavior=ub(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Pc.isOnline()?U(this,ni).resumePausedMutations():Promise.resolve()}getQueryCache(){return U(this,Me)}getMutationCache(){return U(this,ni)}getDefaultOptions(){return U(this,ai)}setDefaultOptions(e){ft(this,ai,e)}setQueryDefaults(e,a){U(this,uo).set(_s(e),{queryKey:e,defaultOptions:a})}getQueryDefaults(e){const a=[...U(this,uo).values()],i={};return a.forEach(l=>{zs(e,l.queryKey)&&Object.assign(i,l.defaultOptions)}),i}setMutationDefaults(e,a){U(this,co).set(_s(e),{mutationKey:e,defaultOptions:a})}getMutationDefaults(e){const a=[...U(this,co).values()],i={};return a.forEach(l=>{zs(e,l.mutationKey)&&Object.assign(i,l.defaultOptions)}),i}defaultQueryOptions(e){if(e._defaulted)return e;const a={...U(this,ai).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return a.queryHash||(a.queryHash=im(a.queryKey,a)),a.refetchOnReconnect===void 0&&(a.refetchOnReconnect=a.networkMode!=="always"),a.throwOnError===void 0&&(a.throwOnError=!!a.suspense),!a.networkMode&&a.persister&&(a.networkMode="offlineFirst"),a.queryFn===lm&&(a.enabled=!1),a}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...U(this,ai).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){U(this,Me).clear(),U(this,ni).clear()}},Me=new WeakMap,ni=new WeakMap,ai=new WeakMap,uo=new WeakMap,co=new WeakMap,ri=new WeakMap,fo=new WeakMap,po=new WeakMap,rS),MS=w.createContext(void 0),lw=e=>{const a=w.useContext(MS);if(!a)throw new Error("No QueryClient set, use QueryClientProvider to set one");return a},ow=({client:e,children:a})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),A.jsx(MS.Provider,{value:e,children:a})),_S=w.createContext(!1),sw=()=>w.useContext(_S);_S.Provider;function uw(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var cw=w.createContext(uw()),fw=()=>w.useContext(cw),dw=(e,a,i)=>{const l=i!=null&&i.state.error&&typeof e.throwOnError=="function"?CS(e.throwOnError,[i.state.error,i]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||l)&&(a.isReset()||(e.retryOnMount=!1))},pw=e=>{w.useEffect(()=>{e.clearReset()},[e])},hw=({result:e,errorResetBoundary:a,throwOnError:i,query:l,suspense:s})=>e.isError&&!a.isReset()&&!e.isFetching&&l&&(s&&e.data===void 0||CS(i,[e.error,l])),mw=e=>{if(e.suspense){const i=s=>s==="static"?s:Math.max(s??1e3,1e3),l=e.staleTime;e.staleTime=typeof l=="function"?(...s)=>i(l(...s)):i(l),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},yw=(e,a)=>e.isLoading&&e.isFetching&&!a,gw=(e,a)=>(e==null?void 0:e.suspense)&&a.isPending,fb=(e,a,i)=>a.fetchOptimistic(e).catch(()=>{i.clearReset()});function vw(e,a,i){var T,x,S,b;const l=sw(),s=fw(),u=lw(),f=u.defaultQueryOptions(e);(x=(T=u.getDefaultOptions().queries)==null?void 0:T._experimental_beforeQuery)==null||x.call(T,f);const p=u.getQueryCache().get(f.queryHash);f._optimisticResults=l?"isRestoring":"optimistic",mw(f),dw(f,s,p),pw(s);const h=!u.getQueryCache().get(f.queryHash),[m]=w.useState(()=>new a(u,f)),y=m.getOptimisticResult(f),v=!l&&e.subscribed!==!1;if(w.useSyncExternalStore(w.useCallback(C=>{const M=v?m.subscribe(pn.batchCalls(C)):Bn;return m.updateResult(),M},[m,v]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),w.useEffect(()=>{m.setOptions(f)},[f,m]),gw(f,y))throw fb(f,m,s);if(hw({result:y,errorResetBoundary:s,throwOnError:f.throwOnError,query:p,suspense:f.suspense}))throw y.error;if((b=(S=u.getDefaultOptions().queries)==null?void 0:S._experimental_afterQuery)==null||b.call(S,f,y),f.experimental_prefetchInRender&&!Ji&&yw(y,l)){const C=h?fb(f,m,s):p==null?void 0:p.promise;C==null||C.catch(Bn).finally(()=>{m.updateResult()})}return f.notifyOnChangeProps?y:m.trackResult(y)}function bw(e,a){return vw(e,ZT)}const Bs={black:"#000",white:"#fff"},Yl={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Ql={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Xl={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Kl={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Fl={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},ys={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Sw={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"};function tl(e,...a){const i=new URL(`https://mui.com/production-error/?code=${e}`);return a.forEach(l=>i.searchParams.append("args[]",l)),`Minified MUI error #${e}; visit ${i} for the full message.`}const Va="$$material";function Vc(){return Vc=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var i=arguments[a];for(var l in i)({}).hasOwnProperty.call(i,l)&&(e[l]=i[l])}return e},Vc.apply(null,arguments)}function xw(e){if(e.sheet)return e.sheet;for(var a=0;a<document.styleSheets.length;a++)if(document.styleSheets[a].ownerNode===e)return document.styleSheets[a]}function Ew(e){var a=document.createElement("style");return a.setAttribute("data-emotion",e.key),e.nonce!==void 0&&a.setAttribute("nonce",e.nonce),a.appendChild(document.createTextNode("")),a.setAttribute("data-s",""),a}var Cw=(function(){function e(i){var l=this;this._insertTag=function(s){var u;l.tags.length===0?l.insertionPoint?u=l.insertionPoint.nextSibling:l.prepend?u=l.container.firstChild:u=l.before:u=l.tags[l.tags.length-1].nextSibling,l.container.insertBefore(s,u),l.tags.push(s)},this.isSpeedy=i.speedy===void 0?!0:i.speedy,this.tags=[],this.ctr=0,this.nonce=i.nonce,this.key=i.key,this.container=i.container,this.prepend=i.prepend,this.insertionPoint=i.insertionPoint,this.before=null}var a=e.prototype;return a.hydrate=function(l){l.forEach(this._insertTag)},a.insert=function(l){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Ew(this));var s=this.tags[this.tags.length-1];if(this.isSpeedy){var u=xw(s);try{u.insertRule(l,u.cssRules.length)}catch{}}else s.appendChild(document.createTextNode(l));this.ctr++},a.flush=function(){this.tags.forEach(function(l){var s;return(s=l.parentNode)==null?void 0:s.removeChild(l)}),this.tags=[],this.ctr=0},e})(),yn="-ms-",Gc="-moz-",It="-webkit-",zS="comm",um="rule",cm="decl",Tw="@import",BS="@keyframes",ww="@layer",Rw=Math.abs,af=String.fromCharCode,Ow=Object.assign;function Aw(e,a){return dn(e,0)^45?(((a<<2^dn(e,0))<<2^dn(e,1))<<2^dn(e,2))<<2^dn(e,3):0}function DS(e){return e.trim()}function Mw(e,a){return(e=a.exec(e))?e[0]:e}function Zt(e,a,i){return e.replace(a,i)}function Oh(e,a){return e.indexOf(a)}function dn(e,a){return e.charCodeAt(a)|0}function Ds(e,a,i){return e.slice(a,i)}function $a(e){return e.length}function fm(e){return e.length}function Cc(e,a){return a.push(e),e}function _w(e,a){return e.map(a).join("")}var rf=1,ho=1,jS=0,Hn=0,$e=0,So="";function lf(e,a,i,l,s,u,f){return{value:e,root:a,parent:i,type:l,props:s,children:u,line:rf,column:ho,length:f,return:""}}function gs(e,a){return Ow(lf("",null,null,"",null,null,0),e,{length:-e.length},a)}function zw(){return $e}function Bw(){return $e=Hn>0?dn(So,--Hn):0,ho--,$e===10&&(ho=1,rf--),$e}function Xn(){return $e=Hn<jS?dn(So,Hn++):0,ho++,$e===10&&(ho=1,rf++),$e}function Ga(){return dn(So,Hn)}function zc(){return Hn}function Xs(e,a){return Ds(So,e,a)}function js(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 NS(e){return rf=ho=1,jS=$a(So=e),Hn=0,[]}function US(e){return So="",e}function Bc(e){return DS(Xs(Hn-1,Ah(e===91?e+2:e===40?e+1:e)))}function Dw(e){for(;($e=Ga())&&$e<33;)Xn();return js(e)>2||js($e)>3?"":" "}function jw(e,a){for(;--a&&Xn()&&!($e<48||$e>102||$e>57&&$e<65||$e>70&&$e<97););return Xs(e,zc()+(a<6&&Ga()==32&&Xn()==32))}function Ah(e){for(;Xn();)switch($e){case e:return Hn;case 34:case 39:e!==34&&e!==39&&Ah($e);break;case 40:e===41&&Ah(e);break;case 92:Xn();break}return Hn}function Nw(e,a){for(;Xn()&&e+$e!==57;)if(e+$e===84&&Ga()===47)break;return"/*"+Xs(a,Hn-1)+"*"+af(e===47?e:Xn())}function Uw(e){for(;!js(Ga());)Xn();return Xs(e,Hn)}function Lw(e){return US(Dc("",null,null,null,[""],e=NS(e),0,[0],e))}function Dc(e,a,i,l,s,u,f,p,h){for(var m=0,y=0,v=f,T=0,x=0,S=0,b=1,C=1,M=1,L=0,j="",O=s,B=u,H=l,$=j;C;)switch(S=L,L=Xn()){case 40:if(S!=108&&dn($,v-1)==58){Oh($+=Zt(Bc(L),"&","&\f"),"&\f")!=-1&&(M=-1);break}case 34:case 39:case 91:$+=Bc(L);break;case 9:case 10:case 13:case 32:$+=Dw(S);break;case 92:$+=jw(zc()-1,7);continue;case 47:switch(Ga()){case 42:case 47:Cc(Hw(Nw(Xn(),zc()),a,i),h);break;default:$+="/"}break;case 123*b:p[m++]=$a($)*M;case 125*b:case 59:case 0:switch(L){case 0:case 125:C=0;case 59+y:M==-1&&($=Zt($,/\f/g,"")),x>0&&$a($)-v&&Cc(x>32?pb($+";",l,i,v-1):pb(Zt($," ","")+";",l,i,v-2),h);break;case 59:$+=";";default:if(Cc(H=db($,a,i,m,y,s,p,j,O=[],B=[],v),u),L===123)if(y===0)Dc($,a,H,H,O,u,v,p,B);else switch(T===99&&dn($,3)===110?100:T){case 100:case 108:case 109:case 115:Dc(e,H,H,l&&Cc(db(e,H,H,0,0,s,p,j,s,O=[],v),B),s,B,v,p,l?O:B);break;default:Dc($,H,H,H,[""],B,0,p,B)}}m=y=x=0,b=M=1,j=$="",v=f;break;case 58:v=1+$a($),x=S;default:if(b<1){if(L==123)--b;else if(L==125&&b++==0&&Bw()==125)continue}switch($+=af(L),L*b){case 38:M=y>0?1:($+="\f",-1);break;case 44:p[m++]=($a($)-1)*M,M=1;break;case 64:Ga()===45&&($+=Bc(Xn())),T=Ga(),y=v=$a(j=$+=Uw(zc())),L++;break;case 45:S===45&&$a($)==2&&(b=0)}}return u}function db(e,a,i,l,s,u,f,p,h,m,y){for(var v=s-1,T=s===0?u:[""],x=fm(T),S=0,b=0,C=0;S<l;++S)for(var M=0,L=Ds(e,v+1,v=Rw(b=f[S])),j=e;M<x;++M)(j=DS(b>0?T[M]+" "+L:Zt(L,/&\f/g,T[M])))&&(h[C++]=j);return lf(e,a,i,s===0?um:p,h,m,y)}function Hw(e,a,i){return lf(e,a,i,zS,af(zw()),Ds(e,2,-2),0)}function pb(e,a,i,l){return lf(e,a,i,cm,Ds(e,0,l),Ds(e,l+1,-1),l)}function Jl(e,a){for(var i="",l=fm(e),s=0;s<l;s++)i+=a(e[s],s,e,a)||"";return i}function kw(e,a,i,l){switch(e.type){case ww:if(e.children.length)break;case Tw:case cm:return e.return=e.return||e.value;case zS:return"";case BS:return e.return=e.value+"{"+Jl(e.children,l)+"}";case um:e.value=e.props.join(",")}return $a(i=Jl(e.children,l))?e.return=e.value+"{"+i+"}":""}function $w(e){var a=fm(e);return function(i,l,s,u){for(var f="",p=0;p<a;p++)f+=e[p](i,l,s,u)||"";return f}}function qw(e){return function(a){a.root||(a=a.return)&&e(a)}}function LS(e){var a=Object.create(null);return function(i){return a[i]===void 0&&(a[i]=e(i)),a[i]}}var Pw=function(a,i,l){for(var s=0,u=0;s=u,u=Ga(),s===38&&u===12&&(i[l]=1),!js(u);)Xn();return Xs(a,Hn)},Vw=function(a,i){var l=-1,s=44;do switch(js(s)){case 0:s===38&&Ga()===12&&(i[l]=1),a[l]+=Pw(Hn-1,i,l);break;case 2:a[l]+=Bc(s);break;case 4:if(s===44){a[++l]=Ga()===58?"&\f":"",i[l]=a[l].length;break}default:a[l]+=af(s)}while(s=Xn());return a},Gw=function(a,i){return US(Vw(NS(a),i))},hb=new WeakMap,Yw=function(a){if(!(a.type!=="rule"||!a.parent||a.length<1)){for(var i=a.value,l=a.parent,s=a.column===l.column&&a.line===l.line;l.type!=="rule";)if(l=l.parent,!l)return;if(!(a.props.length===1&&i.charCodeAt(0)!==58&&!hb.get(l))&&!s){hb.set(a,!0);for(var u=[],f=Gw(i,u),p=l.props,h=0,m=0;h<f.length;h++)for(var y=0;y<p.length;y++,m++)a.props[m]=u[h]?f[h].replace(/&\f/g,p[y]):p[y]+" "+f[h]}}},Qw=function(a){if(a.type==="decl"){var i=a.value;i.charCodeAt(0)===108&&i.charCodeAt(2)===98&&(a.return="",a.value="")}};function HS(e,a){switch(Aw(e,a)){case 5103:return It+"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 It+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return It+e+Gc+e+yn+e+e;case 6828:case 4268:return It+e+yn+e+e;case 6165:return It+e+yn+"flex-"+e+e;case 5187:return It+e+Zt(e,/(\w+).+(:[^]+)/,It+"box-$1$2"+yn+"flex-$1$2")+e;case 5443:return It+e+yn+"flex-item-"+Zt(e,/flex-|-self/,"")+e;case 4675:return It+e+yn+"flex-line-pack"+Zt(e,/align-content|flex-|-self/,"")+e;case 5548:return It+e+yn+Zt(e,"shrink","negative")+e;case 5292:return It+e+yn+Zt(e,"basis","preferred-size")+e;case 6060:return It+"box-"+Zt(e,"-grow","")+It+e+yn+Zt(e,"grow","positive")+e;case 4554:return It+Zt(e,/([^-])(transform)/g,"$1"+It+"$2")+e;case 6187:return Zt(Zt(Zt(e,/(zoom-|grab)/,It+"$1"),/(image-set)/,It+"$1"),e,"")+e;case 5495:case 3959:return Zt(e,/(image-set\([^]*)/,It+"$1$`$1");case 4968:return Zt(Zt(e,/(.+:)(flex-)?(.*)/,It+"box-pack:$3"+yn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+It+e+e;case 4095:case 3583:case 4068:case 2532:return Zt(e,/(.+)-inline(.+)/,It+"$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($a(e)-1-a>6)switch(dn(e,a+1)){case 109:if(dn(e,a+4)!==45)break;case 102:return Zt(e,/(.+:)(.+)-([^]+)/,"$1"+It+"$2-$3$1"+Gc+(dn(e,a+3)==108?"$3":"$2-$3"))+e;case 115:return~Oh(e,"stretch")?HS(Zt(e,"stretch","fill-available"),a)+e:e}break;case 4949:if(dn(e,a+1)!==115)break;case 6444:switch(dn(e,$a(e)-3-(~Oh(e,"!important")&&10))){case 107:return Zt(e,":",":"+It)+e;case 101:return Zt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+It+(dn(e,14)===45?"inline-":"")+"box$3$1"+It+"$2$3$1"+yn+"$2box$3")+e}break;case 5936:switch(dn(e,a+11)){case 114:return It+e+yn+Zt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return It+e+yn+Zt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return It+e+yn+Zt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return It+e+yn+e+e}return e}var Xw=function(a,i,l,s){if(a.length>-1&&!a.return)switch(a.type){case cm:a.return=HS(a.value,a.length);break;case BS:return Jl([gs(a,{value:Zt(a.value,"@","@"+It)})],s);case um:if(a.length)return _w(a.props,function(u){switch(Mw(u,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Jl([gs(a,{props:[Zt(u,/:(read-\w+)/,":"+Gc+"$1")]})],s);case"::placeholder":return Jl([gs(a,{props:[Zt(u,/:(plac\w+)/,":"+It+"input-$1")]}),gs(a,{props:[Zt(u,/:(plac\w+)/,":"+Gc+"$1")]}),gs(a,{props:[Zt(u,/:(plac\w+)/,yn+"input-$1")]})],s)}return""})}},Kw=[Xw],kS=function(a){var i=a.key;if(i==="css"){var l=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(l,function(b){var C=b.getAttribute("data-emotion");C.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var s=a.stylisPlugins||Kw,u={},f,p=[];f=a.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+i+' "]'),function(b){for(var C=b.getAttribute("data-emotion").split(" "),M=1;M<C.length;M++)u[C[M]]=!0;p.push(b)});var h,m=[Yw,Qw];{var y,v=[kw,qw(function(b){y.insert(b)})],T=$w(m.concat(s,v)),x=function(C){return Jl(Lw(C),T)};h=function(C,M,L,j){y=L,x(C?C+"{"+M.styles+"}":M.styles),j&&(S.inserted[M.name]=!0)}}var S={key:i,sheet:new Cw({key:i,container:f,nonce:a.nonce,speedy:a.speedy,prepend:a.prepend,insertionPoint:a.insertionPoint}),nonce:a.nonce,inserted:u,registered:{},insert:h};return S.sheet.hydrate(p),S},Qp={exports:{}},Jt={};/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var mb;function Fw(){if(mb)return Jt;mb=1;var e=typeof Symbol=="function"&&Symbol.for,a=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,l=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,u=e?Symbol.for("react.profiler"):60114,f=e?Symbol.for("react.provider"):60109,p=e?Symbol.for("react.context"):60110,h=e?Symbol.for("react.async_mode"):60111,m=e?Symbol.for("react.concurrent_mode"):60111,y=e?Symbol.for("react.forward_ref"):60112,v=e?Symbol.for("react.suspense"):60113,T=e?Symbol.for("react.suspense_list"):60120,x=e?Symbol.for("react.memo"):60115,S=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,M=e?Symbol.for("react.responder"):60118,L=e?Symbol.for("react.scope"):60119;function j(B){if(typeof B=="object"&&B!==null){var H=B.$$typeof;switch(H){case a:switch(B=B.type,B){case h:case m:case l:case u:case s:case v:return B;default:switch(B=B&&B.$$typeof,B){case p:case y:case S:case x:case f:return B;default:return H}}case i:return H}}}function O(B){return j(B)===m}return Jt.AsyncMode=h,Jt.ConcurrentMode=m,Jt.ContextConsumer=p,Jt.ContextProvider=f,Jt.Element=a,Jt.ForwardRef=y,Jt.Fragment=l,Jt.Lazy=S,Jt.Memo=x,Jt.Portal=i,Jt.Profiler=u,Jt.StrictMode=s,Jt.Suspense=v,Jt.isAsyncMode=function(B){return O(B)||j(B)===h},Jt.isConcurrentMode=O,Jt.isContextConsumer=function(B){return j(B)===p},Jt.isContextProvider=function(B){return j(B)===f},Jt.isElement=function(B){return typeof B=="object"&&B!==null&&B.$$typeof===a},Jt.isForwardRef=function(B){return j(B)===y},Jt.isFragment=function(B){return j(B)===l},Jt.isLazy=function(B){return j(B)===S},Jt.isMemo=function(B){return j(B)===x},Jt.isPortal=function(B){return j(B)===i},Jt.isProfiler=function(B){return j(B)===u},Jt.isStrictMode=function(B){return j(B)===s},Jt.isSuspense=function(B){return j(B)===v},Jt.isValidElementType=function(B){return typeof B=="string"||typeof B=="function"||B===l||B===m||B===u||B===s||B===v||B===T||typeof B=="object"&&B!==null&&(B.$$typeof===S||B.$$typeof===x||B.$$typeof===f||B.$$typeof===p||B.$$typeof===y||B.$$typeof===C||B.$$typeof===M||B.$$typeof===L||B.$$typeof===b)},Jt.typeOf=j,Jt}var yb;function Iw(){return yb||(yb=1,Qp.exports=Fw()),Qp.exports}var Xp,gb;function Zw(){if(gb)return Xp;gb=1;var e=Iw(),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};u[e.ForwardRef]=l,u[e.Memo]=s;function f(S){return e.isMemo(S)?s:u[S.$$typeof]||a}var p=Object.defineProperty,h=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,y=Object.getOwnPropertyDescriptor,v=Object.getPrototypeOf,T=Object.prototype;function x(S,b,C){if(typeof b!="string"){if(T){var M=v(b);M&&M!==T&&x(S,M,C)}var L=h(b);m&&(L=L.concat(m(b)));for(var j=f(S),O=f(b),B=0;B<L.length;++B){var H=L[B];if(!i[H]&&!(C&&C[H])&&!(O&&O[H])&&!(j&&j[H])){var $=y(b,H);try{p(S,H,$)}catch{}}}}return S}return Xp=x,Xp}Zw();var Ww=!0;function $S(e,a,i){var l="";return i.split(" ").forEach(function(s){e[s]!==void 0?a.push(e[s]+";"):s&&(l+=s+" ")}),l}var dm=function(a,i,l){var s=a.key+"-"+i.name;(l===!1||Ww===!1)&&a.registered[s]===void 0&&(a.registered[s]=i.styles)},pm=function(a,i,l){dm(a,i,l);var s=a.key+"-"+i.name;if(a.inserted[i.name]===void 0){var u=i;do a.insert(i===u?"."+s:"",u,a.sheet,!0),u=u.next;while(u!==void 0)}};function Jw(e){for(var a=0,i,l=0,s=e.length;s>=4;++l,s-=4)i=e.charCodeAt(l)&255|(e.charCodeAt(++l)&255)<<8|(e.charCodeAt(++l)&255)<<16|(e.charCodeAt(++l)&255)<<24,i=(i&65535)*1540483477+((i>>>16)*59797<<16),i^=i>>>24,a=(i&65535)*1540483477+((i>>>16)*59797<<16)^(a&65535)*1540483477+((a>>>16)*59797<<16);switch(s){case 3:a^=(e.charCodeAt(l+2)&255)<<16;case 2:a^=(e.charCodeAt(l+1)&255)<<8;case 1:a^=e.charCodeAt(l)&255,a=(a&65535)*1540483477+((a>>>16)*59797<<16)}return a^=a>>>13,a=(a&65535)*1540483477+((a>>>16)*59797<<16),((a^a>>>15)>>>0).toString(36)}var tR={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},eR=/[A-Z]|^ms/g,nR=/_EMO_([^_]+?)_([^]*?)_EMO_/g,qS=function(a){return a.charCodeAt(1)===45},vb=function(a){return a!=null&&typeof a!="boolean"},Kp=LS(function(e){return qS(e)?e:e.replace(eR,"-$&").toLowerCase()}),bb=function(a,i){switch(a){case"animation":case"animationName":if(typeof i=="string")return i.replace(nR,function(l,s,u){return qa={name:s,styles:u,next:qa},s})}return tR[a]!==1&&!qS(a)&&typeof i=="number"&&i!==0?i+"px":i};function Ns(e,a,i){if(i==null)return"";var l=i;if(l.__emotion_styles!==void 0)return l;switch(typeof i){case"boolean":return"";case"object":{var s=i;if(s.anim===1)return qa={name:s.name,styles:s.styles,next:qa},s.name;var u=i;if(u.styles!==void 0){var f=u.next;if(f!==void 0)for(;f!==void 0;)qa={name:f.name,styles:f.styles,next:qa},f=f.next;var p=u.styles+";";return p}return aR(e,a,i)}case"function":{if(e!==void 0){var h=qa,m=i(e);return qa=h,Ns(e,a,m)}break}}var y=i;if(a==null)return y;var v=a[y];return v!==void 0?v:y}function aR(e,a,i){var l="";if(Array.isArray(i))for(var s=0;s<i.length;s++)l+=Ns(e,a,i[s])+";";else for(var u in i){var f=i[u];if(typeof f!="object"){var p=f;a!=null&&a[p]!==void 0?l+=u+"{"+a[p]+"}":vb(p)&&(l+=Kp(u)+":"+bb(u,p)+";")}else if(Array.isArray(f)&&typeof f[0]=="string"&&(a==null||a[f[0]]===void 0))for(var h=0;h<f.length;h++)vb(f[h])&&(l+=Kp(u)+":"+bb(u,f[h])+";");else{var m=Ns(e,a,f);switch(u){case"animation":case"animationName":{l+=Kp(u)+":"+m+";";break}default:l+=u+"{"+m+"}"}}}return l}var Sb=/label:\s*([^\s;{]+)\s*(;|$)/g,qa;function Ks(e,a,i){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var l=!0,s="";qa=void 0;var u=e[0];if(u==null||u.raw===void 0)l=!1,s+=Ns(i,a,u);else{var f=u;s+=f[0]}for(var p=1;p<e.length;p++)if(s+=Ns(i,a,e[p]),l){var h=u;s+=h[p]}Sb.lastIndex=0;for(var m="",y;(y=Sb.exec(s))!==null;)m+="-"+y[1];var v=Jw(s)+m;return{name:v,styles:s,next:qa}}var rR=function(a){return a()},PS=qc.useInsertionEffect?qc.useInsertionEffect:!1,VS=PS||rR,xb=PS||w.useLayoutEffect,GS=w.createContext(typeof HTMLElement<"u"?kS({key:"css"}):null),iR=GS.Provider,hm=function(a){return w.forwardRef(function(i,l){var s=w.useContext(GS);return a(i,s,l)})},Fs=w.createContext({}),mm={}.hasOwnProperty,Mh="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",lR=function(a,i){var l={};for(var s in i)mm.call(i,s)&&(l[s]=i[s]);return l[Mh]=a,l},oR=function(a){var i=a.cache,l=a.serialized,s=a.isStringTag;return dm(i,l,s),VS(function(){return pm(i,l,s)}),null},sR=hm(function(e,a,i){var l=e.css;typeof l=="string"&&a.registered[l]!==void 0&&(l=a.registered[l]);var s=e[Mh],u=[l],f="";typeof e.className=="string"?f=$S(a.registered,u,e.className):e.className!=null&&(f=e.className+" ");var p=Ks(u,void 0,w.useContext(Fs));f+=a.key+"-"+p.name;var h={};for(var m in e)mm.call(e,m)&&m!=="css"&&m!==Mh&&(h[m]=e[m]);return h.className=f,i&&(h.ref=i),w.createElement(w.Fragment,null,w.createElement(oR,{cache:a,serialized:p,isStringTag:typeof s=="string"}),w.createElement(s,h))}),uR=sR,Eb=function(a,i){var l=arguments;if(i==null||!mm.call(i,"css"))return w.createElement.apply(void 0,l);var s=l.length,u=new Array(s);u[0]=uR,u[1]=lR(a,i);for(var f=2;f<s;f++)u[f]=l[f];return w.createElement.apply(null,u)};(function(e){var a;a||(a=e.JSX||(e.JSX={}))})(Eb||(Eb={}));var cR=hm(function(e,a){var i=e.styles,l=Ks([i],void 0,w.useContext(Fs)),s=w.useRef();return xb(function(){var u=a.key+"-global",f=new a.sheet.constructor({key:u,nonce:a.sheet.nonce,container:a.sheet.container,speedy:a.sheet.isSpeedy}),p=!1,h=document.querySelector('style[data-emotion="'+u+" "+l.name+'"]');return a.sheet.tags.length&&(f.before=a.sheet.tags[0]),h!==null&&(p=!0,h.setAttribute("data-emotion",u),f.hydrate([h])),s.current=[f,p],function(){f.flush()}},[a]),xb(function(){var u=s.current,f=u[0],p=u[1];if(p){u[1]=!1;return}if(l.next!==void 0&&pm(a,l.next,!0),f.tags.length){var h=f.tags[f.tags.length-1].nextElementSibling;f.before=h,f.flush()}a.insert("",l,f,!1)},[a,l.name]),null});function Is(){for(var e=arguments.length,a=new Array(e),i=0;i<e;i++)a[i]=arguments[i];return Ks(a)}function rl(){var e=Is.apply(void 0,arguments),a="animation-"+e.name;return{name:a,styles:"@keyframes "+a+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var fR=/^((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)-.*))$/,dR=LS(function(e){return fR.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),pR=dR,hR=function(a){return a!=="theme"},Cb=function(a){return typeof a=="string"&&a.charCodeAt(0)>96?pR:hR},Tb=function(a,i,l){var s;if(i){var u=i.shouldForwardProp;s=a.__emotion_forwardProp&&u?function(f){return a.__emotion_forwardProp(f)&&u(f)}:u}return typeof s!="function"&&l&&(s=a.__emotion_forwardProp),s},mR=function(a){var i=a.cache,l=a.serialized,s=a.isStringTag;return dm(i,l,s),VS(function(){return pm(i,l,s)}),null},yR=function e(a,i){var l=a.__emotion_real===a,s=l&&a.__emotion_base||a,u,f;i!==void 0&&(u=i.label,f=i.target);var p=Tb(a,i,l),h=p||Cb(s),m=!h("as");return function(){var y=arguments,v=l&&a.__emotion_styles!==void 0?a.__emotion_styles.slice(0):[];if(u!==void 0&&v.push("label:"+u+";"),y[0]==null||y[0].raw===void 0)v.push.apply(v,y);else{var T=y[0];v.push(T[0]);for(var x=y.length,S=1;S<x;S++)v.push(y[S],T[S])}var b=hm(function(C,M,L){var j=m&&C.as||s,O="",B=[],H=C;if(C.theme==null){H={};for(var $ in C)H[$]=C[$];H.theme=w.useContext(Fs)}typeof C.className=="string"?O=$S(M.registered,B,C.className):C.className!=null&&(O=C.className+" ");var Q=Ks(v.concat(B),M.registered,H);O+=M.key+"-"+Q.name,f!==void 0&&(O+=" "+f);var Z=m&&p===void 0?Cb(j):h,W={};for(var et in C)m&&et==="as"||Z(et)&&(W[et]=C[et]);return W.className=O,L&&(W.ref=L),w.createElement(w.Fragment,null,w.createElement(mR,{cache:M,serialized:Q,isStringTag:typeof j=="string"}),w.createElement(j,W))});return b.displayName=u!==void 0?u:"Styled("+(typeof s=="string"?s:s.displayName||s.name||"Component")+")",b.defaultProps=a.defaultProps,b.__emotion_real=b,b.__emotion_base=s,b.__emotion_styles=v,b.__emotion_forwardProp=p,Object.defineProperty(b,"toString",{value:function(){return"."+f}}),b.withComponent=function(C,M){var L=e(C,Vc({},i,M,{shouldForwardProp:Tb(b,M,!0)}));return L.apply(void 0,v)},b}},gR=["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"],_h=yR.bind(null);gR.forEach(function(e){_h[e]=_h(e)});function vR(e){return e==null||Object.keys(e).length===0}function YS(e){const{styles:a,defaultTheme:i={}}=e,l=typeof a=="function"?s=>a(vR(s)?i:s):a;return A.jsx(cR,{styles:l})}function QS(e,a){return _h(e,a)}function bR(e,a){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=a(e.__emotion_styles))}const wb=[];function oi(e){return wb[0]=e,Ks(wb)}var Fp={exports:{}},se={};/**
 * @license React
 * react-is.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Rb;function SR(){if(Rb)return se;Rb=1;var e=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),T=Symbol.for("react.view_transition"),x=Symbol.for("react.client.reference");function S(b){if(typeof b=="object"&&b!==null){var C=b.$$typeof;switch(C){case e:switch(b=b.type,b){case i:case s:case l:case h:case m:case T:return b;default:switch(b=b&&b.$$typeof,b){case f:case p:case v:case y:return b;case u:return b;default:return C}}case a:return C}}}return se.ContextConsumer=u,se.ContextProvider=f,se.Element=e,se.ForwardRef=p,se.Fragment=i,se.Lazy=v,se.Memo=y,se.Portal=a,se.Profiler=s,se.StrictMode=l,se.Suspense=h,se.SuspenseList=m,se.isContextConsumer=function(b){return S(b)===u},se.isContextProvider=function(b){return S(b)===f},se.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},se.isForwardRef=function(b){return S(b)===p},se.isFragment=function(b){return S(b)===i},se.isLazy=function(b){return S(b)===v},se.isMemo=function(b){return S(b)===y},se.isPortal=function(b){return S(b)===a},se.isProfiler=function(b){return S(b)===s},se.isStrictMode=function(b){return S(b)===l},se.isSuspense=function(b){return S(b)===h},se.isSuspenseList=function(b){return S(b)===m},se.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===i||b===s||b===l||b===h||b===m||typeof b=="object"&&b!==null&&(b.$$typeof===v||b.$$typeof===y||b.$$typeof===f||b.$$typeof===u||b.$$typeof===p||b.$$typeof===x||b.getModuleId!==void 0)},se.typeOf=S,se}var Ob;function xR(){return Ob||(Ob=1,Fp.exports=SR()),Fp.exports}var XS=xR();function Pa(e){if(typeof e!="object"||e===null)return!1;const a=Object.getPrototypeOf(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function KS(e){if(w.isValidElement(e)||XS.isValidElementType(e)||!Pa(e))return e;const a={};return Object.keys(e).forEach(i=>{a[i]=KS(e[i])}),a}function Dn(e,a,i={clone:!0}){const l=i.clone?{...e}:e;return Pa(e)&&Pa(a)&&Object.keys(a).forEach(s=>{w.isValidElement(a[s])||XS.isValidElementType(a[s])?l[s]=a[s]:Pa(a[s])&&Object.prototype.hasOwnProperty.call(e,s)&&Pa(e[s])?l[s]=Dn(e[s],a[s],i):i.clone?l[s]=Pa(a[s])?KS(a[s]):a[s]:l[s]=a[s]}),l}const ER=e=>{const a=Object.keys(e).map(i=>({key:i,val:e[i]}))||[];return a.sort((i,l)=>i.val-l.val),a.reduce((i,l)=>({...i,[l.key]:l.val}),{})};function CR(e){const{values:a={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:i="px",step:l=5,...s}=e,u=ER(a),f=Object.keys(u);function p(T){return`@media (min-width:${typeof a[T]=="number"?a[T]:T}${i})`}function h(T){return`@media (max-width:${(typeof a[T]=="number"?a[T]:T)-l/100}${i})`}function m(T,x){const S=f.indexOf(x);return`@media (min-width:${typeof a[T]=="number"?a[T]:T}${i}) and (max-width:${(S!==-1&&typeof a[f[S]]=="number"?a[f[S]]:x)-l/100}${i})`}function y(T){return f.indexOf(T)+1<f.length?m(T,f[f.indexOf(T)+1]):p(T)}function v(T){const x=f.indexOf(T);return x===0?p(f[1]):x===f.length-1?h(f[x]):m(T,f[f.indexOf(T)+1]).replace("@media","@media not all and")}return{keys:f,values:u,up:p,down:h,between:m,only:y,not:v,unit:i,...s}}function Ab(e,a){if(!e.containerQueries)return a;const i=Object.keys(a).filter(l=>l.startsWith("@container")).sort((l,s)=>{var f,p;const u=/min-width:\s*([0-9.]+)/;return+(((f=l.match(u))==null?void 0:f[1])||0)-+(((p=s.match(u))==null?void 0:p[1])||0)});return i.length?i.reduce((l,s)=>{const u=a[s];return delete l[s],l[s]=u,l},{...a}):a}function TR(e,a){return a==="@"||a.startsWith("@")&&(e.some(i=>a.startsWith(`@${i}`))||!!a.match(/^@\d/))}function wR(e,a){const i=a.match(/^@([^/]+)?\/?(.+)?$/);if(!i)return null;const[,l,s]=i,u=Number.isNaN(+l)?l||0:+l;return e.containerQueries(s).up(u)}function RR(e){const a=(u,f)=>u.replace("@media",f?`@container ${f}`:"@container");function i(u,f){u.up=(...p)=>a(e.breakpoints.up(...p),f),u.down=(...p)=>a(e.breakpoints.down(...p),f),u.between=(...p)=>a(e.breakpoints.between(...p),f),u.only=(...p)=>a(e.breakpoints.only(...p),f),u.not=(...p)=>{const h=a(e.breakpoints.not(...p),f);return h.includes("not all and")?h.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):h}}const l={},s=u=>(i(l,u),l);return i(s),{...e,containerQueries:s}}const OR={borderRadius:4};function ws(e,a){return a?Dn(e,a,{clone:!1}):e}const of={xs:0,sm:600,md:900,lg:1200,xl:1536},Mb={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${of[e]}px)`},AR={containerQueries:e=>({up:a=>{let i=typeof a=="number"?a:of[a]||a;return typeof i=="number"&&(i=`${i}px`),e?`@container ${e} (min-width:${i})`:`@container (min-width:${i})`}})};function br(e,a,i){const l=e.theme||{};if(Array.isArray(a)){const u=l.breakpoints||Mb;return a.reduce((f,p,h)=>(f[u.up(u.keys[h])]=i(a[h]),f),{})}if(typeof a=="object"){const u=l.breakpoints||Mb;return Object.keys(a).reduce((f,p)=>{if(TR(u.keys,p)){const h=wR(l.containerQueries?l:AR,p);h&&(f[h]=i(a[p],p))}else if(Object.keys(u.values||of).includes(p)){const h=u.up(p);f[h]=i(a[p],p)}else{const h=p;f[h]=a[h]}return f},{})}return i(a)}function FS(e={}){var i;return((i=e.keys)==null?void 0:i.reduce((l,s)=>{const u=e.up(s);return l[u]={},l},{}))||{}}function zh(e,a){return e.reduce((i,l)=>{const s=i[l];return(!s||Object.keys(s).length===0)&&delete i[l],i},a)}function ez(e,...a){const i=FS(e),l=[i,...a].reduce((s,u)=>Dn(s,u),{});return zh(Object.keys(i),l)}function MR(e,a){if(typeof e!="object")return{};const i={},l=Object.keys(a);return Array.isArray(e)?l.forEach((s,u)=>{u<e.length&&(i[s]=!0)}):l.forEach(s=>{e[s]!=null&&(i[s]=!0)}),i}function nz({values:e,breakpoints:a,base:i}){const l=i||MR(e,a),s=Object.keys(l);if(s.length===0)return e;let u;return s.reduce((f,p,h)=>(Array.isArray(e)?(f[p]=e[h]!=null?e[h]:e[u],u=h):typeof e=="object"?(f[p]=e[p]!=null?e[p]:e[u],u=p):f[p]=e,f),{})}function Ot(e){if(typeof e!="string")throw new Error(tl(7));return e.charAt(0).toUpperCase()+e.slice(1)}function sf(e,a,i=!0){if(!a||typeof a!="string")return null;if(e&&e.vars&&i){const l=`vars.${a}`.split(".").reduce((s,u)=>s&&s[u]?s[u]:null,e);if(l!=null)return l}return a.split(".").reduce((l,s)=>l&&l[s]!=null?l[s]:null,e)}function Yc(e,a,i,l=i){let s;return typeof e=="function"?s=e(i):Array.isArray(e)?s=e[i]||l:s=sf(e,i)||l,a&&(s=a(s,l,e)),s}function Ne(e){const{prop:a,cssProperty:i=e.prop,themeKey:l,transform:s}=e,u=f=>{if(f[a]==null)return null;const p=f[a],h=f.theme,m=sf(h,l)||{};return br(f,p,v=>{let T=Yc(m,s,v);return v===T&&typeof v=="string"&&(T=Yc(m,s,`${a}${v==="default"?"":Ot(v)}`,v)),i===!1?T:{[i]:T}})};return u.propTypes={},u.filterProps=[a],u}function _R(e){const a={};return i=>(a[i]===void 0&&(a[i]=e(i)),a[i])}const zR={m:"margin",p:"padding"},BR={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},_b={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},DR=_R(e=>{if(e.length>2)if(_b[e])e=_b[e];else return[e];const[a,i]=e.split(""),l=zR[a],s=BR[i]||"";return Array.isArray(s)?s.map(u=>l+u):[l+s]}),ym=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],gm=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...ym,...gm];function Zs(e,a,i,l){const s=sf(e,a,!0)??i;return typeof s=="number"||typeof s=="string"?u=>typeof u=="string"?u:typeof s=="string"?s.startsWith("var(")&&u===0?0:s.startsWith("var(")&&u===1?s:`calc(${u} * ${s})`:s*u:Array.isArray(s)?u=>{if(typeof u=="string")return u;const f=Math.abs(u),p=s[f];return u>=0?p:typeof p=="number"?-p:typeof p=="string"&&p.startsWith("var(")?`calc(-1 * ${p})`:`-${p}`}:typeof s=="function"?s:()=>{}}function vm(e){return Zs(e,"spacing",8)}function Ws(e,a){return typeof a=="string"||a==null?a:e(a)}function jR(e,a){return i=>e.reduce((l,s)=>(l[s]=Ws(a,i),l),{})}function NR(e,a,i,l){if(!a.includes(i))return null;const s=DR(i),u=jR(s,l),f=e[i];return br(e,f,u)}function IS(e,a){const i=vm(e.theme);return Object.keys(e).map(l=>NR(e,a,l,i)).reduce(ws,{})}function Oe(e){return IS(e,ym)}Oe.propTypes={};Oe.filterProps=ym;function Ae(e){return IS(e,gm)}Ae.propTypes={};Ae.filterProps=gm;function ZS(e=8,a=vm({spacing:e})){if(e.mui)return e;const i=(...l)=>(l.length===0?[1]:l).map(u=>{const f=a(u);return typeof f=="number"?`${f}px`:f}).join(" ");return i.mui=!0,i}function uf(...e){const a=e.reduce((l,s)=>(s.filterProps.forEach(u=>{l[u]=s}),l),{}),i=l=>Object.keys(l).reduce((s,u)=>a[u]?ws(s,a[u](l)):s,{});return i.propTypes={},i.filterProps=e.reduce((l,s)=>l.concat(s.filterProps),[]),i}function ha(e){return typeof e!="number"?e:`${e}px solid`}function ba(e,a){return Ne({prop:e,themeKey:"borders",transform:a})}const UR=ba("border",ha),LR=ba("borderTop",ha),HR=ba("borderRight",ha),kR=ba("borderBottom",ha),$R=ba("borderLeft",ha),qR=ba("borderColor"),PR=ba("borderTopColor"),VR=ba("borderRightColor"),GR=ba("borderBottomColor"),YR=ba("borderLeftColor"),QR=ba("outline",ha),XR=ba("outlineColor"),cf=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const a=Zs(e.theme,"shape.borderRadius",4),i=l=>({borderRadius:Ws(a,l)});return br(e,e.borderRadius,i)}return null};cf.propTypes={};cf.filterProps=["borderRadius"];uf(UR,LR,HR,kR,$R,qR,PR,VR,GR,YR,cf,QR,XR);const ff=e=>{if(e.gap!==void 0&&e.gap!==null){const a=Zs(e.theme,"spacing",8),i=l=>({gap:Ws(a,l)});return br(e,e.gap,i)}return null};ff.propTypes={};ff.filterProps=["gap"];const df=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const a=Zs(e.theme,"spacing",8),i=l=>({columnGap:Ws(a,l)});return br(e,e.columnGap,i)}return null};df.propTypes={};df.filterProps=["columnGap"];const pf=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const a=Zs(e.theme,"spacing",8),i=l=>({rowGap:Ws(a,l)});return br(e,e.rowGap,i)}return null};pf.propTypes={};pf.filterProps=["rowGap"];const KR=Ne({prop:"gridColumn"}),FR=Ne({prop:"gridRow"}),IR=Ne({prop:"gridAutoFlow"}),ZR=Ne({prop:"gridAutoColumns"}),WR=Ne({prop:"gridAutoRows"}),JR=Ne({prop:"gridTemplateColumns"}),tO=Ne({prop:"gridTemplateRows"}),eO=Ne({prop:"gridTemplateAreas"}),nO=Ne({prop:"gridArea"});uf(ff,df,pf,KR,FR,IR,ZR,WR,JR,tO,eO,nO);function to(e,a){return a==="grey"?a:e}const aO=Ne({prop:"color",themeKey:"palette",transform:to}),rO=Ne({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:to}),iO=Ne({prop:"backgroundColor",themeKey:"palette",transform:to});uf(aO,rO,iO);function Qn(e){return e<=1&&e!==0?`${e*100}%`:e}const lO=Ne({prop:"width",transform:Qn}),bm=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const a=i=>{var s,u,f,p,h;const l=((f=(u=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:u.values)==null?void 0:f[i])||of[i];return l?((h=(p=e.theme)==null?void 0:p.breakpoints)==null?void 0:h.unit)!=="px"?{maxWidth:`${l}${e.theme.breakpoints.unit}`}:{maxWidth:l}:{maxWidth:Qn(i)}};return br(e,e.maxWidth,a)}return null};bm.filterProps=["maxWidth"];const oO=Ne({prop:"minWidth",transform:Qn}),sO=Ne({prop:"height",transform:Qn}),uO=Ne({prop:"maxHeight",transform:Qn}),cO=Ne({prop:"minHeight",transform:Qn});Ne({prop:"size",cssProperty:"width",transform:Qn});Ne({prop:"size",cssProperty:"height",transform:Qn});const fO=Ne({prop:"boxSizing"});uf(lO,bm,oO,sO,uO,cO,fO);const Js={border:{themeKey:"borders",transform:ha},borderTop:{themeKey:"borders",transform:ha},borderRight:{themeKey:"borders",transform:ha},borderBottom:{themeKey:"borders",transform:ha},borderLeft:{themeKey:"borders",transform:ha},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ha},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:cf},color:{themeKey:"palette",transform:to},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:to},backgroundColor:{themeKey:"palette",transform:to},p:{style:Ae},pt:{style:Ae},pr:{style:Ae},pb:{style:Ae},pl:{style:Ae},px:{style:Ae},py:{style:Ae},padding:{style:Ae},paddingTop:{style:Ae},paddingRight:{style:Ae},paddingBottom:{style:Ae},paddingLeft:{style:Ae},paddingX:{style:Ae},paddingY:{style:Ae},paddingInline:{style:Ae},paddingInlineStart:{style:Ae},paddingInlineEnd:{style:Ae},paddingBlock:{style:Ae},paddingBlockStart:{style:Ae},paddingBlockEnd:{style:Ae},m:{style:Oe},mt:{style:Oe},mr:{style:Oe},mb:{style:Oe},ml:{style:Oe},mx:{style:Oe},my:{style:Oe},margin:{style:Oe},marginTop:{style:Oe},marginRight:{style:Oe},marginBottom:{style:Oe},marginLeft:{style:Oe},marginX:{style:Oe},marginY:{style:Oe},marginInline:{style:Oe},marginInlineStart:{style:Oe},marginInlineEnd:{style:Oe},marginBlock:{style:Oe},marginBlockStart:{style:Oe},marginBlockEnd:{style:Oe},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:ff},rowGap:{style:pf},columnGap:{style:df},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Qn},maxWidth:{style:bm},minWidth:{transform:Qn},height:{transform:Qn},maxHeight:{transform:Qn},minHeight:{transform:Qn},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function dO(...e){const a=e.reduce((l,s)=>l.concat(Object.keys(s)),[]),i=new Set(a);return e.every(l=>i.size===Object.keys(l).length)}function pO(e,a){return typeof e=="function"?e(a):e}function hO(){function e(i,l,s,u){const f={[i]:l,theme:s},p=u[i];if(!p)return{[i]:l};const{cssProperty:h=i,themeKey:m,transform:y,style:v}=p;if(l==null)return null;if(m==="typography"&&l==="inherit")return{[i]:l};const T=sf(s,m)||{};return v?v(f):br(f,l,S=>{let b=Yc(T,y,S);return S===b&&typeof S=="string"&&(b=Yc(T,y,`${i}${S==="default"?"":Ot(S)}`,S)),h===!1?b:{[h]:b}})}function a(i){const{sx:l,theme:s={},nested:u}=i||{};if(!l)return null;const f=s.unstable_sxConfig??Js;function p(h){let m=h;if(typeof h=="function")m=h(s);else if(typeof h!="object")return h;if(!m)return null;const y=FS(s.breakpoints),v=Object.keys(y);let T=y;return Object.keys(m).forEach(x=>{const S=pO(m[x],s);if(S!=null)if(typeof S=="object")if(f[x])T=ws(T,e(x,S,s,f));else{const b=br({theme:s},S,C=>({[x]:C}));dO(b,S)?T[x]=a({sx:S,theme:s,nested:!0}):T=ws(T,b)}else T=ws(T,e(x,S,s,f))}),!u&&s.modularCssLayers?{"@layer sx":Ab(s,zh(v,T))}:Ab(s,zh(v,T))}return Array.isArray(l)?l.map(p):p(l)}return a}const ui=hO();ui.filterProps=["sx"];function mO(e,a){var l;const i=this;if(i.vars){if(!((l=i.colorSchemes)!=null&&l[e])||typeof i.getColorSchemeSelector!="function")return{};let s=i.getColorSchemeSelector(e);return s==="&"?a:((s.includes("data-")||s.includes("."))&&(s=`*:where(${s.replace(/\s*&$/,"")}) &`),{[s]:a})}return i.palette.mode===e?a:{}}function Sm(e={},...a){const{breakpoints:i={},palette:l={},spacing:s,shape:u={},...f}=e,p=CR(i),h=ZS(s);let m=Dn({breakpoints:p,direction:"ltr",components:{},palette:{mode:"light",...l},spacing:h,shape:{...OR,...u}},f);return m=RR(m),m.applyStyles=mO,m=a.reduce((y,v)=>Dn(y,v),m),m.unstable_sxConfig={...Js,...f==null?void 0:f.unstable_sxConfig},m.unstable_sx=function(v){return ui({sx:v,theme:this})},m}function yO(e){return Object.keys(e).length===0}function xm(e=null){const a=w.useContext(Fs);return!a||yO(a)?e:a}const gO=Sm();function Em(e=gO){return xm(e)}function Ip(e){const a=oi(e);return e!==a&&a.styles?(a.styles.match(/^@layer\s+[^{]*$/)||(a.styles=`@layer global{${a.styles}}`),a):e}function WS({styles:e,themeId:a,defaultTheme:i={}}){const l=Em(i),s=a&&l[a]||l;let u=typeof e=="function"?e(s):e;return s.modularCssLayers&&(Array.isArray(u)?u=u.map(f=>Ip(typeof f=="function"?f(s):f)):u=Ip(u)),A.jsx(YS,{styles:u})}const vO=e=>{var l;const a={systemProps:{},otherProps:{}},i=((l=e==null?void 0:e.theme)==null?void 0:l.unstable_sxConfig)??Js;return Object.keys(e).forEach(s=>{i[s]?a.systemProps[s]=e[s]:a.otherProps[s]=e[s]}),a};function JS(e){const{sx:a,...i}=e,{systemProps:l,otherProps:s}=vO(i);let u;return Array.isArray(a)?u=[l,...a]:typeof a=="function"?u=(...f)=>{const p=a(...f);return Pa(p)?{...l,...p}:l}:u={...l,...a},{...s,sx:u}}const zb=e=>e,bO=()=>{let e=zb;return{configure(a){e=a},generate(a){return e(a)},reset(){e=zb}}},tx=bO();function ex(e){var a,i,l="";if(typeof e=="string"||typeof e=="number")l+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(a=0;a<s;a++)e[a]&&(i=ex(e[a]))&&(l&&(l+=" "),l+=i)}else for(i in e)e[i]&&(l&&(l+=" "),l+=i);return l}function Gt(){for(var e,a,i=0,l="",s=arguments.length;i<s;i++)(e=arguments[i])&&(a=ex(e))&&(l&&(l+=" "),l+=a);return l}function SO(e={}){const{themeId:a,defaultTheme:i,defaultClassName:l="MuiBox-root",generateClassName:s}=e,u=QS("div",{shouldForwardProp:p=>p!=="theme"&&p!=="sx"&&p!=="as"})(ui);return w.forwardRef(function(h,m){const y=Em(i),{className:v,component:T="div",...x}=JS(h);return A.jsx(u,{as:T,ref:m,className:Gt(v,s?s(l):l),theme:a&&y[a]||y,...x})})}const xO={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 hn(e,a,i="Mui"){const l=xO[a];return l?`${i}-${l}`:`${tx.generate(e)}-${a}`}function en(e,a,i="Mui"){const l={};return a.forEach(s=>{l[s]=hn(e,s,i)}),l}function nx(e){const{variants:a,...i}=e,l={variants:a,style:oi(i),isProcessed:!0};return l.style===i||a&&a.forEach(s=>{typeof s.style!="function"&&(s.style=oi(s.style))}),l}const EO=Sm();function Zp(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Ui(e,a){return a&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${a}{${String(e.styles)}}`),e}function CO(e){return e?(a,i)=>i[e]:null}function TO(e,a,i){e.theme=OO(e.theme)?i:e.theme[a]||e.theme}function jc(e,a,i){const l=typeof a=="function"?a(e):a;if(Array.isArray(l))return l.flatMap(s=>jc(e,s,i));if(Array.isArray(l==null?void 0:l.variants)){let s;if(l.isProcessed)s=i?Ui(l.style,i):l.style;else{const{variants:u,...f}=l;s=i?Ui(oi(f),i):f}return ax(e,l.variants,[s],i)}return l!=null&&l.isProcessed?i?Ui(oi(l.style),i):l.style:i?Ui(oi(l),i):l}function ax(e,a,i=[],l=void 0){var u;let s;t:for(let f=0;f<a.length;f+=1){const p=a[f];if(typeof p.props=="function"){if(s??(s={...e,...e.ownerState,ownerState:e.ownerState}),!p.props(s))continue}else for(const h in p.props)if(e[h]!==p.props[h]&&((u=e.ownerState)==null?void 0:u[h])!==p.props[h])continue t;typeof p.style=="function"?(s??(s={...e,...e.ownerState,ownerState:e.ownerState}),i.push(l?Ui(oi(p.style(s)),l):p.style(s))):i.push(l?Ui(oi(p.style),l):p.style)}return i}function wO(e={}){const{themeId:a,defaultTheme:i=EO,rootShouldForwardProp:l=Zp,slotShouldForwardProp:s=Zp}=e;function u(p){TO(p,a,i)}return(p,h={})=>{bR(p,H=>H.filter($=>$!==ui));const{name:m,slot:y,skipVariantsResolver:v,skipSx:T,overridesResolver:x=CO(MO(y)),...S}=h,b=m&&m.startsWith("Mui")||y?"components":"custom",C=v!==void 0?v:y&&y!=="Root"&&y!=="root"||!1,M=T||!1;let L=Zp;y==="Root"||y==="root"?L=l:y?L=s:AO(p)&&(L=void 0);const j=QS(p,{shouldForwardProp:L,label:RO(),...S}),O=H=>{if(H.__emotion_real===H)return H;if(typeof H=="function")return function(Q){return jc(Q,H,Q.theme.modularCssLayers?b:void 0)};if(Pa(H)){const $=nx(H);return function(Z){return $.variants?jc(Z,$,Z.theme.modularCssLayers?b:void 0):Z.theme.modularCssLayers?Ui($.style,b):$.style}}return H},B=(...H)=>{const $=[],Q=H.map(O),Z=[];if($.push(u),m&&x&&Z.push(function(X){var Y,it;const at=(it=(Y=X.theme.components)==null?void 0:Y[m])==null?void 0:it.styleOverrides;if(!at)return null;const D={};for(const st in at)D[st]=jc(X,at[st],X.theme.modularCssLayers?"theme":void 0);return x(X,D)}),m&&!C&&Z.push(function(X){var D,Y;const I=X.theme,at=(Y=(D=I==null?void 0:I.components)==null?void 0:D[m])==null?void 0:Y.variants;return at?ax(X,at,[],X.theme.modularCssLayers?"theme":void 0):null}),M||Z.push(ui),Array.isArray(Q[0])){const R=Q.shift(),X=new Array($.length).fill(""),I=new Array(Z.length).fill("");let at;at=[...X,...R,...I],at.raw=[...X,...R.raw,...I],$.unshift(at)}const W=[...$,...Q,...Z],et=j(...W);return p.muiName&&(et.muiName=p.muiName),et};return j.withConfig&&(B.withConfig=j.withConfig),B}}function RO(e,a){return void 0}function OO(e){for(const a in e)return!1;return!0}function AO(e){return typeof e=="string"&&e.charCodeAt(0)>96}function MO(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Qc(e,a,i=!1){const l={...a};for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)){const u=s;if(u==="components"||u==="slots")l[u]={...e[u],...l[u]};else if(u==="componentsProps"||u==="slotProps"){const f=e[u],p=a[u];if(!p)l[u]=f||{};else if(!f)l[u]=p;else{l[u]={...p};for(const h in f)if(Object.prototype.hasOwnProperty.call(f,h)){const m=h;l[u][m]=Qc(f[m],p[m],i)}}}else u==="className"&&i&&a.className?l.className=Gt(e==null?void 0:e.className,a==null?void 0:a.className):u==="style"&&i&&a.style?l.style={...e==null?void 0:e.style,...a==null?void 0:a.style}:l[u]===void 0&&(l[u]=e[u])}return l}const ci=typeof window<"u"?w.useLayoutEffect:w.useEffect;function _O(e,a=Number.MIN_SAFE_INTEGER,i=Number.MAX_SAFE_INTEGER){return Math.max(a,Math.min(e,i))}function Cm(e,a=0,i=1){return _O(e,a,i)}function zO(e){e=e.slice(1);const a=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let i=e.match(a);return i&&i[0].length===1&&(i=i.map(l=>l+l)),i?`rgb${i.length===4?"a":""}(${i.map((l,s)=>s<3?parseInt(l,16):Math.round(parseInt(l,16)/255*1e3)/1e3).join(", ")})`:""}function fi(e){if(e.type)return e;if(e.charAt(0)==="#")return fi(zO(e));const a=e.indexOf("("),i=e.substring(0,a);if(!["rgb","rgba","hsl","hsla","color"].includes(i))throw new Error(tl(9,e));let l=e.substring(a+1,e.length-1),s;if(i==="color"){if(l=l.split(" "),s=l.shift(),l.length===4&&l[3].charAt(0)==="/"&&(l[3]=l[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(s))throw new Error(tl(10,s))}else l=l.split(",");return l=l.map(u=>parseFloat(u)),{type:i,values:l,colorSpace:s}}const BO=e=>{const a=fi(e);return a.values.slice(0,3).map((i,l)=>a.type.includes("hsl")&&l!==0?`${i}%`:i).join(" ")},Es=(e,a)=>{try{return BO(e)}catch{return e}};function hf(e){const{type:a,colorSpace:i}=e;let{values:l}=e;return a.includes("rgb")?l=l.map((s,u)=>u<3?parseInt(s,10):s):a.includes("hsl")&&(l[1]=`${l[1]}%`,l[2]=`${l[2]}%`),a.includes("color")?l=`${i} ${l.join(" ")}`:l=`${l.join(", ")}`,`${a}(${l})`}function rx(e){e=fi(e);const{values:a}=e,i=a[0],l=a[1]/100,s=a[2]/100,u=l*Math.min(s,1-s),f=(m,y=(m+i/30)%12)=>s-u*Math.max(Math.min(y-3,9-y,1),-1);let p="rgb";const h=[Math.round(f(0)*255),Math.round(f(8)*255),Math.round(f(4)*255)];return e.type==="hsla"&&(p+="a",h.push(a[3])),hf({type:p,values:h})}function Bh(e){e=fi(e);let a=e.type==="hsl"||e.type==="hsla"?fi(rx(e)).values:e.values;return a=a.map(i=>(e.type!=="color"&&(i/=255),i<=.03928?i/12.92:((i+.055)/1.055)**2.4)),Number((.2126*a[0]+.7152*a[1]+.0722*a[2]).toFixed(3))}function DO(e,a){const i=Bh(e),l=Bh(a);return(Math.max(i,l)+.05)/(Math.min(i,l)+.05)}function Xc(e,a){return e=fi(e),a=Cm(a),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${a}`:e.values[3]=a,hf(e)}function zi(e,a,i){try{return Xc(e,a)}catch{return e}}function mf(e,a){if(e=fi(e),a=Cm(a),e.type.includes("hsl"))e.values[2]*=1-a;else if(e.type.includes("rgb")||e.type.includes("color"))for(let i=0;i<3;i+=1)e.values[i]*=1-a;return hf(e)}function ae(e,a,i){try{return mf(e,a)}catch{return e}}function yf(e,a){if(e=fi(e),a=Cm(a),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*a;else if(e.type.includes("rgb"))for(let i=0;i<3;i+=1)e.values[i]+=(255-e.values[i])*a;else if(e.type.includes("color"))for(let i=0;i<3;i+=1)e.values[i]+=(1-e.values[i])*a;return hf(e)}function re(e,a,i){try{return yf(e,a)}catch{return e}}function Dh(e,a=.15){return Bh(e)>.5?mf(e,a):yf(e,a)}function Tc(e,a,i){try{return Dh(e,a)}catch{return e}}const ix=w.createContext(null);function Tm(){return w.useContext(ix)}const jO=typeof Symbol=="function"&&Symbol.for,NO=jO?Symbol.for("mui.nested"):"__THEME_NESTED__";function UO(e,a){return typeof a=="function"?a(e):{...e,...a}}function LO(e){const{children:a,theme:i}=e,l=Tm(),s=w.useMemo(()=>{const u=l===null?{...i}:UO(l,i);return u!=null&&(u[NO]=l!==null),u},[i,l]);return A.jsx(ix.Provider,{value:s,children:a})}const lx=w.createContext();function HO({value:e,...a}){return A.jsx(lx.Provider,{value:e??!0,...a})}const gf=()=>w.useContext(lx)??!1,ox=w.createContext(void 0);function kO({value:e,children:a}){return A.jsx(ox.Provider,{value:e,children:a})}function $O(e){const{theme:a,name:i,props:l}=e;if(!a||!a.components||!a.components[i])return l;const s=a.components[i];return s.defaultProps?Qc(s.defaultProps,l,a.components.mergeClassNameAndStyle):!s.styleOverrides&&!s.variants?Qc(s,l,a.components.mergeClassNameAndStyle):l}function qO({props:e,name:a}){const i=w.useContext(ox);return $O({props:e,name:a,theme:{components:i}})}let Bb=0;function PO(e){const[a,i]=w.useState(e),l=e||a;return w.useEffect(()=>{a==null&&(Bb+=1,i(`mui-${Bb}`))},[a]),l}const VO={...qc},Db=VO.useId;function vf(e){if(Db!==void 0){const a=Db();return e??a}return PO(e)}function GO(e){const a=xm(),i=vf()||"",{modularCssLayers:l}=e;let s="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!l||a!==null?s="":typeof l=="string"?s=l.replace(/mui(?!\.)/g,s):s=`@layer ${s};`,ci(()=>{var p,h;const u=document.querySelector("head");if(!u)return;const f=u.firstChild;if(s){if(f&&((p=f.hasAttribute)!=null&&p.call(f,"data-mui-layer-order"))&&f.getAttribute("data-mui-layer-order")===i)return;const m=document.createElement("style");m.setAttribute("data-mui-layer-order",i),m.textContent=s,u.prepend(m)}else(h=u.querySelector(`style[data-mui-layer-order="${i}"]`))==null||h.remove()},[s,i]),s?A.jsx(WS,{styles:s}):null}const jb={};function Nb(e,a,i,l=!1){return w.useMemo(()=>{const s=e&&a[e]||a;if(typeof i=="function"){const u=i(s),f=e?{...a,[e]:u}:u;return l?()=>f:f}return e?{...a,[e]:i}:{...a,...i}},[e,a,i,l])}function sx(e){const{children:a,theme:i,themeId:l}=e,s=xm(jb),u=Tm()||jb,f=Nb(l,s,i),p=Nb(l,u,i,!0),h=(l?f[l]:f).direction==="rtl",m=GO(f);return A.jsx(LO,{theme:p,children:A.jsx(Fs.Provider,{value:f,children:A.jsx(HO,{value:h,children:A.jsxs(kO,{value:l?f[l].components:f.components,children:[m,a]})})})})}const Ub={theme:void 0};function YO(e){let a,i;return function(s){let u=a;return(u===void 0||s.theme!==i)&&(Ub.theme=s.theme,u=nx(e(Ub)),a=u,i=s.theme),u}}const wm="mode",Rm="color-scheme",QO="data-color-scheme";function XO(e){const{defaultMode:a="system",defaultLightColorScheme:i="light",defaultDarkColorScheme:l="dark",modeStorageKey:s=wm,colorSchemeStorageKey:u=Rm,attribute:f=QO,colorSchemeNode:p="document.documentElement",nonce:h}=e||{};let m="",y=f;if(f==="class"&&(y=".%s"),f==="data"&&(y="[data-%s]"),y.startsWith(".")){const T=y.substring(1);m+=`${p}.classList.remove('${T}'.replace('%s', light), '${T}'.replace('%s', dark));
      ${p}.classList.add('${T}'.replace('%s', colorScheme));`}const v=y.match(/\[([^[\]]+)\]/);if(v){const[T,x]=v[1].split("=");x||(m+=`${p}.removeAttribute('${T}'.replace('%s', light));
      ${p}.removeAttribute('${T}'.replace('%s', dark));`),m+=`
      ${p}.setAttribute('${T}'.replace('%s', colorScheme), ${x?`${x}.replace('%s', colorScheme)`:'""'});`}else y!==".%s"&&(m+=`${p}.setAttribute('${y}', colorScheme);`);return A.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?h:"",dangerouslySetInnerHTML:{__html:`(function() {
try {
  let colorScheme = '';
  const mode = localStorage.getItem('${s}') || '${a}';
  const dark = localStorage.getItem('${u}-dark') || '${l}';
  const light = localStorage.getItem('${u}-light') || '${i}';
  if (mode === 'system') {
    // handle system mode
    const mql = window.matchMedia('(prefers-color-scheme: dark)');
    if (mql.matches) {
      colorScheme = dark
    } else {
      colorScheme = light
    }
  }
  if (mode === 'light') {
    colorScheme = light;
  }
  if (mode === 'dark') {
    colorScheme = dark;
  }
  if (colorScheme) {
    ${m}
  }
} catch(e){}})();`}},"mui-color-scheme-init")}function KO(){}const FO=({key:e,storageWindow:a})=>(!a&&typeof window<"u"&&(a=window),{get(i){if(typeof window>"u")return;if(!a)return i;let l;try{l=a.localStorage.getItem(e)}catch{}return l||i},set:i=>{if(a)try{a.localStorage.setItem(e,i)}catch{}},subscribe:i=>{if(!a)return KO;const l=s=>{const u=s.newValue;s.key===e&&i(u)};return a.addEventListener("storage",l),()=>{a.removeEventListener("storage",l)}}});function Wp(){}function Lb(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function ux(e,a){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return a("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return a("dark")}function IO(e){return ux(e,a=>{if(a==="light")return e.lightColorScheme;if(a==="dark")return e.darkColorScheme})}function ZO(e){const{defaultMode:a="light",defaultLightColorScheme:i,defaultDarkColorScheme:l,supportedColorSchemes:s=[],modeStorageKey:u=wm,colorSchemeStorageKey:f=Rm,storageWindow:p=typeof window>"u"?void 0:window,storageManager:h=FO,noSsr:m=!1}=e,y=s.join(","),v=s.length>1,T=w.useMemo(()=>h==null?void 0:h({key:u,storageWindow:p}),[h,u,p]),x=w.useMemo(()=>h==null?void 0:h({key:`${f}-light`,storageWindow:p}),[h,f,p]),S=w.useMemo(()=>h==null?void 0:h({key:`${f}-dark`,storageWindow:p}),[h,f,p]),[b,C]=w.useState(()=>{const Q=(T==null?void 0:T.get(a))||a,Z=(x==null?void 0:x.get(i))||i,W=(S==null?void 0:S.get(l))||l;return{mode:Q,systemMode:Lb(Q),lightColorScheme:Z,darkColorScheme:W}}),[M,L]=w.useState(m||!v);w.useEffect(()=>{L(!0)},[]);const j=IO(b),O=w.useCallback(Q=>{C(Z=>{if(Q===Z.mode)return Z;const W=Q??a;return T==null||T.set(W),{...Z,mode:W,systemMode:Lb(W)}})},[T,a]),B=w.useCallback(Q=>{Q?typeof Q=="string"?Q&&!y.includes(Q)?console.error(`\`${Q}\` does not exist in \`theme.colorSchemes\`.`):C(Z=>{const W={...Z};return ux(Z,et=>{et==="light"&&(x==null||x.set(Q),W.lightColorScheme=Q),et==="dark"&&(S==null||S.set(Q),W.darkColorScheme=Q)}),W}):C(Z=>{const W={...Z},et=Q.light===null?i:Q.light,R=Q.dark===null?l:Q.dark;return et&&(y.includes(et)?(W.lightColorScheme=et,x==null||x.set(et)):console.error(`\`${et}\` does not exist in \`theme.colorSchemes\`.`)),R&&(y.includes(R)?(W.darkColorScheme=R,S==null||S.set(R)):console.error(`\`${R}\` does not exist in \`theme.colorSchemes\`.`)),W}):C(Z=>(x==null||x.set(i),S==null||S.set(l),{...Z,lightColorScheme:i,darkColorScheme:l}))},[y,x,S,i,l]),H=w.useCallback(Q=>{b.mode==="system"&&C(Z=>{const W=Q!=null&&Q.matches?"dark":"light";return Z.systemMode===W?Z:{...Z,systemMode:W}})},[b.mode]),$=w.useRef(H);return $.current=H,w.useEffect(()=>{if(typeof window.matchMedia!="function"||!v)return;const Q=(...W)=>$.current(...W),Z=window.matchMedia("(prefers-color-scheme: dark)");return Z.addListener(Q),Q(Z),()=>{Z.removeListener(Q)}},[v]),w.useEffect(()=>{if(v){const Q=(T==null?void 0:T.subscribe(et=>{(!et||["light","dark","system"].includes(et))&&O(et||a)}))||Wp,Z=(x==null?void 0:x.subscribe(et=>{(!et||y.match(et))&&B({light:et})}))||Wp,W=(S==null?void 0:S.subscribe(et=>{(!et||y.match(et))&&B({dark:et})}))||Wp;return()=>{Q(),Z(),W()}}},[B,O,y,a,p,v,T,x,S]),{...b,mode:M?b.mode:void 0,systemMode:M?b.systemMode:void 0,colorScheme:M?j:void 0,setMode:O,setColorScheme:B}}const WO="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function JO(e){const{themeId:a,theme:i={},modeStorageKey:l=wm,colorSchemeStorageKey:s=Rm,disableTransitionOnChange:u=!1,defaultColorScheme:f,resolveTheme:p}=e,h={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},m=w.createContext(void 0),y=()=>w.useContext(m)||h,v={},T={};function x(M){var In,En,an,Zn;const{children:L,theme:j,modeStorageKey:O=l,colorSchemeStorageKey:B=s,disableTransitionOnChange:H=u,storageManager:$,storageWindow:Q=typeof window>"u"?void 0:window,documentNode:Z=typeof document>"u"?void 0:document,colorSchemeNode:W=typeof document>"u"?void 0:document.documentElement,disableNestedContext:et=!1,disableStyleSheetGeneration:R=!1,defaultMode:X="system",forceThemeRerender:I=!1,noSsr:at}=M,D=w.useRef(!1),Y=Tm(),it=w.useContext(m),st=!!it&&!et,dt=w.useMemo(()=>j||(typeof i=="function"?i():i),[j]),_=dt[a],V=_||dt,{colorSchemes:lt=v,components:ot=T,cssVarPrefix:ct}=V,ht=Object.keys(lt).filter(Ce=>!!lt[Ce]).join(","),bt=w.useMemo(()=>ht.split(","),[ht]),_t=typeof f=="string"?f:f.light,Bt=typeof f=="string"?f:f.dark,Fe=lt[_t]&&lt[Bt]?X:((En=(In=lt[V.defaultColorScheme])==null?void 0:In.palette)==null?void 0:En.mode)||((an=V.palette)==null?void 0:an.mode),{mode:Ge,setMode:he,systemMode:Kt,lightColorScheme:Dt,darkColorScheme:ue,colorScheme:Ye,setColorScheme:ce}=ZO({supportedColorSchemes:bt,defaultLightColorScheme:_t,defaultDarkColorScheme:Bt,modeStorageKey:O,colorSchemeStorageKey:B,defaultMode:Fe,storageManager:$,storageWindow:Q,noSsr:at});let fe=Ge,Wt=Ye;st&&(fe=it.mode,Wt=it.colorScheme);let me=Wt||V.defaultColorScheme;V.vars&&!I&&(me=V.defaultColorScheme);const ye=w.useMemo(()=>{var Ie;const Ce=((Ie=V.generateThemeVars)==null?void 0:Ie.call(V))||V.vars,zt={...V,components:ot,colorSchemes:lt,cssVarPrefix:ct,vars:Ce};if(typeof zt.generateSpacing=="function"&&(zt.spacing=zt.generateSpacing()),me){const pe=lt[me];pe&&typeof pe=="object"&&Object.keys(pe).forEach(Mt=>{pe[Mt]&&typeof pe[Mt]=="object"?zt[Mt]={...zt[Mt],...pe[Mt]}:zt[Mt]=pe[Mt]})}return p?p(zt):zt},[V,me,ot,lt,ct]),yt=V.colorSchemeSelector;ci(()=>{if(Wt&&W&&yt&&yt!=="media"){const Ce=yt;let zt=yt;if(Ce==="class"&&(zt=".%s"),Ce==="data"&&(zt="[data-%s]"),Ce!=null&&Ce.startsWith("data-")&&!Ce.includes("%s")&&(zt=`[${Ce}="%s"]`),zt.startsWith("."))W.classList.remove(...bt.map(Ie=>zt.substring(1).replace("%s",Ie))),W.classList.add(zt.substring(1).replace("%s",Wt));else{const Ie=zt.replace("%s",Wt).match(/\[([^\]]+)\]/);if(Ie){const[pe,Mt]=Ie[1].split("=");Mt||bt.forEach(rn=>{W.removeAttribute(pe.replace(Wt,rn))}),W.setAttribute(pe,Mt?Mt.replace(/"|'/g,""):"")}else W.setAttribute(zt,Wt)}}},[Wt,yt,W,bt]),w.useEffect(()=>{let Ce;if(H&&D.current&&Z){const zt=Z.createElement("style");zt.appendChild(Z.createTextNode(WO)),Z.head.appendChild(zt),window.getComputedStyle(Z.body),Ce=setTimeout(()=>{Z.head.removeChild(zt)},1)}return()=>{clearTimeout(Ce)}},[Wt,H,Z]),w.useEffect(()=>(D.current=!0,()=>{D.current=!1}),[]);const Fn=w.useMemo(()=>({allColorSchemes:bt,colorScheme:Wt,darkColorScheme:ue,lightColorScheme:Dt,mode:fe,setColorScheme:ce,setMode:he,systemMode:Kt}),[bt,Wt,ue,Dt,fe,ce,he,Kt,ye.colorSchemeSelector]);let ge=!0;(R||V.cssVariables===!1||st&&(Y==null?void 0:Y.cssVarPrefix)===ct)&&(ge=!1);const Sa=A.jsxs(w.Fragment,{children:[A.jsx(sx,{themeId:_?a:void 0,theme:ye,children:L}),ge&&A.jsx(YS,{styles:((Zn=ye.generateStyleSheets)==null?void 0:Zn.call(ye))||[]})]});return st?Sa:A.jsx(m.Provider,{value:Fn,children:Sa})}const S=typeof f=="string"?f:f.light,b=typeof f=="string"?f:f.dark;return{CssVarsProvider:x,useColorScheme:y,getInitColorSchemeScript:M=>XO({colorSchemeStorageKey:s,defaultLightColorScheme:S,defaultDarkColorScheme:b,modeStorageKey:l,...M})}}function tA(e=""){function a(...l){if(!l.length)return"";const s=l[0];return typeof s=="string"&&!s.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}-`:""}${s}${a(...l.slice(1))})`:`, ${s}`}return(l,...s)=>`var(--${e?`${e}-`:""}${l}${a(...s)})`}const Hb=(e,a,i,l=[])=>{let s=e;a.forEach((u,f)=>{f===a.length-1?Array.isArray(s)?s[Number(u)]=i:s&&typeof s=="object"&&(s[u]=i):s&&typeof s=="object"&&(s[u]||(s[u]=l.includes(u)?[]:{}),s=s[u])})},eA=(e,a,i)=>{function l(s,u=[],f=[]){Object.entries(s).forEach(([p,h])=>{(!i||i&&!i([...u,p]))&&h!=null&&(typeof h=="object"&&Object.keys(h).length>0?l(h,[...u,p],Array.isArray(h)?[...f,p]:f):a([...u,p],h,f))})}l(e)},nA=(e,a)=>typeof a=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(l=>e.includes(l))||e[e.length-1].toLowerCase().includes("opacity")?a:`${a}px`:a;function Jp(e,a){const{prefix:i,shouldSkipGeneratingVar:l}=a||{},s={},u={},f={};return eA(e,(p,h,m)=>{if((typeof h=="string"||typeof h=="number")&&(!l||!l(p,h))){const y=`--${i?`${i}-`:""}${p.join("-")}`,v=nA(p,h);Object.assign(s,{[y]:v}),Hb(u,p,`var(${y})`,m),Hb(f,p,`var(${y}, ${v})`,m)}},p=>p[0]==="vars"),{css:s,vars:u,varsWithDefaults:f}}function aA(e,a={}){const{getSelector:i=M,disableCssColorScheme:l,colorSchemeSelector:s,enableContrastVars:u}=a,{colorSchemes:f={},components:p,defaultColorScheme:h="light",...m}=e,{vars:y,css:v,varsWithDefaults:T}=Jp(m,a);let x=T;const S={},{[h]:b,...C}=f;if(Object.entries(C||{}).forEach(([O,B])=>{const{vars:H,css:$,varsWithDefaults:Q}=Jp(B,a);x=Dn(x,Q),S[O]={css:$,vars:H}}),b){const{css:O,vars:B,varsWithDefaults:H}=Jp(b,a);x=Dn(x,H),S[h]={css:O,vars:B}}function M(O,B){var $,Q;let H=s;if(s==="class"&&(H=".%s"),s==="data"&&(H="[data-%s]"),s!=null&&s.startsWith("data-")&&!s.includes("%s")&&(H=`[${s}="%s"]`),O){if(H==="media")return e.defaultColorScheme===O?":root":{[`@media (prefers-color-scheme: ${((Q=($=f[O])==null?void 0:$.palette)==null?void 0:Q.mode)||O})`]:{":root":B}};if(H)return e.defaultColorScheme===O?`:root, ${H.replace("%s",String(O))}`:H.replace("%s",String(O))}return":root"}return{vars:x,generateThemeVars:()=>{let O={...y};return Object.entries(S).forEach(([,{vars:B}])=>{O=Dn(O,B)}),O},generateStyleSheets:()=>{var Z,W;const O=[],B=e.defaultColorScheme||"light";function H(et,R){Object.keys(R).length&&O.push(typeof et=="string"?{[et]:{...R}}:et)}H(i(void 0,{...v}),v);const{[B]:$,...Q}=S;if($){const{css:et}=$,R=(W=(Z=f[B])==null?void 0:Z.palette)==null?void 0:W.mode,X=!l&&R?{colorScheme:R,...et}:{...et};H(i(B,{...X}),X)}return Object.entries(Q).forEach(([et,{css:R}])=>{var at,D;const X=(D=(at=f[et])==null?void 0:at.palette)==null?void 0:D.mode,I=!l&&X?{colorScheme:X,...R}:{...R};H(i(et,{...I}),I)}),u&&O.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)"}}),O}}}function rA(e){return function(i){return e==="media"?`@media (prefers-color-scheme: ${i})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${i}"] &`:e==="class"?`.${i} &`:e==="data"?`[data-${i}] &`:`${e.replace("%s",i)} &`:"&"}}function bn(e,a,i=void 0){const l={};for(const s in e){const u=e[s];let f="",p=!0;for(let h=0;h<u.length;h+=1){const m=u[h];m&&(f+=(p===!0?"":" ")+a(m),p=!1,i&&i[m]&&(f+=" "+i[m]))}l[s]=f}return l}function cx(){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:Bs.white,default:Bs.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const fx=cx();function dx(){return{text:{primary:Bs.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:Bs.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const jh=dx();function kb(e,a,i,l){const s=l.light||l,u=l.dark||l*1.5;e[a]||(e.hasOwnProperty(i)?e[a]=e[i]:a==="light"?e.light=yf(e.main,s):a==="dark"&&(e.dark=mf(e.main,u)))}function $b(e,a,i,l,s){const u=s.light||s,f=s.dark||s*1.5;a[i]||(a.hasOwnProperty(l)?a[i]=a[l]:i==="light"?a.light=`color-mix(in ${e}, ${a.main}, #fff ${(u*100).toFixed(0)}%)`:i==="dark"&&(a.dark=`color-mix(in ${e}, ${a.main}, #000 ${(f*100).toFixed(0)}%)`))}function iA(e="light"){return e==="dark"?{main:Xl[200],light:Xl[50],dark:Xl[400]}:{main:Xl[700],light:Xl[400],dark:Xl[800]}}function lA(e="light"){return e==="dark"?{main:Ql[200],light:Ql[50],dark:Ql[400]}:{main:Ql[500],light:Ql[300],dark:Ql[700]}}function oA(e="light"){return e==="dark"?{main:Yl[500],light:Yl[300],dark:Yl[700]}:{main:Yl[700],light:Yl[400],dark:Yl[800]}}function sA(e="light"){return e==="dark"?{main:Kl[400],light:Kl[300],dark:Kl[700]}:{main:Kl[700],light:Kl[500],dark:Kl[900]}}function uA(e="light"){return e==="dark"?{main:Fl[400],light:Fl[300],dark:Fl[700]}:{main:Fl[800],light:Fl[500],dark:Fl[900]}}function cA(e="light"){return e==="dark"?{main:ys[400],light:ys[300],dark:ys[700]}:{main:"#ed6c02",light:ys[500],dark:ys[900]}}function fA(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Om(e){const{mode:a="light",contrastThreshold:i=3,tonalOffset:l=.2,colorSpace:s,...u}=e,f=e.primary||iA(a),p=e.secondary||lA(a),h=e.error||oA(a),m=e.info||sA(a),y=e.success||uA(a),v=e.warning||cA(a);function T(C){return s?fA(C):DO(C,jh.text.primary)>=i?jh.text.primary:fx.text.primary}const x=({color:C,name:M,mainShade:L=500,lightShade:j=300,darkShade:O=700})=>{if(C={...C},!C.main&&C[L]&&(C.main=C[L]),!C.hasOwnProperty("main"))throw new Error(tl(11,M?` (${M})`:"",L));if(typeof C.main!="string")throw new Error(tl(12,M?` (${M})`:"",JSON.stringify(C.main)));return s?($b(s,C,"light",j,l),$b(s,C,"dark",O,l)):(kb(C,"light",j,l),kb(C,"dark",O,l)),C.contrastText||(C.contrastText=T(C.main)),C};let S;return a==="light"?S=cx():a==="dark"&&(S=dx()),Dn({common:{...Bs},mode:a,primary:x({color:f,name:"primary"}),secondary:x({color:p,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:x({color:h,name:"error"}),warning:x({color:v,name:"warning"}),info:x({color:m,name:"info"}),success:x({color:y,name:"success"}),grey:Sw,contrastThreshold:i,getContrastText:T,augmentColor:x,tonalOffset:l,...S},u)}function dA(e){const a={};return Object.entries(e).forEach(l=>{const[s,u]=l;typeof u=="object"&&(a[s]=`${u.fontStyle?`${u.fontStyle} `:""}${u.fontVariant?`${u.fontVariant} `:""}${u.fontWeight?`${u.fontWeight} `:""}${u.fontStretch?`${u.fontStretch} `:""}${u.fontSize||""}${u.lineHeight?`/${u.lineHeight} `:""}${u.fontFamily||""}`)}),a}function pA(e,a){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...a}}function hA(e){return Math.round(e*1e5)/1e5}const qb={textTransform:"uppercase"},Pb='"Roboto", "Helvetica", "Arial", sans-serif';function px(e,a){const{fontFamily:i=Pb,fontSize:l=14,fontWeightLight:s=300,fontWeightRegular:u=400,fontWeightMedium:f=500,fontWeightBold:p=700,htmlFontSize:h=16,allVariants:m,pxToRem:y,...v}=typeof a=="function"?a(e):a,T=l/14,x=y||(C=>`${C/h*T}rem`),S=(C,M,L,j,O)=>({fontFamily:i,fontWeight:C,fontSize:x(M),lineHeight:L,...i===Pb?{letterSpacing:`${hA(j/M)}em`}:{},...O,...m}),b={h1:S(s,96,1.167,-1.5),h2:S(s,60,1.2,-.5),h3:S(u,48,1.167,0),h4:S(u,34,1.235,.25),h5:S(u,24,1.334,0),h6:S(f,20,1.6,.15),subtitle1:S(u,16,1.75,.15),subtitle2:S(f,14,1.57,.1),body1:S(u,16,1.5,.15),body2:S(u,14,1.43,.15),button:S(f,14,1.75,.4,qb),caption:S(u,12,1.66,.4),overline:S(u,12,2.66,1,qb),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Dn({htmlFontSize:h,pxToRem:x,fontFamily:i,fontSize:l,fontWeightLight:s,fontWeightRegular:u,fontWeightMedium:f,fontWeightBold:p,...b},v,{clone:!1})}const mA=.2,yA=.14,gA=.12;function Ee(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${mA})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${yA})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${gA})`].join(",")}const vA=["none",Ee(0,2,1,-1,0,1,1,0,0,1,3,0),Ee(0,3,1,-2,0,2,2,0,0,1,5,0),Ee(0,3,3,-2,0,3,4,0,0,1,8,0),Ee(0,2,4,-1,0,4,5,0,0,1,10,0),Ee(0,3,5,-1,0,5,8,0,0,1,14,0),Ee(0,3,5,-1,0,6,10,0,0,1,18,0),Ee(0,4,5,-2,0,7,10,1,0,2,16,1),Ee(0,5,5,-3,0,8,10,1,0,3,14,2),Ee(0,5,6,-3,0,9,12,1,0,3,16,2),Ee(0,6,6,-3,0,10,14,1,0,4,18,3),Ee(0,6,7,-4,0,11,15,1,0,4,20,3),Ee(0,7,8,-4,0,12,17,2,0,5,22,4),Ee(0,7,8,-4,0,13,19,2,0,5,24,4),Ee(0,7,9,-4,0,14,21,2,0,5,26,4),Ee(0,8,9,-5,0,15,22,2,0,6,28,5),Ee(0,8,10,-5,0,16,24,2,0,6,30,5),Ee(0,8,11,-5,0,17,26,2,0,6,32,5),Ee(0,9,11,-5,0,18,28,2,0,7,34,6),Ee(0,9,12,-6,0,19,29,2,0,7,36,6),Ee(0,10,13,-6,0,20,31,3,0,8,38,7),Ee(0,10,13,-6,0,21,33,3,0,8,40,7),Ee(0,10,14,-6,0,22,35,3,0,8,42,7),Ee(0,11,14,-7,0,23,36,3,0,9,44,8),Ee(0,11,15,-7,0,24,38,3,0,9,46,8)],bA={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)"},SA={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Vb(e){return`${Math.round(e)}ms`}function xA(e){if(!e)return 0;const a=e/36;return Math.min(Math.round((4+15*a**.25+a/5)*10),3e3)}function EA(e){const a={...bA,...e.easing},i={...SA,...e.duration};return{getAutoHeightDuration:xA,create:(s=["all"],u={})=>{const{duration:f=i.standard,easing:p=a.easeInOut,delay:h=0,...m}=u;return(Array.isArray(s)?s:[s]).map(y=>`${y} ${typeof f=="string"?f:Vb(f)} ${p} ${typeof h=="string"?h:Vb(h)}`).join(",")},...e,easing:a,duration:i}}const CA={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function TA(e){return Pa(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function hx(e={}){const a={...e};function i(l){const s=Object.entries(l);for(let u=0;u<s.length;u++){const[f,p]=s[u];!TA(p)||f.startsWith("unstable_")?delete l[f]:Pa(p)&&(l[f]={...p},i(l[f]))}}return i(a),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';

const theme = ${JSON.stringify(a,null,2)};

theme.breakpoints = createBreakpoints(theme.breakpoints || {});
theme.transitions = createTransitions(theme.transitions || {});

export default theme;`}function Gb(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const wA=e=>{if(!Number.isNaN(+e))return+e;const a=e.match(/\d*\.?\d+/g);if(!a)return 0;let i=0;for(let l=0;l<a.length;l+=1)i+=+a[l];return i};function RA(e){Object.assign(e,{alpha(a,i){const l=this||e;return l.colorSpace?`oklch(from ${a} l c h / ${typeof i=="string"?`calc(${i})`:i})`:l.vars?`rgba(${a.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof i=="string"?`calc(${i})`:i})`:Xc(a,wA(i))},lighten(a,i){const l=this||e;return l.colorSpace?`color-mix(in ${l.colorSpace}, ${a}, #fff ${Gb(i)})`:yf(a,i)},darken(a,i){const l=this||e;return l.colorSpace?`color-mix(in ${l.colorSpace}, ${a}, #000 ${Gb(i)})`:mf(a,i)}})}function Nh(e={},...a){const{breakpoints:i,mixins:l={},spacing:s,palette:u={},transitions:f={},typography:p={},shape:h,colorSpace:m,...y}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(tl(20));const v=Om({...u,colorSpace:m}),T=Sm(e);let x=Dn(T,{mixins:pA(T.breakpoints,l),palette:v,shadows:vA.slice(),typography:px(v,p),transitions:EA(f),zIndex:{...CA}});return x=Dn(x,y),x=a.reduce((S,b)=>Dn(S,b),x),x.unstable_sxConfig={...Js,...y==null?void 0:y.unstable_sxConfig},x.unstable_sx=function(b){return ui({sx:b,theme:this})},x.toRuntimeSource=hx,RA(x),x}function Uh(e){let a;return e<1?a=5.11916*e**2:a=4.5*Math.log(e+1)+2,Math.round(a*10)/1e3}const OA=[...Array(25)].map((e,a)=>{if(a===0)return"none";const i=Uh(a);return`linear-gradient(rgba(255 255 255 / ${i}), rgba(255 255 255 / ${i}))`});function mx(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function yx(e){return e==="dark"?OA:[]}function AA(e){const{palette:a={mode:"light"},opacity:i,overlays:l,colorSpace:s,...u}=e,f=Om({...a,colorSpace:s});return{palette:f,opacity:{...mx(f.mode),...i},overlays:l||yx(f.mode),...u}}function MA(e){var a;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((a=e[1])!=null&&a.match(/(mode|contrastThreshold|tonalOffset)/))}const _A=e=>[...[...Array(25)].map((a,i)=>`--${e?`${e}-`:""}overlays-${i}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],zA=e=>(a,i)=>{const l=e.rootSelector||":root",s=e.colorSchemeSelector;let u=s;if(s==="class"&&(u=".%s"),s==="data"&&(u="[data-%s]"),s!=null&&s.startsWith("data-")&&!s.includes("%s")&&(u=`[${s}="%s"]`),e.defaultColorScheme===a){if(a==="dark"){const f={};return _A(e.cssVarPrefix).forEach(p=>{f[p]=i[p],delete i[p]}),u==="media"?{[l]:i,"@media (prefers-color-scheme: dark)":{[l]:f}}:u?{[u.replace("%s",a)]:f,[`${l}, ${u.replace("%s",a)}`]:i}:{[l]:{...i,...f}}}if(u&&u!=="media")return`${l}, ${u.replace("%s",String(a))}`}else if(a){if(u==="media")return{[`@media (prefers-color-scheme: ${String(a)})`]:{[l]:i}};if(u)return u.replace("%s",String(a))}return l};function BA(e,a){a.forEach(i=>{e[i]||(e[i]={})})}function tt(e,a,i){!e[a]&&i&&(e[a]=i)}function Cs(e){return typeof e!="string"||!e.startsWith("hsl")?e:rx(e)}function hr(e,a){`${a}Channel`in e||(e[`${a}Channel`]=Es(Cs(e[a])))}function DA(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Ua=e=>{try{return e()}catch{}},jA=(e="mui")=>tA(e);function th(e,a,i,l,s){if(!i)return;i=i===!0?{}:i;const u=s==="dark"?"dark":"light";if(!l){a[s]=AA({...i,palette:{mode:u,...i==null?void 0:i.palette},colorSpace:e});return}const{palette:f,...p}=Nh({...l,palette:{mode:u,...i==null?void 0:i.palette},colorSpace:e});return a[s]={...i,palette:f,opacity:{...mx(u),...i==null?void 0:i.opacity},overlays:(i==null?void 0:i.overlays)||yx(u)},p}function NA(e={},...a){const{colorSchemes:i={light:!0},defaultColorScheme:l,disableCssColorScheme:s=!1,cssVarPrefix:u="mui",nativeColor:f=!1,shouldSkipGeneratingVar:p=MA,colorSchemeSelector:h=i.light&&i.dark?"media":void 0,rootSelector:m=":root",...y}=e,v=Object.keys(i)[0],T=l||(i.light&&v!=="light"?"light":v),x=jA(u),{[T]:S,light:b,dark:C,...M}=i,L={...M};let j=S;if((T==="dark"&&!("dark"in i)||T==="light"&&!("light"in i))&&(j=!0),!j)throw new Error(tl(21,T));let O;f&&(O="oklch");const B=th(O,L,j,y,T);b&&!L.light&&th(O,L,b,void 0,"light"),C&&!L.dark&&th(O,L,C,void 0,"dark");let H={defaultColorScheme:T,...B,cssVarPrefix:u,colorSchemeSelector:h,rootSelector:m,getCssVar:x,colorSchemes:L,font:{...dA(B.typography),...B.font},spacing:DA(y.spacing)};Object.keys(H.colorSchemes).forEach(et=>{const R=H.colorSchemes[et].palette,X=at=>{const D=at.split("-"),Y=D[1],it=D[2];return x(at,R[Y][it])};R.mode==="light"&&(tt(R.common,"background","#fff"),tt(R.common,"onBackground","#000")),R.mode==="dark"&&(tt(R.common,"background","#000"),tt(R.common,"onBackground","#fff"));function I(at,D,Y){if(O){let it;return at===zi&&(it=`transparent ${((1-Y)*100).toFixed(0)}%`),at===ae&&(it=`#000 ${(Y*100).toFixed(0)}%`),at===re&&(it=`#fff ${(Y*100).toFixed(0)}%`),`color-mix(in ${O}, ${D}, ${it})`}return at(D,Y)}if(BA(R,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),R.mode==="light"){tt(R.Alert,"errorColor",I(ae,f?x("palette-error-light"):R.error.light,.6)),tt(R.Alert,"infoColor",I(ae,f?x("palette-info-light"):R.info.light,.6)),tt(R.Alert,"successColor",I(ae,f?x("palette-success-light"):R.success.light,.6)),tt(R.Alert,"warningColor",I(ae,f?x("palette-warning-light"):R.warning.light,.6)),tt(R.Alert,"errorFilledBg",X("palette-error-main")),tt(R.Alert,"infoFilledBg",X("palette-info-main")),tt(R.Alert,"successFilledBg",X("palette-success-main")),tt(R.Alert,"warningFilledBg",X("palette-warning-main")),tt(R.Alert,"errorFilledColor",Ua(()=>R.getContrastText(R.error.main))),tt(R.Alert,"infoFilledColor",Ua(()=>R.getContrastText(R.info.main))),tt(R.Alert,"successFilledColor",Ua(()=>R.getContrastText(R.success.main))),tt(R.Alert,"warningFilledColor",Ua(()=>R.getContrastText(R.warning.main))),tt(R.Alert,"errorStandardBg",I(re,f?x("palette-error-light"):R.error.light,.9)),tt(R.Alert,"infoStandardBg",I(re,f?x("palette-info-light"):R.info.light,.9)),tt(R.Alert,"successStandardBg",I(re,f?x("palette-success-light"):R.success.light,.9)),tt(R.Alert,"warningStandardBg",I(re,f?x("palette-warning-light"):R.warning.light,.9)),tt(R.Alert,"errorIconColor",X("palette-error-main")),tt(R.Alert,"infoIconColor",X("palette-info-main")),tt(R.Alert,"successIconColor",X("palette-success-main")),tt(R.Alert,"warningIconColor",X("palette-warning-main")),tt(R.AppBar,"defaultBg",X("palette-grey-100")),tt(R.Avatar,"defaultBg",X("palette-grey-400")),tt(R.Button,"inheritContainedBg",X("palette-grey-300")),tt(R.Button,"inheritContainedHoverBg",X("palette-grey-A100")),tt(R.Chip,"defaultBorder",X("palette-grey-400")),tt(R.Chip,"defaultAvatarColor",X("palette-grey-700")),tt(R.Chip,"defaultIconColor",X("palette-grey-700")),tt(R.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),tt(R.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),tt(R.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),tt(R.LinearProgress,"primaryBg",I(re,f?x("palette-primary-main"):R.primary.main,.62)),tt(R.LinearProgress,"secondaryBg",I(re,f?x("palette-secondary-main"):R.secondary.main,.62)),tt(R.LinearProgress,"errorBg",I(re,f?x("palette-error-main"):R.error.main,.62)),tt(R.LinearProgress,"infoBg",I(re,f?x("palette-info-main"):R.info.main,.62)),tt(R.LinearProgress,"successBg",I(re,f?x("palette-success-main"):R.success.main,.62)),tt(R.LinearProgress,"warningBg",I(re,f?x("palette-warning-light"):R.warning.main,.62)),tt(R.Skeleton,"bg",O?I(zi,f?x("palette-text-primary"):R.text.primary,.11):`rgba(${X("palette-text-primaryChannel")} / 0.11)`),tt(R.Slider,"primaryTrack",I(re,f?x("palette-primary-main"):R.primary.main,.62)),tt(R.Slider,"secondaryTrack",I(re,f?x("palette-secondary-main"):R.secondary.main,.62)),tt(R.Slider,"errorTrack",I(re,f?x("palette-error-main"):R.error.main,.62)),tt(R.Slider,"infoTrack",I(re,f?x("palette-info-main"):R.info.main,.62)),tt(R.Slider,"successTrack",I(re,f?x("palette-success-main"):R.success.main,.62)),tt(R.Slider,"warningTrack",I(re,f?x("palette-warning-main"):R.warning.main,.62));const at=O?I(ae,f?x("palette-background-default"):R.background.default,.6825):Tc(R.background.default,.8);tt(R.SnackbarContent,"bg",at),tt(R.SnackbarContent,"color",Ua(()=>O?jh.text.primary:R.getContrastText(at))),tt(R.SpeedDialAction,"fabHoverBg",Tc(R.background.paper,.15)),tt(R.StepConnector,"border",X("palette-grey-400")),tt(R.StepContent,"border",X("palette-grey-400")),tt(R.Switch,"defaultColor",X("palette-common-white")),tt(R.Switch,"defaultDisabledColor",X("palette-grey-100")),tt(R.Switch,"primaryDisabledColor",I(re,f?x("palette-primary-main"):R.primary.main,.62)),tt(R.Switch,"secondaryDisabledColor",I(re,f?x("palette-secondary-main"):R.secondary.main,.62)),tt(R.Switch,"errorDisabledColor",I(re,f?x("palette-error-main"):R.error.main,.62)),tt(R.Switch,"infoDisabledColor",I(re,f?x("palette-info-main"):R.info.main,.62)),tt(R.Switch,"successDisabledColor",I(re,f?x("palette-success-main"):R.success.main,.62)),tt(R.Switch,"warningDisabledColor",I(re,f?x("palette-warning-main"):R.warning.main,.62)),tt(R.TableCell,"border",I(re,zi(f?x("palette-divider"):R.divider,1),.88)),tt(R.Tooltip,"bg",I(zi,f?x("palette-grey-700"):R.grey[700],.92))}if(R.mode==="dark"){tt(R.Alert,"errorColor",I(re,f?x("palette-error-light"):R.error.light,.6)),tt(R.Alert,"infoColor",I(re,f?x("palette-info-light"):R.info.light,.6)),tt(R.Alert,"successColor",I(re,f?x("palette-success-light"):R.success.light,.6)),tt(R.Alert,"warningColor",I(re,f?x("palette-warning-light"):R.warning.light,.6)),tt(R.Alert,"errorFilledBg",X("palette-error-dark")),tt(R.Alert,"infoFilledBg",X("palette-info-dark")),tt(R.Alert,"successFilledBg",X("palette-success-dark")),tt(R.Alert,"warningFilledBg",X("palette-warning-dark")),tt(R.Alert,"errorFilledColor",Ua(()=>R.getContrastText(R.error.dark))),tt(R.Alert,"infoFilledColor",Ua(()=>R.getContrastText(R.info.dark))),tt(R.Alert,"successFilledColor",Ua(()=>R.getContrastText(R.success.dark))),tt(R.Alert,"warningFilledColor",Ua(()=>R.getContrastText(R.warning.dark))),tt(R.Alert,"errorStandardBg",I(ae,f?x("palette-error-light"):R.error.light,.9)),tt(R.Alert,"infoStandardBg",I(ae,f?x("palette-info-light"):R.info.light,.9)),tt(R.Alert,"successStandardBg",I(ae,f?x("palette-success-light"):R.success.light,.9)),tt(R.Alert,"warningStandardBg",I(ae,f?x("palette-warning-light"):R.warning.light,.9)),tt(R.Alert,"errorIconColor",X("palette-error-main")),tt(R.Alert,"infoIconColor",X("palette-info-main")),tt(R.Alert,"successIconColor",X("palette-success-main")),tt(R.Alert,"warningIconColor",X("palette-warning-main")),tt(R.AppBar,"defaultBg",X("palette-grey-900")),tt(R.AppBar,"darkBg",X("palette-background-paper")),tt(R.AppBar,"darkColor",X("palette-text-primary")),tt(R.Avatar,"defaultBg",X("palette-grey-600")),tt(R.Button,"inheritContainedBg",X("palette-grey-800")),tt(R.Button,"inheritContainedHoverBg",X("palette-grey-700")),tt(R.Chip,"defaultBorder",X("palette-grey-700")),tt(R.Chip,"defaultAvatarColor",X("palette-grey-300")),tt(R.Chip,"defaultIconColor",X("palette-grey-300")),tt(R.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),tt(R.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),tt(R.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),tt(R.LinearProgress,"primaryBg",I(ae,f?x("palette-primary-main"):R.primary.main,.5)),tt(R.LinearProgress,"secondaryBg",I(ae,f?x("palette-secondary-main"):R.secondary.main,.5)),tt(R.LinearProgress,"errorBg",I(ae,f?x("palette-error-main"):R.error.main,.5)),tt(R.LinearProgress,"infoBg",I(ae,f?x("palette-info-main"):R.info.main,.5)),tt(R.LinearProgress,"successBg",I(ae,f?x("palette-success-main"):R.success.main,.5)),tt(R.LinearProgress,"warningBg",I(ae,f?x("palette-warning-main"):R.warning.main,.5)),tt(R.Skeleton,"bg",O?I(zi,f?x("palette-text-primary"):R.text.primary,.13):`rgba(${X("palette-text-primaryChannel")} / 0.13)`),tt(R.Slider,"primaryTrack",I(ae,f?x("palette-primary-main"):R.primary.main,.5)),tt(R.Slider,"secondaryTrack",I(ae,f?x("palette-secondary-main"):R.secondary.main,.5)),tt(R.Slider,"errorTrack",I(ae,f?x("palette-error-main"):R.error.main,.5)),tt(R.Slider,"infoTrack",I(ae,f?x("palette-info-main"):R.info.main,.5)),tt(R.Slider,"successTrack",I(ae,f?x("palette-success-main"):R.success.main,.5)),tt(R.Slider,"warningTrack",I(ae,f?x("palette-warning-light"):R.warning.main,.5));const at=O?I(re,f?x("palette-background-default"):R.background.default,.985):Tc(R.background.default,.98);tt(R.SnackbarContent,"bg",at),tt(R.SnackbarContent,"color",Ua(()=>O?fx.text.primary:R.getContrastText(at))),tt(R.SpeedDialAction,"fabHoverBg",Tc(R.background.paper,.15)),tt(R.StepConnector,"border",X("palette-grey-600")),tt(R.StepContent,"border",X("palette-grey-600")),tt(R.Switch,"defaultColor",X("palette-grey-300")),tt(R.Switch,"defaultDisabledColor",X("palette-grey-600")),tt(R.Switch,"primaryDisabledColor",I(ae,f?x("palette-primary-main"):R.primary.main,.55)),tt(R.Switch,"secondaryDisabledColor",I(ae,f?x("palette-secondary-main"):R.secondary.main,.55)),tt(R.Switch,"errorDisabledColor",I(ae,f?x("palette-error-main"):R.error.main,.55)),tt(R.Switch,"infoDisabledColor",I(ae,f?x("palette-info-main"):R.info.main,.55)),tt(R.Switch,"successDisabledColor",I(ae,f?x("palette-success-main"):R.success.main,.55)),tt(R.Switch,"warningDisabledColor",I(ae,f?x("palette-warning-light"):R.warning.main,.55)),tt(R.TableCell,"border",I(ae,zi(f?x("palette-divider"):R.divider,1),.68)),tt(R.Tooltip,"bg",I(zi,f?x("palette-grey-700"):R.grey[700],.92))}hr(R.background,"default"),hr(R.background,"paper"),hr(R.common,"background"),hr(R.common,"onBackground"),hr(R,"divider"),Object.keys(R).forEach(at=>{const D=R[at];at!=="tonalOffset"&&D&&typeof D=="object"&&(D.main&&tt(R[at],"mainChannel",Es(Cs(D.main))),D.light&&tt(R[at],"lightChannel",Es(Cs(D.light))),D.dark&&tt(R[at],"darkChannel",Es(Cs(D.dark))),D.contrastText&&tt(R[at],"contrastTextChannel",Es(Cs(D.contrastText))),at==="text"&&(hr(R[at],"primary"),hr(R[at],"secondary")),at==="action"&&(D.active&&hr(R[at],"active"),D.selected&&hr(R[at],"selected")))})}),H=a.reduce((et,R)=>Dn(et,R),H);const $={prefix:u,disableCssColorScheme:s,shouldSkipGeneratingVar:p,getSelector:zA(H),enableContrastVars:f},{vars:Q,generateThemeVars:Z,generateStyleSheets:W}=aA(H,$);return H.vars=Q,Object.entries(H.colorSchemes[H.defaultColorScheme]).forEach(([et,R])=>{H[et]=R}),H.generateThemeVars=Z,H.generateStyleSheets=W,H.generateSpacing=function(){return ZS(y.spacing,vm(this))},H.getColorSchemeSelector=rA(h),H.spacing=H.generateSpacing(),H.shouldSkipGeneratingVar=p,H.unstable_sxConfig={...Js,...y==null?void 0:y.unstable_sxConfig},H.unstable_sx=function(R){return ui({sx:R,theme:this})},H.toRuntimeSource=hx,H}function Yb(e,a,i){e.colorSchemes&&i&&(e.colorSchemes[a]={...i!==!0&&i,palette:Om({...i===!0?{}:i.palette,mode:a})})}function bf(e={},...a){const{palette:i,cssVariables:l=!1,colorSchemes:s=i?void 0:{light:!0},defaultColorScheme:u=i==null?void 0:i.mode,...f}=e,p=u||"light",h=s==null?void 0:s[p],m={...s,...i?{[p]:{...typeof h!="boolean"&&h,palette:i}}:void 0};if(l===!1){if(!("colorSchemes"in e))return Nh(e,...a);let y=i;"palette"in e||m[p]&&(m[p]!==!0?y=m[p].palette:p==="dark"&&(y={mode:"dark"}));const v=Nh({...e,palette:y},...a);return v.defaultColorScheme=p,v.colorSchemes=m,v.palette.mode==="light"&&(v.colorSchemes.light={...m.light!==!0&&m.light,palette:v.palette},Yb(v,"dark",m.dark)),v.palette.mode==="dark"&&(v.colorSchemes.dark={...m.dark!==!0&&m.dark,palette:v.palette},Yb(v,"light",m.light)),v}return!i&&!("light"in m)&&p==="light"&&(m.light=!0),NA({...f,colorSchemes:m,defaultColorScheme:p,...typeof l!="boolean"&&l},...a)}function UA(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function LA(e){return parseFloat(e)}const Am=bf();function tu(){const e=Em(Am);return e[Va]||e}function HA(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const gx=e=>HA(e)&&e!=="classes",Lt=wO({themeId:Va,defaultTheme:Am,rootShouldForwardProp:gx});function kA({theme:e,...a}){const i=Va in e?e[Va]:void 0;return A.jsx(sx,{...a,themeId:i?Va:void 0,theme:i||e})}const wc={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:$A}=JO({themeId:Va,theme:()=>bf({cssVariables:!0}),colorSchemeStorageKey:wc.colorSchemeStorageKey,modeStorageKey:wc.modeStorageKey,defaultColorScheme:{light:wc.defaultLightColorScheme,dark:wc.defaultDarkColorScheme},resolveTheme:e=>{const a={...e,typography:px(e.palette,e.typography)};return a.unstable_sx=function(l){return ui({sx:l,theme:this})},a}}),qA=$A;function PA({theme:e,...a}){const i=w.useMemo(()=>{if(typeof e=="function")return e;const l=Va in e?e[Va]:e;return"colorSchemes"in l?null:"vars"in l?e:{...e,vars:null}},[e]);return i?A.jsx(kA,{theme:i,...a}):A.jsx(qA,{theme:e,...a})}function VA(e){return A.jsx(WS,{...e,defaultTheme:Am,themeId:Va})}function vx(e){return function(i){return A.jsx(VA,{styles:typeof e=="function"?l=>e({theme:l,...i}):e})}}function GA(){return JS}const Ke=YO;function nn(e){return qO(e)}function YA(e){return hn("MuiSvgIcon",e)}en("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const QA=e=>{const{color:a,fontSize:i,classes:l}=e,s={root:["root",a!=="inherit"&&`color${Ot(a)}`,`fontSize${Ot(i)}`]};return bn(s,YA,l)},XA=Lt("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.color!=="inherit"&&a[`color${Ot(i.color)}`],a[`fontSize${Ot(i.fontSize)}`]]}})(Ke(({theme:e})=>{var a,i,l,s,u,f,p,h,m,y,v,T,x,S;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(s=(a=e.transitions)==null?void 0:a.create)==null?void 0:s.call(a,"fill",{duration:(l=(i=(e.vars??e).transitions)==null?void 0:i.duration)==null?void 0:l.shorter}),variants:[{props:b=>!b.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((f=(u=e.typography)==null?void 0:u.pxToRem)==null?void 0:f.call(u,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((h=(p=e.typography)==null?void 0:p.pxToRem)==null?void 0:h.call(p,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((y=(m=e.typography)==null?void 0:m.pxToRem)==null?void 0:y.call(m,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,b])=>b&&b.main).map(([b])=>{var C,M;return{props:{color:b},style:{color:(M=(C=(e.vars??e).palette)==null?void 0:C[b])==null?void 0:M.main}}}),{props:{color:"action"},style:{color:(T=(v=(e.vars??e).palette)==null?void 0:v.action)==null?void 0:T.active}},{props:{color:"disabled"},style:{color:(S=(x=(e.vars??e).palette)==null?void 0:x.action)==null?void 0:S.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Lh=w.forwardRef(function(a,i){const l=nn({props:a,name:"MuiSvgIcon"}),{children:s,className:u,color:f="inherit",component:p="svg",fontSize:h="medium",htmlColor:m,inheritViewBox:y=!1,titleAccess:v,viewBox:T="0 0 24 24",...x}=l,S=w.isValidElement(s)&&s.type==="svg",b={...l,color:f,component:p,fontSize:h,instanceFontSize:a.fontSize,inheritViewBox:y,viewBox:T,hasSvgAsChild:S},C={};y||(C.viewBox=T);const M=QA(b);return A.jsxs(XA,{as:p,className:Gt(M.root,u),focusable:"false",color:m,"aria-hidden":v?void 0:!0,role:v?"img":void 0,ref:i,...C,...x,...S&&s.props,ownerState:b,children:[S?s.props.children:s,v?A.jsx("title",{children:v}):null]})});Lh.muiName="SvgIcon";function Ve(e,a){function i(l,s){return A.jsx(Lh,{"data-testid":void 0,ref:s,...l,children:e})}return i.muiName=Lh.muiName,w.memo(w.forwardRef(i))}function bx(e,a=166){let i;function l(...s){const u=()=>{e.apply(this,s)};clearTimeout(i),i=setTimeout(u,a)}return l.clear=()=>{clearTimeout(i)},l}function Ii(e){return e&&e.ownerDocument||document}function Sx(e){return Ii(e).defaultView||window}function Qb(e,a){typeof e=="function"?e(a):e&&(e.current=a)}function KA(e){const{controlled:a,default:i,name:l,state:s="value"}=e,{current:u}=w.useRef(a!==void 0),[f,p]=w.useState(i),h=u?a:f,m=w.useCallback(y=>{u||p(y)},[]);return[h,m]}function ma(e){const a=w.useRef(e);return ci(()=>{a.current=e}),w.useRef((...i)=>(0,a.current)(...i)).current}function Qa(...e){const a=w.useRef(void 0),i=w.useCallback(l=>{const s=e.map(u=>{if(u==null)return null;if(typeof u=="function"){const f=u,p=f(l);return typeof p=="function"?p:()=>{f(null)}}return u.current=l,()=>{u.current=null}});return()=>{s.forEach(u=>u==null?void 0:u())}},e);return w.useMemo(()=>e.every(l=>l==null)?null:l=>{a.current&&(a.current(),a.current=void 0),l!=null&&(a.current=i(l))},e)}function xx(e,a){if(e==null)return{};var i={};for(var l in e)if({}.hasOwnProperty.call(e,l)){if(a.indexOf(l)!==-1)continue;i[l]=e[l]}return i}function Hh(e,a){return Hh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,l){return i.__proto__=l,i},Hh(e,a)}function Ex(e,a){e.prototype=Object.create(a.prototype),e.prototype.constructor=e,Hh(e,a)}const Xb={disabled:!1},Kc=Ma.createContext(null);var FA=function(a){return a.scrollTop},Ts="unmounted",Di="exited",ji="entering",Wl="entered",kh="exiting",xr=(function(e){Ex(a,e);function a(l,s){var u;u=e.call(this,l,s)||this;var f=s,p=f&&!f.isMounting?l.enter:l.appear,h;return u.appearStatus=null,l.in?p?(h=Di,u.appearStatus=ji):h=Wl:l.unmountOnExit||l.mountOnEnter?h=Ts:h=Di,u.state={status:h},u.nextCallback=null,u}a.getDerivedStateFromProps=function(s,u){var f=s.in;return f&&u.status===Ts?{status:Di}:null};var i=a.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(s){var u=null;if(s!==this.props){var f=this.state.status;this.props.in?f!==ji&&f!==Wl&&(u=ji):(f===ji||f===Wl)&&(u=kh)}this.updateStatus(!1,u)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var s=this.props.timeout,u,f,p;return u=f=p=s,s!=null&&typeof s!="number"&&(u=s.exit,f=s.enter,p=s.appear!==void 0?s.appear:f),{exit:u,enter:f,appear:p}},i.updateStatus=function(s,u){if(s===void 0&&(s=!1),u!==null)if(this.cancelNextCallback(),u===ji){if(this.props.unmountOnExit||this.props.mountOnEnter){var f=this.props.nodeRef?this.props.nodeRef.current:xc.findDOMNode(this);f&&FA(f)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Di&&this.setState({status:Ts})},i.performEnter=function(s){var u=this,f=this.props.enter,p=this.context?this.context.isMounting:s,h=this.props.nodeRef?[p]:[xc.findDOMNode(this),p],m=h[0],y=h[1],v=this.getTimeouts(),T=p?v.appear:v.enter;if(!s&&!f||Xb.disabled){this.safeSetState({status:Wl},function(){u.props.onEntered(m)});return}this.props.onEnter(m,y),this.safeSetState({status:ji},function(){u.props.onEntering(m,y),u.onTransitionEnd(T,function(){u.safeSetState({status:Wl},function(){u.props.onEntered(m,y)})})})},i.performExit=function(){var s=this,u=this.props.exit,f=this.getTimeouts(),p=this.props.nodeRef?void 0:xc.findDOMNode(this);if(!u||Xb.disabled){this.safeSetState({status:Di},function(){s.props.onExited(p)});return}this.props.onExit(p),this.safeSetState({status:kh},function(){s.props.onExiting(p),s.onTransitionEnd(f.exit,function(){s.safeSetState({status:Di},function(){s.props.onExited(p)})})})},i.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(s,u){u=this.setNextCallback(u),this.setState(s,u)},i.setNextCallback=function(s){var u=this,f=!0;return this.nextCallback=function(p){f&&(f=!1,u.nextCallback=null,s(p))},this.nextCallback.cancel=function(){f=!1},this.nextCallback},i.onTransitionEnd=function(s,u){this.setNextCallback(u);var f=this.props.nodeRef?this.props.nodeRef.current:xc.findDOMNode(this),p=s==null&&!this.props.addEndListener;if(!f||p){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var h=this.props.nodeRef?[this.nextCallback]:[f,this.nextCallback],m=h[0],y=h[1];this.props.addEndListener(m,y)}s!=null&&setTimeout(this.nextCallback,s)},i.render=function(){var s=this.state.status;if(s===Ts)return null;var u=this.props,f=u.children;u.in,u.mountOnEnter,u.unmountOnExit,u.appear,u.enter,u.exit,u.timeout,u.addEndListener,u.onEnter,u.onEntering,u.onEntered,u.onExit,u.onExiting,u.onExited,u.nodeRef;var p=xx(u,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Ma.createElement(Kc.Provider,{value:null},typeof f=="function"?f(s,p):Ma.cloneElement(Ma.Children.only(f),p))},a})(Ma.Component);xr.contextType=Kc;xr.propTypes={};function Il(){}xr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Il,onEntering:Il,onEntered:Il,onExit:Il,onExiting:Il,onExited:Il};xr.UNMOUNTED=Ts;xr.EXITED=Di;xr.ENTERING=ji;xr.ENTERED=Wl;xr.EXITING=kh;function IA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mm(e,a){var i=function(u){return a&&w.isValidElement(u)?a(u):u},l=Object.create(null);return e&&w.Children.map(e,function(s){return s}).forEach(function(s){l[s.key]=i(s)}),l}function ZA(e,a){e=e||{},a=a||{};function i(y){return y in a?a[y]:e[y]}var l=Object.create(null),s=[];for(var u in e)u in a?s.length&&(l[u]=s,s=[]):s.push(u);var f,p={};for(var h in a){if(l[h])for(f=0;f<l[h].length;f++){var m=l[h][f];p[l[h][f]]=i(m)}p[h]=i(h)}for(f=0;f<s.length;f++)p[s[f]]=i(s[f]);return p}function Li(e,a,i){return i[a]!=null?i[a]:e.props[a]}function WA(e,a){return Mm(e.children,function(i){return w.cloneElement(i,{onExited:a.bind(null,i),in:!0,appear:Li(i,"appear",e),enter:Li(i,"enter",e),exit:Li(i,"exit",e)})})}function JA(e,a,i){var l=Mm(e.children),s=ZA(a,l);return Object.keys(s).forEach(function(u){var f=s[u];if(w.isValidElement(f)){var p=u in a,h=u in l,m=a[u],y=w.isValidElement(m)&&!m.props.in;h&&(!p||y)?s[u]=w.cloneElement(f,{onExited:i.bind(null,f),in:!0,exit:Li(f,"exit",e),enter:Li(f,"enter",e)}):!h&&p&&!y?s[u]=w.cloneElement(f,{in:!1}):h&&p&&w.isValidElement(m)&&(s[u]=w.cloneElement(f,{onExited:i.bind(null,f),in:m.props.in,exit:Li(f,"exit",e),enter:Li(f,"enter",e)}))}}),s}var t5=Object.values||function(e){return Object.keys(e).map(function(a){return e[a]})},e5={component:"div",childFactory:function(a){return a}},_m=(function(e){Ex(a,e);function a(l,s){var u;u=e.call(this,l,s)||this;var f=u.handleExited.bind(IA(u));return u.state={contextValue:{isMounting:!0},handleExited:f,firstRender:!0},u}var i=a.prototype;return i.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},i.componentWillUnmount=function(){this.mounted=!1},a.getDerivedStateFromProps=function(s,u){var f=u.children,p=u.handleExited,h=u.firstRender;return{children:h?WA(s,p):JA(s,f,p),firstRender:!1}},i.handleExited=function(s,u){var f=Mm(this.props.children);s.key in f||(s.props.onExited&&s.props.onExited(u),this.mounted&&this.setState(function(p){var h=Vc({},p.children);return delete h[s.key],{children:h}}))},i.render=function(){var s=this.props,u=s.component,f=s.childFactory,p=xx(s,["component","childFactory"]),h=this.state.contextValue,m=t5(this.state.children).map(f);return delete p.appear,delete p.enter,delete p.exit,u===null?Ma.createElement(Kc.Provider,{value:h},m):Ma.createElement(Kc.Provider,{value:h},Ma.createElement(u,p,m))},a})(Ma.Component);_m.propTypes={};_m.defaultProps=e5;const Kb={};function Cx(e,a){const i=w.useRef(Kb);return i.current===Kb&&(i.current=e(a)),i}const n5=[];function a5(e){w.useEffect(e,n5)}class Sf{constructor(){Gl(this,"currentId",null);Gl(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Gl(this,"disposeEffect",()=>this.clear)}static create(){return new Sf}start(a,i){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,i()},a)}}function Hi(){const e=Cx(Sf.create).current;return a5(e.disposeEffect),e}const r5=e=>e.scrollTop;function Fb(e,a){const{timeout:i,easing:l,style:s={}}=e;return{duration:s.transitionDuration??(typeof i=="number"?i:i[a.mode]||0),easing:s.transitionTimingFunction??(typeof l=="object"?l[a.mode]:l),delay:s.transitionDelay}}function i5(e){return typeof e=="string"}function Tx(e,a,i){return e===void 0||i5(e)?a:{...a,ownerState:{...a.ownerState,...i}}}function wx(e,a,i){return typeof e=="function"?e(a,i):e}function $h(e,a=[]){if(e===void 0)return{};const i={};return Object.keys(e).filter(l=>l.match(/^on[A-Z]/)&&typeof e[l]=="function"&&!a.includes(l)).forEach(l=>{i[l]=e[l]}),i}function Ib(e){if(e===void 0)return{};const a={};return Object.keys(e).filter(i=>!(i.match(/^on[A-Z]/)&&typeof e[i]=="function")).forEach(i=>{a[i]=e[i]}),a}function Rx(e){const{getSlotProps:a,additionalProps:i,externalSlotProps:l,externalForwardedProps:s,className:u}=e;if(!a){const x=Gt(i==null?void 0:i.className,u,s==null?void 0:s.className,l==null?void 0:l.className),S={...i==null?void 0:i.style,...s==null?void 0:s.style,...l==null?void 0:l.style},b={...i,...s,...l};return x.length>0&&(b.className=x),Object.keys(S).length>0&&(b.style=S),{props:b,internalRef:void 0}}const f=$h({...s,...l}),p=Ib(l),h=Ib(s),m=a(f),y=Gt(m==null?void 0:m.className,i==null?void 0:i.className,u,s==null?void 0:s.className,l==null?void 0:l.className),v={...m==null?void 0:m.style,...i==null?void 0:i.style,...s==null?void 0:s.style,...l==null?void 0:l.style},T={...m,...i,...h,...p};return y.length>0&&(T.className=y),Object.keys(v).length>0&&(T.style=v),{props:T,internalRef:m.ref}}function qe(e,a){const{className:i,elementType:l,ownerState:s,externalForwardedProps:u,internalForwardedProps:f,shouldForwardComponentProp:p=!1,...h}=a,{component:m,slots:y={[e]:void 0},slotProps:v={[e]:void 0},...T}=u,x=y[e]||l,S=wx(v[e],s),{props:{component:b,...C},internalRef:M}=Rx({className:i,...h,externalForwardedProps:e==="root"?T:void 0,externalSlotProps:S}),L=Qa(M,S==null?void 0:S.ref,a.ref),j=e==="root"?b||m:b,O=Tx(x,{...e==="root"&&!m&&!y[e]&&f,...e!=="root"&&!y[e]&&f,...C,...j&&!p&&{as:j},...j&&p&&{component:j},ref:L},s);return[x,O]}function l5(e){return hn("MuiPaper",e)}en("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"]);const o5=e=>{const{square:a,elevation:i,variant:l,classes:s}=e,u={root:["root",l,!a&&"rounded",l==="elevation"&&`elevation${i}`]};return bn(u,l5,s)},s5=Lt("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[i.variant],!i.square&&a.rounded,i.variant==="elevation"&&a[`elevation${i.elevation}`]]}})(Ke(({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:a})=>!a.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)"}}]}))),Ox=w.forwardRef(function(a,i){var x;const l=nn({props:a,name:"MuiPaper"}),s=tu(),{className:u,component:f="div",elevation:p=1,square:h=!1,variant:m="elevation",...y}=l,v={...l,component:f,elevation:p,square:h,variant:m},T=o5(v);return A.jsx(s5,{as:f,ownerState:v,className:Gt(T.root,u),ref:i,...y,style:{...m==="elevation"&&{"--Paper-shadow":(s.vars||s).shadows[p],...s.vars&&{"--Paper-overlay":(x=s.vars.overlays)==null?void 0:x[p]},...!s.vars&&s.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Xc("#fff",Uh(p))}, ${Xc("#fff",Uh(p))})`}},...y.style}})});function Fc(e){try{return e.matches(":focus-visible")}catch{}return!1}class Ic{constructor(){Gl(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 Ic}static use(){const a=Cx(Ic.create).current,[i,l]=w.useState(!1);return a.shouldMount=i,a.setShouldMount=l,w.useEffect(a.mountEffect,[i]),a}mount(){return this.mounted||(this.mounted=c5(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...a){this.mount().then(()=>{var i;return(i=this.ref.current)==null?void 0:i.start(...a)})}stop(...a){this.mount().then(()=>{var i;return(i=this.ref.current)==null?void 0:i.stop(...a)})}pulsate(...a){this.mount().then(()=>{var i;return(i=this.ref.current)==null?void 0:i.pulsate(...a)})}}function u5(){return Ic.use()}function c5(){let e,a;const i=new Promise((l,s)=>{e=l,a=s});return i.resolve=e,i.reject=a,i}function f5(e){const{className:a,classes:i,pulsate:l=!1,rippleX:s,rippleY:u,rippleSize:f,in:p,onExited:h,timeout:m}=e,[y,v]=w.useState(!1),T=Gt(a,i.ripple,i.rippleVisible,l&&i.ripplePulsate),x={width:f,height:f,top:-(f/2)+u,left:-(f/2)+s},S=Gt(i.child,y&&i.childLeaving,l&&i.childPulsate);return!p&&!y&&v(!0),w.useEffect(()=>{if(!p&&h!=null){const b=setTimeout(h,m);return()=>{clearTimeout(b)}}},[h,p,m]),A.jsx("span",{className:T,style:x,children:A.jsx("span",{className:S})})}const pa=en("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),qh=550,d5=80,p5=rl`
  0% {
    transform: scale(0);
    opacity: 0.1;
  }

  100% {
    transform: scale(1);
    opacity: 0.3;
  }
`,h5=rl`
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
`,m5=rl`
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
`,y5=Lt("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),g5=Lt(f5,{name:"MuiTouchRipple",slot:"Ripple"})`
  opacity: 0;
  position: absolute;

  &.${pa.rippleVisible} {
    opacity: 0.3;
    transform: scale(1);
    animation-name: ${p5};
    animation-duration: ${qh}ms;
    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
  }

  &.${pa.ripplePulsate} {
    animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
  }

  & .${pa.child} {
    opacity: 1;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: currentColor;
  }

  & .${pa.childLeaving} {
    opacity: 0;
    animation-name: ${h5};
    animation-duration: ${qh}ms;
    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
  }

  & .${pa.childPulsate} {
    position: absolute;
    /* @noflip */
    left: 0px;
    top: 0;
    animation-name: ${m5};
    animation-duration: 2500ms;
    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
    animation-iteration-count: infinite;
    animation-delay: 200ms;
  }
`,v5=w.forwardRef(function(a,i){const l=nn({props:a,name:"MuiTouchRipple"}),{center:s=!1,classes:u={},className:f,...p}=l,[h,m]=w.useState([]),y=w.useRef(0),v=w.useRef(null);w.useEffect(()=>{v.current&&(v.current(),v.current=null)},[h]);const T=w.useRef(!1),x=Hi(),S=w.useRef(null),b=w.useRef(null),C=w.useCallback(O=>{const{pulsate:B,rippleX:H,rippleY:$,rippleSize:Q,cb:Z}=O;m(W=>[...W,A.jsx(g5,{classes:{ripple:Gt(u.ripple,pa.ripple),rippleVisible:Gt(u.rippleVisible,pa.rippleVisible),ripplePulsate:Gt(u.ripplePulsate,pa.ripplePulsate),child:Gt(u.child,pa.child),childLeaving:Gt(u.childLeaving,pa.childLeaving),childPulsate:Gt(u.childPulsate,pa.childPulsate)},timeout:qh,pulsate:B,rippleX:H,rippleY:$,rippleSize:Q},y.current)]),y.current+=1,v.current=Z},[u]),M=w.useCallback((O={},B={},H=()=>{})=>{const{pulsate:$=!1,center:Q=s||B.pulsate,fakeElement:Z=!1}=B;if((O==null?void 0:O.type)==="mousedown"&&T.current){T.current=!1;return}(O==null?void 0:O.type)==="touchstart"&&(T.current=!0);const W=Z?null:b.current,et=W?W.getBoundingClientRect():{width:0,height:0,left:0,top:0};let R,X,I;if(Q||O===void 0||O.clientX===0&&O.clientY===0||!O.clientX&&!O.touches)R=Math.round(et.width/2),X=Math.round(et.height/2);else{const{clientX:at,clientY:D}=O.touches&&O.touches.length>0?O.touches[0]:O;R=Math.round(at-et.left),X=Math.round(D-et.top)}if(Q)I=Math.sqrt((2*et.width**2+et.height**2)/3),I%2===0&&(I+=1);else{const at=Math.max(Math.abs((W?W.clientWidth:0)-R),R)*2+2,D=Math.max(Math.abs((W?W.clientHeight:0)-X),X)*2+2;I=Math.sqrt(at**2+D**2)}O!=null&&O.touches?S.current===null&&(S.current=()=>{C({pulsate:$,rippleX:R,rippleY:X,rippleSize:I,cb:H})},x.start(d5,()=>{S.current&&(S.current(),S.current=null)})):C({pulsate:$,rippleX:R,rippleY:X,rippleSize:I,cb:H})},[s,C,x]),L=w.useCallback(()=>{M({},{pulsate:!0})},[M]),j=w.useCallback((O,B)=>{if(x.clear(),(O==null?void 0:O.type)==="touchend"&&S.current){S.current(),S.current=null,x.start(0,()=>{j(O,B)});return}S.current=null,m(H=>H.length>0?H.slice(1):H),v.current=B},[x]);return w.useImperativeHandle(i,()=>({pulsate:L,start:M,stop:j}),[L,M,j]),A.jsx(y5,{className:Gt(pa.root,u.root,f),ref:b,...p,children:A.jsx(_m,{component:null,exit:!0,children:h})})});function b5(e){return hn("MuiButtonBase",e)}const S5=en("MuiButtonBase",["root","disabled","focusVisible"]),x5=e=>{const{disabled:a,focusVisible:i,focusVisibleClassName:l,classes:s}=e,f=bn({root:["root",a&&"disabled",i&&"focusVisible"]},b5,s);return i&&l&&(f.root+=` ${l}`),f},E5=Lt("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"},[`&.${S5.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),xf=w.forwardRef(function(a,i){const l=nn({props:a,name:"MuiButtonBase"}),{action:s,centerRipple:u=!1,children:f,className:p,component:h="button",disabled:m=!1,disableRipple:y=!1,disableTouchRipple:v=!1,focusRipple:T=!1,focusVisibleClassName:x,LinkComponent:S="a",onBlur:b,onClick:C,onContextMenu:M,onDragLeave:L,onFocus:j,onFocusVisible:O,onKeyDown:B,onKeyUp:H,onMouseDown:$,onMouseLeave:Q,onMouseUp:Z,onTouchEnd:W,onTouchMove:et,onTouchStart:R,tabIndex:X=0,TouchRippleProps:I,touchRippleRef:at,type:D,...Y}=l,it=w.useRef(null),st=u5(),dt=Qa(st.ref,at),[_,V]=w.useState(!1);m&&_&&V(!1),w.useImperativeHandle(s,()=>({focusVisible:()=>{V(!0),it.current.focus()}}),[]);const lt=st.shouldMount&&!y&&!m;w.useEffect(()=>{_&&T&&!y&&st.pulsate()},[y,T,_,st]);const ot=mr(st,"start",$,v),ct=mr(st,"stop",M,v),ht=mr(st,"stop",L,v),bt=mr(st,"stop",Z,v),_t=mr(st,"stop",yt=>{_&&yt.preventDefault(),Q&&Q(yt)},v),Bt=mr(st,"start",R,v),Fe=mr(st,"stop",W,v),Ge=mr(st,"stop",et,v),he=mr(st,"stop",yt=>{Fc(yt.target)||V(!1),b&&b(yt)},!1),Kt=ma(yt=>{it.current||(it.current=yt.currentTarget),Fc(yt.target)&&(V(!0),O&&O(yt)),j&&j(yt)}),Dt=()=>{const yt=it.current;return h&&h!=="button"&&!(yt.tagName==="A"&&yt.href)},ue=ma(yt=>{T&&!yt.repeat&&_&&yt.key===" "&&st.stop(yt,()=>{st.start(yt)}),yt.target===yt.currentTarget&&Dt()&&yt.key===" "&&yt.preventDefault(),B&&B(yt),yt.target===yt.currentTarget&&Dt()&&yt.key==="Enter"&&!m&&(yt.preventDefault(),C&&C(yt))}),Ye=ma(yt=>{T&&yt.key===" "&&_&&!yt.defaultPrevented&&st.stop(yt,()=>{st.pulsate(yt)}),H&&H(yt),C&&yt.target===yt.currentTarget&&Dt()&&yt.key===" "&&!yt.defaultPrevented&&C(yt)});let ce=h;ce==="button"&&(Y.href||Y.to)&&(ce=S);const fe={};if(ce==="button"){const yt=!!Y.formAction;fe.type=D===void 0&&!yt?"button":D,fe.disabled=m}else!Y.href&&!Y.to&&(fe.role="button"),m&&(fe["aria-disabled"]=m);const Wt=Qa(i,it),me={...l,centerRipple:u,component:h,disabled:m,disableRipple:y,disableTouchRipple:v,focusRipple:T,tabIndex:X,focusVisible:_},ye=x5(me);return A.jsxs(E5,{as:ce,className:Gt(ye.root,p),ownerState:me,onBlur:he,onClick:C,onContextMenu:ct,onFocus:Kt,onKeyDown:ue,onKeyUp:Ye,onMouseDown:ot,onMouseLeave:_t,onMouseUp:bt,onDragLeave:ht,onTouchEnd:Fe,onTouchMove:Ge,onTouchStart:Bt,ref:Wt,tabIndex:m?-1:X,type:D,...fe,...Y,children:[f,lt?A.jsx(v5,{ref:dt,center:u,...I}):null]})});function mr(e,a,i,l=!1){return ma(s=>(i&&i(s),l||e[a](s),!0))}function C5(e){return typeof e.main=="string"}function T5(e,a=[]){if(!C5(e))return!1;for(const i of a)if(!e.hasOwnProperty(i)||typeof e[i]!="string")return!1;return!0}function si(e=[]){return([,a])=>a&&T5(a,e)}function w5(e){return hn("MuiAlert",e)}const Zb=en("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function R5(e){return hn("MuiCircularProgress",e)}en("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Ra=44,Ph=rl`
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
`,Vh=rl`
  0% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -15px;
  }

  100% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: -126px;
  }
`,O5=typeof Ph!="string"?Is`
        animation: ${Ph} 1.4s linear infinite;
      `:null,A5=typeof Vh!="string"?Is`
        animation: ${Vh} 1.4s ease-in-out infinite;
      `:null,M5=e=>{const{classes:a,variant:i,color:l,disableShrink:s}=e,u={root:["root",i,`color${Ot(l)}`],svg:["svg"],track:["track"],circle:["circle",`circle${Ot(i)}`,s&&"circleDisableShrink"]};return bn(u,R5,a)},_5=Lt("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[i.variant],a[`color${Ot(i.color)}`]]}})(Ke(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:O5||{animation:`${Ph} 1.4s linear infinite`}},...Object.entries(e.palette).filter(si()).map(([a])=>({props:{color:a},style:{color:(e.vars||e).palette[a].main}}))]}))),z5=Lt("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),B5=Lt("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.circle,a[`circle${Ot(i.variant)}`],i.disableShrink&&a.circleDisableShrink]}})(Ke(({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:a})=>a.variant==="indeterminate"&&!a.disableShrink,style:A5||{animation:`${Vh} 1.4s ease-in-out infinite`}}]}))),D5=Lt("circle",{name:"MuiCircularProgress",slot:"Track"})(Ke(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),Ax=w.forwardRef(function(a,i){const l=nn({props:a,name:"MuiCircularProgress"}),{className:s,color:u="primary",disableShrink:f=!1,enableTrackSlot:p=!1,size:h=40,style:m,thickness:y=3.6,value:v=0,variant:T="indeterminate",...x}=l,S={...l,color:u,disableShrink:f,size:h,thickness:y,value:v,variant:T,enableTrackSlot:p},b=M5(S),C={},M={},L={};if(T==="determinate"){const j=2*Math.PI*((Ra-y)/2);C.strokeDasharray=j.toFixed(3),L["aria-valuenow"]=Math.round(v),C.strokeDashoffset=`${((100-v)/100*j).toFixed(3)}px`,M.transform="rotate(-90deg)"}return A.jsx(_5,{className:Gt(b.root,s),style:{width:h,height:h,...M,...m},ownerState:S,ref:i,role:"progressbar",...L,...x,children:A.jsxs(z5,{className:b.svg,ownerState:S,viewBox:`${Ra/2} ${Ra/2} ${Ra} ${Ra}`,children:[p?A.jsx(D5,{className:b.track,ownerState:S,cx:Ra,cy:Ra,r:(Ra-y)/2,fill:"none",strokeWidth:y,"aria-hidden":"true"}):null,A.jsx(B5,{className:b.circle,style:C,ownerState:S,cx:Ra,cy:Ra,r:(Ra-y)/2,fill:"none",strokeWidth:y})]})})});function j5(e){return hn("MuiIconButton",e)}const Wb=en("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),N5=e=>{const{classes:a,disabled:i,color:l,edge:s,size:u,loading:f}=e,p={root:["root",f&&"loading",i&&"disabled",l!=="default"&&`color${Ot(l)}`,s&&`edge${Ot(s)}`,`size${Ot(u)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return bn(p,j5,a)},U5=Lt(xf,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.loading&&a.loading,i.color!=="default"&&a[`color${Ot(i.color)}`],i.edge&&a[`edge${Ot(i.edge)}`],a[`size${Ot(i.size)}`]]}})(Ke(({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:a=>!a.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}}]})),Ke(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(si()).map(([a])=>({props:{color:a},style:{color:(e.vars||e).palette[a].main}})),...Object.entries(e.palette).filter(si()).map(([a])=>({props:{color:a},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[a].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)}}],[`&.${Wb.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${Wb.loading}`]:{color:"transparent"}}))),L5=Lt("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"}}]})),Mx=w.forwardRef(function(a,i){const l=nn({props:a,name:"MuiIconButton"}),{edge:s=!1,children:u,className:f,color:p="default",disabled:h=!1,disableFocusRipple:m=!1,size:y="medium",id:v,loading:T=null,loadingIndicator:x,...S}=l,b=vf(v),C=x??A.jsx(Ax,{"aria-labelledby":b,color:"inherit",size:16}),M={...l,edge:s,color:p,disabled:h,disableFocusRipple:m,loading:T,loadingIndicator:C,size:y},L=N5(M);return A.jsxs(U5,{id:T?b:v,className:Gt(L.root,f),centerRipple:!0,focusRipple:!m,disabled:h||T,ref:i,...S,ownerState:M,children:[typeof T=="boolean"&&A.jsx("span",{className:L.loadingWrapper,style:{display:"contents"},children:A.jsx(L5,{className:L.loadingIndicator,ownerState:M,children:T&&C})}),u]})}),H5=Ve(A.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"})),k5=Ve(A.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"})),$5=Ve(A.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),q5=Ve(A.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"})),P5=Ve(A.jsx("path",{d:"M19 6.41L17.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"})),V5=e=>{const{variant:a,color:i,severity:l,classes:s}=e,u={root:["root",`color${Ot(i||l)}`,`${a}${Ot(i||l)}`,`${a}`],icon:["icon"],message:["message"],action:["action"]};return bn(u,w5,s)},G5=Lt(Ox,{name:"MuiAlert",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[i.variant],a[`${i.variant}${Ot(i.color||i.severity)}`]]}})(Ke(({theme:e})=>{const a=e.palette.mode==="light"?e.darken:e.lighten,i=e.palette.mode==="light"?e.lighten:e.darken;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(si(["light"])).map(([l])=>({props:{colorSeverity:l,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${l}Color`]:a(e.palette[l].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${l}StandardBg`]:i(e.palette[l].light,.9),[`& .${Zb.icon}`]:e.vars?{color:e.vars.palette.Alert[`${l}IconColor`]}:{color:e.palette[l].main}}})),...Object.entries(e.palette).filter(si(["light"])).map(([l])=>({props:{colorSeverity:l,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${l}Color`]:a(e.palette[l].light,.6),border:`1px solid ${(e.vars||e).palette[l].light}`,[`& .${Zb.icon}`]:e.vars?{color:e.vars.palette.Alert[`${l}IconColor`]}:{color:e.palette[l].main}}})),...Object.entries(e.palette).filter(si(["dark"])).map(([l])=>({props:{colorSeverity:l,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${l}FilledColor`],backgroundColor:e.vars.palette.Alert[`${l}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[l].dark:e.palette[l].main,color:e.palette.getContrastText(e.palette[l].main)}}}))]}})),Y5=Lt("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Q5=Lt("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),X5=Lt("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Jb={success:A.jsx(H5,{fontSize:"inherit"}),warning:A.jsx(k5,{fontSize:"inherit"}),error:A.jsx($5,{fontSize:"inherit"}),info:A.jsx(q5,{fontSize:"inherit"})},_x=w.forwardRef(function(a,i){const l=nn({props:a,name:"MuiAlert"}),{action:s,children:u,className:f,closeText:p="Close",color:h,components:m={},componentsProps:y={},icon:v,iconMapping:T=Jb,onClose:x,role:S="alert",severity:b="success",slotProps:C={},slots:M={},variant:L="standard",...j}=l,O={...l,color:h,severity:b,variant:L,colorSeverity:h||b},B=V5(O),H={slots:{closeButton:m.CloseButton,closeIcon:m.CloseIcon,...M},slotProps:{...y,...C}},[$,Q]=qe("root",{ref:i,shouldForwardComponentProp:!0,className:Gt(B.root,f),elementType:G5,externalForwardedProps:{...H,...j},ownerState:O,additionalProps:{role:S,elevation:0}}),[Z,W]=qe("icon",{className:B.icon,elementType:Y5,externalForwardedProps:H,ownerState:O}),[et,R]=qe("message",{className:B.message,elementType:Q5,externalForwardedProps:H,ownerState:O}),[X,I]=qe("action",{className:B.action,elementType:X5,externalForwardedProps:H,ownerState:O}),[at,D]=qe("closeButton",{elementType:Mx,externalForwardedProps:H,ownerState:O}),[Y,it]=qe("closeIcon",{elementType:P5,externalForwardedProps:H,ownerState:O});return A.jsxs($,{...Q,children:[v!==!1?A.jsx(Z,{...W,children:v||T[b]||Jb[b]}):null,A.jsx(et,{...R,children:u}),s!=null?A.jsx(X,{...I,children:s}):null,s==null&&x?A.jsx(X,{...I,children:A.jsx(at,{size:"small","aria-label":p,title:p,color:"inherit",onClick:x,...D,children:A.jsx(Y,{fontSize:"small",...it})})}):null]})});function K5(e){return hn("MuiTypography",e)}const az=en("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),F5={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},I5=GA(),Z5=e=>{const{align:a,gutterBottom:i,noWrap:l,paragraph:s,variant:u,classes:f}=e,p={root:["root",u,e.align!=="inherit"&&`align${Ot(a)}`,i&&"gutterBottom",l&&"noWrap",s&&"paragraph"]};return bn(p,K5,f)},W5=Lt("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.variant&&a[i.variant],i.align!=="inherit"&&a[`align${Ot(i.align)}`],i.noWrap&&a.noWrap,i.gutterBottom&&a.gutterBottom,i.paragraph&&a.paragraph]}})(Ke(({theme:e})=>{var a;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([i,l])=>i!=="inherit"&&l&&typeof l=="object").map(([i,l])=>({props:{variant:i},style:l})),...Object.entries(e.palette).filter(si()).map(([i])=>({props:{color:i},style:{color:(e.vars||e).palette[i].main}})),...Object.entries(((a=e.palette)==null?void 0:a.text)||{}).filter(([,i])=>typeof i=="string").map(([i])=>({props:{color:`text${Ot(i)}`},style:{color:(e.vars||e).palette.text[i]}})),{props:({ownerState:i})=>i.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:i})=>i.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:i})=>i.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:i})=>i.paragraph,style:{marginBottom:16}}]}})),t1={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Nc=w.forwardRef(function(a,i){const{color:l,...s}=nn({props:a,name:"MuiTypography"}),u=!F5[l],f=I5({...s,...u&&{color:l}}),{align:p="inherit",className:h,component:m,gutterBottom:y=!1,noWrap:v=!1,paragraph:T=!1,variant:x="body1",variantMapping:S=t1,...b}=f,C={...f,align:p,color:l,className:h,component:m,gutterBottom:y,noWrap:v,paragraph:T,variant:x,variantMapping:S},M=m||(T?"p":S[x]||t1[x])||"span",L=Z5(C);return A.jsx(W5,{as:M,ref:i,className:Gt(L.root,h),...b,ownerState:C,style:{...p!=="inherit"&&{"--Typography-textAlign":p},...b.style}})});var jn="top",ga="bottom",va="right",Nn="left",zm="auto",eu=[jn,ga,va,Nn],mo="start",Us="end",J5="clippingParents",zx="viewport",vs="popper",t3="reference",e1=eu.reduce(function(e,a){return e.concat([a+"-"+mo,a+"-"+Us])},[]),Bx=[].concat(eu,[zm]).reduce(function(e,a){return e.concat([a,a+"-"+mo,a+"-"+Us])},[]),e3="beforeRead",n3="read",a3="afterRead",r3="beforeMain",i3="main",l3="afterMain",o3="beforeWrite",s3="write",u3="afterWrite",c3=[e3,n3,a3,r3,i3,l3,o3,s3,u3];function Xa(e){return e?(e.nodeName||"").toLowerCase():null}function Kn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var a=e.ownerDocument;return a&&a.defaultView||window}return e}function el(e){var a=Kn(e).Element;return e instanceof a||e instanceof Element}function ya(e){var a=Kn(e).HTMLElement;return e instanceof a||e instanceof HTMLElement}function Bm(e){if(typeof ShadowRoot>"u")return!1;var a=Kn(e).ShadowRoot;return e instanceof a||e instanceof ShadowRoot}function f3(e){var a=e.state;Object.keys(a.elements).forEach(function(i){var l=a.styles[i]||{},s=a.attributes[i]||{},u=a.elements[i];!ya(u)||!Xa(u)||(Object.assign(u.style,l),Object.keys(s).forEach(function(f){var p=s[f];p===!1?u.removeAttribute(f):u.setAttribute(f,p===!0?"":p)}))})}function d3(e){var a=e.state,i={popper:{position:a.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(a.elements.popper.style,i.popper),a.styles=i,a.elements.arrow&&Object.assign(a.elements.arrow.style,i.arrow),function(){Object.keys(a.elements).forEach(function(l){var s=a.elements[l],u=a.attributes[l]||{},f=Object.keys(a.styles.hasOwnProperty(l)?a.styles[l]:i[l]),p=f.reduce(function(h,m){return h[m]="",h},{});!ya(s)||!Xa(s)||(Object.assign(s.style,p),Object.keys(u).forEach(function(h){s.removeAttribute(h)}))})}}const p3={name:"applyStyles",enabled:!0,phase:"write",fn:f3,effect:d3,requires:["computeStyles"]};function Ya(e){return e.split("-")[0]}var Zi=Math.max,Zc=Math.min,yo=Math.round;function Gh(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(a){return a.brand+"/"+a.version}).join(" "):navigator.userAgent}function Dx(){return!/^((?!chrome|android).)*safari/i.test(Gh())}function go(e,a,i){a===void 0&&(a=!1),i===void 0&&(i=!1);var l=e.getBoundingClientRect(),s=1,u=1;a&&ya(e)&&(s=e.offsetWidth>0&&yo(l.width)/e.offsetWidth||1,u=e.offsetHeight>0&&yo(l.height)/e.offsetHeight||1);var f=el(e)?Kn(e):window,p=f.visualViewport,h=!Dx()&&i,m=(l.left+(h&&p?p.offsetLeft:0))/s,y=(l.top+(h&&p?p.offsetTop:0))/u,v=l.width/s,T=l.height/u;return{width:v,height:T,top:y,right:m+v,bottom:y+T,left:m,x:m,y}}function Dm(e){var a=go(e),i=e.offsetWidth,l=e.offsetHeight;return Math.abs(a.width-i)<=1&&(i=a.width),Math.abs(a.height-l)<=1&&(l=a.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:l}}function jx(e,a){var i=a.getRootNode&&a.getRootNode();if(e.contains(a))return!0;if(i&&Bm(i)){var l=a;do{if(l&&e.isSameNode(l))return!0;l=l.parentNode||l.host}while(l)}return!1}function Sr(e){return Kn(e).getComputedStyle(e)}function h3(e){return["table","td","th"].indexOf(Xa(e))>=0}function pi(e){return((el(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ef(e){return Xa(e)==="html"?e:e.assignedSlot||e.parentNode||(Bm(e)?e.host:null)||pi(e)}function n1(e){return!ya(e)||Sr(e).position==="fixed"?null:e.offsetParent}function m3(e){var a=/firefox/i.test(Gh()),i=/Trident/i.test(Gh());if(i&&ya(e)){var l=Sr(e);if(l.position==="fixed")return null}var s=Ef(e);for(Bm(s)&&(s=s.host);ya(s)&&["html","body"].indexOf(Xa(s))<0;){var u=Sr(s);if(u.transform!=="none"||u.perspective!=="none"||u.contain==="paint"||["transform","perspective"].indexOf(u.willChange)!==-1||a&&u.willChange==="filter"||a&&u.filter&&u.filter!=="none")return s;s=s.parentNode}return null}function nu(e){for(var a=Kn(e),i=n1(e);i&&h3(i)&&Sr(i).position==="static";)i=n1(i);return i&&(Xa(i)==="html"||Xa(i)==="body"&&Sr(i).position==="static")?a:i||m3(e)||a}function jm(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Rs(e,a,i){return Zi(e,Zc(a,i))}function y3(e,a,i){var l=Rs(e,a,i);return l>i?i:l}function Nx(){return{top:0,right:0,bottom:0,left:0}}function Ux(e){return Object.assign({},Nx(),e)}function Lx(e,a){return a.reduce(function(i,l){return i[l]=e,i},{})}var g3=function(a,i){return a=typeof a=="function"?a(Object.assign({},i.rects,{placement:i.placement})):a,Ux(typeof a!="number"?a:Lx(a,eu))};function v3(e){var a,i=e.state,l=e.name,s=e.options,u=i.elements.arrow,f=i.modifiersData.popperOffsets,p=Ya(i.placement),h=jm(p),m=[Nn,va].indexOf(p)>=0,y=m?"height":"width";if(!(!u||!f)){var v=g3(s.padding,i),T=Dm(u),x=h==="y"?jn:Nn,S=h==="y"?ga:va,b=i.rects.reference[y]+i.rects.reference[h]-f[h]-i.rects.popper[y],C=f[h]-i.rects.reference[h],M=nu(u),L=M?h==="y"?M.clientHeight||0:M.clientWidth||0:0,j=b/2-C/2,O=v[x],B=L-T[y]-v[S],H=L/2-T[y]/2+j,$=Rs(O,H,B),Q=h;i.modifiersData[l]=(a={},a[Q]=$,a.centerOffset=$-H,a)}}function b3(e){var a=e.state,i=e.options,l=i.element,s=l===void 0?"[data-popper-arrow]":l;s!=null&&(typeof s=="string"&&(s=a.elements.popper.querySelector(s),!s)||jx(a.elements.popper,s)&&(a.elements.arrow=s))}const S3={name:"arrow",enabled:!0,phase:"main",fn:v3,effect:b3,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function vo(e){return e.split("-")[1]}var x3={top:"auto",right:"auto",bottom:"auto",left:"auto"};function E3(e,a){var i=e.x,l=e.y,s=a.devicePixelRatio||1;return{x:yo(i*s)/s||0,y:yo(l*s)/s||0}}function a1(e){var a,i=e.popper,l=e.popperRect,s=e.placement,u=e.variation,f=e.offsets,p=e.position,h=e.gpuAcceleration,m=e.adaptive,y=e.roundOffsets,v=e.isFixed,T=f.x,x=T===void 0?0:T,S=f.y,b=S===void 0?0:S,C=typeof y=="function"?y({x,y:b}):{x,y:b};x=C.x,b=C.y;var M=f.hasOwnProperty("x"),L=f.hasOwnProperty("y"),j=Nn,O=jn,B=window;if(m){var H=nu(i),$="clientHeight",Q="clientWidth";if(H===Kn(i)&&(H=pi(i),Sr(H).position!=="static"&&p==="absolute"&&($="scrollHeight",Q="scrollWidth")),H=H,s===jn||(s===Nn||s===va)&&u===Us){O=ga;var Z=v&&H===B&&B.visualViewport?B.visualViewport.height:H[$];b-=Z-l.height,b*=h?1:-1}if(s===Nn||(s===jn||s===ga)&&u===Us){j=va;var W=v&&H===B&&B.visualViewport?B.visualViewport.width:H[Q];x-=W-l.width,x*=h?1:-1}}var et=Object.assign({position:p},m&&x3),R=y===!0?E3({x,y:b},Kn(i)):{x,y:b};if(x=R.x,b=R.y,h){var X;return Object.assign({},et,(X={},X[O]=L?"0":"",X[j]=M?"0":"",X.transform=(B.devicePixelRatio||1)<=1?"translate("+x+"px, "+b+"px)":"translate3d("+x+"px, "+b+"px, 0)",X))}return Object.assign({},et,(a={},a[O]=L?b+"px":"",a[j]=M?x+"px":"",a.transform="",a))}function C3(e){var a=e.state,i=e.options,l=i.gpuAcceleration,s=l===void 0?!0:l,u=i.adaptive,f=u===void 0?!0:u,p=i.roundOffsets,h=p===void 0?!0:p,m={placement:Ya(a.placement),variation:vo(a.placement),popper:a.elements.popper,popperRect:a.rects.popper,gpuAcceleration:s,isFixed:a.options.strategy==="fixed"};a.modifiersData.popperOffsets!=null&&(a.styles.popper=Object.assign({},a.styles.popper,a1(Object.assign({},m,{offsets:a.modifiersData.popperOffsets,position:a.options.strategy,adaptive:f,roundOffsets:h})))),a.modifiersData.arrow!=null&&(a.styles.arrow=Object.assign({},a.styles.arrow,a1(Object.assign({},m,{offsets:a.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:h})))),a.attributes.popper=Object.assign({},a.attributes.popper,{"data-popper-placement":a.placement})}const T3={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:C3,data:{}};var Rc={passive:!0};function w3(e){var a=e.state,i=e.instance,l=e.options,s=l.scroll,u=s===void 0?!0:s,f=l.resize,p=f===void 0?!0:f,h=Kn(a.elements.popper),m=[].concat(a.scrollParents.reference,a.scrollParents.popper);return u&&m.forEach(function(y){y.addEventListener("scroll",i.update,Rc)}),p&&h.addEventListener("resize",i.update,Rc),function(){u&&m.forEach(function(y){y.removeEventListener("scroll",i.update,Rc)}),p&&h.removeEventListener("resize",i.update,Rc)}}const R3={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:w3,data:{}};var O3={left:"right",right:"left",bottom:"top",top:"bottom"};function Uc(e){return e.replace(/left|right|bottom|top/g,function(a){return O3[a]})}var A3={start:"end",end:"start"};function r1(e){return e.replace(/start|end/g,function(a){return A3[a]})}function Nm(e){var a=Kn(e),i=a.pageXOffset,l=a.pageYOffset;return{scrollLeft:i,scrollTop:l}}function Um(e){return go(pi(e)).left+Nm(e).scrollLeft}function M3(e,a){var i=Kn(e),l=pi(e),s=i.visualViewport,u=l.clientWidth,f=l.clientHeight,p=0,h=0;if(s){u=s.width,f=s.height;var m=Dx();(m||!m&&a==="fixed")&&(p=s.offsetLeft,h=s.offsetTop)}return{width:u,height:f,x:p+Um(e),y:h}}function _3(e){var a,i=pi(e),l=Nm(e),s=(a=e.ownerDocument)==null?void 0:a.body,u=Zi(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),f=Zi(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),p=-l.scrollLeft+Um(e),h=-l.scrollTop;return Sr(s||i).direction==="rtl"&&(p+=Zi(i.clientWidth,s?s.clientWidth:0)-u),{width:u,height:f,x:p,y:h}}function Lm(e){var a=Sr(e),i=a.overflow,l=a.overflowX,s=a.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+l)}function Hx(e){return["html","body","#document"].indexOf(Xa(e))>=0?e.ownerDocument.body:ya(e)&&Lm(e)?e:Hx(Ef(e))}function Os(e,a){var i;a===void 0&&(a=[]);var l=Hx(e),s=l===((i=e.ownerDocument)==null?void 0:i.body),u=Kn(l),f=s?[u].concat(u.visualViewport||[],Lm(l)?l:[]):l,p=a.concat(f);return s?p:p.concat(Os(Ef(f)))}function Yh(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function z3(e,a){var i=go(e,!1,a==="fixed");return i.top=i.top+e.clientTop,i.left=i.left+e.clientLeft,i.bottom=i.top+e.clientHeight,i.right=i.left+e.clientWidth,i.width=e.clientWidth,i.height=e.clientHeight,i.x=i.left,i.y=i.top,i}function i1(e,a,i){return a===zx?Yh(M3(e,i)):el(a)?z3(a,i):Yh(_3(pi(e)))}function B3(e){var a=Os(Ef(e)),i=["absolute","fixed"].indexOf(Sr(e).position)>=0,l=i&&ya(e)?nu(e):e;return el(l)?a.filter(function(s){return el(s)&&jx(s,l)&&Xa(s)!=="body"}):[]}function D3(e,a,i,l){var s=a==="clippingParents"?B3(e):[].concat(a),u=[].concat(s,[i]),f=u[0],p=u.reduce(function(h,m){var y=i1(e,m,l);return h.top=Zi(y.top,h.top),h.right=Zc(y.right,h.right),h.bottom=Zc(y.bottom,h.bottom),h.left=Zi(y.left,h.left),h},i1(e,f,l));return p.width=p.right-p.left,p.height=p.bottom-p.top,p.x=p.left,p.y=p.top,p}function kx(e){var a=e.reference,i=e.element,l=e.placement,s=l?Ya(l):null,u=l?vo(l):null,f=a.x+a.width/2-i.width/2,p=a.y+a.height/2-i.height/2,h;switch(s){case jn:h={x:f,y:a.y-i.height};break;case ga:h={x:f,y:a.y+a.height};break;case va:h={x:a.x+a.width,y:p};break;case Nn:h={x:a.x-i.width,y:p};break;default:h={x:a.x,y:a.y}}var m=s?jm(s):null;if(m!=null){var y=m==="y"?"height":"width";switch(u){case mo:h[m]=h[m]-(a[y]/2-i[y]/2);break;case Us:h[m]=h[m]+(a[y]/2-i[y]/2);break}}return h}function Ls(e,a){a===void 0&&(a={});var i=a,l=i.placement,s=l===void 0?e.placement:l,u=i.strategy,f=u===void 0?e.strategy:u,p=i.boundary,h=p===void 0?J5:p,m=i.rootBoundary,y=m===void 0?zx:m,v=i.elementContext,T=v===void 0?vs:v,x=i.altBoundary,S=x===void 0?!1:x,b=i.padding,C=b===void 0?0:b,M=Ux(typeof C!="number"?C:Lx(C,eu)),L=T===vs?t3:vs,j=e.rects.popper,O=e.elements[S?L:T],B=D3(el(O)?O:O.contextElement||pi(e.elements.popper),h,y,f),H=go(e.elements.reference),$=kx({reference:H,element:j,placement:s}),Q=Yh(Object.assign({},j,$)),Z=T===vs?Q:H,W={top:B.top-Z.top+M.top,bottom:Z.bottom-B.bottom+M.bottom,left:B.left-Z.left+M.left,right:Z.right-B.right+M.right},et=e.modifiersData.offset;if(T===vs&&et){var R=et[s];Object.keys(W).forEach(function(X){var I=[va,ga].indexOf(X)>=0?1:-1,at=[jn,ga].indexOf(X)>=0?"y":"x";W[X]+=R[at]*I})}return W}function j3(e,a){a===void 0&&(a={});var i=a,l=i.placement,s=i.boundary,u=i.rootBoundary,f=i.padding,p=i.flipVariations,h=i.allowedAutoPlacements,m=h===void 0?Bx:h,y=vo(l),v=y?p?e1:e1.filter(function(S){return vo(S)===y}):eu,T=v.filter(function(S){return m.indexOf(S)>=0});T.length===0&&(T=v);var x=T.reduce(function(S,b){return S[b]=Ls(e,{placement:b,boundary:s,rootBoundary:u,padding:f})[Ya(b)],S},{});return Object.keys(x).sort(function(S,b){return x[S]-x[b]})}function N3(e){if(Ya(e)===zm)return[];var a=Uc(e);return[r1(e),a,r1(a)]}function U3(e){var a=e.state,i=e.options,l=e.name;if(!a.modifiersData[l]._skip){for(var s=i.mainAxis,u=s===void 0?!0:s,f=i.altAxis,p=f===void 0?!0:f,h=i.fallbackPlacements,m=i.padding,y=i.boundary,v=i.rootBoundary,T=i.altBoundary,x=i.flipVariations,S=x===void 0?!0:x,b=i.allowedAutoPlacements,C=a.options.placement,M=Ya(C),L=M===C,j=h||(L||!S?[Uc(C)]:N3(C)),O=[C].concat(j).reduce(function(ot,ct){return ot.concat(Ya(ct)===zm?j3(a,{placement:ct,boundary:y,rootBoundary:v,padding:m,flipVariations:S,allowedAutoPlacements:b}):ct)},[]),B=a.rects.reference,H=a.rects.popper,$=new Map,Q=!0,Z=O[0],W=0;W<O.length;W++){var et=O[W],R=Ya(et),X=vo(et)===mo,I=[jn,ga].indexOf(R)>=0,at=I?"width":"height",D=Ls(a,{placement:et,boundary:y,rootBoundary:v,altBoundary:T,padding:m}),Y=I?X?va:Nn:X?ga:jn;B[at]>H[at]&&(Y=Uc(Y));var it=Uc(Y),st=[];if(u&&st.push(D[R]<=0),p&&st.push(D[Y]<=0,D[it]<=0),st.every(function(ot){return ot})){Z=et,Q=!1;break}$.set(et,st)}if(Q)for(var dt=S?3:1,_=function(ct){var ht=O.find(function(bt){var _t=$.get(bt);if(_t)return _t.slice(0,ct).every(function(Bt){return Bt})});if(ht)return Z=ht,"break"},V=dt;V>0;V--){var lt=_(V);if(lt==="break")break}a.placement!==Z&&(a.modifiersData[l]._skip=!0,a.placement=Z,a.reset=!0)}}const L3={name:"flip",enabled:!0,phase:"main",fn:U3,requiresIfExists:["offset"],data:{_skip:!1}};function l1(e,a,i){return i===void 0&&(i={x:0,y:0}),{top:e.top-a.height-i.y,right:e.right-a.width+i.x,bottom:e.bottom-a.height+i.y,left:e.left-a.width-i.x}}function o1(e){return[jn,va,ga,Nn].some(function(a){return e[a]>=0})}function H3(e){var a=e.state,i=e.name,l=a.rects.reference,s=a.rects.popper,u=a.modifiersData.preventOverflow,f=Ls(a,{elementContext:"reference"}),p=Ls(a,{altBoundary:!0}),h=l1(f,l),m=l1(p,s,u),y=o1(h),v=o1(m);a.modifiersData[i]={referenceClippingOffsets:h,popperEscapeOffsets:m,isReferenceHidden:y,hasPopperEscaped:v},a.attributes.popper=Object.assign({},a.attributes.popper,{"data-popper-reference-hidden":y,"data-popper-escaped":v})}const k3={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:H3};function $3(e,a,i){var l=Ya(e),s=[Nn,jn].indexOf(l)>=0?-1:1,u=typeof i=="function"?i(Object.assign({},a,{placement:e})):i,f=u[0],p=u[1];return f=f||0,p=(p||0)*s,[Nn,va].indexOf(l)>=0?{x:p,y:f}:{x:f,y:p}}function q3(e){var a=e.state,i=e.options,l=e.name,s=i.offset,u=s===void 0?[0,0]:s,f=Bx.reduce(function(y,v){return y[v]=$3(v,a.rects,u),y},{}),p=f[a.placement],h=p.x,m=p.y;a.modifiersData.popperOffsets!=null&&(a.modifiersData.popperOffsets.x+=h,a.modifiersData.popperOffsets.y+=m),a.modifiersData[l]=f}const P3={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:q3};function V3(e){var a=e.state,i=e.name;a.modifiersData[i]=kx({reference:a.rects.reference,element:a.rects.popper,placement:a.placement})}const G3={name:"popperOffsets",enabled:!0,phase:"read",fn:V3,data:{}};function Y3(e){return e==="x"?"y":"x"}function Q3(e){var a=e.state,i=e.options,l=e.name,s=i.mainAxis,u=s===void 0?!0:s,f=i.altAxis,p=f===void 0?!1:f,h=i.boundary,m=i.rootBoundary,y=i.altBoundary,v=i.padding,T=i.tether,x=T===void 0?!0:T,S=i.tetherOffset,b=S===void 0?0:S,C=Ls(a,{boundary:h,rootBoundary:m,padding:v,altBoundary:y}),M=Ya(a.placement),L=vo(a.placement),j=!L,O=jm(M),B=Y3(O),H=a.modifiersData.popperOffsets,$=a.rects.reference,Q=a.rects.popper,Z=typeof b=="function"?b(Object.assign({},a.rects,{placement:a.placement})):b,W=typeof Z=="number"?{mainAxis:Z,altAxis:Z}:Object.assign({mainAxis:0,altAxis:0},Z),et=a.modifiersData.offset?a.modifiersData.offset[a.placement]:null,R={x:0,y:0};if(H){if(u){var X,I=O==="y"?jn:Nn,at=O==="y"?ga:va,D=O==="y"?"height":"width",Y=H[O],it=Y+C[I],st=Y-C[at],dt=x?-Q[D]/2:0,_=L===mo?$[D]:Q[D],V=L===mo?-Q[D]:-$[D],lt=a.elements.arrow,ot=x&&lt?Dm(lt):{width:0,height:0},ct=a.modifiersData["arrow#persistent"]?a.modifiersData["arrow#persistent"].padding:Nx(),ht=ct[I],bt=ct[at],_t=Rs(0,$[D],ot[D]),Bt=j?$[D]/2-dt-_t-ht-W.mainAxis:_-_t-ht-W.mainAxis,Fe=j?-$[D]/2+dt+_t+bt+W.mainAxis:V+_t+bt+W.mainAxis,Ge=a.elements.arrow&&nu(a.elements.arrow),he=Ge?O==="y"?Ge.clientTop||0:Ge.clientLeft||0:0,Kt=(X=et==null?void 0:et[O])!=null?X:0,Dt=Y+Bt-Kt-he,ue=Y+Fe-Kt,Ye=Rs(x?Zc(it,Dt):it,Y,x?Zi(st,ue):st);H[O]=Ye,R[O]=Ye-Y}if(p){var ce,fe=O==="x"?jn:Nn,Wt=O==="x"?ga:va,me=H[B],ye=B==="y"?"height":"width",yt=me+C[fe],Fn=me-C[Wt],ge=[jn,Nn].indexOf(M)!==-1,Sa=(ce=et==null?void 0:et[B])!=null?ce:0,In=ge?yt:me-$[ye]-Q[ye]-Sa+W.altAxis,En=ge?me+$[ye]+Q[ye]-Sa-W.altAxis:Fn,an=x&&ge?y3(In,me,En):Rs(x?In:yt,me,x?En:Fn);H[B]=an,R[B]=an-me}a.modifiersData[l]=R}}const X3={name:"preventOverflow",enabled:!0,phase:"main",fn:Q3,requiresIfExists:["offset"]};function K3(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function F3(e){return e===Kn(e)||!ya(e)?Nm(e):K3(e)}function I3(e){var a=e.getBoundingClientRect(),i=yo(a.width)/e.offsetWidth||1,l=yo(a.height)/e.offsetHeight||1;return i!==1||l!==1}function Z3(e,a,i){i===void 0&&(i=!1);var l=ya(a),s=ya(a)&&I3(a),u=pi(a),f=go(e,s,i),p={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(l||!l&&!i)&&((Xa(a)!=="body"||Lm(u))&&(p=F3(a)),ya(a)?(h=go(a,!0),h.x+=a.clientLeft,h.y+=a.clientTop):u&&(h.x=Um(u))),{x:f.left+p.scrollLeft-h.x,y:f.top+p.scrollTop-h.y,width:f.width,height:f.height}}function W3(e){var a=new Map,i=new Set,l=[];e.forEach(function(u){a.set(u.name,u)});function s(u){i.add(u.name);var f=[].concat(u.requires||[],u.requiresIfExists||[]);f.forEach(function(p){if(!i.has(p)){var h=a.get(p);h&&s(h)}}),l.push(u)}return e.forEach(function(u){i.has(u.name)||s(u)}),l}function J3(e){var a=W3(e);return c3.reduce(function(i,l){return i.concat(a.filter(function(s){return s.phase===l}))},[])}function t4(e){var a;return function(){return a||(a=new Promise(function(i){Promise.resolve().then(function(){a=void 0,i(e())})})),a}}function e4(e){var a=e.reduce(function(i,l){var s=i[l.name];return i[l.name]=s?Object.assign({},s,l,{options:Object.assign({},s.options,l.options),data:Object.assign({},s.data,l.data)}):l,i},{});return Object.keys(a).map(function(i){return a[i]})}var s1={placement:"bottom",modifiers:[],strategy:"absolute"};function u1(){for(var e=arguments.length,a=new Array(e),i=0;i<e;i++)a[i]=arguments[i];return!a.some(function(l){return!(l&&typeof l.getBoundingClientRect=="function")})}function n4(e){e===void 0&&(e={});var a=e,i=a.defaultModifiers,l=i===void 0?[]:i,s=a.defaultOptions,u=s===void 0?s1:s;return function(p,h,m){m===void 0&&(m=u);var y={placement:"bottom",orderedModifiers:[],options:Object.assign({},s1,u),modifiersData:{},elements:{reference:p,popper:h},attributes:{},styles:{}},v=[],T=!1,x={state:y,setOptions:function(M){var L=typeof M=="function"?M(y.options):M;b(),y.options=Object.assign({},u,y.options,L),y.scrollParents={reference:el(p)?Os(p):p.contextElement?Os(p.contextElement):[],popper:Os(h)};var j=J3(e4([].concat(l,y.options.modifiers)));return y.orderedModifiers=j.filter(function(O){return O.enabled}),S(),x.update()},forceUpdate:function(){if(!T){var M=y.elements,L=M.reference,j=M.popper;if(u1(L,j)){y.rects={reference:Z3(L,nu(j),y.options.strategy==="fixed"),popper:Dm(j)},y.reset=!1,y.placement=y.options.placement,y.orderedModifiers.forEach(function(W){return y.modifiersData[W.name]=Object.assign({},W.data)});for(var O=0;O<y.orderedModifiers.length;O++){if(y.reset===!0){y.reset=!1,O=-1;continue}var B=y.orderedModifiers[O],H=B.fn,$=B.options,Q=$===void 0?{}:$,Z=B.name;typeof H=="function"&&(y=H({state:y,options:Q,name:Z,instance:x})||y)}}}},update:t4(function(){return new Promise(function(C){x.forceUpdate(),C(y)})}),destroy:function(){b(),T=!0}};if(!u1(p,h))return x;x.setOptions(m).then(function(C){!T&&m.onFirstUpdate&&m.onFirstUpdate(C)});function S(){y.orderedModifiers.forEach(function(C){var M=C.name,L=C.options,j=L===void 0?{}:L,O=C.effect;if(typeof O=="function"){var B=O({state:y,name:M,instance:x,options:j}),H=function(){};v.push(B||H)}})}function b(){v.forEach(function(C){return C()}),v=[]}return x}}var a4=[R3,G3,T3,p3,P3,L3,X3,S3,k3],r4=n4({defaultModifiers:a4});function Hs(e){var v;const{elementType:a,externalSlotProps:i,ownerState:l,skipResolvingSlotProps:s=!1,...u}=e,f=s?{}:wx(i,l),{props:p,internalRef:h}=Rx({...u,externalSlotProps:f}),m=Qa(h,f==null?void 0:f.ref,(v=e.additionalProps)==null?void 0:v.ref);return Tx(a,{...p,ref:m},l)}function Cf(e){var a;return parseInt(w.version,10)>=19?((a=e==null?void 0:e.props)==null?void 0:a.ref)||null:(e==null?void 0:e.ref)||null}function i4(e){return typeof e=="function"?e():e}const l4=w.forwardRef(function(a,i){const{children:l,container:s,disablePortal:u=!1}=a,[f,p]=w.useState(null),h=Qa(w.isValidElement(l)?Cf(l):null,i);if(ci(()=>{u||p(i4(s)||document.body)},[s,u]),ci(()=>{if(f&&!u)return Qb(i,f),()=>{Qb(i,null)}},[i,f,u]),u){if(w.isValidElement(l)){const m={ref:h};return w.cloneElement(l,m)}return l}return f&&lS.createPortal(l,f)});function o4(e){return hn("MuiPopper",e)}en("MuiPopper",["root"]);function s4(e,a){if(a==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function Qh(e){return typeof e=="function"?e():e}function u4(e){return e.nodeType!==void 0}const c4=e=>{const{classes:a}=e;return bn({root:["root"]},o4,a)},f4={},d4=w.forwardRef(function(a,i){const{anchorEl:l,children:s,direction:u,disablePortal:f,modifiers:p,open:h,placement:m,popperOptions:y,popperRef:v,slotProps:T={},slots:x={},TransitionProps:S,ownerState:b,...C}=a,M=w.useRef(null),L=Qa(M,i),j=w.useRef(null),O=Qa(j,v),B=w.useRef(O);ci(()=>{B.current=O},[O]),w.useImperativeHandle(v,()=>j.current,[]);const H=s4(m,u),[$,Q]=w.useState(H),[Z,W]=w.useState(Qh(l));w.useEffect(()=>{j.current&&j.current.forceUpdate()}),w.useEffect(()=>{l&&W(Qh(l))},[l]),ci(()=>{if(!Z||!h)return;const at=it=>{Q(it.placement)};let D=[{name:"preventOverflow",options:{altBoundary:f}},{name:"flip",options:{altBoundary:f}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:it})=>{at(it)}}];p!=null&&(D=D.concat(p)),y&&y.modifiers!=null&&(D=D.concat(y.modifiers));const Y=r4(Z,M.current,{placement:H,...y,modifiers:D});return B.current(Y),()=>{Y.destroy(),B.current(null)}},[Z,f,p,h,y,H]);const et={placement:$};S!==null&&(et.TransitionProps=S);const R=c4(a),X=x.root??"div",I=Hs({elementType:X,externalSlotProps:T.root,externalForwardedProps:C,additionalProps:{role:"tooltip",ref:L},ownerState:a,className:R.root});return A.jsx(X,{...I,children:typeof s=="function"?s(et):s})}),p4=w.forwardRef(function(a,i){const{anchorEl:l,children:s,container:u,direction:f="ltr",disablePortal:p=!1,keepMounted:h=!1,modifiers:m,open:y,placement:v="bottom",popperOptions:T=f4,popperRef:x,style:S,transition:b=!1,slotProps:C={},slots:M={},...L}=a,[j,O]=w.useState(!0),B=()=>{O(!1)},H=()=>{O(!0)};if(!h&&!y&&(!b||j))return null;let $;if(u)$=u;else if(l){const W=Qh(l);$=W&&u4(W)?Ii(W).body:Ii(null).body}const Q=!y&&h&&(!b||j)?"none":void 0,Z=b?{in:y,onEnter:B,onExited:H}:void 0;return A.jsx(l4,{disablePortal:p,container:$,children:A.jsx(d4,{anchorEl:l,direction:f,disablePortal:p,modifiers:m,ref:i,open:b?!j:y,placement:v,popperOptions:T,popperRef:x,slotProps:C,slots:M,...L,style:{position:"fixed",top:0,left:0,display:Q,...S},TransitionProps:Z,children:s})})}),h4=Lt(p4,{name:"MuiPopper",slot:"Root"})({}),$x=w.forwardRef(function(a,i){const l=gf(),s=nn({props:a,name:"MuiPopper"}),{anchorEl:u,component:f,components:p,componentsProps:h,container:m,disablePortal:y,keepMounted:v,modifiers:T,open:x,placement:S,popperOptions:b,popperRef:C,transition:M,slots:L,slotProps:j,...O}=s,B=(L==null?void 0:L.root)??(p==null?void 0:p.Root),H={anchorEl:u,container:m,disablePortal:y,keepMounted:v,modifiers:T,open:x,placement:S,popperOptions:b,popperRef:C,transition:M,...O};return A.jsx(h4,{as:f,direction:l?"rtl":"ltr",slots:{root:B},slotProps:j??h,...H,ref:i})}),m4=en("MuiBox",["root"]),y4=bf(),tn=SO({themeId:Va,defaultTheme:y4,defaultClassName:m4.root,generateClassName:tx.generate});function g4(e){return hn("MuiButton",e)}const Bi=en("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),v4=w.createContext({}),b4=w.createContext(void 0),S4=e=>{const{color:a,disableElevation:i,fullWidth:l,size:s,variant:u,loading:f,loadingPosition:p,classes:h}=e,m={root:["root",f&&"loading",u,`${u}${Ot(a)}`,`size${Ot(s)}`,`${u}Size${Ot(s)}`,`color${Ot(a)}`,i&&"disableElevation",l&&"fullWidth",f&&`loadingPosition${Ot(p)}`],startIcon:["icon","startIcon",`iconSize${Ot(s)}`],endIcon:["icon","endIcon",`iconSize${Ot(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},y=bn(m,g4,h);return{...h,...y}},qx=[{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}}}],x4=Lt(xf,{shouldForwardProp:e=>gx(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[i.variant],a[`${i.variant}${Ot(i.color)}`],a[`size${Ot(i.size)}`],a[`${i.variant}Size${Ot(i.size)}`],i.color==="inherit"&&a.colorInherit,i.disableElevation&&a.disableElevation,i.fullWidth&&a.fullWidth,i.loading&&a.loading]}})(Ke(({theme:e})=>{const a=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=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"},[`&.${Bi.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]},[`&.${Bi.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Bi.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)",[`&.${Bi.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(si()).map(([l])=>({props:{color:l},style:{"--variant-textColor":(e.vars||e).palette[l].main,"--variant-outlinedColor":(e.vars||e).palette[l].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[l].main,.5),"--variant-containedColor":(e.vars||e).palette[l].contrastText,"--variant-containedBg":(e.vars||e).palette[l].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[l].dark,"--variant-textBg":e.alpha((e.vars||e).palette[l].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[l].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[l].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:a,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,"--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"},[`&.${Bi.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Bi.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}),[`&.${Bi.loading}`]:{color:"transparent"}}}]}})),E4=Lt("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.startIcon,i.loading&&a.startIconLoadingStart,a[`iconSize${Ot(i.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...qx]})),C4=Lt("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.endIcon,i.loading&&a.endIconLoadingEnd,a[`iconSize${Ot(i.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...qx]})),T4=Lt("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}}]})),c1=Lt("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),f1=w.forwardRef(function(a,i){const l=w.useContext(v4),s=w.useContext(b4),u=Qc(l,a),f=nn({props:u,name:"MuiButton"}),{children:p,color:h="primary",component:m="button",className:y,disabled:v=!1,disableElevation:T=!1,disableFocusRipple:x=!1,endIcon:S,focusVisibleClassName:b,fullWidth:C=!1,id:M,loading:L=null,loadingIndicator:j,loadingPosition:O="center",size:B="medium",startIcon:H,type:$,variant:Q="text",...Z}=f,W=vf(M),et=j??A.jsx(Ax,{"aria-labelledby":W,color:"inherit",size:16}),R={...f,color:h,component:m,disabled:v,disableElevation:T,disableFocusRipple:x,fullWidth:C,loading:L,loadingIndicator:et,loadingPosition:O,size:B,type:$,variant:Q},X=S4(R),I=(H||L&&O==="start")&&A.jsx(E4,{className:X.startIcon,ownerState:R,children:H||A.jsx(c1,{className:X.loadingIconPlaceholder,ownerState:R})}),at=(S||L&&O==="end")&&A.jsx(C4,{className:X.endIcon,ownerState:R,children:S||A.jsx(c1,{className:X.loadingIconPlaceholder,ownerState:R})}),D=s||"",Y=typeof L=="boolean"?A.jsx("span",{className:X.loadingWrapper,style:{display:"contents"},children:L&&A.jsx(T4,{className:X.loadingIndicator,ownerState:R,children:et})}):null;return A.jsxs(x4,{ownerState:R,className:Gt(l.className,X.root,y,D),component:m,disabled:v||L,focusRipple:!x,focusVisibleClassName:Gt(X.focusVisible,b),ref:i,type:$,id:L?W:M,...Z,classes:X,children:[I,O!=="end"&&Y,p,O==="end"&&Y,at]})});function d1(e){return e.substring(2).toLowerCase()}function w4(e,a){return a.documentElement.clientWidth<e.clientX||a.documentElement.clientHeight<e.clientY}function R4(e){const{children:a,disableReactTree:i=!1,mouseEvent:l="onClick",onClickAway:s,touchEvent:u="onTouchEnd"}=e,f=w.useRef(!1),p=w.useRef(null),h=w.useRef(!1),m=w.useRef(!1);w.useEffect(()=>(setTimeout(()=>{h.current=!0},0),()=>{h.current=!1}),[]);const y=Qa(Cf(a),p),v=ma(S=>{const b=m.current;m.current=!1;const C=Ii(p.current);if(!h.current||!p.current||"clientX"in S&&w4(S,C))return;if(f.current){f.current=!1;return}let M;S.composedPath?M=S.composedPath().includes(p.current):M=!C.documentElement.contains(S.target)||p.current.contains(S.target),!M&&(i||!b)&&s(S)}),T=S=>b=>{m.current=!0;const C=a.props[S];C&&C(b)},x={ref:y};return u!==!1&&(x[u]=T(u)),w.useEffect(()=>{if(u!==!1){const S=d1(u),b=Ii(p.current),C=()=>{f.current=!0};return b.addEventListener(S,v),b.addEventListener("touchmove",C),()=>{b.removeEventListener(S,v),b.removeEventListener("touchmove",C)}}},[v,u]),l!==!1&&(x[l]=T(l)),w.useEffect(()=>{if(l!==!1){const S=d1(l),b=Ii(p.current);return b.addEventListener(S,v),()=>{b.removeEventListener(S,v)}}},[v,l]),w.cloneElement(a,x)}const Xh=typeof vx({})=="function",O4=(e,a)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...a&&!e.vars&&{colorScheme:e.palette.mode}}),A4=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),Px=(e,a=!1)=>{var u,f;const i={};a&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([p,h])=>{var y,v;const m=e.getColorSchemeSelector(p);m.startsWith("@")?i[m]={":root":{colorScheme:(y=h.palette)==null?void 0:y.mode}}:i[m.replace(/\s*&/,"")]={colorScheme:(v=h.palette)==null?void 0:v.mode}});let l={html:O4(e,a),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...A4(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...i};const s=(f=(u=e.components)==null?void 0:u.MuiCssBaseline)==null?void 0:f.styleOverrides;return s&&(l=[l,s]),l},Lc="mui-ecs",M4=e=>{const a=Px(e,!1),i=Array.isArray(a)?a[0]:a;return!e.vars&&i&&(i.html[`:root:has(${Lc})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([l,s])=>{var f,p;const u=e.getColorSchemeSelector(l);u.startsWith("@")?i[u]={[`:root:not(:has(.${Lc}))`]:{colorScheme:(f=s.palette)==null?void 0:f.mode}}:i[u.replace(/\s*&/,"")]={[`&:not(:has(.${Lc}))`]:{colorScheme:(p=s.palette)==null?void 0:p.mode}}}),a},_4=vx(Xh?({theme:e,enableColorScheme:a})=>Px(e,a):({theme:e})=>M4(e));function z4(e){const a=nn({props:e,name:"MuiCssBaseline"}),{children:i,enableColorScheme:l=!1}=a;return A.jsxs(w.Fragment,{children:[Xh&&A.jsx(_4,{enableColorScheme:l}),!Xh&&!l&&A.jsx("span",{className:Lc,style:{display:"none"}}),i]})}function B4(e){var i;let a=e.activeElement;for(;((i=a==null?void 0:a.shadowRoot)==null?void 0:i.activeElement)!=null;)a=a.shadowRoot.activeElement;return a}function Kh(e){return`scale(${e}, ${e**2})`}const D4={entering:{opacity:1,transform:Kh(1)},entered:{opacity:1,transform:"none"}},eh=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Wc=w.forwardRef(function(a,i){const{addEndListener:l,appear:s=!0,children:u,easing:f,in:p,onEnter:h,onEntered:m,onEntering:y,onExit:v,onExited:T,onExiting:x,style:S,timeout:b="auto",TransitionComponent:C=xr,...M}=a,L=Hi(),j=w.useRef(),O=tu(),B=w.useRef(null),H=Qa(B,Cf(u),i),$=at=>D=>{if(at){const Y=B.current;D===void 0?at(Y):at(Y,D)}},Q=$(y),Z=$((at,D)=>{r5(at);const{duration:Y,delay:it,easing:st}=Fb({style:S,timeout:b,easing:f},{mode:"enter"});let dt;b==="auto"?(dt=O.transitions.getAutoHeightDuration(at.clientHeight),j.current=dt):dt=Y,at.style.transition=[O.transitions.create("opacity",{duration:dt,delay:it}),O.transitions.create("transform",{duration:eh?dt:dt*.666,delay:it,easing:st})].join(","),h&&h(at,D)}),W=$(m),et=$(x),R=$(at=>{const{duration:D,delay:Y,easing:it}=Fb({style:S,timeout:b,easing:f},{mode:"exit"});let st;b==="auto"?(st=O.transitions.getAutoHeightDuration(at.clientHeight),j.current=st):st=D,at.style.transition=[O.transitions.create("opacity",{duration:st,delay:Y}),O.transitions.create("transform",{duration:eh?st:st*.666,delay:eh?Y:Y||st*.333,easing:it})].join(","),at.style.opacity=0,at.style.transform=Kh(.75),v&&v(at)}),X=$(T),I=at=>{b==="auto"&&L.start(j.current||0,at),l&&l(B.current,at)};return A.jsx(C,{appear:s,in:p,nodeRef:B,onEnter:Z,onEntered:W,onEntering:Q,onExit:R,onExited:X,onExiting:et,addEndListener:I,timeout:b==="auto"?null:b,...M,children:(at,{ownerState:D,...Y})=>w.cloneElement(u,{style:{opacity:0,transform:Kh(.75),visibility:at==="exited"&&!p?"hidden":void 0,...D4[at],...S,...u.props.style},ref:H,...Y})})});Wc&&(Wc.muiSupportAuto=!0);function j4(e){return hn("MuiSkeleton",e)}en("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const N4=e=>{const{classes:a,variant:i,animation:l,hasChildren:s,width:u,height:f}=e;return bn({root:["root",i,l,s&&"withChildren",s&&!u&&"fitContent",s&&!f&&"heightAuto"]},j4,a)},Fh=rl`
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
`,Ih=rl`
  0% {
    transform: translateX(-100%);
  }

  50% {
    /* +0.5s of delay between each loop */
    transform: translateX(100%);
  }

  100% {
    transform: translateX(100%);
  }
`,U4=typeof Fh!="string"?Is`
        animation: ${Fh} 2s ease-in-out 0.5s infinite;
      `:null,L4=typeof Ih!="string"?Is`
        &::after {
          animation: ${Ih} 2s linear 0.5s infinite;
        }
      `:null,H4=Lt("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[i.variant],i.animation!==!1&&a[i.animation],i.hasChildren&&a.withChildren,i.hasChildren&&!i.width&&a.fitContent,i.hasChildren&&!i.height&&a.heightAuto]}})(Ke(({theme:e})=>{const a=UA(e.shape.borderRadius)||"px",i=LA(e.shape.borderRadius);return{display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:e.alpha(e.palette.text.primary,e.palette.mode==="light"?.11:.13),height:"1.2em",variants:[{props:{variant:"text"},style:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${i}${a}/${Math.round(i/.6*10)/10}${a}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:({ownerState:l})=>l.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:l})=>l.hasChildren&&!l.width,style:{maxWidth:"fit-content"}},{props:({ownerState:l})=>l.hasChildren&&!l.height,style:{height:"auto"}},{props:{animation:"pulse"},style:U4||{animation:`${Fh} 2s ease-in-out 0.5s infinite`}},{props:{animation:"wave"},style:{position:"relative",overflow:"hidden",WebkitMaskImage:"-webkit-radial-gradient(white, black)","&::after":{background:`linear-gradient(
                90deg,
                transparent,
                ${(e.vars||e).palette.action.hover},
                transparent
              )`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:L4||{"&::after":{animation:`${Ih} 2s linear 0.5s infinite`}}}]}})),fn=w.forwardRef(function(a,i){const l=nn({props:a,name:"MuiSkeleton"}),{animation:s="pulse",className:u,component:f="span",height:p,style:h,variant:m="text",width:y,...v}=l,T={...l,animation:s,component:f,variant:m,hasChildren:!!v.children},x=N4(T);return A.jsx(H4,{as:f,ref:i,className:Gt(x.root,u),ownerState:T,...v,style:{width:y,height:p,...h}})});function k4(e={}){const{autoHideDuration:a=null,disableWindowBlurListener:i=!1,onClose:l,open:s,resumeHideDuration:u}=e,f=Hi();w.useEffect(()=>{if(!s)return;function M(L){L.defaultPrevented||L.key==="Escape"&&(l==null||l(L,"escapeKeyDown"))}return document.addEventListener("keydown",M),()=>{document.removeEventListener("keydown",M)}},[s,l]);const p=ma((M,L)=>{l==null||l(M,L)}),h=ma(M=>{!l||M==null||f.start(M,()=>{p(null,"timeout")})});w.useEffect(()=>(s&&h(a),f.clear),[s,a,h,f]);const m=M=>{l==null||l(M,"clickaway")},y=f.clear,v=w.useCallback(()=>{a!=null&&h(u??a*.5)},[a,u,h]),T=M=>L=>{const j=M.onBlur;j==null||j(L),v()},x=M=>L=>{const j=M.onFocus;j==null||j(L),y()},S=M=>L=>{const j=M.onMouseEnter;j==null||j(L),y()},b=M=>L=>{const j=M.onMouseLeave;j==null||j(L),v()};return w.useEffect(()=>{if(!i&&s)return window.addEventListener("focus",v),window.addEventListener("blur",y),()=>{window.removeEventListener("focus",v),window.removeEventListener("blur",y)}},[i,s,v,y]),{getRootProps:(M={})=>{const L={...$h(e),...$h(M)};return{role:"presentation",...M,...L,onBlur:T(L),onFocus:x(L),onMouseEnter:S(L),onMouseLeave:b(L)}},onClickAway:m}}function $4(e){return hn("MuiSnackbarContent",e)}en("MuiSnackbarContent",["root","message","action"]);const q4=e=>{const{classes:a}=e;return bn({root:["root"],action:["action"],message:["message"]},$4,a)},P4=Lt(Ox,{name:"MuiSnackbarContent",slot:"Root"})(Ke(({theme:e})=>{const a=e.palette.mode==="light"?.8:.98;return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(Dh(e.palette.background.default,a)),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:Dh(e.palette.background.default,a),display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),V4=Lt("div",{name:"MuiSnackbarContent",slot:"Message"})({padding:"8px 0"}),G4=Lt("div",{name:"MuiSnackbarContent",slot:"Action"})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),Y4=w.forwardRef(function(a,i){const l=nn({props:a,name:"MuiSnackbarContent"}),{action:s,className:u,message:f,role:p="alert",...h}=l,m=l,y=q4(m);return A.jsxs(P4,{role:p,elevation:6,className:Gt(y.root,u),ownerState:m,ref:i,...h,children:[A.jsx(V4,{className:y.message,ownerState:m,children:f}),s?A.jsx(G4,{className:y.action,ownerState:m,children:s}):null]})});function Q4(e){return hn("MuiSnackbar",e)}en("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const X4=e=>{const{classes:a,anchorOrigin:i}=e,l={root:["root",`anchorOrigin${Ot(i.vertical)}${Ot(i.horizontal)}`]};return bn(l,Q4,a)},K4=Lt("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[`anchorOrigin${Ot(i.anchorOrigin.vertical)}${Ot(i.anchorOrigin.horizontal)}`]]}})(Ke(({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:a})=>a.anchorOrigin.vertical==="top",style:{top:8,[e.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:a})=>a.anchorOrigin.vertical!=="top",style:{bottom:8,[e.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:a})=>a.anchorOrigin.horizontal==="left",style:{justifyContent:"flex-start",[e.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:a})=>a.anchorOrigin.horizontal==="right",style:{justifyContent:"flex-end",[e.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:a})=>a.anchorOrigin.horizontal==="center",style:{[e.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),F4=w.forwardRef(function(a,i){const l=nn({props:a,name:"MuiSnackbar"}),s=tu(),u={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{action:f,anchorOrigin:{vertical:p,horizontal:h}={vertical:"bottom",horizontal:"left"},autoHideDuration:m=null,children:y,className:v,ClickAwayListenerProps:T,ContentProps:x,disableWindowBlurListener:S=!1,message:b,onBlur:C,onClose:M,onFocus:L,onMouseEnter:j,onMouseLeave:O,open:B,resumeHideDuration:H,slots:$={},slotProps:Q={},TransitionComponent:Z,transitionDuration:W=u,TransitionProps:{onEnter:et,onExited:R,...X}={},...I}=l,at={...l,anchorOrigin:{vertical:p,horizontal:h},autoHideDuration:m,disableWindowBlurListener:S,TransitionComponent:Z,transitionDuration:W},D=X4(at),{getRootProps:Y,onClickAway:it}=k4(at),[st,dt]=w.useState(!0),_=Kt=>{dt(!0),R&&R(Kt)},V=(Kt,Dt)=>{dt(!1),et&&et(Kt,Dt)},lt={slots:{transition:Z,...$},slotProps:{content:x,clickAwayListener:T,transition:X,...Q}},[ot,ct]=qe("root",{ref:i,className:[D.root,v],elementType:K4,getSlotProps:Y,externalForwardedProps:{...lt,...I},ownerState:at}),[ht,{ownerState:bt,..._t}]=qe("clickAwayListener",{elementType:R4,externalForwardedProps:lt,getSlotProps:Kt=>({onClickAway:(...Dt)=>{var Ye;const ue=Dt[0];(Ye=Kt.onClickAway)==null||Ye.call(Kt,...Dt),!(ue!=null&&ue.defaultMuiPrevented)&&it(...Dt)}}),ownerState:at}),[Bt,Fe]=qe("content",{elementType:Y4,shouldForwardComponentProp:!0,externalForwardedProps:lt,additionalProps:{message:b,action:f},ownerState:at}),[Ge,he]=qe("transition",{elementType:Wc,externalForwardedProps:lt,getSlotProps:Kt=>({onEnter:(...Dt)=>{var ue;(ue=Kt.onEnter)==null||ue.call(Kt,...Dt),V(...Dt)},onExited:(...Dt)=>{var ue;(ue=Kt.onExited)==null||ue.call(Kt,...Dt),_(...Dt)}}),additionalProps:{appear:!0,in:B,timeout:W,direction:p==="top"?"down":"up"},ownerState:at});return!B&&st?null:A.jsx(ht,{..._t,...$.clickAwayListener&&{ownerState:bt},children:A.jsx(ot,{...ct,children:A.jsx(Ge,{...he,children:y||A.jsx(Bt,{...Fe})})})})});function I4(e){return hn("MuiTooltip",e)}const _e=en("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function Z4(e){return Math.round(e*1e5)/1e5}const W4=e=>{const{classes:a,disableInteractive:i,arrow:l,touch:s,placement:u}=e,f={popper:["popper",!i&&"popperInteractive",l&&"popperArrow"],tooltip:["tooltip",l&&"tooltipArrow",s&&"touch",`tooltipPlacement${Ot(u.split("-")[0])}`],arrow:["arrow"]};return bn(f,I4,a)},J4=Lt($x,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.popper,!i.disableInteractive&&a.popperInteractive,i.arrow&&a.popperArrow,!i.open&&a.popperClose]}})(Ke(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:a})=>!a.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:a})=>!a,style:{pointerEvents:"none"}},{props:({ownerState:a})=>a.arrow,style:{[`&[data-popper-placement*="bottom"] .${_e.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${_e.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${_e.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${_e.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:a})=>a.arrow&&!a.isRtl,style:{[`&[data-popper-placement*="right"] .${_e.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:a})=>a.arrow&&!!a.isRtl,style:{[`&[data-popper-placement*="right"] .${_e.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:a})=>a.arrow&&!a.isRtl,style:{[`&[data-popper-placement*="left"] .${_e.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:a})=>a.arrow&&!!a.isRtl,style:{[`&[data-popper-placement*="left"] .${_e.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),tM=Lt("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.tooltip,i.touch&&a.touch,i.arrow&&a.tooltipArrow,a[`tooltipPlacement${Ot(i.placement.split("-")[0])}`]]}})(Ke(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${_e.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${_e.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${_e.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${_e.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:a})=>a.arrow,style:{position:"relative",margin:0}},{props:({ownerState:a})=>a.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${Z4(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:a})=>!a.isRtl,style:{[`.${_e.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${_e.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:a})=>!a.isRtl&&a.touch,style:{[`.${_e.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${_e.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:a})=>!!a.isRtl,style:{[`.${_e.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${_e.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:a})=>!!a.isRtl&&a.touch,style:{[`.${_e.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${_e.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:a})=>a.touch,style:{[`.${_e.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:a})=>a.touch,style:{[`.${_e.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),eM=Lt("span",{name:"MuiTooltip",slot:"Arrow"})(Ke(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Oc=!1;const p1=new Sf;let bs={x:0,y:0};function Ac(e,a){return(i,...l)=>{a&&a(i,...l),e(i,...l)}}const nM=w.forwardRef(function(a,i){const l=nn({props:a,name:"MuiTooltip"}),{arrow:s=!1,children:u,classes:f,components:p={},componentsProps:h={},describeChild:m=!1,disableFocusListener:y=!1,disableHoverListener:v=!1,disableInteractive:T=!1,disableTouchListener:x=!1,enterDelay:S=100,enterNextDelay:b=0,enterTouchDelay:C=700,followCursor:M=!1,id:L,leaveDelay:j=0,leaveTouchDelay:O=1500,onClose:B,onOpen:H,open:$,placement:Q="bottom",PopperComponent:Z,PopperProps:W={},slotProps:et={},slots:R={},title:X,TransitionComponent:I,TransitionProps:at,...D}=l,Y=w.isValidElement(u)?u:A.jsx("span",{children:u}),it=tu(),st=gf(),[dt,_]=w.useState(),[V,lt]=w.useState(null),ot=w.useRef(!1),ct=T||M,ht=Hi(),bt=Hi(),_t=Hi(),Bt=Hi(),[Fe,Ge]=KA({controlled:$,default:!1,name:"Tooltip",state:"open"});let he=Fe;const Kt=vf(L),Dt=w.useRef(),ue=ma(()=>{Dt.current!==void 0&&(document.body.style.WebkitUserSelect=Dt.current,Dt.current=void 0),Bt.clear()});w.useEffect(()=>ue,[ue]);const Ye=Ct=>{p1.clear(),Oc=!0,Ge(!0),H&&!he&&H(Ct)},ce=ma(Ct=>{p1.start(800+j,()=>{Oc=!1}),Ge(!1),B&&he&&B(Ct),ht.start(it.transitions.duration.shortest,()=>{ot.current=!1})}),fe=Ct=>{ot.current&&Ct.type!=="touchstart"||(dt&&dt.removeAttribute("title"),bt.clear(),_t.clear(),S||Oc&&b?bt.start(Oc?b:S,()=>{Ye(Ct)}):Ye(Ct))},Wt=Ct=>{bt.clear(),_t.start(j,()=>{ce(Ct)})},[,me]=w.useState(!1),ye=Ct=>{const Te=(Ct==null?void 0:Ct.target)??dt;if(!Te||!Fc(Te)){me(!1);const ut=Ct??new Event("blur");!Ct&&Te&&(Object.defineProperty(ut,"target",{value:Te}),Object.defineProperty(ut,"currentTarget",{value:Te})),Wt(ut)}},yt=Ct=>{dt||_(Ct.currentTarget),Fc(Ct.target)&&(me(!0),fe(Ct))},Fn=Ct=>{ot.current=!0;const Te=Y.props;Te.onTouchStart&&Te.onTouchStart(Ct)},ge=Ct=>{Fn(Ct),_t.clear(),ht.clear(),ue(),Dt.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Bt.start(C,()=>{document.body.style.WebkitUserSelect=Dt.current,fe(Ct)})},Sa=Ct=>{Y.props.onTouchEnd&&Y.props.onTouchEnd(Ct),ue(),_t.start(O,()=>{ce(Ct)})};w.useEffect(()=>{if(!he)return;function Ct(Te){Te.key==="Escape"&&ce(Te)}return document.addEventListener("keydown",Ct),()=>{document.removeEventListener("keydown",Ct)}},[ce,he]);const In=Qa(Cf(Y),_,i);!X&&X!==0&&(he=!1);const En=w.useRef(),an=Ct=>{const Te=Y.props;Te.onMouseMove&&Te.onMouseMove(Ct),bs={x:Ct.clientX,y:Ct.clientY},En.current&&En.current.update()},Zn={},Ce=typeof X=="string";m?(Zn.title=!he&&Ce&&!v?X:null,Zn["aria-describedby"]=he?Kt:null):(Zn["aria-label"]=Ce?X:null,Zn["aria-labelledby"]=he&&!Ce?Kt:null);const zt={...Zn,...D,...Y.props,className:Gt(D.className,Y.props.className),onTouchStart:Fn,ref:In,...M?{onMouseMove:an}:{}},Ie={};x||(zt.onTouchStart=ge,zt.onTouchEnd=Sa),v||(zt.onMouseOver=Ac(fe,zt.onMouseOver),zt.onMouseLeave=Ac(Wt,zt.onMouseLeave),ct||(Ie.onMouseOver=fe,Ie.onMouseLeave=Wt)),y||(zt.onFocus=Ac(yt,zt.onFocus),zt.onBlur=Ac(ye,zt.onBlur),ct||(Ie.onFocus=yt,Ie.onBlur=ye));const pe={...l,isRtl:st,arrow:s,disableInteractive:ct,placement:Q,PopperComponentProp:Z,touch:ot.current},Mt=typeof et.popper=="function"?et.popper(pe):et.popper,rn=w.useMemo(()=>{var Te,ut;let Ct=[{name:"arrow",enabled:!!V,options:{element:V,padding:4}}];return(Te=W.popperOptions)!=null&&Te.modifiers&&(Ct=Ct.concat(W.popperOptions.modifiers)),(ut=Mt==null?void 0:Mt.popperOptions)!=null&&ut.modifiers&&(Ct=Ct.concat(Mt.popperOptions.modifiers)),{...W.popperOptions,...Mt==null?void 0:Mt.popperOptions,modifiers:Ct}},[V,W.popperOptions,Mt==null?void 0:Mt.popperOptions]),Qe=W4(pe),Eo=typeof et.transition=="function"?et.transition(pe):et.transition,Ka={slots:{popper:p.Popper,transition:p.Transition??I,tooltip:p.Tooltip,arrow:p.Arrow,...R},slotProps:{arrow:et.arrow??h.arrow,popper:{...W,...Mt??h.popper},tooltip:et.tooltip??h.tooltip,transition:{...at,...Eo??h.transition}}},[Er,Cr]=qe("popper",{elementType:J4,externalForwardedProps:Ka,ownerState:pe,className:Gt(Qe.popper,W==null?void 0:W.className)}),[Tr,za]=qe("transition",{elementType:Wc,externalForwardedProps:Ka,ownerState:pe}),[xa,wr]=qe("tooltip",{elementType:tM,className:Qe.tooltip,externalForwardedProps:Ka,ownerState:pe}),[Fa,Co]=qe("arrow",{elementType:eM,className:Qe.arrow,externalForwardedProps:Ka,ownerState:pe,ref:lt});return A.jsxs(w.Fragment,{children:[w.cloneElement(Y,zt),A.jsx(Er,{as:Z??$x,placement:Q,anchorEl:M?{getBoundingClientRect:()=>({top:bs.y,left:bs.x,right:bs.x,bottom:bs.y,width:0,height:0})}:dt,popperRef:En,open:dt?he:!1,id:Kt,transition:!0,...Ie,...Cr,popperOptions:rn,children:({TransitionProps:Ct})=>A.jsx(Tr,{timeout:it.transitions.duration.shorter,...Ct,...za,children:A.jsxs(xa,{...wr,children:[X,s?A.jsx(Fa,{...Co}):null]})})})]})});function aM(e){return hn("MuiTab",e)}const ua=en("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),rM=e=>{const{classes:a,textColor:i,fullWidth:l,wrapped:s,icon:u,label:f,selected:p,disabled:h}=e,m={root:["root",u&&f&&"labelIcon",`textColor${Ot(i)}`,l&&"fullWidth",s&&"wrapped",p&&"selected",h&&"disabled"],icon:["iconWrapper","icon"]};return bn(m,aM,a)},iM=Lt(xf,{name:"MuiTab",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.label&&i.icon&&a.labelIcon,a[`textColor${Ot(i.textColor)}`],i.fullWidth&&a.fullWidth,i.wrapped&&a.wrapped,{[`& .${ua.iconWrapper}`]:a.iconWrapper},{[`& .${ua.icon}`]:a.icon}]}})(Ke(({theme:e})=>({...e.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:a})=>a.label&&(a.iconPosition==="top"||a.iconPosition==="bottom"),style:{flexDirection:"column"}},{props:({ownerState:a})=>a.label&&a.iconPosition!=="top"&&a.iconPosition!=="bottom",style:{flexDirection:"row"}},{props:({ownerState:a})=>a.icon&&a.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:a,iconPosition:i})=>a.icon&&a.label&&i==="top",style:{[`& > .${ua.icon}`]:{marginBottom:6}}},{props:({ownerState:a,iconPosition:i})=>a.icon&&a.label&&i==="bottom",style:{[`& > .${ua.icon}`]:{marginTop:6}}},{props:({ownerState:a,iconPosition:i})=>a.icon&&a.label&&i==="start",style:{[`& > .${ua.icon}`]:{marginRight:e.spacing(1)}}},{props:({ownerState:a,iconPosition:i})=>a.icon&&a.label&&i==="end",style:{[`& > .${ua.icon}`]:{marginLeft:e.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${ua.selected}`]:{opacity:1},[`&.${ua.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${ua.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${ua.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${ua.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${ua.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:({ownerState:a})=>a.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:a})=>a.wrapped,style:{fontSize:e.typography.pxToRem(12)}}]}))),lM=w.forwardRef(function(a,i){const l=nn({props:a,name:"MuiTab"}),{className:s,disabled:u=!1,disableFocusRipple:f=!1,fullWidth:p,icon:h,iconPosition:m="top",indicator:y,label:v,onChange:T,onClick:x,onFocus:S,selected:b,selectionFollowsFocus:C,textColor:M="inherit",value:L,wrapped:j=!1,...O}=l,B={...l,disabled:u,disableFocusRipple:f,selected:b,icon:!!h,iconPosition:m,label:!!v,fullWidth:p,textColor:M,wrapped:j},H=rM(B),$=h&&v&&w.isValidElement(h)?w.cloneElement(h,{className:Gt(H.icon,h.props.className)}):h,Q=W=>{!b&&T&&T(W,L),x&&x(W)},Z=W=>{C&&!b&&T&&T(W,L),S&&S(W)};return A.jsxs(iM,{focusRipple:!f,className:Gt(H.root,s),ref:i,role:"tab","aria-selected":b,disabled:u,onClick:Q,onFocus:Z,ownerState:B,tabIndex:b?0:-1,...O,children:[m==="top"||m==="start"?A.jsxs(w.Fragment,{children:[$,v]}):A.jsxs(w.Fragment,{children:[v,$]}),y]})}),oM=Ve(A.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"})),sM=Ve(A.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}));function uM(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function cM(e,a,i,l={},s=()=>{}){const{ease:u=uM,duration:f=300}=l;let p=null;const h=a[e];let m=!1;const y=()=>{m=!0},v=T=>{if(m){s(new Error("Animation cancelled"));return}p===null&&(p=T);const x=Math.min(1,(T-p)/f);if(a[e]=u(x)*(i-h)+h,x>=1){requestAnimationFrame(()=>{s(null)});return}requestAnimationFrame(v)};return h===i?(s(new Error("Element already at target position")),y):(requestAnimationFrame(v),y)}const fM={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function dM(e){const{onChange:a,...i}=e,l=w.useRef(),s=w.useRef(null),u=()=>{l.current=s.current.offsetHeight-s.current.clientHeight};return ci(()=>{const f=bx(()=>{const h=l.current;u(),h!==l.current&&a(l.current)}),p=Sx(s.current);return p.addEventListener("resize",f),()=>{f.clear(),p.removeEventListener("resize",f)}},[a]),w.useEffect(()=>{u(),a(l.current)},[a]),A.jsx("div",{style:fM,...i,ref:s})}function pM(e){return hn("MuiTabScrollButton",e)}const hM=en("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),mM=e=>{const{classes:a,orientation:i,disabled:l}=e;return bn({root:["root",i,l&&"disabled"]},pM,a)},yM=Lt(xf,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.orientation&&a[i.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${hM.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),gM=w.forwardRef(function(a,i){const l=nn({props:a,name:"MuiTabScrollButton"}),{className:s,slots:u={},slotProps:f={},direction:p,orientation:h,disabled:m,...y}=l,v=gf(),T={isRtl:v,...l},x=mM(T),S=u.StartScrollButtonIcon??oM,b=u.EndScrollButtonIcon??sM,C=Hs({elementType:S,externalSlotProps:f.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:T}),M=Hs({elementType:b,externalSlotProps:f.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:T});return A.jsx(yM,{component:"div",className:Gt(x.root,s),ref:i,role:null,ownerState:T,tabIndex:null,...y,style:{...y.style,...h==="vertical"&&{"--TabScrollButton-svgRotate":`rotate(${v?-90:90}deg)`}},children:p==="left"?A.jsx(S,{...C}):A.jsx(b,{...M})})});function vM(e){return hn("MuiTabs",e)}const nh=en("MuiTabs",["root","vertical","list","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),h1=(e,a)=>e===a?e.firstChild:a&&a.nextElementSibling?a.nextElementSibling:e.firstChild,m1=(e,a)=>e===a?e.lastChild:a&&a.previousElementSibling?a.previousElementSibling:e.lastChild,Mc=(e,a,i)=>{let l=!1,s=i(e,a);for(;s;){if(s===e.firstChild){if(l)return;l=!0}const u=s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||u)s=i(e,s);else{s.focus();return}}},bM=e=>{const{vertical:a,fixed:i,hideScrollbar:l,scrollableX:s,scrollableY:u,centered:f,scrollButtonsHideMobile:p,classes:h}=e;return bn({root:["root",a&&"vertical"],scroller:["scroller",i&&"fixed",l&&"hideScrollbar",s&&"scrollableX",u&&"scrollableY"],list:["list","flexContainer",a&&"flexContainerVertical",a&&"vertical",f&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",p&&"scrollButtonsHideMobile"],scrollableX:[s&&"scrollableX"],hideScrollbar:[l&&"hideScrollbar"]},vM,h)},SM=Lt("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[{[`& .${nh.scrollButtons}`]:a.scrollButtons},{[`& .${nh.scrollButtons}`]:i.scrollButtonsHideMobile&&a.scrollButtonsHideMobile},a.root,i.vertical&&a.vertical]}})(Ke(({theme:e})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:a})=>a.vertical,style:{flexDirection:"column"}},{props:({ownerState:a})=>a.scrollButtonsHideMobile,style:{[`& .${nh.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}}}]}))),xM=Lt("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.scroller,i.fixed&&a.fixed,i.hideScrollbar&&a.hideScrollbar,i.scrollableX&&a.scrollableX,i.scrollableY&&a.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:e})=>e.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:e})=>e.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:e})=>e.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:e})=>e.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),EM=Lt("div",{name:"MuiTabs",slot:"List",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.list,a.flexContainer,i.vertical&&a.flexContainerVertical,i.centered&&a.centered]}})({display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.centered,style:{justifyContent:"center"}}]}),CM=Lt("span",{name:"MuiTabs",slot:"Indicator"})(Ke(({theme:e})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(e.vars||e).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(e.vars||e).palette.secondary.main}},{props:({ownerState:a})=>a.vertical,style:{height:"100%",width:2,right:0}}]}))),TM=Lt(dM)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),y1={},wM=w.forwardRef(function(a,i){const l=nn({props:a,name:"MuiTabs"}),s=tu(),u=gf(),{"aria-label":f,"aria-labelledby":p,action:h,centered:m=!1,children:y,className:v,component:T="div",allowScrollButtonsMobile:x=!1,indicatorColor:S="primary",onChange:b,orientation:C="horizontal",ScrollButtonComponent:M,scrollButtons:L="auto",selectionFollowsFocus:j,slots:O={},slotProps:B={},TabIndicatorProps:H={},TabScrollButtonProps:$={},textColor:Q="primary",value:Z,variant:W="standard",visibleScrollbar:et=!1,...R}=l,X=W==="scrollable",I=C==="vertical",at=I?"scrollTop":"scrollLeft",D=I?"top":"left",Y=I?"bottom":"right",it=I?"clientHeight":"clientWidth",st=I?"height":"width",dt={...l,component:T,allowScrollButtonsMobile:x,indicatorColor:S,orientation:C,vertical:I,scrollButtons:L,textColor:Q,variant:W,visibleScrollbar:et,fixed:!X,hideScrollbar:X&&!et,scrollableX:X&&!I,scrollableY:X&&I,centered:m&&!X,scrollButtonsHideMobile:!x},_=bM(dt),V=Hs({elementType:O.StartScrollButtonIcon,externalSlotProps:B.startScrollButtonIcon,ownerState:dt}),lt=Hs({elementType:O.EndScrollButtonIcon,externalSlotProps:B.endScrollButtonIcon,ownerState:dt}),[ot,ct]=w.useState(!1),[ht,bt]=w.useState(y1),[_t,Bt]=w.useState(!1),[Fe,Ge]=w.useState(!1),[he,Kt]=w.useState(!1),[Dt,ue]=w.useState({overflow:"hidden",scrollbarWidth:0}),Ye=new Map,ce=w.useRef(null),fe=w.useRef(null),Wt={slots:O,slotProps:{indicator:H,scrollButtons:$,...B}},me=()=>{const ut=ce.current;let gt;if(ut){const Vt=ut.getBoundingClientRect();gt={clientWidth:ut.clientWidth,scrollLeft:ut.scrollLeft,scrollTop:ut.scrollTop,scrollWidth:ut.scrollWidth,top:Vt.top,bottom:Vt.bottom,left:Vt.left,right:Vt.right}}let jt;if(ut&&Z!==!1){const Vt=fe.current.children;if(Vt.length>0){const ve=Vt[Ye.get(Z)];jt=ve?ve.getBoundingClientRect():null}}return{tabsMeta:gt,tabMeta:jt}},ye=ma(()=>{const{tabsMeta:ut,tabMeta:gt}=me();let jt=0,Vt;I?(Vt="top",gt&&ut&&(jt=gt.top-ut.top+ut.scrollTop)):(Vt=u?"right":"left",gt&&ut&&(jt=(u?-1:1)*(gt[Vt]-ut[Vt]+ut.scrollLeft)));const ve={[Vt]:jt,[st]:gt?gt[st]:0};if(typeof ht[Vt]!="number"||typeof ht[st]!="number")bt(ve);else{const Cn=Math.abs(ht[Vt]-ve[Vt]),Ea=Math.abs(ht[st]-ve[st]);(Cn>=1||Ea>=1)&&bt(ve)}}),yt=(ut,{animation:gt=!0}={})=>{gt?cM(at,ce.current,ut,{duration:s.transitions.duration.standard}):ce.current[at]=ut},Fn=ut=>{let gt=ce.current[at];I?gt+=ut:gt+=ut*(u?-1:1),yt(gt)},ge=()=>{const ut=ce.current[it];let gt=0;const jt=Array.from(fe.current.children);for(let Vt=0;Vt<jt.length;Vt+=1){const ve=jt[Vt];if(gt+ve[it]>ut){Vt===0&&(gt=ut);break}gt+=ve[it]}return gt},Sa=()=>{Fn(-1*ge())},In=()=>{Fn(ge())},[En,{onChange:an,...Zn}]=qe("scrollbar",{className:Gt(_.scrollableX,_.hideScrollbar),elementType:TM,shouldForwardComponentProp:!0,externalForwardedProps:Wt,ownerState:dt}),Ce=w.useCallback(ut=>{an==null||an(ut),ue({overflow:null,scrollbarWidth:ut})},[an]),[zt,Ie]=qe("scrollButtons",{className:Gt(_.scrollButtons,$.className),elementType:gM,externalForwardedProps:Wt,ownerState:dt,additionalProps:{orientation:C,slots:{StartScrollButtonIcon:O.startScrollButtonIcon||O.StartScrollButtonIcon,EndScrollButtonIcon:O.endScrollButtonIcon||O.EndScrollButtonIcon},slotProps:{startScrollButtonIcon:V,endScrollButtonIcon:lt}}}),pe=()=>{const ut={};ut.scrollbarSizeListener=X?A.jsx(En,{...Zn,onChange:Ce}):null;const jt=X&&(L==="auto"&&(_t||Fe)||L===!0);return ut.scrollButtonStart=jt?A.jsx(zt,{direction:u?"right":"left",onClick:Sa,disabled:!_t,...Ie}):null,ut.scrollButtonEnd=jt?A.jsx(zt,{direction:u?"left":"right",onClick:In,disabled:!Fe,...Ie}):null,ut},Mt=ma(ut=>{const{tabsMeta:gt,tabMeta:jt}=me();if(!(!jt||!gt)){if(jt[D]<gt[D]){const Vt=gt[at]+(jt[D]-gt[D]);yt(Vt,{animation:ut})}else if(jt[Y]>gt[Y]){const Vt=gt[at]+(jt[Y]-gt[Y]);yt(Vt,{animation:ut})}}}),rn=ma(()=>{X&&L!==!1&&Kt(!he)});w.useEffect(()=>{const ut=bx(()=>{ce.current&&ye()});let gt;const jt=Cn=>{Cn.forEach(Ea=>{Ea.removedNodes.forEach(Rr=>{gt==null||gt.unobserve(Rr)}),Ea.addedNodes.forEach(Rr=>{gt==null||gt.observe(Rr)})}),ut(),rn()},Vt=Sx(ce.current);Vt.addEventListener("resize",ut);let ve;return typeof ResizeObserver<"u"&&(gt=new ResizeObserver(ut),Array.from(fe.current.children).forEach(Cn=>{gt.observe(Cn)})),typeof MutationObserver<"u"&&(ve=new MutationObserver(jt),ve.observe(fe.current,{childList:!0})),()=>{ut.clear(),Vt.removeEventListener("resize",ut),ve==null||ve.disconnect(),gt==null||gt.disconnect()}},[ye,rn]),w.useEffect(()=>{const ut=Array.from(fe.current.children),gt=ut.length;if(typeof IntersectionObserver<"u"&&gt>0&&X&&L!==!1){const jt=ut[0],Vt=ut[gt-1],ve={root:ce.current,threshold:.99},Cn=Wn=>{Bt(!Wn[0].isIntersecting)},Ea=new IntersectionObserver(Cn,ve);Ea.observe(jt);const Rr=Wn=>{Ge(!Wn[0].isIntersecting)},To=new IntersectionObserver(Rr,ve);return To.observe(Vt),()=>{Ea.disconnect(),To.disconnect()}}},[X,L,he,y==null?void 0:y.length]),w.useEffect(()=>{ct(!0)},[]),w.useEffect(()=>{ye()}),w.useEffect(()=>{Mt(y1!==ht)},[Mt,ht]),w.useImperativeHandle(h,()=>({updateIndicator:ye,updateScrollButtons:rn}),[ye,rn]);const[Qe,Eo]=qe("indicator",{className:Gt(_.indicator,H.className),elementType:CM,externalForwardedProps:Wt,ownerState:dt,additionalProps:{style:ht}}),Ka=A.jsx(Qe,{...Eo});let Er=0;const Cr=w.Children.map(y,ut=>{if(!w.isValidElement(ut))return null;const gt=ut.props.value===void 0?Er:ut.props.value;Ye.set(gt,Er);const jt=gt===Z;return Er+=1,w.cloneElement(ut,{fullWidth:W==="fullWidth",indicator:jt&&!ot&&Ka,selected:jt,selectionFollowsFocus:j,onChange:b,textColor:Q,value:gt,...Er===1&&Z===!1&&!ut.props.tabIndex?{tabIndex:0}:{}})}),Tr=ut=>{if(ut.altKey||ut.shiftKey||ut.ctrlKey||ut.metaKey)return;const gt=fe.current,jt=B4(Ii(gt));if((jt==null?void 0:jt.getAttribute("role"))!=="tab")return;let ve=C==="horizontal"?"ArrowLeft":"ArrowUp",Cn=C==="horizontal"?"ArrowRight":"ArrowDown";switch(C==="horizontal"&&u&&(ve="ArrowRight",Cn="ArrowLeft"),ut.key){case ve:ut.preventDefault(),Mc(gt,jt,m1);break;case Cn:ut.preventDefault(),Mc(gt,jt,h1);break;case"Home":ut.preventDefault(),Mc(gt,null,h1);break;case"End":ut.preventDefault(),Mc(gt,null,m1);break}},za=pe(),[xa,wr]=qe("root",{ref:i,className:Gt(_.root,v),elementType:SM,externalForwardedProps:{...Wt,...R,component:T},ownerState:dt}),[Fa,Co]=qe("scroller",{ref:ce,className:_.scroller,elementType:xM,externalForwardedProps:Wt,ownerState:dt,additionalProps:{style:{overflow:Dt.overflow,[I?`margin${u?"Left":"Right"}`:"marginBottom"]:et?void 0:-Dt.scrollbarWidth}}}),[Ct,Te]=qe("list",{ref:fe,className:Gt(_.list,_.flexContainer),elementType:EM,externalForwardedProps:Wt,ownerState:dt,getSlotProps:ut=>({...ut,onKeyDown:gt=>{var jt;Tr(gt),(jt=ut.onKeyDown)==null||jt.call(ut,gt)}})});return A.jsxs(xa,{...wr,children:[za.scrollButtonStart,za.scrollbarSizeListener,A.jsxs(Fa,{...Co,children:[A.jsx(Ct,{"aria-label":f,"aria-labelledby":p,"aria-orientation":C==="vertical"?"vertical":null,role:"tablist",...Te,children:Cr}),ot&&Ka]}),za.scrollButtonEnd]})}),Vx=w.createContext(null);function RM({children:e}){const a=window.PlugixaRecipeConfig||{},[i,l]=w.useState(a.settings||{}),s=w.useCallback(p=>{l(h=>({...h,...p}))},[]),u=w.useMemo(()=>({apiUrl:a.apiUrl||"/wp-json/plugixarecipe/v1/",adminUrl:a.adminUrl||"/wp-admin/",pluginUrl:a.pluginUrl||"",nonce:a.nonce||"",userId:a.userId||0,userRole:a.userRole||"",permissions:a.permissions||{},i18n:a.i18n||{}}),[]),f=w.useMemo(()=>({...u,settings:i,updateSettings:s}),[u,i,s]);return A.jsx(Vx.Provider,{value:f,children:e})}function Gx(){const e=w.useContext(Vx);if(!e)throw new Error("useConfig must be used within ConfigProvider");return e}function Yx(e,a){return function(){return e.apply(a,arguments)}}const{toString:OM}=Object.prototype,{getPrototypeOf:Hm}=Object,{iterator:Tf,toStringTag:Qx}=Symbol,wf=(e=>a=>{const i=OM.call(a);return e[i]||(e[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),_a=e=>(e=e.toLowerCase(),a=>wf(a)===e),Rf=e=>a=>typeof a===e,{isArray:xo}=Array,bo=Rf("undefined");function au(e){return e!==null&&!bo(e)&&e.constructor!==null&&!bo(e.constructor)&&Un(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Xx=_a("ArrayBuffer");function AM(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&Xx(e.buffer),a}const MM=Rf("string"),Un=Rf("function"),Kx=Rf("number"),ru=e=>e!==null&&typeof e=="object",_M=e=>e===!0||e===!1,Hc=e=>{if(wf(e)!=="object")return!1;const a=Hm(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Qx in e)&&!(Tf in e)},zM=e=>{if(!ru(e)||au(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},BM=_a("Date"),DM=_a("File"),jM=e=>!!(e&&typeof e.uri<"u"),NM=e=>e&&typeof e.getParts<"u",UM=_a("Blob"),LM=_a("FileList"),HM=e=>ru(e)&&Un(e.pipe);function kM(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const g1=kM(),v1=typeof g1.FormData<"u"?g1.FormData:void 0,$M=e=>{let a;return e&&(v1&&e instanceof v1||Un(e.append)&&((a=wf(e))==="formdata"||a==="object"&&Un(e.toString)&&e.toString()==="[object FormData]"))},qM=_a("URLSearchParams"),[PM,VM,GM,YM]=["ReadableStream","Request","Response","Headers"].map(_a),QM=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function iu(e,a,{allOwnKeys:i=!1}={}){if(e===null||typeof e>"u")return;let l,s;if(typeof e!="object"&&(e=[e]),xo(e))for(l=0,s=e.length;l<s;l++)a.call(null,e[l],l,e);else{if(au(e))return;const u=i?Object.getOwnPropertyNames(e):Object.keys(e),f=u.length;let p;for(l=0;l<f;l++)p=u[l],a.call(null,e[p],p,e)}}function Fx(e,a){if(au(e))return null;a=a.toLowerCase();const i=Object.keys(e);let l=i.length,s;for(;l-- >0;)if(s=i[l],a===s.toLowerCase())return s;return null}const ki=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ix=e=>!bo(e)&&e!==ki;function Zh(){const{caseless:e,skipUndefined:a}=Ix(this)&&this||{},i={},l=(s,u)=>{if(u==="__proto__"||u==="constructor"||u==="prototype")return;const f=e&&Fx(i,u)||u;Hc(i[f])&&Hc(s)?i[f]=Zh(i[f],s):Hc(s)?i[f]=Zh({},s):xo(s)?i[f]=s.slice():(!a||!bo(s))&&(i[f]=s)};for(let s=0,u=arguments.length;s<u;s++)arguments[s]&&iu(arguments[s],l);return i}const XM=(e,a,i,{allOwnKeys:l}={})=>(iu(a,(s,u)=>{i&&Un(s)?Object.defineProperty(e,u,{value:Yx(s,i),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,u,{value:s,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:l}),e),KM=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),FM=(e,a,i,l)=>{e.prototype=Object.create(a.prototype,l),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:a.prototype}),i&&Object.assign(e.prototype,i)},IM=(e,a,i,l)=>{let s,u,f;const p={};if(a=a||{},e==null)return a;do{for(s=Object.getOwnPropertyNames(e),u=s.length;u-- >0;)f=s[u],(!l||l(f,e,a))&&!p[f]&&(a[f]=e[f],p[f]=!0);e=i!==!1&&Hm(e)}while(e&&(!i||i(e,a))&&e!==Object.prototype);return a},ZM=(e,a,i)=>{e=String(e),(i===void 0||i>e.length)&&(i=e.length),i-=a.length;const l=e.indexOf(a,i);return l!==-1&&l===i},WM=e=>{if(!e)return null;if(xo(e))return e;let a=e.length;if(!Kx(a))return null;const i=new Array(a);for(;a-- >0;)i[a]=e[a];return i},JM=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&Hm(Uint8Array)),t6=(e,a)=>{const l=(e&&e[Tf]).call(e);let s;for(;(s=l.next())&&!s.done;){const u=s.value;a.call(e,u[0],u[1])}},e6=(e,a)=>{let i;const l=[];for(;(i=e.exec(a))!==null;)l.push(i);return l},n6=_a("HTMLFormElement"),a6=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,l,s){return l.toUpperCase()+s}),b1=(({hasOwnProperty:e})=>(a,i)=>e.call(a,i))(Object.prototype),r6=_a("RegExp"),Zx=(e,a)=>{const i=Object.getOwnPropertyDescriptors(e),l={};iu(i,(s,u)=>{let f;(f=a(s,u,e))!==!1&&(l[u]=f||s)}),Object.defineProperties(e,l)},i6=e=>{Zx(e,(a,i)=>{if(Un(e)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const l=e[i];if(Un(l)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},l6=(e,a)=>{const i={},l=s=>{s.forEach(u=>{i[u]=!0})};return xo(e)?l(e):l(String(e).split(a)),i},o6=()=>{},s6=(e,a)=>e!=null&&Number.isFinite(e=+e)?e:a;function u6(e){return!!(e&&Un(e.append)&&e[Qx]==="FormData"&&e[Tf])}const c6=e=>{const a=new Array(10),i=(l,s)=>{if(ru(l)){if(a.indexOf(l)>=0)return;if(au(l))return l;if(!("toJSON"in l)){a[s]=l;const u=xo(l)?[]:{};return iu(l,(f,p)=>{const h=i(f,s+1);!bo(h)&&(u[p]=h)}),a[s]=void 0,u}}return l};return i(e,0)},f6=_a("AsyncFunction"),d6=e=>e&&(ru(e)||Un(e))&&Un(e.then)&&Un(e.catch),Wx=((e,a)=>e?setImmediate:a?((i,l)=>(ki.addEventListener("message",({source:s,data:u})=>{s===ki&&u===i&&l.length&&l.shift()()},!1),s=>{l.push(s),ki.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",Un(ki.postMessage)),p6=typeof queueMicrotask<"u"?queueMicrotask.bind(ki):typeof process<"u"&&process.nextTick||Wx,h6=e=>e!=null&&Un(e[Tf]),K={isArray:xo,isArrayBuffer:Xx,isBuffer:au,isFormData:$M,isArrayBufferView:AM,isString:MM,isNumber:Kx,isBoolean:_M,isObject:ru,isPlainObject:Hc,isEmptyObject:zM,isReadableStream:PM,isRequest:VM,isResponse:GM,isHeaders:YM,isUndefined:bo,isDate:BM,isFile:DM,isReactNativeBlob:jM,isReactNative:NM,isBlob:UM,isRegExp:r6,isFunction:Un,isStream:HM,isURLSearchParams:qM,isTypedArray:JM,isFileList:LM,forEach:iu,merge:Zh,extend:XM,trim:QM,stripBOM:KM,inherits:FM,toFlatObject:IM,kindOf:wf,kindOfTest:_a,endsWith:ZM,toArray:WM,forEachEntry:t6,matchAll:e6,isHTMLForm:n6,hasOwnProperty:b1,hasOwnProp:b1,reduceDescriptors:Zx,freezeMethods:i6,toObjectSet:l6,toCamelCase:a6,noop:o6,toFiniteNumber:s6,findKey:Fx,global:ki,isContextDefined:Ix,isSpecCompliantForm:u6,toJSONObject:c6,isAsyncFn:f6,isThenable:d6,setImmediate:Wx,asap:p6,isIterable:h6};let Et=class Jx extends Error{static from(a,i,l,s,u,f){const p=new Jx(a.message,i||a.code,l,s,u);return p.cause=a,p.name=a.name,a.status!=null&&p.status==null&&(p.status=a.status),f&&Object.assign(p,f),p}constructor(a,i,l,s,u){super(a),Object.defineProperty(this,"message",{value:a,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,i&&(this.code=i),l&&(this.config=l),s&&(this.request=s),u&&(this.response=u,this.status=u.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:K.toJSONObject(this.config),code:this.code,status:this.status}}};Et.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Et.ERR_BAD_OPTION="ERR_BAD_OPTION";Et.ECONNABORTED="ECONNABORTED";Et.ETIMEDOUT="ETIMEDOUT";Et.ERR_NETWORK="ERR_NETWORK";Et.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Et.ERR_DEPRECATED="ERR_DEPRECATED";Et.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Et.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Et.ERR_CANCELED="ERR_CANCELED";Et.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Et.ERR_INVALID_URL="ERR_INVALID_URL";const m6=null;function Wh(e){return K.isPlainObject(e)||K.isArray(e)}function t2(e){return K.endsWith(e,"[]")?e.slice(0,-2):e}function ah(e,a,i){return e?e.concat(a).map(function(s,u){return s=t2(s),!i&&u?"["+s+"]":s}).join(i?".":""):a}function y6(e){return K.isArray(e)&&!e.some(Wh)}const g6=K.toFlatObject(K,{},null,function(a){return/^is[A-Z]/.test(a)});function Of(e,a,i){if(!K.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,i=K.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,C){return!K.isUndefined(C[b])});const l=i.metaTokens,s=i.visitor||y,u=i.dots,f=i.indexes,h=(i.Blob||typeof Blob<"u"&&Blob)&&K.isSpecCompliantForm(a);if(!K.isFunction(s))throw new TypeError("visitor must be a function");function m(S){if(S===null)return"";if(K.isDate(S))return S.toISOString();if(K.isBoolean(S))return S.toString();if(!h&&K.isBlob(S))throw new Et("Blob is not supported. Use a Buffer instead.");return K.isArrayBuffer(S)||K.isTypedArray(S)?h&&typeof Blob=="function"?new Blob([S]):Buffer.from(S):S}function y(S,b,C){let M=S;if(K.isReactNative(a)&&K.isReactNativeBlob(S))return a.append(ah(C,b,u),m(S)),!1;if(S&&!C&&typeof S=="object"){if(K.endsWith(b,"{}"))b=l?b:b.slice(0,-2),S=JSON.stringify(S);else if(K.isArray(S)&&y6(S)||(K.isFileList(S)||K.endsWith(b,"[]"))&&(M=K.toArray(S)))return b=t2(b),M.forEach(function(j,O){!(K.isUndefined(j)||j===null)&&a.append(f===!0?ah([b],O,u):f===null?b:b+"[]",m(j))}),!1}return Wh(S)?!0:(a.append(ah(C,b,u),m(S)),!1)}const v=[],T=Object.assign(g6,{defaultVisitor:y,convertValue:m,isVisitable:Wh});function x(S,b){if(!K.isUndefined(S)){if(v.indexOf(S)!==-1)throw Error("Circular reference detected in "+b.join("."));v.push(S),K.forEach(S,function(M,L){(!(K.isUndefined(M)||M===null)&&s.call(a,M,K.isString(L)?L.trim():L,b,T))===!0&&x(M,b?b.concat(L):[L])}),v.pop()}}if(!K.isObject(e))throw new TypeError("data must be an object");return x(e),a}function S1(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(l){return a[l]})}function km(e,a){this._pairs=[],e&&Of(e,this,a)}const e2=km.prototype;e2.append=function(a,i){this._pairs.push([a,i])};e2.toString=function(a){const i=a?function(l){return a.call(this,l,S1)}:S1;return this._pairs.map(function(s){return i(s[0])+"="+i(s[1])},"").join("&")};function v6(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function n2(e,a,i){if(!a)return e;const l=i&&i.encode||v6,s=K.isFunction(i)?{serialize:i}:i,u=s&&s.serialize;let f;if(u?f=u(a,s):f=K.isURLSearchParams(a)?a.toString():new km(a,s).toString(l),f){const p=e.indexOf("#");p!==-1&&(e=e.slice(0,p)),e+=(e.indexOf("?")===-1?"?":"&")+f}return e}class x1{constructor(){this.handlers=[]}use(a,i,l){return this.handlers.push({fulfilled:a,rejected:i,synchronous:l?l.synchronous:!1,runWhen:l?l.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){K.forEach(this.handlers,function(l){l!==null&&a(l)})}}const $m={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},b6=typeof URLSearchParams<"u"?URLSearchParams:km,S6=typeof FormData<"u"?FormData:null,x6=typeof Blob<"u"?Blob:null,E6={isBrowser:!0,classes:{URLSearchParams:b6,FormData:S6,Blob:x6},protocols:["http","https","file","blob","url","data"]},qm=typeof window<"u"&&typeof document<"u",Jh=typeof navigator=="object"&&navigator||void 0,C6=qm&&(!Jh||["ReactNative","NativeScript","NS"].indexOf(Jh.product)<0),T6=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",w6=qm&&window.location.href||"http://localhost",R6=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:qm,hasStandardBrowserEnv:C6,hasStandardBrowserWebWorkerEnv:T6,navigator:Jh,origin:w6},Symbol.toStringTag,{value:"Module"})),vn={...R6,...E6};function O6(e,a){return Of(e,new vn.classes.URLSearchParams,{visitor:function(i,l,s,u){return vn.isNode&&K.isBuffer(i)?(this.append(l,i.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)},...a})}function A6(e){return K.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function M6(e){const a={},i=Object.keys(e);let l;const s=i.length;let u;for(l=0;l<s;l++)u=i[l],a[u]=e[u];return a}function a2(e){function a(i,l,s,u){let f=i[u++];if(f==="__proto__")return!0;const p=Number.isFinite(+f),h=u>=i.length;return f=!f&&K.isArray(s)?s.length:f,h?(K.hasOwnProp(s,f)?s[f]=[s[f],l]:s[f]=l,!p):((!s[f]||!K.isObject(s[f]))&&(s[f]=[]),a(i,l,s[f],u)&&K.isArray(s[f])&&(s[f]=M6(s[f])),!p)}if(K.isFormData(e)&&K.isFunction(e.entries)){const i={};return K.forEachEntry(e,(l,s)=>{a(A6(l),s,i,0)}),i}return null}function _6(e,a,i){if(K.isString(e))try{return(a||JSON.parse)(e),K.trim(e)}catch(l){if(l.name!=="SyntaxError")throw l}return(i||JSON.stringify)(e)}const lu={transitional:$m,adapter:["xhr","http","fetch"],transformRequest:[function(a,i){const l=i.getContentType()||"",s=l.indexOf("application/json")>-1,u=K.isObject(a);if(u&&K.isHTMLForm(a)&&(a=new FormData(a)),K.isFormData(a))return s?JSON.stringify(a2(a)):a;if(K.isArrayBuffer(a)||K.isBuffer(a)||K.isStream(a)||K.isFile(a)||K.isBlob(a)||K.isReadableStream(a))return a;if(K.isArrayBufferView(a))return a.buffer;if(K.isURLSearchParams(a))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),a.toString();let p;if(u){if(l.indexOf("application/x-www-form-urlencoded")>-1)return O6(a,this.formSerializer).toString();if((p=K.isFileList(a))||l.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return Of(p?{"files[]":a}:a,h&&new h,this.formSerializer)}}return u||s?(i.setContentType("application/json",!1),_6(a)):a}],transformResponse:[function(a){const i=this.transitional||lu.transitional,l=i&&i.forcedJSONParsing,s=this.responseType==="json";if(K.isResponse(a)||K.isReadableStream(a))return a;if(a&&K.isString(a)&&(l&&!this.responseType||s)){const f=!(i&&i.silentJSONParsing)&&s;try{return JSON.parse(a,this.parseReviver)}catch(p){if(f)throw p.name==="SyntaxError"?Et.from(p,Et.ERR_BAD_RESPONSE,this,null,this.response):p}}return a}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:vn.classes.FormData,Blob:vn.classes.Blob},validateStatus:function(a){return a>=200&&a<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};K.forEach(["delete","get","head","post","put","patch"],e=>{lu.headers[e]={}});const z6=K.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),B6=e=>{const a={};let i,l,s;return e&&e.split(`
`).forEach(function(f){s=f.indexOf(":"),i=f.substring(0,s).trim().toLowerCase(),l=f.substring(s+1).trim(),!(!i||a[i]&&z6[i])&&(i==="set-cookie"?a[i]?a[i].push(l):a[i]=[l]:a[i]=a[i]?a[i]+", "+l:l)}),a},E1=Symbol("internals");function Ss(e){return e&&String(e).trim().toLowerCase()}function kc(e){return e===!1||e==null?e:K.isArray(e)?e.map(kc):String(e)}function D6(e){const a=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let l;for(;l=i.exec(e);)a[l[1]]=l[2];return a}const j6=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function rh(e,a,i,l,s){if(K.isFunction(l))return l.call(this,a,i);if(s&&(a=i),!!K.isString(a)){if(K.isString(l))return a.indexOf(l)!==-1;if(K.isRegExp(l))return l.test(a)}}function N6(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,i,l)=>i.toUpperCase()+l)}function U6(e,a){const i=K.toCamelCase(" "+a);["get","set","has"].forEach(l=>{Object.defineProperty(e,l+i,{value:function(s,u,f){return this[l].call(this,a,s,u,f)},configurable:!0})})}let Ln=class{constructor(a){a&&this.set(a)}set(a,i,l){const s=this;function u(p,h,m){const y=Ss(h);if(!y)throw new Error("header name must be a non-empty string");const v=K.findKey(s,y);(!v||s[v]===void 0||m===!0||m===void 0&&s[v]!==!1)&&(s[v||h]=kc(p))}const f=(p,h)=>K.forEach(p,(m,y)=>u(m,y,h));if(K.isPlainObject(a)||a instanceof this.constructor)f(a,i);else if(K.isString(a)&&(a=a.trim())&&!j6(a))f(B6(a),i);else if(K.isObject(a)&&K.isIterable(a)){let p={},h,m;for(const y of a){if(!K.isArray(y))throw TypeError("Object iterator must return a key-value pair");p[m=y[0]]=(h=p[m])?K.isArray(h)?[...h,y[1]]:[h,y[1]]:y[1]}f(p,i)}else a!=null&&u(i,a,l);return this}get(a,i){if(a=Ss(a),a){const l=K.findKey(this,a);if(l){const s=this[l];if(!i)return s;if(i===!0)return D6(s);if(K.isFunction(i))return i.call(this,s,l);if(K.isRegExp(i))return i.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,i){if(a=Ss(a),a){const l=K.findKey(this,a);return!!(l&&this[l]!==void 0&&(!i||rh(this,this[l],l,i)))}return!1}delete(a,i){const l=this;let s=!1;function u(f){if(f=Ss(f),f){const p=K.findKey(l,f);p&&(!i||rh(l,l[p],p,i))&&(delete l[p],s=!0)}}return K.isArray(a)?a.forEach(u):u(a),s}clear(a){const i=Object.keys(this);let l=i.length,s=!1;for(;l--;){const u=i[l];(!a||rh(this,this[u],u,a,!0))&&(delete this[u],s=!0)}return s}normalize(a){const i=this,l={};return K.forEach(this,(s,u)=>{const f=K.findKey(l,u);if(f){i[f]=kc(s),delete i[u];return}const p=a?N6(u):String(u).trim();p!==u&&delete i[u],i[p]=kc(s),l[p]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const i=Object.create(null);return K.forEach(this,(l,s)=>{l!=null&&l!==!1&&(i[s]=a&&K.isArray(l)?l.join(", "):l)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,i])=>a+": "+i).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...i){const l=new this(a);return i.forEach(s=>l.set(s)),l}static accessor(a){const l=(this[E1]=this[E1]={accessors:{}}).accessors,s=this.prototype;function u(f){const p=Ss(f);l[p]||(U6(s,f),l[p]=!0)}return K.isArray(a)?a.forEach(u):u(a),this}};Ln.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);K.reduceDescriptors(Ln.prototype,({value:e},a)=>{let i=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(l){this[i]=l}}});K.freezeMethods(Ln);function ih(e,a){const i=this||lu,l=a||i,s=Ln.from(l.headers);let u=l.data;return K.forEach(e,function(p){u=p.call(i,u,s.normalize(),a?a.status:void 0)}),s.normalize(),u}function r2(e){return!!(e&&e.__CANCEL__)}let ou=class extends Et{constructor(a,i,l){super(a??"canceled",Et.ERR_CANCELED,i,l),this.name="CanceledError",this.__CANCEL__=!0}};function i2(e,a,i){const l=i.config.validateStatus;!i.status||!l||l(i.status)?e(i):a(new Et("Request failed with status code "+i.status,[Et.ERR_BAD_REQUEST,Et.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function L6(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function H6(e,a){e=e||10;const i=new Array(e),l=new Array(e);let s=0,u=0,f;return a=a!==void 0?a:1e3,function(h){const m=Date.now(),y=l[u];f||(f=m),i[s]=h,l[s]=m;let v=u,T=0;for(;v!==s;)T+=i[v++],v=v%e;if(s=(s+1)%e,s===u&&(u=(u+1)%e),m-f<a)return;const x=y&&m-y;return x?Math.round(T*1e3/x):void 0}}function k6(e,a){let i=0,l=1e3/a,s,u;const f=(m,y=Date.now())=>{i=y,s=null,u&&(clearTimeout(u),u=null),e(...m)};return[(...m)=>{const y=Date.now(),v=y-i;v>=l?f(m,y):(s=m,u||(u=setTimeout(()=>{u=null,f(s)},l-v)))},()=>s&&f(s)]}const Jc=(e,a,i=3)=>{let l=0;const s=H6(50,250);return k6(u=>{const f=u.loaded,p=u.lengthComputable?u.total:void 0,h=f-l,m=s(h),y=f<=p;l=f;const v={loaded:f,total:p,progress:p?f/p:void 0,bytes:h,rate:m||void 0,estimated:m&&p&&y?(p-f)/m:void 0,event:u,lengthComputable:p!=null,[a?"download":"upload"]:!0};e(v)},i)},C1=(e,a)=>{const i=e!=null;return[l=>a[0]({lengthComputable:i,total:e,loaded:l}),a[1]]},T1=e=>(...a)=>K.asap(()=>e(...a)),$6=vn.hasStandardBrowserEnv?((e,a)=>i=>(i=new URL(i,vn.origin),e.protocol===i.protocol&&e.host===i.host&&(a||e.port===i.port)))(new URL(vn.origin),vn.navigator&&/(msie|trident)/i.test(vn.navigator.userAgent)):()=>!0,q6=vn.hasStandardBrowserEnv?{write(e,a,i,l,s,u,f){if(typeof document>"u")return;const p=[`${e}=${encodeURIComponent(a)}`];K.isNumber(i)&&p.push(`expires=${new Date(i).toUTCString()}`),K.isString(l)&&p.push(`path=${l}`),K.isString(s)&&p.push(`domain=${s}`),u===!0&&p.push("secure"),K.isString(f)&&p.push(`SameSite=${f}`),document.cookie=p.join("; ")},read(e){if(typeof document>"u")return null;const a=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return a?decodeURIComponent(a[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function P6(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function V6(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function l2(e,a,i){let l=!P6(a);return e&&(l||i==!1)?V6(e,a):a}const w1=e=>e instanceof Ln?{...e}:e;function nl(e,a){a=a||{};const i={};function l(m,y,v,T){return K.isPlainObject(m)&&K.isPlainObject(y)?K.merge.call({caseless:T},m,y):K.isPlainObject(y)?K.merge({},y):K.isArray(y)?y.slice():y}function s(m,y,v,T){if(K.isUndefined(y)){if(!K.isUndefined(m))return l(void 0,m,v,T)}else return l(m,y,v,T)}function u(m,y){if(!K.isUndefined(y))return l(void 0,y)}function f(m,y){if(K.isUndefined(y)){if(!K.isUndefined(m))return l(void 0,m)}else return l(void 0,y)}function p(m,y,v){if(v in a)return l(m,y);if(v in e)return l(void 0,m)}const h={url:u,method:u,data:u,baseURL:f,transformRequest:f,transformResponse:f,paramsSerializer:f,timeout:f,timeoutMessage:f,withCredentials:f,withXSRFToken:f,adapter:f,responseType:f,xsrfCookieName:f,xsrfHeaderName:f,onUploadProgress:f,onDownloadProgress:f,decompress:f,maxContentLength:f,maxBodyLength:f,beforeRedirect:f,transport:f,httpAgent:f,httpsAgent:f,cancelToken:f,socketPath:f,responseEncoding:f,validateStatus:p,headers:(m,y,v)=>s(w1(m),w1(y),v,!0)};return K.forEach(Object.keys({...e,...a}),function(y){if(y==="__proto__"||y==="constructor"||y==="prototype")return;const v=K.hasOwnProp(h,y)?h[y]:s,T=v(e[y],a[y],y);K.isUndefined(T)&&v!==p||(i[y]=T)}),i}const o2=e=>{const a=nl({},e);let{data:i,withXSRFToken:l,xsrfHeaderName:s,xsrfCookieName:u,headers:f,auth:p}=a;if(a.headers=f=Ln.from(f),a.url=n2(l2(a.baseURL,a.url,a.allowAbsoluteUrls),e.params,e.paramsSerializer),p&&f.set("Authorization","Basic "+btoa((p.username||"")+":"+(p.password?unescape(encodeURIComponent(p.password)):""))),K.isFormData(i)){if(vn.hasStandardBrowserEnv||vn.hasStandardBrowserWebWorkerEnv)f.setContentType(void 0);else if(K.isFunction(i.getHeaders)){const h=i.getHeaders(),m=["content-type","content-length"];Object.entries(h).forEach(([y,v])=>{m.includes(y.toLowerCase())&&f.set(y,v)})}}if(vn.hasStandardBrowserEnv&&(l&&K.isFunction(l)&&(l=l(a)),l||l!==!1&&$6(a.url))){const h=s&&u&&q6.read(u);h&&f.set(s,h)}return a},G6=typeof XMLHttpRequest<"u",Y6=G6&&function(e){return new Promise(function(i,l){const s=o2(e);let u=s.data;const f=Ln.from(s.headers).normalize();let{responseType:p,onUploadProgress:h,onDownloadProgress:m}=s,y,v,T,x,S;function b(){x&&x(),S&&S(),s.cancelToken&&s.cancelToken.unsubscribe(y),s.signal&&s.signal.removeEventListener("abort",y)}let C=new XMLHttpRequest;C.open(s.method.toUpperCase(),s.url,!0),C.timeout=s.timeout;function M(){if(!C)return;const j=Ln.from("getAllResponseHeaders"in C&&C.getAllResponseHeaders()),B={data:!p||p==="text"||p==="json"?C.responseText:C.response,status:C.status,statusText:C.statusText,headers:j,config:e,request:C};i2(function($){i($),b()},function($){l($),b()},B),C=null}"onloadend"in C?C.onloadend=M:C.onreadystatechange=function(){!C||C.readyState!==4||C.status===0&&!(C.responseURL&&C.responseURL.indexOf("file:")===0)||setTimeout(M)},C.onabort=function(){C&&(l(new Et("Request aborted",Et.ECONNABORTED,e,C)),C=null)},C.onerror=function(O){const B=O&&O.message?O.message:"Network Error",H=new Et(B,Et.ERR_NETWORK,e,C);H.event=O||null,l(H),C=null},C.ontimeout=function(){let O=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const B=s.transitional||$m;s.timeoutErrorMessage&&(O=s.timeoutErrorMessage),l(new Et(O,B.clarifyTimeoutError?Et.ETIMEDOUT:Et.ECONNABORTED,e,C)),C=null},u===void 0&&f.setContentType(null),"setRequestHeader"in C&&K.forEach(f.toJSON(),function(O,B){C.setRequestHeader(B,O)}),K.isUndefined(s.withCredentials)||(C.withCredentials=!!s.withCredentials),p&&p!=="json"&&(C.responseType=s.responseType),m&&([T,S]=Jc(m,!0),C.addEventListener("progress",T)),h&&C.upload&&([v,x]=Jc(h),C.upload.addEventListener("progress",v),C.upload.addEventListener("loadend",x)),(s.cancelToken||s.signal)&&(y=j=>{C&&(l(!j||j.type?new ou(null,e,C):j),C.abort(),C=null)},s.cancelToken&&s.cancelToken.subscribe(y),s.signal&&(s.signal.aborted?y():s.signal.addEventListener("abort",y)));const L=L6(s.url);if(L&&vn.protocols.indexOf(L)===-1){l(new Et("Unsupported protocol "+L+":",Et.ERR_BAD_REQUEST,e));return}C.send(u||null)})},Q6=(e,a)=>{const{length:i}=e=e?e.filter(Boolean):[];if(a||i){let l=new AbortController,s;const u=function(m){if(!s){s=!0,p();const y=m instanceof Error?m:this.reason;l.abort(y instanceof Et?y:new ou(y instanceof Error?y.message:y))}};let f=a&&setTimeout(()=>{f=null,u(new Et(`timeout of ${a}ms exceeded`,Et.ETIMEDOUT))},a);const p=()=>{e&&(f&&clearTimeout(f),f=null,e.forEach(m=>{m.unsubscribe?m.unsubscribe(u):m.removeEventListener("abort",u)}),e=null)};e.forEach(m=>m.addEventListener("abort",u));const{signal:h}=l;return h.unsubscribe=()=>K.asap(p),h}},X6=function*(e,a){let i=e.byteLength;if(i<a){yield e;return}let l=0,s;for(;l<i;)s=l+a,yield e.slice(l,s),l=s},K6=async function*(e,a){for await(const i of F6(e))yield*X6(i,a)},F6=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const a=e.getReader();try{for(;;){const{done:i,value:l}=await a.read();if(i)break;yield l}}finally{await a.cancel()}},R1=(e,a,i,l)=>{const s=K6(e,a);let u=0,f,p=h=>{f||(f=!0,l&&l(h))};return new ReadableStream({async pull(h){try{const{done:m,value:y}=await s.next();if(m){p(),h.close();return}let v=y.byteLength;if(i){let T=u+=v;i(T)}h.enqueue(new Uint8Array(y))}catch(m){throw p(m),m}},cancel(h){return p(h),s.return()}},{highWaterMark:2})},O1=64*1024,{isFunction:_c}=K,I6=(({Request:e,Response:a})=>({Request:e,Response:a}))(K.global),{ReadableStream:A1,TextEncoder:M1}=K.global,_1=(e,...a)=>{try{return!!e(...a)}catch{return!1}},Z6=e=>{e=K.merge.call({skipUndefined:!0},I6,e);const{fetch:a,Request:i,Response:l}=e,s=a?_c(a):typeof fetch=="function",u=_c(i),f=_c(l);if(!s)return!1;const p=s&&_c(A1),h=s&&(typeof M1=="function"?(S=>b=>S.encode(b))(new M1):async S=>new Uint8Array(await new i(S).arrayBuffer())),m=u&&p&&_1(()=>{let S=!1;const b=new i(vn.origin,{body:new A1,method:"POST",get duplex(){return S=!0,"half"}}).headers.has("Content-Type");return S&&!b}),y=f&&p&&_1(()=>K.isReadableStream(new l("").body)),v={stream:y&&(S=>S.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(S=>{!v[S]&&(v[S]=(b,C)=>{let M=b&&b[S];if(M)return M.call(b);throw new Et(`Response type '${S}' is not supported`,Et.ERR_NOT_SUPPORT,C)})});const T=async S=>{if(S==null)return 0;if(K.isBlob(S))return S.size;if(K.isSpecCompliantForm(S))return(await new i(vn.origin,{method:"POST",body:S}).arrayBuffer()).byteLength;if(K.isArrayBufferView(S)||K.isArrayBuffer(S))return S.byteLength;if(K.isURLSearchParams(S)&&(S=S+""),K.isString(S))return(await h(S)).byteLength},x=async(S,b)=>{const C=K.toFiniteNumber(S.getContentLength());return C??T(b)};return async S=>{let{url:b,method:C,data:M,signal:L,cancelToken:j,timeout:O,onDownloadProgress:B,onUploadProgress:H,responseType:$,headers:Q,withCredentials:Z="same-origin",fetchOptions:W}=o2(S),et=a||fetch;$=$?($+"").toLowerCase():"text";let R=Q6([L,j&&j.toAbortSignal()],O),X=null;const I=R&&R.unsubscribe&&(()=>{R.unsubscribe()});let at;try{if(H&&m&&C!=="get"&&C!=="head"&&(at=await x(Q,M))!==0){let _=new i(b,{method:"POST",body:M,duplex:"half"}),V;if(K.isFormData(M)&&(V=_.headers.get("content-type"))&&Q.setContentType(V),_.body){const[lt,ot]=C1(at,Jc(T1(H)));M=R1(_.body,O1,lt,ot)}}K.isString(Z)||(Z=Z?"include":"omit");const D=u&&"credentials"in i.prototype,Y={...W,signal:R,method:C.toUpperCase(),headers:Q.normalize().toJSON(),body:M,duplex:"half",credentials:D?Z:void 0};X=u&&new i(b,Y);let it=await(u?et(X,W):et(b,Y));const st=y&&($==="stream"||$==="response");if(y&&(B||st&&I)){const _={};["status","statusText","headers"].forEach(ct=>{_[ct]=it[ct]});const V=K.toFiniteNumber(it.headers.get("content-length")),[lt,ot]=B&&C1(V,Jc(T1(B),!0))||[];it=new l(R1(it.body,O1,lt,()=>{ot&&ot(),I&&I()}),_)}$=$||"text";let dt=await v[K.findKey(v,$)||"text"](it,S);return!st&&I&&I(),await new Promise((_,V)=>{i2(_,V,{data:dt,headers:Ln.from(it.headers),status:it.status,statusText:it.statusText,config:S,request:X})})}catch(D){throw I&&I(),D&&D.name==="TypeError"&&/Load failed|fetch/i.test(D.message)?Object.assign(new Et("Network Error",Et.ERR_NETWORK,S,X,D&&D.response),{cause:D.cause||D}):Et.from(D,D&&D.code,S,X,D&&D.response)}}},W6=new Map,s2=e=>{let a=e&&e.env||{};const{fetch:i,Request:l,Response:s}=a,u=[l,s,i];let f=u.length,p=f,h,m,y=W6;for(;p--;)h=u[p],m=y.get(h),m===void 0&&y.set(h,m=p?new Map:Z6(a)),y=m;return m};s2();const Pm={http:m6,xhr:Y6,fetch:{get:s2}};K.forEach(Pm,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const z1=e=>`- ${e}`,J6=e=>K.isFunction(e)||e===null||e===!1;function t_(e,a){e=K.isArray(e)?e:[e];const{length:i}=e;let l,s;const u={};for(let f=0;f<i;f++){l=e[f];let p;if(s=l,!J6(l)&&(s=Pm[(p=String(l)).toLowerCase()],s===void 0))throw new Et(`Unknown adapter '${p}'`);if(s&&(K.isFunction(s)||(s=s.get(a))))break;u[p||"#"+f]=s}if(!s){const f=Object.entries(u).map(([h,m])=>`adapter ${h} `+(m===!1?"is not supported by the environment":"is not available in the build"));let p=i?f.length>1?`since :
`+f.map(z1).join(`
`):" "+z1(f[0]):"as no adapter specified";throw new Et("There is no suitable adapter to dispatch the request "+p,"ERR_NOT_SUPPORT")}return s}const u2={getAdapter:t_,adapters:Pm};function lh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ou(null,e)}function B1(e){return lh(e),e.headers=Ln.from(e.headers),e.data=ih.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),u2.getAdapter(e.adapter||lu.adapter,e)(e).then(function(l){return lh(e),l.data=ih.call(e,e.transformResponse,l),l.headers=Ln.from(l.headers),l},function(l){return r2(l)||(lh(e),l&&l.response&&(l.response.data=ih.call(e,e.transformResponse,l.response),l.response.headers=Ln.from(l.response.headers))),Promise.reject(l)})}const c2="1.13.6",Af={};["object","boolean","number","function","string","symbol"].forEach((e,a)=>{Af[e]=function(l){return typeof l===e||"a"+(a<1?"n ":" ")+e}});const D1={};Af.transitional=function(a,i,l){function s(u,f){return"[Axios v"+c2+"] Transitional option '"+u+"'"+f+(l?". "+l:"")}return(u,f,p)=>{if(a===!1)throw new Et(s(f," has been removed"+(i?" in "+i:"")),Et.ERR_DEPRECATED);return i&&!D1[f]&&(D1[f]=!0,console.warn(s(f," has been deprecated since v"+i+" and will be removed in the near future"))),a?a(u,f,p):!0}};Af.spelling=function(a){return(i,l)=>(console.warn(`${l} is likely a misspelling of ${a}`),!0)};function e_(e,a,i){if(typeof e!="object")throw new Et("options must be an object",Et.ERR_BAD_OPTION_VALUE);const l=Object.keys(e);let s=l.length;for(;s-- >0;){const u=l[s],f=a[u];if(f){const p=e[u],h=p===void 0||f(p,u,e);if(h!==!0)throw new Et("option "+u+" must be "+h,Et.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new Et("Unknown option "+u,Et.ERR_BAD_OPTION)}}const $c={assertOptions:e_,validators:Af},ca=$c.validators;let Wi=class{constructor(a){this.defaults=a||{},this.interceptors={request:new x1,response:new x1}}async request(a,i){try{return await this._request(a,i)}catch(l){if(l instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const u=s.stack?s.stack.replace(/^.+\n/,""):"";try{l.stack?u&&!String(l.stack).endsWith(u.replace(/^.+\n.+\n/,""))&&(l.stack+=`
`+u):l.stack=u}catch{}}throw l}}_request(a,i){typeof a=="string"?(i=i||{},i.url=a):i=a||{},i=nl(this.defaults,i);const{transitional:l,paramsSerializer:s,headers:u}=i;l!==void 0&&$c.assertOptions(l,{silentJSONParsing:ca.transitional(ca.boolean),forcedJSONParsing:ca.transitional(ca.boolean),clarifyTimeoutError:ca.transitional(ca.boolean),legacyInterceptorReqResOrdering:ca.transitional(ca.boolean)},!1),s!=null&&(K.isFunction(s)?i.paramsSerializer={serialize:s}:$c.assertOptions(s,{encode:ca.function,serialize:ca.function},!0)),i.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?i.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:i.allowAbsoluteUrls=!0),$c.assertOptions(i,{baseUrl:ca.spelling("baseURL"),withXsrfToken:ca.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let f=u&&K.merge(u.common,u[i.method]);u&&K.forEach(["delete","get","head","post","put","patch","common"],S=>{delete u[S]}),i.headers=Ln.concat(f,u);const p=[];let h=!0;this.interceptors.request.forEach(function(b){if(typeof b.runWhen=="function"&&b.runWhen(i)===!1)return;h=h&&b.synchronous;const C=i.transitional||$m;C&&C.legacyInterceptorReqResOrdering?p.unshift(b.fulfilled,b.rejected):p.push(b.fulfilled,b.rejected)});const m=[];this.interceptors.response.forEach(function(b){m.push(b.fulfilled,b.rejected)});let y,v=0,T;if(!h){const S=[B1.bind(this),void 0];for(S.unshift(...p),S.push(...m),T=S.length,y=Promise.resolve(i);v<T;)y=y.then(S[v++],S[v++]);return y}T=p.length;let x=i;for(;v<T;){const S=p[v++],b=p[v++];try{x=S(x)}catch(C){b.call(this,C);break}}try{y=B1.call(this,x)}catch(S){return Promise.reject(S)}for(v=0,T=m.length;v<T;)y=y.then(m[v++],m[v++]);return y}getUri(a){a=nl(this.defaults,a);const i=l2(a.baseURL,a.url,a.allowAbsoluteUrls);return n2(i,a.params,a.paramsSerializer)}};K.forEach(["delete","get","head","options"],function(a){Wi.prototype[a]=function(i,l){return this.request(nl(l||{},{method:a,url:i,data:(l||{}).data}))}});K.forEach(["post","put","patch"],function(a){function i(l){return function(u,f,p){return this.request(nl(p||{},{method:a,headers:l?{"Content-Type":"multipart/form-data"}:{},url:u,data:f}))}}Wi.prototype[a]=i(),Wi.prototype[a+"Form"]=i(!0)});let n_=class f2{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(u){i=u});const l=this;this.promise.then(s=>{if(!l._listeners)return;let u=l._listeners.length;for(;u-- >0;)l._listeners[u](s);l._listeners=null}),this.promise.then=s=>{let u;const f=new Promise(p=>{l.subscribe(p),u=p}).then(s);return f.cancel=function(){l.unsubscribe(u)},f},a(function(u,f,p){l.reason||(l.reason=new ou(u,f,p),i(l.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const i=this._listeners.indexOf(a);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){const a=new AbortController,i=l=>{a.abort(l)};return this.subscribe(i),a.signal.unsubscribe=()=>this.unsubscribe(i),a.signal}static source(){let a;return{token:new f2(function(s){a=s}),cancel:a}}};function a_(e){return function(i){return e.apply(null,i)}}function r_(e){return K.isObject(e)&&e.isAxiosError===!0}const tm={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(tm).forEach(([e,a])=>{tm[a]=e});function d2(e){const a=new Wi(e),i=Yx(Wi.prototype.request,a);return K.extend(i,Wi.prototype,a,{allOwnKeys:!0}),K.extend(i,a,null,{allOwnKeys:!0}),i.create=function(s){return d2(nl(e,s))},i}const je=d2(lu);je.Axios=Wi;je.CanceledError=ou;je.CancelToken=n_;je.isCancel=r2;je.VERSION=c2;je.toFormData=Of;je.AxiosError=Et;je.Cancel=je.CanceledError;je.all=function(a){return Promise.all(a)};je.spread=a_;je.isAxiosError=r_;je.mergeConfig=nl;je.AxiosHeaders=Ln;je.formToJSON=e=>a2(K.isHTMLForm(e)?new FormData(e):e);je.getAdapter=u2.getAdapter;je.HttpStatusCode=tm;je.default=je;const{Axios:oz,AxiosError:sz,CanceledError:uz,isCancel:cz,CancelToken:fz,VERSION:dz,all:pz,Cancel:hz,isAxiosError:mz,spread:yz,toFormData:gz,AxiosHeaders:vz,HttpStatusCode:bz,formToJSON:Sz,getAdapter:xz,mergeConfig:Ez}=je,i_=()=>window.PlugixaRecipeConfig||{},il=je.create({timeout:3e4});il.interceptors.request.use(e=>{const{apiUrl:a,nonce:i}=i_();return e.baseURL=a,e.headers["X-WP-Nonce"]=i,e.headers["Content-Type"]="application/json",e});il.interceptors.response.use(e=>e.data,e=>{var l,s,u,f,p,h;const a=((s=(l=e.response)==null?void 0:l.data)==null?void 0:s.message)||e.message||"An error occurred",i=((p=(f=(u=e.response)==null?void 0:u.data)==null?void 0:f.data)==null?void 0:p.errors)||{};return Promise.reject({message:a,errors:i,status:((h=e.response)==null?void 0:h.status)||500})});const oh=(e,a={})=>il.get(e,{params:a}),j1=(e,a={})=>il.post(e,a),Cz=(e,a={})=>il.put(e,a),Tz=(e,a={})=>il.patch(e,a),l_=(e,a={})=>il.delete(e,{data:a}),Zl="/multilingual",o_={getLanguages:()=>oh(`${Zl}/languages`),getStatus:(e,a)=>oh(`${Zl}/status/${e}/${a}`),getTranslations:(e,a)=>oh(`${Zl}/translations/${e}/${a}`),createTranslation:(e,a,i)=>j1(`${Zl}/translations`,{entity_type:e,entity_id:a,language:i}),linkTranslations:(e,a)=>j1(`${Zl}/link`,{entity_type:e,ids:a}),unlinkTranslation:(e,a)=>l_(`${Zl}/unlink/${e}/${a}`)},p2=w.createContext(null),sh="plugixarecipe_admin_language";function s_({children:e}){var v,T,x,S;const[a,i]=w.useState(()=>localStorage.getItem(sh)),{data:l,isLoading:s}=bw({queryKey:["multilingual","languages"],queryFn:()=>o_.getLanguages(),staleTime:300*1e3,refetchOnWindowFocus:!1}),u=((v=l==null?void 0:l.data)==null?void 0:v.is_active)||!1,f=((T=l==null?void 0:l.data)==null?void 0:T.languages)||[],p=((x=l==null?void 0:l.data)==null?void 0:x.default)||"",h=((S=l==null?void 0:l.data)==null?void 0:S.plugin)||"none";w.useEffect(()=>{var b;if(a===null&&((b=l==null?void 0:l.data)!=null&&b.current)){const C=l.data.current;i(C),localStorage.setItem(sh,C)}},[l,a]);const m=w.useCallback(b=>{i(b),localStorage.setItem(sh,b)},[]),y=w.useMemo(()=>({currentLanguage:a??p,setLanguage:m,languages:f,defaultLanguage:p,isMultilingual:u,isLoading:s,plugin:h}),[a,m,f,p,u,s,h]);return A.jsx(p2.Provider,{value:y,children:e})}function u_(){const e=w.useContext(p2);if(!e)throw new Error("useLanguage must be used within LanguageProvider");return e}const h2=w.createContext(void 0),c_=({children:e})=>{const[a,i]=w.useState([]),l=w.useCallback((y,v="info",T=5e3)=>{const x=`toast-${Date.now()}-${Math.random().toString(36).slice(2)}`;i(S=>[...S,{id:x,message:y,severity:v,duration:T}])},[]),s=w.useCallback(y=>l(y,"success"),[l]),u=w.useCallback(y=>l(y,"error",8e3),[l]),f=w.useCallback(y=>l(y,"warning"),[l]),p=w.useCallback(y=>l(y,"info"),[l]),h=w.useCallback(y=>{i(v=>v.filter(T=>T.id!==y))},[]),m=w.useMemo(()=>({showToast:l,showSuccess:s,showError:u,showWarning:f,showInfo:p}),[l,s,u,f,p]);return A.jsxs(h2.Provider,{value:m,children:[e,a.map((y,v)=>A.jsx(F4,{open:!0,autoHideDuration:y.duration,onClose:()=>h(y.id),anchorOrigin:{vertical:"bottom",horizontal:"right"},sx:{bottom:`${v*60+24}px !important`},children:A.jsx(_x,{onClose:()=>h(y.id),severity:y.severity,variant:"filled",sx:{width:"100%"},children:y.message})},y.id))]})},wz=()=>{const e=w.useContext(h2);if(!e)throw new Error("useToast must be used within a ToastProvider");return e},m2=w.createContext(void 0),f_=({children:e})=>{const[a,i]=w.useState(null),l=w.useCallback(f=>{i(f)},[]),s=w.useCallback(()=>{i(null)},[]),u=w.useMemo(()=>({actions:a,setActions:l,clearActions:s}),[a,l,s]);return A.jsx(m2.Provider,{value:u,children:e})},d_=()=>{const e=w.useContext(m2);if(!e)throw new Error("useTopBarActions must be used within a TopBarActionsProvider");return e},p_=new iw({defaultOptions:{queries:{staleTime:300*1e3,gcTime:600*1e3,retry:1,refetchOnWindowFocus:!1},mutations:{retry:0}}}),Rt={recipes:{all:["recipes"],lists:()=>[...Rt.recipes.all,"list"],list:e=>[...Rt.recipes.lists(),e],details:()=>[...Rt.recipes.all,"detail"],detail:e=>[...Rt.recipes.details(),e]},categories:{all:["categories"],lists:()=>[...Rt.categories.all,"list"],list:e=>[...Rt.categories.lists(),e],details:()=>[...Rt.categories.all,"detail"],detail:e=>[...Rt.categories.details(),e]},cuisines:{all:["cuisines"],lists:()=>[...Rt.cuisines.all,"list"],list:e=>[...Rt.cuisines.lists(),e],details:()=>[...Rt.cuisines.all,"detail"],detail:e=>[...Rt.cuisines.details(),e]},courses:{all:["courses"],lists:()=>[...Rt.courses.all,"list"],list:e=>[...Rt.courses.lists(),e],details:()=>[...Rt.courses.all,"detail"],detail:e=>[...Rt.courses.details(),e]},reviews:{all:["reviews"],lists:()=>[...Rt.reviews.all,"list"],list:e=>[...Rt.reviews.lists(),e],details:()=>[...Rt.reviews.all,"detail"],detail:e=>[...Rt.reviews.details(),e]},collections:{all:["collections"],lists:()=>[...Rt.collections.all,"list"],list:e=>[...Rt.collections.lists(),e],details:()=>[...Rt.collections.all,"detail"],detail:e=>[...Rt.collections.details(),e],recipes:e=>[...Rt.collections.detail(e),"recipes"]},shoppingLists:{all:["shoppingLists"],lists:()=>[...Rt.shoppingLists.all,"list"],list:e=>[...Rt.shoppingLists.lists(),e],details:()=>[...Rt.shoppingLists.all,"detail"],detail:e=>[...Rt.shoppingLists.details(),e]},favorites:{all:["favorites"],list:()=>[...Rt.favorites.all,"list"],check:e=>[...Rt.favorites.all,"check",e]},units:{all:["units"],list:()=>[...Rt.units.all,"list"]},views:{all:["views"],lists:()=>[...Rt.views.all,"list"],list:e=>[...Rt.views.lists(),e],details:()=>[...Rt.views.all,"detail"],detail:e=>[...Rt.views.details(),e],defaultConfig:()=>[...Rt.views.all,"defaultConfig"]},shortcodes:{all:["shortcodes"],lists:()=>[...Rt.shortcodes.all,"list"],list:e=>[...Rt.shortcodes.lists(),e],details:()=>[...Rt.shortcodes.all,"detail"],detail:e=>[...Rt.shortcodes.details(),e]},settings:{all:["settings"]},dashboard:{all:["dashboard"],stats:()=>[...Rt.dashboard.all,"stats"]},googleFonts:{all:["googleFonts"]},multilingual:{languages:()=>["multilingual","languages"],status:(e,a)=>["multilingual","status",e,a],translations:(e,a)=>["multilingual","translations",e,a]},ingredients:{byRecipe:e=>["ingredients",e]},instructions:{byRecipe:e=>["instructions",e]},nutrition:{byRecipe:e=>["nutrition",e]}},h_=[],m_={all:()=>h_.slice()},N1=[],U1={all:()=>N1.slice().sort((e,a)=>(e.order??100)-(a.order??100)),prefetchFor:e=>{var a;return(a=N1.find(i=>i.path===e))==null?void 0:a.prefetch}},uh=[],ch=e=>e.slice().sort((a,i)=>(a.order??100)-(i.order??100)),Rz={all:()=>ch(uh),tabs:()=>ch(uh.filter(e=>(e.slot??"tab")==="tab")),slots:e=>ch(uh.filter(a=>a.slot===e))},L1=[],H1=e=>e.slice().sort((a,i)=>(a.order??100)-(i.order??100)),Oz={tabs:()=>H1(L1.filter(e=>(e.zone??"tab")==="tab")),zone:e=>H1(L1.filter(a=>(a.zone??"tab")===e))},y_=Ve(A.jsx("path",{d:"M7 14H5v5h5v-2H7zm-2-4h2V7h3V5H5zm12 7h-3v2h5v-5h-2zM14 5v2h3v3h2V5z"})),g_=Ve(A.jsx("path",{d:"M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"})),v_=Ve(A.jsx("path",{d:"M3 13h8V3H3zm0 8h8v-6H3zm10 0h8V11h-8zm0-18v6h8V3z"})),b_=Ve(A.jsx("path",{d:"m8.1 13.34 2.83-2.83L3.91 3.5c-1.56 1.56-1.56 4.09 0 5.66zm6.78-1.81c1.53.71 3.68.21 5.27-1.38 1.91-1.91 2.28-4.65.81-6.12-1.46-1.46-4.2-1.1-6.12.81-1.59 1.59-2.09 3.74-1.38 5.27L3.7 19.87l1.41 1.41L12 14.41l6.88 6.88 1.41-1.41L13.41 13z"})),S_=Ve([A.jsx("path",{d:"m12 2-5.5 9h11z"},"0"),A.jsx("circle",{cx:"17.5",cy:"17.5",r:"4.5"},"1"),A.jsx("path",{d:"M3 13.5h8v8H3z"},"2")]),x_=Ve(A.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39"})),E_=Ve(A.jsx("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2M6 14v-2.47l6.88-6.88c.2-.2.51-.2.71 0l1.77 1.77c.2.2.2.51 0 .71L8.47 14zm12 0h-7.5l2-2H18z"})),C_=Ve([A.jsx("path",{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4z"},"0"),A.jsx("path",{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 10-2.5-1.5L15 12V4h5z"},"1")]),T_=Ve(A.jsx("path",{d:"M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2M1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2"})),w_=Ve(A.jsx("path",{d:"M21 5v6.5H9.33V5zm-6.33 14v-6.5H9.33V19zm1-6.5V19H21v-6.5zM8.33 19V5H3v14z"})),R_=Ve(A.jsx("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"})),O_=Ve(A.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}));function A_(){const{i18n:e}=Gx(),{currentLanguage:a,setLanguage:i}=u_(),l=w.useCallback((u,f="")=>e[u]??f??u,[e]),s=w.useCallback((u,f={},p="")=>{let h=e[u]??p??u;return Object.entries(f).forEach(([m,y])=>{h=h.replace(new RegExp(`\\{${m}\\}`,"g"),String(y))}),h},[e]);return{t:l,tp:s,currentLanguage:a,setLanguage:i}}const M_=[{labelKey:"dashboard",label:"Dashboard",path:"/dashboard",icon:v_,order:10},{labelKey:"recipes",label:"Recipes",path:"/recipes",icon:b_,order:20},{labelKey:"categories",label:"Categories",path:"/categories",icon:S_,order:30},{labelKey:"cuisines",label:"Cuisines",path:"/cuisines",icon:x_,order:40},{labelKey:"reviews",label:"Reviews",path:"/reviews",icon:E_,order:50},{labelKey:"collections",label:"Collections",path:"/collections",icon:C_,order:60},{labelKey:"shopping_lists",label:"Shopping Lists",path:"/shopping-lists",icon:T_,order:70},{labelKey:"views",label:"Views",path:"/views",icon:w_,order:80},{labelKey:"shortcodes",label:"Shortcodes",path:"/shortcodes",icon:R_,order:90},{labelKey:"settings",label:"Settings",path:"/settings",icon:O_,order:100}],__=({children:e})=>{const a=yS(),i=nf(),{actions:l}=d_(),{settings:s}=Gx(),{t:u}=A_(),[f,p]=w.useState(!1),h=s,m=w.useMemo(()=>[...M_,...U1.all()].sort((x,S)=>(x.order??100)-(S.order??100)).filter(x=>!(x.requiresSetting&&!h[x.requiresSetting])),[h]),y=w.useMemo(()=>{var b;const x=i.pathname,S=m.find(C=>x===C.path||x.startsWith(C.path+"/"));return(S==null?void 0:S.path)??((b=m[0])==null?void 0:b.path)??"/dashboard"},[i.pathname,m]),v=(x,S)=>{a(S)},T=()=>{const x=document.getElementById("plugixarecipe-root");x&&(f?(x.style.position="",x.style.top="",x.style.left="",x.style.right="",x.style.bottom="",x.style.zIndex="",x.style.backgroundColor="",x.style.overflow=""):(x.style.position="fixed",x.style.top="0",x.style.left="0",x.style.right="0",x.style.bottom="0",x.style.zIndex="99999",x.style.backgroundColor="#f0f0f1",x.style.overflow="auto"),p(!f))};return A.jsxs(tn,{sx:{minHeight:"100vh"},children:[A.jsxs(tn,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",px:2,py:1,borderBottom:"1px solid #e0e0e0",backgroundColor:"#fff",position:"sticky",top:0,zIndex:100},children:[A.jsx(Nc,{variant:"h6",sx:{fontWeight:700,fontSize:"16px",color:"#1d2327"},children:"PlugixaRecipe"}),A.jsxs(tn,{sx:{display:"flex",alignItems:"center",gap:1},children:[l,A.jsx(nM,{title:f?"Exit Fullscreen":"Fullscreen",children:A.jsx(Mx,{size:"small",onClick:T,children:f?A.jsx(g_,{}):A.jsx(y_,{})})})]})]}),A.jsx(tn,{sx:{borderBottom:"1px solid #e0e0e0",backgroundColor:"#fff",position:"sticky",top:49,zIndex:99},children:A.jsx(wM,{value:y,onChange:v,variant:"scrollable",scrollButtons:"auto",sx:{"& .MuiTab-root":{minHeight:"40px",py:.5,px:1.5,fontSize:"12px"}},children:m.map(x=>{const S=x.icon;return A.jsx(lM,{value:x.path,label:u(x.labelKey,x.label),icon:A.jsx(S,{fontSize:"small"}),iconPosition:"start",onMouseEnter:()=>{var b;return(b=U1.prefetchFor(x.path))==null?void 0:b()},sx:{gap:.5,"& .MuiSvgIcon-root":{fontSize:"16px"}}},x.path)})})}),A.jsx(tn,{sx:{p:2},children:e})]})},z_=({variant:e="table"})=>e==="dashboard"?A.jsxs(tn,{children:[A.jsx(tn,{sx:{display:"flex",gap:2,mb:3},children:[1,2,3,4].map(a=>A.jsx(fn,{variant:"rounded",width:"25%",height:100},a))}),A.jsxs(tn,{sx:{display:"flex",gap:2},children:[A.jsx(fn,{variant:"rounded",width:"60%",height:300}),A.jsx(fn,{variant:"rounded",width:"40%",height:300})]})]}):e==="form"?A.jsxs(tn,{children:[A.jsx(fn,{variant:"text",width:200,height:32,sx:{mb:2}}),[1,2,3,4,5].map(a=>A.jsxs(tn,{sx:{mb:2},children:[A.jsx(fn,{variant:"text",width:120,height:20,sx:{mb:.5}}),A.jsx(fn,{variant:"rounded",width:"100%",height:40})]},a)),A.jsxs(tn,{sx:{display:"flex",gap:1,mt:3},children:[A.jsx(fn,{variant:"rounded",width:100,height:36}),A.jsx(fn,{variant:"rounded",width:80,height:36})]})]}):A.jsxs(tn,{children:[A.jsxs(tn,{sx:{display:"flex",justifyContent:"space-between",mb:2},children:[A.jsx(fn,{variant:"text",width:200,height:32}),A.jsxs(tn,{sx:{display:"flex",gap:1},children:[A.jsx(fn,{variant:"rounded",width:100,height:36}),A.jsx(fn,{variant:"rounded",width:100,height:36})]})]}),A.jsxs(tn,{sx:{display:"flex",gap:1,mb:2},children:[A.jsx(fn,{variant:"rounded",width:300,height:40}),A.jsx(fn,{variant:"rounded",width:120,height:40}),A.jsx(fn,{variant:"rounded",width:120,height:40})]}),A.jsx(fn,{variant:"rounded",width:"100%",height:44,sx:{mb:.5}}),[1,2,3,4,5,6,7,8].map(a=>A.jsx(fn,{variant:"rounded",width:"100%",height:52,sx:{mb:.5}},a)),A.jsx(tn,{sx:{display:"flex",justifyContent:"flex-end",mt:2},children:A.jsx(fn,{variant:"rounded",width:300,height:32})})]}),B_=Ve(A.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}));class D_ extends w.Component{constructor(i){super(i);Gl(this,"handleReset",()=>{this.setState({hasError:!1,error:null,errorInfo:null})});this.state={hasError:!1,error:null,errorInfo:null}}static getDerivedStateFromError(i){return{hasError:!0,error:i}}componentDidCatch(i,l){this.setState({errorInfo:l}),console.error("[PlugixaRecipe] Error caught by boundary:",i,l)}render(){return this.state.hasError?this.props.fallback?this.props.fallback:A.jsxs(tn,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:"400px",p:4,textAlign:"center"},children:[A.jsx(B_,{sx:{fontSize:64,color:"error.main",mb:2}}),A.jsx(Nc,{variant:"h5",gutterBottom:!0,children:"Something went wrong"}),A.jsx(Nc,{variant:"body2",color:"text.secondary",sx:{mb:3,maxWidth:500},children:"An unexpected error occurred in the PlugixaRecipe admin panel. Please try again or contact support if the issue persists."}),this.state.error&&A.jsx(_x,{severity:"error",sx:{mb:2,maxWidth:600,textAlign:"left"},children:A.jsx(Nc,{variant:"body2",sx:{fontFamily:"monospace",fontSize:"12px"},children:this.state.error.message})}),A.jsxs(tn,{sx:{display:"flex",gap:1},children:[A.jsx(f1,{variant:"contained",onClick:this.handleReset,children:"Try Again"}),A.jsx(f1,{variant:"outlined",onClick:()=>window.location.reload(),children:"Reload Page"})]})]}):this.props.children}}const k1="#plugixarecipe-root";function j_(e){var a;if(e.type==="rule"){if(((a=e.root)==null?void 0:a.type)==="@keyframes")return;e.props=e.props.map(i=>i.includes(k1)?i:`${k1} ${i}`)}}const N_=kS({key:"plugixa-r",prepend:!0,stylisPlugins:[j_]}),U_=w.lazy(()=>ze(()=>import("./index-CFsI42wJ.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url)),L_=w.lazy(()=>ze(()=>import("./index-BEgjY8n2.js"),__vite__mapDeps([7,8,9,10,11,4,12,3,13,14,15,6,16,17,18,1,19,20,21,22,23,5]),import.meta.url)),H_=w.lazy(()=>ze(()=>import("./index-B9gtxdqv.js"),__vite__mapDeps([24,8,25,10,11,4,12,3,13,14,15,6,26,22,23,5,20,21]),import.meta.url)),k_=w.lazy(()=>ze(()=>import("./index-Bd94unt4.js"),__vite__mapDeps([27,8,28,10,11,4,12,3,13,14,15,6,26,22,23,5,20,21]),import.meta.url)),$_=w.lazy(()=>ze(()=>import("./index-DdSy3C64.js"),__vite__mapDeps([29,8,30,10,11,4,12,3,13,14,15,6,16,18,1,19,20,21,23,5]),import.meta.url)),q_=w.lazy(()=>ze(()=>import("./index-BQHg6EoD.js"),__vite__mapDeps([31,8,32,10,11,4,12,3,13,14,15,6,16,22,23,5]),import.meta.url)),P_=w.lazy(()=>ze(()=>import("./index-DfFFVH_d.js"),__vite__mapDeps([33,8,34,10,11,4,12,3,13,14,15,6,16,23,5,35]),import.meta.url)),V_=w.lazy(()=>ze(()=>import("./index-Dbed4sqS.js"),__vite__mapDeps([36,8,37,10,11,4,12,3,13,14,15,6,38,39,22,40,5,41,1]),import.meta.url)),G_=w.lazy(()=>ze(()=>import("./index-DKzBR9ue.js"),__vite__mapDeps([42,8,43,10,11,4,12,3,13,14,15,6,16,37,38,39,22,40,5]),import.meta.url)),Y_=w.lazy(()=>ze(()=>import("./index-DGpYmxu9.js"),__vite__mapDeps([44,45,12,3,2,4]),import.meta.url)),$1=w.lazy(()=>ze(()=>import("./index-C0mWk_U-.js"),__vite__mapDeps([46,8,47,41,1,39,45,12,3,2,13,14,19,48,21,49,50,38,51]),import.meta.url)),q1=w.lazy(()=>ze(()=>import("./RecipeForm-B-2M84Ln.js"),__vite__mapDeps([52,53,54,47,2,3,55,8,45,12,56,15,9,25,28,57,35,19,48,21,58,11,6,22,13,14]),import.meta.url)),P1=w.lazy(()=>ze(()=>import("./CategoryForm-DwCJudY-.js"),__vite__mapDeps([59,53,54,47,2,3,55,45,12,56,15,8,25,13,14]),import.meta.url)),V1=w.lazy(()=>ze(()=>import("./CuisineForm-BMGeokgA.js"),__vite__mapDeps([60,53,54,47,2,3,55,45,12,56,15,8,28,13,14]),import.meta.url)),G1=w.lazy(()=>ze(()=>import("./CollectionForm-BlAXOJkD.js"),__vite__mapDeps([61,53,54,47,2,3,55,45,12,56,15,8,32,13,14,19,48,21]),import.meta.url)),Y1=w.lazy(()=>ze(()=>import("./ViewForm-CyJV4YWs.js"),__vite__mapDeps([62,8,38,12,3,49,50,37,45,58,11,6,54,47,2,13,14,19,48,21,23]),import.meta.url)),Q1=w.lazy(()=>ze(()=>import("./ShortcodeForm-nxslKeZW.js"),__vite__mapDeps([63,8,43,37,25,28,57,45,12,3,54,47,2,51,13,14,58,11,6,19,48,21,49,50]),import.meta.url)),Q_=w.lazy(()=>ze(()=>import("./ReviewEditForm-D4Wffdq-.js"),__vite__mapDeps([64,53,54,47,2,3,55,8,45,12,30,13,14,50]),import.meta.url)),X_=w.lazy(()=>ze(()=>import("./ShoppingListEditForm-CIkjlVEO.js"),__vite__mapDeps([65,53,54,47,2,3,8,45,12,34,14,20,21,19,48]),import.meta.url)),K_=w.lazy(()=>ze(()=>import("./RecipeOrdering-BxFXx8rF.js"),__vite__mapDeps([66,8,67,9,25,17,16,6,54,23,47]),import.meta.url)),F_=w.lazy(()=>ze(()=>import("./CategoryOrdering-CLxTKeEX.js"),__vite__mapDeps([68,8,67,25,54,47]),import.meta.url)),I_=w.lazy(()=>ze(()=>import("./CuisineOrdering-CcrTgFkf.js"),__vite__mapDeps([69,8,67,28,54,47]),import.meta.url)),Z_=bf({palette:{primary:{main:"#2271b1",light:"#72aee6",dark:"#135e96"},secondary:{main:"#1d2327"},success:{main:"#00a32a"},warning:{main:"#dba617"},error:{main:"#d63638"},background:{default:"#f0f0f1",paper:"#ffffff"}},typography:{fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',h1:{fontSize:"1.75rem",fontWeight:600},h2:{fontSize:"1.5rem",fontWeight:600},h3:{fontSize:"1.25rem",fontWeight:600}},components:{MuiPopover:{defaultProps:{container:()=>document.getElementById("plugixarecipe-root")}},MuiPopper:{defaultProps:{container:()=>document.getElementById("plugixarecipe-root")}},MuiModal:{defaultProps:{container:()=>document.getElementById("plugixarecipe-root")}},MuiMenu:{defaultProps:{container:()=>document.getElementById("plugixarecipe-root")},styleOverrides:{root:{zIndex:100001}}},MuiAutocomplete:{defaultProps:{slotProps:{popper:{sx:{zIndex:100001}}}}},MuiDialog:{defaultProps:{container:()=>document.getElementById("plugixarecipe-root")},styleOverrides:{root:{zIndex:1e5}}},MuiTooltip:{defaultProps:{slotProps:{popper:{container:()=>document.getElementById("plugixarecipe-root")}}}},MuiButton:{styleOverrides:{root:{textTransform:"none",borderRadius:4}}},MuiCard:{styleOverrides:{root:{borderRadius:4,boxShadow:"0 1px 1px rgba(0,0,0,.04)",border:"1px solid #c3c4c7"}}},MuiTableCell:{styleOverrides:{head:{fontWeight:600,backgroundColor:"#f6f7f7"}}}}});function W_(){return A.jsx(D_,{children:A.jsx(iR,{value:N_,children:A.jsx(ow,{client:p_,children:A.jsx(RM,{children:A.jsx(s_,{children:A.jsxs(PA,{theme:Z_,children:[A.jsx(z4,{}),A.jsx(c_,{children:A.jsx(f_,{children:A.jsx(NT,{future:{v7_startTransition:!0,v7_relativeSplatPath:!0},children:A.jsx(__,{children:A.jsx(w.Suspense,{fallback:A.jsx(z_,{}),children:A.jsxs(BT,{children:[A.jsx(Yt,{path:"/",element:A.jsx(Zv,{to:"/dashboard",replace:!0})}),A.jsx(Yt,{path:"/dashboard",element:A.jsx(U_,{})}),A.jsx(Yt,{path:"/recipes",element:A.jsx(L_,{})}),A.jsx(Yt,{path:"/recipes/new",element:A.jsx(q1,{})}),A.jsx(Yt,{path:"/recipes/:id",element:A.jsx(q1,{})}),A.jsx(Yt,{path:"/recipes/ordering",element:A.jsx(K_,{})}),A.jsx(Yt,{path:"/categories",element:A.jsx(H_,{})}),A.jsx(Yt,{path:"/categories/new",element:A.jsx(P1,{})}),A.jsx(Yt,{path:"/categories/:id",element:A.jsx(P1,{})}),A.jsx(Yt,{path:"/categories/ordering",element:A.jsx(F_,{})}),A.jsx(Yt,{path:"/cuisines",element:A.jsx(k_,{})}),A.jsx(Yt,{path:"/cuisines/new",element:A.jsx(V1,{})}),A.jsx(Yt,{path:"/cuisines/:id",element:A.jsx(V1,{})}),A.jsx(Yt,{path:"/cuisines/ordering",element:A.jsx(I_,{})}),A.jsx(Yt,{path:"/reviews",element:A.jsx($_,{})}),A.jsx(Yt,{path:"/reviews/:id",element:A.jsx(Q_,{})}),A.jsx(Yt,{path:"/collections",element:A.jsx(q_,{})}),A.jsx(Yt,{path:"/collections/new",element:A.jsx(G1,{})}),A.jsx(Yt,{path:"/collections/:id",element:A.jsx(G1,{})}),A.jsx(Yt,{path:"/shopping-lists",element:A.jsx(P_,{})}),A.jsx(Yt,{path:"/shopping-lists/:id",element:A.jsx(X_,{})}),A.jsx(Yt,{path:"/views",element:A.jsx(V_,{})}),A.jsx(Yt,{path:"/views/new",element:A.jsx(Y1,{})}),A.jsx(Yt,{path:"/views/:id",element:A.jsx(Y1,{})}),A.jsx(Yt,{path:"/shortcodes",element:A.jsx(G_,{})}),A.jsx(Yt,{path:"/shortcodes/new",element:A.jsx(Q1,{})}),A.jsx(Yt,{path:"/shortcodes/:id",element:A.jsx(Q1,{})}),A.jsx(Yt,{path:"/nutrition",element:A.jsx(Y_,{})}),A.jsx(Yt,{path:"/settings",element:A.jsx($1,{})}),A.jsx(Yt,{path:"/settings/:tab",element:A.jsx($1,{})}),m_.all().map(e=>A.jsx(Yt,{path:e.path,element:e.element},e.path)),A.jsx(Yt,{path:"*",element:A.jsx(Zv,{to:"/dashboard",replace:!0})})]})})})})})})]})})})})})})}const X1=window.PlugixaRecipeConfig||{};X1.initialRoute&&!window.location.hash&&(window.location.hash=X1.initialRoute);const K1=document.getElementById("plugixarecipe-root");K1&&kC.createRoot(K1).render(A.jsx(Ma.StrictMode,{children:A.jsx(W_,{})}));export{_x as $,wz as A,tn as B,f1 as C,Ax as D,S_ as E,nM as F,T_ as G,R_ as H,Mx as I,Ot as J,si as K,tu as L,vf as M,gx as N,xr as O,z_ as P,Qa as Q,qc as R,Cf as S,Nc as T,bx as U,Sx as V,r5 as W,Fb as X,gf as Y,sM as Z,oM as _,en as a,j1 as a0,A_ as a1,wM as a2,lM as a3,O_ as a4,Rz as a5,Cz as a6,l_ as a7,Oz as a8,Is as a9,Ws as aA,az as aB,wO as aC,Em as aD,vx as aE,tl as aF,B4 as aG,l4 as aH,Wc as aI,Qs as aJ,hh as aK,_s as aL,nw as aM,pn as aN,Bn as aO,CS as aP,rl as aa,tz as ab,nf as ac,Qc as ad,xf as ae,KA as af,_O as ag,ci as ah,ma as ai,Ii as aj,$h as ak,Fc as al,i5 as am,Hs as an,HA as ao,Qb as ap,P5 as aq,$x as ar,Tz as as,JS as at,br as au,nz as av,vm as aw,Dn as ax,ez as ay,Sm as az,qe as b,Ve as c,Gt as d,bn as e,nm as f,hn as g,am as h,lS as i,A as j,XS as k,oh as l,Ke as m,bw as n,b_ as o,x_ as p,E_ as q,w as r,Lt as s,C_ as t,nn as u,Ox as v,Rt as w,Ma as x,yS as y,lw as z};
