zora-agent 0.9.8 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cli/index.js +0 -0
- package/dist/dashboard/frontend/dist/assets/index-2FaDr6iS.js +277 -0
- package/dist/dashboard/frontend/dist/assets/index-B9-KXW14.css +1 -0
- package/dist/dashboard/frontend/dist/assets/index-BMxbyTer.css +1 -0
- package/dist/dashboard/frontend/dist/assets/index-BXUfB9iR.js +253 -0
- package/dist/dashboard/frontend/dist/assets/index-CQmpMTLW.js +253 -0
- package/dist/dashboard/frontend/dist/assets/index-DSXaCp9r.js +277 -0
- package/dist/dashboard/frontend/dist/assets/index-aK9PWl6w.js +253 -0
- package/dist/dashboard/frontend/dist/index.html +2 -2
- package/dist/dashboard/server.d.ts.map +1 -1
- package/dist/dashboard/server.js +30 -0
- package/dist/dashboard/server.js.map +1 -1
- package/dist/orchestrator/auth-monitor.js +4 -1
- package/dist/orchestrator/auth-monitor.js.map +1 -1
- package/dist/providers/gemini-provider.d.ts +3 -0
- package/dist/providers/gemini-provider.d.ts.map +1 -1
- package/dist/providers/gemini-provider.js +27 -5
- package/dist/providers/gemini-provider.js.map +1 -1
- package/dist/steering/telegram-gateway.d.ts +2 -0
- package/dist/steering/telegram-gateway.d.ts.map +1 -1
- package/dist/steering/telegram-gateway.js +66 -3
- package/dist/steering/telegram-gateway.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))s(u);new MutationObserver(u=>{for(const f of u)if(f.type==="childList")for(const d of f.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&s(d)}).observe(document,{childList:!0,subtree:!0});function i(u){const f={};return u.integrity&&(f.integrity=u.integrity),u.referrerPolicy&&(f.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?f.credentials="include":u.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function s(u){if(u.ep)return;u.ep=!0;const f=i(u);fetch(u.href,f)}})();function Rc(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var _y={exports:{}},ah={},zy={exports:{}},gc={exports:{}};gc.exports;var $T;function uz(){return $T||($T=1,(function(n,a){(function(){function i(T,q){Object.defineProperty(f.prototype,T,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",q[0],q[1])}})}function s(T){return T===null||typeof T!="object"?null:(T=Kn&&T[Kn]||T["@@iterator"],typeof T=="function"?T:null)}function u(T,q){T=(T=T.constructor)&&(T.displayName||T.name)||"ReactClass";var de=T+"."+q;Hr[de]||(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.",q,T),Hr[de]=!0)}function f(T,q,de){this.props=T,this.context=q,this.refs=lt,this.updater=de||Ba}function d(){}function h(T,q,de){this.props=T,this.context=q,this.refs=lt,this.updater=de||Ba}function b(){}function g(T){return""+T}function p(T){try{g(T);var q=!1}catch{q=!0}if(q){q=console;var de=q.error,be=typeof Symbol=="function"&&Symbol.toStringTag&&T[Symbol.toStringTag]||T.constructor.name||"Object";return de.call(q,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",be),g(T)}}function v(T){if(T==null)return null;if(typeof T=="function")return T.$$typeof===ls?null:T.displayName||T.name||null;if(typeof T=="string")return T;switch(T){case U:return"Fragment";case C:return"Profiler";case ue:return"StrictMode";case je:return"Suspense";case Ke:return"SuspenseList";case De:return"Activity"}if(typeof T=="object")switch(typeof T.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),T.$$typeof){case O:return"Portal";case at:return T.displayName||"Context";case xe:return(T._context.displayName||"Context")+".Consumer";case yn:var q=T.render;return T=T.displayName,T||(T=q.displayName||q.name||"",T=T!==""?"ForwardRef("+T+")":"ForwardRef"),T;case Ut:return q=T.displayName||null,q!==null?q:v(T.type)||"Memo";case Lt:q=T._payload,T=T._init;try{return v(T(q))}catch{}}return null}function x(T){if(T===U)return"<>";if(typeof T=="object"&&T!==null&&T.$$typeof===Lt)return"<...>";try{var q=v(T);return q?"<"+q+">":"<...>"}catch{return"<...>"}}function S(){var T=we.A;return T===null?null:T.getOwner()}function N(){return Error("react-stack-top-frame")}function V(T){if(yi.call(T,"key")){var q=Object.getOwnPropertyDescriptor(T,"key").get;if(q&&q.isReactWarning)return!1}return T.key!==void 0}function R(T,q){function de(){Ha||(Ha=!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)",q))}de.isReactWarning=!0,Object.defineProperty(T,"key",{get:de,configurable:!0})}function z(){var T=v(this.type);return us[T]||(us[T]=!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.")),T=this.props.ref,T!==void 0?T:null}function X(T,q,de,be,ke,Pe){var Oe=de.ref;return T={$$typeof:Me,type:T,key:q,props:de,_owner:be},(Oe!==void 0?Oe:null)!==null?Object.defineProperty(T,"ref",{enumerable:!1,get:z}):Object.defineProperty(T,"ref",{enumerable:!1,value:null}),T._store={},Object.defineProperty(T._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(T,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(T,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ke}),Object.defineProperty(T,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Pe}),Object.freeze&&(Object.freeze(T.props),Object.freeze(T)),T}function I(T,q){return q=X(T.type,q,T.props,T._owner,T._debugStack,T._debugTask),T._store&&(q._store.validated=T._store.validated),q}function ie(T){re(T)?T._store&&(T._store.validated=1):typeof T=="object"&&T!==null&&T.$$typeof===Lt&&(T._payload.status==="fulfilled"?re(T._payload.value)&&T._payload.value._store&&(T._payload.value._store.validated=1):T._store&&(T._store.validated=1))}function re(T){return typeof T=="object"&&T!==null&&T.$$typeof===Me}function G(T){var q={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(de){return q[de]})}function ge(T,q){return typeof T=="object"&&T!==null&&T.key!=null?(p(T.key),G(""+T.key)):q.toString(36)}function se(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(b,b):(T.status="pending",T.then(function(q){T.status==="pending"&&(T.status="fulfilled",T.value=q)},function(q){T.status==="pending"&&(T.status="rejected",T.reason=q)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function ce(T,q,de,be,ke){var Pe=typeof T;(Pe==="undefined"||Pe==="boolean")&&(T=null);var Oe=!1;if(T===null)Oe=!0;else switch(Pe){case"bigint":case"string":case"number":Oe=!0;break;case"object":switch(T.$$typeof){case Me:case O:Oe=!0;break;case Lt:return Oe=T._init,ce(Oe(T._payload),q,de,be,ke)}}if(Oe){Oe=T,ke=ke(Oe);var ot=be===""?"."+ge(Oe,0):be;return gi(ke)?(de="",ot!=null&&(de=ot.replace(Ie,"$&/")+"/"),ce(ke,q,de,"",function(kn){return kn})):ke!=null&&(re(ke)&&(ke.key!=null&&(Oe&&Oe.key===ke.key||p(ke.key)),de=I(ke,de+(ke.key==null||Oe&&Oe.key===ke.key?"":(""+ke.key).replace(Ie,"$&/")+"/")+ot),be!==""&&Oe!=null&&re(Oe)&&Oe.key==null&&Oe._store&&!Oe._store.validated&&(de._store.validated=2),ke=de),q.push(ke)),1}if(Oe=0,ot=be===""?".":be+":",gi(T))for(var qe=0;qe<T.length;qe++)be=T[qe],Pe=ot+ge(be,qe),Oe+=ce(be,q,de,Pe,ke);else if(qe=s(T),typeof qe=="function")for(qe===T.entries&&(Te||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Te=!0),T=qe.call(T),qe=0;!(be=T.next()).done;)be=be.value,Pe=ot+ge(be,qe++),Oe+=ce(be,q,de,Pe,ke);else if(Pe==="object"){if(typeof T.then=="function")return ce(se(T),q,de,be,ke);throw q=String(T),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return Oe}function F(T,q,de){if(T==null)return T;var be=[],ke=0;return ce(T,be,"","",function(Pe){return q.call(de,Pe,ke++)}),be}function he(T){if(T._status===-1){var q=T._ioInfo;q!=null&&(q.start=q.end=performance.now()),q=T._result;var de=q();if(de.then(function(ke){if(T._status===0||T._status===-1){T._status=1,T._result=ke;var Pe=T._ioInfo;Pe!=null&&(Pe.end=performance.now()),de.status===void 0&&(de.status="fulfilled",de.value=ke)}},function(ke){if(T._status===0||T._status===-1){T._status=2,T._result=ke;var Pe=T._ioInfo;Pe!=null&&(Pe.end=performance.now()),de.status===void 0&&(de.status="rejected",de.reason=ke)}}),q=T._ioInfo,q!=null){q.value=de;var be=de.displayName;typeof be=="string"&&(q.name=be)}T._status===-1&&(T._status=0,T._result=de)}if(T._status===1)return q=T._result,q===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
|
+
|
|
3
|
+
Your code should look like:
|
|
4
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
5
|
+
|
|
6
|
+
Did you accidentally put curly braces around the import?`,q),"default"in q||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
|
+
|
|
8
|
+
Your code should look like:
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,q),q.default;throw T._result}function oe(){var T=we.H;return T===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
10
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
|
+
2. You might be breaking the Rules of Hooks
|
|
12
|
+
3. You might have more than one copy of React in the same app
|
|
13
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),T}function Q(){we.asyncTransitions--}function ne(T){if(wn===null)try{var q=("require"+Math.random()).slice(0,7);wn=(n&&n[q]).call(n,"timers").setImmediate}catch{wn=function(be){Pt===!1&&(Pt=!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 ke=new MessageChannel;ke.port1.onmessage=be,ke.port2.postMessage(void 0)}}return wn(T)}function ae(T){return 1<T.length&&typeof AggregateError=="function"?new AggregateError(T):T[0]}function Y(T,q){q!==an-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. "),an=q}function le(T,q,de){var be=we.actQueue;if(be!==null)if(be.length!==0)try{ye(be),ne(function(){return le(T,q,de)});return}catch(ke){we.thrownErrors.push(ke)}else we.actQueue=null;0<we.thrownErrors.length?(be=ae(we.thrownErrors),we.thrownErrors.length=0,de(be)):q(T)}function ye(T){if(!yr){yr=!0;var q=0;try{for(;q<T.length;q++){var de=T[q];do{we.didUsePromise=!1;var be=de(!1);if(be!==null){if(we.didUsePromise){T[q]=de,T.splice(0,q);return}de=be}else break}while(!0)}T.length=0}catch(ke){T.splice(0,q+1),we.thrownErrors.push(ke)}finally{yr=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Me=Symbol.for("react.transitional.element"),O=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),ue=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),xe=Symbol.for("react.consumer"),at=Symbol.for("react.context"),yn=Symbol.for("react.forward_ref"),je=Symbol.for("react.suspense"),Ke=Symbol.for("react.suspense_list"),Ut=Symbol.for("react.memo"),Lt=Symbol.for("react.lazy"),De=Symbol.for("react.activity"),Kn=Symbol.iterator,Hr={},Ba={isMounted:function(){return!1},enqueueForceUpdate:function(T){u(T,"forceUpdate")},enqueueReplaceState:function(T){u(T,"replaceState")},enqueueSetState:function(T){u(T,"setState")}},Pr=Object.assign,lt={};Object.freeze(lt),f.prototype.isReactComponent={},f.prototype.setState=function(T,q){if(typeof T!="object"&&typeof T!="function"&&T!=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,T,q,"setState")},f.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};var Wt={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(Nn in Wt)Wt.hasOwnProperty(Nn)&&i(Nn,Wt[Nn]);d.prototype=f.prototype,Wt=h.prototype=new d,Wt.constructor=h,Pr(Wt,f.prototype),Wt.isPureReactComponent=!0;var gi=Array.isArray,ls=Symbol.for("react.client.reference"),we={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},yi=Object.prototype.hasOwnProperty,gr=console.createTask?console.createTask:function(){return null};Wt={react_stack_bottom_frame:function(T){return T()}};var Ha,na,us={},W=Wt.react_stack_bottom_frame.bind(Wt,N)(),ee=gr(x(N)),Te=!1,Ie=/\/+/g,it=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T),error:T});if(!window.dispatchEvent(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)},Pt=!1,wn=null,an=0,Wn=!1,yr=!1,qt=typeof queueMicrotask=="function"?function(T){queueMicrotask(function(){return queueMicrotask(T)})}:ne;Wt=Object.freeze({__proto__:null,c:function(T){return oe().useMemoCache(T)}});var Nn={map:F,forEach:function(T,q,de){F(T,function(){q.apply(this,arguments)},de)},count:function(T){var q=0;return F(T,function(){q++}),q},toArray:function(T){return F(T,function(q){return q})||[]},only:function(T){if(!re(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};a.Activity=De,a.Children=Nn,a.Component=f,a.Fragment=U,a.Profiler=C,a.PureComponent=h,a.StrictMode=ue,a.Suspense=je,a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=we,a.__COMPILER_RUNTIME=Wt,a.act=function(T){var q=we.actQueue,de=an;an++;var be=we.actQueue=q!==null?q:[],ke=!1;try{var Pe=T()}catch(qe){we.thrownErrors.push(qe)}if(0<we.thrownErrors.length)throw Y(q,de),T=ae(we.thrownErrors),we.thrownErrors.length=0,T;if(Pe!==null&&typeof Pe=="object"&&typeof Pe.then=="function"){var Oe=Pe;return qt(function(){ke||Wn||(Wn=!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(qe,kn){ke=!0,Oe.then(function(ra){if(Y(q,de),de===0){try{ye(be),ne(function(){return le(ra,qe,kn)})}catch(cs){we.thrownErrors.push(cs)}if(0<we.thrownErrors.length){var Ic=ae(we.thrownErrors);we.thrownErrors.length=0,kn(Ic)}}else qe(ra)},function(ra){Y(q,de),0<we.thrownErrors.length&&(ra=ae(we.thrownErrors),we.thrownErrors.length=0),kn(ra)})}}}var ot=Pe;if(Y(q,de),de===0&&(ye(be),be.length!==0&&qt(function(){ke||Wn||(Wn=!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(() => ...)"))}),we.actQueue=null),0<we.thrownErrors.length)throw T=ae(we.thrownErrors),we.thrownErrors.length=0,T;return{then:function(qe,kn){ke=!0,de===0?(we.actQueue=be,ne(function(){return le(ot,qe,kn)})):qe(ot)}}},a.cache=function(T){return function(){return T.apply(null,arguments)}},a.cacheSignal=function(){return null},a.captureOwnerStack=function(){var T=we.getCurrentStack;return T===null?null:T()},a.cloneElement=function(T,q,de){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var be=Pr({},T.props),ke=T.key,Pe=T._owner;if(q!=null){var Oe;e:{if(yi.call(q,"ref")&&(Oe=Object.getOwnPropertyDescriptor(q,"ref").get)&&Oe.isReactWarning){Oe=!1;break e}Oe=q.ref!==void 0}Oe&&(Pe=S()),V(q)&&(p(q.key),ke=""+q.key);for(ot in q)!yi.call(q,ot)||ot==="key"||ot==="__self"||ot==="__source"||ot==="ref"&&q.ref===void 0||(be[ot]=q[ot])}var ot=arguments.length-2;if(ot===1)be.children=de;else if(1<ot){Oe=Array(ot);for(var qe=0;qe<ot;qe++)Oe[qe]=arguments[qe+2];be.children=Oe}for(be=X(T.type,ke,be,Pe,T._debugStack,T._debugTask),ke=2;ke<arguments.length;ke++)ie(arguments[ke]);return be},a.createContext=function(T){return T={$$typeof:at,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:xe,_context:T},T._currentRenderer=null,T._currentRenderer2=null,T},a.createElement=function(T,q,de){for(var be=2;be<arguments.length;be++)ie(arguments[be]);be={};var ke=null;if(q!=null)for(qe in na||!("__self"in q)||"key"in q||(na=!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")),V(q)&&(p(q.key),ke=""+q.key),q)yi.call(q,qe)&&qe!=="key"&&qe!=="__self"&&qe!=="__source"&&(be[qe]=q[qe]);var Pe=arguments.length-2;if(Pe===1)be.children=de;else if(1<Pe){for(var Oe=Array(Pe),ot=0;ot<Pe;ot++)Oe[ot]=arguments[ot+2];Object.freeze&&Object.freeze(Oe),be.children=Oe}if(T&&T.defaultProps)for(qe in Pe=T.defaultProps,Pe)be[qe]===void 0&&(be[qe]=Pe[qe]);ke&&R(be,typeof T=="function"?T.displayName||T.name||"Unknown":T);var qe=1e4>we.recentlyCreatedOwnerStacks++;return X(T,ke,be,S(),qe?Error("react-stack-top-frame"):W,qe?gr(x(T)):ee)},a.createRef=function(){var T={current:null};return Object.seal(T),T},a.forwardRef=function(T){T!=null&&T.$$typeof===Ut?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof T!="function"?console.error("forwardRef requires a render function but was given %s.",T===null?"null":typeof T):T.length!==0&&T.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",T.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),T!=null&&T.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var q={$$typeof:yn,render:T},de;return Object.defineProperty(q,"displayName",{enumerable:!1,configurable:!0,get:function(){return de},set:function(be){de=be,T.name||T.displayName||(Object.defineProperty(T,"name",{value:be}),T.displayName=be)}}),q},a.isValidElement=re,a.lazy=function(T){T={_status:-1,_result:T};var q={$$typeof:Lt,_payload:T,_init:he},de={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return T._ioInfo=de,q._debugInfo=[{awaited:de}],q},a.memo=function(T,q){T==null&&console.error("memo: The first argument must be a component. Instead received: %s",T===null?"null":typeof T),q={$$typeof:Ut,type:T,compare:q===void 0?null:q};var de;return Object.defineProperty(q,"displayName",{enumerable:!1,configurable:!0,get:function(){return de},set:function(be){de=be,T.name||T.displayName||(Object.defineProperty(T,"name",{value:be}),T.displayName=be)}}),q},a.startTransition=function(T){var q=we.T,de={};de._updatedFibers=new Set,we.T=de;try{var be=T(),ke=we.S;ke!==null&&ke(de,be),typeof be=="object"&&be!==null&&typeof be.then=="function"&&(we.asyncTransitions++,be.then(Q,Q),be.then(b,it))}catch(Pe){it(Pe)}finally{q===null&&de._updatedFibers&&(T=de._updatedFibers.size,de._updatedFibers.clear(),10<T&&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.")),q!==null&&de.types!==null&&(q.types!==null&&q.types!==de.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),q.types=de.types),we.T=q}},a.unstable_useCacheRefresh=function(){return oe().useCacheRefresh()},a.use=function(T){return oe().use(T)},a.useActionState=function(T,q,de){return oe().useActionState(T,q,de)},a.useCallback=function(T,q){return oe().useCallback(T,q)},a.useContext=function(T){var q=oe();return T.$$typeof===xe&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),q.useContext(T)},a.useDebugValue=function(T,q){return oe().useDebugValue(T,q)},a.useDeferredValue=function(T,q){return oe().useDeferredValue(T,q)},a.useEffect=function(T,q){return T==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),oe().useEffect(T,q)},a.useEffectEvent=function(T){return oe().useEffectEvent(T)},a.useId=function(){return oe().useId()},a.useImperativeHandle=function(T,q,de){return oe().useImperativeHandle(T,q,de)},a.useInsertionEffect=function(T,q){return T==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),oe().useInsertionEffect(T,q)},a.useLayoutEffect=function(T,q){return T==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),oe().useLayoutEffect(T,q)},a.useMemo=function(T,q){return oe().useMemo(T,q)},a.useOptimistic=function(T,q){return oe().useOptimistic(T,q)},a.useReducer=function(T,q,de){return oe().useReducer(T,q,de)},a.useRef=function(T){return oe().useRef(T)},a.useState=function(T){return oe().useState(T)},a.useSyncExternalStore=function(T,q,de){return oe().useSyncExternalStore(T,q,de)},a.useTransition=function(){return oe().useTransition()},a.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(gc,gc.exports)),gc.exports}var XT;function Oc(){return XT||(XT=1,zy.exports=uz()),zy.exports}var QT;function cz(){if(QT)return ah;QT=1;return(function(){function n(U){if(U==null)return null;if(typeof U=="function")return U.$$typeof===he?null:U.displayName||U.name||null;if(typeof U=="string")return U;switch(U){case R:return"Fragment";case X:return"Profiler";case z:return"StrictMode";case G:return"Suspense";case ge:return"SuspenseList";case F:return"Activity"}if(typeof U=="object")switch(typeof U.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),U.$$typeof){case V:return"Portal";case ie:return U.displayName||"Context";case I:return(U._context.displayName||"Context")+".Consumer";case re:var ue=U.render;return U=U.displayName,U||(U=ue.displayName||ue.name||"",U=U!==""?"ForwardRef("+U+")":"ForwardRef"),U;case se:return ue=U.displayName||null,ue!==null?ue:n(U.type)||"Memo";case ce:ue=U._payload,U=U._init;try{return n(U(ue))}catch{}}return null}function a(U){return""+U}function i(U){try{a(U);var ue=!1}catch{ue=!0}if(ue){ue=console;var C=ue.error,xe=typeof Symbol=="function"&&Symbol.toStringTag&&U[Symbol.toStringTag]||U.constructor.name||"Object";return C.call(ue,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",xe),a(U)}}function s(U){if(U===R)return"<>";if(typeof U=="object"&&U!==null&&U.$$typeof===ce)return"<...>";try{var ue=n(U);return ue?"<"+ue+">":"<...>"}catch{return"<...>"}}function u(){var U=oe.A;return U===null?null:U.getOwner()}function f(){return Error("react-stack-top-frame")}function d(U){if(Q.call(U,"key")){var ue=Object.getOwnPropertyDescriptor(U,"key").get;if(ue&&ue.isReactWarning)return!1}return U.key!==void 0}function h(U,ue){function C(){Y||(Y=!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)",ue))}C.isReactWarning=!0,Object.defineProperty(U,"key",{get:C,configurable:!0})}function b(){var U=n(this.type);return le[U]||(le[U]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),U=this.props.ref,U!==void 0?U:null}function g(U,ue,C,xe,at,yn){var je=C.ref;return U={$$typeof:N,type:U,key:ue,props:C,_owner:xe},(je!==void 0?je:null)!==null?Object.defineProperty(U,"ref",{enumerable:!1,get:b}):Object.defineProperty(U,"ref",{enumerable:!1,value:null}),U._store={},Object.defineProperty(U._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(U,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(U,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:at}),Object.defineProperty(U,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:yn}),Object.freeze&&(Object.freeze(U.props),Object.freeze(U)),U}function p(U,ue,C,xe,at,yn){var je=ue.children;if(je!==void 0)if(xe)if(ne(je)){for(xe=0;xe<je.length;xe++)v(je[xe]);Object.freeze&&Object.freeze(je)}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 v(je);if(Q.call(ue,"key")){je=n(U);var Ke=Object.keys(ue).filter(function(Lt){return Lt!=="key"});xe=0<Ke.length?"{key: someKey, "+Ke.join(": ..., ")+": ...}":"{key: someKey}",O[je+xe]||(Ke=0<Ke.length?"{"+Ke.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
14
|
+
let props = %s;
|
|
15
|
+
<%s {...props} />
|
|
16
|
+
React keys must be passed directly to JSX without using spread:
|
|
17
|
+
let props = %s;
|
|
18
|
+
<%s key={someKey} {...props} />`,xe,je,Ke,je),O[je+xe]=!0)}if(je=null,C!==void 0&&(i(C),je=""+C),d(ue)&&(i(ue.key),je=""+ue.key),"key"in ue){C={};for(var Ut in ue)Ut!=="key"&&(C[Ut]=ue[Ut])}else C=ue;return je&&h(C,typeof U=="function"?U.displayName||U.name||"Unknown":U),g(U,je,C,u(),at,yn)}function v(U){x(U)?U._store&&(U._store.validated=1):typeof U=="object"&&U!==null&&U.$$typeof===ce&&(U._payload.status==="fulfilled"?x(U._payload.value)&&U._payload.value._store&&(U._payload.value._store.validated=1):U._store&&(U._store.validated=1))}function x(U){return typeof U=="object"&&U!==null&&U.$$typeof===N}var S=Oc(),N=Symbol.for("react.transitional.element"),V=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),ie=Symbol.for("react.context"),re=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),ge=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),ce=Symbol.for("react.lazy"),F=Symbol.for("react.activity"),he=Symbol.for("react.client.reference"),oe=S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=Object.prototype.hasOwnProperty,ne=Array.isArray,ae=console.createTask?console.createTask:function(){return null};S={react_stack_bottom_frame:function(U){return U()}};var Y,le={},ye=S.react_stack_bottom_frame.bind(S,f)(),Me=ae(s(f)),O={};ah.Fragment=R,ah.jsxDEV=function(U,ue,C,xe){var at=1e4>oe.recentlyCreatedOwnerStacks++;return p(U,ue,C,xe,at?Error("react-stack-top-frame"):ye,at?ae(s(U)):Me)}})(),ah}var ZT;function fz(){return ZT||(ZT=1,_y.exports=cz()),_y.exports}var k=fz(),me=Oc();const Bh=Rc(me);var Uy={exports:{}},lc={},jy={exports:{}},Vy={},JT;function dz(){return JT||(JT=1,(function(n){(function(){function a(){if(re=!1,ce){var Y=n.unstable_now();oe=Y;var le=!0;try{e:{I=!1,ie&&(ie=!1,ge(F),F=-1),X=!0;var ye=z;try{t:{for(d(Y),R=s(S);R!==null&&!(R.expirationTime>Y&&b());){var Me=R.callback;if(typeof Me=="function"){R.callback=null,z=R.priorityLevel;var O=Me(R.expirationTime<=Y);if(Y=n.unstable_now(),typeof O=="function"){R.callback=O,d(Y),le=!0;break t}R===s(S)&&u(S),d(Y)}else u(S);R=s(S)}if(R!==null)le=!0;else{var U=s(N);U!==null&&g(h,U.startTime-Y),le=!1}}break e}finally{R=null,z=ye,X=!1}le=void 0}}finally{le?Q():ce=!1}}}function i(Y,le){var ye=Y.length;Y.push(le);e:for(;0<ye;){var Me=ye-1>>>1,O=Y[Me];if(0<f(O,le))Y[Me]=le,Y[ye]=O,ye=Me;else break e}}function s(Y){return Y.length===0?null:Y[0]}function u(Y){if(Y.length===0)return null;var le=Y[0],ye=Y.pop();if(ye!==le){Y[0]=ye;e:for(var Me=0,O=Y.length,U=O>>>1;Me<U;){var ue=2*(Me+1)-1,C=Y[ue],xe=ue+1,at=Y[xe];if(0>f(C,ye))xe<O&&0>f(at,C)?(Y[Me]=at,Y[xe]=ye,Me=xe):(Y[Me]=C,Y[ue]=ye,Me=ue);else if(xe<O&&0>f(at,ye))Y[Me]=at,Y[xe]=ye,Me=xe;else break e}}return le}function f(Y,le){var ye=Y.sortIndex-le.sortIndex;return ye!==0?ye:Y.id-le.id}function d(Y){for(var le=s(N);le!==null;){if(le.callback===null)u(N);else if(le.startTime<=Y)u(N),le.sortIndex=le.expirationTime,i(S,le);else break;le=s(N)}}function h(Y){if(ie=!1,d(Y),!I)if(s(S)!==null)I=!0,ce||(ce=!0,Q());else{var le=s(N);le!==null&&g(h,le.startTime-Y)}}function b(){return re?!0:!(n.unstable_now()-oe<he)}function g(Y,le){F=G(function(){Y(n.unstable_now())},le)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var p=performance;n.unstable_now=function(){return p.now()}}else{var v=Date,x=v.now();n.unstable_now=function(){return v.now()-x}}var S=[],N=[],V=1,R=null,z=3,X=!1,I=!1,ie=!1,re=!1,G=typeof setTimeout=="function"?setTimeout:null,ge=typeof clearTimeout=="function"?clearTimeout:null,se=typeof setImmediate<"u"?setImmediate:null,ce=!1,F=-1,he=5,oe=-1;if(typeof se=="function")var Q=function(){se(a)};else if(typeof MessageChannel<"u"){var ne=new MessageChannel,ae=ne.port2;ne.port1.onmessage=a,Q=function(){ae.postMessage(null)}}else Q=function(){G(a,0)};n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(Y){Y.callback=null},n.unstable_forceFrameRate=function(Y){0>Y||125<Y?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):he=0<Y?Math.floor(1e3/Y):5},n.unstable_getCurrentPriorityLevel=function(){return z},n.unstable_next=function(Y){switch(z){case 1:case 2:case 3:var le=3;break;default:le=z}var ye=z;z=le;try{return Y()}finally{z=ye}},n.unstable_requestPaint=function(){re=!0},n.unstable_runWithPriority=function(Y,le){switch(Y){case 1:case 2:case 3:case 4:case 5:break;default:Y=3}var ye=z;z=Y;try{return le()}finally{z=ye}},n.unstable_scheduleCallback=function(Y,le,ye){var Me=n.unstable_now();switch(typeof ye=="object"&&ye!==null?(ye=ye.delay,ye=typeof ye=="number"&&0<ye?Me+ye:Me):ye=Me,Y){case 1:var O=-1;break;case 2:O=250;break;case 5:O=1073741823;break;case 4:O=1e4;break;default:O=5e3}return O=ye+O,Y={id:V++,callback:le,priorityLevel:Y,startTime:ye,expirationTime:O,sortIndex:-1},ye>Me?(Y.sortIndex=ye,i(N,Y),s(S)===null&&Y===s(N)&&(ie?(ge(F),F=-1):ie=!0,g(h,ye-Me))):(Y.sortIndex=O,i(S,Y),I||X||(I=!0,ce||(ce=!0,Q()))),Y},n.unstable_shouldYield=b,n.unstable_wrapCallback=function(Y){var le=z;return function(){var ye=z;z=le;try{return Y.apply(this,arguments)}finally{z=ye}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Vy)),Vy}var KT;function hz(){return KT||(KT=1,jy.exports=dz()),jy.exports}var Ly={exports:{}},Sn={},WT;function mz(){if(WT)return Sn;WT=1;return(function(){function n(){}function a(v){return""+v}function i(v,x,S){var N=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{a(N);var V=!1}catch{V=!0}return V&&(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&&N[Symbol.toStringTag]||N.constructor.name||"Object"),a(N)),{$$typeof:g,key:N==null?null:""+N,children:v,containerInfo:x,implementation:S}}function s(v,x){if(v==="font")return"";if(typeof x=="string")return x==="use-credentials"?x:""}function u(v){return v===null?"`null`":v===void 0?"`undefined`":v===""?"an empty string":'something with type "'+typeof v+'"'}function f(v){return v===null?"`null`":v===void 0?"`undefined`":v===""?"an empty string":typeof v=="string"?JSON.stringify(v):typeof v=="number"?"`"+v+"`":'something with type "'+typeof v+'"'}function d(){var v=p.H;return v===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:
|
|
19
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
20
|
+
2. You might be breaking the Rules of Hooks
|
|
21
|
+
3. You might have more than one copy of React in the same app
|
|
22
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),v}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var h=Oc(),b={d:{f:n,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},g=Symbol.for("react.portal"),p=h.__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"),Sn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=b,Sn.createPortal=function(v,x){var S=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!x||x.nodeType!==1&&x.nodeType!==9&&x.nodeType!==11)throw Error("Target container is not a DOM element.");return i(v,x,null,S)},Sn.flushSync=function(v){var x=p.T,S=b.p;try{if(p.T=null,b.p=2,v)return v()}finally{p.T=x,b.p=S,b.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},Sn.preconnect=function(v,x){typeof v=="string"&&v?x!=null&&typeof x!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",f(x)):x!=null&&typeof x.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.",u(x.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(v)),typeof v=="string"&&(x?(x=x.crossOrigin,x=typeof x=="string"?x==="use-credentials"?x:"":void 0):x=null,b.d.C(v,x))},Sn.prefetchDNS=function(v){if(typeof v!="string"||!v)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(v));else if(1<arguments.length){var x=arguments[1];typeof x=="object"&&x.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",f(x)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",f(x))}typeof v=="string"&&b.d.D(v)},Sn.preinit=function(v,x){if(typeof v=="string"&&v?x==null||typeof x!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",f(x)):x.as!=="style"&&x.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',f(x.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(v)),typeof v=="string"&&x&&typeof x.as=="string"){var S=x.as,N=s(S,x.crossOrigin),V=typeof x.integrity=="string"?x.integrity:void 0,R=typeof x.fetchPriority=="string"?x.fetchPriority:void 0;S==="style"?b.d.S(v,typeof x.precedence=="string"?x.precedence:void 0,{crossOrigin:N,integrity:V,fetchPriority:R}):S==="script"&&b.d.X(v,{crossOrigin:N,integrity:V,fetchPriority:R,nonce:typeof x.nonce=="string"?x.nonce:void 0})}},Sn.preinitModule=function(v,x){var S="";typeof v=="string"&&v||(S+=" The `href` argument encountered was "+u(v)+"."),x!==void 0&&typeof x!="object"?S+=" The `options` argument encountered was "+u(x)+".":x&&"as"in x&&x.as!=="script"&&(S+=" The `as` option encountered was "+f(x.as)+"."),S?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",S):(S=x&&typeof x.as=="string"?x.as:"script",S)==="script"||(S=f(S),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)',S,v)),typeof v=="string"&&(typeof x=="object"&&x!==null?(x.as==null||x.as==="script")&&(S=s(x.as,x.crossOrigin),b.d.M(v,{crossOrigin:S,integrity:typeof x.integrity=="string"?x.integrity:void 0,nonce:typeof x.nonce=="string"?x.nonce:void 0})):x==null&&b.d.M(v))},Sn.preload=function(v,x){var S="";if(typeof v=="string"&&v||(S+=" The `href` argument encountered was "+u(v)+"."),x==null||typeof x!="object"?S+=" The `options` argument encountered was "+u(x)+".":typeof x.as=="string"&&x.as||(S+=" The `as` option encountered was "+u(x.as)+"."),S&&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',S),typeof v=="string"&&typeof x=="object"&&x!==null&&typeof x.as=="string"){S=x.as;var N=s(S,x.crossOrigin);b.d.L(v,S,{crossOrigin:N,integrity:typeof x.integrity=="string"?x.integrity:void 0,nonce:typeof x.nonce=="string"?x.nonce:void 0,type:typeof x.type=="string"?x.type:void 0,fetchPriority:typeof x.fetchPriority=="string"?x.fetchPriority:void 0,referrerPolicy:typeof x.referrerPolicy=="string"?x.referrerPolicy:void 0,imageSrcSet:typeof x.imageSrcSet=="string"?x.imageSrcSet:void 0,imageSizes:typeof x.imageSizes=="string"?x.imageSizes:void 0,media:typeof x.media=="string"?x.media:void 0})}},Sn.preloadModule=function(v,x){var S="";typeof v=="string"&&v||(S+=" The `href` argument encountered was "+u(v)+"."),x!==void 0&&typeof x!="object"?S+=" The `options` argument encountered was "+u(x)+".":x&&"as"in x&&typeof x.as!="string"&&(S+=" The `as` option encountered was "+u(x.as)+"."),S&&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',S),typeof v=="string"&&(x?(S=s(x.as,x.crossOrigin),b.d.m(v,{as:typeof x.as=="string"&&x.as!=="script"?x.as:void 0,crossOrigin:S,integrity:typeof x.integrity=="string"?x.integrity:void 0})):b.d.m(v))},Sn.requestFormReset=function(v){b.d.r(v)},Sn.unstable_batchedUpdates=function(v,x){return v(x)},Sn.useFormState=function(v,x,S){return d().useFormState(v,x,S)},Sn.useFormStatus=function(){return d().useHostTransitionStatus()},Sn.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),Sn}var eA;function pz(){return eA||(eA=1,Ly.exports=mz()),Ly.exports}var tA;function gz(){if(tA)return lc;tA=1;return(function(){function n(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function a(e,t,r,o){if(r>=t.length)return o;var l=t[r],c=en(e)?e.slice():Je({},e);return c[l]=a(e[l],t,r+1,o),c}function i(e,t,r){if(t.length!==r.length)console.warn("copyWithRename() expects paths of the same length");else{for(var o=0;o<r.length-1;o++)if(t[o]!==r[o]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return s(e,t,r,0)}}function s(e,t,r,o){var l=t[o],c=en(e)?e.slice():Je({},e);return o+1===t.length?(c[r[o]]=c[l],en(c)?c.splice(l,1):delete c[l]):c[l]=s(e[l],t,r,o+1),c}function u(e,t,r){var o=t[r],l=en(e)?e.slice():Je({},e);return r+1===t.length?(en(l)?l.splice(o,1):delete l[o],l):(l[o]=u(e[o],t,r+1),l)}function f(){return!1}function d(){return null}function h(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function b(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function g(){}function p(){}function v(e){var t=[];return e.forEach(function(r){t.push(r)}),t.sort().join(", ")}function x(e,t,r,o){return new ZR(e,t,r,o)}function S(e,t){e.context===Vi&&(Kp(e.current,2,t,e,null,null),Es())}function N(e,t){if(Tr!==null){var r=t.staleFamilies;t=t.updatedFamilies,ru(),W0(e.current,t,r),Es()}}function V(e){Tr=e}function R(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function z(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function X(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 I(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ie(e){if(z(e)!==e)throw Error("Unable to find node on an unmounted component.")}function re(e){var t=e.alternate;if(!t){if(t=z(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var r=e,o=t;;){var l=r.return;if(l===null)break;var c=l.alternate;if(c===null){if(o=l.return,o!==null){r=o;continue}break}if(l.child===c.child){for(c=l.child;c;){if(c===r)return ie(l),e;if(c===o)return ie(l),t;c=c.sibling}throw Error("Unable to find node on an unmounted component.")}if(r.return!==o.return)r=l,o=c;else{for(var m=!1,y=l.child;y;){if(y===r){m=!0,r=l,o=c;break}if(y===o){m=!0,o=l,r=c;break}y=y.sibling}if(!m){for(y=c.child;y;){if(y===r){m=!0,r=c,o=l;break}if(y===o){m=!0,o=c,r=l;break}y=y.sibling}if(!m)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(r.alternate!==o)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(r.tag!==3)throw Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}function G(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=G(e),t!==null)return t;e=e.sibling}return null}function ge(e){return e===null||typeof e!="object"?null:(e=oD&&e[oD]||e["@@iterator"],typeof e=="function"?e:null)}function se(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===bM?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Rs:return"Fragment";case ig:return"Profiler";case Kf:return"StrictMode";case sg:return"Suspense";case lg:return"SuspenseList";case ug: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 Cs:return"Portal";case Sa:return e.displayName||"Context";case og:return(e._context.displayName||"Context")+".Consumer";case hu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Wf:return t=e.displayName||null,t!==null?t:se(e.type)||"Memo";case sr:t=e._payload,e=e._init;try{return se(e(t))}catch{}}return null}function ce(e){return typeof e.tag=="number"?F(e):typeof e.name=="string"?e.name:null}function F(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return se(t);case 8:return t===Kf?"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 r=t.length-1;0<=r;r--)if(typeof t[r].name=="string")return t[r].name}if(e.return!==null)return F(e.return)}return null}function he(e){return{current:e}}function oe(e,t){0>Za?console.error("Unexpected pop."):(t!==fg[Za]&&console.error("Unexpected Fiber popped."),e.current=cg[Za],cg[Za]=null,fg[Za]=null,Za--)}function Q(e,t,r){Za++,cg[Za]=e.current,fg[Za]=r,e.current=t}function ne(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 ae(e,t){Q(Oi,t,e),Q(mu,e,e),Q(Ri,null,e);var r=t.nodeType;switch(r){case 9:case 11:r=r===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?RS(t):fi;break;default:if(r=t.tagName,t=t.namespaceURI)t=RS(t),t=OS(t,r);else switch(r){case"svg":t=cl;break;case"math":t=Jd;break;default:t=fi}}r=r.toLowerCase(),r=T0(null,r),r={context:t,ancestorInfo:r},oe(Ri,e),Q(Ri,r,e)}function Y(e){oe(Ri,e),oe(mu,e),oe(Oi,e)}function le(){return ne(Ri.current)}function ye(e){e.memoizedState!==null&&Q(ed,e,e);var t=ne(Ri.current),r=e.type,o=OS(t.context,r);r=T0(t.ancestorInfo,r),o={context:o,ancestorInfo:r},t!==o&&(Q(mu,e,e),Q(Ri,o,e))}function Me(e){mu.current===e&&(oe(Ri,e),oe(mu,e)),ed.current===e&&(oe(ed,e),ic._currentValue=Jo)}function O(){}function U(){if(pu===0){sD=console.log,lD=console.info,uD=console.warn,cD=console.error,fD=console.group,dD=console.groupCollapsed,hD=console.groupEnd;var e={configurable:!0,enumerable:!0,value:O,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}pu++}function ue(){if(pu--,pu===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Je({},e,{value:sD}),info:Je({},e,{value:lD}),warn:Je({},e,{value:uD}),error:Je({},e,{value:cD}),group:Je({},e,{value:fD}),groupCollapsed:Je({},e,{value:dD}),groupEnd:Je({},e,{value:hD})})}0>pu&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function C(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
23
|
+
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
24
|
+
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
|
|
25
|
+
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function xe(e){if(dg===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);dg=t&&t[1]||"",mD=-1<r.stack.indexOf(`
|
|
26
|
+
at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
27
|
+
`+dg+e+mD}function at(e,t){if(!e||hg)return"";var r=mg.get(e);if(r!==void 0)return r;hg=!0,r=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var o=null;o=J.H,J.H=null,U();try{var l={DetermineComponentFrameRoot:function(){try{if(t){var _=function(){throw Error()};if(Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(ve){var $=ve}Reflect.construct(e,[],_)}else{try{_.call()}catch(ve){$=ve}e.call(_.prototype)}}else{try{throw Error()}catch(ve){$=ve}(_=e())&&typeof _.catch=="function"&&_.catch(function(){})}}catch(ve){if(ve&&$&&typeof ve.stack=="string")return[ve.stack,$.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var m=l.DetermineComponentFrameRoot(),y=m[0],D=m[1];if(y&&D){var E=y.split(`
|
|
28
|
+
`),B=D.split(`
|
|
29
|
+
`);for(m=c=0;c<E.length&&!E[c].includes("DetermineComponentFrameRoot");)c++;for(;m<B.length&&!B[m].includes("DetermineComponentFrameRoot");)m++;if(c===E.length||m===B.length)for(c=E.length-1,m=B.length-1;1<=c&&0<=m&&E[c]!==B[m];)m--;for(;1<=c&&0<=m;c--,m--)if(E[c]!==B[m]){if(c!==1||m!==1)do if(c--,m--,0>m||E[c]!==B[m]){var H=`
|
|
30
|
+
`+E[c].replace(" at new "," at ");return e.displayName&&H.includes("<anonymous>")&&(H=H.replace("<anonymous>",e.displayName)),typeof e=="function"&&mg.set(e,H),H}while(1<=c&&0<=m);break}}}finally{hg=!1,J.H=o,ue(),Error.prepareStackTrace=r}return E=(E=e?e.displayName||e.name:"")?xe(E):"",typeof e=="function"&&mg.set(e,E),E}function yn(e,t){switch(e.tag){case 26:case 27:case 5:return xe(e.type);case 16:return xe("Lazy");case 13:return e.child!==t&&t!==null?xe("Suspense Fallback"):xe("Suspense");case 19:return xe("SuspenseList");case 0:case 15:return at(e.type,!1);case 11:return at(e.type.render,!1);case 1:return at(e.type,!0);case 31:return xe("Activity");default:return""}}function je(e){try{var t="",r=null;do{t+=yn(e,r);var o=e._debugInfo;if(o)for(var l=o.length-1;0<=l;l--){var c=o[l];if(typeof c.name=="string"){var m=t;e:{var y=c.name,D=c.env,E=c.debugLocation;if(E!=null){var B=C(E),H=B.lastIndexOf(`
|
|
31
|
+
`),_=H===-1?B:B.slice(H+1);if(_.indexOf(y)!==-1){var $=`
|
|
32
|
+
`+_;break e}}$=xe(y+(D?" ["+D+"]":""))}t=m+$}}r=e,e=e.return}while(e);return t}catch(ve){return`
|
|
33
|
+
Error generating stack: `+ve.message+`
|
|
34
|
+
`+ve.stack}}function Ke(e){return(e=e?e.displayName||e.name:"")?xe(e):""}function Ut(){if(lr===null)return null;var e=lr._debugOwner;return e!=null?ce(e):null}function Lt(){if(lr===null)return"";var e=lr;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=xe(e.type);break;case 13:t+=xe("Suspense");break;case 19:t+=xe("SuspenseList");break;case 31:t+=xe("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Ke(e.type));break;case 11:e._debugOwner||t!==""||(t+=Ke(e.type.render))}for(;e;)if(typeof e.tag=="number"){var r=e;e=r._debugOwner;var o=r._debugStack;if(e&&o){var l=C(o);l!==""&&(t+=`
|
|
35
|
+
`+l)}}else if(e.debugStack!=null){var c=e.debugStack;(e=e.owner)&&c&&(t+=`
|
|
36
|
+
`+C(c))}else break;var m=t}catch(y){m=`
|
|
37
|
+
Error generating stack: `+y.message+`
|
|
38
|
+
`+y.stack}return m}function De(e,t,r,o,l,c,m){var y=lr;Kn(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,r,o,l,c,m)):t(r,o,l,c,m)}finally{Kn(y)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Kn(e){J.getCurrentStack=e===null?null:Lt,Da=!1,lr=e}function Hr(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function Ba(e){try{return Pr(e),!1}catch{return!0}}function Pr(e){return""+e}function lt(e,t){if(Ba(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,Hr(e)),Pr(e)}function Wt(e,t){if(Ba(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,Hr(e)),Pr(e)}function gi(e){if(Ba(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.",Hr(e)),Pr(e)}function ls(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{Ms=t.inject(e),vn=t}catch(r){console.error("React instrumentation encountered an error: %o.",r)}return!!t.checkDCE}function we(e){if(typeof AM=="function"&&wM(e),vn&&typeof vn.setStrictMode=="function")try{vn.setStrictMode(Ms,e)}catch(t){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %o",t))}}function yi(e){return e>>>=0,e===0?32:31-(NM(e)/kM|0)|0}function gr(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function Ha(e,t,r){var o=e.pendingLanes;if(o===0)return 0;var l=0,c=e.suspendedLanes,m=e.pingedLanes;e=e.warmLanes;var y=o&134217727;return y!==0?(o=y&~c,o!==0?l=gr(o):(m&=y,m!==0?l=gr(m):r||(r=y&~e,r!==0&&(l=gr(r))))):(y=o&~c,y!==0?l=gr(y):m!==0?l=gr(m):r||(r=o&~e,r!==0&&(l=gr(r)))),l===0?0:t!==0&&t!==l&&(t&c)===0&&(c=l&-l,r=t&-t,c>=r||c===32&&(r&4194048)!==0)?t:l}function na(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function us(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 W(){var e=rd;return rd<<=1,(rd&62914560)===0&&(rd=4194304),e}function ee(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Te(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ie(e,t,r,o,l,c){var m=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var y=e.entanglements,D=e.expirationTimes,E=e.hiddenUpdates;for(r=m&~r;0<r;){var B=31-Rn(r),H=1<<B;y[B]=0,D[B]=-1;var _=E[B];if(_!==null)for(E[B]=null,B=0;B<_.length;B++){var $=_[B];$!==null&&($.lane&=-536870913)}r&=~H}o!==0&&it(e,o,0),c!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=c&~(m&~t))}function it(e,t,r){e.pendingLanes|=t,e.suspendedLanes&=~t;var o=31-Rn(t);e.entangledLanes|=t,e.entanglements[o]=e.entanglements[o]|1073741824|r&261930}function Pt(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var o=31-Rn(r),l=1<<o;l&t|e[o]&t&&(e[o]|=t),r&=~l}}function wn(e,t){var r=t&-t;return r=(r&42)!==0?1:an(r),(r&(e.suspendedLanes|t))!==0?0:r}function an(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 Wn(e,t,r){if(Ta)for(e=e.pendingUpdatersLaneMap;0<r;){var o=31-Rn(r),l=1<<o;e[o].add(t),r&=~l}}function yr(e,t){if(Ta)for(var r=e.pendingUpdatersLaneMap,o=e.memoizedUpdaters;0<t;){var l=31-Rn(t);e=1<<l,l=r[l],0<l.size&&(l.forEach(function(c){var m=c.alternate;m!==null&&o.has(m)||o.add(c)}),l.clear()),t&=~e}}function qt(e){return e&=-e,Sr<e?Aa<e?(e&134217727)!==0?Ja:ad:Aa:Sr}function Nn(){var e=ft.p;return e!==0?e:(e=window.event,e===void 0?Ja:WS(e.type))}function T(e,t){var r=ft.p;try{return ft.p=e,t()}finally{ft.p=r}}function q(e){delete e[mn],delete e[On],delete e[vg],delete e[CM],delete e[RM]}function de(e){var t=e[mn];if(t)return t;for(var r=e.parentNode;r;){if(t=r[_i]||r[mn]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=BS(e);e!==null;){if(r=e[mn])return r;e=BS(e)}return t}e=r,r=e.parentNode}return null}function be(e){if(e=e[mn]||e[_i]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function ke(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Pe(e){var t=e[pD];return t||(t=e[pD]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Oe(e){e[gu]=!0}function ot(e,t){qe(e,t),qe(e+"Capture",t)}function qe(e,t){ko[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),ko[e]=t;var r=e.toLowerCase();for(xg[r]=e,e==="onDoubleClick"&&(xg.ondblclick=e),e=0;e<t.length;e++)gD.add(t[e])}function kn(e,t){OM[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 ra(e){return Gr.call(bD,e)?!0:Gr.call(yD,e)?!1:MM.test(e)?bD[e]=!0:(yD[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Ic(e,t,r){if(ra(t)){if(!e.hasAttribute(t)){switch(typeof r){case"symbol":case"object":return r;case"function":return r;case"boolean":if(r===!1)return r}return r===void 0?void 0:null}return e=e.getAttribute(t),e===""&&r===!0?!0:(lt(r,t),e===""+r?r:e)}}function cs(e,t,r){if(ra(t))if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var o=t.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(t);return}}lt(r,t),e.setAttribute(t,""+r)}}function Fc(e,t,r){if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}lt(r,t),e.setAttribute(t,""+r)}}function Pa(e,t,r,o){if(o===null)e.removeAttribute(r);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}lt(o,r),e.setAttributeNS(t,r,""+o)}}function br(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return gi(e),e;default:return""}}function c0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function NR(e,t,r){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var l=o.get,c=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(m){gi(m),r=""+m,c.call(this,m)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return r},setValue:function(m){gi(m),r=""+m},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Kh(e){if(!e._valueTracker){var t=c0(e)?"checked":"value";e._valueTracker=NR(e,t,""+e[t])}}function f0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),o="";return e&&(o=c0(e)?e.checked?"true":"false":e.value),e=o,e!==r?(t.setValue(e),!0):!1}function Yc(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 vr(e){return e.replace(_M,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function d0(e,t){t.checked===void 0||t.defaultChecked===void 0||xD||(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",Ut()||"A component",t.type),xD=!0),t.value===void 0||t.defaultValue===void 0||vD||(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",Ut()||"A component",t.type),vD=!0)}function Wh(e,t,r,o,l,c,m,y){e.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?(lt(m,"type"),e.type=m):e.removeAttribute("type"),t!=null?m==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+br(t)):e.value!==""+br(t)&&(e.value=""+br(t)):m!=="submit"&&m!=="reset"||e.removeAttribute("value"),t!=null?em(e,m,br(t)):r!=null?em(e,m,br(r)):o!=null&&e.removeAttribute("value"),l==null&&c!=null&&(e.defaultChecked=!!c),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?(lt(y,"name"),e.name=""+br(y)):e.removeAttribute("name")}function h0(e,t,r,o,l,c,m,y){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(lt(c,"type"),e.type=c),t!=null||r!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){Kh(e);return}r=r!=null?""+br(r):"",t=t!=null?""+br(t):r,y||t===e.value||(e.value=t),e.defaultValue=t}o=o??l,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=y?e.checked:!!o,e.defaultChecked=!!o,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(lt(m,"name"),e.name=m),Kh(e)}function em(e,t,r){t==="number"&&Yc(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function m0(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?ag.Children.forEach(t.children,function(r){r==null||typeof r=="string"||typeof r=="number"||typeof r=="bigint"||DD||(DD=!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||ED||(ED=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||SD||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),SD=!0)}function p0(){var e=Ut();return e?`
|
|
39
|
+
|
|
40
|
+
Check the render method of \``+e+"`.":""}function fs(e,t,r,o){if(e=e.options,t){t={};for(var l=0;l<r.length;l++)t["$"+r[l]]=!0;for(r=0;r<e.length;r++)l=t.hasOwnProperty("$"+e[r].value),e[r].selected!==l&&(e[r].selected=l),l&&o&&(e[r].defaultSelected=!0)}else{for(r=""+br(r),t=null,l=0;l<e.length;l++){if(e[l].value===r){e[l].selected=!0,o&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function g0(e,t){for(e=0;e<AD.length;e++){var r=AD[e];if(t[r]!=null){var o=en(t[r]);t.multiple&&!o?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",r,p0()):!t.multiple&&o&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",r,p0())}}t.value===void 0||t.defaultValue===void 0||TD||(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"),TD=!0)}function y0(e,t){t.value===void 0||t.defaultValue===void 0||wD||(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",Ut()||"A component"),wD=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function b0(e,t,r){if(t!=null&&(t=""+br(t),t!==e.value&&(e.value=t),r==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=r!=null?""+br(r):""}function v0(e,t,r,o){if(t==null){if(o!=null){if(r!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(en(o)){if(1<o.length)throw Error("<textarea> can only have at most one child.");o=o[0]}r=o}r==null&&(r=""),t=r}r=br(t),e.defaultValue=r,o=e.textContent,o===r&&o!==""&&o!==null&&(e.value=o),Kh(e)}function x0(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?x0(e.children[0],t):e}function er(e){return" "+" ".repeat(e)}function ds(e){return"+ "+" ".repeat(e)}function ho(e){return"- "+" ".repeat(e)}function S0(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function _l(e,t){return ND.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 Gc(e,t,r){var o=120-2*r;if(t===null)return ds(r)+_l(e,o)+`
|
|
41
|
+
`;if(typeof t=="string"){for(var l=0;l<t.length&&l<e.length&&t.charCodeAt(l)===e.charCodeAt(l);l++);return l>o-8&&10<l&&(e="..."+e.slice(l-8),t="..."+t.slice(l-8)),ds(r)+_l(e,o)+`
|
|
42
|
+
`+ho(r)+_l(t,o)+`
|
|
43
|
+
`}return er(r)+_l(e,o)+`
|
|
44
|
+
`}function tm(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,r){return r})}function zl(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(en(e))return"[...]";if(e.$$typeof===xa)return(t=se(e.type))?"<"+t+">":"<...>";var r=tm(e);if(r==="Object"){r="",t-=2;for(var o in e)if(e.hasOwnProperty(o)){var l=JSON.stringify(o);if(l!=='"'+o+'"'&&(o=l),t-=o.length-2,l=zl(e[o],15>t?t:15),t-=l.length,0>t){r+=r===""?"...":", ...";break}r+=(r===""?"":",")+o+":"+l}return"{"+r+"}"}return r;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function hs(e,t){return typeof e!="string"||ND.test(e)?"{"+zl(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function nm(e,t,r){var o=120-r.length-e.length,l=[],c;for(c in t)if(t.hasOwnProperty(c)&&c!=="children"){var m=hs(t[c],120-r.length-c.length-1);o-=c.length+m.length+2,l.push(c+"="+m)}return l.length===0?r+"<"+e+`>
|
|
45
|
+
`:0<o?r+"<"+e+" "+l.join(" ")+`>
|
|
46
|
+
`:r+"<"+e+`
|
|
47
|
+
`+r+" "+l.join(`
|
|
48
|
+
`+r+" ")+`
|
|
49
|
+
`+r+`>
|
|
50
|
+
`}function kR(e,t,r){var o="",l=Je({},t),c;for(c in e)if(e.hasOwnProperty(c)){delete l[c];var m=120-2*r-c.length-2,y=zl(e[c],m);t.hasOwnProperty(c)?(m=zl(t[c],m),o+=ds(r)+c+": "+y+`
|
|
51
|
+
`,o+=ho(r)+c+": "+m+`
|
|
52
|
+
`):o+=ds(r)+c+": "+y+`
|
|
53
|
+
`}for(var D in l)l.hasOwnProperty(D)&&(e=zl(l[D],120-2*r-D.length-2),o+=ho(r)+D+": "+e+`
|
|
54
|
+
`);return o}function CR(e,t,r,o){var l="",c=new Map;for(E in r)r.hasOwnProperty(E)&&c.set(E.toLowerCase(),E);if(c.size===1&&c.has("children"))l+=nm(e,t,er(o));else{for(var m in t)if(t.hasOwnProperty(m)&&m!=="children"){var y=120-2*(o+1)-m.length-1,D=c.get(m.toLowerCase());if(D!==void 0){c.delete(m.toLowerCase());var E=t[m];D=r[D];var B=hs(E,y);y=hs(D,y),typeof E=="object"&&E!==null&&typeof D=="object"&&D!==null&&tm(E)==="Object"&&tm(D)==="Object"&&(2<Object.keys(E).length||2<Object.keys(D).length||-1<B.indexOf("...")||-1<y.indexOf("..."))?l+=er(o+1)+m+`={{
|
|
55
|
+
`+kR(E,D,o+2)+er(o+1)+`}}
|
|
56
|
+
`:(l+=ds(o+1)+m+"="+B+`
|
|
57
|
+
`,l+=ho(o+1)+m+"="+y+`
|
|
58
|
+
`)}else l+=er(o+1)+m+"="+hs(t[m],y)+`
|
|
59
|
+
`}c.forEach(function(H){if(H!=="children"){var _=120-2*(o+1)-H.length-1;l+=ho(o+1)+H+"="+hs(r[H],_)+`
|
|
60
|
+
`}}),l=l===""?er(o)+"<"+e+`>
|
|
61
|
+
`:er(o)+"<"+e+`
|
|
62
|
+
`+l+er(o)+`>
|
|
63
|
+
`}return e=r.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(c="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(c=""+t),l+=Gc(c,""+e,o+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(l=e==null?l+Gc(""+t,null,o+1):l+Gc(""+t,void 0,o+1)),l}function D0(e,t){var r=S0(e);if(r===null){for(r="",e=e.child;e;)r+=D0(e,t),e=e.sibling;return r}return er(t)+"<"+r+`>
|
|
64
|
+
`}function rm(e,t){var r=x0(e,t);if(r!==e&&(e.children.length!==1||e.children[0]!==r))return er(t)+`...
|
|
65
|
+
`+rm(r,t+1);r="";var o=e.fiber._debugInfo;if(o)for(var l=0;l<o.length;l++){var c=o[l].name;typeof c=="string"&&(r+=er(t)+"<"+c+`>
|
|
66
|
+
`,t++)}if(o="",l=e.fiber.pendingProps,e.fiber.tag===6)o=Gc(l,e.serverProps,t),t++;else if(c=S0(e.fiber),c!==null)if(e.serverProps===void 0){o=t;var m=120-2*o-c.length-2,y="";for(E in l)if(l.hasOwnProperty(E)&&E!=="children"){var D=hs(l[E],15);if(m-=E.length+D.length+2,0>m){y+=" ...";break}y+=" "+E+"="+D}o=er(o)+"<"+c+y+`>
|
|
67
|
+
`,t++}else e.serverProps===null?(o=nm(c,l,ds(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(o=CR(c,l,e.serverProps,t),t++);var E="";for(l=e.fiber.child,c=0;l&&c<e.children.length;)m=e.children[c],m.fiber===l?(E+=rm(m,t),c++):E+=D0(l,t),l=l.sibling;for(l&&0<e.children.length&&(E+=er(t)+`...
|
|
68
|
+
`),l=e.serverTail,e.serverProps===null&&t--,e=0;e<l.length;e++)c=l[e],E=typeof c=="string"?E+(ho(t)+_l(c,120-2*t)+`
|
|
69
|
+
`):E+nm(c.type,c.props,ho(t));return r+o+E}function am(e){try{return`
|
|
70
|
+
|
|
71
|
+
`+rm(e,0)}catch{return""}}function E0(e,t,r){for(var o=t,l=null,c=0;o;)o===e&&(c=0),l={fiber:o,children:l!==null?[l]:[],serverProps:o===t?r:o===e?null:void 0,serverTail:[],distanceFromLeaf:c},c++,o=o.return;return l!==null?am(l).replaceAll(/^[+-]/gm,">"):""}function T0(e,t){var r=Je({},e||CD),o={tag:t};return kD.indexOf(t)!==-1&&(r.aTagInScope=null,r.buttonTagInScope=null,r.nobrTagInScope=null),UM.indexOf(t)!==-1&&(r.pTagInButtonScope=null),zM.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(r.listItemTagAutoclosing=null,r.dlItemTagAutoclosing=null),r.current=o,t==="form"&&(r.formTag=o),t==="a"&&(r.aTagInScope=o),t==="button"&&(r.buttonTagInScope=o),t==="nobr"&&(r.nobrTagInScope=o),t==="p"&&(r.pTagInButtonScope=o),t==="li"&&(r.listItemTagAutoclosing=o),(t==="dd"||t==="dt")&&(r.dlItemTagAutoclosing=o),t==="#document"||t==="html"?r.containerTagInScope=null:r.containerTagInScope||(r.containerTagInScope=o),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?r.implicitRootScope===!0&&(r.implicitRootScope=!1):r.implicitRootScope=!0,r}function A0(e,t,r){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(r)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!r)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 jM.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 r||t===null;case"html":return r&&t==="#document"||t===null;case"body":return r&&(t==="#document"||t==="html")||t===null}return!0}function RR(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 w0(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 im(e,t){t=t||CD;var r=t.current;if(t=(r=A0(e,r&&r.tag,t.implicitRootScope)?null:r)?null:RR(e,t),t=r||t,!t)return!0;var o=t.tag;if(t=String(!!r)+"|"+e+"|"+o,id[t])return!1;id[t]=!0;var l=(t=lr)?w0(t.return,o):null,c=t!==null&&l!==null?E0(l,t,null):"",m="<"+e+">";return r?(r="",o==="table"&&e==="tr"&&(r+=" 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
|
|
72
|
+
This will cause a hydration error.%s`,m,o,r,c)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
73
|
+
This will cause a hydration error.%s`,m,o,c),t&&(e=t.return,l===null||e===null||l===e&&e._debugOwner===t._debugOwner||De(l,function(){console.error(`<%s> cannot contain a nested %s.
|
|
74
|
+
See this log for the ancestor stack trace.`,o,m)})),!1}function $c(e,t,r){if(r||A0("#text",t,!1))return!0;if(r="#text|"+t,id[r])return!1;id[r]=!0;var o=(r=lr)?w0(r,t):null;return r=r!==null&&o!==null?E0(o,r,r.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
75
|
+
This will cause a hydration error.%s`,t,r):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.
|
|
76
|
+
This will cause a hydration error.%s`,t,r),!1}function Ul(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}function OR(e){return e.replace(BM,function(t,r){return r.toUpperCase()})}function N0(e,t,r){var o=t.indexOf("--")===0;o||(-1<t.indexOf("-")?_s.hasOwnProperty(t)&&_s[t]||(_s[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,OR(t.replace(LM,"ms-")))):VM.test(t)?_s.hasOwnProperty(t)&&_s[t]||(_s[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!MD.test(r)||Dg.hasOwnProperty(r)&&Dg[r]||(Dg[r]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,r.replace(MD,""))),typeof r=="number"&&(isNaN(r)?_D||(_D=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(r)||zD||(zD=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),r==null||typeof r=="boolean"||r===""?o?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":o?e.setProperty(t,r):typeof r!="number"||r===0||UD.has(t)?t==="float"?e.cssFloat=r:(Wt(r,t),e[t]=(""+r).trim()):e[t]=r+"px"}function k0(e,t,r){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,r!=null){if(t){var o={};if(r){for(var l in r)if(r.hasOwnProperty(l)&&!t.hasOwnProperty(l))for(var c=Sg[l]||[l],m=0;m<c.length;m++)o[c[m]]=l}for(var y in t)if(t.hasOwnProperty(y)&&(!r||r[y]!==t[y]))for(l=Sg[y]||[y],c=0;c<l.length;c++)o[l[c]]=y;y={};for(var D in t)for(l=Sg[D]||[D],c=0;c<l.length;c++)y[l[c]]=D;D={};for(var E in o)if(l=o[E],(c=y[E])&&l!==c&&(m=l+","+c,!D[m])){D[m]=!0,m=console;var B=t[l];m.error.call(m,"%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.",B==null||typeof B=="boolean"||B===""?"Removing":"Updating",l,c)}}for(var H in r)!r.hasOwnProperty(H)||t!=null&&t.hasOwnProperty(H)||(H.indexOf("--")===0?e.setProperty(H,""):H==="float"?e.cssFloat="":e[H]="");for(var _ in t)E=t[_],t.hasOwnProperty(_)&&r[_]!==E&&N0(e,_,E)}else for(o in t)t.hasOwnProperty(o)&&N0(e,o,t[o])}function jl(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 C0(e){return HM.get(e)||e}function MR(e,t){if(Gr.call(Us,t)&&Us[t])return!0;if(qM.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=jD.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Us[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Us[t]=!0}if(PM.test(t)){if(e=t.toLowerCase(),e=jD.hasOwnProperty(e)?e:null,e==null)return Us[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Us[t]=!0)}return!0}function _R(e,t){var r=[],o;for(o in t)MR(e,o)||r.push(o);t=r.map(function(l){return"`"+l+"`"}).join(", "),r.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<r.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function zR(e,t,r,o){if(Gr.call(Mn,t)&&Mn[t])return!0;var l=t.toLowerCase();if(l==="onfocusin"||l==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Mn[t]=!0;if(typeof r=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(o!=null){if(e=o.possibleRegistrationNames,o.registrationNameDependencies.hasOwnProperty(t))return!0;if(o=e.hasOwnProperty(l)?e[l]:null,o!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,o),Mn[t]=!0;if(LD.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Mn[t]=!0}else if(LD.test(t))return IM.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Mn[t]=!0;if(FM.test(t)||YM.test(t))return!0;if(l==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Mn[t]=!0;if(l==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Mn[t]=!0;if(l==="is"&&r!==null&&r!==void 0&&typeof r!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof r),Mn[t]=!0;if(typeof r=="number"&&isNaN(r))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Mn[t]=!0;if(sd.hasOwnProperty(l)){if(l=sd[l],l!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,l),Mn[t]=!0}else if(t!==l)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,l),Mn[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 r){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return l=t.toLowerCase().slice(0,5),l==="data-"||l==="aria-"?!0:(r?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()}.',r,t,t,r,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.',r,t,t,r,t,t,t),Mn[t]=!0)}case"function":case"symbol":return Mn[t]=!0,!1;case"string":if(r==="false"||r==="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}?",r,t,r==="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,r),Mn[t]=!0}}return!0}function UR(e,t,r){var o=[],l;for(l in t)zR(e,l,t[l],r)||o.push(l);t=o.map(function(c){return"`"+c+"`"}).join(", "),o.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<o.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function Vl(e){return GM.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function qa(){}function om(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function R0(e){var t=be(e);if(t&&(e=t.stateNode)){var r=e[On]||null;e:switch(e=t.stateNode,t.type){case"input":if(Wh(e,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(lt(t,"name"),r=r.querySelectorAll('input[name="'+vr(""+t)+'"][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var l=o[On]||null;if(!l)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Wh(o,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(t=0;t<r.length;t++)o=r[t],o.form===e.form&&f0(o)}break e;case"textarea":b0(e,r.value,r.defaultValue);break e;case"select":t=r.value,t!=null&&fs(e,!!r.multiple,t,!1)}}}function O0(e,t,r){if(Eg)return e(t,r);Eg=!0;try{var o=e(t);return o}finally{if(Eg=!1,(js!==null||Vs!==null)&&(Es(),js&&(t=js,e=Vs,Vs=js=null,R0(t),e)))for(t=0;t<e.length;t++)R0(e[t])}}function Ll(e,t){var r=e.stateNode;if(r===null)return null;var o=r[On]||null;if(o===null)return null;r=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof r+"` type.");return r}function M0(){if(ld)return ld;var e,t=Ag,r=t.length,o,l="value"in zi?zi.value:zi.textContent,c=l.length;for(e=0;e<r&&t[e]===l[e];e++);var m=r-e;for(o=1;o<=m&&t[r-o]===l[c-o];o++);return ld=l.slice(e,1<o?1-o:void 0)}function Xc(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 _0(){return!1}function Hn(e){function t(r,o,l,c,m){this._reactName=r,this._targetInst=l,this.type=o,this.nativeEvent=c,this.target=m,this.currentTarget=null;for(var y in e)e.hasOwnProperty(y)&&(r=e[y],this[y]=r?r(c):c[y]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?Qc:_0,this.isPropagationStopped=_0,this}return Je(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Qc)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Qc)},persist:function(){},isPersistent:Qc}),t}function jR(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=i_[e])?!!t[e]:!1}function sm(){return jR}function z0(e,t){switch(e){case"keyup":return y_.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==qD;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function U0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function VR(e,t){switch(e){case"compositionend":return U0(t);case"keypress":return t.which!==FD?null:(GD=!0,YD);case"textInput":return e=t.data,e===YD&&GD?null:e;default:return null}}function LR(e,t){if(Ls)return e==="compositionend"||!Cg&&z0(e,t)?(e=M0(),ld=Ag=zi=null,Ls=!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 ID&&t.locale!=="ko"?null:t.data;default:return null}}function j0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!v_[e.type]:t==="textarea"}function BR(e){if(!wa)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 V0(e,t,r,o){js?Vs?Vs.push(o):Vs=[o]:js=o,t=qf(t,"onChange"),0<t.length&&(r=new ud("onChange","change",null,r,o),e.push({event:r,listeners:t}))}function HR(e){vS(e,0)}function Zc(e){var t=ke(e);if(f0(t))return e}function L0(e,t){if(e==="change")return t}function B0(){Du&&(Du.detachEvent("onpropertychange",H0),Eu=Du=null)}function H0(e){if(e.propertyName==="value"&&Zc(Eu)){var t=[];V0(t,Eu,e,om(e)),O0(HR,t)}}function PR(e,t,r){e==="focusin"?(B0(),Du=t,Eu=r,Du.attachEvent("onpropertychange",H0)):e==="focusout"&&B0()}function qR(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Zc(Eu)}function IR(e,t){if(e==="click")return Zc(t)}function FR(e,t){if(e==="input"||e==="change")return Zc(t)}function YR(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function Bl(e,t){if(_n(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(o=0;o<r.length;o++){var l=r[o];if(!Gr.call(t,l)||!_n(e[l],t[l]))return!1}return!0}function P0(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function q0(e,t){var r=P0(e);e=0;for(var o;r;){if(r.nodeType===3){if(o=e+r.textContent.length,e<=t&&o>=t)return{node:r,offset:t-e};e=o}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=P0(r)}}function I0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?I0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function F0(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Yc(e.document);t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Yc(e.document)}return t}function lm(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 Y0(e,t,r){var o=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Og||Bs==null||Bs!==Yc(o)||(o=Bs,"selectionStart"in o&&lm(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Tu&&Bl(Tu,o)||(Tu=o,o=qf(Rg,"onSelect"),0<o.length&&(t=new ud("onSelect","select",null,t,r),e.push({event:t,listeners:o}),t.target=Bs)))}function mo(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}function po(e){if(Mg[e])return Mg[e];if(!Hs[e])return e;var t=Hs[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in XD)return Mg[e]=t[r];return e}function qr(e,t){WD.set(e,t),ot(t,[e])}function GR(e){for(var t=fd,r=0;r<e.length;r++){var o=e[r];if(typeof o=="object"&&o!==null)if(en(o)&&o.length===2&&typeof o[0]=="string"){if(t!==fd&&t!==Vg)return Ug;t=Vg}else return Ug;else{if(typeof o=="function"||typeof o=="string"&&50<o.length||t!==fd&&t!==jg)return Ug;t=jg}}return t}function um(e,t,r,o){for(var l in e)Gr.call(e,l)&&l[0]!=="_"&&aa(l,e[l],t,r,o)}function aa(e,t,r,o,l){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===xa){var c=se(t.type)||"…",m=t.key;t=t.props;var y=Object.keys(t),D=y.length;if(m==null&&D===0){t="<"+c+" />";break}if(3>o||D===1&&y[0]==="children"&&m==null){t="<"+c+" … />";break}r.push([l+" ".repeat(o)+e,"<"+c]),m!==null&&aa("key",m,r,o+1,l),e=!1;for(var E in t)E==="children"?t.children!=null&&(!en(t.children)||0<t.children.length)&&(e=!0):Gr.call(t,E)&&E[0]!=="_"&&aa(E,t[E],r,o+1,l);r.push(["",e?">…</"+c+">":"/>"]);return}if(c=Object.prototype.toString.call(t),c=c.slice(8,c.length-1),c==="Array"){if(E=GR(t),E===jg||E===fd){t=JSON.stringify(t);break}else if(E===Vg){for(r.push([l+" ".repeat(o)+e,""]),e=0;e<t.length;e++)c=t[e],aa(c[0],c[1],r,o+1,l);return}}if(c==="Promise"){if(t.status==="fulfilled"){if(c=r.length,aa(e,t.value,r,o,l),r.length>c){r=r[c],r[1]="Promise<"+(r[1]||"Object")+">";return}}else if(t.status==="rejected"&&(c=r.length,aa(e,t.reason,r,o,l),r.length>c)){r=r[c],r[1]="Rejected Promise<"+r[1]+">";return}r.push([" ".repeat(o)+e,"Promise"]);return}c==="Object"&&(E=Object.getPrototypeOf(t))&&typeof E.constructor=="function"&&(c=E.constructor.name),r.push([l+" ".repeat(o)+e,c==="Object"?3>o?"":"…":c]),3>o&&um(t,r,o+1,l);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===w_?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}r.push([l+" ".repeat(o)+e,t])}function G0(e,t,r,o){var l=!0;for(m in e)m in t||(r.push([dd+" ".repeat(o)+m,"…"]),l=!1);for(var c in t)if(c in e){var m=e[c],y=t[c];if(m!==y){if(o===0&&c==="children")l=" ".repeat(o)+c,r.push([dd+l,"…"],[hd+l,"…"]);else{if(!(3<=o)){if(typeof m=="object"&&typeof y=="object"&&m!==null&&y!==null&&m.$$typeof===y.$$typeof)if(y.$$typeof===xa){if(m.type===y.type&&m.key===y.key){m=se(y.type)||"…",l=" ".repeat(o)+c,m="<"+m+" … />",r.push([dd+l,m],[hd+l,m]),l=!1;continue}}else{var D=Object.prototype.toString.call(m),E=Object.prototype.toString.call(y);if(D===E&&(E==="[object Object]"||E==="[object Array]")){D=[nE+" ".repeat(o)+c,E==="[object Array]"?"Array":""],r.push(D),E=r.length,G0(m,y,r,o+1)?E===r.length&&(D[1]="Referentially unequal but deeply equal objects. Consider memoization."):l=!1;continue}}else if(typeof m=="function"&&typeof y=="function"&&m.name===y.name&&m.length===y.length&&(D=Function.prototype.toString.call(m),E=Function.prototype.toString.call(y),D===E)){m=y.name===""?"() => {}":y.name+"() {}",r.push([nE+" ".repeat(o)+c,m+" Referentially unequal function closure. Consider memoization."]);continue}}aa(c,m,r,o,dd),aa(c,y,r,o,hd)}l=!1}}else r.push([hd+" ".repeat(o)+c,"…"]),l=!1;return l}function Ir(e){rt=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function ia(e,t,r,o){vt&&(ji.start=t,ji.end=r,Ka.color="warning",Ka.tooltipText=o,Ka.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,o,ji)):performance.measure(o,ji))}function Jc(e,t,r){ia(e,t,r,"Reconnect")}function Kc(e,t,r,o,l){var c=F(e);if(c!==null&&vt){var m=e.alternate,y=e.actualDuration;if(m===null||m.child!==e.child)for(var D=e.child;D!==null;D=D.sibling)y-=D.actualDuration;o=.5>y?o?"tertiary-light":"primary-light":10>y?o?"tertiary":"primary":100>y?o?"tertiary-dark":"primary-dark":"error";var E=e.memoizedProps;y=e._debugTask,E!==null&&m!==null&&m.memoizedProps!==E?(D=[N_],E=G0(m.memoizedProps,E,D,0),1<D.length&&(E&&!Ui&&(m.lanes&l)===0&&100<e.actualDuration?(Ui=!0,D[0]=k_,Ka.color="warning",Ka.tooltipText=rE):(Ka.color=o,Ka.tooltipText=c),Ka.properties=D,ji.start=t,ji.end=r,y!=null?y.run(performance.measure.bind(performance,""+c,ji)):performance.measure(""+c,ji))):y!=null?y.run(console.timeStamp.bind(console,c,t,r,Dr,void 0,o)):console.timeStamp(c,t,r,Dr,void 0,o)}}function cm(e,t,r,o){if(vt){var l=F(e);if(l!==null){for(var c=null,m=[],y=0;y<o.length;y++){var D=o[y];c==null&&D.source!==null&&(c=D.source._debugTask),D=D.value,m.push(["Error",typeof D=="object"&&D!==null&&typeof D.message=="string"?String(D.message):String(D)])}e.key!==null&&aa("key",e.key,m,0,""),e.memoizedProps!==null&&um(e.memoizedProps,m,0,""),c==null&&(c=e._debugTask),e={start:t,end:r,detail:{devtools:{color:"error",track:Dr,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:m}}},c?c.run(performance.measure.bind(performance,""+l,e)):performance.measure(""+l,e)}}}function oa(e,t,r,o,l){if(l!==null){if(vt){var c=F(e);if(c!==null){o=[];for(var m=0;m<l.length;m++){var y=l[m].value;o.push(["Error",typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y)])}e.key!==null&&aa("key",e.key,o,0,""),e.memoizedProps!==null&&um(e.memoizedProps,o,0,""),t={start:t,end:r,detail:{devtools:{color:"error",track:Dr,tooltipText:"A lifecycle or effect errored",properties:o}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,""+c,t)):performance.measure(""+c,t)}}}else c=F(e),c!==null&&vt&&(l=1>o?"secondary-light":100>o?"secondary":500>o?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,c,t,r,Dr,void 0,l)):console.timeStamp(c,t,r,Dr,void 0,l))}function $R(e,t,r,o){if(vt&&!(t<=e)){var l=(r&738197653)===r?"tertiary-dark":"primary-dark";r=(r&536870912)===r?"Prepared":(r&201326741)===r?"Hydrated":"Render",o?o.run(console.timeStamp.bind(console,r,e,t,rt,tt,l)):console.timeStamp(r,e,t,rt,tt,l)}}function $0(e,t,r,o){!vt||t<=e||(r=(r&738197653)===r?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Prewarm",e,t,rt,tt,r)):console.timeStamp("Prewarm",e,t,rt,tt,r))}function X0(e,t,r,o){!vt||t<=e||(r=(r&738197653)===r?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Suspended",e,t,rt,tt,r)):console.timeStamp("Suspended",e,t,rt,tt,r))}function XR(e,t,r,o,l,c){if(vt&&!(t<=e)){r=[];for(var m=0;m<o.length;m++){var y=o[m].value;r.push(["Recoverable Error",typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:rt,trackGroup:tt,tooltipText:l?"Hydration Failed":"Recovered after Error",properties:r}}},c?c.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function fm(e,t,r,o){!vt||t<=e||(o?o.run(console.timeStamp.bind(console,"Errored",e,t,rt,tt,"error")):console.timeStamp("Errored",e,t,rt,tt,"error"))}function QR(e,t,r,o){!vt||t<=e||(o?o.run(console.timeStamp.bind(console,r,e,t,rt,tt,"secondary-light")):console.timeStamp(r,e,t,rt,tt,"secondary-light"))}function Q0(e,t,r,o,l){if(vt&&!(t<=e)){for(var c=[],m=0;m<r.length;m++){var y=r[m].value;c.push(["Error",typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y)])}e={start:e,end:t,detail:{devtools:{color:"error",track:rt,trackGroup:tt,tooltipText:o?"Remaining Effects Errored":"Commit Errored",properties:c}}},l?l.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function dm(e,t,r){!vt||t<=e||console.timeStamp("Animating",e,t,rt,tt,"secondary-dark")}function Wc(){for(var e=Ps,t=Lg=Ps=0;t<e;){var r=Er[t];Er[t++]=null;var o=Er[t];Er[t++]=null;var l=Er[t];Er[t++]=null;var c=Er[t];if(Er[t++]=null,o!==null&&l!==null){var m=o.pending;m===null?l.next=l:(l.next=m.next,m.next=l),o.pending=l}c!==0&&Z0(r,l,c)}}function ef(e,t,r,o){Er[Ps++]=e,Er[Ps++]=t,Er[Ps++]=r,Er[Ps++]=o,Lg|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function hm(e,t,r,o){return ef(e,t,r,o),tf(e)}function bn(e,t){return ef(e,null,null,t),tf(e)}function Z0(e,t,r){e.lanes|=r;var o=e.alternate;o!==null&&(o.lanes|=r);for(var l=!1,c=e.return;c!==null;)c.childLanes|=r,o=c.alternate,o!==null&&(o.childLanes|=r),c.tag===22&&(e=c.stateNode,e===null||e._visibility&Au||(l=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,l&&t!==null&&(l=31-Rn(r),e=c.hiddenUpdates,o=e[l],o===null?e[l]=[t]:o.push(t),t.lane=r|536870912),c):null}function tf(e){if(Ku>F_)throw Yo=Ku=0,Wu=yy=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.");Yo>Y_&&(Yo=0,Wu=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&&dS(e);for(var t=e,r=t.return;r!==null;)t.alternate===null&&(t.flags&4098)!==0&&dS(e),t=r,r=t.return;return t.tag===3?t.stateNode:null}function go(e){if(Tr===null)return e;var t=Tr(e);return t===void 0?e:t.current}function mm(e){if(Tr===null)return e;var t=Tr(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=go(e.render),e.render!==t)?(t={$$typeof:hu,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function J0(e,t){if(Tr===null)return!1;var r=e.elementType;t=t.type;var o=!1,l=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(o=!0);break;case 0:(typeof t=="function"||l===sr)&&(o=!0);break;case 11:(l===hu||l===sr)&&(o=!0);break;case 14:case 15:(l===Wf||l===sr)&&(o=!0);break;default:return!1}return!!(o&&(e=Tr(r),e!==void 0&&e===Tr(t)))}function K0(e){Tr!==null&&typeof WeakSet=="function"&&(qs===null&&(qs=new WeakSet),qs.add(e))}function W0(e,t,r){do{var o=e,l=o.alternate,c=o.child,m=o.sibling,y=o.tag;o=o.type;var D=null;switch(y){case 0:case 15:case 1:D=o;break;case 11:D=o.render}if(Tr===null)throw Error("Expected resolveFamily to be set during hot reload.");var E=!1;if(o=!1,D!==null&&(D=Tr(D),D!==void 0&&(r.has(D)?o=!0:t.has(D)&&(y===1?o=!0:E=!0))),qs!==null&&(qs.has(e)||l!==null&&qs.has(l))&&(o=!0),o&&(e._debugNeedsRemount=!0),(o||E)&&(l=bn(e,2),l!==null&&Ot(l,e,2)),c===null||o||W0(c,t,r),m===null)break;e=m}while(!0)}function ZR(e,t,r,o){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,aE||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function pm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ia(e,t){var r=e.alternate;switch(r===null?(r=x(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r._debugOwner=e._debugOwner,r._debugStack=e._debugStack,r._debugTask=e._debugTask,r._debugHookTypes=e._debugHookTypes,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null,r.actualDuration=-0,r.actualStartTime=-1.1),r.flags=e.flags&65011712,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.refCleanup=e.refCleanup,r.selfBaseDuration=e.selfBaseDuration,r.treeBaseDuration=e.treeBaseDuration,r._debugInfo=e._debugInfo,r._debugNeedsRemount=e._debugNeedsRemount,r.tag){case 0:case 15:r.type=go(e.type);break;case 1:r.type=go(e.type);break;case 11:r.type=mm(e.type)}return r}function ex(e,t){e.flags&=65011714;var r=e.alternate;return r===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=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type,t=r.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=r.selfBaseDuration,e.treeBaseDuration=r.treeBaseDuration),e}function gm(e,t,r,o,l,c){var m=0,y=e;if(typeof e=="function")pm(e)&&(m=1),y=go(y);else if(typeof e=="string")m=le(),m=iM(e,r,m)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ug:return t=x(31,r,t,l),t.elementType=ug,t.lanes=c,t;case Rs:return yo(r.children,l,c,t);case Kf:m=8,l|=xn,l|=$r;break;case ig:return e=r,o=l,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=x(12,e,t,o|Ye),t.elementType=ig,t.lanes=c,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case sg:return t=x(13,r,t,l),t.elementType=sg,t.lanes=c,t;case lg:return t=x(19,r,t,l),t.elementType=lg,t.lanes=c,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Sa:m=10;break e;case og:m=9;break e;case hu:m=11,y=mm(y);break e;case Wf:m=14;break e;case sr:m=16,y=null;break e}y="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(y+=" 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?r="null":en(e)?r="array":e!==void 0&&e.$$typeof===xa?(r="<"+(se(e.type)||"Unknown")+" />",y=" Did you accidentally export a JSX literal instead of a component?"):r=typeof e,(m=o?ce(o):null)&&(y+=`
|
|
77
|
+
|
|
78
|
+
Check the render method of \``+m+"`."),m=29,r=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(r+"."+y)),y=null}return t=x(m,r,t,l),t.elementType=e,t.type=y,t.lanes=c,t._debugOwner=o,t}function nf(e,t,r){return t=gm(e.type,e.key,e.props,e._owner,t,r),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function yo(e,t,r,o){return e=x(7,e,o,t),e.lanes=r,e}function ym(e,t,r){return e=x(6,e,null,t),e.lanes=r,e}function tx(e){var t=x(18,null,null,Ve);return t.stateNode=e,t}function bm(e,t,r){return t=x(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function tr(e,t){if(typeof e=="object"&&e!==null){var r=Bg.get(e);return r!==void 0?r:(t={value:e,source:t,stack:je(t)},Bg.set(e,t),t)}return{value:e,source:t,stack:je(t)}}function Fa(e,t){bi(),Is[Fs++]=wu,Is[Fs++]=md,md=e,wu=t}function nx(e,t,r){bi(),Ar[wr++]=ei,Ar[wr++]=ti,Ar[wr++]=Ro,Ro=e;var o=ei;e=ti;var l=32-Rn(o)-1;o&=~(1<<l),r+=1;var c=32-Rn(t)+l;if(30<c){var m=l-l%5;c=(o&(1<<m)-1).toString(32),o>>=m,l-=m,ei=1<<32-Rn(t)+l|r<<l|o,ti=c+e}else ei=1<<c|r<<l|o,ti=e}function vm(e){bi(),e.return!==null&&(Fa(e,1),nx(e,1,0))}function xm(e){for(;e===md;)md=Is[--Fs],Is[Fs]=null,wu=Is[--Fs],Is[Fs]=null;for(;e===Ro;)Ro=Ar[--wr],Ar[wr]=null,ti=Ar[--wr],Ar[wr]=null,ei=Ar[--wr],Ar[wr]=null}function rx(){return bi(),Ro!==null?{id:ei,overflow:ti}:null}function ax(e,t){bi(),Ar[wr++]=ei,Ar[wr++]=ti,Ar[wr++]=Ro,ei=t.id,ti=t.overflow,Ro=e}function bi(){We||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(ur===null)ur={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(ur.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");ur.distanceFromLeaf>t&&(ur.distanceFromLeaf=t)}return ur}var r=bo(e.return,t+1).children;return 0<r.length&&r[r.length-1].fiber===e?(r=r[r.length-1],r.distanceFromLeaf>t&&(r.distanceFromLeaf=t),r):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},r.push(t),t)}function ix(){We&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function rf(e,t){Na||(e=bo(e,0),e.serverProps=null,t!==null&&(t=VS(t),e.serverTail.push(t)))}function vi(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,r="",o=ur;throw o!==null&&(ur=null,r=am(o)),Hl(tr(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
79
|
+
|
|
80
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
81
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
82
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
83
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
84
|
+
- Invalid HTML tag nesting.
|
|
85
|
+
|
|
86
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
87
|
+
|
|
88
|
+
https://react.dev/link/hydration-mismatch`+r),e)),Hg}function ox(e){var t=e.stateNode,r=e.type,o=e.memoizedProps;switch(t[mn]=e,t[On]=o,Hp(r,o),r){case"dialog":et("cancel",t),et("close",t);break;case"iframe":case"object":case"embed":et("load",t);break;case"video":case"audio":for(r=0;r<ec.length;r++)et(ec[r],t);break;case"source":et("error",t);break;case"img":case"image":case"link":et("error",t),et("load",t);break;case"details":et("toggle",t);break;case"input":kn("input",o),et("invalid",t),d0(t,o),h0(t,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"option":m0(t,o);break;case"select":kn("select",o),et("invalid",t),g0(t,o);break;case"textarea":kn("textarea",o),et("invalid",t),y0(t,o),v0(t,o.value,o.defaultValue,o.children)}r=o.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||t.textContent===""+r||o.suppressHydrationWarning===!0||ES(t.textContent,r)?(o.popover!=null&&(et("beforetoggle",t),et("toggle",t)),o.onScroll!=null&&et("scroll",t),o.onScrollEnd!=null&&et("scrollend",t),o.onClick!=null&&(t.onclick=qa),t=!0):t=!1,t||vi(e,!0)}function sx(e){for(pn=e.return;pn;)switch(pn.tag){case 5:case 31:case 13:Nr=!1;return;case 27:case 3:Nr=!0;return;default:pn=pn.return}}function ms(e){if(e!==pn)return!1;if(!We)return sx(e),We=!0,!1;var t=e.tag,r;if((r=t!==3&&t!==27)&&((r=t===5)&&(r=e.type,r=!(r!=="form"&&r!=="button")||Yp(e.type,e.memoizedProps)),r=!r),r&&xt){for(r=xt;r;){var o=bo(e,0),l=VS(r);o.serverTail.push(l),r=l.type==="Suspense"?Qp(r):or(r.nextSibling)}vi(e)}if(sx(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.");xt=Qp(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");xt=Qp(e)}else t===27?(t=xt,Ci(e.type)?(e=Cy,Cy=null,xt=e):xt=t):xt=pn?or(e.stateNode.nextSibling):null;return!0}function vo(){xt=pn=null,Na=We=!1}function Sm(){var e=Li;return e!==null&&(Vn===null?Vn=e:Vn.push.apply(Vn,e),Li=null),e}function Hl(e){Li===null?Li=[e]:Li.push(e)}function Dm(){var e=ur;if(e!==null){ur=null;for(var t=am(e);0<e.children.length;)e=e.children[0];De(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:
|
|
89
|
+
|
|
90
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
91
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
92
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
93
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
94
|
+
- Invalid HTML tag nesting.
|
|
95
|
+
|
|
96
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
97
|
+
|
|
98
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function af(){Ys=pd=null,Gs=!1}function xi(e,t,r){Q(Pg,t._currentValue,e),t._currentValue=r,Q(qg,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==oE&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=oE}function Ya(e,t){e._currentValue=Pg.current;var r=qg.current;oe(qg,t),e._currentRenderer=r,oe(Pg,t)}function Em(e,t,r){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===r)break;e=e.return}e!==r&&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 Tm(e,t,r,o){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var c=l.dependencies;if(c!==null){var m=l.child;c=c.firstContext;e:for(;c!==null;){var y=c;c=l;for(var D=0;D<t.length;D++)if(y.context===t[D]){c.lanes|=r,y=c.alternate,y!==null&&(y.lanes|=r),Em(c.return,r,e),o||(m=null);break e}c=y.next}}else if(l.tag===18){if(m=l.return,m===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");m.lanes|=r,c=m.alternate,c!==null&&(c.lanes|=r),Em(m,r,e),m=null}else m=l.child;if(m!==null)m.return=l;else for(m=l;m!==null;){if(m===e){m=null;break}if(l=m.sibling,l!==null){l.return=m.return,m=l;break}m=m.return}l=m}}function ps(e,t,r,o){e=null;for(var l=t,c=!1;l!==null;){if(!c){if((l.flags&524288)!==0)c=!0;else if((l.flags&262144)!==0)break}if(l.tag===10){var m=l.alternate;if(m===null)throw Error("Should have a current fiber. This is a bug in React.");if(m=m.memoizedProps,m!==null){var y=l.type;_n(l.pendingProps.value,m.value)||(e!==null?e.push(y):e=[y])}}else if(l===ed.current){if(m=l.alternate,m===null)throw Error("Should have a current fiber. This is a bug in React.");m.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(e!==null?e.push(ic):e=[ic])}l=l.return}e!==null&&Tm(t,e,r,o),t.flags|=262144}function of(e){for(e=e.firstContext;e!==null;){if(!_n(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function xo(e){pd=e,Ys=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function wt(e){return Gs&&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()."),lx(pd,e)}function sf(e,t){return pd===null&&xo(e),lx(e,t)}function lx(e,t){var r=t._currentValue;if(t={context:t,memoizedValue:r,next:null},Ys===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().");Ys=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Ys=Ys.next=t;return r}function Am(){return{controller:new O_,data:new Map,refCount:0}}function So(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 Pl(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&&M_(__,function(){e.controller.abort()})}function sa(e,t,r){(e&127)!==0?0>ka&&(ka=Yt(),ku=gd(t),Ig=t,r!=null&&(Fg=F(r)),(st&(nn|dr))!==cn&&(Mt=!0,Hi=Nu),e=lu(),t=su(),e!==$s||t!==Cu?$s=-1.1:t!==null&&(Hi=Nu),_o=e,Cu=t):(e&4194048)!==0&&0>kr&&(kr=Yt(),Ru=gd(t),sE=t,r!=null&&(lE=F(r)),0>ii)&&(e=lu(),t=su(),(e!==qi||t!==zo)&&(qi=-1.1),Pi=e,zo=t)}function JR(e){if(0>ka){ka=Yt(),ku=e._debugTask!=null?e._debugTask:null,(st&(nn|dr))!==cn&&(Hi=Nu);var t=lu(),r=su();t!==$s||r!==Cu?$s=-1.1:r!==null&&(Hi=Nu),_o=t,Cu=r}0>kr&&(kr=Yt(),Ru=e._debugTask!=null?e._debugTask:null,0>ii)&&(e=lu(),t=su(),(e!==qi||t!==zo)&&(qi=-1.1),Pi=e,zo=t)}function Ga(){var e=Oo;return Oo=0,e}function lf(e){var t=Oo;return Oo=e,t}function ql(e){var t=Oo;return Oo+=e,t}function uf(){Ue=ze=-1.1}function nr(){var e=ze;return ze=-1.1,e}function rr(e){0<=e&&(ze=e)}function la(){var e=Ct;return Ct=-0,e}function ua(e){0<=e&&(Ct=e)}function ca(){var e=Nt;return Nt=null,e}function fa(){var e=Mt;return Mt=!1,e}function wm(e){zn=Yt(),0>e.actualStartTime&&(e.actualStartTime=zn)}function Nm(e){if(0<=zn){var t=Yt()-zn;e.actualDuration+=t,e.selfBaseDuration=t,zn=-1}}function ux(e){if(0<=zn){var t=Yt()-zn;e.actualDuration+=t,zn=-1}}function da(){if(0<=zn){var e=Yt(),t=e-zn;zn=-1,Oo+=t,Ct+=t,Ue=e}}function cx(e){Nt===null&&(Nt=[]),Nt.push(e),ri===null&&(ri=[]),ri.push(e)}function ha(){zn=Yt(),0>ze&&(ze=zn)}function Il(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function KR(e,t){if(Mu===null){var r=Mu=[];Gg=0,Uo=jp(),Xs={status:"pending",value:void 0,then:function(o){r.push(o)}}}return Gg++,t.then(fx,fx),t}function fx(){if(--Gg===0&&(-1<kr||(ii=-1.1),Mu!==null)){Xs!==null&&(Xs.status="fulfilled");var e=Mu;Mu=null,Uo=0,Xs=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function WR(e,t){var r=[],o={status:"pending",value:null,reason:null,then:function(l){r.push(l)}};return e.then(function(){o.status="fulfilled",o.value=t;for(var l=0;l<r.length;l++)(0,r[l])(t)},function(l){for(o.status="rejected",o.reason=l,l=0;l<r.length;l++)(0,r[l])(void 0)}),o}function km(){var e=jo.current;return e!==null?e:gt.pooledCache}function cf(e,t){t===null?Q(jo,jo.current,e):Q(jo,t.pool,e)}function dx(){var e=km();return e===null?null:{parent:Ft._currentValue,pool:e}}function hx(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function mx(e){return e=e.status,e==="fulfilled"||e==="rejected"}function px(e,t,r){J.actQueue!==null&&(J.didUsePromise=!0);var o=e.thenables;if(r=o[r],r===void 0?o.push(t):r!==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(qa,qa),t=r),t._debugInfo===void 0){e=performance.now(),o=t.displayName;var l={name:typeof o=="string"?o:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:l}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){l.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,yx(e),e;default:if(typeof t.status=="string")t.then(qa,qa);else{if(e=gt,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(c){if(t.status==="pending"){var m=t;m.status="fulfilled",m.value=c}},function(c){if(t.status==="pending"){var m=t;m.status="rejected",m.reason=c}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,yx(e),e}throw Lo=t,Bu=!0,Qs}}function Si(e){try{return L_(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(Lo=t,Bu=!0,Qs):t}}function gx(){if(Lo===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Lo;return Lo=null,Bu=!1,e}function yx(e){if(e===Qs||e===Td)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function fn(e){var t=Ge;return e!=null&&(Ge=t===null?e:t.concat(e)),t}function Cm(){var e=Ge;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var r=e[t].debugTask;if(r!=null)return r}}return null}function ff(e,t,r){for(var o=Object.keys(e.props),l=0;l<o.length;l++){var c=o[l];if(c!=="children"&&c!=="key"){t===null&&(t=nf(e,r.mode,0),t._debugInfo=Ge,t.return=r),De(t,function(m){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",m)},c);break}}}function df(e){var t=Hu;return Hu+=1,Zs===null&&(Zs=hx()),px(Zs,e,t)}function Fl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function bx(e,t){throw t.$$typeof===gM?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
99
|
+
- Multiple copies of the "react" package is used.
|
|
100
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
101
|
+
- 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 hf(e,t){var r=Cm();r!==null?r.run(bx.bind(null,e,t)):bx(e,t)}function vx(e,t){var r=F(e)||"Component";kE[r]||(kE[r]=!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.
|
|
102
|
+
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.
|
|
103
|
+
<%s>{%s}</%s>`,t,t,r,t,r))}function mf(e,t){var r=Cm();r!==null?r.run(vx.bind(null,e,t)):vx(e,t)}function xx(e,t){var r=F(e)||"Component";CE[r]||(CE[r]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
104
|
+
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
105
|
+
<%s>%s</%s>`,r,t,r))}function pf(e,t){var r=Cm();r!==null?r.run(xx.bind(null,e,t)):xx(e,t)}function Sx(e){function t(M,j){if(e){var L=M.deletions;L===null?(M.deletions=[j],M.flags|=16):L.push(j)}}function r(M,j){if(!e)return null;for(;j!==null;)t(M,j),j=j.sibling;return null}function o(M){for(var j=new Map;M!==null;)M.key!==null?j.set(M.key,M):j.set(M.index,M),M=M.sibling;return j}function l(M,j){return M=Ia(M,j),M.index=0,M.sibling=null,M}function c(M,j,L){return M.index=L,e?(L=M.alternate,L!==null?(L=L.index,L<j?(M.flags|=67108866,j):L):(M.flags|=67108866,j)):(M.flags|=1048576,j)}function m(M){return e&&M.alternate===null&&(M.flags|=67108866),M}function y(M,j,L,te){return j===null||j.tag!==6?(j=ym(L,M.mode,te),j.return=M,j._debugOwner=M,j._debugTask=M._debugTask,j._debugInfo=Ge,j):(j=l(j,L),j.return=M,j._debugInfo=Ge,j)}function D(M,j,L,te){var Se=L.type;return Se===Rs?(j=B(M,j,L.props.children,te,L.key),ff(L,j,M),j):j!==null&&(j.elementType===Se||J0(j,L)||typeof Se=="object"&&Se!==null&&Se.$$typeof===sr&&Si(Se)===j.type)?(j=l(j,L.props),Fl(j,L),j.return=M,j._debugOwner=L._owner,j._debugInfo=Ge,j):(j=nf(L,M.mode,te),Fl(j,L),j.return=M,j._debugInfo=Ge,j)}function E(M,j,L,te){return j===null||j.tag!==4||j.stateNode.containerInfo!==L.containerInfo||j.stateNode.implementation!==L.implementation?(j=bm(L,M.mode,te),j.return=M,j._debugInfo=Ge,j):(j=l(j,L.children||[]),j.return=M,j._debugInfo=Ge,j)}function B(M,j,L,te,Se){return j===null||j.tag!==7?(j=yo(L,M.mode,te,Se),j.return=M,j._debugOwner=M,j._debugTask=M._debugTask,j._debugInfo=Ge,j):(j=l(j,L),j.return=M,j._debugInfo=Ge,j)}function H(M,j,L){if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return j=ym(""+j,M.mode,L),j.return=M,j._debugOwner=M,j._debugTask=M._debugTask,j._debugInfo=Ge,j;if(typeof j=="object"&&j!==null){switch(j.$$typeof){case xa:return L=nf(j,M.mode,L),Fl(L,j),L.return=M,M=fn(j._debugInfo),L._debugInfo=Ge,Ge=M,L;case Cs:return j=bm(j,M.mode,L),j.return=M,j._debugInfo=Ge,j;case sr:var te=fn(j._debugInfo);return j=Si(j),M=H(M,j,L),Ge=te,M}if(en(j)||ge(j))return L=yo(j,M.mode,L,null),L.return=M,L._debugOwner=M,L._debugTask=M._debugTask,M=fn(j._debugInfo),L._debugInfo=Ge,Ge=M,L;if(typeof j.then=="function")return te=fn(j._debugInfo),M=H(M,df(j),L),Ge=te,M;if(j.$$typeof===Sa)return H(M,sf(M,j),L);hf(M,j)}return typeof j=="function"&&mf(M,j),typeof j=="symbol"&&pf(M,j),null}function _(M,j,L,te){var Se=j!==null?j.key:null;if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return Se!==null?null:y(M,j,""+L,te);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case xa:return L.key===Se?(Se=fn(L._debugInfo),M=D(M,j,L,te),Ge=Se,M):null;case Cs:return L.key===Se?E(M,j,L,te):null;case sr:return Se=fn(L._debugInfo),L=Si(L),M=_(M,j,L,te),Ge=Se,M}if(en(L)||ge(L))return Se!==null?null:(Se=fn(L._debugInfo),M=B(M,j,L,te,null),Ge=Se,M);if(typeof L.then=="function")return Se=fn(L._debugInfo),M=_(M,j,df(L),te),Ge=Se,M;if(L.$$typeof===Sa)return _(M,j,sf(M,L),te);hf(M,L)}return typeof L=="function"&&mf(M,L),typeof L=="symbol"&&pf(M,L),null}function $(M,j,L,te,Se){if(typeof te=="string"&&te!==""||typeof te=="number"||typeof te=="bigint")return M=M.get(L)||null,y(j,M,""+te,Se);if(typeof te=="object"&&te!==null){switch(te.$$typeof){case xa:return L=M.get(te.key===null?L:te.key)||null,M=fn(te._debugInfo),j=D(j,L,te,Se),Ge=M,j;case Cs:return M=M.get(te.key===null?L:te.key)||null,E(j,M,te,Se);case sr:var Be=fn(te._debugInfo);return te=Si(te),j=$(M,j,L,te,Se),Ge=Be,j}if(en(te)||ge(te))return L=M.get(L)||null,M=fn(te._debugInfo),j=B(j,L,te,Se,null),Ge=M,j;if(typeof te.then=="function")return Be=fn(te._debugInfo),j=$(M,j,L,df(te),Se),Ge=Be,j;if(te.$$typeof===Sa)return $(M,j,L,sf(j,te),Se);hf(j,te)}return typeof te=="function"&&mf(j,te),typeof te=="symbol"&&pf(j,te),null}function ve(M,j,L,te){if(typeof L!="object"||L===null)return te;switch(L.$$typeof){case xa:case Cs:p(M,j,L);var Se=L.key;if(typeof Se!="string")break;if(te===null){te=new Set,te.add(Se);break}if(!te.has(Se)){te.add(Se);break}De(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.",Se)});break;case sr:L=Si(L),ve(M,j,L,te)}return te}function Ee(M,j,L,te){for(var Se=null,Be=null,_e=null,Ce=j,Fe=j=0,St=null;Ce!==null&&Fe<L.length;Fe++){Ce.index>Fe?(St=Ce,Ce=null):St=Ce.sibling;var Ht=_(M,Ce,L[Fe],te);if(Ht===null){Ce===null&&(Ce=St);break}Se=ve(M,Ht,L[Fe],Se),e&&Ce&&Ht.alternate===null&&t(M,Ce),j=c(Ht,j,Fe),_e===null?Be=Ht:_e.sibling=Ht,_e=Ht,Ce=St}if(Fe===L.length)return r(M,Ce),We&&Fa(M,Fe),Be;if(Ce===null){for(;Fe<L.length;Fe++)Ce=H(M,L[Fe],te),Ce!==null&&(Se=ve(M,Ce,L[Fe],Se),j=c(Ce,j,Fe),_e===null?Be=Ce:_e.sibling=Ce,_e=Ce);return We&&Fa(M,Fe),Be}for(Ce=o(Ce);Fe<L.length;Fe++)St=$(Ce,M,Fe,L[Fe],te),St!==null&&(Se=ve(M,St,L[Fe],Se),e&&St.alternate!==null&&Ce.delete(St.key===null?Fe:St.key),j=c(St,j,Fe),_e===null?Be=St:_e.sibling=St,_e=St);return e&&Ce.forEach(function(hi){return t(M,hi)}),We&&Fa(M,Fe),Be}function bt(M,j,L,te){if(L==null)throw Error("An iterable object provided no iterator.");for(var Se=null,Be=null,_e=j,Ce=j=0,Fe=null,St=null,Ht=L.next();_e!==null&&!Ht.done;Ce++,Ht=L.next()){_e.index>Ce?(Fe=_e,_e=null):Fe=_e.sibling;var hi=_(M,_e,Ht.value,te);if(hi===null){_e===null&&(_e=Fe);break}St=ve(M,hi,Ht.value,St),e&&_e&&hi.alternate===null&&t(M,_e),j=c(hi,j,Ce),Be===null?Se=hi:Be.sibling=hi,Be=hi,_e=Fe}if(Ht.done)return r(M,_e),We&&Fa(M,Ce),Se;if(_e===null){for(;!Ht.done;Ce++,Ht=L.next())_e=H(M,Ht.value,te),_e!==null&&(St=ve(M,_e,Ht.value,St),j=c(_e,j,Ce),Be===null?Se=_e:Be.sibling=_e,Be=_e);return We&&Fa(M,Ce),Se}for(_e=o(_e);!Ht.done;Ce++,Ht=L.next())Fe=$(_e,M,Ce,Ht.value,te),Fe!==null&&(St=ve(M,Fe,Ht.value,St),e&&Fe.alternate!==null&&_e.delete(Fe.key===null?Ce:Fe.key),j=c(Fe,j,Ce),Be===null?Se=Fe:Be.sibling=Fe,Be=Fe);return e&&_e.forEach(function(lz){return t(M,lz)}),We&&Fa(M,Ce),Se}function nt(M,j,L,te){if(typeof L=="object"&&L!==null&&L.type===Rs&&L.key===null&&(ff(L,null,M),L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case xa:var Se=fn(L._debugInfo);e:{for(var Be=L.key;j!==null;){if(j.key===Be){if(Be=L.type,Be===Rs){if(j.tag===7){r(M,j.sibling),te=l(j,L.props.children),te.return=M,te._debugOwner=L._owner,te._debugInfo=Ge,ff(L,te,M),M=te;break e}}else if(j.elementType===Be||J0(j,L)||typeof Be=="object"&&Be!==null&&Be.$$typeof===sr&&Si(Be)===j.type){r(M,j.sibling),te=l(j,L.props),Fl(te,L),te.return=M,te._debugOwner=L._owner,te._debugInfo=Ge,M=te;break e}r(M,j);break}else t(M,j);j=j.sibling}L.type===Rs?(te=yo(L.props.children,M.mode,te,L.key),te.return=M,te._debugOwner=M,te._debugTask=M._debugTask,te._debugInfo=Ge,ff(L,te,M),M=te):(te=nf(L,M.mode,te),Fl(te,L),te.return=M,te._debugInfo=Ge,M=te)}return M=m(M),Ge=Se,M;case Cs:e:{for(Se=L,L=Se.key;j!==null;){if(j.key===L)if(j.tag===4&&j.stateNode.containerInfo===Se.containerInfo&&j.stateNode.implementation===Se.implementation){r(M,j.sibling),te=l(j,Se.children||[]),te.return=M,M=te;break e}else{r(M,j);break}else t(M,j);j=j.sibling}te=bm(Se,M.mode,te),te.return=M,M=te}return m(M);case sr:return Se=fn(L._debugInfo),L=Si(L),M=nt(M,j,L,te),Ge=Se,M}if(en(L))return Se=fn(L._debugInfo),M=Ee(M,j,L,te),Ge=Se,M;if(ge(L)){if(Se=fn(L._debugInfo),Be=ge(L),typeof Be!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var _e=Be.call(L);return _e===L?(M.tag!==0||Object.prototype.toString.call(M.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(_e)!=="[object Generator]")&&(wE||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."),wE=!0):L.entries!==Be||Zg||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Zg=!0),M=bt(M,j,_e,te),Ge=Se,M}if(typeof L.then=="function")return Se=fn(L._debugInfo),M=nt(M,j,df(L),te),Ge=Se,M;if(L.$$typeof===Sa)return nt(M,j,sf(M,L),te);hf(M,L)}return typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint"?(Se=""+L,j!==null&&j.tag===6?(r(M,j.sibling),te=l(j,Se),te.return=M,M=te):(r(M,j),te=ym(Se,M.mode,te),te.return=M,te._debugOwner=M,te._debugTask=M._debugTask,te._debugInfo=Ge,M=te),m(M)):(typeof L=="function"&&mf(M,L),typeof L=="symbol"&&pf(M,L),r(M,j))}return function(M,j,L,te){var Se=Ge;Ge=null;try{Hu=0;var Be=nt(M,j,L,te);return Zs=null,Be}catch(St){if(St===Qs||St===Td)throw St;var _e=x(29,St,null,M.mode);_e.lanes=te,_e.return=M;var Ce=_e._debugInfo=Ge;if(_e._debugOwner=M._debugOwner,_e._debugTask=M._debugTask,Ce!=null){for(var Fe=Ce.length-1;0<=Fe;Fe--)if(typeof Ce[Fe].stack=="string"){_e._debugOwner=Ce[Fe],_e._debugTask=Ce[Fe].debugTask;break}}return _e}finally{Ge=Se}}}function Dx(e,t){var r=en(e);return e=!r&&typeof ge(e)=="function",r||e?(r=r?"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>",r,t,r),!1):!0}function Rm(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Om(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 Di(e){return{lane:e,tag:OE,payload:null,callback:null,next:null}}function Ei(e,t,r){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,Kg===o&&!zE){var l=F(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.
|
|
106
|
+
|
|
107
|
+
Please update the following component: %s`,l),zE=!0}return(st&nn)!==cn?(l=o.pending,l===null?t.next=t:(t.next=l.next,l.next=t),o.pending=t,t=tf(e),Z0(e,null,r),t):(ef(e,o,t,r),tf(e))}function Yl(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194048)!==0)){var o=t.lanes;o&=e.pendingLanes,r|=o,t.lanes=r,Pt(e,r)}}function gf(e,t){var r=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,r===o)){var l=null,c=null;if(r=r.firstBaseUpdate,r!==null){do{var m={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};c===null?l=c=m:c=c.next=m,r=r.next}while(r!==null);c===null?l=c=t:c=c.next=t}else l=c=t;r={baseState:o.baseState,firstBaseUpdate:l,lastBaseUpdate:c,shared:o.shared,callbacks:o.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Gl(){if(Wg){var e=Xs;if(e!==null)throw e}}function $l(e,t,r,o){Wg=!1;var l=e.updateQueue;Ii=!1,Kg=l.shared;var c=l.firstBaseUpdate,m=l.lastBaseUpdate,y=l.shared.pending;if(y!==null){l.shared.pending=null;var D=y,E=D.next;D.next=null,m===null?c=E:m.next=E,m=D;var B=e.alternate;B!==null&&(B=B.updateQueue,y=B.lastBaseUpdate,y!==m&&(y===null?B.firstBaseUpdate=E:y.next=E,B.lastBaseUpdate=D))}if(c!==null){var H=l.baseState;m=0,B=E=D=null,y=c;do{var _=y.lane&-536870913,$=_!==y.lane;if($?($e&_)===_:(o&_)===_){_!==0&&_===Uo&&(Wg=!0),B!==null&&(B=B.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});e:{_=e;var ve=y,Ee=t,bt=r;switch(ve.tag){case ME:if(ve=ve.payload,typeof ve=="function"){Gs=!0;var nt=ve.call(bt,H,Ee);if(_.mode&xn){we(!0);try{ve.call(bt,H,Ee)}finally{we(!1)}}Gs=!1,H=nt;break e}H=ve;break e;case Jg:_.flags=_.flags&-65537|128;case OE:if(nt=ve.payload,typeof nt=="function"){if(Gs=!0,ve=nt.call(bt,H,Ee),_.mode&xn){we(!0);try{nt.call(bt,H,Ee)}finally{we(!1)}}Gs=!1}else ve=nt;if(ve==null)break e;H=Je({},H,ve);break e;case _E:Ii=!0}}_=y.callback,_!==null&&(e.flags|=64,$&&(e.flags|=8192),$=l.callbacks,$===null?l.callbacks=[_]:$.push(_))}else $={lane:_,tag:y.tag,payload:y.payload,callback:y.callback,next:null},B===null?(E=B=$,D=H):B=B.next=$,m|=_;if(y=y.next,y===null){if(y=l.shared.pending,y===null)break;$=y,y=$.next,$.next=null,l.lastBaseUpdate=$,l.shared.pending=null}}while(!0);B===null&&(D=H),l.baseState=D,l.firstBaseUpdate=E,l.lastBaseUpdate=B,c===null&&(l.shared.lanes=0),Gi|=m,e.lanes=m,e.memoizedState=H}Kg=null}function Ex(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function eO(e,t){var r=e.shared.hiddenCallbacks;if(r!==null)for(e.shared.hiddenCallbacks=null,e=0;e<r.length;e++)Ex(r[e],t)}function Tx(e,t){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;e<r.length;e++)Ex(r[e],t)}function Ax(e,t){var r=Ra;Q(wd,r,e),Q(Js,t,e),Ra=r|t.baseLanes}function Mm(e){Q(wd,Ra,e),Q(Js,Js.current,e)}function _m(e){Ra=wd.current,oe(Js,e),oe(wd,e)}function Ti(e){var t=e.alternate;Q(Bt,Bt.current&Ks,e),Q(cr,e,e),Cr===null&&(t===null||Js.current!==null||t.memoizedState!==null)&&(Cr=e)}function zm(e){Q(Bt,Bt.current,e),Q(cr,e,e),Cr===null&&(Cr=e)}function wx(e){e.tag===22?(Q(Bt,Bt.current,e),Q(cr,e,e),Cr===null&&(Cr=e)):Ai(e)}function Ai(e){Q(Bt,Bt.current,e),Q(cr,cr.current,e)}function ar(e){oe(cr,e),Cr===e&&(Cr=null),oe(Bt,e)}function yf(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||$p(r)||Xp(r)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Ze(){var e=Z;Or===null?Or=[e]:Or.push(e)}function fe(){var e=Z;if(Or!==null&&(li++,Or[li]!==e)){var t=F(Le);if(!UE.has(t)&&(UE.add(t),Or!==null)){for(var r="",o=0;o<=li;o++){var l=Or[o],c=o===li?e:l;for(l=o+1+". "+l;30>l.length;)l+=" ";l+=c+`
|
|
108
|
+
`,r+=l}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
109
|
+
|
|
110
|
+
Previous render Next render
|
|
111
|
+
------------------------------------------------------
|
|
112
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
113
|
+
`,t,r)}}}function gs(e){e==null||en(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Z,typeof e)}function bf(){var e=F(Le);VE.has(e)||(VE.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function jt(){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:
|
|
114
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
115
|
+
2. You might be breaking the Rules of Hooks
|
|
116
|
+
3. You might have more than one copy of React in the same app
|
|
117
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Um(e,t){if(Iu)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Z),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
118
|
+
|
|
119
|
+
Previous: %s
|
|
120
|
+
Incoming: %s`,Z,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var r=0;r<t.length&&r<e.length;r++)if(!_n(e[r],t[r]))return!1;return!0}function jm(e,t,r,o,l,c){oi=c,Le=t,Or=e!==null?e._debugHookTypes:null,li=-1,Iu=e!==null&&e.type!==t.type,(Object.prototype.toString.call(r)==="[object AsyncFunction]"||Object.prototype.toString.call(r)==="[object AsyncGeneratorFunction]")&&(c=F(Le),ey.has(c)||(ey.add(c),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.",c===null?"An unknown Component":"<"+c+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,J.H=e!==null&&e.memoizedState!==null?ny:Or!==null?LE:ty,Ho=c=(t.mode&xn)!==Ve;var m=$g(r,o,l);if(Ho=!1,el&&(m=Vm(t,r,o,l)),c){we(!0);try{m=Vm(t,r,o,l)}finally{we(!1)}}return Nx(e,t),m}function Nx(e,t){t._debugHookTypes=Or,t.dependencies===null?si!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:si}):t.dependencies._debugThenableState=si,J.H=Fu;var r=pt!==null&&pt.next!==null;if(oi=0,Or=Z=Gt=pt=Le=null,li=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),kd=!1,qu=0,si=null,r)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||$t||(e=e.dependencies,e!==null&&of(e)&&($t=!0)),Bu?(Bu=!1,e=!0):e=!1,e&&(t=F(t)||"Unknown",jE.has(t)||ey.has(t)||(jE.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 Vm(e,t,r,o){Le=e;var l=0;do{if(el&&(si=null),qu=0,el=!1,l>=H_)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l+=1,Iu=!1,Gt=pt=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}li=-1,J.H=BE,c=$g(t,r,o)}while(el);return c}function tO(){var e=J.H,t=e.useState()[0];return t=typeof t.then=="function"?Xl(t):t,e=e.useState()[0],(pt!==null?pt.memoizedState:null)!==e&&(Le.flags|=1024),t}function Lm(){var e=Cd!==0;return Cd=0,e}function Bm(e,t,r){t.updateQueue=e.updateQueue,t.flags=(t.mode&$r)!==Ve?t.flags&-402655237:t.flags&-2053,e.lanes&=~r}function Hm(e){if(kd){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}kd=!1}oi=0,Or=Gt=pt=Le=null,li=-1,Z=null,el=!1,qu=Cd=0,si=null}function Cn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Gt===null?Le.memoizedState=Gt=e:Gt=Gt.next=e,Gt}function dt(){if(pt===null){var e=Le.alternate;e=e!==null?e.memoizedState:null}else e=pt.next;var t=Gt===null?Le.memoizedState:Gt.next;if(t!==null)Gt=t,pt=e;else{if(e===null)throw Le.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.");pt=e,e={memoizedState:pt.memoizedState,baseState:pt.baseState,baseQueue:pt.baseQueue,queue:pt.queue,next:null},Gt===null?Le.memoizedState=Gt=e:Gt=Gt.next=e}return Gt}function vf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Xl(e){var t=qu;return qu+=1,si===null&&(si=hx()),e=px(si,e,t),t=Le,(Gt===null?t.memoizedState:Gt.next)===null&&(t=t.alternate,J.H=t!==null&&t.memoizedState!==null?ny:ty),e}function wi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Xl(e);if(e.$$typeof===Sa)return wt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Do(e){var t=null,r=Le.updateQueue;if(r!==null&&(t=r.memoCache),t==null){var o=Le.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(t={data:o.data.map(function(l){return l.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),r===null&&(r=vf(),Le.updateQueue=r),r.memoCache=t,r=t.data[t.index],r===void 0||Iu)for(r=t.data[t.index]=Array(e),o=0;o<e;o++)r[o]=yM;else r.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.",r.length,e);return t.index++,r}function Fr(e,t){return typeof t=="function"?t(e):t}function Pm(e,t,r){var o=Cn();if(r!==void 0){var l=r(t);if(Ho){we(!0);try{r(t)}finally{we(!1)}}}else l=t;return o.memoizedState=o.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},o.queue=e,e=e.dispatch=oO.bind(null,Le,e),[o.memoizedState,e]}function ys(e){var t=dt();return qm(t,pt,e)}function qm(e,t,r){var o=e.queue;if(o===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");o.lastRenderedReducer=r;var l=e.baseQueue,c=o.pending;if(c!==null){if(l!==null){var m=l.next;l.next=c.next,c.next=m}t.baseQueue!==l&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=l=c,o.pending=null}if(c=e.baseState,l===null)e.memoizedState=c;else{t=l.next;var y=m=null,D=null,E=t,B=!1;do{var H=E.lane&-536870913;if(H!==E.lane?($e&H)===H:(oi&H)===H){var _=E.revertLane;if(_===0)D!==null&&(D=D.next={lane:0,revertLane:0,gesture:null,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null}),H===Uo&&(B=!0);else if((oi&_)===_){E=E.next,_===Uo&&(B=!0);continue}else H={lane:0,revertLane:E.revertLane,gesture:null,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},D===null?(y=D=H,m=c):D=D.next=H,Le.lanes|=_,Gi|=_;H=E.action,Ho&&r(c,H),c=E.hasEagerState?E.eagerState:r(c,H)}else _={lane:H,revertLane:E.revertLane,gesture:E.gesture,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},D===null?(y=D=_,m=c):D=D.next=_,Le.lanes|=H,Gi|=H;E=E.next}while(E!==null&&E!==t);if(D===null?m=c:D.next=y,!_n(c,e.memoizedState)&&($t=!0,B&&(r=Xs,r!==null)))throw r;e.memoizedState=c,e.baseState=m,e.baseQueue=D,o.lastRenderedState=c}return l===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function Ql(e){var t=dt(),r=t.queue;if(r===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");r.lastRenderedReducer=e;var o=r.dispatch,l=r.pending,c=t.memoizedState;if(l!==null){r.pending=null;var m=l=l.next;do c=e(c,m.action),m=m.next;while(m!==l);_n(c,t.memoizedState)||($t=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),r.lastRenderedState=c}return[c,o]}function Im(e,t,r){var o=Le,l=Cn();if(We){if(r===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var c=r();Ws||c===r()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Ws=!0)}else{if(c=t(),Ws||(r=t(),_n(c,r)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Ws=!0)),gt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");($e&127)!==0||kx(o,t,c)}return l.memoizedState=c,r={value:c,getSnapshot:t},l.queue=r,Ef(Rx.bind(null,o,r,e),[e]),o.flags|=2048,vs(Rr|jn,{destroy:void 0},Cx.bind(null,o,r,c,t),null),c}function xf(e,t,r){var o=Le,l=dt(),c=We;if(c){if(r===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");r=r()}else if(r=t(),!Ws){var m=t();_n(r,m)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Ws=!0)}(m=!_n((pt||l).memoizedState,r))&&(l.memoizedState=r,$t=!0),l=l.queue;var y=Rx.bind(null,o,l,e);if(Pn(2048,jn,y,[e]),l.getSnapshot!==t||m||Gt!==null&&Gt.memoizedState.tag&Rr){if(o.flags|=2048,vs(Rr|jn,{destroy:void 0},Cx.bind(null,o,l,r,t),null),gt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");c||(oi&127)!==0||kx(o,t,r)}return r}function kx(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Le.updateQueue,t===null?(t=vf(),Le.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function Cx(e,t,r,o){t.value=r,t.getSnapshot=o,Ox(t)&&Mx(e)}function Rx(e,t,r){return r(function(){Ox(t)&&(sa(2,"updateSyncExternalStore()",e),Mx(e))})}function Ox(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!_n(e,r)}catch{return!0}}function Mx(e){var t=bn(e,2);t!==null&&Ot(t,e,2)}function Fm(e){var t=Cn();if(typeof e=="function"){var r=e;if(e=r(),Ho){we(!0);try{r()}finally{we(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fr,lastRenderedState:e},t}function Ym(e){e=Fm(e);var t=e.queue,r=Jx.bind(null,Le,t);return t.dispatch=r,[e.memoizedState,r]}function Gm(e){var t=Cn();t.memoizedState=t.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=r,t=op.bind(null,Le,!0,r),r.dispatch=t,[e,t]}function _x(e,t){var r=dt();return zx(r,pt,e,t)}function zx(e,t,r,o){return e.baseState=r,qm(e,pt,typeof o=="function"?o:Fr)}function Ux(e,t){var r=dt();return pt!==null?zx(r,pt,e,t):(r.baseState=e,[e,r.queue.dispatch])}function nO(e,t,r,o,l){if(Cf(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var c={payload:l,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){c.listeners.push(m)}};J.T!==null?r(!0):c.isTransition=!1,o(c),r=t.pending,r===null?(c.next=t.pending=c,jx(t,c)):(c.next=r.next,t.pending=r.next=c)}}function jx(e,t){var r=t.action,o=t.payload,l=e.state;if(t.isTransition){var c=J.T,m={};m._updatedFibers=new Set,J.T=m;try{var y=r(l,o),D=J.S;D!==null&&D(m,y),Vx(e,t,y)}catch(E){$m(e,t,E)}finally{c!==null&&m.types!==null&&(c.types!==null&&c.types!==m.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),c.types=m.types),J.T=c,c===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."))}}else try{m=r(l,o),Vx(e,t,m)}catch(E){$m(e,t,E)}}function Vx(e,t,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?(J.asyncTransitions++,r.then(kf,kf),r.then(function(o){Lx(e,t,o)},function(o){return $m(e,t,o)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Lx(e,t,r)}function Lx(e,t,r){t.status="fulfilled",t.value=r,Bx(t),e.state=r,t=e.pending,t!==null&&(r=t.next,r===t?e.pending=null:(r=r.next,t.next=r,jx(e,r)))}function $m(e,t,r){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do t.status="rejected",t.reason=r,Bx(t),t=t.next;while(t!==o)}e.action=null}function Bx(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Hx(e,t){return t}function bs(e,t){if(We){var r=gt.formState;if(r!==null){e:{var o=Le;if(We){if(xt){t:{for(var l=xt,c=Nr;l.nodeType!==8;){if(!c){l=null;break t}if(l=or(l.nextSibling),l===null){l=null;break t}}c=l.data,l=c===Ay||c===TT?l:null}if(l){xt=or(l.nextSibling),o=l.data===Ay;break e}}vi(o)}o=!1}o&&(t=r[0])}}return r=Cn(),r.memoizedState=r.baseState=t,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Hx,lastRenderedState:t},r.queue=o,r=Jx.bind(null,Le,o),o.dispatch=r,o=Fm(!1),c=op.bind(null,Le,!1,o.queue),o=Cn(),l={state:t,dispatch:null,action:e,pending:null},o.queue=l,r=nO.bind(null,Le,l,c,r),l.dispatch=r,o.memoizedState=e,[t,r,!1]}function Sf(e){var t=dt();return Px(t,pt,e)}function Px(e,t,r){if(t=qm(e,t,Hx)[0],e=ys(Fr)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var o=Xl(t)}catch(m){throw m===Qs?Td:m}else o=t;t=dt();var l=t.queue,c=l.dispatch;return r!==t.memoizedState&&(Le.flags|=2048,vs(Rr|jn,{destroy:void 0},rO.bind(null,l,r),null)),[o,c,e]}function rO(e,t){e.action=t}function Df(e){var t=dt(),r=pt;if(r!==null)return Px(t,r,e);dt(),t=t.memoizedState,r=dt();var o=r.queue.dispatch;return r.memoizedState=e,[t,o,!1]}function vs(e,t,r,o){return e={tag:e,create:r,deps:o,inst:t,next:null},t=Le.updateQueue,t===null&&(t=vf(),Le.updateQueue=t),r=t.lastEffect,r===null?t.lastEffect=e.next=e:(o=r.next,r.next=e,e.next=o,t.lastEffect=e),e}function Xm(e){var t=Cn();return e={current:e},t.memoizedState=e}function Eo(e,t,r,o){var l=Cn();Le.flags|=e,l.memoizedState=vs(Rr|t,{destroy:void 0},r,o===void 0?null:o)}function Pn(e,t,r,o){var l=dt();o=o===void 0?null:o;var c=l.memoizedState.inst;pt!==null&&o!==null&&Um(o,pt.memoizedState.deps)?l.memoizedState=vs(t,c,r,o):(Le.flags|=e,l.memoizedState=vs(Rr|t,c,r,o))}function Ef(e,t){(Le.mode&$r)!==Ve?Eo(276826112,jn,e,t):Eo(8390656,jn,e,t)}function aO(e){Le.flags|=4;var t=Le.updateQueue;if(t===null)t=vf(),Le.updateQueue=t,t.events=[e];else{var r=t.events;r===null?t.events=[e]:r.push(e)}}function Qm(e){var t=Cn(),r={impl:e};return t.memoizedState=r,function(){if((st&nn)!==cn)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return r.impl.apply(void 0,arguments)}}function Tf(e){var t=dt().memoizedState;return aO({ref:t,nextImpl:e}),function(){if((st&nn)!==cn)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function Zm(e,t){var r=4194308;return(Le.mode&$r)!==Ve&&(r|=134217728),Eo(r,fr,e,t)}function qx(e,t){if(typeof t=="function"){e=e();var r=t(e);return function(){typeof r=="function"?r():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 Jm(e,t,r){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"),r=r!=null?r.concat([e]):null;var o=4194308;(Le.mode&$r)!==Ve&&(o|=134217728),Eo(o,fr,qx.bind(null,t,e),r)}function Af(e,t,r){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"),r=r!=null?r.concat([e]):null,Pn(4,fr,qx.bind(null,t,e),r)}function Km(e,t){return Cn().memoizedState=[e,t===void 0?null:t],e}function wf(e,t){var r=dt();t=t===void 0?null:t;var o=r.memoizedState;return t!==null&&Um(t,o[1])?o[0]:(r.memoizedState=[e,t],e)}function Wm(e,t){var r=Cn();t=t===void 0?null:t;var o=e();if(Ho){we(!0);try{e()}finally{we(!1)}}return r.memoizedState=[o,t],o}function Nf(e,t){var r=dt();t=t===void 0?null:t;var o=r.memoizedState;if(t!==null&&Um(t,o[1]))return o[0];if(o=e(),Ho){we(!0);try{e()}finally{we(!1)}}return r.memoizedState=[o,t],o}function ep(e,t){var r=Cn();return tp(r,e,t)}function Ix(e,t){var r=dt();return Yx(r,pt.memoizedState,e,t)}function Fx(e,t){var r=dt();return pt===null?tp(r,e,t):Yx(r,pt.memoizedState,e,t)}function tp(e,t,r){return r===void 0||(oi&1073741824)!==0&&($e&261930)===0?e.memoizedState=t:(e.memoizedState=r,e=G1(),Le.lanes|=e,Gi|=e,r)}function Yx(e,t,r,o){return _n(r,t)?r:Js.current!==null?(e=tp(e,r,o),_n(e,t)||($t=!0),e):(oi&42)===0||(oi&1073741824)!==0&&($e&261930)===0?($t=!0,e.memoizedState=r):(e=G1(),Le.lanes|=e,Gi|=e,t)}function kf(){J.asyncTransitions--}function Gx(e,t,r,o,l){var c=ft.p;ft.p=c!==0&&c<Aa?c:Aa;var m=J.T,y={};y._updatedFibers=new Set,J.T=y,op(e,!1,t,r);try{var D=l(),E=J.S;if(E!==null&&E(y,D),D!==null&&typeof D=="object"&&typeof D.then=="function"){J.asyncTransitions++,D.then(kf,kf);var B=WR(D,o);Zl(e,t,B,ir(e))}else Zl(e,t,o,ir(e))}catch(H){Zl(e,t,{then:function(){},status:"rejected",reason:H},ir(e))}finally{ft.p=c,m!==null&&y.types!==null&&(m.types!==null&&m.types!==y.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),m.types=y.types),J.T=m,m===null&&y._updatedFibers&&(e=y._updatedFibers.size,y._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 np(e,t,r,o){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var l=$x(e).queue;JR(e),Gx(e,l,t,Jo,r===null?g:function(){return Xx(e),r(o)})}function $x(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Jo,baseState:Jo,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fr,lastRenderedState:Jo},next:null};var r={};return t.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fr,lastRenderedState:r},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Xx(e){J.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=$x(e);t.next===null&&(t=e.alternate.memoizedState),Zl(e,t.next.queue,{},ir(e))}function rp(){var e=Fm(!1);return e=Gx.bind(null,Le,e.queue,!0,!1),Cn().memoizedState=e,[!1,e]}function Qx(){var e=ys(Fr)[0],t=dt().memoizedState;return[typeof e=="boolean"?e:Xl(e),t]}function Zx(){var e=Ql(Fr)[0],t=dt().memoizedState;return[typeof e=="boolean"?e:Xl(e),t]}function To(){return wt(ic)}function ap(){var e=Cn(),t=gt.identifierPrefix;if(We){var r=ti,o=ei;r=(o&~(1<<32-Rn(o)-1)).toString(32)+r,t="_"+t+"R_"+r,r=Cd++,0<r&&(t+="H"+r.toString(32)),t+="_"}else r=B_++,t="_"+t+"r_"+r.toString(32)+"_";return e.memoizedState=t}function ip(){return Cn().memoizedState=iO.bind(null,Le)}function iO(e,t){for(var r=e.return;r!==null;){switch(r.tag){case 24:case 3:var o=ir(r),l=Di(o),c=Ei(r,l,o);c!==null&&(sa(o,"refresh()",e),Ot(c,r,o),Yl(c,r,o)),e=Am(),t!=null&&c!==null&&console.error("The seed argument is not enabled outside experimental channels."),l.payload={cache:e};return}r=r.return}}function oO(e,t,r){var o=arguments;typeof o[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),o=ir(e);var l={lane:o,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};Cf(e)?Kx(t,l):(l=hm(e,t,l,o),l!==null&&(sa(o,"dispatch()",e),Ot(l,e,o),Wx(l,t,o)))}function Jx(e,t,r){var o=arguments;typeof o[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),o=ir(e),Zl(e,t,r,o)&&sa(o,"setState()",e)}function Zl(e,t,r,o){var l={lane:o,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(Cf(e))Kx(t,l);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null)){var m=J.H;J.H=Qr;try{var y=t.lastRenderedState,D=c(y,r);if(l.hasEagerState=!0,l.eagerState=D,_n(D,y))return ef(e,t,l,0),gt===null&&Wc(),!1}catch{}finally{J.H=m}}if(r=hm(e,t,l,o),r!==null)return Ot(r,e,o),Wx(r,t,o),!0}return!1}function op(e,t,r,o){if(J.T===null&&Uo===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),o={lane:2,revertLane:jp(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Cf(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=hm(e,r,o,2),t!==null&&(sa(2,"setOptimistic()",e),Ot(t,e,2))}function Cf(e){var t=e.alternate;return e===Le||t!==null&&t===Le}function Kx(e,t){el=kd=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Wx(e,t,r){if((r&4194048)!==0){var o=t.lanes;o&=e.pendingLanes,r|=o,t.lanes=r,Pt(e,r)}}function sp(e){if(e!==null&&typeof e!="function"){var t=String(e);ZE.has(t)||(ZE.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function lp(e,t,r,o){var l=e.memoizedState,c=r(o,l);if(e.mode&xn){we(!0);try{c=r(o,l)}finally{we(!1)}}c===void 0&&(t=se(t)||"Component",GE.has(t)||(GE.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),l=c==null?l:Je({},l,c),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}function e1(e,t,r,o,l,c,m){var y=e.stateNode;if(typeof y.shouldComponentUpdate=="function"){if(r=y.shouldComponentUpdate(o,c,m),e.mode&xn){we(!0);try{r=y.shouldComponentUpdate(o,c,m)}finally{we(!1)}}return r===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",se(t)||"Component"),r}return t.prototype&&t.prototype.isPureReactComponent?!Bl(r,o)||!Bl(l,c):!0}function t1(e,t,r,o){var l=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,o),t.state!==l&&(e=F(e)||"Component",PE.has(e)||(PE.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),ry.enqueueReplaceState(t,t.state,null))}function Ao(e,t){var r=t;if("ref"in t){r={};for(var o in t)o!=="ref"&&(r[o]=t[o])}if(e=e.defaultProps){r===t&&(r=Je({},r));for(var l in e)r[l]===void 0&&(r[l]=e[l])}return r}function n1(e){zg(e),console.warn(`%s
|
|
121
|
+
|
|
122
|
+
%s
|
|
123
|
+
`,tl?"An error occurred in the <"+tl+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
124
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function r1(e){var t=tl?"The above error occurred in the <"+tl+"> component.":"The above error occurred in one of your React components.",r="React will try to recreate this component tree from scratch using the error boundary you provided, "+((ay||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var o=e.environmentName;e=[`%o
|
|
125
|
+
|
|
126
|
+
%s
|
|
127
|
+
|
|
128
|
+
%s
|
|
129
|
+
`,e,t,r].slice(0),typeof e[0]=="string"?e.splice(0,1,MT+" "+e[0],_T,eh+o+eh,zT):e.splice(0,0,MT,_T,eh+o+eh,zT),e.unshift(console),o=oz.apply(console.error,e),o()}else console.error(`%o
|
|
130
|
+
|
|
131
|
+
%s
|
|
132
|
+
|
|
133
|
+
%s
|
|
134
|
+
`,e,t,r)}function a1(e){zg(e)}function Rf(e,t){try{tl=t.source?F(t.source):null,ay=null;var r=t.value;if(J.actQueue!==null)J.thrownErrors.push(r);else{var o=e.onUncaughtError;o(r,{componentStack:t.stack})}}catch(l){setTimeout(function(){throw l})}}function i1(e,t,r){try{tl=r.source?F(r.source):null,ay=F(t);var o=e.onCaughtError;o(r.value,{componentStack:r.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function up(e,t,r){return r=Di(r),r.tag=Jg,r.payload={element:null},r.callback=function(){De(t.source,Rf,e,t)},r}function cp(e){return e=Di(e),e.tag=Jg,e}function fp(e,t,r,o){var l=r.type.getDerivedStateFromError;if(typeof l=="function"){var c=o.value;e.payload=function(){return l(c)},e.callback=function(){K0(r),De(o.source,i1,t,r,o)}}var m=r.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(e.callback=function(){K0(r),De(o.source,i1,t,r,o),typeof l!="function"&&(Xi===null?Xi=new Set([this]):Xi.add(this)),U_(this,o),typeof l=="function"||(r.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.",F(r)||"Unknown")})}function sO(e,t,r,o,l){if(r.flags|=32768,Ta&&au(e,l),o!==null&&typeof o=="object"&&typeof o.then=="function"){if(t=r.alternate,t!==null&&ps(t,r,l,!0),We&&(Na=!0),r=cr.current,r!==null){switch(r.tag){case 31:case 13:return Cr===null?Bf():r.alternate===null&&Rt===ci&&(Rt=Md),r.flags&=-257,r.flags|=65536,r.lanes=l,o===Ad?r.flags|=16384:(t=r.updateQueue,t===null?r.updateQueue=new Set([o]):t.add(o),Mp(e,o,l)),!1;case 22:return r.flags|=65536,o===Ad?r.flags|=16384:(t=r.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([o])},r.updateQueue=t):(r=t.retryQueue,r===null?t.retryQueue=new Set([o]):r.add(o)),Mp(e,o,l)),!1}throw Error("Unexpected Suspense handler tag ("+r.tag+"). This is a bug in React.")}return Mp(e,o,l),Bf(),!1}if(We)return Na=!0,t=cr.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=l,o!==Hg&&Hl(tr(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:o}),r))):(o!==Hg&&Hl(tr(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:o}),r)),e=e.current.alternate,e.flags|=65536,l&=-l,e.lanes|=l,o=tr(o,r),l=up(e.stateNode,o,l),gf(e,l),Rt!==Fi&&(Rt=Po)),!1;var c=tr(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:o}),r);if(Zu===null?Zu=[c]:Zu.push(c),Rt!==Fi&&(Rt=Po),t===null)return!0;o=tr(o,r),r=t;do{switch(r.tag){case 3:return r.flags|=65536,e=l&-l,r.lanes|=e,e=up(r.stateNode,o,e),gf(r,e),!1;case 1:if(t=r.type,c=r.stateNode,(r.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Xi===null||!Xi.has(c))))return r.flags|=65536,l&=-l,r.lanes|=l,l=cp(l),fp(l,e,r,o),gf(r,l),!1}r=r.return}while(r!==null);return!1}function dn(e,t,r,o){t.child=e===null?RE(t,null,r,o):Bo(t,e.child,r,o)}function o1(e,t,r,o,l){r=r.render;var c=t.ref;if("ref"in o){var m={};for(var y in o)y!=="ref"&&(m[y]=o[y])}else m=o;return xo(t),o=jm(e,t,r,m,c,l),y=Lm(),e!==null&&!$t?(Bm(e,t,l),$a(e,t,l)):(We&&y&&vm(t),t.flags|=1,dn(e,t,o,l),t.child)}function s1(e,t,r,o,l){if(e===null){var c=r.type;return typeof c=="function"&&!pm(c)&&c.defaultProps===void 0&&r.compare===null?(r=go(c),t.tag=15,t.type=r,hp(t,c),l1(e,t,r,o,l)):(e=gm(r.type,null,o,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,!vp(e,l)){var m=c.memoizedProps;if(r=r.compare,r=r!==null?r:Bl,r(m,o)&&e.ref===t.ref)return $a(e,t,l)}return t.flags|=1,e=Ia(c,o),e.ref=t.ref,e.return=t,t.child=e}function l1(e,t,r,o,l){if(e!==null){var c=e.memoizedProps;if(Bl(c,o)&&e.ref===t.ref&&t.type===e.type)if($t=!1,t.pendingProps=o=c,vp(e,l))(e.flags&131072)!==0&&($t=!0);else return t.lanes=e.lanes,$a(e,t,l)}return dp(e,t,r,o,l)}function u1(e,t,r,o){var l=o.children,c=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:Au,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((t.flags&128)!==0){if(c=c!==null?c.baseLanes|r:r,e!==null){for(o=t.child=e.child,l=0;o!==null;)l=l|o.lanes|o.childLanes,o=o.sibling;o=l&~c}else o=0,t.child=null;return c1(e,t,c,r,o)}if((r&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&cf(t,c!==null?c.cachePool:null),c!==null?Ax(t,c):Mm(t),wx(t);else return o=t.lanes=536870912,c1(e,t,c!==null?c.baseLanes|r:r,r,o)}else c!==null?(cf(t,c.cachePool),Ax(t,c),Ai(t),t.memoizedState=null):(e!==null&&cf(t,null),Mm(t),Ai(t));return dn(e,t,l,r),t.child}function Jl(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:Au,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function c1(e,t,r,o,l){var c=km();return c=c===null?null:{parent:Ft._currentValue,pool:c},t.memoizedState={baseLanes:r,cachePool:c},e!==null&&cf(t,null),Mm(t),wx(t),e!==null&&ps(e,t,o,!0),t.childLanes=l,null}function Of(e,t){var r=t.hidden;return r!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
135
|
+
- <Activity %s>
|
|
136
|
+
+ <Activity %s>`,r===!0?"hidden":r===!1?"hidden={false}":"hidden={...}",r?'mode="hidden"':'mode="visible"'),t=_f({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function f1(e,t,r){return Bo(t,e.child,null,r),e=Of(t,t.pendingProps),e.flags|=2,ar(t),t.memoizedState=null,e}function lO(e,t,r){var o=t.pendingProps,l=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(We){if(o.mode==="hidden")return e=Of(t,o),t.lanes=536870912,Jl(null,e);if(zm(t),(e=xt)?(r=jS(e,Nr),r=r!==null&&r.data===$o?r:null,r!==null&&(o={dehydrated:r,treeContext:rx(),retryLane:536870912,hydrationErrors:null},t.memoizedState=o,o=tx(r),o.return=t,t.child=o,pn=t,xt=null)):r=null,r===null)throw rf(t,e),vi(t);return t.lanes=536870912,null}return Of(t,o)}var c=e.memoizedState;if(c!==null){var m=c.dehydrated;if(zm(t),l)if(t.flags&256)t.flags&=-257,t=f1(e,t,r);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(ix(),(r&536870912)!==0&&Lf(t),$t||ps(e,t,r,!1),l=(r&e.childLanes)!==0,$t||l){if(o=gt,o!==null&&(m=wn(o,r),m!==0&&m!==c.retryLane))throw c.retryLane=m,bn(e,m),Ot(o,e,m),iy;Bf(),t=f1(e,t,r)}else e=c.treeContext,xt=or(m.nextSibling),pn=t,We=!0,Li=null,Na=!1,ur=null,Nr=!1,e!==null&&ax(t,e),t=Of(t,o),t.flags|=4096;return t}return c=e.child,o={mode:o.mode,children:o.children},(r&536870912)!==0&&(r&e.lanes)!==0&&Lf(t),e=Ia(c,o),e.ref=t.ref,t.child=e,e.return=t,e}function Mf(e,t){var r=t.ref;if(r===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==r)&&(t.flags|=4194816)}}function dp(e,t,r,o,l){if(r.prototype&&typeof r.prototype.render=="function"){var c=se(r)||"Unknown";JE[c]||(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.",c,c),JE[c]=!0)}return t.mode&xn&&Xr.recordLegacyContextWarning(t,null),e===null&&(hp(t,t.type),r.contextTypes&&(c=se(r)||"Unknown",WE[c]||(WE[c]=!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)",c)))),xo(t),r=jm(e,t,r,o,void 0,l),o=Lm(),e!==null&&!$t?(Bm(e,t,l),$a(e,t,l)):(We&&o&&vm(t),t.flags|=1,dn(e,t,r,l),t.child)}function d1(e,t,r,o,l,c){return xo(t),li=-1,Iu=e!==null&&e.type!==t.type,t.updateQueue=null,r=Vm(t,o,r,l),Nx(e,t),o=Lm(),e!==null&&!$t?(Bm(e,t,c),$a(e,t,c)):(We&&o&&vm(t),t.flags|=1,dn(e,t,r,c),t.child)}function h1(e,t,r,o,l){switch(d(t)){case!1:var c=t.stateNode,m=new t.type(t.memoizedProps,c.context).state;c.updater.enqueueSetState(c,m,null);break;case!0:t.flags|=128,t.flags|=65536,c=Error("Simulated error coming from DevTools");var y=l&-l;if(t.lanes|=y,m=gt,m===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");y=cp(y),fp(y,m,t,tr(c,t)),gf(t,y)}if(xo(t),t.stateNode===null){if(m=Vi,c=r.contextType,"contextType"in r&&c!==null&&(c===void 0||c.$$typeof!==Sa)&&!QE.has(r)&&(QE.add(r),y=c===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 c!="object"?" However, it is set to a "+typeof c+".":c.$$typeof===og?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(c).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",se(r)||"Component",y)),typeof c=="object"&&c!==null&&(m=wt(c)),c=new r(o,m),t.mode&xn){we(!0);try{c=new r(o,m)}finally{we(!1)}}if(m=t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=ry,t.stateNode=c,c._reactInternals=t,c._reactInternalInstance=HE,typeof r.getDerivedStateFromProps=="function"&&m===null&&(m=se(r)||"Component",qE.has(m)||(qE.add(m),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.",m,c.state===null?"null":"undefined",m))),typeof r.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"){var D=y=m=null;if(typeof c.componentWillMount=="function"&&c.componentWillMount.__suppressDeprecationWarning!==!0?m="componentWillMount":typeof c.UNSAFE_componentWillMount=="function"&&(m="UNSAFE_componentWillMount"),typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps.__suppressDeprecationWarning!==!0?y="componentWillReceiveProps":typeof c.UNSAFE_componentWillReceiveProps=="function"&&(y="UNSAFE_componentWillReceiveProps"),typeof c.componentWillUpdate=="function"&&c.componentWillUpdate.__suppressDeprecationWarning!==!0?D="componentWillUpdate":typeof c.UNSAFE_componentWillUpdate=="function"&&(D="UNSAFE_componentWillUpdate"),m!==null||y!==null||D!==null){c=se(r)||"Component";var E=typeof r.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";FE.has(c)||(FE.add(c),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
137
|
+
|
|
138
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
139
|
+
|
|
140
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
141
|
+
https://react.dev/link/unsafe-component-lifecycles`,c,E,m!==null?`
|
|
142
|
+
`+m:"",y!==null?`
|
|
143
|
+
`+y:"",D!==null?`
|
|
144
|
+
`+D:""))}}c=t.stateNode,m=se(r)||"Component",c.render||(r.prototype&&typeof r.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",m):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",m)),!c.getInitialState||c.getInitialState.isReactClassApproved||c.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?",m),c.getDefaultProps&&!c.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.",m),c.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",m),r.childContextTypes&&!XE.has(r)&&(XE.add(r),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",m)),r.contextTypes&&!$E.has(r)&&($E.add(r),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)",m)),typeof c.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.",m),r.prototype&&r.prototype.isPureReactComponent&&typeof c.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.",se(r)||"A pure component"),typeof c.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",m),typeof c.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().",m),typeof c.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",m),typeof c.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",m),y=c.props!==o,c.props!==void 0&&y&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",m),c.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.",m,m),typeof c.getSnapshotBeforeUpdate!="function"||typeof c.componentDidUpdate=="function"||IE.has(r)||(IE.add(r),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",se(r))),typeof c.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",m),typeof c.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",m),typeof r.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",m),(y=c.state)&&(typeof y!="object"||en(y))&&console.error("%s.state: must be set to an object or null",m),typeof c.getChildContext=="function"&&typeof r.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",m),c=t.stateNode,c.props=o,c.state=t.memoizedState,c.refs={},Rm(t),m=r.contextType,c.context=typeof m=="object"&&m!==null?wt(m):Vi,c.state===o&&(m=se(r)||"Component",YE.has(m)||(YE.add(m),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.",m))),t.mode&xn&&Xr.recordLegacyContextWarning(t,c),Xr.recordUnsafeLifecycleWarnings(t,c),c.state=t.memoizedState,m=r.getDerivedStateFromProps,typeof m=="function"&&(lp(t,r,m,o),c.state=t.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(m=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),m!==c.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",F(t)||"Component"),ry.enqueueReplaceState(c,c.state,null)),$l(t,o,c,l),Gl(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$r)!==Ve&&(t.flags|=134217728),c=!0}else if(e===null){c=t.stateNode;var B=t.memoizedProps;y=Ao(r,B),c.props=y;var H=c.context;D=r.contextType,m=Vi,typeof D=="object"&&D!==null&&(m=wt(D)),E=r.getDerivedStateFromProps,D=typeof E=="function"||typeof c.getSnapshotBeforeUpdate=="function",B=t.pendingProps!==B,D||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(B||H!==m)&&t1(t,c,o,m),Ii=!1;var _=t.memoizedState;c.state=_,$l(t,o,c,l),Gl(),H=t.memoizedState,B||_!==H||Ii?(typeof E=="function"&&(lp(t,r,E,o),H=t.memoizedState),(y=Ii||e1(t,r,y,o,_,H,m))?(D||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$r)!==Ve&&(t.flags|=134217728)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$r)!==Ve&&(t.flags|=134217728),t.memoizedProps=o,t.memoizedState=H),c.props=o,c.state=H,c.context=m,c=y):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$r)!==Ve&&(t.flags|=134217728),c=!1)}else{c=t.stateNode,Om(e,t),m=t.memoizedProps,D=Ao(r,m),c.props=D,E=t.pendingProps,_=c.context,H=r.contextType,y=Vi,typeof H=="object"&&H!==null&&(y=wt(H)),B=r.getDerivedStateFromProps,(H=typeof B=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(m!==E||_!==y)&&t1(t,c,o,y),Ii=!1,_=t.memoizedState,c.state=_,$l(t,o,c,l),Gl();var $=t.memoizedState;m!==E||_!==$||Ii||e!==null&&e.dependencies!==null&&of(e.dependencies)?(typeof B=="function"&&(lp(t,r,B,o),$=t.memoizedState),(D=Ii||e1(t,r,D,o,_,$,y)||e!==null&&e.dependencies!==null&&of(e.dependencies))?(H||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(o,$,y),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(o,$,y)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||m===e.memoizedProps&&_===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&_===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=$),c.props=o,c.state=$,c.context=y,c=D):(typeof c.componentDidUpdate!="function"||m===e.memoizedProps&&_===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&_===e.memoizedState||(t.flags|=1024),c=!1)}if(y=c,Mf(e,t),m=(t.flags&128)!==0,y||m){if(y=t.stateNode,Kn(t),m&&typeof r.getDerivedStateFromError!="function")r=null,zn=-1;else if(r=gE(y),t.mode&xn){we(!0);try{gE(y)}finally{we(!1)}}t.flags|=1,e!==null&&m?(t.child=Bo(t,e.child,null,l),t.child=Bo(t,null,r,l)):dn(e,t,r,l),t.memoizedState=y.state,e=t.child}else e=$a(e,t,l);return l=t.stateNode,c&&l.props!==o&&(nl||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",F(t)||"a component"),nl=!0),e}function m1(e,t,r,o){return vo(),t.flags|=256,dn(e,t,r,o),t.child}function hp(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
145
|
+
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=se(t)||"Unknown",eT[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),eT[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=se(t)||"Unknown",KE[t]||(console.error("%s: Function components do not support contextType.",t),KE[t]=!0))}function mp(e){return{baseLanes:e,cachePool:dx()}}function pp(e,t,r){return e=e!==null?e.childLanes&~r:0,t&&(e|=Gn),e}function p1(e,t,r){var o,l=t.pendingProps;f(t)&&(t.flags|=128);var c=!1,m=(t.flags&128)!==0;if((o=m)||(o=e!==null&&e.memoizedState===null?!1:(Bt.current&Pu)!==0),o&&(c=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(We){if(c?Ti(t):Ai(t),(e=xt)?(r=jS(e,Nr),r=r!==null&&r.data!==$o?r:null,r!==null&&(o={dehydrated:r,treeContext:rx(),retryLane:536870912,hydrationErrors:null},t.memoizedState=o,o=tx(r),o.return=t,t.child=o,pn=t,xt=null)):r=null,r===null)throw rf(t,e),vi(t);return Xp(r)?t.lanes=32:t.lanes=536870912,null}var y=l.children;if(l=l.fallback,c){Ai(t);var D=t.mode;return y=_f({mode:"hidden",children:y},D),l=yo(l,D,r,null),y.return=t,l.return=t,y.sibling=l,t.child=y,l=t.child,l.memoizedState=mp(r),l.childLanes=pp(e,o,r),t.memoizedState=oy,Jl(null,l)}return Ti(t),gp(t,y)}var E=e.memoizedState;if(E!==null){var B=E.dehydrated;if(B!==null){if(m)t.flags&256?(Ti(t),t.flags&=-257,t=yp(e,t,r)):t.memoizedState!==null?(Ai(t),t.child=e.child,t.flags|=128,t=null):(Ai(t),y=l.fallback,D=t.mode,l=_f({mode:"visible",children:l.children},D),y=yo(y,D,r,null),y.flags|=2,l.return=t,y.return=t,l.sibling=y,t.child=l,Bo(t,e.child,null,r),l=t.child,l.memoizedState=mp(r),l.childLanes=pp(e,o,r),t.memoizedState=oy,t=Jl(null,l));else if(Ti(t),ix(),(r&536870912)!==0&&Lf(t),Xp(B)){if(o=B.nextSibling&&B.nextSibling.dataset,o){y=o.dgst;var H=o.msg;D=o.stck;var _=o.cstck}c=H,o=y,l=D,B=_,y=c,D=B,y=Error(y||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),y.stack=l||"",y.digest=o,o=D===void 0?null:D,l={value:y,source:null,stack:o},typeof o=="string"&&Bg.set(y,l),Hl(l),t=yp(e,t,r)}else if($t||ps(e,t,r,!1),o=(r&e.childLanes)!==0,$t||o){if(o=gt,o!==null&&(l=wn(o,r),l!==0&&l!==E.retryLane))throw E.retryLane=l,bn(e,l),Ot(o,e,l),iy;$p(B)||Bf(),t=yp(e,t,r)}else $p(B)?(t.flags|=192,t.child=e.child,t=null):(e=E.treeContext,xt=or(B.nextSibling),pn=t,We=!0,Li=null,Na=!1,ur=null,Nr=!1,e!==null&&ax(t,e),t=gp(t,l.children),t.flags|=4096);return t}}return c?(Ai(t),y=l.fallback,D=t.mode,_=e.child,B=_.sibling,l=Ia(_,{mode:"hidden",children:l.children}),l.subtreeFlags=_.subtreeFlags&65011712,B!==null?y=Ia(B,y):(y=yo(y,D,r,null),y.flags|=2),y.return=t,l.return=t,l.sibling=y,t.child=l,Jl(null,l),l=t.child,y=e.child.memoizedState,y===null?y=mp(r):(D=y.cachePool,D!==null?(_=Ft._currentValue,D=D.parent!==_?{parent:_,pool:_}:D):D=dx(),y={baseLanes:y.baseLanes|r,cachePool:D}),l.memoizedState=y,l.childLanes=pp(e,o,r),t.memoizedState=oy,Jl(e.child,l)):(E!==null&&(r&62914560)===r&&(r&e.lanes)!==0&&Lf(t),Ti(t),r=e.child,e=r.sibling,r=Ia(r,{mode:"visible",children:l.children}),r.return=t,r.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=r,t.memoizedState=null,r)}function gp(e,t){return t=_f({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function _f(e,t){return e=x(22,e,null,t),e.lanes=0,e}function yp(e,t,r){return Bo(t,e.child,null,r),e=gp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function g1(e,t,r){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),Em(e.return,t,r)}function bp(e,t,r,o,l,c){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:r,tailMode:l,treeForkCount:c}:(m.isBackwards=t,m.rendering=null,m.renderingStartTime=0,m.last=o,m.tail=r,m.tailMode=l,m.treeForkCount=c)}function y1(e,t,r){var o=t.pendingProps,l=o.revealOrder,c=o.tail,m=o.children,y=Bt.current;if((o=(y&Pu)!==0)?(y=y&Ks|Pu,t.flags|=128):y&=Ks,Q(Bt,y,t),y=l??"null",l!=="forwards"&&l!=="unstable_legacy-backwards"&&l!=="together"&&l!=="independent"&&!tT[y])if(tT[y]=!0,l==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(l==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof l=="string")switch(l.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',l,l.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',l,l.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',l)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',l);y=c??"null",Od[y]||(c==null?(l==="forwards"||l==="backwards"||l==="unstable_legacy-backwards")&&(Od[y]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):c!=="visible"&&c!=="collapsed"&&c!=="hidden"?(Od[y]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',c)):l!=="forwards"&&l!=="backwards"&&l!=="unstable_legacy-backwards"&&(Od[y]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',c)));e:if((l==="forwards"||l==="backwards"||l==="unstable_legacy-backwards")&&m!==void 0&&m!==null&&m!==!1)if(en(m)){for(y=0;y<m.length;y++)if(!Dx(m[y],y))break e}else if(y=ge(m),typeof y=="function"){if(y=y.call(m))for(var D=y.next(),E=0;!D.done;D=y.next()){if(!Dx(D.value,E))break e;E++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',l);if(dn(e,t,m,r),We?(bi(),m=wu):m=0,!o&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&g1(e,r,t);else if(e.tag===19)g1(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(l){case"forwards":for(r=t.child,l=null;r!==null;)e=r.alternate,e!==null&&yf(e)===null&&(l=r),r=r.sibling;r=l,r===null?(l=t.child,t.child=null):(l=r.sibling,r.sibling=null),bp(t,!1,l,r,c,m);break;case"backwards":case"unstable_legacy-backwards":for(r=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&yf(e)===null){t.child=l;break}e=l.sibling,l.sibling=r,r=l,l=e}bp(t,!0,r,null,c,m);break;case"together":bp(t,!1,null,null,void 0,m);break;default:t.memoizedState=null}return t.child}function $a(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),zn=-1,Gi|=t.lanes,(r&t.childLanes)===0)if(e!==null){if(ps(e,t,r,!1),(r&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,r=Ia(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Ia(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function vp(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&of(e)))}function uO(e,t,r){switch(t.tag){case 3:ae(t,t.stateNode.containerInfo),xi(t,Ft,e.memoizedState.cache),vo();break;case 27:case 5:ye(t);break;case 4:ae(t,t.stateNode.containerInfo);break;case 10:xi(t,t.type,t.memoizedProps.value);break;case 12:(r&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var o=t.stateNode;o.effectDuration=-0,o.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,zm(t),null;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(Ti(t),t.flags|=128,null):(r&t.child.childLanes)!==0?p1(e,t,r):(Ti(t),e=$a(e,t,r),e!==null?e.sibling:null);Ti(t);break;case 19:var l=(e.flags&128)!==0;if(o=(r&t.childLanes)!==0,o||(ps(e,t,r,!1),o=(r&t.childLanes)!==0),l){if(o)return y1(e,t,r);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),Q(Bt,Bt.current,t),o)break;return null;case 22:return t.lanes=0,u1(e,t,r,t.pendingProps);case 24:xi(t,Ft,e.memoizedState.cache)}return $a(e,t,r)}function xp(e,t,r){if(t._debugNeedsRemount&&e!==null){r=gm(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),r._debugStack=t._debugStack,r._debugTask=t._debugTask;var o=t.return;if(o===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,r.index=t.index,r.sibling=t.sibling,r.return=t.return,r.ref=t.ref,r._debugInfo=t._debugInfo,t===o.child)o.child=r;else{var l=o.child;if(l===null)throw Error("Expected parent to have a child.");for(;l.sibling!==t;)if(l=l.sibling,l===null)throw Error("Expected to find the previous sibling.");l.sibling=r}return t=o.deletions,t===null?(o.deletions=[e],o.flags|=16):t.push(e),r.flags|=2,r}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)$t=!0;else{if(!vp(e,r)&&(t.flags&128)===0)return $t=!1,uO(e,t,r);$t=(e.flags&131072)!==0}else $t=!1,(o=We)&&(bi(),o=(t.flags&1048576)!==0),o&&(o=t.index,bi(),nx(t,wu,o));switch(t.lanes=0,t.tag){case 16:e:if(o=t.pendingProps,e=Si(t.elementType),t.type=e,typeof e=="function")pm(e)?(o=Ao(e,o),t.tag=1,t.type=e=go(e),t=h1(null,t,e,o,r)):(t.tag=0,hp(t,e),t.type=e=go(e),t=dp(null,t,e,o,r));else{if(e!=null){if(l=e.$$typeof,l===hu){t.tag=11,t.type=e=mm(e),t=o1(null,t,e,o,r);break e}else if(l===Wf){t.tag=14,t=s1(null,t,e,o,r);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===sr&&(t=" Did you wrap a component in React.lazy() more than once?"),r=se(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+r+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return dp(e,t,t.type,t.pendingProps,r);case 1:return o=t.type,l=Ao(o,t.pendingProps),h1(e,t,o,l,r);case 3:e:{if(ae(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");o=t.pendingProps;var c=t.memoizedState;l=c.element,Om(e,t),$l(t,o,null,r);var m=t.memoizedState;if(o=m.cache,xi(t,Ft,o),o!==c.cache&&Tm(t,[Ft],r,!0),Gl(),o=m.element,c.isDehydrated)if(c={element:o,isDehydrated:!1,cache:m.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=m1(e,t,o,r);break e}else if(o!==l){l=tr(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Hl(l),t=m1(e,t,o,r);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,xt=or(e.firstChild),pn=t,We=!0,Li=null,Na=!1,ur=null,Nr=!0,r=RE(t,null,o,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(vo(),o===l){t=$a(e,t,r);break e}dn(e,t,o,r)}t=t.child}return t;case 26:return Mf(e,t),e===null?(r=qS(t.type,null,t.pendingProps,null))?t.memoizedState=r:We||(r=t.type,e=t.pendingProps,o=ne(Oi.current),o=If(o).createElement(r),o[mn]=t,o[On]=e,hn(o,r,e),Oe(o),t.stateNode=o):t.memoizedState=qS(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ye(t),e===null&&We&&(o=ne(Oi.current),l=le(),o=t.stateNode=HS(t.type,t.pendingProps,o,l,!1),Na||(l=kS(o,t.type,t.pendingProps,l),l!==null&&(bo(t,0).serverProps=l)),pn=t,Nr=!0,l=xt,Ci(t.type)?(Cy=l,xt=or(o.firstChild)):xt=l),dn(e,t,t.pendingProps.children,r),Mf(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&We&&(c=le(),o=im(t.type,c.ancestorInfo),l=xt,(m=!l)||(m=JO(l,t.type,t.pendingProps,Nr),m!==null?(t.stateNode=m,Na||(c=kS(m,t.type,t.pendingProps,c),c!==null&&(bo(t,0).serverProps=c)),pn=t,xt=or(m.firstChild),Nr=!1,c=!0):c=!1,m=!c),m&&(o&&rf(t,l),vi(t))),ye(t),l=t.type,c=t.pendingProps,m=e!==null?e.memoizedProps:null,o=c.children,Yp(l,c)?o=null:m!==null&&Yp(l,m)&&(t.flags|=32),t.memoizedState!==null&&(l=jm(e,t,tO,null,null,r),ic._currentValue=l),Mf(e,t),dn(e,t,o,r),t.child;case 6:return e===null&&We&&(r=t.pendingProps,e=le(),o=e.ancestorInfo.current,r=o!=null?$c(r,o.tag,e.ancestorInfo.implicitRootScope):!0,e=xt,(o=!e)||(o=KO(e,t.pendingProps,Nr),o!==null?(t.stateNode=o,pn=t,xt=null,o=!0):o=!1,o=!o),o&&(r&&rf(t,e),vi(t))),null;case 13:return p1(e,t,r);case 4:return ae(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=Bo(t,null,o,r):dn(e,t,o,r),t.child;case 11:return o1(e,t,t.type,t.pendingProps,r);case 7:return dn(e,t,t.pendingProps,r),t.child;case 8:return dn(e,t,t.pendingProps.children,r),t.child;case 12:return t.flags|=4,t.flags|=2048,o=t.stateNode,o.effectDuration=-0,o.passiveEffectDuration=-0,dn(e,t,t.pendingProps.children,r),t.child;case 10:return o=t.type,l=t.pendingProps,c=l.value,"value"in l||nT||(nT=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),xi(t,o,c),dn(e,t,l.children,r),t.child;case 9:return l=t.type._context,o=t.pendingProps.children,typeof o!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),xo(t),l=wt(l),o=$g(o,l,void 0),t.flags|=1,dn(e,t,o,r),t.child;case 14:return s1(e,t,t.type,t.pendingProps,r);case 15:return l1(e,t,t.type,t.pendingProps,r);case 19:return y1(e,t,r);case 31:return lO(e,t,r);case 22:return u1(e,t,r,t.pendingProps);case 24:return xo(t),o=wt(Ft),e===null?(l=km(),l===null&&(l=gt,c=Am(),l.pooledCache=c,So(c),c!==null&&(l.pooledCacheLanes|=r),l=c),t.memoizedState={parent:o,cache:l},Rm(t),xi(t,Ft,l)):((e.lanes&r)!==0&&(Om(e,t),$l(t,null,null,r),Gl()),l=e.memoizedState,c=t.memoizedState,l.parent!==o?(l={parent:o,cache:o},t.memoizedState=l,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=l),xi(t,Ft,o)):(o=c.cache,xi(t,Ft,o),o!==l.cache&&Tm(t,[Ft],r,!0))),dn(e,t,t.pendingProps.children,r),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 Xa(e){e.flags|=4}function Sp(e,t,r,o,l){if((t=(e.mode&R_)!==Ve)&&(t=!1),t){if(e.flags|=16777216,(l&335544128)===l)if(e.stateNode.complete)e.flags|=8192;else if(Z1())e.flags|=8192;else throw Lo=Ad,Qg}else e.flags&=-16777217}function b1(e,t){if(t.type!=="stylesheet"||(t.state.loading&Mr)!==Zo)e.flags&=-16777217;else if(e.flags|=16777216,!$S(t))if(Z1())e.flags|=8192;else throw Lo=Ad,Qg}function zf(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?W():536870912,e.lanes|=t,Fo|=t)}function Kl(e,t){if(!We)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function yt(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,o=0;if(t)if((e.mode&Ye)!==Ve){for(var l=e.selfBaseDuration,c=e.child;c!==null;)r|=c.lanes|c.childLanes,o|=c.subtreeFlags&65011712,o|=c.flags&65011712,l+=c.treeBaseDuration,c=c.sibling;e.treeBaseDuration=l}else for(l=e.child;l!==null;)r|=l.lanes|l.childLanes,o|=l.subtreeFlags&65011712,o|=l.flags&65011712,l.return=e,l=l.sibling;else if((e.mode&Ye)!==Ve){l=e.actualDuration,c=e.selfBaseDuration;for(var m=e.child;m!==null;)r|=m.lanes|m.childLanes,o|=m.subtreeFlags,o|=m.flags,l+=m.actualDuration,c+=m.treeBaseDuration,m=m.sibling;e.actualDuration=l,e.treeBaseDuration=c}else for(l=e.child;l!==null;)r|=l.lanes|l.childLanes,o|=l.subtreeFlags,o|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=o,e.childLanes=r,t}function cO(e,t,r){var o=t.pendingProps;switch(xm(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return yt(t),null;case 1:return yt(t),null;case 3:return r=t.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),Ya(Ft,t),Y(t),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ms(t)?(Dm(),Xa(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Sm())),yt(t),null;case 26:var l=t.type,c=t.memoizedState;return e===null?(Xa(t),c!==null?(yt(t),b1(t,c)):(yt(t),Sp(t,l,null,o,r))):c?c!==e.memoizedState?(Xa(t),yt(t),b1(t,c)):(yt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==o&&Xa(t),yt(t),Sp(t,l,e,o,r)),null;case 27:if(Me(t),r=ne(Oi.current),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&Xa(t);else{if(!o){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return yt(t),null}e=le(),ms(t)?ox(t):(e=HS(l,o,r,e,!0),t.stateNode=e,Xa(t))}return yt(t),null;case 5:if(Me(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&Xa(t);else{if(!o){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return yt(t),null}var m=le();if(ms(t))ox(t);else{switch(c=ne(Oi.current),im(l,m.ancestorInfo),m=m.context,c=If(c),m){case cl:c=c.createElementNS(zs,l);break;case Jd:c=c.createElementNS(od,l);break;default:switch(l){case"svg":c=c.createElementNS(zs,l);break;case"math":c=c.createElementNS(od,l);break;case"script":c=c.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof o.is=="string"?c.createElement("select",{is:o.is}):c.createElement("select"),o.multiple?c.multiple=!0:o.size&&(c.size=o.size);break;default:c=typeof o.is=="string"?c.createElement(l,{is:o.is}):c.createElement(l),l.indexOf("-")===-1&&(l!==l.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),Object.prototype.toString.call(c)!=="[object HTMLUnknownElement]"||Gr.call(wT,l)||(wT[l]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",l)))}}c[mn]=t,c[On]=o;e:for(m=t.child;m!==null;){if(m.tag===5||m.tag===6)c.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===t)break e;for(;m.sibling===null;){if(m.return===null||m.return===t)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}t.stateNode=c;e:switch(hn(c,l,o),l){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&Xa(t)}}return yt(t),Sp(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,r),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==o&&Xa(t);else{if(typeof o!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=ne(Oi.current),r=le(),ms(t)){if(e=t.stateNode,r=t.memoizedProps,l=!Na,o=null,c=pn,c!==null)switch(c.tag){case 3:l&&(l=LS(e,r,o),l!==null&&(bo(t,0).serverProps=l));break;case 27:case 5:o=c.memoizedProps,l&&(l=LS(e,r,o),l!==null&&(bo(t,0).serverProps=l))}e[mn]=t,e=!!(e.nodeValue===r||o!==null&&o.suppressHydrationWarning===!0||ES(e.nodeValue,r)),e||vi(t,!0)}else l=r.ancestorInfo.current,l!=null&&$c(o,l.tag,r.ancestorInfo.implicitRootScope),e=If(e).createTextNode(o),e[mn]=t,t.stateNode=e}return yt(t),null;case 31:if(r=t.memoizedState,e===null||e.memoizedState!==null){if(o=ms(t),r!==null){if(e===null){if(!o)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[mn]=t,yt(t),(t.mode&Ye)!==Ve&&r!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Dm(),vo(),(t.flags&128)===0&&(r=t.memoizedState=null),t.flags|=4,yt(t),(t.mode&Ye)!==Ve&&r!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else r=Sm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e)return t.flags&256?(ar(t),t):(ar(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return yt(t),null;case 13:if(o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=o,c=ms(t),l!==null&&l.dehydrated!==null){if(e===null){if(!c)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(c=t.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");c[mn]=t,yt(t),(t.mode&Ye)!==Ve&&l!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration))}else Dm(),vo(),(t.flags&128)===0&&(l=t.memoizedState=null),t.flags|=4,yt(t),(t.mode&Ye)!==Ve&&l!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration));l=!1}else l=Sm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l)return t.flags&256?(ar(t),t):(ar(t),null)}return ar(t),(t.flags&128)!==0?(t.lanes=r,(t.mode&Ye)!==Ve&&Il(t),t):(r=o!==null,e=e!==null&&e.memoizedState!==null,r&&(o=t.child,l=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(l=o.alternate.memoizedState.cachePool.pool),c=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(c=o.memoizedState.cachePool.pool),c!==l&&(o.flags|=2048)),r!==e&&r&&(t.child.flags|=8192),zf(t,t.updateQueue),yt(t),(t.mode&Ye)!==Ve&&r&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return Y(t),e===null&&Lp(t.stateNode.containerInfo),yt(t),null;case 10:return Ya(t.type,t),yt(t),null;case 19:if(oe(Bt,t),o=t.memoizedState,o===null)return yt(t),null;if(l=(t.flags&128)!==0,c=o.rendering,c===null)if(l)Kl(o,!1);else{if(Rt!==ci||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=yf(e),c!==null){for(t.flags|=128,Kl(o,!1),e=c.updateQueue,t.updateQueue=e,zf(t,e),t.subtreeFlags=0,e=r,r=t.child;r!==null;)ex(r,e),r=r.sibling;return Q(Bt,Bt.current&Ks|Pu,t),We&&Fa(t,o.treeForkCount),t.child}e=e.sibling}o.tail!==null&&sn()>Ld&&(t.flags|=128,l=!0,Kl(o,!1),t.lanes=4194304)}else{if(!l)if(e=yf(c),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,zf(t,e),Kl(o,!0),o.tail===null&&o.tailMode==="hidden"&&!c.alternate&&!We)return yt(t),null}else 2*sn()-o.renderingStartTime>Ld&&r!==536870912&&(t.flags|=128,l=!0,Kl(o,!1),t.lanes=4194304);o.isBackwards?(c.sibling=t.child,t.child=c):(e=o.last,e!==null?e.sibling=c:t.child=c,o.last=c)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=sn(),e.sibling=null,r=Bt.current,r=l?r&Ks|Pu:r&Ks,Q(Bt,r,t),We&&Fa(t,o.treeForkCount),e):(yt(t),null);case 22:case 23:return ar(t),_m(t),o=t.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(t.flags|=8192):o&&(t.flags|=8192),o?(r&536870912)!==0&&(t.flags&128)===0&&(yt(t),t.subtreeFlags&6&&(t.flags|=8192)):yt(t),r=t.updateQueue,r!==null&&zf(t,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),o=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),o!==r&&(t.flags|=2048),e!==null&&oe(jo,t),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Ya(Ft,t),yt(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function fO(e,t){switch(xm(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ye)!==Ve&&Il(t),t):null;case 3:return Ya(Ft,t),Y(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Me(t),null;case 31:if(t.memoizedState!==null){if(ar(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");vo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ye)!==Ve&&Il(t),t):null;case 13:if(ar(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.");vo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ye)!==Ve&&Il(t),t):null;case 19:return oe(Bt,t),null;case 4:return Y(t),null;case 10:return Ya(t.type,t),null;case 22:case 23:return ar(t),_m(t),e!==null&&oe(jo,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ye)!==Ve&&Il(t),t):null;case 24:return Ya(Ft,t),null;case 25:return null;default:return null}}function v1(e,t){switch(xm(t),t.tag){case 3:Ya(Ft,t),Y(t);break;case 26:case 27:case 5:Me(t);break;case 4:Y(t);break;case 31:t.memoizedState!==null&&ar(t);break;case 13:ar(t);break;case 19:oe(Bt,t);break;case 10:Ya(t.type,t);break;case 22:case 23:ar(t),_m(t),e!==null&&oe(jo,t);break;case 24:Ya(Ft,t)}}function ma(e){return(e.mode&Ye)!==Ve}function x1(e,t){ma(e)?(ha(),Wl(t,e),da()):Wl(t,e)}function Dp(e,t,r){ma(e)?(ha(),xs(r,e,t),da()):xs(r,e,t)}function Wl(e,t){try{var r=t.updateQueue,o=r!==null?r.lastEffect:null;if(o!==null){var l=o.next;r=l;do{if((r.tag&e)===e&&(o=void 0,(e&Un)!==Nd&&(sl=!0),o=De(t,j_,r),(e&Un)!==Nd&&(sl=!1),o!==void 0&&typeof o!="function")){var c=void 0;c=(r.tag&fr)!==0?"useLayoutEffect":(r.tag&Un)!==0?"useInsertionEffect":"useEffect";var m=void 0;m=o===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof o.then=="function"?`
|
|
146
|
+
|
|
147
|
+
It looks like you wrote `+c+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
148
|
+
|
|
149
|
+
`+c+`(() => {
|
|
150
|
+
async function fetchData() {
|
|
151
|
+
// You can await here
|
|
152
|
+
const response = await MyAPI.getData(someId);
|
|
153
|
+
// ...
|
|
154
|
+
}
|
|
155
|
+
fetchData();
|
|
156
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
157
|
+
|
|
158
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+o,De(t,function(y,D){console.error("%s must not return anything besides a function, which is used for clean-up.%s",y,D)},c,m)}r=r.next}while(r!==l)}}catch(y){ct(t,t.return,y)}}function xs(e,t,r){try{var o=t.updateQueue,l=o!==null?o.lastEffect:null;if(l!==null){var c=l.next;o=c;do{if((o.tag&e)===e){var m=o.inst,y=m.destroy;y!==void 0&&(m.destroy=void 0,(e&Un)!==Nd&&(sl=!0),l=t,De(l,V_,l,r,y),(e&Un)!==Nd&&(sl=!1))}o=o.next}while(o!==c)}}catch(D){ct(t,t.return,D)}}function S1(e,t){ma(e)?(ha(),Wl(t,e),da()):Wl(t,e)}function Ep(e,t,r){ma(e)?(ha(),xs(r,e,t),da()):xs(r,e,t)}function D1(e){var t=e.updateQueue;if(t!==null){var r=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||nl||(r.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.",F(e)||"instance"),r.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.",F(e)||"instance"));try{De(e,Tx,t,r)}catch(o){ct(e,e.return,o)}}}function dO(e,t,r){return e.getSnapshotBeforeUpdate(t,r)}function hO(e,t){var r=t.memoizedProps,o=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||nl||(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.",F(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.",F(e)||"instance"));try{var l=Ao(e.type,r),c=De(e,dO,t,l,o);r=rT,c!==void 0||r.has(e.type)||(r.add(e.type),De(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",F(e))})),t.__reactInternalSnapshotBeforeUpdate=c}catch(m){ct(e,e.return,m)}}function E1(e,t,r){r.props=Ao(e.type,e.memoizedProps),r.state=e.memoizedState,ma(e)?(ha(),De(e,DE,e,t,r),da()):De(e,DE,e,t,r)}function mO(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}if(typeof t=="function")if(ma(e))try{ha(),e.refCleanup=t(r)}finally{da()}else e.refCleanup=t(r);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().",F(e)),t.current=r}}function eu(e,t){try{De(e,mO,e)}catch(r){ct(e,t,r)}}function pa(e,t){var r=e.ref,o=e.refCleanup;if(r!==null)if(typeof o=="function")try{if(ma(e))try{ha(),De(e,o)}finally{da(e)}else De(e,o)}catch(l){ct(e,t,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{if(ma(e))try{ha(),De(e,r,null)}finally{da(e)}else De(e,r,null)}catch(l){ct(e,t,l)}else r.current=null}function T1(e,t,r,o){var l=e.memoizedProps,c=l.id,m=l.onCommit;l=l.onRender,t=t===null?"mount":"update",Sd&&(t="nested-update"),typeof l=="function"&&l(c,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,r),typeof m=="function"&&m(c,t,o,r)}function pO(e,t,r,o){var l=e.memoizedProps;e=l.id,l=l.onPostCommit,t=t===null?"mount":"update",Sd&&(t="nested-update"),typeof l=="function"&&l(e,t,o,r)}function A1(e){var t=e.type,r=e.memoizedProps,o=e.stateNode;try{De(e,BO,o,t,r,e)}catch(l){ct(e,e.return,l)}}function Tp(e,t,r){try{De(e,PO,e.stateNode,e.type,r,t,e)}catch(o){ct(e,e.return,o)}}function w1(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ci(e.type)||e.tag===4}function Ap(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||w1(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&&Ci(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 wp(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?(_S(r),(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,t)):(_S(r),t=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,t.appendChild(e),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=qa));else if(o!==4&&(o===27&&Ci(e.type)&&(r=e.stateNode,t=null),e=e.child,e!==null))for(wp(e,t,r),e=e.sibling;e!==null;)wp(e,t,r),e=e.sibling}function Uf(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(o!==4&&(o===27&&Ci(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(Uf(e,t,r),e=e.sibling;e!==null;)Uf(e,t,r),e=e.sibling}function gO(e){for(var t,r=e.return;r!==null;){if(w1(r)){t=r;break}r=r.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,r=Ap(e),Uf(e,r,t);break;case 5:r=t.stateNode,t.flags&32&&(MS(r),t.flags&=-33),t=Ap(e),Uf(e,t,r);break;case 3:case 4:t=t.stateNode.containerInfo,r=Ap(e),wp(e,r,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function N1(e){var t=e.stateNode,r=e.memoizedProps;try{De(e,rM,e.type,r,t,e)}catch(o){ct(e,e.return,o)}}function k1(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function yO(e,t){if(e=e.containerInfo,wy=th,e=F0(e),lm(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var o=r.getSelection&&r.getSelection();if(o&&o.rangeCount!==0){r=o.anchorNode;var l=o.anchorOffset,c=o.focusNode;o=o.focusOffset;try{r.nodeType,c.nodeType}catch{r=null;break e}var m=0,y=-1,D=-1,E=0,B=0,H=e,_=null;t:for(;;){for(var $;H!==r||l!==0&&H.nodeType!==3||(y=m+l),H!==c||o!==0&&H.nodeType!==3||(D=m+o),H.nodeType===3&&(m+=H.nodeValue.length),($=H.firstChild)!==null;)_=H,H=$;for(;;){if(H===e)break t;if(_===r&&++E===l&&(y=m),_===c&&++B===o&&(D=m),($=H.nextSibling)!==null)break;H=_,_=H.parentNode}H=$}r=y===-1||D===-1?null:{start:y,end:D}}else r=null}r=r||{start:0,end:0}}else r=null;for(Ny={focusedElem:e,selectionRange:r},th=!1,un=t;un!==null;)if(t=un,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,un=e;else for(;un!==null;){switch(e=t=un,r=e.alternate,l=e.flags,e.tag){case 0:if((l&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(r=0;r<e.length;r++)l=e[r],l.ref.impl=l.nextImpl;break;case 11:case 15:break;case 1:(l&1024)!==0&&r!==null&&hO(e,r);break;case 3:if((l&1024)!==0){if(e=e.stateNode.containerInfo,r=e.nodeType,r===9)Gp(e);else if(r===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Gp(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,un=e;break}un=t.return}}function C1(e,t,r){var o=nr(),l=la(),c=ca(),m=fa(),y=r.flags;switch(r.tag){case 0:case 11:case 15:ga(e,r),y&4&&x1(r,fr|Rr);break;case 1:if(ga(e,r),y&4)if(e=r.stateNode,t===null)r.type.defaultProps||"ref"in r.memoizedProps||nl||(e.props!==r.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.",F(r)||"instance"),e.state!==r.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.",F(r)||"instance")),ma(r)?(ha(),De(r,Xg,r,e),da()):De(r,Xg,r,e);else{var D=Ao(r.type,t.memoizedProps);t=t.memoizedState,r.type.defaultProps||"ref"in r.memoizedProps||nl||(e.props!==r.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.",F(r)||"instance"),e.state!==r.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.",F(r)||"instance")),ma(r)?(ha(),De(r,vE,r,e,D,t,e.__reactInternalSnapshotBeforeUpdate),da()):De(r,vE,r,e,D,t,e.__reactInternalSnapshotBeforeUpdate)}y&64&&D1(r),y&512&&eu(r,r.return);break;case 3:if(t=Ga(),ga(e,r),y&64&&(y=r.updateQueue,y!==null)){if(D=null,r.child!==null)switch(r.child.tag){case 27:case 5:D=r.child.stateNode;break;case 1:D=r.child.stateNode}try{De(r,Tx,y,D)}catch(B){ct(r,r.return,B)}}e.effectDuration+=lf(t);break;case 27:t===null&&y&4&&N1(r);case 26:case 5:if(ga(e,r),t===null){if(y&4)A1(r);else if(y&64){e=r.type,t=r.memoizedProps,D=r.stateNode;try{De(r,HO,D,e,t,r)}catch(B){ct(r,r.return,B)}}}y&512&&eu(r,r.return);break;case 12:if(y&4){y=Ga(),ga(e,r),e=r.stateNode,e.effectDuration+=ql(y);try{De(r,T1,r,t,Bi,e.effectDuration)}catch(B){ct(r,r.return,B)}}else ga(e,r);break;case 31:ga(e,r),y&4&&M1(e,r);break;case 13:ga(e,r),y&4&&_1(e,r),y&64&&(e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(y=wO.bind(null,r),WO(e,y))));break;case 22:if(y=r.memoizedState!==null||ui,!y){t=t!==null&&t.memoizedState!==null||Xt,D=ui;var E=Xt;ui=y,(Xt=t)&&!E?(ya(e,r,(r.subtreeFlags&8772)!==0),(r.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&.05<Ue-ze&&Jc(r,ze,Ue)):ga(e,r),ui=D,Xt=E}break;case 30:break;default:ga(e,r)}(r.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&((Mt||.05<Ct)&&oa(r,ze,Ue,Ct,Nt),r.alternate===null&&r.return!==null&&r.return.alternate!==null&&.05<Ue-ze&&(k1(r.return.alternate,r.return)||ia(r,ze,Ue,"Mount"))),rr(o),ua(l),Nt=c,Mt=m}function R1(e){var t=e.alternate;t!==null&&(e.alternate=null,R1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&q(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 Qa(e,t,r){for(r=r.child;r!==null;)O1(e,t,r),r=r.sibling}function O1(e,t,r){if(vn&&typeof vn.onCommitFiberUnmount=="function")try{vn.onCommitFiberUnmount(Ms,r)}catch(E){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %o",E))}var o=nr(),l=la(),c=ca(),m=fa();switch(r.tag){case 26:Xt||pa(r,t),Qa(e,t,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(e=r.stateNode,e.parentNode.removeChild(e));break;case 27:Xt||pa(r,t);var y=Qt,D=Fn;Ci(r.type)&&(Qt=r.stateNode,Fn=!1),Qa(e,t,r),De(r,uu,r.stateNode),Qt=y,Fn=D;break;case 5:Xt||pa(r,t);case 6:if(y=Qt,D=Fn,Qt=null,Qa(e,t,r),Qt=y,Fn=D,Qt!==null)if(Fn)try{De(r,FO,Qt,r.stateNode)}catch(E){ct(r,t,E)}else try{De(r,IO,Qt,r.stateNode)}catch(E){ct(r,t,E)}break;case 18:Qt!==null&&(Fn?(e=Qt,zS(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,r.stateNode),ks(e)):zS(Qt,r.stateNode));break;case 4:y=Qt,D=Fn,Qt=r.stateNode.containerInfo,Fn=!0,Qa(e,t,r),Qt=y,Fn=D;break;case 0:case 11:case 14:case 15:xs(Un,r,t),Xt||Dp(r,t,fr),Qa(e,t,r);break;case 1:Xt||(pa(r,t),y=r.stateNode,typeof y.componentWillUnmount=="function"&&E1(r,t,y)),Qa(e,t,r);break;case 21:Qa(e,t,r);break;case 22:Xt=(y=Xt)||r.memoizedState!==null,Qa(e,t,r),Xt=y;break;default:Qa(e,t,r)}(r.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&(Mt||.05<Ct)&&oa(r,ze,Ue,Ct,Nt),rr(o),ua(l),Nt=c,Mt=m}function M1(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{De(t,tM,e)}catch(r){ct(t,t.return,r)}}}function _1(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{De(t,nM,e)}catch(r){ct(t,t.return,r)}}function bO(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new aT),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new aT),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function jf(e,t){var r=bO(e);t.forEach(function(o){if(!r.has(o)){if(r.add(o),Ta)if(rl!==null&&al!==null)au(al,rl);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var l=NO.bind(null,e,o);o.then(l,l)}})}function qn(e,t){var r=t.deletions;if(r!==null)for(var o=0;o<r.length;o++){var l=e,c=t,m=r[o],y=nr(),D=c;e:for(;D!==null;){switch(D.tag){case 27:if(Ci(D.type)){Qt=D.stateNode,Fn=!1;break e}break;case 5:Qt=D.stateNode,Fn=!1;break e;case 3:case 4:Qt=D.stateNode.containerInfo,Fn=!0;break e}D=D.return}if(Qt===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");O1(l,c,m),Qt=null,Fn=!1,(m.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&.05<Ue-ze&&ia(m,ze,Ue,"Unmount"),rr(y),l=m,c=l.alternate,c!==null&&(c.return=null),l.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)z1(t,e),t=t.sibling}function z1(e,t){var r=nr(),o=la(),l=ca(),c=fa(),m=e.alternate,y=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:qn(t,e),In(e),y&4&&(xs(Un|Rr,e,e.return),Wl(Un|Rr,e),Dp(e,e.return,fr|Rr));break;case 1:if(qn(t,e),In(e),y&512&&(Xt||m===null||pa(m,m.return)),y&64&&ui&&(y=e.updateQueue,y!==null&&(m=y.callbacks,m!==null))){var D=y.shared.hiddenCallbacks;y.shared.hiddenCallbacks=D===null?m:D.concat(m)}break;case 26:if(D=Zr,qn(t,e),In(e),y&512&&(Xt||m===null||pa(m,m.return)),y&4){var E=m!==null?m.memoizedState:null;if(y=e.memoizedState,m===null)if(y===null)if(e.stateNode===null){e:{y=e.type,m=e.memoizedProps,D=D.ownerDocument||D;t:switch(y){case"title":E=D.getElementsByTagName("title")[0],(!E||E[gu]||E[mn]||E.namespaceURI===zs||E.hasAttribute("itemprop"))&&(E=D.createElement(y),D.head.insertBefore(E,D.querySelector("head > title"))),hn(E,y,m),E[mn]=e,Oe(E),y=E;break e;case"link":var B=YS("link","href",D).get(y+(m.href||""));if(B){for(var H=0;H<B.length;H++)if(E=B[H],E.getAttribute("href")===(m.href==null||m.href===""?null:m.href)&&E.getAttribute("rel")===(m.rel==null?null:m.rel)&&E.getAttribute("title")===(m.title==null?null:m.title)&&E.getAttribute("crossorigin")===(m.crossOrigin==null?null:m.crossOrigin)){B.splice(H,1);break t}}E=D.createElement(y),hn(E,y,m),D.head.appendChild(E);break;case"meta":if(B=YS("meta","content",D).get(y+(m.content||""))){for(H=0;H<B.length;H++)if(E=B[H],lt(m.content,"content"),E.getAttribute("content")===(m.content==null?null:""+m.content)&&E.getAttribute("name")===(m.name==null?null:m.name)&&E.getAttribute("property")===(m.property==null?null:m.property)&&E.getAttribute("http-equiv")===(m.httpEquiv==null?null:m.httpEquiv)&&E.getAttribute("charset")===(m.charSet==null?null:m.charSet)){B.splice(H,1);break t}}E=D.createElement(y),hn(E,y,m),D.head.appendChild(E);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+y+'". This is a bug in React.')}E[mn]=e,Oe(E),y=E}e.stateNode=y}else GS(D,e.type,e.stateNode);else e.stateNode=FS(D,y,e.memoizedProps);else E!==y?(E===null?m.stateNode!==null&&(m=m.stateNode,m.parentNode.removeChild(m)):E.count--,y===null?GS(D,e.type,e.stateNode):FS(D,y,e.memoizedProps)):y===null&&e.stateNode!==null&&Tp(e,e.memoizedProps,m.memoizedProps)}break;case 27:qn(t,e),In(e),y&512&&(Xt||m===null||pa(m,m.return)),m!==null&&y&4&&Tp(e,e.memoizedProps,m.memoizedProps);break;case 5:if(qn(t,e),In(e),y&512&&(Xt||m===null||pa(m,m.return)),e.flags&32){D=e.stateNode;try{De(e,MS,D)}catch(Ee){ct(e,e.return,Ee)}}y&4&&e.stateNode!=null&&(D=e.memoizedProps,Tp(e,D,m!==null?m.memoizedProps:D)),y&1024&&(sy=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(qn(t,e),In(e),y&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.");y=e.memoizedProps,m=m!==null?m.memoizedProps:y,D=e.stateNode;try{De(e,qO,D,m,y)}catch(Ee){ct(e,e.return,Ee)}}break;case 3:if(D=Ga(),Kd=null,E=Zr,Zr=Ff(t.containerInfo),qn(t,e),Zr=E,In(e),y&4&&m!==null&&m.memoizedState.isDehydrated)try{De(e,eM,t.containerInfo)}catch(Ee){ct(e,e.return,Ee)}sy&&(sy=!1,U1(e)),t.effectDuration+=lf(D);break;case 4:y=Zr,Zr=Ff(e.stateNode.containerInfo),qn(t,e),In(e),Zr=y;break;case 12:y=Ga(),qn(t,e),In(e),e.stateNode.effectDuration+=ql(y);break;case 31:qn(t,e),In(e),y&4&&(y=e.updateQueue,y!==null&&(e.updateQueue=null,jf(e,y)));break;case 13:qn(t,e),In(e),e.child.flags&8192&&e.memoizedState!==null!=(m!==null&&m.memoizedState!==null)&&(Vd=sn()),y&4&&(y=e.updateQueue,y!==null&&(e.updateQueue=null,jf(e,y)));break;case 22:D=e.memoizedState!==null;var _=m!==null&&m.memoizedState!==null,$=ui,ve=Xt;if(ui=$||D,Xt=ve||_,qn(t,e),Xt=ve,ui=$,_&&!D&&!$&&!ve&&(e.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&.05<Ue-ze&&Jc(e,ze,Ue),In(e),y&8192)e:for(t=e.stateNode,t._visibility=D?t._visibility&~Au:t._visibility|Au,!D||m===null||_||ui||Xt||(wo(e),(e.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&.05<Ue-ze&&ia(e,ze,Ue,"Disconnect")),m=null,t=e;;){if(t.tag===5||t.tag===26){if(m===null){_=m=t;try{E=_.stateNode,D?De(_,GO,E):De(_,QO,_.stateNode,_.memoizedProps)}catch(Ee){ct(_,_.return,Ee)}}}else if(t.tag===6){if(m===null){_=t;try{B=_.stateNode,D?De(_,$O,B):De(_,ZO,B,_.memoizedProps)}catch(Ee){ct(_,_.return,Ee)}}}else if(t.tag===18){if(m===null){_=t;try{H=_.stateNode,D?De(_,YO,H):De(_,XO,_.stateNode)}catch(Ee){ct(_,_.return,Ee)}}}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;m===t&&(m=null),t=t.return}m===t&&(m=null),t.sibling.return=t.return,t=t.sibling}y&4&&(y=e.updateQueue,y!==null&&(m=y.retryQueue,m!==null&&(y.retryQueue=null,jf(e,m))));break;case 19:qn(t,e),In(e),y&4&&(y=e.updateQueue,y!==null&&(e.updateQueue=null,jf(e,y)));break;case 30:break;case 21:break;default:qn(t,e),In(e)}(e.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&((Mt||.05<Ct)&&oa(e,ze,Ue,Ct,Nt),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<Ue-ze&&(k1(e.return.alternate,e.return)||ia(e,ze,Ue,"Mount"))),rr(r),ua(o),Nt=l,Mt=c}function In(e){var t=e.flags;if(t&2){try{De(e,gO,e)}catch(r){ct(e,e.return,r)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function U1(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;U1(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ga(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)C1(e,t.alternate,t),t=t.sibling}function j1(e){var t=nr(),r=la(),o=ca(),l=fa();switch(e.tag){case 0:case 11:case 14:case 15:Dp(e,e.return,fr),wo(e);break;case 1:pa(e,e.return);var c=e.stateNode;typeof c.componentWillUnmount=="function"&&E1(e,e.return,c),wo(e);break;case 27:De(e,uu,e.stateNode);case 26:case 5:pa(e,e.return),wo(e);break;case 22:e.memoizedState===null&&wo(e);break;case 30:wo(e);break;default:wo(e)}(e.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&(Mt||.05<Ct)&&oa(e,ze,Ue,Ct,Nt),rr(t),ua(r),Nt=o,Mt=l}function wo(e){for(e=e.child;e!==null;)j1(e),e=e.sibling}function V1(e,t,r,o){var l=nr(),c=la(),m=ca(),y=fa(),D=r.flags;switch(r.tag){case 0:case 11:case 15:ya(e,r,o),x1(r,fr);break;case 1:if(ya(e,r,o),t=r.stateNode,typeof t.componentDidMount=="function"&&De(r,Xg,r,t),t=r.updateQueue,t!==null){e=r.stateNode;try{De(r,eO,t,e)}catch(E){ct(r,r.return,E)}}o&&D&64&&D1(r),eu(r,r.return);break;case 27:N1(r);case 26:case 5:ya(e,r,o),o&&t===null&&D&4&&A1(r),eu(r,r.return);break;case 12:if(o&&D&4){D=Ga(),ya(e,r,o),o=r.stateNode,o.effectDuration+=ql(D);try{De(r,T1,r,t,Bi,o.effectDuration)}catch(E){ct(r,r.return,E)}}else ya(e,r,o);break;case 31:ya(e,r,o),o&&D&4&&M1(e,r);break;case 13:ya(e,r,o),o&&D&4&&_1(e,r);break;case 22:r.memoizedState===null&&ya(e,r,o),eu(r,r.return);break;case 30:break;default:ya(e,r,o)}(r.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&(Mt||.05<Ct)&&oa(r,ze,Ue,Ct,Nt),rr(l),ua(c),Nt=m,Mt=y}function ya(e,t,r){for(r=r&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)V1(e,t.alternate,t,r),t=t.sibling}function Np(e,t){var r=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==r&&(e!=null&&So(e),r!=null&&Pl(r))}function kp(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(So(t),e!=null&&Pl(e))}function Yr(e,t,r,o,l){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var c=t.sibling;L1(e,t,r,o,c!==null?c.actualStartTime:l),t=c}}function L1(e,t,r,o,l){var c=nr(),m=la(),y=ca(),D=fa(),E=Ui,B=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&Ye)!==Ve&&0<t.actualStartTime&&(t.flags&1)!==0&&Kc(t,t.actualStartTime,l,tn,r),Yr(e,t,r,o,l),B&2048&&S1(t,jn|Rr);break;case 1:(t.mode&Ye)!==Ve&&0<t.actualStartTime&&((t.flags&128)!==0?cm(t,t.actualStartTime,l,[]):(t.flags&1)!==0&&Kc(t,t.actualStartTime,l,tn,r)),Yr(e,t,r,o,l);break;case 3:var H=Ga(),_=tn;tn=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,Yr(e,t,r,o,l),tn=_,B&2048&&(r=null,t.alternate!==null&&(r=t.alternate.memoizedState.cache),o=t.memoizedState.cache,o!==r&&(So(o),r!=null&&Pl(r))),e.passiveEffectDuration+=lf(H);break;case 12:if(B&2048){B=Ga(),Yr(e,t,r,o,l),e=t.stateNode,e.passiveEffectDuration+=ql(B);try{De(t,pO,t,t.alternate,Bi,e.passiveEffectDuration)}catch($){ct(t,t.return,$)}}else Yr(e,t,r,o,l);break;case 31:B=tn,H=t.alternate!==null?t.alternate.memoizedState:null,_=t.memoizedState,H!==null&&_===null?(_=t.deletions,_!==null&&0<_.length&&_[0].tag===18?(tn=!1,H=H.hydrationErrors,H!==null&&cm(t,t.actualStartTime,l,H)):tn=!0):tn=!1,Yr(e,t,r,o,l),tn=B;break;case 13:B=tn,H=t.alternate!==null?t.alternate.memoizedState:null,_=t.memoizedState,H===null||H.dehydrated===null||_!==null&&_.dehydrated!==null?tn=!1:(_=t.deletions,_!==null&&0<_.length&&_[0].tag===18?(tn=!1,H=H.hydrationErrors,H!==null&&cm(t,t.actualStartTime,l,H)):tn=!0),Yr(e,t,r,o,l),tn=B;break;case 23:break;case 22:_=t.stateNode,H=t.alternate,t.memoizedState!==null?_._visibility&Wa?Yr(e,t,r,o,l):tu(e,t,r,o,l):_._visibility&Wa?Yr(e,t,r,o,l):(_._visibility|=Wa,Ss(e,t,r,o,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),l),(t.mode&Ye)===Ve||tn||(e=t.actualStartTime,0<=e&&.05<l-e&&Jc(t,e,l),0<=ze&&0<=Ue&&.05<Ue-ze&&Jc(t,ze,Ue))),B&2048&&Np(H,t);break;case 24:Yr(e,t,r,o,l),B&2048&&kp(t.alternate,t);break;default:Yr(e,t,r,o,l)}(t.mode&Ye)!==Ve&&((e=!tn&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(r=t.actualStartTime,0<=r&&.05<l-r&&ia(t,r,l,"Mount")),0<=ze&&0<=Ue&&((Mt||.05<Ct)&&oa(t,ze,Ue,Ct,Nt),e&&.05<Ue-ze&&ia(t,ze,Ue,"Mount"))),rr(c),ua(m),Nt=y,Mt=D,Ui=E}function Ss(e,t,r,o,l,c){for(l=l&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var m=t.sibling;B1(e,t,r,o,l,m!==null?m.actualStartTime:c),t=m}}function B1(e,t,r,o,l,c){var m=nr(),y=la(),D=ca(),E=fa(),B=Ui;l&&(t.mode&Ye)!==Ve&&0<t.actualStartTime&&(t.flags&1)!==0&&Kc(t,t.actualStartTime,c,tn,r);var H=t.flags;switch(t.tag){case 0:case 11:case 15:Ss(e,t,r,o,l,c),S1(t,jn);break;case 23:break;case 22:var _=t.stateNode;t.memoizedState!==null?_._visibility&Wa?Ss(e,t,r,o,l,c):tu(e,t,r,o,c):(_._visibility|=Wa,Ss(e,t,r,o,l,c)),l&&H&2048&&Np(t.alternate,t);break;case 24:Ss(e,t,r,o,l,c),l&&H&2048&&kp(t.alternate,t);break;default:Ss(e,t,r,o,l,c)}(t.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&(Mt||.05<Ct)&&oa(t,ze,Ue,Ct,Nt),rr(m),ua(y),Nt=D,Mt=E,Ui=B}function tu(e,t,r,o,l){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var c=t.child;c!==null;){t=c.sibling;var m=e,y=r,D=o,E=t!==null?t.actualStartTime:l,B=Ui;(c.mode&Ye)!==Ve&&0<c.actualStartTime&&(c.flags&1)!==0&&Kc(c,c.actualStartTime,E,tn,y);var H=c.flags;switch(c.tag){case 22:tu(m,c,y,D,E),H&2048&&Np(c.alternate,c);break;case 24:tu(m,c,y,D,E),H&2048&&kp(c.alternate,c);break;default:tu(m,c,y,D,E)}Ui=B,c=t}}function Ds(e,t,r){if(e.subtreeFlags&Yu)for(e=e.child;e!==null;)H1(e,t,r),e=e.sibling}function H1(e,t,r){switch(e.tag){case 26:Ds(e,t,r),e.flags&Yu&&e.memoizedState!==null&&oM(r,Zr,e.memoizedState,e.memoizedProps);break;case 5:Ds(e,t,r);break;case 3:case 4:var o=Zr;Zr=Ff(e.stateNode.containerInfo),Ds(e,t,r),Zr=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=Yu,Yu=16777216,Ds(e,t,r),Yu=o):Ds(e,t,r));break;default:Ds(e,t,r)}}function P1(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 nu(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var r=0;r<t.length;r++){var o=t[r],l=nr();un=o,F1(o,e),(o.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&.05<Ue-ze&&ia(o,ze,Ue,"Unmount"),rr(l)}P1(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)q1(e),e=e.sibling}function q1(e){var t=nr(),r=la(),o=ca(),l=fa();switch(e.tag){case 0:case 11:case 15:nu(e),e.flags&2048&&Ep(e,e.return,jn|Rr);break;case 3:var c=Ga();nu(e),e.stateNode.passiveEffectDuration+=lf(c);break;case 12:c=Ga(),nu(e),e.stateNode.passiveEffectDuration+=ql(c);break;case 22:c=e.stateNode,e.memoizedState!==null&&c._visibility&Wa&&(e.return===null||e.return.tag!==13)?(c._visibility&=~Wa,Vf(e),(e.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&.05<Ue-ze&&ia(e,ze,Ue,"Disconnect")):nu(e);break;default:nu(e)}(e.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&(Mt||.05<Ct)&&oa(e,ze,Ue,Ct,Nt),rr(t),ua(r),Mt=l,Nt=o}function Vf(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var r=0;r<t.length;r++){var o=t[r],l=nr();un=o,F1(o,e),(o.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&.05<Ue-ze&&ia(o,ze,Ue,"Unmount"),rr(l)}P1(e)}for(e=e.child;e!==null;)I1(e),e=e.sibling}function I1(e){var t=nr(),r=la(),o=ca(),l=fa();switch(e.tag){case 0:case 11:case 15:Ep(e,e.return,jn),Vf(e);break;case 22:var c=e.stateNode;c._visibility&Wa&&(c._visibility&=~Wa,Vf(e));break;default:Vf(e)}(e.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&(Mt||.05<Ct)&&oa(e,ze,Ue,Ct,Nt),rr(t),ua(r),Mt=l,Nt=o}function F1(e,t){for(;un!==null;){var r=un,o=r,l=t,c=nr(),m=la(),y=ca(),D=fa();switch(o.tag){case 0:case 11:case 15:Ep(o,l,jn);break;case 23:case 22:o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(l=o.memoizedState.cachePool.pool,l!=null&&So(l));break;case 24:Pl(o.memoizedState.cache)}if((o.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&(Mt||.05<Ct)&&oa(o,ze,Ue,Ct,Nt),rr(c),ua(m),Mt=D,Nt=y,o=r.child,o!==null)o.return=r,un=o;else e:for(r=e;un!==null;){if(o=un,c=o.sibling,m=o.return,R1(o),o===r){un=null;break e}if(c!==null){c.return=m,un=c;break e}un=m}}}function vO(){q_.forEach(function(e){return e()})}function Y1(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||J.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function ir(e){if((st&nn)!==cn&&$e!==0)return $e&-$e;var t=J.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),jp()):Nn()}function G1(){if(Gn===0)if(($e&536870912)===0||We){var e=nd;nd<<=1,(nd&3932160)===0&&(nd=262144),Gn=e}else Gn=536870912;return e=cr.current,e!==null&&(e.flags|=32),Gn}function Ot(e,t,r){if(sl&&console.error("useInsertionEffect must not schedule updates."),by&&(Pd=!0),(e===gt&&(ht===qo||ht===Io)||e.cancelPendingCommit!==null)&&(Ts(e,0),Ni(e,$e,Gn,!1)),Te(e,r),(st&nn)!==cn&&e===gt){if(Da)switch(t.tag){case 0:case 11:case 15:e=Xe&&F(Xe)||"Unknown",vT.has(e)||(vT.add(e),t=F(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:bT||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),bT=!0)}}else Ta&&Wn(e,t,r),CO(t),e===gt&&((st&nn)===cn&&($i|=r),Rt===Fi&&Ni(e,$e,Gn,!1)),ba(e)}function $1(e,t,r){if((st&(nn|dr))!==cn)throw Error("Should not already be working.");if($e!==0&&Xe!==null){var o=Xe,l=sn();switch(fE){case Xu:case qo:var c=Ou;vt&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Suspended",c,l,Dr,void 0,"primary-light")):console.timeStamp("Suspended",c,l,Dr,void 0,"primary-light"));break;case Io:c=Ou,vt&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Action",c,l,Dr,void 0,"primary-light")):console.timeStamp("Action",c,l,Dr,void 0,"primary-light"));break;default:vt&&(o=l-Ou,3>o||console.timeStamp("Blocked",Ou,l,Dr,void 0,5>o?"primary-light":10>o?"primary":100>o?"primary-dark":"error"))}}c=(r=!r&&(t&127)===0&&(t&e.expiredLanes)===0||na(e,t))?SO(e,t):Rp(e,t,!0);var m=r;do{if(c===ci){il&&!r&&Ni(e,t,0,!1),t=ht,Ou=Yt(),fE=t;break}else{if(o=sn(),l=e.current.alternate,m&&!xO(l)){Ir(t),l=ln,c=o,!vt||c<=l||(Vt?Vt.run(console.timeStamp.bind(console,"Teared Render",l,c,rt,tt,"error")):console.timeStamp("Teared Render",l,c,rt,tt,"error")),No(t,o),c=Rp(e,t,!1),m=!1;continue}if(c===Po){if(m=t,e.errorRecoveryDisabledLanes&m)var y=0;else y=e.pendingLanes&-536870913,y=y!==0?y:y&536870912?536870912:0;if(y!==0){Ir(t),fm(ln,o,t,Vt),No(t,o),t=y;e:{o=e,c=m,m=Zu;var D=o.current.memoizedState.isDehydrated;if(D&&(Ts(o,y).flags|=256),y=Rp(o,y,!1),y!==Po){if(cy&&!D){o.errorRecoveryDisabledLanes|=c,$i|=c,c=Fi;break e}o=Vn,Vn=m,o!==null&&(Vn===null?Vn=o:Vn.push.apply(Vn,o))}c=y}if(m=!1,c!==Po)continue;o=sn()}}if(c===$u){Ir(t),fm(ln,o,t,Vt),No(t,o),Ts(e,0),Ni(e,t,0,!0);break}e:{switch(r=e,c){case ci:case $u:throw Error("Root did not complete. This is a bug in React.");case Fi:if((t&4194048)!==t)break;case _d:Ir(t),$0(ln,o,t,Vt),No(t,o),l=t,(l&127)!==0?bd=o:(l&4194048)!==0&&(vd=o),Ni(r,t,Gn,!Yi);break e;case Po:Vn=null;break;case Md:case iT:break;default:throw Error("Unknown root exit status.")}if(J.actQueue!==null)Op(r,l,t,Vn,Ju,jd,Gn,$i,Fo,c,null,null,ln,o);else{if((t&62914560)===t&&(m=Vd+lT-sn(),10<m)){if(Ni(r,t,Gn,!Yi),Ha(r,0,!0)!==0)break e;Jr=t,r.timeoutHandle=NT(X1.bind(null,r,l,Vn,Ju,jd,t,Gn,$i,Fo,Yi,c,"Throttled",ln,o),m);break e}X1(r,l,Vn,Ju,jd,t,Gn,$i,Fo,Yi,c,null,ln,o)}}}break}while(!0);ba(e)}function X1(e,t,r,o,l,c,m,y,D,E,B,H,_,$){e.timeoutHandle=Qo;var ve=t.subtreeFlags,Ee=null;if((ve&8192||(ve&16785408)===16785408)&&(Ee={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:qa},H1(t,c,Ee),ve=(c&62914560)===c?Vd-sn():(c&4194048)===c?sT-sn():0,ve=sM(Ee,ve),ve!==null)){Jr=c,e.cancelPendingCommit=ve(Op.bind(null,e,t,c,r,o,l,m,y,D,B,Ee,Ee.waitingForViewTransition?"Waiting for the previous Animation":0<Ee.count?0<Ee.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Ee.imgCount===1?"Suspended on an Image":0<Ee.imgCount?"Suspended on Images":null,_,$)),Ni(e,c,m,!E);return}Op(e,t,c,r,o,l,m,y,D,B,Ee,H,_,$)}function xO(e){for(var t=e;;){var r=t.tag;if((r===0||r===11||r===15)&&t.flags&16384&&(r=t.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var o=0;o<r.length;o++){var l=r[o],c=l.getSnapshot;l=l.value;try{if(!_n(c(),l))return!1}catch{return!1}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;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 Ni(e,t,r,o){t&=~fy,t&=~$i,e.suspendedLanes|=t,e.pingedLanes&=~t,o&&(e.warmLanes|=t),o=e.expirationTimes;for(var l=t;0<l;){var c=31-Rn(l),m=1<<c;o[c]=-1,l&=~m}r!==0&&it(e,r,t)}function Es(){return(st&(nn|dr))===cn?(iu(0),!1):!0}function Cp(){if(Xe!==null){if(ht===Yn)var e=Xe.return;else e=Xe,af(),Hm(e),Zs=null,Hu=0,e=Xe;for(;e!==null;)v1(e.alternate,e),e=e.return;Xe=null}}function No(e,t){(e&127)!==0&&(Mo=t),(e&4194048)!==0&&(ai=t),(e&62914560)!==0&&(uE=t),(e&2080374784)!==0&&(cE=t)}function Ts(e,t){vt&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",tt,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",tt,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",tt,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",tt,"primary-light"));var r=ln;if(ln=Yt(),$e!==0&&0<r){if(Ir($e),Rt===Md||Rt===Fi)$0(r,ln,t,Vt);else{var o=ln,l=Vt;if(vt&&!(o<=r)){var c=(t&738197653)===t?"tertiary-dark":"primary-dark",m=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";l?l.run(console.timeStamp.bind(console,m,r,o,rt,tt,c)):console.timeStamp(m,r,o,rt,tt,c)}}No($e,ln)}if(r=Vt,Vt=null,(t&127)!==0){Vt=ku,l=0<=ka&&ka<Mo?Mo:ka,o=0<=_o&&_o<Mo?Mo:_o,c=0<=o?o:0<=l?l:ln,0<=bd?(Ir(2),X0(bd,c,t,r)):xd&127,r=l;var y=o,D=Cu,E=0<$s,B=Hi===Nu,H=Hi===yd;if(l=ln,o=ku,c=Ig,m=Fg,vt){if(rt="Blocking",0<r?r>l&&(r=l):r=l,0<y?y>r&&(y=r):y=r,D!==null&&r>y){var _=E?"secondary-light":"warning";o?o.run(console.timeStamp.bind(console,E?"Consecutive":"Event: "+D,y,r,rt,tt,_)):console.timeStamp(E?"Consecutive":"Event: "+D,y,r,rt,tt,_)}l>r&&(y=B?"error":(t&738197653)===t?"tertiary-light":"primary-light",B=H?"Promise Resolved":B?"Cascading Update":5<l-r?"Update Blocked":"Update",H=[],m!=null&&H.push(["Component name",m]),c!=null&&H.push(["Method name",c]),r={start:r,end:l,detail:{devtools:{properties:H,track:rt,trackGroup:tt,color:y}}},o?o.run(performance.measure.bind(performance,B,r)):performance.measure(B,r))}ka=-1.1,Hi=0,Fg=Ig=null,bd=-1.1,$s=_o,_o=-1.1,Mo=Yt()}if((t&4194048)!==0&&(Vt=Ru,l=0<=ii&&ii<ai?ai:ii,r=0<=kr&&kr<ai?ai:kr,o=0<=Pi&&Pi<ai?ai:Pi,c=0<=o?o:0<=r?r:ln,0<=vd?(Ir(256),X0(vd,c,t,Vt)):xd&4194048,H=o,y=zo,D=0<qi,E=Yg===yd,c=ln,o=Ru,m=sE,B=lE,vt&&(rt="Transition",0<r?r>c&&(r=c):r=c,0<l?l>r&&(l=r):l=r,0<H?H>l&&(H=l):H=l,l>H&&y!==null&&(_=D?"secondary-light":"warning",o?o.run(console.timeStamp.bind(console,D?"Consecutive":"Event: "+y,H,l,rt,tt,_)):console.timeStamp(D?"Consecutive":"Event: "+y,H,l,rt,tt,_)),r>l&&(o?o.run(console.timeStamp.bind(console,"Action",l,r,rt,tt,"primary-dark")):console.timeStamp("Action",l,r,rt,tt,"primary-dark")),c>r&&(l=E?"Promise Resolved":5<c-r?"Update Blocked":"Update",H=[],B!=null&&H.push(["Component name",B]),m!=null&&H.push(["Method name",m]),r={start:r,end:c,detail:{devtools:{properties:H,track:rt,trackGroup:tt,color:"primary-light"}}},o?o.run(performance.measure.bind(performance,l,r)):performance.measure(l,r))),kr=ii=-1.1,Yg=0,vd=-1.1,qi=Pi,Pi=-1.1,ai=Yt()),(t&62914560)!==0&&(xd&62914560)!==0&&(Ir(4194304),dm(uE,ln)),(t&2080374784)!==0&&(xd&2080374784)!==0&&(Ir(268435456),dm(cE,ln)),r=e.timeoutHandle,r!==Qo&&(e.timeoutHandle=Qo,tz(r)),r=e.cancelPendingCommit,r!==null&&(e.cancelPendingCommit=null,r()),Jr=0,Cp(),gt=e,Xe=r=Ia(e.current,null),$e=t,ht=Yn,hr=null,Yi=!1,il=na(e,t),cy=!1,Rt=ci,Fo=Gn=fy=$i=Gi=0,Vn=Zu=null,jd=!1,(t&8)!==0&&(t|=t&32),o=e.entangledLanes,o!==0)for(e=e.entanglements,o&=t;0<o;)l=31-Rn(o),c=1<<l,t|=e[l],o&=~c;return Ra=t,Wc(),e=tE(),1e3<e-eE&&(J.recentlyCreatedOwnerStacks=0,eE=e),Xr.discardPendingWarnings(),r}function Q1(e,t){Le=null,J.H=Fu,J.getCurrentStack=null,Da=!1,lr=null,t===Qs||t===Td?(t=gx(),ht=Xu):t===Qg?(t=gx(),ht=oT):ht=t===iy?uy:t!==null&&typeof t=="object"&&typeof t.then=="function"?Qu:zd,hr=t;var r=Xe;r===null?(Rt=$u,Rf(e,tr(t,e.current))):r.mode&Ye&&Nm(r)}function Z1(){var e=cr.current;return e===null?!0:($e&4194048)===$e?Cr===null:($e&62914560)===$e||($e&536870912)!==0?e===Cr:!1}function J1(){var e=J.H;return J.H=Fu,e===null?Fu:e}function K1(){var e=J.A;return J.A=P_,e}function Lf(e){Vt===null&&(Vt=e._debugTask==null?null:e._debugTask)}function Bf(){Rt=Fi,Yi||($e&4194048)!==$e&&cr.current!==null||(il=!0),(Gi&134217727)===0&&($i&134217727)===0||gt===null||Ni(gt,$e,Gn,!1)}function Rp(e,t,r){var o=st;st|=nn;var l=J1(),c=K1();if(gt!==e||$e!==t){if(Ta){var m=e.memoizedUpdaters;0<m.size&&(au(e,$e),m.clear()),yr(e,t)}Ju=null,Ts(e,t)}t=!1,m=Rt;e:do try{if(ht!==Yn&&Xe!==null){var y=Xe,D=hr;switch(ht){case uy:Cp(),m=_d;break e;case Xu:case qo:case Io:case Qu:cr.current===null&&(t=!0);var E=ht;if(ht=Yn,hr=null,As(e,y,D,E),r&&il){m=ci;break e}break;default:E=ht,ht=Yn,hr=null,As(e,y,D,E)}}W1(),m=Rt;break}catch(B){Q1(e,B)}while(!0);return t&&e.shellSuspendCounter++,af(),st=o,J.H=l,J.A=c,Xe===null&&(gt=null,$e=0,Wc()),m}function W1(){for(;Xe!==null;)eS(Xe)}function SO(e,t){var r=st;st|=nn;var o=J1(),l=K1();if(gt!==e||$e!==t){if(Ta){var c=e.memoizedUpdaters;0<c.size&&(au(e,$e),c.clear()),yr(e,t)}Ju=null,Ld=sn()+uT,Ts(e,t)}else il=na(e,t);e:do try{if(ht!==Yn&&Xe!==null)t:switch(t=Xe,c=hr,ht){case zd:ht=Yn,hr=null,As(e,t,c,zd);break;case qo:case Io:if(mx(c)){ht=Yn,hr=null,tS(t);break}t=function(){ht!==qo&&ht!==Io||gt!==e||(ht=Ud),ba(e)},c.then(t,t);break e;case Xu:ht=Ud;break e;case oT:ht=ly;break e;case Ud:mx(c)?(ht=Yn,hr=null,tS(t)):(ht=Yn,hr=null,As(e,t,c,Ud));break;case ly:var m=null;switch(Xe.tag){case 26:m=Xe.memoizedState;case 5:case 27:var y=Xe;if(m?$S(m):y.stateNode.complete){ht=Yn,hr=null;var D=y.sibling;if(D!==null)Xe=D;else{var E=y.return;E!==null?(Xe=E,Hf(E)):Xe=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}ht=Yn,hr=null,As(e,t,c,ly);break;case Qu:ht=Yn,hr=null,As(e,t,c,Qu);break;case uy:Cp(),Rt=_d;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}J.actQueue!==null?W1():DO();break}catch(B){Q1(e,B)}while(!0);return af(),J.H=o,J.A=l,st=r,Xe!==null?ci:(gt=null,$e=0,Wc(),Rt)}function DO(){for(;Xe!==null&&!SM();)eS(Xe)}function eS(e){var t=e.alternate;(e.mode&Ye)!==Ve?(wm(e),t=De(e,xp,t,e,Ra),Nm(e)):t=De(e,xp,t,e,Ra),e.memoizedProps=e.pendingProps,t===null?Hf(e):Xe=t}function tS(e){var t=De(e,EO,e);e.memoizedProps=e.pendingProps,t===null?Hf(e):Xe=t}function EO(e){var t=e.alternate,r=(e.mode&Ye)!==Ve;switch(r&&wm(e),e.tag){case 15:case 0:t=d1(t,e,e.pendingProps,e.type,void 0,$e);break;case 11:t=d1(t,e,e.pendingProps,e.type.render,e.ref,$e);break;case 5:Hm(e);default:v1(t,e),e=Xe=ex(e,Ra),t=xp(t,e,Ra)}return r&&Nm(e),t}function As(e,t,r,o){af(),Hm(t),Zs=null,Hu=0;var l=t.return;try{if(sO(e,l,t,r,$e)){Rt=$u,Rf(e,tr(r,e.current)),Xe=null;return}}catch(c){if(l!==null)throw Xe=l,c;Rt=$u,Rf(e,tr(r,e.current)),Xe=null;return}t.flags&32768?(We||o===zd?e=!0:il||($e&536870912)!==0?e=!1:(Yi=e=!0,(o===qo||o===Io||o===Xu||o===Qu)&&(o=cr.current,o!==null&&o.tag===13&&(o.flags|=16384))),nS(t,e)):Hf(t)}function Hf(e){var t=e;do{if((t.flags&32768)!==0){nS(t,Yi);return}var r=t.alternate;if(e=t.return,wm(t),r=De(t,cO,r,t,Ra),(t.mode&Ye)!==Ve&&ux(t),r!==null){Xe=r;return}if(t=t.sibling,t!==null){Xe=t;return}Xe=t=e}while(t!==null);Rt===ci&&(Rt=iT)}function nS(e,t){do{var r=fO(e.alternate,e);if(r!==null){r.flags&=32767,Xe=r;return}if((e.mode&Ye)!==Ve){ux(e),r=e.actualDuration;for(var o=e.child;o!==null;)r+=o.actualDuration,o=o.sibling;e.actualDuration=r}if(r=e.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!t&&(e=e.sibling,e!==null)){Xe=e;return}Xe=e=r}while(e!==null);Rt=_d,Xe=null}function Op(e,t,r,o,l,c,m,y,D,E,B,H,_,$){e.cancelPendingCommit=null;do ru();while(Zt!==Qi);if(Xr.flushLegacyContextWarning(),Xr.flushPendingUnsafeLifecycleWarnings(),(st&(nn|dr))!==cn)throw Error("Should not already be working.");if(Ir(r),E===Po?fm(_,$,r,Vt):o!==null?XR(_,$,r,o,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,Vt):$R(_,$,r,Vt),t!==null){if(r===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(c=t.lanes|t.childLanes,c|=Lg,Ie(e,r,c,m,y,D),e===gt&&(Xe=gt=null,$e=0),ol=t,Zi=e,Jr=r,my=c,gy=l,pT=o,py=$,gT=H,Kr=Bd,yT=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,kO(Os,function(){return rc=window.event,Kr===Bd&&(Kr=hy),sS(),null})):(e.callbackNode=null,e.callbackPriority=0),ri=null,Bi=Yt(),H!==null&&QR($,Bi,H,Vt),o=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||o){o=J.T,J.T=null,l=ft.p,ft.p=Sr,m=st,st|=dr;try{yO(e,t,r)}finally{st=m,ft.p=l,J.T=o}}Zt=fT,rS(),aS(),iS()}}function rS(){if(Zt===fT){Zt=Qi;var e=Zi,t=ol,r=Jr,o=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||o){o=J.T,J.T=null;var l=ft.p;ft.p=Sr;var c=st;st|=dr;try{rl=r,al=e,uf(),z1(t,e),al=rl=null,r=Ny;var m=F0(e.containerInfo),y=r.focusedElem,D=r.selectionRange;if(m!==y&&y&&y.ownerDocument&&I0(y.ownerDocument.documentElement,y)){if(D!==null&&lm(y)){var E=D.start,B=D.end;if(B===void 0&&(B=E),"selectionStart"in y)y.selectionStart=E,y.selectionEnd=Math.min(B,y.value.length);else{var H=y.ownerDocument||document,_=H&&H.defaultView||window;if(_.getSelection){var $=_.getSelection(),ve=y.textContent.length,Ee=Math.min(D.start,ve),bt=D.end===void 0?Ee:Math.min(D.end,ve);!$.extend&&Ee>bt&&(m=bt,bt=Ee,Ee=m);var nt=q0(y,Ee),M=q0(y,bt);if(nt&&M&&($.rangeCount!==1||$.anchorNode!==nt.node||$.anchorOffset!==nt.offset||$.focusNode!==M.node||$.focusOffset!==M.offset)){var j=H.createRange();j.setStart(nt.node,nt.offset),$.removeAllRanges(),Ee>bt?($.addRange(j),$.extend(M.node,M.offset)):(j.setEnd(M.node,M.offset),$.addRange(j))}}}}for(H=[],$=y;$=$.parentNode;)$.nodeType===1&&H.push({element:$,left:$.scrollLeft,top:$.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<H.length;y++){var L=H[y];L.element.scrollLeft=L.left,L.element.scrollTop=L.top}}th=!!wy,Ny=wy=null}finally{st=c,ft.p=l,J.T=o}}e.current=t,Zt=dT}}function aS(){if(Zt===dT){Zt=Qi;var e=yT;if(e!==null){Bi=Yt();var t=ni,r=Bi;!vt||r<=t||console.timeStamp(e,t,r,rt,tt,"secondary-light")}e=Zi,t=ol,r=Jr;var o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=J.T,J.T=null;var l=ft.p;ft.p=Sr;var c=st;st|=dr;try{rl=r,al=e,uf(),C1(e,t.alternate,t),al=rl=null}finally{st=c,ft.p=l,J.T=o}}e=py,t=gT,ni=Yt(),e=t===null?e:Bi,t=ni,r=Kr===dy,o=Vt,ri!==null?Q0(e,t,ri,!1,o):!vt||t<=e||(o?o.run(console.timeStamp.bind(console,r?"Commit Interrupted View Transition":"Commit",e,t,rt,tt,r?"error":"secondary-dark")):console.timeStamp(r?"Commit Interrupted View Transition":"Commit",e,t,rt,tt,r?"error":"secondary-dark")),Zt=hT}}function iS(){if(Zt===mT||Zt===hT){if(Zt===mT){var e=ni;ni=Yt();var t=ni,r=Kr===dy;!vt||t<=e||console.timeStamp(r?"Interrupted View Transition":"Starting Animation",e,t,rt,tt,r?" error":"secondary-light"),Kr!==dy&&(Kr=cT)}Zt=Qi,DM(),e=Zi;var o=ol;t=Jr,r=pT;var l=o.actualDuration!==0||(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0;l?Zt=Hd:(Zt=Qi,ol=Zi=null,oS(e,e.pendingLanes),Yo=0,Wu=null);var c=e.pendingLanes;if(c===0&&(Xi=null),l||fS(e),c=qt(t),o=o.stateNode,vn&&typeof vn.onCommitFiberRoot=="function")try{var m=(o.current.flags&128)===128;switch(c){case Sr:var y=gg;break;case Aa:y=yg;break;case Ja:y=Os;break;case ad:y=bg;break;default:y=Os}vn.onCommitFiberRoot(Ms,o,y,m)}catch(H){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %o",H))}if(Ta&&e.memoizedUpdaters.clear(),vO(),r!==null){m=J.T,y=ft.p,ft.p=Sr,J.T=null;try{var D=e.onRecoverableError;for(o=0;o<r.length;o++){var E=r[o],B=TO(E.stack);De(E.source,D,E.value,B)}}finally{J.T=m,ft.p=y}}(Jr&3)!==0&&ru(),ba(e),c=e.pendingLanes,(t&261930)!==0&&(c&42)!==0?(Dd=!0,e===yy?Ku++:(Ku=0,yy=e)):Ku=0,l||No(t,ni),iu(0)}}function TO(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 oS(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Pl(t)))}function ru(){return rS(),aS(),iS(),sS()}function sS(){if(Zt!==Hd)return!1;var e=Zi,t=my;my=0;var r=qt(Jr),o=Ja>r?Ja:r;r=J.T;var l=ft.p;try{ft.p=o,J.T=null;var c=gy;gy=null,o=Zi;var m=Jr;if(Zt=Qi,ol=Zi=null,Jr=0,(st&(nn|dr))!==cn)throw Error("Cannot flush passive effects while already rendering.");Ir(m),by=!0,Pd=!1;var y=0;if(ri=null,y=sn(),Kr===cT)dm(ni,y,z_);else{var D=ni,E=y,B=Kr===hy;!vt||E<=D||(Vt?Vt.run(console.timeStamp.bind(console,B?"Waiting for Paint":"Waiting",D,E,rt,tt,"secondary-light")):console.timeStamp(B?"Waiting for Paint":"Waiting",D,E,rt,tt,"secondary-light"))}D=st,st|=dr;var H=o.current;uf(),q1(H);var _=o.current;H=py,uf(),L1(o,_,m,c,H),fS(o),st=D;var $=sn();if(_=y,H=Vt,ri!==null?Q0(_,$,ri,!0,H):!vt||$<=_||(H?H.run(console.timeStamp.bind(console,"Remaining Effects",_,$,rt,tt,"secondary-dark")):console.timeStamp("Remaining Effects",_,$,rt,tt,"secondary-dark")),No(m,$),iu(0,!1),Pd?o===Wu?Yo++:(Yo=0,Wu=o):Yo=0,Pd=by=!1,vn&&typeof vn.onPostCommitFiberRoot=="function")try{vn.onPostCommitFiberRoot(Ms,o)}catch(Ee){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %o",Ee))}var ve=o.current.stateNode;return ve.effectDuration=0,ve.passiveEffectDuration=0,!0}finally{ft.p=l,J.T=r,oS(e,t)}}function lS(e,t,r){t=tr(r,t),cx(t),t=up(e.stateNode,t,2),e=Ei(e,t,2),e!==null&&(Te(e,2),ba(e))}function ct(e,t,r){if(sl=!1,e.tag===3)lS(e,e,r);else{for(;t!==null;){if(t.tag===3){lS(t,e,r);return}if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Xi===null||!Xi.has(o))){e=tr(r,e),cx(e),r=cp(2),o=Ei(t,r,2),o!==null&&(fp(r,o,t,e),Te(o,2),ba(o));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
159
|
+
|
|
160
|
+
Error message:
|
|
161
|
+
|
|
162
|
+
%s`,r)}}function Mp(e,t,r){var o=e.pingCache;if(o===null){o=e.pingCache=new I_;var l=new Set;o.set(t,l)}else l=o.get(t),l===void 0&&(l=new Set,o.set(t,l));l.has(r)||(cy=!0,l.add(r),o=AO.bind(null,e,t,r),Ta&&au(e,r),t.then(o,o))}function AO(e,t,r){var o=e.pingCache;o!==null&&o.delete(t),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,(r&127)!==0?0>ka&&(Mo=ka=Yt(),ku=gd("Promise Resolved"),Hi=yd):(r&4194048)!==0&&0>kr&&(ai=kr=Yt(),Ru=gd("Promise Resolved"),Yg=yd),Y1()&&J.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
163
|
+
|
|
164
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
165
|
+
|
|
166
|
+
act(() => {
|
|
167
|
+
/* finish loading suspended data */
|
|
168
|
+
});
|
|
169
|
+
/* assert on the output */
|
|
170
|
+
|
|
171
|
+
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`),gt===e&&($e&r)===r&&(Rt===Fi||Rt===Md&&($e&62914560)===$e&&sn()-Vd<lT?(st&nn)===cn&&Ts(e,0):fy|=r,Fo===$e&&(Fo=0)),ba(e)}function uS(e,t){t===0&&(t=W()),e=bn(e,t),e!==null&&(Te(e,t),ba(e))}function wO(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),uS(e,r)}function NO(e,t){var r=0;switch(e.tag){case 31:case 13:var o=e.stateNode,l=e.memoizedState;l!==null&&(r=l.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}o!==null&&o.delete(t),uS(e,r)}function _p(e,t,r){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var o=e,l=t,c=l.type===Kf;c=r||c,l.tag!==22?l.flags&67108864?c&&De(l,cS,o,l):_p(o,l,c):l.memoizedState===null&&(c&&l.flags&8192?De(l,cS,o,l):l.subtreeFlags&67108864&&De(l,_p,o,l,c)),t=t.sibling}}function cS(e,t){we(!0);try{j1(t),I1(t),V1(e,t.alternate,t,!1),B1(e,t,0,null,!1,0)}finally{we(!1)}}function fS(e){var t=!0;e.current.mode&(xn|$r)||(t=!1),_p(e,e.current,t)}function dS(e){if((st&nn)===cn){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=F(e)||"ReactComponent",qd!==null){if(qd.has(t))return;qd.add(t)}else qd=new Set([t]);De(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function au(e,t){Ta&&e.memoizedUpdaters.forEach(function(r){Wn(e,r,t)})}function kO(e,t){var r=J.actQueue;return r!==null?(r.push(t),G_):pg(e,t)}function CO(e){Y1()&&J.actQueue===null&&De(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
172
|
+
|
|
173
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
174
|
+
|
|
175
|
+
act(() => {
|
|
176
|
+
/* fire events that update state */
|
|
177
|
+
});
|
|
178
|
+
/* assert on the output */
|
|
179
|
+
|
|
180
|
+
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`,F(e))})}function ba(e){e!==ll&&e.next===null&&(ll===null?Id=ll=e:ll=ll.next=e),Fd=!0,J.actQueue!==null?xy||(xy=!0,gS()):vy||(vy=!0,gS())}function iu(e,t){if(!Sy&&Fd){Sy=!0;do for(var r=!1,o=Id;o!==null;){if(e!==0){var l=o.pendingLanes;if(l===0)var c=0;else{var m=o.suspendedLanes,y=o.pingedLanes;c=(1<<31-Rn(42|e)+1)-1,c&=l&~(m&~y),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(r=!0,pS(o,c))}else c=$e,c=Ha(o,o===gt?c:0,o.cancelPendingCommit!==null||o.timeoutHandle!==Qo),(c&3)===0||na(o,c)||(r=!0,pS(o,c));o=o.next}while(r);Sy=!1}}function RO(){rc=window.event,zp()}function zp(){Fd=xy=vy=!1;var e=0;Ji!==0&&VO()&&(e=Ji);for(var t=sn(),r=null,o=Id;o!==null;){var l=o.next,c=hS(o,t);c===0?(o.next=null,r===null?Id=l:r.next=l,l===null&&(ll=r)):(r=o,(e!==0||(c&3)!==0)&&(Fd=!0)),o=l}Zt!==Qi&&Zt!==Hd||iu(e),Ji!==0&&(Ji=0)}function hS(e,t){for(var r=e.suspendedLanes,o=e.pingedLanes,l=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var m=31-Rn(c),y=1<<m,D=l[m];D===-1?((y&r)===0||(y&o)!==0)&&(l[m]=us(y,t)):D<=t&&(e.expiredLanes|=y),c&=~y}if(t=gt,r=$e,r=Ha(e,e===t?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Qo),o=e.callbackNode,r===0||e===t&&(ht===qo||ht===Io)||e.cancelPendingCommit!==null)return o!==null&&Up(o),e.callbackNode=null,e.callbackPriority=0;if((r&3)===0||na(e,r)){if(t=r&-r,t!==e.callbackPriority||J.actQueue!==null&&o!==Dy)Up(o);else return t;switch(qt(r)){case Sr:case Aa:r=yg;break;case Ja:r=Os;break;case ad:r=bg;break;default:r=Os}return o=mS.bind(null,e),J.actQueue!==null?(J.actQueue.push(o),r=Dy):r=pg(r,o),e.callbackPriority=t,e.callbackNode=r,t}return o!==null&&Up(o),e.callbackPriority=2,e.callbackNode=null,2}function mS(e,t){if(Dd=Sd=!1,rc=window.event,Zt!==Qi&&Zt!==Hd)return e.callbackNode=null,e.callbackPriority=0,null;var r=e.callbackNode;if(Kr===Bd&&(Kr=hy),ru()&&e.callbackNode!==r)return null;var o=$e;return o=Ha(e,e===gt?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Qo),o===0?null:($1(e,o,t),hS(e,sn()),e.callbackNode!=null&&e.callbackNode===r?mS.bind(null,e):null)}function pS(e,t){if(ru())return null;Sd=Dd,Dd=!1,$1(e,t,!0)}function Up(e){e!==Dy&&e!==null&&xM(e)}function gS(){J.actQueue!==null&&J.actQueue.push(function(){return zp(),null}),nz(function(){(st&(nn|dr))!==cn?pg(gg,RO):zp()})}function jp(){if(Ji===0){var e=Uo;e===0&&(e=td,td<<=1,(td&261888)===0&&(td=256)),Ji=e}return Ji}function yS(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(lt(e,"action"),Vl(""+e))}function bS(e,t){var r=t.ownerDocument.createElement("input");return r.name=t.name,r.value=t.value,e.id&&r.setAttribute("form",e.id),t.parentNode.insertBefore(r,t),e=new FormData(e),r.parentNode.removeChild(r),e}function OO(e,t,r,o,l){if(t==="submit"&&r&&r.stateNode===l){var c=yS((l[On]||null).action),m=o.submitter;m&&(t=(t=m[On]||null)?yS(t.formAction):m.getAttribute("formAction"),t!==null&&(c=t,m=null));var y=new ud("action","action",null,o,l);e.push({event:y,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Ji!==0){var D=m?bS(l,m):new FormData(l),E={pending:!0,data:D,method:l.method,action:c};Object.freeze(E),np(r,E,null,D)}}else typeof c=="function"&&(y.preventDefault(),D=m?bS(l,m):new FormData(l),E={pending:!0,data:D,method:l.method,action:c},Object.freeze(E),np(r,E,c,D))},currentTarget:l}]})}}function Pf(e,t,r){e.currentTarget=r;try{t(e)}catch(o){zg(o)}e.currentTarget=null}function vS(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var o=e[r];e:{var l=void 0,c=o.event;if(o=o.listeners,t)for(var m=o.length-1;0<=m;m--){var y=o[m],D=y.instance,E=y.currentTarget;if(y=y.listener,D!==l&&c.isPropagationStopped())break e;D!==null?De(D,Pf,c,y,E):Pf(c,y,E),l=D}else for(m=0;m<o.length;m++){if(y=o[m],D=y.instance,E=y.currentTarget,y=y.listener,D!==l&&c.isPropagationStopped())break e;D!==null?De(D,Pf,c,y,E):Pf(c,y,E),l=D}}}}function et(e,t){Ey.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var r=t[vg];r===void 0&&(r=t[vg]=new Set);var o=e+"__bubble";r.has(o)||(xS(t,e,2,!1),r.add(o))}function Vp(e,t,r){Ey.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var o=0;t&&(o|=4),xS(r,e,o,t)}function Lp(e){if(!e[Yd]){e[Yd]=!0,gD.forEach(function(r){r!=="selectionchange"&&(Ey.has(r)||Vp(r,!1,e),Vp(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Yd]||(t[Yd]=!0,Vp("selectionchange",!1,t))}}function xS(e,t,r,o){switch(WS(t)){case Sr:var l=fM;break;case Aa:l=dM;break;default:l=eg}r=l.bind(null,t,r,e),l=void 0,!Tg||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),o?l!==void 0?e.addEventListener(t,r,{capture:!0,passive:l}):e.addEventListener(t,r,!0):l!==void 0?e.addEventListener(t,r,{passive:l}):e.addEventListener(t,r,!1)}function Bp(e,t,r,o,l){var c=o;if((t&1)===0&&(t&2)===0&&o!==null)e:for(;;){if(o===null)return;var m=o.tag;if(m===3||m===4){var y=o.stateNode.containerInfo;if(y===l)break;if(m===4)for(m=o.return;m!==null;){var D=m.tag;if((D===3||D===4)&&m.stateNode.containerInfo===l)return;m=m.return}for(;y!==null;){if(m=de(y),m===null)return;if(D=m.tag,D===5||D===6||D===26||D===27){o=c=m;continue e}y=y.parentNode}}o=o.return}O0(function(){var E=c,B=om(r),H=[];e:{var _=WD.get(e);if(_!==void 0){var $=ud,ve=e;switch(e){case"keypress":if(Xc(r)===0)break e;case"keydown":case"keyup":$=s_;break;case"focusin":ve="focus",$=kg;break;case"focusout":ve="blur",$=kg;break;case"beforeblur":case"afterblur":$=kg;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":$=BD;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":$=QM;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":$=c_;break;case QD:case ZD:case JD:$=KM;break;case KD:$=d_;break;case"scroll":case"scrollend":$=$M;break;case"wheel":$=m_;break;case"copy":case"cut":case"paste":$=e_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":$=PD;break;case"toggle":case"beforetoggle":$=g_}var Ee=(t&4)!==0,bt=!Ee&&(e==="scroll"||e==="scrollend"),nt=Ee?_!==null?_+"Capture":null:_;Ee=[];for(var M=E,j;M!==null;){var L=M;if(j=L.stateNode,L=L.tag,L!==5&&L!==26&&L!==27||j===null||nt===null||(L=Ll(M,nt),L!=null&&Ee.push(ou(M,L,j))),bt)break;M=M.return}0<Ee.length&&(_=new $(_,ve,null,r,B),H.push({event:_,listeners:Ee}))}}if((t&7)===0){e:{if(_=e==="mouseover"||e==="pointerover",$=e==="mouseout"||e==="pointerout",_&&r!==yu&&(ve=r.relatedTarget||r.fromElement)&&(de(ve)||ve[_i]))break e;if(($||_)&&(_=B.window===B?B:(_=B.ownerDocument)?_.defaultView||_.parentWindow:window,$?(ve=r.relatedTarget||r.toElement,$=E,ve=ve?de(ve):null,ve!==null&&(bt=z(ve),Ee=ve.tag,ve!==bt||Ee!==5&&Ee!==27&&Ee!==6)&&(ve=null)):($=null,ve=E),$!==ve)){if(Ee=BD,L="onMouseLeave",nt="onMouseEnter",M="mouse",(e==="pointerout"||e==="pointerover")&&(Ee=PD,L="onPointerLeave",nt="onPointerEnter",M="pointer"),bt=$==null?_:ke($),j=ve==null?_:ke(ve),_=new Ee(L,M+"leave",$,r,B),_.target=bt,_.relatedTarget=j,L=null,de(B)===E&&(Ee=new Ee(nt,M+"enter",ve,r,B),Ee.target=j,Ee.relatedTarget=bt,L=Ee),bt=L,$&&ve)t:{for(Ee=MO,nt=$,M=ve,j=0,L=nt;L;L=Ee(L))j++;L=0;for(var te=M;te;te=Ee(te))L++;for(;0<j-L;)nt=Ee(nt),j--;for(;0<L-j;)M=Ee(M),L--;for(;j--;){if(nt===M||M!==null&&nt===M.alternate){Ee=nt;break t}nt=Ee(nt),M=Ee(M)}Ee=null}else Ee=null;$!==null&&SS(H,_,$,Ee,!1),ve!==null&&bt!==null&&SS(H,bt,ve,Ee,!0)}}e:{if(_=E?ke(E):window,$=_.nodeName&&_.nodeName.toLowerCase(),$==="select"||$==="input"&&_.type==="file")var Se=L0;else if(j0(_))if($D)Se=FR;else{Se=qR;var Be=PR}else $=_.nodeName,!$||$.toLowerCase()!=="input"||_.type!=="checkbox"&&_.type!=="radio"?E&&jl(E.elementType)&&(Se=L0):Se=IR;if(Se&&(Se=Se(e,E))){V0(H,Se,r,B);break e}Be&&Be(e,_,E),e==="focusout"&&E&&_.type==="number"&&E.memoizedProps.value!=null&&em(_,"number",_.value)}switch(Be=E?ke(E):window,e){case"focusin":(j0(Be)||Be.contentEditable==="true")&&(Bs=Be,Rg=E,Tu=null);break;case"focusout":Tu=Rg=Bs=null;break;case"mousedown":Og=!0;break;case"contextmenu":case"mouseup":case"dragend":Og=!1,Y0(H,r,B);break;case"selectionchange":if(x_)break;case"keydown":case"keyup":Y0(H,r,B)}var _e;if(Cg)e:{switch(e){case"compositionstart":var Ce="onCompositionStart";break e;case"compositionend":Ce="onCompositionEnd";break e;case"compositionupdate":Ce="onCompositionUpdate";break e}Ce=void 0}else Ls?z0(e,r)&&(Ce="onCompositionEnd"):e==="keydown"&&r.keyCode===qD&&(Ce="onCompositionStart");Ce&&(ID&&r.locale!=="ko"&&(Ls||Ce!=="onCompositionStart"?Ce==="onCompositionEnd"&&Ls&&(_e=M0()):(zi=B,Ag="value"in zi?zi.value:zi.textContent,Ls=!0)),Be=qf(E,Ce),0<Be.length&&(Ce=new HD(Ce,e,null,r,B),H.push({event:Ce,listeners:Be}),_e?Ce.data=_e:(_e=U0(r),_e!==null&&(Ce.data=_e)))),(_e=b_?VR(e,r):LR(e,r))&&(Ce=qf(E,"onBeforeInput"),0<Ce.length&&(Be=new n_("onBeforeInput","beforeinput",null,r,B),H.push({event:Be,listeners:Ce}),Be.data=_e)),OO(H,e,E,r,B)}vS(H,t)})}function ou(e,t,r){return{instance:e,listener:t,currentTarget:r}}function qf(e,t){for(var r=t+"Capture",o=[];e!==null;){var l=e,c=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||c===null||(l=Ll(e,r),l!=null&&o.unshift(ou(e,l,c)),l=Ll(e,t),l!=null&&o.push(ou(e,l,c))),e.tag===3)return o;e=e.return}return[]}function MO(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function SS(e,t,r,o,l){for(var c=t._reactName,m=[];r!==null&&r!==o;){var y=r,D=y.alternate,E=y.stateNode;if(y=y.tag,D!==null&&D===o)break;y!==5&&y!==26&&y!==27||E===null||(D=E,l?(E=Ll(r,c),E!=null&&m.unshift(ou(r,E,D))):l||(E=Ll(r,c),E!=null&&m.push(ou(r,E,D)))),r=r.return}m.length!==0&&e.push({event:t,listeners:m})}function Hp(e,t){_R(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||VD||(VD=!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 r={registrationNameDependencies:ko,possibleRegistrationNames:xg};jl(e)||typeof t.is=="string"||UR(e,t,r),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 on(e,t,r,o){t!==r&&(r=ki(r),ki(t)!==r&&(o[e]=t))}function _O(e,t,r){t.forEach(function(o){r[TS(o)]=o==="style"?qp(e):e.getAttribute(o)})}function va(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 DS(e,t){return e=e.namespaceURI===od||e.namespaceURI===zs?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function ki(e){return Ba(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.",Hr(e)),Pr(e)),(typeof e=="string"?e:""+e).replace($_,`
|
|
181
|
+
`).replace(X_,"")}function ES(e,t){return t=ki(t),ki(e)===t}function mt(e,t,r,o,l,c){switch(r){case"children":typeof o=="string"?($c(o,t,!1),t==="body"||t==="textarea"&&o===""||Ul(e,o)):(typeof o=="number"||typeof o=="bigint")&&($c(""+o,t,!1),t!=="body"&&Ul(e,""+o));break;case"className":Fc(e,"class",o);break;case"tabIndex":Fc(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Fc(e,r,o);break;case"style":k0(e,o,c);break;case"data":if(t!=="object"){Fc(e,"data",o);break}case"src":case"href":if(o===""&&(t!=="a"||r!=="href")){console.error(r==="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.',r,r),e.removeAttribute(r);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(r);break}lt(o,r),o=Vl(""+o),e.setAttribute(r,o);break;case"action":case"formAction":if(o!=null&&(t==="form"?r==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof o=="function"&&(l.encType==null&&l.method==null||Xd||(Xd=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),l.target==null||$d||($d=!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"?r==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||l.type==="submit"||l.type==="image"||Gd?t!=="button"||l.type==null||l.type==="submit"||Gd?typeof o=="function"&&(l.name==null||DT||(DT=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),l.formEncType==null&&l.formMethod==null||Xd||(Xd=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),l.formTarget==null||$d||($d=!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."))):(Gd=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(Gd=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(r==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof o=="function"){e.setAttribute(r,"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 c=="function"&&(r==="formAction"?(t!=="input"&&mt(e,t,"name",l.name,l,null),mt(e,t,"formEncType",l.formEncType,l,null),mt(e,t,"formMethod",l.formMethod,l,null),mt(e,t,"formTarget",l.formTarget,l,null)):(mt(e,t,"encType",l.encType,l,null),mt(e,t,"method",l.method,l,null),mt(e,t,"target",l.target,l,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(r);break}lt(o,r),o=Vl(""+o),e.setAttribute(r,o);break;case"onClick":o!=null&&(typeof o!="function"&&va(r,o),e.onclick=qa);break;case"onScroll":o!=null&&(typeof o!="function"&&va(r,o),et("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&va(r,o),et("scrollend",e));break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(r=o.__html,r!=null){if(l.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=r}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}lt(o,r),r=Vl(""+o),e.setAttributeNS(Go,"xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?(lt(o,r),e.setAttribute(r,""+o)):e.removeAttribute(r);break;case"inert":o!==""||Qd[r]||(Qd[r]=!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.",r));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":o===!0?e.setAttribute(r,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?(lt(o,r),e.setAttribute(r,o)):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?(lt(o,r),e.setAttribute(r,o)):e.removeAttribute(r);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(r):(lt(o,r),e.setAttribute(r,o));break;case"popover":et("beforetoggle",e),et("toggle",e),cs(e,"popover",o);break;case"xlinkActuate":Pa(e,Go,"xlink:actuate",o);break;case"xlinkArcrole":Pa(e,Go,"xlink:arcrole",o);break;case"xlinkRole":Pa(e,Go,"xlink:role",o);break;case"xlinkShow":Pa(e,Go,"xlink:show",o);break;case"xlinkTitle":Pa(e,Go,"xlink:title",o);break;case"xlinkType":Pa(e,Go,"xlink:type",o);break;case"xmlBase":Pa(e,Ty,"xml:base",o);break;case"xmlLang":Pa(e,Ty,"xml:lang",o);break;case"xmlSpace":Pa(e,Ty,"xml:space",o);break;case"is":c!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),cs(e,"is",o);break;case"innerText":case"textContent":break;case"popoverTarget":ET||o==null||typeof o!="object"||(ET=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",o));default:!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N"?(r=C0(r),cs(e,r,o)):ko.hasOwnProperty(r)&&o!=null&&typeof o!="function"&&va(r,o)}}function Pp(e,t,r,o,l,c){switch(r){case"style":k0(e,o,c);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(r=o.__html,r!=null){if(l.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=r}}break;case"children":typeof o=="string"?Ul(e,o):(typeof o=="number"||typeof o=="bigint")&&Ul(e,""+o);break;case"onScroll":o!=null&&(typeof o!="function"&&va(r,o),et("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&va(r,o),et("scrollend",e));break;case"onClick":o!=null&&(typeof o!="function"&&va(r,o),e.onclick=qa);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(ko.hasOwnProperty(r))o!=null&&typeof o!="function"&&va(r,o);else e:{if(r[0]==="o"&&r[1]==="n"&&(l=r.endsWith("Capture"),t=r.slice(2,l?r.length-7:void 0),c=e[On]||null,c=c!=null?c[r]:null,typeof c=="function"&&e.removeEventListener(t,c,l),typeof o=="function")){typeof c!="function"&&c!==null&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(t,o,l);break e}r in e?e[r]=o:o===!0?e.setAttribute(r,""):cs(e,r,o)}}}function hn(e,t,r){switch(Hp(t,r),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":et("error",e),et("load",e);var o=!1,l=!1,c;for(c in r)if(r.hasOwnProperty(c)){var m=r[c];if(m!=null)switch(c){case"src":o=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mt(e,t,c,m,r,null)}}l&&mt(e,t,"srcSet",r.srcSet,r,null),o&&mt(e,t,"src",r.src,r,null);return;case"input":kn("input",r),et("invalid",e);var y=c=m=l=null,D=null,E=null;for(o in r)if(r.hasOwnProperty(o)){var B=r[o];if(B!=null)switch(o){case"name":l=B;break;case"type":m=B;break;case"checked":D=B;break;case"defaultChecked":E=B;break;case"value":c=B;break;case"defaultValue":y=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mt(e,t,o,B,r,null)}}d0(e,r),h0(e,c,y,D,E,m,l,!1);return;case"select":kn("select",r),et("invalid",e),o=m=c=null;for(l in r)if(r.hasOwnProperty(l)&&(y=r[l],y!=null))switch(l){case"value":c=y;break;case"defaultValue":m=y;break;case"multiple":o=y;default:mt(e,t,l,y,r,null)}g0(e,r),t=c,r=m,e.multiple=!!o,t!=null?fs(e,!!o,t,!1):r!=null&&fs(e,!!o,r,!0);return;case"textarea":kn("textarea",r),et("invalid",e),c=l=o=null;for(m in r)if(r.hasOwnProperty(m)&&(y=r[m],y!=null))switch(m){case"value":o=y;break;case"defaultValue":l=y;break;case"children":c=y;break;case"dangerouslySetInnerHTML":if(y!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:mt(e,t,m,y,r,null)}y0(e,r),v0(e,o,l,c);return;case"option":m0(e,r);for(D in r)r.hasOwnProperty(D)&&(o=r[D],o!=null)&&(D==="selected"?e.selected=o&&typeof o!="function"&&typeof o!="symbol":mt(e,t,D,o,r,null));return;case"dialog":et("beforetoggle",e),et("toggle",e),et("cancel",e),et("close",e);break;case"iframe":case"object":et("load",e);break;case"video":case"audio":for(o=0;o<ec.length;o++)et(ec[o],e);break;case"image":et("error",e),et("load",e);break;case"details":et("toggle",e);break;case"embed":case"source":case"link":et("error",e),et("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(E in r)if(r.hasOwnProperty(E)&&(o=r[E],o!=null))switch(E){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mt(e,t,E,o,r,null)}return;default:if(jl(t)){for(B in r)r.hasOwnProperty(B)&&(o=r[B],o!==void 0&&Pp(e,t,B,o,r,void 0));return}}for(y in r)r.hasOwnProperty(y)&&(o=r[y],o!=null&&mt(e,t,y,o,r,null))}function zO(e,t,r,o){switch(Hp(t,o),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var l=null,c=null,m=null,y=null,D=null,E=null,B=null;for($ in r){var H=r[$];if(r.hasOwnProperty($)&&H!=null)switch($){case"checked":break;case"value":break;case"defaultValue":D=H;default:o.hasOwnProperty($)||mt(e,t,$,null,o,H)}}for(var _ in o){var $=o[_];if(H=r[_],o.hasOwnProperty(_)&&($!=null||H!=null))switch(_){case"type":c=$;break;case"name":l=$;break;case"checked":E=$;break;case"defaultChecked":B=$;break;case"value":m=$;break;case"defaultValue":y=$;break;case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:$!==H&&mt(e,t,_,$,o,H)}}t=r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null,o=o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null,t||!o||ST||(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"),ST=!0),!t||o||xT||(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"),xT=!0),Wh(e,m,y,D,E,B,c,l);return;case"select":$=m=y=_=null;for(c in r)if(D=r[c],r.hasOwnProperty(c)&&D!=null)switch(c){case"value":break;case"multiple":$=D;default:o.hasOwnProperty(c)||mt(e,t,c,null,o,D)}for(l in o)if(c=o[l],D=r[l],o.hasOwnProperty(l)&&(c!=null||D!=null))switch(l){case"value":_=c;break;case"defaultValue":y=c;break;case"multiple":m=c;default:c!==D&&mt(e,t,l,c,o,D)}o=y,t=m,r=$,_!=null?fs(e,!!t,_,!1):!!r!=!!t&&(o!=null?fs(e,!!t,o,!0):fs(e,!!t,t?[]:"",!1));return;case"textarea":$=_=null;for(y in r)if(l=r[y],r.hasOwnProperty(y)&&l!=null&&!o.hasOwnProperty(y))switch(y){case"value":break;case"children":break;default:mt(e,t,y,null,o,l)}for(m in o)if(l=o[m],c=r[m],o.hasOwnProperty(m)&&(l!=null||c!=null))switch(m){case"value":_=l;break;case"defaultValue":$=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:l!==c&&mt(e,t,m,l,o,c)}b0(e,_,$);return;case"option":for(var ve in r)_=r[ve],r.hasOwnProperty(ve)&&_!=null&&!o.hasOwnProperty(ve)&&(ve==="selected"?e.selected=!1:mt(e,t,ve,null,o,_));for(D in o)_=o[D],$=r[D],o.hasOwnProperty(D)&&_!==$&&(_!=null||$!=null)&&(D==="selected"?e.selected=_&&typeof _!="function"&&typeof _!="symbol":mt(e,t,D,_,o,$));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 Ee in r)_=r[Ee],r.hasOwnProperty(Ee)&&_!=null&&!o.hasOwnProperty(Ee)&&mt(e,t,Ee,null,o,_);for(E in o)if(_=o[E],$=r[E],o.hasOwnProperty(E)&&_!==$&&(_!=null||$!=null))switch(E){case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mt(e,t,E,_,o,$)}return;default:if(jl(t)){for(var bt in r)_=r[bt],r.hasOwnProperty(bt)&&_!==void 0&&!o.hasOwnProperty(bt)&&Pp(e,t,bt,void 0,o,_);for(B in o)_=o[B],$=r[B],!o.hasOwnProperty(B)||_===$||_===void 0&&$===void 0||Pp(e,t,B,_,o,$);return}}for(var nt in r)_=r[nt],r.hasOwnProperty(nt)&&_!=null&&!o.hasOwnProperty(nt)&&mt(e,t,nt,null,o,_);for(H in o)_=o[H],$=r[H],!o.hasOwnProperty(H)||_===$||_==null&&$==null||mt(e,t,H,_,o,$)}function TS(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function qp(e){var t={};e=e.style;for(var r=0;r<e.length;r++){var o=e[r];t[o]=e.getPropertyValue(o)}return t}function AS(e,t,r){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var o,l=o="",c;for(c in t)if(t.hasOwnProperty(c)){var m=t[c];m!=null&&typeof m!="boolean"&&m!==""&&(c.indexOf("--")===0?(Wt(m,c),o+=l+c+":"+(""+m).trim()):typeof m!="number"||m===0||UD.has(c)?(Wt(m,c),o+=l+c.replace(RD,"-$1").toLowerCase().replace(OD,"-ms-")+":"+(""+m).trim()):o+=l+c.replace(RD,"-$1").toLowerCase().replace(OD,"-ms-")+":"+m+"px",l=";")}o=o||null,t=e.getAttribute("style"),t!==o&&(o=ki(o),ki(t)!==o&&(r.style=qp(e)))}}function xr(e,t,r,o,l,c){if(l.delete(r),e=e.getAttribute(r),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(lt(o,t),e===""+o)return}on(t,e,o,c)}function wS(e,t,r,o,l,c){if(l.delete(r),e=e.getAttribute(r),e===null){switch(typeof o){case"function":case"symbol":return}if(!o)return}else switch(typeof o){case"function":case"symbol":break;default:if(o)return}on(t,e,o,c)}function Ip(e,t,r,o,l,c){if(l.delete(r),e=e.getAttribute(r),e===null)switch(typeof o){case"undefined":case"function":case"symbol":return}else if(o!=null)switch(typeof o){case"function":case"symbol":break;default:if(lt(o,r),e===""+o)return}on(t,e,o,c)}function NS(e,t,r,o,l,c){if(l.delete(r),e=e.getAttribute(r),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(o))return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(!isNaN(o)&&(lt(o,t),e===""+o))return}on(t,e,o,c)}function Fp(e,t,r,o,l,c){if(l.delete(r),e=e.getAttribute(r),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(lt(o,t),r=Vl(""+o),e===r)return}on(t,e,o,c)}function kS(e,t,r,o){for(var l={},c=new Set,m=e.attributes,y=0;y<m.length;y++)switch(m[y].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:c.add(m[y].name)}if(jl(t)){for(var D in r)if(r.hasOwnProperty(D)){var E=r[D];if(E!=null){if(ko.hasOwnProperty(D))typeof E!="function"&&va(D,E);else if(r.suppressHydrationWarning!==!0)switch(D){case"children":typeof E!="string"&&typeof E!="number"||on("children",e.textContent,E,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":m=e.innerHTML,E=E?E.__html:void 0,E!=null&&(E=DS(e,E),on(D,m,E,l));continue;case"style":c.delete(D),AS(e,E,l);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":c.delete(D.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",D);continue;case"className":c.delete("class"),m=Ic(e,"class",E),on("className",m,E,l);continue;default:o.context===fi&&t!=="svg"&&t!=="math"?c.delete(D.toLowerCase()):c.delete(D),m=Ic(e,D,E),on(D,m,E,l)}}}}else for(E in r)if(r.hasOwnProperty(E)&&(D=r[E],D!=null)){if(ko.hasOwnProperty(E))typeof D!="function"&&va(E,D);else if(r.suppressHydrationWarning!==!0)switch(E){case"children":typeof D!="string"&&typeof D!="number"||on("children",e.textContent,D,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":m=e.innerHTML,D=D?D.__html:void 0,D!=null&&(D=DS(e,D),m!==D&&(l[E]={__html:m}));continue;case"className":xr(e,E,"class",D,c,l);continue;case"tabIndex":xr(e,E,"tabindex",D,c,l);continue;case"style":c.delete(E),AS(e,D,l);continue;case"multiple":c.delete(E),on(E,e.multiple,D,l);continue;case"muted":c.delete(E),on(E,e.muted,D,l);continue;case"autoFocus":c.delete("autofocus"),on(E,e.autofocus,D,l);continue;case"data":if(t!=="object"){c.delete(E),m=e.getAttribute("data"),on(E,m,D,l);continue}case"src":case"href":if(!(D!==""||t==="a"&&E==="href"||t==="object"&&E==="data")){console.error(E==="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.',E,E);continue}Fp(e,E,E,D,c,l);continue;case"action":case"formAction":if(m=e.getAttribute(E),typeof D=="function"){c.delete(E.toLowerCase()),E==="formAction"?(c.delete("name"),c.delete("formenctype"),c.delete("formmethod"),c.delete("formtarget")):(c.delete("enctype"),c.delete("method"),c.delete("target"));continue}else if(m===Q_){c.delete(E.toLowerCase()),on(E,"function",D,l);continue}Fp(e,E,E.toLowerCase(),D,c,l);continue;case"xlinkHref":Fp(e,E,"xlink:href",D,c,l);continue;case"contentEditable":Ip(e,E,"contenteditable",D,c,l);continue;case"spellCheck":Ip(e,E,"spellcheck",D,c,l);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Ip(e,E,E,D,c,l);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":wS(e,E,E.toLowerCase(),D,c,l);continue;case"capture":case"download":e:{y=e;var B=m=E,H=l;if(c.delete(B),y=y.getAttribute(B),y===null)switch(typeof D){case"undefined":case"function":case"symbol":break e;default:if(D===!1)break e}else if(D!=null)switch(typeof D){case"function":case"symbol":break;case"boolean":if(D===!0&&y==="")break e;break;default:if(lt(D,m),y===""+D)break e}on(m,y,D,H)}continue;case"cols":case"rows":case"size":case"span":e:{if(y=e,B=m=E,H=l,c.delete(B),y=y.getAttribute(B),y===null)switch(typeof D){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(D)||1>D)break e}else if(D!=null)switch(typeof D){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(D)||1>D)&&(lt(D,m),y===""+D))break e}on(m,y,D,H)}continue;case"rowSpan":NS(e,E,"rowspan",D,c,l);continue;case"start":NS(e,E,E,D,c,l);continue;case"xHeight":xr(e,E,"x-height",D,c,l);continue;case"xlinkActuate":xr(e,E,"xlink:actuate",D,c,l);continue;case"xlinkArcrole":xr(e,E,"xlink:arcrole",D,c,l);continue;case"xlinkRole":xr(e,E,"xlink:role",D,c,l);continue;case"xlinkShow":xr(e,E,"xlink:show",D,c,l);continue;case"xlinkTitle":xr(e,E,"xlink:title",D,c,l);continue;case"xlinkType":xr(e,E,"xlink:type",D,c,l);continue;case"xmlBase":xr(e,E,"xml:base",D,c,l);continue;case"xmlLang":xr(e,E,"xml:lang",D,c,l);continue;case"xmlSpace":xr(e,E,"xml:space",D,c,l);continue;case"inert":D!==""||Qd[E]||(Qd[E]=!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.",E)),wS(e,E,E,D,c,l);continue;default:if(!(2<E.length)||E[0]!=="o"&&E[0]!=="O"||E[1]!=="n"&&E[1]!=="N"){y=C0(E),m=!1,o.context===fi&&t!=="svg"&&t!=="math"?c.delete(y.toLowerCase()):(B=E.toLowerCase(),B=sd.hasOwnProperty(B)&&sd[B]||null,B!==null&&B!==E&&(m=!0,c.delete(B)),c.delete(y));e:if(B=e,H=y,y=D,ra(H))if(B.hasAttribute(H))B=B.getAttribute(H),lt(y,H),y=B===""+y?y:B;else{switch(typeof y){case"function":case"symbol":break e;case"boolean":if(B=H.toLowerCase().slice(0,5),B!=="data-"&&B!=="aria-")break e}y=y===void 0?void 0:null}else y=void 0;m||on(E,y,D,l)}}}return 0<c.size&&r.suppressHydrationWarning!==!0&&_O(e,c,l),Object.keys(l).length===0?null:l}function UO(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 CS(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function jO(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,r=performance.getEntriesByType("resource"),o=0;o<r.length;o++){var l=r[o],c=l.transferSize,m=l.initiatorType,y=l.duration;if(c&&y&&CS(m)){for(m=0,y=l.responseEnd,o+=1;o<r.length;o++){var D=r[o],E=D.startTime;if(E>y)break;var B=D.transferSize,H=D.initiatorType;B&&CS(H)&&(D=D.responseEnd,m+=B*(D<y?1:(y-E)/(D-E)))}if(--o,t+=8*(c+m)/(l.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}function If(e){return e.nodeType===9?e:e.ownerDocument}function RS(e){switch(e){case zs:return cl;case od:return Jd;default:return fi}}function OS(e,t){if(e===fi)switch(t){case"svg":return cl;case"math":return Jd;default:return fi}return e===cl&&t==="foreignObject"?fi:e}function Yp(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 VO(){var e=window.event;return e&&e.type==="popstate"?e===ky?!1:(ky=e,!0):(ky=null,!1)}function su(){var e=window.event;return e&&e!==rc?e.type:null}function lu(){var e=window.event;return e&&e!==rc?e.timeStamp:-1.1}function LO(e){setTimeout(function(){throw e})}function BO(e,t,r){switch(t){case"button":case"input":case"select":case"textarea":r.autoFocus&&e.focus();break;case"img":r.src?e.src=r.src:r.srcSet&&(e.srcset=r.srcSet)}}function HO(){}function PO(e,t,r,o){zO(e,t,r,o),e[On]=o}function MS(e){Ul(e,"")}function qO(e,t,r){e.nodeValue=r}function _S(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[On]||null;if(t!==null){var r=be(e);r!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,De(r,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,De(r,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function Ci(e){return e==="head"}function IO(e,t){e.removeChild(t)}function FO(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function zS(e,t){var r=t,o=0;do{var l=r.nextSibling;if(e.removeChild(r),l&&l.nodeType===8)if(r=l.data,r===nc||r===Zd){if(o===0){e.removeChild(l),ks(t);return}o--}else if(r===tc||r===Ki||r===Xo||r===ul||r===$o)o++;else if(r===J_)uu(e.ownerDocument.documentElement);else if(r===W_){r=e.ownerDocument.head,uu(r);for(var c=r.firstChild;c;){var m=c.nextSibling,y=c.nodeName;c[gu]||y==="SCRIPT"||y==="STYLE"||y==="LINK"&&c.rel.toLowerCase()==="stylesheet"||r.removeChild(c),c=m}}else r===K_&&uu(e.ownerDocument.body);r=l}while(r);ks(t)}function US(e,t){var r=e;e=0;do{var o=r.nextSibling;if(r.nodeType===1?t?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(t?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),o&&o.nodeType===8)if(r=o.data,r===nc){if(e===0)break;e--}else r!==tc&&r!==Ki&&r!==Xo&&r!==ul||e++;r=o}while(r)}function YO(e){US(e,!0)}function GO(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function $O(e){e.nodeValue=""}function XO(e){US(e,!1)}function QO(e,t){t=t[ez],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function ZO(e,t){e.nodeValue=t}function Gp(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var r=t;switch(t=t.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Gp(r),q(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}e.removeChild(r)}}function JO(e,t,r,o){for(;e.nodeType===1;){var l=r;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[gu])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==l.rel||e.getAttribute("href")!==(l.href==null||l.href===""?null:l.href)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||e.getAttribute("title")!==(l.title==null?null:l.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(l.src==null?null:l.src)||e.getAttribute("type")!==(l.type==null?null:l.type)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){lt(l.name,"name");var c=l.name==null?null:""+l.name;if(l.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=or(e.nextSibling),e===null)break}return null}function KO(e,t,r){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r||(e=or(e.nextSibling),e===null))return null;return e}function jS(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=or(e.nextSibling),e===null))return null;return e}function $p(e){return e.data===Ki||e.data===Xo}function Xp(e){return e.data===ul||e.data===Ki&&e.ownerDocument.readyState!==AT}function WO(e,t){var r=e.ownerDocument;if(e.data===Xo)e._reactRetry=t;else if(e.data!==Ki||r.readyState!==AT)t();else{var o=function(){t(),r.removeEventListener("DOMContentLoaded",o)};r.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function or(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===tc||t===ul||t===Ki||t===Xo||t===$o||t===Ay||t===TT)break;if(t===nc||t===Zd)return null}}return e}function VS(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),r={},o=e.attributes,l=0;l<o.length;l++){var c=o[l];r[TS(c.name)]=c.name.toLowerCase()==="style"?qp(e):c.value}return{type:t,props:r}}return e.nodeType===8?e.data===$o?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function LS(e,t,r){return r===null||r[Z_]!==!0?(e.nodeValue===t?e=null:(t=ki(t),e=ki(e.nodeValue)===t?null:e.nodeValue),e):null}function Qp(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r===nc||r===Zd){if(t===0)return or(e.nextSibling);t--}else r!==tc&&r!==ul&&r!==Ki&&r!==Xo&&r!==$o||t++}e=e.nextSibling}return null}function BS(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r===tc||r===ul||r===Ki||r===Xo||r===$o){if(t===0)return e;t--}else r!==nc&&r!==Zd||t++}e=e.previousSibling}return null}function eM(e){ks(e)}function tM(e){ks(e)}function nM(e){ks(e)}function HS(e,t,r,o,l){switch(l&&im(e,o.ancestorInfo),t=If(r),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 rM(e,t,r,o){if(!r[_i]&&be(r)){var l=r.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",l,l,l)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(l=r.attributes;l.length;)r.removeAttributeNode(l[0]);hn(r,e,t),r[mn]=o,r[On]=t}function uu(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);q(e)}function Ff(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function PS(e,t,r){var o=fl;if(o&&typeof t=="string"&&t){var l=vr(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof r=="string"&&(l+='[crossorigin="'+r+'"]'),OT.has(l)||(OT.add(l),e={rel:e,crossOrigin:r,href:t},o.querySelector(l)===null&&(t=o.createElement("link"),hn(t,"link",e),Oe(t),o.head.appendChild(t)))}}function qS(e,t,r,o){var l=(l=Oi.current)?Ff(l):null;if(!l)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(r=ws(r.href),t=Pe(l).hoistableStyles,o=t.get(r),o||(o={type:"style",instance:null,count:0,state:null},t.set(r,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=ws(r.href);var c=Pe(l).hoistableStyles,m=c.get(e);if(!m&&(l=l.ownerDocument||l,m={type:"stylesheet",instance:null,count:0,state:{loading:Zo,preload:null}},c.set(e,m),(c=l.querySelector(cu(e)))&&!c._p&&(m.instance=c,m.state.loading=ac|Mr),!_r.has(e))){var y={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy};_r.set(e,y),c||aM(l,e,y,m.state)}if(t&&o===null)throw r=`
|
|
182
|
+
|
|
183
|
+
- `+Yf(t)+`
|
|
184
|
+
+ `+Yf(r),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."+r);return m}if(t&&o!==null)throw r=`
|
|
185
|
+
|
|
186
|
+
- `+Yf(t)+`
|
|
187
|
+
+ `+Yf(r),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."+r);return null;case"script":return t=r.async,r=r.src,typeof r=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(r=Ns(r),t=Pe(l).hoistableScripts,o=t.get(r),o||(o={type:"script",instance:null,count:0,state:null},t.set(r,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Yf(e){var t=0,r="<link";return typeof e.rel=="string"?(t++,r+=' rel="'+e.rel+'"'):Gr.call(e,"rel")&&(t++,r+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,r+=' href="'+e.href+'"'):Gr.call(e,"href")&&(t++,r+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,r+=' precedence="'+e.precedence+'"'):Gr.call(e,"precedence")&&(t++,r+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(r+=" ..."),r+" />"}function ws(e){return'href="'+vr(e)+'"'}function cu(e){return'link[rel="stylesheet"]['+e+"]"}function IS(e){return Je({},e,{"data-precedence":e.precedence,precedence:null})}function aM(e,t,r,o){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?o.loading=ac:(t=e.createElement("link"),o.preload=t,t.addEventListener("load",function(){return o.loading|=ac}),t.addEventListener("error",function(){return o.loading|=CT}),hn(t,"link",r),Oe(t),e.head.appendChild(t))}function Ns(e){return'[src="'+vr(e)+'"]'}function fu(e){return"script[async]"+e}function FS(e,t,r){if(t.count++,t.instance===null)switch(t.type){case"style":var o=e.querySelector('style[data-href~="'+vr(r.href)+'"]');if(o)return t.instance=o,Oe(o),o;var l=Je({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),Oe(o),hn(o,"style",l),Gf(o,r.precedence,e),t.instance=o;case"stylesheet":l=ws(r.href);var c=e.querySelector(cu(l));if(c)return t.state.loading|=Mr,t.instance=c,Oe(c),c;o=IS(r),(l=_r.get(l))&&Zp(o,l),c=(e.ownerDocument||e).createElement("link"),Oe(c);var m=c;return m._p=new Promise(function(y,D){m.onload=y,m.onerror=D}),hn(c,"link",o),t.state.loading|=Mr,Gf(c,r.precedence,e),t.instance=c;case"script":return c=Ns(r.src),(l=e.querySelector(fu(c)))?(t.instance=l,Oe(l),l):(o=r,(l=_r.get(c))&&(o=Je({},r),Jp(o,l)),e=e.ownerDocument||e,l=e.createElement("script"),Oe(l),hn(l,"link",o),e.head.appendChild(l),t.instance=l);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&Mr)===Zo&&(o=t.instance,t.state.loading|=Mr,Gf(o,r.precedence,e));return t.instance}function Gf(e,t,r){for(var o=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=o.length?o[o.length-1]:null,c=l,m=0;m<o.length;m++){var y=o[m];if(y.dataset.precedence===t)c=y;else if(c!==l)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=r.nodeType===9?r.head:r,t.insertBefore(e,t.firstChild))}function Zp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Jp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function YS(e,t,r){if(Kd===null){var o=new Map,l=Kd=new Map;l.set(r,o)}else l=Kd,o=l.get(r),o||(o=new Map,l.set(r,o));if(o.has(e))return o;for(o.set(e,null),r=r.getElementsByTagName(e),l=0;l<r.length;l++){var c=r[l];if(!(c[gu]||c[mn]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!==zs){var m=c.getAttribute(t)||"";m=e+m;var y=o.get(m);y?y.push(c):o.set(m,[c])}}return o}function GS(e,t,r){e=e.ownerDocument||e,e.head.insertBefore(r,t==="title"?e.querySelector("head > title"):null)}function iM(e,t,r){var o=!r.ancestorInfo.containerTagInScope;if(r.context===cl||t.itemProp!=null)return!o||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){o&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var l=t.onError,c=t.disabled;r=[],t.onLoad&&r.push("`onLoad`"),l&&r.push("`onError`"),c!=null&&r.push("`disabled`"),l=UO(r,"and"),l+=r.length===1?" prop":" props",c=r.length===1?"an "+l:"the "+l,r.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,c,l)}o&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}return t.rel==="stylesheet"?(e=t.precedence,t=t.disabled,typeof e!="string"&&o&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null):!0;case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){o&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":o&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function $S(e){return!(e.type==="stylesheet"&&(e.state.loading&RT)===Zo)}function oM(e,t,r,o){if(r.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(r.state.loading&Mr)===Zo){if(r.instance===null){var l=ws(o.href),c=t.querySelector(cu(l));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=$f.bind(e),t.then(e,e)),r.state.loading|=Mr,r.instance=c,Oe(c);return}c=t.ownerDocument||t,o=IS(o),(l=_r.get(l))&&Zp(o,l),c=c.createElement("link"),Oe(c);var m=c;m._p=new Promise(function(y,D){m.onload=y,m.onerror=D}),hn(c,"link",o),r.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(r,t),(t=r.state.preload)&&(r.state.loading&RT)===Zo&&(e.count++,r=$f.bind(e),t.addEventListener("load",r),t.addEventListener("error",r))}}function sM(e,t){return e.stylesheets&&e.count===0&&Xf(e,e.stylesheets),0<e.count||0<e.imgCount?function(r){var o=setTimeout(function(){if(e.stylesheets&&Xf(e,e.stylesheets),e.unsuspend){var c=e.unsuspend;e.unsuspend=null,c()}},rz+t);0<e.imgBytes&&Ry===0&&(Ry=125*jO()*iz);var l=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Xf(e,e.stylesheets),e.unsuspend)){var c=e.unsuspend;e.unsuspend=null,c()}},(e.imgBytes>Ry?50:az)+t);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(l)}}:null}function $f(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Xf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Wd=new Map,t.forEach(lM,e),Wd=null,$f.call(e))}function lM(e,t){if(!(t.state.loading&Mr)){var r=Wd.get(e);if(r)var o=r.get(Oy);else{r=new Map,Wd.set(e,r);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<l.length;c++){var m=l[c];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(r.set(m.dataset.precedence,m),o=m)}o&&r.set(Oy,o)}l=t.instance,m=l.getAttribute("data-precedence"),c=r.get(m)||o,c===o&&r.set(Oy,l),r.set(m,l),this.count++,o=$f.bind(this),l.addEventListener("load",o),l.addEventListener("error",o),c?c.parentNode.insertBefore(l,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(l,e.firstChild)),t.state.loading|=Mr}}function uM(e,t,r,o,l,c,m,y,D){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Qo,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ee(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ee(0),this.hiddenUpdates=ee(null),this.identifierPrefix=o,this.onUncaughtError=l,this.onCaughtError=c,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=D,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=r?"hydrateRoot()":"createRoot()"}function XS(e,t,r,o,l,c,m,y,D,E,B,H){return e=new uM(e,t,r,m,D,E,B,H,y),t=C_,c===!0&&(t|=xn|$r),t|=Ye,c=x(3,null,null,t),e.current=c,c.stateNode=e,t=Am(),So(t),e.pooledCache=t,So(t),c.memoizedState={element:o,isDehydrated:r,cache:t},Rm(c),e}function QS(e){return e?(e=Vi,e):Vi}function Kp(e,t,r,o,l,c){if(vn&&typeof vn.onScheduleFiberRoot=="function")try{vn.onScheduleFiberRoot(Ms,o,r)}catch(m){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %o",m))}l=QS(l),o.context===null?o.context=l:o.pendingContext=l,Da&&lr!==null&&!UT&&(UT=!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.
|
|
188
|
+
|
|
189
|
+
Check the render method of %s.`,F(lr)||"Unknown")),o=Di(t),o.payload={element:r},c=c===void 0?null:c,c!==null&&(typeof c!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",c),o.callback=c),r=Ei(e,o,t),r!==null&&(sa(t,"root.render()",null),Ot(r,e,t),Yl(r,e,t))}function ZS(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function Wp(e,t){ZS(e,t),(e=e.alternate)&&ZS(e,t)}function JS(e){if(e.tag===13||e.tag===31){var t=bn(e,67108864);t!==null&&Ot(t,e,67108864),Wp(e,67108864)}}function KS(e){if(e.tag===13||e.tag===31){var t=ir(e);t=an(t);var r=bn(e,t);r!==null&&Ot(r,e,t),Wp(e,t)}}function cM(){return lr}function fM(e,t,r,o){var l=J.T;J.T=null;var c=ft.p;try{ft.p=Sr,eg(e,t,r,o)}finally{ft.p=c,J.T=l}}function dM(e,t,r,o){var l=J.T;J.T=null;var c=ft.p;try{ft.p=Aa,eg(e,t,r,o)}finally{ft.p=c,J.T=l}}function eg(e,t,r,o){if(th){var l=tg(o);if(l===null)Bp(e,t,o,nh,r),eD(e,o);else if(hM(l,e,t,r,o))o.stopPropagation();else if(eD(e,o),t&4&&-1<sz.indexOf(e)){for(;l!==null;){var c=be(l);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var m=gr(c.pendingLanes);if(m!==0){var y=c;for(y.pendingLanes|=2,y.entangledLanes|=2;m;){var D=1<<31-Rn(m);y.entanglements[1]|=D,m&=~D}ba(c),(st&(nn|dr))===cn&&(Ld=sn()+uT,iu(0))}}break;case 31:case 13:y=bn(c,2),y!==null&&Ot(y,c,2),Es(),Wp(c,2)}if(c=tg(o),c===null&&Bp(e,t,o,nh,r),c===l)break;l=c}l!==null&&o.stopPropagation()}else Bp(e,t,o,null,r)}}function tg(e){return e=om(e),ng(e)}function ng(e){if(nh=null,e=de(e),e!==null){var t=z(e);if(t===null)e=null;else{var r=t.tag;if(r===13){if(e=X(t),e!==null)return e;e=null}else if(r===31){if(e=I(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return nh=e,null}function WS(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 Sr;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 Aa;case"message":switch(EM()){case gg:return Sr;case yg:return Aa;case Os:case TM:return Ja;case bg:return ad;default:return Ja}default:return Ja}}function eD(e,t){switch(e){case"focusin":case"focusout":Wi=null;break;case"dragenter":case"dragleave":eo=null;break;case"mouseover":case"mouseout":to=null;break;case"pointerover":case"pointerout":oc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":sc.delete(t.pointerId)}}function du(e,t,r,o,l,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:r,eventSystemFlags:o,nativeEvent:c,targetContainers:[l]},t!==null&&(t=be(t),t!==null&&JS(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function hM(e,t,r,o,l){switch(t){case"focusin":return Wi=du(Wi,e,t,r,o,l),!0;case"dragenter":return eo=du(eo,e,t,r,o,l),!0;case"mouseover":return to=du(to,e,t,r,o,l),!0;case"pointerover":var c=l.pointerId;return oc.set(c,du(oc.get(c)||null,e,t,r,o,l)),!0;case"gotpointercapture":return c=l.pointerId,sc.set(c,du(sc.get(c)||null,e,t,r,o,l)),!0}return!1}function tD(e){var t=de(e.target);if(t!==null){var r=z(t);if(r!==null){if(t=r.tag,t===13){if(t=X(r),t!==null){e.blockedOn=t,T(e.priority,function(){KS(r)});return}}else if(t===31){if(t=I(r),t!==null){e.blockedOn=t,T(e.priority,function(){KS(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Qf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=tg(e.nativeEvent);if(r===null){r=e.nativeEvent;var o=new r.constructor(r.type,r),l=o;yu!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),yu=l,r.target.dispatchEvent(o),yu===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."),yu=null}else return t=be(r),t!==null&&JS(t),e.blockedOn=r,!1;t.shift()}return!0}function nD(e,t,r){Qf(e)&&r.delete(t)}function mM(){My=!1,Wi!==null&&Qf(Wi)&&(Wi=null),eo!==null&&Qf(eo)&&(eo=null),to!==null&&Qf(to)&&(to=null),oc.forEach(nD),sc.forEach(nD)}function Zf(e,t){e.blockedOn===t&&(e.blockedOn=null,My||(My=!0,It.unstable_scheduleCallback(It.unstable_NormalPriority,mM)))}function rD(e){rh!==e&&(rh=e,It.unstable_scheduleCallback(It.unstable_NormalPriority,function(){rh===e&&(rh=null);for(var t=0;t<e.length;t+=3){var r=e[t],o=e[t+1],l=e[t+2];if(typeof o!="function"){if(ng(o||r)===null)continue;break}var c=be(r);c!==null&&(e.splice(t,3),t-=3,r={pending:!0,data:l,method:r.method,action:o},Object.freeze(r),np(c,r,o,l))}}))}function ks(e){function t(D){return Zf(D,e)}Wi!==null&&Zf(Wi,e),eo!==null&&Zf(eo,e),to!==null&&Zf(to,e),oc.forEach(t),sc.forEach(t);for(var r=0;r<no.length;r++){var o=no[r];o.blockedOn===e&&(o.blockedOn=null)}for(;0<no.length&&(r=no[0],r.blockedOn===null);)tD(r),r.blockedOn===null&&no.shift();if(r=(e.ownerDocument||e).$$reactFormReplay,r!=null)for(o=0;o<r.length;o+=3){var l=r[o],c=r[o+1],m=l[On]||null;if(typeof c=="function")m||rD(r);else if(m){var y=null;if(c&&c.hasAttribute("formAction")){if(l=c,m=c[On]||null)y=m.formAction;else if(ng(l)!==null)continue}else y=m.action;typeof y=="function"?r[o+1]=y:(r.splice(o,3),o-=3),rD(r)}}}function aD(){function e(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(m){return l=m})},focusReset:"manual",scroll:"manual"})}function t(){l!==null&&(l(),l=null),o||setTimeout(r,20)}function r(){if(!o&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,l=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(r,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),l!==null&&(l(),l=null)}}}function rg(e){this._internalRoot=e}function Jf(e){this._internalRoot=e}function iD(e){e[_i]&&(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 It=hz(),ag=Oc(),pM=pz(),Je=Object.assign,gM=Symbol.for("react.element"),xa=Symbol.for("react.transitional.element"),Cs=Symbol.for("react.portal"),Rs=Symbol.for("react.fragment"),Kf=Symbol.for("react.strict_mode"),ig=Symbol.for("react.profiler"),og=Symbol.for("react.consumer"),Sa=Symbol.for("react.context"),hu=Symbol.for("react.forward_ref"),sg=Symbol.for("react.suspense"),lg=Symbol.for("react.suspense_list"),Wf=Symbol.for("react.memo"),sr=Symbol.for("react.lazy"),ug=Symbol.for("react.activity"),yM=Symbol.for("react.memo_cache_sentinel"),oD=Symbol.iterator,bM=Symbol.for("react.client.reference"),en=Array.isArray,J=ag.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ft=pM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,vM=Object.freeze({pending:!1,data:null,method:null,action:null}),cg=[],fg=[],Za=-1,Ri=he(null),mu=he(null),Oi=he(null),ed=he(null),pu=0,sD,lD,uD,cD,fD,dD,hD;O.__reactDisabledLog=!0;var dg,mD,hg=!1,mg=new(typeof WeakMap=="function"?WeakMap:Map),lr=null,Da=!1,Gr=Object.prototype.hasOwnProperty,pg=It.unstable_scheduleCallback,xM=It.unstable_cancelCallback,SM=It.unstable_shouldYield,DM=It.unstable_requestPaint,sn=It.unstable_now,EM=It.unstable_getCurrentPriorityLevel,gg=It.unstable_ImmediatePriority,yg=It.unstable_UserBlockingPriority,Os=It.unstable_NormalPriority,TM=It.unstable_LowPriority,bg=It.unstable_IdlePriority,AM=It.log,wM=It.unstable_setDisableYieldValue,Ms=null,vn=null,Ea=!1,Ta=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Rn=Math.clz32?Math.clz32:yi,NM=Math.log,kM=Math.LN2,td=256,nd=262144,rd=4194304,Sr=2,Aa=8,Ja=32,ad=268435456,Mi=Math.random().toString(36).slice(2),mn="__reactFiber$"+Mi,On="__reactProps$"+Mi,_i="__reactContainer$"+Mi,vg="__reactEvents$"+Mi,CM="__reactListeners$"+Mi,RM="__reactHandles$"+Mi,pD="__reactResources$"+Mi,gu="__reactMarker$"+Mi,gD=new Set,ko={},xg={},OM={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},MM=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]*$"),yD={},bD={},_M=/[\n"\\]/g,vD=!1,xD=!1,SD=!1,DD=!1,ED=!1,TD=!1,AD=["value","defaultValue"],wD=!1,ND=/["'&<>\n\t]|^\s|\s$/,zM="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(" "),kD="applet caption html table td th marquee object template foreignObject desc title".split(" "),UM=kD.concat(["button"]),jM="dd dt li option optgroup p rp rt".split(" "),CD={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},id={},Sg={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"]},RD=/([A-Z])/g,OD=/^ms-/,VM=/^(?:webkit|moz|o)[A-Z]/,LM=/^-ms-/,BM=/-(.)/g,MD=/;\s*$/,_s={},Dg={},_D=!1,zD=!1,UD=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(" ")),od="http://www.w3.org/1998/Math/MathML",zs="http://www.w3.org/2000/svg",HM=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"]]),sd={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"},jD={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Us={},PM=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]*$"),qM=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]*$"),VD=!1,Mn={},LD=/^on./,IM=/^on[^A-Z]/,FM=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]*$"),YM=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]*$"),GM=/^[\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,yu=null,js=null,Vs=null,Eg=!1,wa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Tg=!1;if(wa)try{var bu={};Object.defineProperty(bu,"passive",{get:function(){Tg=!0}}),window.addEventListener("test",bu,bu),window.removeEventListener("test",bu,bu)}catch{Tg=!1}var zi=null,Ag=null,ld=null,Co={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ud=Hn(Co),vu=Je({},Co,{view:0,detail:0}),$M=Hn(vu),wg,Ng,xu,cd=Je({},vu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:sm,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!==xu&&(xu&&e.type==="mousemove"?(wg=e.screenX-xu.screenX,Ng=e.screenY-xu.screenY):Ng=wg=0,xu=e),wg)},movementY:function(e){return"movementY"in e?e.movementY:Ng}}),BD=Hn(cd),XM=Je({},cd,{dataTransfer:0}),QM=Hn(XM),ZM=Je({},vu,{relatedTarget:0}),kg=Hn(ZM),JM=Je({},Co,{animationName:0,elapsedTime:0,pseudoElement:0}),KM=Hn(JM),WM=Je({},Co,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),e_=Hn(WM),t_=Je({},Co,{data:0}),HD=Hn(t_),n_=HD,r_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a_={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"},i_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},o_=Je({},vu,{key:function(e){if(e.key){var t=r_[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Xc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?a_[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:sm,charCode:function(e){return e.type==="keypress"?Xc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Xc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),s_=Hn(o_),l_=Je({},cd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),PD=Hn(l_),u_=Je({},vu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:sm}),c_=Hn(u_),f_=Je({},Co,{propertyName:0,elapsedTime:0,pseudoElement:0}),d_=Hn(f_),h_=Je({},cd,{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}),m_=Hn(h_),p_=Je({},Co,{newState:0,oldState:0}),g_=Hn(p_),y_=[9,13,27,32],qD=229,Cg=wa&&"CompositionEvent"in window,Su=null;wa&&"documentMode"in document&&(Su=document.documentMode);var b_=wa&&"TextEvent"in window&&!Su,ID=wa&&(!Cg||Su&&8<Su&&11>=Su),FD=32,YD=String.fromCharCode(FD),GD=!1,Ls=!1,v_={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Du=null,Eu=null,$D=!1;wa&&($D=BR("input")&&(!document.documentMode||9<document.documentMode));var _n=typeof Object.is=="function"?Object.is:YR,x_=wa&&"documentMode"in document&&11>=document.documentMode,Bs=null,Rg=null,Tu=null,Og=!1,Hs={animationend:mo("Animation","AnimationEnd"),animationiteration:mo("Animation","AnimationIteration"),animationstart:mo("Animation","AnimationStart"),transitionrun:mo("Transition","TransitionRun"),transitionstart:mo("Transition","TransitionStart"),transitioncancel:mo("Transition","TransitionCancel"),transitionend:mo("Transition","TransitionEnd")},Mg={},XD={};wa&&(XD=document.createElement("div").style,"AnimationEvent"in window||(delete Hs.animationend.animation,delete Hs.animationiteration.animation,delete Hs.animationstart.animation),"TransitionEvent"in window||delete Hs.transitionend.transition);var QD=po("animationend"),ZD=po("animationiteration"),JD=po("animationstart"),S_=po("transitionrun"),D_=po("transitionstart"),E_=po("transitioncancel"),KD=po("transitionend"),WD=new Map,_g="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(" ");_g.push("scrollEnd");var eE=0;if(typeof performance=="object"&&typeof performance.now=="function")var T_=performance,tE=function(){return T_.now()};else{var A_=Date;tE=function(){return A_.now()}}var zg=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)},w_="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",fd=0,Ug=1,jg=2,Vg=3,dd="– ",hd="+ ",nE=" ",vt=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",Dr="Components ⚛",tt="Scheduler ⚛",rt="Blocking",Ui=!1,Ka={color:"primary",properties:null,tooltipText:"",track:Dr},ji={start:-0,end:-0,detail:{devtools:Ka}},N_=["Changed Props",""],rE="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",k_=["Changed Props",rE],Au=1,Wa=2,Er=[],Ps=0,Lg=0,Vi={};Object.freeze(Vi);var Tr=null,qs=null,Ve=0,C_=1,Ye=2,xn=8,$r=16,R_=32,aE=!1;try{var iE=Object.preventExtensions({})}catch{aE=!0}var Bg=new WeakMap,Is=[],Fs=0,md=null,wu=0,Ar=[],wr=0,Ro=null,ei=1,ti="",pn=null,xt=null,We=!1,Na=!1,ur=null,Li=null,Nr=!1,Hg=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."),Pg=he(null),qg=he(null),oE={},pd=null,Ys=null,Gs=!1,O_=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(r,o){e.push(o)}};this.abort=function(){t.aborted=!0,e.forEach(function(r){return r()})}},M_=It.unstable_scheduleCallback,__=It.unstable_NormalPriority,Ft={$$typeof:Sa,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Yt=It.unstable_now,gd=console.createTask?console.createTask:function(){return null},Nu=1,yd=2,ln=-0,Bi=-0,ni=-0,ri=null,zn=-1.1,Oo=-0,Ct=-0,ze=-1.1,Ue=-1.1,Nt=null,Mt=!1,Mo=-0,ka=-1.1,ku=null,Hi=0,Ig=null,Fg=null,_o=-1.1,Cu=null,$s=-1.1,bd=-1.1,ai=-0,ii=-1.1,kr=-1.1,Yg=0,Ru=null,sE=null,lE=null,Pi=-1.1,zo=null,qi=-1.1,vd=-1.1,uE=-0,cE=-0,xd=0,z_=null,fE=0,Ou=-1.1,Sd=!1,Dd=!1,Mu=null,Gg=0,Uo=0,Xs=null,dE=J.S;J.S=function(e,t){if(sT=sn(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>ii&&0>kr){ii=Yt();var r=lu(),o=su();(r!==qi||o!==zo)&&(qi=-1.1),Pi=r,zo=o}KR(e,t)}dE!==null&&dE(e,t)};var jo=he(null),Xr={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},_u=[],zu=[],Uu=[],ju=[],Vu=[],Lu=[],Vo=new Set;Xr.recordUnsafeLifecycleWarnings=function(e,t){Vo.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&_u.push(e),e.mode&xn&&typeof t.UNSAFE_componentWillMount=="function"&&zu.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Uu.push(e),e.mode&xn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&ju.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Vu.push(e),e.mode&xn&&typeof t.UNSAFE_componentWillUpdate=="function"&&Lu.push(e))},Xr.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<_u.length&&(_u.forEach(function(y){e.add(F(y)||"Component"),Vo.add(y.type)}),_u=[]);var t=new Set;0<zu.length&&(zu.forEach(function(y){t.add(F(y)||"Component"),Vo.add(y.type)}),zu=[]);var r=new Set;0<Uu.length&&(Uu.forEach(function(y){r.add(F(y)||"Component"),Vo.add(y.type)}),Uu=[]);var o=new Set;0<ju.length&&(ju.forEach(function(y){o.add(F(y)||"Component"),Vo.add(y.type)}),ju=[]);var l=new Set;0<Vu.length&&(Vu.forEach(function(y){l.add(F(y)||"Component"),Vo.add(y.type)}),Vu=[]);var c=new Set;if(0<Lu.length&&(Lu.forEach(function(y){c.add(F(y)||"Component"),Vo.add(y.type)}),Lu=[]),0<t.size){var m=v(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.
|
|
190
|
+
|
|
191
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
192
|
+
|
|
193
|
+
Please update the following components: %s`,m)}0<o.size&&(m=v(o),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
194
|
+
|
|
195
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
196
|
+
* 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
|
|
197
|
+
|
|
198
|
+
Please update the following components: %s`,m)),0<c.size&&(m=v(c),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.
|
|
199
|
+
|
|
200
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
201
|
+
|
|
202
|
+
Please update the following components: %s`,m)),0<e.size&&(m=v(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
203
|
+
|
|
204
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
205
|
+
* 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.
|
|
206
|
+
|
|
207
|
+
Please update the following components: %s`,m)),0<r.size&&(m=v(r),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
208
|
+
|
|
209
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
210
|
+
* 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
|
|
211
|
+
* 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.
|
|
212
|
+
|
|
213
|
+
Please update the following components: %s`,m)),0<l.size&&(m=v(l),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
214
|
+
|
|
215
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
216
|
+
* 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.
|
|
217
|
+
|
|
218
|
+
Please update the following components: %s`,m))};var Ed=new Map,hE=new Set;Xr.recordLegacyContextWarning=function(e,t){for(var r=null,o=e;o!==null;)o.mode&xn&&(r=o),o=o.return;r===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."):!hE.has(e.type)&&(o=Ed.get(r),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(o===void 0&&(o=[],Ed.set(r,o)),o.push(e))},Xr.flushLegacyContextWarning=function(){Ed.forEach(function(e){if(e.length!==0){var t=e[0],r=new Set;e.forEach(function(l){r.add(F(l)||"Component"),hE.add(l.type)});var o=v(r);De(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
219
|
+
|
|
220
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
221
|
+
|
|
222
|
+
Please update the following components: %s
|
|
223
|
+
|
|
224
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,o)})}})},Xr.discardPendingWarnings=function(){_u=[],zu=[],Uu=[],ju=[],Vu=[],Lu=[],Ed=new Map};var mE={react_stack_bottom_frame:function(e,t,r){var o=Da;Da=!0;try{return e(t,r)}finally{Da=o}}},$g=mE.react_stack_bottom_frame.bind(mE),pE={react_stack_bottom_frame:function(e){var t=Da;Da=!0;try{return e.render()}finally{Da=t}}},gE=pE.react_stack_bottom_frame.bind(pE),yE={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(r){ct(e,e.return,r)}}},Xg=yE.react_stack_bottom_frame.bind(yE),bE={react_stack_bottom_frame:function(e,t,r,o,l){try{t.componentDidUpdate(r,o,l)}catch(c){ct(e,e.return,c)}}},vE=bE.react_stack_bottom_frame.bind(bE),xE={react_stack_bottom_frame:function(e,t){var r=t.stack;e.componentDidCatch(t.value,{componentStack:r!==null?r:""})}},U_=xE.react_stack_bottom_frame.bind(xE),SE={react_stack_bottom_frame:function(e,t,r){try{r.componentWillUnmount()}catch(o){ct(e,t,o)}}},DE=SE.react_stack_bottom_frame.bind(SE),EE={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},j_=EE.react_stack_bottom_frame.bind(EE),TE={react_stack_bottom_frame:function(e,t,r){try{r()}catch(o){ct(e,t,o)}}},V_=TE.react_stack_bottom_frame.bind(TE),AE={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},L_=AE.react_stack_bottom_frame.bind(AE),Qs=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`."),Qg=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Td=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),Ad={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.')}},Lo=null,Bu=!1,Zs=null,Hu=0,Ge=null,Zg,wE=Zg=!1,NE={},kE={},CE={};p=function(e,t,r){if(r!==null&&typeof r=="object"&&r._store&&(!r._store.validated&&r.key==null||r._store.validated===2)){if(typeof r._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.");r._store.validated=1;var o=F(e),l=o||"null";if(!NE[l]){NE[l]=!0,r=r._owner,e=e._debugOwner;var c="";e&&typeof e.tag=="number"&&(l=F(e))&&(c=`
|
|
225
|
+
|
|
226
|
+
Check the render method of \``+l+"`."),c||o&&(c=`
|
|
227
|
+
|
|
228
|
+
Check the top-level render call using <`+o+">.");var m="";r!=null&&e!==r&&(o=null,typeof r.tag=="number"?o=F(r):typeof r.name=="string"&&(o=r.name),o&&(m=" It was passed a child from "+o+".")),De(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.',c,m)})}}};var Bo=Sx(!0),RE=Sx(!1),OE=0,ME=1,_E=2,Jg=3,Ii=!1,zE=!1,Kg=null,Wg=!1,Js=he(null),wd=he(0),cr=he(null),Cr=null,Ks=1,Pu=2,Bt=he(0),Nd=0,Rr=1,Un=2,fr=4,jn=8,Ws,UE=new Set,jE=new Set,ey=new Set,VE=new Set,oi=0,Le=null,pt=null,Gt=null,kd=!1,el=!1,Ho=!1,Cd=0,qu=0,si=null,B_=0,H_=25,Z=null,Or=null,li=-1,Iu=!1,Fu={readContext:wt,use:wi,useCallback:jt,useContext:jt,useEffect:jt,useImperativeHandle:jt,useLayoutEffect:jt,useInsertionEffect:jt,useMemo:jt,useReducer:jt,useRef:jt,useState:jt,useDebugValue:jt,useDeferredValue:jt,useTransition:jt,useSyncExternalStore:jt,useId:jt,useHostTransitionStatus:jt,useFormState:jt,useActionState:jt,useOptimistic:jt,useMemoCache:jt,useCacheRefresh:jt};Fu.useEffectEvent=jt;var ty=null,LE=null,ny=null,BE=null,Ca=null,Qr=null,Rd=null;ty={readContext:function(e){return wt(e)},use:wi,useCallback:function(e,t){return Z="useCallback",Ze(),gs(t),Km(e,t)},useContext:function(e){return Z="useContext",Ze(),wt(e)},useEffect:function(e,t){return Z="useEffect",Ze(),gs(t),Ef(e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",Ze(),gs(r),Jm(e,t,r)},useInsertionEffect:function(e,t){Z="useInsertionEffect",Ze(),gs(t),Eo(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",Ze(),gs(t),Zm(e,t)},useMemo:function(e,t){Z="useMemo",Ze(),gs(t);var r=J.H;J.H=Ca;try{return Wm(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",Ze();var o=J.H;J.H=Ca;try{return Pm(e,t,r)}finally{J.H=o}},useRef:function(e){return Z="useRef",Ze(),Xm(e)},useState:function(e){Z="useState",Ze();var t=J.H;J.H=Ca;try{return Ym(e)}finally{J.H=t}},useDebugValue:function(){Z="useDebugValue",Ze()},useDeferredValue:function(e,t){return Z="useDeferredValue",Ze(),ep(e,t)},useTransition:function(){return Z="useTransition",Ze(),rp()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",Ze(),Im(e,t,r)},useId:function(){return Z="useId",Ze(),ap()},useFormState:function(e,t){return Z="useFormState",Ze(),bf(),bs(e,t)},useActionState:function(e,t){return Z="useActionState",Ze(),bs(e,t)},useOptimistic:function(e){return Z="useOptimistic",Ze(),Gm(e)},useHostTransitionStatus:To,useMemoCache:Do,useCacheRefresh:function(){return Z="useCacheRefresh",Ze(),ip()},useEffectEvent:function(e){return Z="useEffectEvent",Ze(),Qm(e)}},LE={readContext:function(e){return wt(e)},use:wi,useCallback:function(e,t){return Z="useCallback",fe(),Km(e,t)},useContext:function(e){return Z="useContext",fe(),wt(e)},useEffect:function(e,t){return Z="useEffect",fe(),Ef(e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",fe(),Jm(e,t,r)},useInsertionEffect:function(e,t){Z="useInsertionEffect",fe(),Eo(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",fe(),Zm(e,t)},useMemo:function(e,t){Z="useMemo",fe();var r=J.H;J.H=Ca;try{return Wm(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",fe();var o=J.H;J.H=Ca;try{return Pm(e,t,r)}finally{J.H=o}},useRef:function(e){return Z="useRef",fe(),Xm(e)},useState:function(e){Z="useState",fe();var t=J.H;J.H=Ca;try{return Ym(e)}finally{J.H=t}},useDebugValue:function(){Z="useDebugValue",fe()},useDeferredValue:function(e,t){return Z="useDeferredValue",fe(),ep(e,t)},useTransition:function(){return Z="useTransition",fe(),rp()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",fe(),Im(e,t,r)},useId:function(){return Z="useId",fe(),ap()},useActionState:function(e,t){return Z="useActionState",fe(),bs(e,t)},useFormState:function(e,t){return Z="useFormState",fe(),bf(),bs(e,t)},useOptimistic:function(e){return Z="useOptimistic",fe(),Gm(e)},useHostTransitionStatus:To,useMemoCache:Do,useCacheRefresh:function(){return Z="useCacheRefresh",fe(),ip()},useEffectEvent:function(e){return Z="useEffectEvent",fe(),Qm(e)}},ny={readContext:function(e){return wt(e)},use:wi,useCallback:function(e,t){return Z="useCallback",fe(),wf(e,t)},useContext:function(e){return Z="useContext",fe(),wt(e)},useEffect:function(e,t){Z="useEffect",fe(),Pn(2048,jn,e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",fe(),Af(e,t,r)},useInsertionEffect:function(e,t){return Z="useInsertionEffect",fe(),Pn(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",fe(),Pn(4,fr,e,t)},useMemo:function(e,t){Z="useMemo",fe();var r=J.H;J.H=Qr;try{return Nf(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",fe();var o=J.H;J.H=Qr;try{return ys(e,t,r)}finally{J.H=o}},useRef:function(){return Z="useRef",fe(),dt().memoizedState},useState:function(){Z="useState",fe();var e=J.H;J.H=Qr;try{return ys(Fr)}finally{J.H=e}},useDebugValue:function(){Z="useDebugValue",fe()},useDeferredValue:function(e,t){return Z="useDeferredValue",fe(),Ix(e,t)},useTransition:function(){return Z="useTransition",fe(),Qx()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",fe(),xf(e,t,r)},useId:function(){return Z="useId",fe(),dt().memoizedState},useFormState:function(e){return Z="useFormState",fe(),bf(),Sf(e)},useActionState:function(e){return Z="useActionState",fe(),Sf(e)},useOptimistic:function(e,t){return Z="useOptimistic",fe(),_x(e,t)},useHostTransitionStatus:To,useMemoCache:Do,useCacheRefresh:function(){return Z="useCacheRefresh",fe(),dt().memoizedState},useEffectEvent:function(e){return Z="useEffectEvent",fe(),Tf(e)}},BE={readContext:function(e){return wt(e)},use:wi,useCallback:function(e,t){return Z="useCallback",fe(),wf(e,t)},useContext:function(e){return Z="useContext",fe(),wt(e)},useEffect:function(e,t){Z="useEffect",fe(),Pn(2048,jn,e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",fe(),Af(e,t,r)},useInsertionEffect:function(e,t){return Z="useInsertionEffect",fe(),Pn(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",fe(),Pn(4,fr,e,t)},useMemo:function(e,t){Z="useMemo",fe();var r=J.H;J.H=Rd;try{return Nf(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",fe();var o=J.H;J.H=Rd;try{return Ql(e,t,r)}finally{J.H=o}},useRef:function(){return Z="useRef",fe(),dt().memoizedState},useState:function(){Z="useState",fe();var e=J.H;J.H=Rd;try{return Ql(Fr)}finally{J.H=e}},useDebugValue:function(){Z="useDebugValue",fe()},useDeferredValue:function(e,t){return Z="useDeferredValue",fe(),Fx(e,t)},useTransition:function(){return Z="useTransition",fe(),Zx()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",fe(),xf(e,t,r)},useId:function(){return Z="useId",fe(),dt().memoizedState},useFormState:function(e){return Z="useFormState",fe(),bf(),Df(e)},useActionState:function(e){return Z="useActionState",fe(),Df(e)},useOptimistic:function(e,t){return Z="useOptimistic",fe(),Ux(e,t)},useHostTransitionStatus:To,useMemoCache:Do,useCacheRefresh:function(){return Z="useCacheRefresh",fe(),dt().memoizedState},useEffectEvent:function(e){return Z="useEffectEvent",fe(),Tf(e)}},Ca={readContext:function(e){return b(),wt(e)},use:function(e){return h(),wi(e)},useCallback:function(e,t){return Z="useCallback",h(),Ze(),Km(e,t)},useContext:function(e){return Z="useContext",h(),Ze(),wt(e)},useEffect:function(e,t){return Z="useEffect",h(),Ze(),Ef(e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",h(),Ze(),Jm(e,t,r)},useInsertionEffect:function(e,t){Z="useInsertionEffect",h(),Ze(),Eo(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",h(),Ze(),Zm(e,t)},useMemo:function(e,t){Z="useMemo",h(),Ze();var r=J.H;J.H=Ca;try{return Wm(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",h(),Ze();var o=J.H;J.H=Ca;try{return Pm(e,t,r)}finally{J.H=o}},useRef:function(e){return Z="useRef",h(),Ze(),Xm(e)},useState:function(e){Z="useState",h(),Ze();var t=J.H;J.H=Ca;try{return Ym(e)}finally{J.H=t}},useDebugValue:function(){Z="useDebugValue",h(),Ze()},useDeferredValue:function(e,t){return Z="useDeferredValue",h(),Ze(),ep(e,t)},useTransition:function(){return Z="useTransition",h(),Ze(),rp()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",h(),Ze(),Im(e,t,r)},useId:function(){return Z="useId",h(),Ze(),ap()},useFormState:function(e,t){return Z="useFormState",h(),Ze(),bs(e,t)},useActionState:function(e,t){return Z="useActionState",h(),Ze(),bs(e,t)},useOptimistic:function(e){return Z="useOptimistic",h(),Ze(),Gm(e)},useMemoCache:function(e){return h(),Do(e)},useHostTransitionStatus:To,useCacheRefresh:function(){return Z="useCacheRefresh",Ze(),ip()},useEffectEvent:function(e){return Z="useEffectEvent",h(),Ze(),Qm(e)}},Qr={readContext:function(e){return b(),wt(e)},use:function(e){return h(),wi(e)},useCallback:function(e,t){return Z="useCallback",h(),fe(),wf(e,t)},useContext:function(e){return Z="useContext",h(),fe(),wt(e)},useEffect:function(e,t){Z="useEffect",h(),fe(),Pn(2048,jn,e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",h(),fe(),Af(e,t,r)},useInsertionEffect:function(e,t){return Z="useInsertionEffect",h(),fe(),Pn(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",h(),fe(),Pn(4,fr,e,t)},useMemo:function(e,t){Z="useMemo",h(),fe();var r=J.H;J.H=Qr;try{return Nf(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",h(),fe();var o=J.H;J.H=Qr;try{return ys(e,t,r)}finally{J.H=o}},useRef:function(){return Z="useRef",h(),fe(),dt().memoizedState},useState:function(){Z="useState",h(),fe();var e=J.H;J.H=Qr;try{return ys(Fr)}finally{J.H=e}},useDebugValue:function(){Z="useDebugValue",h(),fe()},useDeferredValue:function(e,t){return Z="useDeferredValue",h(),fe(),Ix(e,t)},useTransition:function(){return Z="useTransition",h(),fe(),Qx()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",h(),fe(),xf(e,t,r)},useId:function(){return Z="useId",h(),fe(),dt().memoizedState},useFormState:function(e){return Z="useFormState",h(),fe(),Sf(e)},useActionState:function(e){return Z="useActionState",h(),fe(),Sf(e)},useOptimistic:function(e,t){return Z="useOptimistic",h(),fe(),_x(e,t)},useMemoCache:function(e){return h(),Do(e)},useHostTransitionStatus:To,useCacheRefresh:function(){return Z="useCacheRefresh",fe(),dt().memoizedState},useEffectEvent:function(e){return Z="useEffectEvent",h(),fe(),Tf(e)}},Rd={readContext:function(e){return b(),wt(e)},use:function(e){return h(),wi(e)},useCallback:function(e,t){return Z="useCallback",h(),fe(),wf(e,t)},useContext:function(e){return Z="useContext",h(),fe(),wt(e)},useEffect:function(e,t){Z="useEffect",h(),fe(),Pn(2048,jn,e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",h(),fe(),Af(e,t,r)},useInsertionEffect:function(e,t){return Z="useInsertionEffect",h(),fe(),Pn(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",h(),fe(),Pn(4,fr,e,t)},useMemo:function(e,t){Z="useMemo",h(),fe();var r=J.H;J.H=Qr;try{return Nf(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",h(),fe();var o=J.H;J.H=Qr;try{return Ql(e,t,r)}finally{J.H=o}},useRef:function(){return Z="useRef",h(),fe(),dt().memoizedState},useState:function(){Z="useState",h(),fe();var e=J.H;J.H=Qr;try{return Ql(Fr)}finally{J.H=e}},useDebugValue:function(){Z="useDebugValue",h(),fe()},useDeferredValue:function(e,t){return Z="useDeferredValue",h(),fe(),Fx(e,t)},useTransition:function(){return Z="useTransition",h(),fe(),Zx()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",h(),fe(),xf(e,t,r)},useId:function(){return Z="useId",h(),fe(),dt().memoizedState},useFormState:function(e){return Z="useFormState",h(),fe(),Df(e)},useActionState:function(e){return Z="useActionState",h(),fe(),Df(e)},useOptimistic:function(e,t){return Z="useOptimistic",h(),fe(),Ux(e,t)},useMemoCache:function(e){return h(),Do(e)},useHostTransitionStatus:To,useCacheRefresh:function(){return Z="useCacheRefresh",fe(),dt().memoizedState},useEffectEvent:function(e){return Z="useEffectEvent",h(),fe(),Tf(e)}};var HE={},PE=new Set,qE=new Set,IE=new Set,FE=new Set,YE=new Set,GE=new Set,$E=new Set,XE=new Set,QE=new Set,ZE=new Set;Object.freeze(HE);var ry={enqueueSetState:function(e,t,r){e=e._reactInternals;var o=ir(e),l=Di(o);l.payload=t,r!=null&&(sp(r),l.callback=r),t=Ei(e,l,o),t!==null&&(sa(o,"this.setState()",e),Ot(t,e,o),Yl(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var o=ir(e),l=Di(o);l.tag=ME,l.payload=t,r!=null&&(sp(r),l.callback=r),t=Ei(e,l,o),t!==null&&(sa(o,"this.replaceState()",e),Ot(t,e,o),Yl(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=ir(e),o=Di(r);o.tag=_E,t!=null&&(sp(t),o.callback=t),t=Ei(e,o,r),t!==null&&(sa(r,"this.forceUpdate()",e),Ot(t,e,r),Yl(t,e,r))}},tl=null,ay=null,iy=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),$t=!1,JE={},KE={},WE={},eT={},nl=!1,tT={},Od={},oy={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},nT=!1,rT=null;rT=new Set;var ui=!1,Xt=!1,sy=!1,aT=typeof WeakSet=="function"?WeakSet:Set,un=null,rl=null,al=null,Qt=null,Fn=!1,Zr=null,tn=!1,Yu=8192,P_={getCacheForType:function(e){var t=wt(Ft),r=t.data.get(e);return r===void 0&&(r=e(),t.data.set(e,r)),r},cacheSignal:function(){return wt(Ft).controller.signal},getOwner:function(){return lr}};if(typeof Symbol=="function"&&Symbol.for){var Gu=Symbol.for;Gu("selector.component"),Gu("selector.has_pseudo_class"),Gu("selector.role"),Gu("selector.test_id"),Gu("selector.text")}var q_=[],I_=typeof WeakMap=="function"?WeakMap:Map,cn=0,nn=2,dr=4,ci=0,$u=1,Po=2,Md=3,Fi=4,_d=6,iT=5,st=cn,gt=null,Xe=null,$e=0,Yn=0,zd=1,qo=2,Xu=3,oT=4,ly=5,Qu=6,Ud=7,uy=8,Io=9,ht=Yn,hr=null,Yi=!1,il=!1,cy=!1,Ra=0,Rt=ci,Gi=0,$i=0,fy=0,Gn=0,Fo=0,Zu=null,Vn=null,jd=!1,Vd=0,sT=0,lT=300,Ld=1/0,uT=500,Ju=null,Vt=null,Xi=null,Bd=0,dy=1,hy=2,cT=3,Qi=0,fT=1,dT=2,hT=3,mT=4,Hd=5,Zt=0,Zi=null,ol=null,Jr=0,my=0,py=-0,gy=null,pT=null,gT=null,Kr=Bd,yT=null,F_=50,Ku=0,yy=null,by=!1,Pd=!1,Y_=50,Yo=0,Wu=null,sl=!1,qd=null,bT=!1,vT=new Set,G_={},Id=null,ll=null,vy=!1,xy=!1,Fd=!1,Sy=!1,Ji=0,Dy={};(function(){for(var e=0;e<_g.length;e++){var t=_g[e],r=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),qr(r,"on"+t)}qr(QD,"onAnimationEnd"),qr(ZD,"onAnimationIteration"),qr(JD,"onAnimationStart"),qr("dblclick","onDoubleClick"),qr("focusin","onFocus"),qr("focusout","onBlur"),qr(S_,"onTransitionRun"),qr(D_,"onTransitionStart"),qr(E_,"onTransitionCancel"),qr(KD,"onTransitionEnd")})(),qe("onMouseEnter",["mouseout","mouseover"]),qe("onMouseLeave",["mouseout","mouseover"]),qe("onPointerEnter",["pointerout","pointerover"]),qe("onPointerLeave",["pointerout","pointerover"]),ot("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ot("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ot("onBeforeInput",["compositionend","keypress","textInput","paste"]),ot("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ot("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ot("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ec="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ey=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ec)),Yd="_reactListening"+Math.random().toString(36).slice(2),xT=!1,ST=!1,Gd=!1,DT=!1,$d=!1,Xd=!1,ET=!1,Qd={},$_=/\r\n?/g,X_=/\u0000|\uFFFD/g,Go="http://www.w3.org/1999/xlink",Ty="http://www.w3.org/XML/1998/namespace",Q_="javascript:throw new Error('React form unexpectedly submitted.')",Z_="suppressHydrationWarning",$o="&",Zd="/&",tc="$",nc="/$",Ki="$?",Xo="$~",ul="$!",J_="html",K_="body",W_="head",Ay="F!",TT="F",AT="loading",ez="style",fi=0,cl=1,Jd=2,wy=null,Ny=null,wT={dialog:!0,webview:!0},ky=null,rc=void 0,NT=typeof setTimeout=="function"?setTimeout:void 0,tz=typeof clearTimeout=="function"?clearTimeout:void 0,Qo=-1,kT=typeof Promise=="function"?Promise:void 0,nz=typeof queueMicrotask=="function"?queueMicrotask:typeof kT<"u"?function(e){return kT.resolve(null).then(e).catch(LO)}:NT,Cy=null,Zo=0,ac=1,CT=2,RT=3,Mr=4,_r=new Map,OT=new Set,di=ft.d;ft.d={f:function(){var e=di.f(),t=Es();return e||t},r:function(e){var t=be(e);t!==null&&t.tag===5&&t.type==="form"?Xx(t):di.r(e)},D:function(e){di.D(e),PS("dns-prefetch",e,null)},C:function(e,t){di.C(e,t),PS("preconnect",e,t)},L:function(e,t,r){di.L(e,t,r);var o=fl;if(o&&e&&t){var l='link[rel="preload"][as="'+vr(t)+'"]';t==="image"&&r&&r.imageSrcSet?(l+='[imagesrcset="'+vr(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(l+='[imagesizes="'+vr(r.imageSizes)+'"]')):l+='[href="'+vr(e)+'"]';var c=l;switch(t){case"style":c=ws(e);break;case"script":c=Ns(e)}_r.has(c)||(e=Je({rel:"preload",href:t==="image"&&r&&r.imageSrcSet?void 0:e,as:t},r),_r.set(c,e),o.querySelector(l)!==null||t==="style"&&o.querySelector(cu(c))||t==="script"&&o.querySelector(fu(c))||(t=o.createElement("link"),hn(t,"link",e),Oe(t),o.head.appendChild(t)))}},m:function(e,t){di.m(e,t);var r=fl;if(r&&e){var o=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+vr(o)+'"][href="'+vr(e)+'"]',c=l;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Ns(e)}if(!_r.has(c)&&(e=Je({rel:"modulepreload",href:e},t),_r.set(c,e),r.querySelector(l)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(fu(c)))return}o=r.createElement("link"),hn(o,"link",e),Oe(o),r.head.appendChild(o)}}},X:function(e,t){di.X(e,t);var r=fl;if(r&&e){var o=Pe(r).hoistableScripts,l=Ns(e),c=o.get(l);c||(c=r.querySelector(fu(l)),c||(e=Je({src:e,async:!0},t),(t=_r.get(l))&&Jp(e,t),c=r.createElement("script"),Oe(c),hn(c,"link",e),r.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},o.set(l,c))}},S:function(e,t,r){di.S(e,t,r);var o=fl;if(o&&e){var l=Pe(o).hoistableStyles,c=ws(e);t=t||"default";var m=l.get(c);if(!m){var y={loading:Zo,preload:null};if(m=o.querySelector(cu(c)))y.loading=ac|Mr;else{e=Je({rel:"stylesheet",href:e,"data-precedence":t},r),(r=_r.get(c))&&Zp(e,r);var D=m=o.createElement("link");Oe(D),hn(D,"link",e),D._p=new Promise(function(E,B){D.onload=E,D.onerror=B}),D.addEventListener("load",function(){y.loading|=ac}),D.addEventListener("error",function(){y.loading|=CT}),y.loading|=Mr,Gf(m,t,o)}m={type:"stylesheet",instance:m,count:1,state:y},l.set(c,m)}}},M:function(e,t){di.M(e,t);var r=fl;if(r&&e){var o=Pe(r).hoistableScripts,l=Ns(e),c=o.get(l);c||(c=r.querySelector(fu(l)),c||(e=Je({src:e,async:!0,type:"module"},t),(t=_r.get(l))&&Jp(e,t),c=r.createElement("script"),Oe(c),hn(c,"link",e),r.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},o.set(l,c))}}};var fl=typeof document>"u"?null:document,Kd=null,rz=6e4,az=800,iz=500,Ry=0,Oy=null,Wd=null,Jo=vM,ic={$$typeof:Sa,Provider:null,Consumer:null,_currentValue:Jo,_currentValue2:Jo,_threadCount:0},MT="%c%s%c",_T="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",zT="",eh=" ",oz=Function.prototype.bind,UT=!1,jT=null,VT=null,LT=null,BT=null,HT=null,PT=null,qT=null,IT=null,FT=null,YT=null;jT=function(e,t,r,o){t=n(e,t),t!==null&&(r=a(t.memoizedState,r,0,o),t.memoizedState=r,t.baseState=r,e.memoizedProps=Je({},e.memoizedProps),r=bn(e,2),r!==null&&Ot(r,e,2))},VT=function(e,t,r){t=n(e,t),t!==null&&(r=u(t.memoizedState,r,0),t.memoizedState=r,t.baseState=r,e.memoizedProps=Je({},e.memoizedProps),r=bn(e,2),r!==null&&Ot(r,e,2))},LT=function(e,t,r,o){t=n(e,t),t!==null&&(r=i(t.memoizedState,r,o),t.memoizedState=r,t.baseState=r,e.memoizedProps=Je({},e.memoizedProps),r=bn(e,2),r!==null&&Ot(r,e,2))},BT=function(e,t,r){e.pendingProps=a(e.memoizedProps,t,0,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=bn(e,2),t!==null&&Ot(t,e,2)},HT=function(e,t){e.pendingProps=u(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=bn(e,2),t!==null&&Ot(t,e,2)},PT=function(e,t,r){e.pendingProps=i(e.memoizedProps,t,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=bn(e,2),t!==null&&Ot(t,e,2)},qT=function(e){var t=bn(e,2);t!==null&&Ot(t,e,2)},IT=function(e){var t=W(),r=bn(e,t);r!==null&&Ot(r,e,t)},FT=function(e){d=e},YT=function(e){f=e};var th=!0,nh=null,My=!1,Wi=null,eo=null,to=null,oc=new Map,sc=new Map,no=[],sz="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(" "),rh=null;if(Jf.prototype.render=rg.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var r=arguments;typeof r[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()."):R(r[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 r[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),r=e;var o=t.current,l=ir(o);Kp(o,l,r,t,null,null)},Jf.prototype.unmount=rg.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;(st&(nn|dr))!==cn&&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."),Kp(e.current,2,null,e,null,null),Es(),t[_i]=null}},Jf.prototype.unstable_scheduleHydration=function(e){if(e){var t=Nn();e={blockedOn:null,target:e,priority:t};for(var r=0;r<no.length&&t!==0&&t<no[r].priority;r++);no.splice(r,0,e),r===0&&tD(e)}},(function(){var e=ag.version;if(e!=="19.2.4")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
229
|
+
- react: `+(e+`
|
|
230
|
+
- react-dom: 19.2.4
|
|
231
|
+
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"),ft.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=re(t),e=e!==null?G(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:J,reconcilerVersion:"19.2.4"};return e.overrideHookState=jT,e.overrideHookStateDeletePath=VT,e.overrideHookStateRenamePath=LT,e.overrideProps=BT,e.overridePropsDeletePath=HT,e.overridePropsRenamePath=PT,e.scheduleUpdate=qT,e.scheduleRetry=IT,e.setErrorHandler=FT,e.setSuspenseHandler=YT,e.scheduleRefresh=N,e.scheduleRoot=S,e.setRefreshHandler=V,e.getCurrentFiber=cM,ls(e)})()&&wa&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var GT=window.location.protocol;/^(https?|file):$/.test(GT)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(GT==="file:"?`
|
|
232
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}lc.createRoot=function(e,t){if(!R(e))throw Error("Target container is not a DOM element.");iD(e);var r=!1,o="",l=n1,c=r1,m=a1;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===xa&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
233
|
+
|
|
234
|
+
let root = createRoot(domContainer);
|
|
235
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onUncaughtError!==void 0&&(l=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(m=t.onRecoverableError)),t=XS(e,1,!1,null,null,r,o,null,l,c,m,aD),e[_i]=t.current,Lp(e),new rg(t)},lc.hydrateRoot=function(e,t,r){if(!R(e))throw Error("Target container is not a DOM element.");iD(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var o=!1,l="",c=n1,m=r1,y=a1,D=null;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(l=r.identifierPrefix),r.onUncaughtError!==void 0&&(c=r.onUncaughtError),r.onCaughtError!==void 0&&(m=r.onCaughtError),r.onRecoverableError!==void 0&&(y=r.onRecoverableError),r.formState!==void 0&&(D=r.formState)),t=XS(e,1,!0,t,r??null,o,l,D,c,m,y,aD),t.context=QS(null),r=t.current,o=ir(r),o=an(o),l=Di(o),l.callback=null,Ei(r,l,o),sa(o,"hydrateRoot()",null),r=o,t.current.lanes=r,Te(t,r),ba(t),e[_i]=t.current,Lp(e),new Jf(t)},lc.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),lc}var nA;function yz(){return nA||(nA=1,Uy.exports=gz()),Uy.exports}var bz=yz();const vz=Rc(bz);const _N=(...n)=>n.filter((a,i,s)=>!!a&&a.trim()!==""&&s.indexOf(a)===i).join(" ").trim();const xz=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const Sz=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,i,s)=>s?s.toUpperCase():i.toLowerCase());const rA=n=>{const a=Sz(n);return a.charAt(0).toUpperCase()+a.slice(1)};var Dz={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"};const Ez=n=>{for(const a in n)if(a.startsWith("aria-")||a==="role"||a==="title")return!0;return!1};const Tz=me.forwardRef(({color:n="currentColor",size:a=24,strokeWidth:i=2,absoluteStrokeWidth:s,className:u="",children:f,iconNode:d,...h},b)=>me.createElement("svg",{ref:b,...Dz,width:a,height:a,stroke:n,strokeWidth:s?Number(i)*24/Number(a):i,className:_N("lucide",u),...!f&&!Ez(h)&&{"aria-hidden":"true"},...h},[...d.map(([g,p])=>me.createElement(g,p)),...Array.isArray(f)?f:[f]]));const kt=(n,a)=>{const i=me.forwardRef(({className:s,...u},f)=>me.createElement(Tz,{ref:f,iconNode:a,className:_N(`lucide-${xz(rA(n))}`,`lucide-${n}`,s),...u}));return i.displayName=rA(n),i};const Az=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],aA=kt("arrow-right",Az);const wz=[["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Nz=kt("ban",wz);const kz=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],zN=kt("brain",kz);const Cz=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Rz=kt("check",Cz);const Oz=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],mh=kt("chevron-down",Oz);const Mz=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],ph=kt("chevron-up",Mz);const _z=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Eb=kt("circle-check-big",_z);const zz=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],Uz=kt("circle-x",zz);const jz=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],uv=kt("clock",jz);const Vz=[["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"}]],cv=kt("eye",Vz);const Lz=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],fv=kt("file-text",Lz);const Bz=[["rect",{width:"8",height:"5",x:"14",y:"17",rx:"1",key:"19aais"}],["path",{d:"M10 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v2.5",key:"1w6v7t"}],["path",{d:"M20 17v-2a2 2 0 1 0-4 0v2",key:"pwaxnr"}]],Hz=kt("folder-lock",Bz);const Pz=[["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"}]],UN=kt("folder-open",Pz);const qz=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],iA=kt("gauge",qz);const Iz=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Fz=kt("info",Iz);const Yz=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],Gz=kt("layout-grid",Yz);const $z=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],Xz=kt("pen-line",$z);const Qz=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Zz=kt("search",Qz);const Jz=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],Kz=kt("send",Jz);const Wz=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],Nh=kt("shield",Wz);const eU=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],jN=kt("sparkles",eU);const tU=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],dv=kt("terminal",tU);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"}]],VN=kt("triangle-alert",nU);const rU=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],aU=kt("wrench",rU);const iU=[["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"}]],oU=kt("zap",iU);var By={exports:{}},uc={},oA;function sU(){if(oA)return uc;oA=1;return(function(){function n(U){if(U==null)return null;if(typeof U=="function")return U.$$typeof===he?null:U.displayName||U.name||null;if(typeof U=="string")return U;switch(U){case R:return"Fragment";case X:return"Profiler";case z:return"StrictMode";case G:return"Suspense";case ge:return"SuspenseList";case F:return"Activity"}if(typeof U=="object")switch(typeof U.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),U.$$typeof){case V:return"Portal";case ie:return U.displayName||"Context";case I:return(U._context.displayName||"Context")+".Consumer";case re:var ue=U.render;return U=U.displayName,U||(U=ue.displayName||ue.name||"",U=U!==""?"ForwardRef("+U+")":"ForwardRef"),U;case se:return ue=U.displayName||null,ue!==null?ue:n(U.type)||"Memo";case ce:ue=U._payload,U=U._init;try{return n(U(ue))}catch{}}return null}function a(U){return""+U}function i(U){try{a(U);var ue=!1}catch{ue=!0}if(ue){ue=console;var C=ue.error,xe=typeof Symbol=="function"&&Symbol.toStringTag&&U[Symbol.toStringTag]||U.constructor.name||"Object";return C.call(ue,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",xe),a(U)}}function s(U){if(U===R)return"<>";if(typeof U=="object"&&U!==null&&U.$$typeof===ce)return"<...>";try{var ue=n(U);return ue?"<"+ue+">":"<...>"}catch{return"<...>"}}function u(){var U=oe.A;return U===null?null:U.getOwner()}function f(){return Error("react-stack-top-frame")}function d(U){if(Q.call(U,"key")){var ue=Object.getOwnPropertyDescriptor(U,"key").get;if(ue&&ue.isReactWarning)return!1}return U.key!==void 0}function h(U,ue){function C(){Y||(Y=!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)",ue))}C.isReactWarning=!0,Object.defineProperty(U,"key",{get:C,configurable:!0})}function b(){var U=n(this.type);return le[U]||(le[U]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),U=this.props.ref,U!==void 0?U:null}function g(U,ue,C,xe,at,yn){var je=C.ref;return U={$$typeof:N,type:U,key:ue,props:C,_owner:xe},(je!==void 0?je:null)!==null?Object.defineProperty(U,"ref",{enumerable:!1,get:b}):Object.defineProperty(U,"ref",{enumerable:!1,value:null}),U._store={},Object.defineProperty(U._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(U,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(U,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:at}),Object.defineProperty(U,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:yn}),Object.freeze&&(Object.freeze(U.props),Object.freeze(U)),U}function p(U,ue,C,xe,at,yn){var je=ue.children;if(je!==void 0)if(xe)if(ne(je)){for(xe=0;xe<je.length;xe++)v(je[xe]);Object.freeze&&Object.freeze(je)}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 v(je);if(Q.call(ue,"key")){je=n(U);var Ke=Object.keys(ue).filter(function(Lt){return Lt!=="key"});xe=0<Ke.length?"{key: someKey, "+Ke.join(": ..., ")+": ...}":"{key: someKey}",O[je+xe]||(Ke=0<Ke.length?"{"+Ke.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
236
|
+
let props = %s;
|
|
237
|
+
<%s {...props} />
|
|
238
|
+
React keys must be passed directly to JSX without using spread:
|
|
239
|
+
let props = %s;
|
|
240
|
+
<%s key={someKey} {...props} />`,xe,je,Ke,je),O[je+xe]=!0)}if(je=null,C!==void 0&&(i(C),je=""+C),d(ue)&&(i(ue.key),je=""+ue.key),"key"in ue){C={};for(var Ut in ue)Ut!=="key"&&(C[Ut]=ue[Ut])}else C=ue;return je&&h(C,typeof U=="function"?U.displayName||U.name||"Unknown":U),g(U,je,C,u(),at,yn)}function v(U){x(U)?U._store&&(U._store.validated=1):typeof U=="object"&&U!==null&&U.$$typeof===ce&&(U._payload.status==="fulfilled"?x(U._payload.value)&&U._payload.value._store&&(U._payload.value._store.validated=1):U._store&&(U._store.validated=1))}function x(U){return typeof U=="object"&&U!==null&&U.$$typeof===N}var S=Oc(),N=Symbol.for("react.transitional.element"),V=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),ie=Symbol.for("react.context"),re=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),ge=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),ce=Symbol.for("react.lazy"),F=Symbol.for("react.activity"),he=Symbol.for("react.client.reference"),oe=S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=Object.prototype.hasOwnProperty,ne=Array.isArray,ae=console.createTask?console.createTask:function(){return null};S={react_stack_bottom_frame:function(U){return U()}};var Y,le={},ye=S.react_stack_bottom_frame.bind(S,f)(),Me=ae(s(f)),O={};uc.Fragment=R,uc.jsx=function(U,ue,C){var xe=1e4>oe.recentlyCreatedOwnerStacks++;return p(U,ue,C,!1,xe?Error("react-stack-top-frame"):ye,xe?ae(s(U)):Me)},uc.jsxs=function(U,ue,C){var xe=1e4>oe.recentlyCreatedOwnerStacks++;return p(U,ue,C,!0,xe?Error("react-stack-top-frame"):ye,xe?ae(s(U)):Me)}})(),uc}var sA;function lU(){return sA||(sA=1,By.exports=sU()),By.exports}var Vr=lU();const hv=me.createContext({});function mv(n){const a=me.useRef(null);return a.current===null&&(a.current=n()),a.current}const LN=typeof window<"u",BN=LN?me.useLayoutEffect:me.useEffect,Hh=me.createContext(null);function pv(n,a){n.indexOf(a)===-1&&n.push(a)}function kh(n,a){const i=n.indexOf(a);i>-1&&n.splice(i,1)}const Va=(n,a,i)=>i>a?a:i<n?n:i;function Tb(n,a){return a?`${n}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${a}`:n}let wl=()=>{},mi=()=>{};typeof process<"u"&&(wl=(n,a,i)=>{!n&&typeof console<"u"&&console.warn(Tb(a,i))},mi=(n,a,i)=>{if(!n)throw new Error(Tb(a,i))});const pi={},HN=n=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n);function PN(n){return typeof n=="object"&&n!==null}const qN=n=>/^0[^.\s]+$/u.test(n);function gv(n){let a;return()=>(a===void 0&&(a=n()),a)}const Lr=n=>n,uU=(n,a)=>i=>a(n(i)),Mc=(...n)=>n.reduce(uU),Tc=(n,a,i)=>{const s=a-n;return s===0?1:(i-n)/s};class yv{constructor(){this.subscriptions=[]}add(a){return pv(this.subscriptions,a),()=>kh(this.subscriptions,a)}notify(a,i,s){const u=this.subscriptions.length;if(u)if(u===1)this.subscriptions[0](a,i,s);else for(let f=0;f<u;f++){const d=this.subscriptions[f];d&&d(a,i,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Br=n=>n*1e3,jr=n=>n/1e3;function IN(n,a){return a?n*(1e3/a):0}const lA=new Set;function bv(n,a,i){n||lA.has(a)||(console.warn(Tb(a,i)),lA.add(a))}const FN=(n,a,i)=>(((1-3*i+3*a)*n+(3*i-6*a))*n+3*a)*n,cU=1e-7,fU=12;function dU(n,a,i,s,u){let f,d,h=0;do d=a+(i-a)/2,f=FN(d,s,u)-n,f>0?i=d:a=d;while(Math.abs(f)>cU&&++h<fU);return d}function _c(n,a,i,s){if(n===a&&i===s)return Lr;const u=f=>dU(f,0,1,n,i);return f=>f===0||f===1?f:FN(u(f),a,s)}const YN=n=>a=>a<=.5?n(2*a)/2:(2-n(2*(1-a)))/2,GN=n=>a=>1-n(1-a),$N=_c(.33,1.53,.69,.99),vv=GN($N),XN=YN(vv),QN=n=>(n*=2)<1?.5*vv(n):.5*(2-Math.pow(2,-10*(n-1))),xv=n=>1-Math.sin(Math.acos(n)),ZN=GN(xv),JN=YN(xv),hU=_c(.42,0,1,1),mU=_c(0,0,.58,1),KN=_c(.42,0,.58,1),pU=n=>Array.isArray(n)&&typeof n[0]!="number",WN=n=>Array.isArray(n)&&typeof n[0]=="number",uA={linear:Lr,easeIn:hU,easeInOut:KN,easeOut:mU,circIn:xv,circInOut:JN,circOut:ZN,backIn:vv,backInOut:XN,backOut:$N,anticipate:QN},gU=n=>typeof n=="string",cA=n=>{if(WN(n)){mi(n.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[a,i,s,u]=n;return _c(a,i,s,u)}else if(gU(n))return mi(uA[n]!==void 0,`Invalid easing type '${n}'`,"invalid-easing-type"),uA[n];return n},ih=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function yU(n,a){let i=new Set,s=new Set,u=!1,f=!1;const d=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function b(p){d.has(p)&&(g.schedule(p),n()),p(h)}const g={schedule:(p,v=!1,x=!1)=>{const N=x&&u?i:s;return v&&d.add(p),N.has(p)||N.add(p),p},cancel:p=>{s.delete(p),d.delete(p)},process:p=>{if(h=p,u){f=!0;return}u=!0,[i,s]=[s,i],i.forEach(b),i.clear(),u=!1,f&&(f=!1,g.process(p))}};return g}const bU=40;function ek(n,a){let i=!1,s=!0;const u={delta:0,timestamp:0,isProcessing:!1},f=()=>i=!0,d=ih.reduce((I,ie)=>(I[ie]=yU(f),I),{}),{setup:h,read:b,resolveKeyframes:g,preUpdate:p,update:v,preRender:x,render:S,postRender:N}=d,V=()=>{const I=pi.useManualTiming?u.timestamp:performance.now();i=!1,pi.useManualTiming||(u.delta=s?1e3/60:Math.max(Math.min(I-u.timestamp,bU),1)),u.timestamp=I,u.isProcessing=!0,h.process(u),b.process(u),g.process(u),p.process(u),v.process(u),x.process(u),S.process(u),N.process(u),u.isProcessing=!1,i&&a&&(s=!1,n(V))},R=()=>{i=!0,s=!0,u.isProcessing||n(V)};return{schedule:ih.reduce((I,ie)=>{const re=d[ie];return I[ie]=(G,ge=!1,se=!1)=>(i||R(),re.schedule(G,ge,se)),I},{}),cancel:I=>{for(let ie=0;ie<ih.length;ie++)d[ih[ie]].cancel(I)},state:u,steps:d}}const{schedule:At,cancel:lo,state:gn,steps:Hy}=ek(typeof requestAnimationFrame<"u"?requestAnimationFrame:Lr,!0);let gh;function vU(){gh=void 0}const Ln={now:()=>(gh===void 0&&Ln.set(gn.isProcessing||pi.useManualTiming?gn.timestamp:performance.now()),gh),set:n=>{gh=n,queueMicrotask(vU)}},tk=n=>a=>typeof a=="string"&&a.startsWith(n),nk=tk("--"),xU=tk("var(--"),Sv=n=>xU(n)?SU.test(n.split("/*")[0].trim()):!1,SU=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function fA(n){return typeof n!="string"?!1:n.split("/*")[0].includes("var(--")}const Nl={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},Ac={...Nl,transform:n=>Va(0,1,n)},oh={...Nl,default:1},bc=n=>Math.round(n*1e5)/1e5,Dv=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function DU(n){return n==null}const EU=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ev=(n,a)=>i=>!!(typeof i=="string"&&EU.test(i)&&i.startsWith(n)||a&&!DU(i)&&Object.prototype.hasOwnProperty.call(i,a)),rk=(n,a,i)=>s=>{if(typeof s!="string")return s;const[u,f,d,h]=s.match(Dv);return{[n]:parseFloat(u),[a]:parseFloat(f),[i]:parseFloat(d),alpha:h!==void 0?parseFloat(h):1}},TU=n=>Va(0,255,n),Py={...Nl,transform:n=>Math.round(TU(n))},ts={test:Ev("rgb","red"),parse:rk("red","green","blue"),transform:({red:n,green:a,blue:i,alpha:s=1})=>"rgba("+Py.transform(n)+", "+Py.transform(a)+", "+Py.transform(i)+", "+bc(Ac.transform(s))+")"};function AU(n){let a="",i="",s="",u="";return n.length>5?(a=n.substring(1,3),i=n.substring(3,5),s=n.substring(5,7),u=n.substring(7,9)):(a=n.substring(1,2),i=n.substring(2,3),s=n.substring(3,4),u=n.substring(4,5),a+=a,i+=i,s+=s,u+=u),{red:parseInt(a,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:u?parseInt(u,16)/255:1}}const Ab={test:Ev("#"),parse:AU,transform:ts.transform},zc=n=>({test:a=>typeof a=="string"&&a.endsWith(n)&&a.split(" ").length===1,parse:parseFloat,transform:a=>`${a}${n}`}),io=zc("deg"),ja=zc("%"),Ne=zc("px"),wU=zc("vh"),NU=zc("vw"),dA={...ja,parse:n=>ja.parse(n)/100,transform:n=>ja.transform(n*100)},pl={test:Ev("hsl","hue"),parse:rk("hue","saturation","lightness"),transform:({hue:n,saturation:a,lightness:i,alpha:s=1})=>"hsla("+Math.round(n)+", "+ja.transform(bc(a))+", "+ja.transform(bc(i))+", "+bc(Ac.transform(s))+")"},Kt={test:n=>ts.test(n)||Ab.test(n)||pl.test(n),parse:n=>ts.test(n)?ts.parse(n):pl.test(n)?pl.parse(n):Ab.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?ts.transform(n):pl.transform(n),getAnimatableNone:n=>{const a=Kt.parse(n);return a.alpha=0,Kt.transform(a)}},kU=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function CU(n){return isNaN(n)&&typeof n=="string"&&(n.match(Dv)?.length||0)+(n.match(kU)?.length||0)>0}const ak="number",ik="color",RU="var",OU="var(",hA="${}",MU=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function wc(n){const a=n.toString(),i=[],s={color:[],number:[],var:[]},u=[];let f=0;const h=a.replace(MU,b=>(Kt.test(b)?(s.color.push(f),u.push(ik),i.push(Kt.parse(b))):b.startsWith(OU)?(s.var.push(f),u.push(RU),i.push(b)):(s.number.push(f),u.push(ak),i.push(parseFloat(b))),++f,hA)).split(hA);return{values:i,split:h,indexes:s,types:u}}function ok(n){return wc(n).values}function sk(n){const{split:a,types:i}=wc(n),s=a.length;return u=>{let f="";for(let d=0;d<s;d++)if(f+=a[d],u[d]!==void 0){const h=i[d];h===ak?f+=bc(u[d]):h===ik?f+=Kt.transform(u[d]):f+=u[d]}return f}}const _U=n=>typeof n=="number"?0:Kt.test(n)?Kt.getAnimatableNone(n):n;function zU(n){const a=ok(n);return sk(n)(a.map(_U))}const uo={test:CU,parse:ok,createTransformer:sk,getAnimatableNone:zU};function qy(n,a,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?n+(a-n)*6*i:i<1/2?a:i<2/3?n+(a-n)*(2/3-i)*6:n}function UU({hue:n,saturation:a,lightness:i,alpha:s}){n/=360,a/=100,i/=100;let u=0,f=0,d=0;if(!a)u=f=d=i;else{const h=i<.5?i*(1+a):i+a-i*a,b=2*i-h;u=qy(b,h,n+1/3),f=qy(b,h,n),d=qy(b,h,n-1/3)}return{red:Math.round(u*255),green:Math.round(f*255),blue:Math.round(d*255),alpha:s}}function Ch(n,a){return i=>i>0?a:n}const zt=(n,a,i)=>n+(a-n)*i,Iy=(n,a,i)=>{const s=n*n,u=i*(a*a-s)+s;return u<0?0:Math.sqrt(u)},jU=[Ab,ts,pl],VU=n=>jU.find(a=>a.test(n));function mA(n){const a=VU(n);if(wl(!!a,`'${n}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!a)return!1;let i=a.parse(n);return a===pl&&(i=UU(i)),i}const pA=(n,a)=>{const i=mA(n),s=mA(a);if(!i||!s)return Ch(n,a);const u={...i};return f=>(u.red=Iy(i.red,s.red,f),u.green=Iy(i.green,s.green,f),u.blue=Iy(i.blue,s.blue,f),u.alpha=zt(i.alpha,s.alpha,f),ts.transform(u))},wb=new Set(["none","hidden"]);function LU(n,a){return wb.has(n)?i=>i<=0?n:a:i=>i>=1?a:n}function BU(n,a){return i=>zt(n,a,i)}function Tv(n){return typeof n=="number"?BU:typeof n=="string"?Sv(n)?Ch:Kt.test(n)?pA:qU:Array.isArray(n)?lk:typeof n=="object"?Kt.test(n)?pA:HU:Ch}function lk(n,a){const i=[...n],s=i.length,u=n.map((f,d)=>Tv(f)(f,a[d]));return f=>{for(let d=0;d<s;d++)i[d]=u[d](f);return i}}function HU(n,a){const i={...n,...a},s={};for(const u in i)n[u]!==void 0&&a[u]!==void 0&&(s[u]=Tv(n[u])(n[u],a[u]));return u=>{for(const f in s)i[f]=s[f](u);return i}}function PU(n,a){const i=[],s={color:0,var:0,number:0};for(let u=0;u<a.values.length;u++){const f=a.types[u],d=n.indexes[f][s[f]],h=n.values[d]??0;i[u]=h,s[f]++}return i}const qU=(n,a)=>{const i=uo.createTransformer(a),s=wc(n),u=wc(a);return s.indexes.var.length===u.indexes.var.length&&s.indexes.color.length===u.indexes.color.length&&s.indexes.number.length>=u.indexes.number.length?wb.has(n)&&!u.values.length||wb.has(a)&&!s.values.length?LU(n,a):Mc(lk(PU(s,u),u.values),i):(wl(!0,`Complex values '${n}' and '${a}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Ch(n,a))};function uk(n,a,i){return typeof n=="number"&&typeof a=="number"&&typeof i=="number"?zt(n,a,i):Tv(n)(n,a)}const IU=n=>{const a=({timestamp:i})=>n(i);return{start:(i=!0)=>At.update(a,i),stop:()=>lo(a),now:()=>gn.isProcessing?gn.timestamp:Ln.now()}},ck=(n,a,i=10)=>{let s="";const u=Math.max(Math.round(a/i),2);for(let f=0;f<u;f++)s+=Math.round(n(f/(u-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},Rh=2e4;function Av(n){let a=0;const i=50;let s=n.next(a);for(;!s.done&&a<Rh;)a+=i,s=n.next(a);return a>=Rh?1/0:a}function FU(n,a=100,i){const s=i({...n,keyframes:[0,a]}),u=Math.min(Av(s),Rh);return{type:"keyframes",ease:f=>s.next(u*f).value/a,duration:jr(u)}}const YU=5;function fk(n,a,i){const s=Math.max(a-YU,0);return IN(i-n(s),a-s)}const _t={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Fy=.001;function GU({duration:n=_t.duration,bounce:a=_t.bounce,velocity:i=_t.velocity,mass:s=_t.mass}){let u,f;wl(n<=Br(_t.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let d=1-a;d=Va(_t.minDamping,_t.maxDamping,d),n=Va(_t.minDuration,_t.maxDuration,jr(n)),d<1?(u=g=>{const p=g*d,v=p*n,x=p-i,S=Nb(g,d),N=Math.exp(-v);return Fy-x/S*N},f=g=>{const v=g*d*n,x=v*i+i,S=Math.pow(d,2)*Math.pow(g,2)*n,N=Math.exp(-v),V=Nb(Math.pow(g,2),d);return(-u(g)+Fy>0?-1:1)*((x-S)*N)/V}):(u=g=>{const p=Math.exp(-g*n),v=(g-i)*n+1;return-Fy+p*v},f=g=>{const p=Math.exp(-g*n),v=(i-g)*(n*n);return p*v});const h=5/n,b=XU(u,f,h);if(n=Br(n),isNaN(b))return{stiffness:_t.stiffness,damping:_t.damping,duration:n};{const g=Math.pow(b,2)*s;return{stiffness:g,damping:d*2*Math.sqrt(s*g),duration:n}}}const $U=12;function XU(n,a,i){let s=i;for(let u=1;u<$U;u++)s=s-n(s)/a(s);return s}function Nb(n,a){return n*Math.sqrt(1-a*a)}const QU=["duration","bounce"],ZU=["stiffness","damping","mass"];function gA(n,a){return a.some(i=>n[i]!==void 0)}function JU(n){let a={velocity:_t.velocity,stiffness:_t.stiffness,damping:_t.damping,mass:_t.mass,isResolvedFromDuration:!1,...n};if(!gA(n,ZU)&&gA(n,QU))if(n.visualDuration){const i=n.visualDuration,s=2*Math.PI/(i*1.2),u=s*s,f=2*Va(.05,1,1-(n.bounce||0))*Math.sqrt(u);a={...a,mass:_t.mass,stiffness:u,damping:f}}else{const i=GU(n);a={...a,...i,mass:_t.mass},a.isResolvedFromDuration=!0}return a}function Oh(n=_t.visualDuration,a=_t.bounce){const i=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:a}:n;let{restSpeed:s,restDelta:u}=i;const f=i.keyframes[0],d=i.keyframes[i.keyframes.length-1],h={done:!1,value:f},{stiffness:b,damping:g,mass:p,duration:v,velocity:x,isResolvedFromDuration:S}=JU({...i,velocity:-jr(i.velocity||0)}),N=x||0,V=g/(2*Math.sqrt(b*p)),R=d-f,z=jr(Math.sqrt(b/p)),X=Math.abs(R)<5;s||(s=X?_t.restSpeed.granular:_t.restSpeed.default),u||(u=X?_t.restDelta.granular:_t.restDelta.default);let I;if(V<1){const re=Nb(z,V);I=G=>{const ge=Math.exp(-V*z*G);return d-ge*((N+V*z*R)/re*Math.sin(re*G)+R*Math.cos(re*G))}}else if(V===1)I=re=>d-Math.exp(-z*re)*(R+(N+z*R)*re);else{const re=z*Math.sqrt(V*V-1);I=G=>{const ge=Math.exp(-V*z*G),se=Math.min(re*G,300);return d-ge*((N+V*z*R)*Math.sinh(se)+re*R*Math.cosh(se))/re}}const ie={calculatedDuration:S&&v||null,next:re=>{const G=I(re);if(S)h.done=re>=v;else{let ge=re===0?N:0;V<1&&(ge=re===0?Br(N):fk(I,re,G));const se=Math.abs(ge)<=s,ce=Math.abs(d-G)<=u;h.done=se&&ce}return h.value=h.done?d:G,h},toString:()=>{const re=Math.min(Av(ie),Rh),G=ck(ge=>ie.next(re*ge).value,re,30);return re+"ms "+G},toTransition:()=>{}};return ie}Oh.applyToOptions=n=>{const a=FU(n,100,Oh);return n.ease=a.ease,n.duration=Br(a.duration),n.type="keyframes",n};function kb({keyframes:n,velocity:a=0,power:i=.8,timeConstant:s=325,bounceDamping:u=10,bounceStiffness:f=500,modifyTarget:d,min:h,max:b,restDelta:g=.5,restSpeed:p}){const v=n[0],x={done:!1,value:v},S=se=>h!==void 0&&se<h||b!==void 0&&se>b,N=se=>h===void 0?b:b===void 0||Math.abs(h-se)<Math.abs(b-se)?h:b;let V=i*a;const R=v+V,z=d===void 0?R:d(R);z!==R&&(V=z-v);const X=se=>-V*Math.exp(-se/s),I=se=>z+X(se),ie=se=>{const ce=X(se),F=I(se);x.done=Math.abs(ce)<=g,x.value=x.done?z:F};let re,G;const ge=se=>{S(x.value)&&(re=se,G=Oh({keyframes:[x.value,N(x.value)],velocity:fk(I,se,x.value),damping:u,stiffness:f,restDelta:g,restSpeed:p}))};return ge(0),{calculatedDuration:null,next:se=>{let ce=!1;return!G&&re===void 0&&(ce=!0,ie(se),ge(se)),re!==void 0&&se>=re?G.next(se-re):(!ce&&ie(se),x)}}}function KU(n,a,i){const s=[],u=i||pi.mix||uk,f=n.length-1;for(let d=0;d<f;d++){let h=u(n[d],n[d+1]);if(a){const b=Array.isArray(a)?a[d]||Lr:a;h=Mc(b,h)}s.push(h)}return s}function WU(n,a,{clamp:i=!0,ease:s,mixer:u}={}){const f=n.length;if(mi(f===a.length,"Both input and output ranges must be the same length","range-length"),f===1)return()=>a[0];if(f===2&&a[0]===a[1])return()=>a[1];const d=n[0]===n[1];n[0]>n[f-1]&&(n=[...n].reverse(),a=[...a].reverse());const h=KU(a,s,u),b=h.length,g=p=>{if(d&&p<n[0])return a[0];let v=0;if(b>1)for(;v<n.length-2&&!(p<n[v+1]);v++);const x=Tc(n[v],n[v+1],p);return h[v](x)};return i?p=>g(Va(n[0],n[f-1],p)):g}function e3(n,a){const i=n[n.length-1];for(let s=1;s<=a;s++){const u=Tc(0,a,s);n.push(zt(i,1,u))}}function t3(n){const a=[0];return e3(a,n.length-1),a}function n3(n,a){return n.map(i=>i*a)}function r3(n,a){return n.map(()=>a||KN).splice(0,n.length-1)}function gl({duration:n=300,keyframes:a,times:i,ease:s="easeInOut"}){const u=pU(s)?s.map(cA):cA(s),f={done:!1,value:a[0]},d=n3(i&&i.length===a.length?i:t3(a),n),h=WU(d,a,{ease:Array.isArray(u)?u:r3(a,u)});return{calculatedDuration:n,next:b=>(f.value=h(b),f.done=b>=n,f)}}const a3=n=>n!==null;function wv(n,{repeat:a,repeatType:i="loop"},s,u=1){const f=n.filter(a3),h=u<0||a&&i!=="loop"&&a%2===1?0:f.length-1;return!h||s===void 0?f[h]:s}const i3={decay:kb,inertia:kb,tween:gl,keyframes:gl,spring:Oh};function dk(n){typeof n.type=="string"&&(n.type=i3[n.type])}class Nv{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(a=>{this.resolve=a})}notifyFinished(){this.resolve()}then(a,i){return this.finished.then(a,i)}}const o3=n=>n/100;class kv extends Nv{constructor(a){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:i}=this.options;i&&i.updatedAt!==Ln.now()&&this.tick(Ln.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=a,this.initAnimation(),this.play(),a.autoplay===!1&&this.pause()}initAnimation(){const{options:a}=this;dk(a);const{type:i=gl,repeat:s=0,repeatDelay:u=0,repeatType:f,velocity:d=0}=a;let{keyframes:h}=a;const b=i||gl;b!==gl&&mi(h.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${h}`,"spring-two-frames"),b!==gl&&typeof h[0]!="number"&&(this.mixKeyframes=Mc(o3,uk(h[0],h[1])),h=[0,100]);const g=b({...a,keyframes:h});f==="mirror"&&(this.mirroredGenerator=b({...a,keyframes:[...h].reverse(),velocity:-d})),g.calculatedDuration===null&&(g.calculatedDuration=Av(g));const{calculatedDuration:p}=g;this.calculatedDuration=p,this.resolvedDuration=p+u,this.totalDuration=this.resolvedDuration*(s+1)-u,this.generator=g}updateTime(a){const i=Math.round(a-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(a,i=!1){const{generator:s,totalDuration:u,mixKeyframes:f,mirroredGenerator:d,resolvedDuration:h,calculatedDuration:b}=this;if(this.startTime===null)return s.next(0);const{delay:g=0,keyframes:p,repeat:v,repeatType:x,repeatDelay:S,type:N,onUpdate:V,finalKeyframe:R}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,a):this.speed<0&&(this.startTime=Math.min(a-u/this.speed,this.startTime)),i?this.currentTime=a:this.updateTime(a);const z=this.currentTime-g*(this.playbackSpeed>=0?1:-1),X=this.playbackSpeed>=0?z<0:z>u;this.currentTime=Math.max(z,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let I=this.currentTime,ie=s;if(v){const se=Math.min(this.currentTime,u)/h;let ce=Math.floor(se),F=se%1;!F&&se>=1&&(F=1),F===1&&ce--,ce=Math.min(ce,v+1),ce%2&&(x==="reverse"?(F=1-F,S&&(F-=S/h)):x==="mirror"&&(ie=d)),I=Va(0,1,F)*h}const re=X?{done:!1,value:p[0]}:ie.next(I);f&&(re.value=f(re.value));let{done:G}=re;!X&&b!==null&&(G=this.playbackSpeed>=0?this.currentTime>=u:this.currentTime<=0);const ge=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&G);return ge&&N!==kb&&(re.value=wv(p,this.options,R,this.speed)),V&&V(re.value),ge&&this.finish(),re}then(a,i){return this.finished.then(a,i)}get duration(){return jr(this.calculatedDuration)}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+jr(a)}get time(){return jr(this.currentTime)}set time(a){a=Br(a),this.currentTime=a,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=a:this.driver&&(this.startTime=this.driver.now()-a/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(a){this.updateTime(Ln.now());const i=this.playbackSpeed!==a;this.playbackSpeed=a,i&&(this.time=jr(this.currentTime))}play(){if(this.isStopped)return;const{driver:a=IU,startTime:i}=this.options;this.driver||(this.driver=a(u=>this.tick(u))),this.options.onPlay?.();const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=i??s),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ln.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(a){return this.startTime=0,this.tick(a,!0)}attachTimeline(a){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),a.observe(this)}}function s3(n){for(let a=1;a<n.length;a++)n[a]??(n[a]=n[a-1])}const ns=n=>n*180/Math.PI,Cb=n=>{const a=ns(Math.atan2(n[1],n[0]));return Rb(a)},l3={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:n=>(Math.abs(n[0])+Math.abs(n[3]))/2,rotate:Cb,rotateZ:Cb,skewX:n=>ns(Math.atan(n[1])),skewY:n=>ns(Math.atan(n[2])),skew:n=>(Math.abs(n[1])+Math.abs(n[2]))/2},Rb=n=>(n=n%360,n<0&&(n+=360),n),yA=Cb,bA=n=>Math.sqrt(n[0]*n[0]+n[1]*n[1]),vA=n=>Math.sqrt(n[4]*n[4]+n[5]*n[5]),u3={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:bA,scaleY:vA,scale:n=>(bA(n)+vA(n))/2,rotateX:n=>Rb(ns(Math.atan2(n[6],n[5]))),rotateY:n=>Rb(ns(Math.atan2(-n[2],n[0]))),rotateZ:yA,rotate:yA,skewX:n=>ns(Math.atan(n[4])),skewY:n=>ns(Math.atan(n[1])),skew:n=>(Math.abs(n[1])+Math.abs(n[4]))/2};function Ob(n){return n.includes("scale")?1:0}function Mb(n,a){if(!n||n==="none")return Ob(a);const i=n.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,u;if(i)s=u3,u=i;else{const h=n.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=l3,u=h}if(!u)return Ob(a);const f=s[a],d=u[1].split(",").map(f3);return typeof f=="function"?f(d):d[f]}const c3=(n,a)=>{const{transform:i="none"}=getComputedStyle(n);return Mb(i,a)};function f3(n){return parseFloat(n.trim())}const kl=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Cl=new Set(kl),xA=n=>n===Nl||n===Ne,d3=new Set(["x","y","z"]),h3=kl.filter(n=>!d3.has(n));function m3(n){const a=[];return h3.forEach(i=>{const s=n.getValue(i);s!==void 0&&(a.push([i,s.get()]),s.set(i.startsWith("scale")?1:0))}),a}const oo={width:({x:n},{paddingLeft:a="0",paddingRight:i="0"})=>n.max-n.min-parseFloat(a)-parseFloat(i),height:({y:n},{paddingTop:a="0",paddingBottom:i="0"})=>n.max-n.min-parseFloat(a)-parseFloat(i),top:(n,{top:a})=>parseFloat(a),left:(n,{left:a})=>parseFloat(a),bottom:({y:n},{top:a})=>parseFloat(a)+(n.max-n.min),right:({x:n},{left:a})=>parseFloat(a)+(n.max-n.min),x:(n,{transform:a})=>Mb(a,"x"),y:(n,{transform:a})=>Mb(a,"y")};oo.translateX=oo.x;oo.translateY=oo.y;const as=new Set;let _b=!1,zb=!1,Ub=!1;function hk(){if(zb){const n=Array.from(as).filter(s=>s.needsMeasurement),a=new Set(n.map(s=>s.element)),i=new Map;a.forEach(s=>{const u=m3(s);u.length&&(i.set(s,u),s.render())}),n.forEach(s=>s.measureInitialState()),a.forEach(s=>{s.render();const u=i.get(s);u&&u.forEach(([f,d])=>{s.getValue(f)?.set(d)})}),n.forEach(s=>s.measureEndState()),n.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}zb=!1,_b=!1,as.forEach(n=>n.complete(Ub)),as.clear()}function mk(){as.forEach(n=>{n.readKeyframes(),n.needsMeasurement&&(zb=!0)})}function p3(){Ub=!0,mk(),hk(),Ub=!1}class Cv{constructor(a,i,s,u,f,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...a],this.onComplete=i,this.name=s,this.motionValue=u,this.element=f,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(as.add(this),_b||(_b=!0,At.read(mk),At.resolveKeyframes(hk))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:a,name:i,element:s,motionValue:u}=this;if(a[0]===null){const f=u?.get(),d=a[a.length-1];if(f!==void 0)a[0]=f;else if(s&&i){const h=s.readValue(i,d);h!=null&&(a[0]=h)}a[0]===void 0&&(a[0]=d),u&&f===void 0&&u.set(a[0])}s3(a)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(a=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,a),as.delete(this)}cancel(){this.state==="scheduled"&&(as.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const g3=n=>n.startsWith("--");function y3(n,a,i){g3(a)?n.style.setProperty(a,i):n.style[a]=i}const b3=gv(()=>window.ScrollTimeline!==void 0),v3={};function x3(n,a){const i=gv(n);return()=>v3[a]??i()}const pk=x3(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),yc=([n,a,i,s])=>`cubic-bezier(${n}, ${a}, ${i}, ${s})`,SA={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:yc([0,.65,.55,1]),circOut:yc([.55,0,1,.45]),backIn:yc([.31,.01,.66,-.59]),backOut:yc([.33,1.53,.69,.99])};function gk(n,a){if(n)return typeof n=="function"?pk()?ck(n,a):"ease-out":WN(n)?yc(n):Array.isArray(n)?n.map(i=>gk(i,a)||SA.easeOut):SA[n]}function S3(n,a,i,{delay:s=0,duration:u=300,repeat:f=0,repeatType:d="loop",ease:h="easeOut",times:b}={},g=void 0){const p={[a]:i};b&&(p.offset=b);const v=gk(h,u);Array.isArray(v)&&(p.easing=v);const x={delay:s,duration:u,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:f+1,direction:d==="reverse"?"alternate":"normal"};return g&&(x.pseudoElement=g),n.animate(p,x)}function yk(n){return typeof n=="function"&&"applyToOptions"in n}function D3({type:n,...a}){return yk(n)&&pk()?n.applyToOptions(a):(a.duration??(a.duration=300),a.ease??(a.ease="easeOut"),a)}class bk extends Nv{constructor(a){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!a)return;const{element:i,name:s,keyframes:u,pseudoElement:f,allowFlatten:d=!1,finalKeyframe:h,onComplete:b}=a;this.isPseudoElement=!!f,this.allowFlatten=d,this.options=a,mi(typeof a.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const g=D3(a);this.animation=S3(i,s,u,g,f),g.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!f){const p=wv(u,this.options,h,this.speed);this.updateMotionValue?this.updateMotionValue(p):y3(i,s,p),this.animation.cancel()}b?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:a}=this;a==="idle"||a==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const a=this.options?.element;!this.isPseudoElement&&a?.isConnected&&this.animation.commitStyles?.()}get duration(){const a=this.animation.effect?.getComputedTiming?.().duration||0;return jr(Number(a))}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+jr(a)}get time(){return jr(Number(this.animation.currentTime)||0)}set time(a){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Br(a)}get speed(){return this.animation.playbackRate}set speed(a){a<0&&(this.finishedTime=null),this.animation.playbackRate=a}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(a){this.manualStartTime=this.animation.startTime=a}attachTimeline({timeline:a,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,a&&b3()?(this.animation.timeline=a,Lr):i(this)}}const vk={anticipate:QN,backInOut:XN,circInOut:JN};function E3(n){return n in vk}function T3(n){typeof n.ease=="string"&&E3(n.ease)&&(n.ease=vk[n.ease])}const Yy=10;class A3 extends bk{constructor(a){T3(a),dk(a),super(a),a.startTime!==void 0&&(this.startTime=a.startTime),this.options=a}updateMotionValue(a){const{motionValue:i,onUpdate:s,onComplete:u,element:f,...d}=this.options;if(!i)return;if(a!==void 0){i.set(a);return}const h=new kv({...d,autoplay:!1}),b=Math.max(Yy,Ln.now()-this.startTime),g=Va(0,Yy,b-Yy);i.setWithVelocity(h.sample(Math.max(0,b-g)).value,h.sample(b).value,g),h.stop()}}const DA=(n,a)=>a==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(uo.test(n)||n==="0")&&!n.startsWith("url("));function w3(n){const a=n[0];if(n.length===1)return!0;for(let i=0;i<n.length;i++)if(n[i]!==a)return!0}function N3(n,a,i,s){const u=n[0];if(u===null)return!1;if(a==="display"||a==="visibility")return!0;const f=n[n.length-1],d=DA(u,a),h=DA(f,a);return wl(d===h,`You are trying to animate ${a} from "${u}" to "${f}". "${d?f:u}" is not an animatable value.`,"value-not-animatable"),!d||!h?!1:w3(n)||(i==="spring"||yk(i))&&s}function jb(n){n.duration=0,n.type="keyframes"}const k3=new Set(["opacity","clipPath","filter","transform"]),C3=gv(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function R3(n){const{motionValue:a,name:i,repeatDelay:s,repeatType:u,damping:f,type:d}=n;if(!(a?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:b,transformTemplate:g}=a.owner.getProps();return C3()&&i&&k3.has(i)&&(i!=="transform"||!g)&&!b&&!s&&u!=="mirror"&&f!==0&&d!=="inertia"}const O3=40;class M3 extends Nv{constructor({autoplay:a=!0,delay:i=0,type:s="keyframes",repeat:u=0,repeatDelay:f=0,repeatType:d="loop",keyframes:h,name:b,motionValue:g,element:p,...v}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Ln.now();const x={autoplay:a,delay:i,type:s,repeat:u,repeatDelay:f,repeatType:d,name:b,motionValue:g,element:p,...v},S=p?.KeyframeResolver||Cv;this.keyframeResolver=new S(h,(N,V,R)=>this.onKeyframesResolved(N,V,x,!R),b,g,p),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(a,i,s,u){this.keyframeResolver=void 0;const{name:f,type:d,velocity:h,delay:b,isHandoff:g,onUpdate:p}=s;this.resolvedAt=Ln.now(),N3(a,f,d,h)||((pi.instantAnimations||!b)&&p?.(wv(a,s,i)),a[0]=a[a.length-1],jb(s),s.repeat=0);const x={startTime:u?this.resolvedAt?this.resolvedAt-this.createdAt>O3?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...s,keyframes:a},S=!g&&R3(x),N=x.motionValue?.owner?.current,V=S?new A3({...x,element:N}):new kv(x);V.finished.then(()=>{this.notifyFinished()}).catch(Lr),this.pendingTimeline&&(this.stopTimeline=V.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=V}get finished(){return this._animation?this.animation.finished:this._finished}then(a,i){return this.finished.finally(a).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),p3()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(a){this.animation.time=a}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(a){this.animation.speed=a}get startTime(){return this.animation.startTime}attachTimeline(a){return this._animation?this.stopTimeline=this.animation.attachTimeline(a):this.pendingTimeline=a,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function xk(n,a,i,s=0,u=1){const f=Array.from(n).sort((g,p)=>g.sortNodePosition(p)).indexOf(a),d=n.size,h=(d-1)*s;return typeof i=="function"?i(f,d):u===1?f*s:h-f*s}const _3=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function z3(n){const a=_3.exec(n);if(!a)return[,];const[,i,s,u]=a;return[`--${i??s}`,u]}const U3=4;function Sk(n,a,i=1){mi(i<=U3,`Max CSS variable fallback depth detected in property "${n}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[s,u]=z3(n);if(!s)return;const f=window.getComputedStyle(a).getPropertyValue(s);if(f){const d=f.trim();return HN(d)?parseFloat(d):d}return Sv(u)?Sk(u,a,i+1):u}const j3={type:"spring",stiffness:500,damping:25,restSpeed:10},V3=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),L3={type:"keyframes",duration:.8},B3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},H3=(n,{keyframes:a})=>a.length>2?L3:Cl.has(n)?n.startsWith("scale")?V3(a[1]):j3:B3,P3=n=>n!==null;function q3(n,{repeat:a,repeatType:i="loop"},s){const u=n.filter(P3),f=a&&i!=="loop"&&a%2===1?0:u.length-1;return u[f]}function Dk(n,a){if(n?.inherit&&a){const{inherit:i,...s}=n;return{...a,...s}}return n}function Rv(n,a){const i=n?.[a]??n?.default??n;return i!==n?Dk(i,n):i}function I3({when:n,delay:a,delayChildren:i,staggerChildren:s,staggerDirection:u,repeat:f,repeatType:d,repeatDelay:h,from:b,elapsed:g,...p}){return!!Object.keys(p).length}const Ov=(n,a,i,s={},u,f)=>d=>{const h=Rv(s,n)||{},b=h.delay||s.delay||0;let{elapsed:g=0}=s;g=g-Br(b);const p={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:a.getVelocity(),...h,delay:-g,onUpdate:x=>{a.set(x),h.onUpdate&&h.onUpdate(x)},onComplete:()=>{d(),h.onComplete&&h.onComplete()},name:n,motionValue:a,element:f?void 0:u};I3(h)||Object.assign(p,H3(n,p)),p.duration&&(p.duration=Br(p.duration)),p.repeatDelay&&(p.repeatDelay=Br(p.repeatDelay)),p.from!==void 0&&(p.keyframes[0]=p.from);let v=!1;if((p.type===!1||p.duration===0&&!p.repeatDelay)&&(jb(p),p.delay===0&&(v=!0)),(pi.instantAnimations||pi.skipAnimations||u?.shouldSkipAnimations)&&(v=!0,jb(p),p.delay=0),p.allowFlatten=!h.type&&!h.ease,v&&!f&&a.get()!==void 0){const x=q3(p.keyframes,h);if(x!==void 0){At.update(()=>{p.onUpdate(x),p.onComplete()});return}}return h.isSync?new kv(p):new M3(p)};function EA(n){const a=[{},{}];return n?.values.forEach((i,s)=>{a[0][s]=i.get(),a[1][s]=i.getVelocity()}),a}function Mv(n,a,i,s){if(typeof a=="function"){const[u,f]=EA(s);a=a(i!==void 0?i:n.custom,u,f)}if(typeof a=="string"&&(a=n.variants&&n.variants[a]),typeof a=="function"){const[u,f]=EA(s);a=a(i!==void 0?i:n.custom,u,f)}return a}function Sl(n,a,i){const s=n.getProps();return Mv(s,a,i!==void 0?i:s.custom,n)}const Ek=new Set(["width","height","top","left","right","bottom",...kl]),TA=30,F3=n=>!isNaN(parseFloat(n));class Y3{constructor(a,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{const u=Ln.now();if(this.updatedAt!==u&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const f of this.dependents)f.dirty()},this.hasAnimated=!1,this.setCurrent(a),this.owner=i.owner}setCurrent(a){this.current=a,this.updatedAt=Ln.now(),this.canTrackVelocity===null&&a!==void 0&&(this.canTrackVelocity=F3(this.current))}setPrevFrameValue(a=this.current){this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt}onChange(a){return bv(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",a)}on(a,i){this.events[a]||(this.events[a]=new yv);const s=this.events[a].add(i);return a==="change"?()=>{s(),At.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const a in this.events)this.events[a].clear()}attach(a,i){this.passiveEffect=a,this.stopPassiveEffect=i}set(a){this.passiveEffect?this.passiveEffect(a,this.updateAndNotify):this.updateAndNotify(a)}setWithVelocity(a,i,s){this.set(i),this.prev=void 0,this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt-s}jump(a,i=!0){this.updateAndNotify(a),this.prev=a,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(a){this.dependents||(this.dependents=new Set),this.dependents.add(a)}removeDependent(a){this.dependents&&this.dependents.delete(a)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const a=Ln.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||a-this.updatedAt>TA)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,TA);return IN(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(a){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=a(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Tl(n,a){return new Y3(n,a)}const Vb=n=>Array.isArray(n);function G3(n,a,i){n.hasValue(a)?n.getValue(a).set(i):n.addValue(a,Tl(i))}function $3(n){return Vb(n)?n[n.length-1]||0:n}function X3(n,a){const i=Sl(n,a);let{transitionEnd:s={},transition:u={},...f}=i||{};f={...f,...s};for(const d in f){const h=$3(f[d]);G3(n,d,h)}}const En=n=>!!(n&&n.getVelocity);function Q3(n){return!!(En(n)&&n.add)}function Lb(n,a){const i=n.getValue("willChange");if(Q3(i))return i.add(a);if(!i&&pi.WillChange){const s=new pi.WillChange("auto");n.addValue("willChange",s),s.add(a)}}function _v(n){return n.replace(/([A-Z])/g,a=>`-${a.toLowerCase()}`)}const Z3="framerAppearId",Tk="data-"+_v(Z3);function Ak(n){return n.props[Tk]}function J3({protectedKeys:n,needsAnimating:a},i){const s=n.hasOwnProperty(i)&&a[i]!==!0;return a[i]=!1,s}function wk(n,a,{delay:i=0,transitionOverride:s,type:u}={}){let{transition:f,transitionEnd:d,...h}=a;const b=n.getDefaultTransition();f=f?Dk(f,b):b;const g=f?.reduceMotion;s&&(f=s);const p=[],v=u&&n.animationState&&n.animationState.getState()[u];for(const x in h){const S=n.getValue(x,n.latestValues[x]??null),N=h[x];if(N===void 0||v&&J3(v,x))continue;const V={delay:i,...Rv(f||{},x)},R=S.get();if(R!==void 0&&!S.isAnimating&&!Array.isArray(N)&&N===R&&!V.velocity)continue;let z=!1;if(window.MotionHandoffAnimation){const ie=Ak(n);if(ie){const re=window.MotionHandoffAnimation(ie,x,At);re!==null&&(V.startTime=re,z=!0)}}Lb(n,x);const X=g??n.shouldReduceMotion;S.start(Ov(x,S,N,X&&Ek.has(x)?{type:!1}:V,n,z));const I=S.animation;I&&p.push(I)}if(d){const x=()=>At.update(()=>{d&&X3(n,d)});p.length?Promise.all(p).then(x):x()}return p}function Bb(n,a,i={}){const s=Sl(n,a,i.type==="exit"?n.presenceContext?.custom:void 0);let{transition:u=n.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(u=i.transitionOverride);const f=s?()=>Promise.all(wk(n,s,i)):()=>Promise.resolve(),d=n.variantChildren&&n.variantChildren.size?(b=0)=>{const{delayChildren:g=0,staggerChildren:p,staggerDirection:v}=u;return K3(n,a,b,g,p,v,i)}:()=>Promise.resolve(),{when:h}=u;if(h){const[b,g]=h==="beforeChildren"?[f,d]:[d,f];return b().then(()=>g())}else return Promise.all([f(),d(i.delay)])}function K3(n,a,i=0,s=0,u=0,f=1,d){const h=[];for(const b of n.variantChildren)b.notify("AnimationStart",a),h.push(Bb(b,a,{...d,delay:i+(typeof s=="function"?0:s)+xk(n.variantChildren,b,s,u,f)}).then(()=>b.notify("AnimationComplete",a)));return Promise.all(h)}function W3(n,a,i={}){n.notify("AnimationStart",a);let s;if(Array.isArray(a)){const u=a.map(f=>Bb(n,f,i));s=Promise.all(u)}else if(typeof a=="string")s=Bb(n,a,i);else{const u=typeof a=="function"?Sl(n,a,i.custom):a;s=Promise.all(wk(n,u,i))}return s.then(()=>{n.notify("AnimationComplete",a)})}const ej={test:n=>n==="auto",parse:n=>n},Nk=n=>a=>a.test(n),kk=[Nl,Ne,ja,io,NU,wU,ej],AA=n=>kk.find(Nk(n));function tj(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||qN(n):!0}const nj=new Set(["brightness","contrast","saturate","opacity"]);function rj(n){const[a,i]=n.slice(0,-1).split("(");if(a==="drop-shadow")return n;const[s]=i.match(Dv)||[];if(!s)return n;const u=i.replace(s,"");let f=nj.has(a)?1:0;return s!==i&&(f*=100),a+"("+f+u+")"}const aj=/\b([a-z-]*)\(.*?\)/gu,Hb={...uo,getAnimatableNone:n=>{const a=n.match(aj);return a?a.map(rj).join(" "):n}},wA={...Nl,transform:Math.round},ij={rotate:io,rotateX:io,rotateY:io,rotateZ:io,scale:oh,scaleX:oh,scaleY:oh,scaleZ:oh,skew:io,skewX:io,skewY:io,distance:Ne,translateX:Ne,translateY:Ne,translateZ:Ne,x:Ne,y:Ne,z:Ne,perspective:Ne,transformPerspective:Ne,opacity:Ac,originX:dA,originY:dA,originZ:Ne},zv={borderWidth:Ne,borderTopWidth:Ne,borderRightWidth:Ne,borderBottomWidth:Ne,borderLeftWidth:Ne,borderRadius:Ne,borderTopLeftRadius:Ne,borderTopRightRadius:Ne,borderBottomRightRadius:Ne,borderBottomLeftRadius:Ne,width:Ne,maxWidth:Ne,height:Ne,maxHeight:Ne,top:Ne,right:Ne,bottom:Ne,left:Ne,inset:Ne,insetBlock:Ne,insetBlockStart:Ne,insetBlockEnd:Ne,insetInline:Ne,insetInlineStart:Ne,insetInlineEnd:Ne,padding:Ne,paddingTop:Ne,paddingRight:Ne,paddingBottom:Ne,paddingLeft:Ne,paddingBlock:Ne,paddingBlockStart:Ne,paddingBlockEnd:Ne,paddingInline:Ne,paddingInlineStart:Ne,paddingInlineEnd:Ne,margin:Ne,marginTop:Ne,marginRight:Ne,marginBottom:Ne,marginLeft:Ne,marginBlock:Ne,marginBlockStart:Ne,marginBlockEnd:Ne,marginInline:Ne,marginInlineStart:Ne,marginInlineEnd:Ne,fontSize:Ne,backgroundPositionX:Ne,backgroundPositionY:Ne,...ij,zIndex:wA,fillOpacity:Ac,strokeOpacity:Ac,numOctaves:wA},oj={...zv,color:Kt,backgroundColor:Kt,outlineColor:Kt,fill:Kt,stroke:Kt,borderColor:Kt,borderTopColor:Kt,borderRightColor:Kt,borderBottomColor:Kt,borderLeftColor:Kt,filter:Hb,WebkitFilter:Hb},Ck=n=>oj[n];function Rk(n,a){let i=Ck(n);return i!==Hb&&(i=uo),i.getAnimatableNone?i.getAnimatableNone(a):void 0}const sj=new Set(["auto","none","0"]);function lj(n,a,i){let s=0,u;for(;s<n.length&&!u;){const f=n[s];typeof f=="string"&&!sj.has(f)&&wc(f).values.length&&(u=n[s]),s++}if(u&&i)for(const f of a)n[f]=Rk(i,u)}class uj extends Cv{constructor(a,i,s,u,f){super(a,i,s,u,f,!0)}readKeyframes(){const{unresolvedKeyframes:a,element:i,name:s}=this;if(!i||!i.current)return;super.readKeyframes();for(let p=0;p<a.length;p++){let v=a[p];if(typeof v=="string"&&(v=v.trim(),Sv(v))){const x=Sk(v,i.current);x!==void 0&&(a[p]=x),p===a.length-1&&(this.finalKeyframe=v)}}if(this.resolveNoneKeyframes(),!Ek.has(s)||a.length!==2)return;const[u,f]=a,d=AA(u),h=AA(f),b=fA(u),g=fA(f);if(b!==g&&oo[s]){this.needsMeasurement=!0;return}if(d!==h)if(xA(d)&&xA(h))for(let p=0;p<a.length;p++){const v=a[p];typeof v=="string"&&(a[p]=parseFloat(v))}else oo[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:a,name:i}=this,s=[];for(let u=0;u<a.length;u++)(a[u]===null||tj(a[u]))&&s.push(u);s.length&&lj(a,s,i)}measureInitialState(){const{element:a,unresolvedKeyframes:i,name:s}=this;if(!a||!a.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=oo[s](a.measureViewportBox(),window.getComputedStyle(a.current)),i[0]=this.measuredOrigin;const u=i[i.length-1];u!==void 0&&a.getValue(s,u).jump(u,!1)}measureEndState(){const{element:a,name:i,unresolvedKeyframes:s}=this;if(!a||!a.current)return;const u=a.getValue(i);u&&u.jump(this.measuredOrigin,!1);const f=s.length-1,d=s[f];s[f]=oo[i](a.measureViewportBox(),window.getComputedStyle(a.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),this.removedTransforms?.length&&this.removedTransforms.forEach(([h,b])=>{a.getValue(h).set(b)}),this.resolveNoneKeyframes()}}const cj=new Set(["opacity","clipPath","filter","transform"]);function Ok(n,a,i){if(n==null)return[];if(n instanceof EventTarget)return[n];if(typeof n=="string"){let s=document;const u=i?.[n]??s.querySelectorAll(n);return u?Array.from(u):[]}return Array.from(n).filter(s=>s!=null)}const Mk=(n,a)=>a&&typeof n=="number"?a.transform(n):n;function Pb(n){return PN(n)&&"offsetHeight"in n}const{schedule:Uv}=ek(queueMicrotask,!1),ea={x:!1,y:!1};function _k(){return ea.x||ea.y}function fj(n){return n==="x"||n==="y"?ea[n]?null:(ea[n]=!0,()=>{ea[n]=!1}):ea.x||ea.y?null:(ea.x=ea.y=!0,()=>{ea.x=ea.y=!1})}function zk(n,a){const i=Ok(n),s=new AbortController,u={passive:!0,...a,signal:s.signal};return[i,u,()=>s.abort()]}function dj(n){return!(n.pointerType==="touch"||_k())}function hj(n,a,i={}){const[s,u,f]=zk(n,i);return s.forEach(d=>{let h=!1,b=!1,g;const p=()=>{d.removeEventListener("pointerleave",N)},v=R=>{g&&(g(R),g=void 0),p()},x=R=>{h=!1,window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",x),b&&(b=!1,v(R))},S=()=>{h=!0,window.addEventListener("pointerup",x,u),window.addEventListener("pointercancel",x,u)},N=R=>{if(R.pointerType!=="touch"){if(h){b=!0;return}v(R)}},V=R=>{if(!dj(R))return;b=!1;const z=a(d,R);typeof z=="function"&&(g=z,d.addEventListener("pointerleave",N,u))};d.addEventListener("pointerenter",V,u),d.addEventListener("pointerdown",S,u)}),f}const Uk=(n,a)=>a?n===a?!0:Uk(n,a.parentElement):!1,jv=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,mj=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function pj(n){return mj.has(n.tagName)||n.isContentEditable===!0}const gj=new Set(["INPUT","SELECT","TEXTAREA"]);function yj(n){return gj.has(n.tagName)||n.isContentEditable===!0}const yh=new WeakSet;function NA(n){return a=>{a.key==="Enter"&&n(a)}}function Gy(n,a){n.dispatchEvent(new PointerEvent("pointer"+a,{isPrimary:!0,bubbles:!0}))}const bj=(n,a)=>{const i=n.currentTarget;if(!i)return;const s=NA(()=>{if(yh.has(i))return;Gy(i,"down");const u=NA(()=>{Gy(i,"up")}),f=()=>Gy(i,"cancel");i.addEventListener("keyup",u,a),i.addEventListener("blur",f,a)});i.addEventListener("keydown",s,a),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),a)};function kA(n){return jv(n)&&!_k()}const CA=new WeakSet;function vj(n,a,i={}){const[s,u,f]=zk(n,i),d=h=>{const b=h.currentTarget;if(!kA(h)||CA.has(h))return;yh.add(b),i.stopPropagation&&CA.add(h);const g=a(b,h),p=(S,N)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",x),yh.has(b)&&yh.delete(b),kA(S)&&typeof g=="function"&&g(S,{success:N})},v=S=>{p(S,b===window||b===document||i.useGlobalTarget||Uk(b,S.target))},x=S=>{p(S,!1)};window.addEventListener("pointerup",v,u),window.addEventListener("pointercancel",x,u)};return s.forEach(h=>{(i.useGlobalTarget?window:h).addEventListener("pointerdown",d,u),Pb(h)&&(h.addEventListener("focus",g=>bj(g,u)),!pj(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),f}function Vv(n){return PN(n)&&"ownerSVGElement"in n}const bh=new WeakMap;let vh;const jk=(n,a,i)=>(s,u)=>u&&u[0]?u[0][n+"Size"]:Vv(s)&&"getBBox"in s?s.getBBox()[a]:s[i],xj=jk("inline","width","offsetWidth"),Sj=jk("block","height","offsetHeight");function Dj({target:n,borderBoxSize:a}){bh.get(n)?.forEach(i=>{i(n,{get width(){return xj(n,a)},get height(){return Sj(n,a)}})})}function Ej(n){n.forEach(Dj)}function Tj(){typeof ResizeObserver>"u"||(vh=new ResizeObserver(Ej))}function Aj(n,a){vh||Tj();const i=Ok(n);return i.forEach(s=>{let u=bh.get(s);u||(u=new Set,bh.set(s,u)),u.add(a),vh?.observe(s)}),()=>{i.forEach(s=>{const u=bh.get(s);u?.delete(a),u?.size||vh?.unobserve(s)})}}const xh=new Set;let yl;function wj(){yl=()=>{const n={get width(){return window.innerWidth},get height(){return window.innerHeight}};xh.forEach(a=>a(n))},window.addEventListener("resize",yl)}function Nj(n){return xh.add(n),yl||wj(),()=>{xh.delete(n),!xh.size&&typeof yl=="function"&&(window.removeEventListener("resize",yl),yl=void 0)}}function RA(n,a){return typeof n=="function"?Nj(n):Aj(n,a)}function kj(n){return Vv(n)&&n.tagName==="svg"}const Cj=[...kk,Kt,uo],Rj=n=>Cj.find(Nk(n)),OA=()=>({translate:0,scale:1,origin:0,originPoint:0}),bl=()=>({x:OA(),y:OA()}),MA=()=>({min:0,max:0}),rn=()=>({x:MA(),y:MA()}),Oj=new WeakMap;function Ph(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}function Nc(n){return typeof n=="string"||Array.isArray(n)}const Lv=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Bv=["initial",...Lv];function qh(n){return Ph(n.animate)||Bv.some(a=>Nc(n[a]))}function Vk(n){return!!(qh(n)||n.variants)}function Mj(n,a,i){for(const s in a){const u=a[s],f=i[s];if(En(u))n.addValue(s,u);else if(En(f))n.addValue(s,Tl(u,{owner:n}));else if(f!==u)if(n.hasValue(s)){const d=n.getValue(s);d.liveStyle===!0?d.jump(u):d.hasAnimated||d.set(u)}else{const d=n.getStaticValue(s);n.addValue(s,Tl(d!==void 0?d:u,{owner:n}))}}for(const s in i)a[s]===void 0&&n.removeValue(s);return a}const qb={current:null},Lk={current:!1},_j=typeof window<"u";function zj(){if(Lk.current=!0,!!_j)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),a=()=>qb.current=n.matches;n.addEventListener("change",a),a()}else qb.current=!1}const _A=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Mh={};function Bk(n){Mh=n}function Uj(){return Mh}class jj{scrapeMotionValuesFromProps(a,i,s){return{}}constructor({parent:a,props:i,presenceContext:s,reducedMotionConfig:u,skipAnimations:f,blockInitialAnimation:d,visualState:h},b={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Cv,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const S=Ln.now();this.renderScheduledAt<S&&(this.renderScheduledAt=S,At.render(this.render,!1,!0))};const{latestValues:g,renderState:p}=h;this.latestValues=g,this.baseTarget={...g},this.initialValues=i.initial?{...g}:{},this.renderState=p,this.parent=a,this.props=i,this.presenceContext=s,this.depth=a?a.depth+1:0,this.reducedMotionConfig=u,this.skipAnimationsConfig=f,this.options=b,this.blockInitialAnimation=!!d,this.isControllingVariants=qh(i),this.isVariantNode=Vk(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(a&&a.current);const{willChange:v,...x}=this.scrapeMotionValuesFromProps(i,{},this);for(const S in x){const N=x[S];g[S]!==void 0&&En(N)&&N.set(g[S])}}mount(a){if(this.hasBeenMounted)for(const i in this.initialValues)this.values.get(i)?.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=a,Oj.set(a,this),this.projection&&!this.projection.instance&&this.projection.mount(a),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,s)=>this.bindToMotionValue(s,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Lk.current||zj(),this.shouldReduceMotion=qb.current),bv(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),lo(this.notifyUpdate),lo(this.render),this.valueSubscriptions.forEach(a=>a()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const a in this.events)this.events[a].clear();for(const a in this.features){const i=this.features[a];i&&(i.unmount(),i.isMounted=!1)}this.current=null}addChild(a){this.children.add(a),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(a)}removeChild(a){this.children.delete(a),this.enteringChildren&&this.enteringChildren.delete(a)}bindToMotionValue(a,i){if(this.valueSubscriptions.has(a)&&this.valueSubscriptions.get(a)(),i.accelerate&&cj.has(a)&&this.current instanceof HTMLElement){const{factory:d,keyframes:h,times:b,ease:g,duration:p}=i.accelerate,v=new bk({element:this.current,name:a,keyframes:h,times:b,ease:g,duration:Br(p)}),x=d(v);this.valueSubscriptions.set(a,()=>{x(),v.cancel()});return}const s=Cl.has(a);s&&this.onBindTransform&&this.onBindTransform();const u=i.on("change",d=>{this.latestValues[a]=d,this.props.onUpdate&&At.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let f;typeof window<"u"&&window.MotionCheckAppearSync&&(f=window.MotionCheckAppearSync(this,a,i)),this.valueSubscriptions.set(a,()=>{u(),f&&f(),i.owner&&i.stop()})}sortNodePosition(a){return!this.current||!this.sortInstanceNodePosition||this.type!==a.type?0:this.sortInstanceNodePosition(this.current,a.current)}updateFeatures(){let a="animation";for(a in Mh){const i=Mh[a];if(!i)continue;const{isEnabled:s,Feature:u}=i;if(!this.features[a]&&u&&s(this.props)&&(this.features[a]=new u(this)),this.features[a]){const f=this.features[a];f.isMounted?f.update():(f.mount(),f.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):rn()}getStaticValue(a){return this.latestValues[a]}setStaticValue(a,i){this.latestValues[a]=i}update(a,i){(a.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=a,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let s=0;s<_A.length;s++){const u=_A[s];this.propEventSubscriptions[u]&&(this.propEventSubscriptions[u](),delete this.propEventSubscriptions[u]);const f="on"+u,d=a[f];d&&(this.propEventSubscriptions[u]=this.on(u,d))}this.prevMotionValues=Mj(this,this.scrapeMotionValuesFromProps(a,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(a){return this.props.variants?this.props.variants[a]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(a){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(a),()=>i.variantChildren.delete(a)}addValue(a,i){const s=this.values.get(a);i!==s&&(s&&this.removeValue(a),this.bindToMotionValue(a,i),this.values.set(a,i),this.latestValues[a]=i.get())}removeValue(a){this.values.delete(a);const i=this.valueSubscriptions.get(a);i&&(i(),this.valueSubscriptions.delete(a)),delete this.latestValues[a],this.removeValueFromRenderState(a,this.renderState)}hasValue(a){return this.values.has(a)}getValue(a,i){if(this.props.values&&this.props.values[a])return this.props.values[a];let s=this.values.get(a);return s===void 0&&i!==void 0&&(s=Tl(i===null?void 0:i,{owner:this}),this.addValue(a,s)),s}readValue(a,i){let s=this.latestValues[a]!==void 0||!this.current?this.latestValues[a]:this.getBaseTargetFromProps(this.props,a)??this.readValueFromInstance(this.current,a,this.options);return s!=null&&(typeof s=="string"&&(HN(s)||qN(s))?s=parseFloat(s):!Rj(s)&&uo.test(i)&&(s=Rk(a,i)),this.setBaseTarget(a,En(s)?s.get():s)),En(s)?s.get():s}setBaseTarget(a,i){this.baseTarget[a]=i}getBaseTarget(a){const{initial:i}=this.props;let s;if(typeof i=="string"||typeof i=="object"){const f=Mv(this.props,i,this.presenceContext?.custom);f&&(s=f[a])}if(i&&s!==void 0)return s;const u=this.getBaseTargetFromProps(this.props,a);return u!==void 0&&!En(u)?u:this.initialValues[a]!==void 0&&s===void 0?void 0:this.baseTarget[a]}on(a,i){return this.events[a]||(this.events[a]=new yv),this.events[a].add(i)}notify(a,...i){this.events[a]&&this.events[a].notify(...i)}scheduleRenderMicrotask(){Uv.render(this.render)}}class Hk extends jj{constructor(){super(...arguments),this.KeyframeResolver=uj}sortInstanceNodePosition(a,i){return a.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(a,i){const s=a.style;return s?s[i]:void 0}removeValueFromRenderState(a,{vars:i,style:s}){delete i[a],delete s[a]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:a}=this.props;En(a)&&(this.childSubscription=a.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}class co{constructor(a){this.isMounted=!1,this.node=a}update(){}}function Pk({top:n,left:a,right:i,bottom:s}){return{x:{min:a,max:i},y:{min:n,max:s}}}function Vj({x:n,y:a}){return{top:a.min,right:n.max,bottom:a.max,left:n.min}}function Lj(n,a){if(!a)return n;const i=a({x:n.left,y:n.top}),s=a({x:n.right,y:n.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}function $y(n){return n===void 0||n===1}function Ib({scale:n,scaleX:a,scaleY:i}){return!$y(n)||!$y(a)||!$y(i)}function es(n){return Ib(n)||qk(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function qk(n){return zA(n.x)||zA(n.y)}function zA(n){return n&&n!=="0%"}function _h(n,a,i){const s=n-i,u=a*s;return i+u}function UA(n,a,i,s,u){return u!==void 0&&(n=_h(n,u,s)),_h(n,i,s)+a}function Fb(n,a=0,i=1,s,u){n.min=UA(n.min,a,i,s,u),n.max=UA(n.max,a,i,s,u)}function Ik(n,{x:a,y:i}){Fb(n.x,a.translate,a.scale,a.originPoint),Fb(n.y,i.translate,i.scale,i.originPoint)}const jA=.999999999999,VA=1.0000000000001;function Bj(n,a,i,s=!1){const u=i.length;if(!u)return;a.x=a.y=1;let f,d;for(let h=0;h<u;h++){f=i[h],d=f.projectionDelta;const{visualElement:b}=f.options;b&&b.props.style&&b.props.style.display==="contents"||(s&&f.options.layoutScroll&&f.scroll&&f!==f.root&&xl(n,{x:-f.scroll.offset.x,y:-f.scroll.offset.y}),d&&(a.x*=d.x.scale,a.y*=d.y.scale,Ik(n,d)),s&&es(f.latestValues)&&xl(n,f.latestValues))}a.x<VA&&a.x>jA&&(a.x=1),a.y<VA&&a.y>jA&&(a.y=1)}function vl(n,a){n.min=n.min+a,n.max=n.max+a}function LA(n,a,i,s,u=.5){const f=zt(n.min,n.max,u);Fb(n,a,i,f,s)}function xl(n,a){LA(n.x,a.x,a.scaleX,a.scale,a.originX),LA(n.y,a.y,a.scaleY,a.scale,a.originY)}function Fk(n,a){return Pk(Lj(n.getBoundingClientRect(),a))}function Hj(n,a,i){const s=Fk(n,i),{scroll:u}=a;return u&&(vl(s.x,u.offset.x),vl(s.y,u.offset.y)),s}const Pj={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},qj=kl.length;function Ij(n,a,i){let s="",u=!0;for(let f=0;f<qj;f++){const d=kl[f],h=n[d];if(h===void 0)continue;let b=!0;if(typeof h=="number")b=h===(d.startsWith("scale")?1:0);else{const g=parseFloat(h);b=d.startsWith("scale")?g===1:g===0}if(!b||i){const g=Mk(h,zv[d]);if(!b){u=!1;const p=Pj[d]||d;s+=`${p}(${g}) `}i&&(a[d]=g)}}return s=s.trim(),i?s=i(a,u?"":s):u&&(s="none"),s}function Hv(n,a,i){const{style:s,vars:u,transformOrigin:f}=n;let d=!1,h=!1;for(const b in a){const g=a[b];if(Cl.has(b)){d=!0;continue}else if(nk(b)){u[b]=g;continue}else{const p=Mk(g,zv[b]);b.startsWith("origin")?(h=!0,f[b]=p):s[b]=p}}if(a.transform||(d||i?s.transform=Ij(a,n.transform,i):s.transform&&(s.transform="none")),h){const{originX:b="50%",originY:g="50%",originZ:p=0}=f;s.transformOrigin=`${b} ${g} ${p}`}}function Yk(n,{style:a,vars:i},s,u){const f=n.style;let d;for(d in a)f[d]=a[d];u?.applyProjectionStyles(f,s);for(d in i)f.setProperty(d,i[d])}function BA(n,a){return a.max===a.min?0:n/(a.max-a.min)*100}const cc={correct:(n,a)=>{if(!a.target)return n;if(typeof n=="string")if(Ne.test(n))n=parseFloat(n);else return n;const i=BA(n,a.target.x),s=BA(n,a.target.y);return`${i}% ${s}%`}},Fj={correct:(n,{treeScale:a,projectionDelta:i})=>{const s=n,u=uo.parse(n);if(u.length>5)return s;const f=uo.createTransformer(n),d=typeof u[0]!="number"?1:0,h=i.x.scale*a.x,b=i.y.scale*a.y;u[0+d]/=h,u[1+d]/=b;const g=zt(h,b,.5);return typeof u[2+d]=="number"&&(u[2+d]/=g),typeof u[3+d]=="number"&&(u[3+d]/=g),f(u)}},Yb={borderRadius:{...cc,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:cc,borderTopRightRadius:cc,borderBottomLeftRadius:cc,borderBottomRightRadius:cc,boxShadow:Fj};function Gk(n,{layout:a,layoutId:i}){return Cl.has(n)||n.startsWith("origin")||(a||i!==void 0)&&(!!Yb[n]||n==="opacity")}function Pv(n,a,i){const s=n.style,u=a?.style,f={};if(!s)return f;for(const d in s)(En(s[d])||u&&En(u[d])||Gk(d,n)||i?.getValue(d)?.liveStyle!==void 0)&&(f[d]=s[d]);return f}function Yj(n){return window.getComputedStyle(n)}class Gj extends Hk{constructor(){super(...arguments),this.type="html",this.renderInstance=Yk}readValueFromInstance(a,i){if(Cl.has(i))return this.projection?.isProjecting?Ob(i):c3(a,i);{const s=Yj(a),u=(nk(i)?s.getPropertyValue(i):s[i])||0;return typeof u=="string"?u.trim():u}}measureInstanceViewportBox(a,{transformPagePoint:i}){return Fk(a,i)}build(a,i,s){Hv(a,i,s.transformTemplate)}scrapeMotionValuesFromProps(a,i,s){return Pv(a,i,s)}}const $j={offset:"stroke-dashoffset",array:"stroke-dasharray"},Xj={offset:"strokeDashoffset",array:"strokeDasharray"};function Qj(n,a,i=1,s=0,u=!0){n.pathLength=1;const f=u?$j:Xj;n[f.offset]=`${-s}`,n[f.array]=`${a} ${i}`}const Zj=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function $k(n,{attrX:a,attrY:i,attrScale:s,pathLength:u,pathSpacing:f=1,pathOffset:d=0,...h},b,g,p){if(Hv(n,h,g),b){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:v,style:x}=n;v.transform&&(x.transform=v.transform,delete v.transform),(x.transform||v.transformOrigin)&&(x.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),x.transform&&(x.transformBox=p?.transformBox??"fill-box",delete v.transformBox);for(const S of Zj)v[S]!==void 0&&(x[S]=v[S],delete v[S]);a!==void 0&&(v.x=a),i!==void 0&&(v.y=i),s!==void 0&&(v.scale=s),u!==void 0&&Qj(v,u,f,d,!1)}const Xk=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),Qk=n=>typeof n=="string"&&n.toLowerCase()==="svg";function Jj(n,a,i,s){Yk(n,a,void 0,s);for(const u in a.attrs)n.setAttribute(Xk.has(u)?u:_v(u),a.attrs[u])}function Zk(n,a,i){const s=Pv(n,a,i);for(const u in n)if(En(n[u])||En(a[u])){const f=kl.indexOf(u)!==-1?"attr"+u.charAt(0).toUpperCase()+u.substring(1):u;s[f]=n[u]}return s}class Kj extends Hk{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=rn}getBaseTargetFromProps(a,i){return a[i]}readValueFromInstance(a,i){if(Cl.has(i)){const s=Ck(i);return s&&s.default||0}return i=Xk.has(i)?i:_v(i),a.getAttribute(i)}scrapeMotionValuesFromProps(a,i,s){return Zk(a,i,s)}build(a,i,s){$k(a,i,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(a,i,s,u){Jj(a,i,s,u)}mount(a){this.isSVGTag=Qk(a.tagName),super.mount(a)}}const Wj=Bv.length;function Jk(n){if(!n)return;if(!n.isControllingVariants){const i=n.parent?Jk(n.parent)||{}:{};return n.props.initial!==void 0&&(i.initial=n.props.initial),i}const a={};for(let i=0;i<Wj;i++){const s=Bv[i],u=n.props[s];(Nc(u)||u===!1)&&(a[s]=u)}return a}function Kk(n,a){if(!Array.isArray(a))return!1;const i=a.length;if(i!==n.length)return!1;for(let s=0;s<i;s++)if(a[s]!==n[s])return!1;return!0}const eV=[...Lv].reverse(),tV=Lv.length;function nV(n){return a=>Promise.all(a.map(({animation:i,options:s})=>W3(n,i,s)))}function rV(n){let a=nV(n),i=HA(),s=!0;const u=b=>(g,p)=>{const v=Sl(n,p,b==="exit"?n.presenceContext?.custom:void 0);if(v){const{transition:x,transitionEnd:S,...N}=v;g={...g,...N,...S}}return g};function f(b){a=b(n)}function d(b){const{props:g}=n,p=Jk(n.parent)||{},v=[],x=new Set;let S={},N=1/0;for(let R=0;R<tV;R++){const z=eV[R],X=i[z],I=g[z]!==void 0?g[z]:p[z],ie=Nc(I),re=z===b?X.isActive:null;re===!1&&(N=R);let G=I===p[z]&&I!==g[z]&&ie;if(G&&s&&n.manuallyAnimateOnMount&&(G=!1),X.protectedKeys={...S},!X.isActive&&re===null||!I&&!X.prevProp||Ph(I)||typeof I=="boolean")continue;if(z==="exit"&&X.isActive&&re!==!0){X.prevResolvedValues&&(S={...S,...X.prevResolvedValues});continue}const ge=aV(X.prevProp,I);let se=ge||z===b&&X.isActive&&!G&&ie||R>N&&ie,ce=!1;const F=Array.isArray(I)?I:[I];let he=F.reduce(u(z),{});re===!1&&(he={});const{prevResolvedValues:oe={}}=X,Q={...oe,...he},ne=le=>{se=!0,x.has(le)&&(ce=!0,x.delete(le)),X.needsAnimating[le]=!0;const ye=n.getValue(le);ye&&(ye.liveStyle=!1)};for(const le in Q){const ye=he[le],Me=oe[le];if(S.hasOwnProperty(le))continue;let O=!1;Vb(ye)&&Vb(Me)?O=!Kk(ye,Me):O=ye!==Me,O?ye!=null?ne(le):x.add(le):ye!==void 0&&x.has(le)?ne(le):X.protectedKeys[le]=!0}X.prevProp=I,X.prevResolvedValues=he,X.isActive&&(S={...S,...he}),s&&n.blockInitialAnimation&&(se=!1);const ae=G&≥se&&(!ae||ce)&&v.push(...F.map(le=>{const ye={type:z};if(typeof le=="string"&&s&&!ae&&n.manuallyAnimateOnMount&&n.parent){const{parent:Me}=n,O=Sl(Me,le);if(Me.enteringChildren&&O){const{delayChildren:U}=O.transition||{};ye.delay=xk(Me.enteringChildren,n,U)}}return{animation:le,options:ye}}))}if(x.size){const R={};if(typeof g.initial!="boolean"){const z=Sl(n,Array.isArray(g.initial)?g.initial[0]:g.initial);z&&z.transition&&(R.transition=z.transition)}x.forEach(z=>{const X=n.getBaseTarget(z),I=n.getValue(z);I&&(I.liveStyle=!0),R[z]=X??null}),v.push({animation:R})}let V=!!v.length;return s&&(g.initial===!1||g.initial===g.animate)&&!n.manuallyAnimateOnMount&&(V=!1),s=!1,V?a(v):Promise.resolve()}function h(b,g){if(i[b].isActive===g)return Promise.resolve();n.variantChildren?.forEach(v=>v.animationState?.setActive(b,g)),i[b].isActive=g;const p=d(b);for(const v in i)i[v].protectedKeys={};return p}return{animateChanges:d,setActive:h,setAnimateFunction:f,getState:()=>i,reset:()=>{i=HA()}}}function aV(n,a){return typeof a=="string"?a!==n:Array.isArray(a)?!Kk(a,n):!1}function Ko(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function HA(){return{animate:Ko(!0),whileInView:Ko(),whileHover:Ko(),whileTap:Ko(),whileDrag:Ko(),whileFocus:Ko(),exit:Ko()}}function PA(n,a){n.min=a.min,n.max=a.max}function Wr(n,a){PA(n.x,a.x),PA(n.y,a.y)}function qA(n,a){n.translate=a.translate,n.scale=a.scale,n.originPoint=a.originPoint,n.origin=a.origin}const Wk=1e-4,iV=1-Wk,oV=1+Wk,eC=.01,sV=0-eC,lV=0+eC;function Bn(n){return n.max-n.min}function uV(n,a,i){return Math.abs(n-a)<=i}function IA(n,a,i,s=.5){n.origin=s,n.originPoint=zt(a.min,a.max,n.origin),n.scale=Bn(i)/Bn(a),n.translate=zt(i.min,i.max,n.origin)-n.originPoint,(n.scale>=iV&&n.scale<=oV||isNaN(n.scale))&&(n.scale=1),(n.translate>=sV&&n.translate<=lV||isNaN(n.translate))&&(n.translate=0)}function vc(n,a,i,s){IA(n.x,a.x,i.x,s?s.originX:void 0),IA(n.y,a.y,i.y,s?s.originY:void 0)}function FA(n,a,i){n.min=i.min+a.min,n.max=n.min+Bn(a)}function cV(n,a,i){FA(n.x,a.x,i.x),FA(n.y,a.y,i.y)}function YA(n,a,i){n.min=a.min-i.min,n.max=n.min+Bn(a)}function zh(n,a,i){YA(n.x,a.x,i.x),YA(n.y,a.y,i.y)}function GA(n,a,i,s,u){return n-=a,n=_h(n,1/i,s),u!==void 0&&(n=_h(n,1/u,s)),n}function fV(n,a=0,i=1,s=.5,u,f=n,d=n){if(ja.test(a)&&(a=parseFloat(a),a=zt(d.min,d.max,a/100)-d.min),typeof a!="number")return;let h=zt(f.min,f.max,s);n===f&&(h-=a),n.min=GA(n.min,a,i,h,u),n.max=GA(n.max,a,i,h,u)}function $A(n,a,[i,s,u],f,d){fV(n,a[i],a[s],a[u],a.scale,f,d)}const dV=["x","scaleX","originX"],hV=["y","scaleY","originY"];function XA(n,a,i,s){$A(n.x,a,dV,i?i.x:void 0,s?s.x:void 0),$A(n.y,a,hV,i?i.y:void 0,s?s.y:void 0)}function QA(n){return n.translate===0&&n.scale===1}function tC(n){return QA(n.x)&&QA(n.y)}function ZA(n,a){return n.min===a.min&&n.max===a.max}function mV(n,a){return ZA(n.x,a.x)&&ZA(n.y,a.y)}function JA(n,a){return Math.round(n.min)===Math.round(a.min)&&Math.round(n.max)===Math.round(a.max)}function nC(n,a){return JA(n.x,a.x)&&JA(n.y,a.y)}function KA(n){return Bn(n.x)/Bn(n.y)}function WA(n,a){return n.translate===a.translate&&n.scale===a.scale&&n.originPoint===a.originPoint}function Ma(n){return[n("x"),n("y")]}function pV(n,a,i){let s="";const u=n.x.translate/a.x,f=n.y.translate/a.y,d=i?.z||0;if((u||f||d)&&(s=`translate3d(${u}px, ${f}px, ${d}px) `),(a.x!==1||a.y!==1)&&(s+=`scale(${1/a.x}, ${1/a.y}) `),i){const{transformPerspective:g,rotate:p,rotateX:v,rotateY:x,skewX:S,skewY:N}=i;g&&(s=`perspective(${g}px) ${s}`),p&&(s+=`rotate(${p}deg) `),v&&(s+=`rotateX(${v}deg) `),x&&(s+=`rotateY(${x}deg) `),S&&(s+=`skewX(${S}deg) `),N&&(s+=`skewY(${N}deg) `)}const h=n.x.scale*a.x,b=n.y.scale*a.y;return(h!==1||b!==1)&&(s+=`scale(${h}, ${b})`),s||"none"}const rC=["TopLeft","TopRight","BottomLeft","BottomRight"],gV=rC.length,ew=n=>typeof n=="string"?parseFloat(n):n,tw=n=>typeof n=="number"||Ne.test(n);function yV(n,a,i,s,u,f){u?(n.opacity=zt(0,i.opacity??1,bV(s)),n.opacityExit=zt(a.opacity??1,0,vV(s))):f&&(n.opacity=zt(a.opacity??1,i.opacity??1,s));for(let d=0;d<gV;d++){const h=`border${rC[d]}Radius`;let b=nw(a,h),g=nw(i,h);if(b===void 0&&g===void 0)continue;b||(b=0),g||(g=0),b===0||g===0||tw(b)===tw(g)?(n[h]=Math.max(zt(ew(b),ew(g),s),0),(ja.test(g)||ja.test(b))&&(n[h]+="%")):n[h]=g}(a.rotate||i.rotate)&&(n.rotate=zt(a.rotate||0,i.rotate||0,s))}function nw(n,a){return n[a]!==void 0?n[a]:n.borderRadius}const bV=aC(0,.5,ZN),vV=aC(.5,.95,Lr);function aC(n,a,i){return s=>s<n?0:s>a?1:i(Tc(n,a,s))}function xV(n,a,i){const s=En(n)?n:Tl(n);return s.start(Ov("",s,a,i)),s.animation}function kc(n,a,i,s={passive:!0}){return n.addEventListener(a,i,s),()=>n.removeEventListener(a,i)}const SV=(n,a)=>n.depth-a.depth;class DV{constructor(){this.children=[],this.isDirty=!1}add(a){pv(this.children,a),this.isDirty=!0}remove(a){kh(this.children,a),this.isDirty=!0}forEach(a){this.isDirty&&this.children.sort(SV),this.isDirty=!1,this.children.forEach(a)}}function EV(n,a){const i=Ln.now(),s=({timestamp:u})=>{const f=u-i;f>=a&&(lo(s),n(f-a))};return At.setup(s,!0),()=>lo(s)}function Sh(n){return En(n)?n.get():n}class TV{constructor(){this.members=[]}add(a){pv(this.members,a);for(let i=this.members.length-1;i>=0;i--){const s=this.members[i];if(s===a||s===this.lead||s===this.prevLead)continue;const u=s.instance;u&&u.isConnected===!1&&s.isPresent!==!1&&!s.snapshot&&kh(this.members,s)}a.scheduleRender()}remove(a){if(kh(this.members,a),a===this.prevLead&&(this.prevLead=void 0),a===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(a){const i=this.members.findIndex(u=>a===u);if(i===0)return!1;let s;for(let u=i;u>=0;u--){const f=this.members[u],d=f.instance;if(f.isPresent!==!1&&(!d||d.isConnected!==!1)){s=f;break}}return s?(this.promote(s),!0):!1}promote(a,i){const s=this.lead;if(a!==s&&(this.prevLead=s,this.lead=a,a.show(),s)){s.instance&&s.scheduleRender(),a.scheduleRender();const u=s.options.layoutDependency,f=a.options.layoutDependency;if(!(u!==void 0&&f!==void 0&&u===f)){const b=s.instance;b&&b.isConnected===!1&&!s.snapshot||(a.resumeFrom=s,i&&(a.resumeFrom.preserveOpacity=!0),s.snapshot&&(a.snapshot=s.snapshot,a.snapshot.latestValues=s.animationValues||s.latestValues),a.root&&a.root.isUpdating&&(a.isLayoutDirty=!0))}const{crossfade:h}=a.options;h===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(a=>{const{options:i,resumingFrom:s}=a;i.onExitComplete&&i.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(a=>{a.instance&&a.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Dh={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Xy=["","X","Y","Z"],AV=1e3;let wV=0;function Qy(n,a,i,s){const{latestValues:u}=a;u[n]&&(i[n]=u[n],a.setStaticValue(n,0),s&&(s[n]=0))}function iC(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:a}=n.options;if(!a)return;const i=Ak(a);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:u,layoutId:f}=n.options;window.MotionCancelOptimisedAnimation(i,"transform",At,!(u||f))}const{parent:s}=n;s&&!s.hasCheckedOptimisedAppear&&iC(s)}function oC({attachResizeListener:n,defaultParent:a,measureScroll:i,checkIsScrollRoot:s,resetTransform:u}){return class{constructor(d={},h=a?.()){this.id=wV++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(CV),this.nodes.forEach(_V),this.nodes.forEach(zV),this.nodes.forEach(RV)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let b=0;b<this.path.length;b++)this.path[b].shouldResetTransform=!0;this.root===this&&(this.nodes=new DV)}addEventListener(d,h){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new yv),this.eventHandlers.get(d).add(h)}notifyListeners(d,...h){const b=this.eventHandlers.get(d);b&&b.notify(...h)}hasListeners(d){return this.eventHandlers.has(d)}mount(d){if(this.instance)return;this.isSVG=Vv(d)&&!kj(d),this.instance=d;const{layoutId:h,layout:b,visualElement:g}=this.options;if(g&&!g.current&&g.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(b||h)&&(this.isLayoutDirty=!0),n){let p,v=0;const x=()=>this.root.updateBlockedByResize=!1;At.read(()=>{v=window.innerWidth}),n(d,()=>{const S=window.innerWidth;S!==v&&(v=S,this.root.updateBlockedByResize=!0,p&&p(),p=EV(x,250),Dh.hasAnimatedSinceResize&&(Dh.hasAnimatedSinceResize=!1,this.nodes.forEach(iw)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&g&&(h||b)&&this.addEventListener("didUpdate",({delta:p,hasLayoutChanged:v,hasRelativeLayoutChanged:x,layout:S})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const N=this.options.transition||g.getDefaultTransition()||BV,{onLayoutAnimationStart:V,onLayoutAnimationComplete:R}=g.getProps(),z=!this.targetLayout||!nC(this.targetLayout,S),X=!v&&x;if(this.options.layoutRoot||this.resumeFrom||X||v&&(z||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const I={...Rv(N,"layout"),onPlay:V,onComplete:R};(g.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I),this.setAnimationOrigin(p,X)}else v||iw(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=S})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),lo(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(UV),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&iC(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){const v=this.path[p];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:h,layout:b}=this.options;if(h===void 0&&!b)return;const g=this.getTransformTemplate();this.prevTransformTemplateValue=g?g(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rw);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(aw);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(MV),this.nodes.forEach(NV),this.nodes.forEach(kV)):this.nodes.forEach(aw),this.clearAllSnapshots();const h=Ln.now();gn.delta=Va(0,1e3/60,h-gn.timestamp),gn.timestamp=h,gn.isProcessing=!0,Hy.update.process(gn),Hy.preRender.process(gn),Hy.render.process(gn),gn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Uv.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(OV),this.sharedNodes.forEach(jV)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,At.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){At.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Bn(this.snapshot.measuredBox.x)&&!Bn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let b=0;b<this.path.length;b++)this.path[b].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=rn(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(h=!1),h&&this.instance){const b=s(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:b,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:b}}}resetTransform(){if(!u)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!tC(this.projectionDelta),b=this.getTransformTemplate(),g=b?b(this.latestValues,""):void 0,p=g!==this.prevTransformTemplateValue;d&&this.instance&&(h||es(this.latestValues)||p)&&(u(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const h=this.measurePageBox();let b=this.removeElementScroll(h);return d&&(b=this.removeTransform(b)),HV(b),{animationId:this.root.animationId,measuredBox:h,layoutBox:b,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:d}=this.options;if(!d)return rn();const h=d.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(PV))){const{scroll:g}=this.root;g&&(vl(h.x,g.offset.x),vl(h.y,g.offset.y))}return h}removeElementScroll(d){const h=rn();if(Wr(h,d),this.scroll?.wasRoot)return h;for(let b=0;b<this.path.length;b++){const g=this.path[b],{scroll:p,options:v}=g;g!==this.root&&p&&v.layoutScroll&&(p.wasRoot&&Wr(h,d),vl(h.x,p.offset.x),vl(h.y,p.offset.y))}return h}applyTransform(d,h=!1){const b=rn();Wr(b,d);for(let g=0;g<this.path.length;g++){const p=this.path[g];!h&&p.options.layoutScroll&&p.scroll&&p!==p.root&&xl(b,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),es(p.latestValues)&&xl(b,p.latestValues)}return es(this.latestValues)&&xl(b,this.latestValues),b}removeTransform(d){const h=rn();Wr(h,d);for(let b=0;b<this.path.length;b++){const g=this.path[b];if(!g.instance||!es(g.latestValues))continue;Ib(g.latestValues)&&g.updateSnapshot();const p=rn(),v=g.measurePageBox();Wr(p,v),XA(h,g.latestValues,g.snapshot?g.snapshot.layoutBox:void 0,p)}return es(this.latestValues)&&XA(h,this.latestValues),h}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==gn.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const b=!!this.resumingFrom||this!==h;if(!(d||b&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:p,layoutId:v}=this.options;if(!this.layout||!(p||v))return;this.resolvedRelativeTargetAt=gn.timestamp;const x=this.getClosestProjectingParent();x&&this.linkedParentVersion!==x.layoutVersion&&!x.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(x&&x.layout?this.createRelativeTarget(x,this.layout.layoutBox,x.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=rn(),this.targetWithTransforms=rn()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),cV(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Wr(this.target,this.layout.layoutBox),Ik(this.target,this.targetDelta)):Wr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,x&&!!x.resumingFrom==!!this.resumingFrom&&!x.options.layoutScroll&&x.target&&this.animationProgress!==1?this.createRelativeTarget(x,this.target,x.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Ib(this.parent.latestValues)||qk(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(d,h,b){this.relativeParent=d,this.linkedParentVersion=d.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=rn(),this.relativeTargetOrigin=rn(),zh(this.relativeTargetOrigin,h,b),Wr(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const d=this.getLead(),h=!!this.resumingFrom||this!==d;let b=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(b=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(b=!1),this.resolvedRelativeTargetAt===gn.timestamp&&(b=!1),b)return;const{layout:g,layoutId:p}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(g||p))return;Wr(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,x=this.treeScale.y;Bj(this.layoutCorrected,this.treeScale,this.path,h),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=rn());const{target:S}=d;if(!S){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(qA(this.prevProjectionDelta.x,this.projectionDelta.x),qA(this.prevProjectionDelta.y,this.projectionDelta.y)),vc(this.projectionDelta,this.layoutCorrected,S,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==x||!WA(this.projectionDelta.x,this.prevProjectionDelta.x)||!WA(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",S))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){if(this.options.visualElement?.scheduleRender(),d){const h=this.getStack();h&&h.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=bl(),this.projectionDelta=bl(),this.projectionDeltaWithTransform=bl()}setAnimationOrigin(d,h=!1){const b=this.snapshot,g=b?b.latestValues:{},p={...this.latestValues},v=bl();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const x=rn(),S=b?b.source:void 0,N=this.layout?this.layout.source:void 0,V=S!==N,R=this.getStack(),z=!R||R.members.length<=1,X=!!(V&&!z&&this.options.crossfade===!0&&!this.path.some(LV));this.animationProgress=0;let I;this.mixTargetDelta=ie=>{const re=ie/1e3;ow(v.x,d.x,re),ow(v.y,d.y,re),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(zh(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox),VV(this.relativeTarget,this.relativeTargetOrigin,x,re),I&&mV(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=rn()),Wr(I,this.relativeTarget)),V&&(this.animationValues=p,yV(p,g,this.latestValues,re,X,z)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=re},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(lo(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=At.update(()=>{Dh.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Tl(0)),this.currentAnimation=xV(this.motionValue,[0,1e3],{...d,velocity:0,isSync:!0,onUpdate:h=>{this.mixTargetDelta(h),d.onUpdate&&d.onUpdate(h)},onStop:()=>{},onComplete:()=>{d.onComplete&&d.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(AV),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:h,target:b,layout:g,latestValues:p}=d;if(!(!h||!b||!g)){if(this!==d&&this.layout&&g&&sC(this.options.animationType,this.layout.layoutBox,g.layoutBox)){b=this.target||rn();const v=Bn(this.layout.layoutBox.x);b.x.min=d.target.x.min,b.x.max=b.x.min+v;const x=Bn(this.layout.layoutBox.y);b.y.min=d.target.y.min,b.y.max=b.y.min+x}Wr(h,b),xl(h,p),vc(this.projectionDeltaWithTransform,this.layoutCorrected,h,p)}}registerSharedNode(d,h){this.sharedNodes.has(d)||this.sharedNodes.set(d,new TV),this.sharedNodes.get(d).add(h);const g=h.options.initialPromotionConfig;h.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(h):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){const{layoutId:d}=this.options;return d?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:d}=this.options;return d?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:h,preserveFollowOpacity:b}={}){const g=this.getStack();g&&g.promote(this,b),d&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let h=!1;const{latestValues:b}=d;if((b.z||b.rotate||b.rotateX||b.rotateY||b.rotateZ||b.skewX||b.skewY)&&(h=!0),!h)return;const g={};b.z&&Qy("z",d,g,this.animationValues);for(let p=0;p<Xy.length;p++)Qy(`rotate${Xy[p]}`,d,g,this.animationValues),Qy(`skew${Xy[p]}`,d,g,this.animationValues);d.render();for(const p in g)d.setStaticValue(p,g[p]),this.animationValues&&(this.animationValues[p]=g[p]);d.scheduleRender()}applyProjectionStyles(d,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){d.visibility="hidden";return}const b=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,d.visibility="",d.opacity="",d.pointerEvents=Sh(h?.pointerEvents)||"",d.transform=b?b(this.latestValues,""):"none";return}const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){this.options.layoutId&&(d.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,d.pointerEvents=Sh(h?.pointerEvents)||""),this.hasProjected&&!es(this.latestValues)&&(d.transform=b?b({},""):"none",this.hasProjected=!1);return}d.visibility="";const p=g.animationValues||g.latestValues;this.applyTransformsToTarget();let v=pV(this.projectionDeltaWithTransform,this.treeScale,p);b&&(v=b(p,v)),d.transform=v;const{x,y:S}=this.projectionDelta;d.transformOrigin=`${x.origin*100}% ${S.origin*100}% 0`,g.animationValues?d.opacity=g===this?p.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:d.opacity=g===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const N in Yb){if(p[N]===void 0)continue;const{correct:V,applyTo:R,isCSSVariable:z}=Yb[N],X=v==="none"?p[N]:V(p[N],g);if(R){const I=R.length;for(let ie=0;ie<I;ie++)d[R[ie]]=X}else z?this.options.visualElement.renderState.vars[N]=X:d[N]=X}this.options.layoutId&&(d.pointerEvents=g===this?Sh(h?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>d.currentAnimation?.stop()),this.root.nodes.forEach(rw),this.root.sharedNodes.clear()}}}function NV(n){n.updateLayout()}function kV(n){const a=n.resumeFrom?.snapshot||n.snapshot;if(n.isLead()&&n.layout&&a&&n.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:s}=n.layout,{animationType:u}=n.options,f=a.source!==n.layout.source;u==="size"?Ma(p=>{const v=f?a.measuredBox[p]:a.layoutBox[p],x=Bn(v);v.min=i[p].min,v.max=v.min+x}):sC(u,a.layoutBox,i)&&Ma(p=>{const v=f?a.measuredBox[p]:a.layoutBox[p],x=Bn(i[p]);v.max=v.min+x,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[p].max=n.relativeTarget[p].min+x)});const d=bl();vc(d,i,a.layoutBox);const h=bl();f?vc(h,n.applyTransform(s,!0),a.measuredBox):vc(h,i,a.layoutBox);const b=!tC(d);let g=!1;if(!n.resumeFrom){const p=n.getClosestProjectingParent();if(p&&!p.resumeFrom){const{snapshot:v,layout:x}=p;if(v&&x){const S=rn();zh(S,a.layoutBox,v.layoutBox);const N=rn();zh(N,i,x.layoutBox),nC(S,N)||(g=!0),p.options.layoutRoot&&(n.relativeTarget=N,n.relativeTargetOrigin=S,n.relativeParent=p)}}}n.notifyListeners("didUpdate",{layout:i,snapshot:a,delta:h,layoutDelta:d,hasLayoutChanged:b,hasRelativeLayoutChanged:g})}else if(n.isLead()){const{onExitComplete:i}=n.options;i&&i()}n.options.transition=void 0}function CV(n){n.parent&&(n.isProjecting()||(n.isProjectionDirty=n.parent.isProjectionDirty),n.isSharedProjectionDirty||(n.isSharedProjectionDirty=!!(n.isProjectionDirty||n.parent.isProjectionDirty||n.parent.isSharedProjectionDirty)),n.isTransformDirty||(n.isTransformDirty=n.parent.isTransformDirty))}function RV(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function OV(n){n.clearSnapshot()}function rw(n){n.clearMeasurements()}function aw(n){n.isLayoutDirty=!1}function MV(n){const{visualElement:a}=n.options;a&&a.getProps().onBeforeLayoutMeasure&&a.notify("BeforeLayoutMeasure"),n.resetTransform()}function iw(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function _V(n){n.resolveTargetDelta()}function zV(n){n.calcProjection()}function UV(n){n.resetSkewAndRotation()}function jV(n){n.removeLeadSnapshot()}function ow(n,a,i){n.translate=zt(a.translate,0,i),n.scale=zt(a.scale,1,i),n.origin=a.origin,n.originPoint=a.originPoint}function sw(n,a,i,s){n.min=zt(a.min,i.min,s),n.max=zt(a.max,i.max,s)}function VV(n,a,i,s){sw(n.x,a.x,i.x,s),sw(n.y,a.y,i.y,s)}function LV(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const BV={duration:.45,ease:[.4,0,.1,1]},lw=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),uw=lw("applewebkit/")&&!lw("chrome/")?Math.round:Lr;function cw(n){n.min=uw(n.min),n.max=uw(n.max)}function HV(n){cw(n.x),cw(n.y)}function sC(n,a,i){return n==="position"||n==="preserve-aspect"&&!uV(KA(a),KA(i),.2)}function PV(n){return n!==n.root&&n.scroll?.wasRoot}const qV=oC({attachResizeListener:(n,a)=>kc(n,"resize",a),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Zy={current:void 0},lC=oC({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!Zy.current){const n=new qV({});n.mount(window),n.setOptions({layoutScroll:!0}),Zy.current=n}return Zy.current},resetTransform:(n,a)=>{n.style.transform=a!==void 0?a:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),qv=me.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});function fw(n,a){if(typeof n=="function")return n(a);n!=null&&(n.current=a)}function IV(...n){return a=>{let i=!1;const s=n.map(u=>{const f=fw(u,a);return!i&&typeof f=="function"&&(i=!0),f});if(i)return()=>{for(let u=0;u<s.length;u++){const f=s[u];typeof f=="function"?f():fw(n[u],null)}}}}function FV(...n){return me.useCallback(IV(...n),n)}class YV extends me.Component{getSnapshotBeforeUpdate(a){const i=this.props.childRef.current;if(i&&a.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const s=i.offsetParent,u=Pb(s)&&s.offsetWidth||0,f=Pb(s)&&s.offsetHeight||0,d=this.props.sizeRef.current;d.height=i.offsetHeight||0,d.width=i.offsetWidth||0,d.top=i.offsetTop,d.left=i.offsetLeft,d.right=u-d.width-d.left,d.bottom=f-d.height-d.top}return null}componentDidUpdate(){}render(){return this.props.children}}function GV({children:n,isPresent:a,anchorX:i,anchorY:s,root:u,pop:f}){const d=me.useId(),h=me.useRef(null),b=me.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:g}=me.useContext(qv),p=n.props?.ref??n?.ref,v=FV(h,p);return me.useInsertionEffect(()=>{const{width:x,height:S,top:N,left:V,right:R,bottom:z}=b.current;if(a||f===!1||!h.current||!x||!S)return;const X=i==="left"?`left: ${V}`:`right: ${R}`,I=s==="bottom"?`bottom: ${z}`:`top: ${N}`;h.current.dataset.motionPopId=d;const ie=document.createElement("style");g&&(ie.nonce=g);const re=u??document.head;return re.appendChild(ie),ie.sheet&&ie.sheet.insertRule(`
|
|
241
|
+
[data-motion-pop-id="${d}"] {
|
|
242
|
+
position: absolute !important;
|
|
243
|
+
width: ${x}px !important;
|
|
244
|
+
height: ${S}px !important;
|
|
245
|
+
${X}px !important;
|
|
246
|
+
${I}px !important;
|
|
247
|
+
}
|
|
248
|
+
`),()=>{re.contains(ie)&&re.removeChild(ie)}},[a]),Vr.jsx(YV,{isPresent:a,childRef:h,sizeRef:b,pop:f,children:f===!1?n:me.cloneElement(n,{ref:v})})}const $V=({children:n,initial:a,isPresent:i,onExitComplete:s,custom:u,presenceAffectsLayout:f,mode:d,anchorX:h,anchorY:b,root:g})=>{const p=mv(XV),v=me.useId();let x=!0,S=me.useMemo(()=>(x=!1,{id:v,initial:a,isPresent:i,custom:u,onExitComplete:N=>{p.set(N,!0);for(const V of p.values())if(!V)return;s&&s()},register:N=>(p.set(N,!1),()=>p.delete(N))}),[i,p,s]);return f&&x&&(S={...S}),me.useMemo(()=>{p.forEach((N,V)=>p.set(V,!1))},[i]),me.useEffect(()=>{!i&&!p.size&&s&&s()},[i]),n=Vr.jsx(GV,{pop:d==="popLayout",isPresent:i,anchorX:h,anchorY:b,root:g,children:n}),Vr.jsx(Hh.Provider,{value:S,children:n})};function XV(){return new Map}function uC(n=!0){const a=me.useContext(Hh);if(a===null)return[!0,null];const{isPresent:i,onExitComplete:s,register:u}=a,f=me.useId();me.useEffect(()=>{if(n)return u(f)},[n]);const d=me.useCallback(()=>n&&s&&s(f),[f,s,n]);return!i&&s?[!1,d]:[!0]}const sh=n=>n.key||"";function dw(n){const a=[];return me.Children.forEach(n,i=>{me.isValidElement(i)&&a.push(i)}),a}const so=({children:n,custom:a,initial:i=!0,onExitComplete:s,presenceAffectsLayout:u=!0,mode:f="sync",propagate:d=!1,anchorX:h="left",anchorY:b="top",root:g})=>{const[p,v]=uC(d),x=me.useMemo(()=>dw(n),[n]),S=d&&!p?[]:x.map(sh),N=me.useRef(!0),V=me.useRef(x),R=mv(()=>new Map),z=me.useRef(new Set),[X,I]=me.useState(x),[ie,re]=me.useState(x);BN(()=>{N.current=!1,V.current=x;for(let se=0;se<ie.length;se++){const ce=sh(ie[se]);S.includes(ce)?(R.delete(ce),z.current.delete(ce)):R.get(ce)!==!0&&R.set(ce,!1)}},[ie,S.length,S.join("-")]);const G=[];if(x!==X){let se=[...x];for(let ce=0;ce<ie.length;ce++){const F=ie[ce],he=sh(F);S.includes(he)||(se.splice(ce,0,F),G.push(F))}return f==="wait"&&G.length&&(se=G),re(dw(se)),I(x),null}f==="wait"&&ie.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:ge}=me.useContext(hv);return Vr.jsx(Vr.Fragment,{children:ie.map(se=>{const ce=sh(se),F=d&&!p?!1:x===ie||S.includes(ce),he=()=>{if(z.current.has(ce))return;if(z.current.add(ce),R.has(ce))R.set(ce,!0);else return;let oe=!0;R.forEach(Q=>{Q||(oe=!1)}),oe&&(ge?.(),re(V.current),d&&v?.(),s&&s())};return Vr.jsx($V,{isPresent:F,initial:!N.current||i?void 0:!1,custom:a,presenceAffectsLayout:u,mode:f,root:g,onExitComplete:F?void 0:he,anchorX:h,anchorY:b,children:se},ce)})})},cC=me.createContext({strict:!1}),hw={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let mw=!1;function QV(){if(mw)return;const n={};for(const a in hw)n[a]={isEnabled:i=>hw[a].some(s=>!!i[s])};Bk(n),mw=!0}function fC(){return QV(),Uj()}function ZV(n){const a=fC();for(const i in n)a[i]={...a[i],...n[i]};Bk(a)}const JV=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Uh(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||JV.has(n)}let dC=n=>!Uh(n);function KV(n){typeof n=="function"&&(dC=a=>a.startsWith("on")?!Uh(a):n(a))}try{KV(require("@emotion/is-prop-valid").default)}catch{}function WV(n,a,i){const s={};for(const u in n)u==="values"&&typeof n.values=="object"||(dC(u)||i===!0&&Uh(u)||!a&&!Uh(u)||n.draggable&&u.startsWith("onDrag"))&&(s[u]=n[u]);return s}const Ih=me.createContext({});function e4(n,a){if(qh(n)){const{initial:i,animate:s}=n;return{initial:i===!1||Nc(i)?i:void 0,animate:Nc(s)?s:void 0}}return n.inherit!==!1?a:{}}function t4(n){const{initial:a,animate:i}=e4(n,me.useContext(Ih));return me.useMemo(()=>({initial:a,animate:i}),[pw(a),pw(i)])}function pw(n){return Array.isArray(n)?n.join(" "):n}const Iv=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function hC(n,a,i){for(const s in a)!En(a[s])&&!Gk(s,i)&&(n[s]=a[s])}function n4({transformTemplate:n},a){return me.useMemo(()=>{const i=Iv();return Hv(i,a,n),Object.assign({},i.vars,i.style)},[a])}function r4(n,a){const i=n.style||{},s={};return hC(s,i,n),Object.assign(s,n4(n,a)),s}function a4(n,a){const i={},s=r4(n,a);return n.drag&&n.dragListener!==!1&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(i.tabIndex=0),i.style=s,i}const mC=()=>({...Iv(),attrs:{}});function i4(n,a,i,s){const u=me.useMemo(()=>{const f=mC();return $k(f,a,Qk(s),n.transformTemplate,n.style),{...f.attrs,style:{...f.style}}},[a]);if(n.style){const f={};hC(f,n.style,n),u.style={...f,...u.style}}return u}const o4=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Fv(n){return typeof n!="string"||n.includes("-")?!1:!!(o4.indexOf(n)>-1||/[A-Z]/u.test(n))}function s4(n,a,i,{latestValues:s},u,f=!1,d){const b=(d??Fv(n)?i4:a4)(a,s,u,n),g=WV(a,typeof n=="string",f),p=n!==me.Fragment?{...g,...b,ref:i}:{},{children:v}=a,x=me.useMemo(()=>En(v)?v.get():v,[v]);return me.createElement(n,{...p,children:x})}function l4({scrapeMotionValuesFromProps:n,createRenderState:a},i,s,u){return{latestValues:u4(i,s,u,n),renderState:a()}}function u4(n,a,i,s){const u={},f=s(n,{});for(const x in f)u[x]=Sh(f[x]);let{initial:d,animate:h}=n;const b=qh(n),g=Vk(n);a&&g&&!b&&n.inherit!==!1&&(d===void 0&&(d=a.initial),h===void 0&&(h=a.animate));let p=i?i.initial===!1:!1;p=p||d===!1;const v=p?h:d;if(v&&typeof v!="boolean"&&!Ph(v)){const x=Array.isArray(v)?v:[v];for(let S=0;S<x.length;S++){const N=Mv(n,x[S]);if(N){const{transitionEnd:V,transition:R,...z}=N;for(const X in z){let I=z[X];if(Array.isArray(I)){const ie=p?I.length-1:0;I=I[ie]}I!==null&&(u[X]=I)}for(const X in V)u[X]=V[X]}}}return u}const pC=n=>(a,i)=>{const s=me.useContext(Ih),u=me.useContext(Hh),f=()=>l4(n,a,s,u);return i?f():mv(f)},c4=pC({scrapeMotionValuesFromProps:Pv,createRenderState:Iv}),f4=pC({scrapeMotionValuesFromProps:Zk,createRenderState:mC}),d4=Symbol.for("motionComponentSymbol");function h4(n,a,i){const s=me.useRef(i);me.useInsertionEffect(()=>{s.current=i});const u=me.useRef(null);return me.useCallback(f=>{f&&n.onMount?.(f),a&&(f?a.mount(f):a.unmount());const d=s.current;if(typeof d=="function")if(f){const h=d(f);typeof h=="function"&&(u.current=h)}else u.current?(u.current(),u.current=null):d(f);else d&&(d.current=f)},[a])}const gC=me.createContext({});function ml(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function m4(n,a,i,s,u,f){const{visualElement:d}=me.useContext(Ih),h=me.useContext(cC),b=me.useContext(Hh),g=me.useContext(qv),p=g.reducedMotion,v=g.skipAnimations,x=me.useRef(null),S=me.useRef(!1);s=s||h.renderer,!x.current&&s&&(x.current=s(n,{visualState:a,parent:d,props:i,presenceContext:b,blockInitialAnimation:b?b.initial===!1:!1,reducedMotionConfig:p,skipAnimations:v,isSVG:f}),S.current&&x.current&&(x.current.manuallyAnimateOnMount=!0));const N=x.current,V=me.useContext(gC);N&&!N.projection&&u&&(N.type==="html"||N.type==="svg")&&p4(x.current,i,u,V);const R=me.useRef(!1);me.useInsertionEffect(()=>{N&&R.current&&N.update(i,b)});const z=i[Tk],X=me.useRef(!!z&&!window.MotionHandoffIsComplete?.(z)&&window.MotionHasOptimisedAnimation?.(z));return BN(()=>{S.current=!0,N&&(R.current=!0,window.MotionIsMounted=!0,N.updateFeatures(),N.scheduleRenderMicrotask(),X.current&&N.animationState&&N.animationState.animateChanges())}),me.useEffect(()=>{N&&(!X.current&&N.animationState&&N.animationState.animateChanges(),X.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(z)}),X.current=!1),N.enteringChildren=void 0)}),N}function p4(n,a,i,s){const{layoutId:u,layout:f,drag:d,dragConstraints:h,layoutScroll:b,layoutRoot:g,layoutCrossfade:p}=a;n.projection=new i(n.latestValues,a["data-framer-portal-id"]?void 0:yC(n.parent)),n.projection.setOptions({layoutId:u,layout:f,alwaysMeasureLayout:!!d||h&&ml(h),visualElement:n,animationType:typeof f=="string"?f:"both",initialPromotionConfig:s,crossfade:p,layoutScroll:b,layoutRoot:g})}function yC(n){if(n)return n.options.allowProjection!==!1?n.projection:yC(n.parent)}function Jy(n,{forwardMotionProps:a=!1,type:i}={},s,u){s&&ZV(s);const f=i?i==="svg":Fv(n),d=f?f4:c4;function h(g,p){let v;const x={...me.useContext(qv),...g,layoutId:g4(g)},{isStatic:S}=x,N=t4(g),V=d(g,S);if(!S&&LN){y4(x,s);const R=b4(x);v=R.MeasureLayout,N.visualElement=m4(n,V,x,u,R.ProjectionNode,f)}return Vr.jsxs(Ih.Provider,{value:N,children:[v&&N.visualElement?Vr.jsx(v,{visualElement:N.visualElement,...x}):null,s4(n,g,h4(V,N.visualElement,p),V,S,a,f)]})}h.displayName=`motion.${typeof n=="string"?n:`create(${n.displayName??n.name??""})`}`;const b=me.forwardRef(h);return b[d4]=n,b}function g4({layoutId:n}){const a=me.useContext(hv).id;return a&&n!==void 0?a+"-"+n:n}function y4(n,a){const i=me.useContext(cC).strict;if(a&&i){const s="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";n.ignoreStrict?wl(!1,s,"lazy-strict-mode"):mi(!1,s,"lazy-strict-mode")}}function b4(n){const a=fC(),{drag:i,layout:s}=a;if(!i&&!s)return{};const u={...i,...s};return{MeasureLayout:i?.isEnabled(n)||s?.isEnabled(n)?u.MeasureLayout:void 0,ProjectionNode:u.ProjectionNode}}function v4(n,a){if(typeof Proxy>"u")return Jy;const i=new Map,s=(f,d)=>Jy(f,d,n,a),u=(f,d)=>(bv(!1,"motion() is deprecated. Use motion.create() instead."),s(f,d));return new Proxy(u,{get:(f,d)=>d==="create"?s:(i.has(d)||i.set(d,Jy(d,void 0,n,a)),i.get(d))})}const x4=(n,a)=>a.isSVG??Fv(n)?new Kj(a):new Gj(a,{allowProjection:n!==me.Fragment});class S4 extends co{constructor(a){super(a),a.animationState||(a.animationState=rV(a))}updateAnimationControlsSubscription(){const{animate:a}=this.node.getProps();Ph(a)&&(this.unmountControls=a.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:a}=this.node.getProps(),{animate:i}=this.node.prevProps||{};a!==i&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let D4=0;class E4 extends co{constructor(){super(...arguments),this.id=D4++}update(){if(!this.node.presenceContext)return;const{isPresent:a,onExitComplete:i}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||a===s)return;const u=this.node.animationState.setActive("exit",!a);i&&!a&&u.then(()=>{i(this.id)})}mount(){const{register:a,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),a&&(this.unmount=a(this.id))}unmount(){}}const T4={animation:{Feature:S4},exit:{Feature:E4}};function Uc(n){return{point:{x:n.pageX,y:n.pageY}}}const A4=n=>a=>jv(a)&&n(a,Uc(a));function xc(n,a,i,s){return kc(n,a,A4(i),s)}const bC=({current:n})=>n?n.ownerDocument.defaultView:null,gw=(n,a)=>Math.abs(n-a);function w4(n,a){const i=gw(n.x,a.x),s=gw(n.y,a.y);return Math.sqrt(i**2+s**2)}const yw=new Set(["auto","scroll"]);class vC{constructor(a,i,{transformPagePoint:s,contextWindow:u=window,dragSnapToOrigin:f=!1,distanceThreshold:d=3,element:h}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=S=>{this.handleScroll(S.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=Wy(this.lastMoveEventInfo,this.history),N=this.startEvent!==null,V=w4(S.offset,{x:0,y:0})>=this.distanceThreshold;if(!N&&!V)return;const{point:R}=S,{timestamp:z}=gn;this.history.push({...R,timestamp:z});const{onStart:X,onMove:I}=this.handlers;N||(X&&X(this.lastMoveEvent,S),this.startEvent=this.lastMoveEvent),I&&I(this.lastMoveEvent,S)},this.handlePointerMove=(S,N)=>{this.lastMoveEvent=S,this.lastMoveEventInfo=Ky(N,this.transformPagePoint),At.update(this.updatePoint,!0)},this.handlePointerUp=(S,N)=>{this.end();const{onEnd:V,onSessionEnd:R,resumeAnimation:z}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&z&&z(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const X=Wy(S.type==="pointercancel"?this.lastMoveEventInfo:Ky(N,this.transformPagePoint),this.history);this.startEvent&&V&&V(S,X),R&&R(S,X)},!jv(a))return;this.dragSnapToOrigin=f,this.handlers=i,this.transformPagePoint=s,this.distanceThreshold=d,this.contextWindow=u||window;const b=Uc(a),g=Ky(b,this.transformPagePoint),{point:p}=g,{timestamp:v}=gn;this.history=[{...p,timestamp:v}];const{onSessionStart:x}=i;x&&x(a,Wy(g,this.history)),this.removeListeners=Mc(xc(this.contextWindow,"pointermove",this.handlePointerMove),xc(this.contextWindow,"pointerup",this.handlePointerUp),xc(this.contextWindow,"pointercancel",this.handlePointerUp)),h&&this.startScrollTracking(h)}startScrollTracking(a){let i=a.parentElement;for(;i;){const s=getComputedStyle(i);(yw.has(s.overflowX)||yw.has(s.overflowY))&&this.scrollPositions.set(i,{x:i.scrollLeft,y:i.scrollTop}),i=i.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(a){const i=this.scrollPositions.get(a);if(!i)return;const s=a===window,u=s?{x:window.scrollX,y:window.scrollY}:{x:a.scrollLeft,y:a.scrollTop},f={x:u.x-i.x,y:u.y-i.y};f.x===0&&f.y===0||(s?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=f.x,this.lastMoveEventInfo.point.y+=f.y):this.history.length>0&&(this.history[0].x-=f.x,this.history[0].y-=f.y),this.scrollPositions.set(a,u),At.update(this.updatePoint,!0))}updateHandlers(a){this.handlers=a}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),lo(this.updatePoint)}}function Ky(n,a){return a?{point:a(n.point)}:n}function bw(n,a){return{x:n.x-a.x,y:n.y-a.y}}function Wy({point:n},a){return{point:n,delta:bw(n,xC(a)),offset:bw(n,N4(a)),velocity:k4(a,.1)}}function N4(n){return n[0]}function xC(n){return n[n.length-1]}function k4(n,a){if(n.length<2)return{x:0,y:0};let i=n.length-1,s=null;const u=xC(n);for(;i>=0&&(s=n[i],!(u.timestamp-s.timestamp>Br(a)));)i--;if(!s)return{x:0,y:0};s===n[0]&&n.length>2&&u.timestamp-s.timestamp>Br(a)*2&&(s=n[1]);const f=jr(u.timestamp-s.timestamp);if(f===0)return{x:0,y:0};const d={x:(u.x-s.x)/f,y:(u.y-s.y)/f};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function C4(n,{min:a,max:i},s){return a!==void 0&&n<a?n=s?zt(a,n,s.min):Math.max(n,a):i!==void 0&&n>i&&(n=s?zt(i,n,s.max):Math.min(n,i)),n}function vw(n,a,i){return{min:a!==void 0?n.min+a:void 0,max:i!==void 0?n.max+i-(n.max-n.min):void 0}}function R4(n,{top:a,left:i,bottom:s,right:u}){return{x:vw(n.x,i,u),y:vw(n.y,a,s)}}function xw(n,a){let i=a.min-n.min,s=a.max-n.max;return a.max-a.min<n.max-n.min&&([i,s]=[s,i]),{min:i,max:s}}function O4(n,a){return{x:xw(n.x,a.x),y:xw(n.y,a.y)}}function M4(n,a){let i=.5;const s=Bn(n),u=Bn(a);return u>s?i=Tc(a.min,a.max-s,n.min):s>u&&(i=Tc(n.min,n.max-u,a.min)),Va(0,1,i)}function _4(n,a){const i={};return a.min!==void 0&&(i.min=a.min-n.min),a.max!==void 0&&(i.max=a.max-n.min),i}const Gb=.35;function z4(n=Gb){return n===!1?n=0:n===!0&&(n=Gb),{x:Sw(n,"left","right"),y:Sw(n,"top","bottom")}}function Sw(n,a,i){return{min:Dw(n,a),max:Dw(n,i)}}function Dw(n,a){return typeof n=="number"?n:n[a]||0}const U4=new WeakMap;class j4{constructor(a){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=rn(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=a}start(a,{snapToCursor:i=!1,distanceThreshold:s}={}){const{presenceContext:u}=this.visualElement;if(u&&u.isPresent===!1)return;const f=v=>{i&&this.snapToCursor(Uc(v).point),this.stopAnimation()},d=(v,x)=>{const{drag:S,dragPropagation:N,onDragStart:V}=this.getProps();if(S&&!N&&(this.openDragLock&&this.openDragLock(),this.openDragLock=fj(S),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=x,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ma(z=>{let X=this.getAxisMotionValue(z).get()||0;if(ja.test(X)){const{projection:I}=this.visualElement;if(I&&I.layout){const ie=I.layout.layoutBox[z];ie&&(X=Bn(ie)*(parseFloat(X)/100))}}this.originPoint[z]=X}),V&&At.update(()=>V(v,x),!1,!0),Lb(this.visualElement,"transform");const{animationState:R}=this.visualElement;R&&R.setActive("whileDrag",!0)},h=(v,x)=>{this.latestPointerEvent=v,this.latestPanInfo=x;const{dragPropagation:S,dragDirectionLock:N,onDirectionLock:V,onDrag:R}=this.getProps();if(!S&&!this.openDragLock)return;const{offset:z}=x;if(N&&this.currentDirection===null){this.currentDirection=L4(z),this.currentDirection!==null&&V&&V(this.currentDirection);return}this.updateAxis("x",x.point,z),this.updateAxis("y",x.point,z),this.visualElement.render(),R&&At.update(()=>R(v,x),!1,!0)},b=(v,x)=>{this.latestPointerEvent=v,this.latestPanInfo=x,this.stop(v,x),this.latestPointerEvent=null,this.latestPanInfo=null},g=()=>{const{dragSnapToOrigin:v}=this.getProps();(v||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:p}=this.getProps();this.panSession=new vC(a,{onSessionStart:f,onStart:d,onMove:h,onSessionEnd:b,resumeAnimation:g},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:p,distanceThreshold:s,contextWindow:bC(this.visualElement),element:this.visualElement.current})}stop(a,i){const s=a||this.latestPointerEvent,u=i||this.latestPanInfo,f=this.isDragging;if(this.cancel(),!f||!u||!s)return;const{velocity:d}=u;this.startAnimation(d);const{onDragEnd:h}=this.getProps();h&&At.postRender(()=>h(s,u))}cancel(){this.isDragging=!1;const{projection:a,animationState:i}=this.visualElement;a&&(a.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(a,i,s){const{drag:u}=this.getProps();if(!s||!lh(a,u,this.currentDirection))return;const f=this.getAxisMotionValue(a);let d=this.originPoint[a]+s[a];this.constraints&&this.constraints[a]&&(d=C4(d,this.constraints[a],this.elastic[a])),f.set(d)}resolveConstraints(){const{dragConstraints:a,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,u=this.constraints;a&&ml(a)?this.constraints||(this.constraints=this.resolveRefConstraints()):a&&s?this.constraints=R4(s.layoutBox,a):this.constraints=!1,this.elastic=z4(i),u!==this.constraints&&!ml(a)&&s&&this.constraints&&!this.hasMutatedConstraints&&Ma(f=>{this.constraints!==!1&&this.getAxisMotionValue(f)&&(this.constraints[f]=_4(s.layoutBox[f],this.constraints[f]))})}resolveRefConstraints(){const{dragConstraints:a,onMeasureDragConstraints:i}=this.getProps();if(!a||!ml(a))return!1;const s=a.current;mi(s!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:u}=this.visualElement;if(!u||!u.layout)return!1;const f=Hj(s,u.root,this.visualElement.getTransformPagePoint());let d=O4(u.layout.layoutBox,f);if(i){const h=i(Vj(d));this.hasMutatedConstraints=!!h,h&&(d=Pk(h))}return d}startAnimation(a){const{drag:i,dragMomentum:s,dragElastic:u,dragTransition:f,dragSnapToOrigin:d,onDragTransitionEnd:h}=this.getProps(),b=this.constraints||{},g=Ma(p=>{if(!lh(p,i,this.currentDirection))return;let v=b&&b[p]||{};d&&(v={min:0,max:0});const x=u?200:1e6,S=u?40:1e7,N={type:"inertia",velocity:s?a[p]:0,bounceStiffness:x,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...f,...v};return this.startAxisValueAnimation(p,N)});return Promise.all(g).then(h)}startAxisValueAnimation(a,i){const s=this.getAxisMotionValue(a);return Lb(this.visualElement,a),s.start(Ov(a,s,0,i,this.visualElement,!1))}stopAnimation(){Ma(a=>this.getAxisMotionValue(a).stop())}getAxisMotionValue(a){const i=`_drag${a.toUpperCase()}`,s=this.visualElement.getProps(),u=s[i];return u||this.visualElement.getValue(a,(s.initial?s.initial[a]:void 0)||0)}snapToCursor(a){Ma(i=>{const{drag:s}=this.getProps();if(!lh(i,s,this.currentDirection))return;const{projection:u}=this.visualElement,f=this.getAxisMotionValue(i);if(u&&u.layout){const{min:d,max:h}=u.layout.layoutBox[i],b=f.get()||0;f.set(a[i]-zt(d,h,.5)+b)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:a,dragConstraints:i}=this.getProps(),{projection:s}=this.visualElement;if(!ml(i)||!s||!this.constraints)return;this.stopAnimation();const u={x:0,y:0};Ma(d=>{const h=this.getAxisMotionValue(d);if(h&&this.constraints!==!1){const b=h.get();u[d]=M4({min:b,max:b},this.constraints[d])}});const{transformTemplate:f}=this.visualElement.getProps();this.visualElement.current.style.transform=f?f({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.constraints=!1,this.resolveConstraints(),Ma(d=>{if(!lh(d,a,null))return;const h=this.getAxisMotionValue(d),{min:b,max:g}=this.constraints[d];h.set(zt(b,g,u[d]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;U4.set(this.visualElement,this);const a=this.visualElement.current,i=xc(a,"pointerdown",g=>{const{drag:p,dragListener:v=!0}=this.getProps(),x=g.target,S=x!==a&&yj(x);p&&v&&!S&&this.start(g)});let s;const u=()=>{const{dragConstraints:g}=this.getProps();ml(g)&&g.current&&(this.constraints=this.resolveRefConstraints(),s||(s=V4(a,g.current,()=>this.scalePositionWithinConstraints())))},{projection:f}=this.visualElement,d=f.addEventListener("measure",u);f&&!f.layout&&(f.root&&f.root.updateScroll(),f.updateLayout()),At.read(u);const h=kc(window,"resize",()=>this.scalePositionWithinConstraints()),b=f.addEventListener("didUpdate",(({delta:g,hasLayoutChanged:p})=>{this.isDragging&&p&&(Ma(v=>{const x=this.getAxisMotionValue(v);x&&(this.originPoint[v]+=g[v].translate,x.set(x.get()+g[v].translate))}),this.visualElement.render())}));return()=>{h(),i(),d(),b&&b(),s&&s()}}getProps(){const a=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:s=!1,dragPropagation:u=!1,dragConstraints:f=!1,dragElastic:d=Gb,dragMomentum:h=!0}=a;return{...a,drag:i,dragDirectionLock:s,dragPropagation:u,dragConstraints:f,dragElastic:d,dragMomentum:h}}}function Ew(n){let a=!0;return()=>{if(a){a=!1;return}n()}}function V4(n,a,i){const s=RA(n,Ew(i)),u=RA(a,Ew(i));return()=>{s(),u()}}function lh(n,a,i){return(a===!0||a===n)&&(i===null||i===n)}function L4(n,a=10){let i=null;return Math.abs(n.y)>a?i="y":Math.abs(n.x)>a&&(i="x"),i}class B4 extends co{constructor(a){super(a),this.removeGroupControls=Lr,this.removeListeners=Lr,this.controls=new j4(a)}mount(){const{dragControls:a}=this.node.getProps();a&&(this.removeGroupControls=a.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Lr}update(){const{dragControls:a}=this.node.getProps(),{dragControls:i}=this.node.prevProps||{};a!==i&&(this.removeGroupControls(),a&&(this.removeGroupControls=a.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const eb=n=>(a,i)=>{n&&At.update(()=>n(a,i),!1,!0)};class H4 extends co{constructor(){super(...arguments),this.removePointerDownListener=Lr}onPointerDown(a){this.session=new vC(a,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:bC(this.node)})}createPanHandlers(){const{onPanSessionStart:a,onPanStart:i,onPan:s,onPanEnd:u}=this.node.getProps();return{onSessionStart:eb(a),onStart:eb(i),onMove:eb(s),onEnd:(f,d)=>{delete this.session,u&&At.postRender(()=>u(f,d))}}}mount(){this.removePointerDownListener=xc(this.node.current,"pointerdown",a=>this.onPointerDown(a))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let tb=!1;class P4 extends me.Component{componentDidMount(){const{visualElement:a,layoutGroup:i,switchLayoutGroup:s,layoutId:u}=this.props,{projection:f}=a;f&&(i.group&&i.group.add(f),s&&s.register&&u&&s.register(f),tb&&f.root.didUpdate(),f.addEventListener("animationComplete",()=>{this.safeToRemove()}),f.setOptions({...f.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Dh.hasEverUpdated=!0}getSnapshotBeforeUpdate(a){const{layoutDependency:i,visualElement:s,drag:u,isPresent:f}=this.props,{projection:d}=s;return d&&(d.isPresent=f,a.layoutDependency!==i&&d.setOptions({...d.options,layoutDependency:i}),tb=!0,u||a.layoutDependency!==i||i===void 0||a.isPresent!==f?d.willUpdate():this.safeToRemove(),a.isPresent!==f&&(f?d.promote():d.relegate()||At.postRender(()=>{const h=d.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:a}=this.props.visualElement;a&&(a.root.didUpdate(),Uv.postRender(()=>{!a.currentAnimation&&a.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:a,layoutGroup:i,switchLayoutGroup:s}=this.props,{projection:u}=a;tb=!0,u&&(u.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(u),s&&s.deregister&&s.deregister(u))}safeToRemove(){const{safeToRemove:a}=this.props;a&&a()}render(){return null}}function SC(n){const[a,i]=uC(),s=me.useContext(hv);return Vr.jsx(P4,{...n,layoutGroup:s,switchLayoutGroup:me.useContext(gC),isPresent:a,safeToRemove:i})}const q4={pan:{Feature:H4},drag:{Feature:B4,ProjectionNode:lC,MeasureLayout:SC}};function Tw(n,a,i){const{props:s}=n;n.animationState&&s.whileHover&&n.animationState.setActive("whileHover",i==="Start");const u="onHover"+i,f=s[u];f&&At.postRender(()=>f(a,Uc(a)))}class I4 extends co{mount(){const{current:a}=this.node;a&&(this.unmount=hj(a,(i,s)=>(Tw(this.node,s,"Start"),u=>Tw(this.node,u,"End"))))}unmount(){}}class F4 extends co{constructor(){super(...arguments),this.isActive=!1}onFocus(){let a=!1;try{a=this.node.current.matches(":focus-visible")}catch{a=!0}!a||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Mc(kc(this.node.current,"focus",()=>this.onFocus()),kc(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Aw(n,a,i){const{props:s}=n;if(n.current instanceof HTMLButtonElement&&n.current.disabled)return;n.animationState&&s.whileTap&&n.animationState.setActive("whileTap",i==="Start");const u="onTap"+(i==="End"?"":i),f=s[u];f&&At.postRender(()=>f(a,Uc(a)))}class Y4 extends co{mount(){const{current:a}=this.node;if(!a)return;const{globalTapTarget:i,propagate:s}=this.node.props;this.unmount=vj(a,(u,f)=>(Aw(this.node,f,"Start"),(d,{success:h})=>Aw(this.node,d,h?"End":"Cancel")),{useGlobalTarget:i,stopPropagation:s?.tap===!1})}unmount(){}}const $b=new WeakMap,nb=new WeakMap,G4=n=>{const a=$b.get(n.target);a&&a(n)},$4=n=>{n.forEach(G4)};function X4({root:n,...a}){const i=n||document;nb.has(i)||nb.set(i,{});const s=nb.get(i),u=JSON.stringify(a);return s[u]||(s[u]=new IntersectionObserver($4,{root:n,...a})),s[u]}function Q4(n,a,i){const s=X4(a);return $b.set(n,i),s.observe(n),()=>{$b.delete(n),s.unobserve(n)}}const Z4={some:0,all:1};class J4 extends co{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:a={}}=this.node.getProps(),{root:i,margin:s,amount:u="some",once:f}=a,d={root:i?i.current:void 0,rootMargin:s,threshold:typeof u=="number"?u:Z4[u]},h=b=>{const{isIntersecting:g}=b;if(this.isInView===g||(this.isInView=g,f&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:p,onViewportLeave:v}=this.node.getProps(),x=g?p:v;x&&x(b)};return Q4(this.node.current,d,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:a,prevProps:i}=this.node;["amount","margin","root"].some(K4(a,i))&&this.startObserver()}unmount(){}}function K4({viewport:n={}},{viewport:a={}}={}){return i=>n[i]!==a[i]}const W4={inView:{Feature:J4},tap:{Feature:Y4},focus:{Feature:F4},hover:{Feature:I4}},e5={layout:{ProjectionNode:lC,MeasureLayout:SC}},t5={...T4,...W4,...q4,...e5},Tn=v4(t5,x4);function DC(n,a){return function(){return n.apply(a,arguments)}}const{toString:n5}=Object.prototype,{getPrototypeOf:Yv}=Object,{iterator:Fh,toStringTag:EC}=Symbol,Yh=(n=>a=>{const i=n5.call(a);return n[i]||(n[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),ta=n=>(n=n.toLowerCase(),a=>Yh(a)===n),Gh=n=>a=>typeof a===n,{isArray:Rl}=Array,Al=Gh("undefined");function jc(n){return n!==null&&!Al(n)&&n.constructor!==null&&!Al(n.constructor)&&Xn(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const TC=ta("ArrayBuffer");function r5(n){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(n):a=n&&n.buffer&&TC(n.buffer),a}const a5=Gh("string"),Xn=Gh("function"),AC=Gh("number"),Vc=n=>n!==null&&typeof n=="object",i5=n=>n===!0||n===!1,Eh=n=>{if(Yh(n)!=="object")return!1;const a=Yv(n);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(EC in n)&&!(Fh in n)},o5=n=>{if(!Vc(n)||jc(n))return!1;try{return Object.keys(n).length===0&&Object.getPrototypeOf(n)===Object.prototype}catch{return!1}},s5=ta("Date"),l5=ta("File"),u5=ta("Blob"),c5=ta("FileList"),f5=n=>Vc(n)&&Xn(n.pipe),d5=n=>{let a;return n&&(typeof FormData=="function"&&n instanceof FormData||Xn(n.append)&&((a=Yh(n))==="formdata"||a==="object"&&Xn(n.toString)&&n.toString()==="[object FormData]"))},h5=ta("URLSearchParams"),[m5,p5,g5,y5]=["ReadableStream","Request","Response","Headers"].map(ta),b5=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Lc(n,a,{allOwnKeys:i=!1}={}){if(n===null||typeof n>"u")return;let s,u;if(typeof n!="object"&&(n=[n]),Rl(n))for(s=0,u=n.length;s<u;s++)a.call(null,n[s],s,n);else{if(jc(n))return;const f=i?Object.getOwnPropertyNames(n):Object.keys(n),d=f.length;let h;for(s=0;s<d;s++)h=f[s],a.call(null,n[h],h,n)}}function wC(n,a){if(jc(n))return null;a=a.toLowerCase();const i=Object.keys(n);let s=i.length,u;for(;s-- >0;)if(u=i[s],a===u.toLowerCase())return u;return null}const rs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,NC=n=>!Al(n)&&n!==rs;function Xb(){const{caseless:n,skipUndefined:a}=NC(this)&&this||{},i={},s=(u,f)=>{if(f==="__proto__"||f==="constructor"||f==="prototype")return;const d=n&&wC(i,f)||f;Eh(i[d])&&Eh(u)?i[d]=Xb(i[d],u):Eh(u)?i[d]=Xb({},u):Rl(u)?i[d]=u.slice():(!a||!Al(u))&&(i[d]=u)};for(let u=0,f=arguments.length;u<f;u++)arguments[u]&&Lc(arguments[u],s);return i}const v5=(n,a,i,{allOwnKeys:s}={})=>(Lc(a,(u,f)=>{i&&Xn(u)?Object.defineProperty(n,f,{value:DC(u,i),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(n,f,{value:u,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:s}),n),x5=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),S5=(n,a,i,s)=>{n.prototype=Object.create(a.prototype,s),Object.defineProperty(n.prototype,"constructor",{value:n,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(n,"super",{value:a.prototype}),i&&Object.assign(n.prototype,i)},D5=(n,a,i,s)=>{let u,f,d;const h={};if(a=a||{},n==null)return a;do{for(u=Object.getOwnPropertyNames(n),f=u.length;f-- >0;)d=u[f],(!s||s(d,n,a))&&!h[d]&&(a[d]=n[d],h[d]=!0);n=i!==!1&&Yv(n)}while(n&&(!i||i(n,a))&&n!==Object.prototype);return a},E5=(n,a,i)=>{n=String(n),(i===void 0||i>n.length)&&(i=n.length),i-=a.length;const s=n.indexOf(a,i);return s!==-1&&s===i},T5=n=>{if(!n)return null;if(Rl(n))return n;let a=n.length;if(!AC(a))return null;const i=new Array(a);for(;a-- >0;)i[a]=n[a];return i},A5=(n=>a=>n&&a instanceof n)(typeof Uint8Array<"u"&&Yv(Uint8Array)),w5=(n,a)=>{const s=(n&&n[Fh]).call(n);let u;for(;(u=s.next())&&!u.done;){const f=u.value;a.call(n,f[0],f[1])}},N5=(n,a)=>{let i;const s=[];for(;(i=n.exec(a))!==null;)s.push(i);return s},k5=ta("HTMLFormElement"),C5=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,s,u){return s.toUpperCase()+u}),ww=(({hasOwnProperty:n})=>(a,i)=>n.call(a,i))(Object.prototype),R5=ta("RegExp"),kC=(n,a)=>{const i=Object.getOwnPropertyDescriptors(n),s={};Lc(i,(u,f)=>{let d;(d=a(u,f,n))!==!1&&(s[f]=d||u)}),Object.defineProperties(n,s)},O5=n=>{kC(n,(a,i)=>{if(Xn(n)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const s=n[i];if(Xn(s)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},M5=(n,a)=>{const i={},s=u=>{u.forEach(f=>{i[f]=!0})};return Rl(n)?s(n):s(String(n).split(a)),i},_5=()=>{},z5=(n,a)=>n!=null&&Number.isFinite(n=+n)?n:a;function U5(n){return!!(n&&Xn(n.append)&&n[EC]==="FormData"&&n[Fh])}const j5=n=>{const a=new Array(10),i=(s,u)=>{if(Vc(s)){if(a.indexOf(s)>=0)return;if(jc(s))return s;if(!("toJSON"in s)){a[u]=s;const f=Rl(s)?[]:{};return Lc(s,(d,h)=>{const b=i(d,u+1);!Al(b)&&(f[h]=b)}),a[u]=void 0,f}}return s};return i(n,0)},V5=ta("AsyncFunction"),L5=n=>n&&(Vc(n)||Xn(n))&&Xn(n.then)&&Xn(n.catch),CC=((n,a)=>n?setImmediate:a?((i,s)=>(rs.addEventListener("message",({source:u,data:f})=>{u===rs&&f===i&&s.length&&s.shift()()},!1),u=>{s.push(u),rs.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",Xn(rs.postMessage)),B5=typeof queueMicrotask<"u"?queueMicrotask.bind(rs):typeof process<"u"&&process.nextTick||CC,H5=n=>n!=null&&Xn(n[Fh]),K={isArray:Rl,isArrayBuffer:TC,isBuffer:jc,isFormData:d5,isArrayBufferView:r5,isString:a5,isNumber:AC,isBoolean:i5,isObject:Vc,isPlainObject:Eh,isEmptyObject:o5,isReadableStream:m5,isRequest:p5,isResponse:g5,isHeaders:y5,isUndefined:Al,isDate:s5,isFile:l5,isBlob:u5,isRegExp:R5,isFunction:Xn,isStream:f5,isURLSearchParams:h5,isTypedArray:A5,isFileList:c5,forEach:Lc,merge:Xb,extend:v5,trim:b5,stripBOM:x5,inherits:S5,toFlatObject:D5,kindOf:Yh,kindOfTest:ta,endsWith:E5,toArray:T5,forEachEntry:w5,matchAll:N5,isHTMLForm:k5,hasOwnProperty:ww,hasOwnProp:ww,reduceDescriptors:kC,freezeMethods:O5,toObjectSet:M5,toCamelCase:C5,noop:_5,toFiniteNumber:z5,findKey:wC,global:rs,isContextDefined:NC,isSpecCompliantForm:U5,toJSONObject:j5,isAsyncFn:V5,isThenable:L5,setImmediate:CC,asap:B5,isIterable:H5};let He=class RC extends Error{static from(a,i,s,u,f,d){const h=new RC(a.message,i||a.code,s,u,f);return h.cause=a,h.name=a.name,d&&Object.assign(h,d),h}constructor(a,i,s,u,f){super(a),this.name="AxiosError",this.isAxiosError=!0,i&&(this.code=i),s&&(this.config=s),u&&(this.request=u),f&&(this.response=f,this.status=f.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:K.toJSONObject(this.config),code:this.code,status:this.status}}};He.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";He.ERR_BAD_OPTION="ERR_BAD_OPTION";He.ECONNABORTED="ECONNABORTED";He.ETIMEDOUT="ETIMEDOUT";He.ERR_NETWORK="ERR_NETWORK";He.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";He.ERR_DEPRECATED="ERR_DEPRECATED";He.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";He.ERR_BAD_REQUEST="ERR_BAD_REQUEST";He.ERR_CANCELED="ERR_CANCELED";He.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";He.ERR_INVALID_URL="ERR_INVALID_URL";const P5=null;function Qb(n){return K.isPlainObject(n)||K.isArray(n)}function OC(n){return K.endsWith(n,"[]")?n.slice(0,-2):n}function Nw(n,a,i){return n?n.concat(a).map(function(u,f){return u=OC(u),!i&&f?"["+u+"]":u}).join(i?".":""):a}function q5(n){return K.isArray(n)&&!n.some(Qb)}const I5=K.toFlatObject(K,{},null,function(a){return/^is[A-Z]/.test(a)});function $h(n,a,i){if(!K.isObject(n))throw new TypeError("target must be an object");a=a||new FormData,i=K.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(V,R){return!K.isUndefined(R[V])});const s=i.metaTokens,u=i.visitor||p,f=i.dots,d=i.indexes,b=(i.Blob||typeof Blob<"u"&&Blob)&&K.isSpecCompliantForm(a);if(!K.isFunction(u))throw new TypeError("visitor must be a function");function g(N){if(N===null)return"";if(K.isDate(N))return N.toISOString();if(K.isBoolean(N))return N.toString();if(!b&&K.isBlob(N))throw new He("Blob is not supported. Use a Buffer instead.");return K.isArrayBuffer(N)||K.isTypedArray(N)?b&&typeof Blob=="function"?new Blob([N]):Buffer.from(N):N}function p(N,V,R){let z=N;if(N&&!R&&typeof N=="object"){if(K.endsWith(V,"{}"))V=s?V:V.slice(0,-2),N=JSON.stringify(N);else if(K.isArray(N)&&q5(N)||(K.isFileList(N)||K.endsWith(V,"[]"))&&(z=K.toArray(N)))return V=OC(V),z.forEach(function(I,ie){!(K.isUndefined(I)||I===null)&&a.append(d===!0?Nw([V],ie,f):d===null?V:V+"[]",g(I))}),!1}return Qb(N)?!0:(a.append(Nw(R,V,f),g(N)),!1)}const v=[],x=Object.assign(I5,{defaultVisitor:p,convertValue:g,isVisitable:Qb});function S(N,V){if(!K.isUndefined(N)){if(v.indexOf(N)!==-1)throw Error("Circular reference detected in "+V.join("."));v.push(N),K.forEach(N,function(z,X){(!(K.isUndefined(z)||z===null)&&u.call(a,z,K.isString(X)?X.trim():X,V,x))===!0&&S(z,V?V.concat(X):[X])}),v.pop()}}if(!K.isObject(n))throw new TypeError("data must be an object");return S(n),a}function kw(n){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(s){return a[s]})}function Gv(n,a){this._pairs=[],n&&$h(n,this,a)}const MC=Gv.prototype;MC.append=function(a,i){this._pairs.push([a,i])};MC.toString=function(a){const i=a?function(s){return a.call(this,s,kw)}:kw;return this._pairs.map(function(u){return i(u[0])+"="+i(u[1])},"").join("&")};function F5(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function _C(n,a,i){if(!a)return n;const s=i&&i.encode||F5,u=K.isFunction(i)?{serialize:i}:i,f=u&&u.serialize;let d;if(f?d=f(a,u):d=K.isURLSearchParams(a)?a.toString():new Gv(a,u).toString(s),d){const h=n.indexOf("#");h!==-1&&(n=n.slice(0,h)),n+=(n.indexOf("?")===-1?"?":"&")+d}return n}class Cw{constructor(){this.handlers=[]}use(a,i,s){return this.handlers.push({fulfilled:a,rejected:i,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){K.forEach(this.handlers,function(s){s!==null&&a(s)})}}const $v={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Y5=typeof URLSearchParams<"u"?URLSearchParams:Gv,G5=typeof FormData<"u"?FormData:null,$5=typeof Blob<"u"?Blob:null,X5={isBrowser:!0,classes:{URLSearchParams:Y5,FormData:G5,Blob:$5},protocols:["http","https","file","blob","url","data"]},Xv=typeof window<"u"&&typeof document<"u",Zb=typeof navigator=="object"&&navigator||void 0,Q5=Xv&&(!Zb||["ReactNative","NativeScript","NS"].indexOf(Zb.product)<0),Z5=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",J5=Xv&&window.location.href||"http://localhost",K5=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Xv,hasStandardBrowserEnv:Q5,hasStandardBrowserWebWorkerEnv:Z5,navigator:Zb,origin:J5},Symbol.toStringTag,{value:"Module"})),Dn={...K5,...X5};function W5(n,a){return $h(n,new Dn.classes.URLSearchParams,{visitor:function(i,s,u,f){return Dn.isNode&&K.isBuffer(i)?(this.append(s,i.toString("base64")),!1):f.defaultVisitor.apply(this,arguments)},...a})}function eL(n){return K.matchAll(/\w+|\[(\w*)]/g,n).map(a=>a[0]==="[]"?"":a[1]||a[0])}function tL(n){const a={},i=Object.keys(n);let s;const u=i.length;let f;for(s=0;s<u;s++)f=i[s],a[f]=n[f];return a}function zC(n){function a(i,s,u,f){let d=i[f++];if(d==="__proto__")return!0;const h=Number.isFinite(+d),b=f>=i.length;return d=!d&&K.isArray(u)?u.length:d,b?(K.hasOwnProp(u,d)?u[d]=[u[d],s]:u[d]=s,!h):((!u[d]||!K.isObject(u[d]))&&(u[d]=[]),a(i,s,u[d],f)&&K.isArray(u[d])&&(u[d]=tL(u[d])),!h)}if(K.isFormData(n)&&K.isFunction(n.entries)){const i={};return K.forEachEntry(n,(s,u)=>{a(eL(s),u,i,0)}),i}return null}function nL(n,a,i){if(K.isString(n))try{return(a||JSON.parse)(n),K.trim(n)}catch(s){if(s.name!=="SyntaxError")throw s}return(i||JSON.stringify)(n)}const Bc={transitional:$v,adapter:["xhr","http","fetch"],transformRequest:[function(a,i){const s=i.getContentType()||"",u=s.indexOf("application/json")>-1,f=K.isObject(a);if(f&&K.isHTMLForm(a)&&(a=new FormData(a)),K.isFormData(a))return u?JSON.stringify(zC(a)):a;if(K.isArrayBuffer(a)||K.isBuffer(a)||K.isStream(a)||K.isFile(a)||K.isBlob(a)||K.isReadableStream(a))return a;if(K.isArrayBufferView(a))return a.buffer;if(K.isURLSearchParams(a))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),a.toString();let h;if(f){if(s.indexOf("application/x-www-form-urlencoded")>-1)return W5(a,this.formSerializer).toString();if((h=K.isFileList(a))||s.indexOf("multipart/form-data")>-1){const b=this.env&&this.env.FormData;return $h(h?{"files[]":a}:a,b&&new b,this.formSerializer)}}return f||u?(i.setContentType("application/json",!1),nL(a)):a}],transformResponse:[function(a){const i=this.transitional||Bc.transitional,s=i&&i.forcedJSONParsing,u=this.responseType==="json";if(K.isResponse(a)||K.isReadableStream(a))return a;if(a&&K.isString(a)&&(s&&!this.responseType||u)){const d=!(i&&i.silentJSONParsing)&&u;try{return JSON.parse(a,this.parseReviver)}catch(h){if(d)throw h.name==="SyntaxError"?He.from(h,He.ERR_BAD_RESPONSE,this,null,this.response):h}}return a}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Dn.classes.FormData,Blob:Dn.classes.Blob},validateStatus:function(a){return a>=200&&a<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};K.forEach(["delete","get","head","post","put","patch"],n=>{Bc.headers[n]={}});const rL=K.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),aL=n=>{const a={};let i,s,u;return n&&n.split(`
|
|
249
|
+
`).forEach(function(d){u=d.indexOf(":"),i=d.substring(0,u).trim().toLowerCase(),s=d.substring(u+1).trim(),!(!i||a[i]&&rL[i])&&(i==="set-cookie"?a[i]?a[i].push(s):a[i]=[s]:a[i]=a[i]?a[i]+", "+s:s)}),a},Rw=Symbol("internals");function fc(n){return n&&String(n).trim().toLowerCase()}function Th(n){return n===!1||n==null?n:K.isArray(n)?n.map(Th):String(n)}function iL(n){const a=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=i.exec(n);)a[s[1]]=s[2];return a}const oL=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function rb(n,a,i,s,u){if(K.isFunction(s))return s.call(this,a,i);if(u&&(a=i),!!K.isString(a)){if(K.isString(s))return a.indexOf(s)!==-1;if(K.isRegExp(s))return s.test(a)}}function sL(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,i,s)=>i.toUpperCase()+s)}function lL(n,a){const i=K.toCamelCase(" "+a);["get","set","has"].forEach(s=>{Object.defineProperty(n,s+i,{value:function(u,f,d){return this[s].call(this,a,u,f,d)},configurable:!0})})}let Qn=class{constructor(a){a&&this.set(a)}set(a,i,s){const u=this;function f(h,b,g){const p=fc(b);if(!p)throw new Error("header name must be a non-empty string");const v=K.findKey(u,p);(!v||u[v]===void 0||g===!0||g===void 0&&u[v]!==!1)&&(u[v||b]=Th(h))}const d=(h,b)=>K.forEach(h,(g,p)=>f(g,p,b));if(K.isPlainObject(a)||a instanceof this.constructor)d(a,i);else if(K.isString(a)&&(a=a.trim())&&!oL(a))d(aL(a),i);else if(K.isObject(a)&&K.isIterable(a)){let h={},b,g;for(const p of a){if(!K.isArray(p))throw TypeError("Object iterator must return a key-value pair");h[g=p[0]]=(b=h[g])?K.isArray(b)?[...b,p[1]]:[b,p[1]]:p[1]}d(h,i)}else a!=null&&f(i,a,s);return this}get(a,i){if(a=fc(a),a){const s=K.findKey(this,a);if(s){const u=this[s];if(!i)return u;if(i===!0)return iL(u);if(K.isFunction(i))return i.call(this,u,s);if(K.isRegExp(i))return i.exec(u);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,i){if(a=fc(a),a){const s=K.findKey(this,a);return!!(s&&this[s]!==void 0&&(!i||rb(this,this[s],s,i)))}return!1}delete(a,i){const s=this;let u=!1;function f(d){if(d=fc(d),d){const h=K.findKey(s,d);h&&(!i||rb(s,s[h],h,i))&&(delete s[h],u=!0)}}return K.isArray(a)?a.forEach(f):f(a),u}clear(a){const i=Object.keys(this);let s=i.length,u=!1;for(;s--;){const f=i[s];(!a||rb(this,this[f],f,a,!0))&&(delete this[f],u=!0)}return u}normalize(a){const i=this,s={};return K.forEach(this,(u,f)=>{const d=K.findKey(s,f);if(d){i[d]=Th(u),delete i[f];return}const h=a?sL(f):String(f).trim();h!==f&&delete i[f],i[h]=Th(u),s[h]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const i=Object.create(null);return K.forEach(this,(s,u)=>{s!=null&&s!==!1&&(i[u]=a&&K.isArray(s)?s.join(", "):s)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,i])=>a+": "+i).join(`
|
|
250
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...i){const s=new this(a);return i.forEach(u=>s.set(u)),s}static accessor(a){const s=(this[Rw]=this[Rw]={accessors:{}}).accessors,u=this.prototype;function f(d){const h=fc(d);s[h]||(lL(u,d),s[h]=!0)}return K.isArray(a)?a.forEach(f):f(a),this}};Qn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);K.reduceDescriptors(Qn.prototype,({value:n},a)=>{let i=a[0].toUpperCase()+a.slice(1);return{get:()=>n,set(s){this[i]=s}}});K.freezeMethods(Qn);function ab(n,a){const i=this||Bc,s=a||i,u=Qn.from(s.headers);let f=s.data;return K.forEach(n,function(h){f=h.call(i,f,u.normalize(),a?a.status:void 0)}),u.normalize(),f}function UC(n){return!!(n&&n.__CANCEL__)}let Hc=class extends He{constructor(a,i,s){super(a??"canceled",He.ERR_CANCELED,i,s),this.name="CanceledError",this.__CANCEL__=!0}};function jC(n,a,i){const s=i.config.validateStatus;!i.status||!s||s(i.status)?n(i):a(new He("Request failed with status code "+i.status,[He.ERR_BAD_REQUEST,He.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function uL(n){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return a&&a[1]||""}function cL(n,a){n=n||10;const i=new Array(n),s=new Array(n);let u=0,f=0,d;return a=a!==void 0?a:1e3,function(b){const g=Date.now(),p=s[f];d||(d=g),i[u]=b,s[u]=g;let v=f,x=0;for(;v!==u;)x+=i[v++],v=v%n;if(u=(u+1)%n,u===f&&(f=(f+1)%n),g-d<a)return;const S=p&&g-p;return S?Math.round(x*1e3/S):void 0}}function fL(n,a){let i=0,s=1e3/a,u,f;const d=(g,p=Date.now())=>{i=p,u=null,f&&(clearTimeout(f),f=null),n(...g)};return[(...g)=>{const p=Date.now(),v=p-i;v>=s?d(g,p):(u=g,f||(f=setTimeout(()=>{f=null,d(u)},s-v)))},()=>u&&d(u)]}const jh=(n,a,i=3)=>{let s=0;const u=cL(50,250);return fL(f=>{const d=f.loaded,h=f.lengthComputable?f.total:void 0,b=d-s,g=u(b),p=d<=h;s=d;const v={loaded:d,total:h,progress:h?d/h:void 0,bytes:b,rate:g||void 0,estimated:g&&h&&p?(h-d)/g:void 0,event:f,lengthComputable:h!=null,[a?"download":"upload"]:!0};n(v)},i)},Ow=(n,a)=>{const i=n!=null;return[s=>a[0]({lengthComputable:i,total:n,loaded:s}),a[1]]},Mw=n=>(...a)=>K.asap(()=>n(...a)),dL=Dn.hasStandardBrowserEnv?((n,a)=>i=>(i=new URL(i,Dn.origin),n.protocol===i.protocol&&n.host===i.host&&(a||n.port===i.port)))(new URL(Dn.origin),Dn.navigator&&/(msie|trident)/i.test(Dn.navigator.userAgent)):()=>!0,hL=Dn.hasStandardBrowserEnv?{write(n,a,i,s,u,f,d){if(typeof document>"u")return;const h=[`${n}=${encodeURIComponent(a)}`];K.isNumber(i)&&h.push(`expires=${new Date(i).toUTCString()}`),K.isString(s)&&h.push(`path=${s}`),K.isString(u)&&h.push(`domain=${u}`),f===!0&&h.push("secure"),K.isString(d)&&h.push(`SameSite=${d}`),document.cookie=h.join("; ")},read(n){if(typeof document>"u")return null;const a=document.cookie.match(new RegExp("(?:^|; )"+n+"=([^;]*)"));return a?decodeURIComponent(a[1]):null},remove(n){this.write(n,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function mL(n){return typeof n!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function pL(n,a){return a?n.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):n}function VC(n,a,i){let s=!mL(a);return n&&(s||i==!1)?pL(n,a):a}const _w=n=>n instanceof Qn?{...n}:n;function os(n,a){a=a||{};const i={};function s(g,p,v,x){return K.isPlainObject(g)&&K.isPlainObject(p)?K.merge.call({caseless:x},g,p):K.isPlainObject(p)?K.merge({},p):K.isArray(p)?p.slice():p}function u(g,p,v,x){if(K.isUndefined(p)){if(!K.isUndefined(g))return s(void 0,g,v,x)}else return s(g,p,v,x)}function f(g,p){if(!K.isUndefined(p))return s(void 0,p)}function d(g,p){if(K.isUndefined(p)){if(!K.isUndefined(g))return s(void 0,g)}else return s(void 0,p)}function h(g,p,v){if(v in a)return s(g,p);if(v in n)return s(void 0,g)}const b={url:f,method:f,data:f,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,withXSRFToken:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,beforeRedirect:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,responseEncoding:d,validateStatus:h,headers:(g,p,v)=>u(_w(g),_w(p),v,!0)};return K.forEach(Object.keys({...n,...a}),function(p){if(p==="__proto__"||p==="constructor"||p==="prototype")return;const v=K.hasOwnProp(b,p)?b[p]:u,x=v(n[p],a[p],p);K.isUndefined(x)&&v!==h||(i[p]=x)}),i}const LC=n=>{const a=os({},n);let{data:i,withXSRFToken:s,xsrfHeaderName:u,xsrfCookieName:f,headers:d,auth:h}=a;if(a.headers=d=Qn.from(d),a.url=_C(VC(a.baseURL,a.url,a.allowAbsoluteUrls),n.params,n.paramsSerializer),h&&d.set("Authorization","Basic "+btoa((h.username||"")+":"+(h.password?unescape(encodeURIComponent(h.password)):""))),K.isFormData(i)){if(Dn.hasStandardBrowserEnv||Dn.hasStandardBrowserWebWorkerEnv)d.setContentType(void 0);else if(K.isFunction(i.getHeaders)){const b=i.getHeaders(),g=["content-type","content-length"];Object.entries(b).forEach(([p,v])=>{g.includes(p.toLowerCase())&&d.set(p,v)})}}if(Dn.hasStandardBrowserEnv&&(s&&K.isFunction(s)&&(s=s(a)),s||s!==!1&&dL(a.url))){const b=u&&f&&hL.read(f);b&&d.set(u,b)}return a},gL=typeof XMLHttpRequest<"u",yL=gL&&function(n){return new Promise(function(i,s){const u=LC(n);let f=u.data;const d=Qn.from(u.headers).normalize();let{responseType:h,onUploadProgress:b,onDownloadProgress:g}=u,p,v,x,S,N;function V(){S&&S(),N&&N(),u.cancelToken&&u.cancelToken.unsubscribe(p),u.signal&&u.signal.removeEventListener("abort",p)}let R=new XMLHttpRequest;R.open(u.method.toUpperCase(),u.url,!0),R.timeout=u.timeout;function z(){if(!R)return;const I=Qn.from("getAllResponseHeaders"in R&&R.getAllResponseHeaders()),re={data:!h||h==="text"||h==="json"?R.responseText:R.response,status:R.status,statusText:R.statusText,headers:I,config:n,request:R};jC(function(ge){i(ge),V()},function(ge){s(ge),V()},re),R=null}"onloadend"in R?R.onloadend=z:R.onreadystatechange=function(){!R||R.readyState!==4||R.status===0&&!(R.responseURL&&R.responseURL.indexOf("file:")===0)||setTimeout(z)},R.onabort=function(){R&&(s(new He("Request aborted",He.ECONNABORTED,n,R)),R=null)},R.onerror=function(ie){const re=ie&&ie.message?ie.message:"Network Error",G=new He(re,He.ERR_NETWORK,n,R);G.event=ie||null,s(G),R=null},R.ontimeout=function(){let ie=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded";const re=u.transitional||$v;u.timeoutErrorMessage&&(ie=u.timeoutErrorMessage),s(new He(ie,re.clarifyTimeoutError?He.ETIMEDOUT:He.ECONNABORTED,n,R)),R=null},f===void 0&&d.setContentType(null),"setRequestHeader"in R&&K.forEach(d.toJSON(),function(ie,re){R.setRequestHeader(re,ie)}),K.isUndefined(u.withCredentials)||(R.withCredentials=!!u.withCredentials),h&&h!=="json"&&(R.responseType=u.responseType),g&&([x,N]=jh(g,!0),R.addEventListener("progress",x)),b&&R.upload&&([v,S]=jh(b),R.upload.addEventListener("progress",v),R.upload.addEventListener("loadend",S)),(u.cancelToken||u.signal)&&(p=I=>{R&&(s(!I||I.type?new Hc(null,n,R):I),R.abort(),R=null)},u.cancelToken&&u.cancelToken.subscribe(p),u.signal&&(u.signal.aborted?p():u.signal.addEventListener("abort",p)));const X=uL(u.url);if(X&&Dn.protocols.indexOf(X)===-1){s(new He("Unsupported protocol "+X+":",He.ERR_BAD_REQUEST,n));return}R.send(f||null)})},bL=(n,a)=>{const{length:i}=n=n?n.filter(Boolean):[];if(a||i){let s=new AbortController,u;const f=function(g){if(!u){u=!0,h();const p=g instanceof Error?g:this.reason;s.abort(p instanceof He?p:new Hc(p instanceof Error?p.message:p))}};let d=a&&setTimeout(()=>{d=null,f(new He(`timeout of ${a}ms exceeded`,He.ETIMEDOUT))},a);const h=()=>{n&&(d&&clearTimeout(d),d=null,n.forEach(g=>{g.unsubscribe?g.unsubscribe(f):g.removeEventListener("abort",f)}),n=null)};n.forEach(g=>g.addEventListener("abort",f));const{signal:b}=s;return b.unsubscribe=()=>K.asap(h),b}},vL=function*(n,a){let i=n.byteLength;if(i<a){yield n;return}let s=0,u;for(;s<i;)u=s+a,yield n.slice(s,u),s=u},xL=async function*(n,a){for await(const i of SL(n))yield*vL(i,a)},SL=async function*(n){if(n[Symbol.asyncIterator]){yield*n;return}const a=n.getReader();try{for(;;){const{done:i,value:s}=await a.read();if(i)break;yield s}}finally{await a.cancel()}},zw=(n,a,i,s)=>{const u=xL(n,a);let f=0,d,h=b=>{d||(d=!0,s&&s(b))};return new ReadableStream({async pull(b){try{const{done:g,value:p}=await u.next();if(g){h(),b.close();return}let v=p.byteLength;if(i){let x=f+=v;i(x)}b.enqueue(new Uint8Array(p))}catch(g){throw h(g),g}},cancel(b){return h(b),u.return()}},{highWaterMark:2})},Uw=64*1024,{isFunction:uh}=K,DL=(({Request:n,Response:a})=>({Request:n,Response:a}))(K.global),{ReadableStream:jw,TextEncoder:Vw}=K.global,Lw=(n,...a)=>{try{return!!n(...a)}catch{return!1}},EL=n=>{n=K.merge.call({skipUndefined:!0},DL,n);const{fetch:a,Request:i,Response:s}=n,u=a?uh(a):typeof fetch=="function",f=uh(i),d=uh(s);if(!u)return!1;const h=u&&uh(jw),b=u&&(typeof Vw=="function"?(N=>V=>N.encode(V))(new Vw):async N=>new Uint8Array(await new i(N).arrayBuffer())),g=f&&h&&Lw(()=>{let N=!1;const V=new i(Dn.origin,{body:new jw,method:"POST",get duplex(){return N=!0,"half"}}).headers.has("Content-Type");return N&&!V}),p=d&&h&&Lw(()=>K.isReadableStream(new s("").body)),v={stream:p&&(N=>N.body)};u&&["text","arrayBuffer","blob","formData","stream"].forEach(N=>{!v[N]&&(v[N]=(V,R)=>{let z=V&&V[N];if(z)return z.call(V);throw new He(`Response type '${N}' is not supported`,He.ERR_NOT_SUPPORT,R)})});const x=async N=>{if(N==null)return 0;if(K.isBlob(N))return N.size;if(K.isSpecCompliantForm(N))return(await new i(Dn.origin,{method:"POST",body:N}).arrayBuffer()).byteLength;if(K.isArrayBufferView(N)||K.isArrayBuffer(N))return N.byteLength;if(K.isURLSearchParams(N)&&(N=N+""),K.isString(N))return(await b(N)).byteLength},S=async(N,V)=>{const R=K.toFiniteNumber(N.getContentLength());return R??x(V)};return async N=>{let{url:V,method:R,data:z,signal:X,cancelToken:I,timeout:ie,onDownloadProgress:re,onUploadProgress:G,responseType:ge,headers:se,withCredentials:ce="same-origin",fetchOptions:F}=LC(N),he=a||fetch;ge=ge?(ge+"").toLowerCase():"text";let oe=bL([X,I&&I.toAbortSignal()],ie),Q=null;const ne=oe&&oe.unsubscribe&&(()=>{oe.unsubscribe()});let ae;try{if(G&&g&&R!=="get"&&R!=="head"&&(ae=await S(se,z))!==0){let U=new i(V,{method:"POST",body:z,duplex:"half"}),ue;if(K.isFormData(z)&&(ue=U.headers.get("content-type"))&&se.setContentType(ue),U.body){const[C,xe]=Ow(ae,jh(Mw(G)));z=zw(U.body,Uw,C,xe)}}K.isString(ce)||(ce=ce?"include":"omit");const Y=f&&"credentials"in i.prototype,le={...F,signal:oe,method:R.toUpperCase(),headers:se.normalize().toJSON(),body:z,duplex:"half",credentials:Y?ce:void 0};Q=f&&new i(V,le);let ye=await(f?he(Q,F):he(V,le));const Me=p&&(ge==="stream"||ge==="response");if(p&&(re||Me&&ne)){const U={};["status","statusText","headers"].forEach(at=>{U[at]=ye[at]});const ue=K.toFiniteNumber(ye.headers.get("content-length")),[C,xe]=re&&Ow(ue,jh(Mw(re),!0))||[];ye=new s(zw(ye.body,Uw,C,()=>{xe&&xe(),ne&&ne()}),U)}ge=ge||"text";let O=await v[K.findKey(v,ge)||"text"](ye,N);return!Me&&ne&&ne(),await new Promise((U,ue)=>{jC(U,ue,{data:O,headers:Qn.from(ye.headers),status:ye.status,statusText:ye.statusText,config:N,request:Q})})}catch(Y){throw ne&&ne(),Y&&Y.name==="TypeError"&&/Load failed|fetch/i.test(Y.message)?Object.assign(new He("Network Error",He.ERR_NETWORK,N,Q,Y&&Y.response),{cause:Y.cause||Y}):He.from(Y,Y&&Y.code,N,Q,Y&&Y.response)}}},TL=new Map,BC=n=>{let a=n&&n.env||{};const{fetch:i,Request:s,Response:u}=a,f=[s,u,i];let d=f.length,h=d,b,g,p=TL;for(;h--;)b=f[h],g=p.get(b),g===void 0&&p.set(b,g=h?new Map:EL(a)),p=g;return g};BC();const Qv={http:P5,xhr:yL,fetch:{get:BC}};K.forEach(Qv,(n,a)=>{if(n){try{Object.defineProperty(n,"name",{value:a})}catch{}Object.defineProperty(n,"adapterName",{value:a})}});const Bw=n=>`- ${n}`,AL=n=>K.isFunction(n)||n===null||n===!1;function wL(n,a){n=K.isArray(n)?n:[n];const{length:i}=n;let s,u;const f={};for(let d=0;d<i;d++){s=n[d];let h;if(u=s,!AL(s)&&(u=Qv[(h=String(s)).toLowerCase()],u===void 0))throw new He(`Unknown adapter '${h}'`);if(u&&(K.isFunction(u)||(u=u.get(a))))break;f[h||"#"+d]=u}if(!u){const d=Object.entries(f).map(([b,g])=>`adapter ${b} `+(g===!1?"is not supported by the environment":"is not available in the build"));let h=i?d.length>1?`since :
|
|
251
|
+
`+d.map(Bw).join(`
|
|
252
|
+
`):" "+Bw(d[0]):"as no adapter specified";throw new He("There is no suitable adapter to dispatch the request "+h,"ERR_NOT_SUPPORT")}return u}const HC={getAdapter:wL,adapters:Qv};function ib(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new Hc(null,n)}function Hw(n){return ib(n),n.headers=Qn.from(n.headers),n.data=ab.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),HC.getAdapter(n.adapter||Bc.adapter,n)(n).then(function(s){return ib(n),s.data=ab.call(n,n.transformResponse,s),s.headers=Qn.from(s.headers),s},function(s){return UC(s)||(ib(n),s&&s.response&&(s.response.data=ab.call(n,n.transformResponse,s.response),s.response.headers=Qn.from(s.response.headers))),Promise.reject(s)})}const PC="1.13.5",Xh={};["object","boolean","number","function","string","symbol"].forEach((n,a)=>{Xh[n]=function(s){return typeof s===n||"a"+(a<1?"n ":" ")+n}});const Pw={};Xh.transitional=function(a,i,s){function u(f,d){return"[Axios v"+PC+"] Transitional option '"+f+"'"+d+(s?". "+s:"")}return(f,d,h)=>{if(a===!1)throw new He(u(d," has been removed"+(i?" in "+i:"")),He.ERR_DEPRECATED);return i&&!Pw[d]&&(Pw[d]=!0,console.warn(u(d," has been deprecated since v"+i+" and will be removed in the near future"))),a?a(f,d,h):!0}};Xh.spelling=function(a){return(i,s)=>(console.warn(`${s} is likely a misspelling of ${a}`),!0)};function NL(n,a,i){if(typeof n!="object")throw new He("options must be an object",He.ERR_BAD_OPTION_VALUE);const s=Object.keys(n);let u=s.length;for(;u-- >0;){const f=s[u],d=a[f];if(d){const h=n[f],b=h===void 0||d(h,f,n);if(b!==!0)throw new He("option "+f+" must be "+b,He.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new He("Unknown option "+f,He.ERR_BAD_OPTION)}}const Ah={assertOptions:NL,validators:Xh},zr=Ah.validators;let is=class{constructor(a){this.defaults=a||{},this.interceptors={request:new Cw,response:new Cw}}async request(a,i){try{return await this._request(a,i)}catch(s){if(s instanceof Error){let u={};Error.captureStackTrace?Error.captureStackTrace(u):u=new Error;const f=u.stack?u.stack.replace(/^.+\n/,""):"";try{s.stack?f&&!String(s.stack).endsWith(f.replace(/^.+\n.+\n/,""))&&(s.stack+=`
|
|
253
|
+
`+f):s.stack=f}catch{}}throw s}}_request(a,i){typeof a=="string"?(i=i||{},i.url=a):i=a||{},i=os(this.defaults,i);const{transitional:s,paramsSerializer:u,headers:f}=i;s!==void 0&&Ah.assertOptions(s,{silentJSONParsing:zr.transitional(zr.boolean),forcedJSONParsing:zr.transitional(zr.boolean),clarifyTimeoutError:zr.transitional(zr.boolean),legacyInterceptorReqResOrdering:zr.transitional(zr.boolean)},!1),u!=null&&(K.isFunction(u)?i.paramsSerializer={serialize:u}:Ah.assertOptions(u,{encode:zr.function,serialize:zr.function},!0)),i.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?i.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:i.allowAbsoluteUrls=!0),Ah.assertOptions(i,{baseUrl:zr.spelling("baseURL"),withXsrfToken:zr.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let d=f&&K.merge(f.common,f[i.method]);f&&K.forEach(["delete","get","head","post","put","patch","common"],N=>{delete f[N]}),i.headers=Qn.concat(d,f);const h=[];let b=!0;this.interceptors.request.forEach(function(V){if(typeof V.runWhen=="function"&&V.runWhen(i)===!1)return;b=b&&V.synchronous;const R=i.transitional||$v;R&&R.legacyInterceptorReqResOrdering?h.unshift(V.fulfilled,V.rejected):h.push(V.fulfilled,V.rejected)});const g=[];this.interceptors.response.forEach(function(V){g.push(V.fulfilled,V.rejected)});let p,v=0,x;if(!b){const N=[Hw.bind(this),void 0];for(N.unshift(...h),N.push(...g),x=N.length,p=Promise.resolve(i);v<x;)p=p.then(N[v++],N[v++]);return p}x=h.length;let S=i;for(;v<x;){const N=h[v++],V=h[v++];try{S=N(S)}catch(R){V.call(this,R);break}}try{p=Hw.call(this,S)}catch(N){return Promise.reject(N)}for(v=0,x=g.length;v<x;)p=p.then(g[v++],g[v++]);return p}getUri(a){a=os(this.defaults,a);const i=VC(a.baseURL,a.url,a.allowAbsoluteUrls);return _C(i,a.params,a.paramsSerializer)}};K.forEach(["delete","get","head","options"],function(a){is.prototype[a]=function(i,s){return this.request(os(s||{},{method:a,url:i,data:(s||{}).data}))}});K.forEach(["post","put","patch"],function(a){function i(s){return function(f,d,h){return this.request(os(h||{},{method:a,headers:s?{"Content-Type":"multipart/form-data"}:{},url:f,data:d}))}}is.prototype[a]=i(),is.prototype[a+"Form"]=i(!0)});let kL=class qC{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(f){i=f});const s=this;this.promise.then(u=>{if(!s._listeners)return;let f=s._listeners.length;for(;f-- >0;)s._listeners[f](u);s._listeners=null}),this.promise.then=u=>{let f;const d=new Promise(h=>{s.subscribe(h),f=h}).then(u);return d.cancel=function(){s.unsubscribe(f)},d},a(function(f,d,h){s.reason||(s.reason=new Hc(f,d,h),i(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const i=this._listeners.indexOf(a);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){const a=new AbortController,i=s=>{a.abort(s)};return this.subscribe(i),a.signal.unsubscribe=()=>this.unsubscribe(i),a.signal}static source(){let a;return{token:new qC(function(u){a=u}),cancel:a}}};function CL(n){return function(i){return n.apply(null,i)}}function RL(n){return K.isObject(n)&&n.isAxiosError===!0}const Jb={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Jb).forEach(([n,a])=>{Jb[a]=n});function IC(n){const a=new is(n),i=DC(is.prototype.request,a);return K.extend(i,is.prototype,a,{allOwnKeys:!0}),K.extend(i,a,null,{allOwnKeys:!0}),i.create=function(u){return IC(os(n,u))},i}const Et=IC(Bc);Et.Axios=is;Et.CanceledError=Hc;Et.CancelToken=kL;Et.isCancel=UC;Et.VERSION=PC;Et.toFormData=$h;Et.AxiosError=He;Et.Cancel=Et.CanceledError;Et.all=function(a){return Promise.all(a)};Et.spread=CL;Et.isAxiosError=RL;Et.mergeConfig=os;Et.AxiosHeaders=Qn;Et.formToJSON=n=>zC(K.isHTMLForm(n)?new FormData(n):n);Et.getAdapter=HC.getAdapter;Et.HttpStatusCode=Jb;Et.default=Et;const{Axios:v7,AxiosError:x7,CanceledError:S7,isCancel:D7,CancelToken:E7,VERSION:T7,all:A7,Cancel:w7,isAxiosError:N7,spread:k7,toFormData:C7,AxiosHeaders:R7,HttpStatusCode:O7,formToJSON:M7,getAdapter:_7,mergeConfig:z7}=Et;class OL extends Error{name="Assertion";code="ERR_ASSERTION";constructor(a,i,s,u,f){super(a),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.actual=i,this.expected=s,this.generated=f,this.operator=u}}function P(n,a){FC(!!n,!1,!0,"ok","Expected value to be truthy",a)}function Kb(n){FC(!1,!1,!0,"ok","Unreachable",n)}function FC(n,a,i,s,u,f){if(!n)throw f instanceof Error?f:new OL(f||u,a,i,s,!f)}function ML(n,a){const i={};return(n[n.length-1]===""?[...n,""]:n).join((i.padRight?" ":"")+","+(i.padLeft===!1?"":" ")).trim()}const _L=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,zL=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,UL={};function qw(n,a){return(UL.jsx?zL:_L).test(n)}const jL=/[ \t\n\f\r]/g;function VL(n){return typeof n=="object"?n.type==="text"?Iw(n.value):!1:Iw(n)}function Iw(n){return n.replace(jL,"")===""}class Pc{constructor(a,i,s){this.normal=i,this.property=a,s&&(this.space=s)}}Pc.prototype.normal={};Pc.prototype.property={};Pc.prototype.space=void 0;function YC(n,a){const i={},s={};for(const u of n)Object.assign(i,u.property),Object.assign(s,u.normal);return new Pc(i,s,a)}function Wb(n){return n.toLowerCase()}class Jn{constructor(a,i){this.attribute=i,this.property=a}}Jn.prototype.attribute="";Jn.prototype.booleanish=!1;Jn.prototype.boolean=!1;Jn.prototype.commaOrSpaceSeparated=!1;Jn.prototype.commaSeparated=!1;Jn.prototype.defined=!1;Jn.prototype.mustUseProperty=!1;Jn.prototype.number=!1;Jn.prototype.overloadedBoolean=!1;Jn.prototype.property="";Jn.prototype.spaceSeparated=!1;Jn.prototype.space=void 0;let LL=0;const Qe=ss(),Jt=ss(),ev=ss(),pe=ss(),Dt=ss(),Dl=ss(),mr=ss();function ss(){return 2**++LL}const tv=Object.freeze(Object.defineProperty({__proto__:null,boolean:Qe,booleanish:Jt,commaOrSpaceSeparated:mr,commaSeparated:Dl,number:pe,overloadedBoolean:ev,spaceSeparated:Dt},Symbol.toStringTag,{value:"Module"})),ob=Object.keys(tv);class Zv extends Jn{constructor(a,i,s,u){let f=-1;if(super(a,i),Fw(this,"space",u),typeof s=="number")for(;++f<ob.length;){const d=ob[f];Fw(this,ob[f],(s&tv[d])===tv[d])}}}Zv.prototype.defined=!0;function Fw(n,a,i){i&&(n[a]=i)}function Ol(n){const a={},i={};for(const[s,u]of Object.entries(n.properties)){const f=new Zv(s,n.transform(n.attributes||{},s),u,n.space);n.mustUseProperty&&n.mustUseProperty.includes(s)&&(f.mustUseProperty=!0),a[s]=f,i[Wb(s)]=s,i[Wb(f.attribute)]=s}return new Pc(a,i,n.space)}const GC=Ol({properties:{ariaActiveDescendant:null,ariaAtomic:Jt,ariaAutoComplete:null,ariaBusy:Jt,ariaChecked:Jt,ariaColCount:pe,ariaColIndex:pe,ariaColSpan:pe,ariaControls:Dt,ariaCurrent:null,ariaDescribedBy:Dt,ariaDetails:null,ariaDisabled:Jt,ariaDropEffect:Dt,ariaErrorMessage:null,ariaExpanded:Jt,ariaFlowTo:Dt,ariaGrabbed:Jt,ariaHasPopup:null,ariaHidden:Jt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Dt,ariaLevel:pe,ariaLive:null,ariaModal:Jt,ariaMultiLine:Jt,ariaMultiSelectable:Jt,ariaOrientation:null,ariaOwns:Dt,ariaPlaceholder:null,ariaPosInSet:pe,ariaPressed:Jt,ariaReadOnly:Jt,ariaRelevant:null,ariaRequired:Jt,ariaRoleDescription:Dt,ariaRowCount:pe,ariaRowIndex:pe,ariaRowSpan:pe,ariaSelected:Jt,ariaSetSize:pe,ariaSort:null,ariaValueMax:pe,ariaValueMin:pe,ariaValueNow:pe,ariaValueText:null,role:null},transform(n,a){return a==="role"?a:"aria-"+a.slice(4).toLowerCase()}});function $C(n,a){return a in n?n[a]:a}function XC(n,a){return $C(n,a.toLowerCase())}const BL=Ol({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Dl,acceptCharset:Dt,accessKey:Dt,action:null,allow:null,allowFullScreen:Qe,allowPaymentRequest:Qe,allowUserMedia:Qe,alt:null,as:null,async:Qe,autoCapitalize:null,autoComplete:Dt,autoFocus:Qe,autoPlay:Qe,blocking:Dt,capture:null,charSet:null,checked:Qe,cite:null,className:Dt,cols:pe,colSpan:null,content:null,contentEditable:Jt,controls:Qe,controlsList:Dt,coords:pe|Dl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Qe,defer:Qe,dir:null,dirName:null,disabled:Qe,download:ev,draggable:Jt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Qe,formTarget:null,headers:Dt,height:pe,hidden:ev,high:pe,href:null,hrefLang:null,htmlFor:Dt,httpEquiv:Dt,id:null,imageSizes:null,imageSrcSet:null,inert:Qe,inputMode:null,integrity:null,is:null,isMap:Qe,itemId:null,itemProp:Dt,itemRef:Dt,itemScope:Qe,itemType:Dt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Qe,low:pe,manifest:null,max:null,maxLength:pe,media:null,method:null,min:null,minLength:pe,multiple:Qe,muted:Qe,name:null,nonce:null,noModule:Qe,noValidate:Qe,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Qe,optimum:pe,pattern:null,ping:Dt,placeholder:null,playsInline:Qe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Qe,referrerPolicy:null,rel:Dt,required:Qe,reversed:Qe,rows:pe,rowSpan:pe,sandbox:Dt,scope:null,scoped:Qe,seamless:Qe,selected:Qe,shadowRootClonable:Qe,shadowRootDelegatesFocus:Qe,shadowRootMode:null,shape:null,size:pe,sizes:null,slot:null,span:pe,spellCheck:Jt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:pe,step:null,style:null,tabIndex:pe,target:null,title:null,translate:null,type:null,typeMustMatch:Qe,useMap:null,value:Jt,width:pe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Dt,axis:null,background:null,bgColor:null,border:pe,borderColor:null,bottomMargin:pe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Qe,declare:Qe,event:null,face:null,frame:null,frameBorder:null,hSpace:pe,leftMargin:pe,link:null,longDesc:null,lowSrc:null,marginHeight:pe,marginWidth:pe,noResize:Qe,noHref:Qe,noShade:Qe,noWrap:Qe,object:null,profile:null,prompt:null,rev:null,rightMargin:pe,rules:null,scheme:null,scrolling:Jt,standby:null,summary:null,text:null,topMargin:pe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:pe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Qe,disableRemotePlayback:Qe,prefix:null,property:null,results:pe,security:null,unselectable:null},space:"html",transform:XC}),HL=Ol({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",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",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",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",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",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",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:mr,accentHeight:pe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:pe,amplitude:pe,arabicForm:null,ascent:pe,attributeName:null,attributeType:null,azimuth:pe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:pe,by:null,calcMode:null,capHeight:pe,className:Dt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:pe,diffuseConstant:pe,direction:null,display:null,dur:null,divisor:pe,dominantBaseline:null,download:Qe,dx:null,dy:null,edgeMode:null,editable:null,elevation:pe,enableBackground:null,end:null,event:null,exponent:pe,externalResourcesRequired:null,fill:null,fillOpacity:pe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Dl,g2:Dl,glyphName:Dl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:pe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:pe,horizOriginX:pe,horizOriginY:pe,id:null,ideographic:pe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:pe,k:pe,k1:pe,k2:pe,k3:pe,k4:pe,kernelMatrix:mr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:pe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:pe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:pe,overlineThickness:pe,paintOrder:null,panose1:null,path:null,pathLength:pe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Dt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:pe,pointsAtY:pe,pointsAtZ:pe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:mr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:mr,rev:mr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:mr,requiredFeatures:mr,requiredFonts:mr,requiredFormats:mr,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:pe,specularExponent:pe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:pe,strikethroughThickness:pe,string:null,stroke:null,strokeDashArray:mr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:pe,strokeOpacity:pe,strokeWidth:null,style:null,surfaceScale:pe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:mr,tabIndex:pe,tableValues:null,target:null,targetX:pe,targetY:pe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:mr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:pe,underlineThickness:pe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:pe,values:null,vAlphabetic:pe,vMathematical:pe,vectorEffect:null,vHanging:pe,vIdeographic:pe,version:null,vertAdvY:pe,vertOriginX:pe,vertOriginY:pe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:pe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:$C}),QC=Ol({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,a){return"xlink:"+a.slice(5).toLowerCase()}}),ZC=Ol({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:XC}),JC=Ol({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,a){return"xml:"+a.slice(3).toLowerCase()}}),PL={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},qL=/[A-Z]/g,Yw=/-[a-z]/g,IL=/^data[-\w.:]+$/i;function FL(n,a){const i=Wb(a);let s=a,u=Jn;if(i in n.normal)return n.property[n.normal[i]];if(i.length>4&&i.slice(0,4)==="data"&&IL.test(a)){if(a.charAt(4)==="-"){const f=a.slice(5).replace(Yw,GL);s="data"+f.charAt(0).toUpperCase()+f.slice(1)}else{const f=a.slice(4);if(!Yw.test(f)){let d=f.replace(qL,YL);d.charAt(0)!=="-"&&(d="-"+d),a="data"+d}}u=Zv}return new u(s,a)}function YL(n){return"-"+n.toLowerCase()}function GL(n){return n.charAt(1).toUpperCase()}const $L=YC([GC,BL,QC,ZC,JC],"html"),Jv=YC([GC,HL,QC,ZC,JC],"svg");function XL(n){return n.join(" ").trim()}var dl={},sb,Gw;function QL(){if(Gw)return sb;Gw=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,a=/\n/g,i=/^\s*/,s=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,u=/^:\s*/,f=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,d=/^[;\s]*/,h=/^\s+|\s+$/g,b=`
|
|
254
|
+
`,g="/",p="*",v="",x="comment",S="declaration";function N(R,z){if(typeof R!="string")throw new TypeError("First argument must be a string");if(!R)return[];z=z||{};var X=1,I=1;function ie(ne){var ae=ne.match(a);ae&&(X+=ae.length);var Y=ne.lastIndexOf(b);I=~Y?ne.length-Y:I+ne.length}function re(){var ne={line:X,column:I};return function(ae){return ae.position=new G(ne),ce(),ae}}function G(ne){this.start=ne,this.end={line:X,column:I},this.source=z.source}G.prototype.content=R;function ge(ne){var ae=new Error(z.source+":"+X+":"+I+": "+ne);if(ae.reason=ne,ae.filename=z.source,ae.line=X,ae.column=I,ae.source=R,!z.silent)throw ae}function se(ne){var ae=ne.exec(R);if(ae){var Y=ae[0];return ie(Y),R=R.slice(Y.length),ae}}function ce(){se(i)}function F(ne){var ae;for(ne=ne||[];ae=he();)ae!==!1&&ne.push(ae);return ne}function he(){var ne=re();if(!(g!=R.charAt(0)||p!=R.charAt(1))){for(var ae=2;v!=R.charAt(ae)&&(p!=R.charAt(ae)||g!=R.charAt(ae+1));)++ae;if(ae+=2,v===R.charAt(ae-1))return ge("End of comment missing");var Y=R.slice(2,ae-2);return I+=2,ie(Y),R=R.slice(ae),I+=2,ne({type:x,comment:Y})}}function oe(){var ne=re(),ae=se(s);if(ae){if(he(),!se(u))return ge("property missing ':'");var Y=se(f),le=ne({type:S,property:V(ae[0].replace(n,v)),value:Y?V(Y[0].replace(n,v)):v});return se(d),le}}function Q(){var ne=[];F(ne);for(var ae;ae=oe();)ae!==!1&&(ne.push(ae),F(ne));return ne}return ce(),Q()}function V(R){return R?R.replace(h,v):v}return sb=N,sb}var $w;function ZL(){if($w)return dl;$w=1;var n=dl&&dl.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(dl,"__esModule",{value:!0}),dl.default=i;const a=n(QL());function i(s,u){let f=null;if(!s||typeof s!="string")return f;const d=(0,a.default)(s),h=typeof u=="function";return d.forEach(b=>{if(b.type!=="declaration")return;const{property:g,value:p}=b;h?u(g,p,b):p&&(f=f||{},f[g]=p)}),f}return dl}var dc={},Xw;function JL(){if(Xw)return dc;Xw=1,Object.defineProperty(dc,"__esModule",{value:!0}),dc.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,a=/-([a-z])/g,i=/^[^-]+$/,s=/^-(webkit|moz|ms|o|khtml)-/,u=/^-(ms)-/,f=function(g){return!g||i.test(g)||n.test(g)},d=function(g,p){return p.toUpperCase()},h=function(g,p){return"".concat(p,"-")},b=function(g,p){return p===void 0&&(p={}),f(g)?g:(g=g.toLowerCase(),p.reactCompat?g=g.replace(u,h):g=g.replace(s,h),g.replace(a,d))};return dc.camelCase=b,dc}var hc,Qw;function KL(){if(Qw)return hc;Qw=1;var n=hc&&hc.__importDefault||function(u){return u&&u.__esModule?u:{default:u}},a=n(ZL()),i=JL();function s(u,f){var d={};return!u||typeof u!="string"||(0,a.default)(u,function(h,b){h&&b&&(d[(0,i.camelCase)(h,f)]=b)}),d}return s.default=s,hc=s,hc}var WL=KL();const eB=Rc(WL),KC=WC("end"),Kv=WC("start");function WC(n){return a;function a(i){const s=i&&i.position&&i.position[n]||{};if(typeof s.line=="number"&&s.line>0&&typeof s.column=="number"&&s.column>0)return{line:s.line,column:s.column,offset:typeof s.offset=="number"&&s.offset>-1?s.offset:void 0}}}function tB(n){const a=Kv(n),i=KC(n);if(a&&i)return{start:a,end:i}}function Sc(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?Zw(n.position):"start"in n||"end"in n?Zw(n):"line"in n||"column"in n?nv(n):""}function nv(n){return Jw(n&&n.line)+":"+Jw(n&&n.column)}function Zw(n){return nv(n&&n.start)+"-"+nv(n&&n.end)}function Jw(n){return n&&typeof n=="number"?n:1}class An extends Error{constructor(a,i,s){super(),typeof i=="string"&&(s=i,i=void 0);let u="",f={},d=!1;if(i&&("line"in i&&"column"in i?f={place:i}:"start"in i&&"end"in i?f={place:i}:"type"in i?f={ancestors:[i],place:i.position}:f={...i}),typeof a=="string"?u=a:!f.cause&&a&&(d=!0,u=a.message,f.cause=a),!f.ruleId&&!f.source&&typeof s=="string"){const b=s.indexOf(":");b===-1?f.ruleId=s:(f.source=s.slice(0,b),f.ruleId=s.slice(b+1))}if(!f.place&&f.ancestors&&f.ancestors){const b=f.ancestors[f.ancestors.length-1];b&&(f.place=b.position)}const h=f.place&&"start"in f.place?f.place.start:f.place;this.ancestors=f.ancestors||void 0,this.cause=f.cause||void 0,this.column=h?h.column:void 0,this.fatal=void 0,this.file="",this.message=u,this.line=h?h.line:void 0,this.name=Sc(f.place)||"1:1",this.place=f.place||void 0,this.reason=this.message,this.ruleId=f.ruleId||void 0,this.source=f.source||void 0,this.stack=d&&f.cause&&typeof f.cause.stack=="string"?f.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}An.prototype.file="";An.prototype.name="";An.prototype.reason="";An.prototype.message="";An.prototype.stack="";An.prototype.column=void 0;An.prototype.line=void 0;An.prototype.ancestors=void 0;An.prototype.cause=void 0;An.prototype.fatal=void 0;An.prototype.place=void 0;An.prototype.ruleId=void 0;An.prototype.source=void 0;const Wv={}.hasOwnProperty,nB=new Map,rB=/[A-Z]/g,aB=new Set(["table","tbody","thead","tfoot","tr"]),iB=new Set(["td","th"]),eR="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function oB(n,a){if(!a||a.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const i=a.filePath||void 0;let s;if(a.development){if(typeof a.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");s=mB(i,a.jsxDEV)}else{if(typeof a.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof a.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");s=hB(i,a.jsx,a.jsxs)}const u={Fragment:a.Fragment,ancestors:[],components:a.components||{},create:s,elementAttributeNameCase:a.elementAttributeNameCase||"react",evaluater:a.createEvaluater?a.createEvaluater():void 0,filePath:i,ignoreInvalidStyle:a.ignoreInvalidStyle||!1,passKeys:a.passKeys!==!1,passNode:a.passNode||!1,schema:a.space==="svg"?Jv:$L,stylePropertyNameCase:a.stylePropertyNameCase||"dom",tableCellAlignToStyle:a.tableCellAlignToStyle!==!1},f=tR(u,n,void 0);return f&&typeof f!="string"?f:u.create(n,u.Fragment,{children:f||void 0},void 0)}function tR(n,a,i){if(a.type==="element")return sB(n,a,i);if(a.type==="mdxFlowExpression"||a.type==="mdxTextExpression")return lB(n,a);if(a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement")return cB(n,a,i);if(a.type==="mdxjsEsm")return uB(n,a);if(a.type==="root")return fB(n,a,i);if(a.type==="text")return dB(n,a)}function sB(n,a,i){const s=n.schema;let u=s;a.tagName.toLowerCase()==="svg"&&s.space==="html"&&(u=Jv,n.schema=u),n.ancestors.push(a);const f=rR(n,a.tagName,!1),d=pB(n,a);let h=t0(n,a);return aB.has(a.tagName)&&(h=h.filter(function(b){return typeof b=="string"?!VL(b):!0})),nR(n,d,f,a),e0(d,h),n.ancestors.pop(),n.schema=s,n.create(a,f,d,i)}function lB(n,a){if(a.data&&a.data.estree&&n.evaluater){const s=a.data.estree.body[0];return P(s.type==="ExpressionStatement"),n.evaluater.evaluateExpression(s.expression)}Cc(n,a.position)}function uB(n,a){if(a.data&&a.data.estree&&n.evaluater)return n.evaluater.evaluateProgram(a.data.estree);Cc(n,a.position)}function cB(n,a,i){const s=n.schema;let u=s;a.name==="svg"&&s.space==="html"&&(u=Jv,n.schema=u),n.ancestors.push(a);const f=a.name===null?n.Fragment:rR(n,a.name,!0),d=gB(n,a),h=t0(n,a);return nR(n,d,f,a),e0(d,h),n.ancestors.pop(),n.schema=s,n.create(a,f,d,i)}function fB(n,a,i){const s={};return e0(s,t0(n,a)),n.create(a,n.Fragment,s,i)}function dB(n,a){return a.value}function nR(n,a,i,s){typeof i!="string"&&i!==n.Fragment&&n.passNode&&(a.node=s)}function e0(n,a){if(a.length>0){const i=a.length>1?a:a[0];i&&(n.children=i)}}function hB(n,a,i){return s;function s(u,f,d,h){const g=Array.isArray(d.children)?i:a;return h?g(f,d,h):g(f,d)}}function mB(n,a){return i;function i(s,u,f,d){const h=Array.isArray(f.children),b=Kv(s);return a(u,f,d,h,{columnNumber:b?b.column-1:void 0,fileName:n,lineNumber:b?b.line:void 0},void 0)}}function pB(n,a){const i={};let s,u;for(u in a.properties)if(u!=="children"&&Wv.call(a.properties,u)){const f=yB(n,u,a.properties[u]);if(f){const[d,h]=f;n.tableCellAlignToStyle&&d==="align"&&typeof h=="string"&&iB.has(a.tagName)?s=h:i[d]=h}}if(s){const f=i.style||(i.style={});f[n.stylePropertyNameCase==="css"?"text-align":"textAlign"]=s}return i}function gB(n,a){const i={};for(const s of a.attributes)if(s.type==="mdxJsxExpressionAttribute")if(s.data&&s.data.estree&&n.evaluater){const f=s.data.estree.body[0];P(f.type==="ExpressionStatement");const d=f.expression;P(d.type==="ObjectExpression");const h=d.properties[0];P(h.type==="SpreadElement"),Object.assign(i,n.evaluater.evaluateExpression(h.argument))}else Cc(n,a.position);else{const u=s.name;let f;if(s.value&&typeof s.value=="object")if(s.value.data&&s.value.data.estree&&n.evaluater){const h=s.value.data.estree.body[0];P(h.type==="ExpressionStatement"),f=n.evaluater.evaluateExpression(h.expression)}else Cc(n,a.position);else f=s.value===null?!0:s.value;i[u]=f}return i}function t0(n,a){const i=[];let s=-1;const u=n.passKeys?new Map:nB;for(;++s<a.children.length;){const f=a.children[s];let d;if(n.passKeys){const b=f.type==="element"?f.tagName:f.type==="mdxJsxFlowElement"||f.type==="mdxJsxTextElement"?f.name:void 0;if(b){const g=u.get(b)||0;d=b+"-"+g,u.set(b,g+1)}}const h=tR(n,f,d);h!==void 0&&i.push(h)}return i}function yB(n,a,i){const s=FL(n.schema,a);if(!(i==null||typeof i=="number"&&Number.isNaN(i))){if(Array.isArray(i)&&(i=s.commaSeparated?ML(i):XL(i)),s.property==="style"){let u=typeof i=="object"?i:bB(n,String(i));return n.stylePropertyNameCase==="css"&&(u=vB(u)),["style",u]}return[n.elementAttributeNameCase==="react"&&s.space?PL[s.property]||s.property:s.attribute,i]}}function bB(n,a){try{return eB(a,{reactCompat:!0})}catch(i){if(n.ignoreInvalidStyle)return{};const s=i,u=new An("Cannot parse `style` attribute",{ancestors:n.ancestors,cause:s,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw u.file=n.filePath||void 0,u.url=eR+"#cannot-parse-style-attribute",u}}function rR(n,a,i){let s;if(!i)s={type:"Literal",value:a};else if(a.includes(".")){const u=a.split(".");let f=-1,d;for(;++f<u.length;){const h=qw(u[f])?{type:"Identifier",name:u[f]}:{type:"Literal",value:u[f]};d=d?{type:"MemberExpression",object:d,property:h,computed:!!(f&&h.type==="Literal"),optional:!1}:h}P(d,"always a result"),s=d}else s=qw(a)&&!/^[a-z]/.test(a)?{type:"Identifier",name:a}:{type:"Literal",value:a};if(s.type==="Literal"){const u=s.value;return Wv.call(n.components,u)?n.components[u]:u}if(n.evaluater)return n.evaluater.evaluateExpression(s);Cc(n)}function Cc(n,a){const i=new An("Cannot handle MDX estrees without `createEvaluater`",{ancestors:n.ancestors,place:a,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw i.file=n.filePath||void 0,i.url=eR+"#cannot-handle-mdx-estrees-without-createevaluater",i}function vB(n){const a={};let i;for(i in n)Wv.call(n,i)&&(a[xB(i)]=n[i]);return a}function xB(n){let a=n.replace(rB,SB);return a.slice(0,3)==="ms-"&&(a="-"+a),a}function SB(n){return"-"+n.toLowerCase()}const lb={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},DB={};function EB(n,a){const i=DB,s=typeof i.includeImageAlt=="boolean"?i.includeImageAlt:!0,u=typeof i.includeHtml=="boolean"?i.includeHtml:!0;return aR(n,s,u)}function aR(n,a,i){if(TB(n)){if("value"in n)return n.type==="html"&&!i?"":n.value;if(a&&"alt"in n&&n.alt)return n.alt;if("children"in n)return Kw(n.children,a,i)}return Array.isArray(n)?Kw(n,a,i):""}function Kw(n,a,i){const s=[];let u=-1;for(;++u<n.length;)s[u]=aR(n[u],a,i);return s.join("")}function TB(n){return!!(n&&typeof n=="object")}const Ww=document.createElement("i");function n0(n){const a="&"+n+";";Ww.innerHTML=a;const i=Ww.textContent;return i.charCodeAt(i.length-1)===59&&n!=="semi"||i===a?!1:i}const w={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,ht:9,lf:10,vt:11,cr:13,space:32,exclamationMark:33,quotationMark:34,numberSign:35,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseX:88,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseX:120,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533},Ae={atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupPunctuation:2,characterGroupWhitespace:1,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeContent:"content",contentTypeFlow:"flow",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlBasic:6,htmlCdata:5,htmlComment:2,htmlComplete:7,htmlDeclaration:4,htmlInstruction:3,htmlRawSizeMax:8,htmlRaw:1,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4},A={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"},za={ht:" ",lf:`
|
|
255
|
+
`,cr:"\r",space:" ",replacementCharacter:"�"};function La(n,a,i,s){const u=n.length;let f=0,d;if(a<0?a=-a>u?0:u+a:a=a>u?u:a,i=i>0?i:0,s.length<Ae.v8MaxSafeChunkSize)d=Array.from(s),d.unshift(a,i),n.splice(...d);else for(i&&n.splice(a,i);f<s.length;)d=s.slice(f,f+Ae.v8MaxSafeChunkSize),d.unshift(a,0),n.splice(...d),f+=Ae.v8MaxSafeChunkSize,a+=Ae.v8MaxSafeChunkSize}function Ur(n,a){return n.length>0?(La(n,n.length,0,a),n):a}const eN={}.hasOwnProperty;function AB(n){const a={};let i=-1;for(;++i<n.length;)wB(a,n[i]);return a}function wB(n,a){let i;for(i in a){const u=(eN.call(n,i)?n[i]:void 0)||(n[i]={}),f=a[i];let d;if(f)for(d in f){eN.call(u,d)||(u[d]=[]);const h=f[d];NB(u[d],Array.isArray(h)?h:h?[h]:[])}}}function NB(n,a){let i=-1;const s=[];for(;++i<a.length;)(a[i].add==="after"?n:s).push(a[i]);La(n,0,0,s)}function iR(n,a){const i=Number.parseInt(n,a);return i<w.ht||i===w.vt||i>w.cr&&i<w.space||i>w.tilde&&i<160||i>55295&&i<57344||i>64975&&i<65008||(i&65535)===65535||(i&65535)===65534||i>1114111?za.replacementCharacter:String.fromCodePoint(i)}function El(n){return n.replace(/[\t\n\r ]+/g,za.space).replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ua=fo(/[A-Za-z]/),pr=fo(/[\dA-Za-z]/),kB=fo(/[#-'*+\--9=?A-Z^-~]/);function rv(n){return n!==null&&(n<w.space||n===w.del)}const av=fo(/\d/),CB=fo(/[\dA-Fa-f]/),RB=fo(/[!-/:-@[-`{-~]/);function Re(n){return n!==null&&n<w.horizontalTab}function Zn(n){return n!==null&&(n<w.nul||n===w.space)}function ut(n){return n===w.horizontalTab||n===w.virtualSpace||n===w.space}const OB=fo(new RegExp("\\p{P}|\\p{S}","u")),MB=fo(/\s/);function fo(n){return a;function a(i){return i!==null&&i>-1&&n.test(String.fromCharCode(i))}}function Ml(n){const a=[];let i=-1,s=0,u=0;for(;++i<n.length;){const f=n.charCodeAt(i);let d="";if(f===w.percentSign&&pr(n.charCodeAt(i+1))&&pr(n.charCodeAt(i+2)))u=2;else if(f<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(f))||(d=String.fromCharCode(f));else if(f>55295&&f<57344){const h=n.charCodeAt(i+1);f<56320&&h>56319&&h<57344?(d=String.fromCharCode(f,h),u=1):d=za.replacementCharacter}else d=String.fromCharCode(f);d&&(a.push(n.slice(s,i),encodeURIComponent(d)),s=i+u+1,d=""),u&&(i+=u,u=0)}return a.join("")+n.slice(s)}function Tt(n,a,i,s){const u=s?s-1:Number.POSITIVE_INFINITY;let f=0;return d;function d(b){return ut(b)?(n.enter(i),h(b)):a(b)}function h(b){return ut(b)&&f++<u?(n.consume(b),h):(n.exit(i),a(b))}}const _B={tokenize:zB};function zB(n){const a=n.attempt(this.parser.constructs.contentInitial,s,u);let i;return a;function s(h){if(P(h===w.eof||Re(h),"expected eol or eof"),h===w.eof){n.consume(h);return}return n.enter(A.lineEnding),n.consume(h),n.exit(A.lineEnding),Tt(n,a,A.linePrefix)}function u(h){return P(h!==w.eof&&!Re(h),"expected anything other than a line ending or EOF"),n.enter(A.paragraph),f(h)}function f(h){const b=n.enter(A.chunkText,{contentType:Ae.contentTypeText,previous:i});return i&&(i.next=b),i=b,d(h)}function d(h){if(h===w.eof){n.exit(A.chunkText),n.exit(A.paragraph),n.consume(h);return}return Re(h)?(n.consume(h),n.exit(A.chunkText),f):(n.consume(h),d)}}const UB={tokenize:jB},tN={tokenize:VB};function jB(n){const a=this,i=[];let s=0,u,f,d;return h;function h(I){if(s<i.length){const ie=i[s];return a.containerState=ie[1],P(ie[0].continuation,"expected `continuation` to be defined on container construct"),n.attempt(ie[0].continuation,b,g)(I)}return g(I)}function b(I){if(P(a.containerState,"expected `containerState` to be defined after continuation"),s++,a.containerState._closeFlow){a.containerState._closeFlow=void 0,u&&X();const ie=a.events.length;let re=ie,G;for(;re--;)if(a.events[re][0]==="exit"&&a.events[re][1].type===A.chunkFlow){G=a.events[re][1].end;break}P(G,"could not find previous flow chunk"),z(s);let ge=ie;for(;ge<a.events.length;)a.events[ge][1].end={...G},ge++;return La(a.events,re+1,0,a.events.slice(ie)),a.events.length=ge,g(I)}return h(I)}function g(I){if(s===i.length){if(!u)return x(I);if(u.currentConstruct&&u.currentConstruct.concrete)return N(I);a.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return a.containerState={},n.check(tN,p,v)(I)}function p(I){return u&&X(),z(s),x(I)}function v(I){return a.parser.lazy[a.now().line]=s!==i.length,d=a.now().offset,N(I)}function x(I){return a.containerState={},n.attempt(tN,S,N)(I)}function S(I){return P(a.currentConstruct,"expected `currentConstruct` to be defined on tokenizer"),P(a.containerState,"expected `containerState` to be defined on tokenizer"),s++,i.push([a.currentConstruct,a.containerState]),x(I)}function N(I){if(I===w.eof){u&&X(),z(0),n.consume(I);return}return u=u||a.parser.flow(a.now()),n.enter(A.chunkFlow,{_tokenizer:u,contentType:Ae.contentTypeFlow,previous:f}),V(I)}function V(I){if(I===w.eof){R(n.exit(A.chunkFlow),!0),z(0),n.consume(I);return}return Re(I)?(n.consume(I),R(n.exit(A.chunkFlow)),s=0,a.interrupt=void 0,h):(n.consume(I),V)}function R(I,ie){P(u,"expected `childFlow` to be defined when continuing");const re=a.sliceStream(I);if(ie&&re.push(null),I.previous=f,f&&(f.next=I),f=I,u.defineSkip(I.start),u.write(re),a.parser.lazy[I.start.line]){let G=u.events.length;for(;G--;)if(u.events[G][1].start.offset<d&&(!u.events[G][1].end||u.events[G][1].end.offset>d))return;const ge=a.events.length;let se=ge,ce,F;for(;se--;)if(a.events[se][0]==="exit"&&a.events[se][1].type===A.chunkFlow){if(ce){F=a.events[se][1].end;break}ce=!0}for(P(F,"could not find previous flow chunk"),z(s),G=ge;G<a.events.length;)a.events[G][1].end={...F},G++;La(a.events,se+1,0,a.events.slice(ge)),a.events.length=G}}function z(I){let ie=i.length;for(;ie-- >I;){const re=i[ie];a.containerState=re[1],P(re[0].exit,"expected `exit` to be defined on container construct"),re[0].exit.call(a,n)}i.length=I}function X(){P(a.containerState,"expected `containerState` to be defined when closing flow"),P(u,"expected `childFlow` to be defined when closing it"),u.write([w.eof]),f=void 0,u=void 0,a.containerState._closeFlow=void 0}}function VB(n,a,i){return P(this.parser.constructs.disable.null,"expected `disable.null` to be populated"),Tt(n,n.attempt(this.parser.constructs.document,a,i),A.linePrefix,this.parser.constructs.disable.null.includes("codeIndented")?void 0:Ae.tabSize)}function nN(n){if(n===w.eof||Zn(n)||MB(n))return Ae.characterGroupWhitespace;if(OB(n))return Ae.characterGroupPunctuation}function r0(n,a,i){const s=[];let u=-1;for(;++u<n.length;){const f=n[u].resolveAll;f&&!s.includes(f)&&(a=f(a,i),s.push(f))}return a}const iv={name:"attention",resolveAll:LB,tokenize:BB};function LB(n,a){let i=-1,s,u,f,d,h,b,g,p;for(;++i<n.length;)if(n[i][0]==="enter"&&n[i][1].type==="attentionSequence"&&n[i][1]._close){for(s=i;s--;)if(n[s][0]==="exit"&&n[s][1].type==="attentionSequence"&&n[s][1]._open&&a.sliceSerialize(n[s][1]).charCodeAt(0)===a.sliceSerialize(n[i][1]).charCodeAt(0)){if((n[s][1]._close||n[i][1]._open)&&(n[i][1].end.offset-n[i][1].start.offset)%3&&!((n[s][1].end.offset-n[s][1].start.offset+n[i][1].end.offset-n[i][1].start.offset)%3))continue;b=n[s][1].end.offset-n[s][1].start.offset>1&&n[i][1].end.offset-n[i][1].start.offset>1?2:1;const v={...n[s][1].end},x={...n[i][1].start};rN(v,-b),rN(x,b),d={type:b>1?A.strongSequence:A.emphasisSequence,start:v,end:{...n[s][1].end}},h={type:b>1?A.strongSequence:A.emphasisSequence,start:{...n[i][1].start},end:x},f={type:b>1?A.strongText:A.emphasisText,start:{...n[s][1].end},end:{...n[i][1].start}},u={type:b>1?A.strong:A.emphasis,start:{...d.start},end:{...h.end}},n[s][1].end={...d.start},n[i][1].start={...h.end},g=[],n[s][1].end.offset-n[s][1].start.offset&&(g=Ur(g,[["enter",n[s][1],a],["exit",n[s][1],a]])),g=Ur(g,[["enter",u,a],["enter",d,a],["exit",d,a],["enter",f,a]]),P(a.parser.constructs.insideSpan.null,"expected `insideSpan` to be populated"),g=Ur(g,r0(a.parser.constructs.insideSpan.null,n.slice(s+1,i),a)),g=Ur(g,[["exit",f,a],["enter",h,a],["exit",h,a],["exit",u,a]]),n[i][1].end.offset-n[i][1].start.offset?(p=2,g=Ur(g,[["enter",n[i][1],a],["exit",n[i][1],a]])):p=0,La(n,s-1,i-s+3,g),i=s+g.length-p-2;break}}for(i=-1;++i<n.length;)n[i][1].type==="attentionSequence"&&(n[i][1].type="data");return n}function BB(n,a){const i=this.parser.constructs.attentionMarkers.null,s=this.previous,u=nN(s);let f;return d;function d(b){return P(b===w.asterisk||b===w.underscore,"expected asterisk or underscore"),f=b,n.enter("attentionSequence"),h(b)}function h(b){if(b===f)return n.consume(b),h;const g=n.exit("attentionSequence"),p=nN(b);P(i,"expected `attentionMarkers` to be populated");const v=!p||p===Ae.characterGroupPunctuation&&u||i.includes(b),x=!u||u===Ae.characterGroupPunctuation&&p||i.includes(s);return g._open=!!(f===w.asterisk?v:v&&(u||!x)),g._close=!!(f===w.asterisk?x:x&&(p||!v)),a(b)}}function rN(n,a){n.column+=a,n.offset+=a,n._bufferIndex+=a}const HB={name:"autolink",tokenize:PB};function PB(n,a,i){let s=0;return u;function u(S){return P(S===w.lessThan,"expected `<`"),n.enter(A.autolink),n.enter(A.autolinkMarker),n.consume(S),n.exit(A.autolinkMarker),n.enter(A.autolinkProtocol),f}function f(S){return Ua(S)?(n.consume(S),d):S===w.atSign?i(S):g(S)}function d(S){return S===w.plusSign||S===w.dash||S===w.dot||pr(S)?(s=1,h(S)):g(S)}function h(S){return S===w.colon?(n.consume(S),s=0,b):(S===w.plusSign||S===w.dash||S===w.dot||pr(S))&&s++<Ae.autolinkSchemeSizeMax?(n.consume(S),h):(s=0,g(S))}function b(S){return S===w.greaterThan?(n.exit(A.autolinkProtocol),n.enter(A.autolinkMarker),n.consume(S),n.exit(A.autolinkMarker),n.exit(A.autolink),a):S===w.eof||S===w.space||S===w.lessThan||rv(S)?i(S):(n.consume(S),b)}function g(S){return S===w.atSign?(n.consume(S),p):kB(S)?(n.consume(S),g):i(S)}function p(S){return pr(S)?v(S):i(S)}function v(S){return S===w.dot?(n.consume(S),s=0,p):S===w.greaterThan?(n.exit(A.autolinkProtocol).type=A.autolinkEmail,n.enter(A.autolinkMarker),n.consume(S),n.exit(A.autolinkMarker),n.exit(A.autolink),a):x(S)}function x(S){if((S===w.dash||pr(S))&&s++<Ae.autolinkDomainSizeMax){const N=S===w.dash?x:v;return n.consume(S),N}return i(S)}}const Qh={partial:!0,tokenize:qB};function qB(n,a,i){return s;function s(f){return ut(f)?Tt(n,u,A.linePrefix)(f):u(f)}function u(f){return f===w.eof||Re(f)?a(f):i(f)}}const oR={continuation:{tokenize:FB},exit:YB,name:"blockQuote",tokenize:IB};function IB(n,a,i){const s=this;return u;function u(d){if(d===w.greaterThan){const h=s.containerState;return P(h,"expected `containerState` to be defined in container"),h.open||(n.enter(A.blockQuote,{_container:!0}),h.open=!0),n.enter(A.blockQuotePrefix),n.enter(A.blockQuoteMarker),n.consume(d),n.exit(A.blockQuoteMarker),f}return i(d)}function f(d){return ut(d)?(n.enter(A.blockQuotePrefixWhitespace),n.consume(d),n.exit(A.blockQuotePrefixWhitespace),n.exit(A.blockQuotePrefix),a):(n.exit(A.blockQuotePrefix),a(d))}}function FB(n,a,i){const s=this;return u;function u(d){return ut(d)?(P(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),Tt(n,f,A.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:Ae.tabSize)(d)):f(d)}function f(d){return n.attempt(oR,a,i)(d)}}function YB(n){n.exit(A.blockQuote)}const sR={name:"characterEscape",tokenize:GB};function GB(n,a,i){return s;function s(f){return P(f===w.backslash,"expected `\\`"),n.enter(A.characterEscape),n.enter(A.escapeMarker),n.consume(f),n.exit(A.escapeMarker),u}function u(f){return RB(f)?(n.enter(A.characterEscapeValue),n.consume(f),n.exit(A.characterEscapeValue),n.exit(A.characterEscape),a):i(f)}}const lR={name:"characterReference",tokenize:$B};function $B(n,a,i){const s=this;let u=0,f,d;return h;function h(v){return P(v===w.ampersand,"expected `&`"),n.enter(A.characterReference),n.enter(A.characterReferenceMarker),n.consume(v),n.exit(A.characterReferenceMarker),b}function b(v){return v===w.numberSign?(n.enter(A.characterReferenceMarkerNumeric),n.consume(v),n.exit(A.characterReferenceMarkerNumeric),g):(n.enter(A.characterReferenceValue),f=Ae.characterReferenceNamedSizeMax,d=pr,p(v))}function g(v){return v===w.uppercaseX||v===w.lowercaseX?(n.enter(A.characterReferenceMarkerHexadecimal),n.consume(v),n.exit(A.characterReferenceMarkerHexadecimal),n.enter(A.characterReferenceValue),f=Ae.characterReferenceHexadecimalSizeMax,d=CB,p):(n.enter(A.characterReferenceValue),f=Ae.characterReferenceDecimalSizeMax,d=av,p(v))}function p(v){if(v===w.semicolon&&u){const x=n.exit(A.characterReferenceValue);return d===pr&&!n0(s.sliceSerialize(x))?i(v):(n.enter(A.characterReferenceMarker),n.consume(v),n.exit(A.characterReferenceMarker),n.exit(A.characterReference),a)}return d(v)&&u++<f?(n.consume(v),p):i(v)}}const aN={partial:!0,tokenize:QB},iN={concrete:!0,name:"codeFenced",tokenize:XB};function XB(n,a,i){const s=this,u={partial:!0,tokenize:re};let f=0,d=0,h;return b;function b(G){return g(G)}function g(G){P(G===w.graveAccent||G===w.tilde,"expected `` ` `` or `~`");const ge=s.events[s.events.length-1];return f=ge&&ge[1].type===A.linePrefix?ge[2].sliceSerialize(ge[1],!0).length:0,h=G,n.enter(A.codeFenced),n.enter(A.codeFencedFence),n.enter(A.codeFencedFenceSequence),p(G)}function p(G){return G===h?(d++,n.consume(G),p):d<Ae.codeFencedSequenceSizeMin?i(G):(n.exit(A.codeFencedFenceSequence),ut(G)?Tt(n,v,A.whitespace)(G):v(G))}function v(G){return G===w.eof||Re(G)?(n.exit(A.codeFencedFence),s.interrupt?a(G):n.check(aN,V,ie)(G)):(n.enter(A.codeFencedFenceInfo),n.enter(A.chunkString,{contentType:Ae.contentTypeString}),x(G))}function x(G){return G===w.eof||Re(G)?(n.exit(A.chunkString),n.exit(A.codeFencedFenceInfo),v(G)):ut(G)?(n.exit(A.chunkString),n.exit(A.codeFencedFenceInfo),Tt(n,S,A.whitespace)(G)):G===w.graveAccent&&G===h?i(G):(n.consume(G),x)}function S(G){return G===w.eof||Re(G)?v(G):(n.enter(A.codeFencedFenceMeta),n.enter(A.chunkString,{contentType:Ae.contentTypeString}),N(G))}function N(G){return G===w.eof||Re(G)?(n.exit(A.chunkString),n.exit(A.codeFencedFenceMeta),v(G)):G===w.graveAccent&&G===h?i(G):(n.consume(G),N)}function V(G){return P(Re(G),"expected eol"),n.attempt(u,ie,R)(G)}function R(G){return P(Re(G),"expected eol"),n.enter(A.lineEnding),n.consume(G),n.exit(A.lineEnding),z}function z(G){return f>0&&ut(G)?Tt(n,X,A.linePrefix,f+1)(G):X(G)}function X(G){return G===w.eof||Re(G)?n.check(aN,V,ie)(G):(n.enter(A.codeFlowValue),I(G))}function I(G){return G===w.eof||Re(G)?(n.exit(A.codeFlowValue),X(G)):(n.consume(G),I)}function ie(G){return n.exit(A.codeFenced),a(G)}function re(G,ge,se){let ce=0;return F;function F(ae){return P(Re(ae),"expected eol"),G.enter(A.lineEnding),G.consume(ae),G.exit(A.lineEnding),he}function he(ae){return P(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),G.enter(A.codeFencedFence),ut(ae)?Tt(G,oe,A.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:Ae.tabSize)(ae):oe(ae)}function oe(ae){return ae===h?(G.enter(A.codeFencedFenceSequence),Q(ae)):se(ae)}function Q(ae){return ae===h?(ce++,G.consume(ae),Q):ce>=d?(G.exit(A.codeFencedFenceSequence),ut(ae)?Tt(G,ne,A.whitespace)(ae):ne(ae)):se(ae)}function ne(ae){return ae===w.eof||Re(ae)?(G.exit(A.codeFencedFence),ge(ae)):se(ae)}}}function QB(n,a,i){const s=this;return u;function u(d){return d===w.eof?i(d):(P(Re(d),"expected eol"),n.enter(A.lineEnding),n.consume(d),n.exit(A.lineEnding),f)}function f(d){return s.parser.lazy[s.now().line]?i(d):a(d)}}const ub={name:"codeIndented",tokenize:JB},ZB={partial:!0,tokenize:KB};function JB(n,a,i){const s=this;return u;function u(g){return P(ut(g)),n.enter(A.codeIndented),Tt(n,f,A.linePrefix,Ae.tabSize+1)(g)}function f(g){const p=s.events[s.events.length-1];return p&&p[1].type===A.linePrefix&&p[2].sliceSerialize(p[1],!0).length>=Ae.tabSize?d(g):i(g)}function d(g){return g===w.eof?b(g):Re(g)?n.attempt(ZB,d,b)(g):(n.enter(A.codeFlowValue),h(g))}function h(g){return g===w.eof||Re(g)?(n.exit(A.codeFlowValue),d(g)):(n.consume(g),h)}function b(g){return n.exit(A.codeIndented),a(g)}}function KB(n,a,i){const s=this;return u;function u(d){return s.parser.lazy[s.now().line]?i(d):Re(d)?(n.enter(A.lineEnding),n.consume(d),n.exit(A.lineEnding),u):Tt(n,f,A.linePrefix,Ae.tabSize+1)(d)}function f(d){const h=s.events[s.events.length-1];return h&&h[1].type===A.linePrefix&&h[2].sliceSerialize(h[1],!0).length>=Ae.tabSize?a(d):Re(d)?u(d):i(d)}}const WB={name:"codeText",previous:uR,resolve:e6,tokenize:t6};function e6(n){let a=n.length-4,i=3,s,u;if((n[i][1].type===A.lineEnding||n[i][1].type==="space")&&(n[a][1].type===A.lineEnding||n[a][1].type==="space")){for(s=i;++s<a;)if(n[s][1].type===A.codeTextData){n[i][1].type=A.codeTextPadding,n[a][1].type=A.codeTextPadding,i+=2,a-=2;break}}for(s=i-1,a++;++s<=a;)u===void 0?s!==a&&n[s][1].type!==A.lineEnding&&(u=s):(s===a||n[s][1].type===A.lineEnding)&&(n[u][1].type=A.codeTextData,s!==u+2&&(n[u][1].end=n[s-1][1].end,n.splice(u+2,s-u-2),a-=s-u-2,s=u+2),u=void 0);return n}function uR(n){return n!==w.graveAccent||this.events[this.events.length-1][1].type===A.characterEscape}function t6(n,a,i){const s=this;let u=0,f,d;return h;function h(x){return P(x===w.graveAccent,"expected `` ` ``"),P(uR.call(s,s.previous),"expected correct previous"),n.enter(A.codeText),n.enter(A.codeTextSequence),b(x)}function b(x){return x===w.graveAccent?(n.consume(x),u++,b):(n.exit(A.codeTextSequence),g(x))}function g(x){return x===w.eof?i(x):x===w.space?(n.enter("space"),n.consume(x),n.exit("space"),g):x===w.graveAccent?(d=n.enter(A.codeTextSequence),f=0,v(x)):Re(x)?(n.enter(A.lineEnding),n.consume(x),n.exit(A.lineEnding),g):(n.enter(A.codeTextData),p(x))}function p(x){return x===w.eof||x===w.space||x===w.graveAccent||Re(x)?(n.exit(A.codeTextData),g(x)):(n.consume(x),p)}function v(x){return x===w.graveAccent?(n.consume(x),f++,v):f===u?(n.exit(A.codeTextSequence),n.exit(A.codeText),a(x)):(d.type=A.codeTextData,p(x))}}class n6{constructor(a){this.left=a?[...a]:[],this.right=[]}get(a){if(a<0||a>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+a+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return a<this.left.length?this.left[a]:this.right[this.right.length-a+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(a,i){const s=i??Number.POSITIVE_INFINITY;return s<this.left.length?this.left.slice(a,s):a>this.left.length?this.right.slice(this.right.length-s+this.left.length,this.right.length-a+this.left.length).reverse():this.left.slice(a).concat(this.right.slice(this.right.length-s+this.left.length).reverse())}splice(a,i,s){const u=i||0;this.setCursor(Math.trunc(a));const f=this.right.splice(this.right.length-u,Number.POSITIVE_INFINITY);return s&&mc(this.left,s),f.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(a){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(a)}pushMany(a){this.setCursor(Number.POSITIVE_INFINITY),mc(this.left,a)}unshift(a){this.setCursor(0),this.right.push(a)}unshiftMany(a){this.setCursor(0),mc(this.right,a.reverse())}setCursor(a){if(!(a===this.left.length||a>this.left.length&&this.right.length===0||a<0&&this.left.length===0))if(a<this.left.length){const i=this.left.splice(a,Number.POSITIVE_INFINITY);mc(this.right,i.reverse())}else{const i=this.right.splice(this.left.length+this.right.length-a,Number.POSITIVE_INFINITY);mc(this.left,i.reverse())}}}function mc(n,a){let i=0;if(a.length<Ae.v8MaxSafeChunkSize)n.push(...a);else for(;i<a.length;)n.push(...a.slice(i,i+Ae.v8MaxSafeChunkSize)),i+=Ae.v8MaxSafeChunkSize}function cR(n){const a={};let i=-1,s,u,f,d,h,b,g;const p=new n6(n);for(;++i<p.length;){for(;i in a;)i=a[i];if(s=p.get(i),i&&s[1].type===A.chunkFlow&&p.get(i-1)[1].type===A.listItemPrefix&&(P(s[1]._tokenizer,"expected `_tokenizer` on subtokens"),b=s[1]._tokenizer.events,f=0,f<b.length&&b[f][1].type===A.lineEndingBlank&&(f+=2),f<b.length&&b[f][1].type===A.content))for(;++f<b.length&&b[f][1].type!==A.content;)b[f][1].type===A.chunkText&&(b[f][1]._isInFirstContentOfListItem=!0,f++);if(s[0]==="enter")s[1].contentType&&(Object.assign(a,r6(p,i)),i=a[i],g=!0);else if(s[1]._container){for(f=i,u=void 0;f--;)if(d=p.get(f),d[1].type===A.lineEnding||d[1].type===A.lineEndingBlank)d[0]==="enter"&&(u&&(p.get(u)[1].type=A.lineEndingBlank),d[1].type=A.lineEnding,u=f);else if(!(d[1].type===A.linePrefix||d[1].type===A.listItemIndent))break;u&&(s[1].end={...p.get(u)[1].start},h=p.slice(u,i),h.unshift(s),p.splice(u,i-u+1,h))}}return La(n,0,Number.POSITIVE_INFINITY,p.slice(0)),!g}function r6(n,a){const i=n.get(a)[1],s=n.get(a)[2];let u=a-1;const f=[];P(i.contentType,"expected `contentType` on subtokens");let d=i._tokenizer;d||(d=s.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(d._contentTypeTextTrailing=!0));const h=d.events,b=[],g={};let p,v,x=-1,S=i,N=0,V=0;const R=[V];for(;S;){for(;n.get(++u)[1]!==S;);P(!v||S.previous===v,"expected previous to match"),P(!v||v.next===S,"expected next to match"),f.push(u),S._tokenizer||(p=s.sliceStream(S),S.next||p.push(w.eof),v&&d.defineSkip(S.start),S._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=!0),d.write(p),S._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=void 0)),v=S,S=S.next}for(S=i;++x<h.length;)h[x][0]==="exit"&&h[x-1][0]==="enter"&&h[x][1].type===h[x-1][1].type&&h[x][1].start.line!==h[x][1].end.line&&(P(S,"expected a current token"),V=x+1,R.push(V),S._tokenizer=void 0,S.previous=void 0,S=S.next);for(d.events=[],S?(S._tokenizer=void 0,S.previous=void 0,P(!S.next,"expected no next token")):R.pop(),x=R.length;x--;){const z=h.slice(R[x],R[x+1]),X=f.pop();P(X!==void 0,"expected a start position when splicing"),b.push([X,X+z.length-1]),n.splice(X,2,z)}for(b.reverse(),x=-1;++x<b.length;)g[N+b[x][0]]=N+b[x][1],N+=b[x][1]-b[x][0]-1;return g}const a6={resolve:o6,tokenize:s6},i6={partial:!0,tokenize:l6};function o6(n){return cR(n),n}function s6(n,a){let i;return s;function s(h){return P(h!==w.eof&&!Re(h),"expected no eof or eol"),n.enter(A.content),i=n.enter(A.chunkContent,{contentType:Ae.contentTypeContent}),u(h)}function u(h){return h===w.eof?f(h):Re(h)?n.check(i6,d,f)(h):(n.consume(h),u)}function f(h){return n.exit(A.chunkContent),n.exit(A.content),a(h)}function d(h){return P(Re(h),"expected eol"),n.consume(h),n.exit(A.chunkContent),P(i,"expected previous token"),i.next=n.enter(A.chunkContent,{contentType:Ae.contentTypeContent,previous:i}),i=i.next,u}}function l6(n,a,i){const s=this;return u;function u(d){return P(Re(d),"expected a line ending"),n.exit(A.chunkContent),n.enter(A.lineEnding),n.consume(d),n.exit(A.lineEnding),Tt(n,f,A.linePrefix)}function f(d){if(d===w.eof||Re(d))return i(d);P(s.parser.constructs.disable.null,"expected `disable.null` to be populated");const h=s.events[s.events.length-1];return!s.parser.constructs.disable.null.includes("codeIndented")&&h&&h[1].type===A.linePrefix&&h[2].sliceSerialize(h[1],!0).length>=Ae.tabSize?a(d):n.interrupt(s.parser.constructs.flow,i,a)(d)}}function fR(n,a,i,s,u,f,d,h,b){const g=b||Number.POSITIVE_INFINITY;let p=0;return v;function v(z){return z===w.lessThan?(n.enter(s),n.enter(u),n.enter(f),n.consume(z),n.exit(f),x):z===w.eof||z===w.space||z===w.rightParenthesis||rv(z)?i(z):(n.enter(s),n.enter(d),n.enter(h),n.enter(A.chunkString,{contentType:Ae.contentTypeString}),V(z))}function x(z){return z===w.greaterThan?(n.enter(f),n.consume(z),n.exit(f),n.exit(u),n.exit(s),a):(n.enter(h),n.enter(A.chunkString,{contentType:Ae.contentTypeString}),S(z))}function S(z){return z===w.greaterThan?(n.exit(A.chunkString),n.exit(h),x(z)):z===w.eof||z===w.lessThan||Re(z)?i(z):(n.consume(z),z===w.backslash?N:S)}function N(z){return z===w.lessThan||z===w.greaterThan||z===w.backslash?(n.consume(z),S):S(z)}function V(z){return!p&&(z===w.eof||z===w.rightParenthesis||Zn(z))?(n.exit(A.chunkString),n.exit(h),n.exit(d),n.exit(s),a(z)):p<g&&z===w.leftParenthesis?(n.consume(z),p++,V):z===w.rightParenthesis?(n.consume(z),p--,V):z===w.eof||z===w.space||z===w.leftParenthesis||rv(z)?i(z):(n.consume(z),z===w.backslash?R:V)}function R(z){return z===w.leftParenthesis||z===w.rightParenthesis||z===w.backslash?(n.consume(z),V):V(z)}}function dR(n,a,i,s,u,f){const d=this;let h=0,b;return g;function g(S){return P(S===w.leftSquareBracket,"expected `[`"),n.enter(s),n.enter(u),n.consume(S),n.exit(u),n.enter(f),p}function p(S){return h>Ae.linkReferenceSizeMax||S===w.eof||S===w.leftSquareBracket||S===w.rightSquareBracket&&!b||S===w.caret&&!h&&"_hiddenFootnoteSupport"in d.parser.constructs?i(S):S===w.rightSquareBracket?(n.exit(f),n.enter(u),n.consume(S),n.exit(u),n.exit(s),a):Re(S)?(n.enter(A.lineEnding),n.consume(S),n.exit(A.lineEnding),p):(n.enter(A.chunkString,{contentType:Ae.contentTypeString}),v(S))}function v(S){return S===w.eof||S===w.leftSquareBracket||S===w.rightSquareBracket||Re(S)||h++>Ae.linkReferenceSizeMax?(n.exit(A.chunkString),p(S)):(n.consume(S),b||(b=!ut(S)),S===w.backslash?x:v)}function x(S){return S===w.leftSquareBracket||S===w.backslash||S===w.rightSquareBracket?(n.consume(S),h++,v):v(S)}}function hR(n,a,i,s,u,f){let d;return h;function h(x){return x===w.quotationMark||x===w.apostrophe||x===w.leftParenthesis?(n.enter(s),n.enter(u),n.consume(x),n.exit(u),d=x===w.leftParenthesis?w.rightParenthesis:x,b):i(x)}function b(x){return x===d?(n.enter(u),n.consume(x),n.exit(u),n.exit(s),a):(n.enter(f),g(x))}function g(x){return x===d?(n.exit(f),b(d)):x===w.eof?i(x):Re(x)?(n.enter(A.lineEnding),n.consume(x),n.exit(A.lineEnding),Tt(n,g,A.linePrefix)):(n.enter(A.chunkString,{contentType:Ae.contentTypeString}),p(x))}function p(x){return x===d||x===w.eof||Re(x)?(n.exit(A.chunkString),g(x)):(n.consume(x),x===w.backslash?v:p)}function v(x){return x===d||x===w.backslash?(n.consume(x),p):p(x)}}function Dc(n,a){let i;return s;function s(u){return Re(u)?(n.enter(A.lineEnding),n.consume(u),n.exit(A.lineEnding),i=!0,s):ut(u)?Tt(n,s,i?A.linePrefix:A.lineSuffix)(u):a(u)}}const u6={name:"definition",tokenize:f6},c6={partial:!0,tokenize:d6};function f6(n,a,i){const s=this;let u;return f;function f(S){return n.enter(A.definition),d(S)}function d(S){return P(S===w.leftSquareBracket,"expected `[`"),dR.call(s,n,h,i,A.definitionLabel,A.definitionLabelMarker,A.definitionLabelString)(S)}function h(S){return u=El(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)),S===w.colon?(n.enter(A.definitionMarker),n.consume(S),n.exit(A.definitionMarker),b):i(S)}function b(S){return Zn(S)?Dc(n,g)(S):g(S)}function g(S){return fR(n,p,i,A.definitionDestination,A.definitionDestinationLiteral,A.definitionDestinationLiteralMarker,A.definitionDestinationRaw,A.definitionDestinationString)(S)}function p(S){return n.attempt(c6,v,v)(S)}function v(S){return ut(S)?Tt(n,x,A.whitespace)(S):x(S)}function x(S){return S===w.eof||Re(S)?(n.exit(A.definition),s.parser.defined.push(u),a(S)):i(S)}}function d6(n,a,i){return s;function s(h){return Zn(h)?Dc(n,u)(h):i(h)}function u(h){return hR(n,f,i,A.definitionTitle,A.definitionTitleMarker,A.definitionTitleString)(h)}function f(h){return ut(h)?Tt(n,d,A.whitespace)(h):d(h)}function d(h){return h===w.eof||Re(h)?a(h):i(h)}}const h6={name:"hardBreakEscape",tokenize:m6};function m6(n,a,i){return s;function s(f){return P(f===w.backslash,"expected `\\`"),n.enter(A.hardBreakEscape),n.consume(f),u}function u(f){return Re(f)?(n.exit(A.hardBreakEscape),a(f)):i(f)}}const p6={name:"headingAtx",resolve:g6,tokenize:y6};function g6(n,a){let i=n.length-2,s=3,u,f;return n[s][1].type===A.whitespace&&(s+=2),i-2>s&&n[i][1].type===A.whitespace&&(i-=2),n[i][1].type===A.atxHeadingSequence&&(s===i-1||i-4>s&&n[i-2][1].type===A.whitespace)&&(i-=s+1===i?2:4),i>s&&(u={type:A.atxHeadingText,start:n[s][1].start,end:n[i][1].end},f={type:A.chunkText,start:n[s][1].start,end:n[i][1].end,contentType:Ae.contentTypeText},La(n,s,i-s+1,[["enter",u,a],["enter",f,a],["exit",f,a],["exit",u,a]])),n}function y6(n,a,i){let s=0;return u;function u(p){return n.enter(A.atxHeading),f(p)}function f(p){return P(p===w.numberSign,"expected `#`"),n.enter(A.atxHeadingSequence),d(p)}function d(p){return p===w.numberSign&&s++<Ae.atxHeadingOpeningFenceSizeMax?(n.consume(p),d):p===w.eof||Zn(p)?(n.exit(A.atxHeadingSequence),h(p)):i(p)}function h(p){return p===w.numberSign?(n.enter(A.atxHeadingSequence),b(p)):p===w.eof||Re(p)?(n.exit(A.atxHeading),a(p)):ut(p)?Tt(n,h,A.whitespace)(p):(n.enter(A.atxHeadingText),g(p))}function b(p){return p===w.numberSign?(n.consume(p),b):(n.exit(A.atxHeadingSequence),h(p))}function g(p){return p===w.eof||p===w.numberSign||Zn(p)?(n.exit(A.atxHeadingText),h(p)):(n.consume(p),g)}}const b6=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],oN=["pre","script","style","textarea"],v6={concrete:!0,name:"htmlFlow",resolveTo:D6,tokenize:E6},x6={partial:!0,tokenize:A6},S6={partial:!0,tokenize:T6};function D6(n){let a=n.length;for(;a--&&!(n[a][0]==="enter"&&n[a][1].type===A.htmlFlow););return a>1&&n[a-2][1].type===A.linePrefix&&(n[a][1].start=n[a-2][1].start,n[a+1][1].start=n[a-2][1].start,n.splice(a-2,2)),n}function E6(n,a,i){const s=this;let u,f,d,h,b;return g;function g(C){return p(C)}function p(C){return P(C===w.lessThan,"expected `<`"),n.enter(A.htmlFlow),n.enter(A.htmlFlowData),n.consume(C),v}function v(C){return C===w.exclamationMark?(n.consume(C),x):C===w.slash?(n.consume(C),f=!0,V):C===w.questionMark?(n.consume(C),u=Ae.htmlInstruction,s.interrupt?a:O):Ua(C)?(P(C!==null),n.consume(C),d=String.fromCharCode(C),R):i(C)}function x(C){return C===w.dash?(n.consume(C),u=Ae.htmlComment,S):C===w.leftSquareBracket?(n.consume(C),u=Ae.htmlCdata,h=0,N):Ua(C)?(n.consume(C),u=Ae.htmlDeclaration,s.interrupt?a:O):i(C)}function S(C){return C===w.dash?(n.consume(C),s.interrupt?a:O):i(C)}function N(C){const xe=Ae.cdataOpeningString;return C===xe.charCodeAt(h++)?(n.consume(C),h===xe.length?s.interrupt?a:oe:N):i(C)}function V(C){return Ua(C)?(P(C!==null),n.consume(C),d=String.fromCharCode(C),R):i(C)}function R(C){if(C===w.eof||C===w.slash||C===w.greaterThan||Zn(C)){const xe=C===w.slash,at=d.toLowerCase();return!xe&&!f&&oN.includes(at)?(u=Ae.htmlRaw,s.interrupt?a(C):oe(C)):b6.includes(d.toLowerCase())?(u=Ae.htmlBasic,xe?(n.consume(C),z):s.interrupt?a(C):oe(C)):(u=Ae.htmlComplete,s.interrupt&&!s.parser.lazy[s.now().line]?i(C):f?X(C):I(C))}return C===w.dash||pr(C)?(n.consume(C),d+=String.fromCharCode(C),R):i(C)}function z(C){return C===w.greaterThan?(n.consume(C),s.interrupt?a:oe):i(C)}function X(C){return ut(C)?(n.consume(C),X):F(C)}function I(C){return C===w.slash?(n.consume(C),F):C===w.colon||C===w.underscore||Ua(C)?(n.consume(C),ie):ut(C)?(n.consume(C),I):F(C)}function ie(C){return C===w.dash||C===w.dot||C===w.colon||C===w.underscore||pr(C)?(n.consume(C),ie):re(C)}function re(C){return C===w.equalsTo?(n.consume(C),G):ut(C)?(n.consume(C),re):I(C)}function G(C){return C===w.eof||C===w.lessThan||C===w.equalsTo||C===w.greaterThan||C===w.graveAccent?i(C):C===w.quotationMark||C===w.apostrophe?(n.consume(C),b=C,ge):ut(C)?(n.consume(C),G):se(C)}function ge(C){return C===b?(n.consume(C),b=null,ce):C===w.eof||Re(C)?i(C):(n.consume(C),ge)}function se(C){return C===w.eof||C===w.quotationMark||C===w.apostrophe||C===w.slash||C===w.lessThan||C===w.equalsTo||C===w.greaterThan||C===w.graveAccent||Zn(C)?re(C):(n.consume(C),se)}function ce(C){return C===w.slash||C===w.greaterThan||ut(C)?I(C):i(C)}function F(C){return C===w.greaterThan?(n.consume(C),he):i(C)}function he(C){return C===w.eof||Re(C)?oe(C):ut(C)?(n.consume(C),he):i(C)}function oe(C){return C===w.dash&&u===Ae.htmlComment?(n.consume(C),Y):C===w.lessThan&&u===Ae.htmlRaw?(n.consume(C),le):C===w.greaterThan&&u===Ae.htmlDeclaration?(n.consume(C),U):C===w.questionMark&&u===Ae.htmlInstruction?(n.consume(C),O):C===w.rightSquareBracket&&u===Ae.htmlCdata?(n.consume(C),Me):Re(C)&&(u===Ae.htmlBasic||u===Ae.htmlComplete)?(n.exit(A.htmlFlowData),n.check(x6,ue,Q)(C)):C===w.eof||Re(C)?(n.exit(A.htmlFlowData),Q(C)):(n.consume(C),oe)}function Q(C){return n.check(S6,ne,ue)(C)}function ne(C){return P(Re(C)),n.enter(A.lineEnding),n.consume(C),n.exit(A.lineEnding),ae}function ae(C){return C===w.eof||Re(C)?Q(C):(n.enter(A.htmlFlowData),oe(C))}function Y(C){return C===w.dash?(n.consume(C),O):oe(C)}function le(C){return C===w.slash?(n.consume(C),d="",ye):oe(C)}function ye(C){if(C===w.greaterThan){const xe=d.toLowerCase();return oN.includes(xe)?(n.consume(C),U):oe(C)}return Ua(C)&&d.length<Ae.htmlRawSizeMax?(P(C!==null),n.consume(C),d+=String.fromCharCode(C),ye):oe(C)}function Me(C){return C===w.rightSquareBracket?(n.consume(C),O):oe(C)}function O(C){return C===w.greaterThan?(n.consume(C),U):C===w.dash&&u===Ae.htmlComment?(n.consume(C),O):oe(C)}function U(C){return C===w.eof||Re(C)?(n.exit(A.htmlFlowData),ue(C)):(n.consume(C),U)}function ue(C){return n.exit(A.htmlFlow),a(C)}}function T6(n,a,i){const s=this;return u;function u(d){return Re(d)?(n.enter(A.lineEnding),n.consume(d),n.exit(A.lineEnding),f):i(d)}function f(d){return s.parser.lazy[s.now().line]?i(d):a(d)}}function A6(n,a,i){return s;function s(u){return P(Re(u),"expected a line ending"),n.enter(A.lineEnding),n.consume(u),n.exit(A.lineEnding),n.attempt(Qh,a,i)}}const w6={name:"htmlText",tokenize:N6};function N6(n,a,i){const s=this;let u,f,d;return h;function h(O){return P(O===w.lessThan,"expected `<`"),n.enter(A.htmlText),n.enter(A.htmlTextData),n.consume(O),b}function b(O){return O===w.exclamationMark?(n.consume(O),g):O===w.slash?(n.consume(O),re):O===w.questionMark?(n.consume(O),I):Ua(O)?(n.consume(O),se):i(O)}function g(O){return O===w.dash?(n.consume(O),p):O===w.leftSquareBracket?(n.consume(O),f=0,N):Ua(O)?(n.consume(O),X):i(O)}function p(O){return O===w.dash?(n.consume(O),S):i(O)}function v(O){return O===w.eof?i(O):O===w.dash?(n.consume(O),x):Re(O)?(d=v,le(O)):(n.consume(O),v)}function x(O){return O===w.dash?(n.consume(O),S):v(O)}function S(O){return O===w.greaterThan?Y(O):O===w.dash?x(O):v(O)}function N(O){const U=Ae.cdataOpeningString;return O===U.charCodeAt(f++)?(n.consume(O),f===U.length?V:N):i(O)}function V(O){return O===w.eof?i(O):O===w.rightSquareBracket?(n.consume(O),R):Re(O)?(d=V,le(O)):(n.consume(O),V)}function R(O){return O===w.rightSquareBracket?(n.consume(O),z):V(O)}function z(O){return O===w.greaterThan?Y(O):O===w.rightSquareBracket?(n.consume(O),z):V(O)}function X(O){return O===w.eof||O===w.greaterThan?Y(O):Re(O)?(d=X,le(O)):(n.consume(O),X)}function I(O){return O===w.eof?i(O):O===w.questionMark?(n.consume(O),ie):Re(O)?(d=I,le(O)):(n.consume(O),I)}function ie(O){return O===w.greaterThan?Y(O):I(O)}function re(O){return Ua(O)?(n.consume(O),G):i(O)}function G(O){return O===w.dash||pr(O)?(n.consume(O),G):ge(O)}function ge(O){return Re(O)?(d=ge,le(O)):ut(O)?(n.consume(O),ge):Y(O)}function se(O){return O===w.dash||pr(O)?(n.consume(O),se):O===w.slash||O===w.greaterThan||Zn(O)?ce(O):i(O)}function ce(O){return O===w.slash?(n.consume(O),Y):O===w.colon||O===w.underscore||Ua(O)?(n.consume(O),F):Re(O)?(d=ce,le(O)):ut(O)?(n.consume(O),ce):Y(O)}function F(O){return O===w.dash||O===w.dot||O===w.colon||O===w.underscore||pr(O)?(n.consume(O),F):he(O)}function he(O){return O===w.equalsTo?(n.consume(O),oe):Re(O)?(d=he,le(O)):ut(O)?(n.consume(O),he):ce(O)}function oe(O){return O===w.eof||O===w.lessThan||O===w.equalsTo||O===w.greaterThan||O===w.graveAccent?i(O):O===w.quotationMark||O===w.apostrophe?(n.consume(O),u=O,Q):Re(O)?(d=oe,le(O)):ut(O)?(n.consume(O),oe):(n.consume(O),ne)}function Q(O){return O===u?(n.consume(O),u=void 0,ae):O===w.eof?i(O):Re(O)?(d=Q,le(O)):(n.consume(O),Q)}function ne(O){return O===w.eof||O===w.quotationMark||O===w.apostrophe||O===w.lessThan||O===w.equalsTo||O===w.graveAccent?i(O):O===w.slash||O===w.greaterThan||Zn(O)?ce(O):(n.consume(O),ne)}function ae(O){return O===w.slash||O===w.greaterThan||Zn(O)?ce(O):i(O)}function Y(O){return O===w.greaterThan?(n.consume(O),n.exit(A.htmlTextData),n.exit(A.htmlText),a):i(O)}function le(O){return P(d,"expected return state"),P(Re(O),"expected eol"),n.exit(A.htmlTextData),n.enter(A.lineEnding),n.consume(O),n.exit(A.lineEnding),ye}function ye(O){return P(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),ut(O)?Tt(n,Me,A.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:Ae.tabSize)(O):Me(O)}function Me(O){return n.enter(A.htmlTextData),d(O)}}const a0={name:"labelEnd",resolveAll:O6,resolveTo:M6,tokenize:_6},k6={tokenize:z6},C6={tokenize:U6},R6={tokenize:j6};function O6(n){let a=-1;const i=[];for(;++a<n.length;){const s=n[a][1];if(i.push(n[a]),s.type===A.labelImage||s.type===A.labelLink||s.type===A.labelEnd){const u=s.type===A.labelImage?4:2;s.type=A.data,a+=u}}return n.length!==i.length&&La(n,0,n.length,i),n}function M6(n,a){let i=n.length,s=0,u,f,d,h;for(;i--;)if(u=n[i][1],f){if(u.type===A.link||u.type===A.labelLink&&u._inactive)break;n[i][0]==="enter"&&u.type===A.labelLink&&(u._inactive=!0)}else if(d){if(n[i][0]==="enter"&&(u.type===A.labelImage||u.type===A.labelLink)&&!u._balanced&&(f=i,u.type!==A.labelLink)){s=2;break}}else u.type===A.labelEnd&&(d=i);P(f!==void 0,"`open` is supposed to be found"),P(d!==void 0,"`close` is supposed to be found");const b={type:n[f][1].type===A.labelLink?A.link:A.image,start:{...n[f][1].start},end:{...n[n.length-1][1].end}},g={type:A.label,start:{...n[f][1].start},end:{...n[d][1].end}},p={type:A.labelText,start:{...n[f+s+2][1].end},end:{...n[d-2][1].start}};return h=[["enter",b,a],["enter",g,a]],h=Ur(h,n.slice(f+1,f+s+3)),h=Ur(h,[["enter",p,a]]),P(a.parser.constructs.insideSpan.null,"expected `insideSpan.null` to be populated"),h=Ur(h,r0(a.parser.constructs.insideSpan.null,n.slice(f+s+4,d-3),a)),h=Ur(h,[["exit",p,a],n[d-2],n[d-1],["exit",g,a]]),h=Ur(h,n.slice(d+1)),h=Ur(h,[["exit",b,a]]),La(n,f,n.length,h),n}function _6(n,a,i){const s=this;let u=s.events.length,f,d;for(;u--;)if((s.events[u][1].type===A.labelImage||s.events[u][1].type===A.labelLink)&&!s.events[u][1]._balanced){f=s.events[u][1];break}return h;function h(x){return P(x===w.rightSquareBracket,"expected `]`"),f?f._inactive?v(x):(d=s.parser.defined.includes(El(s.sliceSerialize({start:f.end,end:s.now()}))),n.enter(A.labelEnd),n.enter(A.labelMarker),n.consume(x),n.exit(A.labelMarker),n.exit(A.labelEnd),b):i(x)}function b(x){return x===w.leftParenthesis?n.attempt(k6,p,d?p:v)(x):x===w.leftSquareBracket?n.attempt(C6,p,d?g:v)(x):d?p(x):v(x)}function g(x){return n.attempt(R6,p,v)(x)}function p(x){return a(x)}function v(x){return f._balanced=!0,i(x)}}function z6(n,a,i){return s;function s(v){return P(v===w.leftParenthesis,"expected left paren"),n.enter(A.resource),n.enter(A.resourceMarker),n.consume(v),n.exit(A.resourceMarker),u}function u(v){return Zn(v)?Dc(n,f)(v):f(v)}function f(v){return v===w.rightParenthesis?p(v):fR(n,d,h,A.resourceDestination,A.resourceDestinationLiteral,A.resourceDestinationLiteralMarker,A.resourceDestinationRaw,A.resourceDestinationString,Ae.linkResourceDestinationBalanceMax)(v)}function d(v){return Zn(v)?Dc(n,b)(v):p(v)}function h(v){return i(v)}function b(v){return v===w.quotationMark||v===w.apostrophe||v===w.leftParenthesis?hR(n,g,i,A.resourceTitle,A.resourceTitleMarker,A.resourceTitleString)(v):p(v)}function g(v){return Zn(v)?Dc(n,p)(v):p(v)}function p(v){return v===w.rightParenthesis?(n.enter(A.resourceMarker),n.consume(v),n.exit(A.resourceMarker),n.exit(A.resource),a):i(v)}}function U6(n,a,i){const s=this;return u;function u(h){return P(h===w.leftSquareBracket,"expected left bracket"),dR.call(s,n,f,d,A.reference,A.referenceMarker,A.referenceString)(h)}function f(h){return s.parser.defined.includes(El(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)))?a(h):i(h)}function d(h){return i(h)}}function j6(n,a,i){return s;function s(f){return P(f===w.leftSquareBracket,"expected left bracket"),n.enter(A.reference),n.enter(A.referenceMarker),n.consume(f),n.exit(A.referenceMarker),u}function u(f){return f===w.rightSquareBracket?(n.enter(A.referenceMarker),n.consume(f),n.exit(A.referenceMarker),n.exit(A.reference),a):i(f)}}const V6={name:"labelStartImage",resolveAll:a0.resolveAll,tokenize:L6};function L6(n,a,i){const s=this;return u;function u(h){return P(h===w.exclamationMark,"expected `!`"),n.enter(A.labelImage),n.enter(A.labelImageMarker),n.consume(h),n.exit(A.labelImageMarker),f}function f(h){return h===w.leftSquareBracket?(n.enter(A.labelMarker),n.consume(h),n.exit(A.labelMarker),n.exit(A.labelImage),d):i(h)}function d(h){return h===w.caret&&"_hiddenFootnoteSupport"in s.parser.constructs?i(h):a(h)}}const B6={name:"labelStartLink",resolveAll:a0.resolveAll,tokenize:H6};function H6(n,a,i){const s=this;return u;function u(d){return P(d===w.leftSquareBracket,"expected `[`"),n.enter(A.labelLink),n.enter(A.labelMarker),n.consume(d),n.exit(A.labelMarker),n.exit(A.labelLink),f}function f(d){return d===w.caret&&"_hiddenFootnoteSupport"in s.parser.constructs?i(d):a(d)}}const cb={name:"lineEnding",tokenize:P6};function P6(n,a){return i;function i(s){return P(Re(s),"expected eol"),n.enter(A.lineEnding),n.consume(s),n.exit(A.lineEnding),Tt(n,a,A.linePrefix)}}const wh={name:"thematicBreak",tokenize:q6};function q6(n,a,i){let s=0,u;return f;function f(g){return n.enter(A.thematicBreak),d(g)}function d(g){return P(g===w.asterisk||g===w.dash||g===w.underscore,"expected `*`, `-`, or `_`"),u=g,h(g)}function h(g){return g===u?(n.enter(A.thematicBreakSequence),b(g)):s>=Ae.thematicBreakMarkerCountMin&&(g===w.eof||Re(g))?(n.exit(A.thematicBreak),a(g)):i(g)}function b(g){return g===u?(n.consume(g),s++,b):(n.exit(A.thematicBreakSequence),ut(g)?Tt(n,h,A.whitespace)(g):h(g))}}const $n={continuation:{tokenize:G6},exit:X6,name:"list",tokenize:Y6},I6={partial:!0,tokenize:Q6},F6={partial:!0,tokenize:$6};function Y6(n,a,i){const s=this,u=s.events[s.events.length-1];let f=u&&u[1].type===A.linePrefix?u[2].sliceSerialize(u[1],!0).length:0,d=0;return h;function h(S){P(s.containerState,"expected state");const N=s.containerState.type||(S===w.asterisk||S===w.plusSign||S===w.dash?A.listUnordered:A.listOrdered);if(N===A.listUnordered?!s.containerState.marker||S===s.containerState.marker:av(S)){if(s.containerState.type||(s.containerState.type=N,n.enter(N,{_container:!0})),N===A.listUnordered)return n.enter(A.listItemPrefix),S===w.asterisk||S===w.dash?n.check(wh,i,g)(S):g(S);if(!s.interrupt||S===w.digit1)return n.enter(A.listItemPrefix),n.enter(A.listItemValue),b(S)}return i(S)}function b(S){return P(s.containerState,"expected state"),av(S)&&++d<Ae.listItemValueSizeMax?(n.consume(S),b):(!s.interrupt||d<2)&&(s.containerState.marker?S===s.containerState.marker:S===w.rightParenthesis||S===w.dot)?(n.exit(A.listItemValue),g(S)):i(S)}function g(S){return P(s.containerState,"expected state"),P(S!==w.eof,"eof (`null`) is not a marker"),n.enter(A.listItemMarker),n.consume(S),n.exit(A.listItemMarker),s.containerState.marker=s.containerState.marker||S,n.check(Qh,s.interrupt?i:p,n.attempt(I6,x,v))}function p(S){return P(s.containerState,"expected state"),s.containerState.initialBlankLine=!0,f++,x(S)}function v(S){return ut(S)?(n.enter(A.listItemPrefixWhitespace),n.consume(S),n.exit(A.listItemPrefixWhitespace),x):i(S)}function x(S){return P(s.containerState,"expected state"),s.containerState.size=f+s.sliceSerialize(n.exit(A.listItemPrefix),!0).length,a(S)}}function G6(n,a,i){const s=this;return P(s.containerState,"expected state"),s.containerState._closeFlow=void 0,n.check(Qh,u,f);function u(h){return P(s.containerState,"expected state"),P(typeof s.containerState.size=="number","expected size"),s.containerState.furtherBlankLines=s.containerState.furtherBlankLines||s.containerState.initialBlankLine,Tt(n,a,A.listItemIndent,s.containerState.size+1)(h)}function f(h){return P(s.containerState,"expected state"),s.containerState.furtherBlankLines||!ut(h)?(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,d(h)):(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,n.attempt(F6,a,d)(h))}function d(h){return P(s.containerState,"expected state"),s.containerState._closeFlow=!0,s.interrupt=void 0,P(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),Tt(n,n.attempt($n,a,i),A.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:Ae.tabSize)(h)}}function $6(n,a,i){const s=this;return P(s.containerState,"expected state"),P(typeof s.containerState.size=="number","expected size"),Tt(n,u,A.listItemIndent,s.containerState.size+1);function u(f){P(s.containerState,"expected state");const d=s.events[s.events.length-1];return d&&d[1].type===A.listItemIndent&&d[2].sliceSerialize(d[1],!0).length===s.containerState.size?a(f):i(f)}}function X6(n){P(this.containerState,"expected state"),P(typeof this.containerState.type=="string","expected type"),n.exit(this.containerState.type)}function Q6(n,a,i){const s=this;return P(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),Tt(n,u,A.listItemPrefixWhitespace,s.parser.constructs.disable.null.includes("codeIndented")?void 0:Ae.tabSize+1);function u(f){const d=s.events[s.events.length-1];return!ut(f)&&d&&d[1].type===A.listItemPrefixWhitespace?a(f):i(f)}}const sN={name:"setextUnderline",resolveTo:Z6,tokenize:J6};function Z6(n,a){let i=n.length,s,u,f;for(;i--;)if(n[i][0]==="enter"){if(n[i][1].type===A.content){s=i;break}n[i][1].type===A.paragraph&&(u=i)}else n[i][1].type===A.content&&n.splice(i,1),!f&&n[i][1].type===A.definition&&(f=i);P(u!==void 0,"expected a `text` index to be found"),P(s!==void 0,"expected a `text` index to be found"),P(n[s][2]===a,"enter context should be same"),P(n[n.length-1][2]===a,"enter context should be same");const d={type:A.setextHeading,start:{...n[s][1].start},end:{...n[n.length-1][1].end}};return n[u][1].type=A.setextHeadingText,f?(n.splice(u,0,["enter",d,a]),n.splice(f+1,0,["exit",n[s][1],a]),n[s][1].end={...n[f][1].end}):n[s][1]=d,n.push(["exit",d,a]),n}function J6(n,a,i){const s=this;let u;return f;function f(g){let p=s.events.length,v;for(P(g===w.dash||g===w.equalsTo,"expected `=` or `-`");p--;)if(s.events[p][1].type!==A.lineEnding&&s.events[p][1].type!==A.linePrefix&&s.events[p][1].type!==A.content){v=s.events[p][1].type===A.paragraph;break}return!s.parser.lazy[s.now().line]&&(s.interrupt||v)?(n.enter(A.setextHeadingLine),u=g,d(g)):i(g)}function d(g){return n.enter(A.setextHeadingLineSequence),h(g)}function h(g){return g===u?(n.consume(g),h):(n.exit(A.setextHeadingLineSequence),ut(g)?Tt(n,b,A.lineSuffix)(g):b(g))}function b(g){return g===w.eof||Re(g)?(n.exit(A.setextHeadingLine),a(g)):i(g)}}const K6={tokenize:W6};function W6(n){const a=this,i=n.attempt(Qh,s,n.attempt(this.parser.constructs.flowInitial,u,Tt(n,n.attempt(this.parser.constructs.flow,u,n.attempt(a6,u)),A.linePrefix)));return i;function s(f){if(P(f===w.eof||Re(f),"expected eol or eof"),f===w.eof){n.consume(f);return}return n.enter(A.lineEndingBlank),n.consume(f),n.exit(A.lineEndingBlank),a.currentConstruct=void 0,i}function u(f){if(P(f===w.eof||Re(f),"expected eol or eof"),f===w.eof){n.consume(f);return}return n.enter(A.lineEnding),n.consume(f),n.exit(A.lineEnding),a.currentConstruct=void 0,i}}const e9={resolveAll:pR()},t9=mR("string"),n9=mR("text");function mR(n){return{resolveAll:pR(n==="text"?r9:void 0),tokenize:a};function a(i){const s=this,u=this.parser.constructs[n],f=i.attempt(u,d,h);return d;function d(p){return g(p)?f(p):h(p)}function h(p){if(p===w.eof){i.consume(p);return}return i.enter(A.data),i.consume(p),b}function b(p){return g(p)?(i.exit(A.data),f(p)):(i.consume(p),b)}function g(p){if(p===w.eof)return!0;const v=u[p];let x=-1;if(v)for(P(Array.isArray(v),"expected `disable.null` to be populated");++x<v.length;){const S=v[x];if(!S.previous||S.previous.call(s,s.previous))return!0}return!1}}}function pR(n){return a;function a(i,s){let u=-1,f;for(;++u<=i.length;)f===void 0?i[u]&&i[u][1].type===A.data&&(f=u,u++):(!i[u]||i[u][1].type!==A.data)&&(u!==f+2&&(i[f][1].end=i[u-1][1].end,i.splice(f+2,u-f-2),u=f+2),f=void 0);return n?n(i,s):i}}function r9(n,a){let i=0;for(;++i<=n.length;)if((i===n.length||n[i][1].type===A.lineEnding)&&n[i-1][1].type===A.data){const s=n[i-1][1],u=a.sliceStream(s);let f=u.length,d=-1,h=0,b;for(;f--;){const g=u[f];if(typeof g=="string"){for(d=g.length;g.charCodeAt(d-1)===w.space;)h++,d--;if(d)break;d=-1}else if(g===w.horizontalTab)b=!0,h++;else if(g!==w.virtualSpace){f++;break}}if(a._contentTypeTextTrailing&&i===n.length&&(h=0),h){const g={type:i===n.length||b||h<Ae.hardBreakPrefixSizeMin?A.lineSuffix:A.hardBreakTrailing,start:{_bufferIndex:f?d:s.start._bufferIndex+d,_index:s.start._index+f,line:s.end.line,column:s.end.column-h,offset:s.end.offset-h},end:{...s.end}};s.end={...g.start},s.start.offset===s.end.offset?Object.assign(s,g):(n.splice(i,0,["enter",g,a],["exit",g,a]),i+=2)}i++}return n}const a9={[w.asterisk]:$n,[w.plusSign]:$n,[w.dash]:$n,[w.digit0]:$n,[w.digit1]:$n,[w.digit2]:$n,[w.digit3]:$n,[w.digit4]:$n,[w.digit5]:$n,[w.digit6]:$n,[w.digit7]:$n,[w.digit8]:$n,[w.digit9]:$n,[w.greaterThan]:oR},i9={[w.leftSquareBracket]:u6},o9={[w.horizontalTab]:ub,[w.virtualSpace]:ub,[w.space]:ub},s9={[w.numberSign]:p6,[w.asterisk]:wh,[w.dash]:[sN,wh],[w.lessThan]:v6,[w.equalsTo]:sN,[w.underscore]:wh,[w.graveAccent]:iN,[w.tilde]:iN},l9={[w.ampersand]:lR,[w.backslash]:sR},u9={[w.carriageReturn]:cb,[w.lineFeed]:cb,[w.carriageReturnLineFeed]:cb,[w.exclamationMark]:V6,[w.ampersand]:lR,[w.asterisk]:iv,[w.lessThan]:[HB,w6],[w.leftSquareBracket]:B6,[w.backslash]:[h6,sR],[w.rightSquareBracket]:a0,[w.underscore]:iv,[w.graveAccent]:WB},c9={null:[iv,e9]},f9={null:[w.asterisk,w.underscore]},d9={null:[]},h9=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:f9,contentInitial:i9,disable:d9,document:a9,flow:s9,flowInitial:o9,insideSpan:c9,string:l9,text:u9},Symbol.toStringTag,{value:"Module"}));var ch={exports:{}},fb,lN;function m9(){if(lN)return fb;lN=1;var n=1e3,a=n*60,i=a*60,s=i*24,u=s*7,f=s*365.25;fb=function(p,v){v=v||{};var x=typeof p;if(x==="string"&&p.length>0)return d(p);if(x==="number"&&isFinite(p))return v.long?b(p):h(p);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(p))};function d(p){if(p=String(p),!(p.length>100)){var v=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(p);if(v){var x=parseFloat(v[1]),S=(v[2]||"ms").toLowerCase();switch(S){case"years":case"year":case"yrs":case"yr":case"y":return x*f;case"weeks":case"week":case"w":return x*u;case"days":case"day":case"d":return x*s;case"hours":case"hour":case"hrs":case"hr":case"h":return x*i;case"minutes":case"minute":case"mins":case"min":case"m":return x*a;case"seconds":case"second":case"secs":case"sec":case"s":return x*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return x;default:return}}}}function h(p){var v=Math.abs(p);return v>=s?Math.round(p/s)+"d":v>=i?Math.round(p/i)+"h":v>=a?Math.round(p/a)+"m":v>=n?Math.round(p/n)+"s":p+"ms"}function b(p){var v=Math.abs(p);return v>=s?g(p,v,s,"day"):v>=i?g(p,v,i,"hour"):v>=a?g(p,v,a,"minute"):v>=n?g(p,v,n,"second"):p+" ms"}function g(p,v,x,S){var N=v>=x*1.5;return Math.round(p/x)+" "+S+(N?"s":"")}return fb}var db,uN;function p9(){if(uN)return db;uN=1;function n(a){s.debug=s,s.default=s,s.coerce=g,s.disable=h,s.enable=f,s.enabled=b,s.humanize=m9(),s.destroy=p,Object.keys(a).forEach(v=>{s[v]=a[v]}),s.names=[],s.skips=[],s.formatters={};function i(v){let x=0;for(let S=0;S<v.length;S++)x=(x<<5)-x+v.charCodeAt(S),x|=0;return s.colors[Math.abs(x)%s.colors.length]}s.selectColor=i;function s(v){let x,S=null,N,V;function R(...z){if(!R.enabled)return;const X=R,I=Number(new Date),ie=I-(x||I);X.diff=ie,X.prev=x,X.curr=I,x=I,z[0]=s.coerce(z[0]),typeof z[0]!="string"&&z.unshift("%O");let re=0;z[0]=z[0].replace(/%([a-zA-Z%])/g,(ge,se)=>{if(ge==="%%")return"%";re++;const ce=s.formatters[se];if(typeof ce=="function"){const F=z[re];ge=ce.call(X,F),z.splice(re,1),re--}return ge}),s.formatArgs.call(X,z),(X.log||s.log).apply(X,z)}return R.namespace=v,R.useColors=s.useColors(),R.color=s.selectColor(v),R.extend=u,R.destroy=s.destroy,Object.defineProperty(R,"enabled",{enumerable:!0,configurable:!1,get:()=>S!==null?S:(N!==s.namespaces&&(N=s.namespaces,V=s.enabled(v)),V),set:z=>{S=z}}),typeof s.init=="function"&&s.init(R),R}function u(v,x){const S=s(this.namespace+(typeof x>"u"?":":x)+v);return S.log=this.log,S}function f(v){s.save(v),s.namespaces=v,s.names=[],s.skips=[];const x=(typeof v=="string"?v:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const S of x)S[0]==="-"?s.skips.push(S.slice(1)):s.names.push(S)}function d(v,x){let S=0,N=0,V=-1,R=0;for(;S<v.length;)if(N<x.length&&(x[N]===v[S]||x[N]==="*"))x[N]==="*"?(V=N,R=S,N++):(S++,N++);else if(V!==-1)N=V+1,R++,S=R;else return!1;for(;N<x.length&&x[N]==="*";)N++;return N===x.length}function h(){const v=[...s.names,...s.skips.map(x=>"-"+x)].join(",");return s.enable(""),v}function b(v){for(const x of s.skips)if(d(v,x))return!1;for(const x of s.names)if(d(v,x))return!0;return!1}function g(v){return v instanceof Error?v.stack||v.message:v}function p(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return s.enable(s.load()),s}return db=n,db}var cN;function g9(){return cN||(cN=1,(function(n,a){var i={};a.formatArgs=u,a.save=f,a.load=d,a.useColors=s,a.storage=h(),a.destroy=(()=>{let g=!1;return()=>{g||(g=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),a.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function s(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let g;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(g=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(g[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function u(g){if(g[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+g[0]+(this.useColors?"%c ":" ")+"+"+n.exports.humanize(this.diff),!this.useColors)return;const p="color: "+this.color;g.splice(1,0,p,"color: inherit");let v=0,x=0;g[0].replace(/%[a-zA-Z%]/g,S=>{S!=="%%"&&(v++,S==="%c"&&(x=v))}),g.splice(x,0,p)}a.log=console.debug||console.log||(()=>{});function f(g){try{g?a.storage.setItem("debug",g):a.storage.removeItem("debug")}catch{}}function d(){let g;try{g=a.storage.getItem("debug")||a.storage.getItem("DEBUG")}catch{}return!g&&typeof process<"u"&&"env"in process&&(g=i.DEBUG),g}function h(){try{return localStorage}catch{}}n.exports=p9()(a);const{formatters:b}=n.exports;b.j=function(g){try{return JSON.stringify(g)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}})(ch,ch.exports)),ch.exports}var y9=g9();const b9=Rc(y9),Wo=b9("micromark");function v9(n,a,i){let s={_bufferIndex:-1,_index:0,line:i&&i.line||1,column:i&&i.column||1,offset:i&&i.offset||0};const u={},f=[];let d=[],h=[],b=!0;const g={attempt:ce(ge),check:ce(se),consume:ie,enter:re,exit:G,interrupt:ce(se,{interrupt:!0})},p={code:w.eof,containerState:{},defineSkip:z,events:[],now:R,parser:n,previous:w.eof,sliceSerialize:N,sliceStream:V,write:S};let v=a.tokenize.call(p,g),x;return a.resolveAll&&f.push(a),p;function S(Q){return d=Ur(d,Q),X(),d[d.length-1]!==w.eof?[]:(F(a,0),p.events=r0(f,p.events,p),p.events)}function N(Q,ne){return S9(V(Q),ne)}function V(Q){return x9(d,Q)}function R(){const{_bufferIndex:Q,_index:ne,line:ae,column:Y,offset:le}=s;return{_bufferIndex:Q,_index:ne,line:ae,column:Y,offset:le}}function z(Q){u[Q.line]=Q.column,oe(),Wo("position: define skip: `%j`",s)}function X(){let Q;for(;s._index<d.length;){const ne=d[s._index];if(typeof ne=="string")for(Q=s._index,s._bufferIndex<0&&(s._bufferIndex=0);s._index===Q&&s._bufferIndex<ne.length;)I(ne.charCodeAt(s._bufferIndex));else I(ne)}}function I(Q){P(b===!0,"expected character to be consumed"),b=void 0,Wo("main: passing `%s` to %s",Q,v&&v.name),x=Q,P(typeof v=="function","expected state"),v=v(Q)}function ie(Q){P(Q===x,"expected given code to equal expected code"),Wo("consume: `%s`",Q),P(b===void 0,"expected code to not have been consumed: this might be because `return x(code)` instead of `return x` was used"),P(Q===null?p.events.length===0||p.events[p.events.length-1][0]==="exit":p.events[p.events.length-1][0]==="enter","expected last token to be open"),Re(Q)?(s.line++,s.column=1,s.offset+=Q===w.carriageReturnLineFeed?2:1,oe(),Wo("position: after eol: `%j`",s)):Q!==w.virtualSpace&&(s.column++,s.offset++),s._bufferIndex<0?s._index++:(s._bufferIndex++,s._bufferIndex===d[s._index].length&&(s._bufferIndex=-1,s._index++)),p.previous=Q,b=!0}function re(Q,ne){const ae=ne||{};return ae.type=Q,ae.start=R(),P(typeof Q=="string","expected string type"),P(Q.length>0,"expected non-empty string"),Wo("enter: `%s`",Q),p.events.push(["enter",ae,p]),h.push(ae),ae}function G(Q){P(typeof Q=="string","expected string type"),P(Q.length>0,"expected non-empty string");const ne=h.pop();return P(ne,"cannot close w/o open tokens"),ne.end=R(),P(Q===ne.type,"expected exit token to match current token"),P(!(ne.start._index===ne.end._index&&ne.start._bufferIndex===ne.end._bufferIndex),"expected non-empty token (`"+Q+"`)"),Wo("exit: `%s`",ne.type),p.events.push(["exit",ne,p]),ne}function ge(Q,ne){F(Q,ne.from)}function se(Q,ne){ne.restore()}function ce(Q,ne){return ae;function ae(Y,le,ye){let Me,O,U,ue;return Array.isArray(Y)?xe(Y):"tokenize"in Y?xe([Y]):C(Y);function C(Ke){return Ut;function Ut(Lt){const De=Lt!==null&&Ke[Lt],Kn=Lt!==null&&Ke.null,Hr=[...Array.isArray(De)?De:De?[De]:[],...Array.isArray(Kn)?Kn:Kn?[Kn]:[]];return xe(Hr)(Lt)}}function xe(Ke){return Me=Ke,O=0,Ke.length===0?(P(ye,"expected `bogusState` to be given"),ye):at(Ke[O])}function at(Ke){return Ut;function Ut(Lt){return ue=he(),U=Ke,Ke.partial||(p.currentConstruct=Ke),P(p.parser.constructs.disable.null,"expected `disable.null` to be populated"),Ke.name&&p.parser.constructs.disable.null.includes(Ke.name)?je(Lt):Ke.tokenize.call(ne?Object.assign(Object.create(p),ne):p,g,yn,je)(Lt)}}function yn(Ke){return P(Ke===x,"expected code"),b=!0,Q(U,ue),le}function je(Ke){return P(Ke===x,"expected code"),b=!0,ue.restore(),++O<Me.length?at(Me[O]):ye}}}function F(Q,ne){Q.resolveAll&&!f.includes(Q)&&f.push(Q),Q.resolve&&La(p.events,ne,p.events.length-ne,Q.resolve(p.events.slice(ne),p)),Q.resolveTo&&(p.events=Q.resolveTo(p.events,p)),P(Q.partial||p.events.length===0||p.events[p.events.length-1][0]==="exit","expected last token to end")}function he(){const Q=R(),ne=p.previous,ae=p.currentConstruct,Y=p.events.length,le=Array.from(h);return{from:Y,restore:ye};function ye(){s=Q,p.previous=ne,p.currentConstruct=ae,p.events.length=Y,h=le,oe(),Wo("position: restore: `%j`",s)}}function oe(){s.line in u&&s.column<2&&(s.column=u[s.line],s.offset+=u[s.line]-1)}}function x9(n,a){const i=a.start._index,s=a.start._bufferIndex,u=a.end._index,f=a.end._bufferIndex;let d;if(i===u)P(f>-1,"expected non-negative end buffer index"),P(s>-1,"expected non-negative start buffer index"),d=[n[i].slice(s,f)];else{if(d=n.slice(i,u),s>-1){const h=d[0];typeof h=="string"?d[0]=h.slice(s):(P(s===0,"expected `startBufferIndex` to be `0`"),d.shift())}f>0&&d.push(n[u].slice(0,f))}return d}function S9(n,a){let i=-1;const s=[];let u;for(;++i<n.length;){const f=n[i];let d;if(typeof f=="string")d=f;else switch(f){case w.carriageReturn:{d=za.cr;break}case w.lineFeed:{d=za.lf;break}case w.carriageReturnLineFeed:{d=za.cr+za.lf;break}case w.horizontalTab:{d=a?za.space:za.ht;break}case w.virtualSpace:{if(!a&&u)continue;d=za.space;break}default:P(typeof f=="number","expected number"),d=String.fromCharCode(f)}u=f===w.horizontalTab,s.push(d)}return s.join("")}function D9(n){const s={constructs:AB([h9,...(n||{}).extensions||[]]),content:u(_B),defined:[],document:u(UB),flow:u(K6),lazy:{},string:u(t9),text:u(n9)};return s;function u(f){return d;function d(h){return v9(s,f,h)}}}function E9(n){for(;!cR(n););return n}const fN=/[\0\t\n\r]/g;function T9(){let n=1,a="",i=!0,s;return u;function u(f,d,h){const b=[];let g,p,v,x,S;for(f=a+(typeof f=="string"?f.toString():new TextDecoder(d||void 0).decode(f)),v=0,a="",i&&(f.charCodeAt(0)===w.byteOrderMarker&&v++,i=void 0);v<f.length;){if(fN.lastIndex=v,g=fN.exec(f),x=g&&g.index!==void 0?g.index:f.length,S=f.charCodeAt(x),!g){a=f.slice(v);break}if(S===w.lf&&v===x&&s)b.push(w.carriageReturnLineFeed),s=void 0;else switch(s&&(b.push(w.carriageReturn),s=void 0),v<x&&(b.push(f.slice(v,x)),n+=x-v),S){case w.nul:{b.push(w.replacementCharacter),n++;break}case w.ht:{for(p=Math.ceil(n/Ae.tabSize)*Ae.tabSize,b.push(w.horizontalTab);n++<p;)b.push(w.virtualSpace);break}case w.lf:{b.push(w.lineFeed),n=1;break}default:s=!0,n=1}v=x+1}return h&&(s&&b.push(w.carriageReturn),a&&b.push(a),b.push(w.eof)),b}}const A9=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function w9(n){return n.replace(A9,N9)}function N9(n,a,i){if(a)return a;if(i.charCodeAt(0)===w.numberSign){const u=i.charCodeAt(1),f=u===w.lowercaseX||u===w.uppercaseX;return iR(i.slice(f?2:1),f?Ae.numericBaseHexadecimal:Ae.numericBaseDecimal)}return n0(i)||n}const gR={}.hasOwnProperty;function k9(n,a,i){return typeof a!="string"&&(i=a,a=void 0),C9(i)(E9(D9(i).document().write(T9()(n,a,!0))))}function C9(n){const a={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:f(ls),autolinkProtocol:ce,autolinkEmail:ce,atxHeading:f(Pr),blockQuote:f(Lt),characterEscape:ce,characterReference:ce,codeFenced:f(De),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:f(De,d),codeText:f(Kn,d),codeTextData:ce,data:ce,codeFlowValue:ce,definition:f(Hr),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:f(Ba),hardBreakEscape:f(lt),hardBreakTrailing:f(lt),htmlFlow:f(Wt,d),htmlFlowData:ce,htmlText:f(Wt,d),htmlTextData:ce,image:f(gi),label:d,link:f(ls),listItem:f(yi),listItemValue:x,listOrdered:f(we,v),listUnordered:f(we),paragraph:f(gr),reference:C,referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:f(Pr),strong:f(Ha),thematicBreak:f(us)},exit:{atxHeading:b(),atxHeadingSequence:re,autolink:b(),autolinkEmail:Ut,autolinkProtocol:Ke,blockQuote:b(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:at,characterReferenceMarkerNumeric:at,characterReferenceValue:yn,characterReference:je,codeFenced:b(R),codeFencedFence:V,codeFencedFenceInfo:S,codeFencedFenceMeta:N,codeFlowValue:F,codeIndented:b(z),codeText:b(ae),codeTextData:F,data:F,definition:b(),definitionDestinationString:ie,definitionLabelString:X,definitionTitleString:I,emphasis:b(),hardBreakEscape:b(oe),hardBreakTrailing:b(oe),htmlFlow:b(Q),htmlFlowData:F,htmlText:b(ne),htmlTextData:F,image:b(le),label:Me,labelText:ye,lineEnding:he,link:b(Y),listItem:b(),listOrdered:b(),listUnordered:b(),paragraph:b(),referenceString:xe,resourceDestinationString:O,resourceTitleString:U,resource:ue,setextHeading:b(se),setextHeadingLineSequence:ge,setextHeadingText:G,strong:b(),thematicBreak:b()}};yR(a,(n||{}).mdastExtensions||[]);const i={};return s;function s(W){let ee={type:"root",children:[]};const Te={stack:[ee],tokenStack:[],config:a,enter:h,exit:g,buffer:d,resume:p,data:i},Ie=[];let it=-1;for(;++it<W.length;)if(W[it][1].type===A.listOrdered||W[it][1].type===A.listUnordered)if(W[it][0]==="enter")Ie.push(it);else{const Pt=Ie.pop();P(typeof Pt=="number","expected list ot be open"),it=u(W,Pt,it)}for(it=-1;++it<W.length;){const Pt=a[W[it][0]];gR.call(Pt,W[it][1].type)&&Pt[W[it][1].type].call(Object.assign({sliceSerialize:W[it][2].sliceSerialize},Te),W[it][1])}if(Te.tokenStack.length>0){const Pt=Te.tokenStack[Te.tokenStack.length-1];(Pt[1]||dN).call(Te,void 0,Pt[0])}for(ee.position={start:ro(W.length>0?W[0][1].start:{line:1,column:1,offset:0}),end:ro(W.length>0?W[W.length-2][1].end:{line:1,column:1,offset:0})},it=-1;++it<a.transforms.length;)ee=a.transforms[it](ee)||ee;return ee}function u(W,ee,Te){let Ie=ee-1,it=-1,Pt=!1,wn,an,Wn,yr;for(;++Ie<=Te;){const qt=W[Ie];switch(qt[1].type){case A.listUnordered:case A.listOrdered:case A.blockQuote:{qt[0]==="enter"?it++:it--,yr=void 0;break}case A.lineEndingBlank:{qt[0]==="enter"&&(wn&&!yr&&!it&&!Wn&&(Wn=Ie),yr=void 0);break}case A.linePrefix:case A.listItemValue:case A.listItemMarker:case A.listItemPrefix:case A.listItemPrefixWhitespace:break;default:yr=void 0}if(!it&&qt[0]==="enter"&&qt[1].type===A.listItemPrefix||it===-1&&qt[0]==="exit"&&(qt[1].type===A.listUnordered||qt[1].type===A.listOrdered)){if(wn){let Nn=Ie;for(an=void 0;Nn--;){const T=W[Nn];if(T[1].type===A.lineEnding||T[1].type===A.lineEndingBlank){if(T[0]==="exit")continue;an&&(W[an][1].type=A.lineEndingBlank,Pt=!0),T[1].type=A.lineEnding,an=Nn}else if(!(T[1].type===A.linePrefix||T[1].type===A.blockQuotePrefix||T[1].type===A.blockQuotePrefixWhitespace||T[1].type===A.blockQuoteMarker||T[1].type===A.listItemIndent))break}Wn&&(!an||Wn<an)&&(wn._spread=!0),wn.end=Object.assign({},an?W[an][1].start:qt[1].end),W.splice(an||Ie,0,["exit",wn,qt[2]]),Ie++,Te++}if(qt[1].type===A.listItemPrefix){const Nn={type:"listItem",_spread:!1,start:Object.assign({},qt[1].start),end:void 0};wn=Nn,W.splice(Ie,0,["enter",Nn,qt[2]]),Ie++,Te++,Wn=void 0,yr=!0}}}return W[ee][1]._spread=Pt,Te}function f(W,ee){return Te;function Te(Ie){h.call(this,W(Ie),Ie),ee&&ee.call(this,Ie)}}function d(){this.stack.push({type:"fragment",children:[]})}function h(W,ee,Te){const Ie=this.stack[this.stack.length-1];P(Ie,"expected `parent`"),P("children"in Ie,"expected `parent`"),Ie.children.push(W),this.stack.push(W),this.tokenStack.push([ee,Te||void 0]),W.position={start:ro(ee.start),end:void 0}}function b(W){return ee;function ee(Te){W&&W.call(this,Te),g.call(this,Te)}}function g(W,ee){const Te=this.stack.pop();P(Te,"expected `node`");const Ie=this.tokenStack.pop();if(Ie)Ie[0].type!==W.type&&(ee?ee.call(this,W,Ie[0]):(Ie[1]||dN).call(this,W,Ie[0]));else throw new Error("Cannot close `"+W.type+"` ("+Sc({start:W.start,end:W.end})+"): it’s not open");P(Te.type!=="fragment","unexpected fragment `exit`ed"),P(Te.position,"expected `position` to be defined"),Te.position.end=ro(W.end)}function p(){return EB(this.stack.pop())}function v(){this.data.expectingFirstListItemValue=!0}function x(W){if(this.data.expectingFirstListItemValue){const ee=this.stack[this.stack.length-2];P(ee,"expected nodes on stack"),P(ee.type==="list","expected list on stack"),ee.start=Number.parseInt(this.sliceSerialize(W),Ae.numericBaseDecimal),this.data.expectingFirstListItemValue=void 0}}function S(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="code","expected code on stack"),ee.lang=W}function N(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="code","expected code on stack"),ee.meta=W}function V(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function R(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="code","expected code on stack"),ee.value=W.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function z(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="code","expected code on stack"),ee.value=W.replace(/(\r?\n|\r)$/g,"")}function X(W){const ee=this.resume(),Te=this.stack[this.stack.length-1];P(Te,"expected node on stack"),P(Te.type==="definition","expected definition on stack"),Te.label=ee,Te.identifier=El(this.sliceSerialize(W)).toLowerCase()}function I(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="definition","expected definition on stack"),ee.title=W}function ie(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="definition","expected definition on stack"),ee.url=W}function re(W){const ee=this.stack[this.stack.length-1];if(P(ee,"expected node on stack"),P(ee.type==="heading","expected heading on stack"),!ee.depth){const Te=this.sliceSerialize(W).length;P(Te===1||Te===2||Te===3||Te===4||Te===5||Te===6,"expected `depth` between `1` and `6`"),ee.depth=Te}}function G(){this.data.setextHeadingSlurpLineEnding=!0}function ge(W){const ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="heading","expected heading on stack"),ee.depth=this.sliceSerialize(W).codePointAt(0)===w.equalsTo?1:2}function se(){this.data.setextHeadingSlurpLineEnding=void 0}function ce(W){const ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P("children"in ee,"expected parent on stack");const Te=ee.children;let Ie=Te[Te.length-1];(!Ie||Ie.type!=="text")&&(Ie=na(),Ie.position={start:ro(W.start),end:void 0},Te.push(Ie)),this.stack.push(Ie)}function F(W){const ee=this.stack.pop();P(ee,"expected a `node` to be on the stack"),P("value"in ee,"expected a `literal` to be on the stack"),P(ee.position,"expected `node` to have an open position"),ee.value+=this.sliceSerialize(W),ee.position.end=ro(W.end)}function he(W){const ee=this.stack[this.stack.length-1];if(P(ee,"expected `node`"),this.data.atHardBreak){P("children"in ee,"expected `parent`");const Te=ee.children[ee.children.length-1];P(Te.position,"expected tail to have a starting position"),Te.position.end=ro(W.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&a.canContainEols.includes(ee.type)&&(ce.call(this,W),F.call(this,W))}function oe(){this.data.atHardBreak=!0}function Q(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="html","expected html on stack"),ee.value=W}function ne(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="html","expected html on stack"),ee.value=W}function ae(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="inlineCode","expected inline code on stack"),ee.value=W}function Y(){const W=this.stack[this.stack.length-1];if(P(W,"expected node on stack"),P(W.type==="link","expected link on stack"),this.data.inReference){const ee=this.data.referenceType||"shortcut";W.type+="Reference",W.referenceType=ee,delete W.url,delete W.title}else delete W.identifier,delete W.label;this.data.referenceType=void 0}function le(){const W=this.stack[this.stack.length-1];if(P(W,"expected node on stack"),P(W.type==="image","expected image on stack"),this.data.inReference){const ee=this.data.referenceType||"shortcut";W.type+="Reference",W.referenceType=ee,delete W.url,delete W.title}else delete W.identifier,delete W.label;this.data.referenceType=void 0}function ye(W){const ee=this.sliceSerialize(W),Te=this.stack[this.stack.length-2];P(Te,"expected ancestor on stack"),P(Te.type==="image"||Te.type==="link","expected image or link on stack"),Te.label=w9(ee),Te.identifier=El(ee).toLowerCase()}function Me(){const W=this.stack[this.stack.length-1];P(W,"expected node on stack"),P(W.type==="fragment","expected fragment on stack");const ee=this.resume(),Te=this.stack[this.stack.length-1];if(P(Te,"expected node on stack"),P(Te.type==="image"||Te.type==="link","expected image or link on stack"),this.data.inReference=!0,Te.type==="link"){const Ie=W.children;Te.children=Ie}else Te.alt=ee}function O(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="image"||ee.type==="link","expected image or link on stack"),ee.url=W}function U(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="image"||ee.type==="link","expected image or link on stack"),ee.title=W}function ue(){this.data.inReference=void 0}function C(){this.data.referenceType="collapsed"}function xe(W){const ee=this.resume(),Te=this.stack[this.stack.length-1];P(Te,"expected node on stack"),P(Te.type==="image"||Te.type==="link","expected image reference or link reference on stack"),Te.label=ee,Te.identifier=El(this.sliceSerialize(W)).toLowerCase(),this.data.referenceType="full"}function at(W){P(W.type==="characterReferenceMarkerNumeric"||W.type==="characterReferenceMarkerHexadecimal"),this.data.characterReferenceType=W.type}function yn(W){const ee=this.sliceSerialize(W),Te=this.data.characterReferenceType;let Ie;if(Te)Ie=iR(ee,Te===A.characterReferenceMarkerNumeric?Ae.numericBaseDecimal:Ae.numericBaseHexadecimal),this.data.characterReferenceType=void 0;else{const Pt=n0(ee);P(Pt!==!1,"expected reference to decode"),Ie=Pt}const it=this.stack[this.stack.length-1];P(it,"expected `node`"),P("value"in it,"expected `node.value`"),it.value+=Ie}function je(W){const ee=this.stack.pop();P(ee,"expected `node`"),P(ee.position,"expected `node.position`"),ee.position.end=ro(W.end)}function Ke(W){F.call(this,W);const ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="link","expected link on stack"),ee.url=this.sliceSerialize(W)}function Ut(W){F.call(this,W);const ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="link","expected link on stack"),ee.url="mailto:"+this.sliceSerialize(W)}function Lt(){return{type:"blockquote",children:[]}}function De(){return{type:"code",lang:null,meta:null,value:""}}function Kn(){return{type:"inlineCode",value:""}}function Hr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ba(){return{type:"emphasis",children:[]}}function Pr(){return{type:"heading",depth:0,children:[]}}function lt(){return{type:"break"}}function Wt(){return{type:"html",value:""}}function gi(){return{type:"image",title:null,url:"",alt:null}}function ls(){return{type:"link",title:null,url:"",children:[]}}function we(W){return{type:"list",ordered:W.type==="listOrdered",start:null,spread:W._spread,children:[]}}function yi(W){return{type:"listItem",spread:W._spread,checked:null,children:[]}}function gr(){return{type:"paragraph",children:[]}}function Ha(){return{type:"strong",children:[]}}function na(){return{type:"text",value:""}}function us(){return{type:"thematicBreak"}}}function ro(n){return{line:n.line,column:n.column,offset:n.offset}}function yR(n,a){let i=-1;for(;++i<a.length;){const s=a[i];Array.isArray(s)?yR(n,s):R9(n,s)}}function R9(n,a){let i;for(i in a)if(gR.call(a,i))switch(i){case"canContainEols":{const s=a[i];s&&n[i].push(...s);break}case"transforms":{const s=a[i];s&&n[i].push(...s);break}case"enter":case"exit":{const s=a[i];s&&Object.assign(n[i],s);break}}}function dN(n,a){throw n?new Error("Cannot close `"+n.type+"` ("+Sc({start:n.start,end:n.end})+"): a different token (`"+a.type+"`, "+Sc({start:a.start,end:a.end})+") is open"):new Error("Cannot close document, a token (`"+a.type+"`, "+Sc({start:a.start,end:a.end})+") is still open")}function O9(n){const a=this;a.parser=i;function i(s){return k9(s,{...a.data("settings"),...n,extensions:a.data("micromarkExtensions")||[],mdastExtensions:a.data("fromMarkdownExtensions")||[]})}}function M9(n,a){const i={type:"element",tagName:"blockquote",properties:{},children:n.wrap(n.all(a),!0)};return n.patch(a,i),n.applyData(a,i)}function _9(n,a){const i={type:"element",tagName:"br",properties:{},children:[]};return n.patch(a,i),[n.applyData(a,i),{type:"text",value:`
|
|
256
|
+
`}]}function z9(n,a){const i=a.value?a.value+`
|
|
257
|
+
`:"",s={},u=a.lang?a.lang.split(/\s+/):[];u.length>0&&(s.className=["language-"+u[0]]);let f={type:"element",tagName:"code",properties:s,children:[{type:"text",value:i}]};return a.meta&&(f.data={meta:a.meta}),n.patch(a,f),f=n.applyData(a,f),f={type:"element",tagName:"pre",properties:{},children:[f]},n.patch(a,f),f}function U9(n,a){const i={type:"element",tagName:"del",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function j9(n,a){const i={type:"element",tagName:"em",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function V9(n,a){const i=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",s=String(a.identifier).toUpperCase(),u=Ml(s.toLowerCase()),f=n.footnoteOrder.indexOf(s);let d,h=n.footnoteCounts.get(s);h===void 0?(h=0,n.footnoteOrder.push(s),d=n.footnoteOrder.length):d=f+1,h+=1,n.footnoteCounts.set(s,h);const b={type:"element",tagName:"a",properties:{href:"#"+i+"fn-"+u,id:i+"fnref-"+u+(h>1?"-"+h:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(d)}]};n.patch(a,b);const g={type:"element",tagName:"sup",properties:{},children:[b]};return n.patch(a,g),n.applyData(a,g)}function L9(n,a){const i={type:"element",tagName:"h"+a.depth,properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function B9(n,a){if(n.options.allowDangerousHtml){const i={type:"raw",value:a.value};return n.patch(a,i),n.applyData(a,i)}}function bR(n,a){const i=a.referenceType;let s="]";if(i==="collapsed"?s+="[]":i==="full"&&(s+="["+(a.label||a.identifier)+"]"),a.type==="imageReference")return[{type:"text",value:"!["+a.alt+s}];const u=n.all(a),f=u[0];f&&f.type==="text"?f.value="["+f.value:u.unshift({type:"text",value:"["});const d=u[u.length-1];return d&&d.type==="text"?d.value+=s:u.push({type:"text",value:s}),u}function H9(n,a){const i=String(a.identifier).toUpperCase(),s=n.definitionById.get(i);if(!s)return bR(n,a);const u={src:Ml(s.url||""),alt:a.alt};s.title!==null&&s.title!==void 0&&(u.title=s.title);const f={type:"element",tagName:"img",properties:u,children:[]};return n.patch(a,f),n.applyData(a,f)}function P9(n,a){const i={src:Ml(a.url)};a.alt!==null&&a.alt!==void 0&&(i.alt=a.alt),a.title!==null&&a.title!==void 0&&(i.title=a.title);const s={type:"element",tagName:"img",properties:i,children:[]};return n.patch(a,s),n.applyData(a,s)}function q9(n,a){const i={type:"text",value:a.value.replace(/\r?\n|\r/g," ")};n.patch(a,i);const s={type:"element",tagName:"code",properties:{},children:[i]};return n.patch(a,s),n.applyData(a,s)}function I9(n,a){const i=String(a.identifier).toUpperCase(),s=n.definitionById.get(i);if(!s)return bR(n,a);const u={href:Ml(s.url||"")};s.title!==null&&s.title!==void 0&&(u.title=s.title);const f={type:"element",tagName:"a",properties:u,children:n.all(a)};return n.patch(a,f),n.applyData(a,f)}function F9(n,a){const i={href:Ml(a.url)};a.title!==null&&a.title!==void 0&&(i.title=a.title);const s={type:"element",tagName:"a",properties:i,children:n.all(a)};return n.patch(a,s),n.applyData(a,s)}function Y9(n,a,i){const s=n.all(a),u=i?G9(i):vR(a),f={},d=[];if(typeof a.checked=="boolean"){const p=s[0];let v;p&&p.type==="element"&&p.tagName==="p"?v=p:(v={type:"element",tagName:"p",properties:{},children:[]},s.unshift(v)),v.children.length>0&&v.children.unshift({type:"text",value:" "}),v.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:a.checked,disabled:!0},children:[]}),f.className=["task-list-item"]}let h=-1;for(;++h<s.length;){const p=s[h];(u||h!==0||p.type!=="element"||p.tagName!=="p")&&d.push({type:"text",value:`
|
|
258
|
+
`}),p.type==="element"&&p.tagName==="p"&&!u?d.push(...p.children):d.push(p)}const b=s[s.length-1];b&&(u||b.type!=="element"||b.tagName!=="p")&&d.push({type:"text",value:`
|
|
259
|
+
`});const g={type:"element",tagName:"li",properties:f,children:d};return n.patch(a,g),n.applyData(a,g)}function G9(n){let a=!1;if(n.type==="list"){a=n.spread||!1;const i=n.children;let s=-1;for(;!a&&++s<i.length;)a=vR(i[s])}return a}function vR(n){const a=n.spread;return a??n.children.length>1}function $9(n,a){const i={},s=n.all(a);let u=-1;for(typeof a.start=="number"&&a.start!==1&&(i.start=a.start);++u<s.length;){const d=s[u];if(d.type==="element"&&d.tagName==="li"&&d.properties&&Array.isArray(d.properties.className)&&d.properties.className.includes("task-list-item")){i.className=["contains-task-list"];break}}const f={type:"element",tagName:a.ordered?"ol":"ul",properties:i,children:n.wrap(s,!0)};return n.patch(a,f),n.applyData(a,f)}function X9(n,a){const i={type:"element",tagName:"p",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function Q9(n,a){const i={type:"root",children:n.wrap(n.all(a))};return n.patch(a,i),n.applyData(a,i)}function Z9(n,a){const i={type:"element",tagName:"strong",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function J9(n,a){const i=n.all(a),s=i.shift(),u=[];if(s){const d={type:"element",tagName:"thead",properties:{},children:n.wrap([s],!0)};n.patch(a.children[0],d),u.push(d)}if(i.length>0){const d={type:"element",tagName:"tbody",properties:{},children:n.wrap(i,!0)},h=Kv(a.children[1]),b=KC(a.children[a.children.length-1]);h&&b&&(d.position={start:h,end:b}),u.push(d)}const f={type:"element",tagName:"table",properties:{},children:n.wrap(u,!0)};return n.patch(a,f),n.applyData(a,f)}function K9(n,a,i){const s=i?i.children:void 0,f=(s?s.indexOf(a):1)===0?"th":"td",d=i&&i.type==="table"?i.align:void 0,h=d?d.length:a.children.length;let b=-1;const g=[];for(;++b<h;){const v=a.children[b],x={},S=d?d[b]:void 0;S&&(x.align=S);let N={type:"element",tagName:f,properties:x,children:[]};v&&(N.children=n.all(v),n.patch(v,N),N=n.applyData(v,N)),g.push(N)}const p={type:"element",tagName:"tr",properties:{},children:n.wrap(g,!0)};return n.patch(a,p),n.applyData(a,p)}function W9(n,a){const i={type:"element",tagName:"td",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}const hN=9,mN=32;function eH(n){const a=String(n),i=/\r?\n|\r/g;let s=i.exec(a),u=0;const f=[];for(;s;)f.push(pN(a.slice(u,s.index),u>0,!0),s[0]),u=s.index+s[0].length,s=i.exec(a);return f.push(pN(a.slice(u),u>0,!1)),f.join("")}function pN(n,a,i){let s=0,u=n.length;if(a){let f=n.codePointAt(s);for(;f===hN||f===mN;)s++,f=n.codePointAt(s)}if(i){let f=n.codePointAt(u-1);for(;f===hN||f===mN;)u--,f=n.codePointAt(u-1)}return u>s?n.slice(s,u):""}function tH(n,a){const i={type:"text",value:eH(String(a.value))};return n.patch(a,i),n.applyData(a,i)}function nH(n,a){const i={type:"element",tagName:"hr",properties:{},children:[]};return n.patch(a,i),n.applyData(a,i)}const rH={blockquote:M9,break:_9,code:z9,delete:U9,emphasis:j9,footnoteReference:V9,heading:L9,html:B9,imageReference:H9,image:P9,inlineCode:q9,linkReference:I9,link:F9,listItem:Y9,list:$9,paragraph:X9,root:Q9,strong:Z9,table:J9,tableCell:W9,tableRow:K9,text:tH,thematicBreak:nH,toml:fh,yaml:fh,definition:fh,footnoteDefinition:fh};function fh(){}const xR=-1,Zh=0,Ec=1,Vh=2,i0=3,o0=4,s0=5,l0=6,SR=7,DR=8,gN=typeof self=="object"?self:globalThis,aH=(n,a)=>{const i=(u,f)=>(n.set(f,u),u),s=u=>{if(n.has(u))return n.get(u);const[f,d]=a[u];switch(f){case Zh:case xR:return i(d,u);case Ec:{const h=i([],u);for(const b of d)h.push(s(b));return h}case Vh:{const h=i({},u);for(const[b,g]of d)h[s(b)]=s(g);return h}case i0:return i(new Date(d),u);case o0:{const{source:h,flags:b}=d;return i(new RegExp(h,b),u)}case s0:{const h=i(new Map,u);for(const[b,g]of d)h.set(s(b),s(g));return h}case l0:{const h=i(new Set,u);for(const b of d)h.add(s(b));return h}case SR:{const{name:h,message:b}=d;return i(new gN[h](b),u)}case DR:return i(BigInt(d),u);case"BigInt":return i(Object(BigInt(d)),u);case"ArrayBuffer":return i(new Uint8Array(d).buffer,d);case"DataView":{const{buffer:h}=new Uint8Array(d);return i(new DataView(h),d)}}return i(new gN[f](d),u)};return s},yN=n=>aH(new Map,n)(0),hl="",{toString:iH}={},{keys:oH}=Object,pc=n=>{const a=typeof n;if(a!=="object"||!n)return[Zh,a];const i=iH.call(n).slice(8,-1);switch(i){case"Array":return[Ec,hl];case"Object":return[Vh,hl];case"Date":return[i0,hl];case"RegExp":return[o0,hl];case"Map":return[s0,hl];case"Set":return[l0,hl];case"DataView":return[Ec,i]}return i.includes("Array")?[Ec,i]:i.includes("Error")?[SR,i]:[Vh,i]},dh=([n,a])=>n===Zh&&(a==="function"||a==="symbol"),sH=(n,a,i,s)=>{const u=(d,h)=>{const b=s.push(d)-1;return i.set(h,b),b},f=d=>{if(i.has(d))return i.get(d);let[h,b]=pc(d);switch(h){case Zh:{let p=d;switch(b){case"bigint":h=DR,p=d.toString();break;case"function":case"symbol":if(n)throw new TypeError("unable to serialize "+b);p=null;break;case"undefined":return u([xR],d)}return u([h,p],d)}case Ec:{if(b){let x=d;return b==="DataView"?x=new Uint8Array(d.buffer):b==="ArrayBuffer"&&(x=new Uint8Array(d)),u([b,[...x]],d)}const p=[],v=u([h,p],d);for(const x of d)p.push(f(x));return v}case Vh:{if(b)switch(b){case"BigInt":return u([b,d.toString()],d);case"Boolean":case"Number":case"String":return u([b,d.valueOf()],d)}if(a&&"toJSON"in d)return f(d.toJSON());const p=[],v=u([h,p],d);for(const x of oH(d))(n||!dh(pc(d[x])))&&p.push([f(x),f(d[x])]);return v}case i0:return u([h,d.toISOString()],d);case o0:{const{source:p,flags:v}=d;return u([h,{source:p,flags:v}],d)}case s0:{const p=[],v=u([h,p],d);for(const[x,S]of d)(n||!(dh(pc(x))||dh(pc(S))))&&p.push([f(x),f(S)]);return v}case l0:{const p=[],v=u([h,p],d);for(const x of d)(n||!dh(pc(x)))&&p.push(f(x));return v}}const{message:g}=d;return u([h,{name:b,message:g}],d)};return f},bN=(n,{json:a,lossy:i}={})=>{const s=[];return sH(!(a||i),!!a,new Map,s)(n),s},Lh=typeof structuredClone=="function"?(n,a)=>a&&("json"in a||"lossy"in a)?yN(bN(n,a)):structuredClone(n):(n,a)=>yN(bN(n,a));function lH(n,a){const i=[{type:"text",value:"↩"}];return a>1&&i.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(a)}]}),i}function uH(n,a){return"Back to reference "+(n+1)+(a>1?"-"+a:"")}function cH(n){const a=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",i=n.options.footnoteBackContent||lH,s=n.options.footnoteBackLabel||uH,u=n.options.footnoteLabel||"Footnotes",f=n.options.footnoteLabelTagName||"h2",d=n.options.footnoteLabelProperties||{className:["sr-only"]},h=[];let b=-1;for(;++b<n.footnoteOrder.length;){const g=n.footnoteById.get(n.footnoteOrder[b]);if(!g)continue;const p=n.all(g),v=String(g.identifier).toUpperCase(),x=Ml(v.toLowerCase());let S=0;const N=[],V=n.footnoteCounts.get(v);for(;V!==void 0&&++S<=V;){N.length>0&&N.push({type:"text",value:" "});let X=typeof i=="string"?i:i(b,S);typeof X=="string"&&(X={type:"text",value:X}),N.push({type:"element",tagName:"a",properties:{href:"#"+a+"fnref-"+x+(S>1?"-"+S:""),dataFootnoteBackref:"",ariaLabel:typeof s=="string"?s:s(b,S),className:["data-footnote-backref"]},children:Array.isArray(X)?X:[X]})}const R=p[p.length-1];if(R&&R.type==="element"&&R.tagName==="p"){const X=R.children[R.children.length-1];X&&X.type==="text"?X.value+=" ":R.children.push({type:"text",value:" "}),R.children.push(...N)}else p.push(...N);const z={type:"element",tagName:"li",properties:{id:a+"fn-"+x},children:n.wrap(p,!0)};n.patch(g,z),h.push(z)}if(h.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:f,properties:{...Lh(d),id:"footnote-label"},children:[{type:"text",value:u}]},{type:"text",value:`
|
|
260
|
+
`},{type:"element",tagName:"ol",properties:{},children:n.wrap(h,!0)},{type:"text",value:`
|
|
261
|
+
`}]}}const ER=(function(n){if(n==null)return mH;if(typeof n=="function")return Jh(n);if(typeof n=="object")return Array.isArray(n)?fH(n):dH(n);if(typeof n=="string")return hH(n);throw new Error("Expected function, string, or object as test")});function fH(n){const a=[];let i=-1;for(;++i<n.length;)a[i]=ER(n[i]);return Jh(s);function s(...u){let f=-1;for(;++f<a.length;)if(a[f].apply(this,u))return!0;return!1}}function dH(n){const a=n;return Jh(i);function i(s){const u=s;let f;for(f in n)if(u[f]!==a[f])return!1;return!0}}function hH(n){return Jh(a);function a(i){return i&&i.type===n}}function Jh(n){return a;function a(i,s,u){return!!(pH(i)&&n.call(this,i,typeof s=="number"?s:void 0,u||void 0))}}function mH(){return!0}function pH(n){return n!==null&&typeof n=="object"&&"type"in n}const TR=[],gH=!0,vN=!1,yH="skip";function bH(n,a,i,s){let u;typeof a=="function"&&typeof i!="function"?(s=i,i=a):u=a;const f=ER(u),d=s?-1:1;h(n,void 0,[])();function h(b,g,p){const v=b&&typeof b=="object"?b:{};if(typeof v.type=="string"){const S=typeof v.tagName=="string"?v.tagName:typeof v.name=="string"?v.name:void 0;Object.defineProperty(x,"name",{value:"node ("+(b.type+(S?"<"+S+">":""))+")"})}return x;function x(){let S=TR,N,V,R;if((!a||f(b,g,p[p.length-1]||void 0))&&(S=vH(i(b,p)),S[0]===vN))return S;if("children"in b&&b.children){const z=b;if(z.children&&S[0]!==yH)for(V=(s?z.children.length:-1)+d,R=p.concat(z);V>-1&&V<z.children.length;){const X=z.children[V];if(N=h(X,V,R)(),N[0]===vN)return N;V=typeof N[1]=="number"?N[1]:V+d}}return S}}}function vH(n){return Array.isArray(n)?n:typeof n=="number"?[gH,n]:n==null?TR:[n]}function AR(n,a,i,s){let u,f,d;typeof a=="function"&&typeof i!="function"?(f=void 0,d=a,u=i):(f=a,d=i,u=s),bH(n,f,h,u);function h(b,g){const p=g[g.length-1],v=p?p.children.indexOf(b):void 0;return d(b,v,p)}}const ov={}.hasOwnProperty,xH={};function SH(n,a){const i=a||xH,s=new Map,u=new Map,f=new Map,d={...rH,...i.handlers},h={all:g,applyData:EH,definitionById:s,footnoteById:u,footnoteCounts:f,footnoteOrder:[],handlers:d,one:b,options:i,patch:DH,wrap:AH};return AR(n,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const v=p.type==="definition"?s:u,x=String(p.identifier).toUpperCase();v.has(x)||v.set(x,p)}}),h;function b(p,v){const x=p.type,S=h.handlers[x];if(ov.call(h.handlers,x)&&S)return S(h,p,v);if(h.options.passThrough&&h.options.passThrough.includes(x)){if("children"in p){const{children:V,...R}=p,z=Lh(R);return z.children=h.all(p),z}return Lh(p)}return(h.options.unknownHandler||TH)(h,p,v)}function g(p){const v=[];if("children"in p){const x=p.children;let S=-1;for(;++S<x.length;){const N=h.one(x[S],p);if(N){if(S&&x[S-1].type==="break"&&(!Array.isArray(N)&&N.type==="text"&&(N.value=xN(N.value)),!Array.isArray(N)&&N.type==="element")){const V=N.children[0];V&&V.type==="text"&&(V.value=xN(V.value))}Array.isArray(N)?v.push(...N):v.push(N)}}}return v}}function DH(n,a){n.position&&(a.position=tB(n))}function EH(n,a){let i=a;if(n&&n.data){const s=n.data.hName,u=n.data.hChildren,f=n.data.hProperties;if(typeof s=="string")if(i.type==="element")i.tagName=s;else{const d="children"in i?i.children:[i];i={type:"element",tagName:s,properties:{},children:d}}i.type==="element"&&f&&Object.assign(i.properties,Lh(f)),"children"in i&&i.children&&u!==null&&u!==void 0&&(i.children=u)}return i}function TH(n,a){const i=a.data||{},s="value"in a&&!(ov.call(i,"hProperties")||ov.call(i,"hChildren"))?{type:"text",value:a.value}:{type:"element",tagName:"div",properties:{},children:n.all(a)};return n.patch(a,s),n.applyData(a,s)}function AH(n,a){const i=[];let s=-1;for(a&&i.push({type:"text",value:`
|
|
262
|
+
`});++s<n.length;)s&&i.push({type:"text",value:`
|
|
263
|
+
`}),i.push(n[s]);return a&&n.length>0&&i.push({type:"text",value:`
|
|
264
|
+
`}),i}function xN(n){let a=0,i=n.charCodeAt(a);for(;i===9||i===32;)a++,i=n.charCodeAt(a);return n.slice(a)}function SN(n,a){const i=SH(n,a),s=i.one(n,void 0),u=cH(i),f=Array.isArray(s)?{type:"root",children:s}:s||{type:"root",children:[]};return u&&(P("children"in f),f.children.push({type:"text",value:`
|
|
265
|
+
`},u)),f}function wH(n,a){return n&&"run"in n?async function(i,s){const u=SN(i,{file:s,...a});await n.run(u,s)}:function(i,s){return SN(i,{file:s,...n||a})}}function DN(n){if(n)throw n}var hb,EN;function NH(){if(EN)return hb;EN=1;var n=Object.prototype.hasOwnProperty,a=Object.prototype.toString,i=Object.defineProperty,s=Object.getOwnPropertyDescriptor,u=function(g){return typeof Array.isArray=="function"?Array.isArray(g):a.call(g)==="[object Array]"},f=function(g){if(!g||a.call(g)!=="[object Object]")return!1;var p=n.call(g,"constructor"),v=g.constructor&&g.constructor.prototype&&n.call(g.constructor.prototype,"isPrototypeOf");if(g.constructor&&!p&&!v)return!1;var x;for(x in g);return typeof x>"u"||n.call(g,x)},d=function(g,p){i&&p.name==="__proto__"?i(g,p.name,{enumerable:!0,configurable:!0,value:p.newValue,writable:!0}):g[p.name]=p.newValue},h=function(g,p){if(p==="__proto__")if(n.call(g,p)){if(s)return s(g,p).value}else return;return g[p]};return hb=function b(){var g,p,v,x,S,N,V=arguments[0],R=1,z=arguments.length,X=!1;for(typeof V=="boolean"&&(X=V,V=arguments[1]||{},R=2),(V==null||typeof V!="object"&&typeof V!="function")&&(V={});R<z;++R)if(g=arguments[R],g!=null)for(p in g)v=h(V,p),x=h(g,p),V!==x&&(X&&x&&(f(x)||(S=u(x)))?(S?(S=!1,N=v&&u(v)?v:[]):N=v&&f(v)?v:{},d(V,{name:p,newValue:b(X,N,x)})):typeof x<"u"&&d(V,{name:p,newValue:x}));return V},hb}var kH=NH();const mb=Rc(kH);function sv(n){if(typeof n!="object"||n===null)return!1;const a=Object.getPrototypeOf(n);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function CH(){const n=[],a={run:i,use:s};return a;function i(...u){let f=-1;const d=u.pop();if(typeof d!="function")throw new TypeError("Expected function as last argument, not "+d);h(null,...u);function h(b,...g){const p=n[++f];let v=-1;if(b){d(b);return}for(;++v<u.length;)(g[v]===null||g[v]===void 0)&&(g[v]=u[v]);u=g,p?RH(p,h)(...g):d(null,...g)}}function s(u){if(typeof u!="function")throw new TypeError("Expected `middelware` to be a function, not "+u);return n.push(u),a}}function RH(n,a){let i;return s;function s(...d){const h=n.length>d.length;let b;h&&d.push(u);try{b=n.apply(this,d)}catch(g){const p=g;if(h&&i)throw p;return u(p)}h||(b&&b.then&&typeof b.then=="function"?b.then(f,u):b instanceof Error?u(b):f(b))}function u(d,...h){i||(i=!0,a(d,...h))}function f(d){u(null,d)}}const _a={basename:OH,dirname:MH,extname:_H,join:zH,sep:"/"};function OH(n,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');qc(n);let i=0,s=-1,u=n.length,f;if(a===void 0||a.length===0||a.length>n.length){for(;u--;)if(n.codePointAt(u)===47){if(f){i=u+1;break}}else s<0&&(f=!0,s=u+1);return s<0?"":n.slice(i,s)}if(a===n)return"";let d=-1,h=a.length-1;for(;u--;)if(n.codePointAt(u)===47){if(f){i=u+1;break}}else d<0&&(f=!0,d=u+1),h>-1&&(n.codePointAt(u)===a.codePointAt(h--)?h<0&&(s=u):(h=-1,s=d));return i===s?s=d:s<0&&(s=n.length),n.slice(i,s)}function MH(n){if(qc(n),n.length===0)return".";let a=-1,i=n.length,s;for(;--i;)if(n.codePointAt(i)===47){if(s){a=i;break}}else s||(s=!0);return a<0?n.codePointAt(0)===47?"/":".":a===1&&n.codePointAt(0)===47?"//":n.slice(0,a)}function _H(n){qc(n);let a=n.length,i=-1,s=0,u=-1,f=0,d;for(;a--;){const h=n.codePointAt(a);if(h===47){if(d){s=a+1;break}continue}i<0&&(d=!0,i=a+1),h===46?u<0?u=a:f!==1&&(f=1):u>-1&&(f=-1)}return u<0||i<0||f===0||f===1&&u===i-1&&u===s+1?"":n.slice(u,i)}function zH(...n){let a=-1,i;for(;++a<n.length;)qc(n[a]),n[a]&&(i=i===void 0?n[a]:i+"/"+n[a]);return i===void 0?".":UH(i)}function UH(n){qc(n);const a=n.codePointAt(0)===47;let i=jH(n,!a);return i.length===0&&!a&&(i="."),i.length>0&&n.codePointAt(n.length-1)===47&&(i+="/"),a?"/"+i:i}function jH(n,a){let i="",s=0,u=-1,f=0,d=-1,h,b;for(;++d<=n.length;){if(d<n.length)h=n.codePointAt(d);else{if(h===47)break;h=47}if(h===47){if(!(u===d-1||f===1))if(u!==d-1&&f===2){if(i.length<2||s!==2||i.codePointAt(i.length-1)!==46||i.codePointAt(i.length-2)!==46){if(i.length>2){if(b=i.lastIndexOf("/"),b!==i.length-1){b<0?(i="",s=0):(i=i.slice(0,b),s=i.length-1-i.lastIndexOf("/")),u=d,f=0;continue}}else if(i.length>0){i="",s=0,u=d,f=0;continue}}a&&(i=i.length>0?i+"/..":"..",s=2)}else i.length>0?i+="/"+n.slice(u+1,d):i=n.slice(u+1,d),s=d-u-1;u=d,f=0}else h===46&&f>-1?f++:f=-1}return i}function qc(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const VH={cwd:LH};function LH(){return"/"}function lv(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function BH(n){if(typeof n=="string")n=new URL(n);else if(!lv(n)){const a=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw a.code="ERR_INVALID_ARG_TYPE",a}if(n.protocol!=="file:"){const a=new TypeError("The URL must be of scheme file");throw a.code="ERR_INVALID_URL_SCHEME",a}return HH(n)}function HH(n){if(n.hostname!==""){const s=new TypeError('File URL host must be "localhost" or empty on darwin');throw s.code="ERR_INVALID_FILE_URL_HOST",s}const a=n.pathname;let i=-1;for(;++i<a.length;)if(a.codePointAt(i)===37&&a.codePointAt(i+1)===50){const s=a.codePointAt(i+2);if(s===70||s===102){const u=new TypeError("File URL path must not include encoded / characters");throw u.code="ERR_INVALID_FILE_URL_PATH",u}}return decodeURIComponent(a)}const pb=["history","path","basename","stem","extname","dirname"];class wR{constructor(a){let i;a?lv(a)?i={path:a}:typeof a=="string"||PH(a)?i={value:a}:i=a:i={},this.cwd="cwd"in i?"":VH.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let s=-1;for(;++s<pb.length;){const f=pb[s];f in i&&i[f]!==void 0&&i[f]!==null&&(this[f]=f==="history"?[...i[f]]:i[f])}let u;for(u in i)pb.includes(u)||(this[u]=i[u])}get basename(){return typeof this.path=="string"?_a.basename(this.path):void 0}set basename(a){yb(a,"basename"),gb(a,"basename"),this.path=_a.join(this.dirname||"",a)}get dirname(){return typeof this.path=="string"?_a.dirname(this.path):void 0}set dirname(a){TN(this.basename,"dirname"),this.path=_a.join(a||"",this.basename)}get extname(){return typeof this.path=="string"?_a.extname(this.path):void 0}set extname(a){if(gb(a,"extname"),TN(this.dirname,"extname"),a){if(a.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(a.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=_a.join(this.dirname,this.stem+(a||""))}get path(){return this.history[this.history.length-1]}set path(a){lv(a)&&(a=BH(a)),yb(a,"path"),this.path!==a&&this.history.push(a)}get stem(){return typeof this.path=="string"?_a.basename(this.path,this.extname):void 0}set stem(a){yb(a,"stem"),gb(a,"stem"),this.path=_a.join(this.dirname||"",a+(this.extname||""))}fail(a,i,s){const u=this.message(a,i,s);throw u.fatal=!0,u}info(a,i,s){const u=this.message(a,i,s);return u.fatal=void 0,u}message(a,i,s){const u=new An(a,i,s);return this.path&&(u.name=this.path+":"+u.name,u.file=this.path),u.fatal=!1,this.messages.push(u),u}toString(a){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(a||void 0).decode(this.value)}}function gb(n,a){if(n&&n.includes(_a.sep))throw new Error("`"+a+"` cannot be a path: did not expect `"+_a.sep+"`")}function yb(n,a){if(!n)throw new Error("`"+a+"` cannot be empty")}function TN(n,a){if(!n)throw new Error("Setting `"+a+"` requires `path` to be set too")}function PH(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const qH=(function(n){const s=this.constructor.prototype,u=s[n],f=function(){return u.apply(f,arguments)};return Object.setPrototypeOf(f,s),f}),IH={}.hasOwnProperty;class u0 extends qH{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=CH()}copy(){const a=new u0;let i=-1;for(;++i<this.attachers.length;){const s=this.attachers[i];a.use(...s)}return a.data(mb(!0,{},this.namespace)),a}data(a,i){return typeof a=="string"?arguments.length===2?(xb("data",this.frozen),this.namespace[a]=i,this):IH.call(this.namespace,a)&&this.namespace[a]||void 0:a?(xb("data",this.frozen),this.namespace=a,this):this.namespace}freeze(){if(this.frozen)return this;const a=this;for(;++this.freezeIndex<this.attachers.length;){const[i,...s]=this.attachers[this.freezeIndex];if(s[0]===!1)continue;s[0]===!0&&(s[0]=void 0);const u=i.call(a,...s);typeof u=="function"&&this.transformers.use(u)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(a){this.freeze();const i=hh(a),s=this.parser||this.Parser;return bb("parse",s),s(String(i),i)}process(a,i){const s=this;return this.freeze(),bb("process",this.parser||this.Parser),vb("process",this.compiler||this.Compiler),i?u(void 0,i):new Promise(u);function u(f,d){const h=hh(a),b=s.parse(h);s.run(b,h,function(p,v,x){if(p||!v||!x)return g(p);const S=v,N=s.stringify(S,x);GH(N)?x.value=N:x.result=N,g(p,x)});function g(p,v){p||!v?d(p):f?f(v):(P(i,"`done` is defined if `resolve` is not"),i(void 0,v))}}}processSync(a){let i=!1,s;return this.freeze(),bb("processSync",this.parser||this.Parser),vb("processSync",this.compiler||this.Compiler),this.process(a,u),wN("processSync","process",i),P(s,"we either bailed on an error or have a tree"),s;function u(f,d){i=!0,DN(f),s=d}}run(a,i,s){AN(a),this.freeze();const u=this.transformers;return!s&&typeof i=="function"&&(s=i,i=void 0),s?f(void 0,s):new Promise(f);function f(d,h){P(typeof i!="function","`file` can’t be a `done` anymore, we checked");const b=hh(i);u.run(a,b,g);function g(p,v,x){const S=v||a;p?h(p):d?d(S):(P(s,"`done` is defined if `resolve` is not"),s(void 0,S,x))}}}runSync(a,i){let s=!1,u;return this.run(a,i,f),wN("runSync","run",s),P(u,"we either bailed on an error or have a tree"),u;function f(d,h){DN(d),u=h,s=!0}}stringify(a,i){this.freeze();const s=hh(i),u=this.compiler||this.Compiler;return vb("stringify",u),AN(a),u(a,s)}use(a,...i){const s=this.attachers,u=this.namespace;if(xb("use",this.frozen),a!=null)if(typeof a=="function")b(a,i);else if(typeof a=="object")Array.isArray(a)?h(a):d(a);else throw new TypeError("Expected usable value, not `"+a+"`");return this;function f(g){if(typeof g=="function")b(g,[]);else if(typeof g=="object")if(Array.isArray(g)){const[p,...v]=g;b(p,v)}else d(g);else throw new TypeError("Expected usable value, not `"+g+"`")}function d(g){if(!("plugins"in g)&&!("settings"in g))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");h(g.plugins),g.settings&&(u.settings=mb(!0,u.settings,g.settings))}function h(g){let p=-1;if(g!=null)if(Array.isArray(g))for(;++p<g.length;){const v=g[p];f(v)}else throw new TypeError("Expected a list of plugins, not `"+g+"`")}function b(g,p){let v=-1,x=-1;for(;++v<s.length;)if(s[v][0]===g){x=v;break}if(x===-1)s.push([g,...p]);else if(p.length>0){let[S,...N]=p;const V=s[x][1];sv(V)&&sv(S)&&(S=mb(!0,V,S)),s[x]=[g,S,...N]}}}}const FH=new u0().freeze();function bb(n,a){if(typeof a!="function")throw new TypeError("Cannot `"+n+"` without `parser`")}function vb(n,a){if(typeof a!="function")throw new TypeError("Cannot `"+n+"` without `compiler`")}function xb(n,a){if(a)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function AN(n){if(!sv(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function wN(n,a,i){if(!i)throw new Error("`"+n+"` finished async. Use `"+a+"` instead")}function hh(n){return YH(n)?n:new wR(n)}function YH(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function GH(n){return typeof n=="string"||$H(n)}function $H(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const XH="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",NN=[],kN={allowDangerousHtml:!0},QH=/^(https?|ircs?|mailto|xmpp)$/i,ZH=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function JH(n){const a=KH(n),i=WH(n);return e7(a.runSync(a.parse(i),i),n)}function KH(n){const a=n.rehypePlugins||NN,i=n.remarkPlugins||NN,s=n.remarkRehypeOptions?{...n.remarkRehypeOptions,...kN}:kN;return FH().use(O9).use(i).use(wH,s).use(a)}function WH(n){const a=n.children||"",i=new wR;return typeof a=="string"?i.value=a:Kb("Unexpected value `"+a+"` for `children` prop, expected `string`"),i}function e7(n,a){const i=a.allowedElements,s=a.allowElement,u=a.components,f=a.disallowedElements,d=a.skipHtml,h=a.unwrapDisallowed,b=a.urlTransform||t7;for(const p of ZH)Object.hasOwn(a,p.from)&&Kb("Unexpected `"+p.from+"` prop, "+(p.to?"use `"+p.to+"` instead":"remove it")+" (see <"+XH+"#"+p.id+"> for more info)");return i&&f&&Kb("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),AR(n,g),oB(n,{Fragment:Vr.Fragment,components:u,ignoreInvalidStyle:!0,jsx:Vr.jsx,jsxs:Vr.jsxs,passKeys:!0,passNode:!0});function g(p,v,x){if(p.type==="raw"&&x&&typeof v=="number")return d?x.children.splice(v,1):x.children[v]={type:"text",value:p.value},v;if(p.type==="element"){let S;for(S in lb)if(Object.hasOwn(lb,S)&&Object.hasOwn(p.properties,S)){const N=p.properties[S],V=lb[S];(V===null||V.includes(p.tagName))&&(p.properties[S]=b(String(N||""),S,p))}}if(p.type==="element"){let S=i?!i.includes(p.tagName):f?f.includes(p.tagName):!1;if(!S&&s&&typeof v=="number"&&(S=!s(p,v,x)),S&&x&&typeof v=="number")return h&&p.children?x.children.splice(v,1,...p.children):x.children.splice(v,1),v}}}function t7(n){const a=n.indexOf(":"),i=n.indexOf("?"),s=n.indexOf("#"),u=n.indexOf("/");return a===-1||u!==-1&&a>u||i!==-1&&a>i||s!==-1&&a>s||QH.test(n.slice(0,a))?n:""}const ao=[{id:"welcome",title:"Welcome to Zora",subtitle:"Your personal AI assistant that actually does things"},{id:"how-it-works",title:"How Zora Works",subtitle:"Three things to know before you start"},{id:"try-it",title:"Try Your First Task",subtitle:"Click one to get started, or type your own"}],n7=[{emoji:"📂",label:"Organize my Downloads",prompt:"List everything in ~/Downloads grouped by file type, and tell me which files are oldest"},{emoji:"📝",label:"Summarize a folder",prompt:"Give me a one-line summary of each item in ~/Projects (or ~/Documents if Projects doesn't exist)"},{emoji:"🔍",label:"Find large files",prompt:"Find the 10 largest files in my home directory and tell me their sizes"},{emoji:"🧠",label:"Teach Zora about me",prompt:"Remember that I prefer concise, direct answers and I'm a non-technical user"},{emoji:"📊",label:"Project status check",prompt:"Check ~/Projects for any git repos and tell me which have uncommitted changes"},{emoji:"🗑️",label:"Clean up suggestions",prompt:"Look at my ~/Downloads and ~/Desktop folders and suggest files I might want to clean up or archive"}],r7=({onComplete:n,onSubmitTask:a})=>{const[i,s]=me.useState(0),u=()=>{i<ao.length-1&&s(i+1)},f=h=>{a(h),n()},d=()=>{n()};return k.jsxDEV("div",{className:"fixed inset-0 z-40 bg-zora-obsidian/95 flex items-center justify-center p-8",children:k.jsxDEV(Tn.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:"max-w-2xl w-full",children:[k.jsxDEV("div",{className:"flex justify-center gap-2 mb-8",children:ao.map((h,b)=>k.jsxDEV("div",{className:`w-2 h-2 rounded-full transition-colors ${b===i?"bg-zora-teal":b<i?"bg-zora-teal/40":"bg-zora-ghost"}`},b,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:89,columnNumber:13},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:87,columnNumber:9},void 0),k.jsxDEV(so,{mode:"wait",children:[i===0&&k.jsxDEV(Tn.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},className:"text-center",children:[k.jsxDEV("div",{className:"w-16 h-16 rounded-2xl bg-zora-teal/20 border border-zora-teal/30 flex items-center justify-center mx-auto mb-6",children:k.jsxDEV(jN,{size:32,className:"text-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:109,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:108,columnNumber:15},void 0),k.jsxDEV("h1",{className:"text-3xl font-tactical font-bold text-zora-white mb-3",children:ao[0].title},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:111,columnNumber:15},void 0),k.jsxDEV("p",{className:"text-zora-blue/70 text-lg mb-2",children:ao[0].subtitle},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:114,columnNumber:15},void 0),k.jsxDEV("p",{className:"text-white/40 text-sm max-w-md mx-auto mb-10",children:"Tell Zora what you need in plain English — organize files, summarize documents, automate tasks — and it handles it while you do something else."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:117,columnNumber:15},void 0),k.jsxDEV("div",{className:"flex flex-col items-center gap-3",children:k.jsxDEV("div",{className:"flex items-center gap-2 text-sm text-zora-teal/70",children:[k.jsxDEV(Nh,{size:14},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:124,columnNumber:19},void 0),k.jsxDEV("span",{children:"No API keys. No surprise bills. Uses your existing subscription."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:125,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:123,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:122,columnNumber:15},void 0),k.jsxDEV("button",{onClick:u,className:"mt-8 bg-zora-teal text-zora-obsidian px-8 py-3 rounded-xl font-bold hover:bg-zora-cyan transition-colors flex items-center gap-2 mx-auto text-sm",children:["Get Started ",k.jsxDEV(aA,{size:16},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:133,columnNumber:29},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:129,columnNumber:15},void 0),k.jsxDEV("button",{onClick:d,className:"mt-3 text-white/30 text-xs hover:text-white/50 transition-colors",children:"Skip intro — I know what I'm doing"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:136,columnNumber:15},void 0)]},"welcome",!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:101,columnNumber:13},void 0),i===1&&k.jsxDEV(Tn.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},children:[k.jsxDEV("h2",{className:"text-2xl font-tactical font-bold text-zora-white mb-2 text-center",children:ao[1].title},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:153,columnNumber:15},void 0),k.jsxDEV("p",{className:"text-zora-blue/50 text-center mb-8",children:ao[1].subtitle},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:156,columnNumber:15},void 0),k.jsxDEV("div",{className:"space-y-4",children:[k.jsxDEV("div",{className:"flex gap-4 p-4 bg-black/40 rounded-xl border-l-4 border-zora-teal",children:[k.jsxDEV("div",{className:"w-10 h-10 rounded-lg bg-zora-teal/20 flex items-center justify-center flex-shrink-0",children:k.jsxDEV(oU,{size:20,className:"text-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:161,columnNumber:21},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:160,columnNumber:19},void 0),k.jsxDEV("div",{children:[k.jsxDEV("h3",{className:"text-zora-white font-bold text-sm mb-1",children:"It takes action, not just talks"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:164,columnNumber:21},void 0),k.jsxDEV("p",{className:"text-white/40 text-xs leading-relaxed",children:'Unlike chatbots, Zora actually reads your files, runs commands, and creates output. When you say "organize my downloads," it really moves the files.'},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:165,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:163,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:159,columnNumber:17},void 0),k.jsxDEV("div",{className:"flex gap-4 p-4 bg-black/40 rounded-xl border-l-4 border-zora-gold",children:[k.jsxDEV("div",{className:"w-10 h-10 rounded-lg bg-zora-gold/20 flex items-center justify-center flex-shrink-0",children:k.jsxDEV(Nh,{size:20,className:"text-zora-gold"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:174,columnNumber:21},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:173,columnNumber:19},void 0),k.jsxDEV("div",{children:[k.jsxDEV("h3",{className:"text-zora-white font-bold text-sm mb-1",children:"You set the boundaries"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:177,columnNumber:21},void 0),k.jsxDEV("p",{className:"text-white/40 text-xs leading-relaxed",children:"Zora only accesses folders you've allowed. Destructive commands are blocked. Every action is logged. You can review everything it did anytime."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:178,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:176,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:172,columnNumber:17},void 0),k.jsxDEV("div",{className:"flex gap-4 p-4 bg-black/40 rounded-xl border-l-4 border-zora-cyan",children:[k.jsxDEV("div",{className:"w-10 h-10 rounded-lg bg-zora-cyan/20 flex items-center justify-center flex-shrink-0",children:k.jsxDEV(zN,{size:20,className:"text-zora-cyan"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:187,columnNumber:21},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:186,columnNumber:19},void 0),k.jsxDEV("div",{children:[k.jsxDEV("h3",{className:"text-zora-white font-bold text-sm mb-1",children:"It remembers and learns"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:190,columnNumber:21},void 0),k.jsxDEV("p",{className:"text-white/40 text-xs leading-relaxed",children:'Tell Zora your preferences once and it remembers across sessions. "I prefer TypeScript" or "keep answers short" — it adapts to how you work.'},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:191,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:189,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:185,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:158,columnNumber:15},void 0),k.jsxDEV("div",{className:"flex justify-center mt-8",children:k.jsxDEV("button",{onClick:u,className:"bg-zora-teal text-zora-obsidian px-8 py-3 rounded-xl font-bold hover:bg-zora-cyan transition-colors flex items-center gap-2 text-sm",children:["Show Me What It Can Do ",k.jsxDEV(aA,{size:16},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:204,columnNumber:42},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:200,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:199,columnNumber:15},void 0)]},"how-it-works",!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:147,columnNumber:13},void 0),i===2&&k.jsxDEV(Tn.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},children:[k.jsxDEV("h2",{className:"text-2xl font-tactical font-bold text-zora-white mb-2 text-center",children:ao[2].title},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:218,columnNumber:15},void 0),k.jsxDEV("p",{className:"text-zora-blue/50 text-center mb-6",children:ao[2].subtitle},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:221,columnNumber:15},void 0),k.jsxDEV("div",{className:"grid grid-cols-2 gap-3",children:n7.map((h,b)=>k.jsxDEV("button",{onClick:()=>f(h.prompt),className:"text-left p-4 bg-black/40 rounded-xl border border-zora-ghost/30 hover:border-zora-teal/50 hover:bg-black/60 transition-all group",children:[k.jsxDEV("div",{className:"text-2xl mb-2",children:h.emoji},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:230,columnNumber:21},void 0),k.jsxDEV("div",{className:"text-zora-white text-sm font-bold mb-1 group-hover:text-zora-teal transition-colors",children:h.label},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:231,columnNumber:21},void 0),k.jsxDEV("div",{className:"text-white/30 text-xs line-clamp-2",children:h.prompt},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:234,columnNumber:21},void 0)]},b,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:225,columnNumber:19},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:223,columnNumber:15},void 0),k.jsxDEV("div",{className:"flex justify-center mt-6",children:k.jsxDEV("button",{onClick:d,className:"text-white/40 text-xs hover:text-white/60 transition-colors flex items-center gap-1",children:[k.jsxDEV(Rz,{size:12},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:246,columnNumber:19},void 0)," Skip to dashboard — I'll explore on my own"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:242,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:241,columnNumber:15},void 0)]},"try-it",!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:212,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:98,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:81,columnNumber:7},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:80,columnNumber:5},void 0)},a7=[{icon:UN,label:"Files",color:"text-zora-teal",bgColor:"bg-zora-teal/10",borderColor:"border-zora-teal/30",tasks:[{label:"Organize Downloads",prompt:"List everything in ~/Downloads grouped by file type and suggest how to organize them"},{label:"Find big files",prompt:"Find the 10 largest files in my home directory with their sizes"},{label:"Clean up Desktop",prompt:"List everything on ~/Desktop grouped by age — what can I archive?"}]},{icon:fv,label:"Summaries",color:"text-zora-gold",bgColor:"bg-zora-gold/10",borderColor:"border-zora-gold/30",tasks:[{label:"Folder overview",prompt:"Give me a one-line summary of each item in ~/Projects"},{label:"README roundup",prompt:"Find all README files in ~/Projects and summarize each one"},{label:"Recent changes",prompt:"What files in ~/Documents were modified in the last 7 days?"}]},{icon:Zz,label:"Search",color:"text-zora-cyan",bgColor:"bg-zora-cyan/10",borderColor:"border-zora-cyan/30",tasks:[{label:"Find TODOs",prompt:"Search for TODO comments across all files in ~/Projects and list them"},{label:"Find duplicates",prompt:"Look for files with identical names across ~/Documents and ~/Desktop"},{label:"Search content",prompt:'Find all files containing the word "password" in my home directory'}]},{icon:zN,label:"Memory",color:"text-purple-400",bgColor:"bg-purple-400/10",borderColor:"border-purple-400/30",tasks:[{label:"Set preferences",prompt:"Remember: I prefer concise answers, dark mode, and bullet-point summaries"},{label:"What do you know?",prompt:"Show me everything you remember about me and my preferences"},{label:"Project context",prompt:"Remember: my main project is in ~/Projects/my-app and uses React + TypeScript"}]},{icon:aU,label:"Dev Tools",color:"text-green-400",bgColor:"bg-green-400/10",borderColor:"border-green-400/30",tasks:[{label:"Git status check",prompt:"Check all git repos in ~/Projects and report which have uncommitted changes"},{label:"Dependency audit",prompt:"Check ~/Projects for any package.json files with outdated dependencies"},{label:"Code summary",prompt:"Analyze the file structure of ~/Projects/my-app and describe the architecture"}]},{icon:uv,label:"Automate",color:"text-rose-400",bgColor:"bg-rose-400/10",borderColor:"border-rose-400/30",tasks:[{label:"Daily standup prep",prompt:"Check my recent git commits across all repos and draft a standup summary"},{label:"Weekly report",prompt:"Summarize what changed in ~/Projects this week — new files, modifications, deletions"},{label:"Backup check",prompt:"List important config files in my home directory that should be backed up"}]}],i7=({onSubmitTask:n})=>{const[a,i]=Bh.useState(null);return k.jsxDEV("div",{className:"px-4 py-3",children:[k.jsxDEV("div",{className:"mb-3",children:k.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"Quick Tasks"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:90,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:89,columnNumber:7},void 0),k.jsxDEV("div",{className:"space-y-1.5",children:a7.map(s=>{const u=s.icon,f=a===s.label;return k.jsxDEV("div",{children:[k.jsxDEV("button",{onClick:()=>i(f?null:s.label),className:`w-full flex items-center gap-2 px-3 py-2 rounded-lg text-left transition-all ${f?`${s.bgColor} border ${s.borderColor}`:"hover:bg-black/30 border border-transparent"}`,children:[k.jsxDEV(u,{size:14,className:s.color},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:110,columnNumber:17},void 0),k.jsxDEV("span",{className:`text-xs font-bold uppercase ${f?s.color:"text-white/60"}`,children:s.label},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:111,columnNumber:17},void 0),k.jsxDEV("span",{className:"text-[9px] text-white/20 ml-auto",children:s.tasks.length},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:114,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:102,columnNumber:15},void 0),k.jsxDEV(so,{children:f&&k.jsxDEV(Tn.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"pl-7 pb-2 space-y-1",children:s.tasks.map((d,h)=>k.jsxDEV("button",{onClick:()=>n(d.prompt),className:"w-full text-left px-3 py-1.5 rounded-md text-[11px] text-white/50 hover:text-zora-white hover:bg-black/30 transition-all",title:d.prompt,children:d.label},h,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:129,columnNumber:23},void 0))},s.label,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:121,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:119,columnNumber:15},void 0)]},s.label,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:101,columnNumber:13},void 0)})},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:95,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:88,columnNumber:5},void 0)},o7={read:cv,write:fv,shell:dv,think:uv,error:VN},CN={read:"text-zora-cyan",write:"text-zora-gold",shell:"text-green-400",think:"text-zora-blue",error:"text-red-400"},s7={read:"Read",write:"Created",shell:"Ran",think:"Thinking",error:"Error"},l7=({steps:n,isRunning:a,taskPrompt:i})=>{const[s,u]=Bh.useState(!1);if(n.length===0&&!a)return null;const f=n.filter(g=>g.type==="read").length,d=n.filter(g=>g.type==="write").length,h=n.filter(g=>g.type==="shell").length,b=n.filter(g=>g.type==="error").length;return k.jsxDEV("div",{className:"border-t border-zora-ghost/30",children:[k.jsxDEV("button",{onClick:()=>u(!s),className:"w-full px-4 py-2 flex items-center justify-between hover:bg-black/20 transition-colors",children:[k.jsxDEV("div",{className:"flex items-center gap-3",children:[k.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:a?"Task In Progress":"What Just Happened"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:60,columnNumber:11},void 0),a&&k.jsxDEV(Tn.div,{animate:{opacity:[1,.3,1]},transition:{duration:1.5,repeat:1/0},className:"w-2 h-2 rounded-full bg-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:64,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:59,columnNumber:9},void 0),k.jsxDEV("div",{className:"flex items-center gap-3",children:[k.jsxDEV("div",{className:"flex items-center gap-2 text-[9px] font-data text-white/40",children:[f>0&&k.jsxDEV("span",{className:"flex items-center gap-1",children:[k.jsxDEV(cv,{size:10,className:"text-zora-cyan"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:76,columnNumber:17},void 0)," ",f]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:75,columnNumber:15},void 0),d>0&&k.jsxDEV("span",{className:"flex items-center gap-1",children:[k.jsxDEV(fv,{size:10,className:"text-zora-gold"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:81,columnNumber:17},void 0)," ",d]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:80,columnNumber:15},void 0),h>0&&k.jsxDEV("span",{className:"flex items-center gap-1",children:[k.jsxDEV(dv,{size:10,className:"text-green-400"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:86,columnNumber:17},void 0)," ",h]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:85,columnNumber:15},void 0),b>0&&k.jsxDEV("span",{className:"flex items-center gap-1",children:[k.jsxDEV(VN,{size:10,className:"text-red-400"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:91,columnNumber:17},void 0)," ",b]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:90,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:73,columnNumber:11},void 0),s?k.jsxDEV(mh,{size:14,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:96,columnNumber:13},void 0):k.jsxDEV(ph,{size:14,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:98,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:71,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:55,columnNumber:7},void 0),k.jsxDEV(so,{children:!s&&k.jsxDEV(Tn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:[i&&k.jsxDEV("div",{className:"px-4 pb-2",children:k.jsxDEV("div",{className:"text-[10px] font-data text-white/30 italic truncate",children:['"',i,'"']},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:114,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:113,columnNumber:15},void 0),k.jsxDEV("div",{className:"px-4 pb-3 max-h-40 overflow-y-auto lcars-scrollbar",children:k.jsxDEV("div",{className:"space-y-1",children:[n.map((g,p)=>{const v=o7[g.type];return k.jsxDEV(Tn.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},className:"flex items-start gap-2 text-[10px] font-data",children:[k.jsxDEV(v,{size:12,className:`${CN[g.type]} mt-0.5 flex-shrink-0`},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:131,columnNumber:23},void 0),k.jsxDEV("span",{className:`${CN[g.type]} font-bold uppercase w-12 flex-shrink-0`,children:s7[g.type]},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:132,columnNumber:23},void 0),k.jsxDEV("span",{className:"text-white/50 truncate flex-1",children:g.label},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:135,columnNumber:23},void 0),k.jsxDEV("span",{className:"text-white/20 flex-shrink-0",children:g.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"})},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:138,columnNumber:23},void 0)]},p,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:125,columnNumber:21},void 0)}),a&&k.jsxDEV(Tn.div,{animate:{opacity:[.3,1,.3]},transition:{duration:1.5,repeat:1/0},className:"flex items-center gap-2 text-[10px] font-data text-zora-teal",children:[k.jsxDEV(uv,{size:12},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:151,columnNumber:21},void 0),k.jsxDEV("span",{children:"Working..."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:152,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:146,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:121,columnNumber:15},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:120,columnNumber:13},void 0),!a&&n.length>0&&k.jsxDEV("div",{className:"px-4 pb-3",children:k.jsxDEV("div",{className:"flex items-center gap-2 text-[10px] font-data text-green-400/70",children:[k.jsxDEV(Eb,{size:12},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:161,columnNumber:19},void 0),k.jsxDEV("span",{children:["Task complete",f+d+h>0?" — ":"",f>0?`read ${f} file${f>1?"s":""}`:"",f>0&&d>0?", ":"",d>0?`created ${d} file${d>1?"s":""}`:"",(f>0||d>0)&&h>0?", ":"",h>0?`ran ${h} command${h>1?"s":""}`:""]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:162,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:160,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:159,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:106,columnNumber:11},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:104,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:53,columnNumber:5},void 0)},RN={safe:{label:"Safe",description:"Zora can only look at files — never change or delete anything.",color:"text-green-400"},balanced:{label:"Balanced",description:"Zora can read and write in your work folders. Dangerous commands are blocked.",color:"text-zora-gold"},power:{label:"Power",description:"Broad access for experienced users. Still blocks truly dangerous actions.",color:"text-orange-400"}},u7=()=>{const[n,a]=me.useState(null),[i,s]=me.useState(!0),[u,f]=me.useState(!1),[d,h]=me.useState("folders");me.useEffect(()=>{(async()=>{try{const v=await Et.get("/api/policy");v.data.ok&&a(v.data.policy)}catch{f(!0),a({preset:"balanced",allowedPaths:["~/Projects","~/Documents","~/Desktop"],deniedPaths:["~/.ssh","~/.gnupg","~/.aws","~/.zora/audit"],allowedCommands:["git","ls","cat","grep","find","node","npm","python"],blockedCommands:["sudo","rm -rf","chmod","chown","mkfs","dd"]})}finally{s(!1)}})()},[]);const b=p=>{h(d===p?null:p)};if(i)return k.jsxDEV("div",{className:"px-4 py-6 text-center",children:k.jsxDEV(Tn.div,{animate:{opacity:[.3,1,.3]},transition:{duration:1.5,repeat:1/0},className:"text-[10px] font-data text-zora-teal",children:"Loading security settings..."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:69,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:68,columnNumber:7},void 0);if(!n)return k.jsxDEV("div",{className:"px-4 py-4 text-[10px] font-data text-white/40",children:["Unable to load security settings. Run ",k.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent doctor"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:83,columnNumber:47},void 0)," to check."]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:82,columnNumber:7},void 0);const g=RN[n.preset]||RN.balanced;return k.jsxDEV("div",{className:"space-y-0",children:[u&&k.jsxDEV("div",{className:"px-4 py-2 text-[9px] font-data text-zora-gold/70 bg-zora-gold/5 border-b border-zora-ghost/30",children:["Showing default policy. Run ",k.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent doctor"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:94,columnNumber:39},void 0)," to verify your actual settings."]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:93,columnNumber:9},void 0),k.jsxDEV("div",{className:"px-4 py-3 border-b border-zora-ghost/30",children:[k.jsxDEV("div",{className:"flex items-center gap-2 mb-2",children:[k.jsxDEV(Nh,{size:14,className:"text-zora-gold"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:100,columnNumber:11},void 0),k.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"Your Safety Level"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:101,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:99,columnNumber:9},void 0),k.jsxDEV("div",{className:"bg-black/40 rounded-lg p-3 border-l-2 border-zora-gold",children:[k.jsxDEV("div",{className:`text-sm font-bold ${g.color} mb-1`,children:[g.label," Mode"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:106,columnNumber:11},void 0),k.jsxDEV("div",{className:"text-[10px] font-data text-white/50",children:g.description},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:109,columnNumber:11},void 0),k.jsxDEV("div",{className:"text-[9px] font-data text-white/30 mt-2",children:["Change with: ",k.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent init --force"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:113,columnNumber:26},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:112,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:105,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:98,columnNumber:7},void 0),k.jsxDEV("div",{className:"border-b border-zora-ghost/30",children:[k.jsxDEV("button",{onClick:()=>b("folders"),className:"w-full px-4 py-2 flex items-center justify-between hover:bg-black/20 transition-colors",children:[k.jsxDEV("div",{className:"flex items-center gap-2",children:[k.jsxDEV(UN,{size:12,className:"text-green-400"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:125,columnNumber:13},void 0),k.jsxDEV("span",{className:"text-[10px] font-data text-white/60 uppercase tracking-wider",children:"Folders Zora can see"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:126,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:124,columnNumber:11},void 0),k.jsxDEV("div",{className:"flex items-center gap-2",children:[k.jsxDEV("span",{className:"text-[9px] font-data text-white/30",children:n.allowedPaths.length},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:131,columnNumber:13},void 0),d==="folders"?k.jsxDEV(ph,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:133,columnNumber:15},void 0):k.jsxDEV(mh,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:135,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:130,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:120,columnNumber:9},void 0),k.jsxDEV(so,{children:d==="folders"&&k.jsxDEV(Tn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:k.jsxDEV("div",{className:"px-4 pb-3 space-y-1",children:n.allowedPaths.map((p,v)=>k.jsxDEV("div",{className:"flex items-center gap-2 text-[10px] font-data",children:[k.jsxDEV(Eb,{size:10,className:"text-green-400 flex-shrink-0"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:150,columnNumber:21},void 0),k.jsxDEV("span",{className:"text-white/60",children:p},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:151,columnNumber:21},void 0),k.jsxDEV("span",{className:"text-white/20 ml-auto",children:n.preset==="safe"?k.jsxDEV("span",{className:"flex items-center gap-1",children:[k.jsxDEV(cv,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:155,columnNumber:27},void 0)," read only"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:154,columnNumber:25},void 0):k.jsxDEV("span",{className:"flex items-center gap-1",children:[k.jsxDEV(Xz,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:159,columnNumber:27},void 0)," read & write"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:158,columnNumber:25},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:152,columnNumber:21},void 0)]},v,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:149,columnNumber:19},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:147,columnNumber:15},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:141,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:139,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:119,columnNumber:7},void 0),k.jsxDEV("div",{className:"border-b border-zora-ghost/30",children:[k.jsxDEV("button",{onClick:()=>b("denied"),className:"w-full px-4 py-2 flex items-center justify-between hover:bg-black/20 transition-colors",children:[k.jsxDEV("div",{className:"flex items-center gap-2",children:[k.jsxDEV(Hz,{size:12,className:"text-red-400"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:178,columnNumber:13},void 0),k.jsxDEV("span",{className:"text-[10px] font-data text-white/60 uppercase tracking-wider",children:"Off-limits folders"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:179,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:177,columnNumber:11},void 0),k.jsxDEV("div",{className:"flex items-center gap-2",children:[k.jsxDEV("span",{className:"text-[9px] font-data text-white/30",children:n.deniedPaths.length},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:184,columnNumber:13},void 0),d==="denied"?k.jsxDEV(ph,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:186,columnNumber:15},void 0):k.jsxDEV(mh,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:188,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:183,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:173,columnNumber:9},void 0),k.jsxDEV(so,{children:d==="denied"&&k.jsxDEV(Tn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:k.jsxDEV("div",{className:"px-4 pb-3 space-y-1",children:[n.deniedPaths.map((p,v)=>k.jsxDEV("div",{className:"flex items-center gap-2 text-[10px] font-data",children:[k.jsxDEV(Uz,{size:10,className:"text-red-400 flex-shrink-0"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:203,columnNumber:21},void 0),k.jsxDEV("span",{className:"text-white/60",children:p},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:204,columnNumber:21},void 0),k.jsxDEV("span",{className:"text-white/20 ml-auto text-[9px]",children:[p.includes(".ssh")&&"SSH keys",p.includes(".gnupg")&&"encryption keys",p.includes(".aws")&&"AWS credentials",p.includes("audit")&&"audit logs"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:205,columnNumber:21},void 0)]},v,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:202,columnNumber:19},void 0)),k.jsxDEV("div",{className:"flex items-start gap-2 mt-2 text-[9px] font-data text-white/25",children:[k.jsxDEV(Fz,{size:10,className:"flex-shrink-0 mt-0.5"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:214,columnNumber:19},void 0),k.jsxDEV("span",{children:"These folders are always blocked, regardless of your safety level."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:215,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:213,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:200,columnNumber:15},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:194,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:192,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:172,columnNumber:7},void 0),k.jsxDEV("div",{className:"border-b border-zora-ghost/30",children:[k.jsxDEV("button",{onClick:()=>b("commands"),className:"w-full px-4 py-2 flex items-center justify-between hover:bg-black/20 transition-colors",children:[k.jsxDEV("div",{className:"flex items-center gap-2",children:[k.jsxDEV(dv,{size:12,className:"text-zora-cyan"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:230,columnNumber:13},void 0),k.jsxDEV("span",{className:"text-[10px] font-data text-white/60 uppercase tracking-wider",children:"Allowed commands"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:231,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:229,columnNumber:11},void 0),k.jsxDEV("div",{className:"flex items-center gap-2",children:[k.jsxDEV("span",{className:"text-[9px] font-data text-white/30",children:n.allowedCommands.length},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:236,columnNumber:13},void 0),d==="commands"?k.jsxDEV(ph,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:238,columnNumber:15},void 0):k.jsxDEV(mh,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:240,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:235,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:225,columnNumber:9},void 0),k.jsxDEV(so,{children:d==="commands"&&k.jsxDEV(Tn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:k.jsxDEV("div",{className:"px-4 pb-3",children:[k.jsxDEV("div",{className:"flex flex-wrap gap-1 mb-3",children:n.allowedCommands.map((p,v)=>k.jsxDEV("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-green-900/30 rounded text-[9px] font-data text-green-400 border border-green-800/30",children:[k.jsxDEV(Eb,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:259,columnNumber:23},void 0)," ",p]},v,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:255,columnNumber:21},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:253,columnNumber:17},void 0),k.jsxDEV("div",{className:"text-[9px] font-data text-white/30 mb-2 uppercase",children:"Always blocked:"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:263,columnNumber:17},void 0),k.jsxDEV("div",{className:"flex flex-wrap gap-1",children:n.blockedCommands.map((p,v)=>k.jsxDEV("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-red-900/20 rounded text-[9px] font-data text-red-400/70 border border-red-800/20",children:[k.jsxDEV(Nz,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:270,columnNumber:23},void 0)," ",p]},v,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:266,columnNumber:21},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:264,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:252,columnNumber:15},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:246,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:244,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:224,columnNumber:7},void 0),k.jsxDEV("div",{className:"px-4 py-3",children:k.jsxDEV("div",{className:"text-[9px] font-data text-white/25 space-y-1",children:[k.jsxDEV("div",{children:"Every action Zora takes is logged and tamper-proof."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:283,columnNumber:11},void 0),k.jsxDEV("div",{children:["View the full log: ",k.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent audit show"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:285,columnNumber:32},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:284,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:282,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:281,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:91,columnNumber:5},void 0)},c7="v0.9.5",Sb=200,ON="zora_onboarding_complete";let Oa=0;function MN(n){return n>=1e6?`${(n/1e6).toFixed(1)}M`:n>=1e3?`${(n/1e3).toFixed(1)}K`:String(n)}function Db(n){return n>=.7?"text-green-500":n>=.3?"text-zora-gold":"text-red-500"}function f7(n){return n>=.7?"bg-green-500":n>=.3?"bg-zora-gold":"bg-red-500"}const d7=({items:n})=>{const[a,i]=Bh.useState(!1),s=n.filter(d=>d.type==="tool-call"),u=[...new Set(s.map(d=>d.tool))],f=u.length<=3?u.join(", "):`${u.slice(0,2).join(", ")} +${u.length-2} more`;return k.jsxDEV(Tn.div,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},transition:{duration:.15},className:"bubble bubble-tool self-start w-full max-w-[90%]",children:[k.jsxDEV("button",{onClick:()=>i(d=>!d),className:"w-full flex items-center gap-2 font-data text-[10px] uppercase tracking-widest text-zora-gold/60 hover:text-zora-gold/90 transition-colors",children:[k.jsxDEV("span",{children:"⚙"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:86,columnNumber:9},void 0),k.jsxDEV("span",{className:"font-mono normal-case tracking-normal text-white/50",children:f},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:87,columnNumber:9},void 0),k.jsxDEV("span",{className:"text-white/25 ml-1",children:["(",s.length," calls)"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:88,columnNumber:9},void 0),k.jsxDEV("span",{className:"ml-auto text-[9px] opacity-40",children:n[0].timestamp.toLocaleTimeString()},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:89,columnNumber:9},void 0),k.jsxDEV("span",{className:"opacity-40",children:a?"▲":"▼"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:90,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:82,columnNumber:7},void 0),a&&k.jsxDEV("div",{className:"mt-2 border-t border-white/10 pt-2 flex flex-col gap-1",children:n.map(d=>k.jsxDEV("div",{className:`flex items-center gap-2 text-[10px] font-mono ${d.type==="tool-call"?"text-zora-gold/50":"text-zora-cyan/40"}`,children:[k.jsxDEV("span",{children:d.type==="tool-call"?"→":"←"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:98,columnNumber:15},void 0),k.jsxDEV("span",{children:d.tool},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:99,columnNumber:15},void 0),k.jsxDEV("span",{className:"ml-auto text-[9px] opacity-30",children:d.timestamp.toLocaleTimeString()},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:100,columnNumber:15},void 0)]},d.id,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:95,columnNumber:13},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:93,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:76,columnNumber:5},void 0)},h7=({msg:n})=>{const a={agent:"bubble bubble-agent",user:"bubble bubble-user",system:"bubble bubble-system","tool-call":"bubble bubble-tool","tool-result":"bubble bubble-tool"}[n.type]??"bubble bubble-system";return k.jsxDEV(Tn.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.2},className:a,"data-testid":`bubble-${n.type}`,children:[n.type==="agent"?k.jsxDEV("div",{style:{fontFamily:"var(--font-prose)",fontSize:"0.875rem",lineHeight:"1.7"},className:`text-zora-white max-w-none
|
|
266
|
+
[&_p]:mb-3 [&_p:last-child]:mb-0
|
|
267
|
+
[&_ul]:list-disc [&_ul]:pl-5 [&_ul]:mb-3 [&_li]:mb-1
|
|
268
|
+
[&_ol]:list-decimal [&_ol]:pl-5 [&_ol]:mb-3
|
|
269
|
+
[&_pre]:bg-black/50 [&_pre]:rounded-md [&_pre]:p-3 [&_pre]:overflow-x-auto [&_pre]:text-xs [&_pre]:my-2
|
|
270
|
+
[&_code]:bg-black/40 [&_code]:rounded [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:text-[11px] [&_code]:text-zora-gold [&_code]:font-mono
|
|
271
|
+
[&_h1]:text-[15px] [&_h1]:font-semibold [&_h1]:mb-2 [&_h1]:mt-3 [&_h1]:text-zora-cyan
|
|
272
|
+
[&_h2]:text-[13px] [&_h2]:font-semibold [&_h2]:mb-2 [&_h2]:mt-3 [&_h2]:text-zora-cyan
|
|
273
|
+
[&_h3]:text-[12px] [&_h3]:font-semibold [&_h3]:mb-1 [&_h3]:mt-2 [&_h3]:text-zora-teal
|
|
274
|
+
[&_blockquote]:border-l-2 [&_blockquote]:border-zora-teal/40 [&_blockquote]:pl-3 [&_blockquote]:opacity-70 [&_blockquote]:my-2
|
|
275
|
+
[&_hr]:border-white/10 [&_hr]:my-3
|
|
276
|
+
[&_strong]:text-zora-white [&_strong]:font-semibold
|
|
277
|
+
[&_table]:text-xs [&_table]:my-2 [&_td]:px-2 [&_td]:py-1 [&_th]:px-2 [&_th]:py-1 [&_th]:text-zora-teal [&_th]:font-data [&_th]:uppercase [&_th]:text-[9px]`,children:k.jsxDEV(JH,{children:n.content},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:145,columnNumber:11},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:129,columnNumber:9},void 0):k.jsxDEV("div",{children:n.content},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:148,columnNumber:9},void 0),k.jsxDEV("div",{className:"text-[9px] opacity-30 mt-1.5",children:n.timestamp.toLocaleTimeString()},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:150,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:121,columnNumber:5},void 0)},m7=()=>{const[n,a]=me.useState([]),[i,s]=me.useState([]),[u,f]=me.useState(""),[d,h]=me.useState("job_active"),[b,g]=me.useState([{id:++Oa,type:"system",content:"Zora is ready.",timestamp:new Date}]),p=me.useRef(null),[v,x]=me.useState(()=>{try{return!localStorage.getItem(ON)}catch{return!0}}),[S,N]=me.useState("status"),[V,R]=me.useState([]),[z,X]=me.useState(!1),[I,ie]=me.useState(),re=()=>{x(!1);try{localStorage.setItem(ON,"true")}catch{}},G=async F=>{if(!z){g(he=>[...he,{id:++Oa,type:"user",content:F,timestamp:new Date}].slice(-Sb)),ie(F),X(!0),R([]);try{await Et.post("/api/steer",{jobId:d,message:F,author:"operator",source:"dashboard"})}catch(he){console.error("Task submission failed",he),g(oe=>[...oe,{id:++Oa,type:"system",content:"Failed to send task. Check that Zora is running.",timestamp:new Date}].slice(-Sb)),X(!1)}}};me.useEffect(()=>{p.current?.scrollIntoView({behavior:"smooth"})},[b]),me.useEffect(()=>{(async()=>{try{const oe=(await Et.get("/api/history?limit=3")).data?.events??[];if(oe.length===0)return;const Q=[];for(const{event:ne}of oe){const ae=ne.timestamp?new Date(ne.timestamp):new Date;if(ne.type==="text"||ne.type==="text_delta"){const Y=ne.content?.text??"";Y.trim()&&Q.push({id:++Oa,type:"agent",content:Y,timestamp:ae})}else if(ne.type==="tool_call"){const Y=ne.content?.tool??"tool";Q.push({id:++Oa,type:"tool-call",content:Y,timestamp:ae})}else if(ne.type==="job_update"){const Y=ne.content?.status??"update";(Y==="started"||Y==="completed"||Y==="failed")&&Q.push({id:++Oa,type:"system",content:`Task ${Y}`,timestamp:ae})}else if(ne.type==="error"){const Y=ne.content?.message??"Error";Q.push({id:++Oa,type:"system",content:Y,timestamp:ae})}}Q.length>0&&g([{id:++Oa,type:"system",content:"— session history —",timestamp:new Date(0)},...Q,{id:++Oa,type:"system",content:"Zora is ready.",timestamp:new Date}])}catch{}})()},[]),me.useEffect(()=>{const F=async()=>{try{const oe=await Et.get("/api/health");oe.data.ok&&a(oe.data.providers)}catch(oe){console.error("Health check failed",oe)}};F();const he=setInterval(F,3e4);return()=>clearInterval(he)},[]),me.useEffect(()=>{const F=async()=>{try{const oe=await Et.get("/api/quota");oe.data.ok&&s(oe.data.providers)}catch(oe){console.error("Quota fetch failed",oe)}};F();const he=setInterval(F,1e4);return()=>clearInterval(he)},[]),me.useEffect(()=>{const F=async()=>{try{((await Et.get("/api/jobs")).data?.jobs??[]).some(ae=>ae.status==="running")||X(!1)}catch{}},he=new EventSource("/api/events");return he.onmessage=oe=>{try{const Q=JSON.parse(oe.data);if(Q.type==="connected"){F();return}let ne="agent",ae="";if(Q.type==="job_update")ne="system",ae=`Task ${Q.data?.status==="completed"?"completed":Q.data?.status??"update"}`,(Q.data?.status==="completed"||Q.data?.status==="failed")&&X(!1);else if(Q.type==="tool_call"){ne="tool-call",ae=Q.data?.tool??JSON.stringify(Q);const Y=Q.data?.tool??"unknown";let le="think";Y.toLowerCase().includes("read")||Y.toLowerCase().includes("glob")||Y.toLowerCase().includes("grep")?le="read":Y.toLowerCase().includes("write")||Y.toLowerCase().includes("edit")?le="write":(Y.toLowerCase().includes("bash")||Y.toLowerCase().includes("shell"))&&(le="shell"),R(ye=>[...ye,{type:le,label:ae,timestamp:new Date}])}else Q.type==="tool_result"?(ne="tool-result",ae=Q.data?.result??JSON.stringify(Q)):Q.type==="text_delta"||Q.type==="text.delta"?(ne="agent",ae=Q.data?.text??Q.data?.delta??JSON.stringify(Q)):Q.type==="error"?(ne="system",ae=Q.data?.message??"An error occurred",R(Y=>[...Y,{type:"error",label:ae,timestamp:new Date}])):(ne="system",ae=JSON.stringify(Q));g(Y=>[...Y,{id:++Oa,type:ne,content:ae,timestamp:new Date}].slice(-Sb))}catch{}},()=>he.close()},[]);const ge=async()=>{if(!u)return;const F=u;f(""),G(F)},se=i.reduce((F,he)=>F+he.usage.totalCostUsd,0),ce=i.reduce((F,he)=>F+he.usage.requestCount,0);return k.jsxDEV("div",{className:"h-screen w-screen flex flex-col bg-zora-obsidian relative overflow-hidden",children:[k.jsxDEV("div",{className:"scanline"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:397,columnNumber:7},void 0),v&&k.jsxDEV(r7,{onComplete:re,onSubmitTask:F=>{re(),G(F)}},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:401,columnNumber:9},void 0),k.jsxDEV("div",{className:"flex items-center gap-4 px-4 pt-4 pb-2",children:[k.jsxDEV("div",{className:"lcars-bar flex-1 bg-zora-gold",children:["ZORA ","/"," DASHBOARD"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:412,columnNumber:9},void 0),k.jsxDEV("div",{className:"flex items-center gap-2",children:n.length>0&&k.jsxDEV("div",{className:"flex items-center gap-1.5 text-[9px] font-data text-white/40",children:n.map(F=>k.jsxDEV("div",{className:"flex items-center gap-1",children:[k.jsxDEV("span",{className:`w-2 h-2 rounded-full ${F.valid?"bg-green-500":"bg-red-500"}`},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:420,columnNumber:19},void 0),k.jsxDEV("span",{className:"uppercase",children:F.name},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:421,columnNumber:19},void 0)]},F.name,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:419,columnNumber:17},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:417,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:415,columnNumber:9},void 0),k.jsxDEV("div",{className:"w-32 bg-zora-teal h-8 rounded-r-full"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:427,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:411,columnNumber:7},void 0),k.jsxDEV("div",{className:"flex-1 flex min-h-0",children:[k.jsxDEV("div",{className:"w-16 flex flex-col items-center py-4 gap-4 bg-zora-rail border-r border-zora-ghost/30",children:[k.jsxDEV("div",{className:"w-8 h-8 rounded-tl-xl border-t-2 border-l-2 border-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:435,columnNumber:11},void 0),k.jsxDEV("div",{className:"flex-1"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:436,columnNumber:11},void 0),k.jsxDEV("button",{onClick:()=>x(!0),className:"w-8 h-8 flex items-center justify-center text-white/30 hover:text-zora-teal transition-colors",title:"Show welcome guide",children:k.jsxDEV(jN,{size:16},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:442,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:437,columnNumber:11},void 0),k.jsxDEV("div",{className:"w-8 h-8 rounded-bl-xl border-b-2 border-l-2 border-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:444,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:434,columnNumber:9},void 0),k.jsxDEV("div",{className:"flex-1 flex flex-col min-w-0",children:[k.jsxDEV("div",{className:"px-4 py-2",children:k.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"Activity Feed"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:450,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:449,columnNumber:11},void 0),k.jsxDEV("div",{className:"flex-1 overflow-y-auto px-4 flex flex-col gap-2 lcars-scrollbar",children:[k.jsxDEV(so,{children:(()=>{const F=[];for(const he of b)if(he.type==="tool-call"||he.type==="tool-result"){const oe=F[F.length-1],Q={id:he.id,tool:he.content,type:he.type,timestamp:he.timestamp};oe?.kind==="tools"?oe.items.push(Q):F.push({kind:"tools",items:[Q],key:he.id})}else F.push({kind:"msg",msg:he});return F.map(he=>he.kind==="tools"?k.jsxDEV(d7,{items:he.items},he.key,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:478,columnNumber:23},void 0):k.jsxDEV(h7,{msg:he.msg},he.msg.id,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:479,columnNumber:23},void 0))})()},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:457,columnNumber:13},void 0),k.jsxDEV("div",{ref:p},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:483,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:456,columnNumber:11},void 0),k.jsxDEV(l7,{steps:V,isRunning:z,taskPrompt:I},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:487,columnNumber:11},void 0),k.jsxDEV("div",{className:"px-4 py-3 border-t border-zora-ghost/30",children:k.jsxDEV("div",{className:"flex gap-2",children:[k.jsxDEV("input",{type:"text",value:u,onChange:F=>f(F.target.value),onKeyDown:F=>F.key==="Enter"&&ge(),placeholder:"Ask Zora to do something...",className:"flex-1 bg-zora-rail border border-zora-ghost/50 rounded-lg px-4 py-2 font-data text-zora-gold text-sm focus:ring-2 focus:ring-zora-teal focus:border-transparent focus:outline-none placeholder:text-white/20"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:496,columnNumber:15},void 0),k.jsxDEV("button",{onClick:ge,className:"bg-zora-teal text-zora-obsidian px-5 py-2 rounded-lg font-bold hover:bg-zora-cyan transition-colors flex items-center gap-2 text-sm",children:[k.jsxDEV(Kz,{size:14},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:508,columnNumber:17},void 0)," SEND"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:504,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:495,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:494,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:448,columnNumber:9},void 0),k.jsxDEV("div",{className:"w-80 flex flex-col border-l border-zora-ghost/30 bg-zora-rail/50",children:[k.jsxDEV("div",{className:"flex border-b border-zora-ghost/30",children:[k.jsxDEV("button",{onClick:()=>N("status"),className:`flex-1 px-3 py-2 text-[9px] font-data uppercase tracking-wider flex items-center justify-center gap-1.5 transition-colors ${S==="status"?"text-zora-teal border-b-2 border-zora-teal bg-black/20":"text-white/30 hover:text-white/50"}`,children:[k.jsxDEV(iA,{size:10},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:527,columnNumber:15},void 0)," Status"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:519,columnNumber:13},void 0),k.jsxDEV("button",{onClick:()=>N("templates"),className:`flex-1 px-3 py-2 text-[9px] font-data uppercase tracking-wider flex items-center justify-center gap-1.5 transition-colors ${S==="templates"?"text-zora-teal border-b-2 border-zora-teal bg-black/20":"text-white/30 hover:text-white/50"}`,children:[k.jsxDEV(Gz,{size:10},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:537,columnNumber:15},void 0)," Tasks"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:529,columnNumber:13},void 0),k.jsxDEV("button",{onClick:()=>N("security"),className:`flex-1 px-3 py-2 text-[9px] font-data uppercase tracking-wider flex items-center justify-center gap-1.5 transition-colors ${S==="security"?"text-zora-teal border-b-2 border-zora-teal bg-black/20":"text-white/30 hover:text-white/50"}`,children:[k.jsxDEV(Nh,{size:10},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:547,columnNumber:15},void 0)," Safety"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:539,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:518,columnNumber:11},void 0),k.jsxDEV("div",{className:"flex-1 overflow-y-auto lcars-scrollbar",children:[S==="status"&&k.jsxDEV(k.Fragment,{children:[k.jsxDEV("div",{className:"px-4 py-3 border-b border-zora-ghost/30",children:k.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"AI Providers"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:559,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:558,columnNumber:17},void 0),k.jsxDEV("div",{className:"px-4 py-2 space-y-3",children:[k.jsxDEV(so,{children:n.map(F=>{const he=i.find(oe=>oe.name===F.name);return k.jsxDEV(Tn.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},className:"p-2 bg-black/40 rounded-lg border-l-2 border-zora-teal",children:[k.jsxDEV("div",{className:"flex justify-between items-center mb-1",children:[k.jsxDEV("span",{className:"text-zora-cyan font-bold uppercase text-xs",children:F.name},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:575,columnNumber:29},void 0),k.jsxDEV("span",{className:`w-2.5 h-2.5 rounded-full ${F.valid?"bg-green-500":"bg-red-500"}`,title:F.valid?"Connected":"Disconnected","data-testid":`provider-dot-${F.name}`},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:576,columnNumber:29},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:574,columnNumber:27},void 0),he&&k.jsxDEV("div",{className:"space-y-1",children:[k.jsxDEV("div",{className:"flex items-center gap-2",children:[k.jsxDEV(iA,{size:10,className:Db(he.quota.healthScore)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:585,columnNumber:33},void 0),k.jsxDEV("div",{className:"flex-1 h-1.5 bg-black/60 rounded-full overflow-hidden",children:k.jsxDEV("div",{className:`h-full rounded-full transition-all ${f7(he.quota.healthScore)}`,style:{width:`${he.quota.healthScore*100}%`}},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:587,columnNumber:35},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:586,columnNumber:33},void 0),k.jsxDEV("span",{className:`text-[9px] font-data ${Db(he.quota.healthScore)}`,children:[Math.round(he.quota.healthScore*100),"%"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:592,columnNumber:33},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:584,columnNumber:31},void 0),k.jsxDEV("div",{className:"text-[9px] font-data text-white/50 space-y-0.5",children:[he.usage.totalCostUsd>0&&k.jsxDEV("div",{className:"flex justify-between",children:[k.jsxDEV("span",{children:"COST"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:599,columnNumber:37},void 0),k.jsxDEV("span",{className:"text-zora-gold",children:["$",he.usage.totalCostUsd.toFixed(4)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:600,columnNumber:37},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:598,columnNumber:35},void 0),k.jsxDEV("div",{className:"flex justify-between",children:[k.jsxDEV("span",{children:"REQUESTS"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:604,columnNumber:35},void 0),k.jsxDEV("span",{className:"text-zora-cyan",children:he.usage.requestCount},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:605,columnNumber:35},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:603,columnNumber:33},void 0),(he.usage.totalInputTokens>0||he.usage.totalOutputTokens>0)&&k.jsxDEV("div",{className:"flex justify-between",children:[k.jsxDEV("span",{children:"TOKENS"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:609,columnNumber:37},void 0),k.jsxDEV("span",{className:"text-zora-cyan",children:[MN(he.usage.totalInputTokens)," in / ",MN(he.usage.totalOutputTokens)," out"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:610,columnNumber:37},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:608,columnNumber:35},void 0),he.quota.isExhausted&&k.jsxDEV("div",{className:"text-red-500 font-bold mt-1",children:"QUOTA EXHAUSTED"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:616,columnNumber:35},void 0),he.quota.cooldownUntil&&k.jsxDEV("div",{className:"text-zora-gold",children:"COOLDOWN ACTIVE"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:619,columnNumber:35},void 0),k.jsxDEV("div",{className:"flex justify-between",children:[k.jsxDEV("span",{children:"TIER"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:622,columnNumber:35},void 0),k.jsxDEV("span",{className:"text-white/40 uppercase",children:he.costTier},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:623,columnNumber:35},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:621,columnNumber:33},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:596,columnNumber:31},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:583,columnNumber:29},void 0)]},F.name,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:568,columnNumber:25},void 0)})},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:564,columnNumber:19},void 0),n.length===0&&k.jsxDEV("div",{className:"text-[10px] font-data text-white/30 py-4 text-center",children:["No AI providers detected.",k.jsxDEV("br",{},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:634,columnNumber:48},void 0),"Run ",k.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent doctor"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:635,columnNumber:27},void 0)," to check."]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:633,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:563,columnNumber:17},void 0),k.jsxDEV("div",{className:"px-4 py-3 border-t border-b border-zora-ghost/30",children:k.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"Session Stats"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:642,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:641,columnNumber:17},void 0),k.jsxDEV("div",{className:"px-4 py-3 lcars-panel border-zora-teal",children:k.jsxDEV("div",{className:"text-[10px] font-data text-white/60 space-y-2",children:[k.jsxDEV("div",{className:"flex justify-between items-center",children:[k.jsxDEV("span",{children:"TOTAL COST:"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:649,columnNumber:23},void 0),k.jsxDEV("span",{className:"text-zora-gold font-bold",children:["$",se.toFixed(4)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:650,columnNumber:23},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:648,columnNumber:21},void 0),k.jsxDEV("div",{className:"flex justify-between items-center",children:[k.jsxDEV("span",{children:"REQUESTS:"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:653,columnNumber:23},void 0),k.jsxDEV("span",{className:"text-zora-cyan font-bold",children:ce},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:654,columnNumber:23},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:652,columnNumber:21},void 0),i.map(F=>k.jsxDEV("div",{className:"flex justify-between items-center text-[9px]",children:[k.jsxDEV("span",{className:"uppercase text-white/40",children:F.name},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:658,columnNumber:25},void 0),k.jsxDEV("div",{className:"flex items-center gap-2",children:[k.jsxDEV("span",{className:Db(F.quota.healthScore),children:F.quota.isExhausted?"EXHAUSTED":`${Math.round(F.quota.healthScore*100)}%`},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:660,columnNumber:27},void 0),F.usage.totalCostUsd>0&&k.jsxDEV("span",{className:"text-zora-gold",children:["$",F.usage.totalCostUsd.toFixed(3)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:664,columnNumber:29},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:659,columnNumber:25},void 0)]},F.name,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:657,columnNumber:23},void 0))]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:647,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:646,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:556,columnNumber:15},void 0),S==="templates"&&k.jsxDEV(i7,{onSubmitTask:G},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:676,columnNumber:15},void 0),S==="security"&&k.jsxDEV(u7,{},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:681,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:552,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:515,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:431,columnNumber:7},void 0),k.jsxDEV("div",{className:"px-4 py-2 flex justify-between text-[10px] font-data text-white/40 uppercase tracking-widest border-t border-zora-ghost/30",children:[k.jsxDEV("div",{children:["Zora ",c7]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:689,columnNumber:9},void 0),k.jsxDEV("div",{children:"Dashboard"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:690,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:688,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:396,columnNumber:5},void 0)};vz.createRoot(document.getElementById("root")).render(k.jsxDEV(Bh.StrictMode,{children:k.jsxDEV(m7,{},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/main.tsx",lineNumber:8,columnNumber:5},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/main.tsx",lineNumber:7,columnNumber:3},void 0));
|