cntx-ui 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,505 @@
1
+ var vN=i=>{throw TypeError(i)};var gh=(i,a,c)=>a.has(i)||vN("Cannot "+c);var D=(i,a,c)=>(gh(i,a,"read from private field"),c?c.call(i):a.get(i)),Ce=(i,a,c)=>a.has(i)?vN("Cannot add the same private member more than once"):a instanceof WeakSet?a.add(i):a.set(i,c),fe=(i,a,c,d)=>(gh(i,a,"write to private field"),d?d.call(i,c):a.set(i,c),c),Fe=(i,a,c)=>(gh(i,a,"access private method"),c);var Rd=(i,a,c,d)=>({set _(p){fe(i,a,p,c)},get _(){return D(i,a,d)}});function HE(i,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 i)){const v=Object.getOwnPropertyDescriptor(d,p);v&&Object.defineProperty(i,p,v.get?v:{enumerable:!0,get:()=>d[p]})}}}return Object.freeze(Object.defineProperty(i,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 N of v.addedNodes)N.tagName==="LINK"&&N.rel==="modulepreload"&&d(N)}).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 i1(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var yh={exports:{}},Vd={},Nh={exports:{}},jc={exports:{}};jc.exports;var xN;function _E(){return xN||(xN=1,function(i,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,R){Object.defineProperty(v.prototype,h,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",R[0],R[1])}})}function d(h){return h===null||typeof h!="object"?null:(h=rn&&h[rn]||h["@@iterator"],typeof h=="function"?h:null)}function p(h,R){h=(h=h.constructor)&&(h.displayName||h.name)||"ReactClass";var W=h+"."+R;An[W]||(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.",R,h),An[W]=!0)}function v(h,R,W){this.props=h,this.context=R,this.refs=Ro,this.updater=W||Us}function N(){}function E(h,R,W){this.props=h,this.context=R,this.refs=Ro,this.updater=W||Us}function y(h){return""+h}function U(h){try{y(h);var R=!1}catch{R=!0}if(R){R=console;var W=R.error,le=typeof Symbol=="function"&&Symbol.toStringTag&&h[Symbol.toStringTag]||h.constructor.name||"Object";return W.call(R,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",le),y(h)}}function A(h){if(h==null)return null;if(typeof h=="function")return h.$$typeof===Mn?null:h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case w:return"Fragment";case X:return"Profiler";case G:return"StrictMode";case ge:return"Suspense";case Je:return"SuspenseList";case pt: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 me:return"Portal";case Ee:return(h.displayName||"Context")+".Provider";case oe:return(h._context.displayName||"Context")+".Consumer";case Le:var R=h.render;return h=h.displayName,h||(h=R.displayName||R.name||"",h=h!==""?"ForwardRef("+h+")":"ForwardRef"),h;case Te:return R=h.displayName||null,R!==null?R:A(h.type)||"Memo";case We:R=h._payload,h=h._init;try{return A(h(R))}catch{}}return null}function f(h){if(h===w)return"<>";if(typeof h=="object"&&h!==null&&h.$$typeof===We)return"<...>";try{var R=A(h);return R?"<"+R+">":"<...>"}catch{return"<...>"}}function g(){var h=He.A;return h===null?null:h.getOwner()}function V(){return Error("react-stack-top-frame")}function $(h){if(Js.call(h,"key")){var R=Object.getOwnPropertyDescriptor(h,"key").get;if(R&&R.isReactWarning)return!1}return h.key!==void 0}function F(h,R){function W(){an||(an=!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)",R))}W.isReactWarning=!0,Object.defineProperty(h,"key",{get:W,configurable:!0})}function T(){var h=A(this.type);return Vo[h]||(Vo[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 Y(h,R,W,le,we,ke,Me,ce){return W=ke.ref,h={$$typeof:B,type:h,key:R,props:ke,_owner:we},(W!==void 0?W:null)!==null?Object.defineProperty(h,"ref",{enumerable:!1,get:T}):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:Me}),Object.defineProperty(h,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:ce}),Object.freeze&&(Object.freeze(h.props),Object.freeze(h)),h}function ne(h,R){return R=Y(h.type,R,void 0,void 0,h._owner,h.props,h._debugStack,h._debugTask),h._store&&(R._store.validated=h._store.validated),R}function J(h){return typeof h=="object"&&h!==null&&h.$$typeof===B}function ie(h){var R={"=":"=0",":":"=2"};return"$"+h.replace(/[=:]/g,function(W){return R[W]})}function te(h,R){return typeof h=="object"&&h!==null&&h.key!=null?(U(h.key),ie(""+h.key)):R.toString(36)}function ue(){}function pe(h){switch(h.status){case"fulfilled":return h.value;case"rejected":throw h.reason;default:switch(typeof h.status=="string"?h.then(ue,ue):(h.status="pending",h.then(function(R){h.status==="pending"&&(h.status="fulfilled",h.value=R)},function(R){h.status==="pending"&&(h.status="rejected",h.reason=R)})),h.status){case"fulfilled":return h.value;case"rejected":throw h.reason}}throw h}function Z(h,R,W,le,we){var ke=typeof h;(ke==="undefined"||ke==="boolean")&&(h=null);var Me=!1;if(h===null)Me=!0;else switch(ke){case"bigint":case"string":case"number":Me=!0;break;case"object":switch(h.$$typeof){case B:case me:Me=!0;break;case We:return Me=h._init,Z(Me(h._payload),R,W,le,we)}}if(Me){Me=h,we=we(Me);var ce=le===""?"."+te(Me,0):le;return ds(we)?(W="",ce!=null&&(W=ce.replace(er,"$&/")+"/"),Z(we,R,W,"",function(et){return et})):we!=null&&(J(we)&&(we.key!=null&&(Me&&Me.key===we.key||U(we.key)),W=ne(we,W+(we.key==null||Me&&Me.key===we.key?"":(""+we.key).replace(er,"$&/")+"/")+ce),le!==""&&Me!=null&&J(Me)&&Me.key==null&&Me._store&&!Me._store.validated&&(W._store.validated=2),we=W),R.push(we)),1}if(Me=0,ce=le===""?".":le+":",ds(h))for(var Se=0;Se<h.length;Se++)le=h[Se],ke=ce+te(le,Se),Me+=Z(le,R,W,ke,we);else if(Se=d(h),typeof Se=="function")for(Se===h.entries&&(zr||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),zr=!0),h=Se.call(h),Se=0;!(le=h.next()).done;)le=le.value,ke=ce+te(le,Se++),Me+=Z(le,R,W,ke,we);else if(ke==="object"){if(typeof h.then=="function")return Z(pe(h),R,W,le,we);throw R=String(h),Error("Objects are not valid as a React child (found: "+(R==="[object Object]"?"object with keys {"+Object.keys(h).join(", ")+"}":R)+"). If you meant to render a collection of children, use an array instead.")}return Me}function K(h,R,W){if(h==null)return h;var le=[],we=0;return Z(h,le,"","",function(ke){return R.call(W,ke,we++)}),le}function ve(h){if(h._status===-1){var R=h._result;R=R(),R.then(function(W){(h._status===0||h._status===-1)&&(h._status=1,h._result=W)},function(W){(h._status===0||h._status===-1)&&(h._status=2,h._result=W)}),h._status===-1&&(h._status=0,h._result=R)}if(h._status===1)return R=h._result,R===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?`,R),"default"in R||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'))`,R),R.default;throw h._result}function re(){var h=He.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 xe(){}function I(h){if(On===null)try{var R=("require"+Math.random()).slice(0,7);On=(i&&i[R]).call(i,"timers").setImmediate}catch{On=function(le){Hr===!1&&(Hr=!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 we=new MessageChannel;we.port1.onmessage=le,we.port2.postMessage(void 0)}}return On(h)}function Ue(h){return 1<h.length&&typeof AggregateError=="function"?new AggregateError(h):h[0]}function Ve(h,R){R!==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=R}function z(h,R,W){var le=He.actQueue;if(le!==null)if(le.length!==0)try{O(le),I(function(){return z(h,R,W)});return}catch(we){He.thrownErrors.push(we)}else He.actQueue=null;0<He.thrownErrors.length?(le=Ue(He.thrownErrors),He.thrownErrors.length=0,W(le)):R(h)}function O(h){if(!xn){xn=!0;var R=0;try{for(;R<h.length;R++){var W=h[R];do{He.didUsePromise=!1;var le=W(!1);if(le!==null){if(He.didUsePromise){h[R]=W,h.splice(0,R);return}W=le}else break}while(!0)}h.length=0}catch(we){h.splice(0,R+1),He.thrownErrors.push(we)}finally{xn=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var B=Symbol.for("react.transitional.element"),me=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),G=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),oe=Symbol.for("react.consumer"),Ee=Symbol.for("react.context"),Le=Symbol.for("react.forward_ref"),ge=Symbol.for("react.suspense"),Je=Symbol.for("react.suspense_list"),Te=Symbol.for("react.memo"),We=Symbol.for("react.lazy"),pt=Symbol.for("react.activity"),rn=Symbol.iterator,An={},Us={isMounted:function(){return!1},enqueueForceUpdate:function(h){p(h,"forceUpdate")},enqueueReplaceState:function(h){p(h,"replaceState")},enqueueSetState:function(h){p(h,"setState")}},kr=Object.assign,Ro={};Object.freeze(Ro),v.prototype.isReactComponent={},v.prototype.setState=function(h,R){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,R,"setState")},v.prototype.forceUpdate=function(h){this.updater.enqueueForceUpdate(this,h,"forceUpdate")};var St={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)."]},on;for(on in St)St.hasOwnProperty(on)&&c(on,St[on]);N.prototype=v.prototype,St=E.prototype=new N,St.constructor=E,kr(St,v.prototype),St.isPureReactComponent=!0;var ds=Array.isArray,Mn=Symbol.for("react.client.reference"),He={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Js=Object.prototype.hasOwnProperty,Pt=console.createTask?console.createTask:function(){return null};St={"react-stack-bottom-frame":function(h){return h()}};var an,Ua,Vo={},Ws=St["react-stack-bottom-frame"].bind(St,V)(),Ao=Pt(f(V)),zr=!1,er=/\/+/g,Pn=typeof reportError=="function"?reportError:function(h){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var R=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(R))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",h);return}console.error(h)},Hr=!1,On=null,Ts=0,kn=!1,xn=!1,ms=typeof queueMicrotask=="function"?function(h){queueMicrotask(function(){return queueMicrotask(h)})}:I;St=Object.freeze({__proto__:null,c:function(h){return re().useMemoCache(h)}}),a.Children={map:K,forEach:function(h,R,W){K(h,function(){R.apply(this,arguments)},W)},count:function(h){var R=0;return K(h,function(){R++}),R},toArray:function(h){return K(h,function(R){return R})||[]},only:function(h){if(!J(h))throw Error("React.Children.only expected to receive a single React element child.");return h}},a.Component=v,a.Fragment=w,a.Profiler=X,a.PureComponent=E,a.StrictMode=G,a.Suspense=ge,a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=He,a.__COMPILER_RUNTIME=St,a.act=function(h){var R=He.actQueue,W=Ts;Ts++;var le=He.actQueue=R!==null?R:[],we=!1;try{var ke=h()}catch(Se){He.thrownErrors.push(Se)}if(0<He.thrownErrors.length)throw Ve(R,W),h=Ue(He.thrownErrors),He.thrownErrors.length=0,h;if(ke!==null&&typeof ke=="object"&&typeof ke.then=="function"){var Me=ke;return ms(function(){we||kn||(kn=!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,et){we=!0,Me.then(function(jt){if(Ve(R,W),W===0){try{O(le),I(function(){return z(jt,Se,et)})}catch(Tt){He.thrownErrors.push(Tt)}if(0<He.thrownErrors.length){var _r=Ue(He.thrownErrors);He.thrownErrors.length=0,et(_r)}}else Se(jt)},function(jt){Ve(R,W),0<He.thrownErrors.length&&(jt=Ue(He.thrownErrors),He.thrownErrors.length=0),et(jt)})}}}var ce=ke;if(Ve(R,W),W===0&&(O(le),le.length!==0&&ms(function(){we||kn||(kn=!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(() => ...)"))}),He.actQueue=null),0<He.thrownErrors.length)throw h=Ue(He.thrownErrors),He.thrownErrors.length=0,h;return{then:function(Se,et){we=!0,W===0?(He.actQueue=le,I(function(){return z(ce,Se,et)})):Se(ce)}}},a.cache=function(h){return function(){return h.apply(null,arguments)}},a.captureOwnerStack=function(){var h=He.getCurrentStack;return h===null?null:h()},a.cloneElement=function(h,R,W){if(h==null)throw Error("The argument must be a React element, but you passed "+h+".");var le=kr({},h.props),we=h.key,ke=h._owner;if(R!=null){var Me;e:{if(Js.call(R,"ref")&&(Me=Object.getOwnPropertyDescriptor(R,"ref").get)&&Me.isReactWarning){Me=!1;break e}Me=R.ref!==void 0}Me&&(ke=g()),$(R)&&(U(R.key),we=""+R.key);for(ce in R)!Js.call(R,ce)||ce==="key"||ce==="__self"||ce==="__source"||ce==="ref"&&R.ref===void 0||(le[ce]=R[ce])}var ce=arguments.length-2;if(ce===1)le.children=W;else if(1<ce){Me=Array(ce);for(var Se=0;Se<ce;Se++)Me[Se]=arguments[Se+2];le.children=Me}for(le=Y(h.type,we,void 0,void 0,ke,le,h._debugStack,h._debugTask),we=2;we<arguments.length;we++)ke=arguments[we],J(ke)&&ke._store&&(ke._store.validated=1);return le},a.createContext=function(h){return h={$$typeof:Ee,_currentValue:h,_currentValue2:h,_threadCount:0,Provider:null,Consumer:null},h.Provider=h,h.Consumer={$$typeof:oe,_context:h},h._currentRenderer=null,h._currentRenderer2=null,h},a.createElement=function(h,R,W){for(var le=2;le<arguments.length;le++){var we=arguments[le];J(we)&&we._store&&(we._store.validated=1)}if(le={},we=null,R!=null)for(Se in Ua||!("__self"in R)||"key"in R||(Ua=!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")),$(R)&&(U(R.key),we=""+R.key),R)Js.call(R,Se)&&Se!=="key"&&Se!=="__self"&&Se!=="__source"&&(le[Se]=R[Se]);var ke=arguments.length-2;if(ke===1)le.children=W;else if(1<ke){for(var Me=Array(ke),ce=0;ce<ke;ce++)Me[ce]=arguments[ce+2];Object.freeze&&Object.freeze(Me),le.children=Me}if(h&&h.defaultProps)for(Se in ke=h.defaultProps,ke)le[Se]===void 0&&(le[Se]=ke[Se]);we&&F(le,typeof h=="function"?h.displayName||h.name||"Unknown":h);var Se=1e4>He.recentlyCreatedOwnerStacks++;return Y(h,we,void 0,void 0,g(),le,Se?Error("react-stack-top-frame"):Ws,Se?Pt(f(h)):Ao)},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 R={$$typeof:Le,render:h},W;return Object.defineProperty(R,"displayName",{enumerable:!1,configurable:!0,get:function(){return W},set:function(le){W=le,h.name||h.displayName||(Object.defineProperty(h,"name",{value:le}),h.displayName=le)}}),R},a.isValidElement=J,a.lazy=function(h){return{$$typeof:We,_payload:{_status:-1,_result:h},_init:ve}},a.memo=function(h,R){h==null&&console.error("memo: The first argument must be a component. Instead received: %s",h===null?"null":typeof h),R={$$typeof:Te,type:h,compare:R===void 0?null:R};var W;return Object.defineProperty(R,"displayName",{enumerable:!1,configurable:!0,get:function(){return W},set:function(le){W=le,h.name||h.displayName||(Object.defineProperty(h,"name",{value:le}),h.displayName=le)}}),R},a.startTransition=function(h){var R=He.T,W={};He.T=W,W._updatedFibers=new Set;try{var le=h(),we=He.S;we!==null&&we(W,le),typeof le=="object"&&le!==null&&typeof le.then=="function"&&le.then(xe,Pn)}catch(ke){Pn(ke)}finally{R===null&&W._updatedFibers&&(h=W._updatedFibers.size,W._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.")),He.T=R}},a.unstable_useCacheRefresh=function(){return re().useCacheRefresh()},a.use=function(h){return re().use(h)},a.useActionState=function(h,R,W){return re().useActionState(h,R,W)},a.useCallback=function(h,R){return re().useCallback(h,R)},a.useContext=function(h){var R=re();return h.$$typeof===oe&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),R.useContext(h)},a.useDebugValue=function(h,R){return re().useDebugValue(h,R)},a.useDeferredValue=function(h,R){return re().useDeferredValue(h,R)},a.useEffect=function(h,R,W){h==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var le=re();if(typeof W=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return le.useEffect(h,R)},a.useId=function(){return re().useId()},a.useImperativeHandle=function(h,R,W){return re().useImperativeHandle(h,R,W)},a.useInsertionEffect=function(h,R){return h==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),re().useInsertionEffect(h,R)},a.useLayoutEffect=function(h,R){return h==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),re().useLayoutEffect(h,R)},a.useMemo=function(h,R){return re().useMemo(h,R)},a.useOptimistic=function(h,R){return re().useOptimistic(h,R)},a.useReducer=function(h,R,W){return re().useReducer(h,R,W)},a.useRef=function(h){return re().useRef(h)},a.useState=function(h){return re().useState(h)},a.useSyncExternalStore=function(h,R,W){return re().useSyncExternalStore(h,R,W)},a.useTransition=function(){return re().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 Pc(){return gN||(gN=1,Nh.exports=_E()),Nh.exports}var yN;function BE(){if(yN)return Vd;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 i(w){if(w==null)return null;if(typeof w=="function")return w.$$typeof===ve?null:w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case F:return"Fragment";case Y:return"Profiler";case T:return"StrictMode";case te:return"Suspense";case ue:return"SuspenseList";case K:return"Activity"}if(typeof w=="object")switch(typeof w.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case $:return"Portal";case J:return(w.displayName||"Context")+".Provider";case ne:return(w._context.displayName||"Context")+".Consumer";case ie:var G=w.render;return w=w.displayName,w||(w=G.displayName||G.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case pe:return G=w.displayName||null,G!==null?G:i(w.type)||"Memo";case Z:G=w._payload,w=w._init;try{return i(w(G))}catch{}}return null}function a(w){return""+w}function c(w){try{a(w);var G=!1}catch{G=!0}if(G){G=console;var X=G.error,oe=typeof Symbol=="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return X.call(G,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",oe),a(w)}}function d(w){if(w===F)return"<>";if(typeof w=="object"&&w!==null&&w.$$typeof===Z)return"<...>";try{var G=i(w);return G?"<"+G+">":"<...>"}catch{return"<...>"}}function p(){var w=re.A;return w===null?null:w.getOwner()}function v(){return Error("react-stack-top-frame")}function N(w){if(xe.call(w,"key")){var G=Object.getOwnPropertyDescriptor(w,"key").get;if(G&&G.isReactWarning)return!1}return w.key!==void 0}function E(w,G){function X(){Ve||(Ve=!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)",G))}X.isReactWarning=!0,Object.defineProperty(w,"key",{get:X,configurable:!0})}function y(){var w=i(this.type);return z[w]||(z[w]=!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.")),w=this.props.ref,w!==void 0?w:null}function U(w,G,X,oe,Ee,Le,ge,Je){return X=Le.ref,w={$$typeof:V,type:w,key:G,props:Le,_owner:Ee},(X!==void 0?X:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:y}):Object.defineProperty(w,"ref",{enumerable:!1,value:null}),w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(w,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(w,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ge}),Object.defineProperty(w,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Je}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function A(w,G,X,oe,Ee,Le,ge,Je){var Te=G.children;if(Te!==void 0)if(oe)if(I(Te)){for(oe=0;oe<Te.length;oe++)f(Te[oe]);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 f(Te);if(xe.call(G,"key")){Te=i(w);var We=Object.keys(G).filter(function(rn){return rn!=="key"});oe=0<We.length?"{key: someKey, "+We.join(": ..., ")+": ...}":"{key: someKey}",me[Te+oe]||(We=0<We.length?"{"+We.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} />`,oe,Te,We,Te),me[Te+oe]=!0)}if(Te=null,X!==void 0&&(c(X),Te=""+X),N(G)&&(c(G.key),Te=""+G.key),"key"in G){X={};for(var pt in G)pt!=="key"&&(X[pt]=G[pt])}else X=G;return Te&&E(X,typeof w=="function"?w.displayName||w.name||"Unknown":w),U(w,Te,Le,Ee,p(),X,ge,Je)}function f(w){typeof w=="object"&&w!==null&&w.$$typeof===V&&w._store&&(w._store.validated=1)}var g=Pc(),V=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),F=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),ne=Symbol.for("react.consumer"),J=Symbol.for("react.context"),ie=Symbol.for("react.forward_ref"),te=Symbol.for("react.suspense"),ue=Symbol.for("react.suspense_list"),pe=Symbol.for("react.memo"),Z=Symbol.for("react.lazy"),K=Symbol.for("react.activity"),ve=Symbol.for("react.client.reference"),re=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,xe=Object.prototype.hasOwnProperty,I=Array.isArray,Ue=console.createTask?console.createTask:function(){return null};g={"react-stack-bottom-frame":function(w){return w()}};var Ve,z={},O=g["react-stack-bottom-frame"].bind(g,v)(),B=Ue(d(v)),me={};Vd.Fragment=F,Vd.jsxDEV=function(w,G,X,oe,Ee,Le){var ge=1e4>re.recentlyCreatedOwnerStacks++;return A(w,G,X,oe,Ee,Le,ge?Error("react-stack-top-frame"):O,ge?Ue(d(w)):B)}}(),Vd}var NN;function LE(){return NN||(NN=1,yh.exports=BE()),yh.exports}var l=LE(),Q=Pc();const se=i1(Q),c1=HE({__proto__:null,default:se},[Q]);var wh={exports:{}},Nc={},Sh={exports:{}},jh={},wN;function qE(){return wN||(wN=1,function(i){/**
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(te=!1,K){var z=i.unstable_now();xe=z;var O=!0;try{e:{J=!1,ie&&(ie=!1,pe(ve),ve=-1),ne=!0;var B=Y;try{t:{for(N(z),T=d(V);T!==null&&!(T.expirationTime>z&&y());){var me=T.callback;if(typeof me=="function"){T.callback=null,Y=T.priorityLevel;var w=me(T.expirationTime<=z);if(z=i.unstable_now(),typeof w=="function"){T.callback=w,N(z),O=!0;break t}T===d(V)&&p(V),N(z)}else p(V);T=d(V)}if(T!==null)O=!0;else{var G=d($);G!==null&&U(E,G.startTime-z),O=!1}}break e}finally{T=null,Y=B,ne=!1}O=void 0}}finally{O?I():K=!1}}}function c(z,O){var B=z.length;z.push(O);e:for(;0<B;){var me=B-1>>>1,w=z[me];if(0<v(w,O))z[me]=O,z[B]=w,B=me;else break e}}function d(z){return z.length===0?null:z[0]}function p(z){if(z.length===0)return null;var O=z[0],B=z.pop();if(B!==O){z[0]=B;e:for(var me=0,w=z.length,G=w>>>1;me<G;){var X=2*(me+1)-1,oe=z[X],Ee=X+1,Le=z[Ee];if(0>v(oe,B))Ee<w&&0>v(Le,oe)?(z[me]=Le,z[Ee]=B,me=Ee):(z[me]=oe,z[X]=B,me=X);else if(Ee<w&&0>v(Le,B))z[me]=Le,z[Ee]=B,me=Ee;else break e}}return O}function v(z,O){var B=z.sortIndex-O.sortIndex;return B!==0?B:z.id-O.id}function N(z){for(var O=d($);O!==null;){if(O.callback===null)p($);else if(O.startTime<=z)p($),O.sortIndex=O.expirationTime,c(V,O);else break;O=d($)}}function E(z){if(ie=!1,N(z),!J)if(d(V)!==null)J=!0,K||(K=!0,I());else{var O=d($);O!==null&&U(E,O.startTime-z)}}function y(){return te?!0:!(i.unstable_now()-xe<re)}function U(z,O){ve=ue(function(){z(i.unstable_now())},O)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var A=performance;i.unstable_now=function(){return A.now()}}else{var f=Date,g=f.now();i.unstable_now=function(){return f.now()-g}}var V=[],$=[],F=1,T=null,Y=3,ne=!1,J=!1,ie=!1,te=!1,ue=typeof setTimeout=="function"?setTimeout:null,pe=typeof clearTimeout=="function"?clearTimeout:null,Z=typeof setImmediate<"u"?setImmediate:null,K=!1,ve=-1,re=5,xe=-1;if(typeof Z=="function")var I=function(){Z(a)};else if(typeof MessageChannel<"u"){var Ue=new MessageChannel,Ve=Ue.port2;Ue.port1.onmessage=a,I=function(){Ve.postMessage(null)}}else I=function(){ue(a,0)};i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(z){z.callback=null},i.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):re=0<z?Math.floor(1e3/z):5},i.unstable_getCurrentPriorityLevel=function(){return Y},i.unstable_next=function(z){switch(Y){case 1:case 2:case 3:var O=3;break;default:O=Y}var B=Y;Y=O;try{return z()}finally{Y=B}},i.unstable_requestPaint=function(){te=!0},i.unstable_runWithPriority=function(z,O){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var B=Y;Y=z;try{return O()}finally{Y=B}},i.unstable_scheduleCallback=function(z,O,B){var me=i.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?me+B:me):B=me,z){case 1:var w=-1;break;case 2:w=250;break;case 5:w=1073741823;break;case 4:w=1e4;break;default:w=5e3}return w=B+w,z={id:F++,callback:O,priorityLevel:z,startTime:B,expirationTime:w,sortIndex:-1},B>me?(z.sortIndex=B,c($,z),d(V)===null&&z===d($)&&(ie?(pe(ve),ve=-1):ie=!0,U(E,B-me))):(z.sortIndex=w,c(V,z),J||ne||(J=!0,K||(K=!0,I()))),z},i.unstable_shouldYield=y,i.unstable_wrapCallback=function(z){var O=Y;return function(){var B=Y;Y=O;try{return z.apply(this,arguments)}finally{Y=B}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()}(jh)),jh}var SN;function FE(){return SN||(SN=1,Sh.exports=qE()),Sh.exports}var Eh={exports:{}},nn={},jN;function YE(){if(jN)return nn;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 i(){}function a(f){return""+f}function c(f,g,V){var $=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{a($);var F=!1}catch{F=!0}return F&&(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&&$[Symbol.toStringTag]||$.constructor.name||"Object"),a($)),{$$typeof:U,key:$==null?null:""+$,children:f,containerInfo:g,implementation:V}}function d(f,g){if(f==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}function p(f){return f===null?"`null`":f===void 0?"`undefined`":f===""?"an empty string":'something with type "'+typeof f+'"'}function v(f){return f===null?"`null`":f===void 0?"`undefined`":f===""?"an empty string":typeof f=="string"?JSON.stringify(f):typeof f=="number"?"`"+f+"`":'something with type "'+typeof f+'"'}function N(){var f=A.H;return f===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.`),f}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var E=Pc(),y={d:{f:i,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},U=Symbol.for("react.portal"),A=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"),nn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=y,nn.createPortal=function(f,g){var V=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(f,g,null,V)},nn.flushSync=function(f){var g=A.T,V=y.p;try{if(A.T=null,y.p=2,f)return f()}finally{A.T=g,y.p=V,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.")}},nn.preconnect=function(f,g){typeof f=="string"&&f?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(f)),typeof f=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,y.d.C(f,g))},nn.prefetchDNS=function(f){if(typeof f!="string"||!f)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",p(f));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 f=="string"&&y.d.D(f)},nn.preinit=function(f,g){if(typeof f=="string"&&f?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(f)),typeof f=="string"&&g&&typeof g.as=="string"){var V=g.as,$=d(V,g.crossOrigin),F=typeof g.integrity=="string"?g.integrity:void 0,T=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;V==="style"?y.d.S(f,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:$,integrity:F,fetchPriority:T}):V==="script"&&y.d.X(f,{crossOrigin:$,integrity:F,fetchPriority:T,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},nn.preinitModule=function(f,g){var V="";if(typeof f=="string"&&f||(V+=" The `href` argument encountered was "+p(f)+"."),g!==void 0&&typeof g!="object"?V+=" The `options` argument encountered was "+p(g)+".":g&&"as"in g&&g.as!=="script"&&(V+=" The `as` option encountered was "+v(g.as)+"."),V)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",V);else switch(V=g&&typeof g.as=="string"?g.as:"script",V){case"script":break;default:V=v(V),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)',V,f)}typeof f=="string"&&(typeof g=="object"&&g!==null?(g.as==null||g.as==="script")&&(V=d(g.as,g.crossOrigin),y.d.M(f,{crossOrigin:V,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})):g==null&&y.d.M(f))},nn.preload=function(f,g){var V="";if(typeof f=="string"&&f||(V+=" The `href` argument encountered was "+p(f)+"."),g==null||typeof g!="object"?V+=" The `options` argument encountered was "+p(g)+".":typeof g.as=="string"&&g.as||(V+=" The `as` option encountered was "+p(g.as)+"."),V&&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',V),typeof f=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){V=g.as;var $=d(V,g.crossOrigin);y.d.L(f,V,{crossOrigin:$,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})}},nn.preloadModule=function(f,g){var V="";typeof f=="string"&&f||(V+=" The `href` argument encountered was "+p(f)+"."),g!==void 0&&typeof g!="object"?V+=" The `options` argument encountered was "+p(g)+".":g&&"as"in g&&typeof g.as!="string"&&(V+=" The `as` option encountered was "+p(g.as)+"."),V&&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',V),typeof f=="string"&&(g?(V=d(g.as,g.crossOrigin),y.d.m(f,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:V,integrity:typeof g.integrity=="string"?g.integrity:void 0})):y.d.m(f))},nn.requestFormReset=function(f){y.d.r(f)},nn.unstable_batchedUpdates=function(f,g){return f(g)},nn.useFormState=function(f,g,V){return N().useFormState(f,g,V)},nn.useFormStatus=function(){return N().useHostTransitionStatus()},nn.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}(),nn}var EN;function u1(){return EN||(EN=1,Eh.exports=YE()),Eh.exports}var DN;function GE(){if(DN)return Nc;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 i(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=Xt(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=Xt(e)?e.slice():qe({},e);return s+1===t.length?(o[n[s]]=o[r],Xt(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=Xt(e)?e.slice():qe({},e);return n+1===t.length?(Xt(r)?r.splice(s,1):delete r[s],r):(r[s]=p(e[s],t,n+1),r)}function v(){return!1}function N(){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 A(){}function f(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function g(e,t,n,s){return new kw(e,t,n,s)}function V(e,t){e.context===no&&(Gf(e.current,2,t,e,null,null),_a())}function $(e,t){if(es!==null){var n=t.staleFamilies;t=t.updatedFamilies,ji(),cm(e.current,t,n),_a()}}function F(e){es=e}function T(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Y(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 ne(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 J(e){if(Y(e)!==e)throw Error("Unable to find node on an unmounted component.")}function ie(e){var t=e.alternate;if(!t){if(t=Y(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 J(r),e;if(o===s)return J(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,m=r.child;m;){if(m===n){u=!0,n=r,s=o;break}if(m===s){u=!0,s=r,n=o;break}m=m.sibling}if(!u){for(m=o.child;m;){if(m===n){u=!0,n=o,s=r;break}if(m===s){u=!0,s=o,n=r;break}m=m.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 te(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=te(e),t!==null)return t;e=e.sibling}return null}function ue(e){return e===null||typeof e!="object"?null:(e=_g&&e[_g]||e["@@iterator"],typeof e=="function"?e:null)}function pe(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===JS?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case $a:return"Fragment";case Jf:return"Profiler";case ku: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 Ga:return"Portal";case Hs:return(e.displayName||"Context")+".Provider";case Wf:return(e._context.displayName||"Context")+".Consumer";case Mi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case zu:return t=e.displayName||null,t!==null?t:pe(e.type)||"Memo";case Fn:t=e._payload,e=e._init;try{return pe(e(t))}catch{}}return null}function Z(e){return typeof e.tag=="number"?K(e):typeof e.name=="string"?e.name:null}function K(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 pe(t);case 8:return t===ku?"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 K(e.return)}return null}function ve(e){return{current:e}}function re(e,t){0>ur?console.error("Unexpected pop."):(t!==rp[ur]&&console.error("Unexpected Fiber popped."),e.current=sp[ur],sp[ur]=null,rp[ur]=null,ur--)}function xe(e,t,n){ur++,sp[ur]=e.current,rp[ur]=n,e.current=t}function I(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 Ue(e,t){xe(Jr,t,e),xe(Pi,e,e),xe(Kr,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?fg(t):wr;break;default:if(n=t.tagName,t=t.namespaceURI)t=fg(t),t=pg(t,n);else switch(n){case"svg":t=Cl;break;case"math":t=Sd;break;default:t=wr}}n=n.toLowerCase(),n=Sb(null,n),n={context:t,ancestorInfo:n},re(Kr,e),xe(Kr,n,e)}function Ve(e){re(Kr,e),re(Pi,e),re(Jr,e)}function z(){return I(Kr.current)}function O(e){e.memoizedState!==null&&xe(Hu,e,e);var t=I(Kr.current),n=e.type,s=pg(t.context,n);n=Sb(t.ancestorInfo,n),s={context:s,ancestorInfo:n},t!==s&&(xe(Pi,e,e),xe(Kr,s,e))}function B(e){Pi.current===e&&(re(Kr,e),re(Pi,e)),Hu.current===e&&(re(Hu,e),xc._currentValue=pa)}function me(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function w(e){try{return G(e),!1}catch{return!0}}function G(e){return""+e}function X(e,t){if(w(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,me(e)),G(e)}function oe(e,t){if(w(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,me(e)),G(e)}function Ee(e){if(w(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.",me(e)),G(e)}function Le(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{Ia=t.inject(e),Wt=t}catch(n){console.error("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function ge(e){if(typeof oj=="function"&&aj(e),Wt&&typeof Wt.setStrictMode=="function")try{Wt.setStrictMode(Ia,e)}catch(t){Bs||(Bs=!0,console.error("React instrumentation encountered an error: %s",t))}}function Je(e){de=e}function Te(){de!==null&&typeof de.markCommitStopped=="function"&&de.markCommitStopped()}function We(e){de!==null&&typeof de.markComponentRenderStarted=="function"&&de.markComponentRenderStarted(e)}function pt(){de!==null&&typeof de.markComponentRenderStopped=="function"&&de.markComponentRenderStopped()}function rn(e){de!==null&&typeof de.markRenderStarted=="function"&&de.markRenderStarted(e)}function An(){de!==null&&typeof de.markRenderStopped=="function"&&de.markRenderStopped()}function Us(e,t){de!==null&&typeof de.markStateUpdateScheduled=="function"&&de.markStateUpdateScheduled(e,t)}function kr(e){return e>>>=0,e===0?32:31-(lj(e)/ij|0)|0}function Ro(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 St(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 on(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 m=s&134217727;return m!==0?(s=m&~o,s!==0?r=St(s):(u&=m,u!==0?r=St(u):n||(n=m&~e,n!==0&&(r=St(n))))):(m=s&~o,m!==0?r=St(m):u!==0?r=St(u):n||(n=s&~e,n!==0&&(r=St(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 ds(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Mn(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 He(){var e=_u;return _u<<=1,(_u&4194048)===0&&(_u=256),e}function Js(){var e=Bu;return Bu<<=1,(Bu&62914560)===0&&(Bu=4194304),e}function Pt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function an(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ua(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 m=e.entanglements,b=e.expirationTimes,x=e.hiddenUpdates;for(n=u&~n;0<n;){var P=31-ln(n),_=1<<P;m[P]=0,b[P]=-1;var M=x[P];if(M!==null)for(x[P]=null,P=0;P<M.length;P++){var L=M[P];L!==null&&(L.lane&=-536870913)}n&=~_}s!==0&&Vo(e,s,0),o!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=o&~(u&~t))}function Vo(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var s=31-ln(t);e.entangledLanes|=t,e.entanglements[s]=e.entanglements[s]|1073741824|n&4194090}function Ws(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var s=31-ln(n),r=1<<s;r&t|e[s]&t&&(e[s]|=t),n&=~r}}function Ao(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 zr(e,t,n){if(hs)for(e=e.pendingUpdatersLaneMap;0<n;){var s=31-ln(n),r=1<<s;e[s].add(t),n&=~r}}function er(e,t){if(hs)for(var n=e.pendingUpdatersLaneMap,s=e.memoizedUpdaters;0<t;){var r=31-ln(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,Jn<e?Ls<e?(e&134217727)!==0?mr:Lu:Ls:Jn}function Hr(){var e=rt.p;return e!==0?e:(e=window.event,e===void 0?mr:Mg(e.type))}function On(e,t){var n=rt.p;try{return rt.p=e,t()}finally{rt.p=n}}function Ts(e){delete e[en],delete e[jn],delete e[cp],delete e[cj],delete e[uj]}function kn(e){var t=e[en];if(t)return t;for(var n=e.parentNode;n;){if(t=n[eo]||n[en]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=yg(e);e!==null;){if(n=e[en])return n;e=yg(e)}return t}e=n,n=e.parentNode}return null}function xn(e){if(e=e[en]||e[eo]){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 R(e){e[Oi]=!0}function W(e,t){le(e,t),le(e+"Capture",t)}function le(e,t){Xo[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Xo[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 we(e,t){dj[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 ke(e){return dr.call(Fg,e)?!0:dr.call(qg,e)?!1:mj.test(e)?Fg[e]=!0:(qg[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Me(e,t,n){if(ke(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:(X(n,t),e===""+n?n:e)}}function ce(e,t,n){if(ke(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}}X(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}X(n,t),e.setAttribute(t,""+n)}}function et(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}X(s,n),e.setAttributeNS(t,n,""+s)}}function jt(){}function _r(){if(ki===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:jt,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ki++}function Tt(){if(ki--,ki===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>ki&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function gt(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 Br(e,t){if(!e||mp)return"";var n=fp.get(e);if(n!==void 0)return n;mp=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var s=null;s=H.H,H.H=null,_r();try{var r={DetermineComponentFrameRoot:function(){try{if(t){var M=function(){throw Error()};if(Object.defineProperty(M.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(M,[])}catch(he){var L=he}Reflect.construct(e,[],M)}else{try{M.call()}catch(he){L=he}e.call(M.prototype)}}else{try{throw Error()}catch(he){L=he}(M=e())&&typeof M.catch=="function"&&M.catch(function(){})}}catch(he){if(he&&L&&typeof he.stack=="string")return[he.stack,L.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(),m=u[0],b=u[1];if(m&&b){var x=m.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"&&fp.set(e,_),_}while(1<=o&&0<=u);break}}}finally{mp=!1,H.H=s,Tt(),Error.prepareStackTrace=n}return x=(x=e?e.displayName||e.name:"")?gt(x):"",typeof e=="function"&&fp.set(e,x),x}function gn(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 zn(e){switch(e.tag){case 26:case 27:case 5:return gt(e.type);case 16:return gt("Lazy");case 13:return gt("Suspense");case 19:return gt("SuspenseList");case 0:case 15:return Br(e.type,!1);case 11:return Br(e.type.render,!1);case 1:return Br(e.type,!0);case 31:return gt("Activity");default:return""}}function Kl(e){try{var t="";do{t+=zn(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,m=gt(r.name+(u?" ["+u+"]":""));t=o+m}}e=e.return}while(e);return t}catch(b){return`
71
+ Error generating stack: `+b.message+`
72
+ `+b.stack}}function Rs(e){return(e=e?e.displayName||e.name:"")?gt(e):""}function Jl(){if(Yn===null)return null;var e=Yn._debugOwner;return e!=null?Z(e):null}function bw(){if(Yn===null)return"";var e=Yn;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=gt(e.type);break;case 13:t+=gt("Suspense");break;case 19:t+=gt("SuspenseList");break;case 31:t+=gt("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Rs(e.type));break;case 11:e._debugOwner||t!==""||(t+=Rs(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=gn(s)),s!==""&&(t+=`
73
+ `+s))}else if(e.debugStack!=null){var r=e.debugStack;(e=e.owner)&&r&&(t+=`
74
+ `+gn(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 m=Yn;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(m)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Zd(e){H.getCurrentStack=e===null?null:bw,qs=!1,Yn=e}function In(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Ee(e),e;default:return""}}function cb(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function vw(e){var t=cb(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Ee(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){Ee(u),s=""+u,o.call(this,u)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return s},setValue:function(u){Ee(u),s=""+u},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function zc(e){e._valueTracker||(e._valueTracker=vw(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 Hc(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 Xn(e){return e.replace(fj,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",Jl()||"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",Jl()||"A component",t.type),Jg=!0)}function Kd(e,t,n,s,r,o,u,m){e.name="",u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"?(X(u,"type"),e.type=u):e.removeAttribute("type"),t!=null?u==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+In(t)):e.value!==""+In(t)&&(e.value=""+In(t)):u!=="submit"&&u!=="reset"||e.removeAttribute("value"),t!=null?Jd(e,u,In(t)):n!=null?Jd(e,u,In(n)):s!=null&&e.removeAttribute("value"),r==null&&o!=null&&(e.defaultChecked=!!o),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?(X(m,"name"),e.name=""+In(m)):e.removeAttribute("name")}function mb(e,t,n,s,r,o,u,m){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(X(o,"type"),e.type=o),t!=null||n!=null){if(!(o!=="submit"&&o!=="reset"||t!=null))return;n=n!=null?""+In(n):"",t=t!=null?""+In(t):n,m||t===e.value||(e.value=t),e.defaultValue=t}s=s??r,s=typeof s!="function"&&typeof s!="symbol"&&!!s,e.checked=m?e.checked:!!s,e.defaultChecked=!!s,u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(X(u,"name"),e.name=u)}function Jd(e,t,n){t==="number"&&Hc(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function fb(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?Kf.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=Jl();return e?`
77
+
78
+ Check the render method of \``+e+"`.":""}function Ta(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=""+In(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=Xt(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",Jl()||"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=""+In(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+In(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(Xt(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=In(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 Hn(e){return" "+" ".repeat(e)}function Ra(e){return"+ "+" ".repeat(e)}function Mo(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 Wl(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 _c(e,t,n){var s=120-2*n;if(t===null)return Ra(n)+Wl(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)),Ra(n)+Wl(e,s)+`
80
+ `+Mo(n)+Wl(t,s)+`
81
+ `}return Hn(n)+Wl(e,s)+`
82
+ `}function Wd(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,n){return n})}function ei(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(Xt(e))return"[...]";if(e.$$typeof===Zr)return(t=pe(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=ei(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 Va(e,t){return typeof e!="string"||ay.test(e)?"{"+ei(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function em(e,t,n){var s=120-n.length-e.length,r=[],o;for(o in t)if(t.hasOwnProperty(o)&&o!=="children"){var u=Va(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 xw(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,m=ei(e[o],u);t.hasOwnProperty(o)?(u=ei(t[o],u),s+=Ra(n)+o+": "+m+`
89
+ `,s+=Mo(n)+o+": "+u+`
90
+ `):s+=Ra(n)+o+": "+m+`
91
+ `}for(var b in r)r.hasOwnProperty(b)&&(e=ei(r[b],120-2*n-b.length-2),s+=Mo(n)+b+": "+e+`
92
+ `);return s}function gw(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+=em(e,t,Hn(s));else{for(var u in t)if(t.hasOwnProperty(u)&&u!=="children"){var m=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=Va(x,m);m=Va(b,m),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<m.indexOf("..."))?r+=Hn(s+1)+u+`={{
93
+ `+xw(x,b,s+2)+Hn(s+1)+`}}
94
+ `:(r+=Ra(s+1)+u+"="+P+`
95
+ `,r+=Mo(s+1)+u+"="+m+`
96
+ `)}else r+=Hn(s+1)+u+"="+Va(t[u],m)+`
97
+ `}o.forEach(function(_){if(_!=="children"){var M=120-2*(s+1)-_.length-1;r+=Mo(s+1)+_+"="+Va(n[_],M)+`
98
+ `}}),r=r===""?Hn(s)+"<"+e+`>
99
+ `:Hn(s)+"<"+e+`
100
+ `+r+Hn(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+=_c(o,""+e,s+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(r=e==null?r+_c(""+t,null,s+1):r+_c(""+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 Hn(t)+"<"+n+`>
102
+ `}function tm(e,t){var n=gb(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return Hn(t)+`...
103
+ `+tm(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+=Hn(t)+"<"+o+`>
104
+ `,t++)}if(s="",r=e.fiber.pendingProps,e.fiber.tag===6)s=_c(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,m="";for(x in r)if(r.hasOwnProperty(x)&&x!=="children"){var b=Va(r[x],15);if(u-=x.length+b.length+2,0>u){m+=" ...";break}m+=" "+x+"="+b}s=Hn(s)+"<"+o+m+`>
105
+ `,t++}else e.serverProps===null?(s=em(o,r,Ra(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=gw(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+=tm(u,t),o++):x+=Nb(r,t),r=r.sibling;for(r&&0<e.children.length&&(x+=Hn(t)+`...
106
+ `),r=e.serverTail,e.serverProps===null&&t--,e=0;e<r.length;e++)o=r[e],x=typeof o=="string"?x+(Mo(t)+Wl(o,120-2*t)+`
107
+ `):x+em(o.type,o.props,Mo(t));return n+s+x}function nm(e){try{return`
108
+
109
+ `+tm(e,0)}catch{return""}}function wb(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?nm(r).replaceAll(/^[+-]/gm,">"):""}function Sb(e,t){var n=qe({},e||iy),s={tag:t};return ly.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),hj.indexOf(t)!==-1&&(n.pTagInButtonScope=null),pj.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 bj.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 yw(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 sm(e,t){t=t||iy;var n=t.current;if(t=(n=jb(e,n&&n.tag,t.implicitRootScope)?null:n)?null:yw(e,t),t=n||t,!t)return!0;var s=t.tag;if(t=String(!!n)+"|"+e+"|"+s,qu[t])return!1;qu[t]=!0;var r=(t=Yn)?Eb(t.return,s):null,o=t!==null&&r!==null?wb(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 Bc(e,t,n){if(n||jb("#text",t,!1))return!0;if(n="#text|"+t,qu[n])return!1;qu[n]=!0;var s=(n=Yn)?Eb(n,t):null;return n=n!==null&&s!==null?wb(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 ti(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function Nw(e){return e.replace(gj,function(t,n){return n.toUpperCase()})}function Db(e,t,n){var s=t.indexOf("--")===0;s||(-1<t.indexOf("-")?Xa.hasOwnProperty(t)&&Xa[t]||(Xa[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,Nw(t.replace(xj,"ms-")))):vj.test(t)?Xa.hasOwnProperty(t)&&Xa[t]||(Xa[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)?my||(my=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||fy||(fy=!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:(oe(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function Cb(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 m in t)if(t.hasOwnProperty(m)&&(!n||n[m]!==t[m]))for(r=pp[m]||[m],o=0;o<r.length;o++)s[r[o]]=m;m={};for(var b in t)for(r=pp[b]||[b],o=0;o<r.length;o++)m[r[o]]=b;b={};for(var x in s)if(r=s[x],(o=m[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 M in t)x=t[M],t.hasOwnProperty(M)&&n[M]!==x&&Db(e,M,x)}else for(s in t)t.hasOwnProperty(s)&&Db(e,s,t[s])}function ni(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 yj.get(e)||e}function ww(e,t){if(dr.call(Ka,t)&&Ka[t])return!0;if(wj.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),Ka[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Ka[t]=!0}if(Nj.test(t)){if(e=t.toLowerCase(),e=hy.hasOwnProperty(e)?e:null,e==null)return Ka[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Ka[t]=!0)}return!0}function Sw(e,t){var n=[],s;for(s in t)ww(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 jw(e,t,n,s){if(dr.call(cn,t)&&cn[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."),cn[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),cn[t]=!0;if(vy.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),cn[t]=!0}else if(vy.test(t))return Sj.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),cn[t]=!0;if(jj.test(t)||Ej.test(t))return!0;if(r==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),cn[t]=!0;if(r==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),cn[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),cn[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),cn[t]=!0;if(Yu.hasOwnProperty(r)){if(r=Yu[r],r!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,r),cn[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),cn[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),cn[t]=!0)}case"function":case"symbol":return cn[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),cn[t]=!0}}return!0}function Ew(e,t,n){var s=[],r;for(r in t)jw(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 si(e){return Dj.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function rm(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Tb(e){var t=xn(e);if(t&&(e=t.stateNode)){var n=e[jn]||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(X(t,"name"),n=n.querySelectorAll('input[name="'+Xn(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var s=n[t];if(s!==e&&s.form===e.form){var r=s[jn]||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&&Ta(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,(Ja!==null||Wa!==null)&&(_a(),Ja&&(t=Ja,e=Wa,Wa=Ja=null,Tb(t),e)))for(t=0;t<e.length;t++)Tb(e[t])}}function ri(e,t){var n=e.stateNode;if(n===null)return null;var s=n[jn]||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 Vb(){if(Gu)return Gu;var e,t=xp,n=t.length,s,r="value"in to?to.value:to.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 Gu=r.slice(e,1<s?1-s:void 0)}function Lc(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 qc(){return!0}function Ab(){return!1}function yn(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 m in e)e.hasOwnProperty(m)&&(n=e[m],this[m]=n?n(o):o[m]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?qc:Ab,this.isPropagationStopped=Ab,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=qc)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=qc)},persist:function(){},isPersistent:qc}),t}function Dw(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=_j[e])?!!t[e]:!1}function om(){return Dw}function Mb(e,t){switch(e){case"keyup":return Kj.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Ny;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Pb(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function Cw(e,t){switch(e){case"compositionend":return Pb(t);case"keypress":return t.which!==Sy?null:(Ey=!0,jy);case"textInput":return e=t.data,e===jy&&Ey?null:e;default:return null}}function Uw(e,t){if(el)return e==="compositionend"||!wp&&Mb(e,t)?(e=Vb(),Gu=xp=to=null,el=!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 wy&&t.locale!=="ko"?null:t.data;default:return null}}function Ob(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Wj[e.type]:t==="textarea"}function Tw(e){if(!Fs)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){Ja?Wa?Wa.push(s):Wa=[s]:Ja=s,t=Du(t,"onChange"),0<t.length&&(n=new $u("onChange","change",null,n,s),e.push({event:n,listeners:t}))}function Rw(e){sg(e,0)}function Fc(e){var t=ms(e);if(ub(t))return e}function zb(e,t){if(e==="change")return t}function Hb(){qi&&(qi.detachEvent("onpropertychange",_b),Fi=qi=null)}function _b(e){if(e.propertyName==="value"&&Fc(Fi)){var t=[];kb(t,Fi,e,rm(e)),Rb(Rw,t)}}function Vw(e,t,n){e==="focusin"?(Hb(),qi=t,Fi=n,qi.attachEvent("onpropertychange",_b)):e==="focusout"&&Hb()}function Aw(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Fc(Fi)}function Mw(e,t){if(e==="click")return Fc(t)}function Pw(e,t){if(e==="input"||e==="change")return Fc(t)}function Ow(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function oi(e,t){if(un(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(!dr.call(t,r)||!un(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=Hc(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=Hc(e.document)}return t}function am(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Yb(e,t,n){var s=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;jp||tl==null||tl!==Hc(s)||(s=tl,"selectionStart"in s&&am(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}),Yi&&oi(Yi,s)||(Yi=s,s=Du(Sp,"onSelect"),0<s.length&&(t=new $u("onSelect","select",null,t,n),e.push({event:t,listeners:s}),t.target=tl)))}function Po(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function Oo(e){if(Ep[e])return Ep[e];if(!nl[e])return e;var t=nl[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Cy)return Ep[e]=t[n];return e}function fs(e,t){Ay.set(e,t),W(t,[e])}function _n(e,t){if(typeof e=="object"&&e!==null){var n=Cp.get(e);return n!==void 0?n:(t={value:e,source:t,stack:Kl(t)},Cp.set(e,t),t)}return{value:e,source:t,stack:Kl(t)}}function Yc(){for(var e=sl,t=Up=sl=0;t<e;){var n=Wn[t];Wn[t++]=null;var s=Wn[t];Wn[t++]=null;var r=Wn[t];Wn[t++]=null;var o=Wn[t];if(Wn[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 Gc(e,t,n,s){Wn[sl++]=e,Wn[sl++]=t,Wn[sl++]=n,Wn[sl++]=s,Up|=s,e.lanes|=s,e=e.alternate,e!==null&&(e.lanes|=s)}function lm(e,t,n,s){return Gc(e,t,n,s),$c(e)}function Nn(e,t){return Gc(e,null,null,t),$c(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&Iu||(r=!0)),e=o,o=o.return;return e.tag===3?(o=e.stateNode,r&&t!==null&&(r=31-ln(n),e=o.hiddenUpdates,s=e[r],s===null?e[r]=[t]:s.push(t),t.lane=n|536870912),o):null}function $c(e){if(mc>wE)throw ca=mc=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.");ca>SE&&(ca=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 ko(e){if(es===null)return e;var t=es(e);return t===void 0?e:t.current}function im(e){if(es===null)return e;var t=es(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=ko(e.render),e.render!==t)?(t={$$typeof:Mi,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function $b(e,t){if(es===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===Fn)&&(s=!0);break;case 11:(r===Mi||r===Fn)&&(s=!0);break;case 14:case 15:(r===zu||r===Fn)&&(s=!0);break;default:return!1}return!!(s&&(e=es(n),e!==void 0&&e===es(t)))}function Qb(e){es!==null&&typeof WeakSet=="function"&&(rl===null&&(rl=new WeakSet),rl.add(e))}function cm(e,t,n){var s=e.alternate,r=e.child,o=e.sibling,u=e.tag,m=e.type,b=null;switch(u){case 0:case 15:case 1:b=m;break;case 11:b=m.render}if(es===null)throw Error("Expected resolveFamily to be set during hot reload.");var x=!1;m=!1,b!==null&&(b=es(b),b!==void 0&&(n.has(b)?m=!0:t.has(b)&&(u===1?m=!0:x=!0))),rl!==null&&(rl.has(e)||s!==null&&rl.has(s))&&(m=!0),m&&(e._debugNeedsRemount=!0),(m||x)&&(s=Nn(e,2),s!==null&&Vt(s,e,2)),r===null||m||cm(r,t,n),o!==null&&cm(o,t,n)}function kw(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,Py||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function um(e){return e=e.prototype,!(!e||!e.isReactComponent)}function tr(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=ko(e.type);break;case 1:n.type=ko(e.type);break;case 11:n.type=im(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 dm(e,t,n,s,r,o){var u=0,m=e;if(typeof e=="function")um(e)&&(u=1),m=ko(m);else if(typeof e=="string")u=z(),u=kS(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 $a:return zo(n.children,r,o,t);case ku:u=8,r|=tn,r|=bs;break;case Jf: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|Zt),t.elementType=Jf,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 ZS:case Hs:u=10;break e;case Wf:u=9;break e;case Mi:u=11,m=im(m);break e;case zu:u=14;break e;case Fn:u=16,m=null;break e}m="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(m+=" 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":Xt(e)?n="array":e!==void 0&&e.$$typeof===Zr?(n="<"+(pe(e.type)||"Unknown")+" />",m=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(u=s?Z(s):null)&&(m+=`
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+"."+m)),m=null}return t=g(u,n,t,r),t.elementType=e,t.type=m,t.lanes=o,t._debugOwner=s,t}function Qc(e,t,n){return t=dm(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function zo(e,t,n,s){return e=g(7,e,s,t),e.lanes=n,e}function mm(e,t,n){return e=g(6,e,null,t),e.lanes=n,e}function fm(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 Ho(e,t){_o(),ol[al++]=Zu,ol[al++]=Xu,Xu=e,Zu=t}function Xb(e,t,n){_o(),ts[ns++]=pr,ts[ns++]=hr,ts[ns++]=Ko,Ko=e;var s=pr;e=hr;var r=32-ln(s)-1;s&=~(1<<r),n+=1;var o=32-ln(t)+r;if(30<o){var u=r-r%5;o=(s&(1<<u)-1).toString(32),s>>=u,r-=u,pr=1<<32-ln(t)+r|n<<r|s,hr=o+e}else pr=1<<o|n<<r|s,hr=e}function pm(e){_o(),e.return!==null&&(Ho(e,1),Xb(e,1,0))}function hm(e){for(;e===Xu;)Xu=ol[--al],ol[al]=null,Zu=ol[--al],ol[al]=null;for(;e===Ko;)Ko=ts[--ns],ts[ns]=null,hr=ts[--ns],ts[ns]=null,pr=ts[--ns],ts[ns]=null}function _o(){nt||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Bo(e,t){if(e.return===null){if(ss===null)ss={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(ss.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");ss.distanceFromLeaf>t&&(ss.distanceFromLeaf=t)}return ss}var n=Bo(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 bm(e,t){br||(e=Bo(e,0),e.serverProps=null,t!==null&&(t=vg(t),e.serverTail.push(t)))}function Lo(e){var t="",n=ss;throw n!==null&&(ss=null,t=nm(n)),ii(_n(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)),Tp}function Zb(e){var t=e.stateNode,n=e.type,s=e.memoizedProps;switch(t[en]=e,t[jn]=s,Pf(n,s),n){case"dialog":Xe("cancel",t),Xe("close",t);break;case"iframe":case"object":case"embed":Xe("load",t);break;case"video":case"audio":for(n=0;n<pc.length;n++)Xe(pc[n],t);break;case"source":Xe("error",t);break;case"img":case"image":case"link":Xe("error",t),Xe("load",t);break;case"details":Xe("toggle",t);break;case"input":we("input",s),Xe("invalid",t),db(t,s),mb(t,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0),zc(t);break;case"option":fb(t,s);break;case"select":we("select",s),Xe("invalid",t),hb(t,s);break;case"textarea":we("textarea",s),Xe("invalid",t),bb(t,s),xb(t,s.value,s.defaultValue,s.children),zc(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&&(Xe("beforetoggle",t),Xe("toggle",t)),s.onScroll!=null&&Xe("scroll",t),s.onScrollEnd!=null&&Xe("scrollend",t),s.onClick!=null&&(t.onclick=Cu),t=!0):t=!1,t||Lo(e)}function Kb(e){for(dn=e.return;dn;)switch(dn.tag){case 5:case 13:Ys=!1;return;case 27:case 3:Ys=!0;return;default:dn=dn.return}}function ai(e){if(e!==dn)return!1;if(!nt)return Kb(e),nt=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||_f(e.type,e.memoizedProps)),n=!n),n&&Dt){for(n=Dt;n;){var s=Bo(e,0),r=vg(n);s.serverTail.push(r),n=r.type==="Suspense"?gg(n):Kn(n.nextSibling)}Lo(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.");Dt=gg(e)}else t===27?(t=Dt,Xr(e.type)?(e=bh,bh=null,Dt=e):Dt=t):Dt=dn?Kn(e.stateNode.nextSibling):null;return!0}function li(){Dt=dn=null,br=nt=!1}function Jb(){var e=Jo;return e!==null&&(pn===null?pn=e:pn.push.apply(pn,e),Jo=null),e}function ii(e){Jo===null?Jo=[e]:Jo.push(e)}function Wb(){var e=ss;if(e!==null){ss=null;for(var t=nm(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 Ic(){ll=Ku=null,il=!1}function Lr(e,t,n){xe(Rp,t._currentValue,e),t._currentValue=n,xe(Vp,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 nr(e,t){e._currentValue=Rp.current;var n=Vp.current;re(Vp,t),e._currentRenderer=n,re(Rp,t)}function vm(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 xm(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 m=o;o=r;for(var b=0;b<t.length;b++)if(m.context===t[b]){o.lanes|=n,m=o.alternate,m!==null&&(m.lanes|=n),vm(o.return,n,e),s||(u=null);break e}o=m.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),vm(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 ci(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 m=r.type;un(r.pendingProps.value,u.value)||(e!==null?e.push(m):e=[m])}}else if(r===Hu.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(xc):e=[xc])}r=r.return}e!==null&&xm(t,e,n,s),t.flags|=262144}function Xc(e){for(e=e.firstContext;e!==null;){if(!un(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function qo(e){Ku=e,ll=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function yt(e){return il&&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(Ku,e)}function Zc(e,t){return Ku===null&&qo(e),ev(e,t)}function ev(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},ll===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().");ll=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else ll=ll.next=t;return n}function gm(){return{controller:new lE,data:new Map,refCount:0}}function Fo(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 ui(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&&iE(cE,function(){e.controller.abort()})}function sr(){var e=Wo;return Wo=0,e}function Kc(e){var t=Wo;return Wo=e,t}function di(e){var t=Wo;return Wo+=e,t}function ym(e){En=cl(),0>e.actualStartTime&&(e.actualStartTime=En)}function Nm(e){if(0<=En){var t=cl()-En;e.actualDuration+=t,e.selfBaseDuration=t,En=-1}}function tv(e){if(0<=En){var t=cl()-En;e.actualDuration+=t,En=-1}}function Vs(){if(0<=En){var e=cl()-En;En=-1,Wo+=e}}function As(){En=cl()}function Jc(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function zw(e,t){if(Gi===null){var n=Gi=[];Ap=0,ea=Rf(),ul={status:"pending",value:void 0,then:function(s){n.push(s)}}}return Ap++,t.then(nv,nv),t}function nv(){if(--Ap===0&&Gi!==null){ul!==null&&(ul.status="fulfilled");var e=Gi;Gi=null,ea=0,ul=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Hw(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 wm(){var e=ta.current;return e!==null?e:ht.pooledCache}function Wc(e,t){t===null?xe(ta,ta.current,e):xe(ta,t.pool,e)}function sv(){var e=wm();return e===null?null:{parent:Ht._currentValue,pool:e}}function rv(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function ov(e){return e=e.status,e==="fulfilled"||e==="rejected"}function eu(){}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(eu,eu),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(eu,eu);else{if(e=ht,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 Wi=t,sd=!0,Ji}}function lv(){if(Wi===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Wi;return Wi=null,sd=!1,e}function iv(e){if(e===Ji||e===nd)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 Sm(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function jm(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 qr(e){return{lane:e,tag:Fy,payload:null,callback:null,next:null}}function Fr(e,t,n){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,Op===s&&!$y){var r=K(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(ot&fn)!==Gn?(r=s.pending,r===null?t.next=t:(t.next=r.next,r.next=t),s.pending=t,t=$c(e),Gb(e,null,n),t):(Gc(e,s,t,n),$c(e))}function mi(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,Ws(e,n)}}function tu(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=ul;if(e!==null)throw e}}function pi(e,t,n,s){kp=!1;var r=e.updateQueue;so=!1,Op=r.shared;var o=r.firstBaseUpdate,u=r.lastBaseUpdate,m=r.shared.pending;if(m!==null){r.shared.pending=null;var b=m,x=b.next;b.next=null,u===null?o=x:u.next=x,u=b;var P=e.alternate;P!==null&&(P=P.updateQueue,m=P.lastBaseUpdate,m!==u&&(m===null?P.firstBaseUpdate=x:m.next=x,P.lastBaseUpdate=b))}if(o!==null){var _=r.baseState;u=0,P=x=b=null,m=o;do{var M=m.lane&-536870913,L=M!==m.lane;if(L?(Ie&M)===M:(s&M)===M){M!==0&&M===ea&&(kp=!0),P!==null&&(P=P.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});e:{M=e;var he=m,Re=t,bt=n;switch(he.tag){case Yy:if(he=he.payload,typeof he=="function"){il=!0;var Ze=he.call(bt,_,Re);if(M.mode&tn){ge(!0);try{he.call(bt,_,Re)}finally{ge(!1)}}il=!1,_=Ze;break e}_=he;break e;case Pp:M.flags=M.flags&-65537|128;case Fy:if(Ze=he.payload,typeof Ze=="function"){if(il=!0,he=Ze.call(bt,_,Re),M.mode&tn){ge(!0);try{Ze.call(bt,_,Re)}finally{ge(!1)}}il=!1}else he=Ze;if(he==null)break e;_=qe({},_,he);break e;case Gy:so=!0}}M=m.callback,M!==null&&(e.flags|=64,L&&(e.flags|=8192),L=r.callbacks,L===null?r.callbacks=[M]:L.push(M))}else L={lane:M,tag:m.tag,payload:m.payload,callback:m.callback,next:null},P===null?(x=P=L,b=_):P=P.next=L,u|=M;if(m=m.next,m===null){if(m=r.shared.pending,m===null)break;L=m,m=L.next,L.next=null,r.lastBaseUpdate=L,r.shared.pending=null}}while(!0);P===null&&(b=_),r.baseState=b,r.firstBaseUpdate=x,r.lastBaseUpdate=P,o===null&&(r.shared.lanes=0),lo|=u,e.lanes=u,e.memoizedState=_}Op=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 _w(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=Qs;xe(rd,n,e),xe(dl,t,e),Qs=n|t.baseLanes}function Em(e){xe(rd,Qs,e),xe(dl,dl.current,e)}function Dm(e){Qs=rd.current,re(dl,e),re(rd,e)}function Qe(){var e=k;as===null?as=[e]:as.push(e)}function ee(){var e=k;if(as!==null&&(xr++,as[xr]!==e)){var t=K(Ae);if(!Qy.has(t)&&(Qy.add(t),as!==null)){for(var n="",s=0;s<=xr;s++){var r=as[s],o=s===xr?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 Aa(e){e==null||Xt(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.",k,typeof e)}function nu(){var e=K(Ae);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 Rt(){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 Cm(e,t){if(tc)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.",k),!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`,k,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!un(e[n],t[n]))return!1;return!0}function Um(e,t,n,s,r,o){ro=o,Ae=t,as=e!==null?e._debugHookTypes:null,xr=-1,tc=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(o=K(Ae),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:as!==null?Zy:Hp,sa=o=(t.mode&tn)!==vt;var u=Bp(n,s,r);if(sa=!1,fl&&(u=Tm(t,n,s,r)),o){ge(!0);try{u=Tm(t,n,s,r)}finally{ge(!1)}}return mv(e,t),u}function mv(e,t){t._debugHookTypes=as,t.dependencies===null?vr!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:vr}):t.dependencies._debugThenableState=vr,H.H=ld;var n=ft!==null&&ft.next!==null;if(ro=0,as=k=kt=ft=Ae=null,xr=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),od=!1,ec=0,vr=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Yt||(e=e.dependencies,e!==null&&Xc(e)&&(Yt=!0)),sd?(sd=!1,e=!0):e=!1,e&&(t=K(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 Tm(e,t,n,s){Ae=e;var r=0;do{if(fl&&(vr=null),ec=0,fl=!1,r>=dE)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(r+=1,tc=!1,kt=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)}xr=-1,H.H=Ky,o=Bp(t,n,s)}while(fl);return o}function Bw(){var e=H.H,t=e.useState()[0];return t=typeof t.then=="function"?hi(t):t,e=e.useState()[0],(ft!==null?ft.memoizedState:null)!==e&&(Ae.flags|=1024),t}function Rm(){var e=ad!==0;return ad=0,e}function Vm(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&bs)!==vt?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function Am(e){if(od){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}od=!1}ro=0,as=kt=ft=Ae=null,xr=-1,k=null,fl=!1,ec=ad=0,vr=null}function wn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return kt===null?Ae.memoizedState=kt=e:kt=kt.next=e,kt}function it(){if(ft===null){var e=Ae.alternate;e=e!==null?e.memoizedState:null}else e=ft.next;var t=kt===null?Ae.memoizedState:kt.next;if(t!==null)kt=t,ft=e;else{if(e===null)throw Ae.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},kt===null?Ae.memoizedState=kt=e:kt=kt.next=e}return kt}function Mm(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function hi(e){var t=ec;return ec+=1,vr===null&&(vr=rv()),e=av(vr,e,t),t=Ae,(kt===null?t.memoizedState:kt.next)===null&&(t=t.alternate,H.H=t!==null&&t.memoizedState!==null?_p:Hp),e}function Yr(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return hi(e);if(e.$$typeof===Hs)return yt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Yo(e){var t=null,n=Ae.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var s=Ae.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=Mm(),Ae.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||tc)for(n=t.data[t.index]=Array(e),s=0;s<e;s++)n[s]=KS;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 ps(e,t){return typeof t=="function"?t(e):t}function Pm(e,t,n){var s=wn();if(n!==void 0){var r=n(t);if(sa){ge(!0);try{n(t)}finally{ge(!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=Yw.bind(null,Ae,e),[s.memoizedState,e]}function Ma(e){var t=it();return Om(t,ft,e)}function Om(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 m=u=null,b=null,x=t,P=!1;do{var _=x.lane&-536870913;if(_!==x.lane?(Ie&_)===_:(ro&_)===_){var M=x.revertLane;if(M===0)b!==null&&(b=b.next={lane:0,revertLane:0,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null}),_===ea&&(P=!0);else if((ro&M)===M){x=x.next,M===ea&&(P=!0);continue}else _={lane:0,revertLane:x.revertLane,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null},b===null?(m=b=_,u=o):b=b.next=_,Ae.lanes|=M,lo|=M;_=x.action,sa&&n(o,_),o=x.hasEagerState?x.eagerState:n(o,_)}else M={lane:_,revertLane:x.revertLane,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null},b===null?(m=b=M,u=o):b=b.next=M,Ae.lanes|=_,lo|=_;x=x.next}while(x!==null&&x!==t);if(b===null?u=o:b.next=m,!un(o,e.memoizedState)&&(Yt=!0,P&&(n=ul,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 bi(e){var t=it(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var 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);un(o,t.memoizedState)||(Yt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,s]}function km(e,t,n){var s=Ae,r=wn();if(nt){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var o=n();ml||o===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),ml=!0)}else{if(o=t(),ml||(n=t(),un(o,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),ml=!0)),ht===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Ie&124)!==0||fv(s,t,o)}return r.memoizedState=o,n={value:o,getSnapshot:t},r.queue=n,lu(hv.bind(null,s,n,e),[e]),s.flags|=2048,Oa(os|_t,au(),pv.bind(null,s,n,o,t),null),o}function su(e,t,n){var s=Ae,r=it(),o=nt;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(),!ml){var u=t();un(n,u)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),ml=!0)}(u=!un((ft||r).memoizedState,n))&&(r.memoizedState=n,Yt=!0),r=r.queue;var m=hv.bind(null,s,r,e);if(Sn(2048,_t,m,[e]),r.getSnapshot!==t||u||kt!==null&&kt.memoizedState.tag&os){if(s.flags|=2048,Oa(os|_t,au(),pv.bind(null,s,r,n,t),null),ht===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");o||(ro&124)!==0||fv(s,t,n)}return n}function fv(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ae.updateQueue,t===null?(t=Mm(),Ae.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!un(e,n)}catch{return!0}}function vv(e){var t=Nn(e,2);t!==null&&Vt(t,e,2)}function zm(e){var t=wn();if(typeof e=="function"){var n=e;if(e=n(),sa){ge(!0);try{n()}finally{ge(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ps,lastRenderedState:e},t}function Hm(e){e=zm(e);var t=e.queue,n=kv.bind(null,Ae,t);return t.dispatch=n,[e.memoizedState,n]}function _m(e){var t=wn();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Jm.bind(null,Ae,!0,n),n.dispatch=t,[e,t]}function xv(e,t){var n=it();return gv(n,ft,e,t)}function gv(e,t,n,s){return e.baseState=n,Om(e,ft,typeof s=="function"?s:ps)}function yv(e,t){var n=it();return ft!==null?gv(n,ft,e,t):(n.baseState=e,[e,n.queue.dispatch])}function Lw(e,t,n,s,r){if(du(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 m=n(r,s),b=H.S;b!==null&&b(u,m),wv(e,t,m)}catch(x){Bm(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),wv(e,t,u)}catch(x){Bm(e,t,x)}}function wv(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?(n.then(function(s){Sv(e,t,s)},function(s){return Bm(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.")):Sv(e,t,n)}function Sv(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 Bm(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 Pa(e,t){if(nt){var n=ht.formState;if(n!==null){e:{var s=Ae;if(nt){if(Dt){t:{for(var r=Dt,o=Ys;r.nodeType!==8;){if(!o){r=null;break t}if(r=Kn(r.nextSibling),r===null){r=null;break t}}o=r.data,r=o===mh||o===X0?r:null}if(r){Dt=Kn(r.nextSibling),s=r.data===mh;break e}}Lo(s)}s=!1}s&&(t=n[0])}}return n=wn(),n.memoizedState=n.baseState=t,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ev,lastRenderedState:t},n.queue=s,n=kv.bind(null,Ae,s),s.dispatch=n,s=zm(!1),o=Jm.bind(null,Ae,!1,s.queue),s=wn(),r={state:t,dispatch:null,action:e,pending:null},s.queue=r,n=Lw.bind(null,Ae,r,o,n),r.dispatch=n,s.memoizedState=e,[t,n,!1]}function ru(e){var t=it();return Dv(t,ft,e)}function Dv(e,t,n){if(t=Om(e,t,Ev)[0],e=Ma(ps)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var s=hi(t)}catch(u){throw u===Ji?nd:u}else s=t;t=it();var r=t.queue,o=r.dispatch;return n!==t.memoizedState&&(Ae.flags|=2048,Oa(os|_t,au(),qw.bind(null,r,n),null)),[s,o,e]}function qw(e,t){e.action=t}function ou(e){var t=it(),n=ft;if(n!==null)return Dv(t,n,e);it(),t=t.memoizedState,n=it();var s=n.queue.dispatch;return n.memoizedState=e,[t,s,!1]}function Oa(e,t,n,s){return e={tag:e,create:n,deps:s,inst:t,next:null},t=Ae.updateQueue,t===null&&(t=Mm(),Ae.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 au(){return{destroy:void 0,resource:void 0}}function Lm(e){var t=wn();return e={current:e},t.memoizedState=e}function Go(e,t,n,s){var r=wn();s=s===void 0?null:s,Ae.flags|=e,r.memoizedState=Oa(os|t,au(),n,s)}function Sn(e,t,n,s){var r=it();s=s===void 0?null:s;var o=r.memoizedState.inst;ft!==null&&s!==null&&Cm(s,ft.memoizedState.deps)?r.memoizedState=Oa(t,o,n,s):(Ae.flags|=e,r.memoizedState=Oa(os|t,o,n,s))}function lu(e,t){(Ae.mode&bs)!==vt&&(Ae.mode&My)===vt?Go(276826112,_t,e,t):Go(8390656,_t,e,t)}function qm(e,t){var n=4194308;return(Ae.mode&bs)!==vt&&(n|=134217728),Go(n,Kt,e,t)}function Cv(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 Fm(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;(Ae.mode&bs)!==vt&&(s|=134217728),Go(s,Kt,Cv.bind(null,t,e),n)}function iu(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,Sn(4,Kt,Cv.bind(null,t,e),n)}function Ym(e,t){return wn().memoizedState=[e,t===void 0?null:t],e}function cu(e,t){var n=it();t=t===void 0?null:t;var s=n.memoizedState;return t!==null&&Cm(t,s[1])?s[0]:(n.memoizedState=[e,t],e)}function Gm(e,t){var n=wn();t=t===void 0?null:t;var s=e();if(sa){ge(!0);try{e()}finally{ge(!1)}}return n.memoizedState=[s,t],s}function uu(e,t){var n=it();t=t===void 0?null:t;var s=n.memoizedState;if(t!==null&&Cm(t,s[1]))return s[0];if(s=e(),sa){ge(!0);try{e()}finally{ge(!1)}}return n.memoizedState=[s,t],s}function $m(e,t){var n=wn();return Qm(n,e,t)}function Uv(e,t){var n=it();return Rv(n,ft.memoizedState,e,t)}function Tv(e,t){var n=it();return ft===null?Qm(n,e,t):Rv(n,ft.memoizedState,e,t)}function Qm(e,t,n){return n===void 0||(ro&1073741824)!==0?e.memoizedState=t:(e.memoizedState=n,e=Vx(),Ae.lanes|=e,lo|=e,n)}function Rv(e,t,n,s){return un(n,t)?n:dl.current!==null?(e=Qm(e,n,s),un(e,t)||(Yt=!0),e):(ro&42)===0?(Yt=!0,e.memoizedState=n):(e=Vx(),Ae.lanes|=e,lo|=e,t)}function Vv(e,t,n,s,r){var o=rt.p;rt.p=o!==0&&o<Ls?o:Ls;var u=H.T,m={};H.T=m,Jm(e,!1,t,n),m._updatedFibers=new Set;try{var b=r(),x=H.S;if(x!==null&&x(m,b),b!==null&&typeof b=="object"&&typeof b.then=="function"){var P=Hw(b,s);vi(e,t,P,qn(e))}else vi(e,t,s,qn(e))}catch(_){vi(e,t,{then:function(){},status:"rejected",reason:_},qn(e))}finally{rt.p=o,H.T=u,u===null&&m._updatedFibers&&(e=m._updatedFibers.size,m._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 Im(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=Av(e).queue;Vv(e,r,t,pa,n===null?A:function(){return Mv(e),n(s)})}function Av(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:pa,baseState:pa,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ps,lastRenderedState:pa},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ps,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=Av(e).next.queue;vi(e,t,{},qn(e))}function Xm(){var e=zm(!1);return e=Vv.bind(null,Ae,e.queue,!0,!1),wn().memoizedState=e,[!1,e]}function Pv(){var e=Ma(ps)[0],t=it().memoizedState;return[typeof e=="boolean"?e:hi(e),t]}function Ov(){var e=bi(ps)[0],t=it().memoizedState;return[typeof e=="boolean"?e:hi(e),t]}function $o(){return yt(xc)}function Zm(){var e=wn(),t=ht.identifierPrefix;if(nt){var n=hr,s=pr;n=(s&~(1<<32-ln(s)-1)).toString(32)+n,t="«"+t+"R"+n,n=ad++,0<n&&(t+="H"+n.toString(32)),t+="»"}else n=uE++,t="«"+t+"r"+n.toString(32)+"»";return e.memoizedState=t}function Km(){return wn().memoizedState=Fw.bind(null,Ae)}function Fw(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var s=qn(n);e=qr(s);var r=Fr(n,e,s);r!==null&&(Vt(r,n,s),mi(r,n,s)),n=gm(),t!=null&&r!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:n};return}n=n.return}}function Yw(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=qn(e);var r={lane:s,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};du(e)?zv(t,r):(r=lm(e,t,r,s),r!==null&&(Vt(r,e,s),Hv(r,t,s))),Us(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=qn(e),vi(e,t,n,s),Us(e,s)}function vi(e,t,n,s){var r={lane:s,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(du(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=xs;try{var m=t.lastRenderedState,b=o(m,n);if(r.hasEagerState=!0,r.eagerState=b,un(b,m))return Gc(e,t,r,0),ht===null&&Yc(),!1}catch{}finally{H.H=u}}if(n=lm(e,t,r,s),n!==null)return Vt(n,e,s),Hv(n,t,s),!0}return!1}function Jm(e,t,n,s){if(H.T===null&&ea===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:Rf(),action:s,hasEagerState:!1,eagerState:null,next:null},du(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=lm(e,n,s,2),t!==null&&Vt(t,e,2);Us(e,2)}function du(e){var t=e.alternate;return e===Ae||t!==null&&t===Ae}function zv(e,t){fl=od=!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,Ws(e,n)}}function $t(e){var t=_e;return e!=null&&(_e=t===null?e:t.concat(e)),t}function mu(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=Qc(e,n.mode,0),t._debugInfo=_e,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=nc;return nc+=1,pl===null&&(pl=rv()),av(pl,e,t)}function xi(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function pu(e,t){throw t.$$typeof===XS?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 hu(e,t){var n=K(e)||"Component";m0[n]||(m0[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 bu(e,t){var n=K(e)||"Component";f0[n]||(f0[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(S,j){if(e){var C=S.deletions;C===null?(S.deletions=[j],S.flags|=16):C.push(j)}}function n(S,j){if(!e)return null;for(;j!==null;)t(S,j),j=j.sibling;return null}function s(S){for(var j=new Map;S!==null;)S.key!==null?j.set(S.key,S):j.set(S.index,S),S=S.sibling;return j}function r(S,j){return S=tr(S,j),S.index=0,S.sibling=null,S}function o(S,j,C){return S.index=C,e?(C=S.alternate,C!==null?(C=C.index,C<j?(S.flags|=67108866,j):C):(S.flags|=67108866,j)):(S.flags|=1048576,j)}function u(S){return e&&S.alternate===null&&(S.flags|=67108866),S}function m(S,j,C,q){return j===null||j.tag!==6?(j=mm(C,S.mode,q),j.return=S,j._debugOwner=S,j._debugTask=S._debugTask,j._debugInfo=_e,j):(j=r(j,C),j.return=S,j._debugInfo=_e,j)}function b(S,j,C,q){var ae=C.type;return ae===$a?(j=P(S,j,C.props.children,q,C.key),mu(C,j,S),j):j!==null&&(j.elementType===ae||$b(j,C)||typeof ae=="object"&&ae!==null&&ae.$$typeof===Fn&&oo(ae)===j.type)?(j=r(j,C.props),xi(j,C),j.return=S,j._debugOwner=C._owner,j._debugInfo=_e,j):(j=Qc(C,S.mode,q),xi(j,C),j.return=S,j._debugInfo=_e,j)}function x(S,j,C,q){return j===null||j.tag!==4||j.stateNode.containerInfo!==C.containerInfo||j.stateNode.implementation!==C.implementation?(j=fm(C,S.mode,q),j.return=S,j._debugInfo=_e,j):(j=r(j,C.children||[]),j.return=S,j._debugInfo=_e,j)}function P(S,j,C,q,ae){return j===null||j.tag!==7?(j=zo(C,S.mode,q,ae),j.return=S,j._debugOwner=S,j._debugTask=S._debugTask,j._debugInfo=_e,j):(j=r(j,C),j.return=S,j._debugInfo=_e,j)}function _(S,j,C){if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return j=mm(""+j,S.mode,C),j.return=S,j._debugOwner=S,j._debugTask=S._debugTask,j._debugInfo=_e,j;if(typeof j=="object"&&j!==null){switch(j.$$typeof){case Zr:return C=Qc(j,S.mode,C),xi(C,j),C.return=S,S=$t(j._debugInfo),C._debugInfo=_e,_e=S,C;case Ga:return j=fm(j,S.mode,C),j.return=S,j._debugInfo=_e,j;case Fn:var q=$t(j._debugInfo);return j=oo(j),S=_(S,j,C),_e=q,S}if(Xt(j)||ue(j))return C=zo(j,S.mode,C,null),C.return=S,C._debugOwner=S,C._debugTask=S._debugTask,S=$t(j._debugInfo),C._debugInfo=_e,_e=S,C;if(typeof j.then=="function")return q=$t(j._debugInfo),S=_(S,fu(j),C),_e=q,S;if(j.$$typeof===Hs)return _(S,Zc(S,j),C);pu(S,j)}return typeof j=="function"&&hu(S,j),typeof j=="symbol"&&bu(S,j),null}function M(S,j,C,q){var ae=j!==null?j.key:null;if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return ae!==null?null:m(S,j,""+C,q);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case Zr:return C.key===ae?(ae=$t(C._debugInfo),S=b(S,j,C,q),_e=ae,S):null;case Ga:return C.key===ae?x(S,j,C,q):null;case Fn:return ae=$t(C._debugInfo),C=oo(C),S=M(S,j,C,q),_e=ae,S}if(Xt(C)||ue(C))return ae!==null?null:(ae=$t(C._debugInfo),S=P(S,j,C,q,null),_e=ae,S);if(typeof C.then=="function")return ae=$t(C._debugInfo),S=M(S,j,fu(C),q),_e=ae,S;if(C.$$typeof===Hs)return M(S,j,Zc(S,C),q);pu(S,C)}return typeof C=="function"&&hu(S,C),typeof C=="symbol"&&bu(S,C),null}function L(S,j,C,q,ae){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return S=S.get(C)||null,m(j,S,""+q,ae);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case Zr:return C=S.get(q.key===null?C:q.key)||null,S=$t(q._debugInfo),j=b(j,C,q,ae),_e=S,j;case Ga:return S=S.get(q.key===null?C:q.key)||null,x(j,S,q,ae);case Fn:var Pe=$t(q._debugInfo);return q=oo(q),j=L(S,j,C,q,ae),_e=Pe,j}if(Xt(q)||ue(q))return C=S.get(C)||null,S=$t(q._debugInfo),j=P(j,C,q,ae,null),_e=S,j;if(typeof q.then=="function")return Pe=$t(q._debugInfo),j=L(S,j,C,fu(q),ae),_e=Pe,j;if(q.$$typeof===Hs)return L(S,j,C,Zc(j,q),ae);pu(j,q)}return typeof q=="function"&&hu(j,q),typeof q=="symbol"&&bu(j,q),null}function he(S,j,C,q){if(typeof C!="object"||C===null)return q;switch(C.$$typeof){case Zr:case Ga:E(S,j,C);var ae=C.key;if(typeof ae!="string")break;if(q===null){q=new Set,q.add(ae);break}if(!q.has(ae)){q.add(ae);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.",ae)});break;case Fn:C=oo(C),he(S,j,C,q)}return q}function Re(S,j,C,q){for(var ae=null,Pe=null,be=null,Oe=j,ze=j=0,xt=null;Oe!==null&&ze<C.length;ze++){Oe.index>ze?(xt=Oe,Oe=null):xt=Oe.sibling;var Mt=M(S,Oe,C[ze],q);if(Mt===null){Oe===null&&(Oe=xt);break}ae=he(S,Mt,C[ze],ae),e&&Oe&&Mt.alternate===null&&t(S,Oe),j=o(Mt,j,ze),be===null?Pe=Mt:be.sibling=Mt,be=Mt,Oe=xt}if(ze===C.length)return n(S,Oe),nt&&Ho(S,ze),Pe;if(Oe===null){for(;ze<C.length;ze++)Oe=_(S,C[ze],q),Oe!==null&&(ae=he(S,Oe,C[ze],ae),j=o(Oe,j,ze),be===null?Pe=Oe:be.sibling=Oe,be=Oe);return nt&&Ho(S,ze),Pe}for(Oe=s(Oe);ze<C.length;ze++)xt=L(Oe,S,ze,C[ze],q),xt!==null&&(ae=he(S,xt,C[ze],ae),e&&xt.alternate!==null&&Oe.delete(xt.key===null?ze:xt.key),j=o(xt,j,ze),be===null?Pe=xt:be.sibling=xt,be=xt);return e&&Oe.forEach(function(jr){return t(S,jr)}),nt&&Ho(S,ze),Pe}function bt(S,j,C,q){if(C==null)throw Error("An iterable object provided no iterator.");for(var ae=null,Pe=null,be=j,Oe=j=0,ze=null,xt=null,Mt=C.next();be!==null&&!Mt.done;Oe++,Mt=C.next()){be.index>Oe?(ze=be,be=null):ze=be.sibling;var jr=M(S,be,Mt.value,q);if(jr===null){be===null&&(be=ze);break}xt=he(S,jr,Mt.value,xt),e&&be&&jr.alternate===null&&t(S,be),j=o(jr,j,Oe),Pe===null?ae=jr:Pe.sibling=jr,Pe=jr,be=ze}if(Mt.done)return n(S,be),nt&&Ho(S,Oe),ae;if(be===null){for(;!Mt.done;Oe++,Mt=C.next())be=_(S,Mt.value,q),be!==null&&(xt=he(S,be,Mt.value,xt),j=o(be,j,Oe),Pe===null?ae=be:Pe.sibling=be,Pe=be);return nt&&Ho(S,Oe),ae}for(be=s(be);!Mt.done;Oe++,Mt=C.next())ze=L(be,S,Oe,Mt.value,q),ze!==null&&(xt=he(S,ze,Mt.value,xt),e&&ze.alternate!==null&&be.delete(ze.key===null?Oe:ze.key),j=o(ze,j,Oe),Pe===null?ae=ze:Pe.sibling=ze,Pe=ze);return e&&be.forEach(function(zE){return t(S,zE)}),nt&&Ho(S,Oe),ae}function Ze(S,j,C,q){if(typeof C=="object"&&C!==null&&C.type===$a&&C.key===null&&(mu(C,null,S),C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case Zr:var ae=$t(C._debugInfo);e:{for(var Pe=C.key;j!==null;){if(j.key===Pe){if(Pe=C.type,Pe===$a){if(j.tag===7){n(S,j.sibling),q=r(j,C.props.children),q.return=S,q._debugOwner=C._owner,q._debugInfo=_e,mu(C,q,S),S=q;break e}}else if(j.elementType===Pe||$b(j,C)||typeof Pe=="object"&&Pe!==null&&Pe.$$typeof===Fn&&oo(Pe)===j.type){n(S,j.sibling),q=r(j,C.props),xi(q,C),q.return=S,q._debugOwner=C._owner,q._debugInfo=_e,S=q;break e}n(S,j);break}else t(S,j);j=j.sibling}C.type===$a?(q=zo(C.props.children,S.mode,q,C.key),q.return=S,q._debugOwner=S,q._debugTask=S._debugTask,q._debugInfo=_e,mu(C,q,S),S=q):(q=Qc(C,S.mode,q),xi(q,C),q.return=S,q._debugInfo=_e,S=q)}return S=u(S),_e=ae,S;case Ga:e:{for(ae=C,C=ae.key;j!==null;){if(j.key===C)if(j.tag===4&&j.stateNode.containerInfo===ae.containerInfo&&j.stateNode.implementation===ae.implementation){n(S,j.sibling),q=r(j,ae.children||[]),q.return=S,S=q;break e}else{n(S,j);break}else t(S,j);j=j.sibling}q=fm(ae,S.mode,q),q.return=S,S=q}return u(S);case Fn:return ae=$t(C._debugInfo),C=oo(C),S=Ze(S,j,C,q),_e=ae,S}if(Xt(C))return ae=$t(C._debugInfo),S=Re(S,j,C,q),_e=ae,S;if(ue(C)){if(ae=$t(C._debugInfo),Pe=ue(C),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(C);return be===C?(S.tag!==0||Object.prototype.toString.call(S.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):C.entries!==Pe||qp||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),qp=!0),S=bt(S,j,be,q),_e=ae,S}if(typeof C.then=="function")return ae=$t(C._debugInfo),S=Ze(S,j,fu(C),q),_e=ae,S;if(C.$$typeof===Hs)return Ze(S,j,Zc(S,C),q);pu(S,C)}return typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint"?(ae=""+C,j!==null&&j.tag===6?(n(S,j.sibling),q=r(j,ae),q.return=S,S=q):(n(S,j),q=mm(ae,S.mode,q),q.return=S,q._debugOwner=S,q._debugTask=S._debugTask,q._debugInfo=_e,S=q),u(S)):(typeof C=="function"&&hu(S,C),typeof C=="symbol"&&bu(S,C),n(S,j))}return function(S,j,C,q){var ae=_e;_e=null;try{nc=0;var Pe=Ze(S,j,C,q);return pl=null,Pe}catch(xt){if(xt===Ji||xt===nd)throw xt;var be=g(29,xt,null,S.mode);be.lanes=q,be.return=S;var Oe=be._debugInfo=_e;if(be._debugOwner=S._debugOwner,be._debugTask=S._debugTask,Oe!=null){for(var ze=Oe.length-1;0<=ze;ze--)if(typeof Oe[ze].stack=="string"){be._debugOwner=Oe[ze],be._debugTask=Oe[ze].debugTask;break}}return be}finally{_e=ae}}}function Gr(e){var t=e.alternate;xe(Bt,Bt.current&bl,e),xe(ls,e,e),$s===null&&(t===null||dl.current!==null||t.memoizedState!==null)&&($s=e)}function Bv(e){if(e.tag===22){if(xe(Bt,Bt.current,e),xe(ls,e,e),$s===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&($s=e)}}else $r(e)}function $r(e){xe(Bt,Bt.current,e),xe(ls,ls.current,e)}function rr(e){re(ls,e),$s===e&&($s=null),re(Bt,e)}function vu(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===Nr||Lf(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 Wm(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 ef(e,t,n,s){var r=e.memoizedState,o=n(s,r);if(e.mode&tn){ge(!0);try{o=n(s,r)}finally{ge(!1)}}o===void 0&&(t=pe(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 m=e.stateNode;if(typeof m.shouldComponentUpdate=="function"){if(n=m.shouldComponentUpdate(s,o,u),e.mode&tn){ge(!0);try{n=m.shouldComponentUpdate(s,o,u)}finally{ge(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",pe(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!oi(n,s)||!oi(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=K(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 Qo(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
+ `,vl?"An error occurred in the <"+vl+"> 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=vl?"The above error occurred in the <"+vl+"> 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,Dd+s+Dd,oN):e.splice(0,0,sN,rN,Dd+s+Dd,oN),e.unshift(console),s=OE.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 xu(e,t){try{vl=t.source?K(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{vl=n.source?K(n.source):null,Gp=K(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 tf(e,t,n){return n=qr(n),n.tag=Pp,n.payload={element:null},n.callback=function(){je(t.source,xu,e,t)},n}function nf(e){return e=qr(e),e.tag=Pp,e}function sf(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"&&(co===null?co=new Set([this]):co.add(this)),mE(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.",K(n)||"Unknown")})}function Gw(e,t,n,s,r){if(n.flags|=32768,hs&&Ei(e,r),s!==null&&typeof s=="object"&&typeof s.then=="function"){if(t=n.alternate,t!==null&&ci(t,n,r,!0),nt&&(br=!0),n=ls.current,n!==null){switch(n.tag){case 13:return $s===null?Sf():n.alternate===null&&Ct===yr&&(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),Df(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)),Df(e,s,r)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return Df(e,s,r),Sf(),!1}if(nt)return br=!0,t=ls.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,s!==Tp&&ii(_n(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!==Tp&&ii(_n(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=_n(s,n),r=tf(e.stateNode,s,r),tu(e,r),Ct!==ra&&(Ct=Nl)),!1;var o=_n(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(uc===null?uc=[o]:uc.push(o),Ct!==ra&&(Ct=Nl),t===null)return!0;s=_n(s,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=r&-r,n.lanes|=e,e=tf(n.stateNode,s,e),tu(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"&&(co===null||!co.has(o))))return n.flags|=65536,r&=-r,n.lanes|=r,r=nf(r),sf(r,e,n,s),tu(n,r),!1}n=n.return}while(n!==null);return!1}function Qt(e,t,n,s){t.child=e===null?p0(t,null,n,s):hl(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 m in s)m!=="ref"&&(u[m]=s[m])}else u=s;return qo(t),We(t),s=Um(e,t,n,u,o,r),m=Rm(),pt(),e!==null&&!Yt?(Vm(e,t,r),or(e,t,r)):(nt&&m&&pm(t),t.flags|=1,Qt(e,t,s,r),t.child)}function Iv(e,t,n,s,r){if(e===null){var o=n.type;return typeof o=="function"&&!um(o)&&o.defaultProps===void 0&&n.compare===null?(n=ko(o),t.tag=15,t.type=n,of(t,o),Xv(e,t,n,s,r)):(e=dm(n.type,null,s,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!mf(e,r)){var u=o.memoizedProps;if(n=n.compare,n=n!==null?n:oi,n(u,s)&&e.ref===t.ref)return or(e,t,r)}return t.flags|=1,e=tr(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(oi(o,s)&&e.ref===t.ref&&t.type===e.type)if(Yt=!1,t.pendingProps=s=o,mf(e,r))(e.flags&131072)!==0&&(Yt=!0);else return t.lanes=e.lanes,or(e,t,r)}return rf(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&&Wc(t,o!==null?o.cachePool:null),o!==null?dv(t,o):Em(t),Bv(t);else return t.lanes=t.childLanes=536870912,Kv(e,t,o!==null?o.baseLanes|n:n,n)}else o!==null?(Wc(t,o.cachePool),dv(t,o),$r(t),t.memoizedState=null):(e!==null&&Wc(t,null),Em(t),$r(t));return Qt(e,t,r,n),t.child}function Kv(e,t,n,s){var r=wm();return r=r===null?null:{parent:Ht._currentValue,pool:r},t.memoizedState={baseLanes:n,cachePool:r},e!==null&&Wc(t,null),Em(t),Bv(t),e!==null&&ci(e,t,s,!0),null}function gu(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 rf(e,t,n,s,r){if(n.prototype&&typeof n.prototype.render=="function"){var o=pe(n)||"Unknown";C0[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),C0[o]=!0)}return t.mode&tn&&vs.recordLegacyContextWarning(t,null),e===null&&(of(t,t.type),n.contextTypes&&(o=pe(n)||"Unknown",T0[o]||(T0[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)))),qo(t),We(t),n=Um(e,t,n,s,void 0,r),s=Rm(),pt(),e!==null&&!Yt?(Vm(e,t,r),or(e,t,r)):(nt&&s&&pm(t),t.flags|=1,Qt(e,t,n,r),t.child)}function Jv(e,t,n,s,r,o){return qo(t),We(t),xr=-1,tc=e!==null&&e.type!==t.type,t.updateQueue=null,n=Tm(t,s,n,r),mv(e,t),s=Rm(),pt(),e!==null&&!Yt?(Vm(e,t,o),or(e,t,o)):(nt&&s&&pm(t),t.flags|=1,Qt(e,t,n,o),t.child)}function Wv(e,t,n,s,r){switch(N(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 m=r&-r;if(t.lanes|=m,u=ht,u===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");m=nf(m),sf(m,u,t,_n(o,t)),tu(t,m)}if(qo(t),t.stateNode===null){if(u=no,o=n.contextType,"contextType"in n&&o!==null&&(o===void 0||o.$$typeof!==Hs)&&!j0.has(n)&&(j0.add(n),m=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===Wf?" 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",pe(n)||"Component",m)),typeof o=="object"&&o!==null&&(u=yt(o)),o=new n(s,u),t.mode&tn){ge(!0);try{o=new n(s,u)}finally{ge(!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=pe(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=m=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?m="componentWillReceiveProps":typeof o.UNSAFE_componentWillReceiveProps=="function"&&(m="UNSAFE_componentWillReceiveProps"),typeof o.componentWillUpdate=="function"&&o.componentWillUpdate.__suppressDeprecationWarning!==!0?b="componentWillUpdate":typeof o.UNSAFE_componentWillUpdate=="function"&&(b="UNSAFE_componentWillUpdate"),u!==null||m!==null||b!==null){o=pe(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:"",m!==null?`
179
+ `+m:"",b!==null?`
180
+ `+b:""))}}o=t.stateNode,u=pe(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&&!S0.has(n)&&(S0.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&&!w0.has(n)&&(w0.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.",pe(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),m=o.props!==s,o.props!==void 0&&m&&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.",pe(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),(m=o.state)&&(typeof m!="object"||Xt(m))&&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={},Sm(t),u=n.contextType,o.context=typeof u=="object"&&u!==null?yt(u):no,o.state===s&&(u=pe(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&tn&&vs.recordLegacyContextWarning(t,o),vs.recordUnsafeLifecycleWarnings(t,o),o.state=t.memoizedState,u=n.getDerivedStateFromProps,typeof u=="function"&&(ef(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.",K(t)||"Component"),Fp.enqueueReplaceState(o,o.state,null)),pi(t,s,o,r),fi(),o.state=t.memoizedState),typeof o.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&bs)!==vt&&(t.flags|=134217728),o=!0}else if(e===null){o=t.stateNode;var P=t.memoizedProps;m=Qo(n,P),o.props=m;var _=o.context;b=n.contextType,u=no,typeof b=="object"&&b!==null&&(u=yt(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),so=!1;var M=t.memoizedState;o.state=M,pi(t,s,o,r),fi(),_=t.memoizedState,P||M!==_||so?(typeof x=="function"&&(ef(t,n,x,s),_=t.memoizedState),(m=so||Lv(t,n,m,s,M,_,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&bs)!==vt&&(t.flags|=134217728)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&bs)!==vt&&(t.flags|=134217728),t.memoizedProps=s,t.memoizedState=_),o.props=s,o.state=_,o.context=u,o=m):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&bs)!==vt&&(t.flags|=134217728),o=!1)}else{o=t.stateNode,jm(e,t),u=t.memoizedProps,b=Qo(n,u),o.props=b,x=t.pendingProps,M=o.context,_=n.contextType,m=no,typeof _=="object"&&_!==null&&(m=yt(_)),P=n.getDerivedStateFromProps,(_=typeof P=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==x||M!==m)&&qv(t,o,s,m),so=!1,M=t.memoizedState,o.state=M,pi(t,s,o,r),fi();var L=t.memoizedState;u!==x||M!==L||so||e!==null&&e.dependencies!==null&&Xc(e.dependencies)?(typeof P=="function"&&(ef(t,n,P,s),L=t.memoizedState),(b=so||Lv(t,n,b,s,M,L,m)||e!==null&&e.dependencies!==null&&Xc(e.dependencies))?(_||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(s,L,m),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(s,L,m)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),t.memoizedProps=s,t.memoizedState=L),o.props=s,o.state=L,o.context=m,o=b):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),o=!1)}if(m=o,gu(e,t),u=(t.flags&128)!==0,m||u){if(m=t.stateNode,Zd(t),u&&typeof n.getDerivedStateFromError!="function")n=null,En=-1;else{if(We(t),n=e0(m),t.mode&tn){ge(!0);try{e0(m)}finally{ge(!1)}}pt()}t.flags|=1,e!==null&&u?(t.child=hl(t,e.child,null,r),t.child=hl(t,null,n,r)):Qt(e,t,n,r),t.memoizedState=m.state,e=t.child}else e=or(e,t,r);return r=t.stateNode,o&&r.props!==s&&(xl||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",K(t)||"a component"),xl=!0),e}function ex(e,t,n,s){return li(),t.flags|=256,Qt(e,t,n,s),t.child}function of(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=pe(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=pe(t)||"Unknown",U0[t]||(console.error("%s: Function components do not support contextType.",t),U0[t]=!0))}function af(e){return{baseLanes:e,cachePool:sv()}}function lf(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Qn),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:(Bt.current&sc)!==0),s&&(o=!0,t.flags&=-129),s=(t.flags&32)!==0,t.flags&=-33,e===null){if(nt){if(o?Gr(t):$r(t),nt){var m=Dt,b;if(!(b=!m)){e:{var x=m;for(b=Ys;x.nodeType!==8;){if(!b){b=null;break e}if(x=Kn(x.nextSibling),x===null){b=null;break e}}b=x}b!==null?(_o(),t.memoizedState={dehydrated:b,treeContext:Ko!==null?{id:pr,overflow:hr}:null,retryLane:536870912,hydrationErrors:null},x=g(18,null,null,vt),x.stateNode=b,x.return=t,t.child=x,dn=t,Dt=null,b=!0):b=!1,b=!b}b&&(bm(t,m),Lo(t))}if(m=t.memoizedState,m!==null&&(m=m.dehydrated,m!==null))return Lf(m)?t.lanes=32:t.lanes=536870912,null;rr(t)}return m=r.children,r=r.fallback,o?($r(t),o=t.mode,m=yu({mode:"hidden",children:m},o),r=zo(r,o,n,null),m.return=t,r.return=t,m.sibling=r,t.child=m,o=t.child,o.memoizedState=af(n),o.childLanes=lf(e,s,n),t.memoizedState=Qp,r):(Gr(t),cf(t,m))}var P=e.memoizedState;if(P!==null&&(m=P.dehydrated,m!==null)){if(u)t.flags&256?(Gr(t),t.flags&=-257,t=uf(e,t,n)):t.memoizedState!==null?($r(t),t.child=e.child,t.flags|=128,t=null):($r(t),o=r.fallback,m=t.mode,r=yu({mode:"visible",children:r.children},m),o=zo(o,m,n,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,hl(t,e.child,null,n),r=t.child,r.memoizedState=af(n),r.childLanes=lf(e,s,n),t.memoizedState=Qp,t=o);else if(Gr(t),nt&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),Lf(m)){if(s=m.nextSibling&&m.nextSibling.dataset,s){b=s.dgst;var _=s.msg;x=s.stck;var M=s.cstck}m=_,s=b,r=x,b=o=M,o=Error(m||"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"&&Cp.set(o,r),ii(r),t=uf(e,t,n)}else if(Yt||ci(e,t,n,!1),s=(n&e.childLanes)!==0,Yt||s){if(s=ht,s!==null&&(r=n&-n,r=(r&42)!==0?1:Ao(r),r=(r&(s.suspendedLanes|n))!==0?0:r,r!==0&&r!==P.retryLane))throw P.retryLane=r,Nn(e,r),Vt(s,e,r),D0;m.data===Nr||Sf(),t=uf(e,t,n)}else m.data===Nr?(t.flags|=192,t.child=e.child,t=null):(e=P.treeContext,Dt=Kn(m.nextSibling),dn=t,nt=!0,Jo=null,br=!1,ss=null,Ys=!1,e!==null&&(_o(),ts[ns++]=pr,ts[ns++]=hr,ts[ns++]=Ko,pr=e.id,hr=e.overflow,Ko=t),t=cf(t,r.children),t.flags|=4096);return t}return o?($r(t),o=r.fallback,m=t.mode,b=e.child,x=b.sibling,r=tr(b,{mode:"hidden",children:r.children}),r.subtreeFlags=b.subtreeFlags&65011712,x!==null?o=tr(x,o):(o=zo(o,m,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,m=e.child.memoizedState,m===null?m=af(n):(b=m.cachePool,b!==null?(x=Ht._currentValue,b=b.parent!==x?{parent:x,pool:x}:b):b=sv(),m={baseLanes:m.baseLanes|n,cachePool:b}),o.memoizedState=m,o.childLanes=lf(e,s,n),t.memoizedState=Qp,r):(Gr(t),n=e.child,e=n.sibling,n=tr(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 cf(e,t){return t=yu({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function yu(e,t){return e=g(22,e,null,t),e.lanes=0,e.stateNode={_visibility:Iu,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function uf(e,t,n){return hl(t,e.child,null,n),e=cf(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),vm(e.return,t,n)}function sx(e,t){var n=Xt(e);return e=!n&&typeof ue(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 df(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"&&!V0[r])if(V0[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(Xt(s)){for(var u=0;u<s.length;u++)if(!sx(s[u],u))break e}else if(u=ue(s),typeof u=="function"){if(u=u.call(s))for(var m=u.next(),b=0;!m.done;m=u.next()){if(!sx(m.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(Qt(e,t,s,n),s=Bt.current,(s&sc)!==0)s=s&bl|sc,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&=bl}switch(xe(Bt,s,t),r){case"forwards":for(n=t.child,r=null;n!==null;)e=n.alternate,e!==null&&vu(e)===null&&(r=n),n=n.sibling;n=r,n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),df(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&&vu(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}df(t,!0,n,null,o);break;case"together":df(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function or(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),En=-1,lo|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(ci(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=tr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=tr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function mf(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Xc(e)))}function $w(e,t,n){switch(t.tag){case 3:Ue(t,t.stateNode.containerInfo),Lr(t,Ht,e.memoizedState.cache),li();break;case 27:case 5:O(t);break;case 4:Ue(t,t.stateNode.containerInfo);break;case 10:Lr(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?(Gr(t),t.flags|=128,null):(n&t.child.childLanes)!==0?tx(e,t,n):(Gr(t),e=or(e,t,n),e!==null?e.sibling:null);Gr(t);break;case 19:var r=(e.flags&128)!==0;if(s=(n&t.childLanes)!==0,s||(ci(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),xe(Bt,Bt.current,t),s)break;return null;case 22:case 23:return t.lanes=0,Zv(e,t,n);case 24:Lr(t,Ht,e.memoizedState.cache)}return or(e,t,n)}function ff(e,t,n){if(t._debugNeedsRemount&&e!==null){n=dm(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)Yt=!0;else{if(!mf(e,n)&&(t.flags&128)===0)return Yt=!1,$w(e,t,n);Yt=(e.flags&131072)!==0}else Yt=!1,(s=nt)&&(_o(),s=(t.flags&1048576)!==0),s&&(s=t.index,_o(),Xb(t,Zu,s));switch(t.lanes=0,t.tag){case 16:e:if(s=t.pendingProps,e=oo(t.elementType),t.type=e,typeof e=="function")um(e)?(s=Qo(e,s),t.tag=1,t.type=e=ko(e),t=Wv(null,t,e,s,n)):(t.tag=0,of(t,e),t.type=e=ko(e),t=rf(null,t,e,s,n));else{if(e!=null){if(r=e.$$typeof,r===Mi){t.tag=11,t.type=e=im(e),t=Qv(null,t,e,s,n);break e}else if(r===zu){t.tag=14,t=Iv(null,t,e,s,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===Fn&&(t=" Did you wrap a component in React.lazy() more than once?"),e=pe(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 rf(e,t,t.type,t.pendingProps,n);case 1:return s=t.type,r=Qo(s,t.pendingProps),Wv(e,t,s,r,n);case 3:e:{if(Ue(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,jm(e,t),pi(t,s,null,n);var u=t.memoizedState;if(s=u.cache,Lr(t,Ht,s),s!==o.cache&&xm(t,[Ht],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=_n(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),ii(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(Dt=Kn(e.firstChild),dn=t,nt=!0,Jo=null,br=!1,ss=null,Ys=!0,e=p0(t,null,s,n),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(li(),s===r){t=or(e,t,n);break e}Qt(e,t,s,n)}t=t.child}return t;case 26:return gu(e,t),e===null?(e=Sg(t.type,null,t.pendingProps,null))?t.memoizedState=e:nt||(e=t.type,n=t.pendingProps,s=I(Jr.current),s=Uu(s).createElement(e),s[en]=t,s[jn]=n,It(s,e,n),R(s),t.stateNode=s):t.memoizedState=Sg(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return O(t),e===null&&nt&&(s=I(Jr.current),r=z(),s=t.stateNode=Ng(t.type,t.pendingProps,s,r,!1),br||(r=mg(s,t.type,t.pendingProps,r),r!==null&&(Bo(t,0).serverProps=r)),dn=t,Ys=!0,r=Dt,Xr(t.type)?(bh=r,Dt=Kn(s.firstChild)):Dt=r),Qt(e,t,t.pendingProps.children,n),gu(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&nt&&(o=z(),s=sm(t.type,o.ancestorInfo),r=Dt,(u=!r)||(u=TS(r,t.type,t.pendingProps,Ys),u!==null?(t.stateNode=u,br||(o=mg(u,t.type,t.pendingProps,o),o!==null&&(Bo(t,0).serverProps=o)),dn=t,Dt=Kn(u.firstChild),Ys=!1,o=!0):o=!1,u=!o),u&&(s&&bm(t,r),Lo(t))),O(t),r=t.type,o=t.pendingProps,u=e!==null?e.memoizedProps:null,s=o.children,_f(r,o)?s=null:u!==null&&_f(r,u)&&(t.flags|=32),t.memoizedState!==null&&(r=Um(e,t,Bw,null,null,n),xc._currentValue=r),gu(e,t),Qt(e,t,s,n),t.child;case 6:return e===null&&nt&&(e=t.pendingProps,n=z(),s=n.ancestorInfo.current,e=s!=null?Bc(e,s.tag,n.ancestorInfo.implicitRootScope):!0,n=Dt,(s=!n)||(s=RS(n,t.pendingProps,Ys),s!==null?(t.stateNode=s,dn=t,Dt=null,s=!0):s=!1,s=!s),s&&(e&&bm(t,n),Lo(t))),null;case 13:return tx(e,t,n);case 4:return Ue(t,t.stateNode.containerInfo),s=t.pendingProps,e===null?t.child=hl(t,null,s,n):Qt(e,t,s,n),t.child;case 11:return Qv(e,t,t.type,t.pendingProps,n);case 7:return Qt(e,t,t.pendingProps,n),t.child;case 8:return Qt(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,Qt(e,t,t.pendingProps.children,n),t.child;case 10:return s=t.type,r=t.pendingProps,o=r.value,"value"in r||A0||(A0=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Lr(t,s,o),Qt(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."),qo(t),r=yt(r),We(t),s=Bp(s,r,void 0),pt(),t.flags|=1,Qt(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=yu(s,n),e.ref=t.ref,t.child=e,e.return=t,t=e):(e=tr(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 qo(t),s=yt(Ht),e===null?(r=wm(),r===null&&(r=ht,o=gm(),r.pooledCache=o,Fo(o),o!==null&&(r.pooledCacheLanes|=n),r=o),t.memoizedState={parent:s,cache:r},Sm(t),Lr(t,Ht,r)):((e.lanes&n)!==0&&(jm(e,t),pi(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),Lr(t,Ht,s)):(s=o.cache,Lr(t,Ht,s),s!==r.cache&&xm(t,[Ht],n,!0))),Qt(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 ar(e){e.flags|=4}function ox(e,t){if(t.type!=="stylesheet"||(t.state.loading&is)!==fa)e.flags&=-16777217;else if(e.flags|=16777216,!Ug(t)){if(t=ls.current,t!==null&&((Ie&4194048)===Ie?$s!==null:(Ie&62914560)!==Ie&&(Ie&536870912)===0||t!==$s))throw Wi=Mp,qy;e.flags|=8192}}function Nu(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Js():536870912,e.lanes|=t,la|=t)}function gi(e,t){if(!nt)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 Nt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,s=0;if(t)if((e.mode&Zt)!==vt){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&Zt)!==vt){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 Qw(e,t,n){var s=t.pendingProps;switch(hm(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Nt(t),null;case 1:return Nt(t),null;case 3:return n=t.stateNode,s=null,e!==null&&(s=e.memoizedState.cache),t.memoizedState.cache!==s&&(t.flags|=2048),nr(Ht,t),Ve(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(ai(t)?(Wb(),ar(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Jb())),Nt(t),null;case 26:return n=t.memoizedState,e===null?(ar(t),n!==null?(Nt(t),ox(t,n)):(Nt(t),t.flags&=-16777217)):n?n!==e.memoizedState?(ar(t),Nt(t),ox(t,n)):(Nt(t),t.flags&=-16777217):(e.memoizedProps!==s&&ar(t),Nt(t),t.flags&=-16777217),null;case 27:B(t),n=I(Jr.current);var r=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==s&&ar(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 Nt(t),null}e=z(),ai(t)?Zb(t):(e=Ng(r,s,n,e,!0),t.stateNode=e,ar(t))}return Nt(t),null;case 5:if(B(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==s&&ar(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 Nt(t),null}if(r=z(),ai(t))Zb(t);else{switch(e=I(Jr.current),sm(n,r.ancestorInfo),r=r.context,e=Uu(e),r){case Cl:e=e.createElementNS(Za,n);break;case Sd:e=e.createElementNS(Fu,n);break;default:switch(n){case"svg":e=e.createElementNS(Za,n);break;case"math":e=e.createElementNS(Fu,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]"||dr.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[en]=t,e[jn]=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(It(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&&ar(t)}}return Nt(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==s&&ar(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=I(Jr.current),n=z(),ai(t)){e=t.stateNode,n=t.memoizedProps,r=!br,s=null;var o=dn;if(o!==null)switch(o.tag){case 3:r&&(r=xg(e,n,s),r!==null&&(Bo(t,0).serverProps=r));break;case 27:case 5:s=o.memoizedProps,r&&(r=xg(e,n,s),r!==null&&(Bo(t,0).serverProps=r))}e[en]=t,e=!!(e.nodeValue===n||s!==null&&s.suppressHydrationWarning===!0||lg(e.nodeValue,n)),e||Lo(t)}else r=n.ancestorInfo.current,r!=null&&Bc(s,r.tag,n.ancestorInfo.implicitRootScope),e=Uu(e).createTextNode(s),e[en]=t,t.stateNode=e}return Nt(t),null;case 13:if(s=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=ai(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[en]=t,Nt(t),(t.mode&Zt)!==vt&&s!==null&&(r=t.child,r!==null&&(t.treeBaseDuration-=r.treeBaseDuration))}else Wb(),li(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4,Nt(t),(t.mode&Zt)!==vt&&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?(rr(t),t):(rr(t),null)}return rr(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&Zt)!==vt&&Jc(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),Nu(t,t.updateQueue),Nt(t),(t.mode&Zt)!==vt&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return Ve(t),e===null&&Af(t.stateNode.containerInfo),Nt(t),null;case 10:return nr(t.type,t),Nt(t),null;case 19:if(re(Bt,t),r=t.memoizedState,r===null)return Nt(t),null;if(s=(t.flags&128)!==0,o=r.rendering,o===null)if(s)gi(r,!1);else{if(Ct!==yr||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(o=vu(e),o!==null){for(t.flags|=128,gi(r,!1),e=o.updateQueue,t.updateQueue=e,Nu(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Ib(n,e),n=n.sibling;return xe(Bt,Bt.current&bl|sc,t),t.child}e=e.sibling}r.tail!==null&&_s()>dd&&(t.flags|=128,s=!0,gi(r,!1),t.lanes=4194304)}else{if(!s)if(e=vu(o),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,Nu(t,e),gi(r,!0),r.tail===null&&r.tailMode==="hidden"&&!o.alternate&&!nt)return Nt(t),null}else 2*_s()-r.renderingStartTime>dd&&n!==536870912&&(t.flags|=128,s=!0,gi(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=_s(),e.sibling=null,n=Bt.current,n=s?n&bl|sc:n&bl,xe(Bt,n,t),e):(Nt(t),null);case 22:case 23:return rr(t),Dm(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&&(Nt(t),t.subtreeFlags&6&&(t.flags|=8192)):Nt(t),n=t.updateQueue,n!==null&&Nu(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&&re(ta,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),nr(Ht,t),Nt(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 Iw(e,t){switch(hm(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Zt)!==vt&&Jc(t),t):null;case 3:return nr(Ht,t),Ve(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return B(t),null;case 13:if(rr(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.");li()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Zt)!==vt&&Jc(t),t):null;case 19:return re(Bt,t),null;case 4:return Ve(t),null;case 10:return nr(t.type,t),null;case 22:case 23:return rr(t),Dm(t),e!==null&&re(ta,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Zt)!==vt&&Jc(t),t):null;case 24:return nr(Ht,t),null;case 25:return null;default:return null}}function ax(e,t){switch(hm(t),t.tag){case 3:nr(Ht,t),Ve(t);break;case 26:case 27:case 5:B(t);break;case 4:Ve(t);break;case 13:rr(t);break;case 19:re(Bt,t);break;case 10:nr(t.type,t);break;case 22:case 23:rr(t),Dm(t),e!==null&&re(ta,t);break;case 24:nr(Ht,t)}}function Ms(e){return(e.mode&Zt)!==vt}function lx(e,t){Ms(e)?(As(),yi(t,e),Vs()):yi(t,e)}function pf(e,t,n){Ms(e)?(As(),ka(n,e,t),Vs()):ka(n,e,t)}function yi(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&_t)!==rs?de!==null&&typeof de.markComponentPassiveEffectMountStarted=="function"&&de.markComponentPassiveEffectMountStarted(t):(e&Kt)!==rs&&de!==null&&typeof de.markComponentLayoutEffectMountStarted=="function"&&de.markComponentLayoutEffectMountStarted(t),s=void 0,(e&mn)!==rs&&(El=!0),s=je(t,fE,n),(e&mn)!==rs&&(El=!1),(e&_t)!==rs?de!==null&&typeof de.markComponentPassiveEffectMountStopped=="function"&&de.markComponentPassiveEffectMountStopped():(e&Kt)!==rs&&de!==null&&typeof de.markComponentLayoutEffectMountStopped=="function"&&de.markComponentLayoutEffectMountStopped(),s!==void 0&&typeof s!="function")){var o=void 0;o=(n.tag&Kt)!==0?"useLayoutEffect":(n.tag&mn)!==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(m,b){console.error("%s must not return anything besides a function, which is used for clean-up.%s",m,b)},o,u)}n=n.next}while(n!==r)}}catch(m){dt(t,t.return,m)}}function ka(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,m=u.destroy;m!==void 0&&(u.destroy=void 0,(e&_t)!==rs?de!==null&&typeof de.markComponentPassiveEffectUnmountStarted=="function"&&de.markComponentPassiveEffectUnmountStarted(t):(e&Kt)!==rs&&de!==null&&typeof de.markComponentLayoutEffectUnmountStarted=="function"&&de.markComponentLayoutEffectUnmountStarted(t),(e&mn)!==rs&&(El=!0),r=t,je(r,pE,r,n,m),(e&mn)!==rs&&(El=!1),(e&_t)!==rs?de!==null&&typeof de.markComponentPassiveEffectUnmountStopped=="function"&&de.markComponentPassiveEffectUnmountStopped():(e&Kt)!==rs&&de!==null&&typeof de.markComponentLayoutEffectUnmountStopped=="function"&&de.markComponentLayoutEffectUnmountStopped())}s=s.next}while(s!==o)}}catch(b){dt(t,t.return,b)}}function ix(e,t){Ms(e)?(As(),yi(t,e),Vs()):yi(t,e)}function hf(e,t,n){Ms(e)?(As(),ka(n,e,t),Vs()):ka(n,e,t)}function cx(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||xl||(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.",K(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.",K(e)||"instance"));try{je(e,uv,t,n)}catch(s){dt(e,e.return,s)}}}function Xw(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function Zw(e,t){var n=t.memoizedProps,s=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||xl||(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.",K(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.",K(e)||"instance"));try{var r=Qo(e.type,n,e.elementType===e.type),o=je(e,Xw,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.",K(e))})),t.__reactInternalSnapshotBeforeUpdate=o}catch(u){dt(e,e.return,u)}}function ux(e,t,n){n.props=Qo(e.type,e.memoizedProps),n.state=e.memoizedState,Ms(e)?(As(),je(e,a0,e,t,n),Vs()):je(e,a0,e,t,n)}function Kw(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(Ms(e))try{As(),e.refCleanup=t(n)}finally{Vs()}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().",K(e)),t.current=n}}function Ni(e,t){try{je(e,Kw,e)}catch(n){dt(e,t,n)}}function Ps(e,t){var n=e.ref,s=e.refCleanup;if(n!==null)if(typeof s=="function")try{if(Ms(e))try{As(),je(e,s)}finally{Vs(e)}else je(e,s)}catch(r){dt(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(Ms(e))try{As(),je(e,n,null)}finally{Vs(e)}else je(e,n,null)}catch(r){dt(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",Wu&&(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 Jw(e,t,n,s){var r=e.memoizedProps;e=r.id,r=r.onPostCommit,t=t===null?"mount":"update",Wu&&(t="nested-update"),typeof r=="function"&&r(e,t,s,n)}function mx(e){var t=e.type,n=e.memoizedProps,s=e.stateNode;try{je(e,yS,s,t,n,e)}catch(r){dt(e,e.return,r)}}function bf(e,t,n){try{je(e,NS,e.stateNode,e.type,n,t,e)}catch(s){dt(e,e.return,s)}}function fx(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Xr(e.type)||e.tag===4}function vf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||fx(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&&Xr(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 xf(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=Cu));else if(s!==4&&(s===27&&Xr(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(xf(e,t,n),e=e.sibling;e!==null;)xf(e,t,n),e=e.sibling}function wu(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&&Xr(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(wu(e,t,n),e=e.sibling;e!==null;)wu(e,t,n),e=e.sibling}function Ww(e){for(var t,n=e.return;n!==null;){if(fx(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=vf(e),wu(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(hg(n),t.flags&=-33),t=vf(e),wu(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=vf(e),xf(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,PS,e.type,n,t,e)}catch(s){dt(e,e.return,s)}}function eS(e,t){if(e=e.containerInfo,fh=Cd,e=Fb(e),am(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var 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,m=-1,b=-1,x=0,P=0,_=e,M=null;t:for(;;){for(var L;_!==n||r!==0&&_.nodeType!==3||(m=u+r),_!==o||s!==0&&_.nodeType!==3||(b=u+s),_.nodeType===3&&(u+=_.nodeValue.length),(L=_.firstChild)!==null;)M=_,_=L;for(;;){if(_===e)break t;if(M===n&&++x===r&&(m=u),M===o&&++P===s&&(b=u),(L=_.nextSibling)!==null)break;_=M,M=_.parentNode}_=L}n=m===-1||b===-1?null:{start:m,end:b}}else n=null}n=n||{start:0,end:0}}else n=null;for(ph={focusedElem:e,selectionRange:n},Cd=!1,Gt=t;Gt!==null;)if(t=Gt,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,Gt=e;else for(;Gt!==null;){switch(e=t=Gt,n=e.alternate,r=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(r&1024)!==0&&n!==null&&Zw(e,n);break;case 3:if((r&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)Bf(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Bf(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,Gt=e;break}Gt=t.return}}function hx(e,t,n){var s=n.flags;switch(n.tag){case 0:case 11:case 15:ir(e,n),s&4&&lx(n,Kt|os);break;case 1:if(ir(e,n),s&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||xl||(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.",K(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.",K(n)||"instance")),Ms(n)?(As(),je(n,Lp,n,e),Vs()):je(n,Lp,n,e);else{var r=Qo(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||xl||(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.",K(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.",K(n)||"instance")),Ms(n)?(As(),je(n,s0,n,e,r,t,e.__reactInternalSnapshotBeforeUpdate),Vs()):je(n,s0,n,e,r,t,e.__reactInternalSnapshotBeforeUpdate)}s&64&&cx(n),s&512&&Ni(n,n.return);break;case 3:if(t=sr(),ir(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){dt(n,n.return,u)}}e.effectDuration+=Kc(t);break;case 27:t===null&&s&4&&px(n);case 26:case 5:ir(e,n),t===null&&s&4&&mx(n),s&512&&Ni(n,n.return);break;case 12:if(s&4){s=sr(),ir(e,n),e=n.stateNode,e.effectDuration+=di(s);try{je(n,dx,n,t,Ju,e.effectDuration)}catch(u){dt(n,n.return,u)}}else ir(e,n);break;case 13:ir(e,n),s&4&&xx(e,n),s&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=cS.bind(null,n),VS(e,n))));break;case 22:if(s=n.memoizedState!==null||gr,!s){t=t!==null&&t.memoizedState!==null||At,r=gr;var o=At;gr=s,(At=t)&&!o?cr(e,n,(n.subtreeFlags&8772)!==0):ir(e,n),gr=r,At=o}break;case 30:break;default:ir(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 lr(e,t,n){for(n=n.child;n!==null;)vx(e,t,n),n=n.sibling}function vx(e,t,n){if(Wt&&typeof Wt.onCommitFiberUnmount=="function")try{Wt.onCommitFiberUnmount(Ia,n)}catch(o){Bs||(Bs=!0,console.error("React instrumentation encountered an error: %s",o))}switch(n.tag){case 26:At||Ps(n,t),lr(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:At||Ps(n,t);var s=zt,r=Dn;Xr(n.type)&&(zt=n.stateNode,Dn=!1),lr(e,t,n),je(n,Ui,n.stateNode),zt=s,Dn=r;break;case 5:At||Ps(n,t);case 6:if(s=zt,r=Dn,zt=null,lr(e,t,n),zt=s,Dn=r,zt!==null)if(Dn)try{je(n,jS,zt,n.stateNode)}catch(o){dt(n,t,o)}else try{je(n,SS,zt,n.stateNode)}catch(o){dt(n,t,o)}break;case 18:zt!==null&&(Dn?(e=zt,bg(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Ai(e)):bg(zt,n.stateNode));break;case 4:s=zt,r=Dn,zt=n.stateNode.containerInfo,Dn=!0,lr(e,t,n),zt=s,Dn=r;break;case 0:case 11:case 14:case 15:At||ka(mn,n,t),At||pf(n,t,Kt),lr(e,t,n);break;case 1:At||(Ps(n,t),s=n.stateNode,typeof s.componentWillUnmount=="function"&&ux(n,t,s)),lr(e,t,n);break;case 21:lr(e,t,n);break;case 22:At=(s=At)||n.memoizedState!==null,lr(e,t,n),At=s;break;default:lr(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,MS,e)}catch(n){dt(t,t.return,n)}}function tS(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new P0),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new P0),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function gf(e,t){var n=tS(e);t.forEach(function(s){var r=uS.bind(null,e,s);if(!n.has(s)){if(n.add(s),hs)if(gl!==null&&yl!==null)Ei(yl,gl);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");s.then(r,r)}})}function Bn(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],m=o;e:for(;m!==null;){switch(m.tag){case 27:if(Xr(m.type)){zt=m.stateNode,Dn=!1;break e}break;case 5:zt=m.stateNode,Dn=!1;break e;case 3:case 4:zt=m.stateNode.containerInfo,Dn=!0;break e}m=m.return}if(zt===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),zt=null,Dn=!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:Bn(t,e),Ln(e),s&4&&(ka(mn|os,e,e.return),yi(mn|os,e),pf(e,e.return,Kt|os));break;case 1:Bn(t,e),Ln(e),s&512&&(At||n===null||Ps(n,n.return)),s&64&&gr&&(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=gs;if(Bn(t,e),Ln(e),s&512&&(At||n===null||Ps(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[en]||r.namespaceURI===Za||r.hasAttribute("itemprop"))&&(r=t.createElement(s),t.head.insertBefore(r,t.querySelector("head > title"))),It(r,s,n),r[en]=e,R(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),It(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],X(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),It(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[en]=e,R(r),s=r}e.stateNode=s}else Cg(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?Cg(r,e.type,e.stateNode):Eg(r,s,e.memoizedProps)):s===null&&e.stateNode!==null&&bf(e,e.memoizedProps,n.memoizedProps);break;case 27:Bn(t,e),Ln(e),s&512&&(At||n===null||Ps(n,n.return)),n!==null&&s&4&&bf(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Bn(t,e),Ln(e),s&512&&(At||n===null||Ps(n,n.return)),e.flags&32){t=e.stateNode;try{je(e,hg,t)}catch(P){dt(e,e.return,P)}}s&4&&e.stateNode!=null&&(t=e.memoizedProps,bf(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(Bn(t,e),Ln(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,wS,t,n,s)}catch(P){dt(e,e.return,P)}}break;case 3:if(r=sr(),jd=null,o=gs,gs=Tu(t.containerInfo),Bn(t,e),gs=o,Ln(e),s&4&&n!==null&&n.memoizedState.isDehydrated)try{je(e,AS,t.containerInfo)}catch(P){dt(e,e.return,P)}Ip&&(Ip=!1,yx(e)),t.effectDuration+=Kc(r);break;case 4:s=gs,gs=Tu(e.stateNode.containerInfo),Bn(t,e),Ln(e),gs=s;break;case 12:s=sr(),Bn(t,e),Ln(e),e.stateNode.effectDuration+=di(s);break;case 13:Bn(t,e),Ln(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(eh=_s()),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,gf(e,s)));break;case 22:r=e.memoizedState!==null;var m=n!==null&&n.memoizedState!==null,b=gr,x=At;if(gr=b||r,At=x||m,Bn(t,e),At=x,gr=b,Ln(e),s&8192)e:for(t=e.stateNode,t._visibility=r?t._visibility&~Iu:t._visibility|Iu,r&&(n===null||m||gr||At||Io(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){m=n=t;try{o=m.stateNode,r?je(m,ES,o):je(m,CS,m.stateNode,m.memoizedProps)}catch(P){dt(m,m.return,P)}}}else if(t.tag===6){if(n===null){m=t;try{u=m.stateNode,r?je(m,DS,u):je(m,US,u,m.memoizedProps)}catch(P){dt(m,m.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,gf(e,n))));break;case 19:Bn(t,e),Ln(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,gf(e,s)));break;case 30:break;case 21:break;default:Bn(t,e),Ln(e)}}function Ln(e){var t=e.flags;if(t&2){try{je(e,Ww,e)}catch(n){dt(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 ir(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:pf(e,e.return,Kt),Io(e);break;case 1:Ps(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&ux(e,e.return,t),Io(e);break;case 27:je(e,Ui,e.stateNode);case 26:case 5:Ps(e,e.return),Io(e);break;case 22:e.memoizedState===null&&Io(e);break;case 30:Io(e);break;default:Io(e)}}function Io(e){for(e=e.child;e!==null;)Nx(e),e=e.sibling}function wx(e,t,n,s){var r=n.flags;switch(n.tag){case 0:case 11:case 15:cr(e,n,s),lx(n,Kt);break;case 1:if(cr(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,_w,t,e)}catch(o){dt(n,n.return,o)}}s&&r&64&&cx(n),Ni(n,n.return);break;case 27:px(n);case 26:case 5:cr(e,n,s),s&&t===null&&r&4&&mx(n),Ni(n,n.return);break;case 12:if(s&&r&4){r=sr(),cr(e,n,s),s=n.stateNode,s.effectDuration+=di(r);try{je(n,dx,n,t,Ju,s.effectDuration)}catch(o){dt(n,n.return,o)}}else cr(e,n,s);break;case 13:cr(e,n,s),s&&r&4&&xx(e,n);break;case 22:n.memoizedState===null&&cr(e,n,s),Ni(n,n.return);break;case 30:break;default:cr(e,n,s)}}function cr(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)wx(e,t.alternate,t,n),t=t.sibling}function yf(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&&Fo(e),n!=null&&ui(n))}function Nf(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(Fo(t),e!=null&&ui(e))}function Os(e,t,n,s){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Sx(e,t,n,s),t=t.sibling}function Sx(e,t,n,s){var r=t.flags;switch(t.tag){case 0:case 11:case 15:Os(e,t,n,s),r&2048&&ix(t,_t|os);break;case 1:Os(e,t,n,s);break;case 3:var o=sr();Os(e,t,n,s),r&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==n&&(Fo(t),n!=null&&ui(n))),e.passiveEffectDuration+=Kc(o);break;case 12:if(r&2048){r=sr(),Os(e,t,n,s),e=t.stateNode,e.passiveEffectDuration+=di(r);try{je(t,Jw,t,t.alternate,Ju,e.passiveEffectDuration)}catch(m){dt(t,t.return,m)}}else Os(e,t,n,s);break;case 13:Os(e,t,n,s);break;case 23:break;case 22:o=t.stateNode;var u=t.alternate;t.memoizedState!==null?o._visibility&fr?Os(e,t,n,s):wi(e,t):o._visibility&fr?Os(e,t,n,s):(o._visibility|=fr,za(e,t,n,s,(t.subtreeFlags&10256)!==0)),r&2048&&yf(u,t);break;case 24:Os(e,t,n,s),r&2048&&Nf(t.alternate,t);break;default:Os(e,t,n,s)}}function za(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:za(e,t,n,s,r),ix(t,_t);break;case 23:break;case 22:var u=t.stateNode;t.memoizedState!==null?u._visibility&fr?za(e,t,n,s,r):wi(e,t):(u._visibility|=fr,za(e,t,n,s,r)),r&&o&2048&&yf(t.alternate,t);break;case 24:za(e,t,n,s,r),r&&o&2048&&Nf(t.alternate,t);break;default:za(e,t,n,s,r)}}function wi(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:wi(n,s),r&2048&&yf(s.alternate,s);break;case 24:wi(n,s),r&2048&&Nf(s.alternate,s);break;default:wi(n,s)}t=t.sibling}}function Ha(e){if(e.subtreeFlags&rc)for(e=e.child;e!==null;)Ex(e),e=e.sibling}function Ex(e){switch(e.tag){case 26:Ha(e),e.flags&rc&&e.memoizedState!==null&&HS(gs,e.memoizedState,e.memoizedProps);break;case 5:Ha(e);break;case 3:case 4:var t=gs;gs=Tu(e.stateNode.containerInfo),Ha(e),gs=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=rc,rc=16777216,Ha(e),rc=t):Ha(e));break;default:Ha(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];Gt=s,Tx(s,e)}Dx(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Cx(e),e=e.sibling}function Cx(e){switch(e.tag){case 0:case 11:case 15:Si(e),e.flags&2048&&hf(e,e.return,_t|os);break;case 3:var t=sr();Si(e),e.stateNode.passiveEffectDuration+=Kc(t);break;case 12:t=sr(),Si(e),e.stateNode.passiveEffectDuration+=di(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];Gt=s,Tx(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:hf(e,e.return,_t),Su(e);break;case 22:var t=e.stateNode;t._visibility&fr&&(t._visibility&=~fr,Su(e));break;default:Su(e)}}function Tx(e,t){for(;Gt!==null;){var n=Gt,s=n;switch(s.tag){case 0:case 11:case 15:hf(s,t,_t);break;case 23:case 22:s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(s=s.memoizedState.cachePool.pool,s!=null&&Fo(s));break;case 24:ui(s.memoizedState.cache)}if(s=n.child,s!==null)s.return=n,Gt=s;else e:for(n=e;Gt!==null;){s=Gt;var r=s.sibling,o=s.return;if(bx(s),s===n){Gt=null;break e}if(r!==null){r.return=o,Gt=r;break e}Gt=o}}}function nS(){bE.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 qn(e){if((ot&fn)!==Gn&&Ie!==0)return Ie&-Ie;var t=H.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),e=ea,e!==0?e:Rf()):Hr()}function Vx(){Qn===0&&(Qn=(Ie&536870912)===0||nt?He():536870912);var e=ls.current;return e!==null&&(e.flags|=32),Qn}function Vt(e,t,n){if(El&&console.error("useInsertionEffect must not schedule updates."),oh&&(md=!0),(e===ht&&(at===oa||at===aa)||e.cancelPendingCommit!==null)&&(Ba(e,0),Qr(e,Ie,Qn,!1)),an(e,n),(ot&fn)!==0&&e===ht){if(qs)switch(t.tag){case 0:case 11:case 15:e=Ye&&K(Ye)||"Unknown",Y0.has(e)||(Y0.add(e),t=K(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 hs&&zr(e,t,n),mS(t),e===ht&&((ot&fn)===Gn&&(io|=n),Ct===ra&&Qr(e,Ie,Qn,!1)),ks(e)}function Ax(e,t,n){if((ot&(fn|ys))!==Gn)throw Error("Should not already be working.");var s=!n&&(t&124)===0&&(t&e.expiredLanes)===0||ds(e,t),r=s?rS(e,t):jf(e,t,!0),o=s;do{if(r===yr){Sl&&!s&&Qr(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!sS(n)){r=jf(e,t,!1),o=!1;continue}if(r===Nl){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 m=u;u=uc;var b=r.current.memoizedState.isDehydrated;if(b&&(Ba(r,m).flags|=256),m=jf(r,m,!1),m!==Nl){if(Jp&&!b){r.errorRecoveryDisabledLanes|=o,io|=o,r=ra;break e}r=pn,pn=u,r!==null&&(pn===null?pn=r:pn.push.apply(pn,r))}r=m}if(o=!1,r!==Nl)continue}}if(r===ac){Ba(e,0),Qr(e,t,0,!0);break}e:{switch(s=e,r){case yr:case ac:throw Error("Root did not complete. This is a bug in React.");case ra:if((t&4194048)!==t)break;case cd:Qr(s,t,Qn,!ao);break e;case Nl:pn=null;break;case Xp:case O0:break;default:throw Error("Unknown root exit status.")}if(H.actQueue!==null)Ef(s,n,t,pn,dc,ud,Qn,io,la);else{if((t&62914560)===t&&(o=eh+z0-_s(),10<o)){if(Qr(s,t,Qn,!ao),on(s,0,!0)!==0)break e;s.timeoutHandle=J0(Mx.bind(null,s,n,pn,dc,ud,t,Qn,io,la,ao,r,yE,_y,0),o);break e}Mx(s,n,pn,dc,ud,t,Qn,io,la,ao,r,xE,_y,0)}}}break}while(!0);ks(e)}function Mx(e,t,n,s,r,o,u,m,b,x,P,_,M,L){if(e.timeoutHandle=ma,_=t.subtreeFlags,(_&8192||(_&16785408)===16785408)&&(vc={stylesheets:null,count:0,unsuspend:zS},Ex(t),_=_S(),_!==null)){e.cancelPendingCommit=_(Ef.bind(null,e,t,o,n,s,r,u,m,b,P,gE,M,L)),Qr(e,o,u,!x);return}Ef(e,t,o,n,s,r,u,m,b)}function sS(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(!un(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 Qr(e,t,n,s){t&=~Wp,t&=~io,e.suspendedLanes|=t,e.pingedLanes&=~t,s&&(e.warmLanes|=t),s=e.expirationTimes;for(var r=t;0<r;){var o=31-ln(r),u=1<<o;s[o]=-1,r&=~u}n!==0&&Vo(e,n,t)}function _a(){return(ot&(fn|ys))===Gn?(Di(0),!1):!0}function wf(){if(Ye!==null){if(at===Cn)var e=Ye.return;else e=Ye,Ic(),Am(e),pl=null,nc=0,e=Ye;for(;e!==null;)ax(e.alternate,e),e=e.return;Ye=null}}function Ba(e,t){var n=e.timeoutHandle;n!==ma&&(e.timeoutHandle=ma,ME(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),wf(),ht=e,Ye=n=tr(e.current,null),Ie=t,at=Cn,$n=null,ao=!1,Sl=ds(e,t),Jp=!1,Ct=yr,la=Qn=Wp=io=lo=0,pn=uc=null,ud=!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-ln(s),o=1<<r;t|=e[r],s&=~o}return Qs=t,Yc(),t=zy(),1e3<t-ky&&(H.recentlyCreatedOwnerStacks=0,ky=t),vs.discardPendingWarnings(),n}function Px(e,t){Ae=null,H.H=ld,H.getCurrentStack=null,qs=!1,Yn=null,t===Ji||t===nd?(t=lv(),at=ic):t===qy?(t=lv(),at=k0):at=t===D0?Kp:t!==null&&typeof t=="object"&&typeof t.then=="function"?wl:lc,$n=t;var n=Ye;if(n===null)Ct=ac,xu(e,_n(t,e.current));else switch(n.mode&Zt&&Nm(n),pt(),at){case lc:de!==null&&typeof de.markComponentErrored=="function"&&de.markComponentErrored(n,t,Ie);break;case oa:case aa:case ic:case wl:case cc:de!==null&&typeof de.markComponentSuspended=="function"&&de.markComponentSuspended(n,t,Ie)}}function Ox(){var e=H.H;return H.H=ld,e===null?ld:e}function kx(){var e=H.A;return H.A=hE,e}function Sf(){Ct=ra,ao||(Ie&4194048)!==Ie&&ls.current!==null||(Sl=!0),(lo&134217727)===0&&(io&134217727)===0||ht===null||Qr(ht,Ie,Qn,!1)}function jf(e,t,n){var s=ot;ot|=fn;var r=Ox(),o=kx();if(ht!==e||Ie!==t){if(hs){var u=e.memoizedUpdaters;0<u.size&&(Ei(e,Ie),u.clear()),er(e,t)}dc=null,Ba(e,t)}rn(t),t=!1,u=Ct;e:do try{if(at!==Cn&&Ye!==null){var m=Ye,b=$n;switch(at){case Kp:wf(),u=cd;break e;case ic:case oa:case aa:case wl:ls.current===null&&(t=!0);var x=at;if(at=Cn,$n=null,La(e,m,b,x),n&&Sl){u=yr;break e}break;default:x=at,at=Cn,$n=null,La(e,m,b,x)}}zx(),u=Ct;break}catch(P){Px(e,P)}while(!0);return t&&e.shellSuspendCounter++,Ic(),ot=s,H.H=r,H.A=o,An(),Ye===null&&(ht=null,Ie=0,Yc()),u}function zx(){for(;Ye!==null;)Hx(Ye)}function rS(e,t){var n=ot;ot|=fn;var s=Ox(),r=kx();if(ht!==e||Ie!==t){if(hs){var o=e.memoizedUpdaters;0<o.size&&(Ei(e,Ie),o.clear()),er(e,t)}dc=null,dd=_s()+H0,Ba(e,t)}else Sl=ds(e,t);rn(t);e:do try{if(at!==Cn&&Ye!==null)t:switch(t=Ye,o=$n,at){case lc:at=Cn,$n=null,La(e,t,o,lc);break;case oa:case aa:if(ov(o)){at=Cn,$n=null,_x(t);break}t=function(){at!==oa&&at!==aa||ht!==e||(at=cc),ks(e)},o.then(t,t);break e;case ic:at=cc;break e;case k0:at=Zp;break e;case cc:ov(o)?(at=Cn,$n=null,_x(t)):(at=Cn,$n=null,La(e,t,o,cc));break;case Zp:var u=null;switch(Ye.tag){case 26:u=Ye.memoizedState;case 5:case 27:var m=Ye;if(!u||Ug(u)){at=Cn,$n=null;var b=m.sibling;if(b!==null)Ye=b;else{var x=m.return;x!==null?(Ye=x,ju(x)):Ye=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}at=Cn,$n=null,La(e,t,o,Zp);break;case wl:at=Cn,$n=null,La(e,t,o,wl);break;case Kp:wf(),Ct=cd;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}H.actQueue!==null?zx():oS();break}catch(P){Px(e,P)}while(!0);return Ic(),H.H=s,H.A=r,ot=n,Ye!==null?(de!==null&&typeof de.markRenderYielded=="function"&&de.markRenderYielded(),yr):(An(),ht=null,Ie=0,Yc(),Ct)}function oS(){for(;Ye!==null&&!tj();)Hx(Ye)}function Hx(e){var t=e.alternate;(e.mode&Zt)!==vt?(ym(e),t=je(e,ff,t,e,Qs),Nm(e)):t=je(e,ff,t,e,Qs),e.memoizedProps=e.pendingProps,t===null?ju(e):Ye=t}function _x(e){var t=je(e,aS,e);e.memoizedProps=e.pendingProps,t===null?ju(e):Ye=t}function aS(e){var t=e.alternate,n=(e.mode&Zt)!==vt;switch(n&&ym(e),e.tag){case 15:case 0:t=Jv(t,e,e.pendingProps,e.type,void 0,Ie);break;case 11:t=Jv(t,e,e.pendingProps,e.type.render,e.ref,Ie);break;case 5:Am(e);default:ax(t,e),e=Ye=Ib(e,Qs),t=ff(t,e,Qs)}return n&&Nm(e),t}function La(e,t,n,s){Ic(),Am(t),pl=null,nc=0;var r=t.return;try{if(Gw(e,r,t,n,Ie)){Ct=ac,xu(e,_n(n,e.current)),Ye=null;return}}catch(o){if(r!==null)throw Ye=r,o;Ct=ac,xu(e,_n(n,e.current)),Ye=null;return}t.flags&32768?(nt||s===lc?e=!0:Sl||(Ie&536870912)!==0?e=!1:(ao=e=!0,(s===oa||s===aa||s===ic||s===wl)&&(s=ls.current,s!==null&&s.tag===13&&(s.flags|=16384))),Bx(t,e)):ju(t)}function ju(e){var t=e;do{if((t.flags&32768)!==0){Bx(t,ao);return}var n=t.alternate;if(e=t.return,ym(t),n=je(t,Qw,n,t,Qs),(t.mode&Zt)!==vt&&tv(t),n!==null){Ye=n;return}if(t=t.sibling,t!==null){Ye=t;return}Ye=t=e}while(t!==null);Ct===yr&&(Ct=O0)}function Bx(e,t){do{var n=Iw(e.alternate,e);if(n!==null){n.flags&=32767,Ye=n;return}if((e.mode&Zt)!==vt){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)){Ye=e;return}Ye=e=n}while(e!==null);Ct=cd,Ye=null}function Ef(e,t,n,s,r,o,u,m,b){e.cancelPendingCommit=null;do ji();while(Jt!==ia);if(vs.flushLegacyContextWarning(),vs.flushPendingUnsafeLifecycleWarnings(),(ot&(fn|ys))!==Gn)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,Ua(e,n,o,u,m,b),e===ht&&(Ye=ht=null,Ie=0),jl=t,uo=e,mo=n,nh=o,sh=r,q0=s,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,dS(Qa,function(){return Gx(),null})):(e.callbackNode=null,e.callbackPriority=0),Ju=cl(),s=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||s){s=H.T,H.T=null,r=rt.p,rt.p=Jn,u=ot,ot|=ys;try{eS(e,t,n)}finally{ot=u,rt.p=r,H.T=s}}Jt=_0,Lx(),qx(),Fx()}}function Lx(){if(Jt===_0){Jt=ia;var e=uo,t=jl,n=mo,s=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||s){s=H.T,H.T=null;var r=rt.p;rt.p=Jn;var o=ot;ot|=ys;try{gl=n,yl=e,gx(t,e),yl=gl=null,n=ph;var u=Fb(e.containerInfo),m=n.focusedElem,b=n.selectionRange;if(u!==m&&m&&m.ownerDocument&&qb(m.ownerDocument.documentElement,m)){if(b!==null&&am(m)){var x=b.start,P=b.end;if(P===void 0&&(P=x),"selectionStart"in m)m.selectionStart=x,m.selectionEnd=Math.min(P,m.value.length);else{var _=m.ownerDocument||document,M=_&&_.defaultView||window;if(M.getSelection){var L=M.getSelection(),he=m.textContent.length,Re=Math.min(b.start,he),bt=b.end===void 0?Re:Math.min(b.end,he);!L.extend&&Re>bt&&(u=bt,bt=Re,Re=u);var Ze=Lb(m,Re),S=Lb(m,bt);if(Ze&&S&&(L.rangeCount!==1||L.anchorNode!==Ze.node||L.anchorOffset!==Ze.offset||L.focusNode!==S.node||L.focusOffset!==S.offset)){var j=_.createRange();j.setStart(Ze.node,Ze.offset),L.removeAllRanges(),Re>bt?(L.addRange(j),L.extend(S.node,S.offset)):(j.setEnd(S.node,S.offset),L.addRange(j))}}}}for(_=[],L=m;L=L.parentNode;)L.nodeType===1&&_.push({element:L,left:L.scrollLeft,top:L.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<_.length;m++){var C=_[m];C.element.scrollLeft=C.left,C.element.scrollTop=C.top}}Cd=!!fh,ph=fh=null}finally{ot=o,rt.p=r,H.T=s}}e.current=t,Jt=B0}}function qx(){if(Jt===B0){Jt=ia;var e=uo,t=jl,n=mo,s=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||s){s=H.T,H.T=null;var r=rt.p;rt.p=Jn;var o=ot;ot|=ys;try{de!==null&&typeof de.markLayoutEffectsStarted=="function"&&de.markLayoutEffectsStarted(n),gl=n,yl=e,hx(e,t.alternate,t),yl=gl=null,de!==null&&typeof de.markLayoutEffectsStopped=="function"&&de.markLayoutEffectsStopped()}finally{ot=o,rt.p=r,H.T=s}}Jt=L0}}function Fx(){if(Jt===NE||Jt===L0){Jt=ia,nj();var e=uo,t=jl,n=mo,s=q0,r=(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0;r?Jt=th:(Jt=ia,jl=uo=null,Yx(e,e.pendingLanes),ca=0,fc=null);var o=e.pendingLanes;if(o===0&&(co=null),r||Xx(e),r=Pn(n),t=t.stateNode,Wt&&typeof Wt.onCommitFiberRoot=="function")try{var u=(t.current.flags&128)===128;switch(r){case Jn:var m=ap;break;case Ls:m=lp;break;case mr:m=Qa;break;case Lu:m=ip;break;default:m=Qa}Wt.onCommitFiberRoot(Ia,t,m,u)}catch(_){Bs||(Bs=!0,console.error("React instrumentation encountered an error: %s",_))}if(hs&&e.memoizedUpdaters.clear(),nS(),s!==null){u=H.T,m=rt.p,rt.p=Jn,H.T=null;try{var b=e.onRecoverableError;for(t=0;t<s.length;t++){var x=s[t],P=lS(x.stack);je(x.source,b,x.value,P)}}finally{H.T=u,rt.p=m}}(mo&3)!==0&&ji(),ks(e),o=e.pendingLanes,(n&4194090)!==0&&(o&42)!==0?(ed=!0,e===rh?mc++:(mc=0,rh=e)):mc=0,Di(0),Te()}}function lS(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,ui(t)))}function ji(e){return Lx(),qx(),Fx(),Gx()}function Gx(){if(Jt!==th)return!1;var e=uo,t=nh;nh=0;var n=Pn(mo),s=mr>n?mr:n;n=H.T;var r=rt.p;try{rt.p=s,H.T=null,s=sh,sh=null;var o=uo,u=mo;if(Jt=ia,jl=uo=null,mo=0,(ot&(fn|ys))!==Gn)throw Error("Cannot flush passive effects while already rendering.");oh=!0,md=!1,de!==null&&typeof de.markPassiveEffectsStarted=="function"&&de.markPassiveEffectsStarted(u);var m=ot;if(ot|=ys,Cx(o.current),Sx(o,o.current,u,s),de!==null&&typeof de.markPassiveEffectsStopped=="function"&&de.markPassiveEffectsStopped(),Xx(o),ot=m,Di(0,!1),md?o===fc?ca++:(ca=0,fc=o):ca=0,md=oh=!1,Wt&&typeof Wt.onPostCommitFiberRoot=="function")try{Wt.onPostCommitFiberRoot(Ia,o)}catch(x){Bs||(Bs=!0,console.error("React instrumentation encountered an error: %s",x))}var b=o.current.stateNode;return b.effectDuration=0,b.passiveEffectDuration=0,!0}finally{rt.p=r,H.T=n,Yx(e,t)}}function $x(e,t,n){t=_n(n,t),t=tf(e.stateNode,t,2),e=Fr(e,t,2),e!==null&&(an(e,2),ks(e))}function dt(e,t,n){if(El=!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"&&(co===null||!co.has(s))){e=_n(n,e),n=nf(2),s=Fr(t,n,2),s!==null&&(sf(n,s,t,e),an(s,2),ks(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 Df(e,t,n){var s=e.pingCache;if(s===null){s=e.pingCache=new vE;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=iS.bind(null,e,t,n),hs&&Ei(e,n),t.then(s,s))}function iS(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`),ht===e&&(Ie&n)===n&&(Ct===ra||Ct===Xp&&(Ie&62914560)===Ie&&_s()-eh<z0?(ot&fn)===Gn&&Ba(e,0):Wp|=n,la===Ie&&(la=0)),ks(e)}function Qx(e,t){t===0&&(t=Js()),e=Nn(e,t),e!==null&&(an(e,t),ks(e))}function cS(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Qx(e,n)}function uS(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 Cf(e,t,n){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var s=e,r=t,o=r.type===ku;o=n||o,r.tag!==22?r.flags&67108864?o&&je(r,Ix,s,r,(r.mode&My)===vt):Cf(s,r,o):r.memoizedState===null&&(o&&r.flags&8192?je(r,Ix,s,r):r.subtreeFlags&67108864&&je(r,Cf,s,r,o)),t=t.sibling}}function Ix(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;ge(!0);try{Nx(t),n&&Ux(t),wx(e,t.alternate,t,!1),n&&jx(e,t,0,null,!1,0)}finally{ge(!1)}}function Xx(e){var t=!0;e.current.mode&(tn|bs)||(t=!1),Cf(e,e.current,t)}function Zx(e){if((ot&fn)===Gn){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=K(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 Ei(e,t){hs&&e.memoizedUpdaters.forEach(function(n){zr(e,n,t)})}function dS(e,t){var n=H.actQueue;return n!==null?(n.push(t),jE):op(e,t)}function mS(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`,K(e))})}function ks(e){e!==Dl&&e.next===null&&(Dl===null?pd=Dl=e:Dl=Dl.next=e),hd=!0,H.actQueue!==null?lh||(lh=!0,eg()):ah||(ah=!0,eg())}function Di(e,t){if(!ih&&hd){ih=!0;do for(var n=!1,s=pd;s!==null;){if(e!==0){var r=s.pendingLanes;if(r===0)var o=0;else{var u=s.suspendedLanes,m=s.pingedLanes;o=(1<<31-ln(42|e)+1)-1,o&=r&~(u&~m),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(n=!0,Wx(s,o))}else o=Ie,o=on(s,s===ht?o:0,s.cancelPendingCommit!==null||s.timeoutHandle!==ma),(o&3)===0||ds(s,o)||(n=!0,Wx(s,o));s=s.next}while(n);ih=!1}}function fS(){Uf()}function Uf(){hd=lh=ah=!1;var e=0;ua!==0&&(xS()&&(e=ua),ua=0);for(var t=_s(),n=null,s=pd;s!==null;){var r=s.next,o=Kx(s,t);o===0?(s.next=null,n===null?pd=r:n.next=r,r===null&&(Dl=n)):(n=s,(e!==0||(o&3)!==0)&&(hd=!0)),s=r}Di(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-ln(o),m=1<<u,b=r[u];b===-1?((m&n)===0||(m&s)!==0)&&(r[u]=Mn(m,t)):b<=t&&(e.expiredLanes|=m),o&=~m}if(t=ht,n=Ie,n=on(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ma),s=e.callbackNode,n===0||e===t&&(at===oa||at===aa)||e.cancelPendingCommit!==null)return s!==null&&Tf(s),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||ds(e,n)){if(t=n&-n,t!==e.callbackPriority||H.actQueue!==null&&s!==ch)Tf(s);else return t;switch(Pn(n)){case Jn:case Ls:n=lp;break;case mr:n=Qa;break;case Lu:n=ip;break;default:n=Qa}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&&Tf(s),e.callbackPriority=2,e.callbackNode=null,2}function Jx(e,t){if(ed=Wu=!1,Jt!==ia&&Jt!==th)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(ji()&&e.callbackNode!==n)return null;var s=Ie;return s=on(e,e===ht?s:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ma),s===0?null:(Ax(e,s,t),Kx(e,_s()),e.callbackNode!=null&&e.callbackNode===n?Jx.bind(null,e):null)}function Wx(e,t){if(ji())return null;Wu=ed,ed=!1,Ax(e,t,!0)}function Tf(e){e!==ch&&e!==null&&ej(e)}function eg(){H.actQueue!==null&&H.actQueue.push(function(){return Uf(),null}),PE(function(){(ot&(fn|ys))!==Gn?op(ap,fS):Uf()})}function Rf(){return ua===0&&(ua=He()),ua}function tg(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(X(e,"action"),si(""+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 pS(e,t,n,s,r){if(t==="submit"&&n&&n.stateNode===r){var o=tg((r[jn]||null).action),u=s.submitter;u&&(t=(t=u[jn]||null)?tg(t.formAction):u.getAttribute("formAction"),t!==null&&(o=t,u=null));var m=new $u("action","action",null,s,r);e.push({event:m,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(ua!==0){var b=u?ng(r,u):new FormData(r),x={pending:!0,data:b,method:r.method,action:o};Object.freeze(x),Im(n,x,null,b)}}else typeof o=="function"&&(m.preventDefault(),b=u?ng(r,u):new FormData(r),x={pending:!0,data:b,method:r.method,action:o},Object.freeze(x),Im(n,x,o,b))},currentTarget:r}]})}}function Eu(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 m=s[u],b=m.instance,x=m.currentTarget;if(m=m.listener,b!==r&&o.isPropagationStopped())break e;b!==null?je(b,Eu,o,m,x):Eu(o,m,x),r=b}else for(u=0;u<s.length;u++){if(m=s[u],b=m.instance,x=m.currentTarget,m=m.listener,b!==r&&o.isPropagationStopped())break e;b!==null?je(b,Eu,o,m,x):Eu(o,m,x),r=b}}}}function Xe(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 Vf(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 Af(e){if(!e[bd]){e[bd]=!0,Lg.forEach(function(n){n!=="selectionchange"&&(uh.has(n)||Vf(n,!1,e),Vf(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[bd]||(t[bd]=!0,Vf("selectionchange",!1,t))}}function rg(e,t,n,s){switch(Mg(t)){case Jn:var r=YS;break;case Ls:r=GS;break;default:r=Qf}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 Mf(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 m=s.stateNode.containerInfo;if(m===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(;m!==null;){if(u=kn(m),u===null)return;if(b=u.tag,b===5||b===6||b===26||b===27){s=o=u;continue e}m=m.parentNode}}s=s.return}Rb(function(){var x=o,P=rm(n),_=[];e:{var M=Ay.get(e);if(M!==void 0){var L=$u,he=e;switch(e){case"keypress":if(Lc(n)===0)break e;case"keydown":case"keyup":L=Lj;break;case"focusin":he="focus",L=Np;break;case"focusout":he="blur",L=Np;break;case"beforeblur":case"afterblur":L=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":L=xy;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":L=Tj;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":L=Yj;break;case Uy:case Ty:case Ry:L=Aj;break;case Vy:L=$j;break;case"scroll":case"scrollend":L=Cj;break;case"wheel":L=Ij;break;case"copy":case"cut":case"paste":L=Pj;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":L=yy;break;case"toggle":case"beforetoggle":L=Zj}var Re=(t&4)!==0,bt=!Re&&(e==="scroll"||e==="scrollend"),Ze=Re?M!==null?M+"Capture":null:M;Re=[];for(var S=x,j;S!==null;){var C=S;if(j=C.stateNode,C=C.tag,C!==5&&C!==26&&C!==27||j===null||Ze===null||(C=ri(S,Ze),C!=null&&Re.push(Ci(S,C,j))),bt)break;S=S.return}0<Re.length&&(M=new L(M,he,null,n,P),_.push({event:M,listeners:Re}))}}if((t&7)===0){e:{if(M=e==="mouseover"||e==="pointerover",L=e==="mouseout"||e==="pointerout",M&&n!==zi&&(he=n.relatedTarget||n.fromElement)&&(kn(he)||he[eo]))break e;if((L||M)&&(M=P.window===P?P:(M=P.ownerDocument)?M.defaultView||M.parentWindow:window,L?(he=n.relatedTarget||n.toElement,L=x,he=he?kn(he):null,he!==null&&(bt=Y(he),Re=he.tag,he!==bt||Re!==5&&Re!==27&&Re!==6)&&(he=null)):(L=null,he=x),L!==he)){if(Re=xy,C="onMouseLeave",Ze="onMouseEnter",S="mouse",(e==="pointerout"||e==="pointerover")&&(Re=yy,C="onPointerLeave",Ze="onPointerEnter",S="pointer"),bt=L==null?M:ms(L),j=he==null?M:ms(he),M=new Re(C,S+"leave",L,n,P),M.target=bt,M.relatedTarget=j,C=null,kn(P)===x&&(Re=new Re(Ze,S+"enter",he,n,P),Re.target=j,Re.relatedTarget=bt,C=Re),bt=C,L&&he)t:{for(Re=L,Ze=he,S=0,j=Re;j;j=qa(j))S++;for(j=0,C=Ze;C;C=qa(C))j++;for(;0<S-j;)Re=qa(Re),S--;for(;0<j-S;)Ze=qa(Ze),j--;for(;S--;){if(Re===Ze||Ze!==null&&Re===Ze.alternate)break t;Re=qa(Re),Ze=qa(Ze)}Re=null}else Re=null;L!==null&&og(_,M,L,Re,!1),he!==null&&bt!==null&&og(_,bt,he,Re,!0)}}e:{if(M=x?ms(x):window,L=M.nodeName&&M.nodeName.toLowerCase(),L==="select"||L==="input"&&M.type==="file")var q=zb;else if(Ob(M))if(Dy)q=Pw;else{q=Aw;var ae=Vw}else L=M.nodeName,!L||L.toLowerCase()!=="input"||M.type!=="checkbox"&&M.type!=="radio"?x&&ni(x.elementType)&&(q=zb):q=Mw;if(q&&(q=q(e,x))){kb(_,q,n,P);break e}ae&&ae(e,M,x),e==="focusout"&&x&&M.type==="number"&&x.memoizedProps.value!=null&&Jd(M,"number",M.value)}switch(ae=x?ms(x):window,e){case"focusin":(Ob(ae)||ae.contentEditable==="true")&&(tl=ae,Sp=x,Yi=null);break;case"focusout":Yi=Sp=tl=null;break;case"mousedown":jp=!0;break;case"contextmenu":case"mouseup":case"dragend":jp=!1,Yb(_,n,P);break;case"selectionchange":if(eE)break;case"keydown":case"keyup":Yb(_,n,P)}var Pe;if(wp)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 el?Mb(e,n)&&(be="onCompositionEnd"):e==="keydown"&&n.keyCode===Ny&&(be="onCompositionStart");be&&(wy&&n.locale!=="ko"&&(el||be!=="onCompositionStart"?be==="onCompositionEnd"&&el&&(Pe=Vb()):(to=P,xp="value"in to?to.value:to.textContent,el=!0)),ae=Du(x,be),0<ae.length&&(be=new gy(be,e,null,n,P),_.push({event:be,listeners:ae}),Pe?be.data=Pe:(Pe=Pb(n),Pe!==null&&(be.data=Pe)))),(Pe=Jj?Cw(e,n):Uw(e,n))&&(be=Du(x,"onBeforeInput"),0<be.length&&(ae=new kj("onBeforeInput","beforeinput",null,n,P),_.push({event:ae,listeners:be}),ae.data=Pe)),pS(_,e,x,n,P)}sg(_,t)})}function Ci(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Du(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=ri(e,n),r!=null&&s.unshift(Ci(e,r,o)),r=ri(e,t),r!=null&&s.push(Ci(e,r,o))),e.tag===3)return s;e=e.return}return[]}function qa(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 m=n,b=m.alternate,x=m.stateNode;if(m=m.tag,b!==null&&b===s)break;m!==5&&m!==26&&m!==27||x===null||(b=x,r?(x=ri(n,o),x!=null&&u.unshift(Ci(n,x,b))):r||(x=ri(n,o),x!=null&&u.push(Ci(n,x,b)))),n=n.return}u.length!==0&&e.push({event:t,listeners:u})}function Pf(e,t){Sw(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:Xo,possibleRegistrationNames:up};ni(e)||typeof t.is=="string"||Ew(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 Ft(e,t,n,s){t!==n&&(n=Ir(n),Ir(t)!==n&&(s[e]=t))}function hS(e,t,n){t.forEach(function(s){n[ig(s)]=s==="style"?kf(e):e.getAttribute(s)})}function zs(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===Fu||e.namespaceURI===Za?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Ir(e){return w(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.",me(e)),G(e)),(typeof e=="string"?e:""+e).replace(EE,`
217
+ `).replace(DE,"")}function lg(e,t){return t=Ir(t),Ir(e)===t}function Cu(){}function mt(e,t,n,s,r,o){switch(n){case"children":typeof s=="string"?(Bc(s,t,!1),t==="body"||t==="textarea"&&s===""||ti(e,s)):(typeof s=="number"||typeof s=="bigint")&&(Bc(""+s,t,!1),t!=="body"&&ti(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":Cb(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}X(s,n),s=si(""+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||gd||(gd=!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||xd||(xd=!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"||vd?t!=="button"||r.type==null||r.type==="submit"||vd?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||gd||(gd=!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||xd||(xd=!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."))):(vd=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(vd=!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"&&mt(e,t,"name",r.name,r,null),mt(e,t,"formEncType",r.formEncType,r,null),mt(e,t,"formMethod",r.formMethod,r,null),mt(e,t,"formTarget",r.formTarget,r,null)):(mt(e,t,"encType",r.encType,r,null),mt(e,t,"method",r.method,r,null),mt(e,t,"target",r.target,r,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(n);break}X(s,n),s=si(""+s),e.setAttribute(n,s);break;case"onClick":s!=null&&(typeof s!="function"&&zs(n,s),e.onclick=Cu);break;case"onScroll":s!=null&&(typeof s!="function"&&zs(n,s),Xe("scroll",e));break;case"onScrollEnd":s!=null&&(typeof s!="function"&&zs(n,s),Xe("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}X(s,n),n=si(""+s),e.setAttributeNS(da,"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"?(X(s,n),e.setAttribute(n,""+s)):e.removeAttribute(n);break;case"inert":s!==""||yd[n]||(yd[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"?(X(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?(X(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):(X(s,n),e.setAttribute(n,s));break;case"popover":Xe("beforetoggle",e),Xe("toggle",e),ce(e,"popover",s);break;case"xlinkActuate":et(e,da,"xlink:actuate",s);break;case"xlinkArcrole":et(e,da,"xlink:arcrole",s);break;case"xlinkRole":et(e,da,"xlink:role",s);break;case"xlinkShow":et(e,da,"xlink:show",s);break;case"xlinkTitle":et(e,da,"xlink:title",s);break;case"xlinkType":et(e,da,"xlink:type",s);break;case"xmlBase":et(e,dh,"xml:base",s);break;case"xmlLang":et(e,dh,"xml:lang",s);break;case"xmlSpace":et(e,dh,"xml:space",s);break;case"is":o!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),ce(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),ce(e,n,s)):Xo.hasOwnProperty(n)&&s!=null&&typeof s!="function"&&zs(n,s)}}function Of(e,t,n,s,r,o){switch(n){case"style":Cb(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"?ti(e,s):(typeof s=="number"||typeof s=="bigint")&&ti(e,""+s);break;case"onScroll":s!=null&&(typeof s!="function"&&zs(n,s),Xe("scroll",e));break;case"onScrollEnd":s!=null&&(typeof s!="function"&&zs(n,s),Xe("scrollend",e));break;case"onClick":s!=null&&(typeof s!="function"&&zs(n,s),e.onclick=Cu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Xo.hasOwnProperty(n))s!=null&&typeof s!="function"&&zs(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[jn]||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,""):ce(e,n,s)}}}function It(e,t,n){switch(Pf(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Xe("error",e),Xe("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:mt(e,t,o,u,n,null)}}r&&mt(e,t,"srcSet",n.srcSet,n,null),s&&mt(e,t,"src",n.src,n,null);return;case"input":we("input",n),Xe("invalid",e);var m=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":m=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:mt(e,t,s,P,n,null)}}db(e,n),mb(e,o,m,b,x,u,r,!1),zc(e);return;case"select":we("select",n),Xe("invalid",e),s=u=o=null;for(r in n)if(n.hasOwnProperty(r)&&(m=n[r],m!=null))switch(r){case"value":o=m;break;case"defaultValue":u=m;break;case"multiple":s=m;default:mt(e,t,r,m,n,null)}hb(e,n),t=o,n=u,e.multiple=!!s,t!=null?Ta(e,!!s,t,!1):n!=null&&Ta(e,!!s,n,!0);return;case"textarea":we("textarea",n),Xe("invalid",e),o=r=s=null;for(u in n)if(n.hasOwnProperty(u)&&(m=n[u],m!=null))switch(u){case"value":s=m;break;case"defaultValue":r=m;break;case"children":o=m;break;case"dangerouslySetInnerHTML":if(m!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:mt(e,t,u,m,n,null)}bb(e,n),xb(e,s,r,o),zc(e);return;case"option":fb(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:mt(e,t,b,s,n,null)}return;case"dialog":Xe("beforetoggle",e),Xe("toggle",e),Xe("cancel",e),Xe("close",e);break;case"iframe":case"object":Xe("load",e);break;case"video":case"audio":for(s=0;s<pc.length;s++)Xe(pc[s],e);break;case"image":Xe("error",e),Xe("load",e);break;case"details":Xe("toggle",e);break;case"embed":case"source":case"link":Xe("error",e),Xe("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:mt(e,t,x,s,n,null)}return;default:if(ni(t)){for(P in n)n.hasOwnProperty(P)&&(s=n[P],s!==void 0&&Of(e,t,P,s,n,void 0));return}}for(m in n)n.hasOwnProperty(m)&&(s=n[m],s!=null&&mt(e,t,m,s,n,null))}function bS(e,t,n,s){switch(Pf(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,m=null,b=null,x=null,P=null;for(L in n){var _=n[L];if(n.hasOwnProperty(L)&&_!=null)switch(L){case"checked":break;case"value":break;case"defaultValue":b=_;default:s.hasOwnProperty(L)||mt(e,t,L,null,s,_)}}for(var M in s){var L=s[M];if(_=n[M],s.hasOwnProperty(M)&&(L!=null||_!=null))switch(M){case"type":o=L;break;case"name":r=L;break;case"checked":x=L;break;case"defaultChecked":P=L;break;case"value":u=L;break;case"defaultValue":m=L;break;case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:L!==_&&mt(e,t,M,L,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,m,b,x,P,o,r);return;case"select":L=u=m=M=null;for(o in n)if(b=n[o],n.hasOwnProperty(o)&&b!=null)switch(o){case"value":break;case"multiple":L=b;default:s.hasOwnProperty(o)||mt(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":M=o;break;case"defaultValue":m=o;break;case"multiple":u=o;default:o!==b&&mt(e,t,r,o,s,b)}s=m,t=u,n=L,M!=null?Ta(e,!!t,M,!1):!!n!=!!t&&(s!=null?Ta(e,!!t,s,!0):Ta(e,!!t,t?[]:"",!1));return;case"textarea":L=M=null;for(m in n)if(r=n[m],n.hasOwnProperty(m)&&r!=null&&!s.hasOwnProperty(m))switch(m){case"value":break;case"children":break;default:mt(e,t,m,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":M=r;break;case"defaultValue":L=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:r!==o&&mt(e,t,u,r,s,o)}vb(e,M,L);return;case"option":for(var he in n)if(M=n[he],n.hasOwnProperty(he)&&M!=null&&!s.hasOwnProperty(he))switch(he){case"selected":e.selected=!1;break;default:mt(e,t,he,null,s,M)}for(b in s)if(M=s[b],L=n[b],s.hasOwnProperty(b)&&M!==L&&(M!=null||L!=null))switch(b){case"selected":e.selected=M&&typeof M!="function"&&typeof M!="symbol";break;default:mt(e,t,b,M,s,L)}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)M=n[Re],n.hasOwnProperty(Re)&&M!=null&&!s.hasOwnProperty(Re)&&mt(e,t,Re,null,s,M);for(x in s)if(M=s[x],L=n[x],s.hasOwnProperty(x)&&M!==L&&(M!=null||L!=null))switch(x){case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mt(e,t,x,M,s,L)}return;default:if(ni(t)){for(var bt in n)M=n[bt],n.hasOwnProperty(bt)&&M!==void 0&&!s.hasOwnProperty(bt)&&Of(e,t,bt,void 0,s,M);for(P in s)M=s[P],L=n[P],!s.hasOwnProperty(P)||M===L||M===void 0&&L===void 0||Of(e,t,P,M,s,L);return}}for(var Ze in n)M=n[Ze],n.hasOwnProperty(Ze)&&M!=null&&!s.hasOwnProperty(Ze)&&mt(e,t,Ze,null,s,M);for(_ in s)M=s[_],L=n[_],!s.hasOwnProperty(_)||M===L||M==null&&L==null||mt(e,t,_,M,s,L)}function ig(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function kf(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?(oe(u,o),s+=r+o+":"+(""+u).trim()):typeof u!="number"||u===0||py.has(o)?(oe(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=Ir(s),Ir(t)!==s&&(n.style=kf(e)))}}function Zn(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(X(s,t),e===""+s)return}Ft(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}Ft(t,e,s,o)}function zf(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(X(s,n),e===""+s)return}Ft(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)&&(X(s,t),e===""+s))return}Ft(t,e,s,o)}function Hf(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(X(s,t),n=si(""+s),e===n)return}Ft(t,e,s,o)}function mg(e,t,n,s){for(var r={},o=new Set,u=e.attributes,m=0;m<u.length;m++)switch(u[m].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:o.add(u[m].name)}if(ni(t)){for(var b in n)if(n.hasOwnProperty(b)){var x=n[b];if(x!=null){if(Xo.hasOwnProperty(b))typeof x!="function"&&zs(b,x);else if(n.suppressHydrationWarning!==!0)switch(b){case"children":typeof x!="string"&&typeof x!="number"||Ft("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),Ft(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=Me(e,"class",x),Ft("className",u,x,r);continue;default:s.context===wr&&t!=="svg"&&t!=="math"?o.delete(b.toLowerCase()):o.delete(b),u=Me(e,b,x),Ft(b,u,x,r)}}}}else for(x in n)if(n.hasOwnProperty(x)&&(b=n[x],b!=null)){if(Xo.hasOwnProperty(x))typeof b!="function"&&zs(x,b);else if(n.suppressHydrationWarning!==!0)switch(x){case"children":typeof b!="string"&&typeof b!="number"||Ft("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":Zn(e,x,"class",b,o,r);continue;case"tabIndex":Zn(e,x,"tabindex",b,o,r);continue;case"style":o.delete(x),cg(e,b,r);continue;case"multiple":o.delete(x),Ft(x,e.multiple,b,r);continue;case"muted":o.delete(x),Ft(x,e.muted,b,r);continue;case"autoFocus":o.delete("autofocus"),Ft(x,e.autofocus,b,r);continue;case"data":if(t!=="object"){o.delete(x),u=e.getAttribute("data"),Ft(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}Hf(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===CE){o.delete(x.toLowerCase()),Ft(x,"function",b,r);continue}Hf(e,x,x.toLowerCase(),b,o,r);continue;case"xlinkHref":Hf(e,x,"xlink:href",b,o,r);continue;case"contentEditable":zf(e,x,"contenteditable",b,o,r);continue;case"spellCheck":zf(e,x,"spellcheck",b,o,r);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":zf(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:{m=e;var P=u=x,_=r;if(o.delete(P),m=m.getAttribute(P),m===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&&m==="")break e;break;default:if(X(b,u),m===""+b)break e}Ft(u,m,b,_)}continue;case"cols":case"rows":case"size":case"span":e:{if(m=e,P=u=x,_=r,o.delete(P),m=m.getAttribute(P),m===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)&&(X(b,u),m===""+b))break e}Ft(u,m,b,_)}continue;case"rowSpan":dg(e,x,"rowspan",b,o,r);continue;case"start":dg(e,x,x,b,o,r);continue;case"xHeight":Zn(e,x,"x-height",b,o,r);continue;case"xlinkActuate":Zn(e,x,"xlink:actuate",b,o,r);continue;case"xlinkArcrole":Zn(e,x,"xlink:arcrole",b,o,r);continue;case"xlinkRole":Zn(e,x,"xlink:role",b,o,r);continue;case"xlinkShow":Zn(e,x,"xlink:show",b,o,r);continue;case"xlinkTitle":Zn(e,x,"xlink:title",b,o,r);continue;case"xlinkType":Zn(e,x,"xlink:type",b,o,r);continue;case"xmlBase":Zn(e,x,"xml:base",b,o,r);continue;case"xmlLang":Zn(e,x,"xml:lang",b,o,r);continue;case"xmlSpace":Zn(e,x,"xml:space",b,o,r);continue;case"inert":b!==""||yd[x]||(yd[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"){m=Ub(x),u=!1,s.context===wr&&t!=="svg"&&t!=="math"?o.delete(m.toLowerCase()):(P=x.toLowerCase(),P=Yu.hasOwnProperty(P)&&Yu[P]||null,P!==null&&P!==x&&(u=!0,o.delete(P)),o.delete(m));e:if(P=e,_=m,m=b,ke(_))if(P.hasAttribute(_))P=P.getAttribute(_),X(m,_),m=P===""+m?m:P;else{switch(typeof m){case"function":case"symbol":break e;case"boolean":if(P=_.toLowerCase().slice(0,5),P!=="data-"&&P!=="aria-")break e}m=m===void 0?void 0:null}else m=void 0;u||Ft(x,m,b,r)}}}return 0<o.size&&n.suppressHydrationWarning!==!0&&hS(e,o,r),Object.keys(r).length===0?null:r}function vS(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 Uu(e){return e.nodeType===9?e:e.ownerDocument}function fg(e){switch(e){case Za:return Cl;case Fu:return Sd;default:return wr}}function pg(e,t){if(e===wr)switch(t){case"svg":return Cl;case"math":return Sd;default:return wr}return e===Cl&&t==="foreignObject"?wr:e}function _f(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 xS(){var e=window.event;return e&&e.type==="popstate"?e===hh?!1:(hh=e,!0):(hh=null,!1)}function gS(e){setTimeout(function(){throw e})}function yS(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 NS(e,t,n,s){bS(e,t,n,s),e[jn]=s}function hg(e){ti(e,"")}function wS(e,t,n){e.nodeValue=n}function Xr(e){return e==="head"}function SS(e,t){e.removeChild(t)}function jS(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===wd){if(0<s&&8>s){n=s;var u=e.ownerDocument;if(n&TE&&Ui(u.documentElement),n&RE&&Ui(u.body),n&VE)for(n=u.head,Ui(n),u=n.firstChild;u;){var m=u.nextSibling,b=u.nodeName;u[Oi]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&u.rel.toLowerCase()==="stylesheet"||n.removeChild(u),u=m}}if(r===0){e.removeChild(o),Ai(t);return}r--}else n===Nd||n===Nr||n===hc?r++:s=n.charCodeAt(0)-48;else s=0;n=o}while(n);Ai(t)}function ES(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function DS(e){e.nodeValue=""}function CS(e,t){t=t[AE],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function US(e,t){e.nodeValue=t}function Bf(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":Bf(n),Ts(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function TS(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"){X(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=Kn(e.nextSibling),e===null)break}return null}function RS(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Kn(e.nextSibling),e===null))return null;return e}function Lf(e){return e.data===hc||e.data===Nr&&e.ownerDocument.readyState===Z0}function VS(e,t){var n=e.ownerDocument;if(e.data!==Nr||n.readyState===Z0)t();else{var s=function(){t(),n.removeEventListener("DOMContentLoaded",s)};n.addEventListener("DOMContentLoaded",s),e._reactRetry=s}}function Kn(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===Nd||t===hc||t===Nr||t===mh||t===X0)break;if(t===wd)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"?kf(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[UE]!==!0?(e.nodeValue===t?e=null:(t=Ir(t),e=Ir(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===wd){if(t===0)return Kn(e.nextSibling);t--}else n!==Nd&&n!==hc&&n!==Nr||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===Nd||n===hc||n===Nr){if(t===0)return e;t--}else n===wd&&t++}e=e.previousSibling}return null}function AS(e){Ai(e)}function MS(e){Ai(e)}function Ng(e,t,n,s,r){switch(r&&sm(e,s.ancestorInfo),t=Uu(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 PS(e,t,n,s){if(!n[eo]&&xn(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]);It(n,e,t),n[en]=s,n[jn]=t}function Ui(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ts(e)}function Tu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function wg(e,t,n){var s=Ul;if(s&&typeof t=="string"&&t){var r=Xn(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"),It(t,"link",e),R(t),s.head.appendChild(t)))}}function Sg(e,t,n,s){var r=(r=Jr.current)?Tu(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=Fa(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=Fa(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:fa,preload:null}},o.set(e,u),(o=r.querySelector(Ti(e)))&&!o._p&&(u.instance=o,u.state.loading=bc|is),!cs.has(e))){var m={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};cs.set(e,m),o||OS(r,e,m,u.state)}if(t&&s===null)throw n=`
218
+
219
+ - `+Ru(t)+`
220
+ + `+Ru(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
+ - `+Ru(t)+`
223
+ + `+Ru(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=Ya(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 Ru(e){var t=0,n="<link";return typeof e.rel=="string"?(t++,n+=' rel="'+e.rel+'"'):dr.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):dr.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):dr.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function Fa(e){return'href="'+Xn(e)+'"'}function Ti(e){return'link[rel="stylesheet"]['+e+"]"}function jg(e){return qe({},e,{"data-precedence":e.precedence,precedence:null})}function OS(e,t,n,s){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?s.loading=bc:(t=e.createElement("link"),s.preload=t,t.addEventListener("load",function(){return s.loading|=bc}),t.addEventListener("error",function(){return s.loading|=eN}),It(t,"link",n),R(t),e.head.appendChild(t))}function Ya(e){return'[src="'+Xn(e)+'"]'}function Ri(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~="'+Xn(n.href)+'"]');if(s)return t.instance=s,R(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"),R(s),It(s,"style",r),Vu(s,n.precedence,e),t.instance=s;case"stylesheet":r=Fa(n.href);var o=e.querySelector(Ti(r));if(o)return t.state.loading|=is,t.instance=o,R(o),o;s=jg(n),(r=cs.get(r))&&qf(s,r),o=(e.ownerDocument||e).createElement("link"),R(o);var u=o;return u._p=new Promise(function(m,b){u.onload=m,u.onerror=b}),It(o,"link",s),t.state.loading|=is,Vu(o,n.precedence,e),t.instance=o;case"script":return o=Ya(n.src),(r=e.querySelector(Ri(o)))?(t.instance=r,R(r),r):(s=n,(r=cs.get(o))&&(s=qe({},n),Ff(s,r)),e=e.ownerDocument||e,r=e.createElement("script"),R(r),It(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&is)===fa&&(s=t.instance,t.state.loading|=is,Vu(s,n.precedence,e));return t.instance}function Vu(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 m=s[u];if(m.dataset.precedence===t)o=m;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 qf(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Ff(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(jd===null){var s=new Map,r=jd=new Map;r.set(n,s)}else r=jd,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[en]||e==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!==Za){var u=o.getAttribute(t)||"";u=e+u;var m=s.get(u);m?m.push(o):s.set(u,[o])}}return s}function Cg(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function kS(e,t,n){var s=!n.ancestorInfo.containerTagInScope;if(n.context===Cl||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=vS(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)===fa)}function zS(){}function HS(e,t,n){if(vc===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var s=vc;if(t.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(t.state.loading&is)===fa){if(t.instance===null){var r=Fa(n.href),o=e.querySelector(Ti(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|=is,t.instance=o,R(o);return}o=e.ownerDocument||e,n=jg(n),(r=cs.get(r))&&qf(n,r),o=o.createElement("link"),R(o);var u=o;u._p=new Promise(function(m,b){u.onload=m,u.onerror=b}),It(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)===fa&&(s.count++,t=Au.bind(s),e.addEventListener("load",t),e.addEventListener("error",t))}}function _S(){if(vc===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=vc;return e.stylesheets&&e.count===0&&Yf(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Yf(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)Yf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Yf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Ed=new Map,t.forEach(BS,e),Ed=null,Au.call(e))}function BS(e,t){if(!(t.state.loading&is)){var n=Ed.get(e);if(n)var s=n.get(vh);else{n=new Map,Ed.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|=is}}function LS(e,t,n,s,r,o,u,m){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=ma,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Pt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pt(0),this.hiddenUpdates=Pt(null),this.identifierPrefix=s,this.onUncaughtError=r,this.onCaughtError=o,this.onRecoverableError=u,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=m,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 Tg(e,t,n,s,r,o,u,m,b,x,P,_){return e=new LS(e,t,n,u,m,b,x,_),t=rE,o===!0&&(t|=tn|bs),hs&&(t|=Zt),o=g(3,null,null,t),e.current=o,o.stateNode=e,t=gm(),Fo(t),e.pooledCache=t,Fo(t),o.memoizedState={element:s,isDehydrated:n,cache:t},Sm(o),e}function Rg(e){return e?(e=no,e):no}function Gf(e,t,n,s,r,o){if(Wt&&typeof Wt.onScheduleFiberRoot=="function")try{Wt.onScheduleFiberRoot(Ia,s,n)}catch(u){Bs||(Bs=!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,qs&&Yn!==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.`,K(Yn)||"Unknown")),s=qr(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=Fr(e,s,t),n!==null&&(Vt(n,e,t),mi(n,e,t))}function Vg(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function $f(e,t){Vg(e,t),(e=e.alternate)&&Vg(e,t)}function Ag(e){if(e.tag===13){var t=Nn(e,67108864);t!==null&&Vt(t,e,67108864),$f(e,67108864)}}function qS(){return Yn}function FS(){for(var e=new Map,t=1,n=0;31>n;n++){var s=Ro(t);e.set(t,s),t*=2}return e}function YS(e,t,n,s){var r=H.T;H.T=null;var o=rt.p;try{rt.p=Jn,Qf(e,t,n,s)}finally{rt.p=o,H.T=r}}function GS(e,t,n,s){var r=H.T;H.T=null;var o=rt.p;try{rt.p=Ls,Qf(e,t,n,s)}finally{rt.p=o,H.T=r}}function Qf(e,t,n,s){if(Cd){var r=If(s);if(r===null)Mf(e,t,s,Ud,n),Pg(e,s);else if($S(r,e,t,n,s))s.stopPropagation();else if(Pg(e,s),t&4&&-1<kE.indexOf(e)){for(;r!==null;){var o=xn(r);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var u=St(o.pendingLanes);if(u!==0){var m=o;for(m.pendingLanes|=2,m.entangledLanes|=2;u;){var b=1<<31-ln(u);m.entanglements[1]|=b,u&=~b}ks(o),(ot&(fn|ys))===Gn&&(dd=_s()+H0,Di(0))}}break;case 13:m=Nn(o,2),m!==null&&Vt(m,o,2),_a(),$f(o,2)}if(o=If(s),o===null&&Mf(e,t,s,Ud,n),o===r)break;r=o}r!==null&&s.stopPropagation()}else Mf(e,t,s,null,n)}}function If(e){return e=rm(e),Xf(e)}function Xf(e){if(Ud=null,e=kn(e),e!==null){var t=Y(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=ne(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 Ud=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 Jn;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 Ls;case"message":switch(sj()){case ap:return Jn;case lp:return Ls;case Qa:case rj:return mr;case ip:return Lu;default:return mr}default:return mr}}function Pg(e,t){switch(e){case"focusin":case"focusout":fo=null;break;case"dragenter":case"dragleave":po=null;break;case"mouseover":case"mouseout":ho=null;break;case"pointerover":case"pointerout":gc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":yc.delete(t.pointerId)}}function Vi(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=xn(t),t!==null&&Ag(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function $S(e,t,n,s,r){switch(t){case"focusin":return fo=Vi(fo,e,t,n,s,r),!0;case"dragenter":return po=Vi(po,e,t,n,s,r),!0;case"mouseover":return ho=Vi(ho,e,t,n,s,r),!0;case"pointerover":var o=r.pointerId;return gc.set(o,Vi(gc.get(o)||null,e,t,n,s,r)),!0;case"gotpointercapture":return o=r.pointerId,yc.set(o,Vi(yc.get(o)||null,e,t,n,s,r)),!0}return!1}function Og(e){var t=kn(e.target);if(t!==null){var n=Y(t);if(n!==null){if(t=n.tag,t===13){if(t=ne(n),t!==null){e.blockedOn=t,On(e.priority,function(){if(n.tag===13){var s=qn(n);s=Ao(s);var r=Nn(n,s);r!==null&&Vt(r,n,s),$f(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 Mu(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=If(e.nativeEvent);if(n===null){n=e.nativeEvent;var s=new n.constructor(n.type,n),r=s;zi!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),zi=r,n.target.dispatchEvent(s),zi===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."),zi=null}else return t=xn(n),t!==null&&Ag(t),e.blockedOn=n,!1;t.shift()}return!0}function kg(e,t,n){Mu(e)&&n.delete(t)}function QS(){xh=!1,fo!==null&&Mu(fo)&&(fo=null),po!==null&&Mu(po)&&(po=null),ho!==null&&Mu(ho)&&(ho=null),gc.forEach(kg),yc.forEach(kg)}function Pu(e,t){e.blockedOn===t&&(e.blockedOn=null,xh||(xh=!0,Ot.unstable_scheduleCallback(Ot.unstable_NormalPriority,QS)))}function zg(e){Td!==e&&(Td=e,Ot.unstable_scheduleCallback(Ot.unstable_NormalPriority,function(){Td===e&&(Td=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(Xf(s||n)===null)continue;break}var o=xn(n);o!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:r,method:n.method,action:s},Object.freeze(n),Im(o,n,s,r))}}))}function Ai(e){function t(b){return Pu(b,e)}fo!==null&&Pu(fo,e),po!==null&&Pu(po,e),ho!==null&&Pu(ho,e),gc.forEach(t),yc.forEach(t);for(var n=0;n<bo.length;n++){var s=bo[n];s.blockedOn===e&&(s.blockedOn=null)}for(;0<bo.length&&(n=bo[0],n.blockedOn===null);)Og(n),n.blockedOn===null&&bo.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[jn]||null;if(typeof o=="function")u||zg(n);else if(u){var m=null;if(o&&o.hasAttribute("formAction")){if(r=o,u=o[jn]||null)m=u.formAction;else if(Xf(r)!==null)continue}else m=u.action;typeof m=="function"?n[s+1]=m:(n.splice(s,3),s-=3),zg(n)}}}function Zf(e){this._internalRoot=e}function Ou(e){this._internalRoot=e}function Hg(e){e[eo]&&(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 Ot=FE(),Kf=Pc(),IS=u1(),qe=Object.assign,XS=Symbol.for("react.element"),Zr=Symbol.for("react.transitional.element"),Ga=Symbol.for("react.portal"),$a=Symbol.for("react.fragment"),ku=Symbol.for("react.strict_mode"),Jf=Symbol.for("react.profiler"),ZS=Symbol.for("react.provider"),Wf=Symbol.for("react.consumer"),Hs=Symbol.for("react.context"),Mi=Symbol.for("react.forward_ref"),ep=Symbol.for("react.suspense"),tp=Symbol.for("react.suspense_list"),zu=Symbol.for("react.memo"),Fn=Symbol.for("react.lazy"),np=Symbol.for("react.activity"),KS=Symbol.for("react.memo_cache_sentinel"),_g=Symbol.iterator,JS=Symbol.for("react.client.reference"),Xt=Array.isArray,H=Kf.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,rt=IS.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,WS=Object.freeze({pending:!1,data:null,method:null,action:null}),sp=[],rp=[],ur=-1,Kr=ve(null),Pi=ve(null),Jr=ve(null),Hu=ve(null),dr=Object.prototype.hasOwnProperty,op=Ot.unstable_scheduleCallback,ej=Ot.unstable_cancelCallback,tj=Ot.unstable_shouldYield,nj=Ot.unstable_requestPaint,_s=Ot.unstable_now,sj=Ot.unstable_getCurrentPriorityLevel,ap=Ot.unstable_ImmediatePriority,lp=Ot.unstable_UserBlockingPriority,Qa=Ot.unstable_NormalPriority,rj=Ot.unstable_LowPriority,ip=Ot.unstable_IdlePriority,oj=Ot.log,aj=Ot.unstable_setDisableYieldValue,Ia=null,Wt=null,de=null,Bs=!1,hs=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",ln=Math.clz32?Math.clz32:kr,lj=Math.log,ij=Math.LN2,_u=256,Bu=4194304,Jn=2,Ls=8,mr=32,Lu=268435456,Wr=Math.random().toString(36).slice(2),en="__reactFiber$"+Wr,jn="__reactProps$"+Wr,eo="__reactContainer$"+Wr,cp="__reactEvents$"+Wr,cj="__reactListeners$"+Wr,uj="__reactHandles$"+Wr,Bg="__reactResources$"+Wr,Oi="__reactMarker$"+Wr,Lg=new Set,Xo={},up={},dj={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},mj=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={},ki=0,Yg,Gg,$g,Qg,Ig,Xg,Zg;jt.__reactDisabledLog=!0;var dp,Kg,mp=!1,fp=new(typeof WeakMap=="function"?WeakMap:Map),Yn=null,qs=!1,fj=/[\n"\\]/g,Jg=!1,Wg=!1,ey=!1,ty=!1,ny=!1,sy=!1,ry=["value","defaultValue"],oy=!1,ay=/["'&<>\n\t]|^\s|\s$/,pj="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(" "),hj=ly.concat(["button"]),bj="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},qu={},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-/,vj=/^(?:webkit|moz|o)[A-Z]/,xj=/^-ms-/,gj=/-(.)/g,dy=/;\s*$/,Xa={},hp={},my=!1,fy=!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(" ")),Fu="http://www.w3.org/1998/Math/MathML",Za="http://www.w3.org/2000/svg",yj=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"]]),Yu={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},Ka={},Nj=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]*$"),by=!1,cn={},vy=/^on./,Sj=/^on[^A-Z]/,jj=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]*$"),Ej=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]*$"),Dj=/^[\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,zi=null,Ja=null,Wa=null,bp=!1,Fs=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vp=!1;if(Fs)try{var Hi={};Object.defineProperty(Hi,"passive",{get:function(){vp=!0}}),window.addEventListener("test",Hi,Hi),window.removeEventListener("test",Hi,Hi)}catch{vp=!1}var to=null,xp=null,Gu=null,Zo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$u=yn(Zo),_i=qe({},Zo,{view:0,detail:0}),Cj=yn(_i),gp,yp,Bi,Qu=qe({},_i,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:om,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!==Bi&&(Bi&&e.type==="mousemove"?(gp=e.screenX-Bi.screenX,yp=e.screenY-Bi.screenY):yp=gp=0,Bi=e),gp)},movementY:function(e){return"movementY"in e?e.movementY:yp}}),xy=yn(Qu),Uj=qe({},Qu,{dataTransfer:0}),Tj=yn(Uj),Rj=qe({},_i,{relatedTarget:0}),Np=yn(Rj),Vj=qe({},Zo,{animationName:0,elapsedTime:0,pseudoElement:0}),Aj=yn(Vj),Mj=qe({},Zo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Pj=yn(Mj),Oj=qe({},Zo,{data:0}),gy=yn(Oj),kj=gy,zj={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Hj={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"},_j={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Bj=qe({},_i,{key:function(e){if(e.key){var t=zj[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Lc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Hj[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:om,charCode:function(e){return e.type==="keypress"?Lc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Lc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Lj=yn(Bj),qj=qe({},Qu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),yy=yn(qj),Fj=qe({},_i,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:om}),Yj=yn(Fj),Gj=qe({},Zo,{propertyName:0,elapsedTime:0,pseudoElement:0}),$j=yn(Gj),Qj=qe({},Qu,{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}),Ij=yn(Qj),Xj=qe({},Zo,{newState:0,oldState:0}),Zj=yn(Xj),Kj=[9,13,27,32],Ny=229,wp=Fs&&"CompositionEvent"in window,Li=null;Fs&&"documentMode"in document&&(Li=document.documentMode);var Jj=Fs&&"TextEvent"in window&&!Li,wy=Fs&&(!wp||Li&&8<Li&&11>=Li),Sy=32,jy=String.fromCharCode(Sy),Ey=!1,el=!1,Wj={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},qi=null,Fi=null,Dy=!1;Fs&&(Dy=Tw("input")&&(!document.documentMode||9<document.documentMode));var un=typeof Object.is=="function"?Object.is:Ow,eE=Fs&&"documentMode"in document&&11>=document.documentMode,tl=null,Sp=null,Yi=null,jp=!1,nl={animationend:Po("Animation","AnimationEnd"),animationiteration:Po("Animation","AnimationIteration"),animationstart:Po("Animation","AnimationStart"),transitionrun:Po("Transition","TransitionRun"),transitionstart:Po("Transition","TransitionStart"),transitioncancel:Po("Transition","TransitionCancel"),transitionend:Po("Transition","TransitionEnd")},Ep={},Cy={};Fs&&(Cy=document.createElement("div").style,"AnimationEvent"in window||(delete nl.animationend.animation,delete nl.animationiteration.animation,delete nl.animationstart.animation),"TransitionEvent"in window||delete nl.transitionend.transition);var Uy=Oo("animationend"),Ty=Oo("animationiteration"),Ry=Oo("animationstart"),tE=Oo("transitionrun"),nE=Oo("transitionstart"),sE=Oo("transitioncancel"),Vy=Oo("transitionend"),Ay=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 Cp=new WeakMap,Iu=1,fr=2,Wn=[],sl=0,Up=0,no={};Object.freeze(no);var es=null,rl=null,vt=0,rE=1,Zt=2,tn=8,bs=16,My=64,Py=!1;try{var Oy=Object.preventExtensions({})}catch{Py=!0}var ol=[],al=0,Xu=null,Zu=0,ts=[],ns=0,Ko=null,pr=1,hr="",dn=null,Dt=null,nt=!1,br=!1,ss=null,Jo=null,Ys=!1,Tp=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 oE=performance,zy=function(){return oE.now()};else{var aE=Date;zy=function(){return aE.now()}}var Rp=ve(null),Vp=ve(null),Hy={},Ku=null,ll=null,il=!1,lE=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()})}},iE=Ot.unstable_scheduleCallback,cE=Ot.unstable_NormalPriority,Ht={$$typeof:Hs,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},cl=Ot.unstable_now,_y=-0,Ju=-0,En=-1.1,Wo=-0,Wu=!1,ed=!1,Gi=null,Ap=0,ea=0,ul=null,By=H.S;H.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&zw(e,t),By!==null&&By(e,t)};var ta=ve(null),vs={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},$i=[],Qi=[],Ii=[],Xi=[],Zi=[],Ki=[],na=new Set;vs.recordUnsafeLifecycleWarnings=function(e,t){na.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&$i.push(e),e.mode&tn&&typeof t.UNSAFE_componentWillMount=="function"&&Qi.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Ii.push(e),e.mode&tn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Xi.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Zi.push(e),e.mode&tn&&typeof t.UNSAFE_componentWillUpdate=="function"&&Ki.push(e))},vs.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<$i.length&&($i.forEach(function(m){e.add(K(m)||"Component"),na.add(m.type)}),$i=[]);var t=new Set;0<Qi.length&&(Qi.forEach(function(m){t.add(K(m)||"Component"),na.add(m.type)}),Qi=[]);var n=new Set;0<Ii.length&&(Ii.forEach(function(m){n.add(K(m)||"Component"),na.add(m.type)}),Ii=[]);var s=new Set;0<Xi.length&&(Xi.forEach(function(m){s.add(K(m)||"Component"),na.add(m.type)}),Xi=[]);var r=new Set;0<Zi.length&&(Zi.forEach(function(m){r.add(K(m)||"Component"),na.add(m.type)}),Zi=[]);var o=new Set;if(0<Ki.length&&(Ki.forEach(function(m){o.add(K(m)||"Component"),na.add(m.type)}),Ki=[]),0<t.size){var u=f(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=f(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=f(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=f(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=f(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=f(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 td=new Map,Ly=new Set;vs.recordLegacyContextWarning=function(e,t){for(var n=null,s=e;s!==null;)s.mode&tn&&(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=td.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(s===void 0&&(s=[],td.set(n,s)),s.push(e))},vs.flushLegacyContextWarning=function(){td.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(r){n.add(K(r)||"Component"),Ly.add(r.type)});var s=f(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)})}})},vs.discardPendingWarnings=function(){$i=[],Qi=[],Ii=[],Xi=[],Zi=[],Ki=[],td=new Map};var Ji=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."),nd=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.')}},Wi=null,sd=!1,rs=0,os=1,mn=2,Kt=4,_t=8,Fy=0,Yy=1,Gy=2,Pp=3,so=!1,$y=!1,Op=null,kp=!1,dl=ve(null),rd=ve(0),ml,Qy=new Set,Iy=new Set,zp=new Set,Xy=new Set,ro=0,Ae=null,ft=null,kt=null,od=!1,fl=!1,sa=!1,ad=0,ec=0,vr=null,uE=0,dE=25,k=null,as=null,xr=-1,tc=!1,ld={readContext:yt,use:Yr,useCallback:Rt,useContext:Rt,useEffect:Rt,useImperativeHandle:Rt,useLayoutEffect:Rt,useInsertionEffect:Rt,useMemo:Rt,useReducer:Rt,useRef:Rt,useState:Rt,useDebugValue:Rt,useDeferredValue:Rt,useTransition:Rt,useSyncExternalStore:Rt,useId:Rt,useHostTransitionStatus:Rt,useFormState:Rt,useActionState:Rt,useOptimistic:Rt,useMemoCache:Rt,useCacheRefresh:Rt},Hp=null,Zy=null,_p=null,Ky=null,Gs=null,xs=null,id=null;Hp={readContext:function(e){return yt(e)},use:Yr,useCallback:function(e,t){return k="useCallback",Qe(),Aa(t),Ym(e,t)},useContext:function(e){return k="useContext",Qe(),yt(e)},useEffect:function(e,t){return k="useEffect",Qe(),Aa(t),lu(e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",Qe(),Aa(n),Fm(e,t,n)},useInsertionEffect:function(e,t){k="useInsertionEffect",Qe(),Aa(t),Go(4,mn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",Qe(),Aa(t),qm(e,t)},useMemo:function(e,t){k="useMemo",Qe(),Aa(t);var n=H.H;H.H=Gs;try{return Gm(e,t)}finally{H.H=n}},useReducer:function(e,t,n){k="useReducer",Qe();var s=H.H;H.H=Gs;try{return Pm(e,t,n)}finally{H.H=s}},useRef:function(e){return k="useRef",Qe(),Lm(e)},useState:function(e){k="useState",Qe();var t=H.H;H.H=Gs;try{return Hm(e)}finally{H.H=t}},useDebugValue:function(){k="useDebugValue",Qe()},useDeferredValue:function(e,t){return k="useDeferredValue",Qe(),$m(e,t)},useTransition:function(){return k="useTransition",Qe(),Xm()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",Qe(),km(e,t,n)},useId:function(){return k="useId",Qe(),Zm()},useFormState:function(e,t){return k="useFormState",Qe(),nu(),Pa(e,t)},useActionState:function(e,t){return k="useActionState",Qe(),Pa(e,t)},useOptimistic:function(e){return k="useOptimistic",Qe(),_m(e)},useHostTransitionStatus:$o,useMemoCache:Yo,useCacheRefresh:function(){return k="useCacheRefresh",Qe(),Km()}},Zy={readContext:function(e){return yt(e)},use:Yr,useCallback:function(e,t){return k="useCallback",ee(),Ym(e,t)},useContext:function(e){return k="useContext",ee(),yt(e)},useEffect:function(e,t){return k="useEffect",ee(),lu(e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",ee(),Fm(e,t,n)},useInsertionEffect:function(e,t){k="useInsertionEffect",ee(),Go(4,mn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",ee(),qm(e,t)},useMemo:function(e,t){k="useMemo",ee();var n=H.H;H.H=Gs;try{return Gm(e,t)}finally{H.H=n}},useReducer:function(e,t,n){k="useReducer",ee();var s=H.H;H.H=Gs;try{return Pm(e,t,n)}finally{H.H=s}},useRef:function(e){return k="useRef",ee(),Lm(e)},useState:function(e){k="useState",ee();var t=H.H;H.H=Gs;try{return Hm(e)}finally{H.H=t}},useDebugValue:function(){k="useDebugValue",ee()},useDeferredValue:function(e,t){return k="useDeferredValue",ee(),$m(e,t)},useTransition:function(){return k="useTransition",ee(),Xm()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",ee(),km(e,t,n)},useId:function(){return k="useId",ee(),Zm()},useActionState:function(e,t){return k="useActionState",ee(),Pa(e,t)},useFormState:function(e,t){return k="useFormState",ee(),nu(),Pa(e,t)},useOptimistic:function(e){return k="useOptimistic",ee(),_m(e)},useHostTransitionStatus:$o,useMemoCache:Yo,useCacheRefresh:function(){return k="useCacheRefresh",ee(),Km()}},_p={readContext:function(e){return yt(e)},use:Yr,useCallback:function(e,t){return k="useCallback",ee(),cu(e,t)},useContext:function(e){return k="useContext",ee(),yt(e)},useEffect:function(e,t){k="useEffect",ee(),Sn(2048,_t,e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",ee(),iu(e,t,n)},useInsertionEffect:function(e,t){return k="useInsertionEffect",ee(),Sn(4,mn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",ee(),Sn(4,Kt,e,t)},useMemo:function(e,t){k="useMemo",ee();var n=H.H;H.H=xs;try{return uu(e,t)}finally{H.H=n}},useReducer:function(e,t,n){k="useReducer",ee();var s=H.H;H.H=xs;try{return Ma(e,t,n)}finally{H.H=s}},useRef:function(){return k="useRef",ee(),it().memoizedState},useState:function(){k="useState",ee();var e=H.H;H.H=xs;try{return Ma(ps)}finally{H.H=e}},useDebugValue:function(){k="useDebugValue",ee()},useDeferredValue:function(e,t){return k="useDeferredValue",ee(),Uv(e,t)},useTransition:function(){return k="useTransition",ee(),Pv()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",ee(),su(e,t,n)},useId:function(){return k="useId",ee(),it().memoizedState},useFormState:function(e){return k="useFormState",ee(),nu(),ru(e)},useActionState:function(e){return k="useActionState",ee(),ru(e)},useOptimistic:function(e,t){return k="useOptimistic",ee(),xv(e,t)},useHostTransitionStatus:$o,useMemoCache:Yo,useCacheRefresh:function(){return k="useCacheRefresh",ee(),it().memoizedState}},Ky={readContext:function(e){return yt(e)},use:Yr,useCallback:function(e,t){return k="useCallback",ee(),cu(e,t)},useContext:function(e){return k="useContext",ee(),yt(e)},useEffect:function(e,t){k="useEffect",ee(),Sn(2048,_t,e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",ee(),iu(e,t,n)},useInsertionEffect:function(e,t){return k="useInsertionEffect",ee(),Sn(4,mn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",ee(),Sn(4,Kt,e,t)},useMemo:function(e,t){k="useMemo",ee();var n=H.H;H.H=id;try{return uu(e,t)}finally{H.H=n}},useReducer:function(e,t,n){k="useReducer",ee();var s=H.H;H.H=id;try{return bi(e,t,n)}finally{H.H=s}},useRef:function(){return k="useRef",ee(),it().memoizedState},useState:function(){k="useState",ee();var e=H.H;H.H=id;try{return bi(ps)}finally{H.H=e}},useDebugValue:function(){k="useDebugValue",ee()},useDeferredValue:function(e,t){return k="useDeferredValue",ee(),Tv(e,t)},useTransition:function(){return k="useTransition",ee(),Ov()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",ee(),su(e,t,n)},useId:function(){return k="useId",ee(),it().memoizedState},useFormState:function(e){return k="useFormState",ee(),nu(),ou(e)},useActionState:function(e){return k="useActionState",ee(),ou(e)},useOptimistic:function(e,t){return k="useOptimistic",ee(),yv(e,t)},useHostTransitionStatus:$o,useMemoCache:Yo,useCacheRefresh:function(){return k="useCacheRefresh",ee(),it().memoizedState}},Gs={readContext:function(e){return U(),yt(e)},use:function(e){return y(),Yr(e)},useCallback:function(e,t){return k="useCallback",y(),Qe(),Ym(e,t)},useContext:function(e){return k="useContext",y(),Qe(),yt(e)},useEffect:function(e,t){return k="useEffect",y(),Qe(),lu(e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",y(),Qe(),Fm(e,t,n)},useInsertionEffect:function(e,t){k="useInsertionEffect",y(),Qe(),Go(4,mn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",y(),Qe(),qm(e,t)},useMemo:function(e,t){k="useMemo",y(),Qe();var n=H.H;H.H=Gs;try{return Gm(e,t)}finally{H.H=n}},useReducer:function(e,t,n){k="useReducer",y(),Qe();var s=H.H;H.H=Gs;try{return Pm(e,t,n)}finally{H.H=s}},useRef:function(e){return k="useRef",y(),Qe(),Lm(e)},useState:function(e){k="useState",y(),Qe();var t=H.H;H.H=Gs;try{return Hm(e)}finally{H.H=t}},useDebugValue:function(){k="useDebugValue",y(),Qe()},useDeferredValue:function(e,t){return k="useDeferredValue",y(),Qe(),$m(e,t)},useTransition:function(){return k="useTransition",y(),Qe(),Xm()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",y(),Qe(),km(e,t,n)},useId:function(){return k="useId",y(),Qe(),Zm()},useFormState:function(e,t){return k="useFormState",y(),Qe(),Pa(e,t)},useActionState:function(e,t){return k="useActionState",y(),Qe(),Pa(e,t)},useOptimistic:function(e){return k="useOptimistic",y(),Qe(),_m(e)},useMemoCache:function(e){return y(),Yo(e)},useHostTransitionStatus:$o,useCacheRefresh:function(){return k="useCacheRefresh",Qe(),Km()}},xs={readContext:function(e){return U(),yt(e)},use:function(e){return y(),Yr(e)},useCallback:function(e,t){return k="useCallback",y(),ee(),cu(e,t)},useContext:function(e){return k="useContext",y(),ee(),yt(e)},useEffect:function(e,t){k="useEffect",y(),ee(),Sn(2048,_t,e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",y(),ee(),iu(e,t,n)},useInsertionEffect:function(e,t){return k="useInsertionEffect",y(),ee(),Sn(4,mn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",y(),ee(),Sn(4,Kt,e,t)},useMemo:function(e,t){k="useMemo",y(),ee();var n=H.H;H.H=xs;try{return uu(e,t)}finally{H.H=n}},useReducer:function(e,t,n){k="useReducer",y(),ee();var s=H.H;H.H=xs;try{return Ma(e,t,n)}finally{H.H=s}},useRef:function(){return k="useRef",y(),ee(),it().memoizedState},useState:function(){k="useState",y(),ee();var e=H.H;H.H=xs;try{return Ma(ps)}finally{H.H=e}},useDebugValue:function(){k="useDebugValue",y(),ee()},useDeferredValue:function(e,t){return k="useDeferredValue",y(),ee(),Uv(e,t)},useTransition:function(){return k="useTransition",y(),ee(),Pv()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",y(),ee(),su(e,t,n)},useId:function(){return k="useId",y(),ee(),it().memoizedState},useFormState:function(e){return k="useFormState",y(),ee(),ru(e)},useActionState:function(e){return k="useActionState",y(),ee(),ru(e)},useOptimistic:function(e,t){return k="useOptimistic",y(),ee(),xv(e,t)},useMemoCache:function(e){return y(),Yo(e)},useHostTransitionStatus:$o,useCacheRefresh:function(){return k="useCacheRefresh",ee(),it().memoizedState}},id={readContext:function(e){return U(),yt(e)},use:function(e){return y(),Yr(e)},useCallback:function(e,t){return k="useCallback",y(),ee(),cu(e,t)},useContext:function(e){return k="useContext",y(),ee(),yt(e)},useEffect:function(e,t){k="useEffect",y(),ee(),Sn(2048,_t,e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",y(),ee(),iu(e,t,n)},useInsertionEffect:function(e,t){return k="useInsertionEffect",y(),ee(),Sn(4,mn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",y(),ee(),Sn(4,Kt,e,t)},useMemo:function(e,t){k="useMemo",y(),ee();var n=H.H;H.H=xs;try{return uu(e,t)}finally{H.H=n}},useReducer:function(e,t,n){k="useReducer",y(),ee();var s=H.H;H.H=xs;try{return bi(e,t,n)}finally{H.H=s}},useRef:function(){return k="useRef",y(),ee(),it().memoizedState},useState:function(){k="useState",y(),ee();var e=H.H;H.H=xs;try{return bi(ps)}finally{H.H=e}},useDebugValue:function(){k="useDebugValue",y(),ee()},useDeferredValue:function(e,t){return k="useDeferredValue",y(),ee(),Tv(e,t)},useTransition:function(){return k="useTransition",y(),ee(),Ov()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",y(),ee(),su(e,t,n)},useId:function(){return k="useId",y(),ee(),it().memoizedState},useFormState:function(e){return k="useFormState",y(),ee(),ou(e)},useActionState:function(e){return k="useActionState",y(),ee(),ou(e)},useOptimistic:function(e,t){return k="useOptimistic",y(),ee(),yv(e,t)},useMemoCache:function(e){return y(),Yo(e)},useHostTransitionStatus:$o,useCacheRefresh:function(){return k="useCacheRefresh",ee(),it().memoizedState}};var Jy={"react-stack-bottom-frame":function(e,t,n){var s=qs;qs=!0;try{return e(t,n)}finally{qs=s}}},Bp=Jy["react-stack-bottom-frame"].bind(Jy),Wy={"react-stack-bottom-frame":function(e){var t=qs;qs=!0;try{return e.render()}finally{qs=t}}},e0=Wy["react-stack-bottom-frame"].bind(Wy),t0={"react-stack-bottom-frame":function(e,t){try{t.componentDidMount()}catch(n){dt(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){dt(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:""})}},mE=r0["react-stack-bottom-frame"].bind(r0),o0={"react-stack-bottom-frame":function(e,t,n){try{n.componentWillUnmount()}catch(s){dt(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}},fE=l0["react-stack-bottom-frame"].bind(l0),i0={"react-stack-bottom-frame":function(e,t,n){try{n()}catch(s){dt(e,t,s)}}},pE=i0["react-stack-bottom-frame"].bind(i0),c0={"react-stack-bottom-frame":function(e){var t=e._init;return t(e._payload)}},oo=c0["react-stack-bottom-frame"].bind(c0),pl=null,nc=0,_e=null,qp,u0=qp=!1,d0={},m0={},f0={};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=K(e),r=s||"null";if(!d0[r]){d0[r]=!0,n=n._owner,e=e._debugOwner;var o="";e&&typeof e.tag=="number"&&(r=K(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=K(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 hl=_v(!0),p0=_v(!1),ls=ve(null),$s=null,bl=1,sc=2,Bt=ve(0),h0={},b0=new Set,v0=new Set,x0=new Set,g0=new Set,y0=new Set,N0=new Set,w0=new Set,S0=new Set,j0=new Set,E0=new Set;Object.freeze(h0);var Fp={enqueueSetState:function(e,t,n){e=e._reactInternals;var s=qn(e),r=qr(s);r.payload=t,n!=null&&(Wm(n),r.callback=n),t=Fr(e,r,s),t!==null&&(Vt(t,e,s),mi(t,e,s)),Us(e,s)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var s=qn(e),r=qr(s);r.tag=Yy,r.payload=t,n!=null&&(Wm(n),r.callback=n),t=Fr(e,r,s),t!==null&&(Vt(t,e,s),mi(t,e,s)),Us(e,s)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=qn(e),s=qr(n);s.tag=Gy,t!=null&&(Wm(t),s.callback=t),t=Fr(e,s,n),t!==null&&(Vt(t,e,n),mi(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)},vl=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."),Yt=!1,C0={},U0={},T0={},R0={},xl=!1,V0={},$p={},Qp={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},A0=!1,M0=null;M0=new Set;var gr=!1,At=!1,Ip=!1,P0=typeof WeakSet=="function"?WeakSet:Set,Gt=null,gl=null,yl=null,zt=null,Dn=!1,gs=null,rc=8192,hE={getCacheForType:function(e){var t=yt(Ht),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},getOwner:function(){return Yn}};if(typeof Symbol=="function"&&Symbol.for){var oc=Symbol.for;oc("selector.component"),oc("selector.has_pseudo_class"),oc("selector.role"),oc("selector.test_id"),oc("selector.text")}var bE=[],vE=typeof WeakMap=="function"?WeakMap:Map,Gn=0,fn=2,ys=4,yr=0,ac=1,Nl=2,Xp=3,ra=4,cd=6,O0=5,ot=Gn,ht=null,Ye=null,Ie=0,Cn=0,lc=1,oa=2,ic=3,k0=4,Zp=5,wl=6,cc=7,Kp=8,aa=9,at=Cn,$n=null,ao=!1,Sl=!1,Jp=!1,Qs=0,Ct=yr,lo=0,io=0,Wp=0,Qn=0,la=0,uc=null,pn=null,ud=!1,eh=0,z0=300,dd=1/0,H0=500,dc=null,co=null,xE=0,gE=1,yE=2,ia=0,_0=1,B0=2,L0=3,NE=4,th=5,Jt=0,uo=null,jl=null,mo=0,nh=0,sh=null,q0=null,wE=50,mc=0,rh=null,oh=!1,md=!1,SE=50,ca=0,fc=null,El=!1,fd=null,F0=!1,Y0=new Set,jE={},pd=null,Dl=null,ah=!1,lh=!1,hd=!1,ih=!1,ua=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),fs(n,"on"+t)}fs(Uy,"onAnimationEnd"),fs(Ty,"onAnimationIteration"),fs(Ry,"onAnimationStart"),fs("dblclick","onDoubleClick"),fs("focusin","onFocus"),fs("focusout","onBlur"),fs(tE,"onTransitionRun"),fs(nE,"onTransitionStart"),fs(sE,"onTransitionCancel"),fs(Vy,"onTransitionEnd")})(),le("onMouseEnter",["mouseout","mouseover"]),le("onMouseLeave",["mouseout","mouseover"]),le("onPointerEnter",["pointerout","pointerover"]),le("onPointerLeave",["pointerout","pointerover"]),W("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),W("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),W("onBeforeInput",["compositionend","keypress","textInput","paste"]),W("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),W("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),W("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var pc="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(pc)),bd="_reactListening"+Math.random().toString(36).slice(2),G0=!1,$0=!1,vd=!1,Q0=!1,xd=!1,gd=!1,I0=!1,yd={},EE=/\r\n?/g,DE=/\u0000|\uFFFD/g,da="http://www.w3.org/1999/xlink",dh="http://www.w3.org/XML/1998/namespace",CE="javascript:throw new Error('React form unexpectedly submitted.')",UE="suppressHydrationWarning",Nd="$",wd="/$",Nr="$?",hc="$!",TE=1,RE=2,VE=4,mh="F!",X0="F",Z0="complete",AE="style",wr=0,Cl=1,Sd=2,fh=null,ph=null,K0={dialog:!0,webview:!0},hh=null,J0=typeof setTimeout=="function"?setTimeout:void 0,ME=typeof clearTimeout=="function"?clearTimeout:void 0,ma=-1,W0=typeof Promise=="function"?Promise:void 0,PE=typeof queueMicrotask=="function"?queueMicrotask:typeof W0<"u"?function(e){return W0.resolve(null).then(e).catch(gS)}:J0,bh=null,fa=0,bc=1,eN=2,tN=3,is=4,cs=new Map,nN=new Set,Sr=rt.d;rt.d={f:function(){var e=Sr.f(),t=_a();return e||t},r:function(e){var t=xn(e);t!==null&&t.tag===5&&t.type==="form"?Mv(t):Sr.r(e)},D:function(e){Sr.D(e),wg("dns-prefetch",e,null)},C:function(e,t){Sr.C(e,t),wg("preconnect",e,t)},L:function(e,t,n){Sr.L(e,t,n);var s=Ul;if(s&&e&&t){var r='link[rel="preload"][as="'+Xn(t)+'"]';t==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+Xn(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+Xn(n.imageSizes)+'"]')):r+='[href="'+Xn(e)+'"]';var o=r;switch(t){case"style":o=Fa(e);break;case"script":o=Ya(e)}cs.has(o)||(e=qe({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),cs.set(o,e),s.querySelector(r)!==null||t==="style"&&s.querySelector(Ti(o))||t==="script"&&s.querySelector(Ri(o))||(t=s.createElement("link"),It(t,"link",e),R(t),s.head.appendChild(t)))}},m:function(e,t){Sr.m(e,t);var n=Ul;if(n&&e){var s=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+Xn(s)+'"][href="'+Xn(e)+'"]',o=r;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Ya(e)}if(!cs.has(o)&&(e=qe({rel:"modulepreload",href:e},t),cs.set(o,e),n.querySelector(r)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Ri(o)))return}s=n.createElement("link"),It(s,"link",e),R(s),n.head.appendChild(s)}}},X:function(e,t){Sr.X(e,t);var n=Ul;if(n&&e){var s=h(n).hoistableScripts,r=Ya(e),o=s.get(r);o||(o=n.querySelector(Ri(r)),o||(e=qe({src:e,async:!0},t),(t=cs.get(r))&&Ff(e,t),o=n.createElement("script"),R(o),It(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=Ul;if(s&&e){var r=h(s).hoistableStyles,o=Fa(e);t=t||"default";var u=r.get(o);if(!u){var m={loading:fa,preload:null};if(u=s.querySelector(Ti(o)))m.loading=bc|is;else{e=qe({rel:"stylesheet",href:e,"data-precedence":t},n),(n=cs.get(o))&&qf(e,n);var b=u=s.createElement("link");R(b),It(b,"link",e),b._p=new Promise(function(x,P){b.onload=x,b.onerror=P}),b.addEventListener("load",function(){m.loading|=bc}),b.addEventListener("error",function(){m.loading|=eN}),m.loading|=is,Vu(u,t,s)}u={type:"stylesheet",instance:u,count:1,state:m},r.set(o,u)}}},M:function(e,t){Sr.M(e,t);var n=Ul;if(n&&e){var s=h(n).hoistableScripts,r=Ya(e),o=s.get(r);o||(o=n.querySelector(Ri(r)),o||(e=qe({src:e,async:!0,type:"module"},t),(t=cs.get(r))&&Ff(e,t),o=n.createElement("script"),R(o),It(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},s.set(r,o))}}};var Ul=typeof document>"u"?null:document,jd=null,vc=null,vh=null,Ed=null,pa=WS,xc={$$typeof:Hs,Provider:null,Consumer:null,_currentValue:pa,_currentValue2:pa,_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="",Dd=" ",OE=Function.prototype.bind,aN=!1,lN=null,iN=null,cN=null,uN=null,dN=null,mN=null,fN=null,pN=null,hN=null;lN=function(e,t,n,s){t=i(e,t),t!==null&&(n=a(t.memoizedState,n,0,s),t.memoizedState=n,t.baseState=n,e.memoizedProps=qe({},e.memoizedProps),n=Nn(e,2),n!==null&&Vt(n,e,2))},iN=function(e,t,n){t=i(e,t),t!==null&&(n=p(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=qe({},e.memoizedProps),n=Nn(e,2),n!==null&&Vt(n,e,2))},cN=function(e,t,n,s){t=i(e,t),t!==null&&(n=c(t.memoizedState,n,s),t.memoizedState=n,t.baseState=n,e.memoizedProps=qe({},e.memoizedProps),n=Nn(e,2),n!==null&&Vt(n,e,2))},uN=function(e,t,n){e.pendingProps=a(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Nn(e,2),t!==null&&Vt(t,e,2)},dN=function(e,t){e.pendingProps=p(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Nn(e,2),t!==null&&Vt(t,e,2)},mN=function(e,t,n){e.pendingProps=c(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Nn(e,2),t!==null&&Vt(t,e,2)},fN=function(e){var t=Nn(e,2);t!==null&&Vt(t,e,2)},pN=function(e){N=e},hN=function(e){v=e};var Cd=!0,Ud=null,xh=!1,fo=null,po=null,ho=null,gc=new Map,yc=new Map,bo=[],kE="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(" "),Td=null;if(Ou.prototype.render=Zf.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()."):T(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=qn(s);Gf(s,r,n,t,null,null)},Ou.prototype.unmount=Zf.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;(ot&(fn|ys))!==Gn&&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."),Gf(e.current,2,null,e,null,null),_a(),t[eo]=null}},Ou.prototype.unstable_scheduleHydration=function(e){if(e){var t=Hr();e={blockedOn:null,target:e,priority:t};for(var n=0;n<bo.length&&t!==0&&t<bo[n].priority;n++);bo.splice(n,0,e),n===0&&Og(e)}},function(){var e=Kf.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"),rt.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=ie(t),e=e!==null?te(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=mN,e.scheduleUpdate=fN,e.setErrorHandler=pN,e.setSuspenseHandler=hN,e.scheduleRefresh=$,e.scheduleRoot=V,e.setRefreshHandler=F,e.getCurrentFiber=qS,e.getLaneLabelMap=FS,e.injectProfilingHooks=Je,Le(e)}()&&Fs&&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")}Nc.createRoot=function(e,t){if(!T(e))throw Error("Target container is not a DOM element.");Hg(e);var n=!1,s="",r=Fv,o=Yv,u=Gv,m=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===Zr&&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&&(m=t.unstable_transitionCallbacks)),t=Tg(e,1,!1,null,null,n,s,r,o,u,m,null),e[eo]=t.current,Af(e),new Zf(t)},Nc.hydrateRoot=function(e,t,n){if(!T(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,m=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&&(m=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(b=n.unstable_transitionCallbacks),n.formState!==void 0&&(x=n.formState)),t=Tg(e,1,!0,t,n??null,s,r,o,u,m,b,x),t.context=Rg(null),n=t.current,s=qn(n),s=Ao(s),r=qr(s),r.callback=null,Fr(n,r,s),n=s,t.current.lanes=n,an(t,n),ks(t),e[eo]=t.current,Af(e),new Ou(t)},Nc.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}(),Nc}var CN;function $E(){return CN||(CN=1,wh.exports=GE()),wh.exports}var QE=$E(),Ql=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(i){return this.listeners.add(i),this.onSubscribe(),()=>{this.listeners.delete(i),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Da=typeof window>"u"||"Deno"in globalThis;function vn(){}function IE(i,a){return typeof i=="function"?i(a):i}function Vh(i){return typeof i=="number"&&i>=0&&i!==1/0}function d1(i,a){return Math.max(i+(a||0)-Date.now(),0)}function To(i,a){return typeof i=="function"?i(a):i}function Ss(i,a){return typeof i=="function"?i(a):i}function UN(i,a){const{type:c="all",exact:d,fetchStatus:p,predicate:v,queryKey:N,stale:E}=i;if(N){if(d){if(a.queryHash!==Wh(N,a.options))return!1}else if(!Uc(a.queryKey,N))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 TN(i,a){const{exact:c,status:d,predicate:p,mutationKey:v}=i;if(v){if(!a.options.mutationKey)return!1;if(c){if(Ca(a.options.mutationKey)!==Ca(v))return!1}else if(!Uc(a.options.mutationKey,v))return!1}return!(d&&a.state.status!==d||p&&!p(a))}function Wh(i,a){return((a==null?void 0:a.queryKeyHashFn)||Ca)(i)}function Ca(i){return JSON.stringify(i,(a,c)=>Mh(c)?Object.keys(c).sort().reduce((d,p)=>(d[p]=c[p],d),{}):c)}function Uc(i,a){return i===a?!0:typeof i!=typeof a?!1:i&&a&&typeof i=="object"&&typeof a=="object"?Object.keys(a).every(c=>Uc(i[c],a[c])):!1}function Ah(i,a){if(i===a)return i;const c=RN(i)&&RN(a);if(c||Mh(i)&&Mh(a)){const d=c?i:Object.keys(i),p=d.length,v=c?a:Object.keys(a),N=v.length,E=c?[]:{},y=new Set(d);let U=0;for(let A=0;A<N;A++){const f=c?A:v[A];(!c&&y.has(f)||c)&&i[f]===void 0&&a[f]===void 0?(E[f]=void 0,U++):(E[f]=Ah(i[f],a[f]),E[f]===i[f]&&i[f]!==void 0&&U++)}return p===N&&U===p?i:E}return a}function Ld(i,a){if(!a||Object.keys(i).length!==Object.keys(a).length)return!1;for(const c in i)if(i[c]!==a[c])return!1;return!0}function RN(i){return Array.isArray(i)&&i.length===Object.keys(i).length}function Mh(i){if(!VN(i))return!1;const a=i.constructor;if(a===void 0)return!0;const c=a.prototype;return!(!VN(c)||!c.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(i)!==Object.prototype)}function VN(i){return Object.prototype.toString.call(i)==="[object Object]"}function XE(i){return new Promise(a=>{setTimeout(a,i)})}function Ph(i,a,c){if(typeof c.structuralSharing=="function")return c.structuralSharing(i,a);if(c.structuralSharing!==!1){try{return Ah(i,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 Ah(i,a)}return a}function ZE(i,a,c=0){const d=[...i,a];return c&&d.length>c?d.slice(1):d}function KE(i,a,c=0){const d=[a,...i];return c&&d.length>c?d.slice(0,-1):d}var qd=Symbol();function m1(i,a){return i.queryFn===qd&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${i.queryHash}'`),!i.queryFn&&(a!=null&&a.initialPromise)?()=>a.initialPromise:!i.queryFn||i.queryFn===qd?()=>Promise.reject(new Error(`Missing queryFn: '${i.queryHash}'`)):i.queryFn}function f1(i,a){return typeof i=="function"?i(...a):!!i}var va,go,Pl,JN,JE=(JN=class extends Ql{constructor(){super();Ce(this,va);Ce(this,go);Ce(this,Pl);fe(this,Pl,a=>{if(!Da&&window.addEventListener){const c=()=>a();return window.addEventListener("visibilitychange",c,!1),()=>{window.removeEventListener("visibilitychange",c)}}})}onSubscribe(){D(this,go)||this.setEventListener(D(this,Pl))}onUnsubscribe(){var a;this.hasListeners()||((a=D(this,go))==null||a.call(this),fe(this,go,void 0))}setEventListener(a){var c;fe(this,Pl,a),(c=D(this,go))==null||c.call(this),fe(this,go,a(d=>{typeof d=="boolean"?this.setFocused(d):this.onFocus()}))}setFocused(a){D(this,va)!==a&&(fe(this,va,a),this.onFocus())}onFocus(){const a=this.isFocused();this.listeners.forEach(c=>{c(a)})}isFocused(){var a;return typeof D(this,va)=="boolean"?D(this,va):((a=globalThis.document)==null?void 0:a.visibilityState)!=="hidden"}},va=new WeakMap,go=new WeakMap,Pl=new WeakMap,JN),eb=new JE,Ol,yo,kl,WN,WE=(WN=class extends Ql{constructor(){super();Ce(this,Ol,!0);Ce(this,yo);Ce(this,kl);fe(this,kl,a=>{if(!Da&&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,yo)||this.setEventListener(D(this,kl))}onUnsubscribe(){var a;this.hasListeners()||((a=D(this,yo))==null||a.call(this),fe(this,yo,void 0))}setEventListener(a){var c;fe(this,kl,a),(c=D(this,yo))==null||c.call(this),fe(this,yo,a(this.setOnline.bind(this)))}setOnline(a){D(this,Ol)!==a&&(fe(this,Ol,a),this.listeners.forEach(d=>{d(a)}))}isOnline(){return D(this,Ol)}},Ol=new WeakMap,yo=new WeakMap,kl=new WeakMap,WN),Fd=new WE;function Oh(){let i,a;const c=new Promise((p,v)=>{i=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}),i(p)},c.reject=p=>{d({status:"rejected",reason:p}),a(p)},c}function eD(i){return Math.min(1e3*2**i,3e4)}function p1(i){return(i??"online")==="online"?Fd.isOnline():!0}var h1=class extends Error{constructor(i){super("CancelledError"),this.revert=i==null?void 0:i.revert,this.silent=i==null?void 0:i.silent}};function Dh(i){return i instanceof h1}function b1(i){let a=!1,c=0,d=!1,p;const v=Oh(),N=F=>{var T;d||(g(new h1(F)),(T=i.abort)==null||T.call(i))},E=()=>{a=!0},y=()=>{a=!1},U=()=>eb.isFocused()&&(i.networkMode==="always"||Fd.isOnline())&&i.canRun(),A=()=>p1(i.networkMode)&&i.canRun(),f=F=>{var T;d||(d=!0,(T=i.onSuccess)==null||T.call(i,F),p==null||p(),v.resolve(F))},g=F=>{var T;d||(d=!0,(T=i.onError)==null||T.call(i,F),p==null||p(),v.reject(F))},V=()=>new Promise(F=>{var T;p=Y=>{(d||U())&&F(Y)},(T=i.onPause)==null||T.call(i)}).then(()=>{var F;p=void 0,d||(F=i.onContinue)==null||F.call(i)}),$=()=>{if(d)return;let F;const T=c===0?i.initialPromise:void 0;try{F=T??i.fn()}catch(Y){F=Promise.reject(Y)}Promise.resolve(F).then(f).catch(Y=>{var ue;if(d)return;const ne=i.retry??(Da?0:3),J=i.retryDelay??eD,ie=typeof J=="function"?J(c,Y):J,te=ne===!0||typeof ne=="number"&&c<ne||typeof ne=="function"&&ne(c,Y);if(a||!te){g(Y);return}c++,(ue=i.onFail)==null||ue.call(i,c,Y),XE(ie).then(()=>U()?void 0:V()).then(()=>{a?g(Y):$()})})};return{promise:v,cancel:N,continue:()=>(p==null||p(),v),cancelRetry:E,continueRetry:y,canStart:A,start:()=>(A()?$():V().then($),v)}}var tD=i=>setTimeout(i,0);function nD(){let i=[],a=0,c=E=>{E()},d=E=>{E()},p=tD;const v=E=>{a?i.push(E):p(()=>{c(E)})},N=()=>{const E=i;i=[],E.length&&p(()=>{d(()=>{E.forEach(y=>{c(y)})})})};return{batch:E=>{let y;a++;try{y=E()}finally{a--,a||N()}return y},batchCalls:E=>(...y)=>{v(()=>{E(...y)})},schedule:v,setNotifyFunction:E=>{c=E},setBatchNotifyFunction:E=>{d=E},setScheduler:E=>{p=E}}}var qt=nD(),xa,e1,v1=(e1=class{constructor(){Ce(this,xa)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Vh(this.gcTime)&&fe(this,xa,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(i){this.gcTime=Math.max(this.gcTime||0,i??(Da?1/0:5*60*1e3))}clearGcTimeout(){D(this,xa)&&(clearTimeout(D(this,xa)),fe(this,xa,void 0))}},xa=new WeakMap,e1),zl,Hl,us,ga,sn,Rc,ya,Ns,Dr,t1,sD=(t1=class extends v1{constructor(a){super();Ce(this,Ns);Ce(this,zl);Ce(this,Hl);Ce(this,us);Ce(this,ga);Ce(this,sn);Ce(this,Rc);Ce(this,ya);fe(this,ya,!1),fe(this,Rc,a.defaultOptions),this.setOptions(a.options),this.observers=[],fe(this,ga,a.client),fe(this,us,D(this,ga).getQueryCache()),this.queryKey=a.queryKey,this.queryHash=a.queryHash,fe(this,zl,rD(this.options)),this.state=a.state??D(this,zl),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var a;return(a=D(this,sn))==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,us).remove(this)}setData(a,c){const d=Ph(this.state.data,a,this.options);return Fe(this,Ns,Dr).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,Ns,Dr).call(this,{type:"setState",state:a,setStateOptions:c})}cancel(a){var d,p;const c=(d=D(this,sn))==null?void 0:d.promise;return(p=D(this,sn))==null||p.cancel(a),c?c.then(vn).catch(vn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(D(this,zl))}isActive(){return this.observers.some(a=>Ss(a.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===qd||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(a=>To(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:!d1(this.state.dataUpdatedAt,a)}onFocus(){var c;const a=this.observers.find(d=>d.shouldFetchOnWindowFocus());a==null||a.refetch({cancelRefetch:!1}),(c=D(this,sn))==null||c.continue()}onOnline(){var c;const a=this.observers.find(d=>d.shouldFetchOnReconnect());a==null||a.refetch({cancelRefetch:!1}),(c=D(this,sn))==null||c.continue()}addObserver(a){this.observers.includes(a)||(this.observers.push(a),this.clearGcTimeout(),D(this,us).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,sn)&&(D(this,ya)?D(this,sn).cancel({revert:!0}):D(this,sn).cancelRetry()),this.scheduleGc()),D(this,us).notify({type:"observerRemoved",query:this,observer:a}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Fe(this,Ns,Dr).call(this,{type:"invalidate"})}fetch(a,c){var U,A,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(c!=null&&c.cancelRefetch))this.cancel({silent:!0});else if(D(this,sn))return D(this,sn).continueRetry(),D(this,sn).promise}if(a&&this.setOptions(a),!this.options.queryFn){const g=this.observers.find(V=>V.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,ya,!0),d.signal)})},v=()=>{const g=m1(this.options,c),$=(()=>{const F={client:D(this,ga),queryKey:this.queryKey,meta:this.meta};return p(F),F})();return fe(this,ya,!1),this.options.persister?this.options.persister(g,$,this):g($)},E=(()=>{const g={fetchOptions:c,options:this.options,queryKey:this.queryKey,client:D(this,ga),state:this.state,fetchFn:v};return p(g),g})();(U=this.options.behavior)==null||U.onFetch(E,this),fe(this,Hl,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((A=E.fetchOptions)==null?void 0:A.meta))&&Fe(this,Ns,Dr).call(this,{type:"fetch",meta:(f=E.fetchOptions)==null?void 0:f.meta});const y=g=>{var V,$,F,T;Dh(g)&&g.silent||Fe(this,Ns,Dr).call(this,{type:"error",error:g}),Dh(g)||(($=(V=D(this,us).config).onError)==null||$.call(V,g,this),(T=(F=D(this,us).config).onSettled)==null||T.call(F,this.state.data,g,this)),this.scheduleGc()};return fe(this,sn,b1({initialPromise:c==null?void 0:c.initialPromise,fn:E.fetchFn,abort:d.abort.bind(d),onSuccess:g=>{var V,$,F,T;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(Y){y(Y);return}($=(V=D(this,us).config).onSuccess)==null||$.call(V,g,this),(T=(F=D(this,us).config).onSettled)==null||T.call(F,g,this.state.error,this),this.scheduleGc()},onError:y,onFail:(g,V)=>{Fe(this,Ns,Dr).call(this,{type:"failed",failureCount:g,error:V})},onPause:()=>{Fe(this,Ns,Dr).call(this,{type:"pause"})},onContinue:()=>{Fe(this,Ns,Dr).call(this,{type:"continue"})},retry:E.options.retry,retryDelay:E.options.retryDelay,networkMode:E.options.networkMode,canRun:()=>!0})),D(this,sn).start()}},zl=new WeakMap,Hl=new WeakMap,us=new WeakMap,ga=new WeakMap,sn=new WeakMap,Rc=new WeakMap,ya=new WeakMap,Ns=new WeakSet,Dr=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,...x1(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,Hl)?{...D(this,Hl),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),qt.batch(()=>{this.observers.forEach(d=>{d.onQueryUpdate()}),D(this,us).notify({query:this,type:"updated",action:a})})},t1);function x1(i,a){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:p1(a.networkMode)?"fetching":"paused",...i===void 0&&{error:null,status:"pending"}}}function rD(i){const a=typeof i.initialData=="function"?i.initialData():i.initialData,c=a!==void 0,d=c?typeof i.initialDataUpdatedAt=="function"?i.initialDataUpdatedAt():i.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 Xs,n1,oD=(n1=class extends Ql{constructor(a={}){super();Ce(this,Xs);this.config=a,fe(this,Xs,new Map)}build(a,c,d){const p=c.queryKey,v=c.queryHash??Wh(p,c);let N=this.get(v);return N||(N=new sD({client:a,queryKey:p,queryHash:v,options:a.defaultQueryOptions(c),state:d,defaultOptions:a.getQueryDefaults(p)}),this.add(N)),N}add(a){D(this,Xs).has(a.queryHash)||(D(this,Xs).set(a.queryHash,a),this.notify({type:"added",query:a}))}remove(a){const c=D(this,Xs).get(a.queryHash);c&&(a.destroy(),c===a&&D(this,Xs).delete(a.queryHash),this.notify({type:"removed",query:a}))}clear(){qt.batch(()=>{this.getAll().forEach(a=>{this.remove(a)})})}get(a){return D(this,Xs).get(a)}getAll(){return[...D(this,Xs).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){qt.batch(()=>{this.listeners.forEach(c=>{c(a)})})}onFocus(){qt.batch(()=>{this.getAll().forEach(a=>{a.onFocus()})})}onOnline(){qt.batch(()=>{this.getAll().forEach(a=>{a.onOnline()})})}},Xs=new WeakMap,n1),Zs,hn,Na,Ks,xo,s1,aD=(s1=class extends v1{constructor(a){super();Ce(this,Ks);Ce(this,Zs);Ce(this,hn);Ce(this,Na);this.mutationId=a.mutationId,fe(this,hn,a.mutationCache),fe(this,Zs,[]),this.state=a.state||g1(),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,Zs).includes(a)||(D(this,Zs).push(a),this.clearGcTimeout(),D(this,hn).notify({type:"observerAdded",mutation:this,observer:a}))}removeObserver(a){fe(this,Zs,D(this,Zs).filter(c=>c!==a)),this.scheduleGc(),D(this,hn).notify({type:"observerRemoved",mutation:this,observer:a})}optionalRemove(){D(this,Zs).length||(this.state.status==="pending"?this.scheduleGc():D(this,hn).remove(this))}continue(){var a;return((a=D(this,Na))==null?void 0:a.continue())??this.execute(this.state.variables)}async execute(a){var v,N,E,y,U,A,f,g,V,$,F,T,Y,ne,J,ie,te,ue,pe,Z;const c=()=>{Fe(this,Ks,xo).call(this,{type:"continue"})};fe(this,Na,b1({fn:()=>this.options.mutationFn?this.options.mutationFn(a):Promise.reject(new Error("No mutationFn found")),onFail:(K,ve)=>{Fe(this,Ks,xo).call(this,{type:"failed",failureCount:K,error:ve})},onPause:()=>{Fe(this,Ks,xo).call(this,{type:"pause"})},onContinue:c,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>D(this,hn).canRun(this)}));const d=this.state.status==="pending",p=!D(this,Na).canStart();try{if(d)c();else{Fe(this,Ks,xo).call(this,{type:"pending",variables:a,isPaused:p}),await((N=(v=D(this,hn).config).onMutate)==null?void 0:N.call(v,a,this));const ve=await((y=(E=this.options).onMutate)==null?void 0:y.call(E,a));ve!==this.state.context&&Fe(this,Ks,xo).call(this,{type:"pending",context:ve,variables:a,isPaused:p})}const K=await D(this,Na).start();return await((A=(U=D(this,hn).config).onSuccess)==null?void 0:A.call(U,K,a,this.state.context,this)),await((g=(f=this.options).onSuccess)==null?void 0:g.call(f,K,a,this.state.context)),await(($=(V=D(this,hn).config).onSettled)==null?void 0:$.call(V,K,null,this.state.variables,this.state.context,this)),await((T=(F=this.options).onSettled)==null?void 0:T.call(F,K,null,a,this.state.context)),Fe(this,Ks,xo).call(this,{type:"success",data:K}),K}catch(K){try{throw await((ne=(Y=D(this,hn).config).onError)==null?void 0:ne.call(Y,K,a,this.state.context,this)),await((ie=(J=this.options).onError)==null?void 0:ie.call(J,K,a,this.state.context)),await((ue=(te=D(this,hn).config).onSettled)==null?void 0:ue.call(te,void 0,K,this.state.variables,this.state.context,this)),await((Z=(pe=this.options).onSettled)==null?void 0:Z.call(pe,void 0,K,a,this.state.context)),K}finally{Fe(this,Ks,xo).call(this,{type:"error",error:K})}}finally{D(this,hn).runNext(this)}}},Zs=new WeakMap,hn=new WeakMap,Na=new WeakMap,Ks=new WeakSet,xo=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),qt.batch(()=>{D(this,Zs).forEach(d=>{d.onMutationUpdate(a)}),D(this,hn).notify({mutation:this,type:"updated",action:a})})},s1);function g1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Cr,ws,Vc,r1,lD=(r1=class extends Ql{constructor(a={}){super();Ce(this,Cr);Ce(this,ws);Ce(this,Vc);this.config=a,fe(this,Cr,new Set),fe(this,ws,new Map),fe(this,Vc,0)}build(a,c,d){const p=new aD({mutationCache:this,mutationId:++Rd(this,Vc)._,options:a.defaultMutationOptions(c),state:d});return this.add(p),p}add(a){D(this,Cr).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,Cr).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(){qt.batch(()=>{D(this,Cr).forEach(a=>{this.notify({type:"removed",mutation:a})}),D(this,Cr).clear(),D(this,ws).clear()})}getAll(){return Array.from(D(this,Cr))}find(a){const c={exact:!0,...a};return this.getAll().find(d=>TN(c,d))}findAll(a={}){return this.getAll().filter(c=>TN(a,c))}notify(a){qt.batch(()=>{this.listeners.forEach(c=>{c(a)})})}resumePausedMutations(){const a=this.getAll().filter(c=>c.state.isPaused);return qt.batch(()=>Promise.all(a.map(c=>c.continue().catch(vn))))}},Cr=new WeakMap,ws=new WeakMap,Vc=new WeakMap,r1);function Ad(i){var a;return(a=i.options.scope)==null?void 0:a.id}function AN(i){return{onFetch:(a,c)=>{var A,f,g,V,$;const d=a.options,p=(g=(f=(A=a.fetchOptions)==null?void 0:A.meta)==null?void 0:f.fetchMore)==null?void 0:g.direction,v=((V=a.state.data)==null?void 0:V.pages)||[],N=(($=a.state.data)==null?void 0:$.pageParams)||[];let E={pages:[],pageParams:[]},y=0;const U=async()=>{let F=!1;const T=J=>{Object.defineProperty(J,"signal",{enumerable:!0,get:()=>(a.signal.aborted?F=!0:a.signal.addEventListener("abort",()=>{F=!0}),a.signal)})},Y=m1(a.options,a.fetchOptions),ne=async(J,ie,te)=>{if(F)return Promise.reject();if(ie==null&&J.pages.length)return Promise.resolve(J);const pe=(()=>{const re={client:a.client,queryKey:a.queryKey,pageParam:ie,direction:te?"backward":"forward",meta:a.options.meta};return T(re),re})(),Z=await Y(pe),{maxPages:K}=a.options,ve=te?KE:ZE;return{pages:ve(J.pages,Z,K),pageParams:ve(J.pageParams,ie,K)}};if(p&&v.length){const J=p==="backward",ie=J?iD:MN,te={pages:v,pageParams:N},ue=ie(d,te);E=await ne(te,ue,J)}else{const J=i??v.length;do{const ie=y===0?N[0]??d.initialPageParam:MN(d,E);if(y>0&&ie==null)break;E=await ne(E,ie),y++}while(y<J)}return E};a.options.persister?a.fetchFn=()=>{var F,T;return(T=(F=a.options).persister)==null?void 0:T.call(F,U,{client:a.client,queryKey:a.queryKey,meta:a.options.meta,signal:a.signal},c)}:a.fetchFn=U}}}function MN(i,{pages:a,pageParams:c}){const d=a.length-1;return a.length>0?i.getNextPageParam(a[d],a,c[d],c):void 0}function iD(i,{pages:a,pageParams:c}){var d;return a.length>0?(d=i.getPreviousPageParam)==null?void 0:d.call(i,a[0],a,c[0],c):void 0}var Ut,No,wo,_l,Bl,So,Ll,ql,o1,cD=(o1=class{constructor(i={}){Ce(this,Ut);Ce(this,No);Ce(this,wo);Ce(this,_l);Ce(this,Bl);Ce(this,So);Ce(this,Ll);Ce(this,ql);fe(this,Ut,i.queryCache||new oD),fe(this,No,i.mutationCache||new lD),fe(this,wo,i.defaultOptions||{}),fe(this,_l,new Map),fe(this,Bl,new Map),fe(this,So,0)}mount(){Rd(this,So)._++,D(this,So)===1&&(fe(this,Ll,eb.subscribe(async i=>{i&&(await this.resumePausedMutations(),D(this,Ut).onFocus())})),fe(this,ql,Fd.subscribe(async i=>{i&&(await this.resumePausedMutations(),D(this,Ut).onOnline())})))}unmount(){var i,a;Rd(this,So)._--,D(this,So)===0&&((i=D(this,Ll))==null||i.call(this),fe(this,Ll,void 0),(a=D(this,ql))==null||a.call(this),fe(this,ql,void 0))}isFetching(i){return D(this,Ut).findAll({...i,fetchStatus:"fetching"}).length}isMutating(i){return D(this,No).findAll({...i,status:"pending"}).length}getQueryData(i){var c;const a=this.defaultQueryOptions({queryKey:i});return(c=D(this,Ut).get(a.queryHash))==null?void 0:c.state.data}ensureQueryData(i){const a=this.defaultQueryOptions(i),c=D(this,Ut).build(this,a),d=c.state.data;return d===void 0?this.fetchQuery(i):(i.revalidateIfStale&&c.isStaleByTime(To(a.staleTime,c))&&this.prefetchQuery(a),Promise.resolve(d))}getQueriesData(i){return D(this,Ut).findAll(i).map(({queryKey:a,state:c})=>{const d=c.data;return[a,d]})}setQueryData(i,a,c){const d=this.defaultQueryOptions({queryKey:i}),p=D(this,Ut).get(d.queryHash),v=p==null?void 0:p.state.data,N=IE(a,v);if(N!==void 0)return D(this,Ut).build(this,d).setData(N,{...c,manual:!0})}setQueriesData(i,a,c){return qt.batch(()=>D(this,Ut).findAll(i).map(({queryKey:d})=>[d,this.setQueryData(d,a,c)]))}getQueryState(i){var c;const a=this.defaultQueryOptions({queryKey:i});return(c=D(this,Ut).get(a.queryHash))==null?void 0:c.state}removeQueries(i){const a=D(this,Ut);qt.batch(()=>{a.findAll(i).forEach(c=>{a.remove(c)})})}resetQueries(i,a){const c=D(this,Ut);return qt.batch(()=>(c.findAll(i).forEach(d=>{d.reset()}),this.refetchQueries({type:"active",...i},a)))}cancelQueries(i,a={}){const c={revert:!0,...a},d=qt.batch(()=>D(this,Ut).findAll(i).map(p=>p.cancel(c)));return Promise.all(d).then(vn).catch(vn)}invalidateQueries(i,a={}){return qt.batch(()=>(D(this,Ut).findAll(i).forEach(c=>{c.invalidate()}),(i==null?void 0:i.refetchType)==="none"?Promise.resolve():this.refetchQueries({...i,type:(i==null?void 0:i.refetchType)??(i==null?void 0:i.type)??"active"},a)))}refetchQueries(i,a={}){const c={...a,cancelRefetch:a.cancelRefetch??!0},d=qt.batch(()=>D(this,Ut).findAll(i).filter(p=>!p.isDisabled()&&!p.isStatic()).map(p=>{let v=p.fetch(void 0,c);return c.throwOnError||(v=v.catch(vn)),p.state.fetchStatus==="paused"?Promise.resolve():v}));return Promise.all(d).then(vn)}fetchQuery(i){const a=this.defaultQueryOptions(i);a.retry===void 0&&(a.retry=!1);const c=D(this,Ut).build(this,a);return c.isStaleByTime(To(a.staleTime,c))?c.fetch(a):Promise.resolve(c.state.data)}prefetchQuery(i){return this.fetchQuery(i).then(vn).catch(vn)}fetchInfiniteQuery(i){return i.behavior=AN(i.pages),this.fetchQuery(i)}prefetchInfiniteQuery(i){return this.fetchInfiniteQuery(i).then(vn).catch(vn)}ensureInfiniteQueryData(i){return i.behavior=AN(i.pages),this.ensureQueryData(i)}resumePausedMutations(){return Fd.isOnline()?D(this,No).resumePausedMutations():Promise.resolve()}getQueryCache(){return D(this,Ut)}getMutationCache(){return D(this,No)}getDefaultOptions(){return D(this,wo)}setDefaultOptions(i){fe(this,wo,i)}setQueryDefaults(i,a){D(this,_l).set(Ca(i),{queryKey:i,defaultOptions:a})}getQueryDefaults(i){const a=[...D(this,_l).values()],c={};return a.forEach(d=>{Uc(i,d.queryKey)&&Object.assign(c,d.defaultOptions)}),c}setMutationDefaults(i,a){D(this,Bl).set(Ca(i),{mutationKey:i,defaultOptions:a})}getMutationDefaults(i){const a=[...D(this,Bl).values()],c={};return a.forEach(d=>{Uc(i,d.mutationKey)&&Object.assign(c,d.defaultOptions)}),c}defaultQueryOptions(i){if(i._defaulted)return i;const a={...D(this,wo).queries,...this.getQueryDefaults(i.queryKey),...i,_defaulted:!0};return a.queryHash||(a.queryHash=Wh(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===qd&&(a.enabled=!1),a}defaultMutationOptions(i){return i!=null&&i._defaulted?i:{...D(this,wo).mutations,...(i==null?void 0:i.mutationKey)&&this.getMutationDefaults(i.mutationKey),...i,_defaulted:!0}}clear(){D(this,Ut).clear(),D(this,No).clear()}},Ut=new WeakMap,No=new WeakMap,wo=new WeakMap,_l=new WeakMap,Bl=new WeakMap,So=new WeakMap,Ll=new WeakMap,ql=new WeakMap,o1),Un,tt,Ac,bn,wa,Fl,jo,Eo,Mc,Yl,Gl,Sa,ja,Do,$l,lt,Ec,kh,zh,Hh,_h,Bh,Lh,qh,y1,a1,uD=(a1=class extends Ql{constructor(a,c){super();Ce(this,lt);Ce(this,Un);Ce(this,tt);Ce(this,Ac);Ce(this,bn);Ce(this,wa);Ce(this,Fl);Ce(this,jo);Ce(this,Eo);Ce(this,Mc);Ce(this,Yl);Ce(this,Gl);Ce(this,Sa);Ce(this,ja);Ce(this,Do);Ce(this,$l,new Set);this.options=c,fe(this,Un,a),fe(this,Eo,null),fe(this,jo,Oh()),this.options.experimental_prefetchInRender||D(this,jo).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,tt).addObserver(this),PN(D(this,tt),this.options)?Fe(this,lt,Ec).call(this):this.updateResult(),Fe(this,lt,_h).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Fh(D(this,tt),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Fh(D(this,tt),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Fe(this,lt,Bh).call(this),Fe(this,lt,Lh).call(this),D(this,tt).removeObserver(this)}setOptions(a){const c=this.options,d=D(this,tt);if(this.options=D(this,Un).defaultQueryOptions(a),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Ss(this.options.enabled,D(this,tt))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Fe(this,lt,qh).call(this),D(this,tt).setOptions(this.options),c._defaulted&&!Ld(this.options,c)&&D(this,Un).getQueryCache().notify({type:"observerOptionsUpdated",query:D(this,tt),observer:this});const p=this.hasListeners();p&&ON(D(this,tt),d,this.options,c)&&Fe(this,lt,Ec).call(this),this.updateResult(),p&&(D(this,tt)!==d||Ss(this.options.enabled,D(this,tt))!==Ss(c.enabled,D(this,tt))||To(this.options.staleTime,D(this,tt))!==To(c.staleTime,D(this,tt)))&&Fe(this,lt,kh).call(this);const v=Fe(this,lt,zh).call(this);p&&(D(this,tt)!==d||Ss(this.options.enabled,D(this,tt))!==Ss(c.enabled,D(this,tt))||v!==D(this,Do))&&Fe(this,lt,Hh).call(this,v)}getOptimisticResult(a){const c=D(this,Un).getQueryCache().build(D(this,Un),a),d=this.createResult(c,a);return mD(this,d)&&(fe(this,bn,d),fe(this,Fl,this.options),fe(this,wa,D(this,tt).state)),d}getCurrentResult(){return D(this,bn)}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,$l).add(a)}getCurrentQuery(){return D(this,tt)}refetch({...a}={}){return this.fetch({...a})}fetchOptimistic(a){const c=D(this,Un).defaultQueryOptions(a),d=D(this,Un).getQueryCache().build(D(this,Un),c);return d.fetch().then(()=>this.createResult(d,c))}fetch(a){return Fe(this,lt,Ec).call(this,{...a,cancelRefetch:a.cancelRefetch??!0}).then(()=>(this.updateResult(),D(this,bn)))}createResult(a,c){var K;const d=D(this,tt),p=this.options,v=D(this,bn),N=D(this,wa),E=D(this,Fl),U=a!==d?a.state:D(this,Ac),{state:A}=a;let f={...A},g=!1,V;if(c._optimisticResults){const ve=this.hasListeners(),re=!ve&&PN(a,c),xe=ve&&ON(a,d,c,p);(re||xe)&&(f={...f,...x1(A.data,a.options)}),c._optimisticResults==="isRestoring"&&(f.fetchStatus="idle")}let{error:$,errorUpdatedAt:F,status:T}=f;V=f.data;let Y=!1;if(c.placeholderData!==void 0&&V===void 0&&T==="pending"){let ve;v!=null&&v.isPlaceholderData&&c.placeholderData===(E==null?void 0:E.placeholderData)?(ve=v.data,Y=!0):ve=typeof c.placeholderData=="function"?c.placeholderData((K=D(this,Gl))==null?void 0:K.state.data,D(this,Gl)):c.placeholderData,ve!==void 0&&(T="success",V=Ph(v==null?void 0:v.data,ve,c),g=!0)}if(c.select&&V!==void 0&&!Y)if(v&&V===(N==null?void 0:N.data)&&c.select===D(this,Mc))V=D(this,Yl);else try{fe(this,Mc,c.select),V=c.select(V),V=Ph(v==null?void 0:v.data,V,c),fe(this,Yl,V),fe(this,Eo,null)}catch(ve){fe(this,Eo,ve)}D(this,Eo)&&($=D(this,Eo),V=D(this,Yl),F=Date.now(),T="error");const ne=f.fetchStatus==="fetching",J=T==="pending",ie=T==="error",te=J&&ne,ue=V!==void 0,Z={status:T,fetchStatus:f.fetchStatus,isPending:J,isSuccess:T==="success",isError:ie,isInitialLoading:te,isLoading:te,data:V,dataUpdatedAt:f.dataUpdatedAt,error:$,errorUpdatedAt:F,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>U.dataUpdateCount||f.errorUpdateCount>U.errorUpdateCount,isFetching:ne,isRefetching:ne&&!J,isLoadingError:ie&&!ue,isPaused:f.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:ie&&ue,isStale:tb(a,c),refetch:this.refetch,promise:D(this,jo)};if(this.options.experimental_prefetchInRender){const ve=I=>{Z.status==="error"?I.reject(Z.error):Z.data!==void 0&&I.resolve(Z.data)},re=()=>{const I=fe(this,jo,Z.promise=Oh());ve(I)},xe=D(this,jo);switch(xe.status){case"pending":a.queryHash===d.queryHash&&ve(xe);break;case"fulfilled":(Z.status==="error"||Z.data!==xe.value)&&re();break;case"rejected":(Z.status!=="error"||Z.error!==xe.reason)&&re();break}}return Z}updateResult(){const a=D(this,bn),c=this.createResult(D(this,tt),this.options);if(fe(this,wa,D(this,tt).state),fe(this,Fl,this.options),D(this,wa).data!==void 0&&fe(this,Gl,D(this,tt)),Ld(c,a))return;fe(this,bn,c);const d=()=>{if(!a)return!0;const{notifyOnChangeProps:p}=this.options,v=typeof p=="function"?p():p;if(v==="all"||!v&&!D(this,$l).size)return!0;const N=new Set(v??D(this,$l));return this.options.throwOnError&&N.add("error"),Object.keys(D(this,bn)).some(E=>{const y=E;return D(this,bn)[y]!==a[y]&&N.has(y)})};Fe(this,lt,y1).call(this,{listeners:d()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Fe(this,lt,_h).call(this)}},Un=new WeakMap,tt=new WeakMap,Ac=new WeakMap,bn=new WeakMap,wa=new WeakMap,Fl=new WeakMap,jo=new WeakMap,Eo=new WeakMap,Mc=new WeakMap,Yl=new WeakMap,Gl=new WeakMap,Sa=new WeakMap,ja=new WeakMap,Do=new WeakMap,$l=new WeakMap,lt=new WeakSet,Ec=function(a){Fe(this,lt,qh).call(this);let c=D(this,tt).fetch(this.options,a);return a!=null&&a.throwOnError||(c=c.catch(vn)),c},kh=function(){Fe(this,lt,Bh).call(this);const a=To(this.options.staleTime,D(this,tt));if(Da||D(this,bn).isStale||!Vh(a))return;const d=d1(D(this,bn).dataUpdatedAt,a)+1;fe(this,Sa,setTimeout(()=>{D(this,bn).isStale||this.updateResult()},d))},zh=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(D(this,tt)):this.options.refetchInterval)??!1},Hh=function(a){Fe(this,lt,Lh).call(this),fe(this,Do,a),!(Da||Ss(this.options.enabled,D(this,tt))===!1||!Vh(D(this,Do))||D(this,Do)===0)&&fe(this,ja,setInterval(()=>{(this.options.refetchIntervalInBackground||eb.isFocused())&&Fe(this,lt,Ec).call(this)},D(this,Do)))},_h=function(){Fe(this,lt,kh).call(this),Fe(this,lt,Hh).call(this,Fe(this,lt,zh).call(this))},Bh=function(){D(this,Sa)&&(clearTimeout(D(this,Sa)),fe(this,Sa,void 0))},Lh=function(){D(this,ja)&&(clearInterval(D(this,ja)),fe(this,ja,void 0))},qh=function(){const a=D(this,Un).getQueryCache().build(D(this,Un),this.options);if(a===D(this,tt))return;const c=D(this,tt);fe(this,tt,a),fe(this,Ac,a.state),this.hasListeners()&&(c==null||c.removeObserver(this),a.addObserver(this))},y1=function(a){qt.batch(()=>{a.listeners&&this.listeners.forEach(c=>{c(D(this,bn))}),D(this,Un).getQueryCache().notify({query:D(this,tt),type:"observerResultsUpdated"})})},a1);function dD(i,a){return Ss(a.enabled,i)!==!1&&i.state.data===void 0&&!(i.state.status==="error"&&a.retryOnMount===!1)}function PN(i,a){return dD(i,a)||i.state.data!==void 0&&Fh(i,a,a.refetchOnMount)}function Fh(i,a,c){if(Ss(a.enabled,i)!==!1&&To(a.staleTime,i)!=="static"){const d=typeof c=="function"?c(i):c;return d==="always"||d!==!1&&tb(i,a)}return!1}function ON(i,a,c,d){return(i!==a||Ss(d.enabled,i)===!1)&&(!c.suspense||i.state.status!=="error")&&tb(i,c)}function tb(i,a){return Ss(a.enabled,i)!==!1&&i.isStaleByTime(To(a.staleTime,i))}function mD(i,a){return!Ld(i.getCurrentResult(),a)}var Co,Uo,Tn,Ur,Or,Hd,Yh,l1,fD=(l1=class extends Ql{constructor(c,d){super();Ce(this,Or);Ce(this,Co);Ce(this,Uo);Ce(this,Tn);Ce(this,Ur);fe(this,Co,c),this.setOptions(d),this.bindMethods(),Fe(this,Or,Hd).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,Co).defaultMutationOptions(c),Ld(this.options,d)||D(this,Co).getMutationCache().notify({type:"observerOptionsUpdated",mutation:D(this,Tn),observer:this}),d!=null&&d.mutationKey&&this.options.mutationKey&&Ca(d.mutationKey)!==Ca(this.options.mutationKey)?this.reset():((p=D(this,Tn))==null?void 0:p.state.status)==="pending"&&D(this,Tn).setOptions(this.options)}onUnsubscribe(){var c;this.hasListeners()||(c=D(this,Tn))==null||c.removeObserver(this)}onMutationUpdate(c){Fe(this,Or,Hd).call(this),Fe(this,Or,Yh).call(this,c)}getCurrentResult(){return D(this,Uo)}reset(){var c;(c=D(this,Tn))==null||c.removeObserver(this),fe(this,Tn,void 0),Fe(this,Or,Hd).call(this),Fe(this,Or,Yh).call(this)}mutate(c,d){var p;return fe(this,Ur,d),(p=D(this,Tn))==null||p.removeObserver(this),fe(this,Tn,D(this,Co).getMutationCache().build(D(this,Co),this.options)),D(this,Tn).addObserver(this),D(this,Tn).execute(c)}},Co=new WeakMap,Uo=new WeakMap,Tn=new WeakMap,Ur=new WeakMap,Or=new WeakSet,Hd=function(){var d;const c=((d=D(this,Tn))==null?void 0:d.state)??g1();fe(this,Uo,{...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){qt.batch(()=>{var d,p,v,N,E,y,U,A;if(D(this,Ur)&&this.hasListeners()){const f=D(this,Uo).variables,g=D(this,Uo).context;(c==null?void 0:c.type)==="success"?((p=(d=D(this,Ur)).onSuccess)==null||p.call(d,c.data,f,g),(N=(v=D(this,Ur)).onSettled)==null||N.call(v,c.data,null,f,g)):(c==null?void 0:c.type)==="error"&&((y=(E=D(this,Ur)).onError)==null||y.call(E,c.error,f,g),(A=(U=D(this,Ur)).onSettled)==null||A.call(U,void 0,c.error,f,g))}this.listeners.forEach(f=>{f(D(this,Uo))})})},l1),Ch={exports:{}},wc={},kN;function pD(){if(kN)return wc;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 i(w){if(w==null)return null;if(typeof w=="function")return w.$$typeof===ve?null:w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case F:return"Fragment";case Y:return"Profiler";case T:return"StrictMode";case te:return"Suspense";case ue:return"SuspenseList";case K:return"Activity"}if(typeof w=="object")switch(typeof w.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case $:return"Portal";case J:return(w.displayName||"Context")+".Provider";case ne:return(w._context.displayName||"Context")+".Consumer";case ie:var G=w.render;return w=w.displayName,w||(w=G.displayName||G.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case pe:return G=w.displayName||null,G!==null?G:i(w.type)||"Memo";case Z:G=w._payload,w=w._init;try{return i(w(G))}catch{}}return null}function a(w){return""+w}function c(w){try{a(w);var G=!1}catch{G=!0}if(G){G=console;var X=G.error,oe=typeof Symbol=="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return X.call(G,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",oe),a(w)}}function d(w){if(w===F)return"<>";if(typeof w=="object"&&w!==null&&w.$$typeof===Z)return"<...>";try{var G=i(w);return G?"<"+G+">":"<...>"}catch{return"<...>"}}function p(){var w=re.A;return w===null?null:w.getOwner()}function v(){return Error("react-stack-top-frame")}function N(w){if(xe.call(w,"key")){var G=Object.getOwnPropertyDescriptor(w,"key").get;if(G&&G.isReactWarning)return!1}return w.key!==void 0}function E(w,G){function X(){Ve||(Ve=!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)",G))}X.isReactWarning=!0,Object.defineProperty(w,"key",{get:X,configurable:!0})}function y(){var w=i(this.type);return z[w]||(z[w]=!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.")),w=this.props.ref,w!==void 0?w:null}function U(w,G,X,oe,Ee,Le,ge,Je){return X=Le.ref,w={$$typeof:V,type:w,key:G,props:Le,_owner:Ee},(X!==void 0?X:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:y}):Object.defineProperty(w,"ref",{enumerable:!1,value:null}),w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(w,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(w,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ge}),Object.defineProperty(w,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Je}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function A(w,G,X,oe,Ee,Le,ge,Je){var Te=G.children;if(Te!==void 0)if(oe)if(I(Te)){for(oe=0;oe<Te.length;oe++)f(Te[oe]);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 f(Te);if(xe.call(G,"key")){Te=i(w);var We=Object.keys(G).filter(function(rn){return rn!=="key"});oe=0<We.length?"{key: someKey, "+We.join(": ..., ")+": ...}":"{key: someKey}",me[Te+oe]||(We=0<We.length?"{"+We.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} />`,oe,Te,We,Te),me[Te+oe]=!0)}if(Te=null,X!==void 0&&(c(X),Te=""+X),N(G)&&(c(G.key),Te=""+G.key),"key"in G){X={};for(var pt in G)pt!=="key"&&(X[pt]=G[pt])}else X=G;return Te&&E(X,typeof w=="function"?w.displayName||w.name||"Unknown":w),U(w,Te,Le,Ee,p(),X,ge,Je)}function f(w){typeof w=="object"&&w!==null&&w.$$typeof===V&&w._store&&(w._store.validated=1)}var g=Pc(),V=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),F=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),ne=Symbol.for("react.consumer"),J=Symbol.for("react.context"),ie=Symbol.for("react.forward_ref"),te=Symbol.for("react.suspense"),ue=Symbol.for("react.suspense_list"),pe=Symbol.for("react.memo"),Z=Symbol.for("react.lazy"),K=Symbol.for("react.activity"),ve=Symbol.for("react.client.reference"),re=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,xe=Object.prototype.hasOwnProperty,I=Array.isArray,Ue=console.createTask?console.createTask:function(){return null};g={"react-stack-bottom-frame":function(w){return w()}};var Ve,z={},O=g["react-stack-bottom-frame"].bind(g,v)(),B=Ue(d(v)),me={};wc.Fragment=F,wc.jsx=function(w,G,X,oe,Ee){var Le=1e4>re.recentlyCreatedOwnerStacks++;return A(w,G,X,!1,oe,Ee,Le?Error("react-stack-top-frame"):O,Le?Ue(d(w)):B)},wc.jsxs=function(w,G,X,oe,Ee){var Le=1e4>re.recentlyCreatedOwnerStacks++;return A(w,G,X,!0,oe,Ee,Le?Error("react-stack-top-frame"):O,Le?Ue(d(w)):B)}}(),wc}var zN;function hD(){return zN||(zN=1,Ch.exports=pD()),Ch.exports}var Et=hD(),N1=Q.createContext(void 0),Oc=i=>{const a=Q.useContext(N1);if(!a)throw new Error("No QueryClient set, use QueryClientProvider to set one");return a},HN=({client:i,children:a})=>(Q.useEffect(()=>(i.mount(),()=>{i.unmount()}),[i]),Et.jsx(N1.Provider,{value:i,children:a})),w1=Q.createContext(!1),bD=()=>Q.useContext(w1);w1.Provider;function vD(){let i=!1;return{clearReset:()=>{i=!1},reset:()=>{i=!0},isReset:()=>i}}var xD=Q.createContext(vD()),gD=()=>Q.useContext(xD),yD=(i,a)=>{(i.suspense||i.throwOnError||i.experimental_prefetchInRender)&&(a.isReset()||(i.retryOnMount=!1))},ND=i=>{Q.useEffect(()=>{i.clearReset()},[i])},wD=({result:i,errorResetBoundary:a,throwOnError:c,query:d,suspense:p})=>i.isError&&!a.isReset()&&!i.isFetching&&d&&(p&&i.data===void 0||f1(c,[i.error,d])),SD=i=>{if(i.suspense){const a=d=>d==="static"?d:Math.max(d??1e3,1e3),c=i.staleTime;i.staleTime=typeof c=="function"?(...d)=>a(c(...d)):a(c),typeof i.gcTime=="number"&&(i.gcTime=Math.max(i.gcTime,1e3))}},jD=(i,a)=>i.isLoading&&i.isFetching&&!a,ED=(i,a)=>(i==null?void 0:i.suspense)&&a.isPending,_N=(i,a,c)=>a.fetchOptimistic(i).catch(()=>{c.clearReset()});function DD(i,a,c){var f,g,V,$,F;if(typeof i!="object"||Array.isArray(i))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=bD(),p=gD(),v=Oc(),N=v.defaultQueryOptions(i);(g=(f=v.getDefaultOptions().queries)==null?void 0:f._experimental_beforeQuery)==null||g.call(f,N),N.queryFn||console.error(`[${N.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`),N._optimisticResults=d?"isRestoring":"optimistic",SD(N),yD(N,p),ND(p);const E=!v.getQueryCache().get(N.queryHash),[y]=Q.useState(()=>new a(v,N)),U=y.getOptimisticResult(N),A=!d&&i.subscribed!==!1;if(Q.useSyncExternalStore(Q.useCallback(T=>{const Y=A?y.subscribe(qt.batchCalls(T)):vn;return y.updateResult(),Y},[y,A]),()=>y.getCurrentResult(),()=>y.getCurrentResult()),Q.useEffect(()=>{y.setOptions(N)},[N,y]),ED(N,U))throw _N(N,y,p);if(wD({result:U,errorResetBoundary:p,throwOnError:N.throwOnError,query:v.getQueryCache().get(N.queryHash),suspense:N.suspense}))throw U.error;if(($=(V=v.getDefaultOptions().queries)==null?void 0:V._experimental_afterQuery)==null||$.call(V,N,U),N.experimental_prefetchInRender&&!Da&&jD(U,d)){const T=E?_N(N,y,p):(F=v.getQueryCache().get(N.queryHash))==null?void 0:F.promise;T==null||T.catch(vn).finally(()=>{y.updateResult()})}return N.notifyOnChangeProps?U:y.trackResult(U)}function Cs(i,a){return DD(i,uD)}function Al(i,a){const c=Oc(),[d]=Q.useState(()=>new fD(c,i));Q.useEffect(()=>{d.setOptions(i)},[d,i]);const p=Q.useSyncExternalStore(Q.useCallback(N=>d.subscribe(qt.batchCalls(N)),[d]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),v=Q.useCallback((N,E)=>{d.mutate(N,E).catch(vn)},[d]);if(p.error&&f1(d.options.throwOnError,[p.error]))throw p.error;return{...p,mutate:v,mutateAsync:p.mutate}}function S1(i){var a,c,d="";if(typeof i=="string"||typeof i=="number")d+=i;else if(typeof i=="object")if(Array.isArray(i)){var p=i.length;for(a=0;a<p;a++)i[a]&&(c=S1(i[a]))&&(d&&(d+=" "),d+=c)}else for(c in i)i[c]&&(d&&(d+=" "),d+=c);return d}function j1(){for(var i,a,c=0,d="",p=arguments.length;c<p;c++)(i=arguments[c])&&(a=S1(i))&&(d&&(d+=" "),d+=a);return d}const nb="-",CD=i=>{const a=TD(i),{conflictingClassGroups:c,conflictingClassGroupModifiers:d}=i;return{getClassGroupId:N=>{const E=N.split(nb);return E[0]===""&&E.length!==1&&E.shift(),E1(E,a)||UD(N)},getConflictingClassGroupIds:(N,E)=>{const y=c[N]||[];return E&&d[N]?[...y,...d[N]]:y}}},E1=(i,a)=>{var N;if(i.length===0)return a.classGroupId;const c=i[0],d=a.nextPart.get(c),p=d?E1(i.slice(1),d):void 0;if(p)return p;if(a.validators.length===0)return;const v=i.join(nb);return(N=a.validators.find(({validator:E})=>E(v)))==null?void 0:N.classGroupId},BN=/^\[(.+)\]$/,UD=i=>{if(BN.test(i)){const a=BN.exec(i)[1],c=a==null?void 0:a.substring(0,a.indexOf(":"));if(c)return"arbitrary.."+c}},TD=i=>{const{theme:a,classGroups:c}=i,d={nextPart:new Map,validators:[]};for(const p in c)Gh(c[p],d,p,a);return d},Gh=(i,a,c,d)=>{i.forEach(p=>{if(typeof p=="string"){const v=p===""?a:LN(a,p);v.classGroupId=c;return}if(typeof p=="function"){if(RD(p)){Gh(p(d),a,c,d);return}a.validators.push({validator:p,classGroupId:c});return}Object.entries(p).forEach(([v,N])=>{Gh(N,LN(a,v),c,d)})})},LN=(i,a)=>{let c=i;return a.split(nb).forEach(d=>{c.nextPart.has(d)||c.nextPart.set(d,{nextPart:new Map,validators:[]}),c=c.nextPart.get(d)}),c},RD=i=>i.isThemeGetter,VD=i=>{if(i<1)return{get:()=>{},set:()=>{}};let a=0,c=new Map,d=new Map;const p=(v,N)=>{c.set(v,N),a++,a>i&&(a=0,d=c,c=new Map)};return{get(v){let N=c.get(v);if(N!==void 0)return N;if((N=d.get(v))!==void 0)return p(v,N),N},set(v,N){c.has(v)?c.set(v,N):p(v,N)}}},$h="!",Qh=":",AD=Qh.length,MD=i=>{const{prefix:a,experimentalParseClassName:c}=i;let d=p=>{const v=[];let N=0,E=0,y=0,U;for(let $=0;$<p.length;$++){let F=p[$];if(N===0&&E===0){if(F===Qh){v.push(p.slice(y,$)),y=$+AD;continue}if(F==="/"){U=$;continue}}F==="["?N++:F==="]"?N--:F==="("?E++:F===")"&&E--}const A=v.length===0?p:p.substring(y),f=PD(A),g=f!==A,V=U&&U>y?U-y:void 0;return{modifiers:v,hasImportantModifier:g,baseClassName:f,maybePostfixModifierPosition:V}};if(a){const p=a+Qh,v=d;d=N=>N.startsWith(p)?v(N.substring(p.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:N,maybePostfixModifierPosition:void 0}}if(c){const p=d;d=v=>c({className:v,parseClassName:p})}return d},PD=i=>i.endsWith($h)?i.substring(0,i.length-1):i.startsWith($h)?i.substring(1):i,OD=i=>{const a=Object.fromEntries(i.orderSensitiveModifiers.map(d=>[d,!0]));return d=>{if(d.length<=1)return d;const p=[];let v=[];return d.forEach(N=>{N[0]==="["||a[N]?(p.push(...v.sort(),N),v=[]):v.push(N)}),p.push(...v.sort()),p}},kD=i=>({cache:VD(i.cacheSize),parseClassName:MD(i),sortModifiers:OD(i),...CD(i)}),zD=/\s+/,HD=(i,a)=>{const{parseClassName:c,getClassGroupId:d,getConflictingClassGroupIds:p,sortModifiers:v}=a,N=[],E=i.trim().split(zD);let y="";for(let U=E.length-1;U>=0;U-=1){const A=E[U],{isExternal:f,modifiers:g,hasImportantModifier:V,baseClassName:$,maybePostfixModifierPosition:F}=c(A);if(f){y=A+(y.length>0?" "+y:y);continue}let T=!!F,Y=d(T?$.substring(0,F):$);if(!Y){if(!T){y=A+(y.length>0?" "+y:y);continue}if(Y=d($),!Y){y=A+(y.length>0?" "+y:y);continue}T=!1}const ne=v(g).join(":"),J=V?ne+$h:ne,ie=J+Y;if(N.includes(ie))continue;N.push(ie);const te=p(Y,T);for(let ue=0;ue<te.length;++ue){const pe=te[ue];N.push(J+pe)}y=A+(y.length>0?" "+y:y)}return y};function _D(){let i=0,a,c,d="";for(;i<arguments.length;)(a=arguments[i++])&&(c=D1(a))&&(d&&(d+=" "),d+=c);return d}const D1=i=>{if(typeof i=="string")return i;let a,c="";for(let d=0;d<i.length;d++)i[d]&&(a=D1(i[d]))&&(c&&(c+=" "),c+=a);return c};function BD(i,...a){let c,d,p,v=N;function N(y){const U=a.reduce((A,f)=>f(A),i());return c=kD(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 A=HD(y,c);return p(y,A),A}return function(){return v(_D.apply(null,arguments))}}const Lt=i=>{const a=c=>c[i]||[];return a.isThemeGetter=!0,a},C1=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,U1=/^\((?:(\w[\w-]*):)?(.+)\)$/i,LD=/^\d+\/\d+$/,qD=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,FD=/\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$/,YD=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,GD=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,$D=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Tl=i=>LD.test(i),Ge=i=>!!i&&!Number.isNaN(Number(i)),vo=i=>!!i&&Number.isInteger(Number(i)),Uh=i=>i.endsWith("%")&&Ge(i.slice(0,-1)),Er=i=>qD.test(i),QD=()=>!0,ID=i=>FD.test(i)&&!YD.test(i),T1=()=>!1,XD=i=>GD.test(i),ZD=i=>$D.test(i),KD=i=>!ye(i)&&!Ne(i),JD=i=>Il(i,A1,T1),ye=i=>C1.test(i),ha=i=>Il(i,M1,ID),Th=i=>Il(i,sC,Ge),qN=i=>Il(i,R1,T1),WD=i=>Il(i,V1,ZD),Md=i=>Il(i,P1,XD),Ne=i=>U1.test(i),Sc=i=>Xl(i,M1),eC=i=>Xl(i,rC),FN=i=>Xl(i,R1),tC=i=>Xl(i,A1),nC=i=>Xl(i,V1),Pd=i=>Xl(i,P1,!0),Il=(i,a,c)=>{const d=C1.exec(i);return d?d[1]?a(d[1]):c(d[2]):!1},Xl=(i,a,c=!1)=>{const d=U1.exec(i);return d?d[1]?a(d[1]):c:!1},R1=i=>i==="position"||i==="percentage",V1=i=>i==="image"||i==="url",A1=i=>i==="length"||i==="size"||i==="bg-size",M1=i=>i==="length",sC=i=>i==="number",rC=i=>i==="family-name",P1=i=>i==="shadow",oC=()=>{const i=Lt("color"),a=Lt("font"),c=Lt("text"),d=Lt("font-weight"),p=Lt("tracking"),v=Lt("leading"),N=Lt("breakpoint"),E=Lt("container"),y=Lt("spacing"),U=Lt("radius"),A=Lt("shadow"),f=Lt("inset-shadow"),g=Lt("text-shadow"),V=Lt("drop-shadow"),$=Lt("blur"),F=Lt("perspective"),T=Lt("aspect"),Y=Lt("ease"),ne=Lt("animate"),J=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ie=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],te=()=>[...ie(),Ne,ye],ue=()=>["auto","hidden","clip","visible","scroll"],pe=()=>["auto","contain","none"],Z=()=>[Ne,ye,y],K=()=>[Tl,"full","auto",...Z()],ve=()=>[vo,"none","subgrid",Ne,ye],re=()=>["auto",{span:["full",vo,Ne,ye]},vo,Ne,ye],xe=()=>[vo,"auto",Ne,ye],I=()=>["auto","min","max","fr",Ne,ye],Ue=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Ve=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...Z()],O=()=>[Tl,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...Z()],B=()=>[i,Ne,ye],me=()=>[...ie(),FN,qN,{position:[Ne,ye]}],w=()=>["no-repeat",{repeat:["","x","y","space","round"]}],G=()=>["auto","cover","contain",tC,JD,{size:[Ne,ye]}],X=()=>[Uh,Sc,ha],oe=()=>["","none","full",U,Ne,ye],Ee=()=>["",Ge,Sc,ha],Le=()=>["solid","dashed","dotted","double"],ge=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Je=()=>[Ge,Uh,FN,qN],Te=()=>["","none",$,Ne,ye],We=()=>["none",Ge,Ne,ye],pt=()=>["none",Ge,Ne,ye],rn=()=>[Ge,Ne,ye],An=()=>[Tl,"full",...Z()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Er],breakpoint:[Er],color:[QD],container:[Er],"drop-shadow":[Er],ease:["in","out","in-out"],font:[KD],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Er],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Er],shadow:[Er],spacing:["px",Ge],text:[Er],"text-shadow":[Er],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Tl,ye,Ne,T]}],container:["container"],columns:[{columns:[Ge,ye,Ne,E]}],"break-after":[{"break-after":J()}],"break-before":[{"break-before":J()}],"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:te()}],overflow:[{overflow:ue()}],"overflow-x":[{"overflow-x":ue()}],"overflow-y":[{"overflow-y":ue()}],overscroll:[{overscroll:pe()}],"overscroll-x":[{"overscroll-x":pe()}],"overscroll-y":[{"overscroll-y":pe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:K()}],"inset-x":[{"inset-x":K()}],"inset-y":[{"inset-y":K()}],start:[{start:K()}],end:[{end:K()}],top:[{top:K()}],right:[{right:K()}],bottom:[{bottom:K()}],left:[{left:K()}],visibility:["visible","invisible","collapse"],z:[{z:[vo,"auto",Ne,ye]}],basis:[{basis:[Tl,"full","auto",E,...Z()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ge,Tl,"auto","initial","none",ye]}],grow:[{grow:["",Ge,Ne,ye]}],shrink:[{shrink:["",Ge,Ne,ye]}],order:[{order:[vo,"first","last","none",Ne,ye]}],"grid-cols":[{"grid-cols":ve()}],"col-start-end":[{col:re()}],"col-start":[{"col-start":xe()}],"col-end":[{"col-end":xe()}],"grid-rows":[{"grid-rows":ve()}],"row-start-end":[{row:re()}],"row-start":[{"row-start":xe()}],"row-end":[{"row-end":xe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":I()}],"auto-rows":[{"auto-rows":I()}],gap:[{gap:Z()}],"gap-x":[{"gap-x":Z()}],"gap-y":[{"gap-y":Z()}],"justify-content":[{justify:[...Ue(),"normal"]}],"justify-items":[{"justify-items":[...Ve(),"normal"]}],"justify-self":[{"justify-self":["auto",...Ve()]}],"align-content":[{content:["normal",...Ue()]}],"align-items":[{items:[...Ve(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Ve(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ue()}],"place-items":[{"place-items":[...Ve(),"baseline"]}],"place-self":[{"place-self":["auto",...Ve()]}],p:[{p:Z()}],px:[{px:Z()}],py:[{py:Z()}],ps:[{ps:Z()}],pe:[{pe:Z()}],pt:[{pt:Z()}],pr:[{pr:Z()}],pb:[{pb:Z()}],pl:[{pl:Z()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":Z()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":Z()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],w:[{w:[E,"screen",...O()]}],"min-w":[{"min-w":[E,"screen","none",...O()]}],"max-w":[{"max-w":[E,"screen","none","prose",{screen:[N]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",c,Sc,ha]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[d,Ne,Th]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Uh,ye]}],"font-family":[{font:[eC,ye,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,Ne,ye]}],"line-clamp":[{"line-clamp":[Ge,"none",Ne,Th]}],leading:[{leading:[v,...Z()]}],"list-image":[{"list-image":["none",Ne,ye]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ne,ye]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B()}],"text-color":[{text:B()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Le(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ge,"from-font","auto",Ne,ha]}],"text-decoration-color":[{decoration:B()}],"underline-offset":[{"underline-offset":[Ge,"auto",Ne,ye]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ne,ye]}],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",Ne,ye]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:me()}],"bg-repeat":[{bg:w()}],"bg-size":[{bg:G()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},vo,Ne,ye],radial:["",Ne,ye],conic:[vo,Ne,ye]},nC,WD]}],"bg-color":[{bg:B()}],"gradient-from-pos":[{from:X()}],"gradient-via-pos":[{via:X()}],"gradient-to-pos":[{to:X()}],"gradient-from":[{from:B()}],"gradient-via":[{via:B()}],"gradient-to":[{to:B()}],rounded:[{rounded:oe()}],"rounded-s":[{"rounded-s":oe()}],"rounded-e":[{"rounded-e":oe()}],"rounded-t":[{"rounded-t":oe()}],"rounded-r":[{"rounded-r":oe()}],"rounded-b":[{"rounded-b":oe()}],"rounded-l":[{"rounded-l":oe()}],"rounded-ss":[{"rounded-ss":oe()}],"rounded-se":[{"rounded-se":oe()}],"rounded-ee":[{"rounded-ee":oe()}],"rounded-es":[{"rounded-es":oe()}],"rounded-tl":[{"rounded-tl":oe()}],"rounded-tr":[{"rounded-tr":oe()}],"rounded-br":[{"rounded-br":oe()}],"rounded-bl":[{"rounded-bl":oe()}],"border-w":[{border:Ee()}],"border-w-x":[{"border-x":Ee()}],"border-w-y":[{"border-y":Ee()}],"border-w-s":[{"border-s":Ee()}],"border-w-e":[{"border-e":Ee()}],"border-w-t":[{"border-t":Ee()}],"border-w-r":[{"border-r":Ee()}],"border-w-b":[{"border-b":Ee()}],"border-w-l":[{"border-l":Ee()}],"divide-x":[{"divide-x":Ee()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Ee()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Le(),"hidden","none"]}],"divide-style":[{divide:[...Le(),"hidden","none"]}],"border-color":[{border:B()}],"border-color-x":[{"border-x":B()}],"border-color-y":[{"border-y":B()}],"border-color-s":[{"border-s":B()}],"border-color-e":[{"border-e":B()}],"border-color-t":[{"border-t":B()}],"border-color-r":[{"border-r":B()}],"border-color-b":[{"border-b":B()}],"border-color-l":[{"border-l":B()}],"divide-color":[{divide:B()}],"outline-style":[{outline:[...Le(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ge,Ne,ye]}],"outline-w":[{outline:["",Ge,Sc,ha]}],"outline-color":[{outline:B()}],shadow:[{shadow:["","none",A,Pd,Md]}],"shadow-color":[{shadow:B()}],"inset-shadow":[{"inset-shadow":["none",f,Pd,Md]}],"inset-shadow-color":[{"inset-shadow":B()}],"ring-w":[{ring:Ee()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B()}],"ring-offset-w":[{"ring-offset":[Ge,ha]}],"ring-offset-color":[{"ring-offset":B()}],"inset-ring-w":[{"inset-ring":Ee()}],"inset-ring-color":[{"inset-ring":B()}],"text-shadow":[{"text-shadow":["none",g,Pd,Md]}],"text-shadow-color":[{"text-shadow":B()}],opacity:[{opacity:[Ge,Ne,ye]}],"mix-blend":[{"mix-blend":[...ge(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ge()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ge]}],"mask-image-linear-from-pos":[{"mask-linear-from":Je()}],"mask-image-linear-to-pos":[{"mask-linear-to":Je()}],"mask-image-linear-from-color":[{"mask-linear-from":B()}],"mask-image-linear-to-color":[{"mask-linear-to":B()}],"mask-image-t-from-pos":[{"mask-t-from":Je()}],"mask-image-t-to-pos":[{"mask-t-to":Je()}],"mask-image-t-from-color":[{"mask-t-from":B()}],"mask-image-t-to-color":[{"mask-t-to":B()}],"mask-image-r-from-pos":[{"mask-r-from":Je()}],"mask-image-r-to-pos":[{"mask-r-to":Je()}],"mask-image-r-from-color":[{"mask-r-from":B()}],"mask-image-r-to-color":[{"mask-r-to":B()}],"mask-image-b-from-pos":[{"mask-b-from":Je()}],"mask-image-b-to-pos":[{"mask-b-to":Je()}],"mask-image-b-from-color":[{"mask-b-from":B()}],"mask-image-b-to-color":[{"mask-b-to":B()}],"mask-image-l-from-pos":[{"mask-l-from":Je()}],"mask-image-l-to-pos":[{"mask-l-to":Je()}],"mask-image-l-from-color":[{"mask-l-from":B()}],"mask-image-l-to-color":[{"mask-l-to":B()}],"mask-image-x-from-pos":[{"mask-x-from":Je()}],"mask-image-x-to-pos":[{"mask-x-to":Je()}],"mask-image-x-from-color":[{"mask-x-from":B()}],"mask-image-x-to-color":[{"mask-x-to":B()}],"mask-image-y-from-pos":[{"mask-y-from":Je()}],"mask-image-y-to-pos":[{"mask-y-to":Je()}],"mask-image-y-from-color":[{"mask-y-from":B()}],"mask-image-y-to-color":[{"mask-y-to":B()}],"mask-image-radial":[{"mask-radial":[Ne,ye]}],"mask-image-radial-from-pos":[{"mask-radial-from":Je()}],"mask-image-radial-to-pos":[{"mask-radial-to":Je()}],"mask-image-radial-from-color":[{"mask-radial-from":B()}],"mask-image-radial-to-color":[{"mask-radial-to":B()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":ie()}],"mask-image-conic-pos":[{"mask-conic":[Ge]}],"mask-image-conic-from-pos":[{"mask-conic-from":Je()}],"mask-image-conic-to-pos":[{"mask-conic-to":Je()}],"mask-image-conic-from-color":[{"mask-conic-from":B()}],"mask-image-conic-to-color":[{"mask-conic-to":B()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:me()}],"mask-repeat":[{mask:w()}],"mask-size":[{mask:G()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ne,ye]}],filter:[{filter:["","none",Ne,ye]}],blur:[{blur:Te()}],brightness:[{brightness:[Ge,Ne,ye]}],contrast:[{contrast:[Ge,Ne,ye]}],"drop-shadow":[{"drop-shadow":["","none",V,Pd,Md]}],"drop-shadow-color":[{"drop-shadow":B()}],grayscale:[{grayscale:["",Ge,Ne,ye]}],"hue-rotate":[{"hue-rotate":[Ge,Ne,ye]}],invert:[{invert:["",Ge,Ne,ye]}],saturate:[{saturate:[Ge,Ne,ye]}],sepia:[{sepia:["",Ge,Ne,ye]}],"backdrop-filter":[{"backdrop-filter":["","none",Ne,ye]}],"backdrop-blur":[{"backdrop-blur":Te()}],"backdrop-brightness":[{"backdrop-brightness":[Ge,Ne,ye]}],"backdrop-contrast":[{"backdrop-contrast":[Ge,Ne,ye]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ge,Ne,ye]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ge,Ne,ye]}],"backdrop-invert":[{"backdrop-invert":["",Ge,Ne,ye]}],"backdrop-opacity":[{"backdrop-opacity":[Ge,Ne,ye]}],"backdrop-saturate":[{"backdrop-saturate":[Ge,Ne,ye]}],"backdrop-sepia":[{"backdrop-sepia":["",Ge,Ne,ye]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":Z()}],"border-spacing-x":[{"border-spacing-x":Z()}],"border-spacing-y":[{"border-spacing-y":Z()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ne,ye]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ge,"initial",Ne,ye]}],ease:[{ease:["linear","initial",Y,Ne,ye]}],delay:[{delay:[Ge,Ne,ye]}],animate:[{animate:["none",ne,Ne,ye]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[F,Ne,ye]}],"perspective-origin":[{"perspective-origin":te()}],rotate:[{rotate:We()}],"rotate-x":[{"rotate-x":We()}],"rotate-y":[{"rotate-y":We()}],"rotate-z":[{"rotate-z":We()}],scale:[{scale:pt()}],"scale-x":[{"scale-x":pt()}],"scale-y":[{"scale-y":pt()}],"scale-z":[{"scale-z":pt()}],"scale-3d":["scale-3d"],skew:[{skew:rn()}],"skew-x":[{"skew-x":rn()}],"skew-y":[{"skew-y":rn()}],transform:[{transform:[Ne,ye,"","none","gpu","cpu"]}],"transform-origin":[{origin:te()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:An()}],"translate-x":[{"translate-x":An()}],"translate-y":[{"translate-y":An()}],"translate-z":[{"translate-z":An()}],"translate-none":["translate-none"],accent:[{accent:B()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ne,ye]}],"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":Z()}],"scroll-mx":[{"scroll-mx":Z()}],"scroll-my":[{"scroll-my":Z()}],"scroll-ms":[{"scroll-ms":Z()}],"scroll-me":[{"scroll-me":Z()}],"scroll-mt":[{"scroll-mt":Z()}],"scroll-mr":[{"scroll-mr":Z()}],"scroll-mb":[{"scroll-mb":Z()}],"scroll-ml":[{"scroll-ml":Z()}],"scroll-p":[{"scroll-p":Z()}],"scroll-px":[{"scroll-px":Z()}],"scroll-py":[{"scroll-py":Z()}],"scroll-ps":[{"scroll-ps":Z()}],"scroll-pe":[{"scroll-pe":Z()}],"scroll-pt":[{"scroll-pt":Z()}],"scroll-pr":[{"scroll-pr":Z()}],"scroll-pb":[{"scroll-pb":Z()}],"scroll-pl":[{"scroll-pl":Z()}],"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",Ne,ye]}],fill:[{fill:["none",...B()]}],"stroke-w":[{stroke:[Ge,Sc,ha,Th]}],stroke:[{stroke:["none",...B()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},aC=BD(oC);function Vn(...i){return aC(j1(i))}function $e({className:i,...a}){return l.jsxDEV("div",{"data-slot":"card",className:Vn("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",i),...a},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/card.tsx",lineNumber:7,columnNumber:5},this)}function ct({className:i,...a}){return l.jsxDEV("div",{"data-slot":"card-header",className:Vn("@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",i),...a},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/card.tsx",lineNumber:20,columnNumber:5},this)}function ut({className:i,...a}){return l.jsxDEV("div",{"data-slot":"card-title",className:Vn("leading-none font-semibold",i),...a},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/card.tsx",lineNumber:33,columnNumber:5},this)}function Ke({className:i,...a}){return l.jsxDEV("div",{"data-slot":"card-content",className:Vn("px-6",i),...a},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/card.tsx",lineNumber:66,columnNumber:5},this)}function YN(i,a){if(typeof i=="function")return i(a);i!=null&&(i.current=a)}function O1(...i){return a=>{let c=!1;const d=i.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(i[p],null)}}}}function Yd(...i){return Q.useCallback(O1(...i),i)}function Gd(i){const a=lC(i),c=Q.forwardRef((d,p)=>{const{children:v,...N}=d,E=Q.Children.toArray(v),y=E.find(cC);if(y){const U=y.props.children,A=E.map(f=>f===y?Q.Children.count(U)>1?Q.Children.only(null):Q.isValidElement(U)?U.props.children:null:f);return Et.jsx(a,{...N,ref:p,children:Q.isValidElement(U)?Q.cloneElement(U,void 0,A):null})}return Et.jsx(a,{...N,ref:p,children:v})});return c.displayName=`${i}.Slot`,c}var k1=Gd("Slot");function lC(i){const a=Q.forwardRef((c,d)=>{const{children:p,...v}=c;if(Q.isValidElement(p)){const N=dC(p),E=uC(v,p.props);return p.type!==Q.Fragment&&(E.ref=d?O1(d,N):N),Q.cloneElement(p,E)}return Q.Children.count(p)>1?Q.Children.only(null):null});return a.displayName=`${i}.SlotClone`,a}var iC=Symbol("radix.slottable");function cC(i){return Q.isValidElement(i)&&typeof i.type=="function"&&"__radixId"in i.type&&i.type.__radixId===iC}function uC(i,a){const c={...a};for(const d in a){const p=i[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{...i,...c}}function dC(i){var d,p;let a=(d=Object.getOwnPropertyDescriptor(i.props,"ref"))==null?void 0:d.get,c=a&&"isReactWarning"in a&&a.isReactWarning;return c?i.ref:(a=(p=Object.getOwnPropertyDescriptor(i,"ref"))==null?void 0:p.get,c=a&&"isReactWarning"in a&&a.isReactWarning,c?i.props.ref:i.props.ref||i.ref)}const GN=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,$N=j1,sb=(i,a)=>c=>{var d;if((a==null?void 0:a.variants)==null)return $N(i,c==null?void 0:c.class,c==null?void 0:c.className);const{variants:p,defaultVariants:v}=a,N=Object.keys(p).map(U=>{const A=c==null?void 0:c[U],f=v==null?void 0:v[U];if(A===null)return null;const g=GN(A)||GN(f);return p[U][g]}),E=c&&Object.entries(c).reduce((U,A)=>{let[f,g]=A;return g===void 0||(U[f]=g),U},{}),y=a==null||(d=a.compoundVariants)===null||d===void 0?void 0:d.reduce((U,A)=>{let{class:f,className:g,...V}=A;return Object.entries(V).every($=>{let[F,T]=$;return Array.isArray(T)?T.includes({...v,...E}[F]):{...v,...E}[F]===T})?[...U,f,g]:U},[]);return $N(i,N,y,c==null?void 0:c.class,c==null?void 0:c.className)},mC=sb("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:i,variant:a,size:c,asChild:d=!1,...p}){const v=d?k1:"button";return l.jsxDEV(v,{"data-slot":"button",className:Vn(mC({variant:a,size:c,className:i})),...p},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/button.tsx",lineNumber:51,columnNumber:5},this)}const fC=sb("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 wt({className:i,variant:a,asChild:c=!1,...d}){const p=c?k1:"span";return l.jsxDEV(p,{"data-slot":"badge",className:Vn(fC({variant:a}),i),...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 pC=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),hC=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,c,d)=>d?d.toUpperCase():c.toLowerCase()),QN=i=>{const a=hC(i);return a.charAt(0).toUpperCase()+a.slice(1)},z1=(...i)=>i.filter((a,c,d)=>!!a&&a.trim()!==""&&d.indexOf(a)===c).join(" ").trim(),bC=i=>{for(const a in i)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 vC={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 xC=Q.forwardRef(({color:i="currentColor",size:a=24,strokeWidth:c=2,absoluteStrokeWidth:d,className:p="",children:v,iconNode:N,...E},y)=>Q.createElement("svg",{ref:y,...vC,width:a,height:a,stroke:i,strokeWidth:d?Number(c)*24/Number(a):c,className:z1("lucide",p),...!v&&!bC(E)&&{"aria-hidden":"true"},...E},[...N.map(([U,A])=>Q.createElement(U,A)),...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 st=(i,a)=>{const c=Q.forwardRef(({className:d,...p},v)=>Q.createElement(xC,{ref:v,iconNode:a,className:z1(`lucide-${pC(QN(i))}`,`lucide-${i}`,d),...p}));return c.displayName=QN(i),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 gC=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Od=st("arrow-right",gC);/**
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 yC=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],H1=st("chevron-down",yC);/**
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 NC=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],_1=st("chevron-right",NC);/**
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 wC=[["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"}]],Dc=st("circle-alert",wC);/**
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 SC=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Ds=st("circle-check-big",SC);/**
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 jC=[["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"}]],EC=st("circle-help",jC);/**
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 DC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],CC=st("circle",DC);/**
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 UC=[["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"}]],TC=st("command",UC);/**
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 RC=[["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"}]],$d=st("copy",RC);/**
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 VC=[["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"}]],rb=st("download",VC);/**
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 AC=[["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"}]],MC=st("external-link",AC);/**
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 PC=[["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"}]],Ml=st("eye-off",PC);/**
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 OC=[["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"}]],ba=st("eye",OC);/**
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 kC=[["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"}]],Id=st("file-text",kC);/**
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 zC=[["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"}]],Rl=st("file",zC);/**
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 HC=[["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"}]],B1=st("folder-open",HC);/**
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 _C=[["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"}]],BC=st("folder",_C);/**
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 LC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],L1=st("info",LC);/**
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 qC=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],_d=st("loader-circle",qC);/**
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 FC=[["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"}]],Ih=st("monitor",FC);/**
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 YC=[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]],q1=st("play",YC);/**
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 GC=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Bd=st("plus",GC);/**
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 $C=[["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"}]],F1=st("refresh-cw",$C);/**
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 QC=[["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"}]],IC=st("rotate-ccw",QC);/**
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 XC=[["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"}]],Y1=st("save",XC);/**
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 ZC=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],KC=st("search",ZC);/**
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 JC=[["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"}]],Ea=st("settings",JC);/**
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 WC=[["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"}]],Tr=st("sparkles",WC);/**
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:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],G1=st("terminal",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 tU=[["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"}]],Xh=st("trash-2",tU);/**
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 nU=[["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"}]],Tc=st("triangle-alert",nU);/**
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 sU=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],rU=st("upload",sU);/**
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 oU=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],$1=st("x",oU);/**
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 aU=[["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"}]],lU=st("zap",aU);var iU=u1();const cU=i1(iU);function uU(i){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=i:c.appendChild(document.createTextNode(i))}const dU=i=>{switch(i){case"success":return pU;case"info":return bU;case"warning":return hU;case"error":return vU;default:return null}},mU=Array(12).fill(0),fU=({visible:i,className:a})=>se.createElement("div",{className:["sonner-loading-wrapper",a].filter(Boolean).join(" "),"data-visible":i},se.createElement("div",{className:"sonner-spinner"},mU.map((c,d)=>se.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${d}`})))),pU=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"})),hU=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"})),bU=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"})),vU=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"})),xU=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"})),gU=()=>{const[i,a]=se.useState(document.hidden);return se.useEffect(()=>{const c=()=>{a(document.hidden)};return document.addEventListener("visibilitychange",c),()=>window.removeEventListener("visibilitychange",c)},[]),i};let Zh=1;class yU{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:Zh++,N=this.toasts.find(y=>y.id===v),E=a.dismissible===void 0?!0:a.dismissible;return this.dismissedToasts.has(v)&&this.dismissedToasts.delete(v),N?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,N;const E=p.then(async U=>{if(N=["resolve",U],se.isValidElement(U))v=!1,this.create({id:d,type:"default",message:U});else if(wU(U)&&!U.ok){v=!1;const f=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,$=typeof f=="object"&&!se.isValidElement(f)?f:{message:f};this.create({id:d,type:"error",description:g,...$})}else if(U instanceof Error){v=!1;const f=typeof c.error=="function"?await c.error(U):c.error,g=typeof c.description=="function"?await c.description(U):c.description,$=typeof f=="object"&&!se.isValidElement(f)?f:{message:f};this.create({id:d,type:"error",description:g,...$})}else if(c.success!==void 0){v=!1;const f=typeof c.success=="function"?await c.success(U):c.success,g=typeof c.description=="function"?await c.description(U):c.description,$=typeof f=="object"&&!se.isValidElement(f)?f:{message:f};this.create({id:d,type:"success",description:g,...$})}}).catch(async U=>{if(N=["reject",U],c.error!==void 0){v=!1;const A=typeof c.error=="function"?await c.error(U):c.error,f=typeof c.description=="function"?await c.description(U):c.description,V=typeof A=="object"&&!se.isValidElement(A)?A:{message:A};this.create({id:d,type:"error",description:f,...V})}}).finally(()=>{v&&(this.dismiss(d),d=void 0),c.finally==null||c.finally.call(c)}),y=()=>new Promise((U,A)=>E.then(()=>N[0]==="reject"?A(N[1]):U(N[1])).catch(A));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)||Zh++;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 Rn=new yU,NU=(i,a)=>{const c=(a==null?void 0:a.id)||Zh++;return Rn.addToast({title:i,...a,id:c}),c},wU=i=>i&&typeof i=="object"&&"ok"in i&&typeof i.ok=="boolean"&&"status"in i&&typeof i.status=="number",SU=NU,jU=()=>Rn.toasts,EU=()=>Rn.getActiveToasts(),Be=Object.assign(SU,{success:Rn.success,info:Rn.info,warning:Rn.warning,error:Rn.error,custom:Rn.custom,message:Rn.message,promise:Rn.promise,dismiss:Rn.dismiss,loading:Rn.loading},{getHistory:jU,getToasts:EU});uU("[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 kd(i){return i.label!==void 0}const DU=3,CU="24px",UU="16px",IN=4e3,TU=356,RU=14,VU=45,AU=200;function Is(...i){return i.filter(Boolean).join(" ")}function MU(i){const[a,c]=i.split("-"),d=[];return a&&d.push(a),c&&d.push(c),d}const PU=i=>{var a,c,d,p,v,N,E,y,U;const{invert:A,toast:f,unstyled:g,interacting:V,setHeights:$,visibleToasts:F,heights:T,index:Y,toasts:ne,expanded:J,removeToast:ie,defaultRichColors:te,closeButton:ue,style:pe,cancelButtonStyle:Z,actionButtonStyle:K,className:ve="",descriptionClassName:re="",duration:xe,position:I,gap:Ue,expandByDefault:Ve,classNames:z,icons:O,closeButtonAriaLabel:B="Close toast"}=i,[me,w]=se.useState(null),[G,X]=se.useState(null),[oe,Ee]=se.useState(!1),[Le,ge]=se.useState(!1),[Je,Te]=se.useState(!1),[We,pt]=se.useState(!1),[rn,An]=se.useState(!1),[Us,kr]=se.useState(0),[Ro,St]=se.useState(0),on=se.useRef(f.duration||xe||IN),ds=se.useRef(null),Mn=se.useRef(null),He=Y===0,Js=Y+1<=F,Pt=f.type,an=f.dismissible!==!1,Ua=f.className||"",Vo=f.descriptionClassName||"",Ws=se.useMemo(()=>T.findIndex(ce=>ce.toastId===f.id)||0,[T,f.id]),Ao=se.useMemo(()=>{var ce;return(ce=f.closeButton)!=null?ce:ue},[f.closeButton,ue]),zr=se.useMemo(()=>f.duration||xe||IN,[f.duration,xe]),er=se.useRef(0),Pn=se.useRef(0),Hr=se.useRef(0),On=se.useRef(null),[Ts,kn]=I.split("-"),xn=se.useMemo(()=>T.reduce((ce,Se,et)=>et>=Ws?ce:ce+Se.height,0),[T,Ws]),ms=gU(),h=f.invert||A,R=Pt==="loading";Pn.current=se.useMemo(()=>Ws*Ue+xn,[Ws,xn]),se.useEffect(()=>{on.current=zr},[zr]),se.useEffect(()=>{Ee(!0)},[]),se.useEffect(()=>{const ce=Mn.current;if(ce){const Se=ce.getBoundingClientRect().height;return St(Se),$(et=>[{toastId:f.id,height:Se,position:f.position},...et]),()=>$(et=>et.filter(jt=>jt.toastId!==f.id))}},[$,f.id]),se.useLayoutEffect(()=>{if(!oe)return;const ce=Mn.current,Se=ce.style.height;ce.style.height="auto";const et=ce.getBoundingClientRect().height;ce.style.height=Se,St(et),$(jt=>jt.find(Tt=>Tt.toastId===f.id)?jt.map(Tt=>Tt.toastId===f.id?{...Tt,height:et}:Tt):[{toastId:f.id,height:et,position:f.position},...jt])},[oe,f.title,f.description,$,f.id,f.jsx,f.action,f.cancel]);const W=se.useCallback(()=>{ge(!0),kr(Pn.current),$(ce=>ce.filter(Se=>Se.toastId!==f.id)),setTimeout(()=>{ie(f)},AU)},[f,ie,$,Pn]);se.useEffect(()=>{if(f.promise&&Pt==="loading"||f.duration===1/0||f.type==="loading")return;let ce;return J||V||ms?(()=>{if(Hr.current<er.current){const jt=new Date().getTime()-er.current;on.current=on.current-jt}Hr.current=new Date().getTime()})():(()=>{on.current!==1/0&&(er.current=new Date().getTime(),ce=setTimeout(()=>{f.onAutoClose==null||f.onAutoClose.call(f,f),W()},on.current))})(),()=>clearTimeout(ce)},[J,V,f,Pt,ms,W]),se.useEffect(()=>{f.delete&&(W(),f.onDismiss==null||f.onDismiss.call(f,f))},[W,f.delete]);function le(){var ce;if(O!=null&&O.loading){var Se;return se.createElement("div",{className:Is(z==null?void 0:z.loader,f==null||(Se=f.classNames)==null?void 0:Se.loader,"sonner-loader"),"data-visible":Pt==="loading"},O.loading)}return se.createElement(fU,{className:Is(z==null?void 0:z.loader,f==null||(ce=f.classNames)==null?void 0:ce.loader),visible:Pt==="loading"})}const we=f.icon||(O==null?void 0:O[Pt])||dU(Pt);var ke,Me;return se.createElement("li",{tabIndex:0,ref:Mn,className:Is(ve,Ua,z==null?void 0:z.toast,f==null||(a=f.classNames)==null?void 0:a.toast,z==null?void 0:z.default,z==null?void 0:z[Pt],f==null||(c=f.classNames)==null?void 0:c[Pt]),"data-sonner-toast":"","data-rich-colors":(ke=f.richColors)!=null?ke:te,"data-styled":!(f.jsx||f.unstyled||g),"data-mounted":oe,"data-promise":!!f.promise,"data-swiped":rn,"data-removed":Le,"data-visible":Js,"data-y-position":Ts,"data-x-position":kn,"data-index":Y,"data-front":He,"data-swiping":Je,"data-dismissible":an,"data-type":Pt,"data-invert":h,"data-swipe-out":We,"data-swipe-direction":G,"data-expanded":!!(J||Ve&&oe),style:{"--index":Y,"--toasts-before":Y,"--z-index":ne.length-Y,"--offset":`${Le?Us:Pn.current}px`,"--initial-height":Ve?"auto":`${Ro}px`,...pe,...f.style},onDragEnd:()=>{Te(!1),w(null),On.current=null},onPointerDown:ce=>{R||!an||(ds.current=new Date,kr(Pn.current),ce.target.setPointerCapture(ce.pointerId),ce.target.tagName!=="BUTTON"&&(Te(!0),On.current={x:ce.clientX,y:ce.clientY}))},onPointerUp:()=>{var ce,Se,et;if(We||!an)return;On.current=null;const jt=Number(((ce=Mn.current)==null?void 0:ce.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),_r=Number(((Se=Mn.current)==null?void 0:Se.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Tt=new Date().getTime()-((et=ds.current)==null?void 0:et.getTime()),gt=me==="x"?jt:_r,Br=Math.abs(gt)/Tt;if(Math.abs(gt)>=VU||Br>.11){kr(Pn.current),f.onDismiss==null||f.onDismiss.call(f,f),X(me==="x"?jt>0?"right":"left":_r>0?"down":"up"),W(),pt(!0);return}else{var gn,zn;(gn=Mn.current)==null||gn.style.setProperty("--swipe-amount-x","0px"),(zn=Mn.current)==null||zn.style.setProperty("--swipe-amount-y","0px")}An(!1),Te(!1),w(null)},onPointerMove:ce=>{var Se,et,jt;if(!On.current||!an||((Se=window.getSelection())==null?void 0:Se.toString().length)>0)return;const Tt=ce.clientY-On.current.y,gt=ce.clientX-On.current.x;var Br;const gn=(Br=i.swipeDirections)!=null?Br:MU(I);!me&&(Math.abs(gt)>1||Math.abs(Tt)>1)&&w(Math.abs(gt)>Math.abs(Tt)?"x":"y");let zn={x:0,y:0};const Kl=Rs=>1/(1.5+Math.abs(Rs)/20);if(me==="y"){if(gn.includes("top")||gn.includes("bottom"))if(gn.includes("top")&&Tt<0||gn.includes("bottom")&&Tt>0)zn.y=Tt;else{const Rs=Tt*Kl(Tt);zn.y=Math.abs(Rs)<Math.abs(Tt)?Rs:Tt}}else if(me==="x"&&(gn.includes("left")||gn.includes("right")))if(gn.includes("left")&&gt<0||gn.includes("right")&&gt>0)zn.x=gt;else{const Rs=gt*Kl(gt);zn.x=Math.abs(Rs)<Math.abs(gt)?Rs:gt}(Math.abs(zn.x)>0||Math.abs(zn.y)>0)&&An(!0),(et=Mn.current)==null||et.style.setProperty("--swipe-amount-x",`${zn.x}px`),(jt=Mn.current)==null||jt.style.setProperty("--swipe-amount-y",`${zn.y}px`)}},Ao&&!f.jsx&&Pt!=="loading"?se.createElement("button",{"aria-label":B,"data-disabled":R,"data-close-button":!0,onClick:R||!an?()=>{}:()=>{W(),f.onDismiss==null||f.onDismiss.call(f,f)},className:Is(z==null?void 0:z.closeButton,f==null||(d=f.classNames)==null?void 0:d.closeButton)},(Me=O==null?void 0:O.close)!=null?Me:xU):null,(Pt||f.icon||f.promise)&&f.icon!==null&&((O==null?void 0:O[Pt])!==null||f.icon)?se.createElement("div",{"data-icon":"",className:Is(z==null?void 0:z.icon,f==null||(p=f.classNames)==null?void 0:p.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||le():null,f.type!=="loading"?we:null):null,se.createElement("div",{"data-content":"",className:Is(z==null?void 0:z.content,f==null||(v=f.classNames)==null?void 0:v.content)},se.createElement("div",{"data-title":"",className:Is(z==null?void 0:z.title,f==null||(N=f.classNames)==null?void 0:N.title)},f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title),f.description?se.createElement("div",{"data-description":"",className:Is(re,Vo,z==null?void 0:z.description,f==null||(E=f.classNames)==null?void 0:E.description)},typeof f.description=="function"?f.description():f.description):null),se.isValidElement(f.cancel)?f.cancel:f.cancel&&kd(f.cancel)?se.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||Z,onClick:ce=>{kd(f.cancel)&&an&&(f.cancel.onClick==null||f.cancel.onClick.call(f.cancel,ce),W())},className:Is(z==null?void 0:z.cancelButton,f==null||(y=f.classNames)==null?void 0:y.cancelButton)},f.cancel.label):null,se.isValidElement(f.action)?f.action:f.action&&kd(f.action)?se.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||K,onClick:ce=>{kd(f.action)&&(f.action.onClick==null||f.action.onClick.call(f.action,ce),!ce.defaultPrevented&&W())},className:Is(z==null?void 0:z.actionButton,f==null||(U=f.classNames)==null?void 0:U.actionButton)},f.action.label):null)};function XN(){if(typeof window>"u"||typeof document>"u")return"ltr";const i=document.documentElement.getAttribute("dir");return i==="auto"||!i?window.getComputedStyle(document.documentElement).direction:i}function OU(i,a){const c={};return[i,a].forEach((d,p)=>{const v=p===1,N=v?"--mobile-offset":"--offset",E=v?UU:CU;function y(U){["top","right","bottom","left"].forEach(A=>{c[`${N}-${A}`]=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[`${N}-${U}`]=E:c[`${N}-${U}`]=typeof d[U]=="number"?`${d[U]}px`:d[U]}):y(E)}),c}const kU=se.forwardRef(function(a,c){const{invert:d,position:p="bottom-right",hotkey:v=["altKey","KeyT"],expand:N,closeButton:E,className:y,offset:U,mobileOffset:A,theme:f="light",richColors:g,duration:V,style:$,visibleToasts:F=DU,toastOptions:T,dir:Y=XN(),gap:ne=RU,icons:J,containerAriaLabel:ie="Notifications"}=a,[te,ue]=se.useState([]),pe=se.useMemo(()=>Array.from(new Set([p].concat(te.filter(G=>G.position).map(G=>G.position)))),[te,p]),[Z,K]=se.useState([]),[ve,re]=se.useState(!1),[xe,I]=se.useState(!1),[Ue,Ve]=se.useState(f!=="system"?f:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),z=se.useRef(null),O=v.join("+").replace(/Key/g,"").replace(/Digit/g,""),B=se.useRef(null),me=se.useRef(!1),w=se.useCallback(G=>{ue(X=>{var oe;return(oe=X.find(Ee=>Ee.id===G.id))!=null&&oe.delete||Rn.dismiss(G.id),X.filter(({id:Ee})=>Ee!==G.id)})},[]);return se.useEffect(()=>Rn.subscribe(G=>{if(G.dismiss){requestAnimationFrame(()=>{ue(X=>X.map(oe=>oe.id===G.id?{...oe,delete:!0}:oe))});return}setTimeout(()=>{cU.flushSync(()=>{ue(X=>{const oe=X.findIndex(Ee=>Ee.id===G.id);return oe!==-1?[...X.slice(0,oe),{...X[oe],...G},...X.slice(oe+1)]:[G,...X]})})})}),[te]),se.useEffect(()=>{if(f!=="system"){Ve(f);return}if(f==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?Ve("dark"):Ve("light")),typeof window>"u")return;const G=window.matchMedia("(prefers-color-scheme: dark)");try{G.addEventListener("change",({matches:X})=>{Ve(X?"dark":"light")})}catch{G.addListener(({matches:oe})=>{try{Ve(oe?"dark":"light")}catch(Ee){console.error(Ee)}})}},[f]),se.useEffect(()=>{te.length<=1&&re(!1)},[te]),se.useEffect(()=>{const G=X=>{var oe;if(v.every(ge=>X[ge]||X.code===ge)){var Le;re(!0),(Le=z.current)==null||Le.focus()}X.code==="Escape"&&(document.activeElement===z.current||(oe=z.current)!=null&&oe.contains(document.activeElement))&&re(!1)};return document.addEventListener("keydown",G),()=>document.removeEventListener("keydown",G)},[v]),se.useEffect(()=>{if(z.current)return()=>{B.current&&(B.current.focus({preventScroll:!0}),B.current=null,me.current=!1)}},[z.current]),se.createElement("section",{ref:c,"aria-label":`${ie} ${O}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},pe.map((G,X)=>{var oe;const[Ee,Le]=G.split("-");return te.length?se.createElement("ol",{key:G,dir:Y==="auto"?XN():Y,tabIndex:-1,ref:z,className:y,"data-sonner-toaster":!0,"data-sonner-theme":Ue,"data-y-position":Ee,"data-x-position":Le,style:{"--front-toast-height":`${((oe=Z[0])==null?void 0:oe.height)||0}px`,"--width":`${TU}px`,"--gap":`${ne}px`,...$,...OU(U,A)},onBlur:ge=>{me.current&&!ge.currentTarget.contains(ge.relatedTarget)&&(me.current=!1,B.current&&(B.current.focus({preventScroll:!0}),B.current=null))},onFocus:ge=>{ge.target instanceof HTMLElement&&ge.target.dataset.dismissible==="false"||me.current||(me.current=!0,B.current=ge.relatedTarget)},onMouseEnter:()=>re(!0),onMouseMove:()=>re(!0),onMouseLeave:()=>{xe||re(!1)},onDragEnd:()=>re(!1),onPointerDown:ge=>{ge.target instanceof HTMLElement&&ge.target.dataset.dismissible==="false"||I(!0)},onPointerUp:()=>I(!1)},te.filter(ge=>!ge.position&&X===0||ge.position===G).map((ge,Je)=>{var Te,We;return se.createElement(PU,{key:ge.id,icons:J,index:Je,toast:ge,defaultRichColors:g,duration:(Te=T==null?void 0:T.duration)!=null?Te:V,className:T==null?void 0:T.className,descriptionClassName:T==null?void 0:T.descriptionClassName,invert:d,visibleToasts:F,closeButton:(We=T==null?void 0:T.closeButton)!=null?We:E,interacting:xe,position:G,style:T==null?void 0:T.style,unstyled:T==null?void 0:T.unstyled,classNames:T==null?void 0:T.classNames,cancelButtonStyle:T==null?void 0:T.cancelButtonStyle,actionButtonStyle:T==null?void 0:T.actionButtonStyle,closeButtonAriaLabel:T==null?void 0:T.closeButtonAriaLabel,removeToast:w,toasts:te.filter(pt=>pt.position==ge.position),heights:Z.filter(pt=>pt.position==ge.position),setHeights:K,expandByDefault:N,gap:ne,expanded:ve,swipeDirections:a.swipeDirections})})):null}))}),zU=async()=>{const i=await fetch("http://localhost:3333/api/bundles");if(!i.ok)throw new Error("Failed to fetch bundles");return i.json()};function HU(){const{data:i,isLoading:a,refetch:c}=Cs({queryKey:["bundles"],queryFn:zU,refetchInterval:5e3}),[d,p]=Q.useState(new Set),[v,N]=Q.useState(new Set),[E,y]=Q.useState(new Set),[U,A]=Q.useState(new Set),f=T=>{const Y=new Set(d);Y.has(T)?Y.delete(T):Y.add(T),p(Y)},g=(T,Y)=>{N(ne=>{const J=new Set(ne);return Y==="loading"?J.add(T):J.delete(T),J}),y(ne=>{const J=new Set(ne);return Y==="success"?(J.add(T),setTimeout(()=>y(ie=>{const te=new Set(ie);return te.delete(T),te}),2e3)):J.delete(T),J}),A(ne=>{const J=new Set(ne);return Y==="error"?(J.add(T),setTimeout(()=>A(ie=>{const te=new Set(ie);return te.delete(T),te}),3e3)):J.delete(T),J})},V=async T=>{const Y=`copy-${T}`;g(Y,"loading");try{const ne=await fetch(`http://localhost:3333/api/bundles/${T}`);if(!ne.ok)throw new Error("Failed to fetch bundle content");const J=await ne.text();await navigator.clipboard.writeText(J),g(Y,"success"),Be.success(`Bundle "${T}" copied to clipboard!`)}catch(ne){g(Y,"error"),Be.error(`Failed to copy bundle: ${ne instanceof Error?ne.message:"Unknown error"}`)}},$=async T=>{const Y=`download-${T}`;g(Y,"loading");try{const ne=await fetch(`http://localhost:3333/api/bundles/${T}`);if(!ne.ok)throw new Error("Failed to fetch bundle content");const J=await ne.text(),ie=new Blob([J],{type:"application/xml"}),te=URL.createObjectURL(ie),ue=document.createElement("a");ue.href=te,ue.download=`${T}-bundle.xml`,ue.click(),URL.revokeObjectURL(te),g(Y,"success"),Be.success(`Bundle "${T}" downloaded!`)}catch(ne){g(Y,"error"),Be.error(`Failed to download bundle: ${ne instanceof Error?ne.message:"Unknown error"}`)}},F=async T=>{const Y=`regen-${T}`;g(Y,"loading");try{if(!(await fetch(`http://localhost:3333/api/regenerate/${T}`,{method:"POST"})).ok)throw new Error("Failed to regenerate bundle");await c(),g(Y,"success"),Be.success(`Bundle "${T}" regenerated successfully!`)}catch(ne){g(Y,"error"),Be.error(`Failed to regenerate bundle: ${ne instanceof Error?ne.message:"Unknown error"}`)}};return a?l.jsxDEV("div",{children:"Loading bundles..."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:152,columnNumber:25},this):i?l.jsxDEV("div",{className:"space-y-4",children:i.map(T=>{const Y=`copy-${T.name}`,ne=`download-${T.name}`,J=`regen-${T.name}`,ie=v.has(Y),te=v.has(ne),ue=v.has(J),pe=E.has(Y),Z=E.has(ne),K=E.has(J),ve=U.has(Y),re=U.has(ne),xe=U.has(J);return l.jsxDEV($e,{className:T.changed?"border-yellow-500":"",children:[l.jsxDEV(ct,{children:l.jsxDEV("div",{className:"flex justify-between items-center",children:[l.jsxDEV(ut,{className:"flex items-center gap-2",children:[T.name,l.jsxDEV(wt,{variant:T.changed?"destructive":"secondary",children:T.changed?"CHANGED":"SYNCED"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:177,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:175,columnNumber:17},this),l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>F(T.name),disabled:ue,className:`transition-all duration-200 ${K?"border-green-500 bg-green-50 text-green-700":xe?"border-red-500 bg-red-50 text-red-700":ue?"opacity-75":""}`,children:[ue?l.jsxDEV(_d,{className:"w-4 h-4 animate-spin mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:193,columnNumber:23},this):K?l.jsxDEV(Ds,{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:195,columnNumber:23},this):xe?l.jsxDEV(Dc,{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:197,columnNumber:23},this):l.jsxDEV(F1,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:199,columnNumber:23},this),"Regenerate"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:182,columnNumber:19},this),l.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>V(T.name),disabled:ie,className:`transition-all duration-200 ${pe?"border-green-500 bg-green-50 text-green-700":ve?"border-red-500 bg-red-50 text-red-700":ie?"opacity-75":""}`,children:[ie?l.jsxDEV(_d,{className:"w-4 h-4 animate-spin mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:214,columnNumber:23},this):pe?l.jsxDEV(Ds,{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:216,columnNumber:23},this):ve?l.jsxDEV(Dc,{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:218,columnNumber:23},this):l.jsxDEV($d,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:220,columnNumber:23},this),"Copy XML"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:203,columnNumber:19},this),l.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>$(T.name),disabled:te,className:`transition-all duration-200 ${Z?"border-green-500 bg-green-50 text-green-700":re?"border-red-500 bg-red-50 text-red-700":te?"opacity-75":""}`,children:[te?l.jsxDEV(_d,{className:"w-4 h-4 animate-spin mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:235,columnNumber:23},this):Z?l.jsxDEV(Ds,{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:237,columnNumber:23},this):re?l.jsxDEV(Dc,{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:239,columnNumber:23},this):l.jsxDEV(rb,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:241,columnNumber:23},this),"Download"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:224,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:181,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:174,columnNumber:15},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:173,columnNumber:13},this),l.jsxDEV(Ke,{children:[l.jsxDEV("div",{className:"text-sm text-muted-foreground mb-3",children:[T.fileCount," files • ",(T.size/1024).toFixed(1),"kb",T.lastGenerated&&` • Generated ${new Date(T.lastGenerated).toLocaleTimeString()}`]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:249,columnNumber:15},this),l.jsxDEV("div",{className:"space-y-2",children:[l.jsxDEV(De,{variant:"ghost",size:"sm",onClick:()=>f(T.name),className:"p-0 h-auto font-normal",children:[d.has(T.name)?l.jsxDEV(H1,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:264,columnNumber:21},this):l.jsxDEV(_1,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:266,columnNumber:21},this),"View Files (",T.files.length,")"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:257,columnNumber:17},this),d.has(T.name)&&l.jsxDEV("div",{className:"ml-5 space-y-1 max-h-40 overflow-y-auto",children:T.files.map(I=>l.jsxDEV("div",{className:"text-sm font-mono text-muted-foreground",children:I},I,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:274,columnNumber:23},this))},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:272,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:256,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:248,columnNumber:13},this)]},T.name,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:172,columnNumber:11},this)})},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:156,columnNumber:5},this):l.jsxDEV("div",{children:"No bundles found"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleList.tsx",lineNumber:153,columnNumber:24},this)}const _U=async()=>{const i=await fetch("http://localhost:3333/api/bundles");if(!i.ok)throw new Error("Failed to fetch bundles");return i.json()},ZN=i=>{const a={name:"",path:"",type:"directory",children:[]},c=new Set,d=new Map;i.forEach(v=>{v.files.forEach(N=>{c.add(N),d.has(N)||d.set(N,[]),d.get(N).push(v.name)})}),c.forEach(v=>{const N=v.split("/");let E=a;N.forEach((y,U)=>{const A=U===N.length-1,f=N.slice(0,U+1).join("/");E.children||(E.children=[]);let g=E.children.find(V=>V.name===y);g||(g={name:y,path:f,type:A?"file":"directory",children:A?void 0:[],bundles:A?d.get(v):void 0},E.children.push(g)),A||(E=g)})});const p=v=>{v.children&&(v.children.sort((N,E)=>N.type!==E.type?N.type==="directory"?-1:1:N.name.localeCompare(E.name)),v.children.forEach(p))};return p(a),a},BU=i=>{if(i===0)return"0 B";const a=1024,c=["B","KB","MB","GB"],d=Math.floor(Math.log(i)/Math.log(a));return parseFloat((i/Math.pow(a,d)).toFixed(1))+" "+c[d]};function Q1({node:i,level:a,expandedDirs:c,onToggleDir:d}){const p=c.has(i.path),v=a*16;if(i.type==="directory")return l.jsxDEV("div",{children:[l.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(i.path),children:[p?l.jsxDEV(H1,{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):l.jsxDEV(_1,{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?l.jsxDEV(B1,{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):l.jsxDEV(BC,{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),l.jsxDEV("span",{className:"text-sm font-medium",children:i.name},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:128,columnNumber:11},this),i.children&&l.jsxDEV("span",{className:"text-xs text-muted-foreground ml-auto",children:[i.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&&i.children&&l.jsxDEV("div",{children:i.children.map(E=>l.jsxDEV(Q1,{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 N=E=>{var A;const y=(A=E.split(".").pop())==null?void 0:A.toLowerCase(),U="w-4 h-4";switch(y){case"js":case"ts":case"jsx":case"tsx":return l.jsxDEV(Rl,{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 l.jsxDEV(Rl,{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 l.jsxDEV(Rl,{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 l.jsxDEV(Rl,{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 l.jsxDEV(Rl,{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 l.jsxDEV(Rl,{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 l.jsxDEV("div",{className:"flex items-center gap-2 py-1 px-2 hover:bg-muted/50 rounded",style:{paddingLeft:`${v+24}px`},children:[N(i.name),l.jsxDEV("span",{className:"text-sm font-mono",children:i.name},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:184,columnNumber:7},this),i.bundles&&i.bundles.length>0&&l.jsxDEV("div",{className:"flex gap-1 ml-2",children:i.bundles.map(E=>l.jsxDEV(wt,{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),i.size&&l.jsxDEV("span",{className:"text-xs text-muted-foreground ml-auto",children:BU(i.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 LU(){const[i,a]=Q.useState(new Set([""])),{data:c,isLoading:d}=Cs({queryKey:["bundles"],queryFn:_U,refetchInterval:5e3}),p=U=>{const A=new Set(i);A.has(U)?A.delete(U):A.add(U),a(A)},v=()=>{if(!c)return;const U=ZN(c),A=new Set,f=g=>{var V;g.type==="directory"&&(A.add(g.path),(V=g.children)==null||V.forEach(f))};f(U),a(A)},N=()=>{a(new Set([""]))};if(d)return l.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 l.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=ZN(c),y=c.reduce((U,A)=>U+A.files.length,0);return l.jsxDEV("div",{className:"space-y-4",children:[l.jsxDEV("div",{className:"flex items-center justify-between",children:[l.jsxDEV("div",{className:"flex gap-2",children:[l.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),l.jsxDEV(De,{variant:"outline",size:"sm",onClick:N,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),l.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),l.jsxDEV($e,{className:"p-4",children:l.jsxDEV("div",{className:"space-y-1 max-h-96 overflow-y-auto",children:E.children&&E.children.length>0?E.children.map(U=>l.jsxDEV(Q1,{node:U,level:0,expandedDirs:i,onToggleDir:p},U.path,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/FileTree.tsx",lineNumber:279,columnNumber:15},this)):l.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),l.jsxDEV($e,{className:"p-4",children:[l.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),l.jsxDEV("div",{className:"flex flex-wrap gap-2",children:c.map(U=>l.jsxDEV(wt,{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 Cc({className:i,type:a,...c}){return l.jsxDEV("input",{type:a,"data-slot":"input",className:Vn("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",i),...c},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/input.tsx",lineNumber:7,columnNumber:5},this)}function Kh({className:i,...a}){return l.jsxDEV("textarea",{"data-slot":"textarea",className:Vn("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",i),...a},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/textarea.tsx",lineNumber:7,columnNumber:5},this)}function I1(){const[i,a]=Q.useState({}),c=(E,y)=>{a(U=>({...U,[E]:y})),y==="success"?setTimeout(()=>{a(U=>({...U,[E]:"idle"}))},2e3):y==="error"&&setTimeout(()=>{a(U=>({...U,[E]:"idle"}))},3e3)},d=E=>i[E]||"idle";return{setButtonState:c,getButtonState:d,isLoading:E=>d(E)==="loading",isSuccess:E=>d(E)==="success",isError:E=>d(E)==="error"}}function Rr(i,a){switch(i){case"loading":return l.jsxDEV(_d,{className:"w-4 h-4 animate-spin"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/utils/buttonHelpers.tsx",lineNumber:8,columnNumber:14},this);case"success":return l.jsxDEV(Ds,{className:"w-4 h-4 text-green-600"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/utils/buttonHelpers.tsx",lineNumber:10,columnNumber:14},this);case"error":return l.jsxDEV(Dc,{className:"w-4 h-4 text-red-600"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/utils/buttonHelpers.tsx",lineNumber:12,columnNumber:14},this);default:return a}}function Vr(i,a=""){return`transition-all duration-200 ${a} ${{loading:"opacity-75",success:"border-green-500 bg-green-50 text-green-700",error:"border-red-500 bg-red-50 text-red-700",idle:""}[i]}`}const qU=async()=>{const i=await fetch("http://localhost:3333/api/config");if(!i.ok)throw new Error("Failed to fetch config");return i.json()},FU=async()=>{const i=await fetch("http://localhost:3333/api/bundles");if(!i.ok)throw new Error("Failed to fetch bundles");return i.json()},Vl=async i=>{if(!(await fetch("http://localhost:3333/api/config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)})).ok)throw new Error("Failed to save config")},YU=async i=>{const a=await fetch("http://localhost:3333/api/test-pattern",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({pattern:i})});if(!a.ok)throw new Error("Failed to test pattern");return a.json()};function GU(){const i=Oc(),[a,c]=Q.useState(null),[d,p]=Q.useState(""),[v,N]=Q.useState([]),[E,y]=Q.useState(""),[U,A]=Q.useState(!1),[f,g]=Q.useState(""),[V,$]=Q.useState("**/*"),{setButtonState:F,getButtonState:T,isLoading:Y}=I1(),{data:ne,isLoading:J}=Cs({queryKey:["config"],queryFn:qU}),{data:ie}=Cs({queryKey:["bundles"],queryFn:FU,refetchInterval:5e3}),te=Al({mutationFn:Vl,onSuccess:()=>{i.invalidateQueries({queryKey:["config"]}),i.invalidateQueries({queryKey:["bundles"]}),c(null),F("save","success"),Be.success("Configuration saved successfully!")},onError:O=>{F("save","error"),Be.error(`Failed to save config: ${O.message}`)}});Q.useEffect(()=>{ne&&!a&&c(ne)},[ne]);const ue=()=>{a&&(F("save","loading"),te.mutate(a))},pe=async()=>{if(d.trim()){F("test","loading");try{const O=await YU(d);N(O),F("test","success"),Be.success(`Pattern matched ${O.length} files`)}catch(O){console.error("Pattern test failed:",O),N([]),F("test","error"),Be.error("Failed to test pattern")}}},Z=async()=>{if(E.trim()){F("paste","loading");try{const O=JSON.parse(E);if(!O.bundles||typeof O.bundles!="object")throw new Error('Configuration must have a "bundles" object');O.bundles.master||(O.bundles.master=["**/*"]),c({bundles:Object.fromEntries(Object.entries(O.bundles).map(([me,w])=>[me,Array.isArray(w)?w:[w]]))});const B=Object.keys(O.bundles).length;y(""),F("paste","success"),Be.success(`Applied ${B} bundles successfully`)}catch(O){F("paste","error"),Be.error(`Invalid configuration: ${O instanceof Error?O.message:"Unknown error"}`)}}},K=async()=>{if(!a||!f.trim())return;const O=f.trim();if(a.bundles[O]){Be.error(`Bundle "${O}" already exists`);return}const B=V.split(`
475
+ `).map(w=>w.trim()).filter(w=>w.length>0);if(B.length===0){Be.error("At least one pattern is required");return}const me={...a,bundles:{...a.bundles,[O]:B}};try{F("create-bundle","loading"),await Vl(me),c(me),g(""),$("**/*"),A(!1),await i.invalidateQueries({queryKey:["config"]}),await i.invalidateQueries({queryKey:["bundles"]}),await i.invalidateQueries({queryKey:["bundle-visibility-stats"]}),i.refetchQueries({queryKey:["bundles"]}),F("create-bundle","success"),Be.success(`Bundle "${O}" created and saved!`)}catch(w){F("create-bundle","error"),Be.error(`Failed to create bundle: ${w instanceof Error?w.message:"Unknown error"}`)}},ve=async O=>{if(!(!a||O==="master")&&confirm(`Delete bundle "${O}"?`))try{F(`delete-${O}`,"loading");const{[O]:B,...me}=a.bundles,w={...a,bundles:me};await Vl(w),c(w),await new Promise(G=>setTimeout(G,500)),i.removeQueries({queryKey:["bundles"]}),i.removeQueries({queryKey:["config"]}),i.removeQueries({queryKey:["bundle-visibility-stats"]}),await i.refetchQueries({queryKey:["bundles"]}),await i.refetchQueries({queryKey:["config"]}),F(`delete-${O}`,"success"),Be.success(`Bundle "${O}" deleted successfully!`)}catch(B){F(`delete-${O}`,"error"),Be.error(`Failed to delete bundle: ${B instanceof Error?B.message:"Unknown error"}`)}},re=async(O,B,me)=>{if(!a)return;const w=[...a.bundles[O]];w[B]=me;const G={...a,bundles:{...a.bundles,[O]:w}};c(G),clearTimeout(window.patternChangeTimeout),window.patternChangeTimeout=setTimeout(async()=>{try{await Vl(G),i.invalidateQueries({queryKey:["config"]}),i.invalidateQueries({queryKey:["bundles"]})}catch(X){Be.error(`Failed to save pattern change: ${X instanceof Error?X.message:"Unknown error"}`)}},1e3)},xe=async O=>{if(!a)return;const B={...a,bundles:{...a.bundles,[O]:[...a.bundles[O],""]}};try{await Vl(B),c(B),i.invalidateQueries({queryKey:["config"]}),i.invalidateQueries({queryKey:["bundles"]}),Be.success("Pattern added")}catch(me){Be.error(`Failed to add pattern: ${me instanceof Error?me.message:"Unknown error"}`)}},I=async(O,B)=>{if(!a||a.bundles[O].length===1)return;const me=a.bundles[O].filter((G,X)=>X!==B),w={...a,bundles:{...a.bundles,[O]:me}};try{await Vl(w),c(w),i.invalidateQueries({queryKey:["config"]}),i.invalidateQueries({queryKey:["bundles"]}),Be.success("Pattern removed")}catch(G){Be.error(`Failed to remove pattern: ${G instanceof Error?G.message:"Unknown error"}`)}},Ue=O=>{const B=ie==null?void 0:ie.find(me=>me.name===O);return B?{files:B.files.length,size:B.size}:{files:0,size:0}},Ve=O=>{if(O===0)return"0 B";const B=1024,me=["B","KB","MB","GB"],w=Math.floor(Math.log(O)/Math.log(B));return parseFloat((O/Math.pow(B,w)).toFixed(1))+" "+me[w]};if(J)return l.jsxDEV("div",{children:"Loading configuration..."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:342,columnNumber:29},this);if(!a)return l.jsxDEV("div",{children:"No configuration found"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:343,columnNumber:30},this);const z=JSON.stringify(ne)!==JSON.stringify(a);return l.jsxDEV("div",{className:"space-y-6",children:[l.jsxDEV("div",{className:"flex justify-between items-center",children:[l.jsxDEV("div",{children:[l.jsxDEV("h2",{className:"text-lg font-semibold",children:"Bundle Configuration"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:352,columnNumber:11},this),l.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Define patterns for each bundle. Use glob patterns like *.js, src/**/*.tsx, etc."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:353,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:351,columnNumber:9},this),l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(De,{variant:"outline",onClick:()=>c(ne||null),disabled:!z,children:"Reset"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:358,columnNumber:11},this),l.jsxDEV(De,{onClick:ue,disabled:!z||Y("save"),className:Vr(T("save")),children:[Rr(T("save"),l.jsxDEV(Y1,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:370,columnNumber:52},this)),l.jsxDEV("span",{className:"ml-1",children:"Save Changes"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:371,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:365,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:357,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:350,columnNumber:7},this),l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{className:"flex items-center gap-2",children:[l.jsxDEV(Ea,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:380,columnNumber:13},this),"Paste Bundle Configuration"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:379,columnNumber:11},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:378,columnNumber:9},this),l.jsxDEV(Ke,{className:"space-y-4",children:[l.jsxDEV(Kh,{placeholder:"Paste bundle configuration JSON here...",value:E,onChange:O=>y(O.target.value),className:"min-h-32 font-mono text-sm"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:385,columnNumber:11},this),l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(De,{onClick:Z,disabled:!E.trim()||Y("paste"),className:Vr(T("paste")),children:[Rr(T("paste"),l.jsxDEV(Ea,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:397,columnNumber:55},this)),l.jsxDEV("span",{className:"ml-1",children:"Apply Configuration"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:398,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:392,columnNumber:13},this),l.jsxDEV(De,{variant:"outline",onClick:()=>y(""),disabled:!E.trim(),children:"Clear"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:400,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:391,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:384,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:377,columnNumber:7},this),l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{className:"flex items-center gap-2",children:[l.jsxDEV(ba,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:415,columnNumber:13},this),"Pattern Tester"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:414,columnNumber:11},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:413,columnNumber:9},this),l.jsxDEV(Ke,{className:"space-y-4",children:[l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(Cc,{placeholder:"Test a glob pattern (e.g., src/**/*.ts)",value:d,onChange:O=>p(O.target.value),onKeyDown:O=>O.key==="Enter"&&pe()},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:421,columnNumber:13},this),l.jsxDEV(De,{onClick:pe,disabled:!d.trim()||Y("test"),className:Vr(T("test")),children:[Rr(T("test"),l.jsxDEV(ba,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:432,columnNumber:54},this)),l.jsxDEV("span",{className:"ml-1",children:"Test"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:433,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:427,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:420,columnNumber:11},this),v.length>0&&l.jsxDEV("div",{className:"space-y-2",children:[l.jsxDEV("div",{className:"text-sm font-medium",children:["Matches ",v.length," files:"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:439,columnNumber:15},this),l.jsxDEV("div",{className:"max-h-40 overflow-y-auto bg-muted p-3 rounded-md",children:[v.slice(0,20).map((O,B)=>l.jsxDEV("div",{className:"text-sm font-mono",children:O},B,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:444,columnNumber:19},this)),v.length>20&&l.jsxDEV("div",{className:"text-sm text-muted-foreground",children:["... and ",v.length-20," more files"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:447,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:442,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:438,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:419,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:412,columnNumber:7},this),l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{className:"flex items-center gap-2",children:[l.jsxDEV(Ea,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:461,columnNumber:13},this),"Bundle Enhancement Options"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:460,columnNumber:11},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:459,columnNumber:9},this),l.jsxDEV(Ke,{className:"space-y-4",children:[l.jsxDEV("div",{className:"grid md:grid-cols-2 gap-6",children:[l.jsxDEV("div",{className:"space-y-3",children:[l.jsxDEV("h4",{className:"font-medium text-sm",children:"Structure & Context"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:469,columnNumber:15},this),l.jsxDEV("div",{className:"space-y-2",children:[l.jsxDEV("label",{className:"flex items-center gap-3",children:[l.jsxDEV("input",{type:"checkbox",className:"rounded"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:472,columnNumber:19},this),l.jsxDEV("div",{className:"flex-1",children:[l.jsxDEV("div",{className:"text-sm",children:"Directory Tree"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:474,columnNumber:21},this),l.jsxDEV("div",{className:"text-xs text-muted-foreground",children:"Include project structure overview"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:475,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:473,columnNumber:19},this),l.jsxDEV(wt,{variant:"outline",className:"text-xs",children:"+10%"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:477,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:471,columnNumber:17},this),l.jsxDEV("label",{className:"flex items-center gap-3",children:[l.jsxDEV("input",{type:"checkbox",className:"rounded"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:481,columnNumber:19},this),l.jsxDEV("div",{className:"flex-1",children:[l.jsxDEV("div",{className:"text-sm",children:"File Types"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:483,columnNumber:21},this),l.jsxDEV("div",{className:"text-xs text-muted-foreground",children:"Auto-detect file purposes"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:484,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:482,columnNumber:19},this),l.jsxDEV(wt,{variant:"outline",className:"text-xs",children:"+5%"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:486,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:480,columnNumber:17},this),l.jsxDEV("label",{className:"flex items-center gap-3",children:[l.jsxDEV("input",{type:"checkbox",className:"rounded"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:490,columnNumber:19},this),l.jsxDEV("div",{className:"flex-1",children:[l.jsxDEV("div",{className:"text-sm",children:"Dependencies"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:492,columnNumber:21},this),l.jsxDEV("div",{className:"text-xs text-muted-foreground",children:"Import/export mapping"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:493,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:491,columnNumber:19},this),l.jsxDEV(wt,{variant:"outline",className:"text-xs",children:"+25%"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:495,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:489,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:470,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:468,columnNumber:13},this),l.jsxDEV("div",{className:"space-y-3",children:[l.jsxDEV("h4",{className:"font-medium text-sm",children:"AI Instructions"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:502,columnNumber:15},this),l.jsxDEV("div",{className:"space-y-2",children:[l.jsxDEV("label",{className:"flex items-center gap-3",children:[l.jsxDEV("input",{type:"checkbox",defaultChecked:!0,className:"rounded"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:505,columnNumber:19},this),l.jsxDEV("div",{className:"flex-1",children:[l.jsxDEV("div",{className:"text-sm",children:"Bundle Purpose"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:507,columnNumber:21},this),l.jsxDEV("div",{className:"text-xs text-muted-foreground",children:"What this bundle is for"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:508,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:506,columnNumber:19},this),l.jsxDEV(wt,{variant:"outline",className:"text-xs",children:"+2%"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:510,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:504,columnNumber:17},this),l.jsxDEV("label",{className:"flex items-center gap-3",children:[l.jsxDEV("input",{type:"checkbox",defaultChecked:!0,className:"rounded"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:514,columnNumber:19},this),l.jsxDEV("div",{className:"flex-1",children:[l.jsxDEV("div",{className:"text-sm",children:"Cursor Rules"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:516,columnNumber:21},this),l.jsxDEV("div",{className:"text-xs text-muted-foreground",children:"Include .cursorrules content"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:517,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:515,columnNumber:19},this),l.jsxDEV(wt,{variant:"outline",className:"text-xs",children:"+15%"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:519,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:513,columnNumber:17},this),l.jsxDEV("label",{className:"flex items-center gap-3",children:[l.jsxDEV("input",{type:"checkbox",className:"rounded"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:523,columnNumber:19},this),l.jsxDEV("div",{className:"flex-1",children:[l.jsxDEV("div",{className:"text-sm",children:"Custom Instructions"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:525,columnNumber:21},this),l.jsxDEV("div",{className:"text-xs text-muted-foreground",children:"Bundle-specific AI guidance"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:526,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:524,columnNumber:19},this),l.jsxDEV(wt,{variant:"outline",className:"text-xs",children:"+5%"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:528,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:522,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:503,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:501,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:466,columnNumber:11},this),l.jsxDEV("div",{className:"bg-blue-50 p-3 rounded-md",children:l.jsxDEV("div",{className:"text-sm text-blue-800",children:[l.jsxDEV("strong",{children:"Coming Soon:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:536,columnNumber:15},this)," These enhancement options will add rich context to your bundles, making them more useful for AI agents. Enable features based on your needs vs. bundle size preferences."]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:535,columnNumber:13},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:534,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:465,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:458,columnNumber:7},this),l.jsxDEV("div",{className:"space-y-4",children:Object.entries(a.bundles).map(([O,B])=>{const me=Ue(O),w=me.size>10*1024*1024;return l.jsxDEV($e,{className:w?"border-yellow-500":"",children:[l.jsxDEV(ct,{children:l.jsxDEV("div",{className:"flex justify-between items-center",children:[l.jsxDEV("div",{className:"flex items-center gap-3",children:[l.jsxDEV(ut,{children:O},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:554,columnNumber:21},this),l.jsxDEV(wt,{variant:"outline",children:[me.files," files • ",Ve(me.size)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:555,columnNumber:21},this),w&&l.jsxDEV(wt,{variant:"destructive",className:"flex items-center gap-1",children:[l.jsxDEV(Tc,{className:"w-3 h-3"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:560,columnNumber:25},this),"Large"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:559,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:553,columnNumber:19},this),l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>xe(O),children:[l.jsxDEV(Bd,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:571,columnNumber:23},this),"Add Pattern"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:566,columnNumber:21},this),O!=="master"&&l.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>ve(O),disabled:Y(`delete-${O}`),className:Vr(T(`delete-${O}`)),children:Rr(T(`delete-${O}`),l.jsxDEV(Xh,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:582,columnNumber:80},this))},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:575,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:565,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:552,columnNumber:17},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:551,columnNumber:15},this),l.jsxDEV(Ke,{className:"space-y-3",children:B.map((G,X)=>l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(Cc,{value:G,onChange:oe=>re(O,X,oe.target.value),placeholder:"Glob pattern (e.g., src/**/*.ts)",className:"font-mono"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:591,columnNumber:21},this),B.length>1&&l.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>I(O,X),children:l.jsxDEV(Xh,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:603,columnNumber:25},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:598,columnNumber:23},this)]},X,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:590,columnNumber:19},this))},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:588,columnNumber:15},this)]},O,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:550,columnNumber:13},this)})},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:544,columnNumber:7},this),l.jsxDEV($e,{children:l.jsxDEV(Ke,{className:"pt-6",children:U?l.jsxDEV("div",{className:"space-y-4",children:[l.jsxDEV("div",{className:"flex justify-between items-center",children:[l.jsxDEV("h3",{className:"text-lg font-medium",children:"Create New Bundle"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:629,columnNumber:17},this),l.jsxDEV(De,{variant:"ghost",size:"sm",onClick:()=>{A(!1),g(""),$("**/*")},children:l.jsxDEV($1,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:639,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:630,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:628,columnNumber:15},this),l.jsxDEV("div",{className:"space-y-3",children:[l.jsxDEV("div",{children:[l.jsxDEV("label",{className:"text-sm font-medium",children:"Bundle Name"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:645,columnNumber:19},this),l.jsxDEV(Cc,{placeholder:"e.g., frontend, backend, tests",value:f,onChange:O=>g(O.target.value)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:646,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:644,columnNumber:17},this),l.jsxDEV("div",{children:[l.jsxDEV("label",{className:"text-sm font-medium",children:"Patterns (one per line)"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:654,columnNumber:19},this),l.jsxDEV(Kh,{placeholder:`src/components/**/*
476
+ src/pages/**/*
477
+ *.jsx`,value:V,onChange:O=>$(O.target.value),className:"font-mono text-sm",rows:4},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:655,columnNumber:19},this),l.jsxDEV("div",{className:"text-xs text-muted-foreground mt-1",children:["Examples: ",l.jsxDEV("code",{children:"src/**/*.ts"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:663,columnNumber:31},this),", ",l.jsxDEV("code",{children:"**/*.test.*"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:663,columnNumber:57},this),", ",l.jsxDEV("code",{children:"docs/**/*"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:663,columnNumber:83},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:662,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:653,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:643,columnNumber:15},this),l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(De,{onClick:K,disabled:!f.trim()||Y("create-bundle"),className:Vr(T("create-bundle")),children:[Rr(T("create-bundle"),l.jsxDEV(Bd,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:674,columnNumber:67},this)),l.jsxDEV("span",{className:"ml-1",children:"Create Bundle"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:675,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:669,columnNumber:17},this),l.jsxDEV(De,{variant:"outline",onClick:()=>{A(!1),g(""),$("**/*")},disabled:Y("create-bundle"),children:"Cancel"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:677,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:668,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:627,columnNumber:13},this):l.jsxDEV(De,{variant:"outline",onClick:()=>A(!0),className:"w-full",children:[l.jsxDEV(Bd,{className:"w-4 h-4 mr-2"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:623,columnNumber:15},this),"Add New Bundle"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:618,columnNumber:13},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:616,columnNumber:9},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:615,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/BundleConfig.tsx",lineNumber:348,columnNumber:5},this)}const $U=sb("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 Ar({className:i,variant:a,...c}){return l.jsxDEV("div",{"data-slot":"alert",role:"alert",className:Vn($U({variant:a}),i),...c},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/alert.tsx",lineNumber:28,columnNumber:5},this)}function Mr({className:i,...a}){return l.jsxDEV("div",{"data-slot":"alert-description",className:Vn("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",i),...a},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/alert.tsx",lineNumber:55,columnNumber:5},this)}function Pr(i,a,{checkForDefaultPrevented:c=!0}={}){return function(p){if(i==null||i(p),c===!1||!p.defaultPrevented)return a==null?void 0:a(p)}}function ob(i,a=[]){let c=[];function d(v,N){const E=Q.createContext(N),y=c.length;c=[...c,N];const U=f=>{var Y;const{scope:g,children:V,...$}=f,F=((Y=g==null?void 0:g[i])==null?void 0:Y[y])||E,T=Q.useMemo(()=>$,Object.values($));return Et.jsx(F.Provider,{value:T,children:V})};U.displayName=v+"Provider";function A(f,g){var F;const V=((F=g==null?void 0:g[i])==null?void 0:F[y])||E,$=Q.useContext(V);if($)return $;if(N!==void 0)return N;throw new Error(`\`${f}\` must be used within \`${v}\``)}return[U,A]}const p=()=>{const v=c.map(N=>Q.createContext(N));return function(E){const y=(E==null?void 0:E[i])||v;return Q.useMemo(()=>({[`__scope${i}`]:{...E,[i]:y}}),[E,y])}};return p.scopeName=i,[d,QU(p,...a)]}function QU(...i){const a=i[0];if(i.length===1)return a;const c=()=>{const d=i.map(p=>({useScope:p(),scopeName:p.scopeName}));return function(v){const N=d.reduce((E,{useScope:y,scopeName:U})=>{const f=y(v)[`__scope${U}`];return{...E,...f}},{});return Q.useMemo(()=>({[`__scope${a.scopeName}`]:N}),[N])}};return c.scopeName=a.scopeName,c}function IU(i){const a=i+"CollectionProvider",[c,d]=ob(a),[p,v]=c(a,{collectionRef:{current:null},itemMap:new Map}),N=F=>{const{scope:T,children:Y}=F,ne=se.useRef(null),J=se.useRef(new Map).current;return Et.jsx(p,{scope:T,itemMap:J,collectionRef:ne,children:Y})};N.displayName=a;const E=i+"CollectionSlot",y=Gd(E),U=se.forwardRef((F,T)=>{const{scope:Y,children:ne}=F,J=v(E,Y),ie=Yd(T,J.collectionRef);return Et.jsx(y,{ref:ie,children:ne})});U.displayName=E;const A=i+"CollectionItemSlot",f="data-radix-collection-item",g=Gd(A),V=se.forwardRef((F,T)=>{const{scope:Y,children:ne,...J}=F,ie=se.useRef(null),te=Yd(T,ie),ue=v(A,Y);return se.useEffect(()=>(ue.itemMap.set(ie,{ref:ie,...J}),()=>void ue.itemMap.delete(ie))),Et.jsx(g,{[f]:"",ref:te,children:ne})});V.displayName=A;function $(F){const T=v(i+"CollectionConsumer",F);return se.useCallback(()=>{const ne=T.collectionRef.current;if(!ne)return[];const J=Array.from(ne.querySelectorAll(`[${f}]`));return Array.from(T.itemMap.values()).sort((ue,pe)=>J.indexOf(ue.ref.current)-J.indexOf(pe.ref.current))},[T.collectionRef,T.itemMap])}return[{Provider:N,Slot:U,ItemSlot:V},$,d]}var Qd=globalThis!=null&&globalThis.document?Q.useLayoutEffect:()=>{},XU=c1[" useId ".trim().toString()]||(()=>{}),ZU=0;function X1(i){const[a,c]=Q.useState(XU());return Qd(()=>{c(d=>d??String(ZU++))},[i]),i||(a?`radix-${a}`:"")}var KU=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Zl=KU.reduce((i,a)=>{const c=Gd(`Primitive.${a}`),d=Q.forwardRef((p,v)=>{const{asChild:N,...E}=p,y=N?c:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),Et.jsx(y,{...E,ref:v})});return d.displayName=`Primitive.${a}`,{...i,[a]:d}},{});function JU(i){const a=Q.useRef(i);return Q.useEffect(()=>{a.current=i}),Q.useMemo(()=>(...c)=>{var d;return(d=a.current)==null?void 0:d.call(a,...c)},[])}var WU=c1[" useInsertionEffect ".trim().toString()]||Qd;function Z1({prop:i,defaultProp:a,onChange:c=()=>{},caller:d}){const[p,v,N]=eT({defaultProp:a,onChange:c}),E=i!==void 0,y=E?i:p;{const A=Q.useRef(i!==void 0);Q.useEffect(()=>{const f=A.current;f!==E&&console.warn(`${d} is changing from ${f?"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.`),A.current=E},[E,d])}const U=Q.useCallback(A=>{var f;if(E){const g=tT(A)?A(i):A;g!==i&&((f=N.current)==null||f.call(N,g))}else v(A)},[E,i,v,N]);return[y,U]}function eT({defaultProp:i,onChange:a}){const[c,d]=Q.useState(i),p=Q.useRef(c),v=Q.useRef(a);return WU(()=>{v.current=a},[a]),Q.useEffect(()=>{var N;p.current!==c&&((N=v.current)==null||N.call(v,c),p.current=c)},[c,p]),[c,d,v]}function tT(i){return typeof i=="function"}var nT=Q.createContext(void 0);function K1(i){const a=Q.useContext(nT);return i||a||"ltr"}var Rh="rovingFocusGroup.onEntryFocus",sT={bubbles:!1,cancelable:!0},kc="RovingFocusGroup",[Jh,J1,rT]=IU(kc),[oT,W1]=ob(kc,[rT]),[aT,lT]=oT(kc),ew=Q.forwardRef((i,a)=>Et.jsx(Jh.Provider,{scope:i.__scopeRovingFocusGroup,children:Et.jsx(Jh.Slot,{scope:i.__scopeRovingFocusGroup,children:Et.jsx(iT,{...i,ref:a})})}));ew.displayName=kc;var iT=Q.forwardRef((i,a)=>{const{__scopeRovingFocusGroup:c,orientation:d,loop:p=!1,dir:v,currentTabStopId:N,defaultCurrentTabStopId:E,onCurrentTabStopIdChange:y,onEntryFocus:U,preventScrollOnEntryFocus:A=!1,...f}=i,g=Q.useRef(null),V=Yd(a,g),$=K1(v),[F,T]=Z1({prop:N,defaultProp:E??null,onChange:y,caller:kc}),[Y,ne]=Q.useState(!1),J=JU(U),ie=J1(c),te=Q.useRef(!1),[ue,pe]=Q.useState(0);return Q.useEffect(()=>{const Z=g.current;if(Z)return Z.addEventListener(Rh,J),()=>Z.removeEventListener(Rh,J)},[J]),Et.jsx(aT,{scope:c,orientation:d,dir:$,loop:p,currentTabStopId:F,onItemFocus:Q.useCallback(Z=>T(Z),[T]),onItemShiftTab:Q.useCallback(()=>ne(!0),[]),onFocusableItemAdd:Q.useCallback(()=>pe(Z=>Z+1),[]),onFocusableItemRemove:Q.useCallback(()=>pe(Z=>Z-1),[]),children:Et.jsx(Zl.div,{tabIndex:Y||ue===0?-1:0,"data-orientation":d,...f,ref:V,style:{outline:"none",...i.style},onMouseDown:Pr(i.onMouseDown,()=>{te.current=!0}),onFocus:Pr(i.onFocus,Z=>{const K=!te.current;if(Z.target===Z.currentTarget&&K&&!Y){const ve=new CustomEvent(Rh,sT);if(Z.currentTarget.dispatchEvent(ve),!ve.defaultPrevented){const re=ie().filter(z=>z.focusable),xe=re.find(z=>z.active),I=re.find(z=>z.id===F),Ve=[xe,I,...re].filter(Boolean).map(z=>z.ref.current);sw(Ve,A)}}te.current=!1}),onBlur:Pr(i.onBlur,()=>ne(!1))})})}),tw="RovingFocusGroupItem",nw=Q.forwardRef((i,a)=>{const{__scopeRovingFocusGroup:c,focusable:d=!0,active:p=!1,tabStopId:v,children:N,...E}=i,y=X1(),U=v||y,A=lT(tw,c),f=A.currentTabStopId===U,g=J1(c),{onFocusableItemAdd:V,onFocusableItemRemove:$,currentTabStopId:F}=A;return Q.useEffect(()=>{if(d)return V(),()=>$()},[d,V,$]),Et.jsx(Jh.ItemSlot,{scope:c,id:U,focusable:d,active:p,children:Et.jsx(Zl.span,{tabIndex:f?0:-1,"data-orientation":A.orientation,...E,ref:a,onMouseDown:Pr(i.onMouseDown,T=>{d?A.onItemFocus(U):T.preventDefault()}),onFocus:Pr(i.onFocus,()=>A.onItemFocus(U)),onKeyDown:Pr(i.onKeyDown,T=>{if(T.key==="Tab"&&T.shiftKey){A.onItemShiftTab();return}if(T.target!==T.currentTarget)return;const Y=dT(T,A.orientation,A.dir);if(Y!==void 0){if(T.metaKey||T.ctrlKey||T.altKey||T.shiftKey)return;T.preventDefault();let J=g().filter(ie=>ie.focusable).map(ie=>ie.ref.current);if(Y==="last")J.reverse();else if(Y==="prev"||Y==="next"){Y==="prev"&&J.reverse();const ie=J.indexOf(T.currentTarget);J=A.loop?mT(J,ie+1):J.slice(ie+1)}setTimeout(()=>sw(J))}}),children:typeof N=="function"?N({isCurrentTabStop:f,hasTabStop:F!=null}):N})})});nw.displayName=tw;var cT={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function uT(i,a){return a!=="rtl"?i:i==="ArrowLeft"?"ArrowRight":i==="ArrowRight"?"ArrowLeft":i}function dT(i,a,c){const d=uT(i.key,c);if(!(a==="vertical"&&["ArrowLeft","ArrowRight"].includes(d))&&!(a==="horizontal"&&["ArrowUp","ArrowDown"].includes(d)))return cT[d]}function sw(i,a=!1){const c=document.activeElement;for(const d of i)if(d===c||(d.focus({preventScroll:a}),document.activeElement!==c))return}function mT(i,a){return i.map((c,d)=>i[(a+d)%i.length])}var fT=ew,pT=nw;function hT(i,a){return Q.useReducer((c,d)=>a[c][d]??c,i)}var rw=i=>{const{present:a,children:c}=i,d=bT(a),p=typeof c=="function"?c({present:d.isPresent}):Q.Children.only(c),v=Yd(d.ref,vT(p));return typeof c=="function"||d.isPresent?Q.cloneElement(p,{ref:v}):null};rw.displayName="Presence";function bT(i){const[a,c]=Q.useState(),d=Q.useRef(null),p=Q.useRef(i),v=Q.useRef("none"),N=i?"mounted":"unmounted",[E,y]=hT(N,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return Q.useEffect(()=>{const U=zd(d.current);v.current=E==="mounted"?U:"none"},[E]),Qd(()=>{const U=d.current,A=p.current;if(A!==i){const g=v.current,V=zd(U);i?y("MOUNT"):V==="none"||(U==null?void 0:U.display)==="none"?y("UNMOUNT"):y(A&&g!==V?"ANIMATION_OUT":"UNMOUNT"),p.current=i}},[i,y]),Qd(()=>{if(a){let U;const A=a.ownerDocument.defaultView??window,f=V=>{const F=zd(d.current).includes(V.animationName);if(V.target===a&&F&&(y("ANIMATION_END"),!p.current)){const T=a.style.animationFillMode;a.style.animationFillMode="forwards",U=A.setTimeout(()=>{a.style.animationFillMode==="forwards"&&(a.style.animationFillMode=T)})}},g=V=>{V.target===a&&(v.current=zd(d.current))};return a.addEventListener("animationstart",g),a.addEventListener("animationcancel",f),a.addEventListener("animationend",f),()=>{A.clearTimeout(U),a.removeEventListener("animationstart",g),a.removeEventListener("animationcancel",f),a.removeEventListener("animationend",f)}}else y("ANIMATION_END")},[a,y]),{isPresent:["mounted","unmountSuspended"].includes(E),ref:Q.useCallback(U=>{d.current=U?getComputedStyle(U):null,c(U)},[])}}function zd(i){return(i==null?void 0:i.animationName)||"none"}function vT(i){var d,p;let a=(d=Object.getOwnPropertyDescriptor(i.props,"ref"))==null?void 0:d.get,c=a&&"isReactWarning"in a&&a.isReactWarning;return c?i.ref:(a=(p=Object.getOwnPropertyDescriptor(i,"ref"))==null?void 0:p.get,c=a&&"isReactWarning"in a&&a.isReactWarning,c?i.props.ref:i.props.ref||i.ref)}var Xd="Tabs",[xT,GT]=ob(Xd,[W1]),ow=W1(),[gT,ab]=xT(Xd),aw=Q.forwardRef((i,a)=>{const{__scopeTabs:c,value:d,onValueChange:p,defaultValue:v,orientation:N="horizontal",dir:E,activationMode:y="automatic",...U}=i,A=K1(E),[f,g]=Z1({prop:d,onChange:p,defaultProp:v??"",caller:Xd});return Et.jsx(gT,{scope:c,baseId:X1(),value:f,onValueChange:g,orientation:N,dir:A,activationMode:y,children:Et.jsx(Zl.div,{dir:A,"data-orientation":N,...U,ref:a})})});aw.displayName=Xd;var lw="TabsList",iw=Q.forwardRef((i,a)=>{const{__scopeTabs:c,loop:d=!0,...p}=i,v=ab(lw,c),N=ow(c);return Et.jsx(fT,{asChild:!0,...N,orientation:v.orientation,dir:v.dir,loop:d,children:Et.jsx(Zl.div,{role:"tablist","aria-orientation":v.orientation,...p,ref:a})})});iw.displayName=lw;var cw="TabsTrigger",uw=Q.forwardRef((i,a)=>{const{__scopeTabs:c,value:d,disabled:p=!1,...v}=i,N=ab(cw,c),E=ow(c),y=fw(N.baseId,d),U=pw(N.baseId,d),A=d===N.value;return Et.jsx(pT,{asChild:!0,...E,focusable:!p,active:A,children:Et.jsx(Zl.button,{type:"button",role:"tab","aria-selected":A,"aria-controls":U,"data-state":A?"active":"inactive","data-disabled":p?"":void 0,disabled:p,id:y,...v,ref:a,onMouseDown:Pr(i.onMouseDown,f=>{!p&&f.button===0&&f.ctrlKey===!1?N.onValueChange(d):f.preventDefault()}),onKeyDown:Pr(i.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&N.onValueChange(d)}),onFocus:Pr(i.onFocus,()=>{const f=N.activationMode!=="manual";!A&&!p&&f&&N.onValueChange(d)})})})});uw.displayName=cw;var dw="TabsContent",mw=Q.forwardRef((i,a)=>{const{__scopeTabs:c,value:d,forceMount:p,children:v,...N}=i,E=ab(dw,c),y=fw(E.baseId,d),U=pw(E.baseId,d),A=d===E.value,f=Q.useRef(A);return Q.useEffect(()=>{const g=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(g)},[]),Et.jsx(rw,{present:p||A,children:({present:g})=>Et.jsx(Zl.div,{"data-state":A?"active":"inactive","data-orientation":E.orientation,role:"tabpanel","aria-labelledby":y,hidden:!g,id:U,tabIndex:0,...N,ref:a,style:{...i.style,animationDuration:f.current?"0s":void 0},children:g&&v})})});mw.displayName=dw;function fw(i,a){return`${i}-trigger-${a}`}function pw(i,a){return`${i}-content-${a}`}var yT=aw,NT=iw,wT=uw,ST=mw;function lb({className:i,...a}){return l.jsxDEV(yT,{"data-slot":"tabs",className:Vn("flex flex-col gap-2",i),...a},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/tabs.tsx",lineNumber:11,columnNumber:5},this)}function ib({className:i,...a}){return l.jsxDEV(NT,{"data-slot":"tabs-list",className:Vn("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",i),...a},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/tabs.tsx",lineNumber:24,columnNumber:5},this)}function js({className:i,...a}){return l.jsxDEV(wT,{"data-slot":"tabs-trigger",className:Vn("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",i),...a},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/tabs.tsx",lineNumber:40,columnNumber:5},this)}function Es({className:i,...a}){return l.jsxDEV(ST,{"data-slot":"tabs-content",className:Vn("flex-1 outline-none",i),...a},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/ui/tabs.tsx",lineNumber:56,columnNumber:5},this)}const jT=async()=>{const i=await fetch("http://localhost:3333/api/cursor-rules");if(!i.ok)throw new Error("Failed to fetch cursor rules");return i.text()},ET=async i=>{if(!(await fetch("http://localhost:3333/api/cursor-rules",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({content:i})})).ok)throw new Error("Failed to save cursor rules")},DT=async()=>{const i=await fetch("http://localhost:3333/api/cursor-rules/templates");if(!i.ok)throw new Error("Failed to fetch templates");return i.json()};function CT(){const i=Oc(),[a,c]=Q.useState(""),[d,p]=Q.useState(""),{setButtonState:v,getButtonState:N,isLoading:E}=I1(),{data:y,isLoading:U}=Cs({queryKey:["cursor-rules"],queryFn:jT}),{data:A}=Cs({queryKey:["cursor-templates"],queryFn:DT}),f=Al({mutationFn:ET,onSuccess:()=>{i.invalidateQueries({queryKey:["cursor-rules"]}),v("save","success"),Be.success("Cursor rules saved successfully!")},onError:te=>{v("save","error"),Be.error(`Failed to save cursor rules: ${te.message}`)}});Q.useEffect(()=>{y&&!a&&c(y)},[y]);const g=()=>{a&&(v("save","loading"),f.mutate(a))},V=()=>{c(y||""),Be.info("Reset to last saved version")},$=te=>{A&&A[te]&&(c(A[te]),p(te),Be.success(`Loaded ${te} template`))},F=async()=>{if(a){v("copy","loading");try{await navigator.clipboard.writeText(a),v("copy","success"),Be.success("Cursor rules copied to clipboard!")}catch{v("copy","error"),Be.error("Failed to copy to clipboard")}}},T=()=>{v("download","loading");try{const te=new Blob([a],{type:"text/plain"}),ue=URL.createObjectURL(te),pe=document.createElement("a");pe.href=ue,pe.download=".cursorrules",pe.click(),URL.revokeObjectURL(ue),v("download","success"),Be.success("Cursor rules downloaded!")}catch{v("download","error"),Be.error("Failed to download file")}},Y=te=>{var Z;const ue=(Z=te.target.files)==null?void 0:Z[0];if(!ue)return;v("upload","loading");const pe=new FileReader;pe.onload=K=>{var re;const ve=(re=K.target)==null?void 0:re.result;c(ve),v("upload","success"),Be.success("Cursor rules uploaded successfully!")},pe.onerror=()=>{v("upload","error"),Be.error("Failed to read file")},pe.readAsText(ue)};if(U)return l.jsxDEV("div",{children:"Loading cursor rules..."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:148,columnNumber:28},this);const ne=y!==a,J=a.split(/\s+/).filter(te=>te.length>0).length,ie=a.split(`
478
+ `).length;return l.jsxDEV("div",{className:"space-y-6",children:[l.jsxDEV("div",{className:"flex justify-between items-start",children:[l.jsxDEV("div",{children:[l.jsxDEV("h2",{className:"text-lg font-semibold flex items-center gap-2",children:[l.jsxDEV(Tr,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:160,columnNumber:13},this),"Cursor Rules Management"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:159,columnNumber:11},this),l.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Configure AI assistant behavior and project context for Cursor IDE"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:163,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:158,columnNumber:9},this),l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(De,{variant:"outline",onClick:V,disabled:!ne,children:[l.jsxDEV(F1,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:173,columnNumber:13},this),"Reset"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:168,columnNumber:11},this),l.jsxDEV(De,{onClick:g,disabled:!ne||E("save"),className:`bg-purple-600 hover:bg-purple-700 ${Vr(N("save"))}`,children:[Rr(N("save"),l.jsxDEV(Y1,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:181,columnNumber:52},this)),l.jsxDEV("span",{className:"ml-1",children:"Save Rules"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:182,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:176,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:167,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:157,columnNumber:7},this),l.jsxDEV($e,{children:l.jsxDEV(Ke,{className:"pt-6",children:l.jsxDEV("div",{className:"flex items-center justify-between",children:[l.jsxDEV("div",{className:"flex items-center gap-4",children:[l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.jsxDEV(Id,{className:"w-4 h-4 text-muted-foreground"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:193,columnNumber:17},this),l.jsxDEV("span",{className:"text-sm text-muted-foreground",children:[ie," lines • ",J," words"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:194,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:192,columnNumber:15},this),y&&l.jsxDEV("div",{className:"flex items-center gap-2",children:l.jsxDEV("span",{className:"text-sm text-green-700",children:".cursorrules file exists"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:200,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:199,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:191,columnNumber:13},this),l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(De,{variant:"outline",size:"sm",onClick:F,disabled:E("copy"),className:Vr(N("copy")),children:[Rr(N("copy"),l.jsxDEV($d,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:212,columnNumber:56},this)),l.jsxDEV("span",{className:"ml-1",children:"Copy"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:213,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:205,columnNumber:15},this),l.jsxDEV(De,{variant:"outline",size:"sm",onClick:T,disabled:E("download"),className:Vr(N("download")),children:[Rr(N("download"),l.jsxDEV(rb,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:222,columnNumber:60},this)),l.jsxDEV("span",{className:"ml-1",children:"Download"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:223,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:215,columnNumber:15},this),l.jsxDEV("label",{className:"cursor-pointer",children:[l.jsxDEV(De,{variant:"outline",size:"sm",asChild:!0,className:Vr(N("upload")),children:l.jsxDEV("span",{children:[Rr(N("upload"),l.jsxDEV(rU,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:233,columnNumber:62},this)),l.jsxDEV("span",{className:"ml-1",children:"Upload"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:234,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:232,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:226,columnNumber:17},this),l.jsxDEV("input",{type:"file",accept:".cursorrules,.txt,.md",onChange:Y,className:"hidden"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:237,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:225,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:204,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:190,columnNumber:11},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:189,columnNumber:9},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:188,columnNumber:7},this),l.jsxDEV(lb,{defaultValue:"editor",className:"space-y-6",children:[l.jsxDEV(ib,{children:[l.jsxDEV(js,{value:"editor",children:"Rules Editor"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:251,columnNumber:11},this),l.jsxDEV(js,{value:"templates",children:"Templates"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:252,columnNumber:11},this),l.jsxDEV(js,{value:"help",children:"Help & Examples"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:253,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:250,columnNumber:9},this),l.jsxDEV(Es,{value:"editor",children:l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{children:"Edit Cursor Rules"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:259,columnNumber:15},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:258,columnNumber:13},this),l.jsxDEV(Ke,{className:"space-y-4",children:[ne&&l.jsxDEV(Ar,{className:"border-yellow-200 bg-yellow-50",children:[l.jsxDEV(L1,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:264,columnNumber:19},this),l.jsxDEV(Mr,{children:'You have unsaved changes. Click "Save Rules" to apply them to your .cursorrules file.'},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:265,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:263,columnNumber:17},this),l.jsxDEV(Kh,{value:a,onChange:te=>c(te.target.value),placeholder:"Enter your cursor rules here...",className:"min-h-96 font-mono text-sm"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:271,columnNumber:15},this),d&&l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.jsxDEV("span",{className:"text-sm text-muted-foreground",children:["Template: ",d]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:280,columnNumber:19},this),l.jsxDEV(De,{variant:"ghost",size:"sm",onClick:()=>p(""),children:"Clear"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:283,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:279,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:261,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:257,columnNumber:11},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:256,columnNumber:9},this),l.jsxDEV(Es,{value:"templates",children:l.jsxDEV("div",{className:"space-y-4",children:l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{children:"Project Templates"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:300,columnNumber:17},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:299,columnNumber:15},this),l.jsxDEV(Ke,{children:[l.jsxDEV("p",{className:"text-sm text-muted-foreground mb-4",children:"Choose a template that matches your project type. You can customize it after loading."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:303,columnNumber:17},this),l.jsxDEV("div",{className:"grid gap-3",children:[l.jsxDEV(De,{variant:"outline",onClick:()=>$("react"),className:"justify-start h-auto p-4",children:l.jsxDEV("div",{className:"text-left",children:[l.jsxDEV("div",{className:"font-medium",children:"React Application"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:313,columnNumber:23},this),l.jsxDEV("div",{className:"text-sm text-muted-foreground",children:"Modern React with TypeScript, hooks, and Tailwind CSS"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:314,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:312,columnNumber:21},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:307,columnNumber:19},this),l.jsxDEV(De,{variant:"outline",onClick:()=>$("node"),className:"justify-start h-auto p-4",children:l.jsxDEV("div",{className:"text-left",children:[l.jsxDEV("div",{className:"font-medium",children:"Node.js Backend"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:326,columnNumber:23},this),l.jsxDEV("div",{className:"text-sm text-muted-foreground",children:"Express/Fastify backend with ES modules and TypeScript"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:327,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:325,columnNumber:21},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:320,columnNumber:19},this),l.jsxDEV(De,{variant:"outline",onClick:()=>$("general"),className:"justify-start h-auto p-4",children:l.jsxDEV("div",{className:"text-left",children:[l.jsxDEV("div",{className:"font-medium",children:"General Project"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:339,columnNumber:23},this),l.jsxDEV("div",{className:"text-sm text-muted-foreground",children:"Basic template for any type of project"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:340,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:338,columnNumber:21},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:333,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:306,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:302,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:298,columnNumber:13},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:297,columnNumber:11},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:296,columnNumber:9},this),l.jsxDEV(Es,{value:"help",children:l.jsxDEV("div",{className:"space-y-4",children:[l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{children:"What are Cursor Rules?"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:355,columnNumber:17},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:354,columnNumber:15},this),l.jsxDEV(Ke,{className:"space-y-4",children:[l.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Cursor rules (.cursorrules) provide context and guidelines to AI assistants like Cursor IDE's AI. They help the AI understand your project structure, coding preferences, and best practices."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:358,columnNumber:17},this),l.jsxDEV("div",{className:"space-y-3",children:[l.jsxDEV("div",{children:[l.jsxDEV("h4",{className:"font-medium mb-2",children:"Best Practices"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:365,columnNumber:21},this),l.jsxDEV("ul",{className:"text-sm text-muted-foreground space-y-1 list-disc list-inside",children:[l.jsxDEV("li",{children:"Include project context and technology stack"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:367,columnNumber:23},this),l.jsxDEV("li",{children:"Specify coding standards and naming conventions"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:368,columnNumber:23},this),l.jsxDEV("li",{children:"Document file organization patterns"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:369,columnNumber:23},this),l.jsxDEV("li",{children:"Mention important dependencies and frameworks"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:370,columnNumber:23},this),l.jsxDEV("li",{children:"Include team preferences and architectural decisions"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:371,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:366,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:364,columnNumber:19},this),l.jsxDEV("div",{children:[l.jsxDEV("h4",{className:"font-medium mb-2",children:"Example Sections"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:376,columnNumber:21},this),l.jsxDEV("div",{className:"bg-gray-50 p-3 rounded text-xs font-mono",children:["# Project Context",l.jsxDEV("br",{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:378,columnNumber:40},this),"# Development Guidelines",l.jsxDEV("br",{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:379,columnNumber:47},this),"# Code Style",l.jsxDEV("br",{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:380,columnNumber:35},this),"# File Organization",l.jsxDEV("br",{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:381,columnNumber:42},this),"# Bundle Context",l.jsxDEV("br",{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:382,columnNumber:39},this),"# AI Assistant Instructions"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:377,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:375,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:363,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:357,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:353,columnNumber:13},this),l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{children:"Integration with cntx-ui"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:392,columnNumber:17},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:391,columnNumber:15},this),l.jsxDEV(Ke,{children:[l.jsxDEV("p",{className:"text-sm text-muted-foreground mb-3",children:"Your cursor rules automatically include information about your cntx-ui bundle configuration, helping AI assistants understand your project structure and file organization."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:395,columnNumber:17},this),l.jsxDEV(Ar,{children:[l.jsxDEV(Tr,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:401,columnNumber:19},this),l.jsxDEV(Mr,{children:"When you change your bundle configuration, consider updating your cursor rules to reflect the new project structure and help AI assistants provide better suggestions."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:402,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:400,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:394,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:390,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:352,columnNumber:11},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:351,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:249,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/CursorRulesManager.tsx",lineNumber:155,columnNumber:5},this)}const UT=async(i=null)=>{const a=i?`http://localhost:3333/api/files-with-visibility?bundle=${i}`:"http://localhost:3333/api/files-with-visibility",c=await fetch(a);if(!c.ok)throw new Error("Failed to fetch files");return c.json()},TT=async()=>{const i=await fetch("http://localhost:3333/api/ignore-patterns");if(!i.ok)throw new Error("Failed to fetch ignore patterns");return i.json()},RT=async()=>{const i=await fetch("http://localhost:3333/api/bundle-visibility-stats");if(!i.ok)throw new Error("Failed to fetch bundle stats");return i.json()},VT=async({filePath:i,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:i,bundleName:a,forceHide:c})});if(!d.ok)throw new Error("Failed to toggle file visibility");return d.json()},AT=async({filePaths:i,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:i,bundleName:a,forceHide:c})});if(!d.ok)throw new Error("Failed to bulk toggle visibility");return d.json()},MT=async({action:i,pattern:a})=>{const c=await fetch("http://localhost:3333/api/ignore-patterns",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:i,pattern:a})});if(!c.ok)throw new Error("Failed to manage ignore pattern");return c.json()},PT=async({scope:i,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:i,bundleName:a})});if(!c.ok)throw new Error("Failed to reset hidden files");return c.json()};function OT(){const i=Oc(),[a,c]=Q.useState(null),[d,p]=Q.useState(""),[v,N]=Q.useState(!1),[E,y]=Q.useState("all"),[U,A]=Q.useState(""),[f,g]=Q.useState([]),{data:V=[],isLoading:$}=Cs({queryKey:["files-with-visibility",a],queryFn:()=>UT(a),refetchInterval:5e3}),{data:F={system:[],user:[],file:[]},isLoading:T}=Cs({queryKey:["ignore-patterns"],queryFn:TT,refetchInterval:1e4}),{data:Y={},isLoading:ne}=Cs({queryKey:["bundle-visibility-stats"],queryFn:RT,refetchInterval:5e3}),J=Al({mutationFn:VT,onSuccess:()=>{i.invalidateQueries({queryKey:["files-with-visibility"]}),i.invalidateQueries({queryKey:["bundle-visibility-stats"]}),i.invalidateQueries({queryKey:["bundles"]}),Be.success("File visibility updated")},onError:I=>Be.error(`Failed to update file visibility: ${I.message}`)}),ie=Al({mutationFn:AT,onSuccess:()=>{i.invalidateQueries({queryKey:["files-with-visibility"]}),i.invalidateQueries({queryKey:["bundle-visibility-stats"]}),i.invalidateQueries({queryKey:["bundles"]}),g([]),Be.success("Bulk visibility update completed")},onError:I=>Be.error(`Failed to bulk update visibility: ${I.message}`)}),te=Al({mutationFn:MT,onSuccess:()=>{i.invalidateQueries({queryKey:["ignore-patterns"]}),i.invalidateQueries({queryKey:["files-with-visibility"]}),i.invalidateQueries({queryKey:["bundles"]}),Be.success("Ignore pattern updated")},onError:I=>Be.error(`Failed to update ignore pattern: ${I.message}`)}),ue=Al({mutationFn:PT,onSuccess:()=>{i.invalidateQueries({queryKey:["files-with-visibility"]}),i.invalidateQueries({queryKey:["bundle-visibility-stats"]}),i.invalidateQueries({queryKey:["bundles"]}),Be.success("Hidden files reset successfully")},onError:I=>Be.error(`Failed to reset hidden files: ${I.message}`)}),pe=V.filter(I=>{const Ue=I.path.toLowerCase().includes(d.toLowerCase()),Ve=E==="all"||E==="hidden"&&!I.visible||E==="visible"&&I.visible,z=v||I.visible;return Ue&&Ve&&z}),Z=I=>{J.mutate({filePath:I,bundleName:a})},K=I=>{ie.mutate({filePaths:f,bundleName:a,forceHide:I})},ve=()=>{U.trim()&&(te.mutate({action:"add",pattern:U.trim()}),A(""))},re=(I,Ue=!1)=>{const Ve=Ue?"toggle-system":"remove";te.mutate({action:Ve,pattern:I})},xe=[...(F.system||[]).map(I=>({...I,source:"system"})),...(F.user||[]).map(I=>({...I,source:"user"})),...(F.file||[]).map(I=>({...I,source:"file"}))];return l.jsxDEV("div",{className:"space-y-6",children:[l.jsxDEV("div",{className:"flex justify-between items-center",children:[l.jsxDEV("div",{children:[l.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),l.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),l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.jsxDEV(wt,{variant:"outline",className:"flex items-center gap-1",children:[l.jsxDEV(ba,{className:"w-3 h-3"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:266,columnNumber:13},this),pe.filter(I=>I.visible).length," visible"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:265,columnNumber:11},this),l.jsxDEV(wt,{variant:"outline",className:"flex items-center gap-1",children:[l.jsxDEV(Ml,{className:"w-3 h-3"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:270,columnNumber:13},this),pe.filter(I=>!I.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),l.jsxDEV(lb,{defaultValue:"files",className:"space-y-6",children:[l.jsxDEV(ib,{children:[l.jsxDEV(js,{value:"files",children:"File Visibility"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:278,columnNumber:11},this),l.jsxDEV(js,{value:"patterns",children:"Ignore Patterns"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:279,columnNumber:11},this),l.jsxDEV(js,{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),l.jsxDEV(Es,{value:"files",className:"space-y-4",children:[l.jsxDEV($e,{children:l.jsxDEV(Ke,{className:"pt-6",children:[l.jsxDEV("div",{className:"flex items-center gap-4 mb-4",children:[l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.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),l.jsxDEV("select",{value:a||"",onChange:I=>c(I.target.value||null),className:"px-3 py-2 border rounded-md text-sm",children:[l.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(Y).map(I=>l.jsxDEV("option",{value:I,children:I},I,!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&&l.jsxDEV(wt,{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),l.jsxDEV("div",{className:"flex items-center gap-4",children:[l.jsxDEV("div",{className:"flex-1",children:l.jsxDEV("div",{className:"relative",children:[l.jsxDEV(KC,{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),l.jsxDEV(Cc,{placeholder:"Search files...",value:d,onChange:I=>p(I.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),l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>N(!v),className:v?"bg-blue-50 border-blue-200":"",children:[v?l.jsxDEV(ba,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:330,columnNumber:35},this):l.jsxDEV(Ml,{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),l.jsxDEV("select",{value:E,onChange:I=>y(I.target.value),className:"px-3 py-2 border rounded-md text-sm",children:[l.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),l.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),l.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),f.length>0&&l.jsxDEV("div",{className:"flex items-center gap-2 p-3 bg-blue-50 rounded-md border border-blue-200 mt-4",children:[l.jsxDEV(L1,{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),l.jsxDEV("span",{className:"text-sm text-blue-800",children:[f.length," files selected"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:350,columnNumber:19},this),l.jsxDEV("div",{className:"flex gap-2 ml-auto",children:[l.jsxDEV(De,{size:"sm",onClick:()=>K(!1),children:[l.jsxDEV(ba,{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),l.jsxDEV(De,{size:"sm",variant:"outline",onClick:()=>K(!0),children:[l.jsxDEV(Ml,{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),l.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),l.jsxDEV($e,{children:l.jsxDEV(Ke,{className:"pt-6",children:[$?l.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):l.jsxDEV("div",{className:"space-y-2 max-h-96 overflow-y-auto",children:pe.map(I=>l.jsxDEV("div",{className:`flex items-center gap-3 p-2 rounded-md border transition-colors ${I.visible?"hover:bg-gray-50":"opacity-60 bg-gray-50"}`,children:[l.jsxDEV("input",{type:"checkbox",checked:f.includes(I.path),onChange:Ue=>{Ue.target.checked?g([...f,I.path]):g(f.filter(Ve=>Ve!==I.path))},className:"rounded"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:388,columnNumber:23},this),l.jsxDEV(Id,{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),l.jsxDEV("div",{className:"flex-1 min-w-0",children:[l.jsxDEV("div",{className:"font-mono text-sm truncate",children:I.path},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:404,columnNumber:25},this),l.jsxDEV("div",{className:"flex items-center gap-2 mt-1",children:[I.inBundles.map(Ue=>l.jsxDEV(wt,{variant:"outline",className:"text-xs",children:Ue},Ue,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:407,columnNumber:29},this)),I.globallyHidden&&l.jsxDEV(wt,{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),I.bundleHidden&&a&&l.jsxDEV(wt,{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),I.matchesIgnorePattern&&l.jsxDEV(wt,{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),l.jsxDEV("div",{className:"text-xs text-muted-foreground",children:[(I.size/1024).toFixed(1),"kb"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:429,columnNumber:23},this),l.jsxDEV(De,{size:"sm",variant:"ghost",onClick:()=>Z(I.path),disabled:J.isPending,className:"flex-shrink-0",children:I.visible?l.jsxDEV(l.Fragment,{children:[l.jsxDEV(Ml,{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):l.jsxDEV(l.Fragment,{children:[l.jsxDEV(ba,{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)]},I.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),pe.length===0&&!$&&l.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),l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{className:"flex items-center gap-2",children:[l.jsxDEV(IC,{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),l.jsxDEV(Ke,{className:"space-y-3",children:l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>ue.mutate({scope:"global"}),disabled:ue.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&&l.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>ue.mutate({scope:"bundle",bundleName:a}),disabled:ue.isPending,children:["Reset ",a," Bundle"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:485,columnNumber:19},this),l.jsxDEV(De,{variant:"outline",size:"sm",onClick:()=>ue.mutate({scope:"all"}),disabled:ue.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),l.jsxDEV(Es,{value:"patterns",className:"space-y-4",children:[l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{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),l.jsxDEV(Ke,{className:"space-y-4",children:[l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(Cc,{placeholder:"Enter glob pattern (e.g., *.log, src/debug/**)",value:U,onChange:I=>A(I.target.value),className:"flex-1",onKeyDown:I=>I.key==="Enter"&&ve()},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:518,columnNumber:17},this),l.jsxDEV(De,{onClick:ve,disabled:!U.trim()||te.isPending,children:[l.jsxDEV(Bd,{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),l.jsxDEV("div",{className:"text-sm text-muted-foreground",children:["Examples: ",l.jsxDEV("code",{children:"*.log"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:535,columnNumber:27},this),", ",l.jsxDEV("code",{children:"node_modules/**"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:535,columnNumber:47},this),", ",l.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),", ",l.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),l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{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),l.jsxDEV(Ke,{children:T?l.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):l.jsxDEV("div",{className:"space-y-3",children:xe.map((I,Ue)=>l.jsxDEV("div",{className:`flex items-center gap-3 p-3 rounded-md border ${I.active?"":"opacity-60 bg-gray-50"}`,children:[l.jsxDEV("div",{className:"flex-1",children:[l.jsxDEV("div",{className:"font-mono text-sm",children:I.pattern},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:557,columnNumber:25},this),l.jsxDEV("div",{className:"flex items-center gap-2 mt-1",children:[l.jsxDEV(wt,{variant:I.source==="system"?"secondary":I.source==="user"?"default":"outline",className:"text-xs",children:I.source==="system"?"System Default":I.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),I.active?l.jsxDEV(wt,{variant:"outline",className:"text-xs text-green-700",children:[l.jsxDEV(Ds,{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):l.jsxDEV(wt,{variant:"outline",className:"text-xs text-gray-500",children:[l.jsxDEV(Dc,{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),l.jsxDEV("div",{className:"flex gap-2",children:I.source==="system"?l.jsxDEV(De,{size:"sm",variant:"ghost",onClick:()=>re(I.pattern,!0),disabled:te.isPending,children:I.active?"Disable":"Enable"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:583,columnNumber:27},this):l.jsxDEV(De,{size:"sm",variant:"ghost",onClick:()=>re(I.pattern,!1),disabled:te.isPending,children:l.jsxDEV(Xh,{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)]},Ue,!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),l.jsxDEV(Es,{value:"bundles",className:"space-y-4",children:ne?l.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):l.jsxDEV("div",{className:"grid gap-4",children:Object.entries(Y).map(([I,Ue])=>l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV("div",{className:"flex justify-between items-center",children:[l.jsxDEV(ut,{children:I},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:620,columnNumber:23},this),l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.jsxDEV(wt,{variant:"outline",children:[Ue.visible," / ",Ue.total," visible"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/HiddenFilesManager.tsx",lineNumber:622,columnNumber:25},this),Ue.hidden>0&&l.jsxDEV(wt,{variant:"secondary",children:[Ue.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),l.jsxDEV(Ke,{children:l.jsxDEV("div",{className:"space-y-3",children:[l.jsxDEV("div",{className:"flex items-center gap-4",children:[l.jsxDEV("div",{className:"flex-1 bg-gray-200 rounded-full h-2",children:l.jsxDEV("div",{className:"bg-blue-600 h-2 rounded-full",style:{width:`${Ue.total>0?Ue.visible/Ue.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),l.jsxDEV(De,{size:"sm",variant:"outline",onClick:()=>c(I),children:[l.jsxDEV(Ea,{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),l.jsxDEV("div",{className:"text-sm text-muted-foreground",children:l.jsxDEV("div",{children:["Patterns: ",Ue.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)]},I,!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 hw=async()=>{try{const[i,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=i.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 kT({onStartSetup:i}){const{data:a,isLoading:c}=Cs({queryKey:["setup-status"],queryFn:hw,refetchInterval:5e3});return c||!(a!=null&&a.isFirstTime)?null:l.jsxDEV(Ar,{className:"mb-6 border-blue-200 bg-blue-50",children:[l.jsxDEV(Ea,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:64,columnNumber:7},this),l.jsxDEV(Mr,{className:"flex items-center justify-between",children:[l.jsxDEV("div",{children:[l.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),l.jsxDEV(De,{onClick:i,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 zT({onOpenFullSetup:i}){const{data:a,isLoading:c}=Cs({queryKey:["setup-status"],queryFn:hw,refetchInterval:1e4});if(c)return l.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 l.jsxDEV($e,{className:p?"":"border-yellow-200",children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{className:"flex items-center gap-2",children:[l.jsxDEV(Ea,{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?l.jsxDEV(Ds,{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):l.jsxDEV(Tc,{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),l.jsxDEV(Ke,{children:[l.jsxDEV("div",{className:"space-y-3",children:d.map((v,N)=>l.jsxDEV("div",{className:"flex items-start gap-3",children:[l.jsxDEV("div",{className:"flex-shrink-0 mt-0.5",children:v.passed?l.jsxDEV(Ds,{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):l.jsxDEV(Tc,{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),l.jsxDEV("div",{className:"flex-1",children:[l.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),l.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)]},N,!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&&l.jsxDEV("div",{className:"mt-4 pt-4 border-t",children:l.jsxDEV(De,{onClick:i,variant:"outline",className:"w-full",children:[l.jsxDEV(q1,{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 HT(){return l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{className:"flex items-center gap-2",children:[l.jsxDEV(Ih,{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),l.jsxDEV(Ke,{className:"space-y-4",children:[l.jsxDEV(Ar,{className:"border-blue-200 bg-blue-50",children:[l.jsxDEV(G1,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:177,columnNumber:11},this),l.jsxDEV(Mr,{children:[l.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),l.jsxDEV("div",{className:"space-y-4",children:[l.jsxDEV("div",{children:[l.jsxDEV("h4",{className:"font-medium mb-2 flex items-center gap-2",children:[l.jsxDEV(Ih,{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),l.jsxDEV("div",{className:"text-sm text-gray-600 space-y-2",children:[l.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),l.jsxDEV("div",{className:"ml-4 space-y-1",children:[l.jsxDEV("div",{children:["• ",l.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),l.jsxDEV("div",{children:["• ",l.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),l.jsxDEV("div",{children:["• ",l.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),l.jsxDEV("div",{children:["• ",l.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),l.jsxDEV("div",{children:["• ",l.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),l.jsxDEV("div",{children:[l.jsxDEV("h4",{className:"font-medium mb-2 flex items-center gap-2",children:[l.jsxDEV(TC,{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),l.jsxDEV("div",{className:"text-sm text-gray-600 space-y-2",children:[l.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),l.jsxDEV("div",{className:"ml-4 space-y-1",children:[l.jsxDEV("div",{children:["• ",l.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)," ",l.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),l.jsxDEV("div",{children:["• ",l.jsxDEV("strong",{children:"Status checking:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupComponents.tsx",lineNumber:211,columnNumber:24},this)," ",l.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),l.jsxDEV("div",{children:["• ",l.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 _T(){return l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{className:"flex items-center gap-2",children:[l.jsxDEV(G1,{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),l.jsxDEV(Ke,{children:l.jsxDEV("div",{className:"space-y-3 text-sm font-mono",children:[l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.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),l.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),l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.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),l.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),l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.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),l.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 BT(){return l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{className:"flex items-center gap-2",children:[l.jsxDEV(Id,{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),l.jsxDEV(Ke,{className:"space-y-4",children:[l.jsxDEV("div",{children:[l.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),l.jsxDEV("div",{className:"text-sm text-gray-600 space-y-1",children:[l.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),l.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),l.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),l.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),l.jsxDEV("div",{children:[l.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),l.jsxDEV("div",{className:"text-sm text-gray-600 space-y-1",children:[l.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),l.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),l.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),l.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),l.jsxDEV("div",{children:[l.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),l.jsxDEV("div",{className:"text-sm text-gray-600 space-y-1",children:[l.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),l.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),l.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 LT(){const[i,a]=Q.useState(0),[c,d]=Q.useState([{id:"welcome",title:"Welcome to cntx-ui",description:"Learn what you can do with the web interface",completed:!1,required:!0},{id:"ai-analysis",title:"AI Bundle Analysis",description:"Let AI analyze your code and suggest optimal bundles",completed:!1,required:!1},{id:"bundles",title:"Create & Manage Bundles",description:"Set up focused file collections for AI development",completed:!1,required:!0},{id:"optimization",title:"Fine-tune & Optimize",description:"Configure file visibility and AI assistant context",completed:!1,required:!1},{id:"workflows",title:"Explore Workflows",description:"Learn common patterns and best practices",completed:!1,required:!1}]),[p,v]=Q.useState(!1),[N,E]=Q.useState(!1),y=async()=>{const V=`Analyze this codebase bundle and suggest an optimal bundle configuration for cntx-ui.
479
+
480
+ Based on the file structure and content, recommend 3-6 meaningful bundles with glob patterns that group related files logically.
481
+
482
+ Consider these common bundle types:
483
+ - Frontend/UI components and pages
484
+ - Backend API routes and controllers
485
+ - Configuration files
486
+ - Documentation
487
+ - Tests
488
+ - Utilities/helpers
489
+ - Styles/assets
490
+
491
+ Return ONLY a JSON configuration in this exact format:
492
+ {
493
+ "bundles": {
494
+ "master": ["**/*"],
495
+ "frontend": ["src/components/**/*", "src/pages/**/*", "src/hooks/**/*"],
496
+ "api": ["src/api/**/*", "routes/**/*", "controllers/**/*"],
497
+ "config": ["*.config.*", "package.json", "tsconfig.json"],
498
+ "docs": ["README.md", "docs/**/*", "*.md"],
499
+ "tests": ["**/*.test.*", "**/*.spec.*", "__tests__/**/*"]
500
+ }
501
+ }
502
+
503
+ Please analyze the following master bundle and suggest appropriate bundles:
504
+
505
+ [PASTE YOUR MASTER BUNDLE XML CONTENT HERE]`;try{await navigator.clipboard.writeText(V),v(!0),setTimeout(()=>v(!1),3e3)}catch($){console.error("Failed to copy AI prompt:",$)}},U=async()=>{try{const V=await fetch("http://localhost:3333/api/bundles/master");if(!V.ok)throw new Error("Failed to fetch master bundle");const $=await V.text();await navigator.clipboard.writeText($),E(!0),setTimeout(()=>E(!1),3e3)}catch(V){console.error("Failed to copy master bundle:",V)}},A=async()=>{try{const V=await fetch("http://localhost:3333/api/bundles/master");if(!V.ok)throw new Error("Failed to fetch master bundle");const $=await V.text(),F=new Blob([$],{type:"application/xml"}),T=URL.createObjectURL(F),Y=document.createElement("a");Y.href=T,Y.download="master-bundle.xml",Y.click(),URL.revokeObjectURL(T)}catch(V){console.error("Failed to download master bundle:",V)}},f=V=>{d($=>$.map(F=>F.id===V?{...F,completed:!0}:F))},g=({step:V,isActive:$})=>l.jsxDEV("div",{className:`flex items-center gap-3 p-3 rounded-lg transition-colors ${$?"bg-blue-50 border border-blue-200":"hover:bg-gray-50"}`,children:[l.jsxDEV("div",{className:"flex-shrink-0",children:V.completed?l.jsxDEV(Ds,{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):l.jsxDEV(CC,{className:`w-6 h-6 ${$?"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),l.jsxDEV("div",{className:"flex-1",children:[l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.jsxDEV("h3",{className:`font-medium ${$?"text-blue-900":"text-gray-900"}`,children:V.title},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:149,columnNumber:11},this),V.required&&l.jsxDEV(wt,{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),l.jsxDEV("p",{className:"text-sm text-gray-600",children:V.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 l.jsxDEV("div",{className:"min-h-screen bg-gradient-to-br from-blue-50 to-indigo-100",children:l.jsxDEV("div",{className:"container mx-auto px-4 py-8",children:[l.jsxDEV("div",{className:"text-center mb-8",children:[l.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),l.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),l.jsxDEV("div",{className:"grid lg:grid-cols-3 gap-8 max-w-7xl mx-auto",children:[l.jsxDEV("div",{className:"lg:col-span-1",children:l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{className:"flex items-center gap-2",children:[l.jsxDEV(Ea,{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),l.jsxDEV(Ke,{className:"space-y-2",children:c.map((V,$)=>l.jsxDEV("div",{onClick:()=>a($),className:"cursor-pointer",children:l.jsxDEV(g,{step:V,isActive:i===$},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:189,columnNumber:21},this)},V.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),l.jsxDEV("div",{className:"lg:col-span-2 space-y-6",children:[i===0&&l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{className:"flex items-center gap-2",children:[l.jsxDEV(Tr,{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! You're Already Running"]},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),l.jsxDEV(Ke,{className:"space-y-6",children:[l.jsxDEV(Ar,{className:"border-green-200 bg-green-50",children:[l.jsxDEV(Ds,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:209,columnNumber:21},this),l.jsxDEV(Mr,{children:[l.jsxDEV("strong",{children:"Great news!"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:211,columnNumber:23},this)," cntx-ui is installed and the web interface is running. No command line setup needed - you can do everything from this interface."]},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),l.jsxDEV("div",{className:"grid md:grid-cols-2 gap-4",children:[l.jsxDEV($e,{className:"border-blue-200",children:l.jsxDEV(Ke,{className:"pt-6",children:[l.jsxDEV(Ih,{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:219,columnNumber:25},this),l.jsxDEV("h3",{className:"font-medium mb-2",children:"Web Interface"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:220,columnNumber:25},this),l.jsxDEV("p",{className:"text-sm text-gray-600",children:"Full-featured interface for managing bundles, files, and AI context. Perfect for interactive use."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:221,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:218,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:217,columnNumber:21},this),l.jsxDEV($e,{className:"border-gray-200",children:l.jsxDEV(Ke,{className:"pt-6",children:[l.jsxDEV(Id,{className:"w-8 h-8 text-gray-600 mb-3"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:229,columnNumber:25},this),l.jsxDEV("h3",{className:"font-medium mb-2",children:"Command Line"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:230,columnNumber:25},this),l.jsxDEV("p",{className:"text-sm text-gray-600",children:"Available for automation, scripts, and CI/CD workflows. Optional for advanced users."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:231,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:228,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:227,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:216,columnNumber:19},this),l.jsxDEV("div",{className:"bg-blue-50 p-4 rounded-lg",children:[l.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:239,columnNumber:21},this),l.jsxDEV("p",{className:"text-sm text-blue-800 mb-3",children:"cntx-ui helps you organize your codebase for AI development by creating focused file bundles. Think of it as intelligent project packaging for AI assistants like Claude, ChatGPT, or Cursor."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:240,columnNumber:21},this),l.jsxDEV("div",{className:"grid grid-cols-2 gap-2 text-sm text-blue-800",children:[l.jsxDEV("div",{children:"• Bundle files by purpose or feature"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:245,columnNumber:23},this),l.jsxDEV("div",{children:"• Hide irrelevant files from AI context"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:246,columnNumber:23},this),l.jsxDEV("div",{children:"• Generate XML packages for AI tools"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:247,columnNumber:23},this),l.jsxDEV("div",{children:"• Manage project context efficiently"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:248,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:244,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:238,columnNumber:19},this),l.jsxDEV("div",{className:"flex justify-between",children:[l.jsxDEV(De,{variant:"outline",disabled:!0,children:"Previous"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:253,columnNumber:21},this),l.jsxDEV(De,{onClick:()=>{f("welcome"),a(1)},children:["Let's Start ",l.jsxDEV(Od,{className:"w-4 h-4 ml-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:255,columnNumber:35},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:254,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:252,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),i===1&&l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{className:"flex items-center gap-2",children:[l.jsxDEV(Tr,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:267,columnNumber:21},this),"Let AI Analyze Your Code & Suggest Bundles"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:266,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:265,columnNumber:17},this),l.jsxDEV(Ke,{className:"space-y-6",children:[l.jsxDEV("div",{children:[l.jsxDEV("p",{className:"text-gray-600 mb-4",children:"Let AI examine your entire codebase and intelligently suggest the perfect bundle configuration based on your project structure."},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:273,columnNumber:21},this),l.jsxDEV(Ar,{className:"border-purple-200 bg-purple-50",children:[l.jsxDEV(Tr,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:279,columnNumber:23},this),l.jsxDEV(Mr,{children:[l.jsxDEV("strong",{children:"🎯 AI-Powered Bundle Design:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:281,columnNumber:25},this)," Instead of guessing what bundles to create, let AI analyze your code structure and suggest optimal groupings."]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:280,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:278,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:272,columnNumber:19},this),l.jsxDEV("div",{className:"bg-blue-50 p-4 rounded-lg",children:[l.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:288,columnNumber:21},this),l.jsxDEV("ol",{className:"text-sm text-blue-800 space-y-2 list-decimal list-inside",children:[l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Copy the AI analysis prompt"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:290,columnNumber:27},this)," (button below)"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:290,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Go to Bundles tab"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:291,columnNumber:27},this),' → Copy the "master" bundle XML']},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:291,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Open Claude/ChatGPT"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:292,columnNumber:27},this)," → Paste the prompt"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:292,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Paste your master bundle XML"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:293,columnNumber:27},this)," after the prompt"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:293,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"AI returns perfect bundle JSON"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:294,columnNumber:27},this)," tailored to your code!"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:294,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Go to Config tab"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:295,columnNumber:27},this)," → Paste the JSON → Apply!"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:295,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:289,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:287,columnNumber:19},this),l.jsxDEV("div",{children:[l.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:300,columnNumber:21},this),l.jsxDEV("div",{className:"space-y-3",children:[l.jsxDEV("div",{className:"bg-slate-900 rounded-lg p-4",children:[l.jsxDEV("div",{className:"flex items-center justify-between mb-2",children:[l.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:304,columnNumber:27},this),l.jsxDEV(De,{variant:"ghost",size:"sm",onClick:y,className:"text-gray-400 hover:text-white",children:p?l.jsxDEV(l.Fragment,{children:[l.jsxDEV(Ds,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:313,columnNumber:33},this),"Copied!"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:312,columnNumber:31},this):l.jsxDEV(l.Fragment,{children:[l.jsxDEV($d,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:318,columnNumber:33},this),"Copy Prompt"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:317,columnNumber:31},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:305,columnNumber:27},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:303,columnNumber:25},this),l.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:324,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:302,columnNumber:23},this),l.jsxDEV("div",{className:"bg-slate-900 rounded-lg p-4",children:[l.jsxDEV("div",{className:"flex items-center justify-between mb-2",children:[l.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:331,columnNumber:27},this),l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(De,{variant:"ghost",size:"sm",onClick:U,className:"text-gray-400 hover:text-white",children:N?l.jsxDEV(l.Fragment,{children:[l.jsxDEV(Ds,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:341,columnNumber:35},this),"Copied!"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:340,columnNumber:33},this):l.jsxDEV(l.Fragment,{children:[l.jsxDEV($d,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:346,columnNumber:35},this),"Copy XML"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:345,columnNumber:33},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:333,columnNumber:29},this),l.jsxDEV(De,{variant:"ghost",size:"sm",onClick:A,className:"text-gray-400 hover:text-white",children:[l.jsxDEV(rb,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:357,columnNumber:31},this),"Download"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:351,columnNumber:29},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:332,columnNumber:27},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:330,columnNumber:25},this),l.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:362,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:329,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:301,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:299,columnNumber:19},this),l.jsxDEV("div",{className:"bg-purple-50 p-4 rounded-lg border border-purple-200",children:[l.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:370,columnNumber:21},this),l.jsxDEV("ol",{className:"text-sm text-purple-800 space-y-1 list-decimal list-inside",children:[l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Copy the prompt above"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:372,columnNumber:27},this)," → Paste into Claude/ChatGPT"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:372,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Copy/download master bundle"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:373,columnNumber:27},this)," → Add to your AI conversation"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:373,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"AI analyzes your code"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:374,columnNumber:27},this)," → Returns perfect bundle configuration"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:374,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Go to Config tab"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:375,columnNumber:27},this)," → Paste AI's JSON → Apply configuration"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:375,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"🎉 Optimized bundles ready!"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:376,columnNumber:27},this)," → Tailored to your project structure"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:376,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:371,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:369,columnNumber:19},this),l.jsxDEV("div",{className:"grid md:grid-cols-2 gap-4",children:[l.jsxDEV("div",{className:"space-y-3",children:[l.jsxDEV("h4",{className:"font-medium",children:"What AI Analyzes:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:382,columnNumber:23},this),l.jsxDEV("div",{className:"text-sm space-y-1",children:[l.jsxDEV("div",{children:["🗂️ ",l.jsxDEV("strong",{children:"File organization patterns"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:384,columnNumber:34},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:384,columnNumber:25},this),l.jsxDEV("div",{children:["🔗 ",l.jsxDEV("strong",{children:"Import/dependency relationships"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:385,columnNumber:33},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:385,columnNumber:25},this),l.jsxDEV("div",{children:["⚙️ ",l.jsxDEV("strong",{children:"Technology stack detection"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:386,columnNumber:33},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:386,columnNumber:25},this),l.jsxDEV("div",{children:["📁 ",l.jsxDEV("strong",{children:"Logical grouping opportunities"},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)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:383,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:381,columnNumber:21},this),l.jsxDEV("div",{className:"space-y-3",children:[l.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:392,columnNumber:23},this),l.jsxDEV("div",{className:"text-sm space-y-1",children:[l.jsxDEV("div",{children:["🎨 ",l.jsxDEV("strong",{children:"frontend"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:394,columnNumber:33},this)," - Components, pages, styles"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:394,columnNumber:25},this),l.jsxDEV("div",{children:["🔌 ",l.jsxDEV("strong",{children:"api"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:395,columnNumber:33},this)," - Routes, controllers, models"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:395,columnNumber:25},this),l.jsxDEV("div",{children:["🧪 ",l.jsxDEV("strong",{children:"tests"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:396,columnNumber:33},this)," - All test files"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:396,columnNumber:25},this),l.jsxDEV("div",{children:["⚙️ ",l.jsxDEV("strong",{children:"config"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:397,columnNumber:33},this)," - Configuration files"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:397,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:393,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:391,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:380,columnNumber:19},this),l.jsxDEV(Ar,{children:[l.jsxDEV(Tc,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:403,columnNumber:21},this),l.jsxDEV(Mr,{children:[l.jsxDEV("strong",{children:"Why this works so well:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:405,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:404,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:402,columnNumber:19},this),l.jsxDEV("div",{className:"flex justify-between",children:[l.jsxDEV(De,{variant:"outline",onClick:()=>a(0),children:"Previous"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:411,columnNumber:21},this),l.jsxDEV(De,{onClick:()=>{f("ai-analysis"),a(2)},children:["Continue to Bundle Management ",l.jsxDEV(Od,{className:"w-4 h-4 ml-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:413,columnNumber:53},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:412,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:410,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:271,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:264,columnNumber:15},this),i===2&&l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{className:"flex items-center gap-2",children:[l.jsxDEV(B1,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:425,columnNumber:21},this),"Create & Manage Your Bundles"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:424,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:423,columnNumber:17},this),l.jsxDEV(Ke,{className:"space-y-6",children:[l.jsxDEV("div",{children:[l.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:431,columnNumber:21},this),l.jsxDEV("div",{className:"bg-green-50 p-4 rounded-lg mb-4",children:[l.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:437,columnNumber:23},this),l.jsxDEV("ol",{className:"text-sm text-green-800 space-y-1 list-decimal list-inside",children:[l.jsxDEV("li",{children:["Go to the ",l.jsxDEV("strong",{children:"Config"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:439,columnNumber:39},this)," tab above"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:439,columnNumber:25},this),l.jsxDEV("li",{children:["Scroll to ",l.jsxDEV("strong",{children:'"Paste Bundle Configuration"'},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:440,columnNumber:39},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:440,columnNumber:25},this),l.jsxDEV("li",{children:"Paste the AI-generated JSON"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:441,columnNumber:25},this),l.jsxDEV("li",{children:["Click ",l.jsxDEV("strong",{children:'"Apply Configuration"'},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:442,columnNumber:35},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:442,columnNumber:25},this),l.jsxDEV("li",{children:"🎉 Your optimized bundles are ready!"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:443,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:438,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:436,columnNumber:21},this),l.jsxDEV("div",{className:"bg-blue-50 p-4 rounded-lg mb-4",children:[l.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:448,columnNumber:23},this),l.jsxDEV("ol",{className:"text-sm text-blue-800 space-y-1 list-decimal list-inside",children:[l.jsxDEV("li",{children:["Go to the ",l.jsxDEV("strong",{children:"Config"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:450,columnNumber:39},this)," tab above"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:450,columnNumber:25},this),l.jsxDEV("li",{children:["Click ",l.jsxDEV("strong",{children:'"Add New Bundle"'},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:451,columnNumber:35},this)," at the bottom"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:451,columnNumber:25},this),l.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:452,columnNumber:25},this),l.jsxDEV("li",{children:["Add patterns like ",l.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:453,columnNumber:47},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:453,columnNumber:25},this),l.jsxDEV("li",{children:["Click ",l.jsxDEV("strong",{children:'"Create Bundle"'},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:454,columnNumber:35},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:454,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:449,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:447,columnNumber:21},this),l.jsxDEV(Ar,{children:[l.jsxDEV(Tr,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:459,columnNumber:23},this),l.jsxDEV(Mr,{children:[l.jsxDEV("strong",{children:"Pro tip:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:461,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:460,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:458,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:430,columnNumber:19},this),l.jsxDEV("div",{className:"space-y-3",children:[l.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:468,columnNumber:21},this),l.jsxDEV("div",{className:"grid gap-3",children:[l.jsxDEV("div",{className:"bg-gray-50 p-3 rounded-md",children:[l.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:471,columnNumber:25},this),l.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:472,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:470,columnNumber:23},this),l.jsxDEV("div",{className:"bg-gray-50 p-3 rounded-md",children:[l.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:475,columnNumber:25},this),l.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:476,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:474,columnNumber:23},this),l.jsxDEV("div",{className:"bg-gray-50 p-3 rounded-md",children:[l.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:479,columnNumber:25},this),l.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:480,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:478,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:469,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:467,columnNumber:19},this),l.jsxDEV("div",{className:"flex justify-between",children:[l.jsxDEV(De,{variant:"outline",onClick:()=>a(1),children:"Previous"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:486,columnNumber:21},this),l.jsxDEV(De,{onClick:()=>{f("bundles"),a(3)},children:["Continue to Optimization ",l.jsxDEV(Od,{className:"w-4 h-4 ml-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:488,columnNumber:48},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:487,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:485,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:429,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:422,columnNumber:15},this),i===3&&l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{className:"flex items-center gap-2",children:[l.jsxDEV(lU,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:500,columnNumber:21},this),"Optimize for AI Development"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:499,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:498,columnNumber:17},this),l.jsxDEV(Ke,{className:"space-y-6",children:[l.jsxDEV("div",{children:[l.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:506,columnNumber:21},this),l.jsxDEV("div",{className:"grid md:grid-cols-2 gap-4",children:[l.jsxDEV($e,{className:"border-purple-200",children:l.jsxDEV(Ke,{className:"pt-6",children:[l.jsxDEV(ba,{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:513,columnNumber:27},this),l.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:514,columnNumber:27},this),l.jsxDEV("div",{className:"text-sm text-gray-600 space-y-1",children:[l.jsxDEV("div",{children:"• Hide debug files from AI context"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:516,columnNumber:29},this),l.jsxDEV("div",{children:"• Remove temp/generated files"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:517,columnNumber:29},this),l.jsxDEV("div",{children:"• Create clean, focused bundles"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:518,columnNumber:29},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:515,columnNumber:27},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:512,columnNumber:25},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:511,columnNumber:23},this),l.jsxDEV($e,{className:"border-green-200",children:l.jsxDEV(Ke,{className:"pt-6",children:[l.jsxDEV(Tr,{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:525,columnNumber:27},this),l.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:526,columnNumber:27},this),l.jsxDEV("div",{className:"text-sm text-gray-600 space-y-1",children:[l.jsxDEV("div",{children:"• Set coding standards"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:528,columnNumber:29},this),l.jsxDEV("div",{children:"• Define project context"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:529,columnNumber:29},this),l.jsxDEV("div",{children:"• Guide AI assistant behavior"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:530,columnNumber:29},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:527,columnNumber:27},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:524,columnNumber:25},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:523,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:510,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:505,columnNumber:19},this),l.jsxDEV("div",{className:"bg-green-50 p-4 rounded-lg",children:[l.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:538,columnNumber:21},this),l.jsxDEV("ol",{className:"text-sm text-green-800 space-y-1 list-decimal list-inside",children:[l.jsxDEV("li",{children:["Go to ",l.jsxDEV("strong",{children:"Hidden Files"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:540,columnNumber:33},this)," tab"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:540,columnNumber:23},this),l.jsxDEV("li",{children:'Search for "debug" or "test" files'},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:541,columnNumber:23},this),l.jsxDEV("li",{children:"Hide them from your main bundles"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:542,columnNumber:23},this),l.jsxDEV("li",{children:["Go to ",l.jsxDEV("strong",{children:"Cursor Rules"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:543,columnNumber:33},this)," tab"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:543,columnNumber:23},this),l.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:544,columnNumber:23},this),l.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:545,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:539,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:537,columnNumber:19},this),l.jsxDEV(Ar,{children:[l.jsxDEV(Tc,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:550,columnNumber:21},this),l.jsxDEV(Mr,{children:[l.jsxDEV("strong",{children:"Why this matters:"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:552,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:551,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:549,columnNumber:19},this),l.jsxDEV("div",{className:"flex justify-between",children:[l.jsxDEV(De,{variant:"outline",onClick:()=>a(2),children:"Previous"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:558,columnNumber:21},this),l.jsxDEV(De,{onClick:()=>{f("optimization"),a(4)},children:["Continue ",l.jsxDEV(Od,{className:"w-4 h-4 ml-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:560,columnNumber:32},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:559,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:557,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:504,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:497,columnNumber:15},this),i===4&&l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{className:"flex items-center gap-2",children:[l.jsxDEV(q1,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:572,columnNumber:21},this),"Common Workflows & Next Steps"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:571,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:570,columnNumber:17},this),l.jsxDEV(Ke,{className:"space-y-6",children:[l.jsxDEV("div",{className:"grid gap-4",children:[l.jsxDEV("div",{className:"bg-blue-50 p-4 rounded-lg",children:[l.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:579,columnNumber:23},this),l.jsxDEV("div",{className:"text-sm text-blue-800 space-y-1",children:[l.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:581,columnNumber:25},this),l.jsxDEV("div",{children:["2. Copy the XML from the ",l.jsxDEV("strong",{children:"Bundles"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:582,columnNumber:55},this)," tab"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:582,columnNumber:25},this),l.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:583,columnNumber:25},this),l.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:584,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:580,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:578,columnNumber:21},this),l.jsxDEV("div",{className:"bg-purple-50 p-4 rounded-lg",children:[l.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:589,columnNumber:23},this),l.jsxDEV("div",{className:"text-sm text-purple-800 space-y-1",children:[l.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:591,columnNumber:25},this),l.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:592,columnNumber:25},this),l.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:593,columnNumber:25},this),l.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:594,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:590,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:588,columnNumber:21},this),l.jsxDEV("div",{className:"bg-green-50 p-4 rounded-lg",children:[l.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:599,columnNumber:23},this),l.jsxDEV("div",{className:"text-sm text-green-800 space-y-1",children:[l.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:601,columnNumber:25},this),l.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:602,columnNumber:25},this),l.jsxDEV("div",{children:"• Real-time updates: Changes appear immediately"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:603,columnNumber:25},this),l.jsxDEV("div",{children:"• CLI integration: Use commands for automation"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:604,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:600,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:598,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:577,columnNumber:19},this),l.jsxDEV("div",{className:"bg-yellow-50 p-4 rounded-lg border border-yellow-200",children:[l.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:610,columnNumber:21},this),l.jsxDEV("div",{className:"text-sm text-yellow-800 space-y-1",children:[l.jsxDEV("div",{children:"✅ Create 2-3 focused bundles"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:612,columnNumber:23},this),l.jsxDEV("div",{children:"✅ Hide debug/temp files"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:613,columnNumber:23},this),l.jsxDEV("div",{children:"✅ Set up cursor rules"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:614,columnNumber:23},this),l.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:615,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:611,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:609,columnNumber:19},this),l.jsxDEV("div",{className:"flex justify-between",children:[l.jsxDEV(De,{variant:"outline",onClick:()=>a(3),children:"Previous"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:620,columnNumber:21},this),l.jsxDEV(De,{onClick:()=>f("workflows"),className:"bg-green-600 hover:bg-green-700",children:["Get Started! ",l.jsxDEV(MC,{className:"w-4 h-4 ml-1"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:622,columnNumber:36},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:621,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:619,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:576,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:569,columnNumber:15},this),l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{children:"Quick Reference"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:632,columnNumber:17},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:631,columnNumber:15},this),l.jsxDEV(Ke,{children:l.jsxDEV("div",{className:"grid md:grid-cols-2 gap-4 text-sm",children:[l.jsxDEV("div",{children:[l.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:637,columnNumber:21},this),l.jsxDEV("ul",{className:"space-y-1 text-gray-600",children:[l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Bundles"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:639,columnNumber:27},this)," - View and copy bundle content"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:639,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Files"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:640,columnNumber:27},this)," - Browse your project files"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:640,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Config"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:641,columnNumber:27},this)," - Create and edit bundles"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:641,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Hidden"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:642,columnNumber:27},this)," - Control file visibility"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:642,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Cursor"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:643,columnNumber:27},this)," - Manage AI assistant rules"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:643,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:638,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:636,columnNumber:19},this),l.jsxDEV("div",{children:[l.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:647,columnNumber:21},this),l.jsxDEV("ul",{className:"space-y-1 text-gray-600",children:[l.jsxDEV("li",{children:"Real-time file watching and updates"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:649,columnNumber:23},this),l.jsxDEV("li",{children:"Bundle-specific file hiding"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:650,columnNumber:23},this),l.jsxDEV("li",{children:"Pattern testing and validation"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:651,columnNumber:23},this),l.jsxDEV("li",{children:"AI assistant context management"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:652,columnNumber:23},this),l.jsxDEV("li",{children:"XML export for AI tools"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:653,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:648,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:646,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:635,columnNumber:17},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:634,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/components/SetupScreen.tsx",lineNumber:630,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 KN=new cD;function qT(){const[i,a]=Q.useState("connecting"),[c,d]=Q.useState(!1),[p,v]=Q.useState(!1);return Q.useEffect(()=>{const N=new WebSocket("ws://localhost:3333");return N.onopen=()=>a("connected"),N.onclose=()=>a("disconnected"),()=>N.close()},[]),c?l.jsxDEV(HN,{client:KN,children:l.jsxDEV("div",{className:"relative",children:[l.jsxDEV(De,{variant:"ghost",size:"sm",onClick:()=>d(!1),className:"absolute top-4 right-4 z-10",children:l.jsxDEV($1,{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),l.jsxDEV(LT,{},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):l.jsxDEV(HN,{client:KN,children:l.jsxDEV("div",{className:"min-h-screen bg-background text-foreground",children:[l.jsxDEV("header",{className:"border-b",children:l.jsxDEV("div",{className:"container mx-auto px-4 py-4 flex justify-between items-center",children:[l.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),l.jsxDEV("div",{className:"flex items-center gap-4",children:[l.jsxDEV(De,{variant:"ghost",size:"sm",onClick:()=>v(!p),children:[l.jsxDEV(EC,{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),l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.jsxDEV("div",{className:`w-2 h-2 rounded-full ${i==="connected"?"bg-green-500":i==="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),l.jsxDEV("span",{className:"text-sm text-muted-foreground",children:i==="connected"?"Connected • Watching files":i==="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),l.jsxDEV("main",{className:"container mx-auto px-4 py-6",children:[l.jsxDEV(kT,{onStartSetup:()=>d(!0)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:83,columnNumber:11},this),l.jsxDEV("div",{className:"flex flex-col lg:flex-row gap-6",children:[l.jsxDEV(kU,{position:"top-right"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:87,columnNumber:13},this),l.jsxDEV("div",{className:"flex-1 min-w-0",children:l.jsxDEV(lb,{defaultValue:"bundles",className:"space-y-6",children:[l.jsxDEV(ib,{className:"grid w-full grid-cols-5",children:[l.jsxDEV(js,{value:"bundles",children:"Bundles"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:93,columnNumber:19},this),l.jsxDEV(js,{value:"files",children:"Files"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:94,columnNumber:19},this),l.jsxDEV(js,{value:"config",children:"Config"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:95,columnNumber:19},this),l.jsxDEV(js,{value:"hidden",className:"flex items-center gap-1",children:[l.jsxDEV(Ml,{className:"w-3 h-3"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:97,columnNumber:21},this),l.jsxDEV("span",{className:"hidden sm:inline",children:"Hidden"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:98,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:96,columnNumber:19},this),l.jsxDEV(js,{value:"cursor",className:"flex items-center gap-1",children:[l.jsxDEV(Tr,{className:"w-3 h-3"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:101,columnNumber:21},this),l.jsxDEV("span",{className:"hidden sm:inline",children:"Cursor"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:102,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:100,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:92,columnNumber:17},this),l.jsxDEV(Es,{value:"bundles",children:l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{children:"Bundle Management"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:109,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:108,columnNumber:21},this),l.jsxDEV(Ke,{children:l.jsxDEV(HU,{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:112,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:111,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:107,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:106,columnNumber:17},this),l.jsxDEV(Es,{value:"files",children:l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{children:"File Explorer"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:120,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:119,columnNumber:21},this),l.jsxDEV(Ke,{children:l.jsxDEV(LU,{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:123,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:122,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:118,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:117,columnNumber:17},this),l.jsxDEV(Es,{value:"config",children:l.jsxDEV(GU,{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:129,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:128,columnNumber:17},this),l.jsxDEV(Es,{value:"hidden",children:l.jsxDEV(OT,{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:133,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:132,columnNumber:17},this),l.jsxDEV(Es,{value:"cursor",children:l.jsxDEV(CT,{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:137,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:136,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),l.jsxDEV("div",{className:"w-full lg:w-80 xl:w-96 flex-shrink-0 space-y-6",children:[l.jsxDEV(zT,{onOpenFullSetup:()=>d(!0)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:145,columnNumber:15},this),p&&l.jsxDEV("div",{className:"space-y-4",children:[l.jsxDEV(HT,{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:150,columnNumber:19},this),l.jsxDEV(BT,{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:151,columnNumber:19},this),l.jsxDEV(_T,{},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:152,columnNumber:19},this),l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{className:"flex items-center gap-2",children:[l.jsxDEV(Ml,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:158,columnNumber:25},this),"File Visibility"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:157,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:156,columnNumber:21},this),l.jsxDEV(Ke,{className:"space-y-2",children:[l.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:163,columnNumber:23},this),l.jsxDEV("div",{className:"text-xs space-y-1",children:[l.jsxDEV("div",{children:"• Hide debug/temp files from AI context"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:167,columnNumber:25},this),l.jsxDEV("div",{children:"• Create focused bundles for specific tasks"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:168,columnNumber:25},this),l.jsxDEV("div",{children:"• Bundle-specific or global hiding"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:169,columnNumber:25},this),l.jsxDEV("div",{children:"• Easy restore when needed"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:170,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:166,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:162,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:155,columnNumber:19},this),l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{className:"flex items-center gap-2",children:[l.jsxDEV(Tr,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:179,columnNumber:25},this),"AI Assistant"]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:178,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:177,columnNumber:21},this),l.jsxDEV(Ke,{className:"space-y-2",children:[l.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:184,columnNumber:23},this),l.jsxDEV("div",{className:"text-xs space-y-1",children:[l.jsxDEV("div",{children:"• Project structure & bundles"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:188,columnNumber:25},this),l.jsxDEV("div",{children:"• Coding standards & style"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:189,columnNumber:25},this),l.jsxDEV("div",{children:"• Framework preferences"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:190,columnNumber:25},this),l.jsxDEV("div",{children:"• Team conventions"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:191,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:187,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:183,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:176,columnNumber:19},this),l.jsxDEV($e,{children:[l.jsxDEV(ct,{children:l.jsxDEV(ut,{children:"Need More Help?"},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:198,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:197,columnNumber:21},this),l.jsxDEV(Ke,{className:"space-y-3",children:[l.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:201,columnNumber:23},this),l.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:208,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:200,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:196,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:149,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/cntx-v2/web/src/App.tsx",lineNumber:143,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)}QE.createRoot(document.getElementById("root")).render(l.jsxDEV(Q.StrictMode,{children:l.jsxDEV(qT,{},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));