function Uv(f){return f&&f.__esModule&&Object.prototype.hasOwnProperty.call(f,"default")?f.default:f}var Nf={exports:{}},Dn={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Ld;function Rv(){if(Ld)return Dn;Ld=1;var f=Symbol.for("react.transitional.element"),d=Symbol.for("react.fragment");function m(o,j,D){var M=null;if(D!==void 0&&(M=""+D),j.key!==void 0&&(M=""+j.key),"key"in j){D={};for(var U in j)U!=="key"&&(D[U]=j[U])}else D=j;return j=D.ref,{$$typeof:f,type:o,key:M,ref:j!==void 0?j:null,props:D}}return Dn.Fragment=d,Dn.jsx=m,Dn.jsxs=m,Dn}var Vd;function Cv(){return Vd||(Vd=1,Nf.exports=Rv()),Nf.exports}var s=Cv(),Mf={exports:{}},K={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Kd;function Hv(){if(Kd)return K;Kd=1;var f=Symbol.for("react.transitional.element"),d=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),D=Symbol.for("react.consumer"),M=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),_=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),O=Symbol.for("react.activity"),Y=Symbol.iterator;function V(v){return v===null||typeof v!="object"?null:(v=Y&&v[Y]||v["@@iterator"],typeof v=="function"?v:null)}var Q={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},pl=Object.assign,Tl={};function Hl(v,A,C){this.props=v,this.context=A,this.refs=Tl,this.updater=C||Q}Hl.prototype.isReactComponent={},Hl.prototype.setState=function(v,A){if(typeof v!="object"&&typeof v!="function"&&v!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,v,A,"setState")},Hl.prototype.forceUpdate=function(v){this.updater.enqueueForceUpdate(this,v,"forceUpdate")};function Kl(){}Kl.prototype=Hl.prototype;function _l(v,A,C){this.props=v,this.context=A,this.refs=Tl,this.updater=C||Q}var xl=_l.prototype=new Kl;xl.constructor=_l,pl(xl,Hl.prototype),xl.isPureReactComponent=!0;var Al=Array.isArray;function jl(){}var W={H:null,A:null,T:null,S:null},k=Object.prototype.hasOwnProperty;function gl(v,A,C){var B=C.ref;return{$$typeof:f,type:v,key:A,ref:B!==void 0?B:null,props:C}}function Nt(v,A){return gl(v.type,A,v.props)}function mt(v){return typeof v=="object"&&v!==null&&v.$$typeof===f}function Wl(v){var A={"=":"=0",":":"=2"};return"$"+v.replace(/[=:]/g,function(C){return A[C]})}var Oe=/\/+/g;function Ht(v,A){return typeof v=="object"&&v!==null&&v.key!=null?Wl(""+v.key):A.toString(36)}function Et(v){switch(v.status){case"fulfilled":return v.value;case"rejected":throw v.reason;default:switch(typeof v.status=="string"?v.then(jl,jl):(v.status="pending",v.then(function(A){v.status==="pending"&&(v.status="fulfilled",v.value=A)},function(A){v.status==="pending"&&(v.status="rejected",v.reason=A)})),v.status){case"fulfilled":return v.value;case"rejected":throw v.reason}}throw v}function z(v,A,C,B,J){var F=typeof v;(F==="undefined"||F==="boolean")&&(v=null);var il=!1;if(v===null)il=!0;else switch(F){case"bigint":case"string":case"number":il=!0;break;case"object":switch(v.$$typeof){case f:case d:il=!0;break;case G:return il=v._init,z(il(v._payload),A,C,B,J)}}if(il)return J=J(v),il=B===""?"."+Ht(v,0):B,Al(J)?(C="",il!=null&&(C=il.replace(Oe,"$&/")+"/"),z(J,A,C,"",function(qa){return qa})):J!=null&&(mt(J)&&(J=Nt(J,C+(J.key==null||v&&v.key===J.key?"":(""+J.key).replace(Oe,"$&/")+"/")+il)),A.push(J)),1;il=0;var Jl=B===""?".":B+":";if(Al(v))for(var Nl=0;Nl<v.length;Nl++)B=v[Nl],F=Jl+Ht(B,Nl),il+=z(B,A,C,F,J);else if(Nl=V(v),typeof Nl=="function")for(v=Nl.call(v),Nl=0;!(B=v.next()).done;)B=B.value,F=Jl+Ht(B,Nl++),il+=z(B,A,C,F,J);else if(F==="object"){if(typeof v.then=="function")return z(Et(v),A,C,B,J);throw A=String(v),Error("Objects are not valid as a React child (found: "+(A==="[object Object]"?"object with keys {"+Object.keys(v).join(", ")+"}":A)+"). If you meant to render a collection of children, use an array instead.")}return il}function R(v,A,C){if(v==null)return v;var B=[],J=0;return z(v,B,"","",function(F){return A.call(C,F,J++)}),B}function L(v){if(v._status===-1){var A=v._result;A=A(),A.then(function(C){(v._status===0||v._status===-1)&&(v._status=1,v._result=C)},function(C){(v._status===0||v._status===-1)&&(v._status=2,v._result=C)}),v._status===-1&&(v._status=0,v._result=A)}if(v._status===1)return v._result.default;throw v._result}var sl=typeof reportError=="function"?reportError:function(v){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var A=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof v=="object"&&v!==null&&typeof v.message=="string"?String(v.message):String(v),error:v});if(!window.dispatchEvent(A))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",v);return}console.error(v)},ml={map:R,forEach:function(v,A,C){R(v,function(){A.apply(this,arguments)},C)},count:function(v){var A=0;return R(v,function(){A++}),A},toArray:function(v){return R(v,function(A){return A})||[]},only:function(v){if(!mt(v))throw Error("React.Children.only expected to receive a single React element child.");return v}};return K.Activity=O,K.Children=ml,K.Component=Hl,K.Fragment=m,K.Profiler=j,K.PureComponent=_l,K.StrictMode=o,K.Suspense=N,K.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=W,K.__COMPILER_RUNTIME={__proto__:null,c:function(v){return W.H.useMemoCache(v)}},K.cache=function(v){return function(){return v.apply(null,arguments)}},K.cacheSignal=function(){return null},K.cloneElement=function(v,A,C){if(v==null)throw Error("The argument must be a React element, but you passed "+v+".");var B=pl({},v.props),J=v.key;if(A!=null)for(F in A.key!==void 0&&(J=""+A.key),A)!k.call(A,F)||F==="key"||F==="__self"||F==="__source"||F==="ref"&&A.ref===void 0||(B[F]=A[F]);var F=arguments.length-2;if(F===1)B.children=C;else if(1<F){for(var il=Array(F),Jl=0;Jl<F;Jl++)il[Jl]=arguments[Jl+2];B.children=il}return gl(v.type,J,B)},K.createContext=function(v){return v={$$typeof:M,_currentValue:v,_currentValue2:v,_threadCount:0,Provider:null,Consumer:null},v.Provider=v,v.Consumer={$$typeof:D,_context:v},v},K.createElement=function(v,A,C){var B,J={},F=null;if(A!=null)for(B in A.key!==void 0&&(F=""+A.key),A)k.call(A,B)&&B!=="key"&&B!=="__self"&&B!=="__source"&&(J[B]=A[B]);var il=arguments.length-2;if(il===1)J.children=C;else if(1<il){for(var Jl=Array(il),Nl=0;Nl<il;Nl++)Jl[Nl]=arguments[Nl+2];J.children=Jl}if(v&&v.defaultProps)for(B in il=v.defaultProps,il)J[B]===void 0&&(J[B]=il[B]);return gl(v,F,J)},K.createRef=function(){return{current:null}},K.forwardRef=function(v){return{$$typeof:U,render:v}},K.isValidElement=mt,K.lazy=function(v){return{$$typeof:G,_payload:{_status:-1,_result:v},_init:L}},K.memo=function(v,A){return{$$typeof:_,type:v,compare:A===void 0?null:A}},K.startTransition=function(v){var A=W.T,C={};W.T=C;try{var B=v(),J=W.S;J!==null&&J(C,B),typeof B=="object"&&B!==null&&typeof B.then=="function"&&B.then(jl,sl)}catch(F){sl(F)}finally{A!==null&&C.types!==null&&(A.types=C.types),W.T=A}},K.unstable_useCacheRefresh=function(){return W.H.useCacheRefresh()},K.use=function(v){return W.H.use(v)},K.useActionState=function(v,A,C){return W.H.useActionState(v,A,C)},K.useCallback=function(v,A){return W.H.useCallback(v,A)},K.useContext=function(v){return W.H.useContext(v)},K.useDebugValue=function(){},K.useDeferredValue=function(v,A){return W.H.useDeferredValue(v,A)},K.useEffect=function(v,A){return W.H.useEffect(v,A)},K.useEffectEvent=function(v){return W.H.useEffectEvent(v)},K.useId=function(){return W.H.useId()},K.useImperativeHandle=function(v,A,C){return W.H.useImperativeHandle(v,A,C)},K.useInsertionEffect=function(v,A){return W.H.useInsertionEffect(v,A)},K.useLayoutEffect=function(v,A){return W.H.useLayoutEffect(v,A)},K.useMemo=function(v,A){return W.H.useMemo(v,A)},K.useOptimistic=function(v,A){return W.H.useOptimistic(v,A)},K.useReducer=function(v,A,C){return W.H.useReducer(v,A,C)},K.useRef=function(v){return W.H.useRef(v)},K.useState=function(v){return W.H.useState(v)},K.useSyncExternalStore=function(v,A,C){return W.H.useSyncExternalStore(v,A,C)},K.useTransition=function(){return W.H.useTransition()},K.version="19.2.4",K}var Jd;function qf(){return Jd||(Jd=1,Mf.exports=Hv()),Mf.exports}var bl=qf();const ei=Uv(bl);var Of={exports:{}},Un={},Df={exports:{}},Uf={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var wd;function Bv(){return wd||(wd=1,(function(f){function d(z,R){var L=z.length;z.push(R);l:for(;0<L;){var sl=L-1>>>1,ml=z[sl];if(0<j(ml,R))z[sl]=R,z[L]=ml,L=sl;else break l}}function m(z){return z.length===0?null:z[0]}function o(z){if(z.length===0)return null;var R=z[0],L=z.pop();if(L!==R){z[0]=L;l:for(var sl=0,ml=z.length,v=ml>>>1;sl<v;){var A=2*(sl+1)-1,C=z[A],B=A+1,J=z[B];if(0>j(C,L))B<ml&&0>j(J,C)?(z[sl]=J,z[B]=L,sl=B):(z[sl]=C,z[A]=L,sl=A);else if(B<ml&&0>j(J,L))z[sl]=J,z[B]=L,sl=B;else break l}}return R}function j(z,R){var L=z.sortIndex-R.sortIndex;return L!==0?L:z.id-R.id}if(f.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var D=performance;f.unstable_now=function(){return D.now()}}else{var M=Date,U=M.now();f.unstable_now=function(){return M.now()-U}}var N=[],_=[],G=1,O=null,Y=3,V=!1,Q=!1,pl=!1,Tl=!1,Hl=typeof setTimeout=="function"?setTimeout:null,Kl=typeof clearTimeout=="function"?clearTimeout:null,_l=typeof setImmediate<"u"?setImmediate:null;function xl(z){for(var R=m(_);R!==null;){if(R.callback===null)o(_);else if(R.startTime<=z)o(_),R.sortIndex=R.expirationTime,d(N,R);else break;R=m(_)}}function Al(z){if(pl=!1,xl(z),!Q)if(m(N)!==null)Q=!0,jl||(jl=!0,Wl());else{var R=m(_);R!==null&&Et(Al,R.startTime-z)}}var jl=!1,W=-1,k=5,gl=-1;function Nt(){return Tl?!0:!(f.unstable_now()-gl<k)}function mt(){if(Tl=!1,jl){var z=f.unstable_now();gl=z;var R=!0;try{l:{Q=!1,pl&&(pl=!1,Kl(W),W=-1),V=!0;var L=Y;try{t:{for(xl(z),O=m(N);O!==null&&!(O.expirationTime>z&&Nt());){var sl=O.callback;if(typeof sl=="function"){O.callback=null,Y=O.priorityLevel;var ml=sl(O.expirationTime<=z);if(z=f.unstable_now(),typeof ml=="function"){O.callback=ml,xl(z),R=!0;break t}O===m(N)&&o(N),xl(z)}else o(N);O=m(N)}if(O!==null)R=!0;else{var v=m(_);v!==null&&Et(Al,v.startTime-z),R=!1}}break l}finally{O=null,Y=L,V=!1}R=void 0}}finally{R?Wl():jl=!1}}}var Wl;if(typeof _l=="function")Wl=function(){_l(mt)};else if(typeof MessageChannel<"u"){var Oe=new MessageChannel,Ht=Oe.port2;Oe.port1.onmessage=mt,Wl=function(){Ht.postMessage(null)}}else Wl=function(){Hl(mt,0)};function Et(z,R){W=Hl(function(){z(f.unstable_now())},R)}f.unstable_IdlePriority=5,f.unstable_ImmediatePriority=1,f.unstable_LowPriority=4,f.unstable_NormalPriority=3,f.unstable_Profiling=null,f.unstable_UserBlockingPriority=2,f.unstable_cancelCallback=function(z){z.callback=null},f.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<z?Math.floor(1e3/z):5},f.unstable_getCurrentPriorityLevel=function(){return Y},f.unstable_next=function(z){switch(Y){case 1:case 2:case 3:var R=3;break;default:R=Y}var L=Y;Y=R;try{return z()}finally{Y=L}},f.unstable_requestPaint=function(){Tl=!0},f.unstable_runWithPriority=function(z,R){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var L=Y;Y=z;try{return R()}finally{Y=L}},f.unstable_scheduleCallback=function(z,R,L){var sl=f.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?sl+L:sl):L=sl,z){case 1:var ml=-1;break;case 2:ml=250;break;case 5:ml=1073741823;break;case 4:ml=1e4;break;default:ml=5e3}return ml=L+ml,z={id:G++,callback:R,priorityLevel:z,startTime:L,expirationTime:ml,sortIndex:-1},L>sl?(z.sortIndex=L,d(_,z),m(N)===null&&z===m(_)&&(pl?(Kl(W),W=-1):pl=!0,Et(Al,L-sl))):(z.sortIndex=ml,d(N,z),Q||V||(Q=!0,jl||(jl=!0,Wl()))),z},f.unstable_shouldYield=Nt,f.unstable_wrapCallback=function(z){var R=Y;return function(){var L=Y;Y=R;try{return z.apply(this,arguments)}finally{Y=L}}}})(Uf)),Uf}var $d;function qv(){return $d||($d=1,Df.exports=Bv()),Df.exports}var Rf={exports:{}},Vl={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Wd;function Yv(){if(Wd)return Vl;Wd=1;var f=qf();function d(N){var _="https://react.dev/errors/"+N;if(1<arguments.length){_+="?args[]="+encodeURIComponent(arguments[1]);for(var G=2;G<arguments.length;G++)_+="&args[]="+encodeURIComponent(arguments[G])}return"Minified React error #"+N+"; visit "+_+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function m(){}var o={d:{f:m,r:function(){throw Error(d(522))},D:m,C:m,L:m,m,X:m,S:m,M:m},p:0,findDOMNode:null},j=Symbol.for("react.portal");function D(N,_,G){var O=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:j,key:O==null?null:""+O,children:N,containerInfo:_,implementation:G}}var M=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function U(N,_){if(N==="font")return"";if(typeof _=="string")return _==="use-credentials"?_:""}return Vl.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,Vl.createPortal=function(N,_){var G=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!_||_.nodeType!==1&&_.nodeType!==9&&_.nodeType!==11)throw Error(d(299));return D(N,_,null,G)},Vl.flushSync=function(N){var _=M.T,G=o.p;try{if(M.T=null,o.p=2,N)return N()}finally{M.T=_,o.p=G,o.d.f()}},Vl.preconnect=function(N,_){typeof N=="string"&&(_?(_=_.crossOrigin,_=typeof _=="string"?_==="use-credentials"?_:"":void 0):_=null,o.d.C(N,_))},Vl.prefetchDNS=function(N){typeof N=="string"&&o.d.D(N)},Vl.preinit=function(N,_){if(typeof N=="string"&&_&&typeof _.as=="string"){var G=_.as,O=U(G,_.crossOrigin),Y=typeof _.integrity=="string"?_.integrity:void 0,V=typeof _.fetchPriority=="string"?_.fetchPriority:void 0;G==="style"?o.d.S(N,typeof _.precedence=="string"?_.precedence:void 0,{crossOrigin:O,integrity:Y,fetchPriority:V}):G==="script"&&o.d.X(N,{crossOrigin:O,integrity:Y,fetchPriority:V,nonce:typeof _.nonce=="string"?_.nonce:void 0})}},Vl.preinitModule=function(N,_){if(typeof N=="string")if(typeof _=="object"&&_!==null){if(_.as==null||_.as==="script"){var G=U(_.as,_.crossOrigin);o.d.M(N,{crossOrigin:G,integrity:typeof _.integrity=="string"?_.integrity:void 0,nonce:typeof _.nonce=="string"?_.nonce:void 0})}}else _==null&&o.d.M(N)},Vl.preload=function(N,_){if(typeof N=="string"&&typeof _=="object"&&_!==null&&typeof _.as=="string"){var G=_.as,O=U(G,_.crossOrigin);o.d.L(N,G,{crossOrigin:O,integrity:typeof _.integrity=="string"?_.integrity:void 0,nonce:typeof _.nonce=="string"?_.nonce:void 0,type:typeof _.type=="string"?_.type:void 0,fetchPriority:typeof _.fetchPriority=="string"?_.fetchPriority:void 0,referrerPolicy:typeof _.referrerPolicy=="string"?_.referrerPolicy:void 0,imageSrcSet:typeof _.imageSrcSet=="string"?_.imageSrcSet:void 0,imageSizes:typeof _.imageSizes=="string"?_.imageSizes:void 0,media:typeof _.media=="string"?_.media:void 0})}},Vl.preloadModule=function(N,_){if(typeof N=="string")if(_){var G=U(_.as,_.crossOrigin);o.d.m(N,{as:typeof _.as=="string"&&_.as!=="script"?_.as:void 0,crossOrigin:G,integrity:typeof _.integrity=="string"?_.integrity:void 0})}else o.d.m(N)},Vl.requestFormReset=function(N){o.d.r(N)},Vl.unstable_batchedUpdates=function(N,_){return N(_)},Vl.useFormState=function(N,_,G){return M.H.useFormState(N,_,G)},Vl.useFormStatus=function(){return M.H.useHostTransitionStatus()},Vl.version="19.2.4",Vl}var kd;function Gv(){if(kd)return Rf.exports;kd=1;function f(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(f)}catch(d){console.error(d)}}return f(),Rf.exports=Yv(),Rf.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Fd;function Xv(){if(Fd)return Un;Fd=1;var f=qv(),d=qf(),m=Gv();function o(l){var t="https://react.dev/errors/"+l;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var e=2;e<arguments.length;e++)t+="&args[]="+encodeURIComponent(arguments[e])}return"Minified React error #"+l+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function j(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function D(l){var t=l,e=l;if(l.alternate)for(;t.return;)t=t.return;else{l=t;do t=l,(t.flags&4098)!==0&&(e=t.return),l=t.return;while(l)}return t.tag===3?e:null}function M(l){if(l.tag===13){var t=l.memoizedState;if(t===null&&(l=l.alternate,l!==null&&(t=l.memoizedState)),t!==null)return t.dehydrated}return null}function U(l){if(l.tag===31){var t=l.memoizedState;if(t===null&&(l=l.alternate,l!==null&&(t=l.memoizedState)),t!==null)return t.dehydrated}return null}function N(l){if(D(l)!==l)throw Error(o(188))}function _(l){var t=l.alternate;if(!t){if(t=D(l),t===null)throw Error(o(188));return t!==l?null:l}for(var e=l,a=t;;){var n=e.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){e=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===e)return N(n),l;if(u===a)return N(n),t;u=u.sibling}throw Error(o(188))}if(e.return!==a.return)e=n,a=u;else{for(var i=!1,c=n.child;c;){if(c===e){i=!0,e=n,a=u;break}if(c===a){i=!0,a=n,e=u;break}c=c.sibling}if(!i){for(c=u.child;c;){if(c===e){i=!0,e=u,a=n;break}if(c===a){i=!0,a=u,e=n;break}c=c.sibling}if(!i)throw Error(o(189))}}if(e.alternate!==a)throw Error(o(190))}if(e.tag!==3)throw Error(o(188));return e.stateNode.current===e?l:t}function G(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l;for(l=l.child;l!==null;){if(t=G(l),t!==null)return t;l=l.sibling}return null}var O=Object.assign,Y=Symbol.for("react.element"),V=Symbol.for("react.transitional.element"),Q=Symbol.for("react.portal"),pl=Symbol.for("react.fragment"),Tl=Symbol.for("react.strict_mode"),Hl=Symbol.for("react.profiler"),Kl=Symbol.for("react.consumer"),_l=Symbol.for("react.context"),xl=Symbol.for("react.forward_ref"),Al=Symbol.for("react.suspense"),jl=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),gl=Symbol.for("react.activity"),Nt=Symbol.for("react.memo_cache_sentinel"),mt=Symbol.iterator;function Wl(l){return l===null||typeof l!="object"?null:(l=mt&&l[mt]||l["@@iterator"],typeof l=="function"?l:null)}var Oe=Symbol.for("react.client.reference");function Ht(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===Oe?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case pl:return"Fragment";case Hl:return"Profiler";case Tl:return"StrictMode";case Al:return"Suspense";case jl:return"SuspenseList";case gl:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case Q:return"Portal";case _l:return l.displayName||"Context";case Kl:return(l._context.displayName||"Context")+".Consumer";case xl:var t=l.render;return l=l.displayName,l||(l=t.displayName||t.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case W:return t=l.displayName||null,t!==null?t:Ht(l.type)||"Memo";case k:t=l._payload,l=l._init;try{return Ht(l(t))}catch{}}return null}var Et=Array.isArray,z=d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R=m.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L={pending:!1,data:null,method:null,action:null},sl=[],ml=-1;function v(l){return{current:l}}function A(l){0>ml||(l.current=sl[ml],sl[ml]=null,ml--)}function C(l,t){ml++,sl[ml]=l.current,l.current=t}var B=v(null),J=v(null),F=v(null),il=v(null);function Jl(l,t){switch(C(F,t),C(J,l),C(B,null),t.nodeType){case 9:case 11:l=(l=t.documentElement)&&(l=l.namespaceURI)?dd(l):0;break;default:if(l=t.tagName,t=t.namespaceURI)t=dd(t),l=md(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}A(B),C(B,l)}function Nl(){A(B),A(J),A(F)}function qa(l){l.memoizedState!==null&&C(il,l);var t=B.current,e=md(t,l.type);t!==e&&(C(J,l),C(B,e))}function Yn(l){J.current===l&&(A(B),A(J)),il.current===l&&(A(il),jn._currentValue=L)}var si,Qf;function De(l){if(si===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);si=t&&t[1]||"",Qf=-1<e.stack.indexOf(`
    at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
`+si+l+Qf}var oi=!1;function ri(l,t){if(!l||oi)return"";oi=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var T=function(){throw Error()};if(Object.defineProperty(T.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(T,[])}catch(p){var b=p}Reflect.construct(l,[],T)}else{try{T.call()}catch(p){b=p}l.call(T.prototype)}}else{try{throw Error()}catch(p){b=p}(T=l())&&typeof T.catch=="function"&&T.catch(function(){})}}catch(p){if(p&&b&&typeof p.stack=="string")return[p.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(),i=u[0],c=u[1];if(i&&c){var r=i.split(`
`),S=c.split(`
`);for(n=a=0;a<r.length&&!r[a].includes("DetermineComponentFrameRoot");)a++;for(;n<S.length&&!S[n].includes("DetermineComponentFrameRoot");)n++;if(a===r.length||n===S.length)for(a=r.length-1,n=S.length-1;1<=a&&0<=n&&r[a]!==S[n];)n--;for(;1<=a&&0<=n;a--,n--)if(r[a]!==S[n]){if(a!==1||n!==1)do if(a--,n--,0>n||r[a]!==S[n]){var x=`
`+r[a].replace(" at new "," at ");return l.displayName&&x.includes("<anonymous>")&&(x=x.replace("<anonymous>",l.displayName)),x}while(1<=a&&0<=n);break}}}finally{oi=!1,Error.prepareStackTrace=e}return(e=l?l.displayName||l.name:"")?De(e):""}function sm(l,t){switch(l.tag){case 26:case 27:case 5:return De(l.type);case 16:return De("Lazy");case 13:return l.child!==t&&t!==null?De("Suspense Fallback"):De("Suspense");case 19:return De("SuspenseList");case 0:case 15:return ri(l.type,!1);case 11:return ri(l.type.render,!1);case 1:return ri(l.type,!0);case 31:return De("Activity");default:return""}}function Zf(l){try{var t="",e=null;do t+=sm(l,e),e=l,l=l.return;while(l);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}var di=Object.prototype.hasOwnProperty,mi=f.unstable_scheduleCallback,hi=f.unstable_cancelCallback,om=f.unstable_shouldYield,rm=f.unstable_requestPaint,at=f.unstable_now,dm=f.unstable_getCurrentPriorityLevel,Lf=f.unstable_ImmediatePriority,Vf=f.unstable_UserBlockingPriority,Gn=f.unstable_NormalPriority,mm=f.unstable_LowPriority,Kf=f.unstable_IdlePriority,hm=f.log,vm=f.unstable_setDisableYieldValue,Ya=null,nt=null;function te(l){if(typeof hm=="function"&&vm(l),nt&&typeof nt.setStrictMode=="function")try{nt.setStrictMode(Ya,l)}catch{}}var ut=Math.clz32?Math.clz32:Sm,ym=Math.log,gm=Math.LN2;function Sm(l){return l>>>=0,l===0?32:31-(ym(l)/gm|0)|0}var Xn=256,Qn=262144,Zn=4194304;function Ue(l){var t=l&42;if(t!==0)return t;switch(l&-l){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 l&261888;case 262144:case 524288:case 1048576:case 2097152:return l&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function Ln(l,t,e){var a=l.pendingLanes;if(a===0)return 0;var n=0,u=l.suspendedLanes,i=l.pingedLanes;l=l.warmLanes;var c=a&134217727;return c!==0?(a=c&~u,a!==0?n=Ue(a):(i&=c,i!==0?n=Ue(i):e||(e=c&~l,e!==0&&(n=Ue(e))))):(c=a&~u,c!==0?n=Ue(c):i!==0?n=Ue(i):e||(e=a&~l,e!==0&&(n=Ue(e)))),n===0?0:t!==0&&t!==n&&(t&u)===0&&(u=n&-n,e=t&-t,u>=e||u===32&&(e&4194048)!==0)?t:n}function Ga(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}function bm(l,t){switch(l){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Jf(){var l=Zn;return Zn<<=1,(Zn&62914560)===0&&(Zn=4194304),l}function vi(l){for(var t=[],e=0;31>e;e++)t.push(l);return t}function Xa(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function pm(l,t,e,a,n,u){var i=l.pendingLanes;l.pendingLanes=e,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=e,l.entangledLanes&=e,l.errorRecoveryDisabledLanes&=e,l.shellSuspendCounter=0;var c=l.entanglements,r=l.expirationTimes,S=l.hiddenUpdates;for(e=i&~e;0<e;){var x=31-ut(e),T=1<<x;c[x]=0,r[x]=-1;var b=S[x];if(b!==null)for(S[x]=null,x=0;x<b.length;x++){var p=b[x];p!==null&&(p.lane&=-536870913)}e&=~T}a!==0&&wf(l,a,0),u!==0&&n===0&&l.tag!==0&&(l.suspendedLanes|=u&~(i&~t))}function wf(l,t,e){l.pendingLanes|=t,l.suspendedLanes&=~t;var a=31-ut(t);l.entangledLanes|=t,l.entanglements[a]=l.entanglements[a]|1073741824|e&261930}function $f(l,t){var e=l.entangledLanes|=t;for(l=l.entanglements;e;){var a=31-ut(e),n=1<<a;n&t|l[a]&t&&(l[a]|=t),e&=~n}}function Wf(l,t){var e=t&-t;return e=(e&42)!==0?1:yi(e),(e&(l.suspendedLanes|t))!==0?0:e}function yi(l){switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=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:l=128;break;case 268435456:l=134217728;break;default:l=0}return l}function gi(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function kf(){var l=R.p;return l!==0?l:(l=window.event,l===void 0?32:Bd(l.type))}function Ff(l,t){var e=R.p;try{return R.p=l,t()}finally{R.p=e}}var ee=Math.random().toString(36).slice(2),Gl="__reactFiber$"+ee,kl="__reactProps$"+ee,Ie="__reactContainer$"+ee,Si="__reactEvents$"+ee,_m="__reactListeners$"+ee,xm="__reactHandles$"+ee,If="__reactResources$"+ee,Qa="__reactMarker$"+ee;function bi(l){delete l[Gl],delete l[kl],delete l[Si],delete l[_m],delete l[xm]}function Pe(l){var t=l[Gl];if(t)return t;for(var e=l.parentNode;e;){if(t=e[Ie]||e[Gl]){if(e=t.alternate,t.child!==null||e!==null&&e.child!==null)for(l=pd(l);l!==null;){if(e=l[Gl])return e;l=pd(l)}return t}l=e,e=l.parentNode}return null}function la(l){if(l=l[Gl]||l[Ie]){var t=l.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return l}return null}function Za(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l.stateNode;throw Error(o(33))}function ta(l){var t=l[If];return t||(t=l[If]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ql(l){l[Qa]=!0}var Pf=new Set,ls={};function Re(l,t){ea(l,t),ea(l+"Capture",t)}function ea(l,t){for(ls[l]=t,l=0;l<t.length;l++)Pf.add(t[l])}var zm=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]*$"),ts={},es={};function Em(l){return di.call(es,l)?!0:di.call(ts,l)?!1:zm.test(l)?es[l]=!0:(ts[l]=!0,!1)}function Vn(l,t,e){if(Em(t))if(e===null)l.removeAttribute(t);else{switch(typeof e){case"undefined":case"function":case"symbol":l.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){l.removeAttribute(t);return}}l.setAttribute(t,""+e)}}function Kn(l,t,e){if(e===null)l.removeAttribute(t);else{switch(typeof e){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(t);return}l.setAttribute(t,""+e)}}function Bt(l,t,e,a){if(a===null)l.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(e);return}l.setAttributeNS(t,e,""+a)}}function ht(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function as(l){var t=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Tm(l,t,e){var a=Object.getOwnPropertyDescriptor(l.constructor.prototype,t);if(!l.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,u=a.set;return Object.defineProperty(l,t,{configurable:!0,get:function(){return n.call(this)},set:function(i){e=""+i,u.call(this,i)}}),Object.defineProperty(l,t,{enumerable:a.enumerable}),{getValue:function(){return e},setValue:function(i){e=""+i},stopTracking:function(){l._valueTracker=null,delete l[t]}}}}function pi(l){if(!l._valueTracker){var t=as(l)?"checked":"value";l._valueTracker=Tm(l,t,""+l[t])}}function ns(l){if(!l)return!1;var t=l._valueTracker;if(!t)return!0;var e=t.getValue(),a="";return l&&(a=as(l)?l.checked?"true":"false":l.value),l=a,l!==e?(t.setValue(l),!0):!1}function Jn(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var Am=/[\n"\\]/g;function vt(l){return l.replace(Am,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function _i(l,t,e,a,n,u,i,c){l.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?l.type=i:l.removeAttribute("type"),t!=null?i==="number"?(t===0&&l.value===""||l.value!=t)&&(l.value=""+ht(t)):l.value!==""+ht(t)&&(l.value=""+ht(t)):i!=="submit"&&i!=="reset"||l.removeAttribute("value"),t!=null?xi(l,i,ht(t)):e!=null?xi(l,i,ht(e)):a!=null&&l.removeAttribute("value"),n==null&&u!=null&&(l.defaultChecked=!!u),n!=null&&(l.checked=n&&typeof n!="function"&&typeof n!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.name=""+ht(c):l.removeAttribute("name")}function us(l,t,e,a,n,u,i,c){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(l.type=u),t!=null||e!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){pi(l);return}e=e!=null?""+ht(e):"",t=t!=null?""+ht(t):e,c||t===l.value||(l.value=t),l.defaultValue=t}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,l.checked=c?l.checked:!!a,l.defaultChecked=!!a,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(l.name=i),pi(l)}function xi(l,t,e){t==="number"&&Jn(l.ownerDocument)===l||l.defaultValue===""+e||(l.defaultValue=""+e)}function aa(l,t,e,a){if(l=l.options,t){t={};for(var n=0;n<e.length;n++)t["$"+e[n]]=!0;for(e=0;e<l.length;e++)n=t.hasOwnProperty("$"+l[e].value),l[e].selected!==n&&(l[e].selected=n),n&&a&&(l[e].defaultSelected=!0)}else{for(e=""+ht(e),t=null,n=0;n<l.length;n++){if(l[n].value===e){l[n].selected=!0,a&&(l[n].defaultSelected=!0);return}t!==null||l[n].disabled||(t=l[n])}t!==null&&(t.selected=!0)}}function is(l,t,e){if(t!=null&&(t=""+ht(t),t!==l.value&&(l.value=t),e==null)){l.defaultValue!==t&&(l.defaultValue=t);return}l.defaultValue=e!=null?""+ht(e):""}function cs(l,t,e,a){if(t==null){if(a!=null){if(e!=null)throw Error(o(92));if(Et(a)){if(1<a.length)throw Error(o(93));a=a[0]}e=a}e==null&&(e=""),t=e}e=ht(t),l.defaultValue=e,a=l.textContent,a===e&&a!==""&&a!==null&&(l.value=a),pi(l)}function na(l,t){if(t){var e=l.firstChild;if(e&&e===l.lastChild&&e.nodeType===3){e.nodeValue=t;return}}l.textContent=t}var jm=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 fs(l,t,e){var a=t.indexOf("--")===0;e==null||typeof e=="boolean"||e===""?a?l.setProperty(t,""):t==="float"?l.cssFloat="":l[t]="":a?l.setProperty(t,e):typeof e!="number"||e===0||jm.has(t)?t==="float"?l.cssFloat=e:l[t]=(""+e).trim():l[t]=e+"px"}function ss(l,t,e){if(t!=null&&typeof t!="object")throw Error(o(62));if(l=l.style,e!=null){for(var a in e)!e.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?l.setProperty(a,""):a==="float"?l.cssFloat="":l[a]="");for(var n in t)a=t[n],t.hasOwnProperty(n)&&e[n]!==a&&fs(l,n,a)}else for(var u in t)t.hasOwnProperty(u)&&fs(l,u,t[u])}function zi(l){if(l.indexOf("-")===-1)return!1;switch(l){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 Nm=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"]]),Mm=/^[\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 wn(l){return Mm.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}function qt(){}var Ei=null;function Ti(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var ua=null,ia=null;function os(l){var t=la(l);if(t&&(l=t.stateNode)){var e=l[kl]||null;l:switch(l=t.stateNode,t.type){case"input":if(_i(l,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name),t=e.name,e.type==="radio"&&t!=null){for(e=l;e.parentNode;)e=e.parentNode;for(e=e.querySelectorAll('input[name="'+vt(""+t)+'"][type="radio"]'),t=0;t<e.length;t++){var a=e[t];if(a!==l&&a.form===l.form){var n=a[kl]||null;if(!n)throw Error(o(90));_i(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<e.length;t++)a=e[t],a.form===l.form&&ns(a)}break l;case"textarea":is(l,e.value,e.defaultValue);break l;case"select":t=e.value,t!=null&&aa(l,!!e.multiple,t,!1)}}}var Ai=!1;function rs(l,t,e){if(Ai)return l(t,e);Ai=!0;try{var a=l(t);return a}finally{if(Ai=!1,(ua!==null||ia!==null)&&(Cu(),ua&&(t=ua,l=ia,ia=ua=null,os(t),l)))for(t=0;t<l.length;t++)os(l[t])}}function La(l,t){var e=l.stateNode;if(e===null)return null;var a=e[kl]||null;if(a===null)return null;e=a[t];l:switch(t){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)||(l=l.type,a=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!a;break l;default:l=!1}if(l)return null;if(e&&typeof e!="function")throw Error(o(231,t,typeof e));return e}var Yt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ji=!1;if(Yt)try{var Va={};Object.defineProperty(Va,"passive",{get:function(){ji=!0}}),window.addEventListener("test",Va,Va),window.removeEventListener("test",Va,Va)}catch{ji=!1}var ae=null,Ni=null,$n=null;function ds(){if($n)return $n;var l,t=Ni,e=t.length,a,n="value"in ae?ae.value:ae.textContent,u=n.length;for(l=0;l<e&&t[l]===n[l];l++);var i=e-l;for(a=1;a<=i&&t[e-a]===n[u-a];a++);return $n=n.slice(l,1<a?1-a:void 0)}function Wn(l){var t=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&t===13&&(l=13)):l=t,l===10&&(l=13),32<=l||l===13?l:0}function kn(){return!0}function ms(){return!1}function Fl(l){function t(e,a,n,u,i){this._reactName=e,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=i,this.currentTarget=null;for(var c in l)l.hasOwnProperty(c)&&(e=l[c],this[c]=e?e(u):u[c]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?kn:ms,this.isPropagationStopped=ms,this}return O(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!="unknown"&&(e.returnValue=!1),this.isDefaultPrevented=kn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=kn)},persist:function(){},isPersistent:kn}),t}var Ce={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Fn=Fl(Ce),Ka=O({},Ce,{view:0,detail:0}),Om=Fl(Ka),Mi,Oi,Ja,In=O({},Ka,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ui,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==Ja&&(Ja&&l.type==="mousemove"?(Mi=l.screenX-Ja.screenX,Oi=l.screenY-Ja.screenY):Oi=Mi=0,Ja=l),Mi)},movementY:function(l){return"movementY"in l?l.movementY:Oi}}),hs=Fl(In),Dm=O({},In,{dataTransfer:0}),Um=Fl(Dm),Rm=O({},Ka,{relatedTarget:0}),Di=Fl(Rm),Cm=O({},Ce,{animationName:0,elapsedTime:0,pseudoElement:0}),Hm=Fl(Cm),Bm=O({},Ce,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),qm=Fl(Bm),Ym=O({},Ce,{data:0}),vs=Fl(Ym),Gm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xm={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"},Qm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Zm(l){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(l):(l=Qm[l])?!!t[l]:!1}function Ui(){return Zm}var Lm=O({},Ka,{key:function(l){if(l.key){var t=Gm[l.key]||l.key;if(t!=="Unidentified")return t}return l.type==="keypress"?(l=Wn(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?Xm[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ui,charCode:function(l){return l.type==="keypress"?Wn(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?Wn(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),Vm=Fl(Lm),Km=O({},In,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ys=Fl(Km),Jm=O({},Ka,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ui}),wm=Fl(Jm),$m=O({},Ce,{propertyName:0,elapsedTime:0,pseudoElement:0}),Wm=Fl($m),km=O({},In,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),Fm=Fl(km),Im=O({},Ce,{newState:0,oldState:0}),Pm=Fl(Im),lh=[9,13,27,32],Ri=Yt&&"CompositionEvent"in window,wa=null;Yt&&"documentMode"in document&&(wa=document.documentMode);var th=Yt&&"TextEvent"in window&&!wa,gs=Yt&&(!Ri||wa&&8<wa&&11>=wa),Ss=" ",bs=!1;function ps(l,t){switch(l){case"keyup":return lh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _s(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var ca=!1;function eh(l,t){switch(l){case"compositionend":return _s(t);case"keypress":return t.which!==32?null:(bs=!0,Ss);case"textInput":return l=t.data,l===Ss&&bs?null:l;default:return null}}function ah(l,t){if(ca)return l==="compositionend"||!Ri&&ps(l,t)?(l=ds(),$n=Ni=ae=null,ca=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return gs&&t.locale!=="ko"?null:t.data;default:return null}}var nh={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 xs(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t==="input"?!!nh[l.type]:t==="textarea"}function zs(l,t,e,a){ua?ia?ia.push(a):ia=[a]:ua=a,t=Qu(t,"onChange"),0<t.length&&(e=new Fn("onChange","change",null,e,a),l.push({event:e,listeners:t}))}var $a=null,Wa=null;function uh(l){id(l,0)}function Pn(l){var t=Za(l);if(ns(t))return l}function Es(l,t){if(l==="change")return t}var Ts=!1;if(Yt){var Ci;if(Yt){var Hi="oninput"in document;if(!Hi){var As=document.createElement("div");As.setAttribute("oninput","return;"),Hi=typeof As.oninput=="function"}Ci=Hi}else Ci=!1;Ts=Ci&&(!document.documentMode||9<document.documentMode)}function js(){$a&&($a.detachEvent("onpropertychange",Ns),Wa=$a=null)}function Ns(l){if(l.propertyName==="value"&&Pn(Wa)){var t=[];zs(t,Wa,l,Ti(l)),rs(uh,t)}}function ih(l,t,e){l==="focusin"?(js(),$a=t,Wa=e,$a.attachEvent("onpropertychange",Ns)):l==="focusout"&&js()}function ch(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Pn(Wa)}function fh(l,t){if(l==="click")return Pn(t)}function sh(l,t){if(l==="input"||l==="change")return Pn(t)}function oh(l,t){return l===t&&(l!==0||1/l===1/t)||l!==l&&t!==t}var it=typeof Object.is=="function"?Object.is:oh;function ka(l,t){if(it(l,t))return!0;if(typeof l!="object"||l===null||typeof t!="object"||t===null)return!1;var e=Object.keys(l),a=Object.keys(t);if(e.length!==a.length)return!1;for(a=0;a<e.length;a++){var n=e[a];if(!di.call(t,n)||!it(l[n],t[n]))return!1}return!0}function Ms(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function Os(l,t){var e=Ms(l);l=0;for(var a;e;){if(e.nodeType===3){if(a=l+e.textContent.length,l<=t&&a>=t)return{node:e,offset:t-l};l=a}l:{for(;e;){if(e.nextSibling){e=e.nextSibling;break l}e=e.parentNode}e=void 0}e=Ms(e)}}function Ds(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?Ds(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}function Us(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=Jn(l.document);t instanceof l.HTMLIFrameElement;){try{var e=typeof t.contentWindow.location.href=="string"}catch{e=!1}if(e)l=t.contentWindow;else break;t=Jn(l.document)}return t}function Bi(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t&&(t==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||t==="textarea"||l.contentEditable==="true")}var rh=Yt&&"documentMode"in document&&11>=document.documentMode,fa=null,qi=null,Fa=null,Yi=!1;function Rs(l,t,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;Yi||fa==null||fa!==Jn(a)||(a=fa,"selectionStart"in a&&Bi(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}),Fa&&ka(Fa,a)||(Fa=a,a=Qu(qi,"onSelect"),0<a.length&&(t=new Fn("onSelect","select",null,t,e),l.push({event:t,listeners:a}),t.target=fa)))}function He(l,t){var e={};return e[l.toLowerCase()]=t.toLowerCase(),e["Webkit"+l]="webkit"+t,e["Moz"+l]="moz"+t,e}var sa={animationend:He("Animation","AnimationEnd"),animationiteration:He("Animation","AnimationIteration"),animationstart:He("Animation","AnimationStart"),transitionrun:He("Transition","TransitionRun"),transitionstart:He("Transition","TransitionStart"),transitioncancel:He("Transition","TransitionCancel"),transitionend:He("Transition","TransitionEnd")},Gi={},Cs={};Yt&&(Cs=document.createElement("div").style,"AnimationEvent"in window||(delete sa.animationend.animation,delete sa.animationiteration.animation,delete sa.animationstart.animation),"TransitionEvent"in window||delete sa.transitionend.transition);function Be(l){if(Gi[l])return Gi[l];if(!sa[l])return l;var t=sa[l],e;for(e in t)if(t.hasOwnProperty(e)&&e in Cs)return Gi[l]=t[e];return l}var Hs=Be("animationend"),Bs=Be("animationiteration"),qs=Be("animationstart"),dh=Be("transitionrun"),mh=Be("transitionstart"),hh=Be("transitioncancel"),Ys=Be("transitionend"),Gs=new Map,Xi="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(" ");Xi.push("scrollEnd");function Tt(l,t){Gs.set(l,t),Re(t,[l])}var lu=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)},yt=[],oa=0,Qi=0;function tu(){for(var l=oa,t=Qi=oa=0;t<l;){var e=yt[t];yt[t++]=null;var a=yt[t];yt[t++]=null;var n=yt[t];yt[t++]=null;var u=yt[t];if(yt[t++]=null,a!==null&&n!==null){var i=a.pending;i===null?n.next=n:(n.next=i.next,i.next=n),a.pending=n}u!==0&&Xs(e,n,u)}}function eu(l,t,e,a){yt[oa++]=l,yt[oa++]=t,yt[oa++]=e,yt[oa++]=a,Qi|=a,l.lanes|=a,l=l.alternate,l!==null&&(l.lanes|=a)}function Zi(l,t,e,a){return eu(l,t,e,a),au(l)}function qe(l,t){return eu(l,null,null,t),au(l)}function Xs(l,t,e){l.lanes|=e;var a=l.alternate;a!==null&&(a.lanes|=e);for(var n=!1,u=l.return;u!==null;)u.childLanes|=e,a=u.alternate,a!==null&&(a.childLanes|=e),u.tag===22&&(l=u.stateNode,l===null||l._visibility&1||(n=!0)),l=u,u=u.return;return l.tag===3?(u=l.stateNode,n&&t!==null&&(n=31-ut(e),l=u.hiddenUpdates,a=l[n],a===null?l[n]=[t]:a.push(t),t.lane=e|536870912),u):null}function au(l){if(50<pn)throw pn=0,Fc=null,Error(o(185));for(var t=l.return;t!==null;)l=t,t=l.return;return l.tag===3?l.stateNode:null}var ra={};function vh(l,t,e,a){this.tag=l,this.key=e,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ct(l,t,e,a){return new vh(l,t,e,a)}function Li(l){return l=l.prototype,!(!l||!l.isReactComponent)}function Gt(l,t){var e=l.alternate;return e===null?(e=ct(l.tag,t,l.key,l.mode),e.elementType=l.elementType,e.type=l.type,e.stateNode=l.stateNode,e.alternate=l,l.alternate=e):(e.pendingProps=t,e.type=l.type,e.flags=0,e.subtreeFlags=0,e.deletions=null),e.flags=l.flags&65011712,e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},e.sibling=l.sibling,e.index=l.index,e.ref=l.ref,e.refCleanup=l.refCleanup,e}function Qs(l,t){l.flags&=65011714;var e=l.alternate;return e===null?(l.childLanes=0,l.lanes=t,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,l.type=e.type,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),l}function nu(l,t,e,a,n,u){var i=0;if(a=l,typeof l=="function")Li(l)&&(i=1);else if(typeof l=="string")i=pv(l,e,B.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case gl:return l=ct(31,e,t,n),l.elementType=gl,l.lanes=u,l;case pl:return Ye(e.children,n,u,t);case Tl:i=8,n|=24;break;case Hl:return l=ct(12,e,t,n|2),l.elementType=Hl,l.lanes=u,l;case Al:return l=ct(13,e,t,n),l.elementType=Al,l.lanes=u,l;case jl:return l=ct(19,e,t,n),l.elementType=jl,l.lanes=u,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case _l:i=10;break l;case Kl:i=9;break l;case xl:i=11;break l;case W:i=14;break l;case k:i=16,a=null;break l}i=29,e=Error(o(130,l===null?"null":typeof l,"")),a=null}return t=ct(i,e,t,n),t.elementType=l,t.type=a,t.lanes=u,t}function Ye(l,t,e,a){return l=ct(7,l,a,t),l.lanes=e,l}function Vi(l,t,e){return l=ct(6,l,null,t),l.lanes=e,l}function Zs(l){var t=ct(18,null,null,0);return t.stateNode=l,t}function Ki(l,t,e){return t=ct(4,l.children!==null?l.children:[],l.key,t),t.lanes=e,t.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},t}var Ls=new WeakMap;function gt(l,t){if(typeof l=="object"&&l!==null){var e=Ls.get(l);return e!==void 0?e:(t={value:l,source:t,stack:Zf(t)},Ls.set(l,t),t)}return{value:l,source:t,stack:Zf(t)}}var da=[],ma=0,uu=null,Ia=0,St=[],bt=0,ne=null,Mt=1,Ot="";function Xt(l,t){da[ma++]=Ia,da[ma++]=uu,uu=l,Ia=t}function Vs(l,t,e){St[bt++]=Mt,St[bt++]=Ot,St[bt++]=ne,ne=l;var a=Mt;l=Ot;var n=32-ut(a)-1;a&=~(1<<n),e+=1;var u=32-ut(t)+n;if(30<u){var i=n-n%5;u=(a&(1<<i)-1).toString(32),a>>=i,n-=i,Mt=1<<32-ut(t)+n|e<<n|a,Ot=u+l}else Mt=1<<u|e<<n|a,Ot=l}function Ji(l){l.return!==null&&(Xt(l,1),Vs(l,1,0))}function wi(l){for(;l===uu;)uu=da[--ma],da[ma]=null,Ia=da[--ma],da[ma]=null;for(;l===ne;)ne=St[--bt],St[bt]=null,Ot=St[--bt],St[bt]=null,Mt=St[--bt],St[bt]=null}function Ks(l,t){St[bt++]=Mt,St[bt++]=Ot,St[bt++]=ne,Mt=t.id,Ot=t.overflow,ne=l}var Xl=null,vl=null,el=!1,ue=null,pt=!1,$i=Error(o(519));function ie(l){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Pa(gt(t,l)),$i}function Js(l){var t=l.stateNode,e=l.type,a=l.memoizedProps;switch(t[Gl]=l,t[kl]=a,e){case"dialog":P("cancel",t),P("close",t);break;case"iframe":case"object":case"embed":P("load",t);break;case"video":case"audio":for(e=0;e<xn.length;e++)P(xn[e],t);break;case"source":P("error",t);break;case"img":case"image":case"link":P("error",t),P("load",t);break;case"details":P("toggle",t);break;case"input":P("invalid",t),us(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":P("invalid",t);break;case"textarea":P("invalid",t),cs(t,a.value,a.defaultValue,a.children)}e=a.children,typeof e!="string"&&typeof e!="number"&&typeof e!="bigint"||t.textContent===""+e||a.suppressHydrationWarning===!0||od(t.textContent,e)?(a.popover!=null&&(P("beforetoggle",t),P("toggle",t)),a.onScroll!=null&&P("scroll",t),a.onScrollEnd!=null&&P("scrollend",t),a.onClick!=null&&(t.onclick=qt),t=!0):t=!1,t||ie(l,!0)}function ws(l){for(Xl=l.return;Xl;)switch(Xl.tag){case 5:case 31:case 13:pt=!1;return;case 27:case 3:pt=!0;return;default:Xl=Xl.return}}function ha(l){if(l!==Xl)return!1;if(!el)return ws(l),el=!0,!1;var t=l.tag,e;if((e=t!==3&&t!==27)&&((e=t===5)&&(e=l.type,e=!(e!=="form"&&e!=="button")||mf(l.type,l.memoizedProps)),e=!e),e&&vl&&ie(l),ws(l),t===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(o(317));vl=bd(l)}else if(t===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(o(317));vl=bd(l)}else t===27?(t=vl,pe(l.type)?(l=Sf,Sf=null,vl=l):vl=t):vl=Xl?xt(l.stateNode.nextSibling):null;return!0}function Ge(){vl=Xl=null,el=!1}function Wi(){var l=ue;return l!==null&&(tt===null?tt=l:tt.push.apply(tt,l),ue=null),l}function Pa(l){ue===null?ue=[l]:ue.push(l)}var ki=v(null),Xe=null,Qt=null;function ce(l,t,e){C(ki,t._currentValue),t._currentValue=e}function Zt(l){l._currentValue=ki.current,A(ki)}function Fi(l,t,e){for(;l!==null;){var a=l.alternate;if((l.childLanes&t)!==t?(l.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),l===e)break;l=l.return}}function Ii(l,t,e,a){var n=l.child;for(n!==null&&(n.return=l);n!==null;){var u=n.dependencies;if(u!==null){var i=n.child;u=u.firstContext;l:for(;u!==null;){var c=u;u=n;for(var r=0;r<t.length;r++)if(c.context===t[r]){u.lanes|=e,c=u.alternate,c!==null&&(c.lanes|=e),Fi(u.return,e,l),a||(i=null);break l}u=c.next}}else if(n.tag===18){if(i=n.return,i===null)throw Error(o(341));i.lanes|=e,u=i.alternate,u!==null&&(u.lanes|=e),Fi(i,e,l),i=null}else i=n.child;if(i!==null)i.return=n;else for(i=n;i!==null;){if(i===l){i=null;break}if(n=i.sibling,n!==null){n.return=i.return,i=n;break}i=i.return}n=i}}function va(l,t,e,a){l=null;for(var n=t,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 i=n.alternate;if(i===null)throw Error(o(387));if(i=i.memoizedProps,i!==null){var c=n.type;it(n.pendingProps.value,i.value)||(l!==null?l.push(c):l=[c])}}else if(n===il.current){if(i=n.alternate,i===null)throw Error(o(387));i.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(l!==null?l.push(jn):l=[jn])}n=n.return}l!==null&&Ii(t,l,e,a),t.flags|=262144}function iu(l){for(l=l.firstContext;l!==null;){if(!it(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function Qe(l){Xe=l,Qt=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function Ql(l){return $s(Xe,l)}function cu(l,t){return Xe===null&&Qe(l),$s(l,t)}function $s(l,t){var e=t._currentValue;if(t={context:t,memoizedValue:e,next:null},Qt===null){if(l===null)throw Error(o(308));Qt=t,l.dependencies={lanes:0,firstContext:t},l.flags|=524288}else Qt=Qt.next=t;return e}var yh=typeof AbortController<"u"?AbortController:function(){var l=[],t=this.signal={aborted:!1,addEventListener:function(e,a){l.push(a)}};this.abort=function(){t.aborted=!0,l.forEach(function(e){return e()})}},gh=f.unstable_scheduleCallback,Sh=f.unstable_NormalPriority,Dl={$$typeof:_l,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Pi(){return{controller:new yh,data:new Map,refCount:0}}function ln(l){l.refCount--,l.refCount===0&&gh(Sh,function(){l.controller.abort()})}var tn=null,lc=0,ya=0,ga=null;function bh(l,t){if(tn===null){var e=tn=[];lc=0,ya=af(),ga={status:"pending",value:void 0,then:function(a){e.push(a)}}}return lc++,t.then(Ws,Ws),t}function Ws(){if(--lc===0&&tn!==null){ga!==null&&(ga.status="fulfilled");var l=tn;tn=null,ya=0,ga=null;for(var t=0;t<l.length;t++)(0,l[t])()}}function ph(l,t){var e=[],a={status:"pending",value:null,reason:null,then:function(n){e.push(n)}};return l.then(function(){a.status="fulfilled",a.value=t;for(var n=0;n<e.length;n++)(0,e[n])(t)},function(n){for(a.status="rejected",a.reason=n,n=0;n<e.length;n++)(0,e[n])(void 0)}),a}var ks=z.S;z.S=function(l,t){Cr=at(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&bh(l,t),ks!==null&&ks(l,t)};var Ze=v(null);function tc(){var l=Ze.current;return l!==null?l:hl.pooledCache}function fu(l,t){t===null?C(Ze,Ze.current):C(Ze,t.pool)}function Fs(){var l=tc();return l===null?null:{parent:Dl._currentValue,pool:l}}var Sa=Error(o(460)),ec=Error(o(474)),su=Error(o(542)),ou={then:function(){}};function Is(l){return l=l.status,l==="fulfilled"||l==="rejected"}function Ps(l,t,e){switch(e=l[e],e===void 0?l.push(t):e!==t&&(t.then(qt,qt),t=e),t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,to(l),l;default:if(typeof t.status=="string")t.then(qt,qt);else{if(l=hl,l!==null&&100<l.shellSuspendCounter)throw Error(o(482));l=t,l.status="pending",l.then(function(a){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=a}},function(a){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,to(l),l}throw Ve=t,Sa}}function Le(l){try{var t=l._init;return t(l._payload)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(Ve=e,Sa):e}}var Ve=null;function lo(){if(Ve===null)throw Error(o(459));var l=Ve;return Ve=null,l}function to(l){if(l===Sa||l===su)throw Error(o(483))}var ba=null,en=0;function ru(l){var t=en;return en+=1,ba===null&&(ba=[]),Ps(ba,l,t)}function an(l,t){t=t.props.ref,l.ref=t!==void 0?t:null}function du(l,t){throw t.$$typeof===Y?Error(o(525)):(l=Object.prototype.toString.call(t),Error(o(31,l==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":l)))}function eo(l){function t(y,h){if(l){var g=y.deletions;g===null?(y.deletions=[h],y.flags|=16):g.push(h)}}function e(y,h){if(!l)return null;for(;h!==null;)t(y,h),h=h.sibling;return null}function a(y){for(var h=new Map;y!==null;)y.key!==null?h.set(y.key,y):h.set(y.index,y),y=y.sibling;return h}function n(y,h){return y=Gt(y,h),y.index=0,y.sibling=null,y}function u(y,h,g){return y.index=g,l?(g=y.alternate,g!==null?(g=g.index,g<h?(y.flags|=67108866,h):g):(y.flags|=67108866,h)):(y.flags|=1048576,h)}function i(y){return l&&y.alternate===null&&(y.flags|=67108866),y}function c(y,h,g,E){return h===null||h.tag!==6?(h=Vi(g,y.mode,E),h.return=y,h):(h=n(h,g),h.return=y,h)}function r(y,h,g,E){var X=g.type;return X===pl?x(y,h,g.props.children,E,g.key):h!==null&&(h.elementType===X||typeof X=="object"&&X!==null&&X.$$typeof===k&&Le(X)===h.type)?(h=n(h,g.props),an(h,g),h.return=y,h):(h=nu(g.type,g.key,g.props,null,y.mode,E),an(h,g),h.return=y,h)}function S(y,h,g,E){return h===null||h.tag!==4||h.stateNode.containerInfo!==g.containerInfo||h.stateNode.implementation!==g.implementation?(h=Ki(g,y.mode,E),h.return=y,h):(h=n(h,g.children||[]),h.return=y,h)}function x(y,h,g,E,X){return h===null||h.tag!==7?(h=Ye(g,y.mode,E,X),h.return=y,h):(h=n(h,g),h.return=y,h)}function T(y,h,g){if(typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint")return h=Vi(""+h,y.mode,g),h.return=y,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case V:return g=nu(h.type,h.key,h.props,null,y.mode,g),an(g,h),g.return=y,g;case Q:return h=Ki(h,y.mode,g),h.return=y,h;case k:return h=Le(h),T(y,h,g)}if(Et(h)||Wl(h))return h=Ye(h,y.mode,g,null),h.return=y,h;if(typeof h.then=="function")return T(y,ru(h),g);if(h.$$typeof===_l)return T(y,cu(y,h),g);du(y,h)}return null}function b(y,h,g,E){var X=h!==null?h.key:null;if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return X!==null?null:c(y,h,""+g,E);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case V:return g.key===X?r(y,h,g,E):null;case Q:return g.key===X?S(y,h,g,E):null;case k:return g=Le(g),b(y,h,g,E)}if(Et(g)||Wl(g))return X!==null?null:x(y,h,g,E,null);if(typeof g.then=="function")return b(y,h,ru(g),E);if(g.$$typeof===_l)return b(y,h,cu(y,g),E);du(y,g)}return null}function p(y,h,g,E,X){if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return y=y.get(g)||null,c(h,y,""+E,X);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case V:return y=y.get(E.key===null?g:E.key)||null,r(h,y,E,X);case Q:return y=y.get(E.key===null?g:E.key)||null,S(h,y,E,X);case k:return E=Le(E),p(y,h,g,E,X)}if(Et(E)||Wl(E))return y=y.get(g)||null,x(h,y,E,X,null);if(typeof E.then=="function")return p(y,h,g,ru(E),X);if(E.$$typeof===_l)return p(y,h,g,cu(h,E),X);du(h,E)}return null}function H(y,h,g,E){for(var X=null,al=null,q=h,$=h=0,tl=null;q!==null&&$<g.length;$++){q.index>$?(tl=q,q=null):tl=q.sibling;var nl=b(y,q,g[$],E);if(nl===null){q===null&&(q=tl);break}l&&q&&nl.alternate===null&&t(y,q),h=u(nl,h,$),al===null?X=nl:al.sibling=nl,al=nl,q=tl}if($===g.length)return e(y,q),el&&Xt(y,$),X;if(q===null){for(;$<g.length;$++)q=T(y,g[$],E),q!==null&&(h=u(q,h,$),al===null?X=q:al.sibling=q,al=q);return el&&Xt(y,$),X}for(q=a(q);$<g.length;$++)tl=p(q,y,$,g[$],E),tl!==null&&(l&&tl.alternate!==null&&q.delete(tl.key===null?$:tl.key),h=u(tl,h,$),al===null?X=tl:al.sibling=tl,al=tl);return l&&q.forEach(function(Te){return t(y,Te)}),el&&Xt(y,$),X}function Z(y,h,g,E){if(g==null)throw Error(o(151));for(var X=null,al=null,q=h,$=h=0,tl=null,nl=g.next();q!==null&&!nl.done;$++,nl=g.next()){q.index>$?(tl=q,q=null):tl=q.sibling;var Te=b(y,q,nl.value,E);if(Te===null){q===null&&(q=tl);break}l&&q&&Te.alternate===null&&t(y,q),h=u(Te,h,$),al===null?X=Te:al.sibling=Te,al=Te,q=tl}if(nl.done)return e(y,q),el&&Xt(y,$),X;if(q===null){for(;!nl.done;$++,nl=g.next())nl=T(y,nl.value,E),nl!==null&&(h=u(nl,h,$),al===null?X=nl:al.sibling=nl,al=nl);return el&&Xt(y,$),X}for(q=a(q);!nl.done;$++,nl=g.next())nl=p(q,y,$,nl.value,E),nl!==null&&(l&&nl.alternate!==null&&q.delete(nl.key===null?$:nl.key),h=u(nl,h,$),al===null?X=nl:al.sibling=nl,al=nl);return l&&q.forEach(function(Dv){return t(y,Dv)}),el&&Xt(y,$),X}function dl(y,h,g,E){if(typeof g=="object"&&g!==null&&g.type===pl&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case V:l:{for(var X=g.key;h!==null;){if(h.key===X){if(X=g.type,X===pl){if(h.tag===7){e(y,h.sibling),E=n(h,g.props.children),E.return=y,y=E;break l}}else if(h.elementType===X||typeof X=="object"&&X!==null&&X.$$typeof===k&&Le(X)===h.type){e(y,h.sibling),E=n(h,g.props),an(E,g),E.return=y,y=E;break l}e(y,h);break}else t(y,h);h=h.sibling}g.type===pl?(E=Ye(g.props.children,y.mode,E,g.key),E.return=y,y=E):(E=nu(g.type,g.key,g.props,null,y.mode,E),an(E,g),E.return=y,y=E)}return i(y);case Q:l:{for(X=g.key;h!==null;){if(h.key===X)if(h.tag===4&&h.stateNode.containerInfo===g.containerInfo&&h.stateNode.implementation===g.implementation){e(y,h.sibling),E=n(h,g.children||[]),E.return=y,y=E;break l}else{e(y,h);break}else t(y,h);h=h.sibling}E=Ki(g,y.mode,E),E.return=y,y=E}return i(y);case k:return g=Le(g),dl(y,h,g,E)}if(Et(g))return H(y,h,g,E);if(Wl(g)){if(X=Wl(g),typeof X!="function")throw Error(o(150));return g=X.call(g),Z(y,h,g,E)}if(typeof g.then=="function")return dl(y,h,ru(g),E);if(g.$$typeof===_l)return dl(y,h,cu(y,g),E);du(y,g)}return typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint"?(g=""+g,h!==null&&h.tag===6?(e(y,h.sibling),E=n(h,g),E.return=y,y=E):(e(y,h),E=Vi(g,y.mode,E),E.return=y,y=E),i(y)):e(y,h)}return function(y,h,g,E){try{en=0;var X=dl(y,h,g,E);return ba=null,X}catch(q){if(q===Sa||q===su)throw q;var al=ct(29,q,null,y.mode);return al.lanes=E,al.return=y,al}finally{}}}var Ke=eo(!0),ao=eo(!1),fe=!1;function ac(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function nc(l,t){l=l.updateQueue,t.updateQueue===l&&(t.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function se(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function oe(l,t,e){var a=l.updateQueue;if(a===null)return null;if(a=a.shared,(ul&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=au(l),Xs(l,null,e),t}return eu(l,a,t,e),au(l)}function nn(l,t,e){if(t=t.updateQueue,t!==null&&(t=t.shared,(e&4194048)!==0)){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,$f(l,e)}}function uc(l,t){var e=l.updateQueue,a=l.alternate;if(a!==null&&(a=a.updateQueue,e===a)){var n=null,u=null;if(e=e.firstBaseUpdate,e!==null){do{var i={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};u===null?n=u=i:u=u.next=i,e=e.next}while(e!==null);u===null?n=u=t:u=u.next=t}else n=u=t;e={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},l.updateQueue=e;return}l=e.lastBaseUpdate,l===null?e.firstBaseUpdate=t:l.next=t,e.lastBaseUpdate=t}var ic=!1;function un(){if(ic){var l=ga;if(l!==null)throw l}}function cn(l,t,e,a){ic=!1;var n=l.updateQueue;fe=!1;var u=n.firstBaseUpdate,i=n.lastBaseUpdate,c=n.shared.pending;if(c!==null){n.shared.pending=null;var r=c,S=r.next;r.next=null,i===null?u=S:i.next=S,i=r;var x=l.alternate;x!==null&&(x=x.updateQueue,c=x.lastBaseUpdate,c!==i&&(c===null?x.firstBaseUpdate=S:c.next=S,x.lastBaseUpdate=r))}if(u!==null){var T=n.baseState;i=0,x=S=r=null,c=u;do{var b=c.lane&-536870913,p=b!==c.lane;if(p?(ll&b)===b:(a&b)===b){b!==0&&b===ya&&(ic=!0),x!==null&&(x=x.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});l:{var H=l,Z=c;b=t;var dl=e;switch(Z.tag){case 1:if(H=Z.payload,typeof H=="function"){T=H.call(dl,T,b);break l}T=H;break l;case 3:H.flags=H.flags&-65537|128;case 0:if(H=Z.payload,b=typeof H=="function"?H.call(dl,T,b):H,b==null)break l;T=O({},T,b);break l;case 2:fe=!0}}b=c.callback,b!==null&&(l.flags|=64,p&&(l.flags|=8192),p=n.callbacks,p===null?n.callbacks=[b]:p.push(b))}else p={lane:b,tag:c.tag,payload:c.payload,callback:c.callback,next:null},x===null?(S=x=p,r=T):x=x.next=p,i|=b;if(c=c.next,c===null){if(c=n.shared.pending,c===null)break;p=c,c=p.next,p.next=null,n.lastBaseUpdate=p,n.shared.pending=null}}while(!0);x===null&&(r=T),n.baseState=r,n.firstBaseUpdate=S,n.lastBaseUpdate=x,u===null&&(n.shared.lanes=0),ve|=i,l.lanes=i,l.memoizedState=T}}function no(l,t){if(typeof l!="function")throw Error(o(191,l));l.call(t)}function uo(l,t){var e=l.callbacks;if(e!==null)for(l.callbacks=null,l=0;l<e.length;l++)no(e[l],t)}var pa=v(null),mu=v(0);function io(l,t){l=Ft,C(mu,l),C(pa,t),Ft=l|t.baseLanes}function cc(){C(mu,Ft),C(pa,pa.current)}function fc(){Ft=mu.current,A(pa),A(mu)}var ft=v(null),_t=null;function re(l){var t=l.alternate;C(Ml,Ml.current&1),C(ft,l),_t===null&&(t===null||pa.current!==null||t.memoizedState!==null)&&(_t=l)}function sc(l){C(Ml,Ml.current),C(ft,l),_t===null&&(_t=l)}function co(l){l.tag===22?(C(Ml,Ml.current),C(ft,l),_t===null&&(_t=l)):de()}function de(){C(Ml,Ml.current),C(ft,ft.current)}function st(l){A(ft),_t===l&&(_t=null),A(Ml)}var Ml=v(0);function hu(l){for(var t=l;t!==null;){if(t.tag===13){var e=t.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||yf(e)||gf(e)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Lt=0,w=null,ol=null,Ul=null,vu=!1,_a=!1,Je=!1,yu=0,fn=0,xa=null,_h=0;function zl(){throw Error(o(321))}function oc(l,t){if(t===null)return!1;for(var e=0;e<t.length&&e<l.length;e++)if(!it(l[e],t[e]))return!1;return!0}function rc(l,t,e,a,n,u){return Lt=u,w=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,z.H=l===null||l.memoizedState===null?Ko:Ac,Je=!1,u=e(a,n),Je=!1,_a&&(u=so(t,e,a,n)),fo(l),u}function fo(l){z.H=rn;var t=ol!==null&&ol.next!==null;if(Lt=0,Ul=ol=w=null,vu=!1,fn=0,xa=null,t)throw Error(o(300));l===null||Rl||(l=l.dependencies,l!==null&&iu(l)&&(Rl=!0))}function so(l,t,e,a){w=l;var n=0;do{if(_a&&(xa=null),fn=0,_a=!1,25<=n)throw Error(o(301));if(n+=1,Ul=ol=null,l.updateQueue!=null){var u=l.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}z.H=Jo,u=t(e,a)}while(_a);return u}function xh(){var l=z.H,t=l.useState()[0];return t=typeof t.then=="function"?sn(t):t,l=l.useState()[0],(ol!==null?ol.memoizedState:null)!==l&&(w.flags|=1024),t}function dc(){var l=yu!==0;return yu=0,l}function mc(l,t,e){t.updateQueue=l.updateQueue,t.flags&=-2053,l.lanes&=~e}function hc(l){if(vu){for(l=l.memoizedState;l!==null;){var t=l.queue;t!==null&&(t.pending=null),l=l.next}vu=!1}Lt=0,Ul=ol=w=null,_a=!1,fn=yu=0,xa=null}function wl(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ul===null?w.memoizedState=Ul=l:Ul=Ul.next=l,Ul}function Ol(){if(ol===null){var l=w.alternate;l=l!==null?l.memoizedState:null}else l=ol.next;var t=Ul===null?w.memoizedState:Ul.next;if(t!==null)Ul=t,ol=l;else{if(l===null)throw w.alternate===null?Error(o(467)):Error(o(310));ol=l,l={memoizedState:ol.memoizedState,baseState:ol.baseState,baseQueue:ol.baseQueue,queue:ol.queue,next:null},Ul===null?w.memoizedState=Ul=l:Ul=Ul.next=l}return Ul}function gu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function sn(l){var t=fn;return fn+=1,xa===null&&(xa=[]),l=Ps(xa,l,t),t=w,(Ul===null?t.memoizedState:Ul.next)===null&&(t=t.alternate,z.H=t===null||t.memoizedState===null?Ko:Ac),l}function Su(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return sn(l);if(l.$$typeof===_l)return Ql(l)}throw Error(o(438,String(l)))}function vc(l){var t=null,e=w.updateQueue;if(e!==null&&(t=e.memoCache),t==null){var a=w.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),e===null&&(e=gu(),w.updateQueue=e),e.memoCache=t,e=t.data[t.index],e===void 0)for(e=t.data[t.index]=Array(l),a=0;a<l;a++)e[a]=Nt;return t.index++,e}function Vt(l,t){return typeof t=="function"?t(l):t}function bu(l){var t=Ol();return yc(t,ol,l)}function yc(l,t,e){var a=l.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=e;var n=l.baseQueue,u=a.pending;if(u!==null){if(n!==null){var i=n.next;n.next=u.next,u.next=i}t.baseQueue=n=u,a.pending=null}if(u=l.baseState,n===null)l.memoizedState=u;else{t=n.next;var c=i=null,r=null,S=t,x=!1;do{var T=S.lane&-536870913;if(T!==S.lane?(ll&T)===T:(Lt&T)===T){var b=S.revertLane;if(b===0)r!==null&&(r=r.next={lane:0,revertLane:0,gesture:null,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null}),T===ya&&(x=!0);else if((Lt&b)===b){S=S.next,b===ya&&(x=!0);continue}else T={lane:0,revertLane:S.revertLane,gesture:null,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null},r===null?(c=r=T,i=u):r=r.next=T,w.lanes|=b,ve|=b;T=S.action,Je&&e(u,T),u=S.hasEagerState?S.eagerState:e(u,T)}else b={lane:T,revertLane:S.revertLane,gesture:S.gesture,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null},r===null?(c=r=b,i=u):r=r.next=b,w.lanes|=T,ve|=T;S=S.next}while(S!==null&&S!==t);if(r===null?i=u:r.next=c,!it(u,l.memoizedState)&&(Rl=!0,x&&(e=ga,e!==null)))throw e;l.memoizedState=u,l.baseState=i,l.baseQueue=r,a.lastRenderedState=u}return n===null&&(a.lanes=0),[l.memoizedState,a.dispatch]}function gc(l){var t=Ol(),e=t.queue;if(e===null)throw Error(o(311));e.lastRenderedReducer=l;var a=e.dispatch,n=e.pending,u=t.memoizedState;if(n!==null){e.pending=null;var i=n=n.next;do u=l(u,i.action),i=i.next;while(i!==n);it(u,t.memoizedState)||(Rl=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),e.lastRenderedState=u}return[u,a]}function oo(l,t,e){var a=w,n=Ol(),u=el;if(u){if(e===void 0)throw Error(o(407));e=e()}else e=t();var i=!it((ol||n).memoizedState,e);if(i&&(n.memoizedState=e,Rl=!0),n=n.queue,pc(ho.bind(null,a,n,l),[l]),n.getSnapshot!==t||i||Ul!==null&&Ul.memoizedState.tag&1){if(a.flags|=2048,za(9,{destroy:void 0},mo.bind(null,a,n,e,t),null),hl===null)throw Error(o(349));u||(Lt&127)!==0||ro(a,t,e)}return e}function ro(l,t,e){l.flags|=16384,l={getSnapshot:t,value:e},t=w.updateQueue,t===null?(t=gu(),w.updateQueue=t,t.stores=[l]):(e=t.stores,e===null?t.stores=[l]:e.push(l))}function mo(l,t,e,a){t.value=e,t.getSnapshot=a,vo(t)&&yo(l)}function ho(l,t,e){return e(function(){vo(t)&&yo(l)})}function vo(l){var t=l.getSnapshot;l=l.value;try{var e=t();return!it(l,e)}catch{return!0}}function yo(l){var t=qe(l,2);t!==null&&et(t,l,2)}function Sc(l){var t=wl();if(typeof l=="function"){var e=l;if(l=e(),Je){te(!0);try{e()}finally{te(!1)}}}return t.memoizedState=t.baseState=l,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vt,lastRenderedState:l},t}function go(l,t,e,a){return l.baseState=e,yc(l,ol,typeof a=="function"?a:Vt)}function zh(l,t,e,a,n){if(xu(l))throw Error(o(485));if(l=t.action,l!==null){var u={payload:n,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){u.listeners.push(i)}};z.T!==null?e(!0):u.isTransition=!1,a(u),e=t.pending,e===null?(u.next=t.pending=u,So(t,u)):(u.next=e.next,t.pending=e.next=u)}}function So(l,t){var e=t.action,a=t.payload,n=l.state;if(t.isTransition){var u=z.T,i={};z.T=i;try{var c=e(n,a),r=z.S;r!==null&&r(i,c),bo(l,t,c)}catch(S){bc(l,t,S)}finally{u!==null&&i.types!==null&&(u.types=i.types),z.T=u}}else try{u=e(n,a),bo(l,t,u)}catch(S){bc(l,t,S)}}function bo(l,t,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){po(l,t,a)},function(a){return bc(l,t,a)}):po(l,t,e)}function po(l,t,e){t.status="fulfilled",t.value=e,_o(t),l.state=e,t=l.pending,t!==null&&(e=t.next,e===t?l.pending=null:(e=e.next,t.next=e,So(l,e)))}function bc(l,t,e){var a=l.pending;if(l.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=e,_o(t),t=t.next;while(t!==a)}l.action=null}function _o(l){l=l.listeners;for(var t=0;t<l.length;t++)(0,l[t])()}function xo(l,t){return t}function zo(l,t){if(el){var e=hl.formState;if(e!==null){l:{var a=w;if(el){if(vl){t:{for(var n=vl,u=pt;n.nodeType!==8;){if(!u){n=null;break t}if(n=xt(n.nextSibling),n===null){n=null;break t}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){vl=xt(n.nextSibling),a=n.data==="F!";break l}}ie(a)}a=!1}a&&(t=e[0])}}return e=wl(),e.memoizedState=e.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xo,lastRenderedState:t},e.queue=a,e=Zo.bind(null,w,a),a.dispatch=e,a=Sc(!1),u=Tc.bind(null,w,!1,a.queue),a=wl(),n={state:t,dispatch:null,action:l,pending:null},a.queue=n,e=zh.bind(null,w,n,u,e),n.dispatch=e,a.memoizedState=l,[t,e,!1]}function Eo(l){var t=Ol();return To(t,ol,l)}function To(l,t,e){if(t=yc(l,t,xo)[0],l=bu(Vt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=sn(t)}catch(i){throw i===Sa?su:i}else a=t;t=Ol();var n=t.queue,u=n.dispatch;return e!==t.memoizedState&&(w.flags|=2048,za(9,{destroy:void 0},Eh.bind(null,n,e),null)),[a,u,l]}function Eh(l,t){l.action=t}function Ao(l){var t=Ol(),e=ol;if(e!==null)return To(t,e,l);Ol(),t=t.memoizedState,e=Ol();var a=e.queue.dispatch;return e.memoizedState=l,[t,a,!1]}function za(l,t,e,a){return l={tag:l,create:e,deps:a,inst:t,next:null},t=w.updateQueue,t===null&&(t=gu(),w.updateQueue=t),e=t.lastEffect,e===null?t.lastEffect=l.next=l:(a=e.next,e.next=l,l.next=a,t.lastEffect=l),l}function jo(){return Ol().memoizedState}function pu(l,t,e,a){var n=wl();w.flags|=l,n.memoizedState=za(1|t,{destroy:void 0},e,a===void 0?null:a)}function _u(l,t,e,a){var n=Ol();a=a===void 0?null:a;var u=n.memoizedState.inst;ol!==null&&a!==null&&oc(a,ol.memoizedState.deps)?n.memoizedState=za(t,u,e,a):(w.flags|=l,n.memoizedState=za(1|t,u,e,a))}function No(l,t){pu(8390656,8,l,t)}function pc(l,t){_u(2048,8,l,t)}function Th(l){w.flags|=4;var t=w.updateQueue;if(t===null)t=gu(),w.updateQueue=t,t.events=[l];else{var e=t.events;e===null?t.events=[l]:e.push(l)}}function Mo(l){var t=Ol().memoizedState;return Th({ref:t,nextImpl:l}),function(){if((ul&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function Oo(l,t){return _u(4,2,l,t)}function Do(l,t){return _u(4,4,l,t)}function Uo(l,t){if(typeof t=="function"){l=l();var e=t(l);return function(){typeof e=="function"?e():t(null)}}if(t!=null)return l=l(),t.current=l,function(){t.current=null}}function Ro(l,t,e){e=e!=null?e.concat([l]):null,_u(4,4,Uo.bind(null,t,l),e)}function _c(){}function Co(l,t){var e=Ol();t=t===void 0?null:t;var a=e.memoizedState;return t!==null&&oc(t,a[1])?a[0]:(e.memoizedState=[l,t],l)}function Ho(l,t){var e=Ol();t=t===void 0?null:t;var a=e.memoizedState;if(t!==null&&oc(t,a[1]))return a[0];if(a=l(),Je){te(!0);try{l()}finally{te(!1)}}return e.memoizedState=[a,t],a}function xc(l,t,e){return e===void 0||(Lt&1073741824)!==0&&(ll&261930)===0?l.memoizedState=t:(l.memoizedState=e,l=Br(),w.lanes|=l,ve|=l,e)}function Bo(l,t,e,a){return it(e,t)?e:pa.current!==null?(l=xc(l,e,a),it(l,t)||(Rl=!0),l):(Lt&42)===0||(Lt&1073741824)!==0&&(ll&261930)===0?(Rl=!0,l.memoizedState=e):(l=Br(),w.lanes|=l,ve|=l,t)}function qo(l,t,e,a,n){var u=R.p;R.p=u!==0&&8>u?u:8;var i=z.T,c={};z.T=c,Tc(l,!1,t,e);try{var r=n(),S=z.S;if(S!==null&&S(c,r),r!==null&&typeof r=="object"&&typeof r.then=="function"){var x=ph(r,a);on(l,t,x,dt(l))}else on(l,t,a,dt(l))}catch(T){on(l,t,{then:function(){},status:"rejected",reason:T},dt())}finally{R.p=u,i!==null&&c.types!==null&&(i.types=c.types),z.T=i}}function Ah(){}function zc(l,t,e,a){if(l.tag!==5)throw Error(o(476));var n=Yo(l).queue;qo(l,n,t,L,e===null?Ah:function(){return Go(l),e(a)})}function Yo(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:L,baseState:L,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vt,lastRenderedState:L},next:null};var e={};return t.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vt,lastRenderedState:e},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}function Go(l){var t=Yo(l);t.next===null&&(t=l.alternate.memoizedState),on(l,t.next.queue,{},dt())}function Ec(){return Ql(jn)}function Xo(){return Ol().memoizedState}function Qo(){return Ol().memoizedState}function jh(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var e=dt();l=se(e);var a=oe(t,l,e);a!==null&&(et(a,t,e),nn(a,t,e)),t={cache:Pi()},l.payload=t;return}t=t.return}}function Nh(l,t,e){var a=dt();e={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},xu(l)?Lo(t,e):(e=Zi(l,t,e,a),e!==null&&(et(e,l,a),Vo(e,t,a)))}function Zo(l,t,e){var a=dt();on(l,t,e,a)}function on(l,t,e,a){var n={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(xu(l))Lo(t,n);else{var u=l.alternate;if(l.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var i=t.lastRenderedState,c=u(i,e);if(n.hasEagerState=!0,n.eagerState=c,it(c,i))return eu(l,t,n,0),hl===null&&tu(),!1}catch{}finally{}if(e=Zi(l,t,n,a),e!==null)return et(e,l,a),Vo(e,t,a),!0}return!1}function Tc(l,t,e,a){if(a={lane:2,revertLane:af(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},xu(l)){if(t)throw Error(o(479))}else t=Zi(l,e,a,2),t!==null&&et(t,l,2)}function xu(l){var t=l.alternate;return l===w||t!==null&&t===w}function Lo(l,t){_a=vu=!0;var e=l.pending;e===null?t.next=t:(t.next=e.next,e.next=t),l.pending=t}function Vo(l,t,e){if((e&4194048)!==0){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,$f(l,e)}}var rn={readContext:Ql,use:Su,useCallback:zl,useContext:zl,useEffect:zl,useImperativeHandle:zl,useLayoutEffect:zl,useInsertionEffect:zl,useMemo:zl,useReducer:zl,useRef:zl,useState:zl,useDebugValue:zl,useDeferredValue:zl,useTransition:zl,useSyncExternalStore:zl,useId:zl,useHostTransitionStatus:zl,useFormState:zl,useActionState:zl,useOptimistic:zl,useMemoCache:zl,useCacheRefresh:zl};rn.useEffectEvent=zl;var Ko={readContext:Ql,use:Su,useCallback:function(l,t){return wl().memoizedState=[l,t===void 0?null:t],l},useContext:Ql,useEffect:No,useImperativeHandle:function(l,t,e){e=e!=null?e.concat([l]):null,pu(4194308,4,Uo.bind(null,t,l),e)},useLayoutEffect:function(l,t){return pu(4194308,4,l,t)},useInsertionEffect:function(l,t){pu(4,2,l,t)},useMemo:function(l,t){var e=wl();t=t===void 0?null:t;var a=l();if(Je){te(!0);try{l()}finally{te(!1)}}return e.memoizedState=[a,t],a},useReducer:function(l,t,e){var a=wl();if(e!==void 0){var n=e(t);if(Je){te(!0);try{e(t)}finally{te(!1)}}}else n=t;return a.memoizedState=a.baseState=n,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:n},a.queue=l,l=l.dispatch=Nh.bind(null,w,l),[a.memoizedState,l]},useRef:function(l){var t=wl();return l={current:l},t.memoizedState=l},useState:function(l){l=Sc(l);var t=l.queue,e=Zo.bind(null,w,t);return t.dispatch=e,[l.memoizedState,e]},useDebugValue:_c,useDeferredValue:function(l,t){var e=wl();return xc(e,l,t)},useTransition:function(){var l=Sc(!1);return l=qo.bind(null,w,l.queue,!0,!1),wl().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,t,e){var a=w,n=wl();if(el){if(e===void 0)throw Error(o(407));e=e()}else{if(e=t(),hl===null)throw Error(o(349));(ll&127)!==0||ro(a,t,e)}n.memoizedState=e;var u={value:e,getSnapshot:t};return n.queue=u,No(ho.bind(null,a,u,l),[l]),a.flags|=2048,za(9,{destroy:void 0},mo.bind(null,a,u,e,t),null),e},useId:function(){var l=wl(),t=hl.identifierPrefix;if(el){var e=Ot,a=Mt;e=(a&~(1<<32-ut(a)-1)).toString(32)+e,t="_"+t+"R_"+e,e=yu++,0<e&&(t+="H"+e.toString(32)),t+="_"}else e=_h++,t="_"+t+"r_"+e.toString(32)+"_";return l.memoizedState=t},useHostTransitionStatus:Ec,useFormState:zo,useActionState:zo,useOptimistic:function(l){var t=wl();t.memoizedState=t.baseState=l;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=e,t=Tc.bind(null,w,!0,e),e.dispatch=t,[l,t]},useMemoCache:vc,useCacheRefresh:function(){return wl().memoizedState=jh.bind(null,w)},useEffectEvent:function(l){var t=wl(),e={impl:l};return t.memoizedState=e,function(){if((ul&2)!==0)throw Error(o(440));return e.impl.apply(void 0,arguments)}}},Ac={readContext:Ql,use:Su,useCallback:Co,useContext:Ql,useEffect:pc,useImperativeHandle:Ro,useInsertionEffect:Oo,useLayoutEffect:Do,useMemo:Ho,useReducer:bu,useRef:jo,useState:function(){return bu(Vt)},useDebugValue:_c,useDeferredValue:function(l,t){var e=Ol();return Bo(e,ol.memoizedState,l,t)},useTransition:function(){var l=bu(Vt)[0],t=Ol().memoizedState;return[typeof l=="boolean"?l:sn(l),t]},useSyncExternalStore:oo,useId:Xo,useHostTransitionStatus:Ec,useFormState:Eo,useActionState:Eo,useOptimistic:function(l,t){var e=Ol();return go(e,ol,l,t)},useMemoCache:vc,useCacheRefresh:Qo};Ac.useEffectEvent=Mo;var Jo={readContext:Ql,use:Su,useCallback:Co,useContext:Ql,useEffect:pc,useImperativeHandle:Ro,useInsertionEffect:Oo,useLayoutEffect:Do,useMemo:Ho,useReducer:gc,useRef:jo,useState:function(){return gc(Vt)},useDebugValue:_c,useDeferredValue:function(l,t){var e=Ol();return ol===null?xc(e,l,t):Bo(e,ol.memoizedState,l,t)},useTransition:function(){var l=gc(Vt)[0],t=Ol().memoizedState;return[typeof l=="boolean"?l:sn(l),t]},useSyncExternalStore:oo,useId:Xo,useHostTransitionStatus:Ec,useFormState:Ao,useActionState:Ao,useOptimistic:function(l,t){var e=Ol();return ol!==null?go(e,ol,l,t):(e.baseState=l,[l,e.queue.dispatch])},useMemoCache:vc,useCacheRefresh:Qo};Jo.useEffectEvent=Mo;function jc(l,t,e,a){t=l.memoizedState,e=e(a,t),e=e==null?t:O({},t,e),l.memoizedState=e,l.lanes===0&&(l.updateQueue.baseState=e)}var Nc={enqueueSetState:function(l,t,e){l=l._reactInternals;var a=dt(),n=se(a);n.payload=t,e!=null&&(n.callback=e),t=oe(l,n,a),t!==null&&(et(t,l,a),nn(t,l,a))},enqueueReplaceState:function(l,t,e){l=l._reactInternals;var a=dt(),n=se(a);n.tag=1,n.payload=t,e!=null&&(n.callback=e),t=oe(l,n,a),t!==null&&(et(t,l,a),nn(t,l,a))},enqueueForceUpdate:function(l,t){l=l._reactInternals;var e=dt(),a=se(e);a.tag=2,t!=null&&(a.callback=t),t=oe(l,a,e),t!==null&&(et(t,l,e),nn(t,l,e))}};function wo(l,t,e,a,n,u,i){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(a,u,i):t.prototype&&t.prototype.isPureReactComponent?!ka(e,a)||!ka(n,u):!0}function $o(l,t,e,a){l=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(e,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(e,a),t.state!==l&&Nc.enqueueReplaceState(t,t.state,null)}function we(l,t){var e=t;if("ref"in t){e={};for(var a in t)a!=="ref"&&(e[a]=t[a])}if(l=l.defaultProps){e===t&&(e=O({},e));for(var n in l)e[n]===void 0&&(e[n]=l[n])}return e}function Wo(l){lu(l)}function ko(l){console.error(l)}function Fo(l){lu(l)}function zu(l,t){try{var e=l.onUncaughtError;e(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function Io(l,t,e){try{var a=l.onCaughtError;a(e.value,{componentStack:e.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Mc(l,t,e){return e=se(e),e.tag=3,e.payload={element:null},e.callback=function(){zu(l,t)},e}function Po(l){return l=se(l),l.tag=3,l}function lr(l,t,e,a){var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;l.payload=function(){return n(u)},l.callback=function(){Io(t,e,a)}}var i=e.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(l.callback=function(){Io(t,e,a),typeof n!="function"&&(ye===null?ye=new Set([this]):ye.add(this));var c=a.stack;this.componentDidCatch(a.value,{componentStack:c!==null?c:""})})}function Mh(l,t,e,a,n){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=e.alternate,t!==null&&va(t,e,n,!0),e=ft.current,e!==null){switch(e.tag){case 31:case 13:return _t===null?Hu():e.alternate===null&&El===0&&(El=3),e.flags&=-257,e.flags|=65536,e.lanes=n,a===ou?e.flags|=16384:(t=e.updateQueue,t===null?e.updateQueue=new Set([a]):t.add(a),lf(l,a,n)),!1;case 22:return e.flags|=65536,a===ou?e.flags|=16384:(t=e.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},e.updateQueue=t):(e=t.retryQueue,e===null?t.retryQueue=new Set([a]):e.add(a)),lf(l,a,n)),!1}throw Error(o(435,e.tag))}return lf(l,a,n),Hu(),!1}if(el)return t=ft.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,a!==$i&&(l=Error(o(422),{cause:a}),Pa(gt(l,e)))):(a!==$i&&(t=Error(o(423),{cause:a}),Pa(gt(t,e))),l=l.current.alternate,l.flags|=65536,n&=-n,l.lanes|=n,a=gt(a,e),n=Mc(l.stateNode,a,n),uc(l,n),El!==4&&(El=2)),!1;var u=Error(o(520),{cause:a});if(u=gt(u,e),bn===null?bn=[u]:bn.push(u),El!==4&&(El=2),t===null)return!0;a=gt(a,e),e=t;do{switch(e.tag){case 3:return e.flags|=65536,l=n&-n,e.lanes|=l,l=Mc(e.stateNode,a,l),uc(e,l),!1;case 1:if(t=e.type,u=e.stateNode,(e.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(ye===null||!ye.has(u))))return e.flags|=65536,n&=-n,e.lanes|=n,n=Po(n),lr(n,l,e,a),uc(e,n),!1}e=e.return}while(e!==null);return!1}var Oc=Error(o(461)),Rl=!1;function Zl(l,t,e,a){t.child=l===null?ao(t,null,e,a):Ke(t,l.child,e,a)}function tr(l,t,e,a,n){e=e.render;var u=t.ref;if("ref"in a){var i={};for(var c in a)c!=="ref"&&(i[c]=a[c])}else i=a;return Qe(t),a=rc(l,t,e,i,u,n),c=dc(),l!==null&&!Rl?(mc(l,t,n),Kt(l,t,n)):(el&&c&&Ji(t),t.flags|=1,Zl(l,t,a,n),t.child)}function er(l,t,e,a,n){if(l===null){var u=e.type;return typeof u=="function"&&!Li(u)&&u.defaultProps===void 0&&e.compare===null?(t.tag=15,t.type=u,ar(l,t,u,a,n)):(l=nu(e.type,null,a,t,t.mode,n),l.ref=t.ref,l.return=t,t.child=l)}if(u=l.child,!Yc(l,n)){var i=u.memoizedProps;if(e=e.compare,e=e!==null?e:ka,e(i,a)&&l.ref===t.ref)return Kt(l,t,n)}return t.flags|=1,l=Gt(u,a),l.ref=t.ref,l.return=t,t.child=l}function ar(l,t,e,a,n){if(l!==null){var u=l.memoizedProps;if(ka(u,a)&&l.ref===t.ref)if(Rl=!1,t.pendingProps=a=u,Yc(l,n))(l.flags&131072)!==0&&(Rl=!0);else return t.lanes=l.lanes,Kt(l,t,n)}return Dc(l,t,e,a,n)}function nr(l,t,e,a){var n=a.children,u=l!==null?l.memoizedState:null;if(l===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|e:e,l!==null){for(a=t.child=l.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~u}else a=0,t.child=null;return ur(l,t,u,e,a)}if((e&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},l!==null&&fu(t,u!==null?u.cachePool:null),u!==null?io(t,u):cc(),co(t);else return a=t.lanes=536870912,ur(l,t,u!==null?u.baseLanes|e:e,e,a)}else u!==null?(fu(t,u.cachePool),io(t,u),de(),t.memoizedState=null):(l!==null&&fu(t,null),cc(),de());return Zl(l,t,n,e),t.child}function dn(l,t){return l!==null&&l.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function ur(l,t,e,a,n){var u=tc();return u=u===null?null:{parent:Dl._currentValue,pool:u},t.memoizedState={baseLanes:e,cachePool:u},l!==null&&fu(t,null),cc(),co(t),l!==null&&va(l,t,a,!0),t.childLanes=n,null}function Eu(l,t){return t=Au({mode:t.mode,children:t.children},l.mode),t.ref=l.ref,l.child=t,t.return=l,t}function ir(l,t,e){return Ke(t,l.child,null,e),l=Eu(t,t.pendingProps),l.flags|=2,st(t),t.memoizedState=null,l}function Oh(l,t,e){var a=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,l===null){if(el){if(a.mode==="hidden")return l=Eu(t,a),t.lanes=536870912,dn(null,l);if(sc(t),(l=vl)?(l=Sd(l,pt),l=l!==null&&l.data==="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:ne!==null?{id:Mt,overflow:Ot}:null,retryLane:536870912,hydrationErrors:null},e=Zs(l),e.return=t,t.child=e,Xl=t,vl=null)):l=null,l===null)throw ie(t);return t.lanes=536870912,null}return Eu(t,a)}var u=l.memoizedState;if(u!==null){var i=u.dehydrated;if(sc(t),n)if(t.flags&256)t.flags&=-257,t=ir(l,t,e);else if(t.memoizedState!==null)t.child=l.child,t.flags|=128,t=null;else throw Error(o(558));else if(Rl||va(l,t,e,!1),n=(e&l.childLanes)!==0,Rl||n){if(a=hl,a!==null&&(i=Wf(a,e),i!==0&&i!==u.retryLane))throw u.retryLane=i,qe(l,i),et(a,l,i),Oc;Hu(),t=ir(l,t,e)}else l=u.treeContext,vl=xt(i.nextSibling),Xl=t,el=!0,ue=null,pt=!1,l!==null&&Ks(t,l),t=Eu(t,a),t.flags|=4096;return t}return l=Gt(l.child,{mode:a.mode,children:a.children}),l.ref=t.ref,t.child=l,l.return=t,l}function Tu(l,t){var e=t.ref;if(e===null)l!==null&&l.ref!==null&&(t.flags|=4194816);else{if(typeof e!="function"&&typeof e!="object")throw Error(o(284));(l===null||l.ref!==e)&&(t.flags|=4194816)}}function Dc(l,t,e,a,n){return Qe(t),e=rc(l,t,e,a,void 0,n),a=dc(),l!==null&&!Rl?(mc(l,t,n),Kt(l,t,n)):(el&&a&&Ji(t),t.flags|=1,Zl(l,t,e,n),t.child)}function cr(l,t,e,a,n,u){return Qe(t),t.updateQueue=null,e=so(t,a,e,n),fo(l),a=dc(),l!==null&&!Rl?(mc(l,t,u),Kt(l,t,u)):(el&&a&&Ji(t),t.flags|=1,Zl(l,t,e,u),t.child)}function fr(l,t,e,a,n){if(Qe(t),t.stateNode===null){var u=ra,i=e.contextType;typeof i=="object"&&i!==null&&(u=Ql(i)),u=new e(a,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Nc,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},ac(t),i=e.contextType,u.context=typeof i=="object"&&i!==null?Ql(i):ra,u.state=t.memoizedState,i=e.getDerivedStateFromProps,typeof i=="function"&&(jc(t,e,i,a),u.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(i=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),i!==u.state&&Nc.enqueueReplaceState(u,u.state,null),cn(t,a,u,n),un(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(l===null){u=t.stateNode;var c=t.memoizedProps,r=we(e,c);u.props=r;var S=u.context,x=e.contextType;i=ra,typeof x=="object"&&x!==null&&(i=Ql(x));var T=e.getDerivedStateFromProps;x=typeof T=="function"||typeof u.getSnapshotBeforeUpdate=="function",c=t.pendingProps!==c,x||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(c||S!==i)&&$o(t,u,a,i),fe=!1;var b=t.memoizedState;u.state=b,cn(t,a,u,n),un(),S=t.memoizedState,c||b!==S||fe?(typeof T=="function"&&(jc(t,e,T,a),S=t.memoizedState),(r=fe||wo(t,e,r,a,b,S,i))?(x||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"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=S),u.props=a,u.state=S,u.context=i,a=r):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{u=t.stateNode,nc(l,t),i=t.memoizedProps,x=we(e,i),u.props=x,T=t.pendingProps,b=u.context,S=e.contextType,r=ra,typeof S=="object"&&S!==null&&(r=Ql(S)),c=e.getDerivedStateFromProps,(S=typeof c=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(i!==T||b!==r)&&$o(t,u,a,r),fe=!1,b=t.memoizedState,u.state=b,cn(t,a,u,n),un();var p=t.memoizedState;i!==T||b!==p||fe||l!==null&&l.dependencies!==null&&iu(l.dependencies)?(typeof c=="function"&&(jc(t,e,c,a),p=t.memoizedState),(x=fe||wo(t,e,x,a,b,p,r)||l!==null&&l.dependencies!==null&&iu(l.dependencies))?(S||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,p,r),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,p,r)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||i===l.memoizedProps&&b===l.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||i===l.memoizedProps&&b===l.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=p),u.props=a,u.state=p,u.context=r,a=x):(typeof u.componentDidUpdate!="function"||i===l.memoizedProps&&b===l.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||i===l.memoizedProps&&b===l.memoizedState||(t.flags|=1024),a=!1)}return u=a,Tu(l,t),a=(t.flags&128)!==0,u||a?(u=t.stateNode,e=a&&typeof e.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,l!==null&&a?(t.child=Ke(t,l.child,null,n),t.child=Ke(t,null,e,n)):Zl(l,t,e,n),t.memoizedState=u.state,l=t.child):l=Kt(l,t,n),l}function sr(l,t,e,a){return Ge(),t.flags|=256,Zl(l,t,e,a),t.child}var Uc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Rc(l){return{baseLanes:l,cachePool:Fs()}}function Cc(l,t,e){return l=l!==null?l.childLanes&~e:0,t&&(l|=rt),l}function or(l,t,e){var a=t.pendingProps,n=!1,u=(t.flags&128)!==0,i;if((i=u)||(i=l!==null&&l.memoizedState===null?!1:(Ml.current&2)!==0),i&&(n=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,l===null){if(el){if(n?re(t):de(),(l=vl)?(l=Sd(l,pt),l=l!==null&&l.data!=="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:ne!==null?{id:Mt,overflow:Ot}:null,retryLane:536870912,hydrationErrors:null},e=Zs(l),e.return=t,t.child=e,Xl=t,vl=null)):l=null,l===null)throw ie(t);return gf(l)?t.lanes=32:t.lanes=536870912,null}var c=a.children;return a=a.fallback,n?(de(),n=t.mode,c=Au({mode:"hidden",children:c},n),a=Ye(a,n,e,null),c.return=t,a.return=t,c.sibling=a,t.child=c,a=t.child,a.memoizedState=Rc(e),a.childLanes=Cc(l,i,e),t.memoizedState=Uc,dn(null,a)):(re(t),Hc(t,c))}var r=l.memoizedState;if(r!==null&&(c=r.dehydrated,c!==null)){if(u)t.flags&256?(re(t),t.flags&=-257,t=Bc(l,t,e)):t.memoizedState!==null?(de(),t.child=l.child,t.flags|=128,t=null):(de(),c=a.fallback,n=t.mode,a=Au({mode:"visible",children:a.children},n),c=Ye(c,n,e,null),c.flags|=2,a.return=t,c.return=t,a.sibling=c,t.child=a,Ke(t,l.child,null,e),a=t.child,a.memoizedState=Rc(e),a.childLanes=Cc(l,i,e),t.memoizedState=Uc,t=dn(null,a));else if(re(t),gf(c)){if(i=c.nextSibling&&c.nextSibling.dataset,i)var S=i.dgst;i=S,a=Error(o(419)),a.stack="",a.digest=i,Pa({value:a,source:null,stack:null}),t=Bc(l,t,e)}else if(Rl||va(l,t,e,!1),i=(e&l.childLanes)!==0,Rl||i){if(i=hl,i!==null&&(a=Wf(i,e),a!==0&&a!==r.retryLane))throw r.retryLane=a,qe(l,a),et(i,l,a),Oc;yf(c)||Hu(),t=Bc(l,t,e)}else yf(c)?(t.flags|=192,t.child=l.child,t=null):(l=r.treeContext,vl=xt(c.nextSibling),Xl=t,el=!0,ue=null,pt=!1,l!==null&&Ks(t,l),t=Hc(t,a.children),t.flags|=4096);return t}return n?(de(),c=a.fallback,n=t.mode,r=l.child,S=r.sibling,a=Gt(r,{mode:"hidden",children:a.children}),a.subtreeFlags=r.subtreeFlags&65011712,S!==null?c=Gt(S,c):(c=Ye(c,n,e,null),c.flags|=2),c.return=t,a.return=t,a.sibling=c,t.child=a,dn(null,a),a=t.child,c=l.child.memoizedState,c===null?c=Rc(e):(n=c.cachePool,n!==null?(r=Dl._currentValue,n=n.parent!==r?{parent:r,pool:r}:n):n=Fs(),c={baseLanes:c.baseLanes|e,cachePool:n}),a.memoizedState=c,a.childLanes=Cc(l,i,e),t.memoizedState=Uc,dn(l.child,a)):(re(t),e=l.child,l=e.sibling,e=Gt(e,{mode:"visible",children:a.children}),e.return=t,e.sibling=null,l!==null&&(i=t.deletions,i===null?(t.deletions=[l],t.flags|=16):i.push(l)),t.child=e,t.memoizedState=null,e)}function Hc(l,t){return t=Au({mode:"visible",children:t},l.mode),t.return=l,l.child=t}function Au(l,t){return l=ct(22,l,null,t),l.lanes=0,l}function Bc(l,t,e){return Ke(t,l.child,null,e),l=Hc(t,t.pendingProps.children),l.flags|=2,t.memoizedState=null,l}function rr(l,t,e){l.lanes|=t;var a=l.alternate;a!==null&&(a.lanes|=t),Fi(l.return,t,e)}function qc(l,t,e,a,n,u){var i=l.memoizedState;i===null?l.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:n,treeForkCount:u}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=e,i.tailMode=n,i.treeForkCount=u)}function dr(l,t,e){var a=t.pendingProps,n=a.revealOrder,u=a.tail;a=a.children;var i=Ml.current,c=(i&2)!==0;if(c?(i=i&1|2,t.flags|=128):i&=1,C(Ml,i),Zl(l,t,a,e),a=el?Ia:0,!c&&l!==null&&(l.flags&128)!==0)l:for(l=t.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&rr(l,e,t);else if(l.tag===19)rr(l,e,t);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break l;for(;l.sibling===null;){if(l.return===null||l.return===t)break l;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(n){case"forwards":for(e=t.child,n=null;e!==null;)l=e.alternate,l!==null&&hu(l)===null&&(n=e),e=e.sibling;e=n,e===null?(n=t.child,t.child=null):(n=e.sibling,e.sibling=null),qc(t,!1,n,e,u,a);break;case"backwards":case"unstable_legacy-backwards":for(e=null,n=t.child,t.child=null;n!==null;){if(l=n.alternate,l!==null&&hu(l)===null){t.child=n;break}l=n.sibling,n.sibling=e,e=n,n=l}qc(t,!0,e,null,u,a);break;case"together":qc(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function Kt(l,t,e){if(l!==null&&(t.dependencies=l.dependencies),ve|=t.lanes,(e&t.childLanes)===0)if(l!==null){if(va(l,t,e,!1),(e&t.childLanes)===0)return null}else return null;if(l!==null&&t.child!==l.child)throw Error(o(153));if(t.child!==null){for(l=t.child,e=Gt(l,l.pendingProps),t.child=e,e.return=t;l.sibling!==null;)l=l.sibling,e=e.sibling=Gt(l,l.pendingProps),e.return=t;e.sibling=null}return t.child}function Yc(l,t){return(l.lanes&t)!==0?!0:(l=l.dependencies,!!(l!==null&&iu(l)))}function Dh(l,t,e){switch(t.tag){case 3:Jl(t,t.stateNode.containerInfo),ce(t,Dl,l.memoizedState.cache),Ge();break;case 27:case 5:qa(t);break;case 4:Jl(t,t.stateNode.containerInfo);break;case 10:ce(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,sc(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(re(t),t.flags|=128,null):(e&t.child.childLanes)!==0?or(l,t,e):(re(t),l=Kt(l,t,e),l!==null?l.sibling:null);re(t);break;case 19:var n=(l.flags&128)!==0;if(a=(e&t.childLanes)!==0,a||(va(l,t,e,!1),a=(e&t.childLanes)!==0),n){if(a)return dr(l,t,e);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),C(Ml,Ml.current),a)break;return null;case 22:return t.lanes=0,nr(l,t,e,t.pendingProps);case 24:ce(t,Dl,l.memoizedState.cache)}return Kt(l,t,e)}function mr(l,t,e){if(l!==null)if(l.memoizedProps!==t.pendingProps)Rl=!0;else{if(!Yc(l,e)&&(t.flags&128)===0)return Rl=!1,Dh(l,t,e);Rl=(l.flags&131072)!==0}else Rl=!1,el&&(t.flags&1048576)!==0&&Vs(t,Ia,t.index);switch(t.lanes=0,t.tag){case 16:l:{var a=t.pendingProps;if(l=Le(t.elementType),t.type=l,typeof l=="function")Li(l)?(a=we(l,a),t.tag=1,t=fr(null,t,l,a,e)):(t.tag=0,t=Dc(null,t,l,a,e));else{if(l!=null){var n=l.$$typeof;if(n===xl){t.tag=11,t=tr(null,t,l,a,e);break l}else if(n===W){t.tag=14,t=er(null,t,l,a,e);break l}}throw t=Ht(l)||l,Error(o(306,t,""))}}return t;case 0:return Dc(l,t,t.type,t.pendingProps,e);case 1:return a=t.type,n=we(a,t.pendingProps),fr(l,t,a,n,e);case 3:l:{if(Jl(t,t.stateNode.containerInfo),l===null)throw Error(o(387));a=t.pendingProps;var u=t.memoizedState;n=u.element,nc(l,t),cn(t,a,null,e);var i=t.memoizedState;if(a=i.cache,ce(t,Dl,a),a!==u.cache&&Ii(t,[Dl],e,!0),un(),a=i.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=sr(l,t,a,e);break l}else if(a!==n){n=gt(Error(o(424)),t),Pa(n),t=sr(l,t,a,e);break l}else{switch(l=t.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(vl=xt(l.firstChild),Xl=t,el=!0,ue=null,pt=!0,e=ao(t,null,a,e),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(Ge(),a===n){t=Kt(l,t,e);break l}Zl(l,t,a,e)}t=t.child}return t;case 26:return Tu(l,t),l===null?(e=Ed(t.type,null,t.pendingProps,null))?t.memoizedState=e:el||(e=t.type,l=t.pendingProps,a=Zu(F.current).createElement(e),a[Gl]=t,a[kl]=l,Ll(a,e,l),ql(a),t.stateNode=a):t.memoizedState=Ed(t.type,l.memoizedProps,t.pendingProps,l.memoizedState),null;case 27:return qa(t),l===null&&el&&(a=t.stateNode=_d(t.type,t.pendingProps,F.current),Xl=t,pt=!0,n=vl,pe(t.type)?(Sf=n,vl=xt(a.firstChild)):vl=n),Zl(l,t,t.pendingProps.children,e),Tu(l,t),l===null&&(t.flags|=4194304),t.child;case 5:return l===null&&el&&((n=a=vl)&&(a=cv(a,t.type,t.pendingProps,pt),a!==null?(t.stateNode=a,Xl=t,vl=xt(a.firstChild),pt=!1,n=!0):n=!1),n||ie(t)),qa(t),n=t.type,u=t.pendingProps,i=l!==null?l.memoizedProps:null,a=u.children,mf(n,u)?a=null:i!==null&&mf(n,i)&&(t.flags|=32),t.memoizedState!==null&&(n=rc(l,t,xh,null,null,e),jn._currentValue=n),Tu(l,t),Zl(l,t,a,e),t.child;case 6:return l===null&&el&&((l=e=vl)&&(e=fv(e,t.pendingProps,pt),e!==null?(t.stateNode=e,Xl=t,vl=null,l=!0):l=!1),l||ie(t)),null;case 13:return or(l,t,e);case 4:return Jl(t,t.stateNode.containerInfo),a=t.pendingProps,l===null?t.child=Ke(t,null,a,e):Zl(l,t,a,e),t.child;case 11:return tr(l,t,t.type,t.pendingProps,e);case 7:return Zl(l,t,t.pendingProps,e),t.child;case 8:return Zl(l,t,t.pendingProps.children,e),t.child;case 12:return Zl(l,t,t.pendingProps.children,e),t.child;case 10:return a=t.pendingProps,ce(t,t.type,a.value),Zl(l,t,a.children,e),t.child;case 9:return n=t.type._context,a=t.pendingProps.children,Qe(t),n=Ql(n),a=a(n),t.flags|=1,Zl(l,t,a,e),t.child;case 14:return er(l,t,t.type,t.pendingProps,e);case 15:return ar(l,t,t.type,t.pendingProps,e);case 19:return dr(l,t,e);case 31:return Oh(l,t,e);case 22:return nr(l,t,e,t.pendingProps);case 24:return Qe(t),a=Ql(Dl),l===null?(n=tc(),n===null&&(n=hl,u=Pi(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=e),n=u),t.memoizedState={parent:a,cache:n},ac(t),ce(t,Dl,n)):((l.lanes&e)!==0&&(nc(l,t),cn(t,null,null,e),un()),n=l.memoizedState,u=t.memoizedState,n.parent!==a?(n={parent:a,cache:a},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),ce(t,Dl,a)):(a=u.cache,ce(t,Dl,a),a!==n.cache&&Ii(t,[Dl],e,!0))),Zl(l,t,t.pendingProps.children,e),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function Jt(l){l.flags|=4}function Gc(l,t,e,a,n){if((t=(l.mode&32)!==0)&&(t=!1),t){if(l.flags|=16777216,(n&335544128)===n)if(l.stateNode.complete)l.flags|=8192;else if(Xr())l.flags|=8192;else throw Ve=ou,ec}else l.flags&=-16777217}function hr(l,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!Md(t))if(Xr())l.flags|=8192;else throw Ve=ou,ec}function ju(l,t){t!==null&&(l.flags|=4),l.flags&16384&&(t=l.tag!==22?Jf():536870912,l.lanes|=t,ja|=t)}function mn(l,t){if(!el)switch(l.tailMode){case"hidden":t=l.tail;for(var e=null;t!==null;)t.alternate!==null&&(e=t),t=t.sibling;e===null?l.tail=null:e.sibling=null;break;case"collapsed":e=l.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t||l.tail===null?l.tail=null:l.tail.sibling=null:a.sibling=null}}function yl(l){var t=l.alternate!==null&&l.alternate.child===l.child,e=0,a=0;if(t)for(var n=l.child;n!==null;)e|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=l,n=n.sibling;else for(n=l.child;n!==null;)e|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=l,n=n.sibling;return l.subtreeFlags|=a,l.childLanes=e,t}function Uh(l,t,e){var a=t.pendingProps;switch(wi(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return yl(t),null;case 1:return yl(t),null;case 3:return e=t.stateNode,a=null,l!==null&&(a=l.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Zt(Dl),Nl(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(l===null||l.child===null)&&(ha(t)?Jt(t):l===null||l.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Wi())),yl(t),null;case 26:var n=t.type,u=t.memoizedState;return l===null?(Jt(t),u!==null?(yl(t),hr(t,u)):(yl(t),Gc(t,n,null,a,e))):u?u!==l.memoizedState?(Jt(t),yl(t),hr(t,u)):(yl(t),t.flags&=-16777217):(l=l.memoizedProps,l!==a&&Jt(t),yl(t),Gc(t,n,l,a,e)),null;case 27:if(Yn(t),e=F.current,n=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Jt(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return yl(t),null}l=B.current,ha(t)?Js(t):(l=_d(n,a,e),t.stateNode=l,Jt(t))}return yl(t),null;case 5:if(Yn(t),n=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Jt(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return yl(t),null}if(u=B.current,ha(t))Js(t);else{var i=Zu(F.current);switch(u){case 1:u=i.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:u=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":u=i.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":u=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":u=i.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?i.createElement(n,{is:a.is}):i.createElement(n)}}u[Gl]=t,u[kl]=a;l:for(i=t.child;i!==null;){if(i.tag===5||i.tag===6)u.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break l;for(;i.sibling===null;){if(i.return===null||i.return===t)break l;i=i.return}i.sibling.return=i.return,i=i.sibling}t.stateNode=u;l:switch(Ll(u,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break l;case"img":a=!0;break l;default:a=!1}a&&Jt(t)}}return yl(t),Gc(t,t.type,l===null?null:l.memoizedProps,t.pendingProps,e),null;case 6:if(l&&t.stateNode!=null)l.memoizedProps!==a&&Jt(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(o(166));if(l=F.current,ha(t)){if(l=t.stateNode,e=t.memoizedProps,a=null,n=Xl,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}l[Gl]=t,l=!!(l.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||od(l.nodeValue,e)),l||ie(t,!0)}else l=Zu(l).createTextNode(a),l[Gl]=t,t.stateNode=l}return yl(t),null;case 31:if(e=t.memoizedState,l===null||l.memoizedState!==null){if(a=ha(t),e!==null){if(l===null){if(!a)throw Error(o(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(o(557));l[Gl]=t}else Ge(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;yl(t),l=!1}else e=Wi(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=e),l=!0;if(!l)return t.flags&256?(st(t),t):(st(t),null);if((t.flags&128)!==0)throw Error(o(558))}return yl(t),null;case 13:if(a=t.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(n=ha(t),a!==null&&a.dehydrated!==null){if(l===null){if(!n)throw Error(o(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));n[Gl]=t}else Ge(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;yl(t),n=!1}else n=Wi(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(st(t),t):(st(t),null)}return st(t),(t.flags&128)!==0?(t.lanes=e,t):(e=a!==null,l=l!==null&&l.memoizedState!==null,e&&(a=t.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)),e!==l&&e&&(t.child.flags|=8192),ju(t,t.updateQueue),yl(t),null);case 4:return Nl(),l===null&&ff(t.stateNode.containerInfo),yl(t),null;case 10:return Zt(t.type),yl(t),null;case 19:if(A(Ml),a=t.memoizedState,a===null)return yl(t),null;if(n=(t.flags&128)!==0,u=a.rendering,u===null)if(n)mn(a,!1);else{if(El!==0||l!==null&&(l.flags&128)!==0)for(l=t.child;l!==null;){if(u=hu(l),u!==null){for(t.flags|=128,mn(a,!1),l=u.updateQueue,t.updateQueue=l,ju(t,l),t.subtreeFlags=0,l=e,e=t.child;e!==null;)Qs(e,l),e=e.sibling;return C(Ml,Ml.current&1|2),el&&Xt(t,a.treeForkCount),t.child}l=l.sibling}a.tail!==null&&at()>Uu&&(t.flags|=128,n=!0,mn(a,!1),t.lanes=4194304)}else{if(!n)if(l=hu(u),l!==null){if(t.flags|=128,n=!0,l=l.updateQueue,t.updateQueue=l,ju(t,l),mn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!el)return yl(t),null}else 2*at()-a.renderingStartTime>Uu&&e!==536870912&&(t.flags|=128,n=!0,mn(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(l=a.last,l!==null?l.sibling=u:t.child=u,a.last=u)}return a.tail!==null?(l=a.tail,a.rendering=l,a.tail=l.sibling,a.renderingStartTime=at(),l.sibling=null,e=Ml.current,C(Ml,n?e&1|2:e&1),el&&Xt(t,a.treeForkCount),l):(yl(t),null);case 22:case 23:return st(t),fc(),a=t.memoizedState!==null,l!==null?l.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(e&536870912)!==0&&(t.flags&128)===0&&(yl(t),t.subtreeFlags&6&&(t.flags|=8192)):yl(t),e=t.updateQueue,e!==null&&ju(t,e.retryQueue),e=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(e=l.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==e&&(t.flags|=2048),l!==null&&A(Ze),null;case 24:return e=null,l!==null&&(e=l.memoizedState.cache),t.memoizedState.cache!==e&&(t.flags|=2048),Zt(Dl),yl(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function Rh(l,t){switch(wi(t),t.tag){case 1:return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 3:return Zt(Dl),Nl(),l=t.flags,(l&65536)!==0&&(l&128)===0?(t.flags=l&-65537|128,t):null;case 26:case 27:case 5:return Yn(t),null;case 31:if(t.memoizedState!==null){if(st(t),t.alternate===null)throw Error(o(340));Ge()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 13:if(st(t),l=t.memoizedState,l!==null&&l.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Ge()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 19:return A(Ml),null;case 4:return Nl(),null;case 10:return Zt(t.type),null;case 22:case 23:return st(t),fc(),l!==null&&A(Ze),l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 24:return Zt(Dl),null;case 25:return null;default:return null}}function vr(l,t){switch(wi(t),t.tag){case 3:Zt(Dl),Nl();break;case 26:case 27:case 5:Yn(t);break;case 4:Nl();break;case 31:t.memoizedState!==null&&st(t);break;case 13:st(t);break;case 19:A(Ml);break;case 10:Zt(t.type);break;case 22:case 23:st(t),fc(),l!==null&&A(Ze);break;case 24:Zt(Dl)}}function hn(l,t){try{var e=t.updateQueue,a=e!==null?e.lastEffect:null;if(a!==null){var n=a.next;e=n;do{if((e.tag&l)===l){a=void 0;var u=e.create,i=e.inst;a=u(),i.destroy=a}e=e.next}while(e!==n)}}catch(c){fl(t,t.return,c)}}function me(l,t,e){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&l)===l){var i=a.inst,c=i.destroy;if(c!==void 0){i.destroy=void 0,n=t;var r=e,S=c;try{S()}catch(x){fl(n,r,x)}}}a=a.next}while(a!==u)}}catch(x){fl(t,t.return,x)}}function yr(l){var t=l.updateQueue;if(t!==null){var e=l.stateNode;try{uo(t,e)}catch(a){fl(l,l.return,a)}}}function gr(l,t,e){e.props=we(l.type,l.memoizedProps),e.state=l.memoizedState;try{e.componentWillUnmount()}catch(a){fl(l,t,a)}}function vn(l,t){try{var e=l.ref;if(e!==null){switch(l.tag){case 26:case 27:case 5:var a=l.stateNode;break;case 30:a=l.stateNode;break;default:a=l.stateNode}typeof e=="function"?l.refCleanup=e(a):e.current=a}}catch(n){fl(l,t,n)}}function Dt(l,t){var e=l.ref,a=l.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(n){fl(l,t,n)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof e=="function")try{e(null)}catch(n){fl(l,t,n)}else e.current=null}function Sr(l){var t=l.type,e=l.memoizedProps,a=l.stateNode;try{l:switch(t){case"button":case"input":case"select":case"textarea":e.autoFocus&&a.focus();break l;case"img":e.src?a.src=e.src:e.srcSet&&(a.srcset=e.srcSet)}}catch(n){fl(l,l.return,n)}}function Xc(l,t,e){try{var a=l.stateNode;tv(a,l.type,e,t),a[kl]=t}catch(n){fl(l,l.return,n)}}function br(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&pe(l.type)||l.tag===4}function Qc(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||br(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.tag===27&&pe(l.type)||l.flags&2||l.child===null||l.tag===4)continue l;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function Zc(l,t,e){var a=l.tag;if(a===5||a===6)l=l.stateNode,t?(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).insertBefore(l,t):(t=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,t.appendChild(l),e=e._reactRootContainer,e!=null||t.onclick!==null||(t.onclick=qt));else if(a!==4&&(a===27&&pe(l.type)&&(e=l.stateNode,t=null),l=l.child,l!==null))for(Zc(l,t,e),l=l.sibling;l!==null;)Zc(l,t,e),l=l.sibling}function Nu(l,t,e){var a=l.tag;if(a===5||a===6)l=l.stateNode,t?e.insertBefore(l,t):e.appendChild(l);else if(a!==4&&(a===27&&pe(l.type)&&(e=l.stateNode),l=l.child,l!==null))for(Nu(l,t,e),l=l.sibling;l!==null;)Nu(l,t,e),l=l.sibling}function pr(l){var t=l.stateNode,e=l.memoizedProps;try{for(var a=l.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Ll(t,a,e),t[Gl]=l,t[kl]=e}catch(u){fl(l,l.return,u)}}var wt=!1,Cl=!1,Lc=!1,_r=typeof WeakSet=="function"?WeakSet:Set,Yl=null;function Ch(l,t){if(l=l.containerInfo,rf=Wu,l=Us(l),Bi(l)){if("selectionStart"in l)var e={start:l.selectionStart,end:l.selectionEnd};else l:{e=(e=l.ownerDocument)&&e.defaultView||window;var a=e.getSelection&&e.getSelection();if(a&&a.rangeCount!==0){e=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{e.nodeType,u.nodeType}catch{e=null;break l}var i=0,c=-1,r=-1,S=0,x=0,T=l,b=null;t:for(;;){for(var p;T!==e||n!==0&&T.nodeType!==3||(c=i+n),T!==u||a!==0&&T.nodeType!==3||(r=i+a),T.nodeType===3&&(i+=T.nodeValue.length),(p=T.firstChild)!==null;)b=T,T=p;for(;;){if(T===l)break t;if(b===e&&++S===n&&(c=i),b===u&&++x===a&&(r=i),(p=T.nextSibling)!==null)break;T=b,b=T.parentNode}T=p}e=c===-1||r===-1?null:{start:c,end:r}}else e=null}e=e||{start:0,end:0}}else e=null;for(df={focusedElem:l,selectionRange:e},Wu=!1,Yl=t;Yl!==null;)if(t=Yl,l=t.child,(t.subtreeFlags&1028)!==0&&l!==null)l.return=t,Yl=l;else for(;Yl!==null;){switch(t=Yl,u=t.alternate,l=t.flags,t.tag){case 0:if((l&4)!==0&&(l=t.updateQueue,l=l!==null?l.events:null,l!==null))for(e=0;e<l.length;e++)n=l[e],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((l&1024)!==0&&u!==null){l=void 0,e=t,n=u.memoizedProps,u=u.memoizedState,a=e.stateNode;try{var H=we(e.type,n);l=a.getSnapshotBeforeUpdate(H,u),a.__reactInternalSnapshotBeforeUpdate=l}catch(Z){fl(e,e.return,Z)}}break;case 3:if((l&1024)!==0){if(l=t.stateNode.containerInfo,e=l.nodeType,e===9)vf(l);else if(e===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":vf(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error(o(163))}if(l=t.sibling,l!==null){l.return=t.return,Yl=l;break}Yl=t.return}}function xr(l,t,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:Wt(l,e),a&4&&hn(5,e);break;case 1:if(Wt(l,e),a&4)if(l=e.stateNode,t===null)try{l.componentDidMount()}catch(i){fl(e,e.return,i)}else{var n=we(e.type,t.memoizedProps);t=t.memoizedState;try{l.componentDidUpdate(n,t,l.__reactInternalSnapshotBeforeUpdate)}catch(i){fl(e,e.return,i)}}a&64&&yr(e),a&512&&vn(e,e.return);break;case 3:if(Wt(l,e),a&64&&(l=e.updateQueue,l!==null)){if(t=null,e.child!==null)switch(e.child.tag){case 27:case 5:t=e.child.stateNode;break;case 1:t=e.child.stateNode}try{uo(l,t)}catch(i){fl(e,e.return,i)}}break;case 27:t===null&&a&4&&pr(e);case 26:case 5:Wt(l,e),t===null&&a&4&&Sr(e),a&512&&vn(e,e.return);break;case 12:Wt(l,e);break;case 31:Wt(l,e),a&4&&Tr(l,e);break;case 13:Wt(l,e),a&4&&Ar(l,e),a&64&&(l=e.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(e=Lh.bind(null,e),sv(l,e))));break;case 22:if(a=e.memoizedState!==null||wt,!a){t=t!==null&&t.memoizedState!==null||Cl,n=wt;var u=Cl;wt=a,(Cl=t)&&!u?kt(l,e,(e.subtreeFlags&8772)!==0):Wt(l,e),wt=n,Cl=u}break;case 30:break;default:Wt(l,e)}}function zr(l){var t=l.alternate;t!==null&&(l.alternate=null,zr(t)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(t=l.stateNode,t!==null&&bi(t)),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}var Sl=null,Il=!1;function $t(l,t,e){for(e=e.child;e!==null;)Er(l,t,e),e=e.sibling}function Er(l,t,e){if(nt&&typeof nt.onCommitFiberUnmount=="function")try{nt.onCommitFiberUnmount(Ya,e)}catch{}switch(e.tag){case 26:Cl||Dt(e,t),$t(l,t,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:Cl||Dt(e,t);var a=Sl,n=Il;pe(e.type)&&(Sl=e.stateNode,Il=!1),$t(l,t,e),En(e.stateNode),Sl=a,Il=n;break;case 5:Cl||Dt(e,t);case 6:if(a=Sl,n=Il,Sl=null,$t(l,t,e),Sl=a,Il=n,Sl!==null)if(Il)try{(Sl.nodeType===9?Sl.body:Sl.nodeName==="HTML"?Sl.ownerDocument.body:Sl).removeChild(e.stateNode)}catch(u){fl(e,t,u)}else try{Sl.removeChild(e.stateNode)}catch(u){fl(e,t,u)}break;case 18:Sl!==null&&(Il?(l=Sl,yd(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.stateNode),Ha(l)):yd(Sl,e.stateNode));break;case 4:a=Sl,n=Il,Sl=e.stateNode.containerInfo,Il=!0,$t(l,t,e),Sl=a,Il=n;break;case 0:case 11:case 14:case 15:me(2,e,t),Cl||me(4,e,t),$t(l,t,e);break;case 1:Cl||(Dt(e,t),a=e.stateNode,typeof a.componentWillUnmount=="function"&&gr(e,t,a)),$t(l,t,e);break;case 21:$t(l,t,e);break;case 22:Cl=(a=Cl)||e.memoizedState!==null,$t(l,t,e),Cl=a;break;default:$t(l,t,e)}}function Tr(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{Ha(l)}catch(e){fl(t,t.return,e)}}}function Ar(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Ha(l)}catch(e){fl(t,t.return,e)}}function Hh(l){switch(l.tag){case 31:case 13:case 19:var t=l.stateNode;return t===null&&(t=l.stateNode=new _r),t;case 22:return l=l.stateNode,t=l._retryCache,t===null&&(t=l._retryCache=new _r),t;default:throw Error(o(435,l.tag))}}function Mu(l,t){var e=Hh(l);t.forEach(function(a){if(!e.has(a)){e.add(a);var n=Vh.bind(null,l,a);a.then(n,n)}})}function Pl(l,t){var e=t.deletions;if(e!==null)for(var a=0;a<e.length;a++){var n=e[a],u=l,i=t,c=i;l:for(;c!==null;){switch(c.tag){case 27:if(pe(c.type)){Sl=c.stateNode,Il=!1;break l}break;case 5:Sl=c.stateNode,Il=!1;break l;case 3:case 4:Sl=c.stateNode.containerInfo,Il=!0;break l}c=c.return}if(Sl===null)throw Error(o(160));Er(u,i,n),Sl=null,Il=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)jr(t,l),t=t.sibling}var At=null;function jr(l,t){var e=l.alternate,a=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:Pl(t,l),lt(l),a&4&&(me(3,l,l.return),hn(3,l),me(5,l,l.return));break;case 1:Pl(t,l),lt(l),a&512&&(Cl||e===null||Dt(e,e.return)),a&64&&wt&&(l=l.updateQueue,l!==null&&(a=l.callbacks,a!==null&&(e=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=e===null?a:e.concat(a))));break;case 26:var n=At;if(Pl(t,l),lt(l),a&512&&(Cl||e===null||Dt(e,e.return)),a&4){var u=e!==null?e.memoizedState:null;if(a=l.memoizedState,e===null)if(a===null)if(l.stateNode===null){l:{a=l.type,e=l.memoizedProps,n=n.ownerDocument||n;t:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[Qa]||u[Gl]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Ll(u,a,e),u[Gl]=l,ql(u),a=u;break l;case"link":var i=jd("link","href",n).get(a+(e.href||""));if(i){for(var c=0;c<i.length;c++)if(u=i[c],u.getAttribute("href")===(e.href==null||e.href===""?null:e.href)&&u.getAttribute("rel")===(e.rel==null?null:e.rel)&&u.getAttribute("title")===(e.title==null?null:e.title)&&u.getAttribute("crossorigin")===(e.crossOrigin==null?null:e.crossOrigin)){i.splice(c,1);break t}}u=n.createElement(a),Ll(u,a,e),n.head.appendChild(u);break;case"meta":if(i=jd("meta","content",n).get(a+(e.content||""))){for(c=0;c<i.length;c++)if(u=i[c],u.getAttribute("content")===(e.content==null?null:""+e.content)&&u.getAttribute("name")===(e.name==null?null:e.name)&&u.getAttribute("property")===(e.property==null?null:e.property)&&u.getAttribute("http-equiv")===(e.httpEquiv==null?null:e.httpEquiv)&&u.getAttribute("charset")===(e.charSet==null?null:e.charSet)){i.splice(c,1);break t}}u=n.createElement(a),Ll(u,a,e),n.head.appendChild(u);break;default:throw Error(o(468,a))}u[Gl]=l,ql(u),a=u}l.stateNode=a}else Nd(n,l.type,l.stateNode);else l.stateNode=Ad(n,a,l.memoizedProps);else u!==a?(u===null?e.stateNode!==null&&(e=e.stateNode,e.parentNode.removeChild(e)):u.count--,a===null?Nd(n,l.type,l.stateNode):Ad(n,a,l.memoizedProps)):a===null&&l.stateNode!==null&&Xc(l,l.memoizedProps,e.memoizedProps)}break;case 27:Pl(t,l),lt(l),a&512&&(Cl||e===null||Dt(e,e.return)),e!==null&&a&4&&Xc(l,l.memoizedProps,e.memoizedProps);break;case 5:if(Pl(t,l),lt(l),a&512&&(Cl||e===null||Dt(e,e.return)),l.flags&32){n=l.stateNode;try{na(n,"")}catch(H){fl(l,l.return,H)}}a&4&&l.stateNode!=null&&(n=l.memoizedProps,Xc(l,n,e!==null?e.memoizedProps:n)),a&1024&&(Lc=!0);break;case 6:if(Pl(t,l),lt(l),a&4){if(l.stateNode===null)throw Error(o(162));a=l.memoizedProps,e=l.stateNode;try{e.nodeValue=a}catch(H){fl(l,l.return,H)}}break;case 3:if(Ku=null,n=At,At=Lu(t.containerInfo),Pl(t,l),At=n,lt(l),a&4&&e!==null&&e.memoizedState.isDehydrated)try{Ha(t.containerInfo)}catch(H){fl(l,l.return,H)}Lc&&(Lc=!1,Nr(l));break;case 4:a=At,At=Lu(l.stateNode.containerInfo),Pl(t,l),lt(l),At=a;break;case 12:Pl(t,l),lt(l);break;case 31:Pl(t,l),lt(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Mu(l,a)));break;case 13:Pl(t,l),lt(l),l.child.flags&8192&&l.memoizedState!==null!=(e!==null&&e.memoizedState!==null)&&(Du=at()),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Mu(l,a)));break;case 22:n=l.memoizedState!==null;var r=e!==null&&e.memoizedState!==null,S=wt,x=Cl;if(wt=S||n,Cl=x||r,Pl(t,l),Cl=x,wt=S,lt(l),a&8192)l:for(t=l.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(e===null||r||wt||Cl||$e(l)),e=null,t=l;;){if(t.tag===5||t.tag===26){if(e===null){r=e=t;try{if(u=r.stateNode,n)i=u.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none";else{c=r.stateNode;var T=r.memoizedProps.style,b=T!=null&&T.hasOwnProperty("display")?T.display:null;c.style.display=b==null||typeof b=="boolean"?"":(""+b).trim()}}catch(H){fl(r,r.return,H)}}}else if(t.tag===6){if(e===null){r=t;try{r.stateNode.nodeValue=n?"":r.memoizedProps}catch(H){fl(r,r.return,H)}}}else if(t.tag===18){if(e===null){r=t;try{var p=r.stateNode;n?gd(p,!0):gd(r.stateNode,!1)}catch(H){fl(r,r.return,H)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===l)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break l;for(;t.sibling===null;){if(t.return===null||t.return===l)break l;e===t&&(e=null),t=t.return}e===t&&(e=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=l.updateQueue,a!==null&&(e=a.retryQueue,e!==null&&(a.retryQueue=null,Mu(l,e))));break;case 19:Pl(t,l),lt(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Mu(l,a)));break;case 30:break;case 21:break;default:Pl(t,l),lt(l)}}function lt(l){var t=l.flags;if(t&2){try{for(var e,a=l.return;a!==null;){if(br(a)){e=a;break}a=a.return}if(e==null)throw Error(o(160));switch(e.tag){case 27:var n=e.stateNode,u=Qc(l);Nu(l,u,n);break;case 5:var i=e.stateNode;e.flags&32&&(na(i,""),e.flags&=-33);var c=Qc(l);Nu(l,c,i);break;case 3:case 4:var r=e.stateNode.containerInfo,S=Qc(l);Zc(l,S,r);break;default:throw Error(o(161))}}catch(x){fl(l,l.return,x)}l.flags&=-3}t&4096&&(l.flags&=-4097)}function Nr(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var t=l;Nr(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),l=l.sibling}}function Wt(l,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)xr(l,t.alternate,t),t=t.sibling}function $e(l){for(l=l.child;l!==null;){var t=l;switch(t.tag){case 0:case 11:case 14:case 15:me(4,t,t.return),$e(t);break;case 1:Dt(t,t.return);var e=t.stateNode;typeof e.componentWillUnmount=="function"&&gr(t,t.return,e),$e(t);break;case 27:En(t.stateNode);case 26:case 5:Dt(t,t.return),$e(t);break;case 22:t.memoizedState===null&&$e(t);break;case 30:$e(t);break;default:$e(t)}l=l.sibling}}function kt(l,t,e){for(e=e&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,n=l,u=t,i=u.flags;switch(u.tag){case 0:case 11:case 15:kt(n,u,e),hn(4,u);break;case 1:if(kt(n,u,e),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(S){fl(a,a.return,S)}if(a=u,n=a.updateQueue,n!==null){var c=a.stateNode;try{var r=n.shared.hiddenCallbacks;if(r!==null)for(n.shared.hiddenCallbacks=null,n=0;n<r.length;n++)no(r[n],c)}catch(S){fl(a,a.return,S)}}e&&i&64&&yr(u),vn(u,u.return);break;case 27:pr(u);case 26:case 5:kt(n,u,e),e&&a===null&&i&4&&Sr(u),vn(u,u.return);break;case 12:kt(n,u,e);break;case 31:kt(n,u,e),e&&i&4&&Tr(n,u);break;case 13:kt(n,u,e),e&&i&4&&Ar(n,u);break;case 22:u.memoizedState===null&&kt(n,u,e),vn(u,u.return);break;case 30:break;default:kt(n,u,e)}t=t.sibling}}function Vc(l,t){var e=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(e=l.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==e&&(l!=null&&l.refCount++,e!=null&&ln(e))}function Kc(l,t){l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&ln(l))}function jt(l,t,e,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Mr(l,t,e,a),t=t.sibling}function Mr(l,t,e,a){var n=t.flags;switch(t.tag){case 0:case 11:case 15:jt(l,t,e,a),n&2048&&hn(9,t);break;case 1:jt(l,t,e,a);break;case 3:jt(l,t,e,a),n&2048&&(l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&ln(l)));break;case 12:if(n&2048){jt(l,t,e,a),l=t.stateNode;try{var u=t.memoizedProps,i=u.id,c=u.onPostCommit;typeof c=="function"&&c(i,t.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(r){fl(t,t.return,r)}}else jt(l,t,e,a);break;case 31:jt(l,t,e,a);break;case 13:jt(l,t,e,a);break;case 23:break;case 22:u=t.stateNode,i=t.alternate,t.memoizedState!==null?u._visibility&2?jt(l,t,e,a):yn(l,t):u._visibility&2?jt(l,t,e,a):(u._visibility|=2,Ea(l,t,e,a,(t.subtreeFlags&10256)!==0||!1)),n&2048&&Vc(i,t);break;case 24:jt(l,t,e,a),n&2048&&Kc(t.alternate,t);break;default:jt(l,t,e,a)}}function Ea(l,t,e,a,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=l,i=t,c=e,r=a,S=i.flags;switch(i.tag){case 0:case 11:case 15:Ea(u,i,c,r,n),hn(8,i);break;case 23:break;case 22:var x=i.stateNode;i.memoizedState!==null?x._visibility&2?Ea(u,i,c,r,n):yn(u,i):(x._visibility|=2,Ea(u,i,c,r,n)),n&&S&2048&&Vc(i.alternate,i);break;case 24:Ea(u,i,c,r,n),n&&S&2048&&Kc(i.alternate,i);break;default:Ea(u,i,c,r,n)}t=t.sibling}}function yn(l,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var e=l,a=t,n=a.flags;switch(a.tag){case 22:yn(e,a),n&2048&&Vc(a.alternate,a);break;case 24:yn(e,a),n&2048&&Kc(a.alternate,a);break;default:yn(e,a)}t=t.sibling}}var gn=8192;function Ta(l,t,e){if(l.subtreeFlags&gn)for(l=l.child;l!==null;)Or(l,t,e),l=l.sibling}function Or(l,t,e){switch(l.tag){case 26:Ta(l,t,e),l.flags&gn&&l.memoizedState!==null&&_v(e,At,l.memoizedState,l.memoizedProps);break;case 5:Ta(l,t,e);break;case 3:case 4:var a=At;At=Lu(l.stateNode.containerInfo),Ta(l,t,e),At=a;break;case 22:l.memoizedState===null&&(a=l.alternate,a!==null&&a.memoizedState!==null?(a=gn,gn=16777216,Ta(l,t,e),gn=a):Ta(l,t,e));break;default:Ta(l,t,e)}}function Dr(l){var t=l.alternate;if(t!==null&&(l=t.child,l!==null)){t.child=null;do t=l.sibling,l.sibling=null,l=t;while(l!==null)}}function Sn(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var e=0;e<t.length;e++){var a=t[e];Yl=a,Rr(a,l)}Dr(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Ur(l),l=l.sibling}function Ur(l){switch(l.tag){case 0:case 11:case 15:Sn(l),l.flags&2048&&me(9,l,l.return);break;case 3:Sn(l);break;case 12:Sn(l);break;case 22:var t=l.stateNode;l.memoizedState!==null&&t._visibility&2&&(l.return===null||l.return.tag!==13)?(t._visibility&=-3,Ou(l)):Sn(l);break;default:Sn(l)}}function Ou(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var e=0;e<t.length;e++){var a=t[e];Yl=a,Rr(a,l)}Dr(l)}for(l=l.child;l!==null;){switch(t=l,t.tag){case 0:case 11:case 15:me(8,t,t.return),Ou(t);break;case 22:e=t.stateNode,e._visibility&2&&(e._visibility&=-3,Ou(t));break;default:Ou(t)}l=l.sibling}}function Rr(l,t){for(;Yl!==null;){var e=Yl;switch(e.tag){case 0:case 11:case 15:me(8,e,t);break;case 23:case 22:if(e.memoizedState!==null&&e.memoizedState.cachePool!==null){var a=e.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:ln(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,Yl=a;else l:for(e=l;Yl!==null;){a=Yl;var n=a.sibling,u=a.return;if(zr(a),a===e){Yl=null;break l}if(n!==null){n.return=u,Yl=n;break l}Yl=u}}}var Bh={getCacheForType:function(l){var t=Ql(Dl),e=t.data.get(l);return e===void 0&&(e=l(),t.data.set(l,e)),e},cacheSignal:function(){return Ql(Dl).controller.signal}},qh=typeof WeakMap=="function"?WeakMap:Map,ul=0,hl=null,I=null,ll=0,cl=0,ot=null,he=!1,Aa=!1,Jc=!1,Ft=0,El=0,ve=0,We=0,wc=0,rt=0,ja=0,bn=null,tt=null,$c=!1,Du=0,Cr=0,Uu=1/0,Ru=null,ye=null,Bl=0,ge=null,Na=null,It=0,Wc=0,kc=null,Hr=null,pn=0,Fc=null;function dt(){return(ul&2)!==0&&ll!==0?ll&-ll:z.T!==null?af():kf()}function Br(){if(rt===0)if((ll&536870912)===0||el){var l=Qn;Qn<<=1,(Qn&3932160)===0&&(Qn=262144),rt=l}else rt=536870912;return l=ft.current,l!==null&&(l.flags|=32),rt}function et(l,t,e){(l===hl&&(cl===2||cl===9)||l.cancelPendingCommit!==null)&&(Ma(l,0),Se(l,ll,rt,!1)),Xa(l,e),((ul&2)===0||l!==hl)&&(l===hl&&((ul&2)===0&&(We|=e),El===4&&Se(l,ll,rt,!1)),Ut(l))}function qr(l,t,e){if((ul&6)!==0)throw Error(o(327));var a=!e&&(t&127)===0&&(t&l.expiredLanes)===0||Ga(l,t),n=a?Xh(l,t):Pc(l,t,!0),u=a;do{if(n===0){Aa&&!a&&Se(l,t,0,!1);break}else{if(e=l.current.alternate,u&&!Yh(e)){n=Pc(l,t,!1),u=!1;continue}if(n===2){if(u=t,l.errorRecoveryDisabledLanes&u)var i=0;else i=l.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){t=i;l:{var c=l;n=bn;var r=c.current.memoizedState.isDehydrated;if(r&&(Ma(c,i).flags|=256),i=Pc(c,i,!1),i!==2){if(Jc&&!r){c.errorRecoveryDisabledLanes|=u,We|=u,n=4;break l}u=tt,tt=n,u!==null&&(tt===null?tt=u:tt.push.apply(tt,u))}n=i}if(u=!1,n!==2)continue}}if(n===1){Ma(l,0),Se(l,t,0,!0);break}l:{switch(a=l,u=n,u){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:Se(a,t,rt,!he);break l;case 2:tt=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(n=Du+300-at(),10<n)){if(Se(a,t,rt,!he),Ln(a,0,!0)!==0)break l;It=t,a.timeoutHandle=hd(Yr.bind(null,a,e,tt,Ru,$c,t,rt,We,ja,he,u,"Throttled",-0,0),n);break l}Yr(a,e,tt,Ru,$c,t,rt,We,ja,he,u,null,-0,0)}}break}while(!0);Ut(l)}function Yr(l,t,e,a,n,u,i,c,r,S,x,T,b,p){if(l.timeoutHandle=-1,T=t.subtreeFlags,T&8192||(T&16785408)===16785408){T={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:qt},Or(t,u,T);var H=(u&62914560)===u?Du-at():(u&4194048)===u?Cr-at():0;if(H=xv(T,H),H!==null){It=u,l.cancelPendingCommit=H(Jr.bind(null,l,t,u,e,a,n,i,c,r,x,T,null,b,p)),Se(l,u,i,!S);return}}Jr(l,t,u,e,a,n,i,c,r)}function Yh(l){for(var t=l;;){var e=t.tag;if((e===0||e===11||e===15)&&t.flags&16384&&(e=t.updateQueue,e!==null&&(e=e.stores,e!==null)))for(var a=0;a<e.length;a++){var n=e[a],u=n.getSnapshot;n=n.value;try{if(!it(u(),n))return!1}catch{return!1}}if(e=t.child,t.subtreeFlags&16384&&e!==null)e.return=t,t=e;else{if(t===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Se(l,t,e,a){t&=~wc,t&=~We,l.suspendedLanes|=t,l.pingedLanes&=~t,a&&(l.warmLanes|=t),a=l.expirationTimes;for(var n=t;0<n;){var u=31-ut(n),i=1<<u;a[u]=-1,n&=~i}e!==0&&wf(l,e,t)}function Cu(){return(ul&6)===0?(_n(0),!1):!0}function Ic(){if(I!==null){if(cl===0)var l=I.return;else l=I,Qt=Xe=null,hc(l),ba=null,en=0,l=I;for(;l!==null;)vr(l.alternate,l),l=l.return;I=null}}function Ma(l,t){var e=l.timeoutHandle;e!==-1&&(l.timeoutHandle=-1,nv(e)),e=l.cancelPendingCommit,e!==null&&(l.cancelPendingCommit=null,e()),It=0,Ic(),hl=l,I=e=Gt(l.current,null),ll=t,cl=0,ot=null,he=!1,Aa=Ga(l,t),Jc=!1,ja=rt=wc=We=ve=El=0,tt=bn=null,$c=!1,(t&8)!==0&&(t|=t&32);var a=l.entangledLanes;if(a!==0)for(l=l.entanglements,a&=t;0<a;){var n=31-ut(a),u=1<<n;t|=l[n],a&=~u}return Ft=t,tu(),e}function Gr(l,t){w=null,z.H=rn,t===Sa||t===su?(t=lo(),cl=3):t===ec?(t=lo(),cl=4):cl=t===Oc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,ot=t,I===null&&(El=1,zu(l,gt(t,l.current)))}function Xr(){var l=ft.current;return l===null?!0:(ll&4194048)===ll?_t===null:(ll&62914560)===ll||(ll&536870912)!==0?l===_t:!1}function Qr(){var l=z.H;return z.H=rn,l===null?rn:l}function Zr(){var l=z.A;return z.A=Bh,l}function Hu(){El=4,he||(ll&4194048)!==ll&&ft.current!==null||(Aa=!0),(ve&134217727)===0&&(We&134217727)===0||hl===null||Se(hl,ll,rt,!1)}function Pc(l,t,e){var a=ul;ul|=2;var n=Qr(),u=Zr();(hl!==l||ll!==t)&&(Ru=null,Ma(l,t)),t=!1;var i=El;l:do try{if(cl!==0&&I!==null){var c=I,r=ot;switch(cl){case 8:Ic(),i=6;break l;case 3:case 2:case 9:case 6:ft.current===null&&(t=!0);var S=cl;if(cl=0,ot=null,Oa(l,c,r,S),e&&Aa){i=0;break l}break;default:S=cl,cl=0,ot=null,Oa(l,c,r,S)}}Gh(),i=El;break}catch(x){Gr(l,x)}while(!0);return t&&l.shellSuspendCounter++,Qt=Xe=null,ul=a,z.H=n,z.A=u,I===null&&(hl=null,ll=0,tu()),i}function Gh(){for(;I!==null;)Lr(I)}function Xh(l,t){var e=ul;ul|=2;var a=Qr(),n=Zr();hl!==l||ll!==t?(Ru=null,Uu=at()+500,Ma(l,t)):Aa=Ga(l,t);l:do try{if(cl!==0&&I!==null){t=I;var u=ot;t:switch(cl){case 1:cl=0,ot=null,Oa(l,t,u,1);break;case 2:case 9:if(Is(u)){cl=0,ot=null,Vr(t);break}t=function(){cl!==2&&cl!==9||hl!==l||(cl=7),Ut(l)},u.then(t,t);break l;case 3:cl=7;break l;case 4:cl=5;break l;case 7:Is(u)?(cl=0,ot=null,Vr(t)):(cl=0,ot=null,Oa(l,t,u,7));break;case 5:var i=null;switch(I.tag){case 26:i=I.memoizedState;case 5:case 27:var c=I;if(i?Md(i):c.stateNode.complete){cl=0,ot=null;var r=c.sibling;if(r!==null)I=r;else{var S=c.return;S!==null?(I=S,Bu(S)):I=null}break t}}cl=0,ot=null,Oa(l,t,u,5);break;case 6:cl=0,ot=null,Oa(l,t,u,6);break;case 8:Ic(),El=6;break l;default:throw Error(o(462))}}Qh();break}catch(x){Gr(l,x)}while(!0);return Qt=Xe=null,z.H=a,z.A=n,ul=e,I!==null?0:(hl=null,ll=0,tu(),El)}function Qh(){for(;I!==null&&!om();)Lr(I)}function Lr(l){var t=mr(l.alternate,l,Ft);l.memoizedProps=l.pendingProps,t===null?Bu(l):I=t}function Vr(l){var t=l,e=t.alternate;switch(t.tag){case 15:case 0:t=cr(e,t,t.pendingProps,t.type,void 0,ll);break;case 11:t=cr(e,t,t.pendingProps,t.type.render,t.ref,ll);break;case 5:hc(t);default:vr(e,t),t=I=Qs(t,Ft),t=mr(e,t,Ft)}l.memoizedProps=l.pendingProps,t===null?Bu(l):I=t}function Oa(l,t,e,a){Qt=Xe=null,hc(t),ba=null,en=0;var n=t.return;try{if(Mh(l,n,t,e,ll)){El=1,zu(l,gt(e,l.current)),I=null;return}}catch(u){if(n!==null)throw I=n,u;El=1,zu(l,gt(e,l.current)),I=null;return}t.flags&32768?(el||a===1?l=!0:Aa||(ll&536870912)!==0?l=!1:(he=l=!0,(a===2||a===9||a===3||a===6)&&(a=ft.current,a!==null&&a.tag===13&&(a.flags|=16384))),Kr(t,l)):Bu(t)}function Bu(l){var t=l;do{if((t.flags&32768)!==0){Kr(t,he);return}l=t.return;var e=Uh(t.alternate,t,Ft);if(e!==null){I=e;return}if(t=t.sibling,t!==null){I=t;return}I=t=l}while(t!==null);El===0&&(El=5)}function Kr(l,t){do{var e=Rh(l.alternate,l);if(e!==null){e.flags&=32767,I=e;return}if(e=l.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!t&&(l=l.sibling,l!==null)){I=l;return}I=l=e}while(l!==null);El=6,I=null}function Jr(l,t,e,a,n,u,i,c,r){l.cancelPendingCommit=null;do qu();while(Bl!==0);if((ul&6)!==0)throw Error(o(327));if(t!==null){if(t===l.current)throw Error(o(177));if(u=t.lanes|t.childLanes,u|=Qi,pm(l,e,u,i,c,r),l===hl&&(I=hl=null,ll=0),Na=t,ge=l,It=e,Wc=u,kc=n,Hr=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,Kh(Gn,function(){return Fr(),null})):(l.callbackNode=null,l.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=z.T,z.T=null,n=R.p,R.p=2,i=ul,ul|=4;try{Ch(l,t,e)}finally{ul=i,R.p=n,z.T=a}}Bl=1,wr(),$r(),Wr()}}function wr(){if(Bl===1){Bl=0;var l=ge,t=Na,e=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||e){e=z.T,z.T=null;var a=R.p;R.p=2;var n=ul;ul|=4;try{jr(t,l);var u=df,i=Us(l.containerInfo),c=u.focusedElem,r=u.selectionRange;if(i!==c&&c&&c.ownerDocument&&Ds(c.ownerDocument.documentElement,c)){if(r!==null&&Bi(c)){var S=r.start,x=r.end;if(x===void 0&&(x=S),"selectionStart"in c)c.selectionStart=S,c.selectionEnd=Math.min(x,c.value.length);else{var T=c.ownerDocument||document,b=T&&T.defaultView||window;if(b.getSelection){var p=b.getSelection(),H=c.textContent.length,Z=Math.min(r.start,H),dl=r.end===void 0?Z:Math.min(r.end,H);!p.extend&&Z>dl&&(i=dl,dl=Z,Z=i);var y=Os(c,Z),h=Os(c,dl);if(y&&h&&(p.rangeCount!==1||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==h.node||p.focusOffset!==h.offset)){var g=T.createRange();g.setStart(y.node,y.offset),p.removeAllRanges(),Z>dl?(p.addRange(g),p.extend(h.node,h.offset)):(g.setEnd(h.node,h.offset),p.addRange(g))}}}}for(T=[],p=c;p=p.parentNode;)p.nodeType===1&&T.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<T.length;c++){var E=T[c];E.element.scrollLeft=E.left,E.element.scrollTop=E.top}}Wu=!!rf,df=rf=null}finally{ul=n,R.p=a,z.T=e}}l.current=t,Bl=2}}function $r(){if(Bl===2){Bl=0;var l=ge,t=Na,e=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||e){e=z.T,z.T=null;var a=R.p;R.p=2;var n=ul;ul|=4;try{xr(l,t.alternate,t)}finally{ul=n,R.p=a,z.T=e}}Bl=3}}function Wr(){if(Bl===4||Bl===3){Bl=0,rm();var l=ge,t=Na,e=It,a=Hr;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Bl=5:(Bl=0,Na=ge=null,kr(l,l.pendingLanes));var n=l.pendingLanes;if(n===0&&(ye=null),gi(e),t=t.stateNode,nt&&typeof nt.onCommitFiberRoot=="function")try{nt.onCommitFiberRoot(Ya,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=z.T,n=R.p,R.p=2,z.T=null;try{for(var u=l.onRecoverableError,i=0;i<a.length;i++){var c=a[i];u(c.value,{componentStack:c.stack})}}finally{z.T=t,R.p=n}}(It&3)!==0&&qu(),Ut(l),n=l.pendingLanes,(e&261930)!==0&&(n&42)!==0?l===Fc?pn++:(pn=0,Fc=l):pn=0,_n(0)}}function kr(l,t){(l.pooledCacheLanes&=t)===0&&(t=l.pooledCache,t!=null&&(l.pooledCache=null,ln(t)))}function qu(){return wr(),$r(),Wr(),Fr()}function Fr(){if(Bl!==5)return!1;var l=ge,t=Wc;Wc=0;var e=gi(It),a=z.T,n=R.p;try{R.p=32>e?32:e,z.T=null,e=kc,kc=null;var u=ge,i=It;if(Bl=0,Na=ge=null,It=0,(ul&6)!==0)throw Error(o(331));var c=ul;if(ul|=4,Ur(u.current),Mr(u,u.current,i,e),ul=c,_n(0,!1),nt&&typeof nt.onPostCommitFiberRoot=="function")try{nt.onPostCommitFiberRoot(Ya,u)}catch{}return!0}finally{R.p=n,z.T=a,kr(l,t)}}function Ir(l,t,e){t=gt(e,t),t=Mc(l.stateNode,t,2),l=oe(l,t,2),l!==null&&(Xa(l,2),Ut(l))}function fl(l,t,e){if(l.tag===3)Ir(l,l,e);else for(;t!==null;){if(t.tag===3){Ir(t,l,e);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(ye===null||!ye.has(a))){l=gt(e,l),e=Po(2),a=oe(t,e,2),a!==null&&(lr(e,a,t,l),Xa(a,2),Ut(a));break}}t=t.return}}function lf(l,t,e){var a=l.pingCache;if(a===null){a=l.pingCache=new qh;var n=new Set;a.set(t,n)}else n=a.get(t),n===void 0&&(n=new Set,a.set(t,n));n.has(e)||(Jc=!0,n.add(e),l=Zh.bind(null,l,t,e),t.then(l,l))}function Zh(l,t,e){var a=l.pingCache;a!==null&&a.delete(t),l.pingedLanes|=l.suspendedLanes&e,l.warmLanes&=~e,hl===l&&(ll&e)===e&&(El===4||El===3&&(ll&62914560)===ll&&300>at()-Du?(ul&2)===0&&Ma(l,0):wc|=e,ja===ll&&(ja=0)),Ut(l)}function Pr(l,t){t===0&&(t=Jf()),l=qe(l,t),l!==null&&(Xa(l,t),Ut(l))}function Lh(l){var t=l.memoizedState,e=0;t!==null&&(e=t.retryLane),Pr(l,e)}function Vh(l,t){var e=0;switch(l.tag){case 31:case 13:var a=l.stateNode,n=l.memoizedState;n!==null&&(e=n.retryLane);break;case 19:a=l.stateNode;break;case 22:a=l.stateNode._retryCache;break;default:throw Error(o(314))}a!==null&&a.delete(t),Pr(l,e)}function Kh(l,t){return mi(l,t)}var Yu=null,Da=null,tf=!1,Gu=!1,ef=!1,be=0;function Ut(l){l!==Da&&l.next===null&&(Da===null?Yu=Da=l:Da=Da.next=l),Gu=!0,tf||(tf=!0,wh())}function _n(l,t){if(!ef&&Gu){ef=!0;do for(var e=!1,a=Yu;a!==null;){if(l!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var i=a.suspendedLanes,c=a.pingedLanes;u=(1<<31-ut(42|l)+1)-1,u&=n&~(i&~c),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(e=!0,ad(a,u))}else u=ll,u=Ln(a,a===hl?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Ga(a,u)||(e=!0,ad(a,u));a=a.next}while(e);ef=!1}}function Jh(){ld()}function ld(){Gu=tf=!1;var l=0;be!==0&&av()&&(l=be);for(var t=at(),e=null,a=Yu;a!==null;){var n=a.next,u=td(a,t);u===0?(a.next=null,e===null?Yu=n:e.next=n,n===null&&(Da=e)):(e=a,(l!==0||(u&3)!==0)&&(Gu=!0)),a=n}Bl!==0&&Bl!==5||_n(l),be!==0&&(be=0)}function td(l,t){for(var e=l.suspendedLanes,a=l.pingedLanes,n=l.expirationTimes,u=l.pendingLanes&-62914561;0<u;){var i=31-ut(u),c=1<<i,r=n[i];r===-1?((c&e)===0||(c&a)!==0)&&(n[i]=bm(c,t)):r<=t&&(l.expiredLanes|=c),u&=~c}if(t=hl,e=ll,e=Ln(l,l===t?e:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a=l.callbackNode,e===0||l===t&&(cl===2||cl===9)||l.cancelPendingCommit!==null)return a!==null&&a!==null&&hi(a),l.callbackNode=null,l.callbackPriority=0;if((e&3)===0||Ga(l,e)){if(t=e&-e,t===l.callbackPriority)return t;switch(a!==null&&hi(a),gi(e)){case 2:case 8:e=Vf;break;case 32:e=Gn;break;case 268435456:e=Kf;break;default:e=Gn}return a=ed.bind(null,l),e=mi(e,a),l.callbackPriority=t,l.callbackNode=e,t}return a!==null&&a!==null&&hi(a),l.callbackPriority=2,l.callbackNode=null,2}function ed(l,t){if(Bl!==0&&Bl!==5)return l.callbackNode=null,l.callbackPriority=0,null;var e=l.callbackNode;if(qu()&&l.callbackNode!==e)return null;var a=ll;return a=Ln(l,l===hl?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a===0?null:(qr(l,a,t),td(l,at()),l.callbackNode!=null&&l.callbackNode===e?ed.bind(null,l):null)}function ad(l,t){if(qu())return null;qr(l,t,!0)}function wh(){uv(function(){(ul&6)!==0?mi(Lf,Jh):ld()})}function af(){if(be===0){var l=ya;l===0&&(l=Xn,Xn<<=1,(Xn&261888)===0&&(Xn=256)),be=l}return be}function nd(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:wn(""+l)}function ud(l,t){var e=t.ownerDocument.createElement("input");return e.name=t.name,e.value=t.value,l.id&&e.setAttribute("form",l.id),t.parentNode.insertBefore(e,t),l=new FormData(l),e.parentNode.removeChild(e),l}function $h(l,t,e,a,n){if(t==="submit"&&e&&e.stateNode===n){var u=nd((n[kl]||null).action),i=a.submitter;i&&(t=(t=i[kl]||null)?nd(t.formAction):i.getAttribute("formAction"),t!==null&&(u=t,i=null));var c=new Fn("action","action",null,a,n);l.push({event:c,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(be!==0){var r=i?ud(n,i):new FormData(n);zc(e,{pending:!0,data:r,method:n.method,action:u},null,r)}}else typeof u=="function"&&(c.preventDefault(),r=i?ud(n,i):new FormData(n),zc(e,{pending:!0,data:r,method:n.method,action:u},u,r))},currentTarget:n}]})}}for(var nf=0;nf<Xi.length;nf++){var uf=Xi[nf],Wh=uf.toLowerCase(),kh=uf[0].toUpperCase()+uf.slice(1);Tt(Wh,"on"+kh)}Tt(Hs,"onAnimationEnd"),Tt(Bs,"onAnimationIteration"),Tt(qs,"onAnimationStart"),Tt("dblclick","onDoubleClick"),Tt("focusin","onFocus"),Tt("focusout","onBlur"),Tt(dh,"onTransitionRun"),Tt(mh,"onTransitionStart"),Tt(hh,"onTransitionCancel"),Tt(Ys,"onTransitionEnd"),ea("onMouseEnter",["mouseout","mouseover"]),ea("onMouseLeave",["mouseout","mouseover"]),ea("onPointerEnter",["pointerout","pointerover"]),ea("onPointerLeave",["pointerout","pointerover"]),Re("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Re("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Re("onBeforeInput",["compositionend","keypress","textInput","paste"]),Re("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Re("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Re("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xn="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(" "),Fh=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(xn));function id(l,t){t=(t&4)!==0;for(var e=0;e<l.length;e++){var a=l[e],n=a.event;a=a.listeners;l:{var u=void 0;if(t)for(var i=a.length-1;0<=i;i--){var c=a[i],r=c.instance,S=c.currentTarget;if(c=c.listener,r!==u&&n.isPropagationStopped())break l;u=c,n.currentTarget=S;try{u(n)}catch(x){lu(x)}n.currentTarget=null,u=r}else for(i=0;i<a.length;i++){if(c=a[i],r=c.instance,S=c.currentTarget,c=c.listener,r!==u&&n.isPropagationStopped())break l;u=c,n.currentTarget=S;try{u(n)}catch(x){lu(x)}n.currentTarget=null,u=r}}}}function P(l,t){var e=t[Si];e===void 0&&(e=t[Si]=new Set);var a=l+"__bubble";e.has(a)||(cd(t,l,2,!1),e.add(a))}function cf(l,t,e){var a=0;t&&(a|=4),cd(e,l,a,t)}var Xu="_reactListening"+Math.random().toString(36).slice(2);function ff(l){if(!l[Xu]){l[Xu]=!0,Pf.forEach(function(e){e!=="selectionchange"&&(Fh.has(e)||cf(e,!1,l),cf(e,!0,l))});var t=l.nodeType===9?l:l.ownerDocument;t===null||t[Xu]||(t[Xu]=!0,cf("selectionchange",!1,t))}}function cd(l,t,e,a){switch(Bd(t)){case 2:var n=Tv;break;case 8:n=Av;break;default:n=zf}e=n.bind(null,t,e,l),n=void 0,!ji||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),a?n!==void 0?l.addEventListener(t,e,{capture:!0,passive:n}):l.addEventListener(t,e,!0):n!==void 0?l.addEventListener(t,e,{passive:n}):l.addEventListener(t,e,!1)}function sf(l,t,e,a,n){var u=a;if((t&1)===0&&(t&2)===0&&a!==null)l:for(;;){if(a===null)return;var i=a.tag;if(i===3||i===4){var c=a.stateNode.containerInfo;if(c===n)break;if(i===4)for(i=a.return;i!==null;){var r=i.tag;if((r===3||r===4)&&i.stateNode.containerInfo===n)return;i=i.return}for(;c!==null;){if(i=Pe(c),i===null)return;if(r=i.tag,r===5||r===6||r===26||r===27){a=u=i;continue l}c=c.parentNode}}a=a.return}rs(function(){var S=u,x=Ti(e),T=[];l:{var b=Gs.get(l);if(b!==void 0){var p=Fn,H=l;switch(l){case"keypress":if(Wn(e)===0)break l;case"keydown":case"keyup":p=Vm;break;case"focusin":H="focus",p=Di;break;case"focusout":H="blur",p=Di;break;case"beforeblur":case"afterblur":p=Di;break;case"click":if(e.button===2)break l;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=hs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=Um;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=wm;break;case Hs:case Bs:case qs:p=Hm;break;case Ys:p=Wm;break;case"scroll":case"scrollend":p=Om;break;case"wheel":p=Fm;break;case"copy":case"cut":case"paste":p=qm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=ys;break;case"toggle":case"beforetoggle":p=Pm}var Z=(t&4)!==0,dl=!Z&&(l==="scroll"||l==="scrollend"),y=Z?b!==null?b+"Capture":null:b;Z=[];for(var h=S,g;h!==null;){var E=h;if(g=E.stateNode,E=E.tag,E!==5&&E!==26&&E!==27||g===null||y===null||(E=La(h,y),E!=null&&Z.push(zn(h,E,g))),dl)break;h=h.return}0<Z.length&&(b=new p(b,H,null,e,x),T.push({event:b,listeners:Z}))}}if((t&7)===0){l:{if(b=l==="mouseover"||l==="pointerover",p=l==="mouseout"||l==="pointerout",b&&e!==Ei&&(H=e.relatedTarget||e.fromElement)&&(Pe(H)||H[Ie]))break l;if((p||b)&&(b=x.window===x?x:(b=x.ownerDocument)?b.defaultView||b.parentWindow:window,p?(H=e.relatedTarget||e.toElement,p=S,H=H?Pe(H):null,H!==null&&(dl=D(H),Z=H.tag,H!==dl||Z!==5&&Z!==27&&Z!==6)&&(H=null)):(p=null,H=S),p!==H)){if(Z=hs,E="onMouseLeave",y="onMouseEnter",h="mouse",(l==="pointerout"||l==="pointerover")&&(Z=ys,E="onPointerLeave",y="onPointerEnter",h="pointer"),dl=p==null?b:Za(p),g=H==null?b:Za(H),b=new Z(E,h+"leave",p,e,x),b.target=dl,b.relatedTarget=g,E=null,Pe(x)===S&&(Z=new Z(y,h+"enter",H,e,x),Z.target=g,Z.relatedTarget=dl,E=Z),dl=E,p&&H)t:{for(Z=Ih,y=p,h=H,g=0,E=y;E;E=Z(E))g++;E=0;for(var X=h;X;X=Z(X))E++;for(;0<g-E;)y=Z(y),g--;for(;0<E-g;)h=Z(h),E--;for(;g--;){if(y===h||h!==null&&y===h.alternate){Z=y;break t}y=Z(y),h=Z(h)}Z=null}else Z=null;p!==null&&fd(T,b,p,Z,!1),H!==null&&dl!==null&&fd(T,dl,H,Z,!0)}}l:{if(b=S?Za(S):window,p=b.nodeName&&b.nodeName.toLowerCase(),p==="select"||p==="input"&&b.type==="file")var al=Es;else if(xs(b))if(Ts)al=sh;else{al=ch;var q=ih}else p=b.nodeName,!p||p.toLowerCase()!=="input"||b.type!=="checkbox"&&b.type!=="radio"?S&&zi(S.elementType)&&(al=Es):al=fh;if(al&&(al=al(l,S))){zs(T,al,e,x);break l}q&&q(l,b,S),l==="focusout"&&S&&b.type==="number"&&S.memoizedProps.value!=null&&xi(b,"number",b.value)}switch(q=S?Za(S):window,l){case"focusin":(xs(q)||q.contentEditable==="true")&&(fa=q,qi=S,Fa=null);break;case"focusout":Fa=qi=fa=null;break;case"mousedown":Yi=!0;break;case"contextmenu":case"mouseup":case"dragend":Yi=!1,Rs(T,e,x);break;case"selectionchange":if(rh)break;case"keydown":case"keyup":Rs(T,e,x)}var $;if(Ri)l:{switch(l){case"compositionstart":var tl="onCompositionStart";break l;case"compositionend":tl="onCompositionEnd";break l;case"compositionupdate":tl="onCompositionUpdate";break l}tl=void 0}else ca?ps(l,e)&&(tl="onCompositionEnd"):l==="keydown"&&e.keyCode===229&&(tl="onCompositionStart");tl&&(gs&&e.locale!=="ko"&&(ca||tl!=="onCompositionStart"?tl==="onCompositionEnd"&&ca&&($=ds()):(ae=x,Ni="value"in ae?ae.value:ae.textContent,ca=!0)),q=Qu(S,tl),0<q.length&&(tl=new vs(tl,l,null,e,x),T.push({event:tl,listeners:q}),$?tl.data=$:($=_s(e),$!==null&&(tl.data=$)))),($=th?eh(l,e):ah(l,e))&&(tl=Qu(S,"onBeforeInput"),0<tl.length&&(q=new vs("onBeforeInput","beforeinput",null,e,x),T.push({event:q,listeners:tl}),q.data=$)),$h(T,l,S,e,x)}id(T,t)})}function zn(l,t,e){return{instance:l,listener:t,currentTarget:e}}function Qu(l,t){for(var e=t+"Capture",a=[];l!==null;){var n=l,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=La(l,e),n!=null&&a.unshift(zn(l,n,u)),n=La(l,t),n!=null&&a.push(zn(l,n,u))),l.tag===3)return a;l=l.return}return[]}function Ih(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function fd(l,t,e,a,n){for(var u=t._reactName,i=[];e!==null&&e!==a;){var c=e,r=c.alternate,S=c.stateNode;if(c=c.tag,r!==null&&r===a)break;c!==5&&c!==26&&c!==27||S===null||(r=S,n?(S=La(e,u),S!=null&&i.unshift(zn(e,S,r))):n||(S=La(e,u),S!=null&&i.push(zn(e,S,r)))),e=e.return}i.length!==0&&l.push({event:t,listeners:i})}var Ph=/\r\n?/g,lv=/\u0000|\uFFFD/g;function sd(l){return(typeof l=="string"?l:""+l).replace(Ph,`
`).replace(lv,"")}function od(l,t){return t=sd(t),sd(l)===t}function rl(l,t,e,a,n,u){switch(e){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||na(l,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&na(l,""+a);break;case"className":Kn(l,"class",a);break;case"tabIndex":Kn(l,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Kn(l,e,a);break;case"style":ss(l,a,u);break;case"data":if(t!=="object"){Kn(l,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||e!=="href")){l.removeAttribute(e);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(e);break}a=wn(""+a),l.setAttribute(e,a);break;case"action":case"formAction":if(typeof a=="function"){l.setAttribute(e,"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"&&(e==="formAction"?(t!=="input"&&rl(l,t,"name",n.name,n,null),rl(l,t,"formEncType",n.formEncType,n,null),rl(l,t,"formMethod",n.formMethod,n,null),rl(l,t,"formTarget",n.formTarget,n,null)):(rl(l,t,"encType",n.encType,n,null),rl(l,t,"method",n.method,n,null),rl(l,t,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(e);break}a=wn(""+a),l.setAttribute(e,a);break;case"onClick":a!=null&&(l.onclick=qt);break;case"onScroll":a!=null&&P("scroll",l);break;case"onScrollEnd":a!=null&&P("scrollend",l);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(e=a.__html,e!=null){if(n.children!=null)throw Error(o(60));l.innerHTML=e}}break;case"multiple":l.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":l.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"){l.removeAttribute("xlink:href");break}e=wn(""+a),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e);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"?l.setAttribute(e,""+a):l.removeAttribute(e);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"?l.setAttribute(e,""):l.removeAttribute(e);break;case"capture":case"download":a===!0?l.setAttribute(e,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,a):l.removeAttribute(e);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?l.setAttribute(e,a):l.removeAttribute(e);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?l.removeAttribute(e):l.setAttribute(e,a);break;case"popover":P("beforetoggle",l),P("toggle",l),Vn(l,"popover",a);break;case"xlinkActuate":Bt(l,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Bt(l,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Bt(l,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Bt(l,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Bt(l,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Bt(l,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Bt(l,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Bt(l,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Bt(l,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Vn(l,"is",a);break;case"innerText":case"textContent":break;default:(!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(e=Nm.get(e)||e,Vn(l,e,a))}}function of(l,t,e,a,n,u){switch(e){case"style":ss(l,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(e=a.__html,e!=null){if(n.children!=null)throw Error(o(60));l.innerHTML=e}}break;case"children":typeof a=="string"?na(l,a):(typeof a=="number"||typeof a=="bigint")&&na(l,""+a);break;case"onScroll":a!=null&&P("scroll",l);break;case"onScrollEnd":a!=null&&P("scrollend",l);break;case"onClick":a!=null&&(l.onclick=qt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ls.hasOwnProperty(e))l:{if(e[0]==="o"&&e[1]==="n"&&(n=e.endsWith("Capture"),t=e.slice(2,n?e.length-7:void 0),u=l[kl]||null,u=u!=null?u[e]:null,typeof u=="function"&&l.removeEventListener(t,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(e in l?l[e]=null:l.hasAttribute(e)&&l.removeAttribute(e)),l.addEventListener(t,a,n);break l}e in l?l[e]=a:a===!0?l.setAttribute(e,""):Vn(l,e,a)}}}function Ll(l,t,e){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":P("error",l),P("load",l);var a=!1,n=!1,u;for(u in e)if(e.hasOwnProperty(u)){var i=e[u];if(i!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:rl(l,t,u,i,e,null)}}n&&rl(l,t,"srcSet",e.srcSet,e,null),a&&rl(l,t,"src",e.src,e,null);return;case"input":P("invalid",l);var c=u=i=n=null,r=null,S=null;for(a in e)if(e.hasOwnProperty(a)){var x=e[a];if(x!=null)switch(a){case"name":n=x;break;case"type":i=x;break;case"checked":r=x;break;case"defaultChecked":S=x;break;case"value":u=x;break;case"defaultValue":c=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(o(137,t));break;default:rl(l,t,a,x,e,null)}}us(l,u,c,r,S,i,n,!1);return;case"select":P("invalid",l),a=i=u=null;for(n in e)if(e.hasOwnProperty(n)&&(c=e[n],c!=null))switch(n){case"value":u=c;break;case"defaultValue":i=c;break;case"multiple":a=c;default:rl(l,t,n,c,e,null)}t=u,e=i,l.multiple=!!a,t!=null?aa(l,!!a,t,!1):e!=null&&aa(l,!!a,e,!0);return;case"textarea":P("invalid",l),u=n=a=null;for(i in e)if(e.hasOwnProperty(i)&&(c=e[i],c!=null))switch(i){case"value":a=c;break;case"defaultValue":n=c;break;case"children":u=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(o(91));break;default:rl(l,t,i,c,e,null)}cs(l,a,n,u);return;case"option":for(r in e)if(e.hasOwnProperty(r)&&(a=e[r],a!=null))switch(r){case"selected":l.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:rl(l,t,r,a,e,null)}return;case"dialog":P("beforetoggle",l),P("toggle",l),P("cancel",l),P("close",l);break;case"iframe":case"object":P("load",l);break;case"video":case"audio":for(a=0;a<xn.length;a++)P(xn[a],l);break;case"image":P("error",l),P("load",l);break;case"details":P("toggle",l);break;case"embed":case"source":case"link":P("error",l),P("load",l);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(S in e)if(e.hasOwnProperty(S)&&(a=e[S],a!=null))switch(S){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:rl(l,t,S,a,e,null)}return;default:if(zi(t)){for(x in e)e.hasOwnProperty(x)&&(a=e[x],a!==void 0&&of(l,t,x,a,e,void 0));return}}for(c in e)e.hasOwnProperty(c)&&(a=e[c],a!=null&&rl(l,t,c,a,e,null))}function tv(l,t,e,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,u=null,i=null,c=null,r=null,S=null,x=null;for(p in e){var T=e[p];if(e.hasOwnProperty(p)&&T!=null)switch(p){case"checked":break;case"value":break;case"defaultValue":r=T;default:a.hasOwnProperty(p)||rl(l,t,p,null,a,T)}}for(var b in a){var p=a[b];if(T=e[b],a.hasOwnProperty(b)&&(p!=null||T!=null))switch(b){case"type":u=p;break;case"name":n=p;break;case"checked":S=p;break;case"defaultChecked":x=p;break;case"value":i=p;break;case"defaultValue":c=p;break;case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(o(137,t));break;default:p!==T&&rl(l,t,b,p,a,T)}}_i(l,i,c,r,S,x,u,n);return;case"select":p=i=c=b=null;for(u in e)if(r=e[u],e.hasOwnProperty(u)&&r!=null)switch(u){case"value":break;case"multiple":p=r;default:a.hasOwnProperty(u)||rl(l,t,u,null,a,r)}for(n in a)if(u=a[n],r=e[n],a.hasOwnProperty(n)&&(u!=null||r!=null))switch(n){case"value":b=u;break;case"defaultValue":c=u;break;case"multiple":i=u;default:u!==r&&rl(l,t,n,u,a,r)}t=c,e=i,a=p,b!=null?aa(l,!!e,b,!1):!!a!=!!e&&(t!=null?aa(l,!!e,t,!0):aa(l,!!e,e?[]:"",!1));return;case"textarea":p=b=null;for(c in e)if(n=e[c],e.hasOwnProperty(c)&&n!=null&&!a.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:rl(l,t,c,null,a,n)}for(i in a)if(n=a[i],u=e[i],a.hasOwnProperty(i)&&(n!=null||u!=null))switch(i){case"value":b=n;break;case"defaultValue":p=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(o(91));break;default:n!==u&&rl(l,t,i,n,a,u)}is(l,b,p);return;case"option":for(var H in e)if(b=e[H],e.hasOwnProperty(H)&&b!=null&&!a.hasOwnProperty(H))switch(H){case"selected":l.selected=!1;break;default:rl(l,t,H,null,a,b)}for(r in a)if(b=a[r],p=e[r],a.hasOwnProperty(r)&&b!==p&&(b!=null||p!=null))switch(r){case"selected":l.selected=b&&typeof b!="function"&&typeof b!="symbol";break;default:rl(l,t,r,b,a,p)}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 Z in e)b=e[Z],e.hasOwnProperty(Z)&&b!=null&&!a.hasOwnProperty(Z)&&rl(l,t,Z,null,a,b);for(S in a)if(b=a[S],p=e[S],a.hasOwnProperty(S)&&b!==p&&(b!=null||p!=null))switch(S){case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(o(137,t));break;default:rl(l,t,S,b,a,p)}return;default:if(zi(t)){for(var dl in e)b=e[dl],e.hasOwnProperty(dl)&&b!==void 0&&!a.hasOwnProperty(dl)&&of(l,t,dl,void 0,a,b);for(x in a)b=a[x],p=e[x],!a.hasOwnProperty(x)||b===p||b===void 0&&p===void 0||of(l,t,x,b,a,p);return}}for(var y in e)b=e[y],e.hasOwnProperty(y)&&b!=null&&!a.hasOwnProperty(y)&&rl(l,t,y,null,a,b);for(T in a)b=a[T],p=e[T],!a.hasOwnProperty(T)||b===p||b==null&&p==null||rl(l,t,T,b,a,p)}function rd(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function ev(){if(typeof performance.getEntriesByType=="function"){for(var l=0,t=0,e=performance.getEntriesByType("resource"),a=0;a<e.length;a++){var n=e[a],u=n.transferSize,i=n.initiatorType,c=n.duration;if(u&&c&&rd(i)){for(i=0,c=n.responseEnd,a+=1;a<e.length;a++){var r=e[a],S=r.startTime;if(S>c)break;var x=r.transferSize,T=r.initiatorType;x&&rd(T)&&(r=r.responseEnd,i+=x*(r<c?1:(c-S)/(r-S)))}if(--a,t+=8*(u+i)/(n.duration/1e3),l++,10<l)break}}if(0<l)return t/l/1e6}return navigator.connection&&(l=navigator.connection.downlink,typeof l=="number")?l:5}var rf=null,df=null;function Zu(l){return l.nodeType===9?l:l.ownerDocument}function dd(l){switch(l){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function md(l,t){if(l===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&t==="foreignObject"?0:l}function mf(l,t){return l==="textarea"||l==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var hf=null;function av(){var l=window.event;return l&&l.type==="popstate"?l===hf?!1:(hf=l,!0):(hf=null,!1)}var hd=typeof setTimeout=="function"?setTimeout:void 0,nv=typeof clearTimeout=="function"?clearTimeout:void 0,vd=typeof Promise=="function"?Promise:void 0,uv=typeof queueMicrotask=="function"?queueMicrotask:typeof vd<"u"?function(l){return vd.resolve(null).then(l).catch(iv)}:hd;function iv(l){setTimeout(function(){throw l})}function pe(l){return l==="head"}function yd(l,t){var e=t,a=0;do{var n=e.nextSibling;if(l.removeChild(e),n&&n.nodeType===8)if(e=n.data,e==="/$"||e==="/&"){if(a===0){l.removeChild(n),Ha(t);return}a--}else if(e==="$"||e==="$?"||e==="$~"||e==="$!"||e==="&")a++;else if(e==="html")En(l.ownerDocument.documentElement);else if(e==="head"){e=l.ownerDocument.head,En(e);for(var u=e.firstChild;u;){var i=u.nextSibling,c=u.nodeName;u[Qa]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&u.rel.toLowerCase()==="stylesheet"||e.removeChild(u),u=i}}else e==="body"&&En(l.ownerDocument.body);e=n}while(e);Ha(t)}function gd(l,t){var e=l;l=0;do{var a=e.nextSibling;if(e.nodeType===1?t?(e._stashedDisplay=e.style.display,e.style.display="none"):(e.style.display=e._stashedDisplay||"",e.getAttribute("style")===""&&e.removeAttribute("style")):e.nodeType===3&&(t?(e._stashedText=e.nodeValue,e.nodeValue=""):e.nodeValue=e._stashedText||""),a&&a.nodeType===8)if(e=a.data,e==="/$"){if(l===0)break;l--}else e!=="$"&&e!=="$?"&&e!=="$~"&&e!=="$!"||l++;e=a}while(e)}function vf(l){var t=l.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var e=t;switch(t=t.nextSibling,e.nodeName){case"HTML":case"HEAD":case"BODY":vf(e),bi(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}l.removeChild(e)}}function cv(l,t,e,a){for(;l.nodeType===1;){var n=e;if(l.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(a){if(!l[Qa])switch(t){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(u=l.getAttribute("rel"),u==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(u!==n.rel||l.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||l.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||l.getAttribute("title")!==(n.title==null?null:n.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(u=l.getAttribute("src"),(u!==(n.src==null?null:n.src)||l.getAttribute("type")!==(n.type==null?null:n.type)||l.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(t==="input"&&l.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&l.getAttribute("name")===u)return l}else return l;if(l=xt(l.nextSibling),l===null)break}return null}function fv(l,t,e){if(t==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!e||(l=xt(l.nextSibling),l===null))return null;return l}function Sd(l,t){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!t||(l=xt(l.nextSibling),l===null))return null;return l}function yf(l){return l.data==="$?"||l.data==="$~"}function gf(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}function sv(l,t){var e=l.ownerDocument;if(l.data==="$~")l._reactRetry=t;else if(l.data!=="$?"||e.readyState!=="loading")t();else{var a=function(){t(),e.removeEventListener("DOMContentLoaded",a)};e.addEventListener("DOMContentLoaded",a),l._reactRetry=a}}function xt(l){for(;l!=null;l=l.nextSibling){var t=l.nodeType;if(t===1||t===3)break;if(t===8){if(t=l.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return l}var Sf=null;function bd(l){l=l.nextSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="/$"||e==="/&"){if(t===0)return xt(l.nextSibling);t--}else e!=="$"&&e!=="$!"&&e!=="$?"&&e!=="$~"&&e!=="&"||t++}l=l.nextSibling}return null}function pd(l){l=l.previousSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"){if(t===0)return l;t--}else e!=="/$"&&e!=="/&"||t++}l=l.previousSibling}return null}function _d(l,t,e){switch(t=Zu(e),l){case"html":if(l=t.documentElement,!l)throw Error(o(452));return l;case"head":if(l=t.head,!l)throw Error(o(453));return l;case"body":if(l=t.body,!l)throw Error(o(454));return l;default:throw Error(o(451))}}function En(l){for(var t=l.attributes;t.length;)l.removeAttributeNode(t[0]);bi(l)}var zt=new Map,xd=new Set;function Lu(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var Pt=R.d;R.d={f:ov,r:rv,D:dv,C:mv,L:hv,m:vv,X:gv,S:yv,M:Sv};function ov(){var l=Pt.f(),t=Cu();return l||t}function rv(l){var t=la(l);t!==null&&t.tag===5&&t.type==="form"?Go(t):Pt.r(l)}var Ua=typeof document>"u"?null:document;function zd(l,t,e){var a=Ua;if(a&&typeof t=="string"&&t){var n=vt(t);n='link[rel="'+l+'"][href="'+n+'"]',typeof e=="string"&&(n+='[crossorigin="'+e+'"]'),xd.has(n)||(xd.add(n),l={rel:l,crossOrigin:e,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),Ll(t,"link",l),ql(t),a.head.appendChild(t)))}}function dv(l){Pt.D(l),zd("dns-prefetch",l,null)}function mv(l,t){Pt.C(l,t),zd("preconnect",l,t)}function hv(l,t,e){Pt.L(l,t,e);var a=Ua;if(a&&l&&t){var n='link[rel="preload"][as="'+vt(t)+'"]';t==="image"&&e&&e.imageSrcSet?(n+='[imagesrcset="'+vt(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(n+='[imagesizes="'+vt(e.imageSizes)+'"]')):n+='[href="'+vt(l)+'"]';var u=n;switch(t){case"style":u=Ra(l);break;case"script":u=Ca(l)}zt.has(u)||(l=O({rel:"preload",href:t==="image"&&e&&e.imageSrcSet?void 0:l,as:t},e),zt.set(u,l),a.querySelector(n)!==null||t==="style"&&a.querySelector(Tn(u))||t==="script"&&a.querySelector(An(u))||(t=a.createElement("link"),Ll(t,"link",l),ql(t),a.head.appendChild(t)))}}function vv(l,t){Pt.m(l,t);var e=Ua;if(e&&l){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+vt(a)+'"][href="'+vt(l)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Ca(l)}if(!zt.has(u)&&(l=O({rel:"modulepreload",href:l},t),zt.set(u,l),e.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(An(u)))return}a=e.createElement("link"),Ll(a,"link",l),ql(a),e.head.appendChild(a)}}}function yv(l,t,e){Pt.S(l,t,e);var a=Ua;if(a&&l){var n=ta(a).hoistableStyles,u=Ra(l);t=t||"default";var i=n.get(u);if(!i){var c={loading:0,preload:null};if(i=a.querySelector(Tn(u)))c.loading=5;else{l=O({rel:"stylesheet",href:l,"data-precedence":t},e),(e=zt.get(u))&&bf(l,e);var r=i=a.createElement("link");ql(r),Ll(r,"link",l),r._p=new Promise(function(S,x){r.onload=S,r.onerror=x}),r.addEventListener("load",function(){c.loading|=1}),r.addEventListener("error",function(){c.loading|=2}),c.loading|=4,Vu(i,t,a)}i={type:"stylesheet",instance:i,count:1,state:c},n.set(u,i)}}}function gv(l,t){Pt.X(l,t);var e=Ua;if(e&&l){var a=ta(e).hoistableScripts,n=Ca(l),u=a.get(n);u||(u=e.querySelector(An(n)),u||(l=O({src:l,async:!0},t),(t=zt.get(n))&&pf(l,t),u=e.createElement("script"),ql(u),Ll(u,"link",l),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Sv(l,t){Pt.M(l,t);var e=Ua;if(e&&l){var a=ta(e).hoistableScripts,n=Ca(l),u=a.get(n);u||(u=e.querySelector(An(n)),u||(l=O({src:l,async:!0,type:"module"},t),(t=zt.get(n))&&pf(l,t),u=e.createElement("script"),ql(u),Ll(u,"link",l),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Ed(l,t,e,a){var n=(n=F.current)?Lu(n):null;if(!n)throw Error(o(446));switch(l){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(t=Ra(e.href),e=ta(n).hoistableStyles,a=e.get(t),a||(a={type:"style",instance:null,count:0,state:null},e.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(e.rel==="stylesheet"&&typeof e.href=="string"&&typeof e.precedence=="string"){l=Ra(e.href);var u=ta(n).hoistableStyles,i=u.get(l);if(i||(n=n.ownerDocument||n,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(l,i),(u=n.querySelector(Tn(l)))&&!u._p&&(i.instance=u,i.state.loading=5),zt.has(l)||(e={rel:"preload",as:"style",href:e.href,crossOrigin:e.crossOrigin,integrity:e.integrity,media:e.media,hrefLang:e.hrefLang,referrerPolicy:e.referrerPolicy},zt.set(l,e),u||bv(n,l,e,i.state))),t&&a===null)throw Error(o(528,""));return i}if(t&&a!==null)throw Error(o(529,""));return null;case"script":return t=e.async,e=e.src,typeof e=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ca(e),e=ta(n).hoistableScripts,a=e.get(t),a||(a={type:"script",instance:null,count:0,state:null},e.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,l))}}function Ra(l){return'href="'+vt(l)+'"'}function Tn(l){return'link[rel="stylesheet"]['+l+"]"}function Td(l){return O({},l,{"data-precedence":l.precedence,precedence:null})}function bv(l,t,e,a){l.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=l.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),Ll(t,"link",e),ql(t),l.head.appendChild(t))}function Ca(l){return'[src="'+vt(l)+'"]'}function An(l){return"script[async]"+l}function Ad(l,t,e){if(t.count++,t.instance===null)switch(t.type){case"style":var a=l.querySelector('style[data-href~="'+vt(e.href)+'"]');if(a)return t.instance=a,ql(a),a;var n=O({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),ql(a),Ll(a,"style",n),Vu(a,e.precedence,l),t.instance=a;case"stylesheet":n=Ra(e.href);var u=l.querySelector(Tn(n));if(u)return t.state.loading|=4,t.instance=u,ql(u),u;a=Td(e),(n=zt.get(n))&&bf(a,n),u=(l.ownerDocument||l).createElement("link"),ql(u);var i=u;return i._p=new Promise(function(c,r){i.onload=c,i.onerror=r}),Ll(u,"link",a),t.state.loading|=4,Vu(u,e.precedence,l),t.instance=u;case"script":return u=Ca(e.src),(n=l.querySelector(An(u)))?(t.instance=n,ql(n),n):(a=e,(n=zt.get(u))&&(a=O({},e),pf(a,n)),l=l.ownerDocument||l,n=l.createElement("script"),ql(n),Ll(n,"link",a),l.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Vu(a,e.precedence,l));return t.instance}function Vu(l,t,e){for(var a=e.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,i=0;i<a.length;i++){var c=a[i];if(c.dataset.precedence===t)u=c;else if(u!==n)break}u?u.parentNode.insertBefore(l,u.nextSibling):(t=e.nodeType===9?e.head:e,t.insertBefore(l,t.firstChild))}function bf(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.title==null&&(l.title=t.title)}function pf(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.integrity==null&&(l.integrity=t.integrity)}var Ku=null;function jd(l,t,e){if(Ku===null){var a=new Map,n=Ku=new Map;n.set(e,a)}else n=Ku,a=n.get(e),a||(a=new Map,n.set(e,a));if(a.has(l))return a;for(a.set(l,null),e=e.getElementsByTagName(l),n=0;n<e.length;n++){var u=e[n];if(!(u[Qa]||u[Gl]||l==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var i=u.getAttribute(t)||"";i=l+i;var c=a.get(i);c?c.push(u):a.set(i,[u])}}return a}function Nd(l,t,e){l=l.ownerDocument||l,l.head.insertBefore(e,t==="title"?l.querySelector("head > title"):null)}function pv(l,t,e){if(e===1||t.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return l=t.disabled,typeof t.precedence=="string"&&l==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Md(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}function _v(l,t,e,a){if(e.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var n=Ra(a.href),u=t.querySelector(Tn(n));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=Ju.bind(l),t.then(l,l)),e.state.loading|=4,e.instance=u,ql(u);return}u=t.ownerDocument||t,a=Td(a),(n=zt.get(n))&&bf(a,n),u=u.createElement("link"),ql(u);var i=u;i._p=new Promise(function(c,r){i.onload=c,i.onerror=r}),Ll(u,"link",a),e.instance=u}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(l.count++,e=Ju.bind(l),t.addEventListener("load",e),t.addEventListener("error",e))}}var _f=0;function xv(l,t){return l.stylesheets&&l.count===0&&$u(l,l.stylesheets),0<l.count||0<l.imgCount?function(e){var a=setTimeout(function(){if(l.stylesheets&&$u(l,l.stylesheets),l.unsuspend){var u=l.unsuspend;l.unsuspend=null,u()}},6e4+t);0<l.imgBytes&&_f===0&&(_f=62500*ev());var n=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&$u(l,l.stylesheets),l.unsuspend)){var u=l.unsuspend;l.unsuspend=null,u()}},(l.imgBytes>_f?50:800)+t);return l.unsuspend=e,function(){l.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function Ju(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)$u(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var wu=null;function $u(l,t){l.stylesheets=null,l.unsuspend!==null&&(l.count++,wu=new Map,t.forEach(zv,l),wu=null,Ju.call(l))}function zv(l,t){if(!(t.state.loading&4)){var e=wu.get(l);if(e)var a=e.get(null);else{e=new Map,wu.set(l,e);for(var n=l.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var i=n[u];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(e.set(i.dataset.precedence,i),a=i)}a&&e.set(null,a)}n=t.instance,i=n.getAttribute("data-precedence"),u=e.get(i)||a,u===a&&e.set(null,n),e.set(i,n),this.count++,a=Ju.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(n,l.firstChild)),t.state.loading|=4}}var jn={$$typeof:_l,Provider:null,Consumer:null,_currentValue:L,_currentValue2:L,_threadCount:0};function Ev(l,t,e,a,n,u,i,c,r){this.tag=1,this.containerInfo=l,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=vi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vi(0),this.hiddenUpdates=vi(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=r,this.incompleteTransitions=new Map}function Od(l,t,e,a,n,u,i,c,r,S,x,T){return l=new Ev(l,t,e,i,r,S,x,T,c),t=1,u===!0&&(t|=24),u=ct(3,null,null,t),l.current=u,u.stateNode=l,t=Pi(),t.refCount++,l.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:e,cache:t},ac(u),l}function Dd(l){return l?(l=ra,l):ra}function Ud(l,t,e,a,n,u){n=Dd(n),a.context===null?a.context=n:a.pendingContext=n,a=se(t),a.payload={element:e},u=u===void 0?null:u,u!==null&&(a.callback=u),e=oe(l,a,t),e!==null&&(et(e,l,t),nn(e,l,t))}function Rd(l,t){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var e=l.retryLane;l.retryLane=e!==0&&e<t?e:t}}function xf(l,t){Rd(l,t),(l=l.alternate)&&Rd(l,t)}function Cd(l){if(l.tag===13||l.tag===31){var t=qe(l,67108864);t!==null&&et(t,l,67108864),xf(l,67108864)}}function Hd(l){if(l.tag===13||l.tag===31){var t=dt();t=yi(t);var e=qe(l,t);e!==null&&et(e,l,t),xf(l,t)}}var Wu=!0;function Tv(l,t,e,a){var n=z.T;z.T=null;var u=R.p;try{R.p=2,zf(l,t,e,a)}finally{R.p=u,z.T=n}}function Av(l,t,e,a){var n=z.T;z.T=null;var u=R.p;try{R.p=8,zf(l,t,e,a)}finally{R.p=u,z.T=n}}function zf(l,t,e,a){if(Wu){var n=Ef(a);if(n===null)sf(l,t,a,ku,e),qd(l,a);else if(Nv(n,l,t,e,a))a.stopPropagation();else if(qd(l,a),t&4&&-1<jv.indexOf(l)){for(;n!==null;){var u=la(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var i=Ue(u.pendingLanes);if(i!==0){var c=u;for(c.pendingLanes|=2,c.entangledLanes|=2;i;){var r=1<<31-ut(i);c.entanglements[1]|=r,i&=~r}Ut(u),(ul&6)===0&&(Uu=at()+500,_n(0))}}break;case 31:case 13:c=qe(u,2),c!==null&&et(c,u,2),Cu(),xf(u,2)}if(u=Ef(a),u===null&&sf(l,t,a,ku,e),u===n)break;n=u}n!==null&&a.stopPropagation()}else sf(l,t,a,null,e)}}function Ef(l){return l=Ti(l),Tf(l)}var ku=null;function Tf(l){if(ku=null,l=Pe(l),l!==null){var t=D(l);if(t===null)l=null;else{var e=t.tag;if(e===13){if(l=M(t),l!==null)return l;l=null}else if(e===31){if(l=U(t),l!==null)return l;l=null}else if(e===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;l=null}else t!==l&&(l=null)}}return ku=l,null}function Bd(l){switch(l){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(dm()){case Lf:return 2;case Vf:return 8;case Gn:case mm:return 32;case Kf:return 268435456;default:return 32}default:return 32}}var Af=!1,_e=null,xe=null,ze=null,Nn=new Map,Mn=new Map,Ee=[],jv="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 qd(l,t){switch(l){case"focusin":case"focusout":_e=null;break;case"dragenter":case"dragleave":xe=null;break;case"mouseover":case"mouseout":ze=null;break;case"pointerover":case"pointerout":Nn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mn.delete(t.pointerId)}}function On(l,t,e,a,n,u){return l===null||l.nativeEvent!==u?(l={blockedOn:t,domEventName:e,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},t!==null&&(t=la(t),t!==null&&Cd(t)),l):(l.eventSystemFlags|=a,t=l.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),l)}function Nv(l,t,e,a,n){switch(t){case"focusin":return _e=On(_e,l,t,e,a,n),!0;case"dragenter":return xe=On(xe,l,t,e,a,n),!0;case"mouseover":return ze=On(ze,l,t,e,a,n),!0;case"pointerover":var u=n.pointerId;return Nn.set(u,On(Nn.get(u)||null,l,t,e,a,n)),!0;case"gotpointercapture":return u=n.pointerId,Mn.set(u,On(Mn.get(u)||null,l,t,e,a,n)),!0}return!1}function Yd(l){var t=Pe(l.target);if(t!==null){var e=D(t);if(e!==null){if(t=e.tag,t===13){if(t=M(e),t!==null){l.blockedOn=t,Ff(l.priority,function(){Hd(e)});return}}else if(t===31){if(t=U(e),t!==null){l.blockedOn=t,Ff(l.priority,function(){Hd(e)});return}}else if(t===3&&e.stateNode.current.memoizedState.isDehydrated){l.blockedOn=e.tag===3?e.stateNode.containerInfo:null;return}}}l.blockedOn=null}function Fu(l){if(l.blockedOn!==null)return!1;for(var t=l.targetContainers;0<t.length;){var e=Ef(l.nativeEvent);if(e===null){e=l.nativeEvent;var a=new e.constructor(e.type,e);Ei=a,e.target.dispatchEvent(a),Ei=null}else return t=la(e),t!==null&&Cd(t),l.blockedOn=e,!1;t.shift()}return!0}function Gd(l,t,e){Fu(l)&&e.delete(t)}function Mv(){Af=!1,_e!==null&&Fu(_e)&&(_e=null),xe!==null&&Fu(xe)&&(xe=null),ze!==null&&Fu(ze)&&(ze=null),Nn.forEach(Gd),Mn.forEach(Gd)}function Iu(l,t){l.blockedOn===t&&(l.blockedOn=null,Af||(Af=!0,f.unstable_scheduleCallback(f.unstable_NormalPriority,Mv)))}var Pu=null;function Xd(l){Pu!==l&&(Pu=l,f.unstable_scheduleCallback(f.unstable_NormalPriority,function(){Pu===l&&(Pu=null);for(var t=0;t<l.length;t+=3){var e=l[t],a=l[t+1],n=l[t+2];if(typeof a!="function"){if(Tf(a||e)===null)continue;break}var u=la(e);u!==null&&(l.splice(t,3),t-=3,zc(u,{pending:!0,data:n,method:e.method,action:a},a,n))}}))}function Ha(l){function t(r){return Iu(r,l)}_e!==null&&Iu(_e,l),xe!==null&&Iu(xe,l),ze!==null&&Iu(ze,l),Nn.forEach(t),Mn.forEach(t);for(var e=0;e<Ee.length;e++){var a=Ee[e];a.blockedOn===l&&(a.blockedOn=null)}for(;0<Ee.length&&(e=Ee[0],e.blockedOn===null);)Yd(e),e.blockedOn===null&&Ee.shift();if(e=(l.ownerDocument||l).$$reactFormReplay,e!=null)for(a=0;a<e.length;a+=3){var n=e[a],u=e[a+1],i=n[kl]||null;if(typeof u=="function")i||Xd(e);else if(i){var c=null;if(u&&u.hasAttribute("formAction")){if(n=u,i=u[kl]||null)c=i.formAction;else if(Tf(n)!==null)continue}else c=i.action;typeof c=="function"?e[a+1]=c:(e.splice(a,3),a-=3),Xd(e)}}}function Qd(){function l(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(i){return n=i})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),a||setTimeout(e,20)}function e(){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",l),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(e,100),function(){a=!0,navigation.removeEventListener("navigate",l),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function jf(l){this._internalRoot=l}li.prototype.render=jf.prototype.render=function(l){var t=this._internalRoot;if(t===null)throw Error(o(409));var e=t.current,a=dt();Ud(e,a,l,t,null,null)},li.prototype.unmount=jf.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var t=l.containerInfo;Ud(l.current,2,null,l,null,null),Cu(),t[Ie]=null}};function li(l){this._internalRoot=l}li.prototype.unstable_scheduleHydration=function(l){if(l){var t=kf();l={blockedOn:null,target:l,priority:t};for(var e=0;e<Ee.length&&t!==0&&t<Ee[e].priority;e++);Ee.splice(e,0,l),e===0&&Yd(l)}};var Zd=d.version;if(Zd!=="19.2.4")throw Error(o(527,Zd,"19.2.4"));R.findDOMNode=function(l){var t=l._reactInternals;if(t===void 0)throw typeof l.render=="function"?Error(o(188)):(l=Object.keys(l).join(","),Error(o(268,l)));return l=_(t),l=l!==null?G(l):null,l=l===null?null:l.stateNode,l};var Ov={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:z,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ti=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ti.isDisabled&&ti.supportsFiber)try{Ya=ti.inject(Ov),nt=ti}catch{}}return Un.createRoot=function(l,t){if(!j(l))throw Error(o(299));var e=!1,a="",n=Wo,u=ko,i=Fo;return t!=null&&(t.unstable_strictMode===!0&&(e=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Od(l,1,!1,null,null,e,a,null,n,u,i,Qd),l[Ie]=t.current,ff(l),new jf(t)},Un.hydrateRoot=function(l,t,e){if(!j(l))throw Error(o(299));var a=!1,n="",u=Wo,i=ko,c=Fo,r=null;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(i=e.onCaughtError),e.onRecoverableError!==void 0&&(c=e.onRecoverableError),e.formState!==void 0&&(r=e.formState)),t=Od(l,1,!0,t,e??null,a,n,r,u,i,c,Qd),t.context=Dd(null),e=t.current,a=dt(),a=yi(a),n=se(a),n.callback=null,oe(e,n,a),e=a,t.current.lanes=e,Xa(t,e),Ut(t),l[Ie]=t.current,ff(l),new li(t)},Un.version="19.2.4",Un}var Id;function Qv(){if(Id)return Of.exports;Id=1;function f(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(f)}catch(d){console.error(d)}}return f(),Of.exports=Xv(),Of.exports}var Zv=Qv();const Lv="_header_1aonr_1",Vv="_nav_1aonr_11",Kv="_crumbWrap_1aonr_18",Jv="_separator_1aonr_24",wv="_link_1aonr_29",$v="_active_1aonr_40",Wv="_right_1aonr_46",Ae={header:Lv,nav:Vv,crumbWrap:Kv,separator:Jv,link:wv,active:$v,right:Wv};function Hn({bootstrap:f,crumbs:d,right:m}){const o=[{label:"Dashboard",href:`${f.app_path}/`},...d??[]];return s.jsxs("header",{className:Ae.header,children:[s.jsx("nav",{className:Ae.nav,children:o.map((j,D)=>s.jsxs("span",{className:Ae.crumbWrap,children:[D>0&&s.jsx("span",{className:Ae.separator,children:"/"}),j.href&&D<o.length-1?s.jsx("a",{className:Ae.link,href:j.href,children:j.label}):s.jsx("span",{className:D===o.length-1?Ae.active:Ae.link,children:j.label})]},j.label))}),m&&s.jsx("div",{className:Ae.right,children:m})]})}function Bn({children:f}){return s.jsx("div",{className:"page-shell",children:f})}async function le(f,d="GET",m=null){const o={method:d,headers:{"Content-Type":"application/json"}};m!==null&&(o.body=JSON.stringify(m));const j=await fetch(f,o);if(!j.ok)throw new Error(String(j.status));return await j.json()}function kv(f){return f==="hijack"?"hijack":"open"}function qn(f){return{sessionId:f.session_id,displayName:f.display_name,connectorType:f.connector_type,lifecycleState:f.lifecycle_state,inputMode:kv(f.input_mode),connected:f.connected,autoStart:f.auto_start,tags:[...f.tags],recordingEnabled:f.recording_enabled,recordingAvailable:f.recording_available,owner:f.owner??null,visibility:f.visibility??"public",lastError:f.last_error}}function Fv(f){return f.map(d=>{const m=d.data??{};return{ts:typeof d.ts=="number"?d.ts:null,event:typeof d.event=="string"?d.event:"unknown",payload:m,screen:typeof m.screen=="string"?m.screen:""}})}async function Iv(){return(await le("/api/sessions")).map(d=>qn(d))}async function Pv(f){const d=await le(`/api/sessions/${encodeURIComponent(f)}`);return qn(d)}async function l0(f){var o;const[d,m]=await Promise.all([Pv(f),le(`/api/sessions/${encodeURIComponent(f)}/snapshot`)]);return{summary:d,snapshotPromptId:((o=m==null?void 0:m.prompt_detected)==null?void 0:o.prompt_id)??null}}async function t0(f,d){const m=await le(`/api/sessions/${encodeURIComponent(f)}/mode`,"POST",{input_mode:d});return qn(m)}async function e0(f){const d=await le(`/api/sessions/${encodeURIComponent(f)}/clear`,"POST");return qn(d)}async function um(f){const d=await le(`/api/sessions/${encodeURIComponent(f)}/restart`,"POST");return qn(d)}async function a0(f){return(await le(`/api/sessions/${encodeURIComponent(f)}/analyze`,"POST")).analysis}async function n0(f,d,m){const o=new URLSearchParams;o.set("limit",String(m)),d&&o.set("event",d);const j=await le(`/api/sessions/${encodeURIComponent(f)}/recording/entries?${o.toString()}`);return Fv(j)}async function u0(f){return le("/api/connect","POST",f)}const i0="_content_xc9rj_1",c0="_section_xc9rj_7",f0="_sectionLabel_xc9rj_11",s0="_presetGrid_xc9rj_19",o0="_divider_xc9rj_31",r0="_formGrid_xc9rj_37",d0="_formRow_xc9rj_50",m0="_shortcutGrid_xc9rj_58",h0="_shortcutRow_xc9rj_71",v0="_kbd_xc9rj_77",$l={content:i0,section:c0,sectionLabel:f0,presetGrid:s0,divider:o0,formGrid:r0,formRow:d0,shortcutGrid:m0,shortcutRow:h0,kbd:v0};function y0({bootstrap:f}){const[d,m]=bl.useState("telnet"),[o,j]=bl.useState(""),[D,M]=bl.useState("23"),[U,N]=bl.useState(!1),[_,G]=bl.useState(""),[O,Y]=bl.useState(""),[V,Q]=bl.useState(!0),[pl,Tl]=bl.useState(!1),[Hl,Kl]=bl.useState(""),[_l,xl]=bl.useState(!1),Al=d==="ssh"||d==="telnet";function jl(k){m(k),U||M(k==="telnet"?"23":"22")}async function W(k){if(k.preventDefault(),Kl(""),Al&&!o.trim()){Kl(`Host is required for ${d.toUpperCase()} connections.`);return}xl(!0);try{const gl={connector_type:d};Al&&(gl.host=o.trim(),gl.port=parseInt(D,10)||(d==="telnet"?23:22)),d==="ssh"&&(_.trim()&&(gl.username=_.trim()),O&&(gl.password=O)),V&&(gl.recording_enabled=!0),pl&&(gl.auto_start=!0);const Nt=await u0(gl);Al&&b0({host:o.trim(),transport:d,port:parseInt(D,10)||23,lastUsed:new Date().toISOString()}),window.location.href=Nt.url}catch(gl){Kl(gl instanceof Error?gl.message:"Connection failed."),xl(!1)}}return s.jsxs("form",{onSubmit:k=>void W(k),children:[s.jsxs("div",{className:$l.formGrid,children:[s.jsxs("label",{children:[s.jsx("span",{className:"form-label",children:"Host"}),s.jsx("input",{type:"text",value:Al?o:"(local)",onChange:Al?k=>j(k.target.value):void 0,placeholder:"bbs.example.com",disabled:!Al,readOnly:!Al})]}),s.jsxs("label",{children:[s.jsx("span",{className:"form-label",children:"Transport"}),s.jsxs("select",{value:d,onChange:k=>jl(k.target.value),children:[s.jsx("option",{value:"telnet",children:"telnet"}),s.jsx("option",{value:"ssh",children:"ssh"}),s.jsx("option",{value:"shell",children:"shell"})]})]}),s.jsxs("label",{children:[s.jsx("span",{className:"form-label",children:"Port"}),s.jsx("input",{type:"text",value:D,onChange:k=>{M(k.target.value),N(!0)},placeholder:"23",disabled:!Al})]})]}),d==="ssh"&&s.jsxs("div",{className:"ssh-grid",children:[s.jsxs("label",{children:[s.jsx("span",{className:"form-label",children:"Username"}),s.jsx("input",{type:"text",value:_,onChange:k=>G(k.target.value),placeholder:"username"})]}),s.jsxs("label",{children:[s.jsx("span",{className:"form-label",children:"Password"}),s.jsx("input",{type:"password",value:O,onChange:k=>Y(k.target.value),placeholder:"password"})]})]}),s.jsxs("div",{className:$l.formRow,children:[s.jsxs("label",{className:"checkbox-label",children:[s.jsx("input",{type:"checkbox",checked:V,onChange:k=>Q(k.target.checked),className:"checkbox-input"}),"Record session"]}),s.jsxs("label",{className:"checkbox-label ml-16",children:[s.jsx("input",{type:"checkbox",checked:pl,onChange:k=>Tl(k.target.checked),className:"checkbox-input"}),"Auto-reconnect"]}),s.jsx("div",{className:"flex-spacer"}),s.jsx("button",{type:"submit",disabled:_l,className:"btn-primary btn-connect",children:_l?"Connecting…":"Connect"})]}),Hl&&s.jsx("div",{className:"error-text mt-8",children:Hl})]})}function g0(f){const d=Date.now()-new Date(f).getTime(),m=Math.floor(d/36e5);return m<1?"just now":m<24?`${m}h ago`:`${Math.floor(m/24)}d ago`}function S0({connection:f}){return s.jsxs("div",{className:"preset-card",children:[s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6,marginBottom:4},children:[s.jsx("div",{className:"status-dot",style:{background:"var(--text-tertiary)"}}),s.jsx("span",{style:{fontSize:13,fontWeight:500},children:f.host})]}),s.jsxs("div",{style:{fontSize:11,color:"var(--text-secondary)"},children:[f.transport,":",f.port," · last used ",g0(f.lastUsed)]})]})}function im(){try{const f=localStorage.getItem("uterm-recent-connections");return f?JSON.parse(f):[]}catch{return[]}}function b0(f){const d=im().filter(m=>!(m.host===f.host&&m.transport===f.transport&&m.port===f.port));d.unshift(f),localStorage.setItem("uterm-recent-connections",JSON.stringify(d.slice(0,6)))}function p0({bootstrap:f}){const d=im();return s.jsxs(Bn,{children:[s.jsx(Hn,{bootstrap:f,crumbs:[{label:"Quick connect"}]}),s.jsxs("div",{className:$l.content,children:[d.length>0&&s.jsxs("div",{className:$l.section,children:[s.jsx("div",{className:$l.sectionLabel,children:"Recent connections"}),s.jsx("div",{className:$l.presetGrid,children:d.slice(0,3).map(m=>s.jsx(S0,{connection:m},`${m.host}:${m.port}`))})]}),s.jsx("div",{className:$l.divider}),s.jsxs("div",{className:$l.section,children:[s.jsx("div",{className:$l.sectionLabel,children:"New connection"}),s.jsx(y0,{bootstrap:f})]}),s.jsx("div",{className:$l.divider}),s.jsxs("div",{className:$l.section,children:[s.jsx("div",{className:$l.sectionLabel,children:"Keyboard shortcuts"}),s.jsxs("div",{className:$l.shortcutGrid,children:[s.jsx(ai,{label:"Focus terminal",keys:"Esc"}),s.jsx(ai,{label:"Toggle settings",keys:"Ctrl+,"}),s.jsx(ai,{label:"Switch mode",keys:"Ctrl+M"}),s.jsx(ai,{label:"Command palette",keys:"Ctrl+K"})]})]})]})]})}function ai({label:f,keys:d}){return s.jsxs("div",{className:$l.shortcutRow,children:[s.jsx("span",{children:f}),s.jsx("kbd",{className:$l.kbd,children:d})]})}const Pd=f=>{let d;const m=new Set,o=(_,G)=>{const O=typeof _=="function"?_(d):_;if(!Object.is(O,d)){const Y=d;d=G??(typeof O!="object"||O===null)?O:Object.assign({},d,O),m.forEach(V=>V(d,Y))}},j=()=>d,U={setState:o,getState:j,getInitialState:()=>N,subscribe:_=>(m.add(_),()=>m.delete(_))},N=d=f(o,j,U);return U},_0=(f=>f?Pd(f):Pd),x0=f=>f;function z0(f,d=x0){const m=ei.useSyncExternalStore(f.subscribe,ei.useCallback(()=>d(f.getState()),[f,d]),ei.useCallback(()=>d(f.getInitialState()),[f,d]));return ei.useDebugValue(m),m}const lm=f=>{const d=_0(f),m=o=>z0(d,o);return Object.assign(m,d),m},fi=(f=>f?lm(f):lm),Yf=fi((f,d)=>({sessions:[],filter:"",loading:!1,error:null,setFilter:m=>f({filter:m}),refresh:async()=>{f({loading:!0,error:null});try{const m=await Iv();f({sessions:m,loading:!1})}catch(m){f({error:String(m),loading:!1})}},restart:async m=>{try{await um(m),await d().refresh()}catch(o){f({error:`Restart failed: ${String(o)}`})}}}));function E0({value:f,onChange:d,placeholder:m="Filter..."}){return s.jsx("input",{type:"text",value:f,onChange:o=>d(o.target.value),placeholder:m,className:"filter-input"})}function ni({label:f,value:d,color:m}){return s.jsxs("div",{className:"card",children:[s.jsx("div",{className:"card-label",children:f}),s.jsx("div",{className:"card-value",style:{color:m??"var(--text-primary)"},children:d})]})}const T0={bg:"transparent",color:"var(--text-tertiary)"},A0={ok:{bg:"var(--bg-success)",color:"var(--text-success)",glowColor:"var(--success)"},error:{bg:"var(--bg-danger)",color:"var(--text-danger)",glowColor:"var(--danger)"},info:{bg:"var(--bg-info)",color:"var(--text-info)",glowColor:"var(--info)"},warning:{bg:"var(--bg-warning)",color:"var(--text-warning)",glowColor:"var(--warning)"},neutral:T0};function Fe({tone:f,children:d,glow:m}){const o=A0[f];return s.jsx("span",{style:{fontSize:11,padding:"2px 8px",borderRadius:"var(--radius-pill)",background:o.bg,color:o.color,border:f==="neutral"?"0.5px solid var(--border-primary)":"none",boxShadow:m&&o.glowColor?`0 0 6px ${o.glowColor}`:void 0,whiteSpace:"nowrap"},children:d})}const j0="_row_xm6g2_1",N0="_dot_xm6g2_20",M0="_info_xm6g2_27",O0="_nameRow_xm6g2_32",D0="_name_xm6g2_32",U0="_meta_xm6g2_44",R0="_actions_xm6g2_50",ke={row:j0,dot:N0,info:M0,nameRow:O0,name:D0,meta:U0,actions:R0};function C0({session:f,bootstrap:d}){const m=Yf(M=>M.restart),o=d.app_path,j=f.lastError!==null,D=j?"var(--danger)":f.connected?"var(--success)":"var(--text-tertiary)";return s.jsxs("div",{className:ke.row,"data-dimmed":!f.connected&&!j?"":void 0,children:[s.jsx("div",{className:ke.dot,style:{background:D,boxShadow:f.connected||j?`0 0 6px ${D}`:void 0}}),s.jsxs("div",{className:ke.info,children:[s.jsxs("div",{className:ke.nameRow,children:[s.jsx("span",{className:ke.name,children:f.displayName}),s.jsx(Fe,{tone:f.connected?"ok":j?"error":"neutral",children:f.connected?"Live":j?"Error":"Stopped"}),s.jsx(Fe,{tone:"neutral",children:f.connectorType}),f.recordingEnabled&&s.jsx(Fe,{tone:"warning",children:"rec"}),f.visibility!=="public"&&s.jsx(Fe,{tone:"neutral",children:f.visibility})]}),s.jsxs("div",{className:ke.meta,children:[f.inputMode==="open"?"Shared":"Exclusive"," mode",j&&` · ${f.lastError}`]})]}),s.jsxs("div",{className:ke.actions,children:[s.jsx("a",{className:"action-link",href:`${o}/operator/${encodeURIComponent(f.sessionId)}`,children:"Operate"}),f.connected&&s.jsx("a",{className:"action-link",href:`${o}/session/${encodeURIComponent(f.sessionId)}`,children:"View"}),f.recordingAvailable&&s.jsx("a",{className:"action-link",href:`${o}/replay/${encodeURIComponent(f.sessionId)}`,children:"Replay"}),s.jsx("button",{type:"button",className:"btn-sm",onClick:()=>void m(f.sessionId),children:"Restart"})]})]})}function H0({bootstrap:f,filter:d}){const m=Yf(M=>M.sessions),o=d.toLowerCase(),D=[...o?m.filter(M=>M.displayName.toLowerCase().includes(o)||M.sessionId.toLowerCase().includes(o)||M.connectorType.toLowerCase().includes(o)||M.tags.some(U=>U.toLowerCase().includes(o))):m].sort((M,U)=>{const N=M.lastError?0:M.connected?1:2,_=U.lastError?0:U.connected?1:2;return N-_});return D.length===0?s.jsx("div",{className:"empty-state",children:"No sessions found."}):s.jsx("div",{className:"session-stack",children:D.map(M=>s.jsx(C0,{session:M,bootstrap:f},M.sessionId))})}const B0="_content_ayrp6_1",q0="_headerRow_ayrp6_5",Y0="_titleArea_ayrp6_14",G0="_healthDot_ayrp6_21",X0="_title_ayrp6_14",Q0="_error_ayrp6_38",Z0="_metricGrid_ayrp6_47",L0="_listHeader_ayrp6_60",je={content:B0,headerRow:q0,titleArea:Y0,healthDot:G0,title:X0,error:Q0,metricGrid:Z0,listHeader:L0};function V0({bootstrap:f}){const{sessions:d,filter:m,loading:o,error:j,setFilter:D,refresh:M}=Yf();bl.useEffect(()=>{M()},[M]);const U=d.filter(O=>O.connected&&O.lifecycleState==="running"),N=d.filter(O=>O.lifecycleState==="error"||O.lastError!==null),_=d.filter(O=>O.recordingEnabled),G=N.length===0;return s.jsxs(Bn,{children:[s.jsx(Hn,{bootstrap:f,right:s.jsx("a",{href:`${f.app_path}/connect`,className:"action-link btn-primary",children:"Quick connect"})}),s.jsxs("div",{className:je.content,children:[s.jsxs("div",{className:je.headerRow,children:[s.jsxs("div",{className:je.titleArea,children:[s.jsx("div",{className:je.healthDot,"data-healthy":G?"":void 0}),s.jsx("span",{className:je.title,children:"Undef Terminal"}),!o&&s.jsx("span",{style:{fontSize:12,padding:"3px 10px",borderRadius:"var(--radius-pill)",background:G?"var(--bg-success)":"var(--bg-danger)",color:G?"var(--text-success)":"var(--text-danger)"},children:G?"All systems healthy":`${N.length} error(s)`})]}),s.jsx("button",{type:"button",onClick:()=>void M(),disabled:o,children:o?"Loading…":"Refresh"})]}),j&&s.jsx("div",{className:je.error,children:j}),s.jsxs("div",{className:je.metricGrid,children:[s.jsx(ni,{label:"Sessions",value:d.length}),s.jsx(ni,{label:"Live",value:U.length,color:"var(--success)"}),s.jsx(ni,{label:"Errors",value:N.length,color:"var(--danger)"}),s.jsx(ni,{label:"Recording",value:_.length})]}),s.jsxs("div",{className:je.listHeader,children:[s.jsx("span",{style:{fontSize:14,fontWeight:500},children:"Sessions"}),s.jsx("span",{style:{fontSize:12,color:"var(--text-secondary)"},children:"sorted by status"}),s.jsx("div",{className:"flex-spacer"}),s.jsx(E0,{value:m,onChange:D,placeholder:"Filter sessions..."})]}),s.jsx(H0,{bootstrap:f,filter:m})]})]})}const Gf=fi(f=>({summary:null,snapshotPromptId:null,analysis:null,loading:!1,error:null,modePending:!1,utilityPending:!1,load:async d=>{f({loading:!0,error:null});try{const m=await l0(d);f({summary:m.summary,snapshotPromptId:m.snapshotPromptId,loading:!1})}catch(m){f({error:String(m),loading:!1})}},switchMode:async(d,m)=>{f({modePending:!0,error:null});try{const o=await t0(d,m);f({summary:o,modePending:!1})}catch(o){f({error:`Mode switch failed: ${String(o)}`,modePending:!1})}},clear:async d=>{f({utilityPending:!0,error:null});try{const m=await e0(d);f({summary:m,analysis:null,utilityPending:!1})}catch(m){f({error:`Clear failed: ${String(m)}`,utilityPending:!1})}},analyze:async d=>{f({utilityPending:!0,error:null});try{const m=await a0(d);f({analysis:m,utilityPending:!1})}catch(m){f({error:`Analyze failed: ${String(m)}`,utilityPending:!1})}}})),Ct=fi(f=>({mounted:!1,error:null,connectionStatus:"disconnected",cols:0,rows:0,setMounted:(d,m=null)=>f({mounted:d,error:m}),setConnectionStatus:d=>f({connectionStatus:d}),setDimensions:(d,m)=>f({cols:d,rows:m})}));function cm({sessionId:f,surface:d}){const m=bl.useRef(null),o=bl.useRef(null),j=bl.useRef(!1),D=Ct(U=>U.setMounted),M=Ct(U=>U.setDimensions);return bl.useEffect(()=>{if(j.current||!m.current)return;const U=window.UndefHijack;if(typeof U!="function"){D(!1,"UndefHijack is not available — ensure hijack.js is loaded");return}const N=d==="operator",_=new U(m.current,{workerId:f,showAnalysis:N,mobileKeys:N});o.current=_,j.current=!0,D(!0);const G=setInterval(()=>{var Y;const O=(Y=o.current)==null?void 0:Y._term;O&&O.cols>0&&O.rows>0&&M(O.cols,O.rows)},1500);return()=>clearInterval(G)},[f,d,D,M]),s.jsx("div",{ref:m,style:{width:"100%",height:"100%"}})}function K0({mode:f,disabled:d,onChange:m}){return s.jsxs("div",{style:{display:"flex",gap:4,background:"var(--bg-tertiary)",borderRadius:"var(--radius-md)",padding:3},children:[s.jsx(tm,{label:"Shared",active:f==="open",disabled:d,onClick:()=>m("open")}),s.jsx(tm,{label:"Exclusive",active:f==="hijack",disabled:d,onClick:()=>m("hijack")})]})}function tm({label:f,active:d,disabled:m,onClick:o}){return s.jsx("button",{type:"button",disabled:m,onClick:o,style:{flex:1,textAlign:"center",padding:6,borderRadius:6,fontSize:12,fontWeight:d?500:400,background:d?"var(--bg-primary)":"transparent",border:d?"0.5px solid var(--border-primary)":"none",color:d?"var(--text-primary)":"var(--text-secondary)",cursor:m?"not-allowed":"pointer"},children:f})}function J0({summary:f}){return s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"border-section",children:[s.jsx("div",{className:"section-label",children:"Session info"}),s.jsxs("div",{className:"meta-list",children:[s.jsx(Rn,{label:"Connector",value:f.connectorType}),s.jsx(Rn,{label:"State",value:f.lifecycleState}),s.jsx(Rn,{label:"Owner",value:f.owner??"—"}),s.jsx(Rn,{label:"Visibility",value:f.visibility}),s.jsx(Rn,{label:"Auto-start",value:f.autoStart?"yes":"no",valueColor:f.autoStart?"var(--text-success)":void 0})]})]}),f.tags.length>0&&s.jsxs("div",{className:"border-section",children:[s.jsx("div",{className:"section-label",children:"Tags"}),s.jsx("div",{className:"tag-list",children:f.tags.map(d=>s.jsx("span",{className:"tag-pill",children:d},d))})]})]})}function Rn({label:f,value:d,valueColor:m}){return s.jsxs("div",{className:"meta-row",children:[s.jsx("span",{className:"text-muted",children:f}),s.jsx("span",{style:{color:m},children:d})]})}function w0({sessionId:f,bootstrap:d}){const{summary:m,analysis:o,modePending:j,utilityPending:D,switchMode:M,clear:U,analyze:N}=Gf();return s.jsxs(s.Fragment,{children:[s.jsxs("div",{children:[s.jsx("div",{className:"section-label",children:"Input mode"}),s.jsx(K0,{mode:(m==null?void 0:m.inputMode)??"hijack",disabled:j,onChange:_=>void M(f,_)})]}),s.jsxs("div",{children:[s.jsx("div",{className:"section-label",children:"Actions"}),s.jsxs("div",{className:"sidebar-actions",children:[s.jsx("button",{type:"button",className:"sidebar-btn",disabled:D,onClick:()=>void N(f),children:"Analyze screen"}),s.jsx("a",{className:"action-link sidebar-btn",href:`${d.app_path}/replay/${encodeURIComponent(f)}`,children:"View replay"}),s.jsx("button",{type:"button",className:"sidebar-btn",disabled:D,onClick:()=>void U(f),children:"Clear runtime"})]})]}),o&&s.jsxs("div",{children:[s.jsx("div",{className:"section-label",children:"Analysis"}),s.jsx("div",{className:"code-box code-box-sm",children:o})]}),m&&s.jsx(J0,{summary:m}),s.jsx("div",{className:"flex-spacer"}),s.jsx("div",{className:"border-section border-section-sm",children:s.jsx("button",{type:"button",className:"btn-full btn-danger-outline",onClick:()=>{um(f).then(()=>window.location.reload())},children:"Restart session"})})]})}const $0="_layout_1izdb_1",W0="_main_1izdb_14",k0="_terminal_1izdb_20",F0="_statusBar_1izdb_26",I0="_loading_1izdb_44",P0="_error_1izdb_50",ly="_sidebar_1izdb_57",Ne={layout:$0,main:W0,terminal:k0,statusBar:F0,loading:I0,error:P0,sidebar:ly};function ty({bootstrap:f}){const d=f.session_id;if(!d)throw new Error("operator bootstrap missing session_id");const{summary:m,loading:o,error:j,load:D}=Gf(),M=Ct(U=>U.error);return bl.useEffect(()=>{D(d)},[d,D]),s.jsxs(Bn,{children:[s.jsx(Hn,{bootstrap:f,crumbs:[{label:(m==null?void 0:m.displayName)??d}],right:s.jsxs(s.Fragment,{children:[m&&s.jsx(Fe,{tone:m.connected?"ok":m.lastError?"error":"neutral",children:m.connected?"Live":m.lastError?"Error":"Stopped"}),(m==null?void 0:m.recordingEnabled)&&s.jsx(Fe,{tone:"warning",children:"recording"}),(m==null?void 0:m.connected)&&s.jsx("span",{style:{fontSize:11,color:"var(--text-tertiary)"},children:"connected"})]})}),o&&s.jsx("div",{className:Ne.loading,children:"Loading operator workspace…"}),j&&s.jsx("div",{className:Ne.error,children:j}),M&&s.jsx("div",{className:Ne.error,children:M}),s.jsxs("div",{className:Ne.layout,children:[s.jsx("div",{className:Ne.sidebar,children:s.jsx(w0,{sessionId:d,bootstrap:f})}),s.jsxs("div",{className:Ne.main,children:[s.jsx("div",{className:Ne.terminal,children:s.jsx(cm,{sessionId:d,surface:"operator"})}),s.jsx("div",{className:Ne.statusBar,children:s.jsx(ey,{})})]})]})]})}function ey(){const f=Ct(o=>o.mounted),d=Ct(o=>o.cols),m=Ct(o=>o.rows);return s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"status-dot",style:{background:f?"var(--success)":"var(--text-tertiary)",boxShadow:f?"0 0 4px var(--success)":void 0}}),s.jsx("span",{children:f?"Connected":"Disconnected"}),d>0&&m>0&&s.jsxs(s.Fragment,{children:[s.jsx("span",{children:"·"}),s.jsxs("span",{style:{fontFamily:"var(--font-mono)"},children:[d,"×",m]})]})]})}let ci=null;function Hf(){ci!==null&&(clearTimeout(ci),ci=null)}function Bf(f,d){Hf();const{entries:m,index:o,playing:j,speed:D}=f();if(!j||o>=m.length-1){j&&d({playing:!1});return}const M=m[o],U=m[o+1];let N;(M==null?void 0:M.ts)!=null&&(U==null?void 0:U.ts)!=null&&U.ts>M.ts?N=Math.min((U.ts-M.ts)*1e3,2e3)/D:N=200/D,N=Math.max(N,30),ci=setTimeout(()=>{const _=f();_.playing&&(_.index<_.entries.length-1?(d({index:_.index+1}),Bf(f,d)):d({playing:!1}))},N)}const Xf=fi((f,d)=>({entries:[],index:0,filter:"",limit:200,loading:!1,error:null,playing:!1,speed:1,load:async m=>{const{filter:o,limit:j}=d();Hf(),f({loading:!0,error:null,playing:!1});try{const D=await n0(m,o,j);f({entries:D,index:D.length>0?D.length-1:0,loading:!1})}catch(D){f({error:String(D),loading:!1})}},setFilter:m=>f({filter:m}),setLimit:m=>f({limit:m}),setIndex:m=>{const{entries:o}=d();f({index:Math.max(0,Math.min(m,o.length-1))})},prev:()=>{const{index:m}=d();m>0&&f({index:m-1})},next:()=>{const{index:m,entries:o}=d();m<o.length-1&&f({index:m+1})},first:()=>f({index:0}),last:()=>{const{entries:m}=d();f({index:Math.max(0,m.length-1)})},setPlaying:m=>{f({playing:m}),m?Bf(d,f):Hf()},setSpeed:m=>{f({speed:m}),d().playing&&Bf(d,f)}}));function ay({entry:f}){if(!f)return s.jsx("div",{className:"detail-pad text-muted",children:"No event selected."});const d=f.ts!=null?ny(f.ts):"—",m=JSON.stringify(f.payload,null,2),o=f.payload.data?String(f.payload.data).length:m.length;return s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"detail-header",children:[s.jsx("div",{className:"section-label mb-4",children:"Event detail"}),s.jsx("div",{className:"detail-title",children:f.event})]}),s.jsxs("div",{className:"detail-body",children:[s.jsxs("div",{className:"meta-list",children:[s.jsx(Cf,{label:"Timestamp",value:d}),s.jsx(Cf,{label:"Event",value:f.event}),s.jsx(Cf,{label:"Bytes",value:String(o)})]}),s.jsx("div",{className:"code-box text-mono code-box-scroll",children:m})]})]})}function Cf({label:f,value:d}){return s.jsxs("div",{className:"meta-row",children:[s.jsx("span",{className:"text-muted",children:f}),s.jsx("span",{className:"text-mono",children:d})]})}function ny(f){const d=Math.floor(f),m=Math.round((f-d)*1e3),o=Math.floor(d/3600),j=Math.floor(d%3600/60),D=d%60;return`${o}:${String(j).padStart(2,"0")}:${String(D).padStart(2,"0")}.${String(m).padStart(3,"0")}`}const uy="_error_176yf_1",iy="_controls_176yf_8",cy="_controlBar_176yf_13",fy="_navButtons_176yf_21",sy="_legend_176yf_26",oy="_splitPane_176yf_34",ry="_screenPane_176yf_52",dy="_detailPane_176yf_62",my="_loadingText_176yf_76",hy="_eventCount_176yf_81",Rt={error:uy,controls:iy,controlBar:cy,navButtons:fy,legend:sy,splitPane:oy,screenPane:ry,detailPane:dy,loadingText:my,eventCount:hy};function vy({sessionId:f}){const{entries:d,index:m,filter:o,limit:j,playing:D,speed:M,load:U,setFilter:N,setLimit:_,first:G,prev:O,next:Y,last:V,setPlaying:Q,setSpeed:pl}=Xf();return s.jsxs("div",{className:Rt.controlBar,children:[s.jsxs("div",{className:Rt.navButtons,children:[s.jsx(ui,{onClick:G,label:"|<"}),s.jsx(ui,{onClick:O,label:"<"}),s.jsx("button",{type:"button",onClick:()=>Q(!D),className:"play-btn btn-primary",children:D?"⏸":"▶"}),s.jsx(ui,{onClick:Y,label:">"}),s.jsx(ui,{onClick:V,label:">|"})]}),s.jsxs("select",{value:String(M),onChange:Tl=>pl(Number(Tl.target.value)),className:"select-sm",children:[s.jsx("option",{value:"0.5",children:"0.5x"}),s.jsx("option",{value:"1",children:"1x"}),s.jsx("option",{value:"2",children:"2x"}),s.jsx("option",{value:"4",children:"4x"})]}),s.jsxs("select",{value:o,onChange:Tl=>{N(Tl.target.value),U(f)},className:"select-sm",children:[s.jsx("option",{value:"",children:"All events"}),s.jsx("option",{value:"read",children:"read"}),s.jsx("option",{value:"send",children:"send"}),s.jsx("option",{value:"runtime_started",children:"runtime_started"}),s.jsx("option",{value:"runtime_error",children:"runtime_error"})]}),s.jsxs("select",{value:String(j),onChange:Tl=>{_(Number(Tl.target.value)),U(f)},className:"select-sm",children:[s.jsx("option",{value:"25",children:"25"}),s.jsx("option",{value:"100",children:"100"}),s.jsx("option",{value:"200",children:"200"})]}),s.jsx("div",{className:"flex-spacer"}),s.jsxs("span",{className:Rt.eventCount,children:["Event ",d.length>0?m+1:0," of ",d.length]})]})}function ui({onClick:f,label:d}){return s.jsx("button",{type:"button",onClick:f,dangerouslySetInnerHTML:{__html:d},className:"nav-btn"})}const Cn=["#000000","#cc0000","#00cc00","#cccc00","#3465a4","#cc00cc","#06989a","#d3d7cf","#555753","#ef2929","#8ae234","#fce94f","#729fcf","#ad7fa8","#34e2e2","#eeeeec"];function em(f){if(f<16)return Cn[f]??"#000";if(f<232){const m=f-16,o=Math.floor(m/36)*51,j=Math.floor(m%36/6)*51,D=m%6*51;return`rgb(${o},${j},${D})`}const d=8+(f-232)*10;return`rgb(${d},${d},${d})`}function yy(f){const d=[];let m="",o="",j=!1,D=!1,M=!1,U=!1,N=!1;const _=f.split(/\x1b\[([0-9;]*)m/);for(let G=0;G<_.length;G++)if(G%2===0){const O=_[G]??"";if(O.length===0)continue;const Y=[],V=N?o:m,Q=N?m:o;V&&Y.push(`color:${V}`),Q&&Y.push(`background:${Q}`),j&&Y.push("font-weight:bold"),D&&Y.push("opacity:0.6"),M&&Y.push("font-style:italic"),U&&Y.push("text-decoration:underline"),d.push({text:O,style:Y.join(";")})}else{const Y=(_[G]??"").split(";").map(Number);for(let V=0;V<Y.length;V++){const Q=Y[V]??0;Q===0?(m="",o="",j=!1,D=!1,M=!1,U=!1,N=!1):Q===1?j=!0:Q===2?D=!0:Q===3?M=!0:Q===4?U=!0:Q===7?N=!0:Q===22?(j=!1,D=!1):Q===23?M=!1:Q===24?U=!1:Q===27?N=!1:Q===39?m="":Q===49?o="":Q>=30&&Q<=37?m=Cn[Q-30]??"":Q>=40&&Q<=47?o=Cn[Q-40]??"":Q>=90&&Q<=97?m=Cn[Q-90+8]??"":Q>=100&&Q<=107?o=Cn[Q-100+8]??"":Q===38&&(Y[V+1]??0)===5?(m=em(Y[V+2]??0),V+=2):Q===48&&(Y[V+1]??0)===5?(o=em(Y[V+2]??0),V+=2):Q===38&&(Y[V+1]??0)===2?(m=`rgb(${Y[V+2]??0},${Y[V+3]??0},${Y[V+4]??0})`,V+=4):Q===48&&(Y[V+1]??0)===2&&(o=`rgb(${Y[V+2]??0},${Y[V+3]??0},${Y[V+4]??0})`,V+=4)}}return d}function gy({entry:f,index:d}){const[m,o]=bl.useState(!0);if(!f)return s.jsx("div",{style:{color:"var(--text-secondary)",fontFamily:"var(--font-sans)"},children:"No entries loaded."});const j=f.ts!=null?py(f.ts):"—",D=f.screen||"(no screen data)";return s.jsxs(s.Fragment,{children:[s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,marginBottom:8},children:[s.jsxs("span",{className:"screen-caption",style:{marginBottom:0},children:["Screen snapshot at event #",d+1," (",j,")"]}),s.jsx("div",{className:"flex-spacer"}),s.jsxs("div",{style:{display:"flex",gap:2},children:[s.jsx("button",{type:"button",className:m?"btn-primary":"",style:{fontSize:10,padding:"2px 8px",borderRadius:"var(--radius-sm)"},onClick:()=>o(!0),children:"Rendered"}),s.jsx("button",{type:"button",className:m?"":"btn-primary",style:{fontSize:10,padding:"2px 8px",borderRadius:"var(--radius-sm)"},onClick:()=>o(!1),children:"Raw"})]})]}),m?s.jsx(Sy,{text:D}):s.jsx("pre",{className:"pre-block",children:D})]})}function Sy({text:f}){if(!/\x1b\[/.test(f))return s.jsx("pre",{className:"pre-block",children:f});const m=yy(f);return s.jsx("pre",{className:"pre-block",children:m.map((o,j)=>{const D=`${j}-${o.text.length}`;return o.style?s.jsx("span",{style:by(o.style),children:o.text},D):o.text})})}function by(f){const d={};for(const m of f.split(";")){const[o,j]=m.split(":");o&&j&&(d[o.replace(/-([a-z])/g,(D,M)=>M.toUpperCase())]=j)}return d}function py(f){const d=Math.floor(f/3600),m=Math.floor(f%3600/60),o=Math.floor(f%60);return`${d}:${String(m).padStart(2,"0")}:${String(o).padStart(2,"0")}`}const _y={read:"#1D9E75",send:"#378ADD",runtime_error:"#E24B4A",runtime_started:"#BA7517",log_start:"#BA7517",log_stop:"#BA7517"},xy="#1D9E75",am=2,zy=1,Me=48;function Ey(){const f=bl.useRef(null),{entries:d,index:m,setIndex:o}=Xf(),j=bl.useCallback(()=>{var Kl,_l;const M=f.current;if(!M)return;const U=M.getContext("2d");if(!U)return;const N=window.devicePixelRatio||1,_=M.getBoundingClientRect();if(M.width=_.width*N,M.height=Me*N,U.scale(N,N),M.style.height=`${Me}px`,U.fillStyle=getComputedStyle(M).getPropertyValue("--bg-secondary").trim()||"#151b22",U.fillRect(0,0,_.width,Me),d.length===0)return;const G=am+zy,O=Math.floor((_.width-8)/G),Y=d.length>O?d.length/O:1,V=Math.min(d.length,O),Q=4;for(let xl=0;xl<V;xl++){const Al=Math.min(Math.floor(xl*Y),d.length-1),jl=d[Al];if(!jl)continue;const W=_y[jl.event]??xy,k=jl.payload?JSON.stringify(jl.payload).length:0,gl=Math.max(6,Math.min(40,6+Math.log2(k+1)*4)),Nt=Q+xl*G,mt=Me-4-gl;U.globalAlpha=.6,U.fillStyle=W,U.beginPath(),U.roundRect(Nt,mt,am,gl,1),U.fill()}const pl=Q+m/Math.max(1,d.length-1)*(V-1)*G;U.globalAlpha=.8,U.fillStyle=getComputedStyle(M).getPropertyValue("--text-info").trim()||"#58a6ff",U.fillRect(pl,0,2,Me),U.globalAlpha=1,U.fillStyle=getComputedStyle(M).getPropertyValue("--text-tertiary").trim()||"#484f58",U.font="10px sans-serif";const Tl=(Kl=d[0])==null?void 0:Kl.ts,Hl=(_l=d[d.length-1])==null?void 0:_l.ts;if(Tl!=null&&U.fillText(nm(0),4,Me-4),Tl!=null&&Hl!=null){const xl=Hl-Tl;U.textAlign="right",U.fillText(nm(xl),_.width-4,Me-4),U.textAlign="left"}},[d,m]);bl.useEffect(()=>{j();const M=()=>j();return window.addEventListener("resize",M),()=>window.removeEventListener("resize",M)},[j]);function D(M){const U=f.current;if(!U||d.length===0)return;const N=U.getBoundingClientRect(),G=(M.clientX-N.left)/N.width;o(Math.round(G*(d.length-1)))}return s.jsx("canvas",{ref:f,onClick:D,style:{width:"100%",height:Me,borderRadius:"var(--radius-md)",cursor:"pointer",display:"block"}})}function nm(f){const d=Math.floor(f/3600),m=Math.floor(f%3600/60),o=Math.floor(f%60);return d>0?`${d}:${String(m).padStart(2,"0")}:${String(o).padStart(2,"0")}`:`${m}:${String(o).padStart(2,"0")}`}function Ty({bootstrap:f}){const d=f.session_id;if(!d)throw new Error("replay bootstrap missing session_id");const{entries:m,index:o,loading:j,error:D,load:M}=Xf(),U=m[o]??null;return bl.useEffect(()=>{M(d)},[d,M]),s.jsxs(Bn,{children:[s.jsx(Hn,{bootstrap:f,crumbs:[{label:f.title,href:`${f.app_path}/operator/${encodeURIComponent(d)}`},{label:"Replay"}],right:s.jsxs("span",{style:{fontSize:11,color:"var(--text-tertiary)"},children:[m.length," events"]})}),D&&s.jsx("div",{className:Rt.error,children:D}),s.jsxs("div",{className:Rt.controls,children:[s.jsx(vy,{sessionId:d}),s.jsx(Ey,{}),s.jsxs("div",{className:Rt.legend,children:[s.jsx(ii,{color:"var(--success)",label:"read"}),s.jsx(ii,{color:"var(--info)",label:"send"}),s.jsx(ii,{color:"var(--danger)",label:"error"}),s.jsx(ii,{color:"var(--warning)",label:"runtime"})]})]}),s.jsxs("div",{className:Rt.splitPane,children:[s.jsx("div",{className:Rt.screenPane,children:j?s.jsx("div",{className:Rt.loadingText,children:"Loading recording…"}):s.jsx(gy,{entry:U,index:o})}),s.jsx("div",{className:Rt.detailPane,children:s.jsx(ay,{entry:U})})]})]})}function ii({color:f,label:d}){return s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:4},children:[s.jsx("div",{style:{width:8,height:8,borderRadius:2,background:f}}),d]})}const Ay="_loading_k78zg_1",jy="_error_k78zg_7",Ny="_meta_k78zg_14",My="_terminal_k78zg_21",Oy="_statusBar_k78zg_27",Ba={loading:Ay,error:jy,meta:Ny,terminal:My,statusBar:Oy};function Dy({summary:f}){return f?s.jsxs("div",{className:Ba.meta,children:["Mode: ",f.inputMode," · ",f.connectorType," · ",f.lifecycleState]}):null}function Uy({summary:f}){const d=Ct(j=>j.mounted),m=Ct(j=>j.cols),o=Ct(j=>j.rows);return s.jsxs("div",{className:Ba.statusBar,children:[s.jsx("div",{className:"status-dot",style:{background:d?"var(--success)":"var(--text-tertiary)",boxShadow:d?"0 0 4px var(--success)":void 0}}),s.jsx("span",{children:d?"Connected":"Disconnected"}),m>0&&o>0&&s.jsxs(s.Fragment,{children:[s.jsx("span",{children:"·"}),s.jsxs("span",{style:{fontFamily:"var(--font-mono)"},children:[m,"×",o]})]}),f&&s.jsxs(s.Fragment,{children:[s.jsx("span",{children:"·"}),s.jsx("span",{children:f.inputMode==="open"?"Shared":"Exclusive"})]})]})}function Ry({bootstrap:f}){const d=f.session_id;if(!d)throw new Error("session bootstrap missing session_id");const{summary:m,loading:o,error:j,load:D}=Gf(),M=Ct(U=>U.error);return bl.useEffect(()=>{D(d)},[d,D]),s.jsxs(Bn,{children:[s.jsx(Hn,{bootstrap:f,crumbs:[{label:(m==null?void 0:m.displayName)??d}],right:m&&s.jsx(Fe,{tone:m.connected?"ok":m.lastError?"error":"neutral",children:m.connected?"Live":m.lastError?"Error":"Stopped"})}),o&&s.jsx("div",{className:Ba.loading,children:"Loading session…"}),j&&s.jsx("div",{className:Ba.error,children:j}),M&&s.jsx("div",{className:Ba.error,children:M}),s.jsx(Dy,{summary:m}),s.jsx("div",{className:Ba.terminal,children:s.jsx(cm,{sessionId:d,surface:"user"})}),s.jsx(Uy,{summary:m})]})}function Cy({bootstrap:f}){switch(f.page_kind){case"dashboard":return s.jsx(V0,{bootstrap:f});case"connect":return s.jsx(p0,{bootstrap:f});case"operator":return s.jsx(ty,{bootstrap:f});case"session":return s.jsx(Ry,{bootstrap:f});case"replay":return s.jsx(Ty,{bootstrap:f})}}const Hy=new Set(["dashboard","session","operator","replay","connect"]);function By(){const f=document.getElementById("app-bootstrap");if(!(f instanceof HTMLScriptElement))throw new Error("Missing #app-bootstrap payload");const d=JSON.parse(f.textContent||"{}");if(!d.page_kind||!Hy.has(d.page_kind))throw new Error("Invalid page bootstrap");if(typeof d.title!="string"||typeof d.app_path!="string"||typeof d.assets_path!="string")throw new Error("Incomplete page bootstrap");return d}const fm=document.getElementById("app-root");if(!fm)throw new Error("Missing #app-root");const qy=By();Zv.createRoot(fm).render(s.jsx(bl.StrictMode,{children:s.jsx(Cy,{bootstrap:qy})}));
