knowns 0.1.2 → 0.1.3

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,431 @@
1
+ var ZU=Object.create;var{getPrototypeOf:GU,defineProperty:SQ,getOwnPropertyNames:zU}=Object;var WU=Object.prototype.hasOwnProperty;var w0=(N,v,L)=>{L=N!=null?ZU(GU(N)):{};let g=v||!N||!N.__esModule?SQ(L,"default",{value:N,enumerable:!0}):L;for(let q of zU(N))if(!WU.call(g,q))SQ(g,q,{get:()=>N[q],enumerable:!0});return g};var M3=(N,v)=>()=>(v||N((v={exports:{}}).exports,v),v.exports);var uQ=M3((NU)=>{(function(){function N(){if(Y0=!1,p){var c=NU.unstable_now();B2=c;var z0=!0;try{$:{_0=!1,k&&(k=!1,C0(D0),D0=-1),K0=!0;var e=Z0;try{B:{R(c);for(j=L(T);j!==null&&!(j.expirationTime>c&&F());){var U0=j.callback;if(typeof U0==="function"){j.callback=null,Z0=j.priorityLevel;var a=U0(j.expirationTime<=c);if(c=NU.unstable_now(),typeof a==="function"){j.callback=a,R(c),z0=!0;break B}j===L(T)&&g(T),R(c)}else g(T);j=L(T)}if(j!==null)z0=!0;else{var u=L(t);u!==null&&b(K,u.startTime-c),z0=!1}}break $}finally{j=null,Z0=e,K0=!1}z0=void 0}}finally{z0?S0():p=!1}}}function v(c,z0){var e=c.length;c.push(z0);$:for(;0<e;){var U0=e-1>>>1,a=c[U0];if(0<q(a,z0))c[U0]=z0,c[e]=a,e=U0;else break $}}function L(c){return c.length===0?null:c[0]}function g(c){if(c.length===0)return null;var z0=c[0],e=c.pop();if(e!==z0){c[0]=e;$:for(var U0=0,a=c.length,u=a>>>1;U0<u;){var G0=2*(U0+1)-1,F0=c[G0],P0=G0+1,x0=c[P0];if(0>q(F0,e))P0<a&&0>q(x0,F0)?(c[U0]=x0,c[P0]=e,U0=P0):(c[U0]=F0,c[G0]=e,U0=G0);else if(P0<a&&0>q(x0,e))c[U0]=x0,c[P0]=e,U0=P0;else break $}}return z0}function q(c,z0){var e=c.sortIndex-z0.sortIndex;return e!==0?e:c.id-z0.id}function R(c){for(var z0=L(t);z0!==null;){if(z0.callback===null)g(t);else if(z0.startTime<=c)g(t),z0.sortIndex=z0.expirationTime,v(T,z0);else break;z0=L(t)}}function K(c){if(k=!1,R(c),!_0)if(L(T)!==null)_0=!0,p||(p=!0,S0());else{var z0=L(t);z0!==null&&b(K,z0.startTime-c)}}function F(){return Y0?!0:NU.unstable_now()-B2<i?!1:!0}function b(c,z0){D0=v0(function(){c(NU.unstable_now())},z0)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),NU.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var E=performance;NU.unstable_now=function(){return E.now()}}else{var I=Date,_=I.now();NU.unstable_now=function(){return I.now()-_}}var T=[],t=[],B0=1,j=null,Z0=3,K0=!1,_0=!1,k=!1,Y0=!1,v0=typeof setTimeout==="function"?setTimeout:null,C0=typeof clearTimeout==="function"?clearTimeout:null,e0=typeof setImmediate<"u"?setImmediate:null,p=!1,D0=-1,i=5,B2=-1;if(typeof e0==="function")var S0=function(){e0(N)};else if(typeof MessageChannel<"u"){var M0=new MessageChannel,G2=M0.port2;M0.port1.onmessage=N,S0=function(){G2.postMessage(null)}}else S0=function(){v0(N,0)};NU.unstable_IdlePriority=5,NU.unstable_ImmediatePriority=1,NU.unstable_LowPriority=4,NU.unstable_NormalPriority=3,NU.unstable_Profiling=null,NU.unstable_UserBlockingPriority=2,NU.unstable_cancelCallback=function(c){c.callback=null},NU.unstable_forceFrameRate=function(c){0>c||125<c?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):i=0<c?Math.floor(1000/c):5},NU.unstable_getCurrentPriorityLevel=function(){return Z0},NU.unstable_next=function(c){switch(Z0){case 1:case 2:case 3:var z0=3;break;default:z0=Z0}var e=Z0;Z0=z0;try{return c()}finally{Z0=e}},NU.unstable_requestPaint=function(){Y0=!0},NU.unstable_runWithPriority=function(c,z0){switch(c){case 1:case 2:case 3:case 4:case 5:break;default:c=3}var e=Z0;Z0=c;try{return z0()}finally{Z0=e}},NU.unstable_scheduleCallback=function(c,z0,e){var U0=NU.unstable_now();switch(typeof e==="object"&&e!==null?(e=e.delay,e=typeof e==="number"&&0<e?U0+e:U0):e=U0,c){case 1:var a=-1;break;case 2:a=250;break;case 5:a=1073741823;break;case 4:a=1e4;break;default:a=5000}return a=e+a,c={id:B0++,callback:z0,priorityLevel:c,startTime:e,expirationTime:a,sortIndex:-1},e>U0?(c.sortIndex=e,v(t,c),L(T)===null&&c===L(t)&&(k?(C0(D0),D0=-1):k=!0,b(K,e-U0))):(c.sortIndex=a,v(T,c),_0||K0||(_0=!0,p||(p=!0,S0()))),c},NU.unstable_shouldYield=F,NU.unstable_wrapCallback=function(c){var z0=Z0;return function(){var e=Z0;Z0=z0;try{return c.apply(this,arguments)}finally{Z0=e}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var w1=M3((vU,SB)=>{(function(){function N(H,C){Object.defineProperty(g.prototype,H,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",C[0],C[1])}})}function v(H){if(H===null||typeof H!=="object")return null;return H=l1&&H[l1]||H["@@iterator"],typeof H==="function"?H:null}function L(H,C){H=(H=H.constructor)&&(H.displayName||H.name)||"ReactClass";var l=H+"."+C;s[l]||(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.",C,H),s[l]=!0)}function g(H,C,l){this.props=H,this.context=C,this.refs=a0,this.updater=l||Q0}function q(){}function R(H,C,l){this.props=H,this.context=C,this.refs=a0,this.updater=l||Q0}function K(){}function F(H){return""+H}function b(H){try{F(H);var C=!1}catch(y){C=!0}if(C){C=console;var l=C.error,o=typeof Symbol==="function"&&Symbol.toStringTag&&H[Symbol.toStringTag]||H.constructor.name||"Object";return l.call(C,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),F(H)}}function E(H){if(H==null)return null;if(typeof H==="function")return H.$$typeof===J2?null:H.displayName||H.name||null;if(typeof H==="string")return H;switch(H){case a:return"Fragment";case G0:return"Profiler";case u:return"StrictMode";case C2:return"Suspense";case $2:return"SuspenseList";case X1:return"Activity"}if(typeof H==="object")switch(typeof H.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),H.$$typeof){case U0:return"Portal";case P0:return H.displayName||"Context";case F0:return(H._context.displayName||"Context")+".Consumer";case x0:var C=H.render;return H=H.displayName,H||(H=C.displayName||C.name||"",H=H!==""?"ForwardRef("+H+")":"ForwardRef"),H;case S2:return C=H.displayName||null,C!==null?C:E(H.type)||"Memo";case V2:C=H._payload,H=H._init;try{return E(H(C))}catch(l){}}return null}function I(H){if(H===a)return"<>";if(typeof H==="object"&&H!==null&&H.$$typeof===V2)return"<...>";try{var C=E(H);return C?"<"+C+">":"<...>"}catch(l){return"<...>"}}function _(){var H=L0.A;return H===null?null:H.getOwner()}function T(){return Error("react-stack-top-frame")}function t(H){if(X2.call(H,"key")){var C=Object.getOwnPropertyDescriptor(H,"key").get;if(C&&C.isReactWarning)return!1}return H.key!==void 0}function B0(H,C){function l(){y1||(y1=!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)",C))}l.isReactWarning=!0,Object.defineProperty(H,"key",{get:l,configurable:!0})}function j(){var H=E(this.type);return n2[H]||(n2[H]=!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.")),H=this.props.ref,H!==void 0?H:null}function Z0(H,C,l,o,y,n){var N0=l.ref;return H={$$typeof:e,type:H,key:C,props:l,_owner:o},(N0!==void 0?N0:null)!==null?Object.defineProperty(H,"ref",{enumerable:!1,get:j}):Object.defineProperty(H,"ref",{enumerable:!1,value:null}),H._store={},Object.defineProperty(H._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(H,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(H,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:y}),Object.defineProperty(H,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:n}),Object.freeze&&(Object.freeze(H.props),Object.freeze(H)),H}function K0(H,C){return C=Z0(H.type,C,H.props,H._owner,H._debugStack,H._debugTask),H._store&&(C._store.validated=H._store.validated),C}function _0(H){k(H)?H._store&&(H._store.validated=1):typeof H==="object"&&H!==null&&H.$$typeof===V2&&(H._payload.status==="fulfilled"?k(H._payload.value)&&H._payload.value._store&&(H._payload.value._store.validated=1):H._store&&(H._store.validated=1))}function k(H){return typeof H==="object"&&H!==null&&H.$$typeof===e}function Y0(H){var C={"=":"=0",":":"=2"};return"$"+H.replace(/[=:]/g,function(l){return C[l]})}function v0(H,C){return typeof H==="object"&&H!==null&&H.key!=null?(b(H.key),Y0(""+H.key)):C.toString(36)}function C0(H){switch(H.status){case"fulfilled":return H.value;case"rejected":throw H.reason;default:switch(typeof H.status==="string"?H.then(K,K):(H.status="pending",H.then(function(C){H.status==="pending"&&(H.status="fulfilled",H.value=C)},function(C){H.status==="pending"&&(H.status="rejected",H.reason=C)})),H.status){case"fulfilled":return H.value;case"rejected":throw H.reason}}throw H}function e0(H,C,l,o,y){var n=typeof H;if(n==="undefined"||n==="boolean")H=null;var N0=!1;if(H===null)N0=!0;else switch(n){case"bigint":case"string":case"number":N0=!0;break;case"object":switch(H.$$typeof){case e:case U0:N0=!0;break;case V2:return N0=H._init,e0(N0(H._payload),C,l,o,y)}}if(N0){N0=H,y=y(N0);var I0=o===""?"."+v0(N0,0):o;return m0(y)?(l="",I0!=null&&(l=I0.replace(z4,"$&/")+"/"),e0(y,C,l,"",function(Y2){return Y2})):y!=null&&(k(y)&&(y.key!=null&&(N0&&N0.key===y.key||b(y.key)),l=K0(y,l+(y.key==null||N0&&N0.key===y.key?"":(""+y.key).replace(z4,"$&/")+"/")+I0),o!==""&&N0!=null&&k(N0)&&N0.key==null&&N0._store&&!N0._store.validated&&(l._store.validated=2),y=l),C.push(y)),1}if(N0=0,I0=o===""?".":o+":",m0(H))for(var H0=0;H0<H.length;H0++)o=H[H0],n=I0+v0(o,H0),N0+=e0(o,C,l,n,y);else if(H0=v(H),typeof H0==="function")for(H0===H.entries&&(F4||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),F4=!0),H=H0.call(H),H0=0;!(o=H.next()).done;)o=o.value,n=I0+v0(o,H0++),N0+=e0(o,C,l,n,y);else if(n==="object"){if(typeof H.then==="function")return e0(C0(H),C,l,o,y);throw C=String(H),Error("Objects are not valid as a React child (found: "+(C==="[object Object]"?"object with keys {"+Object.keys(H).join(", ")+"}":C)+"). If you meant to render a collection of children, use an array instead.")}return N0}function p(H,C,l){if(H==null)return H;var o=[],y=0;return e0(H,o,"","",function(n){return C.call(l,n,y++)}),o}function D0(H){if(H._status===-1){var C=H._ioInfo;C!=null&&(C.start=C.end=performance.now()),C=H._result;var l=C();if(l.then(function(y){if(H._status===0||H._status===-1){H._status=1,H._result=y;var n=H._ioInfo;n!=null&&(n.end=performance.now()),l.status===void 0&&(l.status="fulfilled",l.value=y)}},function(y){if(H._status===0||H._status===-1){H._status=2,H._result=y;var n=H._ioInfo;n!=null&&(n.end=performance.now()),l.status===void 0&&(l.status="rejected",l.reason=y)}}),C=H._ioInfo,C!=null){C.value=l;var o=l.displayName;typeof o==="string"&&(C.name=o)}H._status===-1&&(H._status=0,H._result=l)}if(H._status===1)return C=H._result,C===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
+
3
+ Your code should look like:
4
+ const MyComponent = lazy(() => import('./MyComponent'))
5
+
6
+ Did you accidentally put curly braces around the import?`,C),"default"in C||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
7
+
8
+ Your code should look like:
9
+ const MyComponent = lazy(() => import('./MyComponent'))`,C),C.default;throw H._result}function i(){var H=L0.H;return H===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:
10
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
11
+ 2. You might be breaking the Rules of Hooks
12
+ 3. You might have more than one copy of React in the same app
13
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),H}function B2(){L0.asyncTransitions--}function S0(H){if(V4===null)try{var C=("require"+Math.random()).slice(0,7);V4=(SB&&SB[C]).call(SB,"timers").setImmediate}catch(l){V4=function(o){h5===!1&&(h5=!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 y=new MessageChannel;y.port1.onmessage=o,y.port2.postMessage(void 0)}}return V4(H)}function M0(H){return 1<H.length&&typeof AggregateError==="function"?AggregateError(H):H[0]}function G2(H,C){C!==q7-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. "),q7=C}function c(H,C,l){var o=L0.actQueue;if(o!==null)if(o.length!==0)try{z0(o),S0(function(){return c(H,C,l)});return}catch(y){L0.thrownErrors.push(y)}else L0.actQueue=null;0<L0.thrownErrors.length?(o=M0(L0.thrownErrors),L0.thrownErrors.length=0,l(o)):C(H)}function z0(H){if(!c7){c7=!0;var C=0;try{for(;C<H.length;C++){var l=H[C];do{L0.didUsePromise=!1;var o=l(!1);if(o!==null){if(L0.didUsePromise){H[C]=l,H.splice(0,C);return}l=o}else break}while(1)}H.length=0}catch(y){H.splice(0,C+1),L0.thrownErrors.push(y)}finally{c7=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var e=Symbol.for("react.transitional.element"),U0=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),G0=Symbol.for("react.profiler"),F0=Symbol.for("react.consumer"),P0=Symbol.for("react.context"),x0=Symbol.for("react.forward_ref"),C2=Symbol.for("react.suspense"),$2=Symbol.for("react.suspense_list"),S2=Symbol.for("react.memo"),V2=Symbol.for("react.lazy"),X1=Symbol.for("react.activity"),l1=Symbol.iterator,s={},Q0={isMounted:function(){return!1},enqueueForceUpdate:function(H){L(H,"forceUpdate")},enqueueReplaceState:function(H){L(H,"replaceState")},enqueueSetState:function(H){L(H,"setState")}},r0=Object.assign,a0={};Object.freeze(a0),g.prototype.isReactComponent={},g.prototype.setState=function(H,C){if(typeof H!=="object"&&typeof H!=="function"&&H!=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,H,C,"setState")},g.prototype.forceUpdate=function(H){this.updater.enqueueForceUpdate(this,H,"forceUpdate")};var u0={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(h2 in u0)u0.hasOwnProperty(h2)&&N(h2,u0[h2]);q.prototype=g.prototype,u0=R.prototype=new q,u0.constructor=R,r0(u0,g.prototype),u0.isPureReactComponent=!0;var m0=Array.isArray,J2=Symbol.for("react.client.reference"),L0={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},X2=Object.prototype.hasOwnProperty,T0=console.createTask?console.createTask:function(){return null};u0={react_stack_bottom_frame:function(H){return H()}};var y1,g1,n2={},W0=u0.react_stack_bottom_frame.bind(u0,T)(),S1=T0(I(T)),F4=!1,z4=/\/+/g,W4=typeof reportError==="function"?reportError:function(H){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var C=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof H==="object"&&H!==null&&typeof H.message==="string"?String(H.message):String(H),error:H});if(!window.dispatchEvent(C))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",H);return}console.error(H)},h5=!1,V4=null,q7=0,Y1=!1,c7=!1,C3=typeof queueMicrotask==="function"?function(H){queueMicrotask(function(){return queueMicrotask(H)})}:S0;u0=Object.freeze({__proto__:null,c:function(H){return i().useMemoCache(H)}});var h2={map:p,forEach:function(H,C,l){p(H,function(){C.apply(this,arguments)},l)},count:function(H){var C=0;return p(H,function(){C++}),C},toArray:function(H){return p(H,function(C){return C})||[]},only:function(H){if(!k(H))throw Error("React.Children.only expected to receive a single React element child.");return H}};vU.Activity=X1,vU.Children=h2,vU.Component=g,vU.Fragment=a,vU.Profiler=G0,vU.PureComponent=R,vU.StrictMode=u,vU.Suspense=C2,vU.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=L0,vU.__COMPILER_RUNTIME=u0,vU.act=function(H){var C=L0.actQueue,l=q7;q7++;var o=L0.actQueue=C!==null?C:[],y=!1;try{var n=H()}catch(H0){L0.thrownErrors.push(H0)}if(0<L0.thrownErrors.length)throw G2(C,l),H=M0(L0.thrownErrors),L0.thrownErrors.length=0,H;if(n!==null&&typeof n==="object"&&typeof n.then==="function"){var N0=n;return C3(function(){y||Y1||(Y1=!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(H0,Y2){y=!0,N0.then(function(F2){if(G2(C,l),l===0){try{z0(o),S0(function(){return c(F2,H0,Y2)})}catch(k5){L0.thrownErrors.push(k5)}if(0<L0.thrownErrors.length){var A4=M0(L0.thrownErrors);L0.thrownErrors.length=0,Y2(A4)}}else H0(F2)},function(F2){G2(C,l),0<L0.thrownErrors.length?(F2=M0(L0.thrownErrors),L0.thrownErrors.length=0,Y2(F2)):Y2(F2)})}}}var I0=n;if(G2(C,l),l===0&&(z0(o),o.length!==0&&C3(function(){y||Y1||(Y1=!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(() => ...)"))}),L0.actQueue=null),0<L0.thrownErrors.length)throw H=M0(L0.thrownErrors),L0.thrownErrors.length=0,H;return{then:function(H0,Y2){y=!0,l===0?(L0.actQueue=o,S0(function(){return c(I0,H0,Y2)})):H0(I0)}}},vU.cache=function(H){return function(){return H.apply(null,arguments)}},vU.cacheSignal=function(){return null},vU.captureOwnerStack=function(){var H=L0.getCurrentStack;return H===null?null:H()},vU.cloneElement=function(H,C,l){if(H===null||H===void 0)throw Error("The argument must be a React element, but you passed "+H+".");var o=r0({},H.props),y=H.key,n=H._owner;if(C!=null){var N0;$:{if(X2.call(C,"ref")&&(N0=Object.getOwnPropertyDescriptor(C,"ref").get)&&N0.isReactWarning){N0=!1;break $}N0=C.ref!==void 0}N0&&(n=_()),t(C)&&(b(C.key),y=""+C.key);for(I0 in C)!X2.call(C,I0)||I0==="key"||I0==="__self"||I0==="__source"||I0==="ref"&&C.ref===void 0||(o[I0]=C[I0])}var I0=arguments.length-2;if(I0===1)o.children=l;else if(1<I0){N0=Array(I0);for(var H0=0;H0<I0;H0++)N0[H0]=arguments[H0+2];o.children=N0}o=Z0(H.type,y,o,n,H._debugStack,H._debugTask);for(y=2;y<arguments.length;y++)_0(arguments[y]);return o},vU.createContext=function(H){return H={$$typeof:P0,_currentValue:H,_currentValue2:H,_threadCount:0,Provider:null,Consumer:null},H.Provider=H,H.Consumer={$$typeof:F0,_context:H},H._currentRenderer=null,H._currentRenderer2=null,H},vU.createElement=function(H,C,l){for(var o=2;o<arguments.length;o++)_0(arguments[o]);o={};var y=null;if(C!=null)for(H0 in g1||!("__self"in C)||"key"in C||(g1=!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")),t(C)&&(b(C.key),y=""+C.key),C)X2.call(C,H0)&&H0!=="key"&&H0!=="__self"&&H0!=="__source"&&(o[H0]=C[H0]);var n=arguments.length-2;if(n===1)o.children=l;else if(1<n){for(var N0=Array(n),I0=0;I0<n;I0++)N0[I0]=arguments[I0+2];Object.freeze&&Object.freeze(N0),o.children=N0}if(H&&H.defaultProps)for(H0 in n=H.defaultProps,n)o[H0]===void 0&&(o[H0]=n[H0]);y&&B0(o,typeof H==="function"?H.displayName||H.name||"Unknown":H);var H0=1e4>L0.recentlyCreatedOwnerStacks++;return Z0(H,y,o,_(),H0?Error("react-stack-top-frame"):W0,H0?T0(I(H)):S1)},vU.createRef=function(){var H={current:null};return Object.seal(H),H},vU.forwardRef=function(H){H!=null&&H.$$typeof===S2?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof H!=="function"?console.error("forwardRef requires a render function but was given %s.",H===null?"null":typeof H):H.length!==0&&H.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",H.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),H!=null&&H.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var C={$$typeof:x0,render:H},l;return Object.defineProperty(C,"displayName",{enumerable:!1,configurable:!0,get:function(){return l},set:function(o){l=o,H.name||H.displayName||(Object.defineProperty(H,"name",{value:o}),H.displayName=o)}}),C},vU.isValidElement=k,vU.lazy=function(H){H={_status:-1,_result:H};var C={$$typeof:V2,_payload:H,_init:D0},l={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return H._ioInfo=l,C._debugInfo=[{awaited:l}],C},vU.memo=function(H,C){H==null&&console.error("memo: The first argument must be a component. Instead received: %s",H===null?"null":typeof H),C={$$typeof:S2,type:H,compare:C===void 0?null:C};var l;return Object.defineProperty(C,"displayName",{enumerable:!1,configurable:!0,get:function(){return l},set:function(o){l=o,H.name||H.displayName||(Object.defineProperty(H,"name",{value:o}),H.displayName=o)}}),C},vU.startTransition=function(H){var C=L0.T,l={};l._updatedFibers=new Set,L0.T=l;try{var o=H(),y=L0.S;y!==null&&y(l,o),typeof o==="object"&&o!==null&&typeof o.then==="function"&&(L0.asyncTransitions++,o.then(B2,B2),o.then(K,W4))}catch(n){W4(n)}finally{C===null&&l._updatedFibers&&(H=l._updatedFibers.size,l._updatedFibers.clear(),10<H&&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.")),C!==null&&l.types!==null&&(C.types!==null&&C.types!==l.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."),C.types=l.types),L0.T=C}},vU.unstable_useCacheRefresh=function(){return i().useCacheRefresh()},vU.use=function(H){return i().use(H)},vU.useActionState=function(H,C,l){return i().useActionState(H,C,l)},vU.useCallback=function(H,C){return i().useCallback(H,C)},vU.useContext=function(H){var C=i();return H.$$typeof===F0&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),C.useContext(H)},vU.useDebugValue=function(H,C){return i().useDebugValue(H,C)},vU.useDeferredValue=function(H,C){return i().useDeferredValue(H,C)},vU.useEffect=function(H,C){return H==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),i().useEffect(H,C)},vU.useEffectEvent=function(H){return i().useEffectEvent(H)},vU.useId=function(){return i().useId()},vU.useImperativeHandle=function(H,C,l){return i().useImperativeHandle(H,C,l)},vU.useInsertionEffect=function(H,C){return H==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),i().useInsertionEffect(H,C)},vU.useLayoutEffect=function(H,C){return H==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),i().useLayoutEffect(H,C)},vU.useMemo=function(H,C){return i().useMemo(H,C)},vU.useOptimistic=function(H,C){return i().useOptimistic(H,C)},vU.useReducer=function(H,C,l){return i().useReducer(H,C,l)},vU.useRef=function(H){return i().useRef(H)},vU.useState=function(H){return i().useState(H)},vU.useSyncExternalStore=function(H,C,l){return i().useSyncExternalStore(H,C,l)},vU.useTransition=function(){return i().useTransition()},vU.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var xQ=M3((JU)=>{var AG=w0(w1());(function(){function N(){}function v(I){return""+I}function L(I,_,T){var t=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{v(t);var B0=!1}catch(j){B0=!0}return B0&&(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"),v(t)),{$$typeof:b,key:t==null?null:""+t,children:I,containerInfo:_,implementation:T}}function g(I,_){if(I==="font")return"";if(typeof _==="string")return _==="use-credentials"?_:""}function q(I){return I===null?"`null`":I===void 0?"`undefined`":I===""?"an empty string":'something with type "'+typeof I+'"'}function R(I){return I===null?"`null`":I===void 0?"`undefined`":I===""?"an empty string":typeof I==="string"?JSON.stringify(I):typeof I==="number"?"`"+I+"`":'something with type "'+typeof I+'"'}function K(){var I=E.H;return I===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:
14
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
15
+ 2. You might be breaking the Rules of Hooks
16
+ 3. You might have more than one copy of React in the same app
17
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),I}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var F={d:{f:N,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:N,C:N,L:N,m:N,X:N,S:N,M:N},p:0,findDOMNode:null},b=Symbol.for("react.portal"),E=AG.__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"),JU.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=F,JU.createPortal=function(I,_){var T=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!_||_.nodeType!==1&&_.nodeType!==9&&_.nodeType!==11)throw Error("Target container is not a DOM element.");return L(I,_,null,T)},JU.flushSync=function(I){var _=E.T,T=F.p;try{if(E.T=null,F.p=2,I)return I()}finally{E.T=_,F.p=T,F.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.")}},JU.preconnect=function(I,_){typeof I==="string"&&I?_!=null&&typeof _!=="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.",R(_)):_!=null&&typeof _.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.",q(_.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",q(I)),typeof I==="string"&&(_?(_=_.crossOrigin,_=typeof _==="string"?_==="use-credentials"?_:"":void 0):_=null,F.d.C(I,_))},JU.prefetchDNS=function(I){if(typeof I!=="string"||!I)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",q(I));else if(1<arguments.length){var _=arguments[1];typeof _==="object"&&_.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`.",R(_)):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`.",R(_))}typeof I==="string"&&F.d.D(I)},JU.preinit=function(I,_){if(typeof I==="string"&&I?_==null||typeof _!=="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.",R(_)):_.as!=="style"&&_.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".',R(_.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",q(I)),typeof I==="string"&&_&&typeof _.as==="string"){var T=_.as,t=g(T,_.crossOrigin),B0=typeof _.integrity==="string"?_.integrity:void 0,j=typeof _.fetchPriority==="string"?_.fetchPriority:void 0;T==="style"?F.d.S(I,typeof _.precedence==="string"?_.precedence:void 0,{crossOrigin:t,integrity:B0,fetchPriority:j}):T==="script"&&F.d.X(I,{crossOrigin:t,integrity:B0,fetchPriority:j,nonce:typeof _.nonce==="string"?_.nonce:void 0})}},JU.preinitModule=function(I,_){var T="";if(typeof I==="string"&&I||(T+=" The `href` argument encountered was "+q(I)+"."),_!==void 0&&typeof _!=="object"?T+=" The `options` argument encountered was "+q(_)+".":_&&("as"in _)&&_.as!=="script"&&(T+=" The `as` option encountered was "+R(_.as)+"."),T)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",T);else switch(T=_&&typeof _.as==="string"?_.as:"script",T){case"script":break;default:T=R(T),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)',T,I)}if(typeof I==="string")if(typeof _==="object"&&_!==null){if(_.as==null||_.as==="script")T=g(_.as,_.crossOrigin),F.d.M(I,{crossOrigin:T,integrity:typeof _.integrity==="string"?_.integrity:void 0,nonce:typeof _.nonce==="string"?_.nonce:void 0})}else _==null&&F.d.M(I)},JU.preload=function(I,_){var T="";if(typeof I==="string"&&I||(T+=" The `href` argument encountered was "+q(I)+"."),_==null||typeof _!=="object"?T+=" The `options` argument encountered was "+q(_)+".":typeof _.as==="string"&&_.as||(T+=" The `as` option encountered was "+q(_.as)+"."),T&&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',T),typeof I==="string"&&typeof _==="object"&&_!==null&&typeof _.as==="string"){T=_.as;var t=g(T,_.crossOrigin);F.d.L(I,T,{crossOrigin:t,integrity:typeof _.integrity==="string"?_.integrity:void 0,nonce:typeof _.nonce==="string"?_.nonce:void 0,type:typeof _.type==="string"?_.type:void 0,fetchPriority:typeof _.fetchPriority==="string"?_.fetchPriority:void 0,referrerPolicy:typeof _.referrerPolicy==="string"?_.referrerPolicy:void 0,imageSrcSet:typeof _.imageSrcSet==="string"?_.imageSrcSet:void 0,imageSizes:typeof _.imageSizes==="string"?_.imageSizes:void 0,media:typeof _.media==="string"?_.media:void 0})}},JU.preloadModule=function(I,_){var T="";typeof I==="string"&&I||(T+=" The `href` argument encountered was "+q(I)+"."),_!==void 0&&typeof _!=="object"?T+=" The `options` argument encountered was "+q(_)+".":_&&("as"in _)&&typeof _.as!=="string"&&(T+=" The `as` option encountered was "+q(_.as)+"."),T&&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',T),typeof I==="string"&&(_?(T=g(_.as,_.crossOrigin),F.d.m(I,{as:typeof _.as==="string"&&_.as!=="script"?_.as:void 0,crossOrigin:T,integrity:typeof _.integrity==="string"?_.integrity:void 0})):F.d.m(I))},JU.requestFormReset=function(I){F.d.r(I)},JU.unstable_batchedUpdates=function(I,_){return I(_)},JU.useFormState=function(I,_,T){return K().useFormState(I,_,T)},JU.useFormStatus=function(){return K().useHostTransitionStatus()},JU.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var kQ=M3((yw,hQ)=>{var HU=w0(xQ());hQ.exports=HU});var jQ=M3((QU)=>{var z2=w0(uQ()),T6=w0(w1()),PG=w0(kQ());(function(){function N($,B){for($=$.memoizedState;$!==null&&0<B;)$=$.next,B--;return $}function v($,B,X,Y){if(X>=B.length)return Y;var Z=B[X],G=t2($)?$.slice():c0({},$);return G[Z]=v($[Z],B,X+1,Y),G}function L($,B,X){if(B.length!==X.length)console.warn("copyWithRename() expects paths of the same length");else{for(var Y=0;Y<X.length-1;Y++)if(B[Y]!==X[Y]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return g($,B,X,0)}}function g($,B,X,Y){var Z=B[Y],G=t2($)?$.slice():c0({},$);return Y+1===B.length?(G[X[Y]]=G[Z],t2(G)?G.splice(Z,1):delete G[Z]):G[Z]=g($[Z],B,X,Y+1),G}function q($,B,X){var Y=B[X],Z=t2($)?$.slice():c0({},$);if(X+1===B.length)return t2(Z)?Z.splice(Y,1):delete Z[Y],Z;return Z[Y]=q($[Y],B,X+1),Z}function R(){return!1}function K(){return null}function F(){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 E(){}function I(){}function _($){var B=[];return $.forEach(function(X){B.push(X)}),B.sort().join(", ")}function T($,B,X,Y){return new aL($,B,X,Y)}function t($,B){$.context===H5&&(pY($.current,2,B,$,null,null),D3())}function B0($,B){if(L4!==null){var X=B.staleFamilies;B=B.updatedFamilies,z$(),Vz($.current,B,X),D3()}}function j($){L4=$}function Z0($){return!(!$||$.nodeType!==1&&$.nodeType!==9&&$.nodeType!==11)}function K0($){var B=$,X=$;if($.alternate)for(;B.return;)B=B.return;else{$=B;do B=$,(B.flags&4098)!==0&&(X=B.return),$=B.return;while($)}return B.tag===3?X:null}function _0($){if($.tag===13){var B=$.memoizedState;if(B===null&&($=$.alternate,$!==null&&(B=$.memoizedState)),B!==null)return B.dehydrated}return null}function k($){if($.tag===31){var B=$.memoizedState;if(B===null&&($=$.alternate,$!==null&&(B=$.memoizedState)),B!==null)return B.dehydrated}return null}function Y0($){if(K0($)!==$)throw Error("Unable to find node on an unmounted component.")}function v0($){var B=$.alternate;if(!B){if(B=K0($),B===null)throw Error("Unable to find node on an unmounted component.");return B!==$?null:$}for(var X=$,Y=B;;){var Z=X.return;if(Z===null)break;var G=Z.alternate;if(G===null){if(Y=Z.return,Y!==null){X=Y;continue}break}if(Z.child===G.child){for(G=Z.child;G;){if(G===X)return Y0(Z),$;if(G===Y)return Y0(Z),B;G=G.sibling}throw Error("Unable to find node on an unmounted component.")}if(X.return!==Y.return)X=Z,Y=G;else{for(var z=!1,W=Z.child;W;){if(W===X){z=!0,X=Z,Y=G;break}if(W===Y){z=!0,Y=Z,X=G;break}W=W.sibling}if(!z){for(W=G.child;W;){if(W===X){z=!0,X=G,Y=Z;break}if(W===Y){z=!0,Y=G,X=Z;break}W=W.sibling}if(!z)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(X.alternate!==Y)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(X.tag!==3)throw Error("Unable to find node on an unmounted component.");return X.stateNode.current===X?$:B}function C0($){var B=$.tag;if(B===5||B===26||B===27||B===6)return $;for($=$.child;$!==null;){if(B=C0($),B!==null)return B;$=$.sibling}return null}function e0($){if($===null||typeof $!=="object")return null;return $=ov&&$[ov]||$["@@iterator"],typeof $==="function"?$:null}function p($){if($==null)return null;if(typeof $==="function")return $.$$typeof===qg?null:$.displayName||$.name||null;if(typeof $==="string")return $;switch($){case s3:return"Fragment";case rY:return"Profiler";case b8:return"StrictMode";case tY:return"Suspense";case eY:return"SuspenseList";case $Z:return"Activity"}if(typeof $==="object")switch(typeof $.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),$.$$typeof){case a3:return"Portal";case Y7:return $.displayName||"Context";case nY:return($._context.displayName||"Context")+".Consumer";case K$:var B=$.render;return $=$.displayName,$||($=B.displayName||B.name||"",$=$!==""?"ForwardRef("+$+")":"ForwardRef"),$;case C8:return B=$.displayName||null,B!==null?B:p($.type)||"Memo";case n1:B=$._payload,$=$._init;try{return p($(B))}catch(X){}}return null}function D0($){return typeof $.tag==="number"?i($):typeof $.name==="string"?$.name:null}function i($){var B=$.type;switch($.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(B._context.displayName||"Context")+".Consumer";case 10:return B.displayName||"Context";case 18:return"DehydratedFragment";case 11:return $=B.render,$=$.displayName||$.name||"",B.displayName||($!==""?"ForwardRef("+$+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return B;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return p(B);case 8:return B===b8?"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 B==="function")return B.displayName||B.name||null;if(typeof B==="string")return B;break;case 29:if(B=$._debugInfo,B!=null){for(var X=B.length-1;0<=X;X--)if(typeof B[X].name==="string")return B[X].name}if($.return!==null)return i($.return)}return null}function B2($){return{current:$}}function S0($,B){0>A7?console.error("Unexpected pop."):(B!==XZ[A7]&&console.error("Unexpected Fiber popped."),$.current=BZ[A7],BZ[A7]=null,XZ[A7]=null,A7--)}function M0($,B,X){A7++,BZ[A7]=$.current,XZ[A7]=X,$.current=B}function G2($){return $===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),$}function c($,B){M0(G5,B,$),M0(U$,$,$),M0(Z5,null,$);var X=B.nodeType;switch(X){case 9:case 11:X=X===9?"#document":"#fragment",B=(B=B.documentElement)?(B=B.namespaceURI)?Kv(B):j7:j7;break;default:if(X=B.tagName,B=B.namespaceURI)B=Kv(B),B=Uv(B,X);else switch(X){case"svg":B=C6;break;case"math":B=IB;break;default:B=j7}}X=X.toLowerCase(),X=Jz(null,X),X={context:B,ancestorInfo:X},S0(Z5,$),M0(Z5,X,$)}function z0($){S0(Z5,$),S0(U$,$),S0(G5,$)}function e(){return G2(Z5.current)}function U0($){$.memoizedState!==null&&M0(m8,$,$);var B=G2(Z5.current),X=$.type,Y=Uv(B.context,X);X=Jz(B.ancestorInfo,X),Y={context:Y,ancestorInfo:X},B!==Y&&(M0(U$,$,$),M0(Z5,Y,$))}function a($){U$.current===$&&(S0(Z5,$),S0(U$,$)),m8.current===$&&(S0(m8,$),N9._currentValue=_3)}function u(){}function G0(){if(O$===0){av=console.log,sv=console.info,iv=console.warn,rv=console.error,nv=console.group,tv=console.groupCollapsed,ev=console.groupEnd;var $={configurable:!0,enumerable:!0,value:u,writable:!0};Object.defineProperties(console,{info:$,log:$,warn:$,error:$,group:$,groupCollapsed:$,groupEnd:$})}O$++}function F0(){if(O$--,O$===0){var $={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:c0({},$,{value:av}),info:c0({},$,{value:sv}),warn:c0({},$,{value:iv}),error:c0({},$,{value:rv}),group:c0({},$,{value:nv}),groupCollapsed:c0({},$,{value:tv}),groupEnd:c0({},$,{value:ev})})}0>O$&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function P0($){var B=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,$=$.stack,Error.prepareStackTrace=B,$.startsWith(`Error: react-stack-top-frame
18
+ `)&&($=$.slice(29)),B=$.indexOf(`
19
+ `),B!==-1&&($=$.slice(B+1)),B=$.indexOf("react_stack_bottom_frame"),B!==-1&&(B=$.lastIndexOf(`
20
+ `,B)),B!==-1)$=$.slice(0,B);else return"";return $}function x0($){if(YZ===void 0)try{throw Error()}catch(X){var B=X.stack.trim().match(/\n( *(at )?)/);YZ=B&&B[1]||"",$J=-1<X.stack.indexOf(`
21
+ at`)?" (<anonymous>)":-1<X.stack.indexOf("@")?"@unknown:0:0":""}return`
22
+ `+YZ+$+$J}function C2($,B){if(!$||ZZ)return"";var X=GZ.get($);if(X!==void 0)return X;ZZ=!0,X=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var Y=null;Y=x.H,x.H=null,G0();try{var Z={DetermineComponentFrameRoot:function(){try{if(B){var O=function(){throw Error()};if(Object.defineProperty(O.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(O,[])}catch(r){var f=r}Reflect.construct($,[],O)}else{try{O.call()}catch(r){f=r}$.call(O.prototype)}}else{try{throw Error()}catch(r){f=r}(O=$())&&typeof O.catch==="function"&&O.catch(function(){})}}catch(r){if(r&&f&&typeof r.stack==="string")return[r.stack,f.stack]}return[null,null]}};Z.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var G=Object.getOwnPropertyDescriptor(Z.DetermineComponentFrameRoot,"name");G&&G.configurable&&Object.defineProperty(Z.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var z=Z.DetermineComponentFrameRoot(),W=z[0],J=z[1];if(W&&J){var Q=W.split(`
23
+ `),A=J.split(`
24
+ `);for(z=G=0;G<Q.length&&!Q[G].includes("DetermineComponentFrameRoot");)G++;for(;z<A.length&&!A[z].includes("DetermineComponentFrameRoot");)z++;if(G===Q.length||z===A.length)for(G=Q.length-1,z=A.length-1;1<=G&&0<=z&&Q[G]!==A[z];)z--;for(;1<=G&&0<=z;G--,z--)if(Q[G]!==A[z]){if(G!==1||z!==1)do if(G--,z--,0>z||Q[G]!==A[z]){var P=`
25
+ `+Q[G].replace(" at new "," at ");return $.displayName&&P.includes("<anonymous>")&&(P=P.replace("<anonymous>",$.displayName)),typeof $==="function"&&GZ.set($,P),P}while(1<=G&&0<=z);break}}}finally{ZZ=!1,x.H=Y,F0(),Error.prepareStackTrace=X}return Q=(Q=$?$.displayName||$.name:"")?x0(Q):"",typeof $==="function"&&GZ.set($,Q),Q}function $2($,B){switch($.tag){case 26:case 27:case 5:return x0($.type);case 16:return x0("Lazy");case 13:return $.child!==B&&B!==null?x0("Suspense Fallback"):x0("Suspense");case 19:return x0("SuspenseList");case 0:case 15:return C2($.type,!1);case 11:return C2($.type.render,!1);case 1:return C2($.type,!0);case 31:return x0("Activity");default:return""}}function S2($){try{var B="",X=null;do{B+=$2($,X);var Y=$._debugInfo;if(Y)for(var Z=Y.length-1;0<=Z;Z--){var G=Y[Z];if(typeof G.name==="string"){var z=B;$:{var{name:W,env:J,debugLocation:Q}=G;if(Q!=null){var A=P0(Q),P=A.lastIndexOf(`
26
+ `),O=P===-1?A:A.slice(P+1);if(O.indexOf(W)!==-1){var f=`
27
+ `+O;break $}}f=x0(W+(J?" ["+J+"]":""))}B=z+f}}X=$,$=$.return}while($);return B}catch(r){return`
28
+ Error generating stack: `+r.message+`
29
+ `+r.stack}}function V2($){return($=$?$.displayName||$.name:"")?x0($):""}function X1(){if(t1===null)return null;var $=t1._debugOwner;return $!=null?D0($):null}function l1(){if(t1===null)return"";var $=t1;try{var B="";switch($.tag===6&&($=$.return),$.tag){case 26:case 27:case 5:B+=x0($.type);break;case 13:B+=x0("Suspense");break;case 19:B+=x0("SuspenseList");break;case 31:B+=x0("Activity");break;case 30:case 0:case 15:case 1:$._debugOwner||B!==""||(B+=V2($.type));break;case 11:$._debugOwner||B!==""||(B+=V2($.type.render))}for(;$;)if(typeof $.tag==="number"){var X=$;$=X._debugOwner;var Y=X._debugStack;if($&&Y){var Z=P0(Y);Z!==""&&(B+=`
30
+ `+Z)}}else if($.debugStack!=null){var G=$.debugStack;($=$.owner)&&G&&(B+=`
31
+ `+P0(G))}else break;var z=B}catch(W){z=`
32
+ Error generating stack: `+W.message+`
33
+ `+W.stack}return z}function s($,B,X,Y,Z,G,z){var W=t1;Q0($);try{return $!==null&&$._debugTask?$._debugTask.run(B.bind(null,X,Y,Z,G,z)):B(X,Y,Z,G,z)}finally{Q0(W)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Q0($){x.getCurrentStack=$===null?null:l1,Z7=!1,t1=$}function r0($){return typeof Symbol==="function"&&Symbol.toStringTag&&$[Symbol.toStringTag]||$.constructor.name||"Object"}function a0($){try{return u0($),!1}catch(B){return!0}}function u0($){return""+$}function m0($,B){if(a0($))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",B,r0($)),u0($)}function J2($,B){if(a0($))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.",B,r0($)),u0($)}function L0($){if(a0($))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.",r0($)),u0($)}function X2($){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var B=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(B.isDisabled)return!0;if(!B.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{r3=B.inject($),U1=B}catch(X){console.error("React instrumentation encountered an error: %o.",X)}return B.checkDCE?!0:!1}function T0($){if(typeof _g==="function"&&Mg($),U1&&typeof U1.setStrictMode==="function")try{U1.setStrictMode(r3,$)}catch(B){G7||(G7=!0,console.error("React instrumentation encountered an error: %o",B))}}function y1($){return $>>>=0,$===0?32:31-(Fg($)/Ag|0)|0}function g1($){var B=$&42;if(B!==0)return B;switch($&-$){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 $&261888;case 262144:case 524288:case 1048576:case 2097152:return $&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return $&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."),$}}function n2($,B,X){var Y=$.pendingLanes;if(Y===0)return 0;var Z=0,G=$.suspendedLanes,z=$.pingedLanes;$=$.warmLanes;var W=Y&134217727;return W!==0?(Y=W&~G,Y!==0?Z=g1(Y):(z&=W,z!==0?Z=g1(z):X||(X=W&~$,X!==0&&(Z=g1(X))))):(W=Y&~G,W!==0?Z=g1(W):z!==0?Z=g1(z):X||(X=Y&~$,X!==0&&(Z=g1(X)))),Z===0?0:B!==0&&B!==Z&&(B&G)===0&&(G=Z&-Z,X=B&-B,G>=X||G===32&&(X&4194048)!==0)?B:Z}function W0($,B){return($.pendingLanes&~($.suspendedLanes&~$.pingedLanes)&B)===0}function S1($,B){switch($){case 1:case 2:case 4:case 8:case 64:return B+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 B+5000;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 F4(){var $=y8;return y8<<=1,(y8&62914560)===0&&(y8=4194304),$}function z4($){for(var B=[],X=0;31>X;X++)B.push($);return B}function W4($,B){$.pendingLanes|=B,B!==268435456&&($.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0)}function h5($,B,X,Y,Z,G){var z=$.pendingLanes;$.pendingLanes=X,$.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0,$.expiredLanes&=X,$.entangledLanes&=X,$.errorRecoveryDisabledLanes&=X,$.shellSuspendCounter=0;var{entanglements:W,expirationTimes:J,hiddenUpdates:Q}=$;for(X=z&~X;0<X;){var A=31-M1(X),P=1<<A;W[A]=0,J[A]=-1;var O=Q[A];if(O!==null)for(Q[A]=null,A=0;A<O.length;A++){var f=O[A];f!==null&&(f.lane&=-536870913)}X&=~P}Y!==0&&V4($,Y,0),G!==0&&Z===0&&$.tag!==0&&($.suspendedLanes|=G&~(z&~B))}function V4($,B,X){$.pendingLanes|=B,$.suspendedLanes&=~B;var Y=31-M1(B);$.entangledLanes|=B,$.entanglements[Y]=$.entanglements[Y]|1073741824|X&261930}function q7($,B){var X=$.entangledLanes|=B;for($=$.entanglements;X;){var Y=31-M1(X),Z=1<<Y;Z&B|$[Y]&B&&($[Y]|=B),X&=~Z}}function Y1($,B){var X=B&-B;return X=(X&42)!==0?1:c7(X),(X&($.suspendedLanes|B))!==0?0:X}function c7($){switch($){case 2:$=1;break;case 8:$=4;break;case 32:$=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:$=128;break;case 268435456:$=134217728;break;default:$=0}return $}function C3($,B,X){if(z7)for($=$.pendingUpdatersLaneMap;0<X;){var Y=31-M1(X),Z=1<<Y;$[Y].add(B),X&=~Z}}function h2($,B){if(z7)for(var{pendingUpdatersLaneMap:X,memoizedUpdaters:Y}=$;0<B;){var Z=31-M1(B);$=1<<Z,Z=X[Z],0<Z.size&&(Z.forEach(function(G){var z=G.alternate;z!==null&&Y.has(z)||Y.add(G)}),Z.clear()),B&=~$}}function H($){return $&=-$,e1!==0&&e1<$?m4!==0&&m4<$?($&134217727)!==0?W7:S8:m4:e1}function C(){var $=Q2.p;if($!==0)return $;return $=window.event,$===void 0?W7:Vv($.type)}function l($,B){var X=Q2.p;try{return Q2.p=$,B()}finally{Q2.p=X}}function o($){delete $[Q1],delete $[F1],delete $[JZ],delete $[Pg],delete $[Ig]}function y($){var B=$[Q1];if(B)return B;for(var X=$.parentNode;X;){if(B=X[W5]||X[Q1]){if(X=B.alternate,B.child!==null||X!==null&&X.child!==null)for($=Pv($);$!==null;){if(X=$[Q1])return X;$=Pv($)}return B}$=X,X=$.parentNode}return null}function n($){if($=$[Q1]||$[W5]){var B=$.tag;if(B===5||B===6||B===13||B===31||B===26||B===27||B===3)return $}return null}function N0($){var B=$.tag;if(B===5||B===26||B===27||B===6)return $.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function I0($){var B=$[BJ];return B||(B=$[BJ]={hoistableStyles:new Map,hoistableScripts:new Map}),B}function H0($){$[w$]=!0}function Y2($,B){F2($,B),F2($+"Capture",B)}function F2($,B){e5[$]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",$),e5[$]=B;var X=$.toLowerCase();HZ[X]=$,$==="onDoubleClick"&&(HZ.ondblclick=$);for($=0;$<B.length;$++)XJ.add(B[$])}function A4($,B){bg[B.type]||B.onChange||B.onInput||B.readOnly||B.disabled||B.value==null||($==="select"?console.error("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`."):console.error("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`.")),B.onChange||B.readOnly||B.disabled||B.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 k5($){if(C4.call(ZJ,$))return!0;if(C4.call(YJ,$))return!1;if(Cg.test($))return ZJ[$]=!0;return YJ[$]=!0,console.error("Invalid attribute name: `%s`",$),!1}function iG($,B,X){if(k5(B)){if(!$.hasAttribute(B)){switch(typeof X){case"symbol":case"object":return X;case"function":return X;case"boolean":if(X===!1)return X}return X===void 0?void 0:null}if($=$.getAttribute(B),$===""&&X===!0)return!0;return m0(X,B),$===""+X?X:$}}function w9($,B,X){if(k5(B))if(X===null)$.removeAttribute(B);else{switch(typeof X){case"undefined":case"function":case"symbol":$.removeAttribute(B);return;case"boolean":var Y=B.toLowerCase().slice(0,5);if(Y!=="data-"&&Y!=="aria-"){$.removeAttribute(B);return}}m0(X,B),$.setAttribute(B,""+X)}}function R9($,B,X){if(X===null)$.removeAttribute(B);else{switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(B);return}m0(X,B),$.setAttribute(B,""+X)}}function g7($,B,X,Y){if(Y===null)$.removeAttribute(X);else{switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(X);return}m0(Y,X),$.setAttributeNS(B,X,""+Y)}}function N4($){switch(typeof $){case"bigint":case"boolean":case"number":case"string":case"undefined":return $;case"object":return L0($),$;default:return""}}function rG($){var B=$.type;return($=$.nodeName)&&$.toLowerCase()==="input"&&(B==="checkbox"||B==="radio")}function AL($,B,X){var Y=Object.getOwnPropertyDescriptor($.constructor.prototype,B);if(!$.hasOwnProperty(B)&&typeof Y<"u"&&typeof Y.get==="function"&&typeof Y.set==="function"){var{get:Z,set:G}=Y;return Object.defineProperty($,B,{configurable:!0,get:function(){return Z.call(this)},set:function(z){L0(z),X=""+z,G.call(this,z)}}),Object.defineProperty($,B,{enumerable:Y.enumerable}),{getValue:function(){return X},setValue:function(z){L0(z),X=""+z},stopTracking:function(){$._valueTracker=null,delete $[B]}}}}function cB($){if(!$._valueTracker){var B=rG($)?"checked":"value";$._valueTracker=AL($,B,""+$[B])}}function nG($){if(!$)return!1;var B=$._valueTracker;if(!B)return!0;var X=B.getValue(),Y="";return $&&(Y=rG($)?$.checked?"true":"false":$.value),$=Y,$!==X?(B.setValue($),!0):!1}function _9($){if($=$||(typeof document<"u"?document:void 0),typeof $>"u")return null;try{return $.activeElement||$.body}catch(B){return $.body}}function v4($){return $.replace(mg,function(B){return"\\"+B.charCodeAt(0).toString(16)+" "})}function tG($,B){B.checked===void 0||B.defaultChecked===void 0||zJ||(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",X1()||"A component",B.type),zJ=!0),B.value===void 0||B.defaultValue===void 0||GJ||(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",X1()||"A component",B.type),GJ=!0)}function oB($,B,X,Y,Z,G,z,W){if($.name="",z!=null&&typeof z!=="function"&&typeof z!=="symbol"&&typeof z!=="boolean"?(m0(z,"type"),$.type=z):$.removeAttribute("type"),B!=null)if(z==="number"){if(B===0&&$.value===""||$.value!=B)$.value=""+N4(B)}else $.value!==""+N4(B)&&($.value=""+N4(B));else z!=="submit"&&z!=="reset"||$.removeAttribute("value");B!=null?aB($,z,N4(B)):X!=null?aB($,z,N4(X)):Y!=null&&$.removeAttribute("value"),Z==null&&G!=null&&($.defaultChecked=!!G),Z!=null&&($.checked=Z&&typeof Z!=="function"&&typeof Z!=="symbol"),W!=null&&typeof W!=="function"&&typeof W!=="symbol"&&typeof W!=="boolean"?(m0(W,"name"),$.name=""+N4(W)):$.removeAttribute("name")}function eG($,B,X,Y,Z,G,z,W){if(G!=null&&typeof G!=="function"&&typeof G!=="symbol"&&typeof G!=="boolean"&&(m0(G,"type"),$.type=G),B!=null||X!=null){if(!(G!=="submit"&&G!=="reset"||B!==void 0&&B!==null)){cB($);return}X=X!=null?""+N4(X):"",B=B!=null?""+N4(B):X,W||B===$.value||($.value=B),$.defaultValue=B}Y=Y!=null?Y:Z,Y=typeof Y!=="function"&&typeof Y!=="symbol"&&!!Y,$.checked=W?$.checked:!!Y,$.defaultChecked=!!Y,z!=null&&typeof z!=="function"&&typeof z!=="symbol"&&typeof z!=="boolean"&&(m0(z,"name"),$.name=z),cB($)}function aB($,B,X){B==="number"&&_9($.ownerDocument)===$||$.defaultValue===""+X||($.defaultValue=""+X)}function $z($,B){B.value==null&&(typeof B.children==="object"&&B.children!==null?T6.Children.forEach(B.children,function(X){X==null||typeof X==="string"||typeof X==="number"||typeof X==="bigint"||NJ||(NJ=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):B.dangerouslySetInnerHTML==null||vJ||(vJ=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),B.selected==null||WJ||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),WJ=!0)}function Bz(){var $=X1();return $?`
34
+
35
+ Check the render method of \``+$+"`.":""}function m3($,B,X,Y){if($=$.options,B){B={};for(var Z=0;Z<X.length;Z++)B["$"+X[Z]]=!0;for(X=0;X<$.length;X++)Z=B.hasOwnProperty("$"+$[X].value),$[X].selected!==Z&&($[X].selected=Z),Z&&Y&&($[X].defaultSelected=!0)}else{X=""+N4(X),B=null;for(Z=0;Z<$.length;Z++){if($[Z].value===X){$[Z].selected=!0,Y&&($[Z].defaultSelected=!0);return}B!==null||$[Z].disabled||(B=$[Z])}B!==null&&(B.selected=!0)}}function Xz($,B){for($=0;$<HJ.length;$++){var X=HJ[$];if(B[X]!=null){var Y=t2(B[X]);B.multiple&&!Y?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",X,Bz()):!B.multiple&&Y&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",X,Bz())}}B.value===void 0||B.defaultValue===void 0||JJ||(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"),JJ=!0)}function Yz($,B){B.value===void 0||B.defaultValue===void 0||QJ||(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",X1()||"A component"),QJ=!0),B.children!=null&&B.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Zz($,B,X){if(B!=null&&(B=""+N4(B),B!==$.value&&($.value=B),X==null)){$.defaultValue!==B&&($.defaultValue=B);return}$.defaultValue=X!=null?""+N4(X):""}function Gz($,B,X,Y){if(B==null){if(Y!=null){if(X!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(t2(Y)){if(1<Y.length)throw Error("<textarea> can only have at most one child.");Y=Y[0]}X=Y}X==null&&(X=""),B=X}X=N4(B),$.defaultValue=X,Y=$.textContent,Y===X&&Y!==""&&Y!==null&&($.value=Y),cB($)}function zz($,B){return $.serverProps===void 0&&$.serverTail.length===0&&$.children.length===1&&3<$.distanceFromLeaf&&$.distanceFromLeaf>15-B?zz($.children[0],B):$}function d1($){return" "+" ".repeat($)}function T3($){return"+ "+" ".repeat($)}function j5($){return"- "+" ".repeat($)}function Wz($){switch($.tag){case 26:case 27:case 5:return $.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return $=$.type,$.displayName||$.name||null;case 11:return $=$.type.render,$.displayName||$.name||null;case 1:return $=$.type,$.displayName||$.name||null;default:return null}}function x6($,B){return LJ.test($)?($=JSON.stringify($),$.length>B-2?8>B?'{"..."}':"{"+$.slice(0,B-7)+'..."}':"{"+$+"}"):$.length>B?5>B?'{"..."}':$.slice(0,B-3)+"...":$}function M9($,B,X){var Y=120-2*X;if(B===null)return T3(X)+x6($,Y)+`
36
+ `;if(typeof B==="string"){for(var Z=0;Z<B.length&&Z<$.length&&B.charCodeAt(Z)===$.charCodeAt(Z);Z++);return Z>Y-8&&10<Z&&($="..."+$.slice(Z-8),B="..."+B.slice(Z-8)),T3(X)+x6($,Y)+`
37
+ `+j5(X)+x6(B,Y)+`
38
+ `}return d1(X)+x6($,Y)+`
39
+ `}function sB($){return Object.prototype.toString.call($).replace(/^\[object (.*)\]$/,function(B,X){return X})}function h6($,B){switch(typeof $){case"string":return $=JSON.stringify($),$.length>B?5>B?'"..."':$.slice(0,B-4)+'..."':$;case"object":if($===null)return"null";if(t2($))return"[...]";if($.$$typeof===X7)return(B=p($.type))?"<"+B+">":"<...>";var X=sB($);if(X==="Object"){X="",B-=2;for(var Y in $)if($.hasOwnProperty(Y)){var Z=JSON.stringify(Y);if(Z!=='"'+Y+'"'&&(Y=Z),B-=Y.length-2,Z=h6($[Y],15>B?B:15),B-=Z.length,0>B){X+=X===""?"...":", ...";break}X+=(X===""?"":",")+Y+":"+Z}return"{"+X+"}"}return X;case"function":return(B=$.displayName||$.name)?"function "+B:"function";default:return String($)}}function f3($,B){return typeof $!=="string"||LJ.test($)?"{"+h6($,B-2)+"}":$.length>B-2?5>B?'"..."':'"'+$.slice(0,B-5)+'..."':'"'+$+'"'}function iB($,B,X){var Y=120-X.length-$.length,Z=[],G;for(G in B)if(B.hasOwnProperty(G)&&G!=="children"){var z=f3(B[G],120-X.length-G.length-1);Y-=G.length+z.length+2,Z.push(G+"="+z)}return Z.length===0?X+"<"+$+`>
40
+ `:0<Y?X+"<"+$+" "+Z.join(" ")+`>
41
+ `:X+"<"+$+`
42
+ `+X+" "+Z.join(`
43
+ `+X+" ")+`
44
+ `+X+`>
45
+ `}function PL($,B,X){var Y="",Z=c0({},B),G;for(G in $)if($.hasOwnProperty(G)){delete Z[G];var z=120-2*X-G.length-2,W=h6($[G],z);B.hasOwnProperty(G)?(z=h6(B[G],z),Y+=T3(X)+G+": "+W+`
46
+ `,Y+=j5(X)+G+": "+z+`
47
+ `):Y+=T3(X)+G+": "+W+`
48
+ `}for(var J in Z)Z.hasOwnProperty(J)&&($=h6(Z[J],120-2*X-J.length-2),Y+=j5(X)+J+": "+$+`
49
+ `);return Y}function IL($,B,X,Y){var Z="",G=new Map;for(Q in X)X.hasOwnProperty(Q)&&G.set(Q.toLowerCase(),Q);if(G.size===1&&G.has("children"))Z+=iB($,B,d1(Y));else{for(var z in B)if(B.hasOwnProperty(z)&&z!=="children"){var W=120-2*(Y+1)-z.length-1,J=G.get(z.toLowerCase());if(J!==void 0){G.delete(z.toLowerCase());var Q=B[z];J=X[J];var A=f3(Q,W);W=f3(J,W),typeof Q==="object"&&Q!==null&&typeof J==="object"&&J!==null&&sB(Q)==="Object"&&sB(J)==="Object"&&(2<Object.keys(Q).length||2<Object.keys(J).length||-1<A.indexOf("...")||-1<W.indexOf("..."))?Z+=d1(Y+1)+z+`={{
50
+ `+PL(Q,J,Y+2)+d1(Y+1)+`}}
51
+ `:(Z+=T3(Y+1)+z+"="+A+`
52
+ `,Z+=j5(Y+1)+z+"="+W+`
53
+ `)}else Z+=d1(Y+1)+z+"="+f3(B[z],W)+`
54
+ `}G.forEach(function(P){if(P!=="children"){var O=120-2*(Y+1)-P.length-1;Z+=j5(Y+1)+P+"="+f3(X[P],O)+`
55
+ `}}),Z=Z===""?d1(Y)+"<"+$+`>
56
+ `:d1(Y)+"<"+$+`
57
+ `+Z+d1(Y)+`>
58
+ `}if($=X.children,B=B.children,typeof $==="string"||typeof $==="number"||typeof $==="bigint"){if(G="",typeof B==="string"||typeof B==="number"||typeof B==="bigint")G=""+B;Z+=M9(G,""+$,Y+1)}else if(typeof B==="string"||typeof B==="number"||typeof B==="bigint")Z=$==null?Z+M9(""+B,null,Y+1):Z+M9(""+B,void 0,Y+1);return Z}function Nz($,B){var X=Wz($);if(X===null){X="";for($=$.child;$;)X+=Nz($,B),$=$.sibling;return X}return d1(B)+"<"+X+`>
59
+ `}function rB($,B){var X=zz($,B);if(X!==$&&($.children.length!==1||$.children[0]!==X))return d1(B)+`...
60
+ `+rB(X,B+1);X="";var Y=$.fiber._debugInfo;if(Y)for(var Z=0;Z<Y.length;Z++){var G=Y[Z].name;typeof G==="string"&&(X+=d1(B)+"<"+G+`>
61
+ `,B++)}if(Y="",Z=$.fiber.pendingProps,$.fiber.tag===6)Y=M9(Z,$.serverProps,B),B++;else if(G=Wz($.fiber),G!==null)if($.serverProps===void 0){Y=B;var z=120-2*Y-G.length-2,W="";for(Q in Z)if(Z.hasOwnProperty(Q)&&Q!=="children"){var J=f3(Z[Q],15);if(z-=Q.length+J.length+2,0>z){W+=" ...";break}W+=" "+Q+"="+J}Y=d1(Y)+"<"+G+W+`>
62
+ `,B++}else $.serverProps===null?(Y=iB(G,Z,T3(B)),B++):typeof $.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(Y=IL(G,Z,$.serverProps,B),B++);var Q="";Z=$.fiber.child;for(G=0;Z&&G<$.children.length;)z=$.children[G],z.fiber===Z?(Q+=rB(z,B),G++):Q+=Nz(Z,B),Z=Z.sibling;Z&&0<$.children.length&&(Q+=d1(B)+`...
63
+ `),Z=$.serverTail,$.serverProps===null&&B--;for($=0;$<Z.length;$++)G=Z[$],Q=typeof G==="string"?Q+(j5(B)+x6(G,120-2*B)+`
64
+ `):Q+iB(G.type,G.props,j5(B));return X+Y+Q}function nB($){try{return`
65
+
66
+ `+rB($,0)}catch(B){return""}}function vz($,B,X){for(var Y=B,Z=null,G=0;Y;)Y===$&&(G=0),Z={fiber:Y,children:Z!==null?[Z]:[],serverProps:Y===B?X:Y===$?null:void 0,serverTail:[],distanceFromLeaf:G},G++,Y=Y.return;return Z!==null?nB(Z).replaceAll(/^[+-]/gm,">"):""}function Jz($,B){var X=c0({},$||gJ),Y={tag:B};if(qJ.indexOf(B)!==-1&&(X.aTagInScope=null,X.buttonTagInScope=null,X.nobrTagInScope=null),fg.indexOf(B)!==-1&&(X.pTagInButtonScope=null),Tg.indexOf(B)!==-1&&B!=="address"&&B!=="div"&&B!=="p"&&(X.listItemTagAutoclosing=null,X.dlItemTagAutoclosing=null),X.current=Y,B==="form"&&(X.formTag=Y),B==="a"&&(X.aTagInScope=Y),B==="button"&&(X.buttonTagInScope=Y),B==="nobr"&&(X.nobrTagInScope=Y),B==="p"&&(X.pTagInButtonScope=Y),B==="li"&&(X.listItemTagAutoclosing=Y),B==="dd"||B==="dt")X.dlItemTagAutoclosing=Y;return B==="#document"||B==="html"?X.containerTagInScope=null:X.containerTagInScope||(X.containerTagInScope=Y),$!==null||B!=="#document"&&B!=="html"&&B!=="body"?X.implicitRootScope===!0&&(X.implicitRootScope=!1):X.implicitRootScope=!0,X}function Hz($,B,X){switch(B){case"select":return $==="hr"||$==="option"||$==="optgroup"||$==="script"||$==="template"||$==="#text";case"optgroup":return $==="option"||$==="#text";case"option":return $==="#text";case"tr":return $==="th"||$==="td"||$==="style"||$==="script"||$==="template";case"tbody":case"thead":case"tfoot":return $==="tr"||$==="style"||$==="script"||$==="template";case"colgroup":return $==="col"||$==="template";case"table":return $==="caption"||$==="colgroup"||$==="tbody"||$==="tfoot"||$==="thead"||$==="style"||$==="script"||$==="template";case"head":return $==="base"||$==="basefont"||$==="bgsound"||$==="link"||$==="meta"||$==="title"||$==="noscript"||$==="noframes"||$==="style"||$==="script"||$==="template";case"html":if(X)break;return $==="head"||$==="body"||$==="frameset";case"frameset":return $==="frame";case"#document":if(!X)return $==="html"}switch($){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return B!=="h1"&&B!=="h2"&&B!=="h3"&&B!=="h4"&&B!=="h5"&&B!=="h6";case"rp":case"rt":return yg.indexOf(B)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return B==null;case"head":return X||B===null;case"html":return X&&B==="#document"||B===null;case"body":return X&&(B==="#document"||B==="html")||B===null}return!0}function bL($,B){switch($){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 B.pTagInButtonScope;case"form":return B.formTag||B.pTagInButtonScope;case"li":return B.listItemTagAutoclosing;case"dd":case"dt":return B.dlItemTagAutoclosing;case"button":return B.buttonTagInScope;case"a":return B.aTagInScope;case"nobr":return B.nobrTagInScope}return null}function Qz($,B){for(;$;){switch($.tag){case 5:case 26:case 27:if($.type===B)return $}$=$.return}return null}function tB($,B){B=B||gJ;var X=B.current;if(B=(X=Hz($,X&&X.tag,B.implicitRootScope)?null:X)?null:bL($,B),B=X||B,!B)return!0;var Y=B.tag;if(B=String(!!X)+"|"+$+"|"+Y,u8[B])return!1;u8[B]=!0;var Z=(B=t1)?Qz(B.return,Y):null,G=B!==null&&Z!==null?vz(Z,B,null):"",z="<"+$+">";return X?(X="",Y==="table"&&$==="tr"&&(X+=" 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
67
+ This will cause a hydration error.%s`,z,Y,X,G)):console.error(`In HTML, %s cannot be a descendant of <%s>.
68
+ This will cause a hydration error.%s`,z,Y,G),B&&($=B.return,Z===null||$===null||Z===$&&$._debugOwner===B._debugOwner||s(Z,function(){console.error(`<%s> cannot contain a nested %s.
69
+ See this log for the ancestor stack trace.`,Y,z)})),!1}function F9($,B,X){if(X||Hz("#text",B,!1))return!0;if(X="#text|"+B,u8[X])return!1;u8[X]=!0;var Y=(X=t1)?Qz(X,B):null;return X=X!==null&&Y!==null?vz(Y,X,X.tag!==6?{children:null}:null):"",/\S/.test($)?console.error(`In HTML, text nodes cannot be a child of <%s>.
70
+ This will cause a hydration error.%s`,B,X):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.
71
+ This will cause a hydration error.%s`,B,X),!1}function k6($,B){if(B){var X=$.firstChild;if(X&&X===$.lastChild&&X.nodeType===3){X.nodeValue=B;return}}$.textContent=B}function CL($){return $.replace(xg,function(B,X){return X.toUpperCase()})}function Lz($,B,X){var Y=B.indexOf("--")===0;Y||(-1<B.indexOf("-")?n3.hasOwnProperty(B)&&n3[B]||(n3[B]=!0,console.error("Unsupported style property %s. Did you mean %s?",B,CL(B.replace(ug,"ms-")))):Sg.test(B)?n3.hasOwnProperty(B)&&n3[B]||(n3[B]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",B,B.charAt(0).toUpperCase()+B.slice(1))):!OJ.test(X)||LZ.hasOwnProperty(X)&&LZ[X]||(LZ[X]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,B,X.replace(OJ,""))),typeof X==="number"&&(isNaN(X)?wJ||(wJ=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",B)):isFinite(X)||RJ||(RJ=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",B)))),X==null||typeof X==="boolean"||X===""?Y?$.setProperty(B,""):B==="float"?$.cssFloat="":$[B]="":Y?$.setProperty(B,X):typeof X!=="number"||X===0||_J.has(B)?B==="float"?$.cssFloat=X:(J2(X,B),$[B]=(""+X).trim()):$[B]=X+"px"}function qz($,B,X){if(B!=null&&typeof B!=="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(B&&Object.freeze(B),$=$.style,X!=null){if(B){var Y={};if(X){for(var Z in X)if(X.hasOwnProperty(Z)&&!B.hasOwnProperty(Z))for(var G=QZ[Z]||[Z],z=0;z<G.length;z++)Y[G[z]]=Z}for(var W in B)if(B.hasOwnProperty(W)&&(!X||X[W]!==B[W]))for(Z=QZ[W]||[W],G=0;G<Z.length;G++)Y[Z[G]]=W;W={};for(var J in B)for(Z=QZ[J]||[J],G=0;G<Z.length;G++)W[Z[G]]=J;J={};for(var Q in Y)if(Z=Y[Q],(G=W[Q])&&Z!==G&&(z=Z+","+G,!J[z])){J[z]=!0,z=console;var A=B[Z];z.error.call(z,"%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.",A==null||typeof A==="boolean"||A===""?"Removing":"Updating",Z,G)}}for(var P in X)!X.hasOwnProperty(P)||B!=null&&B.hasOwnProperty(P)||(P.indexOf("--")===0?$.setProperty(P,""):P==="float"?$.cssFloat="":$[P]="");for(var O in B)Q=B[O],B.hasOwnProperty(O)&&X[O]!==Q&&Lz($,O,Q)}else for(Y in B)B.hasOwnProperty(Y)&&Lz($,Y,B[Y])}function j6($){if($.indexOf("-")===-1)return!1;switch($){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 gz($){return hg.get($)||$}function mL($,B){if(C4.call(e3,B)&&e3[B])return!0;if(jg.test(B)){if($="aria-"+B.slice(4).toLowerCase(),$=MJ.hasOwnProperty($)?$:null,$==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",B),e3[B]=!0;if(B!==$)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",B,$),e3[B]=!0}if(kg.test(B)){if($=B.toLowerCase(),$=MJ.hasOwnProperty($)?$:null,$==null)return e3[B]=!0,!1;B!==$&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",B,$),e3[B]=!0)}return!0}function TL($,B){var X=[],Y;for(Y in B)mL($,Y)||X.push(Y);B=X.map(function(Z){return"`"+Z+"`"}).join(", "),X.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",B,$):1<X.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",B,$)}function fL($,B,X,Y){if(C4.call(A1,B)&&A1[B])return!0;var Z=B.toLowerCase();if(Z==="onfocusin"||Z==="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."),A1[B]=!0;if(typeof X==="function"&&($==="form"&&B==="action"||$==="input"&&B==="formAction"||$==="button"&&B==="formAction"))return!0;if(Y!=null){if($=Y.possibleRegistrationNames,Y.registrationNameDependencies.hasOwnProperty(B))return!0;if(Y=$.hasOwnProperty(Z)?$[Z]:null,Y!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",B,Y),A1[B]=!0;if(AJ.test(B))return console.error("Unknown event handler property `%s`. It will be ignored.",B),A1[B]=!0}else if(AJ.test(B))return Vg.test(B)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",B),A1[B]=!0;if(Eg.test(B)||Dg.test(B))return!0;if(Z==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),A1[B]=!0;if(Z==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),A1[B]=!0;if(Z==="is"&&X!==null&&X!==void 0&&typeof X!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof X),A1[B]=!0;if(typeof X==="number"&&isNaN(X))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",B),A1[B]=!0;if(h8.hasOwnProperty(Z)){if(Z=h8[Z],Z!==B)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",B,Z),A1[B]=!0}else if(B!==Z)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.",B,Z),A1[B]=!0;switch(B){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 X){case"boolean":switch(B){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:if(Z=B.toLowerCase().slice(0,5),Z==="data-"||Z==="aria-")return!0;return X?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()}.',X,B,B,X,B):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.',X,B,B,X,B,B,B),A1[B]=!0}case"function":case"symbol":return A1[B]=!0,!1;case"string":if(X==="false"||X==="true"){switch(B){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}?",X,B,X==="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".',B,X),A1[B]=!0}}return!0}function yL($,B,X){var Y=[],Z;for(Z in B)fL($,Z,B[Z],X)||Y.push(Z);B=Y.map(function(G){return"`"+G+"`"}).join(", "),Y.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 ",B,$):1<Y.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 ",B,$)}function V6($){return lg.test(""+$)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":$}function K7(){}function eB($){return $=$.target||$.srcElement||window,$.correspondingUseElement&&($=$.correspondingUseElement),$.nodeType===3?$.parentNode:$}function Kz($){var B=n($);if(B&&($=B.stateNode)){var X=$[F1]||null;$:switch($=B.stateNode,B.type){case"input":if(oB($,X.value,X.defaultValue,X.defaultValue,X.checked,X.defaultChecked,X.type,X.name),B=X.name,X.type==="radio"&&B!=null){for(X=$;X.parentNode;)X=X.parentNode;m0(B,"name"),X=X.querySelectorAll('input[name="'+v4(""+B)+'"][type="radio"]');for(B=0;B<X.length;B++){var Y=X[B];if(Y!==$&&Y.form===$.form){var Z=Y[F1]||null;if(!Z)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");oB(Y,Z.value,Z.defaultValue,Z.defaultValue,Z.checked,Z.defaultChecked,Z.type,Z.name)}}for(B=0;B<X.length;B++)Y=X[B],Y.form===$.form&&nG(Y)}break $;case"textarea":Zz($,X.value,X.defaultValue);break $;case"select":B=X.value,B!=null&&m3($,!!X.multiple,B,!1)}}}function Uz($,B,X){if(qZ)return $(B,X);qZ=!0;try{var Y=$(B);return Y}finally{if(qZ=!1,$6!==null||B6!==null){if(D3(),$6&&(B=$6,$=B6,B6=$6=null,Kz(B),$))for(B=0;B<$.length;B++)Kz($[B])}}}function E6($,B){var X=$.stateNode;if(X===null)return null;var Y=X[F1]||null;if(Y===null)return null;X=Y[B];$:switch(B){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(Y=!Y.disabled)||($=$.type,Y=!($==="button"||$==="input"||$==="select"||$==="textarea")),$=!Y;break $;default:$=!1}if($)return null;if(X&&typeof X!=="function")throw Error("Expected `"+B+"` listener to be a function, instead got a value of `"+typeof X+"` type.");return X}function Oz(){if(k8)return k8;var $,B=KZ,X=B.length,Y,Z="value"in N5?N5.value:N5.textContent,G=Z.length;for($=0;$<X&&B[$]===Z[$];$++);var z=X-$;for(Y=1;Y<=z&&B[X-Y]===Z[G-Y];Y++);return k8=Z.slice($,1<Y?1-Y:void 0)}function A9($){var B=$.keyCode;return"charCode"in $?($=$.charCode,$===0&&B===13&&($=13)):$=B,$===10&&($=13),32<=$||$===13?$:0}function P9(){return!0}function wz(){return!1}function u1($){function B(X,Y,Z,G,z){this._reactName=X,this._targetInst=Z,this.type=Y,this.nativeEvent=G,this.target=z,this.currentTarget=null;for(var W in $)$.hasOwnProperty(W)&&(X=$[W],this[W]=X?X(G):G[W]);return this.isDefaultPrevented=(G.defaultPrevented!=null?G.defaultPrevented:G.returnValue===!1)?P9:wz,this.isPropagationStopped=wz,this}return c0(B.prototype,{preventDefault:function(){this.defaultPrevented=!0;var X=this.nativeEvent;X&&(X.preventDefault?X.preventDefault():typeof X.returnValue!=="unknown"&&(X.returnValue=!1),this.isDefaultPrevented=P9)},stopPropagation:function(){var X=this.nativeEvent;X&&(X.stopPropagation?X.stopPropagation():typeof X.cancelBubble!=="unknown"&&(X.cancelBubble=!0),this.isPropagationStopped=P9)},persist:function(){},isPersistent:P9}),B}function SL($){var B=this.nativeEvent;return B.getModifierState?B.getModifierState($):($=BK[$])?!!B[$]:!1}function $X(){return SL}function Rz($,B){switch($){case"keyup":return LK.indexOf(B.keyCode)!==-1;case"keydown":return B.keyCode!==CJ;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _z($){return $=$.detail,typeof $==="object"&&"data"in $?$.data:null}function uL($,B){switch($){case"compositionend":return _z(B);case"keypress":if(B.which!==TJ)return null;return yJ=!0,fJ;case"textInput":return $=B.data,$===fJ&&yJ?null:$;default:return null}}function xL($,B){if(X6)return $==="compositionend"||!RZ&&Rz($,B)?($=Oz(),k8=KZ=N5=null,X6=!1,$):null;switch($){case"paste":return null;case"keypress":if(!(B.ctrlKey||B.altKey||B.metaKey)||B.ctrlKey&&B.altKey){if(B.char&&1<B.char.length)return B.char;if(B.which)return String.fromCharCode(B.which)}return null;case"compositionend":return mJ&&B.locale!=="ko"?null:B.data;default:return null}}function Mz($){var B=$&&$.nodeName&&$.nodeName.toLowerCase();return B==="input"?!!gK[$.type]:B==="textarea"?!0:!1}function hL($){if(!N7)return!1;$="on"+$;var B=$ in document;return B||(B=document.createElement("div"),B.setAttribute($,"return;"),B=typeof B[$]==="function"),B}function Fz($,B,X,Y){$6?B6?B6.push(Y):B6=[Y]:$6=Y,B=U8(B,"onChange"),0<B.length&&(X=new j8("onChange","change",null,X,Y),$.push({event:X,listeners:B}))}function kL($){Gv($,0)}function I9($){var B=N0($);if(nG(B))return $}function Az($,B){if($==="change")return B}function Pz(){P$&&(P$.detachEvent("onpropertychange",Iz),I$=P$=null)}function Iz($){if($.propertyName==="value"&&I9(I$)){var B=[];Fz(B,I$,$,eB($)),Uz(kL,B)}}function jL($,B,X){$==="focusin"?(Pz(),P$=B,I$=X,P$.attachEvent("onpropertychange",Iz)):$==="focusout"&&Pz()}function VL($){if($==="selectionchange"||$==="keyup"||$==="keydown")return I9(I$)}function EL($,B){if($==="click")return I9(B)}function DL($,B){if($==="input"||$==="change")return I9(B)}function lL($,B){return $===B&&($!==0||1/$===1/B)||$!==$&&B!==B}function D6($,B){if(P1($,B))return!0;if(typeof $!=="object"||$===null||typeof B!=="object"||B===null)return!1;var X=Object.keys($),Y=Object.keys(B);if(X.length!==Y.length)return!1;for(Y=0;Y<X.length;Y++){var Z=X[Y];if(!C4.call(B,Z)||!P1($[Z],B[Z]))return!1}return!0}function bz($){for(;$&&$.firstChild;)$=$.firstChild;return $}function Cz($,B){var X=bz($);$=0;for(var Y;X;){if(X.nodeType===3){if(Y=$+X.textContent.length,$<=B&&Y>=B)return{node:X,offset:B-$};$=Y}$:{for(;X;){if(X.nextSibling){X=X.nextSibling;break $}X=X.parentNode}X=void 0}X=bz(X)}}function mz($,B){return $&&B?$===B?!0:$&&$.nodeType===3?!1:B&&B.nodeType===3?mz($,B.parentNode):("contains"in $)?$.contains(B):$.compareDocumentPosition?!!($.compareDocumentPosition(B)&16):!1:!1}function Tz($){$=$!=null&&$.ownerDocument!=null&&$.ownerDocument.defaultView!=null?$.ownerDocument.defaultView:window;for(var B=_9($.document);B instanceof $.HTMLIFrameElement;){try{var X=typeof B.contentWindow.location.href==="string"}catch(Y){X=!1}if(X)$=B.contentWindow;else break;B=_9($.document)}return B}function BX($){var B=$&&$.nodeName&&$.nodeName.toLowerCase();return B&&(B==="input"&&($.type==="text"||$.type==="search"||$.type==="tel"||$.type==="url"||$.type==="password")||B==="textarea"||$.contentEditable==="true")}function fz($,B,X){var Y=X.window===X?X.document:X.nodeType===9?X:X.ownerDocument;MZ||Y6==null||Y6!==_9(Y)||(Y=Y6,("selectionStart"in Y)&&BX(Y)?Y={start:Y.selectionStart,end:Y.selectionEnd}:(Y=(Y.ownerDocument&&Y.ownerDocument.defaultView||window).getSelection(),Y={anchorNode:Y.anchorNode,anchorOffset:Y.anchorOffset,focusNode:Y.focusNode,focusOffset:Y.focusOffset}),b$&&D6(b$,Y)||(b$=Y,Y=U8(_Z,"onSelect"),0<Y.length&&(B=new j8("onSelect","select",null,B,X),$.push({event:B,listeners:Y}),B.target=Y6)))}function V5($,B){var X={};return X[$.toLowerCase()]=B.toLowerCase(),X["Webkit"+$]="webkit"+B,X["Moz"+$]="moz"+B,X}function E5($){if(FZ[$])return FZ[$];if(!Z6[$])return $;var B=Z6[$],X;for(X in B)if(B.hasOwnProperty(X)&&X in uJ)return FZ[$]=B[X];return $}function P4($,B){VJ.set($,B),Y2(B,[$])}function dL($){for(var B=E8,X=0;X<$.length;X++){var Y=$[X];if(typeof Y==="object"&&Y!==null)if(t2(Y)&&Y.length===2&&typeof Y[0]==="string"){if(B!==E8&&B!==CZ)return IZ;B=CZ}else return IZ;else{if(typeof Y==="function"||typeof Y==="string"&&50<Y.length||B!==E8&&B!==bZ)return IZ;B=bZ}}return B}function XX($,B,X,Y){for(var Z in $)C4.call($,Z)&&Z[0]!=="_"&&E4(Z,$[Z],B,X,Y)}function E4($,B,X,Y,Z){switch(typeof B){case"object":if(B===null){B="null";break}else{if(B.$$typeof===X7){var G=p(B.type)||"…",z=B.key;B=B.props;var W=Object.keys(B),J=W.length;if(z==null&&J===0){B="<"+G+" />";break}if(3>Y||J===1&&W[0]==="children"&&z==null){B="<"+G+" … />";break}X.push([Z+"  ".repeat(Y)+$,"<"+G]),z!==null&&E4("key",z,X,Y+1,Z),$=!1;for(var Q in B)Q==="children"?B.children!=null&&(!t2(B.children)||0<B.children.length)&&($=!0):C4.call(B,Q)&&Q[0]!=="_"&&E4(Q,B[Q],X,Y+1,Z);X.push(["",$?">…</"+G+">":"/>"]);return}if(G=Object.prototype.toString.call(B),G=G.slice(8,G.length-1),G==="Array"){if(Q=dL(B),Q===bZ||Q===E8){B=JSON.stringify(B);break}else if(Q===CZ){X.push([Z+"  ".repeat(Y)+$,""]);for($=0;$<B.length;$++)G=B[$],E4(G[0],G[1],X,Y+1,Z);return}}if(G==="Promise"){if(B.status==="fulfilled"){if(G=X.length,E4($,B.value,X,Y,Z),X.length>G){X=X[G],X[1]="Promise<"+(X[1]||"Object")+">";return}}else if(B.status==="rejected"&&(G=X.length,E4($,B.reason,X,Y,Z),X.length>G)){X=X[G],X[1]="Rejected Promise<"+X[1]+">";return}X.push(["  ".repeat(Y)+$,"Promise"]);return}G==="Object"&&(Q=Object.getPrototypeOf(B))&&typeof Q.constructor==="function"&&(G=Q.constructor.name),X.push([Z+"  ".repeat(Y)+$,G==="Object"?3>Y?"":"…":G]),3>Y&&XX(B,X,Y+1,Z);return}case"function":B=B.name===""?"() => {}":B.name+"() {}";break;case"string":B=B===MK?"…":JSON.stringify(B);break;case"undefined":B="undefined";break;case"boolean":B=B?"true":"false";break;default:B=String(B)}X.push([Z+"  ".repeat(Y)+$,B])}function yz($,B,X,Y){var Z=!0;for(z in $)z in B||(X.push([D8+"  ".repeat(Y)+z,"…"]),Z=!1);for(var G in B)if(G in $){var z=$[G],W=B[G];if(z!==W){if(Y===0&&G==="children")Z="  ".repeat(Y)+G,X.push([D8+Z,"…"],[l8+Z,"…"]);else{if(!(3<=Y)){if(typeof z==="object"&&typeof W==="object"&&z!==null&&W!==null&&z.$$typeof===W.$$typeof)if(W.$$typeof===X7){if(z.type===W.type&&z.key===W.key){z=p(W.type)||"…",Z="  ".repeat(Y)+G,z="<"+z+" … />",X.push([D8+Z,z],[l8+Z,z]),Z=!1;continue}}else{var J=Object.prototype.toString.call(z),Q=Object.prototype.toString.call(W);if(J===Q&&(Q==="[object Object]"||Q==="[object Array]")){J=[lJ+"  ".repeat(Y)+G,Q==="[object Array]"?"Array":""],X.push(J),Q=X.length,yz(z,W,X,Y+1)?Q===X.length&&(J[1]="Referentially unequal but deeply equal objects. Consider memoization."):Z=!1;continue}}else if(typeof z==="function"&&typeof W==="function"&&z.name===W.name&&z.length===W.length&&(J=Function.prototype.toString.call(z),Q=Function.prototype.toString.call(W),J===Q)){z=W.name===""?"() => {}":W.name+"() {}",X.push([lJ+"  ".repeat(Y)+G,z+" Referentially unequal function closure. Consider memoization."]);continue}}E4(G,z,X,Y,D8),E4(G,W,X,Y,l8)}Z=!1}}else X.push([l8+"  ".repeat(Y)+G,"…"]),Z=!1;return Z}function p1($){s0=$&63?"Blocking":$&64?"Gesture":$&4194176?"Transition":$&62914560?"Suspense":$&2080374784?"Idle":"Other"}function D4($,B,X,Y){A2&&(J5.start=B,J5.end=X,P7.color="warning",P7.tooltipText=Y,P7.properties=null,($=$._debugTask)?$.run(performance.measure.bind(performance,Y,J5)):performance.measure(Y,J5))}function b9($,B,X){D4($,B,X,"Reconnect")}function C9($,B,X,Y,Z){var G=i($);if(G!==null&&A2){var{alternate:z,actualDuration:W}=$;if(z===null||z.child!==$.child)for(var J=$.child;J!==null;J=J.sibling)W-=J.actualDuration;Y=0.5>W?Y?"tertiary-light":"primary-light":10>W?Y?"tertiary":"primary":100>W?Y?"tertiary-dark":"primary-dark":"error";var Q=$.memoizedProps;W=$._debugTask,Q!==null&&z!==null&&z.memoizedProps!==Q?(J=[FK],Q=yz(z.memoizedProps,Q,J,0),1<J.length&&(Q&&!v5&&(z.lanes&Z)===0&&100<$.actualDuration?(v5=!0,J[0]=AK,P7.color="warning",P7.tooltipText=dJ):(P7.color=Y,P7.tooltipText=G),P7.properties=J,J5.start=B,J5.end=X,W!=null?W.run(performance.measure.bind(performance,"​"+G,J5)):performance.measure("​"+G,J5))):W!=null?W.run(console.timeStamp.bind(console,G,B,X,H4,void 0,Y)):console.timeStamp(G,B,X,H4,void 0,Y)}}function YX($,B,X,Y){if(A2){var Z=i($);if(Z!==null){for(var G=null,z=[],W=0;W<Y.length;W++){var J=Y[W];G==null&&J.source!==null&&(G=J.source._debugTask),J=J.value,z.push(["Error",typeof J==="object"&&J!==null&&typeof J.message==="string"?String(J.message):String(J)])}$.key!==null&&E4("key",$.key,z,0,""),$.memoizedProps!==null&&XX($.memoizedProps,z,0,""),G==null&&(G=$._debugTask),$={start:B,end:X,detail:{devtools:{color:"error",track:H4,tooltipText:$.tag===13?"Hydration failed":"Error boundary caught an error",properties:z}}},G?G.run(performance.measure.bind(performance,"​"+Z,$)):performance.measure("​"+Z,$)}}}function l4($,B,X,Y,Z){if(Z!==null){if(A2){var G=i($);if(G!==null){Y=[];for(var z=0;z<Z.length;z++){var W=Z[z].value;Y.push(["Error",typeof W==="object"&&W!==null&&typeof W.message==="string"?String(W.message):String(W)])}$.key!==null&&E4("key",$.key,Y,0,""),$.memoizedProps!==null&&XX($.memoizedProps,Y,0,""),B={start:B,end:X,detail:{devtools:{color:"error",track:H4,tooltipText:"A lifecycle or effect errored",properties:Y}}},($=$._debugTask)?$.run(performance.measure.bind(performance,"​"+G,B)):performance.measure("​"+G,B)}}}else G=i($),G!==null&&A2&&(Z=1>Y?"secondary-light":100>Y?"secondary":500>Y?"secondary-dark":"error",($=$._debugTask)?$.run(console.timeStamp.bind(console,G,B,X,H4,void 0,Z)):console.timeStamp(G,B,X,H4,void 0,Z))}function pL($,B,X,Y){if(A2&&!(B<=$)){var Z=(X&738197653)===X?"tertiary-dark":"primary-dark";X=(X&536870912)===X?"Prepared":(X&201326741)===X?"Hydrated":"Render",Y?Y.run(console.timeStamp.bind(console,X,$,B,s0,o0,Z)):console.timeStamp(X,$,B,s0,o0,Z)}}function Sz($,B,X,Y){!A2||B<=$||(X=(X&738197653)===X?"tertiary-dark":"primary-dark",Y?Y.run(console.timeStamp.bind(console,"Prewarm",$,B,s0,o0,X)):console.timeStamp("Prewarm",$,B,s0,o0,X))}function uz($,B,X,Y){!A2||B<=$||(X=(X&738197653)===X?"tertiary-dark":"primary-dark",Y?Y.run(console.timeStamp.bind(console,"Suspended",$,B,s0,o0,X)):console.timeStamp("Suspended",$,B,s0,o0,X))}function cL($,B,X,Y,Z,G){if(A2&&!(B<=$)){X=[];for(var z=0;z<Y.length;z++){var W=Y[z].value;X.push(["Recoverable Error",typeof W==="object"&&W!==null&&typeof W.message==="string"?String(W.message):String(W)])}$={start:$,end:B,detail:{devtools:{color:"primary-dark",track:s0,trackGroup:o0,tooltipText:Z?"Hydration Failed":"Recovered after Error",properties:X}}},G?G.run(performance.measure.bind(performance,"Recovered",$)):performance.measure("Recovered",$)}}function ZX($,B,X,Y){!A2||B<=$||(Y?Y.run(console.timeStamp.bind(console,"Errored",$,B,s0,o0,"error")):console.timeStamp("Errored",$,B,s0,o0,"error"))}function oL($,B,X,Y){!A2||B<=$||(Y?Y.run(console.timeStamp.bind(console,X,$,B,s0,o0,"secondary-light")):console.timeStamp(X,$,B,s0,o0,"secondary-light"))}function xz($,B,X,Y,Z){if(A2&&!(B<=$)){for(var G=[],z=0;z<X.length;z++){var W=X[z].value;G.push(["Error",typeof W==="object"&&W!==null&&typeof W.message==="string"?String(W.message):String(W)])}$={start:$,end:B,detail:{devtools:{color:"error",track:s0,trackGroup:o0,tooltipText:Y?"Remaining Effects Errored":"Commit Errored",properties:G}}},Z?Z.run(performance.measure.bind(performance,"Errored",$)):performance.measure("Errored",$)}}function l6($,B,X){!A2||B<=$||(X?X.run(console.timeStamp.bind(console,"Animating",$,B,s0,o0,"secondary-dark")):console.timeStamp("Animating",$,B,s0,o0,"secondary-dark"))}function m9(){for(var $=G6,B=mZ=G6=0;B<$;){var X=Q4[B];Q4[B++]=null;var Y=Q4[B];Q4[B++]=null;var Z=Q4[B];Q4[B++]=null;var G=Q4[B];if(Q4[B++]=null,Y!==null&&Z!==null){var z=Y.pending;z===null?Z.next=Z:(Z.next=z.next,z.next=Z),Y.pending=Z}G!==0&&hz(X,Z,G)}}function T9($,B,X,Y){Q4[G6++]=$,Q4[G6++]=B,Q4[G6++]=X,Q4[G6++]=Y,mZ|=Y,$.lanes|=Y,$=$.alternate,$!==null&&($.lanes|=Y)}function GX($,B,X,Y){return T9($,B,X,Y),f9($)}function K1($,B){return T9($,null,null,B),f9($)}function hz($,B,X){$.lanes|=X;var Y=$.alternate;Y!==null&&(Y.lanes|=X);for(var Z=!1,G=$.return;G!==null;)G.childLanes|=X,Y=G.alternate,Y!==null&&(Y.childLanes|=X),G.tag===22&&($=G.stateNode,$===null||$._visibility&C$||(Z=!0)),$=G,G=G.return;return $.tag===3?(G=$.stateNode,Z&&B!==null&&(Z=31-M1(X),$=G.hiddenUpdates,Y=$[Z],Y===null?$[Z]=[B]:Y.push(B),B.lane=X|536870912),G):null}function f9($){if(B9>VK)throw g3=B9=0,X9=NG=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.");g3>EK&&(g3=0,X9=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.")),$.alternate===null&&($.flags&4098)!==0&&tN($);for(var B=$,X=B.return;X!==null;)B.alternate===null&&(B.flags&4098)!==0&&tN($),B=X,X=B.return;return B.tag===3?B.stateNode:null}function D5($){if(L4===null)return $;var B=L4($);return B===void 0?$:B.current}function zX($){if(L4===null)return $;var B=L4($);return B===void 0?$!==null&&$!==void 0&&typeof $.render==="function"&&(B=D5($.render),$.render!==B)?(B={$$typeof:K$,render:B},$.displayName!==void 0&&(B.displayName=$.displayName),B):$:B.current}function kz($,B){if(L4===null)return!1;var X=$.elementType;B=B.type;var Y=!1,Z=typeof B==="object"&&B!==null?B.$$typeof:null;switch($.tag){case 1:typeof B==="function"&&(Y=!0);break;case 0:typeof B==="function"?Y=!0:Z===n1&&(Y=!0);break;case 11:Z===K$?Y=!0:Z===n1&&(Y=!0);break;case 14:case 15:Z===C8?Y=!0:Z===n1&&(Y=!0);break;default:return!1}return Y&&($=L4(X),$!==void 0&&$===L4(B))?!0:!1}function jz($){L4!==null&&typeof WeakSet==="function"&&(z6===null&&(z6=new WeakSet),z6.add($))}function Vz($,B,X){do{var Y=$,Z=Y.alternate,G=Y.child,z=Y.sibling,W=Y.tag;Y=Y.type;var J=null;switch(W){case 0:case 15:case 1:J=Y;break;case 11:J=Y.render}if(L4===null)throw Error("Expected resolveFamily to be set during hot reload.");var Q=!1;if(Y=!1,J!==null&&(J=L4(J),J!==void 0&&(X.has(J)?Y=!0:B.has(J)&&(W===1?Y=!0:Q=!0))),z6!==null&&(z6.has($)||Z!==null&&z6.has(Z))&&(Y=!0),Y&&($._debugNeedsRemount=!0),Y||Q)Z=K1($,2),Z!==null&&k2(Z,$,2);if(G===null||Y||Vz(G,B,X),z===null)break;$=z}while(1)}function aL($,B,X,Y){this.tag=$,this.key=X,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=B,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=Y,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,pJ||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function WX($){return $=$.prototype,!(!$||!$.isReactComponent)}function U7($,B){var X=$.alternate;switch(X===null?(X=T($.tag,B,$.key,$.mode),X.elementType=$.elementType,X.type=$.type,X.stateNode=$.stateNode,X._debugOwner=$._debugOwner,X._debugStack=$._debugStack,X._debugTask=$._debugTask,X._debugHookTypes=$._debugHookTypes,X.alternate=$,$.alternate=X):(X.pendingProps=B,X.type=$.type,X.flags=0,X.subtreeFlags=0,X.deletions=null,X.actualDuration=-0,X.actualStartTime=-1.1),X.flags=$.flags&65011712,X.childLanes=$.childLanes,X.lanes=$.lanes,X.child=$.child,X.memoizedProps=$.memoizedProps,X.memoizedState=$.memoizedState,X.updateQueue=$.updateQueue,B=$.dependencies,X.dependencies=B===null?null:{lanes:B.lanes,firstContext:B.firstContext,_debugThenableState:B._debugThenableState},X.sibling=$.sibling,X.index=$.index,X.ref=$.ref,X.refCleanup=$.refCleanup,X.selfBaseDuration=$.selfBaseDuration,X.treeBaseDuration=$.treeBaseDuration,X._debugInfo=$._debugInfo,X._debugNeedsRemount=$._debugNeedsRemount,X.tag){case 0:case 15:X.type=D5($.type);break;case 1:X.type=D5($.type);break;case 11:X.type=zX($.type)}return X}function Ez($,B){$.flags&=65011714;var X=$.alternate;return X===null?($.childLanes=0,$.lanes=B,$.child=null,$.subtreeFlags=0,$.memoizedProps=null,$.memoizedState=null,$.updateQueue=null,$.dependencies=null,$.stateNode=null,$.selfBaseDuration=0,$.treeBaseDuration=0):($.childLanes=X.childLanes,$.lanes=X.lanes,$.child=X.child,$.subtreeFlags=0,$.deletions=null,$.memoizedProps=X.memoizedProps,$.memoizedState=X.memoizedState,$.updateQueue=X.updateQueue,$.type=X.type,B=X.dependencies,$.dependencies=B===null?null:{lanes:B.lanes,firstContext:B.firstContext,_debugThenableState:B._debugThenableState},$.selfBaseDuration=X.selfBaseDuration,$.treeBaseDuration=X.treeBaseDuration),$}function NX($,B,X,Y,Z,G){var z=0,W=$;if(typeof $==="function")WX($)&&(z=1),W=D5(W);else if(typeof $==="string")z=e(),z=Xg($,X,z)?26:$==="html"||$==="head"||$==="body"?27:5;else $:switch($){case $Z:return B=T(31,X,B,Z),B.elementType=$Z,B.lanes=G,B;case s3:return l5(X.children,Z,G,B);case b8:z=8,Z|=O1,Z|=T4;break;case rY:return $=X,Y=Z,typeof $.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof $.id),B=T(12,$,B,Y|k0),B.elementType=rY,B.lanes=G,B.stateNode={effectDuration:0,passiveEffectDuration:0},B;case tY:return B=T(13,X,B,Z),B.elementType=tY,B.lanes=G,B;case eY:return B=T(19,X,B,Z),B.elementType=eY,B.lanes=G,B;default:if(typeof $==="object"&&$!==null)switch($.$$typeof){case Y7:z=10;break $;case nY:z=9;break $;case K$:z=11,W=zX(W);break $;case C8:z=14;break $;case n1:z=16,W=null;break $}if(W="",$===void 0||typeof $==="object"&&$!==null&&Object.keys($).length===0)W+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";$===null?X="null":t2($)?X="array":$!==void 0&&$.$$typeof===X7?(X="<"+(p($.type)||"Unknown")+" />",W=" Did you accidentally export a JSX literal instead of a component?"):X=typeof $,(z=Y?D0(Y):null)&&(W+=`
72
+
73
+ Check the render method of \``+z+"`."),z=29,X=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(X+"."+W)),W=null}return B=T(z,X,B,Z),B.elementType=$,B.type=W,B.lanes=G,B._debugOwner=Y,B}function y9($,B,X){return B=NX($.type,$.key,$.props,$._owner,B,X),B._debugOwner=$._owner,B._debugStack=$._debugStack,B._debugTask=$._debugTask,B}function l5($,B,X,Y){return $=T(7,$,Y,B),$.lanes=X,$}function vX($,B,X){return $=T(6,$,null,B),$.lanes=X,$}function Dz($){var B=T(18,null,null,A0);return B.stateNode=$,B}function JX($,B,X){return B=T(4,$.children!==null?$.children:[],$.key,B),B.lanes=X,B.stateNode={containerInfo:$.containerInfo,pendingChildren:null,implementation:$.implementation},B}function c1($,B){if(typeof $==="object"&&$!==null){var X=TZ.get($);if(X!==void 0)return X;return B={value:$,source:B,stack:S2(B)},TZ.set($,B),B}return{value:$,source:B,stack:S2(B)}}function O7($,B){o7(),W6[N6++]=m$,W6[N6++]=d8,d8=$,m$=B}function lz($,B,X){o7(),q4[g4++]=b7,q4[g4++]=C7,q4[g4++]=B3,B3=$;var Y=b7;$=C7;var Z=32-M1(Y)-1;Y&=~(1<<Z),X+=1;var G=32-M1(B)+Z;if(30<G){var z=Z-Z%5;G=(Y&(1<<z)-1).toString(32),Y>>=z,Z-=z,b7=1<<32-M1(B)+Z|X<<Z|Y,C7=G+$}else b7=1<<G|X<<Z|Y,C7=$}function HX($){o7(),$.return!==null&&(O7($,1),lz($,1,0))}function QX($){for(;$===d8;)d8=W6[--N6],W6[N6]=null,m$=W6[--N6],W6[N6]=null;for(;$===B3;)B3=q4[--g4],q4[g4]=null,C7=q4[--g4],q4[g4]=null,b7=q4[--g4],q4[g4]=null}function dz(){return o7(),B3!==null?{id:b7,overflow:C7}:null}function pz($,B){o7(),q4[g4++]=b7,q4[g4++]=C7,q4[g4++]=B3,b7=B.id,C7=B.overflow,B3=$}function o7(){i0||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function d5($,B){if($.return===null){if($4===null)$4={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:B};else{if($4.fiber!==$)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");$4.distanceFromLeaf>B&&($4.distanceFromLeaf=B)}return $4}var X=d5($.return,B+1).children;if(0<X.length&&X[X.length-1].fiber===$)return X=X[X.length-1],X.distanceFromLeaf>B&&(X.distanceFromLeaf=B),X;return B={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:B},X.push(B),B}function cz(){i0&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function S9($,B){v7||($=d5($,0),$.serverProps=null,B!==null&&(B=Fv(B),$.serverTail.push(B)))}function a7($){var B=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,X="",Y=$4;throw Y!==null&&($4=null,X=nB(Y)),d6(c1(Error("Hydration failed because the server rendered "+(B?"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:
74
+
75
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
76
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
77
+ - Date formatting in a user's locale which doesn't match the server.
78
+ - External changing data without sending a snapshot of it along with the HTML.
79
+ - Invalid HTML tag nesting.
80
+
81
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
82
+
83
+ https://react.dev/link/hydration-mismatch`+X),$)),fZ}function oz($){var{stateNode:B,type:X,memoizedProps:Y}=$;switch(B[Q1]=$,B[F1]=Y,yY(X,Y),X){case"dialog":n0("cancel",B),n0("close",B);break;case"iframe":case"object":case"embed":n0("load",B);break;case"video":case"audio":for(X=0;X<Y9.length;X++)n0(Y9[X],B);break;case"source":n0("error",B);break;case"img":case"image":case"link":n0("error",B),n0("load",B);break;case"details":n0("toggle",B);break;case"input":A4("input",Y),n0("invalid",B),tG(B,Y),eG(B,Y.value,Y.defaultValue,Y.checked,Y.defaultChecked,Y.type,Y.name,!0);break;case"option":$z(B,Y);break;case"select":A4("select",Y),n0("invalid",B),Xz(B,Y);break;case"textarea":A4("textarea",Y),n0("invalid",B),Yz(B,Y),Gz(B,Y.value,Y.defaultValue,Y.children)}X=Y.children,typeof X!=="string"&&typeof X!=="number"&&typeof X!=="bigint"||B.textContent===""+X||Y.suppressHydrationWarning===!0||vv(B.textContent,X)?(Y.popover!=null&&(n0("beforetoggle",B),n0("toggle",B)),Y.onScroll!=null&&n0("scroll",B),Y.onScrollEnd!=null&&n0("scrollend",B),Y.onClick!=null&&(B.onclick=K7),B=!0):B=!1,B||a7($,!0)}function az($){for(L1=$.return;L1;)switch(L1.tag){case 5:case 31:case 13:K4=!1;return;case 27:case 3:K4=!0;return;default:L1=L1.return}}function y3($){if($!==L1)return!1;if(!i0)return az($),i0=!0,!1;var B=$.tag,X;if(X=B!==3&&B!==27){if(X=B===5)X=$.type,X=!(X!=="form"&&X!=="button")||kY($.type,$.memoizedProps);X=!X}if(X&&P2){for(X=P2;X;){var Y=d5($,0),Z=Fv(X);Y.serverTail.push(Z),X=Z.type==="Suspense"?DY(X):r1(X.nextSibling)}a7($)}if(az($),B===13){if($=$.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");P2=DY($)}else if(B===31){if($=$.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");P2=DY($)}else B===27?(B=P2,Y5($.type)?($=RG,RG=null,P2=$):P2=B):P2=L1?r1($.stateNode.nextSibling):null;return!0}function p5(){P2=L1=null,v7=i0=!1}function LX(){var $=Q5;return $!==null&&(m1===null?m1=$:m1.push.apply(m1,$),Q5=null),$}function d6($){Q5===null?Q5=[$]:Q5.push($)}function qX(){var $=$4;if($!==null){$4=null;for(var B=nB($);0<$.children.length;)$=$.children[0];s($.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:
84
+
85
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
86
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
87
+ - Date formatting in a user's locale which doesn't match the server.
88
+ - External changing data without sending a snapshot of it along with the HTML.
89
+ - Invalid HTML tag nesting.
90
+
91
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
92
+
93
+ %s%s`,"https://react.dev/link/hydration-mismatch",B)})}}function u9(){v6=p8=null,J6=!1}function s7($,B,X){M0(yZ,B._currentValue,$),B._currentValue=X,M0(SZ,B._currentRenderer,$),B._currentRenderer!==void 0&&B._currentRenderer!==null&&B._currentRenderer!==oJ&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),B._currentRenderer=oJ}function w7($,B){$._currentValue=yZ.current;var X=SZ.current;S0(SZ,B),$._currentRenderer=X,S0(yZ,B)}function gX($,B,X){for(;$!==null;){var Y=$.alternate;if(($.childLanes&B)!==B?($.childLanes|=B,Y!==null&&(Y.childLanes|=B)):Y!==null&&(Y.childLanes&B)!==B&&(Y.childLanes|=B),$===X)break;$=$.return}$!==X&&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 KX($,B,X,Y){var Z=$.child;Z!==null&&(Z.return=$);for(;Z!==null;){var G=Z.dependencies;if(G!==null){var z=Z.child;G=G.firstContext;$:for(;G!==null;){var W=G;G=Z;for(var J=0;J<B.length;J++)if(W.context===B[J]){G.lanes|=X,W=G.alternate,W!==null&&(W.lanes|=X),gX(G.return,X,$),Y||(z=null);break $}G=W.next}}else if(Z.tag===18){if(z=Z.return,z===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");z.lanes|=X,G=z.alternate,G!==null&&(G.lanes|=X),gX(z,X,$),z=null}else z=Z.child;if(z!==null)z.return=Z;else for(z=Z;z!==null;){if(z===$){z=null;break}if(Z=z.sibling,Z!==null){Z.return=z.return,z=Z;break}z=z.return}Z=z}}function S3($,B,X,Y){$=null;for(var Z=B,G=!1;Z!==null;){if(!G){if((Z.flags&524288)!==0)G=!0;else if((Z.flags&262144)!==0)break}if(Z.tag===10){var z=Z.alternate;if(z===null)throw Error("Should have a current fiber. This is a bug in React.");if(z=z.memoizedProps,z!==null){var W=Z.type;P1(Z.pendingProps.value,z.value)||($!==null?$.push(W):$=[W])}}else if(Z===m8.current){if(z=Z.alternate,z===null)throw Error("Should have a current fiber. This is a bug in React.");z.memoizedState.memoizedState!==Z.memoizedState.memoizedState&&($!==null?$.push(N9):$=[N9])}Z=Z.return}$!==null&&KX(B,$,X,Y),B.flags|=262144}function x9($){for($=$.firstContext;$!==null;){if(!P1($.context._currentValue,$.memoizedValue))return!0;$=$.next}return!1}function c5($){p8=$,v6=null,$=$.dependencies,$!==null&&($.firstContext=null)}function m2($){return J6&&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()."),sz(p8,$)}function h9($,B){return p8===null&&c5($),sz($,B)}function sz($,B){var X=B._currentValue;if(B={context:B,memoizedValue:X,next:null},v6===null){if($===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().");v6=B,$.dependencies={lanes:0,firstContext:B,_debugThenableState:null},$.flags|=524288}else v6=v6.next=B;return X}function UX(){return{controller:new bK,data:new Map,refCount:0}}function o5($){$.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),$.refCount++}function p6($){$.refCount--,0>$.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),$.refCount===0&&CK(mK,function(){$.controller.abort()})}function d4($,B,X){if(($&127)!==0)0>J7&&(J7=c2(),f$=c8(B),uZ=B,X!=null&&(xZ=i(X)),(Z2&($1|Y4))!==N1&&(j2=!0,g5=T$),$=H$(),B=J$(),$!==H6||B!==y$?H6=-1.1:B!==null&&(g5=T$),Y3=$,y$=B);else if(($&4194048)!==0&&0>U4&&(U4=c2(),S$=c8(B),aJ=B,X!=null&&(sJ=i(X)),0>f7)){if($=H$(),B=J$(),$!==U5||B!==Z3)U5=-1.1;K5=$,Z3=B}}function sL($){if(0>J7){J7=c2(),f$=$._debugTask!=null?$._debugTask:null,(Z2&($1|Y4))!==N1&&(g5=T$);var B=H$(),X=J$();B!==H6||X!==y$?H6=-1.1:X!==null&&(g5=T$),Y3=B,y$=X}if(0>U4&&(U4=c2(),S$=$._debugTask!=null?$._debugTask:null,0>f7)){if($=H$(),B=J$(),$!==U5||B!==Z3)U5=-1.1;K5=$,Z3=B}}function R7(){var $=X3;return X3=0,$}function k9($){var B=X3;return X3=$,B}function c6($){var B=X3;return X3+=$,B}function j9(){O0=g0=-1.1}function o1(){var $=g0;return g0=-1.1,$}function a1($){0<=$&&(g0=$)}function p4(){var $=u2;return u2=-0,$}function c4($){0<=$&&(u2=$)}function o4(){var $=T2;return T2=null,$}function a4(){var $=j2;return j2=!1,$}function OX($){I1=c2(),0>$.actualStartTime&&($.actualStartTime=I1)}function wX($){if(0<=I1){var B=c2()-I1;$.actualDuration+=B,$.selfBaseDuration=B,I1=-1}}function iz($){if(0<=I1){var B=c2()-I1;$.actualDuration+=B,I1=-1}}function s4(){if(0<=I1){var $=c2(),B=$-I1;I1=-1,X3+=B,u2+=B,O0=$}}function rz($){T2===null&&(T2=[]),T2.push($),T7===null&&(T7=[]),T7.push($)}function i4(){I1=c2(),0>g0&&(g0=I1)}function o6($){for(var B=$.child;B;)$.actualDuration+=B.actualDuration,B=B.sibling}function iL($,B){if(x$===null){var X=x$=[];kZ=0,G3=CY(),Q6={status:"pending",value:void 0,then:function(Y){X.push(Y)}}}return kZ++,B.then(nz,nz),B}function nz(){if(--kZ===0&&(-1<U4||(f7=-1.1),x$!==null)){Q6!==null&&(Q6.status="fulfilled");var $=x$;x$=null,G3=0,Q6=null;for(var B=0;B<$.length;B++)(0,$[B])()}}function rL($,B){var X=[],Y={status:"pending",value:null,reason:null,then:function(Z){X.push(Z)}};return $.then(function(){Y.status="fulfilled",Y.value=B;for(var Z=0;Z<X.length;Z++)(0,X[Z])(B)},function(Z){Y.status="rejected",Y.reason=Z;for(Z=0;Z<X.length;Z++)(0,X[Z])(void 0)}),Y}function RX(){var $=z3.current;return $!==null?$:O2.pooledCache}function V9($,B){B===null?M0(z3,z3.current,$):M0(z3,B.pool,$)}function tz(){var $=RX();return $===null?null:{parent:p2._currentValue,pool:$}}function ez(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function $W($){return $=$.status,$==="fulfilled"||$==="rejected"}function BW($,B,X){x.actQueue!==null&&(x.didUsePromise=!0);var Y=$.thenables;if(X=Y[X],X===void 0?Y.push(B):X!==B&&($.didWarnAboutUncachedPromise||($.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.")),B.then(K7,K7),B=X),B._debugInfo===void 0){$=performance.now(),Y=B.displayName;var Z={name:typeof Y==="string"?Y:"Promise",start:$,end:$,value:B};B._debugInfo=[{awaited:Z}],B.status!=="fulfilled"&&B.status!=="rejected"&&($=function(){Z.end=performance.now()},B.then($,$))}switch(B.status){case"fulfilled":return B.value;case"rejected":throw $=B.reason,YW($),$;default:if(typeof B.status==="string")B.then(K7,K7);else{if($=O2,$!==null&&100<$.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.");$=B,$.status="pending",$.then(function(G){if(B.status==="pending"){var z=B;z.status="fulfilled",z.value=G}},function(G){if(B.status==="pending"){var z=B;z.status="rejected",z.reason=G}})}switch(B.status){case"fulfilled":return B.value;case"rejected":throw $=B.reason,YW($),$}throw N3=B,l$=!0,L6}}function i7($){try{return SK($)}catch(B){if(B!==null&&typeof B==="object"&&typeof B.then==="function")throw N3=B,l$=!0,L6;throw B}}function XW(){if(N3===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var $=N3;return N3=null,l$=!1,$}function YW($){if($===L6||$===e8)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 v1($){var B=j0;return $!=null&&(j0=B===null?$:B.concat($)),B}function _X(){var $=j0;if($!=null){for(var B=$.length-1;0<=B;B--)if($[B].name!=null){var X=$[B].debugTask;if(X!=null)return X}}return null}function E9($,B,X){for(var Y=Object.keys($.props),Z=0;Z<Y.length;Z++){var G=Y[Z];if(G!=="children"&&G!=="key"){B===null&&(B=y9($,X.mode,0),B._debugInfo=j0,B.return=X),s(B,function(z){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",z)},G);break}}}function D9($){var B=d$;return d$+=1,q6===null&&(q6=ez()),BW(q6,$,B)}function a6($,B){B=B.props.ref,$.ref=B!==void 0?B:null}function ZW($,B){if(B.$$typeof===Qg)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
94
+ - Multiple copies of the "react" package is used.
95
+ - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
96
+ - A compiler tries to "inline" JSX instead of using the runtime.`);throw $=Object.prototype.toString.call(B),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(B).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}function l9($,B){var X=_X();X!==null?X.run(ZW.bind(null,$,B)):ZW($,B)}function GW($,B){var X=i($)||"Component";qH[X]||(qH[X]=!0,B=B.displayName||B.name||"Component",$.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.
97
+ root.render(%s)`,B,B,B):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.
98
+ <%s>{%s}</%s>`,B,B,X,B,X))}function d9($,B){var X=_X();X!==null?X.run(GW.bind(null,$,B)):GW($,B)}function zW($,B){var X=i($)||"Component";gH[X]||(gH[X]=!0,B=String(B),$.tag===3?console.error(`Symbols are not valid as a React child.
99
+ root.render(%s)`,B):console.error(`Symbols are not valid as a React child.
100
+ <%s>%s</%s>`,X,B,X))}function p9($,B){var X=_X();X!==null?X.run(zW.bind(null,$,B)):zW($,B)}function WW($){function B(U,w){if($){var M=U.deletions;M===null?(U.deletions=[w],U.flags|=16):M.push(w)}}function X(U,w){if(!$)return null;for(;w!==null;)B(U,w),w=w.sibling;return null}function Y(U){for(var w=new Map;U!==null;)U.key!==null?w.set(U.key,U):w.set(U.index,U),U=U.sibling;return w}function Z(U,w){return U=U7(U,w),U.index=0,U.sibling=null,U}function G(U,w,M){if(U.index=M,!$)return U.flags|=1048576,w;if(M=U.alternate,M!==null)return M=M.index,M<w?(U.flags|=67108866,w):M;return U.flags|=67108866,w}function z(U){return $&&U.alternate===null&&(U.flags|=67108866),U}function W(U,w,M,h){if(w===null||w.tag!==6)return w=vX(M,U.mode,h),w.return=U,w._debugOwner=U,w._debugTask=U._debugTask,w._debugInfo=j0,w;return w=Z(w,M),w.return=U,w._debugInfo=j0,w}function J(U,w,M,h){var $0=M.type;if($0===s3)return w=A(U,w,M.props.children,h,M.key),E9(M,w,U),w;if(w!==null&&(w.elementType===$0||kz(w,M)||typeof $0==="object"&&$0!==null&&$0.$$typeof===n1&&i7($0)===w.type))return w=Z(w,M.props),a6(w,M),w.return=U,w._debugOwner=M._owner,w._debugInfo=j0,w;return w=y9(M,U.mode,h),a6(w,M),w.return=U,w._debugInfo=j0,w}function Q(U,w,M,h){if(w===null||w.tag!==4||w.stateNode.containerInfo!==M.containerInfo||w.stateNode.implementation!==M.implementation)return w=JX(M,U.mode,h),w.return=U,w._debugInfo=j0,w;return w=Z(w,M.children||[]),w.return=U,w._debugInfo=j0,w}function A(U,w,M,h,$0){if(w===null||w.tag!==7)return w=l5(M,U.mode,h,$0),w.return=U,w._debugOwner=U,w._debugTask=U._debugTask,w._debugInfo=j0,w;return w=Z(w,M),w.return=U,w._debugInfo=j0,w}function P(U,w,M){if(typeof w==="string"&&w!==""||typeof w==="number"||typeof w==="bigint")return w=vX(""+w,U.mode,M),w.return=U,w._debugOwner=U,w._debugTask=U._debugTask,w._debugInfo=j0,w;if(typeof w==="object"&&w!==null){switch(w.$$typeof){case X7:return M=y9(w,U.mode,M),a6(M,w),M.return=U,U=v1(w._debugInfo),M._debugInfo=j0,j0=U,M;case a3:return w=JX(w,U.mode,M),w.return=U,w._debugInfo=j0,w;case n1:var h=v1(w._debugInfo);return w=i7(w),U=P(U,w,M),j0=h,U}if(t2(w)||e0(w))return M=l5(w,U.mode,M,null),M.return=U,M._debugOwner=U,M._debugTask=U._debugTask,U=v1(w._debugInfo),M._debugInfo=j0,j0=U,M;if(typeof w.then==="function")return h=v1(w._debugInfo),U=P(U,D9(w),M),j0=h,U;if(w.$$typeof===Y7)return P(U,h9(U,w),M);l9(U,w)}return typeof w==="function"&&d9(U,w),typeof w==="symbol"&&p9(U,w),null}function O(U,w,M,h){var $0=w!==null?w.key:null;if(typeof M==="string"&&M!==""||typeof M==="number"||typeof M==="bigint")return $0!==null?null:W(U,w,""+M,h);if(typeof M==="object"&&M!==null){switch(M.$$typeof){case X7:return M.key===$0?($0=v1(M._debugInfo),U=J(U,w,M,h),j0=$0,U):null;case a3:return M.key===$0?Q(U,w,M,h):null;case n1:return $0=v1(M._debugInfo),M=i7(M),U=O(U,w,M,h),j0=$0,U}if(t2(M)||e0(M)){if($0!==null)return null;return $0=v1(M._debugInfo),U=A(U,w,M,h,null),j0=$0,U}if(typeof M.then==="function")return $0=v1(M._debugInfo),U=O(U,w,D9(M),h),j0=$0,U;if(M.$$typeof===Y7)return O(U,w,h9(U,M),h);l9(U,M)}return typeof M==="function"&&d9(U,M),typeof M==="symbol"&&p9(U,M),null}function f(U,w,M,h,$0){if(typeof h==="string"&&h!==""||typeof h==="number"||typeof h==="bigint")return U=U.get(M)||null,W(w,U,""+h,$0);if(typeof h==="object"&&h!==null){switch(h.$$typeof){case X7:return M=U.get(h.key===null?M:h.key)||null,U=v1(h._debugInfo),w=J(w,M,h,$0),j0=U,w;case a3:return U=U.get(h.key===null?M:h.key)||null,Q(w,U,h,$0);case n1:var y0=v1(h._debugInfo);return h=i7(h),w=f(U,w,M,h,$0),j0=y0,w}if(t2(h)||e0(h))return M=U.get(M)||null,U=v1(h._debugInfo),w=A(w,M,h,$0,null),j0=U,w;if(typeof h.then==="function")return y0=v1(h._debugInfo),w=f(U,w,M,D9(h),$0),j0=y0,w;if(h.$$typeof===Y7)return f(U,w,M,h9(w,h),$0);l9(w,h)}return typeof h==="function"&&d9(w,h),typeof h==="symbol"&&p9(w,h),null}function r(U,w,M,h){if(typeof M!=="object"||M===null)return h;switch(M.$$typeof){case X7:case a3:I(U,w,M);var $0=M.key;if(typeof $0!=="string")break;if(h===null){h=new Set,h.add($0);break}if(!h.has($0)){h.add($0);break}s(w,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.",$0)});break;case n1:M=i7(M),r(U,w,M,h)}return h}function X0(U,w,M,h){for(var $0=null,y0=null,q0=null,J0=w,h0=w=0,I2=null;J0!==null&&h0<M.length;h0++){J0.index>h0?(I2=J0,J0=null):I2=J0.sibling;var d2=O(U,J0,M[h0],h);if(d2===null){J0===null&&(J0=I2);break}$0=r(U,d2,M[h0],$0),$&&J0&&d2.alternate===null&&B(U,J0),w=G(d2,w,h0),q0===null?y0=d2:q0.sibling=d2,q0=d2,J0=I2}if(h0===M.length)return X(U,J0),i0&&O7(U,h0),y0;if(J0===null){for(;h0<M.length;h0++)J0=P(U,M[h0],h),J0!==null&&($0=r(U,J0,M[h0],$0),w=G(J0,w,h0),q0===null?y0=J0:q0.sibling=J0,q0=J0);return i0&&O7(U,h0),y0}for(J0=Y(J0);h0<M.length;h0++)I2=f(J0,U,h0,M[h0],h),I2!==null&&($0=r(U,I2,M[h0],$0),$&&I2.alternate!==null&&J0.delete(I2.key===null?h0:I2.key),w=G(I2,w,h0),q0===null?y0=I2:q0.sibling=I2,q0=I2);return $&&J0.forEach(function(E7){return B(U,E7)}),i0&&O7(U,h0),y0}function _2(U,w,M,h){if(M==null)throw Error("An iterable object provided no iterator.");for(var $0=null,y0=null,q0=w,J0=w=0,h0=null,I2=null,d2=M.next();q0!==null&&!d2.done;J0++,d2=M.next()){q0.index>J0?(h0=q0,q0=null):h0=q0.sibling;var E7=O(U,q0,d2.value,h);if(E7===null){q0===null&&(q0=h0);break}I2=r(U,E7,d2.value,I2),$&&q0&&E7.alternate===null&&B(U,q0),w=G(E7,w,J0),y0===null?$0=E7:y0.sibling=E7,y0=E7,q0=h0}if(d2.done)return X(U,q0),i0&&O7(U,J0),$0;if(q0===null){for(;!d2.done;J0++,d2=M.next())q0=P(U,d2.value,h),q0!==null&&(I2=r(U,q0,d2.value,I2),w=G(q0,w,J0),y0===null?$0=q0:y0.sibling=q0,y0=q0);return i0&&O7(U,J0),$0}for(q0=Y(q0);!d2.done;J0++,d2=M.next())h0=f(q0,U,J0,d2.value,h),h0!==null&&(I2=r(U,h0,d2.value,I2),$&&h0.alternate!==null&&q0.delete(h0.key===null?J0:h0.key),w=G(h0,w,J0),y0===null?$0=h0:y0.sibling=h0,y0=h0);return $&&q0.forEach(function(YU){return B(U,YU)}),i0&&O7(U,J0),$0}function t0(U,w,M,h){if(typeof M==="object"&&M!==null&&M.type===s3&&M.key===null&&(E9(M,null,U),M=M.props.children),typeof M==="object"&&M!==null){switch(M.$$typeof){case X7:var $0=v1(M._debugInfo);$:{for(var y0=M.key;w!==null;){if(w.key===y0){if(y0=M.type,y0===s3){if(w.tag===7){X(U,w.sibling),h=Z(w,M.props.children),h.return=U,h._debugOwner=M._owner,h._debugInfo=j0,E9(M,h,U),U=h;break $}}else if(w.elementType===y0||kz(w,M)||typeof y0==="object"&&y0!==null&&y0.$$typeof===n1&&i7(y0)===w.type){X(U,w.sibling),h=Z(w,M.props),a6(h,M),h.return=U,h._debugOwner=M._owner,h._debugInfo=j0,U=h;break $}X(U,w);break}else B(U,w);w=w.sibling}M.type===s3?(h=l5(M.props.children,U.mode,h,M.key),h.return=U,h._debugOwner=U,h._debugTask=U._debugTask,h._debugInfo=j0,E9(M,h,U),U=h):(h=y9(M,U.mode,h),a6(h,M),h.return=U,h._debugInfo=j0,U=h)}return U=z(U),j0=$0,U;case a3:$:{$0=M;for(M=$0.key;w!==null;){if(w.key===M)if(w.tag===4&&w.stateNode.containerInfo===$0.containerInfo&&w.stateNode.implementation===$0.implementation){X(U,w.sibling),h=Z(w,$0.children||[]),h.return=U,U=h;break $}else{X(U,w);break}else B(U,w);w=w.sibling}h=JX($0,U.mode,h),h.return=U,U=h}return z(U);case n1:return $0=v1(M._debugInfo),M=i7(M),U=t0(U,w,M,h),j0=$0,U}if(t2(M))return $0=v1(M._debugInfo),U=X0(U,w,M,h),j0=$0,U;if(e0(M)){if($0=v1(M._debugInfo),y0=e0(M),typeof y0!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var q0=y0.call(M);if(q0===M){if(U.tag!==0||Object.prototype.toString.call(U.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(q0)!=="[object Generator]")QH||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."),QH=!0}else M.entries!==y0||DZ||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),DZ=!0);return U=_2(U,w,q0,h),j0=$0,U}if(typeof M.then==="function")return $0=v1(M._debugInfo),U=t0(U,w,D9(M),h),j0=$0,U;if(M.$$typeof===Y7)return t0(U,w,h9(U,M),h);l9(U,M)}if(typeof M==="string"&&M!==""||typeof M==="number"||typeof M==="bigint")return $0=""+M,w!==null&&w.tag===6?(X(U,w.sibling),h=Z(w,$0),h.return=U,U=h):(X(U,w),h=vX($0,U.mode,h),h.return=U,h._debugOwner=U,h._debugTask=U._debugTask,h._debugInfo=j0,U=h),z(U);return typeof M==="function"&&d9(U,M),typeof M==="symbol"&&p9(U,M),X(U,w)}return function(U,w,M,h){var $0=j0;j0=null;try{d$=0;var y0=t0(U,w,M,h);return q6=null,y0}catch(I2){if(I2===L6||I2===e8)throw I2;var q0=T(29,I2,null,U.mode);q0.lanes=h,q0.return=U;var J0=q0._debugInfo=j0;if(q0._debugOwner=U._debugOwner,q0._debugTask=U._debugTask,J0!=null){for(var h0=J0.length-1;0<=h0;h0--)if(typeof J0[h0].stack==="string"){q0._debugOwner=J0[h0],q0._debugTask=J0[h0].debugTask;break}}return q0}finally{j0=$0}}}function NW($,B){var X=t2($);return $=!X&&typeof e0($)==="function",X||$?(X=X?"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>",X,B,X),!1):!0}function MX($){$.updateQueue={baseState:$.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function FX($,B){$=$.updateQueue,B.updateQueue===$&&(B.updateQueue={baseState:$.baseState,firstBaseUpdate:$.firstBaseUpdate,lastBaseUpdate:$.lastBaseUpdate,shared:$.shared,callbacks:null})}function r7($){return{lane:$,tag:UH,payload:null,callback:null,next:null}}function n7($,B,X){var Y=$.updateQueue;if(Y===null)return null;if(Y=Y.shared,dZ===Y&&!RH){var Z=i($);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.
101
+
102
+ Please update the following component: %s`,Z),RH=!0}if((Z2&$1)!==N1)return Z=Y.pending,Z===null?B.next=B:(B.next=Z.next,Z.next=B),Y.pending=B,B=f9($),hz($,null,X),B;return T9($,Y,B,X),f9($)}function s6($,B,X){if(B=B.updateQueue,B!==null&&(B=B.shared,(X&4194048)!==0)){var Y=B.lanes;Y&=$.pendingLanes,X|=Y,B.lanes=X,q7($,X)}}function c9($,B){var{updateQueue:X,alternate:Y}=$;if(Y!==null&&(Y=Y.updateQueue,X===Y)){var Z=null,G=null;if(X=X.firstBaseUpdate,X!==null){do{var z={lane:X.lane,tag:X.tag,payload:X.payload,callback:null,next:null};G===null?Z=G=z:G=G.next=z,X=X.next}while(X!==null);G===null?Z=G=B:G=G.next=B}else Z=G=B;X={baseState:Y.baseState,firstBaseUpdate:Z,lastBaseUpdate:G,shared:Y.shared,callbacks:Y.callbacks},$.updateQueue=X;return}$=X.lastBaseUpdate,$===null?X.firstBaseUpdate=B:$.next=B,X.lastBaseUpdate=B}function i6(){if(pZ){var $=Q6;if($!==null)throw $}}function r6($,B,X,Y){pZ=!1;var Z=$.updateQueue;O5=!1,dZ=Z.shared;var{firstBaseUpdate:G,lastBaseUpdate:z}=Z,W=Z.shared.pending;if(W!==null){Z.shared.pending=null;var J=W,Q=J.next;J.next=null,z===null?G=Q:z.next=Q,z=J;var A=$.alternate;A!==null&&(A=A.updateQueue,W=A.lastBaseUpdate,W!==z&&(W===null?A.firstBaseUpdate=Q:W.next=Q,A.lastBaseUpdate=J))}if(G!==null){var P=Z.baseState;z=0,A=Q=J=null,W=G;do{var O=W.lane&-536870913,f=O!==W.lane;if(f?(V0&O)===O:(Y&O)===O){O!==0&&O===G3&&(pZ=!0),A!==null&&(A=A.next={lane:0,tag:W.tag,payload:W.payload,callback:null,next:null});$:{O=$;var r=W,X0=B,_2=X;switch(r.tag){case OH:if(r=r.payload,typeof r==="function"){J6=!0;var t0=r.call(_2,P,X0);if(O.mode&O1){T0(!0);try{r.call(_2,P,X0)}finally{T0(!1)}}J6=!1,P=t0;break $}P=r;break $;case lZ:O.flags=O.flags&-65537|128;case UH:if(t0=r.payload,typeof t0==="function"){if(J6=!0,r=t0.call(_2,P,X0),O.mode&O1){T0(!0);try{t0.call(_2,P,X0)}finally{T0(!1)}}J6=!1}else r=t0;if(r===null||r===void 0)break $;P=c0({},P,r);break $;case wH:O5=!0}}O=W.callback,O!==null&&($.flags|=64,f&&($.flags|=8192),f=Z.callbacks,f===null?Z.callbacks=[O]:f.push(O))}else f={lane:O,tag:W.tag,payload:W.payload,callback:W.callback,next:null},A===null?(Q=A=f,J=P):A=A.next=f,z|=O;if(W=W.next,W===null)if(W=Z.shared.pending,W===null)break;else f=W,W=f.next,f.next=null,Z.lastBaseUpdate=f,Z.shared.pending=null}while(1);A===null&&(J=P),Z.baseState=J,Z.firstBaseUpdate=Q,Z.lastBaseUpdate=A,G===null&&(Z.shared.lanes=0),_5|=z,$.lanes=z,$.memoizedState=P}dZ=null}function vW($,B){if(typeof $!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+$);$.call(B)}function nL($,B){var X=$.shared.hiddenCallbacks;if(X!==null)for($.shared.hiddenCallbacks=null,$=0;$<X.length;$++)vW(X[$],B)}function JW($,B){var X=$.callbacks;if(X!==null)for($.callbacks=null,$=0;$<X.length;$++)vW(X[$],B)}function HW($,B){var X=L7;M0(BB,X,$),M0(g6,B,$),L7=X|B.baseLanes}function AX($){M0(BB,L7,$),M0(g6,g6.current,$)}function PX($){L7=BB.current,S0(g6,$),S0(BB,$)}function t7($){var B=$.alternate;M0(l2,l2.current&K6,$),M0(B4,$,$),O4===null&&(B===null||g6.current!==null?O4=$:B.memoizedState!==null&&(O4=$))}function IX($){M0(l2,l2.current,$),M0(B4,$,$),O4===null&&(O4=$)}function QW($){$.tag===22?(M0(l2,l2.current,$),M0(B4,$,$),O4===null&&(O4=$)):e7($)}function e7($){M0(l2,l2.current,$),M0(B4,B4.current,$)}function s1($){S0(B4,$),O4===$&&(O4=null),S0(l2,$)}function o9($){for(var B=$;B!==null;){if(B.tag===13){var X=B.memoizedState;if(X!==null&&(X=X.dehydrated,X===null||VY(X)||EY(X)))return B}else if(B.tag===19&&(B.memoizedProps.revealOrder==="forwards"||B.memoizedProps.revealOrder==="backwards"||B.memoizedProps.revealOrder==="unstable_legacy-backwards"||B.memoizedProps.revealOrder==="together")){if((B.flags&128)!==0)return B}else if(B.child!==null){B.child.return=B,B=B.child;continue}if(B===$)break;for(;B.sibling===null;){if(B.return===null||B.return===$)return null;B=B.return}B.sibling.return=B.return,B=B.sibling}return null}function p0(){var $=S;R4===null?R4=[$]:R4.push($)}function d(){var $=S;if(R4!==null&&(x7++,R4[x7]!==$)){var B=i(f0);if(!_H.has(B)&&(_H.add(B),R4!==null)){for(var X="",Y=0;Y<=x7;Y++){var Z=R4[Y],G=Y===x7?$:Z;for(Z=Y+1+". "+Z;30>Z.length;)Z+=" ";Z+=G+`
103
+ `,X+=Z}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
104
+
105
+ Previous render Next render
106
+ ------------------------------------------------------
107
+ %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108
+ `,B,X)}}}function u3($){$===void 0||$===null||t2($)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",S,typeof $)}function a9(){var $=i(f0);FH.has($)||(FH.add($),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",$))}function E2(){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:
109
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
110
+ 2. You might be breaking the Rules of Hooks
111
+ 3. You might have more than one copy of React in the same app
112
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function bX($,B){if(o$)return!1;if(B===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.",S),!1;$.length!==B.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
113
+
114
+ Previous: %s
115
+ Incoming: %s`,S,"["+B.join(", ")+"]","["+$.join(", ")+"]");for(var X=0;X<B.length&&X<$.length;X++)if(!P1($[X],B[X]))return!1;return!0}function CX($,B,X,Y,Z,G){if(S7=G,f0=B,R4=$!==null?$._debugHookTypes:null,x7=-1,o$=$!==null&&$.type!==B.type,Object.prototype.toString.call(X)==="[object AsyncFunction]"||Object.prototype.toString.call(X)==="[object AsyncGeneratorFunction]")G=i(f0),cZ.has(G)||(cZ.add(G),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.",G===null?"An unknown Component":"<"+G+">"));B.memoizedState=null,B.updateQueue=null,B.lanes=0,x.H=$!==null&&$.memoizedState!==null?aZ:R4!==null?AH:oZ,J3=G=(B.mode&O1)!==A0;var z=jZ(X,Y,Z);if(J3=!1,O6&&(z=mX(B,X,Y,Z)),G){T0(!0);try{z=mX(B,X,Y,Z)}finally{T0(!1)}}return LW($,B),z}function LW($,B){B._debugHookTypes=R4,B.dependencies===null?u7!==null&&(B.dependencies={lanes:0,firstContext:null,_debugThenableState:u7}):B.dependencies._debugThenableState=u7,x.H=a$;var X=U2!==null&&U2.next!==null;if(S7=0,R4=S=o2=U2=f0=null,x7=-1,$!==null&&($.flags&65011712)!==(B.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),YB=!1,c$=0,u7=null,X)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");$===null||a2||($=$.dependencies,$!==null&&x9($)&&(a2=!0)),l$?(l$=!1,$=!0):$=!1,$&&(B=i(B)||"Unknown",MH.has(B)||cZ.has(B)||(MH.add(B),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 mX($,B,X,Y){f0=$;var Z=0;do{if(O6&&(u7=null),c$=0,O6=!1,Z>=xK)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(Z+=1,o$=!1,o2=U2=null,$.updateQueue!=null){var G=$.updateQueue;G.lastEffect=null,G.events=null,G.stores=null,G.memoCache!=null&&(G.memoCache.index=0)}x7=-1,x.H=PH,G=jZ(B,X,Y)}while(O6);return G}function tL(){var $=x.H,B=$.useState()[0];return B=typeof B.then==="function"?n6(B):B,$=$.useState()[0],(U2!==null?U2.memoizedState:null)!==$&&(f0.flags|=1024),B}function TX(){var $=ZB!==0;return ZB=0,$}function fX($,B,X){B.updateQueue=$.updateQueue,B.flags=(B.mode&T4)!==A0?B.flags&-402655237:B.flags&-2053,$.lanes&=~X}function yX($){if(YB){for($=$.memoizedState;$!==null;){var B=$.queue;B!==null&&(B.pending=null),$=$.next}YB=!1}S7=0,R4=o2=U2=f0=null,x7=-1,S=null,O6=!1,c$=ZB=0,u7=null}function _1(){var $={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return o2===null?f0.memoizedState=o2=$:o2=o2.next=$,o2}function L2(){if(U2===null){var $=f0.alternate;$=$!==null?$.memoizedState:null}else $=U2.next;var B=o2===null?f0.memoizedState:o2.next;if(B!==null)o2=B,U2=$;else{if($===null){if(f0.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}U2=$,$={memoizedState:U2.memoizedState,baseState:U2.baseState,baseQueue:U2.baseQueue,queue:U2.queue,next:null},o2===null?f0.memoizedState=o2=$:o2=o2.next=$}return o2}function s9(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function n6($){var B=c$;return c$+=1,u7===null&&(u7=ez()),$=BW(u7,$,B),B=f0,(o2===null?B.memoizedState:o2.next)===null&&(B=B.alternate,x.H=B!==null&&B.memoizedState!==null?aZ:oZ),$}function $5($){if($!==null&&typeof $==="object"){if(typeof $.then==="function")return n6($);if($.$$typeof===Y7)return m2($)}throw Error("An unsupported type was passed to use(): "+String($))}function a5($){var B=null,X=f0.updateQueue;if(X!==null&&(B=X.memoCache),B==null){var Y=f0.alternate;Y!==null&&(Y=Y.updateQueue,Y!==null&&(Y=Y.memoCache,Y!=null&&(B={data:Y.data.map(function(Z){return Z.slice()}),index:0})))}if(B==null&&(B={data:[],index:0}),X===null&&(X=s9(),f0.updateQueue=X),X.memoCache=B,X=B.data[B.index],X===void 0||o$)for(X=B.data[B.index]=Array($),Y=0;Y<$;Y++)X[Y]=Lg;else X.length!==$&&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.",X.length,$);return B.index++,X}function I4($,B){return typeof B==="function"?B($):B}function SX($,B,X){var Y=_1();if(X!==void 0){var Z=X(B);if(J3){T0(!0);try{X(B)}finally{T0(!1)}}}else Z=B;return Y.memoizedState=Y.baseState=Z,$={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$,lastRenderedState:Z},Y.queue=$,$=$.dispatch=Yq.bind(null,f0,$),[Y.memoizedState,$]}function x3($){var B=L2();return uX(B,U2,$)}function uX($,B,X){var Y=$.queue;if(Y===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");Y.lastRenderedReducer=X;var Z=$.baseQueue,G=Y.pending;if(G!==null){if(Z!==null){var z=Z.next;Z.next=G.next,G.next=z}B.baseQueue!==Z&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),B.baseQueue=Z=G,Y.pending=null}if(G=$.baseState,Z===null)$.memoizedState=G;else{B=Z.next;var W=z=null,J=null,Q=B,A=!1;do{var P=Q.lane&-536870913;if(P!==Q.lane?(V0&P)===P:(S7&P)===P){var O=Q.revertLane;if(O===0)J!==null&&(J=J.next={lane:0,revertLane:0,gesture:null,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null}),P===G3&&(A=!0);else if((S7&O)===O){Q=Q.next,O===G3&&(A=!0);continue}else P={lane:0,revertLane:Q.revertLane,gesture:null,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null},J===null?(W=J=P,z=G):J=J.next=P,f0.lanes|=O,_5|=O;P=Q.action,J3&&X(G,P),G=Q.hasEagerState?Q.eagerState:X(G,P)}else O={lane:P,revertLane:Q.revertLane,gesture:Q.gesture,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null},J===null?(W=J=O,z=G):J=J.next=O,f0.lanes|=P,_5|=P;Q=Q.next}while(Q!==null&&Q!==B);if(J===null?z=G:J.next=W,!P1(G,$.memoizedState)&&(a2=!0,A&&(X=Q6,X!==null)))throw X;$.memoizedState=G,$.baseState=z,$.baseQueue=J,Y.lastRenderedState=G}return Z===null&&(Y.lanes=0),[$.memoizedState,Y.dispatch]}function t6($){var B=L2(),X=B.queue;if(X===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");X.lastRenderedReducer=$;var{dispatch:Y,pending:Z}=X,G=B.memoizedState;if(Z!==null){X.pending=null;var z=Z=Z.next;do G=$(G,z.action),z=z.next;while(z!==Z);P1(G,B.memoizedState)||(a2=!0),B.memoizedState=G,B.baseQueue===null&&(B.baseState=G),X.lastRenderedState=G}return[G,Y]}function xX($,B,X){var Y=f0,Z=_1();if(i0){if(X===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var G=X();U6||G===X()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),U6=!0)}else{if(G=B(),U6||(X=B(),P1(G,X)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),U6=!0)),O2===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(V0&127)!==0||qW(Y,B,G)}return Z.memoizedState=G,X={value:G,getSnapshot:B},Z.queue=X,t9(KW.bind(null,Y,X,$),[$]),Y.flags|=2048,k3(w4|C1,{destroy:void 0},gW.bind(null,Y,X,G,B),null),G}function i9($,B,X){var Y=f0,Z=L2(),G=i0;if(G){if(X===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");X=X()}else if(X=B(),!U6){var z=B();P1(X,z)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),U6=!0)}if(z=!P1((U2||Z).memoizedState,X))Z.memoizedState=X,a2=!0;Z=Z.queue;var W=KW.bind(null,Y,Z,$);if(x1(2048,C1,W,[$]),Z.getSnapshot!==B||z||o2!==null&&o2.memoizedState.tag&w4){if(Y.flags|=2048,k3(w4|C1,{destroy:void 0},gW.bind(null,Y,Z,X,B),null),O2===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");G||(S7&127)!==0||qW(Y,B,X)}return X}function qW($,B,X){$.flags|=16384,$={getSnapshot:B,value:X},B=f0.updateQueue,B===null?(B=s9(),f0.updateQueue=B,B.stores=[$]):(X=B.stores,X===null?B.stores=[$]:X.push($))}function gW($,B,X,Y){B.value=X,B.getSnapshot=Y,UW(B)&&OW($)}function KW($,B,X){return X(function(){UW(B)&&(d4(2,"updateSyncExternalStore()",$),OW($))})}function UW($){var B=$.getSnapshot;$=$.value;try{var X=B();return!P1($,X)}catch(Y){return!0}}function OW($){var B=K1($,2);B!==null&&k2(B,$,2)}function hX($){var B=_1();if(typeof $==="function"){var X=$;if($=X(),J3){T0(!0);try{X()}finally{T0(!1)}}}return B.memoizedState=B.baseState=$,B.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:I4,lastRenderedState:$},B}function kX($){$=hX($);var B=$.queue,X=kW.bind(null,f0,B);return B.dispatch=X,[$.memoizedState,X]}function jX($){var B=_1();B.memoizedState=B.baseState=$;var X={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return B.queue=X,B=tX.bind(null,f0,!0,X),X.dispatch=B,[$,B]}function wW($,B){var X=L2();return RW(X,U2,$,B)}function RW($,B,X,Y){return $.baseState=X,uX($,U2,typeof Y==="function"?Y:I4)}function _W($,B){var X=L2();if(U2!==null)return RW(X,U2,$,B);return X.baseState=$,[$,X.queue.dispatch]}function eL($,B,X,Y,Z){if(Z8($))throw Error("Cannot update form state while rendering.");if($=B.action,$!==null){var G={payload:Z,action:$,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(z){G.listeners.push(z)}};x.T!==null?X(!0):G.isTransition=!1,Y(G),X=B.pending,X===null?(G.next=B.pending=G,MW(B,G)):(G.next=X.next,B.pending=X.next=G)}}function MW($,B){var{action:X,payload:Y}=B,Z=$.state;if(B.isTransition){var G=x.T,z={};z._updatedFibers=new Set,x.T=z;try{var W=X(Z,Y),J=x.S;J!==null&&J(z,W),FW($,B,W)}catch(Q){VX($,B,Q)}finally{G!==null&&z.types!==null&&(G.types!==null&&G.types!==z.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."),G.types=z.types),x.T=G,G===null&&z._updatedFibers&&($=z._updatedFibers.size,z._updatedFibers.clear(),10<$&&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{z=X(Z,Y),FW($,B,z)}catch(Q){VX($,B,Q)}}function FW($,B,X){X!==null&&typeof X==="object"&&typeof X.then==="function"?(x.asyncTransitions++,X.then(Y8,Y8),X.then(function(Y){AW($,B,Y)},function(Y){return VX($,B,Y)}),B.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.")):AW($,B,X)}function AW($,B,X){B.status="fulfilled",B.value=X,PW(B),$.state=X,B=$.pending,B!==null&&(X=B.next,X===B?$.pending=null:(X=X.next,B.next=X,MW($,X)))}function VX($,B,X){var Y=$.pending;if($.pending=null,Y!==null){Y=Y.next;do B.status="rejected",B.reason=X,PW(B),B=B.next;while(B!==Y)}$.action=null}function PW($){$=$.listeners;for(var B=0;B<$.length;B++)(0,$[B])()}function IW($,B){return B}function h3($,B){if(i0){var X=O2.formState;if(X!==null){$:{var Y=f0;if(i0){if(P2){B:{var Z=P2;for(var G=K4;Z.nodeType!==8;){if(!G){Z=null;break B}if(Z=r1(Z.nextSibling),Z===null){Z=null;break B}}G=Z.data,Z=G===KG||G===JQ?Z:null}if(Z){P2=r1(Z.nextSibling),Y=Z.data===KG;break $}}a7(Y)}Y=!1}Y&&(B=X[0])}}return X=_1(),X.memoizedState=X.baseState=B,Y={pending:null,lanes:0,dispatch:null,lastRenderedReducer:IW,lastRenderedState:B},X.queue=Y,X=kW.bind(null,f0,Y),Y.dispatch=X,Y=hX(!1),G=tX.bind(null,f0,!1,Y.queue),Y=_1(),Z={state:B,dispatch:null,action:$,pending:null},Y.queue=Z,X=eL.bind(null,f0,Z,G,X),Z.dispatch=X,Y.memoizedState=$,[B,X,!1]}function r9($){var B=L2();return bW(B,U2,$)}function bW($,B,X){if(B=uX($,B,IW)[0],$=x3(I4)[0],typeof B==="object"&&B!==null&&typeof B.then==="function")try{var Y=n6(B)}catch(z){if(z===L6)throw e8;throw z}else Y=B;B=L2();var Z=B.queue,G=Z.dispatch;return X!==B.memoizedState&&(f0.flags|=2048,k3(w4|C1,{destroy:void 0},$q.bind(null,Z,X),null)),[Y,G,$]}function $q($,B){$.action=B}function n9($){var B=L2(),X=U2;if(X!==null)return bW(B,X,$);L2(),B=B.memoizedState,X=L2();var Y=X.queue.dispatch;return X.memoizedState=$,[B,Y,!1]}function k3($,B,X,Y){return $={tag:$,create:X,deps:Y,inst:B,next:null},B=f0.updateQueue,B===null&&(B=s9(),f0.updateQueue=B),X=B.lastEffect,X===null?B.lastEffect=$.next=$:(Y=X.next,X.next=$,$.next=Y,B.lastEffect=$),$}function EX($){var B=_1();return $={current:$},B.memoizedState=$}function s5($,B,X,Y){var Z=_1();f0.flags|=$,Z.memoizedState=k3(w4|B,{destroy:void 0},X,Y===void 0?null:Y)}function x1($,B,X,Y){var Z=L2();Y=Y===void 0?null:Y;var G=Z.memoizedState.inst;U2!==null&&Y!==null&&bX(Y,U2.memoizedState.deps)?Z.memoizedState=k3(B,G,X,Y):(f0.flags|=$,Z.memoizedState=k3(w4|B,G,X,Y))}function t9($,B){(f0.mode&T4)!==A0?s5(276826112,C1,$,B):s5(8390656,C1,$,B)}function Bq($){f0.flags|=4;var B=f0.updateQueue;if(B===null)B=s9(),f0.updateQueue=B,B.events=[$];else{var X=B.events;X===null?B.events=[$]:X.push($)}}function DX($){var B=_1(),X={impl:$};return B.memoizedState=X,function(){if((Z2&$1)!==N1)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return X.impl.apply(void 0,arguments)}}function e9($){var B=L2().memoizedState;return Bq({ref:B,nextImpl:$}),function(){if((Z2&$1)!==N1)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return B.impl.apply(void 0,arguments)}}function lX($,B){var X=4194308;return(f0.mode&T4)!==A0&&(X|=134217728),s5(X,X4,$,B)}function CW($,B){if(typeof B==="function"){$=$();var X=B($);return function(){typeof X==="function"?X():B(null)}}if(B!==null&&B!==void 0)return B.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(B).join(", ")+"}"),$=$(),B.current=$,function(){B.current=null}}function dX($,B,X){typeof B!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",B!==null?typeof B:"null"),X=X!==null&&X!==void 0?X.concat([$]):null;var Y=4194308;(f0.mode&T4)!==A0&&(Y|=134217728),s5(Y,X4,CW.bind(null,B,$),X)}function $8($,B,X){typeof B!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",B!==null?typeof B:"null"),X=X!==null&&X!==void 0?X.concat([$]):null,x1(4,X4,CW.bind(null,B,$),X)}function pX($,B){return _1().memoizedState=[$,B===void 0?null:B],$}function B8($,B){var X=L2();B=B===void 0?null:B;var Y=X.memoizedState;if(B!==null&&bX(B,Y[1]))return Y[0];return X.memoizedState=[$,B],$}function cX($,B){var X=_1();B=B===void 0?null:B;var Y=$();if(J3){T0(!0);try{$()}finally{T0(!1)}}return X.memoizedState=[Y,B],Y}function X8($,B){var X=L2();B=B===void 0?null:B;var Y=X.memoizedState;if(B!==null&&bX(B,Y[1]))return Y[0];if(Y=$(),J3){T0(!0);try{$()}finally{T0(!1)}}return X.memoizedState=[Y,B],Y}function oX($,B){var X=_1();return aX(X,$,B)}function mW($,B){var X=L2();return fW(X,U2.memoizedState,$,B)}function TW($,B){var X=L2();return U2===null?aX(X,$,B):fW(X,U2.memoizedState,$,B)}function aX($,B,X){if(X===void 0||(S7&1073741824)!==0&&(V0&261930)===0)return $.memoizedState=B;return $.memoizedState=X,$=yN(),f0.lanes|=$,_5|=$,X}function fW($,B,X,Y){if(P1(X,B))return X;if(g6.current!==null)return $=aX($,X,Y),P1($,B)||(a2=!0),$;if((S7&42)===0||(S7&1073741824)!==0&&(V0&261930)===0)return a2=!0,$.memoizedState=X;return $=yN(),f0.lanes|=$,_5|=$,B}function Y8(){x.asyncTransitions--}function yW($,B,X,Y,Z){var G=Q2.p;Q2.p=G!==0&&G<m4?G:m4;var z=x.T,W={};W._updatedFibers=new Set,x.T=W,tX($,!1,B,X);try{var J=Z(),Q=x.S;if(Q!==null&&Q(W,J),J!==null&&typeof J==="object"&&typeof J.then==="function"){x.asyncTransitions++,J.then(Y8,Y8);var A=rL(J,Y);e6($,B,A,i1($))}else e6($,B,Y,i1($))}catch(P){e6($,B,{then:function(){},status:"rejected",reason:P},i1($))}finally{Q2.p=G,z!==null&&W.types!==null&&(z.types!==null&&z.types!==W.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."),z.types=W.types),x.T=z,z===null&&W._updatedFibers&&($=W._updatedFibers.size,W._updatedFibers.clear(),10<$&&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 sX($,B,X,Y){if($.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var Z=SW($).queue;sL($),yW($,Z,B,_3,X===null?E:function(){return uW($),X(Y)})}function SW($){var B=$.memoizedState;if(B!==null)return B;B={memoizedState:_3,baseState:_3,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:I4,lastRenderedState:_3},next:null};var X={};return B.next={memoizedState:X,baseState:X,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:I4,lastRenderedState:X},next:null},$.memoizedState=B,$=$.alternate,$!==null&&($.memoizedState=B),B}function uW($){x.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var B=SW($);B.next===null&&(B=$.alternate.memoizedState),e6($,B.next.queue,{},i1($))}function iX(){var $=hX(!1);return $=yW.bind(null,f0,$.queue,!0,!1),_1().memoizedState=$,[!1,$]}function xW(){var $=x3(I4)[0],B=L2().memoizedState;return[typeof $==="boolean"?$:n6($),B]}function hW(){var $=t6(I4)[0],B=L2().memoizedState;return[typeof $==="boolean"?$:n6($),B]}function i5(){return m2(N9)}function rX(){var $=_1(),B=O2.identifierPrefix;if(i0){var X=C7,Y=b7;X=(Y&~(1<<32-M1(Y)-1)).toString(32)+X,B="_"+B+"R_"+X,X=ZB++,0<X&&(B+="H"+X.toString(32)),B+="_"}else X=uK++,B="_"+B+"r_"+X.toString(32)+"_";return $.memoizedState=B}function nX(){return _1().memoizedState=Xq.bind(null,f0)}function Xq($,B){for(var X=$.return;X!==null;){switch(X.tag){case 24:case 3:var Y=i1(X),Z=r7(Y),G=n7(X,Z,Y);G!==null&&(d4(Y,"refresh()",$),k2(G,X,Y),s6(G,X,Y)),$=UX(),B!==null&&B!==void 0&&G!==null&&console.error("The seed argument is not enabled outside experimental channels."),Z.payload={cache:$};return}X=X.return}}function Yq($,B,X){var Y=arguments;typeof Y[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()."),Y=i1($);var Z={lane:Y,revertLane:0,gesture:null,action:X,hasEagerState:!1,eagerState:null,next:null};Z8($)?jW(B,Z):(Z=GX($,B,Z,Y),Z!==null&&(d4(Y,"dispatch()",$),k2(Z,$,Y),VW(Z,B,Y)))}function kW($,B,X){var Y=arguments;typeof Y[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()."),Y=i1($),e6($,B,X,Y)&&d4(Y,"setState()",$)}function e6($,B,X,Y){var Z={lane:Y,revertLane:0,gesture:null,action:X,hasEagerState:!1,eagerState:null,next:null};if(Z8($))jW(B,Z);else{var G=$.alternate;if($.lanes===0&&(G===null||G.lanes===0)&&(G=B.lastRenderedReducer,G!==null)){var z=x.H;x.H=y4;try{var W=B.lastRenderedState,J=G(W,X);if(Z.hasEagerState=!0,Z.eagerState=J,P1(J,W))return T9($,B,Z,0),O2===null&&m9(),!1}catch(Q){}finally{x.H=z}}if(X=GX($,B,Z,Y),X!==null)return k2(X,$,Y),VW(X,B,Y),!0}return!1}function tX($,B,X,Y){if(x.T===null&&G3===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."),Y={lane:2,revertLane:CY(),gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null},Z8($)){if(B)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else B=GX($,X,Y,2),B!==null&&(d4(2,"setOptimistic()",$),k2(B,$,2))}function Z8($){var B=$.alternate;return $===f0||B!==null&&B===f0}function jW($,B){O6=YB=!0;var X=$.pending;X===null?B.next=B:(B.next=X.next,X.next=B),$.pending=B}function VW($,B,X){if((X&4194048)!==0){var Y=B.lanes;Y&=$.pendingLanes,X|=Y,B.lanes=X,q7($,X)}}function eX($){if($!==null&&typeof $!=="function"){var B=String($);hH.has(B)||(hH.add(B),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",$))}}function $Y($,B,X,Y){var Z=$.memoizedState,G=X(Y,Z);if($.mode&O1){T0(!0);try{G=X(Y,Z)}finally{T0(!1)}}G===void 0&&(B=p(B)||"Component",yH.has(B)||(yH.add(B),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",B))),Z=G===null||G===void 0?Z:c0({},Z,G),$.memoizedState=Z,$.lanes===0&&($.updateQueue.baseState=Z)}function EW($,B,X,Y,Z,G,z){var W=$.stateNode;if(typeof W.shouldComponentUpdate==="function"){if(X=W.shouldComponentUpdate(Y,G,z),$.mode&O1){T0(!0);try{X=W.shouldComponentUpdate(Y,G,z)}finally{T0(!1)}}return X===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",p(B)||"Component"),X}return B.prototype&&B.prototype.isPureReactComponent?!D6(X,Y)||!D6(Z,G):!0}function DW($,B,X,Y){var Z=B.state;typeof B.componentWillReceiveProps==="function"&&B.componentWillReceiveProps(X,Y),typeof B.UNSAFE_componentWillReceiveProps==="function"&&B.UNSAFE_componentWillReceiveProps(X,Y),B.state!==Z&&($=i($)||"Component",bH.has($)||(bH.add($),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",$)),sZ.enqueueReplaceState(B,B.state,null))}function r5($,B){var X=B;if("ref"in B){X={};for(var Y in B)Y!=="ref"&&(X[Y]=B[Y])}if($=$.defaultProps){X===B&&(X=c0({},X));for(var Z in $)X[Z]===void 0&&(X[Z]=$[Z])}return X}function lW($){PZ($),console.warn(`%s
116
+
117
+ %s
118
+ `,w6?"An error occurred in the <"+w6+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
119
+ Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function dW($){var B=w6?"The above error occurred in the <"+w6+"> component.":"The above error occurred in one of your React components.",X="React will try to recreate this component tree from scratch using the error boundary you provided, "+((iZ||"Anonymous")+".");if(typeof $==="object"&&$!==null&&typeof $.environmentName==="string"){var Y=$.environmentName;$=[`%o
120
+
121
+ %s
122
+
123
+ %s
124
+ `,$,B,X].slice(0),typeof $[0]==="string"?$.splice(0,1,OQ+" "+$[0],wQ,mB+Y+mB,RQ):$.splice(0,0,OQ,wQ,mB+Y+mB,RQ),$.unshift(console),Y=BU.apply(console.error,$),Y()}else console.error(`%o
125
+
126
+ %s
127
+
128
+ %s
129
+ `,$,B,X)}function pW($){PZ($)}function G8($,B){try{w6=B.source?i(B.source):null,iZ=null;var X=B.value;if(x.actQueue!==null)x.thrownErrors.push(X);else{var Y=$.onUncaughtError;Y(X,{componentStack:B.stack})}}catch(Z){setTimeout(function(){throw Z})}}function cW($,B,X){try{w6=X.source?i(X.source):null,iZ=i(B);var Y=$.onCaughtError;Y(X.value,{componentStack:X.stack,errorBoundary:B.tag===1?B.stateNode:null})}catch(Z){setTimeout(function(){throw Z})}}function BY($,B,X){return X=r7(X),X.tag=lZ,X.payload={element:null},X.callback=function(){s(B.source,G8,$,B)},X}function XY($){return $=r7($),$.tag=lZ,$}function YY($,B,X,Y){var Z=X.type.getDerivedStateFromError;if(typeof Z==="function"){var G=Y.value;$.payload=function(){return Z(G)},$.callback=function(){jz(X),s(Y.source,cW,B,X,Y)}}var z=X.stateNode;z!==null&&typeof z.componentDidCatch==="function"&&($.callback=function(){jz(X),s(Y.source,cW,B,X,Y),typeof Z!=="function"&&(F5===null?F5=new Set([this]):F5.add(this)),TK(this,Y),typeof Z==="function"||(X.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(X)||"Unknown")})}function Zq($,B,X,Y,Z){if(X.flags|=32768,z7&&W$($,Z),Y!==null&&typeof Y==="object"&&typeof Y.then==="function"){if(B=X.alternate,B!==null&&S3(B,X,Z,!0),i0&&(v7=!0),X=B4.current,X!==null){switch(X.tag){case 31:case 13:return O4===null?q8():X.alternate===null&&x2===k7&&(x2=WB),X.flags&=-257,X.flags|=65536,X.lanes=Z,Y===$B?X.flags|=16384:(B=X.updateQueue,B===null?X.updateQueue=new Set([Y]):B.add(Y),AY($,Y,Z)),!1;case 22:return X.flags|=65536,Y===$B?X.flags|=16384:(B=X.updateQueue,B===null?(B={transitions:null,markerInstances:null,retryQueue:new Set([Y])},X.updateQueue=B):(X=B.retryQueue,X===null?B.retryQueue=new Set([Y]):X.add(Y)),AY($,Y,Z)),!1}throw Error("Unexpected Suspense handler tag ("+X.tag+"). This is a bug in React.")}return AY($,Y,Z),q8(),!1}if(i0)return v7=!0,B=B4.current,B!==null?((B.flags&65536)===0&&(B.flags|=256),B.flags|=65536,B.lanes=Z,Y!==fZ&&d6(c1(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:Y}),X))):(Y!==fZ&&d6(c1(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:Y}),X)),$=$.current.alternate,$.flags|=65536,Z&=-Z,$.lanes|=Z,Y=c1(Y,X),Z=BY($.stateNode,Y,Z),c9($,Z),x2!==w5&&(x2=H3)),!1;var G=c1(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:Y}),X);if(e$===null?e$=[G]:e$.push(G),x2!==w5&&(x2=H3),B===null)return!0;Y=c1(Y,X),X=B;do{switch(X.tag){case 3:return X.flags|=65536,$=Z&-Z,X.lanes|=$,$=BY(X.stateNode,Y,$),c9(X,$),!1;case 1:if(B=X.type,G=X.stateNode,(X.flags&128)===0&&(typeof B.getDerivedStateFromError==="function"||G!==null&&typeof G.componentDidCatch==="function"&&(F5===null||!F5.has(G))))return X.flags|=65536,Z&=-Z,X.lanes|=Z,Z=XY(Z),YY(Z,$,X,Y),c9(X,Z),!1}X=X.return}while(X!==null);return!1}function J1($,B,X,Y){B.child=$===null?KH(B,null,X,Y):v3(B,$.child,X,Y)}function oW($,B,X,Y,Z){X=X.render;var G=B.ref;if("ref"in Y){var z={};for(var W in Y)W!=="ref"&&(z[W]=Y[W])}else z=Y;if(c5(B),Y=CX($,B,X,z,G,Z),W=TX(),$!==null&&!a2)return fX($,B,Z),_7($,B,Z);return i0&&W&&HX(B),B.flags|=1,J1($,B,Y,Z),B.child}function aW($,B,X,Y,Z){if($===null){var G=X.type;if(typeof G==="function"&&!WX(G)&&G.defaultProps===void 0&&X.compare===null)return X=D5(G),B.tag=15,B.type=X,GY(B,G),sW($,B,X,Y,Z);return $=NX(X.type,null,Y,B,B.mode,Z),$.ref=B.ref,$.return=B,B.child=$}if(G=$.child,!HY($,Z)){var z=G.memoizedProps;if(X=X.compare,X=X!==null?X:D6,X(z,Y)&&$.ref===B.ref)return _7($,B,Z)}return B.flags|=1,$=U7(G,Y),$.ref=B.ref,$.return=B,B.child=$}function sW($,B,X,Y,Z){if($!==null){var G=$.memoizedProps;if(D6(G,Y)&&$.ref===B.ref&&B.type===$.type)if(a2=!1,B.pendingProps=Y=G,HY($,Z))($.flags&131072)!==0&&(a2=!0);else return B.lanes=$.lanes,_7($,B,Z)}return ZY($,B,X,Y,Z)}function iW($,B,X,Y){var Z=Y.children,G=$!==null?$.memoizedState:null;if($===null&&B.stateNode===null&&(B.stateNode={_visibility:C$,_pendingMarkers:null,_retryCache:null,_transitions:null}),Y.mode==="hidden"){if((B.flags&128)!==0){if(G=G!==null?G.baseLanes|X:X,$!==null){Y=B.child=$.child;for(Z=0;Y!==null;)Z=Z|Y.lanes|Y.childLanes,Y=Y.sibling;Y=Z&~G}else Y=0,B.child=null;return rW($,B,G,X,Y)}if((X&536870912)!==0)B.memoizedState={baseLanes:0,cachePool:null},$!==null&&V9(B,G!==null?G.cachePool:null),G!==null?HW(B,G):AX(B),QW(B);else return Y=B.lanes=536870912,rW($,B,G!==null?G.baseLanes|X:X,X,Y)}else G!==null?(V9(B,G.cachePool),HW(B,G),e7(B),B.memoizedState=null):($!==null&&V9(B,null),AX(B),e7(B));return J1($,B,Z,X),B.child}function $$($,B){return $!==null&&$.tag===22||B.stateNode!==null||(B.stateNode={_visibility:C$,_pendingMarkers:null,_retryCache:null,_transitions:null}),B.sibling}function rW($,B,X,Y,Z){var G=RX();return G=G===null?null:{parent:p2._currentValue,pool:G},B.memoizedState={baseLanes:X,cachePool:G},$!==null&&V9(B,null),AX(B),QW(B),$!==null&&S3($,B,Y,!0),B.childLanes=Z,null}function z8($,B){var X=B.hidden;return X!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
130
+ - <Activity %s>
131
+ + <Activity %s>`,X===!0?"hidden":X===!1?"hidden={false}":"hidden={...}",X?'mode="hidden"':'mode="visible"'),B=N8({mode:B.mode,children:B.children},$.mode),B.ref=$.ref,$.child=B,B.return=$,B}function nW($,B,X){return v3(B,$.child,null,X),$=z8(B,B.pendingProps),$.flags|=2,s1(B),B.memoizedState=null,$}function Gq($,B,X){var Y=B.pendingProps,Z=(B.flags&128)!==0;if(B.flags&=-129,$===null){if(i0){if(Y.mode==="hidden")return $=z8(B,Y),B.lanes=536870912,$$(null,$);if(IX(B),($=P2)?(X=Mv($,K4),X=X!==null&&X.data===U3?X:null,X!==null&&(Y={dehydrated:X,treeContext:dz(),retryLane:536870912,hydrationErrors:null},B.memoizedState=Y,Y=Dz(X),Y.return=B,B.child=Y,L1=B,P2=null)):X=null,X===null)throw S9(B,$),a7(B);return B.lanes=536870912,null}return z8(B,Y)}var G=$.memoizedState;if(G!==null){var z=G.dehydrated;if(IX(B),Z)if(B.flags&256)B.flags&=-257,B=nW($,B,X);else if(B.memoizedState!==null)B.child=$.child,B.flags|=128,B=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(cz(),(X&536870912)!==0&&L8(B),a2||S3($,B,X,!1),Z=(X&$.childLanes)!==0,a2||Z){if(Y=O2,Y!==null&&(z=Y1(Y,X),z!==0&&z!==G.retryLane))throw G.retryLane=z,K1($,z),k2(Y,$,z),rZ;q8(),B=nW($,B,X)}else $=G.treeContext,P2=r1(z.nextSibling),L1=B,i0=!0,Q5=null,v7=!1,$4=null,K4=!1,$!==null&&pz(B,$),B=z8(B,Y),B.flags|=4096;return B}return G=$.child,Y={mode:Y.mode,children:Y.children},(X&536870912)!==0&&(X&$.lanes)!==0&&L8(B),$=U7(G,Y),$.ref=B.ref,B.child=$,$.return=B,$}function W8($,B){var X=B.ref;if(X===null)$!==null&&$.ref!==null&&(B.flags|=4194816);else{if(typeof X!=="function"&&typeof X!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if($===null||$.ref!==X)B.flags|=4194816}}function ZY($,B,X,Y,Z){if(X.prototype&&typeof X.prototype.render==="function"){var G=p(X)||"Unknown";kH[G]||(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.",G,G),kH[G]=!0)}if(B.mode&O1&&f4.recordLegacyContextWarning(B,null),$===null&&(GY(B,B.type),X.contextTypes&&(G=p(X)||"Unknown",VH[G]||(VH[G]=!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)",G)))),c5(B),X=CX($,B,X,Y,void 0,Z),Y=TX(),$!==null&&!a2)return fX($,B,Z),_7($,B,Z);return i0&&Y&&HX(B),B.flags|=1,J1($,B,X,Z),B.child}function tW($,B,X,Y,Z,G){if(c5(B),x7=-1,o$=$!==null&&$.type!==B.type,B.updateQueue=null,X=mX(B,Y,X,Z),LW($,B),Y=TX(),$!==null&&!a2)return fX($,B,G),_7($,B,G);return i0&&Y&&HX(B),B.flags|=1,J1($,B,X,G),B.child}function eW($,B,X,Y,Z){switch(K(B)){case!1:var G=B.stateNode,z=new B.type(B.memoizedProps,G.context).state;G.updater.enqueueSetState(G,z,null);break;case!0:B.flags|=128,B.flags|=65536,G=Error("Simulated error coming from DevTools");var W=Z&-Z;if(B.lanes|=W,z=O2,z===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");W=XY(W),YY(W,z,B,c1(G,B)),c9(B,W)}if(c5(B),B.stateNode===null){if(z=H5,G=X.contextType,"contextType"in X&&G!==null&&(G===void 0||G.$$typeof!==Y7)&&!xH.has(X)&&(xH.add(X),W=G===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 G!=="object"?" However, it is set to a "+typeof G+".":G.$$typeof===nY?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(G).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",p(X)||"Component",W)),typeof G==="object"&&G!==null&&(z=m2(G)),G=new X(Y,z),B.mode&O1){T0(!0);try{G=new X(Y,z)}finally{T0(!1)}}if(z=B.memoizedState=G.state!==null&&G.state!==void 0?G.state:null,G.updater=sZ,B.stateNode=G,G._reactInternals=B,G._reactInternalInstance=IH,typeof X.getDerivedStateFromProps==="function"&&z===null&&(z=p(X)||"Component",CH.has(z)||(CH.add(z),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.",z,G.state===null?"null":"undefined",z))),typeof X.getDerivedStateFromProps==="function"||typeof G.getSnapshotBeforeUpdate==="function"){var J=W=z=null;if(typeof G.componentWillMount==="function"&&G.componentWillMount.__suppressDeprecationWarning!==!0?z="componentWillMount":typeof G.UNSAFE_componentWillMount==="function"&&(z="UNSAFE_componentWillMount"),typeof G.componentWillReceiveProps==="function"&&G.componentWillReceiveProps.__suppressDeprecationWarning!==!0?W="componentWillReceiveProps":typeof G.UNSAFE_componentWillReceiveProps==="function"&&(W="UNSAFE_componentWillReceiveProps"),typeof G.componentWillUpdate==="function"&&G.componentWillUpdate.__suppressDeprecationWarning!==!0?J="componentWillUpdate":typeof G.UNSAFE_componentWillUpdate==="function"&&(J="UNSAFE_componentWillUpdate"),z!==null||W!==null||J!==null){G=p(X)||"Component";var Q=typeof X.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";TH.has(G)||(TH.add(G),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
132
+
133
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
134
+
135
+ The above lifecycles should be removed. Learn more about this warning here:
136
+ https://react.dev/link/unsafe-component-lifecycles`,G,Q,z!==null?`
137
+ `+z:"",W!==null?`
138
+ `+W:"",J!==null?`
139
+ `+J:""))}}G=B.stateNode,z=p(X)||"Component",G.render||(X.prototype&&typeof X.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",z):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",z)),!G.getInitialState||G.getInitialState.isReactClassApproved||G.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?",z),G.getDefaultProps&&!G.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.",z),G.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",z),X.childContextTypes&&!uH.has(X)&&(uH.add(X),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",z)),X.contextTypes&&!SH.has(X)&&(SH.add(X),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)",z)),typeof G.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.",z),X.prototype&&X.prototype.isPureReactComponent&&typeof G.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.",p(X)||"A pure component"),typeof G.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",z),typeof G.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().",z),typeof G.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",z),typeof G.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",z),W=G.props!==Y,G.props!==void 0&&W&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",z),G.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.",z,z),typeof G.getSnapshotBeforeUpdate!=="function"||typeof G.componentDidUpdate==="function"||mH.has(X)||(mH.add(X),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",p(X))),typeof G.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",z),typeof G.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",z),typeof X.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",z),(W=G.state)&&(typeof W!=="object"||t2(W))&&console.error("%s.state: must be set to an object or null",z),typeof G.getChildContext==="function"&&typeof X.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",z),G=B.stateNode,G.props=Y,G.state=B.memoizedState,G.refs={},MX(B),z=X.contextType,G.context=typeof z==="object"&&z!==null?m2(z):H5,G.state===Y&&(z=p(X)||"Component",fH.has(z)||(fH.add(z),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.",z))),B.mode&O1&&f4.recordLegacyContextWarning(B,G),f4.recordUnsafeLifecycleWarnings(B,G),G.state=B.memoizedState,z=X.getDerivedStateFromProps,typeof z==="function"&&($Y(B,X,z,Y),G.state=B.memoizedState),typeof X.getDerivedStateFromProps==="function"||typeof G.getSnapshotBeforeUpdate==="function"||typeof G.UNSAFE_componentWillMount!=="function"&&typeof G.componentWillMount!=="function"||(z=G.state,typeof G.componentWillMount==="function"&&G.componentWillMount(),typeof G.UNSAFE_componentWillMount==="function"&&G.UNSAFE_componentWillMount(),z!==G.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",i(B)||"Component"),sZ.enqueueReplaceState(G,G.state,null)),r6(B,Y,G,Z),i6(),G.state=B.memoizedState),typeof G.componentDidMount==="function"&&(B.flags|=4194308),(B.mode&T4)!==A0&&(B.flags|=134217728),G=!0}else if($===null){G=B.stateNode;var A=B.memoizedProps;W=r5(X,A),G.props=W;var P=G.context;J=X.contextType,z=H5,typeof J==="object"&&J!==null&&(z=m2(J)),Q=X.getDerivedStateFromProps,J=typeof Q==="function"||typeof G.getSnapshotBeforeUpdate==="function",A=B.pendingProps!==A,J||typeof G.UNSAFE_componentWillReceiveProps!=="function"&&typeof G.componentWillReceiveProps!=="function"||(A||P!==z)&&DW(B,G,Y,z),O5=!1;var O=B.memoizedState;G.state=O,r6(B,Y,G,Z),i6(),P=B.memoizedState,A||O!==P||O5?(typeof Q==="function"&&($Y(B,X,Q,Y),P=B.memoizedState),(W=O5||EW(B,X,W,Y,O,P,z))?(J||typeof G.UNSAFE_componentWillMount!=="function"&&typeof G.componentWillMount!=="function"||(typeof G.componentWillMount==="function"&&G.componentWillMount(),typeof G.UNSAFE_componentWillMount==="function"&&G.UNSAFE_componentWillMount()),typeof G.componentDidMount==="function"&&(B.flags|=4194308),(B.mode&T4)!==A0&&(B.flags|=134217728)):(typeof G.componentDidMount==="function"&&(B.flags|=4194308),(B.mode&T4)!==A0&&(B.flags|=134217728),B.memoizedProps=Y,B.memoizedState=P),G.props=Y,G.state=P,G.context=z,G=W):(typeof G.componentDidMount==="function"&&(B.flags|=4194308),(B.mode&T4)!==A0&&(B.flags|=134217728),G=!1)}else{G=B.stateNode,FX($,B),z=B.memoizedProps,J=r5(X,z),G.props=J,Q=B.pendingProps,O=G.context,P=X.contextType,W=H5,typeof P==="object"&&P!==null&&(W=m2(P)),A=X.getDerivedStateFromProps,(P=typeof A==="function"||typeof G.getSnapshotBeforeUpdate==="function")||typeof G.UNSAFE_componentWillReceiveProps!=="function"&&typeof G.componentWillReceiveProps!=="function"||(z!==Q||O!==W)&&DW(B,G,Y,W),O5=!1,O=B.memoizedState,G.state=O,r6(B,Y,G,Z),i6();var f=B.memoizedState;z!==Q||O!==f||O5||$!==null&&$.dependencies!==null&&x9($.dependencies)?(typeof A==="function"&&($Y(B,X,A,Y),f=B.memoizedState),(J=O5||EW(B,X,J,Y,O,f,W)||$!==null&&$.dependencies!==null&&x9($.dependencies))?(P||typeof G.UNSAFE_componentWillUpdate!=="function"&&typeof G.componentWillUpdate!=="function"||(typeof G.componentWillUpdate==="function"&&G.componentWillUpdate(Y,f,W),typeof G.UNSAFE_componentWillUpdate==="function"&&G.UNSAFE_componentWillUpdate(Y,f,W)),typeof G.componentDidUpdate==="function"&&(B.flags|=4),typeof G.getSnapshotBeforeUpdate==="function"&&(B.flags|=1024)):(typeof G.componentDidUpdate!=="function"||z===$.memoizedProps&&O===$.memoizedState||(B.flags|=4),typeof G.getSnapshotBeforeUpdate!=="function"||z===$.memoizedProps&&O===$.memoizedState||(B.flags|=1024),B.memoizedProps=Y,B.memoizedState=f),G.props=Y,G.state=f,G.context=W,G=J):(typeof G.componentDidUpdate!=="function"||z===$.memoizedProps&&O===$.memoizedState||(B.flags|=4),typeof G.getSnapshotBeforeUpdate!=="function"||z===$.memoizedProps&&O===$.memoizedState||(B.flags|=1024),G=!1)}if(W=G,W8($,B),z=(B.flags&128)!==0,W||z){if(W=B.stateNode,Q0(B),z&&typeof X.getDerivedStateFromError!=="function")X=null,I1=-1;else if(X=XH(W),B.mode&O1){T0(!0);try{XH(W)}finally{T0(!1)}}B.flags|=1,$!==null&&z?(B.child=v3(B,$.child,null,Z),B.child=v3(B,null,X,Z)):J1($,B,X,Z),B.memoizedState=W.state,$=B.child}else $=_7($,B,Z);return Z=B.stateNode,G&&Z.props!==Y&&(R6||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(B)||"a component"),R6=!0),$}function $N($,B,X,Y){return p5(),B.flags|=256,J1($,B,X,Y),B.child}function GY($,B){B&&B.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
140
+ %s.childContextTypes = ...`,B.displayName||B.name||"Component"),typeof B.getDerivedStateFromProps==="function"&&($=p(B)||"Unknown",EH[$]||(console.error("%s: Function components do not support getDerivedStateFromProps.",$),EH[$]=!0)),typeof B.contextType==="object"&&B.contextType!==null&&(B=p(B)||"Unknown",jH[B]||(console.error("%s: Function components do not support contextType.",B),jH[B]=!0))}function zY($){return{baseLanes:$,cachePool:tz()}}function WY($,B,X){return $=$!==null?$.childLanes&~X:0,B&&($|=E1),$}function BN($,B,X){var Y,Z=B.pendingProps;R(B)&&(B.flags|=128);var G=!1,z=(B.flags&128)!==0;if((Y=z)||(Y=$!==null&&$.memoizedState===null?!1:(l2.current&p$)!==0),Y&&(G=!0,B.flags&=-129),Y=(B.flags&32)!==0,B.flags&=-33,$===null){if(i0){if(G?t7(B):e7(B),($=P2)?(X=Mv($,K4),X=X!==null&&X.data!==U3?X:null,X!==null&&(Y={dehydrated:X,treeContext:dz(),retryLane:536870912,hydrationErrors:null},B.memoizedState=Y,Y=Dz(X),Y.return=B,B.child=Y,L1=B,P2=null)):X=null,X===null)throw S9(B,$),a7(B);return EY(X)?B.lanes=32:B.lanes=536870912,null}var W=Z.children;if(Z=Z.fallback,G){e7(B);var J=B.mode;return W=N8({mode:"hidden",children:W},J),Z=l5(Z,J,X,null),W.return=B,Z.return=B,W.sibling=Z,B.child=W,Z=B.child,Z.memoizedState=zY(X),Z.childLanes=WY($,Y,X),B.memoizedState=nZ,$$(null,Z)}return t7(B),NY(B,W)}var Q=$.memoizedState;if(Q!==null){var A=Q.dehydrated;if(A!==null){if(z)B.flags&256?(t7(B),B.flags&=-257,B=vY($,B,X)):B.memoizedState!==null?(e7(B),B.child=$.child,B.flags|=128,B=null):(e7(B),W=Z.fallback,J=B.mode,Z=N8({mode:"visible",children:Z.children},J),W=l5(W,J,X,null),W.flags|=2,Z.return=B,W.return=B,Z.sibling=W,B.child=Z,v3(B,$.child,null,X),Z=B.child,Z.memoizedState=zY(X),Z.childLanes=WY($,Y,X),B.memoizedState=nZ,B=$$(null,Z));else if(t7(B),cz(),(X&536870912)!==0&&L8(B),EY(A)){if(Y=A.nextSibling&&A.nextSibling.dataset,Y){W=Y.dgst;var P=Y.msg;J=Y.stck;var O=Y.cstck}G=P,Y=W,Z=J,A=O,W=G,J=A,W=W?Error(W):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),W.stack=Z||"",W.digest=Y,Y=J===void 0?null:J,Z={value:W,source:null,stack:Y},typeof Y==="string"&&TZ.set(W,Z),d6(Z),B=vY($,B,X)}else if(a2||S3($,B,X,!1),Y=(X&$.childLanes)!==0,a2||Y){if(Y=O2,Y!==null&&(Z=Y1(Y,X),Z!==0&&Z!==Q.retryLane))throw Q.retryLane=Z,K1($,Z),k2(Y,$,Z),rZ;VY(A)||q8(),B=vY($,B,X)}else VY(A)?(B.flags|=192,B.child=$.child,B=null):($=Q.treeContext,P2=r1(A.nextSibling),L1=B,i0=!0,Q5=null,v7=!1,$4=null,K4=!1,$!==null&&pz(B,$),B=NY(B,Z.children),B.flags|=4096);return B}}if(G)return e7(B),W=Z.fallback,J=B.mode,O=$.child,A=O.sibling,Z=U7(O,{mode:"hidden",children:Z.children}),Z.subtreeFlags=O.subtreeFlags&65011712,A!==null?W=U7(A,W):(W=l5(W,J,X,null),W.flags|=2),W.return=B,Z.return=B,Z.sibling=W,B.child=Z,$$(null,Z),Z=B.child,W=$.child.memoizedState,W===null?W=zY(X):(J=W.cachePool,J!==null?(O=p2._currentValue,J=J.parent!==O?{parent:O,pool:O}:J):J=tz(),W={baseLanes:W.baseLanes|X,cachePool:J}),Z.memoizedState=W,Z.childLanes=WY($,Y,X),B.memoizedState=nZ,$$($.child,Z);return Q!==null&&(X&62914560)===X&&(X&$.lanes)!==0&&L8(B),t7(B),X=$.child,$=X.sibling,X=U7(X,{mode:"visible",children:Z.children}),X.return=B,X.sibling=null,$!==null&&(Y=B.deletions,Y===null?(B.deletions=[$],B.flags|=16):Y.push($)),B.child=X,B.memoizedState=null,X}function NY($,B){return B=N8({mode:"visible",children:B},$.mode),B.return=$,$.child=B}function N8($,B){return $=T(22,$,null,B),$.lanes=0,$}function vY($,B,X){return v3(B,$.child,null,X),$=NY(B,B.pendingProps.children),$.flags|=2,B.memoizedState=null,$}function XN($,B,X){$.lanes|=B;var Y=$.alternate;Y!==null&&(Y.lanes|=B),gX($.return,B,X)}function JY($,B,X,Y,Z,G){var z=$.memoizedState;z===null?$.memoizedState={isBackwards:B,rendering:null,renderingStartTime:0,last:Y,tail:X,tailMode:Z,treeForkCount:G}:(z.isBackwards=B,z.rendering=null,z.renderingStartTime=0,z.last=Y,z.tail=X,z.tailMode=Z,z.treeForkCount=G)}function YN($,B,X){var Y=B.pendingProps,Z=Y.revealOrder,G=Y.tail,z=Y.children,W=l2.current;if((Y=(W&p$)!==0)?(W=W&K6|p$,B.flags|=128):W&=K6,M0(l2,W,B),W=Z==null?"null":Z,Z!=="forwards"&&Z!=="unstable_legacy-backwards"&&Z!=="together"&&Z!=="independent"&&!DH[W])if(DH[W]=!0,Z==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(Z==="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 Z==="string")switch(Z.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.',Z,Z.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.',Z,Z.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',Z)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',Z);if(W=G==null?"null":G,!zB[W])if(G==null){if(Z==="forwards"||Z==="backwards"||Z==="unstable_legacy-backwards")zB[W]=!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".')}else G!=="visible"&&G!=="collapsed"&&G!=="hidden"?(zB[W]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',G)):Z!=="forwards"&&Z!=="backwards"&&Z!=="unstable_legacy-backwards"&&(zB[W]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',G));$:if((Z==="forwards"||Z==="backwards"||Z==="unstable_legacy-backwards")&&z!==void 0&&z!==null&&z!==!1)if(t2(z)){for(W=0;W<z.length;W++)if(!NW(z[W],W))break $}else if(W=e0(z),typeof W==="function"){if(W=W.call(z))for(var J=W.next(),Q=0;!J.done;J=W.next()){if(!NW(J.value,Q))break $;Q++}}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?',Z);if(J1($,B,z,X),i0?(o7(),z=m$):z=0,!Y&&$!==null&&($.flags&128)!==0)$:for($=B.child;$!==null;){if($.tag===13)$.memoizedState!==null&&XN($,X,B);else if($.tag===19)XN($,X,B);else if($.child!==null){$.child.return=$,$=$.child;continue}if($===B)break $;for(;$.sibling===null;){if($.return===null||$.return===B)break $;$=$.return}$.sibling.return=$.return,$=$.sibling}switch(Z){case"forwards":X=B.child;for(Z=null;X!==null;)$=X.alternate,$!==null&&o9($)===null&&(Z=X),X=X.sibling;X=Z,X===null?(Z=B.child,B.child=null):(Z=X.sibling,X.sibling=null),JY(B,!1,Z,X,G,z);break;case"backwards":case"unstable_legacy-backwards":X=null,Z=B.child;for(B.child=null;Z!==null;){if($=Z.alternate,$!==null&&o9($)===null){B.child=Z;break}$=Z.sibling,Z.sibling=X,X=Z,Z=$}JY(B,!0,X,null,G,z);break;case"together":JY(B,!1,null,null,void 0,z);break;default:B.memoizedState=null}return B.child}function _7($,B,X){if($!==null&&(B.dependencies=$.dependencies),I1=-1,_5|=B.lanes,(X&B.childLanes)===0)if($!==null){if(S3($,B,X,!1),(X&B.childLanes)===0)return null}else return null;if($!==null&&B.child!==$.child)throw Error("Resuming work not yet implemented.");if(B.child!==null){$=B.child,X=U7($,$.pendingProps),B.child=X;for(X.return=B;$.sibling!==null;)$=$.sibling,X=X.sibling=U7($,$.pendingProps),X.return=B;X.sibling=null}return B.child}function HY($,B){if(($.lanes&B)!==0)return!0;return $=$.dependencies,$!==null&&x9($)?!0:!1}function zq($,B,X){switch(B.tag){case 3:c(B,B.stateNode.containerInfo),s7(B,p2,$.memoizedState.cache),p5();break;case 27:case 5:U0(B);break;case 4:c(B,B.stateNode.containerInfo);break;case 10:s7(B,B.type,B.memoizedProps.value);break;case 12:(X&B.childLanes)!==0&&(B.flags|=4),B.flags|=2048;var Y=B.stateNode;Y.effectDuration=-0,Y.passiveEffectDuration=-0;break;case 31:if(B.memoizedState!==null)return B.flags|=128,IX(B),null;break;case 13:if(Y=B.memoizedState,Y!==null){if(Y.dehydrated!==null)return t7(B),B.flags|=128,null;if((X&B.child.childLanes)!==0)return BN($,B,X);return t7(B),$=_7($,B,X),$!==null?$.sibling:null}t7(B);break;case 19:var Z=($.flags&128)!==0;if(Y=(X&B.childLanes)!==0,Y||(S3($,B,X,!1),Y=(X&B.childLanes)!==0),Z){if(Y)return YN($,B,X);B.flags|=128}if(Z=B.memoizedState,Z!==null&&(Z.rendering=null,Z.tail=null,Z.lastEffect=null),M0(l2,l2.current,B),Y)break;else return null;case 22:return B.lanes=0,iW($,B,X,B.pendingProps);case 24:s7(B,p2,$.memoizedState.cache)}return _7($,B,X)}function QY($,B,X){if(B._debugNeedsRemount&&$!==null){X=NX(B.type,B.key,B.pendingProps,B._debugOwner||null,B.mode,B.lanes),X._debugStack=B._debugStack,X._debugTask=B._debugTask;var Y=B.return;if(Y===null)throw Error("Cannot swap the root fiber.");if($.alternate=null,B.alternate=null,X.index=B.index,X.sibling=B.sibling,X.return=B.return,X.ref=B.ref,X._debugInfo=B._debugInfo,B===Y.child)Y.child=X;else{var Z=Y.child;if(Z===null)throw Error("Expected parent to have a child.");for(;Z.sibling!==B;)if(Z=Z.sibling,Z===null)throw Error("Expected to find the previous sibling.");Z.sibling=X}return B=Y.deletions,B===null?(Y.deletions=[$],Y.flags|=16):B.push($),X.flags|=2,X}if($!==null)if($.memoizedProps!==B.pendingProps||B.type!==$.type)a2=!0;else{if(!HY($,X)&&(B.flags&128)===0)return a2=!1,zq($,B,X);a2=($.flags&131072)!==0?!0:!1}else{if(a2=!1,Y=i0)o7(),Y=(B.flags&1048576)!==0;Y&&(Y=B.index,o7(),lz(B,m$,Y))}switch(B.lanes=0,B.tag){case 16:$:if(Y=B.pendingProps,$=i7(B.elementType),B.type=$,typeof $==="function")WX($)?(Y=r5($,Y),B.tag=1,B.type=$=D5($),B=eW(null,B,$,Y,X)):(B.tag=0,GY(B,$),B.type=$=D5($),B=ZY(null,B,$,Y,X));else{if($!==void 0&&$!==null){if(Z=$.$$typeof,Z===K$){B.tag=11,B.type=$=zX($),B=oW(null,B,$,Y,X);break $}else if(Z===C8){B.tag=14,B=aW(null,B,$,Y,X);break $}}throw B="",$!==null&&typeof $==="object"&&$.$$typeof===n1&&(B=" Did you wrap a component in React.lazy() more than once?"),X=p($)||$,Error("Element type is invalid. Received a promise that resolves to: "+X+". Lazy element type must resolve to a class or function."+B)}return B;case 0:return ZY($,B,B.type,B.pendingProps,X);case 1:return Y=B.type,Z=r5(Y,B.pendingProps),eW($,B,Y,Z,X);case 3:$:{if(c(B,B.stateNode.containerInfo),$===null)throw Error("Should have a current fiber. This is a bug in React.");Y=B.pendingProps;var G=B.memoizedState;Z=G.element,FX($,B),r6(B,Y,null,X);var z=B.memoizedState;if(Y=z.cache,s7(B,p2,Y),Y!==G.cache&&KX(B,[p2],X,!0),i6(),Y=z.element,G.isDehydrated)if(G={element:Y,isDehydrated:!1,cache:z.cache},B.updateQueue.baseState=G,B.memoizedState=G,B.flags&256){B=$N($,B,Y,X);break $}else if(Y!==Z){Z=c1(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),B),d6(Z),B=$N($,B,Y,X);break $}else{switch($=B.stateNode.containerInfo,$.nodeType){case 9:$=$.body;break;default:$=$.nodeName==="HTML"?$.ownerDocument.body:$}P2=r1($.firstChild),L1=B,i0=!0,Q5=null,v7=!1,$4=null,K4=!0,X=KH(B,null,Y,X);for(B.child=X;X;)X.flags=X.flags&-3|4096,X=X.sibling}else{if(p5(),Y===Z){B=_7($,B,X);break $}J1($,B,Y,X)}B=B.child}return B;case 26:return W8($,B),$===null?(X=Cv(B.type,null,B.pendingProps,null))?B.memoizedState=X:i0||(X=B.type,$=B.pendingProps,Y=G2(G5.current),Y=O8(Y).createElement(X),Y[Q1]=B,Y[F1]=$,H1(Y,X,$),H0(Y),B.stateNode=Y):B.memoizedState=Cv(B.type,$.memoizedProps,B.pendingProps,$.memoizedState),null;case 27:return U0(B),$===null&&i0&&(Y=G2(G5.current),Z=e(),Y=B.stateNode=Iv(B.type,B.pendingProps,Y,Z,!1),v7||(Z=qv(Y,B.type,B.pendingProps,Z),Z!==null&&(d5(B,0).serverProps=Z)),L1=B,K4=!0,Z=P2,Y5(B.type)?(RG=Z,P2=r1(Y.firstChild)):P2=Z),J1($,B,B.pendingProps.children,X),W8($,B),$===null&&(B.flags|=4194304),B.child;case 5:return $===null&&i0&&(G=e(),Y=tB(B.type,G.ancestorInfo),Z=P2,(z=!Z)||(z=sq(Z,B.type,B.pendingProps,K4),z!==null?(B.stateNode=z,v7||(G=qv(z,B.type,B.pendingProps,G),G!==null&&(d5(B,0).serverProps=G)),L1=B,P2=r1(z.firstChild),K4=!1,G=!0):G=!1,z=!G),z&&(Y&&S9(B,Z),a7(B))),U0(B),Z=B.type,G=B.pendingProps,z=$!==null?$.memoizedProps:null,Y=G.children,kY(Z,G)?Y=null:z!==null&&kY(Z,z)&&(B.flags|=32),B.memoizedState!==null&&(Z=CX($,B,tL,null,null,X),N9._currentValue=Z),W8($,B),J1($,B,Y,X),B.child;case 6:return $===null&&i0&&(X=B.pendingProps,$=e(),Y=$.ancestorInfo.current,X=Y!=null?F9(X,Y.tag,$.ancestorInfo.implicitRootScope):!0,$=P2,(Y=!$)||(Y=iq($,B.pendingProps,K4),Y!==null?(B.stateNode=Y,L1=B,P2=null,Y=!0):Y=!1,Y=!Y),Y&&(X&&S9(B,$),a7(B))),null;case 13:return BN($,B,X);case 4:return c(B,B.stateNode.containerInfo),Y=B.pendingProps,$===null?B.child=v3(B,null,Y,X):J1($,B,Y,X),B.child;case 11:return oW($,B,B.type,B.pendingProps,X);case 7:return J1($,B,B.pendingProps,X),B.child;case 8:return J1($,B,B.pendingProps.children,X),B.child;case 12:return B.flags|=4,B.flags|=2048,Y=B.stateNode,Y.effectDuration=-0,Y.passiveEffectDuration=-0,J1($,B,B.pendingProps.children,X),B.child;case 10:return Y=B.type,Z=B.pendingProps,G=Z.value,"value"in Z||lH||(lH=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),s7(B,Y,G),J1($,B,Z.children,X),B.child;case 9:return Z=B.type._context,Y=B.pendingProps.children,typeof Y!=="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."),c5(B),Z=m2(Z),Y=jZ(Y,Z,void 0),B.flags|=1,J1($,B,Y,X),B.child;case 14:return aW($,B,B.type,B.pendingProps,X);case 15:return sW($,B,B.type,B.pendingProps,X);case 19:return YN($,B,X);case 31:return Gq($,B,X);case 22:return iW($,B,X,B.pendingProps);case 24:return c5(B),Y=m2(p2),$===null?(Z=RX(),Z===null&&(Z=O2,G=UX(),Z.pooledCache=G,o5(G),G!==null&&(Z.pooledCacheLanes|=X),Z=G),B.memoizedState={parent:Y,cache:Z},MX(B),s7(B,p2,Z)):(($.lanes&X)!==0&&(FX($,B),r6(B,null,null,X),i6()),Z=$.memoizedState,G=B.memoizedState,Z.parent!==Y?(Z={parent:Y,cache:Y},B.memoizedState=Z,B.lanes===0&&(B.memoizedState=B.updateQueue.baseState=Z),s7(B,p2,Y)):(Y=G.cache,s7(B,p2,Y),Y!==Z.cache&&KX(B,[p2],X,!0))),J1($,B,B.pendingProps.children,X),B.child;case 29:throw B.pendingProps}throw Error("Unknown unit of work tag ("+B.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function M7($){$.flags|=4}function LY($,B,X,Y,Z){if(B=($.mode&IK)!==A0)B=!1;if(B){if($.flags|=16777216,(Z&335544128)===Z)if($.stateNode.complete)$.flags|=8192;else if(hN())$.flags|=8192;else throw N3=$B,EZ}else $.flags&=-16777217}function ZN($,B){if(B.type!=="stylesheet"||(B.state.loading&_4)!==R3)$.flags&=-16777217;else if($.flags|=16777216,!Sv(B))if(hN())$.flags|=8192;else throw N3=$B,EZ}function v8($,B){B!==null&&($.flags|=4),$.flags&16384&&(B=$.tag!==22?F4():536870912,$.lanes|=B,q3|=B)}function B$($,B){if(!i0)switch($.tailMode){case"hidden":B=$.tail;for(var X=null;B!==null;)B.alternate!==null&&(X=B),B=B.sibling;X===null?$.tail=null:X.sibling=null;break;case"collapsed":X=$.tail;for(var Y=null;X!==null;)X.alternate!==null&&(Y=X),X=X.sibling;Y===null?B||$.tail===null?$.tail=null:$.tail.sibling=null:Y.sibling=null}}function R2($){var B=$.alternate!==null&&$.alternate.child===$.child,X=0,Y=0;if(B)if(($.mode&k0)!==A0){for(var{selfBaseDuration:Z,child:G}=$;G!==null;)X|=G.lanes|G.childLanes,Y|=G.subtreeFlags&65011712,Y|=G.flags&65011712,Z+=G.treeBaseDuration,G=G.sibling;$.treeBaseDuration=Z}else for(Z=$.child;Z!==null;)X|=Z.lanes|Z.childLanes,Y|=Z.subtreeFlags&65011712,Y|=Z.flags&65011712,Z.return=$,Z=Z.sibling;else if(($.mode&k0)!==A0){Z=$.actualDuration,G=$.selfBaseDuration;for(var z=$.child;z!==null;)X|=z.lanes|z.childLanes,Y|=z.subtreeFlags,Y|=z.flags,Z+=z.actualDuration,G+=z.treeBaseDuration,z=z.sibling;$.actualDuration=Z,$.treeBaseDuration=G}else for(Z=$.child;Z!==null;)X|=Z.lanes|Z.childLanes,Y|=Z.subtreeFlags,Y|=Z.flags,Z.return=$,Z=Z.sibling;return $.subtreeFlags|=Y,$.childLanes=X,B}function Wq($,B,X){var Y=B.pendingProps;switch(QX(B),B.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return R2(B),null;case 1:return R2(B),null;case 3:if(X=B.stateNode,Y=null,$!==null&&(Y=$.memoizedState.cache),B.memoizedState.cache!==Y&&(B.flags|=2048),w7(p2,B),z0(B),X.pendingContext&&(X.context=X.pendingContext,X.pendingContext=null),$===null||$.child===null)y3(B)?(qX(),M7(B)):$===null||$.memoizedState.isDehydrated&&(B.flags&256)===0||(B.flags|=1024,LX());return R2(B),null;case 26:var{type:Z,memoizedState:G}=B;return $===null?(M7(B),G!==null?(R2(B),ZN(B,G)):(R2(B),LY(B,Z,null,Y,X))):G?G!==$.memoizedState?(M7(B),R2(B),ZN(B,G)):(R2(B),B.flags&=-16777217):($=$.memoizedProps,$!==Y&&M7(B),R2(B),LY(B,Z,$,Y,X)),null;case 27:if(a(B),X=G2(G5.current),Z=B.type,$!==null&&B.stateNode!=null)$.memoizedProps!==Y&&M7(B);else{if(!Y){if(B.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 R2(B),null}$=e(),y3(B)?oz(B,$):($=Iv(Z,Y,X,$,!0),B.stateNode=$,M7(B))}return R2(B),null;case 5:if(a(B),Z=B.type,$!==null&&B.stateNode!=null)$.memoizedProps!==Y&&M7(B);else{if(!Y){if(B.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 R2(B),null}var z=e();if(y3(B))oz(B,z);else{switch(G=G2(G5.current),tB(Z,z.ancestorInfo),z=z.context,G=O8(G),z){case C6:G=G.createElementNS(t3,Z);break;case IB:G=G.createElementNS(x8,Z);break;default:switch(Z){case"svg":G=G.createElementNS(t3,Z);break;case"math":G=G.createElementNS(x8,Z);break;case"script":G=G.createElement("div"),G.innerHTML="<script></script>",G=G.removeChild(G.firstChild);break;case"select":G=typeof Y.is==="string"?G.createElement("select",{is:Y.is}):G.createElement("select"),Y.multiple?G.multiple=!0:Y.size&&(G.size=Y.size);break;default:G=typeof Y.is==="string"?G.createElement(Z,{is:Y.is}):G.createElement(Z),Z.indexOf("-")===-1&&(Z!==Z.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",Z),Object.prototype.toString.call(G)!=="[object HTMLUnknownElement]"||C4.call(QQ,Z)||(QQ[Z]=!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.",Z)))}}G[Q1]=B,G[F1]=Y;$:for(z=B.child;z!==null;){if(z.tag===5||z.tag===6)G.appendChild(z.stateNode);else if(z.tag!==4&&z.tag!==27&&z.child!==null){z.child.return=z,z=z.child;continue}if(z===B)break $;for(;z.sibling===null;){if(z.return===null||z.return===B)break $;z=z.return}z.sibling.return=z.return,z=z.sibling}B.stateNode=G;$:switch(H1(G,Z,Y),Z){case"button":case"input":case"select":case"textarea":Y=!!Y.autoFocus;break $;case"img":Y=!0;break $;default:Y=!1}Y&&M7(B)}}return R2(B),LY(B,B.type,$===null?null:$.memoizedProps,B.pendingProps,X),null;case 6:if($&&B.stateNode!=null)$.memoizedProps!==Y&&M7(B);else{if(typeof Y!=="string"&&B.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($=G2(G5.current),X=e(),y3(B)){if($=B.stateNode,X=B.memoizedProps,Z=!v7,Y=null,G=L1,G!==null)switch(G.tag){case 3:Z&&(Z=Av($,X,Y),Z!==null&&(d5(B,0).serverProps=Z));break;case 27:case 5:Y=G.memoizedProps,Z&&(Z=Av($,X,Y),Z!==null&&(d5(B,0).serverProps=Z))}$[Q1]=B,$=$.nodeValue===X||Y!==null&&Y.suppressHydrationWarning===!0||vv($.nodeValue,X)?!0:!1,$||a7(B,!0)}else Z=X.ancestorInfo.current,Z!=null&&F9(Y,Z.tag,X.ancestorInfo.implicitRootScope),$=O8($).createTextNode(Y),$[Q1]=B,B.stateNode=$}return R2(B),null;case 31:if(X=B.memoizedState,$===null||$.memoizedState!==null){if(Y=y3(B),X!==null){if($===null){if(!Y)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if($=B.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");$[Q1]=B,R2(B),(B.mode&k0)!==A0&&X!==null&&($=B.child,$!==null&&(B.treeBaseDuration-=$.treeBaseDuration))}else qX(),p5(),(B.flags&128)===0&&(X=B.memoizedState=null),B.flags|=4,R2(B),(B.mode&k0)!==A0&&X!==null&&($=B.child,$!==null&&(B.treeBaseDuration-=$.treeBaseDuration));$=!1}else X=LX(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=X),$=!0;if(!$){if(B.flags&256)return s1(B),B;return s1(B),null}if((B.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return R2(B),null;case 13:if(Y=B.memoizedState,$===null||$.memoizedState!==null&&$.memoizedState.dehydrated!==null){if(Z=Y,G=y3(B),Z!==null&&Z.dehydrated!==null){if($===null){if(!G)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(G=B.memoizedState,G=G!==null?G.dehydrated:null,!G)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");G[Q1]=B,R2(B),(B.mode&k0)!==A0&&Z!==null&&(Z=B.child,Z!==null&&(B.treeBaseDuration-=Z.treeBaseDuration))}else qX(),p5(),(B.flags&128)===0&&(Z=B.memoizedState=null),B.flags|=4,R2(B),(B.mode&k0)!==A0&&Z!==null&&(Z=B.child,Z!==null&&(B.treeBaseDuration-=Z.treeBaseDuration));Z=!1}else Z=LX(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=Z),Z=!0;if(!Z){if(B.flags&256)return s1(B),B;return s1(B),null}}if(s1(B),(B.flags&128)!==0)return B.lanes=X,(B.mode&k0)!==A0&&o6(B),B;return X=Y!==null,$=$!==null&&$.memoizedState!==null,X&&(Y=B.child,Z=null,Y.alternate!==null&&Y.alternate.memoizedState!==null&&Y.alternate.memoizedState.cachePool!==null&&(Z=Y.alternate.memoizedState.cachePool.pool),G=null,Y.memoizedState!==null&&Y.memoizedState.cachePool!==null&&(G=Y.memoizedState.cachePool.pool),G!==Z&&(Y.flags|=2048)),X!==$&&X&&(B.child.flags|=8192),v8(B,B.updateQueue),R2(B),(B.mode&k0)!==A0&&X&&($=B.child,$!==null&&(B.treeBaseDuration-=$.treeBaseDuration)),null;case 4:return z0(B),$===null&&TY(B.stateNode.containerInfo),R2(B),null;case 10:return w7(B.type,B),R2(B),null;case 19:if(S0(l2,B),Y=B.memoizedState,Y===null)return R2(B),null;if(Z=(B.flags&128)!==0,G=Y.rendering,G===null)if(Z)B$(Y,!1);else{if(x2!==k7||$!==null&&($.flags&128)!==0)for($=B.child;$!==null;){if(G=o9($),G!==null){B.flags|=128,B$(Y,!1),$=G.updateQueue,B.updateQueue=$,v8(B,$),B.subtreeFlags=0,$=X;for(X=B.child;X!==null;)Ez(X,$),X=X.sibling;return M0(l2,l2.current&K6|p$,B),i0&&O7(B,Y.treeForkCount),B.child}$=$.sibling}Y.tail!==null&&G1()>LB&&(B.flags|=128,Z=!0,B$(Y,!1),B.lanes=4194304)}else{if(!Z)if($=o9(G),$!==null){if(B.flags|=128,Z=!0,$=$.updateQueue,B.updateQueue=$,v8(B,$),B$(Y,!0),Y.tail===null&&Y.tailMode==="hidden"&&!G.alternate&&!i0)return R2(B),null}else 2*G1()-Y.renderingStartTime>LB&&X!==536870912&&(B.flags|=128,Z=!0,B$(Y,!1),B.lanes=4194304);Y.isBackwards?(G.sibling=B.child,B.child=G):($=Y.last,$!==null?$.sibling=G:B.child=G,Y.last=G)}if(Y.tail!==null)return $=Y.tail,Y.rendering=$,Y.tail=$.sibling,Y.renderingStartTime=G1(),$.sibling=null,X=l2.current,X=Z?X&K6|p$:X&K6,M0(l2,X,B),i0&&O7(B,Y.treeForkCount),$;return R2(B),null;case 22:case 23:return s1(B),PX(B),Y=B.memoizedState!==null,$!==null?$.memoizedState!==null!==Y&&(B.flags|=8192):Y&&(B.flags|=8192),Y?(X&536870912)!==0&&(B.flags&128)===0&&(R2(B),B.subtreeFlags&6&&(B.flags|=8192)):R2(B),X=B.updateQueue,X!==null&&v8(B,X.retryQueue),X=null,$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(X=$.memoizedState.cachePool.pool),Y=null,B.memoizedState!==null&&B.memoizedState.cachePool!==null&&(Y=B.memoizedState.cachePool.pool),Y!==X&&(B.flags|=2048),$!==null&&S0(z3,B),null;case 24:return X=null,$!==null&&(X=$.memoizedState.cache),B.memoizedState.cache!==X&&(B.flags|=2048),w7(p2,B),R2(B),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+B.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Nq($,B){switch(QX(B),B.tag){case 1:return $=B.flags,$&65536?(B.flags=$&-65537|128,(B.mode&k0)!==A0&&o6(B),B):null;case 3:return w7(p2,B),z0(B),$=B.flags,($&65536)!==0&&($&128)===0?(B.flags=$&-65537|128,B):null;case 26:case 27:case 5:return a(B),null;case 31:if(B.memoizedState!==null){if(s1(B),B.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");p5()}return $=B.flags,$&65536?(B.flags=$&-65537|128,(B.mode&k0)!==A0&&o6(B),B):null;case 13:if(s1(B),$=B.memoizedState,$!==null&&$.dehydrated!==null){if(B.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");p5()}return $=B.flags,$&65536?(B.flags=$&-65537|128,(B.mode&k0)!==A0&&o6(B),B):null;case 19:return S0(l2,B),null;case 4:return z0(B),null;case 10:return w7(B.type,B),null;case 22:case 23:return s1(B),PX(B),$!==null&&S0(z3,B),$=B.flags,$&65536?(B.flags=$&-65537|128,(B.mode&k0)!==A0&&o6(B),B):null;case 24:return w7(p2,B),null;case 25:return null;default:return null}}function GN($,B){switch(QX(B),B.tag){case 3:w7(p2,B),z0(B);break;case 26:case 27:case 5:a(B);break;case 4:z0(B);break;case 31:B.memoizedState!==null&&s1(B);break;case 13:s1(B);break;case 19:S0(l2,B);break;case 10:w7(B.type,B);break;case 22:case 23:s1(B),PX(B),$!==null&&S0(z3,B);break;case 24:w7(p2,B)}}function r4($){return($.mode&k0)!==A0}function zN($,B){r4($)?(i4(),X$(B,$),s4()):X$(B,$)}function qY($,B,X){r4($)?(i4(),j3(X,$,B),s4()):j3(X,$,B)}function X$($,B){try{var X=B.updateQueue,Y=X!==null?X.lastEffect:null;if(Y!==null){var Z=Y.next;X=Z;do{if((X.tag&$)===$&&(Y=void 0,($&b1)!==XB&&(P6=!0),Y=s(B,fK,X),($&b1)!==XB&&(P6=!1),Y!==void 0&&typeof Y!=="function")){var G=void 0;G=(X.tag&X4)!==0?"useLayoutEffect":(X.tag&b1)!==0?"useInsertionEffect":"useEffect";var z=void 0;z=Y===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof Y.then==="function"?`
141
+
142
+ It looks like you wrote `+G+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
143
+
144
+ `+G+`(() => {
145
+ async function fetchData() {
146
+ // You can await here
147
+ const response = await MyAPI.getData(someId);
148
+ // ...
149
+ }
150
+ fetchData();
151
+ }, [someId]); // Or [] if effect doesn't need props or state
152
+
153
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+Y,s(B,function(W,J){console.error("%s must not return anything besides a function, which is used for clean-up.%s",W,J)},G,z)}X=X.next}while(X!==Z)}}catch(W){H2(B,B.return,W)}}function j3($,B,X){try{var Y=B.updateQueue,Z=Y!==null?Y.lastEffect:null;if(Z!==null){var G=Z.next;Y=G;do{if((Y.tag&$)===$){var z=Y.inst,W=z.destroy;W!==void 0&&(z.destroy=void 0,($&b1)!==XB&&(P6=!0),Z=B,s(Z,yK,Z,X,W),($&b1)!==XB&&(P6=!1))}Y=Y.next}while(Y!==G)}}catch(J){H2(B,B.return,J)}}function WN($,B){r4($)?(i4(),X$(B,$),s4()):X$(B,$)}function gY($,B,X){r4($)?(i4(),j3(X,$,B),s4()):j3(X,$,B)}function NN($){var B=$.updateQueue;if(B!==null){var X=$.stateNode;$.type.defaultProps||"ref"in $.memoizedProps||R6||(X.props!==$.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($)||"instance"),X.state!==$.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($)||"instance"));try{s($,JW,B,X)}catch(Y){H2($,$.return,Y)}}}function vq($,B,X){return $.getSnapshotBeforeUpdate(B,X)}function Jq($,B){var{memoizedProps:X,memoizedState:Y}=B;B=$.stateNode,$.type.defaultProps||"ref"in $.memoizedProps||R6||(B.props!==$.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($)||"instance"),B.state!==$.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($)||"instance"));try{var Z=r5($.type,X),G=s($,vq,B,Z,Y);X=dH,G!==void 0||X.has($.type)||(X.add($.type),s($,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",i($))})),B.__reactInternalSnapshotBeforeUpdate=G}catch(z){H2($,$.return,z)}}function vN($,B,X){X.props=r5($.type,$.memoizedProps),X.state=$.memoizedState,r4($)?(i4(),s($,NH,$,B,X),s4()):s($,NH,$,B,X)}function Hq($){var B=$.ref;if(B!==null){switch($.tag){case 26:case 27:case 5:var X=$.stateNode;break;case 30:X=$.stateNode;break;default:X=$.stateNode}if(typeof B==="function")if(r4($))try{i4(),$.refCleanup=B(X)}finally{s4()}else $.refCleanup=B(X);else typeof B==="string"?console.error("String refs are no longer supported."):B.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",i($)),B.current=X}}function Y$($,B){try{s($,Hq,$)}catch(X){H2($,B,X)}}function n4($,B){var{ref:X,refCleanup:Y}=$;if(X!==null)if(typeof Y==="function")try{if(r4($))try{i4(),s($,Y)}finally{s4($)}else s($,Y)}catch(Z){H2($,B,Z)}finally{$.refCleanup=null,$=$.alternate,$!=null&&($.refCleanup=null)}else if(typeof X==="function")try{if(r4($))try{i4(),s($,X,null)}finally{s4($)}else s($,X,null)}catch(Z){H2($,B,Z)}else X.current=null}function JN($,B,X,Y){var Z=$.memoizedProps,G=Z.id,z=Z.onCommit;Z=Z.onRender,B=B===null?"mount":"update",r8&&(B="nested-update"),typeof Z==="function"&&Z(G,B,$.actualDuration,$.treeBaseDuration,$.actualStartTime,X),typeof z==="function"&&z(G,B,Y,X)}function Qq($,B,X,Y){var Z=$.memoizedProps;$=Z.id,Z=Z.onPostCommit,B=B===null?"mount":"update",r8&&(B="nested-update"),typeof Z==="function"&&Z($,B,Y,X)}function HN($){var{type:B,memoizedProps:X,stateNode:Y}=$;try{s($,hq,Y,B,X,$)}catch(Z){H2($,$.return,Z)}}function KY($,B,X){try{s($,jq,$.stateNode,$.type,X,B,$)}catch(Y){H2($,$.return,Y)}}function QN($){return $.tag===5||$.tag===3||$.tag===26||$.tag===27&&Y5($.type)||$.tag===4}function UY($){$:for(;;){for(;$.sibling===null;){if($.return===null||QN($.return))return null;$=$.return}$.sibling.return=$.return;for($=$.sibling;$.tag!==5&&$.tag!==6&&$.tag!==18;){if($.tag===27&&Y5($.type))continue $;if($.flags&2)continue $;if($.child===null||$.tag===4)continue $;else $.child.return=$,$=$.child}if(!($.flags&2))return $.stateNode}}function OY($,B,X){var Y=$.tag;if(Y===5||Y===6)$=$.stateNode,B?(wv(X),(X.nodeType===9?X.body:X.nodeName==="HTML"?X.ownerDocument.body:X).insertBefore($,B)):(wv(X),B=X.nodeType===9?X.body:X.nodeName==="HTML"?X.ownerDocument.body:X,B.appendChild($),X=X._reactRootContainer,X!==null&&X!==void 0||B.onclick!==null||(B.onclick=K7));else if(Y!==4&&(Y===27&&Y5($.type)&&(X=$.stateNode,B=null),$=$.child,$!==null))for(OY($,B,X),$=$.sibling;$!==null;)OY($,B,X),$=$.sibling}function J8($,B,X){var Y=$.tag;if(Y===5||Y===6)$=$.stateNode,B?X.insertBefore($,B):X.appendChild($);else if(Y!==4&&(Y===27&&Y5($.type)&&(X=$.stateNode),$=$.child,$!==null))for(J8($,B,X),$=$.sibling;$!==null;)J8($,B,X),$=$.sibling}function Lq($){for(var B,X=$.return;X!==null;){if(QN(X)){B=X;break}X=X.return}if(B==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(B.tag){case 27:B=B.stateNode,X=UY($),J8($,X,B);break;case 5:X=B.stateNode,B.flags&32&&(Ov(X),B.flags&=-33),B=UY($),J8($,B,X);break;case 3:case 4:B=B.stateNode.containerInfo,X=UY($),OY($,X,B);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function LN($){var{stateNode:B,memoizedProps:X}=$;try{s($,$g,$.type,X,B,$)}catch(Y){H2($,$.return,Y)}}function qN($,B){return B.tag===31?(B=B.memoizedState,$.memoizedState!==null&&B===null):B.tag===13?($=$.memoizedState,B=B.memoizedState,$!==null&&$.dehydrated!==null&&(B===null||B.dehydrated===null)):B.tag===3?$.memoizedState.isDehydrated&&(B.flags&256)===0:!1}function qq($,B){if($=$.containerInfo,UG=TB,$=Tz($),BX($)){if("selectionStart"in $)var X={start:$.selectionStart,end:$.selectionEnd};else $:{X=(X=$.ownerDocument)&&X.defaultView||window;var Y=X.getSelection&&X.getSelection();if(Y&&Y.rangeCount!==0){X=Y.anchorNode;var{anchorOffset:Z,focusNode:G}=Y;Y=Y.focusOffset;try{X.nodeType,G.nodeType}catch(r){X=null;break $}var z=0,W=-1,J=-1,Q=0,A=0,P=$,O=null;B:for(;;){for(var f;;){if(P!==X||Z!==0&&P.nodeType!==3||(W=z+Z),P!==G||Y!==0&&P.nodeType!==3||(J=z+Y),P.nodeType===3&&(z+=P.nodeValue.length),(f=P.firstChild)===null)break;O=P,P=f}for(;;){if(P===$)break B;if(O===X&&++Q===Z&&(W=z),O===G&&++A===Y&&(J=z),(f=P.nextSibling)!==null)break;P=O,O=P.parentNode}P=f}X=W===-1||J===-1?null:{start:W,end:J}}else X=null}X=X||{start:0,end:0}}else X=null;OG={focusedElem:$,selectionRange:X},TB=!1;for(W1=B;W1!==null;)if(B=W1,$=B.child,(B.subtreeFlags&1028)!==0&&$!==null)$.return=B,W1=$;else for(;W1!==null;){switch($=B=W1,X=$.alternate,Z=$.flags,$.tag){case 0:if((Z&4)!==0&&($=$.updateQueue,$=$!==null?$.events:null,$!==null))for(X=0;X<$.length;X++)Z=$[X],Z.ref.impl=Z.nextImpl;break;case 11:case 15:break;case 1:(Z&1024)!==0&&X!==null&&Jq($,X);break;case 3:if((Z&1024)!==0){if($=$.stateNode.containerInfo,X=$.nodeType,X===9)jY($);else if(X===1)switch($.nodeName){case"HEAD":case"HTML":case"BODY":jY($);break;default:$.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((Z&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($=B.sibling,$!==null){$.return=B.return,W1=$;break}W1=B.return}}function gN($,B,X){var Y=o1(),Z=p4(),G=o4(),z=a4(),W=X.flags;switch(X.tag){case 0:case 11:case 15:t4($,X),W&4&&zN(X,X4|w4);break;case 1:if(t4($,X),W&4)if($=X.stateNode,B===null)X.type.defaultProps||"ref"in X.memoizedProps||R6||($.props!==X.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(X)||"instance"),$.state!==X.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(X)||"instance")),r4(X)?(i4(),s(X,VZ,X,$),s4()):s(X,VZ,X,$);else{var J=r5(X.type,B.memoizedProps);B=B.memoizedState,X.type.defaultProps||"ref"in X.memoizedProps||R6||($.props!==X.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(X)||"instance"),$.state!==X.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(X)||"instance")),r4(X)?(i4(),s(X,GH,X,$,J,B,$.__reactInternalSnapshotBeforeUpdate),s4()):s(X,GH,X,$,J,B,$.__reactInternalSnapshotBeforeUpdate)}W&64&&NN(X),W&512&&Y$(X,X.return);break;case 3:if(B=R7(),t4($,X),W&64&&(W=X.updateQueue,W!==null)){if(J=null,X.child!==null)switch(X.child.tag){case 27:case 5:J=X.child.stateNode;break;case 1:J=X.child.stateNode}try{s(X,JW,W,J)}catch(A){H2(X,X.return,A)}}$.effectDuration+=k9(B);break;case 27:B===null&&W&4&&LN(X);case 26:case 5:if(t4($,X),B===null){if(W&4)HN(X);else if(W&64){$=X.type,B=X.memoizedProps,J=X.stateNode;try{s(X,kq,J,$,B,X)}catch(A){H2(X,X.return,A)}}}W&512&&Y$(X,X.return);break;case 12:if(W&4){W=R7(),t4($,X),$=X.stateNode,$.effectDuration+=c6(W);try{s(X,JN,X,B,L5,$.effectDuration)}catch(A){H2(X,X.return,A)}}else t4($,X);break;case 31:t4($,X),W&4&&ON($,X);break;case 13:t4($,X),W&4&&wN($,X),W&64&&($=X.memoizedState,$!==null&&($=$.dehydrated,$!==null&&(W=Fq.bind(null,X),rq($,W))));break;case 22:if(W=X.memoizedState!==null||h7,!W){B=B!==null&&B.memoizedState!==null||s2,J=h7;var Q=s2;h7=W,(s2=B)&&!Q?(e4($,X,(X.subtreeFlags&8772)!==0),(X.mode&k0)!==A0&&0<=g0&&0<=O0&&0.05<O0-g0&&b9(X,g0,O0)):t4($,X),h7=J,s2=Q}break;case 30:break;default:t4($,X)}(X.mode&k0)!==A0&&0<=g0&&0<=O0&&((j2||0.05<u2)&&l4(X,g0,O0,u2,T2),X.alternate===null&&X.return!==null&&X.return.alternate!==null&&0.05<O0-g0&&(qN(X.return.alternate,X.return)||D4(X,g0,O0,"Mount"))),a1(Y),c4(Z),T2=G,j2=z}function KN($){var B=$.alternate;B!==null&&($.alternate=null,KN(B)),$.child=null,$.deletions=null,$.sibling=null,$.tag===5&&(B=$.stateNode,B!==null&&o(B)),$.stateNode=null,$._debugOwner=null,$.return=null,$.dependencies=null,$.memoizedProps=null,$.memoizedState=null,$.pendingProps=null,$.stateNode=null,$.updateQueue=null}function F7($,B,X){for(X=X.child;X!==null;)UN($,B,X),X=X.sibling}function UN($,B,X){if(U1&&typeof U1.onCommitFiberUnmount==="function")try{U1.onCommitFiberUnmount(r3,X)}catch(Q){G7||(G7=!0,console.error("React instrumentation encountered an error: %o",Q))}var Y=o1(),Z=p4(),G=o4(),z=a4();switch(X.tag){case 26:s2||n4(X,B),F7($,B,X),X.memoizedState?X.memoizedState.count--:X.stateNode&&($=X.stateNode,$.parentNode.removeChild($));break;case 27:s2||n4(X,B);var W=i2,J=j1;Y5(X.type)&&(i2=X.stateNode,j1=!1),F7($,B,X),s(X,Q$,X.stateNode),i2=W,j1=J;break;case 5:s2||n4(X,B);case 6:if(W=i2,J=j1,i2=null,F7($,B,X),i2=W,j1=J,i2!==null)if(j1)try{s(X,Dq,i2,X.stateNode)}catch(Q){H2(X,B,Q)}else try{s(X,Eq,i2,X.stateNode)}catch(Q){H2(X,B,Q)}break;case 18:i2!==null&&(j1?($=i2,Rv($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$,X.stateNode),o3($)):Rv(i2,X.stateNode));break;case 4:W=i2,J=j1,i2=X.stateNode.containerInfo,j1=!0,F7($,B,X),i2=W,j1=J;break;case 0:case 11:case 14:case 15:j3(b1,X,B),s2||qY(X,B,X4),F7($,B,X);break;case 1:s2||(n4(X,B),W=X.stateNode,typeof W.componentWillUnmount==="function"&&vN(X,B,W)),F7($,B,X);break;case 21:F7($,B,X);break;case 22:s2=(W=s2)||X.memoizedState!==null,F7($,B,X),s2=W;break;default:F7($,B,X)}(X.mode&k0)!==A0&&0<=g0&&0<=O0&&(j2||0.05<u2)&&l4(X,g0,O0,u2,T2),a1(Y),c4(Z),T2=G,j2=z}function ON($,B){if(B.memoizedState===null&&($=B.alternate,$!==null&&($=$.memoizedState,$!==null))){$=$.dehydrated;try{s(B,tq,$)}catch(X){H2(B,B.return,X)}}}function wN($,B){if(B.memoizedState===null&&($=B.alternate,$!==null&&($=$.memoizedState,$!==null&&($=$.dehydrated,$!==null))))try{s(B,eq,$)}catch(X){H2(B,B.return,X)}}function gq($){switch($.tag){case 31:case 13:case 19:var B=$.stateNode;return B===null&&(B=$.stateNode=new pH),B;case 22:return $=$.stateNode,B=$._retryCache,B===null&&(B=$._retryCache=new pH),B;default:throw Error("Unexpected Suspense handler tag ("+$.tag+"). This is a bug in React.")}}function H8($,B){var X=gq($);B.forEach(function(Y){if(!X.has(Y)){if(X.add(Y),z7)if(_6!==null&&M6!==null)W$(M6,_6);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var Z=Aq.bind(null,$,Y);Y.then(Z,Z)}})}function h1($,B){var X=B.deletions;if(X!==null)for(var Y=0;Y<X.length;Y++){var Z=$,G=B,z=X[Y],W=o1(),J=G;$:for(;J!==null;){switch(J.tag){case 27:if(Y5(J.type)){i2=J.stateNode,j1=!1;break $}break;case 5:i2=J.stateNode,j1=!1;break $;case 3:case 4:i2=J.stateNode.containerInfo,j1=!0;break $}J=J.return}if(i2===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");UN(Z,G,z),i2=null,j1=!1,(z.mode&k0)!==A0&&0<=g0&&0<=O0&&0.05<O0-g0&&D4(z,g0,O0,"Unmount"),a1(W),Z=z,G=Z.alternate,G!==null&&(G.return=null),Z.return=null}if(B.subtreeFlags&13886)for(B=B.child;B!==null;)RN(B,$),B=B.sibling}function RN($,B){var X=o1(),Y=p4(),Z=o4(),G=a4(),z=$.alternate,W=$.flags;switch($.tag){case 0:case 11:case 14:case 15:h1(B,$),k1($),W&4&&(j3(b1|w4,$,$.return),X$(b1|w4,$),qY($,$.return,X4|w4));break;case 1:if(h1(B,$),k1($),W&512&&(s2||z===null||n4(z,z.return)),W&64&&h7&&(W=$.updateQueue,W!==null&&(z=W.callbacks,z!==null))){var J=W.shared.hiddenCallbacks;W.shared.hiddenCallbacks=J===null?z:J.concat(z)}break;case 26:if(J=S4,h1(B,$),k1($),W&512&&(s2||z===null||n4(z,z.return)),W&4){var Q=z!==null?z.memoizedState:null;if(W=$.memoizedState,z===null)if(W===null)if($.stateNode===null){$:{W=$.type,z=$.memoizedProps,J=J.ownerDocument||J;B:switch(W){case"title":if(Q=J.getElementsByTagName("title")[0],!Q||Q[w$]||Q[Q1]||Q.namespaceURI===t3||Q.hasAttribute("itemprop"))Q=J.createElement(W),J.head.insertBefore(Q,J.querySelector("head > title"));H1(Q,W,z),Q[Q1]=$,H0(Q),W=Q;break $;case"link":var A=fv("link","href",J).get(W+(z.href||""));if(A){for(var P=0;P<A.length;P++)if(Q=A[P],Q.getAttribute("href")===(z.href==null||z.href===""?null:z.href)&&Q.getAttribute("rel")===(z.rel==null?null:z.rel)&&Q.getAttribute("title")===(z.title==null?null:z.title)&&Q.getAttribute("crossorigin")===(z.crossOrigin==null?null:z.crossOrigin)){A.splice(P,1);break B}}Q=J.createElement(W),H1(Q,W,z),J.head.appendChild(Q);break;case"meta":if(A=fv("meta","content",J).get(W+(z.content||""))){for(P=0;P<A.length;P++)if(Q=A[P],m0(z.content,"content"),Q.getAttribute("content")===(z.content==null?null:""+z.content)&&Q.getAttribute("name")===(z.name==null?null:z.name)&&Q.getAttribute("property")===(z.property==null?null:z.property)&&Q.getAttribute("http-equiv")===(z.httpEquiv==null?null:z.httpEquiv)&&Q.getAttribute("charset")===(z.charSet==null?null:z.charSet)){A.splice(P,1);break B}}Q=J.createElement(W),H1(Q,W,z),J.head.appendChild(Q);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+W+'". This is a bug in React.')}Q[Q1]=$,H0(Q),W=Q}$.stateNode=W}else yv(J,$.type,$.stateNode);else $.stateNode=Tv(J,W,$.memoizedProps);else Q!==W?(Q===null?z.stateNode!==null&&(z=z.stateNode,z.parentNode.removeChild(z)):Q.count--,W===null?yv(J,$.type,$.stateNode):Tv(J,W,$.memoizedProps)):W===null&&$.stateNode!==null&&KY($,$.memoizedProps,z.memoizedProps)}break;case 27:h1(B,$),k1($),W&512&&(s2||z===null||n4(z,z.return)),z!==null&&W&4&&KY($,$.memoizedProps,z.memoizedProps);break;case 5:if(h1(B,$),k1($),W&512&&(s2||z===null||n4(z,z.return)),$.flags&32){J=$.stateNode;try{s($,Ov,J)}catch(X0){H2($,$.return,X0)}}W&4&&$.stateNode!=null&&(J=$.memoizedProps,KY($,J,z!==null?z.memoizedProps:J)),W&1024&&(tZ=!0,$.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(h1(B,$),k1($),W&4){if($.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.");W=$.memoizedProps,z=z!==null?z.memoizedProps:W,J=$.stateNode;try{s($,Vq,J,z,W)}catch(X0){H2($,$.return,X0)}}break;case 3:if(J=R7(),bB=null,Q=S4,S4=w8(B.containerInfo),h1(B,$),S4=Q,k1($),W&4&&z!==null&&z.memoizedState.isDehydrated)try{s($,nq,B.containerInfo)}catch(X0){H2($,$.return,X0)}tZ&&(tZ=!1,_N($)),B.effectDuration+=k9(J);break;case 4:W=S4,S4=w8($.stateNode.containerInfo),h1(B,$),k1($),S4=W;break;case 12:W=R7(),h1(B,$),k1($),$.stateNode.effectDuration+=c6(W);break;case 31:h1(B,$),k1($),W&4&&(W=$.updateQueue,W!==null&&($.updateQueue=null,H8($,W)));break;case 13:h1(B,$),k1($),$.child.flags&8192&&$.memoizedState!==null!==(z!==null&&z.memoizedState!==null)&&(QB=G1()),W&4&&(W=$.updateQueue,W!==null&&($.updateQueue=null,H8($,W)));break;case 22:J=$.memoizedState!==null;var O=z!==null&&z.memoizedState!==null,f=h7,r=s2;if(h7=f||J,s2=r||O,h1(B,$),s2=r,h7=f,O&&!J&&!f&&!r&&($.mode&k0)!==A0&&0<=g0&&0<=O0&&0.05<O0-g0&&b9($,g0,O0),k1($),W&8192)$:for(B=$.stateNode,B._visibility=J?B._visibility&~C$:B._visibility|C$,!J||z===null||O||h7||s2||(n5($),($.mode&k0)!==A0&&0<=g0&&0<=O0&&0.05<O0-g0&&D4($,g0,O0,"Disconnect")),z=null,B=$;;){if(B.tag===5||B.tag===26){if(z===null){O=z=B;try{Q=O.stateNode,J?s(O,dq,Q):s(O,oq,O.stateNode,O.memoizedProps)}catch(X0){H2(O,O.return,X0)}}}else if(B.tag===6){if(z===null){O=B;try{A=O.stateNode,J?s(O,pq,A):s(O,aq,A,O.memoizedProps)}catch(X0){H2(O,O.return,X0)}}}else if(B.tag===18){if(z===null){O=B;try{P=O.stateNode,J?s(O,lq,P):s(O,cq,O.stateNode)}catch(X0){H2(O,O.return,X0)}}}else if((B.tag!==22&&B.tag!==23||B.memoizedState===null||B===$)&&B.child!==null){B.child.return=B,B=B.child;continue}if(B===$)break $;for(;B.sibling===null;){if(B.return===null||B.return===$)break $;z===B&&(z=null),B=B.return}z===B&&(z=null),B.sibling.return=B.return,B=B.sibling}W&4&&(W=$.updateQueue,W!==null&&(z=W.retryQueue,z!==null&&(W.retryQueue=null,H8($,z))));break;case 19:h1(B,$),k1($),W&4&&(W=$.updateQueue,W!==null&&($.updateQueue=null,H8($,W)));break;case 30:break;case 21:break;default:h1(B,$),k1($)}($.mode&k0)!==A0&&0<=g0&&0<=O0&&((j2||0.05<u2)&&l4($,g0,O0,u2,T2),$.alternate===null&&$.return!==null&&$.return.alternate!==null&&0.05<O0-g0&&(qN($.return.alternate,$.return)||D4($,g0,O0,"Mount"))),a1(X),c4(Y),T2=Z,j2=G}function k1($){var B=$.flags;if(B&2){try{s($,Lq,$)}catch(X){H2($,$.return,X)}$.flags&=-3}B&4096&&($.flags&=-4097)}function _N($){if($.subtreeFlags&1024)for($=$.child;$!==null;){var B=$;_N(B),B.tag===5&&B.flags&1024&&B.stateNode.reset(),$=$.sibling}}function t4($,B){if(B.subtreeFlags&8772)for(B=B.child;B!==null;)gN($,B.alternate,B),B=B.sibling}function MN($){var B=o1(),X=p4(),Y=o4(),Z=a4();switch($.tag){case 0:case 11:case 14:case 15:qY($,$.return,X4),n5($);break;case 1:n4($,$.return);var G=$.stateNode;typeof G.componentWillUnmount==="function"&&vN($,$.return,G),n5($);break;case 27:s($,Q$,$.stateNode);case 26:case 5:n4($,$.return),n5($);break;case 22:$.memoizedState===null&&n5($);break;case 30:n5($);break;default:n5($)}($.mode&k0)!==A0&&0<=g0&&0<=O0&&(j2||0.05<u2)&&l4($,g0,O0,u2,T2),a1(B),c4(X),T2=Y,j2=Z}function n5($){for($=$.child;$!==null;)MN($),$=$.sibling}function FN($,B,X,Y){var Z=o1(),G=p4(),z=o4(),W=a4(),J=X.flags;switch(X.tag){case 0:case 11:case 15:e4($,X,Y),zN(X,X4);break;case 1:if(e4($,X,Y),B=X.stateNode,typeof B.componentDidMount==="function"&&s(X,VZ,X,B),B=X.updateQueue,B!==null){$=X.stateNode;try{s(X,nL,B,$)}catch(Q){H2(X,X.return,Q)}}Y&&J&64&&NN(X),Y$(X,X.return);break;case 27:LN(X);case 26:case 5:e4($,X,Y),Y&&B===null&&J&4&&HN(X),Y$(X,X.return);break;case 12:if(Y&&J&4){J=R7(),e4($,X,Y),Y=X.stateNode,Y.effectDuration+=c6(J);try{s(X,JN,X,B,L5,Y.effectDuration)}catch(Q){H2(X,X.return,Q)}}else e4($,X,Y);break;case 31:e4($,X,Y),Y&&J&4&&ON($,X);break;case 13:e4($,X,Y),Y&&J&4&&wN($,X);break;case 22:X.memoizedState===null&&e4($,X,Y),Y$(X,X.return);break;case 30:break;default:e4($,X,Y)}(X.mode&k0)!==A0&&0<=g0&&0<=O0&&(j2||0.05<u2)&&l4(X,g0,O0,u2,T2),a1(Z),c4(G),T2=z,j2=W}function e4($,B,X){X=X&&(B.subtreeFlags&8772)!==0;for(B=B.child;B!==null;)FN($,B.alternate,B,X),B=B.sibling}function wY($,B){var X=null;$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(X=$.memoizedState.cachePool.pool),$=null,B.memoizedState!==null&&B.memoizedState.cachePool!==null&&($=B.memoizedState.cachePool.pool),$!==X&&($!=null&&o5($),X!=null&&p6(X))}function RY($,B){$=null,B.alternate!==null&&($=B.alternate.memoizedState.cache),B=B.memoizedState.cache,B!==$&&(o5(B),$!=null&&p6($))}function b4($,B,X,Y,Z){if(B.subtreeFlags&10256||B.actualDuration!==0&&(B.alternate===null||B.alternate.child!==B.child))for(B=B.child;B!==null;){var G=B.sibling;AN($,B,X,Y,G!==null?G.actualStartTime:Z),B=G}}function AN($,B,X,Y,Z){var G=o1(),z=p4(),W=o4(),J=a4(),Q=v5,A=B.flags;switch(B.tag){case 0:case 11:case 15:(B.mode&k0)!==A0&&0<B.actualStartTime&&(B.flags&1)!==0&&C9(B,B.actualStartTime,Z,e2,X),b4($,B,X,Y,Z),A&2048&&WN(B,C1|w4);break;case 1:(B.mode&k0)!==A0&&0<B.actualStartTime&&((B.flags&128)!==0?YX(B,B.actualStartTime,Z,[]):(B.flags&1)!==0&&C9(B,B.actualStartTime,Z,e2,X)),b4($,B,X,Y,Z);break;case 3:var P=R7(),O=e2;e2=B.alternate!==null&&B.alternate.memoizedState.isDehydrated&&(B.flags&256)===0,b4($,B,X,Y,Z),e2=O,A&2048&&(X=null,B.alternate!==null&&(X=B.alternate.memoizedState.cache),Y=B.memoizedState.cache,Y!==X&&(o5(Y),X!=null&&p6(X))),$.passiveEffectDuration+=k9(P);break;case 12:if(A&2048){A=R7(),b4($,B,X,Y,Z),$=B.stateNode,$.passiveEffectDuration+=c6(A);try{s(B,Qq,B,B.alternate,L5,$.passiveEffectDuration)}catch(f){H2(B,B.return,f)}}else b4($,B,X,Y,Z);break;case 31:A=e2,P=B.alternate!==null?B.alternate.memoizedState:null,O=B.memoizedState,P!==null&&O===null?(O=B.deletions,O!==null&&0<O.length&&O[0].tag===18?(e2=!1,P=P.hydrationErrors,P!==null&&YX(B,B.actualStartTime,Z,P)):e2=!0):e2=!1,b4($,B,X,Y,Z),e2=A;break;case 13:A=e2,P=B.alternate!==null?B.alternate.memoizedState:null,O=B.memoizedState,P===null||P.dehydrated===null||O!==null&&O.dehydrated!==null?e2=!1:(O=B.deletions,O!==null&&0<O.length&&O[0].tag===18?(e2=!1,P=P.hydrationErrors,P!==null&&YX(B,B.actualStartTime,Z,P)):e2=!0),b4($,B,X,Y,Z),e2=A;break;case 23:break;case 22:O=B.stateNode,P=B.alternate,B.memoizedState!==null?O._visibility&I7?b4($,B,X,Y,Z):Z$($,B,X,Y,Z):O._visibility&I7?b4($,B,X,Y,Z):(O._visibility|=I7,V3($,B,X,Y,(B.subtreeFlags&10256)!==0||B.actualDuration!==0&&(B.alternate===null||B.alternate.child!==B.child),Z),(B.mode&k0)===A0||e2||($=B.actualStartTime,0<=$&&0.05<Z-$&&b9(B,$,Z),0<=g0&&0<=O0&&0.05<O0-g0&&b9(B,g0,O0))),A&2048&&wY(P,B);break;case 24:b4($,B,X,Y,Z),A&2048&&RY(B.alternate,B);break;default:b4($,B,X,Y,Z)}if((B.mode&k0)!==A0){if($=!e2&&B.alternate===null&&B.return!==null&&B.return.alternate!==null)X=B.actualStartTime,0<=X&&0.05<Z-X&&D4(B,X,Z,"Mount");0<=g0&&0<=O0&&((j2||0.05<u2)&&l4(B,g0,O0,u2,T2),$&&0.05<O0-g0&&D4(B,g0,O0,"Mount"))}a1(G),c4(z),T2=W,j2=J,v5=Q}function V3($,B,X,Y,Z,G){Z=Z&&((B.subtreeFlags&10256)!==0||B.actualDuration!==0&&(B.alternate===null||B.alternate.child!==B.child));for(B=B.child;B!==null;){var z=B.sibling;PN($,B,X,Y,Z,z!==null?z.actualStartTime:G),B=z}}function PN($,B,X,Y,Z,G){var z=o1(),W=p4(),J=o4(),Q=a4(),A=v5;Z&&(B.mode&k0)!==A0&&0<B.actualStartTime&&(B.flags&1)!==0&&C9(B,B.actualStartTime,G,e2,X);var P=B.flags;switch(B.tag){case 0:case 11:case 15:V3($,B,X,Y,Z,G),WN(B,C1);break;case 23:break;case 22:var O=B.stateNode;B.memoizedState!==null?O._visibility&I7?V3($,B,X,Y,Z,G):Z$($,B,X,Y,G):(O._visibility|=I7,V3($,B,X,Y,Z,G)),Z&&P&2048&&wY(B.alternate,B);break;case 24:V3($,B,X,Y,Z,G),Z&&P&2048&&RY(B.alternate,B);break;default:V3($,B,X,Y,Z,G)}(B.mode&k0)!==A0&&0<=g0&&0<=O0&&(j2||0.05<u2)&&l4(B,g0,O0,u2,T2),a1(z),c4(W),T2=J,j2=Q,v5=A}function Z$($,B,X,Y,Z){if(B.subtreeFlags&10256||B.actualDuration!==0&&(B.alternate===null||B.alternate.child!==B.child))for(var G=B.child;G!==null;){B=G.sibling;var z=$,W=X,J=Y,Q=B!==null?B.actualStartTime:Z,A=v5;(G.mode&k0)!==A0&&0<G.actualStartTime&&(G.flags&1)!==0&&C9(G,G.actualStartTime,Q,e2,W);var P=G.flags;switch(G.tag){case 22:Z$(z,G,W,J,Q),P&2048&&wY(G.alternate,G);break;case 24:Z$(z,G,W,J,Q),P&2048&&RY(G.alternate,G);break;default:Z$(z,G,W,J,Q)}v5=A,G=B}}function E3($,B,X){if($.subtreeFlags&s$)for($=$.child;$!==null;)IN($,B,X),$=$.sibling}function IN($,B,X){switch($.tag){case 26:E3($,B,X),$.flags&s$&&$.memoizedState!==null&&Yg(X,S4,$.memoizedState,$.memoizedProps);break;case 5:E3($,B,X);break;case 3:case 4:var Y=S4;S4=w8($.stateNode.containerInfo),E3($,B,X),S4=Y;break;case 22:$.memoizedState===null&&(Y=$.alternate,Y!==null&&Y.memoizedState!==null?(Y=s$,s$=16777216,E3($,B,X),s$=Y):E3($,B,X));break;default:E3($,B,X)}}function bN($){var B=$.alternate;if(B!==null&&($=B.child,$!==null)){B.child=null;do B=$.sibling,$.sibling=null,$=B;while($!==null)}}function G$($){var B=$.deletions;if(($.flags&16)!==0){if(B!==null)for(var X=0;X<B.length;X++){var Y=B[X],Z=o1();W1=Y,TN(Y,$),(Y.mode&k0)!==A0&&0<=g0&&0<=O0&&0.05<O0-g0&&D4(Y,g0,O0,"Unmount"),a1(Z)}bN($)}if($.subtreeFlags&10256)for($=$.child;$!==null;)CN($),$=$.sibling}function CN($){var B=o1(),X=p4(),Y=o4(),Z=a4();switch($.tag){case 0:case 11:case 15:G$($),$.flags&2048&&gY($,$.return,C1|w4);break;case 3:var G=R7();G$($),$.stateNode.passiveEffectDuration+=k9(G);break;case 12:G=R7(),G$($),$.stateNode.passiveEffectDuration+=c6(G);break;case 22:G=$.stateNode,$.memoizedState!==null&&G._visibility&I7&&($.return===null||$.return.tag!==13)?(G._visibility&=~I7,Q8($),($.mode&k0)!==A0&&0<=g0&&0<=O0&&0.05<O0-g0&&D4($,g0,O0,"Disconnect")):G$($);break;default:G$($)}($.mode&k0)!==A0&&0<=g0&&0<=O0&&(j2||0.05<u2)&&l4($,g0,O0,u2,T2),a1(B),c4(X),j2=Z,T2=Y}function Q8($){var B=$.deletions;if(($.flags&16)!==0){if(B!==null)for(var X=0;X<B.length;X++){var Y=B[X],Z=o1();W1=Y,TN(Y,$),(Y.mode&k0)!==A0&&0<=g0&&0<=O0&&0.05<O0-g0&&D4(Y,g0,O0,"Unmount"),a1(Z)}bN($)}for($=$.child;$!==null;)mN($),$=$.sibling}function mN($){var B=o1(),X=p4(),Y=o4(),Z=a4();switch($.tag){case 0:case 11:case 15:gY($,$.return,C1),Q8($);break;case 22:var G=$.stateNode;G._visibility&I7&&(G._visibility&=~I7,Q8($));break;default:Q8($)}($.mode&k0)!==A0&&0<=g0&&0<=O0&&(j2||0.05<u2)&&l4($,g0,O0,u2,T2),a1(B),c4(X),j2=Z,T2=Y}function TN($,B){for(;W1!==null;){var X=W1,Y=X,Z=B,G=o1(),z=p4(),W=o4(),J=a4();switch(Y.tag){case 0:case 11:case 15:gY(Y,Z,C1);break;case 23:case 22:Y.memoizedState!==null&&Y.memoizedState.cachePool!==null&&(Z=Y.memoizedState.cachePool.pool,Z!=null&&o5(Z));break;case 24:p6(Y.memoizedState.cache)}if((Y.mode&k0)!==A0&&0<=g0&&0<=O0&&(j2||0.05<u2)&&l4(Y,g0,O0,u2,T2),a1(G),c4(z),j2=J,T2=W,Y=X.child,Y!==null)Y.return=X,W1=Y;else $:for(X=$;W1!==null;){if(Y=W1,G=Y.sibling,z=Y.return,KN(Y),Y===X){W1=null;break $}if(G!==null){G.return=z,W1=G;break $}W1=z}}}function Kq(){kK.forEach(function($){return $()})}function fN(){var $=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return $||x.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),$}function i1($){if((Z2&$1)!==N1&&V0!==0)return V0&-V0;var B=x.T;return B!==null?(B._updatedFibers||(B._updatedFibers=new Set),B._updatedFibers.add($),CY()):C()}function yN(){if(E1===0)if((V0&536870912)===0||i0){var $=f8;f8<<=1,(f8&3932160)===0&&(f8=262144),E1=$}else E1=536870912;return $=B4.current,$!==null&&($.flags|=32),E1}function k2($,B,X){if(P6&&console.error("useInsertionEffect must not schedule updates."),vG&&(KB=!0),$===O2&&(q2===Q3||q2===L3)||$.cancelPendingCommit!==null)l3($,0),B5($,V0,E1,!1);if(W4($,X),(Z2&$1)!==N1&&$===O2){if(Z7)switch(B.tag){case 0:case 11:case 15:$=l0&&i(l0)||"Unknown",GQ.has($)||(GQ.add($),B=i(B)||"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",B,$,$));break;case 1:ZQ||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),ZQ=!0)}}else z7&&C3($,B,X),Iq(B),$===O2&&((Z2&$1)===N1&&(M5|=X),x2===w5&&B5($,V0,E1,!1)),$7($)}function SN($,B,X){if((Z2&($1|Y4))!==N1)throw Error("Should not already be working.");if(V0!==0&&l0!==null){var Y=l0,Z=G1();switch(nJ){case n$:case Q3:var G=u$;A2&&((Y=Y._debugTask)?Y.run(console.timeStamp.bind(console,"Suspended",G,Z,H4,void 0,"primary-light")):console.timeStamp("Suspended",G,Z,H4,void 0,"primary-light"));break;case L3:G=u$,A2&&((Y=Y._debugTask)?Y.run(console.timeStamp.bind(console,"Action",G,Z,H4,void 0,"primary-light")):console.timeStamp("Action",G,Z,H4,void 0,"primary-light"));break;default:A2&&(Y=Z-u$,3>Y||console.timeStamp("Blocked",u$,Z,H4,void 0,5>Y?"primary-light":10>Y?"primary":100>Y?"primary-dark":"error"))}}G=(X=!X&&(B&127)===0&&(B&$.expiredLanes)===0||W0($,B))?Oq($,B):MY($,B,!0);var z=X;do{if(G===k7){F6&&!X&&B5($,B,0,!1),B=q2,u$=c2(),nJ=B;break}else{if(Y=G1(),Z=$.current.alternate,z&&!Uq(Z)){p1(B),Z=z1,G=Y,!A2||G<=Z||(D2?D2.run(console.timeStamp.bind(console,"Teared Render",Z,G,s0,o0,"error")):console.timeStamp("Teared Render",Z,G,s0,o0,"error")),t5(B,Y),G=MY($,B,!1),z=!1;continue}if(G===H3){if(z=B,$.errorRecoveryDisabledLanes&z)var W=0;else W=$.pendingLanes&-536870913,W=W!==0?W:W&536870912?536870912:0;if(W!==0){p1(B),ZX(z1,Y,B,D2),t5(B,Y),B=W;$:{Y=$,G=z,z=e$;var J=Y.current.memoizedState.isDehydrated;if(J&&(l3(Y,W).flags|=256),W=MY(Y,W,!1),W!==H3){if(BG&&!J){Y.errorRecoveryDisabledLanes|=G,M5|=G,G=w5;break $}Y=m1,m1=z,Y!==null&&(m1===null?m1=Y:m1.push.apply(m1,Y))}G=W}if(z=!1,G!==H3)continue;else Y=G1()}}if(G===r$){p1(B),ZX(z1,Y,B,D2),t5(B,Y),l3($,0),B5($,B,0,!0);break}$:{switch(X=$,G){case k7:case r$:throw Error("Root did not complete. This is a bug in React.");case w5:if((B&4194048)!==B)break;case NB:p1(B),Sz(z1,Y,B,D2),t5(B,Y),Z=B,(Z&127)!==0?a8=Y:(Z&4194048)!==0&&(s8=Y),B5(X,B,E1,!R5);break $;case H3:m1=null;break;case WB:case cH:break;default:throw Error("Unknown root exit status.")}if(x.actQueue!==null)FY(X,Z,B,m1,$9,HB,E1,M5,q3,G,null,null,z1,Y);else{if((B&62914560)===B&&(z=QB+sH-G1(),10<z)){if(B5(X,B,E1,!R5),n2(X,0,!0)!==0)break $;u4=B,X.timeoutHandle=LQ(uN.bind(null,X,Z,m1,$9,HB,B,E1,M5,q3,R5,G,"Throttled",z1,Y),z);break $}uN(X,Z,m1,$9,HB,B,E1,M5,q3,R5,G,null,z1,Y)}}}break}while(1);$7($)}function uN($,B,X,Y,Z,G,z,W,J,Q,A,P,O,f){$.timeoutHandle=w3;var r=B.subtreeFlags,X0=null;if(r&8192||(r&16785408)===16785408){if(X0={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:K7},IN(B,G,X0),r=(G&62914560)===G?QB-G1():(G&4194048)===G?aH-G1():0,r=Zg(X0,r),r!==null){u4=G,$.cancelPendingCommit=r(FY.bind(null,$,B,G,X,Y,Z,z,W,J,A,X0,X0.waitingForViewTransition?"Waiting for the previous Animation":0<X0.count?0<X0.imgCount?"Suspended on CSS and Images":"Suspended on CSS":X0.imgCount===1?"Suspended on an Image":0<X0.imgCount?"Suspended on Images":null,O,f)),B5($,G,z,!Q);return}}FY($,B,G,X,Y,Z,z,W,J,A,X0,P,O,f)}function Uq($){for(var B=$;;){var X=B.tag;if((X===0||X===11||X===15)&&B.flags&16384&&(X=B.updateQueue,X!==null&&(X=X.stores,X!==null)))for(var Y=0;Y<X.length;Y++){var Z=X[Y],G=Z.getSnapshot;Z=Z.value;try{if(!P1(G(),Z))return!1}catch(z){return!1}}if(X=B.child,B.subtreeFlags&16384&&X!==null)X.return=B,B=X;else{if(B===$)break;for(;B.sibling===null;){if(B.return===null||B.return===$)return!0;B=B.return}B.sibling.return=B.return,B=B.sibling}}return!0}function B5($,B,X,Y){B&=~XG,B&=~M5,$.suspendedLanes|=B,$.pingedLanes&=~B,Y&&($.warmLanes|=B),Y=$.expirationTimes;for(var Z=B;0<Z;){var G=31-M1(Z),z=1<<G;Y[G]=-1,Z&=~z}X!==0&&V4($,X,B)}function D3(){return(Z2&($1|Y4))===N1?(N$(0,!1),!1):!0}function _Y(){if(l0!==null){if(q2===V1)var $=l0.return;else $=l0,u9(),yX($),q6=null,d$=0,$=l0;for(;$!==null;)GN($.alternate,$),$=$.return;l0=null}}function t5($,B){($&127)!==0&&(q5=B),($&4194048)!==0&&(H7=B),($&62914560)!==0&&(iJ=B),($&2080374784)!==0&&(rJ=B)}function l3($,B){A2&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",o0,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",o0,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",o0,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",o0,"primary-light"));var X=z1;if(z1=c2(),V0!==0&&0<X){if(p1(V0),x2===WB||x2===w5)Sz(X,z1,B,D2);else{var Y=z1,Z=D2;if(A2&&!(Y<=X)){var G=(B&738197653)===B?"tertiary-dark":"primary-dark",z=(B&536870912)===B?"Prewarm":(B&201326741)===B?"Interrupted Hydration":"Interrupted Render";Z?Z.run(console.timeStamp.bind(console,z,X,Y,s0,o0,G)):console.timeStamp(z,X,Y,s0,o0,G)}}t5(V0,z1)}if(X=D2,D2=null,(B&127)!==0){D2=f$,Z=0<=J7&&J7<q5?q5:J7,Y=0<=Y3&&Y3<q5?q5:Y3,G=0<=Y?Y:0<=Z?Z:z1,0<=a8?(p1(2),uz(a8,G,B,X)):(i8&127)!==0&&(p1(2),l6(q5,G,y7)),X=Z;var W=Y,J=y$,Q=0<H6,A=g5===T$,P=g5===o8;if(Z=z1,Y=f$,G=uZ,z=xZ,A2){if(s0="Blocking",0<X?X>Z&&(X=Z):X=Z,0<W?W>X&&(W=X):W=X,J!==null&&X>W){var O=Q?"secondary-light":"warning";Y?Y.run(console.timeStamp.bind(console,Q?"Consecutive":"Event: "+J,W,X,s0,o0,O)):console.timeStamp(Q?"Consecutive":"Event: "+J,W,X,s0,o0,O)}Z>X&&(W=A?"error":(B&738197653)===B?"tertiary-light":"primary-light",A=P?"Promise Resolved":A?"Cascading Update":5<Z-X?"Update Blocked":"Update",P=[],z!=null&&P.push(["Component name",z]),G!=null&&P.push(["Method name",G]),X={start:X,end:Z,detail:{devtools:{properties:P,track:s0,trackGroup:o0,color:W}}},Y?Y.run(performance.measure.bind(performance,A,X)):performance.measure(A,X))}J7=-1.1,g5=0,xZ=uZ=null,a8=-1.1,H6=Y3,Y3=-1.1,q5=c2()}if((B&4194048)!==0&&(D2=S$,Z=0<=f7&&f7<H7?H7:f7,X=0<=U4&&U4<H7?H7:U4,Y=0<=K5&&K5<H7?H7:K5,G=0<=Y?Y:0<=X?X:z1,0<=s8?(p1(256),uz(s8,G,B,D2)):(i8&4194048)!==0&&(p1(256),l6(H7,G,y7)),P=Y,W=Z3,J=0<U5,Q=hZ===o8,G=z1,Y=S$,z=aJ,A=sJ,A2&&(s0="Transition",0<X?X>G&&(X=G):X=G,0<Z?Z>X&&(Z=X):Z=X,0<P?P>Z&&(P=Z):P=Z,Z>P&&W!==null&&(O=J?"secondary-light":"warning",Y?Y.run(console.timeStamp.bind(console,J?"Consecutive":"Event: "+W,P,Z,s0,o0,O)):console.timeStamp(J?"Consecutive":"Event: "+W,P,Z,s0,o0,O)),X>Z&&(Y?Y.run(console.timeStamp.bind(console,"Action",Z,X,s0,o0,"primary-dark")):console.timeStamp("Action",Z,X,s0,o0,"primary-dark")),G>X&&(Z=Q?"Promise Resolved":5<G-X?"Update Blocked":"Update",P=[],A!=null&&P.push(["Component name",A]),z!=null&&P.push(["Method name",z]),X={start:X,end:G,detail:{devtools:{properties:P,track:s0,trackGroup:o0,color:"primary-light"}}},Y?Y.run(performance.measure.bind(performance,Z,X)):performance.measure(Z,X))),U4=f7=-1.1,hZ=0,s8=-1.1,U5=K5,K5=-1.1,H7=c2()),(B&62914560)!==0&&(i8&62914560)!==0&&(p1(4194304),l6(iJ,z1,y7)),(B&2080374784)!==0&&(i8&2080374784)!==0&&(p1(268435456),l6(rJ,z1,y7)),X=$.timeoutHandle,X!==w3&&($.timeoutHandle=w3,rK(X)),X=$.cancelPendingCommit,X!==null&&($.cancelPendingCommit=null,X()),u4=0,_Y(),O2=$,l0=X=U7($.current,null),V0=B,q2=V1,Z4=null,R5=!1,F6=W0($,B),BG=!1,x2=k7,q3=E1=XG=M5=_5=0,m1=e$=null,HB=!1,(B&8)!==0&&(B|=B&32),Y=$.entangledLanes,Y!==0)for($=$.entanglements,Y&=B;0<Y;)Z=31-M1(Y),G=1<<Z,B|=$[Z],Y&=~G;return L7=B,m9(),$=DJ(),1000<$-EJ&&(x.recentlyCreatedOwnerStacks=0,EJ=$),f4.discardPendingWarnings(),X}function xN($,B){f0=null,x.H=a$,x.getCurrentStack=null,Z7=!1,t1=null,B===L6||B===e8?(B=XW(),q2=n$):B===EZ?(B=XW(),q2=oH):q2=B===rZ?$G:B!==null&&typeof B==="object"&&typeof B.then==="function"?t$:vB,Z4=B;var X=l0;X===null?(x2=r$,G8($,c1(B,$.current))):X.mode&k0&&wX(X)}function hN(){var $=B4.current;return $===null?!0:(V0&4194048)===V0?O4===null?!0:!1:(V0&62914560)===V0||(V0&536870912)!==0?$===O4:!1}function kN(){var $=x.H;return x.H=a$,$===null?a$:$}function jN(){var $=x.A;return x.A=hK,$}function L8($){D2===null&&(D2=$._debugTask==null?null:$._debugTask)}function q8(){x2=w5,R5||(V0&4194048)!==V0&&B4.current!==null||(F6=!0),(_5&134217727)===0&&(M5&134217727)===0||O2===null||B5(O2,V0,E1,!1)}function MY($,B,X){var Y=Z2;Z2|=$1;var Z=kN(),G=jN();if(O2!==$||V0!==B){if(z7){var z=$.memoizedUpdaters;0<z.size&&(W$($,V0),z.clear()),h2($,B)}$9=null,l3($,B)}B=!1,z=x2;$:do try{if(q2!==V1&&l0!==null){var W=l0,J=Z4;switch(q2){case $G:_Y(),z=NB;break $;case n$:case Q3:case L3:case t$:B4.current===null&&(B=!0);var Q=q2;if(q2=V1,Z4=null,d3($,W,J,Q),X&&F6){z=k7;break $}break;default:Q=q2,q2=V1,Z4=null,d3($,W,J,Q)}}VN(),z=x2;break}catch(A){xN($,A)}while(1);return B&&$.shellSuspendCounter++,u9(),Z2=Y,x.H=Z,x.A=G,l0===null&&(O2=null,V0=0,m9()),z}function VN(){for(;l0!==null;)EN(l0)}function Oq($,B){var X=Z2;Z2|=$1;var Y=kN(),Z=jN();if(O2!==$||V0!==B){if(z7){var G=$.memoizedUpdaters;0<G.size&&(W$($,V0),G.clear()),h2($,B)}$9=null,LB=G1()+iH,l3($,B)}else F6=W0($,B);$:do try{if(q2!==V1&&l0!==null)B:switch(B=l0,G=Z4,q2){case vB:q2=V1,Z4=null,d3($,B,G,vB);break;case Q3:case L3:if($W(G)){q2=V1,Z4=null,DN(B);break}B=function(){q2!==Q3&&q2!==L3||O2!==$||(q2=JB),$7($)},G.then(B,B);break $;case n$:q2=JB;break $;case oH:q2=eZ;break $;case JB:$W(G)?(q2=V1,Z4=null,DN(B)):(q2=V1,Z4=null,d3($,B,G,JB));break;case eZ:var z=null;switch(l0.tag){case 26:z=l0.memoizedState;case 5:case 27:var W=l0;if(z?Sv(z):W.stateNode.complete){q2=V1,Z4=null;var J=W.sibling;if(J!==null)l0=J;else{var Q=W.return;Q!==null?(l0=Q,g8(Q)):l0=null}break B}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}q2=V1,Z4=null,d3($,B,G,eZ);break;case t$:q2=V1,Z4=null,d3($,B,G,t$);break;case $G:_Y(),x2=NB;break $;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}x.actQueue!==null?VN():wq();break}catch(A){xN($,A)}while(1);if(u9(),x.H=Y,x.A=Z,Z2=X,l0!==null)return k7;return O2=null,V0=0,m9(),x2}function wq(){for(;l0!==null&&!Ug();)EN(l0)}function EN($){var B=$.alternate;($.mode&k0)!==A0?(OX($),B=s($,QY,B,$,L7),wX($)):B=s($,QY,B,$,L7),$.memoizedProps=$.pendingProps,B===null?g8($):l0=B}function DN($){var B=s($,Rq,$);$.memoizedProps=$.pendingProps,B===null?g8($):l0=B}function Rq($){var B=$.alternate,X=($.mode&k0)!==A0;switch(X&&OX($),$.tag){case 15:case 0:B=tW(B,$,$.pendingProps,$.type,void 0,V0);break;case 11:B=tW(B,$,$.pendingProps,$.type.render,$.ref,V0);break;case 5:yX($);default:GN(B,$),$=l0=Ez($,L7),B=QY(B,$,L7)}return X&&wX($),B}function d3($,B,X,Y){u9(),yX(B),q6=null,d$=0;var Z=B.return;try{if(Zq($,Z,B,X,V0)){x2=r$,G8($,c1(X,$.current)),l0=null;return}}catch(G){if(Z!==null)throw l0=Z,G;x2=r$,G8($,c1(X,$.current)),l0=null;return}if(B.flags&32768){if(i0||Y===vB)$=!0;else if(F6||(V0&536870912)!==0)$=!1;else if(R5=$=!0,Y===Q3||Y===L3||Y===n$||Y===t$)Y=B4.current,Y!==null&&Y.tag===13&&(Y.flags|=16384);lN(B,$)}else g8(B)}function g8($){var B=$;do{if((B.flags&32768)!==0){lN(B,R5);return}var X=B.alternate;if($=B.return,OX(B),X=s(B,Wq,X,B,L7),(B.mode&k0)!==A0&&iz(B),X!==null){l0=X;return}if(B=B.sibling,B!==null){l0=B;return}l0=B=$}while(B!==null);x2===k7&&(x2=cH)}function lN($,B){do{var X=Nq($.alternate,$);if(X!==null){X.flags&=32767,l0=X;return}if(($.mode&k0)!==A0){iz($),X=$.actualDuration;for(var Y=$.child;Y!==null;)X+=Y.actualDuration,Y=Y.sibling;$.actualDuration=X}if(X=$.return,X!==null&&(X.flags|=32768,X.subtreeFlags=0,X.deletions=null),!B&&($=$.sibling,$!==null)){l0=$;return}l0=$=X}while($!==null);x2=NB,l0=null}function FY($,B,X,Y,Z,G,z,W,J,Q,A,P,O,f){$.cancelPendingCommit=null;do z$();while(r2!==A5);if(f4.flushLegacyContextWarning(),f4.flushPendingUnsafeLifecycleWarnings(),(Z2&($1|Y4))!==N1)throw Error("Should not already be working.");if(p1(X),Q===H3?ZX(O,f,X,D2):Y!==null?cL(O,f,X,Y,B!==null&&B.alternate!==null&&B.alternate.memoizedState.isDehydrated&&(B.flags&256)!==0,D2):pL(O,f,X,D2),B!==null){if(X===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),B===$.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(G=B.lanes|B.childLanes,G|=mZ,h5($,X,G,z,W,J),$===O2&&(l0=O2=null,V0=0),A6=B,P5=$,u4=X,GG=G,WG=Z,BQ=Y,zG=f,XQ=P,x4=qB,YQ=null,B.actualDuration!==0||(B.subtreeFlags&10256)!==0||(B.flags&10256)!==0?($.callbackNode=null,$.callbackPriority=0,Pq(i3,function(){return z9=window.event,x4===qB&&(x4=ZG),aN(),null})):($.callbackNode=null,$.callbackPriority=0),T7=null,L5=c2(),P!==null&&oL(f,L5,P,D2),Y=(B.flags&13878)!==0,(B.subtreeFlags&13878)!==0||Y){Y=x.T,x.T=null,Z=Q2.p,Q2.p=e1,z=Z2,Z2|=Y4;try{qq($,B,X)}finally{Z2=z,Q2.p=Z,x.T=Y}}r2=nH,dN(),pN(),cN()}}function dN(){if(r2===nH){r2=A5;var $=P5,B=A6,X=u4,Y=(B.flags&13878)!==0;if((B.subtreeFlags&13878)!==0||Y){Y=x.T,x.T=null;var Z=Q2.p;Q2.p=e1;var G=Z2;Z2|=Y4;try{_6=X,M6=$,j9(),RN(B,$),M6=_6=null,X=OG;var z=Tz($.containerInfo),W=X.focusedElem,J=X.selectionRange;if(z!==W&&W&&W.ownerDocument&&mz(W.ownerDocument.documentElement,W)){if(J!==null&&BX(W)){var{start:Q,end:A}=J;if(A===void 0&&(A=Q),"selectionStart"in W)W.selectionStart=Q,W.selectionEnd=Math.min(A,W.value.length);else{var P=W.ownerDocument||document,O=P&&P.defaultView||window;if(O.getSelection){var f=O.getSelection(),r=W.textContent.length,X0=Math.min(J.start,r),_2=J.end===void 0?X0:Math.min(J.end,r);!f.extend&&X0>_2&&(z=_2,_2=X0,X0=z);var t0=Cz(W,X0),U=Cz(W,_2);if(t0&&U&&(f.rangeCount!==1||f.anchorNode!==t0.node||f.anchorOffset!==t0.offset||f.focusNode!==U.node||f.focusOffset!==U.offset)){var w=P.createRange();w.setStart(t0.node,t0.offset),f.removeAllRanges(),X0>_2?(f.addRange(w),f.extend(U.node,U.offset)):(w.setEnd(U.node,U.offset),f.addRange(w))}}}}P=[];for(f=W;f=f.parentNode;)f.nodeType===1&&P.push({element:f,left:f.scrollLeft,top:f.scrollTop});typeof W.focus==="function"&&W.focus();for(W=0;W<P.length;W++){var M=P[W];M.element.scrollLeft=M.left,M.element.scrollTop=M.top}}TB=!!UG,OG=UG=null}finally{Z2=G,Q2.p=Z,x.T=Y}}$.current=B,r2=tH}}function pN(){if(r2===tH){r2=A5;var $=YQ;if($!==null){L5=c2();var B=m7,X=L5;!A2||X<=B||(y7?y7.run(console.timeStamp.bind(console,$,B,X,s0,o0,"secondary-light")):console.timeStamp($,B,X,s0,o0,"secondary-light"))}$=P5,B=A6,X=u4;var Y=(B.flags&8772)!==0;if((B.subtreeFlags&8772)!==0||Y){Y=x.T,x.T=null;var Z=Q2.p;Q2.p=e1;var G=Z2;Z2|=Y4;try{_6=X,M6=$,j9(),gN($,B.alternate,B),M6=_6=null}finally{Z2=G,Q2.p=Z,x.T=Y}}$=zG,B=XQ,m7=c2(),$=B===null?$:L5,B=m7,X=x4===YG,Y=D2,T7!==null?xz($,B,T7,!1,Y):!A2||B<=$||(Y?Y.run(console.timeStamp.bind(console,X?"Commit Interrupted View Transition":"Commit",$,B,s0,o0,X?"error":"secondary-dark")):console.timeStamp(X?"Commit Interrupted View Transition":"Commit",$,B,s0,o0,X?"error":"secondary-dark")),r2=eH}}function cN(){if(r2===$Q||r2===eH){if(r2===$Q){var $=m7;m7=c2();var B=m7,X=x4===YG;!A2||B<=$||(y7?y7.run(console.timeStamp.bind(console,X?"Interrupted View Transition":"Starting Animation",$,B,s0,o0,X?"error":"secondary-light")):console.timeStamp(X?"Interrupted View Transition":"Starting Animation",$,B,s0,o0,X?" error":"secondary-light")),x4!==YG&&(x4=rH)}r2=A5,Og(),$=P5;var Y=A6;B=u4,X=BQ;var Z=Y.actualDuration!==0||(Y.subtreeFlags&10256)!==0||(Y.flags&10256)!==0;Z?r2=gB:(r2=A5,A6=P5=null,oN($,$.pendingLanes),g3=0,X9=null);var G=$.pendingLanes;if(G===0&&(F5=null),Z||nN($),G=H(B),Y=Y.stateNode,U1&&typeof U1.onCommitFiberRoot==="function")try{var z=(Y.current.flags&128)===128;switch(G){case e1:var W=WZ;break;case m4:W=NZ;break;case W7:W=i3;break;case S8:W=vZ;break;default:W=i3}U1.onCommitFiberRoot(r3,Y,W,z)}catch(P){G7||(G7=!0,console.error("React instrumentation encountered an error: %o",P))}if(z7&&$.memoizedUpdaters.clear(),Kq(),X!==null){z=x.T,W=Q2.p,Q2.p=e1,x.T=null;try{var J=$.onRecoverableError;for(Y=0;Y<X.length;Y++){var Q=X[Y],A=_q(Q.stack);s(Q.source,J,Q.value,A)}}finally{x.T=z,Q2.p=W}}(u4&3)!==0&&z$(),$7($),G=$.pendingLanes,(B&261930)!==0&&(G&42)!==0?(n8=!0,$===NG?B9++:(B9=0,NG=$)):B9=0,Z||t5(B,m7),N$(0,!1)}}function _q($){return $={componentStack:$},Object.defineProperty($,"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.')}}),$}function oN($,B){($.pooledCacheLanes&=B)===0&&(B=$.pooledCache,B!=null&&($.pooledCache=null,p6(B)))}function z$(){return dN(),pN(),cN(),aN()}function aN(){if(r2!==gB)return!1;var $=P5,B=GG;GG=0;var X=H(u4),Y=W7===0||W7>X?W7:X;X=x.T;var Z=Q2.p;try{Q2.p=Y,x.T=null;var G=WG;WG=null,Y=P5;var z=u4;if(r2=A5,A6=P5=null,u4=0,(Z2&($1|Y4))!==N1)throw Error("Cannot flush passive effects while already rendering.");p1(z),vG=!0,KB=!1;var W=0;if(T7=null,W=G1(),x4===rH)l6(m7,W,y7);else{var J=m7,Q=W,A=x4===ZG;!A2||Q<=J||(D2?D2.run(console.timeStamp.bind(console,A?"Waiting for Paint":"Waiting",J,Q,s0,o0,"secondary-light")):console.timeStamp(A?"Waiting for Paint":"Waiting",J,Q,s0,o0,"secondary-light"))}J=Z2,Z2|=Y4;var P=Y.current;j9(),CN(P);var O=Y.current;P=zG,j9(),AN(Y,O,z,G,P),nN(Y),Z2=J;var f=G1();if(O=W,P=D2,T7!==null?xz(O,f,T7,!0,P):!A2||f<=O||(P?P.run(console.timeStamp.bind(console,"Remaining Effects",O,f,s0,o0,"secondary-dark")):console.timeStamp("Remaining Effects",O,f,s0,o0,"secondary-dark")),t5(z,f),N$(0,!1),KB?Y===X9?g3++:(g3=0,X9=Y):g3=0,KB=vG=!1,U1&&typeof U1.onPostCommitFiberRoot==="function")try{U1.onPostCommitFiberRoot(r3,Y)}catch(X0){G7||(G7=!0,console.error("React instrumentation encountered an error: %o",X0))}var r=Y.current.stateNode;return r.effectDuration=0,r.passiveEffectDuration=0,!0}finally{Q2.p=Z,x.T=X,oN($,B)}}function sN($,B,X){B=c1(X,B),rz(B),B=BY($.stateNode,B,2),$=n7($,B,2),$!==null&&(W4($,2),$7($))}function H2($,B,X){if(P6=!1,$.tag===3)sN($,$,X);else{for(;B!==null;){if(B.tag===3){sN(B,$,X);return}if(B.tag===1){var Y=B.stateNode;if(typeof B.type.getDerivedStateFromError==="function"||typeof Y.componentDidCatch==="function"&&(F5===null||!F5.has(Y))){$=c1(X,$),rz($),X=XY(2),Y=n7(B,X,2),Y!==null&&(YY(X,Y,B,$),W4(Y,2),$7(Y));return}}B=B.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.
154
+
155
+ Error message:
156
+
157
+ %s`,X)}}function AY($,B,X){var Y=$.pingCache;if(Y===null){Y=$.pingCache=new jK;var Z=new Set;Y.set(B,Z)}else Z=Y.get(B),Z===void 0&&(Z=new Set,Y.set(B,Z));Z.has(X)||(BG=!0,Z.add(X),Y=Mq.bind(null,$,B,X),z7&&W$($,X),B.then(Y,Y))}function Mq($,B,X){var Y=$.pingCache;Y!==null&&Y.delete(B),$.pingedLanes|=$.suspendedLanes&X,$.warmLanes&=~X,(X&127)!==0?0>J7&&(q5=J7=c2(),f$=c8("Promise Resolved"),g5=o8):(X&4194048)!==0&&0>U4&&(H7=U4=c2(),S$=c8("Promise Resolved"),hZ=o8),fN()&&x.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
158
+
159
+ When testing, code that resolves suspended data should be wrapped into act(...):
160
+
161
+ act(() => {
162
+ /* finish loading suspended data */
163
+ });
164
+ /* assert on the output */
165
+
166
+ 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`),O2===$&&(V0&X)===X&&(x2===w5||x2===WB&&(V0&62914560)===V0&&G1()-QB<sH?(Z2&$1)===N1&&l3($,0):XG|=X,q3===V0&&(q3=0)),$7($)}function iN($,B){B===0&&(B=F4()),$=K1($,B),$!==null&&(W4($,B),$7($))}function Fq($){var B=$.memoizedState,X=0;B!==null&&(X=B.retryLane),iN($,X)}function Aq($,B){var X=0;switch($.tag){case 31:case 13:var{stateNode:Y,memoizedState:Z}=$;Z!==null&&(X=Z.retryLane);break;case 19:Y=$.stateNode;break;case 22:Y=$.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}Y!==null&&Y.delete(B),iN($,X)}function PY($,B,X){if((B.subtreeFlags&67117056)!==0)for(B=B.child;B!==null;){var Y=$,Z=B,G=Z.type===b8;G=X||G,Z.tag!==22?Z.flags&67108864?G&&s(Z,rN,Y,Z):PY(Y,Z,G):Z.memoizedState===null&&(G&&Z.flags&8192?s(Z,rN,Y,Z):Z.subtreeFlags&67108864&&s(Z,PY,Y,Z,G)),B=B.sibling}}function rN($,B){T0(!0);try{MN(B),mN(B),FN($,B.alternate,B,!1),PN($,B,0,null,!1,0)}finally{T0(!1)}}function nN($){var B=!0;$.current.mode&(O1|T4)||(B=!1),PY($,$.current,B)}function tN($){if((Z2&$1)===N1){var B=$.tag;if(B===3||B===1||B===0||B===11||B===14||B===15){if(B=i($)||"ReactComponent",UB!==null){if(UB.has(B))return;UB.add(B)}else UB=new Set([B]);s($,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 W$($,B){z7&&$.memoizedUpdaters.forEach(function(X){C3($,X,B)})}function Pq($,B){var X=x.actQueue;return X!==null?(X.push(B),DK):zZ($,B)}function Iq($){fN()&&x.actQueue===null&&s($,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
167
+
168
+ When testing, code that causes React state updates should be wrapped into act(...):
169
+
170
+ act(() => {
171
+ /* fire events that update state */
172
+ });
173
+ /* assert on the output */
174
+
175
+ 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($))})}function $7($){$!==I6&&$.next===null&&(I6===null?OB=I6=$:I6=I6.next=$),wB=!0,x.actQueue!==null?HG||(HG=!0,Xv()):JG||(JG=!0,Xv())}function N$($,B){if(!QG&&wB){QG=!0;do{var X=!1;for(var Y=OB;Y!==null;){if(!B)if($!==0){var Z=Y.pendingLanes;if(Z===0)var G=0;else{var{suspendedLanes:z,pingedLanes:W}=Y;G=(1<<31-M1(42|$)+1)-1,G&=Z&~(z&~W),G=G&201326741?G&201326741|1:G?G|2:0}G!==0&&(X=!0,Bv(Y,G))}else G=V0,G=n2(Y,Y===O2?G:0,Y.cancelPendingCommit!==null||Y.timeoutHandle!==w3),(G&3)===0||W0(Y,G)||(X=!0,Bv(Y,G));Y=Y.next}}while(X);QG=!1}}function bq(){z9=window.event,IY()}function IY(){wB=HG=JG=!1;var $=0;I5!==0&&uq()&&($=I5);for(var B=G1(),X=null,Y=OB;Y!==null;){var Z=Y.next,G=eN(Y,B);if(G===0)Y.next=null,X===null?OB=Z:X.next=Z,Z===null&&(I6=X);else if(X=Y,$!==0||(G&3)!==0)wB=!0;Y=Z}r2!==A5&&r2!==gB||N$($,!1),I5!==0&&(I5=0)}function eN($,B){for(var{suspendedLanes:X,pingedLanes:Y,expirationTimes:Z}=$,G=$.pendingLanes&-62914561;0<G;){var z=31-M1(G),W=1<<z,J=Z[z];if(J===-1){if((W&X)===0||(W&Y)!==0)Z[z]=S1(W,B)}else J<=B&&($.expiredLanes|=W);G&=~W}if(B=O2,X=V0,X=n2($,$===B?X:0,$.cancelPendingCommit!==null||$.timeoutHandle!==w3),Y=$.callbackNode,X===0||$===B&&(q2===Q3||q2===L3)||$.cancelPendingCommit!==null)return Y!==null&&bY(Y),$.callbackNode=null,$.callbackPriority=0;if((X&3)===0||W0($,X)){if(B=X&-X,B!==$.callbackPriority||x.actQueue!==null&&Y!==LG)bY(Y);else return B;switch(H(X)){case e1:case m4:X=NZ;break;case W7:X=i3;break;case S8:X=vZ;break;default:X=i3}return Y=$v.bind(null,$),x.actQueue!==null?(x.actQueue.push(Y),X=LG):X=zZ(X,Y),$.callbackPriority=B,$.callbackNode=X,B}return Y!==null&&bY(Y),$.callbackPriority=2,$.callbackNode=null,2}function $v($,B){if(n8=r8=!1,z9=window.event,r2!==A5&&r2!==gB)return $.callbackNode=null,$.callbackPriority=0,null;var X=$.callbackNode;if(x4===qB&&(x4=ZG),z$()&&$.callbackNode!==X)return null;var Y=V0;if(Y=n2($,$===O2?Y:0,$.cancelPendingCommit!==null||$.timeoutHandle!==w3),Y===0)return null;return SN($,Y,B),eN($,G1()),$.callbackNode!=null&&$.callbackNode===X?$v.bind(null,$):null}function Bv($,B){if(z$())return null;r8=n8,n8=!1,SN($,B,!0)}function bY($){$!==LG&&$!==null&&Kg($)}function Xv(){x.actQueue!==null&&x.actQueue.push(function(){return IY(),null}),nK(function(){(Z2&($1|Y4))!==N1?zZ(WZ,bq):IY()})}function CY(){if(I5===0){var $=G3;$===0&&($=T8,T8<<=1,(T8&261888)===0&&(T8=256)),I5=$}return I5}function Yv($){if($==null||typeof $==="symbol"||typeof $==="boolean")return null;if(typeof $==="function")return $;return m0($,"action"),V6(""+$)}function Zv($,B){var X=B.ownerDocument.createElement("input");return X.name=B.name,X.value=B.value,$.id&&X.setAttribute("form",$.id),B.parentNode.insertBefore(X,B),$=new FormData($),X.parentNode.removeChild(X),$}function Cq($,B,X,Y,Z){if(B==="submit"&&X&&X.stateNode===Z){var G=Yv((Z[F1]||null).action),z=Y.submitter;z&&(B=(B=z[F1]||null)?Yv(B.formAction):z.getAttribute("formAction"),B!==null&&(G=B,z=null));var W=new j8("action","action",null,Y,Z);$.push({event:W,listeners:[{instance:null,listener:function(){if(Y.defaultPrevented){if(I5!==0){var J=z?Zv(Z,z):new FormData(Z),Q={pending:!0,data:J,method:Z.method,action:G};Object.freeze(Q),sX(X,Q,null,J)}}else typeof G==="function"&&(W.preventDefault(),J=z?Zv(Z,z):new FormData(Z),Q={pending:!0,data:J,method:Z.method,action:G},Object.freeze(Q),sX(X,Q,G,J))},currentTarget:Z}]})}}function K8($,B,X){$.currentTarget=X;try{B($)}catch(Y){PZ(Y)}$.currentTarget=null}function Gv($,B){B=(B&4)!==0;for(var X=0;X<$.length;X++){var Y=$[X];$:{var Z=void 0,G=Y.event;if(Y=Y.listeners,B)for(var z=Y.length-1;0<=z;z--){var W=Y[z],J=W.instance,Q=W.currentTarget;if(W=W.listener,J!==Z&&G.isPropagationStopped())break $;J!==null?s(J,K8,G,W,Q):K8(G,W,Q),Z=J}else for(z=0;z<Y.length;z++){if(W=Y[z],J=W.instance,Q=W.currentTarget,W=W.listener,J!==Z&&G.isPropagationStopped())break $;J!==null?s(J,K8,G,W,Q):K8(G,W,Q),Z=J}}}}function n0($,B){qG.has($)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',$);var X=B[JZ];X===void 0&&(X=B[JZ]=new Set);var Y=$+"__bubble";X.has(Y)||(zv(B,$,2,!1),X.add(Y))}function mY($,B,X){qG.has($)&&!B&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',$);var Y=0;B&&(Y|=4),zv(X,$,Y,B)}function TY($){if(!$[RB]){$[RB]=!0,XJ.forEach(function(X){X!=="selectionchange"&&(qG.has(X)||mY(X,!1,$),mY(X,!0,$))});var B=$.nodeType===9?$:$.ownerDocument;B===null||B[RB]||(B[RB]=!0,mY("selectionchange",!1,B))}}function zv($,B,X,Y){switch(Vv(B)){case e1:var Z=Ng;break;case m4:Z=vg;break;default:Z=oY}X=Z.bind(null,B,X,$),Z=void 0,!gZ||B!=="touchstart"&&B!=="touchmove"&&B!=="wheel"||(Z=!0),Y?Z!==void 0?$.addEventListener(B,X,{capture:!0,passive:Z}):$.addEventListener(B,X,!0):Z!==void 0?$.addEventListener(B,X,{passive:Z}):$.addEventListener(B,X,!1)}function fY($,B,X,Y,Z){var G=Y;if((B&1)===0&&(B&2)===0&&Y!==null)$:for(;;){if(Y===null)return;var z=Y.tag;if(z===3||z===4){var W=Y.stateNode.containerInfo;if(W===Z)break;if(z===4)for(z=Y.return;z!==null;){var J=z.tag;if((J===3||J===4)&&z.stateNode.containerInfo===Z)return;z=z.return}for(;W!==null;){if(z=y(W),z===null)return;if(J=z.tag,J===5||J===6||J===26||J===27){Y=G=z;continue $}W=W.parentNode}}Y=Y.return}Uz(function(){var Q=G,A=eB(X),P=[];$:{var O=VJ.get($);if(O!==void 0){var f=j8,r=$;switch($){case"keypress":if(A9(X)===0)break $;case"keydown":case"keyup":f=YK;break;case"focusin":r="focus",f=wZ;break;case"focusout":r="blur",f=wZ;break;case"beforeblur":case"afterblur":f=wZ;break;case"click":if(X.button===2)break $;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=PJ;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=cg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=zK;break;case xJ:case hJ:case kJ:f=sg;break;case jJ:f=NK;break;case"scroll":case"scrollend":f=dg;break;case"wheel":f=JK;break;case"copy":case"cut":case"paste":f=rg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=bJ;break;case"toggle":case"beforetoggle":f=QK}var X0=(B&4)!==0,_2=!X0&&($==="scroll"||$==="scrollend"),t0=X0?O!==null?O+"Capture":null:O;X0=[];for(var U=Q,w;U!==null;){var M=U;if(w=M.stateNode,M=M.tag,M!==5&&M!==26&&M!==27||w===null||t0===null||(M=E6(U,t0),M!=null&&X0.push(v$(U,M,w))),_2)break;U=U.return}0<X0.length&&(O=new f(O,r,null,X,A),P.push({event:O,listeners:X0}))}}if((B&7)===0){$:{if(O=$==="mouseover"||$==="pointerover",f=$==="mouseout"||$==="pointerout",O&&X!==R$&&(r=X.relatedTarget||X.fromElement)&&(y(r)||r[W5]))break $;if(f||O){if(O=A.window===A?A:(O=A.ownerDocument)?O.defaultView||O.parentWindow:window,f){if(r=X.relatedTarget||X.toElement,f=Q,r=r?y(r):null,r!==null&&(_2=K0(r),X0=r.tag,r!==_2||X0!==5&&X0!==27&&X0!==6))r=null}else f=null,r=Q;if(f!==r){if(X0=PJ,M="onMouseLeave",t0="onMouseEnter",U="mouse",$==="pointerout"||$==="pointerover")X0=bJ,M="onPointerLeave",t0="onPointerEnter",U="pointer";if(_2=f==null?O:N0(f),w=r==null?O:N0(r),O=new X0(M,U+"leave",f,X,A),O.target=_2,O.relatedTarget=w,M=null,y(A)===Q&&(X0=new X0(t0,U+"enter",r,X,A),X0.target=w,X0.relatedTarget=_2,M=X0),_2=M,f&&r)B:{X0=mq,t0=f,U=r,w=0;for(M=t0;M;M=X0(M))w++;M=0;for(var h=U;h;h=X0(h))M++;for(;0<w-M;)t0=X0(t0),w--;for(;0<M-w;)U=X0(U),M--;for(;w--;){if(t0===U||U!==null&&t0===U.alternate){X0=t0;break B}t0=X0(t0),U=X0(U)}X0=null}else X0=null;f!==null&&Wv(P,O,f,X0,!1),r!==null&&_2!==null&&Wv(P,_2,r,X0,!0)}}}$:{if(O=Q?N0(Q):window,f=O.nodeName&&O.nodeName.toLowerCase(),f==="select"||f==="input"&&O.type==="file")var $0=Az;else if(Mz(O))if(SJ)$0=DL;else{$0=VL;var y0=jL}else f=O.nodeName,!f||f.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?Q&&j6(Q.elementType)&&($0=Az):$0=EL;if($0&&($0=$0($,Q))){Fz(P,$0,X,A);break $}y0&&y0($,O,Q),$==="focusout"&&Q&&O.type==="number"&&Q.memoizedProps.value!=null&&aB(O,"number",O.value)}switch(y0=Q?N0(Q):window,$){case"focusin":if(Mz(y0)||y0.contentEditable==="true")Y6=y0,_Z=Q,b$=null;break;case"focusout":b$=_Z=Y6=null;break;case"mousedown":MZ=!0;break;case"contextmenu":case"mouseup":case"dragend":MZ=!1,fz(P,X,A);break;case"selectionchange":if(KK)break;case"keydown":case"keyup":fz(P,X,A)}var q0;if(RZ)$:{switch($){case"compositionstart":var J0="onCompositionStart";break $;case"compositionend":J0="onCompositionEnd";break $;case"compositionupdate":J0="onCompositionUpdate";break $}J0=void 0}else X6?Rz($,X)&&(J0="onCompositionEnd"):$==="keydown"&&X.keyCode===CJ&&(J0="onCompositionStart");if(J0&&(mJ&&X.locale!=="ko"&&(X6||J0!=="onCompositionStart"?J0==="onCompositionEnd"&&X6&&(q0=Oz()):(N5=A,KZ=("value"in N5)?N5.value:N5.textContent,X6=!0)),y0=U8(Q,J0),0<y0.length&&(J0=new IJ(J0,$,null,X,A),P.push({event:J0,listeners:y0}),q0?J0.data=q0:(q0=_z(X),q0!==null&&(J0.data=q0)))),q0=qK?uL($,X):xL($,X))J0=U8(Q,"onBeforeInput"),0<J0.length&&(y0=new tg("onBeforeInput","beforeinput",null,X,A),P.push({event:y0,listeners:J0}),y0.data=q0);Cq(P,$,Q,X,A)}Gv(P,B)})}function v$($,B,X){return{instance:$,listener:B,currentTarget:X}}function U8($,B){for(var X=B+"Capture",Y=[];$!==null;){var Z=$,G=Z.stateNode;if(Z=Z.tag,Z!==5&&Z!==26&&Z!==27||G===null||(Z=E6($,X),Z!=null&&Y.unshift(v$($,Z,G)),Z=E6($,B),Z!=null&&Y.push(v$($,Z,G))),$.tag===3)return Y;$=$.return}return[]}function mq($){if($===null)return null;do $=$.return;while($&&$.tag!==5&&$.tag!==27);return $?$:null}function Wv($,B,X,Y,Z){for(var G=B._reactName,z=[];X!==null&&X!==Y;){var W=X,J=W.alternate,Q=W.stateNode;if(W=W.tag,J!==null&&J===Y)break;W!==5&&W!==26&&W!==27||Q===null||(J=Q,Z?(Q=E6(X,G),Q!=null&&z.unshift(v$(X,Q,J))):Z||(Q=E6(X,G),Q!=null&&z.push(v$(X,Q,J)))),X=X.return}z.length!==0&&$.push({event:B,listeners:z})}function yY($,B){TL($,B),$!=="input"&&$!=="textarea"&&$!=="select"||B==null||B.value!==null||FJ||(FJ=!0,$==="select"&&B.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.",$):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",$));var X={registrationNameDependencies:e5,possibleRegistrationNames:HZ};j6($)||typeof B.is==="string"||yL($,B,X),B.contentEditable&&!B.suppressContentEditableWarning&&B.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 Z1($,B,X,Y){B!==X&&(X=X5(X),X5(B)!==X&&(Y[$]=B))}function Tq($,B,X){B.forEach(function(Y){X[Jv(Y)]=Y==="style"?uY($):$.getAttribute(Y)})}function B7($,B){B===!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.",$,$,$):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",$,typeof B)}function Nv($,B){return $=$.namespaceURI===x8||$.namespaceURI===t3?$.ownerDocument.createElementNS($.namespaceURI,$.tagName):$.ownerDocument.createElement($.tagName),$.innerHTML=B,$.innerHTML}function X5($){return a0($)&&(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.",r0($)),u0($)),(typeof $==="string"?$:""+$).replace(lK,`
176
+ `).replace(dK,"")}function vv($,B){return B=X5(B),X5($)===B?!0:!1}function K2($,B,X,Y,Z,G){switch(X){case"children":if(typeof Y==="string")F9(Y,B,!1),B==="body"||B==="textarea"&&Y===""||k6($,Y);else if(typeof Y==="number"||typeof Y==="bigint")F9(""+Y,B,!1),B!=="body"&&k6($,""+Y);break;case"className":R9($,"class",Y);break;case"tabIndex":R9($,"tabindex",Y);break;case"dir":case"role":case"viewBox":case"width":case"height":R9($,X,Y);break;case"style":qz($,Y,G);break;case"data":if(B!=="object"){R9($,"data",Y);break}case"src":case"href":if(Y===""&&(B!=="a"||X!=="href")){X==="src"?console.error('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.',X,X):console.error('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.',X,X),$.removeAttribute(X);break}if(Y==null||typeof Y==="function"||typeof Y==="symbol"||typeof Y==="boolean"){$.removeAttribute(X);break}m0(Y,X),Y=V6(""+Y),$.setAttribute(X,Y);break;case"action":case"formAction":if(Y!=null&&(B==="form"?X==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof Y==="function"&&(Z.encType==null&&Z.method==null||FB||(FB=!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.")),Z.target==null||MB||(MB=!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."))):B==="input"||B==="button"?X==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):B!=="input"||Z.type==="submit"||Z.type==="image"||_B?B!=="button"||Z.type==null||Z.type==="submit"||_B?typeof Y==="function"&&(Z.name==null||NQ||(NQ=!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.')),Z.formEncType==null&&Z.formMethod==null||FB||(FB=!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.")),Z.formTarget==null||MB||(MB=!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."))):(_B=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(_B=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):X==="action"?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),typeof Y==="function"){$.setAttribute(X,"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 G==="function"&&(X==="formAction"?(B!=="input"&&K2($,B,"name",Z.name,Z,null),K2($,B,"formEncType",Z.formEncType,Z,null),K2($,B,"formMethod",Z.formMethod,Z,null),K2($,B,"formTarget",Z.formTarget,Z,null)):(K2($,B,"encType",Z.encType,Z,null),K2($,B,"method",Z.method,Z,null),K2($,B,"target",Z.target,Z,null)));if(Y==null||typeof Y==="symbol"||typeof Y==="boolean"){$.removeAttribute(X);break}m0(Y,X),Y=V6(""+Y),$.setAttribute(X,Y);break;case"onClick":Y!=null&&(typeof Y!=="function"&&B7(X,Y),$.onclick=K7);break;case"onScroll":Y!=null&&(typeof Y!=="function"&&B7(X,Y),n0("scroll",$));break;case"onScrollEnd":Y!=null&&(typeof Y!=="function"&&B7(X,Y),n0("scrollend",$));break;case"dangerouslySetInnerHTML":if(Y!=null){if(typeof Y!=="object"||!("__html"in Y))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(X=Y.__html,X!=null){if(Z.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=X}}break;case"multiple":$.multiple=Y&&typeof Y!=="function"&&typeof Y!=="symbol";break;case"muted":$.muted=Y&&typeof Y!=="function"&&typeof Y!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(Y==null||typeof Y==="function"||typeof Y==="boolean"||typeof Y==="symbol"){$.removeAttribute("xlink:href");break}m0(Y,X),X=V6(""+Y),$.setAttributeNS(K3,"xlink:href",X);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Y!=null&&typeof Y!=="function"&&typeof Y!=="symbol"?(m0(Y,X),$.setAttribute(X,""+Y)):$.removeAttribute(X);break;case"inert":Y!==""||AB[X]||(AB[X]=!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.",X));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":Y&&typeof Y!=="function"&&typeof Y!=="symbol"?$.setAttribute(X,""):$.removeAttribute(X);break;case"capture":case"download":Y===!0?$.setAttribute(X,""):Y!==!1&&Y!=null&&typeof Y!=="function"&&typeof Y!=="symbol"?(m0(Y,X),$.setAttribute(X,Y)):$.removeAttribute(X);break;case"cols":case"rows":case"size":case"span":Y!=null&&typeof Y!=="function"&&typeof Y!=="symbol"&&!isNaN(Y)&&1<=Y?(m0(Y,X),$.setAttribute(X,Y)):$.removeAttribute(X);break;case"rowSpan":case"start":Y==null||typeof Y==="function"||typeof Y==="symbol"||isNaN(Y)?$.removeAttribute(X):(m0(Y,X),$.setAttribute(X,Y));break;case"popover":n0("beforetoggle",$),n0("toggle",$),w9($,"popover",Y);break;case"xlinkActuate":g7($,K3,"xlink:actuate",Y);break;case"xlinkArcrole":g7($,K3,"xlink:arcrole",Y);break;case"xlinkRole":g7($,K3,"xlink:role",Y);break;case"xlinkShow":g7($,K3,"xlink:show",Y);break;case"xlinkTitle":g7($,K3,"xlink:title",Y);break;case"xlinkType":g7($,K3,"xlink:type",Y);break;case"xmlBase":g7($,gG,"xml:base",Y);break;case"xmlLang":g7($,gG,"xml:lang",Y);break;case"xmlSpace":g7($,gG,"xml:space",Y);break;case"is":G!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),w9($,"is",Y);break;case"innerText":case"textContent":break;case"popoverTarget":vQ||Y==null||typeof Y!=="object"||(vQ=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",Y));default:!(2<X.length)||X[0]!=="o"&&X[0]!=="O"||X[1]!=="n"&&X[1]!=="N"?(X=gz(X),w9($,X,Y)):e5.hasOwnProperty(X)&&Y!=null&&typeof Y!=="function"&&B7(X,Y)}}function SY($,B,X,Y,Z,G){switch(X){case"style":qz($,Y,G);break;case"dangerouslySetInnerHTML":if(Y!=null){if(typeof Y!=="object"||!("__html"in Y))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(X=Y.__html,X!=null){if(Z.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=X}}break;case"children":typeof Y==="string"?k6($,Y):(typeof Y==="number"||typeof Y==="bigint")&&k6($,""+Y);break;case"onScroll":Y!=null&&(typeof Y!=="function"&&B7(X,Y),n0("scroll",$));break;case"onScrollEnd":Y!=null&&(typeof Y!=="function"&&B7(X,Y),n0("scrollend",$));break;case"onClick":Y!=null&&(typeof Y!=="function"&&B7(X,Y),$.onclick=K7);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(e5.hasOwnProperty(X))Y!=null&&typeof Y!=="function"&&B7(X,Y);else $:{if(X[0]==="o"&&X[1]==="n"&&(Z=X.endsWith("Capture"),B=X.slice(2,Z?X.length-7:void 0),G=$[F1]||null,G=G!=null?G[X]:null,typeof G==="function"&&$.removeEventListener(B,G,Z),typeof Y==="function")){typeof G!=="function"&&G!==null&&(X in $?$[X]=null:$.hasAttribute(X)&&$.removeAttribute(X)),$.addEventListener(B,Y,Z);break $}X in $?$[X]=Y:Y===!0?$.setAttribute(X,""):w9($,X,Y)}}}function H1($,B,X){switch(yY(B,X),B){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":n0("error",$),n0("load",$);var Y=!1,Z=!1,G;for(G in X)if(X.hasOwnProperty(G)){var z=X[G];if(z!=null)switch(G){case"src":Y=!0;break;case"srcSet":Z=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(B+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:K2($,B,G,z,X,null)}}Z&&K2($,B,"srcSet",X.srcSet,X,null),Y&&K2($,B,"src",X.src,X,null);return;case"input":A4("input",X),n0("invalid",$);var W=G=z=Z=null,J=null,Q=null;for(Y in X)if(X.hasOwnProperty(Y)){var A=X[Y];if(A!=null)switch(Y){case"name":Z=A;break;case"type":z=A;break;case"checked":J=A;break;case"defaultChecked":Q=A;break;case"value":G=A;break;case"defaultValue":W=A;break;case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(B+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:K2($,B,Y,A,X,null)}}tG($,X),eG($,G,W,J,Q,z,Z,!1);return;case"select":A4("select",X),n0("invalid",$),Y=z=G=null;for(Z in X)if(X.hasOwnProperty(Z)&&(W=X[Z],W!=null))switch(Z){case"value":G=W;break;case"defaultValue":z=W;break;case"multiple":Y=W;default:K2($,B,Z,W,X,null)}Xz($,X),B=G,X=z,$.multiple=!!Y,B!=null?m3($,!!Y,B,!1):X!=null&&m3($,!!Y,X,!0);return;case"textarea":A4("textarea",X),n0("invalid",$),G=Z=Y=null;for(z in X)if(X.hasOwnProperty(z)&&(W=X[z],W!=null))switch(z){case"value":Y=W;break;case"defaultValue":Z=W;break;case"children":G=W;break;case"dangerouslySetInnerHTML":if(W!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:K2($,B,z,W,X,null)}Yz($,X),Gz($,Y,Z,G);return;case"option":$z($,X);for(J in X)if(X.hasOwnProperty(J)&&(Y=X[J],Y!=null))switch(J){case"selected":$.selected=Y&&typeof Y!=="function"&&typeof Y!=="symbol";break;default:K2($,B,J,Y,X,null)}return;case"dialog":n0("beforetoggle",$),n0("toggle",$),n0("cancel",$),n0("close",$);break;case"iframe":case"object":n0("load",$);break;case"video":case"audio":for(Y=0;Y<Y9.length;Y++)n0(Y9[Y],$);break;case"image":n0("error",$),n0("load",$);break;case"details":n0("toggle",$);break;case"embed":case"source":case"link":n0("error",$),n0("load",$);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Q in X)if(X.hasOwnProperty(Q)&&(Y=X[Q],Y!=null))switch(Q){case"children":case"dangerouslySetInnerHTML":throw Error(B+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:K2($,B,Q,Y,X,null)}return;default:if(j6(B)){for(A in X)X.hasOwnProperty(A)&&(Y=X[A],Y!==void 0&&SY($,B,A,Y,X,void 0));return}}for(W in X)X.hasOwnProperty(W)&&(Y=X[W],Y!=null&&K2($,B,W,Y,X,null))}function fq($,B,X,Y){switch(yY(B,Y),B){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var Z=null,G=null,z=null,W=null,J=null,Q=null,A=null;for(f in X){var P=X[f];if(X.hasOwnProperty(f)&&P!=null)switch(f){case"checked":break;case"value":break;case"defaultValue":J=P;default:Y.hasOwnProperty(f)||K2($,B,f,null,Y,P)}}for(var O in Y){var f=Y[O];if(P=X[O],Y.hasOwnProperty(O)&&(f!=null||P!=null))switch(O){case"type":G=f;break;case"name":Z=f;break;case"checked":Q=f;break;case"defaultChecked":A=f;break;case"value":z=f;break;case"defaultValue":W=f;break;case"children":case"dangerouslySetInnerHTML":if(f!=null)throw Error(B+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:f!==P&&K2($,B,O,f,Y,P)}}B=X.type==="checkbox"||X.type==="radio"?X.checked!=null:X.value!=null,Y=Y.type==="checkbox"||Y.type==="radio"?Y.checked!=null:Y.value!=null,B||!Y||WQ||(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"),WQ=!0),!B||Y||zQ||(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"),zQ=!0),oB($,z,W,J,Q,A,G,Z);return;case"select":f=z=W=O=null;for(G in X)if(J=X[G],X.hasOwnProperty(G)&&J!=null)switch(G){case"value":break;case"multiple":f=J;default:Y.hasOwnProperty(G)||K2($,B,G,null,Y,J)}for(Z in Y)if(G=Y[Z],J=X[Z],Y.hasOwnProperty(Z)&&(G!=null||J!=null))switch(Z){case"value":O=G;break;case"defaultValue":W=G;break;case"multiple":z=G;default:G!==J&&K2($,B,Z,G,Y,J)}Y=W,B=z,X=f,O!=null?m3($,!!B,O,!1):!!X!==!!B&&(Y!=null?m3($,!!B,Y,!0):m3($,!!B,B?[]:"",!1));return;case"textarea":f=O=null;for(W in X)if(Z=X[W],X.hasOwnProperty(W)&&Z!=null&&!Y.hasOwnProperty(W))switch(W){case"value":break;case"children":break;default:K2($,B,W,null,Y,Z)}for(z in Y)if(Z=Y[z],G=X[z],Y.hasOwnProperty(z)&&(Z!=null||G!=null))switch(z){case"value":O=Z;break;case"defaultValue":f=Z;break;case"children":break;case"dangerouslySetInnerHTML":if(Z!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Z!==G&&K2($,B,z,Z,Y,G)}Zz($,O,f);return;case"option":for(var r in X)if(O=X[r],X.hasOwnProperty(r)&&O!=null&&!Y.hasOwnProperty(r))switch(r){case"selected":$.selected=!1;break;default:K2($,B,r,null,Y,O)}for(J in Y)if(O=Y[J],f=X[J],Y.hasOwnProperty(J)&&O!==f&&(O!=null||f!=null))switch(J){case"selected":$.selected=O&&typeof O!=="function"&&typeof O!=="symbol";break;default:K2($,B,J,O,Y,f)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var X0 in X)O=X[X0],X.hasOwnProperty(X0)&&O!=null&&!Y.hasOwnProperty(X0)&&K2($,B,X0,null,Y,O);for(Q in Y)if(O=Y[Q],f=X[Q],Y.hasOwnProperty(Q)&&O!==f&&(O!=null||f!=null))switch(Q){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(B+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:K2($,B,Q,O,Y,f)}return;default:if(j6(B)){for(var _2 in X)O=X[_2],X.hasOwnProperty(_2)&&O!==void 0&&!Y.hasOwnProperty(_2)&&SY($,B,_2,void 0,Y,O);for(A in Y)O=Y[A],f=X[A],!Y.hasOwnProperty(A)||O===f||O===void 0&&f===void 0||SY($,B,A,O,Y,f);return}}for(var t0 in X)O=X[t0],X.hasOwnProperty(t0)&&O!=null&&!Y.hasOwnProperty(t0)&&K2($,B,t0,null,Y,O);for(P in Y)O=Y[P],f=X[P],!Y.hasOwnProperty(P)||O===f||O==null&&f==null||K2($,B,P,O,Y,f)}function Jv($){switch($){case"class":return"className";case"for":return"htmlFor";default:return $}}function uY($){var B={};$=$.style;for(var X=0;X<$.length;X++){var Y=$[X];B[Y]=$.getPropertyValue(Y)}return B}function Hv($,B,X){if(B!=null&&typeof B!=="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 Y,Z=Y="",G;for(G in B)if(B.hasOwnProperty(G)){var z=B[G];z!=null&&typeof z!=="boolean"&&z!==""&&(G.indexOf("--")===0?(J2(z,G),Y+=Z+G+":"+(""+z).trim()):typeof z!=="number"||z===0||_J.has(G)?(J2(z,G),Y+=Z+G.replace(KJ,"-$1").toLowerCase().replace(UJ,"-ms-")+":"+(""+z).trim()):Y+=Z+G.replace(KJ,"-$1").toLowerCase().replace(UJ,"-ms-")+":"+z+"px",Z=";")}Y=Y||null,B=$.getAttribute("style"),B!==Y&&(Y=X5(Y),X5(B)!==Y&&(X.style=uY($)))}}function J4($,B,X,Y,Z,G){if(Z.delete(X),$=$.getAttribute(X),$===null)switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":return}else if(Y!=null)switch(typeof Y){case"function":case"symbol":case"boolean":break;default:if(m0(Y,B),$===""+Y)return}Z1(B,$,Y,G)}function Qv($,B,X,Y,Z,G){if(Z.delete(X),$=$.getAttribute(X),$===null){switch(typeof Y){case"function":case"symbol":return}if(!Y)return}else switch(typeof Y){case"function":case"symbol":break;default:if(Y)return}Z1(B,$,Y,G)}function xY($,B,X,Y,Z,G){if(Z.delete(X),$=$.getAttribute(X),$===null)switch(typeof Y){case"undefined":case"function":case"symbol":return}else if(Y!=null)switch(typeof Y){case"function":case"symbol":break;default:if(m0(Y,X),$===""+Y)return}Z1(B,$,Y,G)}function Lv($,B,X,Y,Z,G){if(Z.delete(X),$=$.getAttribute(X),$===null)switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(Y))return}else if(Y!=null)switch(typeof Y){case"function":case"symbol":case"boolean":break;default:if(!isNaN(Y)&&(m0(Y,B),$===""+Y))return}Z1(B,$,Y,G)}function hY($,B,X,Y,Z,G){if(Z.delete(X),$=$.getAttribute(X),$===null)switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":return}else if(Y!=null)switch(typeof Y){case"function":case"symbol":case"boolean":break;default:if(m0(Y,B),X=V6(""+Y),$===X)return}Z1(B,$,Y,G)}function qv($,B,X,Y){for(var Z={},G=new Set,z=$.attributes,W=0;W<z.length;W++)switch(z[W].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:G.add(z[W].name)}if(j6(B)){for(var J in X)if(X.hasOwnProperty(J)){var Q=X[J];if(Q!=null){if(e5.hasOwnProperty(J))typeof Q!=="function"&&B7(J,Q);else if(X.suppressHydrationWarning!==!0)switch(J){case"children":typeof Q!=="string"&&typeof Q!=="number"||Z1("children",$.textContent,Q,Z);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":z=$.innerHTML,Q=Q?Q.__html:void 0,Q!=null&&(Q=Nv($,Q),Z1(J,z,Q,Z));continue;case"style":G.delete(J),Hv($,Q,Z);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":G.delete(J.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",J);continue;case"className":G.delete("class"),z=iG($,"class",Q),Z1("className",z,Q,Z);continue;default:Y.context===j7&&B!=="svg"&&B!=="math"?G.delete(J.toLowerCase()):G.delete(J),z=iG($,J,Q),Z1(J,z,Q,Z)}}}}else for(Q in X)if(X.hasOwnProperty(Q)&&(J=X[Q],J!=null)){if(e5.hasOwnProperty(Q))typeof J!=="function"&&B7(Q,J);else if(X.suppressHydrationWarning!==!0)switch(Q){case"children":typeof J!=="string"&&typeof J!=="number"||Z1("children",$.textContent,J,Z);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":z=$.innerHTML,J=J?J.__html:void 0,J!=null&&(J=Nv($,J),z!==J&&(Z[Q]={__html:z}));continue;case"className":J4($,Q,"class",J,G,Z);continue;case"tabIndex":J4($,Q,"tabindex",J,G,Z);continue;case"style":G.delete(Q),Hv($,J,Z);continue;case"multiple":G.delete(Q),Z1(Q,$.multiple,J,Z);continue;case"muted":G.delete(Q),Z1(Q,$.muted,J,Z);continue;case"autoFocus":G.delete("autofocus"),Z1(Q,$.autofocus,J,Z);continue;case"data":if(B!=="object"){G.delete(Q),z=$.getAttribute("data"),Z1(Q,z,J,Z);continue}case"src":case"href":if(!(J!==""||B==="a"&&Q==="href"||B==="object"&&Q==="data")){Q==="src"?console.error('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.',Q,Q):console.error('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.',Q,Q);continue}hY($,Q,Q,J,G,Z);continue;case"action":case"formAction":if(z=$.getAttribute(Q),typeof J==="function"){G.delete(Q.toLowerCase()),Q==="formAction"?(G.delete("name"),G.delete("formenctype"),G.delete("formmethod"),G.delete("formtarget")):(G.delete("enctype"),G.delete("method"),G.delete("target"));continue}else if(z===pK){G.delete(Q.toLowerCase()),Z1(Q,"function",J,Z);continue}hY($,Q,Q.toLowerCase(),J,G,Z);continue;case"xlinkHref":hY($,Q,"xlink:href",J,G,Z);continue;case"contentEditable":xY($,Q,"contenteditable",J,G,Z);continue;case"spellCheck":xY($,Q,"spellcheck",J,G,Z);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":xY($,Q,Q,J,G,Z);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":Qv($,Q,Q.toLowerCase(),J,G,Z);continue;case"capture":case"download":$:{W=$;var A=z=Q,P=Z;if(G.delete(A),W=W.getAttribute(A),W===null)switch(typeof J){case"undefined":case"function":case"symbol":break $;default:if(J===!1)break $}else if(J!=null)switch(typeof J){case"function":case"symbol":break;case"boolean":if(J===!0&&W==="")break $;break;default:if(m0(J,z),W===""+J)break $}Z1(z,W,J,P)}continue;case"cols":case"rows":case"size":case"span":$:{if(W=$,A=z=Q,P=Z,G.delete(A),W=W.getAttribute(A),W===null)switch(typeof J){case"undefined":case"function":case"symbol":case"boolean":break $;default:if(isNaN(J)||1>J)break $}else if(J!=null)switch(typeof J){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(J)||1>J)&&(m0(J,z),W===""+J))break $}Z1(z,W,J,P)}continue;case"rowSpan":Lv($,Q,"rowspan",J,G,Z);continue;case"start":Lv($,Q,Q,J,G,Z);continue;case"xHeight":J4($,Q,"x-height",J,G,Z);continue;case"xlinkActuate":J4($,Q,"xlink:actuate",J,G,Z);continue;case"xlinkArcrole":J4($,Q,"xlink:arcrole",J,G,Z);continue;case"xlinkRole":J4($,Q,"xlink:role",J,G,Z);continue;case"xlinkShow":J4($,Q,"xlink:show",J,G,Z);continue;case"xlinkTitle":J4($,Q,"xlink:title",J,G,Z);continue;case"xlinkType":J4($,Q,"xlink:type",J,G,Z);continue;case"xmlBase":J4($,Q,"xml:base",J,G,Z);continue;case"xmlLang":J4($,Q,"xml:lang",J,G,Z);continue;case"xmlSpace":J4($,Q,"xml:space",J,G,Z);continue;case"inert":J!==""||AB[Q]||(AB[Q]=!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.",Q)),Qv($,Q,Q,J,G,Z);continue;default:if(!(2<Q.length)||Q[0]!=="o"&&Q[0]!=="O"||Q[1]!=="n"&&Q[1]!=="N"){W=gz(Q),z=!1,Y.context===j7&&B!=="svg"&&B!=="math"?G.delete(W.toLowerCase()):(A=Q.toLowerCase(),A=h8.hasOwnProperty(A)?h8[A]||null:null,A!==null&&A!==Q&&(z=!0,G.delete(A)),G.delete(W));$:if(A=$,P=W,W=J,k5(P))if(A.hasAttribute(P))A=A.getAttribute(P),m0(W,P),W=A===""+W?W:A;else{switch(typeof W){case"function":case"symbol":break $;case"boolean":if(A=P.toLowerCase().slice(0,5),A!=="data-"&&A!=="aria-")break $}W=W===void 0?void 0:null}else W=void 0;z||Z1(Q,W,J,Z)}}}return 0<G.size&&X.suppressHydrationWarning!==!0&&Tq($,G,Z),Object.keys(Z).length===0?null:Z}function yq($,B){switch($.length){case 0:return"";case 1:return $[0];case 2:return $[0]+" "+B+" "+$[1];default:return $.slice(0,-1).join(", ")+", "+B+" "+$[$.length-1]}}function gv($){switch($){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Sq(){if(typeof performance.getEntriesByType==="function"){for(var $=0,B=0,X=performance.getEntriesByType("resource"),Y=0;Y<X.length;Y++){var Z=X[Y],G=Z.transferSize,z=Z.initiatorType,W=Z.duration;if(G&&W&&gv(z)){z=0,W=Z.responseEnd;for(Y+=1;Y<X.length;Y++){var J=X[Y],Q=J.startTime;if(Q>W)break;var{transferSize:A,initiatorType:P}=J;A&&gv(P)&&(J=J.responseEnd,z+=A*(J<W?1:(W-Q)/(J-Q)))}if(--Y,B+=8*(G+z)/(Z.duration/1000),$++,10<$)break}}if(0<$)return B/$/1e6}return navigator.connection&&($=navigator.connection.downlink,typeof $==="number")?$:5}function O8($){return $.nodeType===9?$:$.ownerDocument}function Kv($){switch($){case t3:return C6;case x8:return IB;default:return j7}}function Uv($,B){if($===j7)switch(B){case"svg":return C6;case"math":return IB;default:return j7}return $===C6&&B==="foreignObject"?j7:$}function kY($,B){return $==="textarea"||$==="noscript"||typeof B.children==="string"||typeof B.children==="number"||typeof B.children==="bigint"||typeof B.dangerouslySetInnerHTML==="object"&&B.dangerouslySetInnerHTML!==null&&B.dangerouslySetInnerHTML.__html!=null}function uq(){var $=window.event;if($&&$.type==="popstate"){if($===wG)return!1;return wG=$,!0}return wG=null,!1}function J$(){var $=window.event;return $&&$!==z9?$.type:null}function H$(){var $=window.event;return $&&$!==z9?$.timeStamp:-1.1}function xq($){setTimeout(function(){throw $})}function hq($,B,X){switch(B){case"button":case"input":case"select":case"textarea":X.autoFocus&&$.focus();break;case"img":X.src?$.src=X.src:X.srcSet&&($.srcset=X.srcSet)}}function kq(){}function jq($,B,X,Y){fq($,B,X,Y),$[F1]=Y}function Ov($){k6($,"")}function Vq($,B,X){$.nodeValue=X}function wv($){if(!$.__reactWarnedAboutChildrenConflict){var B=$[F1]||null;if(B!==null){var X=n($);X!==null&&(typeof B.children==="string"||typeof B.children==="number"?($.__reactWarnedAboutChildrenConflict=!0,s(X,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.')})):B.dangerouslySetInnerHTML!=null&&($.__reactWarnedAboutChildrenConflict=!0,s(X,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 Y5($){return $==="head"}function Eq($,B){$.removeChild(B)}function Dq($,B){($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$).removeChild(B)}function Rv($,B){var X=B,Y=0;do{var Z=X.nextSibling;if($.removeChild(X),Z&&Z.nodeType===8)if(X=Z.data,X===G9||X===PB){if(Y===0){$.removeChild(Z),o3(B);return}Y--}else if(X===Z9||X===b5||X===O3||X===b6||X===U3)Y++;else if(X===oK)Q$($.ownerDocument.documentElement);else if(X===sK){X=$.ownerDocument.head,Q$(X);for(var G=X.firstChild;G;){var{nextSibling:z,nodeName:W}=G;G[w$]||W==="SCRIPT"||W==="STYLE"||W==="LINK"&&G.rel.toLowerCase()==="stylesheet"||X.removeChild(G),G=z}}else X===aK&&Q$($.ownerDocument.body);X=Z}while(X);o3(B)}function _v($,B){var X=$;$=0;do{var Y=X.nextSibling;if(X.nodeType===1?B?(X._stashedDisplay=X.style.display,X.style.display="none"):(X.style.display=X._stashedDisplay||"",X.getAttribute("style")===""&&X.removeAttribute("style")):X.nodeType===3&&(B?(X._stashedText=X.nodeValue,X.nodeValue=""):X.nodeValue=X._stashedText||""),Y&&Y.nodeType===8)if(X=Y.data,X===G9)if($===0)break;else $--;else X!==Z9&&X!==b5&&X!==O3&&X!==b6||$++;X=Y}while(X)}function lq($){_v($,!0)}function dq($){$=$.style,typeof $.setProperty==="function"?$.setProperty("display","none","important"):$.display="none"}function pq($){$.nodeValue=""}function cq($){_v($,!1)}function oq($,B){B=B[iK],B=B!==void 0&&B!==null&&B.hasOwnProperty("display")?B.display:null,$.style.display=B==null||typeof B==="boolean"?"":(""+B).trim()}function aq($,B){$.nodeValue=B}function jY($){var B=$.firstChild;B&&B.nodeType===10&&(B=B.nextSibling);for(;B;){var X=B;switch(B=B.nextSibling,X.nodeName){case"HTML":case"HEAD":case"BODY":jY(X),o(X);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(X.rel.toLowerCase()==="stylesheet")continue}$.removeChild(X)}}function sq($,B,X,Y){for(;$.nodeType===1;){var Z=X;if($.nodeName.toLowerCase()!==B.toLowerCase()){if(!Y&&($.nodeName!=="INPUT"||$.type!=="hidden"))break}else if(!Y)if(B==="input"&&$.type==="hidden"){m0(Z.name,"name");var G=Z.name==null?null:""+Z.name;if(Z.type==="hidden"&&$.getAttribute("name")===G)return $}else return $;else if(!$[w$])switch(B){case"meta":if(!$.hasAttribute("itemprop"))break;return $;case"link":if(G=$.getAttribute("rel"),G==="stylesheet"&&$.hasAttribute("data-precedence"))break;else if(G!==Z.rel||$.getAttribute("href")!==(Z.href==null||Z.href===""?null:Z.href)||$.getAttribute("crossorigin")!==(Z.crossOrigin==null?null:Z.crossOrigin)||$.getAttribute("title")!==(Z.title==null?null:Z.title))break;return $;case"style":if($.hasAttribute("data-precedence"))break;return $;case"script":if(G=$.getAttribute("src"),(G!==(Z.src==null?null:Z.src)||$.getAttribute("type")!==(Z.type==null?null:Z.type)||$.getAttribute("crossorigin")!==(Z.crossOrigin==null?null:Z.crossOrigin))&&G&&$.hasAttribute("async")&&!$.hasAttribute("itemprop"))break;return $;default:return $}if($=r1($.nextSibling),$===null)break}return null}function iq($,B,X){if(B==="")return null;for(;$.nodeType!==3;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!X)return null;if($=r1($.nextSibling),$===null)return null}return $}function Mv($,B){for(;$.nodeType!==8;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!B)return null;if($=r1($.nextSibling),$===null)return null}return $}function VY($){return $.data===b5||$.data===O3}function EY($){return $.data===b6||$.data===b5&&$.ownerDocument.readyState!==HQ}function rq($,B){var X=$.ownerDocument;if($.data===O3)$._reactRetry=B;else if($.data!==b5||X.readyState!==HQ)B();else{var Y=function(){B(),X.removeEventListener("DOMContentLoaded",Y)};X.addEventListener("DOMContentLoaded",Y),$._reactRetry=Y}}function r1($){for(;$!=null;$=$.nextSibling){var B=$.nodeType;if(B===1||B===3)break;if(B===8){if(B=$.data,B===Z9||B===b6||B===b5||B===O3||B===U3||B===KG||B===JQ)break;if(B===G9||B===PB)return null}}return $}function Fv($){if($.nodeType===1){for(var B=$.nodeName.toLowerCase(),X={},Y=$.attributes,Z=0;Z<Y.length;Z++){var G=Y[Z];X[Jv(G.name)]=G.name.toLowerCase()==="style"?uY($):G.value}return{type:B,props:X}}return $.nodeType===8?$.data===U3?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:$.nodeValue}function Av($,B,X){return X===null||X[cK]!==!0?($.nodeValue===B?$=null:(B=X5(B),$=X5($.nodeValue)===B?null:$.nodeValue),$):null}function DY($){$=$.nextSibling;for(var B=0;$;){if($.nodeType===8){var X=$.data;if(X===G9||X===PB){if(B===0)return r1($.nextSibling);B--}else X!==Z9&&X!==b6&&X!==b5&&X!==O3&&X!==U3||B++}$=$.nextSibling}return null}function Pv($){$=$.previousSibling;for(var B=0;$;){if($.nodeType===8){var X=$.data;if(X===Z9||X===b6||X===b5||X===O3||X===U3){if(B===0)return $;B--}else X!==G9&&X!==PB||B++}$=$.previousSibling}return null}function nq($){o3($)}function tq($){o3($)}function eq($){o3($)}function Iv($,B,X,Y,Z){switch(Z&&tB($,Y.ancestorInfo),B=O8(X),$){case"html":if($=B.documentElement,!$)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 $;case"head":if($=B.head,!$)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 $;case"body":if($=B.body,!$)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 $;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function $g($,B,X,Y){if(!X[W5]&&n(X)){var Z=X.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.",Z,Z,Z)}switch($){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(Z=X.attributes;Z.length;)X.removeAttributeNode(Z[0]);H1(X,$,B),X[Q1]=Y,X[F1]=B}function Q$($){for(var B=$.attributes;B.length;)$.removeAttributeNode(B[0]);o($)}function w8($){return typeof $.getRootNode==="function"?$.getRootNode():$.nodeType===9?$:$.ownerDocument}function bv($,B,X){var Y=m6;if(Y&&typeof B==="string"&&B){var Z=v4(B);Z='link[rel="'+$+'"][href="'+Z+'"]',typeof X==="string"&&(Z+='[crossorigin="'+X+'"]'),UQ.has(Z)||(UQ.add(Z),$={rel:$,crossOrigin:X,href:B},Y.querySelector(Z)===null&&(B=Y.createElement("link"),H1(B,"link",$),H0(B),Y.head.appendChild(B)))}}function Cv($,B,X,Y){var Z=(Z=G5.current)?w8(Z):null;if(!Z)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch($){case"meta":case"title":return null;case"style":return typeof X.precedence==="string"&&typeof X.href==="string"?(X=p3(X.href),B=I0(Z).hoistableStyles,Y=B.get(X),Y||(Y={type:"style",instance:null,count:0,state:null},B.set(X,Y)),Y):{type:"void",instance:null,count:0,state:null};case"link":if(X.rel==="stylesheet"&&typeof X.href==="string"&&typeof X.precedence==="string"){$=p3(X.href);var G=I0(Z).hoistableStyles,z=G.get($);if(!z&&(Z=Z.ownerDocument||Z,z={type:"stylesheet",instance:null,count:0,state:{loading:R3,preload:null}},G.set($,z),(G=Z.querySelector(L$($)))&&!G._p&&(z.instance=G,z.state.loading=W9|_4),!M4.has($))){var W={rel:"preload",as:"style",href:X.href,crossOrigin:X.crossOrigin,integrity:X.integrity,media:X.media,hrefLang:X.hrefLang,referrerPolicy:X.referrerPolicy};M4.set($,W),G||Bg(Z,$,W,z.state)}if(B&&Y===null)throw X=`
177
+
178
+ - `+R8(B)+`
179
+ + `+R8(X),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."+X);return z}if(B&&Y!==null)throw X=`
180
+
181
+ - `+R8(B)+`
182
+ + `+R8(X),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."+X);return null;case"script":return B=X.async,X=X.src,typeof X==="string"&&B&&typeof B!=="function"&&typeof B!=="symbol"?(X=c3(X),B=I0(Z).hoistableScripts,Y=B.get(X),Y||(Y={type:"script",instance:null,count:0,state:null},B.set(X,Y)),Y):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+$+'". this is a bug in React.')}}function R8($){var B=0,X="<link";return typeof $.rel==="string"?(B++,X+=' rel="'+$.rel+'"'):C4.call($,"rel")&&(B++,X+=' rel="'+($.rel===null?"null":"invalid type "+typeof $.rel)+'"'),typeof $.href==="string"?(B++,X+=' href="'+$.href+'"'):C4.call($,"href")&&(B++,X+=' href="'+($.href===null?"null":"invalid type "+typeof $.href)+'"'),typeof $.precedence==="string"?(B++,X+=' precedence="'+$.precedence+'"'):C4.call($,"precedence")&&(B++,X+=" precedence={"+($.precedence===null?"null":"invalid type "+typeof $.precedence)+"}"),Object.getOwnPropertyNames($).length>B&&(X+=" ..."),X+" />"}function p3($){return'href="'+v4($)+'"'}function L$($){return'link[rel="stylesheet"]['+$+"]"}function mv($){return c0({},$,{"data-precedence":$.precedence,precedence:null})}function Bg($,B,X,Y){$.querySelector('link[rel="preload"][as="style"]['+B+"]")?Y.loading=W9:(B=$.createElement("link"),Y.preload=B,B.addEventListener("load",function(){return Y.loading|=W9}),B.addEventListener("error",function(){return Y.loading|=gQ}),H1(B,"link",X),H0(B),$.head.appendChild(B))}function c3($){return'[src="'+v4($)+'"]'}function q$($){return"script[async]"+$}function Tv($,B,X){if(B.count++,B.instance===null)switch(B.type){case"style":var Y=$.querySelector('style[data-href~="'+v4(X.href)+'"]');if(Y)return B.instance=Y,H0(Y),Y;var Z=c0({},X,{"data-href":X.href,"data-precedence":X.precedence,href:null,precedence:null});return Y=($.ownerDocument||$).createElement("style"),H0(Y),H1(Y,"style",Z),_8(Y,X.precedence,$),B.instance=Y;case"stylesheet":Z=p3(X.href);var G=$.querySelector(L$(Z));if(G)return B.state.loading|=_4,B.instance=G,H0(G),G;Y=mv(X),(Z=M4.get(Z))&&lY(Y,Z),G=($.ownerDocument||$).createElement("link"),H0(G);var z=G;return z._p=new Promise(function(W,J){z.onload=W,z.onerror=J}),H1(G,"link",Y),B.state.loading|=_4,_8(G,X.precedence,$),B.instance=G;case"script":if(G=c3(X.src),Z=$.querySelector(q$(G)))return B.instance=Z,H0(Z),Z;if(Y=X,Z=M4.get(G))Y=c0({},X),dY(Y,Z);return $=$.ownerDocument||$,Z=$.createElement("script"),H0(Z),H1(Z,"link",Y),$.head.appendChild(Z),B.instance=Z;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+B.type+'". this is a bug in React.')}else B.type==="stylesheet"&&(B.state.loading&_4)===R3&&(Y=B.instance,B.state.loading|=_4,_8(Y,X.precedence,$));return B.instance}function _8($,B,X){for(var Y=X.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),Z=Y.length?Y[Y.length-1]:null,G=Z,z=0;z<Y.length;z++){var W=Y[z];if(W.dataset.precedence===B)G=W;else if(G!==Z)break}G?G.parentNode.insertBefore($,G.nextSibling):(B=X.nodeType===9?X.head:X,B.insertBefore($,B.firstChild))}function lY($,B){$.crossOrigin==null&&($.crossOrigin=B.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=B.referrerPolicy),$.title==null&&($.title=B.title)}function dY($,B){$.crossOrigin==null&&($.crossOrigin=B.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=B.referrerPolicy),$.integrity==null&&($.integrity=B.integrity)}function fv($,B,X){if(bB===null){var Y=new Map,Z=bB=new Map;Z.set(X,Y)}else Z=bB,Y=Z.get(X),Y||(Y=new Map,Z.set(X,Y));if(Y.has($))return Y;Y.set($,null),X=X.getElementsByTagName($);for(Z=0;Z<X.length;Z++){var G=X[Z];if(!(G[w$]||G[Q1]||$==="link"&&G.getAttribute("rel")==="stylesheet")&&G.namespaceURI!==t3){var z=G.getAttribute(B)||"";z=$+z;var W=Y.get(z);W?W.push(G):Y.set(z,[G])}}return Y}function yv($,B,X){$=$.ownerDocument||$,$.head.insertBefore(X,B==="title"?$.querySelector("head > title"):null)}function Xg($,B,X){var Y=!X.ancestorInfo.containerTagInScope;if(X.context===C6||B.itemProp!=null)return!Y||B.itemProp==null||$!=="meta"&&$!=="title"&&$!=="style"&&$!=="link"&&$!=="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.",$,$),!1;switch($){case"meta":case"title":return!0;case"style":if(typeof B.precedence!=="string"||typeof B.href!=="string"||B.href===""){Y&&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 B.rel!=="string"||typeof B.href!=="string"||B.href===""||B.onLoad||B.onError){if(B.rel==="stylesheet"&&typeof B.precedence==="string"){$=B.href;var{onError:Z,disabled:G}=B;X=[],B.onLoad&&X.push("`onLoad`"),Z&&X.push("`onError`"),G!=null&&X.push("`disabled`"),Z=yq(X,"and"),Z+=X.length===1?" prop":" props",G=X.length===1?"an "+Z:"the "+Z,X.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.',$,G,Z)}Y&&(typeof B.rel!=="string"||typeof B.href!=="string"||B.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"):(B.onError||B.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(B.rel){case"stylesheet":return $=B.precedence,B=B.disabled,typeof $!=="string"&&Y&&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 $==="string"&&B==null;default:return!0}case"script":if($=B.async&&typeof B.async!=="function"&&typeof B.async!=="symbol",!$||B.onLoad||B.onError||!B.src||typeof B.src!=="string"){Y&&($?B.onLoad||B.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":Y&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",$)}return!1}function Sv($){return $.type==="stylesheet"&&($.state.loading&KQ)===R3?!1:!0}function Yg($,B,X,Y){if(X.type==="stylesheet"&&(typeof Y.media!=="string"||matchMedia(Y.media).matches!==!1)&&(X.state.loading&_4)===R3){if(X.instance===null){var Z=p3(Y.href),G=B.querySelector(L$(Z));if(G){B=G._p,B!==null&&typeof B==="object"&&typeof B.then==="function"&&($.count++,$=M8.bind($),B.then($,$)),X.state.loading|=_4,X.instance=G,H0(G);return}G=B.ownerDocument||B,Y=mv(Y),(Z=M4.get(Z))&&lY(Y,Z),G=G.createElement("link"),H0(G);var z=G;z._p=new Promise(function(W,J){z.onload=W,z.onerror=J}),H1(G,"link",Y),X.instance=G}$.stylesheets===null&&($.stylesheets=new Map),$.stylesheets.set(X,B),(B=X.state.preload)&&(X.state.loading&KQ)===R3&&($.count++,X=M8.bind($),B.addEventListener("load",X),B.addEventListener("error",X))}}function Zg($,B){return $.stylesheets&&$.count===0&&F8($,$.stylesheets),0<$.count||0<$.imgCount?function(X){var Y=setTimeout(function(){if($.stylesheets&&F8($,$.stylesheets),$.unsuspend){var G=$.unsuspend;$.unsuspend=null,G()}},tK+B);0<$.imgBytes&&_G===0&&(_G=125*Sq()*$U);var Z=setTimeout(function(){if($.waitingForImages=!1,$.count===0&&($.stylesheets&&F8($,$.stylesheets),$.unsuspend)){var G=$.unsuspend;$.unsuspend=null,G()}},($.imgBytes>_G?50:eK)+B);return $.unsuspend=X,function(){$.unsuspend=null,clearTimeout(Y),clearTimeout(Z)}}:null}function M8(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)F8(this,this.stylesheets);else if(this.unsuspend){var $=this.unsuspend;this.unsuspend=null,$()}}}function F8($,B){$.stylesheets=null,$.unsuspend!==null&&($.count++,CB=new Map,B.forEach(Gg,$),CB=null,M8.call($))}function Gg($,B){if(!(B.state.loading&_4)){var X=CB.get($);if(X)var Y=X.get(MG);else{X=new Map,CB.set($,X);for(var Z=$.querySelectorAll("link[data-precedence],style[data-precedence]"),G=0;G<Z.length;G++){var z=Z[G];if(z.nodeName==="LINK"||z.getAttribute("media")!=="not all")X.set(z.dataset.precedence,z),Y=z}Y&&X.set(MG,Y)}Z=B.instance,z=Z.getAttribute("data-precedence"),G=X.get(z)||Y,G===Y&&X.set(MG,Z),X.set(z,Z),this.count++,Y=M8.bind(this),Z.addEventListener("load",Y),Z.addEventListener("error",Y),G?G.parentNode.insertBefore(Z,G.nextSibling):($=$.nodeType===9?$.head:$,$.insertBefore(Z,$.firstChild)),B.state.loading|=_4}}function zg($,B,X,Y,Z,G,z,W,J){this.tag=1,this.containerInfo=$,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=w3,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=z4(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=z4(0),this.hiddenUpdates=z4(null),this.identifierPrefix=Y,this.onUncaughtError=Z,this.onCaughtError=G,this.onRecoverableError=z,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=J,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,$=this.pendingUpdatersLaneMap=[];for(B=0;31>B;B++)$.push(new Set);this._debugRootType=X?"hydrateRoot()":"createRoot()"}function uv($,B,X,Y,Z,G,z,W,J,Q,A,P){return $=new zg($,B,X,z,J,Q,A,P,W),B=PK,G===!0&&(B|=O1|T4),B|=k0,G=T(3,null,null,B),$.current=G,G.stateNode=$,B=UX(),o5(B),$.pooledCache=B,o5(B),G.memoizedState={element:Y,isDehydrated:X,cache:B},MX(G),$}function xv($){if(!$)return H5;return $=H5,$}function pY($,B,X,Y,Z,G){if(U1&&typeof U1.onScheduleFiberRoot==="function")try{U1.onScheduleFiberRoot(r3,Y,X)}catch(z){G7||(G7=!0,console.error("React instrumentation encountered an error: %o",z))}Z=xv(Z),Y.context===null?Y.context=Z:Y.pendingContext=Z,Z7&&t1!==null&&!_Q&&(_Q=!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.
183
+
184
+ Check the render method of %s.`,i(t1)||"Unknown")),Y=r7(B),Y.payload={element:X},G=G===void 0?null:G,G!==null&&(typeof G!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",G),Y.callback=G),X=n7($,Y,B),X!==null&&(d4(B,"root.render()",null),k2(X,$,B),s6(X,$,B))}function hv($,B){if($=$.memoizedState,$!==null&&$.dehydrated!==null){var X=$.retryLane;$.retryLane=X!==0&&X<B?X:B}}function cY($,B){hv($,B),($=$.alternate)&&hv($,B)}function kv($){if($.tag===13||$.tag===31){var B=K1($,67108864);B!==null&&k2(B,$,67108864),cY($,67108864)}}function jv($){if($.tag===13||$.tag===31){var B=i1($);B=c7(B);var X=K1($,B);X!==null&&k2(X,$,B),cY($,B)}}function Wg(){return t1}function Ng($,B,X,Y){var Z=x.T;x.T=null;var G=Q2.p;try{Q2.p=e1,oY($,B,X,Y)}finally{Q2.p=G,x.T=Z}}function vg($,B,X,Y){var Z=x.T;x.T=null;var G=Q2.p;try{Q2.p=m4,oY($,B,X,Y)}finally{Q2.p=G,x.T=Z}}function oY($,B,X,Y){if(TB){var Z=aY(Y);if(Z===null)fY($,B,Y,fB,X),Ev($,Y);else if(Jg(Z,$,B,X,Y))Y.stopPropagation();else if(Ev($,Y),B&4&&-1<XU.indexOf($)){for(;Z!==null;){var G=n(Z);if(G!==null)switch(G.tag){case 3:if(G=G.stateNode,G.current.memoizedState.isDehydrated){var z=g1(G.pendingLanes);if(z!==0){var W=G;W.pendingLanes|=2;for(W.entangledLanes|=2;z;){var J=1<<31-M1(z);W.entanglements[1]|=J,z&=~J}$7(G),(Z2&($1|Y4))===N1&&(LB=G1()+iH,N$(0,!1))}}break;case 31:case 13:W=K1(G,2),W!==null&&k2(W,G,2),D3(),cY(G,2)}if(G=aY(Y),G===null&&fY($,B,Y,fB,X),G===Z)break;Z=G}Z!==null&&Y.stopPropagation()}else fY($,B,Y,null,X)}}function aY($){return $=eB($),sY($)}function sY($){if(fB=null,$=y($),$!==null){var B=K0($);if(B===null)$=null;else{var X=B.tag;if(X===13){if($=_0(B),$!==null)return $;$=null}else if(X===31){if($=k(B),$!==null)return $;$=null}else if(X===3){if(B.stateNode.current.memoizedState.isDehydrated)return B.tag===3?B.stateNode.containerInfo:null;$=null}else B!==$&&($=null)}}return fB=$,null}function Vv($){switch($){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 e1;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 m4;case"message":switch(wg()){case WZ:return e1;case NZ:return m4;case i3:case Rg:return W7;case vZ:return S8;default:return W7}default:return W7}}function Ev($,B){switch($){case"focusin":case"focusout":C5=null;break;case"dragenter":case"dragleave":m5=null;break;case"mouseover":case"mouseout":T5=null;break;case"pointerover":case"pointerout":v9.delete(B.pointerId);break;case"gotpointercapture":case"lostpointercapture":J9.delete(B.pointerId)}}function g$($,B,X,Y,Z,G){if($===null||$.nativeEvent!==G)return $={blockedOn:B,domEventName:X,eventSystemFlags:Y,nativeEvent:G,targetContainers:[Z]},B!==null&&(B=n(B),B!==null&&kv(B)),$;return $.eventSystemFlags|=Y,B=$.targetContainers,Z!==null&&B.indexOf(Z)===-1&&B.push(Z),$}function Jg($,B,X,Y,Z){switch(B){case"focusin":return C5=g$(C5,$,B,X,Y,Z),!0;case"dragenter":return m5=g$(m5,$,B,X,Y,Z),!0;case"mouseover":return T5=g$(T5,$,B,X,Y,Z),!0;case"pointerover":var G=Z.pointerId;return v9.set(G,g$(v9.get(G)||null,$,B,X,Y,Z)),!0;case"gotpointercapture":return G=Z.pointerId,J9.set(G,g$(J9.get(G)||null,$,B,X,Y,Z)),!0}return!1}function Dv($){var B=y($.target);if(B!==null){var X=K0(B);if(X!==null){if(B=X.tag,B===13){if(B=_0(X),B!==null){$.blockedOn=B,l($.priority,function(){jv(X)});return}}else if(B===31){if(B=k(X),B!==null){$.blockedOn=B,l($.priority,function(){jv(X)});return}}else if(B===3&&X.stateNode.current.memoizedState.isDehydrated){$.blockedOn=X.tag===3?X.stateNode.containerInfo:null;return}}}$.blockedOn=null}function A8($){if($.blockedOn!==null)return!1;for(var B=$.targetContainers;0<B.length;){var X=aY($.nativeEvent);if(X===null){X=$.nativeEvent;var Y=new X.constructor(X.type,X),Z=Y;R$!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),R$=Z,X.target.dispatchEvent(Y),R$===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."),R$=null}else return B=n(X),B!==null&&kv(B),$.blockedOn=X,!1;B.shift()}return!0}function lv($,B,X){A8($)&&X.delete(B)}function Hg(){FG=!1,C5!==null&&A8(C5)&&(C5=null),m5!==null&&A8(m5)&&(m5=null),T5!==null&&A8(T5)&&(T5=null),v9.forEach(lv),J9.forEach(lv)}function P8($,B){$.blockedOn===B&&($.blockedOn=null,FG||(FG=!0,z2.unstable_scheduleCallback(z2.unstable_NormalPriority,Hg)))}function dv($){yB!==$&&(yB=$,z2.unstable_scheduleCallback(z2.unstable_NormalPriority,function(){yB===$&&(yB=null);for(var B=0;B<$.length;B+=3){var X=$[B],Y=$[B+1],Z=$[B+2];if(typeof Y!=="function")if(sY(Y||X)===null)continue;else break;var G=n(X);G!==null&&($.splice(B,3),B-=3,X={pending:!0,data:Z,method:X.method,action:Y},Object.freeze(X),sX(G,X,Y,Z))}}))}function o3($){function B(J){return P8(J,$)}C5!==null&&P8(C5,$),m5!==null&&P8(m5,$),T5!==null&&P8(T5,$),v9.forEach(B),J9.forEach(B);for(var X=0;X<f5.length;X++){var Y=f5[X];Y.blockedOn===$&&(Y.blockedOn=null)}for(;0<f5.length&&(X=f5[0],X.blockedOn===null);)Dv(X),X.blockedOn===null&&f5.shift();if(X=($.ownerDocument||$).$$reactFormReplay,X!=null)for(Y=0;Y<X.length;Y+=3){var Z=X[Y],G=X[Y+1],z=Z[F1]||null;if(typeof G==="function")z||dv(X);else if(z){var W=null;if(G&&G.hasAttribute("formAction")){if(Z=G,z=G[F1]||null)W=z.formAction;else if(sY(Z)!==null)continue}else W=z.action;typeof W==="function"?X[Y+1]=W:(X.splice(Y,3),Y-=3),dv(X)}}}function pv(){function $(G){G.canIntercept&&G.info==="react-transition"&&G.intercept({handler:function(){return new Promise(function(z){return Z=z})},focusReset:"manual",scroll:"manual"})}function B(){Z!==null&&(Z(),Z=null),Y||setTimeout(X,20)}function X(){if(!Y&&!navigation.transition){var G=navigation.currentEntry;G&&G.url!=null&&navigation.navigate(G.url,{state:G.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var Y=!1,Z=null;return navigation.addEventListener("navigate",$),navigation.addEventListener("navigatesuccess",B),navigation.addEventListener("navigateerror",B),setTimeout(X,100),function(){Y=!0,navigation.removeEventListener("navigate",$),navigation.removeEventListener("navigatesuccess",B),navigation.removeEventListener("navigateerror",B),Z!==null&&(Z(),Z=null)}}}function iY($){this._internalRoot=$}function I8($){this._internalRoot=$}function cv($){$[W5]&&($._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 c0=Object.assign,Qg=Symbol.for("react.element"),X7=Symbol.for("react.transitional.element"),a3=Symbol.for("react.portal"),s3=Symbol.for("react.fragment"),b8=Symbol.for("react.strict_mode"),rY=Symbol.for("react.profiler"),nY=Symbol.for("react.consumer"),Y7=Symbol.for("react.context"),K$=Symbol.for("react.forward_ref"),tY=Symbol.for("react.suspense"),eY=Symbol.for("react.suspense_list"),C8=Symbol.for("react.memo"),n1=Symbol.for("react.lazy"),$Z=Symbol.for("react.activity"),Lg=Symbol.for("react.memo_cache_sentinel"),ov=Symbol.iterator,qg=Symbol.for("react.client.reference"),t2=Array.isArray,x=T6.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q2=PG.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,gg=Object.freeze({pending:!1,data:null,method:null,action:null}),BZ=[],XZ=[],A7=-1,Z5=B2(null),U$=B2(null),G5=B2(null),m8=B2(null),O$=0,av,sv,iv,rv,nv,tv,ev;u.__reactDisabledLog=!0;var YZ,$J,ZZ=!1,GZ=new(typeof WeakMap==="function"?WeakMap:Map),t1=null,Z7=!1,C4=Object.prototype.hasOwnProperty,zZ=z2.unstable_scheduleCallback,Kg=z2.unstable_cancelCallback,Ug=z2.unstable_shouldYield,Og=z2.unstable_requestPaint,G1=z2.unstable_now,wg=z2.unstable_getCurrentPriorityLevel,WZ=z2.unstable_ImmediatePriority,NZ=z2.unstable_UserBlockingPriority,i3=z2.unstable_NormalPriority,Rg=z2.unstable_LowPriority,vZ=z2.unstable_IdlePriority,_g=z2.log,Mg=z2.unstable_setDisableYieldValue,r3=null,U1=null,G7=!1,z7=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",M1=Math.clz32?Math.clz32:y1,Fg=Math.log,Ag=Math.LN2,T8=256,f8=262144,y8=4194304,e1=2,m4=8,W7=32,S8=268435456,z5=Math.random().toString(36).slice(2),Q1="__reactFiber$"+z5,F1="__reactProps$"+z5,W5="__reactContainer$"+z5,JZ="__reactEvents$"+z5,Pg="__reactListeners$"+z5,Ig="__reactHandles$"+z5,BJ="__reactResources$"+z5,w$="__reactMarker$"+z5,XJ=new Set,e5={},HZ={},bg={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Cg=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]*$"),YJ={},ZJ={},mg=/[\n"\\]/g,GJ=!1,zJ=!1,WJ=!1,NJ=!1,vJ=!1,JJ=!1,HJ=["value","defaultValue"],QJ=!1,LJ=/["'&<>\n\t]|^\s|\s$/,Tg="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(" "),qJ="applet caption html table td th marquee object template foreignObject desc title".split(" "),fg=qJ.concat(["button"]),yg="dd dt li option optgroup p rp rt".split(" "),gJ={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},u8={},QZ={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"]},KJ=/([A-Z])/g,UJ=/^ms-/,Sg=/^(?:webkit|moz|o)[A-Z]/,ug=/^-ms-/,xg=/-(.)/g,OJ=/;\s*$/,n3={},LZ={},wJ=!1,RJ=!1,_J=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(" ")),x8="http://www.w3.org/1998/Math/MathML",t3="http://www.w3.org/2000/svg",hg=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"]]),h8={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"},MJ={"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},e3={},kg=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]*$"),jg=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]*$"),FJ=!1,A1={},AJ=/^on./,Vg=/^on[^A-Z]/,Eg=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]*$"),Dg=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]*$"),lg=/^[\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,R$=null,$6=null,B6=null,qZ=!1,N7=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gZ=!1;if(N7)try{var _$={};Object.defineProperty(_$,"passive",{get:function(){gZ=!0}}),window.addEventListener("test",_$,_$),window.removeEventListener("test",_$,_$)}catch($){gZ=!1}var N5=null,KZ=null,k8=null,$3={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function($){return $.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},j8=u1($3),M$=c0({},$3,{view:0,detail:0}),dg=u1(M$),UZ,OZ,F$,V8=c0({},M$,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$X,button:0,buttons:0,relatedTarget:function($){return $.relatedTarget===void 0?$.fromElement===$.srcElement?$.toElement:$.fromElement:$.relatedTarget},movementX:function($){if("movementX"in $)return $.movementX;return $!==F$&&(F$&&$.type==="mousemove"?(UZ=$.screenX-F$.screenX,OZ=$.screenY-F$.screenY):OZ=UZ=0,F$=$),UZ},movementY:function($){return"movementY"in $?$.movementY:OZ}}),PJ=u1(V8),pg=c0({},V8,{dataTransfer:0}),cg=u1(pg),og=c0({},M$,{relatedTarget:0}),wZ=u1(og),ag=c0({},$3,{animationName:0,elapsedTime:0,pseudoElement:0}),sg=u1(ag),ig=c0({},$3,{clipboardData:function($){return"clipboardData"in $?$.clipboardData:window.clipboardData}}),rg=u1(ig),ng=c0({},$3,{data:0}),IJ=u1(ng),tg=IJ,eg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$K={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"},BK={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},XK=c0({},M$,{key:function($){if($.key){var B=eg[$.key]||$.key;if(B!=="Unidentified")return B}return $.type==="keypress"?($=A9($),$===13?"Enter":String.fromCharCode($)):$.type==="keydown"||$.type==="keyup"?$K[$.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$X,charCode:function($){return $.type==="keypress"?A9($):0},keyCode:function($){return $.type==="keydown"||$.type==="keyup"?$.keyCode:0},which:function($){return $.type==="keypress"?A9($):$.type==="keydown"||$.type==="keyup"?$.keyCode:0}}),YK=u1(XK),ZK=c0({},V8,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),bJ=u1(ZK),GK=c0({},M$,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$X}),zK=u1(GK),WK=c0({},$3,{propertyName:0,elapsedTime:0,pseudoElement:0}),NK=u1(WK),vK=c0({},V8,{deltaX:function($){return"deltaX"in $?$.deltaX:("wheelDeltaX"in $)?-$.wheelDeltaX:0},deltaY:function($){return"deltaY"in $?$.deltaY:("wheelDeltaY"in $)?-$.wheelDeltaY:("wheelDelta"in $)?-$.wheelDelta:0},deltaZ:0,deltaMode:0}),JK=u1(vK),HK=c0({},$3,{newState:0,oldState:0}),QK=u1(HK),LK=[9,13,27,32],CJ=229,RZ=N7&&"CompositionEvent"in window,A$=null;N7&&"documentMode"in document&&(A$=document.documentMode);var qK=N7&&"TextEvent"in window&&!A$,mJ=N7&&(!RZ||A$&&8<A$&&11>=A$),TJ=32,fJ=String.fromCharCode(TJ),yJ=!1,X6=!1,gK={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},P$=null,I$=null,SJ=!1;N7&&(SJ=hL("input")&&(!document.documentMode||9<document.documentMode));var P1=typeof Object.is==="function"?Object.is:lL,KK=N7&&"documentMode"in document&&11>=document.documentMode,Y6=null,_Z=null,b$=null,MZ=!1,Z6={animationend:V5("Animation","AnimationEnd"),animationiteration:V5("Animation","AnimationIteration"),animationstart:V5("Animation","AnimationStart"),transitionrun:V5("Transition","TransitionRun"),transitionstart:V5("Transition","TransitionStart"),transitioncancel:V5("Transition","TransitionCancel"),transitionend:V5("Transition","TransitionEnd")},FZ={},uJ={};N7&&(uJ=document.createElement("div").style,("AnimationEvent"in window)||(delete Z6.animationend.animation,delete Z6.animationiteration.animation,delete Z6.animationstart.animation),("TransitionEvent"in window)||delete Z6.transitionend.transition);var xJ=E5("animationend"),hJ=E5("animationiteration"),kJ=E5("animationstart"),UK=E5("transitionrun"),OK=E5("transitionstart"),wK=E5("transitioncancel"),jJ=E5("transitionend"),VJ=new Map,AZ="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(" ");AZ.push("scrollEnd");var EJ=0;if(typeof performance==="object"&&typeof performance.now==="function")var RK=performance,DJ=function(){return RK.now()};else{var _K=Date;DJ=function(){return _K.now()}}var PZ=typeof reportError==="function"?reportError:function($){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var B=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $==="object"&&$!==null&&typeof $.message==="string"?String($.message):String($),error:$});if(!window.dispatchEvent(B))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",$);return}console.error($)},MK="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.",E8=0,IZ=1,bZ=2,CZ=3,D8="– ",l8="+ ",lJ="  ",A2=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",H4="Components ⚛",o0="Scheduler ⚛",s0="Blocking",v5=!1,P7={color:"primary",properties:null,tooltipText:"",track:H4},J5={start:-0,end:-0,detail:{devtools:P7}},FK=["Changed Props",""],dJ="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",AK=["Changed Props",dJ],C$=1,I7=2,Q4=[],G6=0,mZ=0,H5={};Object.freeze(H5);var L4=null,z6=null,A0=0,PK=1,k0=2,O1=8,T4=16,IK=32,pJ=!1;try{var cJ=Object.preventExtensions({});}catch($){pJ=!0}var TZ=new WeakMap,W6=[],N6=0,d8=null,m$=0,q4=[],g4=0,B3=null,b7=1,C7="",L1=null,P2=null,i0=!1,v7=!1,$4=null,Q5=null,K4=!1,fZ=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."),yZ=B2(null),SZ=B2(null),oJ={},p8=null,v6=null,J6=!1,bK=typeof AbortController<"u"?AbortController:function(){var $=[],B=this.signal={aborted:!1,addEventListener:function(X,Y){$.push(Y)}};this.abort=function(){B.aborted=!0,$.forEach(function(X){return X()})}},CK=z2.unstable_scheduleCallback,mK=z2.unstable_NormalPriority,p2={$$typeof:Y7,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},c2=z2.unstable_now,c8=console.createTask?console.createTask:function(){return null},T$=1,o8=2,z1=-0,L5=-0,m7=-0,T7=null,I1=-1.1,X3=-0,u2=-0,g0=-1.1,O0=-1.1,T2=null,j2=!1,q5=-0,J7=-1.1,f$=null,g5=0,uZ=null,xZ=null,Y3=-1.1,y$=null,H6=-1.1,a8=-1.1,H7=-0,f7=-1.1,U4=-1.1,hZ=0,S$=null,aJ=null,sJ=null,K5=-1.1,Z3=null,U5=-1.1,s8=-1.1,iJ=-0,rJ=-0,i8=0,y7=null,nJ=0,u$=-1.1,r8=!1,n8=!1,x$=null,kZ=0,G3=0,Q6=null,tJ=x.S;x.S=function($,B){if(aH=G1(),typeof B==="object"&&B!==null&&typeof B.then==="function"){if(0>f7&&0>U4){f7=c2();var X=H$(),Y=J$();if(X!==U5||Y!==Z3)U5=-1.1;K5=X,Z3=Y}iL($,B)}tJ!==null&&tJ($,B)};var z3=B2(null),f4={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},h$=[],k$=[],j$=[],V$=[],E$=[],D$=[],W3=new Set;f4.recordUnsafeLifecycleWarnings=function($,B){W3.has($.type)||(typeof B.componentWillMount==="function"&&B.componentWillMount.__suppressDeprecationWarning!==!0&&h$.push($),$.mode&O1&&typeof B.UNSAFE_componentWillMount==="function"&&k$.push($),typeof B.componentWillReceiveProps==="function"&&B.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&j$.push($),$.mode&O1&&typeof B.UNSAFE_componentWillReceiveProps==="function"&&V$.push($),typeof B.componentWillUpdate==="function"&&B.componentWillUpdate.__suppressDeprecationWarning!==!0&&E$.push($),$.mode&O1&&typeof B.UNSAFE_componentWillUpdate==="function"&&D$.push($))},f4.flushPendingUnsafeLifecycleWarnings=function(){var $=new Set;0<h$.length&&(h$.forEach(function(W){$.add(i(W)||"Component"),W3.add(W.type)}),h$=[]);var B=new Set;0<k$.length&&(k$.forEach(function(W){B.add(i(W)||"Component"),W3.add(W.type)}),k$=[]);var X=new Set;0<j$.length&&(j$.forEach(function(W){X.add(i(W)||"Component"),W3.add(W.type)}),j$=[]);var Y=new Set;0<V$.length&&(V$.forEach(function(W){Y.add(i(W)||"Component"),W3.add(W.type)}),V$=[]);var Z=new Set;0<E$.length&&(E$.forEach(function(W){Z.add(i(W)||"Component"),W3.add(W.type)}),E$=[]);var G=new Set;if(0<D$.length&&(D$.forEach(function(W){G.add(i(W)||"Component"),W3.add(W.type)}),D$=[]),0<B.size){var z=_(B);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.
185
+
186
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
187
+
188
+ Please update the following components: %s`,z)}0<Y.size&&(z=_(Y),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.
189
+
190
+ * Move data fetching code or side effects to componentDidUpdate.
191
+ * 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
192
+
193
+ Please update the following components: %s`,z)),0<G.size&&(z=_(G),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.
194
+
195
+ * Move data fetching code or side effects to componentDidUpdate.
196
+
197
+ Please update the following components: %s`,z)),0<$.size&&(z=_($),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
198
+
199
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
200
+ * 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.
201
+
202
+ Please update the following components: %s`,z)),0<X.size&&(z=_(X),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
203
+
204
+ * Move data fetching code or side effects to componentDidUpdate.
205
+ * 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
206
+ * 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.
207
+
208
+ Please update the following components: %s`,z)),0<Z.size&&(z=_(Z),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
209
+
210
+ * Move data fetching code or side effects to componentDidUpdate.
211
+ * 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.
212
+
213
+ Please update the following components: %s`,z))};var t8=new Map,eJ=new Set;f4.recordLegacyContextWarning=function($,B){var X=null;for(var Y=$;Y!==null;)Y.mode&O1&&(X=Y),Y=Y.return;X===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."):!eJ.has($.type)&&(Y=t8.get(X),$.type.contextTypes!=null||$.type.childContextTypes!=null||B!==null&&typeof B.getChildContext==="function")&&(Y===void 0&&(Y=[],t8.set(X,Y)),Y.push($))},f4.flushLegacyContextWarning=function(){t8.forEach(function($){if($.length!==0){var B=$[0],X=new Set;$.forEach(function(Z){X.add(i(Z)||"Component"),eJ.add(Z.type)});var Y=_(X);s(B,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
214
+
215
+ The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
216
+
217
+ Please update the following components: %s
218
+
219
+ Learn more about this warning here: https://react.dev/link/legacy-context`,Y)})}})},f4.discardPendingWarnings=function(){h$=[],k$=[],j$=[],V$=[],E$=[],D$=[],t8=new Map};var $H={react_stack_bottom_frame:function($,B,X){var Y=Z7;Z7=!0;try{return $(B,X)}finally{Z7=Y}}},jZ=$H.react_stack_bottom_frame.bind($H),BH={react_stack_bottom_frame:function($){var B=Z7;Z7=!0;try{return $.render()}finally{Z7=B}}},XH=BH.react_stack_bottom_frame.bind(BH),YH={react_stack_bottom_frame:function($,B){try{B.componentDidMount()}catch(X){H2($,$.return,X)}}},VZ=YH.react_stack_bottom_frame.bind(YH),ZH={react_stack_bottom_frame:function($,B,X,Y,Z){try{B.componentDidUpdate(X,Y,Z)}catch(G){H2($,$.return,G)}}},GH=ZH.react_stack_bottom_frame.bind(ZH),zH={react_stack_bottom_frame:function($,B){var X=B.stack;$.componentDidCatch(B.value,{componentStack:X!==null?X:""})}},TK=zH.react_stack_bottom_frame.bind(zH),WH={react_stack_bottom_frame:function($,B,X){try{X.componentWillUnmount()}catch(Y){H2($,B,Y)}}},NH=WH.react_stack_bottom_frame.bind(WH),vH={react_stack_bottom_frame:function($){var B=$.create;return $=$.inst,B=B(),$.destroy=B}},fK=vH.react_stack_bottom_frame.bind(vH),JH={react_stack_bottom_frame:function($,B,X){try{X()}catch(Y){H2($,B,Y)}}},yK=JH.react_stack_bottom_frame.bind(JH),HH={react_stack_bottom_frame:function($){var B=$._init;return B($._payload)}},SK=HH.react_stack_bottom_frame.bind(HH),L6=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`."),EZ=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."),e8=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."),$B={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.')}},N3=null,l$=!1,q6=null,d$=0,j0=null,DZ,QH=DZ=!1,LH={},qH={},gH={};I=function($,B,X){if(X!==null&&typeof X==="object"&&X._store&&(!X._store.validated&&X.key==null||X._store.validated===2)){if(typeof X._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.");X._store.validated=1;var Y=i($),Z=Y||"null";if(!LH[Z]){LH[Z]=!0,X=X._owner,$=$._debugOwner;var G="";$&&typeof $.tag==="number"&&(Z=i($))&&(G=`
220
+
221
+ Check the render method of \``+Z+"`."),G||Y&&(G=`
222
+
223
+ Check the top-level render call using <`+Y+">.");var z="";X!=null&&$!==X&&(Y=null,typeof X.tag==="number"?Y=i(X):typeof X.name==="string"&&(Y=X.name),Y&&(z=" It was passed a child from "+Y+".")),s(B,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.',G,z)})}}};var v3=WW(!0),KH=WW(!1),UH=0,OH=1,wH=2,lZ=3,O5=!1,RH=!1,dZ=null,pZ=!1,g6=B2(null),BB=B2(0),B4=B2(null),O4=null,K6=1,p$=2,l2=B2(0),XB=0,w4=1,b1=2,X4=4,C1=8,U6,_H=new Set,MH=new Set,cZ=new Set,FH=new Set,S7=0,f0=null,U2=null,o2=null,YB=!1,O6=!1,J3=!1,ZB=0,c$=0,u7=null,uK=0,xK=25,S=null,R4=null,x7=-1,o$=!1,a$={readContext:m2,use:$5,useCallback:E2,useContext:E2,useEffect:E2,useImperativeHandle:E2,useLayoutEffect:E2,useInsertionEffect:E2,useMemo:E2,useReducer:E2,useRef:E2,useState:E2,useDebugValue:E2,useDeferredValue:E2,useTransition:E2,useSyncExternalStore:E2,useId:E2,useHostTransitionStatus:E2,useFormState:E2,useActionState:E2,useOptimistic:E2,useMemoCache:E2,useCacheRefresh:E2};a$.useEffectEvent=E2;var oZ=null,AH=null,aZ=null,PH=null,Q7=null,y4=null,GB=null;oZ={readContext:function($){return m2($)},use:$5,useCallback:function($,B){return S="useCallback",p0(),u3(B),pX($,B)},useContext:function($){return S="useContext",p0(),m2($)},useEffect:function($,B){return S="useEffect",p0(),u3(B),t9($,B)},useImperativeHandle:function($,B,X){return S="useImperativeHandle",p0(),u3(X),dX($,B,X)},useInsertionEffect:function($,B){S="useInsertionEffect",p0(),u3(B),s5(4,b1,$,B)},useLayoutEffect:function($,B){return S="useLayoutEffect",p0(),u3(B),lX($,B)},useMemo:function($,B){S="useMemo",p0(),u3(B);var X=x.H;x.H=Q7;try{return cX($,B)}finally{x.H=X}},useReducer:function($,B,X){S="useReducer",p0();var Y=x.H;x.H=Q7;try{return SX($,B,X)}finally{x.H=Y}},useRef:function($){return S="useRef",p0(),EX($)},useState:function($){S="useState",p0();var B=x.H;x.H=Q7;try{return kX($)}finally{x.H=B}},useDebugValue:function(){S="useDebugValue",p0()},useDeferredValue:function($,B){return S="useDeferredValue",p0(),oX($,B)},useTransition:function(){return S="useTransition",p0(),iX()},useSyncExternalStore:function($,B,X){return S="useSyncExternalStore",p0(),xX($,B,X)},useId:function(){return S="useId",p0(),rX()},useFormState:function($,B){return S="useFormState",p0(),a9(),h3($,B)},useActionState:function($,B){return S="useActionState",p0(),h3($,B)},useOptimistic:function($){return S="useOptimistic",p0(),jX($)},useHostTransitionStatus:i5,useMemoCache:a5,useCacheRefresh:function(){return S="useCacheRefresh",p0(),nX()},useEffectEvent:function($){return S="useEffectEvent",p0(),DX($)}},AH={readContext:function($){return m2($)},use:$5,useCallback:function($,B){return S="useCallback",d(),pX($,B)},useContext:function($){return S="useContext",d(),m2($)},useEffect:function($,B){return S="useEffect",d(),t9($,B)},useImperativeHandle:function($,B,X){return S="useImperativeHandle",d(),dX($,B,X)},useInsertionEffect:function($,B){S="useInsertionEffect",d(),s5(4,b1,$,B)},useLayoutEffect:function($,B){return S="useLayoutEffect",d(),lX($,B)},useMemo:function($,B){S="useMemo",d();var X=x.H;x.H=Q7;try{return cX($,B)}finally{x.H=X}},useReducer:function($,B,X){S="useReducer",d();var Y=x.H;x.H=Q7;try{return SX($,B,X)}finally{x.H=Y}},useRef:function($){return S="useRef",d(),EX($)},useState:function($){S="useState",d();var B=x.H;x.H=Q7;try{return kX($)}finally{x.H=B}},useDebugValue:function(){S="useDebugValue",d()},useDeferredValue:function($,B){return S="useDeferredValue",d(),oX($,B)},useTransition:function(){return S="useTransition",d(),iX()},useSyncExternalStore:function($,B,X){return S="useSyncExternalStore",d(),xX($,B,X)},useId:function(){return S="useId",d(),rX()},useActionState:function($,B){return S="useActionState",d(),h3($,B)},useFormState:function($,B){return S="useFormState",d(),a9(),h3($,B)},useOptimistic:function($){return S="useOptimistic",d(),jX($)},useHostTransitionStatus:i5,useMemoCache:a5,useCacheRefresh:function(){return S="useCacheRefresh",d(),nX()},useEffectEvent:function($){return S="useEffectEvent",d(),DX($)}},aZ={readContext:function($){return m2($)},use:$5,useCallback:function($,B){return S="useCallback",d(),B8($,B)},useContext:function($){return S="useContext",d(),m2($)},useEffect:function($,B){S="useEffect",d(),x1(2048,C1,$,B)},useImperativeHandle:function($,B,X){return S="useImperativeHandle",d(),$8($,B,X)},useInsertionEffect:function($,B){return S="useInsertionEffect",d(),x1(4,b1,$,B)},useLayoutEffect:function($,B){return S="useLayoutEffect",d(),x1(4,X4,$,B)},useMemo:function($,B){S="useMemo",d();var X=x.H;x.H=y4;try{return X8($,B)}finally{x.H=X}},useReducer:function($,B,X){S="useReducer",d();var Y=x.H;x.H=y4;try{return x3($,B,X)}finally{x.H=Y}},useRef:function(){return S="useRef",d(),L2().memoizedState},useState:function(){S="useState",d();var $=x.H;x.H=y4;try{return x3(I4)}finally{x.H=$}},useDebugValue:function(){S="useDebugValue",d()},useDeferredValue:function($,B){return S="useDeferredValue",d(),mW($,B)},useTransition:function(){return S="useTransition",d(),xW()},useSyncExternalStore:function($,B,X){return S="useSyncExternalStore",d(),i9($,B,X)},useId:function(){return S="useId",d(),L2().memoizedState},useFormState:function($){return S="useFormState",d(),a9(),r9($)},useActionState:function($){return S="useActionState",d(),r9($)},useOptimistic:function($,B){return S="useOptimistic",d(),wW($,B)},useHostTransitionStatus:i5,useMemoCache:a5,useCacheRefresh:function(){return S="useCacheRefresh",d(),L2().memoizedState},useEffectEvent:function($){return S="useEffectEvent",d(),e9($)}},PH={readContext:function($){return m2($)},use:$5,useCallback:function($,B){return S="useCallback",d(),B8($,B)},useContext:function($){return S="useContext",d(),m2($)},useEffect:function($,B){S="useEffect",d(),x1(2048,C1,$,B)},useImperativeHandle:function($,B,X){return S="useImperativeHandle",d(),$8($,B,X)},useInsertionEffect:function($,B){return S="useInsertionEffect",d(),x1(4,b1,$,B)},useLayoutEffect:function($,B){return S="useLayoutEffect",d(),x1(4,X4,$,B)},useMemo:function($,B){S="useMemo",d();var X=x.H;x.H=GB;try{return X8($,B)}finally{x.H=X}},useReducer:function($,B,X){S="useReducer",d();var Y=x.H;x.H=GB;try{return t6($,B,X)}finally{x.H=Y}},useRef:function(){return S="useRef",d(),L2().memoizedState},useState:function(){S="useState",d();var $=x.H;x.H=GB;try{return t6(I4)}finally{x.H=$}},useDebugValue:function(){S="useDebugValue",d()},useDeferredValue:function($,B){return S="useDeferredValue",d(),TW($,B)},useTransition:function(){return S="useTransition",d(),hW()},useSyncExternalStore:function($,B,X){return S="useSyncExternalStore",d(),i9($,B,X)},useId:function(){return S="useId",d(),L2().memoizedState},useFormState:function($){return S="useFormState",d(),a9(),n9($)},useActionState:function($){return S="useActionState",d(),n9($)},useOptimistic:function($,B){return S="useOptimistic",d(),_W($,B)},useHostTransitionStatus:i5,useMemoCache:a5,useCacheRefresh:function(){return S="useCacheRefresh",d(),L2().memoizedState},useEffectEvent:function($){return S="useEffectEvent",d(),e9($)}},Q7={readContext:function($){return b(),m2($)},use:function($){return F(),$5($)},useCallback:function($,B){return S="useCallback",F(),p0(),pX($,B)},useContext:function($){return S="useContext",F(),p0(),m2($)},useEffect:function($,B){return S="useEffect",F(),p0(),t9($,B)},useImperativeHandle:function($,B,X){return S="useImperativeHandle",F(),p0(),dX($,B,X)},useInsertionEffect:function($,B){S="useInsertionEffect",F(),p0(),s5(4,b1,$,B)},useLayoutEffect:function($,B){return S="useLayoutEffect",F(),p0(),lX($,B)},useMemo:function($,B){S="useMemo",F(),p0();var X=x.H;x.H=Q7;try{return cX($,B)}finally{x.H=X}},useReducer:function($,B,X){S="useReducer",F(),p0();var Y=x.H;x.H=Q7;try{return SX($,B,X)}finally{x.H=Y}},useRef:function($){return S="useRef",F(),p0(),EX($)},useState:function($){S="useState",F(),p0();var B=x.H;x.H=Q7;try{return kX($)}finally{x.H=B}},useDebugValue:function(){S="useDebugValue",F(),p0()},useDeferredValue:function($,B){return S="useDeferredValue",F(),p0(),oX($,B)},useTransition:function(){return S="useTransition",F(),p0(),iX()},useSyncExternalStore:function($,B,X){return S="useSyncExternalStore",F(),p0(),xX($,B,X)},useId:function(){return S="useId",F(),p0(),rX()},useFormState:function($,B){return S="useFormState",F(),p0(),h3($,B)},useActionState:function($,B){return S="useActionState",F(),p0(),h3($,B)},useOptimistic:function($){return S="useOptimistic",F(),p0(),jX($)},useMemoCache:function($){return F(),a5($)},useHostTransitionStatus:i5,useCacheRefresh:function(){return S="useCacheRefresh",p0(),nX()},useEffectEvent:function($){return S="useEffectEvent",F(),p0(),DX($)}},y4={readContext:function($){return b(),m2($)},use:function($){return F(),$5($)},useCallback:function($,B){return S="useCallback",F(),d(),B8($,B)},useContext:function($){return S="useContext",F(),d(),m2($)},useEffect:function($,B){S="useEffect",F(),d(),x1(2048,C1,$,B)},useImperativeHandle:function($,B,X){return S="useImperativeHandle",F(),d(),$8($,B,X)},useInsertionEffect:function($,B){return S="useInsertionEffect",F(),d(),x1(4,b1,$,B)},useLayoutEffect:function($,B){return S="useLayoutEffect",F(),d(),x1(4,X4,$,B)},useMemo:function($,B){S="useMemo",F(),d();var X=x.H;x.H=y4;try{return X8($,B)}finally{x.H=X}},useReducer:function($,B,X){S="useReducer",F(),d();var Y=x.H;x.H=y4;try{return x3($,B,X)}finally{x.H=Y}},useRef:function(){return S="useRef",F(),d(),L2().memoizedState},useState:function(){S="useState",F(),d();var $=x.H;x.H=y4;try{return x3(I4)}finally{x.H=$}},useDebugValue:function(){S="useDebugValue",F(),d()},useDeferredValue:function($,B){return S="useDeferredValue",F(),d(),mW($,B)},useTransition:function(){return S="useTransition",F(),d(),xW()},useSyncExternalStore:function($,B,X){return S="useSyncExternalStore",F(),d(),i9($,B,X)},useId:function(){return S="useId",F(),d(),L2().memoizedState},useFormState:function($){return S="useFormState",F(),d(),r9($)},useActionState:function($){return S="useActionState",F(),d(),r9($)},useOptimistic:function($,B){return S="useOptimistic",F(),d(),wW($,B)},useMemoCache:function($){return F(),a5($)},useHostTransitionStatus:i5,useCacheRefresh:function(){return S="useCacheRefresh",d(),L2().memoizedState},useEffectEvent:function($){return S="useEffectEvent",F(),d(),e9($)}},GB={readContext:function($){return b(),m2($)},use:function($){return F(),$5($)},useCallback:function($,B){return S="useCallback",F(),d(),B8($,B)},useContext:function($){return S="useContext",F(),d(),m2($)},useEffect:function($,B){S="useEffect",F(),d(),x1(2048,C1,$,B)},useImperativeHandle:function($,B,X){return S="useImperativeHandle",F(),d(),$8($,B,X)},useInsertionEffect:function($,B){return S="useInsertionEffect",F(),d(),x1(4,b1,$,B)},useLayoutEffect:function($,B){return S="useLayoutEffect",F(),d(),x1(4,X4,$,B)},useMemo:function($,B){S="useMemo",F(),d();var X=x.H;x.H=y4;try{return X8($,B)}finally{x.H=X}},useReducer:function($,B,X){S="useReducer",F(),d();var Y=x.H;x.H=y4;try{return t6($,B,X)}finally{x.H=Y}},useRef:function(){return S="useRef",F(),d(),L2().memoizedState},useState:function(){S="useState",F(),d();var $=x.H;x.H=y4;try{return t6(I4)}finally{x.H=$}},useDebugValue:function(){S="useDebugValue",F(),d()},useDeferredValue:function($,B){return S="useDeferredValue",F(),d(),TW($,B)},useTransition:function(){return S="useTransition",F(),d(),hW()},useSyncExternalStore:function($,B,X){return S="useSyncExternalStore",F(),d(),i9($,B,X)},useId:function(){return S="useId",F(),d(),L2().memoizedState},useFormState:function($){return S="useFormState",F(),d(),n9($)},useActionState:function($){return S="useActionState",F(),d(),n9($)},useOptimistic:function($,B){return S="useOptimistic",F(),d(),_W($,B)},useMemoCache:function($){return F(),a5($)},useHostTransitionStatus:i5,useCacheRefresh:function(){return S="useCacheRefresh",d(),L2().memoizedState},useEffectEvent:function($){return S="useEffectEvent",F(),d(),e9($)}};var IH={},bH=new Set,CH=new Set,mH=new Set,TH=new Set,fH=new Set,yH=new Set,SH=new Set,uH=new Set,xH=new Set,hH=new Set;Object.freeze(IH);var sZ={enqueueSetState:function($,B,X){$=$._reactInternals;var Y=i1($),Z=r7(Y);Z.payload=B,X!==void 0&&X!==null&&(eX(X),Z.callback=X),B=n7($,Z,Y),B!==null&&(d4(Y,"this.setState()",$),k2(B,$,Y),s6(B,$,Y))},enqueueReplaceState:function($,B,X){$=$._reactInternals;var Y=i1($),Z=r7(Y);Z.tag=OH,Z.payload=B,X!==void 0&&X!==null&&(eX(X),Z.callback=X),B=n7($,Z,Y),B!==null&&(d4(Y,"this.replaceState()",$),k2(B,$,Y),s6(B,$,Y))},enqueueForceUpdate:function($,B){$=$._reactInternals;var X=i1($),Y=r7(X);Y.tag=wH,B!==void 0&&B!==null&&(eX(B),Y.callback=B),B=n7($,Y,X),B!==null&&(d4(X,"this.forceUpdate()",$),k2(B,$,X),s6(B,$,X))}},w6=null,iZ=null,rZ=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."),a2=!1,kH={},jH={},VH={},EH={},R6=!1,DH={},zB={},nZ={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},lH=!1,dH=null;dH=new Set;var h7=!1,s2=!1,tZ=!1,pH=typeof WeakSet==="function"?WeakSet:Set,W1=null,_6=null,M6=null,i2=null,j1=!1,S4=null,e2=!1,s$=8192,hK={getCacheForType:function($){var B=m2(p2),X=B.data.get($);return X===void 0&&(X=$(),B.data.set($,X)),X},cacheSignal:function(){return m2(p2).controller.signal},getOwner:function(){return t1}};if(typeof Symbol==="function"&&Symbol.for){var i$=Symbol.for;i$("selector.component"),i$("selector.has_pseudo_class"),i$("selector.role"),i$("selector.test_id"),i$("selector.text")}var kK=[],jK=typeof WeakMap==="function"?WeakMap:Map,N1=0,$1=2,Y4=4,k7=0,r$=1,H3=2,WB=3,w5=4,NB=6,cH=5,Z2=N1,O2=null,l0=null,V0=0,V1=0,vB=1,Q3=2,n$=3,oH=4,eZ=5,t$=6,JB=7,$G=8,L3=9,q2=V1,Z4=null,R5=!1,F6=!1,BG=!1,L7=0,x2=k7,_5=0,M5=0,XG=0,E1=0,q3=0,e$=null,m1=null,HB=!1,QB=0,aH=0,sH=300,LB=1/0,iH=500,$9=null,D2=null,F5=null,qB=0,YG=1,ZG=2,rH=3,A5=0,nH=1,tH=2,eH=3,$Q=4,gB=5,r2=0,P5=null,A6=null,u4=0,GG=0,zG=-0,WG=null,BQ=null,XQ=null,x4=qB,YQ=null,VK=50,B9=0,NG=null,vG=!1,KB=!1,EK=50,g3=0,X9=null,P6=!1,UB=null,ZQ=!1,GQ=new Set,DK={},OB=null,I6=null,JG=!1,HG=!1,wB=!1,QG=!1,I5=0,LG={};(function(){for(var $=0;$<AZ.length;$++){var B=AZ[$],X=B.toLowerCase();B=B[0].toUpperCase()+B.slice(1),P4(X,"on"+B)}P4(xJ,"onAnimationEnd"),P4(hJ,"onAnimationIteration"),P4(kJ,"onAnimationStart"),P4("dblclick","onDoubleClick"),P4("focusin","onFocus"),P4("focusout","onBlur"),P4(UK,"onTransitionRun"),P4(OK,"onTransitionStart"),P4(wK,"onTransitionCancel"),P4(jJ,"onTransitionEnd")})(),F2("onMouseEnter",["mouseout","mouseover"]),F2("onMouseLeave",["mouseout","mouseover"]),F2("onPointerEnter",["pointerout","pointerover"]),F2("onPointerLeave",["pointerout","pointerover"]),Y2("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Y2("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Y2("onBeforeInput",["compositionend","keypress","textInput","paste"]),Y2("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Y2("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Y2("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Y9="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(" "),qG=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Y9)),RB="_reactListening"+Math.random().toString(36).slice(2),zQ=!1,WQ=!1,_B=!1,NQ=!1,MB=!1,FB=!1,vQ=!1,AB={},lK=/\r\n?/g,dK=/\u0000|\uFFFD/g,K3="http://www.w3.org/1999/xlink",gG="http://www.w3.org/XML/1998/namespace",pK="javascript:throw new Error('React form unexpectedly submitted.')",cK="suppressHydrationWarning",U3="&",PB="/&",Z9="$",G9="/$",b5="$?",O3="$~",b6="$!",oK="html",aK="body",sK="head",KG="F!",JQ="F",HQ="loading",iK="style",j7=0,C6=1,IB=2,UG=null,OG=null,QQ={dialog:!0,webview:!0},wG=null,z9=void 0,LQ=typeof setTimeout==="function"?setTimeout:void 0,rK=typeof clearTimeout==="function"?clearTimeout:void 0,w3=-1,qQ=typeof Promise==="function"?Promise:void 0,nK=typeof queueMicrotask==="function"?queueMicrotask:typeof qQ<"u"?function($){return qQ.resolve(null).then($).catch(xq)}:LQ,RG=null,R3=0,W9=1,gQ=2,KQ=3,_4=4,M4=new Map,UQ=new Set,V7=Q2.d;Q2.d={f:function(){var $=V7.f(),B=D3();return $||B},r:function($){var B=n($);B!==null&&B.tag===5&&B.type==="form"?uW(B):V7.r($)},D:function($){V7.D($),bv("dns-prefetch",$,null)},C:function($,B){V7.C($,B),bv("preconnect",$,B)},L:function($,B,X){V7.L($,B,X);var Y=m6;if(Y&&$&&B){var Z='link[rel="preload"][as="'+v4(B)+'"]';B==="image"?X&&X.imageSrcSet?(Z+='[imagesrcset="'+v4(X.imageSrcSet)+'"]',typeof X.imageSizes==="string"&&(Z+='[imagesizes="'+v4(X.imageSizes)+'"]')):Z+='[href="'+v4($)+'"]':Z+='[href="'+v4($)+'"]';var G=Z;switch(B){case"style":G=p3($);break;case"script":G=c3($)}M4.has(G)||($=c0({rel:"preload",href:B==="image"&&X&&X.imageSrcSet?void 0:$,as:B},X),M4.set(G,$),Y.querySelector(Z)!==null||B==="style"&&Y.querySelector(L$(G))||B==="script"&&Y.querySelector(q$(G))||(B=Y.createElement("link"),H1(B,"link",$),H0(B),Y.head.appendChild(B)))}},m:function($,B){V7.m($,B);var X=m6;if(X&&$){var Y=B&&typeof B.as==="string"?B.as:"script",Z='link[rel="modulepreload"][as="'+v4(Y)+'"][href="'+v4($)+'"]',G=Z;switch(Y){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":G=c3($)}if(!M4.has(G)&&($=c0({rel:"modulepreload",href:$},B),M4.set(G,$),X.querySelector(Z)===null)){switch(Y){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(X.querySelector(q$(G)))return}Y=X.createElement("link"),H1(Y,"link",$),H0(Y),X.head.appendChild(Y)}}},X:function($,B){V7.X($,B);var X=m6;if(X&&$){var Y=I0(X).hoistableScripts,Z=c3($),G=Y.get(Z);G||(G=X.querySelector(q$(Z)),G||($=c0({src:$,async:!0},B),(B=M4.get(Z))&&dY($,B),G=X.createElement("script"),H0(G),H1(G,"link",$),X.head.appendChild(G)),G={type:"script",instance:G,count:1,state:null},Y.set(Z,G))}},S:function($,B,X){V7.S($,B,X);var Y=m6;if(Y&&$){var Z=I0(Y).hoistableStyles,G=p3($);B=B||"default";var z=Z.get(G);if(!z){var W={loading:R3,preload:null};if(z=Y.querySelector(L$(G)))W.loading=W9|_4;else{$=c0({rel:"stylesheet",href:$,"data-precedence":B},X),(X=M4.get(G))&&lY($,X);var J=z=Y.createElement("link");H0(J),H1(J,"link",$),J._p=new Promise(function(Q,A){J.onload=Q,J.onerror=A}),J.addEventListener("load",function(){W.loading|=W9}),J.addEventListener("error",function(){W.loading|=gQ}),W.loading|=_4,_8(z,B,Y)}z={type:"stylesheet",instance:z,count:1,state:W},Z.set(G,z)}}},M:function($,B){V7.M($,B);var X=m6;if(X&&$){var Y=I0(X).hoistableScripts,Z=c3($),G=Y.get(Z);G||(G=X.querySelector(q$(Z)),G||($=c0({src:$,async:!0,type:"module"},B),(B=M4.get(Z))&&dY($,B),G=X.createElement("script"),H0(G),H1(G,"link",$),X.head.appendChild(G)),G={type:"script",instance:G,count:1,state:null},Y.set(Z,G))}}};var m6=typeof document>"u"?null:document,bB=null,tK=60000,eK=800,$U=500,_G=0,MG=null,CB=null,_3=gg,N9={$$typeof:Y7,Provider:null,Consumer:null,_currentValue:_3,_currentValue2:_3,_threadCount:0},OQ="%c%s%c",wQ="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",RQ="",mB=" ",BU=Function.prototype.bind,_Q=!1,MQ=null,FQ=null,AQ=null,PQ=null,IQ=null,bQ=null,CQ=null,mQ=null,TQ=null,fQ=null;MQ=function($,B,X,Y){B=N($,B),B!==null&&(X=v(B.memoizedState,X,0,Y),B.memoizedState=X,B.baseState=X,$.memoizedProps=c0({},$.memoizedProps),X=K1($,2),X!==null&&k2(X,$,2))},FQ=function($,B,X){B=N($,B),B!==null&&(X=q(B.memoizedState,X,0),B.memoizedState=X,B.baseState=X,$.memoizedProps=c0({},$.memoizedProps),X=K1($,2),X!==null&&k2(X,$,2))},AQ=function($,B,X,Y){B=N($,B),B!==null&&(X=L(B.memoizedState,X,Y),B.memoizedState=X,B.baseState=X,$.memoizedProps=c0({},$.memoizedProps),X=K1($,2),X!==null&&k2(X,$,2))},PQ=function($,B,X){$.pendingProps=v($.memoizedProps,B,0,X),$.alternate&&($.alternate.pendingProps=$.pendingProps),B=K1($,2),B!==null&&k2(B,$,2)},IQ=function($,B){$.pendingProps=q($.memoizedProps,B,0),$.alternate&&($.alternate.pendingProps=$.pendingProps),B=K1($,2),B!==null&&k2(B,$,2)},bQ=function($,B,X){$.pendingProps=L($.memoizedProps,B,X),$.alternate&&($.alternate.pendingProps=$.pendingProps),B=K1($,2),B!==null&&k2(B,$,2)},CQ=function($){var B=K1($,2);B!==null&&k2(B,$,2)},mQ=function($){var B=F4(),X=K1($,B);X!==null&&k2(X,$,B)},TQ=function($){K=$},fQ=function($){R=$};var TB=!0,fB=null,FG=!1,C5=null,m5=null,T5=null,v9=new Map,J9=new Map,f5=[],XU="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(" "),yB=null;if(I8.prototype.render=iY.prototype.render=function($){var B=this._internalRoot;if(B===null)throw Error("Cannot update an unmounted root.");var X=arguments;typeof X[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()."):Z0(X[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 X[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),X=$;var Y=B.current,Z=i1(Y);pY(Y,Z,X,B,null,null)},I8.prototype.unmount=iY.prototype.unmount=function(){var $=arguments;if(typeof $[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()."),$=this._internalRoot,$!==null){this._internalRoot=null;var B=$.containerInfo;(Z2&($1|Y4))!==N1&&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."),pY($.current,2,null,$,null,null),D3(),B[W5]=null}},I8.prototype.unstable_scheduleHydration=function($){if($){var B=C();$={blockedOn:null,target:$,priority:B};for(var X=0;X<f5.length&&B!==0&&B<f5[X].priority;X++);f5.splice(X,0,$),X===0&&Dv($)}},function(){var $=T6.version;if($!=="19.2.3")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
224
+ - react: `+($+`
225
+ - react-dom: 19.2.3
226
+ 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"),Q2.findDOMNode=function($){var B=$._reactInternals;if(B===void 0){if(typeof $.render==="function")throw Error("Unable to find node on an unmounted component.");throw $=Object.keys($).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+$)}return $=v0(B),$=$!==null?C0($):null,$=$===null?null:$.stateNode,$},!function(){var $={bundleType:1,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:x,reconcilerVersion:"19.2.3"};return $.overrideHookState=MQ,$.overrideHookStateDeletePath=FQ,$.overrideHookStateRenamePath=AQ,$.overrideProps=PQ,$.overridePropsDeletePath=IQ,$.overridePropsRenamePath=bQ,$.scheduleUpdate=CQ,$.scheduleRetry=mQ,$.setErrorHandler=TQ,$.setSuspenseHandler=fQ,$.scheduleRefresh=B0,$.scheduleRoot=t,$.setRefreshHandler=j,$.getCurrentFiber=Wg,X2($)}()&&N7&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var yQ=window.location.protocol;/^(https?|file):$/.test(yQ)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(yQ==="file:"?`
227
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}QU.createRoot=function($,B){if(!Z0($))throw Error("Target container is not a DOM element.");cv($);var X=!1,Y="",Z=lW,G=dW,z=pW;return B!==null&&B!==void 0&&(B.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof B==="object"&&B!==null&&B.$$typeof===X7&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
228
+
229
+ let root = createRoot(domContainer);
230
+ root.render(<App />);`),B.unstable_strictMode===!0&&(X=!0),B.identifierPrefix!==void 0&&(Y=B.identifierPrefix),B.onUncaughtError!==void 0&&(Z=B.onUncaughtError),B.onCaughtError!==void 0&&(G=B.onCaughtError),B.onRecoverableError!==void 0&&(z=B.onRecoverableError)),B=uv($,1,!1,null,null,X,Y,null,Z,G,z,pv),$[W5]=B.current,TY($),new iY(B)},QU.hydrateRoot=function($,B,X){if(!Z0($))throw Error("Target container is not a DOM element.");cv($),B===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var Y=!1,Z="",G=lW,z=dW,W=pW,J=null;return X!==null&&X!==void 0&&(X.unstable_strictMode===!0&&(Y=!0),X.identifierPrefix!==void 0&&(Z=X.identifierPrefix),X.onUncaughtError!==void 0&&(G=X.onUncaughtError),X.onCaughtError!==void 0&&(z=X.onCaughtError),X.onRecoverableError!==void 0&&(W=X.onRecoverableError),X.formState!==void 0&&(J=X.formState)),B=uv($,1,!0,B,X!=null?X:null,Y,Z,J,G,z,W,pv),B.context=xv(null),X=B.current,Y=i1(X),Y=c7(Y),Z=r7(Y),Z.callback=null,n7(X,Z,Y),d4(Y,"hydrateRoot()",null),X=Y,B.current.lanes=X,W4(B,X),$7(B),$[W5]=B.current,TY($),new I8(B)},QU.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var EQ=M3((Ew,VQ)=>{var LU=w0(jQ());VQ.exports=LU});var W2=M3((qU)=>{var A3=w0(w1());(function(){function N(u){if(u==null)return null;if(typeof u==="function")return u.$$typeof===i?null:u.displayName||u.name||null;if(typeof u==="string")return u;switch(u){case j:return"Fragment";case K0:return"Profiler";case Z0:return"StrictMode";case v0:return"Suspense";case C0:return"SuspenseList";case D0:return"Activity"}if(typeof u==="object")switch(typeof u.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),u.$$typeof){case B0:return"Portal";case k:return u.displayName||"Context";case _0:return(u._context.displayName||"Context")+".Consumer";case Y0:var G0=u.render;return u=u.displayName,u||(u=G0.displayName||G0.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case e0:return G0=u.displayName||null,G0!==null?G0:N(u.type)||"Memo";case p:G0=u._payload,u=u._init;try{return N(u(G0))}catch(F0){}}return null}function v(u){return""+u}function L(u){try{v(u);var G0=!1}catch(x0){G0=!0}if(G0){G0=console;var F0=G0.error,P0=typeof Symbol==="function"&&Symbol.toStringTag&&u[Symbol.toStringTag]||u.constructor.name||"Object";return F0.call(G0,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",P0),v(u)}}function g(u){if(u===j)return"<>";if(typeof u==="object"&&u!==null&&u.$$typeof===p)return"<...>";try{var G0=N(u);return G0?"<"+G0+">":"<...>"}catch(F0){return"<...>"}}function q(){var u=B2.A;return u===null?null:u.getOwner()}function R(){return Error("react-stack-top-frame")}function K(u){if(S0.call(u,"key")){var G0=Object.getOwnPropertyDescriptor(u,"key").get;if(G0&&G0.isReactWarning)return!1}return u.key!==void 0}function F(u,G0){function F0(){c||(c=!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)",G0))}F0.isReactWarning=!0,Object.defineProperty(u,"key",{get:F0,configurable:!0})}function b(){var u=N(this.type);return z0[u]||(z0[u]=!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.")),u=this.props.ref,u!==void 0?u:null}function E(u,G0,F0,P0,x0,C2){var $2=F0.ref;return u={$$typeof:t,type:u,key:G0,props:F0,_owner:P0},($2!==void 0?$2:null)!==null?Object.defineProperty(u,"ref",{enumerable:!1,get:b}):Object.defineProperty(u,"ref",{enumerable:!1,value:null}),u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(u,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(u,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:x0}),Object.defineProperty(u,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:C2}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u}function I(u,G0,F0,P0,x0,C2){var $2=G0.children;if($2!==void 0)if(P0)if(M0($2)){for(P0=0;P0<$2.length;P0++)_($2[P0]);Object.freeze&&Object.freeze($2)}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 _($2);if(S0.call(G0,"key")){$2=N(u);var S2=Object.keys(G0).filter(function(X1){return X1!=="key"});P0=0<S2.length?"{key: someKey, "+S2.join(": ..., ")+": ...}":"{key: someKey}",a[$2+P0]||(S2=0<S2.length?"{"+S2.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
231
+ let props = %s;
232
+ <%s {...props} />
233
+ React keys must be passed directly to JSX without using spread:
234
+ let props = %s;
235
+ <%s key={someKey} {...props} />`,P0,$2,S2,$2),a[$2+P0]=!0)}if($2=null,F0!==void 0&&(L(F0),$2=""+F0),K(G0)&&(L(G0.key),$2=""+G0.key),"key"in G0){F0={};for(var V2 in G0)V2!=="key"&&(F0[V2]=G0[V2])}else F0=G0;return $2&&F(F0,typeof u==="function"?u.displayName||u.name||"Unknown":u),E(u,$2,F0,q(),x0,C2)}function _(u){T(u)?u._store&&(u._store.validated=1):typeof u==="object"&&u!==null&&u.$$typeof===p&&(u._payload.status==="fulfilled"?T(u._payload.value)&&u._payload.value._store&&(u._payload.value._store.validated=1):u._store&&(u._store.validated=1))}function T(u){return typeof u==="object"&&u!==null&&u.$$typeof===t}var t=Symbol.for("react.transitional.element"),B0=Symbol.for("react.portal"),j=Symbol.for("react.fragment"),Z0=Symbol.for("react.strict_mode"),K0=Symbol.for("react.profiler"),_0=Symbol.for("react.consumer"),k=Symbol.for("react.context"),Y0=Symbol.for("react.forward_ref"),v0=Symbol.for("react.suspense"),C0=Symbol.for("react.suspense_list"),e0=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),D0=Symbol.for("react.activity"),i=Symbol.for("react.client.reference"),B2=A3.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,S0=Object.prototype.hasOwnProperty,M0=Array.isArray,G2=console.createTask?console.createTask:function(){return null};A3={react_stack_bottom_frame:function(u){return u()}};var c,z0={},e=A3.react_stack_bottom_frame.bind(A3,R)(),U0=G2(g(R)),a={};qU.Fragment=j,qU.jsxDEV=function(u,G0,F0,P0){var x0=1e4>B2.recentlyCreatedOwnerStacks++;return I(u,G0,F0,P0,x0?Error("react-stack-top-frame"):e,x0?G2(g(u)):U0)}})()});var _L=w0(EQ(),1);var f1=w0(w1(),1);function uB(N){return{...N,status:N.status,priority:N.priority,createdAt:new Date(N.createdAt),updatedAt:new Date(N.updatedAt),timeEntries:N.timeEntries.map((v)=>({...v,startedAt:new Date(v.startedAt),endedAt:v.endedAt?new Date(v.endedAt):void 0}))}}var y5={async getTasks(){let N=await fetch("/api/tasks");if(!N.ok)throw Error("Failed to fetch tasks");return(await N.json()).map(uB)},async getTask(N){let v=await fetch(`/api/tasks/${N}`);if(!v.ok)throw Error(`Failed to fetch task ${N}`);let L=await v.json();return uB(L)},async updateTask(N,v){let L=await fetch(`/api/tasks/${N}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(v)});if(!L.ok)throw Error(`Failed to update task ${N}`);let g=await L.json();return uB(g)},async createTask(N){let v=await fetch("/api/tasks",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(N)});if(!v.ok)throw Error("Failed to create task");let L=await v.json();return uB(L)}},{createTask:DQ,updateTask:f6,getTasks:Dw,getTask:lw}=y5;function lQ(N){try{let v=window.location.protocol==="https:"?"wss:":"ws:",L=new WebSocket(`${v}//${window.location.host}/ws`);return L.onmessage=(g)=>{try{let q=JSON.parse(g.data);N(q)}catch(q){console.error("Failed to parse WebSocket message:",q)}},L.onerror=(g)=>{console.error("WebSocket error:",g)},L.onclose=()=>{console.log("WebSocket connection closed")},L}catch(v){return console.error("Failed to create WebSocket connection:",v),null}}var S5=w0(w1(),1);var d0=w0(W2(),1),xB={Search:()=>d0.jsxDEV("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:d0.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Close:()=>d0.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:d0.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Task:()=>d0.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:d0.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Document:()=>d0.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:d0.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"},void 0,!1,void 0,this)},void 0,!1,void 0,this)};function IG({onTaskSelect:N,onDocSelect:v}){let{isDark:L}=w2(),[g,q]=S5.useState(""),[R,K]=S5.useState([]),[F,b]=S5.useState([]),[E,I]=S5.useState(!1),[_,T]=S5.useState(!1),t=L?"bg-gray-800":"bg-white",B0=L?"text-gray-200":"text-gray-900",j=L?"text-gray-400":"text-gray-600",Z0=L?"border-gray-700":"border-gray-200",K0=L?"hover:bg-gray-700":"hover:bg-gray-50",_0=L?"bg-gray-700":"bg-white";S5.useEffect(()=>{if(g.length<2){K([]),b([]),T(!1);return}let p=setTimeout(()=>{k()},300);return()=>clearTimeout(p)},[g]);let k=async()=>{I(!0);try{let D0=await(await fetch(`http://localhost:3456/api/search?q=${encodeURIComponent(g)}`)).json();K(D0.tasks||[]),b(D0.docs||[]),T(!0)}catch(p){console.error("Search failed:",p)}finally{I(!1)}},Y0=()=>{q(""),K([]),b([]),T(!1)},v0=(p)=>{if(N)N(p);Y0()},C0=(p)=>{if(v)v(p);Y0()},e0=R.length+F.length;return d0.jsxDEV("div",{className:"relative w-full max-w-2xl",children:[d0.jsxDEV("div",{className:"relative",children:[d0.jsxDEV("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:d0.jsxDEV(xB.Search,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),d0.jsxDEV("input",{type:"text",value:g,onChange:(p)=>q(p.target.value),placeholder:"Search tasks and docs...",className:`w-full pl-10 pr-10 py-2 rounded-lg border ${Z0} ${_0} ${B0} focus:outline-none focus:ring-2 focus:ring-blue-500`},void 0,!1,void 0,this),g&&d0.jsxDEV("button",{type:"button",onClick:Y0,className:`absolute inset-y-0 right-0 pr-3 flex items-center ${j} ${K0} rounded-r-lg transition-colors`,children:d0.jsxDEV(xB.Close,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),_&&g.length>=2&&d0.jsxDEV("div",{className:`absolute z-50 w-full mt-2 ${t} rounded-lg border ${Z0} shadow-lg max-h-96 overflow-y-auto`,children:[E&&d0.jsxDEV("div",{className:"p-4 text-center",children:d0.jsxDEV("span",{className:j,children:"Searching..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),!E&&e0===0&&d0.jsxDEV("div",{className:"p-4 text-center",children:d0.jsxDEV("span",{className:j,children:['No results found for "',g,'"']},void 0,!0,void 0,this)},void 0,!1,void 0,this),!E&&e0>0&&d0.jsxDEV("div",{className:"py-2",children:[R.length>0&&d0.jsxDEV("div",{children:[d0.jsxDEV("div",{className:`px-4 py-2 ${j} text-xs font-semibold uppercase`,children:["Tasks (",R.length,")"]},void 0,!0,void 0,this),R.map((p)=>d0.jsxDEV("button",{type:"button",onClick:()=>v0(p),className:`w-full text-left px-4 py-2 ${K0} transition-colors flex items-start gap-3`,children:[d0.jsxDEV(xB.Task,{},void 0,!1,void 0,this),d0.jsxDEV("div",{className:"flex-1 min-w-0",children:[d0.jsxDEV("div",{className:"flex items-center gap-2",children:[d0.jsxDEV("span",{className:`text-xs ${j} font-mono`,children:p.id},void 0,!1,void 0,this),d0.jsxDEV("span",{className:`text-xs px-1.5 py-0.5 rounded ${p.priority==="high"?"bg-red-100 text-red-700 dark:bg-red-900 dark:text-red-200":p.priority==="medium"?"bg-yellow-100 text-yellow-700 dark:bg-yellow-900 dark:text-yellow-200":"bg-gray-100 text-gray-700 dark:bg-gray-700 dark:text-gray-300"}`,children:p.priority},void 0,!1,void 0,this)]},void 0,!0,void 0,this),d0.jsxDEV("p",{className:`font-medium ${B0} mt-1`,children:p.title},void 0,!1,void 0,this),p.description&&d0.jsxDEV("p",{className:`text-sm ${j} line-clamp-1 mt-1`,children:p.description},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},p.id,!0,void 0,this))]},void 0,!0,void 0,this),F.length>0&&d0.jsxDEV("div",{className:R.length>0?"mt-2 pt-2 border-t border-gray-700":"",children:[d0.jsxDEV("div",{className:`px-4 py-2 ${j} text-xs font-semibold uppercase`,children:["Documentation (",F.length,")"]},void 0,!0,void 0,this),F.map((p)=>d0.jsxDEV("button",{type:"button",onClick:()=>C0(p),className:`w-full text-left px-4 py-2 ${K0} transition-colors flex items-start gap-3`,children:[d0.jsxDEV(xB.Document,{},void 0,!1,void 0,this),d0.jsxDEV("div",{className:"flex-1 min-w-0",children:[d0.jsxDEV("p",{className:`font-medium ${B0}`,children:p.metadata.title},void 0,!1,void 0,this),p.metadata.description&&d0.jsxDEV("p",{className:`text-sm ${j} line-clamp-1 mt-1`,children:p.metadata.description},void 0,!1,void 0,this),p.metadata.tags&&p.metadata.tags.length>0&&d0.jsxDEV("div",{className:"flex gap-1 mt-1",children:p.metadata.tags.slice(0,3).map((D0)=>d0.jsxDEV("span",{className:`text-xs px-1.5 py-0.5 rounded ${L?"bg-blue-900 text-blue-200":"bg-blue-100 text-blue-700"}`,children:D0},D0,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},p.filename,!0,void 0,this))]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var q1=w0(W2(),1),hB={Kanban:()=>q1.jsxDEV("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:q1.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"},void 0,!1,void 0,this)},void 0,!1,void 0,this),List:()=>q1.jsxDEV("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:q1.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Document:()=>q1.jsxDEV("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:q1.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Settings:()=>q1.jsxDEV("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:[q1.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"},void 0,!1,void 0,this),q1.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},gU=[{id:"kanban",label:"Kanban",icon:hB.Kanban},{id:"tasks",label:"Tasks",icon:hB.List},{id:"docs",label:"Docs",icon:hB.Document},{id:"config",label:"Config",icon:hB.Settings}];function bG({currentPage:N}){let{isDark:v}=w2(),L=v?"bg-gray-800":"bg-white",g=v?"text-gray-300":"text-gray-600",q=v?"text-white":"text-gray-900",R=v?"hover:bg-gray-700":"hover:bg-gray-100",K=v?"bg-gray-700":"bg-gray-200";return q1.jsxDEV("aside",{className:`w-64 ${L} shadow-lg h-screen sticky top-0 flex flex-col`,children:[q1.jsxDEV("div",{className:"p-6 border-b border-gray-700",children:q1.jsxDEV("h2",{className:`text-xl font-bold ${q}`,children:"◆ Knowns.dev"},void 0,!1,void 0,this)},void 0,!1,void 0,this),q1.jsxDEV("nav",{className:"flex-1 p-4 space-y-2",children:gU.map((F)=>{let b=F.icon,E=N===F.id,I=F.id==="kanban"?"#/":`#/${F.id}`;return q1.jsxDEV("a",{href:I,className:`w-full flex items-center gap-3 px-4 py-3 rounded-lg transition-colors ${E?`${K} ${q} font-medium`:`${g} ${R}`}`,children:[q1.jsxDEV(b,{},void 0,!1,void 0,this),q1.jsxDEV("span",{children:F.label},void 0,!1,void 0,this)]},F.id,!0,void 0,this)})},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var M2=w0(w1(),1);function mG(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var I3=mG();function iQ(N){I3=N}var q9={exec:()=>null};function v2(N,v=""){let L=typeof N=="string"?N:N.source,g={replace:(q,R)=>{let K=typeof R=="string"?R:R.source;return K=K.replace(T1.caret,"$1"),L=L.replace(q,K),g},getRegex:()=>new RegExp(L,v)};return g}var KU=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),T1={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:(N)=>new RegExp(`^( {0,3}${N})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:(N)=>new RegExp(`^ {0,${Math.min(3,N-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:(N)=>new RegExp(`^ {0,${Math.min(3,N-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:(N)=>new RegExp(`^ {0,${Math.min(3,N-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:(N)=>new RegExp(`^ {0,${Math.min(3,N-1)}}#`),htmlBeginRegex:(N)=>new RegExp(`^ {0,${Math.min(3,N-1)}}<(?:[a-z].*>|!--)`,"i")},UU=/^(?:[ \t]*(?:\n|$))+/,OU=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,wU=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,g9=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,RU=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,TG=/(?:[*+-]|\d{1,9}[.)])/,rQ=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,nQ=v2(rQ).replace(/bull/g,TG).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),_U=v2(rQ).replace(/bull/g,TG).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),fG=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,MU=/^[^\n]+/,yG=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,FU=v2(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",yG).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),AU=v2(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,TG).getRegex(),DB="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",SG=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,PU=v2("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",SG).replace("tag",DB).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),tQ=v2(fG).replace("hr",g9).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",DB).getRegex(),IU=v2(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",tQ).getRegex(),uG={blockquote:IU,code:OU,def:FU,fences:wU,heading:RU,hr:g9,html:PU,lheading:nQ,list:AU,newline:UU,paragraph:tQ,table:q9,text:MU},dQ=v2("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",g9).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",DB).getRegex(),bU={...uG,lheading:_U,table:dQ,paragraph:v2(fG).replace("hr",g9).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",dQ).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",DB).getRegex()},CU={...uG,html:v2(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",SG).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:q9,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:v2(fG).replace("hr",g9).replace("heading",` *#{1,6} *[^
236
+ ]`).replace("lheading",nQ).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},mU=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,TU=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,eQ=/^( {2,}|\\)\n(?!\s*$)/,fU=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,lB=/[\p{P}\p{S}]/u,xG=/[\s\p{P}\p{S}]/u,$L=/[^\s\p{P}\p{S}]/u,yU=v2(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,xG).getRegex(),BL=/(?!~)[\p{P}\p{S}]/u,SU=/(?!~)[\s\p{P}\p{S}]/u,uU=/(?:[^\s\p{P}\p{S}]|~)/u,xU=v2(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",KU?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),XL=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,hU=v2(XL,"u").replace(/punct/g,lB).getRegex(),kU=v2(XL,"u").replace(/punct/g,BL).getRegex(),YL="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",jU=v2(YL,"gu").replace(/notPunctSpace/g,$L).replace(/punctSpace/g,xG).replace(/punct/g,lB).getRegex(),VU=v2(YL,"gu").replace(/notPunctSpace/g,uU).replace(/punctSpace/g,SU).replace(/punct/g,BL).getRegex(),EU=v2("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,$L).replace(/punctSpace/g,xG).replace(/punct/g,lB).getRegex(),DU=v2(/\\(punct)/,"gu").replace(/punct/g,lB).getRegex(),lU=v2(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),dU=v2(SG).replace("(?:-->|$)","-->").getRegex(),pU=v2("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",dU).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),jB=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,cU=v2(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",jB).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),ZL=v2(/^!?\[(label)\]\[(ref)\]/).replace("label",jB).replace("ref",yG).getRegex(),GL=v2(/^!?\[(ref)\](?:\[\])?/).replace("ref",yG).getRegex(),oU=v2("reflink|nolink(?!\\()","g").replace("reflink",ZL).replace("nolink",GL).getRegex(),pQ=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,hG={_backpedal:q9,anyPunctuation:DU,autolink:lU,blockSkip:xU,br:eQ,code:TU,del:q9,emStrongLDelim:hU,emStrongRDelimAst:jU,emStrongRDelimUnd:EU,escape:mU,link:cU,nolink:GL,punctuation:yU,reflink:ZL,reflinkSearch:oU,tag:pU,text:fU,url:q9},aU={...hG,link:v2(/^!?\[(label)\]\((.*?)\)/).replace("label",jB).getRegex(),reflink:v2(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",jB).getRegex()},CG={...hG,emStrongRDelimAst:VU,emStrongLDelim:kU,url:v2(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",pQ).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:v2(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",pQ).getRegex()},sU={...CG,br:v2(eQ).replace("{2,}","*").getRegex(),text:v2(CG.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},kB={normal:uG,gfm:bU,pedantic:CU},H9={normal:hG,gfm:CG,breaks:sU,pedantic:aU},iU={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},cQ=(N)=>iU[N];function D7(N,v){if(v){if(T1.escapeTest.test(N))return N.replace(T1.escapeReplace,cQ)}else if(T1.escapeTestNoEncode.test(N))return N.replace(T1.escapeReplaceNoEncode,cQ);return N}function oQ(N){try{N=encodeURI(N).replace(T1.percentDecode,"%")}catch{return null}return N}function aQ(N,v){let L=N.replace(T1.findPipe,(R,K,F)=>{let b=!1,E=K;for(;--E>=0&&F[E]==="\\";)b=!b;return b?"|":" |"}),g=L.split(T1.splitPipe),q=0;if(g[0].trim()||g.shift(),g.length>0&&!g.at(-1)?.trim()&&g.pop(),v)if(g.length>v)g.splice(v);else for(;g.length<v;)g.push("");for(;q<g.length;q++)g[q]=g[q].trim().replace(T1.slashPipe,"|");return g}function Q9(N,v,L){let g=N.length;if(g===0)return"";let q=0;for(;q<g;){let R=N.charAt(g-q-1);if(R===v&&!L)q++;else if(R!==v&&L)q++;else break}return N.slice(0,g-q)}function rU(N,v){if(N.indexOf(v[1])===-1)return-1;let L=0;for(let g=0;g<N.length;g++)if(N[g]==="\\")g++;else if(N[g]===v[0])L++;else if(N[g]===v[1]&&(L--,L<0))return g;return L>0?-2:-1}function sQ(N,v,L,g,q){let R=v.href,K=v.title||null,F=N[1].replace(q.other.outputLinkReplace,"$1");g.state.inLink=!0;let b={type:N[0].charAt(0)==="!"?"image":"link",raw:L,href:R,title:K,text:F,tokens:g.inlineTokens(F)};return g.state.inLink=!1,b}function nU(N,v,L){let g=N.match(L.other.indentCodeCompensation);if(g===null)return v;let q=g[1];return v.split(`
237
+ `).map((R)=>{let K=R.match(L.other.beginningSpace);if(K===null)return R;let[F]=K;return F.length>=q.length?R.slice(q.length):R}).join(`
238
+ `)}var VB=class{options;rules;lexer;constructor(N){this.options=N||I3}space(N){let v=this.rules.block.newline.exec(N);if(v&&v[0].length>0)return{type:"space",raw:v[0]}}code(N){let v=this.rules.block.code.exec(N);if(v){let L=v[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:v[0],codeBlockStyle:"indented",text:this.options.pedantic?L:Q9(L,`
239
+ `)}}}fences(N){let v=this.rules.block.fences.exec(N);if(v){let L=v[0],g=nU(L,v[3]||"",this.rules);return{type:"code",raw:L,lang:v[2]?v[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):v[2],text:g}}}heading(N){let v=this.rules.block.heading.exec(N);if(v){let L=v[2].trim();if(this.rules.other.endingHash.test(L)){let g=Q9(L,"#");(this.options.pedantic||!g||this.rules.other.endingSpaceChar.test(g))&&(L=g.trim())}return{type:"heading",raw:v[0],depth:v[1].length,text:L,tokens:this.lexer.inline(L)}}}hr(N){let v=this.rules.block.hr.exec(N);if(v)return{type:"hr",raw:Q9(v[0],`
240
+ `)}}blockquote(N){let v=this.rules.block.blockquote.exec(N);if(v){let L=Q9(v[0],`
241
+ `).split(`
242
+ `),g="",q="",R=[];for(;L.length>0;){let K=!1,F=[],b;for(b=0;b<L.length;b++)if(this.rules.other.blockquoteStart.test(L[b]))F.push(L[b]),K=!0;else if(!K)F.push(L[b]);else break;L=L.slice(b);let E=F.join(`
243
+ `),I=E.replace(this.rules.other.blockquoteSetextReplace,`
244
+ $1`).replace(this.rules.other.blockquoteSetextReplace2,"");g=g?`${g}
245
+ ${E}`:E,q=q?`${q}
246
+ ${I}`:I;let _=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(I,R,!0),this.lexer.state.top=_,L.length===0)break;let T=R.at(-1);if(T?.type==="code")break;if(T?.type==="blockquote"){let t=T,B0=t.raw+`
247
+ `+L.join(`
248
+ `),j=this.blockquote(B0);R[R.length-1]=j,g=g.substring(0,g.length-t.raw.length)+j.raw,q=q.substring(0,q.length-t.text.length)+j.text;break}else if(T?.type==="list"){let t=T,B0=t.raw+`
249
+ `+L.join(`
250
+ `),j=this.list(B0);R[R.length-1]=j,g=g.substring(0,g.length-T.raw.length)+j.raw,q=q.substring(0,q.length-t.raw.length)+j.raw,L=B0.substring(R.at(-1).raw.length).split(`
251
+ `);continue}}return{type:"blockquote",raw:g,tokens:R,text:q}}}list(N){let v=this.rules.block.list.exec(N);if(v){let L=v[1].trim(),g=L.length>1,q={type:"list",raw:"",ordered:g,start:g?+L.slice(0,-1):"",loose:!1,items:[]};L=g?`\\d{1,9}\\${L.slice(-1)}`:`\\${L}`,this.options.pedantic&&(L=g?L:"[*+-]");let R=this.rules.other.listItemRegex(L),K=!1;for(;N;){let b=!1,E="",I="";if(!(v=R.exec(N))||this.rules.block.hr.test(N))break;E=v[0],N=N.substring(E.length);let _=v[2].split(`
252
+ `,1)[0].replace(this.rules.other.listReplaceTabs,(j)=>" ".repeat(3*j.length)),T=N.split(`
253
+ `,1)[0],t=!_.trim(),B0=0;if(this.options.pedantic?(B0=2,I=_.trimStart()):t?B0=v[1].length+1:(B0=v[2].search(this.rules.other.nonSpaceChar),B0=B0>4?1:B0,I=_.slice(B0),B0+=v[1].length),t&&this.rules.other.blankLine.test(T)&&(E+=T+`
254
+ `,N=N.substring(T.length+1),b=!0),!b){let j=this.rules.other.nextBulletRegex(B0),Z0=this.rules.other.hrRegex(B0),K0=this.rules.other.fencesBeginRegex(B0),_0=this.rules.other.headingBeginRegex(B0),k=this.rules.other.htmlBeginRegex(B0);for(;N;){let Y0=N.split(`
255
+ `,1)[0],v0;if(T=Y0,this.options.pedantic?(T=T.replace(this.rules.other.listReplaceNesting," "),v0=T):v0=T.replace(this.rules.other.tabCharGlobal," "),K0.test(T)||_0.test(T)||k.test(T)||j.test(T)||Z0.test(T))break;if(v0.search(this.rules.other.nonSpaceChar)>=B0||!T.trim())I+=`
256
+ `+v0.slice(B0);else{if(t||_.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||K0.test(_)||_0.test(_)||Z0.test(_))break;I+=`
257
+ `+T}!t&&!T.trim()&&(t=!0),E+=Y0+`
258
+ `,N=N.substring(Y0.length+1),_=v0.slice(B0)}}q.loose||(K?q.loose=!0:this.rules.other.doubleBlankLine.test(E)&&(K=!0)),q.items.push({type:"list_item",raw:E,task:!!this.options.gfm&&this.rules.other.listIsTask.test(I),loose:!1,text:I,tokens:[]}),q.raw+=E}let F=q.items.at(-1);if(F)F.raw=F.raw.trimEnd(),F.text=F.text.trimEnd();else return;q.raw=q.raw.trimEnd();for(let b of q.items){if(this.lexer.state.top=!1,b.tokens=this.lexer.blockTokens(b.text,[]),b.task){if(b.text=b.text.replace(this.rules.other.listReplaceTask,""),b.tokens[0]?.type==="text"||b.tokens[0]?.type==="paragraph"){b.tokens[0].raw=b.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),b.tokens[0].text=b.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let I=this.lexer.inlineQueue.length-1;I>=0;I--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[I].src)){this.lexer.inlineQueue[I].src=this.lexer.inlineQueue[I].src.replace(this.rules.other.listReplaceTask,"");break}}let E=this.rules.other.listTaskCheckbox.exec(b.raw);if(E){let I={type:"checkbox",raw:E[0]+" ",checked:E[0]!=="[ ]"};b.checked=I.checked,q.loose?b.tokens[0]&&["paragraph","text"].includes(b.tokens[0].type)&&"tokens"in b.tokens[0]&&b.tokens[0].tokens?(b.tokens[0].raw=I.raw+b.tokens[0].raw,b.tokens[0].text=I.raw+b.tokens[0].text,b.tokens[0].tokens.unshift(I)):b.tokens.unshift({type:"paragraph",raw:I.raw,text:I.raw,tokens:[I]}):b.tokens.unshift(I)}}if(!q.loose){let E=b.tokens.filter((_)=>_.type==="space"),I=E.length>0&&E.some((_)=>this.rules.other.anyLine.test(_.raw));q.loose=I}}if(q.loose)for(let b of q.items){b.loose=!0;for(let E of b.tokens)E.type==="text"&&(E.type="paragraph")}return q}}html(N){let v=this.rules.block.html.exec(N);if(v)return{type:"html",block:!0,raw:v[0],pre:v[1]==="pre"||v[1]==="script"||v[1]==="style",text:v[0]}}def(N){let v=this.rules.block.def.exec(N);if(v){let L=v[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),g=v[2]?v[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",q=v[3]?v[3].substring(1,v[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):v[3];return{type:"def",tag:L,raw:v[0],href:g,title:q}}}table(N){let v=this.rules.block.table.exec(N);if(!v||!this.rules.other.tableDelimiter.test(v[2]))return;let L=aQ(v[1]),g=v[2].replace(this.rules.other.tableAlignChars,"").split("|"),q=v[3]?.trim()?v[3].replace(this.rules.other.tableRowBlankLine,"").split(`
259
+ `):[],R={type:"table",raw:v[0],header:[],align:[],rows:[]};if(L.length===g.length){for(let K of g)this.rules.other.tableAlignRight.test(K)?R.align.push("right"):this.rules.other.tableAlignCenter.test(K)?R.align.push("center"):this.rules.other.tableAlignLeft.test(K)?R.align.push("left"):R.align.push(null);for(let K=0;K<L.length;K++)R.header.push({text:L[K],tokens:this.lexer.inline(L[K]),header:!0,align:R.align[K]});for(let K of q)R.rows.push(aQ(K,R.header.length).map((F,b)=>({text:F,tokens:this.lexer.inline(F),header:!1,align:R.align[b]})));return R}}lheading(N){let v=this.rules.block.lheading.exec(N);if(v)return{type:"heading",raw:v[0],depth:v[2].charAt(0)==="="?1:2,text:v[1],tokens:this.lexer.inline(v[1])}}paragraph(N){let v=this.rules.block.paragraph.exec(N);if(v){let L=v[1].charAt(v[1].length-1)===`
260
+ `?v[1].slice(0,-1):v[1];return{type:"paragraph",raw:v[0],text:L,tokens:this.lexer.inline(L)}}}text(N){let v=this.rules.block.text.exec(N);if(v)return{type:"text",raw:v[0],text:v[0],tokens:this.lexer.inline(v[0])}}escape(N){let v=this.rules.inline.escape.exec(N);if(v)return{type:"escape",raw:v[0],text:v[1]}}tag(N){let v=this.rules.inline.tag.exec(N);if(v)return!this.lexer.state.inLink&&this.rules.other.startATag.test(v[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(v[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(v[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(v[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:v[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:v[0]}}link(N){let v=this.rules.inline.link.exec(N);if(v){let L=v[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(L)){if(!this.rules.other.endAngleBracket.test(L))return;let R=Q9(L.slice(0,-1),"\\");if((L.length-R.length)%2===0)return}else{let R=rU(v[2],"()");if(R===-2)return;if(R>-1){let K=(v[0].indexOf("!")===0?5:4)+v[1].length+R;v[2]=v[2].substring(0,R),v[0]=v[0].substring(0,K).trim(),v[3]=""}}let g=v[2],q="";if(this.options.pedantic){let R=this.rules.other.pedanticHrefTitle.exec(g);R&&(g=R[1],q=R[3])}else q=v[3]?v[3].slice(1,-1):"";return g=g.trim(),this.rules.other.startAngleBracket.test(g)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(L)?g=g.slice(1):g=g.slice(1,-1)),sQ(v,{href:g&&g.replace(this.rules.inline.anyPunctuation,"$1"),title:q&&q.replace(this.rules.inline.anyPunctuation,"$1")},v[0],this.lexer,this.rules)}}reflink(N,v){let L;if((L=this.rules.inline.reflink.exec(N))||(L=this.rules.inline.nolink.exec(N))){let g=(L[2]||L[1]).replace(this.rules.other.multipleSpaceGlobal," "),q=v[g.toLowerCase()];if(!q){let R=L[0].charAt(0);return{type:"text",raw:R,text:R}}return sQ(L,q,L[0],this.lexer,this.rules)}}emStrong(N,v,L=""){let g=this.rules.inline.emStrongLDelim.exec(N);if(!g||g[3]&&L.match(this.rules.other.unicodeAlphaNumeric))return;if(!(g[1]||g[2])||!L||this.rules.inline.punctuation.exec(L)){let q=[...g[0]].length-1,R,K,F=q,b=0,E=g[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(E.lastIndex=0,v=v.slice(-1*N.length+q);(g=E.exec(v))!=null;){if(R=g[1]||g[2]||g[3]||g[4]||g[5]||g[6],!R)continue;if(K=[...R].length,g[3]||g[4]){F+=K;continue}else if((g[5]||g[6])&&q%3&&!((q+K)%3)){b+=K;continue}if(F-=K,F>0)continue;K=Math.min(K,K+F+b);let I=[...g[0]][0].length,_=N.slice(0,q+g.index+I+K);if(Math.min(q,K)%2){let t=_.slice(1,-1);return{type:"em",raw:_,text:t,tokens:this.lexer.inlineTokens(t)}}let T=_.slice(2,-2);return{type:"strong",raw:_,text:T,tokens:this.lexer.inlineTokens(T)}}}}codespan(N){let v=this.rules.inline.code.exec(N);if(v){let L=v[2].replace(this.rules.other.newLineCharGlobal," "),g=this.rules.other.nonSpaceChar.test(L),q=this.rules.other.startingSpaceChar.test(L)&&this.rules.other.endingSpaceChar.test(L);return g&&q&&(L=L.substring(1,L.length-1)),{type:"codespan",raw:v[0],text:L}}}br(N){let v=this.rules.inline.br.exec(N);if(v)return{type:"br",raw:v[0]}}del(N){let v=this.rules.inline.del.exec(N);if(v)return{type:"del",raw:v[0],text:v[2],tokens:this.lexer.inlineTokens(v[2])}}autolink(N){let v=this.rules.inline.autolink.exec(N);if(v){let L,g;return v[2]==="@"?(L=v[1],g="mailto:"+L):(L=v[1],g=L),{type:"link",raw:v[0],text:L,href:g,tokens:[{type:"text",raw:L,text:L}]}}}url(N){let v;if(v=this.rules.inline.url.exec(N)){let L,g;if(v[2]==="@")L=v[0],g="mailto:"+L;else{let q;do q=v[0],v[0]=this.rules.inline._backpedal.exec(v[0])?.[0]??"";while(q!==v[0]);L=v[0],v[1]==="www."?g="http://"+v[0]:g=v[0]}return{type:"link",raw:v[0],text:L,href:g,tokens:[{type:"text",raw:L,text:L}]}}}inlineText(N){let v=this.rules.inline.text.exec(N);if(v){let L=this.lexer.state.inRawBlock;return{type:"text",raw:v[0],text:v[0],escaped:L}}}},h4=class N{tokens;options;state;inlineQueue;tokenizer;constructor(v){this.tokens=[],this.tokens.links=Object.create(null),this.options=v||I3,this.options.tokenizer=this.options.tokenizer||new VB,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let L={other:T1,block:kB.normal,inline:H9.normal};this.options.pedantic?(L.block=kB.pedantic,L.inline=H9.pedantic):this.options.gfm&&(L.block=kB.gfm,this.options.breaks?L.inline=H9.breaks:L.inline=H9.gfm),this.tokenizer.rules=L}static get rules(){return{block:kB,inline:H9}}static lex(v,L){return new N(L).lex(v)}static lexInline(v,L){return new N(L).inlineTokens(v)}lex(v){v=v.replace(T1.carriageReturn,`
261
+ `),this.blockTokens(v,this.tokens);for(let L=0;L<this.inlineQueue.length;L++){let g=this.inlineQueue[L];this.inlineTokens(g.src,g.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(v,L=[],g=!1){for(this.options.pedantic&&(v=v.replace(T1.tabCharGlobal," ").replace(T1.spaceLine,""));v;){let q;if(this.options.extensions?.block?.some((K)=>(q=K.call({lexer:this},v,L))?(v=v.substring(q.raw.length),L.push(q),!0):!1))continue;if(q=this.tokenizer.space(v)){v=v.substring(q.raw.length);let K=L.at(-1);q.raw.length===1&&K!==void 0?K.raw+=`
262
+ `:L.push(q);continue}if(q=this.tokenizer.code(v)){v=v.substring(q.raw.length);let K=L.at(-1);K?.type==="paragraph"||K?.type==="text"?(K.raw+=(K.raw.endsWith(`
263
+ `)?"":`
264
+ `)+q.raw,K.text+=`
265
+ `+q.text,this.inlineQueue.at(-1).src=K.text):L.push(q);continue}if(q=this.tokenizer.fences(v)){v=v.substring(q.raw.length),L.push(q);continue}if(q=this.tokenizer.heading(v)){v=v.substring(q.raw.length),L.push(q);continue}if(q=this.tokenizer.hr(v)){v=v.substring(q.raw.length),L.push(q);continue}if(q=this.tokenizer.blockquote(v)){v=v.substring(q.raw.length),L.push(q);continue}if(q=this.tokenizer.list(v)){v=v.substring(q.raw.length),L.push(q);continue}if(q=this.tokenizer.html(v)){v=v.substring(q.raw.length),L.push(q);continue}if(q=this.tokenizer.def(v)){v=v.substring(q.raw.length);let K=L.at(-1);K?.type==="paragraph"||K?.type==="text"?(K.raw+=(K.raw.endsWith(`
266
+ `)?"":`
267
+ `)+q.raw,K.text+=`
268
+ `+q.raw,this.inlineQueue.at(-1).src=K.text):this.tokens.links[q.tag]||(this.tokens.links[q.tag]={href:q.href,title:q.title},L.push(q));continue}if(q=this.tokenizer.table(v)){v=v.substring(q.raw.length),L.push(q);continue}if(q=this.tokenizer.lheading(v)){v=v.substring(q.raw.length),L.push(q);continue}let R=v;if(this.options.extensions?.startBlock){let K=1/0,F=v.slice(1),b;this.options.extensions.startBlock.forEach((E)=>{b=E.call({lexer:this},F),typeof b=="number"&&b>=0&&(K=Math.min(K,b))}),K<1/0&&K>=0&&(R=v.substring(0,K+1))}if(this.state.top&&(q=this.tokenizer.paragraph(R))){let K=L.at(-1);g&&K?.type==="paragraph"?(K.raw+=(K.raw.endsWith(`
269
+ `)?"":`
270
+ `)+q.raw,K.text+=`
271
+ `+q.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=K.text):L.push(q),g=R.length!==v.length,v=v.substring(q.raw.length);continue}if(q=this.tokenizer.text(v)){v=v.substring(q.raw.length);let K=L.at(-1);K?.type==="text"?(K.raw+=(K.raw.endsWith(`
272
+ `)?"":`
273
+ `)+q.raw,K.text+=`
274
+ `+q.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=K.text):L.push(q);continue}if(v){let K="Infinite loop on byte: "+v.charCodeAt(0);if(this.options.silent){console.error(K);break}else throw Error(K)}}return this.state.top=!0,L}inline(v,L=[]){return this.inlineQueue.push({src:v,tokens:L}),L}inlineTokens(v,L=[]){let g=v,q=null;if(this.tokens.links){let b=Object.keys(this.tokens.links);if(b.length>0)for(;(q=this.tokenizer.rules.inline.reflinkSearch.exec(g))!=null;)b.includes(q[0].slice(q[0].lastIndexOf("[")+1,-1))&&(g=g.slice(0,q.index)+"["+"a".repeat(q[0].length-2)+"]"+g.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(q=this.tokenizer.rules.inline.anyPunctuation.exec(g))!=null;)g=g.slice(0,q.index)+"++"+g.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let R;for(;(q=this.tokenizer.rules.inline.blockSkip.exec(g))!=null;)R=q[2]?q[2].length:0,g=g.slice(0,q.index+R)+"["+"a".repeat(q[0].length-R-2)+"]"+g.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);g=this.options.hooks?.emStrongMask?.call({lexer:this},g)??g;let K=!1,F="";for(;v;){K||(F=""),K=!1;let b;if(this.options.extensions?.inline?.some((I)=>(b=I.call({lexer:this},v,L))?(v=v.substring(b.raw.length),L.push(b),!0):!1))continue;if(b=this.tokenizer.escape(v)){v=v.substring(b.raw.length),L.push(b);continue}if(b=this.tokenizer.tag(v)){v=v.substring(b.raw.length),L.push(b);continue}if(b=this.tokenizer.link(v)){v=v.substring(b.raw.length),L.push(b);continue}if(b=this.tokenizer.reflink(v,this.tokens.links)){v=v.substring(b.raw.length);let I=L.at(-1);b.type==="text"&&I?.type==="text"?(I.raw+=b.raw,I.text+=b.text):L.push(b);continue}if(b=this.tokenizer.emStrong(v,g,F)){v=v.substring(b.raw.length),L.push(b);continue}if(b=this.tokenizer.codespan(v)){v=v.substring(b.raw.length),L.push(b);continue}if(b=this.tokenizer.br(v)){v=v.substring(b.raw.length),L.push(b);continue}if(b=this.tokenizer.del(v)){v=v.substring(b.raw.length),L.push(b);continue}if(b=this.tokenizer.autolink(v)){v=v.substring(b.raw.length),L.push(b);continue}if(!this.state.inLink&&(b=this.tokenizer.url(v))){v=v.substring(b.raw.length),L.push(b);continue}let E=v;if(this.options.extensions?.startInline){let I=1/0,_=v.slice(1),T;this.options.extensions.startInline.forEach((t)=>{T=t.call({lexer:this},_),typeof T=="number"&&T>=0&&(I=Math.min(I,T))}),I<1/0&&I>=0&&(E=v.substring(0,I+1))}if(b=this.tokenizer.inlineText(E)){v=v.substring(b.raw.length),b.raw.slice(-1)!=="_"&&(F=b.raw.slice(-1)),K=!0;let I=L.at(-1);I?.type==="text"?(I.raw+=b.raw,I.text+=b.text):L.push(b);continue}if(v){let I="Infinite loop on byte: "+v.charCodeAt(0);if(this.options.silent){console.error(I);break}else throw Error(I)}}return L}},EB=class{options;parser;constructor(N){this.options=N||I3}space(N){return""}code({text:N,lang:v,escaped:L}){let g=(v||"").match(T1.notSpaceStart)?.[0],q=N.replace(T1.endingNewline,"")+`
275
+ `;return g?'<pre><code class="language-'+D7(g)+'">'+(L?q:D7(q,!0))+`</code></pre>
276
+ `:"<pre><code>"+(L?q:D7(q,!0))+`</code></pre>
277
+ `}blockquote({tokens:N}){return`<blockquote>
278
+ ${this.parser.parse(N)}</blockquote>
279
+ `}html({text:N}){return N}def(N){return""}heading({tokens:N,depth:v}){return`<h${v}>${this.parser.parseInline(N)}</h${v}>
280
+ `}hr(N){return`<hr>
281
+ `}list(N){let{ordered:v,start:L}=N,g="";for(let K=0;K<N.items.length;K++){let F=N.items[K];g+=this.listitem(F)}let q=v?"ol":"ul",R=v&&L!==1?' start="'+L+'"':"";return"<"+q+R+`>
282
+ `+g+"</"+q+`>
283
+ `}listitem(N){return`<li>${this.parser.parse(N.tokens)}</li>
284
+ `}checkbox({checked:N}){return"<input "+(N?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:N}){return`<p>${this.parser.parseInline(N)}</p>
285
+ `}table(N){let v="",L="";for(let q=0;q<N.header.length;q++)L+=this.tablecell(N.header[q]);v+=this.tablerow({text:L});let g="";for(let q=0;q<N.rows.length;q++){let R=N.rows[q];L="";for(let K=0;K<R.length;K++)L+=this.tablecell(R[K]);g+=this.tablerow({text:L})}return g&&(g=`<tbody>${g}</tbody>`),`<table>
286
+ <thead>
287
+ `+v+`</thead>
288
+ `+g+`</table>
289
+ `}tablerow({text:N}){return`<tr>
290
+ ${N}</tr>
291
+ `}tablecell(N){let v=this.parser.parseInline(N.tokens),L=N.header?"th":"td";return(N.align?`<${L} align="${N.align}">`:`<${L}>`)+v+`</${L}>
292
+ `}strong({tokens:N}){return`<strong>${this.parser.parseInline(N)}</strong>`}em({tokens:N}){return`<em>${this.parser.parseInline(N)}</em>`}codespan({text:N}){return`<code>${D7(N,!0)}</code>`}br(N){return"<br>"}del({tokens:N}){return`<del>${this.parser.parseInline(N)}</del>`}link({href:N,title:v,tokens:L}){let g=this.parser.parseInline(L),q=oQ(N);if(q===null)return g;N=q;let R='<a href="'+N+'"';return v&&(R+=' title="'+D7(v)+'"'),R+=">"+g+"</a>",R}image({href:N,title:v,text:L,tokens:g}){g&&(L=this.parser.parseInline(g,this.parser.textRenderer));let q=oQ(N);if(q===null)return D7(L);N=q;let R=`<img src="${N}" alt="${L}"`;return v&&(R+=` title="${D7(v)}"`),R+=">",R}text(N){return"tokens"in N&&N.tokens?this.parser.parseInline(N.tokens):("escaped"in N)&&N.escaped?N.text:D7(N.text)}},kG=class{strong({text:N}){return N}em({text:N}){return N}codespan({text:N}){return N}del({text:N}){return N}html({text:N}){return N}text({text:N}){return N}link({text:N}){return""+N}image({text:N}){return""+N}br(){return""}checkbox({raw:N}){return N}},k4=class N{options;renderer;textRenderer;constructor(v){this.options=v||I3,this.options.renderer=this.options.renderer||new EB,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new kG}static parse(v,L){return new N(L).parse(v)}static parseInline(v,L){return new N(L).parseInline(v)}parse(v){let L="";for(let g=0;g<v.length;g++){let q=v[g];if(this.options.extensions?.renderers?.[q.type]){let K=q,F=this.options.extensions.renderers[K.type].call({parser:this},K);if(F!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(K.type)){L+=F||"";continue}}let R=q;switch(R.type){case"space":{L+=this.renderer.space(R);break}case"hr":{L+=this.renderer.hr(R);break}case"heading":{L+=this.renderer.heading(R);break}case"code":{L+=this.renderer.code(R);break}case"table":{L+=this.renderer.table(R);break}case"blockquote":{L+=this.renderer.blockquote(R);break}case"list":{L+=this.renderer.list(R);break}case"checkbox":{L+=this.renderer.checkbox(R);break}case"html":{L+=this.renderer.html(R);break}case"def":{L+=this.renderer.def(R);break}case"paragraph":{L+=this.renderer.paragraph(R);break}case"text":{L+=this.renderer.text(R);break}default:{let K='Token with "'+R.type+'" type was not found.';if(this.options.silent)return console.error(K),"";throw Error(K)}}}return L}parseInline(v,L=this.renderer){let g="";for(let q=0;q<v.length;q++){let R=v[q];if(this.options.extensions?.renderers?.[R.type]){let F=this.options.extensions.renderers[R.type].call({parser:this},R);if(F!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(R.type)){g+=F||"";continue}}let K=R;switch(K.type){case"escape":{g+=L.text(K);break}case"html":{g+=L.html(K);break}case"link":{g+=L.link(K);break}case"image":{g+=L.image(K);break}case"checkbox":{g+=L.checkbox(K);break}case"strong":{g+=L.strong(K);break}case"em":{g+=L.em(K);break}case"codespan":{g+=L.codespan(K);break}case"br":{g+=L.br(K);break}case"del":{g+=L.del(K);break}case"text":{g+=L.text(K);break}default:{let F='Token with "'+K.type+'" type was not found.';if(this.options.silent)return console.error(F),"";throw Error(F)}}}return g}},L9=class{options;block;constructor(N){this.options=N||I3}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(N){return N}postprocess(N){return N}processAllTokens(N){return N}emStrongMask(N){return N}provideLexer(){return this.block?h4.lex:h4.lexInline}provideParser(){return this.block?k4.parse:k4.parseInline}},tU=class{defaults=mG();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=k4;Renderer=EB;TextRenderer=kG;Lexer=h4;Tokenizer=VB;Hooks=L9;constructor(...N){this.use(...N)}walkTokens(N,v){let L=[];for(let g of N)switch(L=L.concat(v.call(this,g)),g.type){case"table":{let q=g;for(let R of q.header)L=L.concat(this.walkTokens(R.tokens,v));for(let R of q.rows)for(let K of R)L=L.concat(this.walkTokens(K.tokens,v));break}case"list":{let q=g;L=L.concat(this.walkTokens(q.items,v));break}default:{let q=g;this.defaults.extensions?.childTokens?.[q.type]?this.defaults.extensions.childTokens[q.type].forEach((R)=>{let K=q[R].flat(1/0);L=L.concat(this.walkTokens(K,v))}):q.tokens&&(L=L.concat(this.walkTokens(q.tokens,v)))}}return L}use(...N){let v=this.defaults.extensions||{renderers:{},childTokens:{}};return N.forEach((L)=>{let g={...L};if(g.async=this.defaults.async||g.async||!1,L.extensions&&(L.extensions.forEach((q)=>{if(!q.name)throw Error("extension name required");if("renderer"in q){let R=v.renderers[q.name];R?v.renderers[q.name]=function(...K){let F=q.renderer.apply(this,K);return F===!1&&(F=R.apply(this,K)),F}:v.renderers[q.name]=q.renderer}if("tokenizer"in q){if(!q.level||q.level!=="block"&&q.level!=="inline")throw Error("extension level must be 'block' or 'inline'");let R=v[q.level];R?R.unshift(q.tokenizer):v[q.level]=[q.tokenizer],q.start&&(q.level==="block"?v.startBlock?v.startBlock.push(q.start):v.startBlock=[q.start]:q.level==="inline"&&(v.startInline?v.startInline.push(q.start):v.startInline=[q.start]))}"childTokens"in q&&q.childTokens&&(v.childTokens[q.name]=q.childTokens)}),g.extensions=v),L.renderer){let q=this.defaults.renderer||new EB(this.defaults);for(let R in L.renderer){if(!(R in q))throw Error(`renderer '${R}' does not exist`);if(["options","parser"].includes(R))continue;let K=R,F=L.renderer[K],b=q[K];q[K]=(...E)=>{let I=F.apply(q,E);return I===!1&&(I=b.apply(q,E)),I||""}}g.renderer=q}if(L.tokenizer){let q=this.defaults.tokenizer||new VB(this.defaults);for(let R in L.tokenizer){if(!(R in q))throw Error(`tokenizer '${R}' does not exist`);if(["options","rules","lexer"].includes(R))continue;let K=R,F=L.tokenizer[K],b=q[K];q[K]=(...E)=>{let I=F.apply(q,E);return I===!1&&(I=b.apply(q,E)),I}}g.tokenizer=q}if(L.hooks){let q=this.defaults.hooks||new L9;for(let R in L.hooks){if(!(R in q))throw Error(`hook '${R}' does not exist`);if(["options","block"].includes(R))continue;let K=R,F=L.hooks[K],b=q[K];L9.passThroughHooks.has(R)?q[K]=(E)=>{if(this.defaults.async&&L9.passThroughHooksRespectAsync.has(R))return(async()=>{let _=await F.call(q,E);return b.call(q,_)})();let I=F.call(q,E);return b.call(q,I)}:q[K]=(...E)=>{if(this.defaults.async)return(async()=>{let _=await F.apply(q,E);return _===!1&&(_=await b.apply(q,E)),_})();let I=F.apply(q,E);return I===!1&&(I=b.apply(q,E)),I}}g.hooks=q}if(L.walkTokens){let q=this.defaults.walkTokens,R=L.walkTokens;g.walkTokens=function(K){let F=[];return F.push(R.call(this,K)),q&&(F=F.concat(q.call(this,K))),F}}this.defaults={...this.defaults,...g}}),this}setOptions(N){return this.defaults={...this.defaults,...N},this}lexer(N,v){return h4.lex(N,v??this.defaults)}parser(N,v){return k4.parse(N,v??this.defaults)}parseMarkdown(N){return(v,L)=>{let g={...L},q={...this.defaults,...g},R=this.onError(!!q.silent,!!q.async);if(this.defaults.async===!0&&g.async===!1)return R(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof v>"u"||v===null)return R(Error("marked(): input parameter is undefined or null"));if(typeof v!="string")return R(Error("marked(): input parameter is of type "+Object.prototype.toString.call(v)+", string expected"));if(q.hooks&&(q.hooks.options=q,q.hooks.block=N),q.async)return(async()=>{let K=q.hooks?await q.hooks.preprocess(v):v,F=await(q.hooks?await q.hooks.provideLexer():N?h4.lex:h4.lexInline)(K,q),b=q.hooks?await q.hooks.processAllTokens(F):F;q.walkTokens&&await Promise.all(this.walkTokens(b,q.walkTokens));let E=await(q.hooks?await q.hooks.provideParser():N?k4.parse:k4.parseInline)(b,q);return q.hooks?await q.hooks.postprocess(E):E})().catch(R);try{q.hooks&&(v=q.hooks.preprocess(v));let K=(q.hooks?q.hooks.provideLexer():N?h4.lex:h4.lexInline)(v,q);q.hooks&&(K=q.hooks.processAllTokens(K)),q.walkTokens&&this.walkTokens(K,q.walkTokens);let F=(q.hooks?q.hooks.provideParser():N?k4.parse:k4.parseInline)(K,q);return q.hooks&&(F=q.hooks.postprocess(F)),F}catch(K){return R(K)}}}onError(N,v){return(L)=>{if(L.message+=`
293
+ Please report this to https://github.com/markedjs/marked.`,N){let g="<p>An error occurred:</p><pre>"+D7(L.message+"",!0)+"</pre>";return v?Promise.resolve(g):g}if(v)return Promise.reject(L);throw L}}},P3=new tU;function N2(N,v){return P3.parse(N,v)}N2.options=N2.setOptions=function(N){return P3.setOptions(N),N2.defaults=P3.defaults,iQ(N2.defaults),N2};N2.getDefaults=mG;N2.defaults=I3;N2.use=function(...N){return P3.use(...N),N2.defaults=P3.defaults,iQ(N2.defaults),N2};N2.walkTokens=function(N,v){return P3.walkTokens(N,v)};N2.parseInline=P3.parseInline;N2.Parser=k4;N2.parser=k4.parse;N2.Renderer=EB;N2.TextRenderer=kG;N2.Lexer=h4;N2.lexer=h4.lex;N2.Tokenizer=VB;N2.Hooks=L9;N2.parse=N2;var{options:tw,setOptions:ew,use:$R,walkTokens:BR,parseInline:XR}=N2;var YR=k4.parse,ZR=h4.lex;var j4=w0(w1(),1);var jG={description:{begin:"<!-- SECTION:DESCRIPTION:BEGIN -->",end:"<!-- SECTION:DESCRIPTION:END -->"},plan:{begin:"<!-- SECTION:PLAN:BEGIN -->",end:"<!-- SECTION:PLAN:END -->"},notes:{begin:"<!-- SECTION:NOTES:BEGIN -->",end:"<!-- SECTION:NOTES:END -->"},ac:{begin:"<!-- AC:BEGIN -->",end:"<!-- AC:END -->"}};function eU(N,v){let L=jG[v];if(!L)return N;let g=N.indexOf(L.begin),q=N.indexOf(L.end);if(g===-1||q===-1)return N;return N.substring(g+L.begin.length,q).trim()}function $O(N,v){let L=jG[v];if(!L)return N;return`${L.begin}
294
+ ${N.trim()}
295
+ ${L.end}`}function zL(N,v){let L=jG[v];if(!L)return!1;return N.includes(L.begin)&&N.includes(L.end)}function WL(N){return N.replace(/<!--[\s\S]*?-->/g,"")}function y6(N,v){if(!N)return"";if(!v)return N;return zL(N,v)?eU(N,v):N}function VG(N,v,L){if(!N)return"";if(!L)return N;if(zL(v,L))return $O(N,L);return N}var u5=w0(W2(),1),NL=j4.forwardRef(({markdown:N,onChange:v,placeholder:L,readOnly:g=!1,sectionType:q},R)=>{let{isDark:K}=w2(),F=j4.useRef(null),[b,E]=j4.useState(!1),[I,_]=j4.useState(()=>y6(N,q)),T=y6(N,q);j4.useEffect(()=>{_(T)},[T]);let t=(j)=>{let Z0=j.target.value;_(Z0);let K0=VG(Z0,N,q);v(K0)};return j4.useImperativeHandle(R,()=>({setMarkdown:(j)=>{let Z0=y6(j,q);if(F.current)F.current.value=Z0},getMarkdown:()=>{let j=F.current?.value||"";return VG(j,N,q)}}),[N,q]),u5.jsxDEV("div",{className:`rounded-lg border transition-colors ${K?"border-gray-700 bg-gray-800":"border-gray-300 bg-white"}`,children:[u5.jsxDEV("div",{className:`flex items-center justify-between px-3 py-2 border-b ${K?"border-gray-700":"border-gray-300"}`,children:[u5.jsxDEV("div",{className:`text-xs ${K?"text-gray-400":"text-gray-500"}`,children:"Markdown supported"},void 0,!1,void 0,this),u5.jsxDEV("button",{type:"button",onClick:()=>E(!b),className:`text-xs px-2 py-1 rounded ${b?K?"bg-blue-600 text-white":"bg-blue-500 text-white":K?"bg-gray-700 text-gray-300 hover:bg-gray-600":"bg-gray-200 text-gray-700 hover:bg-gray-300"}`,children:b?"Edit":"Preview"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),b?u5.jsxDEV("div",{className:`p-4 min-h-[150px] prose prose-sm max-w-none ${K?"prose-invert":""}`,dangerouslySetInnerHTML:(()=>{return{__html:N2.parse(I||"",{async:!1})}})()},void 0,!1,void 0,this):u5.jsxDEV("textarea",{ref:F,value:I,onChange:t,placeholder:L||"Type markdown here...",readOnly:g,className:`w-full p-4 min-h-[150px] resize-y focus:outline-none font-mono text-sm ${K?"bg-gray-800 text-gray-200 placeholder-gray-500":"bg-white text-gray-900 placeholder-gray-400"}`},void 0,!1,void 0,this),u5.jsxDEV("style",{children:`
296
+ .prose h1 {
297
+ font-size: 2em;
298
+ font-weight: bold;
299
+ margin: 0.67em 0;
300
+ }
301
+
302
+ .prose h2 {
303
+ font-size: 1.5em;
304
+ font-weight: bold;
305
+ margin: 0.75em 0;
306
+ }
307
+
308
+ .prose h3 {
309
+ font-size: 1.17em;
310
+ font-weight: bold;
311
+ margin: 0.83em 0;
312
+ }
313
+
314
+ .prose ul,
315
+ .prose ol {
316
+ padding-left: 1.5em;
317
+ margin: 0.75em 0;
318
+ }
319
+
320
+ .prose li {
321
+ margin: 0.25em 0;
322
+ }
323
+
324
+ .prose blockquote {
325
+ border-left: 3px solid ${K?"#60a5fa":"#3b82f6"};
326
+ padding-left: 1em;
327
+ margin: 1em 0;
328
+ color: ${K?"#9ca3af":"#6b7280"};
329
+ }
330
+
331
+ .prose code {
332
+ background-color: ${K?"#374151":"#f3f4f6"};
333
+ color: ${K?"#60a5fa":"#ef4444"};
334
+ padding: 0.2em 0.4em;
335
+ border-radius: 0.25rem;
336
+ font-family: "Courier New", Courier, monospace;
337
+ font-size: 0.9em;
338
+ }
339
+
340
+ .prose pre {
341
+ background-color: ${K?"#1f2937":"#f9fafb"};
342
+ border: 1px solid ${K?"#374151":"#e5e7eb"};
343
+ padding: 0.75em 1em;
344
+ border-radius: 0.375rem;
345
+ overflow-x: auto;
346
+ margin: 1em 0;
347
+ }
348
+
349
+ .prose pre code {
350
+ background-color: transparent;
351
+ padding: 0;
352
+ color: ${K?"#e5e7eb":"#1f2937"};
353
+ font-size: 0.875em;
354
+ }
355
+
356
+ .prose hr {
357
+ border: none;
358
+ border-top: 2px solid ${K?"#374151":"#e5e7eb"};
359
+ margin: 2em 0;
360
+ }
361
+
362
+ .prose a {
363
+ color: ${K?"#60a5fa":"#3b82f6"};
364
+ text-decoration: underline;
365
+ }
366
+
367
+ .prose strong {
368
+ font-weight: 600;
369
+ }
370
+
371
+ .prose em {
372
+ font-style: italic;
373
+ }
374
+ `},void 0,!1,void 0,this)]},void 0,!0,void 0,this)});NL.displayName="MarkdownEditor";var l7=NL;var V=w0(W2(),1),vL=[{value:"todo",label:"To Do",lightColor:"bg-gray-100 text-gray-700",darkColor:"bg-gray-700 text-gray-300"},{value:"in-progress",label:"In Progress",lightColor:"bg-blue-100 text-blue-700",darkColor:"bg-blue-900/50 text-blue-300"},{value:"in-review",label:"In Review",lightColor:"bg-purple-100 text-purple-700",darkColor:"bg-purple-900/50 text-purple-300"},{value:"done",label:"Done",lightColor:"bg-green-100 text-green-700",darkColor:"bg-green-900/50 text-green-300"},{value:"blocked",label:"Blocked",lightColor:"bg-red-100 text-red-700",darkColor:"bg-red-900/50 text-red-300"}],JL=[{value:"low",label:"Low",lightColor:"bg-gray-100 text-gray-600",darkColor:"bg-gray-700 text-gray-300"},{value:"medium",label:"Medium",lightColor:"bg-yellow-100 text-yellow-700",darkColor:"bg-yellow-900/50 text-yellow-300"},{value:"high",label:"High",lightColor:"bg-red-100 text-red-700",darkColor:"bg-red-900/50 text-red-300"}],d7={Close:()=>V.jsxDEV("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:V.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Description:()=>V.jsxDEV("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:V.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h7"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Checklist:()=>V.jsxDEV("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:V.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"},void 0,!1,void 0,this)},void 0,!1,void 0,this),User:()=>V.jsxDEV("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:V.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Plus:()=>V.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:V.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v16m8-8H4"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Trash:()=>V.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:V.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Parent:()=>V.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:V.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 10l7-7m0 0l7 7m-7-7v18"},void 0,!1,void 0,this)},void 0,!1,void 0,this)};function EG({isOpen:N,allTasks:v,onClose:L,onCreated:g}){let{isDark:q}=w2(),R=M2.useRef(null),K=M2.useRef(null),F=M2.useRef(null),[b,E]=M2.useState(""),[I,_]=M2.useState(""),[T,t]=M2.useState("todo"),[B0,j]=M2.useState("medium"),[Z0,K0]=M2.useState(""),[_0,k]=M2.useState([]),[Y0,v0]=M2.useState(""),[C0,e0]=M2.useState([]),[p,D0]=M2.useState(!1),[i,B2]=M2.useState(null),[S0,M0]=M2.useState(!1),[G2,c]=M2.useState(""),[z0,e]=M2.useState(!1),[U0,a]=M2.useState(""),[u,G0]=M2.useState(!1),[F0,P0]=M2.useState(!1),x0=M2.useRef(null);M2.useEffect(()=>{if(N)R.current?.showModal(),setTimeout(()=>F.current?.focus(),100);else R.current?.close(),E(""),_(""),t("todo"),j("medium"),K0(""),k([]),v0(""),e0([]),B2(null),M0(!1),c(""),e(!1),a(""),G0(!1),P0(!1)},[N]),M2.useEffect(()=>{if(z0&&x0.current)x0.current.focus()},[z0]);let C2=(W0)=>{if(K.current&&!K.current.contains(W0.target))L()},$2=M2.useCallback((W0)=>{if(W0.key==="Escape"&&!z0&&!u)L()},[L,z0,u]),S2=()=>{if(!G2.trim())return;e0([...C0,{id:crypto.randomUUID(),text:G2.trim()}]),c(""),e(!1)},V2=(W0)=>{e0(C0.filter((S1)=>S1.id!==W0))},X1=()=>{if(!U0.trim())return;if(!_0.includes(U0.trim()))k([..._0,U0.trim()]);a(""),G0(!1)},l1=(W0)=>{k(_0.filter((S1)=>S1!==W0))},s=async(W0)=>{if(W0.preventDefault(),B2(null),!b.trim()){B2("Title is required");return}D0(!0);try{let S1={title:b.trim(),description:I.trim()||void 0,status:T,priority:B0,labels:_0,assignee:Z0.trim()||void 0,parent:Y0||void 0,acceptanceCriteria:C0.map((F4)=>({text:F4.text,completed:!1}))};await DQ(S1),M0(!0),setTimeout(()=>{g(),L()},800)}catch(S1){B2(S1 instanceof Error?S1.message:"Failed to create task")}finally{D0(!1)}},Q0=vL.find((W0)=>W0.value===T),r0=JL.find((W0)=>W0.value===B0),a0=Y0?v.find((W0)=>W0.id===Y0):null,u0=q?"bg-gray-800":"bg-gray-100",m0=q?"bg-gray-700":"bg-white",J2=q?"bg-gray-750":"bg-gray-50",L0=q?"text-gray-100":"text-gray-900",X2=q?"text-gray-300":"text-gray-700",T0=q?"text-gray-400":"text-gray-500",y1=q?"border-gray-600":"border-gray-200",g1=q?"bg-gray-600 border-gray-500 text-gray-100 placeholder-gray-400":"bg-white border-gray-200 text-gray-900 placeholder-gray-400",n2=q?"hover:bg-gray-600":"hover:bg-gray-100";return V.jsxDEV("dialog",{ref:R,className:"fixed inset-0 bg-transparent p-0 m-0 max-w-none w-full h-full backdrop:bg-black backdrop:bg-opacity-60",onClick:C2,onKeyDown:$2,"aria-labelledby":"create-task-title",children:V.jsxDEV("div",{className:"flex justify-center pt-12 pb-8 px-4 min-h-full",children:V.jsxDEV("div",{ref:K,className:`${u0} rounded-xl shadow-2xl w-full max-w-4xl max-h-[calc(100vh-80px)] overflow-hidden flex flex-col`,children:[V.jsxDEV("div",{className:"bg-gradient-to-r from-green-500 to-green-600 px-6 py-4 flex items-start justify-between",children:[V.jsxDEV("div",{className:"flex-1 min-w-0",children:[V.jsxDEV("span",{className:"text-green-100 text-sm font-medium",children:"New Task"},void 0,!1,void 0,this),V.jsxDEV("input",{ref:F,type:"text",value:b,onChange:(W0)=>E(W0.target.value),placeholder:"Enter task title...",className:"w-full text-xl font-bold bg-white/20 text-white placeholder-white/60 border-0 rounded px-2 py-1 mt-1 focus:outline-none focus:ring-2 focus:ring-white/50",disabled:p},void 0,!1,void 0,this)]},void 0,!0,void 0,this),V.jsxDEV("button",{type:"button",onClick:L,className:"text-white/80 hover:text-white hover:bg-white/20 rounded-full p-2 ml-4 transition-colors","aria-label":"Close",children:V.jsxDEV(d7.Close,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),(S0||i)&&V.jsxDEV("div",{className:"px-6 pt-4",children:[S0&&V.jsxDEV("div",{className:`${q?"bg-green-900/50 border-green-700 text-green-300":"bg-green-50 border-green-200 text-green-700"} border px-4 py-2 rounded-lg text-sm`,children:"Task created successfully!"},void 0,!1,void 0,this),i&&V.jsxDEV("div",{className:`${q?"bg-red-900/50 border-red-700 text-red-300":"bg-red-50 border-red-200 text-red-700"} border px-4 py-2 rounded-lg text-sm`,children:i},void 0,!1,void 0,this)]},void 0,!0,void 0,this),V.jsxDEV("form",{onSubmit:s,className:"flex-1 overflow-y-auto",children:V.jsxDEV("div",{className:"flex flex-col md:flex-row",children:[V.jsxDEV("div",{className:"flex-1 p-6 space-y-6",children:[V.jsxDEV("section",{children:[V.jsxDEV("div",{className:"flex items-center gap-2 mb-3",children:[V.jsxDEV("span",{className:X2,children:V.jsxDEV(d7.Description,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),V.jsxDEV("h3",{className:`font-semibold ${X2}`,children:"Description"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),V.jsxDEV(l7,{markdown:I,onChange:_,placeholder:"Add a more detailed description...",readOnly:p},void 0,!1,void 0,this)]},void 0,!0,void 0,this),V.jsxDEV("section",{children:[V.jsxDEV("div",{className:"flex items-center justify-between mb-3",children:V.jsxDEV("div",{className:"flex items-center gap-2",children:[V.jsxDEV("span",{className:X2,children:V.jsxDEV(d7.Checklist,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),V.jsxDEV("h3",{className:`font-semibold ${X2}`,children:"Acceptance Criteria"},void 0,!1,void 0,this),C0.length>0&&V.jsxDEV("span",{className:`text-sm ${T0}`,children:["(",C0.length,")"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),V.jsxDEV("div",{className:"space-y-2",children:C0.map((W0)=>V.jsxDEV("div",{className:`flex items-start gap-2 ${m0} rounded-lg px-3 py-2 group hover:shadow-sm transition-shadow`,children:[V.jsxDEV("input",{type:"checkbox",checked:!1,disabled:!0,className:"mt-1 w-4 h-4 rounded cursor-not-allowed opacity-50"},void 0,!1,void 0,this),V.jsxDEV("span",{className:`flex-1 text-sm ${X2}`,children:W0.text},void 0,!1,void 0,this),V.jsxDEV("button",{type:"button",onClick:()=>V2(W0.id),className:`opacity-0 group-hover:opacity-100 ${T0} hover:text-red-500 p-1 transition-all`,title:"Delete",children:V.jsxDEV(d7.Trash,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},W0.id,!0,void 0,this))},void 0,!1,void 0,this),z0?V.jsxDEV("div",{className:`mt-2 ${m0} rounded-lg px-3 py-2`,children:[V.jsxDEV("input",{ref:x0,type:"text",value:G2,onChange:(W0)=>c(W0.target.value),onKeyDown:(W0)=>{if(W0.key==="Enter"&&G2.trim())W0.preventDefault(),S2();if(W0.key==="Escape")c(""),e(!1)},placeholder:"Add an item...",className:`w-full border ${y1} rounded px-2 py-1.5 text-sm focus:outline-none focus:ring-2 focus:ring-green-500 ${g1}`,disabled:p},void 0,!1,void 0,this),V.jsxDEV("div",{className:"flex gap-2 mt-2",children:[V.jsxDEV("button",{type:"button",onClick:S2,className:"px-3 py-1 bg-green-600 text-white text-sm rounded hover:bg-green-700 transition-colors",disabled:!G2.trim()||p,children:"Add"},void 0,!1,void 0,this),V.jsxDEV("button",{type:"button",onClick:()=>{c(""),e(!1)},className:`px-3 py-1 ${X2} text-sm ${n2} rounded transition-colors`,children:"Cancel"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):V.jsxDEV("button",{type:"button",onClick:()=>e(!0),className:`mt-2 flex items-center gap-1 text-sm ${T0} hover:${X2} ${n2} px-3 py-2 rounded-lg transition-colors w-full`,disabled:p,children:[V.jsxDEV(d7.Plus,{},void 0,!1,void 0,this),V.jsxDEV("span",{children:"Add an item"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),V.jsxDEV("div",{className:`w-full md:w-64 ${J2} p-4 border-t md:border-t-0 md:border-l ${y1} space-y-4`,children:[V.jsxDEV("div",{children:[V.jsxDEV("label",{className:`block text-xs font-semibold ${T0} uppercase tracking-wide mb-2`,children:"Status"},void 0,!1,void 0,this),V.jsxDEV("select",{value:T,onChange:(W0)=>t(W0.target.value),className:`w-full rounded-lg px-3 py-2 text-sm font-medium border-0 cursor-pointer focus:outline-none focus:ring-2 focus:ring-green-500 ${q?Q0?.darkColor:Q0?.lightColor}`,disabled:p,children:vL.map((W0)=>V.jsxDEV("option",{value:W0.value,children:W0.label},W0.value,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this),V.jsxDEV("div",{children:[V.jsxDEV("label",{className:`block text-xs font-semibold ${T0} uppercase tracking-wide mb-2`,children:"Priority"},void 0,!1,void 0,this),V.jsxDEV("select",{value:B0,onChange:(W0)=>j(W0.target.value),className:`w-full rounded-lg px-3 py-2 text-sm font-medium border-0 cursor-pointer focus:outline-none focus:ring-2 focus:ring-green-500 ${q?r0?.darkColor:r0?.lightColor}`,disabled:p,children:JL.map((W0)=>V.jsxDEV("option",{value:W0.value,children:W0.label},W0.value,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this),V.jsxDEV("div",{children:[V.jsxDEV("label",{className:`block text-xs font-semibold ${T0} uppercase tracking-wide mb-2`,children:"Assignee"},void 0,!1,void 0,this),V.jsxDEV("div",{className:`flex items-center gap-2 ${m0} rounded-lg px-3 py-2 border ${y1}`,children:[V.jsxDEV("span",{className:T0,children:V.jsxDEV(d7.User,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),V.jsxDEV("input",{type:"text",value:Z0,onChange:(W0)=>K0(W0.target.value),placeholder:"@username",className:`flex-1 text-sm bg-transparent focus:outline-none ${L0}`,disabled:p},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),V.jsxDEV("div",{children:[V.jsxDEV("label",{className:`block text-xs font-semibold ${T0} uppercase tracking-wide mb-2`,children:"Labels"},void 0,!1,void 0,this),V.jsxDEV("div",{className:"flex flex-wrap gap-1 mb-2",children:_0.map((W0)=>V.jsxDEV("span",{className:`inline-flex items-center gap-1 text-xs ${q?"bg-blue-900/50 text-blue-300":"bg-blue-100 text-blue-700"} px-2 py-1 rounded-full group`,children:[W0,V.jsxDEV("button",{type:"button",onClick:()=>l1(W0),className:"opacity-0 group-hover:opacity-100 hover:text-red-500 transition-opacity",title:"Remove label",children:"x"},void 0,!1,void 0,this)]},W0,!0,void 0,this))},void 0,!1,void 0,this),u?V.jsxDEV("div",{children:[V.jsxDEV("input",{type:"text",value:U0,onChange:(W0)=>a(W0.target.value),onKeyDown:(W0)=>{if(W0.key==="Enter"&&U0.trim())W0.preventDefault(),X1();if(W0.key==="Escape")a(""),G0(!1)},placeholder:"Label name",className:`w-full border ${y1} rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-green-500 ${g1}`,disabled:p},void 0,!1,void 0,this),V.jsxDEV("div",{className:"flex gap-2 mt-2",children:[V.jsxDEV("button",{type:"button",onClick:X1,className:"px-3 py-1 bg-green-600 text-white text-sm rounded hover:bg-green-700 transition-colors",disabled:!U0.trim()||p,children:"Add"},void 0,!1,void 0,this),V.jsxDEV("button",{type:"button",onClick:()=>{a(""),G0(!1)},className:`px-3 py-1 ${X2} text-sm ${n2} rounded transition-colors`,children:"Cancel"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):V.jsxDEV("button",{type:"button",onClick:()=>G0(!0),className:`flex items-center gap-1 text-sm ${T0} hover:${X2} ${n2} px-2 py-1.5 rounded transition-colors`,disabled:p,children:[V.jsxDEV(d7.Plus,{},void 0,!1,void 0,this),V.jsxDEV("span",{children:"Add label"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),V.jsxDEV("div",{children:[V.jsxDEV("label",{className:`block text-xs font-semibold ${T0} uppercase tracking-wide mb-2`,children:"Parent Task"},void 0,!1,void 0,this),F0?V.jsxDEV("div",{children:[V.jsxDEV("select",{value:Y0,onChange:(W0)=>{v0(W0.target.value),P0(!1)},className:`w-full border ${y1} rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-green-500 ${g1}`,disabled:p,children:[V.jsxDEV("option",{value:"",children:"None"},void 0,!1,void 0,this),v.map((W0)=>V.jsxDEV("option",{value:W0.id,children:["#",W0.id," - ",W0.title]},W0.id,!0,void 0,this))]},void 0,!0,void 0,this),V.jsxDEV("button",{type:"button",onClick:()=>P0(!1),className:`mt-2 px-3 py-1 ${X2} text-sm ${n2} rounded transition-colors`,children:"Cancel"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):a0?V.jsxDEV("button",{type:"button",onClick:()=>P0(!0),className:`w-full flex items-center gap-2 ${m0} rounded-lg px-3 py-2 text-sm text-left ${n2} transition-colors border ${y1}`,disabled:p,children:[V.jsxDEV("span",{className:T0,children:V.jsxDEV(d7.Parent,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),V.jsxDEV("div",{className:"flex-1 min-w-0",children:[V.jsxDEV("span",{className:`text-xs ${T0} font-mono`,children:["#",a0.id]},void 0,!0,void 0,this),V.jsxDEV("p",{className:`${X2} truncate`,children:a0.title},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):V.jsxDEV("button",{type:"button",onClick:()=>P0(!0),className:`flex items-center gap-1 text-sm ${T0} hover:${X2} ${n2} px-2 py-1.5 rounded transition-colors`,disabled:p,children:[V.jsxDEV(d7.Plus,{},void 0,!1,void 0,this),V.jsxDEV("span",{children:"Set parent"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),V.jsxDEV("div",{className:`border-t ${y1} px-6 py-4 ${J2} flex justify-end gap-3`,children:[V.jsxDEV("button",{type:"button",onClick:L,className:`px-4 py-2 text-sm ${X2} ${n2} rounded-lg transition-colors`,disabled:p,children:"Cancel"},void 0,!1,void 0,this),V.jsxDEV("button",{type:"button",onClick:s,className:"px-6 py-2 text-sm bg-green-600 text-white rounded-lg hover:bg-green-700 disabled:opacity-50 transition-colors font-medium",disabled:p||S0||!b.trim(),children:p?"Creating...":"Create Task"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)}var b3=w0(w1(),1);var b0=w0(W2(),1),HL={Settings:()=>b0.jsxDEV("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:[b0.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"},void 0,!1,void 0,this),b0.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Save:()=>b0.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:b0.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"},void 0,!1,void 0,this)},void 0,!1,void 0,this)};function DG(){let{isDark:N}=w2(),[v,L]=b3.useState({}),[g,q]=b3.useState(!0),[R,K]=b3.useState(!1),[F,b]=b3.useState(null),E=N?"bg-gray-800":"bg-white",I=N?"text-gray-200":"text-gray-900",_=N?"text-gray-400":"text-gray-600",T=N?"border-gray-700":"border-gray-200",t=N?"bg-gray-700":"bg-white";b3.useEffect(()=>{fetch("http://localhost:3456/api/config").then((j)=>j.json()).then((j)=>{L(j.config||{}),q(!1)}).catch((j)=>{console.error("Failed to load config:",j),q(!1)})},[]);let B0=async()=>{K(!0),b(null);try{if(!(await fetch("http://localhost:3456/api/config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(v)})).ok)throw Error("Failed to save config");b({type:"success",text:"Configuration saved successfully!"}),setTimeout(()=>b(null),3000)}catch(j){b({type:"error",text:j instanceof Error?j.message:"Failed to save config"})}finally{K(!1)}};if(g)return b0.jsxDEV("div",{className:"p-6 flex items-center justify-center h-64",children:b0.jsxDEV("div",{className:`text-lg ${_}`,children:"Loading configuration..."},void 0,!1,void 0,this)},void 0,!1,void 0,this);return b0.jsxDEV("div",{className:"p-6 max-w-3xl",children:[b0.jsxDEV("div",{className:"mb-6 flex items-center gap-3",children:[b0.jsxDEV(HL.Settings,{},void 0,!1,void 0,this),b0.jsxDEV("h1",{className:`text-2xl font-bold ${I}`,children:"Configuration"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),F&&b0.jsxDEV("div",{className:`mb-6 p-4 rounded-lg ${F.type==="success"?"bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200":"bg-red-100 text-red-800 dark:bg-red-900 dark:text-red-200"}`,children:F.text},void 0,!1,void 0,this),b0.jsxDEV("div",{className:`${E} rounded-lg border ${T} p-6 space-y-6`,children:[b0.jsxDEV("div",{children:[b0.jsxDEV("label",{className:`block text-sm font-medium ${I} mb-2`,children:"Default Assignee"},void 0,!1,void 0,this),b0.jsxDEV("input",{type:"text",value:v.defaultAssignee||"",onChange:(j)=>L({...v,defaultAssignee:j.target.value}),placeholder:"@username",className:`w-full px-3 py-2 rounded-lg border ${T} ${t} ${I} focus:outline-none focus:ring-2 focus:ring-blue-500`},void 0,!1,void 0,this),b0.jsxDEV("p",{className:`mt-1 text-xs ${_}`,children:"Default assignee for new tasks (e.g., @claude)"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),b0.jsxDEV("div",{children:[b0.jsxDEV("label",{className:`block text-sm font-medium ${I} mb-2`,children:"Default Priority"},void 0,!1,void 0,this),b0.jsxDEV("select",{value:v.defaultPriority||"medium",onChange:(j)=>L({...v,defaultPriority:j.target.value}),className:`w-full px-3 py-2 rounded-lg border ${T} ${t} ${I} focus:outline-none focus:ring-2 focus:ring-blue-500`,children:[b0.jsxDEV("option",{value:"low",children:"Low"},void 0,!1,void 0,this),b0.jsxDEV("option",{value:"medium",children:"Medium"},void 0,!1,void 0,this),b0.jsxDEV("option",{value:"high",children:"High"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),b0.jsxDEV("p",{className:`mt-1 text-xs ${_}`,children:"Default priority for new tasks"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),b0.jsxDEV("div",{children:[b0.jsxDEV("label",{className:`block text-sm font-medium ${I} mb-2`,children:"Default Labels"},void 0,!1,void 0,this),b0.jsxDEV("input",{type:"text",value:v.defaultLabels?.join(", ")||"",onChange:(j)=>L({...v,defaultLabels:j.target.value.split(",").map((Z0)=>Z0.trim()).filter(Boolean)}),placeholder:"frontend, backend, ui",className:`w-full px-3 py-2 rounded-lg border ${T} ${t} ${I} focus:outline-none focus:ring-2 focus:ring-blue-500`},void 0,!1,void 0,this),b0.jsxDEV("p",{className:`mt-1 text-xs ${_}`,children:"Comma-separated list of default labels for new tasks"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),b0.jsxDEV("div",{children:[b0.jsxDEV("label",{className:`block text-sm font-medium ${I} mb-2`,children:"Time Format"},void 0,!1,void 0,this),b0.jsxDEV("select",{value:v.timeFormat||"24h",onChange:(j)=>L({...v,timeFormat:j.target.value}),className:`w-full px-3 py-2 rounded-lg border ${T} ${t} ${I} focus:outline-none focus:ring-2 focus:ring-blue-500`,children:[b0.jsxDEV("option",{value:"12h",children:"12-hour (AM/PM)"},void 0,!1,void 0,this),b0.jsxDEV("option",{value:"24h",children:"24-hour"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),b0.jsxDEV("p",{className:`mt-1 text-xs ${_}`,children:"Time display format"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),b0.jsxDEV("div",{children:[b0.jsxDEV("label",{className:`block text-sm font-medium ${I} mb-2`,children:"Default Editor"},void 0,!1,void 0,this),b0.jsxDEV("input",{type:"text",value:v.editor||"",onChange:(j)=>L({...v,editor:j.target.value}),placeholder:"code, vim, nano",className:`w-full px-3 py-2 rounded-lg border ${T} ${t} ${I} focus:outline-none focus:ring-2 focus:ring-blue-500`},void 0,!1,void 0,this),b0.jsxDEV("p",{className:`mt-1 text-xs ${_}`,children:"Default editor command for editing files"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),b0.jsxDEV("div",{children:[b0.jsxDEV("label",{className:`block text-sm font-medium ${I} mb-2`,children:"Visible Kanban Columns"},void 0,!1,void 0,this),b0.jsxDEV("div",{className:"space-y-2",children:["todo","in-progress","in-review","done","blocked"].map((j)=>{let Z0={todo:"To Do","in-progress":"In Progress","in-review":"In Review",done:"Done",blocked:"Blocked"},K0=v.visibleColumns?.includes(j)??!0;return b0.jsxDEV("label",{className:"flex items-center gap-2 cursor-pointer hover:opacity-80 transition-opacity",children:[b0.jsxDEV("input",{type:"checkbox",checked:K0,onChange:(_0)=>{let k=v.visibleColumns||["todo","in-progress","done"],Y0=_0.target.checked?[...k,j]:k.filter((v0)=>v0!==j);L({...v,visibleColumns:Y0})},className:"w-4 h-4 rounded border-gray-600 text-blue-600 focus:ring-blue-500 focus:ring-offset-gray-800"},void 0,!1,void 0,this),b0.jsxDEV("span",{className:I,children:Z0[j]},void 0,!1,void 0,this)]},j,!0,void 0,this)})},void 0,!1,void 0,this),b0.jsxDEV("p",{className:`mt-2 text-xs ${_}`,children:"Select which columns to show in the Kanban board"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),b0.jsxDEV("div",{className:"pt-4 border-t border-gray-700",children:b0.jsxDEV("button",{type:"button",onClick:B0,disabled:R,className:"px-4 py-2 bg-blue-600 text-white text-sm font-medium rounded-lg hover:bg-blue-700 disabled:opacity-50 disabled:cursor-not-allowed flex items-center gap-2 transition-colors",children:[b0.jsxDEV(HL.Save,{},void 0,!1,void 0,this),R?"Saving...":"Save Configuration"]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var f2=w0(w1(),1);var dB=w0(w1(),1);var S6=w0(W2(),1),QL=dB.forwardRef(({markdown:N,className:v="",sectionType:L,enableGFM:g=!1,onDocLinkClick:q},R)=>{let{isDark:K}=w2(),F=dB.useMemo(()=>{if(!N)return"";let b=new N2.Renderer,E=b.link.bind(b);b.link=({href:T,title:t,tokens:B0})=>{if(T&&/^task-\d+(.md)?$/.test(T)){let j=T.replace(".md",""),Z0="";if(B0&&B0.length>0)Z0=B0.map((_0)=>_0.raw||_0.text||"").join("");if(!Z0||Z0===T)Z0=j.split("-").map((_0)=>_0.charAt(0).toUpperCase()+_0.slice(1)).join(" ");return`<a href="${T}" class="task-link-badge inline-flex items-center gap-1 px-3 py-1 rounded-md text-sm font-medium transition-all hover:scale-105" data-task-id="${j}">${`<svg class="w-4 h-4 inline-block mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
375
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4" />
376
+ </svg>`}${Z0}</a>`}if(T&&(T.endsWith(".md")||T.includes(".md#"))){let j=T.split("/"),Z0=j[j.length-1].replace(".md",""),K0="";if(B0&&B0.length>0)K0=B0.map((k)=>k.raw||k.text||"").join("");if(!K0||K0===T)K0=Z0.split(/[-_]/).map((k)=>k.charAt(0).toUpperCase()+k.slice(1)).join(" ");return`<a href="${T}" class="doc-link-badge inline-flex items-center gap-1 px-3 py-1 rounded-md text-sm font-medium transition-all hover:scale-105" data-doc-path="${T}">${`<svg class="w-4 h-4 inline-block mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
377
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
378
+ </svg>`}${K0}</a>`}return E({href:T,title:t||"",tokens:B0})};let I=y6(N,L),_=N2.parse(I,{async:!1,gfm:g,breaks:g,renderer:b});return WL(_)},[N,L,g]);return S6.jsxDEV(S6.Fragment,{children:[S6.jsxDEV("style",{children:`
379
+ /* Document link badges */
380
+ .doc-link-badge {
381
+ background: ${K?"rgba(59, 130, 246, 0.1)":"rgba(59, 130, 246, 0.1)"};
382
+ border: 1px solid ${K?"rgba(59, 130, 246, 0.3)":"rgba(59, 130, 246, 0.3)"};
383
+ color: ${K?"#93c5fd":"#2563eb"};
384
+ }
385
+ .doc-link-badge:hover {
386
+ background: ${K?"rgba(59, 130, 246, 0.2)":"rgba(59, 130, 246, 0.2)"};
387
+ border-color: ${K?"rgba(59, 130, 246, 0.5)":"rgba(59, 130, 246, 0.5)"};
388
+ box-shadow: 0 0 0 3px ${K?"rgba(59, 130, 246, 0.1)":"rgba(59, 130, 246, 0.1)"};
389
+ }
390
+
391
+ /* Task link badges */
392
+ .task-link-badge {
393
+ background: ${K?"rgba(34, 197, 94, 0.1)":"rgba(34, 197, 94, 0.1)"};
394
+ border: 1px solid ${K?"rgba(34, 197, 94, 0.3)":"rgba(34, 197, 94, 0.3)"};
395
+ color: ${K?"#86efac":"#16a34a"};
396
+ }
397
+ .task-link-badge:hover {
398
+ background: ${K?"rgba(34, 197, 94, 0.2)":"rgba(34, 197, 94, 0.2)"};
399
+ border-color: ${K?"rgba(34, 197, 94, 0.5)":"rgba(34, 197, 94, 0.5)"};
400
+ box-shadow: 0 0 0 3px ${K?"rgba(34, 197, 94, 0.1)":"rgba(34, 197, 94, 0.1)"};
401
+ }
402
+
403
+ /* Table styling */
404
+ .prose table {
405
+ width: 100%;
406
+ border-collapse: collapse;
407
+ margin: 1.5em 0;
408
+ }
409
+ .prose th {
410
+ background: ${K?"#374151":"#f3f4f6"};
411
+ color: ${K?"#f9fafb":"#111827"};
412
+ font-weight: 600;
413
+ padding: 0.75rem 1rem;
414
+ text-align: left;
415
+ border: 1px solid ${K?"#4b5563":"#e5e7eb"};
416
+ }
417
+ .prose td {
418
+ padding: 0.75rem 1rem;
419
+ border: 1px solid ${K?"#4b5563":"#e5e7eb"};
420
+ color: ${K?"#e5e7eb":"#374151"};
421
+ }
422
+ .prose tbody tr:nth-child(even) {
423
+ background: ${K?"#1f2937":"#f9fafb"};
424
+ }
425
+ .prose tbody tr:hover {
426
+ background: ${K?"#374151":"#f3f4f6"};
427
+ }
428
+ `},void 0,!1,void 0,this),S6.jsxDEV("div",{ref:R,className:`prose prose-sm max-w-none ${K?"prose-invert":""} ${v}`,style:{...K?{"--tw-prose-th-borders":"#374151","--tw-prose-td-borders":"#374151"}:{"--tw-prose-th-borders":"#e5e7eb","--tw-prose-td-borders":"#e5e7eb"}},dangerouslySetInnerHTML:{__html:F}},void 0,!1,void 0,this)]},void 0,!0,void 0,this)});QL.displayName="MarkdownRenderer";var u6=QL;var D=w0(W2(),1),G4={Plus:()=>D.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:D.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v16m8-8H4"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Document:()=>D.jsxDEV("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:D.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Folder:()=>D.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:D.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"},void 0,!1,void 0,this)},void 0,!1,void 0,this),FolderOpen:()=>D.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:D.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 19a2 2 0 01-2-2V7a2 2 0 012-2h4l2 2h4a2 2 0 012 2v1M5 19h14a2 2 0 002-2v-5a2 2 0 00-2-2H9a2 2 0 00-2 2v5a2 2 0 01-2 2z"},void 0,!1,void 0,this)},void 0,!1,void 0,this),ChevronRight:()=>D.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:D.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"},void 0,!1,void 0,this)},void 0,!1,void 0,this),ChevronDown:()=>D.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:D.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Edit:()=>D.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:D.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Save:()=>D.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:D.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Cancel:()=>D.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:D.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Copy:()=>D.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:D.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"},void 0,!1,void 0,this)},void 0,!1,void 0,this)};function lG(){let{isDark:N}=w2(),[v,L]=f2.useState([]),[g,q]=f2.useState(!0),[R,K]=f2.useState(null),[F,b]=f2.useState(!1),[E,I]=f2.useState(""),[_,T]=f2.useState(!1),[t,B0]=f2.useState(!1),[j,Z0]=f2.useState(""),[K0,_0]=f2.useState(""),[k,Y0]=f2.useState(""),[v0,C0]=f2.useState(""),[e0,p]=f2.useState(""),[D0,i]=f2.useState(!1),[B2,S0]=f2.useState(new Set(["(root)"])),[M0,G2]=f2.useState(!1),c=f2.useRef(null),z0=N?"bg-gray-800":"bg-white",e=N?"text-gray-200":"text-gray-900",U0=N?"text-gray-400":"text-gray-600",a=N?"border-gray-700":"border-gray-200",u=N?"hover:bg-gray-700":"hover:bg-gray-50";f2.useEffect(()=>{F0()},[]);let G0=f2.useCallback(()=>{if(v.length===0)return;let r0=window.location.hash.match(/^#\/docs\/(.+)$/);if(r0){let u0=decodeURIComponent(r0[1]).replace(/^\.\//,"").replace(/^\//,""),m0=v.find((J2)=>{return J2.path===u0||J2.path.endsWith(`/${u0}`)||J2.filename===u0});if(m0&&m0!==R)K(m0),b(!1)}},[v,R]);f2.useEffect(()=>{G0()},[G0]),f2.useEffect(()=>{return window.addEventListener("hashchange",G0),()=>window.removeEventListener("hashchange",G0)},[G0]),f2.useEffect(()=>{let Q0=(a0)=>{let u0=a0.target;while(u0&&u0.tagName!=="A"&&u0!==c.current)u0=u0.parentElement;if(u0&&u0.tagName==="A"){let J2=u0.getAttribute("href");if(J2&&/^task-\d+(.md)?$/.test(J2)){a0.preventDefault();let L0=J2.replace(".md","");window.location.hash=`/tasks?task=${L0}`;return}if(J2&&(J2.endsWith(".md")||J2.includes(".md#"))){a0.preventDefault();let L0=J2.replace(/^\.\//,"").replace(/^\//,"");L0=L0.split("#")[0],window.location.hash=`/docs/${L0}`}}},r0=c.current;if(r0)return r0.addEventListener("click",Q0),()=>r0.removeEventListener("click",Q0)},[v,R]);let F0=()=>{fetch("http://localhost:6420/api/docs").then((Q0)=>Q0.json()).then((Q0)=>{L(Q0.docs||[]),q(!1)}).catch((Q0)=>{console.error("Failed to load docs:",Q0),q(!1)})},P0=async()=>{if(!j.trim()){alert("Please enter a title");return}i(!0);try{let Q0=k.split(",").map((a0)=>a0.trim()).filter((a0)=>a0);if(!(await fetch("http://localhost:6420/api/docs",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:j,description:K0,tags:Q0,folder:v0,content:e0})})).ok)throw Error("Failed to create document");Z0(""),_0(""),Y0(""),C0(""),p(""),B0(!1),F0()}catch(Q0){console.error("Failed to create doc:",Q0),alert("Failed to create document. Please try again.")}finally{i(!1)}},x0=()=>{if(R)I(R.content),b(!0)},C2=()=>{if(R){let Q0=`${window.location.origin}${window.location.pathname}#/docs/${R.path}`;navigator.clipboard.writeText(Q0).then(()=>{G2(!0),setTimeout(()=>G2(!1),2000)})}},$2=async()=>{if(!R)return;T(!0);try{console.log("Saving doc:",R.filename,E),b(!1),F0()}catch(Q0){console.error("Failed to save doc:",Q0)}finally{T(!1)}},S2=()=>{b(!1),I("")},V2=(Q0)=>{S0((r0)=>{let a0=new Set(r0);if(a0.has(Q0))a0.delete(Q0);else a0.add(Q0);return a0})},X1=()=>{let Q0={name:"(root)",path:"",docs:[],children:new Map};for(let r0 of v)if(!r0.folder)Q0.docs.push(r0);else{let a0=r0.folder.split("/"),u0=Q0;for(let m0=0;m0<a0.length;m0++){let J2=a0[m0],L0=a0.slice(0,m0+1).join("/");if(!u0.children.has(J2))u0.children.set(J2,{name:J2,path:L0,docs:[],children:new Map});u0=u0.children.get(J2)}u0.docs.push(r0)}return Q0},l1=(Q0)=>{let r0=Q0.docs.length;for(let a0 of Q0.children.values())r0+=l1(a0);return r0},s=(Q0,r0=0)=>{let a0=[],u0=r0===0||B2.has(Q0.path),m0=`${r0*16}px`;if(r0>0){let J2=l1(Q0);a0.push(D.jsxDEV("button",{type:"button",onClick:()=>V2(Q0.path),className:`w-full flex items-center gap-2 px-3 py-2 ${u} ${e} transition-colors`,style:{paddingLeft:m0},children:[u0?D.jsxDEV(G4.ChevronDown,{},void 0,!1,void 0,this):D.jsxDEV(G4.ChevronRight,{},void 0,!1,void 0,this),u0?D.jsxDEV(G4.FolderOpen,{},void 0,!1,void 0,this):D.jsxDEV(G4.Folder,{},void 0,!1,void 0,this),D.jsxDEV("span",{className:"text-sm font-medium",children:Q0.name},void 0,!1,void 0,this),D.jsxDEV("span",{className:`text-xs ${U0}`,children:["(",J2,")"]},void 0,!0,void 0,this)]},`folder-${Q0.path}`,!0,void 0,this))}if(u0||r0===0){let J2=Array.from(Q0.children.values()).sort((X2,T0)=>X2.name.localeCompare(T0.name));for(let X2 of J2)a0.push(...s(X2,r0+1));let L0=[...Q0.docs].sort((X2,T0)=>X2.metadata.title.localeCompare(T0.metadata.title));for(let X2 of L0)a0.push(D.jsxDEV("button",{type:"button",onClick:()=>{window.location.hash=`/docs/${X2.path}`},className:`w-full text-left px-3 py-2 flex items-center gap-2 ${u} ${e} transition-colors ${R?.path===X2.path?N?"bg-gray-700":"bg-gray-100":""}`,style:{paddingLeft:`${(r0+1)*16}px`},children:[D.jsxDEV(G4.Document,{},void 0,!1,void 0,this),D.jsxDEV("div",{className:"flex-1 min-w-0",children:[D.jsxDEV("div",{className:"text-sm font-medium truncate",children:X2.metadata.title},void 0,!1,void 0,this),X2.metadata.description&&D.jsxDEV("div",{className:`text-xs ${U0} truncate`,children:X2.metadata.description},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},`doc-${X2.path}`,!0,void 0,this))}return a0};if(g)return D.jsxDEV("div",{className:"p-6 flex items-center justify-center h-64",children:D.jsxDEV("div",{className:`text-lg ${U0}`,children:"Loading documentation..."},void 0,!1,void 0,this)},void 0,!1,void 0,this);return D.jsxDEV("div",{className:"p-6",children:[D.jsxDEV("div",{className:"mb-6 flex items-center justify-between",children:[D.jsxDEV("h1",{className:`text-2xl font-bold ${e}`,children:"Documentation"},void 0,!1,void 0,this),D.jsxDEV("button",{type:"button",onClick:()=>B0(!0),className:"px-4 py-2 bg-green-600 text-white text-sm font-medium rounded-lg hover:bg-green-700 flex items-center gap-2 transition-colors",children:[D.jsxDEV(G4.Plus,{},void 0,!1,void 0,this),"New Document"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[D.jsxDEV("div",{className:"lg:col-span-1",children:[D.jsxDEV("div",{className:`${z0} rounded-lg border ${a} overflow-hidden`,children:[D.jsxDEV("div",{className:`p-4 border-b ${a}`,children:D.jsxDEV("h2",{className:`font-semibold ${e}`,children:["All Documents (",v.length,")"]},void 0,!0,void 0,this)},void 0,!1,void 0,this),D.jsxDEV("div",{className:"max-h-[600px] overflow-y-auto",children:s(X1())},void 0,!1,void 0,this)]},void 0,!0,void 0,this),v.length===0&&D.jsxDEV("div",{className:`${z0} rounded-lg border ${a} p-8 text-center`,children:[D.jsxDEV(G4.Document,{},void 0,!1,void 0,this),D.jsxDEV("p",{className:`mt-2 ${U0}`,children:"No documentation found"},void 0,!1,void 0,this),D.jsxDEV("p",{className:`text-sm ${U0} mt-1`,children:["Create a doc with: ",D.jsxDEV("code",{className:"font-mono",children:'knowns doc create "Title"'},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("div",{className:"lg:col-span-2",children:R?D.jsxDEV("div",{className:`${z0} rounded-lg border ${a} overflow-hidden`,children:[D.jsxDEV("div",{className:"p-6 border-b border-gray-700 flex items-start justify-between",children:[D.jsxDEV("div",{className:"flex-1",children:[D.jsxDEV("h2",{className:`text-2xl font-bold ${e} mb-2`,children:R.metadata.title},void 0,!1,void 0,this),R.metadata.description&&D.jsxDEV("p",{className:`${U0} mb-2`,children:R.metadata.description},void 0,!1,void 0,this),D.jsxDEV("button",{type:"button",onClick:C2,className:`flex items-center gap-2 px-2 py-1 rounded text-xs ${U0} ${u} transition-colors group`,title:"Click to copy URL",children:[D.jsxDEV(G4.Folder,{},void 0,!1,void 0,this),D.jsxDEV("span",{className:"font-mono",children:["/docs/",R.path]},void 0,!0,void 0,this),D.jsxDEV("span",{className:"opacity-0 group-hover:opacity-100 transition-opacity",children:M0?"✓":D.jsxDEV(G4.Copy,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("div",{className:`text-sm ${U0} mt-2`,children:["Last updated: ",new Date(R.metadata.updatedAt).toLocaleString()]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("div",{className:"flex gap-2 ml-4",children:!F?D.jsxDEV("button",{type:"button",onClick:x0,className:"px-3 py-2 bg-blue-600 text-white text-sm font-medium rounded-lg hover:bg-blue-700 flex items-center gap-2 transition-colors",children:[D.jsxDEV(G4.Edit,{},void 0,!1,void 0,this),"Edit"]},void 0,!0,void 0,this):D.jsxDEV(D.Fragment,{children:[D.jsxDEV("button",{type:"button",onClick:$2,disabled:_,className:"px-3 py-2 bg-green-600 text-white text-sm font-medium rounded-lg hover:bg-green-700 disabled:opacity-50 flex items-center gap-2 transition-colors",children:[D.jsxDEV(G4.Save,{},void 0,!1,void 0,this),_?"Saving...":"Save"]},void 0,!0,void 0,this),D.jsxDEV("button",{type:"button",onClick:S2,disabled:_,className:`px-3 py-2 ${N?"bg-gray-700 hover:bg-gray-600":"bg-gray-200 hover:bg-gray-300"} ${e} text-sm font-medium rounded-lg disabled:opacity-50 flex items-center gap-2 transition-colors`,children:[D.jsxDEV(G4.Cancel,{},void 0,!1,void 0,this),"Cancel"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("div",{className:"p-6",children:F?D.jsxDEV(l7,{markdown:E,onChange:I,placeholder:"Write your documentation here..."},void 0,!1,void 0,this):D.jsxDEV(u6,{ref:c,markdown:R.content||"",className:e,enableGFM:!0},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):D.jsxDEV("div",{className:`${z0} rounded-lg border ${a} p-12 text-center`,children:[D.jsxDEV(G4.Document,{},void 0,!1,void 0,this),D.jsxDEV("p",{className:`mt-4 ${U0}`,children:"Select a document to view its content"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),t&&D.jsxDEV("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4",children:D.jsxDEV("div",{className:`${z0} rounded-lg shadow-xl max-w-2xl w-full max-h-[90vh] overflow-y-auto`,children:[D.jsxDEV("div",{className:`p-6 border-b ${a}`,children:D.jsxDEV("h2",{className:`text-xl font-bold ${e}`,children:"Create New Document"},void 0,!1,void 0,this)},void 0,!1,void 0,this),D.jsxDEV("div",{className:"p-6 space-y-4",children:[D.jsxDEV("div",{children:[D.jsxDEV("label",{className:`block text-sm font-medium ${e} mb-2`,children:"Title *"},void 0,!1,void 0,this),D.jsxDEV("input",{type:"text",value:j,onChange:(Q0)=>Z0(Q0.target.value),placeholder:"Document title",className:`w-full px-3 py-2 rounded-lg border ${a} ${N?"bg-gray-700 text-gray-200":"bg-white text-gray-900"} focus:outline-none focus:ring-2 focus:ring-blue-500`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("div",{children:[D.jsxDEV("label",{className:`block text-sm font-medium ${e} mb-2`,children:"Description"},void 0,!1,void 0,this),D.jsxDEV("input",{type:"text",value:K0,onChange:(Q0)=>_0(Q0.target.value),placeholder:"Brief description",className:`w-full px-3 py-2 rounded-lg border ${a} ${N?"bg-gray-700 text-gray-200":"bg-white text-gray-900"} focus:outline-none focus:ring-2 focus:ring-blue-500`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("div",{children:[D.jsxDEV("label",{className:`block text-sm font-medium ${e} mb-2`,children:"Folder (optional)"},void 0,!1,void 0,this),D.jsxDEV("input",{type:"text",value:v0,onChange:(Q0)=>C0(Q0.target.value),placeholder:"api/auth, guides, etc. (leave empty for root)",className:`w-full px-3 py-2 rounded-lg border ${a} ${N?"bg-gray-700 text-gray-200":"bg-white text-gray-900"} focus:outline-none focus:ring-2 focus:ring-blue-500`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("div",{children:[D.jsxDEV("label",{className:`block text-sm font-medium ${e} mb-2`,children:"Tags (comma-separated)"},void 0,!1,void 0,this),D.jsxDEV("input",{type:"text",value:k,onChange:(Q0)=>Y0(Q0.target.value),placeholder:"guide, tutorial, api",className:`w-full px-3 py-2 rounded-lg border ${a} ${N?"bg-gray-700 text-gray-200":"bg-white text-gray-900"} focus:outline-none focus:ring-2 focus:ring-blue-500`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("div",{children:[D.jsxDEV("label",{className:`block text-sm font-medium ${e} mb-2`,children:"Content"},void 0,!1,void 0,this),D.jsxDEV(l7,{markdown:e0,onChange:p,placeholder:"Write your documentation here..."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("div",{className:`p-6 border-t ${a} flex justify-end gap-3`,children:[D.jsxDEV("button",{type:"button",onClick:()=>{B0(!1),Z0(""),_0(""),Y0(""),C0(""),p("")},disabled:D0,className:`px-4 py-2 ${N?"bg-gray-700 hover:bg-gray-600":"bg-gray-200 hover:bg-gray-300"} ${e} text-sm font-medium rounded-lg disabled:opacity-50 transition-colors`,children:"Cancel"},void 0,!1,void 0,this),D.jsxDEV("button",{type:"button",onClick:P0,disabled:D0||!j.trim(),className:"px-4 py-2 bg-green-600 text-white text-sm font-medium rounded-lg hover:bg-green-700 disabled:opacity-50 transition-colors",children:D0?"Creating...":"Create Document"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var U9=w0(w1(),1);var LL=w0(w1(),1);var B1=w0(W2(),1),BO={todo:{bg:"bg-gray-100",darkBg:"bg-gray-700",text:"text-gray-700",darkText:"text-gray-300",label:"To Do"},"in-progress":{bg:"bg-blue-100",darkBg:"bg-blue-900/50",text:"text-blue-700",darkText:"text-blue-300",label:"In Progress"},"in-review":{bg:"bg-purple-100",darkBg:"bg-purple-900/50",text:"text-purple-700",darkText:"text-purple-300",label:"In Review"},done:{bg:"bg-green-100",darkBg:"bg-green-900/50",text:"text-green-700",darkText:"text-green-300",label:"Done"},blocked:{bg:"bg-red-100",darkBg:"bg-red-900/50",text:"text-red-700",darkText:"text-red-300",label:"Blocked"}};function dG({task:N,onClick:v}){let{isDark:L}=w2(),g=(b)=>{b.dataTransfer.setData("taskId",N.id),b.dataTransfer.effectAllowed="move"},q=(b)=>{if(b.defaultPrevented)return;v?.()},R=N.acceptanceCriteria.filter((b)=>b.completed).length,K=N.acceptanceCriteria.length,F=BO[N.status];return B1.jsxDEV("button",{type:"button",className:`rounded-lg shadow hover:shadow-md transition-all p-3 cursor-pointer active:cursor-grabbing select-none w-full text-left ${L?"bg-gray-700 hover:bg-gray-650":"bg-white"}`,draggable:!0,onDragStart:g,onClick:q,"aria-label":`Task ${N.id}: ${N.title}`,children:[B1.jsxDEV("div",{className:"flex items-center justify-between gap-2 mb-1",children:[B1.jsxDEV("span",{className:`text-xs font-mono shrink-0 ${L?"text-gray-500":"text-gray-400"}`,children:["#",N.id]},void 0,!0,void 0,this),B1.jsxDEV("div",{className:"flex items-center gap-1 flex-wrap justify-end",children:[B1.jsxDEV("span",{className:`text-xs px-1.5 py-0.5 rounded font-medium ${L?`${F.darkBg} ${F.darkText}`:`${F.bg} ${F.text}`}`,children:F.label},void 0,!1,void 0,this),N.priority==="high"&&B1.jsxDEV("span",{className:`text-xs px-1.5 py-0.5 rounded font-medium ${L?"bg-red-900/50 text-red-300":"bg-red-100 text-red-700"}`,children:"HIGH"},void 0,!1,void 0,this),N.priority==="medium"&&B1.jsxDEV("span",{className:`text-xs px-1.5 py-0.5 rounded font-medium ${L?"bg-yellow-900/50 text-yellow-300":"bg-yellow-100 text-yellow-700"}`,children:"MED"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),B1.jsxDEV("h3",{className:`font-medium text-sm mb-2 line-clamp-2 ${L?"text-gray-100":"text-gray-900"}`,children:N.title},void 0,!1,void 0,this),K>0&&B1.jsxDEV("div",{className:`flex items-center gap-2 text-xs mb-2 ${L?"text-gray-400":"text-gray-500"}`,children:[B1.jsxDEV("svg",{className:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:B1.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"},void 0,!1,void 0,this)},void 0,!1,void 0,this),B1.jsxDEV("span",{children:[R,"/",K]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),N.labels.length>0&&B1.jsxDEV("div",{className:"flex flex-wrap gap-1 mb-2",children:N.labels.map((b)=>B1.jsxDEV("span",{className:`text-xs px-1.5 py-0.5 rounded ${L?"bg-blue-900/50 text-blue-300":"bg-blue-100 text-blue-700"}`,children:b},b,!1,void 0,this))},void 0,!1,void 0,this),N.assignee&&B1.jsxDEV("div",{className:`flex items-center gap-1 text-xs mt-2 ${L?"text-gray-400":"text-gray-600"}`,children:[B1.jsxDEV("svg",{className:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:B1.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"},void 0,!1,void 0,this)},void 0,!1,void 0,this),B1.jsxDEV("span",{children:N.assignee},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var x5=w0(W2(),1),XO={todo:"To Do","in-progress":"In Progress","in-review":"In Review",done:"Done",blocked:"Blocked"},YO={todo:"bg-gray-50 border-gray-200","in-progress":"bg-blue-50 border-blue-200","in-review":"bg-purple-50 border-purple-200",done:"bg-green-50 border-green-200",blocked:"bg-red-50 border-red-200"},ZO={todo:"bg-gray-800 border-gray-700","in-progress":"bg-blue-900/30 border-blue-800","in-review":"bg-purple-900/30 border-purple-800",done:"bg-green-900/30 border-green-800",blocked:"bg-red-900/30 border-red-800"};function pG({status:N,tasks:v,onDrop:L,onTaskClick:g}){let{isDark:q}=w2(),[R,K]=LL.useState(!1),F=(_)=>{_.preventDefault(),_.dataTransfer.dropEffect="move",K(!0)},b=()=>{K(!1)},E=(_)=>{_.preventDefault(),K(!1);let T=_.dataTransfer.getData("taskId");if(T)L(T,N)};return x5.jsxDEV("div",{className:`rounded-lg border-2 p-3 min-w-[280px] max-w-[320px] flex-shrink-0 transition-colors ${(q?ZO:YO)[N]} ${R?"ring-2 ring-blue-400 border-blue-400":""}`,onDragOver:F,onDragLeave:b,onDrop:E,children:[x5.jsxDEV("div",{className:"flex items-center justify-between mb-3",children:[x5.jsxDEV("h2",{className:`font-bold text-sm uppercase tracking-wide ${q?"text-gray-300":"text-gray-700"}`,children:XO[N]},void 0,!1,void 0,this),x5.jsxDEV("span",{className:`text-xs rounded-full px-2 py-1 font-medium ${q?"text-gray-400 bg-gray-700":"text-gray-500 bg-white"}`,children:v.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this),x5.jsxDEV("div",{className:"space-y-2 max-h-[calc(100vh-200px)] overflow-y-auto",children:v.length===0?x5.jsxDEV("div",{className:`text-center py-8 text-sm ${q?"text-gray-500":"text-gray-400"}`,children:"No tasks"},void 0,!1,void 0,this):v.map((_)=>x5.jsxDEV(dG,{task:_,onClick:()=>g(_)},_.id,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var g2=w0(w1(),1);var R1=w0(w1(),1);var R0=w0(W2(),1);function cG({task:N,onUpdate:v}){let{isDark:L}=w2(),[g,q]=R1.useState(!1),[R,K]=R1.useState(!1),[F,b]=R1.useState(0),[E,I]=R1.useState(null),[_,T]=R1.useState(!1),[t,B0]=R1.useState(""),[j,Z0]=R1.useState(""),[K0,_0]=R1.useState(""),[k,Y0]=R1.useState(!1),v0=L?"bg-gray-700":"bg-gray-50",C0=L?"text-gray-100":"text-gray-900",e0=L?"text-gray-300":"text-gray-700",p=L?"text-gray-400":"text-gray-500",D0=L?"border-gray-600":"border-gray-300",i=L?"bg-gray-600 border-gray-500 text-gray-100":"bg-white border-gray-300 text-gray-900";R1.useEffect(()=>{let a=N.timeEntries.find((u)=>!u.endedAt);if(a)q(!0),I(a.startedAt),b(Date.now()-a.startedAt.getTime());else q(!1),I(null),b(0)},[N.timeEntries]),R1.useEffect(()=>{let a;if(g&&!R&&E)a=window.setInterval(()=>{b(Date.now()-E.getTime())},1000);return()=>{if(a)clearInterval(a)}},[g,R,E]);let B2=async()=>{Y0(!0);try{let a={id:crypto.randomUUID(),startedAt:new Date,duration:0},u=await f6(N.id,{timeEntries:[...N.timeEntries,a]});v(u)}catch(a){console.error("Failed to start timer:",a)}finally{Y0(!1)}},S0=async()=>{let a=N.timeEntries.find((u)=>!u.endedAt);if(!a)return;Y0(!0);try{let u=new Date,G0=u.getTime()-a.startedAt.getTime(),F0=N.timeEntries.map((C2)=>C2.id===a.id?{...C2,endedAt:u,duration:G0}:C2),P0=F0.reduce((C2,$2)=>C2+$2.duration,0),x0=await f6(N.id,{timeEntries:F0,timeSpent:P0});v(x0),K(!1)}catch(u){console.error("Failed to stop timer:",u)}finally{Y0(!1)}},M0=()=>{K(!0)},G2=()=>{K(!1)},c=async(a)=>{a.preventDefault();let u=Number.parseInt(t,10)||0,G0=Number.parseInt(j,10)||0,F0=(u*60+G0)*60*1000;if(F0<=0)return;Y0(!0);try{let P0=new Date,x0=new Date(P0.getTime()-F0),C2={id:crypto.randomUUID(),startedAt:x0,endedAt:P0,duration:F0,note:K0.trim()||void 0},$2=[...N.timeEntries,C2],S2=$2.reduce((X1,l1)=>X1+l1.duration,0),V2=await f6(N.id,{timeEntries:$2,timeSpent:S2});v(V2),B0(""),Z0(""),_0(""),T(!1)}catch(P0){console.error("Failed to add manual time:",P0)}finally{Y0(!1)}},z0=R1.useCallback((a)=>{let u=Math.floor(a/1000),G0=Math.floor(u/3600),F0=Math.floor(u%3600/60),P0=u%60;return`${G0.toString().padStart(2,"0")}:${F0.toString().padStart(2,"0")}:${P0.toString().padStart(2,"0")}`},[]),e=R1.useCallback((a)=>{let u=Math.floor(a/3600000),G0=Math.floor(a%3600000/60000);if(u>0)return`${u}h ${G0}m`;return`${G0}m`},[]),U0=N.timeEntries.filter((a)=>a.endedAt);return R0.jsxDEV("div",{className:"space-y-4",children:[R0.jsxDEV("div",{className:`flex items-center justify-between ${v0} rounded-lg p-4`,children:R0.jsxDEV("div",{className:"text-center flex-1",children:[R0.jsxDEV("div",{className:`text-3xl font-mono font-bold ${C0}`,children:z0(F)},void 0,!1,void 0,this),R0.jsxDEV("div",{className:`text-xs ${p} mt-1`,children:g?R?"Paused":"Running":"Ready"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),R0.jsxDEV("div",{className:"flex justify-center gap-2",children:[!g?R0.jsxDEV("button",{type:"button",onClick:B2,disabled:k,className:"px-4 py-2 bg-green-600 text-white rounded hover:bg-green-700 disabled:opacity-50 flex items-center gap-2",children:[R0.jsxDEV("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:[R0.jsxDEV("title",{children:"Start"},void 0,!1,void 0,this),R0.jsxDEV("path",{d:"M8 5v14l11-7z"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),"Start"]},void 0,!0,void 0,this):R0.jsxDEV(R0.Fragment,{children:[R?R0.jsxDEV("button",{type:"button",onClick:G2,disabled:k,className:"px-4 py-2 bg-green-600 text-white rounded hover:bg-green-700 disabled:opacity-50 flex items-center gap-2",children:[R0.jsxDEV("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:[R0.jsxDEV("title",{children:"Resume"},void 0,!1,void 0,this),R0.jsxDEV("path",{d:"M8 5v14l11-7z"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),"Resume"]},void 0,!0,void 0,this):R0.jsxDEV("button",{type:"button",onClick:M0,disabled:k,className:"px-4 py-2 bg-yellow-600 text-white rounded hover:bg-yellow-700 disabled:opacity-50 flex items-center gap-2",children:[R0.jsxDEV("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:[R0.jsxDEV("title",{children:"Pause"},void 0,!1,void 0,this),R0.jsxDEV("path",{d:"M6 4h4v16H6V4zm8 0h4v16h-4V4z"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),"Pause"]},void 0,!0,void 0,this),R0.jsxDEV("button",{type:"button",onClick:S0,disabled:k,className:"px-4 py-2 bg-red-600 text-white rounded hover:bg-red-700 disabled:opacity-50 flex items-center gap-2",children:[R0.jsxDEV("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:[R0.jsxDEV("title",{children:"Stop"},void 0,!1,void 0,this),R0.jsxDEV("path",{d:"M6 6h12v12H6V6z"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),"Stop"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),R0.jsxDEV("button",{type:"button",onClick:()=>T(!_),className:`px-4 py-2 border ${D0} rounded ${L?"hover:bg-gray-600 text-gray-300":"hover:bg-gray-50 text-gray-700"} text-sm`,disabled:k,children:"+ Manual Entry"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),_&&R0.jsxDEV("form",{onSubmit:c,className:`${v0} rounded-lg p-4 space-y-3`,children:[R0.jsxDEV("div",{className:"flex gap-4",children:[R0.jsxDEV("div",{children:[R0.jsxDEV("label",{htmlFor:"manual-hours",className:`block text-xs ${p} mb-1`,children:"Hours"},void 0,!1,void 0,this),R0.jsxDEV("input",{id:"manual-hours",type:"number",min:"0",value:t,onChange:(a)=>B0(a.target.value),className:`w-20 border rounded px-2 py-1 text-sm ${i}`,placeholder:"0",disabled:k},void 0,!1,void 0,this)]},void 0,!0,void 0,this),R0.jsxDEV("div",{children:[R0.jsxDEV("label",{htmlFor:"manual-minutes",className:`block text-xs ${p} mb-1`,children:"Minutes"},void 0,!1,void 0,this),R0.jsxDEV("input",{id:"manual-minutes",type:"number",min:"0",max:"59",value:j,onChange:(a)=>Z0(a.target.value),className:`w-20 border rounded px-2 py-1 text-sm ${i}`,placeholder:"0",disabled:k},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),R0.jsxDEV("div",{children:[R0.jsxDEV("label",{htmlFor:"manual-note",className:`block text-xs ${p} mb-1`,children:"Note (optional)"},void 0,!1,void 0,this),R0.jsxDEV("input",{id:"manual-note",type:"text",value:K0,onChange:(a)=>_0(a.target.value),className:`w-full border rounded px-2 py-1 text-sm ${i}`,placeholder:"What did you work on?",disabled:k},void 0,!1,void 0,this)]},void 0,!0,void 0,this),R0.jsxDEV("div",{className:"flex gap-2",children:[R0.jsxDEV("button",{type:"submit",className:"px-3 py-1 bg-blue-600 text-white rounded text-sm hover:bg-blue-700 disabled:opacity-50",disabled:k,children:"Add Time"},void 0,!1,void 0,this),R0.jsxDEV("button",{type:"button",onClick:()=>T(!1),className:`px-3 py-1 border ${D0} rounded text-sm ${L?"hover:bg-gray-600 text-gray-300":"hover:bg-gray-100 text-gray-700"}`,disabled:k,children:"Cancel"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),R0.jsxDEV("div",{className:`flex justify-between items-center py-2 border-t ${D0}`,children:[R0.jsxDEV("span",{className:`text-sm font-medium ${e0}`,children:"Total Time Spent"},void 0,!1,void 0,this),R0.jsxDEV("span",{className:`text-lg font-bold ${C0}`,children:e(N.timeSpent)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),U0.length>0&&R0.jsxDEV("div",{children:[R0.jsxDEV("h4",{className:`text-sm font-medium ${e0} mb-2`,children:"Time Log"},void 0,!1,void 0,this),R0.jsxDEV("div",{className:"space-y-1 max-h-40 overflow-y-auto",children:U0.slice().reverse().map((a)=>R0.jsxDEV("div",{className:"flex justify-between items-center text-sm py-1",children:[R0.jsxDEV("div",{className:"flex-1",children:[R0.jsxDEV("span",{className:p,children:[a.startedAt.toLocaleDateString()," ",a.startedAt.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})]},void 0,!0,void 0,this),a.note&&R0.jsxDEV("span",{className:`${L?"text-gray-500":"text-gray-400"} ml-2`,children:["- ",a.note]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),R0.jsxDEV("span",{className:`font-medium ${C0}`,children:e(a.duration)},void 0,!1,void 0,this)]},a.id,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var m=w0(W2(),1),qL=[{value:"todo",label:"To Do",lightColor:"bg-gray-100 text-gray-700",darkColor:"bg-gray-700 text-gray-300"},{value:"in-progress",label:"In Progress",lightColor:"bg-blue-100 text-blue-700",darkColor:"bg-blue-900/50 text-blue-300"},{value:"in-review",label:"In Review",lightColor:"bg-purple-100 text-purple-700",darkColor:"bg-purple-900/50 text-purple-300"},{value:"done",label:"Done",lightColor:"bg-green-100 text-green-700",darkColor:"bg-green-900/50 text-green-300"},{value:"blocked",label:"Blocked",lightColor:"bg-red-100 text-red-700",darkColor:"bg-red-900/50 text-red-300"}],gL=[{value:"low",label:"Low",lightColor:"bg-gray-100 text-gray-600",darkColor:"bg-gray-700 text-gray-300"},{value:"medium",label:"Medium",lightColor:"bg-yellow-100 text-yellow-700",darkColor:"bg-yellow-900/50 text-yellow-300"},{value:"high",label:"High",lightColor:"bg-red-100 text-red-700",darkColor:"bg-red-900/50 text-red-300"}],D1={Close:()=>m.jsxDEV("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Description:()=>m.jsxDEV("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h7"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Checklist:()=>m.jsxDEV("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"},void 0,!1,void 0,this)},void 0,!1,void 0,this),User:()=>m.jsxDEV("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Clock:()=>m.jsxDEV("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Document:()=>m.jsxDEV("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Note:()=>m.jsxDEV("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Plus:()=>m.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v16m8-8H4"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Trash:()=>m.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Archive:()=>m.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 8h14M5 8a2 2 0 110-4h14a2 2 0 110 4M5 8v10a2 2 0 002 2h10a2 2 0 002-2V8m-9 4h4"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Parent:()=>m.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 10l7-7m0 0l7 7m-7-7v18"},void 0,!1,void 0,this)},void 0,!1,void 0,this)};function K9({task:N,allTasks:v,onClose:L,onUpdate:g,onDelete:q,onNavigateToTask:R}){let{isDark:K}=w2(),F=g2.useRef(null),b=g2.useRef(null),[E,I]=g2.useState(!1),[_,T]=g2.useState(""),[t,B0]=g2.useState(!1),[j,Z0]=g2.useState(""),[K0,_0]=g2.useState(!1),[k,Y0]=g2.useState(""),[v0,C0]=g2.useState(!1),[e0,p]=g2.useState(""),[D0,i]=g2.useState(!1),[B2,S0]=g2.useState(""),[M0,G2]=g2.useState(!1),[c,z0]=g2.useState(null),[e,U0]=g2.useState(""),[a,u]=g2.useState(""),[G0,F0]=g2.useState(!1),[P0,x0]=g2.useState(!1),[C2,$2]=g2.useState(""),S2=g2.useRef(null),V2=g2.useRef(null);g2.useEffect(()=>{if(N)T(N.title),Z0(N.description||""),Y0(N.implementationPlan||""),p(N.implementationNotes||""),$2(N.assignee||""),F.current?.showModal();else F.current?.close(),I(!1),B0(!1),_0(!1),C0(!1),G2(!1),z0(null),F0(!1),x0(!1)},[N]),g2.useEffect(()=>{let y=(N0)=>{let I0=N0.target;while(I0&&I0.tagName!=="A"&&I0!==b.current)I0=I0.parentElement;if(I0&&I0.tagName==="A"){let Y2=I0.getAttribute("href");if(Y2&&/^task-\d+(.md)?$/.test(Y2)){N0.preventDefault();let F2=Y2.replace(".md",""),A4=v.find((k5)=>`task-${k5.id}`===F2);if(A4&&R)R(A4.id);return}if(Y2&&(Y2.endsWith(".md")||Y2.includes(".md#"))){N0.preventDefault();let F2=Y2.replace(/^\.\//,"").replace(/^\//,"");window.location.hash=`/docs/${F2}`,L()}}},n=b.current;if(n)return n.addEventListener("click",y),()=>n.removeEventListener("click",y)},[v,R,L]),g2.useEffect(()=>{if(E&&S2.current)S2.current.focus()},[E]),g2.useEffect(()=>{if(M0&&V2.current)V2.current.focus()},[M0]);let X1=(y)=>{if(b.current&&!b.current.contains(y.target))L()},l1=g2.useCallback((y)=>{if(y.key==="Escape"&&!E&&!t&&!K0&&!v0&&!M0&&!G0)L()},[L,E,t,K0,v0,M0,G0]),s=async(y)=>{if(!N)return;i(!0);try{let n=await f6(N.id,y);g(n)}catch(n){console.error("Failed to update task:",n)}finally{i(!1)}},Q0=()=>{if(_.trim()&&_!==N?.title)s({title:_.trim()});I(!1)},r0=()=>{if(j!==N?.description)s({description:j||void 0});B0(!1)},a0=()=>{if(k!==N?.implementationPlan)s({implementationPlan:k||void 0});_0(!1)},u0=()=>{if(e0!==N?.implementationNotes)s({implementationNotes:e0||void 0});C0(!1)},m0=(y)=>s({status:y}),J2=(y)=>s({priority:y}),L0=()=>{let y=C2.trim();if(y!==N?.assignee)s({assignee:y||void 0});x0(!1)},X2=(y)=>{if(!N)return;let n=N.acceptanceCriteria.map((N0,I0)=>I0===y?{...N0,completed:!N0.completed}:N0);s({acceptanceCriteria:n})},T0=()=>{if(!N||!B2.trim())return;s({acceptanceCriteria:[...N.acceptanceCriteria,{text:B2.trim(),completed:!1}]}),S0(""),G2(!1)},y1=(y)=>{if(!N)return;s({acceptanceCriteria:N.acceptanceCriteria.filter((n,N0)=>N0!==y)})},g1=(y)=>{if(!N)return;let n=N.acceptanceCriteria[y];if(!n)return;z0(y),U0(n.text)},n2=()=>{if(!N||c===null)return;let y=N.acceptanceCriteria[c];if(!y)return;if(e.trim()&&e!==y.text)s({acceptanceCriteria:N.acceptanceCriteria.map((n,N0)=>N0===c?{...n,text:e.trim()}:n)});z0(null),U0("")},W0=()=>{if(!N||!a.trim())return;if(!N.labels.includes(a.trim()))s({labels:[...N.labels,a.trim()]});u(""),F0(!1)},S1=(y)=>{if(!N)return;s({labels:N.labels.filter((n)=>n!==y)})};if(!N)return null;let F4=N.acceptanceCriteria.filter((y)=>y.completed).length,z4=N.acceptanceCriteria.length,W4=z4>0?F4/z4*100:0,h5=qL.find((y)=>y.value===N.status),V4=gL.find((y)=>y.value===N.priority),q7=K?"bg-gray-800":"bg-gray-100",Y1=K?"bg-gray-700":"bg-white",c7=K?"bg-gray-750":"bg-gray-50",C3=K?"text-gray-100":"text-gray-900",h2=K?"text-gray-300":"text-gray-700",H=K?"text-gray-400":"text-gray-500",C=K?"border-gray-600":"border-gray-200",l=K?"bg-gray-600 border-gray-500 text-gray-100":"bg-white border-gray-300 text-gray-900",o=K?"hover:bg-gray-600":"hover:bg-gray-50";return m.jsxDEV("dialog",{ref:F,className:"fixed inset-0 bg-transparent p-0 m-0 max-w-none w-full h-full backdrop:bg-black backdrop:bg-opacity-60",onKeyDown:l1,"aria-labelledby":"modal-title",children:m.jsxDEV("div",{className:"flex justify-center pt-12 pb-8 px-4 min-h-full",onClick:X1,children:m.jsxDEV("div",{ref:b,className:`${q7} rounded-xl shadow-2xl w-full max-w-4xl max-h-[calc(100vh-80px)] overflow-hidden flex flex-col`,onClick:(y)=>y.stopPropagation(),children:[m.jsxDEV("div",{className:"bg-gradient-to-r from-blue-500 to-blue-600 px-6 py-4 flex items-start justify-between",children:[m.jsxDEV("div",{className:"flex-1 min-w-0",children:[m.jsxDEV("span",{className:"text-blue-100 text-sm font-mono",children:["#",N.id]},void 0,!0,void 0,this),E?m.jsxDEV("input",{ref:S2,type:"text",value:_,onChange:(y)=>T(y.target.value),onBlur:Q0,onKeyDown:(y)=>{if(y.key==="Enter")Q0();if(y.key==="Escape")T(N.title),I(!1)},className:"w-full text-xl font-bold bg-white/20 text-white placeholder-white/60 border-0 rounded px-2 py-1 mt-1 focus:outline-none focus:ring-2 focus:ring-white/50"},void 0,!1,void 0,this):m.jsxDEV("h2",{id:"modal-title",className:"text-xl font-bold text-white mt-1 cursor-pointer hover:bg-white/10 rounded px-2 py-1 -mx-2 truncate",onClick:()=>I(!0),onKeyDown:(y)=>y.key==="Enter"&&I(!0),children:N.title},void 0,!1,void 0,this)]},void 0,!0,void 0,this),m.jsxDEV("button",{type:"button",onClick:L,className:"text-white/80 hover:text-white hover:bg-white/20 rounded-full p-2 ml-4 transition-colors","aria-label":"Close modal",children:m.jsxDEV(D1.Close,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),m.jsxDEV("div",{className:"flex-1 overflow-y-auto",children:m.jsxDEV("div",{className:"flex flex-col md:flex-row",children:[m.jsxDEV("div",{className:"flex-1 p-6 space-y-6",children:[m.jsxDEV("section",{children:[m.jsxDEV("div",{className:`flex items-center gap-2 mb-3 ${h2}`,children:[m.jsxDEV(D1.Description,{},void 0,!1,void 0,this),m.jsxDEV("h3",{className:"font-semibold",children:"Description"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),t?m.jsxDEV("div",{children:[m.jsxDEV(l7,{markdown:j,onChange:Z0,placeholder:"Add a more detailed description...",readOnly:D0,sectionType:"description"},void 0,!1,void 0,this),m.jsxDEV("div",{className:"flex gap-2 mt-2",children:[m.jsxDEV("button",{type:"button",onClick:r0,className:"px-4 py-1.5 bg-blue-600 text-white text-sm rounded hover:bg-blue-700",disabled:D0,children:"Save"},void 0,!1,void 0,this),m.jsxDEV("button",{type:"button",onClick:()=>{Z0(N.description||""),B0(!1)},className:`px-4 py-1.5 ${H} text-sm ${o} rounded`,children:"Cancel"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):m.jsxDEV("div",{className:`${Y1} rounded-lg px-3 py-2 min-h-20 cursor-pointer ${o} transition-colors border ${C}`,onClick:()=>B0(!0),tabIndex:0,role:"button",children:N.description?m.jsxDEV(u6,{markdown:N.description,className:`text-sm ${h2}`,sectionType:"description"},void 0,!1,void 0,this):m.jsxDEV("span",{className:`${H} italic text-sm`,children:"Add description..."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),m.jsxDEV("section",{children:[m.jsxDEV("div",{className:`flex items-center gap-2 mb-3 ${h2}`,children:[m.jsxDEV(D1.Checklist,{},void 0,!1,void 0,this),m.jsxDEV("h3",{className:"font-semibold",children:"Acceptance Criteria"},void 0,!1,void 0,this),z4>0&&m.jsxDEV("span",{className:`text-sm ${H}`,children:["(",F4,"/",z4,")"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),z4>0&&m.jsxDEV("div",{className:"mb-3 flex items-center gap-2",children:[m.jsxDEV("span",{className:`text-xs ${H} w-8`,children:[Math.round(W4),"%"]},void 0,!0,void 0,this),m.jsxDEV("div",{className:`flex-1 h-2 ${K?"bg-gray-600":"bg-gray-200"} rounded-full overflow-hidden`,children:m.jsxDEV("div",{className:`h-full transition-all ${W4===100?"bg-green-500":"bg-blue-500"}`,style:{width:`${W4}%`}},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),m.jsxDEV("div",{className:"space-y-2",children:N.acceptanceCriteria.map((y,n)=>m.jsxDEV("div",{className:`flex items-start gap-2 ${Y1} rounded-lg px-3 py-2 group ${o}`,children:[m.jsxDEV("input",{type:"checkbox",checked:y.completed,onChange:()=>X2(n),className:"mt-1 w-4 h-4 rounded cursor-pointer accent-blue-600",disabled:D0},void 0,!1,void 0,this),c===n?m.jsxDEV("input",{type:"text",value:e,onChange:(N0)=>U0(N0.target.value),onBlur:n2,onKeyDown:(N0)=>{if(N0.key==="Enter")n2();if(N0.key==="Escape")z0(null),U0("")},className:`flex-1 ${l} rounded px-2 py-0.5 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500`},void 0,!1,void 0,this):m.jsxDEV("span",{className:`flex-1 text-sm cursor-pointer ${y.completed?`${H} line-through`:h2}`,onClick:()=>g1(n),tabIndex:0,role:"button",children:y.text},void 0,!1,void 0,this),m.jsxDEV("button",{type:"button",onClick:()=>y1(n),className:`opacity-0 group-hover:opacity-100 ${H} hover:text-red-500 p-1 transition-all`,children:m.jsxDEV(D1.Trash,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},`ac-${n}`,!0,void 0,this))},void 0,!1,void 0,this),M0?m.jsxDEV("div",{className:`mt-2 ${Y1} rounded-lg px-3 py-2`,children:[m.jsxDEV("input",{ref:V2,type:"text",value:B2,onChange:(y)=>S0(y.target.value),onKeyDown:(y)=>{if(y.key==="Enter"&&B2.trim())T0();if(y.key==="Escape")S0(""),G2(!1)},placeholder:"Add an item...",className:`w-full ${l} rounded px-2 py-1.5 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500`},void 0,!1,void 0,this),m.jsxDEV("div",{className:"flex gap-2 mt-2",children:[m.jsxDEV("button",{type:"button",onClick:T0,className:"px-3 py-1 bg-blue-600 text-white text-sm rounded hover:bg-blue-700",disabled:!B2.trim(),children:"Add"},void 0,!1,void 0,this),m.jsxDEV("button",{type:"button",onClick:()=>{S0(""),G2(!1)},className:`px-3 py-1 ${H} text-sm ${o} rounded`,children:"Cancel"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):m.jsxDEV("button",{type:"button",onClick:()=>G2(!0),className:`mt-2 flex items-center gap-1 text-sm ${H} ${o} px-3 py-2 rounded-lg w-full`,children:[m.jsxDEV(D1.Plus,{},void 0,!1,void 0,this),m.jsxDEV("span",{children:"Add an item"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),m.jsxDEV("section",{children:[m.jsxDEV("div",{className:`flex items-center gap-2 mb-3 ${h2}`,children:[m.jsxDEV(D1.Document,{},void 0,!1,void 0,this),m.jsxDEV("h3",{className:"font-semibold",children:"Implementation Plan"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),K0?m.jsxDEV("div",{children:[m.jsxDEV(l7,{markdown:k,onChange:Y0,placeholder:`1. First step
429
+ 2. Second step
430
+ 3. Third step...`,readOnly:D0,sectionType:"plan"},void 0,!1,void 0,this),m.jsxDEV("div",{className:"flex gap-2 mt-2",children:[m.jsxDEV("button",{type:"button",onClick:a0,className:"px-4 py-1.5 bg-blue-600 text-white text-sm rounded hover:bg-blue-700",disabled:D0,children:"Save"},void 0,!1,void 0,this),m.jsxDEV("button",{type:"button",onClick:()=>{Y0(N.implementationPlan||""),_0(!1)},className:`px-4 py-1.5 ${H} text-sm ${o} rounded`,children:"Cancel"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):m.jsxDEV("div",{className:`${Y1} rounded-lg px-3 py-2 min-h-16 cursor-pointer ${o} border ${C}`,onClick:()=>_0(!0),tabIndex:0,role:"button",children:N.implementationPlan?m.jsxDEV(u6,{markdown:N.implementationPlan,className:`text-sm ${h2}`,sectionType:"plan"},void 0,!1,void 0,this):m.jsxDEV("span",{className:`${H} italic text-sm`,children:"Add implementation plan..."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),m.jsxDEV("section",{children:[m.jsxDEV("div",{className:`flex items-center gap-2 mb-3 ${h2}`,children:[m.jsxDEV(D1.Note,{},void 0,!1,void 0,this),m.jsxDEV("h3",{className:"font-semibold",children:"Implementation Notes"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),v0?m.jsxDEV("div",{children:[m.jsxDEV(l7,{markdown:e0,onChange:p,placeholder:"Add implementation notes...",readOnly:D0,sectionType:"notes"},void 0,!1,void 0,this),m.jsxDEV("div",{className:"flex gap-2 mt-2",children:[m.jsxDEV("button",{type:"button",onClick:u0,className:"px-4 py-1.5 bg-blue-600 text-white text-sm rounded hover:bg-blue-700",disabled:D0,children:"Save"},void 0,!1,void 0,this),m.jsxDEV("button",{type:"button",onClick:()=>{p(N.implementationNotes||""),C0(!1)},className:`px-4 py-1.5 ${H} text-sm ${o} rounded`,children:"Cancel"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):m.jsxDEV("div",{className:`${Y1} rounded-lg px-3 py-2 min-h-16 cursor-pointer ${o} border ${C}`,onClick:()=>C0(!0),tabIndex:0,role:"button",children:N.implementationNotes?m.jsxDEV(u6,{markdown:N.implementationNotes,className:`text-sm ${h2}`,sectionType:"notes"},void 0,!1,void 0,this):m.jsxDEV("span",{className:`${H} italic text-sm`,children:"Add notes..."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),(()=>{let y=/\[([^\]]+)\]\(([^)]+)\)/g,n=[],N0=[N.description||"",N.implementationPlan||"",N.implementationNotes||""].join(`
431
+ `),I0;while((I0=y.exec(N0))!==null){let Y2=I0[2];if(Y2.startsWith("http://")||Y2.startsWith("https://"))continue;if(Y2.startsWith("../"))continue;let F2=Y2;if(F2=F2.replace(/^\.\//,""),!F2.endsWith(".md"))F2=`${F2}.md`;n.push({text:I0[1],filename:F2})}if(n.length===0)return null;let H0=Array.from(new Map(n.map((Y2)=>[Y2.filename,Y2])).values());return m.jsxDEV("section",{children:[m.jsxDEV("div",{className:`flex items-center gap-2 mb-3 ${h2}`,children:[m.jsxDEV(D1.Document,{},void 0,!1,void 0,this),m.jsxDEV("h3",{className:"font-semibold",children:"Related Documentation"},void 0,!1,void 0,this),m.jsxDEV("span",{className:`text-sm ${H}`,children:["(",H0.length,")"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),m.jsxDEV("div",{className:"space-y-2",children:H0.map((Y2,F2)=>m.jsxDEV("div",{className:`${Y1} rounded-lg px-3 py-2 flex items-center gap-2 ${C} border`,children:[m.jsxDEV("span",{className:"text-blue-500",children:"\uD83D\uDCC4"},void 0,!1,void 0,this),m.jsxDEV("div",{className:"flex-1 min-w-0",children:[m.jsxDEV("p",{className:`text-sm font-medium ${h2} truncate`,children:Y2.text},void 0,!1,void 0,this),m.jsxDEV("p",{className:`text-xs ${H} font-mono truncate`,children:["@.knowns/docs/",Y2.filename]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},F2,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)})(),m.jsxDEV("section",{children:[m.jsxDEV("div",{className:`flex items-center gap-2 mb-3 ${h2}`,children:[m.jsxDEV(D1.Clock,{},void 0,!1,void 0,this),m.jsxDEV("h3",{className:"font-semibold",children:"Time Tracking"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),m.jsxDEV("div",{className:`${Y1} rounded-lg p-3`,children:m.jsxDEV(cG,{task:N,onUpdate:g},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),m.jsxDEV("div",{className:`w-full md:w-64 ${K?"bg-gray-750":"bg-gray-50"} p-4 border-t md:border-t-0 md:border-l ${C} space-y-4`,children:[m.jsxDEV("div",{children:[m.jsxDEV("label",{className:`block text-xs font-semibold ${H} uppercase tracking-wide mb-2`,children:"Status"},void 0,!1,void 0,this),m.jsxDEV("select",{value:N.status,onChange:(y)=>m0(y.target.value),className:`w-full rounded-lg px-3 py-2 text-sm font-medium border-0 cursor-pointer focus:outline-none focus:ring-2 focus:ring-blue-500 ${K?h5?.darkColor:h5?.lightColor}`,disabled:D0,children:qL.map((y)=>m.jsxDEV("option",{value:y.value,children:y.label},y.value,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this),m.jsxDEV("div",{children:[m.jsxDEV("label",{className:`block text-xs font-semibold ${H} uppercase tracking-wide mb-2`,children:"Priority"},void 0,!1,void 0,this),m.jsxDEV("select",{value:N.priority,onChange:(y)=>J2(y.target.value),className:`w-full rounded-lg px-3 py-2 text-sm font-medium border-0 cursor-pointer focus:outline-none focus:ring-2 focus:ring-blue-500 ${K?V4?.darkColor:V4?.lightColor}`,disabled:D0,children:gL.map((y)=>m.jsxDEV("option",{value:y.value,children:y.label},y.value,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this),m.jsxDEV("div",{children:[m.jsxDEV("label",{className:`block text-xs font-semibold ${H} uppercase tracking-wide mb-2`,children:"Assignee"},void 0,!1,void 0,this),P0?m.jsxDEV("input",{type:"text",value:C2,onChange:(y)=>$2(y.target.value),onBlur:L0,onKeyDown:(y)=>{if(y.key==="Enter")L0();if(y.key==="Escape")$2(N.assignee||""),x0(!1)},placeholder:"@username",className:`w-full ${l} rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500`},void 0,!1,void 0,this):m.jsxDEV("button",{type:"button",onClick:()=>x0(!0),className:`w-full flex items-center gap-2 ${Y1} rounded-lg px-3 py-2 text-sm text-left ${o} border ${C}`,children:[m.jsxDEV(D1.User,{},void 0,!1,void 0,this),m.jsxDEV("span",{className:N.assignee?h2:H,children:N.assignee||"Unassigned"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),m.jsxDEV("div",{children:[m.jsxDEV("label",{className:`block text-xs font-semibold ${H} uppercase tracking-wide mb-2`,children:"Labels"},void 0,!1,void 0,this),m.jsxDEV("div",{className:"flex flex-wrap gap-1 mb-2",children:N.labels.map((y)=>m.jsxDEV("span",{className:`inline-flex items-center gap-1 text-xs ${K?"bg-blue-900/50 text-blue-300":"bg-blue-100 text-blue-700"} px-2 py-1 rounded-full group`,children:[y,m.jsxDEV("button",{type:"button",onClick:()=>S1(y),className:"opacity-0 group-hover:opacity-100 hover:text-red-500",children:"×"},void 0,!1,void 0,this)]},y,!0,void 0,this))},void 0,!1,void 0,this),G0?m.jsxDEV("div",{children:[m.jsxDEV("input",{type:"text",value:a,onChange:(y)=>u(y.target.value),onKeyDown:(y)=>{if(y.key==="Enter"&&a.trim())W0();if(y.key==="Escape")u(""),F0(!1)},placeholder:"Label name",className:`w-full ${l} rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500`},void 0,!1,void 0,this),m.jsxDEV("div",{className:"flex gap-2 mt-2",children:[m.jsxDEV("button",{type:"button",onClick:W0,className:"px-3 py-1 bg-blue-600 text-white text-sm rounded hover:bg-blue-700",disabled:!a.trim(),children:"Add"},void 0,!1,void 0,this),m.jsxDEV("button",{type:"button",onClick:()=>{u(""),F0(!1)},className:`px-3 py-1 ${H} text-sm ${o} rounded`,children:"Cancel"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):m.jsxDEV("button",{type:"button",onClick:()=>F0(!0),className:`flex items-center gap-1 text-sm ${H} ${o} px-2 py-1.5 rounded`,children:[m.jsxDEV(D1.Plus,{},void 0,!1,void 0,this),m.jsxDEV("span",{children:"Add label"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),N.parent&&(()=>{let y=v.find((n)=>n.id===N.parent);if(!y)return null;return m.jsxDEV("div",{children:[m.jsxDEV("label",{className:`block text-xs font-semibold ${H} uppercase tracking-wide mb-2`,children:"Parent Task"},void 0,!1,void 0,this),m.jsxDEV("button",{type:"button",onClick:()=>R?.(y.id),className:`w-full flex items-center gap-2 ${Y1} rounded-lg px-3 py-2 text-sm text-left ${o} border ${C}`,children:[m.jsxDEV(D1.Parent,{},void 0,!1,void 0,this),m.jsxDEV("div",{className:"flex-1 min-w-0",children:[m.jsxDEV("span",{className:`text-xs ${H} font-mono`,children:["#",y.id]},void 0,!0,void 0,this),m.jsxDEV("p",{className:`${h2} truncate`,children:y.title},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)})(),N.subtasks.length>0&&m.jsxDEV("div",{children:[m.jsxDEV("label",{className:`block text-xs font-semibold ${H} uppercase tracking-wide mb-2`,children:["Subtasks (",N.subtasks.length,")"]},void 0,!0,void 0,this),m.jsxDEV("div",{className:"space-y-1 max-h-48 overflow-y-auto",children:N.subtasks.map((y)=>{let n=v.find((N0)=>N0.id===y);if(!n)return null;return m.jsxDEV("button",{type:"button",onClick:()=>R?.(y),className:`w-full flex items-center gap-2 ${Y1} rounded-lg px-3 py-2 text-sm text-left ${o} border ${C}`,children:[m.jsxDEV("span",{className:`w-2 h-2 rounded-full ${n.status==="done"?"bg-green-500":"bg-gray-400"}`},void 0,!1,void 0,this),m.jsxDEV("div",{className:"flex-1 min-w-0",children:[m.jsxDEV("span",{className:`text-xs ${H} font-mono`,children:["#",n.id]},void 0,!0,void 0,this),m.jsxDEV("p",{className:`truncate ${n.status==="done"?`${H} line-through`:h2}`,children:n.title},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},y,!0,void 0,this)})},void 0,!1,void 0,this)]},void 0,!0,void 0,this),m.jsxDEV("hr",{className:C},void 0,!1,void 0,this),m.jsxDEV("div",{children:[m.jsxDEV("label",{className:`block text-xs font-semibold ${H} uppercase tracking-wide mb-2`,children:"Actions"},void 0,!1,void 0,this),m.jsxDEV("div",{className:"space-y-1",children:[m.jsxDEV("button",{type:"button",onClick:()=>s({status:"done"}),className:`w-full flex items-center gap-2 px-3 py-2 text-sm text-left ${H} ${o} rounded-lg`,disabled:D0||N.status==="done",children:[m.jsxDEV(D1.Archive,{},void 0,!1,void 0,this),m.jsxDEV("span",{children:"Mark as Done"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q&&m.jsxDEV("button",{type:"button",onClick:()=>{if(confirm("Delete this task?"))q(N.id)},className:`w-full flex items-center gap-2 px-3 py-2 text-sm text-left text-red-500 ${K?"hover:bg-red-900/30":"hover:bg-red-50"} rounded-lg`,disabled:D0,children:[m.jsxDEV(D1.Trash,{},void 0,!1,void 0,this),m.jsxDEV("span",{children:"Delete Task"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),m.jsxDEV("div",{className:`border-t ${C} px-6 py-3 ${K?"bg-gray-750":"bg-gray-50"} text-xs ${H} flex justify-between`,children:[m.jsxDEV("span",{children:["Created: ",new Date(N.createdAt).toLocaleString()]},void 0,!0,void 0,this),m.jsxDEV("span",{children:["Updated: ",new Date(N.updatedAt).toLocaleString()]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)}var b2=w0(W2(),1),KL=["todo","in-progress","in-review","done","blocked"],GO={todo:"To Do","in-progress":"In Progress","in-review":"In Review",done:"Done",blocked:"Blocked"},UL={Eye:()=>b2.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:[b2.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"},void 0,!1,void 0,this),b2.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),EyeOff:()=>b2.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:b2.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"},void 0,!1,void 0,this)},void 0,!1,void 0,this)};function oG({tasks:N,loading:v,onTasksUpdate:L}){let{isDark:g}=w2(),[q,R]=U9.useState(null),[K,F]=U9.useState(new Set(["todo","in-progress","done"]));U9.useEffect(()=>{fetch("http://localhost:3456/api/config").then((k)=>k.json()).then((k)=>{if(k.config?.visibleColumns)F(new Set(k.config.visibleColumns))}).catch((k)=>console.error("Failed to load config:",k))},[]);let b=async(k)=>{try{let C0=(await(await fetch("http://localhost:3456/api/config")).json()).config||{};C0.visibleColumns=[...k],await fetch("http://localhost:3456/api/config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(C0)})}catch(Y0){console.error("Failed to save config:",Y0)}},E=(k)=>{F((Y0)=>{let v0=new Set(Y0);if(v0.has(k))v0.delete(k);else v0.add(k);return b(v0),v0})},I=async(k,Y0)=>{let v0=N.find((C0)=>C0.id===k);if(!v0||v0.status===Y0)return;L(N.map((C0)=>C0.id===k?{...C0,status:Y0}:C0));try{await y5.updateTask(k,{status:Y0})}catch(C0){console.error("Failed to update task:",C0),y5.getTasks().then(L).catch(console.error)}};if(v)return b2.jsxDEV("div",{className:"flex items-center justify-center h-64",children:b2.jsxDEV("div",{className:"text-center",children:[b2.jsxDEV("div",{className:"inline-block animate-spin rounded-full h-8 w-8 border-b-2 border-gray-900"},void 0,!1,void 0,this),b2.jsxDEV("p",{className:"mt-2 text-gray-600",children:"Loading tasks..."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this);let _=(k)=>{R(k)},T=()=>{R(null)},t=(k)=>{L(N.map((Y0)=>Y0.id===k.id?k:Y0)),R(k)},B0=(k)=>{let Y0=N.find((v0)=>v0.id===k);if(Y0)R(Y0)},j=g?"bg-gray-800":"bg-white",Z0=g?"text-gray-200":"text-gray-900",K0=g?"text-gray-400":"text-gray-600";return b2.jsxDEV(b2.Fragment,{children:[b2.jsxDEV("div",{className:`${j} rounded-lg p-4 mb-4 border ${g?"border-gray-700":"border-gray-200"}`,children:b2.jsxDEV("div",{className:"flex items-center gap-4 flex-wrap",children:[b2.jsxDEV("span",{className:`text-sm font-medium ${K0}`,children:"Show Columns:"},void 0,!1,void 0,this),KL.map((k)=>{let Y0=K.has(k);return b2.jsxDEV("label",{className:"flex items-center gap-2 cursor-pointer hover:opacity-80 transition-opacity",children:b2.jsxDEV("button",{type:"button",onClick:()=>E(k),className:`flex items-center gap-2 px-3 py-1.5 rounded-lg transition-colors ${Y0?g?"bg-blue-900 text-blue-200":"bg-blue-100 text-blue-700":g?"bg-gray-700 text-gray-400":"bg-gray-100 text-gray-500"}`,children:[Y0?b2.jsxDEV(UL.Eye,{},void 0,!1,void 0,this):b2.jsxDEV(UL.EyeOff,{},void 0,!1,void 0,this),b2.jsxDEV("span",{className:"text-sm font-medium",children:GO[k]},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},k,!1,void 0,this)})]},void 0,!0,void 0,this)},void 0,!1,void 0,this),b2.jsxDEV("div",{className:"flex gap-4 overflow-x-auto pb-4",children:KL.filter((k)=>K.has(k)).map((k)=>b2.jsxDEV(pG,{status:k,tasks:N.filter((Y0)=>Y0.status===k),onDrop:I,onTaskClick:_},k,!1,void 0,this))},void 0,!1,void 0,this),K.size===0&&b2.jsxDEV("div",{className:"text-center py-12",children:b2.jsxDEV("p",{className:`text-lg ${K0}`,children:"No columns visible. Please select at least one column to display."},void 0,!1,void 0,this)},void 0,!1,void 0,this),b2.jsxDEV(K9,{task:q,allTasks:N,onClose:T,onUpdate:t,onNavigateToTask:B0},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var p7=w0(W2(),1),zO={Plus:()=>p7.jsxDEV("svg",{"aria-hidden":"true",className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:p7.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v16m8-8H4"},void 0,!1,void 0,this)},void 0,!1,void 0,this)};function pB({tasks:N,loading:v,onTasksUpdate:L,onNewTask:g}){let{isDark:q}=w2();return p7.jsxDEV("div",{className:"p-6",children:[p7.jsxDEV("div",{className:"mb-6 flex items-center justify-between",children:[p7.jsxDEV("h1",{className:`text-2xl font-bold ${q?"text-gray-200":"text-gray-900"}`,children:"Kanban Board"},void 0,!1,void 0,this),p7.jsxDEV("button",{type:"button",onClick:g,className:"px-4 py-2 bg-green-600 text-white text-sm font-medium rounded-lg hover:bg-green-700 flex items-center gap-2 transition-colors",children:[p7.jsxDEV(zO.Plus,{},void 0,!1,void 0,this),"New Task"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),p7.jsxDEV(oG,{tasks:N,loading:v,onTasksUpdate:L},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var O9=w0(w1(),1);var E0=w0(W2(),1),OL={Plus:()=>E0.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:E0.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v16m8-8H4"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Filter:()=>E0.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:E0.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 4a1 1 0 011-1h16a1 1 0 011 1v2.586a1 1 0 01-.293.707l-6.414 6.414a1 1 0 00-.293.707V17l-4 4v-6.586a1 1 0 00-.293-.707L3.293 7.293A1 1 0 013 6.586V4z"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},WO={todo:"○","in-progress":"◒","in-review":"◎",done:"◉",blocked:"⊗"},NO={todo:"To Do","in-progress":"In Progress","in-review":"In Review",done:"Done",blocked:"Blocked"};function aG({tasks:N,loading:v,onTasksUpdate:L,selectedTask:g,onTaskClose:q,onNewTask:R}){let{isDark:K}=w2(),[F,b]=O9.useState("all"),[E,I]=O9.useState(null);O9.useEffect(()=>{if(g)I(g)},[g]);let _=K?"bg-gray-800":"bg-white",T=K?"text-gray-200":"text-gray-900",t=K?"text-gray-400":"text-gray-600",B0=K?"border-gray-700":"border-gray-200",j=K?"hover:bg-gray-700":"hover:bg-gray-50",Z0=F==="all"?N:N.filter((k)=>k.status===F),K0={todo:[],"in-progress":[],"in-review":[],blocked:[],done:[]};for(let k of Z0)if(K0[k.status])K0[k.status].push(k);let _0={high:0,medium:1,low:2};for(let k in K0)K0[k].sort((Y0,v0)=>{let C0=_0[Y0.priority]-_0[v0.priority];if(C0!==0)return C0;return Y0.id.localeCompare(v0.id,void 0,{numeric:!0})});if(v)return E0.jsxDEV("div",{className:"p-6 flex items-center justify-center h-64",children:E0.jsxDEV("div",{className:`text-lg ${t}`,children:"Loading tasks..."},void 0,!1,void 0,this)},void 0,!1,void 0,this);return E0.jsxDEV("div",{className:"p-6",children:[E0.jsxDEV("div",{className:"mb-6 flex items-center justify-between",children:[E0.jsxDEV("div",{className:"flex-1",children:[E0.jsxDEV("h1",{className:`text-2xl font-bold ${T} mb-4`,children:"All Tasks"},void 0,!1,void 0,this),E0.jsxDEV("div",{className:"flex items-center gap-2",children:[E0.jsxDEV(OL.Filter,{},void 0,!1,void 0,this),E0.jsxDEV("select",{value:F,onChange:(k)=>b(k.target.value),className:`px-3 py-2 rounded-lg border ${B0} ${_} ${T} focus:outline-none focus:ring-2 focus:ring-blue-500`,children:[E0.jsxDEV("option",{value:"all",children:"All Status"},void 0,!1,void 0,this),E0.jsxDEV("option",{value:"todo",children:"To Do"},void 0,!1,void 0,this),E0.jsxDEV("option",{value:"in-progress",children:"In Progress"},void 0,!1,void 0,this),E0.jsxDEV("option",{value:"in-review",children:"In Review"},void 0,!1,void 0,this),E0.jsxDEV("option",{value:"blocked",children:"Blocked"},void 0,!1,void 0,this),E0.jsxDEV("option",{value:"done",children:"Done"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),E0.jsxDEV("span",{className:t,children:[Z0.length," ",Z0.length===1?"task":"tasks"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),E0.jsxDEV("button",{type:"button",onClick:R,className:"px-4 py-2 bg-green-600 text-white text-sm font-medium rounded-lg hover:bg-green-700 flex items-center gap-2 transition-colors ml-4",children:[E0.jsxDEV(OL.Plus,{},void 0,!1,void 0,this),"New Task"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),E0.jsxDEV("div",{className:"space-y-6",children:Object.entries(K0).map(([k,Y0])=>{if(Y0.length===0)return null;return E0.jsxDEV("div",{children:[E0.jsxDEV("h2",{className:`text-lg font-semibold ${T} mb-3`,children:[NO[k]," (",Y0.length,")"]},void 0,!0,void 0,this),E0.jsxDEV("div",{className:"space-y-2",children:Y0.map((v0)=>E0.jsxDEV("button",{type:"button",onClick:()=>I(v0),className:`w-full ${_} rounded-lg p-4 border ${B0} ${j} transition-colors text-left`,children:E0.jsxDEV("div",{className:"flex items-start gap-3",children:[E0.jsxDEV("span",{className:"text-xl mt-0.5",children:WO[v0.status]},void 0,!1,void 0,this),E0.jsxDEV("div",{className:"flex-1 min-w-0",children:[E0.jsxDEV("div",{className:"flex items-center gap-2 mb-1",children:[E0.jsxDEV("span",{className:`text-xs ${t} font-mono`,children:v0.id},void 0,!1,void 0,this),E0.jsxDEV("span",{className:`text-xs px-2 py-0.5 rounded ${v0.priority==="high"?"bg-red-100 text-red-700 dark:bg-red-900 dark:text-red-200":v0.priority==="medium"?"bg-yellow-100 text-yellow-700 dark:bg-yellow-900 dark:text-yellow-200":"bg-gray-100 text-gray-700 dark:bg-gray-700 dark:text-gray-300"}`,children:v0.priority.toUpperCase()},void 0,!1,void 0,this)]},void 0,!0,void 0,this),E0.jsxDEV("h3",{className:`font-medium ${T} mb-1`,children:v0.title},void 0,!1,void 0,this),v0.description&&E0.jsxDEV("p",{className:`text-sm ${t} line-clamp-2`,children:v0.description},void 0,!1,void 0,this),v0.labels.length>0&&E0.jsxDEV("div",{className:"flex gap-1 mt-2 flex-wrap",children:v0.labels.map((C0)=>E0.jsxDEV("span",{className:`text-xs px-2 py-0.5 rounded ${K?"bg-blue-900 text-blue-200":"bg-blue-100 text-blue-700"}`,children:C0},C0,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this),v0.assignee&&E0.jsxDEV("span",{className:`text-sm ${t} font-mono shrink-0`,children:v0.assignee},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},v0.id,!1,void 0,this))},void 0,!1,void 0,this)]},k,!0,void 0,this)})},void 0,!1,void 0,this),Z0.length===0&&E0.jsxDEV("div",{className:"text-center py-12",children:E0.jsxDEV("p",{className:`text-lg ${t}`,children:"No tasks found"},void 0,!1,void 0,this)},void 0,!1,void 0,this),E&&E0.jsxDEV(K9,{task:E,allTasks:N,onClose:()=>{if(I(null),q)q()},onUpdate:L},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var y2=w0(W2(),1),RL=f1.createContext({isDark:!1,toggle:()=>{}}),w2=()=>f1.useContext(RL),wL={Sun:()=>y2.jsxDEV("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:y2.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Moon:()=>y2.jsxDEV("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:y2.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Plus:()=>y2.jsxDEV("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:y2.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v16m8-8H4"},void 0,!1,void 0,this)},void 0,!1,void 0,this)};function sG(){let[N,v]=f1.useState([]),[L,g]=f1.useState(!0),[q,R]=f1.useState(!1),[K,F]=f1.useState(null),[b,E]=f1.useState(()=>{if(typeof window<"u"){let k=localStorage.getItem("theme");if(k)return k==="dark";return window.matchMedia("(prefers-color-scheme: dark)").matches}return!1}),I=()=>{let k=window.location.hash.slice(1);if(k.startsWith("/tasks"))return"tasks";if(k.startsWith("/docs"))return"docs";if(k.startsWith("/config"))return"config";if(k==="/"||k==="")return"kanban";return"kanban"},[_,T]=f1.useState(I());f1.useEffect(()=>{let k=()=>{T(I())};return window.addEventListener("hashchange",k),()=>window.removeEventListener("hashchange",k)},[I]),f1.useEffect(()=>{if(b)document.documentElement.classList.add("dark"),localStorage.setItem("theme","dark");else document.documentElement.classList.remove("dark"),localStorage.setItem("theme","light")},[b]),f1.useEffect(()=>{y5.getTasks().then((Y0)=>{v(Y0),g(!1)}).catch((Y0)=>{console.error("Failed to load tasks:",Y0),g(!1)});let k=lQ((Y0)=>{if(Y0.type==="tasks:updated")y5.getTasks().then(v).catch(console.error)});return()=>{if(k)k.close()}},[]);let t=()=>{y5.getTasks().then(v).catch(console.error)},B0=(k)=>{v(k)},j=()=>E((k)=>!k),Z0=(k)=>{T("tasks"),F(k)},K0=()=>{T("docs")},_0=()=>{switch(_){case"kanban":return y2.jsxDEV(pB,{tasks:N,loading:L,onTasksUpdate:B0,onNewTask:()=>R(!0)},void 0,!1,void 0,this);case"tasks":return y2.jsxDEV(aG,{tasks:N,loading:L,onTasksUpdate:t,selectedTask:K,onTaskClose:()=>F(null),onNewTask:()=>R(!0)},void 0,!1,void 0,this);case"docs":return y2.jsxDEV(lG,{},void 0,!1,void 0,this);case"config":return y2.jsxDEV(DG,{},void 0,!1,void 0,this);default:return y2.jsxDEV(pB,{tasks:N,loading:L,onTasksUpdate:B0,onNewTask:()=>R(!0)},void 0,!1,void 0,this)}};return y2.jsxDEV(RL.Provider,{value:{isDark:b,toggle:j},children:y2.jsxDEV("div",{className:`min-h-screen transition-colors duration-200 flex ${b?"bg-gray-900":"bg-gray-100"}`,children:[y2.jsxDEV(bG,{currentPage:_},void 0,!1,void 0,this),y2.jsxDEV("div",{className:"flex-1 flex flex-col min-h-screen",children:[y2.jsxDEV("header",{className:`shadow transition-colors duration-200 ${b?"bg-gray-800":"bg-white"}`,children:y2.jsxDEV("div",{className:"px-6 py-3 flex items-center justify-between gap-4",children:[y2.jsxDEV("div",{className:"flex-1 max-w-2xl",children:y2.jsxDEV(IG,{onTaskSelect:Z0,onDocSelect:K0},void 0,!1,void 0,this)},void 0,!1,void 0,this),y2.jsxDEV("button",{type:"button",onClick:j,className:`p-2 rounded-lg transition-colors ${b?"bg-gray-700 text-yellow-400 hover:bg-gray-600":"bg-gray-100 text-gray-600 hover:bg-gray-200"}`,"aria-label":b?"Switch to light mode":"Switch to dark mode",children:b?y2.jsxDEV(wL.Sun,{},void 0,!1,void 0,this):y2.jsxDEV(wL.Moon,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),y2.jsxDEV("main",{className:"flex-1 overflow-auto",children:_0()},void 0,!1,void 0,this)]},void 0,!0,void 0,this),y2.jsxDEV(EG,{isOpen:q,allTasks:N,onClose:()=>R(!1),onCreated:t},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var FL=w0(W2(),1),ML=document.getElementById("root");if(!ML)throw Error("Root element not found");_L.createRoot(ML).render(FL.jsxDEV(sG,{},void 0,!1,void 0,this));