- Pre-built frontend 'dist' folder committed to skip npm install on Pi. - Backend package.json updated to stable dependencies (express 4.x, multer 1.4). - Added npm 'overrides' to explicitly block mdns2 installation. - Updated setup.sh to use --package-lock=false for a guaranteed clean install.
10 lines
249 KiB
JavaScript
10 lines
249 KiB
JavaScript
(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const m of document.querySelectorAll('link[rel="modulepreload"]'))f(m);new MutationObserver(m=>{for(const T of m)if(T.type==="childList")for(const D of T.addedNodes)D.tagName==="LINK"&&D.rel==="modulepreload"&&f(D)}).observe(document,{childList:!0,subtree:!0});function s(m){const T={};return m.integrity&&(T.integrity=m.integrity),m.referrerPolicy&&(T.referrerPolicy=m.referrerPolicy),m.crossOrigin==="use-credentials"?T.credentials="include":m.crossOrigin==="anonymous"?T.credentials="omit":T.credentials="same-origin",T}function f(m){if(m.ep)return;m.ep=!0;const T=s(m);fetch(m.href,T)}})();var zs={exports:{}},Ln={};var kh;function Vy(){if(kh)return Ln;kh=1;var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(f,m,T){var D=null;if(T!==void 0&&(D=""+T),m.key!==void 0&&(D=""+m.key),"key"in m){T={};for(var w in m)w!=="key"&&(T[w]=m[w])}else T=m;return m=T.ref,{$$typeof:r,type:f,key:D,ref:m!==void 0?m:null,props:T}}return Ln.Fragment=i,Ln.jsx=s,Ln.jsxs=s,Ln}var Wh;function Zy(){return Wh||(Wh=1,zs.exports=Vy()),zs.exports}var _=Zy(),Os={exports:{}},Z={};var $h;function Ky(){if($h)return Z;$h=1;var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),T=Symbol.for("react.consumer"),D=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),N=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),Y=Symbol.for("react.activity"),at=Symbol.iterator;function Gt(y){return y===null||typeof y!="object"?null:(y=at&&y[at]||y["@@iterator"],typeof y=="function"?y:null)}var jt={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Rt=Object.assign,pe={};function Jt(y,O,C){this.props=y,this.context=O,this.refs=pe,this.updater=C||jt}Jt.prototype.isReactComponent={},Jt.prototype.setState=function(y,O){if(typeof y!="object"&&typeof y!="function"&&y!=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,y,O,"setState")},Jt.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};function qe(){}qe.prototype=Jt.prototype;function Ct(y,O,C){this.props=y,this.context=O,this.refs=pe,this.updater=C||jt}var $t=Ct.prototype=new qe;$t.constructor=Ct,Rt($t,Jt.prototype),$t.isPureReactComponent=!0;var ve=Array.isArray;function Vt(){}var W={H:null,A:null,T:null,S:null},qt=Object.prototype.hasOwnProperty;function ne(y,O,C){var B=C.ref;return{$$typeof:r,type:y,key:O,ref:B!==void 0?B:null,props:C}}function ol(y,O){return ne(y.type,O,y.props)}function ge(y){return typeof y=="object"&&y!==null&&y.$$typeof===r}function Zt(y){var O={"=":"=0",":":"=2"};return"$"+y.replace(/[=:]/g,function(C){return O[C]})}var Ze=/\/+/g;function De(y,O){return typeof y=="object"&&y!==null&&y.key!=null?Zt(""+y.key):O.toString(36)}function ue(y){switch(y.status){case"fulfilled":return y.value;case"rejected":throw y.reason;default:switch(typeof y.status=="string"?y.then(Vt,Vt):(y.status="pending",y.then(function(O){y.status==="pending"&&(y.status="fulfilled",y.value=O)},function(O){y.status==="pending"&&(y.status="rejected",y.reason=O)})),y.status){case"fulfilled":return y.value;case"rejected":throw y.reason}}throw y}function x(y,O,C,B,V){var k=typeof y;(k==="undefined"||k==="boolean")&&(y=null);var nt=!1;if(y===null)nt=!0;else switch(k){case"bigint":case"string":case"number":nt=!0;break;case"object":switch(y.$$typeof){case r:case i:nt=!0;break;case G:return nt=y._init,x(nt(y._payload),O,C,B,V)}}if(nt)return V=V(y),nt=B===""?"."+De(y,0):B,ve(V)?(C="",nt!=null&&(C=nt.replace(Ze,"$&/")+"/"),x(V,O,C,"",function(Ll){return Ll})):V!=null&&(ge(V)&&(V=ol(V,C+(V.key==null||y&&y.key===V.key?"":(""+V.key).replace(Ze,"$&/")+"/")+nt)),O.push(V)),1;nt=0;var Ht=B===""?".":B+":";if(ve(y))for(var bt=0;bt<y.length;bt++)B=y[bt],k=Ht+De(B,bt),nt+=x(B,O,C,k,V);else if(bt=Gt(y),typeof bt=="function")for(y=bt.call(y),bt=0;!(B=y.next()).done;)B=B.value,k=Ht+De(B,bt++),nt+=x(B,O,C,k,V);else if(k==="object"){if(typeof y.then=="function")return x(ue(y),O,C,B,V);throw O=String(y),Error("Objects are not valid as a React child (found: "+(O==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":O)+"). If you meant to render a collection of children, use an array instead.")}return nt}function R(y,O,C){if(y==null)return y;var B=[],V=0;return x(y,B,"","",function(k){return O.call(C,k,V++)}),B}function X(y){if(y._status===-1){var O=y._result;O=O(),O.then(function(C){(y._status===0||y._status===-1)&&(y._status=1,y._result=C)},function(C){(y._status===0||y._status===-1)&&(y._status=2,y._result=C)}),y._status===-1&&(y._status=0,y._result=O)}if(y._status===1)return y._result.default;throw y._result}var ct=typeof reportError=="function"?reportError:function(y){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var O=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y),error:y});if(!window.dispatchEvent(O))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",y);return}console.error(y)},ft={map:R,forEach:function(y,O,C){R(y,function(){O.apply(this,arguments)},C)},count:function(y){var O=0;return R(y,function(){O++}),O},toArray:function(y){return R(y,function(O){return O})||[]},only:function(y){if(!ge(y))throw Error("React.Children.only expected to receive a single React element child.");return y}};return Z.Activity=Y,Z.Children=ft,Z.Component=Jt,Z.Fragment=s,Z.Profiler=m,Z.PureComponent=Ct,Z.StrictMode=f,Z.Suspense=M,Z.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=W,Z.__COMPILER_RUNTIME={__proto__:null,c:function(y){return W.H.useMemoCache(y)}},Z.cache=function(y){return function(){return y.apply(null,arguments)}},Z.cacheSignal=function(){return null},Z.cloneElement=function(y,O,C){if(y==null)throw Error("The argument must be a React element, but you passed "+y+".");var B=Rt({},y.props),V=y.key;if(O!=null)for(k in O.key!==void 0&&(V=""+O.key),O)!qt.call(O,k)||k==="key"||k==="__self"||k==="__source"||k==="ref"&&O.ref===void 0||(B[k]=O[k]);var k=arguments.length-2;if(k===1)B.children=C;else if(1<k){for(var nt=Array(k),Ht=0;Ht<k;Ht++)nt[Ht]=arguments[Ht+2];B.children=nt}return ne(y.type,V,B)},Z.createContext=function(y){return y={$$typeof:D,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null},y.Provider=y,y.Consumer={$$typeof:T,_context:y},y},Z.createElement=function(y,O,C){var B,V={},k=null;if(O!=null)for(B in O.key!==void 0&&(k=""+O.key),O)qt.call(O,B)&&B!=="key"&&B!=="__self"&&B!=="__source"&&(V[B]=O[B]);var nt=arguments.length-2;if(nt===1)V.children=C;else if(1<nt){for(var Ht=Array(nt),bt=0;bt<nt;bt++)Ht[bt]=arguments[bt+2];V.children=Ht}if(y&&y.defaultProps)for(B in nt=y.defaultProps,nt)V[B]===void 0&&(V[B]=nt[B]);return ne(y,k,V)},Z.createRef=function(){return{current:null}},Z.forwardRef=function(y){return{$$typeof:w,render:y}},Z.isValidElement=ge,Z.lazy=function(y){return{$$typeof:G,_payload:{_status:-1,_result:y},_init:X}},Z.memo=function(y,O){return{$$typeof:N,type:y,compare:O===void 0?null:O}},Z.startTransition=function(y){var O=W.T,C={};W.T=C;try{var B=y(),V=W.S;V!==null&&V(C,B),typeof B=="object"&&B!==null&&typeof B.then=="function"&&B.then(Vt,ct)}catch(k){ct(k)}finally{O!==null&&C.types!==null&&(O.types=C.types),W.T=O}},Z.unstable_useCacheRefresh=function(){return W.H.useCacheRefresh()},Z.use=function(y){return W.H.use(y)},Z.useActionState=function(y,O,C){return W.H.useActionState(y,O,C)},Z.useCallback=function(y,O){return W.H.useCallback(y,O)},Z.useContext=function(y){return W.H.useContext(y)},Z.useDebugValue=function(){},Z.useDeferredValue=function(y,O){return W.H.useDeferredValue(y,O)},Z.useEffect=function(y,O){return W.H.useEffect(y,O)},Z.useEffectEvent=function(y){return W.H.useEffectEvent(y)},Z.useId=function(){return W.H.useId()},Z.useImperativeHandle=function(y,O,C){return W.H.useImperativeHandle(y,O,C)},Z.useInsertionEffect=function(y,O){return W.H.useInsertionEffect(y,O)},Z.useLayoutEffect=function(y,O){return W.H.useLayoutEffect(y,O)},Z.useMemo=function(y,O){return W.H.useMemo(y,O)},Z.useOptimistic=function(y,O){return W.H.useOptimistic(y,O)},Z.useReducer=function(y,O,C){return W.H.useReducer(y,O,C)},Z.useRef=function(y){return W.H.useRef(y)},Z.useState=function(y){return W.H.useState(y)},Z.useSyncExternalStore=function(y,O,C){return W.H.useSyncExternalStore(y,O,C)},Z.useTransition=function(){return W.H.useTransition()},Z.version="19.2.4",Z}var Fh;function Xs(){return Fh||(Fh=1,Os.exports=Ky()),Os.exports}var Wt=Xs(),Ns={exports:{}},wn={},Ms={exports:{}},Ds={};var Ih;function Jy(){return Ih||(Ih=1,(function(r){function i(x,R){var X=x.length;x.push(R);t:for(;0<X;){var ct=X-1>>>1,ft=x[ct];if(0<m(ft,R))x[ct]=R,x[X]=ft,X=ct;else break t}}function s(x){return x.length===0?null:x[0]}function f(x){if(x.length===0)return null;var R=x[0],X=x.pop();if(X!==R){x[0]=X;t:for(var ct=0,ft=x.length,y=ft>>>1;ct<y;){var O=2*(ct+1)-1,C=x[O],B=O+1,V=x[B];if(0>m(C,X))B<ft&&0>m(V,C)?(x[ct]=V,x[B]=X,ct=B):(x[ct]=C,x[O]=X,ct=O);else if(B<ft&&0>m(V,X))x[ct]=V,x[B]=X,ct=B;else break t}}return R}function m(x,R){var X=x.sortIndex-R.sortIndex;return X!==0?X:x.id-R.id}if(r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var T=performance;r.unstable_now=function(){return T.now()}}else{var D=Date,w=D.now();r.unstable_now=function(){return D.now()-w}}var M=[],N=[],G=1,Y=null,at=3,Gt=!1,jt=!1,Rt=!1,pe=!1,Jt=typeof setTimeout=="function"?setTimeout:null,qe=typeof clearTimeout=="function"?clearTimeout:null,Ct=typeof setImmediate<"u"?setImmediate:null;function $t(x){for(var R=s(N);R!==null;){if(R.callback===null)f(N);else if(R.startTime<=x)f(N),R.sortIndex=R.expirationTime,i(M,R);else break;R=s(N)}}function ve(x){if(Rt=!1,$t(x),!jt)if(s(M)!==null)jt=!0,Vt||(Vt=!0,Zt());else{var R=s(N);R!==null&&ue(ve,R.startTime-x)}}var Vt=!1,W=-1,qt=5,ne=-1;function ol(){return pe?!0:!(r.unstable_now()-ne<qt)}function ge(){if(pe=!1,Vt){var x=r.unstable_now();ne=x;var R=!0;try{t:{jt=!1,Rt&&(Rt=!1,qe(W),W=-1),Gt=!0;var X=at;try{e:{for($t(x),Y=s(M);Y!==null&&!(Y.expirationTime>x&&ol());){var ct=Y.callback;if(typeof ct=="function"){Y.callback=null,at=Y.priorityLevel;var ft=ct(Y.expirationTime<=x);if(x=r.unstable_now(),typeof ft=="function"){Y.callback=ft,$t(x),R=!0;break e}Y===s(M)&&f(M),$t(x)}else f(M);Y=s(M)}if(Y!==null)R=!0;else{var y=s(N);y!==null&&ue(ve,y.startTime-x),R=!1}}break t}finally{Y=null,at=X,Gt=!1}R=void 0}}finally{R?Zt():Vt=!1}}}var Zt;if(typeof Ct=="function")Zt=function(){Ct(ge)};else if(typeof MessageChannel<"u"){var Ze=new MessageChannel,De=Ze.port2;Ze.port1.onmessage=ge,Zt=function(){De.postMessage(null)}}else Zt=function(){Jt(ge,0)};function ue(x,R){W=Jt(function(){x(r.unstable_now())},R)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(x){x.callback=null},r.unstable_forceFrameRate=function(x){0>x||125<x?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):qt=0<x?Math.floor(1e3/x):5},r.unstable_getCurrentPriorityLevel=function(){return at},r.unstable_next=function(x){switch(at){case 1:case 2:case 3:var R=3;break;default:R=at}var X=at;at=R;try{return x()}finally{at=X}},r.unstable_requestPaint=function(){pe=!0},r.unstable_runWithPriority=function(x,R){switch(x){case 1:case 2:case 3:case 4:case 5:break;default:x=3}var X=at;at=x;try{return R()}finally{at=X}},r.unstable_scheduleCallback=function(x,R,X){var ct=r.unstable_now();switch(typeof X=="object"&&X!==null?(X=X.delay,X=typeof X=="number"&&0<X?ct+X:ct):X=ct,x){case 1:var ft=-1;break;case 2:ft=250;break;case 5:ft=1073741823;break;case 4:ft=1e4;break;default:ft=5e3}return ft=X+ft,x={id:G++,callback:R,priorityLevel:x,startTime:X,expirationTime:ft,sortIndex:-1},X>ct?(x.sortIndex=X,i(N,x),s(M)===null&&x===s(N)&&(Rt?(qe(W),W=-1):Rt=!0,ue(ve,X-ct))):(x.sortIndex=ft,i(M,x),jt||Gt||(jt=!0,Vt||(Vt=!0,Zt()))),x},r.unstable_shouldYield=ol,r.unstable_wrapCallback=function(x){var R=at;return function(){var X=at;at=R;try{return x.apply(this,arguments)}finally{at=X}}}})(Ds)),Ds}var Ph;function ky(){return Ph||(Ph=1,Ms.exports=Jy()),Ms.exports}var Rs={exports:{}},Kt={};var td;function Wy(){if(td)return Kt;td=1;var r=Xs();function i(M){var N="https://react.dev/errors/"+M;if(1<arguments.length){N+="?args[]="+encodeURIComponent(arguments[1]);for(var G=2;G<arguments.length;G++)N+="&args[]="+encodeURIComponent(arguments[G])}return"Minified React error #"+M+"; visit "+N+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var f={d:{f:s,r:function(){throw Error(i(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},m=Symbol.for("react.portal");function T(M,N,G){var Y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:m,key:Y==null?null:""+Y,children:M,containerInfo:N,implementation:G}}var D=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function w(M,N){if(M==="font")return"";if(typeof N=="string")return N==="use-credentials"?N:""}return Kt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f,Kt.createPortal=function(M,N){var G=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!N||N.nodeType!==1&&N.nodeType!==9&&N.nodeType!==11)throw Error(i(299));return T(M,N,null,G)},Kt.flushSync=function(M){var N=D.T,G=f.p;try{if(D.T=null,f.p=2,M)return M()}finally{D.T=N,f.p=G,f.d.f()}},Kt.preconnect=function(M,N){typeof M=="string"&&(N?(N=N.crossOrigin,N=typeof N=="string"?N==="use-credentials"?N:"":void 0):N=null,f.d.C(M,N))},Kt.prefetchDNS=function(M){typeof M=="string"&&f.d.D(M)},Kt.preinit=function(M,N){if(typeof M=="string"&&N&&typeof N.as=="string"){var G=N.as,Y=w(G,N.crossOrigin),at=typeof N.integrity=="string"?N.integrity:void 0,Gt=typeof N.fetchPriority=="string"?N.fetchPriority:void 0;G==="style"?f.d.S(M,typeof N.precedence=="string"?N.precedence:void 0,{crossOrigin:Y,integrity:at,fetchPriority:Gt}):G==="script"&&f.d.X(M,{crossOrigin:Y,integrity:at,fetchPriority:Gt,nonce:typeof N.nonce=="string"?N.nonce:void 0})}},Kt.preinitModule=function(M,N){if(typeof M=="string")if(typeof N=="object"&&N!==null){if(N.as==null||N.as==="script"){var G=w(N.as,N.crossOrigin);f.d.M(M,{crossOrigin:G,integrity:typeof N.integrity=="string"?N.integrity:void 0,nonce:typeof N.nonce=="string"?N.nonce:void 0})}}else N==null&&f.d.M(M)},Kt.preload=function(M,N){if(typeof M=="string"&&typeof N=="object"&&N!==null&&typeof N.as=="string"){var G=N.as,Y=w(G,N.crossOrigin);f.d.L(M,G,{crossOrigin:Y,integrity:typeof N.integrity=="string"?N.integrity:void 0,nonce:typeof N.nonce=="string"?N.nonce:void 0,type:typeof N.type=="string"?N.type:void 0,fetchPriority:typeof N.fetchPriority=="string"?N.fetchPriority:void 0,referrerPolicy:typeof N.referrerPolicy=="string"?N.referrerPolicy:void 0,imageSrcSet:typeof N.imageSrcSet=="string"?N.imageSrcSet:void 0,imageSizes:typeof N.imageSizes=="string"?N.imageSizes:void 0,media:typeof N.media=="string"?N.media:void 0})}},Kt.preloadModule=function(M,N){if(typeof M=="string")if(N){var G=w(N.as,N.crossOrigin);f.d.m(M,{as:typeof N.as=="string"&&N.as!=="script"?N.as:void 0,crossOrigin:G,integrity:typeof N.integrity=="string"?N.integrity:void 0})}else f.d.m(M)},Kt.requestFormReset=function(M){f.d.r(M)},Kt.unstable_batchedUpdates=function(M,N){return M(N)},Kt.useFormState=function(M,N,G){return D.H.useFormState(M,N,G)},Kt.useFormStatus=function(){return D.H.useHostTransitionStatus()},Kt.version="19.2.4",Kt}var ed;function $y(){if(ed)return Rs.exports;ed=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}return r(),Rs.exports=Wy(),Rs.exports}var ld;function Fy(){if(ld)return wn;ld=1;var r=ky(),i=Xs(),s=$y();function f(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)e+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function m(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function T(t){var e=t,l=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(l=e.return),t=e.return;while(t)}return e.tag===3?l:null}function D(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function w(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function M(t){if(T(t)!==t)throw Error(f(188))}function N(t){var e=t.alternate;if(!e){if(e=T(t),e===null)throw Error(f(188));return e!==t?null:t}for(var l=t,a=e;;){var n=l.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){l=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===l)return M(n),t;if(u===a)return M(n),e;u=u.sibling}throw Error(f(188))}if(l.return!==a.return)l=n,a=u;else{for(var c=!1,o=n.child;o;){if(o===l){c=!0,l=n,a=u;break}if(o===a){c=!0,a=n,l=u;break}o=o.sibling}if(!c){for(o=u.child;o;){if(o===l){c=!0,l=u,a=n;break}if(o===a){c=!0,a=u,l=n;break}o=o.sibling}if(!c)throw Error(f(189))}}if(l.alternate!==a)throw Error(f(190))}if(l.tag!==3)throw Error(f(188));return l.stateNode.current===l?t:e}function G(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=G(t),e!==null)return e;t=t.sibling}return null}var Y=Object.assign,at=Symbol.for("react.element"),Gt=Symbol.for("react.transitional.element"),jt=Symbol.for("react.portal"),Rt=Symbol.for("react.fragment"),pe=Symbol.for("react.strict_mode"),Jt=Symbol.for("react.profiler"),qe=Symbol.for("react.consumer"),Ct=Symbol.for("react.context"),$t=Symbol.for("react.forward_ref"),ve=Symbol.for("react.suspense"),Vt=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),qt=Symbol.for("react.lazy"),ne=Symbol.for("react.activity"),ol=Symbol.for("react.memo_cache_sentinel"),ge=Symbol.iterator;function Zt(t){return t===null||typeof t!="object"?null:(t=ge&&t[ge]||t["@@iterator"],typeof t=="function"?t:null)}var Ze=Symbol.for("react.client.reference");function De(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Ze?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Rt:return"Fragment";case Jt:return"Profiler";case pe:return"StrictMode";case ve:return"Suspense";case Vt:return"SuspenseList";case ne:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case jt:return"Portal";case Ct:return t.displayName||"Context";case qe:return(t._context.displayName||"Context")+".Consumer";case $t:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case W:return e=t.displayName||null,e!==null?e:De(t.type)||"Memo";case qt:e=t._payload,t=t._init;try{return De(t(e))}catch{}}return null}var ue=Array.isArray,x=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X={pending:!1,data:null,method:null,action:null},ct=[],ft=-1;function y(t){return{current:t}}function O(t){0>ft||(t.current=ct[ft],ct[ft]=null,ft--)}function C(t,e){ft++,ct[ft]=t.current,t.current=e}var B=y(null),V=y(null),k=y(null),nt=y(null);function Ht(t,e){switch(C(k,e),C(V,t),C(B,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?vh(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=vh(e),t=gh(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}O(B),C(B,t)}function bt(){O(B),O(V),O(k)}function Ll(t){t.memoizedState!==null&&C(nt,t);var e=B.current,l=gh(e,t.type);e!==l&&(C(V,t),C(B,l))}function U(t){V.current===t&&(O(B),O(V)),nt.current===t&&(O(nt),jn._currentValue=X)}var j,lt;function Et(t){if(j===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);j=e&&e[1]||"",lt=-1<l.stack.indexOf(`
|
||
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
||
`+j+t+lt}var Re=!1;function He(t,e){if(!t||Re)return"";Re=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(e){var z=function(){throw Error()};if(Object.defineProperty(z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(z,[])}catch(S){var b=S}Reflect.construct(t,[],z)}else{try{z.call()}catch(S){b=S}t.call(z.prototype)}}else{try{throw Error()}catch(S){b=S}(z=t())&&typeof z.catch=="function"&&z.catch(function(){})}}catch(S){if(S&&b&&typeof S.stack=="string")return[S.stack,b.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),c=u[0],o=u[1];if(c&&o){var h=c.split(`
|
||
`),g=o.split(`
|
||
`);for(n=a=0;a<h.length&&!h[a].includes("DetermineComponentFrameRoot");)a++;for(;n<g.length&&!g[n].includes("DetermineComponentFrameRoot");)n++;if(a===h.length||n===g.length)for(a=h.length-1,n=g.length-1;1<=a&&0<=n&&h[a]!==g[n];)n--;for(;1<=a&&0<=n;a--,n--)if(h[a]!==g[n]){if(a!==1||n!==1)do if(a--,n--,0>n||h[a]!==g[n]){var E=`
|
||
`+h[a].replace(" at new "," at ");return t.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",t.displayName)),E}while(1<=a&&0<=n);break}}}finally{Re=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?Et(l):""}function ua(t,e){switch(t.tag){case 26:case 27:case 5:return Et(t.type);case 16:return Et("Lazy");case 13:return t.child!==e&&e!==null?Et("Suspense Fallback"):Et("Suspense");case 19:return Et("SuspenseList");case 0:case 15:return He(t.type,!1);case 11:return He(t.type.render,!1);case 1:return He(t.type,!0);case 31:return Et("Activity");default:return""}}function wl(t){try{var e="",l=null;do e+=ua(t,l),l=t,t=t.return;while(t);return e}catch(a){return`
|
||
Error generating stack: `+a.message+`
|
||
`+a.stack}}var hl=Object.prototype.hasOwnProperty,Ke=r.unstable_scheduleCallback,Za=r.unstable_cancelCallback,Ed=r.unstable_shouldYield,xd=r.unstable_requestPaint,ie=r.unstable_now,Td=r.unstable_getCurrentPriorityLevel,Js=r.unstable_ImmediatePriority,ks=r.unstable_UserBlockingPriority,Gn=r.unstable_NormalPriority,Ad=r.unstable_LowPriority,Ws=r.unstable_IdlePriority,zd=r.log,Od=r.unstable_setDisableYieldValue,Ka=null,ce=null;function dl(t){if(typeof zd=="function"&&Od(t),ce&&typeof ce.setStrictMode=="function")try{ce.setStrictMode(Ka,t)}catch{}}var se=Math.clz32?Math.clz32:Dd,Nd=Math.log,Md=Math.LN2;function Dd(t){return t>>>=0,t===0?32:31-(Nd(t)/Md|0)|0}var Vn=256,Zn=262144,Kn=4194304;function Xl(t){var e=t&42;if(e!==0)return e;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 Jn(t,e,l){var a=t.pendingLanes;if(a===0)return 0;var n=0,u=t.suspendedLanes,c=t.pingedLanes;t=t.warmLanes;var o=a&134217727;return o!==0?(a=o&~u,a!==0?n=Xl(a):(c&=o,c!==0?n=Xl(c):l||(l=o&~t,l!==0&&(n=Xl(l))))):(o=a&~u,o!==0?n=Xl(o):c!==0?n=Xl(c):l||(l=a&~t,l!==0&&(n=Xl(l)))),n===0?0:e!==0&&e!==n&&(e&u)===0&&(u=n&-n,l=e&-e,u>=l||u===32&&(l&4194048)!==0)?e:n}function Ja(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Rd(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 $s(){var t=Kn;return Kn<<=1,(Kn&62914560)===0&&(Kn=4194304),t}function yi(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function ka(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Cd(t,e,l,a,n,u){var c=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var o=t.entanglements,h=t.expirationTimes,g=t.hiddenUpdates;for(l=c&~l;0<l;){var E=31-se(l),z=1<<E;o[E]=0,h[E]=-1;var b=g[E];if(b!==null)for(g[E]=null,E=0;E<b.length;E++){var S=b[E];S!==null&&(S.lane&=-536870913)}l&=~z}a!==0&&Fs(t,a,0),u!==0&&n===0&&t.tag!==0&&(t.suspendedLanes|=u&~(c&~e))}function Fs(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-se(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|l&261930}function Is(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var a=31-se(l),n=1<<a;n&e|t[a]&e&&(t[a]|=e),l&=~n}}function Ps(t,e){var l=e&-e;return l=(l&42)!==0?1:mi(l),(l&(t.suspendedLanes|e))!==0?0:l}function mi(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 pi(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function tf(){var t=R.p;return t!==0?t:(t=window.event,t===void 0?32:Xh(t.type))}function ef(t,e){var l=R.p;try{return R.p=t,e()}finally{R.p=l}}var yl=Math.random().toString(36).slice(2),Yt="__reactFiber$"+yl,Ft="__reactProps$"+yl,ia="__reactContainer$"+yl,vi="__reactEvents$"+yl,Ud="__reactListeners$"+yl,Bd="__reactHandles$"+yl,lf="__reactResources$"+yl,Wa="__reactMarker$"+yl;function gi(t){delete t[Yt],delete t[Ft],delete t[vi],delete t[Ud],delete t[Bd]}function ca(t){var e=t[Yt];if(e)return e;for(var l=t.parentNode;l;){if(e=l[ia]||l[Yt]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=Ah(t);t!==null;){if(l=t[Yt])return l;t=Ah(t)}return e}t=l,l=t.parentNode}return null}function sa(t){if(t=t[Yt]||t[ia]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function $a(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(f(33))}function fa(t){var e=t[lf];return e||(e=t[lf]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Ut(t){t[Wa]=!0}var af=new Set,nf={};function Ql(t,e){ra(t,e),ra(t+"Capture",e)}function ra(t,e){for(nf[t]=e,t=0;t<e.length;t++)af.add(e[t])}var jd=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]*$"),uf={},cf={};function qd(t){return hl.call(cf,t)?!0:hl.call(uf,t)?!1:jd.test(t)?cf[t]=!0:(uf[t]=!0,!1)}function kn(t,e,l){if(qd(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function Wn(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function Je(t,e,l,a){if(a===null)t.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+a)}}function be(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function sf(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Hd(t,e,l){var a=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,u=a.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return n.call(this)},set:function(c){l=""+c,u.call(this,c)}}),Object.defineProperty(t,e,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(c){l=""+c},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function bi(t){if(!t._valueTracker){var e=sf(t)?"checked":"value";t._valueTracker=Hd(t,e,""+t[e])}}function ff(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),a="";return t&&(a=sf(t)?t.checked?"true":"false":t.value),t=a,t!==l?(e.setValue(t),!0):!1}function $n(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 Yd=/[\n"\\]/g;function Se(t){return t.replace(Yd,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Si(t,e,l,a,n,u,c,o){t.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?t.type=c:t.removeAttribute("type"),e!=null?c==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+be(e)):t.value!==""+be(e)&&(t.value=""+be(e)):c!=="submit"&&c!=="reset"||t.removeAttribute("value"),e!=null?_i(t,c,be(e)):l!=null?_i(t,c,be(l)):a!=null&&t.removeAttribute("value"),n==null&&u!=null&&(t.defaultChecked=!!u),n!=null&&(t.checked=n&&typeof n!="function"&&typeof n!="symbol"),o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?t.name=""+be(o):t.removeAttribute("name")}function rf(t,e,l,a,n,u,c,o){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),e!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||e!=null)){bi(t);return}l=l!=null?""+be(l):"",e=e!=null?""+be(e):l,o||e===t.value||(t.value=e),t.defaultValue=e}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=o?t.checked:!!a,t.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(t.name=c),bi(t)}function _i(t,e,l){e==="number"&&$n(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function oa(t,e,l,a){if(t=t.options,e){e={};for(var n=0;n<l.length;n++)e["$"+l[n]]=!0;for(l=0;l<t.length;l++)n=e.hasOwnProperty("$"+t[l].value),t[l].selected!==n&&(t[l].selected=n),n&&a&&(t[l].defaultSelected=!0)}else{for(l=""+be(l),e=null,n=0;n<t.length;n++){if(t[n].value===l){t[n].selected=!0,a&&(t[n].defaultSelected=!0);return}e!==null||t[n].disabled||(e=t[n])}e!==null&&(e.selected=!0)}}function of(t,e,l){if(e!=null&&(e=""+be(e),e!==t.value&&(t.value=e),l==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=l!=null?""+be(l):""}function hf(t,e,l,a){if(e==null){if(a!=null){if(l!=null)throw Error(f(92));if(ue(a)){if(1<a.length)throw Error(f(93));a=a[0]}l=a}l==null&&(l=""),e=l}l=be(e),t.defaultValue=l,a=t.textContent,a===l&&a!==""&&a!==null&&(t.value=a),bi(t)}function ha(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var Ld=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 df(t,e,l){var a=e.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":a?t.setProperty(e,l):typeof l!="number"||l===0||Ld.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function yf(t,e,l){if(e!=null&&typeof e!="object")throw Error(f(62));if(t=t.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||e!=null&&e.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var n in e)a=e[n],e.hasOwnProperty(n)&&l[n]!==a&&df(t,n,a)}else for(var u in e)e.hasOwnProperty(u)&&df(t,u,e[u])}function Ei(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 wd=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"]]),Xd=/^[\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 Fn(t){return Xd.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function ke(){}var xi=null;function Ti(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var da=null,ya=null;function mf(t){var e=sa(t);if(e&&(t=e.stateNode)){var l=t[Ft]||null;t:switch(t=e.stateNode,e.type){case"input":if(Si(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),e=l.name,l.type==="radio"&&e!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Se(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var a=l[e];if(a!==t&&a.form===t.form){var n=a[Ft]||null;if(!n)throw Error(f(90));Si(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(e=0;e<l.length;e++)a=l[e],a.form===t.form&&ff(a)}break t;case"textarea":of(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&oa(t,!!l.multiple,e,!1)}}}var Ai=!1;function pf(t,e,l){if(Ai)return t(e,l);Ai=!0;try{var a=t(e);return a}finally{if(Ai=!1,(da!==null||ya!==null)&&(Yu(),da&&(e=da,t=ya,ya=da=null,mf(e),t)))for(e=0;e<t.length;e++)mf(t[e])}}function Fa(t,e){var l=t.stateNode;if(l===null)return null;var a=l[Ft]||null;if(a===null)return null;l=a[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(f(231,e,typeof l));return l}var We=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zi=!1;if(We)try{var Ia={};Object.defineProperty(Ia,"passive",{get:function(){zi=!0}}),window.addEventListener("test",Ia,Ia),window.removeEventListener("test",Ia,Ia)}catch{zi=!1}var ml=null,Oi=null,In=null;function vf(){if(In)return In;var t,e=Oi,l=e.length,a,n="value"in ml?ml.value:ml.textContent,u=n.length;for(t=0;t<l&&e[t]===n[t];t++);var c=l-t;for(a=1;a<=c&&e[l-a]===n[u-a];a++);return In=n.slice(t,1<a?1-a:void 0)}function Pn(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function tu(){return!0}function gf(){return!1}function It(t){function e(l,a,n,u,c){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=c,this.currentTarget=null;for(var o in t)t.hasOwnProperty(o)&&(l=t[o],this[o]=l?l(u):u[o]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?tu:gf,this.isPropagationStopped=gf,this}return Y(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=tu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=tu)},persist:function(){},isPersistent:tu}),e}var Gl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},eu=It(Gl),Pa=Y({},Gl,{view:0,detail:0}),Qd=It(Pa),Ni,Mi,tn,lu=Y({},Pa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ri,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!==tn&&(tn&&t.type==="mousemove"?(Ni=t.screenX-tn.screenX,Mi=t.screenY-tn.screenY):Mi=Ni=0,tn=t),Ni)},movementY:function(t){return"movementY"in t?t.movementY:Mi}}),bf=It(lu),Gd=Y({},lu,{dataTransfer:0}),Vd=It(Gd),Zd=Y({},Pa,{relatedTarget:0}),Di=It(Zd),Kd=Y({},Gl,{animationName:0,elapsedTime:0,pseudoElement:0}),Jd=It(Kd),kd=Y({},Gl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Wd=It(kd),$d=Y({},Gl,{data:0}),Sf=It($d),Fd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Id={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"},Pd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function t0(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Pd[t])?!!e[t]:!1}function Ri(){return t0}var e0=Y({},Pa,{key:function(t){if(t.key){var e=Fd[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Pn(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Id[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ri,charCode:function(t){return t.type==="keypress"?Pn(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Pn(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),l0=It(e0),a0=Y({},lu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_f=It(a0),n0=Y({},Pa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ri}),u0=It(n0),i0=Y({},Gl,{propertyName:0,elapsedTime:0,pseudoElement:0}),c0=It(i0),s0=Y({},lu,{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}),f0=It(s0),r0=Y({},Gl,{newState:0,oldState:0}),o0=It(r0),h0=[9,13,27,32],Ci=We&&"CompositionEvent"in window,en=null;We&&"documentMode"in document&&(en=document.documentMode);var d0=We&&"TextEvent"in window&&!en,Ef=We&&(!Ci||en&&8<en&&11>=en),xf=" ",Tf=!1;function Af(t,e){switch(t){case"keyup":return h0.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zf(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ma=!1;function y0(t,e){switch(t){case"compositionend":return zf(e);case"keypress":return e.which!==32?null:(Tf=!0,xf);case"textInput":return t=e.data,t===xf&&Tf?null:t;default:return null}}function m0(t,e){if(ma)return t==="compositionend"||!Ci&&Af(t,e)?(t=vf(),In=Oi=ml=null,ma=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Ef&&e.locale!=="ko"?null:e.data;default:return null}}var p0={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 Of(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!p0[t.type]:e==="textarea"}function Nf(t,e,l,a){da?ya?ya.push(a):ya=[a]:da=a,e=Zu(e,"onChange"),0<e.length&&(l=new eu("onChange","change",null,l,a),t.push({event:l,listeners:e}))}var ln=null,an=null;function v0(t){oh(t,0)}function au(t){var e=$a(t);if(ff(e))return t}function Mf(t,e){if(t==="change")return e}var Df=!1;if(We){var Ui;if(We){var Bi="oninput"in document;if(!Bi){var Rf=document.createElement("div");Rf.setAttribute("oninput","return;"),Bi=typeof Rf.oninput=="function"}Ui=Bi}else Ui=!1;Df=Ui&&(!document.documentMode||9<document.documentMode)}function Cf(){ln&&(ln.detachEvent("onpropertychange",Uf),an=ln=null)}function Uf(t){if(t.propertyName==="value"&&au(an)){var e=[];Nf(e,an,t,Ti(t)),pf(v0,e)}}function g0(t,e,l){t==="focusin"?(Cf(),ln=e,an=l,ln.attachEvent("onpropertychange",Uf)):t==="focusout"&&Cf()}function b0(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return au(an)}function S0(t,e){if(t==="click")return au(e)}function _0(t,e){if(t==="input"||t==="change")return au(e)}function E0(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var fe=typeof Object.is=="function"?Object.is:E0;function nn(t,e){if(fe(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var l=Object.keys(t),a=Object.keys(e);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var n=l[a];if(!hl.call(e,n)||!fe(t[n],e[n]))return!1}return!0}function Bf(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function jf(t,e){var l=Bf(t);t=0;for(var a;l;){if(l.nodeType===3){if(a=t+l.textContent.length,t<=e&&a>=e)return{node:l,offset:e-t};t=a}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=Bf(l)}}function qf(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?qf(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Hf(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=$n(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=$n(t.document)}return e}function ji(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var x0=We&&"documentMode"in document&&11>=document.documentMode,pa=null,qi=null,un=null,Hi=!1;function Yf(t,e,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Hi||pa==null||pa!==$n(a)||(a=pa,"selectionStart"in a&&ji(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),un&&nn(un,a)||(un=a,a=Zu(qi,"onSelect"),0<a.length&&(e=new eu("onSelect","select",null,e,l),t.push({event:e,listeners:a}),e.target=pa)))}function Vl(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var va={animationend:Vl("Animation","AnimationEnd"),animationiteration:Vl("Animation","AnimationIteration"),animationstart:Vl("Animation","AnimationStart"),transitionrun:Vl("Transition","TransitionRun"),transitionstart:Vl("Transition","TransitionStart"),transitioncancel:Vl("Transition","TransitionCancel"),transitionend:Vl("Transition","TransitionEnd")},Yi={},Lf={};We&&(Lf=document.createElement("div").style,"AnimationEvent"in window||(delete va.animationend.animation,delete va.animationiteration.animation,delete va.animationstart.animation),"TransitionEvent"in window||delete va.transitionend.transition);function Zl(t){if(Yi[t])return Yi[t];if(!va[t])return t;var e=va[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in Lf)return Yi[t]=e[l];return t}var wf=Zl("animationend"),Xf=Zl("animationiteration"),Qf=Zl("animationstart"),T0=Zl("transitionrun"),A0=Zl("transitionstart"),z0=Zl("transitioncancel"),Gf=Zl("transitionend"),Vf=new Map,Li="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(" ");Li.push("scrollEnd");function Ce(t,e){Vf.set(t,e),Ql(e,[t])}var nu=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=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(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},_e=[],ga=0,wi=0;function uu(){for(var t=ga,e=wi=ga=0;e<t;){var l=_e[e];_e[e++]=null;var a=_e[e];_e[e++]=null;var n=_e[e];_e[e++]=null;var u=_e[e];if(_e[e++]=null,a!==null&&n!==null){var c=a.pending;c===null?n.next=n:(n.next=c.next,c.next=n),a.pending=n}u!==0&&Zf(l,n,u)}}function iu(t,e,l,a){_e[ga++]=t,_e[ga++]=e,_e[ga++]=l,_e[ga++]=a,wi|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function Xi(t,e,l,a){return iu(t,e,l,a),cu(t)}function Kl(t,e){return iu(t,null,null,e),cu(t)}function Zf(t,e,l){t.lanes|=l;var a=t.alternate;a!==null&&(a.lanes|=l);for(var n=!1,u=t.return;u!==null;)u.childLanes|=l,a=u.alternate,a!==null&&(a.childLanes|=l),u.tag===22&&(t=u.stateNode,t===null||t._visibility&1||(n=!0)),t=u,u=u.return;return t.tag===3?(u=t.stateNode,n&&e!==null&&(n=31-se(l),t=u.hiddenUpdates,a=t[n],a===null?t[n]=[e]:a.push(e),e.lane=l|536870912),u):null}function cu(t){if(50<Nn)throw Nn=0,$c=null,Error(f(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var ba={};function O0(t,e,l,a){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function re(t,e,l,a){return new O0(t,e,l,a)}function Qi(t){return t=t.prototype,!(!t||!t.isReactComponent)}function $e(t,e){var l=t.alternate;return l===null?(l=re(t.tag,e,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=e,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function Kf(t,e){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function su(t,e,l,a,n,u){var c=0;if(a=t,typeof t=="function")Qi(t)&&(c=1);else if(typeof t=="string")c=Cy(t,l,B.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case ne:return t=re(31,l,e,n),t.elementType=ne,t.lanes=u,t;case Rt:return Jl(l.children,n,u,e);case pe:c=8,n|=24;break;case Jt:return t=re(12,l,e,n|2),t.elementType=Jt,t.lanes=u,t;case ve:return t=re(13,l,e,n),t.elementType=ve,t.lanes=u,t;case Vt:return t=re(19,l,e,n),t.elementType=Vt,t.lanes=u,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Ct:c=10;break t;case qe:c=9;break t;case $t:c=11;break t;case W:c=14;break t;case qt:c=16,a=null;break t}c=29,l=Error(f(130,t===null?"null":typeof t,"")),a=null}return e=re(c,l,e,n),e.elementType=t,e.type=a,e.lanes=u,e}function Jl(t,e,l,a){return t=re(7,t,a,e),t.lanes=l,t}function Gi(t,e,l){return t=re(6,t,null,e),t.lanes=l,t}function Jf(t){var e=re(18,null,null,0);return e.stateNode=t,e}function Vi(t,e,l){return e=re(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var kf=new WeakMap;function Ee(t,e){if(typeof t=="object"&&t!==null){var l=kf.get(t);return l!==void 0?l:(e={value:t,source:e,stack:wl(e)},kf.set(t,e),e)}return{value:t,source:e,stack:wl(e)}}var Sa=[],_a=0,fu=null,cn=0,xe=[],Te=0,pl=null,Ye=1,Le="";function Fe(t,e){Sa[_a++]=cn,Sa[_a++]=fu,fu=t,cn=e}function Wf(t,e,l){xe[Te++]=Ye,xe[Te++]=Le,xe[Te++]=pl,pl=t;var a=Ye;t=Le;var n=32-se(a)-1;a&=~(1<<n),l+=1;var u=32-se(e)+n;if(30<u){var c=n-n%5;u=(a&(1<<c)-1).toString(32),a>>=c,n-=c,Ye=1<<32-se(e)+n|l<<n|a,Le=u+t}else Ye=1<<u|l<<n|a,Le=t}function Zi(t){t.return!==null&&(Fe(t,1),Wf(t,1,0))}function Ki(t){for(;t===fu;)fu=Sa[--_a],Sa[_a]=null,cn=Sa[--_a],Sa[_a]=null;for(;t===pl;)pl=xe[--Te],xe[Te]=null,Le=xe[--Te],xe[Te]=null,Ye=xe[--Te],xe[Te]=null}function $f(t,e){xe[Te++]=Ye,xe[Te++]=Le,xe[Te++]=pl,Ye=e.id,Le=e.overflow,pl=t}var Lt=null,pt=null,tt=!1,vl=null,Ae=!1,Ji=Error(f(519));function gl(t){var e=Error(f(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw sn(Ee(e,t)),Ji}function Ff(t){var e=t.stateNode,l=t.type,a=t.memoizedProps;switch(e[Yt]=t,e[Ft]=a,l){case"dialog":F("cancel",e),F("close",e);break;case"iframe":case"object":case"embed":F("load",e);break;case"video":case"audio":for(l=0;l<Dn.length;l++)F(Dn[l],e);break;case"source":F("error",e);break;case"img":case"image":case"link":F("error",e),F("load",e);break;case"details":F("toggle",e);break;case"input":F("invalid",e),rf(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":F("invalid",e);break;case"textarea":F("invalid",e),hf(e,a.value,a.defaultValue,a.children)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||a.suppressHydrationWarning===!0||mh(e.textContent,l)?(a.popover!=null&&(F("beforetoggle",e),F("toggle",e)),a.onScroll!=null&&F("scroll",e),a.onScrollEnd!=null&&F("scrollend",e),a.onClick!=null&&(e.onclick=ke),e=!0):e=!1,e||gl(t,!0)}function If(t){for(Lt=t.return;Lt;)switch(Lt.tag){case 5:case 31:case 13:Ae=!1;return;case 27:case 3:Ae=!0;return;default:Lt=Lt.return}}function Ea(t){if(t!==Lt)return!1;if(!tt)return If(t),tt=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||os(t.type,t.memoizedProps)),l=!l),l&&pt&&gl(t),If(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(f(317));pt=Th(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(f(317));pt=Th(t)}else e===27?(e=pt,Cl(t.type)?(t=ps,ps=null,pt=t):pt=e):pt=Lt?Oe(t.stateNode.nextSibling):null;return!0}function kl(){pt=Lt=null,tt=!1}function ki(){var t=vl;return t!==null&&(le===null?le=t:le.push.apply(le,t),vl=null),t}function sn(t){vl===null?vl=[t]:vl.push(t)}var Wi=y(null),Wl=null,Ie=null;function bl(t,e,l){C(Wi,e._currentValue),e._currentValue=l}function Pe(t){t._currentValue=Wi.current,O(Wi)}function $i(t,e,l){for(;t!==null;){var a=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),t===l)break;t=t.return}}function Fi(t,e,l,a){var n=t.child;for(n!==null&&(n.return=t);n!==null;){var u=n.dependencies;if(u!==null){var c=n.child;u=u.firstContext;t:for(;u!==null;){var o=u;u=n;for(var h=0;h<e.length;h++)if(o.context===e[h]){u.lanes|=l,o=u.alternate,o!==null&&(o.lanes|=l),$i(u.return,l,t),a||(c=null);break t}u=o.next}}else if(n.tag===18){if(c=n.return,c===null)throw Error(f(341));c.lanes|=l,u=c.alternate,u!==null&&(u.lanes|=l),$i(c,l,t),c=null}else c=n.child;if(c!==null)c.return=n;else for(c=n;c!==null;){if(c===t){c=null;break}if(n=c.sibling,n!==null){n.return=c.return,c=n;break}c=c.return}n=c}}function xa(t,e,l,a){t=null;for(var n=e,u=!1;n!==null;){if(!u){if((n.flags&524288)!==0)u=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var c=n.alternate;if(c===null)throw Error(f(387));if(c=c.memoizedProps,c!==null){var o=n.type;fe(n.pendingProps.value,c.value)||(t!==null?t.push(o):t=[o])}}else if(n===nt.current){if(c=n.alternate,c===null)throw Error(f(387));c.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(t!==null?t.push(jn):t=[jn])}n=n.return}t!==null&&Fi(e,t,l,a),e.flags|=262144}function ru(t){for(t=t.firstContext;t!==null;){if(!fe(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function $l(t){Wl=t,Ie=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function wt(t){return Pf(Wl,t)}function ou(t,e){return Wl===null&&$l(t),Pf(t,e)}function Pf(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},Ie===null){if(t===null)throw Error(f(308));Ie=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Ie=Ie.next=e;return l}var N0=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,a){t.push(a)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},M0=r.unstable_scheduleCallback,D0=r.unstable_NormalPriority,At={$$typeof:Ct,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ii(){return{controller:new N0,data:new Map,refCount:0}}function fn(t){t.refCount--,t.refCount===0&&M0(D0,function(){t.controller.abort()})}var rn=null,Pi=0,Ta=0,Aa=null;function R0(t,e){if(rn===null){var l=rn=[];Pi=0,Ta=ls(),Aa={status:"pending",value:void 0,then:function(a){l.push(a)}}}return Pi++,e.then(tr,tr),e}function tr(){if(--Pi===0&&rn!==null){Aa!==null&&(Aa.status="fulfilled");var t=rn;rn=null,Ta=0,Aa=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function C0(t,e){var l=[],a={status:"pending",value:null,reason:null,then:function(n){l.push(n)}};return t.then(function(){a.status="fulfilled",a.value=e;for(var n=0;n<l.length;n++)(0,l[n])(e)},function(n){for(a.status="rejected",a.reason=n,n=0;n<l.length;n++)(0,l[n])(void 0)}),a}var er=x.S;x.S=function(t,e){Lo=ie(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&R0(t,e),er!==null&&er(t,e)};var Fl=y(null);function tc(){var t=Fl.current;return t!==null?t:mt.pooledCache}function hu(t,e){e===null?C(Fl,Fl.current):C(Fl,e.pool)}function lr(){var t=tc();return t===null?null:{parent:At._currentValue,pool:t}}var za=Error(f(460)),ec=Error(f(474)),du=Error(f(542)),yu={then:function(){}};function ar(t){return t=t.status,t==="fulfilled"||t==="rejected"}function nr(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(ke,ke),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,ir(t),t;default:if(typeof e.status=="string")e.then(ke,ke);else{if(t=mt,t!==null&&100<t.shellSuspendCounter)throw Error(f(482));t=e,t.status="pending",t.then(function(a){if(e.status==="pending"){var n=e;n.status="fulfilled",n.value=a}},function(a){if(e.status==="pending"){var n=e;n.status="rejected",n.reason=a}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,ir(t),t}throw Pl=e,za}}function Il(t){try{var e=t._init;return e(t._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Pl=l,za):l}}var Pl=null;function ur(){if(Pl===null)throw Error(f(459));var t=Pl;return Pl=null,t}function ir(t){if(t===za||t===du)throw Error(f(483))}var Oa=null,on=0;function mu(t){var e=on;return on+=1,Oa===null&&(Oa=[]),nr(Oa,t,e)}function hn(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function pu(t,e){throw e.$$typeof===at?Error(f(525)):(t=Object.prototype.toString.call(e),Error(f(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function cr(t){function e(p,d){if(t){var v=p.deletions;v===null?(p.deletions=[d],p.flags|=16):v.push(d)}}function l(p,d){if(!t)return null;for(;d!==null;)e(p,d),d=d.sibling;return null}function a(p){for(var d=new Map;p!==null;)p.key!==null?d.set(p.key,p):d.set(p.index,p),p=p.sibling;return d}function n(p,d){return p=$e(p,d),p.index=0,p.sibling=null,p}function u(p,d,v){return p.index=v,t?(v=p.alternate,v!==null?(v=v.index,v<d?(p.flags|=67108866,d):v):(p.flags|=67108866,d)):(p.flags|=1048576,d)}function c(p){return t&&p.alternate===null&&(p.flags|=67108866),p}function o(p,d,v,A){return d===null||d.tag!==6?(d=Gi(v,p.mode,A),d.return=p,d):(d=n(d,v),d.return=p,d)}function h(p,d,v,A){var L=v.type;return L===Rt?E(p,d,v.props.children,A,v.key):d!==null&&(d.elementType===L||typeof L=="object"&&L!==null&&L.$$typeof===qt&&Il(L)===d.type)?(d=n(d,v.props),hn(d,v),d.return=p,d):(d=su(v.type,v.key,v.props,null,p.mode,A),hn(d,v),d.return=p,d)}function g(p,d,v,A){return d===null||d.tag!==4||d.stateNode.containerInfo!==v.containerInfo||d.stateNode.implementation!==v.implementation?(d=Vi(v,p.mode,A),d.return=p,d):(d=n(d,v.children||[]),d.return=p,d)}function E(p,d,v,A,L){return d===null||d.tag!==7?(d=Jl(v,p.mode,A,L),d.return=p,d):(d=n(d,v),d.return=p,d)}function z(p,d,v){if(typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint")return d=Gi(""+d,p.mode,v),d.return=p,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Gt:return v=su(d.type,d.key,d.props,null,p.mode,v),hn(v,d),v.return=p,v;case jt:return d=Vi(d,p.mode,v),d.return=p,d;case qt:return d=Il(d),z(p,d,v)}if(ue(d)||Zt(d))return d=Jl(d,p.mode,v,null),d.return=p,d;if(typeof d.then=="function")return z(p,mu(d),v);if(d.$$typeof===Ct)return z(p,ou(p,d),v);pu(p,d)}return null}function b(p,d,v,A){var L=d!==null?d.key:null;if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return L!==null?null:o(p,d,""+v,A);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Gt:return v.key===L?h(p,d,v,A):null;case jt:return v.key===L?g(p,d,v,A):null;case qt:return v=Il(v),b(p,d,v,A)}if(ue(v)||Zt(v))return L!==null?null:E(p,d,v,A,null);if(typeof v.then=="function")return b(p,d,mu(v),A);if(v.$$typeof===Ct)return b(p,d,ou(p,v),A);pu(p,v)}return null}function S(p,d,v,A,L){if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return p=p.get(v)||null,o(d,p,""+A,L);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case Gt:return p=p.get(A.key===null?v:A.key)||null,h(d,p,A,L);case jt:return p=p.get(A.key===null?v:A.key)||null,g(d,p,A,L);case qt:return A=Il(A),S(p,d,v,A,L)}if(ue(A)||Zt(A))return p=p.get(v)||null,E(d,p,A,L,null);if(typeof A.then=="function")return S(p,d,v,mu(A),L);if(A.$$typeof===Ct)return S(p,d,v,ou(d,A),L);pu(d,A)}return null}function q(p,d,v,A){for(var L=null,ut=null,H=d,J=d=0,P=null;H!==null&&J<v.length;J++){H.index>J?(P=H,H=null):P=H.sibling;var it=b(p,H,v[J],A);if(it===null){H===null&&(H=P);break}t&&H&&it.alternate===null&&e(p,H),d=u(it,d,J),ut===null?L=it:ut.sibling=it,ut=it,H=P}if(J===v.length)return l(p,H),tt&&Fe(p,J),L;if(H===null){for(;J<v.length;J++)H=z(p,v[J],A),H!==null&&(d=u(H,d,J),ut===null?L=H:ut.sibling=H,ut=H);return tt&&Fe(p,J),L}for(H=a(H);J<v.length;J++)P=S(H,p,J,v[J],A),P!==null&&(t&&P.alternate!==null&&H.delete(P.key===null?J:P.key),d=u(P,d,J),ut===null?L=P:ut.sibling=P,ut=P);return t&&H.forEach(function(Hl){return e(p,Hl)}),tt&&Fe(p,J),L}function Q(p,d,v,A){if(v==null)throw Error(f(151));for(var L=null,ut=null,H=d,J=d=0,P=null,it=v.next();H!==null&&!it.done;J++,it=v.next()){H.index>J?(P=H,H=null):P=H.sibling;var Hl=b(p,H,it.value,A);if(Hl===null){H===null&&(H=P);break}t&&H&&Hl.alternate===null&&e(p,H),d=u(Hl,d,J),ut===null?L=Hl:ut.sibling=Hl,ut=Hl,H=P}if(it.done)return l(p,H),tt&&Fe(p,J),L;if(H===null){for(;!it.done;J++,it=v.next())it=z(p,it.value,A),it!==null&&(d=u(it,d,J),ut===null?L=it:ut.sibling=it,ut=it);return tt&&Fe(p,J),L}for(H=a(H);!it.done;J++,it=v.next())it=S(H,p,J,it.value,A),it!==null&&(t&&it.alternate!==null&&H.delete(it.key===null?J:it.key),d=u(it,d,J),ut===null?L=it:ut.sibling=it,ut=it);return t&&H.forEach(function(Gy){return e(p,Gy)}),tt&&Fe(p,J),L}function yt(p,d,v,A){if(typeof v=="object"&&v!==null&&v.type===Rt&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Gt:t:{for(var L=v.key;d!==null;){if(d.key===L){if(L=v.type,L===Rt){if(d.tag===7){l(p,d.sibling),A=n(d,v.props.children),A.return=p,p=A;break t}}else if(d.elementType===L||typeof L=="object"&&L!==null&&L.$$typeof===qt&&Il(L)===d.type){l(p,d.sibling),A=n(d,v.props),hn(A,v),A.return=p,p=A;break t}l(p,d);break}else e(p,d);d=d.sibling}v.type===Rt?(A=Jl(v.props.children,p.mode,A,v.key),A.return=p,p=A):(A=su(v.type,v.key,v.props,null,p.mode,A),hn(A,v),A.return=p,p=A)}return c(p);case jt:t:{for(L=v.key;d!==null;){if(d.key===L)if(d.tag===4&&d.stateNode.containerInfo===v.containerInfo&&d.stateNode.implementation===v.implementation){l(p,d.sibling),A=n(d,v.children||[]),A.return=p,p=A;break t}else{l(p,d);break}else e(p,d);d=d.sibling}A=Vi(v,p.mode,A),A.return=p,p=A}return c(p);case qt:return v=Il(v),yt(p,d,v,A)}if(ue(v))return q(p,d,v,A);if(Zt(v)){if(L=Zt(v),typeof L!="function")throw Error(f(150));return v=L.call(v),Q(p,d,v,A)}if(typeof v.then=="function")return yt(p,d,mu(v),A);if(v.$$typeof===Ct)return yt(p,d,ou(p,v),A);pu(p,v)}return typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint"?(v=""+v,d!==null&&d.tag===6?(l(p,d.sibling),A=n(d,v),A.return=p,p=A):(l(p,d),A=Gi(v,p.mode,A),A.return=p,p=A),c(p)):l(p,d)}return function(p,d,v,A){try{on=0;var L=yt(p,d,v,A);return Oa=null,L}catch(H){if(H===za||H===du)throw H;var ut=re(29,H,null,p.mode);return ut.lanes=A,ut.return=p,ut}}}var ta=cr(!0),sr=cr(!1),Sl=!1;function lc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ac(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function _l(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function El(t,e,l){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(st&2)!==0){var n=a.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),a.pending=e,e=cu(t),Zf(t,null,l),e}return iu(t,a,e,l),cu(t)}function dn(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,Is(t,l)}}function nc(t,e){var l=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var c={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?n=u=c:u=u.next=c,l=l.next}while(l!==null);u===null?n=u=e:u=u.next=e}else n=u=e;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var uc=!1;function yn(){if(uc){var t=Aa;if(t!==null)throw t}}function mn(t,e,l,a){uc=!1;var n=t.updateQueue;Sl=!1;var u=n.firstBaseUpdate,c=n.lastBaseUpdate,o=n.shared.pending;if(o!==null){n.shared.pending=null;var h=o,g=h.next;h.next=null,c===null?u=g:c.next=g,c=h;var E=t.alternate;E!==null&&(E=E.updateQueue,o=E.lastBaseUpdate,o!==c&&(o===null?E.firstBaseUpdate=g:o.next=g,E.lastBaseUpdate=h))}if(u!==null){var z=n.baseState;c=0,E=g=h=null,o=u;do{var b=o.lane&-536870913,S=b!==o.lane;if(S?(I&b)===b:(a&b)===b){b!==0&&b===Ta&&(uc=!0),E!==null&&(E=E.next={lane:0,tag:o.tag,payload:o.payload,callback:null,next:null});t:{var q=t,Q=o;b=e;var yt=l;switch(Q.tag){case 1:if(q=Q.payload,typeof q=="function"){z=q.call(yt,z,b);break t}z=q;break t;case 3:q.flags=q.flags&-65537|128;case 0:if(q=Q.payload,b=typeof q=="function"?q.call(yt,z,b):q,b==null)break t;z=Y({},z,b);break t;case 2:Sl=!0}}b=o.callback,b!==null&&(t.flags|=64,S&&(t.flags|=8192),S=n.callbacks,S===null?n.callbacks=[b]:S.push(b))}else S={lane:b,tag:o.tag,payload:o.payload,callback:o.callback,next:null},E===null?(g=E=S,h=z):E=E.next=S,c|=b;if(o=o.next,o===null){if(o=n.shared.pending,o===null)break;S=o,o=S.next,S.next=null,n.lastBaseUpdate=S,n.shared.pending=null}}while(!0);E===null&&(h=z),n.baseState=h,n.firstBaseUpdate=g,n.lastBaseUpdate=E,u===null&&(n.shared.lanes=0),Ol|=c,t.lanes=c,t.memoizedState=z}}function fr(t,e){if(typeof t!="function")throw Error(f(191,t));t.call(e)}function rr(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)fr(l[t],e)}var Na=y(null),vu=y(0);function or(t,e){t=sl,C(vu,t),C(Na,e),sl=t|e.baseLanes}function ic(){C(vu,sl),C(Na,Na.current)}function cc(){sl=vu.current,O(Na),O(vu)}var oe=y(null),ze=null;function xl(t){var e=t.alternate;C(xt,xt.current&1),C(oe,t),ze===null&&(e===null||Na.current!==null||e.memoizedState!==null)&&(ze=t)}function sc(t){C(xt,xt.current),C(oe,t),ze===null&&(ze=t)}function hr(t){t.tag===22?(C(xt,xt.current),C(oe,t),ze===null&&(ze=t)):Tl()}function Tl(){C(xt,xt.current),C(oe,oe.current)}function he(t){O(oe),ze===t&&(ze=null),O(xt)}var xt=y(0);function gu(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||ys(l)||ms(l)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var tl=0,K=null,ht=null,zt=null,bu=!1,Ma=!1,ea=!1,Su=0,pn=0,Da=null,U0=0;function St(){throw Error(f(321))}function fc(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!fe(t[l],e[l]))return!1;return!0}function rc(t,e,l,a,n,u){return tl=u,K=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,x.H=t===null||t.memoizedState===null?Wr:Ac,ea=!1,u=l(a,n),ea=!1,Ma&&(u=yr(e,l,a,n)),dr(t),u}function dr(t){x.H=bn;var e=ht!==null&&ht.next!==null;if(tl=0,zt=ht=K=null,bu=!1,pn=0,Da=null,e)throw Error(f(300));t===null||Ot||(t=t.dependencies,t!==null&&ru(t)&&(Ot=!0))}function yr(t,e,l,a){K=t;var n=0;do{if(Ma&&(Da=null),pn=0,Ma=!1,25<=n)throw Error(f(301));if(n+=1,zt=ht=null,t.updateQueue!=null){var u=t.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}x.H=$r,u=e(l,a)}while(Ma);return u}function B0(){var t=x.H,e=t.useState()[0];return e=typeof e.then=="function"?vn(e):e,t=t.useState()[0],(ht!==null?ht.memoizedState:null)!==t&&(K.flags|=1024),e}function oc(){var t=Su!==0;return Su=0,t}function hc(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function dc(t){if(bu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}bu=!1}tl=0,zt=ht=K=null,Ma=!1,pn=Su=0,Da=null}function kt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return zt===null?K.memoizedState=zt=t:zt=zt.next=t,zt}function Tt(){if(ht===null){var t=K.alternate;t=t!==null?t.memoizedState:null}else t=ht.next;var e=zt===null?K.memoizedState:zt.next;if(e!==null)zt=e,ht=t;else{if(t===null)throw K.alternate===null?Error(f(467)):Error(f(310));ht=t,t={memoizedState:ht.memoizedState,baseState:ht.baseState,baseQueue:ht.baseQueue,queue:ht.queue,next:null},zt===null?K.memoizedState=zt=t:zt=zt.next=t}return zt}function _u(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function vn(t){var e=pn;return pn+=1,Da===null&&(Da=[]),t=nr(Da,t,e),e=K,(zt===null?e.memoizedState:zt.next)===null&&(e=e.alternate,x.H=e===null||e.memoizedState===null?Wr:Ac),t}function Eu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return vn(t);if(t.$$typeof===Ct)return wt(t)}throw Error(f(438,String(t)))}function yc(t){var e=null,l=K.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var a=K.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(e={data:a.data.map(function(n){return n.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),l===null&&(l=_u(),K.updateQueue=l),l.memoCache=e,l=e.data[e.index],l===void 0)for(l=e.data[e.index]=Array(t),a=0;a<t;a++)l[a]=ol;return e.index++,l}function el(t,e){return typeof e=="function"?e(t):e}function xu(t){var e=Tt();return mc(e,ht,t)}function mc(t,e,l){var a=t.queue;if(a===null)throw Error(f(311));a.lastRenderedReducer=l;var n=t.baseQueue,u=a.pending;if(u!==null){if(n!==null){var c=n.next;n.next=u.next,u.next=c}e.baseQueue=n=u,a.pending=null}if(u=t.baseState,n===null)t.memoizedState=u;else{e=n.next;var o=c=null,h=null,g=e,E=!1;do{var z=g.lane&-536870913;if(z!==g.lane?(I&z)===z:(tl&z)===z){var b=g.revertLane;if(b===0)h!==null&&(h=h.next={lane:0,revertLane:0,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null}),z===Ta&&(E=!0);else if((tl&b)===b){g=g.next,b===Ta&&(E=!0);continue}else z={lane:0,revertLane:g.revertLane,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},h===null?(o=h=z,c=u):h=h.next=z,K.lanes|=b,Ol|=b;z=g.action,ea&&l(u,z),u=g.hasEagerState?g.eagerState:l(u,z)}else b={lane:z,revertLane:g.revertLane,gesture:g.gesture,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},h===null?(o=h=b,c=u):h=h.next=b,K.lanes|=z,Ol|=z;g=g.next}while(g!==null&&g!==e);if(h===null?c=u:h.next=o,!fe(u,t.memoizedState)&&(Ot=!0,E&&(l=Aa,l!==null)))throw l;t.memoizedState=u,t.baseState=c,t.baseQueue=h,a.lastRenderedState=u}return n===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function pc(t){var e=Tt(),l=e.queue;if(l===null)throw Error(f(311));l.lastRenderedReducer=t;var a=l.dispatch,n=l.pending,u=e.memoizedState;if(n!==null){l.pending=null;var c=n=n.next;do u=t(u,c.action),c=c.next;while(c!==n);fe(u,e.memoizedState)||(Ot=!0),e.memoizedState=u,e.baseQueue===null&&(e.baseState=u),l.lastRenderedState=u}return[u,a]}function mr(t,e,l){var a=K,n=Tt(),u=tt;if(u){if(l===void 0)throw Error(f(407));l=l()}else l=e();var c=!fe((ht||n).memoizedState,l);if(c&&(n.memoizedState=l,Ot=!0),n=n.queue,bc(gr.bind(null,a,n,t),[t]),n.getSnapshot!==e||c||zt!==null&&zt.memoizedState.tag&1){if(a.flags|=2048,Ra(9,{destroy:void 0},vr.bind(null,a,n,l,e),null),mt===null)throw Error(f(349));u||(tl&127)!==0||pr(a,e,l)}return l}function pr(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=K.updateQueue,e===null?(e=_u(),K.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function vr(t,e,l,a){e.value=l,e.getSnapshot=a,br(e)&&Sr(t)}function gr(t,e,l){return l(function(){br(e)&&Sr(t)})}function br(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!fe(t,l)}catch{return!0}}function Sr(t){var e=Kl(t,2);e!==null&&ae(e,t,2)}function vc(t){var e=kt();if(typeof t=="function"){var l=t;if(t=l(),ea){dl(!0);try{l()}finally{dl(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:el,lastRenderedState:t},e}function _r(t,e,l,a){return t.baseState=l,mc(t,ht,typeof a=="function"?a:el)}function j0(t,e,l,a,n){if(zu(t))throw Error(f(485));if(t=e.action,t!==null){var u={payload:n,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){u.listeners.push(c)}};x.T!==null?l(!0):u.isTransition=!1,a(u),l=e.pending,l===null?(u.next=e.pending=u,Er(e,u)):(u.next=l.next,e.pending=l.next=u)}}function Er(t,e){var l=e.action,a=e.payload,n=t.state;if(e.isTransition){var u=x.T,c={};x.T=c;try{var o=l(n,a),h=x.S;h!==null&&h(c,o),xr(t,e,o)}catch(g){gc(t,e,g)}finally{u!==null&&c.types!==null&&(u.types=c.types),x.T=u}}else try{u=l(n,a),xr(t,e,u)}catch(g){gc(t,e,g)}}function xr(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){Tr(t,e,a)},function(a){return gc(t,e,a)}):Tr(t,e,l)}function Tr(t,e,l){e.status="fulfilled",e.value=l,Ar(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,Er(t,l)))}function gc(t,e,l){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=l,Ar(e),e=e.next;while(e!==a)}t.action=null}function Ar(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function zr(t,e){return e}function Or(t,e){if(tt){var l=mt.formState;if(l!==null){t:{var a=K;if(tt){if(pt){e:{for(var n=pt,u=Ae;n.nodeType!==8;){if(!u){n=null;break e}if(n=Oe(n.nextSibling),n===null){n=null;break e}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){pt=Oe(n.nextSibling),a=n.data==="F!";break t}}gl(a)}a=!1}a&&(e=l[0])}}return l=kt(),l.memoizedState=l.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zr,lastRenderedState:e},l.queue=a,l=Kr.bind(null,K,a),a.dispatch=l,a=vc(!1),u=Tc.bind(null,K,!1,a.queue),a=kt(),n={state:e,dispatch:null,action:t,pending:null},a.queue=n,l=j0.bind(null,K,n,u,l),n.dispatch=l,a.memoizedState=t,[e,l,!1]}function Nr(t){var e=Tt();return Mr(e,ht,t)}function Mr(t,e,l){if(e=mc(t,e,zr)[0],t=xu(el)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=vn(e)}catch(c){throw c===za?du:c}else a=e;e=Tt();var n=e.queue,u=n.dispatch;return l!==e.memoizedState&&(K.flags|=2048,Ra(9,{destroy:void 0},q0.bind(null,n,l),null)),[a,u,t]}function q0(t,e){t.action=e}function Dr(t){var e=Tt(),l=ht;if(l!==null)return Mr(e,l,t);Tt(),e=e.memoizedState,l=Tt();var a=l.queue.dispatch;return l.memoizedState=t,[e,a,!1]}function Ra(t,e,l,a){return t={tag:t,create:l,deps:a,inst:e,next:null},e=K.updateQueue,e===null&&(e=_u(),K.updateQueue=e),l=e.lastEffect,l===null?e.lastEffect=t.next=t:(a=l.next,l.next=t,t.next=a,e.lastEffect=t),t}function Rr(){return Tt().memoizedState}function Tu(t,e,l,a){var n=kt();K.flags|=t,n.memoizedState=Ra(1|e,{destroy:void 0},l,a===void 0?null:a)}function Au(t,e,l,a){var n=Tt();a=a===void 0?null:a;var u=n.memoizedState.inst;ht!==null&&a!==null&&fc(a,ht.memoizedState.deps)?n.memoizedState=Ra(e,u,l,a):(K.flags|=t,n.memoizedState=Ra(1|e,u,l,a))}function Cr(t,e){Tu(8390656,8,t,e)}function bc(t,e){Au(2048,8,t,e)}function H0(t){K.flags|=4;var e=K.updateQueue;if(e===null)e=_u(),K.updateQueue=e,e.events=[t];else{var l=e.events;l===null?e.events=[t]:l.push(t)}}function Ur(t){var e=Tt().memoizedState;return H0({ref:e,nextImpl:t}),function(){if((st&2)!==0)throw Error(f(440));return e.impl.apply(void 0,arguments)}}function Br(t,e){return Au(4,2,t,e)}function jr(t,e){return Au(4,4,t,e)}function qr(t,e){if(typeof e=="function"){t=t();var l=e(t);return function(){typeof l=="function"?l():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Hr(t,e,l){l=l!=null?l.concat([t]):null,Au(4,4,qr.bind(null,e,t),l)}function Sc(){}function Yr(t,e){var l=Tt();e=e===void 0?null:e;var a=l.memoizedState;return e!==null&&fc(e,a[1])?a[0]:(l.memoizedState=[t,e],t)}function Lr(t,e){var l=Tt();e=e===void 0?null:e;var a=l.memoizedState;if(e!==null&&fc(e,a[1]))return a[0];if(a=t(),ea){dl(!0);try{t()}finally{dl(!1)}}return l.memoizedState=[a,e],a}function _c(t,e,l){return l===void 0||(tl&1073741824)!==0&&(I&261930)===0?t.memoizedState=e:(t.memoizedState=l,t=Xo(),K.lanes|=t,Ol|=t,l)}function wr(t,e,l,a){return fe(l,e)?l:Na.current!==null?(t=_c(t,l,a),fe(t,e)||(Ot=!0),t):(tl&42)===0||(tl&1073741824)!==0&&(I&261930)===0?(Ot=!0,t.memoizedState=l):(t=Xo(),K.lanes|=t,Ol|=t,e)}function Xr(t,e,l,a,n){var u=R.p;R.p=u!==0&&8>u?u:8;var c=x.T,o={};x.T=o,Tc(t,!1,e,l);try{var h=n(),g=x.S;if(g!==null&&g(o,h),h!==null&&typeof h=="object"&&typeof h.then=="function"){var E=C0(h,a);gn(t,e,E,me(t))}else gn(t,e,a,me(t))}catch(z){gn(t,e,{then:function(){},status:"rejected",reason:z},me())}finally{R.p=u,c!==null&&o.types!==null&&(c.types=o.types),x.T=c}}function Y0(){}function Ec(t,e,l,a){if(t.tag!==5)throw Error(f(476));var n=Qr(t).queue;Xr(t,n,e,X,l===null?Y0:function(){return Gr(t),l(a)})}function Qr(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:X,baseState:X,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:el,lastRenderedState:X},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:el,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Gr(t){var e=Qr(t);e.next===null&&(e=t.alternate.memoizedState),gn(t,e.next.queue,{},me())}function xc(){return wt(jn)}function Vr(){return Tt().memoizedState}function Zr(){return Tt().memoizedState}function L0(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=me();t=_l(l);var a=El(e,t,l);a!==null&&(ae(a,e,l),dn(a,e,l)),e={cache:Ii()},t.payload=e;return}e=e.return}}function w0(t,e,l){var a=me();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},zu(t)?Jr(e,l):(l=Xi(t,e,l,a),l!==null&&(ae(l,t,a),kr(l,e,a)))}function Kr(t,e,l){var a=me();gn(t,e,l,a)}function gn(t,e,l,a){var n={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(zu(t))Jr(e,n);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=e.lastRenderedReducer,u!==null))try{var c=e.lastRenderedState,o=u(c,l);if(n.hasEagerState=!0,n.eagerState=o,fe(o,c))return iu(t,e,n,0),mt===null&&uu(),!1}catch{}if(l=Xi(t,e,n,a),l!==null)return ae(l,t,a),kr(l,e,a),!0}return!1}function Tc(t,e,l,a){if(a={lane:2,revertLane:ls(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},zu(t)){if(e)throw Error(f(479))}else e=Xi(t,l,a,2),e!==null&&ae(e,t,2)}function zu(t){var e=t.alternate;return t===K||e!==null&&e===K}function Jr(t,e){Ma=bu=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function kr(t,e,l){if((l&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,Is(t,l)}}var bn={readContext:wt,use:Eu,useCallback:St,useContext:St,useEffect:St,useImperativeHandle:St,useLayoutEffect:St,useInsertionEffect:St,useMemo:St,useReducer:St,useRef:St,useState:St,useDebugValue:St,useDeferredValue:St,useTransition:St,useSyncExternalStore:St,useId:St,useHostTransitionStatus:St,useFormState:St,useActionState:St,useOptimistic:St,useMemoCache:St,useCacheRefresh:St};bn.useEffectEvent=St;var Wr={readContext:wt,use:Eu,useCallback:function(t,e){return kt().memoizedState=[t,e===void 0?null:e],t},useContext:wt,useEffect:Cr,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,Tu(4194308,4,qr.bind(null,e,t),l)},useLayoutEffect:function(t,e){return Tu(4194308,4,t,e)},useInsertionEffect:function(t,e){Tu(4,2,t,e)},useMemo:function(t,e){var l=kt();e=e===void 0?null:e;var a=t();if(ea){dl(!0);try{t()}finally{dl(!1)}}return l.memoizedState=[a,e],a},useReducer:function(t,e,l){var a=kt();if(l!==void 0){var n=l(e);if(ea){dl(!0);try{l(e)}finally{dl(!1)}}}else n=e;return a.memoizedState=a.baseState=n,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:n},a.queue=t,t=t.dispatch=w0.bind(null,K,t),[a.memoizedState,t]},useRef:function(t){var e=kt();return t={current:t},e.memoizedState=t},useState:function(t){t=vc(t);var e=t.queue,l=Kr.bind(null,K,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:Sc,useDeferredValue:function(t,e){var l=kt();return _c(l,t,e)},useTransition:function(){var t=vc(!1);return t=Xr.bind(null,K,t.queue,!0,!1),kt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var a=K,n=kt();if(tt){if(l===void 0)throw Error(f(407));l=l()}else{if(l=e(),mt===null)throw Error(f(349));(I&127)!==0||pr(a,e,l)}n.memoizedState=l;var u={value:l,getSnapshot:e};return n.queue=u,Cr(gr.bind(null,a,u,t),[t]),a.flags|=2048,Ra(9,{destroy:void 0},vr.bind(null,a,u,l,e),null),l},useId:function(){var t=kt(),e=mt.identifierPrefix;if(tt){var l=Le,a=Ye;l=(a&~(1<<32-se(a)-1)).toString(32)+l,e="_"+e+"R_"+l,l=Su++,0<l&&(e+="H"+l.toString(32)),e+="_"}else l=U0++,e="_"+e+"r_"+l.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:xc,useFormState:Or,useActionState:Or,useOptimistic:function(t){var e=kt();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=Tc.bind(null,K,!0,l),l.dispatch=e,[t,e]},useMemoCache:yc,useCacheRefresh:function(){return kt().memoizedState=L0.bind(null,K)},useEffectEvent:function(t){var e=kt(),l={impl:t};return e.memoizedState=l,function(){if((st&2)!==0)throw Error(f(440));return l.impl.apply(void 0,arguments)}}},Ac={readContext:wt,use:Eu,useCallback:Yr,useContext:wt,useEffect:bc,useImperativeHandle:Hr,useInsertionEffect:Br,useLayoutEffect:jr,useMemo:Lr,useReducer:xu,useRef:Rr,useState:function(){return xu(el)},useDebugValue:Sc,useDeferredValue:function(t,e){var l=Tt();return wr(l,ht.memoizedState,t,e)},useTransition:function(){var t=xu(el)[0],e=Tt().memoizedState;return[typeof t=="boolean"?t:vn(t),e]},useSyncExternalStore:mr,useId:Vr,useHostTransitionStatus:xc,useFormState:Nr,useActionState:Nr,useOptimistic:function(t,e){var l=Tt();return _r(l,ht,t,e)},useMemoCache:yc,useCacheRefresh:Zr};Ac.useEffectEvent=Ur;var $r={readContext:wt,use:Eu,useCallback:Yr,useContext:wt,useEffect:bc,useImperativeHandle:Hr,useInsertionEffect:Br,useLayoutEffect:jr,useMemo:Lr,useReducer:pc,useRef:Rr,useState:function(){return pc(el)},useDebugValue:Sc,useDeferredValue:function(t,e){var l=Tt();return ht===null?_c(l,t,e):wr(l,ht.memoizedState,t,e)},useTransition:function(){var t=pc(el)[0],e=Tt().memoizedState;return[typeof t=="boolean"?t:vn(t),e]},useSyncExternalStore:mr,useId:Vr,useHostTransitionStatus:xc,useFormState:Dr,useActionState:Dr,useOptimistic:function(t,e){var l=Tt();return ht!==null?_r(l,ht,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:yc,useCacheRefresh:Zr};$r.useEffectEvent=Ur;function zc(t,e,l,a){e=t.memoizedState,l=l(a,e),l=l==null?e:Y({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var Oc={enqueueSetState:function(t,e,l){t=t._reactInternals;var a=me(),n=_l(a);n.payload=e,l!=null&&(n.callback=l),e=El(t,n,a),e!==null&&(ae(e,t,a),dn(e,t,a))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var a=me(),n=_l(a);n.tag=1,n.payload=e,l!=null&&(n.callback=l),e=El(t,n,a),e!==null&&(ae(e,t,a),dn(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=me(),a=_l(l);a.tag=2,e!=null&&(a.callback=e),e=El(t,a,l),e!==null&&(ae(e,t,l),dn(e,t,l))}};function Fr(t,e,l,a,n,u,c){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,u,c):e.prototype&&e.prototype.isPureReactComponent?!nn(l,a)||!nn(n,u):!0}function Ir(t,e,l,a){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,a),e.state!==t&&Oc.enqueueReplaceState(e,e.state,null)}function la(t,e){var l=e;if("ref"in e){l={};for(var a in e)a!=="ref"&&(l[a]=e[a])}if(t=t.defaultProps){l===e&&(l=Y({},l));for(var n in t)l[n]===void 0&&(l[n]=t[n])}return l}function Pr(t){nu(t)}function to(t){console.error(t)}function eo(t){nu(t)}function Ou(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function lo(t,e,l){try{var a=t.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Nc(t,e,l){return l=_l(l),l.tag=3,l.payload={element:null},l.callback=function(){Ou(t,e)},l}function ao(t){return t=_l(t),t.tag=3,t}function no(t,e,l,a){var n=l.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;t.payload=function(){return n(u)},t.callback=function(){lo(e,l,a)}}var c=l.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(t.callback=function(){lo(e,l,a),typeof n!="function"&&(Nl===null?Nl=new Set([this]):Nl.add(this));var o=a.stack;this.componentDidCatch(a.value,{componentStack:o!==null?o:""})})}function X0(t,e,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=l.alternate,e!==null&&xa(e,l,n,!0),l=oe.current,l!==null){switch(l.tag){case 31:case 13:return ze===null?Lu():l.alternate===null&&_t===0&&(_t=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===yu?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([a]):e.add(a),Pc(t,a,n)),!1;case 22:return l.flags|=65536,a===yu?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([a]):l.add(a)),Pc(t,a,n)),!1}throw Error(f(435,l.tag))}return Pc(t,a,n),Lu(),!1}if(tt)return e=oe.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=n,a!==Ji&&(t=Error(f(422),{cause:a}),sn(Ee(t,l)))):(a!==Ji&&(e=Error(f(423),{cause:a}),sn(Ee(e,l))),t=t.current.alternate,t.flags|=65536,n&=-n,t.lanes|=n,a=Ee(a,l),n=Nc(t.stateNode,a,n),nc(t,n),_t!==4&&(_t=2)),!1;var u=Error(f(520),{cause:a});if(u=Ee(u,l),On===null?On=[u]:On.push(u),_t!==4&&(_t=2),e===null)return!0;a=Ee(a,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=n&-n,l.lanes|=t,t=Nc(l.stateNode,a,t),nc(l,t),!1;case 1:if(e=l.type,u=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Nl===null||!Nl.has(u))))return l.flags|=65536,n&=-n,l.lanes|=n,n=ao(n),no(n,t,l,a),nc(l,n),!1}l=l.return}while(l!==null);return!1}var Mc=Error(f(461)),Ot=!1;function Xt(t,e,l,a){e.child=t===null?sr(e,null,l,a):ta(e,t.child,l,a)}function uo(t,e,l,a,n){l=l.render;var u=e.ref;if("ref"in a){var c={};for(var o in a)o!=="ref"&&(c[o]=a[o])}else c=a;return $l(e),a=rc(t,e,l,c,u,n),o=oc(),t!==null&&!Ot?(hc(t,e,n),ll(t,e,n)):(tt&&o&&Zi(e),e.flags|=1,Xt(t,e,a,n),e.child)}function io(t,e,l,a,n){if(t===null){var u=l.type;return typeof u=="function"&&!Qi(u)&&u.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=u,co(t,e,u,a,n)):(t=su(l.type,null,a,e,e.mode,n),t.ref=e.ref,t.return=e,e.child=t)}if(u=t.child,!Hc(t,n)){var c=u.memoizedProps;if(l=l.compare,l=l!==null?l:nn,l(c,a)&&t.ref===e.ref)return ll(t,e,n)}return e.flags|=1,t=$e(u,a),t.ref=e.ref,t.return=e,e.child=t}function co(t,e,l,a,n){if(t!==null){var u=t.memoizedProps;if(nn(u,a)&&t.ref===e.ref)if(Ot=!1,e.pendingProps=a=u,Hc(t,n))(t.flags&131072)!==0&&(Ot=!0);else return e.lanes=t.lanes,ll(t,e,n)}return Dc(t,e,l,a,n)}function so(t,e,l,a){var n=a.children,u=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((e.flags&128)!==0){if(u=u!==null?u.baseLanes|l:l,t!==null){for(a=e.child=t.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~u}else a=0,e.child=null;return fo(t,e,u,l,a)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&hu(e,u!==null?u.cachePool:null),u!==null?or(e,u):ic(),hr(e);else return a=e.lanes=536870912,fo(t,e,u!==null?u.baseLanes|l:l,l,a)}else u!==null?(hu(e,u.cachePool),or(e,u),Tl(),e.memoizedState=null):(t!==null&&hu(e,null),ic(),Tl());return Xt(t,e,n,l),e.child}function Sn(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function fo(t,e,l,a,n){var u=tc();return u=u===null?null:{parent:At._currentValue,pool:u},e.memoizedState={baseLanes:l,cachePool:u},t!==null&&hu(e,null),ic(),hr(e),t!==null&&xa(t,e,a,!0),e.childLanes=n,null}function Nu(t,e){return e=Du({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function ro(t,e,l){return ta(e,t.child,null,l),t=Nu(e,e.pendingProps),t.flags|=2,he(e),e.memoizedState=null,t}function Q0(t,e,l){var a=e.pendingProps,n=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(tt){if(a.mode==="hidden")return t=Nu(e,a),e.lanes=536870912,Sn(null,t);if(sc(e),(t=pt)?(t=xh(t,Ae),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:pl!==null?{id:Ye,overflow:Le}:null,retryLane:536870912,hydrationErrors:null},l=Jf(t),l.return=e,e.child=l,Lt=e,pt=null)):t=null,t===null)throw gl(e);return e.lanes=536870912,null}return Nu(e,a)}var u=t.memoizedState;if(u!==null){var c=u.dehydrated;if(sc(e),n)if(e.flags&256)e.flags&=-257,e=ro(t,e,l);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(f(558));else if(Ot||xa(t,e,l,!1),n=(l&t.childLanes)!==0,Ot||n){if(a=mt,a!==null&&(c=Ps(a,l),c!==0&&c!==u.retryLane))throw u.retryLane=c,Kl(t,c),ae(a,t,c),Mc;Lu(),e=ro(t,e,l)}else t=u.treeContext,pt=Oe(c.nextSibling),Lt=e,tt=!0,vl=null,Ae=!1,t!==null&&$f(e,t),e=Nu(e,a),e.flags|=4096;return e}return t=$e(t.child,{mode:a.mode,children:a.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Mu(t,e){var l=e.ref;if(l===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(f(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function Dc(t,e,l,a,n){return $l(e),l=rc(t,e,l,a,void 0,n),a=oc(),t!==null&&!Ot?(hc(t,e,n),ll(t,e,n)):(tt&&a&&Zi(e),e.flags|=1,Xt(t,e,l,n),e.child)}function oo(t,e,l,a,n,u){return $l(e),e.updateQueue=null,l=yr(e,a,l,n),dr(t),a=oc(),t!==null&&!Ot?(hc(t,e,u),ll(t,e,u)):(tt&&a&&Zi(e),e.flags|=1,Xt(t,e,l,u),e.child)}function ho(t,e,l,a,n){if($l(e),e.stateNode===null){var u=ba,c=l.contextType;typeof c=="object"&&c!==null&&(u=wt(c)),u=new l(a,u),e.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Oc,e.stateNode=u,u._reactInternals=e,u=e.stateNode,u.props=a,u.state=e.memoizedState,u.refs={},lc(e),c=l.contextType,u.context=typeof c=="object"&&c!==null?wt(c):ba,u.state=e.memoizedState,c=l.getDerivedStateFromProps,typeof c=="function"&&(zc(e,l,c,a),u.state=e.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(c=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),c!==u.state&&Oc.enqueueReplaceState(u,u.state,null),mn(e,a,u,n),yn(),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){u=e.stateNode;var o=e.memoizedProps,h=la(l,o);u.props=h;var g=u.context,E=l.contextType;c=ba,typeof E=="object"&&E!==null&&(c=wt(E));var z=l.getDerivedStateFromProps;E=typeof z=="function"||typeof u.getSnapshotBeforeUpdate=="function",o=e.pendingProps!==o,E||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(o||g!==c)&&Ir(e,u,a,c),Sl=!1;var b=e.memoizedState;u.state=b,mn(e,a,u,n),yn(),g=e.memoizedState,o||b!==g||Sl?(typeof z=="function"&&(zc(e,l,z,a),g=e.memoizedState),(h=Sl||Fr(e,l,h,a,b,g,c))?(E||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(e.flags|=4194308)):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=g),u.props=a,u.state=g,u.context=c,a=h):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{u=e.stateNode,ac(t,e),c=e.memoizedProps,E=la(l,c),u.props=E,z=e.pendingProps,b=u.context,g=l.contextType,h=ba,typeof g=="object"&&g!==null&&(h=wt(g)),o=l.getDerivedStateFromProps,(g=typeof o=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(c!==z||b!==h)&&Ir(e,u,a,h),Sl=!1,b=e.memoizedState,u.state=b,mn(e,a,u,n),yn();var S=e.memoizedState;c!==z||b!==S||Sl||t!==null&&t.dependencies!==null&&ru(t.dependencies)?(typeof o=="function"&&(zc(e,l,o,a),S=e.memoizedState),(E=Sl||Fr(e,l,E,a,b,S,h)||t!==null&&t.dependencies!==null&&ru(t.dependencies))?(g||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,S,h),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,S,h)),typeof u.componentDidUpdate=="function"&&(e.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof u.componentDidUpdate!="function"||c===t.memoizedProps&&b===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===t.memoizedProps&&b===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=S),u.props=a,u.state=S,u.context=h,a=E):(typeof u.componentDidUpdate!="function"||c===t.memoizedProps&&b===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===t.memoizedProps&&b===t.memoizedState||(e.flags|=1024),a=!1)}return u=a,Mu(t,e),a=(e.flags&128)!==0,u||a?(u=e.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:u.render(),e.flags|=1,t!==null&&a?(e.child=ta(e,t.child,null,n),e.child=ta(e,null,l,n)):Xt(t,e,l,n),e.memoizedState=u.state,t=e.child):t=ll(t,e,n),t}function yo(t,e,l,a){return kl(),e.flags|=256,Xt(t,e,l,a),e.child}var Rc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Cc(t){return{baseLanes:t,cachePool:lr()}}function Uc(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=ye),t}function mo(t,e,l){var a=e.pendingProps,n=!1,u=(e.flags&128)!==0,c;if((c=u)||(c=t!==null&&t.memoizedState===null?!1:(xt.current&2)!==0),c&&(n=!0,e.flags&=-129),c=(e.flags&32)!==0,e.flags&=-33,t===null){if(tt){if(n?xl(e):Tl(),(t=pt)?(t=xh(t,Ae),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:pl!==null?{id:Ye,overflow:Le}:null,retryLane:536870912,hydrationErrors:null},l=Jf(t),l.return=e,e.child=l,Lt=e,pt=null)):t=null,t===null)throw gl(e);return ms(t)?e.lanes=32:e.lanes=536870912,null}var o=a.children;return a=a.fallback,n?(Tl(),n=e.mode,o=Du({mode:"hidden",children:o},n),a=Jl(a,n,l,null),o.return=e,a.return=e,o.sibling=a,e.child=o,a=e.child,a.memoizedState=Cc(l),a.childLanes=Uc(t,c,l),e.memoizedState=Rc,Sn(null,a)):(xl(e),Bc(e,o))}var h=t.memoizedState;if(h!==null&&(o=h.dehydrated,o!==null)){if(u)e.flags&256?(xl(e),e.flags&=-257,e=jc(t,e,l)):e.memoizedState!==null?(Tl(),e.child=t.child,e.flags|=128,e=null):(Tl(),o=a.fallback,n=e.mode,a=Du({mode:"visible",children:a.children},n),o=Jl(o,n,l,null),o.flags|=2,a.return=e,o.return=e,a.sibling=o,e.child=a,ta(e,t.child,null,l),a=e.child,a.memoizedState=Cc(l),a.childLanes=Uc(t,c,l),e.memoizedState=Rc,e=Sn(null,a));else if(xl(e),ms(o)){if(c=o.nextSibling&&o.nextSibling.dataset,c)var g=c.dgst;c=g,a=Error(f(419)),a.stack="",a.digest=c,sn({value:a,source:null,stack:null}),e=jc(t,e,l)}else if(Ot||xa(t,e,l,!1),c=(l&t.childLanes)!==0,Ot||c){if(c=mt,c!==null&&(a=Ps(c,l),a!==0&&a!==h.retryLane))throw h.retryLane=a,Kl(t,a),ae(c,t,a),Mc;ys(o)||Lu(),e=jc(t,e,l)}else ys(o)?(e.flags|=192,e.child=t.child,e=null):(t=h.treeContext,pt=Oe(o.nextSibling),Lt=e,tt=!0,vl=null,Ae=!1,t!==null&&$f(e,t),e=Bc(e,a.children),e.flags|=4096);return e}return n?(Tl(),o=a.fallback,n=e.mode,h=t.child,g=h.sibling,a=$e(h,{mode:"hidden",children:a.children}),a.subtreeFlags=h.subtreeFlags&65011712,g!==null?o=$e(g,o):(o=Jl(o,n,l,null),o.flags|=2),o.return=e,a.return=e,a.sibling=o,e.child=a,Sn(null,a),a=e.child,o=t.child.memoizedState,o===null?o=Cc(l):(n=o.cachePool,n!==null?(h=At._currentValue,n=n.parent!==h?{parent:h,pool:h}:n):n=lr(),o={baseLanes:o.baseLanes|l,cachePool:n}),a.memoizedState=o,a.childLanes=Uc(t,c,l),e.memoizedState=Rc,Sn(t.child,a)):(xl(e),l=t.child,t=l.sibling,l=$e(l,{mode:"visible",children:a.children}),l.return=e,l.sibling=null,t!==null&&(c=e.deletions,c===null?(e.deletions=[t],e.flags|=16):c.push(t)),e.child=l,e.memoizedState=null,l)}function Bc(t,e){return e=Du({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Du(t,e){return t=re(22,t,null,e),t.lanes=0,t}function jc(t,e,l){return ta(e,t.child,null,l),t=Bc(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function po(t,e,l){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),$i(t.return,e,l)}function qc(t,e,l,a,n,u){var c=t.memoizedState;c===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:n,treeForkCount:u}:(c.isBackwards=e,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=l,c.tailMode=n,c.treeForkCount=u)}function vo(t,e,l){var a=e.pendingProps,n=a.revealOrder,u=a.tail;a=a.children;var c=xt.current,o=(c&2)!==0;if(o?(c=c&1|2,e.flags|=128):c&=1,C(xt,c),Xt(t,e,a,l),a=tt?cn:0,!o&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&po(t,l,e);else if(t.tag===19)po(t,l,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(n){case"forwards":for(l=e.child,n=null;l!==null;)t=l.alternate,t!==null&&gu(t)===null&&(n=l),l=l.sibling;l=n,l===null?(n=e.child,e.child=null):(n=l.sibling,l.sibling=null),qc(e,!1,n,l,u,a);break;case"backwards":case"unstable_legacy-backwards":for(l=null,n=e.child,e.child=null;n!==null;){if(t=n.alternate,t!==null&&gu(t)===null){e.child=n;break}t=n.sibling,n.sibling=l,l=n,n=t}qc(e,!0,l,null,u,a);break;case"together":qc(e,!1,null,null,void 0,a);break;default:e.memoizedState=null}return e.child}function ll(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),Ol|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(xa(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(f(153));if(e.child!==null){for(t=e.child,l=$e(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=$e(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function Hc(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&ru(t)))}function G0(t,e,l){switch(e.tag){case 3:Ht(e,e.stateNode.containerInfo),bl(e,At,t.memoizedState.cache),kl();break;case 27:case 5:Ll(e);break;case 4:Ht(e,e.stateNode.containerInfo);break;case 10:bl(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,sc(e),null;break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(xl(e),e.flags|=128,null):(l&e.child.childLanes)!==0?mo(t,e,l):(xl(e),t=ll(t,e,l),t!==null?t.sibling:null);xl(e);break;case 19:var n=(t.flags&128)!==0;if(a=(l&e.childLanes)!==0,a||(xa(t,e,l,!1),a=(l&e.childLanes)!==0),n){if(a)return vo(t,e,l);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),C(xt,xt.current),a)break;return null;case 22:return e.lanes=0,so(t,e,l,e.pendingProps);case 24:bl(e,At,t.memoizedState.cache)}return ll(t,e,l)}function go(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)Ot=!0;else{if(!Hc(t,l)&&(e.flags&128)===0)return Ot=!1,G0(t,e,l);Ot=(t.flags&131072)!==0}else Ot=!1,tt&&(e.flags&1048576)!==0&&Wf(e,cn,e.index);switch(e.lanes=0,e.tag){case 16:t:{var a=e.pendingProps;if(t=Il(e.elementType),e.type=t,typeof t=="function")Qi(t)?(a=la(t,a),e.tag=1,e=ho(null,e,t,a,l)):(e.tag=0,e=Dc(null,e,t,a,l));else{if(t!=null){var n=t.$$typeof;if(n===$t){e.tag=11,e=uo(null,e,t,a,l);break t}else if(n===W){e.tag=14,e=io(null,e,t,a,l);break t}}throw e=De(t)||t,Error(f(306,e,""))}}return e;case 0:return Dc(t,e,e.type,e.pendingProps,l);case 1:return a=e.type,n=la(a,e.pendingProps),ho(t,e,a,n,l);case 3:t:{if(Ht(e,e.stateNode.containerInfo),t===null)throw Error(f(387));a=e.pendingProps;var u=e.memoizedState;n=u.element,ac(t,e),mn(e,a,null,l);var c=e.memoizedState;if(a=c.cache,bl(e,At,a),a!==u.cache&&Fi(e,[At],l,!0),yn(),a=c.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:c.cache},e.updateQueue.baseState=u,e.memoizedState=u,e.flags&256){e=yo(t,e,a,l);break t}else if(a!==n){n=Ee(Error(f(424)),e),sn(n),e=yo(t,e,a,l);break t}else for(t=e.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,pt=Oe(t.firstChild),Lt=e,tt=!0,vl=null,Ae=!0,l=sr(e,null,a,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(kl(),a===n){e=ll(t,e,l);break t}Xt(t,e,a,l)}e=e.child}return e;case 26:return Mu(t,e),t===null?(l=Mh(e.type,null,e.pendingProps,null))?e.memoizedState=l:tt||(l=e.type,t=e.pendingProps,a=Ku(k.current).createElement(l),a[Yt]=e,a[Ft]=t,Qt(a,l,t),Ut(a),e.stateNode=a):e.memoizedState=Mh(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Ll(e),t===null&&tt&&(a=e.stateNode=zh(e.type,e.pendingProps,k.current),Lt=e,Ae=!0,n=pt,Cl(e.type)?(ps=n,pt=Oe(a.firstChild)):pt=n),Xt(t,e,e.pendingProps.children,l),Mu(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&tt&&((n=a=pt)&&(a=by(a,e.type,e.pendingProps,Ae),a!==null?(e.stateNode=a,Lt=e,pt=Oe(a.firstChild),Ae=!1,n=!0):n=!1),n||gl(e)),Ll(e),n=e.type,u=e.pendingProps,c=t!==null?t.memoizedProps:null,a=u.children,os(n,u)?a=null:c!==null&&os(n,c)&&(e.flags|=32),e.memoizedState!==null&&(n=rc(t,e,B0,null,null,l),jn._currentValue=n),Mu(t,e),Xt(t,e,a,l),e.child;case 6:return t===null&&tt&&((t=l=pt)&&(l=Sy(l,e.pendingProps,Ae),l!==null?(e.stateNode=l,Lt=e,pt=null,t=!0):t=!1),t||gl(e)),null;case 13:return mo(t,e,l);case 4:return Ht(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=ta(e,null,a,l):Xt(t,e,a,l),e.child;case 11:return uo(t,e,e.type,e.pendingProps,l);case 7:return Xt(t,e,e.pendingProps,l),e.child;case 8:return Xt(t,e,e.pendingProps.children,l),e.child;case 12:return Xt(t,e,e.pendingProps.children,l),e.child;case 10:return a=e.pendingProps,bl(e,e.type,a.value),Xt(t,e,a.children,l),e.child;case 9:return n=e.type._context,a=e.pendingProps.children,$l(e),n=wt(n),a=a(n),e.flags|=1,Xt(t,e,a,l),e.child;case 14:return io(t,e,e.type,e.pendingProps,l);case 15:return co(t,e,e.type,e.pendingProps,l);case 19:return vo(t,e,l);case 31:return Q0(t,e,l);case 22:return so(t,e,l,e.pendingProps);case 24:return $l(e),a=wt(At),t===null?(n=tc(),n===null&&(n=mt,u=Ii(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=l),n=u),e.memoizedState={parent:a,cache:n},lc(e),bl(e,At,n)):((t.lanes&l)!==0&&(ac(t,e),mn(e,null,null,l),yn()),n=t.memoizedState,u=e.memoizedState,n.parent!==a?(n={parent:a,cache:a},e.memoizedState=n,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=n),bl(e,At,a)):(a=u.cache,bl(e,At,a),a!==n.cache&&Fi(e,[At],l,!0))),Xt(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(f(156,e.tag))}function al(t){t.flags|=4}function Yc(t,e,l,a,n){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(n&335544128)===n)if(t.stateNode.complete)t.flags|=8192;else if(Zo())t.flags|=8192;else throw Pl=yu,ec}else t.flags&=-16777217}function bo(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Bh(e))if(Zo())t.flags|=8192;else throw Pl=yu,ec}function Ru(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?$s():536870912,t.lanes|=e,ja|=e)}function _n(t,e){if(!tt)switch(t.tailMode){case"hidden":e=t.tail;for(var l=null;e!==null;)e.alternate!==null&&(l=e),e=e.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function vt(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,a=0;if(e)for(var n=t.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=t,n=n.sibling;else for(n=t.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=t,n=n.sibling;return t.subtreeFlags|=a,t.childLanes=l,e}function V0(t,e,l){var a=e.pendingProps;switch(Ki(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vt(e),null;case 1:return vt(e),null;case 3:return l=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Pe(At),bt(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(Ea(e)?al(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,ki())),vt(e),null;case 26:var n=e.type,u=e.memoizedState;return t===null?(al(e),u!==null?(vt(e),bo(e,u)):(vt(e),Yc(e,n,null,a,l))):u?u!==t.memoizedState?(al(e),vt(e),bo(e,u)):(vt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==a&&al(e),vt(e),Yc(e,n,t,a,l)),null;case 27:if(U(e),l=k.current,n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&al(e);else{if(!a){if(e.stateNode===null)throw Error(f(166));return vt(e),null}t=B.current,Ea(e)?Ff(e):(t=zh(n,a,l),e.stateNode=t,al(e))}return vt(e),null;case 5:if(U(e),n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&al(e);else{if(!a){if(e.stateNode===null)throw Error(f(166));return vt(e),null}if(u=B.current,Ea(e))Ff(e);else{var c=Ku(k.current);switch(u){case 1:u=c.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:u=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":u=c.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":u=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":u=c.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?c.createElement("select",{is:a.is}):c.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?c.createElement(n,{is:a.is}):c.createElement(n)}}u[Yt]=e,u[Ft]=a;t:for(c=e.child;c!==null;){if(c.tag===5||c.tag===6)u.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)break t;for(;c.sibling===null;){if(c.return===null||c.return===e)break t;c=c.return}c.sibling.return=c.return,c=c.sibling}e.stateNode=u;t:switch(Qt(u,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break t;case"img":a=!0;break t;default:a=!1}a&&al(e)}}return vt(e),Yc(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,l),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&al(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(f(166));if(t=k.current,Ea(e)){if(t=e.stateNode,l=e.memoizedProps,a=null,n=Lt,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}t[Yt]=e,t=!!(t.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||mh(t.nodeValue,l)),t||gl(e,!0)}else t=Ku(t).createTextNode(a),t[Yt]=e,e.stateNode=t}return vt(e),null;case 31:if(l=e.memoizedState,t===null||t.memoizedState!==null){if(a=Ea(e),l!==null){if(t===null){if(!a)throw Error(f(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(f(557));t[Yt]=e}else kl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;vt(e),t=!1}else l=ki(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return e.flags&256?(he(e),e):(he(e),null);if((e.flags&128)!==0)throw Error(f(558))}return vt(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(n=Ea(e),a!==null&&a.dehydrated!==null){if(t===null){if(!n)throw Error(f(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(f(317));n[Yt]=e}else kl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;vt(e),n=!1}else n=ki(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(he(e),e):(he(e),null)}return he(e),(e.flags&128)!==0?(e.lanes=l,e):(l=a!==null,t=t!==null&&t.memoizedState!==null,l&&(a=e.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)),l!==t&&l&&(e.child.flags|=8192),Ru(e,e.updateQueue),vt(e),null);case 4:return bt(),t===null&&is(e.stateNode.containerInfo),vt(e),null;case 10:return Pe(e.type),vt(e),null;case 19:if(O(xt),a=e.memoizedState,a===null)return vt(e),null;if(n=(e.flags&128)!==0,u=a.rendering,u===null)if(n)_n(a,!1);else{if(_t!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(u=gu(t),u!==null){for(e.flags|=128,_n(a,!1),t=u.updateQueue,e.updateQueue=t,Ru(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)Kf(l,t),l=l.sibling;return C(xt,xt.current&1|2),tt&&Fe(e,a.treeForkCount),e.child}t=t.sibling}a.tail!==null&&ie()>qu&&(e.flags|=128,n=!0,_n(a,!1),e.lanes=4194304)}else{if(!n)if(t=gu(u),t!==null){if(e.flags|=128,n=!0,t=t.updateQueue,e.updateQueue=t,Ru(e,t),_n(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!tt)return vt(e),null}else 2*ie()-a.renderingStartTime>qu&&l!==536870912&&(e.flags|=128,n=!0,_n(a,!1),e.lanes=4194304);a.isBackwards?(u.sibling=e.child,e.child=u):(t=a.last,t!==null?t.sibling=u:e.child=u,a.last=u)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=ie(),t.sibling=null,l=xt.current,C(xt,n?l&1|2:l&1),tt&&Fe(e,a.treeForkCount),t):(vt(e),null);case 22:case 23:return he(e),cc(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(l&536870912)!==0&&(e.flags&128)===0&&(vt(e),e.subtreeFlags&6&&(e.flags|=8192)):vt(e),l=e.updateQueue,l!==null&&Ru(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==l&&(e.flags|=2048),t!==null&&O(Fl),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),Pe(At),vt(e),null;case 25:return null;case 30:return null}throw Error(f(156,e.tag))}function Z0(t,e){switch(Ki(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Pe(At),bt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return U(e),null;case 31:if(e.memoizedState!==null){if(he(e),e.alternate===null)throw Error(f(340));kl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(he(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(f(340));kl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return O(xt),null;case 4:return bt(),null;case 10:return Pe(e.type),null;case 22:case 23:return he(e),cc(),t!==null&&O(Fl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Pe(At),null;case 25:return null;default:return null}}function So(t,e){switch(Ki(e),e.tag){case 3:Pe(At),bt();break;case 26:case 27:case 5:U(e);break;case 4:bt();break;case 31:e.memoizedState!==null&&he(e);break;case 13:he(e);break;case 19:O(xt);break;case 10:Pe(e.type);break;case 22:case 23:he(e),cc(),t!==null&&O(Fl);break;case 24:Pe(At)}}function En(t,e){try{var l=e.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&t)===t){a=void 0;var u=l.create,c=l.inst;a=u(),c.destroy=a}l=l.next}while(l!==n)}}catch(o){ot(e,e.return,o)}}function Al(t,e,l){try{var a=e.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&t)===t){var c=a.inst,o=c.destroy;if(o!==void 0){c.destroy=void 0,n=e;var h=l,g=o;try{g()}catch(E){ot(n,h,E)}}}a=a.next}while(a!==u)}}catch(E){ot(e,e.return,E)}}function _o(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{rr(e,l)}catch(a){ot(t,t.return,a)}}}function Eo(t,e,l){l.props=la(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(a){ot(t,e,a)}}function xn(t,e){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof l=="function"?t.refCleanup=l(a):l.current=a}}catch(n){ot(t,e,n)}}function we(t,e){var l=t.ref,a=t.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){ot(t,e,n)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){ot(t,e,n)}else l.current=null}function xo(t){var e=t.type,l=t.memoizedProps,a=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break t;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){ot(t,t.return,n)}}function Lc(t,e,l){try{var a=t.stateNode;dy(a,t.type,l,e),a[Ft]=e}catch(n){ot(t,t.return,n)}}function To(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Cl(t.type)||t.tag===4}function wc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||To(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&&Cl(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 Xc(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,e):(e=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.appendChild(t),l=l._reactRootContainer,l!=null||e.onclick!==null||(e.onclick=ke));else if(a!==4&&(a===27&&Cl(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(Xc(t,e,l),t=t.sibling;t!==null;)Xc(t,e,l),t=t.sibling}function Cu(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(a!==4&&(a===27&&Cl(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(Cu(t,e,l),t=t.sibling;t!==null;)Cu(t,e,l),t=t.sibling}function Ao(t){var e=t.stateNode,l=t.memoizedProps;try{for(var a=t.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);Qt(e,a,l),e[Yt]=t,e[Ft]=l}catch(u){ot(t,t.return,u)}}var nl=!1,Nt=!1,Qc=!1,zo=typeof WeakSet=="function"?WeakSet:Set,Bt=null;function K0(t,e){if(t=t.containerInfo,fs=Pu,t=Hf(t),ji(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{l.nodeType,u.nodeType}catch{l=null;break t}var c=0,o=-1,h=-1,g=0,E=0,z=t,b=null;e:for(;;){for(var S;z!==l||n!==0&&z.nodeType!==3||(o=c+n),z!==u||a!==0&&z.nodeType!==3||(h=c+a),z.nodeType===3&&(c+=z.nodeValue.length),(S=z.firstChild)!==null;)b=z,z=S;for(;;){if(z===t)break e;if(b===l&&++g===n&&(o=c),b===u&&++E===a&&(h=c),(S=z.nextSibling)!==null)break;z=b,b=z.parentNode}z=S}l=o===-1||h===-1?null:{start:o,end:h}}else l=null}l=l||{start:0,end:0}}else l=null;for(rs={focusedElem:t,selectionRange:l},Pu=!1,Bt=e;Bt!==null;)if(e=Bt,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Bt=t;else for(;Bt!==null;){switch(e=Bt,u=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l<t.length;l++)n=t[l],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&u!==null){t=void 0,l=e,n=u.memoizedProps,u=u.memoizedState,a=l.stateNode;try{var q=la(l.type,n);t=a.getSnapshotBeforeUpdate(q,u),a.__reactInternalSnapshotBeforeUpdate=t}catch(Q){ot(l,l.return,Q)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)ds(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":ds(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(f(163))}if(t=e.sibling,t!==null){t.return=e.return,Bt=t;break}Bt=e.return}}function Oo(t,e,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:il(t,l),a&4&&En(5,l);break;case 1:if(il(t,l),a&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(c){ot(l,l.return,c)}else{var n=la(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(n,e,t.__reactInternalSnapshotBeforeUpdate)}catch(c){ot(l,l.return,c)}}a&64&&_o(l),a&512&&xn(l,l.return);break;case 3:if(il(t,l),a&64&&(t=l.updateQueue,t!==null)){if(e=null,l.child!==null)switch(l.child.tag){case 27:case 5:e=l.child.stateNode;break;case 1:e=l.child.stateNode}try{rr(t,e)}catch(c){ot(l,l.return,c)}}break;case 27:e===null&&a&4&&Ao(l);case 26:case 5:il(t,l),e===null&&a&4&&xo(l),a&512&&xn(l,l.return);break;case 12:il(t,l);break;case 31:il(t,l),a&4&&Do(t,l);break;case 13:il(t,l),a&4&&Ro(t,l),a&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=ey.bind(null,l),_y(t,l))));break;case 22:if(a=l.memoizedState!==null||nl,!a){e=e!==null&&e.memoizedState!==null||Nt,n=nl;var u=Nt;nl=a,(Nt=e)&&!u?cl(t,l,(l.subtreeFlags&8772)!==0):il(t,l),nl=n,Nt=u}break;case 30:break;default:il(t,l)}}function No(t){var e=t.alternate;e!==null&&(t.alternate=null,No(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&gi(e)),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 gt=null,Pt=!1;function ul(t,e,l){for(l=l.child;l!==null;)Mo(t,e,l),l=l.sibling}function Mo(t,e,l){if(ce&&typeof ce.onCommitFiberUnmount=="function")try{ce.onCommitFiberUnmount(Ka,l)}catch{}switch(l.tag){case 26:Nt||we(l,e),ul(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Nt||we(l,e);var a=gt,n=Pt;Cl(l.type)&&(gt=l.stateNode,Pt=!1),ul(t,e,l),Cn(l.stateNode),gt=a,Pt=n;break;case 5:Nt||we(l,e);case 6:if(a=gt,n=Pt,gt=null,ul(t,e,l),gt=a,Pt=n,gt!==null)if(Pt)try{(gt.nodeType===9?gt.body:gt.nodeName==="HTML"?gt.ownerDocument.body:gt).removeChild(l.stateNode)}catch(u){ot(l,e,u)}else try{gt.removeChild(l.stateNode)}catch(u){ot(l,e,u)}break;case 18:gt!==null&&(Pt?(t=gt,_h(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),Ga(t)):_h(gt,l.stateNode));break;case 4:a=gt,n=Pt,gt=l.stateNode.containerInfo,Pt=!0,ul(t,e,l),gt=a,Pt=n;break;case 0:case 11:case 14:case 15:Al(2,l,e),Nt||Al(4,l,e),ul(t,e,l);break;case 1:Nt||(we(l,e),a=l.stateNode,typeof a.componentWillUnmount=="function"&&Eo(l,e,a)),ul(t,e,l);break;case 21:ul(t,e,l);break;case 22:Nt=(a=Nt)||l.memoizedState!==null,ul(t,e,l),Nt=a;break;default:ul(t,e,l)}}function Do(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Ga(t)}catch(l){ot(e,e.return,l)}}}function Ro(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Ga(t)}catch(l){ot(e,e.return,l)}}function J0(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new zo),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new zo),e;default:throw Error(f(435,t.tag))}}function Uu(t,e){var l=J0(t);e.forEach(function(a){if(!l.has(a)){l.add(a);var n=ly.bind(null,t,a);a.then(n,n)}})}function te(t,e){var l=e.deletions;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a],u=t,c=e,o=c;t:for(;o!==null;){switch(o.tag){case 27:if(Cl(o.type)){gt=o.stateNode,Pt=!1;break t}break;case 5:gt=o.stateNode,Pt=!1;break t;case 3:case 4:gt=o.stateNode.containerInfo,Pt=!0;break t}o=o.return}if(gt===null)throw Error(f(160));Mo(u,c,n),gt=null,Pt=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Co(e,t),e=e.sibling}var Ue=null;function Co(t,e){var l=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:te(e,t),ee(t),a&4&&(Al(3,t,t.return),En(3,t),Al(5,t,t.return));break;case 1:te(e,t),ee(t),a&512&&(Nt||l===null||we(l,l.return)),a&64&&nl&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var n=Ue;if(te(e,t),ee(t),a&512&&(Nt||l===null||we(l,l.return)),a&4){var u=l!==null?l.memoizedState:null;if(a=t.memoizedState,l===null)if(a===null)if(t.stateNode===null){t:{a=t.type,l=t.memoizedProps,n=n.ownerDocument||n;e:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[Wa]||u[Yt]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Qt(u,a,l),u[Yt]=t,Ut(u),a=u;break t;case"link":var c=Ch("link","href",n).get(a+(l.href||""));if(c){for(var o=0;o<c.length;o++)if(u=c[o],u.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&u.getAttribute("rel")===(l.rel==null?null:l.rel)&&u.getAttribute("title")===(l.title==null?null:l.title)&&u.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){c.splice(o,1);break e}}u=n.createElement(a),Qt(u,a,l),n.head.appendChild(u);break;case"meta":if(c=Ch("meta","content",n).get(a+(l.content||""))){for(o=0;o<c.length;o++)if(u=c[o],u.getAttribute("content")===(l.content==null?null:""+l.content)&&u.getAttribute("name")===(l.name==null?null:l.name)&&u.getAttribute("property")===(l.property==null?null:l.property)&&u.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&u.getAttribute("charset")===(l.charSet==null?null:l.charSet)){c.splice(o,1);break e}}u=n.createElement(a),Qt(u,a,l),n.head.appendChild(u);break;default:throw Error(f(468,a))}u[Yt]=t,Ut(u),a=u}t.stateNode=a}else Uh(n,t.type,t.stateNode);else t.stateNode=Rh(n,a,t.memoizedProps);else u!==a?(u===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):u.count--,a===null?Uh(n,t.type,t.stateNode):Rh(n,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Lc(t,t.memoizedProps,l.memoizedProps)}break;case 27:te(e,t),ee(t),a&512&&(Nt||l===null||we(l,l.return)),l!==null&&a&4&&Lc(t,t.memoizedProps,l.memoizedProps);break;case 5:if(te(e,t),ee(t),a&512&&(Nt||l===null||we(l,l.return)),t.flags&32){n=t.stateNode;try{ha(n,"")}catch(q){ot(t,t.return,q)}}a&4&&t.stateNode!=null&&(n=t.memoizedProps,Lc(t,n,l!==null?l.memoizedProps:n)),a&1024&&(Qc=!0);break;case 6:if(te(e,t),ee(t),a&4){if(t.stateNode===null)throw Error(f(162));a=t.memoizedProps,l=t.stateNode;try{l.nodeValue=a}catch(q){ot(t,t.return,q)}}break;case 3:if(Wu=null,n=Ue,Ue=Ju(e.containerInfo),te(e,t),Ue=n,ee(t),a&4&&l!==null&&l.memoizedState.isDehydrated)try{Ga(e.containerInfo)}catch(q){ot(t,t.return,q)}Qc&&(Qc=!1,Uo(t));break;case 4:a=Ue,Ue=Ju(t.stateNode.containerInfo),te(e,t),ee(t),Ue=a;break;case 12:te(e,t),ee(t);break;case 31:te(e,t),ee(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Uu(t,a)));break;case 13:te(e,t),ee(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(ju=ie()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Uu(t,a)));break;case 22:n=t.memoizedState!==null;var h=l!==null&&l.memoizedState!==null,g=nl,E=Nt;if(nl=g||n,Nt=E||h,te(e,t),Nt=E,nl=g,ee(t),a&8192)t:for(e=t.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(l===null||h||nl||Nt||aa(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){h=l=e;try{if(u=h.stateNode,n)c=u.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none";else{o=h.stateNode;var z=h.memoizedProps.style,b=z!=null&&z.hasOwnProperty("display")?z.display:null;o.style.display=b==null||typeof b=="boolean"?"":(""+b).trim()}}catch(q){ot(h,h.return,q)}}}else if(e.tag===6){if(l===null){h=e;try{h.stateNode.nodeValue=n?"":h.memoizedProps}catch(q){ot(h,h.return,q)}}}else if(e.tag===18){if(l===null){h=e;try{var S=h.stateNode;n?Eh(S,!0):Eh(h.stateNode,!1)}catch(q){ot(h,h.return,q)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;l===e&&(l=null),e=e.return}l===e&&(l=null),e.sibling.return=e.return,e=e.sibling}a&4&&(a=t.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,Uu(t,l))));break;case 19:te(e,t),ee(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Uu(t,a)));break;case 30:break;case 21:break;default:te(e,t),ee(t)}}function ee(t){var e=t.flags;if(e&2){try{for(var l,a=t.return;a!==null;){if(To(a)){l=a;break}a=a.return}if(l==null)throw Error(f(160));switch(l.tag){case 27:var n=l.stateNode,u=wc(t);Cu(t,u,n);break;case 5:var c=l.stateNode;l.flags&32&&(ha(c,""),l.flags&=-33);var o=wc(t);Cu(t,o,c);break;case 3:case 4:var h=l.stateNode.containerInfo,g=wc(t);Xc(t,g,h);break;default:throw Error(f(161))}}catch(E){ot(t,t.return,E)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Uo(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Uo(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function il(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Oo(t,e.alternate,e),e=e.sibling}function aa(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:Al(4,e,e.return),aa(e);break;case 1:we(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&Eo(e,e.return,l),aa(e);break;case 27:Cn(e.stateNode);case 26:case 5:we(e,e.return),aa(e);break;case 22:e.memoizedState===null&&aa(e);break;case 30:aa(e);break;default:aa(e)}t=t.sibling}}function cl(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,n=t,u=e,c=u.flags;switch(u.tag){case 0:case 11:case 15:cl(n,u,l),En(4,u);break;case 1:if(cl(n,u,l),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(g){ot(a,a.return,g)}if(a=u,n=a.updateQueue,n!==null){var o=a.stateNode;try{var h=n.shared.hiddenCallbacks;if(h!==null)for(n.shared.hiddenCallbacks=null,n=0;n<h.length;n++)fr(h[n],o)}catch(g){ot(a,a.return,g)}}l&&c&64&&_o(u),xn(u,u.return);break;case 27:Ao(u);case 26:case 5:cl(n,u,l),l&&a===null&&c&4&&xo(u),xn(u,u.return);break;case 12:cl(n,u,l);break;case 31:cl(n,u,l),l&&c&4&&Do(n,u);break;case 13:cl(n,u,l),l&&c&4&&Ro(n,u);break;case 22:u.memoizedState===null&&cl(n,u,l),xn(u,u.return);break;case 30:break;default:cl(n,u,l)}e=e.sibling}}function Gc(t,e){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&fn(l))}function Vc(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&fn(t))}function Be(t,e,l,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Bo(t,e,l,a),e=e.sibling}function Bo(t,e,l,a){var n=e.flags;switch(e.tag){case 0:case 11:case 15:Be(t,e,l,a),n&2048&&En(9,e);break;case 1:Be(t,e,l,a);break;case 3:Be(t,e,l,a),n&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&fn(t)));break;case 12:if(n&2048){Be(t,e,l,a),t=e.stateNode;try{var u=e.memoizedProps,c=u.id,o=u.onPostCommit;typeof o=="function"&&o(c,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(h){ot(e,e.return,h)}}else Be(t,e,l,a);break;case 31:Be(t,e,l,a);break;case 13:Be(t,e,l,a);break;case 23:break;case 22:u=e.stateNode,c=e.alternate,e.memoizedState!==null?u._visibility&2?Be(t,e,l,a):Tn(t,e):u._visibility&2?Be(t,e,l,a):(u._visibility|=2,Ca(t,e,l,a,(e.subtreeFlags&10256)!==0||!1)),n&2048&&Gc(c,e);break;case 24:Be(t,e,l,a),n&2048&&Vc(e.alternate,e);break;default:Be(t,e,l,a)}}function Ca(t,e,l,a,n){for(n=n&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var u=t,c=e,o=l,h=a,g=c.flags;switch(c.tag){case 0:case 11:case 15:Ca(u,c,o,h,n),En(8,c);break;case 23:break;case 22:var E=c.stateNode;c.memoizedState!==null?E._visibility&2?Ca(u,c,o,h,n):Tn(u,c):(E._visibility|=2,Ca(u,c,o,h,n)),n&&g&2048&&Gc(c.alternate,c);break;case 24:Ca(u,c,o,h,n),n&&g&2048&&Vc(c.alternate,c);break;default:Ca(u,c,o,h,n)}e=e.sibling}}function Tn(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var l=t,a=e,n=a.flags;switch(a.tag){case 22:Tn(l,a),n&2048&&Gc(a.alternate,a);break;case 24:Tn(l,a),n&2048&&Vc(a.alternate,a);break;default:Tn(l,a)}e=e.sibling}}var An=8192;function Ua(t,e,l){if(t.subtreeFlags&An)for(t=t.child;t!==null;)jo(t,e,l),t=t.sibling}function jo(t,e,l){switch(t.tag){case 26:Ua(t,e,l),t.flags&An&&t.memoizedState!==null&&Uy(l,Ue,t.memoizedState,t.memoizedProps);break;case 5:Ua(t,e,l);break;case 3:case 4:var a=Ue;Ue=Ju(t.stateNode.containerInfo),Ua(t,e,l),Ue=a;break;case 22:t.memoizedState===null&&(a=t.alternate,a!==null&&a.memoizedState!==null?(a=An,An=16777216,Ua(t,e,l),An=a):Ua(t,e,l));break;default:Ua(t,e,l)}}function qo(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function zn(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];Bt=a,Yo(a,t)}qo(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ho(t),t=t.sibling}function Ho(t){switch(t.tag){case 0:case 11:case 15:zn(t),t.flags&2048&&Al(9,t,t.return);break;case 3:zn(t);break;case 12:zn(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Bu(t)):zn(t);break;default:zn(t)}}function Bu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];Bt=a,Yo(a,t)}qo(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Al(8,e,e.return),Bu(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,Bu(e));break;default:Bu(e)}t=t.sibling}}function Yo(t,e){for(;Bt!==null;){var l=Bt;switch(l.tag){case 0:case 11:case 15:Al(8,l,e);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var a=l.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:fn(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,Bt=a;else t:for(l=t;Bt!==null;){a=Bt;var n=a.sibling,u=a.return;if(No(a),a===l){Bt=null;break t}if(n!==null){n.return=u,Bt=n;break t}Bt=u}}}var k0={getCacheForType:function(t){var e=wt(At),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l},cacheSignal:function(){return wt(At).controller.signal}},W0=typeof WeakMap=="function"?WeakMap:Map,st=0,mt=null,$=null,I=0,rt=0,de=null,zl=!1,Ba=!1,Zc=!1,sl=0,_t=0,Ol=0,na=0,Kc=0,ye=0,ja=0,On=null,le=null,Jc=!1,ju=0,Lo=0,qu=1/0,Hu=null,Nl=null,Dt=0,Ml=null,qa=null,fl=0,kc=0,Wc=null,wo=null,Nn=0,$c=null;function me(){return(st&2)!==0&&I!==0?I&-I:x.T!==null?ls():tf()}function Xo(){if(ye===0)if((I&536870912)===0||tt){var t=Zn;Zn<<=1,(Zn&3932160)===0&&(Zn=262144),ye=t}else ye=536870912;return t=oe.current,t!==null&&(t.flags|=32),ye}function ae(t,e,l){(t===mt&&(rt===2||rt===9)||t.cancelPendingCommit!==null)&&(Ha(t,0),Dl(t,I,ye,!1)),ka(t,l),((st&2)===0||t!==mt)&&(t===mt&&((st&2)===0&&(na|=l),_t===4&&Dl(t,I,ye,!1)),Xe(t))}function Qo(t,e,l){if((st&6)!==0)throw Error(f(327));var a=!l&&(e&127)===0&&(e&t.expiredLanes)===0||Ja(t,e),n=a?I0(t,e):Ic(t,e,!0),u=a;do{if(n===0){Ba&&!a&&Dl(t,e,0,!1);break}else{if(l=t.current.alternate,u&&!$0(l)){n=Ic(t,e,!1),u=!1;continue}if(n===2){if(u=e,t.errorRecoveryDisabledLanes&u)var c=0;else c=t.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){e=c;t:{var o=t;n=On;var h=o.current.memoizedState.isDehydrated;if(h&&(Ha(o,c).flags|=256),c=Ic(o,c,!1),c!==2){if(Zc&&!h){o.errorRecoveryDisabledLanes|=u,na|=u,n=4;break t}u=le,le=n,u!==null&&(le===null?le=u:le.push.apply(le,u))}n=c}if(u=!1,n!==2)continue}}if(n===1){Ha(t,0),Dl(t,e,0,!0);break}t:{switch(a=t,u=n,u){case 0:case 1:throw Error(f(345));case 4:if((e&4194048)!==e)break;case 6:Dl(a,e,ye,!zl);break t;case 2:le=null;break;case 3:case 5:break;default:throw Error(f(329))}if((e&62914560)===e&&(n=ju+300-ie(),10<n)){if(Dl(a,e,ye,!zl),Jn(a,0,!0)!==0)break t;fl=e,a.timeoutHandle=bh(Go.bind(null,a,l,le,Hu,Jc,e,ye,na,ja,zl,u,"Throttled",-0,0),n);break t}Go(a,l,le,Hu,Jc,e,ye,na,ja,zl,u,null,-0,0)}}break}while(!0);Xe(t)}function Go(t,e,l,a,n,u,c,o,h,g,E,z,b,S){if(t.timeoutHandle=-1,z=e.subtreeFlags,z&8192||(z&16785408)===16785408){z={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ke},jo(e,u,z);var q=(u&62914560)===u?ju-ie():(u&4194048)===u?Lo-ie():0;if(q=By(z,q),q!==null){fl=u,t.cancelPendingCommit=q(Fo.bind(null,t,e,u,l,a,n,c,o,h,E,z,null,b,S)),Dl(t,u,c,!g);return}}Fo(t,e,u,l,a,n,c,o,h)}function $0(t){for(var e=t;;){var l=e.tag;if((l===0||l===11||l===15)&&e.flags&16384&&(l=e.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var n=l[a],u=n.getSnapshot;n=n.value;try{if(!fe(u(),n))return!1}catch{return!1}}if(l=e.child,e.subtreeFlags&16384&&l!==null)l.return=e,e=l;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Dl(t,e,l,a){e&=~Kc,e&=~na,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var n=e;0<n;){var u=31-se(n),c=1<<u;a[u]=-1,n&=~c}l!==0&&Fs(t,l,e)}function Yu(){return(st&6)===0?(Mn(0),!1):!0}function Fc(){if($!==null){if(rt===0)var t=$.return;else t=$,Ie=Wl=null,dc(t),Oa=null,on=0,t=$;for(;t!==null;)So(t.alternate,t),t=t.return;$=null}}function Ha(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,py(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),fl=0,Fc(),mt=t,$=l=$e(t.current,null),I=e,rt=0,de=null,zl=!1,Ba=Ja(t,e),Zc=!1,ja=ye=Kc=na=Ol=_t=0,le=On=null,Jc=!1,(e&8)!==0&&(e|=e&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=e;0<a;){var n=31-se(a),u=1<<n;e|=t[n],a&=~u}return sl=e,uu(),l}function Vo(t,e){K=null,x.H=bn,e===za||e===du?(e=ur(),rt=3):e===ec?(e=ur(),rt=4):rt=e===Mc?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,de=e,$===null&&(_t=1,Ou(t,Ee(e,t.current)))}function Zo(){var t=oe.current;return t===null?!0:(I&4194048)===I?ze===null:(I&62914560)===I||(I&536870912)!==0?t===ze:!1}function Ko(){var t=x.H;return x.H=bn,t===null?bn:t}function Jo(){var t=x.A;return x.A=k0,t}function Lu(){_t=4,zl||(I&4194048)!==I&&oe.current!==null||(Ba=!0),(Ol&134217727)===0&&(na&134217727)===0||mt===null||Dl(mt,I,ye,!1)}function Ic(t,e,l){var a=st;st|=2;var n=Ko(),u=Jo();(mt!==t||I!==e)&&(Hu=null,Ha(t,e)),e=!1;var c=_t;t:do try{if(rt!==0&&$!==null){var o=$,h=de;switch(rt){case 8:Fc(),c=6;break t;case 3:case 2:case 9:case 6:oe.current===null&&(e=!0);var g=rt;if(rt=0,de=null,Ya(t,o,h,g),l&&Ba){c=0;break t}break;default:g=rt,rt=0,de=null,Ya(t,o,h,g)}}F0(),c=_t;break}catch(E){Vo(t,E)}while(!0);return e&&t.shellSuspendCounter++,Ie=Wl=null,st=a,x.H=n,x.A=u,$===null&&(mt=null,I=0,uu()),c}function F0(){for(;$!==null;)ko($)}function I0(t,e){var l=st;st|=2;var a=Ko(),n=Jo();mt!==t||I!==e?(Hu=null,qu=ie()+500,Ha(t,e)):Ba=Ja(t,e);t:do try{if(rt!==0&&$!==null){e=$;var u=de;e:switch(rt){case 1:rt=0,de=null,Ya(t,e,u,1);break;case 2:case 9:if(ar(u)){rt=0,de=null,Wo(e);break}e=function(){rt!==2&&rt!==9||mt!==t||(rt=7),Xe(t)},u.then(e,e);break t;case 3:rt=7;break t;case 4:rt=5;break t;case 7:ar(u)?(rt=0,de=null,Wo(e)):(rt=0,de=null,Ya(t,e,u,7));break;case 5:var c=null;switch($.tag){case 26:c=$.memoizedState;case 5:case 27:var o=$;if(c?Bh(c):o.stateNode.complete){rt=0,de=null;var h=o.sibling;if(h!==null)$=h;else{var g=o.return;g!==null?($=g,wu(g)):$=null}break e}}rt=0,de=null,Ya(t,e,u,5);break;case 6:rt=0,de=null,Ya(t,e,u,6);break;case 8:Fc(),_t=6;break t;default:throw Error(f(462))}}P0();break}catch(E){Vo(t,E)}while(!0);return Ie=Wl=null,x.H=a,x.A=n,st=l,$!==null?0:(mt=null,I=0,uu(),_t)}function P0(){for(;$!==null&&!Ed();)ko($)}function ko(t){var e=go(t.alternate,t,sl);t.memoizedProps=t.pendingProps,e===null?wu(t):$=e}function Wo(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=oo(l,e,e.pendingProps,e.type,void 0,I);break;case 11:e=oo(l,e,e.pendingProps,e.type.render,e.ref,I);break;case 5:dc(e);default:So(l,e),e=$=Kf(e,sl),e=go(l,e,sl)}t.memoizedProps=t.pendingProps,e===null?wu(t):$=e}function Ya(t,e,l,a){Ie=Wl=null,dc(e),Oa=null,on=0;var n=e.return;try{if(X0(t,n,e,l,I)){_t=1,Ou(t,Ee(l,t.current)),$=null;return}}catch(u){if(n!==null)throw $=n,u;_t=1,Ou(t,Ee(l,t.current)),$=null;return}e.flags&32768?(tt||a===1?t=!0:Ba||(I&536870912)!==0?t=!1:(zl=t=!0,(a===2||a===9||a===3||a===6)&&(a=oe.current,a!==null&&a.tag===13&&(a.flags|=16384))),$o(e,t)):wu(e)}function wu(t){var e=t;do{if((e.flags&32768)!==0){$o(e,zl);return}t=e.return;var l=V0(e.alternate,e,sl);if(l!==null){$=l;return}if(e=e.sibling,e!==null){$=e;return}$=e=t}while(e!==null);_t===0&&(_t=5)}function $o(t,e){do{var l=Z0(t.alternate,t);if(l!==null){l.flags&=32767,$=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){$=t;return}$=t=l}while(t!==null);_t=6,$=null}function Fo(t,e,l,a,n,u,c,o,h){t.cancelPendingCommit=null;do Xu();while(Dt!==0);if((st&6)!==0)throw Error(f(327));if(e!==null){if(e===t.current)throw Error(f(177));if(u=e.lanes|e.childLanes,u|=wi,Cd(t,l,u,c,o,h),t===mt&&($=mt=null,I=0),qa=e,Ml=t,fl=l,kc=u,Wc=n,wo=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,ay(Gn,function(){return lh(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=x.T,x.T=null,n=R.p,R.p=2,c=st,st|=4;try{K0(t,e,l)}finally{st=c,R.p=n,x.T=a}}Dt=1,Io(),Po(),th()}}function Io(){if(Dt===1){Dt=0;var t=Ml,e=qa,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=x.T,x.T=null;var a=R.p;R.p=2;var n=st;st|=4;try{Co(e,t);var u=rs,c=Hf(t.containerInfo),o=u.focusedElem,h=u.selectionRange;if(c!==o&&o&&o.ownerDocument&&qf(o.ownerDocument.documentElement,o)){if(h!==null&&ji(o)){var g=h.start,E=h.end;if(E===void 0&&(E=g),"selectionStart"in o)o.selectionStart=g,o.selectionEnd=Math.min(E,o.value.length);else{var z=o.ownerDocument||document,b=z&&z.defaultView||window;if(b.getSelection){var S=b.getSelection(),q=o.textContent.length,Q=Math.min(h.start,q),yt=h.end===void 0?Q:Math.min(h.end,q);!S.extend&&Q>yt&&(c=yt,yt=Q,Q=c);var p=jf(o,Q),d=jf(o,yt);if(p&&d&&(S.rangeCount!==1||S.anchorNode!==p.node||S.anchorOffset!==p.offset||S.focusNode!==d.node||S.focusOffset!==d.offset)){var v=z.createRange();v.setStart(p.node,p.offset),S.removeAllRanges(),Q>yt?(S.addRange(v),S.extend(d.node,d.offset)):(v.setEnd(d.node,d.offset),S.addRange(v))}}}}for(z=[],S=o;S=S.parentNode;)S.nodeType===1&&z.push({element:S,left:S.scrollLeft,top:S.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<z.length;o++){var A=z[o];A.element.scrollLeft=A.left,A.element.scrollTop=A.top}}Pu=!!fs,rs=fs=null}finally{st=n,R.p=a,x.T=l}}t.current=e,Dt=2}}function Po(){if(Dt===2){Dt=0;var t=Ml,e=qa,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=x.T,x.T=null;var a=R.p;R.p=2;var n=st;st|=4;try{Oo(t,e.alternate,e)}finally{st=n,R.p=a,x.T=l}}Dt=3}}function th(){if(Dt===4||Dt===3){Dt=0,xd();var t=Ml,e=qa,l=fl,a=wo;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Dt=5:(Dt=0,qa=Ml=null,eh(t,t.pendingLanes));var n=t.pendingLanes;if(n===0&&(Nl=null),pi(l),e=e.stateNode,ce&&typeof ce.onCommitFiberRoot=="function")try{ce.onCommitFiberRoot(Ka,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=x.T,n=R.p,R.p=2,x.T=null;try{for(var u=t.onRecoverableError,c=0;c<a.length;c++){var o=a[c];u(o.value,{componentStack:o.stack})}}finally{x.T=e,R.p=n}}(fl&3)!==0&&Xu(),Xe(t),n=t.pendingLanes,(l&261930)!==0&&(n&42)!==0?t===$c?Nn++:(Nn=0,$c=t):Nn=0,Mn(0)}}function eh(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,fn(e)))}function Xu(){return Io(),Po(),th(),lh()}function lh(){if(Dt!==5)return!1;var t=Ml,e=kc;kc=0;var l=pi(fl),a=x.T,n=R.p;try{R.p=32>l?32:l,x.T=null,l=Wc,Wc=null;var u=Ml,c=fl;if(Dt=0,qa=Ml=null,fl=0,(st&6)!==0)throw Error(f(331));var o=st;if(st|=4,Ho(u.current),Bo(u,u.current,c,l),st=o,Mn(0,!1),ce&&typeof ce.onPostCommitFiberRoot=="function")try{ce.onPostCommitFiberRoot(Ka,u)}catch{}return!0}finally{R.p=n,x.T=a,eh(t,e)}}function ah(t,e,l){e=Ee(l,e),e=Nc(t.stateNode,e,2),t=El(t,e,2),t!==null&&(ka(t,2),Xe(t))}function ot(t,e,l){if(t.tag===3)ah(t,t,l);else for(;e!==null;){if(e.tag===3){ah(e,t,l);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Nl===null||!Nl.has(a))){t=Ee(l,t),l=ao(2),a=El(e,l,2),a!==null&&(no(l,a,e,t),ka(a,2),Xe(a));break}}e=e.return}}function Pc(t,e,l){var a=t.pingCache;if(a===null){a=t.pingCache=new W0;var n=new Set;a.set(e,n)}else n=a.get(e),n===void 0&&(n=new Set,a.set(e,n));n.has(l)||(Zc=!0,n.add(l),t=ty.bind(null,t,e,l),e.then(t,t))}function ty(t,e,l){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,mt===t&&(I&l)===l&&(_t===4||_t===3&&(I&62914560)===I&&300>ie()-ju?(st&2)===0&&Ha(t,0):Kc|=l,ja===I&&(ja=0)),Xe(t)}function nh(t,e){e===0&&(e=$s()),t=Kl(t,e),t!==null&&(ka(t,e),Xe(t))}function ey(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),nh(t,l)}function ly(t,e){var l=0;switch(t.tag){case 31:case 13:var a=t.stateNode,n=t.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(f(314))}a!==null&&a.delete(e),nh(t,l)}function ay(t,e){return Ke(t,e)}var Qu=null,La=null,ts=!1,Gu=!1,es=!1,Rl=0;function Xe(t){t!==La&&t.next===null&&(La===null?Qu=La=t:La=La.next=t),Gu=!0,ts||(ts=!0,uy())}function Mn(t,e){if(!es&&Gu){es=!0;do for(var l=!1,a=Qu;a!==null;){if(t!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var c=a.suspendedLanes,o=a.pingedLanes;u=(1<<31-se(42|t)+1)-1,u&=n&~(c&~o),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,sh(a,u))}else u=I,u=Jn(a,a===mt?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Ja(a,u)||(l=!0,sh(a,u));a=a.next}while(l);es=!1}}function ny(){uh()}function uh(){Gu=ts=!1;var t=0;Rl!==0&&my()&&(t=Rl);for(var e=ie(),l=null,a=Qu;a!==null;){var n=a.next,u=ih(a,e);u===0?(a.next=null,l===null?Qu=n:l.next=n,n===null&&(La=l)):(l=a,(t!==0||(u&3)!==0)&&(Gu=!0)),a=n}Dt!==0&&Dt!==5||Mn(t),Rl!==0&&(Rl=0)}function ih(t,e){for(var l=t.suspendedLanes,a=t.pingedLanes,n=t.expirationTimes,u=t.pendingLanes&-62914561;0<u;){var c=31-se(u),o=1<<c,h=n[c];h===-1?((o&l)===0||(o&a)!==0)&&(n[c]=Rd(o,e)):h<=e&&(t.expiredLanes|=o),u&=~o}if(e=mt,l=I,l=Jn(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,l===0||t===e&&(rt===2||rt===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&Za(a),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||Ja(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(a!==null&&Za(a),pi(l)){case 2:case 8:l=ks;break;case 32:l=Gn;break;case 268435456:l=Ws;break;default:l=Gn}return a=ch.bind(null,t),l=Ke(l,a),t.callbackPriority=e,t.callbackNode=l,e}return a!==null&&a!==null&&Za(a),t.callbackPriority=2,t.callbackNode=null,2}function ch(t,e){if(Dt!==0&&Dt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(Xu()&&t.callbackNode!==l)return null;var a=I;return a=Jn(t,t===mt?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(Qo(t,a,e),ih(t,ie()),t.callbackNode!=null&&t.callbackNode===l?ch.bind(null,t):null)}function sh(t,e){if(Xu())return null;Qo(t,e,!0)}function uy(){vy(function(){(st&6)!==0?Ke(Js,ny):uh()})}function ls(){if(Rl===0){var t=Ta;t===0&&(t=Vn,Vn<<=1,(Vn&261888)===0&&(Vn=256)),Rl=t}return Rl}function fh(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Fn(""+t)}function rh(t,e){var l=e.ownerDocument.createElement("input");return l.name=e.name,l.value=e.value,t.id&&l.setAttribute("form",t.id),e.parentNode.insertBefore(l,e),t=new FormData(t),l.parentNode.removeChild(l),t}function iy(t,e,l,a,n){if(e==="submit"&&l&&l.stateNode===n){var u=fh((n[Ft]||null).action),c=a.submitter;c&&(e=(e=c[Ft]||null)?fh(e.formAction):c.getAttribute("formAction"),e!==null&&(u=e,c=null));var o=new eu("action","action",null,a,n);t.push({event:o,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Rl!==0){var h=c?rh(n,c):new FormData(n);Ec(l,{pending:!0,data:h,method:n.method,action:u},null,h)}}else typeof u=="function"&&(o.preventDefault(),h=c?rh(n,c):new FormData(n),Ec(l,{pending:!0,data:h,method:n.method,action:u},u,h))},currentTarget:n}]})}}for(var as=0;as<Li.length;as++){var ns=Li[as],cy=ns.toLowerCase(),sy=ns[0].toUpperCase()+ns.slice(1);Ce(cy,"on"+sy)}Ce(wf,"onAnimationEnd"),Ce(Xf,"onAnimationIteration"),Ce(Qf,"onAnimationStart"),Ce("dblclick","onDoubleClick"),Ce("focusin","onFocus"),Ce("focusout","onBlur"),Ce(T0,"onTransitionRun"),Ce(A0,"onTransitionStart"),Ce(z0,"onTransitionCancel"),Ce(Gf,"onTransitionEnd"),ra("onMouseEnter",["mouseout","mouseover"]),ra("onMouseLeave",["mouseout","mouseover"]),ra("onPointerEnter",["pointerout","pointerover"]),ra("onPointerLeave",["pointerout","pointerover"]),Ql("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ql("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ql("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ql("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ql("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ql("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Dn="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(" "),fy=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Dn));function oh(t,e){e=(e&4)!==0;for(var l=0;l<t.length;l++){var a=t[l],n=a.event;a=a.listeners;t:{var u=void 0;if(e)for(var c=a.length-1;0<=c;c--){var o=a[c],h=o.instance,g=o.currentTarget;if(o=o.listener,h!==u&&n.isPropagationStopped())break t;u=o,n.currentTarget=g;try{u(n)}catch(E){nu(E)}n.currentTarget=null,u=h}else for(c=0;c<a.length;c++){if(o=a[c],h=o.instance,g=o.currentTarget,o=o.listener,h!==u&&n.isPropagationStopped())break t;u=o,n.currentTarget=g;try{u(n)}catch(E){nu(E)}n.currentTarget=null,u=h}}}}function F(t,e){var l=e[vi];l===void 0&&(l=e[vi]=new Set);var a=t+"__bubble";l.has(a)||(hh(e,t,2,!1),l.add(a))}function us(t,e,l){var a=0;e&&(a|=4),hh(l,t,a,e)}var Vu="_reactListening"+Math.random().toString(36).slice(2);function is(t){if(!t[Vu]){t[Vu]=!0,af.forEach(function(l){l!=="selectionchange"&&(fy.has(l)||us(l,!1,t),us(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Vu]||(e[Vu]=!0,us("selectionchange",!1,e))}}function hh(t,e,l,a){switch(Xh(e)){case 2:var n=Hy;break;case 8:n=Yy;break;default:n=_s}l=n.bind(null,e,l,t),n=void 0,!zi||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(n=!0),a?n!==void 0?t.addEventListener(e,l,{capture:!0,passive:n}):t.addEventListener(e,l,!0):n!==void 0?t.addEventListener(e,l,{passive:n}):t.addEventListener(e,l,!1)}function cs(t,e,l,a,n){var u=a;if((e&1)===0&&(e&2)===0&&a!==null)t:for(;;){if(a===null)return;var c=a.tag;if(c===3||c===4){var o=a.stateNode.containerInfo;if(o===n)break;if(c===4)for(c=a.return;c!==null;){var h=c.tag;if((h===3||h===4)&&c.stateNode.containerInfo===n)return;c=c.return}for(;o!==null;){if(c=ca(o),c===null)return;if(h=c.tag,h===5||h===6||h===26||h===27){a=u=c;continue t}o=o.parentNode}}a=a.return}pf(function(){var g=u,E=Ti(l),z=[];t:{var b=Vf.get(t);if(b!==void 0){var S=eu,q=t;switch(t){case"keypress":if(Pn(l)===0)break t;case"keydown":case"keyup":S=l0;break;case"focusin":q="focus",S=Di;break;case"focusout":q="blur",S=Di;break;case"beforeblur":case"afterblur":S=Di;break;case"click":if(l.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":S=bf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":S=Vd;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":S=u0;break;case wf:case Xf:case Qf:S=Jd;break;case Gf:S=c0;break;case"scroll":case"scrollend":S=Qd;break;case"wheel":S=f0;break;case"copy":case"cut":case"paste":S=Wd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":S=_f;break;case"toggle":case"beforetoggle":S=o0}var Q=(e&4)!==0,yt=!Q&&(t==="scroll"||t==="scrollend"),p=Q?b!==null?b+"Capture":null:b;Q=[];for(var d=g,v;d!==null;){var A=d;if(v=A.stateNode,A=A.tag,A!==5&&A!==26&&A!==27||v===null||p===null||(A=Fa(d,p),A!=null&&Q.push(Rn(d,A,v))),yt)break;d=d.return}0<Q.length&&(b=new S(b,q,null,l,E),z.push({event:b,listeners:Q}))}}if((e&7)===0){t:{if(b=t==="mouseover"||t==="pointerover",S=t==="mouseout"||t==="pointerout",b&&l!==xi&&(q=l.relatedTarget||l.fromElement)&&(ca(q)||q[ia]))break t;if((S||b)&&(b=E.window===E?E:(b=E.ownerDocument)?b.defaultView||b.parentWindow:window,S?(q=l.relatedTarget||l.toElement,S=g,q=q?ca(q):null,q!==null&&(yt=T(q),Q=q.tag,q!==yt||Q!==5&&Q!==27&&Q!==6)&&(q=null)):(S=null,q=g),S!==q)){if(Q=bf,A="onMouseLeave",p="onMouseEnter",d="mouse",(t==="pointerout"||t==="pointerover")&&(Q=_f,A="onPointerLeave",p="onPointerEnter",d="pointer"),yt=S==null?b:$a(S),v=q==null?b:$a(q),b=new Q(A,d+"leave",S,l,E),b.target=yt,b.relatedTarget=v,A=null,ca(E)===g&&(Q=new Q(p,d+"enter",q,l,E),Q.target=v,Q.relatedTarget=yt,A=Q),yt=A,S&&q)e:{for(Q=ry,p=S,d=q,v=0,A=p;A;A=Q(A))v++;A=0;for(var L=d;L;L=Q(L))A++;for(;0<v-A;)p=Q(p),v--;for(;0<A-v;)d=Q(d),A--;for(;v--;){if(p===d||d!==null&&p===d.alternate){Q=p;break e}p=Q(p),d=Q(d)}Q=null}else Q=null;S!==null&&dh(z,b,S,Q,!1),q!==null&&yt!==null&&dh(z,yt,q,Q,!0)}}t:{if(b=g?$a(g):window,S=b.nodeName&&b.nodeName.toLowerCase(),S==="select"||S==="input"&&b.type==="file")var ut=Mf;else if(Of(b))if(Df)ut=_0;else{ut=b0;var H=g0}else S=b.nodeName,!S||S.toLowerCase()!=="input"||b.type!=="checkbox"&&b.type!=="radio"?g&&Ei(g.elementType)&&(ut=Mf):ut=S0;if(ut&&(ut=ut(t,g))){Nf(z,ut,l,E);break t}H&&H(t,b,g),t==="focusout"&&g&&b.type==="number"&&g.memoizedProps.value!=null&&_i(b,"number",b.value)}switch(H=g?$a(g):window,t){case"focusin":(Of(H)||H.contentEditable==="true")&&(pa=H,qi=g,un=null);break;case"focusout":un=qi=pa=null;break;case"mousedown":Hi=!0;break;case"contextmenu":case"mouseup":case"dragend":Hi=!1,Yf(z,l,E);break;case"selectionchange":if(x0)break;case"keydown":case"keyup":Yf(z,l,E)}var J;if(Ci)t:{switch(t){case"compositionstart":var P="onCompositionStart";break t;case"compositionend":P="onCompositionEnd";break t;case"compositionupdate":P="onCompositionUpdate";break t}P=void 0}else ma?Af(t,l)&&(P="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(P="onCompositionStart");P&&(Ef&&l.locale!=="ko"&&(ma||P!=="onCompositionStart"?P==="onCompositionEnd"&&ma&&(J=vf()):(ml=E,Oi="value"in ml?ml.value:ml.textContent,ma=!0)),H=Zu(g,P),0<H.length&&(P=new Sf(P,t,null,l,E),z.push({event:P,listeners:H}),J?P.data=J:(J=zf(l),J!==null&&(P.data=J)))),(J=d0?y0(t,l):m0(t,l))&&(P=Zu(g,"onBeforeInput"),0<P.length&&(H=new Sf("onBeforeInput","beforeinput",null,l,E),z.push({event:H,listeners:P}),H.data=J)),iy(z,t,g,l,E)}oh(z,e)})}function Rn(t,e,l){return{instance:t,listener:e,currentTarget:l}}function Zu(t,e){for(var l=e+"Capture",a=[];t!==null;){var n=t,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=Fa(t,l),n!=null&&a.unshift(Rn(t,n,u)),n=Fa(t,e),n!=null&&a.push(Rn(t,n,u))),t.tag===3)return a;t=t.return}return[]}function ry(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function dh(t,e,l,a,n){for(var u=e._reactName,c=[];l!==null&&l!==a;){var o=l,h=o.alternate,g=o.stateNode;if(o=o.tag,h!==null&&h===a)break;o!==5&&o!==26&&o!==27||g===null||(h=g,n?(g=Fa(l,u),g!=null&&c.unshift(Rn(l,g,h))):n||(g=Fa(l,u),g!=null&&c.push(Rn(l,g,h)))),l=l.return}c.length!==0&&t.push({event:e,listeners:c})}var oy=/\r\n?/g,hy=/\u0000|\uFFFD/g;function yh(t){return(typeof t=="string"?t:""+t).replace(oy,`
|
||
`).replace(hy,"")}function mh(t,e){return e=yh(e),yh(t)===e}function dt(t,e,l,a,n,u){switch(l){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||ha(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&ha(t,""+a);break;case"className":Wn(t,"class",a);break;case"tabIndex":Wn(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Wn(t,l,a);break;case"style":yf(t,a,u);break;case"data":if(e!=="object"){Wn(t,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=Fn(""+a),t.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(l,"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 u=="function"&&(l==="formAction"?(e!=="input"&&dt(t,e,"name",n.name,n,null),dt(t,e,"formEncType",n.formEncType,n,null),dt(t,e,"formMethod",n.formMethod,n,null),dt(t,e,"formTarget",n.formTarget,n,null)):(dt(t,e,"encType",n.encType,n,null),dt(t,e,"method",n.method,n,null),dt(t,e,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=Fn(""+a),t.setAttribute(l,a);break;case"onClick":a!=null&&(t.onclick=ke);break;case"onScroll":a!=null&&F("scroll",t);break;case"onScrollEnd":a!=null&&F("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(f(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(f(60));t.innerHTML=l}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){t.removeAttribute("xlink:href");break}l=Fn(""+a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""+a):t.removeAttribute(l);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":a&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":a===!0?t.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,a):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(l,a):t.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(l):t.setAttribute(l,a);break;case"popover":F("beforetoggle",t),F("toggle",t),kn(t,"popover",a);break;case"xlinkActuate":Je(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Je(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Je(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Je(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Je(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Je(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Je(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Je(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Je(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":kn(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=wd.get(l)||l,kn(t,l,a))}}function ss(t,e,l,a,n,u){switch(l){case"style":yf(t,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(f(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(f(60));t.innerHTML=l}}break;case"children":typeof a=="string"?ha(t,a):(typeof a=="number"||typeof a=="bigint")&&ha(t,""+a);break;case"onScroll":a!=null&&F("scroll",t);break;case"onScrollEnd":a!=null&&F("scrollend",t);break;case"onClick":a!=null&&(t.onclick=ke);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!nf.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),e=l.slice(2,n?l.length-7:void 0),u=t[Ft]||null,u=u!=null?u[l]:null,typeof u=="function"&&t.removeEventListener(e,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,a,n);break t}l in t?t[l]=a:a===!0?t.setAttribute(l,""):kn(t,l,a)}}}function Qt(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":F("error",t),F("load",t);var a=!1,n=!1,u;for(u in l)if(l.hasOwnProperty(u)){var c=l[u];if(c!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(f(137,e));default:dt(t,e,u,c,l,null)}}n&&dt(t,e,"srcSet",l.srcSet,l,null),a&&dt(t,e,"src",l.src,l,null);return;case"input":F("invalid",t);var o=u=c=n=null,h=null,g=null;for(a in l)if(l.hasOwnProperty(a)){var E=l[a];if(E!=null)switch(a){case"name":n=E;break;case"type":c=E;break;case"checked":h=E;break;case"defaultChecked":g=E;break;case"value":u=E;break;case"defaultValue":o=E;break;case"children":case"dangerouslySetInnerHTML":if(E!=null)throw Error(f(137,e));break;default:dt(t,e,a,E,l,null)}}rf(t,u,o,h,g,c,n,!1);return;case"select":F("invalid",t),a=c=u=null;for(n in l)if(l.hasOwnProperty(n)&&(o=l[n],o!=null))switch(n){case"value":u=o;break;case"defaultValue":c=o;break;case"multiple":a=o;default:dt(t,e,n,o,l,null)}e=u,l=c,t.multiple=!!a,e!=null?oa(t,!!a,e,!1):l!=null&&oa(t,!!a,l,!0);return;case"textarea":F("invalid",t),u=n=a=null;for(c in l)if(l.hasOwnProperty(c)&&(o=l[c],o!=null))switch(c){case"value":a=o;break;case"defaultValue":n=o;break;case"children":u=o;break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(f(91));break;default:dt(t,e,c,o,l,null)}hf(t,a,n,u);return;case"option":for(h in l)l.hasOwnProperty(h)&&(a=l[h],a!=null)&&(h==="selected"?t.selected=a&&typeof a!="function"&&typeof a!="symbol":dt(t,e,h,a,l,null));return;case"dialog":F("beforetoggle",t),F("toggle",t),F("cancel",t),F("close",t);break;case"iframe":case"object":F("load",t);break;case"video":case"audio":for(a=0;a<Dn.length;a++)F(Dn[a],t);break;case"image":F("error",t),F("load",t);break;case"details":F("toggle",t);break;case"embed":case"source":case"link":F("error",t),F("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(g in l)if(l.hasOwnProperty(g)&&(a=l[g],a!=null))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(f(137,e));default:dt(t,e,g,a,l,null)}return;default:if(Ei(e)){for(E in l)l.hasOwnProperty(E)&&(a=l[E],a!==void 0&&ss(t,e,E,a,l,void 0));return}}for(o in l)l.hasOwnProperty(o)&&(a=l[o],a!=null&&dt(t,e,o,a,l,null))}function dy(t,e,l,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,u=null,c=null,o=null,h=null,g=null,E=null;for(S in l){var z=l[S];if(l.hasOwnProperty(S)&&z!=null)switch(S){case"checked":break;case"value":break;case"defaultValue":h=z;default:a.hasOwnProperty(S)||dt(t,e,S,null,a,z)}}for(var b in a){var S=a[b];if(z=l[b],a.hasOwnProperty(b)&&(S!=null||z!=null))switch(b){case"type":u=S;break;case"name":n=S;break;case"checked":g=S;break;case"defaultChecked":E=S;break;case"value":c=S;break;case"defaultValue":o=S;break;case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(f(137,e));break;default:S!==z&&dt(t,e,b,S,a,z)}}Si(t,c,o,h,g,E,u,n);return;case"select":S=c=o=b=null;for(u in l)if(h=l[u],l.hasOwnProperty(u)&&h!=null)switch(u){case"value":break;case"multiple":S=h;default:a.hasOwnProperty(u)||dt(t,e,u,null,a,h)}for(n in a)if(u=a[n],h=l[n],a.hasOwnProperty(n)&&(u!=null||h!=null))switch(n){case"value":b=u;break;case"defaultValue":o=u;break;case"multiple":c=u;default:u!==h&&dt(t,e,n,u,a,h)}e=o,l=c,a=S,b!=null?oa(t,!!l,b,!1):!!a!=!!l&&(e!=null?oa(t,!!l,e,!0):oa(t,!!l,l?[]:"",!1));return;case"textarea":S=b=null;for(o in l)if(n=l[o],l.hasOwnProperty(o)&&n!=null&&!a.hasOwnProperty(o))switch(o){case"value":break;case"children":break;default:dt(t,e,o,null,a,n)}for(c in a)if(n=a[c],u=l[c],a.hasOwnProperty(c)&&(n!=null||u!=null))switch(c){case"value":b=n;break;case"defaultValue":S=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(f(91));break;default:n!==u&&dt(t,e,c,n,a,u)}of(t,b,S);return;case"option":for(var q in l)b=l[q],l.hasOwnProperty(q)&&b!=null&&!a.hasOwnProperty(q)&&(q==="selected"?t.selected=!1:dt(t,e,q,null,a,b));for(h in a)b=a[h],S=l[h],a.hasOwnProperty(h)&&b!==S&&(b!=null||S!=null)&&(h==="selected"?t.selected=b&&typeof b!="function"&&typeof b!="symbol":dt(t,e,h,b,a,S));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 Q in l)b=l[Q],l.hasOwnProperty(Q)&&b!=null&&!a.hasOwnProperty(Q)&&dt(t,e,Q,null,a,b);for(g in a)if(b=a[g],S=l[g],a.hasOwnProperty(g)&&b!==S&&(b!=null||S!=null))switch(g){case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(f(137,e));break;default:dt(t,e,g,b,a,S)}return;default:if(Ei(e)){for(var yt in l)b=l[yt],l.hasOwnProperty(yt)&&b!==void 0&&!a.hasOwnProperty(yt)&&ss(t,e,yt,void 0,a,b);for(E in a)b=a[E],S=l[E],!a.hasOwnProperty(E)||b===S||b===void 0&&S===void 0||ss(t,e,E,b,a,S);return}}for(var p in l)b=l[p],l.hasOwnProperty(p)&&b!=null&&!a.hasOwnProperty(p)&&dt(t,e,p,null,a,b);for(z in a)b=a[z],S=l[z],!a.hasOwnProperty(z)||b===S||b==null&&S==null||dt(t,e,z,b,a,S)}function ph(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function yy(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,l=performance.getEntriesByType("resource"),a=0;a<l.length;a++){var n=l[a],u=n.transferSize,c=n.initiatorType,o=n.duration;if(u&&o&&ph(c)){for(c=0,o=n.responseEnd,a+=1;a<l.length;a++){var h=l[a],g=h.startTime;if(g>o)break;var E=h.transferSize,z=h.initiatorType;E&&ph(z)&&(h=h.responseEnd,c+=E*(h<o?1:(o-g)/(h-g)))}if(--a,e+=8*(u+c)/(n.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var fs=null,rs=null;function Ku(t){return t.nodeType===9?t:t.ownerDocument}function vh(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 gh(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function os(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var hs=null;function my(){var t=window.event;return t&&t.type==="popstate"?t===hs?!1:(hs=t,!0):(hs=null,!1)}var bh=typeof setTimeout=="function"?setTimeout:void 0,py=typeof clearTimeout=="function"?clearTimeout:void 0,Sh=typeof Promise=="function"?Promise:void 0,vy=typeof queueMicrotask=="function"?queueMicrotask:typeof Sh<"u"?function(t){return Sh.resolve(null).then(t).catch(gy)}:bh;function gy(t){setTimeout(function(){throw t})}function Cl(t){return t==="head"}function _h(t,e){var l=e,a=0;do{var n=l.nextSibling;if(t.removeChild(l),n&&n.nodeType===8)if(l=n.data,l==="/$"||l==="/&"){if(a===0){t.removeChild(n),Ga(e);return}a--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")a++;else if(l==="html")Cn(t.ownerDocument.documentElement);else if(l==="head"){l=t.ownerDocument.head,Cn(l);for(var u=l.firstChild;u;){var c=u.nextSibling,o=u.nodeName;u[Wa]||o==="SCRIPT"||o==="STYLE"||o==="LINK"&&u.rel.toLowerCase()==="stylesheet"||l.removeChild(u),u=c}}else l==="body"&&Cn(t.ownerDocument.body);l=n}while(l);Ga(e)}function Eh(t,e){var l=t;t=0;do{var a=l.nextSibling;if(l.nodeType===1?e?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(e?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),a&&a.nodeType===8)if(l=a.data,l==="/$"){if(t===0)break;t--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||t++;l=a}while(l)}function ds(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var l=e;switch(e=e.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":ds(l),gi(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function by(t,e,l,a){for(;t.nodeType===1;){var n=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[Wa])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(u=t.getAttribute("rel"),u==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(u!==n.rel||t.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||t.getAttribute("title")!==(n.title==null?null:n.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(u=t.getAttribute("src"),(u!==(n.src==null?null:n.src)||t.getAttribute("type")!==(n.type==null?null:n.type)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&t.getAttribute("name")===u)return t}else return t;if(t=Oe(t.nextSibling),t===null)break}return null}function Sy(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Oe(t.nextSibling),t===null))return null;return t}function xh(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Oe(t.nextSibling),t===null))return null;return t}function ys(t){return t.data==="$?"||t.data==="$~"}function ms(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function _y(t,e){var l=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||l.readyState!=="loading")e();else{var a=function(){e(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function Oe(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var ps=null;function Th(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="/$"||l==="/&"){if(e===0)return Oe(t.nextSibling);e--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||e++}t=t.nextSibling}return null}function Ah(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(e===0)return t;e--}else l!=="/$"&&l!=="/&"||e++}t=t.previousSibling}return null}function zh(t,e,l){switch(e=Ku(l),t){case"html":if(t=e.documentElement,!t)throw Error(f(452));return t;case"head":if(t=e.head,!t)throw Error(f(453));return t;case"body":if(t=e.body,!t)throw Error(f(454));return t;default:throw Error(f(451))}}function Cn(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);gi(t)}var Ne=new Map,Oh=new Set;function Ju(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var rl=R.d;R.d={f:Ey,r:xy,D:Ty,C:Ay,L:zy,m:Oy,X:My,S:Ny,M:Dy};function Ey(){var t=rl.f(),e=Yu();return t||e}function xy(t){var e=sa(t);e!==null&&e.tag===5&&e.type==="form"?Gr(e):rl.r(t)}var wa=typeof document>"u"?null:document;function Nh(t,e,l){var a=wa;if(a&&typeof e=="string"&&e){var n=Se(e);n='link[rel="'+t+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Oh.has(n)||(Oh.add(n),t={rel:t,crossOrigin:l,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),Qt(e,"link",t),Ut(e),a.head.appendChild(e)))}}function Ty(t){rl.D(t),Nh("dns-prefetch",t,null)}function Ay(t,e){rl.C(t,e),Nh("preconnect",t,e)}function zy(t,e,l){rl.L(t,e,l);var a=wa;if(a&&t&&e){var n='link[rel="preload"][as="'+Se(e)+'"]';e==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+Se(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+Se(l.imageSizes)+'"]')):n+='[href="'+Se(t)+'"]';var u=n;switch(e){case"style":u=Xa(t);break;case"script":u=Qa(t)}Ne.has(u)||(t=Y({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),Ne.set(u,t),a.querySelector(n)!==null||e==="style"&&a.querySelector(Un(u))||e==="script"&&a.querySelector(Bn(u))||(e=a.createElement("link"),Qt(e,"link",t),Ut(e),a.head.appendChild(e)))}}function Oy(t,e){rl.m(t,e);var l=wa;if(l&&t){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+Se(a)+'"][href="'+Se(t)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Qa(t)}if(!Ne.has(u)&&(t=Y({rel:"modulepreload",href:t},e),Ne.set(u,t),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Bn(u)))return}a=l.createElement("link"),Qt(a,"link",t),Ut(a),l.head.appendChild(a)}}}function Ny(t,e,l){rl.S(t,e,l);var a=wa;if(a&&t){var n=fa(a).hoistableStyles,u=Xa(t);e=e||"default";var c=n.get(u);if(!c){var o={loading:0,preload:null};if(c=a.querySelector(Un(u)))o.loading=5;else{t=Y({rel:"stylesheet",href:t,"data-precedence":e},l),(l=Ne.get(u))&&vs(t,l);var h=c=a.createElement("link");Ut(h),Qt(h,"link",t),h._p=new Promise(function(g,E){h.onload=g,h.onerror=E}),h.addEventListener("load",function(){o.loading|=1}),h.addEventListener("error",function(){o.loading|=2}),o.loading|=4,ku(c,e,a)}c={type:"stylesheet",instance:c,count:1,state:o},n.set(u,c)}}}function My(t,e){rl.X(t,e);var l=wa;if(l&&t){var a=fa(l).hoistableScripts,n=Qa(t),u=a.get(n);u||(u=l.querySelector(Bn(n)),u||(t=Y({src:t,async:!0},e),(e=Ne.get(n))&&gs(t,e),u=l.createElement("script"),Ut(u),Qt(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Dy(t,e){rl.M(t,e);var l=wa;if(l&&t){var a=fa(l).hoistableScripts,n=Qa(t),u=a.get(n);u||(u=l.querySelector(Bn(n)),u||(t=Y({src:t,async:!0,type:"module"},e),(e=Ne.get(n))&&gs(t,e),u=l.createElement("script"),Ut(u),Qt(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Mh(t,e,l,a){var n=(n=k.current)?Ju(n):null;if(!n)throw Error(f(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=Xa(l.href),l=fa(n).hoistableStyles,a=l.get(e),a||(a={type:"style",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=Xa(l.href);var u=fa(n).hoistableStyles,c=u.get(t);if(c||(n=n.ownerDocument||n,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,c),(u=n.querySelector(Un(t)))&&!u._p&&(c.instance=u,c.state.loading=5),Ne.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Ne.set(t,l),u||Ry(n,t,l,c.state))),e&&a===null)throw Error(f(528,""));return c}if(e&&a!==null)throw Error(f(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Qa(l),l=fa(n).hoistableScripts,a=l.get(e),a||(a={type:"script",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(f(444,t))}}function Xa(t){return'href="'+Se(t)+'"'}function Un(t){return'link[rel="stylesheet"]['+t+"]"}function Dh(t){return Y({},t,{"data-precedence":t.precedence,precedence:null})}function Ry(t,e,l,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),Qt(e,"link",l),Ut(e),t.head.appendChild(e))}function Qa(t){return'[src="'+Se(t)+'"]'}function Bn(t){return"script[async]"+t}function Rh(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+Se(l.href)+'"]');if(a)return e.instance=a,Ut(a),a;var n=Y({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Ut(a),Qt(a,"style",n),ku(a,l.precedence,t),e.instance=a;case"stylesheet":n=Xa(l.href);var u=t.querySelector(Un(n));if(u)return e.state.loading|=4,e.instance=u,Ut(u),u;a=Dh(l),(n=Ne.get(n))&&vs(a,n),u=(t.ownerDocument||t).createElement("link"),Ut(u);var c=u;return c._p=new Promise(function(o,h){c.onload=o,c.onerror=h}),Qt(u,"link",a),e.state.loading|=4,ku(u,l.precedence,t),e.instance=u;case"script":return u=Qa(l.src),(n=t.querySelector(Bn(u)))?(e.instance=n,Ut(n),n):(a=l,(n=Ne.get(u))&&(a=Y({},l),gs(a,n)),t=t.ownerDocument||t,n=t.createElement("script"),Ut(n),Qt(n,"link",a),t.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(f(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,ku(a,l.precedence,t));return e.instance}function ku(t,e,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,c=0;c<a.length;c++){var o=a[c];if(o.dataset.precedence===e)u=o;else if(u!==n)break}u?u.parentNode.insertBefore(t,u.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function vs(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function gs(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Wu=null;function Ch(t,e,l){if(Wu===null){var a=new Map,n=Wu=new Map;n.set(l,a)}else n=Wu,a=n.get(l),a||(a=new Map,n.set(l,a));if(a.has(t))return a;for(a.set(t,null),l=l.getElementsByTagName(t),n=0;n<l.length;n++){var u=l[n];if(!(u[Wa]||u[Yt]||t==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var c=u.getAttribute(e)||"";c=t+c;var o=a.get(c);o?o.push(u):a.set(c,[u])}}return a}function Uh(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function Cy(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;return e.rel==="stylesheet"?(t=e.disabled,typeof e.precedence=="string"&&t==null):!0;case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Bh(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Uy(t,e,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var n=Xa(a.href),u=e.querySelector(Un(n));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=$u.bind(t),e.then(t,t)),l.state.loading|=4,l.instance=u,Ut(u);return}u=e.ownerDocument||e,a=Dh(a),(n=Ne.get(n))&&vs(a,n),u=u.createElement("link"),Ut(u);var c=u;c._p=new Promise(function(o,h){c.onload=o,c.onerror=h}),Qt(u,"link",a),l.instance=u}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,e),(e=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=$u.bind(t),e.addEventListener("load",l),e.addEventListener("error",l))}}var bs=0;function By(t,e){return t.stylesheets&&t.count===0&&Iu(t,t.stylesheets),0<t.count||0<t.imgCount?function(l){var a=setTimeout(function(){if(t.stylesheets&&Iu(t,t.stylesheets),t.unsuspend){var u=t.unsuspend;t.unsuspend=null,u()}},6e4+e);0<t.imgBytes&&bs===0&&(bs=62500*yy());var n=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Iu(t,t.stylesheets),t.unsuspend)){var u=t.unsuspend;t.unsuspend=null,u()}},(t.imgBytes>bs?50:800)+e);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function $u(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Iu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Fu=null;function Iu(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Fu=new Map,e.forEach(jy,t),Fu=null,$u.call(t))}function jy(t,e){if(!(e.state.loading&4)){var l=Fu.get(t);if(l)var a=l.get(null);else{l=new Map,Fu.set(t,l);for(var n=t.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var c=n[u];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(l.set(c.dataset.precedence,c),a=c)}a&&l.set(null,a)}n=e.instance,c=n.getAttribute("data-precedence"),u=l.get(c)||a,u===a&&l.set(null,n),l.set(c,n),this.count++,a=$u.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(n,t.firstChild)),e.state.loading|=4}}var jn={$$typeof:Ct,Provider:null,Consumer:null,_currentValue:X,_currentValue2:X,_threadCount:0};function qy(t,e,l,a,n,u,c,o,h){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=yi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=yi(0),this.hiddenUpdates=yi(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=h,this.incompleteTransitions=new Map}function jh(t,e,l,a,n,u,c,o,h,g,E,z){return t=new qy(t,e,l,c,h,g,E,z,o),e=1,u===!0&&(e|=24),u=re(3,null,null,e),t.current=u,u.stateNode=t,e=Ii(),e.refCount++,t.pooledCache=e,e.refCount++,u.memoizedState={element:a,isDehydrated:l,cache:e},lc(u),t}function qh(t){return t?(t=ba,t):ba}function Hh(t,e,l,a,n,u){n=qh(n),a.context===null?a.context=n:a.pendingContext=n,a=_l(e),a.payload={element:l},u=u===void 0?null:u,u!==null&&(a.callback=u),l=El(t,a,e),l!==null&&(ae(l,t,e),dn(l,t,e))}function Yh(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function Ss(t,e){Yh(t,e),(t=t.alternate)&&Yh(t,e)}function Lh(t){if(t.tag===13||t.tag===31){var e=Kl(t,67108864);e!==null&&ae(e,t,67108864),Ss(t,67108864)}}function wh(t){if(t.tag===13||t.tag===31){var e=me();e=mi(e);var l=Kl(t,e);l!==null&&ae(l,t,e),Ss(t,e)}}var Pu=!0;function Hy(t,e,l,a){var n=x.T;x.T=null;var u=R.p;try{R.p=2,_s(t,e,l,a)}finally{R.p=u,x.T=n}}function Yy(t,e,l,a){var n=x.T;x.T=null;var u=R.p;try{R.p=8,_s(t,e,l,a)}finally{R.p=u,x.T=n}}function _s(t,e,l,a){if(Pu){var n=Es(a);if(n===null)cs(t,e,a,ti,l),Qh(t,a);else if(wy(n,t,e,l,a))a.stopPropagation();else if(Qh(t,a),e&4&&-1<Ly.indexOf(t)){for(;n!==null;){var u=sa(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var c=Xl(u.pendingLanes);if(c!==0){var o=u;for(o.pendingLanes|=2,o.entangledLanes|=2;c;){var h=1<<31-se(c);o.entanglements[1]|=h,c&=~h}Xe(u),(st&6)===0&&(qu=ie()+500,Mn(0))}}break;case 31:case 13:o=Kl(u,2),o!==null&&ae(o,u,2),Yu(),Ss(u,2)}if(u=Es(a),u===null&&cs(t,e,a,ti,l),u===n)break;n=u}n!==null&&a.stopPropagation()}else cs(t,e,a,null,l)}}function Es(t){return t=Ti(t),xs(t)}var ti=null;function xs(t){if(ti=null,t=ca(t),t!==null){var e=T(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=D(e),t!==null)return t;t=null}else if(l===31){if(t=w(e),t!==null)return t;t=null}else if(l===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return ti=t,null}function Xh(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(Td()){case Js:return 2;case ks:return 8;case Gn:case Ad:return 32;case Ws:return 268435456;default:return 32}default:return 32}}var Ts=!1,Ul=null,Bl=null,jl=null,qn=new Map,Hn=new Map,ql=[],Ly="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 Qh(t,e){switch(t){case"focusin":case"focusout":Ul=null;break;case"dragenter":case"dragleave":Bl=null;break;case"mouseover":case"mouseout":jl=null;break;case"pointerover":case"pointerout":qn.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Hn.delete(e.pointerId)}}function Yn(t,e,l,a,n,u){return t===null||t.nativeEvent!==u?(t={blockedOn:e,domEventName:l,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},e!==null&&(e=sa(e),e!==null&&Lh(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),t)}function wy(t,e,l,a,n){switch(e){case"focusin":return Ul=Yn(Ul,t,e,l,a,n),!0;case"dragenter":return Bl=Yn(Bl,t,e,l,a,n),!0;case"mouseover":return jl=Yn(jl,t,e,l,a,n),!0;case"pointerover":var u=n.pointerId;return qn.set(u,Yn(qn.get(u)||null,t,e,l,a,n)),!0;case"gotpointercapture":return u=n.pointerId,Hn.set(u,Yn(Hn.get(u)||null,t,e,l,a,n)),!0}return!1}function Gh(t){var e=ca(t.target);if(e!==null){var l=T(e);if(l!==null){if(e=l.tag,e===13){if(e=D(l),e!==null){t.blockedOn=e,ef(t.priority,function(){wh(l)});return}}else if(e===31){if(e=w(l),e!==null){t.blockedOn=e,ef(t.priority,function(){wh(l)});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function ei(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=Es(t.nativeEvent);if(l===null){l=t.nativeEvent;var a=new l.constructor(l.type,l);xi=a,l.target.dispatchEvent(a),xi=null}else return e=sa(l),e!==null&&Lh(e),t.blockedOn=l,!1;e.shift()}return!0}function Vh(t,e,l){ei(t)&&l.delete(e)}function Xy(){Ts=!1,Ul!==null&&ei(Ul)&&(Ul=null),Bl!==null&&ei(Bl)&&(Bl=null),jl!==null&&ei(jl)&&(jl=null),qn.forEach(Vh),Hn.forEach(Vh)}function li(t,e){t.blockedOn===e&&(t.blockedOn=null,Ts||(Ts=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Xy)))}var ai=null;function Zh(t){ai!==t&&(ai=t,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){ai===t&&(ai=null);for(var e=0;e<t.length;e+=3){var l=t[e],a=t[e+1],n=t[e+2];if(typeof a!="function"){if(xs(a||l)===null)continue;break}var u=sa(l);u!==null&&(t.splice(e,3),e-=3,Ec(u,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function Ga(t){function e(h){return li(h,t)}Ul!==null&&li(Ul,t),Bl!==null&&li(Bl,t),jl!==null&&li(jl,t),qn.forEach(e),Hn.forEach(e);for(var l=0;l<ql.length;l++){var a=ql[l];a.blockedOn===t&&(a.blockedOn=null)}for(;0<ql.length&&(l=ql[0],l.blockedOn===null);)Gh(l),l.blockedOn===null&&ql.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var n=l[a],u=l[a+1],c=n[Ft]||null;if(typeof u=="function")c||Zh(l);else if(c){var o=null;if(u&&u.hasAttribute("formAction")){if(n=u,c=u[Ft]||null)o=c.formAction;else if(xs(n)!==null)continue}else o=c.action;typeof o=="function"?l[a+1]=o:(l.splice(a,3),a-=3),Zh(l)}}}function Kh(){function t(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(c){return n=c})},focusReset:"manual",scroll:"manual"})}function e(){n!==null&&(n(),n=null),a||setTimeout(l,20)}function l(){if(!a&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(l,100),function(){a=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),n!==null&&(n(),n=null)}}}function As(t){this._internalRoot=t}ni.prototype.render=As.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(f(409));var l=e.current,a=me();Hh(l,a,t,e,null,null)},ni.prototype.unmount=As.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Hh(t.current,2,null,t,null,null),Yu(),e[ia]=null}};function ni(t){this._internalRoot=t}ni.prototype.unstable_scheduleHydration=function(t){if(t){var e=tf();t={blockedOn:null,target:t,priority:e};for(var l=0;l<ql.length&&e!==0&&e<ql[l].priority;l++);ql.splice(l,0,t),l===0&&Gh(t)}};var Jh=i.version;if(Jh!=="19.2.4")throw Error(f(527,Jh,"19.2.4"));R.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(f(188)):(t=Object.keys(t).join(","),Error(f(268,t)));return t=N(e),t=t!==null?G(t):null,t=t===null?null:t.stateNode,t};var Qy={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:x,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ui=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ui.isDisabled&&ui.supportsFiber)try{Ka=ui.inject(Qy),ce=ui}catch{}}return wn.createRoot=function(t,e){if(!m(t))throw Error(f(299));var l=!1,a="",n=Pr,u=to,c=eo;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(u=e.onCaughtError),e.onRecoverableError!==void 0&&(c=e.onRecoverableError)),e=jh(t,1,!1,null,null,l,a,null,n,u,c,Kh),t[ia]=e.current,is(t),new As(e)},wn.hydrateRoot=function(t,e,l){if(!m(t))throw Error(f(299));var a=!1,n="",u=Pr,c=to,o=eo,h=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(n=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(c=l.onCaughtError),l.onRecoverableError!==void 0&&(o=l.onRecoverableError),l.formState!==void 0&&(h=l.formState)),e=jh(t,1,!0,e,l??null,a,n,h,u,c,o,Kh),e.context=qh(null),l=e.current,a=me(),a=mi(a),n=_l(a),n.callback=null,El(l,n,a),l=a,e.current.lanes=l,ka(e,l),Xe(e),t[ia]=e.current,is(t),new ni(e)},wn.version="19.2.4",wn}var ad;function Iy(){if(ad)return Ns.exports;ad=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}return r(),Ns.exports=Fy(),Ns.exports}var Py=Iy();const tm=({surfaces:r,onVertexMove:i,onSurfaceSelect:s,onSurfaceMoveStart:f})=>_.jsx("div",{className:"relative w-full h-full bg-gray-950 border-2 border-gray-800 rounded-lg overflow-hidden",children:_.jsx("svg",{viewBox:"0 0 100 100",preserveAspectRatio:"none",className:"w-full h-full",children:r.map((m,T)=>_.jsxs("g",{onClick:D=>{D.stopPropagation(),s(T)},children:[_.jsx("polygon",{points:m.vertices.map(D=>`${D.x*100},${D.y*100}`).join(" "),className:`${m.selected?"fill-blue-500/40 stroke-blue-400":"fill-white/10 stroke-white/30"} stroke-1 cursor-grab active:cursor-grabbing transition-colors duration-200`,onMouseDown:D=>m.selected&&f(D,T)}),m.selected&&m.vertices.map((D,w)=>_.jsx("circle",{cx:D.x*100,cy:D.y*100,r:"1.2",className:"fill-blue-400 stroke-white stroke-[0.2] hover:fill-white cursor-move",onMouseDown:M=>i(M,T,w)},w)),_.jsx("text",{x:m.vertices[0].x*100,y:m.vertices[0].y*100-2,className:"fill-white font-bold text-[3px] select-none pointer-events-none",children:m.name||`Surface ${T}`})]},T))})}),Ve=Object.create(null);Ve.open="0";Ve.close="1";Ve.ping="2";Ve.pong="3";Ve.message="4";Ve.upgrade="5";Ve.noop="6";const si=Object.create(null);Object.keys(Ve).forEach(r=>{si[Ve[r]]=r});const js={type:"error",data:"parser error"},fd=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",rd=typeof ArrayBuffer=="function",od=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r&&r.buffer instanceof ArrayBuffer,Qs=({type:r,data:i},s,f)=>fd&&i instanceof Blob?s?f(i):nd(i,f):rd&&(i instanceof ArrayBuffer||od(i))?s?f(i):nd(new Blob([i]),f):f(Ve[r]+(i||"")),nd=(r,i)=>{const s=new FileReader;return s.onload=function(){const f=s.result.split(",")[1];i("b"+(f||""))},s.readAsDataURL(r)};function ud(r){return r instanceof Uint8Array?r:r instanceof ArrayBuffer?new Uint8Array(r):new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}let Cs;function em(r,i){if(fd&&r.data instanceof Blob)return r.data.arrayBuffer().then(ud).then(i);if(rd&&(r.data instanceof ArrayBuffer||od(r.data)))return i(ud(r.data));Qs(r,!1,s=>{Cs||(Cs=new TextEncoder),i(Cs.encode(s))})}const id="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Qn=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let r=0;r<id.length;r++)Qn[id.charCodeAt(r)]=r;const lm=r=>{let i=r.length*.75,s=r.length,f,m=0,T,D,w,M;r[r.length-1]==="="&&(i--,r[r.length-2]==="="&&i--);const N=new ArrayBuffer(i),G=new Uint8Array(N);for(f=0;f<s;f+=4)T=Qn[r.charCodeAt(f)],D=Qn[r.charCodeAt(f+1)],w=Qn[r.charCodeAt(f+2)],M=Qn[r.charCodeAt(f+3)],G[m++]=T<<2|D>>4,G[m++]=(D&15)<<4|w>>2,G[m++]=(w&3)<<6|M&63;return N},am=typeof ArrayBuffer=="function",Gs=(r,i)=>{if(typeof r!="string")return{type:"message",data:hd(r,i)};const s=r.charAt(0);return s==="b"?{type:"message",data:nm(r.substring(1),i)}:si[s]?r.length>1?{type:si[s],data:r.substring(1)}:{type:si[s]}:js},nm=(r,i)=>{if(am){const s=lm(r);return hd(s,i)}else return{base64:!0,data:r}},hd=(r,i)=>i==="blob"?r instanceof Blob?r:new Blob([r]):r instanceof ArrayBuffer?r:r.buffer,dd="",um=(r,i)=>{const s=r.length,f=new Array(s);let m=0;r.forEach((T,D)=>{Qs(T,!1,w=>{f[D]=w,++m===s&&i(f.join(dd))})})},im=(r,i)=>{const s=r.split(dd),f=[];for(let m=0;m<s.length;m++){const T=Gs(s[m],i);if(f.push(T),T.type==="error")break}return f};function cm(){return new TransformStream({transform(r,i){em(r,s=>{const f=s.length;let m;if(f<126)m=new Uint8Array(1),new DataView(m.buffer).setUint8(0,f);else if(f<65536){m=new Uint8Array(3);const T=new DataView(m.buffer);T.setUint8(0,126),T.setUint16(1,f)}else{m=new Uint8Array(9);const T=new DataView(m.buffer);T.setUint8(0,127),T.setBigUint64(1,BigInt(f))}r.data&&typeof r.data!="string"&&(m[0]|=128),i.enqueue(m),i.enqueue(s)})}})}let Us;function ii(r){return r.reduce((i,s)=>i+s.length,0)}function ci(r,i){if(r[0].length===i)return r.shift();const s=new Uint8Array(i);let f=0;for(let m=0;m<i;m++)s[m]=r[0][f++],f===r[0].length&&(r.shift(),f=0);return r.length&&f<r[0].length&&(r[0]=r[0].slice(f)),s}function sm(r,i){Us||(Us=new TextDecoder);const s=[];let f=0,m=-1,T=!1;return new TransformStream({transform(D,w){for(s.push(D);;){if(f===0){if(ii(s)<1)break;const M=ci(s,1);T=(M[0]&128)===128,m=M[0]&127,m<126?f=3:m===126?f=1:f=2}else if(f===1){if(ii(s)<2)break;const M=ci(s,2);m=new DataView(M.buffer,M.byteOffset,M.length).getUint16(0),f=3}else if(f===2){if(ii(s)<8)break;const M=ci(s,8),N=new DataView(M.buffer,M.byteOffset,M.length),G=N.getUint32(0);if(G>Math.pow(2,21)-1){w.enqueue(js);break}m=G*Math.pow(2,32)+N.getUint32(4),f=3}else{if(ii(s)<m)break;const M=ci(s,m);w.enqueue(Gs(T?M:Us.decode(M),i)),f=0}if(m===0||m>r){w.enqueue(js);break}}}})}const yd=4;function Mt(r){if(r)return fm(r)}function fm(r){for(var i in Mt.prototype)r[i]=Mt.prototype[i];return r}Mt.prototype.on=Mt.prototype.addEventListener=function(r,i){return this._callbacks=this._callbacks||{},(this._callbacks["$"+r]=this._callbacks["$"+r]||[]).push(i),this};Mt.prototype.once=function(r,i){function s(){this.off(r,s),i.apply(this,arguments)}return s.fn=i,this.on(r,s),this};Mt.prototype.off=Mt.prototype.removeListener=Mt.prototype.removeAllListeners=Mt.prototype.removeEventListener=function(r,i){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var s=this._callbacks["$"+r];if(!s)return this;if(arguments.length==1)return delete this._callbacks["$"+r],this;for(var f,m=0;m<s.length;m++)if(f=s[m],f===i||f.fn===i){s.splice(m,1);break}return s.length===0&&delete this._callbacks["$"+r],this};Mt.prototype.emit=function(r){this._callbacks=this._callbacks||{};for(var i=new Array(arguments.length-1),s=this._callbacks["$"+r],f=1;f<arguments.length;f++)i[f-1]=arguments[f];if(s){s=s.slice(0);for(var f=0,m=s.length;f<m;++f)s[f].apply(this,i)}return this};Mt.prototype.emitReserved=Mt.prototype.emit;Mt.prototype.listeners=function(r){return this._callbacks=this._callbacks||{},this._callbacks["$"+r]||[]};Mt.prototype.hasListeners=function(r){return!!this.listeners(r).length};const hi=typeof Promise=="function"&&typeof Promise.resolve=="function"?i=>Promise.resolve().then(i):(i,s)=>s(i,0),Me=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),rm="arraybuffer";function md(r,...i){return i.reduce((s,f)=>(r.hasOwnProperty(f)&&(s[f]=r[f]),s),{})}const om=Me.setTimeout,hm=Me.clearTimeout;function di(r,i){i.useNativeTimers?(r.setTimeoutFn=om.bind(Me),r.clearTimeoutFn=hm.bind(Me)):(r.setTimeoutFn=Me.setTimeout.bind(Me),r.clearTimeoutFn=Me.clearTimeout.bind(Me))}const dm=1.33;function ym(r){return typeof r=="string"?mm(r):Math.ceil((r.byteLength||r.size)*dm)}function mm(r){let i=0,s=0;for(let f=0,m=r.length;f<m;f++)i=r.charCodeAt(f),i<128?s+=1:i<2048?s+=2:i<55296||i>=57344?s+=3:(f++,s+=4);return s}function pd(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function pm(r){let i="";for(let s in r)r.hasOwnProperty(s)&&(i.length&&(i+="&"),i+=encodeURIComponent(s)+"="+encodeURIComponent(r[s]));return i}function vm(r){let i={},s=r.split("&");for(let f=0,m=s.length;f<m;f++){let T=s[f].split("=");i[decodeURIComponent(T[0])]=decodeURIComponent(T[1])}return i}class gm extends Error{constructor(i,s,f){super(i),this.description=s,this.context=f,this.type="TransportError"}}class Vs extends Mt{constructor(i){super(),this.writable=!1,di(this,i),this.opts=i,this.query=i.query,this.socket=i.socket,this.supportsBinary=!i.forceBase64}onError(i,s,f){return super.emitReserved("error",new gm(i,s,f)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(i){this.readyState==="open"&&this.write(i)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(i){const s=Gs(i,this.socket.binaryType);this.onPacket(s)}onPacket(i){super.emitReserved("packet",i)}onClose(i){this.readyState="closed",super.emitReserved("close",i)}pause(i){}createUri(i,s={}){return i+"://"+this._hostname()+this._port()+this.opts.path+this._query(s)}_hostname(){const i=this.opts.hostname;return i.indexOf(":")===-1?i:"["+i+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(i){const s=pm(i);return s.length?"?"+s:""}}class bm extends Vs{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(i){this.readyState="pausing";const s=()=>{this.readyState="paused",i()};if(this._polling||!this.writable){let f=0;this._polling&&(f++,this.once("pollComplete",function(){--f||s()})),this.writable||(f++,this.once("drain",function(){--f||s()}))}else s()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(i){const s=f=>{if(this.readyState==="opening"&&f.type==="open"&&this.onOpen(),f.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(f)};im(i,this.socket.binaryType).forEach(s),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const i=()=>{this.write([{type:"close"}])};this.readyState==="open"?i():this.once("open",i)}write(i){this.writable=!1,um(i,s=>{this.doWrite(s,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const i=this.opts.secure?"https":"http",s=this.query||{};return this.opts.timestampRequests!==!1&&(s[this.opts.timestampParam]=pd()),!this.supportsBinary&&!s.sid&&(s.b64=1),this.createUri(i,s)}}let vd=!1;try{vd=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const Sm=vd;function _m(){}class Em extends bm{constructor(i){if(super(i),typeof location<"u"){const s=location.protocol==="https:";let f=location.port;f||(f=s?"443":"80"),this.xd=typeof location<"u"&&i.hostname!==location.hostname||f!==i.port}}doWrite(i,s){const f=this.request({method:"POST",data:i});f.on("success",s),f.on("error",(m,T)=>{this.onError("xhr post error",m,T)})}doPoll(){const i=this.request();i.on("data",this.onData.bind(this)),i.on("error",(s,f)=>{this.onError("xhr poll error",s,f)}),this.pollXhr=i}}class Ge extends Mt{constructor(i,s,f){super(),this.createRequest=i,di(this,f),this._opts=f,this._method=f.method||"GET",this._uri=s,this._data=f.data!==void 0?f.data:null,this._create()}_create(){var i;const s=md(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");s.xdomain=!!this._opts.xd;const f=this._xhr=this.createRequest(s);try{f.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){f.setDisableHeaderCheck&&f.setDisableHeaderCheck(!0);for(let m in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(m)&&f.setRequestHeader(m,this._opts.extraHeaders[m])}}catch{}if(this._method==="POST")try{f.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{f.setRequestHeader("Accept","*/*")}catch{}(i=this._opts.cookieJar)===null||i===void 0||i.addCookies(f),"withCredentials"in f&&(f.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(f.timeout=this._opts.requestTimeout),f.onreadystatechange=()=>{var m;f.readyState===3&&((m=this._opts.cookieJar)===null||m===void 0||m.parseCookies(f.getResponseHeader("set-cookie"))),f.readyState===4&&(f.status===200||f.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof f.status=="number"?f.status:0)},0))},f.send(this._data)}catch(m){this.setTimeoutFn(()=>{this._onError(m)},0);return}typeof document<"u"&&(this._index=Ge.requestsCount++,Ge.requests[this._index]=this)}_onError(i){this.emitReserved("error",i,this._xhr),this._cleanup(!0)}_cleanup(i){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=_m,i)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Ge.requests[this._index],this._xhr=null}}_onLoad(){const i=this._xhr.responseText;i!==null&&(this.emitReserved("data",i),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}Ge.requestsCount=0;Ge.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",cd);else if(typeof addEventListener=="function"){const r="onpagehide"in Me?"pagehide":"unload";addEventListener(r,cd,!1)}}function cd(){for(let r in Ge.requests)Ge.requests.hasOwnProperty(r)&&Ge.requests[r].abort()}const xm=(function(){const r=gd({xdomain:!1});return r&&r.responseType!==null})();class Tm extends Em{constructor(i){super(i);const s=i&&i.forceBase64;this.supportsBinary=xm&&!s}request(i={}){return Object.assign(i,{xd:this.xd},this.opts),new Ge(gd,this.uri(),i)}}function gd(r){const i=r.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!i||Sm))return new XMLHttpRequest}catch{}if(!i)try{return new Me[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const bd=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Am extends Vs{get name(){return"websocket"}doOpen(){const i=this.uri(),s=this.opts.protocols,f=bd?{}:md(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(f.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(i,s,f)}catch(m){return this.emitReserved("error",m)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=i=>this.onClose({description:"websocket connection closed",context:i}),this.ws.onmessage=i=>this.onData(i.data),this.ws.onerror=i=>this.onError("websocket error",i)}write(i){this.writable=!1;for(let s=0;s<i.length;s++){const f=i[s],m=s===i.length-1;Qs(f,this.supportsBinary,T=>{try{this.doWrite(f,T)}catch{}m&&hi(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const i=this.opts.secure?"wss":"ws",s=this.query||{};return this.opts.timestampRequests&&(s[this.opts.timestampParam]=pd()),this.supportsBinary||(s.b64=1),this.createUri(i,s)}}const Bs=Me.WebSocket||Me.MozWebSocket;class zm extends Am{createSocket(i,s,f){return bd?new Bs(i,s,f):s?new Bs(i,s):new Bs(i)}doWrite(i,s){this.ws.send(s)}}class Om extends Vs{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(i){return this.emitReserved("error",i)}this._transport.closed.then(()=>{this.onClose()}).catch(i=>{this.onError("webtransport error",i)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(i=>{const s=sm(Number.MAX_SAFE_INTEGER,this.socket.binaryType),f=i.readable.pipeThrough(s).getReader(),m=cm();m.readable.pipeTo(i.writable),this._writer=m.writable.getWriter();const T=()=>{f.read().then(({done:w,value:M})=>{w||(this.onPacket(M),T())}).catch(w=>{})};T();const D={type:"open"};this.query.sid&&(D.data=`{"sid":"${this.query.sid}"}`),this._writer.write(D).then(()=>this.onOpen())})})}write(i){this.writable=!1;for(let s=0;s<i.length;s++){const f=i[s],m=s===i.length-1;this._writer.write(f).then(()=>{m&&hi(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var i;(i=this._transport)===null||i===void 0||i.close()}}const Nm={websocket:zm,webtransport:Om,polling:Tm},Mm=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Dm=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function qs(r){if(r.length>8e3)throw"URI too long";const i=r,s=r.indexOf("["),f=r.indexOf("]");s!=-1&&f!=-1&&(r=r.substring(0,s)+r.substring(s,f).replace(/:/g,";")+r.substring(f,r.length));let m=Mm.exec(r||""),T={},D=14;for(;D--;)T[Dm[D]]=m[D]||"";return s!=-1&&f!=-1&&(T.source=i,T.host=T.host.substring(1,T.host.length-1).replace(/;/g,":"),T.authority=T.authority.replace("[","").replace("]","").replace(/;/g,":"),T.ipv6uri=!0),T.pathNames=Rm(T,T.path),T.queryKey=Cm(T,T.query),T}function Rm(r,i){const s=/\/{2,9}/g,f=i.replace(s,"/").split("/");return(i.slice(0,1)=="/"||i.length===0)&&f.splice(0,1),i.slice(-1)=="/"&&f.splice(f.length-1,1),f}function Cm(r,i){const s={};return i.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(f,m,T){m&&(s[m]=T)}),s}const Hs=typeof addEventListener=="function"&&typeof removeEventListener=="function",fi=[];Hs&&addEventListener("offline",()=>{fi.forEach(r=>r())},!1);class Yl extends Mt{constructor(i,s){if(super(),this.binaryType=rm,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,i&&typeof i=="object"&&(s=i,i=null),i){const f=qs(i);s.hostname=f.host,s.secure=f.protocol==="https"||f.protocol==="wss",s.port=f.port,f.query&&(s.query=f.query)}else s.host&&(s.hostname=qs(s.host).host);di(this,s),this.secure=s.secure!=null?s.secure:typeof location<"u"&&location.protocol==="https:",s.hostname&&!s.port&&(s.port=this.secure?"443":"80"),this.hostname=s.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=s.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},s.transports.forEach(f=>{const m=f.prototype.name;this.transports.push(m),this._transportsByName[m]=f}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},s),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=vm(this.opts.query)),Hs&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},fi.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(i){const s=Object.assign({},this.opts.query);s.EIO=yd,s.transport=i,this.id&&(s.sid=this.id);const f=Object.assign({},this.opts,{query:s,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[i]);return new this._transportsByName[i](f)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const i=this.opts.rememberUpgrade&&Yl.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const s=this.createTransport(i);s.open(),this.setTransport(s)}setTransport(i){this.transport&&this.transport.removeAllListeners(),this.transport=i,i.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",s=>this._onClose("transport close",s))}onOpen(){this.readyState="open",Yl.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(i){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",i),this.emitReserved("heartbeat"),i.type){case"open":this.onHandshake(JSON.parse(i.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const s=new Error("server error");s.code=i.data,this._onError(s);break;case"message":this.emitReserved("data",i.data),this.emitReserved("message",i.data);break}}onHandshake(i){this.emitReserved("handshake",i),this.id=i.sid,this.transport.query.sid=i.sid,this._pingInterval=i.pingInterval,this._pingTimeout=i.pingTimeout,this._maxPayload=i.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const i=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+i,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},i),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const i=this._getWritablePackets();this.transport.send(i),this._prevBufferLen=i.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let s=1;for(let f=0;f<this.writeBuffer.length;f++){const m=this.writeBuffer[f].data;if(m&&(s+=ym(m)),f>0&&s>this._maxPayload)return this.writeBuffer.slice(0,f);s+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const i=Date.now()>this._pingTimeoutTime;return i&&(this._pingTimeoutTime=0,hi(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),i}write(i,s,f){return this._sendPacket("message",i,s,f),this}send(i,s,f){return this._sendPacket("message",i,s,f),this}_sendPacket(i,s,f,m){if(typeof s=="function"&&(m=s,s=void 0),typeof f=="function"&&(m=f,f=null),this.readyState==="closing"||this.readyState==="closed")return;f=f||{},f.compress=f.compress!==!1;const T={type:i,data:s,options:f};this.emitReserved("packetCreate",T),this.writeBuffer.push(T),m&&this.once("flush",m),this.flush()}close(){const i=()=>{this._onClose("forced close"),this.transport.close()},s=()=>{this.off("upgrade",s),this.off("upgradeError",s),i()},f=()=>{this.once("upgrade",s),this.once("upgradeError",s)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?f():i()}):this.upgrading?f():i()),this}_onError(i){if(Yl.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",i),this._onClose("transport error",i)}_onClose(i,s){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Hs&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const f=fi.indexOf(this._offlineEventListener);f!==-1&&fi.splice(f,1)}this.readyState="closed",this.id=null,this.emitReserved("close",i,s),this.writeBuffer=[],this._prevBufferLen=0}}}Yl.protocol=yd;class Um extends Yl{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let i=0;i<this._upgrades.length;i++)this._probe(this._upgrades[i])}_probe(i){let s=this.createTransport(i),f=!1;Yl.priorWebsocketSuccess=!1;const m=()=>{f||(s.send([{type:"ping",data:"probe"}]),s.once("packet",Y=>{if(!f)if(Y.type==="pong"&&Y.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",s),!s)return;Yl.priorWebsocketSuccess=s.name==="websocket",this.transport.pause(()=>{f||this.readyState!=="closed"&&(G(),this.setTransport(s),s.send([{type:"upgrade"}]),this.emitReserved("upgrade",s),s=null,this.upgrading=!1,this.flush())})}else{const at=new Error("probe error");at.transport=s.name,this.emitReserved("upgradeError",at)}}))};function T(){f||(f=!0,G(),s.close(),s=null)}const D=Y=>{const at=new Error("probe error: "+Y);at.transport=s.name,T(),this.emitReserved("upgradeError",at)};function w(){D("transport closed")}function M(){D("socket closed")}function N(Y){s&&Y.name!==s.name&&T()}const G=()=>{s.removeListener("open",m),s.removeListener("error",D),s.removeListener("close",w),this.off("close",M),this.off("upgrading",N)};s.once("open",m),s.once("error",D),s.once("close",w),this.once("close",M),this.once("upgrading",N),this._upgrades.indexOf("webtransport")!==-1&&i!=="webtransport"?this.setTimeoutFn(()=>{f||s.open()},200):s.open()}onHandshake(i){this._upgrades=this._filterUpgrades(i.upgrades),super.onHandshake(i)}_filterUpgrades(i){const s=[];for(let f=0;f<i.length;f++)~this.transports.indexOf(i[f])&&s.push(i[f]);return s}}let Bm=class extends Um{constructor(i,s={}){const f=typeof i=="object"?i:s;(!f.transports||f.transports&&typeof f.transports[0]=="string")&&(f.transports=(f.transports||["polling","websocket","webtransport"]).map(m=>Nm[m]).filter(m=>!!m)),super(i,f)}};function jm(r,i="",s){let f=r;s=s||typeof location<"u"&&location,r==null&&(r=s.protocol+"//"+s.host),typeof r=="string"&&(r.charAt(0)==="/"&&(r.charAt(1)==="/"?r=s.protocol+r:r=s.host+r),/^(https?|wss?):\/\//.test(r)||(typeof s<"u"?r=s.protocol+"//"+r:r="https://"+r),f=qs(r)),f.port||(/^(http|ws)$/.test(f.protocol)?f.port="80":/^(http|ws)s$/.test(f.protocol)&&(f.port="443")),f.path=f.path||"/";const T=f.host.indexOf(":")!==-1?"["+f.host+"]":f.host;return f.id=f.protocol+"://"+T+":"+f.port+i,f.href=f.protocol+"://"+T+(s&&s.port===f.port?"":":"+f.port),f}const qm=typeof ArrayBuffer=="function",Hm=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r.buffer instanceof ArrayBuffer,Sd=Object.prototype.toString,Ym=typeof Blob=="function"||typeof Blob<"u"&&Sd.call(Blob)==="[object BlobConstructor]",Lm=typeof File=="function"||typeof File<"u"&&Sd.call(File)==="[object FileConstructor]";function Zs(r){return qm&&(r instanceof ArrayBuffer||Hm(r))||Ym&&r instanceof Blob||Lm&&r instanceof File}function ri(r,i){if(!r||typeof r!="object")return!1;if(Array.isArray(r)){for(let s=0,f=r.length;s<f;s++)if(ri(r[s]))return!0;return!1}if(Zs(r))return!0;if(r.toJSON&&typeof r.toJSON=="function"&&arguments.length===1)return ri(r.toJSON(),!0);for(const s in r)if(Object.prototype.hasOwnProperty.call(r,s)&&ri(r[s]))return!0;return!1}function wm(r){const i=[],s=r.data,f=r;return f.data=Ys(s,i),f.attachments=i.length,{packet:f,buffers:i}}function Ys(r,i){if(!r)return r;if(Zs(r)){const s={_placeholder:!0,num:i.length};return i.push(r),s}else if(Array.isArray(r)){const s=new Array(r.length);for(let f=0;f<r.length;f++)s[f]=Ys(r[f],i);return s}else if(typeof r=="object"&&!(r instanceof Date)){const s={};for(const f in r)Object.prototype.hasOwnProperty.call(r,f)&&(s[f]=Ys(r[f],i));return s}return r}function Xm(r,i){return r.data=Ls(r.data,i),delete r.attachments,r}function Ls(r,i){if(!r)return r;if(r&&r._placeholder===!0){if(typeof r.num=="number"&&r.num>=0&&r.num<i.length)return i[r.num];throw new Error("illegal attachments")}else if(Array.isArray(r))for(let s=0;s<r.length;s++)r[s]=Ls(r[s],i);else if(typeof r=="object")for(const s in r)Object.prototype.hasOwnProperty.call(r,s)&&(r[s]=Ls(r[s],i));return r}const Qm=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var et;(function(r){r[r.CONNECT=0]="CONNECT",r[r.DISCONNECT=1]="DISCONNECT",r[r.EVENT=2]="EVENT",r[r.ACK=3]="ACK",r[r.CONNECT_ERROR=4]="CONNECT_ERROR",r[r.BINARY_EVENT=5]="BINARY_EVENT",r[r.BINARY_ACK=6]="BINARY_ACK"})(et||(et={}));class Gm{constructor(i){this.replacer=i}encode(i){return(i.type===et.EVENT||i.type===et.ACK)&&ri(i)?this.encodeAsBinary({type:i.type===et.EVENT?et.BINARY_EVENT:et.BINARY_ACK,nsp:i.nsp,data:i.data,id:i.id}):[this.encodeAsString(i)]}encodeAsString(i){let s=""+i.type;return(i.type===et.BINARY_EVENT||i.type===et.BINARY_ACK)&&(s+=i.attachments+"-"),i.nsp&&i.nsp!=="/"&&(s+=i.nsp+","),i.id!=null&&(s+=i.id),i.data!=null&&(s+=JSON.stringify(i.data,this.replacer)),s}encodeAsBinary(i){const s=wm(i),f=this.encodeAsString(s.packet),m=s.buffers;return m.unshift(f),m}}class Ks extends Mt{constructor(i){super(),this.reviver=i}add(i){let s;if(typeof i=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");s=this.decodeString(i);const f=s.type===et.BINARY_EVENT;f||s.type===et.BINARY_ACK?(s.type=f?et.EVENT:et.ACK,this.reconstructor=new Vm(s),s.attachments===0&&super.emitReserved("decoded",s)):super.emitReserved("decoded",s)}else if(Zs(i)||i.base64)if(this.reconstructor)s=this.reconstructor.takeBinaryData(i),s&&(this.reconstructor=null,super.emitReserved("decoded",s));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+i)}decodeString(i){let s=0;const f={type:Number(i.charAt(0))};if(et[f.type]===void 0)throw new Error("unknown packet type "+f.type);if(f.type===et.BINARY_EVENT||f.type===et.BINARY_ACK){const T=s+1;for(;i.charAt(++s)!=="-"&&s!=i.length;);const D=i.substring(T,s);if(D!=Number(D)||i.charAt(s)!=="-")throw new Error("Illegal attachments");f.attachments=Number(D)}if(i.charAt(s+1)==="/"){const T=s+1;for(;++s&&!(i.charAt(s)===","||s===i.length););f.nsp=i.substring(T,s)}else f.nsp="/";const m=i.charAt(s+1);if(m!==""&&Number(m)==m){const T=s+1;for(;++s;){const D=i.charAt(s);if(D==null||Number(D)!=D){--s;break}if(s===i.length)break}f.id=Number(i.substring(T,s+1))}if(i.charAt(++s)){const T=this.tryParse(i.substr(s));if(Ks.isPayloadValid(f.type,T))f.data=T;else throw new Error("invalid payload")}return f}tryParse(i){try{return JSON.parse(i,this.reviver)}catch{return!1}}static isPayloadValid(i,s){switch(i){case et.CONNECT:return sd(s);case et.DISCONNECT:return s===void 0;case et.CONNECT_ERROR:return typeof s=="string"||sd(s);case et.EVENT:case et.BINARY_EVENT:return Array.isArray(s)&&(typeof s[0]=="number"||typeof s[0]=="string"&&Qm.indexOf(s[0])===-1);case et.ACK:case et.BINARY_ACK:return Array.isArray(s)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Vm{constructor(i){this.packet=i,this.buffers=[],this.reconPack=i}takeBinaryData(i){if(this.buffers.push(i),this.buffers.length===this.reconPack.attachments){const s=Xm(this.reconPack,this.buffers);return this.finishedReconstruction(),s}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function sd(r){return Object.prototype.toString.call(r)==="[object Object]"}const Zm=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Ks,Encoder:Gm,get PacketType(){return et}},Symbol.toStringTag,{value:"Module"}));function je(r,i,s){return r.on(i,s),function(){r.off(i,s)}}const Km=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class _d extends Mt{constructor(i,s,f){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=i,this.nsp=s,f&&f.auth&&(this.auth=f.auth),this._opts=Object.assign({},f),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const i=this.io;this.subs=[je(i,"open",this.onopen.bind(this)),je(i,"packet",this.onpacket.bind(this)),je(i,"error",this.onerror.bind(this)),je(i,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...i){return i.unshift("message"),this.emit.apply(this,i),this}emit(i,...s){var f,m,T;if(Km.hasOwnProperty(i))throw new Error('"'+i.toString()+'" is a reserved event name');if(s.unshift(i),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(s),this;const D={type:et.EVENT,data:s};if(D.options={},D.options.compress=this.flags.compress!==!1,typeof s[s.length-1]=="function"){const G=this.ids++,Y=s.pop();this._registerAckCallback(G,Y),D.id=G}const w=(m=(f=this.io.engine)===null||f===void 0?void 0:f.transport)===null||m===void 0?void 0:m.writable,M=this.connected&&!(!((T=this.io.engine)===null||T===void 0)&&T._hasPingExpired());return this.flags.volatile&&!w||(M?(this.notifyOutgoingListeners(D),this.packet(D)):this.sendBuffer.push(D)),this.flags={},this}_registerAckCallback(i,s){var f;const m=(f=this.flags.timeout)!==null&&f!==void 0?f:this._opts.ackTimeout;if(m===void 0){this.acks[i]=s;return}const T=this.io.setTimeoutFn(()=>{delete this.acks[i];for(let w=0;w<this.sendBuffer.length;w++)this.sendBuffer[w].id===i&&this.sendBuffer.splice(w,1);s.call(this,new Error("operation has timed out"))},m),D=(...w)=>{this.io.clearTimeoutFn(T),s.apply(this,w)};D.withError=!0,this.acks[i]=D}emitWithAck(i,...s){return new Promise((f,m)=>{const T=(D,w)=>D?m(D):f(w);T.withError=!0,s.push(T),this.emit(i,...s)})}_addToQueue(i){let s;typeof i[i.length-1]=="function"&&(s=i.pop());const f={id:this._queueSeq++,tryCount:0,pending:!1,args:i,flags:Object.assign({fromQueue:!0},this.flags)};i.push((m,...T)=>(this._queue[0],m!==null?f.tryCount>this._opts.retries&&(this._queue.shift(),s&&s(m)):(this._queue.shift(),s&&s(null,...T)),f.pending=!1,this._drainQueue())),this._queue.push(f),this._drainQueue()}_drainQueue(i=!1){if(!this.connected||this._queue.length===0)return;const s=this._queue[0];s.pending&&!i||(s.pending=!0,s.tryCount++,this.flags=s.flags,this.emit.apply(this,s.args))}packet(i){i.nsp=this.nsp,this.io._packet(i)}onopen(){typeof this.auth=="function"?this.auth(i=>{this._sendConnectPacket(i)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(i){this.packet({type:et.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},i):i})}onerror(i){this.connected||this.emitReserved("connect_error",i)}onclose(i,s){this.connected=!1,delete this.id,this.emitReserved("disconnect",i,s),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(i=>{if(!this.sendBuffer.some(f=>String(f.id)===i)){const f=this.acks[i];delete this.acks[i],f.withError&&f.call(this,new Error("socket has been disconnected"))}})}onpacket(i){if(i.nsp===this.nsp)switch(i.type){case et.CONNECT:i.data&&i.data.sid?this.onconnect(i.data.sid,i.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case et.EVENT:case et.BINARY_EVENT:this.onevent(i);break;case et.ACK:case et.BINARY_ACK:this.onack(i);break;case et.DISCONNECT:this.ondisconnect();break;case et.CONNECT_ERROR:this.destroy();const f=new Error(i.data.message);f.data=i.data.data,this.emitReserved("connect_error",f);break}}onevent(i){const s=i.data||[];i.id!=null&&s.push(this.ack(i.id)),this.connected?this.emitEvent(s):this.receiveBuffer.push(Object.freeze(s))}emitEvent(i){if(this._anyListeners&&this._anyListeners.length){const s=this._anyListeners.slice();for(const f of s)f.apply(this,i)}super.emit.apply(this,i),this._pid&&i.length&&typeof i[i.length-1]=="string"&&(this._lastOffset=i[i.length-1])}ack(i){const s=this;let f=!1;return function(...m){f||(f=!0,s.packet({type:et.ACK,id:i,data:m}))}}onack(i){const s=this.acks[i.id];typeof s=="function"&&(delete this.acks[i.id],s.withError&&i.data.unshift(null),s.apply(this,i.data))}onconnect(i,s){this.id=i,this.recovered=s&&this._pid===s,this._pid=s,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(i=>this.emitEvent(i)),this.receiveBuffer=[],this.sendBuffer.forEach(i=>{this.notifyOutgoingListeners(i),this.packet(i)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(i=>i()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:et.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(i){return this.flags.compress=i,this}get volatile(){return this.flags.volatile=!0,this}timeout(i){return this.flags.timeout=i,this}onAny(i){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(i),this}prependAny(i){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(i),this}offAny(i){if(!this._anyListeners)return this;if(i){const s=this._anyListeners;for(let f=0;f<s.length;f++)if(i===s[f])return s.splice(f,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(i){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(i),this}prependAnyOutgoing(i){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(i),this}offAnyOutgoing(i){if(!this._anyOutgoingListeners)return this;if(i){const s=this._anyOutgoingListeners;for(let f=0;f<s.length;f++)if(i===s[f])return s.splice(f,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(i){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const s=this._anyOutgoingListeners.slice();for(const f of s)f.apply(this,i.data)}}}function Va(r){r=r||{},this.ms=r.min||100,this.max=r.max||1e4,this.factor=r.factor||2,this.jitter=r.jitter>0&&r.jitter<=1?r.jitter:0,this.attempts=0}Va.prototype.duration=function(){var r=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var i=Math.random(),s=Math.floor(i*this.jitter*r);r=(Math.floor(i*10)&1)==0?r-s:r+s}return Math.min(r,this.max)|0};Va.prototype.reset=function(){this.attempts=0};Va.prototype.setMin=function(r){this.ms=r};Va.prototype.setMax=function(r){this.max=r};Va.prototype.setJitter=function(r){this.jitter=r};class ws extends Mt{constructor(i,s){var f;super(),this.nsps={},this.subs=[],i&&typeof i=="object"&&(s=i,i=void 0),s=s||{},s.path=s.path||"/socket.io",this.opts=s,di(this,s),this.reconnection(s.reconnection!==!1),this.reconnectionAttempts(s.reconnectionAttempts||1/0),this.reconnectionDelay(s.reconnectionDelay||1e3),this.reconnectionDelayMax(s.reconnectionDelayMax||5e3),this.randomizationFactor((f=s.randomizationFactor)!==null&&f!==void 0?f:.5),this.backoff=new Va({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(s.timeout==null?2e4:s.timeout),this._readyState="closed",this.uri=i;const m=s.parser||Zm;this.encoder=new m.Encoder,this.decoder=new m.Decoder,this._autoConnect=s.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(i){return arguments.length?(this._reconnection=!!i,i||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(i){return i===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=i,this)}reconnectionDelay(i){var s;return i===void 0?this._reconnectionDelay:(this._reconnectionDelay=i,(s=this.backoff)===null||s===void 0||s.setMin(i),this)}randomizationFactor(i){var s;return i===void 0?this._randomizationFactor:(this._randomizationFactor=i,(s=this.backoff)===null||s===void 0||s.setJitter(i),this)}reconnectionDelayMax(i){var s;return i===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=i,(s=this.backoff)===null||s===void 0||s.setMax(i),this)}timeout(i){return arguments.length?(this._timeout=i,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(i){if(~this._readyState.indexOf("open"))return this;this.engine=new Bm(this.uri,this.opts);const s=this.engine,f=this;this._readyState="opening",this.skipReconnect=!1;const m=je(s,"open",function(){f.onopen(),i&&i()}),T=w=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",w),i?i(w):this.maybeReconnectOnOpen()},D=je(s,"error",T);if(this._timeout!==!1){const w=this._timeout,M=this.setTimeoutFn(()=>{m(),T(new Error("timeout")),s.close()},w);this.opts.autoUnref&&M.unref(),this.subs.push(()=>{this.clearTimeoutFn(M)})}return this.subs.push(m),this.subs.push(D),this}connect(i){return this.open(i)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const i=this.engine;this.subs.push(je(i,"ping",this.onping.bind(this)),je(i,"data",this.ondata.bind(this)),je(i,"error",this.onerror.bind(this)),je(i,"close",this.onclose.bind(this)),je(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(i){try{this.decoder.add(i)}catch(s){this.onclose("parse error",s)}}ondecoded(i){hi(()=>{this.emitReserved("packet",i)},this.setTimeoutFn)}onerror(i){this.emitReserved("error",i)}socket(i,s){let f=this.nsps[i];return f?this._autoConnect&&!f.active&&f.connect():(f=new _d(this,i,s),this.nsps[i]=f),f}_destroy(i){const s=Object.keys(this.nsps);for(const f of s)if(this.nsps[f].active)return;this._close()}_packet(i){const s=this.encoder.encode(i);for(let f=0;f<s.length;f++)this.engine.write(s[f],i.options)}cleanup(){this.subs.forEach(i=>i()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(i,s){var f;this.cleanup(),(f=this.engine)===null||f===void 0||f.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",i,s),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const i=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const s=this.backoff.duration();this._reconnecting=!0;const f=this.setTimeoutFn(()=>{i.skipReconnect||(this.emitReserved("reconnect_attempt",i.backoff.attempts),!i.skipReconnect&&i.open(m=>{m?(i._reconnecting=!1,i.reconnect(),this.emitReserved("reconnect_error",m)):i.onreconnect()}))},s);this.opts.autoUnref&&f.unref(),this.subs.push(()=>{this.clearTimeoutFn(f)})}}onreconnect(){const i=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",i)}}const Xn={};function oi(r,i){typeof r=="object"&&(i=r,r=void 0),i=i||{};const s=jm(r,i.path||"/socket.io"),f=s.source,m=s.id,T=s.path,D=Xn[m]&&T in Xn[m].nsps,w=i.forceNew||i["force new connection"]||i.multiplex===!1||D;let M;return w?M=new ws(f,i):(Xn[m]||(Xn[m]=new ws(f,i)),M=Xn[m]),s.query&&!i.query&&(i.query=s.queryKey),M.socket(s.path,i)}Object.assign(oi,{Manager:ws,Socket:_d,io:oi,connect:oi});const Qe=oi("http://localhost:3000");function Jm(){const[r,i]=Wt.useState("Dashboard"),[s,f]=Wt.useState([{type:"quad",name:"Screen 1",selected:!0,vertices:[{x:.1,y:.1},{x:.4,y:.1},{x:.4,y:.4},{x:.1,y:.4}]}]),[m,T]=Wt.useState(null),[D,w]=Wt.useState({cpu:"0",mem:{used:"0",total:"0"},temp:"0"}),[M,N]=Wt.useState("unknown"),[G,Y]=Wt.useState([]),[at,Gt]=Wt.useState([]),[jt,Rt]=Wt.useState({surfaces:[]});Wt.useEffect(()=>{const U=setInterval(async()=>{try{const lt=await(await fetch("http://localhost:3000/system/stats")).json();w(lt)}catch{}},2e3);return fetch("http://localhost:3000/mapper/status").then(j=>j.json()).then(j=>N(j.status)),fetch("http://localhost:3000/media").then(j=>j.json()).then(j=>Gt(j.files||[])),fetch("http://localhost:3000/manifest").then(j=>j.json()).then(j=>Rt(j)),Qe.on("mapper:status",j=>N(j.status)),Qe.on("mapper:logs",j=>{Y(lt=>[...lt,...j.logs].slice(-50))}),()=>{clearInterval(U),Qe.off("mapper:status"),Qe.off("mapper:logs")}},[]);const pe=async()=>{const j=await(await fetch("http://localhost:3000/media")).json();Gt(j.files||[])},Jt=async U=>{const j=U.target.files[0];if(!j)return;const lt=new FormData;lt.append("file",j),await fetch("http://localhost:3000/media/upload",{method:"POST",body:lt}),pe()},qe=async U=>{await fetch(`http://localhost:3000/media/${U}`,{method:"DELETE"}),pe()},Ct=async U=>{const j=s.findIndex(He=>He.selected);if(j===-1)return alert("Please select a surface first");const lt=s[j];await fetch("http://localhost:3000/media/assign",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({surfaceIndex:j,filename:U,surfaceName:lt.name})});const Re=await(await fetch("http://localhost:3000/manifest")).json();Rt(Re)},$t=(U,j,lt)=>{U.stopPropagation(),T({type:"vertex",sIndex:j,vIndex:lt})},ve=(U,j)=>{U.stopPropagation();const Et=U.currentTarget.closest("svg").getBoundingClientRect(),Re=(U.clientX-Et.left)/Et.width,He=(U.clientY-Et.top)/Et.height;T({type:"surface",sIndex:j,startPos:{x:Re,y:He}})},Vt=U=>{if(!m)return;const j=U.currentTarget.querySelector("svg");if(!j)return;const lt=j.getBoundingClientRect(),Et=(U.clientX-lt.left)/lt.width,Re=(U.clientY-lt.top)/lt.height,He=[...s],ua=He[m.sIndex];if(m.type==="vertex"){const wl=Math.max(0,Math.min(1,Et)),hl=Math.max(0,Math.min(1,Re));ua.vertices[m.vIndex]={x:wl,y:hl},Qe.emit("vertex:move",{surfaceIndex:m.sIndex,vertexIndex:m.vIndex,x:wl,y:hl})}else if(m.type==="surface"){const wl=Et-m.startPos.x,hl=Re-m.startPos.y;ua.vertices=ua.vertices.map(Ke=>({x:Ke.x+wl,y:Ke.y+hl})),T({...m,startPos:{x:Et,y:Re}}),ua.vertices.forEach((Ke,Za)=>{Qe.emit("vertex:move",{surfaceIndex:m.sIndex,vertexIndex:Za,x:Ke.x,y:Ke.y})})}f(He)},W=()=>T(null),qt=U=>{const j=s.map((lt,Et)=>({...lt,selected:Et===U}));f(j),Qe.emit("surface:select",{surfaceIndex:U})},ne=U=>{const j={type:U,name:`New ${U}`,selected:!0,vertices:U==="quad"?[{x:.4,y:.4},{x:.6,y:.4},{x:.6,y:.6},{x:.4,y:.6}]:[{x:.4,y:.4},{x:.6,y:.4},{x:.5,y:.6}]};f(s.map(lt=>({...lt,selected:!1})).concat(j)),Qe.emit("surface:add",{type:U})},ol=U=>{const j=s.filter((lt,Et)=>Et!==U);f(j),Qe.emit("surface:delete",{surfaceIndex:U})},ge=U=>{const j=prompt("Enter new name for surface:",s[U].name||`Surface ${U}`);if(j){const lt=[...s];lt[U].name=j,f(lt)}},Zt=U=>{Qe.emit("surface:highlight",{surfaceIndex:U})},Ze=()=>_.jsxs("div",{className:"space-y-6",children:[_.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[_.jsxs("div",{className:"bg-gray-900 p-6 rounded-xl border border-gray-800 text-center",children:[_.jsxs("div",{className:"text-3xl font-mono text-emerald-500",children:[D.cpu,"%"]}),_.jsx("div",{className:"text-xs uppercase text-gray-500 mt-2 font-bold tracking-widest",children:"CPU LOAD"})]}),_.jsxs("div",{className:"bg-gray-900 p-6 rounded-xl border border-gray-800 text-center",children:[_.jsxs("div",{className:"text-3xl font-mono text-blue-500",children:[D.mem.used,"MB"]}),_.jsx("div",{className:"text-xs uppercase text-gray-500 mt-2 font-bold tracking-widest",children:"RAM USAGE"})]}),_.jsxs("div",{className:"bg-gray-900 p-6 rounded-xl border border-gray-800 text-center",children:[_.jsxs("div",{className:"text-3xl font-mono text-orange-500",children:[D.temp,"°C"]}),_.jsx("div",{className:"text-xs uppercase text-gray-500 mt-2 font-bold tracking-widest",children:"CPU TEMP"})]})]}),_.jsxs("div",{className:"bg-gray-900 p-6 rounded-xl border border-gray-800 flex items-center justify-between",children:[_.jsxs("div",{className:"flex items-center gap-4",children:[_.jsx("div",{className:`w-3 h-3 rounded-full ${M==="running"?"bg-emerald-500 animate-pulse":"bg-red-500"}`}),_.jsxs("div",{children:[_.jsx("div",{className:"text-lg font-bold text-white",children:"ofxPiMapper"}),_.jsx("div",{className:"text-xs text-gray-500 uppercase font-bold tracking-wider",children:M})]})]}),_.jsxs("div",{className:"flex gap-2",children:[_.jsx("button",{onClick:()=>fetch("http://localhost:3000/mapper/start",{method:"POST"}),className:"bg-emerald-600 hover:bg-emerald-500 px-4 py-2 rounded-md text-xs font-bold uppercase transition-colors",children:"Start"}),_.jsx("button",{onClick:()=>fetch("http://localhost:3000/mapper/stop",{method:"POST"}),className:"bg-red-600 hover:bg-red-500 px-4 py-2 rounded-md text-xs font-bold uppercase transition-colors",children:"Stop"}),_.jsx("button",{onClick:()=>fetch("http://localhost:3000/mapper/restart",{method:"POST"}),className:"bg-orange-600 hover:bg-orange-500 px-4 py-2 rounded-md text-xs font-bold uppercase transition-colors",children:"Restart"})]})]})]}),De=()=>_.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-6",children:[_.jsxs("div",{className:"lg:col-span-3 space-y-4",children:[_.jsx("div",{className:"relative bg-gray-950 rounded-lg overflow-hidden aspect-video border border-gray-800",onMouseMove:Vt,onMouseUp:W,onMouseLeave:W,children:_.jsx(tm,{surfaces:s,onVertexMove:$t,onSurfaceSelect:qt,onSurfaceMoveStart:ve})}),_.jsxs("div",{className:"flex gap-4",children:[_.jsx("button",{onClick:()=>ne("quad"),className:"bg-blue-600 hover:bg-blue-500 px-6 py-3 rounded-lg text-sm font-bold transition-all shadow-lg",children:"+ Add Quad"}),_.jsx("button",{onClick:()=>ne("triangle"),className:"bg-emerald-600 hover:bg-emerald-500 px-6 py-3 rounded-lg text-sm font-bold transition-all shadow-lg",children:"+ Add Triangle"}),_.jsx("button",{onClick:()=>fetch("http://localhost:3000/mapper/save",{method:"POST"}),className:"bg-purple-600 hover:bg-purple-500 px-6 py-3 rounded-lg text-sm font-bold transition-all ml-auto flex items-center gap-2",children:"💾 Save Mapping"})]})]}),_.jsxs("div",{className:"space-y-4",children:[_.jsx("h3",{className:"text-[10px] font-bold uppercase tracking-widest text-gray-500",children:"Surface Hierarchy"}),_.jsx("div",{className:"space-y-2 max-h-[500px] overflow-y-auto pr-2 custom-scrollbar",children:s.map((U,j)=>_.jsxs("div",{className:`p-4 rounded-xl border transition-all cursor-pointer ${U.selected?"bg-blue-600/10 border-blue-500":"bg-gray-900 border-gray-800 hover:border-gray-700"}`,onClick:()=>qt(j),children:[_.jsxs("div",{className:"flex justify-between items-center mb-3",children:[_.jsxs("div",{className:"flex flex-col",children:[_.jsx("span",{className:"font-bold text-xs",children:U.name||`Surface ${j}`}),_.jsx("span",{className:"text-[9px] uppercase tracking-widest text-gray-500 font-mono",children:U.type})]}),_.jsx("button",{onClick:lt=>{lt.stopPropagation(),ol(j)},className:"text-gray-600 hover:text-red-500",children:"✕"})]}),_.jsxs("div",{className:"flex gap-2",children:[_.jsx("button",{onClick:lt=>{lt.stopPropagation(),Zt(j)},className:"flex-1 bg-gray-800 hover:bg-gray-700 py-1 rounded text-[9px] uppercase font-bold tracking-widest",children:"Highlight"}),_.jsx("button",{onClick:lt=>{lt.stopPropagation(),ge(j)},className:"flex-1 bg-gray-800 hover:bg-gray-700 py-1 rounded text-[9px] uppercase font-bold tracking-widest text-blue-400",children:"Rename"})]})]},j))})]})]}),ue=()=>_.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[_.jsxs("div",{className:"bg-gray-900 rounded-xl border border-gray-800 p-6 space-y-4",children:[_.jsx("h2",{className:"text-xl font-bold",children:"Media Vault"}),_.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[at.map((U,j)=>_.jsxs("div",{className:"bg-gray-800 p-4 rounded-lg flex flex-col items-center gap-3 border border-transparent hover:border-blue-500 transition-all cursor-pointer group",children:[_.jsx("div",{className:"w-full aspect-video bg-black/50 rounded flex items-center justify-center text-gray-600",children:_.jsx("svg",{className:"w-8 h-8",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:_.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z"})})}),_.jsx("span",{className:"text-[10px] font-medium truncate w-full text-center",children:U}),_.jsxs("div",{className:"flex gap-2 opacity-0 group-hover:opacity-100 transition-opacity",children:[_.jsx("button",{onClick:()=>Ct(U),className:"text-[9px] bg-blue-600 px-2 py-1 rounded font-bold uppercase",children:"Assign"}),_.jsx("button",{onClick:()=>qe(U),className:"text-[9px] bg-red-600 px-2 py-1 rounded font-bold uppercase",children:"Delete"})]})]},j)),_.jsxs("label",{className:"border-2 border-dashed border-gray-700 hover:border-blue-500/50 hover:bg-blue-500/5 aspect-video rounded-lg flex flex-col items-center justify-center cursor-pointer transition-all group",children:[_.jsx("svg",{className:"w-8 h-8 text-gray-600 group-hover:text-blue-500 mb-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:_.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 4v16m8-8H4"})}),_.jsx("span",{className:"text-[10px] text-gray-500 group-hover:text-blue-500 font-bold uppercase",children:"Upload"}),_.jsx("input",{type:"file",className:"hidden",onChange:Jt})]})]})]}),_.jsxs("div",{className:"bg-gray-900 rounded-xl border border-gray-800 p-6",children:[_.jsx("h2",{className:"text-xl font-bold mb-4",children:"Live Assignment"}),_.jsx("div",{className:"space-y-4",children:jt.surfaces.length===0?_.jsx("div",{className:"text-sm text-gray-500 italic",children:"No media assigned yet. Select a surface in Mapping tab and click Assign here."}):jt.surfaces.map((U,j)=>_.jsxs("div",{className:"flex justify-between items-center p-3 bg-black/30 border border-gray-800 rounded-lg",children:[_.jsxs("div",{className:"flex flex-col",children:[_.jsx("span",{className:"text-sm font-bold",children:U.name}),_.jsx("span",{className:"text-[10px] text-gray-500 font-mono",children:U.source})]}),_.jsx("div",{className:"text-[9px] font-bold text-blue-500 uppercase tracking-widest bg-blue-500/10 px-2 py-1 rounded",children:"Active"})]},j))})]})]}),[x,R]=Wt.useState([]),[X,ct]=Wt.useState(!1),ft=async()=>{ct(!0);try{const j=await(await fetch("http://localhost:3000/network/scan")).json();R(j.networks||[])}catch{}ct(!1)},y=async U=>{const j=prompt(`Enter password for ${U}:`);j!==null&&(await fetch("http://localhost:3000/network/connect",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({ssid:U,password:j})}),alert(`Connecting to ${U}...`))},[O,C]=Wt.useState("MPVJ-AP"),[B,V]=Wt.useState(""),[k,nt]=Wt.useState(!1),Ht=async()=>{if(B.length>0&&B.length<8)return alert("Password must be at least 8 characters");confirm("The system will reboot to apply changes. Continue?")&&(nt(!0),await fetch("http://localhost:3000/network/ap/update",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({ssid:O,password:B})}))};if(k)return _.jsxs("div",{className:"min-h-screen bg-black text-white flex flex-col items-center justify-center space-y-6",children:[_.jsx("div",{className:"w-16 h-16 border-4 border-blue-600 border-t-transparent rounded-full animate-spin"}),_.jsxs("div",{className:"text-center",children:[_.jsx("h1",{className:"text-2xl font-bold mb-2",children:"System Rebooting..."}),_.jsx("p",{className:"text-gray-500 max-w-xs",children:"Applying new network settings. Please reconnect to the new WiFi SSID in about 60 seconds."})]})]});const bt=()=>_.jsxs("div",{className:"max-w-2xl mx-auto space-y-6",children:[_.jsxs("div",{className:"bg-gray-900 p-6 rounded-xl border border-gray-800",children:[_.jsxs("h2",{className:"text-xl font-bold mb-4 flex justify-between items-center",children:[_.jsx("span",{children:"WiFi Client (Venue)"}),_.jsx("button",{onClick:ft,className:`text-[10px] bg-gray-800 hover:bg-gray-700 px-3 py-1 rounded uppercase font-bold tracking-widest transition-all ${X?"animate-pulse":""}`,children:X?"Scanning...":"Scan Networks"})]}),_.jsx("div",{className:"space-y-2",children:x.length===0?_.jsx("div",{className:"text-center py-8 text-gray-600 italic text-sm",children:"No networks found. Click Scan to start."}):x.map((U,j)=>_.jsxs("div",{className:"flex justify-between items-center p-4 bg-black/30 border border-gray-800 rounded-lg hover:border-gray-600 cursor-pointer group transition-all",onClick:()=>y(U.ssid),children:[_.jsxs("div",{className:"flex items-center gap-3",children:[_.jsx("svg",{className:"w-4 h-4 text-gray-500",fill:"currentColor",viewBox:"0 0 20 20",children:_.jsx("path",{fillRule:"evenodd",d:"M17.707 9.293a1 1 0 010 1.414l-7 7a1 1 0 01-1.414 0l-7-7a1 1 0 011.414-1.414L10 14.586l6.293-6.293a1 1 0 011.414 0z",clipRule:"evenodd"})}),_.jsx("span",{className:"text-sm font-medium",children:U.ssid})]}),_.jsxs("div",{className:"flex items-center gap-4",children:[_.jsxs("span",{className:`text-xs font-mono font-bold ${U.strength>70?"text-emerald-500":"text-blue-500"}`,children:[U.strength,"%"]}),_.jsx("button",{className:"text-[9px] bg-blue-600 hover:bg-blue-500 px-3 py-1 rounded font-bold uppercase opacity-0 group-hover:opacity-100 transition-all",children:"Connect"})]})]},j))})]}),_.jsxs("div",{className:"bg-gray-900 p-6 rounded-xl border border-gray-800",children:[_.jsx("h2",{className:"text-xl font-bold mb-4",children:"AP Configuration"}),_.jsxs("div",{className:"space-y-4",children:[_.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[_.jsxs("div",{children:[_.jsx("label",{className:"text-[10px] font-bold text-gray-500 uppercase block mb-1",children:"SSID"}),_.jsx("input",{type:"text",className:"w-full bg-black border border-gray-800 rounded px-3 py-2 text-sm focus:border-blue-500 outline-none text-white",value:O,onChange:U=>C(U.target.value)})]}),_.jsxs("div",{children:[_.jsx("label",{className:"text-[10px] font-bold text-gray-500 uppercase block mb-1",children:"Password"}),_.jsx("input",{type:"password",className:"w-full bg-black border border-gray-800 rounded px-3 py-2 text-sm focus:border-blue-500 outline-none text-white",placeholder:"Min 8 chars",value:B,onChange:U=>V(U.target.value)})]})]}),_.jsx("button",{onClick:Ht,className:"w-full bg-blue-600 hover:bg-blue-500 py-3 rounded-lg font-bold uppercase text-[10px] tracking-widest transition-all",children:"Update & Reboot"})]})]})]}),Ll=()=>_.jsxs("div",{className:"space-y-6",children:[_.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[_.jsxs("button",{onClick:()=>fetch("http://localhost:3000/system/reboot",{method:"POST"}),className:"bg-orange-600/5 hover:bg-orange-600/10 border border-orange-600/20 p-8 rounded-2xl flex flex-col items-center gap-4 transition-all group",children:[_.jsx("div",{className:"p-4 bg-orange-600/20 rounded-full group-hover:scale-110 transition-transform",children:_.jsx("svg",{className:"w-8 h-8 text-orange-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:_.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})})}),_.jsx("span",{className:"text-sm font-bold uppercase tracking-widest text-orange-500",children:"System Reboot"})]}),_.jsxs("button",{onClick:()=>fetch("http://localhost:3000/system/shutdown",{method:"POST"}),className:"bg-red-600/5 hover:bg-red-600/10 border border-red-600/20 p-8 rounded-2xl flex flex-col items-center gap-4 transition-all group",children:[_.jsx("div",{className:"p-4 bg-red-600/20 rounded-full group-hover:scale-110 transition-transform",children:_.jsx("svg",{className:"w-8 h-8 text-red-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:_.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M18.364 5.636l-3.536 3.536m0 5.656L18.364 18.364M5.636 18.364l3.536-3.536m0-5.656L5.636 5.636M10.586 7.586a2 2 0 112.828 2.828l-2.828-2.828zm2.828 6l2.828 2.828a2 2 0 11-2.828-2.828l2.828-2.828z"})})}),_.jsx("span",{className:"text-sm font-bold uppercase tracking-widest text-red-500",children:"System Shutdown"})]})]}),_.jsxs("div",{className:"bg-gray-900 border border-gray-800 rounded-xl overflow-hidden flex flex-col h-[400px]",children:[_.jsxs("div",{className:"bg-gray-800 px-4 py-2 flex justify-between items-center border-b border-gray-700",children:[_.jsx("span",{className:"text-[10px] font-bold uppercase tracking-widest text-gray-400",children:"ofxPiMapper Live Logs"}),_.jsx("button",{onClick:()=>Y([]),className:"text-[9px] text-gray-500 hover:text-white uppercase font-bold",children:"Clear"})]}),_.jsxs("div",{className:"p-4 font-mono text-[10px] overflow-y-auto space-y-1 bg-black/50 flex-1 custom-scrollbar",children:[G.map((U,j)=>_.jsxs("div",{className:"text-gray-400",children:[_.jsxs("span",{className:"text-blue-500/50",children:["[",new Date().toLocaleTimeString(),"]"]})," ",U]},j)),G.length===0&&_.jsx("div",{className:"text-gray-600 italic",children:"No logs received yet..."})]})]})]});return _.jsxs("div",{className:"min-h-screen bg-black text-white flex flex-col font-sans",children:[_.jsxs("header",{className:"border-b border-gray-800 p-4 flex flex-col sm:flex-row justify-between items-center bg-gray-950/80 backdrop-blur-md sticky top-0 z-50 gap-4",children:[_.jsxs("div",{className:"flex items-center gap-3",children:[_.jsx("div",{className:"bg-blue-600 p-1.5 rounded-lg shadow-lg shadow-blue-900/40",children:_.jsx("svg",{className:"w-5 h-5 text-white",fill:"currentColor",viewBox:"0 0 20 20",children:_.jsx("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm1-11a1 1 0 10-2 0v2H7a1 1 0 100 2h2v2a1 1 0 102 0v-2h2a1 1 0 100-2h-2V7z",clipRule:"evenodd"})})}),_.jsx("h1",{className:"text-lg font-black tracking-tighter uppercase",children:"Modern PocketVJ"})]}),_.jsx("div",{className:"flex bg-gray-900 p-1 rounded-xl border border-gray-800 shadow-inner",children:["Dashboard","Mapping","Media","Network","System"].map(U=>_.jsx("button",{onClick:()=>i(U),className:`px-4 py-2 rounded-lg text-[10px] font-bold uppercase tracking-widest transition-all ${r===U?"bg-gray-800 text-white shadow-md":"text-gray-500 hover:text-gray-300"}`,children:U},U))})]}),_.jsxs("main",{className:"flex-1 p-6 max-w-7xl mx-auto w-full",children:[r==="Dashboard"&&Ze(),r==="Mapping"&&De(),r==="Media"&&ue(),r==="Network"&&bt(),r==="System"&&Ll()]}),_.jsx("footer",{className:"p-4 border-t border-gray-800 bg-gray-950/50 text-center text-[9px] text-gray-600 font-bold tracking-[0.3em] uppercase",children:"Pi 3B Appliance // mpvj.local // eth0: dhcp // wlan0: 192.168.4.1"})]})}Py.createRoot(document.getElementById("root")).render(_.jsx(Wt.StrictMode,{children:_.jsx(Jm,{})}));
|