(function(){const f=document.createElement("link").relList;if(f&&f.supports&&f.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))c(d);new MutationObserver(d=>{for(const m of d)if(m.type==="childList")for(const y of m.addedNodes)y.tagName==="LINK"&&y.rel==="modulepreload"&&c(y)}).observe(document,{childList:!0,subtree:!0});function r(d){const m={};return d.integrity&&(m.integrity=d.integrity),d.referrerPolicy&&(m.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?m.credentials="include":d.crossOrigin==="anonymous"?m.credentials="omit":m.credentials="same-origin",m}function c(d){if(d.ep)return;d.ep=!0;const m=r(d);fetch(d.href,m)}})();function By(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Vf={exports:{}},Ya={};/**
 * @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 m0;function qy(){if(m0)return Ya;m0=1;var i=Symbol.for("react.transitional.element"),f=Symbol.for("react.fragment");function r(c,d,m){var y=null;if(m!==void 0&&(y=""+m),d.key!==void 0&&(y=""+d.key),"key"in d){m={};for(var x in d)x!=="key"&&(m[x]=d[x])}else m=d;return d=m.ref,{$$typeof:i,type:c,key:y,ref:d!==void 0?d:null,props:m}}return Ya.Fragment=f,Ya.jsx=r,Ya.jsxs=r,Ya}var h0;function wy(){return h0||(h0=1,Vf.exports=qy()),Vf.exports}var p=wy(),Qf={exports:{}},et={};/**
 * @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 y0;function Ly(){if(y0)return et;y0=1;var i=Symbol.for("react.transitional.element"),f=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),y=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),C=Symbol.for("react.activity"),Y=Symbol.iterator;function V(b){return b===null||typeof b!="object"?null:(b=Y&&b[Y]||b["@@iterator"],typeof b=="function"?b:null)}var K={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,R={};function B(b,H,q){this.props=b,this.context=H,this.refs=R,this.updater=q||K}B.prototype.isReactComponent={},B.prototype.setState=function(b,H){if(typeof b!="object"&&typeof b!="function"&&b!=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,b,H,"setState")},B.prototype.forceUpdate=function(b){this.updater.enqueueForceUpdate(this,b,"forceUpdate")};function k(){}k.prototype=B.prototype;function X(b,H,q){this.props=b,this.context=H,this.refs=R,this.updater=q||K}var W=X.prototype=new k;W.constructor=X,w(W,B.prototype),W.isPureReactComponent=!0;var at=Array.isArray;function Ot(){}var tt={H:null,A:null,T:null,S:null},Ht=Object.prototype.hasOwnProperty;function de(b,H,q){var G=q.ref;return{$$typeof:i,type:b,key:H,ref:G!==void 0?G:null,props:q}}function Pt(b,H){return de(b.type,H,b.props)}function Vt(b){return typeof b=="object"&&b!==null&&b.$$typeof===i}function Xt(b){var H={"=":"=0",":":"=2"};return"$"+b.replace(/[=:]/g,function(q){return H[q]})}var Ye=/\/+/g;function Bt(b,H){return typeof b=="object"&&b!==null&&b.key!=null?Xt(""+b.key):H.toString(36)}function te(b){switch(b.status){case"fulfilled":return b.value;case"rejected":throw b.reason;default:switch(typeof b.status=="string"?b.then(Ot,Ot):(b.status="pending",b.then(function(H){b.status==="pending"&&(b.status="fulfilled",b.value=H)},function(H){b.status==="pending"&&(b.status="rejected",b.reason=H)})),b.status){case"fulfilled":return b.value;case"rejected":throw b.reason}}throw b}function D(b,H,q,G,$){var ut=typeof b;(ut==="undefined"||ut==="boolean")&&(b=null);var ft=!1;if(b===null)ft=!0;else switch(ut){case"bigint":case"string":case"number":ft=!0;break;case"object":switch(b.$$typeof){case i:case f:ft=!0;break;case N:return ft=b._init,D(ft(b._payload),H,q,G,$)}}if(ft)return $=$(b),ft=G===""?"."+Bt(b,0):G,at($)?(q="",ft!=null&&(q=ft.replace(Ye,"$&/")+"/"),D($,H,q,"",function(Xe){return Xe})):$!=null&&(Vt($)&&($=Pt($,q+($.key==null||b&&b.key===$.key?"":(""+$.key).replace(Ye,"$&/")+"/")+ft)),H.push($)),1;ft=0;var lt=G===""?".":G+":";if(at(b))for(var xt=0;xt<b.length;xt++)G=b[xt],ut=lt+Bt(G,xt),ft+=D(G,H,q,ut,$);else if(xt=V(b),typeof xt=="function")for(b=xt.call(b),xt=0;!(G=b.next()).done;)G=G.value,ut=lt+Bt(G,xt++),ft+=D(G,H,q,ut,$);else if(ut==="object"){if(typeof b.then=="function")return D(te(b),H,q,G,$);throw H=String(b),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(b).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return ft}function L(b,H,q){if(b==null)return b;var G=[],$=0;return D(b,G,"","",function(ut){return H.call(q,ut,$++)}),G}function I(b){if(b._status===-1){var H=b._result;H=H(),H.then(function(q){(b._status===0||b._status===-1)&&(b._status=1,b._result=q)},function(q){(b._status===0||b._status===-1)&&(b._status=2,b._result=q)}),b._status===-1&&(b._status=0,b._result=H)}if(b._status===1)return b._result.default;throw b._result}var rt=typeof reportError=="function"?reportError:function(b){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var H=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof b=="object"&&b!==null&&typeof b.message=="string"?String(b.message):String(b),error:b});if(!window.dispatchEvent(H))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",b);return}console.error(b)},ct={map:L,forEach:function(b,H,q){L(b,function(){H.apply(this,arguments)},q)},count:function(b){var H=0;return L(b,function(){H++}),H},toArray:function(b){return L(b,function(H){return H})||[]},only:function(b){if(!Vt(b))throw Error("React.Children.only expected to receive a single React element child.");return b}};return et.Activity=C,et.Children=ct,et.Component=B,et.Fragment=r,et.Profiler=d,et.PureComponent=X,et.StrictMode=c,et.Suspense=S,et.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=tt,et.__COMPILER_RUNTIME={__proto__:null,c:function(b){return tt.H.useMemoCache(b)}},et.cache=function(b){return function(){return b.apply(null,arguments)}},et.cacheSignal=function(){return null},et.cloneElement=function(b,H,q){if(b==null)throw Error("The argument must be a React element, but you passed "+b+".");var G=w({},b.props),$=b.key;if(H!=null)for(ut in H.key!==void 0&&($=""+H.key),H)!Ht.call(H,ut)||ut==="key"||ut==="__self"||ut==="__source"||ut==="ref"&&H.ref===void 0||(G[ut]=H[ut]);var ut=arguments.length-2;if(ut===1)G.children=q;else if(1<ut){for(var ft=Array(ut),lt=0;lt<ut;lt++)ft[lt]=arguments[lt+2];G.children=ft}return de(b.type,$,G)},et.createContext=function(b){return b={$$typeof:y,_currentValue:b,_currentValue2:b,_threadCount:0,Provider:null,Consumer:null},b.Provider=b,b.Consumer={$$typeof:m,_context:b},b},et.createElement=function(b,H,q){var G,$={},ut=null;if(H!=null)for(G in H.key!==void 0&&(ut=""+H.key),H)Ht.call(H,G)&&G!=="key"&&G!=="__self"&&G!=="__source"&&($[G]=H[G]);var ft=arguments.length-2;if(ft===1)$.children=q;else if(1<ft){for(var lt=Array(ft),xt=0;xt<ft;xt++)lt[xt]=arguments[xt+2];$.children=lt}if(b&&b.defaultProps)for(G in ft=b.defaultProps,ft)$[G]===void 0&&($[G]=ft[G]);return de(b,ut,$)},et.createRef=function(){return{current:null}},et.forwardRef=function(b){return{$$typeof:x,render:b}},et.isValidElement=Vt,et.lazy=function(b){return{$$typeof:N,_payload:{_status:-1,_result:b},_init:I}},et.memo=function(b,H){return{$$typeof:v,type:b,compare:H===void 0?null:H}},et.startTransition=function(b){var H=tt.T,q={};tt.T=q;try{var G=b(),$=tt.S;$!==null&&$(q,G),typeof G=="object"&&G!==null&&typeof G.then=="function"&&G.then(Ot,rt)}catch(ut){rt(ut)}finally{H!==null&&q.types!==null&&(H.types=q.types),tt.T=H}},et.unstable_useCacheRefresh=function(){return tt.H.useCacheRefresh()},et.use=function(b){return tt.H.use(b)},et.useActionState=function(b,H,q){return tt.H.useActionState(b,H,q)},et.useCallback=function(b,H){return tt.H.useCallback(b,H)},et.useContext=function(b){return tt.H.useContext(b)},et.useDebugValue=function(){},et.useDeferredValue=function(b,H){return tt.H.useDeferredValue(b,H)},et.useEffect=function(b,H){return tt.H.useEffect(b,H)},et.useEffectEvent=function(b){return tt.H.useEffectEvent(b)},et.useId=function(){return tt.H.useId()},et.useImperativeHandle=function(b,H,q){return tt.H.useImperativeHandle(b,H,q)},et.useInsertionEffect=function(b,H){return tt.H.useInsertionEffect(b,H)},et.useLayoutEffect=function(b,H){return tt.H.useLayoutEffect(b,H)},et.useMemo=function(b,H){return tt.H.useMemo(b,H)},et.useOptimistic=function(b,H){return tt.H.useOptimistic(b,H)},et.useReducer=function(b,H,q){return tt.H.useReducer(b,H,q)},et.useRef=function(b){return tt.H.useRef(b)},et.useState=function(b){return tt.H.useState(b)},et.useSyncExternalStore=function(b,H,q){return tt.H.useSyncExternalStore(b,H,q)},et.useTransition=function(){return tt.H.useTransition()},et.version="19.2.6",et}var v0;function us(){return v0||(v0=1,Qf.exports=Ly()),Qf.exports}var st=us();const Yy=By(st);var Zf={exports:{}},Xa={},Jf={exports:{}},Kf={};/**
 * @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 p0;function Xy(){return p0||(p0=1,(function(i){function f(D,L){var I=D.length;D.push(L);t:for(;0<I;){var rt=I-1>>>1,ct=D[rt];if(0<d(ct,L))D[rt]=L,D[I]=ct,I=rt;else break t}}function r(D){return D.length===0?null:D[0]}function c(D){if(D.length===0)return null;var L=D[0],I=D.pop();if(I!==L){D[0]=I;t:for(var rt=0,ct=D.length,b=ct>>>1;rt<b;){var H=2*(rt+1)-1,q=D[H],G=H+1,$=D[G];if(0>d(q,I))G<ct&&0>d($,q)?(D[rt]=$,D[G]=I,rt=G):(D[rt]=q,D[H]=I,rt=H);else if(G<ct&&0>d($,I))D[rt]=$,D[G]=I,rt=G;else break t}}return L}function d(D,L){var I=D.sortIndex-L.sortIndex;return I!==0?I:D.id-L.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var m=performance;i.unstable_now=function(){return m.now()}}else{var y=Date,x=y.now();i.unstable_now=function(){return y.now()-x}}var S=[],v=[],N=1,C=null,Y=3,V=!1,K=!1,w=!1,R=!1,B=typeof setTimeout=="function"?setTimeout:null,k=typeof clearTimeout=="function"?clearTimeout:null,X=typeof setImmediate<"u"?setImmediate:null;function W(D){for(var L=r(v);L!==null;){if(L.callback===null)c(v);else if(L.startTime<=D)c(v),L.sortIndex=L.expirationTime,f(S,L);else break;L=r(v)}}function at(D){if(w=!1,W(D),!K)if(r(S)!==null)K=!0,Ot||(Ot=!0,Xt());else{var L=r(v);L!==null&&te(at,L.startTime-D)}}var Ot=!1,tt=-1,Ht=5,de=-1;function Pt(){return R?!0:!(i.unstable_now()-de<Ht)}function Vt(){if(R=!1,Ot){var D=i.unstable_now();de=D;var L=!0;try{t:{K=!1,w&&(w=!1,k(tt),tt=-1),V=!0;var I=Y;try{e:{for(W(D),C=r(S);C!==null&&!(C.expirationTime>D&&Pt());){var rt=C.callback;if(typeof rt=="function"){C.callback=null,Y=C.priorityLevel;var ct=rt(C.expirationTime<=D);if(D=i.unstable_now(),typeof ct=="function"){C.callback=ct,W(D),L=!0;break e}C===r(S)&&c(S),W(D)}else c(S);C=r(S)}if(C!==null)L=!0;else{var b=r(v);b!==null&&te(at,b.startTime-D),L=!1}}break t}finally{C=null,Y=I,V=!1}L=void 0}}finally{L?Xt():Ot=!1}}}var Xt;if(typeof X=="function")Xt=function(){X(Vt)};else if(typeof MessageChannel<"u"){var Ye=new MessageChannel,Bt=Ye.port2;Ye.port1.onmessage=Vt,Xt=function(){Bt.postMessage(null)}}else Xt=function(){B(Vt,0)};function te(D,L){tt=B(function(){D(i.unstable_now())},L)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(D){D.callback=null},i.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ht=0<D?Math.floor(1e3/D):5},i.unstable_getCurrentPriorityLevel=function(){return Y},i.unstable_next=function(D){switch(Y){case 1:case 2:case 3:var L=3;break;default:L=Y}var I=Y;Y=L;try{return D()}finally{Y=I}},i.unstable_requestPaint=function(){R=!0},i.unstable_runWithPriority=function(D,L){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var I=Y;Y=D;try{return L()}finally{Y=I}},i.unstable_scheduleCallback=function(D,L,I){var rt=i.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?rt+I:rt):I=rt,D){case 1:var ct=-1;break;case 2:ct=250;break;case 5:ct=1073741823;break;case 4:ct=1e4;break;default:ct=5e3}return ct=I+ct,D={id:N++,callback:L,priorityLevel:D,startTime:I,expirationTime:ct,sortIndex:-1},I>rt?(D.sortIndex=I,f(v,D),r(S)===null&&D===r(v)&&(w?(k(tt),tt=-1):w=!0,te(at,I-rt))):(D.sortIndex=ct,f(S,D),K||V||(K=!0,Ot||(Ot=!0,Xt()))),D},i.unstable_shouldYield=Pt,i.unstable_wrapCallback=function(D){var L=Y;return function(){var I=Y;Y=L;try{return D.apply(this,arguments)}finally{Y=I}}}})(Kf)),Kf}var b0;function Gy(){return b0||(b0=1,Jf.exports=Xy()),Jf.exports}var kf={exports:{}},Wt={};/**
 * @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 g0;function Vy(){if(g0)return Wt;g0=1;var i=us();function f(S){var v="https://react.dev/errors/"+S;if(1<arguments.length){v+="?args[]="+encodeURIComponent(arguments[1]);for(var N=2;N<arguments.length;N++)v+="&args[]="+encodeURIComponent(arguments[N])}return"Minified React error #"+S+"; visit "+v+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var c={d:{f:r,r:function(){throw Error(f(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},d=Symbol.for("react.portal");function m(S,v,N){var C=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:C==null?null:""+C,children:S,containerInfo:v,implementation:N}}var y=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function x(S,v){if(S==="font")return"";if(typeof v=="string")return v==="use-credentials"?v:""}return Wt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,Wt.createPortal=function(S,v){var N=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!v||v.nodeType!==1&&v.nodeType!==9&&v.nodeType!==11)throw Error(f(299));return m(S,v,null,N)},Wt.flushSync=function(S){var v=y.T,N=c.p;try{if(y.T=null,c.p=2,S)return S()}finally{y.T=v,c.p=N,c.d.f()}},Wt.preconnect=function(S,v){typeof S=="string"&&(v?(v=v.crossOrigin,v=typeof v=="string"?v==="use-credentials"?v:"":void 0):v=null,c.d.C(S,v))},Wt.prefetchDNS=function(S){typeof S=="string"&&c.d.D(S)},Wt.preinit=function(S,v){if(typeof S=="string"&&v&&typeof v.as=="string"){var N=v.as,C=x(N,v.crossOrigin),Y=typeof v.integrity=="string"?v.integrity:void 0,V=typeof v.fetchPriority=="string"?v.fetchPriority:void 0;N==="style"?c.d.S(S,typeof v.precedence=="string"?v.precedence:void 0,{crossOrigin:C,integrity:Y,fetchPriority:V}):N==="script"&&c.d.X(S,{crossOrigin:C,integrity:Y,fetchPriority:V,nonce:typeof v.nonce=="string"?v.nonce:void 0})}},Wt.preinitModule=function(S,v){if(typeof S=="string")if(typeof v=="object"&&v!==null){if(v.as==null||v.as==="script"){var N=x(v.as,v.crossOrigin);c.d.M(S,{crossOrigin:N,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0})}}else v==null&&c.d.M(S)},Wt.preload=function(S,v){if(typeof S=="string"&&typeof v=="object"&&v!==null&&typeof v.as=="string"){var N=v.as,C=x(N,v.crossOrigin);c.d.L(S,N,{crossOrigin:C,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0,type:typeof v.type=="string"?v.type:void 0,fetchPriority:typeof v.fetchPriority=="string"?v.fetchPriority:void 0,referrerPolicy:typeof v.referrerPolicy=="string"?v.referrerPolicy:void 0,imageSrcSet:typeof v.imageSrcSet=="string"?v.imageSrcSet:void 0,imageSizes:typeof v.imageSizes=="string"?v.imageSizes:void 0,media:typeof v.media=="string"?v.media:void 0})}},Wt.preloadModule=function(S,v){if(typeof S=="string")if(v){var N=x(v.as,v.crossOrigin);c.d.m(S,{as:typeof v.as=="string"&&v.as!=="script"?v.as:void 0,crossOrigin:N,integrity:typeof v.integrity=="string"?v.integrity:void 0})}else c.d.m(S)},Wt.requestFormReset=function(S){c.d.r(S)},Wt.unstable_batchedUpdates=function(S,v){return S(v)},Wt.useFormState=function(S,v,N){return y.H.useFormState(S,v,N)},Wt.useFormStatus=function(){return y.H.useHostTransitionStatus()},Wt.version="19.2.6",Wt}var S0;function Qy(){if(S0)return kf.exports;S0=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(f){console.error(f)}}return i(),kf.exports=Vy(),kf.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 x0;function Zy(){if(x0)return Xa;x0=1;var i=Gy(),f=us(),r=Qy();function c(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)e+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function m(t){var e=t,l=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(l=e.return),t=e.return;while(t)}return e.tag===3?l:null}function y(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function x(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function S(t){if(m(t)!==t)throw Error(c(188))}function v(t){var e=t.alternate;if(!e){if(e=m(t),e===null)throw Error(c(188));return e!==t?null:t}for(var l=t,n=e;;){var a=l.return;if(a===null)break;var u=a.alternate;if(u===null){if(n=a.return,n!==null){l=n;continue}break}if(a.child===u.child){for(u=a.child;u;){if(u===l)return S(a),t;if(u===n)return S(a),e;u=u.sibling}throw Error(c(188))}if(l.return!==n.return)l=a,n=u;else{for(var s=!1,o=a.child;o;){if(o===l){s=!0,l=a,n=u;break}if(o===n){s=!0,n=a,l=u;break}o=o.sibling}if(!s){for(o=u.child;o;){if(o===l){s=!0,l=u,n=a;break}if(o===n){s=!0,n=u,l=a;break}o=o.sibling}if(!s)throw Error(c(189))}}if(l.alternate!==n)throw Error(c(190))}if(l.tag!==3)throw Error(c(188));return l.stateNode.current===l?t:e}function N(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=N(t),e!==null)return e;t=t.sibling}return null}var C=Object.assign,Y=Symbol.for("react.element"),V=Symbol.for("react.transitional.element"),K=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),R=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),k=Symbol.for("react.consumer"),X=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),at=Symbol.for("react.suspense"),Ot=Symbol.for("react.suspense_list"),tt=Symbol.for("react.memo"),Ht=Symbol.for("react.lazy"),de=Symbol.for("react.activity"),Pt=Symbol.for("react.memo_cache_sentinel"),Vt=Symbol.iterator;function Xt(t){return t===null||typeof t!="object"?null:(t=Vt&&t[Vt]||t["@@iterator"],typeof t=="function"?t:null)}var Ye=Symbol.for("react.client.reference");function Bt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Ye?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case w:return"Fragment";case B:return"Profiler";case R:return"StrictMode";case at:return"Suspense";case Ot:return"SuspenseList";case de:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case K:return"Portal";case X:return t.displayName||"Context";case k:return(t._context.displayName||"Context")+".Consumer";case W:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case tt:return e=t.displayName||null,e!==null?e:Bt(t.type)||"Memo";case Ht:e=t._payload,t=t._init;try{return Bt(t(e))}catch{}}return null}var te=Array.isArray,D=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I={pending:!1,data:null,method:null,action:null},rt=[],ct=-1;function b(t){return{current:t}}function H(t){0>ct||(t.current=rt[ct],rt[ct]=null,ct--)}function q(t,e){ct++,rt[ct]=t.current,t.current=e}var G=b(null),$=b(null),ut=b(null),ft=b(null);function lt(t,e){switch(q(ut,e),q($,t),q(G,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Bd(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Bd(e),t=qd(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}H(G),q(G,t)}function xt(){H(G),H($),H(ut)}function Xe(t){t.memoizedState!==null&&q(ft,t);var e=G.current,l=qd(e,t.type);e!==l&&(q($,t),q(G,l))}function Je(t){$.current===t&&(H(G),H($)),ft.current===t&&(H(ft),Ba._currentValue=I)}var an,$a;function me(t){if(an===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);an=e&&e[1]||"",$a=-1<l.stack.indexOf(`
    at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+an+t+$a}var Ti=!1;function Oi(t,e){if(!t||Ti)return"";Ti=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(e){var j=function(){throw Error()};if(Object.defineProperty(j.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(j,[])}catch(_){var O=_}Reflect.construct(t,[],j)}else{try{j.call()}catch(_){O=_}t.call(j.prototype)}}else{try{throw Error()}catch(_){O=_}(j=t())&&typeof j.catch=="function"&&j.catch(function(){})}}catch(_){if(_&&O&&typeof _.stack=="string")return[_.stack,O.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=n.DetermineComponentFrameRoot(),s=u[0],o=u[1];if(s&&o){var h=s.split(`
`),T=o.split(`
`);for(a=n=0;n<h.length&&!h[n].includes("DetermineComponentFrameRoot");)n++;for(;a<T.length&&!T[a].includes("DetermineComponentFrameRoot");)a++;if(n===h.length||a===T.length)for(n=h.length-1,a=T.length-1;1<=n&&0<=a&&h[n]!==T[a];)a--;for(;1<=n&&0<=a;n--,a--)if(h[n]!==T[a]){if(n!==1||a!==1)do if(n--,a--,0>a||h[n]!==T[a]){var M=`
`+h[n].replace(" at new "," at ");return t.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",t.displayName)),M}while(1<=n&&0<=a);break}}}finally{Ti=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?me(l):""}function mm(t,e){switch(t.tag){case 26:case 27:case 5:return me(t.type);case 16:return me("Lazy");case 13:return t.child!==e&&e!==null?me("Suspense Fallback"):me("Suspense");case 19:return me("SuspenseList");case 0:case 15:return Oi(t.type,!1);case 11:return Oi(t.type.render,!1);case 1:return Oi(t.type,!0);case 31:return me("Activity");default:return""}}function ds(t){try{var e="",l=null;do e+=mm(t,l),l=t,t=t.return;while(t);return e}catch(n){return`
Error generating stack: `+n.message+`
`+n.stack}}var Ni=Object.prototype.hasOwnProperty,_i=i.unstable_scheduleCallback,Ri=i.unstable_cancelCallback,hm=i.unstable_shouldYield,ym=i.unstable_requestPaint,he=i.unstable_now,vm=i.unstable_getCurrentPriorityLevel,ms=i.unstable_ImmediatePriority,hs=i.unstable_UserBlockingPriority,Wa=i.unstable_NormalPriority,pm=i.unstable_LowPriority,ys=i.unstable_IdlePriority,bm=i.log,gm=i.unstable_setDisableYieldValue,kn=null,ye=null;function ol(t){if(typeof bm=="function"&&gm(t),ye&&typeof ye.setStrictMode=="function")try{ye.setStrictMode(kn,t)}catch{}}var ve=Math.clz32?Math.clz32:Em,Sm=Math.log,xm=Math.LN2;function Em(t){return t>>>=0,t===0?32:31-(Sm(t)/xm|0)|0}var Ia=256,Pa=262144,tu=4194304;function ql(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function eu(t,e,l){var n=t.pendingLanes;if(n===0)return 0;var a=0,u=t.suspendedLanes,s=t.pingedLanes;t=t.warmLanes;var o=n&134217727;return o!==0?(n=o&~u,n!==0?a=ql(n):(s&=o,s!==0?a=ql(s):l||(l=o&~t,l!==0&&(a=ql(l))))):(o=n&~u,o!==0?a=ql(o):s!==0?a=ql(s):l||(l=n&~t,l!==0&&(a=ql(l)))),a===0?0:e!==0&&e!==a&&(e&u)===0&&(u=a&-a,l=e&-e,u>=l||u===32&&(l&4194048)!==0)?e:a}function Fn(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function zm(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function vs(){var t=tu;return tu<<=1,(tu&62914560)===0&&(tu=4194304),t}function Di(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function $n(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Am(t,e,l,n,a,u){var s=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var o=t.entanglements,h=t.expirationTimes,T=t.hiddenUpdates;for(l=s&~l;0<l;){var M=31-ve(l),j=1<<M;o[M]=0,h[M]=-1;var O=T[M];if(O!==null)for(T[M]=null,M=0;M<O.length;M++){var _=O[M];_!==null&&(_.lane&=-536870913)}l&=~j}n!==0&&ps(t,n,0),u!==0&&a===0&&t.tag!==0&&(t.suspendedLanes|=u&~(s&~e))}function ps(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var n=31-ve(e);t.entangledLanes|=e,t.entanglements[n]=t.entanglements[n]|1073741824|l&261930}function bs(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var n=31-ve(l),a=1<<n;a&e|t[n]&e&&(t[n]|=e),l&=~a}}function gs(t,e){var l=e&-e;return l=(l&42)!==0?1:Mi(l),(l&(t.suspendedLanes|e))!==0?0:l}function Mi(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Ui(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Ss(){var t=L.p;return t!==0?t:(t=window.event,t===void 0?32:i0(t.type))}function xs(t,e){var l=L.p;try{return L.p=t,e()}finally{L.p=l}}var dl=Math.random().toString(36).slice(2),Jt="__reactFiber$"+dl,ne="__reactProps$"+dl,un="__reactContainer$"+dl,Ci="__reactEvents$"+dl,Tm="__reactListeners$"+dl,Om="__reactHandles$"+dl,Es="__reactResources$"+dl,Wn="__reactMarker$"+dl;function ji(t){delete t[Jt],delete t[ne],delete t[Ci],delete t[Tm],delete t[Om]}function cn(t){var e=t[Jt];if(e)return e;for(var l=t.parentNode;l;){if(e=l[un]||l[Jt]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=Qd(t);t!==null;){if(l=t[Jt])return l;t=Qd(t)}return e}t=l,l=t.parentNode}return null}function fn(t){if(t=t[Jt]||t[un]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function In(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(c(33))}function sn(t){var e=t[Es];return e||(e=t[Es]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Qt(t){t[Wn]=!0}var zs=new Set,As={};function wl(t,e){rn(t,e),rn(t+"Capture",e)}function rn(t,e){for(As[t]=e,t=0;t<e.length;t++)zs.add(e[t])}var Nm=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={},Os={};function _m(t){return Ni.call(Os,t)?!0:Ni.call(Ts,t)?!1:Nm.test(t)?Os[t]=!0:(Ts[t]=!0,!1)}function lu(t,e,l){if(_m(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var n=e.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function nu(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function Ke(t,e,l,n){if(n===null)t.removeAttribute(l);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+n)}}function Te(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Ns(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Rm(t,e,l){var n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,u=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return a.call(this)},set:function(s){l=""+s,u.call(this,s)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return l},setValue:function(s){l=""+s},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Hi(t){if(!t._valueTracker){var e=Ns(t)?"checked":"value";t._valueTracker=Rm(t,e,""+t[e])}}function _s(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),n="";return t&&(n=Ns(t)?t.checked?"true":"false":t.value),t=n,t!==l?(e.setValue(t),!0):!1}function au(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Dm=/[\n"\\]/g;function Oe(t){return t.replace(Dm,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Bi(t,e,l,n,a,u,s,o){t.name="",s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?t.type=s:t.removeAttribute("type"),e!=null?s==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Te(e)):t.value!==""+Te(e)&&(t.value=""+Te(e)):s!=="submit"&&s!=="reset"||t.removeAttribute("value"),e!=null?qi(t,s,Te(e)):l!=null?qi(t,s,Te(l)):n!=null&&t.removeAttribute("value"),a==null&&u!=null&&(t.defaultChecked=!!u),a!=null&&(t.checked=a&&typeof a!="function"&&typeof a!="symbol"),o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?t.name=""+Te(o):t.removeAttribute("name")}function Rs(t,e,l,n,a,u,s,o){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),e!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||e!=null)){Hi(t);return}l=l!=null?""+Te(l):"",e=e!=null?""+Te(e):l,o||e===t.value||(t.value=e),t.defaultValue=e}n=n??a,n=typeof n!="function"&&typeof n!="symbol"&&!!n,t.checked=o?t.checked:!!n,t.defaultChecked=!!n,s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(t.name=s),Hi(t)}function qi(t,e,l){e==="number"&&au(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function on(t,e,l,n){if(t=t.options,e){e={};for(var a=0;a<l.length;a++)e["$"+l[a]]=!0;for(l=0;l<t.length;l++)a=e.hasOwnProperty("$"+t[l].value),t[l].selected!==a&&(t[l].selected=a),a&&n&&(t[l].defaultSelected=!0)}else{for(l=""+Te(l),e=null,a=0;a<t.length;a++){if(t[a].value===l){t[a].selected=!0,n&&(t[a].defaultSelected=!0);return}e!==null||t[a].disabled||(e=t[a])}e!==null&&(e.selected=!0)}}function Ds(t,e,l){if(e!=null&&(e=""+Te(e),e!==t.value&&(t.value=e),l==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=l!=null?""+Te(l):""}function Ms(t,e,l,n){if(e==null){if(n!=null){if(l!=null)throw Error(c(92));if(te(n)){if(1<n.length)throw Error(c(93));n=n[0]}l=n}l==null&&(l=""),e=l}l=Te(e),t.defaultValue=l,n=t.textContent,n===l&&n!==""&&n!==null&&(t.value=n),Hi(t)}function dn(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var Mm=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 Us(t,e,l){var n=e.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?n?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":n?t.setProperty(e,l):typeof l!="number"||l===0||Mm.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function Cs(t,e,l){if(e!=null&&typeof e!="object")throw Error(c(62));if(t=t.style,l!=null){for(var n in l)!l.hasOwnProperty(n)||e!=null&&e.hasOwnProperty(n)||(n.indexOf("--")===0?t.setProperty(n,""):n==="float"?t.cssFloat="":t[n]="");for(var a in e)n=e[a],e.hasOwnProperty(a)&&l[a]!==n&&Us(t,a,n)}else for(var u in e)e.hasOwnProperty(u)&&Us(t,u,e[u])}function wi(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Um=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"]]),Cm=/^[\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 uu(t){return Cm.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function ke(){}var Li=null;function Yi(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var mn=null,hn=null;function js(t){var e=fn(t);if(e&&(t=e.stateNode)){var l=t[ne]||null;t:switch(t=e.stateNode,e.type){case"input":if(Bi(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),e=l.name,l.type==="radio"&&e!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Oe(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var n=l[e];if(n!==t&&n.form===t.form){var a=n[ne]||null;if(!a)throw Error(c(90));Bi(n,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(e=0;e<l.length;e++)n=l[e],n.form===t.form&&_s(n)}break t;case"textarea":Ds(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&on(t,!!l.multiple,e,!1)}}}var Xi=!1;function Hs(t,e,l){if(Xi)return t(e,l);Xi=!0;try{var n=t(e);return n}finally{if(Xi=!1,(mn!==null||hn!==null)&&(Ju(),mn&&(e=mn,t=hn,hn=mn=null,js(e),t)))for(e=0;e<t.length;e++)js(t[e])}}function Pn(t,e){var l=t.stateNode;if(l===null)return null;var n=l[ne]||null;if(n===null)return null;l=n[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(t=t.type,n=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!n;break t;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(c(231,e,typeof l));return l}var Fe=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Gi=!1;if(Fe)try{var ta={};Object.defineProperty(ta,"passive",{get:function(){Gi=!0}}),window.addEventListener("test",ta,ta),window.removeEventListener("test",ta,ta)}catch{Gi=!1}var ml=null,Vi=null,iu=null;function Bs(){if(iu)return iu;var t,e=Vi,l=e.length,n,a="value"in ml?ml.value:ml.textContent,u=a.length;for(t=0;t<l&&e[t]===a[t];t++);var s=l-t;for(n=1;n<=s&&e[l-n]===a[u-n];n++);return iu=a.slice(t,1<n?1-n:void 0)}function cu(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function fu(){return!0}function qs(){return!1}function ae(t){function e(l,n,a,u,s){this._reactName=l,this._targetInst=a,this.type=n,this.nativeEvent=u,this.target=s,this.currentTarget=null;for(var o in t)t.hasOwnProperty(o)&&(l=t[o],this[o]=l?l(u):u[o]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?fu:qs,this.isPropagationStopped=qs,this}return C(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=fu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=fu)},persist:function(){},isPersistent:fu}),e}var Ll={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},su=ae(Ll),ea=C({},Ll,{view:0,detail:0}),jm=ae(ea),Qi,Zi,la,ru=C({},ea,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ki,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==la&&(la&&t.type==="mousemove"?(Qi=t.screenX-la.screenX,Zi=t.screenY-la.screenY):Zi=Qi=0,la=t),Qi)},movementY:function(t){return"movementY"in t?t.movementY:Zi}}),ws=ae(ru),Hm=C({},ru,{dataTransfer:0}),Bm=ae(Hm),qm=C({},ea,{relatedTarget:0}),Ji=ae(qm),wm=C({},Ll,{animationName:0,elapsedTime:0,pseudoElement:0}),Lm=ae(wm),Ym=C({},Ll,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Xm=ae(Ym),Gm=C({},Ll,{data:0}),Ls=ae(Gm),Vm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Qm={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"},Zm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Jm(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Zm[t])?!!e[t]:!1}function Ki(){return Jm}var Km=C({},ea,{key:function(t){if(t.key){var e=Vm[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=cu(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Qm[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ki,charCode:function(t){return t.type==="keypress"?cu(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?cu(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),km=ae(Km),Fm=C({},ru,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ys=ae(Fm),$m=C({},ea,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ki}),Wm=ae($m),Im=C({},Ll,{propertyName:0,elapsedTime:0,pseudoElement:0}),Pm=ae(Im),th=C({},ru,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),eh=ae(th),lh=C({},Ll,{newState:0,oldState:0}),nh=ae(lh),ah=[9,13,27,32],ki=Fe&&"CompositionEvent"in window,na=null;Fe&&"documentMode"in document&&(na=document.documentMode);var uh=Fe&&"TextEvent"in window&&!na,Xs=Fe&&(!ki||na&&8<na&&11>=na),Gs=" ",Vs=!1;function Qs(t,e){switch(t){case"keyup":return ah.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Zs(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var yn=!1;function ih(t,e){switch(t){case"compositionend":return Zs(e);case"keypress":return e.which!==32?null:(Vs=!0,Gs);case"textInput":return t=e.data,t===Gs&&Vs?null:t;default:return null}}function ch(t,e){if(yn)return t==="compositionend"||!ki&&Qs(t,e)?(t=Bs(),iu=Vi=ml=null,yn=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Xs&&e.locale!=="ko"?null:e.data;default:return null}}var fh={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 Js(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!fh[t.type]:e==="textarea"}function Ks(t,e,l,n){mn?hn?hn.push(n):hn=[n]:mn=n,e=Pu(e,"onChange"),0<e.length&&(l=new su("onChange","change",null,l,n),t.push({event:l,listeners:e}))}var aa=null,ua=null;function sh(t){Dd(t,0)}function ou(t){var e=In(t);if(_s(e))return t}function ks(t,e){if(t==="change")return e}var Fs=!1;if(Fe){var Fi;if(Fe){var $i="oninput"in document;if(!$i){var $s=document.createElement("div");$s.setAttribute("oninput","return;"),$i=typeof $s.oninput=="function"}Fi=$i}else Fi=!1;Fs=Fi&&(!document.documentMode||9<document.documentMode)}function Ws(){aa&&(aa.detachEvent("onpropertychange",Is),ua=aa=null)}function Is(t){if(t.propertyName==="value"&&ou(ua)){var e=[];Ks(e,ua,t,Yi(t)),Hs(sh,e)}}function rh(t,e,l){t==="focusin"?(Ws(),aa=e,ua=l,aa.attachEvent("onpropertychange",Is)):t==="focusout"&&Ws()}function oh(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return ou(ua)}function dh(t,e){if(t==="click")return ou(e)}function mh(t,e){if(t==="input"||t==="change")return ou(e)}function hh(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var pe=typeof Object.is=="function"?Object.is:hh;function ia(t,e){if(pe(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var l=Object.keys(t),n=Object.keys(e);if(l.length!==n.length)return!1;for(n=0;n<l.length;n++){var a=l[n];if(!Ni.call(e,a)||!pe(t[a],e[a]))return!1}return!0}function Ps(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function tr(t,e){var l=Ps(t);t=0;for(var n;l;){if(l.nodeType===3){if(n=t+l.textContent.length,t<=e&&n>=e)return{node:l,offset:e-t};t=n}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=Ps(l)}}function er(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?er(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function lr(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=au(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=au(t.document)}return e}function Wi(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var yh=Fe&&"documentMode"in document&&11>=document.documentMode,vn=null,Ii=null,ca=null,Pi=!1;function nr(t,e,l){var n=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Pi||vn==null||vn!==au(n)||(n=vn,"selectionStart"in n&&Wi(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),ca&&ia(ca,n)||(ca=n,n=Pu(Ii,"onSelect"),0<n.length&&(e=new su("onSelect","select",null,e,l),t.push({event:e,listeners:n}),e.target=vn)))}function Yl(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var pn={animationend:Yl("Animation","AnimationEnd"),animationiteration:Yl("Animation","AnimationIteration"),animationstart:Yl("Animation","AnimationStart"),transitionrun:Yl("Transition","TransitionRun"),transitionstart:Yl("Transition","TransitionStart"),transitioncancel:Yl("Transition","TransitionCancel"),transitionend:Yl("Transition","TransitionEnd")},tc={},ar={};Fe&&(ar=document.createElement("div").style,"AnimationEvent"in window||(delete pn.animationend.animation,delete pn.animationiteration.animation,delete pn.animationstart.animation),"TransitionEvent"in window||delete pn.transitionend.transition);function Xl(t){if(tc[t])return tc[t];if(!pn[t])return t;var e=pn[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in ar)return tc[t]=e[l];return t}var ur=Xl("animationend"),ir=Xl("animationiteration"),cr=Xl("animationstart"),vh=Xl("transitionrun"),ph=Xl("transitionstart"),bh=Xl("transitioncancel"),fr=Xl("transitionend"),sr=new Map,ec="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(" ");ec.push("scrollEnd");function Be(t,e){sr.set(t,e),wl(e,[t])}var du=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Ne=[],bn=0,lc=0;function mu(){for(var t=bn,e=lc=bn=0;e<t;){var l=Ne[e];Ne[e++]=null;var n=Ne[e];Ne[e++]=null;var a=Ne[e];Ne[e++]=null;var u=Ne[e];if(Ne[e++]=null,n!==null&&a!==null){var s=n.pending;s===null?a.next=a:(a.next=s.next,s.next=a),n.pending=a}u!==0&&rr(l,a,u)}}function hu(t,e,l,n){Ne[bn++]=t,Ne[bn++]=e,Ne[bn++]=l,Ne[bn++]=n,lc|=n,t.lanes|=n,t=t.alternate,t!==null&&(t.lanes|=n)}function nc(t,e,l,n){return hu(t,e,l,n),yu(t)}function Gl(t,e){return hu(t,null,null,e),yu(t)}function rr(t,e,l){t.lanes|=l;var n=t.alternate;n!==null&&(n.lanes|=l);for(var a=!1,u=t.return;u!==null;)u.childLanes|=l,n=u.alternate,n!==null&&(n.childLanes|=l),u.tag===22&&(t=u.stateNode,t===null||t._visibility&1||(a=!0)),t=u,u=u.return;return t.tag===3?(u=t.stateNode,a&&e!==null&&(a=31-ve(l),t=u.hiddenUpdates,n=t[a],n===null?t[a]=[e]:n.push(e),e.lane=l|536870912),u):null}function yu(t){if(50<Ra)throw Ra=0,mf=null,Error(c(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var gn={};function gh(t,e,l,n){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function be(t,e,l,n){return new gh(t,e,l,n)}function ac(t){return t=t.prototype,!(!t||!t.isReactComponent)}function $e(t,e){var l=t.alternate;return l===null?(l=be(t.tag,e,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=e,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function or(t,e){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function vu(t,e,l,n,a,u){var s=0;if(n=t,typeof t=="function")ac(t)&&(s=1);else if(typeof t=="string")s=Ay(t,l,G.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case de:return t=be(31,l,e,a),t.elementType=de,t.lanes=u,t;case w:return Vl(l.children,a,u,e);case R:s=8,a|=24;break;case B:return t=be(12,l,e,a|2),t.elementType=B,t.lanes=u,t;case at:return t=be(13,l,e,a),t.elementType=at,t.lanes=u,t;case Ot:return t=be(19,l,e,a),t.elementType=Ot,t.lanes=u,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case X:s=10;break t;case k:s=9;break t;case W:s=11;break t;case tt:s=14;break t;case Ht:s=16,n=null;break t}s=29,l=Error(c(130,t===null?"null":typeof t,"")),n=null}return e=be(s,l,e,a),e.elementType=t,e.type=n,e.lanes=u,e}function Vl(t,e,l,n){return t=be(7,t,n,e),t.lanes=l,t}function uc(t,e,l){return t=be(6,t,null,e),t.lanes=l,t}function dr(t){var e=be(18,null,null,0);return e.stateNode=t,e}function ic(t,e,l){return e=be(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var mr=new WeakMap;function _e(t,e){if(typeof t=="object"&&t!==null){var l=mr.get(t);return l!==void 0?l:(e={value:t,source:e,stack:ds(e)},mr.set(t,e),e)}return{value:t,source:e,stack:ds(e)}}var Sn=[],xn=0,pu=null,fa=0,Re=[],De=0,hl=null,Ge=1,Ve="";function We(t,e){Sn[xn++]=fa,Sn[xn++]=pu,pu=t,fa=e}function hr(t,e,l){Re[De++]=Ge,Re[De++]=Ve,Re[De++]=hl,hl=t;var n=Ge;t=Ve;var a=32-ve(n)-1;n&=~(1<<a),l+=1;var u=32-ve(e)+a;if(30<u){var s=a-a%5;u=(n&(1<<s)-1).toString(32),n>>=s,a-=s,Ge=1<<32-ve(e)+a|l<<a|n,Ve=u+t}else Ge=1<<u|l<<a|n,Ve=t}function cc(t){t.return!==null&&(We(t,1),hr(t,1,0))}function fc(t){for(;t===pu;)pu=Sn[--xn],Sn[xn]=null,fa=Sn[--xn],Sn[xn]=null;for(;t===hl;)hl=Re[--De],Re[De]=null,Ve=Re[--De],Re[De]=null,Ge=Re[--De],Re[De]=null}function yr(t,e){Re[De++]=Ge,Re[De++]=Ve,Re[De++]=hl,Ge=e.id,Ve=e.overflow,hl=t}var Kt=null,Nt=null,yt=!1,yl=null,Me=!1,sc=Error(c(519));function vl(t){var e=Error(c(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw sa(_e(e,t)),sc}function vr(t){var e=t.stateNode,l=t.type,n=t.memoizedProps;switch(e[Jt]=t,e[ne]=n,l){case"dialog":dt("cancel",e),dt("close",e);break;case"iframe":case"object":case"embed":dt("load",e);break;case"video":case"audio":for(l=0;l<Ma.length;l++)dt(Ma[l],e);break;case"source":dt("error",e);break;case"img":case"image":case"link":dt("error",e),dt("load",e);break;case"details":dt("toggle",e);break;case"input":dt("invalid",e),Rs(e,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":dt("invalid",e);break;case"textarea":dt("invalid",e),Ms(e,n.value,n.defaultValue,n.children)}l=n.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||n.suppressHydrationWarning===!0||jd(e.textContent,l)?(n.popover!=null&&(dt("beforetoggle",e),dt("toggle",e)),n.onScroll!=null&&dt("scroll",e),n.onScrollEnd!=null&&dt("scrollend",e),n.onClick!=null&&(e.onclick=ke),e=!0):e=!1,e||vl(t,!0)}function pr(t){for(Kt=t.return;Kt;)switch(Kt.tag){case 5:case 31:case 13:Me=!1;return;case 27:case 3:Me=!0;return;default:Kt=Kt.return}}function En(t){if(t!==Kt)return!1;if(!yt)return pr(t),yt=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||_f(t.type,t.memoizedProps)),l=!l),l&&Nt&&vl(t),pr(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));Nt=Vd(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));Nt=Vd(t)}else e===27?(e=Nt,Dl(t.type)?(t=Cf,Cf=null,Nt=t):Nt=e):Nt=Kt?Ce(t.stateNode.nextSibling):null;return!0}function Ql(){Nt=Kt=null,yt=!1}function rc(){var t=yl;return t!==null&&(fe===null?fe=t:fe.push.apply(fe,t),yl=null),t}function sa(t){yl===null?yl=[t]:yl.push(t)}var oc=b(null),Zl=null,Ie=null;function pl(t,e,l){q(oc,e._currentValue),e._currentValue=l}function Pe(t){t._currentValue=oc.current,H(oc)}function dc(t,e,l){for(;t!==null;){var n=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,n!==null&&(n.childLanes|=e)):n!==null&&(n.childLanes&e)!==e&&(n.childLanes|=e),t===l)break;t=t.return}}function mc(t,e,l,n){var a=t.child;for(a!==null&&(a.return=t);a!==null;){var u=a.dependencies;if(u!==null){var s=a.child;u=u.firstContext;t:for(;u!==null;){var o=u;u=a;for(var h=0;h<e.length;h++)if(o.context===e[h]){u.lanes|=l,o=u.alternate,o!==null&&(o.lanes|=l),dc(u.return,l,t),n||(s=null);break t}u=o.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(c(341));s.lanes|=l,u=s.alternate,u!==null&&(u.lanes|=l),dc(s,l,t),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===t){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function zn(t,e,l,n){t=null;for(var a=e,u=!1;a!==null;){if(!u){if((a.flags&524288)!==0)u=!0;else if((a.flags&262144)!==0)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(c(387));if(s=s.memoizedProps,s!==null){var o=a.type;pe(a.pendingProps.value,s.value)||(t!==null?t.push(o):t=[o])}}else if(a===ft.current){if(s=a.alternate,s===null)throw Error(c(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(t!==null?t.push(Ba):t=[Ba])}a=a.return}t!==null&&mc(e,t,l,n),e.flags|=262144}function bu(t){for(t=t.firstContext;t!==null;){if(!pe(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Jl(t){Zl=t,Ie=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function kt(t){return br(Zl,t)}function gu(t,e){return Zl===null&&Jl(t),br(t,e)}function br(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},Ie===null){if(t===null)throw Error(c(308));Ie=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Ie=Ie.next=e;return l}var Sh=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,n){t.push(n)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},xh=i.unstable_scheduleCallback,Eh=i.unstable_NormalPriority,qt={$$typeof:X,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function hc(){return{controller:new Sh,data:new Map,refCount:0}}function ra(t){t.refCount--,t.refCount===0&&xh(Eh,function(){t.controller.abort()})}var oa=null,yc=0,An=0,Tn=null;function zh(t,e){if(oa===null){var l=oa=[];yc=0,An=gf(),Tn={status:"pending",value:void 0,then:function(n){l.push(n)}}}return yc++,e.then(gr,gr),e}function gr(){if(--yc===0&&oa!==null){Tn!==null&&(Tn.status="fulfilled");var t=oa;oa=null,An=0,Tn=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Ah(t,e){var l=[],n={status:"pending",value:null,reason:null,then:function(a){l.push(a)}};return t.then(function(){n.status="fulfilled",n.value=e;for(var a=0;a<l.length;a++)(0,l[a])(e)},function(a){for(n.status="rejected",n.reason=a,a=0;a<l.length;a++)(0,l[a])(void 0)}),n}var Sr=D.S;D.S=function(t,e){ad=he(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&zh(t,e),Sr!==null&&Sr(t,e)};var Kl=b(null);function vc(){var t=Kl.current;return t!==null?t:Tt.pooledCache}function Su(t,e){e===null?q(Kl,Kl.current):q(Kl,e.pool)}function xr(){var t=vc();return t===null?null:{parent:qt._currentValue,pool:t}}var On=Error(c(460)),pc=Error(c(474)),xu=Error(c(542)),Eu={then:function(){}};function Er(t){return t=t.status,t==="fulfilled"||t==="rejected"}function zr(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(ke,ke),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Tr(t),t;default:if(typeof e.status=="string")e.then(ke,ke);else{if(t=Tt,t!==null&&100<t.shellSuspendCounter)throw Error(c(482));t=e,t.status="pending",t.then(function(n){if(e.status==="pending"){var a=e;a.status="fulfilled",a.value=n}},function(n){if(e.status==="pending"){var a=e;a.status="rejected",a.reason=n}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Tr(t),t}throw Fl=e,On}}function kl(t){try{var e=t._init;return e(t._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Fl=l,On):l}}var Fl=null;function Ar(){if(Fl===null)throw Error(c(459));var t=Fl;return Fl=null,t}function Tr(t){if(t===On||t===xu)throw Error(c(483))}var Nn=null,da=0;function zu(t){var e=da;return da+=1,Nn===null&&(Nn=[]),zr(Nn,t,e)}function ma(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Au(t,e){throw e.$$typeof===Y?Error(c(525)):(t=Object.prototype.toString.call(e),Error(c(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Or(t){function e(E,g){if(t){var A=E.deletions;A===null?(E.deletions=[g],E.flags|=16):A.push(g)}}function l(E,g){if(!t)return null;for(;g!==null;)e(E,g),g=g.sibling;return null}function n(E){for(var g=new Map;E!==null;)E.key!==null?g.set(E.key,E):g.set(E.index,E),E=E.sibling;return g}function a(E,g){return E=$e(E,g),E.index=0,E.sibling=null,E}function u(E,g,A){return E.index=A,t?(A=E.alternate,A!==null?(A=A.index,A<g?(E.flags|=67108866,g):A):(E.flags|=67108866,g)):(E.flags|=1048576,g)}function s(E){return t&&E.alternate===null&&(E.flags|=67108866),E}function o(E,g,A,U){return g===null||g.tag!==6?(g=uc(A,E.mode,U),g.return=E,g):(g=a(g,A),g.return=E,g)}function h(E,g,A,U){var F=A.type;return F===w?M(E,g,A.props.children,U,A.key):g!==null&&(g.elementType===F||typeof F=="object"&&F!==null&&F.$$typeof===Ht&&kl(F)===g.type)?(g=a(g,A.props),ma(g,A),g.return=E,g):(g=vu(A.type,A.key,A.props,null,E.mode,U),ma(g,A),g.return=E,g)}function T(E,g,A,U){return g===null||g.tag!==4||g.stateNode.containerInfo!==A.containerInfo||g.stateNode.implementation!==A.implementation?(g=ic(A,E.mode,U),g.return=E,g):(g=a(g,A.children||[]),g.return=E,g)}function M(E,g,A,U,F){return g===null||g.tag!==7?(g=Vl(A,E.mode,U,F),g.return=E,g):(g=a(g,A),g.return=E,g)}function j(E,g,A){if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return g=uc(""+g,E.mode,A),g.return=E,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case V:return A=vu(g.type,g.key,g.props,null,E.mode,A),ma(A,g),A.return=E,A;case K:return g=ic(g,E.mode,A),g.return=E,g;case Ht:return g=kl(g),j(E,g,A)}if(te(g)||Xt(g))return g=Vl(g,E.mode,A,null),g.return=E,g;if(typeof g.then=="function")return j(E,zu(g),A);if(g.$$typeof===X)return j(E,gu(E,g),A);Au(E,g)}return null}function O(E,g,A,U){var F=g!==null?g.key:null;if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return F!==null?null:o(E,g,""+A,U);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case V:return A.key===F?h(E,g,A,U):null;case K:return A.key===F?T(E,g,A,U):null;case Ht:return A=kl(A),O(E,g,A,U)}if(te(A)||Xt(A))return F!==null?null:M(E,g,A,U,null);if(typeof A.then=="function")return O(E,g,zu(A),U);if(A.$$typeof===X)return O(E,g,gu(E,A),U);Au(E,A)}return null}function _(E,g,A,U,F){if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return E=E.get(A)||null,o(g,E,""+U,F);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case V:return E=E.get(U.key===null?A:U.key)||null,h(g,E,U,F);case K:return E=E.get(U.key===null?A:U.key)||null,T(g,E,U,F);case Ht:return U=kl(U),_(E,g,A,U,F)}if(te(U)||Xt(U))return E=E.get(A)||null,M(g,E,U,F,null);if(typeof U.then=="function")return _(E,g,A,zu(U),F);if(U.$$typeof===X)return _(E,g,A,gu(g,U),F);Au(g,U)}return null}function Q(E,g,A,U){for(var F=null,vt=null,J=g,it=g=0,ht=null;J!==null&&it<A.length;it++){J.index>it?(ht=J,J=null):ht=J.sibling;var pt=O(E,J,A[it],U);if(pt===null){J===null&&(J=ht);break}t&&J&&pt.alternate===null&&e(E,J),g=u(pt,g,it),vt===null?F=pt:vt.sibling=pt,vt=pt,J=ht}if(it===A.length)return l(E,J),yt&&We(E,it),F;if(J===null){for(;it<A.length;it++)J=j(E,A[it],U),J!==null&&(g=u(J,g,it),vt===null?F=J:vt.sibling=J,vt=J);return yt&&We(E,it),F}for(J=n(J);it<A.length;it++)ht=_(J,E,it,A[it],U),ht!==null&&(t&&ht.alternate!==null&&J.delete(ht.key===null?it:ht.key),g=u(ht,g,it),vt===null?F=ht:vt.sibling=ht,vt=ht);return t&&J.forEach(function(Hl){return e(E,Hl)}),yt&&We(E,it),F}function P(E,g,A,U){if(A==null)throw Error(c(151));for(var F=null,vt=null,J=g,it=g=0,ht=null,pt=A.next();J!==null&&!pt.done;it++,pt=A.next()){J.index>it?(ht=J,J=null):ht=J.sibling;var Hl=O(E,J,pt.value,U);if(Hl===null){J===null&&(J=ht);break}t&&J&&Hl.alternate===null&&e(E,J),g=u(Hl,g,it),vt===null?F=Hl:vt.sibling=Hl,vt=Hl,J=ht}if(pt.done)return l(E,J),yt&&We(E,it),F;if(J===null){for(;!pt.done;it++,pt=A.next())pt=j(E,pt.value,U),pt!==null&&(g=u(pt,g,it),vt===null?F=pt:vt.sibling=pt,vt=pt);return yt&&We(E,it),F}for(J=n(J);!pt.done;it++,pt=A.next())pt=_(J,E,it,pt.value,U),pt!==null&&(t&&pt.alternate!==null&&J.delete(pt.key===null?it:pt.key),g=u(pt,g,it),vt===null?F=pt:vt.sibling=pt,vt=pt);return t&&J.forEach(function(Hy){return e(E,Hy)}),yt&&We(E,it),F}function At(E,g,A,U){if(typeof A=="object"&&A!==null&&A.type===w&&A.key===null&&(A=A.props.children),typeof A=="object"&&A!==null){switch(A.$$typeof){case V:t:{for(var F=A.key;g!==null;){if(g.key===F){if(F=A.type,F===w){if(g.tag===7){l(E,g.sibling),U=a(g,A.props.children),U.return=E,E=U;break t}}else if(g.elementType===F||typeof F=="object"&&F!==null&&F.$$typeof===Ht&&kl(F)===g.type){l(E,g.sibling),U=a(g,A.props),ma(U,A),U.return=E,E=U;break t}l(E,g);break}else e(E,g);g=g.sibling}A.type===w?(U=Vl(A.props.children,E.mode,U,A.key),U.return=E,E=U):(U=vu(A.type,A.key,A.props,null,E.mode,U),ma(U,A),U.return=E,E=U)}return s(E);case K:t:{for(F=A.key;g!==null;){if(g.key===F)if(g.tag===4&&g.stateNode.containerInfo===A.containerInfo&&g.stateNode.implementation===A.implementation){l(E,g.sibling),U=a(g,A.children||[]),U.return=E,E=U;break t}else{l(E,g);break}else e(E,g);g=g.sibling}U=ic(A,E.mode,U),U.return=E,E=U}return s(E);case Ht:return A=kl(A),At(E,g,A,U)}if(te(A))return Q(E,g,A,U);if(Xt(A)){if(F=Xt(A),typeof F!="function")throw Error(c(150));return A=F.call(A),P(E,g,A,U)}if(typeof A.then=="function")return At(E,g,zu(A),U);if(A.$$typeof===X)return At(E,g,gu(E,A),U);Au(E,A)}return typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint"?(A=""+A,g!==null&&g.tag===6?(l(E,g.sibling),U=a(g,A),U.return=E,E=U):(l(E,g),U=uc(A,E.mode,U),U.return=E,E=U),s(E)):l(E,g)}return function(E,g,A,U){try{da=0;var F=At(E,g,A,U);return Nn=null,F}catch(J){if(J===On||J===xu)throw J;var vt=be(29,J,null,E.mode);return vt.lanes=U,vt.return=E,vt}finally{}}}var $l=Or(!0),Nr=Or(!1),bl=!1;function bc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function gc(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function gl(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Sl(t,e,l){var n=t.updateQueue;if(n===null)return null;if(n=n.shared,(bt&2)!==0){var a=n.pending;return a===null?e.next=e:(e.next=a.next,a.next=e),n.pending=e,e=yu(t),rr(t,null,l),e}return hu(t,n,e,l),yu(t)}function ha(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var n=e.lanes;n&=t.pendingLanes,l|=n,e.lanes=l,bs(t,l)}}function Sc(t,e){var l=t.updateQueue,n=t.alternate;if(n!==null&&(n=n.updateQueue,l===n)){var a=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var s={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?a=u=s:u=u.next=s,l=l.next}while(l!==null);u===null?a=u=e:u=u.next=e}else a=u=e;l={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:u,shared:n.shared,callbacks:n.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var xc=!1;function ya(){if(xc){var t=Tn;if(t!==null)throw t}}function va(t,e,l,n){xc=!1;var a=t.updateQueue;bl=!1;var u=a.firstBaseUpdate,s=a.lastBaseUpdate,o=a.shared.pending;if(o!==null){a.shared.pending=null;var h=o,T=h.next;h.next=null,s===null?u=T:s.next=T,s=h;var M=t.alternate;M!==null&&(M=M.updateQueue,o=M.lastBaseUpdate,o!==s&&(o===null?M.firstBaseUpdate=T:o.next=T,M.lastBaseUpdate=h))}if(u!==null){var j=a.baseState;s=0,M=T=h=null,o=u;do{var O=o.lane&-536870913,_=O!==o.lane;if(_?(mt&O)===O:(n&O)===O){O!==0&&O===An&&(xc=!0),M!==null&&(M=M.next={lane:0,tag:o.tag,payload:o.payload,callback:null,next:null});t:{var Q=t,P=o;O=e;var At=l;switch(P.tag){case 1:if(Q=P.payload,typeof Q=="function"){j=Q.call(At,j,O);break t}j=Q;break t;case 3:Q.flags=Q.flags&-65537|128;case 0:if(Q=P.payload,O=typeof Q=="function"?Q.call(At,j,O):Q,O==null)break t;j=C({},j,O);break t;case 2:bl=!0}}O=o.callback,O!==null&&(t.flags|=64,_&&(t.flags|=8192),_=a.callbacks,_===null?a.callbacks=[O]:_.push(O))}else _={lane:O,tag:o.tag,payload:o.payload,callback:o.callback,next:null},M===null?(T=M=_,h=j):M=M.next=_,s|=O;if(o=o.next,o===null){if(o=a.shared.pending,o===null)break;_=o,o=_.next,_.next=null,a.lastBaseUpdate=_,a.shared.pending=null}}while(!0);M===null&&(h=j),a.baseState=h,a.firstBaseUpdate=T,a.lastBaseUpdate=M,u===null&&(a.shared.lanes=0),Tl|=s,t.lanes=s,t.memoizedState=j}}function _r(t,e){if(typeof t!="function")throw Error(c(191,t));t.call(e)}function Rr(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)_r(l[t],e)}var _n=b(null),Tu=b(0);function Dr(t,e){t=fl,q(Tu,t),q(_n,e),fl=t|e.baseLanes}function Ec(){q(Tu,fl),q(_n,_n.current)}function zc(){fl=Tu.current,H(_n),H(Tu)}var ge=b(null),Ue=null;function xl(t){var e=t.alternate;q(Ut,Ut.current&1),q(ge,t),Ue===null&&(e===null||_n.current!==null||e.memoizedState!==null)&&(Ue=t)}function Ac(t){q(Ut,Ut.current),q(ge,t),Ue===null&&(Ue=t)}function Mr(t){t.tag===22?(q(Ut,Ut.current),q(ge,t),Ue===null&&(Ue=t)):El()}function El(){q(Ut,Ut.current),q(ge,ge.current)}function Se(t){H(ge),Ue===t&&(Ue=null),H(Ut)}var Ut=b(0);function Ou(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Mf(l)||Uf(l)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var tl=0,nt=null,Et=null,wt=null,Nu=!1,Rn=!1,Wl=!1,_u=0,pa=0,Dn=null,Th=0;function Dt(){throw Error(c(321))}function Tc(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!pe(t[l],e[l]))return!1;return!0}function Oc(t,e,l,n,a,u){return tl=u,nt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,D.H=t===null||t.memoizedState===null?yo:Xc,Wl=!1,u=l(n,a),Wl=!1,Rn&&(u=Cr(e,l,n,a)),Ur(t),u}function Ur(t){D.H=Sa;var e=Et!==null&&Et.next!==null;if(tl=0,wt=Et=nt=null,Nu=!1,pa=0,Dn=null,e)throw Error(c(300));t===null||Lt||(t=t.dependencies,t!==null&&bu(t)&&(Lt=!0))}function Cr(t,e,l,n){nt=t;var a=0;do{if(Rn&&(Dn=null),pa=0,Rn=!1,25<=a)throw Error(c(301));if(a+=1,wt=Et=null,t.updateQueue!=null){var u=t.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}D.H=vo,u=e(l,n)}while(Rn);return u}function Oh(){var t=D.H,e=t.useState()[0];return e=typeof e.then=="function"?ba(e):e,t=t.useState()[0],(Et!==null?Et.memoizedState:null)!==t&&(nt.flags|=1024),e}function Nc(){var t=_u!==0;return _u=0,t}function _c(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function Rc(t){if(Nu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Nu=!1}tl=0,wt=Et=nt=null,Rn=!1,pa=_u=0,Dn=null}function ee(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return wt===null?nt.memoizedState=wt=t:wt=wt.next=t,wt}function Ct(){if(Et===null){var t=nt.alternate;t=t!==null?t.memoizedState:null}else t=Et.next;var e=wt===null?nt.memoizedState:wt.next;if(e!==null)wt=e,Et=t;else{if(t===null)throw nt.alternate===null?Error(c(467)):Error(c(310));Et=t,t={memoizedState:Et.memoizedState,baseState:Et.baseState,baseQueue:Et.baseQueue,queue:Et.queue,next:null},wt===null?nt.memoizedState=wt=t:wt=wt.next=t}return wt}function Ru(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ba(t){var e=pa;return pa+=1,Dn===null&&(Dn=[]),t=zr(Dn,t,e),e=nt,(wt===null?e.memoizedState:wt.next)===null&&(e=e.alternate,D.H=e===null||e.memoizedState===null?yo:Xc),t}function Du(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return ba(t);if(t.$$typeof===X)return kt(t)}throw Error(c(438,String(t)))}function Dc(t){var e=null,l=nt.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var n=nt.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(e={data:n.data.map(function(a){return a.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),l===null&&(l=Ru(),nt.updateQueue=l),l.memoCache=e,l=e.data[e.index],l===void 0)for(l=e.data[e.index]=Array(t),n=0;n<t;n++)l[n]=Pt;return e.index++,l}function el(t,e){return typeof e=="function"?e(t):e}function Mu(t){var e=Ct();return Mc(e,Et,t)}function Mc(t,e,l){var n=t.queue;if(n===null)throw Error(c(311));n.lastRenderedReducer=l;var a=t.baseQueue,u=n.pending;if(u!==null){if(a!==null){var s=a.next;a.next=u.next,u.next=s}e.baseQueue=a=u,n.pending=null}if(u=t.baseState,a===null)t.memoizedState=u;else{e=a.next;var o=s=null,h=null,T=e,M=!1;do{var j=T.lane&-536870913;if(j!==T.lane?(mt&j)===j:(tl&j)===j){var O=T.revertLane;if(O===0)h!==null&&(h=h.next={lane:0,revertLane:0,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null}),j===An&&(M=!0);else if((tl&O)===O){T=T.next,O===An&&(M=!0);continue}else j={lane:0,revertLane:T.revertLane,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},h===null?(o=h=j,s=u):h=h.next=j,nt.lanes|=O,Tl|=O;j=T.action,Wl&&l(u,j),u=T.hasEagerState?T.eagerState:l(u,j)}else O={lane:j,revertLane:T.revertLane,gesture:T.gesture,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},h===null?(o=h=O,s=u):h=h.next=O,nt.lanes|=j,Tl|=j;T=T.next}while(T!==null&&T!==e);if(h===null?s=u:h.next=o,!pe(u,t.memoizedState)&&(Lt=!0,M&&(l=Tn,l!==null)))throw l;t.memoizedState=u,t.baseState=s,t.baseQueue=h,n.lastRenderedState=u}return a===null&&(n.lanes=0),[t.memoizedState,n.dispatch]}function Uc(t){var e=Ct(),l=e.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=t;var n=l.dispatch,a=l.pending,u=e.memoizedState;if(a!==null){l.pending=null;var s=a=a.next;do u=t(u,s.action),s=s.next;while(s!==a);pe(u,e.memoizedState)||(Lt=!0),e.memoizedState=u,e.baseQueue===null&&(e.baseState=u),l.lastRenderedState=u}return[u,n]}function jr(t,e,l){var n=nt,a=Ct(),u=yt;if(u){if(l===void 0)throw Error(c(407));l=l()}else l=e();var s=!pe((Et||a).memoizedState,l);if(s&&(a.memoizedState=l,Lt=!0),a=a.queue,Hc(qr.bind(null,n,a,t),[t]),a.getSnapshot!==e||s||wt!==null&&wt.memoizedState.tag&1){if(n.flags|=2048,Mn(9,{destroy:void 0},Br.bind(null,n,a,l,e),null),Tt===null)throw Error(c(349));u||(tl&127)!==0||Hr(n,e,l)}return l}function Hr(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=nt.updateQueue,e===null?(e=Ru(),nt.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function Br(t,e,l,n){e.value=l,e.getSnapshot=n,wr(e)&&Lr(t)}function qr(t,e,l){return l(function(){wr(e)&&Lr(t)})}function wr(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!pe(t,l)}catch{return!0}}function Lr(t){var e=Gl(t,2);e!==null&&se(e,t,2)}function Cc(t){var e=ee();if(typeof t=="function"){var l=t;if(t=l(),Wl){ol(!0);try{l()}finally{ol(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:el,lastRenderedState:t},e}function Yr(t,e,l,n){return t.baseState=l,Mc(t,Et,typeof n=="function"?n:el)}function Nh(t,e,l,n,a){if(ju(t))throw Error(c(485));if(t=e.action,t!==null){var u={payload:a,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(s){u.listeners.push(s)}};D.T!==null?l(!0):u.isTransition=!1,n(u),l=e.pending,l===null?(u.next=e.pending=u,Xr(e,u)):(u.next=l.next,e.pending=l.next=u)}}function Xr(t,e){var l=e.action,n=e.payload,a=t.state;if(e.isTransition){var u=D.T,s={};D.T=s;try{var o=l(a,n),h=D.S;h!==null&&h(s,o),Gr(t,e,o)}catch(T){jc(t,e,T)}finally{u!==null&&s.types!==null&&(u.types=s.types),D.T=u}}else try{u=l(a,n),Gr(t,e,u)}catch(T){jc(t,e,T)}}function Gr(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(n){Vr(t,e,n)},function(n){return jc(t,e,n)}):Vr(t,e,l)}function Vr(t,e,l){e.status="fulfilled",e.value=l,Qr(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,Xr(t,l)))}function jc(t,e,l){var n=t.pending;if(t.pending=null,n!==null){n=n.next;do e.status="rejected",e.reason=l,Qr(e),e=e.next;while(e!==n)}t.action=null}function Qr(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Zr(t,e){return e}function Jr(t,e){if(yt){var l=Tt.formState;if(l!==null){t:{var n=nt;if(yt){if(Nt){e:{for(var a=Nt,u=Me;a.nodeType!==8;){if(!u){a=null;break e}if(a=Ce(a.nextSibling),a===null){a=null;break e}}u=a.data,a=u==="F!"||u==="F"?a:null}if(a){Nt=Ce(a.nextSibling),n=a.data==="F!";break t}}vl(n)}n=!1}n&&(e=l[0])}}return l=ee(),l.memoizedState=l.baseState=e,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zr,lastRenderedState:e},l.queue=n,l=oo.bind(null,nt,n),n.dispatch=l,n=Cc(!1),u=Yc.bind(null,nt,!1,n.queue),n=ee(),a={state:e,dispatch:null,action:t,pending:null},n.queue=a,l=Nh.bind(null,nt,a,u,l),a.dispatch=l,n.memoizedState=t,[e,l,!1]}function Kr(t){var e=Ct();return kr(e,Et,t)}function kr(t,e,l){if(e=Mc(t,e,Zr)[0],t=Mu(el)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var n=ba(e)}catch(s){throw s===On?xu:s}else n=e;e=Ct();var a=e.queue,u=a.dispatch;return l!==e.memoizedState&&(nt.flags|=2048,Mn(9,{destroy:void 0},_h.bind(null,a,l),null)),[n,u,t]}function _h(t,e){t.action=e}function Fr(t){var e=Ct(),l=Et;if(l!==null)return kr(e,l,t);Ct(),e=e.memoizedState,l=Ct();var n=l.queue.dispatch;return l.memoizedState=t,[e,n,!1]}function Mn(t,e,l,n){return t={tag:t,create:l,deps:n,inst:e,next:null},e=nt.updateQueue,e===null&&(e=Ru(),nt.updateQueue=e),l=e.lastEffect,l===null?e.lastEffect=t.next=t:(n=l.next,l.next=t,t.next=n,e.lastEffect=t),t}function $r(){return Ct().memoizedState}function Uu(t,e,l,n){var a=ee();nt.flags|=t,a.memoizedState=Mn(1|e,{destroy:void 0},l,n===void 0?null:n)}function Cu(t,e,l,n){var a=Ct();n=n===void 0?null:n;var u=a.memoizedState.inst;Et!==null&&n!==null&&Tc(n,Et.memoizedState.deps)?a.memoizedState=Mn(e,u,l,n):(nt.flags|=t,a.memoizedState=Mn(1|e,u,l,n))}function Wr(t,e){Uu(8390656,8,t,e)}function Hc(t,e){Cu(2048,8,t,e)}function Rh(t){nt.flags|=4;var e=nt.updateQueue;if(e===null)e=Ru(),nt.updateQueue=e,e.events=[t];else{var l=e.events;l===null?e.events=[t]:l.push(t)}}function Ir(t){var e=Ct().memoizedState;return Rh({ref:e,nextImpl:t}),function(){if((bt&2)!==0)throw Error(c(440));return e.impl.apply(void 0,arguments)}}function Pr(t,e){return Cu(4,2,t,e)}function to(t,e){return Cu(4,4,t,e)}function eo(t,e){if(typeof e=="function"){t=t();var l=e(t);return function(){typeof l=="function"?l():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function lo(t,e,l){l=l!=null?l.concat([t]):null,Cu(4,4,eo.bind(null,e,t),l)}function Bc(){}function no(t,e){var l=Ct();e=e===void 0?null:e;var n=l.memoizedState;return e!==null&&Tc(e,n[1])?n[0]:(l.memoizedState=[t,e],t)}function ao(t,e){var l=Ct();e=e===void 0?null:e;var n=l.memoizedState;if(e!==null&&Tc(e,n[1]))return n[0];if(n=t(),Wl){ol(!0);try{t()}finally{ol(!1)}}return l.memoizedState=[n,e],n}function qc(t,e,l){return l===void 0||(tl&1073741824)!==0&&(mt&261930)===0?t.memoizedState=e:(t.memoizedState=l,t=id(),nt.lanes|=t,Tl|=t,l)}function uo(t,e,l,n){return pe(l,e)?l:_n.current!==null?(t=qc(t,l,n),pe(t,e)||(Lt=!0),t):(tl&42)===0||(tl&1073741824)!==0&&(mt&261930)===0?(Lt=!0,t.memoizedState=l):(t=id(),nt.lanes|=t,Tl|=t,e)}function io(t,e,l,n,a){var u=L.p;L.p=u!==0&&8>u?u:8;var s=D.T,o={};D.T=o,Yc(t,!1,e,l);try{var h=a(),T=D.S;if(T!==null&&T(o,h),h!==null&&typeof h=="object"&&typeof h.then=="function"){var M=Ah(h,n);ga(t,e,M,ze(t))}else ga(t,e,n,ze(t))}catch(j){ga(t,e,{then:function(){},status:"rejected",reason:j},ze())}finally{L.p=u,s!==null&&o.types!==null&&(s.types=o.types),D.T=s}}function Dh(){}function wc(t,e,l,n){if(t.tag!==5)throw Error(c(476));var a=co(t).queue;io(t,a,e,I,l===null?Dh:function(){return fo(t),l(n)})}function co(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:I,baseState:I,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:el,lastRenderedState:I},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:el,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function fo(t){var e=co(t);e.next===null&&(e=t.alternate.memoizedState),ga(t,e.next.queue,{},ze())}function Lc(){return kt(Ba)}function so(){return Ct().memoizedState}function ro(){return Ct().memoizedState}function Mh(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=ze();t=gl(l);var n=Sl(e,t,l);n!==null&&(se(n,e,l),ha(n,e,l)),e={cache:hc()},t.payload=e;return}e=e.return}}function Uh(t,e,l){var n=ze();l={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},ju(t)?mo(e,l):(l=nc(t,e,l,n),l!==null&&(se(l,t,n),ho(l,e,n)))}function oo(t,e,l){var n=ze();ga(t,e,l,n)}function ga(t,e,l,n){var a={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(ju(t))mo(e,a);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=e.lastRenderedReducer,u!==null))try{var s=e.lastRenderedState,o=u(s,l);if(a.hasEagerState=!0,a.eagerState=o,pe(o,s))return hu(t,e,a,0),Tt===null&&mu(),!1}catch{}finally{}if(l=nc(t,e,a,n),l!==null)return se(l,t,n),ho(l,e,n),!0}return!1}function Yc(t,e,l,n){if(n={lane:2,revertLane:gf(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},ju(t)){if(e)throw Error(c(479))}else e=nc(t,l,n,2),e!==null&&se(e,t,2)}function ju(t){var e=t.alternate;return t===nt||e!==null&&e===nt}function mo(t,e){Rn=Nu=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function ho(t,e,l){if((l&4194048)!==0){var n=e.lanes;n&=t.pendingLanes,l|=n,e.lanes=l,bs(t,l)}}var Sa={readContext:kt,use:Du,useCallback:Dt,useContext:Dt,useEffect:Dt,useImperativeHandle:Dt,useLayoutEffect:Dt,useInsertionEffect:Dt,useMemo:Dt,useReducer:Dt,useRef:Dt,useState:Dt,useDebugValue:Dt,useDeferredValue:Dt,useTransition:Dt,useSyncExternalStore:Dt,useId:Dt,useHostTransitionStatus:Dt,useFormState:Dt,useActionState:Dt,useOptimistic:Dt,useMemoCache:Dt,useCacheRefresh:Dt};Sa.useEffectEvent=Dt;var yo={readContext:kt,use:Du,useCallback:function(t,e){return ee().memoizedState=[t,e===void 0?null:e],t},useContext:kt,useEffect:Wr,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,Uu(4194308,4,eo.bind(null,e,t),l)},useLayoutEffect:function(t,e){return Uu(4194308,4,t,e)},useInsertionEffect:function(t,e){Uu(4,2,t,e)},useMemo:function(t,e){var l=ee();e=e===void 0?null:e;var n=t();if(Wl){ol(!0);try{t()}finally{ol(!1)}}return l.memoizedState=[n,e],n},useReducer:function(t,e,l){var n=ee();if(l!==void 0){var a=l(e);if(Wl){ol(!0);try{l(e)}finally{ol(!1)}}}else a=e;return n.memoizedState=n.baseState=a,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:a},n.queue=t,t=t.dispatch=Uh.bind(null,nt,t),[n.memoizedState,t]},useRef:function(t){var e=ee();return t={current:t},e.memoizedState=t},useState:function(t){t=Cc(t);var e=t.queue,l=oo.bind(null,nt,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:Bc,useDeferredValue:function(t,e){var l=ee();return qc(l,t,e)},useTransition:function(){var t=Cc(!1);return t=io.bind(null,nt,t.queue,!0,!1),ee().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var n=nt,a=ee();if(yt){if(l===void 0)throw Error(c(407));l=l()}else{if(l=e(),Tt===null)throw Error(c(349));(mt&127)!==0||Hr(n,e,l)}a.memoizedState=l;var u={value:l,getSnapshot:e};return a.queue=u,Wr(qr.bind(null,n,u,t),[t]),n.flags|=2048,Mn(9,{destroy:void 0},Br.bind(null,n,u,l,e),null),l},useId:function(){var t=ee(),e=Tt.identifierPrefix;if(yt){var l=Ve,n=Ge;l=(n&~(1<<32-ve(n)-1)).toString(32)+l,e="_"+e+"R_"+l,l=_u++,0<l&&(e+="H"+l.toString(32)),e+="_"}else l=Th++,e="_"+e+"r_"+l.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:Lc,useFormState:Jr,useActionState:Jr,useOptimistic:function(t){var e=ee();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=Yc.bind(null,nt,!0,l),l.dispatch=e,[t,e]},useMemoCache:Dc,useCacheRefresh:function(){return ee().memoizedState=Mh.bind(null,nt)},useEffectEvent:function(t){var e=ee(),l={impl:t};return e.memoizedState=l,function(){if((bt&2)!==0)throw Error(c(440));return l.impl.apply(void 0,arguments)}}},Xc={readContext:kt,use:Du,useCallback:no,useContext:kt,useEffect:Hc,useImperativeHandle:lo,useInsertionEffect:Pr,useLayoutEffect:to,useMemo:ao,useReducer:Mu,useRef:$r,useState:function(){return Mu(el)},useDebugValue:Bc,useDeferredValue:function(t,e){var l=Ct();return uo(l,Et.memoizedState,t,e)},useTransition:function(){var t=Mu(el)[0],e=Ct().memoizedState;return[typeof t=="boolean"?t:ba(t),e]},useSyncExternalStore:jr,useId:so,useHostTransitionStatus:Lc,useFormState:Kr,useActionState:Kr,useOptimistic:function(t,e){var l=Ct();return Yr(l,Et,t,e)},useMemoCache:Dc,useCacheRefresh:ro};Xc.useEffectEvent=Ir;var vo={readContext:kt,use:Du,useCallback:no,useContext:kt,useEffect:Hc,useImperativeHandle:lo,useInsertionEffect:Pr,useLayoutEffect:to,useMemo:ao,useReducer:Uc,useRef:$r,useState:function(){return Uc(el)},useDebugValue:Bc,useDeferredValue:function(t,e){var l=Ct();return Et===null?qc(l,t,e):uo(l,Et.memoizedState,t,e)},useTransition:function(){var t=Uc(el)[0],e=Ct().memoizedState;return[typeof t=="boolean"?t:ba(t),e]},useSyncExternalStore:jr,useId:so,useHostTransitionStatus:Lc,useFormState:Fr,useActionState:Fr,useOptimistic:function(t,e){var l=Ct();return Et!==null?Yr(l,Et,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:Dc,useCacheRefresh:ro};vo.useEffectEvent=Ir;function Gc(t,e,l,n){e=t.memoizedState,l=l(n,e),l=l==null?e:C({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var Vc={enqueueSetState:function(t,e,l){t=t._reactInternals;var n=ze(),a=gl(n);a.payload=e,l!=null&&(a.callback=l),e=Sl(t,a,n),e!==null&&(se(e,t,n),ha(e,t,n))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var n=ze(),a=gl(n);a.tag=1,a.payload=e,l!=null&&(a.callback=l),e=Sl(t,a,n),e!==null&&(se(e,t,n),ha(e,t,n))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=ze(),n=gl(l);n.tag=2,e!=null&&(n.callback=e),e=Sl(t,n,l),e!==null&&(se(e,t,l),ha(e,t,l))}};function po(t,e,l,n,a,u,s){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(n,u,s):e.prototype&&e.prototype.isPureReactComponent?!ia(l,n)||!ia(a,u):!0}function bo(t,e,l,n){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,n),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,n),e.state!==t&&Vc.enqueueReplaceState(e,e.state,null)}function Il(t,e){var l=e;if("ref"in e){l={};for(var n in e)n!=="ref"&&(l[n]=e[n])}if(t=t.defaultProps){l===e&&(l=C({},l));for(var a in t)l[a]===void 0&&(l[a]=t[a])}return l}function go(t){du(t)}function So(t){console.error(t)}function xo(t){du(t)}function Hu(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(n){setTimeout(function(){throw n})}}function Eo(t,e,l){try{var n=t.onCaughtError;n(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(a){setTimeout(function(){throw a})}}function Qc(t,e,l){return l=gl(l),l.tag=3,l.payload={element:null},l.callback=function(){Hu(t,e)},l}function zo(t){return t=gl(t),t.tag=3,t}function Ao(t,e,l,n){var a=l.type.getDerivedStateFromError;if(typeof a=="function"){var u=n.value;t.payload=function(){return a(u)},t.callback=function(){Eo(e,l,n)}}var s=l.stateNode;s!==null&&typeof s.componentDidCatch=="function"&&(t.callback=function(){Eo(e,l,n),typeof a!="function"&&(Ol===null?Ol=new Set([this]):Ol.add(this));var o=n.stack;this.componentDidCatch(n.value,{componentStack:o!==null?o:""})})}function Ch(t,e,l,n,a){if(l.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(e=l.alternate,e!==null&&zn(e,l,a,!0),l=ge.current,l!==null){switch(l.tag){case 31:case 13:return Ue===null?Ku():l.alternate===null&&Mt===0&&(Mt=3),l.flags&=-257,l.flags|=65536,l.lanes=a,n===Eu?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([n]):e.add(n),vf(t,n,a)),!1;case 22:return l.flags|=65536,n===Eu?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([n])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([n]):l.add(n)),vf(t,n,a)),!1}throw Error(c(435,l.tag))}return vf(t,n,a),Ku(),!1}if(yt)return e=ge.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=a,n!==sc&&(t=Error(c(422),{cause:n}),sa(_e(t,l)))):(n!==sc&&(e=Error(c(423),{cause:n}),sa(_e(e,l))),t=t.current.alternate,t.flags|=65536,a&=-a,t.lanes|=a,n=_e(n,l),a=Qc(t.stateNode,n,a),Sc(t,a),Mt!==4&&(Mt=2)),!1;var u=Error(c(520),{cause:n});if(u=_e(u,l),_a===null?_a=[u]:_a.push(u),Mt!==4&&(Mt=2),e===null)return!0;n=_e(n,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=a&-a,l.lanes|=t,t=Qc(l.stateNode,n,t),Sc(l,t),!1;case 1:if(e=l.type,u=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Ol===null||!Ol.has(u))))return l.flags|=65536,a&=-a,l.lanes|=a,a=zo(a),Ao(a,t,l,n),Sc(l,a),!1}l=l.return}while(l!==null);return!1}var Zc=Error(c(461)),Lt=!1;function Ft(t,e,l,n){e.child=t===null?Nr(e,null,l,n):$l(e,t.child,l,n)}function To(t,e,l,n,a){l=l.render;var u=e.ref;if("ref"in n){var s={};for(var o in n)o!=="ref"&&(s[o]=n[o])}else s=n;return Jl(e),n=Oc(t,e,l,s,u,a),o=Nc(),t!==null&&!Lt?(_c(t,e,a),ll(t,e,a)):(yt&&o&&cc(e),e.flags|=1,Ft(t,e,n,a),e.child)}function Oo(t,e,l,n,a){if(t===null){var u=l.type;return typeof u=="function"&&!ac(u)&&u.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=u,No(t,e,u,n,a)):(t=vu(l.type,null,n,e,e.mode,a),t.ref=e.ref,t.return=e,e.child=t)}if(u=t.child,!Pc(t,a)){var s=u.memoizedProps;if(l=l.compare,l=l!==null?l:ia,l(s,n)&&t.ref===e.ref)return ll(t,e,a)}return e.flags|=1,t=$e(u,n),t.ref=e.ref,t.return=e,e.child=t}function No(t,e,l,n,a){if(t!==null){var u=t.memoizedProps;if(ia(u,n)&&t.ref===e.ref)if(Lt=!1,e.pendingProps=n=u,Pc(t,a))(t.flags&131072)!==0&&(Lt=!0);else return e.lanes=t.lanes,ll(t,e,a)}return Jc(t,e,l,n,a)}function _o(t,e,l,n){var a=n.children,u=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((e.flags&128)!==0){if(u=u!==null?u.baseLanes|l:l,t!==null){for(n=e.child=t.child,a=0;n!==null;)a=a|n.lanes|n.childLanes,n=n.sibling;n=a&~u}else n=0,e.child=null;return Ro(t,e,u,l,n)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Su(e,u!==null?u.cachePool:null),u!==null?Dr(e,u):Ec(),Mr(e);else return n=e.lanes=536870912,Ro(t,e,u!==null?u.baseLanes|l:l,l,n)}else u!==null?(Su(e,u.cachePool),Dr(e,u),El(),e.memoizedState=null):(t!==null&&Su(e,null),Ec(),El());return Ft(t,e,a,l),e.child}function xa(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function Ro(t,e,l,n,a){var u=vc();return u=u===null?null:{parent:qt._currentValue,pool:u},e.memoizedState={baseLanes:l,cachePool:u},t!==null&&Su(e,null),Ec(),Mr(e),t!==null&&zn(t,e,n,!0),e.childLanes=a,null}function Bu(t,e){return e=wu({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function Do(t,e,l){return $l(e,t.child,null,l),t=Bu(e,e.pendingProps),t.flags|=2,Se(e),e.memoizedState=null,t}function jh(t,e,l){var n=e.pendingProps,a=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(yt){if(n.mode==="hidden")return t=Bu(e,n),e.lanes=536870912,xa(null,t);if(Ac(e),(t=Nt)?(t=Gd(t,Me),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:hl!==null?{id:Ge,overflow:Ve}:null,retryLane:536870912,hydrationErrors:null},l=dr(t),l.return=e,e.child=l,Kt=e,Nt=null)):t=null,t===null)throw vl(e);return e.lanes=536870912,null}return Bu(e,n)}var u=t.memoizedState;if(u!==null){var s=u.dehydrated;if(Ac(e),a)if(e.flags&256)e.flags&=-257,e=Do(t,e,l);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(c(558));else if(Lt||zn(t,e,l,!1),a=(l&t.childLanes)!==0,Lt||a){if(n=Tt,n!==null&&(s=gs(n,l),s!==0&&s!==u.retryLane))throw u.retryLane=s,Gl(t,s),se(n,t,s),Zc;Ku(),e=Do(t,e,l)}else t=u.treeContext,Nt=Ce(s.nextSibling),Kt=e,yt=!0,yl=null,Me=!1,t!==null&&yr(e,t),e=Bu(e,n),e.flags|=4096;return e}return t=$e(t.child,{mode:n.mode,children:n.children}),t.ref=e.ref,e.child=t,t.return=e,t}function qu(t,e){var l=e.ref;if(l===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(c(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function Jc(t,e,l,n,a){return Jl(e),l=Oc(t,e,l,n,void 0,a),n=Nc(),t!==null&&!Lt?(_c(t,e,a),ll(t,e,a)):(yt&&n&&cc(e),e.flags|=1,Ft(t,e,l,a),e.child)}function Mo(t,e,l,n,a,u){return Jl(e),e.updateQueue=null,l=Cr(e,n,l,a),Ur(t),n=Nc(),t!==null&&!Lt?(_c(t,e,u),ll(t,e,u)):(yt&&n&&cc(e),e.flags|=1,Ft(t,e,l,u),e.child)}function Uo(t,e,l,n,a){if(Jl(e),e.stateNode===null){var u=gn,s=l.contextType;typeof s=="object"&&s!==null&&(u=kt(s)),u=new l(n,u),e.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Vc,e.stateNode=u,u._reactInternals=e,u=e.stateNode,u.props=n,u.state=e.memoizedState,u.refs={},bc(e),s=l.contextType,u.context=typeof s=="object"&&s!==null?kt(s):gn,u.state=e.memoizedState,s=l.getDerivedStateFromProps,typeof s=="function"&&(Gc(e,l,s,n),u.state=e.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(s=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),s!==u.state&&Vc.enqueueReplaceState(u,u.state,null),va(e,n,u,a),ya(),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308),n=!0}else if(t===null){u=e.stateNode;var o=e.memoizedProps,h=Il(l,o);u.props=h;var T=u.context,M=l.contextType;s=gn,typeof M=="object"&&M!==null&&(s=kt(M));var j=l.getDerivedStateFromProps;M=typeof j=="function"||typeof u.getSnapshotBeforeUpdate=="function",o=e.pendingProps!==o,M||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(o||T!==s)&&bo(e,u,n,s),bl=!1;var O=e.memoizedState;u.state=O,va(e,n,u,a),ya(),T=e.memoizedState,o||O!==T||bl?(typeof j=="function"&&(Gc(e,l,j,n),T=e.memoizedState),(h=bl||po(e,l,h,n,O,T,s))?(M||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(e.flags|=4194308)):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=n,e.memoizedState=T),u.props=n,u.state=T,u.context=s,n=h):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),n=!1)}else{u=e.stateNode,gc(t,e),s=e.memoizedProps,M=Il(l,s),u.props=M,j=e.pendingProps,O=u.context,T=l.contextType,h=gn,typeof T=="object"&&T!==null&&(h=kt(T)),o=l.getDerivedStateFromProps,(T=typeof o=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(s!==j||O!==h)&&bo(e,u,n,h),bl=!1,O=e.memoizedState,u.state=O,va(e,n,u,a),ya();var _=e.memoizedState;s!==j||O!==_||bl||t!==null&&t.dependencies!==null&&bu(t.dependencies)?(typeof o=="function"&&(Gc(e,l,o,n),_=e.memoizedState),(M=bl||po(e,l,M,n,O,_,h)||t!==null&&t.dependencies!==null&&bu(t.dependencies))?(T||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(n,_,h),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(n,_,h)),typeof u.componentDidUpdate=="function"&&(e.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof u.componentDidUpdate!="function"||s===t.memoizedProps&&O===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||s===t.memoizedProps&&O===t.memoizedState||(e.flags|=1024),e.memoizedProps=n,e.memoizedState=_),u.props=n,u.state=_,u.context=h,n=M):(typeof u.componentDidUpdate!="function"||s===t.memoizedProps&&O===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||s===t.memoizedProps&&O===t.memoizedState||(e.flags|=1024),n=!1)}return u=n,qu(t,e),n=(e.flags&128)!==0,u||n?(u=e.stateNode,l=n&&typeof l.getDerivedStateFromError!="function"?null:u.render(),e.flags|=1,t!==null&&n?(e.child=$l(e,t.child,null,a),e.child=$l(e,null,l,a)):Ft(t,e,l,a),e.memoizedState=u.state,t=e.child):t=ll(t,e,a),t}function Co(t,e,l,n){return Ql(),e.flags|=256,Ft(t,e,l,n),e.child}var Kc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function kc(t){return{baseLanes:t,cachePool:xr()}}function Fc(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=Ee),t}function jo(t,e,l){var n=e.pendingProps,a=!1,u=(e.flags&128)!==0,s;if((s=u)||(s=t!==null&&t.memoizedState===null?!1:(Ut.current&2)!==0),s&&(a=!0,e.flags&=-129),s=(e.flags&32)!==0,e.flags&=-33,t===null){if(yt){if(a?xl(e):El(),(t=Nt)?(t=Gd(t,Me),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:hl!==null?{id:Ge,overflow:Ve}:null,retryLane:536870912,hydrationErrors:null},l=dr(t),l.return=e,e.child=l,Kt=e,Nt=null)):t=null,t===null)throw vl(e);return Uf(t)?e.lanes=32:e.lanes=536870912,null}var o=n.children;return n=n.fallback,a?(El(),a=e.mode,o=wu({mode:"hidden",children:o},a),n=Vl(n,a,l,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n=e.child,n.memoizedState=kc(l),n.childLanes=Fc(t,s,l),e.memoizedState=Kc,xa(null,n)):(xl(e),$c(e,o))}var h=t.memoizedState;if(h!==null&&(o=h.dehydrated,o!==null)){if(u)e.flags&256?(xl(e),e.flags&=-257,e=Wc(t,e,l)):e.memoizedState!==null?(El(),e.child=t.child,e.flags|=128,e=null):(El(),o=n.fallback,a=e.mode,n=wu({mode:"visible",children:n.children},a),o=Vl(o,a,l,null),o.flags|=2,n.return=e,o.return=e,n.sibling=o,e.child=n,$l(e,t.child,null,l),n=e.child,n.memoizedState=kc(l),n.childLanes=Fc(t,s,l),e.memoizedState=Kc,e=xa(null,n));else if(xl(e),Uf(o)){if(s=o.nextSibling&&o.nextSibling.dataset,s)var T=s.dgst;s=T,n=Error(c(419)),n.stack="",n.digest=s,sa({value:n,source:null,stack:null}),e=Wc(t,e,l)}else if(Lt||zn(t,e,l,!1),s=(l&t.childLanes)!==0,Lt||s){if(s=Tt,s!==null&&(n=gs(s,l),n!==0&&n!==h.retryLane))throw h.retryLane=n,Gl(t,n),se(s,t,n),Zc;Mf(o)||Ku(),e=Wc(t,e,l)}else Mf(o)?(e.flags|=192,e.child=t.child,e=null):(t=h.treeContext,Nt=Ce(o.nextSibling),Kt=e,yt=!0,yl=null,Me=!1,t!==null&&yr(e,t),e=$c(e,n.children),e.flags|=4096);return e}return a?(El(),o=n.fallback,a=e.mode,h=t.child,T=h.sibling,n=$e(h,{mode:"hidden",children:n.children}),n.subtreeFlags=h.subtreeFlags&65011712,T!==null?o=$e(T,o):(o=Vl(o,a,l,null),o.flags|=2),o.return=e,n.return=e,n.sibling=o,e.child=n,xa(null,n),n=e.child,o=t.child.memoizedState,o===null?o=kc(l):(a=o.cachePool,a!==null?(h=qt._currentValue,a=a.parent!==h?{parent:h,pool:h}:a):a=xr(),o={baseLanes:o.baseLanes|l,cachePool:a}),n.memoizedState=o,n.childLanes=Fc(t,s,l),e.memoizedState=Kc,xa(t.child,n)):(xl(e),l=t.child,t=l.sibling,l=$e(l,{mode:"visible",children:n.children}),l.return=e,l.sibling=null,t!==null&&(s=e.deletions,s===null?(e.deletions=[t],e.flags|=16):s.push(t)),e.child=l,e.memoizedState=null,l)}function $c(t,e){return e=wu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function wu(t,e){return t=be(22,t,null,e),t.lanes=0,t}function Wc(t,e,l){return $l(e,t.child,null,l),t=$c(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Ho(t,e,l){t.lanes|=e;var n=t.alternate;n!==null&&(n.lanes|=e),dc(t.return,e,l)}function Ic(t,e,l,n,a,u){var s=t.memoizedState;s===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:l,tailMode:a,treeForkCount:u}:(s.isBackwards=e,s.rendering=null,s.renderingStartTime=0,s.last=n,s.tail=l,s.tailMode=a,s.treeForkCount=u)}function Bo(t,e,l){var n=e.pendingProps,a=n.revealOrder,u=n.tail;n=n.children;var s=Ut.current,o=(s&2)!==0;if(o?(s=s&1|2,e.flags|=128):s&=1,q(Ut,s),Ft(t,e,n,l),n=yt?fa:0,!o&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Ho(t,l,e);else if(t.tag===19)Ho(t,l,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(a){case"forwards":for(l=e.child,a=null;l!==null;)t=l.alternate,t!==null&&Ou(t)===null&&(a=l),l=l.sibling;l=a,l===null?(a=e.child,e.child=null):(a=l.sibling,l.sibling=null),Ic(e,!1,a,l,u,n);break;case"backwards":case"unstable_legacy-backwards":for(l=null,a=e.child,e.child=null;a!==null;){if(t=a.alternate,t!==null&&Ou(t)===null){e.child=a;break}t=a.sibling,a.sibling=l,l=a,a=t}Ic(e,!0,l,null,u,n);break;case"together":Ic(e,!1,null,null,void 0,n);break;default:e.memoizedState=null}return e.child}function ll(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),Tl|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(zn(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(c(153));if(e.child!==null){for(t=e.child,l=$e(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=$e(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function Pc(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&bu(t)))}function Hh(t,e,l){switch(e.tag){case 3:lt(e,e.stateNode.containerInfo),pl(e,qt,t.memoizedState.cache),Ql();break;case 27:case 5:Xe(e);break;case 4:lt(e,e.stateNode.containerInfo);break;case 10:pl(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Ac(e),null;break;case 13:var n=e.memoizedState;if(n!==null)return n.dehydrated!==null?(xl(e),e.flags|=128,null):(l&e.child.childLanes)!==0?jo(t,e,l):(xl(e),t=ll(t,e,l),t!==null?t.sibling:null);xl(e);break;case 19:var a=(t.flags&128)!==0;if(n=(l&e.childLanes)!==0,n||(zn(t,e,l,!1),n=(l&e.childLanes)!==0),a){if(n)return Bo(t,e,l);e.flags|=128}if(a=e.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),q(Ut,Ut.current),n)break;return null;case 22:return e.lanes=0,_o(t,e,l,e.pendingProps);case 24:pl(e,qt,t.memoizedState.cache)}return ll(t,e,l)}function qo(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)Lt=!0;else{if(!Pc(t,l)&&(e.flags&128)===0)return Lt=!1,Hh(t,e,l);Lt=(t.flags&131072)!==0}else Lt=!1,yt&&(e.flags&1048576)!==0&&hr(e,fa,e.index);switch(e.lanes=0,e.tag){case 16:t:{var n=e.pendingProps;if(t=kl(e.elementType),e.type=t,typeof t=="function")ac(t)?(n=Il(t,n),e.tag=1,e=Uo(null,e,t,n,l)):(e.tag=0,e=Jc(null,e,t,n,l));else{if(t!=null){var a=t.$$typeof;if(a===W){e.tag=11,e=To(null,e,t,n,l);break t}else if(a===tt){e.tag=14,e=Oo(null,e,t,n,l);break t}}throw e=Bt(t)||t,Error(c(306,e,""))}}return e;case 0:return Jc(t,e,e.type,e.pendingProps,l);case 1:return n=e.type,a=Il(n,e.pendingProps),Uo(t,e,n,a,l);case 3:t:{if(lt(e,e.stateNode.containerInfo),t===null)throw Error(c(387));n=e.pendingProps;var u=e.memoizedState;a=u.element,gc(t,e),va(e,n,null,l);var s=e.memoizedState;if(n=s.cache,pl(e,qt,n),n!==u.cache&&mc(e,[qt],l,!0),ya(),n=s.element,u.isDehydrated)if(u={element:n,isDehydrated:!1,cache:s.cache},e.updateQueue.baseState=u,e.memoizedState=u,e.flags&256){e=Co(t,e,n,l);break t}else if(n!==a){a=_e(Error(c(424)),e),sa(a),e=Co(t,e,n,l);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Nt=Ce(t.firstChild),Kt=e,yt=!0,yl=null,Me=!0,l=Nr(e,null,n,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Ql(),n===a){e=ll(t,e,l);break t}Ft(t,e,n,l)}e=e.child}return e;case 26:return qu(t,e),t===null?(l=kd(e.type,null,e.pendingProps,null))?e.memoizedState=l:yt||(l=e.type,t=e.pendingProps,n=ti(ut.current).createElement(l),n[Jt]=e,n[ne]=t,$t(n,l,t),Qt(n),e.stateNode=n):e.memoizedState=kd(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Xe(e),t===null&&yt&&(n=e.stateNode=Zd(e.type,e.pendingProps,ut.current),Kt=e,Me=!0,a=Nt,Dl(e.type)?(Cf=a,Nt=Ce(n.firstChild)):Nt=a),Ft(t,e,e.pendingProps.children,l),qu(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&yt&&((a=n=Nt)&&(n=oy(n,e.type,e.pendingProps,Me),n!==null?(e.stateNode=n,Kt=e,Nt=Ce(n.firstChild),Me=!1,a=!0):a=!1),a||vl(e)),Xe(e),a=e.type,u=e.pendingProps,s=t!==null?t.memoizedProps:null,n=u.children,_f(a,u)?n=null:s!==null&&_f(a,s)&&(e.flags|=32),e.memoizedState!==null&&(a=Oc(t,e,Oh,null,null,l),Ba._currentValue=a),qu(t,e),Ft(t,e,n,l),e.child;case 6:return t===null&&yt&&((t=l=Nt)&&(l=dy(l,e.pendingProps,Me),l!==null?(e.stateNode=l,Kt=e,Nt=null,t=!0):t=!1),t||vl(e)),null;case 13:return jo(t,e,l);case 4:return lt(e,e.stateNode.containerInfo),n=e.pendingProps,t===null?e.child=$l(e,null,n,l):Ft(t,e,n,l),e.child;case 11:return To(t,e,e.type,e.pendingProps,l);case 7:return Ft(t,e,e.pendingProps,l),e.child;case 8:return Ft(t,e,e.pendingProps.children,l),e.child;case 12:return Ft(t,e,e.pendingProps.children,l),e.child;case 10:return n=e.pendingProps,pl(e,e.type,n.value),Ft(t,e,n.children,l),e.child;case 9:return a=e.type._context,n=e.pendingProps.children,Jl(e),a=kt(a),n=n(a),e.flags|=1,Ft(t,e,n,l),e.child;case 14:return Oo(t,e,e.type,e.pendingProps,l);case 15:return No(t,e,e.type,e.pendingProps,l);case 19:return Bo(t,e,l);case 31:return jh(t,e,l);case 22:return _o(t,e,l,e.pendingProps);case 24:return Jl(e),n=kt(qt),t===null?(a=vc(),a===null&&(a=Tt,u=hc(),a.pooledCache=u,u.refCount++,u!==null&&(a.pooledCacheLanes|=l),a=u),e.memoizedState={parent:n,cache:a},bc(e),pl(e,qt,a)):((t.lanes&l)!==0&&(gc(t,e),va(e,null,null,l),ya()),a=t.memoizedState,u=e.memoizedState,a.parent!==n?(a={parent:n,cache:n},e.memoizedState=a,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=a),pl(e,qt,n)):(n=u.cache,pl(e,qt,n),n!==a.cache&&mc(e,[qt],l,!0))),Ft(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(c(156,e.tag))}function nl(t){t.flags|=4}function tf(t,e,l,n,a){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(a&335544128)===a)if(t.stateNode.complete)t.flags|=8192;else if(rd())t.flags|=8192;else throw Fl=Eu,pc}else t.flags&=-16777217}function wo(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Pd(e))if(rd())t.flags|=8192;else throw Fl=Eu,pc}function Lu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?vs():536870912,t.lanes|=e,Hn|=e)}function Ea(t,e){if(!yt)switch(t.tailMode){case"hidden":e=t.tail;for(var l=null;e!==null;)e.alternate!==null&&(l=e),e=e.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var n=null;l!==null;)l.alternate!==null&&(n=l),l=l.sibling;n===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:n.sibling=null}}function _t(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,n=0;if(e)for(var a=t.child;a!==null;)l|=a.lanes|a.childLanes,n|=a.subtreeFlags&65011712,n|=a.flags&65011712,a.return=t,a=a.sibling;else for(a=t.child;a!==null;)l|=a.lanes|a.childLanes,n|=a.subtreeFlags,n|=a.flags,a.return=t,a=a.sibling;return t.subtreeFlags|=n,t.childLanes=l,e}function Bh(t,e,l){var n=e.pendingProps;switch(fc(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _t(e),null;case 1:return _t(e),null;case 3:return l=e.stateNode,n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),Pe(qt),xt(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(En(e)?nl(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,rc())),_t(e),null;case 26:var a=e.type,u=e.memoizedState;return t===null?(nl(e),u!==null?(_t(e),wo(e,u)):(_t(e),tf(e,a,null,n,l))):u?u!==t.memoizedState?(nl(e),_t(e),wo(e,u)):(_t(e),e.flags&=-16777217):(t=t.memoizedProps,t!==n&&nl(e),_t(e),tf(e,a,t,n,l)),null;case 27:if(Je(e),l=ut.current,a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==n&&nl(e);else{if(!n){if(e.stateNode===null)throw Error(c(166));return _t(e),null}t=G.current,En(e)?vr(e):(t=Zd(a,n,l),e.stateNode=t,nl(e))}return _t(e),null;case 5:if(Je(e),a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==n&&nl(e);else{if(!n){if(e.stateNode===null)throw Error(c(166));return _t(e),null}if(u=G.current,En(e))vr(e);else{var s=ti(ut.current);switch(u){case 1:u=s.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:u=s.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":u=s.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":u=s.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":u=s.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof n.is=="string"?s.createElement("select",{is:n.is}):s.createElement("select"),n.multiple?u.multiple=!0:n.size&&(u.size=n.size);break;default:u=typeof n.is=="string"?s.createElement(a,{is:n.is}):s.createElement(a)}}u[Jt]=e,u[ne]=n;t:for(s=e.child;s!==null;){if(s.tag===5||s.tag===6)u.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)break t;for(;s.sibling===null;){if(s.return===null||s.return===e)break t;s=s.return}s.sibling.return=s.return,s=s.sibling}e.stateNode=u;t:switch($t(u,a,n),a){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break t;case"img":n=!0;break t;default:n=!1}n&&nl(e)}}return _t(e),tf(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,l),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==n&&nl(e);else{if(typeof n!="string"&&e.stateNode===null)throw Error(c(166));if(t=ut.current,En(e)){if(t=e.stateNode,l=e.memoizedProps,n=null,a=Kt,a!==null)switch(a.tag){case 27:case 5:n=a.memoizedProps}t[Jt]=e,t=!!(t.nodeValue===l||n!==null&&n.suppressHydrationWarning===!0||jd(t.nodeValue,l)),t||vl(e,!0)}else t=ti(t).createTextNode(n),t[Jt]=e,e.stateNode=t}return _t(e),null;case 31:if(l=e.memoizedState,t===null||t.memoizedState!==null){if(n=En(e),l!==null){if(t===null){if(!n)throw Error(c(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(557));t[Jt]=e}else Ql(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;_t(e),t=!1}else l=rc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return e.flags&256?(Se(e),e):(Se(e),null);if((e.flags&128)!==0)throw Error(c(558))}return _t(e),null;case 13:if(n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(a=En(e),n!==null&&n.dehydrated!==null){if(t===null){if(!a)throw Error(c(318));if(a=e.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(c(317));a[Jt]=e}else Ql(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;_t(e),a=!1}else a=rc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),a=!0;if(!a)return e.flags&256?(Se(e),e):(Se(e),null)}return Se(e),(e.flags&128)!==0?(e.lanes=l,e):(l=n!==null,t=t!==null&&t.memoizedState!==null,l&&(n=e.child,a=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(a=n.alternate.memoizedState.cachePool.pool),u=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(u=n.memoizedState.cachePool.pool),u!==a&&(n.flags|=2048)),l!==t&&l&&(e.child.flags|=8192),Lu(e,e.updateQueue),_t(e),null);case 4:return xt(),t===null&&zf(e.stateNode.containerInfo),_t(e),null;case 10:return Pe(e.type),_t(e),null;case 19:if(H(Ut),n=e.memoizedState,n===null)return _t(e),null;if(a=(e.flags&128)!==0,u=n.rendering,u===null)if(a)Ea(n,!1);else{if(Mt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(u=Ou(t),u!==null){for(e.flags|=128,Ea(n,!1),t=u.updateQueue,e.updateQueue=t,Lu(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)or(l,t),l=l.sibling;return q(Ut,Ut.current&1|2),yt&&We(e,n.treeForkCount),e.child}t=t.sibling}n.tail!==null&&he()>Qu&&(e.flags|=128,a=!0,Ea(n,!1),e.lanes=4194304)}else{if(!a)if(t=Ou(u),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,Lu(e,t),Ea(n,!0),n.tail===null&&n.tailMode==="hidden"&&!u.alternate&&!yt)return _t(e),null}else 2*he()-n.renderingStartTime>Qu&&l!==536870912&&(e.flags|=128,a=!0,Ea(n,!1),e.lanes=4194304);n.isBackwards?(u.sibling=e.child,e.child=u):(t=n.last,t!==null?t.sibling=u:e.child=u,n.last=u)}return n.tail!==null?(t=n.tail,n.rendering=t,n.tail=t.sibling,n.renderingStartTime=he(),t.sibling=null,l=Ut.current,q(Ut,a?l&1|2:l&1),yt&&We(e,n.treeForkCount),t):(_t(e),null);case 22:case 23:return Se(e),zc(),n=e.memoizedState!==null,t!==null?t.memoizedState!==null!==n&&(e.flags|=8192):n&&(e.flags|=8192),n?(l&536870912)!==0&&(e.flags&128)===0&&(_t(e),e.subtreeFlags&6&&(e.flags|=8192)):_t(e),l=e.updateQueue,l!==null&&Lu(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),n=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),n!==l&&(e.flags|=2048),t!==null&&H(Kl),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),Pe(qt),_t(e),null;case 25:return null;case 30:return null}throw Error(c(156,e.tag))}function qh(t,e){switch(fc(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Pe(qt),xt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Je(e),null;case 31:if(e.memoizedState!==null){if(Se(e),e.alternate===null)throw Error(c(340));Ql()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Se(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(c(340));Ql()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return H(Ut),null;case 4:return xt(),null;case 10:return Pe(e.type),null;case 22:case 23:return Se(e),zc(),t!==null&&H(Kl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Pe(qt),null;case 25:return null;default:return null}}function Lo(t,e){switch(fc(e),e.tag){case 3:Pe(qt),xt();break;case 26:case 27:case 5:Je(e);break;case 4:xt();break;case 31:e.memoizedState!==null&&Se(e);break;case 13:Se(e);break;case 19:H(Ut);break;case 10:Pe(e.type);break;case 22:case 23:Se(e),zc(),t!==null&&H(Kl);break;case 24:Pe(qt)}}function za(t,e){try{var l=e.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var a=n.next;l=a;do{if((l.tag&t)===t){n=void 0;var u=l.create,s=l.inst;n=u(),s.destroy=n}l=l.next}while(l!==a)}}catch(o){St(e,e.return,o)}}function zl(t,e,l){try{var n=e.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var u=a.next;n=u;do{if((n.tag&t)===t){var s=n.inst,o=s.destroy;if(o!==void 0){s.destroy=void 0,a=e;var h=l,T=o;try{T()}catch(M){St(a,h,M)}}}n=n.next}while(n!==u)}}catch(M){St(e,e.return,M)}}function Yo(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{Rr(e,l)}catch(n){St(t,t.return,n)}}}function Xo(t,e,l){l.props=Il(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(n){St(t,e,n)}}function Aa(t,e){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var n=t.stateNode;break;case 30:n=t.stateNode;break;default:n=t.stateNode}typeof l=="function"?t.refCleanup=l(n):l.current=n}}catch(a){St(t,e,a)}}function Qe(t,e){var l=t.ref,n=t.refCleanup;if(l!==null)if(typeof n=="function")try{n()}catch(a){St(t,e,a)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(a){St(t,e,a)}else l.current=null}function Go(t){var e=t.type,l=t.memoizedProps,n=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break t;case"img":l.src?n.src=l.src:l.srcSet&&(n.srcset=l.srcSet)}}catch(a){St(t,t.return,a)}}function ef(t,e,l){try{var n=t.stateNode;uy(n,t.type,l,e),n[ne]=e}catch(a){St(t,t.return,a)}}function Vo(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Dl(t.type)||t.tag===4}function lf(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Vo(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Dl(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function nf(t,e,l){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,e):(e=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.appendChild(t),l=l._reactRootContainer,l!=null||e.onclick!==null||(e.onclick=ke));else if(n!==4&&(n===27&&Dl(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(nf(t,e,l),t=t.sibling;t!==null;)nf(t,e,l),t=t.sibling}function Yu(t,e,l){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(n!==4&&(n===27&&Dl(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(Yu(t,e,l),t=t.sibling;t!==null;)Yu(t,e,l),t=t.sibling}function Qo(t){var e=t.stateNode,l=t.memoizedProps;try{for(var n=t.type,a=e.attributes;a.length;)e.removeAttributeNode(a[0]);$t(e,n,l),e[Jt]=t,e[ne]=l}catch(u){St(t,t.return,u)}}var al=!1,Yt=!1,af=!1,Zo=typeof WeakSet=="function"?WeakSet:Set,Zt=null;function wh(t,e){if(t=t.containerInfo,Of=ci,t=lr(t),Wi(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var n=l.getSelection&&l.getSelection();if(n&&n.rangeCount!==0){l=n.anchorNode;var a=n.anchorOffset,u=n.focusNode;n=n.focusOffset;try{l.nodeType,u.nodeType}catch{l=null;break t}var s=0,o=-1,h=-1,T=0,M=0,j=t,O=null;e:for(;;){for(var _;j!==l||a!==0&&j.nodeType!==3||(o=s+a),j!==u||n!==0&&j.nodeType!==3||(h=s+n),j.nodeType===3&&(s+=j.nodeValue.length),(_=j.firstChild)!==null;)O=j,j=_;for(;;){if(j===t)break e;if(O===l&&++T===a&&(o=s),O===u&&++M===n&&(h=s),(_=j.nextSibling)!==null)break;j=O,O=j.parentNode}j=_}l=o===-1||h===-1?null:{start:o,end:h}}else l=null}l=l||{start:0,end:0}}else l=null;for(Nf={focusedElem:t,selectionRange:l},ci=!1,Zt=e;Zt!==null;)if(e=Zt,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Zt=t;else for(;Zt!==null;){switch(e=Zt,u=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l<t.length;l++)a=t[l],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&u!==null){t=void 0,l=e,a=u.memoizedProps,u=u.memoizedState,n=l.stateNode;try{var Q=Il(l.type,a);t=n.getSnapshotBeforeUpdate(Q,u),n.__reactInternalSnapshotBeforeUpdate=t}catch(P){St(l,l.return,P)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)Df(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Df(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(c(163))}if(t=e.sibling,t!==null){t.return=e.return,Zt=t;break}Zt=e.return}}function Jo(t,e,l){var n=l.flags;switch(l.tag){case 0:case 11:case 15:il(t,l),n&4&&za(5,l);break;case 1:if(il(t,l),n&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(s){St(l,l.return,s)}else{var a=Il(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(a,e,t.__reactInternalSnapshotBeforeUpdate)}catch(s){St(l,l.return,s)}}n&64&&Yo(l),n&512&&Aa(l,l.return);break;case 3:if(il(t,l),n&64&&(t=l.updateQueue,t!==null)){if(e=null,l.child!==null)switch(l.child.tag){case 27:case 5:e=l.child.stateNode;break;case 1:e=l.child.stateNode}try{Rr(t,e)}catch(s){St(l,l.return,s)}}break;case 27:e===null&&n&4&&Qo(l);case 26:case 5:il(t,l),e===null&&n&4&&Go(l),n&512&&Aa(l,l.return);break;case 12:il(t,l);break;case 31:il(t,l),n&4&&Fo(t,l);break;case 13:il(t,l),n&4&&$o(t,l),n&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=Kh.bind(null,l),my(t,l))));break;case 22:if(n=l.memoizedState!==null||al,!n){e=e!==null&&e.memoizedState!==null||Yt,a=al;var u=Yt;al=n,(Yt=e)&&!u?cl(t,l,(l.subtreeFlags&8772)!==0):il(t,l),al=a,Yt=u}break;case 30:break;default:il(t,l)}}function Ko(t){var e=t.alternate;e!==null&&(t.alternate=null,Ko(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&ji(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Rt=null,ue=!1;function ul(t,e,l){for(l=l.child;l!==null;)ko(t,e,l),l=l.sibling}function ko(t,e,l){if(ye&&typeof ye.onCommitFiberUnmount=="function")try{ye.onCommitFiberUnmount(kn,l)}catch{}switch(l.tag){case 26:Yt||Qe(l,e),ul(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Yt||Qe(l,e);var n=Rt,a=ue;Dl(l.type)&&(Rt=l.stateNode,ue=!1),ul(t,e,l),Ca(l.stateNode),Rt=n,ue=a;break;case 5:Yt||Qe(l,e);case 6:if(n=Rt,a=ue,Rt=null,ul(t,e,l),Rt=n,ue=a,Rt!==null)if(ue)try{(Rt.nodeType===9?Rt.body:Rt.nodeName==="HTML"?Rt.ownerDocument.body:Rt).removeChild(l.stateNode)}catch(u){St(l,e,u)}else try{Rt.removeChild(l.stateNode)}catch(u){St(l,e,u)}break;case 18:Rt!==null&&(ue?(t=Rt,Yd(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),Vn(t)):Yd(Rt,l.stateNode));break;case 4:n=Rt,a=ue,Rt=l.stateNode.containerInfo,ue=!0,ul(t,e,l),Rt=n,ue=a;break;case 0:case 11:case 14:case 15:zl(2,l,e),Yt||zl(4,l,e),ul(t,e,l);break;case 1:Yt||(Qe(l,e),n=l.stateNode,typeof n.componentWillUnmount=="function"&&Xo(l,e,n)),ul(t,e,l);break;case 21:ul(t,e,l);break;case 22:Yt=(n=Yt)||l.memoizedState!==null,ul(t,e,l),Yt=n;break;default:ul(t,e,l)}}function Fo(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Vn(t)}catch(l){St(e,e.return,l)}}}function $o(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Vn(t)}catch(l){St(e,e.return,l)}}function Lh(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Zo),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Zo),e;default:throw Error(c(435,t.tag))}}function Xu(t,e){var l=Lh(t);e.forEach(function(n){if(!l.has(n)){l.add(n);var a=kh.bind(null,t,n);n.then(a,a)}})}function ie(t,e){var l=e.deletions;if(l!==null)for(var n=0;n<l.length;n++){var a=l[n],u=t,s=e,o=s;t:for(;o!==null;){switch(o.tag){case 27:if(Dl(o.type)){Rt=o.stateNode,ue=!1;break t}break;case 5:Rt=o.stateNode,ue=!1;break t;case 3:case 4:Rt=o.stateNode.containerInfo,ue=!0;break t}o=o.return}if(Rt===null)throw Error(c(160));ko(u,s,a),Rt=null,ue=!1,u=a.alternate,u!==null&&(u.return=null),a.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Wo(e,t),e=e.sibling}var qe=null;function Wo(t,e){var l=t.alternate,n=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ie(e,t),ce(t),n&4&&(zl(3,t,t.return),za(3,t),zl(5,t,t.return));break;case 1:ie(e,t),ce(t),n&512&&(Yt||l===null||Qe(l,l.return)),n&64&&al&&(t=t.updateQueue,t!==null&&(n=t.callbacks,n!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?n:l.concat(n))));break;case 26:var a=qe;if(ie(e,t),ce(t),n&512&&(Yt||l===null||Qe(l,l.return)),n&4){var u=l!==null?l.memoizedState:null;if(n=t.memoizedState,l===null)if(n===null)if(t.stateNode===null){t:{n=t.type,l=t.memoizedProps,a=a.ownerDocument||a;e:switch(n){case"title":u=a.getElementsByTagName("title")[0],(!u||u[Wn]||u[Jt]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=a.createElement(n),a.head.insertBefore(u,a.querySelector("head > title"))),$t(u,n,l),u[Jt]=t,Qt(u),n=u;break t;case"link":var s=Wd("link","href",a).get(n+(l.href||""));if(s){for(var o=0;o<s.length;o++)if(u=s[o],u.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&u.getAttribute("rel")===(l.rel==null?null:l.rel)&&u.getAttribute("title")===(l.title==null?null:l.title)&&u.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){s.splice(o,1);break e}}u=a.createElement(n),$t(u,n,l),a.head.appendChild(u);break;case"meta":if(s=Wd("meta","content",a).get(n+(l.content||""))){for(o=0;o<s.length;o++)if(u=s[o],u.getAttribute("content")===(l.content==null?null:""+l.content)&&u.getAttribute("name")===(l.name==null?null:l.name)&&u.getAttribute("property")===(l.property==null?null:l.property)&&u.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&u.getAttribute("charset")===(l.charSet==null?null:l.charSet)){s.splice(o,1);break e}}u=a.createElement(n),$t(u,n,l),a.head.appendChild(u);break;default:throw Error(c(468,n))}u[Jt]=t,Qt(u),n=u}t.stateNode=n}else Id(a,t.type,t.stateNode);else t.stateNode=$d(a,n,t.memoizedProps);else u!==n?(u===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):u.count--,n===null?Id(a,t.type,t.stateNode):$d(a,n,t.memoizedProps)):n===null&&t.stateNode!==null&&ef(t,t.memoizedProps,l.memoizedProps)}break;case 27:ie(e,t),ce(t),n&512&&(Yt||l===null||Qe(l,l.return)),l!==null&&n&4&&ef(t,t.memoizedProps,l.memoizedProps);break;case 5:if(ie(e,t),ce(t),n&512&&(Yt||l===null||Qe(l,l.return)),t.flags&32){a=t.stateNode;try{dn(a,"")}catch(Q){St(t,t.return,Q)}}n&4&&t.stateNode!=null&&(a=t.memoizedProps,ef(t,a,l!==null?l.memoizedProps:a)),n&1024&&(af=!0);break;case 6:if(ie(e,t),ce(t),n&4){if(t.stateNode===null)throw Error(c(162));n=t.memoizedProps,l=t.stateNode;try{l.nodeValue=n}catch(Q){St(t,t.return,Q)}}break;case 3:if(ni=null,a=qe,qe=ei(e.containerInfo),ie(e,t),qe=a,ce(t),n&4&&l!==null&&l.memoizedState.isDehydrated)try{Vn(e.containerInfo)}catch(Q){St(t,t.return,Q)}af&&(af=!1,Io(t));break;case 4:n=qe,qe=ei(t.stateNode.containerInfo),ie(e,t),ce(t),qe=n;break;case 12:ie(e,t),ce(t);break;case 31:ie(e,t),ce(t),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,Xu(t,n)));break;case 13:ie(e,t),ce(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Vu=he()),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,Xu(t,n)));break;case 22:a=t.memoizedState!==null;var h=l!==null&&l.memoizedState!==null,T=al,M=Yt;if(al=T||a,Yt=M||h,ie(e,t),Yt=M,al=T,ce(t),n&8192)t:for(e=t.stateNode,e._visibility=a?e._visibility&-2:e._visibility|1,a&&(l===null||h||al||Yt||Pl(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){h=l=e;try{if(u=h.stateNode,a)s=u.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none";else{o=h.stateNode;var j=h.memoizedProps.style,O=j!=null&&j.hasOwnProperty("display")?j.display:null;o.style.display=O==null||typeof O=="boolean"?"":(""+O).trim()}}catch(Q){St(h,h.return,Q)}}}else if(e.tag===6){if(l===null){h=e;try{h.stateNode.nodeValue=a?"":h.memoizedProps}catch(Q){St(h,h.return,Q)}}}else if(e.tag===18){if(l===null){h=e;try{var _=h.stateNode;a?Xd(_,!0):Xd(h.stateNode,!1)}catch(Q){St(h,h.return,Q)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;l===e&&(l=null),e=e.return}l===e&&(l=null),e.sibling.return=e.return,e=e.sibling}n&4&&(n=t.updateQueue,n!==null&&(l=n.retryQueue,l!==null&&(n.retryQueue=null,Xu(t,l))));break;case 19:ie(e,t),ce(t),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,Xu(t,n)));break;case 30:break;case 21:break;default:ie(e,t),ce(t)}}function ce(t){var e=t.flags;if(e&2){try{for(var l,n=t.return;n!==null;){if(Vo(n)){l=n;break}n=n.return}if(l==null)throw Error(c(160));switch(l.tag){case 27:var a=l.stateNode,u=lf(t);Yu(t,u,a);break;case 5:var s=l.stateNode;l.flags&32&&(dn(s,""),l.flags&=-33);var o=lf(t);Yu(t,o,s);break;case 3:case 4:var h=l.stateNode.containerInfo,T=lf(t);nf(t,T,h);break;default:throw Error(c(161))}}catch(M){St(t,t.return,M)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Io(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Io(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function il(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Jo(t,e.alternate,e),e=e.sibling}function Pl(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:zl(4,e,e.return),Pl(e);break;case 1:Qe(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&Xo(e,e.return,l),Pl(e);break;case 27:Ca(e.stateNode);case 26:case 5:Qe(e,e.return),Pl(e);break;case 22:e.memoizedState===null&&Pl(e);break;case 30:Pl(e);break;default:Pl(e)}t=t.sibling}}function cl(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var n=e.alternate,a=t,u=e,s=u.flags;switch(u.tag){case 0:case 11:case 15:cl(a,u,l),za(4,u);break;case 1:if(cl(a,u,l),n=u,a=n.stateNode,typeof a.componentDidMount=="function")try{a.componentDidMount()}catch(T){St(n,n.return,T)}if(n=u,a=n.updateQueue,a!==null){var o=n.stateNode;try{var h=a.shared.hiddenCallbacks;if(h!==null)for(a.shared.hiddenCallbacks=null,a=0;a<h.length;a++)_r(h[a],o)}catch(T){St(n,n.return,T)}}l&&s&64&&Yo(u),Aa(u,u.return);break;case 27:Qo(u);case 26:case 5:cl(a,u,l),l&&n===null&&s&4&&Go(u),Aa(u,u.return);break;case 12:cl(a,u,l);break;case 31:cl(a,u,l),l&&s&4&&Fo(a,u);break;case 13:cl(a,u,l),l&&s&4&&$o(a,u);break;case 22:u.memoizedState===null&&cl(a,u,l),Aa(u,u.return);break;case 30:break;default:cl(a,u,l)}e=e.sibling}}function uf(t,e){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&ra(l))}function cf(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&ra(t))}function we(t,e,l,n){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Po(t,e,l,n),e=e.sibling}function Po(t,e,l,n){var a=e.flags;switch(e.tag){case 0:case 11:case 15:we(t,e,l,n),a&2048&&za(9,e);break;case 1:we(t,e,l,n);break;case 3:we(t,e,l,n),a&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&ra(t)));break;case 12:if(a&2048){we(t,e,l,n),t=e.stateNode;try{var u=e.memoizedProps,s=u.id,o=u.onPostCommit;typeof o=="function"&&o(s,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(h){St(e,e.return,h)}}else we(t,e,l,n);break;case 31:we(t,e,l,n);break;case 13:we(t,e,l,n);break;case 23:break;case 22:u=e.stateNode,s=e.alternate,e.memoizedState!==null?u._visibility&2?we(t,e,l,n):Ta(t,e):u._visibility&2?we(t,e,l,n):(u._visibility|=2,Un(t,e,l,n,(e.subtreeFlags&10256)!==0||!1)),a&2048&&uf(s,e);break;case 24:we(t,e,l,n),a&2048&&cf(e.alternate,e);break;default:we(t,e,l,n)}}function Un(t,e,l,n,a){for(a=a&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var u=t,s=e,o=l,h=n,T=s.flags;switch(s.tag){case 0:case 11:case 15:Un(u,s,o,h,a),za(8,s);break;case 23:break;case 22:var M=s.stateNode;s.memoizedState!==null?M._visibility&2?Un(u,s,o,h,a):Ta(u,s):(M._visibility|=2,Un(u,s,o,h,a)),a&&T&2048&&uf(s.alternate,s);break;case 24:Un(u,s,o,h,a),a&&T&2048&&cf(s.alternate,s);break;default:Un(u,s,o,h,a)}e=e.sibling}}function Ta(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var l=t,n=e,a=n.flags;switch(n.tag){case 22:Ta(l,n),a&2048&&uf(n.alternate,n);break;case 24:Ta(l,n),a&2048&&cf(n.alternate,n);break;default:Ta(l,n)}e=e.sibling}}var Oa=8192;function Cn(t,e,l){if(t.subtreeFlags&Oa)for(t=t.child;t!==null;)td(t,e,l),t=t.sibling}function td(t,e,l){switch(t.tag){case 26:Cn(t,e,l),t.flags&Oa&&t.memoizedState!==null&&Ty(l,qe,t.memoizedState,t.memoizedProps);break;case 5:Cn(t,e,l);break;case 3:case 4:var n=qe;qe=ei(t.stateNode.containerInfo),Cn(t,e,l),qe=n;break;case 22:t.memoizedState===null&&(n=t.alternate,n!==null&&n.memoizedState!==null?(n=Oa,Oa=16777216,Cn(t,e,l),Oa=n):Cn(t,e,l));break;default:Cn(t,e,l)}}function ed(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Na(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var n=e[l];Zt=n,nd(n,t)}ed(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)ld(t),t=t.sibling}function ld(t){switch(t.tag){case 0:case 11:case 15:Na(t),t.flags&2048&&zl(9,t,t.return);break;case 3:Na(t);break;case 12:Na(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Gu(t)):Na(t);break;default:Na(t)}}function Gu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var n=e[l];Zt=n,nd(n,t)}ed(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:zl(8,e,e.return),Gu(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,Gu(e));break;default:Gu(e)}t=t.sibling}}function nd(t,e){for(;Zt!==null;){var l=Zt;switch(l.tag){case 0:case 11:case 15:zl(8,l,e);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var n=l.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:ra(l.memoizedState.cache)}if(n=l.child,n!==null)n.return=l,Zt=n;else t:for(l=t;Zt!==null;){n=Zt;var a=n.sibling,u=n.return;if(Ko(n),n===l){Zt=null;break t}if(a!==null){a.return=u,Zt=a;break t}Zt=u}}}var Yh={getCacheForType:function(t){var e=kt(qt),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l},cacheSignal:function(){return kt(qt).controller.signal}},Xh=typeof WeakMap=="function"?WeakMap:Map,bt=0,Tt=null,ot=null,mt=0,gt=0,xe=null,Al=!1,jn=!1,ff=!1,fl=0,Mt=0,Tl=0,tn=0,sf=0,Ee=0,Hn=0,_a=null,fe=null,rf=!1,Vu=0,ad=0,Qu=1/0,Zu=null,Ol=null,Gt=0,Nl=null,Bn=null,sl=0,of=0,df=null,ud=null,Ra=0,mf=null;function ze(){return(bt&2)!==0&&mt!==0?mt&-mt:D.T!==null?gf():Ss()}function id(){if(Ee===0)if((mt&536870912)===0||yt){var t=Pa;Pa<<=1,(Pa&3932160)===0&&(Pa=262144),Ee=t}else Ee=536870912;return t=ge.current,t!==null&&(t.flags|=32),Ee}function se(t,e,l){(t===Tt&&(gt===2||gt===9)||t.cancelPendingCommit!==null)&&(qn(t,0),_l(t,mt,Ee,!1)),$n(t,l),((bt&2)===0||t!==Tt)&&(t===Tt&&((bt&2)===0&&(tn|=l),Mt===4&&_l(t,mt,Ee,!1)),Ze(t))}function cd(t,e,l){if((bt&6)!==0)throw Error(c(327));var n=!l&&(e&127)===0&&(e&t.expiredLanes)===0||Fn(t,e),a=n?Qh(t,e):yf(t,e,!0),u=n;do{if(a===0){jn&&!n&&_l(t,e,0,!1);break}else{if(l=t.current.alternate,u&&!Gh(l)){a=yf(t,e,!1),u=!1;continue}if(a===2){if(u=e,t.errorRecoveryDisabledLanes&u)var s=0;else s=t.pendingLanes&-536870913,s=s!==0?s:s&536870912?536870912:0;if(s!==0){e=s;t:{var o=t;a=_a;var h=o.current.memoizedState.isDehydrated;if(h&&(qn(o,s).flags|=256),s=yf(o,s,!1),s!==2){if(ff&&!h){o.errorRecoveryDisabledLanes|=u,tn|=u,a=4;break t}u=fe,fe=a,u!==null&&(fe===null?fe=u:fe.push.apply(fe,u))}a=s}if(u=!1,a!==2)continue}}if(a===1){qn(t,0),_l(t,e,0,!0);break}t:{switch(n=t,u=a,u){case 0:case 1:throw Error(c(345));case 4:if((e&4194048)!==e)break;case 6:_l(n,e,Ee,!Al);break t;case 2:fe=null;break;case 3:case 5:break;default:throw Error(c(329))}if((e&62914560)===e&&(a=Vu+300-he(),10<a)){if(_l(n,e,Ee,!Al),eu(n,0,!0)!==0)break t;sl=e,n.timeoutHandle=wd(fd.bind(null,n,l,fe,Zu,rf,e,Ee,tn,Hn,Al,u,"Throttled",-0,0),a);break t}fd(n,l,fe,Zu,rf,e,Ee,tn,Hn,Al,u,null,-0,0)}}break}while(!0);Ze(t)}function fd(t,e,l,n,a,u,s,o,h,T,M,j,O,_){if(t.timeoutHandle=-1,j=e.subtreeFlags,j&8192||(j&16785408)===16785408){j={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ke},td(e,u,j);var Q=(u&62914560)===u?Vu-he():(u&4194048)===u?ad-he():0;if(Q=Oy(j,Q),Q!==null){sl=u,t.cancelPendingCommit=Q(vd.bind(null,t,e,u,l,n,a,s,o,h,M,j,null,O,_)),_l(t,u,s,!T);return}}vd(t,e,u,l,n,a,s,o,h)}function Gh(t){for(var e=t;;){var l=e.tag;if((l===0||l===11||l===15)&&e.flags&16384&&(l=e.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var n=0;n<l.length;n++){var a=l[n],u=a.getSnapshot;a=a.value;try{if(!pe(u(),a))return!1}catch{return!1}}if(l=e.child,e.subtreeFlags&16384&&l!==null)l.return=e,e=l;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function _l(t,e,l,n){e&=~sf,e&=~tn,t.suspendedLanes|=e,t.pingedLanes&=~e,n&&(t.warmLanes|=e),n=t.expirationTimes;for(var a=e;0<a;){var u=31-ve(a),s=1<<u;n[u]=-1,a&=~s}l!==0&&ps(t,l,e)}function Ju(){return(bt&6)===0?(Da(0),!1):!0}function hf(){if(ot!==null){if(gt===0)var t=ot.return;else t=ot,Ie=Zl=null,Rc(t),Nn=null,da=0,t=ot;for(;t!==null;)Lo(t.alternate,t),t=t.return;ot=null}}function qn(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,fy(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),sl=0,hf(),Tt=t,ot=l=$e(t.current,null),mt=e,gt=0,xe=null,Al=!1,jn=Fn(t,e),ff=!1,Hn=Ee=sf=tn=Tl=Mt=0,fe=_a=null,rf=!1,(e&8)!==0&&(e|=e&32);var n=t.entangledLanes;if(n!==0)for(t=t.entanglements,n&=e;0<n;){var a=31-ve(n),u=1<<a;e|=t[a],n&=~u}return fl=e,mu(),l}function sd(t,e){nt=null,D.H=Sa,e===On||e===xu?(e=Ar(),gt=3):e===pc?(e=Ar(),gt=4):gt=e===Zc?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,xe=e,ot===null&&(Mt=1,Hu(t,_e(e,t.current)))}function rd(){var t=ge.current;return t===null?!0:(mt&4194048)===mt?Ue===null:(mt&62914560)===mt||(mt&536870912)!==0?t===Ue:!1}function od(){var t=D.H;return D.H=Sa,t===null?Sa:t}function dd(){var t=D.A;return D.A=Yh,t}function Ku(){Mt=4,Al||(mt&4194048)!==mt&&ge.current!==null||(jn=!0),(Tl&134217727)===0&&(tn&134217727)===0||Tt===null||_l(Tt,mt,Ee,!1)}function yf(t,e,l){var n=bt;bt|=2;var a=od(),u=dd();(Tt!==t||mt!==e)&&(Zu=null,qn(t,e)),e=!1;var s=Mt;t:do try{if(gt!==0&&ot!==null){var o=ot,h=xe;switch(gt){case 8:hf(),s=6;break t;case 3:case 2:case 9:case 6:ge.current===null&&(e=!0);var T=gt;if(gt=0,xe=null,wn(t,o,h,T),l&&jn){s=0;break t}break;default:T=gt,gt=0,xe=null,wn(t,o,h,T)}}Vh(),s=Mt;break}catch(M){sd(t,M)}while(!0);return e&&t.shellSuspendCounter++,Ie=Zl=null,bt=n,D.H=a,D.A=u,ot===null&&(Tt=null,mt=0,mu()),s}function Vh(){for(;ot!==null;)md(ot)}function Qh(t,e){var l=bt;bt|=2;var n=od(),a=dd();Tt!==t||mt!==e?(Zu=null,Qu=he()+500,qn(t,e)):jn=Fn(t,e);t:do try{if(gt!==0&&ot!==null){e=ot;var u=xe;e:switch(gt){case 1:gt=0,xe=null,wn(t,e,u,1);break;case 2:case 9:if(Er(u)){gt=0,xe=null,hd(e);break}e=function(){gt!==2&&gt!==9||Tt!==t||(gt=7),Ze(t)},u.then(e,e);break t;case 3:gt=7;break t;case 4:gt=5;break t;case 7:Er(u)?(gt=0,xe=null,hd(e)):(gt=0,xe=null,wn(t,e,u,7));break;case 5:var s=null;switch(ot.tag){case 26:s=ot.memoizedState;case 5:case 27:var o=ot;if(s?Pd(s):o.stateNode.complete){gt=0,xe=null;var h=o.sibling;if(h!==null)ot=h;else{var T=o.return;T!==null?(ot=T,ku(T)):ot=null}break e}}gt=0,xe=null,wn(t,e,u,5);break;case 6:gt=0,xe=null,wn(t,e,u,6);break;case 8:hf(),Mt=6;break t;default:throw Error(c(462))}}Zh();break}catch(M){sd(t,M)}while(!0);return Ie=Zl=null,D.H=n,D.A=a,bt=l,ot!==null?0:(Tt=null,mt=0,mu(),Mt)}function Zh(){for(;ot!==null&&!hm();)md(ot)}function md(t){var e=qo(t.alternate,t,fl);t.memoizedProps=t.pendingProps,e===null?ku(t):ot=e}function hd(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=Mo(l,e,e.pendingProps,e.type,void 0,mt);break;case 11:e=Mo(l,e,e.pendingProps,e.type.render,e.ref,mt);break;case 5:Rc(e);default:Lo(l,e),e=ot=or(e,fl),e=qo(l,e,fl)}t.memoizedProps=t.pendingProps,e===null?ku(t):ot=e}function wn(t,e,l,n){Ie=Zl=null,Rc(e),Nn=null,da=0;var a=e.return;try{if(Ch(t,a,e,l,mt)){Mt=1,Hu(t,_e(l,t.current)),ot=null;return}}catch(u){if(a!==null)throw ot=a,u;Mt=1,Hu(t,_e(l,t.current)),ot=null;return}e.flags&32768?(yt||n===1?t=!0:jn||(mt&536870912)!==0?t=!1:(Al=t=!0,(n===2||n===9||n===3||n===6)&&(n=ge.current,n!==null&&n.tag===13&&(n.flags|=16384))),yd(e,t)):ku(e)}function ku(t){var e=t;do{if((e.flags&32768)!==0){yd(e,Al);return}t=e.return;var l=Bh(e.alternate,e,fl);if(l!==null){ot=l;return}if(e=e.sibling,e!==null){ot=e;return}ot=e=t}while(e!==null);Mt===0&&(Mt=5)}function yd(t,e){do{var l=qh(t.alternate,t);if(l!==null){l.flags&=32767,ot=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){ot=t;return}ot=t=l}while(t!==null);Mt=6,ot=null}function vd(t,e,l,n,a,u,s,o,h){t.cancelPendingCommit=null;do Fu();while(Gt!==0);if((bt&6)!==0)throw Error(c(327));if(e!==null){if(e===t.current)throw Error(c(177));if(u=e.lanes|e.childLanes,u|=lc,Am(t,l,u,s,o,h),t===Tt&&(ot=Tt=null,mt=0),Bn=e,Nl=t,sl=l,of=u,df=a,ud=n,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,Fh(Wa,function(){return xd(),null})):(t.callbackNode=null,t.callbackPriority=0),n=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||n){n=D.T,D.T=null,a=L.p,L.p=2,s=bt,bt|=4;try{wh(t,e,l)}finally{bt=s,L.p=a,D.T=n}}Gt=1,pd(),bd(),gd()}}function pd(){if(Gt===1){Gt=0;var t=Nl,e=Bn,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=D.T,D.T=null;var n=L.p;L.p=2;var a=bt;bt|=4;try{Wo(e,t);var u=Nf,s=lr(t.containerInfo),o=u.focusedElem,h=u.selectionRange;if(s!==o&&o&&o.ownerDocument&&er(o.ownerDocument.documentElement,o)){if(h!==null&&Wi(o)){var T=h.start,M=h.end;if(M===void 0&&(M=T),"selectionStart"in o)o.selectionStart=T,o.selectionEnd=Math.min(M,o.value.length);else{var j=o.ownerDocument||document,O=j&&j.defaultView||window;if(O.getSelection){var _=O.getSelection(),Q=o.textContent.length,P=Math.min(h.start,Q),At=h.end===void 0?P:Math.min(h.end,Q);!_.extend&&P>At&&(s=At,At=P,P=s);var E=tr(o,P),g=tr(o,At);if(E&&g&&(_.rangeCount!==1||_.anchorNode!==E.node||_.anchorOffset!==E.offset||_.focusNode!==g.node||_.focusOffset!==g.offset)){var A=j.createRange();A.setStart(E.node,E.offset),_.removeAllRanges(),P>At?(_.addRange(A),_.extend(g.node,g.offset)):(A.setEnd(g.node,g.offset),_.addRange(A))}}}}for(j=[],_=o;_=_.parentNode;)_.nodeType===1&&j.push({element:_,left:_.scrollLeft,top:_.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<j.length;o++){var U=j[o];U.element.scrollLeft=U.left,U.element.scrollTop=U.top}}ci=!!Of,Nf=Of=null}finally{bt=a,L.p=n,D.T=l}}t.current=e,Gt=2}}function bd(){if(Gt===2){Gt=0;var t=Nl,e=Bn,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=D.T,D.T=null;var n=L.p;L.p=2;var a=bt;bt|=4;try{Jo(t,e.alternate,e)}finally{bt=a,L.p=n,D.T=l}}Gt=3}}function gd(){if(Gt===4||Gt===3){Gt=0,ym();var t=Nl,e=Bn,l=sl,n=ud;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Gt=5:(Gt=0,Bn=Nl=null,Sd(t,t.pendingLanes));var a=t.pendingLanes;if(a===0&&(Ol=null),Ui(l),e=e.stateNode,ye&&typeof ye.onCommitFiberRoot=="function")try{ye.onCommitFiberRoot(kn,e,void 0,(e.current.flags&128)===128)}catch{}if(n!==null){e=D.T,a=L.p,L.p=2,D.T=null;try{for(var u=t.onRecoverableError,s=0;s<n.length;s++){var o=n[s];u(o.value,{componentStack:o.stack})}}finally{D.T=e,L.p=a}}(sl&3)!==0&&Fu(),Ze(t),a=t.pendingLanes,(l&261930)!==0&&(a&42)!==0?t===mf?Ra++:(Ra=0,mf=t):Ra=0,Da(0)}}function Sd(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,ra(e)))}function Fu(){return pd(),bd(),gd(),xd()}function xd(){if(Gt!==5)return!1;var t=Nl,e=of;of=0;var l=Ui(sl),n=D.T,a=L.p;try{L.p=32>l?32:l,D.T=null,l=df,df=null;var u=Nl,s=sl;if(Gt=0,Bn=Nl=null,sl=0,(bt&6)!==0)throw Error(c(331));var o=bt;if(bt|=4,ld(u.current),Po(u,u.current,s,l),bt=o,Da(0,!1),ye&&typeof ye.onPostCommitFiberRoot=="function")try{ye.onPostCommitFiberRoot(kn,u)}catch{}return!0}finally{L.p=a,D.T=n,Sd(t,e)}}function Ed(t,e,l){e=_e(l,e),e=Qc(t.stateNode,e,2),t=Sl(t,e,2),t!==null&&($n(t,2),Ze(t))}function St(t,e,l){if(t.tag===3)Ed(t,t,l);else for(;e!==null;){if(e.tag===3){Ed(e,t,l);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Ol===null||!Ol.has(n))){t=_e(l,t),l=zo(2),n=Sl(e,l,2),n!==null&&(Ao(l,n,e,t),$n(n,2),Ze(n));break}}e=e.return}}function vf(t,e,l){var n=t.pingCache;if(n===null){n=t.pingCache=new Xh;var a=new Set;n.set(e,a)}else a=n.get(e),a===void 0&&(a=new Set,n.set(e,a));a.has(l)||(ff=!0,a.add(l),t=Jh.bind(null,t,e,l),e.then(t,t))}function Jh(t,e,l){var n=t.pingCache;n!==null&&n.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,Tt===t&&(mt&l)===l&&(Mt===4||Mt===3&&(mt&62914560)===mt&&300>he()-Vu?(bt&2)===0&&qn(t,0):sf|=l,Hn===mt&&(Hn=0)),Ze(t)}function zd(t,e){e===0&&(e=vs()),t=Gl(t,e),t!==null&&($n(t,e),Ze(t))}function Kh(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),zd(t,l)}function kh(t,e){var l=0;switch(t.tag){case 31:case 13:var n=t.stateNode,a=t.memoizedState;a!==null&&(l=a.retryLane);break;case 19:n=t.stateNode;break;case 22:n=t.stateNode._retryCache;break;default:throw Error(c(314))}n!==null&&n.delete(e),zd(t,l)}function Fh(t,e){return _i(t,e)}var $u=null,Ln=null,pf=!1,Wu=!1,bf=!1,Rl=0;function Ze(t){t!==Ln&&t.next===null&&(Ln===null?$u=Ln=t:Ln=Ln.next=t),Wu=!0,pf||(pf=!0,Wh())}function Da(t,e){if(!bf&&Wu){bf=!0;do for(var l=!1,n=$u;n!==null;){if(t!==0){var a=n.pendingLanes;if(a===0)var u=0;else{var s=n.suspendedLanes,o=n.pingedLanes;u=(1<<31-ve(42|t)+1)-1,u&=a&~(s&~o),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,Nd(n,u))}else u=mt,u=eu(n,n===Tt?u:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(u&3)===0||Fn(n,u)||(l=!0,Nd(n,u));n=n.next}while(l);bf=!1}}function $h(){Ad()}function Ad(){Wu=pf=!1;var t=0;Rl!==0&&cy()&&(t=Rl);for(var e=he(),l=null,n=$u;n!==null;){var a=n.next,u=Td(n,e);u===0?(n.next=null,l===null?$u=a:l.next=a,a===null&&(Ln=l)):(l=n,(t!==0||(u&3)!==0)&&(Wu=!0)),n=a}Gt!==0&&Gt!==5||Da(t),Rl!==0&&(Rl=0)}function Td(t,e){for(var l=t.suspendedLanes,n=t.pingedLanes,a=t.expirationTimes,u=t.pendingLanes&-62914561;0<u;){var s=31-ve(u),o=1<<s,h=a[s];h===-1?((o&l)===0||(o&n)!==0)&&(a[s]=zm(o,e)):h<=e&&(t.expiredLanes|=o),u&=~o}if(e=Tt,l=mt,l=eu(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),n=t.callbackNode,l===0||t===e&&(gt===2||gt===9)||t.cancelPendingCommit!==null)return n!==null&&n!==null&&Ri(n),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||Fn(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(n!==null&&Ri(n),Ui(l)){case 2:case 8:l=hs;break;case 32:l=Wa;break;case 268435456:l=ys;break;default:l=Wa}return n=Od.bind(null,t),l=_i(l,n),t.callbackPriority=e,t.callbackNode=l,e}return n!==null&&n!==null&&Ri(n),t.callbackPriority=2,t.callbackNode=null,2}function Od(t,e){if(Gt!==0&&Gt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(Fu()&&t.callbackNode!==l)return null;var n=mt;return n=eu(t,t===Tt?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),n===0?null:(cd(t,n,e),Td(t,he()),t.callbackNode!=null&&t.callbackNode===l?Od.bind(null,t):null)}function Nd(t,e){if(Fu())return null;cd(t,e,!0)}function Wh(){sy(function(){(bt&6)!==0?_i(ms,$h):Ad()})}function gf(){if(Rl===0){var t=An;t===0&&(t=Ia,Ia<<=1,(Ia&261888)===0&&(Ia=256)),Rl=t}return Rl}function _d(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:uu(""+t)}function Rd(t,e){var l=e.ownerDocument.createElement("input");return l.name=e.name,l.value=e.value,t.id&&l.setAttribute("form",t.id),e.parentNode.insertBefore(l,e),t=new FormData(t),l.parentNode.removeChild(l),t}function Ih(t,e,l,n,a){if(e==="submit"&&l&&l.stateNode===a){var u=_d((a[ne]||null).action),s=n.submitter;s&&(e=(e=s[ne]||null)?_d(e.formAction):s.getAttribute("formAction"),e!==null&&(u=e,s=null));var o=new su("action","action",null,n,a);t.push({event:o,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(Rl!==0){var h=s?Rd(a,s):new FormData(a);wc(l,{pending:!0,data:h,method:a.method,action:u},null,h)}}else typeof u=="function"&&(o.preventDefault(),h=s?Rd(a,s):new FormData(a),wc(l,{pending:!0,data:h,method:a.method,action:u},u,h))},currentTarget:a}]})}}for(var Sf=0;Sf<ec.length;Sf++){var xf=ec[Sf],Ph=xf.toLowerCase(),ty=xf[0].toUpperCase()+xf.slice(1);Be(Ph,"on"+ty)}Be(ur,"onAnimationEnd"),Be(ir,"onAnimationIteration"),Be(cr,"onAnimationStart"),Be("dblclick","onDoubleClick"),Be("focusin","onFocus"),Be("focusout","onBlur"),Be(vh,"onTransitionRun"),Be(ph,"onTransitionStart"),Be(bh,"onTransitionCancel"),Be(fr,"onTransitionEnd"),rn("onMouseEnter",["mouseout","mouseover"]),rn("onMouseLeave",["mouseout","mouseover"]),rn("onPointerEnter",["pointerout","pointerover"]),rn("onPointerLeave",["pointerout","pointerover"]),wl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),wl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),wl("onBeforeInput",["compositionend","keypress","textInput","paste"]),wl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),wl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),wl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ma="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(" "),ey=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ma));function Dd(t,e){e=(e&4)!==0;for(var l=0;l<t.length;l++){var n=t[l],a=n.event;n=n.listeners;t:{var u=void 0;if(e)for(var s=n.length-1;0<=s;s--){var o=n[s],h=o.instance,T=o.currentTarget;if(o=o.listener,h!==u&&a.isPropagationStopped())break t;u=o,a.currentTarget=T;try{u(a)}catch(M){du(M)}a.currentTarget=null,u=h}else for(s=0;s<n.length;s++){if(o=n[s],h=o.instance,T=o.currentTarget,o=o.listener,h!==u&&a.isPropagationStopped())break t;u=o,a.currentTarget=T;try{u(a)}catch(M){du(M)}a.currentTarget=null,u=h}}}}function dt(t,e){var l=e[Ci];l===void 0&&(l=e[Ci]=new Set);var n=t+"__bubble";l.has(n)||(Md(e,t,2,!1),l.add(n))}function Ef(t,e,l){var n=0;e&&(n|=4),Md(l,t,n,e)}var Iu="_reactListening"+Math.random().toString(36).slice(2);function zf(t){if(!t[Iu]){t[Iu]=!0,zs.forEach(function(l){l!=="selectionchange"&&(ey.has(l)||Ef(l,!1,t),Ef(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Iu]||(e[Iu]=!0,Ef("selectionchange",!1,e))}}function Md(t,e,l,n){switch(i0(e)){case 2:var a=Ry;break;case 8:a=Dy;break;default:a=wf}l=a.bind(null,e,l,t),a=void 0,!Gi||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(a=!0),n?a!==void 0?t.addEventListener(e,l,{capture:!0,passive:a}):t.addEventListener(e,l,!0):a!==void 0?t.addEventListener(e,l,{passive:a}):t.addEventListener(e,l,!1)}function Af(t,e,l,n,a){var u=n;if((e&1)===0&&(e&2)===0&&n!==null)t:for(;;){if(n===null)return;var s=n.tag;if(s===3||s===4){var o=n.stateNode.containerInfo;if(o===a)break;if(s===4)for(s=n.return;s!==null;){var h=s.tag;if((h===3||h===4)&&s.stateNode.containerInfo===a)return;s=s.return}for(;o!==null;){if(s=cn(o),s===null)return;if(h=s.tag,h===5||h===6||h===26||h===27){n=u=s;continue t}o=o.parentNode}}n=n.return}Hs(function(){var T=u,M=Yi(l),j=[];t:{var O=sr.get(t);if(O!==void 0){var _=su,Q=t;switch(t){case"keypress":if(cu(l)===0)break t;case"keydown":case"keyup":_=km;break;case"focusin":Q="focus",_=Ji;break;case"focusout":Q="blur",_=Ji;break;case"beforeblur":case"afterblur":_=Ji;break;case"click":if(l.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":_=ws;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":_=Bm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":_=Wm;break;case ur:case ir:case cr:_=Lm;break;case fr:_=Pm;break;case"scroll":case"scrollend":_=jm;break;case"wheel":_=eh;break;case"copy":case"cut":case"paste":_=Xm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":_=Ys;break;case"toggle":case"beforetoggle":_=nh}var P=(e&4)!==0,At=!P&&(t==="scroll"||t==="scrollend"),E=P?O!==null?O+"Capture":null:O;P=[];for(var g=T,A;g!==null;){var U=g;if(A=U.stateNode,U=U.tag,U!==5&&U!==26&&U!==27||A===null||E===null||(U=Pn(g,E),U!=null&&P.push(Ua(g,U,A))),At)break;g=g.return}0<P.length&&(O=new _(O,Q,null,l,M),j.push({event:O,listeners:P}))}}if((e&7)===0){t:{if(O=t==="mouseover"||t==="pointerover",_=t==="mouseout"||t==="pointerout",O&&l!==Li&&(Q=l.relatedTarget||l.fromElement)&&(cn(Q)||Q[un]))break t;if((_||O)&&(O=M.window===M?M:(O=M.ownerDocument)?O.defaultView||O.parentWindow:window,_?(Q=l.relatedTarget||l.toElement,_=T,Q=Q?cn(Q):null,Q!==null&&(At=m(Q),P=Q.tag,Q!==At||P!==5&&P!==27&&P!==6)&&(Q=null)):(_=null,Q=T),_!==Q)){if(P=ws,U="onMouseLeave",E="onMouseEnter",g="mouse",(t==="pointerout"||t==="pointerover")&&(P=Ys,U="onPointerLeave",E="onPointerEnter",g="pointer"),At=_==null?O:In(_),A=Q==null?O:In(Q),O=new P(U,g+"leave",_,l,M),O.target=At,O.relatedTarget=A,U=null,cn(M)===T&&(P=new P(E,g+"enter",Q,l,M),P.target=A,P.relatedTarget=At,U=P),At=U,_&&Q)e:{for(P=ly,E=_,g=Q,A=0,U=E;U;U=P(U))A++;U=0;for(var F=g;F;F=P(F))U++;for(;0<A-U;)E=P(E),A--;for(;0<U-A;)g=P(g),U--;for(;A--;){if(E===g||g!==null&&E===g.alternate){P=E;break e}E=P(E),g=P(g)}P=null}else P=null;_!==null&&Ud(j,O,_,P,!1),Q!==null&&At!==null&&Ud(j,At,Q,P,!0)}}t:{if(O=T?In(T):window,_=O.nodeName&&O.nodeName.toLowerCase(),_==="select"||_==="input"&&O.type==="file")var vt=ks;else if(Js(O))if(Fs)vt=mh;else{vt=oh;var J=rh}else _=O.nodeName,!_||_.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?T&&wi(T.elementType)&&(vt=ks):vt=dh;if(vt&&(vt=vt(t,T))){Ks(j,vt,l,M);break t}J&&J(t,O,T),t==="focusout"&&T&&O.type==="number"&&T.memoizedProps.value!=null&&qi(O,"number",O.value)}switch(J=T?In(T):window,t){case"focusin":(Js(J)||J.contentEditable==="true")&&(vn=J,Ii=T,ca=null);break;case"focusout":ca=Ii=vn=null;break;case"mousedown":Pi=!0;break;case"contextmenu":case"mouseup":case"dragend":Pi=!1,nr(j,l,M);break;case"selectionchange":if(yh)break;case"keydown":case"keyup":nr(j,l,M)}var it;if(ki)t:{switch(t){case"compositionstart":var ht="onCompositionStart";break t;case"compositionend":ht="onCompositionEnd";break t;case"compositionupdate":ht="onCompositionUpdate";break t}ht=void 0}else yn?Qs(t,l)&&(ht="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(ht="onCompositionStart");ht&&(Xs&&l.locale!=="ko"&&(yn||ht!=="onCompositionStart"?ht==="onCompositionEnd"&&yn&&(it=Bs()):(ml=M,Vi="value"in ml?ml.value:ml.textContent,yn=!0)),J=Pu(T,ht),0<J.length&&(ht=new Ls(ht,t,null,l,M),j.push({event:ht,listeners:J}),it?ht.data=it:(it=Zs(l),it!==null&&(ht.data=it)))),(it=uh?ih(t,l):ch(t,l))&&(ht=Pu(T,"onBeforeInput"),0<ht.length&&(J=new Ls("onBeforeInput","beforeinput",null,l,M),j.push({event:J,listeners:ht}),J.data=it)),Ih(j,t,T,l,M)}Dd(j,e)})}function Ua(t,e,l){return{instance:t,listener:e,currentTarget:l}}function Pu(t,e){for(var l=e+"Capture",n=[];t!==null;){var a=t,u=a.stateNode;if(a=a.tag,a!==5&&a!==26&&a!==27||u===null||(a=Pn(t,l),a!=null&&n.unshift(Ua(t,a,u)),a=Pn(t,e),a!=null&&n.push(Ua(t,a,u))),t.tag===3)return n;t=t.return}return[]}function ly(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Ud(t,e,l,n,a){for(var u=e._reactName,s=[];l!==null&&l!==n;){var o=l,h=o.alternate,T=o.stateNode;if(o=o.tag,h!==null&&h===n)break;o!==5&&o!==26&&o!==27||T===null||(h=T,a?(T=Pn(l,u),T!=null&&s.unshift(Ua(l,T,h))):a||(T=Pn(l,u),T!=null&&s.push(Ua(l,T,h)))),l=l.return}s.length!==0&&t.push({event:e,listeners:s})}var ny=/\r\n?/g,ay=/\u0000|\uFFFD/g;function Cd(t){return(typeof t=="string"?t:""+t).replace(ny,`
`).replace(ay,"")}function jd(t,e){return e=Cd(e),Cd(t)===e}function zt(t,e,l,n,a,u){switch(l){case"children":typeof n=="string"?e==="body"||e==="textarea"&&n===""||dn(t,n):(typeof n=="number"||typeof n=="bigint")&&e!=="body"&&dn(t,""+n);break;case"className":nu(t,"class",n);break;case"tabIndex":nu(t,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":nu(t,l,n);break;case"style":Cs(t,n,u);break;case"data":if(e!=="object"){nu(t,"data",n);break}case"src":case"href":if(n===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){t.removeAttribute(l);break}n=uu(""+n),t.setAttribute(l,n);break;case"action":case"formAction":if(typeof n=="function"){t.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(l==="formAction"?(e!=="input"&&zt(t,e,"name",a.name,a,null),zt(t,e,"formEncType",a.formEncType,a,null),zt(t,e,"formMethod",a.formMethod,a,null),zt(t,e,"formTarget",a.formTarget,a,null)):(zt(t,e,"encType",a.encType,a,null),zt(t,e,"method",a.method,a,null),zt(t,e,"target",a.target,a,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){t.removeAttribute(l);break}n=uu(""+n),t.setAttribute(l,n);break;case"onClick":n!=null&&(t.onclick=ke);break;case"onScroll":n!=null&&dt("scroll",t);break;case"onScrollEnd":n!=null&&dt("scrollend",t);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(c(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(c(60));t.innerHTML=l}}break;case"multiple":t.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":t.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){t.removeAttribute("xlink:href");break}l=uu(""+n),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,""+n):t.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":n===!0?t.setAttribute(l,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,n):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?t.setAttribute(l,n):t.removeAttribute(l);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?t.removeAttribute(l):t.setAttribute(l,n);break;case"popover":dt("beforetoggle",t),dt("toggle",t),lu(t,"popover",n);break;case"xlinkActuate":Ke(t,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":Ke(t,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":Ke(t,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":Ke(t,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":Ke(t,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":Ke(t,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":Ke(t,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":Ke(t,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":Ke(t,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":lu(t,"is",n);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Um.get(l)||l,lu(t,l,n))}}function Tf(t,e,l,n,a,u){switch(l){case"style":Cs(t,n,u);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(c(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(c(60));t.innerHTML=l}}break;case"children":typeof n=="string"?dn(t,n):(typeof n=="number"||typeof n=="bigint")&&dn(t,""+n);break;case"onScroll":n!=null&&dt("scroll",t);break;case"onScrollEnd":n!=null&&dt("scrollend",t);break;case"onClick":n!=null&&(t.onclick=ke);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!As.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(a=l.endsWith("Capture"),e=l.slice(2,a?l.length-7:void 0),u=t[ne]||null,u=u!=null?u[l]:null,typeof u=="function"&&t.removeEventListener(e,u,a),typeof n=="function")){typeof u!="function"&&u!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,n,a);break t}l in t?t[l]=n:n===!0?t.setAttribute(l,""):lu(t,l,n)}}}function $t(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":dt("error",t),dt("load",t);var n=!1,a=!1,u;for(u in l)if(l.hasOwnProperty(u)){var s=l[u];if(s!=null)switch(u){case"src":n=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:zt(t,e,u,s,l,null)}}a&&zt(t,e,"srcSet",l.srcSet,l,null),n&&zt(t,e,"src",l.src,l,null);return;case"input":dt("invalid",t);var o=u=s=a=null,h=null,T=null;for(n in l)if(l.hasOwnProperty(n)){var M=l[n];if(M!=null)switch(n){case"name":a=M;break;case"type":s=M;break;case"checked":h=M;break;case"defaultChecked":T=M;break;case"value":u=M;break;case"defaultValue":o=M;break;case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(c(137,e));break;default:zt(t,e,n,M,l,null)}}Rs(t,u,o,h,T,s,a,!1);return;case"select":dt("invalid",t),n=s=u=null;for(a in l)if(l.hasOwnProperty(a)&&(o=l[a],o!=null))switch(a){case"value":u=o;break;case"defaultValue":s=o;break;case"multiple":n=o;default:zt(t,e,a,o,l,null)}e=u,l=s,t.multiple=!!n,e!=null?on(t,!!n,e,!1):l!=null&&on(t,!!n,l,!0);return;case"textarea":dt("invalid",t),u=a=n=null;for(s in l)if(l.hasOwnProperty(s)&&(o=l[s],o!=null))switch(s){case"value":n=o;break;case"defaultValue":a=o;break;case"children":u=o;break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(c(91));break;default:zt(t,e,s,o,l,null)}Ms(t,n,a,u);return;case"option":for(h in l)if(l.hasOwnProperty(h)&&(n=l[h],n!=null))switch(h){case"selected":t.selected=n&&typeof n!="function"&&typeof n!="symbol";break;default:zt(t,e,h,n,l,null)}return;case"dialog":dt("beforetoggle",t),dt("toggle",t),dt("cancel",t),dt("close",t);break;case"iframe":case"object":dt("load",t);break;case"video":case"audio":for(n=0;n<Ma.length;n++)dt(Ma[n],t);break;case"image":dt("error",t),dt("load",t);break;case"details":dt("toggle",t);break;case"embed":case"source":case"link":dt("error",t),dt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(T in l)if(l.hasOwnProperty(T)&&(n=l[T],n!=null))switch(T){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:zt(t,e,T,n,l,null)}return;default:if(wi(e)){for(M in l)l.hasOwnProperty(M)&&(n=l[M],n!==void 0&&Tf(t,e,M,n,l,void 0));return}}for(o in l)l.hasOwnProperty(o)&&(n=l[o],n!=null&&zt(t,e,o,n,l,null))}function uy(t,e,l,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,u=null,s=null,o=null,h=null,T=null,M=null;for(_ in l){var j=l[_];if(l.hasOwnProperty(_)&&j!=null)switch(_){case"checked":break;case"value":break;case"defaultValue":h=j;default:n.hasOwnProperty(_)||zt(t,e,_,null,n,j)}}for(var O in n){var _=n[O];if(j=l[O],n.hasOwnProperty(O)&&(_!=null||j!=null))switch(O){case"type":u=_;break;case"name":a=_;break;case"checked":T=_;break;case"defaultChecked":M=_;break;case"value":s=_;break;case"defaultValue":o=_;break;case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(c(137,e));break;default:_!==j&&zt(t,e,O,_,n,j)}}Bi(t,s,o,h,T,M,u,a);return;case"select":_=s=o=O=null;for(u in l)if(h=l[u],l.hasOwnProperty(u)&&h!=null)switch(u){case"value":break;case"multiple":_=h;default:n.hasOwnProperty(u)||zt(t,e,u,null,n,h)}for(a in n)if(u=n[a],h=l[a],n.hasOwnProperty(a)&&(u!=null||h!=null))switch(a){case"value":O=u;break;case"defaultValue":o=u;break;case"multiple":s=u;default:u!==h&&zt(t,e,a,u,n,h)}e=o,l=s,n=_,O!=null?on(t,!!l,O,!1):!!n!=!!l&&(e!=null?on(t,!!l,e,!0):on(t,!!l,l?[]:"",!1));return;case"textarea":_=O=null;for(o in l)if(a=l[o],l.hasOwnProperty(o)&&a!=null&&!n.hasOwnProperty(o))switch(o){case"value":break;case"children":break;default:zt(t,e,o,null,n,a)}for(s in n)if(a=n[s],u=l[s],n.hasOwnProperty(s)&&(a!=null||u!=null))switch(s){case"value":O=a;break;case"defaultValue":_=a;break;case"children":break;case"dangerouslySetInnerHTML":if(a!=null)throw Error(c(91));break;default:a!==u&&zt(t,e,s,a,n,u)}Ds(t,O,_);return;case"option":for(var Q in l)if(O=l[Q],l.hasOwnProperty(Q)&&O!=null&&!n.hasOwnProperty(Q))switch(Q){case"selected":t.selected=!1;break;default:zt(t,e,Q,null,n,O)}for(h in n)if(O=n[h],_=l[h],n.hasOwnProperty(h)&&O!==_&&(O!=null||_!=null))switch(h){case"selected":t.selected=O&&typeof O!="function"&&typeof O!="symbol";break;default:zt(t,e,h,O,n,_)}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 P in l)O=l[P],l.hasOwnProperty(P)&&O!=null&&!n.hasOwnProperty(P)&&zt(t,e,P,null,n,O);for(T in n)if(O=n[T],_=l[T],n.hasOwnProperty(T)&&O!==_&&(O!=null||_!=null))switch(T){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(c(137,e));break;default:zt(t,e,T,O,n,_)}return;default:if(wi(e)){for(var At in l)O=l[At],l.hasOwnProperty(At)&&O!==void 0&&!n.hasOwnProperty(At)&&Tf(t,e,At,void 0,n,O);for(M in n)O=n[M],_=l[M],!n.hasOwnProperty(M)||O===_||O===void 0&&_===void 0||Tf(t,e,M,O,n,_);return}}for(var E in l)O=l[E],l.hasOwnProperty(E)&&O!=null&&!n.hasOwnProperty(E)&&zt(t,e,E,null,n,O);for(j in n)O=n[j],_=l[j],!n.hasOwnProperty(j)||O===_||O==null&&_==null||zt(t,e,j,O,n,_)}function Hd(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function iy(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,l=performance.getEntriesByType("resource"),n=0;n<l.length;n++){var a=l[n],u=a.transferSize,s=a.initiatorType,o=a.duration;if(u&&o&&Hd(s)){for(s=0,o=a.responseEnd,n+=1;n<l.length;n++){var h=l[n],T=h.startTime;if(T>o)break;var M=h.transferSize,j=h.initiatorType;M&&Hd(j)&&(h=h.responseEnd,s+=M*(h<o?1:(o-T)/(h-T)))}if(--n,e+=8*(u+s)/(a.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Of=null,Nf=null;function ti(t){return t.nodeType===9?t:t.ownerDocument}function Bd(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function qd(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function _f(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Rf=null;function cy(){var t=window.event;return t&&t.type==="popstate"?t===Rf?!1:(Rf=t,!0):(Rf=null,!1)}var wd=typeof setTimeout=="function"?setTimeout:void 0,fy=typeof clearTimeout=="function"?clearTimeout:void 0,Ld=typeof Promise=="function"?Promise:void 0,sy=typeof queueMicrotask=="function"?queueMicrotask:typeof Ld<"u"?function(t){return Ld.resolve(null).then(t).catch(ry)}:wd;function ry(t){setTimeout(function(){throw t})}function Dl(t){return t==="head"}function Yd(t,e){var l=e,n=0;do{var a=l.nextSibling;if(t.removeChild(l),a&&a.nodeType===8)if(l=a.data,l==="/$"||l==="/&"){if(n===0){t.removeChild(a),Vn(e);return}n--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")n++;else if(l==="html")Ca(t.ownerDocument.documentElement);else if(l==="head"){l=t.ownerDocument.head,Ca(l);for(var u=l.firstChild;u;){var s=u.nextSibling,o=u.nodeName;u[Wn]||o==="SCRIPT"||o==="STYLE"||o==="LINK"&&u.rel.toLowerCase()==="stylesheet"||l.removeChild(u),u=s}}else l==="body"&&Ca(t.ownerDocument.body);l=a}while(l);Vn(e)}function Xd(t,e){var l=t;t=0;do{var n=l.nextSibling;if(l.nodeType===1?e?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(e?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),n&&n.nodeType===8)if(l=n.data,l==="/$"){if(t===0)break;t--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||t++;l=n}while(l)}function Df(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var l=e;switch(e=e.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Df(l),ji(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function oy(t,e,l,n){for(;t.nodeType===1;){var a=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!n&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(n){if(!t[Wn])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(u=t.getAttribute("rel"),u==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(u!==a.rel||t.getAttribute("href")!==(a.href==null||a.href===""?null:a.href)||t.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin)||t.getAttribute("title")!==(a.title==null?null:a.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(u=t.getAttribute("src"),(u!==(a.src==null?null:a.src)||t.getAttribute("type")!==(a.type==null?null:a.type)||t.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin))&&u&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var u=a.name==null?null:""+a.name;if(a.type==="hidden"&&t.getAttribute("name")===u)return t}else return t;if(t=Ce(t.nextSibling),t===null)break}return null}function dy(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Ce(t.nextSibling),t===null))return null;return t}function Gd(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Ce(t.nextSibling),t===null))return null;return t}function Mf(t){return t.data==="$?"||t.data==="$~"}function Uf(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function my(t,e){var l=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||l.readyState!=="loading")e();else{var n=function(){e(),l.removeEventListener("DOMContentLoaded",n)};l.addEventListener("DOMContentLoaded",n),t._reactRetry=n}}function Ce(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var Cf=null;function Vd(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="/$"||l==="/&"){if(e===0)return Ce(t.nextSibling);e--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||e++}t=t.nextSibling}return null}function Qd(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(e===0)return t;e--}else l!=="/$"&&l!=="/&"||e++}t=t.previousSibling}return null}function Zd(t,e,l){switch(e=ti(l),t){case"html":if(t=e.documentElement,!t)throw Error(c(452));return t;case"head":if(t=e.head,!t)throw Error(c(453));return t;case"body":if(t=e.body,!t)throw Error(c(454));return t;default:throw Error(c(451))}}function Ca(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);ji(t)}var je=new Map,Jd=new Set;function ei(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var rl=L.d;L.d={f:hy,r:yy,D:vy,C:py,L:by,m:gy,X:xy,S:Sy,M:Ey};function hy(){var t=rl.f(),e=Ju();return t||e}function yy(t){var e=fn(t);e!==null&&e.tag===5&&e.type==="form"?fo(e):rl.r(t)}var Yn=typeof document>"u"?null:document;function Kd(t,e,l){var n=Yn;if(n&&typeof e=="string"&&e){var a=Oe(e);a='link[rel="'+t+'"][href="'+a+'"]',typeof l=="string"&&(a+='[crossorigin="'+l+'"]'),Jd.has(a)||(Jd.add(a),t={rel:t,crossOrigin:l,href:e},n.querySelector(a)===null&&(e=n.createElement("link"),$t(e,"link",t),Qt(e),n.head.appendChild(e)))}}function vy(t){rl.D(t),Kd("dns-prefetch",t,null)}function py(t,e){rl.C(t,e),Kd("preconnect",t,e)}function by(t,e,l){rl.L(t,e,l);var n=Yn;if(n&&t&&e){var a='link[rel="preload"][as="'+Oe(e)+'"]';e==="image"&&l&&l.imageSrcSet?(a+='[imagesrcset="'+Oe(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(a+='[imagesizes="'+Oe(l.imageSizes)+'"]')):a+='[href="'+Oe(t)+'"]';var u=a;switch(e){case"style":u=Xn(t);break;case"script":u=Gn(t)}je.has(u)||(t=C({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),je.set(u,t),n.querySelector(a)!==null||e==="style"&&n.querySelector(ja(u))||e==="script"&&n.querySelector(Ha(u))||(e=n.createElement("link"),$t(e,"link",t),Qt(e),n.head.appendChild(e)))}}function gy(t,e){rl.m(t,e);var l=Yn;if(l&&t){var n=e&&typeof e.as=="string"?e.as:"script",a='link[rel="modulepreload"][as="'+Oe(n)+'"][href="'+Oe(t)+'"]',u=a;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Gn(t)}if(!je.has(u)&&(t=C({rel:"modulepreload",href:t},e),je.set(u,t),l.querySelector(a)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Ha(u)))return}n=l.createElement("link"),$t(n,"link",t),Qt(n),l.head.appendChild(n)}}}function Sy(t,e,l){rl.S(t,e,l);var n=Yn;if(n&&t){var a=sn(n).hoistableStyles,u=Xn(t);e=e||"default";var s=a.get(u);if(!s){var o={loading:0,preload:null};if(s=n.querySelector(ja(u)))o.loading=5;else{t=C({rel:"stylesheet",href:t,"data-precedence":e},l),(l=je.get(u))&&jf(t,l);var h=s=n.createElement("link");Qt(h),$t(h,"link",t),h._p=new Promise(function(T,M){h.onload=T,h.onerror=M}),h.addEventListener("load",function(){o.loading|=1}),h.addEventListener("error",function(){o.loading|=2}),o.loading|=4,li(s,e,n)}s={type:"stylesheet",instance:s,count:1,state:o},a.set(u,s)}}}function xy(t,e){rl.X(t,e);var l=Yn;if(l&&t){var n=sn(l).hoistableScripts,a=Gn(t),u=n.get(a);u||(u=l.querySelector(Ha(a)),u||(t=C({src:t,async:!0},e),(e=je.get(a))&&Hf(t,e),u=l.createElement("script"),Qt(u),$t(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},n.set(a,u))}}function Ey(t,e){rl.M(t,e);var l=Yn;if(l&&t){var n=sn(l).hoistableScripts,a=Gn(t),u=n.get(a);u||(u=l.querySelector(Ha(a)),u||(t=C({src:t,async:!0,type:"module"},e),(e=je.get(a))&&Hf(t,e),u=l.createElement("script"),Qt(u),$t(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},n.set(a,u))}}function kd(t,e,l,n){var a=(a=ut.current)?ei(a):null;if(!a)throw Error(c(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=Xn(l.href),l=sn(a).hoistableStyles,n=l.get(e),n||(n={type:"style",instance:null,count:0,state:null},l.set(e,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=Xn(l.href);var u=sn(a).hoistableStyles,s=u.get(t);if(s||(a=a.ownerDocument||a,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,s),(u=a.querySelector(ja(t)))&&!u._p&&(s.instance=u,s.state.loading=5),je.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},je.set(t,l),u||zy(a,t,l,s.state))),e&&n===null)throw Error(c(528,""));return s}if(e&&n!==null)throw Error(c(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Gn(l),l=sn(a).hoistableScripts,n=l.get(e),n||(n={type:"script",instance:null,count:0,state:null},l.set(e,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,t))}}function Xn(t){return'href="'+Oe(t)+'"'}function ja(t){return'link[rel="stylesheet"]['+t+"]"}function Fd(t){return C({},t,{"data-precedence":t.precedence,precedence:null})}function zy(t,e,l,n){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?n.loading=1:(e=t.createElement("link"),n.preload=e,e.addEventListener("load",function(){return n.loading|=1}),e.addEventListener("error",function(){return n.loading|=2}),$t(e,"link",l),Qt(e),t.head.appendChild(e))}function Gn(t){return'[src="'+Oe(t)+'"]'}function Ha(t){return"script[async]"+t}function $d(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var n=t.querySelector('style[data-href~="'+Oe(l.href)+'"]');if(n)return e.instance=n,Qt(n),n;var a=C({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return n=(t.ownerDocument||t).createElement("style"),Qt(n),$t(n,"style",a),li(n,l.precedence,t),e.instance=n;case"stylesheet":a=Xn(l.href);var u=t.querySelector(ja(a));if(u)return e.state.loading|=4,e.instance=u,Qt(u),u;n=Fd(l),(a=je.get(a))&&jf(n,a),u=(t.ownerDocument||t).createElement("link"),Qt(u);var s=u;return s._p=new Promise(function(o,h){s.onload=o,s.onerror=h}),$t(u,"link",n),e.state.loading|=4,li(u,l.precedence,t),e.instance=u;case"script":return u=Gn(l.src),(a=t.querySelector(Ha(u)))?(e.instance=a,Qt(a),a):(n=l,(a=je.get(u))&&(n=C({},l),Hf(n,a)),t=t.ownerDocument||t,a=t.createElement("script"),Qt(a),$t(a,"link",n),t.head.appendChild(a),e.instance=a);case"void":return null;default:throw Error(c(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(n=e.instance,e.state.loading|=4,li(n,l.precedence,t));return e.instance}function li(t,e,l){for(var n=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=n.length?n[n.length-1]:null,u=a,s=0;s<n.length;s++){var o=n[s];if(o.dataset.precedence===e)u=o;else if(u!==a)break}u?u.parentNode.insertBefore(t,u.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function jf(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Hf(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var ni=null;function Wd(t,e,l){if(ni===null){var n=new Map,a=ni=new Map;a.set(l,n)}else a=ni,n=a.get(l),n||(n=new Map,a.set(l,n));if(n.has(t))return n;for(n.set(t,null),l=l.getElementsByTagName(t),a=0;a<l.length;a++){var u=l[a];if(!(u[Wn]||u[Jt]||t==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var s=u.getAttribute(e)||"";s=t+s;var o=n.get(s);o?o.push(u):n.set(s,[u])}}return n}function Id(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function Ay(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Pd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Ty(t,e,l,n){if(l.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var a=Xn(n.href),u=e.querySelector(ja(a));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=ai.bind(t),e.then(t,t)),l.state.loading|=4,l.instance=u,Qt(u);return}u=e.ownerDocument||e,n=Fd(n),(a=je.get(a))&&jf(n,a),u=u.createElement("link"),Qt(u);var s=u;s._p=new Promise(function(o,h){s.onload=o,s.onerror=h}),$t(u,"link",n),l.instance=u}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,e),(e=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=ai.bind(t),e.addEventListener("load",l),e.addEventListener("error",l))}}var Bf=0;function Oy(t,e){return t.stylesheets&&t.count===0&&ii(t,t.stylesheets),0<t.count||0<t.imgCount?function(l){var n=setTimeout(function(){if(t.stylesheets&&ii(t,t.stylesheets),t.unsuspend){var u=t.unsuspend;t.unsuspend=null,u()}},6e4+e);0<t.imgBytes&&Bf===0&&(Bf=62500*iy());var a=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&ii(t,t.stylesheets),t.unsuspend)){var u=t.unsuspend;t.unsuspend=null,u()}},(t.imgBytes>Bf?50:800)+e);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(n),clearTimeout(a)}}:null}function ai(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ii(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var ui=null;function ii(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,ui=new Map,e.forEach(Ny,t),ui=null,ai.call(t))}function Ny(t,e){if(!(e.state.loading&4)){var l=ui.get(t);if(l)var n=l.get(null);else{l=new Map,ui.set(t,l);for(var a=t.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<a.length;u++){var s=a[u];(s.nodeName==="LINK"||s.getAttribute("media")!=="not all")&&(l.set(s.dataset.precedence,s),n=s)}n&&l.set(null,n)}a=e.instance,s=a.getAttribute("data-precedence"),u=l.get(s)||n,u===n&&l.set(null,a),l.set(s,a),this.count++,n=ai.bind(this),a.addEventListener("load",n),a.addEventListener("error",n),u?u.parentNode.insertBefore(a,u.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(a,t.firstChild)),e.state.loading|=4}}var Ba={$$typeof:X,Provider:null,Consumer:null,_currentValue:I,_currentValue2:I,_threadCount:0};function _y(t,e,l,n,a,u,s,o,h){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Di(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Di(0),this.hiddenUpdates=Di(null),this.identifierPrefix=n,this.onUncaughtError=a,this.onCaughtError=u,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=h,this.incompleteTransitions=new Map}function t0(t,e,l,n,a,u,s,o,h,T,M,j){return t=new _y(t,e,l,s,h,T,M,j,o),e=1,u===!0&&(e|=24),u=be(3,null,null,e),t.current=u,u.stateNode=t,e=hc(),e.refCount++,t.pooledCache=e,e.refCount++,u.memoizedState={element:n,isDehydrated:l,cache:e},bc(u),t}function e0(t){return t?(t=gn,t):gn}function l0(t,e,l,n,a,u){a=e0(a),n.context===null?n.context=a:n.pendingContext=a,n=gl(e),n.payload={element:l},u=u===void 0?null:u,u!==null&&(n.callback=u),l=Sl(t,n,e),l!==null&&(se(l,t,e),ha(l,t,e))}function n0(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function qf(t,e){n0(t,e),(t=t.alternate)&&n0(t,e)}function a0(t){if(t.tag===13||t.tag===31){var e=Gl(t,67108864);e!==null&&se(e,t,67108864),qf(t,67108864)}}function u0(t){if(t.tag===13||t.tag===31){var e=ze();e=Mi(e);var l=Gl(t,e);l!==null&&se(l,t,e),qf(t,e)}}var ci=!0;function Ry(t,e,l,n){var a=D.T;D.T=null;var u=L.p;try{L.p=2,wf(t,e,l,n)}finally{L.p=u,D.T=a}}function Dy(t,e,l,n){var a=D.T;D.T=null;var u=L.p;try{L.p=8,wf(t,e,l,n)}finally{L.p=u,D.T=a}}function wf(t,e,l,n){if(ci){var a=Lf(n);if(a===null)Af(t,e,n,fi,l),c0(t,n);else if(Uy(a,t,e,l,n))n.stopPropagation();else if(c0(t,n),e&4&&-1<My.indexOf(t)){for(;a!==null;){var u=fn(a);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var s=ql(u.pendingLanes);if(s!==0){var o=u;for(o.pendingLanes|=2,o.entangledLanes|=2;s;){var h=1<<31-ve(s);o.entanglements[1]|=h,s&=~h}Ze(u),(bt&6)===0&&(Qu=he()+500,Da(0))}}break;case 31:case 13:o=Gl(u,2),o!==null&&se(o,u,2),Ju(),qf(u,2)}if(u=Lf(n),u===null&&Af(t,e,n,fi,l),u===a)break;a=u}a!==null&&n.stopPropagation()}else Af(t,e,n,null,l)}}function Lf(t){return t=Yi(t),Yf(t)}var fi=null;function Yf(t){if(fi=null,t=cn(t),t!==null){var e=m(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=y(e),t!==null)return t;t=null}else if(l===31){if(t=x(e),t!==null)return t;t=null}else if(l===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return fi=t,null}function i0(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(vm()){case ms:return 2;case hs:return 8;case Wa:case pm:return 32;case ys:return 268435456;default:return 32}default:return 32}}var Xf=!1,Ml=null,Ul=null,Cl=null,qa=new Map,wa=new Map,jl=[],My="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 c0(t,e){switch(t){case"focusin":case"focusout":Ml=null;break;case"dragenter":case"dragleave":Ul=null;break;case"mouseover":case"mouseout":Cl=null;break;case"pointerover":case"pointerout":qa.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":wa.delete(e.pointerId)}}function La(t,e,l,n,a,u){return t===null||t.nativeEvent!==u?(t={blockedOn:e,domEventName:l,eventSystemFlags:n,nativeEvent:u,targetContainers:[a]},e!==null&&(e=fn(e),e!==null&&a0(e)),t):(t.eventSystemFlags|=n,e=t.targetContainers,a!==null&&e.indexOf(a)===-1&&e.push(a),t)}function Uy(t,e,l,n,a){switch(e){case"focusin":return Ml=La(Ml,t,e,l,n,a),!0;case"dragenter":return Ul=La(Ul,t,e,l,n,a),!0;case"mouseover":return Cl=La(Cl,t,e,l,n,a),!0;case"pointerover":var u=a.pointerId;return qa.set(u,La(qa.get(u)||null,t,e,l,n,a)),!0;case"gotpointercapture":return u=a.pointerId,wa.set(u,La(wa.get(u)||null,t,e,l,n,a)),!0}return!1}function f0(t){var e=cn(t.target);if(e!==null){var l=m(e);if(l!==null){if(e=l.tag,e===13){if(e=y(l),e!==null){t.blockedOn=e,xs(t.priority,function(){u0(l)});return}}else if(e===31){if(e=x(l),e!==null){t.blockedOn=e,xs(t.priority,function(){u0(l)});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function si(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=Lf(t.nativeEvent);if(l===null){l=t.nativeEvent;var n=new l.constructor(l.type,l);Li=n,l.target.dispatchEvent(n),Li=null}else return e=fn(l),e!==null&&a0(e),t.blockedOn=l,!1;e.shift()}return!0}function s0(t,e,l){si(t)&&l.delete(e)}function Cy(){Xf=!1,Ml!==null&&si(Ml)&&(Ml=null),Ul!==null&&si(Ul)&&(Ul=null),Cl!==null&&si(Cl)&&(Cl=null),qa.forEach(s0),wa.forEach(s0)}function ri(t,e){t.blockedOn===e&&(t.blockedOn=null,Xf||(Xf=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Cy)))}var oi=null;function r0(t){oi!==t&&(oi=t,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){oi===t&&(oi=null);for(var e=0;e<t.length;e+=3){var l=t[e],n=t[e+1],a=t[e+2];if(typeof n!="function"){if(Yf(n||l)===null)continue;break}var u=fn(l);u!==null&&(t.splice(e,3),e-=3,wc(u,{pending:!0,data:a,method:l.method,action:n},n,a))}}))}function Vn(t){function e(h){return ri(h,t)}Ml!==null&&ri(Ml,t),Ul!==null&&ri(Ul,t),Cl!==null&&ri(Cl,t),qa.forEach(e),wa.forEach(e);for(var l=0;l<jl.length;l++){var n=jl[l];n.blockedOn===t&&(n.blockedOn=null)}for(;0<jl.length&&(l=jl[0],l.blockedOn===null);)f0(l),l.blockedOn===null&&jl.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(n=0;n<l.length;n+=3){var a=l[n],u=l[n+1],s=a[ne]||null;if(typeof u=="function")s||r0(l);else if(s){var o=null;if(u&&u.hasAttribute("formAction")){if(a=u,s=u[ne]||null)o=s.formAction;else if(Yf(a)!==null)continue}else o=s.action;typeof o=="function"?l[n+1]=o:(l.splice(n,3),n-=3),r0(l)}}}function o0(){function t(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(s){return a=s})},focusReset:"manual",scroll:"manual"})}function e(){a!==null&&(a(),a=null),n||setTimeout(l,20)}function l(){if(!n&&!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 n=!1,a=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(l,100),function(){n=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),a!==null&&(a(),a=null)}}}function Gf(t){this._internalRoot=t}di.prototype.render=Gf.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(c(409));var l=e.current,n=ze();l0(l,n,t,e,null,null)},di.prototype.unmount=Gf.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;l0(t.current,2,null,t,null,null),Ju(),e[un]=null}};function di(t){this._internalRoot=t}di.prototype.unstable_scheduleHydration=function(t){if(t){var e=Ss();t={blockedOn:null,target:t,priority:e};for(var l=0;l<jl.length&&e!==0&&e<jl[l].priority;l++);jl.splice(l,0,t),l===0&&f0(t)}};var d0=f.version;if(d0!=="19.2.6")throw Error(c(527,d0,"19.2.6"));L.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(c(188)):(t=Object.keys(t).join(","),Error(c(268,t)));return t=v(e),t=t!==null?N(t):null,t=t===null?null:t.stateNode,t};var jy={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var mi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!mi.isDisabled&&mi.supportsFiber)try{kn=mi.inject(jy),ye=mi}catch{}}return Xa.createRoot=function(t,e){if(!d(t))throw Error(c(299));var l=!1,n="",a=go,u=So,s=xo;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onUncaughtError!==void 0&&(a=e.onUncaughtError),e.onCaughtError!==void 0&&(u=e.onCaughtError),e.onRecoverableError!==void 0&&(s=e.onRecoverableError)),e=t0(t,1,!1,null,null,l,n,null,a,u,s,o0),t[un]=e.current,zf(t),new Gf(e)},Xa.hydrateRoot=function(t,e,l){if(!d(t))throw Error(c(299));var n=!1,a="",u=go,s=So,o=xo,h=null;return l!=null&&(l.unstable_strictMode===!0&&(n=!0),l.identifierPrefix!==void 0&&(a=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(s=l.onCaughtError),l.onRecoverableError!==void 0&&(o=l.onRecoverableError),l.formState!==void 0&&(h=l.formState)),e=t0(t,1,!0,e,l??null,n,a,h,u,s,o,o0),e.context=e0(null),l=e.current,n=ze(),n=Mi(n),a=gl(n),a.callback=null,Sl(l,a,n),l=n,e.current.lanes=l,$n(e,l),Ze(e),t[un]=e.current,zf(t),new di(e)},Xa.version="19.2.6",Xa}var E0;function Jy(){if(E0)return Zf.exports;E0=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(f){console.error(f)}}return i(),Zf.exports=Zy(),Zf.exports}var Ky=Jy();/**
 * @license lucide-react v0.468.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ky=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),X0=(...i)=>i.filter((f,r,c)=>!!f&&f.trim()!==""&&c.indexOf(f)===r).join(" ").trim();/**
 * @license lucide-react v0.468.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var Fy={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v0.468.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const $y=st.forwardRef(({color:i="currentColor",size:f=24,strokeWidth:r=2,absoluteStrokeWidth:c,className:d="",children:m,iconNode:y,...x},S)=>st.createElement("svg",{ref:S,...Fy,width:f,height:f,stroke:i,strokeWidth:c?Number(r)*24/Number(f):r,className:X0("lucide",d),...x},[...y.map(([v,N])=>st.createElement(v,N)),...Array.isArray(m)?m:[m]]));/**
 * @license lucide-react v0.468.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const oe=(i,f)=>{const r=st.forwardRef(({className:c,...d},m)=>st.createElement($y,{ref:m,iconNode:f,className:X0(`lucide-${ky(i)}`,c),...d}));return r.displayName=`${i}`,r};/**
 * @license lucide-react v0.468.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Wy=oe("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
 * @license lucide-react v0.468.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Iy=oe("CalendarClock",[["path",{d:"M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5",key:"1osxxc"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M3 10h5",key:"r794hk"}],["path",{d:"M17.5 17.5 16 16.3V14",key:"akvzfd"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]]);/**
 * @license lucide-react v0.468.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Py=oe("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
 * @license lucide-react v0.468.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const t1=oe("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
 * @license lucide-react v0.468.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const e1=oe("DatabaseBackup",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 12a9 3 0 0 0 5 2.69",key:"1ui2ym"}],["path",{d:"M21 9.3V5",key:"6k6cib"}],["path",{d:"M3 5v14a9 3 0 0 0 6.47 2.88",key:"i62tjy"}],["path",{d:"M12 12v4h4",key:"1bxaet"}],["path",{d:"M13 20a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L12 16",key:"1f4ei9"}]]);/**
 * @license lucide-react v0.468.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const l1=oe("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
 * @license lucide-react v0.468.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const n1=oe("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
 * @license lucide-react v0.468.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const a1=oe("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
 * @license lucide-react v0.468.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const G0=oe("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
 * @license lucide-react v0.468.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const u1=oe("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
 * @license lucide-react v0.468.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const V0=oe("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);/**
 * @license lucide-react v0.468.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const i1=oe("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
 * @license lucide-react v0.468.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Q0=oe("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
 * @license lucide-react v0.468.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const c1=oe("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Z0(i,f){return function(){return i.apply(f,arguments)}}const{toString:f1}=Object.prototype,{getPrototypeOf:gi}=Object,{iterator:Si,toStringTag:J0}=Symbol,xi=(i=>f=>{const r=f1.call(f);return i[r]||(i[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Le=i=>(i=i.toLowerCase(),f=>xi(f)===i),Ei=i=>f=>typeof f===i,{isArray:Kn}=Array,Jn=Ei("undefined");function Za(i){return i!==null&&!Jn(i)&&i.constructor!==null&&!Jn(i.constructor)&&re(i.constructor.isBuffer)&&i.constructor.isBuffer(i)}const K0=Le("ArrayBuffer");function s1(i){let f;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?f=ArrayBuffer.isView(i):f=i&&i.buffer&&K0(i.buffer),f}const r1=Ei("string"),re=Ei("function"),k0=Ei("number"),Ja=i=>i!==null&&typeof i=="object",o1=i=>i===!0||i===!1,yi=i=>{if(xi(i)!=="object")return!1;const f=gi(i);return(f===null||f===Object.prototype||Object.getPrototypeOf(f)===null)&&!(J0 in i)&&!(Si in i)},d1=i=>{if(!Ja(i)||Za(i))return!1;try{return Object.keys(i).length===0&&Object.getPrototypeOf(i)===Object.prototype}catch{return!1}},m1=Le("Date"),h1=Le("File"),y1=i=>!!(i&&typeof i.uri<"u"),v1=i=>i&&typeof i.getParts<"u",p1=Le("Blob"),b1=Le("FileList"),g1=i=>Ja(i)&&re(i.pipe);function S1(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const z0=S1(),A0=typeof z0.FormData<"u"?z0.FormData:void 0,x1=i=>{if(!i)return!1;if(A0&&i instanceof A0)return!0;const f=gi(i);if(!f||f===Object.prototype||!re(i.append))return!1;const r=xi(i);return r==="formdata"||r==="object"&&re(i.toString)&&i.toString()==="[object FormData]"},E1=Le("URLSearchParams"),[z1,A1,T1,O1]=["ReadableStream","Request","Response","Headers"].map(Le),N1=i=>i.trim?i.trim():i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ka(i,f,{allOwnKeys:r=!1}={}){if(i===null||typeof i>"u")return;let c,d;if(typeof i!="object"&&(i=[i]),Kn(i))for(c=0,d=i.length;c<d;c++)f.call(null,i[c],c,i);else{if(Za(i))return;const m=r?Object.getOwnPropertyNames(i):Object.keys(i),y=m.length;let x;for(c=0;c<y;c++)x=m[c],f.call(null,i[x],x,i)}}function F0(i,f){if(Za(i))return null;f=f.toLowerCase();const r=Object.keys(i);let c=r.length,d;for(;c-- >0;)if(d=r[c],f===d.toLowerCase())return d;return null}const en=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,$0=i=>!Jn(i)&&i!==en;function ts(...i){const{caseless:f,skipUndefined:r}=$0(this)&&this||{},c={},d=(m,y)=>{if(y==="__proto__"||y==="constructor"||y==="prototype")return;const x=f&&F0(c,y)||y,S=es(c,x)?c[x]:void 0;yi(S)&&yi(m)?c[x]=ts(S,m):yi(m)?c[x]=ts({},m):Kn(m)?c[x]=m.slice():(!r||!Jn(m))&&(c[x]=m)};for(let m=0,y=i.length;m<y;m++)i[m]&&Ka(i[m],d);return c}const _1=(i,f,r,{allOwnKeys:c}={})=>(Ka(f,(d,m)=>{r&&re(d)?Object.defineProperty(i,m,{__proto__:null,value:Z0(d,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(i,m,{__proto__:null,value:d,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:c}),i),R1=i=>(i.charCodeAt(0)===65279&&(i=i.slice(1)),i),D1=(i,f,r,c)=>{i.prototype=Object.create(f.prototype,c),Object.defineProperty(i.prototype,"constructor",{__proto__:null,value:i,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(i,"super",{__proto__:null,value:f.prototype}),r&&Object.assign(i.prototype,r)},M1=(i,f,r,c)=>{let d,m,y;const x={};if(f=f||{},i==null)return f;do{for(d=Object.getOwnPropertyNames(i),m=d.length;m-- >0;)y=d[m],(!c||c(y,i,f))&&!x[y]&&(f[y]=i[y],x[y]=!0);i=r!==!1&&gi(i)}while(i&&(!r||r(i,f))&&i!==Object.prototype);return f},U1=(i,f,r)=>{i=String(i),(r===void 0||r>i.length)&&(r=i.length),r-=f.length;const c=i.indexOf(f,r);return c!==-1&&c===r},C1=i=>{if(!i)return null;if(Kn(i))return i;let f=i.length;if(!k0(f))return null;const r=new Array(f);for(;f-- >0;)r[f]=i[f];return r},j1=(i=>f=>i&&f instanceof i)(typeof Uint8Array<"u"&&gi(Uint8Array)),H1=(i,f)=>{const c=(i&&i[Si]).call(i);let d;for(;(d=c.next())&&!d.done;){const m=d.value;f.call(i,m[0],m[1])}},B1=(i,f)=>{let r;const c=[];for(;(r=i.exec(f))!==null;)c.push(r);return c},q1=Le("HTMLFormElement"),w1=i=>i.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,c,d){return c.toUpperCase()+d}),es=(({hasOwnProperty:i})=>(f,r)=>i.call(f,r))(Object.prototype),L1=Le("RegExp"),W0=(i,f)=>{const r=Object.getOwnPropertyDescriptors(i),c={};Ka(r,(d,m)=>{let y;(y=f(d,m,i))!==!1&&(c[m]=y||d)}),Object.defineProperties(i,c)},Y1=i=>{W0(i,(f,r)=>{if(re(i)&&["arguments","caller","callee"].includes(r))return!1;const c=i[r];if(re(c)){if(f.enumerable=!1,"writable"in f){f.writable=!1;return}f.set||(f.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},X1=(i,f)=>{const r={},c=d=>{d.forEach(m=>{r[m]=!0})};return Kn(i)?c(i):c(String(i).split(f)),r},G1=()=>{},V1=(i,f)=>i!=null&&Number.isFinite(i=+i)?i:f;function Q1(i){return!!(i&&re(i.append)&&i[J0]==="FormData"&&i[Si])}const Z1=i=>{const f=new WeakSet,r=c=>{if(Ja(c)){if(f.has(c))return;if(Za(c))return c;if(!("toJSON"in c)){f.add(c);const d=Kn(c)?[]:{};return Ka(c,(m,y)=>{const x=r(m);!Jn(x)&&(d[y]=x)}),f.delete(c),d}}return c};return r(i)},J1=Le("AsyncFunction"),K1=i=>i&&(Ja(i)||re(i))&&re(i.then)&&re(i.catch),I0=((i,f)=>i?setImmediate:f?((r,c)=>(en.addEventListener("message",({source:d,data:m})=>{d===en&&m===r&&c.length&&c.shift()()},!1),d=>{c.push(d),en.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",re(en.postMessage)),k1=typeof queueMicrotask<"u"?queueMicrotask.bind(en):typeof process<"u"&&process.nextTick||I0,F1=i=>i!=null&&re(i[Si]),z={isArray:Kn,isArrayBuffer:K0,isBuffer:Za,isFormData:x1,isArrayBufferView:s1,isString:r1,isNumber:k0,isBoolean:o1,isObject:Ja,isPlainObject:yi,isEmptyObject:d1,isReadableStream:z1,isRequest:A1,isResponse:T1,isHeaders:O1,isUndefined:Jn,isDate:m1,isFile:h1,isReactNativeBlob:y1,isReactNative:v1,isBlob:p1,isRegExp:L1,isFunction:re,isStream:g1,isURLSearchParams:E1,isTypedArray:j1,isFileList:b1,forEach:Ka,merge:ts,extend:_1,trim:N1,stripBOM:R1,inherits:D1,toFlatObject:M1,kindOf:xi,kindOfTest:Le,endsWith:U1,toArray:C1,forEachEntry:H1,matchAll:B1,isHTMLForm:q1,hasOwnProperty:es,hasOwnProp:es,reduceDescriptors:W0,freezeMethods:Y1,toObjectSet:X1,toCamelCase:w1,noop:G1,toFiniteNumber:V1,findKey:F0,global:en,isContextDefined:$0,isSpecCompliantForm:Q1,toJSONObject:Z1,isAsyncFn:J1,isThenable:K1,setImmediate:I0,asap:k1,isIterable:F1},$1=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),W1=i=>{const f={};let r,c,d;return i&&i.split(`
`).forEach(function(y){d=y.indexOf(":"),r=y.substring(0,d).trim().toLowerCase(),c=y.substring(d+1).trim(),!(!r||f[r]&&$1[r])&&(r==="set-cookie"?f[r]?f[r].push(c):f[r]=[c]:f[r]=f[r]?f[r]+", "+c:c)}),f};function I1(i){let f=0,r=i.length;for(;f<r;){const c=i.charCodeAt(f);if(c!==9&&c!==32)break;f+=1}for(;r>f;){const c=i.charCodeAt(r-1);if(c!==9&&c!==32)break;r-=1}return f===0&&r===i.length?i:i.slice(f,r)}const P1=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),tv=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function is(i,f){return z.isArray(i)?i.map(r=>is(r,f)):I1(String(i).replace(f,""))}const ev=i=>is(i,P1),lv=i=>is(i,tv);function P0(i){const f=Object.create(null);return z.forEach(i.toJSON(),(r,c)=>{f[c]=lv(r)}),f}const T0=Symbol("internals");function Ga(i){return i&&String(i).trim().toLowerCase()}function vi(i){return i===!1||i==null?i:z.isArray(i)?i.map(vi):ev(String(i))}function nv(i){const f=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let c;for(;c=r.exec(i);)f[c[1]]=c[2];return f}const av=i=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(i.trim());function Ff(i,f,r,c,d){if(z.isFunction(c))return c.call(this,f,r);if(d&&(f=r),!!z.isString(f)){if(z.isString(c))return f.indexOf(c)!==-1;if(z.isRegExp(c))return c.test(f)}}function uv(i){return i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(f,r,c)=>r.toUpperCase()+c)}function iv(i,f){const r=z.toCamelCase(" "+f);["get","set","has"].forEach(c=>{Object.defineProperty(i,c+r,{__proto__:null,value:function(d,m,y){return this[c].call(this,f,d,m,y)},configurable:!0})})}let le=class{constructor(f){f&&this.set(f)}set(f,r,c){const d=this;function m(x,S,v){const N=Ga(S);if(!N)throw new Error("header name must be a non-empty string");const C=z.findKey(d,N);(!C||d[C]===void 0||v===!0||v===void 0&&d[C]!==!1)&&(d[C||S]=vi(x))}const y=(x,S)=>z.forEach(x,(v,N)=>m(v,N,S));if(z.isPlainObject(f)||f instanceof this.constructor)y(f,r);else if(z.isString(f)&&(f=f.trim())&&!av(f))y(W1(f),r);else if(z.isObject(f)&&z.isIterable(f)){let x={},S,v;for(const N of f){if(!z.isArray(N))throw TypeError("Object iterator must return a key-value pair");x[v=N[0]]=(S=x[v])?z.isArray(S)?[...S,N[1]]:[S,N[1]]:N[1]}y(x,r)}else f!=null&&m(r,f,c);return this}get(f,r){if(f=Ga(f),f){const c=z.findKey(this,f);if(c){const d=this[c];if(!r)return d;if(r===!0)return nv(d);if(z.isFunction(r))return r.call(this,d,c);if(z.isRegExp(r))return r.exec(d);throw new TypeError("parser must be boolean|regexp|function")}}}has(f,r){if(f=Ga(f),f){const c=z.findKey(this,f);return!!(c&&this[c]!==void 0&&(!r||Ff(this,this[c],c,r)))}return!1}delete(f,r){const c=this;let d=!1;function m(y){if(y=Ga(y),y){const x=z.findKey(c,y);x&&(!r||Ff(c,c[x],x,r))&&(delete c[x],d=!0)}}return z.isArray(f)?f.forEach(m):m(f),d}clear(f){const r=Object.keys(this);let c=r.length,d=!1;for(;c--;){const m=r[c];(!f||Ff(this,this[m],m,f,!0))&&(delete this[m],d=!0)}return d}normalize(f){const r=this,c={};return z.forEach(this,(d,m)=>{const y=z.findKey(c,m);if(y){r[y]=vi(d),delete r[m];return}const x=f?uv(m):String(m).trim();x!==m&&delete r[m],r[x]=vi(d),c[x]=!0}),this}concat(...f){return this.constructor.concat(this,...f)}toJSON(f){const r=Object.create(null);return z.forEach(this,(c,d)=>{c!=null&&c!==!1&&(r[d]=f&&z.isArray(c)?c.join(", "):c)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([f,r])=>f+": "+r).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(f){return f instanceof this?f:new this(f)}static concat(f,...r){const c=new this(f);return r.forEach(d=>c.set(d)),c}static accessor(f){const c=(this[T0]=this[T0]={accessors:{}}).accessors,d=this.prototype;function m(y){const x=Ga(y);c[x]||(iv(d,y),c[x]=!0)}return z.isArray(f)?f.forEach(m):m(f),this}};le.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);z.reduceDescriptors(le.prototype,({value:i},f)=>{let r=f[0].toUpperCase()+f.slice(1);return{get:()=>i,set(c){this[r]=c}}});z.freezeMethods(le);const cv="[REDACTED ****]";function fv(i){if(z.hasOwnProp(i,"toJSON"))return!0;let f=Object.getPrototypeOf(i);for(;f&&f!==Object.prototype;){if(z.hasOwnProp(f,"toJSON"))return!0;f=Object.getPrototypeOf(f)}return!1}function sv(i,f){const r=new Set(f.map(m=>String(m).toLowerCase())),c=[],d=m=>{if(m===null||typeof m!="object"||z.isBuffer(m))return m;if(c.indexOf(m)!==-1)return;m instanceof le&&(m=m.toJSON()),c.push(m);let y;if(z.isArray(m))y=[],m.forEach((x,S)=>{const v=d(x);z.isUndefined(v)||(y[S]=v)});else{if(!z.isPlainObject(m)&&fv(m))return c.pop(),m;y=Object.create(null);for(const[x,S]of Object.entries(m)){const v=r.has(x.toLowerCase())?cv:d(S);z.isUndefined(v)||(y[x]=v)}}return c.pop(),y};return d(i)}let Z=class tm extends Error{static from(f,r,c,d,m,y){const x=new tm(f.message,r||f.code,c,d,m);return x.cause=f,x.name=f.name,f.status!=null&&x.status==null&&(x.status=f.status),y&&Object.assign(x,y),x}constructor(f,r,c,d,m){super(f),Object.defineProperty(this,"message",{__proto__:null,value:f,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,r&&(this.code=r),c&&(this.config=c),d&&(this.request=d),m&&(this.response=m,this.status=m.status)}toJSON(){const f=this.config,r=f&&z.hasOwnProp(f,"redact")?f.redact:void 0,c=z.isArray(r)&&r.length>0?sv(f,r):z.toJSONObject(f);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:c,code:this.code,status:this.status}}};Z.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Z.ERR_BAD_OPTION="ERR_BAD_OPTION";Z.ECONNABORTED="ECONNABORTED";Z.ETIMEDOUT="ETIMEDOUT";Z.ECONNREFUSED="ECONNREFUSED";Z.ERR_NETWORK="ERR_NETWORK";Z.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Z.ERR_DEPRECATED="ERR_DEPRECATED";Z.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Z.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Z.ERR_CANCELED="ERR_CANCELED";Z.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Z.ERR_INVALID_URL="ERR_INVALID_URL";Z.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const rv=null;function ls(i){return z.isPlainObject(i)||z.isArray(i)}function em(i){return z.endsWith(i,"[]")?i.slice(0,-2):i}function $f(i,f,r){return i?i.concat(f).map(function(d,m){return d=em(d),!r&&m?"["+d+"]":d}).join(r?".":""):f}function ov(i){return z.isArray(i)&&!i.some(ls)}const dv=z.toFlatObject(z,{},null,function(f){return/^is[A-Z]/.test(f)});function zi(i,f,r){if(!z.isObject(i))throw new TypeError("target must be an object");f=f||new FormData,r=z.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(R,B){return!z.isUndefined(B[R])});const c=r.metaTokens,d=r.visitor||C,m=r.dots,y=r.indexes,x=r.Blob||typeof Blob<"u"&&Blob,S=r.maxDepth===void 0?100:r.maxDepth,v=x&&z.isSpecCompliantForm(f);if(!z.isFunction(d))throw new TypeError("visitor must be a function");function N(w){if(w===null)return"";if(z.isDate(w))return w.toISOString();if(z.isBoolean(w))return w.toString();if(!v&&z.isBlob(w))throw new Z("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(w)||z.isTypedArray(w)?v&&typeof Blob=="function"?new Blob([w]):Buffer.from(w):w}function C(w,R,B){let k=w;if(z.isReactNative(f)&&z.isReactNativeBlob(w))return f.append($f(B,R,m),N(w)),!1;if(w&&!B&&typeof w=="object"){if(z.endsWith(R,"{}"))R=c?R:R.slice(0,-2),w=JSON.stringify(w);else if(z.isArray(w)&&ov(w)||(z.isFileList(w)||z.endsWith(R,"[]"))&&(k=z.toArray(w)))return R=em(R),k.forEach(function(W,at){!(z.isUndefined(W)||W===null)&&f.append(y===!0?$f([R],at,m):y===null?R:R+"[]",N(W))}),!1}return ls(w)?!0:(f.append($f(B,R,m),N(w)),!1)}const Y=[],V=Object.assign(dv,{defaultVisitor:C,convertValue:N,isVisitable:ls});function K(w,R,B=0){if(!z.isUndefined(w)){if(B>S)throw new Z("Object is too deeply nested ("+B+" levels). Max depth: "+S,Z.ERR_FORM_DATA_DEPTH_EXCEEDED);if(Y.indexOf(w)!==-1)throw Error("Circular reference detected in "+R.join("."));Y.push(w),z.forEach(w,function(X,W){(!(z.isUndefined(X)||X===null)&&d.call(f,X,z.isString(W)?W.trim():W,R,V))===!0&&K(X,R?R.concat(W):[W],B+1)}),Y.pop()}}if(!z.isObject(i))throw new TypeError("data must be an object");return K(i),f}function O0(i){const f={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(i).replace(/[!'()~]|%20/g,function(c){return f[c]})}function cs(i,f){this._pairs=[],i&&zi(i,this,f)}const lm=cs.prototype;lm.append=function(f,r){this._pairs.push([f,r])};lm.toString=function(f){const r=f?function(c){return f.call(this,c,O0)}:O0;return this._pairs.map(function(d){return r(d[0])+"="+r(d[1])},"").join("&")};function mv(i){return encodeURIComponent(i).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function nm(i,f,r){if(!f)return i;const c=r&&r.encode||mv,d=z.isFunction(r)?{serialize:r}:r,m=d&&d.serialize;let y;if(m?y=m(f,d):y=z.isURLSearchParams(f)?f.toString():new cs(f,d).toString(c),y){const x=i.indexOf("#");x!==-1&&(i=i.slice(0,x)),i+=(i.indexOf("?")===-1?"?":"&")+y}return i}class N0{constructor(){this.handlers=[]}use(f,r,c){return this.handlers.push({fulfilled:f,rejected:r,synchronous:c?c.synchronous:!1,runWhen:c?c.runWhen:null}),this.handlers.length-1}eject(f){this.handlers[f]&&(this.handlers[f]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(f){z.forEach(this.handlers,function(c){c!==null&&f(c)})}}const fs={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},hv=typeof URLSearchParams<"u"?URLSearchParams:cs,yv=typeof FormData<"u"?FormData:null,vv=typeof Blob<"u"?Blob:null,pv={isBrowser:!0,classes:{URLSearchParams:hv,FormData:yv,Blob:vv},protocols:["http","https","file","blob","url","data"]},ss=typeof window<"u"&&typeof document<"u",ns=typeof navigator=="object"&&navigator||void 0,bv=ss&&(!ns||["ReactNative","NativeScript","NS"].indexOf(ns.product)<0),gv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Sv=ss&&window.location.href||"http://localhost",xv=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ss,hasStandardBrowserEnv:bv,hasStandardBrowserWebWorkerEnv:gv,navigator:ns,origin:Sv},Symbol.toStringTag,{value:"Module"})),It={...xv,...pv};function Ev(i,f){return zi(i,new It.classes.URLSearchParams,{visitor:function(r,c,d,m){return It.isNode&&z.isBuffer(r)?(this.append(c,r.toString("base64")),!1):m.defaultVisitor.apply(this,arguments)},...f})}function zv(i){return z.matchAll(/\w+|\[(\w*)]/g,i).map(f=>f[0]==="[]"?"":f[1]||f[0])}function Av(i){const f={},r=Object.keys(i);let c;const d=r.length;let m;for(c=0;c<d;c++)m=r[c],f[m]=i[m];return f}function am(i){function f(r,c,d,m){let y=r[m++];if(y==="__proto__")return!0;const x=Number.isFinite(+y),S=m>=r.length;return y=!y&&z.isArray(d)?d.length:y,S?(z.hasOwnProp(d,y)?d[y]=z.isArray(d[y])?d[y].concat(c):[d[y],c]:d[y]=c,!x):((!z.hasOwnProp(d,y)||!z.isObject(d[y]))&&(d[y]=[]),f(r,c,d[y],m)&&z.isArray(d[y])&&(d[y]=Av(d[y])),!x)}if(z.isFormData(i)&&z.isFunction(i.entries)){const r={};return z.forEachEntry(i,(c,d)=>{f(zv(c),d,r,0)}),r}return null}const Qn=(i,f)=>i!=null&&z.hasOwnProp(i,f)?i[f]:void 0;function Tv(i,f,r){if(z.isString(i))try{return(f||JSON.parse)(i),z.trim(i)}catch(c){if(c.name!=="SyntaxError")throw c}return(r||JSON.stringify)(i)}const ka={transitional:fs,adapter:["xhr","http","fetch"],transformRequest:[function(f,r){const c=r.getContentType()||"",d=c.indexOf("application/json")>-1,m=z.isObject(f);if(m&&z.isHTMLForm(f)&&(f=new FormData(f)),z.isFormData(f))return d?JSON.stringify(am(f)):f;if(z.isArrayBuffer(f)||z.isBuffer(f)||z.isStream(f)||z.isFile(f)||z.isBlob(f)||z.isReadableStream(f))return f;if(z.isArrayBufferView(f))return f.buffer;if(z.isURLSearchParams(f))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),f.toString();let x;if(m){const S=Qn(this,"formSerializer");if(c.indexOf("application/x-www-form-urlencoded")>-1)return Ev(f,S).toString();if((x=z.isFileList(f))||c.indexOf("multipart/form-data")>-1){const v=Qn(this,"env"),N=v&&v.FormData;return zi(x?{"files[]":f}:f,N&&new N,S)}}return m||d?(r.setContentType("application/json",!1),Tv(f)):f}],transformResponse:[function(f){const r=Qn(this,"transitional")||ka.transitional,c=r&&r.forcedJSONParsing,d=Qn(this,"responseType"),m=d==="json";if(z.isResponse(f)||z.isReadableStream(f))return f;if(f&&z.isString(f)&&(c&&!d||m)){const x=!(r&&r.silentJSONParsing)&&m;try{return JSON.parse(f,Qn(this,"parseReviver"))}catch(S){if(x)throw S.name==="SyntaxError"?Z.from(S,Z.ERR_BAD_RESPONSE,this,null,Qn(this,"response")):S}}return f}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:It.classes.FormData,Blob:It.classes.Blob},validateStatus:function(f){return f>=200&&f<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch","query"],i=>{ka.headers[i]={}});function Wf(i,f){const r=this||ka,c=f||r,d=le.from(c.headers);let m=c.data;return z.forEach(i,function(x){m=x.call(r,m,d.normalize(),f?f.status:void 0)}),d.normalize(),m}function um(i){return!!(i&&i.__CANCEL__)}let Fa=class extends Z{constructor(f,r,c){super(f??"canceled",Z.ERR_CANCELED,r,c),this.name="CanceledError",this.__CANCEL__=!0}};function im(i,f,r){const c=r.config.validateStatus;!r.status||!c||c(r.status)?i(r):f(new Z("Request failed with status code "+r.status,r.status>=400&&r.status<500?Z.ERR_BAD_REQUEST:Z.ERR_BAD_RESPONSE,r.config,r.request,r))}function Ov(i){const f=/^([-+\w]{1,25}):(?:\/\/)?/.exec(i);return f&&f[1]||""}function Nv(i,f){i=i||10;const r=new Array(i),c=new Array(i);let d=0,m=0,y;return f=f!==void 0?f:1e3,function(S){const v=Date.now(),N=c[m];y||(y=v),r[d]=S,c[d]=v;let C=m,Y=0;for(;C!==d;)Y+=r[C++],C=C%i;if(d=(d+1)%i,d===m&&(m=(m+1)%i),v-y<f)return;const V=N&&v-N;return V?Math.round(Y*1e3/V):void 0}}function _v(i,f){let r=0,c=1e3/f,d,m;const y=(v,N=Date.now())=>{r=N,d=null,m&&(clearTimeout(m),m=null),i(...v)};return[(...v)=>{const N=Date.now(),C=N-r;C>=c?y(v,N):(d=v,m||(m=setTimeout(()=>{m=null,y(d)},c-C)))},()=>d&&y(d)]}const bi=(i,f,r=3)=>{let c=0;const d=Nv(50,250);return _v(m=>{if(!m||typeof m.loaded!="number")return;const y=m.loaded,x=m.lengthComputable?m.total:void 0,S=x!=null?Math.min(y,x):y,v=Math.max(0,S-c),N=d(v);c=Math.max(c,S);const C={loaded:S,total:x,progress:x?S/x:void 0,bytes:v,rate:N||void 0,estimated:N&&x?(x-S)/N:void 0,event:m,lengthComputable:x!=null,[f?"download":"upload"]:!0};i(C)},r)},_0=(i,f)=>{const r=i!=null;return[c=>f[0]({lengthComputable:r,total:i,loaded:c}),f[1]]},R0=i=>(...f)=>z.asap(()=>i(...f)),Rv=It.hasStandardBrowserEnv?((i,f)=>r=>(r=new URL(r,It.origin),i.protocol===r.protocol&&i.host===r.host&&(f||i.port===r.port)))(new URL(It.origin),It.navigator&&/(msie|trident)/i.test(It.navigator.userAgent)):()=>!0,Dv=It.hasStandardBrowserEnv?{write(i,f,r,c,d,m,y){if(typeof document>"u")return;const x=[`${i}=${encodeURIComponent(f)}`];z.isNumber(r)&&x.push(`expires=${new Date(r).toUTCString()}`),z.isString(c)&&x.push(`path=${c}`),z.isString(d)&&x.push(`domain=${d}`),m===!0&&x.push("secure"),z.isString(y)&&x.push(`SameSite=${y}`),document.cookie=x.join("; ")},read(i){if(typeof document>"u")return null;const f=document.cookie.split(";");for(let r=0;r<f.length;r++){const c=f[r].replace(/^\s+/,""),d=c.indexOf("=");if(d!==-1&&c.slice(0,d)===i)return decodeURIComponent(c.slice(d+1))}return null},remove(i){this.write(i,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Mv(i){return typeof i!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)}function Uv(i,f){return f?i.replace(/\/?\/$/,"")+"/"+f.replace(/^\/+/,""):i}function cm(i,f,r){let c=!Mv(f);return i&&(c||r===!1)?Uv(i,f):f}const D0=i=>i instanceof le?{...i}:i;function nn(i,f){f=f||{};const r=Object.create(null);Object.defineProperty(r,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function c(v,N,C,Y){return z.isPlainObject(v)&&z.isPlainObject(N)?z.merge.call({caseless:Y},v,N):z.isPlainObject(N)?z.merge({},N):z.isArray(N)?N.slice():N}function d(v,N,C,Y){if(z.isUndefined(N)){if(!z.isUndefined(v))return c(void 0,v,C,Y)}else return c(v,N,C,Y)}function m(v,N){if(!z.isUndefined(N))return c(void 0,N)}function y(v,N){if(z.isUndefined(N)){if(!z.isUndefined(v))return c(void 0,v)}else return c(void 0,N)}function x(v,N,C){if(z.hasOwnProp(f,C))return c(v,N);if(z.hasOwnProp(i,C))return c(void 0,v)}const S={url:m,method:m,data:m,baseURL:y,transformRequest:y,transformResponse:y,paramsSerializer:y,timeout:y,timeoutMessage:y,withCredentials:y,withXSRFToken:y,adapter:y,responseType:y,xsrfCookieName:y,xsrfHeaderName:y,onUploadProgress:y,onDownloadProgress:y,decompress:y,maxContentLength:y,maxBodyLength:y,beforeRedirect:y,transport:y,httpAgent:y,httpsAgent:y,cancelToken:y,socketPath:y,allowedSocketPaths:y,responseEncoding:y,validateStatus:x,headers:(v,N,C)=>d(D0(v),D0(N),C,!0)};return z.forEach(Object.keys({...i,...f}),function(N){if(N==="__proto__"||N==="constructor"||N==="prototype")return;const C=z.hasOwnProp(S,N)?S[N]:d,Y=z.hasOwnProp(i,N)?i[N]:void 0,V=z.hasOwnProp(f,N)?f[N]:void 0,K=C(Y,V,N);z.isUndefined(K)&&C!==x||(r[N]=K)}),r}const Cv=["content-type","content-length"];function jv(i,f,r){if(r!=="content-only"){i.set(f);return}Object.entries(f).forEach(([c,d])=>{Cv.includes(c.toLowerCase())&&i.set(c,d)})}const Hv=i=>encodeURIComponent(i).replace(/%([0-9A-F]{2})/gi,(f,r)=>String.fromCharCode(parseInt(r,16))),fm=i=>{const f=nn({},i),r=Y=>z.hasOwnProp(f,Y)?f[Y]:void 0,c=r("data");let d=r("withXSRFToken");const m=r("xsrfHeaderName"),y=r("xsrfCookieName");let x=r("headers");const S=r("auth"),v=r("baseURL"),N=r("allowAbsoluteUrls"),C=r("url");if(f.headers=x=le.from(x),f.url=nm(cm(v,C,N),i.params,i.paramsSerializer),S&&x.set("Authorization","Basic "+btoa((S.username||"")+":"+(S.password?Hv(S.password):""))),z.isFormData(c)&&(It.hasStandardBrowserEnv||It.hasStandardBrowserWebWorkerEnv?x.setContentType(void 0):z.isFunction(c.getHeaders)&&jv(x,c.getHeaders(),r("formDataHeaderPolicy"))),It.hasStandardBrowserEnv&&(z.isFunction(d)&&(d=d(f)),d===!0||d==null&&Rv(f.url))){const V=m&&y&&Dv.read(y);V&&x.set(m,V)}return f},Bv=typeof XMLHttpRequest<"u",qv=Bv&&function(i){return new Promise(function(r,c){const d=fm(i);let m=d.data;const y=le.from(d.headers).normalize();let{responseType:x,onUploadProgress:S,onDownloadProgress:v}=d,N,C,Y,V,K;function w(){V&&V(),K&&K(),d.cancelToken&&d.cancelToken.unsubscribe(N),d.signal&&d.signal.removeEventListener("abort",N)}let R=new XMLHttpRequest;R.open(d.method.toUpperCase(),d.url,!0),R.timeout=d.timeout;function B(){if(!R)return;const X=le.from("getAllResponseHeaders"in R&&R.getAllResponseHeaders()),at={data:!x||x==="text"||x==="json"?R.responseText:R.response,status:R.status,statusText:R.statusText,headers:X,config:i,request:R};im(function(tt){r(tt),w()},function(tt){c(tt),w()},at),R=null}"onloadend"in R?R.onloadend=B:R.onreadystatechange=function(){!R||R.readyState!==4||R.status===0&&!(R.responseURL&&R.responseURL.startsWith("file:"))||setTimeout(B)},R.onabort=function(){R&&(c(new Z("Request aborted",Z.ECONNABORTED,i,R)),w(),R=null)},R.onerror=function(W){const at=W&&W.message?W.message:"Network Error",Ot=new Z(at,Z.ERR_NETWORK,i,R);Ot.event=W||null,c(Ot),w(),R=null},R.ontimeout=function(){let W=d.timeout?"timeout of "+d.timeout+"ms exceeded":"timeout exceeded";const at=d.transitional||fs;d.timeoutErrorMessage&&(W=d.timeoutErrorMessage),c(new Z(W,at.clarifyTimeoutError?Z.ETIMEDOUT:Z.ECONNABORTED,i,R)),w(),R=null},m===void 0&&y.setContentType(null),"setRequestHeader"in R&&z.forEach(P0(y),function(W,at){R.setRequestHeader(at,W)}),z.isUndefined(d.withCredentials)||(R.withCredentials=!!d.withCredentials),x&&x!=="json"&&(R.responseType=d.responseType),v&&([Y,K]=bi(v,!0),R.addEventListener("progress",Y)),S&&R.upload&&([C,V]=bi(S),R.upload.addEventListener("progress",C),R.upload.addEventListener("loadend",V)),(d.cancelToken||d.signal)&&(N=X=>{R&&(c(!X||X.type?new Fa(null,i,R):X),R.abort(),w(),R=null)},d.cancelToken&&d.cancelToken.subscribe(N),d.signal&&(d.signal.aborted?N():d.signal.addEventListener("abort",N)));const k=Ov(d.url);if(k&&!It.protocols.includes(k)){c(new Z("Unsupported protocol "+k+":",Z.ERR_BAD_REQUEST,i));return}R.send(m||null)})},wv=(i,f)=>{if(i=i?i.filter(Boolean):[],!f&&!i.length)return;const r=new AbortController;let c=!1;const d=function(S){if(!c){c=!0,y();const v=S instanceof Error?S:this.reason;r.abort(v instanceof Z?v:new Fa(v instanceof Error?v.message:v))}};let m=f&&setTimeout(()=>{m=null,d(new Z(`timeout of ${f}ms exceeded`,Z.ETIMEDOUT))},f);const y=()=>{i&&(m&&clearTimeout(m),m=null,i.forEach(S=>{S.unsubscribe?S.unsubscribe(d):S.removeEventListener("abort",d)}),i=null)};i.forEach(S=>S.addEventListener("abort",d));const{signal:x}=r;return x.unsubscribe=()=>z.asap(y),x},Lv=function*(i,f){let r=i.byteLength;if(r<f){yield i;return}let c=0,d;for(;c<r;)d=c+f,yield i.slice(c,d),c=d},Yv=async function*(i,f){for await(const r of Xv(i))yield*Lv(r,f)},Xv=async function*(i){if(i[Symbol.asyncIterator]){yield*i;return}const f=i.getReader();try{for(;;){const{done:r,value:c}=await f.read();if(r)break;yield c}}finally{await f.cancel()}},M0=(i,f,r,c)=>{const d=Yv(i,f);let m=0,y,x=S=>{y||(y=!0,c&&c(S))};return new ReadableStream({async pull(S){try{const{done:v,value:N}=await d.next();if(v){x(),S.close();return}let C=N.byteLength;if(r){let Y=m+=C;r(Y)}S.enqueue(new Uint8Array(N))}catch(v){throw x(v),v}},cancel(S){return x(S),d.return()}},{highWaterMark:2})};function Gv(i){if(!i||typeof i!="string"||!i.startsWith("data:"))return 0;const f=i.indexOf(",");if(f<0)return 0;const r=i.slice(5,f),c=i.slice(f+1);if(/;base64/i.test(r)){let y=c.length;const x=c.length;for(let V=0;V<x;V++)if(c.charCodeAt(V)===37&&V+2<x){const K=c.charCodeAt(V+1),w=c.charCodeAt(V+2);(K>=48&&K<=57||K>=65&&K<=70||K>=97&&K<=102)&&(w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102)&&(y-=2,V+=2)}let S=0,v=x-1;const N=V=>V>=2&&c.charCodeAt(V-2)===37&&c.charCodeAt(V-1)===51&&(c.charCodeAt(V)===68||c.charCodeAt(V)===100);v>=0&&(c.charCodeAt(v)===61?(S++,v--):N(v)&&(S++,v-=3)),S===1&&v>=0&&(c.charCodeAt(v)===61||N(v))&&S++;const Y=Math.floor(y/4)*3-(S||0);return Y>0?Y:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength=="function")return Buffer.byteLength(c,"utf8");let m=0;for(let y=0,x=c.length;y<x;y++){const S=c.charCodeAt(y);if(S<128)m+=1;else if(S<2048)m+=2;else if(S>=55296&&S<=56319&&y+1<x){const v=c.charCodeAt(y+1);v>=56320&&v<=57343?(m+=4,y++):m+=3}else m+=3}return m}const rs="1.16.1",U0=64*1024,{isFunction:hi}=z,C0=(i,...f)=>{try{return!!i(...f)}catch{return!1}},Vv=i=>{const f=z.global!==void 0&&z.global!==null?z.global:globalThis,{ReadableStream:r,TextEncoder:c}=f;i=z.merge.call({skipUndefined:!0},{Request:f.Request,Response:f.Response},i);const{fetch:d,Request:m,Response:y}=i,x=d?hi(d):typeof fetch=="function",S=hi(m),v=hi(y);if(!x)return!1;const N=x&&hi(r),C=x&&(typeof c=="function"?(B=>k=>B.encode(k))(new c):async B=>new Uint8Array(await new m(B).arrayBuffer())),Y=S&&N&&C0(()=>{let B=!1;const k=new m(It.origin,{body:new r,method:"POST",get duplex(){return B=!0,"half"}}),X=k.headers.has("Content-Type");return k.body!=null&&k.body.cancel(),B&&!X}),V=v&&N&&C0(()=>z.isReadableStream(new y("").body)),K={stream:V&&(B=>B.body)};x&&["text","arrayBuffer","blob","formData","stream"].forEach(B=>{!K[B]&&(K[B]=(k,X)=>{let W=k&&k[B];if(W)return W.call(k);throw new Z(`Response type '${B}' is not supported`,Z.ERR_NOT_SUPPORT,X)})});const w=async B=>{if(B==null)return 0;if(z.isBlob(B))return B.size;if(z.isSpecCompliantForm(B))return(await new m(It.origin,{method:"POST",body:B}).arrayBuffer()).byteLength;if(z.isArrayBufferView(B)||z.isArrayBuffer(B))return B.byteLength;if(z.isURLSearchParams(B)&&(B=B+""),z.isString(B))return(await C(B)).byteLength},R=async(B,k)=>{const X=z.toFiniteNumber(B.getContentLength());return X??w(k)};return async B=>{let{url:k,method:X,data:W,signal:at,cancelToken:Ot,timeout:tt,onDownloadProgress:Ht,onUploadProgress:de,responseType:Pt,headers:Vt,withCredentials:Xt="same-origin",fetchOptions:Ye,maxContentLength:Bt,maxBodyLength:te}=fm(B);const D=z.isNumber(Bt)&&Bt>-1,L=z.isNumber(te)&&te>-1;let I=d||fetch;Pt=Pt?(Pt+"").toLowerCase():"text";let rt=wv([at,Ot&&Ot.toAbortSignal()],tt),ct=null;const b=rt&&rt.unsubscribe&&(()=>{rt.unsubscribe()});let H;try{if(D&&typeof k=="string"&&k.startsWith("data:")&&Gv(k)>Bt)throw new Z("maxContentLength size of "+Bt+" exceeded",Z.ERR_BAD_RESPONSE,B,ct);if(L&&X!=="get"&&X!=="head"){const lt=await R(Vt,W);if(typeof lt=="number"&&isFinite(lt)&&lt>te)throw new Z("Request body larger than maxBodyLength limit",Z.ERR_BAD_REQUEST,B,ct)}if(de&&Y&&X!=="get"&&X!=="head"&&(H=await R(Vt,W))!==0){let lt=new m(k,{method:"POST",body:W,duplex:"half"}),xt;if(z.isFormData(W)&&(xt=lt.headers.get("content-type"))&&Vt.setContentType(xt),lt.body){const[Xe,Je]=_0(H,bi(R0(de)));W=M0(lt.body,U0,Xe,Je)}}z.isString(Xt)||(Xt=Xt?"include":"omit");const q=S&&"credentials"in m.prototype;if(z.isFormData(W)){const lt=Vt.getContentType();lt&&/^multipart\/form-data/i.test(lt)&&!/boundary=/i.test(lt)&&Vt.delete("content-type")}Vt.set("User-Agent","axios/"+rs,!1);const G={...Ye,signal:rt,method:X.toUpperCase(),headers:P0(Vt.normalize()),body:W,duplex:"half",credentials:q?Xt:void 0};ct=S&&new m(k,G);let $=await(S?I(ct,Ye):I(k,G));if(D){const lt=z.toFiniteNumber($.headers.get("content-length"));if(lt!=null&&lt>Bt)throw new Z("maxContentLength size of "+Bt+" exceeded",Z.ERR_BAD_RESPONSE,B,ct)}const ut=V&&(Pt==="stream"||Pt==="response");if(V&&$.body&&(Ht||D||ut&&b)){const lt={};["status","statusText","headers"].forEach(me=>{lt[me]=$[me]});const xt=z.toFiniteNumber($.headers.get("content-length")),[Xe,Je]=Ht&&_0(xt,bi(R0(Ht),!0))||[];let an=0;const $a=me=>{if(D&&(an=me,an>Bt))throw new Z("maxContentLength size of "+Bt+" exceeded",Z.ERR_BAD_RESPONSE,B,ct);Xe&&Xe(me)};$=new y(M0($.body,U0,$a,()=>{Je&&Je(),b&&b()}),lt)}Pt=Pt||"text";let ft=await K[z.findKey(K,Pt)||"text"]($,B);if(D&&!V&&!ut){let lt;if(ft!=null&&(typeof ft.byteLength=="number"?lt=ft.byteLength:typeof ft.size=="number"?lt=ft.size:typeof ft=="string"&&(lt=typeof c=="function"?new c().encode(ft).byteLength:ft.length)),typeof lt=="number"&&lt>Bt)throw new Z("maxContentLength size of "+Bt+" exceeded",Z.ERR_BAD_RESPONSE,B,ct)}return!ut&&b&&b(),await new Promise((lt,xt)=>{im(lt,xt,{data:ft,headers:le.from($.headers),status:$.status,statusText:$.statusText,config:B,request:ct})})}catch(q){if(b&&b(),rt&&rt.aborted&&rt.reason instanceof Z){const G=rt.reason;throw G.config=B,ct&&(G.request=ct),q!==G&&(G.cause=q),G}throw q&&q.name==="TypeError"&&/Load failed|fetch/i.test(q.message)?Object.assign(new Z("Network Error",Z.ERR_NETWORK,B,ct,q&&q.response),{cause:q.cause||q}):Z.from(q,q&&q.code,B,ct,q&&q.response)}}},Qv=new Map,sm=i=>{let f=i&&i.env||{};const{fetch:r,Request:c,Response:d}=f,m=[c,d,r];let y=m.length,x=y,S,v,N=Qv;for(;x--;)S=m[x],v=N.get(S),v===void 0&&N.set(S,v=x?new Map:Vv(f)),N=v;return v};sm();const os={http:rv,xhr:qv,fetch:{get:sm}};z.forEach(os,(i,f)=>{if(i){try{Object.defineProperty(i,"name",{__proto__:null,value:f})}catch{}Object.defineProperty(i,"adapterName",{__proto__:null,value:f})}});const j0=i=>`- ${i}`,Zv=i=>z.isFunction(i)||i===null||i===!1;function Jv(i,f){i=z.isArray(i)?i:[i];const{length:r}=i;let c,d;const m={};for(let y=0;y<r;y++){c=i[y];let x;if(d=c,!Zv(c)&&(d=os[(x=String(c)).toLowerCase()],d===void 0))throw new Z(`Unknown adapter '${x}'`);if(d&&(z.isFunction(d)||(d=d.get(f))))break;m[x||"#"+y]=d}if(!d){const y=Object.entries(m).map(([S,v])=>`adapter ${S} `+(v===!1?"is not supported by the environment":"is not available in the build"));let x=r?y.length>1?`since :
`+y.map(j0).join(`
`):" "+j0(y[0]):"as no adapter specified";throw new Z("There is no suitable adapter to dispatch the request "+x,"ERR_NOT_SUPPORT")}return d}const rm={getAdapter:Jv,adapters:os};function If(i){if(i.cancelToken&&i.cancelToken.throwIfRequested(),i.signal&&i.signal.aborted)throw new Fa(null,i)}function H0(i){return If(i),i.headers=le.from(i.headers),i.data=Wf.call(i,i.transformRequest),["post","put","patch"].indexOf(i.method)!==-1&&i.headers.setContentType("application/x-www-form-urlencoded",!1),rm.getAdapter(i.adapter||ka.adapter,i)(i).then(function(c){If(i),i.response=c;try{c.data=Wf.call(i,i.transformResponse,c)}finally{delete i.response}return c.headers=le.from(c.headers),c},function(c){if(!um(c)&&(If(i),c&&c.response)){i.response=c.response;try{c.response.data=Wf.call(i,i.transformResponse,c.response)}finally{delete i.response}c.response.headers=le.from(c.response.headers)}return Promise.reject(c)})}const Ai={};["object","boolean","number","function","string","symbol"].forEach((i,f)=>{Ai[i]=function(c){return typeof c===i||"a"+(f<1?"n ":" ")+i}});const B0={};Ai.transitional=function(f,r,c){function d(m,y){return"[Axios v"+rs+"] Transitional option '"+m+"'"+y+(c?". "+c:"")}return(m,y,x)=>{if(f===!1)throw new Z(d(y," has been removed"+(r?" in "+r:"")),Z.ERR_DEPRECATED);return r&&!B0[y]&&(B0[y]=!0,console.warn(d(y," has been deprecated since v"+r+" and will be removed in the near future"))),f?f(m,y,x):!0}};Ai.spelling=function(f){return(r,c)=>(console.warn(`${c} is likely a misspelling of ${f}`),!0)};function Kv(i,f,r){if(typeof i!="object")throw new Z("options must be an object",Z.ERR_BAD_OPTION_VALUE);const c=Object.keys(i);let d=c.length;for(;d-- >0;){const m=c[d],y=Object.prototype.hasOwnProperty.call(f,m)?f[m]:void 0;if(y){const x=i[m],S=x===void 0||y(x,m,i);if(S!==!0)throw new Z("option "+m+" must be "+S,Z.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Z("Unknown option "+m,Z.ERR_BAD_OPTION)}}const pi={assertOptions:Kv,validators:Ai},He=pi.validators;let ln=class{constructor(f){this.defaults=f||{},this.interceptors={request:new N0,response:new N0}}async request(f,r){try{return await this._request(f,r)}catch(c){if(c instanceof Error){let d={};Error.captureStackTrace?Error.captureStackTrace(d):d=new Error;const m=(()=>{if(!d.stack)return"";const y=d.stack.indexOf(`
`);return y===-1?"":d.stack.slice(y+1)})();try{if(!c.stack)c.stack=m;else if(m){const y=m.indexOf(`
`),x=y===-1?-1:m.indexOf(`
`,y+1),S=x===-1?"":m.slice(x+1);String(c.stack).endsWith(S)||(c.stack+=`
`+m)}}catch{}}throw c}}_request(f,r){typeof f=="string"?(r=r||{},r.url=f):r=f||{},r=nn(this.defaults,r);const{transitional:c,paramsSerializer:d,headers:m}=r;c!==void 0&&pi.assertOptions(c,{silentJSONParsing:He.transitional(He.boolean),forcedJSONParsing:He.transitional(He.boolean),clarifyTimeoutError:He.transitional(He.boolean),legacyInterceptorReqResOrdering:He.transitional(He.boolean)},!1),d!=null&&(z.isFunction(d)?r.paramsSerializer={serialize:d}:pi.assertOptions(d,{encode:He.function,serialize:He.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),pi.assertOptions(r,{baseUrl:He.spelling("baseURL"),withXsrfToken:He.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let y=m&&z.merge(m.common,m[r.method]);m&&z.forEach(["delete","get","head","post","put","patch","query","common"],K=>{delete m[K]}),r.headers=le.concat(y,m);const x=[];let S=!0;this.interceptors.request.forEach(function(w){if(typeof w.runWhen=="function"&&w.runWhen(r)===!1)return;S=S&&w.synchronous;const R=r.transitional||fs;R&&R.legacyInterceptorReqResOrdering?x.unshift(w.fulfilled,w.rejected):x.push(w.fulfilled,w.rejected)});const v=[];this.interceptors.response.forEach(function(w){v.push(w.fulfilled,w.rejected)});let N,C=0,Y;if(!S){const K=[H0.bind(this),void 0];for(K.unshift(...x),K.push(...v),Y=K.length,N=Promise.resolve(r);C<Y;)N=N.then(K[C++],K[C++]);return N}Y=x.length;let V=r;for(;C<Y;){const K=x[C++],w=x[C++];try{V=K(V)}catch(R){w.call(this,R);break}}try{N=H0.call(this,V)}catch(K){return Promise.reject(K)}for(C=0,Y=v.length;C<Y;)N=N.then(v[C++],v[C++]);return N}getUri(f){f=nn(this.defaults,f);const r=cm(f.baseURL,f.url,f.allowAbsoluteUrls);return nm(r,f.params,f.paramsSerializer)}};z.forEach(["delete","get","head","options"],function(f){ln.prototype[f]=function(r,c){return this.request(nn(c||{},{method:f,url:r,data:(c||{}).data}))}});z.forEach(["post","put","patch","query"],function(f){function r(c){return function(m,y,x){return this.request(nn(x||{},{method:f,headers:c?{"Content-Type":"multipart/form-data"}:{},url:m,data:y}))}}ln.prototype[f]=r(),f!=="query"&&(ln.prototype[f+"Form"]=r(!0))});let kv=class om{constructor(f){if(typeof f!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(m){r=m});const c=this;this.promise.then(d=>{if(!c._listeners)return;let m=c._listeners.length;for(;m-- >0;)c._listeners[m](d);c._listeners=null}),this.promise.then=d=>{let m;const y=new Promise(x=>{c.subscribe(x),m=x}).then(d);return y.cancel=function(){c.unsubscribe(m)},y},f(function(m,y,x){c.reason||(c.reason=new Fa(m,y,x),r(c.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(f){if(this.reason){f(this.reason);return}this._listeners?this._listeners.push(f):this._listeners=[f]}unsubscribe(f){if(!this._listeners)return;const r=this._listeners.indexOf(f);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const f=new AbortController,r=c=>{f.abort(c)};return this.subscribe(r),f.signal.unsubscribe=()=>this.unsubscribe(r),f.signal}static source(){let f;return{token:new om(function(d){f=d}),cancel:f}}};function Fv(i){return function(r){return i.apply(null,r)}}function $v(i){return z.isObject(i)&&i.isAxiosError===!0}const as={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(as).forEach(([i,f])=>{as[f]=i});function dm(i){const f=new ln(i),r=Z0(ln.prototype.request,f);return z.extend(r,ln.prototype,f,{allOwnKeys:!0}),z.extend(r,f,null,{allOwnKeys:!0}),r.create=function(d){return dm(nn(i,d))},r}const jt=dm(ka);jt.Axios=ln;jt.CanceledError=Fa;jt.CancelToken=kv;jt.isCancel=um;jt.VERSION=rs;jt.toFormData=zi;jt.AxiosError=Z;jt.Cancel=jt.CanceledError;jt.all=function(f){return Promise.all(f)};jt.spread=Fv;jt.isAxiosError=$v;jt.mergeConfig=nn;jt.AxiosHeaders=le;jt.formToJSON=i=>am(z.isHTMLForm(i)?new FormData(i):i);jt.getAdapter=rm.getAdapter;jt.HttpStatusCode=as;jt.default=jt;const{Axios:hp,AxiosError:yp,CanceledError:vp,isCancel:pp,CancelToken:bp,VERSION:gp,all:Sp,Cancel:xp,isAxiosError:Ep,spread:zp,toFormData:Ap,AxiosHeaders:Tp,HttpStatusCode:Op,formToJSON:Np,getAdapter:_p,mergeConfig:Rp,create:Dp}=jt,Ae=jt.create({baseURL:"http://localhost:3000/api",timeout:15e3}),q0=window.localStorage.getItem("incusBackupApiToken")||void 0;q0&&(Ae.defaults.headers.common.Authorization=`Bearer ${q0}`);function Wv(i){const f=String(i||"");if(f){window.localStorage.setItem("incusBackupApiToken",f),Ae.defaults.headers.common.Authorization=`Bearer ${f}`;return}window.localStorage.removeItem("incusBackupApiToken"),delete Ae.defaults.headers.common.Authorization}function Bl(i){var f,r;return((r=(f=i.response)==null?void 0:f.data)==null?void 0:r.error)||i.message||"Request failed."}function Va({label:i,value:f,tone:r="neutral"}){const c={neutral:"text-zinc-100",good:"text-emerald-300",warn:"text-amber-300",bad:"text-red-300",active:"text-cyan-300"};return p.jsxs("div",{className:"rounded-md border border-zinc-800 bg-zinc-900/70 p-4",children:[p.jsx("div",{className:"text-xs uppercase tracking-wide text-zinc-500",children:i}),p.jsx("div",{className:`mt-2 text-2xl font-semibold ${c[r]}`,children:f})]})}function Iv({health:i,jobs:f,loading:r,onManage:c,vms:d}){const m=f.filter(S=>["queued","running"].includes(S.status)),y=d.filter(S=>S.status==="Running"),x=f.find(S=>S.status==="success");return p.jsxs("section",{className:"space-y-5",children:[p.jsxs("div",{className:"grid gap-3 sm:grid-cols-2 lg:grid-cols-5",children:[p.jsx(Va,{label:"Total VMs",value:r?"...":d.length}),p.jsx(Va,{label:"Running VMs",value:y.length,tone:"good"}),p.jsx(Va,{label:"Active Jobs",value:m.length,tone:m.length?"active":"neutral"}),p.jsx(Va,{label:"Last Success",value:x?Pv(x.finishedAt):"None",tone:"good"}),p.jsx(Va,{label:"Repository",value:i!=null&&i.ok?"Ready":"Check",tone:i!=null&&i.ok?"good":"warn"})]}),p.jsxs("div",{className:"overflow-hidden rounded-md border border-zinc-800 bg-zinc-900/70",children:[p.jsxs("div",{className:"flex items-center justify-between border-b border-zinc-800 px-4 py-3",children:[p.jsx("h1",{className:"text-sm font-semibold text-zinc-100",children:"VM Backup Status"}),p.jsx("span",{className:"text-xs text-zinc-500",children:tp(i)})]}),p.jsx("div",{className:"overflow-x-auto",children:p.jsxs("table",{className:"w-full min-w-[760px] text-left text-sm",children:[p.jsx("thead",{className:"border-b border-zinc-800 text-xs uppercase tracking-wide text-zinc-500",children:p.jsxs("tr",{children:[p.jsx("th",{className:"px-4 py-3 font-medium",children:"VM"}),p.jsx("th",{className:"px-4 py-3 font-medium",children:"Incus"}),p.jsx("th",{className:"px-4 py-3 font-medium",children:"Last Job"}),p.jsx("th",{className:"px-4 py-3 font-medium",children:"Active Job"}),p.jsx("th",{className:"px-4 py-3 text-right font-medium",children:"Actions"})]})}),p.jsxs("tbody",{className:"divide-y divide-zinc-800",children:[d.map(S=>{var v,N;return p.jsxs("tr",{className:"hover:bg-zinc-900",children:[p.jsx("td",{className:"px-4 py-3 font-medium text-zinc-100",children:S.name}),p.jsx("td",{className:"px-4 py-3",children:p.jsxs("span",{className:"inline-flex items-center gap-2 text-zinc-300",children:[p.jsx(t1,{className:`h-2.5 w-2.5 fill-current ${S.status==="Running"?"text-emerald-400":"text-red-400"}`}),S.status||"Unknown"]})}),p.jsx("td",{className:"px-4 py-3 text-zinc-300",children:S.lastJobStatus||"None"}),p.jsx("td",{className:"px-4 py-3 text-zinc-400",children:S.activeJob?p.jsxs("div",{className:"min-w-0",children:[p.jsxs("div",{className:"flex items-center justify-between gap-2",children:[p.jsx("span",{className:"truncate",children:S.activeJob.currentStep}),p.jsxs("span",{className:"font-mono text-xs text-zinc-500",children:[Math.round(((v=S.activeJob.progress)==null?void 0:v.percent)||0),"%"]})]}),p.jsx("div",{className:"mt-2 h-1.5 overflow-hidden rounded-md bg-zinc-800",children:p.jsx("div",{className:"h-full bg-cyan-400",style:{width:`${Math.round(((N=S.activeJob.progress)==null?void 0:N.percent)||0)}%`}})})]}):"Idle"}),p.jsx("td",{className:"px-4 py-3 text-right",children:p.jsxs("button",{className:"inline-flex h-8 items-center gap-1 rounded-md border border-zinc-700 px-2.5 text-xs text-zinc-100 hover:border-cyan-500 hover:text-cyan-200",onClick:()=>c(S.name),type:"button",children:["Manage ",p.jsx(Py,{className:"h-4 w-4"})]})})]},S.name)}),d.length?null:p.jsx("tr",{children:p.jsx("td",{className:"px-4 py-8 text-center text-zinc-500",colSpan:"5",children:"No VMs loaded."})})]})]})})]})]})}function Pv(i){return i?new Intl.DateTimeFormat(void 0,{dateStyle:"short",timeStyle:"short"}).format(new Date(i)):"None"}function tp(i){return i?i.ok?"All checks ok":Object.entries(i.checks||{}).filter(([,f])=>f!=="ok").map(([f])=>f).join(", ")||"Health degraded":"Health loading"}function ep({onChanged:i,schedules:f,vms:r}){const[c,d]=st.useState(()=>Qa(r,f)),[m,y]=st.useState(!1),[x,S]=st.useState(!1),[v,N]=st.useState(""),[C,Y]=st.useState(""),V=st.useMemo(()=>Qa(r,c),[c,r]);st.useEffect(()=>{m||d(Qa(r,f))},[m,f,r]);async function K(R){R.preventDefault(),S(!0),N(""),Y("");try{const B=V.filter(X=>X.enabled).map(X=>({id:X.id,vmName:X.vmName,enabled:X.enabled,intervalHours:Number(X.intervalHours)||24,nextRunAt:X.nextRunAt,lastRunAt:X.lastRunAt,lastError:X.lastError})),k=await Ae.put("/schedules",{schedules:B});d(Qa(r,k.data)),y(!1),N("Scheduler saved."),await(i==null?void 0:i())}catch(B){Y(Bl(B))}finally{S(!1)}}function w(R,B){y(!0),d(k=>Qa(r,k).map(X=>X.vmName===R?{...X,...B}:X))}return p.jsxs("section",{className:"space-y-5",children:[p.jsxs("div",{className:"border-b border-zinc-800 pb-5",children:[p.jsx("h1",{className:"text-2xl font-semibold text-zinc-100",children:"Scheduler"}),p.jsx("p",{className:"mt-2 max-w-3xl text-sm leading-6 text-zinc-500",children:"Configure automatic backups per VM. Schedules are stored on the backend and run while the backend service is active."})]}),C?p.jsx(w0,{tone:"bad",text:C}):null,v?p.jsx(w0,{tone:"good",text:v}):null,p.jsxs("form",{className:"overflow-hidden rounded-md border border-zinc-800 bg-zinc-900/70",onSubmit:K,children:[p.jsx("div",{className:"overflow-x-auto",children:p.jsxs("table",{className:"w-full min-w-[760px] text-left text-sm",children:[p.jsx("thead",{className:"border-b border-zinc-800 text-xs uppercase text-zinc-500",children:p.jsxs("tr",{children:[p.jsx("th",{className:"px-4 py-3 font-medium",children:"Enabled"}),p.jsx("th",{className:"px-4 py-3 font-medium",children:"VM"}),p.jsx("th",{className:"px-4 py-3 font-medium",children:"Interval"}),p.jsx("th",{className:"px-4 py-3 font-medium",children:"Next Run"}),p.jsx("th",{className:"px-4 py-3 font-medium",children:"Last Run"}),p.jsx("th",{className:"px-4 py-3 font-medium",children:"Last Error"})]})}),p.jsxs("tbody",{className:"divide-y divide-zinc-800",children:[V.map(R=>p.jsxs("tr",{children:[p.jsx("td",{className:"px-4 py-3",children:p.jsx("input",{checked:R.enabled,className:"h-4 w-4 accent-cyan-500",onChange:B=>w(R.vmName,{enabled:B.target.checked}),type:"checkbox"})}),p.jsx("td",{className:"px-4 py-3 font-medium text-zinc-100",children:R.vmName}),p.jsx("td",{className:"px-4 py-3",children:p.jsxs("select",{className:"h-9 rounded-md border border-zinc-700 bg-zinc-950 px-2 text-zinc-100 outline-none",onChange:B=>w(R.vmName,{intervalHours:Number(B.target.value),nextRunAt:null}),value:R.intervalHours,children:[p.jsx("option",{value:6,children:"Every 6 hours"}),p.jsx("option",{value:12,children:"Every 12 hours"}),p.jsx("option",{value:24,children:"Daily"}),p.jsx("option",{value:168,children:"Weekly"})]})}),p.jsx("td",{className:"px-4 py-3 text-zinc-300",children:L0(R.nextRunAt)}),p.jsx("td",{className:"px-4 py-3 text-zinc-300",children:L0(R.lastRunAt)}),p.jsx("td",{className:"px-4 py-3 text-red-300",children:R.lastError||"-"})]},R.vmName)),V.length?null:p.jsx("tr",{children:p.jsx("td",{className:"px-4 py-8 text-center text-zinc-500",colSpan:"6",children:"No VMs loaded."})})]})]})}),p.jsx("div",{className:"flex justify-end border-t border-zinc-800 px-4 py-3",children:p.jsxs("button",{className:"inline-flex h-9 items-center gap-2 rounded-md border border-cyan-800 bg-cyan-950 px-3 text-sm text-cyan-100 hover:bg-cyan-900",disabled:x,type:"submit",children:[p.jsx(V0,{className:"h-4 w-4"}),"Save Scheduler"]})})]})]})}function Qa(i,f){const r=new Map((f||[]).map(c=>[c.vmName,c]));return(i||[]).map(c=>{var d,m,y,x,S,v;return{id:(d=r.get(c.name))==null?void 0:d.id,vmName:c.name,enabled:!!((m=r.get(c.name))!=null&&m.enabled),intervalHours:((y=r.get(c.name))==null?void 0:y.intervalHours)||24,nextRunAt:((x=r.get(c.name))==null?void 0:x.nextRunAt)||null,lastRunAt:((S=r.get(c.name))==null?void 0:S.lastRunAt)||null,lastError:((v=r.get(c.name))==null?void 0:v.lastError)||""}})}function w0({text:i,tone:f}){const r={bad:"border-red-900 bg-red-950/50 text-red-200",good:"border-emerald-900 bg-emerald-950/50 text-emerald-200"};return p.jsx("div",{className:`rounded-md border px-4 py-3 text-sm ${r[f]}`,children:i})}function L0(i){return i?new Intl.DateTimeFormat(void 0,{dateStyle:"short",timeStyle:"short"}).format(new Date(i)):"-"}function lp({onChanged:i}){const[f,r]=st.useState([]),[c,d]=st.useState({}),[m,y]=st.useState({}),[x,S]=st.useState(!1),[v,N]=st.useState(""),[C,Y]=st.useState(""),V=st.useMemo(()=>f.filter(R=>R.required&&!String(c[R.key]||"").trim()),[f,c]);async function K(){Y("");try{const R=await Ae.get("/settings");r(R.data.fields||[]),d(Object.fromEntries((R.data.fields||[]).map(B=>[B.key,B.value||""])))}catch(R){Y(Bl(R))}}st.useEffect(()=>{K()},[]);async function w(R){R.preventDefault(),S(!0),N(""),Y("");try{Wv(c.API_TOKEN);const B=await Ae.put("/settings",{values:c});r(B.data.fields||[]),d(Object.fromEntries((B.data.fields||[]).map(k=>[k.key,k.value||""]))),N("Settings saved. Running jobs use the updated values; a changed PORT still needs a backend restart."),await(i==null?void 0:i())}catch(B){Y(Bl(B))}finally{S(!1)}}return p.jsxs("section",{className:"space-y-5",children:[p.jsxs("div",{className:"border-b border-zinc-800 pb-5",children:[p.jsx("h1",{className:"text-2xl font-semibold text-zinc-100",children:"Settings"}),p.jsxs("p",{className:"mt-2 max-w-3xl text-sm leading-6 text-zinc-500",children:["Values are written to ",p.jsx("span",{className:"font-mono text-zinc-400",children:"backend/.env"}),". Keep access to this UI restricted because secrets are editable here."]})]}),C?p.jsx(Pf,{tone:"bad",text:C}):null,v?p.jsx(Pf,{tone:"good",text:v}):null,V.length?p.jsx(Pf,{tone:"warn",text:`Missing required values: ${V.map(R=>R.key).join(", ")}`}):null,p.jsxs("form",{className:"rounded-md border border-zinc-800 bg-zinc-900/70",onSubmit:w,children:[p.jsx("div",{className:"grid gap-4 p-4 lg:grid-cols-2",children:f.map(R=>{const B=m[R.key];return p.jsxs("label",{className:"block text-sm text-zinc-300",children:[p.jsxs("span",{className:"flex items-center justify-between gap-3",children:[p.jsxs("span",{children:[R.label,R.required?p.jsx("span",{className:"text-red-300",children:" *"}):null]}),p.jsx("span",{className:"font-mono text-xs text-zinc-500",children:R.key})]}),p.jsxs("span",{className:"mt-2 flex rounded-md border border-zinc-700 bg-zinc-950 focus-within:border-cyan-600",children:[p.jsx("input",{className:"h-10 min-w-0 flex-1 bg-transparent px-3 text-zinc-100 outline-none",onChange:k=>d(X=>({...X,[R.key]:k.target.value})),type:R.secret&&!B?"password":"text",value:c[R.key]||""}),R.secret?p.jsx("button",{className:"flex h-10 w-10 items-center justify-center border-l border-zinc-800 text-zinc-400 hover:text-zinc-100",onClick:()=>y(k=>({...k,[R.key]:!k[R.key]})),type:"button",children:B?p.jsx(l1,{className:"h-4 w-4"}):p.jsx(n1,{className:"h-4 w-4"})}):null]})]},R.key)})}),p.jsx("div",{className:"flex justify-end border-t border-zinc-800 px-4 py-3",children:p.jsxs("button",{className:"inline-flex h-9 items-center gap-2 rounded-md border border-cyan-800 bg-cyan-950 px-3 text-sm text-cyan-100 hover:bg-cyan-900",disabled:x,type:"submit",children:[p.jsx(V0,{className:"h-4 w-4"}),"Save Settings"]})})]})]})}function Pf({text:i,tone:f}){const r={bad:"border-red-900 bg-red-950/50 text-red-200",good:"border-emerald-900 bg-emerald-950/50 text-emerald-200",warn:"border-amber-900 bg-amber-950/50 text-amber-200"};return p.jsx("div",{className:`rounded-md border px-4 py-3 text-sm ${r[f]}`,children:i})}function np({job:i}){var r,c;const f=Math.round(((r=i==null?void 0:i.progress)==null?void 0:r.percent)||0);return p.jsxs("section",{className:"rounded-md border border-zinc-800 bg-zinc-900/70",children:[p.jsxs("div",{className:"flex items-center justify-between border-b border-zinc-800 px-4 py-3",children:[p.jsx("h2",{className:"text-sm font-semibold",children:"Job Status"}),p.jsx("span",{className:`rounded-md border px-2 py-1 text-xs ${ap(i==null?void 0:i.status)}`,children:(i==null?void 0:i.status)||"idle"})]}),p.jsxs("div",{className:"grid gap-4 p-4 lg:grid-cols-[280px_1fr]",children:[p.jsxs("dl",{className:"space-y-3 text-sm",children:[p.jsx(Zn,{label:"Type",value:(i==null?void 0:i.type)||"-"}),p.jsx(Zn,{label:"Current Step",value:(i==null?void 0:i.currentStep)||"No active job"}),p.jsx(Zn,{label:"Progress",value:i?`${f}%`:"-"}),p.jsx(Zn,{label:"Started",value:Y0(i==null?void 0:i.startedAt)}),p.jsx(Zn,{label:"Finished",value:Y0(i==null?void 0:i.finishedAt)}),i!=null&&i.error?p.jsx(Zn,{label:"Error",value:i.error,tone:"text-red-300"}):null]}),p.jsxs("div",{className:"space-y-3",children:[p.jsxs("div",{className:"rounded-md border border-zinc-800 bg-zinc-950 p-3",children:[p.jsxs("div",{className:"mb-2 flex items-center justify-between gap-3 text-xs text-zinc-400",children:[p.jsx("span",{children:((c=i==null?void 0:i.progress)==null?void 0:c.detail)||(i==null?void 0:i.currentStep)||"No active job"}),p.jsx("span",{className:"font-mono text-zinc-300",children:i?`${f}%`:"-"})]}),p.jsx("div",{className:"h-2 overflow-hidden rounded-md bg-zinc-800",children:p.jsx("div",{className:"h-full bg-cyan-400 transition-all",style:{width:`${i?f:0}%`}})})]}),p.jsx("pre",{className:"max-h-80 overflow-auto rounded-md border border-zinc-800 bg-zinc-950 p-3 text-xs leading-5 text-zinc-300",children:((i==null?void 0:i.logs)||["No logs yet."]).join(`
`)})]})]})]})}function Zn({label:i,value:f,tone:r="text-zinc-300"}){return p.jsxs("div",{children:[p.jsx("dt",{className:"text-xs uppercase tracking-wide text-zinc-500",children:i}),p.jsx("dd",{className:`mt-1 break-words ${r}`,children:f})]})}function ap(i){return i==="success"?"border-emerald-800 bg-emerald-950 text-emerald-300":i==="failed"?"border-red-800 bg-red-950 text-red-300":i==="running"||i==="queued"?"border-cyan-800 bg-cyan-950 text-cyan-300":"border-zinc-800 bg-zinc-950 text-zinc-400"}function Y0(i){return i?new Intl.DateTimeFormat(void 0,{dateStyle:"medium",timeStyle:"medium"}).format(new Date(i)):"-"}function up({snapshot:i,vmName:f,confirmText:r,onCancel:c,onConfirm:d,onTextChange:m,busy:y}){if(!i)return null;const x=r===f&&!y;return p.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/70 p-4",children:p.jsxs("div",{className:"w-full max-w-lg rounded-md border border-red-900 bg-zinc-950 shadow-2xl",children:[p.jsxs("div",{className:"flex items-center justify-between border-b border-red-950 px-4 py-3",children:[p.jsxs("div",{className:"flex items-center gap-2 text-red-300",children:[p.jsx(Q0,{className:"h-5 w-5"}),p.jsx("h2",{className:"text-sm font-semibold",children:"Destructive Restore"})]}),p.jsx("button",{className:"rounded-md p-1 text-zinc-400 hover:text-zinc-100",onClick:c,type:"button",children:p.jsx(c1,{className:"h-5 w-5"})})]}),p.jsxs("div",{className:"space-y-4 p-4",children:[p.jsxs("p",{className:"text-sm leading-6 text-zinc-300",children:["Warning: The VM will be stopped and the current disk will be irreversibly overwritten with snapshot ",p.jsx("span",{className:"font-mono text-red-200",children:i.id.slice(0,8)}),"."]}),p.jsxs("label",{className:"block text-sm text-zinc-300",children:["Type ",p.jsx("span",{className:"font-mono text-zinc-100",children:f})," to confirm.",p.jsx("input",{className:"mt-2 h-10 w-full rounded-md border border-zinc-700 bg-zinc-900 px-3 text-zinc-100 outline-none focus:border-red-500",onChange:S=>m(S.target.value),value:r})]}),p.jsxs("div",{className:"flex justify-end gap-2",children:[p.jsx("button",{className:"h-9 rounded-md border border-zinc-700 px-3 text-sm text-zinc-200",onClick:c,type:"button",children:"Cancel"}),p.jsx("button",{className:"h-9 rounded-md border border-red-700 bg-red-950 px-3 text-sm text-red-100 hover:bg-red-900 disabled:hover:bg-red-950",disabled:!x,onClick:d,type:"button",children:"Confirm Restore"})]})]})]})})}function ip({onRestore:i,snapshots:f}){return p.jsxs("section",{className:"overflow-hidden rounded-md border border-zinc-800 bg-zinc-900/70",children:[p.jsx("div",{className:"border-b border-zinc-800 px-4 py-3",children:p.jsx("h2",{className:"text-sm font-semibold",children:"Snapshots"})}),p.jsx("div",{className:"overflow-x-auto",children:p.jsxs("table",{className:"w-full min-w-[680px] text-left text-sm",children:[p.jsx("thead",{className:"border-b border-zinc-800 text-xs uppercase tracking-wide text-zinc-500",children:p.jsxs("tr",{children:[p.jsx("th",{className:"px-4 py-3 font-medium",children:"ID"}),p.jsx("th",{className:"px-4 py-3 font-medium",children:"Date & Time"}),p.jsx("th",{className:"px-4 py-3 font-medium",children:"Tags"}),p.jsx("th",{className:"px-4 py-3 text-right font-medium",children:"Actions"})]})}),p.jsxs("tbody",{className:"divide-y divide-zinc-800",children:[f.map(r=>p.jsxs("tr",{className:"hover:bg-zinc-900",children:[p.jsx("td",{className:"px-4 py-3 font-mono text-zinc-100",children:r.id.slice(0,8)}),p.jsx("td",{className:"px-4 py-3 text-zinc-300",children:cp(r.time)}),p.jsx("td",{className:"px-4 py-3 text-zinc-400",children:(r.tags||[]).join(", ")||"-"}),p.jsx("td",{className:"px-4 py-3 text-right",children:p.jsxs("button",{className:"inline-flex h-8 items-center gap-2 rounded-md border border-red-900 px-2.5 text-xs text-red-300 hover:border-red-600 hover:text-red-200",onClick:()=>i(r),type:"button",children:[p.jsx(u1,{className:"h-4 w-4"}),"Restore"]})})]},r.id)),f.length?null:p.jsx("tr",{children:p.jsx("td",{className:"px-4 py-8 text-center text-zinc-500",colSpan:"4",children:"No snapshots found."})})]})]})})]})}function cp(i){return i?new Intl.DateTimeFormat(void 0,{dateStyle:"medium",timeStyle:"medium"}).format(new Date(i)):"-"}function fp({jobs:i,onBack:f,onChanged:r,vm:c}){var W;const[d,m]=st.useState([]),[y,x]=st.useState(null),[S,v]=st.useState(""),[N,C]=st.useState(!1),[Y,V]=st.useState(""),K=st.useMemo(()=>i.filter(at=>at.vmName===c.name),[i,c.name]),w=K.find(at=>["queued","running"].includes(at.status))||K[0]||null,R=(W=d[0])==null?void 0:W.time;async function B(){V("");try{const at=await Ae.get(`/snapshots/${encodeURIComponent(c.name)}`);m(at.data)}catch(at){V(Bl(at))}}st.useEffect(()=>{B()},[c.name]);async function k(){C(!0),V("");try{await Ae.post(`/backup/${encodeURIComponent(c.name)}`),await r()}catch(at){V(Bl(at))}finally{C(!1)}}async function X(){C(!0),V("");try{await Ae.post(`/restore/${encodeURIComponent(c.name)}`,{snapshotId:y.id,confirmVmName:S}),x(null),v(""),await r()}catch(at){V(Bl(at))}finally{C(!1)}}return p.jsxs("section",{className:"space-y-5",children:[p.jsxs("div",{className:"flex flex-col gap-4 border-b border-zinc-800 pb-5 sm:flex-row sm:items-end sm:justify-between",children:[p.jsxs("div",{children:[p.jsxs("button",{className:"mb-4 inline-flex items-center gap-2 text-sm text-zinc-400 hover:text-zinc-100",onClick:f,type:"button",children:[p.jsx(Wy,{className:"h-4 w-4"}),"Back"]}),p.jsxs("div",{className:"flex items-center gap-3",children:[p.jsx("h1",{className:"text-2xl font-semibold text-zinc-100",children:c.name}),p.jsx("span",{className:"rounded-md border border-zinc-800 px-2 py-1 text-xs text-zinc-300",children:c.status||"Unknown"})]}),p.jsxs("p",{className:"mt-2 text-sm text-zinc-500",children:["Latest snapshot: ",R?sp(R):"None"]})]}),p.jsxs("div",{className:"flex gap-2",children:[p.jsxs("button",{className:"inline-flex h-9 items-center gap-2 rounded-md border border-zinc-700 px-3 text-sm text-zinc-100",onClick:B,type:"button",children:[p.jsx(G0,{className:"h-4 w-4"}),"Snapshots"]}),p.jsxs("button",{className:"inline-flex h-9 items-center gap-2 rounded-md border border-emerald-800 bg-emerald-950 px-3 text-sm text-emerald-100 hover:bg-emerald-900",disabled:N||!!(w&&["queued","running"].includes(w.status)),onClick:k,type:"button",children:[p.jsx(a1,{className:"h-4 w-4"}),"Create Backup"]})]})]}),Y?p.jsx("div",{className:"rounded-md border border-amber-900 bg-amber-950/50 px-4 py-3 text-sm text-amber-200",children:Y}):null,p.jsx(np,{job:w}),p.jsx(ip,{snapshots:d,onRestore:at=>x(at)}),p.jsx(up,{busy:N,confirmText:S,onCancel:()=>{x(null),v("")},onConfirm:X,onTextChange:v,snapshot:y,vmName:c.name})]})}function sp(i){return new Intl.DateTimeFormat(void 0,{dateStyle:"medium",timeStyle:"medium"}).format(new Date(i))}function rp(){const[i,f]=st.useState(null),[r,c]=st.useState([]),[d,m]=st.useState([]),[y,x]=st.useState([]),[S,v]=st.useState(null),[N,C]=st.useState("dashboard"),[Y,V]=st.useState(""),[K,w]=st.useState(!0);async function R(){var k;V("");try{const[X,W,at,Ot]=await Promise.allSettled([Ae.get("/health"),Ae.get("/vms"),Ae.get("/jobs"),Ae.get("/schedules")]);X.status==="fulfilled"?f(X.value.data):f(((k=X.reason.response)==null?void 0:k.data)||{ok:!1,checks:{}}),W.status==="fulfilled"&&c(W.value.data),at.status==="fulfilled"&&m(at.value.data),Ot.status==="fulfilled"&&x(Ot.value.data);const tt=[X,W,at,Ot].find(Ht=>Ht.status==="rejected");tt&&V(Bl(tt.reason))}catch(X){V(Bl(X))}finally{w(!1)}}st.useEffect(()=>{R();const k=window.setInterval(R,5e3);return()=>window.clearInterval(k)},[]);const B=st.useMemo(()=>r.find(k=>k.name===S)||null,[S,r]);return p.jsxs("main",{className:"min-h-screen bg-zinc-950 text-zinc-100",children:[p.jsx("header",{className:"border-b border-zinc-800 bg-zinc-950/95",children:p.jsxs("div",{className:"mx-auto flex max-w-7xl items-center justify-between gap-4 px-4 py-4 sm:px-6",children:[p.jsxs("button",{className:"flex items-center gap-3 text-left",onClick:()=>{v(null),C("dashboard")},type:"button",children:[p.jsx("span",{className:"flex h-9 w-9 items-center justify-center rounded-md border border-zinc-800 bg-zinc-900",children:p.jsx(e1,{className:"h-5 w-5 text-cyan-300"})}),p.jsxs("span",{children:[p.jsx("span",{className:"block text-sm font-semibold tracking-wide text-zinc-100",children:"Incus Backup Control"}),p.jsx("span",{className:"block text-xs text-zinc-500",children:"ZFS block-level Restic operations"})]})]}),p.jsxs("div",{className:"flex items-center gap-2",children:[p.jsxs("button",{className:"inline-flex h-9 items-center gap-2 rounded-md border border-zinc-800 bg-zinc-900 px-3 text-sm text-zinc-200 hover:border-zinc-700",onClick:()=>{v(null),C("scheduler")},type:"button",children:[p.jsx(Iy,{className:"h-4 w-4"}),"Scheduler"]}),p.jsxs("button",{className:"inline-flex h-9 items-center gap-2 rounded-md border border-zinc-800 bg-zinc-900 px-3 text-sm text-zinc-200 hover:border-zinc-700",onClick:()=>{v(null),C("settings")},type:"button",children:[p.jsx(i1,{className:"h-4 w-4"}),"Settings"]}),p.jsxs("button",{className:"inline-flex h-9 items-center gap-2 rounded-md border border-zinc-800 bg-zinc-900 px-3 text-sm text-zinc-200 hover:border-zinc-700",onClick:R,type:"button",children:[p.jsx(G0,{className:"h-4 w-4"}),"Refresh"]})]})]})}),Y?p.jsxs("div",{className:"mx-auto mt-4 flex max-w-7xl items-center gap-2 px-4 text-sm text-amber-300 sm:px-6",children:[p.jsx(Q0,{className:"h-4 w-4"}),Y]}):null,p.jsx("div",{className:"mx-auto max-w-7xl px-4 py-6 sm:px-6",children:N==="settings"?p.jsx(lp,{onChanged:R}):N==="scheduler"?p.jsx(ep,{onChanged:R,schedules:y,vms:r}):B?p.jsx(fp,{vm:B,jobs:d,onBack:()=>v(null),onChanged:R}):p.jsx(Iv,{health:i,jobs:d,loading:K,onManage:k=>{v(k),C("dashboard")},vms:r})})]})}Ky.createRoot(document.getElementById("root")).render(p.jsx(Yy.StrictMode,{children:p.jsx(rp,{})}));
