cntx-ui 2.0.6 → 2.0.7

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.
@@ -1,526 +0,0 @@
1
- var vN=l=>{throw TypeError(l)};var gh=(l,a,c)=>a.has(l)||vN("Cannot "+c);var D=(l,a,c)=>(gh(l,a,"read from private field"),c?c.call(l):a.get(l)),Ue=(l,a,c)=>a.has(l)?vN("Cannot add the same private member more than once"):a instanceof WeakSet?a.add(l):a.set(l,c),fe=(l,a,c,d)=>(gh(l,a,"write to private field"),d?d.call(l,c):a.set(l,c),c),Fe=(l,a,c)=>(gh(l,a,"access private method"),c);var Cd=(l,a,c,d)=>({set _(p){fe(l,a,p,c)},get _(){return D(l,a,d)}});function kE(l,a){for(var c=0;c<a.length;c++){const d=a[c];if(typeof d!="string"&&!Array.isArray(d)){for(const p in d)if(p!=="default"&&!(p in l)){const v=Object.getOwnPropertyDescriptor(d,p);v&&Object.defineProperty(l,p,v.get?v:{enumerable:!0,get:()=>d[p]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const p of document.querySelectorAll('link[rel="modulepreload"]'))d(p);new MutationObserver(p=>{for(const v of p)if(v.type==="childList")for(const S of v.addedNodes)S.tagName==="LINK"&&S.rel==="modulepreload"&&d(S)}).observe(document,{childList:!0,subtree:!0});function c(p){const v={};return p.integrity&&(v.integrity=p.integrity),p.referrerPolicy&&(v.referrerPolicy=p.referrerPolicy),p.crossOrigin==="use-credentials"?v.credentials="include":p.crossOrigin==="anonymous"?v.credentials="omit":v.credentials="same-origin",v}function d(p){if(p.ep)return;p.ep=!0;const v=c(p);fetch(p.href,v)}})();function u1(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var yh={exports:{}},Rd={},Nh={exports:{}},jc={exports:{}};jc.exports;var xN;function zE(){return xN||(xN=1,function(l,a){/**
2
- * @license React
3
- * react.development.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */(function(){function c(h,C){Object.defineProperty(v.prototype,h,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",C[0],C[1])}})}function d(h){return h===null||typeof h!="object"?null:(h=Tt&&h[Tt]||h["@@iterator"],typeof h=="function"?h:null)}function p(h,C){h=(h=h.constructor)&&(h.displayName||h.name)||"ReactClass";var ee=h+"."+C;xt[ee]||(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),xt[ee]=!0)}function v(h,C,ee){this.props=h,this.context=C,this.refs=Ds,this.updater=ee||tn}function S(){}function E(h,C,ee){this.props=h,this.context=C,this.refs=Ds,this.updater=ee||tn}function y(h){return""+h}function U(h){try{y(h);var C=!1}catch{C=!0}if(C){C=console;var ee=C.error,oe=typeof Symbol=="function"&&Symbol.toStringTag&&h[Symbol.toStringTag]||h.constructor.name||"Object";return ee.call(C,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",oe),y(h)}}function V(h){if(h==null)return null;if(typeof h=="function")return h.$$typeof===On?null:h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case N:return"Fragment";case $:return"Profiler";case L:return"StrictMode";case pe:return"Suspense";case Ye:return"SuspenseList";case Ve: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 K:return"Portal";case Ne:return(h.displayName||"Context")+".Provider";case ne:return(h._context.displayName||"Context")+".Consumer";case ze:var C=h.render;return h=h.displayName,h||(h=C.displayName||C.name||"",h=h!==""?"ForwardRef("+h+")":"ForwardRef"),h;case Te:return C=h.displayName||null,C!==null?C:V(h.type)||"Memo";case Ie:C=h._payload,h=h._init;try{return V(h(C))}catch{}}return null}function m(h){if(h===N)return"<>";if(typeof h=="object"&&h!==null&&h.$$typeof===Ie)return"<...>";try{var C=V(h);return C?"<"+C+">":"<...>"}catch{return"<...>"}}function g(){var h=Be.A;return h===null?null:h.getOwner()}function R(){return Error("react-stack-top-frame")}function Y(h){if(Ks.call(h,"key")){var C=Object.getOwnPropertyDescriptor(h,"key").get;if(C&&C.isReactWarning)return!1}return h.key!==void 0}function Q(h,C){function ee(){cn||(cn=!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))}ee.isReactWarning=!0,Object.defineProperty(h,"key",{get:ee,configurable:!0})}function k(){var h=V(this.type);return Uo[h]||(Uo[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 I(h,C,ee,oe,ye,He,Oe,ue){return ee=He.ref,h={$$typeof:M,type:h,key:C,props:He,_owner:ye},(ee!==void 0?ee:null)!==null?Object.defineProperty(h,"ref",{enumerable:!1,get:k}):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:Oe}),Object.defineProperty(h,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:ue}),Object.freeze&&(Object.freeze(h.props),Object.freeze(h)),h}function ge(h,C){return C=I(h.type,C,void 0,void 0,h._owner,h.props,h._debugStack,h._debugTask),h._store&&(C._store.validated=h._store.validated),C}function X(h){return typeof h=="object"&&h!==null&&h.$$typeof===M}function le(h){var C={"=":"=0",":":"=2"};return"$"+h.replace(/[=:]/g,function(ee){return C[ee]})}function ce(h,C){return typeof h=="object"&&h!==null&&h.key!=null?(U(h.key),le(""+h.key)):C.toString(36)}function me(){}function we(h){switch(h.status){case"fulfilled":return h.value;case"rejected":throw h.reason;default:switch(typeof h.status=="string"?h.then(me,me):(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 J(h,C,ee,oe,ye){var He=typeof h;(He==="undefined"||He==="boolean")&&(h=null);var Oe=!1;if(h===null)Oe=!0;else switch(He){case"bigint":case"string":case"number":Oe=!0;break;case"object":switch(h.$$typeof){case M:case K:Oe=!0;break;case Ie:return Oe=h._init,J(Oe(h._payload),C,ee,oe,ye)}}if(Oe){Oe=h,ye=ye(Oe);var ue=oe===""?"."+ce(Oe,0):oe;return fs(ye)?(ee="",ue!=null&&(ee=ue.replace(Ws,"$&/")+"/"),J(ye,C,ee,"",function(We){return We})):ye!=null&&(X(ye)&&(ye.key!=null&&(Oe&&Oe.key===ye.key||U(ye.key)),ee=ge(ye,ee+(ye.key==null||Oe&&Oe.key===ye.key?"":(""+ye.key).replace(Ws,"$&/")+"/")+ue),oe!==""&&Oe!=null&&X(Oe)&&Oe.key==null&&Oe._store&&!Oe._store.validated&&(ee._store.validated=2),ye=ee),C.push(ye)),1}if(Oe=0,ue=oe===""?".":oe+":",fs(h))for(var Se=0;Se<h.length;Se++)oe=h[Se],He=ue+ce(oe,Se),Oe+=J(oe,C,ee,He,ye);else if(Se=d(h),typeof Se=="function")for(Se===h.entries&&(Mr||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Mr=!0),h=Se.call(h),Se=0;!(oe=h.next()).done;)oe=oe.value,He=ue+ce(oe,Se++),Oe+=J(oe,C,ee,He,ye);else if(He==="object"){if(typeof h.then=="function")return J(we(h),C,ee,oe,ye);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 Oe}function W(h,C,ee){if(h==null)return h;var oe=[],ye=0;return J(h,oe,"","",function(He){return C.call(ee,He,ye++)}),oe}function Ee(h){if(h._status===-1){var C=h._result;C=C(),C.then(function(ee){(h._status===0||h._status===-1)&&(h._status=1,h._result=ee)},function(ee){(h._status===0||h._status===-1)&&(h._status=2,h._result=ee)}),h._status===-1&&(h._status=0,h._result=C)}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
10
-
11
- Your code should look like:
12
- const MyComponent = lazy(() => import('./MyComponent'))
13
-
14
- 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
15
-
16
- Your code should look like:
17
- const MyComponent = lazy(() => import('./MyComponent'))`,C),C.default;throw h._result}function ae(){var h=Be.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:
18
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
19
- 2. You might be breaking the Rules of Hooks
20
- 3. You might have more than one copy of React in the same app
21
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),h}function ie(){}function Z(h){if(kn===null)try{var C=("require"+Math.random()).slice(0,7);kn=(l&&l[C]).call(l,"timers").setImmediate}catch{kn=function(oe){Or===!1&&(Or=!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 ye=new MessageChannel;ye.port1.onmessage=oe,ye.port2.postMessage(void 0)}}return kn(h)}function Ce(h){return 1<h.length&&typeof AggregateError=="function"?new AggregateError(h):h[0]}function Ae(h,C){C!==Ts-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. "),Ts=C}function B(h,C,ee){var oe=Be.actQueue;if(oe!==null)if(oe.length!==0)try{A(oe),Z(function(){return B(h,C,ee)});return}catch(ye){Be.thrownErrors.push(ye)}else Be.actQueue=null;0<Be.thrownErrors.length?(oe=Ce(Be.thrownErrors),Be.thrownErrors.length=0,ee(oe)):C(h)}function A(h){if(!yn){yn=!0;var C=0;try{for(;C<h.length;C++){var ee=h[C];do{Be.didUsePromise=!1;var oe=ee(!1);if(oe!==null){if(Be.didUsePromise){h[C]=ee,h.splice(0,C);return}ee=oe}else break}while(!0)}h.length=0}catch(ye){h.splice(0,C+1),Be.thrownErrors.push(ye)}finally{yn=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var M=Symbol.for("react.transitional.element"),K=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),ne=Symbol.for("react.consumer"),Ne=Symbol.for("react.context"),ze=Symbol.for("react.forward_ref"),pe=Symbol.for("react.suspense"),Ye=Symbol.for("react.suspense_list"),Te=Symbol.for("react.memo"),Ie=Symbol.for("react.lazy"),Ve=Symbol.for("react.activity"),Tt=Symbol.iterator,xt={},tn={isMounted:function(){return!1},enqueueForceUpdate:function(h){p(h,"forceUpdate")},enqueueReplaceState:function(h){p(h,"replaceState")},enqueueSetState:function(h){p(h,"setState")}},Es=Object.assign,Ds={};Object.freeze(Ds),v.prototype.isReactComponent={},v.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")},v.prototype.forceUpdate=function(h){this.updater.enqueueForceUpdate(this,h,"forceUpdate")};var jt={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)."]},ln;for(ln in jt)jt.hasOwnProperty(ln)&&c(ln,jt[ln]);S.prototype=v.prototype,jt=E.prototype=new S,jt.constructor=E,Es(jt,v.prototype),jt.isPureReactComponent=!0;var fs=Array.isArray,On=Symbol.for("react.client.reference"),Be={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Ks=Object.prototype.hasOwnProperty,kt=console.createTask?console.createTask:function(){return null};jt={"react-stack-bottom-frame":function(h){return h()}};var cn,Ea,Uo={},Js=jt["react-stack-bottom-frame"].bind(jt,R)(),Co=kt(m(R)),Mr=!1,Ws=/\/+/g,Pn=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)},Or=!1,kn=null,Ts=0,zn=!1,yn=!1,ms=typeof queueMicrotask=="function"?function(h){queueMicrotask(function(){return queueMicrotask(h)})}:Z;jt=Object.freeze({__proto__:null,c:function(h){return ae().useMemoCache(h)}}),a.Children={map:W,forEach:function(h,C,ee){W(h,function(){C.apply(this,arguments)},ee)},count:function(h){var C=0;return W(h,function(){C++}),C},toArray:function(h){return W(h,function(C){return C})||[]},only:function(h){if(!X(h))throw Error("React.Children.only expected to receive a single React element child.");return h}},a.Component=v,a.Fragment=N,a.Profiler=$,a.PureComponent=E,a.StrictMode=L,a.Suspense=pe,a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Be,a.__COMPILER_RUNTIME=jt,a.act=function(h){var C=Be.actQueue,ee=Ts;Ts++;var oe=Be.actQueue=C!==null?C:[],ye=!1;try{var He=h()}catch(Se){Be.thrownErrors.push(Se)}if(0<Be.thrownErrors.length)throw Ae(C,ee),h=Ce(Be.thrownErrors),Be.thrownErrors.length=0,h;if(He!==null&&typeof He=="object"&&typeof He.then=="function"){var Oe=He;return ms(function(){ye||zn||(zn=!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(Se,We){ye=!0,Oe.then(function(Et){if(Ae(C,ee),ee===0){try{A(oe),Z(function(){return B(Et,Se,We)})}catch(At){Be.thrownErrors.push(At)}if(0<Be.thrownErrors.length){var Pr=Ce(Be.thrownErrors);Be.thrownErrors.length=0,We(Pr)}}else Se(Et)},function(Et){Ae(C,ee),0<Be.thrownErrors.length&&(Et=Ce(Be.thrownErrors),Be.thrownErrors.length=0),We(Et)})}}}var ue=He;if(Ae(C,ee),ee===0&&(A(oe),oe.length!==0&&ms(function(){ye||zn||(zn=!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(() => ...)"))}),Be.actQueue=null),0<Be.thrownErrors.length)throw h=Ce(Be.thrownErrors),Be.thrownErrors.length=0,h;return{then:function(Se,We){ye=!0,ee===0?(Be.actQueue=oe,Z(function(){return B(ue,Se,We)})):Se(ue)}}},a.cache=function(h){return function(){return h.apply(null,arguments)}},a.captureOwnerStack=function(){var h=Be.getCurrentStack;return h===null?null:h()},a.cloneElement=function(h,C,ee){if(h==null)throw Error("The argument must be a React element, but you passed "+h+".");var oe=Es({},h.props),ye=h.key,He=h._owner;if(C!=null){var Oe;e:{if(Ks.call(C,"ref")&&(Oe=Object.getOwnPropertyDescriptor(C,"ref").get)&&Oe.isReactWarning){Oe=!1;break e}Oe=C.ref!==void 0}Oe&&(He=g()),Y(C)&&(U(C.key),ye=""+C.key);for(ue in C)!Ks.call(C,ue)||ue==="key"||ue==="__self"||ue==="__source"||ue==="ref"&&C.ref===void 0||(oe[ue]=C[ue])}var ue=arguments.length-2;if(ue===1)oe.children=ee;else if(1<ue){Oe=Array(ue);for(var Se=0;Se<ue;Se++)Oe[Se]=arguments[Se+2];oe.children=Oe}for(oe=I(h.type,ye,void 0,void 0,He,oe,h._debugStack,h._debugTask),ye=2;ye<arguments.length;ye++)He=arguments[ye],X(He)&&He._store&&(He._store.validated=1);return oe},a.createContext=function(h){return h={$$typeof:Ne,_currentValue:h,_currentValue2:h,_threadCount:0,Provider:null,Consumer:null},h.Provider=h,h.Consumer={$$typeof:ne,_context:h},h._currentRenderer=null,h._currentRenderer2=null,h},a.createElement=function(h,C,ee){for(var oe=2;oe<arguments.length;oe++){var ye=arguments[oe];X(ye)&&ye._store&&(ye._store.validated=1)}if(oe={},ye=null,C!=null)for(Se in Ea||!("__self"in C)||"key"in C||(Ea=!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")),Y(C)&&(U(C.key),ye=""+C.key),C)Ks.call(C,Se)&&Se!=="key"&&Se!=="__self"&&Se!=="__source"&&(oe[Se]=C[Se]);var He=arguments.length-2;if(He===1)oe.children=ee;else if(1<He){for(var Oe=Array(He),ue=0;ue<He;ue++)Oe[ue]=arguments[ue+2];Object.freeze&&Object.freeze(Oe),oe.children=Oe}if(h&&h.defaultProps)for(Se in He=h.defaultProps,He)oe[Se]===void 0&&(oe[Se]=He[Se]);ye&&Q(oe,typeof h=="function"?h.displayName||h.name||"Unknown":h);var Se=1e4>Be.recentlyCreatedOwnerStacks++;return I(h,ye,void 0,void 0,g(),oe,Se?Error("react-stack-top-frame"):Js,Se?kt(m(h)):Co)},a.createRef=function(){var h={current:null};return Object.seal(h),h},a.forwardRef=function(h){h!=null&&h.$$typeof===Te?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:ze,render:h},ee;return Object.defineProperty(C,"displayName",{enumerable:!1,configurable:!0,get:function(){return ee},set:function(oe){ee=oe,h.name||h.displayName||(Object.defineProperty(h,"name",{value:oe}),h.displayName=oe)}}),C},a.isValidElement=X,a.lazy=function(h){return{$$typeof:Ie,_payload:{_status:-1,_result:h},_init:Ee}},a.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:Te,type:h,compare:C===void 0?null:C};var ee;return Object.defineProperty(C,"displayName",{enumerable:!1,configurable:!0,get:function(){return ee},set:function(oe){ee=oe,h.name||h.displayName||(Object.defineProperty(h,"name",{value:oe}),h.displayName=oe)}}),C},a.startTransition=function(h){var C=Be.T,ee={};Be.T=ee,ee._updatedFibers=new Set;try{var oe=h(),ye=Be.S;ye!==null&&ye(ee,oe),typeof oe=="object"&&oe!==null&&typeof oe.then=="function"&&oe.then(ie,Pn)}catch(He){Pn(He)}finally{C===null&&ee._updatedFibers&&(h=ee._updatedFibers.size,ee._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.")),Be.T=C}},a.unstable_useCacheRefresh=function(){return ae().useCacheRefresh()},a.use=function(h){return ae().use(h)},a.useActionState=function(h,C,ee){return ae().useActionState(h,C,ee)},a.useCallback=function(h,C){return ae().useCallback(h,C)},a.useContext=function(h){var C=ae();return h.$$typeof===ne&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),C.useContext(h)},a.useDebugValue=function(h,C){return ae().useDebugValue(h,C)},a.useDeferredValue=function(h,C){return ae().useDeferredValue(h,C)},a.useEffect=function(h,C,ee){h==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var oe=ae();if(typeof ee=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return oe.useEffect(h,C)},a.useId=function(){return ae().useId()},a.useImperativeHandle=function(h,C,ee){return ae().useImperativeHandle(h,C,ee)},a.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?"),ae().useInsertionEffect(h,C)},a.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?"),ae().useLayoutEffect(h,C)},a.useMemo=function(h,C){return ae().useMemo(h,C)},a.useOptimistic=function(h,C){return ae().useOptimistic(h,C)},a.useReducer=function(h,C,ee){return ae().useReducer(h,C,ee)},a.useRef=function(h){return ae().useRef(h)},a.useState=function(h){return ae().useState(h)},a.useSyncExternalStore=function(h,C,ee){return ae().useSyncExternalStore(h,C,ee)},a.useTransition=function(){return ae().useTransition()},a.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()}(jc,jc.exports)),jc.exports}var gN;function Oc(){return gN||(gN=1,Nh.exports=zE()),Nh.exports}var yN;function HE(){if(yN)return Rd;yN=1;/**
22
- * @license React
23
- * react-jsx-dev-runtime.development.js
24
- *
25
- * Copyright (c) Meta Platforms, Inc. and affiliates.
26
- *
27
- * This source code is licensed under the MIT license found in the
28
- * LICENSE file in the root directory of this source tree.
29
- */return function(){function l(N){if(N==null)return null;if(typeof N=="function")return N.$$typeof===Ee?null:N.displayName||N.name||null;if(typeof N=="string")return N;switch(N){case Q:return"Fragment";case I:return"Profiler";case k:return"StrictMode";case ce:return"Suspense";case me:return"SuspenseList";case W:return"Activity"}if(typeof N=="object")switch(typeof N.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),N.$$typeof){case Y:return"Portal";case X:return(N.displayName||"Context")+".Provider";case ge:return(N._context.displayName||"Context")+".Consumer";case le:var L=N.render;return N=N.displayName,N||(N=L.displayName||L.name||"",N=N!==""?"ForwardRef("+N+")":"ForwardRef"),N;case we:return L=N.displayName||null,L!==null?L:l(N.type)||"Memo";case J:L=N._payload,N=N._init;try{return l(N(L))}catch{}}return null}function a(N){return""+N}function c(N){try{a(N);var L=!1}catch{L=!0}if(L){L=console;var $=L.error,ne=typeof Symbol=="function"&&Symbol.toStringTag&&N[Symbol.toStringTag]||N.constructor.name||"Object";return $.call(L,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ne),a(N)}}function d(N){if(N===Q)return"<>";if(typeof N=="object"&&N!==null&&N.$$typeof===J)return"<...>";try{var L=l(N);return L?"<"+L+">":"<...>"}catch{return"<...>"}}function p(){var N=ae.A;return N===null?null:N.getOwner()}function v(){return Error("react-stack-top-frame")}function S(N){if(ie.call(N,"key")){var L=Object.getOwnPropertyDescriptor(N,"key").get;if(L&&L.isReactWarning)return!1}return N.key!==void 0}function E(N,L){function $(){Ae||(Ae=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",L))}$.isReactWarning=!0,Object.defineProperty(N,"key",{get:$,configurable:!0})}function y(){var N=l(this.type);return B[N]||(B[N]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),N=this.props.ref,N!==void 0?N:null}function U(N,L,$,ne,Ne,ze,pe,Ye){return $=ze.ref,N={$$typeof:R,type:N,key:L,props:ze,_owner:Ne},($!==void 0?$:null)!==null?Object.defineProperty(N,"ref",{enumerable:!1,get:y}):Object.defineProperty(N,"ref",{enumerable:!1,value:null}),N._store={},Object.defineProperty(N._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(N,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(N,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:pe}),Object.defineProperty(N,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ye}),Object.freeze&&(Object.freeze(N.props),Object.freeze(N)),N}function V(N,L,$,ne,Ne,ze,pe,Ye){var Te=L.children;if(Te!==void 0)if(ne)if(Z(Te)){for(ne=0;ne<Te.length;ne++)m(Te[ne]);Object.freeze&&Object.freeze(Te)}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 m(Te);if(ie.call(L,"key")){Te=l(N);var Ie=Object.keys(L).filter(function(Tt){return Tt!=="key"});ne=0<Ie.length?"{key: someKey, "+Ie.join(": ..., ")+": ...}":"{key: someKey}",K[Te+ne]||(Ie=0<Ie.length?"{"+Ie.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
30
- let props = %s;
31
- <%s {...props} />
32
- React keys must be passed directly to JSX without using spread:
33
- let props = %s;
34
- <%s key={someKey} {...props} />`,ne,Te,Ie,Te),K[Te+ne]=!0)}if(Te=null,$!==void 0&&(c($),Te=""+$),S(L)&&(c(L.key),Te=""+L.key),"key"in L){$={};for(var Ve in L)Ve!=="key"&&($[Ve]=L[Ve])}else $=L;return Te&&E($,typeof N=="function"?N.displayName||N.name||"Unknown":N),U(N,Te,ze,Ne,p(),$,pe,Ye)}function m(N){typeof N=="object"&&N!==null&&N.$$typeof===R&&N._store&&(N._store.validated=1)}var g=Oc(),R=Symbol.for("react.transitional.element"),Y=Symbol.for("react.portal"),Q=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),ge=Symbol.for("react.consumer"),X=Symbol.for("react.context"),le=Symbol.for("react.forward_ref"),ce=Symbol.for("react.suspense"),me=Symbol.for("react.suspense_list"),we=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),Ee=Symbol.for("react.client.reference"),ae=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie=Object.prototype.hasOwnProperty,Z=Array.isArray,Ce=console.createTask?console.createTask:function(){return null};g={"react-stack-bottom-frame":function(N){return N()}};var Ae,B={},A=g["react-stack-bottom-frame"].bind(g,v)(),M=Ce(d(v)),K={};Rd.Fragment=Q,Rd.jsxDEV=function(N,L,$,ne,Ne,ze){var pe=1e4>ae.recentlyCreatedOwnerStacks++;return V(N,L,$,ne,Ne,ze,pe?Error("react-stack-top-frame"):A,pe?Ce(d(N)):M)}}(),Rd}var NN;function _E(){return NN||(NN=1,yh.exports=HE()),yh.exports}var i=_E(),G=Oc();const se=u1(G),d1=kE({__proto__:null,default:se},[G]);var Sh={exports:{}},yc={},wh={exports:{}},jh={},SN;function BE(){return SN||(SN=1,function(l){/**
35
- * @license React
36
- * scheduler.development.js
37
- *
38
- * Copyright (c) Meta Platforms, Inc. and affiliates.
39
- *
40
- * This source code is licensed under the MIT license found in the
41
- * LICENSE file in the root directory of this source tree.
42
- */(function(){function a(){if(ce=!1,W){var B=l.unstable_now();ie=B;var A=!0;try{e:{X=!1,le&&(le=!1,we(Ee),Ee=-1),ge=!0;var M=I;try{t:{for(S(B),k=d(R);k!==null&&!(k.expirationTime>B&&y());){var K=k.callback;if(typeof K=="function"){k.callback=null,I=k.priorityLevel;var N=K(k.expirationTime<=B);if(B=l.unstable_now(),typeof N=="function"){k.callback=N,S(B),A=!0;break t}k===d(R)&&p(R),S(B)}else p(R);k=d(R)}if(k!==null)A=!0;else{var L=d(Y);L!==null&&U(E,L.startTime-B),A=!1}}break e}finally{k=null,I=M,ge=!1}A=void 0}}finally{A?Z():W=!1}}}function c(B,A){var M=B.length;B.push(A);e:for(;0<M;){var K=M-1>>>1,N=B[K];if(0<v(N,A))B[K]=A,B[M]=N,M=K;else break e}}function d(B){return B.length===0?null:B[0]}function p(B){if(B.length===0)return null;var A=B[0],M=B.pop();if(M!==A){B[0]=M;e:for(var K=0,N=B.length,L=N>>>1;K<L;){var $=2*(K+1)-1,ne=B[$],Ne=$+1,ze=B[Ne];if(0>v(ne,M))Ne<N&&0>v(ze,ne)?(B[K]=ze,B[Ne]=M,K=Ne):(B[K]=ne,B[$]=M,K=$);else if(Ne<N&&0>v(ze,M))B[K]=ze,B[Ne]=M,K=Ne;else break e}}return A}function v(B,A){var M=B.sortIndex-A.sortIndex;return M!==0?M:B.id-A.id}function S(B){for(var A=d(Y);A!==null;){if(A.callback===null)p(Y);else if(A.startTime<=B)p(Y),A.sortIndex=A.expirationTime,c(R,A);else break;A=d(Y)}}function E(B){if(le=!1,S(B),!X)if(d(R)!==null)X=!0,W||(W=!0,Z());else{var A=d(Y);A!==null&&U(E,A.startTime-B)}}function y(){return ce?!0:!(l.unstable_now()-ie<ae)}function U(B,A){Ee=me(function(){B(l.unstable_now())},A)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var V=performance;l.unstable_now=function(){return V.now()}}else{var m=Date,g=m.now();l.unstable_now=function(){return m.now()-g}}var R=[],Y=[],Q=1,k=null,I=3,ge=!1,X=!1,le=!1,ce=!1,me=typeof setTimeout=="function"?setTimeout:null,we=typeof clearTimeout=="function"?clearTimeout:null,J=typeof setImmediate<"u"?setImmediate:null,W=!1,Ee=-1,ae=5,ie=-1;if(typeof J=="function")var Z=function(){J(a)};else if(typeof MessageChannel<"u"){var Ce=new MessageChannel,Ae=Ce.port2;Ce.port1.onmessage=a,Z=function(){Ae.postMessage(null)}}else Z=function(){me(a,0)};l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(B){B.callback=null},l.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ae=0<B?Math.floor(1e3/B):5},l.unstable_getCurrentPriorityLevel=function(){return I},l.unstable_next=function(B){switch(I){case 1:case 2:case 3:var A=3;break;default:A=I}var M=I;I=A;try{return B()}finally{I=M}},l.unstable_requestPaint=function(){ce=!0},l.unstable_runWithPriority=function(B,A){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var M=I;I=B;try{return A()}finally{I=M}},l.unstable_scheduleCallback=function(B,A,M){var K=l.unstable_now();switch(typeof M=="object"&&M!==null?(M=M.delay,M=typeof M=="number"&&0<M?K+M:K):M=K,B){case 1:var N=-1;break;case 2:N=250;break;case 5:N=1073741823;break;case 4:N=1e4;break;default:N=5e3}return N=M+N,B={id:Q++,callback:A,priorityLevel:B,startTime:M,expirationTime:N,sortIndex:-1},M>K?(B.sortIndex=M,c(Y,B),d(R)===null&&B===d(Y)&&(le?(we(Ee),Ee=-1):le=!0,U(E,M-K))):(B.sortIndex=N,c(R,B),X||ge||(X=!0,W||(W=!0,Z()))),B},l.unstable_shouldYield=y,l.unstable_wrapCallback=function(B){var A=I;return function(){var M=I;I=A;try{return B.apply(this,arguments)}finally{I=M}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()}(jh)),jh}var wN;function LE(){return wN||(wN=1,wh.exports=BE()),wh.exports}var Eh={exports:{}},on={},jN;function qE(){if(jN)return on;jN=1;/**
43
- * @license React
44
- * react-dom.development.js
45
- *
46
- * Copyright (c) Meta Platforms, Inc. and affiliates.
47
- *
48
- * This source code is licensed under the MIT license found in the
49
- * LICENSE file in the root directory of this source tree.
50
- */return function(){function l(){}function a(m){return""+m}function c(m,g,R){var Y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{a(Y);var Q=!1}catch{Q=!0}return Q&&(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&&Y[Symbol.toStringTag]||Y.constructor.name||"Object"),a(Y)),{$$typeof:U,key:Y==null?null:""+Y,children:m,containerInfo:g,implementation:R}}function d(m,g){if(m==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}function p(m){return m===null?"`null`":m===void 0?"`undefined`":m===""?"an empty string":'something with type "'+typeof m+'"'}function v(m){return m===null?"`null`":m===void 0?"`undefined`":m===""?"an empty string":typeof m=="string"?JSON.stringify(m):typeof m=="number"?"`"+m+"`":'something with type "'+typeof m+'"'}function S(){var m=V.H;return m===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:
51
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
52
- 2. You might be breaking the Rules of Hooks
53
- 3. You might have more than one copy of React in the same app
54
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),m}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var E=Oc(),y={d:{f:l,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},U=Symbol.for("react.portal"),V=E.__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"),on.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=y,on.createPortal=function(m,g){var R=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error("Target container is not a DOM element.");return c(m,g,null,R)},on.flushSync=function(m){var g=V.T,R=y.p;try{if(V.T=null,y.p=2,m)return m()}finally{V.T=g,y.p=R,y.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.")}},on.preconnect=function(m,g){typeof m=="string"&&m?g!=null&&typeof g!="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.",v(g)):g!=null&&typeof g.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.",p(g.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",p(m)),typeof m=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,y.d.C(m,g))},on.prefetchDNS=function(m){if(typeof m!="string"||!m)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",p(m));else if(1<arguments.length){var g=arguments[1];typeof g=="object"&&g.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`.",v(g)):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`.",v(g))}typeof m=="string"&&y.d.D(m)},on.preinit=function(m,g){if(typeof m=="string"&&m?g==null||typeof g!="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.",v(g)):g.as!=="style"&&g.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".',v(g.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",p(m)),typeof m=="string"&&g&&typeof g.as=="string"){var R=g.as,Y=d(R,g.crossOrigin),Q=typeof g.integrity=="string"?g.integrity:void 0,k=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;R==="style"?y.d.S(m,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:Y,integrity:Q,fetchPriority:k}):R==="script"&&y.d.X(m,{crossOrigin:Y,integrity:Q,fetchPriority:k,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},on.preinitModule=function(m,g){var R="";if(typeof m=="string"&&m||(R+=" The `href` argument encountered was "+p(m)+"."),g!==void 0&&typeof g!="object"?R+=" The `options` argument encountered was "+p(g)+".":g&&"as"in g&&g.as!=="script"&&(R+=" The `as` option encountered was "+v(g.as)+"."),R)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",R);else switch(R=g&&typeof g.as=="string"?g.as:"script",R){case"script":break;default:R=v(R),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)',R,m)}typeof m=="string"&&(typeof g=="object"&&g!==null?(g.as==null||g.as==="script")&&(R=d(g.as,g.crossOrigin),y.d.M(m,{crossOrigin:R,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})):g==null&&y.d.M(m))},on.preload=function(m,g){var R="";if(typeof m=="string"&&m||(R+=" The `href` argument encountered was "+p(m)+"."),g==null||typeof g!="object"?R+=" The `options` argument encountered was "+p(g)+".":typeof g.as=="string"&&g.as||(R+=" The `as` option encountered was "+p(g.as)+"."),R&&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',R),typeof m=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){R=g.as;var Y=d(R,g.crossOrigin);y.d.L(m,R,{crossOrigin:Y,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},on.preloadModule=function(m,g){var R="";typeof m=="string"&&m||(R+=" The `href` argument encountered was "+p(m)+"."),g!==void 0&&typeof g!="object"?R+=" The `options` argument encountered was "+p(g)+".":g&&"as"in g&&typeof g.as!="string"&&(R+=" The `as` option encountered was "+p(g.as)+"."),R&&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',R),typeof m=="string"&&(g?(R=d(g.as,g.crossOrigin),y.d.m(m,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:R,integrity:typeof g.integrity=="string"?g.integrity:void 0})):y.d.m(m))},on.requestFormReset=function(m){y.d.r(m)},on.unstable_batchedUpdates=function(m,g){return m(g)},on.useFormState=function(m,g,R){return S().useFormState(m,g,R)},on.useFormStatus=function(){return S().useHostTransitionStatus()},on.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}(),on}var EN;function f1(){return EN||(EN=1,Eh.exports=qE()),Eh.exports}var DN;function FE(){if(DN)return yc;DN=1;/**
55
- * @license React
56
- * react-dom-client.development.js
57
- *
58
- * Copyright (c) Meta Platforms, Inc. and affiliates.
59
- *
60
- * This source code is licensed under the MIT license found in the
61
- * LICENSE file in the root directory of this source tree.
62
- */return function(){function l(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function a(e,t,n,s){if(n>=t.length)return s;var r=t[n],o=Kt(e)?e.slice():qe({},e);return o[r]=a(e[r],t,n+1,s),o}function c(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var s=0;s<n.length-1;s++)if(t[s]!==n[s]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return d(e,t,n,0)}}function d(e,t,n,s){var r=t[s],o=Kt(e)?e.slice():qe({},e);return s+1===t.length?(o[n[s]]=o[r],Kt(o)?o.splice(r,1):delete o[r]):o[r]=d(e[r],t,n,s+1),o}function p(e,t,n){var s=t[n],r=Kt(e)?e.slice():qe({},e);return n+1===t.length?(Kt(r)?r.splice(s,1):delete r[s],r):(r[s]=p(e[s],t,n+1),r)}function v(){return!1}function S(){return null}function E(){}function y(){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 U(){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 V(){}function m(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function g(e,t,n,s){return new OS(e,t,n,s)}function R(e,t){e.context===Jr&&(Gm(e.current,2,t,e,null,null),ka())}function Y(e,t){if(ts!==null){var n=t.staleFamilies;t=t.updatedFamilies,wi(),uf(e.current,t,n),ka()}}function Q(e){ts=e}function k(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function I(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function ge(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function X(e){if(I(e)!==e)throw Error("Unable to find node on an unmounted component.")}function le(e){var t=e.alternate;if(!t){if(t=I(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,s=t;;){var r=n.return;if(r===null)break;var o=r.alternate;if(o===null){if(s=r.return,s!==null){n=s;continue}break}if(r.child===o.child){for(o=r.child;o;){if(o===n)return X(r),e;if(o===s)return X(r),t;o=o.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==s.return)n=r,s=o;else{for(var u=!1,f=r.child;f;){if(f===n){u=!0,n=r,s=o;break}if(f===s){u=!0,s=r,n=o;break}f=f.sibling}if(!u){for(f=o.child;f;){if(f===n){u=!0,n=o,s=r;break}if(f===s){u=!0,s=o,n=r;break}f=f.sibling}if(!u)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(n.alternate!==s)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(n.tag!==3)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}function ce(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=ce(e),t!==null)return t;e=e.sibling}return null}function me(e){return e===null||typeof e!="object"?null:(e=_g&&e[_g]||e["@@iterator"],typeof e=="function"?e:null)}function we(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Zw?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Fa:return"Fragment";case Jm:return"Profiler";case Pu:return"StrictMode";case ep:return"Suspense";case tp:return"SuspenseList";case np:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case qa:return"Portal";case ks:return(e.displayName||"Context")+".Provider";case Wm:return(e._context.displayName||"Context")+".Consumer";case Vi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ku:return t=e.displayName||null,t!==null?t:we(e.type)||"Memo";case Yn:t=e._payload,e=e._init;try{return we(e(t))}catch{}}return null}function J(e){return typeof e.tag=="number"?W(e):typeof e.name=="string"?e.name:null}function W(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return(t.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return we(t);case 8:return t===Pu?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var n=t.length-1;0<=n;n--)if(typeof t[n].name=="string")return t[n].name}if(e.return!==null)return W(e.return)}return null}function Ee(e){return{current:e}}function ae(e,t){0>cr?console.error("Unexpected pop."):(t!==rp[cr]&&console.error("Unexpected Fiber popped."),e.current=sp[cr],sp[cr]=null,rp[cr]=null,cr--)}function ie(e,t,n){cr++,sp[cr]=e.current,rp[cr]=n,e.current=t}function Z(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function Ce(e,t){ie(Ir,t,e),ie(Mi,e,e),ie(Qr,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?mg(t):Nr;break;default:if(n=t.tagName,t=t.namespaceURI)t=mg(t),t=pg(t,n);else switch(n){case"svg":t=jl;break;case"math":t=Sd;break;default:t=Nr}}n=n.toLowerCase(),n=wb(null,n),n={context:t,ancestorInfo:n},ae(Qr,e),ie(Qr,n,e)}function Ae(e){ae(Qr,e),ae(Mi,e),ae(Ir,e)}function B(){return Z(Qr.current)}function A(e){e.memoizedState!==null&&ie(zu,e,e);var t=Z(Qr.current),n=e.type,s=pg(t.context,n);n=wb(t.ancestorInfo,n),s={context:s,ancestorInfo:n},t!==s&&(ie(Mi,e,e),ie(Qr,s,e))}function M(e){Mi.current===e&&(ae(Qr,e),ae(Mi,e)),zu.current===e&&(ae(zu,e),vc._currentValue=da)}function K(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function N(e){try{return L(e),!1}catch{return!0}}function L(e){return""+e}function $(e,t){if(N(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,K(e)),L(e)}function ne(e,t){if(N(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,K(e)),L(e)}function Ne(e){if(N(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",K(e)),L(e)}function ze(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Ga=t.inject(e),nn=t}catch(n){console.error("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function pe(e){if(typeof sj=="function"&&rj(e),nn&&typeof nn.setStrictMode=="function")try{nn.setStrictMode(Ga,e)}catch(t){Hs||(Hs=!0,console.error("React instrumentation encountered an error: %s",t))}}function Ye(e){de=e}function Te(){de!==null&&typeof de.markCommitStopped=="function"&&de.markCommitStopped()}function Ie(e){de!==null&&typeof de.markComponentRenderStarted=="function"&&de.markComponentRenderStarted(e)}function Ve(){de!==null&&typeof de.markComponentRenderStopped=="function"&&de.markComponentRenderStopped()}function Tt(e){de!==null&&typeof de.markRenderStarted=="function"&&de.markRenderStarted(e)}function xt(){de!==null&&typeof de.markRenderStopped=="function"&&de.markRenderStopped()}function tn(e,t){de!==null&&typeof de.markStateUpdateScheduled=="function"&&de.markStateUpdateScheduled(e,t)}function Es(e){return e>>>=0,e===0?32:31-(oj(e)/aj|0)|0}function Ds(e){if(e&1)return"SyncHydrationLane";if(e&2)return"Sync";if(e&4)return"InputContinuousHydration";if(e&8)return"InputContinuous";if(e&16)return"DefaultHydration";if(e&32)return"Default";if(e&128)return"TransitionHydration";if(e&4194048)return"Transition";if(e&62914560)return"Retry";if(e&67108864)return"SelectiveHydration";if(e&134217728)return"IdleHydration";if(e&268435456)return"Idle";if(e&536870912)return"Offscreen";if(e&1073741824)return"Deferred"}function jt(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function ln(e,t,n){var s=e.pendingLanes;if(s===0)return 0;var r=0,o=e.suspendedLanes,u=e.pingedLanes;e=e.warmLanes;var f=s&134217727;return f!==0?(s=f&~o,s!==0?r=jt(s):(u&=f,u!==0?r=jt(u):n||(n=f&~e,n!==0&&(r=jt(n))))):(f=s&~o,f!==0?r=jt(f):u!==0?r=jt(u):n||(n=s&~e,n!==0&&(r=jt(n)))),r===0?0:t!==0&&t!==r&&(t&o)===0&&(o=r&-r,n=t&-t,o>=n||o===32&&(n&4194048)!==0)?t:r}function fs(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function On(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function Be(){var e=Hu;return Hu<<=1,(Hu&4194048)===0&&(Hu=256),e}function Ks(){var e=_u;return _u<<=1,(_u&62914560)===0&&(_u=4194304),e}function kt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function cn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ea(e,t,n,s,r,o){var u=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var f=e.entanglements,b=e.expirationTimes,x=e.hiddenUpdates;for(n=u&~n;0<n;){var P=31-un(n),_=1<<P;f[P]=0,b[P]=-1;var O=x[P];if(O!==null)for(x[P]=null,P=0;P<O.length;P++){var q=O[P];q!==null&&(q.lane&=-536870913)}n&=~_}s!==0&&Uo(e,s,0),o!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=o&~(u&~t))}function Uo(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var s=31-un(t);e.entangledLanes|=t,e.entanglements[s]=e.entanglements[s]|1073741824|n&4194090}function Js(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var s=31-un(n),r=1<<s;r&t|e[s]&t&&(e[s]|=t),n&=~r}}function Co(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Mr(e,t,n){if(bs)for(e=e.pendingUpdatersLaneMap;0<n;){var s=31-un(n),r=1<<s;e[s].add(t),n&=~r}}function Ws(e,t){if(bs)for(var n=e.pendingUpdatersLaneMap,s=e.memoizedUpdaters;0<t;){var r=31-un(t);e=1<<r,r=n[r],0<r.size&&(r.forEach(function(o){var u=o.alternate;u!==null&&s.has(u)||s.add(o)}),r.clear()),t&=~e}}function Pn(e){return e&=-e,Wn<e?_s<e?(e&134217727)!==0?dr:Bu:_s:Wn}function Or(){var e=st.p;return e!==0?e:(e=window.event,e===void 0?dr:Mg(e.type))}function kn(e,t){var n=st.p;try{return st.p=e,t()}finally{st.p=n}}function Ts(e){delete e[sn],delete e[Dn],delete e[cp],delete e[lj],delete e[ij]}function zn(e){var t=e[sn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Zr]||n[sn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=yg(e);e!==null;){if(n=e[sn])return n;e=yg(e)}return t}e=n,n=e.parentNode}return null}function yn(e){if(e=e[sn]||e[Zr]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function ms(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function h(e){var t=e[Bg];return t||(t=e[Bg]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function C(e){e[Oi]=!0}function ee(e,t){oe(e,t),oe(e+"Capture",t)}function oe(e,t){$o[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),$o[e]=t;var n=e.toLowerCase();for(up[n]=e,e==="onDoubleClick"&&(up.ondblclick=e),e=0;e<t.length;e++)Lg.add(t[e])}function ye(e,t){cj[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function He(e){return ur.call(Fg,e)?!0:ur.call(qg,e)?!1:uj.test(e)?Fg[e]=!0:(qg[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Oe(e,t,n){if(He(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":return n;case"function":return n;case"boolean":if(n===!1)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===""&&n===!0?!0:($(n,t),e===""+n?n:e)}}function ue(e,t,n){if(He(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var s=t.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){e.removeAttribute(t);return}}$(n,t),e.setAttribute(t,""+n)}}function Se(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}$(n,t),e.setAttribute(t,""+n)}}function We(e,t,n,s){if(s===null)e.removeAttribute(n);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}$(s,n),e.setAttributeNS(t,n,""+s)}}function Et(){}function Pr(){if(Pi===0){Yg=console.log,Gg=console.info,$g=console.warn,Qg=console.error,Ig=console.group,Xg=console.groupCollapsed,Zg=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Et,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Pi++}function At(){if(Pi--,Pi===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:qe({},e,{value:Yg}),info:qe({},e,{value:Gg}),warn:qe({},e,{value:$g}),error:qe({},e,{value:Qg}),group:qe({},e,{value:Ig}),groupCollapsed:qe({},e,{value:Xg}),groupEnd:qe({},e,{value:Zg})})}0>Pi&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function vt(e){if(dp===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);dp=t&&t[1]||"",Kg=-1<n.stack.indexOf(`
63
- at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
64
- `+dp+e+Kg}function kr(e,t){if(!e||fp)return"";var n=mp.get(e);if(n!==void 0)return n;fp=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var s=null;s=H.H,H.H=null,Pr();try{var r={DetermineComponentFrameRoot:function(){try{if(t){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(he){var q=he}Reflect.construct(e,[],O)}else{try{O.call()}catch(he){q=he}e.call(O.prototype)}}else{try{throw Error()}catch(he){q=he}(O=e())&&typeof O.catch=="function"&&O.catch(function(){})}}catch(he){if(he&&q&&typeof he.stack=="string")return[he.stack,q.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=r.DetermineComponentFrameRoot(),f=u[0],b=u[1];if(f&&b){var x=f.split(`
65
- `),P=b.split(`
66
- `);for(u=o=0;o<x.length&&!x[o].includes("DetermineComponentFrameRoot");)o++;for(;u<P.length&&!P[u].includes("DetermineComponentFrameRoot");)u++;if(o===x.length||u===P.length)for(o=x.length-1,u=P.length-1;1<=o&&0<=u&&x[o]!==P[u];)u--;for(;1<=o&&0<=u;o--,u--)if(x[o]!==P[u]){if(o!==1||u!==1)do if(o--,u--,0>u||x[o]!==P[u]){var _=`
67
- `+x[o].replace(" at new "," at ");return e.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",e.displayName)),typeof e=="function"&&mp.set(e,_),_}while(1<=o&&0<=u);break}}}finally{fp=!1,H.H=s,At(),Error.prepareStackTrace=n}return x=(x=e?e.displayName||e.name:"")?vt(x):"",typeof e=="function"&&mp.set(e,x),x}function Nn(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
68
- `)&&(e=e.slice(29)),t=e.indexOf(`
69
- `),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react-stack-bottom-frame"),t!==-1&&(t=e.lastIndexOf(`
70
- `,t)),t!==-1)e=e.slice(0,t);else return"";return e}function Hn(e){switch(e.tag){case 26:case 27:case 5:return vt(e.type);case 16:return vt("Lazy");case 13:return vt("Suspense");case 19:return vt("SuspenseList");case 0:case 15:return kr(e.type,!1);case 11:return kr(e.type.render,!1);case 1:return kr(e.type,!0);case 31:return vt("Activity");default:return""}}function Zl(e){try{var t="";do{t+=Hn(e);var n=e._debugInfo;if(n)for(var s=n.length-1;0<=s;s--){var r=n[s];if(typeof r.name=="string"){var o=t,u=r.env,f=vt(r.name+(u?" ["+u+"]":""));t=o+f}}e=e.return}while(e);return t}catch(b){return`
71
- Error generating stack: `+b.message+`
72
- `+b.stack}}function Us(e){return(e=e?e.displayName||e.name:"")?vt(e):""}function Kl(){if(Gn===null)return null;var e=Gn._debugOwner;return e!=null?J(e):null}function pS(){if(Gn===null)return"";var e=Gn;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=vt(e.type);break;case 13:t+=vt("Suspense");break;case 19:t+=vt("SuspenseList");break;case 31:t+=vt("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Us(e.type));break;case 11:e._debugOwner||t!==""||(t+=Us(e.type.render))}for(;e;)if(typeof e.tag=="number"){var n=e;e=n._debugOwner;var s=n._debugStack;e&&s&&(typeof s!="string"&&(n._debugStack=s=Nn(s)),s!==""&&(t+=`
73
- `+s))}else if(e.debugStack!=null){var r=e.debugStack;(e=e.owner)&&r&&(t+=`
74
- `+Nn(r))}else break;var o=t}catch(u){o=`
75
- Error generating stack: `+u.message+`
76
- `+u.stack}return o}function je(e,t,n,s,r,o,u){var f=Gn;Zd(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,s,r,o,u)):t(n,s,r,o,u)}finally{Zd(f)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Zd(e){H.getCurrentStack=e===null?null:pS,Bs=!1,Gn=e}function Xn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Ne(e),e;default:return""}}function cb(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function hS(e){var t=cb(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Ne(e[t]);var s=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var r=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(u){Ne(u),s=""+u,o.call(this,u)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return s},setValue:function(u){Ne(u),s=""+u},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function kc(e){e._valueTracker||(e._valueTracker=hS(e))}function ub(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),s="";return e&&(s=cb(e)?e.checked?"true":"false":e.value),e=s,e!==n?(t.setValue(e),!0):!1}function zc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Zn(e){return e.replace(dj,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function db(e,t){t.checked===void 0||t.defaultChecked===void 0||Wg||(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",Kl()||"A component",t.type),Wg=!0),t.value===void 0||t.defaultValue===void 0||Jg||(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",Kl()||"A component",t.type),Jg=!0)}function Kd(e,t,n,s,r,o,u,f){e.name="",u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"?($(u,"type"),e.type=u):e.removeAttribute("type"),t!=null?u==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Xn(t)):e.value!==""+Xn(t)&&(e.value=""+Xn(t)):u!=="submit"&&u!=="reset"||e.removeAttribute("value"),t!=null?Jd(e,u,Xn(t)):n!=null?Jd(e,u,Xn(n)):s!=null&&e.removeAttribute("value"),r==null&&o!=null&&(e.defaultChecked=!!o),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?($(f,"name"),e.name=""+Xn(f)):e.removeAttribute("name")}function fb(e,t,n,s,r,o,u,f){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&($(o,"type"),e.type=o),t!=null||n!=null){if(!(o!=="submit"&&o!=="reset"||t!=null))return;n=n!=null?""+Xn(n):"",t=t!=null?""+Xn(t):n,f||t===e.value||(e.value=t),e.defaultValue=t}s=s??r,s=typeof s!="function"&&typeof s!="symbol"&&!!s,e.checked=f?e.checked:!!s,e.defaultChecked=!!s,u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&($(u,"name"),e.name=u)}function Jd(e,t,n){t==="number"&&zc(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function mb(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?Km.Children.forEach(t.children,function(n){n==null||typeof n=="string"||typeof n=="number"||typeof n=="bigint"||ty||(ty=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||ny||(ny=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||ey||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ey=!0)}function pb(){var e=Kl();return e?`
77
-
78
- Check the render method of \``+e+"`.":""}function Da(e,t,n,s){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&s&&(e[n].defaultSelected=!0)}else{for(n=""+Xn(n),t=null,r=0;r<e.length;r++){if(e[r].value===n){e[r].selected=!0,s&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function hb(e,t){for(e=0;e<ry.length;e++){var n=ry[e];if(t[n]!=null){var s=Kt(t[n]);t.multiple&&!s?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,pb()):!t.multiple&&s&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,pb())}}t.value===void 0||t.defaultValue===void 0||sy||(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"),sy=!0)}function bb(e,t){t.value===void 0||t.defaultValue===void 0||oy||(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",Kl()||"A component"),oy=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function vb(e,t,n){if(t!=null&&(t=""+Xn(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Xn(n):""}function xb(e,t,n,s){if(t==null){if(s!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Kt(s)){if(1<s.length)throw Error("<textarea> can only have at most one child.");s=s[0]}n=s}n==null&&(n=""),t=n}n=Xn(t),e.defaultValue=n,s=e.textContent,s===n&&s!==""&&s!==null&&(e.value=s)}function gb(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?gb(e.children[0],t):e}function _n(e){return" "+" ".repeat(e)}function Ta(e){return"+ "+" ".repeat(e)}function Ro(e){return"- "+" ".repeat(e)}function yb(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function Jl(e,t){return ay.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function Hc(e,t,n){var s=120-2*n;if(t===null)return Ta(n)+Jl(e,s)+`
79
- `;if(typeof t=="string"){for(var r=0;r<t.length&&r<e.length&&t.charCodeAt(r)===e.charCodeAt(r);r++);return r>s-8&&10<r&&(e="..."+e.slice(r-8),t="..."+t.slice(r-8)),Ta(n)+Jl(e,s)+`
80
- `+Ro(n)+Jl(t,s)+`
81
- `}return _n(n)+Jl(e,s)+`
82
- `}function Wd(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,n){return n})}function Wl(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(Kt(e))return"[...]";if(e.$$typeof===$r)return(t=we(e.type))?"<"+t+">":"<...>";var n=Wd(e);if(n==="Object"){n="",t-=2;for(var s in e)if(e.hasOwnProperty(s)){var r=JSON.stringify(s);if(r!=='"'+s+'"'&&(s=r),t-=s.length-2,r=Wl(e[s],15>t?t:15),t-=r.length,0>t){n+=n===""?"...":", ...";break}n+=(n===""?"":",")+s+":"+r}return"{"+n+"}"}return n;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function Ua(e,t){return typeof e!="string"||ay.test(e)?"{"+Wl(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function ef(e,t,n){var s=120-n.length-e.length,r=[],o;for(o in t)if(t.hasOwnProperty(o)&&o!=="children"){var u=Ua(t[o],120-n.length-o.length-1);s-=o.length+u.length+2,r.push(o+"="+u)}return r.length===0?n+"<"+e+`>
83
- `:0<s?n+"<"+e+" "+r.join(" ")+`>
84
- `:n+"<"+e+`
85
- `+n+" "+r.join(`
86
- `+n+" ")+`
87
- `+n+`>
88
- `}function bS(e,t,n){var s="",r=qe({},t),o;for(o in e)if(e.hasOwnProperty(o)){delete r[o];var u=120-2*n-o.length-2,f=Wl(e[o],u);t.hasOwnProperty(o)?(u=Wl(t[o],u),s+=Ta(n)+o+": "+f+`
89
- `,s+=Ro(n)+o+": "+u+`
90
- `):s+=Ta(n)+o+": "+f+`
91
- `}for(var b in r)r.hasOwnProperty(b)&&(e=Wl(r[b],120-2*n-b.length-2),s+=Ro(n)+b+": "+e+`
92
- `);return s}function vS(e,t,n,s){var r="",o=new Map;for(x in n)n.hasOwnProperty(x)&&o.set(x.toLowerCase(),x);if(o.size===1&&o.has("children"))r+=ef(e,t,_n(s));else{for(var u in t)if(t.hasOwnProperty(u)&&u!=="children"){var f=120-2*(s+1)-u.length-1,b=o.get(u.toLowerCase());if(b!==void 0){o.delete(u.toLowerCase());var x=t[u];b=n[b];var P=Ua(x,f);f=Ua(b,f),typeof x=="object"&&x!==null&&typeof b=="object"&&b!==null&&Wd(x)==="Object"&&Wd(b)==="Object"&&(2<Object.keys(x).length||2<Object.keys(b).length||-1<P.indexOf("...")||-1<f.indexOf("..."))?r+=_n(s+1)+u+`={{
93
- `+bS(x,b,s+2)+_n(s+1)+`}}
94
- `:(r+=Ta(s+1)+u+"="+P+`
95
- `,r+=Ro(s+1)+u+"="+f+`
96
- `)}else r+=_n(s+1)+u+"="+Ua(t[u],f)+`
97
- `}o.forEach(function(_){if(_!=="children"){var O=120-2*(s+1)-_.length-1;r+=Ro(s+1)+_+"="+Ua(n[_],O)+`
98
- `}}),r=r===""?_n(s)+"<"+e+`>
99
- `:_n(s)+"<"+e+`
100
- `+r+_n(s)+`>
101
- `}return e=n.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(o="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(o=""+t),r+=Hc(o,""+e,s+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(r=e==null?r+Hc(""+t,null,s+1):r+Hc(""+t,void 0,s+1)),r}function Nb(e,t){var n=yb(e);if(n===null){for(n="",e=e.child;e;)n+=Nb(e,t),e=e.sibling;return n}return _n(t)+"<"+n+`>
102
- `}function tf(e,t){var n=gb(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return _n(t)+`...
103
- `+tf(n,t+1);n="";var s=e.fiber._debugInfo;if(s)for(var r=0;r<s.length;r++){var o=s[r].name;typeof o=="string"&&(n+=_n(t)+"<"+o+`>
104
- `,t++)}if(s="",r=e.fiber.pendingProps,e.fiber.tag===6)s=Hc(r,e.serverProps,t),t++;else if(o=yb(e.fiber),o!==null)if(e.serverProps===void 0){s=t;var u=120-2*s-o.length-2,f="";for(x in r)if(r.hasOwnProperty(x)&&x!=="children"){var b=Ua(r[x],15);if(u-=x.length+b.length+2,0>u){f+=" ...";break}f+=" "+x+"="+b}s=_n(s)+"<"+o+f+`>
105
- `,t++}else e.serverProps===null?(s=ef(o,r,Ta(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(s=vS(o,r,e.serverProps,t),t++);var x="";for(r=e.fiber.child,o=0;r&&o<e.children.length;)u=e.children[o],u.fiber===r?(x+=tf(u,t),o++):x+=Nb(r,t),r=r.sibling;for(r&&0<e.children.length&&(x+=_n(t)+`...
106
- `),r=e.serverTail,e.serverProps===null&&t--,e=0;e<r.length;e++)o=r[e],x=typeof o=="string"?x+(Ro(t)+Jl(o,120-2*t)+`
107
- `):x+ef(o.type,o.props,Ro(t));return n+s+x}function nf(e){try{return`
108
-
109
- `+tf(e,0)}catch{return""}}function Sb(e,t,n){for(var s=t,r=null,o=0;s;)s===e&&(o=0),r={fiber:s,children:r!==null?[r]:[],serverProps:s===t?n:s===e?null:void 0,serverTail:[],distanceFromLeaf:o},o++,s=s.return;return r!==null?nf(r).replaceAll(/^[+-]/gm,">"):""}function wb(e,t){var n=qe({},e||iy),s={tag:t};return ly.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),mj.indexOf(t)!==-1&&(n.pTagInButtonScope=null),fj.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=s,t==="form"&&(n.formTag=s),t==="a"&&(n.aTagInScope=s),t==="button"&&(n.buttonTagInScope=s),t==="nobr"&&(n.nobrTagInScope=s),t==="p"&&(n.pTagInButtonScope=s),t==="li"&&(n.listItemTagAutoclosing=s),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=s),t==="#document"||t==="html"?n.containerTagInScope=null:n.containerTagInScope||(n.containerTagInScope=s),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?n.implicitRootScope===!0&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function jb(e,t,n){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(n)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!n)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return pj.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return n||t===null;case"html":return n&&t==="#document"||t===null;case"body":return n&&(t==="#document"||t==="html")||t===null}return!0}function xS(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function Eb(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function sf(e,t){t=t||iy;var n=t.current;if(t=(n=jb(e,n&&n.tag,t.implicitRootScope)?null:n)?null:xS(e,t),t=n||t,!t)return!0;var s=t.tag;if(t=String(!!n)+"|"+e+"|"+s,Lu[t])return!1;Lu[t]=!0;var r=(t=Gn)?Eb(t.return,s):null,o=t!==null&&r!==null?Sb(r,t,null):"",u="<"+e+">";return n?(n="",s==="table"&&e==="tr"&&(n+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
110
- This will cause a hydration error.%s`,u,s,n,o)):console.error(`In HTML, %s cannot be a descendant of <%s>.
111
- This will cause a hydration error.%s`,u,s,o),t&&(e=t.return,r===null||e===null||r===e&&e._debugOwner===t._debugOwner||je(r,function(){console.error(`<%s> cannot contain a nested %s.
112
- See this log for the ancestor stack trace.`,s,u)})),!1}function _c(e,t,n){if(n||jb("#text",t,!1))return!0;if(n="#text|"+t,Lu[n])return!1;Lu[n]=!0;var s=(n=Gn)?Eb(n,t):null;return n=n!==null&&s!==null?Sb(s,n,n.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
113
- This will cause a hydration error.%s`,t,n):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
114
- This will cause a hydration error.%s`,t,n),!1}function ei(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function gS(e){return e.replace(vj,function(t,n){return n.toUpperCase()})}function Db(e,t,n){var s=t.indexOf("--")===0;s||(-1<t.indexOf("-")?$a.hasOwnProperty(t)&&$a[t]||($a[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,gS(t.replace(bj,"ms-")))):hj.test(t)?$a.hasOwnProperty(t)&&$a[t]||($a[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!dy.test(n)||hp.hasOwnProperty(n)&&hp[n]||(hp[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(dy,""))),typeof n=="number"&&(isNaN(n)?fy||(fy=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||my||(my=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n=="boolean"||n===""?s?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":s?e.setProperty(t,n):typeof n!="number"||n===0||py.has(t)?t==="float"?e.cssFloat=n:(ne(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function Tb(e,t,n){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,n!=null){if(t){var s={};if(n){for(var r in n)if(n.hasOwnProperty(r)&&!t.hasOwnProperty(r))for(var o=pp[r]||[r],u=0;u<o.length;u++)s[o[u]]=r}for(var f in t)if(t.hasOwnProperty(f)&&(!n||n[f]!==t[f]))for(r=pp[f]||[f],o=0;o<r.length;o++)s[r[o]]=f;f={};for(var b in t)for(r=pp[b]||[b],o=0;o<r.length;o++)f[r[o]]=b;b={};for(var x in s)if(r=s[x],(o=f[x])&&r!==o&&(u=r+","+o,!b[u])){b[u]=!0,u=console;var P=t[r];u.error.call(u,"%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.",P==null||typeof P=="boolean"||P===""?"Removing":"Updating",r,o)}}for(var _ in n)!n.hasOwnProperty(_)||t!=null&&t.hasOwnProperty(_)||(_.indexOf("--")===0?e.setProperty(_,""):_==="float"?e.cssFloat="":e[_]="");for(var O in t)x=t[O],t.hasOwnProperty(O)&&n[O]!==x&&Db(e,O,x)}else for(s in t)t.hasOwnProperty(s)&&Db(e,s,t[s])}function ti(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Ub(e){return xj.get(e)||e}function yS(e,t){if(ur.call(Ia,t)&&Ia[t])return!0;if(yj.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=hy.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Ia[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Ia[t]=!0}if(gj.test(t)){if(e=t.toLowerCase(),e=hy.hasOwnProperty(e)?e:null,e==null)return Ia[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Ia[t]=!0)}return!0}function NS(e,t){var n=[],s;for(s in t)yS(e,s)||n.push(s);t=n.map(function(r){return"`"+r+"`"}).join(", "),n.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<n.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function SS(e,t,n,s){if(ur.call(dn,t)&&dn[t])return!0;var r=t.toLowerCase();if(r==="onfocusin"||r==="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."),dn[t]=!0;if(typeof n=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(s!=null){if(e=s.possibleRegistrationNames,s.registrationNameDependencies.hasOwnProperty(t))return!0;if(s=e.hasOwnProperty(r)?e[r]:null,s!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,s),dn[t]=!0;if(vy.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),dn[t]=!0}else if(vy.test(t))return Nj.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),dn[t]=!0;if(Sj.test(t)||wj.test(t))return!0;if(r==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),dn[t]=!0;if(r==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),dn[t]=!0;if(r==="is"&&n!==null&&n!==void 0&&typeof n!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),dn[t]=!0;if(typeof n=="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),dn[t]=!0;if(Fu.hasOwnProperty(r)){if(r=Fu[r],r!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,r),dn[t]=!0}else if(t!==r)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,r),dn[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof n){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return r=t.toLowerCase().slice(0,5),r==="data-"||r==="aria-"?!0:(n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),dn[t]=!0)}case"function":case"symbol":return dn[t]=!0,!1;case"string":if(n==="false"||n==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),dn[t]=!0}}return!0}function wS(e,t,n){var s=[],r;for(r in t)SS(e,r,t[r],n)||s.push(r);t=s.map(function(o){return"`"+o+"`"}).join(", "),s.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<s.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function ni(e){return jj.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function rf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Cb(e){var t=yn(e);if(t&&(e=t.stateNode)){var n=e[Dn]||null;e:switch(e=t.stateNode,t.type){case"input":if(Kd(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for($(t,"name"),n=n.querySelectorAll('input[name="'+Zn(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var s=n[t];if(s!==e&&s.form===e.form){var r=s[Dn]||null;if(!r)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Kd(s,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<n.length;t++)s=n[t],s.form===e.form&&ub(s)}break e;case"textarea":vb(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Da(e,!!n.multiple,t,!1)}}}function Rb(e,t,n){if(bp)return e(t,n);bp=!0;try{var s=e(t);return s}finally{if(bp=!1,(Xa!==null||Za!==null)&&(ka(),Xa&&(t=Xa,e=Za,Za=Xa=null,Cb(t),e)))for(t=0;t<e.length;t++)Cb(e[t])}}function si(e,t){var n=e.stateNode;if(n===null)return null;var s=n[Dn]||null;if(s===null)return null;n=s[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(e=e.type,s=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!s;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function Ab(){if(Yu)return Yu;var e,t=xp,n=t.length,s,r="value"in Kr?Kr.value:Kr.textContent,o=r.length;for(e=0;e<n&&t[e]===r[e];e++);var u=n-e;for(s=1;s<=u&&t[n-s]===r[o-s];s++);return Yu=r.slice(e,1<s?1-s:void 0)}function Bc(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Lc(){return!0}function Vb(){return!1}function Sn(e){function t(n,s,r,o,u){this._reactName=n,this._targetInst=r,this.type=s,this.nativeEvent=o,this.target=u,this.currentTarget=null;for(var f in e)e.hasOwnProperty(f)&&(n=e[f],this[f]=n?n(o):o[f]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Lc:Vb,this.isPropagationStopped=Vb,this}return qe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Lc)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Lc)},persist:function(){},isPersistent:Lc}),t}function jS(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=zj[e])?!!t[e]:!1}function of(){return jS}function Mb(e,t){switch(e){case"keyup":return Xj.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Ny;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ob(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function ES(e,t){switch(e){case"compositionend":return Ob(t);case"keypress":return t.which!==wy?null:(Ey=!0,jy);case"textInput":return e=t.data,e===jy&&Ey?null:e;default:return null}}function DS(e,t){if(Ka)return e==="compositionend"||!Sp&&Mb(e,t)?(e=Ab(),Yu=xp=Kr=null,Ka=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Sy&&t.locale!=="ko"?null:t.data;default:return null}}function Pb(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Kj[e.type]:t==="textarea"}function TS(e){if(!Ls)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function kb(e,t,n,s){Xa?Za?Za.push(s):Za=[s]:Xa=s,t=Eu(t,"onChange"),0<t.length&&(n=new Gu("onChange","change",null,n,s),e.push({event:n,listeners:t}))}function US(e){sg(e,0)}function qc(e){var t=ms(e);if(ub(t))return e}function zb(e,t){if(e==="change")return t}function Hb(){Li&&(Li.detachEvent("onpropertychange",_b),qi=Li=null)}function _b(e){if(e.propertyName==="value"&&qc(qi)){var t=[];kb(t,qi,e,rf(e)),Rb(US,t)}}function CS(e,t,n){e==="focusin"?(Hb(),Li=t,qi=n,Li.attachEvent("onpropertychange",_b)):e==="focusout"&&Hb()}function RS(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return qc(qi)}function AS(e,t){if(e==="click")return qc(t)}function VS(e,t){if(e==="input"||e==="change")return qc(t)}function MS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function ri(e,t){if(fn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),s=Object.keys(t);if(n.length!==s.length)return!1;for(s=0;s<n.length;s++){var r=n[s];if(!ur.call(t,r)||!fn(e[r],t[r]))return!1}return!0}function Bb(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lb(e,t){var n=Bb(e);e=0;for(var s;n;){if(n.nodeType===3){if(s=e+n.textContent.length,e<=t&&s>=t)return{node:n,offset:t-e};e=s}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Bb(n)}}function qb(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?qb(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Fb(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=zc(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=zc(e.document)}return t}function af(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Yb(e,t,n){var s=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;jp||Ja==null||Ja!==zc(s)||(s=Ja,"selectionStart"in s&&af(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),Fi&&ri(Fi,s)||(Fi=s,s=Eu(wp,"onSelect"),0<s.length&&(t=new Gu("onSelect","select",null,t,n),e.push({event:t,listeners:s}),t.target=Ja)))}function Ao(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function Vo(e){if(Ep[e])return Ep[e];if(!Wa[e])return e;var t=Wa[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ty)return Ep[e]=t[n];return e}function ps(e,t){Vy.set(e,t),ee(t,[e])}function Bn(e,t){if(typeof e=="object"&&e!==null){var n=Tp.get(e);return n!==void 0?n:(t={value:e,source:t,stack:Zl(t)},Tp.set(e,t),t)}return{value:e,source:t,stack:Zl(t)}}function Fc(){for(var e=el,t=Up=el=0;t<e;){var n=es[t];es[t++]=null;var s=es[t];es[t++]=null;var r=es[t];es[t++]=null;var o=es[t];if(es[t++]=null,s!==null&&r!==null){var u=s.pending;u===null?r.next=r:(r.next=u.next,u.next=r),s.pending=r}o!==0&&Gb(n,r,o)}}function Yc(e,t,n,s){es[el++]=e,es[el++]=t,es[el++]=n,es[el++]=s,Up|=s,e.lanes|=s,e=e.alternate,e!==null&&(e.lanes|=s)}function lf(e,t,n,s){return Yc(e,t,n,s),Gc(e)}function wn(e,t){return Yc(e,null,null,t),Gc(e)}function Gb(e,t,n){e.lanes|=n;var s=e.alternate;s!==null&&(s.lanes|=n);for(var r=!1,o=e.return;o!==null;)o.childLanes|=n,s=o.alternate,s!==null&&(s.childLanes|=n),o.tag===22&&(e=o.stateNode,e===null||e._visibility&Qu||(r=!0)),e=o,o=o.return;return e.tag===3?(o=e.stateNode,r&&t!==null&&(r=31-un(n),e=o.hiddenUpdates,s=e[r],s===null?e[r]=[t]:s.push(t),t.lane=n|536870912),o):null}function Gc(e){if(dc>yE)throw aa=dc=0,fc=rh=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.");aa>NE&&(aa=0,fc=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&Zx(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&Zx(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function Mo(e){if(ts===null)return e;var t=ts(e);return t===void 0?e:t.current}function cf(e){if(ts===null)return e;var t=ts(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=Mo(e.render),e.render!==t)?(t={$$typeof:Vi,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function $b(e,t){if(ts===null)return!1;var n=e.elementType;t=t.type;var s=!1,r=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(s=!0);break;case 0:(typeof t=="function"||r===Yn)&&(s=!0);break;case 11:(r===Vi||r===Yn)&&(s=!0);break;case 14:case 15:(r===ku||r===Yn)&&(s=!0);break;default:return!1}return!!(s&&(e=ts(n),e!==void 0&&e===ts(t)))}function Qb(e){ts!==null&&typeof WeakSet=="function"&&(tl===null&&(tl=new WeakSet),tl.add(e))}function uf(e,t,n){var s=e.alternate,r=e.child,o=e.sibling,u=e.tag,f=e.type,b=null;switch(u){case 0:case 15:case 1:b=f;break;case 11:b=f.render}if(ts===null)throw Error("Expected resolveFamily to be set during hot reload.");var x=!1;f=!1,b!==null&&(b=ts(b),b!==void 0&&(n.has(b)?f=!0:t.has(b)&&(u===1?f=!0:x=!0))),tl!==null&&(tl.has(e)||s!==null&&tl.has(s))&&(f=!0),f&&(e._debugNeedsRemount=!0),(f||x)&&(s=wn(e,2),s!==null&&Mt(s,e,2)),r===null||f||uf(r,t,n),o!==null&&uf(o,t,n)}function OS(e,t,n,s){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,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,Oy||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function df(e){return e=e.prototype,!(!e||!e.isReactComponent)}function er(e,t){var n=e.alternate;switch(n===null?(n=g(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=Mo(e.type);break;case 1:n.type=Mo(e.type);break;case 11:n.type=cf(e.type)}return n}function Ib(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function ff(e,t,n,s,r,o){var u=0,f=e;if(typeof e=="function")df(e)&&(u=1),f=Mo(f);else if(typeof e=="string")u=B(),u=Ow(e,n,u)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case np:return t=g(31,n,t,r),t.elementType=np,t.lanes=o,t;case Fa:return Oo(n.children,r,o,t);case Pu:u=8,r|=rn,r|=vs;break;case Jm:return e=n,s=r,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=g(12,e,t,s|Jt),t.elementType=Jm,t.lanes=o,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case ep:return t=g(13,n,t,r),t.elementType=ep,t.lanes=o,t;case tp:return t=g(19,n,t,r),t.elementType=tp,t.lanes=o,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Iw:case ks:u=10;break e;case Wm:u=9;break e;case Vi:u=11,f=cf(f);break e;case ku:u=14;break e;case Yn:u=16,f=null;break e}f="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(f+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":Kt(e)?n="array":e!==void 0&&e.$$typeof===$r?(n="<"+(we(e.type)||"Unknown")+" />",f=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(u=s?J(s):null)&&(f+=`
115
-
116
- Check the render method of \``+u+"`."),u=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(n+"."+f)),f=null}return t=g(u,n,t,r),t.elementType=e,t.type=f,t.lanes=o,t._debugOwner=s,t}function $c(e,t,n){return t=ff(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function Oo(e,t,n,s){return e=g(7,e,s,t),e.lanes=n,e}function mf(e,t,n){return e=g(6,e,null,t),e.lanes=n,e}function pf(e,t,n){return t=g(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Po(e,t){ko(),nl[sl++]=Xu,nl[sl++]=Iu,Iu=e,Xu=t}function Xb(e,t,n){ko(),ns[ss++]=mr,ns[ss++]=pr,ns[ss++]=Io,Io=e;var s=mr;e=pr;var r=32-un(s)-1;s&=~(1<<r),n+=1;var o=32-un(t)+r;if(30<o){var u=r-r%5;o=(s&(1<<u)-1).toString(32),s>>=u,r-=u,mr=1<<32-un(t)+r|n<<r|s,pr=o+e}else mr=1<<o|n<<r|s,pr=e}function hf(e){ko(),e.return!==null&&(Po(e,1),Xb(e,1,0))}function bf(e){for(;e===Iu;)Iu=nl[--sl],nl[sl]=null,Xu=nl[--sl],nl[sl]=null;for(;e===Io;)Io=ns[--ss],ns[ss]=null,pr=ns[--ss],ns[ss]=null,mr=ns[--ss],ns[ss]=null}function ko(){tt||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function zo(e,t){if(e.return===null){if(rs===null)rs={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(rs.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");rs.distanceFromLeaf>t&&(rs.distanceFromLeaf=t)}return rs}var n=zo(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?(n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function vf(e,t){hr||(e=zo(e,0),e.serverProps=null,t!==null&&(t=vg(t),e.serverTail.push(t)))}function Ho(e){var t="",n=rs;throw n!==null&&(rs=null,t=nf(n)),li(Bn(Error(`Hydration failed because the server rendered 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:
117
-
118
- - A server/client branch \`if (typeof window !== 'undefined')\`.
119
- - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
120
- - Date formatting in a user's locale which doesn't match the server.
121
- - External changing data without sending a snapshot of it along with the HTML.
122
- - Invalid HTML tag nesting.
123
-
124
- It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
125
-
126
- https://react.dev/link/hydration-mismatch`+t),e)),Cp}function Zb(e){var t=e.stateNode,n=e.type,s=e.memoizedProps;switch(t[sn]=e,t[Dn]=s,Om(n,s),n){case"dialog":Ke("cancel",t),Ke("close",t);break;case"iframe":case"object":case"embed":Ke("load",t);break;case"video":case"audio":for(n=0;n<mc.length;n++)Ke(mc[n],t);break;case"source":Ke("error",t);break;case"img":case"image":case"link":Ke("error",t),Ke("load",t);break;case"details":Ke("toggle",t);break;case"input":ye("input",s),Ke("invalid",t),db(t,s),fb(t,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0),kc(t);break;case"option":mb(t,s);break;case"select":ye("select",s),Ke("invalid",t),hb(t,s);break;case"textarea":ye("textarea",s),Ke("invalid",t),bb(t,s),xb(t,s.value,s.defaultValue,s.children),kc(t)}n=s.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||s.suppressHydrationWarning===!0||lg(t.textContent,n)?(s.popover!=null&&(Ke("beforetoggle",t),Ke("toggle",t)),s.onScroll!=null&&Ke("scroll",t),s.onScrollEnd!=null&&Ke("scrollend",t),s.onClick!=null&&(t.onclick=Du),t=!0):t=!1,t||Ho(e)}function Kb(e){for(mn=e.return;mn;)switch(mn.tag){case 5:case 13:qs=!1;return;case 27:case 3:qs=!0;return;default:mn=mn.return}}function oi(e){if(e!==mn)return!1;if(!tt)return Kb(e),tt=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||_m(e.type,e.memoizedProps)),n=!n),n&&Ut){for(n=Ut;n;){var s=zo(e,0),r=vg(n);s.serverTail.push(r),n=r.type==="Suspense"?gg(n):Jn(n.nextSibling)}Ho(e)}if(Kb(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Ut=gg(e)}else t===27?(t=Ut,Gr(e.type)?(e=bh,bh=null,Ut=e):Ut=t):Ut=mn?Jn(e.stateNode.nextSibling):null;return!0}function ai(){Ut=mn=null,hr=tt=!1}function Jb(){var e=Xo;return e!==null&&(bn===null?bn=e:bn.push.apply(bn,e),Xo=null),e}function li(e){Xo===null?Xo=[e]:Xo.push(e)}function Wb(){var e=rs;if(e!==null){rs=null;for(var t=nf(e);0<e.children.length;)e=e.children[0];je(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
127
-
128
- - A server/client branch \`if (typeof window !== 'undefined')\`.
129
- - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
130
- - Date formatting in a user's locale which doesn't match the server.
131
- - External changing data without sending a snapshot of it along with the HTML.
132
- - Invalid HTML tag nesting.
133
-
134
- It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
135
-
136
- %s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function Qc(){rl=Zu=null,ol=!1}function zr(e,t,n){ie(Rp,t._currentValue,e),t._currentValue=n,ie(Ap,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==Hy&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Hy}function tr(e,t){e._currentValue=Rp.current;var n=Ap.current;ae(Ap,t),e._currentRenderer=n,ae(Rp,t)}function xf(e,t,n){for(;e!==null;){var s=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,s!==null&&(s.childLanes|=t)):s!==null&&(s.childLanes&t)!==t&&(s.childLanes|=t),e===n)break;e=e.return}e!==n&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function gf(e,t,n,s){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var o=r.dependencies;if(o!==null){var u=r.child;o=o.firstContext;e:for(;o!==null;){var f=o;o=r;for(var b=0;b<t.length;b++)if(f.context===t[b]){o.lanes|=n,f=o.alternate,f!==null&&(f.lanes|=n),xf(o.return,n,e),s||(u=null);break e}o=f.next}}else if(r.tag===18){if(u=r.return,u===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");u.lanes|=n,o=u.alternate,o!==null&&(o.lanes|=n),xf(u,n,e),u=null}else u=r.child;if(u!==null)u.return=r;else for(u=r;u!==null;){if(u===e){u=null;break}if(r=u.sibling,r!==null){r.return=u.return,u=r;break}u=u.return}r=u}}function ii(e,t,n,s){e=null;for(var r=t,o=!1;r!==null;){if(!o){if((r.flags&524288)!==0)o=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var u=r.alternate;if(u===null)throw Error("Should have a current fiber. This is a bug in React.");if(u=u.memoizedProps,u!==null){var f=r.type;fn(r.pendingProps.value,u.value)||(e!==null?e.push(f):e=[f])}}else if(r===zu.current){if(u=r.alternate,u===null)throw Error("Should have a current fiber. This is a bug in React.");u.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(vc):e=[vc])}r=r.return}e!==null&&gf(t,e,n,s),t.flags|=262144}function Ic(e){for(e=e.firstContext;e!==null;){if(!fn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function _o(e){Zu=e,rl=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function gt(e){return ol&&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()."),ev(Zu,e)}function Xc(e,t){return Zu===null&&_o(e),ev(e,t)}function ev(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},rl===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");rl=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else rl=rl.next=t;return n}function yf(){return{controller:new oE,data:new Map,refCount:0}}function Bo(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function ci(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&aE(lE,function(){e.controller.abort()})}function nr(){var e=Zo;return Zo=0,e}function Zc(e){var t=Zo;return Zo=e,t}function ui(e){var t=Zo;return Zo+=e,t}function Nf(e){Tn=al(),0>e.actualStartTime&&(e.actualStartTime=Tn)}function Sf(e){if(0<=Tn){var t=al()-Tn;e.actualDuration+=t,e.selfBaseDuration=t,Tn=-1}}function tv(e){if(0<=Tn){var t=al()-Tn;e.actualDuration+=t,Tn=-1}}function Cs(){if(0<=Tn){var e=al()-Tn;Tn=-1,Zo+=e}}function Rs(){Tn=al()}function Kc(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function PS(e,t){if(Yi===null){var n=Yi=[];Vp=0,Ko=Rm(),ll={status:"pending",value:void 0,then:function(s){n.push(s)}}}return Vp++,t.then(nv,nv),t}function nv(){if(--Vp===0&&Yi!==null){ll!==null&&(ll.status="fulfilled");var e=Yi;Yi=null,Ko=0,ll=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function kS(e,t){var n=[],s={status:"pending",value:null,reason:null,then:function(r){n.push(r)}};return e.then(function(){s.status="fulfilled",s.value=t;for(var r=0;r<n.length;r++)(0,n[r])(t)},function(r){for(s.status="rejected",s.reason=r,r=0;r<n.length;r++)(0,n[r])(void 0)}),s}function wf(){var e=Jo.current;return e!==null?e:mt.pooledCache}function Jc(e,t){t===null?ie(Jo,Jo.current,e):ie(Jo,t.pool,e)}function sv(){var e=wf();return e===null?null:{parent:Bt._currentValue,pool:e}}function rv(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function ov(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Wc(){}function av(e,t,n){H.actQueue!==null&&(H.didUsePromise=!0);var s=e.thenables;switch(n=s[n],n===void 0?s.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(Wc,Wc),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,iv(e),e;default:if(typeof t.status=="string")t.then(Wc,Wc);else{if(e=mt,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(r){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=r}},function(r){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=r}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,iv(e),e}throw Ji=t,nd=!0,Ki}}function lv(){if(Ji===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Ji;return Ji=null,nd=!1,e}function iv(e){if(e===Ki||e===td)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 jf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ef(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Hr(e){return{lane:e,tag:Fy,payload:null,callback:null,next:null}}function _r(e,t,n){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,Pp===s&&!$y){var r=W(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
137
-
138
- Please update the following component: %s`,r),$y=!0}return(rt&hn)!==$n?(r=s.pending,r===null?t.next=t:(t.next=r.next,r.next=t),s.pending=t,t=Gc(e),Gb(e,null,n),t):(Yc(e,s,t,n),Gc(e))}function di(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var s=t.lanes;s&=e.pendingLanes,n|=s,t.lanes=n,Js(e,n)}}function eu(e,t){var n=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,n===s)){var r=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var u={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};o===null?r=o=u:o=o.next=u,n=n.next}while(n!==null);o===null?r=o=t:o=o.next=t}else r=o=t;n={baseState:s.baseState,firstBaseUpdate:r,lastBaseUpdate:o,shared:s.shared,callbacks:s.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function fi(){if(kp){var e=ll;if(e!==null)throw e}}function mi(e,t,n,s){kp=!1;var r=e.updateQueue;Wr=!1,Pp=r.shared;var o=r.firstBaseUpdate,u=r.lastBaseUpdate,f=r.shared.pending;if(f!==null){r.shared.pending=null;var b=f,x=b.next;b.next=null,u===null?o=x:u.next=x,u=b;var P=e.alternate;P!==null&&(P=P.updateQueue,f=P.lastBaseUpdate,f!==u&&(f===null?P.firstBaseUpdate=x:f.next=x,P.lastBaseUpdate=b))}if(o!==null){var _=r.baseState;u=0,P=x=b=null,f=o;do{var O=f.lane&-536870913,q=O!==f.lane;if(q?(Ze&O)===O:(s&O)===O){O!==0&&O===Ko&&(kp=!0),P!==null&&(P=P.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});e:{O=e;var he=f,Re=t,pt=n;switch(he.tag){case Yy:if(he=he.payload,typeof he=="function"){ol=!0;var Je=he.call(pt,_,Re);if(O.mode&rn){pe(!0);try{he.call(pt,_,Re)}finally{pe(!1)}}ol=!1,_=Je;break e}_=he;break e;case Op:O.flags=O.flags&-65537|128;case Fy:if(Je=he.payload,typeof Je=="function"){if(ol=!0,he=Je.call(pt,_,Re),O.mode&rn){pe(!0);try{Je.call(pt,_,Re)}finally{pe(!1)}}ol=!1}else he=Je;if(he==null)break e;_=qe({},_,he);break e;case Gy:Wr=!0}}O=f.callback,O!==null&&(e.flags|=64,q&&(e.flags|=8192),q=r.callbacks,q===null?r.callbacks=[O]:q.push(O))}else q={lane:O,tag:f.tag,payload:f.payload,callback:f.callback,next:null},P===null?(x=P=q,b=_):P=P.next=q,u|=O;if(f=f.next,f===null){if(f=r.shared.pending,f===null)break;q=f,f=q.next,q.next=null,r.lastBaseUpdate=q,r.shared.pending=null}}while(!0);P===null&&(b=_),r.baseState=b,r.firstBaseUpdate=x,r.lastBaseUpdate=P,o===null&&(r.shared.lanes=0),so|=u,e.lanes=u,e.memoizedState=_}Pp=null}function cv(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function zS(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)cv(n[e],t)}function uv(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)cv(n[e],t)}function dv(e,t){var n=Gs;ie(sd,n,e),ie(il,t,e),Gs=n|t.baseLanes}function Df(e){ie(sd,Gs,e),ie(il,il.current,e)}function Tf(e){Gs=sd.current,ae(il,e),ae(sd,e)}function Xe(){var e=z;ls===null?ls=[e]:ls.push(e)}function te(){var e=z;if(ls!==null&&(vr++,ls[vr]!==e)){var t=W(Me);if(!Qy.has(t)&&(Qy.add(t),ls!==null)){for(var n="",s=0;s<=vr;s++){var r=ls[s],o=s===vr?e:r;for(r=s+1+". "+r;30>r.length;)r+=" ";r+=o+`
139
- `,n+=r}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
140
-
141
- Previous render Next render
142
- ------------------------------------------------------
143
- %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
144
- `,t,n)}}}function Ca(e){e==null||Kt(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",z,typeof e)}function tu(){var e=W(Me);Xy.has(e)||(Xy.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function Vt(){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:
145
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
146
- 2. You might be breaking the Rules of Hooks
147
- 3. You might have more than one copy of React in the same app
148
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Uf(e,t){if(ec)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",z),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
149
-
150
- Previous: %s
151
- Incoming: %s`,z,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!fn(e[n],t[n]))return!1;return!0}function Cf(e,t,n,s,r,o){eo=o,Me=t,ls=e!==null?e._debugHookTypes:null,vr=-1,ec=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(o=W(Me),zp.has(o)||(zp.add(o),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.",o===null?"An unknown Component":"<"+o+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,H.H=e!==null&&e.memoizedState!==null?_p:ls!==null?Zy:Hp,ea=o=(t.mode&rn)!==ht;var u=Bp(n,s,r);if(ea=!1,ul&&(u=Rf(t,n,s,r)),o){pe(!0);try{u=Rf(t,n,s,r)}finally{pe(!1)}}return fv(e,t),u}function fv(e,t){t._debugHookTypes=ls,t.dependencies===null?br!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:br}):t.dependencies._debugThenableState=br,H.H=ad;var n=ft!==null&&ft.next!==null;if(eo=0,ls=z=Ht=ft=Me=null,vr=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),rd=!1,Wi=0,br=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||$t||(e=e.dependencies,e!==null&&Ic(e)&&($t=!0)),nd?(nd=!1,e=!0):e=!1,e&&(t=W(t)||"Unknown",Iy.has(t)||zp.has(t)||(Iy.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Rf(e,t,n,s){Me=e;var r=0;do{if(ul&&(br=null),Wi=0,ul=!1,r>=cE)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(r+=1,ec=!1,Ht=ft=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}vr=-1,H.H=Ky,o=Bp(t,n,s)}while(ul);return o}function HS(){var e=H.H,t=e.useState()[0];return t=typeof t.then=="function"?pi(t):t,e=e.useState()[0],(ft!==null?ft.memoizedState:null)!==e&&(Me.flags|=1024),t}function Af(){var e=od!==0;return od=0,e}function Vf(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&vs)!==ht?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function Mf(e){if(rd){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}rd=!1}eo=0,ls=Ht=ft=Me=null,vr=-1,z=null,ul=!1,Wi=od=0,br=null}function jn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ht===null?Me.memoizedState=Ht=e:Ht=Ht.next=e,Ht}function ct(){if(ft===null){var e=Me.alternate;e=e!==null?e.memoizedState:null}else e=ft.next;var t=Ht===null?Me.memoizedState:Ht.next;if(t!==null)Ht=t,ft=e;else{if(e===null)throw Me.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");ft=e,e={memoizedState:ft.memoizedState,baseState:ft.baseState,baseQueue:ft.baseQueue,queue:ft.queue,next:null},Ht===null?Me.memoizedState=Ht=e:Ht=Ht.next=e}return Ht}function Of(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function pi(e){var t=Wi;return Wi+=1,br===null&&(br=rv()),e=av(br,e,t),t=Me,(Ht===null?t.memoizedState:Ht.next)===null&&(t=t.alternate,H.H=t!==null&&t.memoizedState!==null?_p:Hp),e}function Br(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return pi(e);if(e.$$typeof===ks)return gt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Lo(e){var t=null,n=Me.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var s=Me.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(t={data:s.data.map(function(r){return r.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Of(),Me.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||ec)for(n=t.data[t.index]=Array(e),s=0;s<e;s++)n[s]=Xw;else n.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",n.length,e);return t.index++,n}function hs(e,t){return typeof t=="function"?t(e):t}function Pf(e,t,n){var s=jn();if(n!==void 0){var r=n(t);if(ea){pe(!0);try{n(t)}finally{pe(!1)}}}else r=t;return s.memoizedState=s.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},s.queue=e,e=e.dispatch=qS.bind(null,Me,e),[s.memoizedState,e]}function Ra(e){var t=ct();return kf(t,ft,e)}function kf(e,t,n){var s=e.queue;if(s===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");s.lastRenderedReducer=n;var r=e.baseQueue,o=s.pending;if(o!==null){if(r!==null){var u=r.next;r.next=o.next,o.next=u}t.baseQueue!==r&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=r=o,s.pending=null}if(o=e.baseState,r===null)e.memoizedState=o;else{t=r.next;var f=u=null,b=null,x=t,P=!1;do{var _=x.lane&-536870913;if(_!==x.lane?(Ze&_)===_:(eo&_)===_){var O=x.revertLane;if(O===0)b!==null&&(b=b.next={lane:0,revertLane:0,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null}),_===Ko&&(P=!0);else if((eo&O)===O){x=x.next,O===Ko&&(P=!0);continue}else _={lane:0,revertLane:x.revertLane,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null},b===null?(f=b=_,u=o):b=b.next=_,Me.lanes|=O,so|=O;_=x.action,ea&&n(o,_),o=x.hasEagerState?x.eagerState:n(o,_)}else O={lane:_,revertLane:x.revertLane,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null},b===null?(f=b=O,u=o):b=b.next=O,Me.lanes|=_,so|=_;x=x.next}while(x!==null&&x!==t);if(b===null?u=o:b.next=f,!fn(o,e.memoizedState)&&($t=!0,P&&(n=ll,n!==null)))throw n;e.memoizedState=o,e.baseState=u,e.baseQueue=b,s.lastRenderedState=o}return r===null&&(s.lanes=0),[e.memoizedState,s.dispatch]}function hi(e){var t=ct(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var s=n.dispatch,r=n.pending,o=t.memoizedState;if(r!==null){n.pending=null;var u=r=r.next;do o=e(o,u.action),u=u.next;while(u!==r);fn(o,t.memoizedState)||($t=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,s]}function zf(e,t,n){var s=Me,r=jn();if(tt){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var o=n();cl||o===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),cl=!0)}else{if(o=t(),cl||(n=t(),fn(o,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),cl=!0)),mt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Ze&124)!==0||mv(s,t,o)}return r.memoizedState=o,n={value:o,getSnapshot:t},r.queue=n,au(hv.bind(null,s,n,e),[e]),s.flags|=2048,Va(as|Lt,ou(),pv.bind(null,s,n,o,t),null),o}function nu(e,t,n){var s=Me,r=ct(),o=tt;if(o){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!cl){var u=t();fn(n,u)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),cl=!0)}(u=!fn((ft||r).memoizedState,n))&&(r.memoizedState=n,$t=!0),r=r.queue;var f=hv.bind(null,s,r,e);if(En(2048,Lt,f,[e]),r.getSnapshot!==t||u||Ht!==null&&Ht.memoizedState.tag&as){if(s.flags|=2048,Va(as|Lt,ou(),pv.bind(null,s,r,n,t),null),mt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");o||(eo&124)!==0||mv(s,t,n)}return n}function mv(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Me.updateQueue,t===null?(t=Of(),Me.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function pv(e,t,n,s){t.value=n,t.getSnapshot=s,bv(t)&&vv(e)}function hv(e,t,n){return n(function(){bv(t)&&vv(e)})}function bv(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!fn(e,n)}catch{return!0}}function vv(e){var t=wn(e,2);t!==null&&Mt(t,e,2)}function Hf(e){var t=jn();if(typeof e=="function"){var n=e;if(e=n(),ea){pe(!0);try{n()}finally{pe(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:hs,lastRenderedState:e},t}function _f(e){e=Hf(e);var t=e.queue,n=kv.bind(null,Me,t);return t.dispatch=n,[e.memoizedState,n]}function Bf(e){var t=jn();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Wf.bind(null,Me,!0,n),n.dispatch=t,[e,t]}function xv(e,t){var n=ct();return gv(n,ft,e,t)}function gv(e,t,n,s){return e.baseState=n,kf(e,ft,typeof s=="function"?s:hs)}function yv(e,t){var n=ct();return ft!==null?gv(n,ft,e,t):(n.baseState=e,[e,n.queue.dispatch])}function _S(e,t,n,s,r){if(uu(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var o={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(u){o.listeners.push(u)}};H.T!==null?n(!0):o.isTransition=!1,s(o),n=t.pending,n===null?(o.next=t.pending=o,Nv(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Nv(e,t){var n=t.action,s=t.payload,r=e.state;if(t.isTransition){var o=H.T,u={};H.T=u,H.T._updatedFibers=new Set;try{var f=n(r,s),b=H.S;b!==null&&b(u,f),Sv(e,t,f)}catch(x){Lf(e,t,x)}finally{H.T=o,o===null&&u._updatedFibers&&(e=u._updatedFibers.size,u._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{u=n(r,s),Sv(e,t,u)}catch(x){Lf(e,t,x)}}function Sv(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?(n.then(function(s){wv(e,t,s)},function(s){return Lf(e,t,s)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):wv(e,t,n)}function wv(e,t,n){t.status="fulfilled",t.value=n,jv(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Nv(e,n)))}function Lf(e,t,n){var s=e.pending;if(e.pending=null,s!==null){s=s.next;do t.status="rejected",t.reason=n,jv(t),t=t.next;while(t!==s)}e.action=null}function jv(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Ev(e,t){return t}function Aa(e,t){if(tt){var n=mt.formState;if(n!==null){e:{var s=Me;if(tt){if(Ut){t:{for(var r=Ut,o=qs;r.nodeType!==8;){if(!o){r=null;break t}if(r=Jn(r.nextSibling),r===null){r=null;break t}}o=r.data,r=o===fh||o===X0?r:null}if(r){Ut=Jn(r.nextSibling),s=r.data===fh;break e}}Ho(s)}s=!1}s&&(t=n[0])}}return n=jn(),n.memoizedState=n.baseState=t,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ev,lastRenderedState:t},n.queue=s,n=kv.bind(null,Me,s),s.dispatch=n,s=Hf(!1),o=Wf.bind(null,Me,!1,s.queue),s=jn(),r={state:t,dispatch:null,action:e,pending:null},s.queue=r,n=_S.bind(null,Me,r,o,n),r.dispatch=n,s.memoizedState=e,[t,n,!1]}function su(e){var t=ct();return Dv(t,ft,e)}function Dv(e,t,n){if(t=kf(e,t,Ev)[0],e=Ra(hs)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var s=pi(t)}catch(u){throw u===Ki?td:u}else s=t;t=ct();var r=t.queue,o=r.dispatch;return n!==t.memoizedState&&(Me.flags|=2048,Va(as|Lt,ou(),BS.bind(null,r,n),null)),[s,o,e]}function BS(e,t){e.action=t}function ru(e){var t=ct(),n=ft;if(n!==null)return Dv(t,n,e);ct(),t=t.memoizedState,n=ct();var s=n.queue.dispatch;return n.memoizedState=e,[t,s,!1]}function Va(e,t,n,s){return e={tag:e,create:n,deps:s,inst:t,next:null},t=Me.updateQueue,t===null&&(t=Of(),Me.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(s=n.next,n.next=e,e.next=s,t.lastEffect=e),e}function ou(){return{destroy:void 0,resource:void 0}}function qf(e){var t=jn();return e={current:e},t.memoizedState=e}function qo(e,t,n,s){var r=jn();s=s===void 0?null:s,Me.flags|=e,r.memoizedState=Va(as|t,ou(),n,s)}function En(e,t,n,s){var r=ct();s=s===void 0?null:s;var o=r.memoizedState.inst;ft!==null&&s!==null&&Uf(s,ft.memoizedState.deps)?r.memoizedState=Va(t,o,n,s):(Me.flags|=e,r.memoizedState=Va(as|t,o,n,s))}function au(e,t){(Me.mode&vs)!==ht&&(Me.mode&My)===ht?qo(276826112,Lt,e,t):qo(8390656,Lt,e,t)}function Ff(e,t){var n=4194308;return(Me.mode&vs)!==ht&&(n|=134217728),qo(n,Wt,e,t)}function Tv(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function Yf(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null;var s=4194308;(Me.mode&vs)!==ht&&(s|=134217728),qo(s,Wt,Tv.bind(null,t,e),n)}function lu(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null,En(4,Wt,Tv.bind(null,t,e),n)}function Gf(e,t){return jn().memoizedState=[e,t===void 0?null:t],e}function iu(e,t){var n=ct();t=t===void 0?null:t;var s=n.memoizedState;return t!==null&&Uf(t,s[1])?s[0]:(n.memoizedState=[e,t],e)}function $f(e,t){var n=jn();t=t===void 0?null:t;var s=e();if(ea){pe(!0);try{e()}finally{pe(!1)}}return n.memoizedState=[s,t],s}function cu(e,t){var n=ct();t=t===void 0?null:t;var s=n.memoizedState;if(t!==null&&Uf(t,s[1]))return s[0];if(s=e(),ea){pe(!0);try{e()}finally{pe(!1)}}return n.memoizedState=[s,t],s}function Qf(e,t){var n=jn();return If(n,e,t)}function Uv(e,t){var n=ct();return Rv(n,ft.memoizedState,e,t)}function Cv(e,t){var n=ct();return ft===null?If(n,e,t):Rv(n,ft.memoizedState,e,t)}function If(e,t,n){return n===void 0||(eo&1073741824)!==0?e.memoizedState=t:(e.memoizedState=n,e=Ax(),Me.lanes|=e,so|=e,n)}function Rv(e,t,n,s){return fn(n,t)?n:il.current!==null?(e=If(e,n,s),fn(e,t)||($t=!0),e):(eo&42)===0?($t=!0,e.memoizedState=n):(e=Ax(),Me.lanes|=e,so|=e,t)}function Av(e,t,n,s,r){var o=st.p;st.p=o!==0&&o<_s?o:_s;var u=H.T,f={};H.T=f,Wf(e,!1,t,n),f._updatedFibers=new Set;try{var b=r(),x=H.S;if(x!==null&&x(f,b),b!==null&&typeof b=="object"&&typeof b.then=="function"){var P=kS(b,s);bi(e,t,P,Fn(e))}else bi(e,t,s,Fn(e))}catch(_){bi(e,t,{then:function(){},status:"rejected",reason:_},Fn(e))}finally{st.p=o,H.T=u,u===null&&f._updatedFibers&&(e=f._updatedFibers.size,f._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Xf(e,t,n,s){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var r=Vv(e).queue;Av(e,r,t,da,n===null?V:function(){return Mv(e),n(s)})}function Vv(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:da,baseState:da,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:hs,lastRenderedState:da},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:hs,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Mv(e){H.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=Vv(e).next.queue;bi(e,t,{},Fn(e))}function Zf(){var e=Hf(!1);return e=Av.bind(null,Me,e.queue,!0,!1),jn().memoizedState=e,[!1,e]}function Ov(){var e=Ra(hs)[0],t=ct().memoizedState;return[typeof e=="boolean"?e:pi(e),t]}function Pv(){var e=hi(hs)[0],t=ct().memoizedState;return[typeof e=="boolean"?e:pi(e),t]}function Fo(){return gt(vc)}function Kf(){var e=jn(),t=mt.identifierPrefix;if(tt){var n=pr,s=mr;n=(s&~(1<<32-un(s)-1)).toString(32)+n,t="«"+t+"R"+n,n=od++,0<n&&(t+="H"+n.toString(32)),t+="»"}else n=iE++,t="«"+t+"r"+n.toString(32)+"»";return e.memoizedState=t}function Jf(){return jn().memoizedState=LS.bind(null,Me)}function LS(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var s=Fn(n);e=Hr(s);var r=_r(n,e,s);r!==null&&(Mt(r,n,s),di(r,n,s)),n=yf(),t!=null&&r!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:n};return}n=n.return}}function qS(e,t,n){var s=arguments;typeof s[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()."),s=Fn(e);var r={lane:s,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};uu(e)?zv(t,r):(r=lf(e,t,r,s),r!==null&&(Mt(r,e,s),Hv(r,t,s))),tn(e,s)}function kv(e,t,n){var s=arguments;typeof s[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()."),s=Fn(e),bi(e,t,n,s),tn(e,s)}function bi(e,t,n,s){var r={lane:s,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(uu(e))zv(t,r);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null)){var u=H.H;H.H=gs;try{var f=t.lastRenderedState,b=o(f,n);if(r.hasEagerState=!0,r.eagerState=b,fn(b,f))return Yc(e,t,r,0),mt===null&&Fc(),!1}catch{}finally{H.H=u}}if(n=lf(e,t,r,s),n!==null)return Mt(n,e,s),Hv(n,t,s),!0}return!1}function Wf(e,t,n,s){if(H.T===null&&Ko===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."),s={lane:2,revertLane:Rm(),action:s,hasEagerState:!1,eagerState:null,next:null},uu(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=lf(e,n,s,2),t!==null&&Mt(t,e,2);tn(e,2)}function uu(e){var t=e.alternate;return e===Me||t!==null&&t===Me}function zv(e,t){ul=rd=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Hv(e,t,n){if((n&4194048)!==0){var s=t.lanes;s&=e.pendingLanes,n|=s,t.lanes=n,Js(e,n)}}function It(e){var t=Le;return e!=null&&(Le=t===null?e:t.concat(e)),t}function du(e,t,n){for(var s=Object.keys(e.props),r=0;r<s.length;r++){var o=s[r];if(o!=="children"&&o!=="key"){t===null&&(t=$c(e,n.mode,0),t._debugInfo=Le,t.return=n),je(t,function(u){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",u)},o);break}}}function fu(e){var t=tc;return tc+=1,dl===null&&(dl=rv()),av(dl,e,t)}function vi(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function mu(e,t){throw t.$$typeof===Qw?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
152
- - Multiple copies of the "react" package is used.
153
- - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
154
- - A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function pu(e,t){var n=W(e)||"Component";f0[n]||(f0[n]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
155
- root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
156
- <%s>{%s}</%s>`,t,t,n,t,n))}function hu(e,t){var n=W(e)||"Component";m0[n]||(m0[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
157
- root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
158
- <%s>%s</%s>`,n,t,n))}function _v(e){function t(w,j){if(e){var T=w.deletions;T===null?(w.deletions=[j],w.flags|=16):T.push(j)}}function n(w,j){if(!e)return null;for(;j!==null;)t(w,j),j=j.sibling;return null}function s(w){for(var j=new Map;w!==null;)w.key!==null?j.set(w.key,w):j.set(w.index,w),w=w.sibling;return j}function r(w,j){return w=er(w,j),w.index=0,w.sibling=null,w}function o(w,j,T){return w.index=T,e?(T=w.alternate,T!==null?(T=T.index,T<j?(w.flags|=67108866,j):T):(w.flags|=67108866,j)):(w.flags|=1048576,j)}function u(w){return e&&w.alternate===null&&(w.flags|=67108866),w}function f(w,j,T,F){return j===null||j.tag!==6?(j=mf(T,w.mode,F),j.return=w,j._debugOwner=w,j._debugTask=w._debugTask,j._debugInfo=Le,j):(j=r(j,T),j.return=w,j._debugInfo=Le,j)}function b(w,j,T,F){var re=T.type;return re===Fa?(j=P(w,j,T.props.children,F,T.key),du(T,j,w),j):j!==null&&(j.elementType===re||$b(j,T)||typeof re=="object"&&re!==null&&re.$$typeof===Yn&&to(re)===j.type)?(j=r(j,T.props),vi(j,T),j.return=w,j._debugOwner=T._owner,j._debugInfo=Le,j):(j=$c(T,w.mode,F),vi(j,T),j.return=w,j._debugInfo=Le,j)}function x(w,j,T,F){return j===null||j.tag!==4||j.stateNode.containerInfo!==T.containerInfo||j.stateNode.implementation!==T.implementation?(j=pf(T,w.mode,F),j.return=w,j._debugInfo=Le,j):(j=r(j,T.children||[]),j.return=w,j._debugInfo=Le,j)}function P(w,j,T,F,re){return j===null||j.tag!==7?(j=Oo(T,w.mode,F,re),j.return=w,j._debugOwner=w,j._debugTask=w._debugTask,j._debugInfo=Le,j):(j=r(j,T),j.return=w,j._debugInfo=Le,j)}function _(w,j,T){if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return j=mf(""+j,w.mode,T),j.return=w,j._debugOwner=w,j._debugTask=w._debugTask,j._debugInfo=Le,j;if(typeof j=="object"&&j!==null){switch(j.$$typeof){case $r:return T=$c(j,w.mode,T),vi(T,j),T.return=w,w=It(j._debugInfo),T._debugInfo=Le,Le=w,T;case qa:return j=pf(j,w.mode,T),j.return=w,j._debugInfo=Le,j;case Yn:var F=It(j._debugInfo);return j=to(j),w=_(w,j,T),Le=F,w}if(Kt(j)||me(j))return T=Oo(j,w.mode,T,null),T.return=w,T._debugOwner=w,T._debugTask=w._debugTask,w=It(j._debugInfo),T._debugInfo=Le,Le=w,T;if(typeof j.then=="function")return F=It(j._debugInfo),w=_(w,fu(j),T),Le=F,w;if(j.$$typeof===ks)return _(w,Xc(w,j),T);mu(w,j)}return typeof j=="function"&&pu(w,j),typeof j=="symbol"&&hu(w,j),null}function O(w,j,T,F){var re=j!==null?j.key:null;if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return re!==null?null:f(w,j,""+T,F);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case $r:return T.key===re?(re=It(T._debugInfo),w=b(w,j,T,F),Le=re,w):null;case qa:return T.key===re?x(w,j,T,F):null;case Yn:return re=It(T._debugInfo),T=to(T),w=O(w,j,T,F),Le=re,w}if(Kt(T)||me(T))return re!==null?null:(re=It(T._debugInfo),w=P(w,j,T,F,null),Le=re,w);if(typeof T.then=="function")return re=It(T._debugInfo),w=O(w,j,fu(T),F),Le=re,w;if(T.$$typeof===ks)return O(w,j,Xc(w,T),F);mu(w,T)}return typeof T=="function"&&pu(w,T),typeof T=="symbol"&&hu(w,T),null}function q(w,j,T,F,re){if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return w=w.get(T)||null,f(j,w,""+F,re);if(typeof F=="object"&&F!==null){switch(F.$$typeof){case $r:return T=w.get(F.key===null?T:F.key)||null,w=It(F._debugInfo),j=b(j,T,F,re),Le=w,j;case qa:return w=w.get(F.key===null?T:F.key)||null,x(j,w,F,re);case Yn:var Pe=It(F._debugInfo);return F=to(F),j=q(w,j,T,F,re),Le=Pe,j}if(Kt(F)||me(F))return T=w.get(T)||null,w=It(F._debugInfo),j=P(j,T,F,re,null),Le=w,j;if(typeof F.then=="function")return Pe=It(F._debugInfo),j=q(w,j,T,fu(F),re),Le=Pe,j;if(F.$$typeof===ks)return q(w,j,T,Xc(j,F),re);mu(j,F)}return typeof F=="function"&&pu(j,F),typeof F=="symbol"&&hu(j,F),null}function he(w,j,T,F){if(typeof T!="object"||T===null)return F;switch(T.$$typeof){case $r:case qa:E(w,j,T);var re=T.key;if(typeof re!="string")break;if(F===null){F=new Set,F.add(re);break}if(!F.has(re)){F.add(re);break}je(j,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.",re)});break;case Yn:T=to(T),he(w,j,T,F)}return F}function Re(w,j,T,F){for(var re=null,Pe=null,be=null,ke=j,_e=j=0,bt=null;ke!==null&&_e<T.length;_e++){ke.index>_e?(bt=ke,ke=null):bt=ke.sibling;var Pt=O(w,ke,T[_e],F);if(Pt===null){ke===null&&(ke=bt);break}re=he(w,Pt,T[_e],re),e&&ke&&Pt.alternate===null&&t(w,ke),j=o(Pt,j,_e),be===null?Pe=Pt:be.sibling=Pt,be=Pt,ke=bt}if(_e===T.length)return n(w,ke),tt&&Po(w,_e),Pe;if(ke===null){for(;_e<T.length;_e++)ke=_(w,T[_e],F),ke!==null&&(re=he(w,ke,T[_e],re),j=o(ke,j,_e),be===null?Pe=ke:be.sibling=ke,be=ke);return tt&&Po(w,_e),Pe}for(ke=s(ke);_e<T.length;_e++)bt=q(ke,w,_e,T[_e],F),bt!==null&&(re=he(w,bt,T[_e],re),e&&bt.alternate!==null&&ke.delete(bt.key===null?_e:bt.key),j=o(bt,j,_e),be===null?Pe=bt:be.sibling=bt,be=bt);return e&&ke.forEach(function(wr){return t(w,wr)}),tt&&Po(w,_e),Pe}function pt(w,j,T,F){if(T==null)throw Error("An iterable object provided no iterator.");for(var re=null,Pe=null,be=j,ke=j=0,_e=null,bt=null,Pt=T.next();be!==null&&!Pt.done;ke++,Pt=T.next()){be.index>ke?(_e=be,be=null):_e=be.sibling;var wr=O(w,be,Pt.value,F);if(wr===null){be===null&&(be=_e);break}bt=he(w,wr,Pt.value,bt),e&&be&&wr.alternate===null&&t(w,be),j=o(wr,j,ke),Pe===null?re=wr:Pe.sibling=wr,Pe=wr,be=_e}if(Pt.done)return n(w,be),tt&&Po(w,ke),re;if(be===null){for(;!Pt.done;ke++,Pt=T.next())be=_(w,Pt.value,F),be!==null&&(bt=he(w,be,Pt.value,bt),j=o(be,j,ke),Pe===null?re=be:Pe.sibling=be,Pe=be);return tt&&Po(w,ke),re}for(be=s(be);!Pt.done;ke++,Pt=T.next())_e=q(be,w,ke,Pt.value,F),_e!==null&&(bt=he(w,_e,Pt.value,bt),e&&_e.alternate!==null&&be.delete(_e.key===null?ke:_e.key),j=o(_e,j,ke),Pe===null?re=_e:Pe.sibling=_e,Pe=_e);return e&&be.forEach(function(PE){return t(w,PE)}),tt&&Po(w,ke),re}function Je(w,j,T,F){if(typeof T=="object"&&T!==null&&T.type===Fa&&T.key===null&&(du(T,null,w),T=T.props.children),typeof T=="object"&&T!==null){switch(T.$$typeof){case $r:var re=It(T._debugInfo);e:{for(var Pe=T.key;j!==null;){if(j.key===Pe){if(Pe=T.type,Pe===Fa){if(j.tag===7){n(w,j.sibling),F=r(j,T.props.children),F.return=w,F._debugOwner=T._owner,F._debugInfo=Le,du(T,F,w),w=F;break e}}else if(j.elementType===Pe||$b(j,T)||typeof Pe=="object"&&Pe!==null&&Pe.$$typeof===Yn&&to(Pe)===j.type){n(w,j.sibling),F=r(j,T.props),vi(F,T),F.return=w,F._debugOwner=T._owner,F._debugInfo=Le,w=F;break e}n(w,j);break}else t(w,j);j=j.sibling}T.type===Fa?(F=Oo(T.props.children,w.mode,F,T.key),F.return=w,F._debugOwner=w,F._debugTask=w._debugTask,F._debugInfo=Le,du(T,F,w),w=F):(F=$c(T,w.mode,F),vi(F,T),F.return=w,F._debugInfo=Le,w=F)}return w=u(w),Le=re,w;case qa:e:{for(re=T,T=re.key;j!==null;){if(j.key===T)if(j.tag===4&&j.stateNode.containerInfo===re.containerInfo&&j.stateNode.implementation===re.implementation){n(w,j.sibling),F=r(j,re.children||[]),F.return=w,w=F;break e}else{n(w,j);break}else t(w,j);j=j.sibling}F=pf(re,w.mode,F),F.return=w,w=F}return u(w);case Yn:return re=It(T._debugInfo),T=to(T),w=Je(w,j,T,F),Le=re,w}if(Kt(T))return re=It(T._debugInfo),w=Re(w,j,T,F),Le=re,w;if(me(T)){if(re=It(T._debugInfo),Pe=me(T),typeof Pe!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var be=Pe.call(T);return be===T?(w.tag!==0||Object.prototype.toString.call(w.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(be)!=="[object Generator]")&&(u0||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."),u0=!0):T.entries!==Pe||qp||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),qp=!0),w=pt(w,j,be,F),Le=re,w}if(typeof T.then=="function")return re=It(T._debugInfo),w=Je(w,j,fu(T),F),Le=re,w;if(T.$$typeof===ks)return Je(w,j,Xc(w,T),F);mu(w,T)}return typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint"?(re=""+T,j!==null&&j.tag===6?(n(w,j.sibling),F=r(j,re),F.return=w,w=F):(n(w,j),F=mf(re,w.mode,F),F.return=w,F._debugOwner=w,F._debugTask=w._debugTask,F._debugInfo=Le,w=F),u(w)):(typeof T=="function"&&pu(w,T),typeof T=="symbol"&&hu(w,T),n(w,j))}return function(w,j,T,F){var re=Le;Le=null;try{tc=0;var Pe=Je(w,j,T,F);return dl=null,Pe}catch(bt){if(bt===Ki||bt===td)throw bt;var be=g(29,bt,null,w.mode);be.lanes=F,be.return=w;var ke=be._debugInfo=Le;if(be._debugOwner=w._debugOwner,be._debugTask=w._debugTask,ke!=null){for(var _e=ke.length-1;0<=_e;_e--)if(typeof ke[_e].stack=="string"){be._debugOwner=ke[_e],be._debugTask=ke[_e].debugTask;break}}return be}finally{Le=re}}}function Lr(e){var t=e.alternate;ie(qt,qt.current&ml,e),ie(is,e,e),Ys===null&&(t===null||il.current!==null||t.memoizedState!==null)&&(Ys=e)}function Bv(e){if(e.tag===22){if(ie(qt,qt.current,e),ie(is,e,e),Ys===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Ys=e)}}else qr(e)}function qr(e){ie(qt,qt.current,e),ie(is,is.current,e)}function sr(e){ae(is,e),Ys===e&&(Ys=null),ae(qt,e)}function bu(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===yr||Lm(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function em(e){if(e!==null&&typeof e!="function"){var t=String(e);E0.has(t)||(E0.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function tm(e,t,n,s){var r=e.memoizedState,o=n(s,r);if(e.mode&rn){pe(!0);try{o=n(s,r)}finally{pe(!1)}}o===void 0&&(t=we(t)||"Component",N0.has(t)||(N0.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),r=o==null?r:qe({},r,o),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}function Lv(e,t,n,s,r,o,u){var f=e.stateNode;if(typeof f.shouldComponentUpdate=="function"){if(n=f.shouldComponentUpdate(s,o,u),e.mode&rn){pe(!0);try{n=f.shouldComponentUpdate(s,o,u)}finally{pe(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",we(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!ri(n,s)||!ri(r,o):!0}function qv(e,t,n,s){var r=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,s),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,s),t.state!==r&&(e=W(e)||"Component",b0.has(e)||(b0.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),Fp.enqueueReplaceState(t,t.state,null))}function Yo(e,t){var n=t;if("ref"in t){n={};for(var s in t)s!=="ref"&&(n[s]=t[s])}if(e=e.defaultProps){n===t&&(n=qe({},n));for(var r in e)n[r]===void 0&&(n[r]=e[r])}return n}function Fv(e){Yp(e),console.warn(`%s
159
-
160
- %s
161
- `,pl?"An error occurred in the <"+pl+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
162
- Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function Yv(e){var t=pl?"The above error occurred in the <"+pl+"> component.":"The above error occurred in one of your React components.",n="React will try to recreate this component tree from scratch using the error boundary you provided, "+((Gp||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var s=e.environmentName;e=[`%o
163
-
164
- %s
165
-
166
- %s
167
- `,e,t,n].slice(0),typeof e[0]=="string"?e.splice(0,1,sN+e[0],rN,Ed+s+Ed,oN):e.splice(0,0,sN,rN,Ed+s+Ed,oN),e.unshift(console),s=ME.apply(console.error,e),s()}else console.error(`%o
168
-
169
- %s
170
-
171
- %s
172
- `,e,t,n)}function Gv(e){Yp(e)}function vu(e,t){try{pl=t.source?W(t.source):null,Gp=null;var n=t.value;if(H.actQueue!==null)H.thrownErrors.push(n);else{var s=e.onUncaughtError;s(n,{componentStack:t.stack})}}catch(r){setTimeout(function(){throw r})}}function $v(e,t,n){try{pl=n.source?W(n.source):null,Gp=W(t);var s=e.onCaughtError;s(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function nm(e,t,n){return n=Hr(n),n.tag=Op,n.payload={element:null},n.callback=function(){je(t.source,vu,e,t)},n}function sm(e){return e=Hr(e),e.tag=Op,e}function rm(e,t,n,s){var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var o=s.value;e.payload=function(){return r(o)},e.callback=function(){Qb(n),je(s.source,$v,t,n,s)}}var u=n.stateNode;u!==null&&typeof u.componentDidCatch=="function"&&(e.callback=function(){Qb(n),je(s.source,$v,t,n,s),typeof r!="function"&&(oo===null?oo=new Set([this]):oo.add(this)),uE(this,s),typeof r=="function"||(n.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",W(n)||"Unknown")})}function FS(e,t,n,s,r){if(n.flags|=32768,bs&&ji(e,r),s!==null&&typeof s=="object"&&typeof s.then=="function"){if(t=n.alternate,t!==null&&ii(t,n,r,!0),tt&&(hr=!0),n=is.current,n!==null){switch(n.tag){case 13:return Ys===null?wm():n.alternate===null&&Ct===gr&&(Ct=Xp),n.flags&=-257,n.flags|=65536,n.lanes=r,s===Mp?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([s]):t.add(s),Dm(e,s,r)),!1;case 22:return n.flags|=65536,s===Mp?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([s])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([s]):n.add(s)),Dm(e,s,r)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return Dm(e,s,r),wm(),!1}if(tt)return hr=!0,t=is.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,s!==Cp&&li(Bn(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:s}),n))):(s!==Cp&&li(Bn(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:s}),n)),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,s=Bn(s,n),r=nm(e.stateNode,s,r),eu(e,r),Ct!==ta&&(Ct=xl)),!1;var o=Bn(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:s}),n);if(cc===null?cc=[o]:cc.push(o),Ct!==ta&&(Ct=xl),t===null)return!0;s=Bn(s,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=r&-r,n.lanes|=e,e=nm(n.stateNode,s,e),eu(n,e),!1;case 1:if(t=n.type,o=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(oo===null||!oo.has(o))))return n.flags|=65536,r&=-r,n.lanes|=r,r=sm(r),rm(r,e,n,s),eu(n,r),!1}n=n.return}while(n!==null);return!1}function Xt(e,t,n,s){t.child=e===null?p0(t,null,n,s):fl(t,e.child,n,s)}function Qv(e,t,n,s,r){n=n.render;var o=t.ref;if("ref"in s){var u={};for(var f in s)f!=="ref"&&(u[f]=s[f])}else u=s;return _o(t),Ie(t),s=Cf(e,t,n,u,o,r),f=Af(),Ve(),e!==null&&!$t?(Vf(e,t,r),rr(e,t,r)):(tt&&f&&hf(t),t.flags|=1,Xt(e,t,s,r),t.child)}function Iv(e,t,n,s,r){if(e===null){var o=n.type;return typeof o=="function"&&!df(o)&&o.defaultProps===void 0&&n.compare===null?(n=Mo(o),t.tag=15,t.type=n,am(t,o),Xv(e,t,n,s,r)):(e=ff(n.type,null,s,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!fm(e,r)){var u=o.memoizedProps;if(n=n.compare,n=n!==null?n:ri,n(u,s)&&e.ref===t.ref)return rr(e,t,r)}return t.flags|=1,e=er(o,s),e.ref=t.ref,e.return=t,t.child=e}function Xv(e,t,n,s,r){if(e!==null){var o=e.memoizedProps;if(ri(o,s)&&e.ref===t.ref&&t.type===e.type)if($t=!1,t.pendingProps=s=o,fm(e,r))(e.flags&131072)!==0&&($t=!0);else return t.lanes=e.lanes,rr(e,t,r)}return om(e,t,n,s,r)}function Zv(e,t,n){var s=t.pendingProps,r=s.children,o=e!==null?e.memoizedState:null;if(s.mode==="hidden"){if((t.flags&128)!==0){if(s=o!==null?o.baseLanes|n:n,e!==null){for(r=t.child=e.child,o=0;r!==null;)o=o|r.lanes|r.childLanes,r=r.sibling;t.childLanes=o&~s}else t.childLanes=0,t.child=null;return Kv(e,t,s,n)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Jc(t,o!==null?o.cachePool:null),o!==null?dv(t,o):Df(t),Bv(t);else return t.lanes=t.childLanes=536870912,Kv(e,t,o!==null?o.baseLanes|n:n,n)}else o!==null?(Jc(t,o.cachePool),dv(t,o),qr(t),t.memoizedState=null):(e!==null&&Jc(t,null),Df(t),qr(t));return Xt(e,t,r,n),t.child}function Kv(e,t,n,s){var r=wf();return r=r===null?null:{parent:Bt._currentValue,pool:r},t.memoizedState={baseLanes:n,cachePool:r},e!==null&&Jc(t,null),Df(t),Bv(t),e!==null&&ii(e,t,s,!0),null}function xu(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==n)&&(t.flags|=4194816)}}function om(e,t,n,s,r){if(n.prototype&&typeof n.prototype.render=="function"){var o=we(n)||"Unknown";T0[o]||(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.",o,o),T0[o]=!0)}return t.mode&rn&&xs.recordLegacyContextWarning(t,null),e===null&&(am(t,t.type),n.contextTypes&&(o=we(n)||"Unknown",C0[o]||(C0[o]=!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)",o)))),_o(t),Ie(t),n=Cf(e,t,n,s,void 0,r),s=Af(),Ve(),e!==null&&!$t?(Vf(e,t,r),rr(e,t,r)):(tt&&s&&hf(t),t.flags|=1,Xt(e,t,n,r),t.child)}function Jv(e,t,n,s,r,o){return _o(t),Ie(t),vr=-1,ec=e!==null&&e.type!==t.type,t.updateQueue=null,n=Rf(t,s,n,r),fv(e,t),s=Af(),Ve(),e!==null&&!$t?(Vf(e,t,o),rr(e,t,o)):(tt&&s&&hf(t),t.flags|=1,Xt(e,t,n,o),t.child)}function Wv(e,t,n,s,r){switch(S(t)){case!1:var o=t.stateNode,u=new t.type(t.memoizedProps,o.context).state;o.updater.enqueueSetState(o,u,null);break;case!0:t.flags|=128,t.flags|=65536,o=Error("Simulated error coming from DevTools");var f=r&-r;if(t.lanes|=f,u=mt,u===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");f=sm(f),rm(f,u,t,Bn(o,t)),eu(t,f)}if(_o(t),t.stateNode===null){if(u=Jr,o=n.contextType,"contextType"in n&&o!==null&&(o===void 0||o.$$typeof!==ks)&&!j0.has(n)&&(j0.add(n),f=o===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 o!="object"?" However, it is set to a "+typeof o+".":o.$$typeof===Wm?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(o).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",we(n)||"Component",f)),typeof o=="object"&&o!==null&&(u=gt(o)),o=new n(s,u),t.mode&rn){pe(!0);try{o=new n(s,u)}finally{pe(!1)}}if(u=t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=Fp,t.stateNode=o,o._reactInternals=t,o._reactInternalInstance=h0,typeof n.getDerivedStateFromProps=="function"&&u===null&&(u=we(n)||"Component",v0.has(u)||(v0.add(u),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.",u,o.state===null?"null":"undefined",u))),typeof n.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"){var b=f=u=null;if(typeof o.componentWillMount=="function"&&o.componentWillMount.__suppressDeprecationWarning!==!0?u="componentWillMount":typeof o.UNSAFE_componentWillMount=="function"&&(u="UNSAFE_componentWillMount"),typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps.__suppressDeprecationWarning!==!0?f="componentWillReceiveProps":typeof o.UNSAFE_componentWillReceiveProps=="function"&&(f="UNSAFE_componentWillReceiveProps"),typeof o.componentWillUpdate=="function"&&o.componentWillUpdate.__suppressDeprecationWarning!==!0?b="componentWillUpdate":typeof o.UNSAFE_componentWillUpdate=="function"&&(b="UNSAFE_componentWillUpdate"),u!==null||f!==null||b!==null){o=we(n)||"Component";var x=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";g0.has(o)||(g0.add(o),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
173
-
174
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
175
-
176
- The above lifecycles should be removed. Learn more about this warning here:
177
- https://react.dev/link/unsafe-component-lifecycles`,o,x,u!==null?`
178
- `+u:"",f!==null?`
179
- `+f:"",b!==null?`
180
- `+b:""))}}o=t.stateNode,u=we(n)||"Component",o.render||(n.prototype&&typeof n.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",u):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",u)),!o.getInitialState||o.getInitialState.isReactClassApproved||o.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?",u),o.getDefaultProps&&!o.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.",u),o.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",u),n.childContextTypes&&!w0.has(n)&&(w0.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",u)),n.contextTypes&&!S0.has(n)&&(S0.add(n),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",u)),typeof o.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.",u),n.prototype&&n.prototype.isPureReactComponent&&typeof o.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.",we(n)||"A pure component"),typeof o.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",u),typeof o.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().",u),typeof o.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",u),typeof o.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",u),f=o.props!==s,o.props!==void 0&&f&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",u),o.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.",u,u),typeof o.getSnapshotBeforeUpdate!="function"||typeof o.componentDidUpdate=="function"||x0.has(n)||(x0.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",we(n))),typeof o.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof o.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof n.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",u),(f=o.state)&&(typeof f!="object"||Kt(f))&&console.error("%s.state: must be set to an object or null",u),typeof o.getChildContext=="function"&&typeof n.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",u),o=t.stateNode,o.props=s,o.state=t.memoizedState,o.refs={},jf(t),u=n.contextType,o.context=typeof u=="object"&&u!==null?gt(u):Jr,o.state===s&&(u=we(n)||"Component",y0.has(u)||(y0.add(u),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.",u))),t.mode&rn&&xs.recordLegacyContextWarning(t,o),xs.recordUnsafeLifecycleWarnings(t,o),o.state=t.memoizedState,u=n.getDerivedStateFromProps,typeof u=="function"&&(tm(t,n,u,s),o.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(u=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),u!==o.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",W(t)||"Component"),Fp.enqueueReplaceState(o,o.state,null)),mi(t,s,o,r),fi(),o.state=t.memoizedState),typeof o.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&vs)!==ht&&(t.flags|=134217728),o=!0}else if(e===null){o=t.stateNode;var P=t.memoizedProps;f=Yo(n,P),o.props=f;var _=o.context;b=n.contextType,u=Jr,typeof b=="object"&&b!==null&&(u=gt(b)),x=n.getDerivedStateFromProps,b=typeof x=="function"||typeof o.getSnapshotBeforeUpdate=="function",P=t.pendingProps!==P,b||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(P||_!==u)&&qv(t,o,s,u),Wr=!1;var O=t.memoizedState;o.state=O,mi(t,s,o,r),fi(),_=t.memoizedState,P||O!==_||Wr?(typeof x=="function"&&(tm(t,n,x,s),_=t.memoizedState),(f=Wr||Lv(t,n,f,s,O,_,u))?(b||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&vs)!==ht&&(t.flags|=134217728)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&vs)!==ht&&(t.flags|=134217728),t.memoizedProps=s,t.memoizedState=_),o.props=s,o.state=_,o.context=u,o=f):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&vs)!==ht&&(t.flags|=134217728),o=!1)}else{o=t.stateNode,Ef(e,t),u=t.memoizedProps,b=Yo(n,u),o.props=b,x=t.pendingProps,O=o.context,_=n.contextType,f=Jr,typeof _=="object"&&_!==null&&(f=gt(_)),P=n.getDerivedStateFromProps,(_=typeof P=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==x||O!==f)&&qv(t,o,s,f),Wr=!1,O=t.memoizedState,o.state=O,mi(t,s,o,r),fi();var q=t.memoizedState;u!==x||O!==q||Wr||e!==null&&e.dependencies!==null&&Ic(e.dependencies)?(typeof P=="function"&&(tm(t,n,P,s),q=t.memoizedState),(b=Wr||Lv(t,n,b,s,O,q,f)||e!==null&&e.dependencies!==null&&Ic(e.dependencies))?(_||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(s,q,f),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(s,q,f)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),t.memoizedProps=s,t.memoizedState=q),o.props=s,o.state=q,o.context=f,o=b):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),o=!1)}if(f=o,xu(e,t),u=(t.flags&128)!==0,f||u){if(f=t.stateNode,Zd(t),u&&typeof n.getDerivedStateFromError!="function")n=null,Tn=-1;else{if(Ie(t),n=e0(f),t.mode&rn){pe(!0);try{e0(f)}finally{pe(!1)}}Ve()}t.flags|=1,e!==null&&u?(t.child=fl(t,e.child,null,r),t.child=fl(t,null,n,r)):Xt(e,t,n,r),t.memoizedState=f.state,e=t.child}else e=rr(e,t,r);return r=t.stateNode,o&&r.props!==s&&(hl||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",W(t)||"a component"),hl=!0),e}function ex(e,t,n,s){return ai(),t.flags|=256,Xt(e,t,n,s),t.child}function am(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
181
- %s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=we(t)||"Unknown",R0[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),R0[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=we(t)||"Unknown",U0[t]||(console.error("%s: Function components do not support contextType.",t),U0[t]=!0))}function lm(e){return{baseLanes:e,cachePool:sv()}}function im(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=In),e}function tx(e,t,n){var s,r=t.pendingProps;v(t)&&(t.flags|=128);var o=!1,u=(t.flags&128)!==0;if((s=u)||(s=e!==null&&e.memoizedState===null?!1:(qt.current&nc)!==0),s&&(o=!0,t.flags&=-129),s=(t.flags&32)!==0,t.flags&=-33,e===null){if(tt){if(o?Lr(t):qr(t),tt){var f=Ut,b;if(!(b=!f)){e:{var x=f;for(b=qs;x.nodeType!==8;){if(!b){b=null;break e}if(x=Jn(x.nextSibling),x===null){b=null;break e}}b=x}b!==null?(ko(),t.memoizedState={dehydrated:b,treeContext:Io!==null?{id:mr,overflow:pr}:null,retryLane:536870912,hydrationErrors:null},x=g(18,null,null,ht),x.stateNode=b,x.return=t,t.child=x,mn=t,Ut=null,b=!0):b=!1,b=!b}b&&(vf(t,f),Ho(t))}if(f=t.memoizedState,f!==null&&(f=f.dehydrated,f!==null))return Lm(f)?t.lanes=32:t.lanes=536870912,null;sr(t)}return f=r.children,r=r.fallback,o?(qr(t),o=t.mode,f=gu({mode:"hidden",children:f},o),r=Oo(r,o,n,null),f.return=t,r.return=t,f.sibling=r,t.child=f,o=t.child,o.memoizedState=lm(n),o.childLanes=im(e,s,n),t.memoizedState=Qp,r):(Lr(t),cm(t,f))}var P=e.memoizedState;if(P!==null&&(f=P.dehydrated,f!==null)){if(u)t.flags&256?(Lr(t),t.flags&=-257,t=um(e,t,n)):t.memoizedState!==null?(qr(t),t.child=e.child,t.flags|=128,t=null):(qr(t),o=r.fallback,f=t.mode,r=gu({mode:"visible",children:r.children},f),o=Oo(o,f,n,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,fl(t,e.child,null,n),r=t.child,r.memoizedState=lm(n),r.childLanes=im(e,s,n),t.memoizedState=Qp,t=o);else if(Lr(t),tt&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),Lm(f)){if(s=f.nextSibling&&f.nextSibling.dataset,s){b=s.dgst;var _=s.msg;x=s.stck;var O=s.cstck}f=_,s=b,r=x,b=o=O,o=Error(f||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),o.stack=r||"",o.digest=s,s=b===void 0?null:b,r={value:o,source:null,stack:s},typeof s=="string"&&Tp.set(o,r),li(r),t=um(e,t,n)}else if($t||ii(e,t,n,!1),s=(n&e.childLanes)!==0,$t||s){if(s=mt,s!==null&&(r=n&-n,r=(r&42)!==0?1:Co(r),r=(r&(s.suspendedLanes|n))!==0?0:r,r!==0&&r!==P.retryLane))throw P.retryLane=r,wn(e,r),Mt(s,e,r),D0;f.data===yr||wm(),t=um(e,t,n)}else f.data===yr?(t.flags|=192,t.child=e.child,t=null):(e=P.treeContext,Ut=Jn(f.nextSibling),mn=t,tt=!0,Xo=null,hr=!1,rs=null,qs=!1,e!==null&&(ko(),ns[ss++]=mr,ns[ss++]=pr,ns[ss++]=Io,mr=e.id,pr=e.overflow,Io=t),t=cm(t,r.children),t.flags|=4096);return t}return o?(qr(t),o=r.fallback,f=t.mode,b=e.child,x=b.sibling,r=er(b,{mode:"hidden",children:r.children}),r.subtreeFlags=b.subtreeFlags&65011712,x!==null?o=er(x,o):(o=Oo(o,f,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,f=e.child.memoizedState,f===null?f=lm(n):(b=f.cachePool,b!==null?(x=Bt._currentValue,b=b.parent!==x?{parent:x,pool:x}:b):b=sv(),f={baseLanes:f.baseLanes|n,cachePool:b}),o.memoizedState=f,o.childLanes=im(e,s,n),t.memoizedState=Qp,r):(Lr(t),n=e.child,e=n.sibling,n=er(n,{mode:"visible",children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function cm(e,t){return t=gu({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function gu(e,t){return e=g(22,e,null,t),e.lanes=0,e.stateNode={_visibility:Qu,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function um(e,t,n){return fl(t,e.child,null,n),e=cm(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function nx(e,t,n){e.lanes|=t;var s=e.alternate;s!==null&&(s.lanes|=t),xf(e.return,t,n)}function sx(e,t){var n=Kt(e);return e=!n&&typeof me(e)=="function",n||e?(n=n?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",n,t,n),!1):!0}function dm(e,t,n,s,r){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:s,tail:n,tailMode:r}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=s,o.tail=n,o.tailMode=r)}function rx(e,t,n){var s=t.pendingProps,r=s.revealOrder,o=s.tail;if(s=s.children,r!==void 0&&r!=="forwards"&&r!=="backwards"&&r!=="together"&&!A0[r])if(A0[r]=!0,typeof r=="string")switch(r.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',r,r.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.',r,r.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',r)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',r);o===void 0||$p[o]||(o!=="collapsed"&&o!=="hidden"?($p[o]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',o)):r!=="forwards"&&r!=="backwards"&&($p[o]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',o)));e:if((r==="forwards"||r==="backwards")&&s!==void 0&&s!==null&&s!==!1)if(Kt(s)){for(var u=0;u<s.length;u++)if(!sx(s[u],u))break e}else if(u=me(s),typeof u=="function"){if(u=u.call(s))for(var f=u.next(),b=0;!f.done;f=u.next()){if(!sx(f.value,b))break e;b++}}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?',r);if(Xt(e,t,s,n),s=qt.current,(s&nc)!==0)s=s&ml|nc,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&nx(e,n,t);else if(e.tag===19)nx(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}s&=ml}switch(ie(qt,s,t),r){case"forwards":for(n=t.child,r=null;n!==null;)e=n.alternate,e!==null&&bu(e)===null&&(r=n),n=n.sibling;n=r,n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),dm(t,!1,r,n,o);break;case"backwards":for(n=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&bu(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}dm(t,!0,n,null,o);break;case"together":dm(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function rr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Tn=-1,so|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(ii(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,n=er(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=er(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function fm(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Ic(e)))}function YS(e,t,n){switch(t.tag){case 3:Ce(t,t.stateNode.containerInfo),zr(t,Bt,e.memoizedState.cache),ai();break;case 27:case 5:A(t);break;case 4:Ce(t,t.stateNode.containerInfo);break;case 10:zr(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var s=t.stateNode;s.effectDuration=-0,s.passiveEffectDuration=-0;break;case 13:if(s=t.memoizedState,s!==null)return s.dehydrated!==null?(Lr(t),t.flags|=128,null):(n&t.child.childLanes)!==0?tx(e,t,n):(Lr(t),e=rr(e,t,n),e!==null?e.sibling:null);Lr(t);break;case 19:var r=(e.flags&128)!==0;if(s=(n&t.childLanes)!==0,s||(ii(e,t,n,!1),s=(n&t.childLanes)!==0),r){if(s)return rx(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),ie(qt,qt.current,t),s)break;return null;case 22:case 23:return t.lanes=0,Zv(e,t,n);case 24:zr(t,Bt,e.memoizedState.cache)}return rr(e,t,n)}function mm(e,t,n){if(t._debugNeedsRemount&&e!==null){n=ff(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var s=t.return;if(s===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===s.child)s.child=n;else{var r=s.child;if(r===null)throw Error("Expected parent to have a child.");for(;r.sibling!==t;)if(r=r.sibling,r===null)throw Error("Expected to find the previous sibling.");r.sibling=n}return t=s.deletions,t===null?(s.deletions=[e],s.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)$t=!0;else{if(!fm(e,n)&&(t.flags&128)===0)return $t=!1,YS(e,t,n);$t=(e.flags&131072)!==0}else $t=!1,(s=tt)&&(ko(),s=(t.flags&1048576)!==0),s&&(s=t.index,ko(),Xb(t,Xu,s));switch(t.lanes=0,t.tag){case 16:e:if(s=t.pendingProps,e=to(t.elementType),t.type=e,typeof e=="function")df(e)?(s=Yo(e,s),t.tag=1,t.type=e=Mo(e),t=Wv(null,t,e,s,n)):(t.tag=0,am(t,e),t.type=e=Mo(e),t=om(null,t,e,s,n));else{if(e!=null){if(r=e.$$typeof,r===Vi){t.tag=11,t.type=e=cf(e),t=Qv(null,t,e,s,n);break e}else if(r===ku){t.tag=14,t=Iv(null,t,e,s,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===Yn&&(t=" Did you wrap a component in React.lazy() more than once?"),e=we(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return om(e,t,t.type,t.pendingProps,n);case 1:return s=t.type,r=Yo(s,t.pendingProps),Wv(e,t,s,r,n);case 3:e:{if(Ce(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");s=t.pendingProps;var o=t.memoizedState;r=o.element,Ef(e,t),mi(t,s,null,n);var u=t.memoizedState;if(s=u.cache,zr(t,Bt,s),s!==o.cache&&gf(t,[Bt],n,!0),fi(),s=u.element,o.isDehydrated)if(o={element:s,isDehydrated:!1,cache:u.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=ex(e,t,s,n);break e}else if(s!==r){r=Bn(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),li(r),t=ex(e,t,s,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ut=Jn(e.firstChild),mn=t,tt=!0,Xo=null,hr=!1,rs=null,qs=!0,e=p0(t,null,s,n),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(ai(),s===r){t=rr(e,t,n);break e}Xt(e,t,s,n)}t=t.child}return t;case 26:return xu(e,t),e===null?(e=wg(t.type,null,t.pendingProps,null))?t.memoizedState=e:tt||(e=t.type,n=t.pendingProps,s=Z(Ir.current),s=Tu(s).createElement(e),s[sn]=t,s[Dn]=n,Zt(s,e,n),C(s),t.stateNode=s):t.memoizedState=wg(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return A(t),e===null&&tt&&(s=Z(Ir.current),r=B(),s=t.stateNode=Ng(t.type,t.pendingProps,s,r,!1),hr||(r=fg(s,t.type,t.pendingProps,r),r!==null&&(zo(t,0).serverProps=r)),mn=t,qs=!0,r=Ut,Gr(t.type)?(bh=r,Ut=Jn(s.firstChild)):Ut=r),Xt(e,t,t.pendingProps.children,n),xu(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&tt&&(o=B(),s=sf(t.type,o.ancestorInfo),r=Ut,(u=!r)||(u=Tw(r,t.type,t.pendingProps,qs),u!==null?(t.stateNode=u,hr||(o=fg(u,t.type,t.pendingProps,o),o!==null&&(zo(t,0).serverProps=o)),mn=t,Ut=Jn(u.firstChild),qs=!1,o=!0):o=!1,u=!o),u&&(s&&vf(t,r),Ho(t))),A(t),r=t.type,o=t.pendingProps,u=e!==null?e.memoizedProps:null,s=o.children,_m(r,o)?s=null:u!==null&&_m(r,u)&&(t.flags|=32),t.memoizedState!==null&&(r=Cf(e,t,HS,null,null,n),vc._currentValue=r),xu(e,t),Xt(e,t,s,n),t.child;case 6:return e===null&&tt&&(e=t.pendingProps,n=B(),s=n.ancestorInfo.current,e=s!=null?_c(e,s.tag,n.ancestorInfo.implicitRootScope):!0,n=Ut,(s=!n)||(s=Uw(n,t.pendingProps,qs),s!==null?(t.stateNode=s,mn=t,Ut=null,s=!0):s=!1,s=!s),s&&(e&&vf(t,n),Ho(t))),null;case 13:return tx(e,t,n);case 4:return Ce(t,t.stateNode.containerInfo),s=t.pendingProps,e===null?t.child=fl(t,null,s,n):Xt(e,t,s,n),t.child;case 11:return Qv(e,t,t.type,t.pendingProps,n);case 7:return Xt(e,t,t.pendingProps,n),t.child;case 8:return Xt(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,s=t.stateNode,s.effectDuration=-0,s.passiveEffectDuration=-0,Xt(e,t,t.pendingProps.children,n),t.child;case 10:return s=t.type,r=t.pendingProps,o=r.value,"value"in r||V0||(V0=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),zr(t,s,o),Xt(e,t,r.children,n),t.child;case 9:return r=t.type._context,s=t.pendingProps.children,typeof s!="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."),_o(t),r=gt(r),Ie(t),s=Bp(s,r,void 0),Ve(),t.flags|=1,Xt(e,t,s,n),t.child;case 14:return Iv(e,t,t.type,t.pendingProps,n);case 15:return Xv(e,t,t.type,t.pendingProps,n);case 19:return rx(e,t,n);case 31:return s=t.pendingProps,n=t.mode,s={mode:s.mode,children:s.children},e===null?(e=gu(s,n),e.ref=t.ref,t.child=e,e.return=t,t=e):(e=er(e.child,s),e.ref=t.ref,t.child=e,e.return=t,t=e),t;case 22:return Zv(e,t,n);case 24:return _o(t),s=gt(Bt),e===null?(r=wf(),r===null&&(r=mt,o=yf(),r.pooledCache=o,Bo(o),o!==null&&(r.pooledCacheLanes|=n),r=o),t.memoizedState={parent:s,cache:r},jf(t),zr(t,Bt,r)):((e.lanes&n)!==0&&(Ef(e,t),mi(t,null,null,n),fi()),r=e.memoizedState,o=t.memoizedState,r.parent!==s?(r={parent:s,cache:s},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),zr(t,Bt,s)):(s=o.cache,zr(t,Bt,s),s!==r.cache&&gf(t,[Bt],n,!0))),Xt(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function or(e){e.flags|=4}function ox(e,t){if(t.type!=="stylesheet"||(t.state.loading&cs)!==ua)e.flags&=-16777217;else if(e.flags|=16777216,!Ug(t)){if(t=is.current,t!==null&&((Ze&4194048)===Ze?Ys!==null:(Ze&62914560)!==Ze&&(Ze&536870912)===0||t!==Ys))throw Ji=Mp,qy;e.flags|=8192}}function yu(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Ks():536870912,e.lanes|=t,ra|=t)}function xi(e,t){if(!tt)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var s=null;n!==null;)n.alternate!==null&&(s=n),n=n.sibling;s===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:s.sibling=null}}function yt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,s=0;if(t)if((e.mode&Jt)!==ht){for(var r=e.selfBaseDuration,o=e.child;o!==null;)n|=o.lanes|o.childLanes,s|=o.subtreeFlags&65011712,s|=o.flags&65011712,r+=o.treeBaseDuration,o=o.sibling;e.treeBaseDuration=r}else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,s|=r.subtreeFlags&65011712,s|=r.flags&65011712,r.return=e,r=r.sibling;else if((e.mode&Jt)!==ht){r=e.actualDuration,o=e.selfBaseDuration;for(var u=e.child;u!==null;)n|=u.lanes|u.childLanes,s|=u.subtreeFlags,s|=u.flags,r+=u.actualDuration,o+=u.treeBaseDuration,u=u.sibling;e.actualDuration=r,e.treeBaseDuration=o}else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,s|=r.subtreeFlags,s|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=s,e.childLanes=n,t}function GS(e,t,n){var s=t.pendingProps;switch(bf(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return yt(t),null;case 1:return yt(t),null;case 3:return n=t.stateNode,s=null,e!==null&&(s=e.memoizedState.cache),t.memoizedState.cache!==s&&(t.flags|=2048),tr(Bt,t),Ae(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(oi(t)?(Wb(),or(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Jb())),yt(t),null;case 26:return n=t.memoizedState,e===null?(or(t),n!==null?(yt(t),ox(t,n)):(yt(t),t.flags&=-16777217)):n?n!==e.memoizedState?(or(t),yt(t),ox(t,n)):(yt(t),t.flags&=-16777217):(e.memoizedProps!==s&&or(t),yt(t),t.flags&=-16777217),null;case 27:M(t),n=Z(Ir.current);var r=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==s&&or(t);else{if(!s){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return yt(t),null}e=B(),oi(t)?Zb(t):(e=Ng(r,s,n,e,!0),t.stateNode=e,or(t))}return yt(t),null;case 5:if(M(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==s&&or(t);else{if(!s){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return yt(t),null}if(r=B(),oi(t))Zb(t);else{switch(e=Z(Ir.current),sf(n,r.ancestorInfo),r=r.context,e=Tu(e),r){case jl:e=e.createElementNS(Qa,n);break;case Sd:e=e.createElementNS(qu,n);break;default:switch(n){case"svg":e=e.createElementNS(Qa,n);break;case"math":e=e.createElementNS(qu,n);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof s.is=="string"?e.createElement("select",{is:s.is}):e.createElement("select"),s.multiple?e.multiple=!0:s.size&&(e.size=s.size);break;default:e=typeof s.is=="string"?e.createElement(n,{is:s.is}):e.createElement(n),n.indexOf("-")===-1&&(n!==n.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",n),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||ur.call(K0,n)||(K0[n]=!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.",n)))}}e[sn]=t,e[Dn]=s;e:for(r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.tag!==27&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break e;for(;r.sibling===null;){if(r.return===null||r.return===t)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}t.stateNode=e;e:switch(Zt(e,n,s),n){case"button":case"input":case"select":case"textarea":e=!!s.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&or(t)}}return yt(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==s&&or(t);else{if(typeof s!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=Z(Ir.current),n=B(),oi(t)){e=t.stateNode,n=t.memoizedProps,r=!hr,s=null;var o=mn;if(o!==null)switch(o.tag){case 3:r&&(r=xg(e,n,s),r!==null&&(zo(t,0).serverProps=r));break;case 27:case 5:s=o.memoizedProps,r&&(r=xg(e,n,s),r!==null&&(zo(t,0).serverProps=r))}e[sn]=t,e=!!(e.nodeValue===n||s!==null&&s.suppressHydrationWarning===!0||lg(e.nodeValue,n)),e||Ho(t)}else r=n.ancestorInfo.current,r!=null&&_c(s,r.tag,n.ancestorInfo.implicitRootScope),e=Tu(e).createTextNode(s),e[sn]=t,t.stateNode=e}return yt(t),null;case 13:if(s=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=oi(t),s!==null&&s.dehydrated!==null){if(e===null){if(!r)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");r[sn]=t,yt(t),(t.mode&Jt)!==ht&&s!==null&&(r=t.child,r!==null&&(t.treeBaseDuration-=r.treeBaseDuration))}else Wb(),ai(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4,yt(t),(t.mode&Jt)!==ht&&s!==null&&(r=t.child,r!==null&&(t.treeBaseDuration-=r.treeBaseDuration));r=!1}else r=Jb(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(sr(t),t):(sr(t),null)}return sr(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&Jt)!==ht&&Kc(t),t):(n=s!==null,e=e!==null&&e.memoizedState!==null,n&&(s=t.child,r=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(r=s.alternate.memoizedState.cachePool.pool),o=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(o=s.memoizedState.cachePool.pool),o!==r&&(s.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),yu(t,t.updateQueue),yt(t),(t.mode&Jt)!==ht&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return Ae(t),e===null&&Vm(t.stateNode.containerInfo),yt(t),null;case 10:return tr(t.type,t),yt(t),null;case 19:if(ae(qt,t),r=t.memoizedState,r===null)return yt(t),null;if(s=(t.flags&128)!==0,o=r.rendering,o===null)if(s)xi(r,!1);else{if(Ct!==gr||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(o=bu(e),o!==null){for(t.flags|=128,xi(r,!1),e=o.updateQueue,t.updateQueue=e,yu(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Ib(n,e),n=n.sibling;return ie(qt,qt.current&ml|nc,t),t.child}e=e.sibling}r.tail!==null&&zs()>ud&&(t.flags|=128,s=!0,xi(r,!1),t.lanes=4194304)}else{if(!s)if(e=bu(o),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,yu(t,e),xi(r,!0),r.tail===null&&r.tailMode==="hidden"&&!o.alternate&&!tt)return yt(t),null}else 2*zs()-r.renderingStartTime>ud&&n!==536870912&&(t.flags|=128,s=!0,xi(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e!==null?e.sibling=o:t.child=o,r.last=o)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=zs(),e.sibling=null,n=qt.current,n=s?n&ml|nc:n&ml,ie(qt,n,t),e):(yt(t),null);case 22:case 23:return sr(t),Tf(t),s=t.memoizedState!==null,e!==null?e.memoizedState!==null!==s&&(t.flags|=8192):s&&(t.flags|=8192),s?(n&536870912)!==0&&(t.flags&128)===0&&(yt(t),t.subtreeFlags&6&&(t.flags|=8192)):yt(t),n=t.updateQueue,n!==null&&yu(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),s=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),s!==n&&(t.flags|=2048),e!==null&&ae(Jo,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),tr(Bt,t),yt(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function $S(e,t){switch(bf(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Jt)!==ht&&Kc(t),t):null;case 3:return tr(Bt,t),Ae(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return M(t),null;case 13:if(sr(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");ai()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Jt)!==ht&&Kc(t),t):null;case 19:return ae(qt,t),null;case 4:return Ae(t),null;case 10:return tr(t.type,t),null;case 22:case 23:return sr(t),Tf(t),e!==null&&ae(Jo,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Jt)!==ht&&Kc(t),t):null;case 24:return tr(Bt,t),null;case 25:return null;default:return null}}function ax(e,t){switch(bf(t),t.tag){case 3:tr(Bt,t),Ae(t);break;case 26:case 27:case 5:M(t);break;case 4:Ae(t);break;case 13:sr(t);break;case 19:ae(qt,t);break;case 10:tr(t.type,t);break;case 22:case 23:sr(t),Tf(t),e!==null&&ae(Jo,t);break;case 24:tr(Bt,t)}}function As(e){return(e.mode&Jt)!==ht}function lx(e,t){As(e)?(Rs(),gi(t,e),Cs()):gi(t,e)}function pm(e,t,n){As(e)?(Rs(),Ma(n,e,t),Cs()):Ma(n,e,t)}function gi(e,t){try{var n=t.updateQueue,s=n!==null?n.lastEffect:null;if(s!==null){var r=s.next;n=r;do{if((n.tag&e)===e&&((e&Lt)!==os?de!==null&&typeof de.markComponentPassiveEffectMountStarted=="function"&&de.markComponentPassiveEffectMountStarted(t):(e&Wt)!==os&&de!==null&&typeof de.markComponentLayoutEffectMountStarted=="function"&&de.markComponentLayoutEffectMountStarted(t),s=void 0,(e&pn)!==os&&(Sl=!0),s=je(t,dE,n),(e&pn)!==os&&(Sl=!1),(e&Lt)!==os?de!==null&&typeof de.markComponentPassiveEffectMountStopped=="function"&&de.markComponentPassiveEffectMountStopped():(e&Wt)!==os&&de!==null&&typeof de.markComponentLayoutEffectMountStopped=="function"&&de.markComponentLayoutEffectMountStopped(),s!==void 0&&typeof s!="function")){var o=void 0;o=(n.tag&Wt)!==0?"useLayoutEffect":(n.tag&pn)!==0?"useInsertionEffect":"useEffect";var u=void 0;u=s===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof s.then=="function"?`
182
-
183
- It looks like you wrote `+o+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
184
-
185
- `+o+`(() => {
186
- async function fetchData() {
187
- // You can await here
188
- const response = await MyAPI.getData(someId);
189
- // ...
190
- }
191
- fetchData();
192
- }, [someId]); // Or [] if effect doesn't need props or state
193
-
194
- Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+s,je(t,function(f,b){console.error("%s must not return anything besides a function, which is used for clean-up.%s",f,b)},o,u)}n=n.next}while(n!==r)}}catch(f){ut(t,t.return,f)}}function Ma(e,t,n){try{var s=t.updateQueue,r=s!==null?s.lastEffect:null;if(r!==null){var o=r.next;s=o;do{if((s.tag&e)===e){var u=s.inst,f=u.destroy;f!==void 0&&(u.destroy=void 0,(e&Lt)!==os?de!==null&&typeof de.markComponentPassiveEffectUnmountStarted=="function"&&de.markComponentPassiveEffectUnmountStarted(t):(e&Wt)!==os&&de!==null&&typeof de.markComponentLayoutEffectUnmountStarted=="function"&&de.markComponentLayoutEffectUnmountStarted(t),(e&pn)!==os&&(Sl=!0),r=t,je(r,fE,r,n,f),(e&pn)!==os&&(Sl=!1),(e&Lt)!==os?de!==null&&typeof de.markComponentPassiveEffectUnmountStopped=="function"&&de.markComponentPassiveEffectUnmountStopped():(e&Wt)!==os&&de!==null&&typeof de.markComponentLayoutEffectUnmountStopped=="function"&&de.markComponentLayoutEffectUnmountStopped())}s=s.next}while(s!==o)}}catch(b){ut(t,t.return,b)}}function ix(e,t){As(e)?(Rs(),gi(t,e),Cs()):gi(t,e)}function hm(e,t,n){As(e)?(Rs(),Ma(n,e,t),Cs()):Ma(n,e,t)}function cx(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||hl||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",W(e)||"instance"),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",W(e)||"instance"));try{je(e,uv,t,n)}catch(s){ut(e,e.return,s)}}}function QS(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function IS(e,t){var n=t.memoizedProps,s=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||hl||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",W(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",W(e)||"instance"));try{var r=Yo(e.type,n,e.elementType===e.type),o=je(e,QS,t,r,s);n=M0,o!==void 0||n.has(e.type)||(n.add(e.type),je(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",W(e))})),t.__reactInternalSnapshotBeforeUpdate=o}catch(u){ut(e,e.return,u)}}function ux(e,t,n){n.props=Yo(e.type,e.memoizedProps),n.state=e.memoizedState,As(e)?(Rs(),je(e,a0,e,t,n),Cs()):je(e,a0,e,t,n)}function XS(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t=="function")if(As(e))try{Rs(),e.refCleanup=t(n)}finally{Cs()}else e.refCleanup=t(n);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",W(e)),t.current=n}}function yi(e,t){try{je(e,XS,e)}catch(n){ut(e,t,n)}}function Vs(e,t){var n=e.ref,s=e.refCleanup;if(n!==null)if(typeof s=="function")try{if(As(e))try{Rs(),je(e,s)}finally{Cs(e)}else je(e,s)}catch(r){ut(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(As(e))try{Rs(),je(e,n,null)}finally{Cs(e)}else je(e,n,null)}catch(r){ut(e,t,r)}else n.current=null}function dx(e,t,n,s){var r=e.memoizedProps,o=r.id,u=r.onCommit;r=r.onRender,t=t===null?"mount":"update",Ju&&(t="nested-update"),typeof r=="function"&&r(o,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof u=="function"&&u(e.memoizedProps.id,t,s,n)}function ZS(e,t,n,s){var r=e.memoizedProps;e=r.id,r=r.onPostCommit,t=t===null?"mount":"update",Ju&&(t="nested-update"),typeof r=="function"&&r(e,t,s,n)}function fx(e){var t=e.type,n=e.memoizedProps,s=e.stateNode;try{je(e,xw,s,t,n,e)}catch(r){ut(e,e.return,r)}}function bm(e,t,n){try{je(e,gw,e.stateNode,e.type,n,t,e)}catch(s){ut(e,e.return,s)}}function mx(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Gr(e.type)||e.tag===4}function vm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||mx(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Gr(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function xm(e,t,n){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Du));else if(s!==4&&(s===27&&Gr(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(xm(e,t,n),e=e.sibling;e!==null;)xm(e,t,n),e=e.sibling}function Nu(e,t,n){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(s!==4&&(s===27&&Gr(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Nu(e,t,n),e=e.sibling;e!==null;)Nu(e,t,n),e=e.sibling}function KS(e){for(var t,n=e.return;n!==null;){if(mx(n)){t=n;break}n=n.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,n=vm(e),Nu(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(hg(n),t.flags&=-33),t=vm(e),Nu(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=vm(e),xm(e,n,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function px(e){var t=e.stateNode,n=e.memoizedProps;try{je(e,Vw,e.type,n,t,e)}catch(s){ut(e,e.return,s)}}function JS(e,t){if(e=e.containerInfo,mh=Dd,e=Fb(e),af(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var s=n.getSelection&&n.getSelection();if(s&&s.rangeCount!==0){n=s.anchorNode;var r=s.anchorOffset,o=s.focusNode;s=s.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var u=0,f=-1,b=-1,x=0,P=0,_=e,O=null;t:for(;;){for(var q;_!==n||r!==0&&_.nodeType!==3||(f=u+r),_!==o||s!==0&&_.nodeType!==3||(b=u+s),_.nodeType===3&&(u+=_.nodeValue.length),(q=_.firstChild)!==null;)O=_,_=q;for(;;){if(_===e)break t;if(O===n&&++x===r&&(f=u),O===o&&++P===s&&(b=u),(q=_.nextSibling)!==null)break;_=O,O=_.parentNode}_=q}n=f===-1||b===-1?null:{start:f,end:b}}else n=null}n=n||{start:0,end:0}}else n=null;for(ph={focusedElem:e,selectionRange:n},Dd=!1,Qt=t;Qt!==null;)if(t=Qt,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,Qt=e;else for(;Qt!==null;){switch(e=t=Qt,n=e.alternate,r=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(r&1024)!==0&&n!==null&&IS(e,n);break;case 3:if((r&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)Bm(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Bm(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,Qt=e;break}Qt=t.return}}function hx(e,t,n){var s=n.flags;switch(n.tag){case 0:case 11:case 15:lr(e,n),s&4&&lx(n,Wt|as);break;case 1:if(lr(e,n),s&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||hl||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",W(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",W(n)||"instance")),As(n)?(Rs(),je(n,Lp,n,e),Cs()):je(n,Lp,n,e);else{var r=Yo(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||hl||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",W(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",W(n)||"instance")),As(n)?(Rs(),je(n,s0,n,e,r,t,e.__reactInternalSnapshotBeforeUpdate),Cs()):je(n,s0,n,e,r,t,e.__reactInternalSnapshotBeforeUpdate)}s&64&&cx(n),s&512&&yi(n,n.return);break;case 3:if(t=nr(),lr(e,n),s&64&&(s=n.updateQueue,s!==null)){if(r=null,n.child!==null)switch(n.child.tag){case 27:case 5:r=n.child.stateNode;break;case 1:r=n.child.stateNode}try{je(n,uv,s,r)}catch(u){ut(n,n.return,u)}}e.effectDuration+=Zc(t);break;case 27:t===null&&s&4&&px(n);case 26:case 5:lr(e,n),t===null&&s&4&&fx(n),s&512&&yi(n,n.return);break;case 12:if(s&4){s=nr(),lr(e,n),e=n.stateNode,e.effectDuration+=ui(s);try{je(n,dx,n,t,Ku,e.effectDuration)}catch(u){ut(n,n.return,u)}}else lr(e,n);break;case 13:lr(e,n),s&4&&xx(e,n),s&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=lw.bind(null,n),Cw(e,n))));break;case 22:if(s=n.memoizedState!==null||xr,!s){t=t!==null&&t.memoizedState!==null||Ot,r=xr;var o=Ot;xr=s,(Ot=t)&&!o?ir(e,n,(n.subtreeFlags&8772)!==0):lr(e,n),xr=r,Ot=o}break;case 30:break;default:lr(e,n)}}function bx(e){var t=e.alternate;t!==null&&(e.alternate=null,bx(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ts(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ar(e,t,n){for(n=n.child;n!==null;)vx(e,t,n),n=n.sibling}function vx(e,t,n){if(nn&&typeof nn.onCommitFiberUnmount=="function")try{nn.onCommitFiberUnmount(Ga,n)}catch(o){Hs||(Hs=!0,console.error("React instrumentation encountered an error: %s",o))}switch(n.tag){case 26:Ot||Vs(n,t),ar(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Ot||Vs(n,t);var s=_t,r=Un;Gr(n.type)&&(_t=n.stateNode,Un=!1),ar(e,t,n),je(n,Ti,n.stateNode),_t=s,Un=r;break;case 5:Ot||Vs(n,t);case 6:if(s=_t,r=Un,_t=null,ar(e,t,n),_t=s,Un=r,_t!==null)if(Un)try{je(n,Sw,_t,n.stateNode)}catch(o){ut(n,t,o)}else try{je(n,Nw,_t,n.stateNode)}catch(o){ut(n,t,o)}break;case 18:_t!==null&&(Un?(e=_t,bg(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Ai(e)):bg(_t,n.stateNode));break;case 4:s=_t,r=Un,_t=n.stateNode.containerInfo,Un=!0,ar(e,t,n),_t=s,Un=r;break;case 0:case 11:case 14:case 15:Ot||Ma(pn,n,t),Ot||pm(n,t,Wt),ar(e,t,n);break;case 1:Ot||(Vs(n,t),s=n.stateNode,typeof s.componentWillUnmount=="function"&&ux(n,t,s)),ar(e,t,n);break;case 21:ar(e,t,n);break;case 22:Ot=(s=Ot)||n.memoizedState!==null,ar(e,t,n),Ot=s;break;default:ar(e,t,n)}}function xx(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{je(t,Aw,e)}catch(n){ut(t,t.return,n)}}function WS(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new O0),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new O0),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function gm(e,t){var n=WS(e);t.forEach(function(s){var r=iw.bind(null,e,s);if(!n.has(s)){if(n.add(s),bs)if(bl!==null&&vl!==null)ji(vl,bl);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");s.then(r,r)}})}function Ln(e,t){var n=t.deletions;if(n!==null)for(var s=0;s<n.length;s++){var r=e,o=t,u=n[s],f=o;e:for(;f!==null;){switch(f.tag){case 27:if(Gr(f.type)){_t=f.stateNode,Un=!1;break e}break;case 5:_t=f.stateNode,Un=!1;break e;case 3:case 4:_t=f.stateNode.containerInfo,Un=!0;break e}f=f.return}if(_t===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");vx(r,o,u),_t=null,Un=!1,r=u,o=r.alternate,o!==null&&(o.return=null),r.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)gx(t,e),t=t.sibling}function gx(e,t){var n=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ln(t,e),qn(e),s&4&&(Ma(pn|as,e,e.return),gi(pn|as,e),pm(e,e.return,Wt|as));break;case 1:Ln(t,e),qn(e),s&512&&(Ot||n===null||Vs(n,n.return)),s&64&&xr&&(e=e.updateQueue,e!==null&&(s=e.callbacks,s!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?s:n.concat(s))));break;case 26:var r=ys;if(Ln(t,e),qn(e),s&512&&(Ot||n===null||Vs(n,n.return)),s&4)if(t=n!==null?n.memoizedState:null,s=e.memoizedState,n===null)if(s===null)if(e.stateNode===null){e:{s=e.type,n=e.memoizedProps,t=r.ownerDocument||r;t:switch(s){case"title":r=t.getElementsByTagName("title")[0],(!r||r[Oi]||r[sn]||r.namespaceURI===Qa||r.hasAttribute("itemprop"))&&(r=t.createElement(s),t.head.insertBefore(r,t.querySelector("head > title"))),Zt(r,s,n),r[sn]=e,C(r),s=r;break e;case"link":var o=Dg("link","href",t).get(s+(n.href||""));if(o){for(var u=0;u<o.length;u++)if(r=o[u],r.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&r.getAttribute("rel")===(n.rel==null?null:n.rel)&&r.getAttribute("title")===(n.title==null?null:n.title)&&r.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){o.splice(u,1);break t}}r=t.createElement(s),Zt(r,s,n),t.head.appendChild(r);break;case"meta":if(o=Dg("meta","content",t).get(s+(n.content||""))){for(u=0;u<o.length;u++)if(r=o[u],$(n.content,"content"),r.getAttribute("content")===(n.content==null?null:""+n.content)&&r.getAttribute("name")===(n.name==null?null:n.name)&&r.getAttribute("property")===(n.property==null?null:n.property)&&r.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute("charset")===(n.charSet==null?null:n.charSet)){o.splice(u,1);break t}}r=t.createElement(s),Zt(r,s,n),t.head.appendChild(r);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+s+'". This is a bug in React.')}r[sn]=e,C(r),s=r}e.stateNode=s}else Tg(r,e.type,e.stateNode);else e.stateNode=Eg(r,s,e.memoizedProps);else t!==s?(t===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):t.count--,s===null?Tg(r,e.type,e.stateNode):Eg(r,s,e.memoizedProps)):s===null&&e.stateNode!==null&&bm(e,e.memoizedProps,n.memoizedProps);break;case 27:Ln(t,e),qn(e),s&512&&(Ot||n===null||Vs(n,n.return)),n!==null&&s&4&&bm(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Ln(t,e),qn(e),s&512&&(Ot||n===null||Vs(n,n.return)),e.flags&32){t=e.stateNode;try{je(e,hg,t)}catch(P){ut(e,e.return,P)}}s&4&&e.stateNode!=null&&(t=e.memoizedProps,bm(e,t,n!==null?n.memoizedProps:t)),s&1024&&(Ip=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Ln(t,e),qn(e),s&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");s=e.memoizedProps,n=n!==null?n.memoizedProps:s,t=e.stateNode;try{je(e,yw,t,n,s)}catch(P){ut(e,e.return,P)}}break;case 3:if(r=nr(),wd=null,o=ys,ys=Uu(t.containerInfo),Ln(t,e),ys=o,qn(e),s&4&&n!==null&&n.memoizedState.isDehydrated)try{je(e,Rw,t.containerInfo)}catch(P){ut(e,e.return,P)}Ip&&(Ip=!1,yx(e)),t.effectDuration+=Zc(r);break;case 4:s=ys,ys=Uu(e.stateNode.containerInfo),Ln(t,e),qn(e),ys=s;break;case 12:s=nr(),Ln(t,e),qn(e),e.stateNode.effectDuration+=ui(s);break;case 13:Ln(t,e),qn(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(eh=zs()),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,gm(e,s)));break;case 22:r=e.memoizedState!==null;var f=n!==null&&n.memoizedState!==null,b=xr,x=Ot;if(xr=b||r,Ot=x||f,Ln(t,e),Ot=x,xr=b,qn(e),s&8192)e:for(t=e.stateNode,t._visibility=r?t._visibility&~Qu:t._visibility|Qu,r&&(n===null||f||xr||Ot||Go(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){f=n=t;try{o=f.stateNode,r?je(f,ww,o):je(f,Ew,f.stateNode,f.memoizedProps)}catch(P){ut(f,f.return,P)}}}else if(t.tag===6){if(n===null){f=t;try{u=f.stateNode,r?je(f,jw,u):je(f,Dw,u,f.memoizedProps)}catch(P){ut(f,f.return,P)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}s&4&&(s=e.updateQueue,s!==null&&(n=s.retryQueue,n!==null&&(s.retryQueue=null,gm(e,n))));break;case 19:Ln(t,e),qn(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,gm(e,s)));break;case 30:break;case 21:break;default:Ln(t,e),qn(e)}}function qn(e){var t=e.flags;if(t&2){try{je(e,KS,e)}catch(n){ut(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function yx(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;yx(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function lr(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)hx(e,t.alternate,t),t=t.sibling}function Nx(e){switch(e.tag){case 0:case 11:case 14:case 15:pm(e,e.return,Wt),Go(e);break;case 1:Vs(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&ux(e,e.return,t),Go(e);break;case 27:je(e,Ti,e.stateNode);case 26:case 5:Vs(e,e.return),Go(e);break;case 22:e.memoizedState===null&&Go(e);break;case 30:Go(e);break;default:Go(e)}}function Go(e){for(e=e.child;e!==null;)Nx(e),e=e.sibling}function Sx(e,t,n,s){var r=n.flags;switch(n.tag){case 0:case 11:case 15:ir(e,n,s),lx(n,Wt);break;case 1:if(ir(e,n,s),t=n.stateNode,typeof t.componentDidMount=="function"&&je(n,Lp,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{je(n,zS,t,e)}catch(o){ut(n,n.return,o)}}s&&r&64&&cx(n),yi(n,n.return);break;case 27:px(n);case 26:case 5:ir(e,n,s),s&&t===null&&r&4&&fx(n),yi(n,n.return);break;case 12:if(s&&r&4){r=nr(),ir(e,n,s),s=n.stateNode,s.effectDuration+=ui(r);try{je(n,dx,n,t,Ku,s.effectDuration)}catch(o){ut(n,n.return,o)}}else ir(e,n,s);break;case 13:ir(e,n,s),s&&r&4&&xx(e,n);break;case 22:n.memoizedState===null&&ir(e,n,s),yi(n,n.return);break;case 30:break;default:ir(e,n,s)}}function ir(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Sx(e,t.alternate,t,n),t=t.sibling}function ym(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&Bo(e),n!=null&&ci(n))}function Nm(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(Bo(t),e!=null&&ci(e))}function Ms(e,t,n,s){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)wx(e,t,n,s),t=t.sibling}function wx(e,t,n,s){var r=t.flags;switch(t.tag){case 0:case 11:case 15:Ms(e,t,n,s),r&2048&&ix(t,Lt|as);break;case 1:Ms(e,t,n,s);break;case 3:var o=nr();Ms(e,t,n,s),r&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==n&&(Bo(t),n!=null&&ci(n))),e.passiveEffectDuration+=Zc(o);break;case 12:if(r&2048){r=nr(),Ms(e,t,n,s),e=t.stateNode,e.passiveEffectDuration+=ui(r);try{je(t,ZS,t,t.alternate,Ku,e.passiveEffectDuration)}catch(f){ut(t,t.return,f)}}else Ms(e,t,n,s);break;case 13:Ms(e,t,n,s);break;case 23:break;case 22:o=t.stateNode;var u=t.alternate;t.memoizedState!==null?o._visibility&fr?Ms(e,t,n,s):Ni(e,t):o._visibility&fr?Ms(e,t,n,s):(o._visibility|=fr,Oa(e,t,n,s,(t.subtreeFlags&10256)!==0)),r&2048&&ym(u,t);break;case 24:Ms(e,t,n,s),r&2048&&Nm(t.alternate,t);break;default:Ms(e,t,n,s)}}function Oa(e,t,n,s,r){for(r=r&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;)jx(e,t,n,s,r),t=t.sibling}function jx(e,t,n,s,r){var o=t.flags;switch(t.tag){case 0:case 11:case 15:Oa(e,t,n,s,r),ix(t,Lt);break;case 23:break;case 22:var u=t.stateNode;t.memoizedState!==null?u._visibility&fr?Oa(e,t,n,s,r):Ni(e,t):(u._visibility|=fr,Oa(e,t,n,s,r)),r&&o&2048&&ym(t.alternate,t);break;case 24:Oa(e,t,n,s,r),r&&o&2048&&Nm(t.alternate,t);break;default:Oa(e,t,n,s,r)}}function Ni(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,s=t,r=s.flags;switch(s.tag){case 22:Ni(n,s),r&2048&&ym(s.alternate,s);break;case 24:Ni(n,s),r&2048&&Nm(s.alternate,s);break;default:Ni(n,s)}t=t.sibling}}function Pa(e){if(e.subtreeFlags&sc)for(e=e.child;e!==null;)Ex(e),e=e.sibling}function Ex(e){switch(e.tag){case 26:Pa(e),e.flags&sc&&e.memoizedState!==null&&kw(ys,e.memoizedState,e.memoizedProps);break;case 5:Pa(e);break;case 3:case 4:var t=ys;ys=Uu(e.stateNode.containerInfo),Pa(e),ys=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=sc,sc=16777216,Pa(e),sc=t):Pa(e));break;default:Pa(e)}}function Dx(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Si(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var s=t[n];Qt=s,Cx(s,e)}Dx(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Tx(e),e=e.sibling}function Tx(e){switch(e.tag){case 0:case 11:case 15:Si(e),e.flags&2048&&hm(e,e.return,Lt|as);break;case 3:var t=nr();Si(e),e.stateNode.passiveEffectDuration+=Zc(t);break;case 12:t=nr(),Si(e),e.stateNode.passiveEffectDuration+=ui(t);break;case 22:t=e.stateNode,e.memoizedState!==null&&t._visibility&fr&&(e.return===null||e.return.tag!==13)?(t._visibility&=~fr,Su(e)):Si(e);break;default:Si(e)}}function Su(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var s=t[n];Qt=s,Cx(s,e)}Dx(e)}for(e=e.child;e!==null;)Ux(e),e=e.sibling}function Ux(e){switch(e.tag){case 0:case 11:case 15:hm(e,e.return,Lt),Su(e);break;case 22:var t=e.stateNode;t._visibility&fr&&(t._visibility&=~fr,Su(e));break;default:Su(e)}}function Cx(e,t){for(;Qt!==null;){var n=Qt,s=n;switch(s.tag){case 0:case 11:case 15:hm(s,t,Lt);break;case 23:case 22:s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(s=s.memoizedState.cachePool.pool,s!=null&&Bo(s));break;case 24:ci(s.memoizedState.cache)}if(s=n.child,s!==null)s.return=n,Qt=s;else e:for(n=e;Qt!==null;){s=Qt;var r=s.sibling,o=s.return;if(bx(s),s===n){Qt=null;break e}if(r!==null){r.return=o,Qt=r;break e}Qt=o}}}function ew(){pE.forEach(function(e){return e()})}function Rx(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||H.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Fn(e){if((rt&hn)!==$n&&Ze!==0)return Ze&-Ze;var t=H.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),e=Ko,e!==0?e:Rm()):Or()}function Ax(){In===0&&(In=(Ze&536870912)===0||tt?Be():536870912);var e=is.current;return e!==null&&(e.flags|=32),In}function Mt(e,t,n){if(Sl&&console.error("useInsertionEffect must not schedule updates."),oh&&(dd=!0),(e===mt&&(at===na||at===sa)||e.cancelPendingCommit!==null)&&(za(e,0),Fr(e,Ze,In,!1)),cn(e,n),(rt&hn)!==0&&e===mt){if(Bs)switch(t.tag){case 0:case 11:case 15:e=Ge&&W(Ge)||"Unknown",Y0.has(e)||(Y0.add(e),t=W(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:F0||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),F0=!0)}}else bs&&Mr(e,t,n),uw(t),e===mt&&((rt&hn)===$n&&(ro|=n),Ct===ta&&Fr(e,Ze,In,!1)),Os(e)}function Vx(e,t,n){if((rt&(hn|Ns))!==$n)throw Error("Should not already be working.");var s=!n&&(t&124)===0&&(t&e.expiredLanes)===0||fs(e,t),r=s?nw(e,t):jm(e,t,!0),o=s;do{if(r===gr){yl&&!s&&Fr(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!tw(n)){r=jm(e,t,!1),o=!1;continue}if(r===xl){if(o=t,e.errorRecoveryDisabledLanes&o)var u=0;else u=e.pendingLanes&-536870913,u=u!==0?u:u&536870912?536870912:0;if(u!==0){t=u;e:{r=e;var f=u;u=cc;var b=r.current.memoizedState.isDehydrated;if(b&&(za(r,f).flags|=256),f=jm(r,f,!1),f!==xl){if(Jp&&!b){r.errorRecoveryDisabledLanes|=o,ro|=o,r=ta;break e}r=bn,bn=u,r!==null&&(bn===null?bn=r:bn.push.apply(bn,r))}r=f}if(o=!1,r!==xl)continue}}if(r===oc){za(e,0),Fr(e,t,0,!0);break}e:{switch(s=e,r){case gr:case oc:throw Error("Root did not complete. This is a bug in React.");case ta:if((t&4194048)!==t)break;case id:Fr(s,t,In,!no);break e;case xl:bn=null;break;case Xp:case P0:break;default:throw Error("Unknown root exit status.")}if(H.actQueue!==null)Em(s,n,t,bn,uc,cd,In,ro,ra);else{if((t&62914560)===t&&(o=eh+z0-zs(),10<o)){if(Fr(s,t,In,!no),ln(s,0,!0)!==0)break e;s.timeoutHandle=J0(Mx.bind(null,s,n,bn,uc,cd,t,In,ro,ra,no,r,xE,_y,0),o);break e}Mx(s,n,bn,uc,cd,t,In,ro,ra,no,r,bE,_y,0)}}}break}while(!0);Os(e)}function Mx(e,t,n,s,r,o,u,f,b,x,P,_,O,q){if(e.timeoutHandle=ca,_=t.subtreeFlags,(_&8192||(_&16785408)===16785408)&&(bc={stylesheets:null,count:0,unsuspend:Pw},Ex(t),_=zw(),_!==null)){e.cancelPendingCommit=_(Em.bind(null,e,t,o,n,s,r,u,f,b,P,vE,O,q)),Fr(e,o,u,!x);return}Em(e,t,o,n,s,r,u,f,b)}function tw(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var s=0;s<n.length;s++){var r=n[s],o=r.getSnapshot;r=r.value;try{if(!fn(o(),r))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Fr(e,t,n,s){t&=~Wp,t&=~ro,e.suspendedLanes|=t,e.pingedLanes&=~t,s&&(e.warmLanes|=t),s=e.expirationTimes;for(var r=t;0<r;){var o=31-un(r),u=1<<o;s[o]=-1,r&=~u}n!==0&&Uo(e,n,t)}function ka(){return(rt&(hn|Ns))===$n?(Ei(0),!1):!0}function Sm(){if(Ge!==null){if(at===Cn)var e=Ge.return;else e=Ge,Qc(),Mf(e),dl=null,tc=0,e=Ge;for(;e!==null;)ax(e.alternate,e),e=e.return;Ge=null}}function za(e,t){var n=e.timeoutHandle;n!==ca&&(e.timeoutHandle=ca,AE(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Sm(),mt=e,Ge=n=er(e.current,null),Ze=t,at=Cn,Qn=null,no=!1,yl=fs(e,t),Jp=!1,Ct=gr,ra=In=Wp=ro=so=0,bn=cc=null,cd=!1,(t&8)!==0&&(t|=t&32);var s=e.entangledLanes;if(s!==0)for(e=e.entanglements,s&=t;0<s;){var r=31-un(s),o=1<<r;t|=e[r],s&=~o}return Gs=t,Fc(),t=zy(),1e3<t-ky&&(H.recentlyCreatedOwnerStacks=0,ky=t),xs.discardPendingWarnings(),n}function Ox(e,t){Me=null,H.H=ad,H.getCurrentStack=null,Bs=!1,Gn=null,t===Ki||t===td?(t=lv(),at=lc):t===qy?(t=lv(),at=k0):at=t===D0?Kp:t!==null&&typeof t=="object"&&typeof t.then=="function"?gl:ac,Qn=t;var n=Ge;if(n===null)Ct=oc,vu(e,Bn(t,e.current));else switch(n.mode&Jt&&Sf(n),Ve(),at){case ac:de!==null&&typeof de.markComponentErrored=="function"&&de.markComponentErrored(n,t,Ze);break;case na:case sa:case lc:case gl:case ic:de!==null&&typeof de.markComponentSuspended=="function"&&de.markComponentSuspended(n,t,Ze)}}function Px(){var e=H.H;return H.H=ad,e===null?ad:e}function kx(){var e=H.A;return H.A=mE,e}function wm(){Ct=ta,no||(Ze&4194048)!==Ze&&is.current!==null||(yl=!0),(so&134217727)===0&&(ro&134217727)===0||mt===null||Fr(mt,Ze,In,!1)}function jm(e,t,n){var s=rt;rt|=hn;var r=Px(),o=kx();if(mt!==e||Ze!==t){if(bs){var u=e.memoizedUpdaters;0<u.size&&(ji(e,Ze),u.clear()),Ws(e,t)}uc=null,za(e,t)}Tt(t),t=!1,u=Ct;e:do try{if(at!==Cn&&Ge!==null){var f=Ge,b=Qn;switch(at){case Kp:Sm(),u=id;break e;case lc:case na:case sa:case gl:is.current===null&&(t=!0);var x=at;if(at=Cn,Qn=null,Ha(e,f,b,x),n&&yl){u=gr;break e}break;default:x=at,at=Cn,Qn=null,Ha(e,f,b,x)}}zx(),u=Ct;break}catch(P){Ox(e,P)}while(!0);return t&&e.shellSuspendCounter++,Qc(),rt=s,H.H=r,H.A=o,xt(),Ge===null&&(mt=null,Ze=0,Fc()),u}function zx(){for(;Ge!==null;)Hx(Ge)}function nw(e,t){var n=rt;rt|=hn;var s=Px(),r=kx();if(mt!==e||Ze!==t){if(bs){var o=e.memoizedUpdaters;0<o.size&&(ji(e,Ze),o.clear()),Ws(e,t)}uc=null,ud=zs()+H0,za(e,t)}else yl=fs(e,t);Tt(t);e:do try{if(at!==Cn&&Ge!==null)t:switch(t=Ge,o=Qn,at){case ac:at=Cn,Qn=null,Ha(e,t,o,ac);break;case na:case sa:if(ov(o)){at=Cn,Qn=null,_x(t);break}t=function(){at!==na&&at!==sa||mt!==e||(at=ic),Os(e)},o.then(t,t);break e;case lc:at=ic;break e;case k0:at=Zp;break e;case ic:ov(o)?(at=Cn,Qn=null,_x(t)):(at=Cn,Qn=null,Ha(e,t,o,ic));break;case Zp:var u=null;switch(Ge.tag){case 26:u=Ge.memoizedState;case 5:case 27:var f=Ge;if(!u||Ug(u)){at=Cn,Qn=null;var b=f.sibling;if(b!==null)Ge=b;else{var x=f.return;x!==null?(Ge=x,wu(x)):Ge=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}at=Cn,Qn=null,Ha(e,t,o,Zp);break;case gl:at=Cn,Qn=null,Ha(e,t,o,gl);break;case Kp:Sm(),Ct=id;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}H.actQueue!==null?zx():sw();break}catch(P){Ox(e,P)}while(!0);return Qc(),H.H=s,H.A=r,rt=n,Ge!==null?(de!==null&&typeof de.markRenderYielded=="function"&&de.markRenderYielded(),gr):(xt(),mt=null,Ze=0,Fc(),Ct)}function sw(){for(;Ge!==null&&!Ww();)Hx(Ge)}function Hx(e){var t=e.alternate;(e.mode&Jt)!==ht?(Nf(e),t=je(e,mm,t,e,Gs),Sf(e)):t=je(e,mm,t,e,Gs),e.memoizedProps=e.pendingProps,t===null?wu(e):Ge=t}function _x(e){var t=je(e,rw,e);e.memoizedProps=e.pendingProps,t===null?wu(e):Ge=t}function rw(e){var t=e.alternate,n=(e.mode&Jt)!==ht;switch(n&&Nf(e),e.tag){case 15:case 0:t=Jv(t,e,e.pendingProps,e.type,void 0,Ze);break;case 11:t=Jv(t,e,e.pendingProps,e.type.render,e.ref,Ze);break;case 5:Mf(e);default:ax(t,e),e=Ge=Ib(e,Gs),t=mm(t,e,Gs)}return n&&Sf(e),t}function Ha(e,t,n,s){Qc(),Mf(t),dl=null,tc=0;var r=t.return;try{if(FS(e,r,t,n,Ze)){Ct=oc,vu(e,Bn(n,e.current)),Ge=null;return}}catch(o){if(r!==null)throw Ge=r,o;Ct=oc,vu(e,Bn(n,e.current)),Ge=null;return}t.flags&32768?(tt||s===ac?e=!0:yl||(Ze&536870912)!==0?e=!1:(no=e=!0,(s===na||s===sa||s===lc||s===gl)&&(s=is.current,s!==null&&s.tag===13&&(s.flags|=16384))),Bx(t,e)):wu(t)}function wu(e){var t=e;do{if((t.flags&32768)!==0){Bx(t,no);return}var n=t.alternate;if(e=t.return,Nf(t),n=je(t,GS,n,t,Gs),(t.mode&Jt)!==ht&&tv(t),n!==null){Ge=n;return}if(t=t.sibling,t!==null){Ge=t;return}Ge=t=e}while(t!==null);Ct===gr&&(Ct=P0)}function Bx(e,t){do{var n=$S(e.alternate,e);if(n!==null){n.flags&=32767,Ge=n;return}if((e.mode&Jt)!==ht){tv(e),n=e.actualDuration;for(var s=e.child;s!==null;)n+=s.actualDuration,s=s.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Ge=e;return}Ge=e=n}while(e!==null);Ct=id,Ge=null}function Em(e,t,n,s,r,o,u,f,b){e.cancelPendingCommit=null;do wi();while(en!==oa);if(xs.flushLegacyContextWarning(),xs.flushPendingUnsafeLifecycleWarnings(),(rt&(hn|Ns))!==$n)throw Error("Should not already be working.");if(de!==null&&typeof de.markCommitStarted=="function"&&de.markCommitStarted(n),t===null)Te();else{if(n===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(o=t.lanes|t.childLanes,o|=Up,Ea(e,n,o,u,f,b),e===mt&&(Ge=mt=null,Ze=0),Nl=t,ao=e,lo=n,nh=o,sh=r,q0=s,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,cw(Ya,function(){return Gx(),null})):(e.callbackNode=null,e.callbackPriority=0),Ku=al(),s=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||s){s=H.T,H.T=null,r=st.p,st.p=Wn,u=rt,rt|=Ns;try{JS(e,t,n)}finally{rt=u,st.p=r,H.T=s}}en=_0,Lx(),qx(),Fx()}}function Lx(){if(en===_0){en=oa;var e=ao,t=Nl,n=lo,s=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||s){s=H.T,H.T=null;var r=st.p;st.p=Wn;var o=rt;rt|=Ns;try{bl=n,vl=e,gx(t,e),vl=bl=null,n=ph;var u=Fb(e.containerInfo),f=n.focusedElem,b=n.selectionRange;if(u!==f&&f&&f.ownerDocument&&qb(f.ownerDocument.documentElement,f)){if(b!==null&&af(f)){var x=b.start,P=b.end;if(P===void 0&&(P=x),"selectionStart"in f)f.selectionStart=x,f.selectionEnd=Math.min(P,f.value.length);else{var _=f.ownerDocument||document,O=_&&_.defaultView||window;if(O.getSelection){var q=O.getSelection(),he=f.textContent.length,Re=Math.min(b.start,he),pt=b.end===void 0?Re:Math.min(b.end,he);!q.extend&&Re>pt&&(u=pt,pt=Re,Re=u);var Je=Lb(f,Re),w=Lb(f,pt);if(Je&&w&&(q.rangeCount!==1||q.anchorNode!==Je.node||q.anchorOffset!==Je.offset||q.focusNode!==w.node||q.focusOffset!==w.offset)){var j=_.createRange();j.setStart(Je.node,Je.offset),q.removeAllRanges(),Re>pt?(q.addRange(j),q.extend(w.node,w.offset)):(j.setEnd(w.node,w.offset),q.addRange(j))}}}}for(_=[],q=f;q=q.parentNode;)q.nodeType===1&&_.push({element:q,left:q.scrollLeft,top:q.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<_.length;f++){var T=_[f];T.element.scrollLeft=T.left,T.element.scrollTop=T.top}}Dd=!!mh,ph=mh=null}finally{rt=o,st.p=r,H.T=s}}e.current=t,en=B0}}function qx(){if(en===B0){en=oa;var e=ao,t=Nl,n=lo,s=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||s){s=H.T,H.T=null;var r=st.p;st.p=Wn;var o=rt;rt|=Ns;try{de!==null&&typeof de.markLayoutEffectsStarted=="function"&&de.markLayoutEffectsStarted(n),bl=n,vl=e,hx(e,t.alternate,t),vl=bl=null,de!==null&&typeof de.markLayoutEffectsStopped=="function"&&de.markLayoutEffectsStopped()}finally{rt=o,st.p=r,H.T=s}}en=L0}}function Fx(){if(en===gE||en===L0){en=oa,ej();var e=ao,t=Nl,n=lo,s=q0,r=(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0;r?en=th:(en=oa,Nl=ao=null,Yx(e,e.pendingLanes),aa=0,fc=null);var o=e.pendingLanes;if(o===0&&(oo=null),r||Xx(e),r=Pn(n),t=t.stateNode,nn&&typeof nn.onCommitFiberRoot=="function")try{var u=(t.current.flags&128)===128;switch(r){case Wn:var f=ap;break;case _s:f=lp;break;case dr:f=Ya;break;case Bu:f=ip;break;default:f=Ya}nn.onCommitFiberRoot(Ga,t,f,u)}catch(_){Hs||(Hs=!0,console.error("React instrumentation encountered an error: %s",_))}if(bs&&e.memoizedUpdaters.clear(),ew(),s!==null){u=H.T,f=st.p,st.p=Wn,H.T=null;try{var b=e.onRecoverableError;for(t=0;t<s.length;t++){var x=s[t],P=ow(x.stack);je(x.source,b,x.value,P)}}finally{H.T=u,st.p=f}}(lo&3)!==0&&wi(),Os(e),o=e.pendingLanes,(n&4194090)!==0&&(o&42)!==0?(Wu=!0,e===rh?dc++:(dc=0,rh=e)):dc=0,Ei(0),Te()}}function ow(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function Yx(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ci(t)))}function wi(e){return Lx(),qx(),Fx(),Gx()}function Gx(){if(en!==th)return!1;var e=ao,t=nh;nh=0;var n=Pn(lo),s=dr>n?dr:n;n=H.T;var r=st.p;try{st.p=s,H.T=null,s=sh,sh=null;var o=ao,u=lo;if(en=oa,Nl=ao=null,lo=0,(rt&(hn|Ns))!==$n)throw Error("Cannot flush passive effects while already rendering.");oh=!0,dd=!1,de!==null&&typeof de.markPassiveEffectsStarted=="function"&&de.markPassiveEffectsStarted(u);var f=rt;if(rt|=Ns,Tx(o.current),wx(o,o.current,u,s),de!==null&&typeof de.markPassiveEffectsStopped=="function"&&de.markPassiveEffectsStopped(),Xx(o),rt=f,Ei(0,!1),dd?o===fc?aa++:(aa=0,fc=o):aa=0,dd=oh=!1,nn&&typeof nn.onPostCommitFiberRoot=="function")try{nn.onPostCommitFiberRoot(Ga,o)}catch(x){Hs||(Hs=!0,console.error("React instrumentation encountered an error: %s",x))}var b=o.current.stateNode;return b.effectDuration=0,b.passiveEffectDuration=0,!0}finally{st.p=r,H.T=n,Yx(e,t)}}function $x(e,t,n){t=Bn(n,t),t=nm(e.stateNode,t,2),e=_r(e,t,2),e!==null&&(cn(e,2),Os(e))}function ut(e,t,n){if(Sl=!1,e.tag===3)$x(e,e,n);else{for(;t!==null;){if(t.tag===3){$x(t,e,n);return}if(t.tag===1){var s=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(oo===null||!oo.has(s))){e=Bn(n,e),n=sm(2),s=_r(t,n,2),s!==null&&(rm(n,s,t,e),cn(s,2),Os(s));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
195
-
196
- Error message:
197
-
198
- %s`,n)}}function Dm(e,t,n){var s=e.pingCache;if(s===null){s=e.pingCache=new hE;var r=new Set;s.set(t,r)}else r=s.get(t),r===void 0&&(r=new Set,s.set(t,r));r.has(n)||(Jp=!0,r.add(n),s=aw.bind(null,e,t,n),bs&&ji(e,n),t.then(s,s))}function aw(e,t,n){var s=e.pingCache;s!==null&&s.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Rx()&&H.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
199
-
200
- When testing, code that resolves suspended data should be wrapped into act(...):
201
-
202
- act(() => {
203
- /* finish loading suspended data */
204
- });
205
- /* assert on the output */
206
-
207
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),mt===e&&(Ze&n)===n&&(Ct===ta||Ct===Xp&&(Ze&62914560)===Ze&&zs()-eh<z0?(rt&hn)===$n&&za(e,0):Wp|=n,ra===Ze&&(ra=0)),Os(e)}function Qx(e,t){t===0&&(t=Ks()),e=wn(e,t),e!==null&&(cn(e,t),Os(e))}function lw(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Qx(e,n)}function iw(e,t){var n=0;switch(e.tag){case 13:var s=e.stateNode,r=e.memoizedState;r!==null&&(n=r.retryLane);break;case 19:s=e.stateNode;break;case 22:s=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}s!==null&&s.delete(t),Qx(e,n)}function Tm(e,t,n){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var s=e,r=t,o=r.type===Pu;o=n||o,r.tag!==22?r.flags&67108864?o&&je(r,Ix,s,r,(r.mode&My)===ht):Tm(s,r,o):r.memoizedState===null&&(o&&r.flags&8192?je(r,Ix,s,r):r.subtreeFlags&67108864&&je(r,Tm,s,r,o)),t=t.sibling}}function Ix(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;pe(!0);try{Nx(t),n&&Ux(t),Sx(e,t.alternate,t,!1),n&&jx(e,t,0,null,!1,0)}finally{pe(!1)}}function Xx(e){var t=!0;e.current.mode&(rn|vs)||(t=!1),Tm(e,e.current,t)}function Zx(e){if((rt&hn)===$n){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=W(e)||"ReactComponent",fd!==null){if(fd.has(t))return;fd.add(t)}else fd=new Set([t]);je(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")})}}}function ji(e,t){bs&&e.memoizedUpdaters.forEach(function(n){Mr(e,n,t)})}function cw(e,t){var n=H.actQueue;return n!==null?(n.push(t),SE):op(e,t)}function uw(e){Rx()&&H.actQueue===null&&je(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
208
-
209
- When testing, code that causes React state updates should be wrapped into act(...):
210
-
211
- act(() => {
212
- /* fire events that update state */
213
- });
214
- /* assert on the output */
215
-
216
- 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`,W(e))})}function Os(e){e!==wl&&e.next===null&&(wl===null?md=wl=e:wl=wl.next=e),pd=!0,H.actQueue!==null?lh||(lh=!0,eg()):ah||(ah=!0,eg())}function Ei(e,t){if(!ih&&pd){ih=!0;do for(var n=!1,s=md;s!==null;){if(e!==0){var r=s.pendingLanes;if(r===0)var o=0;else{var u=s.suspendedLanes,f=s.pingedLanes;o=(1<<31-un(42|e)+1)-1,o&=r&~(u&~f),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(n=!0,Wx(s,o))}else o=Ze,o=ln(s,s===mt?o:0,s.cancelPendingCommit!==null||s.timeoutHandle!==ca),(o&3)===0||fs(s,o)||(n=!0,Wx(s,o));s=s.next}while(n);ih=!1}}function dw(){Um()}function Um(){pd=lh=ah=!1;var e=0;la!==0&&(bw()&&(e=la),la=0);for(var t=zs(),n=null,s=md;s!==null;){var r=s.next,o=Kx(s,t);o===0?(s.next=null,n===null?md=r:n.next=r,r===null&&(wl=n)):(n=s,(e!==0||(o&3)!==0)&&(pd=!0)),s=r}Ei(e)}function Kx(e,t){for(var n=e.suspendedLanes,s=e.pingedLanes,r=e.expirationTimes,o=e.pendingLanes&-62914561;0<o;){var u=31-un(o),f=1<<u,b=r[u];b===-1?((f&n)===0||(f&s)!==0)&&(r[u]=On(f,t)):b<=t&&(e.expiredLanes|=f),o&=~f}if(t=mt,n=Ze,n=ln(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ca),s=e.callbackNode,n===0||e===t&&(at===na||at===sa)||e.cancelPendingCommit!==null)return s!==null&&Cm(s),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||fs(e,n)){if(t=n&-n,t!==e.callbackPriority||H.actQueue!==null&&s!==ch)Cm(s);else return t;switch(Pn(n)){case Wn:case _s:n=lp;break;case dr:n=Ya;break;case Bu:n=ip;break;default:n=Ya}return s=Jx.bind(null,e),H.actQueue!==null?(H.actQueue.push(s),n=ch):n=op(n,s),e.callbackPriority=t,e.callbackNode=n,t}return s!==null&&Cm(s),e.callbackPriority=2,e.callbackNode=null,2}function Jx(e,t){if(Wu=Ju=!1,en!==oa&&en!==th)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(wi()&&e.callbackNode!==n)return null;var s=Ze;return s=ln(e,e===mt?s:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ca),s===0?null:(Vx(e,s,t),Kx(e,zs()),e.callbackNode!=null&&e.callbackNode===n?Jx.bind(null,e):null)}function Wx(e,t){if(wi())return null;Ju=Wu,Wu=!1,Vx(e,t,!0)}function Cm(e){e!==ch&&e!==null&&Jw(e)}function eg(){H.actQueue!==null&&H.actQueue.push(function(){return Um(),null}),VE(function(){(rt&(hn|Ns))!==$n?op(ap,dw):Um()})}function Rm(){return la===0&&(la=Be()),la}function tg(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:($(e,"action"),ni(""+e))}function ng(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function fw(e,t,n,s,r){if(t==="submit"&&n&&n.stateNode===r){var o=tg((r[Dn]||null).action),u=s.submitter;u&&(t=(t=u[Dn]||null)?tg(t.formAction):u.getAttribute("formAction"),t!==null&&(o=t,u=null));var f=new Gu("action","action",null,s,r);e.push({event:f,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(la!==0){var b=u?ng(r,u):new FormData(r),x={pending:!0,data:b,method:r.method,action:o};Object.freeze(x),Xf(n,x,null,b)}}else typeof o=="function"&&(f.preventDefault(),b=u?ng(r,u):new FormData(r),x={pending:!0,data:b,method:r.method,action:o},Object.freeze(x),Xf(n,x,o,b))},currentTarget:r}]})}}function ju(e,t,n){e.currentTarget=n;try{t(e)}catch(s){Yp(s)}e.currentTarget=null}function sg(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var s=e[n];e:{var r=void 0,o=s.event;if(s=s.listeners,t)for(var u=s.length-1;0<=u;u--){var f=s[u],b=f.instance,x=f.currentTarget;if(f=f.listener,b!==r&&o.isPropagationStopped())break e;b!==null?je(b,ju,o,f,x):ju(o,f,x),r=b}else for(u=0;u<s.length;u++){if(f=s[u],b=f.instance,x=f.currentTarget,f=f.listener,b!==r&&o.isPropagationStopped())break e;b!==null?je(b,ju,o,f,x):ju(o,f,x),r=b}}}}function Ke(e,t){uh.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[cp];n===void 0&&(n=t[cp]=new Set);var s=e+"__bubble";n.has(s)||(rg(t,e,2,!1),n.add(s))}function Am(e,t,n){uh.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var s=0;t&&(s|=4),rg(n,e,s,t)}function Vm(e){if(!e[hd]){e[hd]=!0,Lg.forEach(function(n){n!=="selectionchange"&&(uh.has(n)||Am(n,!1,e),Am(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[hd]||(t[hd]=!0,Am("selectionchange",!1,t))}}function rg(e,t,n,s){switch(Mg(t)){case Wn:var r=qw;break;case _s:r=Fw;break;default:r=Qm}n=r.bind(null,t,n,e),r=void 0,!vp||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),s?r!==void 0?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):r!==void 0?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function Mm(e,t,n,s,r){var o=s;if((t&1)===0&&(t&2)===0&&s!==null)e:for(;;){if(s===null)return;var u=s.tag;if(u===3||u===4){var f=s.stateNode.containerInfo;if(f===r)break;if(u===4)for(u=s.return;u!==null;){var b=u.tag;if((b===3||b===4)&&u.stateNode.containerInfo===r)return;u=u.return}for(;f!==null;){if(u=zn(f),u===null)return;if(b=u.tag,b===5||b===6||b===26||b===27){s=o=u;continue e}f=f.parentNode}}s=s.return}Rb(function(){var x=o,P=rf(n),_=[];e:{var O=Vy.get(e);if(O!==void 0){var q=Gu,he=e;switch(e){case"keypress":if(Bc(n)===0)break e;case"keydown":case"keyup":q=_j;break;case"focusin":he="focus",q=Np;break;case"focusout":he="blur",q=Np;break;case"beforeblur":case"afterblur":q=Np;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":q=xy;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":q=Tj;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":q=qj;break;case Uy:case Cy:case Ry:q=Rj;break;case Ay:q=Yj;break;case"scroll":case"scrollend":q=Ej;break;case"wheel":q=$j;break;case"copy":case"cut":case"paste":q=Vj;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":q=yy;break;case"toggle":case"beforetoggle":q=Ij}var Re=(t&4)!==0,pt=!Re&&(e==="scroll"||e==="scrollend"),Je=Re?O!==null?O+"Capture":null:O;Re=[];for(var w=x,j;w!==null;){var T=w;if(j=T.stateNode,T=T.tag,T!==5&&T!==26&&T!==27||j===null||Je===null||(T=si(w,Je),T!=null&&Re.push(Di(w,T,j))),pt)break;w=w.return}0<Re.length&&(O=new q(O,he,null,n,P),_.push({event:O,listeners:Re}))}}if((t&7)===0){e:{if(O=e==="mouseover"||e==="pointerover",q=e==="mouseout"||e==="pointerout",O&&n!==ki&&(he=n.relatedTarget||n.fromElement)&&(zn(he)||he[Zr]))break e;if((q||O)&&(O=P.window===P?P:(O=P.ownerDocument)?O.defaultView||O.parentWindow:window,q?(he=n.relatedTarget||n.toElement,q=x,he=he?zn(he):null,he!==null&&(pt=I(he),Re=he.tag,he!==pt||Re!==5&&Re!==27&&Re!==6)&&(he=null)):(q=null,he=x),q!==he)){if(Re=xy,T="onMouseLeave",Je="onMouseEnter",w="mouse",(e==="pointerout"||e==="pointerover")&&(Re=yy,T="onPointerLeave",Je="onPointerEnter",w="pointer"),pt=q==null?O:ms(q),j=he==null?O:ms(he),O=new Re(T,w+"leave",q,n,P),O.target=pt,O.relatedTarget=j,T=null,zn(P)===x&&(Re=new Re(Je,w+"enter",he,n,P),Re.target=j,Re.relatedTarget=pt,T=Re),pt=T,q&&he)t:{for(Re=q,Je=he,w=0,j=Re;j;j=_a(j))w++;for(j=0,T=Je;T;T=_a(T))j++;for(;0<w-j;)Re=_a(Re),w--;for(;0<j-w;)Je=_a(Je),j--;for(;w--;){if(Re===Je||Je!==null&&Re===Je.alternate)break t;Re=_a(Re),Je=_a(Je)}Re=null}else Re=null;q!==null&&og(_,O,q,Re,!1),he!==null&&pt!==null&&og(_,pt,he,Re,!0)}}e:{if(O=x?ms(x):window,q=O.nodeName&&O.nodeName.toLowerCase(),q==="select"||q==="input"&&O.type==="file")var F=zb;else if(Pb(O))if(Dy)F=VS;else{F=RS;var re=CS}else q=O.nodeName,!q||q.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?x&&ti(x.elementType)&&(F=zb):F=AS;if(F&&(F=F(e,x))){kb(_,F,n,P);break e}re&&re(e,O,x),e==="focusout"&&x&&O.type==="number"&&x.memoizedProps.value!=null&&Jd(O,"number",O.value)}switch(re=x?ms(x):window,e){case"focusin":(Pb(re)||re.contentEditable==="true")&&(Ja=re,wp=x,Fi=null);break;case"focusout":Fi=wp=Ja=null;break;case"mousedown":jp=!0;break;case"contextmenu":case"mouseup":case"dragend":jp=!1,Yb(_,n,P);break;case"selectionchange":if(Jj)break;case"keydown":case"keyup":Yb(_,n,P)}var Pe;if(Sp)e:{switch(e){case"compositionstart":var be="onCompositionStart";break e;case"compositionend":be="onCompositionEnd";break e;case"compositionupdate":be="onCompositionUpdate";break e}be=void 0}else Ka?Mb(e,n)&&(be="onCompositionEnd"):e==="keydown"&&n.keyCode===Ny&&(be="onCompositionStart");be&&(Sy&&n.locale!=="ko"&&(Ka||be!=="onCompositionStart"?be==="onCompositionEnd"&&Ka&&(Pe=Ab()):(Kr=P,xp="value"in Kr?Kr.value:Kr.textContent,Ka=!0)),re=Eu(x,be),0<re.length&&(be=new gy(be,e,null,n,P),_.push({event:be,listeners:re}),Pe?be.data=Pe:(Pe=Ob(n),Pe!==null&&(be.data=Pe)))),(Pe=Zj?ES(e,n):DS(e,n))&&(be=Eu(x,"onBeforeInput"),0<be.length&&(re=new Oj("onBeforeInput","beforeinput",null,n,P),_.push({event:re,listeners:be}),re.data=Pe)),fw(_,e,x,n,P)}sg(_,t)})}function Di(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Eu(e,t){for(var n=t+"Capture",s=[];e!==null;){var r=e,o=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||o===null||(r=si(e,n),r!=null&&s.unshift(Di(e,r,o)),r=si(e,t),r!=null&&s.push(Di(e,r,o))),e.tag===3)return s;e=e.return}return[]}function _a(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function og(e,t,n,s,r){for(var o=t._reactName,u=[];n!==null&&n!==s;){var f=n,b=f.alternate,x=f.stateNode;if(f=f.tag,b!==null&&b===s)break;f!==5&&f!==26&&f!==27||x===null||(b=x,r?(x=si(n,o),x!=null&&u.unshift(Di(n,x,b))):r||(x=si(n,o),x!=null&&u.push(Di(n,x,b)))),n=n.return}u.length!==0&&e.push({event:t,listeners:u})}function Om(e,t){NS(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||by||(by=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:$o,possibleRegistrationNames:up};ti(e)||typeof t.is=="string"||wS(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function Gt(e,t,n,s){t!==n&&(n=Yr(n),Yr(t)!==n&&(s[e]=t))}function mw(e,t,n){t.forEach(function(s){n[ig(s)]=s==="style"?km(e):e.getAttribute(s)})}function Ps(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function ag(e,t){return e=e.namespaceURI===qu||e.namespaceURI===Qa?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Yr(e){return N(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",K(e)),L(e)),(typeof e=="string"?e:""+e).replace(wE,`
217
- `).replace(jE,"")}function lg(e,t){return t=Yr(t),Yr(e)===t}function Du(){}function dt(e,t,n,s,r,o){switch(n){case"children":typeof s=="string"?(_c(s,t,!1),t==="body"||t==="textarea"&&s===""||ei(e,s)):(typeof s=="number"||typeof s=="bigint")&&(_c(""+s,t,!1),t!=="body"&&ei(e,""+s));break;case"className":Se(e,"class",s);break;case"tabIndex":Se(e,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":Se(e,n,s);break;case"style":Tb(e,s,o);break;case"data":if(t!=="object"){Se(e,"data",s);break}case"src":case"href":if(s===""&&(t!=="a"||n!=="href")){console.error(n==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',n,n),e.removeAttribute(n);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(n);break}$(s,n),s=ni(""+s),e.setAttribute(n,s);break;case"action":case"formAction":if(s!=null&&(t==="form"?n==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof s=="function"&&(r.encType==null&&r.method==null||xd||(xd=!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.")),r.target==null||vd||(vd=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?n==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||r.type==="submit"||r.type==="image"||bd?t!=="button"||r.type==null||r.type==="submit"||bd?typeof s=="function"&&(r.name==null||Q0||(Q0=!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.')),r.formEncType==null&&r.formMethod==null||xd||(xd=!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.")),r.formTarget==null||vd||(vd=!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."))):(bd=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(bd=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(n==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof s=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof o=="function"&&(n==="formAction"?(t!=="input"&&dt(e,t,"name",r.name,r,null),dt(e,t,"formEncType",r.formEncType,r,null),dt(e,t,"formMethod",r.formMethod,r,null),dt(e,t,"formTarget",r.formTarget,r,null)):(dt(e,t,"encType",r.encType,r,null),dt(e,t,"method",r.method,r,null),dt(e,t,"target",r.target,r,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(n);break}$(s,n),s=ni(""+s),e.setAttribute(n,s);break;case"onClick":s!=null&&(typeof s!="function"&&Ps(n,s),e.onclick=Du);break;case"onScroll":s!=null&&(typeof s!="function"&&Ps(n,s),Ke("scroll",e));break;case"onScrollEnd":s!=null&&(typeof s!="function"&&Ps(n,s),Ke("scrollend",e));break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=s.__html,n!=null){if(r.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":e.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){e.removeAttribute("xlink:href");break}$(s,n),n=ni(""+s),e.setAttributeNS(ia,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":s!=null&&typeof s!="function"&&typeof s!="symbol"?($(s,n),e.setAttribute(n,""+s)):e.removeAttribute(n);break;case"inert":s!==""||gd[n]||(gd[n]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",n));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":s&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":s===!0?e.setAttribute(n,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?($(s,n),e.setAttribute(n,s)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?($(s,n),e.setAttribute(n,s)):e.removeAttribute(n);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?e.removeAttribute(n):($(s,n),e.setAttribute(n,s));break;case"popover":Ke("beforetoggle",e),Ke("toggle",e),ue(e,"popover",s);break;case"xlinkActuate":We(e,ia,"xlink:actuate",s);break;case"xlinkArcrole":We(e,ia,"xlink:arcrole",s);break;case"xlinkRole":We(e,ia,"xlink:role",s);break;case"xlinkShow":We(e,ia,"xlink:show",s);break;case"xlinkTitle":We(e,ia,"xlink:title",s);break;case"xlinkType":We(e,ia,"xlink:type",s);break;case"xmlBase":We(e,dh,"xml:base",s);break;case"xmlLang":We(e,dh,"xml:lang",s);break;case"xmlSpace":We(e,dh,"xml:space",s);break;case"is":o!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),ue(e,"is",s);break;case"innerText":case"textContent":break;case"popoverTarget":I0||s==null||typeof s!="object"||(I0=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",s));default:!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"?(n=Ub(n),ue(e,n,s)):$o.hasOwnProperty(n)&&s!=null&&typeof s!="function"&&Ps(n,s)}}function Pm(e,t,n,s,r,o){switch(n){case"style":Tb(e,s,o);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=s.__html,n!=null){if(r.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":typeof s=="string"?ei(e,s):(typeof s=="number"||typeof s=="bigint")&&ei(e,""+s);break;case"onScroll":s!=null&&(typeof s!="function"&&Ps(n,s),Ke("scroll",e));break;case"onScrollEnd":s!=null&&(typeof s!="function"&&Ps(n,s),Ke("scrollend",e));break;case"onClick":s!=null&&(typeof s!="function"&&Ps(n,s),e.onclick=Du);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if($o.hasOwnProperty(n))s!=null&&typeof s!="function"&&Ps(n,s);else e:{if(n[0]==="o"&&n[1]==="n"&&(r=n.endsWith("Capture"),t=n.slice(2,r?n.length-7:void 0),o=e[Dn]||null,o=o!=null?o[n]:null,typeof o=="function"&&e.removeEventListener(t,o,r),typeof s=="function")){typeof o!="function"&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,s,r);break e}n in e?e[n]=s:s===!0?e.setAttribute(n,""):ue(e,n,s)}}}function Zt(e,t,n){switch(Om(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ke("error",e),Ke("load",e);var s=!1,r=!1,o;for(o in n)if(n.hasOwnProperty(o)){var u=n[o];if(u!=null)switch(o){case"src":s=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:dt(e,t,o,u,n,null)}}r&&dt(e,t,"srcSet",n.srcSet,n,null),s&&dt(e,t,"src",n.src,n,null);return;case"input":ye("input",n),Ke("invalid",e);var f=o=u=r=null,b=null,x=null;for(s in n)if(n.hasOwnProperty(s)){var P=n[s];if(P!=null)switch(s){case"name":r=P;break;case"type":u=P;break;case"checked":b=P;break;case"defaultChecked":x=P;break;case"value":o=P;break;case"defaultValue":f=P;break;case"children":case"dangerouslySetInnerHTML":if(P!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:dt(e,t,s,P,n,null)}}db(e,n),fb(e,o,f,b,x,u,r,!1),kc(e);return;case"select":ye("select",n),Ke("invalid",e),s=u=o=null;for(r in n)if(n.hasOwnProperty(r)&&(f=n[r],f!=null))switch(r){case"value":o=f;break;case"defaultValue":u=f;break;case"multiple":s=f;default:dt(e,t,r,f,n,null)}hb(e,n),t=o,n=u,e.multiple=!!s,t!=null?Da(e,!!s,t,!1):n!=null&&Da(e,!!s,n,!0);return;case"textarea":ye("textarea",n),Ke("invalid",e),o=r=s=null;for(u in n)if(n.hasOwnProperty(u)&&(f=n[u],f!=null))switch(u){case"value":s=f;break;case"defaultValue":r=f;break;case"children":o=f;break;case"dangerouslySetInnerHTML":if(f!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:dt(e,t,u,f,n,null)}bb(e,n),xb(e,s,r,o),kc(e);return;case"option":mb(e,n);for(b in n)if(n.hasOwnProperty(b)&&(s=n[b],s!=null))switch(b){case"selected":e.selected=s&&typeof s!="function"&&typeof s!="symbol";break;default:dt(e,t,b,s,n,null)}return;case"dialog":Ke("beforetoggle",e),Ke("toggle",e),Ke("cancel",e),Ke("close",e);break;case"iframe":case"object":Ke("load",e);break;case"video":case"audio":for(s=0;s<mc.length;s++)Ke(mc[s],e);break;case"image":Ke("error",e),Ke("load",e);break;case"details":Ke("toggle",e);break;case"embed":case"source":case"link":Ke("error",e),Ke("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(x in n)if(n.hasOwnProperty(x)&&(s=n[x],s!=null))switch(x){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:dt(e,t,x,s,n,null)}return;default:if(ti(t)){for(P in n)n.hasOwnProperty(P)&&(s=n[P],s!==void 0&&Pm(e,t,P,s,n,void 0));return}}for(f in n)n.hasOwnProperty(f)&&(s=n[f],s!=null&&dt(e,t,f,s,n,null))}function pw(e,t,n,s){switch(Om(t,s),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,o=null,u=null,f=null,b=null,x=null,P=null;for(q in n){var _=n[q];if(n.hasOwnProperty(q)&&_!=null)switch(q){case"checked":break;case"value":break;case"defaultValue":b=_;default:s.hasOwnProperty(q)||dt(e,t,q,null,s,_)}}for(var O in s){var q=s[O];if(_=n[O],s.hasOwnProperty(O)&&(q!=null||_!=null))switch(O){case"type":o=q;break;case"name":r=q;break;case"checked":x=q;break;case"defaultChecked":P=q;break;case"value":u=q;break;case"defaultValue":f=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:q!==_&&dt(e,t,O,q,s,_)}}t=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,s=s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null,t||!s||$0||(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"),$0=!0),!t||s||G0||(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"),G0=!0),Kd(e,u,f,b,x,P,o,r);return;case"select":q=u=f=O=null;for(o in n)if(b=n[o],n.hasOwnProperty(o)&&b!=null)switch(o){case"value":break;case"multiple":q=b;default:s.hasOwnProperty(o)||dt(e,t,o,null,s,b)}for(r in s)if(o=s[r],b=n[r],s.hasOwnProperty(r)&&(o!=null||b!=null))switch(r){case"value":O=o;break;case"defaultValue":f=o;break;case"multiple":u=o;default:o!==b&&dt(e,t,r,o,s,b)}s=f,t=u,n=q,O!=null?Da(e,!!t,O,!1):!!n!=!!t&&(s!=null?Da(e,!!t,s,!0):Da(e,!!t,t?[]:"",!1));return;case"textarea":q=O=null;for(f in n)if(r=n[f],n.hasOwnProperty(f)&&r!=null&&!s.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:dt(e,t,f,null,s,r)}for(u in s)if(r=s[u],o=n[u],s.hasOwnProperty(u)&&(r!=null||o!=null))switch(u){case"value":O=r;break;case"defaultValue":q=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:r!==o&&dt(e,t,u,r,s,o)}vb(e,O,q);return;case"option":for(var he in n)if(O=n[he],n.hasOwnProperty(he)&&O!=null&&!s.hasOwnProperty(he))switch(he){case"selected":e.selected=!1;break;default:dt(e,t,he,null,s,O)}for(b in s)if(O=s[b],q=n[b],s.hasOwnProperty(b)&&O!==q&&(O!=null||q!=null))switch(b){case"selected":e.selected=O&&typeof O!="function"&&typeof O!="symbol";break;default:dt(e,t,b,O,s,q)}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 Re in n)O=n[Re],n.hasOwnProperty(Re)&&O!=null&&!s.hasOwnProperty(Re)&&dt(e,t,Re,null,s,O);for(x in s)if(O=s[x],q=n[x],s.hasOwnProperty(x)&&O!==q&&(O!=null||q!=null))switch(x){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:dt(e,t,x,O,s,q)}return;default:if(ti(t)){for(var pt in n)O=n[pt],n.hasOwnProperty(pt)&&O!==void 0&&!s.hasOwnProperty(pt)&&Pm(e,t,pt,void 0,s,O);for(P in s)O=s[P],q=n[P],!s.hasOwnProperty(P)||O===q||O===void 0&&q===void 0||Pm(e,t,P,O,s,q);return}}for(var Je in n)O=n[Je],n.hasOwnProperty(Je)&&O!=null&&!s.hasOwnProperty(Je)&&dt(e,t,Je,null,s,O);for(_ in s)O=s[_],q=n[_],!s.hasOwnProperty(_)||O===q||O==null&&q==null||dt(e,t,_,O,s,q)}function ig(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function km(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var s=e[n];t[s]=e.getPropertyValue(s)}return t}function cg(e,t,n){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var s,r=s="",o;for(o in t)if(t.hasOwnProperty(o)){var u=t[o];u!=null&&typeof u!="boolean"&&u!==""&&(o.indexOf("--")===0?(ne(u,o),s+=r+o+":"+(""+u).trim()):typeof u!="number"||u===0||py.has(o)?(ne(u,o),s+=r+o.replace(cy,"-$1").toLowerCase().replace(uy,"-ms-")+":"+(""+u).trim()):s+=r+o.replace(cy,"-$1").toLowerCase().replace(uy,"-ms-")+":"+u+"px",r=";")}s=s||null,t=e.getAttribute("style"),t!==s&&(s=Yr(s),Yr(t)!==s&&(n.style=km(e)))}}function Kn(e,t,n,s,r,o){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":return}else if(s!=null)switch(typeof s){case"function":case"symbol":case"boolean":break;default:if($(s,t),e===""+s)return}Gt(t,e,s,o)}function ug(e,t,n,s,r,o){if(r.delete(n),e=e.getAttribute(n),e===null){switch(typeof s){case"function":case"symbol":return}if(!s)return}else switch(typeof s){case"function":case"symbol":break;default:if(s)return}Gt(t,e,s,o)}function zm(e,t,n,s,r,o){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof s){case"undefined":case"function":case"symbol":return}else if(s!=null)switch(typeof s){case"function":case"symbol":break;default:if($(s,n),e===""+s)return}Gt(t,e,s,o)}function dg(e,t,n,s,r,o){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(s))return}else if(s!=null)switch(typeof s){case"function":case"symbol":case"boolean":break;default:if(!isNaN(s)&&($(s,t),e===""+s))return}Gt(t,e,s,o)}function Hm(e,t,n,s,r,o){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":return}else if(s!=null)switch(typeof s){case"function":case"symbol":case"boolean":break;default:if($(s,t),n=ni(""+s),e===n)return}Gt(t,e,s,o)}function fg(e,t,n,s){for(var r={},o=new Set,u=e.attributes,f=0;f<u.length;f++)switch(u[f].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:o.add(u[f].name)}if(ti(t)){for(var b in n)if(n.hasOwnProperty(b)){var x=n[b];if(x!=null){if($o.hasOwnProperty(b))typeof x!="function"&&Ps(b,x);else if(n.suppressHydrationWarning!==!0)switch(b){case"children":typeof x!="string"&&typeof x!="number"||Gt("children",e.textContent,x,r);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":u=e.innerHTML,x=x?x.__html:void 0,x!=null&&(x=ag(e,x),Gt(b,u,x,r));continue;case"style":o.delete(b),cg(e,x,r);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":o.delete(b.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",b);continue;case"className":o.delete("class"),u=Oe(e,"class",x),Gt("className",u,x,r);continue;default:s.context===Nr&&t!=="svg"&&t!=="math"?o.delete(b.toLowerCase()):o.delete(b),u=Oe(e,b,x),Gt(b,u,x,r)}}}}else for(x in n)if(n.hasOwnProperty(x)&&(b=n[x],b!=null)){if($o.hasOwnProperty(x))typeof b!="function"&&Ps(x,b);else if(n.suppressHydrationWarning!==!0)switch(x){case"children":typeof b!="string"&&typeof b!="number"||Gt("children",e.textContent,b,r);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":u=e.innerHTML,b=b?b.__html:void 0,b!=null&&(b=ag(e,b),u!==b&&(r[x]={__html:u}));continue;case"className":Kn(e,x,"class",b,o,r);continue;case"tabIndex":Kn(e,x,"tabindex",b,o,r);continue;case"style":o.delete(x),cg(e,b,r);continue;case"multiple":o.delete(x),Gt(x,e.multiple,b,r);continue;case"muted":o.delete(x),Gt(x,e.muted,b,r);continue;case"autoFocus":o.delete("autofocus"),Gt(x,e.autofocus,b,r);continue;case"data":if(t!=="object"){o.delete(x),u=e.getAttribute("data"),Gt(x,u,b,r);continue}case"src":case"href":if(!(b!==""||t==="a"&&x==="href"||t==="object"&&x==="data")){console.error(x==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',x,x);continue}Hm(e,x,x,b,o,r);continue;case"action":case"formAction":if(u=e.getAttribute(x),typeof b=="function"){o.delete(x.toLowerCase()),x==="formAction"?(o.delete("name"),o.delete("formenctype"),o.delete("formmethod"),o.delete("formtarget")):(o.delete("enctype"),o.delete("method"),o.delete("target"));continue}else if(u===EE){o.delete(x.toLowerCase()),Gt(x,"function",b,r);continue}Hm(e,x,x.toLowerCase(),b,o,r);continue;case"xlinkHref":Hm(e,x,"xlink:href",b,o,r);continue;case"contentEditable":zm(e,x,"contenteditable",b,o,r);continue;case"spellCheck":zm(e,x,"spellcheck",b,o,r);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":zm(e,x,x,b,o,r);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":ug(e,x,x.toLowerCase(),b,o,r);continue;case"capture":case"download":e:{f=e;var P=u=x,_=r;if(o.delete(P),f=f.getAttribute(P),f===null)switch(typeof b){case"undefined":case"function":case"symbol":break e;default:if(b===!1)break e}else if(b!=null)switch(typeof b){case"function":case"symbol":break;case"boolean":if(b===!0&&f==="")break e;break;default:if($(b,u),f===""+b)break e}Gt(u,f,b,_)}continue;case"cols":case"rows":case"size":case"span":e:{if(f=e,P=u=x,_=r,o.delete(P),f=f.getAttribute(P),f===null)switch(typeof b){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(b)||1>b)break e}else if(b!=null)switch(typeof b){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(b)||1>b)&&($(b,u),f===""+b))break e}Gt(u,f,b,_)}continue;case"rowSpan":dg(e,x,"rowspan",b,o,r);continue;case"start":dg(e,x,x,b,o,r);continue;case"xHeight":Kn(e,x,"x-height",b,o,r);continue;case"xlinkActuate":Kn(e,x,"xlink:actuate",b,o,r);continue;case"xlinkArcrole":Kn(e,x,"xlink:arcrole",b,o,r);continue;case"xlinkRole":Kn(e,x,"xlink:role",b,o,r);continue;case"xlinkShow":Kn(e,x,"xlink:show",b,o,r);continue;case"xlinkTitle":Kn(e,x,"xlink:title",b,o,r);continue;case"xlinkType":Kn(e,x,"xlink:type",b,o,r);continue;case"xmlBase":Kn(e,x,"xml:base",b,o,r);continue;case"xmlLang":Kn(e,x,"xml:lang",b,o,r);continue;case"xmlSpace":Kn(e,x,"xml:space",b,o,r);continue;case"inert":b!==""||gd[x]||(gd[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)),ug(e,x,x,b,o,r);continue;default:if(!(2<x.length)||x[0]!=="o"&&x[0]!=="O"||x[1]!=="n"&&x[1]!=="N"){f=Ub(x),u=!1,s.context===Nr&&t!=="svg"&&t!=="math"?o.delete(f.toLowerCase()):(P=x.toLowerCase(),P=Fu.hasOwnProperty(P)&&Fu[P]||null,P!==null&&P!==x&&(u=!0,o.delete(P)),o.delete(f));e:if(P=e,_=f,f=b,He(_))if(P.hasAttribute(_))P=P.getAttribute(_),$(f,_),f=P===""+f?f:P;else{switch(typeof f){case"function":case"symbol":break e;case"boolean":if(P=_.toLowerCase().slice(0,5),P!=="data-"&&P!=="aria-")break e}f=f===void 0?void 0:null}else f=void 0;u||Gt(x,f,b,r)}}}return 0<o.size&&n.suppressHydrationWarning!==!0&&mw(e,o,r),Object.keys(r).length===0?null:r}function hw(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function Tu(e){return e.nodeType===9?e:e.ownerDocument}function mg(e){switch(e){case Qa:return jl;case qu:return Sd;default:return Nr}}function pg(e,t){if(e===Nr)switch(t){case"svg":return jl;case"math":return Sd;default:return Nr}return e===jl&&t==="foreignObject"?Nr:e}function _m(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function bw(){var e=window.event;return e&&e.type==="popstate"?e===hh?!1:(hh=e,!0):(hh=null,!1)}function vw(e){setTimeout(function(){throw e})}function xw(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function gw(e,t,n,s){pw(e,t,n,s),e[Dn]=s}function hg(e){ei(e,"")}function yw(e,t,n){e.nodeValue=n}function Gr(e){return e==="head"}function Nw(e,t){e.removeChild(t)}function Sw(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function bg(e,t){var n=t,s=0,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n===Nd){if(0<s&&8>s){n=s;var u=e.ownerDocument;if(n&TE&&Ti(u.documentElement),n&UE&&Ti(u.body),n&CE)for(n=u.head,Ti(n),u=n.firstChild;u;){var f=u.nextSibling,b=u.nodeName;u[Oi]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&u.rel.toLowerCase()==="stylesheet"||n.removeChild(u),u=f}}if(r===0){e.removeChild(o),Ai(t);return}r--}else n===yd||n===yr||n===pc?r++:s=n.charCodeAt(0)-48;else s=0;n=o}while(n);Ai(t)}function ww(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function jw(e){e.nodeValue=""}function Ew(e,t){t=t[RE],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function Dw(e,t){e.nodeValue=t}function Bm(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Bm(n),Ts(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function Tw(e,t,n,s){for(;e.nodeType===1;){var r=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!s&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(s){if(!e[Oi])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(o=e.getAttribute("rel"),o==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(o!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(o=e.getAttribute("src"),(o!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&o&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){$(r.name,"name");var o=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===o)return e}else return e;if(e=Jn(e.nextSibling),e===null)break}return null}function Uw(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Jn(e.nextSibling),e===null))return null;return e}function Lm(e){return e.data===pc||e.data===yr&&e.ownerDocument.readyState===Z0}function Cw(e,t){var n=e.ownerDocument;if(e.data!==yr||n.readyState===Z0)t();else{var s=function(){t(),n.removeEventListener("DOMContentLoaded",s)};n.addEventListener("DOMContentLoaded",s),e._reactRetry=s}}function Jn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===yd||t===pc||t===yr||t===fh||t===X0)break;if(t===Nd)return null}}return e}function vg(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},s=e.attributes,r=0;r<s.length;r++){var o=s[r];n[ig(o.name)]=o.name.toLowerCase()==="style"?km(e):o.value}return{type:t,props:n}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function xg(e,t,n){return n===null||n[DE]!==!0?(e.nodeValue===t?e=null:(t=Yr(t),e=Yr(e.nodeValue)===t?null:e.nodeValue),e):null}function gg(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===Nd){if(t===0)return Jn(e.nextSibling);t--}else n!==yd&&n!==pc&&n!==yr||t++}e=e.nextSibling}return null}function yg(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===yd||n===pc||n===yr){if(t===0)return e;t--}else n===Nd&&t++}e=e.previousSibling}return null}function Rw(e){Ai(e)}function Aw(e){Ai(e)}function Ng(e,t,n,s,r){switch(r&&sf(e,s.ancestorInfo),t=Tu(n),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function Vw(e,t,n,s){if(!n[Zr]&&yn(n)){var r=n.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",r,r,r)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(r=n.attributes;r.length;)n.removeAttributeNode(r[0]);Zt(n,e,t),n[sn]=s,n[Dn]=t}function Ti(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ts(e)}function Uu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Sg(e,t,n){var s=El;if(s&&typeof t=="string"&&t){var r=Zn(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),nN.has(r)||(nN.add(r),e={rel:e,crossOrigin:n,href:t},s.querySelector(r)===null&&(t=s.createElement("link"),Zt(t,"link",e),C(t),s.head.appendChild(t)))}}function wg(e,t,n,s){var r=(r=Ir.current)?Uu(r):null;if(!r)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(n=Ba(n.href),t=h(r).hoistableStyles,s=t.get(n),s||(s={type:"style",instance:null,count:0,state:null},t.set(n,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=Ba(n.href);var o=h(r).hoistableStyles,u=o.get(e);if(!u&&(r=r.ownerDocument||r,u={type:"stylesheet",instance:null,count:0,state:{loading:ua,preload:null}},o.set(e,u),(o=r.querySelector(Ui(e)))&&!o._p&&(u.instance=o,u.state.loading=hc|cs),!us.has(e))){var f={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};us.set(e,f),o||Mw(r,e,f,u.state)}if(t&&s===null)throw n=`
218
-
219
- - `+Cu(t)+`
220
- + `+Cu(n),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return u}if(t&&s!==null)throw n=`
221
-
222
- - `+Cu(t)+`
223
- + `+Cu(n),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=La(n),t=h(r).hoistableScripts,s=t.get(n),s||(s={type:"script",instance:null,count:0,state:null},t.set(n,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Cu(e){var t=0,n="<link";return typeof e.rel=="string"?(t++,n+=' rel="'+e.rel+'"'):ur.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):ur.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):ur.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function Ba(e){return'href="'+Zn(e)+'"'}function Ui(e){return'link[rel="stylesheet"]['+e+"]"}function jg(e){return qe({},e,{"data-precedence":e.precedence,precedence:null})}function Mw(e,t,n,s){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?s.loading=hc:(t=e.createElement("link"),s.preload=t,t.addEventListener("load",function(){return s.loading|=hc}),t.addEventListener("error",function(){return s.loading|=eN}),Zt(t,"link",n),C(t),e.head.appendChild(t))}function La(e){return'[src="'+Zn(e)+'"]'}function Ci(e){return"script[async]"+e}function Eg(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var s=e.querySelector('style[data-href~="'+Zn(n.href)+'"]');if(s)return t.instance=s,C(s),s;var r=qe({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return s=(e.ownerDocument||e).createElement("style"),C(s),Zt(s,"style",r),Ru(s,n.precedence,e),t.instance=s;case"stylesheet":r=Ba(n.href);var o=e.querySelector(Ui(r));if(o)return t.state.loading|=cs,t.instance=o,C(o),o;s=jg(n),(r=us.get(r))&&qm(s,r),o=(e.ownerDocument||e).createElement("link"),C(o);var u=o;return u._p=new Promise(function(f,b){u.onload=f,u.onerror=b}),Zt(o,"link",s),t.state.loading|=cs,Ru(o,n.precedence,e),t.instance=o;case"script":return o=La(n.src),(r=e.querySelector(Ci(o)))?(t.instance=r,C(r),r):(s=n,(r=us.get(o))&&(s=qe({},n),Fm(s,r)),e=e.ownerDocument||e,r=e.createElement("script"),C(r),Zt(r,"link",s),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&cs)===ua&&(s=t.instance,t.state.loading|=cs,Ru(s,n.precedence,e));return t.instance}function Ru(e,t,n){for(var s=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=s.length?s[s.length-1]:null,o=r,u=0;u<s.length;u++){var f=s[u];if(f.dataset.precedence===t)o=f;else if(o!==r)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function qm(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Fm(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function Dg(e,t,n){if(wd===null){var s=new Map,r=wd=new Map;r.set(n,s)}else r=wd,s=r.get(n),s||(s=new Map,r.set(n,s));if(s.has(e))return s;for(s.set(e,null),n=n.getElementsByTagName(e),r=0;r<n.length;r++){var o=n[r];if(!(o[Oi]||o[sn]||e==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!==Qa){var u=o.getAttribute(t)||"";u=e+u;var f=s.get(u);f?f.push(o):s.set(u,[o])}}return s}function Tg(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function Ow(e,t,n){var s=!n.ancestorInfo.containerTagInScope;if(n.context===jl||t.itemProp!=null)return!s||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){s&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var r=t.onError,o=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),r&&n.push("`onError`"),o!=null&&n.push("`disabled`"),r=hw(n,"and"),r+=n.length===1?" prop":" props",o=n.length===1?"an "+r:"the "+r,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,o,r)}s&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&s&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){s&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":s&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function Ug(e){return!(e.type==="stylesheet"&&(e.state.loading&tN)===ua)}function Pw(){}function kw(e,t,n){if(bc===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var s=bc;if(t.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(t.state.loading&cs)===ua){if(t.instance===null){var r=Ba(n.href),o=e.querySelector(Ui(r));if(o){e=o._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(s.count++,s=Au.bind(s),e.then(s,s)),t.state.loading|=cs,t.instance=o,C(o);return}o=e.ownerDocument||e,n=jg(n),(r=us.get(r))&&qm(n,r),o=o.createElement("link"),C(o);var u=o;u._p=new Promise(function(f,b){u.onload=f,u.onerror=b}),Zt(o,"link",n),t.instance=o}s.stylesheets===null&&(s.stylesheets=new Map),s.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&tN)===ua&&(s.count++,t=Au.bind(s),e.addEventListener("load",t),e.addEventListener("error",t))}}function zw(){if(bc===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=bc;return e.stylesheets&&e.count===0&&Ym(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Ym(e,e.stylesheets),e.unsuspend){var s=e.unsuspend;e.unsuspend=null,s()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}function Au(){if(this.count--,this.count===0){if(this.stylesheets)Ym(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Ym(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,jd=new Map,t.forEach(Hw,e),jd=null,Au.call(e))}function Hw(e,t){if(!(t.state.loading&cs)){var n=jd.get(e);if(n)var s=n.get(vh);else{n=new Map,jd.set(e,n);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<r.length;o++){var u=r[o];(u.nodeName==="LINK"||u.getAttribute("media")!=="not all")&&(n.set(u.dataset.precedence,u),s=u)}s&&n.set(vh,s)}r=t.instance,u=r.getAttribute("data-precedence"),o=n.get(u)||s,o===s&&n.set(vh,r),n.set(u,r),this.count++,s=Au.bind(this),r.addEventListener("load",s),r.addEventListener("error",s),o?o.parentNode.insertBefore(r,o.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=cs}}function _w(e,t,n,s,r,o,u,f){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=ca,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=kt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kt(0),this.hiddenUpdates=kt(null),this.identifierPrefix=s,this.onUncaughtError=r,this.onCaughtError=o,this.onRecoverableError=u,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=f,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?"hydrateRoot()":"createRoot()"}function Cg(e,t,n,s,r,o,u,f,b,x,P,_){return e=new _w(e,t,n,u,f,b,x,_),t=nE,o===!0&&(t|=rn|vs),bs&&(t|=Jt),o=g(3,null,null,t),e.current=o,o.stateNode=e,t=yf(),Bo(t),e.pooledCache=t,Bo(t),o.memoizedState={element:s,isDehydrated:n,cache:t},jf(o),e}function Rg(e){return e?(e=Jr,e):Jr}function Gm(e,t,n,s,r,o){if(nn&&typeof nn.onScheduleFiberRoot=="function")try{nn.onScheduleFiberRoot(Ga,s,n)}catch(u){Hs||(Hs=!0,console.error("React instrumentation encountered an error: %s",u))}de!==null&&typeof de.markRenderScheduled=="function"&&de.markRenderScheduled(t),r=Rg(r),s.context===null?s.context=r:s.pendingContext=r,Bs&&Gn!==null&&!aN&&(aN=!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.
224
-
225
- Check the render method of %s.`,W(Gn)||"Unknown")),s=Hr(t),s.payload={element:n},o=o===void 0?null:o,o!==null&&(typeof o!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",o),s.callback=o),n=_r(e,s,t),n!==null&&(Mt(n,e,t),di(n,e,t))}function Ag(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function $m(e,t){Ag(e,t),(e=e.alternate)&&Ag(e,t)}function Vg(e){if(e.tag===13){var t=wn(e,67108864);t!==null&&Mt(t,e,67108864),$m(e,67108864)}}function Bw(){return Gn}function Lw(){for(var e=new Map,t=1,n=0;31>n;n++){var s=Ds(t);e.set(t,s),t*=2}return e}function qw(e,t,n,s){var r=H.T;H.T=null;var o=st.p;try{st.p=Wn,Qm(e,t,n,s)}finally{st.p=o,H.T=r}}function Fw(e,t,n,s){var r=H.T;H.T=null;var o=st.p;try{st.p=_s,Qm(e,t,n,s)}finally{st.p=o,H.T=r}}function Qm(e,t,n,s){if(Dd){var r=Im(s);if(r===null)Mm(e,t,s,Td,n),Og(e,s);else if(Yw(r,e,t,n,s))s.stopPropagation();else if(Og(e,s),t&4&&-1<OE.indexOf(e)){for(;r!==null;){var o=yn(r);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var u=jt(o.pendingLanes);if(u!==0){var f=o;for(f.pendingLanes|=2,f.entangledLanes|=2;u;){var b=1<<31-un(u);f.entanglements[1]|=b,u&=~b}Os(o),(rt&(hn|Ns))===$n&&(ud=zs()+H0,Ei(0))}}break;case 13:f=wn(o,2),f!==null&&Mt(f,o,2),ka(),$m(o,2)}if(o=Im(s),o===null&&Mm(e,t,s,Td,n),o===r)break;r=o}r!==null&&s.stopPropagation()}else Mm(e,t,s,null,n)}}function Im(e){return e=rf(e),Xm(e)}function Xm(e){if(Td=null,e=zn(e),e!==null){var t=I(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=ge(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Td=e,null}function Mg(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Wn;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 _s;case"message":switch(tj()){case ap:return Wn;case lp:return _s;case Ya:case nj:return dr;case ip:return Bu;default:return dr}default:return dr}}function Og(e,t){switch(e){case"focusin":case"focusout":io=null;break;case"dragenter":case"dragleave":co=null;break;case"mouseover":case"mouseout":uo=null;break;case"pointerover":case"pointerout":xc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":gc.delete(t.pointerId)}}function Ri(e,t,n,s,r,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:s,nativeEvent:o,targetContainers:[r]},t!==null&&(t=yn(t),t!==null&&Vg(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function Yw(e,t,n,s,r){switch(t){case"focusin":return io=Ri(io,e,t,n,s,r),!0;case"dragenter":return co=Ri(co,e,t,n,s,r),!0;case"mouseover":return uo=Ri(uo,e,t,n,s,r),!0;case"pointerover":var o=r.pointerId;return xc.set(o,Ri(xc.get(o)||null,e,t,n,s,r)),!0;case"gotpointercapture":return o=r.pointerId,gc.set(o,Ri(gc.get(o)||null,e,t,n,s,r)),!0}return!1}function Pg(e){var t=zn(e.target);if(t!==null){var n=I(t);if(n!==null){if(t=n.tag,t===13){if(t=ge(n),t!==null){e.blockedOn=t,kn(e.priority,function(){if(n.tag===13){var s=Fn(n);s=Co(s);var r=wn(n,s);r!==null&&Mt(r,n,s),$m(n,s)}});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Vu(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Im(e.nativeEvent);if(n===null){n=e.nativeEvent;var s=new n.constructor(n.type,n),r=s;ki!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),ki=r,n.target.dispatchEvent(s),ki===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."),ki=null}else return t=yn(n),t!==null&&Vg(t),e.blockedOn=n,!1;t.shift()}return!0}function kg(e,t,n){Vu(e)&&n.delete(t)}function Gw(){xh=!1,io!==null&&Vu(io)&&(io=null),co!==null&&Vu(co)&&(co=null),uo!==null&&Vu(uo)&&(uo=null),xc.forEach(kg),gc.forEach(kg)}function Mu(e,t){e.blockedOn===t&&(e.blockedOn=null,xh||(xh=!0,zt.unstable_scheduleCallback(zt.unstable_NormalPriority,Gw)))}function zg(e){Ud!==e&&(Ud=e,zt.unstable_scheduleCallback(zt.unstable_NormalPriority,function(){Ud===e&&(Ud=null);for(var t=0;t<e.length;t+=3){var n=e[t],s=e[t+1],r=e[t+2];if(typeof s!="function"){if(Xm(s||n)===null)continue;break}var o=yn(n);o!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:r,method:n.method,action:s},Object.freeze(n),Xf(o,n,s,r))}}))}function Ai(e){function t(b){return Mu(b,e)}io!==null&&Mu(io,e),co!==null&&Mu(co,e),uo!==null&&Mu(uo,e),xc.forEach(t),gc.forEach(t);for(var n=0;n<fo.length;n++){var s=fo[n];s.blockedOn===e&&(s.blockedOn=null)}for(;0<fo.length&&(n=fo[0],n.blockedOn===null);)Pg(n),n.blockedOn===null&&fo.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(s=0;s<n.length;s+=3){var r=n[s],o=n[s+1],u=r[Dn]||null;if(typeof o=="function")u||zg(n);else if(u){var f=null;if(o&&o.hasAttribute("formAction")){if(r=o,u=o[Dn]||null)f=u.formAction;else if(Xm(r)!==null)continue}else f=u.action;typeof f=="function"?n[s+1]=f:(n.splice(s,3),s-=3),zg(n)}}}function Zm(e){this._internalRoot=e}function Ou(e){this._internalRoot=e}function Hg(e){e[Zr]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var zt=LE(),Km=Oc(),$w=f1(),qe=Object.assign,Qw=Symbol.for("react.element"),$r=Symbol.for("react.transitional.element"),qa=Symbol.for("react.portal"),Fa=Symbol.for("react.fragment"),Pu=Symbol.for("react.strict_mode"),Jm=Symbol.for("react.profiler"),Iw=Symbol.for("react.provider"),Wm=Symbol.for("react.consumer"),ks=Symbol.for("react.context"),Vi=Symbol.for("react.forward_ref"),ep=Symbol.for("react.suspense"),tp=Symbol.for("react.suspense_list"),ku=Symbol.for("react.memo"),Yn=Symbol.for("react.lazy"),np=Symbol.for("react.activity"),Xw=Symbol.for("react.memo_cache_sentinel"),_g=Symbol.iterator,Zw=Symbol.for("react.client.reference"),Kt=Array.isArray,H=Km.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,st=$w.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Kw=Object.freeze({pending:!1,data:null,method:null,action:null}),sp=[],rp=[],cr=-1,Qr=Ee(null),Mi=Ee(null),Ir=Ee(null),zu=Ee(null),ur=Object.prototype.hasOwnProperty,op=zt.unstable_scheduleCallback,Jw=zt.unstable_cancelCallback,Ww=zt.unstable_shouldYield,ej=zt.unstable_requestPaint,zs=zt.unstable_now,tj=zt.unstable_getCurrentPriorityLevel,ap=zt.unstable_ImmediatePriority,lp=zt.unstable_UserBlockingPriority,Ya=zt.unstable_NormalPriority,nj=zt.unstable_LowPriority,ip=zt.unstable_IdlePriority,sj=zt.log,rj=zt.unstable_setDisableYieldValue,Ga=null,nn=null,de=null,Hs=!1,bs=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",un=Math.clz32?Math.clz32:Es,oj=Math.log,aj=Math.LN2,Hu=256,_u=4194304,Wn=2,_s=8,dr=32,Bu=268435456,Xr=Math.random().toString(36).slice(2),sn="__reactFiber$"+Xr,Dn="__reactProps$"+Xr,Zr="__reactContainer$"+Xr,cp="__reactEvents$"+Xr,lj="__reactListeners$"+Xr,ij="__reactHandles$"+Xr,Bg="__reactResources$"+Xr,Oi="__reactMarker$"+Xr,Lg=new Set,$o={},up={},cj={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},uj=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]*$"),qg={},Fg={},Pi=0,Yg,Gg,$g,Qg,Ig,Xg,Zg;Et.__reactDisabledLog=!0;var dp,Kg,fp=!1,mp=new(typeof WeakMap=="function"?WeakMap:Map),Gn=null,Bs=!1,dj=/[\n"\\]/g,Jg=!1,Wg=!1,ey=!1,ty=!1,ny=!1,sy=!1,ry=["value","defaultValue"],oy=!1,ay=/["'&<>\n\t]|^\s|\s$/,fj="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(" "),ly="applet caption html table td th marquee object template foreignObject desc title".split(" "),mj=ly.concat(["button"]),pj="dd dt li option optgroup p rp rt".split(" "),iy={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Lu={},pp={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"]},cy=/([A-Z])/g,uy=/^ms-/,hj=/^(?:webkit|moz|o)[A-Z]/,bj=/^-ms-/,vj=/-(.)/g,dy=/;\s*$/,$a={},hp={},fy=!1,my=!1,py=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(" ")),qu="http://www.w3.org/1998/Math/MathML",Qa="http://www.w3.org/2000/svg",xj=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"]]),Fu={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"},hy={"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},Ia={},gj=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]*$"),yj=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]*$"),by=!1,dn={},vy=/^on./,Nj=/^on[^A-Z]/,Sj=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]*$"),wj=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]*$"),jj=/^[\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,ki=null,Xa=null,Za=null,bp=!1,Ls=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vp=!1;if(Ls)try{var zi={};Object.defineProperty(zi,"passive",{get:function(){vp=!0}}),window.addEventListener("test",zi,zi),window.removeEventListener("test",zi,zi)}catch{vp=!1}var Kr=null,xp=null,Yu=null,Qo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gu=Sn(Qo),Hi=qe({},Qo,{view:0,detail:0}),Ej=Sn(Hi),gp,yp,_i,$u=qe({},Hi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:of,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==_i&&(_i&&e.type==="mousemove"?(gp=e.screenX-_i.screenX,yp=e.screenY-_i.screenY):yp=gp=0,_i=e),gp)},movementY:function(e){return"movementY"in e?e.movementY:yp}}),xy=Sn($u),Dj=qe({},$u,{dataTransfer:0}),Tj=Sn(Dj),Uj=qe({},Hi,{relatedTarget:0}),Np=Sn(Uj),Cj=qe({},Qo,{animationName:0,elapsedTime:0,pseudoElement:0}),Rj=Sn(Cj),Aj=qe({},Qo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Vj=Sn(Aj),Mj=qe({},Qo,{data:0}),gy=Sn(Mj),Oj=gy,Pj={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kj={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"},zj={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Hj=qe({},Hi,{key:function(e){if(e.key){var t=Pj[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Bc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?kj[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:of,charCode:function(e){return e.type==="keypress"?Bc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Bc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),_j=Sn(Hj),Bj=qe({},$u,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),yy=Sn(Bj),Lj=qe({},Hi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:of}),qj=Sn(Lj),Fj=qe({},Qo,{propertyName:0,elapsedTime:0,pseudoElement:0}),Yj=Sn(Fj),Gj=qe({},$u,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),$j=Sn(Gj),Qj=qe({},Qo,{newState:0,oldState:0}),Ij=Sn(Qj),Xj=[9,13,27,32],Ny=229,Sp=Ls&&"CompositionEvent"in window,Bi=null;Ls&&"documentMode"in document&&(Bi=document.documentMode);var Zj=Ls&&"TextEvent"in window&&!Bi,Sy=Ls&&(!Sp||Bi&&8<Bi&&11>=Bi),wy=32,jy=String.fromCharCode(wy),Ey=!1,Ka=!1,Kj={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},Li=null,qi=null,Dy=!1;Ls&&(Dy=TS("input")&&(!document.documentMode||9<document.documentMode));var fn=typeof Object.is=="function"?Object.is:MS,Jj=Ls&&"documentMode"in document&&11>=document.documentMode,Ja=null,wp=null,Fi=null,jp=!1,Wa={animationend:Ao("Animation","AnimationEnd"),animationiteration:Ao("Animation","AnimationIteration"),animationstart:Ao("Animation","AnimationStart"),transitionrun:Ao("Transition","TransitionRun"),transitionstart:Ao("Transition","TransitionStart"),transitioncancel:Ao("Transition","TransitionCancel"),transitionend:Ao("Transition","TransitionEnd")},Ep={},Ty={};Ls&&(Ty=document.createElement("div").style,"AnimationEvent"in window||(delete Wa.animationend.animation,delete Wa.animationiteration.animation,delete Wa.animationstart.animation),"TransitionEvent"in window||delete Wa.transitionend.transition);var Uy=Vo("animationend"),Cy=Vo("animationiteration"),Ry=Vo("animationstart"),Wj=Vo("transitionrun"),eE=Vo("transitionstart"),tE=Vo("transitioncancel"),Ay=Vo("transitionend"),Vy=new Map,Dp="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(" ");Dp.push("scrollEnd");var Tp=new WeakMap,Qu=1,fr=2,es=[],el=0,Up=0,Jr={};Object.freeze(Jr);var ts=null,tl=null,ht=0,nE=1,Jt=2,rn=8,vs=16,My=64,Oy=!1;try{var Py=Object.preventExtensions({})}catch{Oy=!0}var nl=[],sl=0,Iu=null,Xu=0,ns=[],ss=0,Io=null,mr=1,pr="",mn=null,Ut=null,tt=!1,hr=!1,rs=null,Xo=null,qs=!1,Cp=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."),ky=0;if(typeof performance=="object"&&typeof performance.now=="function")var sE=performance,zy=function(){return sE.now()};else{var rE=Date;zy=function(){return rE.now()}}var Rp=Ee(null),Ap=Ee(null),Hy={},Zu=null,rl=null,ol=!1,oE=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,s){e.push(s)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},aE=zt.unstable_scheduleCallback,lE=zt.unstable_NormalPriority,Bt={$$typeof:ks,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},al=zt.unstable_now,_y=-0,Ku=-0,Tn=-1.1,Zo=-0,Ju=!1,Wu=!1,Yi=null,Vp=0,Ko=0,ll=null,By=H.S;H.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&PS(e,t),By!==null&&By(e,t)};var Jo=Ee(null),xs={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Gi=[],$i=[],Qi=[],Ii=[],Xi=[],Zi=[],Wo=new Set;xs.recordUnsafeLifecycleWarnings=function(e,t){Wo.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Gi.push(e),e.mode&rn&&typeof t.UNSAFE_componentWillMount=="function"&&$i.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Qi.push(e),e.mode&rn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Ii.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Xi.push(e),e.mode&rn&&typeof t.UNSAFE_componentWillUpdate=="function"&&Zi.push(e))},xs.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Gi.length&&(Gi.forEach(function(f){e.add(W(f)||"Component"),Wo.add(f.type)}),Gi=[]);var t=new Set;0<$i.length&&($i.forEach(function(f){t.add(W(f)||"Component"),Wo.add(f.type)}),$i=[]);var n=new Set;0<Qi.length&&(Qi.forEach(function(f){n.add(W(f)||"Component"),Wo.add(f.type)}),Qi=[]);var s=new Set;0<Ii.length&&(Ii.forEach(function(f){s.add(W(f)||"Component"),Wo.add(f.type)}),Ii=[]);var r=new Set;0<Xi.length&&(Xi.forEach(function(f){r.add(W(f)||"Component"),Wo.add(f.type)}),Xi=[]);var o=new Set;if(0<Zi.length&&(Zi.forEach(function(f){o.add(W(f)||"Component"),Wo.add(f.type)}),Zi=[]),0<t.size){var u=m(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
226
-
227
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
228
-
229
- Please update the following components: %s`,u)}0<s.size&&(u=m(s),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.
230
-
231
- * Move data fetching code or side effects to componentDidUpdate.
232
- * 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
233
-
234
- Please update the following components: %s`,u)),0<o.size&&(u=m(o),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.
235
-
236
- * Move data fetching code or side effects to componentDidUpdate.
237
-
238
- Please update the following components: %s`,u)),0<e.size&&(u=m(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
239
-
240
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
241
- * 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.
242
-
243
- Please update the following components: %s`,u)),0<n.size&&(u=m(n),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
244
-
245
- * Move data fetching code or side effects to componentDidUpdate.
246
- * 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
247
- * 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.
248
-
249
- Please update the following components: %s`,u)),0<r.size&&(u=m(r),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
250
-
251
- * Move data fetching code or side effects to componentDidUpdate.
252
- * 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.
253
-
254
- Please update the following components: %s`,u))};var ed=new Map,Ly=new Set;xs.recordLegacyContextWarning=function(e,t){for(var n=null,s=e;s!==null;)s.mode&rn&&(n=s),s=s.return;n===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!Ly.has(e.type)&&(s=ed.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(s===void 0&&(s=[],ed.set(n,s)),s.push(e))},xs.flushLegacyContextWarning=function(){ed.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(r){n.add(W(r)||"Component"),Ly.add(r.type)});var s=m(n);je(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
255
-
256
- The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
257
-
258
- Please update the following components: %s
259
-
260
- Learn more about this warning here: https://react.dev/link/legacy-context`,s)})}})},xs.discardPendingWarnings=function(){Gi=[],$i=[],Qi=[],Ii=[],Xi=[],Zi=[],ed=new Map};var Ki=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`."),qy=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."),td=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."),Mp={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.')}},Ji=null,nd=!1,os=0,as=1,pn=2,Wt=4,Lt=8,Fy=0,Yy=1,Gy=2,Op=3,Wr=!1,$y=!1,Pp=null,kp=!1,il=Ee(null),sd=Ee(0),cl,Qy=new Set,Iy=new Set,zp=new Set,Xy=new Set,eo=0,Me=null,ft=null,Ht=null,rd=!1,ul=!1,ea=!1,od=0,Wi=0,br=null,iE=0,cE=25,z=null,ls=null,vr=-1,ec=!1,ad={readContext:gt,use:Br,useCallback:Vt,useContext:Vt,useEffect:Vt,useImperativeHandle:Vt,useLayoutEffect:Vt,useInsertionEffect:Vt,useMemo:Vt,useReducer:Vt,useRef:Vt,useState:Vt,useDebugValue:Vt,useDeferredValue:Vt,useTransition:Vt,useSyncExternalStore:Vt,useId:Vt,useHostTransitionStatus:Vt,useFormState:Vt,useActionState:Vt,useOptimistic:Vt,useMemoCache:Vt,useCacheRefresh:Vt},Hp=null,Zy=null,_p=null,Ky=null,Fs=null,gs=null,ld=null;Hp={readContext:function(e){return gt(e)},use:Br,useCallback:function(e,t){return z="useCallback",Xe(),Ca(t),Gf(e,t)},useContext:function(e){return z="useContext",Xe(),gt(e)},useEffect:function(e,t){return z="useEffect",Xe(),Ca(t),au(e,t)},useImperativeHandle:function(e,t,n){return z="useImperativeHandle",Xe(),Ca(n),Yf(e,t,n)},useInsertionEffect:function(e,t){z="useInsertionEffect",Xe(),Ca(t),qo(4,pn,e,t)},useLayoutEffect:function(e,t){return z="useLayoutEffect",Xe(),Ca(t),Ff(e,t)},useMemo:function(e,t){z="useMemo",Xe(),Ca(t);var n=H.H;H.H=Fs;try{return $f(e,t)}finally{H.H=n}},useReducer:function(e,t,n){z="useReducer",Xe();var s=H.H;H.H=Fs;try{return Pf(e,t,n)}finally{H.H=s}},useRef:function(e){return z="useRef",Xe(),qf(e)},useState:function(e){z="useState",Xe();var t=H.H;H.H=Fs;try{return _f(e)}finally{H.H=t}},useDebugValue:function(){z="useDebugValue",Xe()},useDeferredValue:function(e,t){return z="useDeferredValue",Xe(),Qf(e,t)},useTransition:function(){return z="useTransition",Xe(),Zf()},useSyncExternalStore:function(e,t,n){return z="useSyncExternalStore",Xe(),zf(e,t,n)},useId:function(){return z="useId",Xe(),Kf()},useFormState:function(e,t){return z="useFormState",Xe(),tu(),Aa(e,t)},useActionState:function(e,t){return z="useActionState",Xe(),Aa(e,t)},useOptimistic:function(e){return z="useOptimistic",Xe(),Bf(e)},useHostTransitionStatus:Fo,useMemoCache:Lo,useCacheRefresh:function(){return z="useCacheRefresh",Xe(),Jf()}},Zy={readContext:function(e){return gt(e)},use:Br,useCallback:function(e,t){return z="useCallback",te(),Gf(e,t)},useContext:function(e){return z="useContext",te(),gt(e)},useEffect:function(e,t){return z="useEffect",te(),au(e,t)},useImperativeHandle:function(e,t,n){return z="useImperativeHandle",te(),Yf(e,t,n)},useInsertionEffect:function(e,t){z="useInsertionEffect",te(),qo(4,pn,e,t)},useLayoutEffect:function(e,t){return z="useLayoutEffect",te(),Ff(e,t)},useMemo:function(e,t){z="useMemo",te();var n=H.H;H.H=Fs;try{return $f(e,t)}finally{H.H=n}},useReducer:function(e,t,n){z="useReducer",te();var s=H.H;H.H=Fs;try{return Pf(e,t,n)}finally{H.H=s}},useRef:function(e){return z="useRef",te(),qf(e)},useState:function(e){z="useState",te();var t=H.H;H.H=Fs;try{return _f(e)}finally{H.H=t}},useDebugValue:function(){z="useDebugValue",te()},useDeferredValue:function(e,t){return z="useDeferredValue",te(),Qf(e,t)},useTransition:function(){return z="useTransition",te(),Zf()},useSyncExternalStore:function(e,t,n){return z="useSyncExternalStore",te(),zf(e,t,n)},useId:function(){return z="useId",te(),Kf()},useActionState:function(e,t){return z="useActionState",te(),Aa(e,t)},useFormState:function(e,t){return z="useFormState",te(),tu(),Aa(e,t)},useOptimistic:function(e){return z="useOptimistic",te(),Bf(e)},useHostTransitionStatus:Fo,useMemoCache:Lo,useCacheRefresh:function(){return z="useCacheRefresh",te(),Jf()}},_p={readContext:function(e){return gt(e)},use:Br,useCallback:function(e,t){return z="useCallback",te(),iu(e,t)},useContext:function(e){return z="useContext",te(),gt(e)},useEffect:function(e,t){z="useEffect",te(),En(2048,Lt,e,t)},useImperativeHandle:function(e,t,n){return z="useImperativeHandle",te(),lu(e,t,n)},useInsertionEffect:function(e,t){return z="useInsertionEffect",te(),En(4,pn,e,t)},useLayoutEffect:function(e,t){return z="useLayoutEffect",te(),En(4,Wt,e,t)},useMemo:function(e,t){z="useMemo",te();var n=H.H;H.H=gs;try{return cu(e,t)}finally{H.H=n}},useReducer:function(e,t,n){z="useReducer",te();var s=H.H;H.H=gs;try{return Ra(e,t,n)}finally{H.H=s}},useRef:function(){return z="useRef",te(),ct().memoizedState},useState:function(){z="useState",te();var e=H.H;H.H=gs;try{return Ra(hs)}finally{H.H=e}},useDebugValue:function(){z="useDebugValue",te()},useDeferredValue:function(e,t){return z="useDeferredValue",te(),Uv(e,t)},useTransition:function(){return z="useTransition",te(),Ov()},useSyncExternalStore:function(e,t,n){return z="useSyncExternalStore",te(),nu(e,t,n)},useId:function(){return z="useId",te(),ct().memoizedState},useFormState:function(e){return z="useFormState",te(),tu(),su(e)},useActionState:function(e){return z="useActionState",te(),su(e)},useOptimistic:function(e,t){return z="useOptimistic",te(),xv(e,t)},useHostTransitionStatus:Fo,useMemoCache:Lo,useCacheRefresh:function(){return z="useCacheRefresh",te(),ct().memoizedState}},Ky={readContext:function(e){return gt(e)},use:Br,useCallback:function(e,t){return z="useCallback",te(),iu(e,t)},useContext:function(e){return z="useContext",te(),gt(e)},useEffect:function(e,t){z="useEffect",te(),En(2048,Lt,e,t)},useImperativeHandle:function(e,t,n){return z="useImperativeHandle",te(),lu(e,t,n)},useInsertionEffect:function(e,t){return z="useInsertionEffect",te(),En(4,pn,e,t)},useLayoutEffect:function(e,t){return z="useLayoutEffect",te(),En(4,Wt,e,t)},useMemo:function(e,t){z="useMemo",te();var n=H.H;H.H=ld;try{return cu(e,t)}finally{H.H=n}},useReducer:function(e,t,n){z="useReducer",te();var s=H.H;H.H=ld;try{return hi(e,t,n)}finally{H.H=s}},useRef:function(){return z="useRef",te(),ct().memoizedState},useState:function(){z="useState",te();var e=H.H;H.H=ld;try{return hi(hs)}finally{H.H=e}},useDebugValue:function(){z="useDebugValue",te()},useDeferredValue:function(e,t){return z="useDeferredValue",te(),Cv(e,t)},useTransition:function(){return z="useTransition",te(),Pv()},useSyncExternalStore:function(e,t,n){return z="useSyncExternalStore",te(),nu(e,t,n)},useId:function(){return z="useId",te(),ct().memoizedState},useFormState:function(e){return z="useFormState",te(),tu(),ru(e)},useActionState:function(e){return z="useActionState",te(),ru(e)},useOptimistic:function(e,t){return z="useOptimistic",te(),yv(e,t)},useHostTransitionStatus:Fo,useMemoCache:Lo,useCacheRefresh:function(){return z="useCacheRefresh",te(),ct().memoizedState}},Fs={readContext:function(e){return U(),gt(e)},use:function(e){return y(),Br(e)},useCallback:function(e,t){return z="useCallback",y(),Xe(),Gf(e,t)},useContext:function(e){return z="useContext",y(),Xe(),gt(e)},useEffect:function(e,t){return z="useEffect",y(),Xe(),au(e,t)},useImperativeHandle:function(e,t,n){return z="useImperativeHandle",y(),Xe(),Yf(e,t,n)},useInsertionEffect:function(e,t){z="useInsertionEffect",y(),Xe(),qo(4,pn,e,t)},useLayoutEffect:function(e,t){return z="useLayoutEffect",y(),Xe(),Ff(e,t)},useMemo:function(e,t){z="useMemo",y(),Xe();var n=H.H;H.H=Fs;try{return $f(e,t)}finally{H.H=n}},useReducer:function(e,t,n){z="useReducer",y(),Xe();var s=H.H;H.H=Fs;try{return Pf(e,t,n)}finally{H.H=s}},useRef:function(e){return z="useRef",y(),Xe(),qf(e)},useState:function(e){z="useState",y(),Xe();var t=H.H;H.H=Fs;try{return _f(e)}finally{H.H=t}},useDebugValue:function(){z="useDebugValue",y(),Xe()},useDeferredValue:function(e,t){return z="useDeferredValue",y(),Xe(),Qf(e,t)},useTransition:function(){return z="useTransition",y(),Xe(),Zf()},useSyncExternalStore:function(e,t,n){return z="useSyncExternalStore",y(),Xe(),zf(e,t,n)},useId:function(){return z="useId",y(),Xe(),Kf()},useFormState:function(e,t){return z="useFormState",y(),Xe(),Aa(e,t)},useActionState:function(e,t){return z="useActionState",y(),Xe(),Aa(e,t)},useOptimistic:function(e){return z="useOptimistic",y(),Xe(),Bf(e)},useMemoCache:function(e){return y(),Lo(e)},useHostTransitionStatus:Fo,useCacheRefresh:function(){return z="useCacheRefresh",Xe(),Jf()}},gs={readContext:function(e){return U(),gt(e)},use:function(e){return y(),Br(e)},useCallback:function(e,t){return z="useCallback",y(),te(),iu(e,t)},useContext:function(e){return z="useContext",y(),te(),gt(e)},useEffect:function(e,t){z="useEffect",y(),te(),En(2048,Lt,e,t)},useImperativeHandle:function(e,t,n){return z="useImperativeHandle",y(),te(),lu(e,t,n)},useInsertionEffect:function(e,t){return z="useInsertionEffect",y(),te(),En(4,pn,e,t)},useLayoutEffect:function(e,t){return z="useLayoutEffect",y(),te(),En(4,Wt,e,t)},useMemo:function(e,t){z="useMemo",y(),te();var n=H.H;H.H=gs;try{return cu(e,t)}finally{H.H=n}},useReducer:function(e,t,n){z="useReducer",y(),te();var s=H.H;H.H=gs;try{return Ra(e,t,n)}finally{H.H=s}},useRef:function(){return z="useRef",y(),te(),ct().memoizedState},useState:function(){z="useState",y(),te();var e=H.H;H.H=gs;try{return Ra(hs)}finally{H.H=e}},useDebugValue:function(){z="useDebugValue",y(),te()},useDeferredValue:function(e,t){return z="useDeferredValue",y(),te(),Uv(e,t)},useTransition:function(){return z="useTransition",y(),te(),Ov()},useSyncExternalStore:function(e,t,n){return z="useSyncExternalStore",y(),te(),nu(e,t,n)},useId:function(){return z="useId",y(),te(),ct().memoizedState},useFormState:function(e){return z="useFormState",y(),te(),su(e)},useActionState:function(e){return z="useActionState",y(),te(),su(e)},useOptimistic:function(e,t){return z="useOptimistic",y(),te(),xv(e,t)},useMemoCache:function(e){return y(),Lo(e)},useHostTransitionStatus:Fo,useCacheRefresh:function(){return z="useCacheRefresh",te(),ct().memoizedState}},ld={readContext:function(e){return U(),gt(e)},use:function(e){return y(),Br(e)},useCallback:function(e,t){return z="useCallback",y(),te(),iu(e,t)},useContext:function(e){return z="useContext",y(),te(),gt(e)},useEffect:function(e,t){z="useEffect",y(),te(),En(2048,Lt,e,t)},useImperativeHandle:function(e,t,n){return z="useImperativeHandle",y(),te(),lu(e,t,n)},useInsertionEffect:function(e,t){return z="useInsertionEffect",y(),te(),En(4,pn,e,t)},useLayoutEffect:function(e,t){return z="useLayoutEffect",y(),te(),En(4,Wt,e,t)},useMemo:function(e,t){z="useMemo",y(),te();var n=H.H;H.H=gs;try{return cu(e,t)}finally{H.H=n}},useReducer:function(e,t,n){z="useReducer",y(),te();var s=H.H;H.H=gs;try{return hi(e,t,n)}finally{H.H=s}},useRef:function(){return z="useRef",y(),te(),ct().memoizedState},useState:function(){z="useState",y(),te();var e=H.H;H.H=gs;try{return hi(hs)}finally{H.H=e}},useDebugValue:function(){z="useDebugValue",y(),te()},useDeferredValue:function(e,t){return z="useDeferredValue",y(),te(),Cv(e,t)},useTransition:function(){return z="useTransition",y(),te(),Pv()},useSyncExternalStore:function(e,t,n){return z="useSyncExternalStore",y(),te(),nu(e,t,n)},useId:function(){return z="useId",y(),te(),ct().memoizedState},useFormState:function(e){return z="useFormState",y(),te(),ru(e)},useActionState:function(e){return z="useActionState",y(),te(),ru(e)},useOptimistic:function(e,t){return z="useOptimistic",y(),te(),yv(e,t)},useMemoCache:function(e){return y(),Lo(e)},useHostTransitionStatus:Fo,useCacheRefresh:function(){return z="useCacheRefresh",te(),ct().memoizedState}};var Jy={"react-stack-bottom-frame":function(e,t,n){var s=Bs;Bs=!0;try{return e(t,n)}finally{Bs=s}}},Bp=Jy["react-stack-bottom-frame"].bind(Jy),Wy={"react-stack-bottom-frame":function(e){var t=Bs;Bs=!0;try{return e.render()}finally{Bs=t}}},e0=Wy["react-stack-bottom-frame"].bind(Wy),t0={"react-stack-bottom-frame":function(e,t){try{t.componentDidMount()}catch(n){ut(e,e.return,n)}}},Lp=t0["react-stack-bottom-frame"].bind(t0),n0={"react-stack-bottom-frame":function(e,t,n,s,r){try{t.componentDidUpdate(n,s,r)}catch(o){ut(e,e.return,o)}}},s0=n0["react-stack-bottom-frame"].bind(n0),r0={"react-stack-bottom-frame":function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n!==null?n:""})}},uE=r0["react-stack-bottom-frame"].bind(r0),o0={"react-stack-bottom-frame":function(e,t,n){try{n.componentWillUnmount()}catch(s){ut(e,t,s)}}},a0=o0["react-stack-bottom-frame"].bind(o0),l0={"react-stack-bottom-frame":function(e){e.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",e.resourceKind);var t=e.create;return e=e.inst,t=t(),e.destroy=t}},dE=l0["react-stack-bottom-frame"].bind(l0),i0={"react-stack-bottom-frame":function(e,t,n){try{n()}catch(s){ut(e,t,s)}}},fE=i0["react-stack-bottom-frame"].bind(i0),c0={"react-stack-bottom-frame":function(e){var t=e._init;return t(e._payload)}},to=c0["react-stack-bottom-frame"].bind(c0),dl=null,tc=0,Le=null,qp,u0=qp=!1,d0={},f0={},m0={};E=function(e,t,n){if(n!==null&&typeof n=="object"&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");n._store.validated=1;var s=W(e),r=s||"null";if(!d0[r]){d0[r]=!0,n=n._owner,e=e._debugOwner;var o="";e&&typeof e.tag=="number"&&(r=W(e))&&(o=`
261
-
262
- Check the render method of \``+r+"`."),o||s&&(o=`
263
-
264
- Check the top-level render call using <`+s+">.");var u="";n!=null&&e!==n&&(s=null,typeof n.tag=="number"?s=W(n):typeof n.name=="string"&&(s=n.name),s&&(u=" It was passed a child from "+s+".")),je(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',o,u)})}}};var fl=_v(!0),p0=_v(!1),is=Ee(null),Ys=null,ml=1,nc=2,qt=Ee(0),h0={},b0=new Set,v0=new Set,x0=new Set,g0=new Set,y0=new Set,N0=new Set,S0=new Set,w0=new Set,j0=new Set,E0=new Set;Object.freeze(h0);var Fp={enqueueSetState:function(e,t,n){e=e._reactInternals;var s=Fn(e),r=Hr(s);r.payload=t,n!=null&&(em(n),r.callback=n),t=_r(e,r,s),t!==null&&(Mt(t,e,s),di(t,e,s)),tn(e,s)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var s=Fn(e),r=Hr(s);r.tag=Yy,r.payload=t,n!=null&&(em(n),r.callback=n),t=_r(e,r,s),t!==null&&(Mt(t,e,s),di(t,e,s)),tn(e,s)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Fn(e),s=Hr(n);s.tag=Gy,t!=null&&(em(t),s.callback=t),t=_r(e,s,n),t!==null&&(Mt(t,e,n),di(t,e,n)),de!==null&&typeof de.markForceUpdateScheduled=="function"&&de.markForceUpdateScheduled(e,n)}},Yp=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},pl=null,Gp=null,D0=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."),$t=!1,T0={},U0={},C0={},R0={},hl=!1,A0={},$p={},Qp={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},V0=!1,M0=null;M0=new Set;var xr=!1,Ot=!1,Ip=!1,O0=typeof WeakSet=="function"?WeakSet:Set,Qt=null,bl=null,vl=null,_t=null,Un=!1,ys=null,sc=8192,mE={getCacheForType:function(e){var t=gt(Bt),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},getOwner:function(){return Gn}};if(typeof Symbol=="function"&&Symbol.for){var rc=Symbol.for;rc("selector.component"),rc("selector.has_pseudo_class"),rc("selector.role"),rc("selector.test_id"),rc("selector.text")}var pE=[],hE=typeof WeakMap=="function"?WeakMap:Map,$n=0,hn=2,Ns=4,gr=0,oc=1,xl=2,Xp=3,ta=4,id=6,P0=5,rt=$n,mt=null,Ge=null,Ze=0,Cn=0,ac=1,na=2,lc=3,k0=4,Zp=5,gl=6,ic=7,Kp=8,sa=9,at=Cn,Qn=null,no=!1,yl=!1,Jp=!1,Gs=0,Ct=gr,so=0,ro=0,Wp=0,In=0,ra=0,cc=null,bn=null,cd=!1,eh=0,z0=300,ud=1/0,H0=500,uc=null,oo=null,bE=0,vE=1,xE=2,oa=0,_0=1,B0=2,L0=3,gE=4,th=5,en=0,ao=null,Nl=null,lo=0,nh=0,sh=null,q0=null,yE=50,dc=0,rh=null,oh=!1,dd=!1,NE=50,aa=0,fc=null,Sl=!1,fd=null,F0=!1,Y0=new Set,SE={},md=null,wl=null,ah=!1,lh=!1,pd=!1,ih=!1,la=0,ch={};(function(){for(var e=0;e<Dp.length;e++){var t=Dp[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),ps(n,"on"+t)}ps(Uy,"onAnimationEnd"),ps(Cy,"onAnimationIteration"),ps(Ry,"onAnimationStart"),ps("dblclick","onDoubleClick"),ps("focusin","onFocus"),ps("focusout","onBlur"),ps(Wj,"onTransitionRun"),ps(eE,"onTransitionStart"),ps(tE,"onTransitionCancel"),ps(Ay,"onTransitionEnd")})(),oe("onMouseEnter",["mouseout","mouseover"]),oe("onMouseLeave",["mouseout","mouseover"]),oe("onPointerEnter",["pointerout","pointerover"]),oe("onPointerLeave",["pointerout","pointerover"]),ee("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ee("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ee("onBeforeInput",["compositionend","keypress","textInput","paste"]),ee("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ee("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ee("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var mc="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(" "),uh=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(mc)),hd="_reactListening"+Math.random().toString(36).slice(2),G0=!1,$0=!1,bd=!1,Q0=!1,vd=!1,xd=!1,I0=!1,gd={},wE=/\r\n?/g,jE=/\u0000|\uFFFD/g,ia="http://www.w3.org/1999/xlink",dh="http://www.w3.org/XML/1998/namespace",EE="javascript:throw new Error('React form unexpectedly submitted.')",DE="suppressHydrationWarning",yd="$",Nd="/$",yr="$?",pc="$!",TE=1,UE=2,CE=4,fh="F!",X0="F",Z0="complete",RE="style",Nr=0,jl=1,Sd=2,mh=null,ph=null,K0={dialog:!0,webview:!0},hh=null,J0=typeof setTimeout=="function"?setTimeout:void 0,AE=typeof clearTimeout=="function"?clearTimeout:void 0,ca=-1,W0=typeof Promise=="function"?Promise:void 0,VE=typeof queueMicrotask=="function"?queueMicrotask:typeof W0<"u"?function(e){return W0.resolve(null).then(e).catch(vw)}:J0,bh=null,ua=0,hc=1,eN=2,tN=3,cs=4,us=new Map,nN=new Set,Sr=st.d;st.d={f:function(){var e=Sr.f(),t=ka();return e||t},r:function(e){var t=yn(e);t!==null&&t.tag===5&&t.type==="form"?Mv(t):Sr.r(e)},D:function(e){Sr.D(e),Sg("dns-prefetch",e,null)},C:function(e,t){Sr.C(e,t),Sg("preconnect",e,t)},L:function(e,t,n){Sr.L(e,t,n);var s=El;if(s&&e&&t){var r='link[rel="preload"][as="'+Zn(t)+'"]';t==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+Zn(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+Zn(n.imageSizes)+'"]')):r+='[href="'+Zn(e)+'"]';var o=r;switch(t){case"style":o=Ba(e);break;case"script":o=La(e)}us.has(o)||(e=qe({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),us.set(o,e),s.querySelector(r)!==null||t==="style"&&s.querySelector(Ui(o))||t==="script"&&s.querySelector(Ci(o))||(t=s.createElement("link"),Zt(t,"link",e),C(t),s.head.appendChild(t)))}},m:function(e,t){Sr.m(e,t);var n=El;if(n&&e){var s=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+Zn(s)+'"][href="'+Zn(e)+'"]',o=r;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=La(e)}if(!us.has(o)&&(e=qe({rel:"modulepreload",href:e},t),us.set(o,e),n.querySelector(r)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Ci(o)))return}s=n.createElement("link"),Zt(s,"link",e),C(s),n.head.appendChild(s)}}},X:function(e,t){Sr.X(e,t);var n=El;if(n&&e){var s=h(n).hoistableScripts,r=La(e),o=s.get(r);o||(o=n.querySelector(Ci(r)),o||(e=qe({src:e,async:!0},t),(t=us.get(r))&&Fm(e,t),o=n.createElement("script"),C(o),Zt(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},s.set(r,o))}},S:function(e,t,n){Sr.S(e,t,n);var s=El;if(s&&e){var r=h(s).hoistableStyles,o=Ba(e);t=t||"default";var u=r.get(o);if(!u){var f={loading:ua,preload:null};if(u=s.querySelector(Ui(o)))f.loading=hc|cs;else{e=qe({rel:"stylesheet",href:e,"data-precedence":t},n),(n=us.get(o))&&qm(e,n);var b=u=s.createElement("link");C(b),Zt(b,"link",e),b._p=new Promise(function(x,P){b.onload=x,b.onerror=P}),b.addEventListener("load",function(){f.loading|=hc}),b.addEventListener("error",function(){f.loading|=eN}),f.loading|=cs,Ru(u,t,s)}u={type:"stylesheet",instance:u,count:1,state:f},r.set(o,u)}}},M:function(e,t){Sr.M(e,t);var n=El;if(n&&e){var s=h(n).hoistableScripts,r=La(e),o=s.get(r);o||(o=n.querySelector(Ci(r)),o||(e=qe({src:e,async:!0,type:"module"},t),(t=us.get(r))&&Fm(e,t),o=n.createElement("script"),C(o),Zt(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},s.set(r,o))}}};var El=typeof document>"u"?null:document,wd=null,bc=null,vh=null,jd=null,da=Kw,vc={$$typeof:ks,Provider:null,Consumer:null,_currentValue:da,_currentValue2:da,_threadCount:0},sN="%c%s%c ",rN="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",oN="",Ed=" ",ME=Function.prototype.bind,aN=!1,lN=null,iN=null,cN=null,uN=null,dN=null,fN=null,mN=null,pN=null,hN=null;lN=function(e,t,n,s){t=l(e,t),t!==null&&(n=a(t.memoizedState,n,0,s),t.memoizedState=n,t.baseState=n,e.memoizedProps=qe({},e.memoizedProps),n=wn(e,2),n!==null&&Mt(n,e,2))},iN=function(e,t,n){t=l(e,t),t!==null&&(n=p(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=qe({},e.memoizedProps),n=wn(e,2),n!==null&&Mt(n,e,2))},cN=function(e,t,n,s){t=l(e,t),t!==null&&(n=c(t.memoizedState,n,s),t.memoizedState=n,t.baseState=n,e.memoizedProps=qe({},e.memoizedProps),n=wn(e,2),n!==null&&Mt(n,e,2))},uN=function(e,t,n){e.pendingProps=a(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=wn(e,2),t!==null&&Mt(t,e,2)},dN=function(e,t){e.pendingProps=p(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=wn(e,2),t!==null&&Mt(t,e,2)},fN=function(e,t,n){e.pendingProps=c(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=wn(e,2),t!==null&&Mt(t,e,2)},mN=function(e){var t=wn(e,2);t!==null&&Mt(t,e,2)},pN=function(e){S=e},hN=function(e){v=e};var Dd=!0,Td=null,xh=!1,io=null,co=null,uo=null,xc=new Map,gc=new Map,fo=[],OE="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(" "),Ud=null;if(Ou.prototype.render=Zm.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var n=arguments;typeof n[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):k(n[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var s=t.current,r=Fn(s);Gm(s,r,n,t,null,null)},Ou.prototype.unmount=Zm.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(rt&(hn|Ns))!==$n&&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."),Gm(e.current,2,null,e,null,null),ka(),t[Zr]=null}},Ou.prototype.unstable_scheduleHydration=function(e){if(e){var t=Or();e={blockedOn:null,target:e,priority:t};for(var n=0;n<fo.length&&t!==0&&t<fo[n].priority;n++);fo.splice(n,0,e),n===0&&Pg(e)}},function(){var e=Km.version;if(e!=="19.1.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
265
- - react: `+(e+`
266
- - react-dom: 19.1.0
267
- 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"),st.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=le(t),e=e!==null?ce(e):null,e=e===null?null:e.stateNode,e},!function(){var e={bundleType:1,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:H,reconcilerVersion:"19.1.0"};return e.overrideHookState=lN,e.overrideHookStateDeletePath=iN,e.overrideHookStateRenamePath=cN,e.overrideProps=uN,e.overridePropsDeletePath=dN,e.overridePropsRenamePath=fN,e.scheduleUpdate=mN,e.setErrorHandler=pN,e.setSuspenseHandler=hN,e.scheduleRefresh=Y,e.scheduleRoot=R,e.setRefreshHandler=Q,e.getCurrentFiber=Bw,e.getLaneLabelMap=Lw,e.injectProfilingHooks=Ye,ze(e)}()&&Ls&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var bN=window.location.protocol;/^(https?|file):$/.test(bN)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(bN==="file:"?`
268
- You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}yc.createRoot=function(e,t){if(!k(e))throw Error("Target container is not a DOM element.");Hg(e);var n=!1,s="",r=Fv,o=Yv,u=Gv,f=null;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===$r&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
269
-
270
- let root = createRoot(domContainer);
271
- root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(s=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(o=t.onCaughtError),t.onRecoverableError!==void 0&&(u=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(f=t.unstable_transitionCallbacks)),t=Cg(e,1,!1,null,null,n,s,r,o,u,f,null),e[Zr]=t.current,Vm(e),new Zm(t)},yc.hydrateRoot=function(e,t,n){if(!k(e))throw Error("Target container is not a DOM element.");Hg(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var s=!1,r="",o=Fv,u=Yv,f=Gv,b=null,x=null;return n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onUncaughtError!==void 0&&(o=n.onUncaughtError),n.onCaughtError!==void 0&&(u=n.onCaughtError),n.onRecoverableError!==void 0&&(f=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(b=n.unstable_transitionCallbacks),n.formState!==void 0&&(x=n.formState)),t=Cg(e,1,!0,t,n??null,s,r,o,u,f,b,x),t.context=Rg(null),n=t.current,s=Fn(n),s=Co(s),r=Hr(s),r.callback=null,_r(n,r,s),n=s,t.current.lanes=n,cn(t,n),Os(t),e[Zr]=t.current,Vm(e),new Ou(t)},yc.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}(),yc}var TN;function YE(){return TN||(TN=1,Sh.exports=FE()),Sh.exports}var GE=YE(),Gl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(l){return this.listeners.add(l),this.onSubscribe(),()=>{this.listeners.delete(l),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},wa=typeof window>"u"||"Deno"in globalThis;function gn(){}function $E(l,a){return typeof l=="function"?l(a):l}function Ah(l){return typeof l=="number"&&l>=0&&l!==1/0}function m1(l,a){return Math.max(l+(a||0)-Date.now(),0)}function Eo(l,a){return typeof l=="function"?l(a):l}function js(l,a){return typeof l=="function"?l(a):l}function UN(l,a){const{type:c="all",exact:d,fetchStatus:p,predicate:v,queryKey:S,stale:E}=l;if(S){if(d){if(a.queryHash!==eb(S,a.options))return!1}else if(!Tc(a.queryKey,S))return!1}if(c!=="all"){const y=a.isActive();if(c==="active"&&!y||c==="inactive"&&y)return!1}return!(typeof E=="boolean"&&a.isStale()!==E||p&&p!==a.state.fetchStatus||v&&!v(a))}function CN(l,a){const{exact:c,status:d,predicate:p,mutationKey:v}=l;if(v){if(!a.options.mutationKey)return!1;if(c){if(ja(a.options.mutationKey)!==ja(v))return!1}else if(!Tc(a.options.mutationKey,v))return!1}return!(d&&a.state.status!==d||p&&!p(a))}function eb(l,a){return((a==null?void 0:a.queryKeyHashFn)||ja)(l)}function ja(l){return JSON.stringify(l,(a,c)=>Mh(c)?Object.keys(c).sort().reduce((d,p)=>(d[p]=c[p],d),{}):c)}function Tc(l,a){return l===a?!0:typeof l!=typeof a?!1:l&&a&&typeof l=="object"&&typeof a=="object"?Object.keys(a).every(c=>Tc(l[c],a[c])):!1}function Vh(l,a){if(l===a)return l;const c=RN(l)&&RN(a);if(c||Mh(l)&&Mh(a)){const d=c?l:Object.keys(l),p=d.length,v=c?a:Object.keys(a),S=v.length,E=c?[]:{},y=new Set(d);let U=0;for(let V=0;V<S;V++){const m=c?V:v[V];(!c&&y.has(m)||c)&&l[m]===void 0&&a[m]===void 0?(E[m]=void 0,U++):(E[m]=Vh(l[m],a[m]),E[m]===l[m]&&l[m]!==void 0&&U++)}return p===S&&U===p?l:E}return a}function Bd(l,a){if(!a||Object.keys(l).length!==Object.keys(a).length)return!1;for(const c in l)if(l[c]!==a[c])return!1;return!0}function RN(l){return Array.isArray(l)&&l.length===Object.keys(l).length}function Mh(l){if(!AN(l))return!1;const a=l.constructor;if(a===void 0)return!0;const c=a.prototype;return!(!AN(c)||!c.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(l)!==Object.prototype)}function AN(l){return Object.prototype.toString.call(l)==="[object Object]"}function QE(l){return new Promise(a=>{setTimeout(a,l)})}function Oh(l,a,c){if(typeof c.structuralSharing=="function")return c.structuralSharing(l,a);if(c.structuralSharing!==!1){try{return Vh(l,a)}catch(d){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${c.queryHash}]: ${d}`),d}return Vh(l,a)}return a}function IE(l,a,c=0){const d=[...l,a];return c&&d.length>c?d.slice(1):d}function XE(l,a,c=0){const d=[a,...l];return c&&d.length>c?d.slice(0,-1):d}var Ld=Symbol();function p1(l,a){return l.queryFn===Ld&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${l.queryHash}'`),!l.queryFn&&(a!=null&&a.initialPromise)?()=>a.initialPromise:!l.queryFn||l.queryFn===Ld?()=>Promise.reject(new Error(`Missing queryFn: '${l.queryHash}'`)):l.queryFn}function h1(l,a){return typeof l=="function"?l(...a):!!l}var pa,ho,Al,e1,ZE=(e1=class extends Gl{constructor(){super();Ue(this,pa);Ue(this,ho);Ue(this,Al);fe(this,Al,a=>{if(!wa&&window.addEventListener){const c=()=>a();return window.addEventListener("visibilitychange",c,!1),()=>{window.removeEventListener("visibilitychange",c)}}})}onSubscribe(){D(this,ho)||this.setEventListener(D(this,Al))}onUnsubscribe(){var a;this.hasListeners()||((a=D(this,ho))==null||a.call(this),fe(this,ho,void 0))}setEventListener(a){var c;fe(this,Al,a),(c=D(this,ho))==null||c.call(this),fe(this,ho,a(d=>{typeof d=="boolean"?this.setFocused(d):this.onFocus()}))}setFocused(a){D(this,pa)!==a&&(fe(this,pa,a),this.onFocus())}onFocus(){const a=this.isFocused();this.listeners.forEach(c=>{c(a)})}isFocused(){var a;return typeof D(this,pa)=="boolean"?D(this,pa):((a=globalThis.document)==null?void 0:a.visibilityState)!=="hidden"}},pa=new WeakMap,ho=new WeakMap,Al=new WeakMap,e1),tb=new ZE,Vl,bo,Ml,t1,KE=(t1=class extends Gl{constructor(){super();Ue(this,Vl,!0);Ue(this,bo);Ue(this,Ml);fe(this,Ml,a=>{if(!wa&&window.addEventListener){const c=()=>a(!0),d=()=>a(!1);return window.addEventListener("online",c,!1),window.addEventListener("offline",d,!1),()=>{window.removeEventListener("online",c),window.removeEventListener("offline",d)}}})}onSubscribe(){D(this,bo)||this.setEventListener(D(this,Ml))}onUnsubscribe(){var a;this.hasListeners()||((a=D(this,bo))==null||a.call(this),fe(this,bo,void 0))}setEventListener(a){var c;fe(this,Ml,a),(c=D(this,bo))==null||c.call(this),fe(this,bo,a(this.setOnline.bind(this)))}setOnline(a){D(this,Vl)!==a&&(fe(this,Vl,a),this.listeners.forEach(d=>{d(a)}))}isOnline(){return D(this,Vl)}},Vl=new WeakMap,bo=new WeakMap,Ml=new WeakMap,t1),qd=new KE;function Ph(){let l,a;const c=new Promise((p,v)=>{l=p,a=v});c.status="pending",c.catch(()=>{});function d(p){Object.assign(c,p),delete c.resolve,delete c.reject}return c.resolve=p=>{d({status:"fulfilled",value:p}),l(p)},c.reject=p=>{d({status:"rejected",reason:p}),a(p)},c}function JE(l){return Math.min(1e3*2**l,3e4)}function b1(l){return(l??"online")==="online"?qd.isOnline():!0}var v1=class extends Error{constructor(l){super("CancelledError"),this.revert=l==null?void 0:l.revert,this.silent=l==null?void 0:l.silent}};function Dh(l){return l instanceof v1}function x1(l){let a=!1,c=0,d=!1,p;const v=Ph(),S=Q=>{var k;d||(g(new v1(Q)),(k=l.abort)==null||k.call(l))},E=()=>{a=!0},y=()=>{a=!1},U=()=>tb.isFocused()&&(l.networkMode==="always"||qd.isOnline())&&l.canRun(),V=()=>b1(l.networkMode)&&l.canRun(),m=Q=>{var k;d||(d=!0,(k=l.onSuccess)==null||k.call(l,Q),p==null||p(),v.resolve(Q))},g=Q=>{var k;d||(d=!0,(k=l.onError)==null||k.call(l,Q),p==null||p(),v.reject(Q))},R=()=>new Promise(Q=>{var k;p=I=>{(d||U())&&Q(I)},(k=l.onPause)==null||k.call(l)}).then(()=>{var Q;p=void 0,d||(Q=l.onContinue)==null||Q.call(l)}),Y=()=>{if(d)return;let Q;const k=c===0?l.initialPromise:void 0;try{Q=k??l.fn()}catch(I){Q=Promise.reject(I)}Promise.resolve(Q).then(m).catch(I=>{var me;if(d)return;const ge=l.retry??(wa?0:3),X=l.retryDelay??JE,le=typeof X=="function"?X(c,I):X,ce=ge===!0||typeof ge=="number"&&c<ge||typeof ge=="function"&&ge(c,I);if(a||!ce){g(I);return}c++,(me=l.onFail)==null||me.call(l,c,I),QE(le).then(()=>U()?void 0:R()).then(()=>{a?g(I):Y()})})};return{promise:v,cancel:S,continue:()=>(p==null||p(),v),cancelRetry:E,continueRetry:y,canStart:V,start:()=>(V()?Y():R().then(Y),v)}}var WE=l=>setTimeout(l,0);function eD(){let l=[],a=0,c=E=>{E()},d=E=>{E()},p=WE;const v=E=>{a?l.push(E):p(()=>{c(E)})},S=()=>{const E=l;l=[],E.length&&p(()=>{d(()=>{E.forEach(y=>{c(y)})})})};return{batch:E=>{let y;a++;try{y=E()}finally{a--,a||S()}return y},batchCalls:E=>(...y)=>{v(()=>{E(...y)})},schedule:v,setNotifyFunction:E=>{c=E},setBatchNotifyFunction:E=>{d=E},setScheduler:E=>{p=E}}}var Yt=eD(),ha,n1,g1=(n1=class{constructor(){Ue(this,ha)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ah(this.gcTime)&&fe(this,ha,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(l){this.gcTime=Math.max(this.gcTime||0,l??(wa?1/0:5*60*1e3))}clearGcTimeout(){D(this,ha)&&(clearTimeout(D(this,ha)),fe(this,ha,void 0))}},ha=new WeakMap,n1),Ol,Pl,ds,ba,an,Rc,va,Ss,Er,s1,tD=(s1=class extends g1{constructor(a){super();Ue(this,Ss);Ue(this,Ol);Ue(this,Pl);Ue(this,ds);Ue(this,ba);Ue(this,an);Ue(this,Rc);Ue(this,va);fe(this,va,!1),fe(this,Rc,a.defaultOptions),this.setOptions(a.options),this.observers=[],fe(this,ba,a.client),fe(this,ds,D(this,ba).getQueryCache()),this.queryKey=a.queryKey,this.queryHash=a.queryHash,fe(this,Ol,nD(this.options)),this.state=a.state??D(this,Ol),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var a;return(a=D(this,an))==null?void 0:a.promise}setOptions(a){this.options={...D(this,Rc),...a},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&D(this,ds).remove(this)}setData(a,c){const d=Oh(this.state.data,a,this.options);return Fe(this,Ss,Er).call(this,{data:d,type:"success",dataUpdatedAt:c==null?void 0:c.updatedAt,manual:c==null?void 0:c.manual}),d}setState(a,c){Fe(this,Ss,Er).call(this,{type:"setState",state:a,setStateOptions:c})}cancel(a){var d,p;const c=(d=D(this,an))==null?void 0:d.promise;return(p=D(this,an))==null||p.cancel(a),c?c.then(gn).catch(gn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(D(this,Ol))}isActive(){return this.observers.some(a=>js(a.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Ld||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(a=>Eo(a.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(a=>a.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(a=0){return this.state.data===void 0?!0:a==="static"?!1:this.state.isInvalidated?!0:!m1(this.state.dataUpdatedAt,a)}onFocus(){var c;const a=this.observers.find(d=>d.shouldFetchOnWindowFocus());a==null||a.refetch({cancelRefetch:!1}),(c=D(this,an))==null||c.continue()}onOnline(){var c;const a=this.observers.find(d=>d.shouldFetchOnReconnect());a==null||a.refetch({cancelRefetch:!1}),(c=D(this,an))==null||c.continue()}addObserver(a){this.observers.includes(a)||(this.observers.push(a),this.clearGcTimeout(),D(this,ds).notify({type:"observerAdded",query:this,observer:a}))}removeObserver(a){this.observers.includes(a)&&(this.observers=this.observers.filter(c=>c!==a),this.observers.length||(D(this,an)&&(D(this,va)?D(this,an).cancel({revert:!0}):D(this,an).cancelRetry()),this.scheduleGc()),D(this,ds).notify({type:"observerRemoved",query:this,observer:a}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Fe(this,Ss,Er).call(this,{type:"invalidate"})}fetch(a,c){var U,V,m;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(c!=null&&c.cancelRefetch))this.cancel({silent:!0});else if(D(this,an))return D(this,an).continueRetry(),D(this,an).promise}if(a&&this.setOptions(a),!this.options.queryFn){const g=this.observers.find(R=>R.options.queryFn);g&&this.setOptions(g.options)}Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']");const d=new AbortController,p=g=>{Object.defineProperty(g,"signal",{enumerable:!0,get:()=>(fe(this,va,!0),d.signal)})},v=()=>{const g=p1(this.options,c),Y=(()=>{const Q={client:D(this,ba),queryKey:this.queryKey,meta:this.meta};return p(Q),Q})();return fe(this,va,!1),this.options.persister?this.options.persister(g,Y,this):g(Y)},E=(()=>{const g={fetchOptions:c,options:this.options,queryKey:this.queryKey,client:D(this,ba),state:this.state,fetchFn:v};return p(g),g})();(U=this.options.behavior)==null||U.onFetch(E,this),fe(this,Pl,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((V=E.fetchOptions)==null?void 0:V.meta))&&Fe(this,Ss,Er).call(this,{type:"fetch",meta:(m=E.fetchOptions)==null?void 0:m.meta});const y=g=>{var R,Y,Q,k;Dh(g)&&g.silent||Fe(this,Ss,Er).call(this,{type:"error",error:g}),Dh(g)||((Y=(R=D(this,ds).config).onError)==null||Y.call(R,g,this),(k=(Q=D(this,ds).config).onSettled)==null||k.call(Q,this.state.data,g,this)),this.scheduleGc()};return fe(this,an,x1({initialPromise:c==null?void 0:c.initialPromise,fn:E.fetchFn,abort:d.abort.bind(d),onSuccess:g=>{var R,Y,Q,k;if(g===void 0){console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),y(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(g)}catch(I){y(I);return}(Y=(R=D(this,ds).config).onSuccess)==null||Y.call(R,g,this),(k=(Q=D(this,ds).config).onSettled)==null||k.call(Q,g,this.state.error,this),this.scheduleGc()},onError:y,onFail:(g,R)=>{Fe(this,Ss,Er).call(this,{type:"failed",failureCount:g,error:R})},onPause:()=>{Fe(this,Ss,Er).call(this,{type:"pause"})},onContinue:()=>{Fe(this,Ss,Er).call(this,{type:"continue"})},retry:E.options.retry,retryDelay:E.options.retryDelay,networkMode:E.options.networkMode,canRun:()=>!0})),D(this,an).start()}},Ol=new WeakMap,Pl=new WeakMap,ds=new WeakMap,ba=new WeakMap,an=new WeakMap,Rc=new WeakMap,va=new WeakMap,Ss=new WeakSet,Er=function(a){const c=d=>{switch(a.type){case"failed":return{...d,fetchFailureCount:a.failureCount,fetchFailureReason:a.error};case"pause":return{...d,fetchStatus:"paused"};case"continue":return{...d,fetchStatus:"fetching"};case"fetch":return{...d,...y1(d.data,this.options),fetchMeta:a.meta??null};case"success":return{...d,data:a.data,dataUpdateCount:d.dataUpdateCount+1,dataUpdatedAt:a.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!a.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const p=a.error;return Dh(p)&&p.revert&&D(this,Pl)?{...D(this,Pl),fetchStatus:"idle"}:{...d,error:p,errorUpdateCount:d.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:d.fetchFailureCount+1,fetchFailureReason:p,fetchStatus:"idle",status:"error"};case"invalidate":return{...d,isInvalidated:!0};case"setState":return{...d,...a.state}}};this.state=c(this.state),Yt.batch(()=>{this.observers.forEach(d=>{d.onQueryUpdate()}),D(this,ds).notify({query:this,type:"updated",action:a})})},s1);function y1(l,a){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:b1(a.networkMode)?"fetching":"paused",...l===void 0&&{error:null,status:"pending"}}}function nD(l){const a=typeof l.initialData=="function"?l.initialData():l.initialData,c=a!==void 0,d=c?typeof l.initialDataUpdatedAt=="function"?l.initialDataUpdatedAt():l.initialDataUpdatedAt:0;return{data:a,dataUpdateCount:0,dataUpdatedAt:c?d??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:c?"success":"pending",fetchStatus:"idle"}}var Qs,r1,sD=(r1=class extends Gl{constructor(a={}){super();Ue(this,Qs);this.config=a,fe(this,Qs,new Map)}build(a,c,d){const p=c.queryKey,v=c.queryHash??eb(p,c);let S=this.get(v);return S||(S=new tD({client:a,queryKey:p,queryHash:v,options:a.defaultQueryOptions(c),state:d,defaultOptions:a.getQueryDefaults(p)}),this.add(S)),S}add(a){D(this,Qs).has(a.queryHash)||(D(this,Qs).set(a.queryHash,a),this.notify({type:"added",query:a}))}remove(a){const c=D(this,Qs).get(a.queryHash);c&&(a.destroy(),c===a&&D(this,Qs).delete(a.queryHash),this.notify({type:"removed",query:a}))}clear(){Yt.batch(()=>{this.getAll().forEach(a=>{this.remove(a)})})}get(a){return D(this,Qs).get(a)}getAll(){return[...D(this,Qs).values()]}find(a){const c={exact:!0,...a};return this.getAll().find(d=>UN(c,d))}findAll(a={}){const c=this.getAll();return Object.keys(a).length>0?c.filter(d=>UN(a,d)):c}notify(a){Yt.batch(()=>{this.listeners.forEach(c=>{c(a)})})}onFocus(){Yt.batch(()=>{this.getAll().forEach(a=>{a.onFocus()})})}onOnline(){Yt.batch(()=>{this.getAll().forEach(a=>{a.onOnline()})})}},Qs=new WeakMap,r1),Is,vn,xa,Xs,po,o1,rD=(o1=class extends g1{constructor(a){super();Ue(this,Xs);Ue(this,Is);Ue(this,vn);Ue(this,xa);this.mutationId=a.mutationId,fe(this,vn,a.mutationCache),fe(this,Is,[]),this.state=a.state||N1(),this.setOptions(a.options),this.scheduleGc()}setOptions(a){this.options=a,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(a){D(this,Is).includes(a)||(D(this,Is).push(a),this.clearGcTimeout(),D(this,vn).notify({type:"observerAdded",mutation:this,observer:a}))}removeObserver(a){fe(this,Is,D(this,Is).filter(c=>c!==a)),this.scheduleGc(),D(this,vn).notify({type:"observerRemoved",mutation:this,observer:a})}optionalRemove(){D(this,Is).length||(this.state.status==="pending"?this.scheduleGc():D(this,vn).remove(this))}continue(){var a;return((a=D(this,xa))==null?void 0:a.continue())??this.execute(this.state.variables)}async execute(a){var v,S,E,y,U,V,m,g,R,Y,Q,k,I,ge,X,le,ce,me,we,J;const c=()=>{Fe(this,Xs,po).call(this,{type:"continue"})};fe(this,xa,x1({fn:()=>this.options.mutationFn?this.options.mutationFn(a):Promise.reject(new Error("No mutationFn found")),onFail:(W,Ee)=>{Fe(this,Xs,po).call(this,{type:"failed",failureCount:W,error:Ee})},onPause:()=>{Fe(this,Xs,po).call(this,{type:"pause"})},onContinue:c,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>D(this,vn).canRun(this)}));const d=this.state.status==="pending",p=!D(this,xa).canStart();try{if(d)c();else{Fe(this,Xs,po).call(this,{type:"pending",variables:a,isPaused:p}),await((S=(v=D(this,vn).config).onMutate)==null?void 0:S.call(v,a,this));const Ee=await((y=(E=this.options).onMutate)==null?void 0:y.call(E,a));Ee!==this.state.context&&Fe(this,Xs,po).call(this,{type:"pending",context:Ee,variables:a,isPaused:p})}const W=await D(this,xa).start();return await((V=(U=D(this,vn).config).onSuccess)==null?void 0:V.call(U,W,a,this.state.context,this)),await((g=(m=this.options).onSuccess)==null?void 0:g.call(m,W,a,this.state.context)),await((Y=(R=D(this,vn).config).onSettled)==null?void 0:Y.call(R,W,null,this.state.variables,this.state.context,this)),await((k=(Q=this.options).onSettled)==null?void 0:k.call(Q,W,null,a,this.state.context)),Fe(this,Xs,po).call(this,{type:"success",data:W}),W}catch(W){try{throw await((ge=(I=D(this,vn).config).onError)==null?void 0:ge.call(I,W,a,this.state.context,this)),await((le=(X=this.options).onError)==null?void 0:le.call(X,W,a,this.state.context)),await((me=(ce=D(this,vn).config).onSettled)==null?void 0:me.call(ce,void 0,W,this.state.variables,this.state.context,this)),await((J=(we=this.options).onSettled)==null?void 0:J.call(we,void 0,W,a,this.state.context)),W}finally{Fe(this,Xs,po).call(this,{type:"error",error:W})}}finally{D(this,vn).runNext(this)}}},Is=new WeakMap,vn=new WeakMap,xa=new WeakMap,Xs=new WeakSet,po=function(a){const c=d=>{switch(a.type){case"failed":return{...d,failureCount:a.failureCount,failureReason:a.error};case"pause":return{...d,isPaused:!0};case"continue":return{...d,isPaused:!1};case"pending":return{...d,context:a.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:a.isPaused,status:"pending",variables:a.variables,submittedAt:Date.now()};case"success":return{...d,data:a.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...d,data:void 0,error:a.error,failureCount:d.failureCount+1,failureReason:a.error,isPaused:!1,status:"error"}}};this.state=c(this.state),Yt.batch(()=>{D(this,Is).forEach(d=>{d.onMutationUpdate(a)}),D(this,vn).notify({mutation:this,type:"updated",action:a})})},o1);function N1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Dr,ws,Ac,a1,oD=(a1=class extends Gl{constructor(a={}){super();Ue(this,Dr);Ue(this,ws);Ue(this,Ac);this.config=a,fe(this,Dr,new Set),fe(this,ws,new Map),fe(this,Ac,0)}build(a,c,d){const p=new rD({mutationCache:this,mutationId:++Cd(this,Ac)._,options:a.defaultMutationOptions(c),state:d});return this.add(p),p}add(a){D(this,Dr).add(a);const c=Ad(a);if(typeof c=="string"){const d=D(this,ws).get(c);d?d.push(a):D(this,ws).set(c,[a])}this.notify({type:"added",mutation:a})}remove(a){if(D(this,Dr).delete(a)){const c=Ad(a);if(typeof c=="string"){const d=D(this,ws).get(c);if(d)if(d.length>1){const p=d.indexOf(a);p!==-1&&d.splice(p,1)}else d[0]===a&&D(this,ws).delete(c)}}this.notify({type:"removed",mutation:a})}canRun(a){const c=Ad(a);if(typeof c=="string"){const d=D(this,ws).get(c),p=d==null?void 0:d.find(v=>v.state.status==="pending");return!p||p===a}else return!0}runNext(a){var d;const c=Ad(a);if(typeof c=="string"){const p=(d=D(this,ws).get(c))==null?void 0:d.find(v=>v!==a&&v.state.isPaused);return(p==null?void 0:p.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Yt.batch(()=>{D(this,Dr).forEach(a=>{this.notify({type:"removed",mutation:a})}),D(this,Dr).clear(),D(this,ws).clear()})}getAll(){return Array.from(D(this,Dr))}find(a){const c={exact:!0,...a};return this.getAll().find(d=>CN(c,d))}findAll(a={}){return this.getAll().filter(c=>CN(a,c))}notify(a){Yt.batch(()=>{this.listeners.forEach(c=>{c(a)})})}resumePausedMutations(){const a=this.getAll().filter(c=>c.state.isPaused);return Yt.batch(()=>Promise.all(a.map(c=>c.continue().catch(gn))))}},Dr=new WeakMap,ws=new WeakMap,Ac=new WeakMap,a1);function Ad(l){var a;return(a=l.options.scope)==null?void 0:a.id}function VN(l){return{onFetch:(a,c)=>{var V,m,g,R,Y;const d=a.options,p=(g=(m=(V=a.fetchOptions)==null?void 0:V.meta)==null?void 0:m.fetchMore)==null?void 0:g.direction,v=((R=a.state.data)==null?void 0:R.pages)||[],S=((Y=a.state.data)==null?void 0:Y.pageParams)||[];let E={pages:[],pageParams:[]},y=0;const U=async()=>{let Q=!1;const k=X=>{Object.defineProperty(X,"signal",{enumerable:!0,get:()=>(a.signal.aborted?Q=!0:a.signal.addEventListener("abort",()=>{Q=!0}),a.signal)})},I=p1(a.options,a.fetchOptions),ge=async(X,le,ce)=>{if(Q)return Promise.reject();if(le==null&&X.pages.length)return Promise.resolve(X);const we=(()=>{const ae={client:a.client,queryKey:a.queryKey,pageParam:le,direction:ce?"backward":"forward",meta:a.options.meta};return k(ae),ae})(),J=await I(we),{maxPages:W}=a.options,Ee=ce?XE:IE;return{pages:Ee(X.pages,J,W),pageParams:Ee(X.pageParams,le,W)}};if(p&&v.length){const X=p==="backward",le=X?aD:MN,ce={pages:v,pageParams:S},me=le(d,ce);E=await ge(ce,me,X)}else{const X=l??v.length;do{const le=y===0?S[0]??d.initialPageParam:MN(d,E);if(y>0&&le==null)break;E=await ge(E,le),y++}while(y<X)}return E};a.options.persister?a.fetchFn=()=>{var Q,k;return(k=(Q=a.options).persister)==null?void 0:k.call(Q,U,{client:a.client,queryKey:a.queryKey,meta:a.options.meta,signal:a.signal},c)}:a.fetchFn=U}}}function MN(l,{pages:a,pageParams:c}){const d=a.length-1;return a.length>0?l.getNextPageParam(a[d],a,c[d],c):void 0}function aD(l,{pages:a,pageParams:c}){var d;return a.length>0?(d=l.getPreviousPageParam)==null?void 0:d.call(l,a[0],a,c[0],c):void 0}var Rt,vo,xo,kl,zl,go,Hl,_l,l1,lD=(l1=class{constructor(l={}){Ue(this,Rt);Ue(this,vo);Ue(this,xo);Ue(this,kl);Ue(this,zl);Ue(this,go);Ue(this,Hl);Ue(this,_l);fe(this,Rt,l.queryCache||new sD),fe(this,vo,l.mutationCache||new oD),fe(this,xo,l.defaultOptions||{}),fe(this,kl,new Map),fe(this,zl,new Map),fe(this,go,0)}mount(){Cd(this,go)._++,D(this,go)===1&&(fe(this,Hl,tb.subscribe(async l=>{l&&(await this.resumePausedMutations(),D(this,Rt).onFocus())})),fe(this,_l,qd.subscribe(async l=>{l&&(await this.resumePausedMutations(),D(this,Rt).onOnline())})))}unmount(){var l,a;Cd(this,go)._--,D(this,go)===0&&((l=D(this,Hl))==null||l.call(this),fe(this,Hl,void 0),(a=D(this,_l))==null||a.call(this),fe(this,_l,void 0))}isFetching(l){return D(this,Rt).findAll({...l,fetchStatus:"fetching"}).length}isMutating(l){return D(this,vo).findAll({...l,status:"pending"}).length}getQueryData(l){var c;const a=this.defaultQueryOptions({queryKey:l});return(c=D(this,Rt).get(a.queryHash))==null?void 0:c.state.data}ensureQueryData(l){const a=this.defaultQueryOptions(l),c=D(this,Rt).build(this,a),d=c.state.data;return d===void 0?this.fetchQuery(l):(l.revalidateIfStale&&c.isStaleByTime(Eo(a.staleTime,c))&&this.prefetchQuery(a),Promise.resolve(d))}getQueriesData(l){return D(this,Rt).findAll(l).map(({queryKey:a,state:c})=>{const d=c.data;return[a,d]})}setQueryData(l,a,c){const d=this.defaultQueryOptions({queryKey:l}),p=D(this,Rt).get(d.queryHash),v=p==null?void 0:p.state.data,S=$E(a,v);if(S!==void 0)return D(this,Rt).build(this,d).setData(S,{...c,manual:!0})}setQueriesData(l,a,c){return Yt.batch(()=>D(this,Rt).findAll(l).map(({queryKey:d})=>[d,this.setQueryData(d,a,c)]))}getQueryState(l){var c;const a=this.defaultQueryOptions({queryKey:l});return(c=D(this,Rt).get(a.queryHash))==null?void 0:c.state}removeQueries(l){const a=D(this,Rt);Yt.batch(()=>{a.findAll(l).forEach(c=>{a.remove(c)})})}resetQueries(l,a){const c=D(this,Rt);return Yt.batch(()=>(c.findAll(l).forEach(d=>{d.reset()}),this.refetchQueries({type:"active",...l},a)))}cancelQueries(l,a={}){const c={revert:!0,...a},d=Yt.batch(()=>D(this,Rt).findAll(l).map(p=>p.cancel(c)));return Promise.all(d).then(gn).catch(gn)}invalidateQueries(l,a={}){return Yt.batch(()=>(D(this,Rt).findAll(l).forEach(c=>{c.invalidate()}),(l==null?void 0:l.refetchType)==="none"?Promise.resolve():this.refetchQueries({...l,type:(l==null?void 0:l.refetchType)??(l==null?void 0:l.type)??"active"},a)))}refetchQueries(l,a={}){const c={...a,cancelRefetch:a.cancelRefetch??!0},d=Yt.batch(()=>D(this,Rt).findAll(l).filter(p=>!p.isDisabled()&&!p.isStatic()).map(p=>{let v=p.fetch(void 0,c);return c.throwOnError||(v=v.catch(gn)),p.state.fetchStatus==="paused"?Promise.resolve():v}));return Promise.all(d).then(gn)}fetchQuery(l){const a=this.defaultQueryOptions(l);a.retry===void 0&&(a.retry=!1);const c=D(this,Rt).build(this,a);return c.isStaleByTime(Eo(a.staleTime,c))?c.fetch(a):Promise.resolve(c.state.data)}prefetchQuery(l){return this.fetchQuery(l).then(gn).catch(gn)}fetchInfiniteQuery(l){return l.behavior=VN(l.pages),this.fetchQuery(l)}prefetchInfiniteQuery(l){return this.fetchInfiniteQuery(l).then(gn).catch(gn)}ensureInfiniteQueryData(l){return l.behavior=VN(l.pages),this.ensureQueryData(l)}resumePausedMutations(){return qd.isOnline()?D(this,vo).resumePausedMutations():Promise.resolve()}getQueryCache(){return D(this,Rt)}getMutationCache(){return D(this,vo)}getDefaultOptions(){return D(this,xo)}setDefaultOptions(l){fe(this,xo,l)}setQueryDefaults(l,a){D(this,kl).set(ja(l),{queryKey:l,defaultOptions:a})}getQueryDefaults(l){const a=[...D(this,kl).values()],c={};return a.forEach(d=>{Tc(l,d.queryKey)&&Object.assign(c,d.defaultOptions)}),c}setMutationDefaults(l,a){D(this,zl).set(ja(l),{mutationKey:l,defaultOptions:a})}getMutationDefaults(l){const a=[...D(this,zl).values()],c={};return a.forEach(d=>{Tc(l,d.mutationKey)&&Object.assign(c,d.defaultOptions)}),c}defaultQueryOptions(l){if(l._defaulted)return l;const a={...D(this,xo).queries,...this.getQueryDefaults(l.queryKey),...l,_defaulted:!0};return a.queryHash||(a.queryHash=eb(a.queryKey,a)),a.refetchOnReconnect===void 0&&(a.refetchOnReconnect=a.networkMode!=="always"),a.throwOnError===void 0&&(a.throwOnError=!!a.suspense),!a.networkMode&&a.persister&&(a.networkMode="offlineFirst"),a.queryFn===Ld&&(a.enabled=!1),a}defaultMutationOptions(l){return l!=null&&l._defaulted?l:{...D(this,xo).mutations,...(l==null?void 0:l.mutationKey)&&this.getMutationDefaults(l.mutationKey),...l,_defaulted:!0}}clear(){D(this,Rt).clear(),D(this,vo).clear()}},Rt=new WeakMap,vo=new WeakMap,xo=new WeakMap,kl=new WeakMap,zl=new WeakMap,go=new WeakMap,Hl=new WeakMap,_l=new WeakMap,l1),Rn,et,Vc,xn,ga,Bl,yo,No,Mc,Ll,ql,ya,Na,So,Fl,it,Ec,kh,zh,Hh,_h,Bh,Lh,qh,S1,i1,iD=(i1=class extends Gl{constructor(a,c){super();Ue(this,it);Ue(this,Rn);Ue(this,et);Ue(this,Vc);Ue(this,xn);Ue(this,ga);Ue(this,Bl);Ue(this,yo);Ue(this,No);Ue(this,Mc);Ue(this,Ll);Ue(this,ql);Ue(this,ya);Ue(this,Na);Ue(this,So);Ue(this,Fl,new Set);this.options=c,fe(this,Rn,a),fe(this,No,null),fe(this,yo,Ph()),this.options.experimental_prefetchInRender||D(this,yo).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(c)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(D(this,et).addObserver(this),ON(D(this,et),this.options)?Fe(this,it,Ec).call(this):this.updateResult(),Fe(this,it,_h).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Fh(D(this,et),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Fh(D(this,et),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Fe(this,it,Bh).call(this),Fe(this,it,Lh).call(this),D(this,et).removeObserver(this)}setOptions(a){const c=this.options,d=D(this,et);if(this.options=D(this,Rn).defaultQueryOptions(a),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof js(this.options.enabled,D(this,et))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Fe(this,it,qh).call(this),D(this,et).setOptions(this.options),c._defaulted&&!Bd(this.options,c)&&D(this,Rn).getQueryCache().notify({type:"observerOptionsUpdated",query:D(this,et),observer:this});const p=this.hasListeners();p&&PN(D(this,et),d,this.options,c)&&Fe(this,it,Ec).call(this),this.updateResult(),p&&(D(this,et)!==d||js(this.options.enabled,D(this,et))!==js(c.enabled,D(this,et))||Eo(this.options.staleTime,D(this,et))!==Eo(c.staleTime,D(this,et)))&&Fe(this,it,kh).call(this);const v=Fe(this,it,zh).call(this);p&&(D(this,et)!==d||js(this.options.enabled,D(this,et))!==js(c.enabled,D(this,et))||v!==D(this,So))&&Fe(this,it,Hh).call(this,v)}getOptimisticResult(a){const c=D(this,Rn).getQueryCache().build(D(this,Rn),a),d=this.createResult(c,a);return uD(this,d)&&(fe(this,xn,d),fe(this,Bl,this.options),fe(this,ga,D(this,et).state)),d}getCurrentResult(){return D(this,xn)}trackResult(a,c){return new Proxy(a,{get:(d,p)=>(this.trackProp(p),c==null||c(p),Reflect.get(d,p))})}trackProp(a){D(this,Fl).add(a)}getCurrentQuery(){return D(this,et)}refetch({...a}={}){return this.fetch({...a})}fetchOptimistic(a){const c=D(this,Rn).defaultQueryOptions(a),d=D(this,Rn).getQueryCache().build(D(this,Rn),c);return d.fetch().then(()=>this.createResult(d,c))}fetch(a){return Fe(this,it,Ec).call(this,{...a,cancelRefetch:a.cancelRefetch??!0}).then(()=>(this.updateResult(),D(this,xn)))}createResult(a,c){var W;const d=D(this,et),p=this.options,v=D(this,xn),S=D(this,ga),E=D(this,Bl),U=a!==d?a.state:D(this,Vc),{state:V}=a;let m={...V},g=!1,R;if(c._optimisticResults){const Ee=this.hasListeners(),ae=!Ee&&ON(a,c),ie=Ee&&PN(a,d,c,p);(ae||ie)&&(m={...m,...y1(V.data,a.options)}),c._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:Y,errorUpdatedAt:Q,status:k}=m;R=m.data;let I=!1;if(c.placeholderData!==void 0&&R===void 0&&k==="pending"){let Ee;v!=null&&v.isPlaceholderData&&c.placeholderData===(E==null?void 0:E.placeholderData)?(Ee=v.data,I=!0):Ee=typeof c.placeholderData=="function"?c.placeholderData((W=D(this,ql))==null?void 0:W.state.data,D(this,ql)):c.placeholderData,Ee!==void 0&&(k="success",R=Oh(v==null?void 0:v.data,Ee,c),g=!0)}if(c.select&&R!==void 0&&!I)if(v&&R===(S==null?void 0:S.data)&&c.select===D(this,Mc))R=D(this,Ll);else try{fe(this,Mc,c.select),R=c.select(R),R=Oh(v==null?void 0:v.data,R,c),fe(this,Ll,R),fe(this,No,null)}catch(Ee){fe(this,No,Ee)}D(this,No)&&(Y=D(this,No),R=D(this,Ll),Q=Date.now(),k="error");const ge=m.fetchStatus==="fetching",X=k==="pending",le=k==="error",ce=X&&ge,me=R!==void 0,J={status:k,fetchStatus:m.fetchStatus,isPending:X,isSuccess:k==="success",isError:le,isInitialLoading:ce,isLoading:ce,data:R,dataUpdatedAt:m.dataUpdatedAt,error:Y,errorUpdatedAt:Q,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>U.dataUpdateCount||m.errorUpdateCount>U.errorUpdateCount,isFetching:ge,isRefetching:ge&&!X,isLoadingError:le&&!me,isPaused:m.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:le&&me,isStale:nb(a,c),refetch:this.refetch,promise:D(this,yo)};if(this.options.experimental_prefetchInRender){const Ee=Z=>{J.status==="error"?Z.reject(J.error):J.data!==void 0&&Z.resolve(J.data)},ae=()=>{const Z=fe(this,yo,J.promise=Ph());Ee(Z)},ie=D(this,yo);switch(ie.status){case"pending":a.queryHash===d.queryHash&&Ee(ie);break;case"fulfilled":(J.status==="error"||J.data!==ie.value)&&ae();break;case"rejected":(J.status!=="error"||J.error!==ie.reason)&&ae();break}}return J}updateResult(){const a=D(this,xn),c=this.createResult(D(this,et),this.options);if(fe(this,ga,D(this,et).state),fe(this,Bl,this.options),D(this,ga).data!==void 0&&fe(this,ql,D(this,et)),Bd(c,a))return;fe(this,xn,c);const d=()=>{if(!a)return!0;const{notifyOnChangeProps:p}=this.options,v=typeof p=="function"?p():p;if(v==="all"||!v&&!D(this,Fl).size)return!0;const S=new Set(v??D(this,Fl));return this.options.throwOnError&&S.add("error"),Object.keys(D(this,xn)).some(E=>{const y=E;return D(this,xn)[y]!==a[y]&&S.has(y)})};Fe(this,it,S1).call(this,{listeners:d()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Fe(this,it,_h).call(this)}},Rn=new WeakMap,et=new WeakMap,Vc=new WeakMap,xn=new WeakMap,ga=new WeakMap,Bl=new WeakMap,yo=new WeakMap,No=new WeakMap,Mc=new WeakMap,Ll=new WeakMap,ql=new WeakMap,ya=new WeakMap,Na=new WeakMap,So=new WeakMap,Fl=new WeakMap,it=new WeakSet,Ec=function(a){Fe(this,it,qh).call(this);let c=D(this,et).fetch(this.options,a);return a!=null&&a.throwOnError||(c=c.catch(gn)),c},kh=function(){Fe(this,it,Bh).call(this);const a=Eo(this.options.staleTime,D(this,et));if(wa||D(this,xn).isStale||!Ah(a))return;const d=m1(D(this,xn).dataUpdatedAt,a)+1;fe(this,ya,setTimeout(()=>{D(this,xn).isStale||this.updateResult()},d))},zh=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(D(this,et)):this.options.refetchInterval)??!1},Hh=function(a){Fe(this,it,Lh).call(this),fe(this,So,a),!(wa||js(this.options.enabled,D(this,et))===!1||!Ah(D(this,So))||D(this,So)===0)&&fe(this,Na,setInterval(()=>{(this.options.refetchIntervalInBackground||tb.isFocused())&&Fe(this,it,Ec).call(this)},D(this,So)))},_h=function(){Fe(this,it,kh).call(this),Fe(this,it,Hh).call(this,Fe(this,it,zh).call(this))},Bh=function(){D(this,ya)&&(clearTimeout(D(this,ya)),fe(this,ya,void 0))},Lh=function(){D(this,Na)&&(clearInterval(D(this,Na)),fe(this,Na,void 0))},qh=function(){const a=D(this,Rn).getQueryCache().build(D(this,Rn),this.options);if(a===D(this,et))return;const c=D(this,et);fe(this,et,a),fe(this,Vc,a.state),this.hasListeners()&&(c==null||c.removeObserver(this),a.addObserver(this))},S1=function(a){Yt.batch(()=>{a.listeners&&this.listeners.forEach(c=>{c(D(this,xn))}),D(this,Rn).getQueryCache().notify({query:D(this,et),type:"observerResultsUpdated"})})},i1);function cD(l,a){return js(a.enabled,l)!==!1&&l.state.data===void 0&&!(l.state.status==="error"&&a.retryOnMount===!1)}function ON(l,a){return cD(l,a)||l.state.data!==void 0&&Fh(l,a,a.refetchOnMount)}function Fh(l,a,c){if(js(a.enabled,l)!==!1&&Eo(a.staleTime,l)!=="static"){const d=typeof c=="function"?c(l):c;return d==="always"||d!==!1&&nb(l,a)}return!1}function PN(l,a,c,d){return(l!==a||js(d.enabled,l)===!1)&&(!c.suspense||l.state.status!=="error")&&nb(l,c)}function nb(l,a){return js(a.enabled,l)!==!1&&l.isStaleByTime(Eo(a.staleTime,l))}function uD(l,a){return!Bd(l.getCurrentResult(),a)}var wo,jo,An,Tr,Vr,zd,Yh,c1,dD=(c1=class extends Gl{constructor(c,d){super();Ue(this,Vr);Ue(this,wo);Ue(this,jo);Ue(this,An);Ue(this,Tr);fe(this,wo,c),this.setOptions(d),this.bindMethods(),Fe(this,Vr,zd).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(c){var p;const d=this.options;this.options=D(this,wo).defaultMutationOptions(c),Bd(this.options,d)||D(this,wo).getMutationCache().notify({type:"observerOptionsUpdated",mutation:D(this,An),observer:this}),d!=null&&d.mutationKey&&this.options.mutationKey&&ja(d.mutationKey)!==ja(this.options.mutationKey)?this.reset():((p=D(this,An))==null?void 0:p.state.status)==="pending"&&D(this,An).setOptions(this.options)}onUnsubscribe(){var c;this.hasListeners()||(c=D(this,An))==null||c.removeObserver(this)}onMutationUpdate(c){Fe(this,Vr,zd).call(this),Fe(this,Vr,Yh).call(this,c)}getCurrentResult(){return D(this,jo)}reset(){var c;(c=D(this,An))==null||c.removeObserver(this),fe(this,An,void 0),Fe(this,Vr,zd).call(this),Fe(this,Vr,Yh).call(this)}mutate(c,d){var p;return fe(this,Tr,d),(p=D(this,An))==null||p.removeObserver(this),fe(this,An,D(this,wo).getMutationCache().build(D(this,wo),this.options)),D(this,An).addObserver(this),D(this,An).execute(c)}},wo=new WeakMap,jo=new WeakMap,An=new WeakMap,Tr=new WeakMap,Vr=new WeakSet,zd=function(){var d;const c=((d=D(this,An))==null?void 0:d.state)??N1();fe(this,jo,{...c,isPending:c.status==="pending",isSuccess:c.status==="success",isError:c.status==="error",isIdle:c.status==="idle",mutate:this.mutate,reset:this.reset})},Yh=function(c){Yt.batch(()=>{var d,p,v,S,E,y,U,V;if(D(this,Tr)&&this.hasListeners()){const m=D(this,jo).variables,g=D(this,jo).context;(c==null?void 0:c.type)==="success"?((p=(d=D(this,Tr)).onSuccess)==null||p.call(d,c.data,m,g),(S=(v=D(this,Tr)).onSettled)==null||S.call(v,c.data,null,m,g)):(c==null?void 0:c.type)==="error"&&((y=(E=D(this,Tr)).onError)==null||y.call(E,c.error,m,g),(V=(U=D(this,Tr)).onSettled)==null||V.call(U,void 0,c.error,m,g))}this.listeners.forEach(m=>{m(D(this,jo))})})},c1),Th={exports:{}},Nc={},kN;function fD(){if(kN)return Nc;kN=1;/**
272
- * @license React
273
- * react-jsx-runtime.development.js
274
- *
275
- * Copyright (c) Meta Platforms, Inc. and affiliates.
276
- *
277
- * This source code is licensed under the MIT license found in the
278
- * LICENSE file in the root directory of this source tree.
279
- */return function(){function l(N){if(N==null)return null;if(typeof N=="function")return N.$$typeof===Ee?null:N.displayName||N.name||null;if(typeof N=="string")return N;switch(N){case Q:return"Fragment";case I:return"Profiler";case k:return"StrictMode";case ce:return"Suspense";case me:return"SuspenseList";case W:return"Activity"}if(typeof N=="object")switch(typeof N.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),N.$$typeof){case Y:return"Portal";case X:return(N.displayName||"Context")+".Provider";case ge:return(N._context.displayName||"Context")+".Consumer";case le:var L=N.render;return N=N.displayName,N||(N=L.displayName||L.name||"",N=N!==""?"ForwardRef("+N+")":"ForwardRef"),N;case we:return L=N.displayName||null,L!==null?L:l(N.type)||"Memo";case J:L=N._payload,N=N._init;try{return l(N(L))}catch{}}return null}function a(N){return""+N}function c(N){try{a(N);var L=!1}catch{L=!0}if(L){L=console;var $=L.error,ne=typeof Symbol=="function"&&Symbol.toStringTag&&N[Symbol.toStringTag]||N.constructor.name||"Object";return $.call(L,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ne),a(N)}}function d(N){if(N===Q)return"<>";if(typeof N=="object"&&N!==null&&N.$$typeof===J)return"<...>";try{var L=l(N);return L?"<"+L+">":"<...>"}catch{return"<...>"}}function p(){var N=ae.A;return N===null?null:N.getOwner()}function v(){return Error("react-stack-top-frame")}function S(N){if(ie.call(N,"key")){var L=Object.getOwnPropertyDescriptor(N,"key").get;if(L&&L.isReactWarning)return!1}return N.key!==void 0}function E(N,L){function $(){Ae||(Ae=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",L))}$.isReactWarning=!0,Object.defineProperty(N,"key",{get:$,configurable:!0})}function y(){var N=l(this.type);return B[N]||(B[N]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),N=this.props.ref,N!==void 0?N:null}function U(N,L,$,ne,Ne,ze,pe,Ye){return $=ze.ref,N={$$typeof:R,type:N,key:L,props:ze,_owner:Ne},($!==void 0?$:null)!==null?Object.defineProperty(N,"ref",{enumerable:!1,get:y}):Object.defineProperty(N,"ref",{enumerable:!1,value:null}),N._store={},Object.defineProperty(N._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(N,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(N,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:pe}),Object.defineProperty(N,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ye}),Object.freeze&&(Object.freeze(N.props),Object.freeze(N)),N}function V(N,L,$,ne,Ne,ze,pe,Ye){var Te=L.children;if(Te!==void 0)if(ne)if(Z(Te)){for(ne=0;ne<Te.length;ne++)m(Te[ne]);Object.freeze&&Object.freeze(Te)}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 m(Te);if(ie.call(L,"key")){Te=l(N);var Ie=Object.keys(L).filter(function(Tt){return Tt!=="key"});ne=0<Ie.length?"{key: someKey, "+Ie.join(": ..., ")+": ...}":"{key: someKey}",K[Te+ne]||(Ie=0<Ie.length?"{"+Ie.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
280
- let props = %s;
281
- <%s {...props} />
282
- React keys must be passed directly to JSX without using spread:
283
- let props = %s;
284
- <%s key={someKey} {...props} />`,ne,Te,Ie,Te),K[Te+ne]=!0)}if(Te=null,$!==void 0&&(c($),Te=""+$),S(L)&&(c(L.key),Te=""+L.key),"key"in L){$={};for(var Ve in L)Ve!=="key"&&($[Ve]=L[Ve])}else $=L;return Te&&E($,typeof N=="function"?N.displayName||N.name||"Unknown":N),U(N,Te,ze,Ne,p(),$,pe,Ye)}function m(N){typeof N=="object"&&N!==null&&N.$$typeof===R&&N._store&&(N._store.validated=1)}var g=Oc(),R=Symbol.for("react.transitional.element"),Y=Symbol.for("react.portal"),Q=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),ge=Symbol.for("react.consumer"),X=Symbol.for("react.context"),le=Symbol.for("react.forward_ref"),ce=Symbol.for("react.suspense"),me=Symbol.for("react.suspense_list"),we=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),Ee=Symbol.for("react.client.reference"),ae=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie=Object.prototype.hasOwnProperty,Z=Array.isArray,Ce=console.createTask?console.createTask:function(){return null};g={"react-stack-bottom-frame":function(N){return N()}};var Ae,B={},A=g["react-stack-bottom-frame"].bind(g,v)(),M=Ce(d(v)),K={};Nc.Fragment=Q,Nc.jsx=function(N,L,$,ne,Ne){var ze=1e4>ae.recentlyCreatedOwnerStacks++;return V(N,L,$,!1,ne,Ne,ze?Error("react-stack-top-frame"):A,ze?Ce(d(N)):M)},Nc.jsxs=function(N,L,$,ne,Ne){var ze=1e4>ae.recentlyCreatedOwnerStacks++;return V(N,L,$,!0,ne,Ne,ze?Error("react-stack-top-frame"):A,ze?Ce(d(N)):M)}}(),Nc}var zN;function mD(){return zN||(zN=1,Th.exports=fD()),Th.exports}var Dt=mD(),w1=G.createContext(void 0),$l=l=>{const a=G.useContext(w1);if(!a)throw new Error("No QueryClient set, use QueryClientProvider to set one");return a},HN=({client:l,children:a})=>(G.useEffect(()=>(l.mount(),()=>{l.unmount()}),[l]),Dt.jsx(w1.Provider,{value:l,children:a})),j1=G.createContext(!1),pD=()=>G.useContext(j1);j1.Provider;function hD(){let l=!1;return{clearReset:()=>{l=!1},reset:()=>{l=!0},isReset:()=>l}}var bD=G.createContext(hD()),vD=()=>G.useContext(bD),xD=(l,a)=>{(l.suspense||l.throwOnError||l.experimental_prefetchInRender)&&(a.isReset()||(l.retryOnMount=!1))},gD=l=>{G.useEffect(()=>{l.clearReset()},[l])},yD=({result:l,errorResetBoundary:a,throwOnError:c,query:d,suspense:p})=>l.isError&&!a.isReset()&&!l.isFetching&&d&&(p&&l.data===void 0||h1(c,[l.error,d])),ND=l=>{if(l.suspense){const a=d=>d==="static"?d:Math.max(d??1e3,1e3),c=l.staleTime;l.staleTime=typeof c=="function"?(...d)=>a(c(...d)):a(c),typeof l.gcTime=="number"&&(l.gcTime=Math.max(l.gcTime,1e3))}},SD=(l,a)=>l.isLoading&&l.isFetching&&!a,wD=(l,a)=>(l==null?void 0:l.suspense)&&a.isPending,_N=(l,a,c)=>a.fetchOptimistic(l).catch(()=>{c.clearReset()});function jD(l,a,c){var m,g,R,Y,Q;if(typeof l!="object"||Array.isArray(l))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const d=pD(),p=vD(),v=$l(),S=v.defaultQueryOptions(l);(g=(m=v.getDefaultOptions().queries)==null?void 0:m._experimental_beforeQuery)==null||g.call(m,S),S.queryFn||console.error(`[${S.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`),S._optimisticResults=d?"isRestoring":"optimistic",ND(S),xD(S,p),gD(p);const E=!v.getQueryCache().get(S.queryHash),[y]=G.useState(()=>new a(v,S)),U=y.getOptimisticResult(S),V=!d&&l.subscribed!==!1;if(G.useSyncExternalStore(G.useCallback(k=>{const I=V?y.subscribe(Yt.batchCalls(k)):gn;return y.updateResult(),I},[y,V]),()=>y.getCurrentResult(),()=>y.getCurrentResult()),G.useEffect(()=>{y.setOptions(S)},[S,y]),wD(S,U))throw _N(S,y,p);if(yD({result:U,errorResetBoundary:p,throwOnError:S.throwOnError,query:v.getQueryCache().get(S.queryHash),suspense:S.suspense}))throw U.error;if((Y=(R=v.getDefaultOptions().queries)==null?void 0:R._experimental_afterQuery)==null||Y.call(R,S,U),S.experimental_prefetchInRender&&!wa&&SD(U,d)){const k=E?_N(S,y,p):(Q=v.getQueryCache().get(S.queryHash))==null?void 0:Q.promise;k==null||k.catch(gn).finally(()=>{y.updateResult()})}return S.notifyOnChangeProps?U:y.trackResult(U)}function Rr(l,a){return jD(l,iD)}function ma(l,a){const c=$l(),[d]=G.useState(()=>new dD(c,l));G.useEffect(()=>{d.setOptions(l)},[d,l]);const p=G.useSyncExternalStore(G.useCallback(S=>d.subscribe(Yt.batchCalls(S)),[d]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),v=G.useCallback((S,E)=>{d.mutate(S,E).catch(gn)},[d]);if(p.error&&h1(d.options.throwOnError,[p.error]))throw p.error;return{...p,mutate:v,mutateAsync:p.mutate}}function E1(l){var a,c,d="";if(typeof l=="string"||typeof l=="number")d+=l;else if(typeof l=="object")if(Array.isArray(l)){var p=l.length;for(a=0;a<p;a++)l[a]&&(c=E1(l[a]))&&(d&&(d+=" "),d+=c)}else for(c in l)l[c]&&(d&&(d+=" "),d+=c);return d}function D1(){for(var l,a,c=0,d="",p=arguments.length;c<p;c++)(l=arguments[c])&&(a=E1(l))&&(d&&(d+=" "),d+=a);return d}const sb="-",ED=l=>{const a=TD(l),{conflictingClassGroups:c,conflictingClassGroupModifiers:d}=l;return{getClassGroupId:S=>{const E=S.split(sb);return E[0]===""&&E.length!==1&&E.shift(),T1(E,a)||DD(S)},getConflictingClassGroupIds:(S,E)=>{const y=c[S]||[];return E&&d[S]?[...y,...d[S]]:y}}},T1=(l,a)=>{var S;if(l.length===0)return a.classGroupId;const c=l[0],d=a.nextPart.get(c),p=d?T1(l.slice(1),d):void 0;if(p)return p;if(a.validators.length===0)return;const v=l.join(sb);return(S=a.validators.find(({validator:E})=>E(v)))==null?void 0:S.classGroupId},BN=/^\[(.+)\]$/,DD=l=>{if(BN.test(l)){const a=BN.exec(l)[1],c=a==null?void 0:a.substring(0,a.indexOf(":"));if(c)return"arbitrary.."+c}},TD=l=>{const{theme:a,classGroups:c}=l,d={nextPart:new Map,validators:[]};for(const p in c)Gh(c[p],d,p,a);return d},Gh=(l,a,c,d)=>{l.forEach(p=>{if(typeof p=="string"){const v=p===""?a:LN(a,p);v.classGroupId=c;return}if(typeof p=="function"){if(UD(p)){Gh(p(d),a,c,d);return}a.validators.push({validator:p,classGroupId:c});return}Object.entries(p).forEach(([v,S])=>{Gh(S,LN(a,v),c,d)})})},LN=(l,a)=>{let c=l;return a.split(sb).forEach(d=>{c.nextPart.has(d)||c.nextPart.set(d,{nextPart:new Map,validators:[]}),c=c.nextPart.get(d)}),c},UD=l=>l.isThemeGetter,CD=l=>{if(l<1)return{get:()=>{},set:()=>{}};let a=0,c=new Map,d=new Map;const p=(v,S)=>{c.set(v,S),a++,a>l&&(a=0,d=c,c=new Map)};return{get(v){let S=c.get(v);if(S!==void 0)return S;if((S=d.get(v))!==void 0)return p(v,S),S},set(v,S){c.has(v)?c.set(v,S):p(v,S)}}},$h="!",Qh=":",RD=Qh.length,AD=l=>{const{prefix:a,experimentalParseClassName:c}=l;let d=p=>{const v=[];let S=0,E=0,y=0,U;for(let Y=0;Y<p.length;Y++){let Q=p[Y];if(S===0&&E===0){if(Q===Qh){v.push(p.slice(y,Y)),y=Y+RD;continue}if(Q==="/"){U=Y;continue}}Q==="["?S++:Q==="]"?S--:Q==="("?E++:Q===")"&&E--}const V=v.length===0?p:p.substring(y),m=VD(V),g=m!==V,R=U&&U>y?U-y:void 0;return{modifiers:v,hasImportantModifier:g,baseClassName:m,maybePostfixModifierPosition:R}};if(a){const p=a+Qh,v=d;d=S=>S.startsWith(p)?v(S.substring(p.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:S,maybePostfixModifierPosition:void 0}}if(c){const p=d;d=v=>c({className:v,parseClassName:p})}return d},VD=l=>l.endsWith($h)?l.substring(0,l.length-1):l.startsWith($h)?l.substring(1):l,MD=l=>{const a=Object.fromEntries(l.orderSensitiveModifiers.map(d=>[d,!0]));return d=>{if(d.length<=1)return d;const p=[];let v=[];return d.forEach(S=>{S[0]==="["||a[S]?(p.push(...v.sort(),S),v=[]):v.push(S)}),p.push(...v.sort()),p}},OD=l=>({cache:CD(l.cacheSize),parseClassName:AD(l),sortModifiers:MD(l),...ED(l)}),PD=/\s+/,kD=(l,a)=>{const{parseClassName:c,getClassGroupId:d,getConflictingClassGroupIds:p,sortModifiers:v}=a,S=[],E=l.trim().split(PD);let y="";for(let U=E.length-1;U>=0;U-=1){const V=E[U],{isExternal:m,modifiers:g,hasImportantModifier:R,baseClassName:Y,maybePostfixModifierPosition:Q}=c(V);if(m){y=V+(y.length>0?" "+y:y);continue}let k=!!Q,I=d(k?Y.substring(0,Q):Y);if(!I){if(!k){y=V+(y.length>0?" "+y:y);continue}if(I=d(Y),!I){y=V+(y.length>0?" "+y:y);continue}k=!1}const ge=v(g).join(":"),X=R?ge+$h:ge,le=X+I;if(S.includes(le))continue;S.push(le);const ce=p(I,k);for(let me=0;me<ce.length;++me){const we=ce[me];S.push(X+we)}y=V+(y.length>0?" "+y:y)}return y};function zD(){let l=0,a,c,d="";for(;l<arguments.length;)(a=arguments[l++])&&(c=U1(a))&&(d&&(d+=" "),d+=c);return d}const U1=l=>{if(typeof l=="string")return l;let a,c="";for(let d=0;d<l.length;d++)l[d]&&(a=U1(l[d]))&&(c&&(c+=" "),c+=a);return c};function HD(l,...a){let c,d,p,v=S;function S(y){const U=a.reduce((V,m)=>m(V),l());return c=OD(U),d=c.cache.get,p=c.cache.set,v=E,E(y)}function E(y){const U=d(y);if(U)return U;const V=kD(y,c);return p(y,V),V}return function(){return v(zD.apply(null,arguments))}}const Ft=l=>{const a=c=>c[l]||[];return a.isThemeGetter=!0,a},C1=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,R1=/^\((?:(\w[\w-]*):)?(.+)\)$/i,_D=/^\d+\/\d+$/,BD=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,LD=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,qD=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,FD=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,YD=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Dl=l=>_D.test(l),$e=l=>!!l&&!Number.isNaN(Number(l)),mo=l=>!!l&&Number.isInteger(Number(l)),Uh=l=>l.endsWith("%")&&$e(l.slice(0,-1)),jr=l=>BD.test(l),GD=()=>!0,$D=l=>LD.test(l)&&!qD.test(l),A1=()=>!1,QD=l=>FD.test(l),ID=l=>YD.test(l),XD=l=>!ve(l)&&!xe(l),ZD=l=>Ql(l,O1,A1),ve=l=>C1.test(l),fa=l=>Ql(l,P1,$D),Ch=l=>Ql(l,tT,$e),qN=l=>Ql(l,V1,A1),KD=l=>Ql(l,M1,ID),Vd=l=>Ql(l,k1,QD),xe=l=>R1.test(l),Sc=l=>Il(l,P1),JD=l=>Il(l,nT),FN=l=>Il(l,V1),WD=l=>Il(l,O1),eT=l=>Il(l,M1),Md=l=>Il(l,k1,!0),Ql=(l,a,c)=>{const d=C1.exec(l);return d?d[1]?a(d[1]):c(d[2]):!1},Il=(l,a,c=!1)=>{const d=R1.exec(l);return d?d[1]?a(d[1]):c:!1},V1=l=>l==="position"||l==="percentage",M1=l=>l==="image"||l==="url",O1=l=>l==="length"||l==="size"||l==="bg-size",P1=l=>l==="length",tT=l=>l==="number",nT=l=>l==="family-name",k1=l=>l==="shadow",sT=()=>{const l=Ft("color"),a=Ft("font"),c=Ft("text"),d=Ft("font-weight"),p=Ft("tracking"),v=Ft("leading"),S=Ft("breakpoint"),E=Ft("container"),y=Ft("spacing"),U=Ft("radius"),V=Ft("shadow"),m=Ft("inset-shadow"),g=Ft("text-shadow"),R=Ft("drop-shadow"),Y=Ft("blur"),Q=Ft("perspective"),k=Ft("aspect"),I=Ft("ease"),ge=Ft("animate"),X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],le=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],ce=()=>[...le(),xe,ve],me=()=>["auto","hidden","clip","visible","scroll"],we=()=>["auto","contain","none"],J=()=>[xe,ve,y],W=()=>[Dl,"full","auto",...J()],Ee=()=>[mo,"none","subgrid",xe,ve],ae=()=>["auto",{span:["full",mo,xe,ve]},mo,xe,ve],ie=()=>[mo,"auto",xe,ve],Z=()=>["auto","min","max","fr",xe,ve],Ce=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Ae=()=>["start","end","center","stretch","center-safe","end-safe"],B=()=>["auto",...J()],A=()=>[Dl,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...J()],M=()=>[l,xe,ve],K=()=>[...le(),FN,qN,{position:[xe,ve]}],N=()=>["no-repeat",{repeat:["","x","y","space","round"]}],L=()=>["auto","cover","contain",WD,ZD,{size:[xe,ve]}],$=()=>[Uh,Sc,fa],ne=()=>["","none","full",U,xe,ve],Ne=()=>["",$e,Sc,fa],ze=()=>["solid","dashed","dotted","double"],pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ye=()=>[$e,Uh,FN,qN],Te=()=>["","none",Y,xe,ve],Ie=()=>["none",$e,xe,ve],Ve=()=>["none",$e,xe,ve],Tt=()=>[$e,xe,ve],xt=()=>[Dl,"full",...J()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[jr],breakpoint:[jr],color:[GD],container:[jr],"drop-shadow":[jr],ease:["in","out","in-out"],font:[XD],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[jr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[jr],shadow:[jr],spacing:["px",$e],text:[jr],"text-shadow":[jr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Dl,ve,xe,k]}],container:["container"],columns:[{columns:[$e,ve,xe,E]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:ce()}],overflow:[{overflow:me()}],"overflow-x":[{"overflow-x":me()}],"overflow-y":[{"overflow-y":me()}],overscroll:[{overscroll:we()}],"overscroll-x":[{"overscroll-x":we()}],"overscroll-y":[{"overscroll-y":we()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:W()}],"inset-x":[{"inset-x":W()}],"inset-y":[{"inset-y":W()}],start:[{start:W()}],end:[{end:W()}],top:[{top:W()}],right:[{right:W()}],bottom:[{bottom:W()}],left:[{left:W()}],visibility:["visible","invisible","collapse"],z:[{z:[mo,"auto",xe,ve]}],basis:[{basis:[Dl,"full","auto",E,...J()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[$e,Dl,"auto","initial","none",ve]}],grow:[{grow:["",$e,xe,ve]}],shrink:[{shrink:["",$e,xe,ve]}],order:[{order:[mo,"first","last","none",xe,ve]}],"grid-cols":[{"grid-cols":Ee()}],"col-start-end":[{col:ae()}],"col-start":[{"col-start":ie()}],"col-end":[{"col-end":ie()}],"grid-rows":[{"grid-rows":Ee()}],"row-start-end":[{row:ae()}],"row-start":[{"row-start":ie()}],"row-end":[{"row-end":ie()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Z()}],"auto-rows":[{"auto-rows":Z()}],gap:[{gap:J()}],"gap-x":[{"gap-x":J()}],"gap-y":[{"gap-y":J()}],"justify-content":[{justify:[...Ce(),"normal"]}],"justify-items":[{"justify-items":[...Ae(),"normal"]}],"justify-self":[{"justify-self":["auto",...Ae()]}],"align-content":[{content:["normal",...Ce()]}],"align-items":[{items:[...Ae(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Ae(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ce()}],"place-items":[{"place-items":[...Ae(),"baseline"]}],"place-self":[{"place-self":["auto",...Ae()]}],p:[{p:J()}],px:[{px:J()}],py:[{py:J()}],ps:[{ps:J()}],pe:[{pe:J()}],pt:[{pt:J()}],pr:[{pr:J()}],pb:[{pb:J()}],pl:[{pl:J()}],m:[{m:B()}],mx:[{mx:B()}],my:[{my:B()}],ms:[{ms:B()}],me:[{me:B()}],mt:[{mt:B()}],mr:[{mr:B()}],mb:[{mb:B()}],ml:[{ml:B()}],"space-x":[{"space-x":J()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":J()}],"space-y-reverse":["space-y-reverse"],size:[{size:A()}],w:[{w:[E,"screen",...A()]}],"min-w":[{"min-w":[E,"screen","none",...A()]}],"max-w":[{"max-w":[E,"screen","none","prose",{screen:[S]},...A()]}],h:[{h:["screen","lh",...A()]}],"min-h":[{"min-h":["screen","lh","none",...A()]}],"max-h":[{"max-h":["screen","lh",...A()]}],"font-size":[{text:["base",c,Sc,fa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[d,xe,Ch]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Uh,ve]}],"font-family":[{font:[JD,ve,a]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[p,xe,ve]}],"line-clamp":[{"line-clamp":[$e,"none",xe,Ch]}],leading:[{leading:[v,...J()]}],"list-image":[{"list-image":["none",xe,ve]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",xe,ve]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ze(),"wavy"]}],"text-decoration-thickness":[{decoration:[$e,"from-font","auto",xe,fa]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[$e,"auto",xe,ve]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:J()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",xe,ve]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",xe,ve]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:K()}],"bg-repeat":[{bg:N()}],"bg-size":[{bg:L()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},mo,xe,ve],radial:["",xe,ve],conic:[mo,xe,ve]},eT,KD]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:$()}],"gradient-via-pos":[{via:$()}],"gradient-to-pos":[{to:$()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:ne()}],"rounded-s":[{"rounded-s":ne()}],"rounded-e":[{"rounded-e":ne()}],"rounded-t":[{"rounded-t":ne()}],"rounded-r":[{"rounded-r":ne()}],"rounded-b":[{"rounded-b":ne()}],"rounded-l":[{"rounded-l":ne()}],"rounded-ss":[{"rounded-ss":ne()}],"rounded-se":[{"rounded-se":ne()}],"rounded-ee":[{"rounded-ee":ne()}],"rounded-es":[{"rounded-es":ne()}],"rounded-tl":[{"rounded-tl":ne()}],"rounded-tr":[{"rounded-tr":ne()}],"rounded-br":[{"rounded-br":ne()}],"rounded-bl":[{"rounded-bl":ne()}],"border-w":[{border:Ne()}],"border-w-x":[{"border-x":Ne()}],"border-w-y":[{"border-y":Ne()}],"border-w-s":[{"border-s":Ne()}],"border-w-e":[{"border-e":Ne()}],"border-w-t":[{"border-t":Ne()}],"border-w-r":[{"border-r":Ne()}],"border-w-b":[{"border-b":Ne()}],"border-w-l":[{"border-l":Ne()}],"divide-x":[{"divide-x":Ne()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Ne()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ze(),"hidden","none"]}],"divide-style":[{divide:[...ze(),"hidden","none"]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:[...ze(),"none","hidden"]}],"outline-offset":[{"outline-offset":[$e,xe,ve]}],"outline-w":[{outline:["",$e,Sc,fa]}],"outline-color":[{outline:M()}],shadow:[{shadow:["","none",V,Md,Vd]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",m,Md,Vd]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:Ne()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[$e,fa]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":Ne()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":["none",g,Md,Vd]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[$e,xe,ve]}],"mix-blend":[{"mix-blend":[...pe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":pe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[$e]}],"mask-image-linear-from-pos":[{"mask-linear-from":Ye()}],"mask-image-linear-to-pos":[{"mask-linear-to":Ye()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":Ye()}],"mask-image-t-to-pos":[{"mask-t-to":Ye()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":Ye()}],"mask-image-r-to-pos":[{"mask-r-to":Ye()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":Ye()}],"mask-image-b-to-pos":[{"mask-b-to":Ye()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":Ye()}],"mask-image-l-to-pos":[{"mask-l-to":Ye()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":Ye()}],"mask-image-x-to-pos":[{"mask-x-to":Ye()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":Ye()}],"mask-image-y-to-pos":[{"mask-y-to":Ye()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[xe,ve]}],"mask-image-radial-from-pos":[{"mask-radial-from":Ye()}],"mask-image-radial-to-pos":[{"mask-radial-to":Ye()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":le()}],"mask-image-conic-pos":[{"mask-conic":[$e]}],"mask-image-conic-from-pos":[{"mask-conic-from":Ye()}],"mask-image-conic-to-pos":[{"mask-conic-to":Ye()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:K()}],"mask-repeat":[{mask:N()}],"mask-size":[{mask:L()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",xe,ve]}],filter:[{filter:["","none",xe,ve]}],blur:[{blur:Te()}],brightness:[{brightness:[$e,xe,ve]}],contrast:[{contrast:[$e,xe,ve]}],"drop-shadow":[{"drop-shadow":["","none",R,Md,Vd]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:["",$e,xe,ve]}],"hue-rotate":[{"hue-rotate":[$e,xe,ve]}],invert:[{invert:["",$e,xe,ve]}],saturate:[{saturate:[$e,xe,ve]}],sepia:[{sepia:["",$e,xe,ve]}],"backdrop-filter":[{"backdrop-filter":["","none",xe,ve]}],"backdrop-blur":[{"backdrop-blur":Te()}],"backdrop-brightness":[{"backdrop-brightness":[$e,xe,ve]}],"backdrop-contrast":[{"backdrop-contrast":[$e,xe,ve]}],"backdrop-grayscale":[{"backdrop-grayscale":["",$e,xe,ve]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[$e,xe,ve]}],"backdrop-invert":[{"backdrop-invert":["",$e,xe,ve]}],"backdrop-opacity":[{"backdrop-opacity":[$e,xe,ve]}],"backdrop-saturate":[{"backdrop-saturate":[$e,xe,ve]}],"backdrop-sepia":[{"backdrop-sepia":["",$e,xe,ve]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":J()}],"border-spacing-x":[{"border-spacing-x":J()}],"border-spacing-y":[{"border-spacing-y":J()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",xe,ve]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[$e,"initial",xe,ve]}],ease:[{ease:["linear","initial",I,xe,ve]}],delay:[{delay:[$e,xe,ve]}],animate:[{animate:["none",ge,xe,ve]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[Q,xe,ve]}],"perspective-origin":[{"perspective-origin":ce()}],rotate:[{rotate:Ie()}],"rotate-x":[{"rotate-x":Ie()}],"rotate-y":[{"rotate-y":Ie()}],"rotate-z":[{"rotate-z":Ie()}],scale:[{scale:Ve()}],"scale-x":[{"scale-x":Ve()}],"scale-y":[{"scale-y":Ve()}],"scale-z":[{"scale-z":Ve()}],"scale-3d":["scale-3d"],skew:[{skew:Tt()}],"skew-x":[{"skew-x":Tt()}],"skew-y":[{"skew-y":Tt()}],transform:[{transform:[xe,ve,"","none","gpu","cpu"]}],"transform-origin":[{origin:ce()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:xt()}],"translate-x":[{"translate-x":xt()}],"translate-y":[{"translate-y":xt()}],"translate-z":[{"translate-z":xt()}],"translate-none":["translate-none"],accent:[{accent:M()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:M()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",xe,ve]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":J()}],"scroll-mx":[{"scroll-mx":J()}],"scroll-my":[{"scroll-my":J()}],"scroll-ms":[{"scroll-ms":J()}],"scroll-me":[{"scroll-me":J()}],"scroll-mt":[{"scroll-mt":J()}],"scroll-mr":[{"scroll-mr":J()}],"scroll-mb":[{"scroll-mb":J()}],"scroll-ml":[{"scroll-ml":J()}],"scroll-p":[{"scroll-p":J()}],"scroll-px":[{"scroll-px":J()}],"scroll-py":[{"scroll-py":J()}],"scroll-ps":[{"scroll-ps":J()}],"scroll-pe":[{"scroll-pe":J()}],"scroll-pt":[{"scroll-pt":J()}],"scroll-pr":[{"scroll-pr":J()}],"scroll-pb":[{"scroll-pb":J()}],"scroll-pl":[{"scroll-pl":J()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",xe,ve]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[$e,Sc,fa,Ch]}],stroke:[{stroke:["none",...M()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},rT=HD(sT);function Mn(...l){return rT(D1(l))}function nt({className:l,...a}){return i.jsxDEV("div",{"data-slot":"card",className:Mn("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",l),...a},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/card.tsx",lineNumber:7,columnNumber:5},this)}function St({className:l,...a}){return i.jsxDEV("div",{"data-slot":"card-header",className:Mn("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",l),...a},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/card.tsx",lineNumber:20,columnNumber:5},this)}function wt({className:l,...a}){return i.jsxDEV("div",{"data-slot":"card-title",className:Mn("leading-none font-semibold",l),...a},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/card.tsx",lineNumber:33,columnNumber:5},this)}function lt({className:l,...a}){return i.jsxDEV("div",{"data-slot":"card-content",className:Mn("px-6",l),...a},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/card.tsx",lineNumber:66,columnNumber:5},this)}function YN(l,a){if(typeof l=="function")return l(a);l!=null&&(l.current=a)}function z1(...l){return a=>{let c=!1;const d=l.map(p=>{const v=YN(p,a);return!c&&typeof v=="function"&&(c=!0),v});if(c)return()=>{for(let p=0;p<d.length;p++){const v=d[p];typeof v=="function"?v():YN(l[p],null)}}}}function Fd(...l){return G.useCallback(z1(...l),l)}function Yd(l){const a=oT(l),c=G.forwardRef((d,p)=>{const{children:v,...S}=d,E=G.Children.toArray(v),y=E.find(lT);if(y){const U=y.props.children,V=E.map(m=>m===y?G.Children.count(U)>1?G.Children.only(null):G.isValidElement(U)?U.props.children:null:m);return Dt.jsx(a,{...S,ref:p,children:G.isValidElement(U)?G.cloneElement(U,void 0,V):null})}return Dt.jsx(a,{...S,ref:p,children:v})});return c.displayName=`${l}.Slot`,c}var H1=Yd("Slot");function oT(l){const a=G.forwardRef((c,d)=>{const{children:p,...v}=c;if(G.isValidElement(p)){const S=cT(p),E=iT(v,p.props);return p.type!==G.Fragment&&(E.ref=d?z1(d,S):S),G.cloneElement(p,E)}return G.Children.count(p)>1?G.Children.only(null):null});return a.displayName=`${l}.SlotClone`,a}var aT=Symbol("radix.slottable");function lT(l){return G.isValidElement(l)&&typeof l.type=="function"&&"__radixId"in l.type&&l.type.__radixId===aT}function iT(l,a){const c={...a};for(const d in a){const p=l[d],v=a[d];/^on[A-Z]/.test(d)?p&&v?c[d]=(...E)=>{const y=v(...E);return p(...E),y}:p&&(c[d]=p):d==="style"?c[d]={...p,...v}:d==="className"&&(c[d]=[p,v].filter(Boolean).join(" "))}return{...l,...c}}function cT(l){var d,p;let a=(d=Object.getOwnPropertyDescriptor(l.props,"ref"))==null?void 0:d.get,c=a&&"isReactWarning"in a&&a.isReactWarning;return c?l.ref:(a=(p=Object.getOwnPropertyDescriptor(l,"ref"))==null?void 0:p.get,c=a&&"isReactWarning"in a&&a.isReactWarning,c?l.props.ref:l.props.ref||l.ref)}const GN=l=>typeof l=="boolean"?`${l}`:l===0?"0":l,$N=D1,rb=(l,a)=>c=>{var d;if((a==null?void 0:a.variants)==null)return $N(l,c==null?void 0:c.class,c==null?void 0:c.className);const{variants:p,defaultVariants:v}=a,S=Object.keys(p).map(U=>{const V=c==null?void 0:c[U],m=v==null?void 0:v[U];if(V===null)return null;const g=GN(V)||GN(m);return p[U][g]}),E=c&&Object.entries(c).reduce((U,V)=>{let[m,g]=V;return g===void 0||(U[m]=g),U},{}),y=a==null||(d=a.compoundVariants)===null||d===void 0?void 0:d.reduce((U,V)=>{let{class:m,className:g,...R}=V;return Object.entries(R).every(Y=>{let[Q,k]=Y;return Array.isArray(k)?k.includes({...v,...E}[Q]):{...v,...E}[Q]===k})?[...U,m,g]:U},[]);return $N(l,S,y,c==null?void 0:c.class,c==null?void 0:c.className)},uT=rb("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function De({className:l,variant:a,size:c,asChild:d=!1,...p}){const v=d?H1:"button";return i.jsxDEV(v,{"data-slot":"button",className:Mn(uT({variant:a,size:c,className:l})),...p},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/button.tsx",lineNumber:51,columnNumber:5},this)}const dT=rb("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function Nt({className:l,variant:a,asChild:c=!1,...d}){const p=c?H1:"span";return i.jsxDEV(p,{"data-slot":"badge",className:Mn(dT({variant:a}),l),...d},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/badge.tsx",lineNumber:38,columnNumber:5},this)}/**
285
- * @license lucide-react v0.513.0 - ISC
286
- *
287
- * This source code is licensed under the ISC license.
288
- * See the LICENSE file in the root directory of this source tree.
289
- */const fT=l=>l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),mT=l=>l.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,c,d)=>d?d.toUpperCase():c.toLowerCase()),QN=l=>{const a=mT(l);return a.charAt(0).toUpperCase()+a.slice(1)},_1=(...l)=>l.filter((a,c,d)=>!!a&&a.trim()!==""&&d.indexOf(a)===c).join(" ").trim(),pT=l=>{for(const a in l)if(a.startsWith("aria-")||a==="role"||a==="title")return!0};/**
290
- * @license lucide-react v0.513.0 - ISC
291
- *
292
- * This source code is licensed under the ISC license.
293
- * See the LICENSE file in the root directory of this source tree.
294
- */var hT={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
295
- * @license lucide-react v0.513.0 - ISC
296
- *
297
- * This source code is licensed under the ISC license.
298
- * See the LICENSE file in the root directory of this source tree.
299
- */const bT=G.forwardRef(({color:l="currentColor",size:a=24,strokeWidth:c=2,absoluteStrokeWidth:d,className:p="",children:v,iconNode:S,...E},y)=>G.createElement("svg",{ref:y,...hT,width:a,height:a,stroke:l,strokeWidth:d?Number(c)*24/Number(a):c,className:_1("lucide",p),...!v&&!pT(E)&&{"aria-hidden":"true"},...E},[...S.map(([U,V])=>G.createElement(U,V)),...Array.isArray(v)?v:[v]]));/**
300
- * @license lucide-react v0.513.0 - ISC
301
- *
302
- * This source code is licensed under the ISC license.
303
- * See the LICENSE file in the root directory of this source tree.
304
- */const Qe=(l,a)=>{const c=G.forwardRef(({className:d,...p},v)=>G.createElement(bT,{ref:v,iconNode:a,className:_1(`lucide-${fT(QN(l))}`,`lucide-${l}`,d),...p}));return c.displayName=QN(l),c};/**
305
- * @license lucide-react v0.513.0 - ISC
306
- *
307
- * This source code is licensed under the ISC license.
308
- * See the LICENSE file in the root directory of this source tree.
309
- */const vT=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Od=Qe("arrow-right",vT);/**
310
- * @license lucide-react v0.513.0 - ISC
311
- *
312
- * This source code is licensed under the ISC license.
313
- * See the LICENSE file in the root directory of this source tree.
314
- */const xT=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],gT=Qe("book-open",xT);/**
315
- * @license lucide-react v0.513.0 - ISC
316
- *
317
- * This source code is licensed under the ISC license.
318
- * See the LICENSE file in the root directory of this source tree.
319
- */const yT=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],B1=Qe("chevron-down",yT);/**
320
- * @license lucide-react v0.513.0 - ISC
321
- *
322
- * This source code is licensed under the ISC license.
323
- * See the LICENSE file in the root directory of this source tree.
324
- */const NT=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],L1=Qe("chevron-right",NT);/**
325
- * @license lucide-react v0.513.0 - ISC
326
- *
327
- * This source code is licensed under the ISC license.
328
- * See the LICENSE file in the root directory of this source tree.
329
- */const ST=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],Hd=Qe("circle-alert",ST);/**
330
- * @license lucide-react v0.513.0 - ISC
331
- *
332
- * This source code is licensed under the ISC license.
333
- * See the LICENSE file in the root directory of this source tree.
334
- */const wT=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Zs=Qe("circle-check-big",wT);/**
335
- * @license lucide-react v0.513.0 - ISC
336
- *
337
- * This source code is licensed under the ISC license.
338
- * See the LICENSE file in the root directory of this source tree.
339
- */const jT=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],ET=Qe("circle-help",jT);/**
340
- * @license lucide-react v0.513.0 - ISC
341
- *
342
- * This source code is licensed under the ISC license.
343
- * See the LICENSE file in the root directory of this source tree.
344
- */const DT=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],TT=Qe("circle",DT);/**
345
- * @license lucide-react v0.513.0 - ISC
346
- *
347
- * This source code is licensed under the ISC license.
348
- * See the LICENSE file in the root directory of this source tree.
349
- */const UT=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],CT=Qe("code",UT);/**
350
- * @license lucide-react v0.513.0 - ISC
351
- *
352
- * This source code is licensed under the ISC license.
353
- * See the LICENSE file in the root directory of this source tree.
354
- */const RT=[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]],AT=Qe("command",RT);/**
355
- * @license lucide-react v0.513.0 - ISC
356
- *
357
- * This source code is licensed under the ISC license.
358
- * See the LICENSE file in the root directory of this source tree.
359
- */const VT=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Uc=Qe("copy",VT);/**
360
- * @license lucide-react v0.513.0 - ISC
361
- *
362
- * This source code is licensed under the ISC license.
363
- * See the LICENSE file in the root directory of this source tree.
364
- */const MT=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Gd=Qe("download",MT);/**
365
- * @license lucide-react v0.513.0 - ISC
366
- *
367
- * This source code is licensed under the ISC license.
368
- * See the LICENSE file in the root directory of this source tree.
369
- */const OT=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],PT=Qe("external-link",OT);/**
370
- * @license lucide-react v0.513.0 - ISC
371
- *
372
- * This source code is licensed under the ISC license.
373
- * See the LICENSE file in the root directory of this source tree.
374
- */const kT=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Ul=Qe("eye-off",kT);/**
375
- * @license lucide-react v0.513.0 - ISC
376
- *
377
- * This source code is licensed under the ISC license.
378
- * See the LICENSE file in the root directory of this source tree.
379
- */const zT=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Cl=Qe("eye",zT);/**
380
- * @license lucide-react v0.513.0 - ISC
381
- *
382
- * This source code is licensed under the ISC license.
383
- * See the LICENSE file in the root directory of this source tree.
384
- */const HT=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Rl=Qe("file-text",HT);/**
385
- * @license lucide-react v0.513.0 - ISC
386
- *
387
- * This source code is licensed under the ISC license.
388
- * See the LICENSE file in the root directory of this source tree.
389
- */const _T=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]],Tl=Qe("file",_T);/**
390
- * @license lucide-react v0.513.0 - ISC
391
- *
392
- * This source code is licensed under the ISC license.
393
- * See the LICENSE file in the root directory of this source tree.
394
- */const BT=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],_d=Qe("folder-open",BT);/**
395
- * @license lucide-react v0.513.0 - ISC
396
- *
397
- * This source code is licensed under the ISC license.
398
- * See the LICENSE file in the root directory of this source tree.
399
- */const LT=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],q1=Qe("folder",LT);/**
400
- * @license lucide-react v0.513.0 - ISC
401
- *
402
- * This source code is licensed under the ISC license.
403
- * See the LICENSE file in the root directory of this source tree.
404
- */const qT=[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]],FT=Qe("hash",qT);/**
405
- * @license lucide-react v0.513.0 - ISC
406
- *
407
- * This source code is licensed under the ISC license.
408
- * See the LICENSE file in the root directory of this source tree.
409
- */const YT=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Ih=Qe("info",YT);/**
410
- * @license lucide-react v0.513.0 - ISC
411
- *
412
- * This source code is licensed under the ISC license.
413
- * See the LICENSE file in the root directory of this source tree.
414
- */const GT=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],wc=Qe("loader-circle",GT);/**
415
- * @license lucide-react v0.513.0 - ISC
416
- *
417
- * This source code is licensed under the ISC license.
418
- * See the LICENSE file in the root directory of this source tree.
419
- */const $T=[["path",{d:"M5 12h14",key:"1ays0h"}]],QT=Qe("minus",$T);/**
420
- * @license lucide-react v0.513.0 - ISC
421
- *
422
- * This source code is licensed under the ISC license.
423
- * See the LICENSE file in the root directory of this source tree.
424
- */const IT=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],Xh=Qe("monitor",IT);/**
425
- * @license lucide-react v0.513.0 - ISC
426
- *
427
- * This source code is licensed under the ISC license.
428
- * See the LICENSE file in the root directory of this source tree.
429
- */const XT=[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}]],ZT=Qe("pen-line",XT);/**
430
- * @license lucide-react v0.513.0 - ISC
431
- *
432
- * This source code is licensed under the ISC license.
433
- * See the LICENSE file in the root directory of this source tree.
434
- */const KT=[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]],F1=Qe("play",KT);/**
435
- * @license lucide-react v0.513.0 - ISC
436
- *
437
- * This source code is licensed under the ISC license.
438
- * See the LICENSE file in the root directory of this source tree.
439
- */const JT=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Cc=Qe("plus",JT);/**
440
- * @license lucide-react v0.513.0 - ISC
441
- *
442
- * This source code is licensed under the ISC license.
443
- * See the LICENSE file in the root directory of this source tree.
444
- */const WT=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],$d=Qe("refresh-cw",WT);/**
445
- * @license lucide-react v0.513.0 - ISC
446
- *
447
- * This source code is licensed under the ISC license.
448
- * See the LICENSE file in the root directory of this source tree.
449
- */const eU=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],tU=Qe("rotate-ccw",eU);/**
450
- * @license lucide-react v0.513.0 - ISC
451
- *
452
- * This source code is licensed under the ISC license.
453
- * See the LICENSE file in the root directory of this source tree.
454
- */const nU=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],Zh=Qe("save",nU);/**
455
- * @license lucide-react v0.513.0 - ISC
456
- *
457
- * This source code is licensed under the ISC license.
458
- * See the LICENSE file in the root directory of this source tree.
459
- */const sU=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],rU=Qe("search",sU);/**
460
- * @license lucide-react v0.513.0 - ISC
461
- *
462
- * This source code is licensed under the ISC license.
463
- * See the LICENSE file in the root directory of this source tree.
464
- */const oU=[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Yl=Qe("settings",oU);/**
465
- * @license lucide-react v0.513.0 - ISC
466
- *
467
- * This source code is licensed under the ISC license.
468
- * See the LICENSE file in the root directory of this source tree.
469
- */const aU=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]],Sa=Qe("sparkles",aU);/**
470
- * @license lucide-react v0.513.0 - ISC
471
- *
472
- * This source code is licensed under the ISC license.
473
- * See the LICENSE file in the root directory of this source tree.
474
- */const lU=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],Y1=Qe("terminal",lU);/**
475
- * @license lucide-react v0.513.0 - ISC
476
- *
477
- * This source code is licensed under the ISC license.
478
- * See the LICENSE file in the root directory of this source tree.
479
- */const iU=[["path",{d:"M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2",key:"125lnx"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M14.5 16h-5",key:"1ox875"}]],cU=Qe("test-tube",iU);/**
480
- * @license lucide-react v0.513.0 - ISC
481
- *
482
- * This source code is licensed under the ISC license.
483
- * See the LICENSE file in the root directory of this source tree.
484
- */const uU=[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]],Kh=Qe("trash-2",uU);/**
485
- * @license lucide-react v0.513.0 - ISC
486
- *
487
- * This source code is licensed under the ISC license.
488
- * See the LICENSE file in the root directory of this source tree.
489
- */const dU=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Qd=Qe("triangle-alert",dU);/**
490
- * @license lucide-react v0.513.0 - ISC
491
- *
492
- * This source code is licensed under the ISC license.
493
- * See the LICENSE file in the root directory of this source tree.
494
- */const fU=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],G1=Qe("x",fU);/**
495
- * @license lucide-react v0.513.0 - ISC
496
- *
497
- * This source code is licensed under the ISC license.
498
- * See the LICENSE file in the root directory of this source tree.
499
- */const mU=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],IN=Qe("zap",mU);var pU=f1();const hU=u1(pU);function bU(l){if(typeof document>"u")return;let a=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.type="text/css",a.appendChild(c),c.styleSheet?c.styleSheet.cssText=l:c.appendChild(document.createTextNode(l))}const vU=l=>{switch(l){case"success":return yU;case"info":return SU;case"warning":return NU;case"error":return wU;default:return null}},xU=Array(12).fill(0),gU=({visible:l,className:a})=>se.createElement("div",{className:["sonner-loading-wrapper",a].filter(Boolean).join(" "),"data-visible":l},se.createElement("div",{className:"sonner-spinner"},xU.map((c,d)=>se.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${d}`})))),yU=se.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},se.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),NU=se.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},se.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),SU=se.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},se.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),wU=se.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},se.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),jU=se.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},se.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),se.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),EU=()=>{const[l,a]=se.useState(document.hidden);return se.useEffect(()=>{const c=()=>{a(document.hidden)};return document.addEventListener("visibilitychange",c),()=>window.removeEventListener("visibilitychange",c)},[]),l};let Jh=1;class DU{constructor(){this.subscribe=a=>(this.subscribers.push(a),()=>{const c=this.subscribers.indexOf(a);this.subscribers.splice(c,1)}),this.publish=a=>{this.subscribers.forEach(c=>c(a))},this.addToast=a=>{this.publish(a),this.toasts=[...this.toasts,a]},this.create=a=>{var c;const{message:d,...p}=a,v=typeof(a==null?void 0:a.id)=="number"||((c=a.id)==null?void 0:c.length)>0?a.id:Jh++,S=this.toasts.find(y=>y.id===v),E=a.dismissible===void 0?!0:a.dismissible;return this.dismissedToasts.has(v)&&this.dismissedToasts.delete(v),S?this.toasts=this.toasts.map(y=>y.id===v?(this.publish({...y,...a,id:v,title:d}),{...y,...a,id:v,dismissible:E,title:d}):y):this.addToast({title:d,...p,dismissible:E,id:v}),v},this.dismiss=a=>(a?(this.dismissedToasts.add(a),requestAnimationFrame(()=>this.subscribers.forEach(c=>c({id:a,dismiss:!0})))):this.toasts.forEach(c=>{this.subscribers.forEach(d=>d({id:c.id,dismiss:!0}))}),a),this.message=(a,c)=>this.create({...c,message:a}),this.error=(a,c)=>this.create({...c,message:a,type:"error"}),this.success=(a,c)=>this.create({...c,type:"success",message:a}),this.info=(a,c)=>this.create({...c,type:"info",message:a}),this.warning=(a,c)=>this.create({...c,type:"warning",message:a}),this.loading=(a,c)=>this.create({...c,type:"loading",message:a}),this.promise=(a,c)=>{if(!c)return;let d;c.loading!==void 0&&(d=this.create({...c,promise:a,type:"loading",message:c.loading,description:typeof c.description!="function"?c.description:void 0}));const p=Promise.resolve(a instanceof Function?a():a);let v=d!==void 0,S;const E=p.then(async U=>{if(S=["resolve",U],se.isValidElement(U))v=!1,this.create({id:d,type:"default",message:U});else if(UU(U)&&!U.ok){v=!1;const m=typeof c.error=="function"?await c.error(`HTTP error! status: ${U.status}`):c.error,g=typeof c.description=="function"?await c.description(`HTTP error! status: ${U.status}`):c.description,Y=typeof m=="object"&&!se.isValidElement(m)?m:{message:m};this.create({id:d,type:"error",description:g,...Y})}else if(U instanceof Error){v=!1;const m=typeof c.error=="function"?await c.error(U):c.error,g=typeof c.description=="function"?await c.description(U):c.description,Y=typeof m=="object"&&!se.isValidElement(m)?m:{message:m};this.create({id:d,type:"error",description:g,...Y})}else if(c.success!==void 0){v=!1;const m=typeof c.success=="function"?await c.success(U):c.success,g=typeof c.description=="function"?await c.description(U):c.description,Y=typeof m=="object"&&!se.isValidElement(m)?m:{message:m};this.create({id:d,type:"success",description:g,...Y})}}).catch(async U=>{if(S=["reject",U],c.error!==void 0){v=!1;const V=typeof c.error=="function"?await c.error(U):c.error,m=typeof c.description=="function"?await c.description(U):c.description,R=typeof V=="object"&&!se.isValidElement(V)?V:{message:V};this.create({id:d,type:"error",description:m,...R})}}).finally(()=>{v&&(this.dismiss(d),d=void 0),c.finally==null||c.finally.call(c)}),y=()=>new Promise((U,V)=>E.then(()=>S[0]==="reject"?V(S[1]):U(S[1])).catch(V));return typeof d!="string"&&typeof d!="number"?{unwrap:y}:Object.assign(d,{unwrap:y})},this.custom=(a,c)=>{const d=(c==null?void 0:c.id)||Jh++;return this.create({jsx:a(d),id:d,...c}),d},this.getActiveToasts=()=>this.toasts.filter(a=>!this.dismissedToasts.has(a.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Vn=new DU,TU=(l,a)=>{const c=(a==null?void 0:a.id)||Jh++;return Vn.addToast({title:l,...a,id:c}),c},UU=l=>l&&typeof l=="object"&&"ok"in l&&typeof l.ok=="boolean"&&"status"in l&&typeof l.status=="number",CU=TU,RU=()=>Vn.toasts,AU=()=>Vn.getActiveToasts(),ot=Object.assign(CU,{success:Vn.success,info:Vn.info,warning:Vn.warning,error:Vn.error,custom:Vn.custom,message:Vn.message,promise:Vn.promise,dismiss:Vn.dismiss,loading:Vn.loading},{getHistory:RU,getToasts:AU});bU("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function Pd(l){return l.label!==void 0}const VU=3,MU="24px",OU="16px",XN=4e3,PU=356,kU=14,zU=45,HU=200;function $s(...l){return l.filter(Boolean).join(" ")}function _U(l){const[a,c]=l.split("-"),d=[];return a&&d.push(a),c&&d.push(c),d}const BU=l=>{var a,c,d,p,v,S,E,y,U;const{invert:V,toast:m,unstyled:g,interacting:R,setHeights:Y,visibleToasts:Q,heights:k,index:I,toasts:ge,expanded:X,removeToast:le,defaultRichColors:ce,closeButton:me,style:we,cancelButtonStyle:J,actionButtonStyle:W,className:Ee="",descriptionClassName:ae="",duration:ie,position:Z,gap:Ce,expandByDefault:Ae,classNames:B,icons:A,closeButtonAriaLabel:M="Close toast"}=l,[K,N]=se.useState(null),[L,$]=se.useState(null),[ne,Ne]=se.useState(!1),[ze,pe]=se.useState(!1),[Ye,Te]=se.useState(!1),[Ie,Ve]=se.useState(!1),[Tt,xt]=se.useState(!1),[tn,Es]=se.useState(0),[Ds,jt]=se.useState(0),ln=se.useRef(m.duration||ie||XN),fs=se.useRef(null),On=se.useRef(null),Be=I===0,Ks=I+1<=Q,kt=m.type,cn=m.dismissible!==!1,Ea=m.className||"",Uo=m.descriptionClassName||"",Js=se.useMemo(()=>k.findIndex(ue=>ue.toastId===m.id)||0,[k,m.id]),Co=se.useMemo(()=>{var ue;return(ue=m.closeButton)!=null?ue:me},[m.closeButton,me]),Mr=se.useMemo(()=>m.duration||ie||XN,[m.duration,ie]),Ws=se.useRef(0),Pn=se.useRef(0),Or=se.useRef(0),kn=se.useRef(null),[Ts,zn]=Z.split("-"),yn=se.useMemo(()=>k.reduce((ue,Se,We)=>We>=Js?ue:ue+Se.height,0),[k,Js]),ms=EU(),h=m.invert||V,C=kt==="loading";Pn.current=se.useMemo(()=>Js*Ce+yn,[Js,yn]),se.useEffect(()=>{ln.current=Mr},[Mr]),se.useEffect(()=>{Ne(!0)},[]),se.useEffect(()=>{const ue=On.current;if(ue){const Se=ue.getBoundingClientRect().height;return jt(Se),Y(We=>[{toastId:m.id,height:Se,position:m.position},...We]),()=>Y(We=>We.filter(Et=>Et.toastId!==m.id))}},[Y,m.id]),se.useLayoutEffect(()=>{if(!ne)return;const ue=On.current,Se=ue.style.height;ue.style.height="auto";const We=ue.getBoundingClientRect().height;ue.style.height=Se,jt(We),Y(Et=>Et.find(At=>At.toastId===m.id)?Et.map(At=>At.toastId===m.id?{...At,height:We}:At):[{toastId:m.id,height:We,position:m.position},...Et])},[ne,m.title,m.description,Y,m.id,m.jsx,m.action,m.cancel]);const ee=se.useCallback(()=>{pe(!0),Es(Pn.current),Y(ue=>ue.filter(Se=>Se.toastId!==m.id)),setTimeout(()=>{le(m)},HU)},[m,le,Y,Pn]);se.useEffect(()=>{if(m.promise&&kt==="loading"||m.duration===1/0||m.type==="loading")return;let ue;return X||R||ms?(()=>{if(Or.current<Ws.current){const Et=new Date().getTime()-Ws.current;ln.current=ln.current-Et}Or.current=new Date().getTime()})():(()=>{ln.current!==1/0&&(Ws.current=new Date().getTime(),ue=setTimeout(()=>{m.onAutoClose==null||m.onAutoClose.call(m,m),ee()},ln.current))})(),()=>clearTimeout(ue)},[X,R,m,kt,ms,ee]),se.useEffect(()=>{m.delete&&(ee(),m.onDismiss==null||m.onDismiss.call(m,m))},[ee,m.delete]);function oe(){var ue;if(A!=null&&A.loading){var Se;return se.createElement("div",{className:$s(B==null?void 0:B.loader,m==null||(Se=m.classNames)==null?void 0:Se.loader,"sonner-loader"),"data-visible":kt==="loading"},A.loading)}return se.createElement(gU,{className:$s(B==null?void 0:B.loader,m==null||(ue=m.classNames)==null?void 0:ue.loader),visible:kt==="loading"})}const ye=m.icon||(A==null?void 0:A[kt])||vU(kt);var He,Oe;return se.createElement("li",{tabIndex:0,ref:On,className:$s(Ee,Ea,B==null?void 0:B.toast,m==null||(a=m.classNames)==null?void 0:a.toast,B==null?void 0:B.default,B==null?void 0:B[kt],m==null||(c=m.classNames)==null?void 0:c[kt]),"data-sonner-toast":"","data-rich-colors":(He=m.richColors)!=null?He:ce,"data-styled":!(m.jsx||m.unstyled||g),"data-mounted":ne,"data-promise":!!m.promise,"data-swiped":Tt,"data-removed":ze,"data-visible":Ks,"data-y-position":Ts,"data-x-position":zn,"data-index":I,"data-front":Be,"data-swiping":Ye,"data-dismissible":cn,"data-type":kt,"data-invert":h,"data-swipe-out":Ie,"data-swipe-direction":L,"data-expanded":!!(X||Ae&&ne),style:{"--index":I,"--toasts-before":I,"--z-index":ge.length-I,"--offset":`${ze?tn:Pn.current}px`,"--initial-height":Ae?"auto":`${Ds}px`,...we,...m.style},onDragEnd:()=>{Te(!1),N(null),kn.current=null},onPointerDown:ue=>{C||!cn||(fs.current=new Date,Es(Pn.current),ue.target.setPointerCapture(ue.pointerId),ue.target.tagName!=="BUTTON"&&(Te(!0),kn.current={x:ue.clientX,y:ue.clientY}))},onPointerUp:()=>{var ue,Se,We;if(Ie||!cn)return;kn.current=null;const Et=Number(((ue=On.current)==null?void 0:ue.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Pr=Number(((Se=On.current)==null?void 0:Se.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),At=new Date().getTime()-((We=fs.current)==null?void 0:We.getTime()),vt=K==="x"?Et:Pr,kr=Math.abs(vt)/At;if(Math.abs(vt)>=zU||kr>.11){Es(Pn.current),m.onDismiss==null||m.onDismiss.call(m,m),$(K==="x"?Et>0?"right":"left":Pr>0?"down":"up"),ee(),Ve(!0);return}else{var Nn,Hn;(Nn=On.current)==null||Nn.style.setProperty("--swipe-amount-x","0px"),(Hn=On.current)==null||Hn.style.setProperty("--swipe-amount-y","0px")}xt(!1),Te(!1),N(null)},onPointerMove:ue=>{var Se,We,Et;if(!kn.current||!cn||((Se=window.getSelection())==null?void 0:Se.toString().length)>0)return;const At=ue.clientY-kn.current.y,vt=ue.clientX-kn.current.x;var kr;const Nn=(kr=l.swipeDirections)!=null?kr:_U(Z);!K&&(Math.abs(vt)>1||Math.abs(At)>1)&&N(Math.abs(vt)>Math.abs(At)?"x":"y");let Hn={x:0,y:0};const Zl=Us=>1/(1.5+Math.abs(Us)/20);if(K==="y"){if(Nn.includes("top")||Nn.includes("bottom"))if(Nn.includes("top")&&At<0||Nn.includes("bottom")&&At>0)Hn.y=At;else{const Us=At*Zl(At);Hn.y=Math.abs(Us)<Math.abs(At)?Us:At}}else if(K==="x"&&(Nn.includes("left")||Nn.includes("right")))if(Nn.includes("left")&&vt<0||Nn.includes("right")&&vt>0)Hn.x=vt;else{const Us=vt*Zl(vt);Hn.x=Math.abs(Us)<Math.abs(vt)?Us:vt}(Math.abs(Hn.x)>0||Math.abs(Hn.y)>0)&&xt(!0),(We=On.current)==null||We.style.setProperty("--swipe-amount-x",`${Hn.x}px`),(Et=On.current)==null||Et.style.setProperty("--swipe-amount-y",`${Hn.y}px`)}},Co&&!m.jsx&&kt!=="loading"?se.createElement("button",{"aria-label":M,"data-disabled":C,"data-close-button":!0,onClick:C||!cn?()=>{}:()=>{ee(),m.onDismiss==null||m.onDismiss.call(m,m)},className:$s(B==null?void 0:B.closeButton,m==null||(d=m.classNames)==null?void 0:d.closeButton)},(Oe=A==null?void 0:A.close)!=null?Oe:jU):null,(kt||m.icon||m.promise)&&m.icon!==null&&((A==null?void 0:A[kt])!==null||m.icon)?se.createElement("div",{"data-icon":"",className:$s(B==null?void 0:B.icon,m==null||(p=m.classNames)==null?void 0:p.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||oe():null,m.type!=="loading"?ye:null):null,se.createElement("div",{"data-content":"",className:$s(B==null?void 0:B.content,m==null||(v=m.classNames)==null?void 0:v.content)},se.createElement("div",{"data-title":"",className:$s(B==null?void 0:B.title,m==null||(S=m.classNames)==null?void 0:S.title)},m.jsx?m.jsx:typeof m.title=="function"?m.title():m.title),m.description?se.createElement("div",{"data-description":"",className:$s(ae,Uo,B==null?void 0:B.description,m==null||(E=m.classNames)==null?void 0:E.description)},typeof m.description=="function"?m.description():m.description):null),se.isValidElement(m.cancel)?m.cancel:m.cancel&&Pd(m.cancel)?se.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||J,onClick:ue=>{Pd(m.cancel)&&cn&&(m.cancel.onClick==null||m.cancel.onClick.call(m.cancel,ue),ee())},className:$s(B==null?void 0:B.cancelButton,m==null||(y=m.classNames)==null?void 0:y.cancelButton)},m.cancel.label):null,se.isValidElement(m.action)?m.action:m.action&&Pd(m.action)?se.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||W,onClick:ue=>{Pd(m.action)&&(m.action.onClick==null||m.action.onClick.call(m.action,ue),!ue.defaultPrevented&&ee())},className:$s(B==null?void 0:B.actionButton,m==null||(U=m.classNames)==null?void 0:U.actionButton)},m.action.label):null)};function ZN(){if(typeof window>"u"||typeof document>"u")return"ltr";const l=document.documentElement.getAttribute("dir");return l==="auto"||!l?window.getComputedStyle(document.documentElement).direction:l}function LU(l,a){const c={};return[l,a].forEach((d,p)=>{const v=p===1,S=v?"--mobile-offset":"--offset",E=v?OU:MU;function y(U){["top","right","bottom","left"].forEach(V=>{c[`${S}-${V}`]=typeof U=="number"?`${U}px`:U})}typeof d=="number"||typeof d=="string"?y(d):typeof d=="object"?["top","right","bottom","left"].forEach(U=>{d[U]===void 0?c[`${S}-${U}`]=E:c[`${S}-${U}`]=typeof d[U]=="number"?`${d[U]}px`:d[U]}):y(E)}),c}const qU=se.forwardRef(function(a,c){const{invert:d,position:p="bottom-right",hotkey:v=["altKey","KeyT"],expand:S,closeButton:E,className:y,offset:U,mobileOffset:V,theme:m="light",richColors:g,duration:R,style:Y,visibleToasts:Q=VU,toastOptions:k,dir:I=ZN(),gap:ge=kU,icons:X,containerAriaLabel:le="Notifications"}=a,[ce,me]=se.useState([]),we=se.useMemo(()=>Array.from(new Set([p].concat(ce.filter(L=>L.position).map(L=>L.position)))),[ce,p]),[J,W]=se.useState([]),[Ee,ae]=se.useState(!1),[ie,Z]=se.useState(!1),[Ce,Ae]=se.useState(m!=="system"?m:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),B=se.useRef(null),A=v.join("+").replace(/Key/g,"").replace(/Digit/g,""),M=se.useRef(null),K=se.useRef(!1),N=se.useCallback(L=>{me($=>{var ne;return(ne=$.find(Ne=>Ne.id===L.id))!=null&&ne.delete||Vn.dismiss(L.id),$.filter(({id:Ne})=>Ne!==L.id)})},[]);return se.useEffect(()=>Vn.subscribe(L=>{if(L.dismiss){requestAnimationFrame(()=>{me($=>$.map(ne=>ne.id===L.id?{...ne,delete:!0}:ne))});return}setTimeout(()=>{hU.flushSync(()=>{me($=>{const ne=$.findIndex(Ne=>Ne.id===L.id);return ne!==-1?[...$.slice(0,ne),{...$[ne],...L},...$.slice(ne+1)]:[L,...$]})})})}),[ce]),se.useEffect(()=>{if(m!=="system"){Ae(m);return}if(m==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?Ae("dark"):Ae("light")),typeof window>"u")return;const L=window.matchMedia("(prefers-color-scheme: dark)");try{L.addEventListener("change",({matches:$})=>{Ae($?"dark":"light")})}catch{L.addListener(({matches:ne})=>{try{Ae(ne?"dark":"light")}catch(Ne){console.error(Ne)}})}},[m]),se.useEffect(()=>{ce.length<=1&&ae(!1)},[ce]),se.useEffect(()=>{const L=$=>{var ne;if(v.every(pe=>$[pe]||$.code===pe)){var ze;ae(!0),(ze=B.current)==null||ze.focus()}$.code==="Escape"&&(document.activeElement===B.current||(ne=B.current)!=null&&ne.contains(document.activeElement))&&ae(!1)};return document.addEventListener("keydown",L),()=>document.removeEventListener("keydown",L)},[v]),se.useEffect(()=>{if(B.current)return()=>{M.current&&(M.current.focus({preventScroll:!0}),M.current=null,K.current=!1)}},[B.current]),se.createElement("section",{ref:c,"aria-label":`${le} ${A}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},we.map((L,$)=>{var ne;const[Ne,ze]=L.split("-");return ce.length?se.createElement("ol",{key:L,dir:I==="auto"?ZN():I,tabIndex:-1,ref:B,className:y,"data-sonner-toaster":!0,"data-sonner-theme":Ce,"data-y-position":Ne,"data-x-position":ze,style:{"--front-toast-height":`${((ne=J[0])==null?void 0:ne.height)||0}px`,"--width":`${PU}px`,"--gap":`${ge}px`,...Y,...LU(U,V)},onBlur:pe=>{K.current&&!pe.currentTarget.contains(pe.relatedTarget)&&(K.current=!1,M.current&&(M.current.focus({preventScroll:!0}),M.current=null))},onFocus:pe=>{pe.target instanceof HTMLElement&&pe.target.dataset.dismissible==="false"||K.current||(K.current=!0,M.current=pe.relatedTarget)},onMouseEnter:()=>ae(!0),onMouseMove:()=>ae(!0),onMouseLeave:()=>{ie||ae(!1)},onDragEnd:()=>ae(!1),onPointerDown:pe=>{pe.target instanceof HTMLElement&&pe.target.dataset.dismissible==="false"||Z(!0)},onPointerUp:()=>Z(!1)},ce.filter(pe=>!pe.position&&$===0||pe.position===L).map((pe,Ye)=>{var Te,Ie;return se.createElement(BU,{key:pe.id,icons:X,index:Ye,toast:pe,defaultRichColors:g,duration:(Te=k==null?void 0:k.duration)!=null?Te:R,className:k==null?void 0:k.className,descriptionClassName:k==null?void 0:k.descriptionClassName,invert:d,visibleToasts:Q,closeButton:(Ie=k==null?void 0:k.closeButton)!=null?Ie:E,interacting:ie,position:L,style:k==null?void 0:k.style,unstyled:k==null?void 0:k.unstyled,classNames:k==null?void 0:k.classNames,cancelButtonStyle:k==null?void 0:k.cancelButtonStyle,actionButtonStyle:k==null?void 0:k.actionButtonStyle,closeButtonAriaLabel:k==null?void 0:k.closeButtonAriaLabel,removeToast:N,toasts:ce.filter(Ve=>Ve.position==pe.position),heights:J.filter(Ve=>Ve.position==pe.position),setHeights:W,expandByDefault:S,gap:ge,expanded:Ee,swipeDirections:a.swipeDirections})})):null}))}),FU=async()=>{const l=await fetch("http://localhost:3333/api/bundles");if(!l.ok)throw new Error("Failed to fetch bundles");return l.json()},YU=async l=>{const a=await fetch(`http://localhost:3333/api/bundle-categories/${l}`);if(!a.ok)throw new Error("Failed to fetch bundle categories");return a.json()},GU=async()=>{const l=await fetch("http://localhost:3333/api/files");if(!l.ok)throw new Error("Failed to fetch files");return(await l.json()).map(c=>c.path)};function $U(){const l=$l(),[a,c]=G.useState([]),[d,p]=G.useState(!0),[v,S]=G.useState(new Set),[E,y]=G.useState({}),[U,V]=G.useState(new Set),[m,g]=G.useState([]),[R,Y]=G.useState(new Set),[Q,k]=G.useState(new Set),[I,ge]=G.useState(new Set),X=async()=>{console.log("Manual refetch called");try{const A=await FU();return console.log("Fresh bundles received:",A),c(A),{data:A}}catch(A){return console.error("Failed to fetch bundles:",A),{data:[]}}};G.useState(()=>{X().then(()=>p(!1));const A=setInterval(X,5e3);return()=>clearInterval(A)});const le=async A=>{const M=new Set(v);if(M.has(A))M.delete(A);else if(M.add(A),!E[A])try{const K=await YU(A);y(N=>({...N,[A]:K}))}catch(K){console.error("Failed to fetch bundle categories:",K),ot.error("Failed to load file categories")}S(M)},ce=A=>{switch(A){case"components":return i.jsxDEV(CT,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:105,columnNumber:33},this);case"hooks":return i.jsxDEV(FT,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:106,columnNumber:28},this);case"utilities":return i.jsxDEV(Yl,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:107,columnNumber:32},this);case"configuration":return i.jsxDEV(Yl,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:108,columnNumber:36},this);case"styles":return i.jsxDEV(q1,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:109,columnNumber:29},this);case"types":return i.jsxDEV(Rl,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:110,columnNumber:28},this);case"tests":return i.jsxDEV(cU,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:111,columnNumber:28},this);case"documentation":return i.jsxDEV(gT,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:112,columnNumber:36},this);default:return i.jsxDEV(Rl,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:113,columnNumber:23},this)}},me=A=>{switch(A){case"components":return"bg-blue-100 text-blue-800 border-blue-200";case"hooks":return"bg-purple-100 text-purple-800 border-purple-200";case"utilities":return"bg-green-100 text-green-800 border-green-200";case"configuration":return"bg-orange-100 text-orange-800 border-orange-200";case"styles":return"bg-pink-100 text-pink-800 border-pink-200";case"types":return"bg-indigo-100 text-indigo-800 border-indigo-200";case"tests":return"bg-yellow-100 text-yellow-800 border-yellow-200";case"documentation":return"bg-gray-100 text-gray-800 border-gray-200";default:return"bg-gray-100 text-gray-800 border-gray-200"}},we=async A=>{const M=new Set(U);if(M.has(A))M.delete(A);else if(M.add(A),m.length===0)try{const K=await GU();g(K)}catch(K){console.error("Failed to fetch files:",K),ot.error("Failed to load file list")}V(M)},J=(A,M)=>M.files.includes(A),W=(A,M)=>!a||!Array.isArray(a)?[]:a.filter(K=>K.name!==M&&K.files.includes(A)).map(K=>K.name),Ee=async(A,M)=>{try{if(ie(`remove-${M}-${A}`,"loading"),console.log(`Removing ${A} from ${M}`),M==="master"){ie(`remove-${M}-${A}`,"error"),ot.error("Cannot modify master bundle files");return}const K=await fetch("http://localhost:3333/api/hidden-files",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"toggle",filePath:A,bundleName:M,forceHide:!0})});if(!K.ok){const L=await K.text();throw console.error("API Error:",L),new Error(`Failed to remove file: ${L}`)}const N=await K.json();console.log("Remove API Response:",N),l.removeQueries({queryKey:["bundles"]}),l.invalidateQueries({queryKey:["bundles"]}),setTimeout(async()=>{await X(),ie(`remove-${M}-${A}`,"success"),ot.success(`Removed ${A}`)},100)}catch(K){console.error("Failed to remove file:",K),ie(`remove-${M}-${A}`,"error"),ot.error(`Failed to remove file: ${K instanceof Error?K.message:"Unknown error"}`)}},ae=async(A,M)=>{try{if(ie(`add-${M}-${A}`,"loading"),console.log(`Adding ${A} to ${M}`),M==="master"){ie(`add-${M}-${A}`,"error"),ot.error("Cannot modify master bundle files");return}const K=await fetch("http://localhost:3333/api/hidden-files",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"toggle",filePath:A,bundleName:M,forceHide:!1})});if(!K.ok){const L=await K.text();throw console.error("API Error:",L),new Error(`Failed to add file: ${L}`)}const N=await K.json();console.log("Add API Response:",N),l.invalidateQueries({queryKey:["bundles"]}),await X(),ie(`add-${M}-${A}`,"success"),ot.success(`Added ${A}`)}catch(K){console.error("Failed to add file:",K),ie(`add-${M}-${A}`,"error"),ot.error(`Failed to add file: ${K instanceof Error?K.message:"Unknown error"}`)}},ie=(A,M)=>{Y(K=>{const N=new Set(K);return M==="loading"?N.add(A):N.delete(A),N}),k(K=>{const N=new Set(K);return M==="success"?(N.add(A),setTimeout(()=>k(L=>{const $=new Set(L);return $.delete(A),$}),2e3)):N.delete(A),N}),ge(K=>{const N=new Set(K);return M==="error"?(N.add(A),setTimeout(()=>ge(L=>{const $=new Set(L);return $.delete(A),$}),3e3)):N.delete(A),N})},Z=async A=>{const M=`copy-${A}`;ie(M,"loading");try{const K=await fetch(`http://localhost:3333/api/bundles/${A}`);if(!K.ok)throw new Error("Failed to fetch bundle content");const N=await K.text();await navigator.clipboard.writeText(N),ie(M,"success"),ot.success(`Bundle "${A}" copied to clipboard!`)}catch(K){ie(M,"error"),ot.error(`Failed to copy bundle: ${K instanceof Error?K.message:"Unknown error"}`)}},Ce=async A=>{const M=`download-${A}`;ie(M,"loading");try{const K=await fetch(`http://localhost:3333/api/bundles/${A}`);if(!K.ok)throw new Error("Failed to fetch bundle content");const N=await K.text(),L=new Blob([N],{type:"application/xml"}),$=URL.createObjectURL(L),ne=document.createElement("a");ne.href=$,ne.download=`${A}-bundle.xml`,ne.click(),URL.revokeObjectURL($),ie(M,"success"),ot.success(`Bundle "${A}" downloaded!`)}catch(K){ie(M,"error"),ot.error(`Failed to download bundle: ${K instanceof Error?K.message:"Unknown error"}`)}},Ae=async A=>{const M=`regen-${A}`;ie(M,"loading");try{if(!(await fetch(`http://localhost:3333/api/regenerate/${A}`,{method:"POST"})).ok)throw new Error("Failed to regenerate bundle");await X(),ie(M,"success"),ot.success(`Bundle "${A}" regenerated successfully!`)}catch(K){ie(M,"error"),ot.error(`Failed to regenerate bundle: ${K instanceof Error?K.message:"Unknown error"}`)}};if(d)return i.jsxDEV("div",{children:"Loading bundles..."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:365,columnNumber:25},this);if(!a)return i.jsxDEV("div",{children:"No bundles found"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:366,columnNumber:24},this);const B=async()=>{console.log("Manual refresh triggered"),l.removeQueries({queryKey:["bundles"]});const A=await X();console.log("Fresh bundles data:",A.data)};return i.jsxDEV("div",{className:"space-y-4",children:[i.jsxDEV("div",{className:"flex justify-between items-center",children:[i.jsxDEV("h2",{className:"text-lg font-semibold",children:"Bundles"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:378,columnNumber:9},this),i.jsxDEV(De,{onClick:B,variant:"outline",size:"sm",children:[i.jsxDEV($d,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:380,columnNumber:11},this),"Force Refresh"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:379,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:377,columnNumber:7},this),a&&Array.isArray(a)?a.map(A=>{const M=`copy-${A.name}`,K=`download-${A.name}`,N=`regen-${A.name}`,L=R.has(M),$=R.has(K),ne=R.has(N),Ne=Q.has(M),ze=Q.has(K),pe=Q.has(N),Ye=I.has(M),Te=I.has(K),Ie=I.has(N);return i.jsxDEV(nt,{className:A.changed?"border-yellow-500":"",children:[i.jsxDEV(St,{children:i.jsxDEV("div",{className:"flex justify-between items-center",children:[i.jsxDEV(wt,{className:"flex items-center gap-2",children:[A.name,i.jsxDEV(Nt,{variant:A.changed?"destructive":"secondary",children:A.changed?"CHANGED":"SYNCED"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:404,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:402,columnNumber:17},this),i.jsxDEV("div",{className:"flex gap-2",children:[i.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>we(A.name),disabled:A.name==="master",className:U.has(A.name)?"bg-blue-50 border-blue-200 text-blue-700":"",children:[U.has(A.name)?i.jsxDEV(G1,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:417,columnNumber:23},this):i.jsxDEV(ZT,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:419,columnNumber:23},this),A.name==="master"?"Read Only":U.has(A.name)?"Cancel":"Edit Files"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:409,columnNumber:19},this),i.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>Ae(A.name),disabled:ne,className:`transition-all duration-200 ${pe?"border-green-500 bg-green-50 text-green-700":Ie?"border-red-500 bg-red-50 text-red-700":ne?"opacity-75":""}`,children:[ne?i.jsxDEV(wc,{className:"w-4 h-4 animate-spin mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:434,columnNumber:23},this):pe?i.jsxDEV(Zs,{className:"w-4 h-4 mr-1 text-green-600"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:436,columnNumber:23},this):Ie?i.jsxDEV(Hd,{className:"w-4 h-4 mr-1 text-red-600"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:438,columnNumber:23},this):i.jsxDEV($d,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:440,columnNumber:23},this),"Regenerate"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:423,columnNumber:19},this),i.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>Z(A.name),disabled:L,className:`transition-all duration-200 ${Ne?"border-green-500 bg-green-50 text-green-700":Ye?"border-red-500 bg-red-50 text-red-700":L?"opacity-75":""}`,children:[L?i.jsxDEV(wc,{className:"w-4 h-4 animate-spin mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:455,columnNumber:23},this):Ne?i.jsxDEV(Zs,{className:"w-4 h-4 mr-1 text-green-600"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:457,columnNumber:23},this):Ye?i.jsxDEV(Hd,{className:"w-4 h-4 mr-1 text-red-600"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:459,columnNumber:23},this):i.jsxDEV(Uc,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:461,columnNumber:23},this),"Copy XML"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:444,columnNumber:19},this),i.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>Ce(A.name),disabled:$,className:`transition-all duration-200 ${ze?"border-green-500 bg-green-50 text-green-700":Te?"border-red-500 bg-red-50 text-red-700":$?"opacity-75":""}`,children:[$?i.jsxDEV(wc,{className:"w-4 h-4 animate-spin mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:476,columnNumber:23},this):ze?i.jsxDEV(Zs,{className:"w-4 h-4 mr-1 text-green-600"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:478,columnNumber:23},this):Te?i.jsxDEV(Hd,{className:"w-4 h-4 mr-1 text-red-600"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:480,columnNumber:23},this):i.jsxDEV(Gd,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:482,columnNumber:23},this),"Download"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:465,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:408,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:401,columnNumber:15},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:400,columnNumber:13},this),i.jsxDEV(lt,{children:[i.jsxDEV("div",{className:"text-sm text-muted-foreground mb-3",children:[A.fileCount," files • ",(A.size/1024).toFixed(1),"kb",A.lastGenerated&&` • Generated ${new Date(A.lastGenerated).toLocaleTimeString()}`]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:490,columnNumber:15},this),i.jsxDEV("div",{className:"space-y-2",children:[i.jsxDEV(De,{variant:"ghost",size:"sm",onClick:()=>le(A.name),className:"p-0 h-auto font-normal",children:[v.has(A.name)?i.jsxDEV(B1,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:505,columnNumber:21},this):i.jsxDEV(L1,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:507,columnNumber:21},this),"View Files (",A.files.length,")"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:498,columnNumber:17},this),v.has(A.name)&&i.jsxDEV("div",{className:"ml-5 space-y-3",children:E[A.name]?i.jsxDEV(i.Fragment,{children:[i.jsxDEV("div",{className:"text-sm text-muted-foreground italic",children:E[A.name].purpose},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:517,columnNumber:25},this),E[A.name].entryPoints.length>0&&i.jsxDEV("div",{className:"space-y-2",children:[i.jsxDEV("div",{className:"flex items-center gap-2",children:[i.jsxDEV(Nt,{variant:"outline",className:"bg-red-50 text-red-700 border-red-200",children:[i.jsxDEV(Rl,{className:"w-3 h-3 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:526,columnNumber:33},this),"Entry Points"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:525,columnNumber:31},this),i.jsxDEV("span",{className:"text-xs text-muted-foreground",children:["(",E[A.name].entryPoints.length,")"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:529,columnNumber:31},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:524,columnNumber:29},this),i.jsxDEV("div",{className:"pl-4 space-y-1",children:E[A.name].entryPoints.map(Ve=>i.jsxDEV("div",{className:"text-sm font-mono text-muted-foreground",children:Ve},Ve,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:535,columnNumber:33},this))},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:533,columnNumber:29},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:523,columnNumber:27},this),Object.entries(E[A.name].filesByType).map(([Ve,Tt])=>i.jsxDEV("div",{className:"space-y-2",children:[i.jsxDEV("div",{className:"flex items-center gap-2",children:[i.jsxDEV(Nt,{variant:"outline",className:me(Ve),children:[ce(Ve),i.jsxDEV("span",{className:"ml-1 capitalize",children:Ve},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:549,columnNumber:33},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:547,columnNumber:31},this),i.jsxDEV("span",{className:"text-xs text-muted-foreground",children:["(",Tt.length," files)"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:551,columnNumber:31},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:546,columnNumber:29},this),i.jsxDEV("div",{className:"pl-4 space-y-1 max-h-32 overflow-y-auto",children:U.has(A.name)?Tt.map(xt=>{const tn=W(xt,A.name),Es=`remove-${A.name}-${xt}`,Ds=R.has(Es);return i.jsxDEV("div",{className:"flex items-center gap-2 text-sm",children:[i.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>Ee(xt,A.name),disabled:Ds,className:"h-6 w-6 p-0 border-red-200 hover:bg-red-50 hover:border-red-300",children:Ds?i.jsxDEV(wc,{className:"w-3 h-3 animate-spin"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:572,columnNumber:43},this):i.jsxDEV(QT,{className:"w-3 h-3 text-red-600"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:574,columnNumber:43},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:564,columnNumber:39},this),i.jsxDEV("span",{className:"font-mono flex-1 text-foreground",children:xt},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:577,columnNumber:39},this),tn.length>0&&i.jsxDEV(Nt,{variant:"outline",className:"text-xs bg-yellow-50 text-yellow-700",children:["Also in: ",tn.join(", ")]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:581,columnNumber:41},this)]},xt,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:563,columnNumber:37},this)}):Tt.map(xt=>i.jsxDEV("div",{className:"text-sm font-mono text-muted-foreground",children:xt},xt,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:591,columnNumber:35},this))},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:555,columnNumber:29},this)]},Ve,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:545,columnNumber:27},this)),U.has(A.name)&&i.jsxDEV("div",{className:"space-y-2 mt-6 pt-4 border-t border-gray-200",children:[i.jsxDEV("div",{className:"flex items-center gap-2",children:[i.jsxDEV(Nt,{variant:"outline",className:"bg-gray-50 text-gray-700 border-gray-300",children:[i.jsxDEV(Cc,{className:"w-3 h-3 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:605,columnNumber:33},this),"Available Files"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:604,columnNumber:31},this),i.jsxDEV("span",{className:"text-xs text-muted-foreground",children:"(Click + to add to bundle)"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:608,columnNumber:31},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:603,columnNumber:29},this),i.jsxDEV("div",{className:"pl-4 space-y-1 max-h-40 overflow-y-auto",children:m.filter(Ve=>!J(Ve,A)).map(Ve=>{const Tt=W(Ve,A.name),xt=`add-${A.name}-${Ve}`,tn=R.has(xt);return i.jsxDEV("div",{className:"flex items-center gap-2 text-sm",children:[i.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>ae(Ve,A.name),disabled:tn,className:"h-6 w-6 p-0 border-green-200 hover:bg-green-50 hover:border-green-300",children:tn?i.jsxDEV(wc,{className:"w-3 h-3 animate-spin"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:629,columnNumber:43},this):i.jsxDEV(Cc,{className:"w-3 h-3 text-green-600"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:631,columnNumber:43},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:621,columnNumber:39},this),i.jsxDEV("span",{className:"font-mono flex-1 text-muted-foreground",children:Ve},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:634,columnNumber:39},this),Tt.length>0&&i.jsxDEV(Nt,{variant:"outline",className:"text-xs bg-yellow-50 text-yellow-700",children:["In: ",Tt.join(", ")]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:638,columnNumber:41},this)]},Ve,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:620,columnNumber:37},this)})},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:612,columnNumber:29},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:602,columnNumber:27},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:515,columnNumber:23},this):i.jsxDEV("div",{className:"space-y-1 max-h-40 overflow-y-auto",children:A.files.map(Ve=>i.jsxDEV("div",{className:"text-sm font-mono text-muted-foreground",children:Ve},Ve,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:654,columnNumber:27},this))},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:652,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:513,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:497,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:489,columnNumber:13},this)]},A.name,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:399,columnNumber:11},this)}):i.jsxDEV("div",{children:"No bundles available"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:666,columnNumber:12},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:376,columnNumber:5},this)}const QU=async()=>{const l=await fetch("http://localhost:3333/api/bundles");if(!l.ok)throw new Error("Failed to fetch bundles");return l.json()},KN=l=>{const a={name:"",path:"",type:"directory",children:[]},c=new Set,d=new Map;l.forEach(v=>{v.files.forEach(S=>{c.add(S),d.has(S)||d.set(S,[]),d.get(S).push(v.name)})}),c.forEach(v=>{const S=v.split("/");let E=a;S.forEach((y,U)=>{const V=U===S.length-1,m=S.slice(0,U+1).join("/");E.children||(E.children=[]);let g=E.children.find(R=>R.name===y);g||(g={name:y,path:m,type:V?"file":"directory",children:V?void 0:[],bundles:V?d.get(v):void 0},E.children.push(g)),V||(E=g)})});const p=v=>{v.children&&(v.children.sort((S,E)=>S.type!==E.type?S.type==="directory"?-1:1:S.name.localeCompare(E.name)),v.children.forEach(p))};return p(a),a},IU=l=>{if(l===0)return"0 B";const a=1024,c=["B","KB","MB","GB"],d=Math.floor(Math.log(l)/Math.log(a));return parseFloat((l/Math.pow(a,d)).toFixed(1))+" "+c[d]};function $1({node:l,level:a,expandedDirs:c,onToggleDir:d}){const p=c.has(l.path),v=a*16;if(l.type==="directory")return i.jsxDEV("div",{children:[i.jsxDEV("div",{className:"flex items-center gap-2 py-1 px-2 hover:bg-muted/50 rounded cursor-pointer",style:{paddingLeft:`${v+8}px`},onClick:()=>d(l.path),children:[p?i.jsxDEV(B1,{className:"w-4 h-4 text-muted-foreground"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:119,columnNumber:13},this):i.jsxDEV(L1,{className:"w-4 h-4 text-muted-foreground"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:121,columnNumber:13},this),p?i.jsxDEV(_d,{className:"w-4 h-4 text-blue-500"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:124,columnNumber:13},this):i.jsxDEV(q1,{className:"w-4 h-4 text-blue-500"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:126,columnNumber:13},this),i.jsxDEV("span",{className:"text-sm font-medium",children:l.name},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:128,columnNumber:11},this),l.children&&i.jsxDEV("span",{className:"text-xs text-muted-foreground ml-auto",children:[l.children.length," items"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:130,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:113,columnNumber:9},this),p&&l.children&&i.jsxDEV("div",{children:l.children.map(E=>i.jsxDEV($1,{node:E,level:a+1,expandedDirs:c,onToggleDir:d},E.path,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:139,columnNumber:15},this))},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:137,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:112,columnNumber:7},this);const S=E=>{var V;const y=(V=E.split(".").pop())==null?void 0:V.toLowerCase(),U="w-4 h-4";switch(y){case"js":case"ts":case"jsx":case"tsx":return i.jsxDEV(Tl,{className:`${U} text-yellow-500`},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:163,columnNumber:16},this);case"json":return i.jsxDEV(Tl,{className:`${U} text-green-500`},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:165,columnNumber:16},this);case"md":return i.jsxDEV(Tl,{className:`${U} text-blue-400`},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:167,columnNumber:16},this);case"css":case"scss":return i.jsxDEV(Tl,{className:`${U} text-pink-500`},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:170,columnNumber:16},this);case"html":return i.jsxDEV(Tl,{className:`${U} text-orange-500`},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:172,columnNumber:16},this);default:return i.jsxDEV(Tl,{className:`${U} text-muted-foreground`},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:174,columnNumber:16},this)}};return i.jsxDEV("div",{className:"flex items-center gap-2 py-1 px-2 hover:bg-muted/50 rounded",style:{paddingLeft:`${v+24}px`},children:[S(l.name),i.jsxDEV("span",{className:"text-sm font-mono",children:l.name},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:184,columnNumber:7},this),l.bundles&&l.bundles.length>0&&i.jsxDEV("div",{className:"flex gap-1 ml-2",children:l.bundles.map(E=>i.jsxDEV(Nt,{variant:"outline",className:"text-xs px-1 py-0",children:E},E,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:189,columnNumber:13},this))},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:187,columnNumber:9},this),l.size&&i.jsxDEV("span",{className:"text-xs text-muted-foreground ml-auto",children:IU(l.size)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:201,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:179,columnNumber:5},this)}function XU(){const[l,a]=G.useState(new Set([""])),{data:c,isLoading:d}=Rr({queryKey:["bundles"],queryFn:QU,refetchInterval:5e3}),p=U=>{const V=new Set(l);V.has(U)?V.delete(U):V.add(U),a(V)},v=()=>{if(!c)return;const U=KN(c),V=new Set,m=g=>{var R;g.type==="directory"&&(V.add(g.path),(R=g.children)==null||R.forEach(m))};m(U),a(V)},S=()=>{a(new Set([""]))};if(d)return i.jsxDEV("div",{children:"Loading file tree..."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:250,columnNumber:25},this);if(!c)return i.jsxDEV("div",{children:"No bundles found"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:251,columnNumber:24},this);const E=KN(c),y=c.reduce((U,V)=>U+V.files.length,0);return i.jsxDEV("div",{className:"space-y-4",children:[i.jsxDEV("div",{className:"flex items-center justify-between",children:[i.jsxDEV("div",{className:"flex gap-2",children:[i.jsxDEV(De,{variant:"outline",size:"sm",onClick:v,children:"Expand All"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:261,columnNumber:11},this),i.jsxDEV(De,{variant:"outline",size:"sm",onClick:S,children:"Collapse All"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:264,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:260,columnNumber:9},this),i.jsxDEV("div",{className:"text-sm text-muted-foreground",children:[y," files tracked"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:269,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:259,columnNumber:7},this),i.jsxDEV(nt,{className:"p-4",children:i.jsxDEV("div",{className:"space-y-1 max-h-96 overflow-y-auto",children:E.children&&E.children.length>0?E.children.map(U=>i.jsxDEV($1,{node:U,level:0,expandedDirs:l,onToggleDir:p},U.path,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:279,columnNumber:15},this)):i.jsxDEV("div",{className:"text-center text-muted-foreground py-8",children:"No files found"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:288,columnNumber:13},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:276,columnNumber:9},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:275,columnNumber:7},this),i.jsxDEV(nt,{className:"p-4",children:[i.jsxDEV("h3",{className:"text-sm font-medium mb-2",children:"Bundle Legend"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:297,columnNumber:9},this),i.jsxDEV("div",{className:"flex flex-wrap gap-2",children:c.map(U=>i.jsxDEV(Nt,{variant:"outline",children:[U.name," (",U.files.length,")"]},U.name,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:300,columnNumber:13},this))},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:298,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:296,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:257,columnNumber:5},this)}function Dc({className:l,type:a,...c}){return i.jsxDEV("input",{type:a,"data-slot":"input",className:Mn("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",l),...c},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/input.tsx",lineNumber:7,columnNumber:5},this)}const ZU=async()=>{const l=await fetch("http://localhost:3333/api/config");if(!l.ok)throw new Error("Failed to fetch config");return l.json()},KU=async l=>{if(!(await fetch("http://localhost:3333/api/config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)})).ok)throw new Error("Failed to save config")},JU=async l=>{const a=await fetch("http://localhost:3333/api/test-pattern",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({pattern:l})});if(!a.ok)throw new Error("Failed to test pattern");return a.json()};function WU(){const l=$l(),[a,c]=G.useState(null),[d,p]=G.useState(""),[v,S]=G.useState(!1),[E,y]=G.useState(""),[U,V]=G.useState([]),{data:m,isLoading:g}=Rr({queryKey:["config"],queryFn:ZU}),R=ma({mutationFn:KU,onSuccess:()=>{l.invalidateQueries({queryKey:["config"]}),l.invalidateQueries({queryKey:["bundles"]}),c(null),ot.success("Configuration saved!")},onError:X=>{ot.error(`Failed to save: ${X.message}`)}}),Y=()=>{m&&R.mutate(m)},Q=()=>{if(!m||!d.trim())return;const X={...m,bundles:{...m.bundles,[d]:["**/*"]}};R.mutate(X),p(""),S(!1)},k=X=>{if(!m)return;const{[X]:le,...ce}=m.bundles,me={...m,bundles:ce};R.mutate(me)},I=(X,le)=>{if(!m)return;const ce={...m,bundles:{...m.bundles,[X]:le}};R.mutate(ce)},ge=async()=>{if(E.trim())try{const X=await JU(E);V(X)}catch{ot.error("Failed to test pattern")}};return g?i.jsxDEV("div",{className:"p-4",children:"Loading..."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:124,columnNumber:12},this):i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{className:"flex items-center justify-between",children:["Bundle Configuration",i.jsxDEV(De,{onClick:Y,disabled:R.isPending,size:"sm",children:[i.jsxDEV(Zh,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:137,columnNumber:13},this),"Save All"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:132,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:130,columnNumber:9},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:129,columnNumber:7},this),i.jsxDEV(lt,{className:"space-y-6",children:[i.jsxDEV("div",{className:"space-y-4",children:m&&Object.entries(m.bundles).map(([X,le])=>i.jsxDEV("div",{className:"border rounded-lg p-4",children:[i.jsxDEV("div",{className:"flex items-center justify-between mb-3",children:[i.jsxDEV("h3",{className:"font-medium",children:X},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:148,columnNumber:17},this),i.jsxDEV("div",{className:"flex gap-2",children:[i.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>c(a===X?null:X),children:a===X?"Done":"Edit"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:150,columnNumber:19},this),i.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>k(X),children:i.jsxDEV(Kh,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:162,columnNumber:21},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:157,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:149,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:147,columnNumber:15},this),a===X?i.jsxDEV("div",{className:"space-y-2",children:[le.map((ce,me)=>i.jsxDEV("div",{className:"flex gap-2",children:[i.jsxDEV(Dc,{value:ce,onChange:we=>{const J=[...le];J[me]=we.target.value,I(X,J)},placeholder:"e.g., src/**/*.ts"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:171,columnNumber:23},this),le.length>1&&i.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>{const we=le.filter((J,W)=>W!==me);I(X,we)},children:i.jsxDEV(Kh,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:189,columnNumber:27},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:181,columnNumber:25},this)]},me,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:170,columnNumber:21},this)),i.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>I(X,[...le,"**/*"]),children:[i.jsxDEV(Cc,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:199,columnNumber:21},this),"Add Pattern"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:194,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:168,columnNumber:17},this):i.jsxDEV("div",{className:"flex flex-wrap gap-1",children:le.map((ce,me)=>i.jsxDEV(Nt,{variant:"secondary",children:ce},me,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:206,columnNumber:21},this))},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:204,columnNumber:17},this)]},X,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:146,columnNumber:13},this))},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:144,columnNumber:9},this),v?i.jsxDEV("div",{className:"border rounded-lg p-4 bg-muted/50",children:i.jsxDEV("div",{className:"space-y-3",children:[i.jsxDEV(Dc,{placeholder:"Bundle name",value:d,onChange:X=>p(X.target.value)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:220,columnNumber:15},this),i.jsxDEV("div",{className:"flex gap-2",children:[i.jsxDEV(De,{onClick:Q,disabled:!d.trim(),children:"Create Bundle"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:226,columnNumber:17},this),i.jsxDEV(De,{variant:"outline",onClick:()=>S(!1),children:"Cancel"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:229,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:225,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:219,columnNumber:13},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:218,columnNumber:11},this):i.jsxDEV(De,{variant:"outline",onClick:()=>S(!0),className:"w-full",children:[i.jsxDEV(Cc,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:241,columnNumber:13},this),"Add New Bundle"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:236,columnNumber:11},this),i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{children:"Test a Pattern"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:249,columnNumber:13},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:248,columnNumber:11},this),i.jsxDEV(lt,{className:"space-y-3",children:[i.jsxDEV("div",{className:"flex gap-2",children:[i.jsxDEV(Dc,{placeholder:"e.g., src/**/*.ts",value:E,onChange:X=>y(X.target.value)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:253,columnNumber:15},this),i.jsxDEV(De,{onClick:ge,children:[i.jsxDEV(Cl,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:259,columnNumber:17},this),"Test"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:258,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:252,columnNumber:13},this),U.length>0&&i.jsxDEV("div",{className:"mt-3",children:[i.jsxDEV("p",{className:"text-sm text-muted-foreground mb-2",children:["Found ",U.length," files:"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:266,columnNumber:17},this),i.jsxDEV("div",{className:"max-h-32 overflow-y-auto text-xs space-y-1 bg-muted/50 p-2 rounded",children:[U.slice(0,20).map((X,le)=>i.jsxDEV("div",{children:X},le,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:271,columnNumber:21},this)),U.length>20&&i.jsxDEV("div",{className:"text-muted-foreground",children:["... and ",U.length-20," more files"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:274,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:269,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:265,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:251,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:247,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:142,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SimpleBundleConfig.tsx",lineNumber:128,columnNumber:5},this)}function JN({className:l,...a}){return i.jsxDEV("textarea",{"data-slot":"textarea",className:Mn("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",l),...a},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/textarea.tsx",lineNumber:7,columnNumber:5},this)}const e3=rb("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"}},defaultVariants:{variant:"default"}});function Ur({className:l,variant:a,...c}){return i.jsxDEV("div",{"data-slot":"alert",role:"alert",className:Mn(e3({variant:a}),l),...c},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/alert.tsx",lineNumber:28,columnNumber:5},this)}function Cr({className:l,...a}){return i.jsxDEV("div",{"data-slot":"alert-description",className:Mn("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",l),...a},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/alert.tsx",lineNumber:55,columnNumber:5},this)}function Ar(l,a,{checkForDefaultPrevented:c=!0}={}){return function(p){if(l==null||l(p),c===!1||!p.defaultPrevented)return a==null?void 0:a(p)}}function ob(l,a=[]){let c=[];function d(v,S){const E=G.createContext(S),y=c.length;c=[...c,S];const U=m=>{var I;const{scope:g,children:R,...Y}=m,Q=((I=g==null?void 0:g[l])==null?void 0:I[y])||E,k=G.useMemo(()=>Y,Object.values(Y));return Dt.jsx(Q.Provider,{value:k,children:R})};U.displayName=v+"Provider";function V(m,g){var Q;const R=((Q=g==null?void 0:g[l])==null?void 0:Q[y])||E,Y=G.useContext(R);if(Y)return Y;if(S!==void 0)return S;throw new Error(`\`${m}\` must be used within \`${v}\``)}return[U,V]}const p=()=>{const v=c.map(S=>G.createContext(S));return function(E){const y=(E==null?void 0:E[l])||v;return G.useMemo(()=>({[`__scope${l}`]:{...E,[l]:y}}),[E,y])}};return p.scopeName=l,[d,t3(p,...a)]}function t3(...l){const a=l[0];if(l.length===1)return a;const c=()=>{const d=l.map(p=>({useScope:p(),scopeName:p.scopeName}));return function(v){const S=d.reduce((E,{useScope:y,scopeName:U})=>{const m=y(v)[`__scope${U}`];return{...E,...m}},{});return G.useMemo(()=>({[`__scope${a.scopeName}`]:S}),[S])}};return c.scopeName=a.scopeName,c}function n3(l){const a=l+"CollectionProvider",[c,d]=ob(a),[p,v]=c(a,{collectionRef:{current:null},itemMap:new Map}),S=Q=>{const{scope:k,children:I}=Q,ge=se.useRef(null),X=se.useRef(new Map).current;return Dt.jsx(p,{scope:k,itemMap:X,collectionRef:ge,children:I})};S.displayName=a;const E=l+"CollectionSlot",y=Yd(E),U=se.forwardRef((Q,k)=>{const{scope:I,children:ge}=Q,X=v(E,I),le=Fd(k,X.collectionRef);return Dt.jsx(y,{ref:le,children:ge})});U.displayName=E;const V=l+"CollectionItemSlot",m="data-radix-collection-item",g=Yd(V),R=se.forwardRef((Q,k)=>{const{scope:I,children:ge,...X}=Q,le=se.useRef(null),ce=Fd(k,le),me=v(V,I);return se.useEffect(()=>(me.itemMap.set(le,{ref:le,...X}),()=>void me.itemMap.delete(le))),Dt.jsx(g,{[m]:"",ref:ce,children:ge})});R.displayName=V;function Y(Q){const k=v(l+"CollectionConsumer",Q);return se.useCallback(()=>{const ge=k.collectionRef.current;if(!ge)return[];const X=Array.from(ge.querySelectorAll(`[${m}]`));return Array.from(k.itemMap.values()).sort((me,we)=>X.indexOf(me.ref.current)-X.indexOf(we.ref.current))},[k.collectionRef,k.itemMap])}return[{Provider:S,Slot:U,ItemSlot:R},Y,d]}var Id=globalThis!=null&&globalThis.document?G.useLayoutEffect:()=>{},s3=d1[" useId ".trim().toString()]||(()=>{}),r3=0;function Q1(l){const[a,c]=G.useState(s3());return Id(()=>{c(d=>d??String(r3++))},[l]),l||(a?`radix-${a}`:"")}var o3=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Xl=o3.reduce((l,a)=>{const c=Yd(`Primitive.${a}`),d=G.forwardRef((p,v)=>{const{asChild:S,...E}=p,y=S?c:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),Dt.jsx(y,{...E,ref:v})});return d.displayName=`Primitive.${a}`,{...l,[a]:d}},{});function a3(l){const a=G.useRef(l);return G.useEffect(()=>{a.current=l}),G.useMemo(()=>(...c)=>{var d;return(d=a.current)==null?void 0:d.call(a,...c)},[])}var l3=d1[" useInsertionEffect ".trim().toString()]||Id;function I1({prop:l,defaultProp:a,onChange:c=()=>{},caller:d}){const[p,v,S]=i3({defaultProp:a,onChange:c}),E=l!==void 0,y=E?l:p;{const V=G.useRef(l!==void 0);G.useEffect(()=>{const m=V.current;m!==E&&console.warn(`${d} is changing from ${m?"controlled":"uncontrolled"} to ${E?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),V.current=E},[E,d])}const U=G.useCallback(V=>{var m;if(E){const g=c3(V)?V(l):V;g!==l&&((m=S.current)==null||m.call(S,g))}else v(V)},[E,l,v,S]);return[y,U]}function i3({defaultProp:l,onChange:a}){const[c,d]=G.useState(l),p=G.useRef(c),v=G.useRef(a);return l3(()=>{v.current=a},[a]),G.useEffect(()=>{var S;p.current!==c&&((S=v.current)==null||S.call(v,c),p.current=c)},[c,p]),[c,d,v]}function c3(l){return typeof l=="function"}var u3=G.createContext(void 0);function X1(l){const a=G.useContext(u3);return l||a||"ltr"}var Rh="rovingFocusGroup.onEntryFocus",d3={bubbles:!1,cancelable:!0},Pc="RovingFocusGroup",[Wh,Z1,f3]=n3(Pc),[m3,K1]=ob(Pc,[f3]),[p3,h3]=m3(Pc),J1=G.forwardRef((l,a)=>Dt.jsx(Wh.Provider,{scope:l.__scopeRovingFocusGroup,children:Dt.jsx(Wh.Slot,{scope:l.__scopeRovingFocusGroup,children:Dt.jsx(b3,{...l,ref:a})})}));J1.displayName=Pc;var b3=G.forwardRef((l,a)=>{const{__scopeRovingFocusGroup:c,orientation:d,loop:p=!1,dir:v,currentTabStopId:S,defaultCurrentTabStopId:E,onCurrentTabStopIdChange:y,onEntryFocus:U,preventScrollOnEntryFocus:V=!1,...m}=l,g=G.useRef(null),R=Fd(a,g),Y=X1(v),[Q,k]=I1({prop:S,defaultProp:E??null,onChange:y,caller:Pc}),[I,ge]=G.useState(!1),X=a3(U),le=Z1(c),ce=G.useRef(!1),[me,we]=G.useState(0);return G.useEffect(()=>{const J=g.current;if(J)return J.addEventListener(Rh,X),()=>J.removeEventListener(Rh,X)},[X]),Dt.jsx(p3,{scope:c,orientation:d,dir:Y,loop:p,currentTabStopId:Q,onItemFocus:G.useCallback(J=>k(J),[k]),onItemShiftTab:G.useCallback(()=>ge(!0),[]),onFocusableItemAdd:G.useCallback(()=>we(J=>J+1),[]),onFocusableItemRemove:G.useCallback(()=>we(J=>J-1),[]),children:Dt.jsx(Xl.div,{tabIndex:I||me===0?-1:0,"data-orientation":d,...m,ref:R,style:{outline:"none",...l.style},onMouseDown:Ar(l.onMouseDown,()=>{ce.current=!0}),onFocus:Ar(l.onFocus,J=>{const W=!ce.current;if(J.target===J.currentTarget&&W&&!I){const Ee=new CustomEvent(Rh,d3);if(J.currentTarget.dispatchEvent(Ee),!Ee.defaultPrevented){const ae=le().filter(B=>B.focusable),ie=ae.find(B=>B.active),Z=ae.find(B=>B.id===Q),Ae=[ie,Z,...ae].filter(Boolean).map(B=>B.ref.current);tS(Ae,V)}}ce.current=!1}),onBlur:Ar(l.onBlur,()=>ge(!1))})})}),W1="RovingFocusGroupItem",eS=G.forwardRef((l,a)=>{const{__scopeRovingFocusGroup:c,focusable:d=!0,active:p=!1,tabStopId:v,children:S,...E}=l,y=Q1(),U=v||y,V=h3(W1,c),m=V.currentTabStopId===U,g=Z1(c),{onFocusableItemAdd:R,onFocusableItemRemove:Y,currentTabStopId:Q}=V;return G.useEffect(()=>{if(d)return R(),()=>Y()},[d,R,Y]),Dt.jsx(Wh.ItemSlot,{scope:c,id:U,focusable:d,active:p,children:Dt.jsx(Xl.span,{tabIndex:m?0:-1,"data-orientation":V.orientation,...E,ref:a,onMouseDown:Ar(l.onMouseDown,k=>{d?V.onItemFocus(U):k.preventDefault()}),onFocus:Ar(l.onFocus,()=>V.onItemFocus(U)),onKeyDown:Ar(l.onKeyDown,k=>{if(k.key==="Tab"&&k.shiftKey){V.onItemShiftTab();return}if(k.target!==k.currentTarget)return;const I=g3(k,V.orientation,V.dir);if(I!==void 0){if(k.metaKey||k.ctrlKey||k.altKey||k.shiftKey)return;k.preventDefault();let X=g().filter(le=>le.focusable).map(le=>le.ref.current);if(I==="last")X.reverse();else if(I==="prev"||I==="next"){I==="prev"&&X.reverse();const le=X.indexOf(k.currentTarget);X=V.loop?y3(X,le+1):X.slice(le+1)}setTimeout(()=>tS(X))}}),children:typeof S=="function"?S({isCurrentTabStop:m,hasTabStop:Q!=null}):S})})});eS.displayName=W1;var v3={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function x3(l,a){return a!=="rtl"?l:l==="ArrowLeft"?"ArrowRight":l==="ArrowRight"?"ArrowLeft":l}function g3(l,a,c){const d=x3(l.key,c);if(!(a==="vertical"&&["ArrowLeft","ArrowRight"].includes(d))&&!(a==="horizontal"&&["ArrowUp","ArrowDown"].includes(d)))return v3[d]}function tS(l,a=!1){const c=document.activeElement;for(const d of l)if(d===c||(d.focus({preventScroll:a}),document.activeElement!==c))return}function y3(l,a){return l.map((c,d)=>l[(a+d)%l.length])}var N3=J1,S3=eS;function w3(l,a){return G.useReducer((c,d)=>a[c][d]??c,l)}var nS=l=>{const{present:a,children:c}=l,d=j3(a),p=typeof c=="function"?c({present:d.isPresent}):G.Children.only(c),v=Fd(d.ref,E3(p));return typeof c=="function"||d.isPresent?G.cloneElement(p,{ref:v}):null};nS.displayName="Presence";function j3(l){const[a,c]=G.useState(),d=G.useRef(null),p=G.useRef(l),v=G.useRef("none"),S=l?"mounted":"unmounted",[E,y]=w3(S,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return G.useEffect(()=>{const U=kd(d.current);v.current=E==="mounted"?U:"none"},[E]),Id(()=>{const U=d.current,V=p.current;if(V!==l){const g=v.current,R=kd(U);l?y("MOUNT"):R==="none"||(U==null?void 0:U.display)==="none"?y("UNMOUNT"):y(V&&g!==R?"ANIMATION_OUT":"UNMOUNT"),p.current=l}},[l,y]),Id(()=>{if(a){let U;const V=a.ownerDocument.defaultView??window,m=R=>{const Q=kd(d.current).includes(R.animationName);if(R.target===a&&Q&&(y("ANIMATION_END"),!p.current)){const k=a.style.animationFillMode;a.style.animationFillMode="forwards",U=V.setTimeout(()=>{a.style.animationFillMode==="forwards"&&(a.style.animationFillMode=k)})}},g=R=>{R.target===a&&(v.current=kd(d.current))};return a.addEventListener("animationstart",g),a.addEventListener("animationcancel",m),a.addEventListener("animationend",m),()=>{V.clearTimeout(U),a.removeEventListener("animationstart",g),a.removeEventListener("animationcancel",m),a.removeEventListener("animationend",m)}}else y("ANIMATION_END")},[a,y]),{isPresent:["mounted","unmountSuspended"].includes(E),ref:G.useCallback(U=>{d.current=U?getComputedStyle(U):null,c(U)},[])}}function kd(l){return(l==null?void 0:l.animationName)||"none"}function E3(l){var d,p;let a=(d=Object.getOwnPropertyDescriptor(l.props,"ref"))==null?void 0:d.get,c=a&&"isReactWarning"in a&&a.isReactWarning;return c?l.ref:(a=(p=Object.getOwnPropertyDescriptor(l,"ref"))==null?void 0:p.get,c=a&&"isReactWarning"in a&&a.isReactWarning,c?l.props.ref:l.props.ref||l.ref)}var Xd="Tabs",[D3,eC]=ob(Xd,[K1]),sS=K1(),[T3,ab]=D3(Xd),rS=G.forwardRef((l,a)=>{const{__scopeTabs:c,value:d,onValueChange:p,defaultValue:v,orientation:S="horizontal",dir:E,activationMode:y="automatic",...U}=l,V=X1(E),[m,g]=I1({prop:d,onChange:p,defaultProp:v??"",caller:Xd});return Dt.jsx(T3,{scope:c,baseId:Q1(),value:m,onValueChange:g,orientation:S,dir:V,activationMode:y,children:Dt.jsx(Xl.div,{dir:V,"data-orientation":S,...U,ref:a})})});rS.displayName=Xd;var oS="TabsList",aS=G.forwardRef((l,a)=>{const{__scopeTabs:c,loop:d=!0,...p}=l,v=ab(oS,c),S=sS(c);return Dt.jsx(N3,{asChild:!0,...S,orientation:v.orientation,dir:v.dir,loop:d,children:Dt.jsx(Xl.div,{role:"tablist","aria-orientation":v.orientation,...p,ref:a})})});aS.displayName=oS;var lS="TabsTrigger",iS=G.forwardRef((l,a)=>{const{__scopeTabs:c,value:d,disabled:p=!1,...v}=l,S=ab(lS,c),E=sS(c),y=dS(S.baseId,d),U=fS(S.baseId,d),V=d===S.value;return Dt.jsx(S3,{asChild:!0,...E,focusable:!p,active:V,children:Dt.jsx(Xl.button,{type:"button",role:"tab","aria-selected":V,"aria-controls":U,"data-state":V?"active":"inactive","data-disabled":p?"":void 0,disabled:p,id:y,...v,ref:a,onMouseDown:Ar(l.onMouseDown,m=>{!p&&m.button===0&&m.ctrlKey===!1?S.onValueChange(d):m.preventDefault()}),onKeyDown:Ar(l.onKeyDown,m=>{[" ","Enter"].includes(m.key)&&S.onValueChange(d)}),onFocus:Ar(l.onFocus,()=>{const m=S.activationMode!=="manual";!V&&!p&&m&&S.onValueChange(d)})})})});iS.displayName=lS;var cS="TabsContent",uS=G.forwardRef((l,a)=>{const{__scopeTabs:c,value:d,forceMount:p,children:v,...S}=l,E=ab(cS,c),y=dS(E.baseId,d),U=fS(E.baseId,d),V=d===E.value,m=G.useRef(V);return G.useEffect(()=>{const g=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(g)},[]),Dt.jsx(nS,{present:p||V,children:({present:g})=>Dt.jsx(Xl.div,{"data-state":V?"active":"inactive","data-orientation":E.orientation,role:"tabpanel","aria-labelledby":y,hidden:!g,id:U,tabIndex:0,...S,ref:a,style:{...l.style,animationDuration:m.current?"0s":void 0},children:g&&v})})});uS.displayName=cS;function dS(l,a){return`${l}-trigger-${a}`}function fS(l,a){return`${l}-content-${a}`}var U3=rS,C3=aS,R3=iS,A3=uS;function lb({className:l,...a}){return i.jsxDEV(U3,{"data-slot":"tabs",className:Mn("flex flex-col gap-2",l),...a},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/tabs.tsx",lineNumber:11,columnNumber:5},this)}function ib({className:l,...a}){return i.jsxDEV(C3,{"data-slot":"tabs-list",className:Mn("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",l),...a},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/tabs.tsx",lineNumber:24,columnNumber:5},this)}function Do({className:l,...a}){return i.jsxDEV(R3,{"data-slot":"tabs-trigger",className:Mn("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",l),...a},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/tabs.tsx",lineNumber:40,columnNumber:5},this)}function To({className:l,...a}){return i.jsxDEV(A3,{"data-slot":"tabs-content",className:Mn("flex-1 outline-none",l),...a},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/tabs.tsx",lineNumber:56,columnNumber:5},this)}const V3=async()=>{const l=await fetch("http://localhost:3333/api/cursor-rules");if(!l.ok)throw new Error("Failed to fetch cursor rules");return l.text()},M3=async l=>{if(!(await fetch("http://localhost:3333/api/cursor-rules",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({content:l})})).ok)throw new Error("Failed to save cursor rules")},O3=async()=>{const l=await fetch("http://localhost:3333/api/claude-md");if(!l.ok)throw new Error("Failed to fetch CLAUDE.md");return l.text()},P3=async l=>{if(!(await fetch("http://localhost:3333/api/claude-md",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({content:l})})).ok)throw new Error("Failed to save CLAUDE.md")};function k3(){const l=$l(),[a,c]=G.useState(""),[d,p]=G.useState(""),[v,S]=G.useState("cursor"),{data:E,isLoading:y}=Rr({queryKey:["cursor-rules"],queryFn:V3}),U=ma({mutationFn:M3,onSuccess:()=>{l.invalidateQueries({queryKey:["cursor-rules"]}),ot.success(".cursorrules saved successfully!")},onError:I=>{ot.error(`Failed to save .cursorrules: ${I.message}`)}}),{data:V,isLoading:m}=Rr({queryKey:["claude-md"],queryFn:O3}),g=ma({mutationFn:P3,onSuccess:()=>{l.invalidateQueries({queryKey:["claude-md"]}),ot.success("CLAUDE.md saved successfully!")},onError:I=>{ot.error(`Failed to save CLAUDE.md: ${I.message}`)}});G.useEffect(()=>{E&&!a&&c(E)},[E]),G.useEffect(()=>{V&&!d&&p(V)},[V]);const R=()=>{U.mutate(a)},Y=()=>{g.mutate(d)},Q=(I,ge)=>{navigator.clipboard.writeText(I),ot.success(`${ge} copied to clipboard!`)},k=(I,ge)=>{const X=new Blob([I],{type:"text/plain"}),le=URL.createObjectURL(X),ce=document.createElement("a");ce.href=le,ce.download=ge,document.body.appendChild(ce),ce.click(),document.body.removeChild(ce),URL.revokeObjectURL(le),ot.success(`${ge} downloaded!`)};return i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{className:"flex items-center gap-2",children:[i.jsxDEV(Sa,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:126,columnNumber:11},this),"AI Rules & Context"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:125,columnNumber:9},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:124,columnNumber:7},this),i.jsxDEV(lt,{children:[i.jsxDEV(Ur,{className:"mb-4",children:[i.jsxDEV(Ih,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:132,columnNumber:11},this),i.jsxDEV(Cr,{children:["Configure AI context files for better assistance. ",i.jsxDEV("strong",{children:".cursorrules"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:134,columnNumber:63},this)," works with Cursor, while ",i.jsxDEV("strong",{children:"CLAUDE.md"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:135,columnNumber:19},this)," provides project context for Claude."]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:133,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:131,columnNumber:9},this),i.jsxDEV(lb,{value:v,onValueChange:I=>S(I),className:"space-y-4",children:[i.jsxDEV(ib,{className:"grid w-full grid-cols-2",children:[i.jsxDEV(Do,{value:"cursor",className:"flex items-center gap-2",children:[i.jsxDEV(Rl,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:142,columnNumber:15},this),".cursorrules"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:141,columnNumber:13},this),i.jsxDEV(Do,{value:"claude",className:"flex items-center gap-2",children:[i.jsxDEV(Sa,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:146,columnNumber:15},this),"CLAUDE.md"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:145,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:140,columnNumber:11},this),i.jsxDEV(To,{value:"cursor",className:"space-y-4",children:[i.jsxDEV("div",{className:"flex justify-between items-center",children:[i.jsxDEV("div",{children:[i.jsxDEV("h3",{className:"font-medium",children:"Cursor AI Assistant Rules"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:154,columnNumber:17},this),i.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Configure how Cursor's AI understands your project"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:155,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:153,columnNumber:15},this),i.jsxDEV("div",{className:"flex gap-2",children:[i.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>Q(a,".cursorrules"),children:[i.jsxDEV(Uc,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:165,columnNumber:19},this),"Copy"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:160,columnNumber:17},this),i.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>k(a,".cursorrules"),children:[i.jsxDEV(Gd,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:173,columnNumber:19},this),"Download"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:168,columnNumber:17},this),i.jsxDEV(De,{onClick:R,disabled:U.isPending,size:"sm",children:[i.jsxDEV(Zh,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:181,columnNumber:19},this),"Save"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:176,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:159,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:152,columnNumber:13},this),y?i.jsxDEV("div",{className:"flex items-center justify-center p-8",children:[i.jsxDEV($d,{className:"w-6 h-6 animate-spin mr-2"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:189,columnNumber:17},this),"Loading..."]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:188,columnNumber:15},this):i.jsxDEV(JN,{value:a,onChange:I=>c(I.target.value),placeholder:"Enter your Cursor AI rules here...",className:"min-h-[300px] font-mono text-sm"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:193,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:151,columnNumber:11},this),i.jsxDEV(To,{value:"claude",className:"space-y-4",children:[i.jsxDEV("div",{className:"flex justify-between items-center",children:[i.jsxDEV("div",{children:[i.jsxDEV("h3",{className:"font-medium",children:"Claude Project Context"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:205,columnNumber:17},this),i.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Markdown file explaining your project structure and guidelines"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:206,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:204,columnNumber:15},this),i.jsxDEV("div",{className:"flex gap-2",children:[i.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>Q(d,"CLAUDE.md"),children:[i.jsxDEV(Uc,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:216,columnNumber:19},this),"Copy"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:211,columnNumber:17},this),i.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>k(d,"CLAUDE.md"),children:[i.jsxDEV(Gd,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:224,columnNumber:19},this),"Download"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:219,columnNumber:17},this),i.jsxDEV(De,{onClick:Y,disabled:g.isPending,size:"sm",children:[i.jsxDEV(Zh,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:232,columnNumber:19},this),"Save"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:227,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:210,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:203,columnNumber:13},this),m?i.jsxDEV("div",{className:"flex items-center justify-center p-8",children:[i.jsxDEV($d,{className:"w-6 h-6 animate-spin mr-2"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:240,columnNumber:17},this),"Loading..."]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:239,columnNumber:15},this):i.jsxDEV(JN,{value:d,onChange:I=>p(I.target.value),placeholder:"Enter your Claude project context here...",className:"min-h-[300px] font-mono text-sm"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:244,columnNumber:15},this),i.jsxDEV(Ur,{children:[i.jsxDEV(Ih,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:253,columnNumber:15},this),i.jsxDEV(Cr,{children:"This file helps Claude understand your project. Include project structure, coding conventions, key concepts, and any important context."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:254,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:252,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:202,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:139,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:130,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/AIRulesManager.tsx",lineNumber:123,columnNumber:5},this)}const z3=async(l=null)=>{const a=l?`http://localhost:3333/api/files-with-visibility?bundle=${l}`:"http://localhost:3333/api/files-with-visibility",c=await fetch(a);if(!c.ok)throw new Error("Failed to fetch files");return c.json()},H3=async()=>{const l=await fetch("http://localhost:3333/api/ignore-patterns");if(!l.ok)throw new Error("Failed to fetch ignore patterns");return l.json()},_3=async()=>{const l=await fetch("http://localhost:3333/api/bundle-visibility-stats");if(!l.ok)throw new Error("Failed to fetch bundle stats");return l.json()},B3=async({filePath:l,bundleName:a=null,forceHide:c=null})=>{const d=await fetch("http://localhost:3333/api/hidden-files",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"toggle",filePath:l,bundleName:a,forceHide:c})});if(!d.ok)throw new Error("Failed to toggle file visibility");return d.json()},L3=async({filePaths:l,bundleName:a=null,forceHide:c})=>{const d=await fetch("http://localhost:3333/api/hidden-files",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"bulk-toggle",filePaths:l,bundleName:a,forceHide:c})});if(!d.ok)throw new Error("Failed to bulk toggle visibility");return d.json()},q3=async({action:l,pattern:a})=>{const c=await fetch("http://localhost:3333/api/ignore-patterns",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:l,pattern:a})});if(!c.ok)throw new Error("Failed to manage ignore pattern");return c.json()},F3=async({scope:l,bundleName:a=null})=>{const c=await fetch("http://localhost:3333/api/reset-hidden-files",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({scope:l,bundleName:a})});if(!c.ok)throw new Error("Failed to reset hidden files");return c.json()};function Y3(){const l=$l(),[a,c]=G.useState(null),[d,p]=G.useState(""),[v,S]=G.useState(!1),[E,y]=G.useState("all"),[U,V]=G.useState(""),[m,g]=G.useState([]),{data:R=[],isLoading:Y}=Rr({queryKey:["files-with-visibility",a],queryFn:()=>z3(a),refetchInterval:5e3}),{data:Q={system:[],user:[],file:[]},isLoading:k}=Rr({queryKey:["ignore-patterns"],queryFn:H3,refetchInterval:1e4}),{data:I={},isLoading:ge}=Rr({queryKey:["bundle-visibility-stats"],queryFn:_3,refetchInterval:5e3}),X=ma({mutationFn:B3,onSuccess:()=>{l.invalidateQueries({queryKey:["files-with-visibility"]}),l.invalidateQueries({queryKey:["bundle-visibility-stats"]}),l.invalidateQueries({queryKey:["bundles"]}),ot.success("File visibility updated")},onError:Z=>ot.error(`Failed to update file visibility: ${Z.message}`)}),le=ma({mutationFn:L3,onSuccess:()=>{l.invalidateQueries({queryKey:["files-with-visibility"]}),l.invalidateQueries({queryKey:["bundle-visibility-stats"]}),l.invalidateQueries({queryKey:["bundles"]}),g([]),ot.success("Bulk visibility update completed")},onError:Z=>ot.error(`Failed to bulk update visibility: ${Z.message}`)}),ce=ma({mutationFn:q3,onSuccess:()=>{l.invalidateQueries({queryKey:["ignore-patterns"]}),l.invalidateQueries({queryKey:["files-with-visibility"]}),l.invalidateQueries({queryKey:["bundles"]}),ot.success("Ignore pattern updated")},onError:Z=>ot.error(`Failed to update ignore pattern: ${Z.message}`)}),me=ma({mutationFn:F3,onSuccess:()=>{l.invalidateQueries({queryKey:["files-with-visibility"]}),l.invalidateQueries({queryKey:["bundle-visibility-stats"]}),l.invalidateQueries({queryKey:["bundles"]}),ot.success("Hidden files reset successfully")},onError:Z=>ot.error(`Failed to reset hidden files: ${Z.message}`)}),we=R.filter(Z=>{const Ce=Z.path.toLowerCase().includes(d.toLowerCase()),Ae=E==="all"||E==="hidden"&&!Z.visible||E==="visible"&&Z.visible,B=v||Z.visible;return Ce&&Ae&&B}),J=Z=>{X.mutate({filePath:Z,bundleName:a})},W=Z=>{le.mutate({filePaths:m,bundleName:a,forceHide:Z})},Ee=()=>{U.trim()&&(ce.mutate({action:"add",pattern:U.trim()}),V(""))},ae=(Z,Ce=!1)=>{const Ae=Ce?"toggle-system":"remove";ce.mutate({action:Ae,pattern:Z})},ie=[...(Q.system||[]).map(Z=>({...Z,source:"system"})),...(Q.user||[]).map(Z=>({...Z,source:"user"})),...(Q.file||[]).map(Z=>({...Z,source:"file"}))];return i.jsxDEV("div",{className:"space-y-6",children:[i.jsxDEV("div",{className:"flex justify-between items-center",children:[i.jsxDEV("div",{children:[i.jsxDEV("h2",{className:"text-lg font-semibold",children:"File Visibility & Ignore Management"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:259,columnNumber:11},this),i.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Control which files appear in bundles and manage ignore patterns"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:260,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:258,columnNumber:9},this),i.jsxDEV("div",{className:"flex items-center gap-2",children:[i.jsxDEV(Nt,{variant:"outline",className:"flex items-center gap-1",children:[i.jsxDEV(Cl,{className:"w-3 h-3"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:266,columnNumber:13},this),we.filter(Z=>Z.visible).length," visible"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:265,columnNumber:11},this),i.jsxDEV(Nt,{variant:"outline",className:"flex items-center gap-1",children:[i.jsxDEV(Ul,{className:"w-3 h-3"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:270,columnNumber:13},this),we.filter(Z=>!Z.visible).length," hidden"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:269,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:264,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:257,columnNumber:7},this),i.jsxDEV(lb,{defaultValue:"files",className:"space-y-6",children:[i.jsxDEV(ib,{children:[i.jsxDEV(Do,{value:"files",children:"File Visibility"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:278,columnNumber:11},this),i.jsxDEV(Do,{value:"patterns",children:"Ignore Patterns"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:279,columnNumber:11},this),i.jsxDEV(Do,{value:"bundles",children:"Bundle Overview"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:280,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:277,columnNumber:9},this),i.jsxDEV(To,{value:"files",className:"space-y-4",children:[i.jsxDEV(nt,{children:i.jsxDEV(lt,{className:"pt-6",children:[i.jsxDEV("div",{className:"flex items-center gap-4 mb-4",children:[i.jsxDEV("div",{className:"flex items-center gap-2",children:[i.jsxDEV("label",{className:"text-sm font-medium",children:"Bundle:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:290,columnNumber:19},this),i.jsxDEV("select",{value:a||"",onChange:Z=>c(Z.target.value||null),className:"px-3 py-2 border rounded-md text-sm",children:[i.jsxDEV("option",{value:"",children:"All Bundles (Global)"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:296,columnNumber:21},this),Object.keys(I).map(Z=>i.jsxDEV("option",{value:Z,children:Z},Z,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:298,columnNumber:23},this))]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:291,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:289,columnNumber:17},this),a&&i.jsxDEV(Nt,{variant:"secondary",children:["Bundle-specific visibility for ",a]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:304,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:288,columnNumber:15},this),i.jsxDEV("div",{className:"flex items-center gap-4",children:[i.jsxDEV("div",{className:"flex-1",children:i.jsxDEV("div",{className:"relative",children:[i.jsxDEV(rU,{className:"absolute left-2 top-2.5 h-4 w-4 text-muted-foreground"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:313,columnNumber:21},this),i.jsxDEV(Dc,{placeholder:"Search files...",value:d,onChange:Z=>p(Z.target.value),className:"pl-8"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:314,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:312,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:311,columnNumber:17},this),i.jsxDEV("div",{className:"flex items-center gap-2",children:[i.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>S(!v),className:v?"bg-blue-50 border-blue-200":"",children:[v?i.jsxDEV(Cl,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:330,columnNumber:35},this):i.jsxDEV(Ul,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:330,columnNumber:65},this),v?"Hide Hidden":"Show Hidden"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:324,columnNumber:19},this),i.jsxDEV("select",{value:E,onChange:Z=>y(Z.target.value),className:"px-3 py-2 border rounded-md text-sm",children:[i.jsxDEV("option",{value:"all",children:"All Files"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:339,columnNumber:21},this),i.jsxDEV("option",{value:"visible",children:"Visible Only"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:340,columnNumber:21},this),i.jsxDEV("option",{value:"hidden",children:"Hidden Only"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:341,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:334,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:323,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:310,columnNumber:15},this),m.length>0&&i.jsxDEV("div",{className:"flex items-center gap-2 p-3 bg-blue-50 rounded-md border border-blue-200 mt-4",children:[i.jsxDEV(Ih,{className:"w-4 h-4 text-blue-600"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:349,columnNumber:19},this),i.jsxDEV("span",{className:"text-sm text-blue-800",children:[m.length," files selected"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:350,columnNumber:19},this),i.jsxDEV("div",{className:"flex gap-2 ml-auto",children:[i.jsxDEV(De,{size:"sm",onClick:()=>W(!1),children:[i.jsxDEV(Cl,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:355,columnNumber:23},this),"Show All"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:354,columnNumber:21},this),i.jsxDEV(De,{size:"sm",variant:"outline",onClick:()=>W(!0),children:[i.jsxDEV(Ul,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:359,columnNumber:23},this),"Hide All"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:358,columnNumber:21},this),i.jsxDEV(De,{size:"sm",variant:"ghost",onClick:()=>g([]),children:"Cancel"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:362,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:353,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:348,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:287,columnNumber:13},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:286,columnNumber:11},this),i.jsxDEV(nt,{children:i.jsxDEV(lt,{className:"pt-6",children:[Y?i.jsxDEV("div",{className:"text-center py-8",children:"Loading files..."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:379,columnNumber:17},this):i.jsxDEV("div",{className:"space-y-2 max-h-96 overflow-y-auto",children:we.map(Z=>i.jsxDEV("div",{className:`flex items-center gap-3 p-2 rounded-md border transition-colors ${Z.visible?"hover:bg-gray-50":"opacity-60 bg-gray-50"}`,children:[i.jsxDEV("input",{type:"checkbox",checked:m.includes(Z.path),onChange:Ce=>{Ce.target.checked?g([...m,Z.path]):g(m.filter(Ae=>Ae!==Z.path))},className:"rounded"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:388,columnNumber:23},this),i.jsxDEV(Rl,{className:"w-4 h-4 text-muted-foreground flex-shrink-0"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:401,columnNumber:23},this),i.jsxDEV("div",{className:"flex-1 min-w-0",children:[i.jsxDEV("div",{className:"font-mono text-sm truncate",children:Z.path},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:404,columnNumber:25},this),i.jsxDEV("div",{className:"flex items-center gap-2 mt-1",children:[Z.inBundles.map(Ce=>i.jsxDEV(Nt,{variant:"outline",className:"text-xs",children:Ce},Ce,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:407,columnNumber:29},this)),Z.globallyHidden&&i.jsxDEV(Nt,{variant:"destructive",className:"text-xs",children:"Globally Hidden"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:412,columnNumber:29},this),Z.bundleHidden&&a&&i.jsxDEV(Nt,{variant:"secondary",className:"text-xs",children:["Hidden in ",a]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:417,columnNumber:29},this),Z.matchesIgnorePattern&&i.jsxDEV(Nt,{variant:"outline",className:"text-xs text-gray-500",children:"Ignored"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:422,columnNumber:29},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:405,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:403,columnNumber:23},this),i.jsxDEV("div",{className:"text-xs text-muted-foreground",children:[(Z.size/1024).toFixed(1),"kb"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:429,columnNumber:23},this),i.jsxDEV(De,{size:"sm",variant:"ghost",onClick:()=>J(Z.path),disabled:X.isPending,className:"flex-shrink-0",children:Z.visible?i.jsxDEV(i.Fragment,{children:[i.jsxDEV(Ul,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:442,columnNumber:29},this),"Hide"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:441,columnNumber:27},this):i.jsxDEV(i.Fragment,{children:[i.jsxDEV(Cl,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:447,columnNumber:29},this),"Show"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:446,columnNumber:27},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:433,columnNumber:23},this)]},Z.path,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:383,columnNumber:21},this))},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:381,columnNumber:17},this),we.length===0&&!Y&&i.jsxDEV("div",{className:"text-center py-8 text-muted-foreground",children:"No files match your current filters"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:458,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:377,columnNumber:13},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:376,columnNumber:11},this),i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{className:"flex items-center gap-2",children:[i.jsxDEV(tU,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:469,columnNumber:17},this),"Reset Options"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:468,columnNumber:15},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:467,columnNumber:13},this),i.jsxDEV(lt,{className:"space-y-3",children:i.jsxDEV("div",{className:"flex gap-2",children:[i.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>me.mutate({scope:"global"}),disabled:me.isPending,children:"Reset Global Hidden Files"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:475,columnNumber:17},this),a&&i.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>me.mutate({scope:"bundle",bundleName:a}),disabled:me.isPending,children:["Reset ",a," Bundle"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:485,columnNumber:19},this),i.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>me.mutate({scope:"all"}),disabled:me.isPending,className:"text-red-600 border-red-200 hover:bg-red-50",children:"Reset All Hidden Files"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:495,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:474,columnNumber:15},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:473,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:466,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:284,columnNumber:9},this),i.jsxDEV(To,{value:"patterns",className:"space-y-4",children:[i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{children:"Add Ignore Pattern"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:514,columnNumber:15},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:513,columnNumber:13},this),i.jsxDEV(lt,{className:"space-y-4",children:[i.jsxDEV("div",{className:"flex gap-2",children:[i.jsxDEV(Dc,{placeholder:"Enter glob pattern (e.g., *.log, src/debug/**)",value:U,onChange:Z=>V(Z.target.value),className:"flex-1",onKeyDown:Z=>Z.key==="Enter"&&Ee()},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:518,columnNumber:17},this),i.jsxDEV(De,{onClick:Ee,disabled:!U.trim()||ce.isPending,children:[i.jsxDEV(Cc,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:529,columnNumber:19},this),"Add Pattern"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:525,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:517,columnNumber:15},this),i.jsxDEV("div",{className:"text-sm text-muted-foreground",children:["Examples: ",i.jsxDEV("code",{children:"*.log"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:535,columnNumber:27},this),", ",i.jsxDEV("code",{children:"node_modules/**"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:535,columnNumber:47},this),", ",i.jsxDEV("code",{children:"src/debug.ts"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:535,columnNumber:77},this),", ",i.jsxDEV("code",{children:"**/*.test.*"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:535,columnNumber:104},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:534,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:516,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:512,columnNumber:11},this),i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{children:"Current Ignore Patterns"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:543,columnNumber:15},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:542,columnNumber:13},this),i.jsxDEV(lt,{children:k?i.jsxDEV("div",{className:"text-center py-4",children:"Loading patterns..."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:547,columnNumber:17},this):i.jsxDEV("div",{className:"space-y-3",children:ie.map((Z,Ce)=>i.jsxDEV("div",{className:`flex items-center gap-3 p-3 rounded-md border ${Z.active?"":"opacity-60 bg-gray-50"}`,children:[i.jsxDEV("div",{className:"flex-1",children:[i.jsxDEV("div",{className:"font-mono text-sm",children:Z.pattern},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:557,columnNumber:25},this),i.jsxDEV("div",{className:"flex items-center gap-2 mt-1",children:[i.jsxDEV(Nt,{variant:Z.source==="system"?"secondary":Z.source==="user"?"default":"outline",className:"text-xs",children:Z.source==="system"?"System Default":Z.source==="user"?"User Added":"File Pattern"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:559,columnNumber:27},this),Z.active?i.jsxDEV(Nt,{variant:"outline",className:"text-xs text-green-700",children:[i.jsxDEV(Zs,{className:"w-3 h-3 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:569,columnNumber:31},this),"Active"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:568,columnNumber:29},this):i.jsxDEV(Nt,{variant:"outline",className:"text-xs text-gray-500",children:[i.jsxDEV(Hd,{className:"w-3 h-3 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:574,columnNumber:31},this),"Disabled"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:573,columnNumber:29},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:558,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:556,columnNumber:23},this),i.jsxDEV("div",{className:"flex gap-2",children:Z.source==="system"?i.jsxDEV(De,{size:"sm",variant:"ghost",onClick:()=>ae(Z.pattern,!0),disabled:ce.isPending,children:Z.active?"Disable":"Enable"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:583,columnNumber:27},this):i.jsxDEV(De,{size:"sm",variant:"ghost",onClick:()=>ae(Z.pattern,!1),disabled:ce.isPending,children:i.jsxDEV(Kh,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:598,columnNumber:29},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:592,columnNumber:27},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:581,columnNumber:23},this)]},Ce,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:551,columnNumber:21},this))},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:549,columnNumber:17},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:545,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:541,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:510,columnNumber:9},this),i.jsxDEV(To,{value:"bundles",className:"space-y-4",children:ge?i.jsxDEV("div",{className:"text-center py-8",children:"Loading bundle statistics..."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:613,columnNumber:13},this):i.jsxDEV("div",{className:"grid gap-4",children:Object.entries(I).map(([Z,Ce])=>i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV("div",{className:"flex justify-between items-center",children:[i.jsxDEV(wt,{children:Z},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:620,columnNumber:23},this),i.jsxDEV("div",{className:"flex items-center gap-2",children:[i.jsxDEV(Nt,{variant:"outline",children:[Ce.visible," / ",Ce.total," visible"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:622,columnNumber:25},this),Ce.hidden>0&&i.jsxDEV(Nt,{variant:"secondary",children:[Ce.hidden," hidden"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:626,columnNumber:27},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:621,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:619,columnNumber:21},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:618,columnNumber:19},this),i.jsxDEV(lt,{children:i.jsxDEV("div",{className:"space-y-3",children:[i.jsxDEV("div",{className:"flex items-center gap-4",children:[i.jsxDEV("div",{className:"flex-1 bg-gray-200 rounded-full h-2",children:i.jsxDEV("div",{className:"bg-blue-600 h-2 rounded-full",style:{width:`${Ce.total>0?Ce.visible/Ce.total*100:0}%`}},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:637,columnNumber:27},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:636,columnNumber:25},this),i.jsxDEV(De,{size:"sm",variant:"outline",onClick:()=>c(Z),children:[i.jsxDEV(Yl,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:649,columnNumber:27},this),"Manage Files"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:644,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:635,columnNumber:23},this),i.jsxDEV("div",{className:"text-sm text-muted-foreground",children:i.jsxDEV("div",{children:["Patterns: ",Ce.patterns.join(", ")]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:655,columnNumber:25},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:654,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:634,columnNumber:21},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:633,columnNumber:19},this)]},Z,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:617,columnNumber:17},this))},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:615,columnNumber:13},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:611,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:276,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:255,columnNumber:5},this)}const mS=async()=>{try{const[l,a,c]=await Promise.all([fetch("http://localhost:3333/api/config"),fetch("http://localhost:3333/api/bundles"),fetch("http://localhost:3333/api/cursor-rules")]),d=l.ok,p=a.ok?await a.json():[],v=c.ok;return{hasConfig:d,hasIgnoreFile:!0,bundleCount:p.length||0,hasCursorRules:v,isFirstTime:!d||p.length===0}}catch{return{hasConfig:!1,hasIgnoreFile:!1,bundleCount:0,hasCursorRules:!1,isFirstTime:!0}}};function G3({onStartSetup:l}){const{data:a,isLoading:c}=Rr({queryKey:["setup-status"],queryFn:mS,refetchInterval:5e3});return c||!(a!=null&&a.isFirstTime)?null:i.jsxDEV(Ur,{className:"mb-6 border-blue-200 bg-blue-50",children:[i.jsxDEV(Yl,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:64,columnNumber:7},this),i.jsxDEV(Cr,{className:"flex items-center justify-between",children:[i.jsxDEV("div",{children:[i.jsxDEV("strong",{children:"Welcome to cntx-ui!"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:67,columnNumber:11},this)," This looks like your first time. The web interface is already running - let's help you get set up properly."]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:66,columnNumber:9},this),i.jsxDEV(De,{onClick:l,size:"sm",children:"Start Setup Guide"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:70,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:65,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:63,columnNumber:5},this)}function $3({onOpenFullSetup:l}){const{data:a,isLoading:c}=Rr({queryKey:["setup-status"],queryFn:mS,refetchInterval:1e4});if(c)return i.jsxDEV("div",{children:"Checking setup status..."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:90,columnNumber:12},this);const d=[{label:"Configuration file exists",passed:(a==null?void 0:a.hasConfig)||!1,description:".cntx/config.json with bundle definitions"},{label:"Ignore patterns configured",passed:(a==null?void 0:a.hasIgnoreFile)||!1,description:".cntxignore file to exclude unnecessary files"},{label:"Bundles generated",passed:((a==null?void 0:a.bundleCount)||0)>0,description:`${(a==null?void 0:a.bundleCount)||0} bundles currently configured`},{label:"Cursor rules created",passed:(a==null?void 0:a.hasCursorRules)||!1,description:".cursorrules file for AI assistant context"}],p=d.every(v=>v.passed);return i.jsxDEV(nt,{className:p?"":"border-yellow-200",children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{className:"flex items-center gap-2",children:[i.jsxDEV(Yl,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:122,columnNumber:11},this),"Setup Status",p?i.jsxDEV(Zs,{className:"w-5 h-5 text-green-500"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:125,columnNumber:13},this):i.jsxDEV(Qd,{className:"w-5 h-5 text-yellow-500"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:127,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:121,columnNumber:9},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:120,columnNumber:7},this),i.jsxDEV(lt,{children:[i.jsxDEV("div",{className:"space-y-3",children:d.map((v,S)=>i.jsxDEV("div",{className:"flex items-start gap-3",children:[i.jsxDEV("div",{className:"flex-shrink-0 mt-0.5",children:v.passed?i.jsxDEV(Zs,{className:"w-4 h-4 text-green-500"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:137,columnNumber:19},this):i.jsxDEV(Qd,{className:"w-4 h-4 text-yellow-500"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:139,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:135,columnNumber:15},this),i.jsxDEV("div",{className:"flex-1",children:[i.jsxDEV("div",{className:`font-medium ${v.passed?"text-green-700":"text-yellow-700"}`,children:v.label},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:143,columnNumber:17},this),i.jsxDEV("div",{className:"text-sm text-gray-600",children:v.description},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:146,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:142,columnNumber:15},this)]},S,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:134,columnNumber:13},this))},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:132,columnNumber:9},this),!p&&i.jsxDEV("div",{className:"mt-4 pt-4 border-t",children:i.jsxDEV(De,{onClick:l,variant:"outline",className:"w-full",children:[i.jsxDEV(F1,{className:"w-4 h-4 mr-2"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:155,columnNumber:15},this),"Complete Setup Guide"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:154,columnNumber:13},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:153,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:131,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:119,columnNumber:5},this)}function Q3(){return i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{className:"flex items-center gap-2",children:[i.jsxDEV(Xh,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:171,columnNumber:11},this),"How to Use cntx-ui"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:170,columnNumber:9},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:169,columnNumber:7},this),i.jsxDEV(lt,{className:"space-y-4",children:[i.jsxDEV(Ur,{className:"border-blue-200 bg-blue-50",children:[i.jsxDEV(Y1,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:177,columnNumber:11},this),i.jsxDEV(Cr,{children:[i.jsxDEV("strong",{children:"You're already running!"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:179,columnNumber:13},this)," The web interface provides full functionality. CLI commands are available for automation and advanced workflows."]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:178,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:176,columnNumber:9},this),i.jsxDEV("div",{className:"space-y-4",children:[i.jsxDEV("div",{children:[i.jsxDEV("h4",{className:"font-medium mb-2 flex items-center gap-2",children:[i.jsxDEV(Xh,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:187,columnNumber:15},this),"Web Interface (Recommended)"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:186,columnNumber:13},this),i.jsxDEV("div",{className:"text-sm text-gray-600 space-y-2",children:[i.jsxDEV("p",{children:"Perfect for interactive use and project management:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:191,columnNumber:15},this),i.jsxDEV("div",{className:"ml-4 space-y-1",children:[i.jsxDEV("div",{children:["• ",i.jsxDEV("strong",{children:"Bundle Management:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:193,columnNumber:24},this)," View, create, and manage bundles"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:193,columnNumber:17},this),i.jsxDEV("div",{children:["• ",i.jsxDEV("strong",{children:"Configuration:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:194,columnNumber:24},this)," Edit bundle patterns visually"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:194,columnNumber:17},this),i.jsxDEV("div",{children:["• ",i.jsxDEV("strong",{children:"Hidden Files:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:195,columnNumber:24},this)," Control file visibility per bundle"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:195,columnNumber:17},this),i.jsxDEV("div",{children:["• ",i.jsxDEV("strong",{children:"Cursor Rules:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:196,columnNumber:24},this)," Manage AI assistant context"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:196,columnNumber:17},this),i.jsxDEV("div",{children:["• ",i.jsxDEV("strong",{children:"Real-time Updates:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:197,columnNumber:24},this)," See changes immediately"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:197,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:192,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:190,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:185,columnNumber:11},this),i.jsxDEV("div",{children:[i.jsxDEV("h4",{className:"font-medium mb-2 flex items-center gap-2",children:[i.jsxDEV(AT,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:204,columnNumber:15},this),"Command Line Interface"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:203,columnNumber:13},this),i.jsxDEV("div",{className:"text-sm text-gray-600 space-y-2",children:[i.jsxDEV("p",{children:"Great for automation, scripts, and CI/CD:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:208,columnNumber:15},this),i.jsxDEV("div",{className:"ml-4 space-y-1",children:[i.jsxDEV("div",{children:["• ",i.jsxDEV("strong",{children:"Quick bundle generation:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:210,columnNumber:24},this)," ",i.jsxDEV("code",{className:"bg-gray-100 px-1 rounded",children:"cntx-ui bundle master"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:210,columnNumber:66},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:210,columnNumber:17},this),i.jsxDEV("div",{children:["• ",i.jsxDEV("strong",{children:"Status checking:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:211,columnNumber:24},this)," ",i.jsxDEV("code",{className:"bg-gray-100 px-1 rounded",children:"cntx-ui status"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:211,columnNumber:58},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:211,columnNumber:17},this),i.jsxDEV("div",{children:["• ",i.jsxDEV("strong",{children:"Scripting workflows:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:212,columnNumber:24},this)," Integrate with build processes"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:212,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:209,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:207,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:202,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:184,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:175,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:168,columnNumber:5},this)}function I3(){return i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{className:"flex items-center gap-2",children:[i.jsxDEV(Y1,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:228,columnNumber:11},this),"CLI Reference"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:227,columnNumber:9},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:226,columnNumber:7},this),i.jsxDEV(lt,{children:i.jsxDEV("div",{className:"space-y-3 text-sm font-mono",children:[i.jsxDEV("div",{className:"flex items-center gap-2",children:[i.jsxDEV("code",{className:"bg-gray-100 px-2 py-1 rounded text-xs",children:"cntx-ui watch"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:235,columnNumber:13},this),i.jsxDEV("span",{className:"text-gray-600 text-xs",children:"Start server (already running)"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:236,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:234,columnNumber:11},this),i.jsxDEV("div",{className:"flex items-center gap-2",children:[i.jsxDEV("code",{className:"bg-gray-100 px-2 py-1 rounded text-xs",children:"cntx-ui status"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:239,columnNumber:13},this),i.jsxDEV("span",{className:"text-gray-600 text-xs",children:"Check configuration status"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:240,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:238,columnNumber:11},this),i.jsxDEV("div",{className:"flex items-center gap-2",children:[i.jsxDEV("code",{className:"bg-gray-100 px-2 py-1 rounded text-xs",children:"cntx-ui bundle [name]"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:243,columnNumber:13},this),i.jsxDEV("span",{className:"text-gray-600 text-xs",children:"Generate specific bundle"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:244,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:242,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:233,columnNumber:9},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:232,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:225,columnNumber:5},this)}function X3(){return i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{className:"flex items-center gap-2",children:[i.jsxDEV(Rl,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:258,columnNumber:11},this),"Common Workflows"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:257,columnNumber:9},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:256,columnNumber:7},this),i.jsxDEV(lt,{className:"space-y-4",children:[i.jsxDEV("div",{children:[i.jsxDEV("h4",{className:"font-medium mb-2",children:"🎯 For AI Development"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:264,columnNumber:11},this),i.jsxDEV("div",{className:"text-sm text-gray-600 space-y-1",children:[i.jsxDEV("div",{children:"1. Create focused bundles (api, ui, core)"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:266,columnNumber:13},this),i.jsxDEV("div",{children:"2. Hide debug/temp files from bundles"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:267,columnNumber:13},this),i.jsxDEV("div",{children:"3. Copy bundle XML for AI context"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:268,columnNumber:13},this),i.jsxDEV("div",{children:"4. Use Cursor Rules for project context"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:269,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:265,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:263,columnNumber:9},this),i.jsxDEV("div",{children:[i.jsxDEV("h4",{className:"font-medium mb-2",children:"📁 For Project Organization"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:274,columnNumber:11},this),i.jsxDEV("div",{className:"text-sm text-gray-600 space-y-1",children:[i.jsxDEV("div",{children:"1. Configure ignore patterns for unwanted files"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:276,columnNumber:13},this),i.jsxDEV("div",{children:"2. Create bundles by feature or responsibility"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:277,columnNumber:13},this),i.jsxDEV("div",{children:"3. Use hidden files to trim bundle scope"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:278,columnNumber:13},this),i.jsxDEV("div",{children:"4. Monitor bundle sizes and file counts"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:279,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:275,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:273,columnNumber:9},this),i.jsxDEV("div",{children:[i.jsxDEV("h4",{className:"font-medium mb-2",children:"🤖 For CI/CD Integration"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:284,columnNumber:11},this),i.jsxDEV("div",{className:"text-sm text-gray-600 space-y-1",children:[i.jsxDEV("div",{children:"1. Use CLI commands in build scripts"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:286,columnNumber:13},this),i.jsxDEV("div",{children:"2. Generate bundles for automated testing"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:287,columnNumber:13},this),i.jsxDEV("div",{children:"3. Export project context for deployment"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:288,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:285,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:283,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:262,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:255,columnNumber:5},this)}function Z3(){const[l,a]=G.useState(0),[c,d]=G.useState([{id:"welcome",title:"Welcome to cntx-ui",description:"Organize your code into focused bundles for AI assistance",completed:!1,required:!0},{id:"bundles",title:"Create Your First Bundles",description:"Set up focused file collections and learn the basics",completed:!1,required:!0},{id:"ai-analysis",title:"AI Bundle Analysis (Optional)",description:"Let AI analyze your code and suggest optimal bundles",completed:!1,required:!1},{id:"mcp-integration",title:"MCP Integration (Enhanced)",description:"Set up seamless AI integration with Claude Desktop",completed:!1,required:!1},{id:"workflows",title:"Choose Your Workflow",description:"Manual copy/paste or seamless MCP integration",completed:!1,required:!1}]),[p,v]=G.useState(!1),[S,E]=G.useState(!1),y=async()=>{const R=`Analyze this codebase bundle and suggest an optimal bundle configuration for cntx-ui.
500
-
501
- Based on the file structure and content, recommend 3-6 meaningful bundles with glob patterns that group related files logically.
502
-
503
- Consider these common bundle types:
504
- - Frontend/UI components and pages
505
- - Backend API routes and controllers
506
- - Configuration files
507
- - Documentation
508
- - Tests
509
- - Utilities/helpers
510
- - Styles/assets
511
-
512
- Return ONLY a JSON configuration in this exact format:
513
- {
514
- "bundles": {
515
- "master": ["**/*"],
516
- "frontend": ["src/components/**/*", "src/pages/**/*", "src/hooks/**/*"],
517
- "api": ["src/api/**/*", "routes/**/*", "controllers/**/*"],
518
- "config": ["*.config.*", "package.json", "tsconfig.json"],
519
- "docs": ["README.md", "docs/**/*", "*.md"],
520
- "tests": ["**/*.test.*", "**/*.spec.*", "__tests__/**/*"]
521
- }
522
- }
523
-
524
- Please analyze the following master bundle and suggest appropriate bundles:
525
-
526
- [PASTE YOUR MASTER BUNDLE XML CONTENT HERE]`;try{await navigator.clipboard.writeText(R),v(!0),setTimeout(()=>v(!1),3e3)}catch(Y){console.error("Failed to copy AI prompt:",Y)}},U=async()=>{try{const R=await fetch("http://localhost:3333/api/bundles/master");if(!R.ok)throw new Error("Failed to fetch master bundle");const Y=await R.text();await navigator.clipboard.writeText(Y),E(!0),setTimeout(()=>E(!1),3e3)}catch(R){console.error("Failed to copy master bundle:",R)}},V=async()=>{try{const R=await fetch("http://localhost:3333/api/bundles/master");if(!R.ok)throw new Error("Failed to fetch master bundle");const Y=await R.text(),Q=new Blob([Y],{type:"application/xml"}),k=URL.createObjectURL(Q),I=document.createElement("a");I.href=k,I.download="master-bundle.xml",I.click(),URL.revokeObjectURL(k)}catch(R){console.error("Failed to download master bundle:",R)}},m=R=>{d(Y=>Y.map(Q=>Q.id===R?{...Q,completed:!0}:Q))},g=({step:R,isActive:Y})=>i.jsxDEV("div",{className:`flex items-center gap-3 p-3 rounded-lg transition-colors ${Y?"bg-blue-50 border border-blue-200":"hover:bg-gray-50"}`,children:[i.jsxDEV("div",{className:"flex-shrink-0",children:R.completed?i.jsxDEV(Zs,{className:"w-6 h-6 text-green-500"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:142,columnNumber:11},this):i.jsxDEV(TT,{className:`w-6 h-6 ${Y?"text-blue-500":"text-gray-300"}`},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:144,columnNumber:11},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:140,columnNumber:7},this),i.jsxDEV("div",{className:"flex-1",children:[i.jsxDEV("div",{className:"flex items-center gap-2",children:[i.jsxDEV("h3",{className:`font-medium ${Y?"text-blue-900":"text-gray-900"}`,children:R.title},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:149,columnNumber:11},this),R.required&&i.jsxDEV(Nt,{variant:"outline",className:"text-xs",children:"Required"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:153,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:148,columnNumber:9},this),i.jsxDEV("p",{className:"text-sm text-gray-600",children:R.description},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:156,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:147,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:138,columnNumber:5},this);return i.jsxDEV("div",{className:"min-h-screen bg-gradient-to-br from-blue-50 to-indigo-100",children:i.jsxDEV("div",{className:"container mx-auto px-4 py-8",children:[i.jsxDEV("div",{className:"text-center mb-8",children:[i.jsxDEV("h1",{className:"text-4xl font-bold text-gray-900 mb-2",children:"Welcome to cntx-ui"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:166,columnNumber:11},this),i.jsxDEV("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"You're already up and running! Let's explore what you can do with the web interface."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:167,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:165,columnNumber:9},this),i.jsxDEV("div",{className:"grid lg:grid-cols-3 gap-8 max-w-7xl mx-auto",children:[i.jsxDEV("div",{className:"lg:col-span-1",children:i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{className:"flex items-center gap-2",children:[i.jsxDEV(Yl,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:178,columnNumber:19},this),"Quick Tour"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:177,columnNumber:17},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:176,columnNumber:15},this),i.jsxDEV(lt,{className:"space-y-2",children:c.map((R,Y)=>i.jsxDEV("div",{onClick:()=>a(Y),className:"cursor-pointer",children:i.jsxDEV(g,{step:R,isActive:l===Y},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:189,columnNumber:21},this)},R.id,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:184,columnNumber:19},this))},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:182,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:175,columnNumber:13},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:174,columnNumber:11},this),i.jsxDEV("div",{className:"lg:col-span-2 space-y-6",children:[l===0&&i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{className:"flex items-center gap-2",children:[i.jsxDEV(Sa,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:203,columnNumber:21},this),"Welcome to cntx-ui"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:202,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:201,columnNumber:17},this),i.jsxDEV(lt,{className:"space-y-6",children:[i.jsxDEV(Ur,{className:"border-green-200 bg-green-50",children:[i.jsxDEV(Zs,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:209,columnNumber:21},this),i.jsxDEV(Cr,{children:[i.jsxDEV("strong",{children:"You're all set!"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:211,columnNumber:23},this)," cntx-ui is running and ready to organize your code for AI assistance. Start with basic bundle management, then optionally enhance with seamless AI integration."]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:210,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:208,columnNumber:19},this),i.jsxDEV("div",{className:"bg-blue-50 p-4 rounded-lg",children:[i.jsxDEV("h4",{className:"font-medium text-blue-900 mb-2",children:"What is cntx-ui?"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:217,columnNumber:21},this),i.jsxDEV("p",{className:"text-sm text-blue-800 mb-3",children:"cntx-ui organizes your codebase into focused bundles for AI development. Create meaningful file collections, copy them to AI tools, or use advanced MCP integration for seamless workflows."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:218,columnNumber:21},this),i.jsxDEV("div",{className:"grid grid-cols-2 gap-2 text-sm text-blue-800",children:[i.jsxDEV("div",{children:"• Bundle files by purpose or feature"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:223,columnNumber:23},this),i.jsxDEV("div",{children:"• Hide irrelevant files from AI context"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:224,columnNumber:23},this),i.jsxDEV("div",{children:"• Copy bundles to any AI tool"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:225,columnNumber:23},this),i.jsxDEV("div",{children:"• Optional seamless AI integration"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:226,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:222,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:216,columnNumber:19},this),i.jsxDEV("div",{className:"grid md:grid-cols-2 gap-4",children:[i.jsxDEV(nt,{className:"border-blue-200",children:i.jsxDEV(lt,{className:"pt-6",children:[i.jsxDEV(Xh,{className:"w-8 h-8 text-blue-600 mb-3"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:233,columnNumber:25},this),i.jsxDEV("h3",{className:"font-medium mb-2",children:"Core Experience"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:234,columnNumber:25},this),i.jsxDEV("p",{className:"text-sm text-gray-600",children:"Organize bundles in the web interface, copy XML to Claude, ChatGPT, or any AI tool."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:235,columnNumber:25},this),i.jsxDEV(Nt,{variant:"outline",className:"mt-2",children:"Works everywhere"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:238,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:232,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:231,columnNumber:21},this),i.jsxDEV(nt,{className:"border-purple-200",children:i.jsxDEV(lt,{className:"pt-6",children:[i.jsxDEV(IN,{className:"w-8 h-8 text-purple-600 mb-3"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:244,columnNumber:25},this),i.jsxDEV("h3",{className:"font-medium mb-2",children:"Enhanced Experience"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:245,columnNumber:25},this),i.jsxDEV("p",{className:"text-sm text-gray-600",children:"Optional MCP server integration for seamless access in Claude Desktop and other MCP clients."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:246,columnNumber:25},this),i.jsxDEV(Nt,{variant:"outline",className:"mt-2",children:"Progressive enhancement"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:249,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:243,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:242,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:230,columnNumber:19},this),i.jsxDEV("div",{className:"flex justify-between",children:[i.jsxDEV(De,{variant:"outline",disabled:!0,children:"Previous"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:255,columnNumber:21},this),i.jsxDEV(De,{onClick:()=>{m("welcome"),a(1)},children:["Create Your First Bundles ",i.jsxDEV(Od,{className:"w-4 h-4 ml-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:257,columnNumber:49},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:256,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:254,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:207,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:200,columnNumber:15},this),l===1&&i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{className:"flex items-center gap-2",children:[i.jsxDEV(_d,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:269,columnNumber:21},this),"Create Your First Bundles"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:268,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:267,columnNumber:17},this),i.jsxDEV(lt,{className:"space-y-6",children:[i.jsxDEV("div",{children:[i.jsxDEV("p",{className:"text-gray-600 mb-4",children:`cntx-ui starts with a "master" bundle containing all your files. Let's explore the basics and learn how to create focused bundles for better AI assistance.`},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:275,columnNumber:21},this),i.jsxDEV(Ur,{className:"border-blue-200 bg-blue-50",children:[i.jsxDEV(_d,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:281,columnNumber:23},this),i.jsxDEV(Cr,{children:[i.jsxDEV("strong",{children:"✅ You're ready to go!"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:283,columnNumber:25},this)," cntx-ui has already created a master bundle with all your project files. Now let's organize them into meaningful collections."]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:282,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:280,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:274,columnNumber:19},this),i.jsxDEV("div",{className:"bg-blue-50 p-4 rounded-lg",children:[i.jsxDEV("h4",{className:"font-medium text-blue-900 mb-3",children:"Here's the workflow:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:290,columnNumber:21},this),i.jsxDEV("ol",{className:"text-sm text-blue-800 space-y-2 list-decimal list-inside",children:[i.jsxDEV("li",{children:[i.jsxDEV("strong",{children:"Copy the AI analysis prompt"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:292,columnNumber:27},this)," (button below)"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:292,columnNumber:23},this),i.jsxDEV("li",{children:[i.jsxDEV("strong",{children:"Go to Bundles tab"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:293,columnNumber:27},this),' → Copy the "master" bundle XML']},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:293,columnNumber:23},this),i.jsxDEV("li",{children:[i.jsxDEV("strong",{children:"Open Claude/ChatGPT"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:294,columnNumber:27},this)," → Paste the prompt"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:294,columnNumber:23},this),i.jsxDEV("li",{children:[i.jsxDEV("strong",{children:"Paste your master bundle XML"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:295,columnNumber:27},this)," after the prompt"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:295,columnNumber:23},this),i.jsxDEV("li",{children:[i.jsxDEV("strong",{children:"AI returns perfect bundle JSON"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:296,columnNumber:27},this)," tailored to your code!"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:296,columnNumber:23},this),i.jsxDEV("li",{children:[i.jsxDEV("strong",{children:"Go to Config tab"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:297,columnNumber:27},this)," → Paste the JSON → Apply!"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:297,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:291,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:289,columnNumber:19},this),i.jsxDEV("div",{children:[i.jsxDEV("h4",{className:"font-medium mb-2",children:"Step 1: Copy AI Prompt & Master Bundle"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:302,columnNumber:21},this),i.jsxDEV("div",{className:"space-y-3",children:[i.jsxDEV("div",{className:"bg-slate-900 rounded-lg p-4",children:[i.jsxDEV("div",{className:"flex items-center justify-between mb-2",children:[i.jsxDEV("span",{className:"text-green-400 text-sm",children:"🤖 Smart Bundle Analysis Prompt"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:306,columnNumber:27},this),i.jsxDEV(De,{variant:"ghost",size:"sm",onClick:y,className:"text-gray-400 hover:text-white",children:p?i.jsxDEV(i.Fragment,{children:[i.jsxDEV(Zs,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:315,columnNumber:33},this),"Copied!"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:314,columnNumber:31},this):i.jsxDEV(i.Fragment,{children:[i.jsxDEV(Uc,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:320,columnNumber:33},this),"Copy Prompt"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:319,columnNumber:31},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:307,columnNumber:27},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:305,columnNumber:25},this),i.jsxDEV("div",{className:"text-gray-300 text-sm",children:"Intelligent prompt that guides AI to analyze your code structure"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:326,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:304,columnNumber:23},this),i.jsxDEV("div",{className:"bg-slate-900 rounded-lg p-4",children:[i.jsxDEV("div",{className:"flex items-center justify-between mb-2",children:[i.jsxDEV("span",{className:"text-blue-400 text-sm",children:"📦 Master Bundle XML"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:333,columnNumber:27},this),i.jsxDEV("div",{className:"flex gap-2",children:[i.jsxDEV(De,{variant:"ghost",size:"sm",onClick:U,className:"text-gray-400 hover:text-white",children:S?i.jsxDEV(i.Fragment,{children:[i.jsxDEV(Zs,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:343,columnNumber:35},this),"Copied!"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:342,columnNumber:33},this):i.jsxDEV(i.Fragment,{children:[i.jsxDEV(Uc,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:348,columnNumber:35},this),"Copy XML"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:347,columnNumber:33},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:335,columnNumber:29},this),i.jsxDEV(De,{variant:"ghost",size:"sm",onClick:V,className:"text-gray-400 hover:text-white",children:[i.jsxDEV(Gd,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:359,columnNumber:31},this),"Download"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:353,columnNumber:29},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:334,columnNumber:27},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:332,columnNumber:25},this),i.jsxDEV("div",{className:"text-gray-300 text-sm",children:"Your complete codebase bundle for AI analysis"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:364,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:331,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:303,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:301,columnNumber:19},this),i.jsxDEV("div",{className:"bg-purple-50 p-4 rounded-lg border border-purple-200",children:[i.jsxDEV("h4",{className:"font-medium text-purple-900 mb-2",children:"🚀 Complete AI Workflow:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:372,columnNumber:21},this),i.jsxDEV("ol",{className:"text-sm text-purple-800 space-y-1 list-decimal list-inside",children:[i.jsxDEV("li",{children:[i.jsxDEV("strong",{children:"Copy the prompt above"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:374,columnNumber:27},this)," → Paste into Claude/ChatGPT"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:374,columnNumber:23},this),i.jsxDEV("li",{children:[i.jsxDEV("strong",{children:"Copy/download master bundle"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:375,columnNumber:27},this)," → Add to your AI conversation"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:375,columnNumber:23},this),i.jsxDEV("li",{children:[i.jsxDEV("strong",{children:"AI analyzes your code"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:376,columnNumber:27},this)," → Returns perfect bundle configuration"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:376,columnNumber:23},this),i.jsxDEV("li",{children:[i.jsxDEV("strong",{children:"Go to Config tab"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:377,columnNumber:27},this)," → Paste AI's JSON → Apply configuration"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:377,columnNumber:23},this),i.jsxDEV("li",{children:[i.jsxDEV("strong",{children:"🎉 Optimized bundles ready!"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:378,columnNumber:27},this)," → Tailored to your project structure"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:378,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:373,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:371,columnNumber:19},this),i.jsxDEV("div",{className:"grid md:grid-cols-2 gap-4",children:[i.jsxDEV("div",{className:"space-y-3",children:[i.jsxDEV("h4",{className:"font-medium",children:"What AI Analyzes:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:384,columnNumber:23},this),i.jsxDEV("div",{className:"text-sm space-y-1",children:[i.jsxDEV("div",{children:["🗂️ ",i.jsxDEV("strong",{children:"File organization patterns"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:386,columnNumber:34},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:386,columnNumber:25},this),i.jsxDEV("div",{children:["🔗 ",i.jsxDEV("strong",{children:"Import/dependency relationships"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:387,columnNumber:33},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:387,columnNumber:25},this),i.jsxDEV("div",{children:["⚙️ ",i.jsxDEV("strong",{children:"Technology stack detection"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:388,columnNumber:33},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:388,columnNumber:25},this),i.jsxDEV("div",{children:["📁 ",i.jsxDEV("strong",{children:"Logical grouping opportunities"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:389,columnNumber:33},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:389,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:385,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:383,columnNumber:21},this),i.jsxDEV("div",{className:"space-y-3",children:[i.jsxDEV("h4",{className:"font-medium",children:"AI Suggests Bundles Like:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:394,columnNumber:23},this),i.jsxDEV("div",{className:"text-sm space-y-1",children:[i.jsxDEV("div",{children:["🎨 ",i.jsxDEV("strong",{children:"frontend"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:396,columnNumber:33},this)," - Components, pages, styles"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:396,columnNumber:25},this),i.jsxDEV("div",{children:["🔌 ",i.jsxDEV("strong",{children:"api"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:397,columnNumber:33},this)," - Routes, controllers, models"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:397,columnNumber:25},this),i.jsxDEV("div",{children:["🧪 ",i.jsxDEV("strong",{children:"tests"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:398,columnNumber:33},this)," - All test files"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:398,columnNumber:25},this),i.jsxDEV("div",{children:["⚙️ ",i.jsxDEV("strong",{children:"config"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:399,columnNumber:33},this)," - Configuration files"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:399,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:395,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:393,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:382,columnNumber:19},this),i.jsxDEV(Ur,{children:[i.jsxDEV(Qd,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:405,columnNumber:21},this),i.jsxDEV(Cr,{children:[i.jsxDEV("strong",{children:"Why this works so well:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:407,columnNumber:23},this)," AI understands code patterns and can see relationships between files that aren't obvious. It creates bundles that actually make sense for your specific project."]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:406,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:404,columnNumber:19},this),i.jsxDEV("div",{className:"flex justify-between",children:[i.jsxDEV(De,{variant:"outline",onClick:()=>a(0),children:"Previous"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:413,columnNumber:21},this),i.jsxDEV(De,{onClick:()=>{m("ai-analysis"),a(2)},children:["Continue to Bundle Management ",i.jsxDEV(Od,{className:"w-4 h-4 ml-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:415,columnNumber:53},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:414,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:412,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:273,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:266,columnNumber:15},this),l===2&&i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{className:"flex items-center gap-2",children:[i.jsxDEV(_d,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:427,columnNumber:21},this),"Create & Manage Your Bundles"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:426,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:425,columnNumber:17},this),i.jsxDEV(lt,{className:"space-y-6",children:[i.jsxDEV("div",{children:[i.jsxDEV("p",{className:"text-gray-600 mb-4",children:"Whether you used AI suggestions or want to create bundles manually, here's how to manage your bundle collection."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:433,columnNumber:21},this),i.jsxDEV("div",{className:"bg-green-50 p-4 rounded-lg mb-4",children:[i.jsxDEV("h4",{className:"font-medium text-green-900 mb-2",children:"If you used AI analysis:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:439,columnNumber:23},this),i.jsxDEV("ol",{className:"text-sm text-green-800 space-y-1 list-decimal list-inside",children:[i.jsxDEV("li",{children:["Go to the ",i.jsxDEV("strong",{children:"Config"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:441,columnNumber:39},this)," tab above"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:441,columnNumber:25},this),i.jsxDEV("li",{children:["Scroll to ",i.jsxDEV("strong",{children:'"Paste Bundle Configuration"'},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:442,columnNumber:39},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:442,columnNumber:25},this),i.jsxDEV("li",{children:"Paste the AI-generated JSON"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:443,columnNumber:25},this),i.jsxDEV("li",{children:["Click ",i.jsxDEV("strong",{children:'"Apply Configuration"'},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:444,columnNumber:35},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:444,columnNumber:25},this),i.jsxDEV("li",{children:"🎉 Your optimized bundles are ready!"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:445,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:440,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:438,columnNumber:21},this),i.jsxDEV("div",{className:"bg-blue-50 p-4 rounded-lg mb-4",children:[i.jsxDEV("h4",{className:"font-medium text-blue-900 mb-2",children:"To create bundles manually:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:450,columnNumber:23},this),i.jsxDEV("ol",{className:"text-sm text-blue-800 space-y-1 list-decimal list-inside",children:[i.jsxDEV("li",{children:["Go to the ",i.jsxDEV("strong",{children:"Config"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:452,columnNumber:39},this)," tab above"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:452,columnNumber:25},this),i.jsxDEV("li",{children:["Click ",i.jsxDEV("strong",{children:'"Add New Bundle"'},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:453,columnNumber:35},this)," at the bottom"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:453,columnNumber:25},this),i.jsxDEV("li",{children:'Name it something meaningful (e.g., "frontend", "api", "core")'},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:454,columnNumber:25},this),i.jsxDEV("li",{children:["Add patterns like ",i.jsxDEV("code",{className:"bg-blue-100 px-1 rounded",children:"src/components/**/*"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:455,columnNumber:47},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:455,columnNumber:25},this),i.jsxDEV("li",{children:["Click ",i.jsxDEV("strong",{children:'"Create Bundle"'},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:456,columnNumber:35},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:456,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:451,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:449,columnNumber:21},this),i.jsxDEV(Ur,{children:[i.jsxDEV(Sa,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:461,columnNumber:23},this),i.jsxDEV(Cr,{children:[i.jsxDEV("strong",{children:"Pro tip:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:463,columnNumber:25},this),' You can test patterns before adding them! Use the "Pattern Tester" in the Config tab to see which files match.']},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:462,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:460,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:432,columnNumber:19},this),i.jsxDEV("div",{className:"space-y-3",children:[i.jsxDEV("h4",{className:"font-medium",children:"Popular Manual Bundle Examples:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:470,columnNumber:21},this),i.jsxDEV("div",{className:"grid gap-3",children:[i.jsxDEV("div",{className:"bg-gray-50 p-3 rounded-md",children:[i.jsxDEV("div",{className:"font-medium text-sm",children:"Frontend Bundle"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:473,columnNumber:25},this),i.jsxDEV("code",{className:"text-xs text-gray-600",children:"src/components/**/* • src/pages/**/* • *.css"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:474,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:472,columnNumber:23},this),i.jsxDEV("div",{className:"bg-gray-50 p-3 rounded-md",children:[i.jsxDEV("div",{className:"font-medium text-sm",children:"API Bundle"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:477,columnNumber:25},this),i.jsxDEV("code",{className:"text-xs text-gray-600",children:"src/api/**/* • src/routes/**/* • src/models/**/*"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:478,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:476,columnNumber:23},this),i.jsxDEV("div",{className:"bg-gray-50 p-3 rounded-md",children:[i.jsxDEV("div",{className:"font-medium text-sm",children:"Tests Bundle"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:481,columnNumber:25},this),i.jsxDEV("code",{className:"text-xs text-gray-600",children:"**/*.test.* • **/*.spec.* • __tests__/**/*"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:482,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:480,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:471,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:469,columnNumber:19},this),i.jsxDEV("div",{className:"flex justify-between",children:[i.jsxDEV(De,{variant:"outline",onClick:()=>a(1),children:"Previous"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:488,columnNumber:21},this),i.jsxDEV(De,{onClick:()=>{m("bundles"),a(3)},children:["Continue to Optimization ",i.jsxDEV(Od,{className:"w-4 h-4 ml-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:490,columnNumber:48},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:489,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:487,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:431,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:424,columnNumber:15},this),l===3&&i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{className:"flex items-center gap-2",children:[i.jsxDEV(IN,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:502,columnNumber:21},this),"Optimize for AI Development"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:501,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:500,columnNumber:17},this),i.jsxDEV(lt,{className:"space-y-6",children:[i.jsxDEV("div",{children:[i.jsxDEV("p",{className:"text-gray-600 mb-4",children:"Now let's make your bundles perfect for AI assistants by controlling what they see."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:508,columnNumber:21},this),i.jsxDEV("div",{className:"grid md:grid-cols-2 gap-4",children:[i.jsxDEV(nt,{className:"border-purple-200",children:i.jsxDEV(lt,{className:"pt-6",children:[i.jsxDEV(Cl,{className:"w-8 h-8 text-purple-600 mb-3"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:515,columnNumber:27},this),i.jsxDEV("h3",{className:"font-medium mb-2",children:"Hidden Files Tab"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:516,columnNumber:27},this),i.jsxDEV("div",{className:"text-sm text-gray-600 space-y-1",children:[i.jsxDEV("div",{children:"• Hide debug files from AI context"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:518,columnNumber:29},this),i.jsxDEV("div",{children:"• Remove temp/generated files"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:519,columnNumber:29},this),i.jsxDEV("div",{children:"• Create clean, focused bundles"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:520,columnNumber:29},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:517,columnNumber:27},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:514,columnNumber:25},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:513,columnNumber:23},this),i.jsxDEV(nt,{className:"border-green-200",children:i.jsxDEV(lt,{className:"pt-6",children:[i.jsxDEV(Sa,{className:"w-8 h-8 text-green-600 mb-3"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:527,columnNumber:27},this),i.jsxDEV("h3",{className:"font-medium mb-2",children:"Cursor Rules Tab"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:528,columnNumber:27},this),i.jsxDEV("div",{className:"text-sm text-gray-600 space-y-1",children:[i.jsxDEV("div",{children:"• Set coding standards"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:530,columnNumber:29},this),i.jsxDEV("div",{children:"• Define project context"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:531,columnNumber:29},this),i.jsxDEV("div",{children:"• Guide AI assistant behavior"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:532,columnNumber:29},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:529,columnNumber:27},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:526,columnNumber:25},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:525,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:512,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:507,columnNumber:19},this),i.jsxDEV("div",{className:"bg-green-50 p-4 rounded-lg",children:[i.jsxDEV("h4",{className:"font-medium text-green-900 mb-2",children:"Try this workflow:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:540,columnNumber:21},this),i.jsxDEV("ol",{className:"text-sm text-green-800 space-y-1 list-decimal list-inside",children:[i.jsxDEV("li",{children:["Go to ",i.jsxDEV("strong",{children:"Hidden Files"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:542,columnNumber:33},this)," tab"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:542,columnNumber:23},this),i.jsxDEV("li",{children:'Search for "debug" or "test" files'},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:543,columnNumber:23},this),i.jsxDEV("li",{children:"Hide them from your main bundles"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:544,columnNumber:23},this),i.jsxDEV("li",{children:["Go to ",i.jsxDEV("strong",{children:"Cursor Rules"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:545,columnNumber:33},this)," tab"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:545,columnNumber:23},this),i.jsxDEV("li",{children:"Choose a template that matches your project"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:546,columnNumber:23},this),i.jsxDEV("li",{children:"Customize the rules for your team's preferences"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:547,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:541,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:539,columnNumber:19},this),i.jsxDEV(Ur,{children:[i.jsxDEV(Qd,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:552,columnNumber:21},this),i.jsxDEV(Cr,{children:[i.jsxDEV("strong",{children:"Why this matters:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:554,columnNumber:23},this)," Clean bundles = better AI responses. Removing noise helps AI focus on what's actually important in your code."]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:553,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:551,columnNumber:19},this),i.jsxDEV("div",{className:"flex justify-between",children:[i.jsxDEV(De,{variant:"outline",onClick:()=>a(2),children:"Previous"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:560,columnNumber:21},this),i.jsxDEV(De,{onClick:()=>{m("optimization"),a(4)},children:["Continue ",i.jsxDEV(Od,{className:"w-4 h-4 ml-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:562,columnNumber:32},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:561,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:559,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:506,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:499,columnNumber:15},this),l===4&&i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{className:"flex items-center gap-2",children:[i.jsxDEV(F1,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:574,columnNumber:21},this),"Common Workflows & Next Steps"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:573,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:572,columnNumber:17},this),i.jsxDEV(lt,{className:"space-y-6",children:[i.jsxDEV("div",{className:"grid gap-4",children:[i.jsxDEV("div",{className:"bg-blue-50 p-4 rounded-lg",children:[i.jsxDEV("h4",{className:"font-medium text-blue-900 mb-2",children:"🤖 Using with AI Assistants"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:581,columnNumber:23},this),i.jsxDEV("div",{className:"text-sm text-blue-800 space-y-1",children:[i.jsxDEV("div",{children:"1. Create a focused bundle for your current task"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:583,columnNumber:25},this),i.jsxDEV("div",{children:["2. Copy the XML from the ",i.jsxDEV("strong",{children:"Bundles"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:584,columnNumber:55},this)," tab"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:584,columnNumber:25},this),i.jsxDEV("div",{children:"3. Paste into Claude, ChatGPT, or other AI tools"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:585,columnNumber:25},this),i.jsxDEV("div",{children:"4. Get more accurate, context-aware responses"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:586,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:582,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:580,columnNumber:21},this),i.jsxDEV("div",{className:"bg-purple-50 p-4 rounded-lg",children:[i.jsxDEV("h4",{className:"font-medium text-purple-900 mb-2",children:"📁 Organizing Large Projects"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:591,columnNumber:23},this),i.jsxDEV("div",{className:"text-sm text-purple-800 space-y-1",children:[i.jsxDEV("div",{children:"1. Create bundles by feature or team responsibility"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:593,columnNumber:25},this),i.jsxDEV("div",{children:"2. Use hidden files to exclude work-in-progress code"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:594,columnNumber:25},this),i.jsxDEV("div",{children:"3. Monitor bundle sizes in the web interface"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:595,columnNumber:25},this),i.jsxDEV("div",{children:"4. Share specific bundles with team members"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:596,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:592,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:590,columnNumber:21},this),i.jsxDEV("div",{className:"bg-green-50 p-4 rounded-lg",children:[i.jsxDEV("h4",{className:"font-medium text-green-900 mb-2",children:"⚡ Advanced Tips"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:601,columnNumber:23},this),i.jsxDEV("div",{className:"text-sm text-green-800 space-y-1",children:[i.jsxDEV("div",{children:"• Bundle-specific hiding: Hide files from specific bundles only"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:603,columnNumber:25},this),i.jsxDEV("div",{children:"• Pattern testing: Use the pattern tester in Config tab"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:604,columnNumber:25},this),i.jsxDEV("div",{children:"• Real-time updates: Changes appear immediately"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:605,columnNumber:25},this),i.jsxDEV("div",{children:"• CLI integration: Use commands for automation"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:606,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:602,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:600,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:579,columnNumber:19},this),i.jsxDEV("div",{className:"bg-yellow-50 p-4 rounded-lg border border-yellow-200",children:[i.jsxDEV("h4",{className:"font-medium text-yellow-900 mb-2",children:"🎯 Quick Start Checklist"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:612,columnNumber:21},this),i.jsxDEV("div",{className:"text-sm text-yellow-800 space-y-1",children:[i.jsxDEV("div",{children:"✅ Create 2-3 focused bundles"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:614,columnNumber:23},this),i.jsxDEV("div",{children:"✅ Hide debug/temp files"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:615,columnNumber:23},this),i.jsxDEV("div",{children:"✅ Set up cursor rules"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:616,columnNumber:23},this),i.jsxDEV("div",{children:"✅ Copy a bundle and try it with an AI assistant"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:617,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:613,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:611,columnNumber:19},this),i.jsxDEV("div",{className:"flex justify-between",children:[i.jsxDEV(De,{variant:"outline",onClick:()=>a(3),children:"Previous"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:622,columnNumber:21},this),i.jsxDEV(De,{onClick:()=>m("workflows"),className:"bg-green-600 hover:bg-green-700",children:["Get Started! ",i.jsxDEV(PT,{className:"w-4 h-4 ml-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:624,columnNumber:36},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:623,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:621,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:578,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:571,columnNumber:15},this),i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{children:"Quick Reference"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:634,columnNumber:17},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:633,columnNumber:15},this),i.jsxDEV(lt,{children:i.jsxDEV("div",{className:"grid md:grid-cols-2 gap-4 text-sm",children:[i.jsxDEV("div",{children:[i.jsxDEV("h4",{className:"font-medium mb-2",children:"Web Interface Tabs"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:639,columnNumber:21},this),i.jsxDEV("ul",{className:"space-y-1 text-gray-600",children:[i.jsxDEV("li",{children:[i.jsxDEV("strong",{children:"Bundles"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:641,columnNumber:27},this)," - View and copy bundle content"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:641,columnNumber:23},this),i.jsxDEV("li",{children:[i.jsxDEV("strong",{children:"Files"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:642,columnNumber:27},this)," - Browse your project files"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:642,columnNumber:23},this),i.jsxDEV("li",{children:[i.jsxDEV("strong",{children:"Config"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:643,columnNumber:27},this)," - Create and edit bundles"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:643,columnNumber:23},this),i.jsxDEV("li",{children:[i.jsxDEV("strong",{children:"Hidden"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:644,columnNumber:27},this)," - Control file visibility"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:644,columnNumber:23},this),i.jsxDEV("li",{children:[i.jsxDEV("strong",{children:"Cursor"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:645,columnNumber:27},this)," - Manage AI assistant rules"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:645,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:640,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:638,columnNumber:19},this),i.jsxDEV("div",{children:[i.jsxDEV("h4",{className:"font-medium mb-2",children:"Key Features"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:649,columnNumber:21},this),i.jsxDEV("ul",{className:"space-y-1 text-gray-600",children:[i.jsxDEV("li",{children:"Real-time file watching and updates"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:651,columnNumber:23},this),i.jsxDEV("li",{children:"Bundle-specific file hiding"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:652,columnNumber:23},this),i.jsxDEV("li",{children:"Pattern testing and validation"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:653,columnNumber:23},this),i.jsxDEV("li",{children:"AI assistant context management"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:654,columnNumber:23},this),i.jsxDEV("li",{children:"XML export for AI tools"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:655,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:650,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:648,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:637,columnNumber:17},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:636,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:632,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:197,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:172,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:163,columnNumber:7},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:162,columnNumber:5},this)}const WN=new lD;function K3(){const[l,a]=G.useState("connecting"),[c,d]=G.useState(!1),[p,v]=G.useState(!1);return G.useEffect(()=>{const S=new WebSocket("ws://localhost:3333");return S.onopen=()=>a("connected"),S.onclose=()=>a("disconnected"),()=>S.close()},[]),c?i.jsxDEV(HN,{client:WN,children:i.jsxDEV("div",{className:"relative",children:[i.jsxDEV(De,{variant:"ghost",size:"sm",onClick:()=>d(!1),className:"absolute top-4 right-4 z-10",children:i.jsxDEV(G1,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:45,columnNumber:13},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:39,columnNumber:11},this),i.jsxDEV(Z3,{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:47,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:38,columnNumber:9},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:37,columnNumber:7},this):i.jsxDEV(HN,{client:WN,children:i.jsxDEV("div",{className:"min-h-screen bg-background text-foreground",children:[i.jsxDEV("header",{className:"border-b",children:i.jsxDEV("div",{className:"container mx-auto px-4 py-4 flex justify-between items-center",children:[i.jsxDEV("h1",{className:"text-2xl font-bold",children:"cntx-ui"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:58,columnNumber:13},this),i.jsxDEV("div",{className:"flex items-center gap-4",children:[i.jsxDEV(De,{variant:"ghost",size:"sm",onClick:()=>v(!p),children:[i.jsxDEV(ET,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:65,columnNumber:17},this),"Help"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:60,columnNumber:15},this),i.jsxDEV("div",{className:"flex items-center gap-2",children:[i.jsxDEV("div",{className:`w-2 h-2 rounded-full ${l==="connected"?"bg-green-500":l==="connecting"?"bg-yellow-500":"bg-red-500"}`},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:69,columnNumber:17},this),i.jsxDEV("span",{className:"text-sm text-muted-foreground",children:l==="connected"?"Connected • Watching files":l==="connecting"?"Connecting...":"Disconnected"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:72,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:68,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:59,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:57,columnNumber:11},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:56,columnNumber:9},this),i.jsxDEV("main",{className:"container mx-auto px-4 py-6",children:[i.jsxDEV(G3,{onStartSetup:()=>d(!0)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:83,columnNumber:11},this),i.jsxDEV("div",{className:"flex flex-col lg:flex-row gap-6",children:[i.jsxDEV(qU,{position:"top-right"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:87,columnNumber:13},this),i.jsxDEV("div",{className:"flex-1 min-w-0",children:i.jsxDEV(lb,{defaultValue:"bundles",className:"space-y-6",children:[i.jsxDEV(ib,{className:"grid w-full grid-cols-3",children:[i.jsxDEV(Do,{value:"bundles",children:"Bundles & Files"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:93,columnNumber:19},this),i.jsxDEV(Do,{value:"settings",className:"flex items-center gap-1",children:[i.jsxDEV(Ul,{className:"w-3 h-3"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:95,columnNumber:21},this),i.jsxDEV("span",{children:"Settings"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:96,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:94,columnNumber:19},this),i.jsxDEV(Do,{value:"cursor",className:"flex items-center gap-1",children:[i.jsxDEV(Sa,{className:"w-3 h-3"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:99,columnNumber:21},this),i.jsxDEV("span",{children:"AI Rules"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:100,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:98,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:92,columnNumber:17},this),i.jsxDEV(To,{value:"bundles",children:i.jsxDEV("div",{className:"space-y-6",children:[i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{children:"Bundle Management"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:108,columnNumber:25},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:107,columnNumber:23},this),i.jsxDEV(lt,{children:i.jsxDEV($U,{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:111,columnNumber:25},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:110,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:106,columnNumber:21},this),i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{children:"Project Files"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:117,columnNumber:25},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:116,columnNumber:23},this),i.jsxDEV(lt,{children:i.jsxDEV(XU,{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:120,columnNumber:25},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:119,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:115,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:105,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:104,columnNumber:17},this),i.jsxDEV(To,{value:"settings",children:i.jsxDEV("div",{className:"space-y-6",children:[i.jsxDEV(Y3,{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:128,columnNumber:21},this),i.jsxDEV(WU,{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:129,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:127,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:126,columnNumber:17},this),i.jsxDEV(To,{value:"cursor",children:i.jsxDEV(k3,{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:134,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:133,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:91,columnNumber:15},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:90,columnNumber:13},this),i.jsxDEV("div",{className:"w-full lg:w-80 xl:w-96 flex-shrink-0 space-y-6",children:[i.jsxDEV($3,{onOpenFullSetup:()=>d(!0)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:142,columnNumber:15},this),p&&i.jsxDEV("div",{className:"space-y-4",children:[i.jsxDEV(Q3,{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:147,columnNumber:19},this),i.jsxDEV(X3,{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:148,columnNumber:19},this),i.jsxDEV(I3,{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:149,columnNumber:19},this),i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{className:"flex items-center gap-2",children:[i.jsxDEV(Ul,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:155,columnNumber:25},this),"File Visibility"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:154,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:153,columnNumber:21},this),i.jsxDEV(lt,{className:"space-y-2",children:[i.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Control which files appear in your bundles without changing ignore patterns."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:160,columnNumber:23},this),i.jsxDEV("div",{className:"text-xs space-y-1",children:[i.jsxDEV("div",{children:"• Hide debug/temp files from AI context"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:164,columnNumber:25},this),i.jsxDEV("div",{children:"• Create focused bundles for specific tasks"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:165,columnNumber:25},this),i.jsxDEV("div",{children:"• Bundle-specific or global hiding"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:166,columnNumber:25},this),i.jsxDEV("div",{children:"• Easy restore when needed"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:167,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:163,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:159,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:152,columnNumber:19},this),i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{className:"flex items-center gap-2",children:[i.jsxDEV(Sa,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:176,columnNumber:25},this),"AI Assistant"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:175,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:174,columnNumber:21},this),i.jsxDEV(lt,{className:"space-y-2",children:[i.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Cursor rules help AI assistants understand your project context and coding preferences."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:181,columnNumber:23},this),i.jsxDEV("div",{className:"text-xs space-y-1",children:[i.jsxDEV("div",{children:"• Project structure & bundles"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:185,columnNumber:25},this),i.jsxDEV("div",{children:"• Coding standards & style"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:186,columnNumber:25},this),i.jsxDEV("div",{children:"• Framework preferences"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:187,columnNumber:25},this),i.jsxDEV("div",{children:"• Team conventions"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:188,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:184,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:180,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:173,columnNumber:19},this),i.jsxDEV(nt,{children:[i.jsxDEV(St,{children:i.jsxDEV(wt,{children:"Need More Help?"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:195,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:194,columnNumber:21},this),i.jsxDEV(lt,{className:"space-y-3",children:[i.jsxDEV(De,{variant:"outline",onClick:()=>d(!0),className:"w-full",children:"Open Setup Guide"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:198,columnNumber:23},this),i.jsxDEV("div",{className:"text-sm text-muted-foreground",children:"For detailed setup instructions and troubleshooting."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:205,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:197,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:193,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:146,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:140,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:86,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:81,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:55,columnNumber:7},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:54,columnNumber:5},this)}GE.createRoot(document.getElementById("root")).render(i.jsxDEV(G.StrictMode,{children:i.jsxDEV(K3,{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/main.tsx",lineNumber:8,columnNumber:5},void 0)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/main.tsx",lineNumber:7,columnNumber:3},void 0));