web-terminal-agent 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,515 @@
1
+ function hA(a,r){for(var s=0;s<r.length;s++){const u=r[s];if(typeof u!="string"&&!Array.isArray(u)){for(const c in u)if(c!=="default"&&!(c in a)){const f=Object.getOwnPropertyDescriptor(u,c);f&&Object.defineProperty(a,c,f.get?f:{enumerable:!0,get:()=>u[c]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))u(c);new MutationObserver(c=>{for(const f of c)if(f.type==="childList")for(const m of f.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&u(m)}).observe(document,{childList:!0,subtree:!0});function s(c){const f={};return c.integrity&&(f.integrity=c.integrity),c.referrerPolicy&&(f.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?f.credentials="include":c.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function u(c){if(c.ep)return;c.ep=!0;const f=s(c);fetch(c.href,f)}})();function fE(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var tg={exports:{}},Mf={},ng={exports:{}},nc={exports:{}};nc.exports;var eN;function pA(){return eN||(eN=1,(function(a,r){/**
2
+ * @license React
3
+ * react.development.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */(function(){function s(N,L){Object.defineProperty(f.prototype,N,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",L[0],L[1])}})}function u(N){return N===null||typeof N!="object"?null:(N=Ut&&N[Ut]||N["@@iterator"],typeof N=="function"?N:null)}function c(N,L){N=(N=N.constructor)&&(N.displayName||N.name)||"ReactClass";var re=N+"."+L;Tn[re]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",L,N),Tn[re]=!0)}function f(N,L,re){this.props=N,this.context=L,this.refs=nt,this.updater=re||ga}function m(){}function p(N,L,re){this.props=N,this.context=L,this.refs=nt,this.updater=re||ga}function b(){}function x(N){return""+N}function E(N){try{x(N);var L=!1}catch{L=!0}if(L){L=console;var re=L.error,ce=typeof Symbol=="function"&&Symbol.toStringTag&&N[Symbol.toStringTag]||N.constructor.name||"Object";return re.call(L,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ce),x(N)}}function g(N){if(N==null)return null;if(typeof N=="function")return N.$$typeof===Un?null:N.displayName||N.name||null;if(typeof N=="string")return N;switch(N){case O:return"Fragment";case X:return"Profiler";case ae:return"StrictMode";case pe:return"Suspense";case ze:return"SuspenseList";case be:return"Activity"}if(typeof N=="object")switch(typeof N.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),N.$$typeof){case Se:return"Portal";case xe:return N.displayName||"Context";case Z:return(N._context.displayName||"Context")+".Consumer";case Ie:var L=N.render;return N=N.displayName,N||(N=L.displayName||L.name||"",N=N!==""?"ForwardRef("+N+")":"ForwardRef"),N;case st:return L=N.displayName||null,L!==null?L:g(N.type)||"Memo";case Ct:L=N._payload,N=N._init;try{return g(N(L))}catch{}}return null}function S(N){if(N===O)return"<>";if(typeof N=="object"&&N!==null&&N.$$typeof===Ct)return"<...>";try{var L=g(N);return L?"<"+L+">":"<...>"}catch{return"<...>"}}function C(){var N=Ne.A;return N===null?null:N.getOwner()}function T(){return Error("react-stack-top-frame")}function D(N){if(ur.call(N,"key")){var L=Object.getOwnPropertyDescriptor(N,"key").get;if(L&&L.isReactWarning)return!1}return N.key!==void 0}function V(N,L){function re(){Dn||(Dn=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",L))}re.isReactWarning=!0,Object.defineProperty(N,"key",{get:re,configurable:!0})}function j(){var N=g(this.type);return ns[N]||(ns[N]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),N=this.props.ref,N!==void 0?N:null}function U(N,L,re,ce,Ee,Ue){var le=re.ref;return N={$$typeof:fe,type:N,key:L,props:re,_owner:ce},(le!==void 0?le:null)!==null?Object.defineProperty(N,"ref",{enumerable:!1,get:j}):Object.defineProperty(N,"ref",{enumerable:!1,value:null}),N._store={},Object.defineProperty(N._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(N,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(N,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ee}),Object.defineProperty(N,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ue}),Object.freeze&&(Object.freeze(N.props),Object.freeze(N)),N}function ee(N,L){return L=U(N.type,L,N.props,N._owner,N._debugStack,N._debugTask),N._store&&(L._store.validated=N._store.validated),L}function ie(N){W(N)?N._store&&(N._store.validated=1):typeof N=="object"&&N!==null&&N.$$typeof===Ct&&(N._payload.status==="fulfilled"?W(N._payload.value)&&N._payload.value._store&&(N._payload.value._store.validated=1):N._store&&(N._store.validated=1))}function W(N){return typeof N=="object"&&N!==null&&N.$$typeof===fe}function te(N){var L={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(re){return L[re]})}function P(N,L){return typeof N=="object"&&N!==null&&N.key!=null?(E(N.key),te(""+N.key)):L.toString(36)}function Q(N){switch(N.status){case"fulfilled":return N.value;case"rejected":throw N.reason;default:switch(typeof N.status=="string"?N.then(b,b):(N.status="pending",N.then(function(L){N.status==="pending"&&(N.status="fulfilled",N.value=L)},function(L){N.status==="pending"&&(N.status="rejected",N.reason=L)})),N.status){case"fulfilled":return N.value;case"rejected":throw N.reason}}throw N}function oe(N,L,re,ce,Ee){var Ue=typeof N;(Ue==="undefined"||Ue==="boolean")&&(N=null);var le=!1;if(N===null)le=!0;else switch(Ue){case"bigint":case"string":case"number":le=!0;break;case"object":switch(N.$$typeof){case fe:case Se:le=!0;break;case Ct:return le=N._init,oe(le(N._payload),L,re,ce,Ee)}}if(le){le=N,Ee=Ee(le);var _e=ce===""?"."+P(le,0):ce;return Eo(Ee)?(re="",_e!=null&&(re=_e.replace(cr,"$&/")+"/"),oe(Ee,L,re,"",function(ct){return ct})):Ee!=null&&(W(Ee)&&(Ee.key!=null&&(le&&le.key===Ee.key||E(Ee.key)),re=ee(Ee,re+(Ee.key==null||le&&le.key===Ee.key?"":(""+Ee.key).replace(cr,"$&/")+"/")+_e),ce!==""&&le!=null&&W(le)&&le.key==null&&le._store&&!le._store.validated&&(re._store.validated=2),Ee=re),L.push(Ee)),1}if(le=0,_e=ce===""?".":ce+":",Eo(N))for(var Oe=0;Oe<N.length;Oe++)ce=N[Oe],Ue=_e+P(ce,Oe),le+=oe(ce,L,re,Ue,Ee);else if(Oe=u(N),typeof Oe=="function")for(Oe===N.entries&&(ya||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ya=!0),N=Oe.call(N),Oe=0;!(ce=N.next()).done;)ce=ce.value,Ue=_e+P(ce,Oe++),le+=oe(ce,L,re,Ue,Ee);else if(Ue==="object"){if(typeof N.then=="function")return oe(Q(N),L,re,ce,Ee);throw L=String(N),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.")}return le}function I(N,L,re){if(N==null)return N;var ce=[],Ee=0;return oe(N,ce,"","",function(Ue){return L.call(re,Ue,Ee++)}),ce}function ue(N){if(N._status===-1){var L=N._ioInfo;L!=null&&(L.start=L.end=performance.now()),L=N._result;var re=L();if(re.then(function(Ee){if(N._status===0||N._status===-1){N._status=1,N._result=Ee;var Ue=N._ioInfo;Ue!=null&&(Ue.end=performance.now()),re.status===void 0&&(re.status="fulfilled",re.value=Ee)}},function(Ee){if(N._status===0||N._status===-1){N._status=2,N._result=Ee;var Ue=N._ioInfo;Ue!=null&&(Ue.end=performance.now()),re.status===void 0&&(re.status="rejected",re.reason=Ee)}}),L=N._ioInfo,L!=null){L.value=re;var ce=re.displayName;typeof ce=="string"&&(L.name=ce)}N._status===-1&&(N._status=0,N._result=re)}if(N._status===1)return L=N._result,L===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
10
+
11
+ Your code should look like:
12
+ const MyComponent = lazy(() => import('./MyComponent'))
13
+
14
+ Did you accidentally put curly braces around the import?`,L),"default"in L||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
15
+
16
+ Your code should look like:
17
+ const MyComponent = lazy(() => import('./MyComponent'))`,L),L.default;throw N._result}function K(){var N=Ne.H;return N===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
18
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
19
+ 2. You might be breaking the Rules of Hooks
20
+ 3. You might have more than one copy of React in the same app
21
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),N}function ne(){Ne.asyncTransitions--}function me(N){if(On===null)try{var L=("require"+Math.random()).slice(0,7);On=(a&&a[L]).call(a,"timers").setImmediate}catch{On=function(ce){dr===!1&&(dr=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Ee=new MessageChannel;Ee.port1.onmessage=ce,Ee.port2.postMessage(void 0)}}return On(N)}function ve(N){return 1<N.length&&typeof AggregateError=="function"?new AggregateError(N):N[0]}function q(N,L){L!==Ua-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ua=L}function F(N,L,re){var ce=Ne.actQueue;if(ce!==null)if(ce.length!==0)try{B(ce),me(function(){return F(N,L,re)});return}catch(Ee){Ne.thrownErrors.push(Ee)}else Ne.actQueue=null;0<Ne.thrownErrors.length?(ce=ve(Ne.thrownErrors),Ne.thrownErrors.length=0,re(ce)):L(N)}function B(N){if(!To){To=!0;var L=0;try{for(;L<N.length;L++){var re=N[L];do{Ne.didUsePromise=!1;var ce=re(!1);if(ce!==null){if(Ne.didUsePromise){N[L]=re,N.splice(0,L);return}re=ce}else break}while(!0)}N.length=0}catch(Ee){N.splice(0,L+1),Ne.thrownErrors.push(Ee)}finally{To=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var fe=Symbol.for("react.transitional.element"),Se=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),ae=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),Z=Symbol.for("react.consumer"),xe=Symbol.for("react.context"),Ie=Symbol.for("react.forward_ref"),pe=Symbol.for("react.suspense"),ze=Symbol.for("react.suspense_list"),st=Symbol.for("react.memo"),Ct=Symbol.for("react.lazy"),be=Symbol.for("react.activity"),Ut=Symbol.iterator,Tn={},ga={isMounted:function(){return!1},enqueueForceUpdate:function(N){c(N,"forceUpdate")},enqueueReplaceState:function(N){c(N,"replaceState")},enqueueSetState:function(N){c(N,"setState")}},za=Object.assign,nt={};Object.freeze(nt),f.prototype.isReactComponent={},f.prototype.setState=function(N,L){if(typeof N!="object"&&typeof N!="function"&&N!=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,N,L,"setState")},f.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};var Ot={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(Ha in Ot)Ot.hasOwnProperty(Ha)&&s(Ha,Ot[Ha]);m.prototype=f.prototype,Ot=p.prototype=new m,Ot.constructor=p,za(Ot,f.prototype),Ot.isPureReactComponent=!0;var Eo=Array.isArray,Un=Symbol.for("react.client.reference"),Ne={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},ur=Object.prototype.hasOwnProperty,wt=console.createTask?console.createTask:function(){return null};Ot={react_stack_bottom_frame:function(N){return N()}};var Dn,ka,ns={},Va=Ot.react_stack_bottom_frame.bind(Ot,T)(),rl=wt(S(T)),ya=!1,cr=/\/+/g,ea=typeof reportError=="function"?reportError:function(N){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var L=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof N=="object"&&N!==null&&typeof N.message=="string"?String(N.message):String(N),error:N});if(!window.dispatchEvent(L))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",N);return}console.error(N)},dr=!1,On=null,Ua=0,Co=!1,To=!1,Do=typeof queueMicrotask=="function"?function(N){queueMicrotask(function(){return queueMicrotask(N)})}:me;Ot=Object.freeze({__proto__:null,c:function(N){return K().useMemoCache(N)}});var Ha={map:I,forEach:function(N,L,re){I(N,function(){L.apply(this,arguments)},re)},count:function(N){var L=0;return I(N,function(){L++}),L},toArray:function(N){return I(N,function(L){return L})||[]},only:function(N){if(!W(N))throw Error("React.Children.only expected to receive a single React element child.");return N}};r.Activity=be,r.Children=Ha,r.Component=f,r.Fragment=O,r.Profiler=X,r.PureComponent=p,r.StrictMode=ae,r.Suspense=pe,r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ne,r.__COMPILER_RUNTIME=Ot,r.act=function(N){var L=Ne.actQueue,re=Ua;Ua++;var ce=Ne.actQueue=L!==null?L:[],Ee=!1;try{var Ue=N()}catch(Oe){Ne.thrownErrors.push(Oe)}if(0<Ne.thrownErrors.length)throw q(L,re),N=ve(Ne.thrownErrors),Ne.thrownErrors.length=0,N;if(Ue!==null&&typeof Ue=="object"&&typeof Ue.then=="function"){var le=Ue;return Do(function(){Ee||Co||(Co=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(Oe,ct){Ee=!0,le.then(function(pn){if(q(L,re),re===0){try{B(ce),me(function(){return F(pn,Oe,ct)})}catch(Gt){Ne.thrownErrors.push(Gt)}if(0<Ne.thrownErrors.length){var Rt=ve(Ne.thrownErrors);Ne.thrownErrors.length=0,ct(Rt)}}else Oe(pn)},function(pn){q(L,re),0<Ne.thrownErrors.length&&(pn=ve(Ne.thrownErrors),Ne.thrownErrors.length=0),ct(pn)})}}}var _e=Ue;if(q(L,re),re===0&&(B(ce),ce.length!==0&&Do(function(){Ee||Co||(Co=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),Ne.actQueue=null),0<Ne.thrownErrors.length)throw N=ve(Ne.thrownErrors),Ne.thrownErrors.length=0,N;return{then:function(Oe,ct){Ee=!0,re===0?(Ne.actQueue=ce,me(function(){return F(_e,Oe,ct)})):Oe(_e)}}},r.cache=function(N){return function(){return N.apply(null,arguments)}},r.cacheSignal=function(){return null},r.captureOwnerStack=function(){var N=Ne.getCurrentStack;return N===null?null:N()},r.cloneElement=function(N,L,re){if(N==null)throw Error("The argument must be a React element, but you passed "+N+".");var ce=za({},N.props),Ee=N.key,Ue=N._owner;if(L!=null){var le;e:{if(ur.call(L,"ref")&&(le=Object.getOwnPropertyDescriptor(L,"ref").get)&&le.isReactWarning){le=!1;break e}le=L.ref!==void 0}le&&(Ue=C()),D(L)&&(E(L.key),Ee=""+L.key);for(_e in L)!ur.call(L,_e)||_e==="key"||_e==="__self"||_e==="__source"||_e==="ref"&&L.ref===void 0||(ce[_e]=L[_e])}var _e=arguments.length-2;if(_e===1)ce.children=re;else if(1<_e){le=Array(_e);for(var Oe=0;Oe<_e;Oe++)le[Oe]=arguments[Oe+2];ce.children=le}for(ce=U(N.type,Ee,ce,Ue,N._debugStack,N._debugTask),Ee=2;Ee<arguments.length;Ee++)ie(arguments[Ee]);return ce},r.createContext=function(N){return N={$$typeof:xe,_currentValue:N,_currentValue2:N,_threadCount:0,Provider:null,Consumer:null},N.Provider=N,N.Consumer={$$typeof:Z,_context:N},N._currentRenderer=null,N._currentRenderer2=null,N},r.createElement=function(N,L,re){for(var ce=2;ce<arguments.length;ce++)ie(arguments[ce]);ce={};var Ee=null;if(L!=null)for(Oe in ka||!("__self"in L)||"key"in L||(ka=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),D(L)&&(E(L.key),Ee=""+L.key),L)ur.call(L,Oe)&&Oe!=="key"&&Oe!=="__self"&&Oe!=="__source"&&(ce[Oe]=L[Oe]);var Ue=arguments.length-2;if(Ue===1)ce.children=re;else if(1<Ue){for(var le=Array(Ue),_e=0;_e<Ue;_e++)le[_e]=arguments[_e+2];Object.freeze&&Object.freeze(le),ce.children=le}if(N&&N.defaultProps)for(Oe in Ue=N.defaultProps,Ue)ce[Oe]===void 0&&(ce[Oe]=Ue[Oe]);Ee&&V(ce,typeof N=="function"?N.displayName||N.name||"Unknown":N);var Oe=1e4>Ne.recentlyCreatedOwnerStacks++;return U(N,Ee,ce,C(),Oe?Error("react-stack-top-frame"):Va,Oe?wt(S(N)):rl)},r.createRef=function(){var N={current:null};return Object.seal(N),N},r.forwardRef=function(N){N!=null&&N.$$typeof===st?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof N!="function"?console.error("forwardRef requires a render function but was given %s.",N===null?"null":typeof N):N.length!==0&&N.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",N.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),N!=null&&N.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var L={$$typeof:Ie,render:N},re;return Object.defineProperty(L,"displayName",{enumerable:!1,configurable:!0,get:function(){return re},set:function(ce){re=ce,N.name||N.displayName||(Object.defineProperty(N,"name",{value:ce}),N.displayName=ce)}}),L},r.isValidElement=W,r.lazy=function(N){N={_status:-1,_result:N};var L={$$typeof:Ct,_payload:N,_init:ue},re={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return N._ioInfo=re,L._debugInfo=[{awaited:re}],L},r.memo=function(N,L){N==null&&console.error("memo: The first argument must be a component. Instead received: %s",N===null?"null":typeof N),L={$$typeof:st,type:N,compare:L===void 0?null:L};var re;return Object.defineProperty(L,"displayName",{enumerable:!1,configurable:!0,get:function(){return re},set:function(ce){re=ce,N.name||N.displayName||(Object.defineProperty(N,"name",{value:ce}),N.displayName=ce)}}),L},r.startTransition=function(N){var L=Ne.T,re={};re._updatedFibers=new Set,Ne.T=re;try{var ce=N(),Ee=Ne.S;Ee!==null&&Ee(re,ce),typeof ce=="object"&&ce!==null&&typeof ce.then=="function"&&(Ne.asyncTransitions++,ce.then(ne,ne),ce.then(b,ea))}catch(Ue){ea(Ue)}finally{L===null&&re._updatedFibers&&(N=re._updatedFibers.size,re._updatedFibers.clear(),10<N&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),L!==null&&re.types!==null&&(L.types!==null&&L.types!==re.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),L.types=re.types),Ne.T=L}},r.unstable_useCacheRefresh=function(){return K().useCacheRefresh()},r.use=function(N){return K().use(N)},r.useActionState=function(N,L,re){return K().useActionState(N,L,re)},r.useCallback=function(N,L){return K().useCallback(N,L)},r.useContext=function(N){var L=K();return N.$$typeof===Z&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),L.useContext(N)},r.useDebugValue=function(N,L){return K().useDebugValue(N,L)},r.useDeferredValue=function(N,L){return K().useDeferredValue(N,L)},r.useEffect=function(N,L){return N==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),K().useEffect(N,L)},r.useEffectEvent=function(N){return K().useEffectEvent(N)},r.useId=function(){return K().useId()},r.useImperativeHandle=function(N,L,re){return K().useImperativeHandle(N,L,re)},r.useInsertionEffect=function(N,L){return N==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),K().useInsertionEffect(N,L)},r.useLayoutEffect=function(N,L){return N==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),K().useLayoutEffect(N,L)},r.useMemo=function(N,L){return K().useMemo(N,L)},r.useOptimistic=function(N,L){return K().useOptimistic(N,L)},r.useReducer=function(N,L,re){return K().useReducer(N,L,re)},r.useRef=function(N){return K().useRef(N)},r.useState=function(N){return K().useState(N)},r.useSyncExternalStore=function(N,L,re){return K().useSyncExternalStore(N,L,re)},r.useTransition=function(){return K().useTransition()},r.version="19.2.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(nc,nc.exports)),nc.exports}var tN;function hi(){return tN||(tN=1,ng.exports=pA()),ng.exports}var nN;function bA(){if(nN)return Mf;nN=1;/**
22
+ * @license React
23
+ * react-jsx-dev-runtime.development.js
24
+ *
25
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
26
+ *
27
+ * This source code is licensed under the MIT license found in the
28
+ * LICENSE file in the root directory of this source tree.
29
+ */return(function(){function a(O){if(O==null)return null;if(typeof O=="function")return O.$$typeof===ue?null:O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case V:return"Fragment";case U:return"Profiler";case j:return"StrictMode";case te:return"Suspense";case P:return"SuspenseList";case I:return"Activity"}if(typeof O=="object")switch(typeof O.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),O.$$typeof){case D:return"Portal";case ie:return O.displayName||"Context";case ee:return(O._context.displayName||"Context")+".Consumer";case W:var ae=O.render;return O=O.displayName,O||(O=ae.displayName||ae.name||"",O=O!==""?"ForwardRef("+O+")":"ForwardRef"),O;case Q:return ae=O.displayName||null,ae!==null?ae:a(O.type)||"Memo";case oe:ae=O._payload,O=O._init;try{return a(O(ae))}catch{}}return null}function r(O){return""+O}function s(O){try{r(O);var ae=!1}catch{ae=!0}if(ae){ae=console;var X=ae.error,Z=typeof Symbol=="function"&&Symbol.toStringTag&&O[Symbol.toStringTag]||O.constructor.name||"Object";return X.call(ae,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Z),r(O)}}function u(O){if(O===V)return"<>";if(typeof O=="object"&&O!==null&&O.$$typeof===oe)return"<...>";try{var ae=a(O);return ae?"<"+ae+">":"<...>"}catch{return"<...>"}}function c(){var O=K.A;return O===null?null:O.getOwner()}function f(){return Error("react-stack-top-frame")}function m(O){if(ne.call(O,"key")){var ae=Object.getOwnPropertyDescriptor(O,"key").get;if(ae&&ae.isReactWarning)return!1}return O.key!==void 0}function p(O,ae){function X(){q||(q=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",ae))}X.isReactWarning=!0,Object.defineProperty(O,"key",{get:X,configurable:!0})}function b(){var O=a(this.type);return F[O]||(F[O]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),O=this.props.ref,O!==void 0?O:null}function x(O,ae,X,Z,xe,Ie){var pe=X.ref;return O={$$typeof:T,type:O,key:ae,props:X,_owner:Z},(pe!==void 0?pe:null)!==null?Object.defineProperty(O,"ref",{enumerable:!1,get:b}):Object.defineProperty(O,"ref",{enumerable:!1,value:null}),O._store={},Object.defineProperty(O._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(O,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(O,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:xe}),Object.defineProperty(O,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ie}),Object.freeze&&(Object.freeze(O.props),Object.freeze(O)),O}function E(O,ae,X,Z,xe,Ie){var pe=ae.children;if(pe!==void 0)if(Z)if(me(pe)){for(Z=0;Z<pe.length;Z++)g(pe[Z]);Object.freeze&&Object.freeze(pe)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else g(pe);if(ne.call(ae,"key")){pe=a(O);var ze=Object.keys(ae).filter(function(Ct){return Ct!=="key"});Z=0<ze.length?"{key: someKey, "+ze.join(": ..., ")+": ...}":"{key: someKey}",Se[pe+Z]||(ze=0<ze.length?"{"+ze.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
30
+ let props = %s;
31
+ <%s {...props} />
32
+ React keys must be passed directly to JSX without using spread:
33
+ let props = %s;
34
+ <%s key={someKey} {...props} />`,Z,pe,ze,pe),Se[pe+Z]=!0)}if(pe=null,X!==void 0&&(s(X),pe=""+X),m(ae)&&(s(ae.key),pe=""+ae.key),"key"in ae){X={};for(var st in ae)st!=="key"&&(X[st]=ae[st])}else X=ae;return pe&&p(X,typeof O=="function"?O.displayName||O.name||"Unknown":O),x(O,pe,X,c(),xe,Ie)}function g(O){S(O)?O._store&&(O._store.validated=1):typeof O=="object"&&O!==null&&O.$$typeof===oe&&(O._payload.status==="fulfilled"?S(O._payload.value)&&O._payload.value._store&&(O._payload.value._store.validated=1):O._store&&(O._store.validated=1))}function S(O){return typeof O=="object"&&O!==null&&O.$$typeof===T}var C=hi(),T=Symbol.for("react.transitional.element"),D=Symbol.for("react.portal"),V=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),ee=Symbol.for("react.consumer"),ie=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),te=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),oe=Symbol.for("react.lazy"),I=Symbol.for("react.activity"),ue=Symbol.for("react.client.reference"),K=C.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne=Object.prototype.hasOwnProperty,me=Array.isArray,ve=console.createTask?console.createTask:function(){return null};C={react_stack_bottom_frame:function(O){return O()}};var q,F={},B=C.react_stack_bottom_frame.bind(C,f)(),fe=ve(u(f)),Se={};Mf.Fragment=V,Mf.jsxDEV=function(O,ae,X,Z){var xe=1e4>K.recentlyCreatedOwnerStacks++;return E(O,ae,X,Z,xe?Error("react-stack-top-frame"):B,xe?ve(u(O)):fe)}})(),Mf}var aN;function gA(){return aN||(aN=1,tg.exports=bA()),tg.exports}var v=gA(),Wl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(a){return this.listeners.add(a),this.onSubscribe(),()=>{this.listeners.delete(a),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},yA={setTimeout:(a,r)=>setTimeout(a,r),clearTimeout:a=>clearTimeout(a),setInterval:(a,r)=>setInterval(a,r),clearInterval:a=>clearInterval(a)},vA=class{#t=yA;#e=!1;setTimeoutProvider(a){this.#e&&a!==this.#t&&console.error("[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.",{previous:this.#t,provider:a}),this.#t=a,this.#e=!1}setTimeout(a,r){return this.#e=!0,this.#t.setTimeout(a,r)}clearTimeout(a){this.#t.clearTimeout(a)}setInterval(a,r){return this.#e=!0,this.#t.setInterval(a,r)}clearInterval(a){this.#t.clearInterval(a)}},Fl=new vA;function xA(a){setTimeout(a,0)}var Zl=typeof window>"u"||"Deno"in globalThis;function hn(){}function wA(a,r){return typeof a=="function"?a(r):a}function xg(a){return typeof a=="number"&&a>=0&&a!==1/0}function mE(a,r){return Math.max(a+(r||0)-Date.now(),0)}function Wr(a,r){return typeof a=="function"?a(r):a}function ba(a,r){return typeof a=="function"?a(r):a}function oN(a,r){const{type:s="all",exact:u,fetchStatus:c,predicate:f,queryKey:m,stale:p}=a;if(m){if(u){if(r.queryHash!==Ig(m,r.options))return!1}else if(!rc(r.queryKey,m))return!1}if(s!=="all"){const b=r.isActive();if(s==="active"&&!b||s==="inactive"&&b)return!1}return!(typeof p=="boolean"&&r.isStale()!==p||c&&c!==r.state.fetchStatus||f&&!f(r))}function rN(a,r){const{exact:s,status:u,predicate:c,mutationKey:f}=a;if(f){if(!r.options.mutationKey)return!1;if(s){if(el(r.options.mutationKey)!==el(f))return!1}else if(!rc(r.options.mutationKey,f))return!1}return!(u&&r.state.status!==u||c&&!c(r))}function Ig(a,r){return(r?.queryKeyHashFn||el)(a)}function el(a){return JSON.stringify(a,(r,s)=>wg(s)?Object.keys(s).sort().reduce((u,c)=>(u[c]=s[c],u),{}):s)}function rc(a,r){return a===r?!0:typeof a!=typeof r?!1:a&&r&&typeof a=="object"&&typeof r=="object"?Object.keys(r).every(s=>rc(a[s],r[s])):!1}var SA=Object.prototype.hasOwnProperty;function Ff(a,r,s=0){if(a===r)return a;if(s>500)return r;const u=lN(a)&&lN(r);if(!u&&!(wg(a)&&wg(r)))return r;const f=(u?a:Object.keys(a)).length,m=u?r:Object.keys(r),p=m.length,b=u?new Array(p):{};let x=0;for(let E=0;E<p;E++){const g=u?E:m[E],S=a[g],C=r[g];if(S===C){b[g]=S,(u?E<f:SA.call(a,g))&&x++;continue}if(S===null||C===null||typeof S!="object"||typeof C!="object"){b[g]=C;continue}const T=Ff(S,C,s+1);b[g]=T,T===S&&x++}return f===p&&x===f?a:b}function lc(a,r){if(!r||Object.keys(a).length!==Object.keys(r).length)return!1;for(const s in a)if(a[s]!==r[s])return!1;return!0}function lN(a){return Array.isArray(a)&&a.length===Object.keys(a).length}function wg(a){if(!sN(a))return!1;const r=a.constructor;if(r===void 0)return!0;const s=r.prototype;return!(!sN(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(a)!==Object.prototype)}function sN(a){return Object.prototype.toString.call(a)==="[object Object]"}function NA(a){return new Promise(r=>{Fl.setTimeout(r,a)})}function Sg(a,r,s){if(typeof s.structuralSharing=="function")return s.structuralSharing(a,r);if(s.structuralSharing!==!1){try{return Ff(a,r)}catch(u){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${s.queryHash}]: ${u}`),u}return Ff(a,r)}return r}function EA(a,r,s=0){const u=[...a,r];return s&&u.length>s?u.slice(1):u}function CA(a,r,s=0){const u=[r,...a];return s&&u.length>s?u.slice(0,-1):u}var un=Symbol();function hE(a,r){return a.queryFn===un&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${a.queryHash}'`),!a.queryFn&&r?.initialPromise?()=>r.initialPromise:!a.queryFn||a.queryFn===un?()=>Promise.reject(new Error(`Missing queryFn: '${a.queryHash}'`)):a.queryFn}function Xg(a,r){return typeof a=="function"?a(...r):!!a}function TA(a,r,s){let u=!1,c;return Object.defineProperty(a,"signal",{enumerable:!0,get:()=>(c??=r(),u||(u=!0,c.aborted?s():c.addEventListener("abort",s,{once:!0})),c)}),a}var DA=class extends Wl{#t;#e;#n;constructor(){super(),this.#n=a=>{if(!Zl&&window.addEventListener){const r=()=>a();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(a){this.#n=a,this.#e?.(),this.#e=a(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(a){this.#t!==a&&(this.#t=a,this.onFocus())}onFocus(){const a=this.isFocused();this.listeners.forEach(r=>{r(a)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},Fg=new DA;function Ng(){let a,r;const s=new Promise((c,f)=>{a=c,r=f});s.status="pending",s.catch(()=>{});function u(c){Object.assign(s,c),delete s.resolve,delete s.reject}return s.resolve=c=>{u({status:"fulfilled",value:c}),a(c)},s.reject=c=>{u({status:"rejected",reason:c}),r(c)},s}var OA=xA;function RA(){let a=[],r=0,s=p=>{p()},u=p=>{p()},c=OA;const f=p=>{r?a.push(p):c(()=>{s(p)})},m=()=>{const p=a;a=[],p.length&&c(()=>{u(()=>{p.forEach(b=>{s(b)})})})};return{batch:p=>{let b;r++;try{b=p()}finally{r--,r||m()}return b},batchCalls:p=>(...b)=>{f(()=>{p(...b)})},schedule:f,setNotifyFunction:p=>{s=p},setBatchNotifyFunction:p=>{u=p},setScheduler:p=>{c=p}}}var jt=RA(),AA=class extends Wl{#t=!0;#e;#n;constructor(){super(),this.#n=a=>{if(!Zl&&window.addEventListener){const r=()=>a(!0),s=()=>a(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(a){this.#n=a,this.#e?.(),this.#e=a(this.setOnline.bind(this))}setOnline(a){this.#t!==a&&(this.#t=a,this.listeners.forEach(s=>{s(a)}))}isOnline(){return this.#t}},Zf=new AA;function _A(a){return Math.min(1e3*2**a,3e4)}function pE(a){return(a??"online")==="online"?Zf.isOnline():!0}var Eg=class extends Error{constructor(a){super("CancelledError"),this.revert=a?.revert,this.silent=a?.silent}};function bE(a){let r=!1,s=0,u;const c=Ng(),f=()=>c.status!=="pending",m=D=>{if(!f()){const V=new Eg(D);S(V),a.onCancel?.(V)}},p=()=>{r=!0},b=()=>{r=!1},x=()=>Fg.isFocused()&&(a.networkMode==="always"||Zf.isOnline())&&a.canRun(),E=()=>pE(a.networkMode)&&a.canRun(),g=D=>{f()||(u?.(),c.resolve(D))},S=D=>{f()||(u?.(),c.reject(D))},C=()=>new Promise(D=>{u=V=>{(f()||x())&&D(V)},a.onPause?.()}).then(()=>{u=void 0,f()||a.onContinue?.()}),T=()=>{if(f())return;let D;const V=s===0?a.initialPromise:void 0;try{D=V??a.fn()}catch(j){D=Promise.reject(j)}Promise.resolve(D).then(g).catch(j=>{if(f())return;const U=a.retry??(Zl?0:3),ee=a.retryDelay??_A,ie=typeof ee=="function"?ee(s,j):ee,W=U===!0||typeof U=="number"&&s<U||typeof U=="function"&&U(s,j);if(r||!W){S(j);return}s++,a.onFail?.(s,j),NA(ie).then(()=>x()?void 0:C()).then(()=>{r?S(j):T()})})};return{promise:c,status:()=>c.status,cancel:m,continue:()=>(u?.(),c),cancelRetry:p,continueRetry:b,canStart:E,start:()=>(E()?T():C().then(T),c)}}var gE=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),xg(this.gcTime)&&(this.#t=Fl.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(a){this.gcTime=Math.max(this.gcTime||0,a??(Zl?1/0:300*1e3))}clearGcTimeout(){this.#t&&(Fl.clearTimeout(this.#t),this.#t=void 0)}},jA=class extends gE{#t;#e;#n;#o;#a;#r;#s;constructor(a){super(),this.#s=!1,this.#r=a.defaultOptions,this.setOptions(a.options),this.observers=[],this.#o=a.client,this.#n=this.#o.getQueryCache(),this.queryKey=a.queryKey,this.queryHash=a.queryHash,this.#t=uN(this.options),this.state=a.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#a?.promise}setOptions(a){if(this.options={...this.#r,...a},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const r=uN(this.options);r.data!==void 0&&(this.setState(iN(r.data,r.dataUpdatedAt)),this.#t=r)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(a,r){const s=Sg(this.state.data,a,this.options);return this.#l({data:s,type:"success",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),s}setState(a,r){this.#l({type:"setState",state:a,setStateOptions:r})}cancel(a){const r=this.#a?.promise;return this.#a?.cancel(a),r?r.then(hn).catch(hn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#t)}isActive(){return this.observers.some(a=>ba(a.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===un||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(a=>Wr(a.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(a=>a.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(a=0){return this.state.data===void 0?!0:a==="static"?!1:this.state.isInvalidated?!0:!mE(this.state.dataUpdatedAt,a)}onFocus(){this.observers.find(r=>r.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(r=>r.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(a){this.observers.includes(a)||(this.observers.push(a),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:a}))}removeObserver(a){this.observers.includes(a)&&(this.observers=this.observers.filter(r=>r!==a),this.observers.length||(this.#a&&(this.#s?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:a}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}async fetch(a,r){if(this.state.fetchStatus!=="idle"&&this.#a?.status()!=="rejected"){if(this.state.data!==void 0&&r?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(a&&this.setOptions(a),!this.options.queryFn){const p=this.observers.find(b=>b.options.queryFn);p&&this.setOptions(p.options)}Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']");const s=new AbortController,u=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(this.#s=!0,s.signal)})},c=()=>{const p=hE(this.options,r),x=(()=>{const E={client:this.#o,queryKey:this.queryKey,meta:this.meta};return u(E),E})();return this.#s=!1,this.options.persister?this.options.persister(p,x,this):p(x)},m=(()=>{const p={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:this.#o,state:this.state,fetchFn:c};return u(p),p})();this.options.behavior?.onFetch(m,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==m.fetchOptions?.meta)&&this.#l({type:"fetch",meta:m.fetchOptions?.meta}),this.#a=bE({initialPromise:r?.initialPromise,fn:m.fetchFn,onCancel:p=>{p instanceof Eg&&p.revert&&this.setState({...this.#e,fetchStatus:"idle"}),s.abort()},onFail:(p,b)=>{this.#l({type:"failed",failureCount:p,error:b})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:m.options.retry,retryDelay:m.options.retryDelay,networkMode:m.options.networkMode,canRun:()=>!0});try{const p=await this.#a.start();if(p===void 0)throw console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),new Error(`${this.queryHash} data is undefined`);return this.setData(p),this.#n.config.onSuccess?.(p,this),this.#n.config.onSettled?.(p,this.state.error,this),p}catch(p){if(p instanceof Eg){if(p.silent)return this.#a.promise;if(p.revert){if(this.state.data===void 0)throw p;return this.state.data}}throw this.#l({type:"error",error:p}),this.#n.config.onError?.(p,this),this.#n.config.onSettled?.(this.state.data,p,this),p}finally{this.scheduleGc()}}#l(a){const r=s=>{switch(a.type){case"failed":return{...s,fetchFailureCount:a.failureCount,fetchFailureReason:a.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...yE(s.data,this.options),fetchMeta:a.meta??null};case"success":const u={...s,...iN(a.data,a.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!a.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#e=a.manual?u:void 0,u;case"error":const c=a.error;return{...s,error:c,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...a.state}}};this.state=r(this.state),jt.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:a})})}};function yE(a,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:pE(r.networkMode)?"fetching":"paused",...a===void 0&&{error:null,status:"pending"}}}function iN(a,r){return{data:a,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function uN(a){const r=typeof a.initialData=="function"?a.initialData():a.initialData,s=r!==void 0,u=s?typeof a.initialDataUpdatedAt=="function"?a.initialDataUpdatedAt():a.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:s?u??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var mc=class extends Wl{constructor(a,r){super(),this.options=r,this.#t=a,this.#l=null,this.#s=Ng(),this.bindMethods(),this.setOptions(r)}#t;#e=void 0;#n=void 0;#o=void 0;#a;#r;#s;#l;#h;#d;#f;#u;#c;#i;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),cN(this.#e,this.options)?this.#p():this.updateResult(),this.#v())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Cg(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Cg(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#x(),this.#w(),this.#e.removeObserver(this)}setOptions(a){const r=this.options,s=this.#e;if(this.options=this.#t.defaultQueryOptions(a),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof ba(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#S(),this.#e.setOptions(this.options),r._defaulted&&!lc(this.options,r)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const u=this.hasListeners();u&&dN(this.#e,s,this.options,r)&&this.#p(),this.updateResult(),u&&(this.#e!==s||ba(this.options.enabled,this.#e)!==ba(r.enabled,this.#e)||Wr(this.options.staleTime,this.#e)!==Wr(r.staleTime,this.#e))&&this.#b();const c=this.#g();u&&(this.#e!==s||ba(this.options.enabled,this.#e)!==ba(r.enabled,this.#e)||c!==this.#i)&&this.#y(c)}getOptimisticResult(a){const r=this.#t.getQueryCache().build(this.#t,a),s=this.createResult(r,a);return zA(this,s)&&(this.#o=s,this.#r=this.options,this.#a=this.#e.state),s}getCurrentResult(){return this.#o}trackResult(a,r){return new Proxy(a,{get:(s,u)=>(this.trackProp(u),r?.(u),u==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#s.status==="pending"&&this.#s.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(s,u))})}trackProp(a){this.#m.add(a)}getCurrentQuery(){return this.#e}refetch({...a}={}){return this.fetch({...a})}fetchOptimistic(a){const r=this.#t.defaultQueryOptions(a),s=this.#t.getQueryCache().build(this.#t,r);return s.fetch().then(()=>this.createResult(s,r))}fetch(a){return this.#p({...a,cancelRefetch:a.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#o))}#p(a){this.#S();let r=this.#e.fetch(this.options,a);return a?.throwOnError||(r=r.catch(hn)),r}#b(){this.#x();const a=Wr(this.options.staleTime,this.#e);if(Zl||this.#o.isStale||!xg(a))return;const s=mE(this.#o.dataUpdatedAt,a)+1;this.#u=Fl.setTimeout(()=>{this.#o.isStale||this.updateResult()},s)}#g(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#y(a){this.#w(),this.#i=a,!(Zl||ba(this.options.enabled,this.#e)===!1||!xg(this.#i)||this.#i===0)&&(this.#c=Fl.setInterval(()=>{(this.options.refetchIntervalInBackground||Fg.isFocused())&&this.#p()},this.#i))}#v(){this.#b(),this.#y(this.#g())}#x(){this.#u&&(Fl.clearTimeout(this.#u),this.#u=void 0)}#w(){this.#c&&(Fl.clearInterval(this.#c),this.#c=void 0)}createResult(a,r){const s=this.#e,u=this.options,c=this.#o,f=this.#a,m=this.#r,b=a!==s?a.state:this.#n,{state:x}=a;let E={...x},g=!1,S;if(r._optimisticResults){const Q=this.hasListeners(),oe=!Q&&cN(a,r),I=Q&&dN(a,s,r,u);(oe||I)&&(E={...E,...yE(x.data,a.options)}),r._optimisticResults==="isRestoring"&&(E.fetchStatus="idle")}let{error:C,errorUpdatedAt:T,status:D}=E;S=E.data;let V=!1;if(r.placeholderData!==void 0&&S===void 0&&D==="pending"){let Q;c?.isPlaceholderData&&r.placeholderData===m?.placeholderData?(Q=c.data,V=!0):Q=typeof r.placeholderData=="function"?r.placeholderData(this.#f?.state.data,this.#f):r.placeholderData,Q!==void 0&&(D="success",S=Sg(c?.data,Q,r),g=!0)}if(r.select&&S!==void 0&&!V)if(c&&S===f?.data&&r.select===this.#h)S=this.#d;else try{this.#h=r.select,S=r.select(S),S=Sg(c?.data,S,r),this.#d=S,this.#l=null}catch(Q){this.#l=Q}this.#l&&(C=this.#l,S=this.#d,T=Date.now(),D="error");const j=E.fetchStatus==="fetching",U=D==="pending",ee=D==="error",ie=U&&j,W=S!==void 0,P={status:D,fetchStatus:E.fetchStatus,isPending:U,isSuccess:D==="success",isError:ee,isInitialLoading:ie,isLoading:ie,data:S,dataUpdatedAt:E.dataUpdatedAt,error:C,errorUpdatedAt:T,failureCount:E.fetchFailureCount,failureReason:E.fetchFailureReason,errorUpdateCount:E.errorUpdateCount,isFetched:E.dataUpdateCount>0||E.errorUpdateCount>0,isFetchedAfterMount:E.dataUpdateCount>b.dataUpdateCount||E.errorUpdateCount>b.errorUpdateCount,isFetching:j,isRefetching:j&&!U,isLoadingError:ee&&!W,isPaused:E.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:ee&&W,isStale:Zg(a,r),refetch:this.refetch,promise:this.#s,isEnabled:ba(r.enabled,a)!==!1};if(this.options.experimental_prefetchInRender){const Q=P.data!==void 0,oe=P.status==="error"&&!Q,I=ne=>{oe?ne.reject(P.error):Q&&ne.resolve(P.data)},ue=()=>{const ne=this.#s=P.promise=Ng();I(ne)},K=this.#s;switch(K.status){case"pending":a.queryHash===s.queryHash&&I(K);break;case"fulfilled":(oe||P.data!==K.value)&&ue();break;case"rejected":(!oe||P.error!==K.reason)&&ue();break}}return P}updateResult(){const a=this.#o,r=this.createResult(this.#e,this.options);if(this.#a=this.#e.state,this.#r=this.options,this.#a.data!==void 0&&(this.#f=this.#e),lc(r,a))return;this.#o=r;const s=()=>{if(!a)return!0;const{notifyOnChangeProps:u}=this.options,c=typeof u=="function"?u():u;if(c==="all"||!c&&!this.#m.size)return!0;const f=new Set(c??this.#m);return this.options.throwOnError&&f.add("error"),Object.keys(this.#o).some(m=>{const p=m;return this.#o[p]!==a[p]&&f.has(p)})};this.#N({listeners:s()})}#S(){const a=this.#t.getQueryCache().build(this.#t,this.options);if(a===this.#e)return;const r=this.#e;this.#e=a,this.#n=a.state,this.hasListeners()&&(r?.removeObserver(this),a.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#v()}#N(a){jt.batch(()=>{a.listeners&&this.listeners.forEach(r=>{r(this.#o)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function MA(a,r){return ba(r.enabled,a)!==!1&&a.state.data===void 0&&!(a.state.status==="error"&&r.retryOnMount===!1)}function cN(a,r){return MA(a,r)||a.state.data!==void 0&&Cg(a,r,r.refetchOnMount)}function Cg(a,r,s){if(ba(r.enabled,a)!==!1&&Wr(r.staleTime,a)!=="static"){const u=typeof s=="function"?s(a):s;return u==="always"||u!==!1&&Zg(a,r)}return!1}function dN(a,r,s,u){return(a!==r||ba(u.enabled,a)===!1)&&(!s.suspense||a.state.status!=="error")&&Zg(a,s)}function Zg(a,r){return ba(r.enabled,a)!==!1&&a.isStaleByTime(Wr(r.staleTime,a))}function zA(a,r){return!lc(a.getCurrentResult(),r)}function Jf(a){return{onFetch:(r,s)=>{const u=r.options,c=r.fetchOptions?.meta?.fetchMore?.direction,f=r.state.data?.pages||[],m=r.state.data?.pageParams||[];let p={pages:[],pageParams:[]},b=0;const x=async()=>{let E=!1;const g=T=>{TA(T,()=>r.signal,()=>E=!0)},S=hE(r.options,r.fetchOptions),C=async(T,D,V)=>{if(E)return Promise.reject();if(D==null&&T.pages.length)return Promise.resolve(T);const U=(()=>{const te={client:r.client,queryKey:r.queryKey,pageParam:D,direction:V?"backward":"forward",meta:r.options.meta};return g(te),te})(),ee=await S(U),{maxPages:ie}=r.options,W=V?CA:EA;return{pages:W(T.pages,ee,ie),pageParams:W(T.pageParams,D,ie)}};if(c&&f.length){const T=c==="backward",D=T?vE:Tg,V={pages:f,pageParams:m},j=D(u,V);p=await C(V,j,T)}else{const T=a??f.length;do{const D=b===0?m[0]??u.initialPageParam:Tg(u,p);if(b>0&&D==null)break;p=await C(p,D),b++}while(b<T)}return p};r.options.persister?r.fetchFn=()=>r.options.persister?.(x,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},s):r.fetchFn=x}}}function Tg(a,{pages:r,pageParams:s}){const u=r.length-1;return r.length>0?a.getNextPageParam(r[u],r,s[u],s):void 0}function vE(a,{pages:r,pageParams:s}){return r.length>0?a.getPreviousPageParam?.(r[0],r,s[0],s):void 0}function kA(a,r){return r?Tg(a,r)!=null:!1}function VA(a,r){return!r||!a.getPreviousPageParam?!1:vE(a,r)!=null}var xE=class extends mc{constructor(a,r){super(a,r)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(a){super.setOptions({...a,behavior:Jf()})}getOptimisticResult(a){return a.behavior=Jf(),super.getOptimisticResult(a)}fetchNextPage(a){return this.fetch({...a,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(a){return this.fetch({...a,meta:{fetchMore:{direction:"backward"}}})}createResult(a,r){const{state:s}=a,u=super.createResult(a,r),{isFetching:c,isRefetching:f,isError:m,isRefetchError:p}=u,b=s.fetchMeta?.fetchMore?.direction,x=m&&b==="forward",E=c&&b==="forward",g=m&&b==="backward",S=c&&b==="backward";return{...u,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:kA(r,s.data),hasPreviousPage:VA(r,s.data),isFetchNextPageError:x,isFetchingNextPage:E,isFetchPreviousPageError:g,isFetchingPreviousPage:S,isRefetchError:p&&!x&&!g,isRefetching:f&&!E&&!S}}},UA=class extends gE{#t;#e;#n;#o;constructor(a){super(),this.#t=a.client,this.mutationId=a.mutationId,this.#n=a.mutationCache,this.#e=[],this.state=a.state||wE(),this.setOptions(a.options),this.scheduleGc()}setOptions(a){this.options=a,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(a){this.#e.includes(a)||(this.#e.push(a),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:a}))}removeObserver(a){this.#e=this.#e.filter(r=>r!==a),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:a})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#o?.continue()??this.execute(this.state.variables)}async execute(a){const r=()=>{this.#a({type:"continue"})},s={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#o=bE({fn:()=>this.options.mutationFn?this.options.mutationFn(a,s):Promise.reject(new Error("No mutationFn found")),onFail:(f,m)=>{this.#a({type:"failed",failureCount:f,error:m})},onPause:()=>{this.#a({type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const u=this.state.status==="pending",c=!this.#o.canStart();try{if(u)r();else{this.#a({type:"pending",variables:a,isPaused:c}),this.#n.config.onMutate&&await this.#n.config.onMutate(a,this,s);const m=await this.options.onMutate?.(a,s);m!==this.state.context&&this.#a({type:"pending",context:m,variables:a,isPaused:c})}const f=await this.#o.start();return await this.#n.config.onSuccess?.(f,a,this.state.context,this,s),await this.options.onSuccess?.(f,a,this.state.context,s),await this.#n.config.onSettled?.(f,null,this.state.variables,this.state.context,this,s),await this.options.onSettled?.(f,null,a,this.state.context,s),this.#a({type:"success",data:f}),f}catch(f){try{await this.#n.config.onError?.(f,a,this.state.context,this,s)}catch(m){Promise.reject(m)}try{await this.options.onError?.(f,a,this.state.context,s)}catch(m){Promise.reject(m)}try{await this.#n.config.onSettled?.(void 0,f,this.state.variables,this.state.context,this,s)}catch(m){Promise.reject(m)}try{await this.options.onSettled?.(void 0,f,a,this.state.context,s)}catch(m){Promise.reject(m)}throw this.#a({type:"error",error:f}),f}finally{this.#n.runNext(this)}}#a(a){const r=s=>{switch(a.type){case"failed":return{...s,failureCount:a.failureCount,failureReason:a.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:a.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:a.isPaused,status:"pending",variables:a.variables,submittedAt:Date.now()};case"success":return{...s,data:a.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:a.error,failureCount:s.failureCount+1,failureReason:a.error,isPaused:!1,status:"error"}}};this.state=r(this.state),jt.batch(()=>{this.#e.forEach(s=>{s.onMutationUpdate(a)}),this.#n.notify({mutation:this,type:"updated",action:a})})}};function wE(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var HA=class extends Wl{constructor(a={}){super(),this.config=a,this.#t=new Set,this.#e=new Map,this.#n=0}#t;#e;#n;build(a,r,s){const u=new UA({client:a,mutationCache:this,mutationId:++this.#n,options:a.defaultMutationOptions(r),state:s});return this.add(u),u}add(a){this.#t.add(a);const r=zf(a);if(typeof r=="string"){const s=this.#e.get(r);s?s.push(a):this.#e.set(r,[a])}this.notify({type:"added",mutation:a})}remove(a){if(this.#t.delete(a)){const r=zf(a);if(typeof r=="string"){const s=this.#e.get(r);if(s)if(s.length>1){const u=s.indexOf(a);u!==-1&&s.splice(u,1)}else s[0]===a&&this.#e.delete(r)}}this.notify({type:"removed",mutation:a})}canRun(a){const r=zf(a);if(typeof r=="string"){const u=this.#e.get(r)?.find(c=>c.state.status==="pending");return!u||u===a}else return!0}runNext(a){const r=zf(a);return typeof r=="string"?this.#e.get(r)?.find(u=>u!==a&&u.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){jt.batch(()=>{this.#t.forEach(a=>{this.notify({type:"removed",mutation:a})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(a){const r={exact:!0,...a};return this.getAll().find(s=>rN(r,s))}findAll(a={}){return this.getAll().filter(r=>rN(a,r))}notify(a){jt.batch(()=>{this.listeners.forEach(r=>{r(a)})})}resumePausedMutations(){const a=this.getAll().filter(r=>r.state.isPaused);return jt.batch(()=>Promise.all(a.map(r=>r.continue().catch(hn))))}};function zf(a){return a.options.scope?.id}var LA=class extends Wl{#t;#e=void 0;#n;#o;constructor(r,s){super(),this.#t=r,this.setOptions(s),this.bindMethods(),this.#a()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(r){const s=this.options;this.options=this.#t.defaultMutationOptions(r),lc(this.options,s)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),s?.mutationKey&&this.options.mutationKey&&el(s.mutationKey)!==el(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(r){this.#a(),this.#r(r)}getCurrentResult(){return this.#e}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#a(),this.#r()}mutate(r,s){return this.#o=s,this.#n?.removeObserver(this),this.#n=this.#t.getMutationCache().build(this.#t,this.options),this.#n.addObserver(this),this.#n.execute(r)}#a(){const r=this.#n?.state??wE();this.#e={...r,isPending:r.status==="pending",isSuccess:r.status==="success",isError:r.status==="error",isIdle:r.status==="idle",mutate:this.mutate,reset:this.reset}}#r(r){jt.batch(()=>{if(this.#o&&this.hasListeners()){const s=this.#e.variables,u=this.#e.context,c={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(r?.type==="success"){try{this.#o.onSuccess?.(r.data,s,u,c)}catch(f){Promise.reject(f)}try{this.#o.onSettled?.(r.data,null,s,u,c)}catch(f){Promise.reject(f)}}else if(r?.type==="error"){try{this.#o.onError?.(r.error,s,u,c)}catch(f){Promise.reject(f)}try{this.#o.onSettled?.(void 0,r.error,s,u,c)}catch(f){Promise.reject(f)}}}this.listeners.forEach(s=>{s(this.#e)})})}};function fN(a,r){const s=new Set(r);return a.filter(u=>!s.has(u))}function qA(a,r,s){const u=a.slice(0);return u[r]=s,u}var BA=class extends Wl{#t;#e;#n;#o;#a;#r;#s;#l;#h;#d=[];constructor(a,r,s){super(),this.#t=a,this.#o=s,this.#n=[],this.#a=[],this.#e=[],this.setQueries(r)}onSubscribe(){this.listeners.size===1&&this.#a.forEach(a=>{a.subscribe(r=>{this.#i(a,r)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#a.forEach(a=>{a.destroy()})}setQueries(a,r){this.#n=a,this.#o=r;{const s=a.map(u=>this.#t.defaultQueryOptions(u).queryHash);new Set(s).size!==s.length&&console.warn("[QueriesObserver]: Duplicate Queries found. This might result in unexpected behavior.")}jt.batch(()=>{const s=this.#a,u=this.#c(this.#n);u.forEach(E=>E.observer.setOptions(E.defaultedQueryOptions));const c=u.map(E=>E.observer),f=c.map(E=>E.getCurrentResult()),m=s.length!==c.length,p=c.some((E,g)=>E!==s[g]),b=m||p,x=b?!0:f.some((E,g)=>{const S=this.#e[g];return!S||!lc(E,S)});!b&&!x||(b&&(this.#d=u,this.#a=c),this.#e=f,this.hasListeners()&&(b&&(fN(s,c).forEach(E=>{E.destroy()}),fN(c,s).forEach(E=>{E.subscribe(g=>{this.#i(E,g)})})),this.#m()))})}getCurrentResult(){return this.#e}getQueries(){return this.#a.map(a=>a.getCurrentQuery())}getObservers(){return this.#a}getOptimisticResult(a,r){const s=this.#c(a),u=s.map(f=>f.observer.getOptimisticResult(f.defaultedQueryOptions)),c=s.map(f=>f.defaultedQueryOptions.queryHash);return[u,f=>this.#u(f??u,r,c),()=>this.#f(u,s)]}#f(a,r){return r.map((s,u)=>{const c=a[u];return s.defaultedQueryOptions.notifyOnChangeProps?c:s.observer.trackResult(c,f=>{r.forEach(m=>{m.observer.trackProp(f)})})})}#u(a,r,s){if(r){const u=this.#h,c=s!==void 0&&u!==void 0&&(u.length!==s.length||s.some((f,m)=>f!==u[m]));return(!this.#r||this.#e!==this.#l||c||r!==this.#s)&&(this.#s=r,this.#l=this.#e,s!==void 0&&(this.#h=s),this.#r=Ff(this.#r,r(a))),this.#r}return a}#c(a){const r=new Map;this.#a.forEach(u=>{const c=u.options.queryHash;if(!c)return;const f=r.get(c);f?f.push(u):r.set(c,[u])});const s=[];return a.forEach(u=>{const c=this.#t.defaultQueryOptions(u),m=r.get(c.queryHash)?.shift()??new mc(this.#t,c);s.push({defaultedQueryOptions:c,observer:m})}),s}#i(a,r){const s=this.#a.indexOf(a);s!==-1&&(this.#e=qA(this.#e,s,r),this.#m())}#m(){if(this.hasListeners()){const a=this.#r,r=this.#f(this.#e,this.#d),s=this.#u(r,this.#o?.combine);a!==s&&jt.batch(()=>{this.listeners.forEach(u=>{u(this.#e)})})}}},PA=class extends Wl{constructor(a={}){super(),this.config=a,this.#t=new Map}#t;build(a,r,s){const u=r.queryKey,c=r.queryHash??Ig(u,r);let f=this.get(c);return f||(f=new jA({client:a,queryKey:u,queryHash:c,options:a.defaultQueryOptions(r),state:s,defaultOptions:a.getQueryDefaults(u)}),this.add(f)),f}add(a){this.#t.has(a.queryHash)||(this.#t.set(a.queryHash,a),this.notify({type:"added",query:a}))}remove(a){const r=this.#t.get(a.queryHash);r&&(a.destroy(),r===a&&this.#t.delete(a.queryHash),this.notify({type:"removed",query:a}))}clear(){jt.batch(()=>{this.getAll().forEach(a=>{this.remove(a)})})}get(a){return this.#t.get(a)}getAll(){return[...this.#t.values()]}find(a){const r={exact:!0,...a};return this.getAll().find(s=>oN(r,s))}findAll(a={}){const r=this.getAll();return Object.keys(a).length>0?r.filter(s=>oN(a,s)):r}notify(a){jt.batch(()=>{this.listeners.forEach(r=>{r(a)})})}onFocus(){jt.batch(()=>{this.getAll().forEach(a=>{a.onFocus()})})}onOnline(){jt.batch(()=>{this.getAll().forEach(a=>{a.onOnline()})})}},QA=class{#t;#e;#n;#o;#a;#r;#s;#l;constructor(a={}){this.#t=a.queryCache||new PA,this.#e=a.mutationCache||new HA,this.#n=a.defaultOptions||{},this.#o=new Map,this.#a=new Map,this.#r=0}mount(){this.#r++,this.#r===1&&(this.#s=Fg.subscribe(async a=>{a&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#l=Zf.subscribe(async a=>{a&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#r--,this.#r===0&&(this.#s?.(),this.#s=void 0,this.#l?.(),this.#l=void 0)}isFetching(a){return this.#t.findAll({...a,fetchStatus:"fetching"}).length}isMutating(a){return this.#e.findAll({...a,status:"pending"}).length}getQueryData(a){const r=this.defaultQueryOptions({queryKey:a});return this.#t.get(r.queryHash)?.state.data}ensureQueryData(a){const r=this.defaultQueryOptions(a),s=this.#t.build(this,r),u=s.state.data;return u===void 0?this.fetchQuery(a):(a.revalidateIfStale&&s.isStaleByTime(Wr(r.staleTime,s))&&this.prefetchQuery(r),Promise.resolve(u))}getQueriesData(a){return this.#t.findAll(a).map(({queryKey:r,state:s})=>{const u=s.data;return[r,u]})}setQueryData(a,r,s){const u=this.defaultQueryOptions({queryKey:a}),f=this.#t.get(u.queryHash)?.state.data,m=wA(r,f);if(m!==void 0)return this.#t.build(this,u).setData(m,{...s,manual:!0})}setQueriesData(a,r,s){return jt.batch(()=>this.#t.findAll(a).map(({queryKey:u})=>[u,this.setQueryData(u,r,s)]))}getQueryState(a){const r=this.defaultQueryOptions({queryKey:a});return this.#t.get(r.queryHash)?.state}removeQueries(a){const r=this.#t;jt.batch(()=>{r.findAll(a).forEach(s=>{r.remove(s)})})}resetQueries(a,r){const s=this.#t;return jt.batch(()=>(s.findAll(a).forEach(u=>{u.reset()}),this.refetchQueries({type:"active",...a},r)))}cancelQueries(a,r={}){const s={revert:!0,...r},u=jt.batch(()=>this.#t.findAll(a).map(c=>c.cancel(s)));return Promise.all(u).then(hn).catch(hn)}invalidateQueries(a,r={}){return jt.batch(()=>(this.#t.findAll(a).forEach(s=>{s.invalidate()}),a?.refetchType==="none"?Promise.resolve():this.refetchQueries({...a,type:a?.refetchType??a?.type??"active"},r)))}refetchQueries(a,r={}){const s={...r,cancelRefetch:r.cancelRefetch??!0},u=jt.batch(()=>this.#t.findAll(a).filter(c=>!c.isDisabled()&&!c.isStatic()).map(c=>{let f=c.fetch(void 0,s);return s.throwOnError||(f=f.catch(hn)),c.state.fetchStatus==="paused"?Promise.resolve():f}));return Promise.all(u).then(hn)}fetchQuery(a){const r=this.defaultQueryOptions(a);r.retry===void 0&&(r.retry=!1);const s=this.#t.build(this,r);return s.isStaleByTime(Wr(r.staleTime,s))?s.fetch(r):Promise.resolve(s.state.data)}prefetchQuery(a){return this.fetchQuery(a).then(hn).catch(hn)}fetchInfiniteQuery(a){return a.behavior=Jf(a.pages),this.fetchQuery(a)}prefetchInfiniteQuery(a){return this.fetchInfiniteQuery(a).then(hn).catch(hn)}ensureInfiniteQueryData(a){return a.behavior=Jf(a.pages),this.ensureQueryData(a)}resumePausedMutations(){return Zf.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#n}setDefaultOptions(a){this.#n=a}setQueryDefaults(a,r){this.#o.set(el(a),{queryKey:a,defaultOptions:r})}getQueryDefaults(a){const r=[...this.#o.values()],s={};return r.forEach(u=>{rc(a,u.queryKey)&&Object.assign(s,u.defaultOptions)}),s}setMutationDefaults(a,r){this.#a.set(el(a),{mutationKey:a,defaultOptions:r})}getMutationDefaults(a){const r=[...this.#a.values()],s={};return r.forEach(u=>{rc(a,u.mutationKey)&&Object.assign(s,u.defaultOptions)}),s}defaultQueryOptions(a){if(a._defaulted)return a;const r={...this.#n.queries,...this.getQueryDefaults(a.queryKey),...a,_defaulted:!0};return r.queryHash||(r.queryHash=Ig(r.queryKey,r)),r.refetchOnReconnect===void 0&&(r.refetchOnReconnect=r.networkMode!=="always"),r.throwOnError===void 0&&(r.throwOnError=!!r.suspense),!r.networkMode&&r.persister&&(r.networkMode="offlineFirst"),r.queryFn===un&&(r.enabled=!1),r}defaultMutationOptions(a){return a?._defaulted?a:{...this.#n.mutations,...a?.mutationKey&&this.getMutationDefaults(a.mutationKey),...a,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},A=hi();const he=fE(A),Jg=hA({__proto__:null,default:he},[A]);var ag={exports:{}},Ju={},mN;function YA(){if(mN)return Ju;mN=1;/**
35
+ * @license React
36
+ * react-jsx-runtime.development.js
37
+ *
38
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
39
+ *
40
+ * This source code is licensed under the MIT license found in the
41
+ * LICENSE file in the root directory of this source tree.
42
+ */return(function(){function a(O){if(O==null)return null;if(typeof O=="function")return O.$$typeof===ue?null:O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case V:return"Fragment";case U:return"Profiler";case j:return"StrictMode";case te:return"Suspense";case P:return"SuspenseList";case I:return"Activity"}if(typeof O=="object")switch(typeof O.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),O.$$typeof){case D:return"Portal";case ie:return O.displayName||"Context";case ee:return(O._context.displayName||"Context")+".Consumer";case W:var ae=O.render;return O=O.displayName,O||(O=ae.displayName||ae.name||"",O=O!==""?"ForwardRef("+O+")":"ForwardRef"),O;case Q:return ae=O.displayName||null,ae!==null?ae:a(O.type)||"Memo";case oe:ae=O._payload,O=O._init;try{return a(O(ae))}catch{}}return null}function r(O){return""+O}function s(O){try{r(O);var ae=!1}catch{ae=!0}if(ae){ae=console;var X=ae.error,Z=typeof Symbol=="function"&&Symbol.toStringTag&&O[Symbol.toStringTag]||O.constructor.name||"Object";return X.call(ae,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Z),r(O)}}function u(O){if(O===V)return"<>";if(typeof O=="object"&&O!==null&&O.$$typeof===oe)return"<...>";try{var ae=a(O);return ae?"<"+ae+">":"<...>"}catch{return"<...>"}}function c(){var O=K.A;return O===null?null:O.getOwner()}function f(){return Error("react-stack-top-frame")}function m(O){if(ne.call(O,"key")){var ae=Object.getOwnPropertyDescriptor(O,"key").get;if(ae&&ae.isReactWarning)return!1}return O.key!==void 0}function p(O,ae){function X(){q||(q=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",ae))}X.isReactWarning=!0,Object.defineProperty(O,"key",{get:X,configurable:!0})}function b(){var O=a(this.type);return F[O]||(F[O]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),O=this.props.ref,O!==void 0?O:null}function x(O,ae,X,Z,xe,Ie){var pe=X.ref;return O={$$typeof:T,type:O,key:ae,props:X,_owner:Z},(pe!==void 0?pe:null)!==null?Object.defineProperty(O,"ref",{enumerable:!1,get:b}):Object.defineProperty(O,"ref",{enumerable:!1,value:null}),O._store={},Object.defineProperty(O._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(O,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(O,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:xe}),Object.defineProperty(O,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ie}),Object.freeze&&(Object.freeze(O.props),Object.freeze(O)),O}function E(O,ae,X,Z,xe,Ie){var pe=ae.children;if(pe!==void 0)if(Z)if(me(pe)){for(Z=0;Z<pe.length;Z++)g(pe[Z]);Object.freeze&&Object.freeze(pe)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else g(pe);if(ne.call(ae,"key")){pe=a(O);var ze=Object.keys(ae).filter(function(Ct){return Ct!=="key"});Z=0<ze.length?"{key: someKey, "+ze.join(": ..., ")+": ...}":"{key: someKey}",Se[pe+Z]||(ze=0<ze.length?"{"+ze.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
43
+ let props = %s;
44
+ <%s {...props} />
45
+ React keys must be passed directly to JSX without using spread:
46
+ let props = %s;
47
+ <%s key={someKey} {...props} />`,Z,pe,ze,pe),Se[pe+Z]=!0)}if(pe=null,X!==void 0&&(s(X),pe=""+X),m(ae)&&(s(ae.key),pe=""+ae.key),"key"in ae){X={};for(var st in ae)st!=="key"&&(X[st]=ae[st])}else X=ae;return pe&&p(X,typeof O=="function"?O.displayName||O.name||"Unknown":O),x(O,pe,X,c(),xe,Ie)}function g(O){S(O)?O._store&&(O._store.validated=1):typeof O=="object"&&O!==null&&O.$$typeof===oe&&(O._payload.status==="fulfilled"?S(O._payload.value)&&O._payload.value._store&&(O._payload.value._store.validated=1):O._store&&(O._store.validated=1))}function S(O){return typeof O=="object"&&O!==null&&O.$$typeof===T}var C=hi(),T=Symbol.for("react.transitional.element"),D=Symbol.for("react.portal"),V=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),ee=Symbol.for("react.consumer"),ie=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),te=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),oe=Symbol.for("react.lazy"),I=Symbol.for("react.activity"),ue=Symbol.for("react.client.reference"),K=C.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne=Object.prototype.hasOwnProperty,me=Array.isArray,ve=console.createTask?console.createTask:function(){return null};C={react_stack_bottom_frame:function(O){return O()}};var q,F={},B=C.react_stack_bottom_frame.bind(C,f)(),fe=ve(u(f)),Se={};Ju.Fragment=V,Ju.jsx=function(O,ae,X){var Z=1e4>K.recentlyCreatedOwnerStacks++;return E(O,ae,X,!1,Z?Error("react-stack-top-frame"):B,Z?ve(u(O)):fe)},Ju.jsxs=function(O,ae,X){var Z=1e4>K.recentlyCreatedOwnerStacks++;return E(O,ae,X,!0,Z?Error("react-stack-top-frame"):B,Z?ve(u(O)):fe)}})(),Ju}var hN;function $A(){return hN||(hN=1,ag.exports=YA()),ag.exports}var Fe=$A(),SE=A.createContext(void 0),hc=a=>{const r=A.useContext(SE);if(a)return a;if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r},GA=({client:a,children:r})=>(A.useEffect(()=>(a.mount(),()=>{a.unmount()}),[a]),Fe.jsx(SE.Provider,{value:a,children:r})),NE=A.createContext(!1),EE=()=>A.useContext(NE);NE.Provider;function IA(){let a=!1;return{clearReset:()=>{a=!1},reset:()=>{a=!0},isReset:()=>a}}var XA=A.createContext(IA()),CE=()=>A.useContext(XA),TE=(a,r,s)=>{const u=s?.state.error&&typeof a.throwOnError=="function"?Xg(a.throwOnError,[s.state.error,s]):a.throwOnError;(a.suspense||a.experimental_prefetchInRender||u)&&(r.isReset()||(a.retryOnMount=!1))},DE=a=>{A.useEffect(()=>{a.clearReset()},[a])},OE=({result:a,errorResetBoundary:r,throwOnError:s,query:u,suspense:c})=>a.isError&&!r.isReset()&&!a.isFetching&&u&&(c&&a.data===void 0||Xg(s,[a.error,u])),Kg=(a,r)=>r.state.data===void 0,RE=a=>{if(a.suspense){const s=c=>c==="static"?c:Math.max(c??1e3,1e3),u=a.staleTime;a.staleTime=typeof u=="function"?(...c)=>s(u(...c)):s(u),typeof a.gcTime=="number"&&(a.gcTime=Math.max(a.gcTime,1e3))}},AE=(a,r)=>a.isLoading&&a.isFetching&&!r,Dg=(a,r)=>a?.suspense&&r.isPending,Kf=(a,r,s)=>r.fetchOptimistic(a).catch(()=>{s.clearReset()});function _E({queries:a,...r},s){const u=hc(s),c=EE(),f=CE(),m=A.useMemo(()=>a.map(D=>{const V=u.defaultQueryOptions(D);return V._optimisticResults=c?"isRestoring":"optimistic",V}),[a,u,c]);m.forEach(D=>{RE(D);const V=u.getQueryCache().get(D.queryHash);TE(D,f,V)}),DE(f);const[p]=A.useState(()=>new BA(u,m,r)),[b,x,E]=p.getOptimisticResult(m,r.combine),g=!c&&r.subscribed!==!1;A.useSyncExternalStore(A.useCallback(D=>g?p.subscribe(jt.batchCalls(D)):hn,[p,g]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),A.useEffect(()=>{p.setQueries(m,r)},[m,r,p]);const C=b.some((D,V)=>Dg(m[V],D))?b.flatMap((D,V)=>{const j=m[V];if(j){const U=new mc(u,j);if(Dg(j,D))return Kf(j,U,f);AE(D,c)&&Kf(j,U,f)}return[]}):[];if(C.length>0)throw Promise.all(C);const T=b.find((D,V)=>{const j=m[V];return j&&OE({result:D,errorResetBoundary:f,throwOnError:j.throwOnError,query:u.getQueryCache().get(j.queryHash),suspense:j.suspense})});if(T?.error)throw T.error;return x(E())}function lm(a,r,s){if(typeof a!="object"||Array.isArray(a))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const u=EE(),c=CE(),f=hc(s),m=f.defaultQueryOptions(a);f.getDefaultOptions().queries?._experimental_beforeQuery?.(m);const p=f.getQueryCache().get(m.queryHash);m.queryFn||console.error(`[${m.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`),m._optimisticResults=u?"isRestoring":"optimistic",RE(m),TE(m,c,p),DE(c);const b=!f.getQueryCache().get(m.queryHash),[x]=A.useState(()=>new r(f,m)),E=x.getOptimisticResult(m),g=!u&&a.subscribed!==!1;if(A.useSyncExternalStore(A.useCallback(S=>{const C=g?x.subscribe(jt.batchCalls(S)):hn;return x.updateResult(),C},[x,g]),()=>x.getCurrentResult(),()=>x.getCurrentResult()),A.useEffect(()=>{x.setOptions(m)},[m,x]),Dg(m,E))throw Kf(m,x,c);if(OE({result:E,errorResetBoundary:c,throwOnError:m.throwOnError,query:p,suspense:m.suspense}))throw E.error;return f.getDefaultOptions().queries?._experimental_afterQuery?.(m,E),m.experimental_prefetchInRender&&!Zl&&AE(E,u)&&(b?Kf(m,x,c):p?.promise)?.catch(hn).finally(()=>{x.updateResult()}),m.notifyOnChangeProps?E:x.trackResult(E)}function FA(a,r){return lm(a,mc,r)}function ZA(a,r){return a.queryFn===un&&console.error("skipToken is not allowed for useSuspenseQuery"),lm({...a,enabled:!0,suspense:!0,throwOnError:Kg,placeholderData:void 0},mc,r)}function JA(a,r){return a.queryFn===un&&console.error("skipToken is not allowed for useSuspenseInfiniteQuery"),lm({...a,enabled:!0,suspense:!0,throwOnError:Kg},xE,r)}function KA(a,r){return _E({...a,queries:a.queries.map(s=>(s.queryFn===un&&console.error("skipToken is not allowed for useSuspenseQueries"),{...s,suspense:!0,throwOnError:Kg,enabled:!0,placeholderData:void 0}))},r)}function WA(a,r){const s=hc(r);s.getQueryState(a.queryKey)||s.prefetchQuery(a)}function e_(a,r){const s=hc(r);s.getQueryState(a.queryKey)||s.prefetchInfiniteQuery(a)}function t_(a,r){const s=hc(r),[u]=A.useState(()=>new LA(s,a));A.useEffect(()=>{u.setOptions(a)},[u,a]);const c=A.useSyncExternalStore(A.useCallback(m=>u.subscribe(jt.batchCalls(m)),[u]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),f=A.useCallback((m,p)=>{u.mutate(m,p).catch(hn)},[u]);if(c.error&&Xg(u.options.throwOnError,[c.error]))throw c.error;return{...c,mutate:f,mutateAsync:c.mutate}}function n_(a,r){return lm(a,xE,r)}function Jl(a){return!!a&&!Array.isArray(a)&&typeof a=="object"}function a_(){return Object.create(null)}const o_=typeof Symbol=="function"&&!!Symbol.asyncIterator;function jE(a){return o_&&Jl(a)&&Symbol.asyncIterator in a}var r_=Object.create,ME=Object.defineProperty,l_=Object.getOwnPropertyDescriptor,zE=Object.getOwnPropertyNames,s_=Object.getPrototypeOf,i_=Object.prototype.hasOwnProperty,pc=(a,r)=>function(){return r||(0,a[zE(a)[0]])((r={exports:{}}).exports,r),r.exports},u_=(a,r,s,u)=>{if(r&&typeof r=="object"||typeof r=="function")for(var c=zE(r),f=0,m=c.length,p;f<m;f++)p=c[f],!i_.call(a,p)&&p!==s&&ME(a,p,{get:(b=>r[b]).bind(null,p),enumerable:!(u=l_(r,p))||u.enumerable});return a},sm=(a,r,s)=>(s=a!=null?r_(s_(a)):{},u_(ME(s,"default",{value:a,enumerable:!0}),a));const kE=()=>{},pN=a=>{Object.freeze&&Object.freeze(a)};function VE(a,r,s){var u;const c=r.join(".");return(u=s[c])!==null&&u!==void 0||(s[c]=new Proxy(kE,{get(f,m){if(!(typeof m!="string"||m==="then"))return VE(a,[...r,m],s)},apply(f,m,p){const b=r[r.length-1];let x={args:p,path:r};return b==="call"?x={args:p.length>=2?[p[1]]:[],path:r.slice(0,-1)}:b==="apply"&&(x={args:p.length>=2?p[1]:[],path:r.slice(0,-1)}),pN(x.args),pN(x.path),a(x)}})),s[c]}const im=a=>VE(a,[],a_()),Wg=a=>new Proxy(kE,{get(r,s){if(s!=="then")return a(s)}});var UE=pc({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(a,r){function s(u){"@babel/helpers - typeof";return r.exports=s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},r.exports.__esModule=!0,r.exports.default=r.exports,s(u)}r.exports=s,r.exports.__esModule=!0,r.exports.default=r.exports}}),c_=pc({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(a,r){var s=UE().default;function u(c,f){if(s(c)!="object"||!c)return c;var m=c[Symbol.toPrimitive];if(m!==void 0){var p=m.call(c,f||"default");if(s(p)!="object")return p;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}r.exports=u,r.exports.__esModule=!0,r.exports.default=r.exports}}),d_=pc({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(a,r){var s=UE().default,u=c_();function c(f){var m=u(f,"string");return s(m)=="symbol"?m:m+""}r.exports=c,r.exports.__esModule=!0,r.exports.default=r.exports}}),HE=pc({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(a,r){var s=d_();function u(c,f,m){return(f=s(f))in c?Object.defineProperty(c,f,{value:m,enumerable:!0,configurable:!0,writable:!0}):c[f]=m,c}r.exports=u,r.exports.__esModule=!0,r.exports.default=r.exports}}),ey=pc({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(a,r){var s=HE();function u(f,m){var p=Object.keys(f);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(f);m&&(b=b.filter(function(x){return Object.getOwnPropertyDescriptor(f,x).enumerable})),p.push.apply(p,b)}return p}function c(f){for(var m=1;m<arguments.length;m++){var p=arguments[m]!=null?arguments[m]:{};m%2?u(Object(p),!0).forEach(function(b){s(f,b,p[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(p)):u(Object(p)).forEach(function(b){Object.defineProperty(f,b,Object.getOwnPropertyDescriptor(p,b))})}return f}r.exports=c,r.exports.__esModule=!0,r.exports.default=r.exports}});sm(ey());sm(HE());var kf=sm(ey());function f_(a,r){if("error"in a){const u=r.deserialize(a.error);return{ok:!1,error:(0,kf.default)((0,kf.default)({},a),{},{error:u})}}return{ok:!0,result:(0,kf.default)((0,kf.default)({},a.result),(!a.result.type||a.result.type==="data")&&{type:"data",data:r.deserialize(a.result.data)})}}var og=class extends Error{constructor(){super("Unable to transform response from server")}};function m_(a,r){let s;try{s=f_(a,r)}catch{throw new og}if(!s.ok&&(!Jl(s.error.error)||typeof s.error.error.code!="number"))throw new og;if(s.ok&&!Jl(s.result))throw new og;return s}sm(ey());function um(a){const r={subscribe(s){let u=null,c=!1,f=!1,m=!1;function p(){if(u===null){m=!0;return}f||(f=!0,typeof u=="function"?u():u&&u.unsubscribe())}return u=a({next(b){var x;c||(x=s.next)===null||x===void 0||x.call(s,b)},error(b){var x;c||(c=!0,(x=s.error)===null||x===void 0||x.call(s,b),p())},complete(){var b;c||(c=!0,(b=s.complete)===null||b===void 0||b.call(s),p())}}),m&&p(),{unsubscribe:p}},pipe(...s){return s.reduce(h_,r)}};return r}function h_(a,r){return r(a)}function p_(a){const r=new AbortController;return new Promise((u,c)=>{let f=!1;function m(){f||(f=!0,p.unsubscribe())}r.signal.addEventListener("abort",()=>{c(r.signal.reason)});const p=a.subscribe({next(b){f=!0,u(b),m()},error(b){c(b)},complete(){r.abort(),m()}})})}var b_=Object.create,LE=Object.defineProperty,g_=Object.getOwnPropertyDescriptor,qE=Object.getOwnPropertyNames,y_=Object.getPrototypeOf,v_=Object.prototype.hasOwnProperty,ol=(a,r)=>function(){return r||(0,a[qE(a)[0]])((r={exports:{}}).exports,r),r.exports},x_=(a,r,s,u)=>{if(r&&typeof r=="object"||typeof r=="function")for(var c=qE(r),f=0,m=c.length,p;f<m;f++)p=c[f],!v_.call(a,p)&&p!==s&&LE(a,p,{get:(b=>r[b]).bind(null,p),enumerable:!(u=g_(r,p))||u.enumerable});return a},es=(a,r,s)=>(s=a!=null?b_(y_(a)):{},x_(r||!a||!a.__esModule?LE(s,"default",{value:a,enumerable:!0}):s,a)),w_=ol({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/objectWithoutPropertiesLoose.js"(a,r){function s(u,c){if(u==null)return{};var f={};for(var m in u)if({}.hasOwnProperty.call(u,m)){if(c.includes(m))continue;f[m]=u[m]}return f}r.exports=s,r.exports.__esModule=!0,r.exports.default=r.exports}}),S_=ol({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/objectWithoutProperties.js"(a,r){var s=w_();function u(c,f){if(c==null)return{};var m,p,b=s(c,f);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(c);for(p=0;p<x.length;p++)m=x[p],f.includes(m)||{}.propertyIsEnumerable.call(c,m)&&(b[m]=c[m])}return b}r.exports=u,r.exports.__esModule=!0,r.exports.default=r.exports}}),BE=ol({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(a,r){function s(u){"@babel/helpers - typeof";return r.exports=s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},r.exports.__esModule=!0,r.exports.default=r.exports,s(u)}r.exports=s,r.exports.__esModule=!0,r.exports.default=r.exports}}),N_=ol({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(a,r){var s=BE().default;function u(c,f){if(s(c)!="object"||!c)return c;var m=c[Symbol.toPrimitive];if(m!==void 0){var p=m.call(c,f||"default");if(s(p)!="object")return p;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}r.exports=u,r.exports.__esModule=!0,r.exports.default=r.exports}}),E_=ol({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(a,r){var s=BE().default,u=N_();function c(f){var m=u(f,"string");return s(m)=="symbol"?m:m+""}r.exports=c,r.exports.__esModule=!0,r.exports.default=r.exports}}),C_=ol({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(a,r){var s=E_();function u(c,f,m){return(f=s(f))in c?Object.defineProperty(c,f,{value:m,enumerable:!0,configurable:!0,writable:!0}):c[f]=m,c}r.exports=u,r.exports.__esModule=!0,r.exports.default=r.exports}}),bc=ol({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(a,r){var s=C_();function u(f,m){var p=Object.keys(f);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(f);m&&(b=b.filter(function(x){return Object.getOwnPropertyDescriptor(f,x).enumerable})),p.push.apply(p,b)}return p}function c(f){for(var m=1;m<arguments.length;m++){var p=arguments[m]!=null?arguments[m]:{};m%2?u(Object(p),!0).forEach(function(b){s(f,b,p[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(p)):u(Object(p)).forEach(function(b){Object.defineProperty(f,b,Object.getOwnPropertyDescriptor(p,b))})}return f}r.exports=c,r.exports.__esModule=!0,r.exports.default=r.exports}}),T_=es(S_(),1),bN=es(bc(),1);const D_=["cursor","direction"];function bo(a,r,s){const u=a.flatMap(c=>c.split("."));if(!r&&(!s||s==="any"))return u.length?[u]:[];if(s==="infinite"&&Jl(r)&&("direction"in r||"cursor"in r)){const{cursor:c,direction:f}=r,m=(0,T_.default)(r,D_);return[u,{input:m,type:"infinite"}]}return[u,(0,bN.default)((0,bN.default)({},typeof r<"u"&&r!==un&&{input:r}),s&&s!=="any"&&{type:s})]}function Qf(a){return bo(a,void 0,"any")}var O_=Object.create,PE=Object.defineProperty,R_=Object.getOwnPropertyDescriptor,QE=Object.getOwnPropertyNames,A_=Object.getPrototypeOf,__=Object.prototype.hasOwnProperty,wo=(a,r)=>function(){return r||(0,a[QE(a)[0]])((r={exports:{}}).exports,r),r.exports},j_=(a,r,s,u)=>{if(r&&typeof r=="object"||typeof r=="function")for(var c=QE(r),f=0,m=c.length,p;f<m;f++)p=c[f],!__.call(a,p)&&p!==s&&PE(a,p,{get:(b=>r[b]).bind(null,p),enumerable:!(u=R_(r,p))||u.enumerable});return a},Vt=(a,r,s)=>(s=a!=null?O_(A_(a)):{},j_(PE(s,"default",{value:a,enumerable:!0}),a)),YE=wo({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(a,r){function s(u){"@babel/helpers - typeof";return r.exports=s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},r.exports.__esModule=!0,r.exports.default=r.exports,s(u)}r.exports=s,r.exports.__esModule=!0,r.exports.default=r.exports}}),M_=wo({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(a,r){var s=YE().default;function u(c,f){if(s(c)!="object"||!c)return c;var m=c[Symbol.toPrimitive];if(m!==void 0){var p=m.call(c,f||"default");if(s(p)!="object")return p;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}r.exports=u,r.exports.__esModule=!0,r.exports.default=r.exports}}),z_=wo({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(a,r){var s=YE().default,u=M_();function c(f){var m=u(f,"string");return s(m)=="symbol"?m:m+""}r.exports=c,r.exports.__esModule=!0,r.exports.default=r.exports}}),ts=wo({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(a,r){var s=z_();function u(c,f,m){return(f=s(f))in c?Object.defineProperty(c,f,{value:m,enumerable:!0,configurable:!0,writable:!0}):c[f]=m,c}r.exports=u,r.exports.__esModule=!0,r.exports.default=r.exports}}),Ma=wo({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(a,r){var s=ts();function u(f,m){var p=Object.keys(f);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(f);m&&(b=b.filter(function(x){return Object.getOwnPropertyDescriptor(f,x).enumerable})),p.push.apply(p,b)}return p}function c(f){for(var m=1;m<arguments.length;m++){var p=arguments[m]!=null?arguments[m]:{};m%2?u(Object(p),!0).forEach(function(b){s(f,b,p[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(p)):u(Object(p)).forEach(function(b){Object.defineProperty(f,b,Object.getOwnPropertyDescriptor(p,b))})}return f}r.exports=c,r.exports.__esModule=!0,r.exports.default=r.exports}});function k_(a){return r=>{let s=0,u=null;const c=[];function f(){u||(u=r.subscribe({next(p){for(const x of c){var b;(b=x.next)===null||b===void 0||b.call(x,p)}},error(p){for(const x of c){var b;(b=x.error)===null||b===void 0||b.call(x,p)}},complete(){for(const b of c){var p;(p=b.complete)===null||p===void 0||p.call(b)}}}))}function m(){if(s===0&&u){const p=u;u=null,p.unsubscribe()}}return um(p=>(s++,c.push(p),f(),{unsubscribe(){s--,m();const b=c.findIndex(x=>x===p);b>-1&&c.splice(b,1)}}))}}function V_(a){let r=a;const s=[],u=m=>{r!==void 0&&m.next(r),s.push(m)},c=m=>{s.splice(s.indexOf(m),1)},f=um(m=>(u(m),()=>{c(m)}));return f.next=m=>{if(r!==m){r=m;for(const p of s)p.next(m)}},f.get=()=>r,f}function U_(a){return um(r=>{function s(c=0,f=a.op){const m=a.links[c];if(!m)throw new Error("No more links to execute - did you forget to add an ending link?");return m({op:f,next(b){return s(c+1,b)}})}return s().subscribe(r)})}var Vf=Vt(ts()),oi=Vt(Ma());function H_(a){return a instanceof ii}function L_(a){return Jl(a)&&Jl(a.error)&&typeof a.error.code=="number"&&typeof a.error.message=="string"}function q_(a,r){return typeof a=="string"?a:Jl(a)&&typeof a.message=="string"?a.message:r}var ii=class Yf extends Error{constructor(r,s){var u,c;const f=s?.cause;super(r,{cause:f}),(0,Vf.default)(this,"cause",void 0),(0,Vf.default)(this,"shape",void 0),(0,Vf.default)(this,"data",void 0),(0,Vf.default)(this,"meta",void 0),this.meta=s?.meta,this.cause=f,this.shape=s==null||(u=s.result)===null||u===void 0?void 0:u.error,this.data=s==null||(c=s.result)===null||c===void 0?void 0:c.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,Yf.prototype)}static from(r,s={}){const u=r;return H_(u)?(s.meta&&(u.meta=(0,oi.default)((0,oi.default)({},u.meta),s.meta)),u):L_(u)?new Yf(u.error.message,(0,oi.default)((0,oi.default)({},s),{},{result:u})):new Yf(q_(u,"Unknown error"),(0,oi.default)((0,oi.default)({},s),{},{cause:u}))}};function B_(a){const r=a;return r?"input"in r?r:{input:r,output:r}:{input:{serialize:s=>s,deserialize:s=>s},output:{serialize:s=>s,deserialize:s=>s}}}const gN=a=>typeof a=="function";function P_(a){if(a)return a;if(typeof window<"u"&&gN(window.fetch))return window.fetch;if(typeof globalThis<"u"&&gN(globalThis.fetch))return globalThis.fetch;throw new Error("No fetch implementation found")}var ac=Vt(Ma());function Q_(a){return{url:a.url.toString(),fetch:a.fetch,transformer:B_(a.transformer),methodOverride:a.methodOverride}}function Y_(a){const r={};for(let s=0;s<a.length;s++){const u=a[s];r[s]=u}return r}const $_={query:"GET",mutation:"POST",subscription:"PATCH"};function $E(a){return"input"in a?a.transformer.input.serialize(a.input):Y_(a.inputs.map(r=>a.transformer.input.serialize(r)))}const GE=a=>{const r=a.url.split("?");let u=r[0].replace(/\/$/,"")+"/"+a.path;const c=[];if(r[1]&&c.push(r[1]),"inputs"in a&&c.push("batch=1"),a.type==="query"||a.type==="subscription"){const f=$E(a);f!==void 0&&a.methodOverride!=="POST"&&c.push(`input=${encodeURIComponent(JSON.stringify(f))}`)}return c.length&&(u+="?"+c.join("&")),u},G_=a=>{if(a.type==="query"&&a.methodOverride!=="POST")return;const r=$E(a);return r!==void 0?JSON.stringify(r):void 0},I_=a=>J_((0,ac.default)((0,ac.default)({},a),{},{contentTypeHeader:"application/json",getUrl:GE,getBody:G_}));var X_=class extends Error{constructor(){const a="AbortError";super(a),this.name=a,this.message=a}};const F_=a=>{var r;if(a?.aborted)throw(r=a.throwIfAborted)===null||r===void 0||r.call(a),typeof DOMException<"u"?new DOMException("AbortError","AbortError"):new X_};async function Z_(a){var r;F_(a.signal);const s=a.getUrl(a),u=a.getBody(a),c=(r=a.methodOverride)!==null&&r!==void 0?r:$_[a.type],f=await(async()=>{const p=await a.headers();return Symbol.iterator in p?Object.fromEntries(p):p})(),m=(0,ac.default)((0,ac.default)((0,ac.default)({},a.contentTypeHeader&&c!=="GET"?{"content-type":a.contentTypeHeader}:{}),a.trpcAcceptHeader?{"trpc-accept":a.trpcAcceptHeader}:void 0),f);return P_(a.fetch)(s,{method:c,signal:a.signal,body:u,headers:m})}async function J_(a){const r={},s=await Z_(a);r.response=s;const u=await s.json();return r.responseJSON=u,{json:u,meta:r}}Vt(Ma());const yN=()=>{throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function vN(a){let r=null,s=null;const u=()=>{clearTimeout(s),s=null,r=null};function c(p){const b=[[]];let x=0;for(;;){const S=p[x];if(!S)break;const C=b[b.length-1];if(S.aborted){var E;(E=S.reject)===null||E===void 0||E.call(S,new Error("Aborted")),x++;continue}if(a.validate(C.concat(S).map(D=>D.key))){C.push(S),x++;continue}if(C.length===0){var g;(g=S.reject)===null||g===void 0||g.call(S,new Error("Input is too big for a single dispatch")),x++;continue}b.push([])}return b}function f(){const p=c(r);u();for(const b of p){if(!b.length)continue;const x={items:b};for(const g of b)g.batch=x;a.fetch(x.items.map(g=>g.key)).then(async g=>{await Promise.all(g.map(async(C,T)=>{const D=x.items[T];try{var V;const U=await Promise.resolve(C);(V=D.resolve)===null||V===void 0||V.call(D,U)}catch(U){var j;(j=D.reject)===null||j===void 0||j.call(D,U)}D.batch=null,D.reject=null,D.resolve=null}));for(const C of x.items){var S;(S=C.reject)===null||S===void 0||S.call(C,new Error("Missing result")),C.batch=null}}).catch(g=>{for(const C of x.items){var S;(S=C.reject)===null||S===void 0||S.call(C,g),C.batch=null}})}}function m(p){var b;const x={aborted:!1,key:p,batch:null,resolve:yN,reject:yN},E=new Promise((g,S)=>{var C;x.reject=S,x.resolve=g,(C=r)!==null&&C!==void 0||(r=[]),r.push(x)});return(b=s)!==null&&b!==void 0||(s=setTimeout(f)),E}return{load:m}}function K_(...a){const r=new AbortController,s=a.length;let u=0;const c=()=>{++u===s&&r.abort()};for(const f of a)f?.aborted?c():f?.addEventListener("abort",c,{once:!0});return r.signal}var Uf=Vt(Ma());function W_(a){var r,s;const u=Q_(a),c=(r=a.maxURLLength)!==null&&r!==void 0?r:1/0,f=(s=a.maxItems)!==null&&s!==void 0?s:1/0;return()=>{const m=E=>({validate(g){if(c===1/0&&f===1/0)return!0;if(g.length>f)return!1;const S=g.map(D=>D.path).join(","),C=g.map(D=>D.input);return GE((0,Uf.default)((0,Uf.default)({},u),{},{type:E,path:S,inputs:C,signal:null})).length<=c},async fetch(g){const S=g.map(U=>U.path).join(","),C=g.map(U=>U.input),T=K_(...g.map(U=>U.signal)),D=await I_((0,Uf.default)((0,Uf.default)({},u),{},{path:S,inputs:C,type:E,headers(){return a.headers?typeof a.headers=="function"?a.headers({opList:g}):a.headers:{}},signal:T}));return(Array.isArray(D.json)?D.json:g.map(()=>D.json)).map(U=>({meta:D.meta,json:U}))}}),p=vN(m("query")),b=vN(m("mutation")),x={query:p,mutation:b};return({op:E})=>um(g=>{/* istanbul ignore if -- @preserve */if(E.type==="subscription")throw new Error("Subscriptions are unsupported by `httpLink` - use `httpSubscriptionLink` or `wsLink`");const C=x[E.type].load(E);let T;return C.then(D=>{T=D;const V=m_(D.json,u.transformer.output);if(!V.ok){g.error(ii.from(V.error,{meta:D.meta}));return}g.next({context:D.meta,result:V.result}),g.complete()}).catch(D=>{g.error(ii.from(D,{meta:T?.meta}))}),()=>{}})}}Vt(Ma());const IE=(a,...r)=>typeof a=="function"?a(...r):a;Vt(ts());function e3(){let a,r;return{promise:new Promise((u,c)=>{a=u,r=c}),resolve:a,reject:r}}async function t3(a){const r=await IE(a.url);if(!a.connectionParams)return r;const u=`${r.includes("?")?"&":"?"}connectionParams=1`;return r+u}async function n3(a){const r={method:"connectionParams",data:await IE(a)};return JSON.stringify(r)}Vt(ts());var Il=Vt(ts());function a3(a){const{promise:r,resolve:s,reject:u}=e3();return a.addEventListener("open",()=>{a.removeEventListener("error",u),s()}),a.addEventListener("error",u),r}function o3(a,{intervalMs:r,pongTimeoutMs:s}){let u,c;function f(){u=setTimeout(()=>{a.send("PING"),c=setTimeout(()=>{a.close()},s)},r)}function m(){clearTimeout(u),f()}function p(){clearTimeout(c),m()}a.addEventListener("open",f),a.addEventListener("message",({data:b})=>{clearTimeout(u),f(),b==="PONG"&&p()}),a.addEventListener("close",()=>{clearTimeout(u),clearTimeout(c)})}var r3=class Og{constructor(r){var s;if((0,Il.default)(this,"id",++Og.connectCount),(0,Il.default)(this,"WebSocketPonyfill",void 0),(0,Il.default)(this,"urlOptions",void 0),(0,Il.default)(this,"keepAliveOpts",void 0),(0,Il.default)(this,"wsObservable",V_(null)),(0,Il.default)(this,"openPromise",null),this.WebSocketPonyfill=(s=r.WebSocketPonyfill)!==null&&s!==void 0?s:WebSocket,!this.WebSocketPonyfill)throw new Error("No WebSocket implementation found - you probably don't want to use this on the server, but if you do you need to pass a `WebSocket`-ponyfill");this.urlOptions=r.urlOptions,this.keepAliveOpts=r.keepAlive}get ws(){return this.wsObservable.get()}set ws(r){this.wsObservable.next(r)}isOpen(){return!!this.ws&&this.ws.readyState===this.WebSocketPonyfill.OPEN&&!this.openPromise}isClosed(){return!!this.ws&&(this.ws.readyState===this.WebSocketPonyfill.CLOSING||this.ws.readyState===this.WebSocketPonyfill.CLOSED)}async open(){var r=this;if(r.openPromise)return r.openPromise;r.id=++Og.connectCount;const s=t3(r.urlOptions).then(u=>new r.WebSocketPonyfill(u));r.openPromise=s.then(async u=>{r.ws=u,u.binaryType="arraybuffer",u.addEventListener("message",function({data:c}){c==="PING"&&this.send("PONG")}),r.keepAliveOpts.enabled&&o3(u,r.keepAliveOpts),u.addEventListener("close",()=>{r.ws===u&&(r.ws=null)}),await a3(u),r.urlOptions.connectionParams&&u.send(await n3(r.urlOptions.connectionParams))});try{await r.openPromise}finally{r.openPromise=null}}async close(){var r=this;try{await r.openPromise}finally{var s;(s=r.ws)===null||s===void 0||s.close()}}};(0,Il.default)(r3,"connectCount",0);Vt(ts());Vt(Ma());var rg=Vt(ts()),xN=Vt(Ma()),cm=class{constructor(a){(0,rg.default)(this,"links",void 0),(0,rg.default)(this,"runtime",void 0),(0,rg.default)(this,"requestId",void 0),this.requestId=0,this.runtime={},this.links=a.links.map(r=>r(this.runtime))}$request(a){var r;return U_({links:this.links,op:(0,xN.default)((0,xN.default)({},a),{},{context:(r=a.context)!==null&&r!==void 0?r:{},id:++this.requestId})}).pipe(k_())}async requestAsPromise(a){var r=this;try{const s=r.$request(a);return(await p_(s)).result.data}catch(s){throw ii.from(s)}}query(a,r,s){return this.requestAsPromise({type:"query",path:a,input:r,context:s?.context,signal:s?.signal})}mutation(a,r,s){return this.requestAsPromise({type:"mutation",path:a,input:r,context:s?.context,signal:s?.signal})}subscription(a,r,s){return this.$request({type:"subscription",path:a,input:r,context:s.context,signal:s.signal}).subscribe({next(c){switch(c.result.type){case"state":{var f;(f=s.onConnectionStateChange)===null||f===void 0||f.call(s,c.result);break}case"started":{var m;(m=s.onStarted)===null||m===void 0||m.call(s,{context:c.context});break}case"stopped":{var p;(p=s.onStopped)===null||p===void 0||p.call(s);break}case"data":case void 0:{var b;(b=s.onData)===null||b===void 0||b.call(s,c.result.data);break}}},error(c){var f;(f=s.onError)===null||f===void 0||f.call(s,c)},complete(){var c;(c=s.onComplete)===null||c===void 0||c.call(s)}})}};const XE=Symbol.for("trpc_untypedClient"),l3={query:"query",mutate:"mutation",subscribe:"subscription"},s3=a=>l3[a];function FE(a){const r=im(({path:s,args:u})=>{const c=[...s],f=s3(c.pop()),m=c.join(".");return a[f](m,...u)});return Wg(s=>s===XE?a:r[s])}function i3(a){const r=new cm(a);return FE(r)}function ty(a){return a[XE]}Vt(Ma());Vt(Ma());var u3=wo({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(a,r){function s(c){var f,m,p,b=2;for(typeof Symbol<"u"&&(m=Symbol.asyncIterator,p=Symbol.iterator);b--;){if(m&&(f=c[m])!=null)return f.call(c);if(p&&(f=c[p])!=null)return new u(f.call(c));m="@@asyncIterator",p="@@iterator"}throw new TypeError("Object is not async iterable")}function u(c){function f(m){if(Object(m)!==m)return Promise.reject(new TypeError(m+" is not an object."));var p=m.done;return Promise.resolve(m.value).then(function(b){return{value:b,done:p}})}return u=function(p){this.s=p,this.n=p.next},u.prototype={s:null,n:null,next:function(){return f(this.n.apply(this.s,arguments))},return:function(p){var b=this.s.return;return b===void 0?Promise.resolve({value:p,done:!0}):f(b.apply(this.s,arguments))},throw:function(p){var b=this.s.return;return b===void 0?Promise.reject(p):f(b.apply(this.s,arguments))}},new u(c)}r.exports=s,r.exports.__esModule=!0,r.exports.default=r.exports}});Vt(u3());Vt(Ma());var c3=wo({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(a,r){function s(){var u=typeof SuppressedError=="function"?SuppressedError:function(p,b){var x=Error();return x.name="SuppressedError",x.error=p,x.suppressed=b,x},c={},f=[];function m(p,b){if(b!=null){if(Object(b)!==b)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(p)var x=b[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(x===void 0&&(x=b[Symbol.dispose||Symbol.for("Symbol.dispose")],p))var E=x;if(typeof x!="function")throw new TypeError("Object is not disposable.");E&&(x=function(){try{E.call(b)}catch(S){return Promise.reject(S)}}),f.push({v:b,d:x,a:p})}else p&&f.push({d:b,a:p});return b}return{e:c,u:m.bind(null,!1),a:m.bind(null,!0),d:function(){var b,x=this.e,E=0;function g(){for(;b=f.pop();)try{if(!b.a&&E===1)return E=0,f.push(b),Promise.resolve().then(g);if(b.d){var C=b.d.call(b.v);if(b.a)return E|=2,Promise.resolve(C).then(g,S)}else E|=1}catch(T){return S(T)}if(E===1)return x!==c?Promise.reject(x):Promise.resolve();if(x!==c)throw x}function S(C){return x=x!==c?new u(C,x):C,g()}return g()}}}r.exports=s,r.exports.__esModule=!0,r.exports.default=r.exports}}),ZE=wo({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/OverloadYield.js"(a,r){function s(u,c){this.v=u,this.k=c}r.exports=s,r.exports.__esModule=!0,r.exports.default=r.exports}}),d3=wo({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js"(a,r){var s=ZE();function u(c){return new s(c,0)}r.exports=u,r.exports.__esModule=!0,r.exports.default=r.exports}}),f3=wo({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js"(a,r){var s=ZE();function u(f){return function(){return new c(f.apply(this,arguments))}}function c(f){var m,p;function b(E,g){try{var S=f[E](g),C=S.value,T=C instanceof s;Promise.resolve(T?C.v:C).then(function(D){if(T){var V=E==="return"?"return":"next";if(!C.k||D.done)return b(V,D);D=f[V](D).value}x(S.done?"return":"normal",D)},function(D){b("throw",D)})}catch(D){x("throw",D)}}function x(E,g){switch(E){case"return":m.resolve({value:g,done:!0});break;case"throw":m.reject(g);break;default:m.resolve({value:g,done:!1})}(m=m.next)?b(m.key,m.arg):p=null}this._invoke=function(E,g){return new Promise(function(S,C){var T={key:E,arg:g,resolve:S,reject:C,next:null};p?p=p.next=T:(m=p=T,b(E,g))})},typeof f.return!="function"&&(this.return=void 0)}c.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},c.prototype.next=function(f){return this._invoke("next",f)},c.prototype.throw=function(f){return this._invoke("throw",f)},c.prototype.return=function(f){return this._invoke("return",f)},r.exports=u,r.exports.__esModule=!0,r.exports.default=r.exports}});Vt(c3());Vt(d3());Vt(f3());Vt(Ma());function m3(a){return im(({path:r,args:s})=>{var u;const c=[...r],f=c.pop();if(f==="useMutation")return a[f](c,...s);if(f==="_def")return{path:c};const[m,...p]=s,b=(u=p[0])!==null&&u!==void 0?u:{};return a[f](c,m,b)})}var lg;const h3=["client","ssrContext","ssrState","abortOnUnmount"],p3=(lg=A.createContext)===null||lg===void 0?void 0:lg.call(Jg,null),b3=a=>{switch(a){case"queryOptions":case"fetch":case"ensureData":case"prefetch":case"getData":case"setData":case"setQueriesData":return"query";case"infiniteQueryOptions":case"fetchInfinite":case"prefetchInfinite":case"getInfiniteData":case"setInfiniteData":return"infinite";case"setMutationDefaults":case"getMutationDefaults":case"isMutating":case"cancel":case"invalidate":case"refetch":case"reset":return"any"}};function g3(a){return im(r=>{const s=[...r.path],u=s.pop(),c=[...r.args],f=c.shift(),m=b3(u),p=bo(s,f,m);return{infiniteQueryOptions:()=>a.infiniteQueryOptions(s,p,c[0]),queryOptions:()=>a.queryOptions(s,p,...c),fetch:()=>a.fetchQuery(p,...c),fetchInfinite:()=>a.fetchInfiniteQuery(p,c[0]),prefetch:()=>a.prefetchQuery(p,...c),prefetchInfinite:()=>a.prefetchInfiniteQuery(p,c[0]),ensureData:()=>a.ensureQueryData(p,...c),invalidate:()=>a.invalidateQueries(p,...c),reset:()=>a.resetQueries(p,...c),refetch:()=>a.refetchQueries(p,...c),cancel:()=>a.cancelQuery(p,...c),setData:()=>{a.setQueryData(p,c[0],c[1])},setQueriesData:()=>a.setQueriesData(p,c[0],c[1],c[2]),setInfiniteData:()=>{a.setInfiniteQueryData(p,c[0],c[1])},getData:()=>a.getQueryData(p),getInfiniteData:()=>a.getInfiniteQueryData(p),setMutationDefaults:()=>a.setMutationDefaults(Qf(s),f),getMutationDefaults:()=>a.getMutationDefaults(Qf(s)),isMutating:()=>a.isMutating({mutationKey:Qf(s)})}[u]()})}function y3(a){const r=FE(a.client),s=g3(a);return Wg(u=>{const c=u;return c==="client"?r:h3.includes(c)?a[c]:s[u]})}var v3=es(bc(),1);function wN(a){const r=a instanceof cm?a:ty(a);return im(s=>{const u=s.path,c=u.join("."),[f,m]=s.args;return(0,v3.default)({queryKey:bo(u,f,"query"),queryFn:()=>r.query(c,f,m?.trpc)},m)})}var sg=es(bc(),1);function Cn(a,r,s){var u;const c=a[0];let f=(u=a[1])===null||u===void 0?void 0:u.input;if(s){var m;f=(0,sg.default)((0,sg.default)((0,sg.default)({},(m=f)!==null&&m!==void 0?m:{}),s.pageParam?{cursor:s.pageParam}:{}),{},{direction:s.direction})}return[c.join("."),f,r?.trpc]}var x3=ol({"../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(a,r){function s(c){var f,m,p,b=2;for(typeof Symbol<"u"&&(m=Symbol.asyncIterator,p=Symbol.iterator);b--;){if(m&&(f=c[m])!=null)return f.call(c);if(p&&(f=c[p])!=null)return new u(f.call(c));m="@@asyncIterator",p="@@iterator"}throw new TypeError("Object is not async iterable")}function u(c){function f(m){if(Object(m)!==m)return Promise.reject(new TypeError(m+" is not an object."));var p=m.done;return Promise.resolve(m.value).then(function(b){return{value:b,done:p}})}return u=function(p){this.s=p,this.n=p.next},u.prototype={s:null,n:null,next:function(){return f(this.n.apply(this.s,arguments))},return:function(p){var b=this.s.return;return b===void 0?Promise.resolve({value:p,done:!0}):f(b.apply(this.s,arguments))},throw:function(p){var b=this.s.return;return b===void 0?Promise.reject(p):f(b.apply(this.s,arguments))}},new u(c)}r.exports=s,r.exports.__esModule=!0,r.exports.default=r.exports}}),w3=es(x3(),1);function Rg(a){return{path:a.path.join(".")}}function Ku(a){const r=Rg(a);return A.useMemo(()=>r,[r])}async function JE(a,r,s){const c=r.getQueryCache().build(r,{queryKey:s});c.setState({data:[],status:"success"});const f=[];var m=!1,p=!1,b;try{for(var x=(0,w3.default)(a),E;m=!(E=await x.next()).done;m=!1){const g=E.value;f.push(g),c.setState({data:[...f]})}}catch(g){p=!0,b=g}finally{try{m&&x.return!=null&&await x.return()}finally{if(p)throw b}}return f}var at=es(bc(),1);function S3(a){const{client:r,queryClient:s}=a,u=r instanceof cm?r:ty(r);return{infiniteQueryOptions:(c,f,m)=>{var p,b;const x=((p=f[1])===null||p===void 0?void 0:p.input)===un,E=async g=>{var S;const C=(0,at.default)((0,at.default)({},m),{},{trpc:(0,at.default)((0,at.default)({},m?.trpc),!(m==null||(S=m.trpc)===null||S===void 0)&&S.abortOnUnmount?{signal:g.signal}:{signal:null})});return await u.query(...Cn(f,C,{direction:g.direction,pageParam:g.pageParam}))};return Object.assign((0,at.default)((0,at.default)({},m),{},{initialData:m?.initialData,queryKey:f,queryFn:x?un:E,initialPageParam:(b=m?.initialCursor)!==null&&b!==void 0?b:null}),{trpc:Rg({path:c})})},queryOptions:(c,f,m)=>{var p;const b=((p=f[1])===null||p===void 0?void 0:p.input)===un,x=async E=>{var g;const S=(0,at.default)((0,at.default)({},m),{},{trpc:(0,at.default)((0,at.default)({},m?.trpc),!(m==null||(g=m.trpc)===null||g===void 0)&&g.abortOnUnmount?{signal:E.signal}:{signal:null})}),C=await u.query(...Cn(f,S));return jE(C)?JE(C,s,f):C};return Object.assign((0,at.default)((0,at.default)({},m),{},{initialData:m?.initialData,queryKey:f,queryFn:b?un:x}),{trpc:Rg({path:c})})},fetchQuery:(c,f)=>s.fetchQuery((0,at.default)((0,at.default)({},f),{},{queryKey:c,queryFn:()=>u.query(...Cn(c,f))})),fetchInfiniteQuery:(c,f)=>{var m;return s.fetchInfiniteQuery((0,at.default)((0,at.default)({},f),{},{queryKey:c,queryFn:({pageParam:p,direction:b})=>u.query(...Cn(c,f,{pageParam:p,direction:b})),initialPageParam:(m=f?.initialCursor)!==null&&m!==void 0?m:null}))},prefetchQuery:(c,f)=>s.prefetchQuery((0,at.default)((0,at.default)({},f),{},{queryKey:c,queryFn:()=>u.query(...Cn(c,f))})),prefetchInfiniteQuery:(c,f)=>{var m;return s.prefetchInfiniteQuery((0,at.default)((0,at.default)({},f),{},{queryKey:c,queryFn:({pageParam:p,direction:b})=>u.query(...Cn(c,f,{pageParam:p,direction:b})),initialPageParam:(m=f?.initialCursor)!==null&&m!==void 0?m:null}))},ensureQueryData:(c,f)=>s.ensureQueryData((0,at.default)((0,at.default)({},f),{},{queryKey:c,queryFn:()=>u.query(...Cn(c,f))})),invalidateQueries:(c,f,m)=>s.invalidateQueries((0,at.default)((0,at.default)({},f),{},{queryKey:c}),m),resetQueries:(c,f,m)=>s.resetQueries((0,at.default)((0,at.default)({},f),{},{queryKey:c}),m),refetchQueries:(c,f,m)=>s.refetchQueries((0,at.default)((0,at.default)({},f),{},{queryKey:c}),m),cancelQuery:(c,f)=>s.cancelQueries({queryKey:c},f),setQueryData:(c,f,m)=>s.setQueryData(c,f,m),setQueriesData:(c,f,m,p)=>s.setQueriesData((0,at.default)((0,at.default)({},f),{},{queryKey:c}),m,p),getQueryData:c=>s.getQueryData(c),setInfiniteQueryData:(c,f,m)=>s.setQueryData(c,f,m),getInfiniteQueryData:c=>s.getQueryData(c),setMutationDefaults:(c,f)=>{const m=c[0],p=b=>u.mutation(...Cn([m,{input:b}],a));return s.setMutationDefaults(c,typeof f=="function"?f({canonicalMutationFn:p}):f)},getMutationDefaults:c=>s.getMutationDefaults(c),isMutating:c=>s.isMutating((0,at.default)((0,at.default)({},c),{},{exact:!0}))}}var we=es(bc());const SN=(a,r)=>new Proxy(a,{get(u,c){return r(c),u[c]}});function N3(a){var r,s;const u=(r=void 0)!==null&&r!==void 0?r:W=>W.originalFn(),c=(s=void 0)!==null&&s!==void 0?s:p3,f=i3,m=W=>{var te;const{abortOnUnmount:P=!1,queryClient:Q,ssrContext:oe}=W,[I,ue]=A.useState((te=W.ssrState)!==null&&te!==void 0?te:!1),K=W.client instanceof cm?W.client:ty(W.client),ne=A.useMemo(()=>S3({client:K,queryClient:Q}),[K,Q]),me=A.useMemo(()=>(0,we.default)({abortOnUnmount:P,queryClient:Q,client:K,ssrContext:oe??null,ssrState:I},ne),[P,K,ne,Q,oe,I]);return A.useEffect(()=>{ue(ve=>ve?"mounted":!1)},[]),Fe.jsx(c.Provider,{value:me,children:W.children})};function p(){const W=A.useContext(c);if(!W)throw new Error("Unable to find tRPC Context. Did you forget to wrap your App inside `withTRPC` HoC?");return W}function b(W,te){var P;const{queryClient:Q,ssrState:oe}=p();return oe&&oe!=="mounted"&&((P=Q.getQueryCache().find({queryKey:W}))===null||P===void 0?void 0:P.state.status)==="error"?(0,we.default)({retryOnMount:!1},te):te}function x(W,te,P){var Q,oe,I,ue,K;const ne=p(),{abortOnUnmount:me,client:ve,ssrState:q,queryClient:F,prefetchQuery:B}=ne,fe=bo(W,te,"query"),Se=F.getQueryDefaults(fe),O=te===un;typeof window>"u"&&q==="prepass"&&(P==null||(Q=P.trpc)===null||Q===void 0?void 0:Q.ssr)!==!1&&((oe=P?.enabled)!==null&&oe!==void 0?oe:Se?.enabled)!==!1&&!O&&!F.getQueryCache().find({queryKey:fe})&&B(fe,P);const ae=b(fe,(0,we.default)((0,we.default)({},Se),P)),X=(I=(ue=P==null||(K=P.trpc)===null||K===void 0?void 0:K.abortOnUnmount)!==null&&ue!==void 0?ue:void 0)!==null&&I!==void 0?I:me,Z=FA((0,we.default)((0,we.default)({},ae),{},{queryKey:fe,queryFn:O?te:async xe=>{const Ie=(0,we.default)((0,we.default)({},ae),{},{trpc:(0,we.default)((0,we.default)({},ae?.trpc),X?{signal:xe.signal}:{signal:null})}),pe=await ve.query(...Cn(fe,Ie));return jE(pe)?JE(pe,F,fe):pe}}),F);return Z.trpc=Ku({path:W}),Z}function E(W,te,P){var Q,oe,I;const ue=p(),K=bo(W,te,"query"),ne=te===un,me=(Q=(oe=P==null||(I=P.trpc)===null||I===void 0?void 0:I.abortOnUnmount)!==null&&oe!==void 0?oe:void 0)!==null&&Q!==void 0?Q:ue.abortOnUnmount;WA((0,we.default)((0,we.default)({},P),{},{queryKey:K,queryFn:ne?te:ve=>{const q={trpc:(0,we.default)((0,we.default)({},P?.trpc),me?{signal:ve.signal}:{})};return ue.client.query(...Cn(K,q))}}))}function g(W,te,P){var Q,oe,I;const ue=p(),K=bo(W,te,"query"),ne=(Q=(oe=P==null||(I=P.trpc)===null||I===void 0?void 0:I.abortOnUnmount)!==null&&oe!==void 0?oe:void 0)!==null&&Q!==void 0?Q:ue.abortOnUnmount,me=ZA((0,we.default)((0,we.default)({},P),{},{queryKey:K,queryFn:ve=>{const q=(0,we.default)((0,we.default)({},P),{},{trpc:(0,we.default)((0,we.default)({},P?.trpc),ne?{signal:ve.signal}:{signal:null})});return ue.client.query(...Cn(K,q))}}),ue.queryClient);return me.trpc=Ku({path:W}),[me.data,me]}function S(W,te){const{client:P,queryClient:Q}=p(),oe=Qf(W),I=Q.defaultMutationOptions(Q.getMutationDefaults(oe)),ue=t_((0,we.default)((0,we.default)({},te),{},{mutationKey:oe,mutationFn:K=>P.mutation(...Cn([W,{input:K}],te)),onSuccess(...K){var ne,me;return u({originalFn:()=>{var q,F,B;return(q=te==null||(F=te.onSuccess)===null||F===void 0?void 0:F.call(te,...K))!==null&&q!==void 0?q:I==null||(B=I.onSuccess)===null||B===void 0?void 0:B.call(I,...K)},queryClient:Q,meta:(ne=(me=te?.meta)!==null&&me!==void 0?me:I?.meta)!==null&&ne!==void 0?ne:{}})}}),Q);return ue.trpc=Ku({path:W}),ue}const C={data:void 0,error:null,status:"idle"},T={data:void 0,error:null,status:"connecting"};/* istanbul ignore next -- @preserve */function D(W,te,P){var Q;const oe=(Q=P?.enabled)!==null&&Q!==void 0?Q:te!==un,I=el(bo(W,te,"any")),{client:ue}=p(),K=A.useRef(P);A.useEffect(()=>{K.current=P});const[ne]=A.useState(new Set([])),me=A.useCallback(O=>{ne.add(O)},[ne]),ve=A.useRef(null),q=A.useCallback(O=>{const ae=B.current,X=B.current=O(ae);let Z=!1;for(const xe of ne)if(ae[xe]!==X[xe]){Z=!0;break}Z&&Se(SN(X,me))},[me,ne]),F=A.useCallback(()=>{var O;if((O=ve.current)===null||O===void 0||O.unsubscribe(),!oe){q(()=>(0,we.default)((0,we.default)({},C),{},{reset:F}));return}q(()=>(0,we.default)((0,we.default)({},T),{},{reset:F}));const ae=ue.subscription(W.join("."),te??void 0,{onStarted:()=>{var X,Z;(X=(Z=K.current).onStarted)===null||X===void 0||X.call(Z),q(xe=>(0,we.default)((0,we.default)({},xe),{},{status:"pending",error:null}))},onData:X=>{var Z,xe;(Z=(xe=K.current).onData)===null||Z===void 0||Z.call(xe,X),q(Ie=>(0,we.default)((0,we.default)({},Ie),{},{status:"pending",data:X,error:null}))},onError:X=>{var Z,xe;(Z=(xe=K.current).onError)===null||Z===void 0||Z.call(xe,X),q(Ie=>(0,we.default)((0,we.default)({},Ie),{},{status:"error",error:X}))},onConnectionStateChange:X=>{q(Z=>{switch(X.state){case"idle":return(0,we.default)((0,we.default)({},Z),{},{status:X.state,error:null,data:void 0});case"connecting":return(0,we.default)((0,we.default)({},Z),{},{error:X.error,status:X.state});case"pending":return Z}})},onComplete:()=>{var X,Z;(X=(Z=K.current).onComplete)===null||X===void 0||X.call(Z),q(xe=>(0,we.default)((0,we.default)({},xe),{},{status:"idle",error:null,data:void 0}))}});ve.current=ae},[ue,I,oe,q]);A.useEffect(()=>(F(),()=>{var O;(O=ve.current)===null||O===void 0||O.unsubscribe()}),[F]);const B=A.useRef(oe?(0,we.default)((0,we.default)({},T),{},{reset:F}):(0,we.default)((0,we.default)({},C),{},{reset:F})),[fe,Se]=A.useState(SN(B.current,me));return fe}function V(W,te,P){var Q,oe,I,ue,K;const{client:ne,ssrState:me,prefetchInfiniteQuery:ve,queryClient:q,abortOnUnmount:F}=p(),B=bo(W,te,"infinite"),fe=q.getQueryDefaults(B),Se=te===un;typeof window>"u"&&me==="prepass"&&(P==null||(Q=P.trpc)===null||Q===void 0?void 0:Q.ssr)!==!1&&((oe=P?.enabled)!==null&&oe!==void 0?oe:fe?.enabled)!==!1&&!Se&&!q.getQueryCache().find({queryKey:B})&&ve(B,(0,we.default)((0,we.default)({},fe),P));const O=b(B,(0,we.default)((0,we.default)({},fe),P)),ae=(I=P==null||(ue=P.trpc)===null||ue===void 0?void 0:ue.abortOnUnmount)!==null&&I!==void 0?I:F,X=n_((0,we.default)((0,we.default)({},O),{},{initialPageParam:(K=P.initialCursor)!==null&&K!==void 0?K:null,persister:P.persister,queryKey:B,queryFn:Se?te:Z=>{var xe;const Ie=(0,we.default)((0,we.default)({},O),{},{trpc:(0,we.default)((0,we.default)({},O?.trpc),ae?{signal:Z.signal}:{signal:null})});return ne.query(...Cn(B,Ie,{pageParam:(xe=Z.pageParam)!==null&&xe!==void 0?xe:P.initialCursor,direction:Z.direction}))}}),q);return X.trpc=Ku({path:W}),X}function j(W,te,P){var Q,oe,I;const ue=p(),K=bo(W,te,"infinite"),ne=ue.queryClient.getQueryDefaults(K),me=te===un,ve=b(K,(0,we.default)((0,we.default)({},ne),P)),q=(Q=P==null||(oe=P.trpc)===null||oe===void 0?void 0:oe.abortOnUnmount)!==null&&Q!==void 0?Q:ue.abortOnUnmount;e_((0,we.default)((0,we.default)({},P),{},{initialPageParam:(I=P.initialCursor)!==null&&I!==void 0?I:null,queryKey:K,queryFn:me?te:F=>{var B;const fe=(0,we.default)((0,we.default)({},ve),{},{trpc:(0,we.default)((0,we.default)({},ve?.trpc),q?{signal:F.signal}:{})});return ue.client.query(...Cn(K,fe,{pageParam:(B=F.pageParam)!==null&&B!==void 0?B:P.initialCursor,direction:F.direction}))}}))}function U(W,te,P){var Q,oe,I;const ue=p(),K=bo(W,te,"infinite"),ne=ue.queryClient.getQueryDefaults(K),me=b(K,(0,we.default)((0,we.default)({},ne),P)),ve=(Q=P==null||(oe=P.trpc)===null||oe===void 0?void 0:oe.abortOnUnmount)!==null&&Q!==void 0?Q:ue.abortOnUnmount,q=JA((0,we.default)((0,we.default)({},P),{},{initialPageParam:(I=P.initialCursor)!==null&&I!==void 0?I:null,queryKey:K,queryFn:F=>{var B;const fe=(0,we.default)((0,we.default)({},me),{},{trpc:(0,we.default)((0,we.default)({},me?.trpc),ve?{signal:F.signal}:{})});return ue.client.query(...Cn(K,fe,{pageParam:(B=F.pageParam)!==null&&B!==void 0?B:P.initialCursor,direction:F.direction}))}}),ue.queryClient);return q.trpc=Ku({path:W}),[q.data,q]}return{Provider:m,createClient:f,useContext:p,useUtils:p,useQuery:x,usePrefetchQuery:E,useSuspenseQuery:g,useQueries:(W,te)=>{const{ssrState:P,queryClient:Q,prefetchQuery:oe,client:I}=p(),ue=wN(I),K=W(ue);if(typeof window>"u"&&P==="prepass")for(const me of K){var ne;const ve=me;((ne=ve.trpc)===null||ne===void 0?void 0:ne.ssr)!==!1&&!Q.getQueryCache().find({queryKey:ve.queryKey})&&oe(ve.queryKey,ve)}return _E({queries:K.map(me=>(0,we.default)((0,we.default)({},me),{},{queryKey:me.queryKey})),combine:te?.combine},Q)},useSuspenseQueries:W=>{const{queryClient:te,client:P}=p(),Q=wN(P),oe=W(Q),I=KA({queries:oe.map(ue=>(0,we.default)((0,we.default)({},ue),{},{queryFn:ue.queryFn,queryKey:ue.queryKey}))},te);return[I.map(ue=>ue.data),I]},useMutation:S,useSubscription:D,useInfiniteQuery:V,usePrefetchInfiniteQuery:j,useSuspenseInfiniteQuery:U}}function E3(a){const r=m3(a);return Wg(s=>s==="useContext"||s==="useUtils"?()=>{const u=a.useUtils();return A.useMemo(()=>y3(u),[u])}:a.hasOwnProperty(s)?a[s]:r[s])}function C3(a){const r=N3();return E3(r)}const Aa=C3(),T3="Please login (10001)";var ig={exports:{}},Wu={},ug={exports:{}},cg={},NN;function D3(){return NN||(NN=1,(function(a){/**
48
+ * @license React
49
+ * scheduler.development.js
50
+ *
51
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
52
+ *
53
+ * This source code is licensed under the MIT license found in the
54
+ * LICENSE file in the root directory of this source tree.
55
+ */(function(){function r(){if(W=!1,oe){var q=a.unstable_now();K=q;var F=!0;try{e:{ee=!1,ie&&(ie=!1,P(I),I=-1),U=!0;var B=j;try{t:{for(m(q),V=u(C);V!==null&&!(V.expirationTime>q&&b());){var fe=V.callback;if(typeof fe=="function"){V.callback=null,j=V.priorityLevel;var Se=fe(V.expirationTime<=q);if(q=a.unstable_now(),typeof Se=="function"){V.callback=Se,m(q),F=!0;break t}V===u(C)&&c(C),m(q)}else c(C);V=u(C)}if(V!==null)F=!0;else{var O=u(T);O!==null&&x(p,O.startTime-q),F=!1}}break e}finally{V=null,j=B,U=!1}F=void 0}}finally{F?ne():oe=!1}}}function s(q,F){var B=q.length;q.push(F);e:for(;0<B;){var fe=B-1>>>1,Se=q[fe];if(0<f(Se,F))q[fe]=F,q[B]=Se,B=fe;else break e}}function u(q){return q.length===0?null:q[0]}function c(q){if(q.length===0)return null;var F=q[0],B=q.pop();if(B!==F){q[0]=B;e:for(var fe=0,Se=q.length,O=Se>>>1;fe<O;){var ae=2*(fe+1)-1,X=q[ae],Z=ae+1,xe=q[Z];if(0>f(X,B))Z<Se&&0>f(xe,X)?(q[fe]=xe,q[Z]=B,fe=Z):(q[fe]=X,q[ae]=B,fe=ae);else if(Z<Se&&0>f(xe,B))q[fe]=xe,q[Z]=B,fe=Z;else break e}}return F}function f(q,F){var B=q.sortIndex-F.sortIndex;return B!==0?B:q.id-F.id}function m(q){for(var F=u(T);F!==null;){if(F.callback===null)c(T);else if(F.startTime<=q)c(T),F.sortIndex=F.expirationTime,s(C,F);else break;F=u(T)}}function p(q){if(ie=!1,m(q),!ee)if(u(C)!==null)ee=!0,oe||(oe=!0,ne());else{var F=u(T);F!==null&&x(p,F.startTime-q)}}function b(){return W?!0:!(a.unstable_now()-K<ue)}function x(q,F){I=te(function(){q(a.unstable_now())},F)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var E=performance;a.unstable_now=function(){return E.now()}}else{var g=Date,S=g.now();a.unstable_now=function(){return g.now()-S}}var C=[],T=[],D=1,V=null,j=3,U=!1,ee=!1,ie=!1,W=!1,te=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,Q=typeof setImmediate<"u"?setImmediate:null,oe=!1,I=-1,ue=5,K=-1;if(typeof Q=="function")var ne=function(){Q(r)};else if(typeof MessageChannel<"u"){var me=new MessageChannel,ve=me.port2;me.port1.onmessage=r,ne=function(){ve.postMessage(null)}}else ne=function(){te(r,0)};a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(q){q.callback=null},a.unstable_forceFrameRate=function(q){0>q||125<q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ue=0<q?Math.floor(1e3/q):5},a.unstable_getCurrentPriorityLevel=function(){return j},a.unstable_next=function(q){switch(j){case 1:case 2:case 3:var F=3;break;default:F=j}var B=j;j=F;try{return q()}finally{j=B}},a.unstable_requestPaint=function(){W=!0},a.unstable_runWithPriority=function(q,F){switch(q){case 1:case 2:case 3:case 4:case 5:break;default:q=3}var B=j;j=q;try{return F()}finally{j=B}},a.unstable_scheduleCallback=function(q,F,B){var fe=a.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?fe+B:fe):B=fe,q){case 1:var Se=-1;break;case 2:Se=250;break;case 5:Se=1073741823;break;case 4:Se=1e4;break;default:Se=5e3}return Se=B+Se,q={id:D++,callback:F,priorityLevel:q,startTime:B,expirationTime:Se,sortIndex:-1},B>fe?(q.sortIndex=B,s(T,q),u(C)===null&&q===u(T)&&(ie?(P(I),I=-1):ie=!0,x(p,B-fe))):(q.sortIndex=Se,s(C,q),ee||U||(ee=!0,oe||(oe=!0,ne()))),q},a.unstable_shouldYield=b,a.unstable_wrapCallback=function(q){var F=j;return function(){var B=j;j=F;try{return q.apply(this,arguments)}finally{j=B}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(cg)),cg}var EN;function O3(){return EN||(EN=1,ug.exports=D3()),ug.exports}var dg={exports:{}},mn={},CN;function R3(){if(CN)return mn;CN=1;/**
56
+ * @license React
57
+ * react-dom.development.js
58
+ *
59
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
60
+ *
61
+ * This source code is licensed under the MIT license found in the
62
+ * LICENSE file in the root directory of this source tree.
63
+ */return(function(){function a(){}function r(g){return""+g}function s(g,S,C){var T=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{r(T);var D=!1}catch{D=!0}return D&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&T[Symbol.toStringTag]||T.constructor.name||"Object"),r(T)),{$$typeof:x,key:T==null?null:""+T,children:g,containerInfo:S,implementation:C}}function u(g,S){if(g==="font")return"";if(typeof S=="string")return S==="use-credentials"?S:""}function c(g){return g===null?"`null`":g===void 0?"`undefined`":g===""?"an empty string":'something with type "'+typeof g+'"'}function f(g){return g===null?"`null`":g===void 0?"`undefined`":g===""?"an empty string":typeof g=="string"?JSON.stringify(g):typeof g=="number"?"`"+g+"`":'something with type "'+typeof g+'"'}function m(){var g=E.H;return g===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
64
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
65
+ 2. You might be breaking the Rules of Hooks
66
+ 3. You might have more than one copy of React in the same app
67
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),g}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var p=hi(),b={d:{f:a,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},x=Symbol.for("react.portal"),E=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),mn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=b,mn.createPortal=function(g,S){var C=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!S||S.nodeType!==1&&S.nodeType!==9&&S.nodeType!==11)throw Error("Target container is not a DOM element.");return s(g,S,null,C)},mn.flushSync=function(g){var S=E.T,C=b.p;try{if(E.T=null,b.p=2,g)return g()}finally{E.T=S,b.p=C,b.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},mn.preconnect=function(g,S){typeof g=="string"&&g?S!=null&&typeof S!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",f(S)):S!=null&&typeof S.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",c(S.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",c(g)),typeof g=="string"&&(S?(S=S.crossOrigin,S=typeof S=="string"?S==="use-credentials"?S:"":void 0):S=null,b.d.C(g,S))},mn.prefetchDNS=function(g){if(typeof g!="string"||!g)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",c(g));else if(1<arguments.length){var S=arguments[1];typeof S=="object"&&S.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",f(S)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",f(S))}typeof g=="string"&&b.d.D(g)},mn.preinit=function(g,S){if(typeof g=="string"&&g?S==null||typeof S!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",f(S)):S.as!=="style"&&S.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',f(S.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",c(g)),typeof g=="string"&&S&&typeof S.as=="string"){var C=S.as,T=u(C,S.crossOrigin),D=typeof S.integrity=="string"?S.integrity:void 0,V=typeof S.fetchPriority=="string"?S.fetchPriority:void 0;C==="style"?b.d.S(g,typeof S.precedence=="string"?S.precedence:void 0,{crossOrigin:T,integrity:D,fetchPriority:V}):C==="script"&&b.d.X(g,{crossOrigin:T,integrity:D,fetchPriority:V,nonce:typeof S.nonce=="string"?S.nonce:void 0})}},mn.preinitModule=function(g,S){var C="";if(typeof g=="string"&&g||(C+=" The `href` argument encountered was "+c(g)+"."),S!==void 0&&typeof S!="object"?C+=" The `options` argument encountered was "+c(S)+".":S&&"as"in S&&S.as!=="script"&&(C+=" The `as` option encountered was "+f(S.as)+"."),C)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",C);else switch(C=S&&typeof S.as=="string"?S.as:"script",C){case"script":break;default:C=f(C),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',C,g)}typeof g=="string"&&(typeof S=="object"&&S!==null?(S.as==null||S.as==="script")&&(C=u(S.as,S.crossOrigin),b.d.M(g,{crossOrigin:C,integrity:typeof S.integrity=="string"?S.integrity:void 0,nonce:typeof S.nonce=="string"?S.nonce:void 0})):S==null&&b.d.M(g))},mn.preload=function(g,S){var C="";if(typeof g=="string"&&g||(C+=" The `href` argument encountered was "+c(g)+"."),S==null||typeof S!="object"?C+=" The `options` argument encountered was "+c(S)+".":typeof S.as=="string"&&S.as||(C+=" The `as` option encountered was "+c(S.as)+"."),C&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',C),typeof g=="string"&&typeof S=="object"&&S!==null&&typeof S.as=="string"){C=S.as;var T=u(C,S.crossOrigin);b.d.L(g,C,{crossOrigin:T,integrity:typeof S.integrity=="string"?S.integrity:void 0,nonce:typeof S.nonce=="string"?S.nonce:void 0,type:typeof S.type=="string"?S.type:void 0,fetchPriority:typeof S.fetchPriority=="string"?S.fetchPriority:void 0,referrerPolicy:typeof S.referrerPolicy=="string"?S.referrerPolicy:void 0,imageSrcSet:typeof S.imageSrcSet=="string"?S.imageSrcSet:void 0,imageSizes:typeof S.imageSizes=="string"?S.imageSizes:void 0,media:typeof S.media=="string"?S.media:void 0})}},mn.preloadModule=function(g,S){var C="";typeof g=="string"&&g||(C+=" The `href` argument encountered was "+c(g)+"."),S!==void 0&&typeof S!="object"?C+=" The `options` argument encountered was "+c(S)+".":S&&"as"in S&&typeof S.as!="string"&&(C+=" The `as` option encountered was "+c(S.as)+"."),C&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',C),typeof g=="string"&&(S?(C=u(S.as,S.crossOrigin),b.d.m(g,{as:typeof S.as=="string"&&S.as!=="script"?S.as:void 0,crossOrigin:C,integrity:typeof S.integrity=="string"?S.integrity:void 0})):b.d.m(g))},mn.requestFormReset=function(g){b.d.r(g)},mn.unstable_batchedUpdates=function(g,S){return g(S)},mn.useFormState=function(g,S,C){return m().useFormState(g,S,C)},mn.useFormStatus=function(){return m().useHostTransitionStatus()},mn.version="19.2.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),mn}var TN;function KE(){return TN||(TN=1,dg.exports=R3()),dg.exports}var DN;function A3(){if(DN)return Wu;DN=1;/**
68
+ * @license React
69
+ * react-dom-client.development.js
70
+ *
71
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
72
+ *
73
+ * This source code is licensed under the MIT license found in the
74
+ * LICENSE file in the root directory of this source tree.
75
+ */return(function(){function a(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function r(e,t,n,o){if(n>=t.length)return o;var l=t[n],i=It(e)?e.slice():Ye({},e);return i[l]=r(e[l],t,n+1,o),i}function s(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var o=0;o<n.length-1;o++)if(t[o]!==n[o]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return u(e,t,n,0)}}function u(e,t,n,o){var l=t[o],i=It(e)?e.slice():Ye({},e);return o+1===t.length?(i[n[o]]=i[l],It(i)?i.splice(l,1):delete i[l]):i[l]=u(e[l],t,n,o+1),i}function c(e,t,n){var o=t[n],l=It(e)?e.slice():Ye({},e);return n+1===t.length?(It(l)?l.splice(o,1):delete l[o],l):(l[o]=c(e[o],t,n+1),l)}function f(){return!1}function m(){return null}function p(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function b(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function x(){}function E(){}function g(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function S(e,t,n,o){return new tD(e,t,n,o)}function C(e,t){e.context===_r&&(xp(e.current,2,t,e,null,null),ps())}function T(e,t){if(la!==null){var n=t.staleFamilies;t=t.updatedFamilies,Gi(),lv(e.current,t,n),ps()}}function D(e){la=e}function V(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function j(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function U(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ee(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ie(e){if(j(e)!==e)throw Error("Unable to find node on an unmounted component.")}function W(e){var t=e.alternate;if(!t){if(t=j(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,o=t;;){var l=n.return;if(l===null)break;var i=l.alternate;if(i===null){if(o=l.return,o!==null){n=o;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===n)return ie(l),e;if(i===o)return ie(l),t;i=i.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==o.return)n=l,o=i;else{for(var d=!1,h=l.child;h;){if(h===n){d=!0,n=l,o=i;break}if(h===o){d=!0,o=l,n=i;break}h=h.sibling}if(!d){for(h=i.child;h;){if(h===n){d=!0,n=i,o=l;break}if(h===o){d=!0,o=i,n=l;break}h=h.sibling}if(!d)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(n.alternate!==o)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(n.tag!==3)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}function te(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=te(e),t!==null)return t;e=e.sibling}return null}function P(e){return e===null||typeof e!="object"?null:(e=m1&&e[m1]||e["@@iterator"],typeof e=="function"?e:null)}function Q(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===NO?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ss:return"Fragment";case Dp:return"Profiler";case Td:return"StrictMode";case Rp:return"Suspense";case Ap:return"SuspenseList";case _p:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case ws:return"Portal";case no:return e.displayName||"Context";case Op:return(e._context.displayName||"Context")+".Consumer";case nu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Dd:return t=e.displayName||null,t!==null?t:Q(e.type)||"Memo";case $n:t=e._payload,e=e._init;try{return Q(e(t))}catch{}}return null}function oe(e){return typeof e.tag=="number"?I(e):typeof e.name=="string"?e.name:null}function I(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Q(t);case 8:return t===Td?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var n=t.length-1;0<=n;n--)if(typeof t[n].name=="string")return t[n].name}if(e.return!==null)return I(e.return)}return null}function ue(e){return{current:e}}function K(e,t){0>Ho?console.error("Unexpected pop."):(t!==Mp[Ho]&&console.error("Unexpected Fiber popped."),e.current=jp[Ho],jp[Ho]=null,Mp[Ho]=null,Ho--)}function ne(e,t,n){Ho++,jp[Ho]=e.current,Mp[Ho]=n,e.current=t}function me(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function ve(e,t){ne(Cr,t,e),ne(au,e,e),ne(Er,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?Ux(t):Wo;break;default:if(n=t.tagName,t=t.namespaceURI)t=Ux(t),t=Hx(t,n);else switch(n){case"svg":t=ni;break;case"math":t=Tf;break;default:t=Wo}}n=n.toLowerCase(),n=_y(null,n),n={context:t,ancestorInfo:n},K(Er,e),ne(Er,n,e)}function q(e){K(Er,e),K(au,e),K(Cr,e)}function F(){return me(Er.current)}function B(e){e.memoizedState!==null&&ne(Od,e,e);var t=me(Er.current),n=e.type,o=Hx(t.context,n);n=_y(t.ancestorInfo,n),o={context:o,ancestorInfo:n},t!==o&&(ne(au,e,e),ne(Er,o,e))}function fe(e){au.current===e&&(K(Er,e),K(au,e)),Od.current===e&&(K(Od,e),Xu._currentValue=Yl)}function Se(){}function O(){if(ou===0){h1=console.log,p1=console.info,b1=console.warn,g1=console.error,y1=console.group,v1=console.groupCollapsed,x1=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Se,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ou++}function ae(){if(ou--,ou===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ye({},e,{value:h1}),info:Ye({},e,{value:p1}),warn:Ye({},e,{value:b1}),error:Ye({},e,{value:g1}),group:Ye({},e,{value:y1}),groupCollapsed:Ye({},e,{value:v1}),groupEnd:Ye({},e,{value:x1})})}0>ou&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function X(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
76
+ `)&&(e=e.slice(29)),t=e.indexOf(`
77
+ `),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
78
+ `,t)),t!==-1)e=e.slice(0,t);else return"";return e}function Z(e){if(zp===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);zp=t&&t[1]||"",w1=-1<n.stack.indexOf(`
79
+ at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
80
+ `+zp+e+w1}function xe(e,t){if(!e||kp)return"";var n=Vp.get(e);if(n!==void 0)return n;kp=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var o=null;o=G.H,G.H=null,O();try{var l={DetermineComponentFrameRoot:function(){try{if(t){var _=function(){throw Error()};if(Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(de){var Y=de}Reflect.construct(e,[],_)}else{try{_.call()}catch(de){Y=de}e.call(_.prototype)}}else{try{throw Error()}catch(de){Y=de}(_=e())&&typeof _.catch=="function"&&_.catch(function(){})}}catch(de){if(de&&Y&&typeof de.stack=="string")return[de.stack,Y.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=l.DetermineComponentFrameRoot(),h=d[0],y=d[1];if(h&&y){var w=h.split(`
81
+ `),k=y.split(`
82
+ `);for(d=i=0;i<w.length&&!w[i].includes("DetermineComponentFrameRoot");)i++;for(;d<k.length&&!k[d].includes("DetermineComponentFrameRoot");)d++;if(i===w.length||d===k.length)for(i=w.length-1,d=k.length-1;1<=i&&0<=d&&w[i]!==k[d];)d--;for(;1<=i&&0<=d;i--,d--)if(w[i]!==k[d]){if(i!==1||d!==1)do if(i--,d--,0>d||w[i]!==k[d]){var H=`
83
+ `+w[i].replace(" at new "," at ");return e.displayName&&H.includes("<anonymous>")&&(H=H.replace("<anonymous>",e.displayName)),typeof e=="function"&&Vp.set(e,H),H}while(1<=i&&0<=d);break}}}finally{kp=!1,G.H=o,ae(),Error.prepareStackTrace=n}return w=(w=e?e.displayName||e.name:"")?Z(w):"",typeof e=="function"&&Vp.set(e,w),w}function Ie(e,t){switch(e.tag){case 26:case 27:case 5:return Z(e.type);case 16:return Z("Lazy");case 13:return e.child!==t&&t!==null?Z("Suspense Fallback"):Z("Suspense");case 19:return Z("SuspenseList");case 0:case 15:return xe(e.type,!1);case 11:return xe(e.type.render,!1);case 1:return xe(e.type,!0);case 31:return Z("Activity");default:return""}}function pe(e){try{var t="",n=null;do{t+=Ie(e,n);var o=e._debugInfo;if(o)for(var l=o.length-1;0<=l;l--){var i=o[l];if(typeof i.name=="string"){var d=t;e:{var h=i.name,y=i.env,w=i.debugLocation;if(w!=null){var k=X(w),H=k.lastIndexOf(`
84
+ `),_=H===-1?k:k.slice(H+1);if(_.indexOf(h)!==-1){var Y=`
85
+ `+_;break e}}Y=Z(h+(y?" ["+y+"]":""))}t=d+Y}}n=e,e=e.return}while(e);return t}catch(de){return`
86
+ Error generating stack: `+de.message+`
87
+ `+de.stack}}function ze(e){return(e=e?e.displayName||e.name:"")?Z(e):""}function st(){if(Gn===null)return null;var e=Gn._debugOwner;return e!=null?oe(e):null}function Ct(){if(Gn===null)return"";var e=Gn;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=Z(e.type);break;case 13:t+=Z("Suspense");break;case 19:t+=Z("SuspenseList");break;case 31:t+=Z("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=ze(e.type));break;case 11:e._debugOwner||t!==""||(t+=ze(e.type.render))}for(;e;)if(typeof e.tag=="number"){var n=e;e=n._debugOwner;var o=n._debugStack;if(e&&o){var l=X(o);l!==""&&(t+=`
88
+ `+l)}}else if(e.debugStack!=null){var i=e.debugStack;(e=e.owner)&&i&&(t+=`
89
+ `+X(i))}else break;var d=t}catch(h){d=`
90
+ Error generating stack: `+h.message+`
91
+ `+h.stack}return d}function be(e,t,n,o,l,i,d){var h=Gn;Ut(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,o,l,i,d)):t(n,o,l,i,d)}finally{Ut(h)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Ut(e){G.getCurrentStack=e===null?null:Ct,ao=!1,Gn=e}function Tn(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function ga(e){try{return za(e),!1}catch{return!0}}function za(e){return""+e}function nt(e,t){if(ga(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,Tn(e)),za(e)}function Ot(e,t){if(ga(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,Tn(e)),za(e)}function Eo(e){if(ga(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Tn(e)),za(e)}function Un(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Es=t.inject(e),dn=t}catch(n){console.error("React instrumentation encountered an error: %o.",n)}return!!t.checkDCE}function Ne(e){if(typeof AO=="function"&&_O(e),dn&&typeof dn.setStrictMode=="function")try{dn.setStrictMode(Es,e)}catch(t){oo||(oo=!0,console.error("React instrumentation encountered an error: %o",t))}}function ur(e){return e>>>=0,e===0?32:31-(jO(e)/MO|0)|0}function wt(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function Dn(e,t,n){var o=e.pendingLanes;if(o===0)return 0;var l=0,i=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var h=o&134217727;return h!==0?(o=h&~i,o!==0?l=wt(o):(d&=h,d!==0?l=wt(d):n||(n=h&~e,n!==0&&(l=wt(n))))):(h=o&~i,h!==0?l=wt(h):d!==0?l=wt(d):n||(n=o&~e,n!==0&&(l=wt(n)))),l===0?0:t!==0&&t!==l&&(t&i)===0&&(i=l&-l,n=t&-t,i>=n||i===32&&(n&4194048)!==0)?t:l}function ka(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function ns(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function Va(){var e=_d;return _d<<=1,(_d&62914560)===0&&(_d=4194304),e}function rl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ya(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function cr(e,t,n,o,l,i){var d=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var h=e.entanglements,y=e.expirationTimes,w=e.hiddenUpdates;for(n=d&~n;0<n;){var k=31-gn(n),H=1<<k;h[k]=0,y[k]=-1;var _=w[k];if(_!==null)for(w[k]=null,k=0;k<_.length;k++){var Y=_[k];Y!==null&&(Y.lane&=-536870913)}n&=~H}o!==0&&ea(e,o,0),i!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=i&~(d&~t))}function ea(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var o=31-gn(t);e.entangledLanes|=t,e.entanglements[o]=e.entanglements[o]|1073741824|n&261930}function dr(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var o=31-gn(n),l=1<<o;l&t|e[o]&t&&(e[o]|=t),n&=~l}}function On(e,t){var n=t&-t;return n=(n&42)!==0?1:Ua(n),(n&(e.suspendedLanes|t))!==0?0:n}function Ua(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Co(e,t,n){if(ro)for(e=e.pendingUpdatersLaneMap;0<n;){var o=31-gn(n),l=1<<o;e[o].add(t),n&=~l}}function To(e,t){if(ro)for(var n=e.pendingUpdatersLaneMap,o=e.memoizedUpdaters;0<t;){var l=31-gn(t);e=1<<l,l=n[l],0<l.size&&(l.forEach(function(i){var d=i.alternate;d!==null&&o.has(d)||o.add(i)}),l.clear()),t&=~e}}function Do(e){return e&=-e,aa<e?lo<e?(e&134217727)!==0?Lo:jd:lo:aa}function Ha(){var e=rt.p;return e!==0?e:(e=window.event,e===void 0?Lo:l1(e.type))}function N(e,t){var n=rt.p;try{return rt.p=e,t()}finally{rt.p=n}}function L(e){delete e[ln],delete e[yn],delete e[Bp],delete e[zO],delete e[kO]}function re(e){var t=e[ln];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Dr]||n[ln]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Gx(e);e!==null;){if(n=e[ln])return n;e=Gx(e)}return t}e=n,n=e.parentNode}return null}function ce(e){if(e=e[ln]||e[Dr]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ee(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Ue(e){var t=e[S1];return t||(t=e[S1]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function le(e){e[ru]=!0}function _e(e,t){Oe(e,t),Oe(e+"Capture",t)}function Oe(e,t){wl[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),wl[e]=t;var n=e.toLowerCase();for(Pp[n]=e,e==="onDoubleClick"&&(Pp.ondblclick=e),e=0;e<t.length;e++)N1.add(t[e])}function ct(e,t){VO[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function pn(e){return Na.call(C1,e)?!0:Na.call(E1,e)?!1:UO.test(e)?C1[e]=!0:(E1[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Rt(e,t,n){if(pn(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":return n;case"function":return n;case"boolean":if(n===!1)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===""&&n===!0?!0:(nt(n,t),e===""+n?n:e)}}function Gt(e,t,n){if(pn(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var o=t.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(t);return}}nt(n,t),e.setAttribute(t,""+n)}}function Oo(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}nt(n,t),e.setAttribute(t,""+n)}}function Mt(e,t,n,o){if(o===null)e.removeAttribute(n);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}nt(o,n),e.setAttributeNS(t,n,""+o)}}function St(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Eo(e),e;default:return""}}function wi(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ro(e,t,n){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var l=o.get,i=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(d){Eo(d),n=""+d,i.call(this,d)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return n},setValue:function(d){Eo(d),n=""+d},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vc(e){if(!e._valueTracker){var t=wi(e)?"checked":"value";e._valueTracker=Ro(e,t,""+e[t])}}function yy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),o="";return e&&(o=wi(e)?e.checked?"true":"false":e.value),e=o,e!==n?(t.setValue(e),!0):!1}function xc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ta(e){return e.replace(HO,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function vy(e,t){t.checked===void 0||t.defaultChecked===void 0||D1||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",st()||"A component",t.type),D1=!0),t.value===void 0||t.defaultValue===void 0||T1||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",st()||"A component",t.type),T1=!0)}function wm(e,t,n,o,l,i,d,h){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?(nt(d,"type"),e.type=d):e.removeAttribute("type"),t!=null?d==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+St(t)):e.value!==""+St(t)&&(e.value=""+St(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?Sm(e,d,St(t)):n!=null?Sm(e,d,St(n)):o!=null&&e.removeAttribute("value"),l==null&&i!=null&&(e.defaultChecked=!!i),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?(nt(h,"name"),e.name=""+St(h)):e.removeAttribute("name")}function xy(e,t,n,o,l,i,d,h){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(nt(i,"type"),e.type=i),t!=null||n!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){vc(e);return}n=n!=null?""+St(n):"",t=t!=null?""+St(t):n,h||t===e.value||(e.value=t),e.defaultValue=t}o=o??l,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=h?e.checked:!!o,e.defaultChecked=!!o,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(nt(d,"name"),e.name=d),vc(e)}function Sm(e,t,n){t==="number"&&xc(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function wy(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?Tp.Children.forEach(t.children,function(n){n==null||typeof n=="string"||typeof n=="number"||typeof n=="bigint"||R1||(R1=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||A1||(A1=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||O1||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),O1=!0)}function Sy(){var e=st();return e?`
92
+
93
+ Check the render method of \``+e+"`.":""}function as(e,t,n,o){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&o&&(e[n].defaultSelected=!0)}else{for(n=""+St(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,o&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Ny(e,t){for(e=0;e<j1.length;e++){var n=j1[e];if(t[n]!=null){var o=It(t[n]);t.multiple&&!o?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Sy()):!t.multiple&&o&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Sy())}}t.value===void 0||t.defaultValue===void 0||_1||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),_1=!0)}function Ey(e,t){t.value===void 0||t.defaultValue===void 0||M1||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",st()||"A component"),M1=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Cy(e,t,n){if(t!=null&&(t=""+St(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+St(n):""}function Ty(e,t,n,o){if(t==null){if(o!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(It(o)){if(1<o.length)throw Error("<textarea> can only have at most one child.");o=o[0]}n=o}n==null&&(n=""),t=n}n=St(t),e.defaultValue=n,o=e.textContent,o===n&&o!==""&&o!==null&&(e.value=o),vc(e)}function Dy(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Dy(e.children[0],t):e}function Hn(e){return" "+" ".repeat(e)}function os(e){return"+ "+" ".repeat(e)}function ll(e){return"- "+" ".repeat(e)}function Oy(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function Si(e,t){return z1.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function wc(e,t,n){var o=120-2*n;if(t===null)return os(n)+Si(e,o)+`
94
+ `;if(typeof t=="string"){for(var l=0;l<t.length&&l<e.length&&t.charCodeAt(l)===e.charCodeAt(l);l++);return l>o-8&&10<l&&(e="..."+e.slice(l-8),t="..."+t.slice(l-8)),os(n)+Si(e,o)+`
95
+ `+ll(n)+Si(t,o)+`
96
+ `}return Hn(n)+Si(e,o)+`
97
+ `}function Nm(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,n){return n})}function Ni(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(It(e))return"[...]";if(e.$$typeof===to)return(t=Q(e.type))?"<"+t+">":"<...>";var n=Nm(e);if(n==="Object"){n="",t-=2;for(var o in e)if(e.hasOwnProperty(o)){var l=JSON.stringify(o);if(l!=='"'+o+'"'&&(o=l),t-=o.length-2,l=Ni(e[o],15>t?t:15),t-=l.length,0>t){n+=n===""?"...":", ...";break}n+=(n===""?"":",")+o+":"+l}return"{"+n+"}"}return n;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function rs(e,t){return typeof e!="string"||z1.test(e)?"{"+Ni(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function Em(e,t,n){var o=120-n.length-e.length,l=[],i;for(i in t)if(t.hasOwnProperty(i)&&i!=="children"){var d=rs(t[i],120-n.length-i.length-1);o-=i.length+d.length+2,l.push(i+"="+d)}return l.length===0?n+"<"+e+`>
98
+ `:0<o?n+"<"+e+" "+l.join(" ")+`>
99
+ `:n+"<"+e+`
100
+ `+n+" "+l.join(`
101
+ `+n+" ")+`
102
+ `+n+`>
103
+ `}function MT(e,t,n){var o="",l=Ye({},t),i;for(i in e)if(e.hasOwnProperty(i)){delete l[i];var d=120-2*n-i.length-2,h=Ni(e[i],d);t.hasOwnProperty(i)?(d=Ni(t[i],d),o+=os(n)+i+": "+h+`
104
+ `,o+=ll(n)+i+": "+d+`
105
+ `):o+=os(n)+i+": "+h+`
106
+ `}for(var y in l)l.hasOwnProperty(y)&&(e=Ni(l[y],120-2*n-y.length-2),o+=ll(n)+y+": "+e+`
107
+ `);return o}function zT(e,t,n,o){var l="",i=new Map;for(w in n)n.hasOwnProperty(w)&&i.set(w.toLowerCase(),w);if(i.size===1&&i.has("children"))l+=Em(e,t,Hn(o));else{for(var d in t)if(t.hasOwnProperty(d)&&d!=="children"){var h=120-2*(o+1)-d.length-1,y=i.get(d.toLowerCase());if(y!==void 0){i.delete(d.toLowerCase());var w=t[d];y=n[y];var k=rs(w,h);h=rs(y,h),typeof w=="object"&&w!==null&&typeof y=="object"&&y!==null&&Nm(w)==="Object"&&Nm(y)==="Object"&&(2<Object.keys(w).length||2<Object.keys(y).length||-1<k.indexOf("...")||-1<h.indexOf("..."))?l+=Hn(o+1)+d+`={{
108
+ `+MT(w,y,o+2)+Hn(o+1)+`}}
109
+ `:(l+=os(o+1)+d+"="+k+`
110
+ `,l+=ll(o+1)+d+"="+h+`
111
+ `)}else l+=Hn(o+1)+d+"="+rs(t[d],h)+`
112
+ `}i.forEach(function(H){if(H!=="children"){var _=120-2*(o+1)-H.length-1;l+=ll(o+1)+H+"="+rs(n[H],_)+`
113
+ `}}),l=l===""?Hn(o)+"<"+e+`>
114
+ `:Hn(o)+"<"+e+`
115
+ `+l+Hn(o)+`>
116
+ `}return e=n.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(i="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(i=""+t),l+=wc(i,""+e,o+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(l=e==null?l+wc(""+t,null,o+1):l+wc(""+t,void 0,o+1)),l}function Ry(e,t){var n=Oy(e);if(n===null){for(n="",e=e.child;e;)n+=Ry(e,t),e=e.sibling;return n}return Hn(t)+"<"+n+`>
117
+ `}function Cm(e,t){var n=Dy(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return Hn(t)+`...
118
+ `+Cm(n,t+1);n="";var o=e.fiber._debugInfo;if(o)for(var l=0;l<o.length;l++){var i=o[l].name;typeof i=="string"&&(n+=Hn(t)+"<"+i+`>
119
+ `,t++)}if(o="",l=e.fiber.pendingProps,e.fiber.tag===6)o=wc(l,e.serverProps,t),t++;else if(i=Oy(e.fiber),i!==null)if(e.serverProps===void 0){o=t;var d=120-2*o-i.length-2,h="";for(w in l)if(l.hasOwnProperty(w)&&w!=="children"){var y=rs(l[w],15);if(d-=w.length+y.length+2,0>d){h+=" ...";break}h+=" "+w+"="+y}o=Hn(o)+"<"+i+h+`>
120
+ `,t++}else e.serverProps===null?(o=Em(i,l,os(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(o=zT(i,l,e.serverProps,t),t++);var w="";for(l=e.fiber.child,i=0;l&&i<e.children.length;)d=e.children[i],d.fiber===l?(w+=Cm(d,t),i++):w+=Ry(l,t),l=l.sibling;for(l&&0<e.children.length&&(w+=Hn(t)+`...
121
+ `),l=e.serverTail,e.serverProps===null&&t--,e=0;e<l.length;e++)i=l[e],w=typeof i=="string"?w+(ll(t)+Si(i,120-2*t)+`
122
+ `):w+Em(i.type,i.props,ll(t));return n+o+w}function Tm(e){try{return`
123
+
124
+ `+Cm(e,0)}catch{return""}}function Ay(e,t,n){for(var o=t,l=null,i=0;o;)o===e&&(i=0),l={fiber:o,children:l!==null?[l]:[],serverProps:o===t?n:o===e?null:void 0,serverTail:[],distanceFromLeaf:i},i++,o=o.return;return l!==null?Tm(l).replaceAll(/^[+-]/gm,">"):""}function _y(e,t){var n=Ye({},e||V1),o={tag:t};return k1.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),qO.indexOf(t)!==-1&&(n.pTagInButtonScope=null),LO.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=o,t==="form"&&(n.formTag=o),t==="a"&&(n.aTagInScope=o),t==="button"&&(n.buttonTagInScope=o),t==="nobr"&&(n.nobrTagInScope=o),t==="p"&&(n.pTagInButtonScope=o),t==="li"&&(n.listItemTagAutoclosing=o),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=o),t==="#document"||t==="html"?n.containerTagInScope=null:n.containerTagInScope||(n.containerTagInScope=o),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?n.implicitRootScope===!0&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function jy(e,t,n){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(n)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!n)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return BO.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return n||t===null;case"html":return n&&t==="#document"||t===null;case"body":return n&&(t==="#document"||t==="html")||t===null}return!0}function kT(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function My(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function Dm(e,t){t=t||V1;var n=t.current;if(t=(n=jy(e,n&&n.tag,t.implicitRootScope)?null:n)?null:kT(e,t),t=n||t,!t)return!0;var o=t.tag;if(t=String(!!n)+"|"+e+"|"+o,Md[t])return!1;Md[t]=!0;var l=(t=Gn)?My(t.return,o):null,i=t!==null&&l!==null?Ay(l,t,null):"",d="<"+e+">";return n?(n="",o==="table"&&e==="tr"&&(n+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
125
+ This will cause a hydration error.%s`,d,o,n,i)):console.error(`In HTML, %s cannot be a descendant of <%s>.
126
+ This will cause a hydration error.%s`,d,o,i),t&&(e=t.return,l===null||e===null||l===e&&e._debugOwner===t._debugOwner||be(l,function(){console.error(`<%s> cannot contain a nested %s.
127
+ See this log for the ancestor stack trace.`,o,d)})),!1}function Sc(e,t,n){if(n||jy("#text",t,!1))return!0;if(n="#text|"+t,Md[n])return!1;Md[n]=!0;var o=(n=Gn)?My(n,t):null;return n=n!==null&&o!==null?Ay(o,n,n.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
128
+ This will cause a hydration error.%s`,t,n):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
129
+ This will cause a hydration error.%s`,t,n),!1}function Ei(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function VT(e){return e.replace(YO,function(t,n){return n.toUpperCase()})}function zy(e,t,n){var o=t.indexOf("--")===0;o||(-1<t.indexOf("-")?Cs.hasOwnProperty(t)&&Cs[t]||(Cs[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,VT(t.replace(QO,"ms-")))):PO.test(t)?Cs.hasOwnProperty(t)&&Cs[t]||(Cs[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!L1.test(n)||Yp.hasOwnProperty(n)&&Yp[n]||(Yp[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(L1,""))),typeof n=="number"&&(isNaN(n)?q1||(q1=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||B1||(B1=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n=="boolean"||n===""?o?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":o?e.setProperty(t,n):typeof n!="number"||n===0||P1.has(t)?t==="float"?e.cssFloat=n:(Ot(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function ky(e,t,n){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,n!=null){if(t){var o={};if(n){for(var l in n)if(n.hasOwnProperty(l)&&!t.hasOwnProperty(l))for(var i=Qp[l]||[l],d=0;d<i.length;d++)o[i[d]]=l}for(var h in t)if(t.hasOwnProperty(h)&&(!n||n[h]!==t[h]))for(l=Qp[h]||[h],i=0;i<l.length;i++)o[l[i]]=h;h={};for(var y in t)for(l=Qp[y]||[y],i=0;i<l.length;i++)h[l[i]]=y;y={};for(var w in o)if(l=o[w],(i=h[w])&&l!==i&&(d=l+","+i,!y[d])){y[d]=!0,d=console;var k=t[l];d.error.call(d,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",k==null||typeof k=="boolean"||k===""?"Removing":"Updating",l,i)}}for(var H in n)!n.hasOwnProperty(H)||t!=null&&t.hasOwnProperty(H)||(H.indexOf("--")===0?e.setProperty(H,""):H==="float"?e.cssFloat="":e[H]="");for(var _ in t)w=t[_],t.hasOwnProperty(_)&&n[_]!==w&&zy(e,_,w)}else for(o in t)t.hasOwnProperty(o)&&zy(e,o,t[o])}function Ci(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Vy(e){return $O.get(e)||e}function UT(e,t){if(Na.call(Ds,t)&&Ds[t])return!0;if(IO.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=Q1.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Ds[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Ds[t]=!0}if(GO.test(t)){if(e=t.toLowerCase(),e=Q1.hasOwnProperty(e)?e:null,e==null)return Ds[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Ds[t]=!0)}return!0}function HT(e,t){var n=[],o;for(o in t)UT(e,o)||n.push(o);t=n.map(function(l){return"`"+l+"`"}).join(", "),n.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<n.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function LT(e,t,n,o){if(Na.call(vn,t)&&vn[t])return!0;var l=t.toLowerCase();if(l==="onfocusin"||l==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),vn[t]=!0;if(typeof n=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(o!=null){if(e=o.possibleRegistrationNames,o.registrationNameDependencies.hasOwnProperty(t))return!0;if(o=e.hasOwnProperty(l)?e[l]:null,o!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,o),vn[t]=!0;if($1.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),vn[t]=!0}else if($1.test(t))return XO.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),vn[t]=!0;if(FO.test(t)||ZO.test(t))return!0;if(l==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),vn[t]=!0;if(l==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),vn[t]=!0;if(l==="is"&&n!==null&&n!==void 0&&typeof n!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),vn[t]=!0;if(typeof n=="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),vn[t]=!0;if(kd.hasOwnProperty(l)){if(l=kd[l],l!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,l),vn[t]=!0}else if(t!==l)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,l),vn[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof n){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":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":case"capture":case"download":case"inert":return!0;default:return l=t.toLowerCase().slice(0,5),l==="data-"||l==="aria-"?!0:(n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),vn[t]=!0)}case"function":case"symbol":return vn[t]=!0,!1;case"string":if(n==="false"||n==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":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":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),vn[t]=!0}}return!0}function qT(e,t,n){var o=[],l;for(l in t)LT(e,l,t[l],n)||o.push(l);t=o.map(function(i){return"`"+i+"`"}).join(", "),o.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<o.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function Ti(e){return JO.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Ao(){}function Om(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Uy(e){var t=ce(e);if(t&&(e=t.stateNode)){var n=e[yn]||null;e:switch(e=t.stateNode,t.type){case"input":if(wm(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(nt(t,"name"),n=n.querySelectorAll('input[name="'+ta(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var o=n[t];if(o!==e&&o.form===e.form){var l=o[yn]||null;if(!l)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");wm(o,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(t=0;t<n.length;t++)o=n[t],o.form===e.form&&yy(o)}break e;case"textarea":Cy(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&as(e,!!n.multiple,t,!1)}}}function Hy(e,t,n){if($p)return e(t,n);$p=!0;try{var o=e(t);return o}finally{if($p=!1,(Os!==null||Rs!==null)&&(ps(),Os&&(t=Os,e=Rs,Rs=Os=null,Uy(t),e)))for(t=0;t<e.length;t++)Uy(e[t])}}function Di(e,t){var n=e.stateNode;if(n===null)return null;var o=n[yn]||null;if(o===null)return null;n=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function Ly(){if(Vd)return Vd;var e,t=Ip,n=t.length,o,l="value"in Or?Or.value:Or.textContent,i=l.length;for(e=0;e<n&&t[e]===l[e];e++);var d=n-e;for(o=1;o<=d&&t[n-o]===l[i-o];o++);return Vd=l.slice(e,1<o?1-o:void 0)}function Nc(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ec(){return!0}function qy(){return!1}function Rn(e){function t(n,o,l,i,d){this._reactName=n,this._targetInst=l,this.type=o,this.nativeEvent=i,this.target=d,this.currentTarget=null;for(var h in e)e.hasOwnProperty(h)&&(n=e[h],this[h]=n?n(i):i[h]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Ec:qy,this.isPropagationStopped=qy,this}return Ye(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ec)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ec)},persist:function(){},isPersistent:Ec}),t}function BT(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=cR[e])?!!t[e]:!1}function Rm(){return BT}function By(e,t){switch(e){case"keyup":return SR.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==F1;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Py(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function PT(e,t){switch(e){case"compositionend":return Py(t);case"keypress":return t.which!==J1?null:(W1=!0,K1);case"textInput":return e=t.data,e===K1&&W1?null:e;default:return null}}function QT(e,t){if(As)return e==="compositionend"||!Jp&&By(e,t)?(e=Ly(),Vd=Ip=Or=null,As=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Z1&&t.locale!=="ko"?null:t.data;default:return null}}function Qy(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ER[e.type]:t==="textarea"}function YT(e){if(!so)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function Yy(e,t,n,o){Os?Rs?Rs.push(o):Rs=[o]:Os=o,t=bd(t,"onChange"),0<t.length&&(n=new Ud("onChange","change",null,n,o),e.push({event:n,listeners:t}))}function $T(e){Tx(e,0)}function Cc(e){var t=Ee(e);if(yy(t))return e}function $y(e,t){if(e==="change")return t}function Gy(){du&&(du.detachEvent("onpropertychange",Iy),fu=du=null)}function Iy(e){if(e.propertyName==="value"&&Cc(fu)){var t=[];Yy(t,fu,e,Om(e)),Hy($T,t)}}function GT(e,t,n){e==="focusin"?(Gy(),du=t,fu=n,du.attachEvent("onpropertychange",Iy)):e==="focusout"&&Gy()}function IT(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Cc(fu)}function XT(e,t){if(e==="click")return Cc(t)}function FT(e,t){if(e==="input"||e==="change")return Cc(t)}function ZT(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function Oi(e,t){if(xn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(o=0;o<n.length;o++){var l=n[o];if(!Na.call(t,l)||!xn(e[l],t[l]))return!1}return!0}function Xy(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Fy(e,t){var n=Xy(e);e=0;for(var o;n;){if(n.nodeType===3){if(o=e+n.textContent.length,e<=t&&o>=t)return{node:n,offset:t-e};e=o}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Xy(n)}}function Zy(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Zy(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Jy(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=xc(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=xc(e.document)}return t}function Am(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Ky(e,t,n){var o=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Wp||_s==null||_s!==xc(o)||(o=_s,"selectionStart"in o&&Am(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),mu&&Oi(mu,o)||(mu=o,o=bd(Kp,"onSelect"),0<o.length&&(t=new Ud("onSelect","select",null,t,n),e.push({event:t,listeners:o}),t.target=_s)))}function sl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function il(e){if(eb[e])return eb[e];if(!js[e])return e;var t=js[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in tw)return eb[e]=t[n];return e}function va(e,t){lw.set(e,t),_e(t,[e])}function JT(e){for(var t=Ld,n=0;n<e.length;n++){var o=e[n];if(typeof o=="object"&&o!==null)if(It(o)&&o.length===2&&typeof o[0]=="string"){if(t!==Ld&&t!==rb)return ab;t=rb}else return ab;else{if(typeof o=="function"||typeof o=="string"&&50<o.length||t!==Ld&&t!==ob)return ab;t=ob}}return t}function _m(e,t,n,o){for(var l in e)Na.call(e,l)&&l[0]!=="_"&&La(l,e[l],t,n,o)}function La(e,t,n,o,l){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===to){var i=Q(t.type)||"…",d=t.key;t=t.props;var h=Object.keys(t),y=h.length;if(d==null&&y===0){t="<"+i+" />";break}if(3>o||y===1&&h[0]==="children"&&d==null){t="<"+i+" … />";break}n.push([l+"  ".repeat(o)+e,"<"+i]),d!==null&&La("key",d,n,o+1,l),e=!1;for(var w in t)w==="children"?t.children!=null&&(!It(t.children)||0<t.children.length)&&(e=!0):Na.call(t,w)&&w[0]!=="_"&&La(w,t[w],n,o+1,l);n.push(["",e?">…</"+i+">":"/>"]);return}if(i=Object.prototype.toString.call(t),i=i.slice(8,i.length-1),i==="Array"){if(w=JT(t),w===ob||w===Ld){t=JSON.stringify(t);break}else if(w===rb){for(n.push([l+"  ".repeat(o)+e,""]),e=0;e<t.length;e++)i=t[e],La(i[0],i[1],n,o+1,l);return}}if(i==="Promise"){if(t.status==="fulfilled"){if(i=n.length,La(e,t.value,n,o,l),n.length>i){n=n[i],n[1]="Promise<"+(n[1]||"Object")+">";return}}else if(t.status==="rejected"&&(i=n.length,La(e,t.reason,n,o,l),n.length>i)){n=n[i],n[1]="Rejected Promise<"+n[1]+">";return}n.push(["  ".repeat(o)+e,"Promise"]);return}i==="Object"&&(w=Object.getPrototypeOf(t))&&typeof w.constructor=="function"&&(i=w.constructor.name),n.push([l+"  ".repeat(o)+e,i==="Object"?3>o?"":"…":i]),3>o&&_m(t,n,o+1,l);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===_R?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}n.push([l+"  ".repeat(o)+e,t])}function Wy(e,t,n,o){var l=!0;for(d in e)d in t||(n.push([qd+"  ".repeat(o)+d,"…"]),l=!1);for(var i in t)if(i in e){var d=e[i],h=t[i];if(d!==h){if(o===0&&i==="children")l="  ".repeat(o)+i,n.push([qd+l,"…"],[Bd+l,"…"]);else{if(!(3<=o)){if(typeof d=="object"&&typeof h=="object"&&d!==null&&h!==null&&d.$$typeof===h.$$typeof)if(h.$$typeof===to){if(d.type===h.type&&d.key===h.key){d=Q(h.type)||"…",l="  ".repeat(o)+i,d="<"+d+" … />",n.push([qd+l,d],[Bd+l,d]),l=!1;continue}}else{var y=Object.prototype.toString.call(d),w=Object.prototype.toString.call(h);if(y===w&&(w==="[object Object]"||w==="[object Array]")){y=[uw+"  ".repeat(o)+i,w==="[object Array]"?"Array":""],n.push(y),w=n.length,Wy(d,h,n,o+1)?w===n.length&&(y[1]="Referentially unequal but deeply equal objects. Consider memoization."):l=!1;continue}}else if(typeof d=="function"&&typeof h=="function"&&d.name===h.name&&d.length===h.length&&(y=Function.prototype.toString.call(d),w=Function.prototype.toString.call(h),y===w)){d=h.name===""?"() => {}":h.name+"() {}",n.push([uw+"  ".repeat(o)+i,d+" Referentially unequal function closure. Consider memoization."]);continue}}La(i,d,n,o,qd),La(i,h,n,o,Bd)}l=!1}}else n.push([Bd+"  ".repeat(o)+i,"…"]),l=!1;return l}function xa(e){et=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function qa(e,t,n,o){bt&&(Ar.start=t,Ar.end=n,qo.color="warning",qo.tooltipText=o,qo.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,o,Ar)):performance.measure(o,Ar))}function Tc(e,t,n){qa(e,t,n,"Reconnect")}function Dc(e,t,n,o,l){var i=I(e);if(i!==null&&bt){var d=e.alternate,h=e.actualDuration;if(d===null||d.child!==e.child)for(var y=e.child;y!==null;y=y.sibling)h-=y.actualDuration;o=.5>h?o?"tertiary-light":"primary-light":10>h?o?"tertiary":"primary":100>h?o?"tertiary-dark":"primary-dark":"error";var w=e.memoizedProps;h=e._debugTask,w!==null&&d!==null&&d.memoizedProps!==w?(y=[jR],w=Wy(d.memoizedProps,w,y,0),1<y.length&&(w&&!Rr&&(d.lanes&l)===0&&100<e.actualDuration?(Rr=!0,y[0]=MR,qo.color="warning",qo.tooltipText=cw):(qo.color=o,qo.tooltipText=i),qo.properties=y,Ar.start=t,Ar.end=n,h!=null?h.run(performance.measure.bind(performance,"​"+i,Ar)):performance.measure("​"+i,Ar))):h!=null?h.run(console.timeStamp.bind(console,i,t,n,oa,void 0,o)):console.timeStamp(i,t,n,oa,void 0,o)}}function jm(e,t,n,o){if(bt){var l=I(e);if(l!==null){for(var i=null,d=[],h=0;h<o.length;h++){var y=o[h];i==null&&y.source!==null&&(i=y.source._debugTask),y=y.value,d.push(["Error",typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y)])}e.key!==null&&La("key",e.key,d,0,""),e.memoizedProps!==null&&_m(e.memoizedProps,d,0,""),i==null&&(i=e._debugTask),e={start:t,end:n,detail:{devtools:{color:"error",track:oa,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:d}}},i?i.run(performance.measure.bind(performance,"​"+l,e)):performance.measure("​"+l,e)}}}function Ba(e,t,n,o,l){if(l!==null){if(bt){var i=I(e);if(i!==null){o=[];for(var d=0;d<l.length;d++){var h=l[d].value;o.push(["Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}e.key!==null&&La("key",e.key,o,0,""),e.memoizedProps!==null&&_m(e.memoizedProps,o,0,""),t={start:t,end:n,detail:{devtools:{color:"error",track:oa,tooltipText:"A lifecycle or effect errored",properties:o}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,"​"+i,t)):performance.measure("​"+i,t)}}}else i=I(e),i!==null&&bt&&(l=1>o?"secondary-light":100>o?"secondary":500>o?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,i,t,n,oa,void 0,l)):console.timeStamp(i,t,n,oa,void 0,l))}function KT(e,t,n,o){if(bt&&!(t<=e)){var l=(n&738197653)===n?"tertiary-dark":"primary-dark";n=(n&536870912)===n?"Prepared":(n&201326741)===n?"Hydrated":"Render",o?o.run(console.timeStamp.bind(console,n,e,t,et,Je,l)):console.timeStamp(n,e,t,et,Je,l)}}function ev(e,t,n,o){!bt||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Prewarm",e,t,et,Je,n)):console.timeStamp("Prewarm",e,t,et,Je,n))}function tv(e,t,n,o){!bt||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Suspended",e,t,et,Je,n)):console.timeStamp("Suspended",e,t,et,Je,n))}function WT(e,t,n,o,l,i){if(bt&&!(t<=e)){n=[];for(var d=0;d<o.length;d++){var h=o[d].value;n.push(["Recoverable Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:et,trackGroup:Je,tooltipText:l?"Hydration Failed":"Recovered after Error",properties:n}}},i?i.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function Mm(e,t,n,o){!bt||t<=e||(o?o.run(console.timeStamp.bind(console,"Errored",e,t,et,Je,"error")):console.timeStamp("Errored",e,t,et,Je,"error"))}function eD(e,t,n,o){!bt||t<=e||(o?o.run(console.timeStamp.bind(console,n,e,t,et,Je,"secondary-light")):console.timeStamp(n,e,t,et,Je,"secondary-light"))}function nv(e,t,n,o,l){if(bt&&!(t<=e)){for(var i=[],d=0;d<n.length;d++){var h=n[d].value;i.push(["Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}e={start:e,end:t,detail:{devtools:{color:"error",track:et,trackGroup:Je,tooltipText:o?"Remaining Effects Errored":"Commit Errored",properties:i}}},l?l.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function zm(e,t,n){!bt||t<=e||console.timeStamp("Animating",e,t,et,Je,"secondary-dark")}function Oc(){for(var e=Ms,t=lb=Ms=0;t<e;){var n=ra[t];ra[t++]=null;var o=ra[t];ra[t++]=null;var l=ra[t];ra[t++]=null;var i=ra[t];if(ra[t++]=null,o!==null&&l!==null){var d=o.pending;d===null?l.next=l:(l.next=d.next,d.next=l),o.pending=l}i!==0&&av(n,l,i)}}function Rc(e,t,n,o){ra[Ms++]=e,ra[Ms++]=t,ra[Ms++]=n,ra[Ms++]=o,lb|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function km(e,t,n,o){return Rc(e,t,n,o),Ac(e)}function cn(e,t){return Rc(e,null,null,t),Ac(e)}function av(e,t,n){e.lanes|=n;var o=e.alternate;o!==null&&(o.lanes|=n);for(var l=!1,i=e.return;i!==null;)i.childLanes|=n,o=i.alternate,o!==null&&(o.childLanes|=n),i.tag===22&&(e=i.stateNode,e===null||e._visibility&hu||(l=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,l&&t!==null&&(l=31-gn(n),e=i.hiddenUpdates,o=e[l],o===null?e[l]=[t]:o.push(t),t.lane=n|536870912),i):null}function Ac(e){if(Bu>FR)throw Hl=Bu=0,Pu=Lb=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Hl>ZR&&(Hl=0,Pu=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&vx(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&vx(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function ul(e){if(la===null)return e;var t=la(e);return t===void 0?e:t.current}function Vm(e){if(la===null)return e;var t=la(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=ul(e.render),e.render!==t)?(t={$$typeof:nu,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function ov(e,t){if(la===null)return!1;var n=e.elementType;t=t.type;var o=!1,l=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(o=!0);break;case 0:(typeof t=="function"||l===$n)&&(o=!0);break;case 11:(l===nu||l===$n)&&(o=!0);break;case 14:case 15:(l===Dd||l===$n)&&(o=!0);break;default:return!1}return!!(o&&(e=la(n),e!==void 0&&e===la(t)))}function rv(e){la!==null&&typeof WeakSet=="function"&&(zs===null&&(zs=new WeakSet),zs.add(e))}function lv(e,t,n){do{var o=e,l=o.alternate,i=o.child,d=o.sibling,h=o.tag;o=o.type;var y=null;switch(h){case 0:case 15:case 1:y=o;break;case 11:y=o.render}if(la===null)throw Error("Expected resolveFamily to be set during hot reload.");var w=!1;if(o=!1,y!==null&&(y=la(y),y!==void 0&&(n.has(y)?o=!0:t.has(y)&&(h===1?o=!0:w=!0))),zs!==null&&(zs.has(e)||l!==null&&zs.has(l))&&(o=!0),o&&(e._debugNeedsRemount=!0),(o||w)&&(l=cn(e,2),l!==null&&Tt(l,e,2)),i===null||o||lv(i,t,n),d===null)break;e=d}while(!0)}function tD(e,t,n,o){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,dw||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Um(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _o(e,t){var n=e.alternate;switch(n===null?(n=S(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=ul(e.type);break;case 1:n.type=ul(e.type);break;case 11:n.type=Vm(e.type)}return n}function sv(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function Hm(e,t,n,o,l,i){var d=0,h=e;if(typeof e=="function")Um(e)&&(d=1),h=ul(h);else if(typeof e=="string")d=F(),d=cO(e,n,d)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case _p:return t=S(31,n,t,l),t.elementType=_p,t.lanes=i,t;case Ss:return cl(n.children,l,i,t);case Td:d=8,l|=fn,l|=Ea;break;case Dp:return e=n,o=l,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=S(12,e,t,o|Le),t.elementType=Dp,t.lanes=i,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Rp:return t=S(13,n,t,l),t.elementType=Rp,t.lanes=i,t;case Ap:return t=S(19,n,t,l),t.elementType=Ap,t.lanes=i,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case no:d=10;break e;case Op:d=9;break e;case nu:d=11,h=Vm(h);break e;case Dd:d=14;break e;case $n:d=16,h=null;break e}h="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(h+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":It(e)?n="array":e!==void 0&&e.$$typeof===to?(n="<"+(Q(e.type)||"Unknown")+" />",h=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(d=o?oe(o):null)&&(h+=`
130
+
131
+ Check the render method of \``+d+"`."),d=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(n+"."+h)),h=null}return t=S(d,n,t,l),t.elementType=e,t.type=h,t.lanes=i,t._debugOwner=o,t}function _c(e,t,n){return t=Hm(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function cl(e,t,n,o){return e=S(7,e,o,t),e.lanes=n,e}function Lm(e,t,n){return e=S(6,e,null,t),e.lanes=n,e}function iv(e){var t=S(18,null,null,Me);return t.stateNode=e,t}function qm(e,t,n){return t=S(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ln(e,t){if(typeof e=="object"&&e!==null){var n=sb.get(e);return n!==void 0?n:(t={value:e,source:t,stack:pe(t)},sb.set(e,t),t)}return{value:e,source:t,stack:pe(t)}}function jo(e,t){fr(),ks[Vs++]=pu,ks[Vs++]=Pd,Pd=e,pu=t}function uv(e,t,n){fr(),sa[ia++]=Po,sa[ia++]=Qo,sa[ia++]=Nl,Nl=e;var o=Po;e=Qo;var l=32-gn(o)-1;o&=~(1<<l),n+=1;var i=32-gn(t)+l;if(30<i){var d=l-l%5;i=(o&(1<<d)-1).toString(32),o>>=d,l-=d,Po=1<<32-gn(t)+l|n<<l|o,Qo=i+e}else Po=1<<i|n<<l|o,Qo=e}function Bm(e){fr(),e.return!==null&&(jo(e,1),uv(e,1,0))}function Pm(e){for(;e===Pd;)Pd=ks[--Vs],ks[Vs]=null,pu=ks[--Vs],ks[Vs]=null;for(;e===Nl;)Nl=sa[--ia],sa[ia]=null,Qo=sa[--ia],sa[ia]=null,Po=sa[--ia],sa[ia]=null}function cv(){return fr(),Nl!==null?{id:Po,overflow:Qo}:null}function dv(e,t){fr(),sa[ia++]=Po,sa[ia++]=Qo,sa[ia++]=Nl,Po=t.id,Qo=t.overflow,Nl=e}function fr(){Xe||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function dl(e,t){if(e.return===null){if(In===null)In={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(In.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");In.distanceFromLeaf>t&&(In.distanceFromLeaf=t)}return In}var n=dl(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?(n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function fv(){Xe&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function jc(e,t){io||(e=dl(e,0),e.serverProps=null,t!==null&&(t=Yx(t),e.serverTail.push(t)))}function mr(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,n="",o=In;throw o!==null&&(In=null,n=Tm(o)),Ri(Ln(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
132
+
133
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
134
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
135
+ - Date formatting in a user's locale which doesn't match the server.
136
+ - External changing data without sending a snapshot of it along with the HTML.
137
+ - Invalid HTML tag nesting.
138
+
139
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
140
+
141
+ https://react.dev/link/hydration-mismatch`+n),e)),ib}function mv(e){var t=e.stateNode,n=e.type,o=e.memoizedProps;switch(t[ln]=e,t[yn]=o,ip(n,o),n){case"dialog":Ze("cancel",t),Ze("close",t);break;case"iframe":case"object":case"embed":Ze("load",t);break;case"video":case"audio":for(n=0;n<Qu.length;n++)Ze(Qu[n],t);break;case"source":Ze("error",t);break;case"img":case"image":case"link":Ze("error",t),Ze("load",t);break;case"details":Ze("toggle",t);break;case"input":ct("input",o),Ze("invalid",t),vy(t,o),xy(t,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"option":wy(t,o);break;case"select":ct("select",o),Ze("invalid",t),Ny(t,o);break;case"textarea":ct("textarea",o),Ze("invalid",t),Ey(t,o),Ty(t,o.value,o.defaultValue,o.children)}n=o.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||o.suppressHydrationWarning===!0||Ax(t.textContent,n)?(o.popover!=null&&(Ze("beforetoggle",t),Ze("toggle",t)),o.onScroll!=null&&Ze("scroll",t),o.onScrollEnd!=null&&Ze("scrollend",t),o.onClick!=null&&(t.onclick=Ao),t=!0):t=!1,t||mr(e,!0)}function hv(e){for(sn=e.return;sn;)switch(sn.tag){case 5:case 31:case 13:ua=!1;return;case 27:case 3:ua=!0;return;default:sn=sn.return}}function ls(e){if(e!==sn)return!1;if(!Xe)return hv(e),Xe=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||mp(e.type,e.memoizedProps)),n=!n),n&&gt){for(n=gt;n;){var o=dl(e,0),l=Yx(n);o.serverTail.push(l),n=l.type==="Suspense"?gp(n):Yn(n.nextSibling)}mr(e)}if(hv(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");gt=gp(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");gt=gp(e)}else t===27?(t=gt,Nr(e.type)?(e=Jb,Jb=null,gt=e):gt=t):gt=sn?Yn(e.stateNode.nextSibling):null;return!0}function fl(){gt=sn=null,io=Xe=!1}function Qm(){var e=jr;return e!==null&&(En===null?En=e:En.push.apply(En,e),jr=null),e}function Ri(e){jr===null?jr=[e]:jr.push(e)}function Ym(){var e=In;if(e!==null){In=null;for(var t=Tm(e);0<e.children.length;)e=e.children[0];be(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
142
+
143
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
144
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
145
+ - Date formatting in a user's locale which doesn't match the server.
146
+ - External changing data without sending a snapshot of it along with the HTML.
147
+ - Invalid HTML tag nesting.
148
+
149
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
150
+
151
+ %s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function Mc(){Us=Qd=null,Hs=!1}function hr(e,t,n){ne(ub,t._currentValue,e),t._currentValue=n,ne(cb,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==mw&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=mw}function Mo(e,t){e._currentValue=ub.current;var n=cb.current;K(cb,t),e._currentRenderer=n,K(ub,t)}function $m(e,t,n){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===n)break;e=e.return}e!==n&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Gm(e,t,n,o){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var i=l.dependencies;if(i!==null){var d=l.child;i=i.firstContext;e:for(;i!==null;){var h=i;i=l;for(var y=0;y<t.length;y++)if(h.context===t[y]){i.lanes|=n,h=i.alternate,h!==null&&(h.lanes|=n),$m(i.return,n,e),o||(d=null);break e}i=h.next}}else if(l.tag===18){if(d=l.return,d===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");d.lanes|=n,i=d.alternate,i!==null&&(i.lanes|=n),$m(d,n,e),d=null}else d=l.child;if(d!==null)d.return=l;else for(d=l;d!==null;){if(d===e){d=null;break}if(l=d.sibling,l!==null){l.return=d.return,d=l;break}d=d.return}l=d}}function ss(e,t,n,o){e=null;for(var l=t,i=!1;l!==null;){if(!i){if((l.flags&524288)!==0)i=!0;else if((l.flags&262144)!==0)break}if(l.tag===10){var d=l.alternate;if(d===null)throw Error("Should have a current fiber. This is a bug in React.");if(d=d.memoizedProps,d!==null){var h=l.type;xn(l.pendingProps.value,d.value)||(e!==null?e.push(h):e=[h])}}else if(l===Od.current){if(d=l.alternate,d===null)throw Error("Should have a current fiber. This is a bug in React.");d.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(e!==null?e.push(Xu):e=[Xu])}l=l.return}e!==null&&Gm(t,e,n,o),t.flags|=262144}function zc(e){for(e=e.firstContext;e!==null;){if(!xn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ml(e){Qd=e,Us=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function vt(e){return Hs&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),pv(Qd,e)}function kc(e,t){return Qd===null&&ml(e),pv(e,t)}function pv(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Us===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Us=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Us=Us.next=t;return n}function Im(){return{controller:new VR,data:new Map,refCount:0}}function hl(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Ai(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&UR(HR,function(){e.controller.abort()})}function Pa(e,t,n){(e&127)!==0?0>uo&&(uo=qt(),gu=Yd(t),db=t,n!=null&&(fb=I(n)),(tt&(Ft|Zn))!==tn&&(Dt=!0,zr=bu),e=Ji(),t=Zi(),e!==Ls||t!==yu?Ls=-1.1:t!==null&&(zr=bu),Tl=e,yu=t):(e&4194048)!==0&&0>ca&&(ca=qt(),vu=Yd(t),hw=t,n!=null&&(pw=I(n)),0>Io)&&(e=Ji(),t=Zi(),(e!==Vr||t!==Dl)&&(Vr=-1.1),kr=e,Dl=t)}function nD(e){if(0>uo){uo=qt(),gu=e._debugTask!=null?e._debugTask:null,(tt&(Ft|Zn))!==tn&&(zr=bu);var t=Ji(),n=Zi();t!==Ls||n!==yu?Ls=-1.1:n!==null&&(zr=bu),Tl=t,yu=n}0>ca&&(ca=qt(),vu=e._debugTask!=null?e._debugTask:null,0>Io)&&(e=Ji(),t=Zi(),(e!==Vr||t!==Dl)&&(Vr=-1.1),kr=e,Dl=t)}function zo(){var e=El;return El=0,e}function Vc(e){var t=El;return El=e,t}function _i(e){var t=El;return El+=e,t}function Uc(){je=Ae=-1.1}function qn(){var e=Ae;return Ae=-1.1,e}function Bn(e){0<=e&&(Ae=e)}function Qa(){var e=Nt;return Nt=-0,e}function Ya(e){0<=e&&(Nt=e)}function $a(){var e=xt;return xt=null,e}function Ga(){var e=Dt;return Dt=!1,e}function Xm(e){wn=qt(),0>e.actualStartTime&&(e.actualStartTime=wn)}function Fm(e){if(0<=wn){var t=qt()-wn;e.actualDuration+=t,e.selfBaseDuration=t,wn=-1}}function bv(e){if(0<=wn){var t=qt()-wn;e.actualDuration+=t,wn=-1}}function Ia(){if(0<=wn){var e=qt(),t=e-wn;wn=-1,El+=t,Nt+=t,je=e}}function gv(e){xt===null&&(xt=[]),xt.push(e),$o===null&&($o=[]),$o.push(e)}function Xa(){wn=qt(),0>Ae&&(Ae=wn)}function ji(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function aD(e,t){if(wu===null){var n=wu=[];hb=0,Ol=op(),qs={status:"pending",value:void 0,then:function(o){n.push(o)}}}return hb++,t.then(yv,yv),t}function yv(){if(--hb===0&&(-1<ca||(Io=-1.1),wu!==null)){qs!==null&&(qs.status="fulfilled");var e=wu;wu=null,Ol=0,qs=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function oD(e,t){var n=[],o={status:"pending",value:null,reason:null,then:function(l){n.push(l)}};return e.then(function(){o.status="fulfilled",o.value=t;for(var l=0;l<n.length;l++)(0,n[l])(t)},function(l){for(o.status="rejected",o.reason=l,l=0;l<n.length;l++)(0,n[l])(void 0)}),o}function Zm(){var e=Rl.current;return e!==null?e:mt.pooledCache}function Hc(e,t){t===null?ne(Rl,Rl.current,e):ne(Rl,t.pool,e)}function vv(){var e=Zm();return e===null?null:{parent:Lt._currentValue,pool:e}}function xv(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function wv(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Sv(e,t,n){G.actQueue!==null&&(G.didUsePromise=!0);var o=e.thenables;if(n=o[n],n===void 0?o.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(Ao,Ao),t=n),t._debugInfo===void 0){e=performance.now(),o=t.displayName;var l={name:typeof o=="string"?o:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:l}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){l.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Ev(e),e;default:if(typeof t.status=="string")t.then(Ao,Ao);else{if(e=mt,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(i){if(t.status==="pending"){var d=t;d.status="fulfilled",d.value=i}},function(i){if(t.status==="pending"){var d=t;d.status="rejected",d.reason=i}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Ev(e),e}throw _l=t,Ou=!0,Bs}}function pr(e){try{return QR(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(_l=t,Ou=!0,Bs):t}}function Nv(){if(_l===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=_l;return _l=null,Ou=!1,e}function Ev(e){if(e===Bs||e===Kd)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function an(e){var t=qe;return e!=null&&(qe=t===null?e:t.concat(e)),t}function Jm(){var e=qe;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var n=e[t].debugTask;if(n!=null)return n}}return null}function Lc(e,t,n){for(var o=Object.keys(e.props),l=0;l<o.length;l++){var i=o[l];if(i!=="children"&&i!=="key"){t===null&&(t=_c(e,n.mode,0),t._debugInfo=qe,t.return=n),be(t,function(d){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",d)},i);break}}}function qc(e){var t=Ru;return Ru+=1,Ps===null&&(Ps=xv()),Sv(Ps,e,t)}function Mi(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Cv(e,t){throw t.$$typeof===wO?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
152
+ - Multiple copies of the "react" package is used.
153
+ - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
154
+ - A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function Bc(e,t){var n=Jm();n!==null?n.run(Cv.bind(null,e,t)):Cv(e,t)}function Tv(e,t){var n=I(e)||"Component";kw[n]||(kw[n]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
155
+ root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
156
+ <%s>{%s}</%s>`,t,t,n,t,n))}function Pc(e,t){var n=Jm();n!==null?n.run(Tv.bind(null,e,t)):Tv(e,t)}function Dv(e,t){var n=I(e)||"Component";Vw[n]||(Vw[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
157
+ root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
158
+ <%s>%s</%s>`,n,t,n))}function Qc(e,t){var n=Jm();n!==null?n.run(Dv.bind(null,e,t)):Dv(e,t)}function Ov(e){function t(R,M){if(e){var z=R.deletions;z===null?(R.deletions=[M],R.flags|=16):z.push(M)}}function n(R,M){if(!e)return null;for(;M!==null;)t(R,M),M=M.sibling;return null}function o(R){for(var M=new Map;R!==null;)R.key!==null?M.set(R.key,R):M.set(R.index,R),R=R.sibling;return M}function l(R,M){return R=_o(R,M),R.index=0,R.sibling=null,R}function i(R,M,z){return R.index=z,e?(z=R.alternate,z!==null?(z=z.index,z<M?(R.flags|=67108866,M):z):(R.flags|=67108866,M)):(R.flags|=1048576,M)}function d(R){return e&&R.alternate===null&&(R.flags|=67108866),R}function h(R,M,z,J){return M===null||M.tag!==6?(M=Lm(z,R.mode,J),M.return=R,M._debugOwner=R,M._debugTask=R._debugTask,M._debugInfo=qe,M):(M=l(M,z),M.return=R,M._debugInfo=qe,M)}function y(R,M,z,J){var ge=z.type;return ge===Ss?(M=k(R,M,z.props.children,J,z.key),Lc(z,M,R),M):M!==null&&(M.elementType===ge||ov(M,z)||typeof ge=="object"&&ge!==null&&ge.$$typeof===$n&&pr(ge)===M.type)?(M=l(M,z.props),Mi(M,z),M.return=R,M._debugOwner=z._owner,M._debugInfo=qe,M):(M=_c(z,R.mode,J),Mi(M,z),M.return=R,M._debugInfo=qe,M)}function w(R,M,z,J){return M===null||M.tag!==4||M.stateNode.containerInfo!==z.containerInfo||M.stateNode.implementation!==z.implementation?(M=qm(z,R.mode,J),M.return=R,M._debugInfo=qe,M):(M=l(M,z.children||[]),M.return=R,M._debugInfo=qe,M)}function k(R,M,z,J,ge){return M===null||M.tag!==7?(M=cl(z,R.mode,J,ge),M.return=R,M._debugOwner=R,M._debugTask=R._debugTask,M._debugInfo=qe,M):(M=l(M,z),M.return=R,M._debugInfo=qe,M)}function H(R,M,z){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return M=Lm(""+M,R.mode,z),M.return=R,M._debugOwner=R,M._debugTask=R._debugTask,M._debugInfo=qe,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case to:return z=_c(M,R.mode,z),Mi(z,M),z.return=R,R=an(M._debugInfo),z._debugInfo=qe,qe=R,z;case ws:return M=qm(M,R.mode,z),M.return=R,M._debugInfo=qe,M;case $n:var J=an(M._debugInfo);return M=pr(M),R=H(R,M,z),qe=J,R}if(It(M)||P(M))return z=cl(M,R.mode,z,null),z.return=R,z._debugOwner=R,z._debugTask=R._debugTask,R=an(M._debugInfo),z._debugInfo=qe,qe=R,z;if(typeof M.then=="function")return J=an(M._debugInfo),R=H(R,qc(M),z),qe=J,R;if(M.$$typeof===no)return H(R,kc(R,M),z);Bc(R,M)}return typeof M=="function"&&Pc(R,M),typeof M=="symbol"&&Qc(R,M),null}function _(R,M,z,J){var ge=M!==null?M.key:null;if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return ge!==null?null:h(R,M,""+z,J);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case to:return z.key===ge?(ge=an(z._debugInfo),R=y(R,M,z,J),qe=ge,R):null;case ws:return z.key===ge?w(R,M,z,J):null;case $n:return ge=an(z._debugInfo),z=pr(z),R=_(R,M,z,J),qe=ge,R}if(It(z)||P(z))return ge!==null?null:(ge=an(z._debugInfo),R=k(R,M,z,J,null),qe=ge,R);if(typeof z.then=="function")return ge=an(z._debugInfo),R=_(R,M,qc(z),J),qe=ge,R;if(z.$$typeof===no)return _(R,M,kc(R,z),J);Bc(R,z)}return typeof z=="function"&&Pc(R,z),typeof z=="symbol"&&Qc(R,z),null}function Y(R,M,z,J,ge){if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return R=R.get(z)||null,h(M,R,""+J,ge);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case to:return z=R.get(J.key===null?z:J.key)||null,R=an(J._debugInfo),M=y(M,z,J,ge),qe=R,M;case ws:return R=R.get(J.key===null?z:J.key)||null,w(M,R,J,ge);case $n:var Ve=an(J._debugInfo);return J=pr(J),M=Y(R,M,z,J,ge),qe=Ve,M}if(It(J)||P(J))return z=R.get(z)||null,R=an(J._debugInfo),M=k(M,z,J,ge,null),qe=R,M;if(typeof J.then=="function")return Ve=an(J._debugInfo),M=Y(R,M,z,qc(J),ge),qe=Ve,M;if(J.$$typeof===no)return Y(R,M,z,kc(M,J),ge);Bc(M,J)}return typeof J=="function"&&Pc(M,J),typeof J=="symbol"&&Qc(M,J),null}function de(R,M,z,J){if(typeof z!="object"||z===null)return J;switch(z.$$typeof){case to:case ws:E(R,M,z);var ge=z.key;if(typeof ge!="string")break;if(J===null){J=new Set,J.add(ge);break}if(!J.has(ge)){J.add(ge);break}be(M,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",ge)});break;case $n:z=pr(z),de(R,M,z,J)}return J}function ye(R,M,z,J){for(var ge=null,Ve=null,Re=null,De=M,He=M=0,yt=null;De!==null&&He<z.length;He++){De.index>He?(yt=De,De=null):yt=De.sibling;var kt=_(R,De,z[He],J);if(kt===null){De===null&&(De=yt);break}ge=de(R,kt,z[He],ge),e&&De&&kt.alternate===null&&t(R,De),M=i(kt,M,He),Re===null?Ve=kt:Re.sibling=kt,Re=kt,De=yt}if(He===z.length)return n(R,De),Xe&&jo(R,He),Ve;if(De===null){for(;He<z.length;He++)De=H(R,z[He],J),De!==null&&(ge=de(R,De,z[He],ge),M=i(De,M,He),Re===null?Ve=De:Re.sibling=De,Re=De);return Xe&&jo(R,He),Ve}for(De=o(De);He<z.length;He++)yt=Y(De,R,He,z[He],J),yt!==null&&(ge=de(R,yt,z[He],ge),e&&yt.alternate!==null&&De.delete(yt.key===null?He:yt.key),M=i(yt,M,He),Re===null?Ve=yt:Re.sibling=yt,Re=yt);return e&&De.forEach(function(tr){return t(R,tr)}),Xe&&jo(R,He),Ve}function pt(R,M,z,J){if(z==null)throw Error("An iterable object provided no iterator.");for(var ge=null,Ve=null,Re=M,De=M=0,He=null,yt=null,kt=z.next();Re!==null&&!kt.done;De++,kt=z.next()){Re.index>De?(He=Re,Re=null):He=Re.sibling;var tr=_(R,Re,kt.value,J);if(tr===null){Re===null&&(Re=He);break}yt=de(R,tr,kt.value,yt),e&&Re&&tr.alternate===null&&t(R,Re),M=i(tr,M,De),Ve===null?ge=tr:Ve.sibling=tr,Ve=tr,Re=He}if(kt.done)return n(R,Re),Xe&&jo(R,De),ge;if(Re===null){for(;!kt.done;De++,kt=z.next())Re=H(R,kt.value,J),Re!==null&&(yt=de(R,Re,kt.value,yt),M=i(Re,M,De),Ve===null?ge=Re:Ve.sibling=Re,Ve=Re);return Xe&&jo(R,De),ge}for(Re=o(Re);!kt.done;De++,kt=z.next())He=Y(Re,R,De,kt.value,J),He!==null&&(yt=de(R,He,kt.value,yt),e&&He.alternate!==null&&Re.delete(He.key===null?De:He.key),M=i(He,M,De),Ve===null?ge=He:Ve.sibling=He,Ve=He);return e&&Re.forEach(function(mA){return t(R,mA)}),Xe&&jo(R,De),ge}function Ke(R,M,z,J){if(typeof z=="object"&&z!==null&&z.type===Ss&&z.key===null&&(Lc(z,null,R),z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case to:var ge=an(z._debugInfo);e:{for(var Ve=z.key;M!==null;){if(M.key===Ve){if(Ve=z.type,Ve===Ss){if(M.tag===7){n(R,M.sibling),J=l(M,z.props.children),J.return=R,J._debugOwner=z._owner,J._debugInfo=qe,Lc(z,J,R),R=J;break e}}else if(M.elementType===Ve||ov(M,z)||typeof Ve=="object"&&Ve!==null&&Ve.$$typeof===$n&&pr(Ve)===M.type){n(R,M.sibling),J=l(M,z.props),Mi(J,z),J.return=R,J._debugOwner=z._owner,J._debugInfo=qe,R=J;break e}n(R,M);break}else t(R,M);M=M.sibling}z.type===Ss?(J=cl(z.props.children,R.mode,J,z.key),J.return=R,J._debugOwner=R,J._debugTask=R._debugTask,J._debugInfo=qe,Lc(z,J,R),R=J):(J=_c(z,R.mode,J),Mi(J,z),J.return=R,J._debugInfo=qe,R=J)}return R=d(R),qe=ge,R;case ws:e:{for(ge=z,z=ge.key;M!==null;){if(M.key===z)if(M.tag===4&&M.stateNode.containerInfo===ge.containerInfo&&M.stateNode.implementation===ge.implementation){n(R,M.sibling),J=l(M,ge.children||[]),J.return=R,R=J;break e}else{n(R,M);break}else t(R,M);M=M.sibling}J=qm(ge,R.mode,J),J.return=R,R=J}return d(R);case $n:return ge=an(z._debugInfo),z=pr(z),R=Ke(R,M,z,J),qe=ge,R}if(It(z))return ge=an(z._debugInfo),R=ye(R,M,z,J),qe=ge,R;if(P(z)){if(ge=an(z._debugInfo),Ve=P(z),typeof Ve!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Re=Ve.call(z);return Re===z?(R.tag!==0||Object.prototype.toString.call(R.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Re)!=="[object Generator]")&&(Mw||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),Mw=!0):z.entries!==Ve||yb||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),yb=!0),R=pt(R,M,Re,J),qe=ge,R}if(typeof z.then=="function")return ge=an(z._debugInfo),R=Ke(R,M,qc(z),J),qe=ge,R;if(z.$$typeof===no)return Ke(R,M,kc(R,z),J);Bc(R,z)}return typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint"?(ge=""+z,M!==null&&M.tag===6?(n(R,M.sibling),J=l(M,ge),J.return=R,R=J):(n(R,M),J=Lm(ge,R.mode,J),J.return=R,J._debugOwner=R,J._debugTask=R._debugTask,J._debugInfo=qe,R=J),d(R)):(typeof z=="function"&&Pc(R,z),typeof z=="symbol"&&Qc(R,z),n(R,M))}return function(R,M,z,J){var ge=qe;qe=null;try{Ru=0;var Ve=Ke(R,M,z,J);return Ps=null,Ve}catch(yt){if(yt===Bs||yt===Kd)throw yt;var Re=S(29,yt,null,R.mode);Re.lanes=J,Re.return=R;var De=Re._debugInfo=qe;if(Re._debugOwner=R._debugOwner,Re._debugTask=R._debugTask,De!=null){for(var He=De.length-1;0<=He;He--)if(typeof De[He].stack=="string"){Re._debugOwner=De[He],Re._debugTask=De[He].debugTask;break}}return Re}finally{qe=ge}}}function Rv(e,t){var n=It(e);return e=!n&&typeof P(e)=="function",n||e?(n=n?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",n,t,n),!1):!0}function Km(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Wm(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function br(e){return{lane:e,tag:Hw,payload:null,callback:null,next:null}}function gr(e,t,n){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,xb===o&&!Bw){var l=I(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
159
+
160
+ Please update the following component: %s`,l),Bw=!0}return(tt&Ft)!==tn?(l=o.pending,l===null?t.next=t:(t.next=l.next,l.next=t),o.pending=t,t=Ac(e),av(e,null,n),t):(Rc(e,o,t,n),Ac(e))}function zi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var o=t.lanes;o&=e.pendingLanes,n|=o,t.lanes=n,dr(e,n)}}function Yc(e,t){var n=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,n===o)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var d={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};i===null?l=i=d:i=i.next=d,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:o.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:o.shared,callbacks:o.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ki(){if(wb){var e=qs;if(e!==null)throw e}}function Vi(e,t,n,o){wb=!1;var l=e.updateQueue;Ur=!1,xb=l.shared;var i=l.firstBaseUpdate,d=l.lastBaseUpdate,h=l.shared.pending;if(h!==null){l.shared.pending=null;var y=h,w=y.next;y.next=null,d===null?i=w:d.next=w,d=y;var k=e.alternate;k!==null&&(k=k.updateQueue,h=k.lastBaseUpdate,h!==d&&(h===null?k.firstBaseUpdate=w:h.next=w,k.lastBaseUpdate=y))}if(i!==null){var H=l.baseState;d=0,k=w=y=null,h=i;do{var _=h.lane&-536870913,Y=_!==h.lane;if(Y?(Be&_)===_:(o&_)===_){_!==0&&_===Ol&&(wb=!0),k!==null&&(k=k.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});e:{_=e;var de=h,ye=t,pt=n;switch(de.tag){case Lw:if(de=de.payload,typeof de=="function"){Hs=!0;var Ke=de.call(pt,H,ye);if(_.mode&fn){Ne(!0);try{de.call(pt,H,ye)}finally{Ne(!1)}}Hs=!1,H=Ke;break e}H=de;break e;case vb:_.flags=_.flags&-65537|128;case Hw:if(Ke=de.payload,typeof Ke=="function"){if(Hs=!0,de=Ke.call(pt,H,ye),_.mode&fn){Ne(!0);try{Ke.call(pt,H,ye)}finally{Ne(!1)}}Hs=!1}else de=Ke;if(de==null)break e;H=Ye({},H,de);break e;case qw:Ur=!0}}_=h.callback,_!==null&&(e.flags|=64,Y&&(e.flags|=8192),Y=l.callbacks,Y===null?l.callbacks=[_]:Y.push(_))}else Y={lane:_,tag:h.tag,payload:h.payload,callback:h.callback,next:null},k===null?(w=k=Y,y=H):k=k.next=Y,d|=_;if(h=h.next,h===null){if(h=l.shared.pending,h===null)break;Y=h,h=Y.next,Y.next=null,l.lastBaseUpdate=Y,l.shared.pending=null}}while(!0);k===null&&(y=H),l.baseState=y,l.firstBaseUpdate=w,l.lastBaseUpdate=k,i===null&&(l.shared.lanes=0),qr|=d,e.lanes=d,e.memoizedState=H}xb=null}function Av(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function rD(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)Av(n[e],t)}function _v(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Av(n[e],t)}function jv(e,t){var n=fo;ne(ef,n,e),ne(Qs,t,e),fo=n|t.baseLanes}function eh(e){ne(ef,fo,e),ne(Qs,Qs.current,e)}function th(e){fo=ef.current,K(Qs,e),K(ef,e)}function yr(e){var t=e.alternate;ne(zt,zt.current&Ys,e),ne(Xn,e,e),da===null&&(t===null||Qs.current!==null||t.memoizedState!==null)&&(da=e)}function nh(e){ne(zt,zt.current,e),ne(Xn,e,e),da===null&&(da=e)}function Mv(e){e.tag===22?(ne(zt,zt.current,e),ne(Xn,e,e),da===null&&(da=e)):vr(e)}function vr(e){ne(zt,zt.current,e),ne(Xn,Xn.current,e)}function Pn(e){K(Xn,e),da===e&&(da=null),K(zt,e)}function $c(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||pp(n)||bp(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Qe(){var e=$;ma===null?ma=[e]:ma.push(e)}function se(){var e=$;if(ma!==null&&(Zo++,ma[Zo]!==e)){var t=I(ke);if(!Pw.has(t)&&(Pw.add(t),ma!==null)){for(var n="",o=0;o<=Zo;o++){var l=ma[o],i=o===Zo?e:l;for(l=o+1+". "+l;30>l.length;)l+=" ";l+=i+`
161
+ `,n+=l}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
162
+
163
+ Previous render Next render
164
+ ------------------------------------------------------
165
+ %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
166
+ `,t,n)}}}function is(e){e==null||It(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",$,typeof e)}function Gc(){var e=I(ke);Yw.has(e)||(Yw.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function At(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
167
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
168
+ 2. You might be breaking the Rules of Hooks
169
+ 3. You might have more than one copy of React in the same app
170
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function ah(e,t){if(ju)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",$),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
171
+
172
+ Previous: %s
173
+ Incoming: %s`,$,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!xn(e[n],t[n]))return!1;return!0}function oh(e,t,n,o,l,i){Xo=i,ke=t,ma=e!==null?e._debugHookTypes:null,Zo=-1,ju=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(i=I(ke),Sb.has(i)||(Sb.add(i),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",i===null?"An unknown Component":"<"+i+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,G.H=e!==null&&e.memoizedState!==null?Eb:ma!==null?$w:Nb,Ml=i=(t.mode&fn)!==Me;var d=pb(n,o,l);if(Ml=!1,Gs&&(d=rh(t,n,o,l)),i){Ne(!0);try{d=rh(t,n,o,l)}finally{Ne(!1)}}return zv(e,t),d}function zv(e,t){t._debugHookTypes=ma,t.dependencies===null?Fo!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Fo}):t.dependencies._debugThenableState=Fo,G.H=Mu;var n=ft!==null&&ft.next!==null;if(Xo=0,ma=$=Bt=ft=ke=null,Zo=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),nf=!1,_u=0,Fo=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Pt||(e=e.dependencies,e!==null&&zc(e)&&(Pt=!0)),Ou?(Ou=!1,e=!0):e=!1,e&&(t=I(t)||"Unknown",Qw.has(t)||Sb.has(t)||(Qw.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function rh(e,t,n,o){ke=e;var l=0;do{if(Gs&&(Fo=null),_u=0,Gs=!1,l>=$R)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l+=1,ju=!1,Bt=ft=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}Zo=-1,G.H=Gw,i=pb(t,n,o)}while(Gs);return i}function lD(){var e=G.H,t=e.useState()[0];return t=typeof t.then=="function"?Ui(t):t,e=e.useState()[0],(ft!==null?ft.memoizedState:null)!==e&&(ke.flags|=1024),t}function lh(){var e=af!==0;return af=0,e}function sh(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&Ea)!==Me?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function ih(e){if(nf){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}nf=!1}Xo=0,ma=Bt=ft=ke=null,Zo=-1,$=null,Gs=!1,_u=af=0,Fo=null}function bn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Bt===null?ke.memoizedState=Bt=e:Bt=Bt.next=e,Bt}function it(){if(ft===null){var e=ke.alternate;e=e!==null?e.memoizedState:null}else e=ft.next;var t=Bt===null?ke.memoizedState:Bt.next;if(t!==null)Bt=t,ft=e;else{if(e===null)throw ke.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");ft=e,e={memoizedState:ft.memoizedState,baseState:ft.baseState,baseQueue:ft.baseQueue,queue:ft.queue,next:null},Bt===null?ke.memoizedState=Bt=e:Bt=Bt.next=e}return Bt}function Ic(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ui(e){var t=_u;return _u+=1,Fo===null&&(Fo=xv()),e=Sv(Fo,e,t),t=ke,(Bt===null?t.memoizedState:Bt.next)===null&&(t=t.alternate,G.H=t!==null&&t.memoizedState!==null?Eb:Nb),e}function xr(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Ui(e);if(e.$$typeof===no)return vt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function pl(e){var t=null,n=ke.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var o=ke.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(t={data:o.data.map(function(l){return l.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Ic(),ke.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||ju)for(n=t.data[t.index]=Array(e),o=0;o<e;o++)n[o]=SO;else n.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",n.length,e);return t.index++,n}function wa(e,t){return typeof t=="function"?t(e):t}function uh(e,t,n){var o=bn();if(n!==void 0){var l=n(t);if(Ml){Ne(!0);try{n(t)}finally{Ne(!1)}}}else l=t;return o.memoizedState=o.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},o.queue=e,e=e.dispatch=dD.bind(null,ke,e),[o.memoizedState,e]}function us(e){var t=it();return ch(t,ft,e)}function ch(e,t,n){var o=e.queue;if(o===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");o.lastRenderedReducer=n;var l=e.baseQueue,i=o.pending;if(i!==null){if(l!==null){var d=l.next;l.next=i.next,i.next=d}t.baseQueue!==l&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=l=i,o.pending=null}if(i=e.baseState,l===null)e.memoizedState=i;else{t=l.next;var h=d=null,y=null,w=t,k=!1;do{var H=w.lane&-536870913;if(H!==w.lane?(Be&H)===H:(Xo&H)===H){var _=w.revertLane;if(_===0)y!==null&&(y=y.next={lane:0,revertLane:0,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null}),H===Ol&&(k=!0);else if((Xo&_)===_){w=w.next,_===Ol&&(k=!0);continue}else H={lane:0,revertLane:w.revertLane,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},y===null?(h=y=H,d=i):y=y.next=H,ke.lanes|=_,qr|=_;H=w.action,Ml&&n(i,H),i=w.hasEagerState?w.eagerState:n(i,H)}else _={lane:H,revertLane:w.revertLane,gesture:w.gesture,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},y===null?(h=y=_,d=i):y=y.next=_,ke.lanes|=H,qr|=H;w=w.next}while(w!==null&&w!==t);if(y===null?d=i:y.next=h,!xn(i,e.memoizedState)&&(Pt=!0,k&&(n=qs,n!==null)))throw n;e.memoizedState=i,e.baseState=d,e.baseQueue=y,o.lastRenderedState=i}return l===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function Hi(e){var t=it(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var o=n.dispatch,l=n.pending,i=t.memoizedState;if(l!==null){n.pending=null;var d=l=l.next;do i=e(i,d.action),d=d.next;while(d!==l);xn(i,t.memoizedState)||(Pt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,o]}function dh(e,t,n){var o=ke,l=bn();if(Xe){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var i=n();$s||i===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),$s=!0)}else{if(i=t(),$s||(n=t(),xn(i,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),$s=!0)),mt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Be&127)!==0||kv(o,t,i)}return l.memoizedState=i,n={value:i,getSnapshot:t},l.queue=n,Jc(Uv.bind(null,o,n,e),[e]),o.flags|=2048,ds(fa|Nn,{destroy:void 0},Vv.bind(null,o,n,i,t),null),i}function Xc(e,t,n){var o=ke,l=it(),i=Xe;if(i){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!$s){var d=t();xn(n,d)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),$s=!0)}(d=!xn((ft||l).memoizedState,n))&&(l.memoizedState=n,Pt=!0),l=l.queue;var h=Uv.bind(null,o,l,e);if(An(2048,Nn,h,[e]),l.getSnapshot!==t||d||Bt!==null&&Bt.memoizedState.tag&fa){if(o.flags|=2048,ds(fa|Nn,{destroy:void 0},Vv.bind(null,o,l,n,t),null),mt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");i||(Xo&127)!==0||kv(o,t,n)}return n}function kv(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ke.updateQueue,t===null?(t=Ic(),ke.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Vv(e,t,n,o){t.value=n,t.getSnapshot=o,Hv(t)&&Lv(e)}function Uv(e,t,n){return n(function(){Hv(t)&&(Pa(2,"updateSyncExternalStore()",e),Lv(e))})}function Hv(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!xn(e,n)}catch{return!0}}function Lv(e){var t=cn(e,2);t!==null&&Tt(t,e,2)}function fh(e){var t=bn();if(typeof e=="function"){var n=e;if(e=n(),Ml){Ne(!0);try{n()}finally{Ne(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:e},t}function mh(e){e=fh(e);var t=e.queue,n=o0.bind(null,ke,t);return t.dispatch=n,[e.memoizedState,n]}function hh(e){var t=bn();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Oh.bind(null,ke,!0,n),n.dispatch=t,[e,t]}function qv(e,t){var n=it();return Bv(n,ft,e,t)}function Bv(e,t,n,o){return e.baseState=n,ch(e,ft,typeof o=="function"?o:wa)}function Pv(e,t){var n=it();return ft!==null?Bv(n,ft,e,t):(n.baseState=e,[e,n.queue.dispatch])}function sD(e,t,n,o,l){if(ad(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var i={payload:l,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){i.listeners.push(d)}};G.T!==null?n(!0):i.isTransition=!1,o(i),n=t.pending,n===null?(i.next=t.pending=i,Qv(t,i)):(i.next=n.next,t.pending=n.next=i)}}function Qv(e,t){var n=t.action,o=t.payload,l=e.state;if(t.isTransition){var i=G.T,d={};d._updatedFibers=new Set,G.T=d;try{var h=n(l,o),y=G.S;y!==null&&y(d,h),Yv(e,t,h)}catch(w){ph(e,t,w)}finally{i!==null&&d.types!==null&&(i.types!==null&&i.types!==d.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),i.types=d.types),G.T=i,i===null&&d._updatedFibers&&(e=d._updatedFibers.size,d._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{d=n(l,o),Yv(e,t,d)}catch(w){ph(e,t,w)}}function Yv(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?(G.asyncTransitions++,n.then(nd,nd),n.then(function(o){$v(e,t,o)},function(o){return ph(e,t,o)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):$v(e,t,n)}function $v(e,t,n){t.status="fulfilled",t.value=n,Gv(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Qv(e,n)))}function ph(e,t,n){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do t.status="rejected",t.reason=n,Gv(t),t=t.next;while(t!==o)}e.action=null}function Gv(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Iv(e,t){return t}function cs(e,t){if(Xe){var n=mt.formState;if(n!==null){e:{var o=ke;if(Xe){if(gt){t:{for(var l=gt,i=ua;l.nodeType!==8;){if(!i){l=null;break t}if(l=Yn(l.nextSibling),l===null){l=null;break t}}i=l.data,l=i===Ib||i===_S?l:null}if(l){gt=Yn(l.nextSibling),o=l.data===Ib;break e}}mr(o)}o=!1}o&&(t=n[0])}}return n=bn(),n.memoizedState=n.baseState=t,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Iv,lastRenderedState:t},n.queue=o,n=o0.bind(null,ke,o),o.dispatch=n,o=fh(!1),i=Oh.bind(null,ke,!1,o.queue),o=bn(),l={state:t,dispatch:null,action:e,pending:null},o.queue=l,n=sD.bind(null,ke,l,i,n),l.dispatch=n,o.memoizedState=e,[t,n,!1]}function Fc(e){var t=it();return Xv(t,ft,e)}function Xv(e,t,n){if(t=ch(e,t,Iv)[0],e=us(wa)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var o=Ui(t)}catch(d){throw d===Bs?Kd:d}else o=t;t=it();var l=t.queue,i=l.dispatch;return n!==t.memoizedState&&(ke.flags|=2048,ds(fa|Nn,{destroy:void 0},iD.bind(null,l,n),null)),[o,i,e]}function iD(e,t){e.action=t}function Zc(e){var t=it(),n=ft;if(n!==null)return Xv(t,n,e);it(),t=t.memoizedState,n=it();var o=n.queue.dispatch;return n.memoizedState=e,[t,o,!1]}function ds(e,t,n,o){return e={tag:e,create:n,deps:o,inst:t,next:null},t=ke.updateQueue,t===null&&(t=Ic(),ke.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(o=n.next,n.next=e,e.next=o,t.lastEffect=e),e}function bh(e){var t=bn();return e={current:e},t.memoizedState=e}function bl(e,t,n,o){var l=bn();ke.flags|=e,l.memoizedState=ds(fa|t,{destroy:void 0},n,o===void 0?null:o)}function An(e,t,n,o){var l=it();o=o===void 0?null:o;var i=l.memoizedState.inst;ft!==null&&o!==null&&ah(o,ft.memoizedState.deps)?l.memoizedState=ds(t,i,n,o):(ke.flags|=e,l.memoizedState=ds(fa|t,i,n,o))}function Jc(e,t){(ke.mode&Ea)!==Me?bl(276826112,Nn,e,t):bl(8390656,Nn,e,t)}function uD(e){ke.flags|=4;var t=ke.updateQueue;if(t===null)t=Ic(),ke.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function gh(e){var t=bn(),n={impl:e};return t.memoizedState=n,function(){if((tt&Ft)!==tn)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return n.impl.apply(void 0,arguments)}}function Kc(e){var t=it().memoizedState;return uD({ref:t,nextImpl:e}),function(){if((tt&Ft)!==tn)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function yh(e,t){var n=4194308;return(ke.mode&Ea)!==Me&&(n|=134217728),bl(n,Fn,e,t)}function Fv(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function vh(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null;var o=4194308;(ke.mode&Ea)!==Me&&(o|=134217728),bl(o,Fn,Fv.bind(null,t,e),n)}function Wc(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null,An(4,Fn,Fv.bind(null,t,e),n)}function xh(e,t){return bn().memoizedState=[e,t===void 0?null:t],e}function ed(e,t){var n=it();t=t===void 0?null:t;var o=n.memoizedState;return t!==null&&ah(t,o[1])?o[0]:(n.memoizedState=[e,t],e)}function wh(e,t){var n=bn();t=t===void 0?null:t;var o=e();if(Ml){Ne(!0);try{e()}finally{Ne(!1)}}return n.memoizedState=[o,t],o}function td(e,t){var n=it();t=t===void 0?null:t;var o=n.memoizedState;if(t!==null&&ah(t,o[1]))return o[0];if(o=e(),Ml){Ne(!0);try{e()}finally{Ne(!1)}}return n.memoizedState=[o,t],o}function Sh(e,t){var n=bn();return Nh(n,e,t)}function Zv(e,t){var n=it();return Kv(n,ft.memoizedState,e,t)}function Jv(e,t){var n=it();return ft===null?Nh(n,e,t):Kv(n,ft.memoizedState,e,t)}function Nh(e,t,n){return n===void 0||(Xo&1073741824)!==0&&(Be&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=W0(),ke.lanes|=e,qr|=e,n)}function Kv(e,t,n,o){return xn(n,t)?n:Qs.current!==null?(e=Nh(e,n,o),xn(e,t)||(Pt=!0),e):(Xo&42)===0||(Xo&1073741824)!==0&&(Be&261930)===0?(Pt=!0,e.memoizedState=n):(e=W0(),ke.lanes|=e,qr|=e,t)}function nd(){G.asyncTransitions--}function Wv(e,t,n,o,l){var i=rt.p;rt.p=i!==0&&i<lo?i:lo;var d=G.T,h={};h._updatedFibers=new Set,G.T=h,Oh(e,!1,t,n);try{var y=l(),w=G.S;if(w!==null&&w(h,y),y!==null&&typeof y=="object"&&typeof y.then=="function"){G.asyncTransitions++,y.then(nd,nd);var k=oD(y,o);Li(e,t,k,Qn(e))}else Li(e,t,o,Qn(e))}catch(H){Li(e,t,{then:function(){},status:"rejected",reason:H},Qn(e))}finally{rt.p=i,d!==null&&h.types!==null&&(d.types!==null&&d.types!==h.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),d.types=h.types),G.T=d,d===null&&h._updatedFibers&&(e=h._updatedFibers.size,h._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Eh(e,t,n,o){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var l=e0(e).queue;nD(e),Wv(e,l,t,Yl,n===null?x:function(){return t0(e),n(o)})}function e0(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Yl,baseState:Yl,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:Yl},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function t0(e){G.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=e0(e);t.next===null&&(t=e.alternate.memoizedState),Li(e,t.next.queue,{},Qn(e))}function Ch(){var e=fh(!1);return e=Wv.bind(null,ke,e.queue,!0,!1),bn().memoizedState=e,[!1,e]}function n0(){var e=us(wa)[0],t=it().memoizedState;return[typeof e=="boolean"?e:Ui(e),t]}function a0(){var e=Hi(wa)[0],t=it().memoizedState;return[typeof e=="boolean"?e:Ui(e),t]}function gl(){return vt(Xu)}function Th(){var e=bn(),t=mt.identifierPrefix;if(Xe){var n=Qo,o=Po;n=(o&~(1<<32-gn(o)-1)).toString(32)+n,t="_"+t+"R_"+n,n=af++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=YR++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t}function Dh(){return bn().memoizedState=cD.bind(null,ke)}function cD(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var o=Qn(n),l=br(o),i=gr(n,l,o);i!==null&&(Pa(o,"refresh()",e),Tt(i,n,o),zi(i,n,o)),e=Im(),t!=null&&i!==null&&console.error("The seed argument is not enabled outside experimental channels."),l.payload={cache:e};return}n=n.return}}function dD(e,t,n){var o=arguments;typeof o[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),o=Qn(e);var l={lane:o,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};ad(e)?r0(t,l):(l=km(e,t,l,o),l!==null&&(Pa(o,"dispatch()",e),Tt(l,e,o),l0(l,t,o)))}function o0(e,t,n){var o=arguments;typeof o[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),o=Qn(e),Li(e,t,n,o)&&Pa(o,"setState()",e)}function Li(e,t,n,o){var l={lane:o,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(ad(e))r0(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null)){var d=G.H;G.H=Ta;try{var h=t.lastRenderedState,y=i(h,n);if(l.hasEagerState=!0,l.eagerState=y,xn(y,h))return Rc(e,t,l,0),mt===null&&Oc(),!1}catch{}finally{G.H=d}}if(n=km(e,t,l,o),n!==null)return Tt(n,e,o),l0(n,t,o),!0}return!1}function Oh(e,t,n,o){if(G.T===null&&Ol===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),o={lane:2,revertLane:op(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},ad(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=km(e,n,o,2),t!==null&&(Pa(2,"setOptimistic()",e),Tt(t,e,2))}function ad(e){var t=e.alternate;return e===ke||t!==null&&t===ke}function r0(e,t){Gs=nf=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function l0(e,t,n){if((n&4194048)!==0){var o=t.lanes;o&=e.pendingLanes,n|=o,t.lanes=n,dr(e,n)}}function Rh(e){if(e!==null&&typeof e!="function"){var t=String(e);aS.has(t)||(aS.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Ah(e,t,n,o){var l=e.memoizedState,i=n(o,l);if(e.mode&fn){Ne(!0);try{i=n(o,l)}finally{Ne(!1)}}i===void 0&&(t=Q(t)||"Component",Ww.has(t)||(Ww.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),l=i==null?l:Ye({},l,i),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}function s0(e,t,n,o,l,i,d){var h=e.stateNode;if(typeof h.shouldComponentUpdate=="function"){if(n=h.shouldComponentUpdate(o,i,d),e.mode&fn){Ne(!0);try{n=h.shouldComponentUpdate(o,i,d)}finally{Ne(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Q(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!Oi(n,o)||!Oi(l,i):!0}function i0(e,t,n,o){var l=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,o),t.state!==l&&(e=I(e)||"Component",Xw.has(e)||(Xw.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),Cb.enqueueReplaceState(t,t.state,null))}function yl(e,t){var n=t;if("ref"in t){n={};for(var o in t)o!=="ref"&&(n[o]=t[o])}if(e=e.defaultProps){n===t&&(n=Ye({},n));for(var l in e)n[l]===void 0&&(n[l]=e[l])}return n}function u0(e){nb(e),console.warn(`%s
174
+
175
+ %s
176
+ `,Is?"An error occurred in the <"+Is+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
177
+ Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function c0(e){var t=Is?"The above error occurred in the <"+Is+"> component.":"The above error occurred in one of your React components.",n="React will try to recreate this component tree from scratch using the error boundary you provided, "+((Tb||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var o=e.environmentName;e=[`%o
178
+
179
+ %s
180
+
181
+ %s
182
+ `,e,t,n].slice(0),typeof e[0]=="string"?e.splice(0,1,LS+" "+e[0],qS,Rf+o+Rf,BS):e.splice(0,0,LS,qS,Rf+o+Rf,BS),e.unshift(console),o=dA.apply(console.error,e),o()}else console.error(`%o
183
+
184
+ %s
185
+
186
+ %s
187
+ `,e,t,n)}function d0(e){nb(e)}function od(e,t){try{Is=t.source?I(t.source):null,Tb=null;var n=t.value;if(G.actQueue!==null)G.thrownErrors.push(n);else{var o=e.onUncaughtError;o(n,{componentStack:t.stack})}}catch(l){setTimeout(function(){throw l})}}function f0(e,t,n){try{Is=n.source?I(n.source):null,Tb=I(t);var o=e.onCaughtError;o(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function _h(e,t,n){return n=br(n),n.tag=vb,n.payload={element:null},n.callback=function(){be(t.source,od,e,t)},n}function jh(e){return e=br(e),e.tag=vb,e}function Mh(e,t,n,o){var l=n.type.getDerivedStateFromError;if(typeof l=="function"){var i=o.value;e.payload=function(){return l(i)},e.callback=function(){rv(n),be(o.source,f0,t,n,o)}}var d=n.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){rv(n),be(o.source,f0,t,n,o),typeof l!="function"&&(Pr===null?Pr=new Set([this]):Pr.add(this)),qR(this,o),typeof l=="function"||(n.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",I(n)||"Unknown")})}function fD(e,t,n,o,l){if(n.flags|=32768,ro&&Ii(e,l),o!==null&&typeof o=="object"&&typeof o.then=="function"){if(t=n.alternate,t!==null&&ss(t,n,l,!0),Xe&&(io=!0),n=Xn.current,n!==null){switch(n.tag){case 31:case 13:return da===null?md():n.alternate===null&&Et===Ko&&(Et=lf),n.flags&=-257,n.flags|=65536,n.lanes=l,o===Wd?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([o]):t.add(o),ep(e,o,l)),!1;case 22:return n.flags|=65536,o===Wd?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([o])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([o]):n.add(o)),ep(e,o,l)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return ep(e,o,l),md(),!1}if(Xe)return io=!0,t=Xn.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=l,o!==ib&&Ri(Ln(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:o}),n))):(o!==ib&&Ri(Ln(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:o}),n)),e=e.current.alternate,e.flags|=65536,l&=-l,e.lanes|=l,o=Ln(o,n),l=_h(e.stateNode,o,l),Yc(e,l),Et!==Hr&&(Et=zl)),!1;var i=Ln(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:o}),n);if(Lu===null?Lu=[i]:Lu.push(i),Et!==Hr&&(Et=zl),t===null)return!0;o=Ln(o,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=l&-l,n.lanes|=e,e=_h(n.stateNode,o,e),Yc(n,e),!1;case 1:if(t=n.type,i=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(Pr===null||!Pr.has(i))))return n.flags|=65536,l&=-l,n.lanes|=l,l=jh(l),Mh(l,e,n,o),Yc(n,l),!1}n=n.return}while(n!==null);return!1}function on(e,t,n,o){t.child=e===null?Uw(t,null,n,o):jl(t,e.child,n,o)}function m0(e,t,n,o,l){n=n.render;var i=t.ref;if("ref"in o){var d={};for(var h in o)h!=="ref"&&(d[h]=o[h])}else d=o;return ml(t),o=oh(e,t,n,d,i,l),h=lh(),e!==null&&!Pt?(sh(e,t,l),ko(e,t,l)):(Xe&&h&&Bm(t),t.flags|=1,on(e,t,o,l),t.child)}function h0(e,t,n,o,l){if(e===null){var i=n.type;return typeof i=="function"&&!Um(i)&&i.defaultProps===void 0&&n.compare===null?(n=ul(i),t.tag=15,t.type=n,kh(t,i),p0(e,t,n,o,l)):(e=Hm(n.type,null,o,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!Bh(e,l)){var d=i.memoizedProps;if(n=n.compare,n=n!==null?n:Oi,n(d,o)&&e.ref===t.ref)return ko(e,t,l)}return t.flags|=1,e=_o(i,o),e.ref=t.ref,e.return=t,t.child=e}function p0(e,t,n,o,l){if(e!==null){var i=e.memoizedProps;if(Oi(i,o)&&e.ref===t.ref&&t.type===e.type)if(Pt=!1,t.pendingProps=o=i,Bh(e,l))(e.flags&131072)!==0&&(Pt=!0);else return t.lanes=e.lanes,ko(e,t,l)}return zh(e,t,n,o,l)}function b0(e,t,n,o){var l=o.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:hu,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|n:n,e!==null){for(o=t.child=e.child,l=0;o!==null;)l=l|o.lanes|o.childLanes,o=o.sibling;o=l&~i}else o=0,t.child=null;return g0(e,t,i,n,o)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Hc(t,i!==null?i.cachePool:null),i!==null?jv(t,i):eh(t),Mv(t);else return o=t.lanes=536870912,g0(e,t,i!==null?i.baseLanes|n:n,n,o)}else i!==null?(Hc(t,i.cachePool),jv(t,i),vr(t),t.memoizedState=null):(e!==null&&Hc(t,null),eh(t),vr(t));return on(e,t,l,n),t.child}function qi(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:hu,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function g0(e,t,n,o,l){var i=Zm();return i=i===null?null:{parent:Lt._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},e!==null&&Hc(t,null),eh(t),Mv(t),e!==null&&ss(e,t,o,!0),t.childLanes=l,null}function rd(e,t){var n=t.hidden;return n!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
188
+ - <Activity %s>
189
+ + <Activity %s>`,n===!0?"hidden":n===!1?"hidden={false}":"hidden={...}",n?'mode="hidden"':'mode="visible"'),t=sd({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function y0(e,t,n){return jl(t,e.child,null,n),e=rd(t,t.pendingProps),e.flags|=2,Pn(t),t.memoizedState=null,e}function mD(e,t,n){var o=t.pendingProps,l=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Xe){if(o.mode==="hidden")return e=rd(t,o),t.lanes=536870912,qi(null,e);if(nh(t),(e=gt)?(n=Qx(e,ua),n=n!==null&&n.data===ql?n:null,n!==null&&(o={dehydrated:n,treeContext:cv(),retryLane:536870912,hydrationErrors:null},t.memoizedState=o,o=iv(n),o.return=t,t.child=o,sn=t,gt=null)):n=null,n===null)throw jc(t,e),mr(t);return t.lanes=536870912,null}return rd(t,o)}var i=e.memoizedState;if(i!==null){var d=i.dehydrated;if(nh(t),l)if(t.flags&256)t.flags&=-257,t=y0(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(fv(),(n&536870912)!==0&&fd(t),Pt||ss(e,t,n,!1),l=(n&e.childLanes)!==0,Pt||l){if(o=mt,o!==null&&(d=On(o,n),d!==0&&d!==i.retryLane))throw i.retryLane=d,cn(e,d),Tt(o,e,d),Db;md(),t=y0(e,t,n)}else e=i.treeContext,gt=Yn(d.nextSibling),sn=t,Xe=!0,jr=null,io=!1,In=null,ua=!1,e!==null&&dv(t,e),t=rd(t,o),t.flags|=4096;return t}return i=e.child,o={mode:o.mode,children:o.children},(n&536870912)!==0&&(n&e.lanes)!==0&&fd(t),e=_o(i,o),e.ref=t.ref,t.child=e,e.return=t,e}function ld(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==n)&&(t.flags|=4194816)}}function zh(e,t,n,o,l){if(n.prototype&&typeof n.prototype.render=="function"){var i=Q(n)||"Unknown";oS[i]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",i,i),oS[i]=!0)}return t.mode&fn&&Ca.recordLegacyContextWarning(t,null),e===null&&(kh(t,t.type),n.contextTypes&&(i=Q(n)||"Unknown",lS[i]||(lS[i]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",i)))),ml(t),n=oh(e,t,n,o,void 0,l),o=lh(),e!==null&&!Pt?(sh(e,t,l),ko(e,t,l)):(Xe&&o&&Bm(t),t.flags|=1,on(e,t,n,l),t.child)}function v0(e,t,n,o,l,i){return ml(t),Zo=-1,ju=e!==null&&e.type!==t.type,t.updateQueue=null,n=rh(t,o,n,l),zv(e,t),o=lh(),e!==null&&!Pt?(sh(e,t,i),ko(e,t,i)):(Xe&&o&&Bm(t),t.flags|=1,on(e,t,n,i),t.child)}function x0(e,t,n,o,l){switch(m(t)){case!1:var i=t.stateNode,d=new t.type(t.memoizedProps,i.context).state;i.updater.enqueueSetState(i,d,null);break;case!0:t.flags|=128,t.flags|=65536,i=Error("Simulated error coming from DevTools");var h=l&-l;if(t.lanes|=h,d=mt,d===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");h=jh(h),Mh(h,d,t,Ln(i,t)),Yc(t,h)}if(ml(t),t.stateNode===null){if(d=_r,i=n.contextType,"contextType"in n&&i!==null&&(i===void 0||i.$$typeof!==no)&&!nS.has(n)&&(nS.add(n),h=i===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof i!="object"?" However, it is set to a "+typeof i+".":i.$$typeof===Op?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(i).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Q(n)||"Component",h)),typeof i=="object"&&i!==null&&(d=vt(i)),i=new n(o,d),t.mode&fn){Ne(!0);try{i=new n(o,d)}finally{Ne(!1)}}if(d=t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=Cb,t.stateNode=i,i._reactInternals=t,i._reactInternalInstance=Iw,typeof n.getDerivedStateFromProps=="function"&&d===null&&(d=Q(n)||"Component",Fw.has(d)||(Fw.add(d),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",d,i.state===null?"null":"undefined",d))),typeof n.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"){var y=h=d=null;if(typeof i.componentWillMount=="function"&&i.componentWillMount.__suppressDeprecationWarning!==!0?d="componentWillMount":typeof i.UNSAFE_componentWillMount=="function"&&(d="UNSAFE_componentWillMount"),typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps.__suppressDeprecationWarning!==!0?h="componentWillReceiveProps":typeof i.UNSAFE_componentWillReceiveProps=="function"&&(h="UNSAFE_componentWillReceiveProps"),typeof i.componentWillUpdate=="function"&&i.componentWillUpdate.__suppressDeprecationWarning!==!0?y="componentWillUpdate":typeof i.UNSAFE_componentWillUpdate=="function"&&(y="UNSAFE_componentWillUpdate"),d!==null||h!==null||y!==null){i=Q(n)||"Component";var w=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Jw.has(i)||(Jw.add(i),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
190
+
191
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
192
+
193
+ The above lifecycles should be removed. Learn more about this warning here:
194
+ https://react.dev/link/unsafe-component-lifecycles`,i,w,d!==null?`
195
+ `+d:"",h!==null?`
196
+ `+h:"",y!==null?`
197
+ `+y:""))}}i=t.stateNode,d=Q(n)||"Component",i.render||(n.prototype&&typeof n.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",d):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",d)),!i.getInitialState||i.getInitialState.isReactClassApproved||i.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",d),i.getDefaultProps&&!i.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",d),i.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",d),n.childContextTypes&&!tS.has(n)&&(tS.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",d)),n.contextTypes&&!eS.has(n)&&(eS.add(n),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",d)),typeof i.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",d),n.prototype&&n.prototype.isPureReactComponent&&typeof i.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Q(n)||"A pure component"),typeof i.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",d),typeof i.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",d),typeof i.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",d),typeof i.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",d),h=i.props!==o,i.props!==void 0&&h&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",d),i.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",d,d),typeof i.getSnapshotBeforeUpdate!="function"||typeof i.componentDidUpdate=="function"||Zw.has(n)||(Zw.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Q(n))),typeof i.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof i.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof n.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",d),(h=i.state)&&(typeof h!="object"||It(h))&&console.error("%s.state: must be set to an object or null",d),typeof i.getChildContext=="function"&&typeof n.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",d),i=t.stateNode,i.props=o,i.state=t.memoizedState,i.refs={},Km(t),d=n.contextType,i.context=typeof d=="object"&&d!==null?vt(d):_r,i.state===o&&(d=Q(n)||"Component",Kw.has(d)||(Kw.add(d),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",d))),t.mode&fn&&Ca.recordLegacyContextWarning(t,i),Ca.recordUnsafeLifecycleWarnings(t,i),i.state=t.memoizedState,d=n.getDerivedStateFromProps,typeof d=="function"&&(Ah(t,n,d,o),i.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(d=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),d!==i.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",I(t)||"Component"),Cb.enqueueReplaceState(i,i.state,null)),Vi(t,o,i,l),ki(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ea)!==Me&&(t.flags|=134217728),i=!0}else if(e===null){i=t.stateNode;var k=t.memoizedProps;h=yl(n,k),i.props=h;var H=i.context;y=n.contextType,d=_r,typeof y=="object"&&y!==null&&(d=vt(y)),w=n.getDerivedStateFromProps,y=typeof w=="function"||typeof i.getSnapshotBeforeUpdate=="function",k=t.pendingProps!==k,y||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(k||H!==d)&&i0(t,i,o,d),Ur=!1;var _=t.memoizedState;i.state=_,Vi(t,o,i,l),ki(),H=t.memoizedState,k||_!==H||Ur?(typeof w=="function"&&(Ah(t,n,w,o),H=t.memoizedState),(h=Ur||s0(t,n,h,o,_,H,d))?(y||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ea)!==Me&&(t.flags|=134217728)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ea)!==Me&&(t.flags|=134217728),t.memoizedProps=o,t.memoizedState=H),i.props=o,i.state=H,i.context=d,i=h):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ea)!==Me&&(t.flags|=134217728),i=!1)}else{i=t.stateNode,Wm(e,t),d=t.memoizedProps,y=yl(n,d),i.props=y,w=t.pendingProps,_=i.context,H=n.contextType,h=_r,typeof H=="object"&&H!==null&&(h=vt(H)),k=n.getDerivedStateFromProps,(H=typeof k=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(d!==w||_!==h)&&i0(t,i,o,h),Ur=!1,_=t.memoizedState,i.state=_,Vi(t,o,i,l),ki();var Y=t.memoizedState;d!==w||_!==Y||Ur||e!==null&&e.dependencies!==null&&zc(e.dependencies)?(typeof k=="function"&&(Ah(t,n,k,o),Y=t.memoizedState),(y=Ur||s0(t,n,y,o,_,Y,h)||e!==null&&e.dependencies!==null&&zc(e.dependencies))?(H||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(o,Y,h),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(o,Y,h)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||d===e.memoizedProps&&_===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&_===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=Y),i.props=o,i.state=Y,i.context=h,i=y):(typeof i.componentDidUpdate!="function"||d===e.memoizedProps&&_===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&_===e.memoizedState||(t.flags|=1024),i=!1)}if(h=i,ld(e,t),d=(t.flags&128)!==0,h||d){if(h=t.stateNode,Ut(t),d&&typeof n.getDerivedStateFromError!="function")n=null,wn=-1;else if(n=Nw(h),t.mode&fn){Ne(!0);try{Nw(h)}finally{Ne(!1)}}t.flags|=1,e!==null&&d?(t.child=jl(t,e.child,null,l),t.child=jl(t,null,n,l)):on(e,t,n,l),t.memoizedState=h.state,e=t.child}else e=ko(e,t,l);return l=t.stateNode,i&&l.props!==o&&(Xs||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",I(t)||"a component"),Xs=!0),e}function w0(e,t,n,o){return fl(),t.flags|=256,on(e,t,n,o),t.child}function kh(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
198
+ %s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=Q(t)||"Unknown",sS[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),sS[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=Q(t)||"Unknown",rS[t]||(console.error("%s: Function components do not support contextType.",t),rS[t]=!0))}function Vh(e){return{baseLanes:e,cachePool:vv()}}function Uh(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=kn),e}function S0(e,t,n){var o,l=t.pendingProps;f(t)&&(t.flags|=128);var i=!1,d=(t.flags&128)!==0;if((o=d)||(o=e!==null&&e.memoizedState===null?!1:(zt.current&Au)!==0),o&&(i=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(Xe){if(i?yr(t):vr(t),(e=gt)?(n=Qx(e,ua),n=n!==null&&n.data!==ql?n:null,n!==null&&(o={dehydrated:n,treeContext:cv(),retryLane:536870912,hydrationErrors:null},t.memoizedState=o,o=iv(n),o.return=t,t.child=o,sn=t,gt=null)):n=null,n===null)throw jc(t,e),mr(t);return bp(n)?t.lanes=32:t.lanes=536870912,null}var h=l.children;if(l=l.fallback,i){vr(t);var y=t.mode;return h=sd({mode:"hidden",children:h},y),l=cl(l,y,n,null),h.return=t,l.return=t,h.sibling=l,t.child=h,l=t.child,l.memoizedState=Vh(n),l.childLanes=Uh(e,o,n),t.memoizedState=Ob,qi(null,l)}return yr(t),Hh(t,h)}var w=e.memoizedState;if(w!==null){var k=w.dehydrated;if(k!==null){if(d)t.flags&256?(yr(t),t.flags&=-257,t=Lh(e,t,n)):t.memoizedState!==null?(vr(t),t.child=e.child,t.flags|=128,t=null):(vr(t),h=l.fallback,y=t.mode,l=sd({mode:"visible",children:l.children},y),h=cl(h,y,n,null),h.flags|=2,l.return=t,h.return=t,l.sibling=h,t.child=l,jl(t,e.child,null,n),l=t.child,l.memoizedState=Vh(n),l.childLanes=Uh(e,o,n),t.memoizedState=Ob,t=qi(null,l));else if(yr(t),fv(),(n&536870912)!==0&&fd(t),bp(k)){if(o=k.nextSibling&&k.nextSibling.dataset,o){h=o.dgst;var H=o.msg;y=o.stck;var _=o.cstck}i=H,o=h,l=y,k=_,h=i,y=k,h=Error(h||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),h.stack=l||"",h.digest=o,o=y===void 0?null:y,l={value:h,source:null,stack:o},typeof o=="string"&&sb.set(h,l),Ri(l),t=Lh(e,t,n)}else if(Pt||ss(e,t,n,!1),o=(n&e.childLanes)!==0,Pt||o){if(o=mt,o!==null&&(l=On(o,n),l!==0&&l!==w.retryLane))throw w.retryLane=l,cn(e,l),Tt(o,e,l),Db;pp(k)||md(),t=Lh(e,t,n)}else pp(k)?(t.flags|=192,t.child=e.child,t=null):(e=w.treeContext,gt=Yn(k.nextSibling),sn=t,Xe=!0,jr=null,io=!1,In=null,ua=!1,e!==null&&dv(t,e),t=Hh(t,l.children),t.flags|=4096);return t}}return i?(vr(t),h=l.fallback,y=t.mode,_=e.child,k=_.sibling,l=_o(_,{mode:"hidden",children:l.children}),l.subtreeFlags=_.subtreeFlags&65011712,k!==null?h=_o(k,h):(h=cl(h,y,n,null),h.flags|=2),h.return=t,l.return=t,l.sibling=h,t.child=l,qi(null,l),l=t.child,h=e.child.memoizedState,h===null?h=Vh(n):(y=h.cachePool,y!==null?(_=Lt._currentValue,y=y.parent!==_?{parent:_,pool:_}:y):y=vv(),h={baseLanes:h.baseLanes|n,cachePool:y}),l.memoizedState=h,l.childLanes=Uh(e,o,n),t.memoizedState=Ob,qi(e.child,l)):(w!==null&&(n&62914560)===n&&(n&e.lanes)!==0&&fd(t),yr(t),n=e.child,e=n.sibling,n=_o(n,{mode:"visible",children:l.children}),n.return=t,n.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function Hh(e,t){return t=sd({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function sd(e,t){return e=S(22,e,null,t),e.lanes=0,e}function Lh(e,t,n){return jl(t,e.child,null,n),e=Hh(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function N0(e,t,n){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),$m(e.return,t,n)}function qh(e,t,n,o,l,i){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:n,tailMode:l,treeForkCount:i}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=o,d.tail=n,d.tailMode=l,d.treeForkCount=i)}function E0(e,t,n){var o=t.pendingProps,l=o.revealOrder,i=o.tail,d=o.children,h=zt.current;if((o=(h&Au)!==0)?(h=h&Ys|Au,t.flags|=128):h&=Ys,ne(zt,h,t),h=l??"null",l!=="forwards"&&l!=="unstable_legacy-backwards"&&l!=="together"&&l!=="independent"&&!iS[h])if(iS[h]=!0,l==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(l==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof l=="string")switch(l.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',l,l.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',l,l.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',l)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',l);h=i??"null",rf[h]||(i==null?(l==="forwards"||l==="backwards"||l==="unstable_legacy-backwards")&&(rf[h]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):i!=="visible"&&i!=="collapsed"&&i!=="hidden"?(rf[h]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',i)):l!=="forwards"&&l!=="backwards"&&l!=="unstable_legacy-backwards"&&(rf[h]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',i)));e:if((l==="forwards"||l==="backwards"||l==="unstable_legacy-backwards")&&d!==void 0&&d!==null&&d!==!1)if(It(d)){for(h=0;h<d.length;h++)if(!Rv(d[h],h))break e}else if(h=P(d),typeof h=="function"){if(h=h.call(d))for(var y=h.next(),w=0;!y.done;y=h.next()){if(!Rv(y.value,w))break e;w++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',l);if(on(e,t,d,n),Xe?(fr(),d=pu):d=0,!o&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&N0(e,n,t);else if(e.tag===19)N0(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&$c(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),qh(t,!1,l,n,i,d);break;case"backwards":case"unstable_legacy-backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&$c(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}qh(t,!0,n,null,i,d);break;case"together":qh(t,!1,null,null,void 0,d);break;default:t.memoizedState=null}return t.child}function ko(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),wn=-1,qr|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(ss(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,n=_o(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=_o(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Bh(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&zc(e)))}function hD(e,t,n){switch(t.tag){case 3:ve(t,t.stateNode.containerInfo),hr(t,Lt,e.memoizedState.cache),fl();break;case 27:case 5:B(t);break;case 4:ve(t,t.stateNode.containerInfo);break;case 10:hr(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var o=t.stateNode;o.effectDuration=-0,o.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,nh(t),null;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(yr(t),t.flags|=128,null):(n&t.child.childLanes)!==0?S0(e,t,n):(yr(t),e=ko(e,t,n),e!==null?e.sibling:null);yr(t);break;case 19:var l=(e.flags&128)!==0;if(o=(n&t.childLanes)!==0,o||(ss(e,t,n,!1),o=(n&t.childLanes)!==0),l){if(o)return E0(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),ne(zt,zt.current,t),o)break;return null;case 22:return t.lanes=0,b0(e,t,n,t.pendingProps);case 24:hr(t,Lt,e.memoizedState.cache)}return ko(e,t,n)}function Ph(e,t,n){if(t._debugNeedsRemount&&e!==null){n=Hm(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var o=t.return;if(o===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===o.child)o.child=n;else{var l=o.child;if(l===null)throw Error("Expected parent to have a child.");for(;l.sibling!==t;)if(l=l.sibling,l===null)throw Error("Expected to find the previous sibling.");l.sibling=n}return t=o.deletions,t===null?(o.deletions=[e],o.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Pt=!0;else{if(!Bh(e,n)&&(t.flags&128)===0)return Pt=!1,hD(e,t,n);Pt=(e.flags&131072)!==0}else Pt=!1,(o=Xe)&&(fr(),o=(t.flags&1048576)!==0),o&&(o=t.index,fr(),uv(t,pu,o));switch(t.lanes=0,t.tag){case 16:e:if(o=t.pendingProps,e=pr(t.elementType),t.type=e,typeof e=="function")Um(e)?(o=yl(e,o),t.tag=1,t.type=e=ul(e),t=x0(null,t,e,o,n)):(t.tag=0,kh(t,e),t.type=e=ul(e),t=zh(null,t,e,o,n));else{if(e!=null){if(l=e.$$typeof,l===nu){t.tag=11,t.type=e=Vm(e),t=m0(null,t,e,o,n);break e}else if(l===Dd){t.tag=14,t=h0(null,t,e,o,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===$n&&(t=" Did you wrap a component in React.lazy() more than once?"),n=Q(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+n+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return zh(e,t,t.type,t.pendingProps,n);case 1:return o=t.type,l=yl(o,t.pendingProps),x0(e,t,o,l,n);case 3:e:{if(ve(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");o=t.pendingProps;var i=t.memoizedState;l=i.element,Wm(e,t),Vi(t,o,null,n);var d=t.memoizedState;if(o=d.cache,hr(t,Lt,o),o!==i.cache&&Gm(t,[Lt],n,!0),ki(),o=d.element,i.isDehydrated)if(i={element:o,isDehydrated:!1,cache:d.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=w0(e,t,o,n);break e}else if(o!==l){l=Ln(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Ri(l),t=w0(e,t,o,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(gt=Yn(e.firstChild),sn=t,Xe=!0,jr=null,io=!1,In=null,ua=!0,n=Uw(t,null,o,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(fl(),o===l){t=ko(e,t,n);break e}on(e,t,o,n)}t=t.child}return t;case 26:return ld(e,t),e===null?(n=Fx(t.type,null,t.pendingProps,null))?t.memoizedState=n:Xe||(n=t.type,e=t.pendingProps,o=me(Cr.current),o=gd(o).createElement(n),o[ln]=t,o[yn]=e,rn(o,n,e),le(o),t.stateNode=o):t.memoizedState=Fx(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return B(t),e===null&&Xe&&(o=me(Cr.current),l=F(),o=t.stateNode=Ix(t.type,t.pendingProps,o,l,!1),io||(l=kx(o,t.type,t.pendingProps,l),l!==null&&(dl(t,0).serverProps=l)),sn=t,ua=!0,l=gt,Nr(t.type)?(Jb=l,gt=Yn(o.firstChild)):gt=l),on(e,t,t.pendingProps.children,n),ld(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Xe&&(i=F(),o=Dm(t.type,i.ancestorInfo),l=gt,(d=!l)||(d=nO(l,t.type,t.pendingProps,ua),d!==null?(t.stateNode=d,io||(i=kx(d,t.type,t.pendingProps,i),i!==null&&(dl(t,0).serverProps=i)),sn=t,gt=Yn(d.firstChild),ua=!1,i=!0):i=!1,d=!i),d&&(o&&jc(t,l),mr(t))),B(t),l=t.type,i=t.pendingProps,d=e!==null?e.memoizedProps:null,o=i.children,mp(l,i)?o=null:d!==null&&mp(l,d)&&(t.flags|=32),t.memoizedState!==null&&(l=oh(e,t,lD,null,null,n),Xu._currentValue=l),ld(e,t),on(e,t,o,n),t.child;case 6:return e===null&&Xe&&(n=t.pendingProps,e=F(),o=e.ancestorInfo.current,n=o!=null?Sc(n,o.tag,e.ancestorInfo.implicitRootScope):!0,e=gt,(o=!e)||(o=aO(e,t.pendingProps,ua),o!==null?(t.stateNode=o,sn=t,gt=null,o=!0):o=!1,o=!o),o&&(n&&jc(t,e),mr(t))),null;case 13:return S0(e,t,n);case 4:return ve(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=jl(t,null,o,n):on(e,t,o,n),t.child;case 11:return m0(e,t,t.type,t.pendingProps,n);case 7:return on(e,t,t.pendingProps,n),t.child;case 8:return on(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,o=t.stateNode,o.effectDuration=-0,o.passiveEffectDuration=-0,on(e,t,t.pendingProps.children,n),t.child;case 10:return o=t.type,l=t.pendingProps,i=l.value,"value"in l||uS||(uS=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),hr(t,o,i),on(e,t,l.children,n),t.child;case 9:return l=t.type._context,o=t.pendingProps.children,typeof o!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),ml(t),l=vt(l),o=pb(o,l,void 0),t.flags|=1,on(e,t,o,n),t.child;case 14:return h0(e,t,t.type,t.pendingProps,n);case 15:return p0(e,t,t.type,t.pendingProps,n);case 19:return E0(e,t,n);case 31:return mD(e,t,n);case 22:return b0(e,t,n,t.pendingProps);case 24:return ml(t),o=vt(Lt),e===null?(l=Zm(),l===null&&(l=mt,i=Im(),l.pooledCache=i,hl(i),i!==null&&(l.pooledCacheLanes|=n),l=i),t.memoizedState={parent:o,cache:l},Km(t),hr(t,Lt,l)):((e.lanes&n)!==0&&(Wm(e,t),Vi(t,null,null,n),ki()),l=e.memoizedState,i=t.memoizedState,l.parent!==o?(l={parent:o,cache:o},t.memoizedState=l,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=l),hr(t,Lt,o)):(o=i.cache,hr(t,Lt,o),o!==l.cache&&Gm(t,[Lt],n,!0))),on(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Vo(e){e.flags|=4}function Qh(e,t,n,o,l){if((t=(e.mode&kR)!==Me)&&(t=!1),t){if(e.flags|=16777216,(l&335544128)===l)if(e.stateNode.complete)e.flags|=8192;else if(ax())e.flags|=8192;else throw _l=Wd,gb}else e.flags&=-16777217}function C0(e,t){if(t.type!=="stylesheet"||(t.state.loading&ha)!==Ql)e.flags&=-16777217;else if(e.flags|=16777216,!e1(t))if(ax())e.flags|=8192;else throw _l=Wd,gb}function id(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Va():536870912,e.lanes|=t,Ul|=t)}function Bi(e,t){if(!Xe)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var o=null;n!==null;)n.alternate!==null&&(o=n),n=n.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function ht(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,o=0;if(t)if((e.mode&Le)!==Me){for(var l=e.selfBaseDuration,i=e.child;i!==null;)n|=i.lanes|i.childLanes,o|=i.subtreeFlags&65011712,o|=i.flags&65011712,l+=i.treeBaseDuration,i=i.sibling;e.treeBaseDuration=l}else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,o|=l.subtreeFlags&65011712,o|=l.flags&65011712,l.return=e,l=l.sibling;else if((e.mode&Le)!==Me){l=e.actualDuration,i=e.selfBaseDuration;for(var d=e.child;d!==null;)n|=d.lanes|d.childLanes,o|=d.subtreeFlags,o|=d.flags,l+=d.actualDuration,i+=d.treeBaseDuration,d=d.sibling;e.actualDuration=l,e.treeBaseDuration=i}else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,o|=l.subtreeFlags,o|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=o,e.childLanes=n,t}function pD(e,t,n){var o=t.pendingProps;switch(Pm(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ht(t),null;case 1:return ht(t),null;case 3:return n=t.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),Mo(Lt,t),q(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(ls(t)?(Ym(),Vo(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Qm())),ht(t),null;case 26:var l=t.type,i=t.memoizedState;return e===null?(Vo(t),i!==null?(ht(t),C0(t,i)):(ht(t),Qh(t,l,null,o,n))):i?i!==e.memoizedState?(Vo(t),ht(t),C0(t,i)):(ht(t),t.flags&=-16777217):(e=e.memoizedProps,e!==o&&Vo(t),ht(t),Qh(t,l,e,o,n)),null;case 27:if(fe(t),n=me(Cr.current),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&Vo(t);else{if(!o){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return ht(t),null}e=F(),ls(t)?mv(t):(e=Ix(l,o,n,e,!0),t.stateNode=e,Vo(t))}return ht(t),null;case 5:if(fe(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&Vo(t);else{if(!o){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return ht(t),null}var d=F();if(ls(t))mv(t);else{switch(i=me(Cr.current),Dm(l,d.ancestorInfo),d=d.context,i=gd(i),d){case ni:i=i.createElementNS(Ts,l);break;case Tf:i=i.createElementNS(zd,l);break;default:switch(l){case"svg":i=i.createElementNS(Ts,l);break;case"math":i=i.createElementNS(zd,l);break;case"script":i=i.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof o.is=="string"?i.createElement("select",{is:o.is}):i.createElement("select"),o.multiple?i.multiple=!0:o.size&&(i.size=o.size);break;default:i=typeof o.is=="string"?i.createElement(l,{is:o.is}):i.createElement(l),l.indexOf("-")===-1&&(l!==l.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),Object.prototype.toString.call(i)!=="[object HTMLUnknownElement]"||Na.call(MS,l)||(MS[l]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",l)))}}i[ln]=t,i[yn]=o;e:for(d=t.child;d!==null;){if(d.tag===5||d.tag===6)i.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}t.stateNode=i;e:switch(rn(i,l,o),l){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&Vo(t)}}return ht(t),Qh(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==o&&Vo(t);else{if(typeof o!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=me(Cr.current),n=F(),ls(t)){if(e=t.stateNode,n=t.memoizedProps,l=!io,o=null,i=sn,i!==null)switch(i.tag){case 3:l&&(l=$x(e,n,o),l!==null&&(dl(t,0).serverProps=l));break;case 27:case 5:o=i.memoizedProps,l&&(l=$x(e,n,o),l!==null&&(dl(t,0).serverProps=l))}e[ln]=t,e=!!(e.nodeValue===n||o!==null&&o.suppressHydrationWarning===!0||Ax(e.nodeValue,n)),e||mr(t,!0)}else l=n.ancestorInfo.current,l!=null&&Sc(o,l.tag,n.ancestorInfo.implicitRootScope),e=gd(e).createTextNode(o),e[ln]=t,t.stateNode=e}return ht(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(o=ls(t),n!==null){if(e===null){if(!o)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[ln]=t,ht(t),(t.mode&Le)!==Me&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Ym(),fl(),(t.flags&128)===0&&(n=t.memoizedState=null),t.flags|=4,ht(t),(t.mode&Le)!==Me&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=Qm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Pn(t),t):(Pn(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return ht(t),null;case 13:if(o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=o,i=ls(t),l!==null&&l.dehydrated!==null){if(e===null){if(!i)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");i[ln]=t,ht(t),(t.mode&Le)!==Me&&l!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration))}else Ym(),fl(),(t.flags&128)===0&&(l=t.memoizedState=null),t.flags|=4,ht(t),(t.mode&Le)!==Me&&l!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration));l=!1}else l=Qm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l)return t.flags&256?(Pn(t),t):(Pn(t),null)}return Pn(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&Le)!==Me&&ji(t),t):(n=o!==null,e=e!==null&&e.memoizedState!==null,n&&(o=t.child,l=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(l=o.alternate.memoizedState.cachePool.pool),i=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(i=o.memoizedState.cachePool.pool),i!==l&&(o.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),id(t,t.updateQueue),ht(t),(t.mode&Le)!==Me&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return q(t),e===null&&lp(t.stateNode.containerInfo),ht(t),null;case 10:return Mo(t.type,t),ht(t),null;case 19:if(K(zt,t),o=t.memoizedState,o===null)return ht(t),null;if(l=(t.flags&128)!==0,i=o.rendering,i===null)if(l)Bi(o,!1);else{if(Et!==Ko||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=$c(e),i!==null){for(t.flags|=128,Bi(o,!1),e=i.updateQueue,t.updateQueue=e,id(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)sv(n,e),n=n.sibling;return ne(zt,zt.current&Ys|Au,t),Xe&&jo(t,o.treeForkCount),t.child}e=e.sibling}o.tail!==null&&Kt()>mf&&(t.flags|=128,l=!0,Bi(o,!1),t.lanes=4194304)}else{if(!l)if(e=$c(i),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,id(t,e),Bi(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!Xe)return ht(t),null}else 2*Kt()-o.renderingStartTime>mf&&n!==536870912&&(t.flags|=128,l=!0,Bi(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(e=o.last,e!==null?e.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Kt(),e.sibling=null,n=zt.current,n=l?n&Ys|Au:n&Ys,ne(zt,n,t),Xe&&jo(t,o.treeForkCount),e):(ht(t),null);case 22:case 23:return Pn(t),th(t),o=t.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(t.flags|=8192):o&&(t.flags|=8192),o?(n&536870912)!==0&&(t.flags&128)===0&&(ht(t),t.subtreeFlags&6&&(t.flags|=8192)):ht(t),n=t.updateQueue,n!==null&&id(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),o=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),o!==n&&(t.flags|=2048),e!==null&&K(Rl,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Mo(Lt,t),ht(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function bD(e,t){switch(Pm(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Le)!==Me&&ji(t),t):null;case 3:return Mo(Lt,t),q(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return fe(t),null;case 31:if(t.memoizedState!==null){if(Pn(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");fl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Le)!==Me&&ji(t),t):null;case 13:if(Pn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");fl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Le)!==Me&&ji(t),t):null;case 19:return K(zt,t),null;case 4:return q(t),null;case 10:return Mo(t.type,t),null;case 22:case 23:return Pn(t),th(t),e!==null&&K(Rl,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Le)!==Me&&ji(t),t):null;case 24:return Mo(Lt,t),null;case 25:return null;default:return null}}function T0(e,t){switch(Pm(t),t.tag){case 3:Mo(Lt,t),q(t);break;case 26:case 27:case 5:fe(t);break;case 4:q(t);break;case 31:t.memoizedState!==null&&Pn(t);break;case 13:Pn(t);break;case 19:K(zt,t);break;case 10:Mo(t.type,t);break;case 22:case 23:Pn(t),th(t),e!==null&&K(Rl,t);break;case 24:Mo(Lt,t)}}function Fa(e){return(e.mode&Le)!==Me}function D0(e,t){Fa(e)?(Xa(),Pi(t,e),Ia()):Pi(t,e)}function Yh(e,t,n){Fa(e)?(Xa(),fs(n,e,t),Ia()):fs(n,e,t)}function Pi(e,t){try{var n=t.updateQueue,o=n!==null?n.lastEffect:null;if(o!==null){var l=o.next;n=l;do{if((n.tag&e)===e&&(o=void 0,(e&Sn)!==tf&&(Ws=!0),o=be(t,BR,n),(e&Sn)!==tf&&(Ws=!1),o!==void 0&&typeof o!="function")){var i=void 0;i=(n.tag&Fn)!==0?"useLayoutEffect":(n.tag&Sn)!==0?"useInsertionEffect":"useEffect";var d=void 0;d=o===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof o.then=="function"?`
199
+
200
+ It looks like you wrote `+i+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
201
+
202
+ `+i+`(() => {
203
+ async function fetchData() {
204
+ // You can await here
205
+ const response = await MyAPI.getData(someId);
206
+ // ...
207
+ }
208
+ fetchData();
209
+ }, [someId]); // Or [] if effect doesn't need props or state
210
+
211
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+o,be(t,function(h,y){console.error("%s must not return anything besides a function, which is used for clean-up.%s",h,y)},i,d)}n=n.next}while(n!==l)}}catch(h){ot(t,t.return,h)}}function fs(e,t,n){try{var o=t.updateQueue,l=o!==null?o.lastEffect:null;if(l!==null){var i=l.next;o=i;do{if((o.tag&e)===e){var d=o.inst,h=d.destroy;h!==void 0&&(d.destroy=void 0,(e&Sn)!==tf&&(Ws=!0),l=t,be(l,PR,l,n,h),(e&Sn)!==tf&&(Ws=!1))}o=o.next}while(o!==i)}}catch(y){ot(t,t.return,y)}}function O0(e,t){Fa(e)?(Xa(),Pi(t,e),Ia()):Pi(t,e)}function $h(e,t,n){Fa(e)?(Xa(),fs(n,e,t),Ia()):fs(n,e,t)}function R0(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||Xs||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",I(e)||"instance"),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",I(e)||"instance"));try{be(e,_v,t,n)}catch(o){ot(e,e.return,o)}}}function gD(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function yD(e,t){var n=t.memoizedProps,o=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||Xs||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",I(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",I(e)||"instance"));try{var l=yl(e.type,n),i=be(e,gD,t,l,o);n=cS,i!==void 0||n.has(e.type)||(n.add(e.type),be(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",I(e))})),t.__reactInternalSnapshotBeforeUpdate=i}catch(d){ot(e,e.return,d)}}function A0(e,t,n){n.props=yl(e.type,e.memoizedProps),n.state=e.memoizedState,Fa(e)?(Xa(),be(e,Rw,e,t,n),Ia()):be(e,Rw,e,t,n)}function vD(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t=="function")if(Fa(e))try{Xa(),e.refCleanup=t(n)}finally{Ia()}else e.refCleanup=t(n);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",I(e)),t.current=n}}function Qi(e,t){try{be(e,vD,e)}catch(n){ot(e,t,n)}}function Za(e,t){var n=e.ref,o=e.refCleanup;if(n!==null)if(typeof o=="function")try{if(Fa(e))try{Xa(),be(e,o)}finally{Ia(e)}else be(e,o)}catch(l){ot(e,t,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(Fa(e))try{Xa(),be(e,n,null)}finally{Ia(e)}else be(e,n,null)}catch(l){ot(e,t,l)}else n.current=null}function _0(e,t,n,o){var l=e.memoizedProps,i=l.id,d=l.onCommit;l=l.onRender,t=t===null?"mount":"update",Fd&&(t="nested-update"),typeof l=="function"&&l(i,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof d=="function"&&d(i,t,o,n)}function xD(e,t,n,o){var l=e.memoizedProps;e=l.id,l=l.onPostCommit,t=t===null?"mount":"update",Fd&&(t="nested-update"),typeof l=="function"&&l(e,t,o,n)}function j0(e){var t=e.type,n=e.memoizedProps,o=e.stateNode;try{be(e,YD,o,t,n,e)}catch(l){ot(e,e.return,l)}}function Gh(e,t,n){try{be(e,GD,e.stateNode,e.type,n,t,e)}catch(o){ot(e,e.return,o)}}function M0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Nr(e.type)||e.tag===4}function Ih(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||M0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Nr(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Xh(e,t,n){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?(qx(n),(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t)):(qx(n),t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ao));else if(o!==4&&(o===27&&Nr(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Xh(e,t,n),e=e.sibling;e!==null;)Xh(e,t,n),e=e.sibling}function ud(e,t,n){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(o!==4&&(o===27&&Nr(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(ud(e,t,n),e=e.sibling;e!==null;)ud(e,t,n),e=e.sibling}function wD(e){for(var t,n=e.return;n!==null;){if(M0(n)){t=n;break}n=n.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,n=Ih(e),ud(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(Lx(n),t.flags&=-33),t=Ih(e),ud(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=Ih(e),Xh(e,n,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function z0(e){var t=e.stateNode,n=e.memoizedProps;try{be(e,iO,e.type,n,t,e)}catch(o){ot(e,e.return,o)}}function k0(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function SD(e,t){if(e=e.containerInfo,Xb=Af,e=Jy(e),Am(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var o=n.getSelection&&n.getSelection();if(o&&o.rangeCount!==0){n=o.anchorNode;var l=o.anchorOffset,i=o.focusNode;o=o.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var d=0,h=-1,y=-1,w=0,k=0,H=e,_=null;t:for(;;){for(var Y;H!==n||l!==0&&H.nodeType!==3||(h=d+l),H!==i||o!==0&&H.nodeType!==3||(y=d+o),H.nodeType===3&&(d+=H.nodeValue.length),(Y=H.firstChild)!==null;)_=H,H=Y;for(;;){if(H===e)break t;if(_===n&&++w===l&&(h=d),_===i&&++k===o&&(y=d),(Y=H.nextSibling)!==null)break;H=_,_=H.parentNode}H=Y}n=h===-1||y===-1?null:{start:h,end:y}}else n=null}n=n||{start:0,end:0}}else n=null;for(Fb={focusedElem:e,selectionRange:n},Af=!1,en=t;en!==null;)if(t=en,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,en=e;else for(;en!==null;){switch(e=t=en,n=e.alternate,l=e.flags,e.tag){case 0:if((l&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)l=e[n],l.ref.impl=l.nextImpl;break;case 11:case 15:break;case 1:(l&1024)!==0&&n!==null&&yD(e,n);break;case 3:if((l&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)hp(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":hp(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,en=e;break}en=t.return}}function V0(e,t,n){var o=qn(),l=Qa(),i=$a(),d=Ga(),h=n.flags;switch(n.tag){case 0:case 11:case 15:Ja(e,n),h&4&&D0(n,Fn|fa);break;case 1:if(Ja(e,n),h&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||Xs||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",I(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",I(n)||"instance")),Fa(n)?(Xa(),be(n,bb,n,e),Ia()):be(n,bb,n,e);else{var y=yl(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||Xs||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",I(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",I(n)||"instance")),Fa(n)?(Xa(),be(n,Tw,n,e,y,t,e.__reactInternalSnapshotBeforeUpdate),Ia()):be(n,Tw,n,e,y,t,e.__reactInternalSnapshotBeforeUpdate)}h&64&&R0(n),h&512&&Qi(n,n.return);break;case 3:if(t=zo(),Ja(e,n),h&64&&(h=n.updateQueue,h!==null)){if(y=null,n.child!==null)switch(n.child.tag){case 27:case 5:y=n.child.stateNode;break;case 1:y=n.child.stateNode}try{be(n,_v,h,y)}catch(k){ot(n,n.return,k)}}e.effectDuration+=Vc(t);break;case 27:t===null&&h&4&&z0(n);case 26:case 5:if(Ja(e,n),t===null){if(h&4)j0(n);else if(h&64){e=n.type,t=n.memoizedProps,y=n.stateNode;try{be(n,$D,y,e,t,n)}catch(k){ot(n,n.return,k)}}}h&512&&Qi(n,n.return);break;case 12:if(h&4){h=zo(),Ja(e,n),e=n.stateNode,e.effectDuration+=_i(h);try{be(n,_0,n,t,Mr,e.effectDuration)}catch(k){ot(n,n.return,k)}}else Ja(e,n);break;case 31:Ja(e,n),h&4&&L0(e,n);break;case 13:Ja(e,n),h&4&&q0(e,n),h&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(h=_D.bind(null,n),oO(e,h))));break;case 22:if(h=n.memoizedState!==null||Jo,!h){t=t!==null&&t.memoizedState!==null||Qt,y=Jo;var w=Qt;Jo=h,(Qt=t)&&!w?(Ka(e,n,(n.subtreeFlags&8772)!==0),(n.mode&Le)!==Me&&0<=Ae&&0<=je&&.05<je-Ae&&Tc(n,Ae,je)):Ja(e,n),Jo=y,Qt=w}break;case 30:break;default:Ja(e,n)}(n.mode&Le)!==Me&&0<=Ae&&0<=je&&((Dt||.05<Nt)&&Ba(n,Ae,je,Nt,xt),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&.05<je-Ae&&(k0(n.return.alternate,n.return)||qa(n,Ae,je,"Mount"))),Bn(o),Ya(l),xt=i,Dt=d}function U0(e){var t=e.alternate;t!==null&&(e.alternate=null,U0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&L(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Uo(e,t,n){for(n=n.child;n!==null;)H0(e,t,n),n=n.sibling}function H0(e,t,n){if(dn&&typeof dn.onCommitFiberUnmount=="function")try{dn.onCommitFiberUnmount(Es,n)}catch(w){oo||(oo=!0,console.error("React instrumentation encountered an error: %o",w))}var o=qn(),l=Qa(),i=$a(),d=Ga();switch(n.tag){case 26:Qt||Za(n,t),Uo(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(e=n.stateNode,e.parentNode.removeChild(e));break;case 27:Qt||Za(n,t);var h=Yt,y=Mn;Nr(n.type)&&(Yt=n.stateNode,Mn=!1),Uo(e,t,n),be(n,Ki,n.stateNode),Yt=h,Mn=y;break;case 5:Qt||Za(n,t);case 6:if(h=Yt,y=Mn,Yt=null,Uo(e,t,n),Yt=h,Mn=y,Yt!==null)if(Mn)try{be(n,FD,Yt,n.stateNode)}catch(w){ot(n,t,w)}else try{be(n,XD,Yt,n.stateNode)}catch(w){ot(n,t,w)}break;case 18:Yt!==null&&(Mn?(e=Yt,Bx(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),xs(e)):Bx(Yt,n.stateNode));break;case 4:h=Yt,y=Mn,Yt=n.stateNode.containerInfo,Mn=!0,Uo(e,t,n),Yt=h,Mn=y;break;case 0:case 11:case 14:case 15:fs(Sn,n,t),Qt||Yh(n,t,Fn),Uo(e,t,n);break;case 1:Qt||(Za(n,t),h=n.stateNode,typeof h.componentWillUnmount=="function"&&A0(n,t,h)),Uo(e,t,n);break;case 21:Uo(e,t,n);break;case 22:Qt=(h=Qt)||n.memoizedState!==null,Uo(e,t,n),Qt=h;break;default:Uo(e,t,n)}(n.mode&Le)!==Me&&0<=Ae&&0<=je&&(Dt||.05<Nt)&&Ba(n,Ae,je,Nt,xt),Bn(o),Ya(l),xt=i,Dt=d}function L0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{be(t,lO,e)}catch(n){ot(t,t.return,n)}}}function q0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{be(t,sO,e)}catch(n){ot(t,t.return,n)}}function ND(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new dS),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new dS),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function cd(e,t){var n=ND(e);t.forEach(function(o){if(!n.has(o)){if(n.add(o),ro)if(Fs!==null&&Zs!==null)Ii(Zs,Fs);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var l=jD.bind(null,e,o);o.then(l,l)}})}function _n(e,t){var n=t.deletions;if(n!==null)for(var o=0;o<n.length;o++){var l=e,i=t,d=n[o],h=qn(),y=i;e:for(;y!==null;){switch(y.tag){case 27:if(Nr(y.type)){Yt=y.stateNode,Mn=!1;break e}break;case 5:Yt=y.stateNode,Mn=!1;break e;case 3:case 4:Yt=y.stateNode.containerInfo,Mn=!0;break e}y=y.return}if(Yt===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");H0(l,i,d),Yt=null,Mn=!1,(d.mode&Le)!==Me&&0<=Ae&&0<=je&&.05<je-Ae&&qa(d,Ae,je,"Unmount"),Bn(h),l=d,i=l.alternate,i!==null&&(i.return=null),l.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)B0(t,e),t=t.sibling}function B0(e,t){var n=qn(),o=Qa(),l=$a(),i=Ga(),d=e.alternate,h=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:_n(t,e),jn(e),h&4&&(fs(Sn|fa,e,e.return),Pi(Sn|fa,e),Yh(e,e.return,Fn|fa));break;case 1:if(_n(t,e),jn(e),h&512&&(Qt||d===null||Za(d,d.return)),h&64&&Jo&&(h=e.updateQueue,h!==null&&(d=h.callbacks,d!==null))){var y=h.shared.hiddenCallbacks;h.shared.hiddenCallbacks=y===null?d:y.concat(d)}break;case 26:if(y=Da,_n(t,e),jn(e),h&512&&(Qt||d===null||Za(d,d.return)),h&4){var w=d!==null?d.memoizedState:null;if(h=e.memoizedState,d===null)if(h===null)if(e.stateNode===null){e:{h=e.type,d=e.memoizedProps,y=y.ownerDocument||y;t:switch(h){case"title":w=y.getElementsByTagName("title")[0],(!w||w[ru]||w[ln]||w.namespaceURI===Ts||w.hasAttribute("itemprop"))&&(w=y.createElement(h),y.head.insertBefore(w,y.querySelector("head > title"))),rn(w,h,d),w[ln]=e,le(w),h=w;break e;case"link":var k=Kx("link","href",y).get(h+(d.href||""));if(k){for(var H=0;H<k.length;H++)if(w=k[H],w.getAttribute("href")===(d.href==null||d.href===""?null:d.href)&&w.getAttribute("rel")===(d.rel==null?null:d.rel)&&w.getAttribute("title")===(d.title==null?null:d.title)&&w.getAttribute("crossorigin")===(d.crossOrigin==null?null:d.crossOrigin)){k.splice(H,1);break t}}w=y.createElement(h),rn(w,h,d),y.head.appendChild(w);break;case"meta":if(k=Kx("meta","content",y).get(h+(d.content||""))){for(H=0;H<k.length;H++)if(w=k[H],nt(d.content,"content"),w.getAttribute("content")===(d.content==null?null:""+d.content)&&w.getAttribute("name")===(d.name==null?null:d.name)&&w.getAttribute("property")===(d.property==null?null:d.property)&&w.getAttribute("http-equiv")===(d.httpEquiv==null?null:d.httpEquiv)&&w.getAttribute("charset")===(d.charSet==null?null:d.charSet)){k.splice(H,1);break t}}w=y.createElement(h),rn(w,h,d),y.head.appendChild(w);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+h+'". This is a bug in React.')}w[ln]=e,le(w),h=w}e.stateNode=h}else Wx(y,e.type,e.stateNode);else e.stateNode=Jx(y,h,e.memoizedProps);else w!==h?(w===null?d.stateNode!==null&&(d=d.stateNode,d.parentNode.removeChild(d)):w.count--,h===null?Wx(y,e.type,e.stateNode):Jx(y,h,e.memoizedProps)):h===null&&e.stateNode!==null&&Gh(e,e.memoizedProps,d.memoizedProps)}break;case 27:_n(t,e),jn(e),h&512&&(Qt||d===null||Za(d,d.return)),d!==null&&h&4&&Gh(e,e.memoizedProps,d.memoizedProps);break;case 5:if(_n(t,e),jn(e),h&512&&(Qt||d===null||Za(d,d.return)),e.flags&32){y=e.stateNode;try{be(e,Lx,y)}catch(ye){ot(e,e.return,ye)}}h&4&&e.stateNode!=null&&(y=e.memoizedProps,Gh(e,y,d!==null?d.memoizedProps:y)),h&1024&&(Rb=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(_n(t,e),jn(e),h&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");h=e.memoizedProps,d=d!==null?d.memoizedProps:h,y=e.stateNode;try{be(e,ID,y,d,h)}catch(ye){ot(e,e.return,ye)}}break;case 3:if(y=zo(),Df=null,w=Da,Da=yd(t.containerInfo),_n(t,e),Da=w,jn(e),h&4&&d!==null&&d.memoizedState.isDehydrated)try{be(e,rO,t.containerInfo)}catch(ye){ot(e,e.return,ye)}Rb&&(Rb=!1,P0(e)),t.effectDuration+=Vc(y);break;case 4:h=Da,Da=yd(e.stateNode.containerInfo),_n(t,e),jn(e),Da=h;break;case 12:h=zo(),_n(t,e),jn(e),e.stateNode.effectDuration+=_i(h);break;case 31:_n(t,e),jn(e),h&4&&(h=e.updateQueue,h!==null&&(e.updateQueue=null,cd(e,h)));break;case 13:_n(t,e),jn(e),e.child.flags&8192&&e.memoizedState!==null!=(d!==null&&d.memoizedState!==null)&&(ff=Kt()),h&4&&(h=e.updateQueue,h!==null&&(e.updateQueue=null,cd(e,h)));break;case 22:y=e.memoizedState!==null;var _=d!==null&&d.memoizedState!==null,Y=Jo,de=Qt;if(Jo=Y||y,Qt=de||_,_n(t,e),Qt=de,Jo=Y,_&&!y&&!Y&&!de&&(e.mode&Le)!==Me&&0<=Ae&&0<=je&&.05<je-Ae&&Tc(e,Ae,je),jn(e),h&8192)e:for(t=e.stateNode,t._visibility=y?t._visibility&~hu:t._visibility|hu,!y||d===null||_||Jo||Qt||(vl(e),(e.mode&Le)!==Me&&0<=Ae&&0<=je&&.05<je-Ae&&qa(e,Ae,je,"Disconnect")),d=null,t=e;;){if(t.tag===5||t.tag===26){if(d===null){_=d=t;try{w=_.stateNode,y?be(_,JD,w):be(_,eO,_.stateNode,_.memoizedProps)}catch(ye){ot(_,_.return,ye)}}}else if(t.tag===6){if(d===null){_=t;try{k=_.stateNode,y?be(_,KD,k):be(_,tO,k,_.memoizedProps)}catch(ye){ot(_,_.return,ye)}}}else if(t.tag===18){if(d===null){_=t;try{H=_.stateNode,y?be(_,ZD,H):be(_,WD,_.stateNode)}catch(ye){ot(_,_.return,ye)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;d===t&&(d=null),t=t.return}d===t&&(d=null),t.sibling.return=t.return,t=t.sibling}h&4&&(h=e.updateQueue,h!==null&&(d=h.retryQueue,d!==null&&(h.retryQueue=null,cd(e,d))));break;case 19:_n(t,e),jn(e),h&4&&(h=e.updateQueue,h!==null&&(e.updateQueue=null,cd(e,h)));break;case 30:break;case 21:break;default:_n(t,e),jn(e)}(e.mode&Le)!==Me&&0<=Ae&&0<=je&&((Dt||.05<Nt)&&Ba(e,Ae,je,Nt,xt),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<je-Ae&&(k0(e.return.alternate,e.return)||qa(e,Ae,je,"Mount"))),Bn(n),Ya(o),xt=l,Dt=i}function jn(e){var t=e.flags;if(t&2){try{be(e,wD,e)}catch(n){ot(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function P0(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;P0(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Ja(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)V0(e,t.alternate,t),t=t.sibling}function Q0(e){var t=qn(),n=Qa(),o=$a(),l=Ga();switch(e.tag){case 0:case 11:case 14:case 15:Yh(e,e.return,Fn),vl(e);break;case 1:Za(e,e.return);var i=e.stateNode;typeof i.componentWillUnmount=="function"&&A0(e,e.return,i),vl(e);break;case 27:be(e,Ki,e.stateNode);case 26:case 5:Za(e,e.return),vl(e);break;case 22:e.memoizedState===null&&vl(e);break;case 30:vl(e);break;default:vl(e)}(e.mode&Le)!==Me&&0<=Ae&&0<=je&&(Dt||.05<Nt)&&Ba(e,Ae,je,Nt,xt),Bn(t),Ya(n),xt=o,Dt=l}function vl(e){for(e=e.child;e!==null;)Q0(e),e=e.sibling}function Y0(e,t,n,o){var l=qn(),i=Qa(),d=$a(),h=Ga(),y=n.flags;switch(n.tag){case 0:case 11:case 15:Ka(e,n,o),D0(n,Fn);break;case 1:if(Ka(e,n,o),t=n.stateNode,typeof t.componentDidMount=="function"&&be(n,bb,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{be(n,rD,t,e)}catch(w){ot(n,n.return,w)}}o&&y&64&&R0(n),Qi(n,n.return);break;case 27:z0(n);case 26:case 5:Ka(e,n,o),o&&t===null&&y&4&&j0(n),Qi(n,n.return);break;case 12:if(o&&y&4){y=zo(),Ka(e,n,o),o=n.stateNode,o.effectDuration+=_i(y);try{be(n,_0,n,t,Mr,o.effectDuration)}catch(w){ot(n,n.return,w)}}else Ka(e,n,o);break;case 31:Ka(e,n,o),o&&y&4&&L0(e,n);break;case 13:Ka(e,n,o),o&&y&4&&q0(e,n);break;case 22:n.memoizedState===null&&Ka(e,n,o),Qi(n,n.return);break;case 30:break;default:Ka(e,n,o)}(n.mode&Le)!==Me&&0<=Ae&&0<=je&&(Dt||.05<Nt)&&Ba(n,Ae,je,Nt,xt),Bn(l),Ya(i),xt=d,Dt=h}function Ka(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Y0(e,t.alternate,t,n),t=t.sibling}function Fh(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&hl(e),n!=null&&Ai(n))}function Zh(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(hl(t),e!=null&&Ai(e))}function Sa(e,t,n,o,l){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var i=t.sibling;$0(e,t,n,o,i!==null?i.actualStartTime:l),t=i}}function $0(e,t,n,o,l){var i=qn(),d=Qa(),h=$a(),y=Ga(),w=Rr,k=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&Le)!==Me&&0<t.actualStartTime&&(t.flags&1)!==0&&Dc(t,t.actualStartTime,l,Xt,n),Sa(e,t,n,o,l),k&2048&&O0(t,Nn|fa);break;case 1:(t.mode&Le)!==Me&&0<t.actualStartTime&&((t.flags&128)!==0?jm(t,t.actualStartTime,l,[]):(t.flags&1)!==0&&Dc(t,t.actualStartTime,l,Xt,n)),Sa(e,t,n,o,l);break;case 3:var H=zo(),_=Xt;Xt=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,Sa(e,t,n,o,l),Xt=_,k&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),o=t.memoizedState.cache,o!==n&&(hl(o),n!=null&&Ai(n))),e.passiveEffectDuration+=Vc(H);break;case 12:if(k&2048){k=zo(),Sa(e,t,n,o,l),e=t.stateNode,e.passiveEffectDuration+=_i(k);try{be(t,xD,t,t.alternate,Mr,e.passiveEffectDuration)}catch(Y){ot(t,t.return,Y)}}else Sa(e,t,n,o,l);break;case 31:k=Xt,H=t.alternate!==null?t.alternate.memoizedState:null,_=t.memoizedState,H!==null&&_===null?(_=t.deletions,_!==null&&0<_.length&&_[0].tag===18?(Xt=!1,H=H.hydrationErrors,H!==null&&jm(t,t.actualStartTime,l,H)):Xt=!0):Xt=!1,Sa(e,t,n,o,l),Xt=k;break;case 13:k=Xt,H=t.alternate!==null?t.alternate.memoizedState:null,_=t.memoizedState,H===null||H.dehydrated===null||_!==null&&_.dehydrated!==null?Xt=!1:(_=t.deletions,_!==null&&0<_.length&&_[0].tag===18?(Xt=!1,H=H.hydrationErrors,H!==null&&jm(t,t.actualStartTime,l,H)):Xt=!0),Sa(e,t,n,o,l),Xt=k;break;case 23:break;case 22:_=t.stateNode,H=t.alternate,t.memoizedState!==null?_._visibility&Bo?Sa(e,t,n,o,l):Yi(e,t,n,o,l):_._visibility&Bo?Sa(e,t,n,o,l):(_._visibility|=Bo,ms(e,t,n,o,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),l),(t.mode&Le)===Me||Xt||(e=t.actualStartTime,0<=e&&.05<l-e&&Tc(t,e,l),0<=Ae&&0<=je&&.05<je-Ae&&Tc(t,Ae,je))),k&2048&&Fh(H,t);break;case 24:Sa(e,t,n,o,l),k&2048&&Zh(t.alternate,t);break;default:Sa(e,t,n,o,l)}(t.mode&Le)!==Me&&((e=!Xt&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(n=t.actualStartTime,0<=n&&.05<l-n&&qa(t,n,l,"Mount")),0<=Ae&&0<=je&&((Dt||.05<Nt)&&Ba(t,Ae,je,Nt,xt),e&&.05<je-Ae&&qa(t,Ae,je,"Mount"))),Bn(i),Ya(d),xt=h,Dt=y,Rr=w}function ms(e,t,n,o,l,i){for(l=l&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var d=t.sibling;G0(e,t,n,o,l,d!==null?d.actualStartTime:i),t=d}}function G0(e,t,n,o,l,i){var d=qn(),h=Qa(),y=$a(),w=Ga(),k=Rr;l&&(t.mode&Le)!==Me&&0<t.actualStartTime&&(t.flags&1)!==0&&Dc(t,t.actualStartTime,i,Xt,n);var H=t.flags;switch(t.tag){case 0:case 11:case 15:ms(e,t,n,o,l,i),O0(t,Nn);break;case 23:break;case 22:var _=t.stateNode;t.memoizedState!==null?_._visibility&Bo?ms(e,t,n,o,l,i):Yi(e,t,n,o,i):(_._visibility|=Bo,ms(e,t,n,o,l,i)),l&&H&2048&&Fh(t.alternate,t);break;case 24:ms(e,t,n,o,l,i),l&&H&2048&&Zh(t.alternate,t);break;default:ms(e,t,n,o,l,i)}(t.mode&Le)!==Me&&0<=Ae&&0<=je&&(Dt||.05<Nt)&&Ba(t,Ae,je,Nt,xt),Bn(d),Ya(h),xt=y,Dt=w,Rr=k}function Yi(e,t,n,o,l){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var i=t.child;i!==null;){t=i.sibling;var d=e,h=n,y=o,w=t!==null?t.actualStartTime:l,k=Rr;(i.mode&Le)!==Me&&0<i.actualStartTime&&(i.flags&1)!==0&&Dc(i,i.actualStartTime,w,Xt,h);var H=i.flags;switch(i.tag){case 22:Yi(d,i,h,y,w),H&2048&&Fh(i.alternate,i);break;case 24:Yi(d,i,h,y,w),H&2048&&Zh(i.alternate,i);break;default:Yi(d,i,h,y,w)}Rr=k,i=t}}function hs(e,t,n){if(e.subtreeFlags&zu)for(e=e.child;e!==null;)I0(e,t,n),e=e.sibling}function I0(e,t,n){switch(e.tag){case 26:hs(e,t,n),e.flags&zu&&e.memoizedState!==null&&dO(n,Da,e.memoizedState,e.memoizedProps);break;case 5:hs(e,t,n);break;case 3:case 4:var o=Da;Da=yd(e.stateNode.containerInfo),hs(e,t,n),Da=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=zu,zu=16777216,hs(e,t,n),zu=o):hs(e,t,n));break;default:hs(e,t,n)}}function X0(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function $i(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var o=t[n],l=qn();en=o,J0(o,e),(o.mode&Le)!==Me&&0<=Ae&&0<=je&&.05<je-Ae&&qa(o,Ae,je,"Unmount"),Bn(l)}X0(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)F0(e),e=e.sibling}function F0(e){var t=qn(),n=Qa(),o=$a(),l=Ga();switch(e.tag){case 0:case 11:case 15:$i(e),e.flags&2048&&$h(e,e.return,Nn|fa);break;case 3:var i=zo();$i(e),e.stateNode.passiveEffectDuration+=Vc(i);break;case 12:i=zo(),$i(e),e.stateNode.passiveEffectDuration+=_i(i);break;case 22:i=e.stateNode,e.memoizedState!==null&&i._visibility&Bo&&(e.return===null||e.return.tag!==13)?(i._visibility&=~Bo,dd(e),(e.mode&Le)!==Me&&0<=Ae&&0<=je&&.05<je-Ae&&qa(e,Ae,je,"Disconnect")):$i(e);break;default:$i(e)}(e.mode&Le)!==Me&&0<=Ae&&0<=je&&(Dt||.05<Nt)&&Ba(e,Ae,je,Nt,xt),Bn(t),Ya(n),Dt=l,xt=o}function dd(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var o=t[n],l=qn();en=o,J0(o,e),(o.mode&Le)!==Me&&0<=Ae&&0<=je&&.05<je-Ae&&qa(o,Ae,je,"Unmount"),Bn(l)}X0(e)}for(e=e.child;e!==null;)Z0(e),e=e.sibling}function Z0(e){var t=qn(),n=Qa(),o=$a(),l=Ga();switch(e.tag){case 0:case 11:case 15:$h(e,e.return,Nn),dd(e);break;case 22:var i=e.stateNode;i._visibility&Bo&&(i._visibility&=~Bo,dd(e));break;default:dd(e)}(e.mode&Le)!==Me&&0<=Ae&&0<=je&&(Dt||.05<Nt)&&Ba(e,Ae,je,Nt,xt),Bn(t),Ya(n),Dt=l,xt=o}function J0(e,t){for(;en!==null;){var n=en,o=n,l=t,i=qn(),d=Qa(),h=$a(),y=Ga();switch(o.tag){case 0:case 11:case 15:$h(o,l,Nn);break;case 23:case 22:o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(l=o.memoizedState.cachePool.pool,l!=null&&hl(l));break;case 24:Ai(o.memoizedState.cache)}if((o.mode&Le)!==Me&&0<=Ae&&0<=je&&(Dt||.05<Nt)&&Ba(o,Ae,je,Nt,xt),Bn(i),Ya(d),Dt=y,xt=h,o=n.child,o!==null)o.return=n,en=o;else e:for(n=e;en!==null;){if(o=en,i=o.sibling,d=o.return,U0(o),o===n){en=null;break e}if(i!==null){i.return=d,en=i;break e}en=d}}}function ED(){IR.forEach(function(e){return e()})}function K0(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||G.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Qn(e){if((tt&Ft)!==tn&&Be!==0)return Be&-Be;var t=G.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),op()):Ha()}function W0(){if(kn===0)if((Be&536870912)===0||Xe){var e=Ad;Ad<<=1,(Ad&3932160)===0&&(Ad=262144),kn=e}else kn=536870912;return e=Xn.current,e!==null&&(e.flags|=32),kn}function Tt(e,t,n){if(Ws&&console.error("useInsertionEffect must not schedule updates."),qb&&(bf=!0),(e===mt&&(ut===kl||ut===Vl)||e.cancelPendingCommit!==null)&&(bs(e,0),wr(e,Be,kn,!1)),ya(e,n),(tt&Ft)!==tn&&e===mt){if(ao)switch(t.tag){case 0:case 11:case 15:e=Pe&&I(Pe)||"Unknown",TS.has(e)||(TS.add(e),t=I(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:CS||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),CS=!0)}}else ro&&Co(e,t,n),zD(t),e===mt&&((tt&Ft)===tn&&(Br|=n),Et===Hr&&wr(e,Be,kn,!1)),Wa(e)}function ex(e,t,n){if((tt&(Ft|Zn))!==tn)throw Error("Should not already be working.");if(Be!==0&&Pe!==null){var o=Pe,l=Kt();switch(yw){case Uu:case kl:var i=xu;bt&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Suspended",i,l,oa,void 0,"primary-light")):console.timeStamp("Suspended",i,l,oa,void 0,"primary-light"));break;case Vl:i=xu,bt&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Action",i,l,oa,void 0,"primary-light")):console.timeStamp("Action",i,l,oa,void 0,"primary-light"));break;default:bt&&(o=l-xu,3>o||console.timeStamp("Blocked",xu,l,oa,void 0,5>o?"primary-light":10>o?"primary":100>o?"primary-dark":"error"))}}i=(n=!n&&(t&127)===0&&(t&e.expiredLanes)===0||ka(e,t))?TD(e,t):Kh(e,t,!0);var d=n;do{if(i===Ko){Js&&!n&&wr(e,t,0,!1),t=ut,xu=qt(),yw=t;break}else{if(o=Kt(),l=e.current.alternate,d&&!CD(l)){xa(t),l=Wt,i=o,!bt||i<=l||(_t?_t.run(console.timeStamp.bind(console,"Teared Render",l,i,et,Je,"error")):console.timeStamp("Teared Render",l,i,et,Je,"error")),xl(t,o),i=Kh(e,t,!1),d=!1;continue}if(i===zl){if(d=t,e.errorRecoveryDisabledLanes&d)var h=0;else h=e.pendingLanes&-536870913,h=h!==0?h:h&536870912?536870912:0;if(h!==0){xa(t),Mm(Wt,o,t,_t),xl(t,o),t=h;e:{o=e,i=d,d=Lu;var y=o.current.memoizedState.isDehydrated;if(y&&(bs(o,h).flags|=256),h=Kh(o,h,!1),h!==zl){if(jb&&!y){o.errorRecoveryDisabledLanes|=i,Br|=i,i=Hr;break e}o=En,En=d,o!==null&&(En===null?En=o:En.push.apply(En,o))}i=h}if(d=!1,i!==zl)continue;o=Kt()}}if(i===Vu){xa(t),Mm(Wt,o,t,_t),xl(t,o),bs(e,0),wr(e,t,0,!0);break}e:{switch(n=e,i){case Ko:case Vu:throw Error("Root did not complete. This is a bug in React.");case Hr:if((t&4194048)!==t)break;case sf:xa(t),ev(Wt,o,t,_t),xl(t,o),l=t,(l&127)!==0?Gd=o:(l&4194048)!==0&&(Id=o),wr(n,t,kn,!Lr);break e;case zl:En=null;break;case lf:case fS:break;default:throw Error("Unknown root exit status.")}if(G.actQueue!==null)Wh(n,l,t,En,qu,df,kn,Br,Ul,i,null,null,Wt,o);else{if((t&62914560)===t&&(d=ff+pS-Kt(),10<d)){if(wr(n,t,kn,!Lr),Dn(n,0,!0)!==0)break e;Oa=t,n.timeoutHandle=zS(tx.bind(null,n,l,En,qu,df,t,kn,Br,Ul,Lr,i,"Throttled",Wt,o),d);break e}tx(n,l,En,qu,df,t,kn,Br,Ul,Lr,i,null,Wt,o)}}}break}while(!0);Wa(e)}function tx(e,t,n,o,l,i,d,h,y,w,k,H,_,Y){e.timeoutHandle=Pl;var de=t.subtreeFlags,ye=null;if((de&8192||(de&16785408)===16785408)&&(ye={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ao},I0(t,i,ye),de=(i&62914560)===i?ff-Kt():(i&4194048)===i?hS-Kt():0,de=fO(ye,de),de!==null)){Oa=i,e.cancelPendingCommit=de(Wh.bind(null,e,t,i,n,o,l,d,h,y,k,ye,ye.waitingForViewTransition?"Waiting for the previous Animation":0<ye.count?0<ye.imgCount?"Suspended on CSS and Images":"Suspended on CSS":ye.imgCount===1?"Suspended on an Image":0<ye.imgCount?"Suspended on Images":null,_,Y)),wr(e,i,d,!w);return}Wh(e,t,i,n,o,l,d,h,y,k,ye,H,_,Y)}function CD(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var o=0;o<n.length;o++){var l=n[o],i=l.getSnapshot;l=l.value;try{if(!xn(i(),l))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function wr(e,t,n,o){t&=~Mb,t&=~Br,e.suspendedLanes|=t,e.pingedLanes&=~t,o&&(e.warmLanes|=t),o=e.expirationTimes;for(var l=t;0<l;){var i=31-gn(l),d=1<<i;o[i]=-1,l&=~d}n!==0&&ea(e,n,t)}function ps(){return(tt&(Ft|Zn))===tn?(Xi(0),!1):!0}function Jh(){if(Pe!==null){if(ut===zn)var e=Pe.return;else e=Pe,Mc(),ih(e),Ps=null,Ru=0,e=Pe;for(;e!==null;)T0(e.alternate,e),e=e.return;Pe=null}}function xl(e,t){(e&127)!==0&&(Cl=t),(e&4194048)!==0&&(Go=t),(e&62914560)!==0&&(bw=t),(e&2080374784)!==0&&(gw=t)}function bs(e,t){bt&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",Je,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",Je,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",Je,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",Je,"primary-light"));var n=Wt;if(Wt=qt(),Be!==0&&0<n){if(xa(Be),Et===lf||Et===Hr)ev(n,Wt,t,_t);else{var o=Wt,l=_t;if(bt&&!(o<=n)){var i=(t&738197653)===t?"tertiary-dark":"primary-dark",d=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";l?l.run(console.timeStamp.bind(console,d,n,o,et,Je,i)):console.timeStamp(d,n,o,et,Je,i)}}xl(Be,Wt)}if(n=_t,_t=null,(t&127)!==0){_t=gu,l=0<=uo&&uo<Cl?Cl:uo,o=0<=Tl&&Tl<Cl?Cl:Tl,i=0<=o?o:0<=l?l:Wt,0<=Gd?(xa(2),tv(Gd,i,t,n)):Xd&127,n=l;var h=o,y=yu,w=0<Ls,k=zr===bu,H=zr===$d;if(l=Wt,o=gu,i=db,d=fb,bt){if(et="Blocking",0<n?n>l&&(n=l):n=l,0<h?h>n&&(h=n):h=n,y!==null&&n>h){var _=w?"secondary-light":"warning";o?o.run(console.timeStamp.bind(console,w?"Consecutive":"Event: "+y,h,n,et,Je,_)):console.timeStamp(w?"Consecutive":"Event: "+y,h,n,et,Je,_)}l>n&&(h=k?"error":(t&738197653)===t?"tertiary-light":"primary-light",k=H?"Promise Resolved":k?"Cascading Update":5<l-n?"Update Blocked":"Update",H=[],d!=null&&H.push(["Component name",d]),i!=null&&H.push(["Method name",i]),n={start:n,end:l,detail:{devtools:{properties:H,track:et,trackGroup:Je,color:h}}},o?o.run(performance.measure.bind(performance,k,n)):performance.measure(k,n))}uo=-1.1,zr=0,fb=db=null,Gd=-1.1,Ls=Tl,Tl=-1.1,Cl=qt()}if((t&4194048)!==0&&(_t=vu,l=0<=Io&&Io<Go?Go:Io,n=0<=ca&&ca<Go?Go:ca,o=0<=kr&&kr<Go?Go:kr,i=0<=o?o:0<=n?n:Wt,0<=Id?(xa(256),tv(Id,i,t,_t)):Xd&4194048,H=o,h=Dl,y=0<Vr,w=mb===$d,i=Wt,o=vu,d=hw,k=pw,bt&&(et="Transition",0<n?n>i&&(n=i):n=i,0<l?l>n&&(l=n):l=n,0<H?H>l&&(H=l):H=l,l>H&&h!==null&&(_=y?"secondary-light":"warning",o?o.run(console.timeStamp.bind(console,y?"Consecutive":"Event: "+h,H,l,et,Je,_)):console.timeStamp(y?"Consecutive":"Event: "+h,H,l,et,Je,_)),n>l&&(o?o.run(console.timeStamp.bind(console,"Action",l,n,et,Je,"primary-dark")):console.timeStamp("Action",l,n,et,Je,"primary-dark")),i>n&&(l=w?"Promise Resolved":5<i-n?"Update Blocked":"Update",H=[],k!=null&&H.push(["Component name",k]),d!=null&&H.push(["Method name",d]),n={start:n,end:i,detail:{devtools:{properties:H,track:et,trackGroup:Je,color:"primary-light"}}},o?o.run(performance.measure.bind(performance,l,n)):performance.measure(l,n))),ca=Io=-1.1,mb=0,Id=-1.1,Vr=kr,kr=-1.1,Go=qt()),(t&62914560)!==0&&(Xd&62914560)!==0&&(xa(4194304),zm(bw,Wt)),(t&2080374784)!==0&&(Xd&2080374784)!==0&&(xa(268435456),zm(gw,Wt)),n=e.timeoutHandle,n!==Pl&&(e.timeoutHandle=Pl,lA(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Oa=0,Jh(),mt=e,Pe=n=_o(e.current,null),Be=t,ut=zn,Jn=null,Lr=!1,Js=ka(e,t),jb=!1,Et=Ko,Ul=kn=Mb=Br=qr=0,En=Lu=null,df=!1,(t&8)!==0&&(t|=t&32),o=e.entangledLanes,o!==0)for(e=e.entanglements,o&=t;0<o;)l=31-gn(o),i=1<<l,t|=e[l],o&=~i;return fo=t,Oc(),e=iw(),1e3<e-sw&&(G.recentlyCreatedOwnerStacks=0,sw=e),Ca.discardPendingWarnings(),n}function nx(e,t){ke=null,G.H=Mu,G.getCurrentStack=null,ao=!1,Gn=null,t===Bs||t===Kd?(t=Nv(),ut=Uu):t===gb?(t=Nv(),ut=mS):ut=t===Db?_b:t!==null&&typeof t=="object"&&typeof t.then=="function"?Hu:uf,Jn=t;var n=Pe;n===null?(Et=Vu,od(e,Ln(t,e.current))):n.mode&Le&&Fm(n)}function ax(){var e=Xn.current;return e===null?!0:(Be&4194048)===Be?da===null:(Be&62914560)===Be||(Be&536870912)!==0?e===da:!1}function ox(){var e=G.H;return G.H=Mu,e===null?Mu:e}function rx(){var e=G.A;return G.A=GR,e}function fd(e){_t===null&&(_t=e._debugTask==null?null:e._debugTask)}function md(){Et=Hr,Lr||(Be&4194048)!==Be&&Xn.current!==null||(Js=!0),(qr&134217727)===0&&(Br&134217727)===0||mt===null||wr(mt,Be,kn,!1)}function Kh(e,t,n){var o=tt;tt|=Ft;var l=ox(),i=rx();if(mt!==e||Be!==t){if(ro){var d=e.memoizedUpdaters;0<d.size&&(Ii(e,Be),d.clear()),To(e,t)}qu=null,bs(e,t)}t=!1,d=Et;e:do try{if(ut!==zn&&Pe!==null){var h=Pe,y=Jn;switch(ut){case _b:Jh(),d=sf;break e;case Uu:case kl:case Vl:case Hu:Xn.current===null&&(t=!0);var w=ut;if(ut=zn,Jn=null,gs(e,h,y,w),n&&Js){d=Ko;break e}break;default:w=ut,ut=zn,Jn=null,gs(e,h,y,w)}}lx(),d=Et;break}catch(k){nx(e,k)}while(!0);return t&&e.shellSuspendCounter++,Mc(),tt=o,G.H=l,G.A=i,Pe===null&&(mt=null,Be=0,Oc()),d}function lx(){for(;Pe!==null;)sx(Pe)}function TD(e,t){var n=tt;tt|=Ft;var o=ox(),l=rx();if(mt!==e||Be!==t){if(ro){var i=e.memoizedUpdaters;0<i.size&&(Ii(e,Be),i.clear()),To(e,t)}qu=null,mf=Kt()+bS,bs(e,t)}else Js=ka(e,t);e:do try{if(ut!==zn&&Pe!==null)t:switch(t=Pe,i=Jn,ut){case uf:ut=zn,Jn=null,gs(e,t,i,uf);break;case kl:case Vl:if(wv(i)){ut=zn,Jn=null,ix(t);break}t=function(){ut!==kl&&ut!==Vl||mt!==e||(ut=cf),Wa(e)},i.then(t,t);break e;case Uu:ut=cf;break e;case mS:ut=Ab;break e;case cf:wv(i)?(ut=zn,Jn=null,ix(t)):(ut=zn,Jn=null,gs(e,t,i,cf));break;case Ab:var d=null;switch(Pe.tag){case 26:d=Pe.memoizedState;case 5:case 27:var h=Pe;if(d?e1(d):h.stateNode.complete){ut=zn,Jn=null;var y=h.sibling;if(y!==null)Pe=y;else{var w=h.return;w!==null?(Pe=w,hd(w)):Pe=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}ut=zn,Jn=null,gs(e,t,i,Ab);break;case Hu:ut=zn,Jn=null,gs(e,t,i,Hu);break;case _b:Jh(),Et=sf;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}G.actQueue!==null?lx():DD();break}catch(k){nx(e,k)}while(!0);return Mc(),G.H=o,G.A=l,tt=n,Pe!==null?Ko:(mt=null,Be=0,Oc(),Et)}function DD(){for(;Pe!==null&&!TO();)sx(Pe)}function sx(e){var t=e.alternate;(e.mode&Le)!==Me?(Xm(e),t=be(e,Ph,t,e,fo),Fm(e)):t=be(e,Ph,t,e,fo),e.memoizedProps=e.pendingProps,t===null?hd(e):Pe=t}function ix(e){var t=be(e,OD,e);e.memoizedProps=e.pendingProps,t===null?hd(e):Pe=t}function OD(e){var t=e.alternate,n=(e.mode&Le)!==Me;switch(n&&Xm(e),e.tag){case 15:case 0:t=v0(t,e,e.pendingProps,e.type,void 0,Be);break;case 11:t=v0(t,e,e.pendingProps,e.type.render,e.ref,Be);break;case 5:ih(e);default:T0(t,e),e=Pe=sv(e,fo),t=Ph(t,e,fo)}return n&&Fm(e),t}function gs(e,t,n,o){Mc(),ih(t),Ps=null,Ru=0;var l=t.return;try{if(fD(e,l,t,n,Be)){Et=Vu,od(e,Ln(n,e.current)),Pe=null;return}}catch(i){if(l!==null)throw Pe=l,i;Et=Vu,od(e,Ln(n,e.current)),Pe=null;return}t.flags&32768?(Xe||o===uf?e=!0:Js||(Be&536870912)!==0?e=!1:(Lr=e=!0,(o===kl||o===Vl||o===Uu||o===Hu)&&(o=Xn.current,o!==null&&o.tag===13&&(o.flags|=16384))),ux(t,e)):hd(t)}function hd(e){var t=e;do{if((t.flags&32768)!==0){ux(t,Lr);return}var n=t.alternate;if(e=t.return,Xm(t),n=be(t,pD,n,t,fo),(t.mode&Le)!==Me&&bv(t),n!==null){Pe=n;return}if(t=t.sibling,t!==null){Pe=t;return}Pe=t=e}while(t!==null);Et===Ko&&(Et=fS)}function ux(e,t){do{var n=bD(e.alternate,e);if(n!==null){n.flags&=32767,Pe=n;return}if((e.mode&Le)!==Me){bv(e),n=e.actualDuration;for(var o=e.child;o!==null;)n+=o.actualDuration,o=o.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Pe=e;return}Pe=e=n}while(e!==null);Et=sf,Pe=null}function Wh(e,t,n,o,l,i,d,h,y,w,k,H,_,Y){e.cancelPendingCommit=null;do Gi();while($t!==Qr);if(Ca.flushLegacyContextWarning(),Ca.flushPendingUnsafeLifecycleWarnings(),(tt&(Ft|Zn))!==tn)throw Error("Should not already be working.");if(xa(n),w===zl?Mm(_,Y,n,_t):o!==null?WT(_,Y,n,o,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,_t):KT(_,Y,n,_t),t!==null){if(n===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(i=t.lanes|t.childLanes,i|=lb,cr(e,n,i,d,h,y),e===mt&&(Pe=mt=null,Be=0),Ks=t,Yr=e,Oa=n,Vb=i,Hb=l,SS=o,Ub=Y,NS=H,Ra=hf,ES=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,MD(Ns,function(){return Gu=window.event,Ra===hf&&(Ra=kb),hx(),null})):(e.callbackNode=null,e.callbackPriority=0),$o=null,Mr=qt(),H!==null&&eD(Y,Mr,H,_t),o=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||o){o=G.T,G.T=null,l=rt.p,rt.p=aa,d=tt,tt|=Zn;try{SD(e,t,n)}finally{tt=d,rt.p=l,G.T=o}}$t=yS,cx(),dx(),fx()}}function cx(){if($t===yS){$t=Qr;var e=Yr,t=Ks,n=Oa,o=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||o){o=G.T,G.T=null;var l=rt.p;rt.p=aa;var i=tt;tt|=Zn;try{Fs=n,Zs=e,Uc(),B0(t,e),Zs=Fs=null,n=Fb;var d=Jy(e.containerInfo),h=n.focusedElem,y=n.selectionRange;if(d!==h&&h&&h.ownerDocument&&Zy(h.ownerDocument.documentElement,h)){if(y!==null&&Am(h)){var w=y.start,k=y.end;if(k===void 0&&(k=w),"selectionStart"in h)h.selectionStart=w,h.selectionEnd=Math.min(k,h.value.length);else{var H=h.ownerDocument||document,_=H&&H.defaultView||window;if(_.getSelection){var Y=_.getSelection(),de=h.textContent.length,ye=Math.min(y.start,de),pt=y.end===void 0?ye:Math.min(y.end,de);!Y.extend&&ye>pt&&(d=pt,pt=ye,ye=d);var Ke=Fy(h,ye),R=Fy(h,pt);if(Ke&&R&&(Y.rangeCount!==1||Y.anchorNode!==Ke.node||Y.anchorOffset!==Ke.offset||Y.focusNode!==R.node||Y.focusOffset!==R.offset)){var M=H.createRange();M.setStart(Ke.node,Ke.offset),Y.removeAllRanges(),ye>pt?(Y.addRange(M),Y.extend(R.node,R.offset)):(M.setEnd(R.node,R.offset),Y.addRange(M))}}}}for(H=[],Y=h;Y=Y.parentNode;)Y.nodeType===1&&H.push({element:Y,left:Y.scrollLeft,top:Y.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h<H.length;h++){var z=H[h];z.element.scrollLeft=z.left,z.element.scrollTop=z.top}}Af=!!Xb,Fb=Xb=null}finally{tt=i,rt.p=l,G.T=o}}e.current=t,$t=vS}}function dx(){if($t===vS){$t=Qr;var e=ES;if(e!==null){Mr=qt();var t=Yo,n=Mr;!bt||n<=t||console.timeStamp(e,t,n,et,Je,"secondary-light")}e=Yr,t=Ks,n=Oa;var o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=G.T,G.T=null;var l=rt.p;rt.p=aa;var i=tt;tt|=Zn;try{Fs=n,Zs=e,Uc(),V0(e,t.alternate,t),Zs=Fs=null}finally{tt=i,rt.p=l,G.T=o}}e=Ub,t=NS,Yo=qt(),e=t===null?e:Mr,t=Yo,n=Ra===zb,o=_t,$o!==null?nv(e,t,$o,!1,o):!bt||t<=e||(o?o.run(console.timeStamp.bind(console,n?"Commit Interrupted View Transition":"Commit",e,t,et,Je,n?"error":"secondary-dark")):console.timeStamp(n?"Commit Interrupted View Transition":"Commit",e,t,et,Je,n?"error":"secondary-dark")),$t=xS}}function fx(){if($t===wS||$t===xS){if($t===wS){var e=Yo;Yo=qt();var t=Yo,n=Ra===zb;!bt||t<=e||console.timeStamp(n?"Interrupted View Transition":"Starting Animation",e,t,et,Je,n?" error":"secondary-light"),Ra!==zb&&(Ra=gS)}$t=Qr,DO(),e=Yr;var o=Ks;t=Oa,n=SS;var l=o.actualDuration!==0||(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0;l?$t=pf:($t=Qr,Ks=Yr=null,mx(e,e.pendingLanes),Hl=0,Pu=null);var i=e.pendingLanes;if(i===0&&(Pr=null),l||yx(e),i=Do(t),o=o.stateNode,dn&&typeof dn.onCommitFiberRoot=="function")try{var d=(o.current.flags&128)===128;switch(i){case aa:var h=Hp;break;case lo:h=Lp;break;case Lo:h=Ns;break;case jd:h=qp;break;default:h=Ns}dn.onCommitFiberRoot(Es,o,h,d)}catch(H){oo||(oo=!0,console.error("React instrumentation encountered an error: %o",H))}if(ro&&e.memoizedUpdaters.clear(),ED(),n!==null){d=G.T,h=rt.p,rt.p=aa,G.T=null;try{var y=e.onRecoverableError;for(o=0;o<n.length;o++){var w=n[o],k=RD(w.stack);be(w.source,y,w.value,k)}}finally{G.T=d,rt.p=h}}(Oa&3)!==0&&Gi(),Wa(e),i=e.pendingLanes,(t&261930)!==0&&(i&42)!==0?(Zd=!0,e===Lb?Bu++:(Bu=0,Lb=e)):Bu=0,l||xl(t,Yo),Xi(0)}}function RD(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function mx(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ai(t)))}function Gi(){return cx(),dx(),fx(),hx()}function hx(){if($t!==pf)return!1;var e=Yr,t=Vb;Vb=0;var n=Do(Oa),o=Lo>n?Lo:n;n=G.T;var l=rt.p;try{rt.p=o,G.T=null;var i=Hb;Hb=null,o=Yr;var d=Oa;if($t=Qr,Ks=Yr=null,Oa=0,(tt&(Ft|Zn))!==tn)throw Error("Cannot flush passive effects while already rendering.");xa(d),qb=!0,bf=!1;var h=0;if($o=null,h=Kt(),Ra===gS)zm(Yo,h,LR);else{var y=Yo,w=h,k=Ra===kb;!bt||w<=y||(_t?_t.run(console.timeStamp.bind(console,k?"Waiting for Paint":"Waiting",y,w,et,Je,"secondary-light")):console.timeStamp(k?"Waiting for Paint":"Waiting",y,w,et,Je,"secondary-light"))}y=tt,tt|=Zn;var H=o.current;Uc(),F0(H);var _=o.current;H=Ub,Uc(),$0(o,_,d,i,H),yx(o),tt=y;var Y=Kt();if(_=h,H=_t,$o!==null?nv(_,Y,$o,!0,H):!bt||Y<=_||(H?H.run(console.timeStamp.bind(console,"Remaining Effects",_,Y,et,Je,"secondary-dark")):console.timeStamp("Remaining Effects",_,Y,et,Je,"secondary-dark")),xl(d,Y),Xi(0,!1),bf?o===Pu?Hl++:(Hl=0,Pu=o):Hl=0,bf=qb=!1,dn&&typeof dn.onPostCommitFiberRoot=="function")try{dn.onPostCommitFiberRoot(Es,o)}catch(ye){oo||(oo=!0,console.error("React instrumentation encountered an error: %o",ye))}var de=o.current.stateNode;return de.effectDuration=0,de.passiveEffectDuration=0,!0}finally{rt.p=l,G.T=n,mx(e,t)}}function px(e,t,n){t=Ln(n,t),gv(t),t=_h(e.stateNode,t,2),e=gr(e,t,2),e!==null&&(ya(e,2),Wa(e))}function ot(e,t,n){if(Ws=!1,e.tag===3)px(e,e,n);else{for(;t!==null;){if(t.tag===3){px(t,e,n);return}if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Pr===null||!Pr.has(o))){e=Ln(n,e),gv(e),n=jh(2),o=gr(t,n,2),o!==null&&(Mh(n,o,t,e),ya(o,2),Wa(o));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
212
+
213
+ Error message:
214
+
215
+ %s`,n)}}function ep(e,t,n){var o=e.pingCache;if(o===null){o=e.pingCache=new XR;var l=new Set;o.set(t,l)}else l=o.get(t),l===void 0&&(l=new Set,o.set(t,l));l.has(n)||(jb=!0,l.add(n),o=AD.bind(null,e,t,n),ro&&Ii(e,n),t.then(o,o))}function AD(e,t,n){var o=e.pingCache;o!==null&&o.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,(n&127)!==0?0>uo&&(Cl=uo=qt(),gu=Yd("Promise Resolved"),zr=$d):(n&4194048)!==0&&0>ca&&(Go=ca=qt(),vu=Yd("Promise Resolved"),mb=$d),K0()&&G.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
216
+
217
+ When testing, code that resolves suspended data should be wrapped into act(...):
218
+
219
+ act(() => {
220
+ /* finish loading suspended data */
221
+ });
222
+ /* assert on the output */
223
+
224
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),mt===e&&(Be&n)===n&&(Et===Hr||Et===lf&&(Be&62914560)===Be&&Kt()-ff<pS?(tt&Ft)===tn&&bs(e,0):Mb|=n,Ul===Be&&(Ul=0)),Wa(e)}function bx(e,t){t===0&&(t=Va()),e=cn(e,t),e!==null&&(ya(e,t),Wa(e))}function _D(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),bx(e,n)}function jD(e,t){var n=0;switch(e.tag){case 31:case 13:var o=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}o!==null&&o.delete(t),bx(e,n)}function tp(e,t,n){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var o=e,l=t,i=l.type===Td;i=n||i,l.tag!==22?l.flags&67108864?i&&be(l,gx,o,l):tp(o,l,i):l.memoizedState===null&&(i&&l.flags&8192?be(l,gx,o,l):l.subtreeFlags&67108864&&be(l,tp,o,l,i)),t=t.sibling}}function gx(e,t){Ne(!0);try{Q0(t),Z0(t),Y0(e,t.alternate,t,!1),G0(e,t,0,null,!1,0)}finally{Ne(!1)}}function yx(e){var t=!0;e.current.mode&(fn|Ea)||(t=!1),tp(e,e.current,t)}function vx(e){if((tt&Ft)===tn){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=I(e)||"ReactComponent",gf!==null){if(gf.has(t))return;gf.add(t)}else gf=new Set([t]);be(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function Ii(e,t){ro&&e.memoizedUpdaters.forEach(function(n){Co(e,n,t)})}function MD(e,t){var n=G.actQueue;return n!==null?(n.push(t),JR):Up(e,t)}function zD(e){K0()&&G.actQueue===null&&be(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
225
+
226
+ When testing, code that causes React state updates should be wrapped into act(...):
227
+
228
+ act(() => {
229
+ /* fire events that update state */
230
+ });
231
+ /* assert on the output */
232
+
233
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,I(e))})}function Wa(e){e!==ei&&e.next===null&&(ei===null?yf=ei=e:ei=ei.next=e),vf=!0,G.actQueue!==null?Pb||(Pb=!0,Nx()):Bb||(Bb=!0,Nx())}function Xi(e,t){if(!Qb&&vf){Qb=!0;do for(var n=!1,o=yf;o!==null;){if(e!==0){var l=o.pendingLanes;if(l===0)var i=0;else{var d=o.suspendedLanes,h=o.pingedLanes;i=(1<<31-gn(42|e)+1)-1,i&=l&~(d&~h),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(n=!0,Sx(o,i))}else i=Be,i=Dn(o,o===mt?i:0,o.cancelPendingCommit!==null||o.timeoutHandle!==Pl),(i&3)===0||ka(o,i)||(n=!0,Sx(o,i));o=o.next}while(n);Qb=!1}}function kD(){Gu=window.event,np()}function np(){vf=Pb=Bb=!1;var e=0;$r!==0&&PD()&&(e=$r);for(var t=Kt(),n=null,o=yf;o!==null;){var l=o.next,i=xx(o,t);i===0?(o.next=null,n===null?yf=l:n.next=l,l===null&&(ei=n)):(n=o,(e!==0||(i&3)!==0)&&(vf=!0)),o=l}$t!==Qr&&$t!==pf||Xi(e),$r!==0&&($r=0)}function xx(e,t){for(var n=e.suspendedLanes,o=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var d=31-gn(i),h=1<<d,y=l[d];y===-1?((h&n)===0||(h&o)!==0)&&(l[d]=ns(h,t)):y<=t&&(e.expiredLanes|=h),i&=~h}if(t=mt,n=Be,n=Dn(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Pl),o=e.callbackNode,n===0||e===t&&(ut===kl||ut===Vl)||e.cancelPendingCommit!==null)return o!==null&&ap(o),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||ka(e,n)){if(t=n&-n,t!==e.callbackPriority||G.actQueue!==null&&o!==Yb)ap(o);else return t;switch(Do(n)){case aa:case lo:n=Lp;break;case Lo:n=Ns;break;case jd:n=qp;break;default:n=Ns}return o=wx.bind(null,e),G.actQueue!==null?(G.actQueue.push(o),n=Yb):n=Up(n,o),e.callbackPriority=t,e.callbackNode=n,t}return o!==null&&ap(o),e.callbackPriority=2,e.callbackNode=null,2}function wx(e,t){if(Zd=Fd=!1,Gu=window.event,$t!==Qr&&$t!==pf)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Ra===hf&&(Ra=kb),Gi()&&e.callbackNode!==n)return null;var o=Be;return o=Dn(e,e===mt?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Pl),o===0?null:(ex(e,o,t),xx(e,Kt()),e.callbackNode!=null&&e.callbackNode===n?wx.bind(null,e):null)}function Sx(e,t){if(Gi())return null;Fd=Zd,Zd=!1,ex(e,t,!0)}function ap(e){e!==Yb&&e!==null&&CO(e)}function Nx(){G.actQueue!==null&&G.actQueue.push(function(){return np(),null}),sA(function(){(tt&(Ft|Zn))!==tn?Up(Hp,kD):np()})}function op(){if($r===0){var e=Ol;e===0&&(e=Rd,Rd<<=1,(Rd&261888)===0&&(Rd=256)),$r=e}return $r}function Ex(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(nt(e,"action"),Ti(""+e))}function Cx(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function VD(e,t,n,o,l){if(t==="submit"&&n&&n.stateNode===l){var i=Ex((l[yn]||null).action),d=o.submitter;d&&(t=(t=d[yn]||null)?Ex(t.formAction):d.getAttribute("formAction"),t!==null&&(i=t,d=null));var h=new Ud("action","action",null,o,l);e.push({event:h,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if($r!==0){var y=d?Cx(l,d):new FormData(l),w={pending:!0,data:y,method:l.method,action:i};Object.freeze(w),Eh(n,w,null,y)}}else typeof i=="function"&&(h.preventDefault(),y=d?Cx(l,d):new FormData(l),w={pending:!0,data:y,method:l.method,action:i},Object.freeze(w),Eh(n,w,i,y))},currentTarget:l}]})}}function pd(e,t,n){e.currentTarget=n;try{t(e)}catch(o){nb(o)}e.currentTarget=null}function Tx(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var o=e[n];e:{var l=void 0,i=o.event;if(o=o.listeners,t)for(var d=o.length-1;0<=d;d--){var h=o[d],y=h.instance,w=h.currentTarget;if(h=h.listener,y!==l&&i.isPropagationStopped())break e;y!==null?be(y,pd,i,h,w):pd(i,h,w),l=y}else for(d=0;d<o.length;d++){if(h=o[d],y=h.instance,w=h.currentTarget,h=h.listener,y!==l&&i.isPropagationStopped())break e;y!==null?be(y,pd,i,h,w):pd(i,h,w),l=y}}}}function Ze(e,t){$b.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[Bp];n===void 0&&(n=t[Bp]=new Set);var o=e+"__bubble";n.has(o)||(Dx(t,e,2,!1),n.add(o))}function rp(e,t,n){$b.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var o=0;t&&(o|=4),Dx(n,e,o,t)}function lp(e){if(!e[xf]){e[xf]=!0,N1.forEach(function(n){n!=="selectionchange"&&($b.has(n)||rp(n,!1,e),rp(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[xf]||(t[xf]=!0,rp("selectionchange",!1,t))}}function Dx(e,t,n,o){switch(l1(t)){case aa:var l=bO;break;case lo:l=gO;break;default:l=Sp}n=l.bind(null,t,n,e),l=void 0,!Gp||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),o?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function sp(e,t,n,o,l){var i=o;if((t&1)===0&&(t&2)===0&&o!==null)e:for(;;){if(o===null)return;var d=o.tag;if(d===3||d===4){var h=o.stateNode.containerInfo;if(h===l)break;if(d===4)for(d=o.return;d!==null;){var y=d.tag;if((y===3||y===4)&&d.stateNode.containerInfo===l)return;d=d.return}for(;h!==null;){if(d=re(h),d===null)return;if(y=d.tag,y===5||y===6||y===26||y===27){o=i=d;continue e}h=h.parentNode}}o=o.return}Hy(function(){var w=i,k=Om(n),H=[];e:{var _=lw.get(e);if(_!==void 0){var Y=Ud,de=e;switch(e){case"keypress":if(Nc(n)===0)break e;case"keydown":case"keyup":Y=fR;break;case"focusin":de="focus",Y=Zp;break;case"focusout":de="blur",Y=Zp;break;case"beforeblur":case"afterblur":Y=Zp;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Y=G1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Y=eR;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Y=pR;break;case nw:case aw:case ow:Y=aR;break;case rw:Y=gR;break;case"scroll":case"scrollend":Y=KO;break;case"wheel":Y=vR;break;case"copy":case"cut":case"paste":Y=rR;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Y=X1;break;case"toggle":case"beforetoggle":Y=wR}var ye=(t&4)!==0,pt=!ye&&(e==="scroll"||e==="scrollend"),Ke=ye?_!==null?_+"Capture":null:_;ye=[];for(var R=w,M;R!==null;){var z=R;if(M=z.stateNode,z=z.tag,z!==5&&z!==26&&z!==27||M===null||Ke===null||(z=Di(R,Ke),z!=null&&ye.push(Fi(R,z,M))),pt)break;R=R.return}0<ye.length&&(_=new Y(_,de,null,n,k),H.push({event:_,listeners:ye}))}}if((t&7)===0){e:{if(_=e==="mouseover"||e==="pointerover",Y=e==="mouseout"||e==="pointerout",_&&n!==lu&&(de=n.relatedTarget||n.fromElement)&&(re(de)||de[Dr]))break e;if((Y||_)&&(_=k.window===k?k:(_=k.ownerDocument)?_.defaultView||_.parentWindow:window,Y?(de=n.relatedTarget||n.toElement,Y=w,de=de?re(de):null,de!==null&&(pt=j(de),ye=de.tag,de!==pt||ye!==5&&ye!==27&&ye!==6)&&(de=null)):(Y=null,de=w),Y!==de)){if(ye=G1,z="onMouseLeave",Ke="onMouseEnter",R="mouse",(e==="pointerout"||e==="pointerover")&&(ye=X1,z="onPointerLeave",Ke="onPointerEnter",R="pointer"),pt=Y==null?_:Ee(Y),M=de==null?_:Ee(de),_=new ye(z,R+"leave",Y,n,k),_.target=pt,_.relatedTarget=M,z=null,re(k)===w&&(ye=new ye(Ke,R+"enter",de,n,k),ye.target=M,ye.relatedTarget=pt,z=ye),pt=z,Y&&de)t:{for(ye=UD,Ke=Y,R=de,M=0,z=Ke;z;z=ye(z))M++;z=0;for(var J=R;J;J=ye(J))z++;for(;0<M-z;)Ke=ye(Ke),M--;for(;0<z-M;)R=ye(R),z--;for(;M--;){if(Ke===R||R!==null&&Ke===R.alternate){ye=Ke;break t}Ke=ye(Ke),R=ye(R)}ye=null}else ye=null;Y!==null&&Ox(H,_,Y,ye,!1),de!==null&&pt!==null&&Ox(H,pt,de,ye,!0)}}e:{if(_=w?Ee(w):window,Y=_.nodeName&&_.nodeName.toLowerCase(),Y==="select"||Y==="input"&&_.type==="file")var ge=$y;else if(Qy(_))if(ew)ge=FT;else{ge=IT;var Ve=GT}else Y=_.nodeName,!Y||Y.toLowerCase()!=="input"||_.type!=="checkbox"&&_.type!=="radio"?w&&Ci(w.elementType)&&(ge=$y):ge=XT;if(ge&&(ge=ge(e,w))){Yy(H,ge,n,k);break e}Ve&&Ve(e,_,w),e==="focusout"&&w&&_.type==="number"&&w.memoizedProps.value!=null&&Sm(_,"number",_.value)}switch(Ve=w?Ee(w):window,e){case"focusin":(Qy(Ve)||Ve.contentEditable==="true")&&(_s=Ve,Kp=w,mu=null);break;case"focusout":mu=Kp=_s=null;break;case"mousedown":Wp=!0;break;case"contextmenu":case"mouseup":case"dragend":Wp=!1,Ky(H,n,k);break;case"selectionchange":if(CR)break;case"keydown":case"keyup":Ky(H,n,k)}var Re;if(Jp)e:{switch(e){case"compositionstart":var De="onCompositionStart";break e;case"compositionend":De="onCompositionEnd";break e;case"compositionupdate":De="onCompositionUpdate";break e}De=void 0}else As?By(e,n)&&(De="onCompositionEnd"):e==="keydown"&&n.keyCode===F1&&(De="onCompositionStart");De&&(Z1&&n.locale!=="ko"&&(As||De!=="onCompositionStart"?De==="onCompositionEnd"&&As&&(Re=Ly()):(Or=k,Ip="value"in Or?Or.value:Or.textContent,As=!0)),Ve=bd(w,De),0<Ve.length&&(De=new I1(De,e,null,n,k),H.push({event:De,listeners:Ve}),Re?De.data=Re:(Re=Py(n),Re!==null&&(De.data=Re)))),(Re=NR?PT(e,n):QT(e,n))&&(De=bd(w,"onBeforeInput"),0<De.length&&(Ve=new sR("onBeforeInput","beforeinput",null,n,k),H.push({event:Ve,listeners:De}),Ve.data=Re)),VD(H,e,w,n,k)}Tx(H,t)})}function Fi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function bd(e,t){for(var n=t+"Capture",o=[];e!==null;){var l=e,i=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||i===null||(l=Di(e,n),l!=null&&o.unshift(Fi(e,l,i)),l=Di(e,t),l!=null&&o.push(Fi(e,l,i))),e.tag===3)return o;e=e.return}return[]}function UD(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Ox(e,t,n,o,l){for(var i=t._reactName,d=[];n!==null&&n!==o;){var h=n,y=h.alternate,w=h.stateNode;if(h=h.tag,y!==null&&y===o)break;h!==5&&h!==26&&h!==27||w===null||(y=w,l?(w=Di(n,i),w!=null&&d.unshift(Fi(n,w,y))):l||(w=Di(n,i),w!=null&&d.push(Fi(n,w,y)))),n=n.return}d.length!==0&&e.push({event:t,listeners:d})}function ip(e,t){HT(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||Y1||(Y1=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:wl,possibleRegistrationNames:Pp};Ci(e)||typeof t.is=="string"||qT(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function Jt(e,t,n,o){t!==n&&(n=Sr(n),Sr(t)!==n&&(o[e]=t))}function HD(e,t,n){t.forEach(function(o){n[_x(o)]=o==="style"?cp(e):e.getAttribute(o)})}function eo(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function Rx(e,t){return e=e.namespaceURI===zd||e.namespaceURI===Ts?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Sr(e){return ga(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Tn(e)),za(e)),(typeof e=="string"?e:""+e).replace(KR,`
234
+ `).replace(WR,"")}function Ax(e,t){return t=Sr(t),Sr(e)===t}function dt(e,t,n,o,l,i){switch(n){case"children":typeof o=="string"?(Sc(o,t,!1),t==="body"||t==="textarea"&&o===""||Ei(e,o)):(typeof o=="number"||typeof o=="bigint")&&(Sc(""+o,t,!1),t!=="body"&&Ei(e,""+o));break;case"className":Oo(e,"class",o);break;case"tabIndex":Oo(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Oo(e,n,o);break;case"style":ky(e,o,i);break;case"data":if(t!=="object"){Oo(e,"data",o);break}case"src":case"href":if(o===""&&(t!=="a"||n!=="href")){console.error(n==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',n,n),e.removeAttribute(n);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(n);break}nt(o,n),o=Ti(""+o),e.setAttribute(n,o);break;case"action":case"formAction":if(o!=null&&(t==="form"?n==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof o=="function"&&(l.encType==null&&l.method==null||Nf||(Nf=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),l.target==null||Sf||(Sf=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?n==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||l.type==="submit"||l.type==="image"||wf?t!=="button"||l.type==null||l.type==="submit"||wf?typeof o=="function"&&(l.name==null||RS||(RS=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),l.formEncType==null&&l.formMethod==null||Nf||(Nf=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),l.formTarget==null||Sf||(Sf=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(wf=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(wf=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(n==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof o=="function"){e.setAttribute(n,"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 i=="function"&&(n==="formAction"?(t!=="input"&&dt(e,t,"name",l.name,l,null),dt(e,t,"formEncType",l.formEncType,l,null),dt(e,t,"formMethod",l.formMethod,l,null),dt(e,t,"formTarget",l.formTarget,l,null)):(dt(e,t,"encType",l.encType,l,null),dt(e,t,"method",l.method,l,null),dt(e,t,"target",l.target,l,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(n);break}nt(o,n),o=Ti(""+o),e.setAttribute(n,o);break;case"onClick":o!=null&&(typeof o!="function"&&eo(n,o),e.onclick=Ao);break;case"onScroll":o!=null&&(typeof o!="function"&&eo(n,o),Ze("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&eo(n,o),Ze("scrollend",e));break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=o.__html,n!=null){if(l.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}nt(o,n),n=Ti(""+o),e.setAttributeNS(Ll,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?(nt(o,n),e.setAttribute(n,""+o)):e.removeAttribute(n);break;case"inert":o!==""||Ef[n]||(Ef[n]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",n));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":o===!0?e.setAttribute(n,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?(nt(o,n),e.setAttribute(n,o)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?(nt(o,n),e.setAttribute(n,o)):e.removeAttribute(n);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(n):(nt(o,n),e.setAttribute(n,o));break;case"popover":Ze("beforetoggle",e),Ze("toggle",e),Gt(e,"popover",o);break;case"xlinkActuate":Mt(e,Ll,"xlink:actuate",o);break;case"xlinkArcrole":Mt(e,Ll,"xlink:arcrole",o);break;case"xlinkRole":Mt(e,Ll,"xlink:role",o);break;case"xlinkShow":Mt(e,Ll,"xlink:show",o);break;case"xlinkTitle":Mt(e,Ll,"xlink:title",o);break;case"xlinkType":Mt(e,Ll,"xlink:type",o);break;case"xmlBase":Mt(e,Gb,"xml:base",o);break;case"xmlLang":Mt(e,Gb,"xml:lang",o);break;case"xmlSpace":Mt(e,Gb,"xml:space",o);break;case"is":i!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Gt(e,"is",o);break;case"innerText":case"textContent":break;case"popoverTarget":AS||o==null||typeof o!="object"||(AS=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",o));default:!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"?(n=Vy(n),Gt(e,n,o)):wl.hasOwnProperty(n)&&o!=null&&typeof o!="function"&&eo(n,o)}}function up(e,t,n,o,l,i){switch(n){case"style":ky(e,o,i);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=o.__html,n!=null){if(l.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":typeof o=="string"?Ei(e,o):(typeof o=="number"||typeof o=="bigint")&&Ei(e,""+o);break;case"onScroll":o!=null&&(typeof o!="function"&&eo(n,o),Ze("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&eo(n,o),Ze("scrollend",e));break;case"onClick":o!=null&&(typeof o!="function"&&eo(n,o),e.onclick=Ao);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(wl.hasOwnProperty(n))o!=null&&typeof o!="function"&&eo(n,o);else e:{if(n[0]==="o"&&n[1]==="n"&&(l=n.endsWith("Capture"),t=n.slice(2,l?n.length-7:void 0),i=e[yn]||null,i=i!=null?i[n]:null,typeof i=="function"&&e.removeEventListener(t,i,l),typeof o=="function")){typeof i!="function"&&i!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,o,l);break e}n in e?e[n]=o:o===!0?e.setAttribute(n,""):Gt(e,n,o)}}}function rn(e,t,n){switch(ip(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ze("error",e),Ze("load",e);var o=!1,l=!1,i;for(i in n)if(n.hasOwnProperty(i)){var d=n[i];if(d!=null)switch(i){case"src":o=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:dt(e,t,i,d,n,null)}}l&&dt(e,t,"srcSet",n.srcSet,n,null),o&&dt(e,t,"src",n.src,n,null);return;case"input":ct("input",n),Ze("invalid",e);var h=i=d=l=null,y=null,w=null;for(o in n)if(n.hasOwnProperty(o)){var k=n[o];if(k!=null)switch(o){case"name":l=k;break;case"type":d=k;break;case"checked":y=k;break;case"defaultChecked":w=k;break;case"value":i=k;break;case"defaultValue":h=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:dt(e,t,o,k,n,null)}}vy(e,n),xy(e,i,h,y,w,d,l,!1);return;case"select":ct("select",n),Ze("invalid",e),o=d=i=null;for(l in n)if(n.hasOwnProperty(l)&&(h=n[l],h!=null))switch(l){case"value":i=h;break;case"defaultValue":d=h;break;case"multiple":o=h;default:dt(e,t,l,h,n,null)}Ny(e,n),t=i,n=d,e.multiple=!!o,t!=null?as(e,!!o,t,!1):n!=null&&as(e,!!o,n,!0);return;case"textarea":ct("textarea",n),Ze("invalid",e),i=l=o=null;for(d in n)if(n.hasOwnProperty(d)&&(h=n[d],h!=null))switch(d){case"value":o=h;break;case"defaultValue":l=h;break;case"children":i=h;break;case"dangerouslySetInnerHTML":if(h!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:dt(e,t,d,h,n,null)}Ey(e,n),Ty(e,o,l,i);return;case"option":wy(e,n);for(y in n)if(n.hasOwnProperty(y)&&(o=n[y],o!=null))switch(y){case"selected":e.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:dt(e,t,y,o,n,null)}return;case"dialog":Ze("beforetoggle",e),Ze("toggle",e),Ze("cancel",e),Ze("close",e);break;case"iframe":case"object":Ze("load",e);break;case"video":case"audio":for(o=0;o<Qu.length;o++)Ze(Qu[o],e);break;case"image":Ze("error",e),Ze("load",e);break;case"details":Ze("toggle",e);break;case"embed":case"source":case"link":Ze("error",e),Ze("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(w in n)if(n.hasOwnProperty(w)&&(o=n[w],o!=null))switch(w){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:dt(e,t,w,o,n,null)}return;default:if(Ci(t)){for(k in n)n.hasOwnProperty(k)&&(o=n[k],o!==void 0&&up(e,t,k,o,n,void 0));return}}for(h in n)n.hasOwnProperty(h)&&(o=n[h],o!=null&&dt(e,t,h,o,n,null))}function LD(e,t,n,o){switch(ip(t,o),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var l=null,i=null,d=null,h=null,y=null,w=null,k=null;for(Y in n){var H=n[Y];if(n.hasOwnProperty(Y)&&H!=null)switch(Y){case"checked":break;case"value":break;case"defaultValue":y=H;default:o.hasOwnProperty(Y)||dt(e,t,Y,null,o,H)}}for(var _ in o){var Y=o[_];if(H=n[_],o.hasOwnProperty(_)&&(Y!=null||H!=null))switch(_){case"type":i=Y;break;case"name":l=Y;break;case"checked":w=Y;break;case"defaultChecked":k=Y;break;case"value":d=Y;break;case"defaultValue":h=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Y!==H&&dt(e,t,_,Y,o,H)}}t=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,o=o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null,t||!o||OS||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),OS=!0),!t||o||DS||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),DS=!0),wm(e,d,h,y,w,k,i,l);return;case"select":Y=d=h=_=null;for(i in n)if(y=n[i],n.hasOwnProperty(i)&&y!=null)switch(i){case"value":break;case"multiple":Y=y;default:o.hasOwnProperty(i)||dt(e,t,i,null,o,y)}for(l in o)if(i=o[l],y=n[l],o.hasOwnProperty(l)&&(i!=null||y!=null))switch(l){case"value":_=i;break;case"defaultValue":h=i;break;case"multiple":d=i;default:i!==y&&dt(e,t,l,i,o,y)}o=h,t=d,n=Y,_!=null?as(e,!!t,_,!1):!!n!=!!t&&(o!=null?as(e,!!t,o,!0):as(e,!!t,t?[]:"",!1));return;case"textarea":Y=_=null;for(h in n)if(l=n[h],n.hasOwnProperty(h)&&l!=null&&!o.hasOwnProperty(h))switch(h){case"value":break;case"children":break;default:dt(e,t,h,null,o,l)}for(d in o)if(l=o[d],i=n[d],o.hasOwnProperty(d)&&(l!=null||i!=null))switch(d){case"value":_=l;break;case"defaultValue":Y=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:l!==i&&dt(e,t,d,l,o,i)}Cy(e,_,Y);return;case"option":for(var de in n)if(_=n[de],n.hasOwnProperty(de)&&_!=null&&!o.hasOwnProperty(de))switch(de){case"selected":e.selected=!1;break;default:dt(e,t,de,null,o,_)}for(y in o)if(_=o[y],Y=n[y],o.hasOwnProperty(y)&&_!==Y&&(_!=null||Y!=null))switch(y){case"selected":e.selected=_&&typeof _!="function"&&typeof _!="symbol";break;default:dt(e,t,y,_,o,Y)}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 ye in n)_=n[ye],n.hasOwnProperty(ye)&&_!=null&&!o.hasOwnProperty(ye)&&dt(e,t,ye,null,o,_);for(w in o)if(_=o[w],Y=n[w],o.hasOwnProperty(w)&&_!==Y&&(_!=null||Y!=null))switch(w){case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:dt(e,t,w,_,o,Y)}return;default:if(Ci(t)){for(var pt in n)_=n[pt],n.hasOwnProperty(pt)&&_!==void 0&&!o.hasOwnProperty(pt)&&up(e,t,pt,void 0,o,_);for(k in o)_=o[k],Y=n[k],!o.hasOwnProperty(k)||_===Y||_===void 0&&Y===void 0||up(e,t,k,_,o,Y);return}}for(var Ke in n)_=n[Ke],n.hasOwnProperty(Ke)&&_!=null&&!o.hasOwnProperty(Ke)&&dt(e,t,Ke,null,o,_);for(H in o)_=o[H],Y=n[H],!o.hasOwnProperty(H)||_===Y||_==null&&Y==null||dt(e,t,H,_,o,Y)}function _x(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function cp(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var o=e[n];t[o]=e.getPropertyValue(o)}return t}function jx(e,t,n){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var o,l=o="",i;for(i in t)if(t.hasOwnProperty(i)){var d=t[i];d!=null&&typeof d!="boolean"&&d!==""&&(i.indexOf("--")===0?(Ot(d,i),o+=l+i+":"+(""+d).trim()):typeof d!="number"||d===0||P1.has(i)?(Ot(d,i),o+=l+i.replace(U1,"-$1").toLowerCase().replace(H1,"-ms-")+":"+(""+d).trim()):o+=l+i.replace(U1,"-$1").toLowerCase().replace(H1,"-ms-")+":"+d+"px",l=";")}o=o||null,t=e.getAttribute("style"),t!==o&&(o=Sr(o),Sr(t)!==o&&(n.style=cp(e)))}}function na(e,t,n,o,l,i){if(l.delete(n),e=e.getAttribute(n),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(nt(o,t),e===""+o)return}Jt(t,e,o,i)}function Mx(e,t,n,o,l,i){if(l.delete(n),e=e.getAttribute(n),e===null){switch(typeof o){case"function":case"symbol":return}if(!o)return}else switch(typeof o){case"function":case"symbol":break;default:if(o)return}Jt(t,e,o,i)}function dp(e,t,n,o,l,i){if(l.delete(n),e=e.getAttribute(n),e===null)switch(typeof o){case"undefined":case"function":case"symbol":return}else if(o!=null)switch(typeof o){case"function":case"symbol":break;default:if(nt(o,n),e===""+o)return}Jt(t,e,o,i)}function zx(e,t,n,o,l,i){if(l.delete(n),e=e.getAttribute(n),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(o))return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(!isNaN(o)&&(nt(o,t),e===""+o))return}Jt(t,e,o,i)}function fp(e,t,n,o,l,i){if(l.delete(n),e=e.getAttribute(n),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(nt(o,t),n=Ti(""+o),e===n)return}Jt(t,e,o,i)}function kx(e,t,n,o){for(var l={},i=new Set,d=e.attributes,h=0;h<d.length;h++)switch(d[h].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:i.add(d[h].name)}if(Ci(t)){for(var y in n)if(n.hasOwnProperty(y)){var w=n[y];if(w!=null){if(wl.hasOwnProperty(y))typeof w!="function"&&eo(y,w);else if(n.suppressHydrationWarning!==!0)switch(y){case"children":typeof w!="string"&&typeof w!="number"||Jt("children",e.textContent,w,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":d=e.innerHTML,w=w?w.__html:void 0,w!=null&&(w=Rx(e,w),Jt(y,d,w,l));continue;case"style":i.delete(y),jx(e,w,l);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":i.delete(y.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",y);continue;case"className":i.delete("class"),d=Rt(e,"class",w),Jt("className",d,w,l);continue;default:o.context===Wo&&t!=="svg"&&t!=="math"?i.delete(y.toLowerCase()):i.delete(y),d=Rt(e,y,w),Jt(y,d,w,l)}}}}else for(w in n)if(n.hasOwnProperty(w)&&(y=n[w],y!=null)){if(wl.hasOwnProperty(w))typeof y!="function"&&eo(w,y);else if(n.suppressHydrationWarning!==!0)switch(w){case"children":typeof y!="string"&&typeof y!="number"||Jt("children",e.textContent,y,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":d=e.innerHTML,y=y?y.__html:void 0,y!=null&&(y=Rx(e,y),d!==y&&(l[w]={__html:d}));continue;case"className":na(e,w,"class",y,i,l);continue;case"tabIndex":na(e,w,"tabindex",y,i,l);continue;case"style":i.delete(w),jx(e,y,l);continue;case"multiple":i.delete(w),Jt(w,e.multiple,y,l);continue;case"muted":i.delete(w),Jt(w,e.muted,y,l);continue;case"autoFocus":i.delete("autofocus"),Jt(w,e.autofocus,y,l);continue;case"data":if(t!=="object"){i.delete(w),d=e.getAttribute("data"),Jt(w,d,y,l);continue}case"src":case"href":if(!(y!==""||t==="a"&&w==="href"||t==="object"&&w==="data")){console.error(w==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',w,w);continue}fp(e,w,w,y,i,l);continue;case"action":case"formAction":if(d=e.getAttribute(w),typeof y=="function"){i.delete(w.toLowerCase()),w==="formAction"?(i.delete("name"),i.delete("formenctype"),i.delete("formmethod"),i.delete("formtarget")):(i.delete("enctype"),i.delete("method"),i.delete("target"));continue}else if(d===eA){i.delete(w.toLowerCase()),Jt(w,"function",y,l);continue}fp(e,w,w.toLowerCase(),y,i,l);continue;case"xlinkHref":fp(e,w,"xlink:href",y,i,l);continue;case"contentEditable":dp(e,w,"contenteditable",y,i,l);continue;case"spellCheck":dp(e,w,"spellcheck",y,i,l);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":dp(e,w,w,y,i,l);continue;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":Mx(e,w,w.toLowerCase(),y,i,l);continue;case"capture":case"download":e:{h=e;var k=d=w,H=l;if(i.delete(k),h=h.getAttribute(k),h===null)switch(typeof y){case"undefined":case"function":case"symbol":break e;default:if(y===!1)break e}else if(y!=null)switch(typeof y){case"function":case"symbol":break;case"boolean":if(y===!0&&h==="")break e;break;default:if(nt(y,d),h===""+y)break e}Jt(d,h,y,H)}continue;case"cols":case"rows":case"size":case"span":e:{if(h=e,k=d=w,H=l,i.delete(k),h=h.getAttribute(k),h===null)switch(typeof y){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(y)||1>y)break e}else if(y!=null)switch(typeof y){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(y)||1>y)&&(nt(y,d),h===""+y))break e}Jt(d,h,y,H)}continue;case"rowSpan":zx(e,w,"rowspan",y,i,l);continue;case"start":zx(e,w,w,y,i,l);continue;case"xHeight":na(e,w,"x-height",y,i,l);continue;case"xlinkActuate":na(e,w,"xlink:actuate",y,i,l);continue;case"xlinkArcrole":na(e,w,"xlink:arcrole",y,i,l);continue;case"xlinkRole":na(e,w,"xlink:role",y,i,l);continue;case"xlinkShow":na(e,w,"xlink:show",y,i,l);continue;case"xlinkTitle":na(e,w,"xlink:title",y,i,l);continue;case"xlinkType":na(e,w,"xlink:type",y,i,l);continue;case"xmlBase":na(e,w,"xml:base",y,i,l);continue;case"xmlLang":na(e,w,"xml:lang",y,i,l);continue;case"xmlSpace":na(e,w,"xml:space",y,i,l);continue;case"inert":y!==""||Ef[w]||(Ef[w]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",w)),Mx(e,w,w,y,i,l);continue;default:if(!(2<w.length)||w[0]!=="o"&&w[0]!=="O"||w[1]!=="n"&&w[1]!=="N"){h=Vy(w),d=!1,o.context===Wo&&t!=="svg"&&t!=="math"?i.delete(h.toLowerCase()):(k=w.toLowerCase(),k=kd.hasOwnProperty(k)&&kd[k]||null,k!==null&&k!==w&&(d=!0,i.delete(k)),i.delete(h));e:if(k=e,H=h,h=y,pn(H))if(k.hasAttribute(H))k=k.getAttribute(H),nt(h,H),h=k===""+h?h:k;else{switch(typeof h){case"function":case"symbol":break e;case"boolean":if(k=H.toLowerCase().slice(0,5),k!=="data-"&&k!=="aria-")break e}h=h===void 0?void 0:null}else h=void 0;d||Jt(w,h,y,l)}}}return 0<i.size&&n.suppressHydrationWarning!==!0&&HD(e,i,l),Object.keys(l).length===0?null:l}function qD(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function Vx(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function BD(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),o=0;o<n.length;o++){var l=n[o],i=l.transferSize,d=l.initiatorType,h=l.duration;if(i&&h&&Vx(d)){for(d=0,h=l.responseEnd,o+=1;o<n.length;o++){var y=n[o],w=y.startTime;if(w>h)break;var k=y.transferSize,H=y.initiatorType;k&&Vx(H)&&(y=y.responseEnd,d+=k*(y<h?1:(h-w)/(y-w)))}if(--o,t+=8*(i+d)/(l.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}function gd(e){return e.nodeType===9?e:e.ownerDocument}function Ux(e){switch(e){case Ts:return ni;case zd:return Tf;default:return Wo}}function Hx(e,t){if(e===Wo)switch(t){case"svg":return ni;case"math":return Tf;default:return Wo}return e===ni&&t==="foreignObject"?Wo:e}function mp(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function PD(){var e=window.event;return e&&e.type==="popstate"?e===Zb?!1:(Zb=e,!0):(Zb=null,!1)}function Zi(){var e=window.event;return e&&e!==Gu?e.type:null}function Ji(){var e=window.event;return e&&e!==Gu?e.timeStamp:-1.1}function QD(e){setTimeout(function(){throw e})}function YD(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function $D(){}function GD(e,t,n,o){LD(e,t,n,o),e[yn]=o}function Lx(e){Ei(e,"")}function ID(e,t,n){e.nodeValue=n}function qx(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[yn]||null;if(t!==null){var n=ce(e);n!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,be(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,be(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function Nr(e){return e==="head"}function XD(e,t){e.removeChild(t)}function FD(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function Bx(e,t){var n=t,o=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n===$u||n===Cf){if(o===0){e.removeChild(l),xs(t);return}o--}else if(n===Yu||n===Gr||n===Bl||n===ti||n===ql)o++;else if(n===nA)Ki(e.ownerDocument.documentElement);else if(n===oA){n=e.ownerDocument.head,Ki(n);for(var i=n.firstChild;i;){var d=i.nextSibling,h=i.nodeName;i[ru]||h==="SCRIPT"||h==="STYLE"||h==="LINK"&&i.rel.toLowerCase()==="stylesheet"||n.removeChild(i),i=d}}else n===aA&&Ki(e.ownerDocument.body);n=l}while(n);xs(t)}function Px(e,t){var n=e;e=0;do{var o=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),o&&o.nodeType===8)if(n=o.data,n===$u){if(e===0)break;e--}else n!==Yu&&n!==Gr&&n!==Bl&&n!==ti||e++;n=o}while(n)}function ZD(e){Px(e,!0)}function JD(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function KD(e){e.nodeValue=""}function WD(e){Px(e,!1)}function eO(e,t){t=t[rA],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function tO(e,t){e.nodeValue=t}function hp(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":hp(n),L(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function nO(e,t,n,o){for(;e.nodeType===1;){var l=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[ru])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==l.rel||e.getAttribute("href")!==(l.href==null||l.href===""?null:l.href)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||e.getAttribute("title")!==(l.title==null?null:l.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(l.src==null?null:l.src)||e.getAttribute("type")!==(l.type==null?null:l.type)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){nt(l.name,"name");var i=l.name==null?null:""+l.name;if(l.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=Yn(e.nextSibling),e===null)break}return null}function aO(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Yn(e.nextSibling),e===null))return null;return e}function Qx(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Yn(e.nextSibling),e===null))return null;return e}function pp(e){return e.data===Gr||e.data===Bl}function bp(e){return e.data===ti||e.data===Gr&&e.ownerDocument.readyState!==jS}function oO(e,t){var n=e.ownerDocument;if(e.data===Bl)e._reactRetry=t;else if(e.data!==Gr||n.readyState!==jS)t();else{var o=function(){t(),n.removeEventListener("DOMContentLoaded",o)};n.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function Yn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===Yu||t===ti||t===Gr||t===Bl||t===ql||t===Ib||t===_S)break;if(t===$u||t===Cf)return null}}return e}function Yx(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},o=e.attributes,l=0;l<o.length;l++){var i=o[l];n[_x(i.name)]=i.name.toLowerCase()==="style"?cp(e):i.value}return{type:t,props:n}}return e.nodeType===8?e.data===ql?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function $x(e,t,n){return n===null||n[tA]!==!0?(e.nodeValue===t?e=null:(t=Sr(t),e=Sr(e.nodeValue)===t?null:e.nodeValue),e):null}function gp(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===$u||n===Cf){if(t===0)return Yn(e.nextSibling);t--}else n!==Yu&&n!==ti&&n!==Gr&&n!==Bl&&n!==ql||t++}e=e.nextSibling}return null}function Gx(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===Yu||n===ti||n===Gr||n===Bl||n===ql){if(t===0)return e;t--}else n!==$u&&n!==Cf||t++}e=e.previousSibling}return null}function rO(e){xs(e)}function lO(e){xs(e)}function sO(e){xs(e)}function Ix(e,t,n,o,l){switch(l&&Dm(e,o.ancestorInfo),t=gd(n),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function iO(e,t,n,o){if(!n[Dr]&&ce(n)){var l=n.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",l,l,l)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(l=n.attributes;l.length;)n.removeAttributeNode(l[0]);rn(n,e,t),n[ln]=o,n[yn]=t}function Ki(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);L(e)}function yd(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Xx(e,t,n){var o=ai;if(o&&typeof t=="string"&&t){var l=ta(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof n=="string"&&(l+='[crossorigin="'+n+'"]'),HS.has(l)||(HS.add(l),e={rel:e,crossOrigin:n,href:t},o.querySelector(l)===null&&(t=o.createElement("link"),rn(t,"link",e),le(t),o.head.appendChild(t)))}}function Fx(e,t,n,o){var l=(l=Cr.current)?yd(l):null;if(!l)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(n=ys(n.href),t=Ue(l).hoistableStyles,o=t.get(n),o||(o={type:"style",instance:null,count:0,state:null},t.set(n,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=ys(n.href);var i=Ue(l).hoistableStyles,d=i.get(e);if(!d&&(l=l.ownerDocument||l,d={type:"stylesheet",instance:null,count:0,state:{loading:Ql,preload:null}},i.set(e,d),(i=l.querySelector(Wi(e)))&&!i._p&&(d.instance=i,d.state.loading=Iu|ha),!pa.has(e))){var h={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};pa.set(e,h),i||uO(l,e,h,d.state)}if(t&&o===null)throw n=`
235
+
236
+ - `+vd(t)+`
237
+ + `+vd(n),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return d}if(t&&o!==null)throw n=`
238
+
239
+ - `+vd(t)+`
240
+ + `+vd(n),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=vs(n),t=Ue(l).hoistableScripts,o=t.get(n),o||(o={type:"script",instance:null,count:0,state:null},t.set(n,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function vd(e){var t=0,n="<link";return typeof e.rel=="string"?(t++,n+=' rel="'+e.rel+'"'):Na.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):Na.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):Na.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function ys(e){return'href="'+ta(e)+'"'}function Wi(e){return'link[rel="stylesheet"]['+e+"]"}function Zx(e){return Ye({},e,{"data-precedence":e.precedence,precedence:null})}function uO(e,t,n,o){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?o.loading=Iu:(t=e.createElement("link"),o.preload=t,t.addEventListener("load",function(){return o.loading|=Iu}),t.addEventListener("error",function(){return o.loading|=VS}),rn(t,"link",n),le(t),e.head.appendChild(t))}function vs(e){return'[src="'+ta(e)+'"]'}function eu(e){return"script[async]"+e}function Jx(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var o=e.querySelector('style[data-href~="'+ta(n.href)+'"]');if(o)return t.instance=o,le(o),o;var l=Ye({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),le(o),rn(o,"style",l),xd(o,n.precedence,e),t.instance=o;case"stylesheet":l=ys(n.href);var i=e.querySelector(Wi(l));if(i)return t.state.loading|=ha,t.instance=i,le(i),i;o=Zx(n),(l=pa.get(l))&&yp(o,l),i=(e.ownerDocument||e).createElement("link"),le(i);var d=i;return d._p=new Promise(function(h,y){d.onload=h,d.onerror=y}),rn(i,"link",o),t.state.loading|=ha,xd(i,n.precedence,e),t.instance=i;case"script":return i=vs(n.src),(l=e.querySelector(eu(i)))?(t.instance=l,le(l),l):(o=n,(l=pa.get(i))&&(o=Ye({},n),vp(o,l)),e=e.ownerDocument||e,l=e.createElement("script"),le(l),rn(l,"link",o),e.head.appendChild(l),t.instance=l);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&ha)===Ql&&(o=t.instance,t.state.loading|=ha,xd(o,n.precedence,e));return t.instance}function xd(e,t,n){for(var o=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=o.length?o[o.length-1]:null,i=l,d=0;d<o.length;d++){var h=o[d];if(h.dataset.precedence===t)i=h;else if(i!==l)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function yp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function vp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function Kx(e,t,n){if(Df===null){var o=new Map,l=Df=new Map;l.set(n,o)}else l=Df,o=l.get(n),o||(o=new Map,l.set(n,o));if(o.has(e))return o;for(o.set(e,null),n=n.getElementsByTagName(e),l=0;l<n.length;l++){var i=n[l];if(!(i[ru]||i[ln]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!==Ts){var d=i.getAttribute(t)||"";d=e+d;var h=o.get(d);h?h.push(i):o.set(d,[i])}}return o}function Wx(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function cO(e,t,n){var o=!n.ancestorInfo.containerTagInScope;if(n.context===ni||t.itemProp!=null)return!o||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){o&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var l=t.onError,i=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),l&&n.push("`onError`"),i!=null&&n.push("`disabled`"),l=qD(n,"and"),l+=n.length===1?" prop":" props",i=n.length===1?"an "+l:"the "+l,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,i,l)}o&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&o&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){o&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":o&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function e1(e){return!(e.type==="stylesheet"&&(e.state.loading&US)===Ql)}function dO(e,t,n,o){if(n.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(n.state.loading&ha)===Ql){if(n.instance===null){var l=ys(o.href),i=t.querySelector(Wi(l));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=wd.bind(e),t.then(e,e)),n.state.loading|=ha,n.instance=i,le(i);return}i=t.ownerDocument||t,o=Zx(o),(l=pa.get(l))&&yp(o,l),i=i.createElement("link"),le(i);var d=i;d._p=new Promise(function(h,y){d.onload=h,d.onerror=y}),rn(i,"link",o),n.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&US)===Ql&&(e.count++,n=wd.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}function fO(e,t){return e.stylesheets&&e.count===0&&Sd(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var o=setTimeout(function(){if(e.stylesheets&&Sd(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},iA+t);0<e.imgBytes&&Kb===0&&(Kb=125*BD()*cA);var l=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Sd(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>Kb?50:uA)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(l)}}:null}function wd(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Sd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Sd(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Of=new Map,t.forEach(mO,e),Of=null,wd.call(e))}function mO(e,t){if(!(t.state.loading&ha)){var n=Of.get(e);if(n)var o=n.get(Wb);else{n=new Map,Of.set(e,n);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<l.length;i++){var d=l[i];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(n.set(d.dataset.precedence,d),o=d)}o&&n.set(Wb,o)}l=t.instance,d=l.getAttribute("data-precedence"),i=n.get(d)||o,i===o&&n.set(Wb,l),n.set(d,l),this.count++,o=wd.bind(this),l.addEventListener("load",o),l.addEventListener("error",o),i?i.parentNode.insertBefore(l,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(l,e.firstChild)),t.state.loading|=ha}}function hO(e,t,n,o,l,i,d,h,y){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Pl,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=rl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=rl(0),this.hiddenUpdates=rl(null),this.identifierPrefix=o,this.onUncaughtError=l,this.onCaughtError=i,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=y,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?"hydrateRoot()":"createRoot()"}function t1(e,t,n,o,l,i,d,h,y,w,k,H){return e=new hO(e,t,n,d,y,w,k,H,h),t=zR,i===!0&&(t|=fn|Ea),t|=Le,i=S(3,null,null,t),e.current=i,i.stateNode=e,t=Im(),hl(t),e.pooledCache=t,hl(t),i.memoizedState={element:o,isDehydrated:n,cache:t},Km(i),e}function n1(e){return e?(e=_r,e):_r}function xp(e,t,n,o,l,i){if(dn&&typeof dn.onScheduleFiberRoot=="function")try{dn.onScheduleFiberRoot(Es,o,n)}catch(d){oo||(oo=!0,console.error("React instrumentation encountered an error: %o",d))}l=n1(l),o.context===null?o.context=l:o.pendingContext=l,ao&&Gn!==null&&!PS&&(PS=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
241
+
242
+ Check the render method of %s.`,I(Gn)||"Unknown")),o=br(t),o.payload={element:n},i=i===void 0?null:i,i!==null&&(typeof i!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",i),o.callback=i),n=gr(e,o,t),n!==null&&(Pa(t,"root.render()",null),Tt(n,e,t),zi(n,e,t))}function a1(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function wp(e,t){a1(e,t),(e=e.alternate)&&a1(e,t)}function o1(e){if(e.tag===13||e.tag===31){var t=cn(e,67108864);t!==null&&Tt(t,e,67108864),wp(e,67108864)}}function r1(e){if(e.tag===13||e.tag===31){var t=Qn(e);t=Ua(t);var n=cn(e,t);n!==null&&Tt(n,e,t),wp(e,t)}}function pO(){return Gn}function bO(e,t,n,o){var l=G.T;G.T=null;var i=rt.p;try{rt.p=aa,Sp(e,t,n,o)}finally{rt.p=i,G.T=l}}function gO(e,t,n,o){var l=G.T;G.T=null;var i=rt.p;try{rt.p=lo,Sp(e,t,n,o)}finally{rt.p=i,G.T=l}}function Sp(e,t,n,o){if(Af){var l=Np(o);if(l===null)sp(e,t,o,_f,n),s1(e,o);else if(yO(l,e,t,n,o))o.stopPropagation();else if(s1(e,o),t&4&&-1<fA.indexOf(e)){for(;l!==null;){var i=ce(l);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var d=wt(i.pendingLanes);if(d!==0){var h=i;for(h.pendingLanes|=2,h.entangledLanes|=2;d;){var y=1<<31-gn(d);h.entanglements[1]|=y,d&=~y}Wa(i),(tt&(Ft|Zn))===tn&&(mf=Kt()+bS,Xi(0))}}break;case 31:case 13:h=cn(i,2),h!==null&&Tt(h,i,2),ps(),wp(i,2)}if(i=Np(o),i===null&&sp(e,t,o,_f,n),i===l)break;l=i}l!==null&&o.stopPropagation()}else sp(e,t,o,null,n)}}function Np(e){return e=Om(e),Ep(e)}function Ep(e){if(_f=null,e=re(e),e!==null){var t=j(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=U(t),e!==null)return e;e=null}else if(n===31){if(e=ee(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return _f=e,null}function l1(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return aa;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 lo;case"message":switch(OO()){case Hp:return aa;case Lp:return lo;case Ns:case RO:return Lo;case qp:return jd;default:return Lo}default:return Lo}}function s1(e,t){switch(e){case"focusin":case"focusout":Ir=null;break;case"dragenter":case"dragleave":Xr=null;break;case"mouseover":case"mouseout":Fr=null;break;case"pointerover":case"pointerout":Fu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zu.delete(t.pointerId)}}function tu(e,t,n,o,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:o,nativeEvent:i,targetContainers:[l]},t!==null&&(t=ce(t),t!==null&&o1(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function yO(e,t,n,o,l){switch(t){case"focusin":return Ir=tu(Ir,e,t,n,o,l),!0;case"dragenter":return Xr=tu(Xr,e,t,n,o,l),!0;case"mouseover":return Fr=tu(Fr,e,t,n,o,l),!0;case"pointerover":var i=l.pointerId;return Fu.set(i,tu(Fu.get(i)||null,e,t,n,o,l)),!0;case"gotpointercapture":return i=l.pointerId,Zu.set(i,tu(Zu.get(i)||null,e,t,n,o,l)),!0}return!1}function i1(e){var t=re(e.target);if(t!==null){var n=j(t);if(n!==null){if(t=n.tag,t===13){if(t=U(n),t!==null){e.blockedOn=t,N(e.priority,function(){r1(n)});return}}else if(t===31){if(t=ee(n),t!==null){e.blockedOn=t,N(e.priority,function(){r1(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Nd(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Np(e.nativeEvent);if(n===null){n=e.nativeEvent;var o=new n.constructor(n.type,n),l=o;lu!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),lu=l,n.target.dispatchEvent(o),lu===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),lu=null}else return t=ce(n),t!==null&&o1(t),e.blockedOn=n,!1;t.shift()}return!0}function u1(e,t,n){Nd(e)&&n.delete(t)}function vO(){eg=!1,Ir!==null&&Nd(Ir)&&(Ir=null),Xr!==null&&Nd(Xr)&&(Xr=null),Fr!==null&&Nd(Fr)&&(Fr=null),Fu.forEach(u1),Zu.forEach(u1)}function Ed(e,t){e.blockedOn===t&&(e.blockedOn=null,eg||(eg=!0,Ht.unstable_scheduleCallback(Ht.unstable_NormalPriority,vO)))}function c1(e){jf!==e&&(jf=e,Ht.unstable_scheduleCallback(Ht.unstable_NormalPriority,function(){jf===e&&(jf=null);for(var t=0;t<e.length;t+=3){var n=e[t],o=e[t+1],l=e[t+2];if(typeof o!="function"){if(Ep(o||n)===null)continue;break}var i=ce(n);i!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:l,method:n.method,action:o},Object.freeze(n),Eh(i,n,o,l))}}))}function xs(e){function t(y){return Ed(y,e)}Ir!==null&&Ed(Ir,e),Xr!==null&&Ed(Xr,e),Fr!==null&&Ed(Fr,e),Fu.forEach(t),Zu.forEach(t);for(var n=0;n<Zr.length;n++){var o=Zr[n];o.blockedOn===e&&(o.blockedOn=null)}for(;0<Zr.length&&(n=Zr[0],n.blockedOn===null);)i1(n),n.blockedOn===null&&Zr.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(o=0;o<n.length;o+=3){var l=n[o],i=n[o+1],d=l[yn]||null;if(typeof i=="function")d||c1(n);else if(d){var h=null;if(i&&i.hasAttribute("formAction")){if(l=i,d=i[yn]||null)h=d.formAction;else if(Ep(l)!==null)continue}else h=d.action;typeof h=="function"?n[o+1]=h:(n.splice(o,3),o-=3),c1(n)}}}function d1(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(d){return l=d})},focusReset:"manual",scroll:"manual"})}function t(){l!==null&&(l(),l=null),o||setTimeout(n,20)}function n(){if(!o&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,l=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),l!==null&&(l(),l=null)}}}function Cp(e){this._internalRoot=e}function Cd(e){this._internalRoot=e}function f1(e){e[Dr]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Ht=O3(),Tp=hi(),xO=KE(),Ye=Object.assign,wO=Symbol.for("react.element"),to=Symbol.for("react.transitional.element"),ws=Symbol.for("react.portal"),Ss=Symbol.for("react.fragment"),Td=Symbol.for("react.strict_mode"),Dp=Symbol.for("react.profiler"),Op=Symbol.for("react.consumer"),no=Symbol.for("react.context"),nu=Symbol.for("react.forward_ref"),Rp=Symbol.for("react.suspense"),Ap=Symbol.for("react.suspense_list"),Dd=Symbol.for("react.memo"),$n=Symbol.for("react.lazy"),_p=Symbol.for("react.activity"),SO=Symbol.for("react.memo_cache_sentinel"),m1=Symbol.iterator,NO=Symbol.for("react.client.reference"),It=Array.isArray,G=Tp.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,rt=xO.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,EO=Object.freeze({pending:!1,data:null,method:null,action:null}),jp=[],Mp=[],Ho=-1,Er=ue(null),au=ue(null),Cr=ue(null),Od=ue(null),ou=0,h1,p1,b1,g1,y1,v1,x1;Se.__reactDisabledLog=!0;var zp,w1,kp=!1,Vp=new(typeof WeakMap=="function"?WeakMap:Map),Gn=null,ao=!1,Na=Object.prototype.hasOwnProperty,Up=Ht.unstable_scheduleCallback,CO=Ht.unstable_cancelCallback,TO=Ht.unstable_shouldYield,DO=Ht.unstable_requestPaint,Kt=Ht.unstable_now,OO=Ht.unstable_getCurrentPriorityLevel,Hp=Ht.unstable_ImmediatePriority,Lp=Ht.unstable_UserBlockingPriority,Ns=Ht.unstable_NormalPriority,RO=Ht.unstable_LowPriority,qp=Ht.unstable_IdlePriority,AO=Ht.log,_O=Ht.unstable_setDisableYieldValue,Es=null,dn=null,oo=!1,ro=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",gn=Math.clz32?Math.clz32:ur,jO=Math.log,MO=Math.LN2,Rd=256,Ad=262144,_d=4194304,aa=2,lo=8,Lo=32,jd=268435456,Tr=Math.random().toString(36).slice(2),ln="__reactFiber$"+Tr,yn="__reactProps$"+Tr,Dr="__reactContainer$"+Tr,Bp="__reactEvents$"+Tr,zO="__reactListeners$"+Tr,kO="__reactHandles$"+Tr,S1="__reactResources$"+Tr,ru="__reactMarker$"+Tr,N1=new Set,wl={},Pp={},VO={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},UO=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]*$"),E1={},C1={},HO=/[\n"\\]/g,T1=!1,D1=!1,O1=!1,R1=!1,A1=!1,_1=!1,j1=["value","defaultValue"],M1=!1,z1=/["'&<>\n\t]|^\s|\s$/,LO="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),k1="applet caption html table td th marquee object template foreignObject desc title".split(" "),qO=k1.concat(["button"]),BO="dd dt li option optgroup p rp rt".split(" "),V1={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Md={},Qp={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},U1=/([A-Z])/g,H1=/^ms-/,PO=/^(?:webkit|moz|o)[A-Z]/,QO=/^-ms-/,YO=/-(.)/g,L1=/;\s*$/,Cs={},Yp={},q1=!1,B1=!1,P1=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(" ")),zd="http://www.w3.org/1998/Math/MathML",Ts="http://www.w3.org/2000/svg",$O=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"]]),kd={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Q1={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Ds={},GO=RegExp("^(aria)-[: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]*$"),IO=RegExp("^(aria)[A-Z][: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]*$"),Y1=!1,vn={},$1=/^on./,XO=/^on[^A-Z]/,FO=RegExp("^(aria)-[: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]*$"),ZO=RegExp("^(aria)[A-Z][: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]*$"),JO=/^[\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,lu=null,Os=null,Rs=null,$p=!1,so=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Gp=!1;if(so)try{var su={};Object.defineProperty(su,"passive",{get:function(){Gp=!0}}),window.addEventListener("test",su,su),window.removeEventListener("test",su,su)}catch{Gp=!1}var Or=null,Ip=null,Vd=null,Sl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ud=Rn(Sl),iu=Ye({},Sl,{view:0,detail:0}),KO=Rn(iu),Xp,Fp,uu,Hd=Ye({},iu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Rm,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==uu&&(uu&&e.type==="mousemove"?(Xp=e.screenX-uu.screenX,Fp=e.screenY-uu.screenY):Fp=Xp=0,uu=e),Xp)},movementY:function(e){return"movementY"in e?e.movementY:Fp}}),G1=Rn(Hd),WO=Ye({},Hd,{dataTransfer:0}),eR=Rn(WO),tR=Ye({},iu,{relatedTarget:0}),Zp=Rn(tR),nR=Ye({},Sl,{animationName:0,elapsedTime:0,pseudoElement:0}),aR=Rn(nR),oR=Ye({},Sl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),rR=Rn(oR),lR=Ye({},Sl,{data:0}),I1=Rn(lR),sR=I1,iR={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},uR={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"},cR={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},dR=Ye({},iu,{key:function(e){if(e.key){var t=iR[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Nc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?uR[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Rm,charCode:function(e){return e.type==="keypress"?Nc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Nc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),fR=Rn(dR),mR=Ye({},Hd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),X1=Rn(mR),hR=Ye({},iu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Rm}),pR=Rn(hR),bR=Ye({},Sl,{propertyName:0,elapsedTime:0,pseudoElement:0}),gR=Rn(bR),yR=Ye({},Hd,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),vR=Rn(yR),xR=Ye({},Sl,{newState:0,oldState:0}),wR=Rn(xR),SR=[9,13,27,32],F1=229,Jp=so&&"CompositionEvent"in window,cu=null;so&&"documentMode"in document&&(cu=document.documentMode);var NR=so&&"TextEvent"in window&&!cu,Z1=so&&(!Jp||cu&&8<cu&&11>=cu),J1=32,K1=String.fromCharCode(J1),W1=!1,As=!1,ER={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},du=null,fu=null,ew=!1;so&&(ew=YT("input")&&(!document.documentMode||9<document.documentMode));var xn=typeof Object.is=="function"?Object.is:ZT,CR=so&&"documentMode"in document&&11>=document.documentMode,_s=null,Kp=null,mu=null,Wp=!1,js={animationend:sl("Animation","AnimationEnd"),animationiteration:sl("Animation","AnimationIteration"),animationstart:sl("Animation","AnimationStart"),transitionrun:sl("Transition","TransitionRun"),transitionstart:sl("Transition","TransitionStart"),transitioncancel:sl("Transition","TransitionCancel"),transitionend:sl("Transition","TransitionEnd")},eb={},tw={};so&&(tw=document.createElement("div").style,"AnimationEvent"in window||(delete js.animationend.animation,delete js.animationiteration.animation,delete js.animationstart.animation),"TransitionEvent"in window||delete js.transitionend.transition);var nw=il("animationend"),aw=il("animationiteration"),ow=il("animationstart"),TR=il("transitionrun"),DR=il("transitionstart"),OR=il("transitioncancel"),rw=il("transitionend"),lw=new Map,tb="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(" ");tb.push("scrollEnd");var sw=0;if(typeof performance=="object"&&typeof performance.now=="function")var RR=performance,iw=function(){return RR.now()};else{var AR=Date;iw=function(){return AR.now()}}var nb=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},_R="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",Ld=0,ab=1,ob=2,rb=3,qd="– ",Bd="+ ",uw="  ",bt=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",oa="Components ⚛",Je="Scheduler ⚛",et="Blocking",Rr=!1,qo={color:"primary",properties:null,tooltipText:"",track:oa},Ar={start:-0,end:-0,detail:{devtools:qo}},jR=["Changed Props",""],cw="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",MR=["Changed Props",cw],hu=1,Bo=2,ra=[],Ms=0,lb=0,_r={};Object.freeze(_r);var la=null,zs=null,Me=0,zR=1,Le=2,fn=8,Ea=16,kR=32,dw=!1;try{var fw=Object.preventExtensions({})}catch{dw=!0}var sb=new WeakMap,ks=[],Vs=0,Pd=null,pu=0,sa=[],ia=0,Nl=null,Po=1,Qo="",sn=null,gt=null,Xe=!1,io=!1,In=null,jr=null,ua=!1,ib=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),ub=ue(null),cb=ue(null),mw={},Qd=null,Us=null,Hs=!1,VR=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,o){e.push(o)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},UR=Ht.unstable_scheduleCallback,HR=Ht.unstable_NormalPriority,Lt={$$typeof:no,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},qt=Ht.unstable_now,Yd=console.createTask?console.createTask:function(){return null},bu=1,$d=2,Wt=-0,Mr=-0,Yo=-0,$o=null,wn=-1.1,El=-0,Nt=-0,Ae=-1.1,je=-1.1,xt=null,Dt=!1,Cl=-0,uo=-1.1,gu=null,zr=0,db=null,fb=null,Tl=-1.1,yu=null,Ls=-1.1,Gd=-1.1,Go=-0,Io=-1.1,ca=-1.1,mb=0,vu=null,hw=null,pw=null,kr=-1.1,Dl=null,Vr=-1.1,Id=-1.1,bw=-0,gw=-0,Xd=0,LR=null,yw=0,xu=-1.1,Fd=!1,Zd=!1,wu=null,hb=0,Ol=0,qs=null,vw=G.S;G.S=function(e,t){if(hS=Kt(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>Io&&0>ca){Io=qt();var n=Ji(),o=Zi();(n!==Vr||o!==Dl)&&(Vr=-1.1),kr=n,Dl=o}aD(e,t)}vw!==null&&vw(e,t)};var Rl=ue(null),Ca={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Su=[],Nu=[],Eu=[],Cu=[],Tu=[],Du=[],Al=new Set;Ca.recordUnsafeLifecycleWarnings=function(e,t){Al.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Su.push(e),e.mode&fn&&typeof t.UNSAFE_componentWillMount=="function"&&Nu.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Eu.push(e),e.mode&fn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Cu.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Tu.push(e),e.mode&fn&&typeof t.UNSAFE_componentWillUpdate=="function"&&Du.push(e))},Ca.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Su.length&&(Su.forEach(function(h){e.add(I(h)||"Component"),Al.add(h.type)}),Su=[]);var t=new Set;0<Nu.length&&(Nu.forEach(function(h){t.add(I(h)||"Component"),Al.add(h.type)}),Nu=[]);var n=new Set;0<Eu.length&&(Eu.forEach(function(h){n.add(I(h)||"Component"),Al.add(h.type)}),Eu=[]);var o=new Set;0<Cu.length&&(Cu.forEach(function(h){o.add(I(h)||"Component"),Al.add(h.type)}),Cu=[]);var l=new Set;0<Tu.length&&(Tu.forEach(function(h){l.add(I(h)||"Component"),Al.add(h.type)}),Tu=[]);var i=new Set;if(0<Du.length&&(Du.forEach(function(h){i.add(I(h)||"Component"),Al.add(h.type)}),Du=[]),0<t.size){var d=g(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
243
+
244
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
245
+
246
+ Please update the following components: %s`,d)}0<o.size&&(d=g(o),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
247
+
248
+ * Move data fetching code or side effects to componentDidUpdate.
249
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
250
+
251
+ Please update the following components: %s`,d)),0<i.size&&(d=g(i),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
252
+
253
+ * Move data fetching code or side effects to componentDidUpdate.
254
+
255
+ Please update the following components: %s`,d)),0<e.size&&(d=g(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
256
+
257
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
258
+ * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
259
+
260
+ Please update the following components: %s`,d)),0<n.size&&(d=g(n),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
261
+
262
+ * Move data fetching code or side effects to componentDidUpdate.
263
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
264
+ * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
265
+
266
+ Please update the following components: %s`,d)),0<l.size&&(d=g(l),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
267
+
268
+ * Move data fetching code or side effects to componentDidUpdate.
269
+ * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
270
+
271
+ Please update the following components: %s`,d))};var Jd=new Map,xw=new Set;Ca.recordLegacyContextWarning=function(e,t){for(var n=null,o=e;o!==null;)o.mode&fn&&(n=o),o=o.return;n===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!xw.has(e.type)&&(o=Jd.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(o===void 0&&(o=[],Jd.set(n,o)),o.push(e))},Ca.flushLegacyContextWarning=function(){Jd.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(l){n.add(I(l)||"Component"),xw.add(l.type)});var o=g(n);be(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
272
+
273
+ The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
274
+
275
+ Please update the following components: %s
276
+
277
+ Learn more about this warning here: https://react.dev/link/legacy-context`,o)})}})},Ca.discardPendingWarnings=function(){Su=[],Nu=[],Eu=[],Cu=[],Tu=[],Du=[],Jd=new Map};var ww={react_stack_bottom_frame:function(e,t,n){var o=ao;ao=!0;try{return e(t,n)}finally{ao=o}}},pb=ww.react_stack_bottom_frame.bind(ww),Sw={react_stack_bottom_frame:function(e){var t=ao;ao=!0;try{return e.render()}finally{ao=t}}},Nw=Sw.react_stack_bottom_frame.bind(Sw),Ew={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(n){ot(e,e.return,n)}}},bb=Ew.react_stack_bottom_frame.bind(Ew),Cw={react_stack_bottom_frame:function(e,t,n,o,l){try{t.componentDidUpdate(n,o,l)}catch(i){ot(e,e.return,i)}}},Tw=Cw.react_stack_bottom_frame.bind(Cw),Dw={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n!==null?n:""})}},qR=Dw.react_stack_bottom_frame.bind(Dw),Ow={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(o){ot(e,t,o)}}},Rw=Ow.react_stack_bottom_frame.bind(Ow),Aw={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},BR=Aw.react_stack_bottom_frame.bind(Aw),_w={react_stack_bottom_frame:function(e,t,n){try{n()}catch(o){ot(e,t,o)}}},PR=_w.react_stack_bottom_frame.bind(_w),jw={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},QR=jw.react_stack_bottom_frame.bind(jw),Bs=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),gb=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Kd=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),Wd={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},_l=null,Ou=!1,Ps=null,Ru=0,qe=null,yb,Mw=yb=!1,zw={},kw={},Vw={};E=function(e,t,n){if(n!==null&&typeof n=="object"&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");n._store.validated=1;var o=I(e),l=o||"null";if(!zw[l]){zw[l]=!0,n=n._owner,e=e._debugOwner;var i="";e&&typeof e.tag=="number"&&(l=I(e))&&(i=`
278
+
279
+ Check the render method of \``+l+"`."),i||o&&(i=`
280
+
281
+ Check the top-level render call using <`+o+">.");var d="";n!=null&&e!==n&&(o=null,typeof n.tag=="number"?o=I(n):typeof n.name=="string"&&(o=n.name),o&&(d=" It was passed a child from "+o+".")),be(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',i,d)})}}};var jl=Ov(!0),Uw=Ov(!1),Hw=0,Lw=1,qw=2,vb=3,Ur=!1,Bw=!1,xb=null,wb=!1,Qs=ue(null),ef=ue(0),Xn=ue(null),da=null,Ys=1,Au=2,zt=ue(0),tf=0,fa=1,Sn=2,Fn=4,Nn=8,$s,Pw=new Set,Qw=new Set,Sb=new Set,Yw=new Set,Xo=0,ke=null,ft=null,Bt=null,nf=!1,Gs=!1,Ml=!1,af=0,_u=0,Fo=null,YR=0,$R=25,$=null,ma=null,Zo=-1,ju=!1,Mu={readContext:vt,use:xr,useCallback:At,useContext:At,useEffect:At,useImperativeHandle:At,useLayoutEffect:At,useInsertionEffect:At,useMemo:At,useReducer:At,useRef:At,useState:At,useDebugValue:At,useDeferredValue:At,useTransition:At,useSyncExternalStore:At,useId:At,useHostTransitionStatus:At,useFormState:At,useActionState:At,useOptimistic:At,useMemoCache:At,useCacheRefresh:At};Mu.useEffectEvent=At;var Nb=null,$w=null,Eb=null,Gw=null,co=null,Ta=null,of=null;Nb={readContext:function(e){return vt(e)},use:xr,useCallback:function(e,t){return $="useCallback",Qe(),is(t),xh(e,t)},useContext:function(e){return $="useContext",Qe(),vt(e)},useEffect:function(e,t){return $="useEffect",Qe(),is(t),Jc(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",Qe(),is(n),vh(e,t,n)},useInsertionEffect:function(e,t){$="useInsertionEffect",Qe(),is(t),bl(4,Sn,e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",Qe(),is(t),yh(e,t)},useMemo:function(e,t){$="useMemo",Qe(),is(t);var n=G.H;G.H=co;try{return wh(e,t)}finally{G.H=n}},useReducer:function(e,t,n){$="useReducer",Qe();var o=G.H;G.H=co;try{return uh(e,t,n)}finally{G.H=o}},useRef:function(e){return $="useRef",Qe(),bh(e)},useState:function(e){$="useState",Qe();var t=G.H;G.H=co;try{return mh(e)}finally{G.H=t}},useDebugValue:function(){$="useDebugValue",Qe()},useDeferredValue:function(e,t){return $="useDeferredValue",Qe(),Sh(e,t)},useTransition:function(){return $="useTransition",Qe(),Ch()},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",Qe(),dh(e,t,n)},useId:function(){return $="useId",Qe(),Th()},useFormState:function(e,t){return $="useFormState",Qe(),Gc(),cs(e,t)},useActionState:function(e,t){return $="useActionState",Qe(),cs(e,t)},useOptimistic:function(e){return $="useOptimistic",Qe(),hh(e)},useHostTransitionStatus:gl,useMemoCache:pl,useCacheRefresh:function(){return $="useCacheRefresh",Qe(),Dh()},useEffectEvent:function(e){return $="useEffectEvent",Qe(),gh(e)}},$w={readContext:function(e){return vt(e)},use:xr,useCallback:function(e,t){return $="useCallback",se(),xh(e,t)},useContext:function(e){return $="useContext",se(),vt(e)},useEffect:function(e,t){return $="useEffect",se(),Jc(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",se(),vh(e,t,n)},useInsertionEffect:function(e,t){$="useInsertionEffect",se(),bl(4,Sn,e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",se(),yh(e,t)},useMemo:function(e,t){$="useMemo",se();var n=G.H;G.H=co;try{return wh(e,t)}finally{G.H=n}},useReducer:function(e,t,n){$="useReducer",se();var o=G.H;G.H=co;try{return uh(e,t,n)}finally{G.H=o}},useRef:function(e){return $="useRef",se(),bh(e)},useState:function(e){$="useState",se();var t=G.H;G.H=co;try{return mh(e)}finally{G.H=t}},useDebugValue:function(){$="useDebugValue",se()},useDeferredValue:function(e,t){return $="useDeferredValue",se(),Sh(e,t)},useTransition:function(){return $="useTransition",se(),Ch()},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",se(),dh(e,t,n)},useId:function(){return $="useId",se(),Th()},useActionState:function(e,t){return $="useActionState",se(),cs(e,t)},useFormState:function(e,t){return $="useFormState",se(),Gc(),cs(e,t)},useOptimistic:function(e){return $="useOptimistic",se(),hh(e)},useHostTransitionStatus:gl,useMemoCache:pl,useCacheRefresh:function(){return $="useCacheRefresh",se(),Dh()},useEffectEvent:function(e){return $="useEffectEvent",se(),gh(e)}},Eb={readContext:function(e){return vt(e)},use:xr,useCallback:function(e,t){return $="useCallback",se(),ed(e,t)},useContext:function(e){return $="useContext",se(),vt(e)},useEffect:function(e,t){$="useEffect",se(),An(2048,Nn,e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",se(),Wc(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",se(),An(4,Sn,e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",se(),An(4,Fn,e,t)},useMemo:function(e,t){$="useMemo",se();var n=G.H;G.H=Ta;try{return td(e,t)}finally{G.H=n}},useReducer:function(e,t,n){$="useReducer",se();var o=G.H;G.H=Ta;try{return us(e,t,n)}finally{G.H=o}},useRef:function(){return $="useRef",se(),it().memoizedState},useState:function(){$="useState",se();var e=G.H;G.H=Ta;try{return us(wa)}finally{G.H=e}},useDebugValue:function(){$="useDebugValue",se()},useDeferredValue:function(e,t){return $="useDeferredValue",se(),Zv(e,t)},useTransition:function(){return $="useTransition",se(),n0()},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",se(),Xc(e,t,n)},useId:function(){return $="useId",se(),it().memoizedState},useFormState:function(e){return $="useFormState",se(),Gc(),Fc(e)},useActionState:function(e){return $="useActionState",se(),Fc(e)},useOptimistic:function(e,t){return $="useOptimistic",se(),qv(e,t)},useHostTransitionStatus:gl,useMemoCache:pl,useCacheRefresh:function(){return $="useCacheRefresh",se(),it().memoizedState},useEffectEvent:function(e){return $="useEffectEvent",se(),Kc(e)}},Gw={readContext:function(e){return vt(e)},use:xr,useCallback:function(e,t){return $="useCallback",se(),ed(e,t)},useContext:function(e){return $="useContext",se(),vt(e)},useEffect:function(e,t){$="useEffect",se(),An(2048,Nn,e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",se(),Wc(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",se(),An(4,Sn,e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",se(),An(4,Fn,e,t)},useMemo:function(e,t){$="useMemo",se();var n=G.H;G.H=of;try{return td(e,t)}finally{G.H=n}},useReducer:function(e,t,n){$="useReducer",se();var o=G.H;G.H=of;try{return Hi(e,t,n)}finally{G.H=o}},useRef:function(){return $="useRef",se(),it().memoizedState},useState:function(){$="useState",se();var e=G.H;G.H=of;try{return Hi(wa)}finally{G.H=e}},useDebugValue:function(){$="useDebugValue",se()},useDeferredValue:function(e,t){return $="useDeferredValue",se(),Jv(e,t)},useTransition:function(){return $="useTransition",se(),a0()},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",se(),Xc(e,t,n)},useId:function(){return $="useId",se(),it().memoizedState},useFormState:function(e){return $="useFormState",se(),Gc(),Zc(e)},useActionState:function(e){return $="useActionState",se(),Zc(e)},useOptimistic:function(e,t){return $="useOptimistic",se(),Pv(e,t)},useHostTransitionStatus:gl,useMemoCache:pl,useCacheRefresh:function(){return $="useCacheRefresh",se(),it().memoizedState},useEffectEvent:function(e){return $="useEffectEvent",se(),Kc(e)}},co={readContext:function(e){return b(),vt(e)},use:function(e){return p(),xr(e)},useCallback:function(e,t){return $="useCallback",p(),Qe(),xh(e,t)},useContext:function(e){return $="useContext",p(),Qe(),vt(e)},useEffect:function(e,t){return $="useEffect",p(),Qe(),Jc(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",p(),Qe(),vh(e,t,n)},useInsertionEffect:function(e,t){$="useInsertionEffect",p(),Qe(),bl(4,Sn,e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",p(),Qe(),yh(e,t)},useMemo:function(e,t){$="useMemo",p(),Qe();var n=G.H;G.H=co;try{return wh(e,t)}finally{G.H=n}},useReducer:function(e,t,n){$="useReducer",p(),Qe();var o=G.H;G.H=co;try{return uh(e,t,n)}finally{G.H=o}},useRef:function(e){return $="useRef",p(),Qe(),bh(e)},useState:function(e){$="useState",p(),Qe();var t=G.H;G.H=co;try{return mh(e)}finally{G.H=t}},useDebugValue:function(){$="useDebugValue",p(),Qe()},useDeferredValue:function(e,t){return $="useDeferredValue",p(),Qe(),Sh(e,t)},useTransition:function(){return $="useTransition",p(),Qe(),Ch()},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",p(),Qe(),dh(e,t,n)},useId:function(){return $="useId",p(),Qe(),Th()},useFormState:function(e,t){return $="useFormState",p(),Qe(),cs(e,t)},useActionState:function(e,t){return $="useActionState",p(),Qe(),cs(e,t)},useOptimistic:function(e){return $="useOptimistic",p(),Qe(),hh(e)},useMemoCache:function(e){return p(),pl(e)},useHostTransitionStatus:gl,useCacheRefresh:function(){return $="useCacheRefresh",Qe(),Dh()},useEffectEvent:function(e){return $="useEffectEvent",p(),Qe(),gh(e)}},Ta={readContext:function(e){return b(),vt(e)},use:function(e){return p(),xr(e)},useCallback:function(e,t){return $="useCallback",p(),se(),ed(e,t)},useContext:function(e){return $="useContext",p(),se(),vt(e)},useEffect:function(e,t){$="useEffect",p(),se(),An(2048,Nn,e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",p(),se(),Wc(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",p(),se(),An(4,Sn,e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",p(),se(),An(4,Fn,e,t)},useMemo:function(e,t){$="useMemo",p(),se();var n=G.H;G.H=Ta;try{return td(e,t)}finally{G.H=n}},useReducer:function(e,t,n){$="useReducer",p(),se();var o=G.H;G.H=Ta;try{return us(e,t,n)}finally{G.H=o}},useRef:function(){return $="useRef",p(),se(),it().memoizedState},useState:function(){$="useState",p(),se();var e=G.H;G.H=Ta;try{return us(wa)}finally{G.H=e}},useDebugValue:function(){$="useDebugValue",p(),se()},useDeferredValue:function(e,t){return $="useDeferredValue",p(),se(),Zv(e,t)},useTransition:function(){return $="useTransition",p(),se(),n0()},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",p(),se(),Xc(e,t,n)},useId:function(){return $="useId",p(),se(),it().memoizedState},useFormState:function(e){return $="useFormState",p(),se(),Fc(e)},useActionState:function(e){return $="useActionState",p(),se(),Fc(e)},useOptimistic:function(e,t){return $="useOptimistic",p(),se(),qv(e,t)},useMemoCache:function(e){return p(),pl(e)},useHostTransitionStatus:gl,useCacheRefresh:function(){return $="useCacheRefresh",se(),it().memoizedState},useEffectEvent:function(e){return $="useEffectEvent",p(),se(),Kc(e)}},of={readContext:function(e){return b(),vt(e)},use:function(e){return p(),xr(e)},useCallback:function(e,t){return $="useCallback",p(),se(),ed(e,t)},useContext:function(e){return $="useContext",p(),se(),vt(e)},useEffect:function(e,t){$="useEffect",p(),se(),An(2048,Nn,e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",p(),se(),Wc(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",p(),se(),An(4,Sn,e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",p(),se(),An(4,Fn,e,t)},useMemo:function(e,t){$="useMemo",p(),se();var n=G.H;G.H=Ta;try{return td(e,t)}finally{G.H=n}},useReducer:function(e,t,n){$="useReducer",p(),se();var o=G.H;G.H=Ta;try{return Hi(e,t,n)}finally{G.H=o}},useRef:function(){return $="useRef",p(),se(),it().memoizedState},useState:function(){$="useState",p(),se();var e=G.H;G.H=Ta;try{return Hi(wa)}finally{G.H=e}},useDebugValue:function(){$="useDebugValue",p(),se()},useDeferredValue:function(e,t){return $="useDeferredValue",p(),se(),Jv(e,t)},useTransition:function(){return $="useTransition",p(),se(),a0()},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",p(),se(),Xc(e,t,n)},useId:function(){return $="useId",p(),se(),it().memoizedState},useFormState:function(e){return $="useFormState",p(),se(),Zc(e)},useActionState:function(e){return $="useActionState",p(),se(),Zc(e)},useOptimistic:function(e,t){return $="useOptimistic",p(),se(),Pv(e,t)},useMemoCache:function(e){return p(),pl(e)},useHostTransitionStatus:gl,useCacheRefresh:function(){return $="useCacheRefresh",se(),it().memoizedState},useEffectEvent:function(e){return $="useEffectEvent",p(),se(),Kc(e)}};var Iw={},Xw=new Set,Fw=new Set,Zw=new Set,Jw=new Set,Kw=new Set,Ww=new Set,eS=new Set,tS=new Set,nS=new Set,aS=new Set;Object.freeze(Iw);var Cb={enqueueSetState:function(e,t,n){e=e._reactInternals;var o=Qn(e),l=br(o);l.payload=t,n!=null&&(Rh(n),l.callback=n),t=gr(e,l,o),t!==null&&(Pa(o,"this.setState()",e),Tt(t,e,o),zi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var o=Qn(e),l=br(o);l.tag=Lw,l.payload=t,n!=null&&(Rh(n),l.callback=n),t=gr(e,l,o),t!==null&&(Pa(o,"this.replaceState()",e),Tt(t,e,o),zi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Qn(e),o=br(n);o.tag=qw,t!=null&&(Rh(t),o.callback=t),t=gr(e,o,n),t!==null&&(Pa(n,"this.forceUpdate()",e),Tt(t,e,n),zi(t,e,n))}},Is=null,Tb=null,Db=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),Pt=!1,oS={},rS={},lS={},sS={},Xs=!1,iS={},rf={},Ob={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},uS=!1,cS=null;cS=new Set;var Jo=!1,Qt=!1,Rb=!1,dS=typeof WeakSet=="function"?WeakSet:Set,en=null,Fs=null,Zs=null,Yt=null,Mn=!1,Da=null,Xt=!1,zu=8192,GR={getCacheForType:function(e){var t=vt(Lt),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return vt(Lt).controller.signal},getOwner:function(){return Gn}};if(typeof Symbol=="function"&&Symbol.for){var ku=Symbol.for;ku("selector.component"),ku("selector.has_pseudo_class"),ku("selector.role"),ku("selector.test_id"),ku("selector.text")}var IR=[],XR=typeof WeakMap=="function"?WeakMap:Map,tn=0,Ft=2,Zn=4,Ko=0,Vu=1,zl=2,lf=3,Hr=4,sf=6,fS=5,tt=tn,mt=null,Pe=null,Be=0,zn=0,uf=1,kl=2,Uu=3,mS=4,Ab=5,Hu=6,cf=7,_b=8,Vl=9,ut=zn,Jn=null,Lr=!1,Js=!1,jb=!1,fo=0,Et=Ko,qr=0,Br=0,Mb=0,kn=0,Ul=0,Lu=null,En=null,df=!1,ff=0,hS=0,pS=300,mf=1/0,bS=500,qu=null,_t=null,Pr=null,hf=0,zb=1,kb=2,gS=3,Qr=0,yS=1,vS=2,xS=3,wS=4,pf=5,$t=0,Yr=null,Ks=null,Oa=0,Vb=0,Ub=-0,Hb=null,SS=null,NS=null,Ra=hf,ES=null,FR=50,Bu=0,Lb=null,qb=!1,bf=!1,ZR=50,Hl=0,Pu=null,Ws=!1,gf=null,CS=!1,TS=new Set,JR={},yf=null,ei=null,Bb=!1,Pb=!1,vf=!1,Qb=!1,$r=0,Yb={};(function(){for(var e=0;e<tb.length;e++){var t=tb[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),va(n,"on"+t)}va(nw,"onAnimationEnd"),va(aw,"onAnimationIteration"),va(ow,"onAnimationStart"),va("dblclick","onDoubleClick"),va("focusin","onFocus"),va("focusout","onBlur"),va(TR,"onTransitionRun"),va(DR,"onTransitionStart"),va(OR,"onTransitionCancel"),va(rw,"onTransitionEnd")})(),Oe("onMouseEnter",["mouseout","mouseover"]),Oe("onMouseLeave",["mouseout","mouseover"]),Oe("onPointerEnter",["pointerout","pointerover"]),Oe("onPointerLeave",["pointerout","pointerover"]),_e("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),_e("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),_e("onBeforeInput",["compositionend","keypress","textInput","paste"]),_e("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),_e("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),_e("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qu="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(" "),$b=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Qu)),xf="_reactListening"+Math.random().toString(36).slice(2),DS=!1,OS=!1,wf=!1,RS=!1,Sf=!1,Nf=!1,AS=!1,Ef={},KR=/\r\n?/g,WR=/\u0000|\uFFFD/g,Ll="http://www.w3.org/1999/xlink",Gb="http://www.w3.org/XML/1998/namespace",eA="javascript:throw new Error('React form unexpectedly submitted.')",tA="suppressHydrationWarning",ql="&",Cf="/&",Yu="$",$u="/$",Gr="$?",Bl="$~",ti="$!",nA="html",aA="body",oA="head",Ib="F!",_S="F",jS="loading",rA="style",Wo=0,ni=1,Tf=2,Xb=null,Fb=null,MS={dialog:!0,webview:!0},Zb=null,Gu=void 0,zS=typeof setTimeout=="function"?setTimeout:void 0,lA=typeof clearTimeout=="function"?clearTimeout:void 0,Pl=-1,kS=typeof Promise=="function"?Promise:void 0,sA=typeof queueMicrotask=="function"?queueMicrotask:typeof kS<"u"?function(e){return kS.resolve(null).then(e).catch(QD)}:zS,Jb=null,Ql=0,Iu=1,VS=2,US=3,ha=4,pa=new Map,HS=new Set,er=rt.d;rt.d={f:function(){var e=er.f(),t=ps();return e||t},r:function(e){var t=ce(e);t!==null&&t.tag===5&&t.type==="form"?t0(t):er.r(e)},D:function(e){er.D(e),Xx("dns-prefetch",e,null)},C:function(e,t){er.C(e,t),Xx("preconnect",e,t)},L:function(e,t,n){er.L(e,t,n);var o=ai;if(o&&e&&t){var l='link[rel="preload"][as="'+ta(t)+'"]';t==="image"&&n&&n.imageSrcSet?(l+='[imagesrcset="'+ta(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(l+='[imagesizes="'+ta(n.imageSizes)+'"]')):l+='[href="'+ta(e)+'"]';var i=l;switch(t){case"style":i=ys(e);break;case"script":i=vs(e)}pa.has(i)||(e=Ye({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),pa.set(i,e),o.querySelector(l)!==null||t==="style"&&o.querySelector(Wi(i))||t==="script"&&o.querySelector(eu(i))||(t=o.createElement("link"),rn(t,"link",e),le(t),o.head.appendChild(t)))}},m:function(e,t){er.m(e,t);var n=ai;if(n&&e){var o=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+ta(o)+'"][href="'+ta(e)+'"]',i=l;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=vs(e)}if(!pa.has(i)&&(e=Ye({rel:"modulepreload",href:e},t),pa.set(i,e),n.querySelector(l)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(eu(i)))return}o=n.createElement("link"),rn(o,"link",e),le(o),n.head.appendChild(o)}}},X:function(e,t){er.X(e,t);var n=ai;if(n&&e){var o=Ue(n).hoistableScripts,l=vs(e),i=o.get(l);i||(i=n.querySelector(eu(l)),i||(e=Ye({src:e,async:!0},t),(t=pa.get(l))&&vp(e,t),i=n.createElement("script"),le(i),rn(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},o.set(l,i))}},S:function(e,t,n){er.S(e,t,n);var o=ai;if(o&&e){var l=Ue(o).hoistableStyles,i=ys(e);t=t||"default";var d=l.get(i);if(!d){var h={loading:Ql,preload:null};if(d=o.querySelector(Wi(i)))h.loading=Iu|ha;else{e=Ye({rel:"stylesheet",href:e,"data-precedence":t},n),(n=pa.get(i))&&yp(e,n);var y=d=o.createElement("link");le(y),rn(y,"link",e),y._p=new Promise(function(w,k){y.onload=w,y.onerror=k}),y.addEventListener("load",function(){h.loading|=Iu}),y.addEventListener("error",function(){h.loading|=VS}),h.loading|=ha,xd(d,t,o)}d={type:"stylesheet",instance:d,count:1,state:h},l.set(i,d)}}},M:function(e,t){er.M(e,t);var n=ai;if(n&&e){var o=Ue(n).hoistableScripts,l=vs(e),i=o.get(l);i||(i=n.querySelector(eu(l)),i||(e=Ye({src:e,async:!0,type:"module"},t),(t=pa.get(l))&&vp(e,t),i=n.createElement("script"),le(i),rn(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},o.set(l,i))}}};var ai=typeof document>"u"?null:document,Df=null,iA=6e4,uA=800,cA=500,Kb=0,Wb=null,Of=null,Yl=EO,Xu={$$typeof:no,Provider:null,Consumer:null,_currentValue:Yl,_currentValue2:Yl,_threadCount:0},LS="%c%s%c",qS="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",BS="",Rf=" ",dA=Function.prototype.bind,PS=!1,QS=null,YS=null,$S=null,GS=null,IS=null,XS=null,FS=null,ZS=null,JS=null,KS=null;QS=function(e,t,n,o){t=a(e,t),t!==null&&(n=r(t.memoizedState,n,0,o),t.memoizedState=n,t.baseState=n,e.memoizedProps=Ye({},e.memoizedProps),n=cn(e,2),n!==null&&Tt(n,e,2))},YS=function(e,t,n){t=a(e,t),t!==null&&(n=c(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=Ye({},e.memoizedProps),n=cn(e,2),n!==null&&Tt(n,e,2))},$S=function(e,t,n,o){t=a(e,t),t!==null&&(n=s(t.memoizedState,n,o),t.memoizedState=n,t.baseState=n,e.memoizedProps=Ye({},e.memoizedProps),n=cn(e,2),n!==null&&Tt(n,e,2))},GS=function(e,t,n){e.pendingProps=r(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=cn(e,2),t!==null&&Tt(t,e,2)},IS=function(e,t){e.pendingProps=c(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=cn(e,2),t!==null&&Tt(t,e,2)},XS=function(e,t,n){e.pendingProps=s(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=cn(e,2),t!==null&&Tt(t,e,2)},FS=function(e){var t=cn(e,2);t!==null&&Tt(t,e,2)},ZS=function(e){var t=Va(),n=cn(e,t);n!==null&&Tt(n,e,t)},JS=function(e){m=e},KS=function(e){f=e};var Af=!0,_f=null,eg=!1,Ir=null,Xr=null,Fr=null,Fu=new Map,Zu=new Map,Zr=[],fA="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(" "),jf=null;if(Cd.prototype.render=Cp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var n=arguments;typeof n[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):V(n[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var o=t.current,l=Qn(o);xp(o,l,n,t,null,null)},Cd.prototype.unmount=Cp.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(tt&(Ft|Zn))!==tn&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),xp(e.current,2,null,e,null,null),ps(),t[Dr]=null}},Cd.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ha();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Zr.length&&t!==0&&t<Zr[n].priority;n++);Zr.splice(n,0,e),n===0&&i1(e)}},(function(){var e=Tp.version;if(e!=="19.2.1")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
282
+ - react: `+(e+`
283
+ - react-dom: 19.2.1
284
+ Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),rt.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=W(t),e=e!==null?te(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:G,reconcilerVersion:"19.2.1"};return e.overrideHookState=QS,e.overrideHookStateDeletePath=YS,e.overrideHookStateRenamePath=$S,e.overrideProps=GS,e.overridePropsDeletePath=IS,e.overridePropsRenamePath=XS,e.scheduleUpdate=FS,e.scheduleRetry=ZS,e.setErrorHandler=JS,e.setSuspenseHandler=KS,e.scheduleRefresh=T,e.scheduleRoot=C,e.setRefreshHandler=D,e.getCurrentFiber=pO,Un(e)})()&&so&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var WS=window.location.protocol;/^(https?|file):$/.test(WS)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(WS==="file:"?`
285
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Wu.createRoot=function(e,t){if(!V(e))throw Error("Target container is not a DOM element.");f1(e);var n=!1,o="",l=u0,i=c0,d=d0;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===to&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
286
+
287
+ let root = createRoot(domContainer);
288
+ root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onUncaughtError!==void 0&&(l=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(d=t.onRecoverableError)),t=t1(e,1,!1,null,null,n,o,null,l,i,d,d1),e[Dr]=t.current,lp(e),new Cp(t)},Wu.hydrateRoot=function(e,t,n){if(!V(e))throw Error("Target container is not a DOM element.");f1(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var o=!1,l="",i=u0,d=c0,h=d0,y=null;return n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onUncaughtError!==void 0&&(i=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(h=n.onRecoverableError),n.formState!==void 0&&(y=n.formState)),t=t1(e,1,!0,t,n??null,o,l,y,i,d,h,d1),t.context=n1(null),n=t.current,o=Qn(n),o=Ua(o),l=br(o),l.callback=null,gr(n,l,o),Pa(o,"hydrateRoot()",null),n=o,t.current.lanes=n,ya(t,n),Wa(t),e[Dr]=t.current,lp(e),new Cd(t)},Wu.version="19.2.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),Wu}var ON;function _3(){return ON||(ON=1,ig.exports=A3()),ig.exports}var j3=_3(),M3=(function(){function a(){this.keyToValue=new Map,this.valueToKey=new Map}return a.prototype.set=function(r,s){this.keyToValue.set(r,s),this.valueToKey.set(s,r)},a.prototype.getByKey=function(r){return this.keyToValue.get(r)},a.prototype.getByValue=function(r){return this.valueToKey.get(r)},a.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},a})(),WE=(function(){function a(r){this.generateIdentifier=r,this.kv=new M3}return a.prototype.register=function(r,s){this.kv.getByValue(r)||(s||(s=this.generateIdentifier(r)),this.kv.set(s,r))},a.prototype.clear=function(){this.kv.clear()},a.prototype.getIdentifier=function(r){return this.kv.getByValue(r)},a.prototype.getValue=function(r){return this.kv.getByKey(r)},a})(),z3=(function(){var a=function(r,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(u[f]=c[f])},a(r,s)};return function(r,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");a(r,s);function u(){this.constructor=r}r.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}})(),k3=(function(a){z3(r,a);function r(){var s=a.call(this,function(u){return u.name})||this;return s.classToAllowedProps=new Map,s}return r.prototype.register=function(s,u){typeof u=="object"?(u.allowProps&&this.classToAllowedProps.set(s,u.allowProps),a.prototype.register.call(this,s,u.identifier)):a.prototype.register.call(this,s,u)},r.prototype.getAllowedProps=function(s){return this.classToAllowedProps.get(s)},r})(WE),V3=function(a,r){var s=typeof Symbol=="function"&&a[Symbol.iterator];if(!s)return a;var u=s.call(a),c,f=[],m;try{for(;(r===void 0||r-- >0)&&!(c=u.next()).done;)f.push(c.value)}catch(p){m={error:p}}finally{try{c&&!c.done&&(s=u.return)&&s.call(u)}finally{if(m)throw m.error}}return f};function U3(a){if("values"in Object)return Object.values(a);var r=[];for(var s in a)a.hasOwnProperty(s)&&r.push(a[s]);return r}function H3(a,r){var s=U3(a);if("find"in s)return s.find(r);for(var u=s,c=0;c<u.length;c++){var f=u[c];if(r(f))return f}}function ui(a,r){Object.entries(a).forEach(function(s){var u=V3(s,2),c=u[0],f=u[1];return r(f,c)})}function $f(a,r){return a.indexOf(r)!==-1}function RN(a,r){for(var s=0;s<a.length;s++){var u=a[s];if(r(u))return u}}var L3=(function(){function a(){this.transfomers={}}return a.prototype.register=function(r){this.transfomers[r.name]=r},a.prototype.findApplicable=function(r){return H3(this.transfomers,function(s){return s.isApplicable(r)})},a.prototype.findByName=function(r){return this.transfomers[r]},a})(),q3=function(a){return Object.prototype.toString.call(a).slice(8,-1)},eC=function(a){return typeof a>"u"},B3=function(a){return a===null},sc=function(a){return typeof a!="object"||a===null||a===Object.prototype?!1:Object.getPrototypeOf(a)===null?!0:Object.getPrototypeOf(a)===Object.prototype},Ag=function(a){return sc(a)&&Object.keys(a).length===0},tl=function(a){return Array.isArray(a)},P3=function(a){return typeof a=="string"},Q3=function(a){return typeof a=="number"&&!isNaN(a)},Y3=function(a){return typeof a=="boolean"},$3=function(a){return a instanceof RegExp},ic=function(a){return a instanceof Map},uc=function(a){return a instanceof Set},tC=function(a){return q3(a)==="Symbol"},G3=function(a){return a instanceof Date&&!isNaN(a.valueOf())},I3=function(a){return a instanceof Error},AN=function(a){return typeof a=="number"&&isNaN(a)},X3=function(a){return Y3(a)||B3(a)||eC(a)||Q3(a)||P3(a)||tC(a)},F3=function(a){return typeof a=="bigint"},Z3=function(a){return a===1/0||a===-1/0},J3=function(a){return ArrayBuffer.isView(a)&&!(a instanceof DataView)},K3=function(a){return a instanceof URL},nC=function(a){return a.replace(/\./g,"\\.")},fg=function(a){return a.map(String).map(nC).join(".")},oc=function(a){for(var r=[],s="",u=0;u<a.length;u++){var c=a.charAt(u),f=c==="\\"&&a.charAt(u+1)===".";if(f){s+=".",u++;continue}var m=c===".";if(m){r.push(s),s="";continue}s+=c}var p=s;return r.push(p),r},_g=function(){return _g=Object.assign||function(a){for(var r,s=1,u=arguments.length;s<u;s++){r=arguments[s];for(var c in r)Object.prototype.hasOwnProperty.call(r,c)&&(a[c]=r[c])}return a},_g.apply(this,arguments)},jg=function(a,r){var s=typeof Symbol=="function"&&a[Symbol.iterator];if(!s)return a;var u=s.call(a),c,f=[],m;try{for(;(r===void 0||r-- >0)&&!(c=u.next()).done;)f.push(c.value)}catch(p){m={error:p}}finally{try{c&&!c.done&&(s=u.return)&&s.call(u)}finally{if(m)throw m.error}}return f},Mg=function(a,r){for(var s=0,u=r.length,c=a.length;s<u;s++,c++)a[c]=r[s];return a};function mo(a,r,s,u){return{isApplicable:a,annotation:r,transform:s,untransform:u}}var aC=[mo(eC,"undefined",function(){return null},function(){}),mo(F3,"bigint",function(a){return a.toString()},function(a){return typeof BigInt<"u"?BigInt(a):(console.error("Please add a BigInt polyfill."),a)}),mo(G3,"Date",function(a){return a.toISOString()},function(a){return new Date(a)}),mo(I3,"Error",function(a,r){var s={name:a.name,message:a.message};return r.allowedErrorProps.forEach(function(u){s[u]=a[u]}),s},function(a,r){var s=new Error(a.message);return s.name=a.name,s.stack=a.stack,r.allowedErrorProps.forEach(function(u){s[u]=a[u]}),s}),mo($3,"regexp",function(a){return""+a},function(a){var r=a.slice(1,a.lastIndexOf("/")),s=a.slice(a.lastIndexOf("/")+1);return new RegExp(r,s)}),mo(uc,"set",function(a){return Mg([],jg(a.values()))},function(a){return new Set(a)}),mo(ic,"map",function(a){return Mg([],jg(a.entries()))},function(a){return new Map(a)}),mo(function(a){return AN(a)||Z3(a)},"number",function(a){return AN(a)?"NaN":a>0?"Infinity":"-Infinity"},Number),mo(function(a){return a===0&&1/a===-1/0},"number",function(){return"-0"},Number),mo(K3,"URL",function(a){return a.toString()},function(a){return new URL(a)})];function dm(a,r,s,u){return{isApplicable:a,annotation:r,transform:s,untransform:u}}var oC=dm(function(a,r){if(tC(a)){var s=!!r.symbolRegistry.getIdentifier(a);return s}return!1},function(a,r){var s=r.symbolRegistry.getIdentifier(a);return["symbol",s]},function(a){return a.description},function(a,r,s){var u=s.symbolRegistry.getValue(r[1]);if(!u)throw new Error("Trying to deserialize unknown symbol");return u}),W3=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(a,r){return a[r.name]=r,a},{}),rC=dm(J3,function(a){return["typed-array",a.constructor.name]},function(a){return Mg([],jg(a))},function(a,r){var s=W3[r[1]];if(!s)throw new Error("Trying to deserialize unknown typed array");return new s(a)});function lC(a,r){if(a?.constructor){var s=!!r.classRegistry.getIdentifier(a.constructor);return s}return!1}var sC=dm(lC,function(a,r){var s=r.classRegistry.getIdentifier(a.constructor);return["class",s]},function(a,r){var s=r.classRegistry.getAllowedProps(a.constructor);if(!s)return _g({},a);var u={};return s.forEach(function(c){u[c]=a[c]}),u},function(a,r,s){var u=s.classRegistry.getValue(r[1]);if(!u)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(u.prototype),a)}),iC=dm(function(a,r){return!!r.customTransformerRegistry.findApplicable(a)},function(a,r){var s=r.customTransformerRegistry.findApplicable(a);return["custom",s.name]},function(a,r){var s=r.customTransformerRegistry.findApplicable(a);return s.serialize(a)},function(a,r,s){var u=s.customTransformerRegistry.findByName(r[1]);if(!u)throw new Error("Trying to deserialize unknown custom value");return u.deserialize(a)}),ej=[sC,oC,iC,rC],_N=function(a,r){var s=RN(ej,function(c){return c.isApplicable(a,r)});if(s)return{value:s.transform(a,r),type:s.annotation(a,r)};var u=RN(aC,function(c){return c.isApplicable(a,r)});if(u)return{value:u.transform(a,r),type:u.annotation}},uC={};aC.forEach(function(a){uC[a.annotation]=a});var tj=function(a,r,s){if(tl(r))switch(r[0]){case"symbol":return oC.untransform(a,r,s);case"class":return sC.untransform(a,r,s);case"custom":return iC.untransform(a,r,s);case"typed-array":return rC.untransform(a,r,s);default:throw new Error("Unknown transformation: "+r)}else{var u=uC[r];if(!u)throw new Error("Unknown transformation: "+r);return u.untransform(a,s)}},li=function(a,r){for(var s=a.keys();r>0;)s.next(),r--;return s.next().value};function cC(a){if($f(a,"__proto__"))throw new Error("__proto__ is not allowed as a property");if($f(a,"prototype"))throw new Error("prototype is not allowed as a property");if($f(a,"constructor"))throw new Error("constructor is not allowed as a property")}var nj=function(a,r){cC(r);for(var s=0;s<r.length;s++){var u=r[s];if(uc(a))a=li(a,+u);else if(ic(a)){var c=+u,f=+r[++s]==0?"key":"value",m=li(a,c);switch(f){case"key":a=m;break;case"value":a=a.get(m);break}}else a=a[u]}return a},zg=function(a,r,s){if(cC(r),r.length===0)return s(a);for(var u=a,c=0;c<r.length-1;c++){var f=r[c];if(tl(u)){var m=+f;u=u[m]}else if(sc(u))u=u[f];else if(uc(u)){var p=+f;u=li(u,p)}else if(ic(u)){var b=c===r.length-2;if(b)break;var p=+f,x=+r[++c]==0?"key":"value",E=li(u,p);switch(x){case"key":u=E;break;case"value":u=u.get(E);break}}}var g=r[r.length-1];if(tl(u)?u[+g]=s(u[+g]):sc(u)&&(u[g]=s(u[g])),uc(u)){var S=li(u,+g),C=s(S);S!==C&&(u.delete(S),u.add(C))}if(ic(u)){var p=+r[r.length-2],T=li(u,p),x=+g==0?"key":"value";switch(x){case"key":{var D=s(T);u.set(D,u.get(T)),D!==T&&u.delete(T);break}case"value":{u.set(T,s(u.get(T)));break}}}return a},or=function(a,r){var s=typeof Symbol=="function"&&a[Symbol.iterator];if(!s)return a;var u=s.call(a),c,f=[],m;try{for(;(r===void 0||r-- >0)&&!(c=u.next()).done;)f.push(c.value)}catch(p){m={error:p}}finally{try{c&&!c.done&&(s=u.return)&&s.call(u)}finally{if(m)throw m.error}}return f},Kr=function(a,r){for(var s=0,u=r.length,c=a.length;s<u;s++,c++)a[c]=r[s];return a};function kg(a,r,s){if(s===void 0&&(s=[]),!!a){if(!tl(a)){ui(a,function(m,p){return kg(m,r,Kr(Kr([],or(s)),or(oc(p))))});return}var u=or(a,2),c=u[0],f=u[1];f&&ui(f,function(m,p){kg(m,r,Kr(Kr([],or(s)),or(oc(p))))}),r(c,s)}}function aj(a,r,s){return kg(r,function(u,c){a=zg(a,c,function(f){return tj(f,u,s)})}),a}function oj(a,r){function s(m,p){var b=nj(a,oc(p));m.map(oc).forEach(function(x){a=zg(a,x,function(){return b})})}if(tl(r)){var u=or(r,2),c=u[0],f=u[1];c.forEach(function(m){a=zg(a,oc(m),function(){return a})}),f&&ui(f,s)}else ui(r,s);return a}var rj=function(a,r){return sc(a)||tl(a)||ic(a)||uc(a)||lC(a,r)};function lj(a,r,s){var u=s.get(a);u?u.push(r):s.set(a,[r])}function sj(a,r){var s={},u=void 0;return a.forEach(function(c){if(!(c.length<=1)){r||(c=c.map(function(b){return b.map(String)}).sort(function(b,x){return b.length-x.length}));var f=or(c),m=f[0],p=f.slice(1);m.length===0?u=p.map(fg):s[fg(m)]=p.map(fg)}}),u?Ag(s)?[u]:[u,s]:Ag(s)?void 0:s}var dC=function(a,r,s,u,c,f,m){var p;c===void 0&&(c=[]),f===void 0&&(f=[]),m===void 0&&(m=new Map);var b=X3(a);if(!b){lj(a,c,r);var x=m.get(a);if(x)return u?{transformedValue:null}:x}if(!rj(a,s)){var E=_N(a,s),g=E?{transformedValue:E.value,annotations:[E.type]}:{transformedValue:a};return b||m.set(a,g),g}if($f(f,a))return{transformedValue:null};var S=_N(a,s),C=(p=S?.value)!==null&&p!==void 0?p:a,T=tl(C)?[]:{},D={};ui(C,function(j,U){var ee=dC(j,r,s,u,Kr(Kr([],or(c)),[U]),Kr(Kr([],or(f)),[a]),m);T[U]=ee.transformedValue,tl(ee.annotations)?D[U]=ee.annotations:sc(ee.annotations)&&ui(ee.annotations,function(ie,W){D[nC(U)+"."+W]=ie})});var V=Ag(D)?{transformedValue:T,annotations:S?[S.type]:void 0}:{transformedValue:T,annotations:S?[S.type,D]:D};return b||m.set(a,V),V};function fC(a){return Object.prototype.toString.call(a).slice(8,-1)}function jN(a){return fC(a)==="Array"}function ij(a){if(fC(a)!=="Object")return!1;const r=Object.getPrototypeOf(a);return!!r&&r.constructor===Object&&r===Object.prototype}function uj(a,r,s,u,c){const f={}.propertyIsEnumerable.call(u,r)?"enumerable":"nonenumerable";f==="enumerable"&&(a[r]=s),c&&f==="nonenumerable"&&Object.defineProperty(a,r,{value:s,enumerable:!1,writable:!0,configurable:!0})}function Vg(a,r={}){if(jN(a))return a.map(c=>Vg(c,r));if(!ij(a))return a;const s=Object.getOwnPropertyNames(a),u=Object.getOwnPropertySymbols(a);return[...s,...u].reduce((c,f)=>{if(jN(r.props)&&!r.props.includes(f))return c;const m=a[f],p=Vg(m,r);return uj(c,f,p,a,r.nonenumerable),c},{})}var Xl=function(){return Xl=Object.assign||function(a){for(var r,s=1,u=arguments.length;s<u;s++){r=arguments[s];for(var c in r)Object.prototype.hasOwnProperty.call(r,c)&&(a[c]=r[c])}return a},Xl.apply(this,arguments)},cj=function(a,r){var s=typeof Symbol=="function"&&a[Symbol.iterator];if(!s)return a;var u=s.call(a),c,f=[],m;try{for(;(r===void 0||r-- >0)&&!(c=u.next()).done;)f.push(c.value)}catch(p){m={error:p}}finally{try{c&&!c.done&&(s=u.return)&&s.call(u)}finally{if(m)throw m.error}}return f},dj=function(a,r){for(var s=0,u=r.length,c=a.length;s<u;s++,c++)a[c]=r[s];return a},sr=(function(){function a(r){var s=r===void 0?{}:r,u=s.dedupe,c=u===void 0?!1:u;this.classRegistry=new k3,this.symbolRegistry=new WE(function(f){var m;return(m=f.description)!==null&&m!==void 0?m:""}),this.customTransformerRegistry=new L3,this.allowedErrorProps=[],this.dedupe=c}return a.prototype.serialize=function(r){var s=new Map,u=dC(r,s,this,this.dedupe),c={json:u.transformedValue};u.annotations&&(c.meta=Xl(Xl({},c.meta),{values:u.annotations}));var f=sj(s,this.dedupe);return f&&(c.meta=Xl(Xl({},c.meta),{referentialEqualities:f})),c},a.prototype.deserialize=function(r){var s=r.json,u=r.meta,c=Vg(s);return u?.values&&(c=aj(c,u.values,this)),u?.referentialEqualities&&(c=oj(c,u.referentialEqualities)),c},a.prototype.stringify=function(r){return JSON.stringify(this.serialize(r))},a.prototype.parse=function(r){return this.deserialize(JSON.parse(r))},a.prototype.registerClass=function(r,s){this.classRegistry.register(r,s)},a.prototype.registerSymbol=function(r,s){this.symbolRegistry.register(r,s)},a.prototype.registerCustom=function(r,s){this.customTransformerRegistry.register(Xl({name:s},r))},a.prototype.allowErrorProps=function(){for(var r,s=[],u=0;u<arguments.length;u++)s[u]=arguments[u];(r=this.allowedErrorProps).push.apply(r,dj([],cj(s)))},a.defaultInstance=new a,a.serialize=a.defaultInstance.serialize.bind(a.defaultInstance),a.deserialize=a.defaultInstance.deserialize.bind(a.defaultInstance),a.stringify=a.defaultInstance.stringify.bind(a.defaultInstance),a.parse=a.defaultInstance.parse.bind(a.defaultInstance),a.registerClass=a.defaultInstance.registerClass.bind(a.defaultInstance),a.registerSymbol=a.defaultInstance.registerSymbol.bind(a.defaultInstance),a.registerCustom=a.defaultInstance.registerCustom.bind(a.defaultInstance),a.allowErrorProps=a.defaultInstance.allowErrorProps.bind(a.defaultInstance),a})();sr.serialize;sr.deserialize;sr.stringify;sr.parse;sr.registerClass;sr.registerCustom;sr.registerSymbol;sr.allowErrorProps;var fj=(a,r,s,u,c,f,m,p)=>{let b=document.documentElement,x=["light","dark"];function E(C){(Array.isArray(a)?a:[a]).forEach(T=>{let D=T==="class",V=D&&f?c.map(j=>f[j]||j):c;D?(b.classList.remove(...V),b.classList.add(f&&f[C]?f[C]:C)):b.setAttribute(T,C)}),g(C)}function g(C){p&&x.includes(C)&&(b.style.colorScheme=C)}function S(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(u)E(u);else try{let C=localStorage.getItem(r)||s,T=m&&C==="system"?S():C;E(T)}catch{}},mj=A.createContext(void 0),hj={setTheme:a=>{},themes:[]},pj=()=>{var a;return(a=A.useContext(mj))!=null?a:hj};A.memo(({forcedTheme:a,storageKey:r,attribute:s,enableSystem:u,enableColorScheme:c,defaultTheme:f,value:m,themes:p,nonce:b,scriptProps:x})=>{let E=JSON.stringify([s,r,f,a,p,m,u,c]).slice(1,-1);return A.createElement("script",{...x,suppressHydrationWarning:!0,nonce:typeof window>"u"?b:"",dangerouslySetInnerHTML:{__html:`(${fj.toString()})(${E})`}})});var ny=KE();const bj=fE(ny);function gj(a){if(typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css",r.appendChild(s),s.styleSheet?s.styleSheet.cssText=a:s.appendChild(document.createTextNode(a))}const yj=a=>{switch(a){case"success":return wj;case"info":return Nj;case"warning":return Sj;case"error":return Ej;default:return null}},vj=Array(12).fill(0),xj=({visible:a,className:r})=>he.createElement("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":a},he.createElement("div",{className:"sonner-spinner"},vj.map((s,u)=>he.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${u}`})))),wj=he.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},he.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Sj=he.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},he.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),Nj=he.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},he.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),Ej=he.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},he.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Cj=he.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},he.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),he.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Tj=()=>{const[a,r]=he.useState(document.hidden);return he.useEffect(()=>{const s=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",s),()=>window.removeEventListener("visibilitychange",s)},[]),a};let Ug=1;class Dj{constructor(){this.subscribe=r=>(this.subscribers.push(r),()=>{const s=this.subscribers.indexOf(r);this.subscribers.splice(s,1)}),this.publish=r=>{this.subscribers.forEach(s=>s(r))},this.addToast=r=>{this.publish(r),this.toasts=[...this.toasts,r]},this.create=r=>{var s;const{message:u,...c}=r,f=typeof r?.id=="number"||((s=r.id)==null?void 0:s.length)>0?r.id:Ug++,m=this.toasts.find(b=>b.id===f),p=r.dismissible===void 0?!0:r.dismissible;return this.dismissedToasts.has(f)&&this.dismissedToasts.delete(f),m?this.toasts=this.toasts.map(b=>b.id===f?(this.publish({...b,...r,id:f,title:u}),{...b,...r,id:f,dismissible:p,title:u}):b):this.addToast({title:u,...c,dismissible:p,id:f}),f},this.dismiss=r=>(r?(this.dismissedToasts.add(r),requestAnimationFrame(()=>this.subscribers.forEach(s=>s({id:r,dismiss:!0})))):this.toasts.forEach(s=>{this.subscribers.forEach(u=>u({id:s.id,dismiss:!0}))}),r),this.message=(r,s)=>this.create({...s,message:r}),this.error=(r,s)=>this.create({...s,message:r,type:"error"}),this.success=(r,s)=>this.create({...s,type:"success",message:r}),this.info=(r,s)=>this.create({...s,type:"info",message:r}),this.warning=(r,s)=>this.create({...s,type:"warning",message:r}),this.loading=(r,s)=>this.create({...s,type:"loading",message:r}),this.promise=(r,s)=>{if(!s)return;let u;s.loading!==void 0&&(u=this.create({...s,promise:r,type:"loading",message:s.loading,description:typeof s.description!="function"?s.description:void 0}));const c=Promise.resolve(r instanceof Function?r():r);let f=u!==void 0,m;const p=c.then(async x=>{if(m=["resolve",x],he.isValidElement(x))f=!1,this.create({id:u,type:"default",message:x});else if(Rj(x)&&!x.ok){f=!1;const g=typeof s.error=="function"?await s.error(`HTTP error! status: ${x.status}`):s.error,S=typeof s.description=="function"?await s.description(`HTTP error! status: ${x.status}`):s.description,T=typeof g=="object"&&!he.isValidElement(g)?g:{message:g};this.create({id:u,type:"error",description:S,...T})}else if(x instanceof Error){f=!1;const g=typeof s.error=="function"?await s.error(x):s.error,S=typeof s.description=="function"?await s.description(x):s.description,T=typeof g=="object"&&!he.isValidElement(g)?g:{message:g};this.create({id:u,type:"error",description:S,...T})}else if(s.success!==void 0){f=!1;const g=typeof s.success=="function"?await s.success(x):s.success,S=typeof s.description=="function"?await s.description(x):s.description,T=typeof g=="object"&&!he.isValidElement(g)?g:{message:g};this.create({id:u,type:"success",description:S,...T})}}).catch(async x=>{if(m=["reject",x],s.error!==void 0){f=!1;const E=typeof s.error=="function"?await s.error(x):s.error,g=typeof s.description=="function"?await s.description(x):s.description,C=typeof E=="object"&&!he.isValidElement(E)?E:{message:E};this.create({id:u,type:"error",description:g,...C})}}).finally(()=>{f&&(this.dismiss(u),u=void 0),s.finally==null||s.finally.call(s)}),b=()=>new Promise((x,E)=>p.then(()=>m[0]==="reject"?E(m[1]):x(m[1])).catch(E));return typeof u!="string"&&typeof u!="number"?{unwrap:b}:Object.assign(u,{unwrap:b})},this.custom=(r,s)=>{const u=s?.id||Ug++;return this.create({jsx:r(u),id:u,...s}),u},this.getActiveToasts=()=>this.toasts.filter(r=>!this.dismissedToasts.has(r.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Vn=new Dj,Oj=(a,r)=>{const s=r?.id||Ug++;return Vn.addToast({title:a,...r,id:s}),s},Rj=a=>a&&typeof a=="object"&&"ok"in a&&typeof a.ok=="boolean"&&"status"in a&&typeof a.status=="number",Aj=Oj,_j=()=>Vn.toasts,jj=()=>Vn.getActiveToasts(),nn=Object.assign(Aj,{success:Vn.success,info:Vn.info,warning:Vn.warning,error:Vn.error,custom:Vn.custom,message:Vn.message,promise:Vn.promise,dismiss:Vn.dismiss,loading:Vn.loading},{getHistory:_j,getToasts:jj});gj("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function Hf(a){return a.label!==void 0}const Mj=3,zj="24px",kj="16px",MN=4e3,Vj=356,Uj=14,Hj=45,Lj=200;function ho(...a){return a.filter(Boolean).join(" ")}function qj(a){const[r,s]=a.split("-"),u=[];return r&&u.push(r),s&&u.push(s),u}const Bj=a=>{var r,s,u,c,f,m,p,b,x;const{invert:E,toast:g,unstyled:S,interacting:C,setHeights:T,visibleToasts:D,heights:V,index:j,toasts:U,expanded:ee,removeToast:ie,defaultRichColors:W,closeButton:te,style:P,cancelButtonStyle:Q,actionButtonStyle:oe,className:I="",descriptionClassName:ue="",duration:K,position:ne,gap:me,expandByDefault:ve,classNames:q,icons:F,closeButtonAriaLabel:B="Close toast"}=a,[fe,Se]=he.useState(null),[O,ae]=he.useState(null),[X,Z]=he.useState(!1),[xe,Ie]=he.useState(!1),[pe,ze]=he.useState(!1),[st,Ct]=he.useState(!1),[be,Ut]=he.useState(!1),[Tn,ga]=he.useState(0),[za,nt]=he.useState(0),Ot=he.useRef(g.duration||K||MN),Eo=he.useRef(null),Un=he.useRef(null),Ne=j===0,ur=j+1<=D,wt=g.type,Dn=g.dismissible!==!1,ka=g.className||"",ns=g.descriptionClassName||"",Va=he.useMemo(()=>V.findIndex(le=>le.toastId===g.id)||0,[V,g.id]),rl=he.useMemo(()=>{var le;return(le=g.closeButton)!=null?le:te},[g.closeButton,te]),ya=he.useMemo(()=>g.duration||K||MN,[g.duration,K]),cr=he.useRef(0),ea=he.useRef(0),dr=he.useRef(0),On=he.useRef(null),[Ua,Co]=ne.split("-"),To=he.useMemo(()=>V.reduce((le,_e,Oe)=>Oe>=Va?le:le+_e.height,0),[V,Va]),Do=Tj(),Ha=g.invert||E,N=wt==="loading";ea.current=he.useMemo(()=>Va*me+To,[Va,To]),he.useEffect(()=>{Ot.current=ya},[ya]),he.useEffect(()=>{Z(!0)},[]),he.useEffect(()=>{const le=Un.current;if(le){const _e=le.getBoundingClientRect().height;return nt(_e),T(Oe=>[{toastId:g.id,height:_e,position:g.position},...Oe]),()=>T(Oe=>Oe.filter(ct=>ct.toastId!==g.id))}},[T,g.id]),he.useLayoutEffect(()=>{if(!X)return;const le=Un.current,_e=le.style.height;le.style.height="auto";const Oe=le.getBoundingClientRect().height;le.style.height=_e,nt(Oe),T(ct=>ct.find(Rt=>Rt.toastId===g.id)?ct.map(Rt=>Rt.toastId===g.id?{...Rt,height:Oe}:Rt):[{toastId:g.id,height:Oe,position:g.position},...ct])},[X,g.title,g.description,T,g.id,g.jsx,g.action,g.cancel]);const L=he.useCallback(()=>{Ie(!0),ga(ea.current),T(le=>le.filter(_e=>_e.toastId!==g.id)),setTimeout(()=>{ie(g)},Lj)},[g,ie,T,ea]);he.useEffect(()=>{if(g.promise&&wt==="loading"||g.duration===1/0||g.type==="loading")return;let le;return ee||C||Do?(()=>{if(dr.current<cr.current){const ct=new Date().getTime()-cr.current;Ot.current=Ot.current-ct}dr.current=new Date().getTime()})():(()=>{Ot.current!==1/0&&(cr.current=new Date().getTime(),le=setTimeout(()=>{g.onAutoClose==null||g.onAutoClose.call(g,g),L()},Ot.current))})(),()=>clearTimeout(le)},[ee,C,g,wt,Do,L]),he.useEffect(()=>{g.delete&&(L(),g.onDismiss==null||g.onDismiss.call(g,g))},[L,g.delete]);function re(){var le;if(F?.loading){var _e;return he.createElement("div",{className:ho(q?.loader,g==null||(_e=g.classNames)==null?void 0:_e.loader,"sonner-loader"),"data-visible":wt==="loading"},F.loading)}return he.createElement(xj,{className:ho(q?.loader,g==null||(le=g.classNames)==null?void 0:le.loader),visible:wt==="loading"})}const ce=g.icon||F?.[wt]||yj(wt);var Ee,Ue;return he.createElement("li",{tabIndex:0,ref:Un,className:ho(I,ka,q?.toast,g==null||(r=g.classNames)==null?void 0:r.toast,q?.default,q?.[wt],g==null||(s=g.classNames)==null?void 0:s[wt]),"data-sonner-toast":"","data-rich-colors":(Ee=g.richColors)!=null?Ee:W,"data-styled":!(g.jsx||g.unstyled||S),"data-mounted":X,"data-promise":!!g.promise,"data-swiped":be,"data-removed":xe,"data-visible":ur,"data-y-position":Ua,"data-x-position":Co,"data-index":j,"data-front":Ne,"data-swiping":pe,"data-dismissible":Dn,"data-type":wt,"data-invert":Ha,"data-swipe-out":st,"data-swipe-direction":O,"data-expanded":!!(ee||ve&&X),"data-testid":g.testId,style:{"--index":j,"--toasts-before":j,"--z-index":U.length-j,"--offset":`${xe?Tn:ea.current}px`,"--initial-height":ve?"auto":`${za}px`,...P,...g.style},onDragEnd:()=>{ze(!1),Se(null),On.current=null},onPointerDown:le=>{le.button!==2&&(N||!Dn||(Eo.current=new Date,ga(ea.current),le.target.setPointerCapture(le.pointerId),le.target.tagName!=="BUTTON"&&(ze(!0),On.current={x:le.clientX,y:le.clientY})))},onPointerUp:()=>{var le,_e,Oe;if(st||!Dn)return;On.current=null;const ct=Number(((le=Un.current)==null?void 0:le.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),pn=Number(((_e=Un.current)==null?void 0:_e.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Rt=new Date().getTime()-((Oe=Eo.current)==null?void 0:Oe.getTime()),Gt=fe==="x"?ct:pn,Oo=Math.abs(Gt)/Rt;if(Math.abs(Gt)>=Hj||Oo>.11){ga(ea.current),g.onDismiss==null||g.onDismiss.call(g,g),ae(fe==="x"?ct>0?"right":"left":pn>0?"down":"up"),L(),Ct(!0);return}else{var Mt,St;(Mt=Un.current)==null||Mt.style.setProperty("--swipe-amount-x","0px"),(St=Un.current)==null||St.style.setProperty("--swipe-amount-y","0px")}Ut(!1),ze(!1),Se(null)},onPointerMove:le=>{var _e,Oe,ct;if(!On.current||!Dn||((_e=window.getSelection())==null?void 0:_e.toString().length)>0)return;const Rt=le.clientY-On.current.y,Gt=le.clientX-On.current.x;var Oo;const Mt=(Oo=a.swipeDirections)!=null?Oo:qj(ne);!fe&&(Math.abs(Gt)>1||Math.abs(Rt)>1)&&Se(Math.abs(Gt)>Math.abs(Rt)?"x":"y");let St={x:0,y:0};const wi=Ro=>1/(1.5+Math.abs(Ro)/20);if(fe==="y"){if(Mt.includes("top")||Mt.includes("bottom"))if(Mt.includes("top")&&Rt<0||Mt.includes("bottom")&&Rt>0)St.y=Rt;else{const Ro=Rt*wi(Rt);St.y=Math.abs(Ro)<Math.abs(Rt)?Ro:Rt}}else if(fe==="x"&&(Mt.includes("left")||Mt.includes("right")))if(Mt.includes("left")&&Gt<0||Mt.includes("right")&&Gt>0)St.x=Gt;else{const Ro=Gt*wi(Gt);St.x=Math.abs(Ro)<Math.abs(Gt)?Ro:Gt}(Math.abs(St.x)>0||Math.abs(St.y)>0)&&Ut(!0),(Oe=Un.current)==null||Oe.style.setProperty("--swipe-amount-x",`${St.x}px`),(ct=Un.current)==null||ct.style.setProperty("--swipe-amount-y",`${St.y}px`)}},rl&&!g.jsx&&wt!=="loading"?he.createElement("button",{"aria-label":B,"data-disabled":N,"data-close-button":!0,onClick:N||!Dn?()=>{}:()=>{L(),g.onDismiss==null||g.onDismiss.call(g,g)},className:ho(q?.closeButton,g==null||(u=g.classNames)==null?void 0:u.closeButton)},(Ue=F?.close)!=null?Ue:Cj):null,(wt||g.icon||g.promise)&&g.icon!==null&&(F?.[wt]!==null||g.icon)?he.createElement("div",{"data-icon":"",className:ho(q?.icon,g==null||(c=g.classNames)==null?void 0:c.icon)},g.promise||g.type==="loading"&&!g.icon?g.icon||re():null,g.type!=="loading"?ce:null):null,he.createElement("div",{"data-content":"",className:ho(q?.content,g==null||(f=g.classNames)==null?void 0:f.content)},he.createElement("div",{"data-title":"",className:ho(q?.title,g==null||(m=g.classNames)==null?void 0:m.title)},g.jsx?g.jsx:typeof g.title=="function"?g.title():g.title),g.description?he.createElement("div",{"data-description":"",className:ho(ue,ns,q?.description,g==null||(p=g.classNames)==null?void 0:p.description)},typeof g.description=="function"?g.description():g.description):null),he.isValidElement(g.cancel)?g.cancel:g.cancel&&Hf(g.cancel)?he.createElement("button",{"data-button":!0,"data-cancel":!0,style:g.cancelButtonStyle||Q,onClick:le=>{Hf(g.cancel)&&Dn&&(g.cancel.onClick==null||g.cancel.onClick.call(g.cancel,le),L())},className:ho(q?.cancelButton,g==null||(b=g.classNames)==null?void 0:b.cancelButton)},g.cancel.label):null,he.isValidElement(g.action)?g.action:g.action&&Hf(g.action)?he.createElement("button",{"data-button":!0,"data-action":!0,style:g.actionButtonStyle||oe,onClick:le=>{Hf(g.action)&&(g.action.onClick==null||g.action.onClick.call(g.action,le),!le.defaultPrevented&&L())},className:ho(q?.actionButton,g==null||(x=g.classNames)==null?void 0:x.actionButton)},g.action.label):null)};function zN(){if(typeof window>"u"||typeof document>"u")return"ltr";const a=document.documentElement.getAttribute("dir");return a==="auto"||!a?window.getComputedStyle(document.documentElement).direction:a}function Pj(a,r){const s={};return[a,r].forEach((u,c)=>{const f=c===1,m=f?"--mobile-offset":"--offset",p=f?kj:zj;function b(x){["top","right","bottom","left"].forEach(E=>{s[`${m}-${E}`]=typeof x=="number"?`${x}px`:x})}typeof u=="number"||typeof u=="string"?b(u):typeof u=="object"?["top","right","bottom","left"].forEach(x=>{u[x]===void 0?s[`${m}-${x}`]=p:s[`${m}-${x}`]=typeof u[x]=="number"?`${u[x]}px`:u[x]}):b(p)}),s}const Qj=he.forwardRef(function(r,s){const{id:u,invert:c,position:f="bottom-right",hotkey:m=["altKey","KeyT"],expand:p,closeButton:b,className:x,offset:E,mobileOffset:g,theme:S="light",richColors:C,duration:T,style:D,visibleToasts:V=Mj,toastOptions:j,dir:U=zN(),gap:ee=Uj,icons:ie,containerAriaLabel:W="Notifications"}=r,[te,P]=he.useState([]),Q=he.useMemo(()=>u?te.filter(X=>X.toasterId===u):te.filter(X=>!X.toasterId),[te,u]),oe=he.useMemo(()=>Array.from(new Set([f].concat(Q.filter(X=>X.position).map(X=>X.position)))),[Q,f]),[I,ue]=he.useState([]),[K,ne]=he.useState(!1),[me,ve]=he.useState(!1),[q,F]=he.useState(S!=="system"?S:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),B=he.useRef(null),fe=m.join("+").replace(/Key/g,"").replace(/Digit/g,""),Se=he.useRef(null),O=he.useRef(!1),ae=he.useCallback(X=>{P(Z=>{var xe;return(xe=Z.find(Ie=>Ie.id===X.id))!=null&&xe.delete||Vn.dismiss(X.id),Z.filter(({id:Ie})=>Ie!==X.id)})},[]);return he.useEffect(()=>Vn.subscribe(X=>{if(X.dismiss){requestAnimationFrame(()=>{P(Z=>Z.map(xe=>xe.id===X.id?{...xe,delete:!0}:xe))});return}setTimeout(()=>{bj.flushSync(()=>{P(Z=>{const xe=Z.findIndex(Ie=>Ie.id===X.id);return xe!==-1?[...Z.slice(0,xe),{...Z[xe],...X},...Z.slice(xe+1)]:[X,...Z]})})})}),[te]),he.useEffect(()=>{if(S!=="system"){F(S);return}if(S==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?F("dark"):F("light")),typeof window>"u")return;const X=window.matchMedia("(prefers-color-scheme: dark)");try{X.addEventListener("change",({matches:Z})=>{F(Z?"dark":"light")})}catch{X.addListener(({matches:xe})=>{try{F(xe?"dark":"light")}catch(Ie){console.error(Ie)}})}},[S]),he.useEffect(()=>{te.length<=1&&ne(!1)},[te]),he.useEffect(()=>{const X=Z=>{var xe;if(m.every(ze=>Z[ze]||Z.code===ze)){var pe;ne(!0),(pe=B.current)==null||pe.focus()}Z.code==="Escape"&&(document.activeElement===B.current||(xe=B.current)!=null&&xe.contains(document.activeElement))&&ne(!1)};return document.addEventListener("keydown",X),()=>document.removeEventListener("keydown",X)},[m]),he.useEffect(()=>{if(B.current)return()=>{Se.current&&(Se.current.focus({preventScroll:!0}),Se.current=null,O.current=!1)}},[B.current]),he.createElement("section",{ref:s,"aria-label":`${W} ${fe}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},oe.map((X,Z)=>{var xe;const[Ie,pe]=X.split("-");return Q.length?he.createElement("ol",{key:X,dir:U==="auto"?zN():U,tabIndex:-1,ref:B,className:x,"data-sonner-toaster":!0,"data-sonner-theme":q,"data-y-position":Ie,"data-x-position":pe,style:{"--front-toast-height":`${((xe=I[0])==null?void 0:xe.height)||0}px`,"--width":`${Vj}px`,"--gap":`${ee}px`,...D,...Pj(E,g)},onBlur:ze=>{O.current&&!ze.currentTarget.contains(ze.relatedTarget)&&(O.current=!1,Se.current&&(Se.current.focus({preventScroll:!0}),Se.current=null))},onFocus:ze=>{ze.target instanceof HTMLElement&&ze.target.dataset.dismissible==="false"||O.current||(O.current=!0,Se.current=ze.relatedTarget)},onMouseEnter:()=>ne(!0),onMouseMove:()=>ne(!0),onMouseLeave:()=>{me||ne(!1)},onDragEnd:()=>ne(!1),onPointerDown:ze=>{ze.target instanceof HTMLElement&&ze.target.dataset.dismissible==="false"||ve(!0)},onPointerUp:()=>ve(!1)},Q.filter(ze=>!ze.position&&Z===0||ze.position===X).map((ze,st)=>{var Ct,be;return he.createElement(Bj,{key:ze.id,icons:ie,index:st,toast:ze,defaultRichColors:C,duration:(Ct=j?.duration)!=null?Ct:T,className:j?.className,descriptionClassName:j?.descriptionClassName,invert:c,visibleToasts:V,closeButton:(be=j?.closeButton)!=null?be:b,interacting:me,position:X,style:j?.style,unstyled:j?.unstyled,classNames:j?.classNames,cancelButtonStyle:j?.cancelButtonStyle,actionButtonStyle:j?.actionButtonStyle,closeButtonAriaLabel:j?.closeButtonAriaLabel,removeToast:ae,toasts:Q.filter(Ut=>Ut.position==ze.position),heights:I.filter(Ut=>Ut.position==ze.position),setHeights:ue,expandByDefault:p,gap:ee,expanded:K,swipeDirections:r.swipeDirections})})):null}))}),Yj=({...a})=>{const{theme:r="system"}=pj();return v.jsxDEV(Qj,{"data-loc":"client/src/components/ui/sonner.tsx:8",theme:r,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...a},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/components/ui/sonner.tsx",lineNumber:8,columnNumber:5},void 0)};function go(a,r,{checkForDefaultPrevented:s=!0}={}){return function(c){if(a?.(c),s===!1||!c.defaultPrevented)return r?.(c)}}function kN(a,r){if(typeof a=="function")return a(r);a!=null&&(a.current=r)}function mC(...a){return r=>{let s=!1;const u=a.map(c=>{const f=kN(c,r);return!s&&typeof f=="function"&&(s=!0),f});if(s)return()=>{for(let c=0;c<u.length;c++){const f=u[c];typeof f=="function"?f():kN(a[c],null)}}}}function ir(...a){return A.useCallback(mC(...a),a)}function ay(a,r=[]){let s=[];function u(f,m){const p=A.createContext(m),b=s.length;s=[...s,m];const x=g=>{const{scope:S,children:C,...T}=g,D=S?.[a]?.[b]||p,V=A.useMemo(()=>T,Object.values(T));return Fe.jsx(D.Provider,{value:V,children:C})};x.displayName=f+"Provider";function E(g,S){const C=S?.[a]?.[b]||p,T=A.useContext(C);if(T)return T;if(m!==void 0)return m;throw new Error(`\`${g}\` must be used within \`${f}\``)}return[x,E]}const c=()=>{const f=s.map(m=>A.createContext(m));return function(p){const b=p?.[a]||f;return A.useMemo(()=>({[`__scope${a}`]:{...p,[a]:b}}),[p,b])}};return c.scopeName=a,[u,$j(c,...r)]}function $j(...a){const r=a[0];if(a.length===1)return r;const s=()=>{const u=a.map(c=>({useScope:c(),scopeName:c.scopeName}));return function(f){const m=u.reduce((p,{useScope:b,scopeName:x})=>{const g=b(f)[`__scope${x}`];return{...p,...g}},{});return A.useMemo(()=>({[`__scope${r.scopeName}`]:m}),[m])}};return s.scopeName=r.scopeName,s}function hC(a){const r=Ij(a),s=A.forwardRef((u,c)=>{const{children:f,...m}=u,p=A.Children.toArray(f),b=p.find(Fj);if(b){const x=b.props.children,E=p.map(g=>g===b?A.Children.count(x)>1?A.Children.only(null):A.isValidElement(x)?x.props.children:null:g);return Fe.jsx(r,{...m,ref:c,children:A.isValidElement(x)?A.cloneElement(x,void 0,E):null})}return Fe.jsx(r,{...m,ref:c,children:f})});return s.displayName=`${a}.Slot`,s}var Gj=hC("Slot");function Ij(a){const r=A.forwardRef((s,u)=>{const{children:c,...f}=s;if(A.isValidElement(c)){const m=Jj(c),p=Zj(f,c.props);return c.type!==A.Fragment&&(p.ref=u?mC(u,m):m),A.cloneElement(c,p)}return A.Children.count(c)>1?A.Children.only(null):null});return r.displayName=`${a}.SlotClone`,r}var pC=Symbol("radix.slottable");function Xj(a){const r=({children:s})=>Fe.jsx(Fe.Fragment,{children:s});return r.displayName=`${a}.Slottable`,r.__radixId=pC,r}function Fj(a){return A.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===pC}function Zj(a,r){const s={...r};for(const u in r){const c=a[u],f=r[u];/^on[A-Z]/.test(u)?c&&f?s[u]=(...p)=>{const b=f(...p);return c(...p),b}:c&&(s[u]=c):u==="style"?s[u]={...c,...f}:u==="className"&&(s[u]=[c,f].filter(Boolean).join(" "))}return{...a,...s}}function Jj(a){let r=Object.getOwnPropertyDescriptor(a.props,"ref")?.get,s=r&&"isReactWarning"in r&&r.isReactWarning;return s?a.ref:(r=Object.getOwnPropertyDescriptor(a,"ref")?.get,s=r&&"isReactWarning"in r&&r.isReactWarning,s?a.props.ref:a.props.ref||a.ref)}var Kj=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],So=Kj.reduce((a,r)=>{const s=hC(`Primitive.${r}`),u=A.forwardRef((c,f)=>{const{asChild:m,...p}=c,b=m?s:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),Fe.jsx(b,{...p,ref:f})});return u.displayName=`Primitive.${r}`,{...a,[r]:u}},{});function Wj(a,r){a&&ny.flushSync(()=>a.dispatchEvent(r))}function fm(a){const r=A.useRef(a);return A.useEffect(()=>{r.current=a}),A.useMemo(()=>(...s)=>r.current?.(...s),[])}function e5(a,r=globalThis?.document){const s=fm(a);A.useEffect(()=>{const u=c=>{c.key==="Escape"&&s(c)};return r.addEventListener("keydown",u,{capture:!0}),()=>r.removeEventListener("keydown",u,{capture:!0})},[s,r])}var t5="DismissableLayer",Hg="dismissableLayer.update",n5="dismissableLayer.pointerDownOutside",a5="dismissableLayer.focusOutside",VN,bC=A.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),gC=A.forwardRef((a,r)=>{const{disableOutsidePointerEvents:s=!1,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:f,onInteractOutside:m,onDismiss:p,...b}=a,x=A.useContext(bC),[E,g]=A.useState(null),S=E?.ownerDocument??globalThis?.document,[,C]=A.useState({}),T=ir(r,P=>g(P)),D=Array.from(x.layers),[V]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),j=D.indexOf(V),U=E?D.indexOf(E):-1,ee=x.layersWithOutsidePointerEventsDisabled.size>0,ie=U>=j,W=l5(P=>{const Q=P.target,oe=[...x.branches].some(I=>I.contains(Q));!ie||oe||(c?.(P),m?.(P),P.defaultPrevented||p?.())},S),te=s5(P=>{const Q=P.target;[...x.branches].some(I=>I.contains(Q))||(f?.(P),m?.(P),P.defaultPrevented||p?.())},S);return e5(P=>{U===x.layers.size-1&&(u?.(P),!P.defaultPrevented&&p&&(P.preventDefault(),p()))},S),A.useEffect(()=>{if(E)return s&&(x.layersWithOutsidePointerEventsDisabled.size===0&&(VN=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),x.layersWithOutsidePointerEventsDisabled.add(E)),x.layers.add(E),UN(),()=>{s&&x.layersWithOutsidePointerEventsDisabled.size===1&&(S.body.style.pointerEvents=VN)}},[E,S,s,x]),A.useEffect(()=>()=>{E&&(x.layers.delete(E),x.layersWithOutsidePointerEventsDisabled.delete(E),UN())},[E,x]),A.useEffect(()=>{const P=()=>C({});return document.addEventListener(Hg,P),()=>document.removeEventListener(Hg,P)},[]),Fe.jsx(So.div,{...b,ref:T,style:{pointerEvents:ee?ie?"auto":"none":void 0,...a.style},onFocusCapture:go(a.onFocusCapture,te.onFocusCapture),onBlurCapture:go(a.onBlurCapture,te.onBlurCapture),onPointerDownCapture:go(a.onPointerDownCapture,W.onPointerDownCapture)})});gC.displayName=t5;var o5="DismissableLayerBranch",r5=A.forwardRef((a,r)=>{const s=A.useContext(bC),u=A.useRef(null),c=ir(r,u);return A.useEffect(()=>{const f=u.current;if(f)return s.branches.add(f),()=>{s.branches.delete(f)}},[s.branches]),Fe.jsx(So.div,{...a,ref:c})});r5.displayName=o5;function l5(a,r=globalThis?.document){const s=fm(a),u=A.useRef(!1),c=A.useRef(()=>{});return A.useEffect(()=>{const f=p=>{if(p.target&&!u.current){let b=function(){yC(n5,s,x,{discrete:!0})};const x={originalEvent:p};p.pointerType==="touch"?(r.removeEventListener("click",c.current),c.current=b,r.addEventListener("click",c.current,{once:!0})):b()}else r.removeEventListener("click",c.current);u.current=!1},m=window.setTimeout(()=>{r.addEventListener("pointerdown",f)},0);return()=>{window.clearTimeout(m),r.removeEventListener("pointerdown",f),r.removeEventListener("click",c.current)}},[r,s]),{onPointerDownCapture:()=>u.current=!0}}function s5(a,r=globalThis?.document){const s=fm(a),u=A.useRef(!1);return A.useEffect(()=>{const c=f=>{f.target&&!u.current&&yC(a5,s,{originalEvent:f},{discrete:!1})};return r.addEventListener("focusin",c),()=>r.removeEventListener("focusin",c)},[r,s]),{onFocusCapture:()=>u.current=!0,onBlurCapture:()=>u.current=!1}}function UN(){const a=new CustomEvent(Hg);document.dispatchEvent(a)}function yC(a,r,s,{discrete:u}){const c=s.originalEvent.target,f=new CustomEvent(a,{bubbles:!1,cancelable:!0,detail:s});r&&c.addEventListener(a,r,{once:!0}),u?Wj(c,f):c.dispatchEvent(f)}var ci=globalThis?.document?A.useLayoutEffect:()=>{};const i5=["top","right","bottom","left"],nl=Math.min,Kn=Math.max,Wf=Math.round,Lf=Math.floor,vo=a=>({x:a,y:a}),u5={left:"right",right:"left",bottom:"top",top:"bottom"},c5={start:"end",end:"start"};function Lg(a,r,s){return Kn(a,nl(r,s))}function rr(a,r){return typeof a=="function"?a(r):a}function lr(a){return a.split("-")[0]}function pi(a){return a.split("-")[1]}function oy(a){return a==="x"?"y":"x"}function ry(a){return a==="y"?"height":"width"}const d5=new Set(["top","bottom"]);function yo(a){return d5.has(lr(a))?"y":"x"}function ly(a){return oy(yo(a))}function f5(a,r,s){s===void 0&&(s=!1);const u=pi(a),c=ly(a),f=ry(c);let m=c==="x"?u===(s?"end":"start")?"right":"left":u==="start"?"bottom":"top";return r.reference[f]>r.floating[f]&&(m=em(m)),[m,em(m)]}function m5(a){const r=em(a);return[qg(a),r,qg(r)]}function qg(a){return a.replace(/start|end/g,r=>c5[r])}const HN=["left","right"],LN=["right","left"],h5=["top","bottom"],p5=["bottom","top"];function b5(a,r,s){switch(a){case"top":case"bottom":return s?r?LN:HN:r?HN:LN;case"left":case"right":return r?h5:p5;default:return[]}}function g5(a,r,s,u){const c=pi(a);let f=b5(lr(a),s==="start",u);return c&&(f=f.map(m=>m+"-"+c),r&&(f=f.concat(f.map(qg)))),f}function em(a){return a.replace(/left|right|bottom|top/g,r=>u5[r])}function y5(a){return{top:0,right:0,bottom:0,left:0,...a}}function vC(a){return typeof a!="number"?y5(a):{top:a,right:a,bottom:a,left:a}}function tm(a){const{x:r,y:s,width:u,height:c}=a;return{width:u,height:c,top:s,left:r,right:r+u,bottom:s+c,x:r,y:s}}function qN(a,r,s){let{reference:u,floating:c}=a;const f=yo(r),m=ly(r),p=ry(m),b=lr(r),x=f==="y",E=u.x+u.width/2-c.width/2,g=u.y+u.height/2-c.height/2,S=u[p]/2-c[p]/2;let C;switch(b){case"top":C={x:E,y:u.y-c.height};break;case"bottom":C={x:E,y:u.y+u.height};break;case"right":C={x:u.x+u.width,y:g};break;case"left":C={x:u.x-c.width,y:g};break;default:C={x:u.x,y:u.y}}switch(pi(r)){case"start":C[m]-=S*(s&&x?-1:1);break;case"end":C[m]+=S*(s&&x?-1:1);break}return C}const v5=async(a,r,s)=>{const{placement:u="bottom",strategy:c="absolute",middleware:f=[],platform:m}=s,p=f.filter(Boolean),b=await(m.isRTL==null?void 0:m.isRTL(r));let x=await m.getElementRects({reference:a,floating:r,strategy:c}),{x:E,y:g}=qN(x,u,b),S=u,C={},T=0;for(let D=0;D<p.length;D++){const{name:V,fn:j}=p[D],{x:U,y:ee,data:ie,reset:W}=await j({x:E,y:g,initialPlacement:u,placement:S,strategy:c,middlewareData:C,rects:x,platform:m,elements:{reference:a,floating:r}});E=U??E,g=ee??g,C={...C,[V]:{...C[V],...ie}},W&&T<=50&&(T++,typeof W=="object"&&(W.placement&&(S=W.placement),W.rects&&(x=W.rects===!0?await m.getElementRects({reference:a,floating:r,strategy:c}):W.rects),{x:E,y:g}=qN(x,S,b)),D=-1)}return{x:E,y:g,placement:S,strategy:c,middlewareData:C}};async function cc(a,r){var s;r===void 0&&(r={});const{x:u,y:c,platform:f,rects:m,elements:p,strategy:b}=a,{boundary:x="clippingAncestors",rootBoundary:E="viewport",elementContext:g="floating",altBoundary:S=!1,padding:C=0}=rr(r,a),T=vC(C),V=p[S?g==="floating"?"reference":"floating":g],j=tm(await f.getClippingRect({element:(s=await(f.isElement==null?void 0:f.isElement(V)))==null||s?V:V.contextElement||await(f.getDocumentElement==null?void 0:f.getDocumentElement(p.floating)),boundary:x,rootBoundary:E,strategy:b})),U=g==="floating"?{x:u,y:c,width:m.floating.width,height:m.floating.height}:m.reference,ee=await(f.getOffsetParent==null?void 0:f.getOffsetParent(p.floating)),ie=await(f.isElement==null?void 0:f.isElement(ee))?await(f.getScale==null?void 0:f.getScale(ee))||{x:1,y:1}:{x:1,y:1},W=tm(f.convertOffsetParentRelativeRectToViewportRelativeRect?await f.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:U,offsetParent:ee,strategy:b}):U);return{top:(j.top-W.top+T.top)/ie.y,bottom:(W.bottom-j.bottom+T.bottom)/ie.y,left:(j.left-W.left+T.left)/ie.x,right:(W.right-j.right+T.right)/ie.x}}const x5=a=>({name:"arrow",options:a,async fn(r){const{x:s,y:u,placement:c,rects:f,platform:m,elements:p,middlewareData:b}=r,{element:x,padding:E=0}=rr(a,r)||{};if(x==null)return{};const g=vC(E),S={x:s,y:u},C=ly(c),T=ry(C),D=await m.getDimensions(x),V=C==="y",j=V?"top":"left",U=V?"bottom":"right",ee=V?"clientHeight":"clientWidth",ie=f.reference[T]+f.reference[C]-S[C]-f.floating[T],W=S[C]-f.reference[C],te=await(m.getOffsetParent==null?void 0:m.getOffsetParent(x));let P=te?te[ee]:0;(!P||!await(m.isElement==null?void 0:m.isElement(te)))&&(P=p.floating[ee]||f.floating[T]);const Q=ie/2-W/2,oe=P/2-D[T]/2-1,I=nl(g[j],oe),ue=nl(g[U],oe),K=I,ne=P-D[T]-ue,me=P/2-D[T]/2+Q,ve=Lg(K,me,ne),q=!b.arrow&&pi(c)!=null&&me!==ve&&f.reference[T]/2-(me<K?I:ue)-D[T]/2<0,F=q?me<K?me-K:me-ne:0;return{[C]:S[C]+F,data:{[C]:ve,centerOffset:me-ve-F,...q&&{alignmentOffset:F}},reset:q}}}),w5=function(a){return a===void 0&&(a={}),{name:"flip",options:a,async fn(r){var s,u;const{placement:c,middlewareData:f,rects:m,initialPlacement:p,platform:b,elements:x}=r,{mainAxis:E=!0,crossAxis:g=!0,fallbackPlacements:S,fallbackStrategy:C="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:D=!0,...V}=rr(a,r);if((s=f.arrow)!=null&&s.alignmentOffset)return{};const j=lr(c),U=yo(p),ee=lr(p)===p,ie=await(b.isRTL==null?void 0:b.isRTL(x.floating)),W=S||(ee||!D?[em(p)]:m5(p)),te=T!=="none";!S&&te&&W.push(...g5(p,D,T,ie));const P=[p,...W],Q=await cc(r,V),oe=[];let I=((u=f.flip)==null?void 0:u.overflows)||[];if(E&&oe.push(Q[j]),g){const me=f5(c,m,ie);oe.push(Q[me[0]],Q[me[1]])}if(I=[...I,{placement:c,overflows:oe}],!oe.every(me=>me<=0)){var ue,K;const me=(((ue=f.flip)==null?void 0:ue.index)||0)+1,ve=P[me];if(ve&&(!(g==="alignment"?U!==yo(ve):!1)||I.every(B=>yo(B.placement)===U?B.overflows[0]>0:!0)))return{data:{index:me,overflows:I},reset:{placement:ve}};let q=(K=I.filter(F=>F.overflows[0]<=0).sort((F,B)=>F.overflows[1]-B.overflows[1])[0])==null?void 0:K.placement;if(!q)switch(C){case"bestFit":{var ne;const F=(ne=I.filter(B=>{if(te){const fe=yo(B.placement);return fe===U||fe==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(fe=>fe>0).reduce((fe,Se)=>fe+Se,0)]).sort((B,fe)=>B[1]-fe[1])[0])==null?void 0:ne[0];F&&(q=F);break}case"initialPlacement":q=p;break}if(c!==q)return{reset:{placement:q}}}return{}}}};function BN(a,r){return{top:a.top-r.height,right:a.right-r.width,bottom:a.bottom-r.height,left:a.left-r.width}}function PN(a){return i5.some(r=>a[r]>=0)}const S5=function(a){return a===void 0&&(a={}),{name:"hide",options:a,async fn(r){const{rects:s}=r,{strategy:u="referenceHidden",...c}=rr(a,r);switch(u){case"referenceHidden":{const f=await cc(r,{...c,elementContext:"reference"}),m=BN(f,s.reference);return{data:{referenceHiddenOffsets:m,referenceHidden:PN(m)}}}case"escaped":{const f=await cc(r,{...c,altBoundary:!0}),m=BN(f,s.floating);return{data:{escapedOffsets:m,escaped:PN(m)}}}default:return{}}}}},xC=new Set(["left","top"]);async function N5(a,r){const{placement:s,platform:u,elements:c}=a,f=await(u.isRTL==null?void 0:u.isRTL(c.floating)),m=lr(s),p=pi(s),b=yo(s)==="y",x=xC.has(m)?-1:1,E=f&&b?-1:1,g=rr(r,a);let{mainAxis:S,crossAxis:C,alignmentAxis:T}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return p&&typeof T=="number"&&(C=p==="end"?T*-1:T),b?{x:C*E,y:S*x}:{x:S*x,y:C*E}}const E5=function(a){return a===void 0&&(a=0),{name:"offset",options:a,async fn(r){var s,u;const{x:c,y:f,placement:m,middlewareData:p}=r,b=await N5(r,a);return m===((s=p.offset)==null?void 0:s.placement)&&(u=p.arrow)!=null&&u.alignmentOffset?{}:{x:c+b.x,y:f+b.y,data:{...b,placement:m}}}}},C5=function(a){return a===void 0&&(a={}),{name:"shift",options:a,async fn(r){const{x:s,y:u,placement:c}=r,{mainAxis:f=!0,crossAxis:m=!1,limiter:p={fn:V=>{let{x:j,y:U}=V;return{x:j,y:U}}},...b}=rr(a,r),x={x:s,y:u},E=await cc(r,b),g=yo(lr(c)),S=oy(g);let C=x[S],T=x[g];if(f){const V=S==="y"?"top":"left",j=S==="y"?"bottom":"right",U=C+E[V],ee=C-E[j];C=Lg(U,C,ee)}if(m){const V=g==="y"?"top":"left",j=g==="y"?"bottom":"right",U=T+E[V],ee=T-E[j];T=Lg(U,T,ee)}const D=p.fn({...r,[S]:C,[g]:T});return{...D,data:{x:D.x-s,y:D.y-u,enabled:{[S]:f,[g]:m}}}}}},T5=function(a){return a===void 0&&(a={}),{options:a,fn(r){const{x:s,y:u,placement:c,rects:f,middlewareData:m}=r,{offset:p=0,mainAxis:b=!0,crossAxis:x=!0}=rr(a,r),E={x:s,y:u},g=yo(c),S=oy(g);let C=E[S],T=E[g];const D=rr(p,r),V=typeof D=="number"?{mainAxis:D,crossAxis:0}:{mainAxis:0,crossAxis:0,...D};if(b){const ee=S==="y"?"height":"width",ie=f.reference[S]-f.floating[ee]+V.mainAxis,W=f.reference[S]+f.reference[ee]-V.mainAxis;C<ie?C=ie:C>W&&(C=W)}if(x){var j,U;const ee=S==="y"?"width":"height",ie=xC.has(lr(c)),W=f.reference[g]-f.floating[ee]+(ie&&((j=m.offset)==null?void 0:j[g])||0)+(ie?0:V.crossAxis),te=f.reference[g]+f.reference[ee]+(ie?0:((U=m.offset)==null?void 0:U[g])||0)-(ie?V.crossAxis:0);T<W?T=W:T>te&&(T=te)}return{[S]:C,[g]:T}}}},D5=function(a){return a===void 0&&(a={}),{name:"size",options:a,async fn(r){var s,u;const{placement:c,rects:f,platform:m,elements:p}=r,{apply:b=()=>{},...x}=rr(a,r),E=await cc(r,x),g=lr(c),S=pi(c),C=yo(c)==="y",{width:T,height:D}=f.floating;let V,j;g==="top"||g==="bottom"?(V=g,j=S===(await(m.isRTL==null?void 0:m.isRTL(p.floating))?"start":"end")?"left":"right"):(j=g,V=S==="end"?"top":"bottom");const U=D-E.top-E.bottom,ee=T-E.left-E.right,ie=nl(D-E[V],U),W=nl(T-E[j],ee),te=!r.middlewareData.shift;let P=ie,Q=W;if((s=r.middlewareData.shift)!=null&&s.enabled.x&&(Q=ee),(u=r.middlewareData.shift)!=null&&u.enabled.y&&(P=U),te&&!S){const I=Kn(E.left,0),ue=Kn(E.right,0),K=Kn(E.top,0),ne=Kn(E.bottom,0);C?Q=T-2*(I!==0||ue!==0?I+ue:Kn(E.left,E.right)):P=D-2*(K!==0||ne!==0?K+ne:Kn(E.top,E.bottom))}await b({...r,availableWidth:Q,availableHeight:P});const oe=await m.getDimensions(p.floating);return T!==oe.width||D!==oe.height?{reset:{rects:!0}}:{}}}};function mm(){return typeof window<"u"}function bi(a){return wC(a)?(a.nodeName||"").toLowerCase():"#document"}function Wn(a){var r;return(a==null||(r=a.ownerDocument)==null?void 0:r.defaultView)||window}function No(a){var r;return(r=(wC(a)?a.ownerDocument:a.document)||window.document)==null?void 0:r.documentElement}function wC(a){return mm()?a instanceof Node||a instanceof Wn(a).Node:!1}function _a(a){return mm()?a instanceof Element||a instanceof Wn(a).Element:!1}function xo(a){return mm()?a instanceof HTMLElement||a instanceof Wn(a).HTMLElement:!1}function QN(a){return!mm()||typeof ShadowRoot>"u"?!1:a instanceof ShadowRoot||a instanceof Wn(a).ShadowRoot}const O5=new Set(["inline","contents"]);function gc(a){const{overflow:r,overflowX:s,overflowY:u,display:c}=ja(a);return/auto|scroll|overlay|hidden|clip/.test(r+u+s)&&!O5.has(c)}const R5=new Set(["table","td","th"]);function A5(a){return R5.has(bi(a))}const _5=[":popover-open",":modal"];function hm(a){return _5.some(r=>{try{return a.matches(r)}catch{return!1}})}const j5=["transform","translate","scale","rotate","perspective"],M5=["transform","translate","scale","rotate","perspective","filter"],z5=["paint","layout","strict","content"];function sy(a){const r=iy(),s=_a(a)?ja(a):a;return j5.some(u=>s[u]?s[u]!=="none":!1)||(s.containerType?s.containerType!=="normal":!1)||!r&&(s.backdropFilter?s.backdropFilter!=="none":!1)||!r&&(s.filter?s.filter!=="none":!1)||M5.some(u=>(s.willChange||"").includes(u))||z5.some(u=>(s.contain||"").includes(u))}function k5(a){let r=al(a);for(;xo(r)&&!di(r);){if(sy(r))return r;if(hm(r))return null;r=al(r)}return null}function iy(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const V5=new Set(["html","body","#document"]);function di(a){return V5.has(bi(a))}function ja(a){return Wn(a).getComputedStyle(a)}function pm(a){return _a(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function al(a){if(bi(a)==="html")return a;const r=a.assignedSlot||a.parentNode||QN(a)&&a.host||No(a);return QN(r)?r.host:r}function SC(a){const r=al(a);return di(r)?a.ownerDocument?a.ownerDocument.body:a.body:xo(r)&&gc(r)?r:SC(r)}function dc(a,r,s){var u;r===void 0&&(r=[]),s===void 0&&(s=!0);const c=SC(a),f=c===((u=a.ownerDocument)==null?void 0:u.body),m=Wn(c);if(f){const p=Bg(m);return r.concat(m,m.visualViewport||[],gc(c)?c:[],p&&s?dc(p):[])}return r.concat(c,dc(c,[],s))}function Bg(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function NC(a){const r=ja(a);let s=parseFloat(r.width)||0,u=parseFloat(r.height)||0;const c=xo(a),f=c?a.offsetWidth:s,m=c?a.offsetHeight:u,p=Wf(s)!==f||Wf(u)!==m;return p&&(s=f,u=m),{width:s,height:u,$:p}}function uy(a){return _a(a)?a:a.contextElement}function si(a){const r=uy(a);if(!xo(r))return vo(1);const s=r.getBoundingClientRect(),{width:u,height:c,$:f}=NC(r);let m=(f?Wf(s.width):s.width)/u,p=(f?Wf(s.height):s.height)/c;return(!m||!Number.isFinite(m))&&(m=1),(!p||!Number.isFinite(p))&&(p=1),{x:m,y:p}}const U5=vo(0);function EC(a){const r=Wn(a);return!iy()||!r.visualViewport?U5:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function H5(a,r,s){return r===void 0&&(r=!1),!s||r&&s!==Wn(a)?!1:r}function Kl(a,r,s,u){r===void 0&&(r=!1),s===void 0&&(s=!1);const c=a.getBoundingClientRect(),f=uy(a);let m=vo(1);r&&(u?_a(u)&&(m=si(u)):m=si(a));const p=H5(f,s,u)?EC(f):vo(0);let b=(c.left+p.x)/m.x,x=(c.top+p.y)/m.y,E=c.width/m.x,g=c.height/m.y;if(f){const S=Wn(f),C=u&&_a(u)?Wn(u):u;let T=S,D=Bg(T);for(;D&&u&&C!==T;){const V=si(D),j=D.getBoundingClientRect(),U=ja(D),ee=j.left+(D.clientLeft+parseFloat(U.paddingLeft))*V.x,ie=j.top+(D.clientTop+parseFloat(U.paddingTop))*V.y;b*=V.x,x*=V.y,E*=V.x,g*=V.y,b+=ee,x+=ie,T=Wn(D),D=Bg(T)}}return tm({width:E,height:g,x:b,y:x})}function bm(a,r){const s=pm(a).scrollLeft;return r?r.left+s:Kl(No(a)).left+s}function CC(a,r){const s=a.getBoundingClientRect(),u=s.left+r.scrollLeft-bm(a,s),c=s.top+r.scrollTop;return{x:u,y:c}}function L5(a){let{elements:r,rect:s,offsetParent:u,strategy:c}=a;const f=c==="fixed",m=No(u),p=r?hm(r.floating):!1;if(u===m||p&&f)return s;let b={scrollLeft:0,scrollTop:0},x=vo(1);const E=vo(0),g=xo(u);if((g||!g&&!f)&&((bi(u)!=="body"||gc(m))&&(b=pm(u)),xo(u))){const C=Kl(u);x=si(u),E.x=C.x+u.clientLeft,E.y=C.y+u.clientTop}const S=m&&!g&&!f?CC(m,b):vo(0);return{width:s.width*x.x,height:s.height*x.y,x:s.x*x.x-b.scrollLeft*x.x+E.x+S.x,y:s.y*x.y-b.scrollTop*x.y+E.y+S.y}}function q5(a){return Array.from(a.getClientRects())}function B5(a){const r=No(a),s=pm(a),u=a.ownerDocument.body,c=Kn(r.scrollWidth,r.clientWidth,u.scrollWidth,u.clientWidth),f=Kn(r.scrollHeight,r.clientHeight,u.scrollHeight,u.clientHeight);let m=-s.scrollLeft+bm(a);const p=-s.scrollTop;return ja(u).direction==="rtl"&&(m+=Kn(r.clientWidth,u.clientWidth)-c),{width:c,height:f,x:m,y:p}}const YN=25;function P5(a,r){const s=Wn(a),u=No(a),c=s.visualViewport;let f=u.clientWidth,m=u.clientHeight,p=0,b=0;if(c){f=c.width,m=c.height;const E=iy();(!E||E&&r==="fixed")&&(p=c.offsetLeft,b=c.offsetTop)}const x=bm(u);if(x<=0){const E=u.ownerDocument,g=E.body,S=getComputedStyle(g),C=E.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,T=Math.abs(u.clientWidth-g.clientWidth-C);T<=YN&&(f-=T)}else x<=YN&&(f+=x);return{width:f,height:m,x:p,y:b}}const Q5=new Set(["absolute","fixed"]);function Y5(a,r){const s=Kl(a,!0,r==="fixed"),u=s.top+a.clientTop,c=s.left+a.clientLeft,f=xo(a)?si(a):vo(1),m=a.clientWidth*f.x,p=a.clientHeight*f.y,b=c*f.x,x=u*f.y;return{width:m,height:p,x:b,y:x}}function $N(a,r,s){let u;if(r==="viewport")u=P5(a,s);else if(r==="document")u=B5(No(a));else if(_a(r))u=Y5(r,s);else{const c=EC(a);u={x:r.x-c.x,y:r.y-c.y,width:r.width,height:r.height}}return tm(u)}function TC(a,r){const s=al(a);return s===r||!_a(s)||di(s)?!1:ja(s).position==="fixed"||TC(s,r)}function $5(a,r){const s=r.get(a);if(s)return s;let u=dc(a,[],!1).filter(p=>_a(p)&&bi(p)!=="body"),c=null;const f=ja(a).position==="fixed";let m=f?al(a):a;for(;_a(m)&&!di(m);){const p=ja(m),b=sy(m);!b&&p.position==="fixed"&&(c=null),(f?!b&&!c:!b&&p.position==="static"&&!!c&&Q5.has(c.position)||gc(m)&&!b&&TC(a,m))?u=u.filter(E=>E!==m):c=p,m=al(m)}return r.set(a,u),u}function G5(a){let{element:r,boundary:s,rootBoundary:u,strategy:c}=a;const m=[...s==="clippingAncestors"?hm(r)?[]:$5(r,this._c):[].concat(s),u],p=m[0],b=m.reduce((x,E)=>{const g=$N(r,E,c);return x.top=Kn(g.top,x.top),x.right=nl(g.right,x.right),x.bottom=nl(g.bottom,x.bottom),x.left=Kn(g.left,x.left),x},$N(r,p,c));return{width:b.right-b.left,height:b.bottom-b.top,x:b.left,y:b.top}}function I5(a){const{width:r,height:s}=NC(a);return{width:r,height:s}}function X5(a,r,s){const u=xo(r),c=No(r),f=s==="fixed",m=Kl(a,!0,f,r);let p={scrollLeft:0,scrollTop:0};const b=vo(0);function x(){b.x=bm(c)}if(u||!u&&!f)if((bi(r)!=="body"||gc(c))&&(p=pm(r)),u){const C=Kl(r,!0,f,r);b.x=C.x+r.clientLeft,b.y=C.y+r.clientTop}else c&&x();f&&!u&&c&&x();const E=c&&!u&&!f?CC(c,p):vo(0),g=m.left+p.scrollLeft-b.x-E.x,S=m.top+p.scrollTop-b.y-E.y;return{x:g,y:S,width:m.width,height:m.height}}function mg(a){return ja(a).position==="static"}function GN(a,r){if(!xo(a)||ja(a).position==="fixed")return null;if(r)return r(a);let s=a.offsetParent;return No(a)===s&&(s=s.ownerDocument.body),s}function DC(a,r){const s=Wn(a);if(hm(a))return s;if(!xo(a)){let c=al(a);for(;c&&!di(c);){if(_a(c)&&!mg(c))return c;c=al(c)}return s}let u=GN(a,r);for(;u&&A5(u)&&mg(u);)u=GN(u,r);return u&&di(u)&&mg(u)&&!sy(u)?s:u||k5(a)||s}const F5=async function(a){const r=this.getOffsetParent||DC,s=this.getDimensions,u=await s(a.floating);return{reference:X5(a.reference,await r(a.floating),a.strategy),floating:{x:0,y:0,width:u.width,height:u.height}}};function Z5(a){return ja(a).direction==="rtl"}const J5={convertOffsetParentRelativeRectToViewportRelativeRect:L5,getDocumentElement:No,getClippingRect:G5,getOffsetParent:DC,getElementRects:F5,getClientRects:q5,getDimensions:I5,getScale:si,isElement:_a,isRTL:Z5};function OC(a,r){return a.x===r.x&&a.y===r.y&&a.width===r.width&&a.height===r.height}function K5(a,r){let s=null,u;const c=No(a);function f(){var p;clearTimeout(u),(p=s)==null||p.disconnect(),s=null}function m(p,b){p===void 0&&(p=!1),b===void 0&&(b=1),f();const x=a.getBoundingClientRect(),{left:E,top:g,width:S,height:C}=x;if(p||r(),!S||!C)return;const T=Lf(g),D=Lf(c.clientWidth-(E+S)),V=Lf(c.clientHeight-(g+C)),j=Lf(E),ee={rootMargin:-T+"px "+-D+"px "+-V+"px "+-j+"px",threshold:Kn(0,nl(1,b))||1};let ie=!0;function W(te){const P=te[0].intersectionRatio;if(P!==b){if(!ie)return m();P?m(!1,P):u=setTimeout(()=>{m(!1,1e-7)},1e3)}P===1&&!OC(x,a.getBoundingClientRect())&&m(),ie=!1}try{s=new IntersectionObserver(W,{...ee,root:c.ownerDocument})}catch{s=new IntersectionObserver(W,ee)}s.observe(a)}return m(!0),f}function W5(a,r,s,u){u===void 0&&(u={});const{ancestorScroll:c=!0,ancestorResize:f=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:p=typeof IntersectionObserver=="function",animationFrame:b=!1}=u,x=uy(a),E=c||f?[...x?dc(x):[],...dc(r)]:[];E.forEach(j=>{c&&j.addEventListener("scroll",s,{passive:!0}),f&&j.addEventListener("resize",s)});const g=x&&p?K5(x,s):null;let S=-1,C=null;m&&(C=new ResizeObserver(j=>{let[U]=j;U&&U.target===x&&C&&(C.unobserve(r),cancelAnimationFrame(S),S=requestAnimationFrame(()=>{var ee;(ee=C)==null||ee.observe(r)})),s()}),x&&!b&&C.observe(x),C.observe(r));let T,D=b?Kl(a):null;b&&V();function V(){const j=Kl(a);D&&!OC(D,j)&&s(),D=j,T=requestAnimationFrame(V)}return s(),()=>{var j;E.forEach(U=>{c&&U.removeEventListener("scroll",s),f&&U.removeEventListener("resize",s)}),g?.(),(j=C)==null||j.disconnect(),C=null,b&&cancelAnimationFrame(T)}}const e4=E5,t4=C5,n4=w5,a4=D5,o4=S5,IN=x5,r4=T5,l4=(a,r,s)=>{const u=new Map,c={platform:J5,...s},f={...c.platform,_c:u};return v5(a,r,{...c,platform:f})};var s4=typeof document<"u",i4=function(){},Gf=s4?A.useLayoutEffect:i4;function nm(a,r){if(a===r)return!0;if(typeof a!=typeof r)return!1;if(typeof a=="function"&&a.toString()===r.toString())return!0;let s,u,c;if(a&&r&&typeof a=="object"){if(Array.isArray(a)){if(s=a.length,s!==r.length)return!1;for(u=s;u--!==0;)if(!nm(a[u],r[u]))return!1;return!0}if(c=Object.keys(a),s=c.length,s!==Object.keys(r).length)return!1;for(u=s;u--!==0;)if(!{}.hasOwnProperty.call(r,c[u]))return!1;for(u=s;u--!==0;){const f=c[u];if(!(f==="_owner"&&a.$$typeof)&&!nm(a[f],r[f]))return!1}return!0}return a!==a&&r!==r}function RC(a){return typeof window>"u"?1:(a.ownerDocument.defaultView||window).devicePixelRatio||1}function XN(a,r){const s=RC(a);return Math.round(r*s)/s}function hg(a){const r=A.useRef(a);return Gf(()=>{r.current=a}),r}function u4(a){a===void 0&&(a={});const{placement:r="bottom",strategy:s="absolute",middleware:u=[],platform:c,elements:{reference:f,floating:m}={},transform:p=!0,whileElementsMounted:b,open:x}=a,[E,g]=A.useState({x:0,y:0,strategy:s,placement:r,middlewareData:{},isPositioned:!1}),[S,C]=A.useState(u);nm(S,u)||C(u);const[T,D]=A.useState(null),[V,j]=A.useState(null),U=A.useCallback(B=>{B!==te.current&&(te.current=B,D(B))},[]),ee=A.useCallback(B=>{B!==P.current&&(P.current=B,j(B))},[]),ie=f||T,W=m||V,te=A.useRef(null),P=A.useRef(null),Q=A.useRef(E),oe=b!=null,I=hg(b),ue=hg(c),K=hg(x),ne=A.useCallback(()=>{if(!te.current||!P.current)return;const B={placement:r,strategy:s,middleware:S};ue.current&&(B.platform=ue.current),l4(te.current,P.current,B).then(fe=>{const Se={...fe,isPositioned:K.current!==!1};me.current&&!nm(Q.current,Se)&&(Q.current=Se,ny.flushSync(()=>{g(Se)}))})},[S,r,s,ue,K]);Gf(()=>{x===!1&&Q.current.isPositioned&&(Q.current.isPositioned=!1,g(B=>({...B,isPositioned:!1})))},[x]);const me=A.useRef(!1);Gf(()=>(me.current=!0,()=>{me.current=!1}),[]),Gf(()=>{if(ie&&(te.current=ie),W&&(P.current=W),ie&&W){if(I.current)return I.current(ie,W,ne);ne()}},[ie,W,ne,I,oe]);const ve=A.useMemo(()=>({reference:te,floating:P,setReference:U,setFloating:ee}),[U,ee]),q=A.useMemo(()=>({reference:ie,floating:W}),[ie,W]),F=A.useMemo(()=>{const B={position:s,left:0,top:0};if(!q.floating)return B;const fe=XN(q.floating,E.x),Se=XN(q.floating,E.y);return p?{...B,transform:"translate("+fe+"px, "+Se+"px)",...RC(q.floating)>=1.5&&{willChange:"transform"}}:{position:s,left:fe,top:Se}},[s,p,q.floating,E.x,E.y]);return A.useMemo(()=>({...E,update:ne,refs:ve,elements:q,floatingStyles:F}),[E,ne,ve,q,F])}const c4=a=>{function r(s){return{}.hasOwnProperty.call(s,"current")}return{name:"arrow",options:a,fn(s){const{element:u,padding:c}=typeof a=="function"?a(s):a;return u&&r(u)?u.current!=null?IN({element:u.current,padding:c}).fn(s):{}:u?IN({element:u,padding:c}).fn(s):{}}}},d4=(a,r)=>({...e4(a),options:[a,r]}),f4=(a,r)=>({...t4(a),options:[a,r]}),m4=(a,r)=>({...r4(a),options:[a,r]}),h4=(a,r)=>({...n4(a),options:[a,r]}),p4=(a,r)=>({...a4(a),options:[a,r]}),b4=(a,r)=>({...o4(a),options:[a,r]}),g4=(a,r)=>({...c4(a),options:[a,r]});var y4="Arrow",AC=A.forwardRef((a,r)=>{const{children:s,width:u=10,height:c=5,...f}=a;return Fe.jsx(So.svg,{...f,ref:r,width:u,height:c,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:a.asChild?s:Fe.jsx("polygon",{points:"0,0 30,0 15,10"})})});AC.displayName=y4;var v4=AC;function _C(a){const[r,s]=A.useState(void 0);return ci(()=>{if(a){s({width:a.offsetWidth,height:a.offsetHeight});const u=new ResizeObserver(c=>{if(!Array.isArray(c)||!c.length)return;const f=c[0];let m,p;if("borderBoxSize"in f){const b=f.borderBoxSize,x=Array.isArray(b)?b[0]:b;m=x.inlineSize,p=x.blockSize}else m=a.offsetWidth,p=a.offsetHeight;s({width:m,height:p})});return u.observe(a,{box:"border-box"}),()=>u.unobserve(a)}else s(void 0)},[a]),r}var jC="Popper",[MC,zC]=ay(jC),[f6,kC]=MC(jC),VC="PopperAnchor",UC=A.forwardRef((a,r)=>{const{__scopePopper:s,virtualRef:u,...c}=a,f=kC(VC,s),m=A.useRef(null),p=ir(r,m),b=A.useRef(null);return A.useEffect(()=>{const x=b.current;b.current=u?.current||m.current,x!==b.current&&f.onAnchorChange(b.current)}),u?null:Fe.jsx(So.div,{...c,ref:p})});UC.displayName=VC;var cy="PopperContent",[x4,w4]=MC(cy),HC=A.forwardRef((a,r)=>{const{__scopePopper:s,side:u="bottom",sideOffset:c=0,align:f="center",alignOffset:m=0,arrowPadding:p=0,avoidCollisions:b=!0,collisionBoundary:x=[],collisionPadding:E=0,sticky:g="partial",hideWhenDetached:S=!1,updatePositionStrategy:C="optimized",onPlaced:T,...D}=a,V=kC(cy,s),[j,U]=A.useState(null),ee=ir(r,pe=>U(pe)),[ie,W]=A.useState(null),te=_C(ie),P=te?.width??0,Q=te?.height??0,oe=u+(f!=="center"?"-"+f:""),I=typeof E=="number"?E:{top:0,right:0,bottom:0,left:0,...E},ue=Array.isArray(x)?x:[x],K=ue.length>0,ne={padding:I,boundary:ue.filter(N4),altBoundary:K},{refs:me,floatingStyles:ve,placement:q,isPositioned:F,middlewareData:B}=u4({strategy:"fixed",placement:oe,whileElementsMounted:(...pe)=>W5(...pe,{animationFrame:C==="always"}),elements:{reference:V.anchor},middleware:[d4({mainAxis:c+Q,alignmentAxis:m}),b&&f4({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?m4():void 0,...ne}),b&&h4({...ne}),p4({...ne,apply:({elements:pe,rects:ze,availableWidth:st,availableHeight:Ct})=>{const{width:be,height:Ut}=ze.reference,Tn=pe.floating.style;Tn.setProperty("--radix-popper-available-width",`${st}px`),Tn.setProperty("--radix-popper-available-height",`${Ct}px`),Tn.setProperty("--radix-popper-anchor-width",`${be}px`),Tn.setProperty("--radix-popper-anchor-height",`${Ut}px`)}}),ie&&g4({element:ie,padding:p}),E4({arrowWidth:P,arrowHeight:Q}),S&&b4({strategy:"referenceHidden",...ne})]}),[fe,Se]=BC(q),O=fm(T);ci(()=>{F&&O?.()},[F,O]);const ae=B.arrow?.x,X=B.arrow?.y,Z=B.arrow?.centerOffset!==0,[xe,Ie]=A.useState();return ci(()=>{j&&Ie(window.getComputedStyle(j).zIndex)},[j]),Fe.jsx("div",{ref:me.setFloating,"data-radix-popper-content-wrapper":"",style:{...ve,transform:F?ve.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:xe,"--radix-popper-transform-origin":[B.transformOrigin?.x,B.transformOrigin?.y].join(" "),...B.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:a.dir,children:Fe.jsx(x4,{scope:s,placedSide:fe,onArrowChange:W,arrowX:ae,arrowY:X,shouldHideArrow:Z,children:Fe.jsx(So.div,{"data-side":fe,"data-align":Se,...D,ref:ee,style:{...D.style,animation:F?void 0:"none"}})})})});HC.displayName=cy;var LC="PopperArrow",S4={top:"bottom",right:"left",bottom:"top",left:"right"},qC=A.forwardRef(function(r,s){const{__scopePopper:u,...c}=r,f=w4(LC,u),m=S4[f.placedSide];return Fe.jsx("span",{ref:f.onArrowChange,style:{position:"absolute",left:f.arrowX,top:f.arrowY,[m]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[f.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[f.placedSide],visibility:f.shouldHideArrow?"hidden":void 0},children:Fe.jsx(v4,{...c,ref:s,style:{...c.style,display:"block"}})})});qC.displayName=LC;function N4(a){return a!==null}var E4=a=>({name:"transformOrigin",options:a,fn(r){const{placement:s,rects:u,middlewareData:c}=r,m=c.arrow?.centerOffset!==0,p=m?0:a.arrowWidth,b=m?0:a.arrowHeight,[x,E]=BC(s),g={start:"0%",center:"50%",end:"100%"}[E],S=(c.arrow?.x??0)+p/2,C=(c.arrow?.y??0)+b/2;let T="",D="";return x==="bottom"?(T=m?g:`${S}px`,D=`${-b}px`):x==="top"?(T=m?g:`${S}px`,D=`${u.floating.height+b}px`):x==="right"?(T=`${-b}px`,D=m?g:`${C}px`):x==="left"&&(T=`${u.floating.width+b}px`,D=m?g:`${C}px`),{data:{x:T,y:D}}}});function BC(a){const[r,s="center"]=a.split("-");return[r,s]}var C4=UC,T4=HC,D4=qC;function O4(a,r){return A.useReducer((s,u)=>r[s][u]??s,a)}var PC=a=>{const{present:r,children:s}=a,u=R4(r),c=typeof s=="function"?s({present:u.isPresent}):A.Children.only(s),f=ir(u.ref,A4(c));return typeof s=="function"||u.isPresent?A.cloneElement(c,{ref:f}):null};PC.displayName="Presence";function R4(a){const[r,s]=A.useState(),u=A.useRef(null),c=A.useRef(a),f=A.useRef("none"),m=a?"mounted":"unmounted",[p,b]=O4(m,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return A.useEffect(()=>{const x=qf(u.current);f.current=p==="mounted"?x:"none"},[p]),ci(()=>{const x=u.current,E=c.current;if(E!==a){const S=f.current,C=qf(x);a?b("MOUNT"):C==="none"||x?.display==="none"?b("UNMOUNT"):b(E&&S!==C?"ANIMATION_OUT":"UNMOUNT"),c.current=a}},[a,b]),ci(()=>{if(r){let x;const E=r.ownerDocument.defaultView??window,g=C=>{const D=qf(u.current).includes(CSS.escape(C.animationName));if(C.target===r&&D&&(b("ANIMATION_END"),!c.current)){const V=r.style.animationFillMode;r.style.animationFillMode="forwards",x=E.setTimeout(()=>{r.style.animationFillMode==="forwards"&&(r.style.animationFillMode=V)})}},S=C=>{C.target===r&&(f.current=qf(u.current))};return r.addEventListener("animationstart",S),r.addEventListener("animationcancel",g),r.addEventListener("animationend",g),()=>{E.clearTimeout(x),r.removeEventListener("animationstart",S),r.removeEventListener("animationcancel",g),r.removeEventListener("animationend",g)}}else b("ANIMATION_END")},[r,b]),{isPresent:["mounted","unmountSuspended"].includes(p),ref:A.useCallback(x=>{u.current=x?getComputedStyle(x):null,s(x)},[])}}function qf(a){return a?.animationName||"none"}function A4(a){let r=Object.getOwnPropertyDescriptor(a.props,"ref")?.get,s=r&&"isReactWarning"in r&&r.isReactWarning;return s?a.ref:(r=Object.getOwnPropertyDescriptor(a,"ref")?.get,s=r&&"isReactWarning"in r&&r.isReactWarning,s?a.props.ref:a.props.ref||a.ref)}var _4=Jg[" useInsertionEffect ".trim().toString()]||ci;function j4({prop:a,defaultProp:r,onChange:s=()=>{},caller:u}){const[c,f,m]=M4({defaultProp:r,onChange:s}),p=a!==void 0,b=p?a:c;{const E=A.useRef(a!==void 0);A.useEffect(()=>{const g=E.current;g!==p&&console.warn(`${u} is changing from ${g?"controlled":"uncontrolled"} to ${p?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),E.current=p},[p,u])}const x=A.useCallback(E=>{if(p){const g=z4(E)?E(a):E;g!==a&&m.current?.(g)}else f(E)},[p,a,f,m]);return[b,x]}function M4({defaultProp:a,onChange:r}){const[s,u]=A.useState(a),c=A.useRef(s),f=A.useRef(r);return _4(()=>{f.current=r},[r]),A.useEffect(()=>{c.current!==s&&(f.current?.(s),c.current=s)},[s,c]),[s,u,f]}function z4(a){return typeof a=="function"}var k4=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),V4="VisuallyHidden",QC=A.forwardRef((a,r)=>Fe.jsx(So.span,{...a,ref:r,style:{...k4,...a.style}}));QC.displayName=V4;var U4=QC,[gm]=ay("Tooltip",[zC]),dy=zC(),YC="TooltipProvider",H4=700,FN="tooltip.open",[L4,$C]=gm(YC),GC=a=>{const{__scopeTooltip:r,delayDuration:s=H4,skipDelayDuration:u=300,disableHoverableContent:c=!1,children:f}=a,m=A.useRef(!0),p=A.useRef(!1),b=A.useRef(0);return A.useEffect(()=>{const x=b.current;return()=>window.clearTimeout(x)},[]),Fe.jsx(L4,{scope:r,isOpenDelayedRef:m,delayDuration:s,onOpen:A.useCallback(()=>{window.clearTimeout(b.current),m.current=!1},[]),onClose:A.useCallback(()=>{window.clearTimeout(b.current),b.current=window.setTimeout(()=>m.current=!0,u)},[u]),isPointerInTransitRef:p,onPointerInTransitChange:A.useCallback(x=>{p.current=x},[]),disableHoverableContent:c,children:f})};GC.displayName=YC;var IC="Tooltip",[m6,ym]=gm(IC),Pg="TooltipTrigger",q4=A.forwardRef((a,r)=>{const{__scopeTooltip:s,...u}=a,c=ym(Pg,s),f=$C(Pg,s),m=dy(s),p=A.useRef(null),b=ir(r,p,c.onTriggerChange),x=A.useRef(!1),E=A.useRef(!1),g=A.useCallback(()=>x.current=!1,[]);return A.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),Fe.jsx(C4,{asChild:!0,...m,children:Fe.jsx(So.button,{"aria-describedby":c.open?c.contentId:void 0,"data-state":c.stateAttribute,...u,ref:b,onPointerMove:go(a.onPointerMove,S=>{S.pointerType!=="touch"&&!E.current&&!f.isPointerInTransitRef.current&&(c.onTriggerEnter(),E.current=!0)}),onPointerLeave:go(a.onPointerLeave,()=>{c.onTriggerLeave(),E.current=!1}),onPointerDown:go(a.onPointerDown,()=>{c.open&&c.onClose(),x.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:go(a.onFocus,()=>{x.current||c.onOpen()}),onBlur:go(a.onBlur,c.onClose),onClick:go(a.onClick,c.onClose)})})});q4.displayName=Pg;var B4="TooltipPortal",[h6,P4]=gm(B4,{forceMount:void 0}),fi="TooltipContent",Q4=A.forwardRef((a,r)=>{const s=P4(fi,a.__scopeTooltip),{forceMount:u=s.forceMount,side:c="top",...f}=a,m=ym(fi,a.__scopeTooltip);return Fe.jsx(PC,{present:u||m.open,children:m.disableHoverableContent?Fe.jsx(XC,{side:c,...f,ref:r}):Fe.jsx(Y4,{side:c,...f,ref:r})})}),Y4=A.forwardRef((a,r)=>{const s=ym(fi,a.__scopeTooltip),u=$C(fi,a.__scopeTooltip),c=A.useRef(null),f=ir(r,c),[m,p]=A.useState(null),{trigger:b,onClose:x}=s,E=c.current,{onPointerInTransitChange:g}=u,S=A.useCallback(()=>{p(null),g(!1)},[g]),C=A.useCallback((T,D)=>{const V=T.currentTarget,j={x:T.clientX,y:T.clientY},U=F4(j,V.getBoundingClientRect()),ee=Z4(j,U),ie=J4(D.getBoundingClientRect()),W=W4([...ee,...ie]);p(W),g(!0)},[g]);return A.useEffect(()=>()=>S(),[S]),A.useEffect(()=>{if(b&&E){const T=V=>C(V,E),D=V=>C(V,b);return b.addEventListener("pointerleave",T),E.addEventListener("pointerleave",D),()=>{b.removeEventListener("pointerleave",T),E.removeEventListener("pointerleave",D)}}},[b,E,C,S]),A.useEffect(()=>{if(m){const T=D=>{const V=D.target,j={x:D.clientX,y:D.clientY},U=b?.contains(V)||E?.contains(V),ee=!K4(j,m);U?S():ee&&(S(),x())};return document.addEventListener("pointermove",T),()=>document.removeEventListener("pointermove",T)}},[b,E,m,x,S]),Fe.jsx(XC,{...a,ref:f})}),[$4,G4]=gm(IC,{isInside:!1}),I4=Xj("TooltipContent"),XC=A.forwardRef((a,r)=>{const{__scopeTooltip:s,children:u,"aria-label":c,onEscapeKeyDown:f,onPointerDownOutside:m,...p}=a,b=ym(fi,s),x=dy(s),{onClose:E}=b;return A.useEffect(()=>(document.addEventListener(FN,E),()=>document.removeEventListener(FN,E)),[E]),A.useEffect(()=>{if(b.trigger){const g=S=>{S.target?.contains(b.trigger)&&E()};return window.addEventListener("scroll",g,{capture:!0}),()=>window.removeEventListener("scroll",g,{capture:!0})}},[b.trigger,E]),Fe.jsx(gC,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:f,onPointerDownOutside:m,onFocusOutside:g=>g.preventDefault(),onDismiss:E,children:Fe.jsxs(T4,{"data-state":b.stateAttribute,...x,...p,ref:r,style:{...p.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[Fe.jsx(I4,{children:u}),Fe.jsx($4,{scope:s,isInside:!0,children:Fe.jsx(U4,{id:b.contentId,role:"tooltip",children:c||u})})]})})});Q4.displayName=fi;var FC="TooltipArrow",X4=A.forwardRef((a,r)=>{const{__scopeTooltip:s,...u}=a,c=dy(s);return G4(FC,s).isInside?null:Fe.jsx(D4,{...c,...u,ref:r})});X4.displayName=FC;function F4(a,r){const s=Math.abs(r.top-a.y),u=Math.abs(r.bottom-a.y),c=Math.abs(r.right-a.x),f=Math.abs(r.left-a.x);switch(Math.min(s,u,c,f)){case f:return"left";case c:return"right";case s:return"top";case u:return"bottom";default:throw new Error("unreachable")}}function Z4(a,r,s=5){const u=[];switch(r){case"top":u.push({x:a.x-s,y:a.y+s},{x:a.x+s,y:a.y+s});break;case"bottom":u.push({x:a.x-s,y:a.y-s},{x:a.x+s,y:a.y-s});break;case"left":u.push({x:a.x+s,y:a.y-s},{x:a.x+s,y:a.y+s});break;case"right":u.push({x:a.x-s,y:a.y-s},{x:a.x-s,y:a.y+s});break}return u}function J4(a){const{top:r,right:s,bottom:u,left:c}=a;return[{x:c,y:r},{x:s,y:r},{x:s,y:u},{x:c,y:u}]}function K4(a,r){const{x:s,y:u}=a;let c=!1;for(let f=0,m=r.length-1;f<r.length;m=f++){const p=r[f],b=r[m],x=p.x,E=p.y,g=b.x,S=b.y;E>u!=S>u&&s<(g-x)*(u-E)/(S-E)+x&&(c=!c)}return c}function W4(a){const r=a.slice();return r.sort((s,u)=>s.x<u.x?-1:s.x>u.x?1:s.y<u.y?-1:s.y>u.y?1:0),eM(r)}function eM(a){if(a.length<=1)return a.slice();const r=[];for(let u=0;u<a.length;u++){const c=a[u];for(;r.length>=2;){const f=r[r.length-1],m=r[r.length-2];if((f.x-m.x)*(c.y-m.y)>=(f.y-m.y)*(c.x-m.x))r.pop();else break}r.push(c)}r.pop();const s=[];for(let u=a.length-1;u>=0;u--){const c=a[u];for(;s.length>=2;){const f=s[s.length-1],m=s[s.length-2];if((f.x-m.x)*(c.y-m.y)>=(f.y-m.y)*(c.x-m.x))s.pop();else break}s.push(c)}return s.pop(),r.length===1&&s.length===1&&r[0].x===s[0].x&&r[0].y===s[0].y?r:r.concat(s)}var tM=GC;function ZC(a){var r,s,u="";if(typeof a=="string"||typeof a=="number")u+=a;else if(typeof a=="object")if(Array.isArray(a)){var c=a.length;for(r=0;r<c;r++)a[r]&&(s=ZC(a[r]))&&(u&&(u+=" "),u+=s)}else for(s in a)a[s]&&(u&&(u+=" "),u+=s);return u}function JC(){for(var a,r,s=0,u="",c=arguments.length;s<c;s++)(a=arguments[s])&&(r=ZC(a))&&(u&&(u+=" "),u+=r);return u}const fy="-",nM=a=>{const r=oM(a),{conflictingClassGroups:s,conflictingClassGroupModifiers:u}=a;return{getClassGroupId:m=>{const p=m.split(fy);return p[0]===""&&p.length!==1&&p.shift(),KC(p,r)||aM(m)},getConflictingClassGroupIds:(m,p)=>{const b=s[m]||[];return p&&u[m]?[...b,...u[m]]:b}}},KC=(a,r)=>{if(a.length===0)return r.classGroupId;const s=a[0],u=r.nextPart.get(s),c=u?KC(a.slice(1),u):void 0;if(c)return c;if(r.validators.length===0)return;const f=a.join(fy);return r.validators.find(({validator:m})=>m(f))?.classGroupId},ZN=/^\[(.+)\]$/,aM=a=>{if(ZN.test(a)){const r=ZN.exec(a)[1],s=r?.substring(0,r.indexOf(":"));if(s)return"arbitrary.."+s}},oM=a=>{const{theme:r,classGroups:s}=a,u={nextPart:new Map,validators:[]};for(const c in s)Qg(s[c],u,c,r);return u},Qg=(a,r,s,u)=>{a.forEach(c=>{if(typeof c=="string"){const f=c===""?r:JN(r,c);f.classGroupId=s;return}if(typeof c=="function"){if(rM(c)){Qg(c(u),r,s,u);return}r.validators.push({validator:c,classGroupId:s});return}Object.entries(c).forEach(([f,m])=>{Qg(m,JN(r,f),s,u)})})},JN=(a,r)=>{let s=a;return r.split(fy).forEach(u=>{s.nextPart.has(u)||s.nextPart.set(u,{nextPart:new Map,validators:[]}),s=s.nextPart.get(u)}),s},rM=a=>a.isThemeGetter,lM=a=>{if(a<1)return{get:()=>{},set:()=>{}};let r=0,s=new Map,u=new Map;const c=(f,m)=>{s.set(f,m),r++,r>a&&(r=0,u=s,s=new Map)};return{get(f){let m=s.get(f);if(m!==void 0)return m;if((m=u.get(f))!==void 0)return c(f,m),m},set(f,m){s.has(f)?s.set(f,m):c(f,m)}}},Yg="!",$g=":",sM=$g.length,iM=a=>{const{prefix:r,experimentalParseClassName:s}=a;let u=c=>{const f=[];let m=0,p=0,b=0,x;for(let T=0;T<c.length;T++){let D=c[T];if(m===0&&p===0){if(D===$g){f.push(c.slice(b,T)),b=T+sM;continue}if(D==="/"){x=T;continue}}D==="["?m++:D==="]"?m--:D==="("?p++:D===")"&&p--}const E=f.length===0?c:c.substring(b),g=uM(E),S=g!==E,C=x&&x>b?x-b:void 0;return{modifiers:f,hasImportantModifier:S,baseClassName:g,maybePostfixModifierPosition:C}};if(r){const c=r+$g,f=u;u=m=>m.startsWith(c)?f(m.substring(c.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:m,maybePostfixModifierPosition:void 0}}if(s){const c=u;u=f=>s({className:f,parseClassName:c})}return u},uM=a=>a.endsWith(Yg)?a.substring(0,a.length-1):a.startsWith(Yg)?a.substring(1):a,cM=a=>{const r=Object.fromEntries(a.orderSensitiveModifiers.map(u=>[u,!0]));return u=>{if(u.length<=1)return u;const c=[];let f=[];return u.forEach(m=>{m[0]==="["||r[m]?(c.push(...f.sort(),m),f=[]):f.push(m)}),c.push(...f.sort()),c}},dM=a=>({cache:lM(a.cacheSize),parseClassName:iM(a),sortModifiers:cM(a),...nM(a)}),fM=/\s+/,mM=(a,r)=>{const{parseClassName:s,getClassGroupId:u,getConflictingClassGroupIds:c,sortModifiers:f}=r,m=[],p=a.trim().split(fM);let b="";for(let x=p.length-1;x>=0;x-=1){const E=p[x],{isExternal:g,modifiers:S,hasImportantModifier:C,baseClassName:T,maybePostfixModifierPosition:D}=s(E);if(g){b=E+(b.length>0?" "+b:b);continue}let V=!!D,j=u(V?T.substring(0,D):T);if(!j){if(!V){b=E+(b.length>0?" "+b:b);continue}if(j=u(T),!j){b=E+(b.length>0?" "+b:b);continue}V=!1}const U=f(S).join(":"),ee=C?U+Yg:U,ie=ee+j;if(m.includes(ie))continue;m.push(ie);const W=c(j,V);for(let te=0;te<W.length;++te){const P=W[te];m.push(ee+P)}b=E+(b.length>0?" "+b:b)}return b};function hM(){let a=0,r,s,u="";for(;a<arguments.length;)(r=arguments[a++])&&(s=WC(r))&&(u&&(u+=" "),u+=s);return u}const WC=a=>{if(typeof a=="string")return a;let r,s="";for(let u=0;u<a.length;u++)a[u]&&(r=WC(a[u]))&&(s&&(s+=" "),s+=r);return s};function pM(a,...r){let s,u,c,f=m;function m(b){const x=r.reduce((E,g)=>g(E),a());return s=dM(x),u=s.cache.get,c=s.cache.set,f=p,p(b)}function p(b){const x=u(b);if(x)return x;const E=mM(b,s);return c(b,E),E}return function(){return f(hM.apply(null,arguments))}}const Zt=a=>{const r=s=>s[a]||[];return r.isThemeGetter=!0,r},eT=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,tT=/^\((?:(\w[\w-]*):)?(.+)\)$/i,bM=/^\d+\/\d+$/,gM=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yM=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,vM=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,xM=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,wM=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ri=a=>bM.test(a),Ge=a=>!!a&&!Number.isNaN(Number(a)),Jr=a=>!!a&&Number.isInteger(Number(a)),pg=a=>a.endsWith("%")&&Ge(a.slice(0,-1)),nr=a=>gM.test(a),SM=()=>!0,NM=a=>yM.test(a)&&!vM.test(a),nT=()=>!1,EM=a=>xM.test(a),CM=a=>wM.test(a),TM=a=>!Ce(a)&&!Te(a),DM=a=>gi(a,rT,nT),Ce=a=>eT.test(a),$l=a=>gi(a,lT,NM),bg=a=>gi(a,jM,Ge),KN=a=>gi(a,aT,nT),OM=a=>gi(a,oT,CM),Bf=a=>gi(a,sT,EM),Te=a=>tT.test(a),ec=a=>yi(a,lT),RM=a=>yi(a,MM),WN=a=>yi(a,aT),AM=a=>yi(a,rT),_M=a=>yi(a,oT),Pf=a=>yi(a,sT,!0),gi=(a,r,s)=>{const u=eT.exec(a);return u?u[1]?r(u[1]):s(u[2]):!1},yi=(a,r,s=!1)=>{const u=tT.exec(a);return u?u[1]?r(u[1]):s:!1},aT=a=>a==="position"||a==="percentage",oT=a=>a==="image"||a==="url",rT=a=>a==="length"||a==="size"||a==="bg-size",lT=a=>a==="length",jM=a=>a==="number",MM=a=>a==="family-name",sT=a=>a==="shadow",zM=()=>{const a=Zt("color"),r=Zt("font"),s=Zt("text"),u=Zt("font-weight"),c=Zt("tracking"),f=Zt("leading"),m=Zt("breakpoint"),p=Zt("container"),b=Zt("spacing"),x=Zt("radius"),E=Zt("shadow"),g=Zt("inset-shadow"),S=Zt("text-shadow"),C=Zt("drop-shadow"),T=Zt("blur"),D=Zt("perspective"),V=Zt("aspect"),j=Zt("ease"),U=Zt("animate"),ee=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ie=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],W=()=>[...ie(),Te,Ce],te=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto","contain","none"],Q=()=>[Te,Ce,b],oe=()=>[ri,"full","auto",...Q()],I=()=>[Jr,"none","subgrid",Te,Ce],ue=()=>["auto",{span:["full",Jr,Te,Ce]},Jr,Te,Ce],K=()=>[Jr,"auto",Te,Ce],ne=()=>["auto","min","max","fr",Te,Ce],me=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ve=()=>["start","end","center","stretch","center-safe","end-safe"],q=()=>["auto",...Q()],F=()=>[ri,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...Q()],B=()=>[a,Te,Ce],fe=()=>[...ie(),WN,KN,{position:[Te,Ce]}],Se=()=>["no-repeat",{repeat:["","x","y","space","round"]}],O=()=>["auto","cover","contain",AM,DM,{size:[Te,Ce]}],ae=()=>[pg,ec,$l],X=()=>["","none","full",x,Te,Ce],Z=()=>["",Ge,ec,$l],xe=()=>["solid","dashed","dotted","double"],Ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pe=()=>[Ge,pg,WN,KN],ze=()=>["","none",T,Te,Ce],st=()=>["none",Ge,Te,Ce],Ct=()=>["none",Ge,Te,Ce],be=()=>[Ge,Te,Ce],Ut=()=>[ri,"full",...Q()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[nr],breakpoint:[nr],color:[SM],container:[nr],"drop-shadow":[nr],ease:["in","out","in-out"],font:[TM],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[nr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[nr],shadow:[nr],spacing:["px",Ge],text:[nr],"text-shadow":[nr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ri,Ce,Te,V]}],container:["container"],columns:[{columns:[Ge,Ce,Te,p]}],"break-after":[{"break-after":ee()}],"break-before":[{"break-before":ee()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:W()}],overflow:[{overflow:te()}],"overflow-x":[{"overflow-x":te()}],"overflow-y":[{"overflow-y":te()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:oe()}],"inset-x":[{"inset-x":oe()}],"inset-y":[{"inset-y":oe()}],start:[{start:oe()}],end:[{end:oe()}],top:[{top:oe()}],right:[{right:oe()}],bottom:[{bottom:oe()}],left:[{left:oe()}],visibility:["visible","invisible","collapse"],z:[{z:[Jr,"auto",Te,Ce]}],basis:[{basis:[ri,"full","auto",p,...Q()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ge,ri,"auto","initial","none",Ce]}],grow:[{grow:["",Ge,Te,Ce]}],shrink:[{shrink:["",Ge,Te,Ce]}],order:[{order:[Jr,"first","last","none",Te,Ce]}],"grid-cols":[{"grid-cols":I()}],"col-start-end":[{col:ue()}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":I()}],"row-start-end":[{row:ue()}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ne()}],"auto-rows":[{"auto-rows":ne()}],gap:[{gap:Q()}],"gap-x":[{"gap-x":Q()}],"gap-y":[{"gap-y":Q()}],"justify-content":[{justify:[...me(),"normal"]}],"justify-items":[{"justify-items":[...ve(),"normal"]}],"justify-self":[{"justify-self":["auto",...ve()]}],"align-content":[{content:["normal",...me()]}],"align-items":[{items:[...ve(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ve(),{baseline:["","last"]}]}],"place-content":[{"place-content":me()}],"place-items":[{"place-items":[...ve(),"baseline"]}],"place-self":[{"place-self":["auto",...ve()]}],p:[{p:Q()}],px:[{px:Q()}],py:[{py:Q()}],ps:[{ps:Q()}],pe:[{pe:Q()}],pt:[{pt:Q()}],pr:[{pr:Q()}],pb:[{pb:Q()}],pl:[{pl:Q()}],m:[{m:q()}],mx:[{mx:q()}],my:[{my:q()}],ms:[{ms:q()}],me:[{me:q()}],mt:[{mt:q()}],mr:[{mr:q()}],mb:[{mb:q()}],ml:[{ml:q()}],"space-x":[{"space-x":Q()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":Q()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],w:[{w:[p,"screen",...F()]}],"min-w":[{"min-w":[p,"screen","none",...F()]}],"max-w":[{"max-w":[p,"screen","none","prose",{screen:[m]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh",...F()]}],"font-size":[{text:["base",s,ec,$l]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[u,Te,bg]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",pg,Ce]}],"font-family":[{font:[RM,Ce,r]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[c,Te,Ce]}],"line-clamp":[{"line-clamp":[Ge,"none",Te,bg]}],leading:[{leading:[f,...Q()]}],"list-image":[{"list-image":["none",Te,Ce]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Te,Ce]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B()}],"text-color":[{text:B()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...xe(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ge,"from-font","auto",Te,$l]}],"text-decoration-color":[{decoration:B()}],"underline-offset":[{"underline-offset":[Ge,"auto",Te,Ce]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Q()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Te,Ce]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Te,Ce]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:fe()}],"bg-repeat":[{bg:Se()}],"bg-size":[{bg:O()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Jr,Te,Ce],radial:["",Te,Ce],conic:[Jr,Te,Ce]},_M,OM]}],"bg-color":[{bg:B()}],"gradient-from-pos":[{from:ae()}],"gradient-via-pos":[{via:ae()}],"gradient-to-pos":[{to:ae()}],"gradient-from":[{from:B()}],"gradient-via":[{via:B()}],"gradient-to":[{to:B()}],rounded:[{rounded:X()}],"rounded-s":[{"rounded-s":X()}],"rounded-e":[{"rounded-e":X()}],"rounded-t":[{"rounded-t":X()}],"rounded-r":[{"rounded-r":X()}],"rounded-b":[{"rounded-b":X()}],"rounded-l":[{"rounded-l":X()}],"rounded-ss":[{"rounded-ss":X()}],"rounded-se":[{"rounded-se":X()}],"rounded-ee":[{"rounded-ee":X()}],"rounded-es":[{"rounded-es":X()}],"rounded-tl":[{"rounded-tl":X()}],"rounded-tr":[{"rounded-tr":X()}],"rounded-br":[{"rounded-br":X()}],"rounded-bl":[{"rounded-bl":X()}],"border-w":[{border:Z()}],"border-w-x":[{"border-x":Z()}],"border-w-y":[{"border-y":Z()}],"border-w-s":[{"border-s":Z()}],"border-w-e":[{"border-e":Z()}],"border-w-t":[{"border-t":Z()}],"border-w-r":[{"border-r":Z()}],"border-w-b":[{"border-b":Z()}],"border-w-l":[{"border-l":Z()}],"divide-x":[{"divide-x":Z()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Z()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...xe(),"hidden","none"]}],"divide-style":[{divide:[...xe(),"hidden","none"]}],"border-color":[{border:B()}],"border-color-x":[{"border-x":B()}],"border-color-y":[{"border-y":B()}],"border-color-s":[{"border-s":B()}],"border-color-e":[{"border-e":B()}],"border-color-t":[{"border-t":B()}],"border-color-r":[{"border-r":B()}],"border-color-b":[{"border-b":B()}],"border-color-l":[{"border-l":B()}],"divide-color":[{divide:B()}],"outline-style":[{outline:[...xe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ge,Te,Ce]}],"outline-w":[{outline:["",Ge,ec,$l]}],"outline-color":[{outline:B()}],shadow:[{shadow:["","none",E,Pf,Bf]}],"shadow-color":[{shadow:B()}],"inset-shadow":[{"inset-shadow":["none",g,Pf,Bf]}],"inset-shadow-color":[{"inset-shadow":B()}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B()}],"ring-offset-w":[{"ring-offset":[Ge,$l]}],"ring-offset-color":[{"ring-offset":B()}],"inset-ring-w":[{"inset-ring":Z()}],"inset-ring-color":[{"inset-ring":B()}],"text-shadow":[{"text-shadow":["none",S,Pf,Bf]}],"text-shadow-color":[{"text-shadow":B()}],opacity:[{opacity:[Ge,Te,Ce]}],"mix-blend":[{"mix-blend":[...Ie(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ie()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ge]}],"mask-image-linear-from-pos":[{"mask-linear-from":pe()}],"mask-image-linear-to-pos":[{"mask-linear-to":pe()}],"mask-image-linear-from-color":[{"mask-linear-from":B()}],"mask-image-linear-to-color":[{"mask-linear-to":B()}],"mask-image-t-from-pos":[{"mask-t-from":pe()}],"mask-image-t-to-pos":[{"mask-t-to":pe()}],"mask-image-t-from-color":[{"mask-t-from":B()}],"mask-image-t-to-color":[{"mask-t-to":B()}],"mask-image-r-from-pos":[{"mask-r-from":pe()}],"mask-image-r-to-pos":[{"mask-r-to":pe()}],"mask-image-r-from-color":[{"mask-r-from":B()}],"mask-image-r-to-color":[{"mask-r-to":B()}],"mask-image-b-from-pos":[{"mask-b-from":pe()}],"mask-image-b-to-pos":[{"mask-b-to":pe()}],"mask-image-b-from-color":[{"mask-b-from":B()}],"mask-image-b-to-color":[{"mask-b-to":B()}],"mask-image-l-from-pos":[{"mask-l-from":pe()}],"mask-image-l-to-pos":[{"mask-l-to":pe()}],"mask-image-l-from-color":[{"mask-l-from":B()}],"mask-image-l-to-color":[{"mask-l-to":B()}],"mask-image-x-from-pos":[{"mask-x-from":pe()}],"mask-image-x-to-pos":[{"mask-x-to":pe()}],"mask-image-x-from-color":[{"mask-x-from":B()}],"mask-image-x-to-color":[{"mask-x-to":B()}],"mask-image-y-from-pos":[{"mask-y-from":pe()}],"mask-image-y-to-pos":[{"mask-y-to":pe()}],"mask-image-y-from-color":[{"mask-y-from":B()}],"mask-image-y-to-color":[{"mask-y-to":B()}],"mask-image-radial":[{"mask-radial":[Te,Ce]}],"mask-image-radial-from-pos":[{"mask-radial-from":pe()}],"mask-image-radial-to-pos":[{"mask-radial-to":pe()}],"mask-image-radial-from-color":[{"mask-radial-from":B()}],"mask-image-radial-to-color":[{"mask-radial-to":B()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":ie()}],"mask-image-conic-pos":[{"mask-conic":[Ge]}],"mask-image-conic-from-pos":[{"mask-conic-from":pe()}],"mask-image-conic-to-pos":[{"mask-conic-to":pe()}],"mask-image-conic-from-color":[{"mask-conic-from":B()}],"mask-image-conic-to-color":[{"mask-conic-to":B()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:fe()}],"mask-repeat":[{mask:Se()}],"mask-size":[{mask:O()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Te,Ce]}],filter:[{filter:["","none",Te,Ce]}],blur:[{blur:ze()}],brightness:[{brightness:[Ge,Te,Ce]}],contrast:[{contrast:[Ge,Te,Ce]}],"drop-shadow":[{"drop-shadow":["","none",C,Pf,Bf]}],"drop-shadow-color":[{"drop-shadow":B()}],grayscale:[{grayscale:["",Ge,Te,Ce]}],"hue-rotate":[{"hue-rotate":[Ge,Te,Ce]}],invert:[{invert:["",Ge,Te,Ce]}],saturate:[{saturate:[Ge,Te,Ce]}],sepia:[{sepia:["",Ge,Te,Ce]}],"backdrop-filter":[{"backdrop-filter":["","none",Te,Ce]}],"backdrop-blur":[{"backdrop-blur":ze()}],"backdrop-brightness":[{"backdrop-brightness":[Ge,Te,Ce]}],"backdrop-contrast":[{"backdrop-contrast":[Ge,Te,Ce]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ge,Te,Ce]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ge,Te,Ce]}],"backdrop-invert":[{"backdrop-invert":["",Ge,Te,Ce]}],"backdrop-opacity":[{"backdrop-opacity":[Ge,Te,Ce]}],"backdrop-saturate":[{"backdrop-saturate":[Ge,Te,Ce]}],"backdrop-sepia":[{"backdrop-sepia":["",Ge,Te,Ce]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":Q()}],"border-spacing-x":[{"border-spacing-x":Q()}],"border-spacing-y":[{"border-spacing-y":Q()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Te,Ce]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ge,"initial",Te,Ce]}],ease:[{ease:["linear","initial",j,Te,Ce]}],delay:[{delay:[Ge,Te,Ce]}],animate:[{animate:["none",U,Te,Ce]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[D,Te,Ce]}],"perspective-origin":[{"perspective-origin":W()}],rotate:[{rotate:st()}],"rotate-x":[{"rotate-x":st()}],"rotate-y":[{"rotate-y":st()}],"rotate-z":[{"rotate-z":st()}],scale:[{scale:Ct()}],"scale-x":[{"scale-x":Ct()}],"scale-y":[{"scale-y":Ct()}],"scale-z":[{"scale-z":Ct()}],"scale-3d":["scale-3d"],skew:[{skew:be()}],"skew-x":[{"skew-x":be()}],"skew-y":[{"skew-y":be()}],transform:[{transform:[Te,Ce,"","none","gpu","cpu"]}],"transform-origin":[{origin:W()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ut()}],"translate-x":[{"translate-x":Ut()}],"translate-y":[{"translate-y":Ut()}],"translate-z":[{"translate-z":Ut()}],"translate-none":["translate-none"],accent:[{accent:B()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Te,Ce]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Q()}],"scroll-mx":[{"scroll-mx":Q()}],"scroll-my":[{"scroll-my":Q()}],"scroll-ms":[{"scroll-ms":Q()}],"scroll-me":[{"scroll-me":Q()}],"scroll-mt":[{"scroll-mt":Q()}],"scroll-mr":[{"scroll-mr":Q()}],"scroll-mb":[{"scroll-mb":Q()}],"scroll-ml":[{"scroll-ml":Q()}],"scroll-p":[{"scroll-p":Q()}],"scroll-px":[{"scroll-px":Q()}],"scroll-py":[{"scroll-py":Q()}],"scroll-ps":[{"scroll-ps":Q()}],"scroll-pe":[{"scroll-pe":Q()}],"scroll-pt":[{"scroll-pt":Q()}],"scroll-pr":[{"scroll-pr":Q()}],"scroll-pb":[{"scroll-pb":Q()}],"scroll-pl":[{"scroll-pl":Q()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Te,Ce]}],fill:[{fill:["none",...B()]}],"stroke-w":[{stroke:[Ge,ec,$l,bg]}],stroke:[{stroke:["none",...B()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},kM=pM(zM);function $e(...a){return kM(JC(a))}function VM({delayDuration:a=0,...r}){return v.jsxDEV(tM,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:a,...r},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/components/ui/tooltip.tsx",lineNumber:11,columnNumber:5},this)}const eE=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,tE=JC,UM=(a,r)=>s=>{var u;if(r?.variants==null)return tE(a,s?.class,s?.className);const{variants:c,defaultVariants:f}=r,m=Object.keys(c).map(x=>{const E=s?.[x],g=f?.[x];if(E===null)return null;const S=eE(E)||eE(g);return c[x][S]}),p=s&&Object.entries(s).reduce((x,E)=>{let[g,S]=E;return S===void 0||(x[g]=S),x},{}),b=r==null||(u=r.compoundVariants)===null||u===void 0?void 0:u.reduce((x,E)=>{let{class:g,className:S,...C}=E;return Object.entries(C).every(T=>{let[D,V]=T;return Array.isArray(V)?V.includes({...f,...p}[D]):{...f,...p}[D]===V})?[...x,g,S]:x},[]);return tE(a,m,b,s?.class,s?.className)},HM=UM("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-transparent shadow-xs hover:bg-accent dark:bg-transparent dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function lt({className:a,variant:r,size:s,asChild:u=!1,...c}){const f=u?Gj:"button";return v.jsxDEV(f,{"data-loc":"client/src/components/ui/button.tsx:52","data-slot":"button",className:$e(HM({variant:r,size:s,className:a})),...c},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/components/ui/button.tsx",lineNumber:52,columnNumber:5},this)}function LM({className:a,...r}){return v.jsxDEV("div",{"data-loc":"client/src/components/ui/card.tsx:7","data-slot":"card",className:$e("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",a),...r},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/components/ui/card.tsx",lineNumber:7,columnNumber:5},this)}function qM({className:a,...r}){return v.jsxDEV("div",{"data-loc":"client/src/components/ui/card.tsx:66","data-slot":"card-content",className:$e("px-6",a),...r},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/components/ui/card.tsx",lineNumber:66,columnNumber:5},this)}/**
289
+ * @license lucide-react v0.453.0 - ISC
290
+ *
291
+ * This source code is licensed under the ISC license.
292
+ * See the LICENSE file in the root directory of this source tree.
293
+ */const BM=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),iT=(...a)=>a.filter((r,s,u)=>!!r&&u.indexOf(r)===s).join(" ");/**
294
+ * @license lucide-react v0.453.0 - ISC
295
+ *
296
+ * This source code is licensed under the ISC license.
297
+ * See the LICENSE file in the root directory of this source tree.
298
+ */var PM={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"};/**
299
+ * @license lucide-react v0.453.0 - ISC
300
+ *
301
+ * This source code is licensed under the ISC license.
302
+ * See the LICENSE file in the root directory of this source tree.
303
+ */const QM=A.forwardRef(({color:a="currentColor",size:r=24,strokeWidth:s=2,absoluteStrokeWidth:u,className:c="",children:f,iconNode:m,...p},b)=>A.createElement("svg",{ref:b,...PM,width:r,height:r,stroke:a,strokeWidth:u?Number(s)*24/Number(r):s,className:iT("lucide",c),...p},[...m.map(([x,E])=>A.createElement(x,E)),...Array.isArray(f)?f:[f]]));/**
304
+ * @license lucide-react v0.453.0 - ISC
305
+ *
306
+ * This source code is licensed under the ISC license.
307
+ * See the LICENSE file in the root directory of this source tree.
308
+ */const We=(a,r)=>{const s=A.forwardRef(({className:u,...c},f)=>A.createElement(QM,{ref:f,iconNode:r,className:iT(`lucide-${BM(a)}`,u),...c}));return s.displayName=`${a}`,s};/**
309
+ * @license lucide-react v0.453.0 - ISC
310
+ *
311
+ * This source code is licensed under the ISC license.
312
+ * See the LICENSE file in the root directory of this source tree.
313
+ */const fc=We("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
314
+ * @license lucide-react v0.453.0 - ISC
315
+ *
316
+ * This source code is licensed under the ISC license.
317
+ * See the LICENSE file in the root directory of this source tree.
318
+ */const nE=We("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
319
+ * @license lucide-react v0.453.0 - ISC
320
+ *
321
+ * This source code is licensed under the ISC license.
322
+ * See the LICENSE file in the root directory of this source tree.
323
+ */const YM=We("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]]);/**
324
+ * @license lucide-react v0.453.0 - ISC
325
+ *
326
+ * This source code is licensed under the ISC license.
327
+ * See the LICENSE file in the root directory of this source tree.
328
+ */const uT=We("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
329
+ * @license lucide-react v0.453.0 - ISC
330
+ *
331
+ * This source code is licensed under the ISC license.
332
+ * See the LICENSE file in the root directory of this source tree.
333
+ */const $M=We("Bug",[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]]);/**
334
+ * @license lucide-react v0.453.0 - ISC
335
+ *
336
+ * This source code is licensed under the ISC license.
337
+ * See the LICENSE file in the root directory of this source tree.
338
+ */const GM=We("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
339
+ * @license lucide-react v0.453.0 - ISC
340
+ *
341
+ * This source code is licensed under the ISC license.
342
+ * See the LICENSE file in the root directory of this source tree.
343
+ */const IM=We("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
344
+ * @license lucide-react v0.453.0 - ISC
345
+ *
346
+ * This source code is licensed under the ISC license.
347
+ * See the LICENSE file in the root directory of this source tree.
348
+ */const If=We("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
349
+ * @license lucide-react v0.453.0 - ISC
350
+ *
351
+ * This source code is licensed under the ISC license.
352
+ * See the LICENSE file in the root directory of this source tree.
353
+ */const XM=We("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
354
+ * @license lucide-react v0.453.0 - ISC
355
+ *
356
+ * This source code is licensed under the ISC license.
357
+ * See the LICENSE file in the root directory of this source tree.
358
+ */const cT=We("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
359
+ * @license lucide-react v0.453.0 - ISC
360
+ *
361
+ * This source code is licensed under the ISC license.
362
+ * See the LICENSE file in the root directory of this source tree.
363
+ */const FM=We("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);/**
364
+ * @license lucide-react v0.453.0 - ISC
365
+ *
366
+ * This source code is licensed under the ISC license.
367
+ * See the LICENSE file in the root directory of this source tree.
368
+ */const dT=We("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"}]]);/**
369
+ * @license lucide-react v0.453.0 - ISC
370
+ *
371
+ * This source code is licensed under the ISC license.
372
+ * See the LICENSE file in the root directory of this source tree.
373
+ */const fT=We("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"}]]);/**
374
+ * @license lucide-react v0.453.0 - ISC
375
+ *
376
+ * This source code is licensed under the ISC license.
377
+ * See the LICENSE file in the root directory of this source tree.
378
+ */const ZM=We("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
379
+ * @license lucide-react v0.453.0 - ISC
380
+ *
381
+ * This source code is licensed under the ISC license.
382
+ * See the LICENSE file in the root directory of this source tree.
383
+ */const JM=We("FolderSync",[["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v.5",key:"1dkoa9"}],["path",{d:"M12 10v4h4",key:"1czhmt"}],["path",{d:"m12 14 1.535-1.605a5 5 0 0 1 8 1.5",key:"lvuxfi"}],["path",{d:"M22 22v-4h-4",key:"1ewp4q"}],["path",{d:"m22 18-1.535 1.605a5 5 0 0 1-8-1.5",key:"14ync0"}]]);/**
384
+ * @license lucide-react v0.453.0 - ISC
385
+ *
386
+ * This source code is licensed under the ISC license.
387
+ * See the LICENSE file in the root directory of this source tree.
388
+ */const KM=We("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
389
+ * @license lucide-react v0.453.0 - ISC
390
+ *
391
+ * This source code is licensed under the ISC license.
392
+ * See the LICENSE file in the root directory of this source tree.
393
+ */const Xf=We("History",[["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"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);/**
394
+ * @license lucide-react v0.453.0 - ISC
395
+ *
396
+ * This source code is licensed under the ISC license.
397
+ * See the LICENSE file in the root directory of this source tree.
398
+ */const WM=We("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
399
+ * @license lucide-react v0.453.0 - ISC
400
+ *
401
+ * This source code is licensed under the ISC license.
402
+ * See the LICENSE file in the root directory of this source tree.
403
+ */const e7=We("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/**
404
+ * @license lucide-react v0.453.0 - ISC
405
+ *
406
+ * This source code is licensed under the ISC license.
407
+ * See the LICENSE file in the root directory of this source tree.
408
+ */const t7=We("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);/**
409
+ * @license lucide-react v0.453.0 - ISC
410
+ *
411
+ * This source code is licensed under the ISC license.
412
+ * See the LICENSE file in the root directory of this source tree.
413
+ */const n7=We("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
414
+ * @license lucide-react v0.453.0 - ISC
415
+ *
416
+ * This source code is licensed under the ISC license.
417
+ * See the LICENSE file in the root directory of this source tree.
418
+ */const am=We("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);/**
419
+ * @license lucide-react v0.453.0 - ISC
420
+ *
421
+ * This source code is licensed under the ISC license.
422
+ * See the LICENSE file in the root directory of this source tree.
423
+ */const a7=We("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]]);/**
424
+ * @license lucide-react v0.453.0 - ISC
425
+ *
426
+ * This source code is licensed under the ISC license.
427
+ * See the LICENSE file in the root directory of this source tree.
428
+ */const o7=We("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
429
+ * @license lucide-react v0.453.0 - ISC
430
+ *
431
+ * This source code is licensed under the ISC license.
432
+ * See the LICENSE file in the root directory of this source tree.
433
+ */const r7=We("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"}]]);/**
434
+ * @license lucide-react v0.453.0 - ISC
435
+ *
436
+ * This source code is licensed under the ISC license.
437
+ * See the LICENSE file in the root directory of this source tree.
438
+ */const l7=We("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"}]]);/**
439
+ * @license lucide-react v0.453.0 - ISC
440
+ *
441
+ * This source code is licensed under the ISC license.
442
+ * See the LICENSE file in the root directory of this source tree.
443
+ */const s7=We("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
444
+ * @license lucide-react v0.453.0 - ISC
445
+ *
446
+ * This source code is licensed under the ISC license.
447
+ * See the LICENSE file in the root directory of this source tree.
448
+ */const mT=We("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
449
+ * @license lucide-react v0.453.0 - ISC
450
+ *
451
+ * This source code is licensed under the ISC license.
452
+ * See the LICENSE file in the root directory of this source tree.
453
+ */const hT=We("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"}]]);/**
454
+ * @license lucide-react v0.453.0 - ISC
455
+ *
456
+ * This source code is licensed under the ISC license.
457
+ * See the LICENSE file in the root directory of this source tree.
458
+ */const pT=We("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
459
+ * @license lucide-react v0.453.0 - ISC
460
+ *
461
+ * This source code is licensed under the ISC license.
462
+ * See the LICENSE file in the root directory of this source tree.
463
+ */const my=We("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
464
+ * @license lucide-react v0.453.0 - ISC
465
+ *
466
+ * This source code is licensed under the ISC license.
467
+ * See the LICENSE file in the root directory of this source tree.
468
+ */const om=We("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
469
+ * @license lucide-react v0.453.0 - ISC
470
+ *
471
+ * This source code is licensed under the ISC license.
472
+ * See the LICENSE file in the root directory of this source tree.
473
+ */const i7=We("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
474
+ * @license lucide-react v0.453.0 - ISC
475
+ *
476
+ * This source code is licensed under the ISC license.
477
+ * See the LICENSE file in the root directory of this source tree.
478
+ */const u7=We("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"}]]);/**
479
+ * @license lucide-react v0.453.0 - ISC
480
+ *
481
+ * This source code is licensed under the ISC license.
482
+ * See the LICENSE file in the root directory of this source tree.
483
+ */const bT=We("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
484
+ * @license lucide-react v0.453.0 - ISC
485
+ *
486
+ * This source code is licensed under the ISC license.
487
+ * See the LICENSE file in the root directory of this source tree.
488
+ */const gT=We("WandSparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]]);/**
489
+ * @license lucide-react v0.453.0 - ISC
490
+ *
491
+ * This source code is licensed under the ISC license.
492
+ * See the LICENSE file in the root directory of this source tree.
493
+ */const c7=We("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);function d7(a,r){if(a instanceof RegExp)return{keys:!1,pattern:a};var s,u,c,f,m=[],p="",b=a.split("/");for(b[0]||b.shift();c=b.shift();)s=c[0],s==="*"?(m.push(s),p+=c[1]==="?"?"(?:/(.*))?":"/(.*)"):s===":"?(u=c.indexOf("?",1),f=c.indexOf(".",1),m.push(c.substring(1,~u?u:~f?f:c.length)),p+=~u&&!~f?"(?:/([^/]+?))?":"/([^/]+?)",~f&&(p+=(~u?"?":"")+"\\"+c.substring(f))):p+="/"+c;return{keys:m,pattern:new RegExp("^"+p+(r?"(?=$|/)":"/?$"),"i")}}var gg={exports:{}},yg={},aE;function f7(){if(aE)return yg;aE=1;/**
494
+ * @license React
495
+ * use-sync-external-store-shim.development.js
496
+ *
497
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
498
+ *
499
+ * This source code is licensed under the MIT license found in the
500
+ * LICENSE file in the root directory of this source tree.
501
+ */return(function(){function a(C,T){return C===T&&(C!==0||1/C===1/T)||C!==C&&T!==T}function r(C,T){E||c.startTransition===void 0||(E=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var D=T();if(!g){var V=T();f(D,V)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),g=!0)}V=m({inst:{value:D,getSnapshot:T}});var j=V[0].inst,U=V[1];return b(function(){j.value=D,j.getSnapshot=T,s(j)&&U({inst:j})},[C,D,T]),p(function(){return s(j)&&U({inst:j}),C(function(){s(j)&&U({inst:j})})},[C]),x(D),D}function s(C){var T=C.getSnapshot;C=C.value;try{var D=T();return!f(C,D)}catch{return!0}}function u(C,T){return T()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var c=hi(),f=typeof Object.is=="function"?Object.is:a,m=c.useState,p=c.useEffect,b=c.useLayoutEffect,x=c.useDebugValue,E=!1,g=!1,S=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:r;yg.useSyncExternalStore=c.useSyncExternalStore!==void 0?c.useSyncExternalStore:S,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),yg}var oE;function m7(){return oE||(oE=1,gg.exports=f7()),gg.exports}var h7=m7();const p7=Jg.useInsertionEffect,b7=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",g7=b7?A.useLayoutEffect:A.useEffect,y7=p7||g7,yT=a=>{const r=A.useRef([a,(...s)=>r[0](...s)]).current;return y7(()=>{r[0]=a}),r[1]},v7="popstate",hy="pushState",py="replaceState",x7="hashchange",rE=[v7,hy,py,x7],w7=a=>{for(const r of rE)addEventListener(r,a);return()=>{for(const r of rE)removeEventListener(r,a)}},vT=(a,r)=>h7.useSyncExternalStore(w7,a,r),S7=()=>location.search,N7=({ssrSearch:a=""}={})=>vT(S7,()=>a),lE=()=>location.pathname,E7=({ssrPath:a}={})=>vT(lE,a?()=>a:lE),C7=(a,{replace:r=!1,state:s=null}={})=>history[r?py:hy](s,"",a),T7=(a={})=>[E7(a),C7],sE=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[sE]>"u"){for(const a of[hy,py]){const r=history[a];history[a]=function(){const s=r.apply(this,arguments),u=new Event(a);return u.arguments=arguments,dispatchEvent(u),s}}Object.defineProperty(window,sE,{value:!0})}const D7=(a,r)=>r.toLowerCase().indexOf(a.toLowerCase())?"~"+r:r.slice(a.length)||"/",xT=(a="")=>a==="/"?"":a,O7=(a,r)=>a[0]==="~"?a.slice(1):xT(r)+a,R7=(a="",r)=>D7(iE(xT(a)),iE(r)),iE=a=>{try{return decodeURI(a)}catch{return a}},wT={hook:T7,searchHook:N7,parser:d7,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:a=>a},ST=A.createContext(wT),yc=()=>A.useContext(ST),NT={},ET=A.createContext(NT),A7=()=>A.useContext(ET),vm=a=>{const[r,s]=a.hook(a);return[R7(a.base,r),yT((u,c)=>s(O7(u,a.base),c))]},vi=()=>vm(yc()),CT=(a,r,s,u)=>{const{pattern:c,keys:f}=r instanceof RegExp?{keys:!1,pattern:r}:a(r||"*",u),m=c.exec(s)||[],[p,...b]=m;return p!==void 0?[!0,(()=>{const x=f!==!1?Object.fromEntries(f.map((g,S)=>[g,b[S]])):m.groups;let E={...b};return x&&Object.assign(E,x),E})(),...u?[p]:[]]:[!1,null]},_7=({children:a,...r})=>{const s=yc(),u=r.hook?wT:s;let c=u;const[f,m]=r.ssrPath?.split("?")??[];m&&(r.ssrSearch=m,r.ssrPath=f),r.hrefs=r.hrefs??r.hook?.hrefs;let p=A.useRef({}),b=p.current,x=b;for(let E in u){const g=E==="base"?u[E]+(r[E]||""):r[E]||u[E];b===x&&g!==x[E]&&(p.current=x={...x}),x[E]=g,(g!==u[E]||g!==c[E])&&(c=x)}return A.createElement(ST.Provider,{value:c,children:a})},uE=({children:a,component:r},s)=>r?A.createElement(r,{params:s}):typeof a=="function"?a(s):a,j7=a=>{let r=A.useRef(NT);const s=r.current;return r.current=Object.keys(a).length!==Object.keys(s).length||Object.entries(a).some(([u,c])=>c!==s[u])?a:s},Gl=({path:a,nest:r,match:s,...u})=>{const c=yc(),[f]=vm(c),[m,p,b]=s??CT(c.parser,a,f,r),x=j7({...A7(),...p});if(!m)return null;const E=b?A.createElement(_7,{base:b},uE(u,x)):uE(u,x);return A.createElement(ET.Provider,{value:x,children:E})};A.forwardRef((a,r)=>{const s=yc(),[u,c]=vm(s),{to:f="",href:m=f,onClick:p,asChild:b,children:x,className:E,replace:g,state:S,...C}=a,T=yT(V=>{V.ctrlKey||V.metaKey||V.altKey||V.shiftKey||V.button!==0||(p?.(V),V.defaultPrevented||(V.preventDefault(),c(m,a)))}),D=s.hrefs(m[0]==="~"?m.slice(1):s.base+m,s);return b&&A.isValidElement(x)?A.cloneElement(x,{onClick:T,href:D}):A.createElement("a",{...C,onClick:T,href:D,className:E?.call?E(u===m):E,children:x,ref:r})});const Gg=a=>Array.isArray(a)?a.flatMap(r=>Gg(r&&r.type===A.Fragment?r.props.children:r)):[a],M7=({children:a,location:r})=>{const s=yc(),[u]=vm(s);typeof window<"u"&&(window.__WOUTER_ROUTES__||(window.__WOUTER_ROUTES__=[]),Gg(a).forEach(f=>{if(A.isValidElement(f)&&f.props.path){const m=f.props.path;window.__WOUTER_ROUTES__.includes(m)||window.__WOUTER_ROUTES__.push(m)}}));for(const c of Gg(a)){let f=0;if(A.isValidElement(c)&&(f=CT(s.parser,c.props.path,r||u,c.props.nest))[0])return A.cloneElement(c,{match:f})}return null};function cE(){const[,a]=vi(),r=()=>{a("/")};return v.jsxDEV("div",{"data-loc":"client/src/pages/NotFound.tsx:14",className:"min-h-screen w-full flex items-center justify-center bg-gradient-to-br from-slate-50 to-slate-100",children:v.jsxDEV(LM,{"data-loc":"client/src/pages/NotFound.tsx:15",className:"w-full max-w-lg mx-4 shadow-lg border-0 bg-white/80 backdrop-blur-sm",children:v.jsxDEV(qM,{"data-loc":"client/src/pages/NotFound.tsx:16",className:"pt-8 pb-8 text-center",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/NotFound.tsx:17",className:"flex justify-center mb-6",children:v.jsxDEV("div",{"data-loc":"client/src/pages/NotFound.tsx:18",className:"relative",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/NotFound.tsx:19",className:"absolute inset-0 bg-red-100 rounded-full animate-pulse"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/NotFound.tsx",lineNumber:19,columnNumber:15},this),v.jsxDEV(IM,{"data-loc":"client/src/pages/NotFound.tsx:20",className:"relative h-16 w-16 text-red-500"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/NotFound.tsx",lineNumber:20,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/NotFound.tsx",lineNumber:18,columnNumber:13},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/NotFound.tsx",lineNumber:17,columnNumber:11},this),v.jsxDEV("h1",{"data-loc":"client/src/pages/NotFound.tsx:24",className:"text-4xl font-bold text-slate-900 mb-2",children:"404"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/NotFound.tsx",lineNumber:24,columnNumber:11},this),v.jsxDEV("h2",{"data-loc":"client/src/pages/NotFound.tsx:26",className:"text-xl font-semibold text-slate-700 mb-4",children:"Page Not Found"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/NotFound.tsx",lineNumber:26,columnNumber:11},this),v.jsxDEV("p",{"data-loc":"client/src/pages/NotFound.tsx:30",className:"text-slate-600 mb-8 leading-relaxed",children:["Sorry, the page you are looking for doesn't exist.",v.jsxDEV("br",{"data-loc":"client/src/pages/NotFound.tsx:32"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/NotFound.tsx",lineNumber:32,columnNumber:13},this),"It may have been moved or deleted."]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/NotFound.tsx",lineNumber:30,columnNumber:11},this),v.jsxDEV("div",{"data-loc":"client/src/pages/NotFound.tsx:36",id:"not-found-button-group",className:"flex flex-col sm:flex-row gap-3 justify-center",children:v.jsxDEV(lt,{"data-loc":"client/src/pages/NotFound.tsx:40",onClick:r,className:"bg-blue-600 hover:bg-blue-700 text-white px-6 py-2.5 rounded-lg transition-all duration-200 shadow-md hover:shadow-lg",children:[v.jsxDEV(WM,{"data-loc":"client/src/pages/NotFound.tsx:44",className:"w-4 h-4 mr-2"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/NotFound.tsx",lineNumber:44,columnNumber:15},this),"Go Home"]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/NotFound.tsx",lineNumber:40,columnNumber:13},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/NotFound.tsx",lineNumber:36,columnNumber:11},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/NotFound.tsx",lineNumber:16,columnNumber:9},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/NotFound.tsx",lineNumber:15,columnNumber:7},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/NotFound.tsx",lineNumber:14,columnNumber:5},this)}class z7 extends A.Component{constructor(r){super(r),this.state={hasError:!1,error:null}}static getDerivedStateFromError(r){return{hasError:!0,error:r}}render(){return this.state.hasError?v.jsxDEV("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:27",className:"flex items-center justify-center min-h-screen p-8 bg-background",children:v.jsxDEV("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:28",className:"flex flex-col items-center w-full max-w-2xl p-8",children:[v.jsxDEV(u7,{"data-loc":"client/src/components/ErrorBoundary.tsx:29",size:48,className:"text-destructive mb-6 flex-shrink-0"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/components/ErrorBoundary.tsx",lineNumber:29,columnNumber:13},this),v.jsxDEV("h2",{"data-loc":"client/src/components/ErrorBoundary.tsx:34",className:"text-xl mb-4",children:"An unexpected error occurred."},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/components/ErrorBoundary.tsx",lineNumber:34,columnNumber:13},this),v.jsxDEV("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:v.jsxDEV("pre",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"text-sm text-muted-foreground whitespace-break-spaces",children:this.state.error?.stack},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/components/ErrorBoundary.tsx",lineNumber:37,columnNumber:15},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/components/ErrorBoundary.tsx",lineNumber:36,columnNumber:13},this),v.jsxDEV("button",{"data-loc":"client/src/components/ErrorBoundary.tsx:42",onClick:()=>window.location.reload(),className:$e("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[v.jsxDEV(r7,{"data-loc":"client/src/components/ErrorBoundary.tsx:50",size:16},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/components/ErrorBoundary.tsx",lineNumber:50,columnNumber:15},this),"Reload Page"]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/components/ErrorBoundary.tsx",lineNumber:42,columnNumber:13},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/components/ErrorBoundary.tsx",lineNumber:28,columnNumber:11},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/components/ErrorBoundary.tsx",lineNumber:27,columnNumber:9},this):this.props.children}}const k7=A.createContext(void 0);function V7({children:a,defaultTheme:r="light",switchable:s=!1}){const[u,c]=A.useState(()=>s&&localStorage.getItem("theme")||r);A.useEffect(()=>{const m=document.documentElement;u==="dark"?m.classList.add("dark"):m.classList.remove("dark"),s&&localStorage.setItem("theme",u)},[u,s]);const f=s?()=>{c(m=>m==="light"?"dark":"light")}:void 0;return v.jsxDEV(k7.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:u,toggleTheme:f,switchable:s},children:a},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/contexts/ThemeContext.tsx",lineNumber:52,columnNumber:5},this)}const mi=()=>{const a="https://manus.im",r="35nWN82CFSUgmEWmuPCFkz",s=`${window.location.origin}/api/oauth/callback`,u=btoa(s),c=new URL(`${a}/app-auth`);return c.searchParams.set("appId",r),c.searchParams.set("redirectUri",s),c.searchParams.set("state",u),c.searchParams.set("type","signIn"),c.toString()};function xi(a){const{redirectOnUnauthenticated:r=!1,redirectPath:s=mi()}={},u=Aa.useUtils(),c=Aa.auth.me.useQuery(void 0,{retry:!1,refetchOnWindowFocus:!1}),f=Aa.auth.logout.useMutation({onSuccess:()=>{u.auth.me.setData(void 0,null)}}),m=A.useCallback(async()=>{try{await f.mutateAsync()}catch(b){if(b instanceof ii&&b.data?.code==="UNAUTHORIZED")return;throw b}finally{u.auth.me.setData(void 0,null),await u.auth.me.invalidate()}},[f,u]),p=A.useMemo(()=>(localStorage.setItem("manus-runtime-user-info",JSON.stringify(c.data)),{user:c.data??null,loading:c.isLoading||f.isPending,error:c.error??f.error??null,isAuthenticated:!!c.data}),[c.data,c.error,c.isLoading,f.error,f.isPending]);return A.useEffect(()=>{r&&(c.isLoading||f.isPending||p.user||typeof window>"u"||window.location.pathname!==s&&(window.location.href=s))},[r,s,f.isPending,c.isLoading,p.user]),{...p,refresh:()=>c.refetch(),logout:m}}const by=3456;function U7(){return typeof window<"u"&&window.location.hostname==="localhost"?"":`http://localhost:${by}`}function H7(){return typeof window<"u"&&window.location.hostname==="localhost"?`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/ws`:`ws://localhost:${by}/ws`}const dE=U7(),L7=H7();function gy(){const[a,r]=A.useState({connected:!1,connecting:!1,error:null,port:by}),[s,u]=A.useState([]),[c,f]=A.useState("~"),m=A.useRef(null),p=A.useRef(null),b=A.useCallback((T,D)=>{const V={id:`${Date.now()}-${Math.random().toString(36).substr(2,9)}`,type:T,content:D,timestamp:new Date};return u(j=>[...j,V]),V},[]),x=A.useCallback(()=>{u([])},[]),E=A.useCallback(async()=>{try{const T=new AbortController,D=setTimeout(()=>T.abort(),3e3),V=await fetch(`${dE}/health`,{method:"GET",mode:"cors",signal:T.signal});return clearTimeout(D),V.ok}catch(T){return console.log("Agent check failed:",T),!1}},[]),g=A.useCallback(async()=>{if(a.connecting){console.log("Already connecting...");return}if(a.connected&&m.current?.readyState===WebSocket.OPEN){console.log("Already connected");return}if(r(D=>({...D,connecting:!0,error:null})),b("system","Connecting to your computer..."),!await E()){r(D=>({...D,connecting:!1,error:"Could not reach the agent. Make sure it is running."})),b("error","Could not connect to the agent on port 3456"),b("system","Please make sure you have run: npx web-terminal-agent"),nn.error("Agent not detected. Please start the agent first.",{description:'Run "npx web-terminal-agent" in your terminal',duration:5e3});return}b("system","Agent detected! Establishing connection...");try{m.current&&(m.current.close(),m.current=null);const D=new WebSocket(L7);D.onopen=()=>{console.log("WebSocket connected"),r(V=>({...V,connected:!0,connecting:!1,error:null})),b("system","Connected successfully!"),m.current=D,nn.success("Connected to your computer!")},D.onmessage=V=>{try{const j=JSON.parse(V.data);j.type==="output"?b("output",j.content):j.type==="error"?b("error",j.content):j.type==="cwd"&&f(j.content)}catch{b("output",V.data)}},D.onerror=V=>{console.error("WebSocket error:",V),r(j=>({...j,connected:!1,connecting:!1,error:"WebSocket connection failed. The agent may not support WebSocket."})),b("error","WebSocket connection failed"),nn.error("Connection failed",{description:"Could not establish WebSocket connection"})},D.onclose=V=>{console.log("WebSocket closed:",V.code,V.reason),r(j=>({...j,connected:!1,connecting:!1})),m.current===D&&(b("system","Disconnected from agent"),m.current=null)},setTimeout(()=>{D.readyState!==WebSocket.OPEN&&(D.close(),r(V=>({...V,connecting:!1,error:"Connection timed out"})),b("error","Connection timed out"),nn.error("Connection timed out"))},5e3)}catch(D){console.error("Connection error:",D),r(V=>({...V,connecting:!1,error:"Failed to connect to agent"})),b("error","Failed to establish connection"),nn.error("Failed to connect")}},[a.connecting,a.connected,E,b]),S=A.useCallback(()=>{m.current&&(m.current.close(),m.current=null),r(T=>({...T,connected:!1,connecting:!1})),b("system","Disconnected"),nn.info("Disconnected from agent")},[b]),C=A.useCallback(async T=>{if(T.trim()){if(b("input",`${c} $ ${T}`),T.trim().toLowerCase()==="clear"){x();return}if(!a.connected){b("error","Not connected. Please connect first."),nn.error("Not connected to agent");return}if(m.current&&m.current.readyState===WebSocket.OPEN){m.current.send(JSON.stringify({type:"command",content:T}));return}try{const V=await(await fetch(`${dE}/execute`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({command:T}),mode:"cors"})).json();V.stdout&&V.stdout.split(`
502
+ `).forEach(j=>{j&&b("output",j)}),V.stderr&&V.stderr.split(`
503
+ `).forEach(j=>{j&&b("error",j)}),V.cwd&&f(V.cwd)}catch{b("error","Command execution failed"),nn.error("Failed to execute command")}}},[a.connected,c,b,x]);return A.useEffect(()=>()=>{m.current&&m.current.close(),p.current&&clearTimeout(p.current)},[]),{status:a,lines:s,currentDir:c,connect:g,disconnect:S,executeCommand:C,checkAgent:E,clearLines:x,addLine:b}}const q7=[{id:"claude-code",name:"Code Helper",tagline:"Your AI coding assistant",description:"Get help writing, fixing, and understanding code. Just describe what you need in plain English.",icon:gT,gradient:"bg-gradient-claude",color:"text-primary",bgColor:"bg-primary/10",borderColor:"border-primary/20",features:["Write code from descriptions","Fix bugs automatically","Explain how code works"]},{id:"clawdbot",name:"Task Automator",tagline:"Automate repetitive tasks",description:"Let AI handle boring, repetitive computer tasks for you. No coding required.",icon:uT,gradient:"bg-gradient-clawdbot",color:"text-accent",bgColor:"bg-accent/10",borderColor:"border-accent/20",features:["Automate file organization","Schedule recurring tasks","Connect different apps"]}];function B7(){const[,a]=vi(),{user:r,loading:s,isAuthenticated:u}=xi(),{status:c,connect:f}=gy(),[m,p]=A.useState(0);return A.useEffect(()=>{c.connected&&p(3)},[c.connected]),v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:62",className:"min-h-screen bg-background",children:[v.jsxDEV("header",{"data-loc":"client/src/pages/Dashboard.tsx:64",className:"border-b border-border bg-white/80 backdrop-blur-sm sticky top-0 z-20",children:v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:65",className:"container py-4",children:v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:66",className:"flex items-center justify-between",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:68",className:"flex items-center gap-3",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:69",className:"w-10 h-10 rounded-xl bg-primary flex items-center justify-center",children:v.jsxDEV(my,{"data-loc":"client/src/pages/Dashboard.tsx:70",className:"w-5 h-5 text-white"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:70,columnNumber:17},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:69,columnNumber:15},this),v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:72",children:[v.jsxDEV("h1",{"data-loc":"client/src/pages/Dashboard.tsx:73",className:"text-xl font-bold text-foreground",children:"TerminalMate"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:73,columnNumber:17},this),v.jsxDEV("p",{"data-loc":"client/src/pages/Dashboard.tsx:76",className:"text-xs text-muted-foreground",children:"AI tools made simple"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:76,columnNumber:17},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:72,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:68,columnNumber:13},this),v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:83",className:"flex items-center gap-3",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:85",className:$e("flex items-center gap-2 px-3 py-1.5 rounded-full text-sm",c.connected?"bg-success-light text-success":"bg-muted text-muted-foreground"),children:[v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:91",className:$e("w-2 h-2 rounded-full",c.connected?"bg-success animate-pulse":"bg-muted-foreground")},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:91,columnNumber:17},this),c.connected?"Connected":"Not connected"]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:85,columnNumber:15},this),v.jsxDEV(lt,{"data-loc":"client/src/pages/Dashboard.tsx:98",variant:"ghost",size:"icon",className:"text-muted-foreground hover:text-foreground",onClick:()=>a("/history"),children:v.jsxDEV(Xf,{"data-loc":"client/src/pages/Dashboard.tsx:104",className:"w-5 h-5"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:104,columnNumber:17},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:98,columnNumber:15},this),v.jsxDEV(lt,{"data-loc":"client/src/pages/Dashboard.tsx:106",variant:"ghost",size:"icon",className:"text-muted-foreground hover:text-foreground",onClick:()=>a("/settings"),children:v.jsxDEV(hT,{"data-loc":"client/src/pages/Dashboard.tsx:112",className:"w-5 h-5"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:112,columnNumber:17},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:106,columnNumber:15},this),!s&&(u?v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:118",className:"flex items-center gap-2 px-3 py-1.5 rounded-full bg-primary/10 border border-primary/20",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:119",className:"w-6 h-6 rounded-full bg-primary flex items-center justify-center",children:v.jsxDEV(bT,{"data-loc":"client/src/pages/Dashboard.tsx:120",className:"w-3.5 h-3.5 text-white"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:120,columnNumber:23},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:119,columnNumber:21},this),v.jsxDEV("span",{"data-loc":"client/src/pages/Dashboard.tsx:122",className:"text-sm font-medium text-primary",children:r?.name?.split(" ")[0]||"You"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:122,columnNumber:21},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:118,columnNumber:19},this):v.jsxDEV(lt,{"data-loc":"client/src/pages/Dashboard.tsx:127",onClick:()=>window.location.href=mi(),className:"bg-primary hover:bg-primary/90 text-white rounded-full px-4",children:[v.jsxDEV(am,{"data-loc":"client/src/pages/Dashboard.tsx:131",className:"w-4 h-4 mr-2"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:131,columnNumber:21},this),"Sign In"]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:127,columnNumber:19},this))]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:83,columnNumber:13},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:66,columnNumber:11},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:65,columnNumber:9},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:64,columnNumber:7},this),v.jsxDEV("main",{"data-loc":"client/src/pages/Dashboard.tsx:142",children:[v.jsxDEV("section",{"data-loc":"client/src/pages/Dashboard.tsx:144",className:"bg-gradient-hero py-16 md:py-24",children:v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:145",className:"container text-center",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:146",className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-white/80 shadow-soft mb-6",children:[v.jsxDEV("span",{"data-loc":"client/src/pages/Dashboard.tsx:147",className:"animate-wave inline-block",children:"👋"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:147,columnNumber:15},this),v.jsxDEV("span",{"data-loc":"client/src/pages/Dashboard.tsx:148",className:"text-sm font-medium text-foreground",children:"No coding experience needed"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:148,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:146,columnNumber:13},this),v.jsxDEV("h1",{"data-loc":"client/src/pages/Dashboard.tsx:153",className:"text-4xl md:text-5xl lg:text-6xl font-bold text-foreground mb-6 text-display",children:["Use AI tools",v.jsxDEV("br",{"data-loc":"client/src/pages/Dashboard.tsx:154"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:154,columnNumber:27},this),v.jsxDEV("span",{"data-loc":"client/src/pages/Dashboard.tsx:155",className:"text-primary",children:"without the tech stuff"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:155,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:153,columnNumber:13},this),v.jsxDEV("p",{"data-loc":"client/src/pages/Dashboard.tsx:158",className:"text-lg md:text-xl text-muted-foreground max-w-2xl mx-auto mb-8 text-friendly",children:"Powerful AI assistants that help you code, automate tasks, and get things done. Just tell them what you need in plain English."},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:158,columnNumber:13},this),!c.connected&&v.jsxDEV(lt,{"data-loc":"client/src/pages/Dashboard.tsx:164",size:"lg",className:"bg-primary hover:bg-primary/90 text-white rounded-full px-8 py-6 text-lg btn-friendly",onClick:()=>document.getElementById("setup")?.scrollIntoView({behavior:"smooth"}),children:["Get Started Free",v.jsxDEV(nE,{"data-loc":"client/src/pages/Dashboard.tsx:170",className:"w-5 h-5 ml-2"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:170,columnNumber:17},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:164,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:145,columnNumber:11},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:144,columnNumber:9},this),!c.connected&&v.jsxDEV("section",{"data-loc":"client/src/pages/Dashboard.tsx:178",id:"setup",className:"py-16 bg-white",children:v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:179",className:"container max-w-3xl",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:180",className:"text-center mb-12",children:[v.jsxDEV("h2",{"data-loc":"client/src/pages/Dashboard.tsx:181",className:"text-3xl font-bold text-foreground mb-4 text-display",children:"Quick Setup"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:181,columnNumber:17},this),v.jsxDEV("p",{"data-loc":"client/src/pages/Dashboard.tsx:184",className:"text-muted-foreground text-friendly",children:"Just 3 simple steps to get started. Takes about 2 minutes."},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:184,columnNumber:17},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:180,columnNumber:15},this),v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:189",className:"space-y-4",children:[v.jsxDEV(vg,{"data-loc":"client/src/pages/Dashboard.tsx:191",number:1,title:"Make sure you have Node.js",description:"Node.js is a free program that runs our helper. Most computers already have it.",isComplete:m>=1,isActive:m===0,children:v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:198",className:"flex flex-col sm:flex-row gap-3",children:[v.jsxDEV(lt,{"data-loc":"client/src/pages/Dashboard.tsx:199",variant:"outline",className:"rounded-full",onClick:()=>window.open("https://nodejs.org","_blank"),children:"Download Node.js (if needed)"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:199,columnNumber:21},this),v.jsxDEV(lt,{"data-loc":"client/src/pages/Dashboard.tsx:206",className:"bg-primary text-white rounded-full",onClick:()=>p(1),children:["I have Node.js",v.jsxDEV(If,{"data-loc":"client/src/pages/Dashboard.tsx:211",className:"w-4 h-4 ml-2"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:211,columnNumber:23},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:206,columnNumber:21},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:198,columnNumber:19},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:191,columnNumber:17},this),v.jsxDEV(vg,{"data-loc":"client/src/pages/Dashboard.tsx:217",number:2,title:"Run our helper program",description:"Copy this command and paste it in your Terminal (Mac) or Command Prompt (Windows).",isComplete:m>=2,isActive:m===1,children:[v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:224",className:"bg-muted rounded-xl p-4 mb-4",children:v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:225",className:"flex items-center justify-between",children:[v.jsxDEV("code",{"data-loc":"client/src/pages/Dashboard.tsx:226",className:"text-sm font-mono text-foreground",children:"npx web-terminal-agent"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:226,columnNumber:23},this),v.jsxDEV(lt,{"data-loc":"client/src/pages/Dashboard.tsx:229",variant:"ghost",size:"sm",className:"text-primary",onClick:()=>{navigator.clipboard.writeText("npx web-terminal-agent"),nn.success("Copied to clipboard!")},children:"Copy"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:229,columnNumber:23},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:225,columnNumber:21},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:224,columnNumber:19},this),v.jsxDEV("p",{"data-loc":"client/src/pages/Dashboard.tsx:242",className:"text-sm text-muted-foreground mb-4",children:[v.jsxDEV(XM,{"data-loc":"client/src/pages/Dashboard.tsx:243",className:"w-4 h-4 inline mr-1"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:243,columnNumber:21},this),"Don't know how to open Terminal?",v.jsxDEV("button",{"data-loc":"client/src/pages/Dashboard.tsx:245",className:"text-primary underline ml-1",children:"Watch a quick video"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:245,columnNumber:21},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:242,columnNumber:19},this),v.jsxDEV(lt,{"data-loc":"client/src/pages/Dashboard.tsx:247",className:"bg-primary text-white rounded-full",onClick:()=>p(2),children:["I ran the command",v.jsxDEV(If,{"data-loc":"client/src/pages/Dashboard.tsx:252",className:"w-4 h-4 ml-2"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:252,columnNumber:21},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:247,columnNumber:19},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:217,columnNumber:17},this),v.jsxDEV(vg,{"data-loc":"client/src/pages/Dashboard.tsx:257",number:3,title:"Connect to your computer",description:"Click the button below to connect this website to your computer.",isComplete:m>=3,isActive:m===2,children:v.jsxDEV(lt,{"data-loc":"client/src/pages/Dashboard.tsx:264",className:"bg-primary text-white rounded-full",onClick:()=>{f()},disabled:c.connecting,children:[c.connecting?"Connecting...":"Connect Now",v.jsxDEV(c7,{"data-loc":"client/src/pages/Dashboard.tsx:272",className:"w-4 h-4 ml-2"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:272,columnNumber:21},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:264,columnNumber:19},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:257,columnNumber:17},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:189,columnNumber:15},this),v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:278",className:"mt-8 p-4 rounded-xl bg-success-light border border-success/20",children:v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:279",className:"flex items-start gap-3",children:[v.jsxDEV(pT,{"data-loc":"client/src/pages/Dashboard.tsx:280",className:"w-5 h-5 text-success mt-0.5"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:280,columnNumber:19},this),v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:281",children:[v.jsxDEV("p",{"data-loc":"client/src/pages/Dashboard.tsx:282",className:"font-medium text-success mb-1",children:"Your privacy is protected"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:282,columnNumber:21},this),v.jsxDEV("p",{"data-loc":"client/src/pages/Dashboard.tsx:283",className:"text-sm text-success/80",children:"The helper only runs on your computer and can't be accessed by anyone else. Your data never leaves your machine."},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:283,columnNumber:21},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:281,columnNumber:19},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:279,columnNumber:17},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:278,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:179,columnNumber:13},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:178,columnNumber:11},this),v.jsxDEV("section",{"data-loc":"client/src/pages/Dashboard.tsx:295",className:"py-16 bg-background",children:v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:296",className:"container",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:297",className:"text-center mb-12",children:[v.jsxDEV("h2",{"data-loc":"client/src/pages/Dashboard.tsx:298",className:"text-3xl font-bold text-foreground mb-4 text-display",children:"Choose Your AI Helper"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:298,columnNumber:15},this),v.jsxDEV("p",{"data-loc":"client/src/pages/Dashboard.tsx:301",className:"text-muted-foreground text-friendly",children:"Pick the tool that matches what you need help with."},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:301,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:297,columnNumber:13},this),v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:306",className:"grid md:grid-cols-2 gap-6 max-w-4xl mx-auto",children:q7.map(b=>{const x=b.icon;return v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:310",className:$e("rounded-2xl p-6 border-2 transition-all cursor-pointer card-hover",b.gradient,b.borderColor,!c.connected&&"opacity-60"),onClick:()=>{c.connected?a(`/tool/${b.id}`):(nn.info("Please complete the setup first"),document.getElementById("setup")?.scrollIntoView({behavior:"smooth"}))},children:[v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:327",className:"flex items-start gap-4 mb-4",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:328",className:$e("w-14 h-14 rounded-xl flex items-center justify-center",b.bgColor),children:v.jsxDEV(x,{"data-loc":"client/src/pages/Dashboard.tsx:332",className:$e("w-7 h-7",b.color)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:332,columnNumber:25},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:328,columnNumber:23},this),v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:334",children:[v.jsxDEV("h3",{"data-loc":"client/src/pages/Dashboard.tsx:335",className:"text-xl font-bold text-foreground mb-1",children:b.name},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:335,columnNumber:25},this),v.jsxDEV("p",{"data-loc":"client/src/pages/Dashboard.tsx:338",className:$e("text-sm font-medium",b.color),children:b.tagline},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:338,columnNumber:25},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:334,columnNumber:23},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:327,columnNumber:21},this),v.jsxDEV("p",{"data-loc":"client/src/pages/Dashboard.tsx:344",className:"text-muted-foreground mb-4 text-friendly",children:b.description},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:344,columnNumber:21},this),v.jsxDEV("ul",{"data-loc":"client/src/pages/Dashboard.tsx:348",className:"space-y-2 mb-4",children:b.features.map((E,g)=>v.jsxDEV("li",{"data-loc":"client/src/pages/Dashboard.tsx:350",className:"flex items-center gap-2 text-sm text-foreground",children:[v.jsxDEV(If,{"data-loc":"client/src/pages/Dashboard.tsx:351",className:$e("w-4 h-4",b.color)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:351,columnNumber:27},this),E]},g,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:350,columnNumber:25},this))},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:348,columnNumber:21},this),v.jsxDEV(lt,{"data-loc":"client/src/pages/Dashboard.tsx:357",className:$e("w-full rounded-full",b.id==="claude-code"?"bg-primary hover:bg-primary/90 text-white":"bg-accent hover:bg-accent/90 text-white"),disabled:!c.connected,children:[c.connected?"Start Using":"Setup Required",v.jsxDEV(nE,{"data-loc":"client/src/pages/Dashboard.tsx:367",className:"w-4 h-4 ml-2"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:367,columnNumber:23},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:357,columnNumber:21},this)]},b.id,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:310,columnNumber:19},this)})},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:306,columnNumber:13},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:296,columnNumber:11},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:295,columnNumber:9},this),!u&&!s&&v.jsxDEV("section",{"data-loc":"client/src/pages/Dashboard.tsx:378",className:"py-12 bg-primary/5",children:v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:379",className:"container max-w-2xl text-center",children:[v.jsxDEV(KM,{"data-loc":"client/src/pages/Dashboard.tsx:380",className:"w-12 h-12 text-primary mx-auto mb-4"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:380,columnNumber:15},this),v.jsxDEV("h3",{"data-loc":"client/src/pages/Dashboard.tsx:381",className:"text-2xl font-bold text-foreground mb-2 text-display",children:"Save your progress"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:381,columnNumber:15},this),v.jsxDEV("p",{"data-loc":"client/src/pages/Dashboard.tsx:384",className:"text-muted-foreground mb-6 text-friendly",children:"Sign in to save your settings and history across all your devices."},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:384,columnNumber:15},this),v.jsxDEV(lt,{"data-loc":"client/src/pages/Dashboard.tsx:387",onClick:()=>window.location.href=mi(),className:"bg-primary hover:bg-primary/90 text-white rounded-full px-6",children:[v.jsxDEV(am,{"data-loc":"client/src/pages/Dashboard.tsx:391",className:"w-4 h-4 mr-2"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:391,columnNumber:17},this),"Sign In Free"]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:387,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:379,columnNumber:13},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:378,columnNumber:11},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:142,columnNumber:7},this),v.jsxDEV("footer",{"data-loc":"client/src/pages/Dashboard.tsx:400",className:"py-8 border-t border-border",children:v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:401",className:"container text-center",children:v.jsxDEV("p",{"data-loc":"client/src/pages/Dashboard.tsx:402",className:"text-sm text-muted-foreground",children:"Made with ❤️ for people who want to use AI without the complexity"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:402,columnNumber:11},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:401,columnNumber:9},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:400,columnNumber:7},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:62,columnNumber:5},this)}function vg({number:a,title:r,description:s,isComplete:u,isActive:c,children:f}){return v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:423",className:$e("rounded-2xl border-2 p-6 transition-all",u?"border-success/30 bg-success-light/50":c?"border-primary/30 bg-white shadow-soft":"border-border bg-muted/30 opacity-60"),children:v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:429",className:"flex items-start gap-4",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:430",className:$e("w-10 h-10 rounded-full flex items-center justify-center flex-shrink-0",u?"bg-success text-white":c?"bg-primary text-white":"bg-muted text-muted-foreground"),children:u?v.jsxDEV(If,{"data-loc":"client/src/pages/Dashboard.tsx:437",className:"w-5 h-5"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:437,columnNumber:13},this):v.jsxDEV("span",{"data-loc":"client/src/pages/Dashboard.tsx:439",className:"font-bold",children:a},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:439,columnNumber:13},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:430,columnNumber:9},this),v.jsxDEV("div",{"data-loc":"client/src/pages/Dashboard.tsx:443",className:"flex-1",children:[v.jsxDEV("h3",{"data-loc":"client/src/pages/Dashboard.tsx:444",className:$e("text-lg font-bold mb-1",u?"text-success":"text-foreground"),children:r},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:444,columnNumber:11},this),v.jsxDEV("p",{"data-loc":"client/src/pages/Dashboard.tsx:450",className:"text-muted-foreground mb-4 text-friendly",children:s},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:450,columnNumber:11},this),c&&!u&&f]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:443,columnNumber:9},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:429,columnNumber:7},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Dashboard.tsx",lineNumber:423,columnNumber:5},this)}function P7(){return xi(),v.jsxDEV(B7,{"data-loc":"client/src/pages/Home.tsx:14"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Home.tsx",lineNumber:14,columnNumber:10},this)}const Q7=[{icon:FM,label:"Write code",prompt:"Help me write code that ",color:"bg-primary/10 text-primary border-primary/20"},{icon:$M,label:"Fix a bug",prompt:"Help me fix this bug: ",color:"bg-destructive/10 text-destructive border-destructive/20"},{icon:ZM,label:"Explain code",prompt:"Explain what this code does: ",color:"bg-accent/10 text-accent border-accent/20"},{icon:e7,label:"Get ideas",prompt:"Give me ideas for ",color:"bg-success/10 text-success border-success/20"}],Y7=["Create a simple website that shows the weather","Write a Python script to organize my photos by date","Help me understand what this error message means","Make a to-do list app that saves my tasks"];function $7(){const[,a]=vi(),{status:r,lines:s}=gy(),{isAuthenticated:u}=xi(),[c,f]=A.useState([]),[m,p]=A.useState(""),[b,x]=A.useState(!1),[E,g]=A.useState(!1),S=A.useRef(null),C=A.useRef(null),T=Aa.history.add.useMutation();A.useEffect(()=>{S.current?.scrollIntoView({behavior:"smooth"})},[c]),A.useEffect(()=>{c.length===0&&f([{id:"1",type:"assistant",content:"Hi! 👋 I'm your coding helper. Tell me what you'd like to create or fix, and I'll help you out. No coding experience needed - just describe what you want in plain English!",timestamp:new Date}])},[]);const D=async()=>{if(!m.trim()||b)return;if(!r.connected){nn.error("Please connect to your computer first");return}const U={id:Date.now().toString(),type:"user",content:m.trim(),timestamp:new Date};f(ee=>[...ee,U]),p(""),x(!0),setTimeout(()=>{const ee={id:(Date.now()+1).toString(),type:"assistant",content:`I understand you want to: "${U.content}"
504
+
505
+ Let me help you with that! I'm analyzing your request and will provide a solution shortly.
506
+
507
+ *Note: This is a demo. In the full version, I would execute the actual Claude Code commands on your computer.*`,timestamp:new Date};f(ie=>[...ie,ee]),x(!1),u&&T.mutate({command:U.content,tool:"claude-code",status:"success",output:ee.content})},1500)},V=U=>{p(U),C.current?.focus()},j=U=>{U.key==="Enter"&&!U.shiftKey&&(U.preventDefault(),D())};return v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:147",className:"min-h-screen bg-background flex flex-col",children:[v.jsxDEV("header",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:149",className:"border-b border-border bg-white sticky top-0 z-20",children:v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:150",className:"container py-3",children:v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:151",className:"flex items-center justify-between",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:152",className:"flex items-center gap-4",children:[v.jsxDEV(lt,{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:153",variant:"ghost",size:"icon",onClick:()=>a("/"),className:"text-muted-foreground hover:text-foreground",children:v.jsxDEV(fc,{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:159",className:"w-5 h-5"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:159,columnNumber:17},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:153,columnNumber:15},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:162",className:"flex items-center gap-3",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:163",className:"w-10 h-10 rounded-xl bg-primary/10 flex items-center justify-center",children:v.jsxDEV(gT,{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:164",className:"w-5 h-5 text-primary"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:164,columnNumber:19},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:163,columnNumber:17},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:166",children:[v.jsxDEV("h1",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:167",className:"text-lg font-bold text-foreground",children:"Code Helper"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:167,columnNumber:19},this),v.jsxDEV("p",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:170",className:"text-xs text-muted-foreground",children:"Powered by Claude AI"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:170,columnNumber:19},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:166,columnNumber:17},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:162,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:152,columnNumber:13},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:177",className:"flex items-center gap-2",children:[v.jsxDEV(lt,{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:178",variant:"ghost",size:"sm",onClick:()=>g(!E),className:"text-muted-foreground",children:[E?v.jsxDEV(dT,{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:184",className:"w-4 h-4 mr-2"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:184,columnNumber:33},this):v.jsxDEV(fT,{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:184",className:"w-4 h-4 mr-2"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:184,columnNumber:122},this),E?"Hide":"Show"," Details"]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:178,columnNumber:15},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:188",className:$e("flex items-center gap-2 px-3 py-1.5 rounded-full text-sm",r.connected?"bg-success-light text-success":"bg-destructive/10 text-destructive"),children:[v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:194",className:$e("w-2 h-2 rounded-full",r.connected?"bg-success":"bg-destructive")},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:194,columnNumber:17},this),r.connected?"Connected":"Disconnected"]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:188,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:177,columnNumber:13},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:151,columnNumber:11},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:150,columnNumber:9},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:149,columnNumber:7},this),v.jsxDEV("main",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:206",className:"flex-1 flex",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:208",className:"flex-1 flex flex-col",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:210",className:"flex-1 overflow-y-auto p-4",children:v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:211",className:"max-w-3xl mx-auto space-y-4",children:[c.map(U=>v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:213",className:$e("flex",U.type==="user"?"justify-end":"justify-start"),children:v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:220",className:$e("max-w-[80%] rounded-2xl px-4 py-3",U.type==="user"?"bg-primary text-white rounded-br-md":"bg-muted text-foreground rounded-bl-md"),children:[U.type==="assistant"&&v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:227",className:"flex items-center gap-2 mb-2",children:[v.jsxDEV(my,{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:228",className:"w-4 h-4 text-primary"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:228,columnNumber:25},this),v.jsxDEV("span",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:229",className:"text-xs font-medium text-primary",children:"Code Helper"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:229,columnNumber:25},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:227,columnNumber:23},this),v.jsxDEV("p",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:232",className:"text-sm whitespace-pre-wrap",children:U.content},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:232,columnNumber:21},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:220,columnNumber:19},this)},U.id,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:213,columnNumber:17},this)),b&&v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:238",className:"flex justify-start",children:v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:239",className:"bg-muted rounded-2xl rounded-bl-md px-4 py-3",children:v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:240",className:"flex items-center gap-2",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:241",className:"flex gap-1",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:242",className:"w-2 h-2 bg-primary rounded-full animate-bounce",style:{animationDelay:"0ms"}},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:242,columnNumber:25},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:243",className:"w-2 h-2 bg-primary rounded-full animate-bounce",style:{animationDelay:"150ms"}},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:243,columnNumber:25},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:244",className:"w-2 h-2 bg-primary rounded-full animate-bounce",style:{animationDelay:"300ms"}},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:244,columnNumber:25},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:241,columnNumber:23},this),v.jsxDEV("span",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:246",className:"text-sm text-muted-foreground",children:"Thinking..."},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:246,columnNumber:23},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:240,columnNumber:21},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:239,columnNumber:19},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:238,columnNumber:17},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:252",ref:S},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:252,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:211,columnNumber:13},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:210,columnNumber:11},this),c.length<=1&&v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:258",className:"px-4 pb-4",children:v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:259",className:"max-w-3xl mx-auto",children:[v.jsxDEV("p",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:260",className:"text-sm text-muted-foreground mb-3",children:"Quick actions:"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:260,columnNumber:17},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:261",className:"flex flex-wrap gap-2 mb-4",children:Q7.map(U=>{const ee=U.icon;return v.jsxDEV("button",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:265",onClick:()=>V(U.prompt),className:$e("flex items-center gap-2 px-3 py-2 rounded-full border text-sm transition-all hover:shadow-soft",U.color),children:[v.jsxDEV(ee,{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:273",className:"w-4 h-4"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:273,columnNumber:25},this),U.label]},U.label,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:265,columnNumber:23},this)})},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:261,columnNumber:17},this),v.jsxDEV("p",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:280",className:"text-sm text-muted-foreground mb-2",children:"Or try one of these:"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:280,columnNumber:17},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:281",className:"space-y-2",children:Y7.map((U,ee)=>v.jsxDEV("button",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:283",onClick:()=>p(U),className:"block w-full text-left px-4 py-2 rounded-xl bg-muted/50 hover:bg-muted text-sm text-foreground transition-colors",children:['"',U,'"']},ee,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:283,columnNumber:21},this))},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:281,columnNumber:17},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:259,columnNumber:15},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:258,columnNumber:13},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:297",className:"border-t border-border p-4 bg-white",children:v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:298",className:"max-w-3xl mx-auto",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:299",className:"flex gap-3",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:300",className:"flex-1 relative",children:v.jsxDEV("textarea",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:301",ref:C,value:m,onChange:U=>p(U.target.value),onKeyDown:j,placeholder:"Describe what you want to create or fix...",className:"w-full resize-none rounded-2xl border border-border bg-muted/30 px-4 py-3 pr-12 text-sm focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary min-h-[52px] max-h-[200px]",rows:1,disabled:!r.connected||b},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:301,columnNumber:19},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:300,columnNumber:17},this),v.jsxDEV(lt,{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:312",onClick:D,disabled:!m.trim()||!r.connected||b,className:"bg-primary hover:bg-primary/90 text-white rounded-full w-12 h-12 p-0",children:v.jsxDEV(mT,{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:317",className:"w-5 h-5"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:317,columnNumber:19},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:312,columnNumber:17},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:299,columnNumber:15},this),!r.connected&&v.jsxDEV("p",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:322",className:"text-xs text-destructive mt-2 text-center",children:"Please connect to your computer first to use this tool."},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:322,columnNumber:17},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:298,columnNumber:13},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:297,columnNumber:11},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:208,columnNumber:9},this),E&&v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:332",className:"w-96 border-l border-border bg-slate-900 p-4 overflow-y-auto",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:333",className:"flex items-center gap-2 mb-4",children:[v.jsxDEV(om,{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:334",className:"w-4 h-4 text-slate-400"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:334,columnNumber:15},this),v.jsxDEV("span",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:335",className:"text-sm font-medium text-slate-300",children:"Technical Details"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:335,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:333,columnNumber:13},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:337",className:"font-mono text-xs text-slate-400 space-y-1",children:s.length===0?v.jsxDEV("p",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:339",className:"text-slate-500",children:"Commands will appear here..."},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:339,columnNumber:17},this):s.map(U=>v.jsxDEV("p",{"data-loc":"client/src/pages/ClaudeCodeTool.tsx:342",children:U.content},U.id,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:342,columnNumber:19},this))},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:337,columnNumber:13},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:332,columnNumber:11},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:206,columnNumber:7},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClaudeCodeTool.tsx",lineNumber:147,columnNumber:5},this)}const G7=[{icon:JM,label:"Organize files",prompt:"Help me organize my files by ",color:"bg-accent/10 text-accent border-accent/20"},{icon:cT,label:"Schedule task",prompt:"Schedule a task to ",color:"bg-primary/10 text-primary border-primary/20"},{icon:t7,label:"Connect apps",prompt:"Connect my ",color:"bg-success/10 text-success border-success/20"},{icon:o7,label:"Automate workflow",prompt:"Create an automation that ",color:"bg-destructive/10 text-destructive border-destructive/20"}],I7=["Move all my downloads to organized folders","Remind me to backup my files every week","When I save a screenshot, rename it with the date","Clean up old files from my desktop automatically"];function X7(){const[,a]=vi(),{status:r,lines:s}=gy(),{isAuthenticated:u}=xi(),[c,f]=A.useState([]),[m,p]=A.useState(""),[b,x]=A.useState(!1),[E,g]=A.useState(!1),S=A.useRef(null),C=A.useRef(null),T=Aa.history.add.useMutation();A.useEffect(()=>{S.current?.scrollIntoView({behavior:"smooth"})},[c]),A.useEffect(()=>{c.length===0&&f([{id:"1",type:"assistant",content:"Hey there! 🤖 I'm your automation helper. Tell me about any repetitive task you'd like to automate, and I'll set it up for you. No technical knowledge needed - just describe what you want in your own words!",timestamp:new Date}])},[]);const D=async()=>{if(!m.trim()||b)return;if(!r.connected){nn.error("Please connect to your computer first");return}const U={id:Date.now().toString(),type:"user",content:m.trim(),timestamp:new Date};f(ee=>[...ee,U]),p(""),x(!0),setTimeout(()=>{const ee={id:(Date.now()+1).toString(),type:"assistant",content:`Got it! You want to: "${U.content}"
508
+
509
+ I'm setting up this automation for you. Here's what I'll do:
510
+
511
+ 1. Monitor for the trigger you described
512
+ 2. Execute the action automatically
513
+ 3. Keep a log so you can see what happened
514
+
515
+ *Note: This is a demo. In the full version, I would create the actual automation on your computer.*`,timestamp:new Date};f(ie=>[...ie,ee]),x(!1),u&&T.mutate({command:U.content,tool:"clawdbot",status:"success",output:ee.content})},1500)},V=U=>{p(U),C.current?.focus()},j=U=>{U.key==="Enter"&&!U.shiftKey&&(U.preventDefault(),D())};return v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:147",className:"min-h-screen bg-background flex flex-col",children:[v.jsxDEV("header",{"data-loc":"client/src/pages/ClawdbotTool.tsx:149",className:"border-b border-border bg-white sticky top-0 z-20",children:v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:150",className:"container py-3",children:v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:151",className:"flex items-center justify-between",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:152",className:"flex items-center gap-4",children:[v.jsxDEV(lt,{"data-loc":"client/src/pages/ClawdbotTool.tsx:153",variant:"ghost",size:"icon",onClick:()=>a("/"),className:"text-muted-foreground hover:text-foreground",children:v.jsxDEV(fc,{"data-loc":"client/src/pages/ClawdbotTool.tsx:159",className:"w-5 h-5"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:159,columnNumber:17},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:153,columnNumber:15},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:162",className:"flex items-center gap-3",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:163",className:"w-10 h-10 rounded-xl bg-accent/10 flex items-center justify-center",children:v.jsxDEV(uT,{"data-loc":"client/src/pages/ClawdbotTool.tsx:164",className:"w-5 h-5 text-accent"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:164,columnNumber:19},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:163,columnNumber:17},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:166",children:[v.jsxDEV("h1",{"data-loc":"client/src/pages/ClawdbotTool.tsx:167",className:"text-lg font-bold text-foreground",children:"Task Automator"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:167,columnNumber:19},this),v.jsxDEV("p",{"data-loc":"client/src/pages/ClawdbotTool.tsx:170",className:"text-xs text-muted-foreground",children:"Powered by Clawdbot"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:170,columnNumber:19},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:166,columnNumber:17},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:162,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:152,columnNumber:13},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:177",className:"flex items-center gap-2",children:[v.jsxDEV(lt,{"data-loc":"client/src/pages/ClawdbotTool.tsx:178",variant:"ghost",size:"sm",onClick:()=>g(!E),className:"text-muted-foreground",children:[E?v.jsxDEV(dT,{"data-loc":"client/src/pages/ClawdbotTool.tsx:184",className:"w-4 h-4 mr-2"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:184,columnNumber:33},this):v.jsxDEV(fT,{"data-loc":"client/src/pages/ClawdbotTool.tsx:184",className:"w-4 h-4 mr-2"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:184,columnNumber:120},this),E?"Hide":"Show"," Details"]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:178,columnNumber:15},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:188",className:$e("flex items-center gap-2 px-3 py-1.5 rounded-full text-sm",r.connected?"bg-success-light text-success":"bg-destructive/10 text-destructive"),children:[v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:194",className:$e("w-2 h-2 rounded-full",r.connected?"bg-success":"bg-destructive")},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:194,columnNumber:17},this),r.connected?"Connected":"Disconnected"]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:188,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:177,columnNumber:13},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:151,columnNumber:11},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:150,columnNumber:9},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:149,columnNumber:7},this),v.jsxDEV("main",{"data-loc":"client/src/pages/ClawdbotTool.tsx:206",className:"flex-1 flex",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:208",className:"flex-1 flex flex-col",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:210",className:"flex-1 overflow-y-auto p-4",children:v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:211",className:"max-w-3xl mx-auto space-y-4",children:[c.map(U=>v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:213",className:$e("flex",U.type==="user"?"justify-end":"justify-start"),children:v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:220",className:$e("max-w-[80%] rounded-2xl px-4 py-3",U.type==="user"?"bg-accent text-white rounded-br-md":"bg-muted text-foreground rounded-bl-md"),children:[U.type==="assistant"&&v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:227",className:"flex items-center gap-2 mb-2",children:[v.jsxDEV(my,{"data-loc":"client/src/pages/ClawdbotTool.tsx:228",className:"w-4 h-4 text-accent"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:228,columnNumber:25},this),v.jsxDEV("span",{"data-loc":"client/src/pages/ClawdbotTool.tsx:229",className:"text-xs font-medium text-accent",children:"Task Automator"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:229,columnNumber:25},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:227,columnNumber:23},this),v.jsxDEV("p",{"data-loc":"client/src/pages/ClawdbotTool.tsx:232",className:"text-sm whitespace-pre-wrap",children:U.content},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:232,columnNumber:21},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:220,columnNumber:19},this)},U.id,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:213,columnNumber:17},this)),b&&v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:238",className:"flex justify-start",children:v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:239",className:"bg-muted rounded-2xl rounded-bl-md px-4 py-3",children:v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:240",className:"flex items-center gap-2",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:241",className:"flex gap-1",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:242",className:"w-2 h-2 bg-accent rounded-full animate-bounce",style:{animationDelay:"0ms"}},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:242,columnNumber:25},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:243",className:"w-2 h-2 bg-accent rounded-full animate-bounce",style:{animationDelay:"150ms"}},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:243,columnNumber:25},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:244",className:"w-2 h-2 bg-accent rounded-full animate-bounce",style:{animationDelay:"300ms"}},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:244,columnNumber:25},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:241,columnNumber:23},this),v.jsxDEV("span",{"data-loc":"client/src/pages/ClawdbotTool.tsx:246",className:"text-sm text-muted-foreground",children:"Setting up..."},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:246,columnNumber:23},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:240,columnNumber:21},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:239,columnNumber:19},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:238,columnNumber:17},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:252",ref:S},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:252,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:211,columnNumber:13},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:210,columnNumber:11},this),c.length<=1&&v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:258",className:"px-4 pb-4",children:v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:259",className:"max-w-3xl mx-auto",children:[v.jsxDEV("p",{"data-loc":"client/src/pages/ClawdbotTool.tsx:260",className:"text-sm text-muted-foreground mb-3",children:"What would you like to automate?"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:260,columnNumber:17},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:261",className:"flex flex-wrap gap-2 mb-4",children:G7.map(U=>{const ee=U.icon;return v.jsxDEV("button",{"data-loc":"client/src/pages/ClawdbotTool.tsx:265",onClick:()=>V(U.prompt),className:$e("flex items-center gap-2 px-3 py-2 rounded-full border text-sm transition-all hover:shadow-soft",U.color),children:[v.jsxDEV(ee,{"data-loc":"client/src/pages/ClawdbotTool.tsx:273",className:"w-4 h-4"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:273,columnNumber:25},this),U.label]},U.label,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:265,columnNumber:23},this)})},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:261,columnNumber:17},this),v.jsxDEV("p",{"data-loc":"client/src/pages/ClawdbotTool.tsx:280",className:"text-sm text-muted-foreground mb-2",children:"Popular automations:"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:280,columnNumber:17},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:281",className:"space-y-2",children:I7.map((U,ee)=>v.jsxDEV("button",{"data-loc":"client/src/pages/ClawdbotTool.tsx:283",onClick:()=>p(U),className:"block w-full text-left px-4 py-2 rounded-xl bg-muted/50 hover:bg-muted text-sm text-foreground transition-colors",children:['"',U,'"']},ee,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:283,columnNumber:21},this))},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:281,columnNumber:17},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:259,columnNumber:15},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:258,columnNumber:13},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:297",className:"border-t border-border p-4 bg-white",children:v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:298",className:"max-w-3xl mx-auto",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:299",className:"flex gap-3",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:300",className:"flex-1 relative",children:v.jsxDEV("textarea",{"data-loc":"client/src/pages/ClawdbotTool.tsx:301",ref:C,value:m,onChange:U=>p(U.target.value),onKeyDown:j,placeholder:"Describe the task you want to automate...",className:"w-full resize-none rounded-2xl border border-border bg-muted/30 px-4 py-3 pr-12 text-sm focus:outline-none focus:ring-2 focus:ring-accent/20 focus:border-accent min-h-[52px] max-h-[200px]",rows:1,disabled:!r.connected||b},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:301,columnNumber:19},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:300,columnNumber:17},this),v.jsxDEV(lt,{"data-loc":"client/src/pages/ClawdbotTool.tsx:312",onClick:D,disabled:!m.trim()||!r.connected||b,className:"bg-accent hover:bg-accent/90 text-white rounded-full w-12 h-12 p-0",children:v.jsxDEV(mT,{"data-loc":"client/src/pages/ClawdbotTool.tsx:317",className:"w-5 h-5"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:317,columnNumber:19},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:312,columnNumber:17},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:299,columnNumber:15},this),!r.connected&&v.jsxDEV("p",{"data-loc":"client/src/pages/ClawdbotTool.tsx:322",className:"text-xs text-destructive mt-2 text-center",children:"Please connect to your computer first to use this tool."},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:322,columnNumber:17},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:298,columnNumber:13},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:297,columnNumber:11},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:208,columnNumber:9},this),E&&v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:332",className:"w-96 border-l border-border bg-slate-900 p-4 overflow-y-auto",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:333",className:"flex items-center gap-2 mb-4",children:[v.jsxDEV(om,{"data-loc":"client/src/pages/ClawdbotTool.tsx:334",className:"w-4 h-4 text-slate-400"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:334,columnNumber:15},this),v.jsxDEV("span",{"data-loc":"client/src/pages/ClawdbotTool.tsx:335",className:"text-sm font-medium text-slate-300",children:"Technical Details"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:335,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:333,columnNumber:13},this),v.jsxDEV("div",{"data-loc":"client/src/pages/ClawdbotTool.tsx:337",className:"font-mono text-xs text-slate-400 space-y-1",children:s.length===0?v.jsxDEV("p",{"data-loc":"client/src/pages/ClawdbotTool.tsx:339",className:"text-slate-500",children:"Automation logs will appear here..."},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:339,columnNumber:17},this):s.map(U=>v.jsxDEV("p",{"data-loc":"client/src/pages/ClawdbotTool.tsx:342",children:U.content},U.id,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:342,columnNumber:19},this))},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:337,columnNumber:13},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:332,columnNumber:11},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:206,columnNumber:7},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/ClawdbotTool.tsx",lineNumber:147,columnNumber:5},this)}function F7(a){const r=A.useRef({value:a,previous:a});return A.useMemo(()=>(r.current.value!==a&&(r.current.previous=r.current.value,r.current.value=a),r.current.previous),[a])}var xm="Switch",[Z7]=ay(xm),[J7,K7]=Z7(xm),TT=A.forwardRef((a,r)=>{const{__scopeSwitch:s,name:u,checked:c,defaultChecked:f,required:m,disabled:p,value:b="on",onCheckedChange:x,form:E,...g}=a,[S,C]=A.useState(null),T=ir(r,ee=>C(ee)),D=A.useRef(!1),V=S?E||!!S.closest("form"):!0,[j,U]=j4({prop:c,defaultProp:f??!1,onChange:x,caller:xm});return Fe.jsxs(J7,{scope:s,checked:j,disabled:p,children:[Fe.jsx(So.button,{type:"button",role:"switch","aria-checked":j,"aria-required":m,"data-state":AT(j),"data-disabled":p?"":void 0,disabled:p,value:b,...g,ref:T,onClick:go(a.onClick,ee=>{U(ie=>!ie),V&&(D.current=ee.isPropagationStopped(),D.current||ee.stopPropagation())})}),V&&Fe.jsx(RT,{control:S,bubbles:!D.current,name:u,value:b,checked:j,required:m,disabled:p,form:E,style:{transform:"translateX(-100%)"}})]})});TT.displayName=xm;var DT="SwitchThumb",OT=A.forwardRef((a,r)=>{const{__scopeSwitch:s,...u}=a,c=K7(DT,s);return Fe.jsx(So.span,{"data-state":AT(c.checked),"data-disabled":c.disabled?"":void 0,...u,ref:r})});OT.displayName=DT;var W7="SwitchBubbleInput",RT=A.forwardRef(({__scopeSwitch:a,control:r,checked:s,bubbles:u=!0,...c},f)=>{const m=A.useRef(null),p=ir(m,f),b=F7(s),x=_C(r);return A.useEffect(()=>{const E=m.current;if(!E)return;const g=window.HTMLInputElement.prototype,C=Object.getOwnPropertyDescriptor(g,"checked").set;if(b!==s&&C){const T=new Event("click",{bubbles:u});C.call(E,s),E.dispatchEvent(T)}},[b,s,u]),Fe.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:s,...c,tabIndex:-1,ref:p,style:{...c.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});RT.displayName=W7;function AT(a){return a?"checked":"unchecked"}var e6=TT,t6=OT;function ar({className:a,...r}){return v.jsxDEV(e6,{"data-loc":"client/src/components/ui/switch.tsx:11","data-slot":"switch",className:$e("peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",a),...r,children:v.jsxDEV(t6,{"data-loc":"client/src/components/ui/switch.tsx:19","data-slot":"switch-thumb",className:$e("bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0")},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/components/ui/switch.tsx",lineNumber:19,columnNumber:7},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/components/ui/switch.tsx",lineNumber:11,columnNumber:5},this)}var n6="Label",_T=A.forwardRef((a,r)=>Fe.jsx(So.label,{...a,ref:r,onMouseDown:s=>{s.target.closest("button, input, select, textarea")||(a.onMouseDown?.(s),!s.defaultPrevented&&s.detail>1&&s.preventDefault())}}));_T.displayName=n6;var a6=_T;function o6({className:a,...r}){return v.jsxDEV(a6,{"data-loc":"client/src/components/ui/label.tsx:11","data-slot":"label",className:$e("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",a),...r},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/components/ui/label.tsx",lineNumber:11,columnNumber:5},this)}const r6={showScanlines:!1,showGlowEffects:!1,cursorBlink:!0,soundEffects:!1,fontSize:"medium",theme:"light",animationsEnabled:!0,reducedMotion:!1,connectionAlerts:!0,commandComplete:!0,errorAlerts:!0,autoConnect:!1,confirmCommands:!0,logCommands:!0};function l6(){const[,a]=vi(),{user:r,isAuthenticated:s,loading:u,logout:c}=xi(),[f,m]=A.useState("appearance"),[p,b]=A.useState(r6),[x,E]=A.useState(!1),{data:g,isLoading:S}=Aa.preferences.get.useQuery(void 0,{enabled:s}),C=Aa.preferences.update.useMutation();A.useEffect(()=>{if(g)b(j=>({...j,...g,fontSize:g.fontSize||"medium",theme:g.theme||"light"}));else if(!s){const j=localStorage.getItem("terminalmate-preferences");if(j)try{b(U=>({...U,...JSON.parse(j)}))}catch{console.error("Failed to parse preferences")}}},[g,s]);const T=async()=>{E(!0);try{s?await C.mutateAsync(p):localStorage.setItem("terminalmate-preferences",JSON.stringify(p)),nn.success("Settings saved!")}catch{nn.error("Failed to save settings")}finally{E(!1)}},D=(j,U)=>{b(ee=>({...ee,[j]:U}))},V=[{id:"appearance",label:"Look & Feel",icon:a7},{id:"notifications",label:"Notifications",icon:YM},{id:"security",label:"Privacy",icon:pT}];return v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:108",className:"min-h-screen bg-background",children:[v.jsxDEV("header",{"data-loc":"client/src/pages/Settings.tsx:110",className:"border-b border-border bg-white sticky top-0 z-20",children:v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:111",className:"container py-4",children:v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:112",className:"flex items-center justify-between",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:113",className:"flex items-center gap-4",children:[v.jsxDEV(lt,{"data-loc":"client/src/pages/Settings.tsx:114",variant:"ghost",size:"icon",onClick:()=>a("/"),className:"text-muted-foreground hover:text-foreground",children:v.jsxDEV(fc,{"data-loc":"client/src/pages/Settings.tsx:120",className:"w-5 h-5"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:120,columnNumber:17},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:114,columnNumber:15},this),v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:123",className:"flex items-center gap-3",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:124",className:"w-10 h-10 rounded-xl bg-primary/10 flex items-center justify-center",children:v.jsxDEV(hT,{"data-loc":"client/src/pages/Settings.tsx:125",className:"w-5 h-5 text-primary"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:125,columnNumber:19},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:124,columnNumber:17},this),v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:127",children:[v.jsxDEV("h1",{"data-loc":"client/src/pages/Settings.tsx:128",className:"text-xl font-bold text-foreground",children:"Settings"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:128,columnNumber:19},this),v.jsxDEV("p",{"data-loc":"client/src/pages/Settings.tsx:131",className:"text-xs text-muted-foreground",children:"Customize your experience"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:131,columnNumber:19},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:127,columnNumber:17},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:123,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:113,columnNumber:13},this),v.jsxDEV(lt,{"data-loc":"client/src/pages/Settings.tsx:138",onClick:T,disabled:x,className:"bg-primary hover:bg-primary/90 text-white rounded-full",children:[x?v.jsxDEV(n7,{"data-loc":"client/src/pages/Settings.tsx:144",className:"w-4 h-4 mr-2 animate-spin"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:144,columnNumber:17},this):v.jsxDEV(l7,{"data-loc":"client/src/pages/Settings.tsx:146",className:"w-4 h-4 mr-2"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:146,columnNumber:17},this),"Save Changes"]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:138,columnNumber:13},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:112,columnNumber:11},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:111,columnNumber:9},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:110,columnNumber:7},this),v.jsxDEV("main",{"data-loc":"client/src/pages/Settings.tsx:154",className:"container py-8",children:v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:155",className:"max-w-3xl mx-auto",children:[!u&&v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:158",className:$e("rounded-2xl p-4 mb-8",s?"bg-success-light border border-success/20":"bg-muted"),children:v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:162",className:"flex items-center justify-between",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:163",className:"flex items-center gap-3",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:164",className:$e("w-10 h-10 rounded-full flex items-center justify-center",s?"bg-success text-white":"bg-muted-foreground/20"),children:v.jsxDEV(bT,{"data-loc":"client/src/pages/Settings.tsx:168",className:"w-5 h-5"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:168,columnNumber:21},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:164,columnNumber:19},this),v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:170",children:s?v.jsxDEV(v.Fragment,{children:[v.jsxDEV("p",{"data-loc":"client/src/pages/Settings.tsx:173",className:"font-medium text-success",children:["Signed in as ",r?.name]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:173,columnNumber:25},this),v.jsxDEV("p",{"data-loc":"client/src/pages/Settings.tsx:174",className:"text-sm text-success/70",children:"Your settings sync across devices"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:174,columnNumber:25},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:172,columnNumber:23},this):v.jsxDEV(v.Fragment,{children:[v.jsxDEV("p",{"data-loc":"client/src/pages/Settings.tsx:178",className:"font-medium text-foreground",children:"Not signed in"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:178,columnNumber:25},this),v.jsxDEV("p",{"data-loc":"client/src/pages/Settings.tsx:179",className:"text-sm text-muted-foreground",children:"Sign in to sync settings across devices"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:179,columnNumber:25},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:177,columnNumber:23},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:170,columnNumber:19},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:163,columnNumber:17},this),s?v.jsxDEV(lt,{"data-loc":"client/src/pages/Settings.tsx:194",onClick:()=>c(),variant:"outline",className:"rounded-full text-destructive border-destructive/30 hover:bg-destructive/10",children:"Sign Out"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:194,columnNumber:19},this):v.jsxDEV(lt,{"data-loc":"client/src/pages/Settings.tsx:185",onClick:()=>window.location.href=mi(),variant:"outline",className:"rounded-full",children:[v.jsxDEV(am,{"data-loc":"client/src/pages/Settings.tsx:190",className:"w-4 h-4 mr-2"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:190,columnNumber:21},this),"Sign In"]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:185,columnNumber:19},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:162,columnNumber:15},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:158,columnNumber:13},this),v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:207",className:"flex gap-2 mb-8",children:V.map(j=>{const U=j.icon;return v.jsxDEV("button",{"data-loc":"client/src/pages/Settings.tsx:211",onClick:()=>m(j.id),className:$e("flex items-center gap-2 px-4 py-2 rounded-full text-sm font-medium transition-all",f===j.id?"bg-primary text-white":"bg-muted text-muted-foreground hover:text-foreground"),children:[v.jsxDEV(U,{"data-loc":"client/src/pages/Settings.tsx:221",className:"w-4 h-4"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:221,columnNumber:19},this),j.label]},j.id,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:211,columnNumber:17},this)})},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:207,columnNumber:11},this),v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:229",className:"space-y-6",children:[f==="appearance"&&v.jsxDEV(v.Fragment,{children:[v.jsxDEV(tc,{"data-loc":"client/src/pages/Settings.tsx:232",title:"Visual Style",description:"Customize how the app looks",children:[v.jsxDEV(po,{"data-loc":"client/src/pages/Settings.tsx:233",label:"Animations",description:"Enable smooth animations and transitions",children:v.jsxDEV(ar,{"data-loc":"client/src/pages/Settings.tsx:237",checked:p.animationsEnabled,onCheckedChange:j=>D("animationsEnabled",j)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:237,columnNumber:21},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:233,columnNumber:19},this),v.jsxDEV(po,{"data-loc":"client/src/pages/Settings.tsx:243",label:"Reduced motion",description:"Minimize animations for accessibility",children:v.jsxDEV(ar,{"data-loc":"client/src/pages/Settings.tsx:247",checked:p.reducedMotion,onCheckedChange:j=>D("reducedMotion",j)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:247,columnNumber:21},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:243,columnNumber:19},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:232,columnNumber:17},this),v.jsxDEV(tc,{"data-loc":"client/src/pages/Settings.tsx:254",title:"Text",description:"Adjust text size and readability",children:v.jsxDEV(po,{"data-loc":"client/src/pages/Settings.tsx:255",label:"Font size",description:"Choose your preferred text size",children:v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:259",className:"flex gap-2",children:["small","medium","large"].map(j=>v.jsxDEV("button",{"data-loc":"client/src/pages/Settings.tsx:261",onClick:()=>D("fontSize",j),className:$e("px-3 py-1 rounded-full text-sm capitalize",p.fontSize===j?"bg-primary text-white":"bg-muted text-muted-foreground hover:text-foreground"),children:j},j,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:261,columnNumber:25},this))},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:259,columnNumber:21},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:255,columnNumber:19},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:254,columnNumber:17},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:231,columnNumber:15},this),f==="notifications"&&v.jsxDEV(tc,{"data-loc":"client/src/pages/Settings.tsx:281",title:"Alerts",description:"Choose what you want to be notified about",children:[v.jsxDEV(po,{"data-loc":"client/src/pages/Settings.tsx:282",label:"Connection alerts",description:"Notify when connected or disconnected",children:v.jsxDEV(ar,{"data-loc":"client/src/pages/Settings.tsx:286",checked:p.connectionAlerts,onCheckedChange:j=>D("connectionAlerts",j)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:286,columnNumber:19},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:282,columnNumber:17},this),v.jsxDEV(po,{"data-loc":"client/src/pages/Settings.tsx:292",label:"Task complete",description:"Notify when a task finishes",children:v.jsxDEV(ar,{"data-loc":"client/src/pages/Settings.tsx:296",checked:p.commandComplete,onCheckedChange:j=>D("commandComplete",j)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:296,columnNumber:19},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:292,columnNumber:17},this),v.jsxDEV(po,{"data-loc":"client/src/pages/Settings.tsx:302",label:"Error alerts",description:"Notify when something goes wrong",children:v.jsxDEV(ar,{"data-loc":"client/src/pages/Settings.tsx:306",checked:p.errorAlerts,onCheckedChange:j=>D("errorAlerts",j)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:306,columnNumber:19},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:302,columnNumber:17},this),v.jsxDEV(po,{"data-loc":"client/src/pages/Settings.tsx:312",label:"Sound effects",description:"Play sounds for notifications",children:v.jsxDEV(ar,{"data-loc":"client/src/pages/Settings.tsx:316",checked:p.soundEffects,onCheckedChange:j=>D("soundEffects",j)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:316,columnNumber:19},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:312,columnNumber:17},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:281,columnNumber:15},this),f==="security"&&v.jsxDEV(v.Fragment,{children:[v.jsxDEV(tc,{"data-loc":"client/src/pages/Settings.tsx:326",title:"Connection",description:"Control how you connect",children:[v.jsxDEV(po,{"data-loc":"client/src/pages/Settings.tsx:327",label:"Auto-connect",description:"Automatically connect when you open the app",children:v.jsxDEV(ar,{"data-loc":"client/src/pages/Settings.tsx:331",checked:p.autoConnect,onCheckedChange:j=>D("autoConnect",j)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:331,columnNumber:21},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:327,columnNumber:19},this),v.jsxDEV(po,{"data-loc":"client/src/pages/Settings.tsx:337",label:"Confirm actions",description:"Ask before running potentially risky commands",children:v.jsxDEV(ar,{"data-loc":"client/src/pages/Settings.tsx:341",checked:p.confirmCommands,onCheckedChange:j=>D("confirmCommands",j)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:341,columnNumber:21},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:337,columnNumber:19},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:326,columnNumber:17},this),v.jsxDEV(tc,{"data-loc":"client/src/pages/Settings.tsx:348",title:"History",description:"Control what gets saved",children:v.jsxDEV(po,{"data-loc":"client/src/pages/Settings.tsx:349",label:"Save history",description:"Keep a record of your commands",children:v.jsxDEV(ar,{"data-loc":"client/src/pages/Settings.tsx:353",checked:p.logCommands,onCheckedChange:j=>D("logCommands",j)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:353,columnNumber:21},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:349,columnNumber:19},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:348,columnNumber:17},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:325,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:229,columnNumber:11},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:155,columnNumber:9},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:154,columnNumber:7},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:108,columnNumber:5},this)}function tc({title:a,description:r,children:s}){return v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:377",className:"rounded-2xl border border-border bg-white p-6",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:378",className:"mb-4",children:[v.jsxDEV("h3",{"data-loc":"client/src/pages/Settings.tsx:379",className:"text-lg font-bold text-foreground",children:a},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:379,columnNumber:9},this),v.jsxDEV("p",{"data-loc":"client/src/pages/Settings.tsx:380",className:"text-sm text-muted-foreground",children:r},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:380,columnNumber:9},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:378,columnNumber:7},this),v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:382",className:"space-y-4",children:s},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:382,columnNumber:7},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:377,columnNumber:5},this)}function po({label:a,description:r,children:s}){return v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:398",className:"flex items-center justify-between py-2",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/Settings.tsx:399",children:[v.jsxDEV(o6,{"data-loc":"client/src/pages/Settings.tsx:400",className:"text-sm font-medium text-foreground",children:a},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:400,columnNumber:9},this),v.jsxDEV("p",{"data-loc":"client/src/pages/Settings.tsx:401",className:"text-xs text-muted-foreground",children:r},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:401,columnNumber:9},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:399,columnNumber:7},this),s]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/Settings.tsx",lineNumber:398,columnNumber:5},this)}function s6(){const[,a]=vi(),{isAuthenticated:r,loading:s}=xi(),[u,c]=A.useState(""),[f,m]=A.useState(null),[p,b]=A.useState(null),{data:x=[],isLoading:E,refetch:g}=Aa.history.list.useQuery({limit:100},{enabled:r}),S=Aa.history.clear.useMutation({onSuccess:()=>{nn.success("History cleared"),g()},onError:()=>{nn.error("Failed to clear history")}}),C=x.filter(U=>{const ee=U.command.toLowerCase().includes(u.toLowerCase()),ie=!f||U.tool===f;return ee&&ie}),T=()=>{r?S.mutate():nn.info("Sign in to manage your history")},D=U=>{const ee=new Date,ie=new Date(U),W=ee.getTime()-ie.getTime(),te=Math.floor(W/1e3/60),P=Math.floor(te/60),Q=Math.floor(P/24);return te<1?"Just now":te<60?`${te}m ago`:P<24?`${P}h ago`:`${Q}d ago`},V=U=>{switch(U){case"claude-code":return"text-phosphor border-phosphor/30 bg-phosphor/10";case"clawdbot":return"text-amber border-amber/30 bg-amber/10";default:return"text-muted-foreground border-muted/30 bg-muted/10"}},j=U=>{switch(U){case"claude-code":return"Claude Code";case"clawdbot":return"Clawdbot";default:return U}};return!s&&!r?v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:96",className:"min-h-screen bg-crt-black",children:[v.jsxDEV("header",{"data-loc":"client/src/pages/History.tsx:98",className:"border-b border-phosphor/20 bg-crt-black/90 backdrop-blur-sm sticky top-0 z-20",children:v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:99",className:"container py-3",children:v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:100",className:"flex items-center gap-4",children:[v.jsxDEV(lt,{"data-loc":"client/src/pages/History.tsx:101",variant:"ghost",size:"icon",onClick:()=>a("/"),className:"text-muted-foreground hover:text-phosphor hover:bg-phosphor/10",children:v.jsxDEV(fc,{"data-loc":"client/src/pages/History.tsx:107",className:"w-5 h-5"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:107,columnNumber:17},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:101,columnNumber:15},this),v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:110",className:"flex items-center gap-3",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:111",className:"p-2 rounded-lg border border-phosphor/30 bg-phosphor/10",children:v.jsxDEV(Xf,{"data-loc":"client/src/pages/History.tsx:112",className:"w-5 h-5 text-phosphor"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:112,columnNumber:19},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:111,columnNumber:17},this),v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:114",children:[v.jsxDEV("h1",{"data-loc":"client/src/pages/History.tsx:115",className:"font-terminal text-lg text-phosphor tracking-wider",children:"HISTORY"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:115,columnNumber:19},this),v.jsxDEV("p",{"data-loc":"client/src/pages/History.tsx:118",className:"text-xs text-muted-foreground font-mono",children:"Sign in to view history"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:118,columnNumber:19},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:114,columnNumber:17},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:110,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:100,columnNumber:13},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:99,columnNumber:11},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:98,columnNumber:9},this),v.jsxDEV("main",{"data-loc":"client/src/pages/History.tsx:128",className:"container py-16",children:v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:129",className:"max-w-md mx-auto text-center",children:v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:130",className:"p-4 rounded-lg border border-amber/30 bg-amber/10 mb-6",children:[v.jsxDEV(Xf,{"data-loc":"client/src/pages/History.tsx:131",className:"w-12 h-12 text-amber mx-auto mb-4"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:131,columnNumber:15},this),v.jsxDEV("h2",{"data-loc":"client/src/pages/History.tsx:132",className:"font-terminal text-xl text-amber mb-2",children:"SIGN IN REQUIRED"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:132,columnNumber:15},this),v.jsxDEV("p",{"data-loc":"client/src/pages/History.tsx:133",className:"text-sm text-muted-foreground font-mono mb-4",children:"Sign in to access your command history. Your history is synced across all your devices."},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:133,columnNumber:15},this),v.jsxDEV(lt,{"data-loc":"client/src/pages/History.tsx:136",onClick:()=>window.location.href=mi(),className:"bg-amber/20 border border-amber/50 text-amber hover:bg-amber/30 font-mono",children:[v.jsxDEV(am,{"data-loc":"client/src/pages/History.tsx:140",className:"w-4 h-4 mr-2"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:140,columnNumber:17},this),"Sign In"]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:136,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:130,columnNumber:13},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:129,columnNumber:11},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:128,columnNumber:9},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:96,columnNumber:7},this):v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:151",className:"min-h-screen bg-crt-black",children:[v.jsxDEV("header",{"data-loc":"client/src/pages/History.tsx:153",className:"border-b border-phosphor/20 bg-crt-black/90 backdrop-blur-sm sticky top-0 z-20",children:v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:154",className:"container py-3",children:v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:155",className:"flex items-center justify-between",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:156",className:"flex items-center gap-4",children:[v.jsxDEV(lt,{"data-loc":"client/src/pages/History.tsx:157",variant:"ghost",size:"icon",onClick:()=>a("/"),className:"text-muted-foreground hover:text-phosphor hover:bg-phosphor/10",children:v.jsxDEV(fc,{"data-loc":"client/src/pages/History.tsx:163",className:"w-5 h-5"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:163,columnNumber:17},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:157,columnNumber:15},this),v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:166",className:"flex items-center gap-3",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:167",className:"p-2 rounded-lg border border-phosphor/30 bg-phosphor/10",children:v.jsxDEV(Xf,{"data-loc":"client/src/pages/History.tsx:168",className:"w-5 h-5 text-phosphor"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:168,columnNumber:19},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:167,columnNumber:17},this),v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:170",children:[v.jsxDEV("h1",{"data-loc":"client/src/pages/History.tsx:171",className:"font-terminal text-lg text-phosphor tracking-wider",children:"HISTORY"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:171,columnNumber:19},this),v.jsxDEV("p",{"data-loc":"client/src/pages/History.tsx:174",className:"text-xs text-muted-foreground font-mono",children:[x.length," entries"]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:174,columnNumber:19},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:170,columnNumber:17},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:166,columnNumber:15},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:156,columnNumber:13},this),v.jsxDEV(lt,{"data-loc":"client/src/pages/History.tsx:181",variant:"ghost",onClick:T,disabled:S.isPending||x.length===0,className:"text-error-red hover:bg-error-red/10 font-mono text-sm",children:[v.jsxDEV(i7,{"data-loc":"client/src/pages/History.tsx:187",className:"w-4 h-4 mr-2"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:187,columnNumber:15},this),"Clear All"]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:181,columnNumber:13},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:155,columnNumber:11},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:154,columnNumber:9},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:153,columnNumber:7},this),v.jsxDEV("main",{"data-loc":"client/src/pages/History.tsx:195",className:"container py-8",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:197",className:"flex gap-4 mb-6",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:198",className:"flex-1 relative",children:[v.jsxDEV(s7,{"data-loc":"client/src/pages/History.tsx:199",className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-muted-foreground"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:199,columnNumber:13},this),v.jsxDEV("input",{"data-loc":"client/src/pages/History.tsx:200",type:"text",value:u,onChange:U=>c(U.target.value),placeholder:"Search history...",className:"w-full bg-crt-dark border border-phosphor/30 rounded-lg pl-10 pr-4 py-2.5 font-mono text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:border-phosphor/60"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:200,columnNumber:13},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:198,columnNumber:11},this),v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:209",className:"flex gap-2",children:[v.jsxDEV(lt,{"data-loc":"client/src/pages/History.tsx:210",variant:"ghost",onClick:()=>m(null),className:$e("font-mono text-sm",f?"text-muted-foreground hover:text-phosphor":"bg-phosphor/20 text-phosphor"),children:"All"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:210,columnNumber:13},this),v.jsxDEV(lt,{"data-loc":"client/src/pages/History.tsx:222",variant:"ghost",onClick:()=>m("claude-code"),className:$e("font-mono text-sm",f==="claude-code"?"bg-phosphor/20 text-phosphor":"text-muted-foreground hover:text-phosphor"),children:"Claude Code"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:222,columnNumber:13},this),v.jsxDEV(lt,{"data-loc":"client/src/pages/History.tsx:234",variant:"ghost",onClick:()=>m("clawdbot"),className:$e("font-mono text-sm",f==="clawdbot"?"bg-amber/20 text-amber":"text-muted-foreground hover:text-amber"),children:"Clawdbot"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:234,columnNumber:13},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:209,columnNumber:11},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:197,columnNumber:9},this),E?v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:251",className:"text-center py-16",children:[v.jsxDEV(om,{"data-loc":"client/src/pages/History.tsx:252",className:"w-12 h-12 text-muted-foreground mx-auto mb-4 opacity-50 animate-pulse"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:252,columnNumber:13},this),v.jsxDEV("p",{"data-loc":"client/src/pages/History.tsx:253",className:"text-muted-foreground font-mono",children:"Loading history..."},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:253,columnNumber:13},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:251,columnNumber:11},this):C.length===0?v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:256",className:"text-center py-16",children:[v.jsxDEV(om,{"data-loc":"client/src/pages/History.tsx:257",className:"w-12 h-12 text-muted-foreground mx-auto mb-4 opacity-50"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:257,columnNumber:13},this),v.jsxDEV("p",{"data-loc":"client/src/pages/History.tsx:258",className:"text-muted-foreground font-mono",children:"No history entries found"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:258,columnNumber:13},this),v.jsxDEV("p",{"data-loc":"client/src/pages/History.tsx:259",className:"text-xs text-muted-foreground/60 mt-1",children:u?"Try a different search term":"Start using tools to build your history"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:259,columnNumber:13},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:256,columnNumber:11},this):v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:264",className:"space-y-3",children:C.map(U=>v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:266",className:$e("border rounded-xl overflow-hidden transition-all",U.status==="success"?"border-phosphor/20 bg-crt-dark":"border-error-red/20 bg-error-red/5"),children:[v.jsxDEV("button",{"data-loc":"client/src/pages/History.tsx:275",onClick:()=>b(p===String(U.id)?null:String(U.id)),className:"w-full flex items-center gap-4 p-4 text-left hover:bg-phosphor/5 transition-colors",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:280",className:$e("px-2 py-1 rounded text-xs font-mono border",V(U.tool)),children:j(U.tool)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:280,columnNumber:19},this),v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:288",className:"flex-1 min-w-0",children:v.jsxDEV("p",{"data-loc":"client/src/pages/History.tsx:289",className:"font-mono text-sm text-foreground truncate",children:U.command},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:289,columnNumber:21},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:288,columnNumber:19},this),v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:295",className:"flex items-center gap-2 text-xs text-muted-foreground",children:[v.jsxDEV(cT,{"data-loc":"client/src/pages/History.tsx:296",className:"w-3 h-3"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:296,columnNumber:21},this),D(U.createdAt)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:295,columnNumber:19},this),v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:301",className:$e("w-2 h-2 rounded-full",U.status==="success"?"bg-phosphor":"bg-error-red")},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:301,columnNumber:19},this),v.jsxDEV(GM,{"data-loc":"client/src/pages/History.tsx:307",className:$e("w-4 h-4 text-muted-foreground transition-transform",p===String(U.id)&&"rotate-90")},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:307,columnNumber:19},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:275,columnNumber:17},this),p===String(U.id)&&v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:315",className:"px-4 pb-4 border-t border-phosphor/10",children:[v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:316",className:"mt-3 p-3 rounded-lg bg-crt-black font-mono text-sm",children:[v.jsxDEV("p",{"data-loc":"client/src/pages/History.tsx:317",className:"text-xs text-muted-foreground mb-2",children:"OUTPUT:"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:317,columnNumber:23},this),v.jsxDEV("p",{"data-loc":"client/src/pages/History.tsx:318",className:$e(U.status==="success"?"text-phosphor-glow":"text-error-red"),children:U.output||"No output recorded"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:318,columnNumber:23},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:316,columnNumber:21},this),v.jsxDEV("div",{"data-loc":"client/src/pages/History.tsx:325",className:"flex gap-2 mt-3",children:[v.jsxDEV(lt,{"data-loc":"client/src/pages/History.tsx:326",variant:"ghost",size:"sm",onClick:()=>a(`/tool/${U.tool}`),className:"text-xs font-mono text-phosphor hover:bg-phosphor/10",children:"Run Again"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:326,columnNumber:23},this),v.jsxDEV(lt,{"data-loc":"client/src/pages/History.tsx:334",variant:"ghost",size:"sm",onClick:()=>{navigator.clipboard.writeText(U.command),nn.success("Command copied!")},className:"text-xs font-mono text-muted-foreground hover:text-phosphor",children:"Copy Command"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:334,columnNumber:23},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:325,columnNumber:21},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:315,columnNumber:19},this)]},U.id,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:266,columnNumber:15},this))},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:264,columnNumber:11},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:195,columnNumber:7},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/pages/History.tsx",lineNumber:151,columnNumber:5},this)}function i6(){return v.jsxDEV(M7,{"data-loc":"client/src/App.tsx:22",children:[v.jsxDEV(Gl,{"data-loc":"client/src/App.tsx:23",path:"/",component:P7},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/App.tsx",lineNumber:23,columnNumber:7},this),v.jsxDEV(Gl,{"data-loc":"client/src/App.tsx:24",path:"/tool/claude-code",component:$7},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/App.tsx",lineNumber:24,columnNumber:7},this),v.jsxDEV(Gl,{"data-loc":"client/src/App.tsx:25",path:"/tool/clawdbot",component:X7},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/App.tsx",lineNumber:25,columnNumber:7},this),v.jsxDEV(Gl,{"data-loc":"client/src/App.tsx:26",path:"/settings",component:l6},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/App.tsx",lineNumber:26,columnNumber:7},this),v.jsxDEV(Gl,{"data-loc":"client/src/App.tsx:27",path:"/history",component:s6},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/App.tsx",lineNumber:27,columnNumber:7},this),v.jsxDEV(Gl,{"data-loc":"client/src/App.tsx:28",path:"/404",component:cE},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/App.tsx",lineNumber:28,columnNumber:7},this),v.jsxDEV(Gl,{"data-loc":"client/src/App.tsx:29",component:cE},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/App.tsx",lineNumber:29,columnNumber:7},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/App.tsx",lineNumber:22,columnNumber:5},this)}function u6(){return v.jsxDEV(z7,{"data-loc":"client/src/App.tsx:36",children:v.jsxDEV(V7,{"data-loc":"client/src/App.tsx:37",defaultTheme:"light",children:v.jsxDEV(VM,{"data-loc":"client/src/App.tsx:38",children:[v.jsxDEV(Yj,{"data-loc":"client/src/App.tsx:39",position:"bottom-right",toastOptions:{style:{background:"white",border:"1px solid oklch(0.92 0.01 280)",color:"oklch(0.25 0.02 280)",borderRadius:"12px",boxShadow:"0 4px 20px -4px oklch(0.5 0.05 280 / 0.1)"}}},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/App.tsx",lineNumber:39,columnNumber:11},this),v.jsxDEV(i6,{"data-loc":"client/src/App.tsx:51"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/App.tsx",lineNumber:51,columnNumber:11},this)]},void 0,!0,{fileName:"/home/ubuntu/web-terminal/client/src/App.tsx",lineNumber:38,columnNumber:9},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/App.tsx",lineNumber:37,columnNumber:7},this)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/App.tsx",lineNumber:36,columnNumber:5},this)}const rm=new QA,jT=a=>{!(a instanceof ii)||typeof window>"u"||!(a.message===T3)||(window.location.href=mi())};rm.getQueryCache().subscribe(a=>{if(a.type==="updated"&&a.action.type==="error"){const r=a.query.state.error;jT(r),console.error("[API Query Error]",r)}});rm.getMutationCache().subscribe(a=>{if(a.type==="updated"&&a.action.type==="error"){const r=a.mutation.state.error;jT(r),console.error("[API Mutation Error]",r)}});const c6=Aa.createClient({links:[W_({url:"/api/trpc",transformer:sr,fetch(a,r){return globalThis.fetch(a,{...r??{},credentials:"include"})}})]});j3.createRoot(document.getElementById("root")).render(v.jsxDEV(Aa.Provider,{"data-loc":"client/src/main.tsx:56",client:c6,queryClient:rm,children:v.jsxDEV(GA,{"data-loc":"client/src/main.tsx:57",client:rm,children:v.jsxDEV(u6,{"data-loc":"client/src/main.tsx:58"},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/main.tsx",lineNumber:58,columnNumber:7},void 0)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/main.tsx",lineNumber:57,columnNumber:5},void 0)},void 0,!1,{fileName:"/home/ubuntu/web-terminal/client/src/main.tsx",lineNumber:56,columnNumber:3},void 0));