@pramen/cms-editor 0.0.32 → 0.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- var $E=Object.create;var{getPrototypeOf:SE,defineProperty:c9,getOwnPropertyNames:EE}=Object;var kE=Object.prototype.hasOwnProperty;function xE(Q){return this[Q]}var yE,vE,f=(Q,q,z)=>{var _=Q!=null&&typeof Q==="object";if(_){var W=q?yE??=new WeakMap:vE??=new WeakMap,K=W.get(Q);if(K)return K}z=Q!=null?$E(SE(Q)):{};let A=q||!Q||!Q.__esModule?c9(z,"default",{value:Q,enumerable:!0}):z;for(let L of EE(Q))if(!kE.call(A,L))c9(A,L,{get:xE.bind(Q,L),enumerable:!0});if(_)W.set(Q,A);return A};var pq=(Q,q)=>()=>(q||Q((q={exports:{}}).exports,q),q.exports);var hE=(Q)=>Q;function bE(Q,q){this[Q]=hE.bind(null,q)}var p_=(Q,q)=>{for(var z in q)c9(Q,z,{get:q[z],enumerable:!0,configurable:!0,set:bE.bind(q,z)})};var C=(Q,q)=>()=>(Q&&(q=Q(Q=0)),q);class wA{cache=new Map;_maxSize;constructor(Q){if(Q<0)throw Error(`[buzola] LoaderCache maxSize must be non-negative, got ${Q}`);this._maxSize=Q}get maxSize(){return this._maxSize}get size(){return this.cache.size}get(Q){let q=this.cache.get(Q);if(q!==void 0||this.cache.has(Q))this.cache.delete(Q),this.cache.set(Q,q);return q}has(Q){return this.cache.has(Q)}set(Q,q){this.cache.delete(Q),this.cache.set(Q,q);while(this.cache.size>this._maxSize){let z=this.cache.keys().next().value;this.cache.delete(z)}}delete(Q){this.cache.delete(Q)}clear(){this.cache.clear()}}function l_(Q,q){let z=q.pathname,_=z.split("/").filter(Boolean);return p9(Q.root,_,0,{},z)}function p9(Q,q,z,_,W){if(z===q.length){if(Q.route)return bT(Q.route.chain,_,W);return null}let K=q[z],A=Q.staticChildren.get(K);if(A){let L=p9(A,q,z+1,_,W);if(L)return L}if(Q.dynamicChild){let L={..._,[Q.dynamicChild.paramName]:decodeURIComponent(K)},O=p9(Q.dynamicChild.node,q,z+1,L,W);if(O)return O}if(Q.catchAllChild){let L=q.slice(z).map((I)=>decodeURIComponent(I)).join("/"),O={..._,[Q.catchAllChild.paramName]:L};return bT(Q.catchAllChild.chain,O,W)}return null}function bT(Q,q,z){return Q.map((_)=>({node:_,params:q,pathname:z}))}function l9(Q){let q=Q.endsWith("+");return{name:q?Q.slice(1,-1):Q.slice(1),isCatchAll:q}}function LK(Q){let q=[];for(let z of Q.split("/"))if(z.startsWith(":"))q.push(l9(z).name);return q}class VA{routes;adapter;viewTransitions;_basePath;persistentParamsFn;pageRegistry;subscribers=new Set;invalidationListeners=new Set;state;navigationId=0;stopFn;blockers=new Set;pendingScrollBehavior="after-transition";_loaderCache;constructor(Q){this.routes=Q.routes,this.adapter=Q.adapter,this.viewTransitions=Q.viewTransitions??!1,this._basePath=Q.basePath?Q.basePath.replace(/\/$/,""):"",this.persistentParamsFn=Q.persistentParams,this.pageRegistry=Q.pageRegistry??{},this._loaderCache=Q.loaderCacheSize?new wA(Q.loaderCacheSize):void 0;let q=this.adapter.getCurrentURL(),z=this.createMatchUrl(q),_=l_(this.routes,z)??[];if(_.length===0)console.warn(`[buzola] No route matched URL "${q.pathname}". Define a catch-all 404 route to handle unmatched URLs.`);this.state={location:q,matches:_,isPending:!1,navigationState:this.adapter.getState()}}get basePath(){return this._basePath}get loaderCache(){return this._loaderCache}getState(){return this.state}subscribe(Q){return this.subscribers.add(Q),()=>{this.subscribers.delete(Q)}}start(){let Q=(z)=>{if(!z.canIntercept)return;let _=new URL(z.destination.url),W=this.createMatchUrl(_),K=l_(this.routes,W);if(!K){console.warn(`[buzola] No route matched URL "${_.pathname}". The navigation was not intercepted.`);return}let A=++this.navigationId,L=z.viewTransition||this.viewTransitions,O=this.pendingScrollBehavior;this.pendingScrollBehavior="after-transition",z.intercept({scroll:O,handler:async()=>{for(let N of this.blockers){if(this.navigationId!==A)return;if(!await N())throw new i9}if(this.setState({...this.state,isPending:!0,pendingLocation:_}),this.navigationId!==A)return;let I=()=>{this.setState({location:_,matches:K,isPending:!1,pendingLocation:void 0,navigationState:this.adapter.getState()})};if(L&&typeof document<"u"&&"startViewTransition"in document)document.startViewTransition(I);else I()}})};this.adapter.addEventListener("navigate",Q);let q=()=>{this.adapter.removeEventListener("navigate",Q)};return this.stopFn=q,q}navigate(Q,q){if(q?.resetScroll===!1)this.pendingScrollBehavior="manual";this.adapter.navigate(this._basePath+Q,q)}navigateToPage(Q,q,z){let _=this.buildPagePath(Q,q);this.navigate(this.stripBasePath(_),z)}buildPagePath(Q,q){let z=this.pageRegistry[Q];if(!z)throw Error(`[buzola] Unknown page "${Q}". Is it registered in the page registry?`);let _=this.resolveParams(z,q);return this.buildPath(z,_)}preload(Q,q){let z=this.buildPagePath(Q,q),_=new URL(z,"http://localhost"),W=this.createMatchUrl(_),K=l_(this.routes,W);if(!K)return;for(let A of K)A.node.preload?.()}back(){this.adapter.back()}forward(){this.adapter.forward()}buildPath(Q,q){let z=Q.split("/"),_=[],W=[];for(let I of z)if(I.startsWith(":")){let{name:N,isCatchAll:M}=l9(I),R=q?.[N];if(R===void 0)W.push(N);else if(M)_.push(R);else _.push(encodeURIComponent(R))}else _.push(I);if(W.length>0){if(!q)throw Error(`[buzola] Missing params for path "${Q}": ${W.join(", ")}`);throw Error(`[buzola] Missing param "${W[0]}" for path "${Q}"`)}let K=new Set(LK(Q)),A=new URLSearchParams;if(q){for(let[I,N]of Object.entries(q))if(!K.has(I)&&N!==void 0)A.set(I,N)}let L=this._basePath+_.join("/"),O=A.toString();return O?`${L}?${O}`:L}stripBasePath(Q){if(this._basePath&&Q.startsWith(this._basePath))return Q.slice(this._basePath.length)||"/";return Q}resolveParams(Q,q){let z=LK(Q),_=this.getCurrentParams(),W=this.persistentParamsFn?.()??{},K={};for(let A of z){let L=q?.[A]??_[A]??W[A];if(L!==void 0)K[A]=L}if(q){let A=new Set(z);for(let[L,O]of Object.entries(q))if(!A.has(L)&&O!==void 0)K[L]=O}return K}getCurrentParams(){let Q={};for(let q of this.state.matches)Object.assign(Q,q.params);return Q}invalidateAll(){for(let Q of this.invalidationListeners)Q()}onInvalidate(Q){return this.invalidationListeners.add(Q),()=>{this.invalidationListeners.delete(Q)}}addBlocker(Q){return this.blockers.add(Q),()=>{this.blockers.delete(Q)}}dispose(){this.stopFn?.(),this.stopFn=void 0,this.subscribers.clear(),this.invalidationListeners.clear()}updateRoutes(Q){this.routes=Q;let q=l_(this.routes,this.createMatchUrl(this.state.location))??[];this.setState({...this.state,matches:q})}createMatchUrl(Q){if(!this._basePath)return Q;let q=new URL(Q);return q.pathname=this.stripBasePath(q.pathname),q}setState(Q){this.state=Q;for(let q of this.subscribers)q(this.state)}}var i9;var n9=C(()=>{i9=class i9 extends Error{constructor(){super("Navigation aborted by blocker");this.name="NavigationAbortedError"}}});function mT(Q){let{path:q,fullPath:z,component:_,searchSchema:W,preload:K,isLayout:A=!1,isIndex:L=!1}=Q;return{id:`route:${z||"/"}${A?":layout":""}`,path:gT(q),fullPath:gT(z),component:_,searchSchema:W,preload:K,isLayout:A,isIndex:L}}function a9(Q,q=""){let z=fT(Q,q,[]),_=s9();for(let W of z)gE(_,W.pattern,W.chain);return{root:_}}function fT(Q,q,z){let _=[];for(let W of Q){let K=W.isPathlessGroup?"":W.path,A=W.children!=null&&W.children.length>0,L=W.isLayout??A,O=W.isIndex??(!L&&(W.path==="/"||W.path==="")),I;if(W.matchPath!=null)I=W.matchPath;else if(O)I=q||"/";else I=fE(q||"/",K);let N=mT({path:K,fullPath:I,component:W.component,searchSchema:W.searchSchema,preload:W.preload,isLayout:L,isIndex:O});if(L){let M=[...z,N];if(W.children){let R=W.isPathlessGroup?q:I;_.push(...fT(W.children,R,M))}}else _.push({pattern:I,chain:[...z,N]})}return _}function s9(){return{staticChildren:new Map}}function gE(Q,q,z){let _=mE(q),W=Q;for(let K=0;K<_.length;K++){let A=_[K];if(A.startsWith(":")&&(A.endsWith("+")||A.endsWith("*"))){let L=A.slice(1,-1);W.catchAllChild={paramName:L,chain:z};return}if(A.startsWith(":")){let L=A.slice(1);if(!W.dynamicChild)W.dynamicChild={paramName:L,node:s9()};W=W.dynamicChild.node}else{let L=W.staticChildren.get(A);if(!L)L=s9(),W.staticChildren.set(A,L);W=L}}W.route={chain:z}}function mE(Q){return Q.split("/").filter(Boolean)}function gT(Q){if(Q===""||Q==="/")return"/";let q=Q.startsWith("/")?Q:`/${Q}`;return q.endsWith("/")?q.slice(0,-1):q}function fE(Q,q){if(q==="/")return Q==="/"?"/":Q;let z=Q==="/"?"":Q,_=q.startsWith("/")?q:`/${q}`;return z+_}function o9(){let Q=window.navigation;if(!Q)throw Error("Navigation API is not available. Buzola requires a browser that supports the Navigation API.");let q=new Set,z=!1,_=(W)=>{let K=z;z=!1;let A={destination:{url:W.destination.url},canIntercept:W.canIntercept,navigationType:W.navigationType,userInitiated:W.userInitiated,viewTransition:K,intercept(L){W.intercept({handler:L.handler,scroll:L.scroll})}};for(let L of q)L(A)};return{getCurrentURL(){return new URL(Q.currentEntry.url)},navigate(W,K){if(K?.viewTransition)z=!0;Q.navigate(W,{history:K?.replace?"replace":"push",state:K?.state})},back(){Q.back()},forward(){Q.forward()},addEventListener(W,K){let A=q.size===0;if(q.add(K),A)Q.addEventListener("navigate",_)},removeEventListener(W,K){if(q.delete(K),q.size===0)Q.removeEventListener("navigate",_)},getState(){return Q.currentEntry?.getState?.()}}}function uT(Q){return!("issues"in Q["~standard"].validate(void 0))}function r9(Q,q,z){let _=Q["~standard"].validate(q);if("issues"in _)throw Error(`${z}${_.issues.map((W)=>W.message).join(", ")}`);return _.value}function dT(Q){let q=Q.startsWith("?"),z=q?Q.slice(1):Q,_=z.endsWith("[]"),W=_?z.slice(0,-2):z,K=dE[W];if(!K)throw Error(`[buzola] Unknown param type: ${W}`);let A;if(_)A=(L)=>{if(q&&(L===void 0||Array.isArray(L)&&L.length===0))return{value:void 0};if(!Array.isArray(L))return{issues:[{message:`expected ${W}[]`}]};let O=[];for(let I of L){let N=K(I);if("issues"in N)return N;O.push(N.value)}return{value:O}};else if(q)A=(L)=>L===void 0||L===""?{value:void 0}:K(L);else A=K;return{schema:{"~standard":{version:1,vendor:"buzola",validate:A}},optional:q,array:_}}var uE,dE;var RA=C(()=>{uE=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,dE={string:(Q)=>typeof Q==="string"?{value:Q}:{issues:[{message:"expected string"}]},number:(Q)=>{let q=Number(Q);return Number.isNaN(q)?{issues:[{message:"expected number"}]}:{value:q}},uuid:(Q)=>typeof Q==="string"&&uE.test(Q)?{value:Q}:{issues:[{message:"expected UUID"}]}}});var ZZ=pq((cE,jA)=>{(function(){function Q(V,u){Object.defineProperty(_.prototype,V,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",u[0],u[1])}})}function q(V){if(V===null||typeof V!=="object")return null;return V=Oq&&V[Oq]||V["@@iterator"],typeof V==="function"?V:null}function z(V,u){V=(V=V.constructor)&&(V.displayName||V.name)||"ReactClass";var YZ=V+"."+u;UZ[YZ]||(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.",u,V),UZ[YZ]=!0)}function _(V,u,YZ){this.props=V,this.context=u,this.refs=yY,this.updater=YZ||KQ}function W(){}function K(V,u,YZ){this.props=V,this.context=u,this.refs=yY,this.updater=YZ||KQ}function A(){}function L(V){return""+V}function O(V){try{L(V);var u=!1}catch(RZ){u=!0}if(u){u=console;var YZ=u.error,zZ=typeof Symbol==="function"&&Symbol.toStringTag&&V[Symbol.toStringTag]||V.constructor.name||"Object";return YZ.call(u,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",zZ),L(V)}}function I(V){if(V==null)return null;if(typeof V==="function")return V.$$typeof===Fq?null:V.displayName||V.name||null;if(typeof V==="string")return V;switch(V){case p:return"Fragment";case o:return"Profiler";case w:return"StrictMode";case JX:return"Suspense";case NZ:return"SuspenseList";case BX:return"Activity"}if(typeof V==="object")switch(typeof V.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),V.$$typeof){case e:return"Portal";case VZ:return V.displayName||"Context";case AZ:return(V._context.displayName||"Context")+".Consumer";case vZ:var u=V.render;return V=V.displayName,V||(V=u.displayName||u.name||"",V=V!==""?"ForwardRef("+V+")":"ForwardRef"),V;case YX:return u=V.displayName||null,u!==null?u:I(V.type)||"Memo";case TX:u=V._payload,V=V._init;try{return I(V(u))}catch(YZ){}}return null}function N(V){if(V===p)return"<>";if(typeof V==="object"&&V!==null&&V.$$typeof===TX)return"<...>";try{var u=I(V);return u?"<"+u+">":"<...>"}catch(YZ){return"<...>"}}function M(){var V=lZ.A;return V===null?null:V.getOwner()}function R(){return Error("react-stack-top-frame")}function j(V){if(fz.call(V,"key")){var u=Object.getOwnPropertyDescriptor(V,"key").get;if(u&&u.isReactWarning)return!1}return V.key!==void 0}function h(V,u){function YZ(){GB||(GB=!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)",u))}YZ.isReactWarning=!0,Object.defineProperty(V,"key",{get:YZ,configurable:!0})}function d(){var V=I(this.type);return LH[V]||(LH[V]=!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.")),V=this.props.ref,V!==void 0?V:null}function b(V,u,YZ,zZ,RZ,fZ){var uZ=YZ.ref;return V={$$typeof:g,type:V,key:u,props:YZ,_owner:zZ},(uZ!==void 0?uZ:null)!==null?Object.defineProperty(V,"ref",{enumerable:!1,get:d}):Object.defineProperty(V,"ref",{enumerable:!1,value:null}),V._store={},Object.defineProperty(V._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(V,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(V,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:RZ}),Object.defineProperty(V,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:fZ}),Object.freeze&&(Object.freeze(V.props),Object.freeze(V)),V}function a(V,u){return u=b(V.type,u,V.props,V._owner,V._debugStack,V._debugTask),V._store&&(u._store.validated=V._store.validated),u}function t(V){qZ(V)?V._store&&(V._store.validated=1):typeof V==="object"&&V!==null&&V.$$typeof===TX&&(V._payload.status==="fulfilled"?qZ(V._payload.value)&&V._payload.value._store&&(V._payload.value._store.validated=1):V._store&&(V._store.validated=1))}function qZ(V){return typeof V==="object"&&V!==null&&V.$$typeof===g}function QZ(V){var u={"=":"=0",":":"=2"};return"$"+V.replace(/[=:]/g,function(YZ){return u[YZ]})}function LZ(V,u){return typeof V==="object"&&V!==null&&V.key!=null?(O(V.key),QZ(""+V.key)):u.toString(36)}function kZ(V){switch(V.status){case"fulfilled":return V.value;case"rejected":throw V.reason;default:switch(typeof V.status==="string"?V.then(A,A):(V.status="pending",V.then(function(u){V.status==="pending"&&(V.status="fulfilled",V.value=u)},function(u){V.status==="pending"&&(V.status="rejected",V.reason=u)})),V.status){case"fulfilled":return V.value;case"rejected":throw V.reason}}throw V}function JZ(V,u,YZ,zZ,RZ){var fZ=typeof V;if(fZ==="undefined"||fZ==="boolean")V=null;var uZ=!1;if(V===null)uZ=!0;else switch(fZ){case"bigint":case"string":case"number":uZ=!0;break;case"object":switch(V.$$typeof){case g:case e:uZ=!0;break;case TX:return uZ=V._init,JZ(uZ(V._payload),u,YZ,zZ,RZ)}}if(uZ){uZ=V,RZ=RZ(uZ);var WX=zZ===""?"."+LZ(uZ,0):zZ;return PZ(RZ)?(YZ="",WX!=null&&(YZ=WX.replace(dz,"$&/")+"/"),JZ(RZ,u,YZ,"",function(vY){return vY})):RZ!=null&&(qZ(RZ)&&(RZ.key!=null&&(uZ&&uZ.key===RZ.key||O(RZ.key)),YZ=a(RZ,YZ+(RZ.key==null||uZ&&uZ.key===RZ.key?"":(""+RZ.key).replace(dz,"$&/")+"/")+WX),zZ!==""&&uZ!=null&&qZ(uZ)&&uZ.key==null&&uZ._store&&!uZ._store.validated&&(YZ._store.validated=2),RZ=YZ),u.push(RZ)),1}if(uZ=0,WX=zZ===""?".":zZ+":",PZ(V))for(var SZ=0;SZ<V.length;SZ++)zZ=V[SZ],fZ=WX+LZ(zZ,SZ),uZ+=JZ(zZ,u,YZ,fZ,RZ);else if(SZ=q(V),typeof SZ==="function")for(SZ===V.entries&&(uz||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),uz=!0),V=SZ.call(V),SZ=0;!(zZ=V.next()).done;)zZ=zZ.value,fZ=WX+LZ(zZ,SZ++),uZ+=JZ(zZ,u,YZ,fZ,RZ);else if(fZ==="object"){if(typeof V.then==="function")return JZ(kZ(V),u,YZ,zZ,RZ);throw u=String(V),Error("Objects are not valid as a React child (found: "+(u==="[object Object]"?"object with keys {"+Object.keys(V).join(", ")+"}":u)+"). If you meant to render a collection of children, use an array instead.")}return uZ}function l(V,u,YZ){if(V==null)return V;var zZ=[],RZ=0;return JZ(V,zZ,"","",function(fZ){return u.call(YZ,fZ,RZ++)}),zZ}function OZ(V){if(V._status===-1){var u=V._ioInfo;u!=null&&(u.start=u.end=performance.now()),u=V._result;var YZ=u();if(YZ.then(function(RZ){if(V._status===0||V._status===-1){V._status=1,V._result=RZ;var fZ=V._ioInfo;fZ!=null&&(fZ.end=performance.now()),YZ.status===void 0&&(YZ.status="fulfilled",YZ.value=RZ)}},function(RZ){if(V._status===0||V._status===-1){V._status=2,V._result=RZ;var fZ=V._ioInfo;fZ!=null&&(fZ.end=performance.now()),YZ.status===void 0&&(YZ.status="rejected",YZ.reason=RZ)}}),u=V._ioInfo,u!=null){u.value=YZ;var zZ=YZ.displayName;typeof zZ==="string"&&(u.name=zZ)}V._status===-1&&(V._status=0,V._result=YZ)}if(V._status===1)return u=V._result,u===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
1
+ var $E=Object.create;var{getPrototypeOf:SE,defineProperty:c9,getOwnPropertyNames:EE}=Object;var kE=Object.prototype.hasOwnProperty;function xE(Q){return this[Q]}var yE,vE,f=(Q,q,H)=>{var _=Q!=null&&typeof Q==="object";if(_){var W=q?yE??=new WeakMap:vE??=new WeakMap,K=W.get(Q);if(K)return K}H=Q!=null?$E(SE(Q)):{};let A=q||!Q||!Q.__esModule?c9(H,"default",{value:Q,enumerable:!0}):H;for(let L of EE(Q))if(!kE.call(A,L))c9(A,L,{get:xE.bind(Q,L),enumerable:!0});if(_)W.set(Q,A);return A};var pq=(Q,q)=>()=>(q||Q((q={exports:{}}).exports,q),q.exports);var hE=(Q)=>Q;function bE(Q,q){this[Q]=hE.bind(null,q)}var p_=(Q,q)=>{for(var H in q)c9(Q,H,{get:q[H],enumerable:!0,configurable:!0,set:bE.bind(q,H)})};var C=(Q,q)=>()=>(Q&&(q=Q(Q=0)),q);class wA{cache=new Map;_maxSize;constructor(Q){if(Q<0)throw Error(`[buzola] LoaderCache maxSize must be non-negative, got ${Q}`);this._maxSize=Q}get maxSize(){return this._maxSize}get size(){return this.cache.size}get(Q){let q=this.cache.get(Q);if(q!==void 0||this.cache.has(Q))this.cache.delete(Q),this.cache.set(Q,q);return q}has(Q){return this.cache.has(Q)}set(Q,q){this.cache.delete(Q),this.cache.set(Q,q);while(this.cache.size>this._maxSize){let H=this.cache.keys().next().value;this.cache.delete(H)}}delete(Q){this.cache.delete(Q)}clear(){this.cache.clear()}}function l_(Q,q){let H=q.pathname,_=H.split("/").filter(Boolean);return p9(Q.root,_,0,{},H)}function p9(Q,q,H,_,W){if(H===q.length){if(Q.route)return bT(Q.route.chain,_,W);return null}let K=q[H],A=Q.staticChildren.get(K);if(A){let L=p9(A,q,H+1,_,W);if(L)return L}if(Q.dynamicChild){let L={..._,[Q.dynamicChild.paramName]:decodeURIComponent(K)},O=p9(Q.dynamicChild.node,q,H+1,L,W);if(O)return O}if(Q.catchAllChild){let L=q.slice(H).map((I)=>decodeURIComponent(I)).join("/"),O={..._,[Q.catchAllChild.paramName]:L};return bT(Q.catchAllChild.chain,O,W)}return null}function bT(Q,q,H){return Q.map((_)=>({node:_,params:q,pathname:H}))}function l9(Q){let q=Q.endsWith("+");return{name:q?Q.slice(1,-1):Q.slice(1),isCatchAll:q}}function LK(Q){let q=[];for(let H of Q.split("/"))if(H.startsWith(":"))q.push(l9(H).name);return q}class VA{routes;adapter;viewTransitions;_basePath;persistentParamsFn;pageRegistry;subscribers=new Set;invalidationListeners=new Set;state;navigationId=0;stopFn;blockers=new Set;pendingScrollBehavior="after-transition";_loaderCache;constructor(Q){this.routes=Q.routes,this.adapter=Q.adapter,this.viewTransitions=Q.viewTransitions??!1,this._basePath=Q.basePath?Q.basePath.replace(/\/$/,""):"",this.persistentParamsFn=Q.persistentParams,this.pageRegistry=Q.pageRegistry??{},this._loaderCache=Q.loaderCacheSize?new wA(Q.loaderCacheSize):void 0;let q=this.adapter.getCurrentURL(),H=this.createMatchUrl(q),_=l_(this.routes,H)??[];if(_.length===0)console.warn(`[buzola] No route matched URL "${q.pathname}". Define a catch-all 404 route to handle unmatched URLs.`);this.state={location:q,matches:_,isPending:!1,navigationState:this.adapter.getState()}}get basePath(){return this._basePath}get loaderCache(){return this._loaderCache}getState(){return this.state}subscribe(Q){return this.subscribers.add(Q),()=>{this.subscribers.delete(Q)}}start(){let Q=(H)=>{if(!H.canIntercept)return;let _=new URL(H.destination.url),W=this.createMatchUrl(_),K=l_(this.routes,W);if(!K){console.warn(`[buzola] No route matched URL "${_.pathname}". The navigation was not intercepted.`);return}let A=++this.navigationId,L=H.viewTransition||this.viewTransitions,O=this.pendingScrollBehavior;this.pendingScrollBehavior="after-transition",H.intercept({scroll:O,handler:async()=>{for(let N of this.blockers){if(this.navigationId!==A)return;if(!await N())throw new i9}if(this.setState({...this.state,isPending:!0,pendingLocation:_}),this.navigationId!==A)return;let I=()=>{this.setState({location:_,matches:K,isPending:!1,pendingLocation:void 0,navigationState:this.adapter.getState()})};if(L&&typeof document<"u"&&"startViewTransition"in document)document.startViewTransition(I);else I()}})};this.adapter.addEventListener("navigate",Q);let q=()=>{this.adapter.removeEventListener("navigate",Q)};return this.stopFn=q,q}navigate(Q,q){if(q?.resetScroll===!1)this.pendingScrollBehavior="manual";this.adapter.navigate(this._basePath+Q,q)}navigateToPage(Q,q,H){let _=this.buildPagePath(Q,q);this.navigate(this.stripBasePath(_),H)}buildPagePath(Q,q){let H=this.pageRegistry[Q];if(!H)throw Error(`[buzola] Unknown page "${Q}". Is it registered in the page registry?`);let _=this.resolveParams(H,q);return this.buildPath(H,_)}preload(Q,q){let H=this.buildPagePath(Q,q),_=new URL(H,"http://localhost"),W=this.createMatchUrl(_),K=l_(this.routes,W);if(!K)return;for(let A of K)A.node.preload?.()}back(){this.adapter.back()}forward(){this.adapter.forward()}buildPath(Q,q){let H=Q.split("/"),_=[],W=[];for(let I of H)if(I.startsWith(":")){let{name:N,isCatchAll:M}=l9(I),R=q?.[N];if(R===void 0)W.push(N);else if(M)_.push(R);else _.push(encodeURIComponent(R))}else _.push(I);if(W.length>0){if(!q)throw Error(`[buzola] Missing params for path "${Q}": ${W.join(", ")}`);throw Error(`[buzola] Missing param "${W[0]}" for path "${Q}"`)}let K=new Set(LK(Q)),A=new URLSearchParams;if(q){for(let[I,N]of Object.entries(q))if(!K.has(I)&&N!==void 0)A.set(I,N)}let L=this._basePath+_.join("/"),O=A.toString();return O?`${L}?${O}`:L}stripBasePath(Q){if(this._basePath&&Q.startsWith(this._basePath))return Q.slice(this._basePath.length)||"/";return Q}resolveParams(Q,q){let H=LK(Q),_=this.getCurrentParams(),W=this.persistentParamsFn?.()??{},K={};for(let A of H){let L=q?.[A]??_[A]??W[A];if(L!==void 0)K[A]=L}if(q){let A=new Set(H);for(let[L,O]of Object.entries(q))if(!A.has(L)&&O!==void 0)K[L]=O}return K}getCurrentParams(){let Q={};for(let q of this.state.matches)Object.assign(Q,q.params);return Q}invalidateAll(){for(let Q of this.invalidationListeners)Q()}onInvalidate(Q){return this.invalidationListeners.add(Q),()=>{this.invalidationListeners.delete(Q)}}addBlocker(Q){return this.blockers.add(Q),()=>{this.blockers.delete(Q)}}dispose(){this.stopFn?.(),this.stopFn=void 0,this.subscribers.clear(),this.invalidationListeners.clear()}updateRoutes(Q){this.routes=Q;let q=l_(this.routes,this.createMatchUrl(this.state.location))??[];this.setState({...this.state,matches:q})}createMatchUrl(Q){if(!this._basePath)return Q;let q=new URL(Q);return q.pathname=this.stripBasePath(q.pathname),q}setState(Q){this.state=Q;for(let q of this.subscribers)q(this.state)}}var i9;var n9=C(()=>{i9=class i9 extends Error{constructor(){super("Navigation aborted by blocker");this.name="NavigationAbortedError"}}});function mT(Q){let{path:q,fullPath:H,component:_,searchSchema:W,preload:K,isLayout:A=!1,isIndex:L=!1}=Q;return{id:`route:${H||"/"}${A?":layout":""}`,path:gT(q),fullPath:gT(H),component:_,searchSchema:W,preload:K,isLayout:A,isIndex:L}}function a9(Q,q=""){let H=fT(Q,q,[]),_=s9();for(let W of H)gE(_,W.pattern,W.chain);return{root:_}}function fT(Q,q,H){let _=[];for(let W of Q){let K=W.isPathlessGroup?"":W.path,A=W.children!=null&&W.children.length>0,L=W.isLayout??A,O=W.isIndex??(!L&&(W.path==="/"||W.path==="")),I;if(W.matchPath!=null)I=W.matchPath;else if(O)I=q||"/";else I=fE(q||"/",K);let N=mT({path:K,fullPath:I,component:W.component,searchSchema:W.searchSchema,preload:W.preload,isLayout:L,isIndex:O});if(L){let M=[...H,N];if(W.children){let R=W.isPathlessGroup?q:I;_.push(...fT(W.children,R,M))}}else _.push({pattern:I,chain:[...H,N]})}return _}function s9(){return{staticChildren:new Map}}function gE(Q,q,H){let _=mE(q),W=Q;for(let K=0;K<_.length;K++){let A=_[K];if(A.startsWith(":")&&(A.endsWith("+")||A.endsWith("*"))){let L=A.slice(1,-1);W.catchAllChild={paramName:L,chain:H};return}if(A.startsWith(":")){let L=A.slice(1);if(!W.dynamicChild)W.dynamicChild={paramName:L,node:s9()};W=W.dynamicChild.node}else{let L=W.staticChildren.get(A);if(!L)L=s9(),W.staticChildren.set(A,L);W=L}}W.route={chain:H}}function mE(Q){return Q.split("/").filter(Boolean)}function gT(Q){if(Q===""||Q==="/")return"/";let q=Q.startsWith("/")?Q:`/${Q}`;return q.endsWith("/")?q.slice(0,-1):q}function fE(Q,q){if(q==="/")return Q==="/"?"/":Q;let H=Q==="/"?"":Q,_=q.startsWith("/")?q:`/${q}`;return H+_}function o9(){let Q=window.navigation;if(!Q)throw Error("Navigation API is not available. Buzola requires a browser that supports the Navigation API.");let q=new Set,H=!1,_=(W)=>{let K=H;H=!1;let A={destination:{url:W.destination.url},canIntercept:W.canIntercept,navigationType:W.navigationType,userInitiated:W.userInitiated,viewTransition:K,intercept(L){W.intercept({handler:L.handler,scroll:L.scroll})}};for(let L of q)L(A)};return{getCurrentURL(){return new URL(Q.currentEntry.url)},navigate(W,K){if(K?.viewTransition)H=!0;Q.navigate(W,{history:K?.replace?"replace":"push",state:K?.state})},back(){Q.back()},forward(){Q.forward()},addEventListener(W,K){let A=q.size===0;if(q.add(K),A)Q.addEventListener("navigate",_)},removeEventListener(W,K){if(q.delete(K),q.size===0)Q.removeEventListener("navigate",_)},getState(){return Q.currentEntry?.getState?.()}}}function uT(Q){return!("issues"in Q["~standard"].validate(void 0))}function r9(Q,q,H){let _=Q["~standard"].validate(q);if("issues"in _)throw Error(`${H}${_.issues.map((W)=>W.message).join(", ")}`);return _.value}function dT(Q){let q=Q.startsWith("?"),H=q?Q.slice(1):Q,_=H.endsWith("[]"),W=_?H.slice(0,-2):H,K=dE[W];if(!K)throw Error(`[buzola] Unknown param type: ${W}`);let A;if(_)A=(L)=>{if(q&&(L===void 0||Array.isArray(L)&&L.length===0))return{value:void 0};if(!Array.isArray(L))return{issues:[{message:`expected ${W}[]`}]};let O=[];for(let I of L){let N=K(I);if("issues"in N)return N;O.push(N.value)}return{value:O}};else if(q)A=(L)=>L===void 0||L===""?{value:void 0}:K(L);else A=K;return{schema:{"~standard":{version:1,vendor:"buzola",validate:A}},optional:q,array:_}}var uE,dE;var RA=C(()=>{uE=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,dE={string:(Q)=>typeof Q==="string"?{value:Q}:{issues:[{message:"expected string"}]},number:(Q)=>{let q=Number(Q);return Number.isNaN(q)?{issues:[{message:"expected number"}]}:{value:q}},uuid:(Q)=>typeof Q==="string"&&uE.test(Q)?{value:Q}:{issues:[{message:"expected UUID"}]}}});var ZZ=pq((cE,jA)=>{(function(){function Q(V,u){Object.defineProperty(_.prototype,V,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",u[0],u[1])}})}function q(V){if(V===null||typeof V!=="object")return null;return V=Oq&&V[Oq]||V["@@iterator"],typeof V==="function"?V:null}function H(V,u){V=(V=V.constructor)&&(V.displayName||V.name)||"ReactClass";var YZ=V+"."+u;UZ[YZ]||(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.",u,V),UZ[YZ]=!0)}function _(V,u,YZ){this.props=V,this.context=u,this.refs=yY,this.updater=YZ||KQ}function W(){}function K(V,u,YZ){this.props=V,this.context=u,this.refs=yY,this.updater=YZ||KQ}function A(){}function L(V){return""+V}function O(V){try{L(V);var u=!1}catch(RZ){u=!0}if(u){u=console;var YZ=u.error,HZ=typeof Symbol==="function"&&Symbol.toStringTag&&V[Symbol.toStringTag]||V.constructor.name||"Object";return YZ.call(u,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",HZ),L(V)}}function I(V){if(V==null)return null;if(typeof V==="function")return V.$$typeof===Fq?null:V.displayName||V.name||null;if(typeof V==="string")return V;switch(V){case p:return"Fragment";case o:return"Profiler";case w:return"StrictMode";case JX:return"Suspense";case NZ:return"SuspenseList";case BX:return"Activity"}if(typeof V==="object")switch(typeof V.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),V.$$typeof){case e:return"Portal";case VZ:return V.displayName||"Context";case AZ:return(V._context.displayName||"Context")+".Consumer";case vZ:var u=V.render;return V=V.displayName,V||(V=u.displayName||u.name||"",V=V!==""?"ForwardRef("+V+")":"ForwardRef"),V;case YX:return u=V.displayName||null,u!==null?u:I(V.type)||"Memo";case TX:u=V._payload,V=V._init;try{return I(V(u))}catch(YZ){}}return null}function N(V){if(V===p)return"<>";if(typeof V==="object"&&V!==null&&V.$$typeof===TX)return"<...>";try{var u=I(V);return u?"<"+u+">":"<...>"}catch(YZ){return"<...>"}}function M(){var V=lZ.A;return V===null?null:V.getOwner()}function R(){return Error("react-stack-top-frame")}function j(V){if(fH.call(V,"key")){var u=Object.getOwnPropertyDescriptor(V,"key").get;if(u&&u.isReactWarning)return!1}return V.key!==void 0}function h(V,u){function YZ(){GB||(GB=!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)",u))}YZ.isReactWarning=!0,Object.defineProperty(V,"key",{get:YZ,configurable:!0})}function d(){var V=I(this.type);return Lz[V]||(Lz[V]=!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.")),V=this.props.ref,V!==void 0?V:null}function b(V,u,YZ,HZ,RZ,fZ){var uZ=YZ.ref;return V={$$typeof:g,type:V,key:u,props:YZ,_owner:HZ},(uZ!==void 0?uZ:null)!==null?Object.defineProperty(V,"ref",{enumerable:!1,get:d}):Object.defineProperty(V,"ref",{enumerable:!1,value:null}),V._store={},Object.defineProperty(V._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(V,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(V,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:RZ}),Object.defineProperty(V,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:fZ}),Object.freeze&&(Object.freeze(V.props),Object.freeze(V)),V}function a(V,u){return u=b(V.type,u,V.props,V._owner,V._debugStack,V._debugTask),V._store&&(u._store.validated=V._store.validated),u}function t(V){qZ(V)?V._store&&(V._store.validated=1):typeof V==="object"&&V!==null&&V.$$typeof===TX&&(V._payload.status==="fulfilled"?qZ(V._payload.value)&&V._payload.value._store&&(V._payload.value._store.validated=1):V._store&&(V._store.validated=1))}function qZ(V){return typeof V==="object"&&V!==null&&V.$$typeof===g}function QZ(V){var u={"=":"=0",":":"=2"};return"$"+V.replace(/[=:]/g,function(YZ){return u[YZ]})}function LZ(V,u){return typeof V==="object"&&V!==null&&V.key!=null?(O(V.key),QZ(""+V.key)):u.toString(36)}function kZ(V){switch(V.status){case"fulfilled":return V.value;case"rejected":throw V.reason;default:switch(typeof V.status==="string"?V.then(A,A):(V.status="pending",V.then(function(u){V.status==="pending"&&(V.status="fulfilled",V.value=u)},function(u){V.status==="pending"&&(V.status="rejected",V.reason=u)})),V.status){case"fulfilled":return V.value;case"rejected":throw V.reason}}throw V}function JZ(V,u,YZ,HZ,RZ){var fZ=typeof V;if(fZ==="undefined"||fZ==="boolean")V=null;var uZ=!1;if(V===null)uZ=!0;else switch(fZ){case"bigint":case"string":case"number":uZ=!0;break;case"object":switch(V.$$typeof){case g:case e:uZ=!0;break;case TX:return uZ=V._init,JZ(uZ(V._payload),u,YZ,HZ,RZ)}}if(uZ){uZ=V,RZ=RZ(uZ);var WX=HZ===""?"."+LZ(uZ,0):HZ;return PZ(RZ)?(YZ="",WX!=null&&(YZ=WX.replace(dH,"$&/")+"/"),JZ(RZ,u,YZ,"",function(vY){return vY})):RZ!=null&&(qZ(RZ)&&(RZ.key!=null&&(uZ&&uZ.key===RZ.key||O(RZ.key)),YZ=a(RZ,YZ+(RZ.key==null||uZ&&uZ.key===RZ.key?"":(""+RZ.key).replace(dH,"$&/")+"/")+WX),HZ!==""&&uZ!=null&&qZ(uZ)&&uZ.key==null&&uZ._store&&!uZ._store.validated&&(YZ._store.validated=2),RZ=YZ),u.push(RZ)),1}if(uZ=0,WX=HZ===""?".":HZ+":",PZ(V))for(var SZ=0;SZ<V.length;SZ++)HZ=V[SZ],fZ=WX+LZ(HZ,SZ),uZ+=JZ(HZ,u,YZ,fZ,RZ);else if(SZ=q(V),typeof SZ==="function")for(SZ===V.entries&&(uH||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),uH=!0),V=SZ.call(V),SZ=0;!(HZ=V.next()).done;)HZ=HZ.value,fZ=WX+LZ(HZ,SZ++),uZ+=JZ(HZ,u,YZ,fZ,RZ);else if(fZ==="object"){if(typeof V.then==="function")return JZ(kZ(V),u,YZ,HZ,RZ);throw u=String(V),Error("Objects are not valid as a React child (found: "+(u==="[object Object]"?"object with keys {"+Object.keys(V).join(", ")+"}":u)+"). If you meant to render a collection of children, use an array instead.")}return uZ}function l(V,u,YZ){if(V==null)return V;var HZ=[],RZ=0;return JZ(V,HZ,"","",function(fZ){return u.call(YZ,fZ,RZ++)}),HZ}function OZ(V){if(V._status===-1){var u=V._ioInfo;u!=null&&(u.start=u.end=performance.now()),u=V._result;var YZ=u();if(YZ.then(function(RZ){if(V._status===0||V._status===-1){V._status=1,V._result=RZ;var fZ=V._ioInfo;fZ!=null&&(fZ.end=performance.now()),YZ.status===void 0&&(YZ.status="fulfilled",YZ.value=RZ)}},function(RZ){if(V._status===0||V._status===-1){V._status=2,V._result=RZ;var fZ=V._ioInfo;fZ!=null&&(fZ.end=performance.now()),YZ.status===void 0&&(YZ.status="rejected",YZ.reason=RZ)}}),u=V._ioInfo,u!=null){u.value=YZ;var HZ=YZ.displayName;typeof HZ==="string"&&(u.name=HZ)}V._status===-1&&(V._status=0,V._result=YZ)}if(V._status===1)return u=V._result,u===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
2
 
3
3
  Your code should look like:
4
4
  const MyComponent = lazy(() => import('./MyComponent'))
@@ -10,72 +10,72 @@ Your code should look like:
10
10
  1. You might have mismatching versions of React and the renderer (such as React DOM)
11
11
  2. You might be breaking the Rules of Hooks
12
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.`),V}function wZ(){lZ.asyncTransitions--}function WZ(V){if(OH===null)try{var u=("require"+Math.random()).slice(0,7);OH=(jA&&jA[u]).call(jA,"timers").setImmediate}catch(YZ){OH=function(zZ){HB===!1&&(HB=!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 RZ=new MessageChannel;RZ.port1.onmessage=zZ,RZ.port2.postMessage(void 0)}}return OH(V)}function HZ(V){return 1<V.length&&typeof AggregateError==="function"?AggregateError(V):V[0]}function v(V,u){u!==FH-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. "),FH=u}function m(V,u,YZ){var zZ=lZ.actQueue;if(zZ!==null)if(zZ.length!==0)try{E(zZ),WZ(function(){return m(V,u,YZ)});return}catch(RZ){lZ.thrownErrors.push(RZ)}else lZ.actQueue=null;0<lZ.thrownErrors.length?(zZ=HZ(lZ.thrownErrors),lZ.thrownErrors.length=0,YZ(zZ)):u(V)}function E(V){if(!NH){NH=!0;var u=0;try{for(;u<V.length;u++){var YZ=V[u];do{lZ.didUsePromise=!1;var zZ=YZ(!1);if(zZ!==null){if(lZ.didUsePromise){V[u]=YZ,V.splice(0,u);return}YZ=zZ}else break}while(1)}V.length=0}catch(RZ){V.splice(0,u+1),lZ.thrownErrors.push(RZ)}finally{NH=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var g=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),AZ=Symbol.for("react.consumer"),VZ=Symbol.for("react.context"),vZ=Symbol.for("react.forward_ref"),JX=Symbol.for("react.suspense"),NZ=Symbol.for("react.suspense_list"),YX=Symbol.for("react.memo"),TX=Symbol.for("react.lazy"),BX=Symbol.for("react.activity"),Oq=Symbol.iterator,UZ={},KQ={isMounted:function(){return!1},enqueueForceUpdate:function(V){z(V,"forceUpdate")},enqueueReplaceState:function(V){z(V,"replaceState")},enqueueSetState:function(V){z(V,"setState")}},BQ=Object.assign,yY={};Object.freeze(yY),_.prototype.isReactComponent={},_.prototype.setState=function(V,u){if(typeof V!=="object"&&typeof V!=="function"&&V!=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,V,u,"setState")},_.prototype.forceUpdate=function(V){this.updater.enqueueForceUpdate(this,V,"forceUpdate")};var oX={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(JG in oX)oX.hasOwnProperty(JG)&&Q(JG,oX[JG]);W.prototype=_.prototype,oX=K.prototype=new W,oX.constructor=K,BQ(oX,_.prototype),oX.isPureReactComponent=!0;var PZ=Array.isArray,Fq=Symbol.for("react.client.reference"),lZ={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},fz=Object.prototype.hasOwnProperty,jX=console.createTask?console.createTask:function(){return null};oX={react_stack_bottom_frame:function(V){return V()}};var GB,EJ,LH={},AH=oX.react_stack_bottom_frame.bind(oX,R)(),_F=jX(N(R)),uz=!1,dz=/\/+/g,QG=typeof reportError==="function"?reportError:function(V){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var u=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof V==="object"&&V!==null&&typeof V.message==="string"?String(V.message):String(V),error:V});if(!window.dispatchEvent(u))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",V);return}console.error(V)},HB=!1,OH=null,FH=0,MH=!1,NH=!1,hW=typeof queueMicrotask==="function"?function(V){queueMicrotask(function(){return queueMicrotask(V)})}:WZ;oX=Object.freeze({__proto__:null,c:function(V){return n().useMemoCache(V)}});var JG={map:l,forEach:function(V,u,YZ){l(V,function(){u.apply(this,arguments)},YZ)},count:function(V){var u=0;return l(V,function(){u++}),u},toArray:function(V){return l(V,function(u){return u})||[]},only:function(V){if(!qZ(V))throw Error("React.Children.only expected to receive a single React element child.");return V}};cE.Activity=BX,cE.Children=JG,cE.Component=_,cE.Fragment=p,cE.Profiler=o,cE.PureComponent=K,cE.StrictMode=w,cE.Suspense=JX,cE.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=lZ,cE.__COMPILER_RUNTIME=oX,cE.act=function(V){var u=lZ.actQueue,YZ=FH;FH++;var zZ=lZ.actQueue=u!==null?u:[],RZ=!1;try{var fZ=V()}catch(SZ){lZ.thrownErrors.push(SZ)}if(0<lZ.thrownErrors.length)throw v(u,YZ),V=HZ(lZ.thrownErrors),lZ.thrownErrors.length=0,V;if(fZ!==null&&typeof fZ==="object"&&typeof fZ.then==="function"){var uZ=fZ;return hW(function(){RZ||MH||(MH=!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(SZ,vY){RZ=!0,uZ.then(function(LQ){if(v(u,YZ),YZ===0){try{E(zZ),WZ(function(){return m(LQ,SZ,vY)})}catch(bW){lZ.thrownErrors.push(bW)}if(0<lZ.thrownErrors.length){var qG=HZ(lZ.thrownErrors);lZ.thrownErrors.length=0,vY(qG)}}else SZ(LQ)},function(LQ){v(u,YZ),0<lZ.thrownErrors.length?(LQ=HZ(lZ.thrownErrors),lZ.thrownErrors.length=0,vY(LQ)):vY(LQ)})}}}var WX=fZ;if(v(u,YZ),YZ===0&&(E(zZ),zZ.length!==0&&hW(function(){RZ||MH||(MH=!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(() => ...)"))}),lZ.actQueue=null),0<lZ.thrownErrors.length)throw V=HZ(lZ.thrownErrors),lZ.thrownErrors.length=0,V;return{then:function(SZ,vY){RZ=!0,YZ===0?(lZ.actQueue=zZ,WZ(function(){return m(WX,SZ,vY)})):SZ(WX)}}},cE.cache=function(V){return function(){return V.apply(null,arguments)}},cE.cacheSignal=function(){return null},cE.captureOwnerStack=function(){var V=lZ.getCurrentStack;return V===null?null:V()},cE.cloneElement=function(V,u,YZ){if(V===null||V===void 0)throw Error("The argument must be a React element, but you passed "+V+".");var zZ=BQ({},V.props),RZ=V.key,fZ=V._owner;if(u!=null){var uZ;Z:{if(fz.call(u,"ref")&&(uZ=Object.getOwnPropertyDescriptor(u,"ref").get)&&uZ.isReactWarning){uZ=!1;break Z}uZ=u.ref!==void 0}uZ&&(fZ=M()),j(u)&&(O(u.key),RZ=""+u.key);for(WX in u)!fz.call(u,WX)||WX==="key"||WX==="__self"||WX==="__source"||WX==="ref"&&u.ref===void 0||(zZ[WX]=u[WX])}var WX=arguments.length-2;if(WX===1)zZ.children=YZ;else if(1<WX){uZ=Array(WX);for(var SZ=0;SZ<WX;SZ++)uZ[SZ]=arguments[SZ+2];zZ.children=uZ}zZ=b(V.type,RZ,zZ,fZ,V._debugStack,V._debugTask);for(RZ=2;RZ<arguments.length;RZ++)t(arguments[RZ]);return zZ},cE.createContext=function(V){return V={$$typeof:VZ,_currentValue:V,_currentValue2:V,_threadCount:0,Provider:null,Consumer:null},V.Provider=V,V.Consumer={$$typeof:AZ,_context:V},V._currentRenderer=null,V._currentRenderer2=null,V},cE.createElement=function(V,u,YZ){for(var zZ=2;zZ<arguments.length;zZ++)t(arguments[zZ]);zZ={};var RZ=null;if(u!=null)for(SZ in EJ||!("__self"in u)||"key"in u||(EJ=!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")),j(u)&&(O(u.key),RZ=""+u.key),u)fz.call(u,SZ)&&SZ!=="key"&&SZ!=="__self"&&SZ!=="__source"&&(zZ[SZ]=u[SZ]);var fZ=arguments.length-2;if(fZ===1)zZ.children=YZ;else if(1<fZ){for(var uZ=Array(fZ),WX=0;WX<fZ;WX++)uZ[WX]=arguments[WX+2];Object.freeze&&Object.freeze(uZ),zZ.children=uZ}if(V&&V.defaultProps)for(SZ in fZ=V.defaultProps,fZ)zZ[SZ]===void 0&&(zZ[SZ]=fZ[SZ]);RZ&&h(zZ,typeof V==="function"?V.displayName||V.name||"Unknown":V);var SZ=1e4>lZ.recentlyCreatedOwnerStacks++;return b(V,RZ,zZ,M(),SZ?Error("react-stack-top-frame"):AH,SZ?jX(N(V)):_F)},cE.createRef=function(){var V={current:null};return Object.seal(V),V},cE.forwardRef=function(V){V!=null&&V.$$typeof===YX?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof V!=="function"?console.error("forwardRef requires a render function but was given %s.",V===null?"null":typeof V):V.length!==0&&V.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",V.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),V!=null&&V.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var u={$$typeof:vZ,render:V},YZ;return Object.defineProperty(u,"displayName",{enumerable:!1,configurable:!0,get:function(){return YZ},set:function(zZ){YZ=zZ,V.name||V.displayName||(Object.defineProperty(V,"name",{value:zZ}),V.displayName=zZ)}}),u},cE.isValidElement=qZ,cE.lazy=function(V){V={_status:-1,_result:V};var u={$$typeof:TX,_payload:V,_init:OZ},YZ={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return V._ioInfo=YZ,u._debugInfo=[{awaited:YZ}],u},cE.memo=function(V,u){V==null&&console.error("memo: The first argument must be a component. Instead received: %s",V===null?"null":typeof V),u={$$typeof:YX,type:V,compare:u===void 0?null:u};var YZ;return Object.defineProperty(u,"displayName",{enumerable:!1,configurable:!0,get:function(){return YZ},set:function(zZ){YZ=zZ,V.name||V.displayName||(Object.defineProperty(V,"name",{value:zZ}),V.displayName=zZ)}}),u},cE.startTransition=function(V){var u=lZ.T,YZ={};YZ._updatedFibers=new Set,lZ.T=YZ;try{var zZ=V(),RZ=lZ.S;RZ!==null&&RZ(YZ,zZ),typeof zZ==="object"&&zZ!==null&&typeof zZ.then==="function"&&(lZ.asyncTransitions++,zZ.then(wZ,wZ),zZ.then(A,QG))}catch(fZ){QG(fZ)}finally{u===null&&YZ._updatedFibers&&(V=YZ._updatedFibers.size,YZ._updatedFibers.clear(),10<V&&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.")),u!==null&&YZ.types!==null&&(u.types!==null&&u.types!==YZ.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."),u.types=YZ.types),lZ.T=u}},cE.unstable_useCacheRefresh=function(){return n().useCacheRefresh()},cE.use=function(V){return n().use(V)},cE.useActionState=function(V,u,YZ){return n().useActionState(V,u,YZ)},cE.useCallback=function(V,u){return n().useCallback(V,u)},cE.useContext=function(V){var u=n();return V.$$typeof===AZ&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),u.useContext(V)},cE.useDebugValue=function(V,u){return n().useDebugValue(V,u)},cE.useDeferredValue=function(V,u){return n().useDeferredValue(V,u)},cE.useEffect=function(V,u){return V==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),n().useEffect(V,u)},cE.useEffectEvent=function(V){return n().useEffectEvent(V)},cE.useId=function(){return n().useId()},cE.useImperativeHandle=function(V,u,YZ){return n().useImperativeHandle(V,u,YZ)},cE.useInsertionEffect=function(V,u){return V==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),n().useInsertionEffect(V,u)},cE.useLayoutEffect=function(V,u){return V==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),n().useLayoutEffect(V,u)},cE.useMemo=function(V,u){return n().useMemo(V,u)},cE.useOptimistic=function(V,u){return n().useOptimistic(V,u)},cE.useReducer=function(V,u,YZ){return n().useReducer(V,u,YZ)},cE.useRef=function(V){return n().useRef(V)},cE.useState=function(V){return n().useState(V)},cE.useSyncExternalStore=function(V,u,YZ){return n().useSyncExternalStore(V,u,YZ)},cE.useTransition=function(){return n().useTransition()},cE.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var i_=pq((pE)=>{var Jz=f(ZZ());(function(){function Q(w){if(w==null)return null;if(typeof w==="function")return w.$$typeof===n?null:w.displayName||w.name||null;if(typeof w==="string")return w;switch(w){case d:return"Fragment";case a:return"Profiler";case b:return"StrictMode";case LZ:return"Suspense";case kZ:return"SuspenseList";case OZ:return"Activity"}if(typeof w==="object")switch(typeof w.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case h:return"Portal";case qZ:return w.displayName||"Context";case t:return(w._context.displayName||"Context")+".Consumer";case QZ:var o=w.render;return w=w.displayName,w||(w=o.displayName||o.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case JZ:return o=w.displayName||null,o!==null?o:Q(w.type)||"Memo";case l:o=w._payload,w=w._init;try{return Q(w(o))}catch(AZ){}}return null}function q(w){return""+w}function z(w){try{q(w);var o=!1}catch(vZ){o=!0}if(o){o=console;var AZ=o.error,VZ=typeof Symbol==="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return AZ.call(o,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",VZ),q(w)}}function _(w){if(w===d)return"<>";if(typeof w==="object"&&w!==null&&w.$$typeof===l)return"<...>";try{var o=Q(w);return o?"<"+o+">":"<...>"}catch(AZ){return"<...>"}}function W(){var w=wZ.A;return w===null?null:w.getOwner()}function K(){return Error("react-stack-top-frame")}function A(w){if(WZ.call(w,"key")){var o=Object.getOwnPropertyDescriptor(w,"key").get;if(o&&o.isReactWarning)return!1}return w.key!==void 0}function L(w,o){function AZ(){m||(m=!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)",o))}AZ.isReactWarning=!0,Object.defineProperty(w,"key",{get:AZ,configurable:!0})}function O(){var w=Q(this.type);return E[w]||(E[w]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),w=this.props.ref,w!==void 0?w:null}function I(w,o,AZ,VZ,vZ,JX){var NZ=AZ.ref;return w={$$typeof:j,type:w,key:o,props:AZ,_owner:VZ},(NZ!==void 0?NZ:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:O}):Object.defineProperty(w,"ref",{enumerable:!1,value:null}),w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(w,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(w,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:vZ}),Object.defineProperty(w,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:JX}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function N(w,o,AZ,VZ,vZ,JX){var NZ=o.children;if(NZ!==void 0)if(VZ)if(HZ(NZ)){for(VZ=0;VZ<NZ.length;VZ++)M(NZ[VZ]);Object.freeze&&Object.freeze(NZ)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else M(NZ);if(WZ.call(o,"key")){NZ=Q(w);var YX=Object.keys(o).filter(function(BX){return BX!=="key"});VZ=0<YX.length?"{key: someKey, "+YX.join(": ..., ")+": ...}":"{key: someKey}",p[NZ+VZ]||(YX=0<YX.length?"{"+YX.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
13
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),V}function wZ(){lZ.asyncTransitions--}function WZ(V){if(Oz===null)try{var u=("require"+Math.random()).slice(0,7);Oz=(jA&&jA[u]).call(jA,"timers").setImmediate}catch(YZ){Oz=function(HZ){zB===!1&&(zB=!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 RZ=new MessageChannel;RZ.port1.onmessage=HZ,RZ.port2.postMessage(void 0)}}return Oz(V)}function zZ(V){return 1<V.length&&typeof AggregateError==="function"?AggregateError(V):V[0]}function v(V,u){u!==Fz-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. "),Fz=u}function m(V,u,YZ){var HZ=lZ.actQueue;if(HZ!==null)if(HZ.length!==0)try{E(HZ),WZ(function(){return m(V,u,YZ)});return}catch(RZ){lZ.thrownErrors.push(RZ)}else lZ.actQueue=null;0<lZ.thrownErrors.length?(HZ=zZ(lZ.thrownErrors),lZ.thrownErrors.length=0,YZ(HZ)):u(V)}function E(V){if(!Nz){Nz=!0;var u=0;try{for(;u<V.length;u++){var YZ=V[u];do{lZ.didUsePromise=!1;var HZ=YZ(!1);if(HZ!==null){if(lZ.didUsePromise){V[u]=YZ,V.splice(0,u);return}YZ=HZ}else break}while(1)}V.length=0}catch(RZ){V.splice(0,u+1),lZ.thrownErrors.push(RZ)}finally{Nz=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var g=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),AZ=Symbol.for("react.consumer"),VZ=Symbol.for("react.context"),vZ=Symbol.for("react.forward_ref"),JX=Symbol.for("react.suspense"),NZ=Symbol.for("react.suspense_list"),YX=Symbol.for("react.memo"),TX=Symbol.for("react.lazy"),BX=Symbol.for("react.activity"),Oq=Symbol.iterator,UZ={},KQ={isMounted:function(){return!1},enqueueForceUpdate:function(V){H(V,"forceUpdate")},enqueueReplaceState:function(V){H(V,"replaceState")},enqueueSetState:function(V){H(V,"setState")}},BQ=Object.assign,yY={};Object.freeze(yY),_.prototype.isReactComponent={},_.prototype.setState=function(V,u){if(typeof V!=="object"&&typeof V!=="function"&&V!=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,V,u,"setState")},_.prototype.forceUpdate=function(V){this.updater.enqueueForceUpdate(this,V,"forceUpdate")};var oX={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(JG in oX)oX.hasOwnProperty(JG)&&Q(JG,oX[JG]);W.prototype=_.prototype,oX=K.prototype=new W,oX.constructor=K,BQ(oX,_.prototype),oX.isPureReactComponent=!0;var PZ=Array.isArray,Fq=Symbol.for("react.client.reference"),lZ={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},fH=Object.prototype.hasOwnProperty,jX=console.createTask?console.createTask:function(){return null};oX={react_stack_bottom_frame:function(V){return V()}};var GB,EJ,Lz={},Az=oX.react_stack_bottom_frame.bind(oX,R)(),_F=jX(N(R)),uH=!1,dH=/\/+/g,QG=typeof reportError==="function"?reportError:function(V){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var u=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof V==="object"&&V!==null&&typeof V.message==="string"?String(V.message):String(V),error:V});if(!window.dispatchEvent(u))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",V);return}console.error(V)},zB=!1,Oz=null,Fz=0,Mz=!1,Nz=!1,hW=typeof queueMicrotask==="function"?function(V){queueMicrotask(function(){return queueMicrotask(V)})}:WZ;oX=Object.freeze({__proto__:null,c:function(V){return n().useMemoCache(V)}});var JG={map:l,forEach:function(V,u,YZ){l(V,function(){u.apply(this,arguments)},YZ)},count:function(V){var u=0;return l(V,function(){u++}),u},toArray:function(V){return l(V,function(u){return u})||[]},only:function(V){if(!qZ(V))throw Error("React.Children.only expected to receive a single React element child.");return V}};cE.Activity=BX,cE.Children=JG,cE.Component=_,cE.Fragment=p,cE.Profiler=o,cE.PureComponent=K,cE.StrictMode=w,cE.Suspense=JX,cE.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=lZ,cE.__COMPILER_RUNTIME=oX,cE.act=function(V){var u=lZ.actQueue,YZ=Fz;Fz++;var HZ=lZ.actQueue=u!==null?u:[],RZ=!1;try{var fZ=V()}catch(SZ){lZ.thrownErrors.push(SZ)}if(0<lZ.thrownErrors.length)throw v(u,YZ),V=zZ(lZ.thrownErrors),lZ.thrownErrors.length=0,V;if(fZ!==null&&typeof fZ==="object"&&typeof fZ.then==="function"){var uZ=fZ;return hW(function(){RZ||Mz||(Mz=!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(SZ,vY){RZ=!0,uZ.then(function(LQ){if(v(u,YZ),YZ===0){try{E(HZ),WZ(function(){return m(LQ,SZ,vY)})}catch(bW){lZ.thrownErrors.push(bW)}if(0<lZ.thrownErrors.length){var qG=zZ(lZ.thrownErrors);lZ.thrownErrors.length=0,vY(qG)}}else SZ(LQ)},function(LQ){v(u,YZ),0<lZ.thrownErrors.length?(LQ=zZ(lZ.thrownErrors),lZ.thrownErrors.length=0,vY(LQ)):vY(LQ)})}}}var WX=fZ;if(v(u,YZ),YZ===0&&(E(HZ),HZ.length!==0&&hW(function(){RZ||Mz||(Mz=!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(() => ...)"))}),lZ.actQueue=null),0<lZ.thrownErrors.length)throw V=zZ(lZ.thrownErrors),lZ.thrownErrors.length=0,V;return{then:function(SZ,vY){RZ=!0,YZ===0?(lZ.actQueue=HZ,WZ(function(){return m(WX,SZ,vY)})):SZ(WX)}}},cE.cache=function(V){return function(){return V.apply(null,arguments)}},cE.cacheSignal=function(){return null},cE.captureOwnerStack=function(){var V=lZ.getCurrentStack;return V===null?null:V()},cE.cloneElement=function(V,u,YZ){if(V===null||V===void 0)throw Error("The argument must be a React element, but you passed "+V+".");var HZ=BQ({},V.props),RZ=V.key,fZ=V._owner;if(u!=null){var uZ;Z:{if(fH.call(u,"ref")&&(uZ=Object.getOwnPropertyDescriptor(u,"ref").get)&&uZ.isReactWarning){uZ=!1;break Z}uZ=u.ref!==void 0}uZ&&(fZ=M()),j(u)&&(O(u.key),RZ=""+u.key);for(WX in u)!fH.call(u,WX)||WX==="key"||WX==="__self"||WX==="__source"||WX==="ref"&&u.ref===void 0||(HZ[WX]=u[WX])}var WX=arguments.length-2;if(WX===1)HZ.children=YZ;else if(1<WX){uZ=Array(WX);for(var SZ=0;SZ<WX;SZ++)uZ[SZ]=arguments[SZ+2];HZ.children=uZ}HZ=b(V.type,RZ,HZ,fZ,V._debugStack,V._debugTask);for(RZ=2;RZ<arguments.length;RZ++)t(arguments[RZ]);return HZ},cE.createContext=function(V){return V={$$typeof:VZ,_currentValue:V,_currentValue2:V,_threadCount:0,Provider:null,Consumer:null},V.Provider=V,V.Consumer={$$typeof:AZ,_context:V},V._currentRenderer=null,V._currentRenderer2=null,V},cE.createElement=function(V,u,YZ){for(var HZ=2;HZ<arguments.length;HZ++)t(arguments[HZ]);HZ={};var RZ=null;if(u!=null)for(SZ in EJ||!("__self"in u)||"key"in u||(EJ=!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")),j(u)&&(O(u.key),RZ=""+u.key),u)fH.call(u,SZ)&&SZ!=="key"&&SZ!=="__self"&&SZ!=="__source"&&(HZ[SZ]=u[SZ]);var fZ=arguments.length-2;if(fZ===1)HZ.children=YZ;else if(1<fZ){for(var uZ=Array(fZ),WX=0;WX<fZ;WX++)uZ[WX]=arguments[WX+2];Object.freeze&&Object.freeze(uZ),HZ.children=uZ}if(V&&V.defaultProps)for(SZ in fZ=V.defaultProps,fZ)HZ[SZ]===void 0&&(HZ[SZ]=fZ[SZ]);RZ&&h(HZ,typeof V==="function"?V.displayName||V.name||"Unknown":V);var SZ=1e4>lZ.recentlyCreatedOwnerStacks++;return b(V,RZ,HZ,M(),SZ?Error("react-stack-top-frame"):Az,SZ?jX(N(V)):_F)},cE.createRef=function(){var V={current:null};return Object.seal(V),V},cE.forwardRef=function(V){V!=null&&V.$$typeof===YX?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof V!=="function"?console.error("forwardRef requires a render function but was given %s.",V===null?"null":typeof V):V.length!==0&&V.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",V.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),V!=null&&V.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var u={$$typeof:vZ,render:V},YZ;return Object.defineProperty(u,"displayName",{enumerable:!1,configurable:!0,get:function(){return YZ},set:function(HZ){YZ=HZ,V.name||V.displayName||(Object.defineProperty(V,"name",{value:HZ}),V.displayName=HZ)}}),u},cE.isValidElement=qZ,cE.lazy=function(V){V={_status:-1,_result:V};var u={$$typeof:TX,_payload:V,_init:OZ},YZ={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return V._ioInfo=YZ,u._debugInfo=[{awaited:YZ}],u},cE.memo=function(V,u){V==null&&console.error("memo: The first argument must be a component. Instead received: %s",V===null?"null":typeof V),u={$$typeof:YX,type:V,compare:u===void 0?null:u};var YZ;return Object.defineProperty(u,"displayName",{enumerable:!1,configurable:!0,get:function(){return YZ},set:function(HZ){YZ=HZ,V.name||V.displayName||(Object.defineProperty(V,"name",{value:HZ}),V.displayName=HZ)}}),u},cE.startTransition=function(V){var u=lZ.T,YZ={};YZ._updatedFibers=new Set,lZ.T=YZ;try{var HZ=V(),RZ=lZ.S;RZ!==null&&RZ(YZ,HZ),typeof HZ==="object"&&HZ!==null&&typeof HZ.then==="function"&&(lZ.asyncTransitions++,HZ.then(wZ,wZ),HZ.then(A,QG))}catch(fZ){QG(fZ)}finally{u===null&&YZ._updatedFibers&&(V=YZ._updatedFibers.size,YZ._updatedFibers.clear(),10<V&&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.")),u!==null&&YZ.types!==null&&(u.types!==null&&u.types!==YZ.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."),u.types=YZ.types),lZ.T=u}},cE.unstable_useCacheRefresh=function(){return n().useCacheRefresh()},cE.use=function(V){return n().use(V)},cE.useActionState=function(V,u,YZ){return n().useActionState(V,u,YZ)},cE.useCallback=function(V,u){return n().useCallback(V,u)},cE.useContext=function(V){var u=n();return V.$$typeof===AZ&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),u.useContext(V)},cE.useDebugValue=function(V,u){return n().useDebugValue(V,u)},cE.useDeferredValue=function(V,u){return n().useDeferredValue(V,u)},cE.useEffect=function(V,u){return V==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),n().useEffect(V,u)},cE.useEffectEvent=function(V){return n().useEffectEvent(V)},cE.useId=function(){return n().useId()},cE.useImperativeHandle=function(V,u,YZ){return n().useImperativeHandle(V,u,YZ)},cE.useInsertionEffect=function(V,u){return V==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),n().useInsertionEffect(V,u)},cE.useLayoutEffect=function(V,u){return V==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),n().useLayoutEffect(V,u)},cE.useMemo=function(V,u){return n().useMemo(V,u)},cE.useOptimistic=function(V,u){return n().useOptimistic(V,u)},cE.useReducer=function(V,u,YZ){return n().useReducer(V,u,YZ)},cE.useRef=function(V){return n().useRef(V)},cE.useState=function(V){return n().useState(V)},cE.useSyncExternalStore=function(V,u,YZ){return n().useSyncExternalStore(V,u,YZ)},cE.useTransition=function(){return n().useTransition()},cE.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var i_=pq((pE)=>{var JH=f(ZZ());(function(){function Q(w){if(w==null)return null;if(typeof w==="function")return w.$$typeof===n?null:w.displayName||w.name||null;if(typeof w==="string")return w;switch(w){case d:return"Fragment";case a:return"Profiler";case b:return"StrictMode";case LZ:return"Suspense";case kZ:return"SuspenseList";case OZ:return"Activity"}if(typeof w==="object")switch(typeof w.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case h:return"Portal";case qZ:return w.displayName||"Context";case t:return(w._context.displayName||"Context")+".Consumer";case QZ:var o=w.render;return w=w.displayName,w||(w=o.displayName||o.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case JZ:return o=w.displayName||null,o!==null?o:Q(w.type)||"Memo";case l:o=w._payload,w=w._init;try{return Q(w(o))}catch(AZ){}}return null}function q(w){return""+w}function H(w){try{q(w);var o=!1}catch(vZ){o=!0}if(o){o=console;var AZ=o.error,VZ=typeof Symbol==="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return AZ.call(o,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",VZ),q(w)}}function _(w){if(w===d)return"<>";if(typeof w==="object"&&w!==null&&w.$$typeof===l)return"<...>";try{var o=Q(w);return o?"<"+o+">":"<...>"}catch(AZ){return"<...>"}}function W(){var w=wZ.A;return w===null?null:w.getOwner()}function K(){return Error("react-stack-top-frame")}function A(w){if(WZ.call(w,"key")){var o=Object.getOwnPropertyDescriptor(w,"key").get;if(o&&o.isReactWarning)return!1}return w.key!==void 0}function L(w,o){function AZ(){m||(m=!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)",o))}AZ.isReactWarning=!0,Object.defineProperty(w,"key",{get:AZ,configurable:!0})}function O(){var w=Q(this.type);return E[w]||(E[w]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),w=this.props.ref,w!==void 0?w:null}function I(w,o,AZ,VZ,vZ,JX){var NZ=AZ.ref;return w={$$typeof:j,type:w,key:o,props:AZ,_owner:VZ},(NZ!==void 0?NZ:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:O}):Object.defineProperty(w,"ref",{enumerable:!1,value:null}),w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(w,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(w,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:vZ}),Object.defineProperty(w,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:JX}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function N(w,o,AZ,VZ,vZ,JX){var NZ=o.children;if(NZ!==void 0)if(VZ)if(zZ(NZ)){for(VZ=0;VZ<NZ.length;VZ++)M(NZ[VZ]);Object.freeze&&Object.freeze(NZ)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else M(NZ);if(WZ.call(o,"key")){NZ=Q(w);var YX=Object.keys(o).filter(function(BX){return BX!=="key"});VZ=0<YX.length?"{key: someKey, "+YX.join(": ..., ")+": ...}":"{key: someKey}",p[NZ+VZ]||(YX=0<YX.length?"{"+YX.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
14
14
  let props = %s;
15
15
  <%s {...props} />
16
16
  React keys must be passed directly to JSX without using spread:
17
17
  let props = %s;
18
- <%s key={someKey} {...props} />`,VZ,NZ,YX,NZ),p[NZ+VZ]=!0)}if(NZ=null,AZ!==void 0&&(z(AZ),NZ=""+AZ),A(o)&&(z(o.key),NZ=""+o.key),"key"in o){AZ={};for(var TX in o)TX!=="key"&&(AZ[TX]=o[TX])}else AZ=o;return NZ&&L(AZ,typeof w==="function"?w.displayName||w.name||"Unknown":w),I(w,NZ,AZ,W(),vZ,JX)}function M(w){R(w)?w._store&&(w._store.validated=1):typeof w==="object"&&w!==null&&w.$$typeof===l&&(w._payload.status==="fulfilled"?R(w._payload.value)&&w._payload.value._store&&(w._payload.value._store.validated=1):w._store&&(w._store.validated=1))}function R(w){return typeof w==="object"&&w!==null&&w.$$typeof===j}var j=Symbol.for("react.transitional.element"),h=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),t=Symbol.for("react.consumer"),qZ=Symbol.for("react.context"),QZ=Symbol.for("react.forward_ref"),LZ=Symbol.for("react.suspense"),kZ=Symbol.for("react.suspense_list"),JZ=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),OZ=Symbol.for("react.activity"),n=Symbol.for("react.client.reference"),wZ=Jz.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,WZ=Object.prototype.hasOwnProperty,HZ=Array.isArray,v=console.createTask?console.createTask:function(){return null};Jz={react_stack_bottom_frame:function(w){return w()}};var m,E={},g=Jz.react_stack_bottom_frame.bind(Jz,K)(),e=v(_(K)),p={};pE.Fragment=d,pE.jsx=function(w,o,AZ){var VZ=1e4>wZ.recentlyCreatedOwnerStacks++;return N(w,o,AZ,!1,VZ?Error("react-stack-top-frame"):g,VZ?v(_(w)):e)},pE.jsxs=function(w,o,AZ){var VZ=1e4>wZ.recentlyCreatedOwnerStacks++;return N(w,o,AZ,!0,VZ?Error("react-stack-top-frame"):g,VZ?v(_(w)):e)}})()});class t9{activeUrlHref=null;activeCacheKey=null;activePromise=null;activeResolvedData;hasResolved=!1;pendingBackgroundKey=null;id;constructor(){this.id=lE++}resolve(Q){let{currentUrlHref:q,cacheKey:z,load:_,loaderCache:W,onBackgroundSettled:K}=Q;if(this.handleUrlChange(q,W),this.activeCacheKey===z){if(this.pendingBackgroundKey===z)return{action:"render",data:this.activeResolvedData,isLoading:!0};if(this.hasResolved)return{action:"render",data:this.activeResolvedData,isLoading:!1};return{action:"suspend",promise:this.activePromise}}if(this.hasResolved){let L=_();return this.activeCacheKey=z,this.activePromise=L,this.pendingBackgroundKey=z,L.then((O)=>{if(this.activeCacheKey===z)K({ok:!0,result:O})},()=>{if(this.activeCacheKey===z)K({ok:!1})}),{action:"render",data:this.activeResolvedData,isLoading:!0}}let A=_();return this.activeCacheKey=z,this.activePromise=A,{action:"suspend",promise:A}}commitResult(Q){this.activeResolvedData=Q,this.hasResolved=!0}commitBackgroundResult(Q){this.activeResolvedData=Q,this.pendingBackgroundKey=null}commitBackgroundError(){this.hasResolved=!1,this.pendingBackgroundKey=null}dispose(Q){if(Q&&this.hasResolved&&this.activeResolvedData!==void 0&&this.activeUrlHref)this.saveToStaleCache(Q,this.activeUrlHref,this.activeResolvedData);this.activeUrlHref=null,this.activeCacheKey=null,this.activePromise=null,this.activeResolvedData=void 0,this.hasResolved=!1,this.pendingBackgroundKey=null}handleUrlChange(Q,q){if(this.activeUrlHref!==null&&this.activeUrlHref!==Q){if(q&&this.hasResolved&&this.activeResolvedData!==void 0)this.saveToStaleCache(q,this.activeUrlHref,this.activeResolvedData);let z=q&&this.restoreFromStaleCache(q,Q);if(z?.hit)this.activeResolvedData=z.value,this.hasResolved=!0;else this.hasResolved=!1,this.activeResolvedData=void 0;this.pendingBackgroundKey=null}else if(this.activeUrlHref===null&&q){let z=this.restoreFromStaleCache(q,Q);if(z.hit)this.activeResolvedData=z.value,this.hasResolved=!0}this.activeUrlHref=Q}staleCacheKey(Q){return`${this.id}:${Q}`}restoreFromStaleCache(Q,q){let z=this.staleCacheKey(q);if(!Q.has(z))return{hit:!1};let _=Q.get(z);return Q.delete(z),{hit:!0,value:_}}saveToStaleCache(Q,q,z){Q.set(this.staleCacheKey(q),z)}}var lE=0;var e9,iG,ZJ;var n_=C(()=>{e9=f(ZZ(),1),iG=e9.createContext(null),ZJ=e9.createContext(null)});var CA,qz;var PA=C(()=>{CA=f(ZZ(),1);qz=class qz extends CA.Component{state={error:null,prevResetKey:void 0};static getDerivedStateFromError(Q){return{error:Q}}static getDerivedStateFromProps(Q,q){if(q.error&&Q.resetKey!==q.prevResetKey)return{error:null,prevResetKey:Q.resetKey};if(Q.resetKey!==q.prevResetKey)return{prevResetKey:Q.resetKey};return null}componentDidCatch(Q,q){console.error("Buzola route error:",Q,q)}render(){if(this.state.error){if(typeof this.props.fallback==="function")return this.props.fallback(this.state.error);if(this.props.fallback)return this.props.fallback;return CA.default.createElement("div",{style:{color:"red"}},`Route error: ${this.state.error.message}`)}return this.props.children}}});function iE(Q){return"~standard"in Q}function nE(Q){if(iE(Q))return{schema:Q,paramsMeta:Q.__buzolaKeys??[]};let q=Q,z=[],_={};for(let[K,A]of Object.entries(q))if(typeof A==="string"){let L=dT(A);_[K]=L.schema,z.push({name:K,optional:L.optional,array:L.array})}else _[K]=A,z.push({name:K,optional:uT(A),array:!1});return{schema:{"~standard":{version:1,vendor:"buzola",validate:(K)=>{let A=K??{},L={};for(let[O,I]of Object.entries(_)){let N=I["~standard"].validate(A[O]);if("issues"in N)return N;L[O]=N.value}return{value:L}}}},paramsMeta:z}}class s_{pageId;params;__buzolaRedirect=!0;constructor(Q,q){this.pageId=Q,this.params=q}}function AK(Q){if(Q.length===0)return;if(Q.length===1)return Q[0];return async(q)=>{let z=await Promise.all(Q.map((W)=>W(q))),_=z.find((W)=>W instanceof s_);if(_)return _;return Object.assign({},...z)}}function OK(Q,q,z,_,W,K){let A=new Set(q.filter((M)=>M.array).map((M)=>M.name)),L=z?new t9:void 0;function O(){let M=OY.use(ZJ);if(!M)throw Error("createPage component must be used within a <BuzolaProvider>");let R=OY.use(iG),j=OY.useMemo(()=>{let{state:LZ,matches:kZ,params:JZ}=M,l=kZ.find((wZ)=>wZ.node.component===O),OZ=new Set(l?LK(l.node.fullPath):[]),n={};if(A.size>0)for(let wZ of A){if(OZ.has(wZ))continue;let WZ=[...LZ.location.searchParams.getAll(wZ),...LZ.location.searchParams.getAll(`${wZ}[]`)];if(WZ.length>0)n[wZ]=WZ}LZ.location.searchParams.forEach((wZ,WZ)=>{let HZ=WZ.endsWith("[]")?WZ.slice(0,-2):WZ;if(!OZ.has(HZ)&&!(HZ in n))n[HZ]=wZ});for(let[wZ,WZ]of Object.entries(JZ))if(A.has(wZ))n[wZ]=WZ.split(",");else n[wZ]=WZ;if(Q)return r9(Q,n,"Page params validation failed: ");return n},[M]),[h,d]=OY.useState(0),[,b]=OY.useReducer((LZ)=>LZ+1,0),a=OY.useCallback(()=>d((LZ)=>LZ+1),[]);OY.useEffect(()=>{if(!R)return;return R.onInvalidate(()=>d((LZ)=>LZ+1))},[R]);let t,qZ=!1,QZ=!1;if(z&&L){let LZ=M.state.location.href,kZ=`${LZ}:${h}`,JZ=L.resolve({currentUrlHref:LZ,cacheKey:kZ,load:()=>z({params:j,redirect:cT}),loaderCache:R?.loaderCache,onBackgroundSettled:(l)=>{if(l.ok){if(l.result instanceof s_){R?.navigateToPage(l.result.pageId,l.result.params,{replace:!0});return}L.commitBackgroundResult(l.result)}else L.commitBackgroundError();b()}});if(JZ.action==="render")t=JZ.data,qZ=JZ.isLoading;else{let l=OY.use(JZ.promise);if(l instanceof s_)R?.navigateToPage(l.pageId,l.params,{replace:!0}),QZ=!0;else t=l,L.commitResult(t)}}if(OY.useEffect(()=>{return()=>L?.dispose(R?.loaderCache)},[]),QZ)return null;return DA.jsx(W,{params:j,data:t,invalidate:a,isLoading:qZ})}function I(){let M=OY.use(ZJ),[R,j]=OY.useState(0),h=OY.useCallback(()=>j((a)=>a+1),[]),d=`${M?.state.location.href??""}:${R}`;return DA.jsx(qz,{fallback:typeof K==="function"?(a)=>K({error:a,params:M?.params??{},retry:h}):K,resetKey:d,children:DA.jsx(O,{},R)})}return{__buzolaPage:!0,component:K?I:O,route:_,paramsSchema:Q,paramsMeta:q,loader:z}}function sE(Q,q,z,_){return{route(W){return{render(K){return OK(Q,q,AK(z),W,K,_)}}},render(W){return OK(Q,q,AK(z),void 0,W,_)}}}function Z3(Q,q,z){return{loader(_){return Z3(Q,q,[...z,_])},catch(_){return sE(Q,q,z,_)},route(_){return{catch(W){return{render(K){return OK(Q,q,AK(z),_,K,W)}}},render(W){return OK(Q,q,AK(z),_,W)}}},render(_){return OK(Q,q,AK(z),void 0,_)}}}function EQ(){return{params(Q){let{schema:q,paramsMeta:z}=nE(Q);return Z3(q,z,[])},...Z3(void 0,[],[])}}var DA,OY,cT=(Q,q)=>{return new s_(Q,q)};var pT=C(()=>{RA();n_();PA();DA=f(i_(),1),OY=f(ZZ(),1)});function oE(){return QQ.default.createElement("div",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem",maxWidth:"600px",margin:"0 auto"}},aE?[QQ.default.createElement("h1",{key:"h"},"404 — Page Not Found"),QQ.default.createElement("p",{key:"p1"},`No route matches "${typeof window<"u"?window.location.pathname:""}".`),QQ.default.createElement("p",{key:"p2",style:{color:"#666",fontSize:"0.9rem"}},"To handle this, add a _404.tsx catch-all route or pass a notFound prop to <Outlet />.")]:[QQ.default.createElement("h1",{key:"h"},"404"),QQ.default.createElement("p",{key:"p"},"Page not found.")])}function a_({fallback:Q,errorFallback:q,notFound:z}){let _=QQ.use(ZJ);if(!_)throw Error("<Outlet /> must be used within a <BuzolaProvider>");let{state:W,depth:K,matches:A}=_,L=K,O=A[L];while(O&&!O.node.component)L++,O=A[L];let I=QQ.useMemo(()=>{if(!O)return null;let M={..._.params};for(let R=K;R<=L;R++)if(A[R])M={...M,...A[R].params};return{state:W,depth:L+1,matches:A,params:M}},[W,K,L,A,O,_.params]);if(!O){if(K===0&&A.length===0){if(z===null)return null;return z??QQ.default.createElement(oE,null)}return null}let N=O.node.component;return FK.jsx(qz,{fallback:q,resetKey:O.node.id,children:FK.jsx(QQ.Suspense,{fallback:Q??null,children:I&&FK.jsx(ZJ,{value:I,children:FK.jsx(N,{})})})})}var FK,QQ,aE;var X3=C(()=>{n_();PA();FK=f(i_(),1),QQ=f(ZZ(),1),aE=typeof process<"u"&&!0});function $A({routes:Q,children:q,middleware:z,..._}){let W=kQ.useRef(_.router);if(!W.current)W.current=new VA({routes:Q,adapter:o9(),persistentParams:_.persistentParams,pageRegistry:_.pageRegistry});let K=W.current,A=kQ.useCallback((R)=>K.subscribe(R),[K]),L=kQ.useCallback(()=>K.getState(),[K]),O=kQ.useSyncExternalStore(A,L,L);kQ.useLayoutEffect(()=>{return K.start()},[K]);let I=kQ.useMemo(()=>({state:O,depth:0,matches:O.matches,params:{}}),[O]),N=kQ.useMemo(()=>{let R={};for(let j of O.matches)R={...R,...j.params};return R},[O.matches]),M=q??MK.jsx(a_,{});return MK.jsx(iG,{value:K,children:MK.jsx(ZJ,{value:I,children:z?MK.jsx(z,{params:N,matches:O.matches,children:M}):M})})}var MK,kQ;var lT=C(()=>{n9();n_();X3();MK=f(i_(),1),kQ=f(ZZ(),1)});function NK(){let Q=Gq.use(iG);if(!Q)throw Error("useRouter must be used within a <BuzolaProvider>");return Q}function rE(){let Q=Gq.use(ZJ);if(!Q)throw Error("Route hooks must be used within a <BuzolaProvider>");return Q}function XJ(){let Q=NK();return Gq.useCallback((q,z)=>{Q.navigateToPage(q,z?.params,z)},[Q])}function SA(){let Q=rE(),q=NK(),{state:z,matches:_,params:W,depth:K}=Q;return Gq.useMemo(()=>({params:W,matches:_,depth:K,isPending:z.isPending,pendingLocation:z.pendingLocation?q.stripBasePath(z.pendingLocation.pathname):void 0,pathname:q.stripBasePath(z.location.pathname)}),[W,_,K,z.isPending,z.pendingLocation,z.location.pathname,q])}var Gq;var Y3=C(()=>{RA();n_();Gq=f(ZZ(),1)});var tE,EA;var nT=C(()=>{Y3();tE=f(i_(),1),EA=f(ZZ(),1)});var sT=C(()=>{lT();X3();nT();PA();Y3();n_()});var Hq=C(()=>{n9();RA();pT();sT()});var aT=pq((qk)=>{(function(){function Q(){if(QZ=!1,l){var m=qk.unstable_now();wZ=m;var E=!0;try{Z:{t=!1,qZ&&(qZ=!1,kZ(OZ),OZ=-1),a=!0;var g=b;try{X:{K(m);for(d=z(R);d!==null&&!(d.expirationTime>m&&L());){var e=d.callback;if(typeof e==="function"){d.callback=null,b=d.priorityLevel;var p=e(d.expirationTime<=m);if(m=qk.unstable_now(),typeof p==="function"){d.callback=p,K(m),E=!0;break X}d===z(R)&&_(R),K(m)}else _(R);d=z(R)}if(d!==null)E=!0;else{var w=z(j);w!==null&&O(A,w.startTime-m),E=!1}}break Z}finally{d=null,b=g,a=!1}E=void 0}}finally{E?WZ():l=!1}}}function q(m,E){var g=m.length;m.push(E);Z:for(;0<g;){var e=g-1>>>1,p=m[e];if(0<W(p,E))m[e]=E,m[g]=p,g=e;else break Z}}function z(m){return m.length===0?null:m[0]}function _(m){if(m.length===0)return null;var E=m[0],g=m.pop();if(g!==E){m[0]=g;Z:for(var e=0,p=m.length,w=p>>>1;e<w;){var o=2*(e+1)-1,AZ=m[o],VZ=o+1,vZ=m[VZ];if(0>W(AZ,g))VZ<p&&0>W(vZ,AZ)?(m[e]=vZ,m[VZ]=g,e=VZ):(m[e]=AZ,m[o]=g,e=o);else if(VZ<p&&0>W(vZ,g))m[e]=vZ,m[VZ]=g,e=VZ;else break Z}}return E}function W(m,E){var g=m.sortIndex-E.sortIndex;return g!==0?g:m.id-E.id}function K(m){for(var E=z(j);E!==null;){if(E.callback===null)_(j);else if(E.startTime<=m)_(j),E.sortIndex=E.expirationTime,q(R,E);else break;E=z(j)}}function A(m){if(qZ=!1,K(m),!t)if(z(R)!==null)t=!0,l||(l=!0,WZ());else{var E=z(j);E!==null&&O(A,E.startTime-m)}}function L(){return QZ?!0:qk.unstable_now()-wZ<n?!1:!0}function O(m,E){OZ=LZ(function(){m(qk.unstable_now())},E)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),qk.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var I=performance;qk.unstable_now=function(){return I.now()}}else{var N=Date,M=N.now();qk.unstable_now=function(){return N.now()-M}}var R=[],j=[],h=1,d=null,b=3,a=!1,t=!1,qZ=!1,QZ=!1,LZ=typeof setTimeout==="function"?setTimeout:null,kZ=typeof clearTimeout==="function"?clearTimeout:null,JZ=typeof setImmediate<"u"?setImmediate:null,l=!1,OZ=-1,n=5,wZ=-1;if(typeof JZ==="function")var WZ=function(){JZ(Q)};else if(typeof MessageChannel<"u"){var HZ=new MessageChannel,v=HZ.port2;HZ.port1.onmessage=Q,WZ=function(){v.postMessage(null)}}else WZ=function(){LZ(Q,0)};qk.unstable_IdlePriority=5,qk.unstable_ImmediatePriority=1,qk.unstable_LowPriority=4,qk.unstable_NormalPriority=3,qk.unstable_Profiling=null,qk.unstable_UserBlockingPriority=2,qk.unstable_cancelCallback=function(m){m.callback=null},qk.unstable_forceFrameRate=function(m){0>m||125<m?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):n=0<m?Math.floor(1000/m):5},qk.unstable_getCurrentPriorityLevel=function(){return b},qk.unstable_next=function(m){switch(b){case 1:case 2:case 3:var E=3;break;default:E=b}var g=b;b=E;try{return m()}finally{b=g}},qk.unstable_requestPaint=function(){QZ=!0},qk.unstable_runWithPriority=function(m,E){switch(m){case 1:case 2:case 3:case 4:case 5:break;default:m=3}var g=b;b=m;try{return E()}finally{b=g}},qk.unstable_scheduleCallback=function(m,E,g){var e=qk.unstable_now();switch(typeof g==="object"&&g!==null?(g=g.delay,g=typeof g==="number"&&0<g?e+g:e):g=e,m){case 1:var p=-1;break;case 2:p=250;break;case 5:p=1073741823;break;case 4:p=1e4;break;default:p=5000}return p=g+p,m={id:h++,callback:E,priorityLevel:m,startTime:g,expirationTime:p,sortIndex:-1},g>e?(m.sortIndex=g,q(j,m),z(R)===null&&m===z(j)&&(qZ?(kZ(OZ),OZ=-1):qZ=!0,O(A,g-e))):(m.sortIndex=p,q(R,m),t||a||(t=!0,l||(l=!0,WZ()))),m},qk.unstable_shouldYield=L,qk.unstable_wrapCallback=function(m){var E=b;return function(){var g=b;b=E;try{return m.apply(this,arguments)}finally{b=g}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var oT=pq((Gk)=>{var Q3=f(ZZ());(function(){function Q(){}function q(N){return""+N}function z(N,M,R){var j=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{q(j);var h=!1}catch(d){h=!0}return h&&(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&&j[Symbol.toStringTag]||j.constructor.name||"Object"),q(j)),{$$typeof:O,key:j==null?null:""+j,children:N,containerInfo:M,implementation:R}}function _(N,M){if(N==="font")return"";if(typeof M==="string")return M==="use-credentials"?M:""}function W(N){return N===null?"`null`":N===void 0?"`undefined`":N===""?"an empty string":'something with type "'+typeof N+'"'}function K(N){return N===null?"`null`":N===void 0?"`undefined`":N===""?"an empty string":typeof N==="string"?JSON.stringify(N):typeof N==="number"?"`"+N+"`":'something with type "'+typeof N+'"'}function A(){var N=I.H;return N===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
18
+ <%s key={someKey} {...props} />`,VZ,NZ,YX,NZ),p[NZ+VZ]=!0)}if(NZ=null,AZ!==void 0&&(H(AZ),NZ=""+AZ),A(o)&&(H(o.key),NZ=""+o.key),"key"in o){AZ={};for(var TX in o)TX!=="key"&&(AZ[TX]=o[TX])}else AZ=o;return NZ&&L(AZ,typeof w==="function"?w.displayName||w.name||"Unknown":w),I(w,NZ,AZ,W(),vZ,JX)}function M(w){R(w)?w._store&&(w._store.validated=1):typeof w==="object"&&w!==null&&w.$$typeof===l&&(w._payload.status==="fulfilled"?R(w._payload.value)&&w._payload.value._store&&(w._payload.value._store.validated=1):w._store&&(w._store.validated=1))}function R(w){return typeof w==="object"&&w!==null&&w.$$typeof===j}var j=Symbol.for("react.transitional.element"),h=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),t=Symbol.for("react.consumer"),qZ=Symbol.for("react.context"),QZ=Symbol.for("react.forward_ref"),LZ=Symbol.for("react.suspense"),kZ=Symbol.for("react.suspense_list"),JZ=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),OZ=Symbol.for("react.activity"),n=Symbol.for("react.client.reference"),wZ=JH.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,WZ=Object.prototype.hasOwnProperty,zZ=Array.isArray,v=console.createTask?console.createTask:function(){return null};JH={react_stack_bottom_frame:function(w){return w()}};var m,E={},g=JH.react_stack_bottom_frame.bind(JH,K)(),e=v(_(K)),p={};pE.Fragment=d,pE.jsx=function(w,o,AZ){var VZ=1e4>wZ.recentlyCreatedOwnerStacks++;return N(w,o,AZ,!1,VZ?Error("react-stack-top-frame"):g,VZ?v(_(w)):e)},pE.jsxs=function(w,o,AZ){var VZ=1e4>wZ.recentlyCreatedOwnerStacks++;return N(w,o,AZ,!0,VZ?Error("react-stack-top-frame"):g,VZ?v(_(w)):e)}})()});class t9{activeUrlHref=null;activeCacheKey=null;activePromise=null;activeResolvedData;hasResolved=!1;pendingBackgroundKey=null;id;constructor(){this.id=lE++}resolve(Q){let{currentUrlHref:q,cacheKey:H,load:_,loaderCache:W,onBackgroundSettled:K}=Q;if(this.handleUrlChange(q,W),this.activeCacheKey===H){if(this.pendingBackgroundKey===H)return{action:"render",data:this.activeResolvedData,isLoading:!0};if(this.hasResolved)return{action:"render",data:this.activeResolvedData,isLoading:!1};return{action:"suspend",promise:this.activePromise}}if(this.hasResolved){let L=_();return this.activeCacheKey=H,this.activePromise=L,this.pendingBackgroundKey=H,L.then((O)=>{if(this.activeCacheKey===H)K({ok:!0,result:O})},()=>{if(this.activeCacheKey===H)K({ok:!1})}),{action:"render",data:this.activeResolvedData,isLoading:!0}}let A=_();return this.activeCacheKey=H,this.activePromise=A,{action:"suspend",promise:A}}commitResult(Q){this.activeResolvedData=Q,this.hasResolved=!0}commitBackgroundResult(Q){this.activeResolvedData=Q,this.pendingBackgroundKey=null}commitBackgroundError(){this.hasResolved=!1,this.pendingBackgroundKey=null}dispose(Q){if(Q&&this.hasResolved&&this.activeResolvedData!==void 0&&this.activeUrlHref)this.saveToStaleCache(Q,this.activeUrlHref,this.activeResolvedData);this.activeUrlHref=null,this.activeCacheKey=null,this.activePromise=null,this.activeResolvedData=void 0,this.hasResolved=!1,this.pendingBackgroundKey=null}handleUrlChange(Q,q){if(this.activeUrlHref!==null&&this.activeUrlHref!==Q){if(q&&this.hasResolved&&this.activeResolvedData!==void 0)this.saveToStaleCache(q,this.activeUrlHref,this.activeResolvedData);let H=q&&this.restoreFromStaleCache(q,Q);if(H?.hit)this.activeResolvedData=H.value,this.hasResolved=!0;else this.hasResolved=!1,this.activeResolvedData=void 0;this.pendingBackgroundKey=null}else if(this.activeUrlHref===null&&q){let H=this.restoreFromStaleCache(q,Q);if(H.hit)this.activeResolvedData=H.value,this.hasResolved=!0}this.activeUrlHref=Q}staleCacheKey(Q){return`${this.id}:${Q}`}restoreFromStaleCache(Q,q){let H=this.staleCacheKey(q);if(!Q.has(H))return{hit:!1};let _=Q.get(H);return Q.delete(H),{hit:!0,value:_}}saveToStaleCache(Q,q,H){Q.set(this.staleCacheKey(q),H)}}var lE=0;var e9,iG,ZJ;var n_=C(()=>{e9=f(ZZ(),1),iG=e9.createContext(null),ZJ=e9.createContext(null)});var CA,qH;var PA=C(()=>{CA=f(ZZ(),1);qH=class qH extends CA.Component{state={error:null,prevResetKey:void 0};static getDerivedStateFromError(Q){return{error:Q}}static getDerivedStateFromProps(Q,q){if(q.error&&Q.resetKey!==q.prevResetKey)return{error:null,prevResetKey:Q.resetKey};if(Q.resetKey!==q.prevResetKey)return{prevResetKey:Q.resetKey};return null}componentDidCatch(Q,q){console.error("Buzola route error:",Q,q)}render(){if(this.state.error){if(typeof this.props.fallback==="function")return this.props.fallback(this.state.error);if(this.props.fallback)return this.props.fallback;return CA.default.createElement("div",{style:{color:"red"}},`Route error: ${this.state.error.message}`)}return this.props.children}}});function iE(Q){return"~standard"in Q}function nE(Q){if(iE(Q))return{schema:Q,paramsMeta:Q.__buzolaKeys??[]};let q=Q,H=[],_={};for(let[K,A]of Object.entries(q))if(typeof A==="string"){let L=dT(A);_[K]=L.schema,H.push({name:K,optional:L.optional,array:L.array})}else _[K]=A,H.push({name:K,optional:uT(A),array:!1});return{schema:{"~standard":{version:1,vendor:"buzola",validate:(K)=>{let A=K??{},L={};for(let[O,I]of Object.entries(_)){let N=I["~standard"].validate(A[O]);if("issues"in N)return N;L[O]=N.value}return{value:L}}}},paramsMeta:H}}class s_{pageId;params;__buzolaRedirect=!0;constructor(Q,q){this.pageId=Q,this.params=q}}function AK(Q){if(Q.length===0)return;if(Q.length===1)return Q[0];return async(q)=>{let H=await Promise.all(Q.map((W)=>W(q))),_=H.find((W)=>W instanceof s_);if(_)return _;return Object.assign({},...H)}}function OK(Q,q,H,_,W,K){let A=new Set(q.filter((M)=>M.array).map((M)=>M.name)),L=H?new t9:void 0;function O(){let M=OY.use(ZJ);if(!M)throw Error("createPage component must be used within a <BuzolaProvider>");let R=OY.use(iG),j=OY.useMemo(()=>{let{state:LZ,matches:kZ,params:JZ}=M,l=kZ.find((wZ)=>wZ.node.component===O),OZ=new Set(l?LK(l.node.fullPath):[]),n={};if(A.size>0)for(let wZ of A){if(OZ.has(wZ))continue;let WZ=[...LZ.location.searchParams.getAll(wZ),...LZ.location.searchParams.getAll(`${wZ}[]`)];if(WZ.length>0)n[wZ]=WZ}LZ.location.searchParams.forEach((wZ,WZ)=>{let zZ=WZ.endsWith("[]")?WZ.slice(0,-2):WZ;if(!OZ.has(zZ)&&!(zZ in n))n[zZ]=wZ});for(let[wZ,WZ]of Object.entries(JZ))if(A.has(wZ))n[wZ]=WZ.split(",");else n[wZ]=WZ;if(Q)return r9(Q,n,"Page params validation failed: ");return n},[M]),[h,d]=OY.useState(0),[,b]=OY.useReducer((LZ)=>LZ+1,0),a=OY.useCallback(()=>d((LZ)=>LZ+1),[]);OY.useEffect(()=>{if(!R)return;return R.onInvalidate(()=>d((LZ)=>LZ+1))},[R]);let t,qZ=!1,QZ=!1;if(H&&L){let LZ=M.state.location.href,kZ=`${LZ}:${h}`,JZ=L.resolve({currentUrlHref:LZ,cacheKey:kZ,load:()=>H({params:j,redirect:cT}),loaderCache:R?.loaderCache,onBackgroundSettled:(l)=>{if(l.ok){if(l.result instanceof s_){R?.navigateToPage(l.result.pageId,l.result.params,{replace:!0});return}L.commitBackgroundResult(l.result)}else L.commitBackgroundError();b()}});if(JZ.action==="render")t=JZ.data,qZ=JZ.isLoading;else{let l=OY.use(JZ.promise);if(l instanceof s_)R?.navigateToPage(l.pageId,l.params,{replace:!0}),QZ=!0;else t=l,L.commitResult(t)}}if(OY.useEffect(()=>{return()=>L?.dispose(R?.loaderCache)},[]),QZ)return null;return DA.jsx(W,{params:j,data:t,invalidate:a,isLoading:qZ})}function I(){let M=OY.use(ZJ),[R,j]=OY.useState(0),h=OY.useCallback(()=>j((a)=>a+1),[]),d=`${M?.state.location.href??""}:${R}`;return DA.jsx(qH,{fallback:typeof K==="function"?(a)=>K({error:a,params:M?.params??{},retry:h}):K,resetKey:d,children:DA.jsx(O,{},R)})}return{__buzolaPage:!0,component:K?I:O,route:_,paramsSchema:Q,paramsMeta:q,loader:H}}function sE(Q,q,H,_){return{route(W){return{render(K){return OK(Q,q,AK(H),W,K,_)}}},render(W){return OK(Q,q,AK(H),void 0,W,_)}}}function Z3(Q,q,H){return{loader(_){return Z3(Q,q,[...H,_])},catch(_){return sE(Q,q,H,_)},route(_){return{catch(W){return{render(K){return OK(Q,q,AK(H),_,K,W)}}},render(W){return OK(Q,q,AK(H),_,W)}}},render(_){return OK(Q,q,AK(H),void 0,_)}}}function EQ(){return{params(Q){let{schema:q,paramsMeta:H}=nE(Q);return Z3(q,H,[])},...Z3(void 0,[],[])}}var DA,OY,cT=(Q,q)=>{return new s_(Q,q)};var pT=C(()=>{RA();n_();PA();DA=f(i_(),1),OY=f(ZZ(),1)});function oE(){return QQ.default.createElement("div",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem",maxWidth:"600px",margin:"0 auto"}},aE?[QQ.default.createElement("h1",{key:"h"},"404 — Page Not Found"),QQ.default.createElement("p",{key:"p1"},`No route matches "${typeof window<"u"?window.location.pathname:""}".`),QQ.default.createElement("p",{key:"p2",style:{color:"#666",fontSize:"0.9rem"}},"To handle this, add a _404.tsx catch-all route or pass a notFound prop to <Outlet />.")]:[QQ.default.createElement("h1",{key:"h"},"404"),QQ.default.createElement("p",{key:"p"},"Page not found.")])}function a_({fallback:Q,errorFallback:q,notFound:H}){let _=QQ.use(ZJ);if(!_)throw Error("<Outlet /> must be used within a <BuzolaProvider>");let{state:W,depth:K,matches:A}=_,L=K,O=A[L];while(O&&!O.node.component)L++,O=A[L];let I=QQ.useMemo(()=>{if(!O)return null;let M={..._.params};for(let R=K;R<=L;R++)if(A[R])M={...M,...A[R].params};return{state:W,depth:L+1,matches:A,params:M}},[W,K,L,A,O,_.params]);if(!O){if(K===0&&A.length===0){if(H===null)return null;return H??QQ.default.createElement(oE,null)}return null}let N=O.node.component;return FK.jsx(qH,{fallback:q,resetKey:O.node.id,children:FK.jsx(QQ.Suspense,{fallback:Q??null,children:I&&FK.jsx(ZJ,{value:I,children:FK.jsx(N,{})})})})}var FK,QQ,aE;var X3=C(()=>{n_();PA();FK=f(i_(),1),QQ=f(ZZ(),1),aE=typeof process<"u"&&!0});function $A({routes:Q,children:q,middleware:H,..._}){let W=kQ.useRef(_.router);if(!W.current)W.current=new VA({routes:Q,adapter:o9(),persistentParams:_.persistentParams,pageRegistry:_.pageRegistry});let K=W.current,A=kQ.useCallback((R)=>K.subscribe(R),[K]),L=kQ.useCallback(()=>K.getState(),[K]),O=kQ.useSyncExternalStore(A,L,L);kQ.useLayoutEffect(()=>{return K.start()},[K]);let I=kQ.useMemo(()=>({state:O,depth:0,matches:O.matches,params:{}}),[O]),N=kQ.useMemo(()=>{let R={};for(let j of O.matches)R={...R,...j.params};return R},[O.matches]),M=q??MK.jsx(a_,{});return MK.jsx(iG,{value:K,children:MK.jsx(ZJ,{value:I,children:H?MK.jsx(H,{params:N,matches:O.matches,children:M}):M})})}var MK,kQ;var lT=C(()=>{n9();n_();X3();MK=f(i_(),1),kQ=f(ZZ(),1)});function NK(){let Q=Gq.use(iG);if(!Q)throw Error("useRouter must be used within a <BuzolaProvider>");return Q}function rE(){let Q=Gq.use(ZJ);if(!Q)throw Error("Route hooks must be used within a <BuzolaProvider>");return Q}function XJ(){let Q=NK();return Gq.useCallback((q,H)=>{Q.navigateToPage(q,H?.params,H)},[Q])}function SA(){let Q=rE(),q=NK(),{state:H,matches:_,params:W,depth:K}=Q;return Gq.useMemo(()=>({params:W,matches:_,depth:K,isPending:H.isPending,pendingLocation:H.pendingLocation?q.stripBasePath(H.pendingLocation.pathname):void 0,pathname:q.stripBasePath(H.location.pathname)}),[W,_,K,H.isPending,H.pendingLocation,H.location.pathname,q])}var Gq;var Y3=C(()=>{RA();n_();Gq=f(ZZ(),1)});var tE,EA;var nT=C(()=>{Y3();tE=f(i_(),1),EA=f(ZZ(),1)});var sT=C(()=>{lT();X3();nT();PA();Y3();n_()});var zq=C(()=>{n9();RA();pT();sT()});var aT=pq((qk)=>{(function(){function Q(){if(QZ=!1,l){var m=qk.unstable_now();wZ=m;var E=!0;try{Z:{t=!1,qZ&&(qZ=!1,kZ(OZ),OZ=-1),a=!0;var g=b;try{X:{K(m);for(d=H(R);d!==null&&!(d.expirationTime>m&&L());){var e=d.callback;if(typeof e==="function"){d.callback=null,b=d.priorityLevel;var p=e(d.expirationTime<=m);if(m=qk.unstable_now(),typeof p==="function"){d.callback=p,K(m),E=!0;break X}d===H(R)&&_(R),K(m)}else _(R);d=H(R)}if(d!==null)E=!0;else{var w=H(j);w!==null&&O(A,w.startTime-m),E=!1}}break Z}finally{d=null,b=g,a=!1}E=void 0}}finally{E?WZ():l=!1}}}function q(m,E){var g=m.length;m.push(E);Z:for(;0<g;){var e=g-1>>>1,p=m[e];if(0<W(p,E))m[e]=E,m[g]=p,g=e;else break Z}}function H(m){return m.length===0?null:m[0]}function _(m){if(m.length===0)return null;var E=m[0],g=m.pop();if(g!==E){m[0]=g;Z:for(var e=0,p=m.length,w=p>>>1;e<w;){var o=2*(e+1)-1,AZ=m[o],VZ=o+1,vZ=m[VZ];if(0>W(AZ,g))VZ<p&&0>W(vZ,AZ)?(m[e]=vZ,m[VZ]=g,e=VZ):(m[e]=AZ,m[o]=g,e=o);else if(VZ<p&&0>W(vZ,g))m[e]=vZ,m[VZ]=g,e=VZ;else break Z}}return E}function W(m,E){var g=m.sortIndex-E.sortIndex;return g!==0?g:m.id-E.id}function K(m){for(var E=H(j);E!==null;){if(E.callback===null)_(j);else if(E.startTime<=m)_(j),E.sortIndex=E.expirationTime,q(R,E);else break;E=H(j)}}function A(m){if(qZ=!1,K(m),!t)if(H(R)!==null)t=!0,l||(l=!0,WZ());else{var E=H(j);E!==null&&O(A,E.startTime-m)}}function L(){return QZ?!0:qk.unstable_now()-wZ<n?!1:!0}function O(m,E){OZ=LZ(function(){m(qk.unstable_now())},E)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),qk.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var I=performance;qk.unstable_now=function(){return I.now()}}else{var N=Date,M=N.now();qk.unstable_now=function(){return N.now()-M}}var R=[],j=[],h=1,d=null,b=3,a=!1,t=!1,qZ=!1,QZ=!1,LZ=typeof setTimeout==="function"?setTimeout:null,kZ=typeof clearTimeout==="function"?clearTimeout:null,JZ=typeof setImmediate<"u"?setImmediate:null,l=!1,OZ=-1,n=5,wZ=-1;if(typeof JZ==="function")var WZ=function(){JZ(Q)};else if(typeof MessageChannel<"u"){var zZ=new MessageChannel,v=zZ.port2;zZ.port1.onmessage=Q,WZ=function(){v.postMessage(null)}}else WZ=function(){LZ(Q,0)};qk.unstable_IdlePriority=5,qk.unstable_ImmediatePriority=1,qk.unstable_LowPriority=4,qk.unstable_NormalPriority=3,qk.unstable_Profiling=null,qk.unstable_UserBlockingPriority=2,qk.unstable_cancelCallback=function(m){m.callback=null},qk.unstable_forceFrameRate=function(m){0>m||125<m?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):n=0<m?Math.floor(1000/m):5},qk.unstable_getCurrentPriorityLevel=function(){return b},qk.unstable_next=function(m){switch(b){case 1:case 2:case 3:var E=3;break;default:E=b}var g=b;b=E;try{return m()}finally{b=g}},qk.unstable_requestPaint=function(){QZ=!0},qk.unstable_runWithPriority=function(m,E){switch(m){case 1:case 2:case 3:case 4:case 5:break;default:m=3}var g=b;b=m;try{return E()}finally{b=g}},qk.unstable_scheduleCallback=function(m,E,g){var e=qk.unstable_now();switch(typeof g==="object"&&g!==null?(g=g.delay,g=typeof g==="number"&&0<g?e+g:e):g=e,m){case 1:var p=-1;break;case 2:p=250;break;case 5:p=1073741823;break;case 4:p=1e4;break;default:p=5000}return p=g+p,m={id:h++,callback:E,priorityLevel:m,startTime:g,expirationTime:p,sortIndex:-1},g>e?(m.sortIndex=g,q(j,m),H(R)===null&&m===H(j)&&(qZ?(kZ(OZ),OZ=-1):qZ=!0,O(A,g-e))):(m.sortIndex=p,q(R,m),t||a||(t=!0,l||(l=!0,WZ()))),m},qk.unstable_shouldYield=L,qk.unstable_wrapCallback=function(m){var E=b;return function(){var g=b;b=E;try{return m.apply(this,arguments)}finally{b=g}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var oT=pq((Gk)=>{var Q3=f(ZZ());(function(){function Q(){}function q(N){return""+N}function H(N,M,R){var j=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{q(j);var h=!1}catch(d){h=!0}return h&&(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&&j[Symbol.toStringTag]||j.constructor.name||"Object"),q(j)),{$$typeof:O,key:j==null?null:""+j,children:N,containerInfo:M,implementation:R}}function _(N,M){if(N==="font")return"";if(typeof M==="string")return M==="use-credentials"?M:""}function W(N){return N===null?"`null`":N===void 0?"`undefined`":N===""?"an empty string":'something with type "'+typeof N+'"'}function K(N){return N===null?"`null`":N===void 0?"`undefined`":N===""?"an empty string":typeof N==="string"?JSON.stringify(N):typeof N==="number"?"`"+N+"`":'something with type "'+typeof N+'"'}function A(){var N=I.H;return N===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
19
19
  1. You might have mismatching versions of React and the renderer (such as React DOM)
20
20
  2. You might be breaking the Rules of Hooks
21
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.`),N}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var L={d:{f:Q,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:Q,C:Q,L:Q,m:Q,X:Q,S:Q,M:Q},p:0,findDOMNode:null},O=Symbol.for("react.portal"),I=Q3.__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"),Gk.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=L,Gk.createPortal=function(N,M){var R=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!M||M.nodeType!==1&&M.nodeType!==9&&M.nodeType!==11)throw Error("Target container is not a DOM element.");return z(N,M,null,R)},Gk.flushSync=function(N){var M=I.T,R=L.p;try{if(I.T=null,L.p=2,N)return N()}finally{I.T=M,L.p=R,L.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.")}},Gk.preconnect=function(N,M){typeof N==="string"&&N?M!=null&&typeof M!=="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.",K(M)):M!=null&&typeof M.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.",W(M.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",W(N)),typeof N==="string"&&(M?(M=M.crossOrigin,M=typeof M==="string"?M==="use-credentials"?M:"":void 0):M=null,L.d.C(N,M))},Gk.prefetchDNS=function(N){if(typeof N!=="string"||!N)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",W(N));else if(1<arguments.length){var M=arguments[1];typeof M==="object"&&M.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`.",K(M)):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`.",K(M))}typeof N==="string"&&L.d.D(N)},Gk.preinit=function(N,M){if(typeof N==="string"&&N?M==null||typeof M!=="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.",K(M)):M.as!=="style"&&M.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".',K(M.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",W(N)),typeof N==="string"&&M&&typeof M.as==="string"){var R=M.as,j=_(R,M.crossOrigin),h=typeof M.integrity==="string"?M.integrity:void 0,d=typeof M.fetchPriority==="string"?M.fetchPriority:void 0;R==="style"?L.d.S(N,typeof M.precedence==="string"?M.precedence:void 0,{crossOrigin:j,integrity:h,fetchPriority:d}):R==="script"&&L.d.X(N,{crossOrigin:j,integrity:h,fetchPriority:d,nonce:typeof M.nonce==="string"?M.nonce:void 0})}},Gk.preinitModule=function(N,M){var R="";if(typeof N==="string"&&N||(R+=" The `href` argument encountered was "+W(N)+"."),M!==void 0&&typeof M!=="object"?R+=" The `options` argument encountered was "+W(M)+".":M&&("as"in M)&&M.as!=="script"&&(R+=" The `as` option encountered was "+K(M.as)+"."),R)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",R);else switch(R=M&&typeof M.as==="string"?M.as:"script",R){case"script":break;default:R=K(R),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',R,N)}if(typeof N==="string")if(typeof M==="object"&&M!==null){if(M.as==null||M.as==="script")R=_(M.as,M.crossOrigin),L.d.M(N,{crossOrigin:R,integrity:typeof M.integrity==="string"?M.integrity:void 0,nonce:typeof M.nonce==="string"?M.nonce:void 0})}else M==null&&L.d.M(N)},Gk.preload=function(N,M){var R="";if(typeof N==="string"&&N||(R+=" The `href` argument encountered was "+W(N)+"."),M==null||typeof M!=="object"?R+=" The `options` argument encountered was "+W(M)+".":typeof M.as==="string"&&M.as||(R+=" The `as` option encountered was "+W(M.as)+"."),R&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',R),typeof N==="string"&&typeof M==="object"&&M!==null&&typeof M.as==="string"){R=M.as;var j=_(R,M.crossOrigin);L.d.L(N,R,{crossOrigin:j,integrity:typeof M.integrity==="string"?M.integrity:void 0,nonce:typeof M.nonce==="string"?M.nonce:void 0,type:typeof M.type==="string"?M.type:void 0,fetchPriority:typeof M.fetchPriority==="string"?M.fetchPriority:void 0,referrerPolicy:typeof M.referrerPolicy==="string"?M.referrerPolicy:void 0,imageSrcSet:typeof M.imageSrcSet==="string"?M.imageSrcSet:void 0,imageSizes:typeof M.imageSizes==="string"?M.imageSizes:void 0,media:typeof M.media==="string"?M.media:void 0})}},Gk.preloadModule=function(N,M){var R="";typeof N==="string"&&N||(R+=" The `href` argument encountered was "+W(N)+"."),M!==void 0&&typeof M!=="object"?R+=" The `options` argument encountered was "+W(M)+".":M&&("as"in M)&&typeof M.as!=="string"&&(R+=" The `as` option encountered was "+W(M.as)+"."),R&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',R),typeof N==="string"&&(M?(R=_(M.as,M.crossOrigin),L.d.m(N,{as:typeof M.as==="string"&&M.as!=="script"?M.as:void 0,crossOrigin:R,integrity:typeof M.integrity==="string"?M.integrity:void 0})):L.d.m(N))},Gk.requestFormReset=function(N){L.d.r(N)},Gk.unstable_batchedUpdates=function(N,M){return N(M)},Gk.useFormState=function(N,M,R){return A().useFormState(N,M,R)},Gk.useFormStatus=function(){return A().useHostTransitionStatus()},Gk.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var lq=pq((xg,rT)=>{var Hk=f(oT());rT.exports=Hk});var tT=pq((zk)=>{var UX=f(aT()),o_=f(ZZ()),J3=f(lq());(function(){function Q(Z,X){for(Z=Z.memoizedState;Z!==null&&0<X;)Z=Z.next,X--;return Z}function q(Z,X,Y,J){if(Y>=X.length)return J;var G=X[Y],H=HY(Z)?Z.slice():rZ({},Z);return H[G]=q(Z[G],X,Y+1,J),H}function z(Z,X,Y){if(X.length!==Y.length)console.warn("copyWithRename() expects paths of the same length");else{for(var J=0;J<Y.length-1;J++)if(X[J]!==Y[J]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return _(Z,X,Y,0)}}function _(Z,X,Y,J){var G=X[J],H=HY(Z)?Z.slice():rZ({},Z);return J+1===X.length?(H[Y[J]]=H[G],HY(H)?H.splice(G,1):delete H[G]):H[G]=_(Z[G],X,Y,J+1),H}function W(Z,X,Y){var J=X[Y],G=HY(Z)?Z.slice():rZ({},Z);if(Y+1===X.length)return HY(G)?G.splice(J,1):delete G[J],G;return G[J]=W(Z[J],X,Y+1),G}function K(){return!1}function A(){return null}function L(){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 O(){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 I(){}function N(){}function M(Z){var X=[];return Z.forEach(function(Y){X.push(Y)}),X.sort().join(", ")}function R(Z,X,Y,J){return new MD(Z,X,Y,J)}function j(Z,X){Z.context===jG&&(_0(Z.current,2,X,Z,null,null),X_())}function h(Z,X){if(pQ!==null){var Y=X.staleFamilies;X=X.updatedFamilies,_U(),c8(Z.current,X,Y),X_()}}function d(Z){pQ=Z}function b(Z){return!(!Z||Z.nodeType!==1&&Z.nodeType!==9&&Z.nodeType!==11)}function a(Z){var X=Z,Y=Z;if(Z.alternate)for(;X.return;)X=X.return;else{Z=X;do X=Z,(X.flags&4098)!==0&&(Y=X.return),Z=X.return;while(Z)}return X.tag===3?Y:null}function t(Z){if(Z.tag===13){var X=Z.memoizedState;if(X===null&&(Z=Z.alternate,Z!==null&&(X=Z.memoizedState)),X!==null)return X.dehydrated}return null}function qZ(Z){if(Z.tag===31){var X=Z.memoizedState;if(X===null&&(Z=Z.alternate,Z!==null&&(X=Z.memoizedState)),X!==null)return X.dehydrated}return null}function QZ(Z){if(a(Z)!==Z)throw Error("Unable to find node on an unmounted component.")}function LZ(Z){var X=Z.alternate;if(!X){if(X=a(Z),X===null)throw Error("Unable to find node on an unmounted component.");return X!==Z?null:Z}for(var Y=Z,J=X;;){var G=Y.return;if(G===null)break;var H=G.alternate;if(H===null){if(J=G.return,J!==null){Y=J;continue}break}if(G.child===H.child){for(H=G.child;H;){if(H===Y)return QZ(G),Z;if(H===J)return QZ(G),X;H=H.sibling}throw Error("Unable to find node on an unmounted component.")}if(Y.return!==J.return)Y=G,J=H;else{for(var U=!1,B=G.child;B;){if(B===Y){U=!0,Y=G,J=H;break}if(B===J){U=!0,J=G,Y=H;break}B=B.sibling}if(!U){for(B=H.child;B;){if(B===Y){U=!0,Y=H,J=G;break}if(B===J){U=!0,J=H,Y=G;break}B=B.sibling}if(!U)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(Y.alternate!==J)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(Y.tag!==3)throw Error("Unable to find node on an unmounted component.");return Y.stateNode.current===Y?Z:X}function kZ(Z){var X=Z.tag;if(X===5||X===26||X===27||X===6)return Z;for(Z=Z.child;Z!==null;){if(X=kZ(Z),X!==null)return X;Z=Z.sibling}return null}function JZ(Z){if(Z===null||typeof Z!=="object")return null;return Z=oN&&Z[oN]||Z["@@iterator"],typeof Z==="function"?Z:null}function l(Z){if(Z==null)return null;if(typeof Z==="function")return Z.$$typeof===m$?null:Z.displayName||Z.name||null;if(typeof Z==="string")return Z;switch(Z){case z_:return"Fragment";case A0:return"Profiler";case OL:return"StrictMode";case F0:return"Suspense";case M0:return"SuspenseList";case N0:return"Activity"}if(typeof Z==="object")switch(typeof Z.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),Z.$$typeof){case H_:return"Portal";case aJ:return Z.displayName||"Context";case O0:return(Z._context.displayName||"Context")+".Consumer";case NU:var X=Z.render;return Z=Z.displayName,Z||(Z=X.displayName||X.name||"",Z=Z!==""?"ForwardRef("+Z+")":"ForwardRef"),Z;case FL:return X=Z.displayName||null,X!==null?X:l(Z.type)||"Memo";case VQ:X=Z._payload,Z=Z._init;try{return l(Z(X))}catch(Y){}}return null}function OZ(Z){return typeof Z.tag==="number"?n(Z):typeof Z.name==="string"?Z.name:null}function n(Z){var X=Z.type;switch(Z.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(X._context.displayName||"Context")+".Consumer";case 10:return X.displayName||"Context";case 18:return"DehydratedFragment";case 11:return Z=X.render,Z=Z.displayName||Z.name||"",X.displayName||(Z!==""?"ForwardRef("+Z+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return X;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return l(X);case 8:return X===OL?"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 X==="function")return X.displayName||X.name||null;if(typeof X==="string")return X;break;case 29:if(X=Z._debugInfo,X!=null){for(var Y=X.length-1;0<=Y;Y--)if(typeof X[Y].name==="string")return X[Y].name}if(Z.return!==null)return n(Z.return)}return null}function wZ(Z){return{current:Z}}function WZ(Z,X){0>Pq?console.error("Unexpected pop."):(X!==T0[Pq]&&console.error("Unexpected Fiber popped."),Z.current=I0[Pq],I0[Pq]=null,T0[Pq]=null,Pq--)}function HZ(Z,X,Y){Pq++,I0[Pq]=Z.current,T0[Pq]=Y,Z.current=X}function v(Z){return Z===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),Z}function m(Z,X){HZ(NG,X,Z),HZ(IU,Z,Z),HZ(MG,null,Z);var Y=X.nodeType;switch(Y){case 9:case 11:Y=Y===9?"#document":"#fragment",X=(X=X.documentElement)?(X=X.namespaceURI)?IN(X):uq:uq;break;default:if(Y=X.tagName,X=X.namespaceURI)X=IN(X),X=TN(X,Y);else switch(Y){case"svg":X=d_;break;case"math":X=AA;break;default:X=uq}}Y=Y.toLowerCase(),Y=L8(null,Y),Y={context:X,ancestorInfo:Y},WZ(MG,Z),HZ(MG,Y,Z)}function E(Z){WZ(MG,Z),WZ(IU,Z),WZ(NG,Z)}function g(){return v(MG.current)}function e(Z){Z.memoizedState!==null&&HZ(ML,Z,Z);var X=v(MG.current),Y=Z.type,J=TN(X.context,Y);Y=L8(X.ancestorInfo,Y),J={context:J,ancestorInfo:Y},X!==J&&(HZ(IU,Z,Z),HZ(MG,J,Z))}function p(Z){IU.current===Z&&(WZ(MG,Z),WZ(IU,Z)),ML.current===Z&&(WZ(ML,Z),UK._currentValue=Qz)}function w(){}function o(){if(TU===0){rN=console.log,tN=console.info,eN=console.warn,Z7=console.error,X7=console.group,Y7=console.groupCollapsed,Q7=console.groupEnd;var Z={configurable:!0,enumerable:!0,value:w,writable:!0};Object.defineProperties(console,{info:Z,log:Z,warn:Z,error:Z,group:Z,groupCollapsed:Z,groupEnd:Z})}TU++}function AZ(){if(TU--,TU===0){var Z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:rZ({},Z,{value:rN}),info:rZ({},Z,{value:tN}),warn:rZ({},Z,{value:eN}),error:rZ({},Z,{value:Z7}),group:rZ({},Z,{value:X7}),groupCollapsed:rZ({},Z,{value:Y7}),groupEnd:rZ({},Z,{value:Q7})})}0>TU&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function VZ(Z){var X=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,Z=Z.stack,Error.prepareStackTrace=X,Z.startsWith(`Error: react-stack-top-frame
22
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),N}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var L={d:{f:Q,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:Q,C:Q,L:Q,m:Q,X:Q,S:Q,M:Q},p:0,findDOMNode:null},O=Symbol.for("react.portal"),I=Q3.__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"),Gk.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=L,Gk.createPortal=function(N,M){var R=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!M||M.nodeType!==1&&M.nodeType!==9&&M.nodeType!==11)throw Error("Target container is not a DOM element.");return H(N,M,null,R)},Gk.flushSync=function(N){var M=I.T,R=L.p;try{if(I.T=null,L.p=2,N)return N()}finally{I.T=M,L.p=R,L.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.")}},Gk.preconnect=function(N,M){typeof N==="string"&&N?M!=null&&typeof M!=="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.",K(M)):M!=null&&typeof M.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.",W(M.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",W(N)),typeof N==="string"&&(M?(M=M.crossOrigin,M=typeof M==="string"?M==="use-credentials"?M:"":void 0):M=null,L.d.C(N,M))},Gk.prefetchDNS=function(N){if(typeof N!=="string"||!N)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",W(N));else if(1<arguments.length){var M=arguments[1];typeof M==="object"&&M.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`.",K(M)):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`.",K(M))}typeof N==="string"&&L.d.D(N)},Gk.preinit=function(N,M){if(typeof N==="string"&&N?M==null||typeof M!=="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.",K(M)):M.as!=="style"&&M.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".',K(M.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",W(N)),typeof N==="string"&&M&&typeof M.as==="string"){var R=M.as,j=_(R,M.crossOrigin),h=typeof M.integrity==="string"?M.integrity:void 0,d=typeof M.fetchPriority==="string"?M.fetchPriority:void 0;R==="style"?L.d.S(N,typeof M.precedence==="string"?M.precedence:void 0,{crossOrigin:j,integrity:h,fetchPriority:d}):R==="script"&&L.d.X(N,{crossOrigin:j,integrity:h,fetchPriority:d,nonce:typeof M.nonce==="string"?M.nonce:void 0})}},Gk.preinitModule=function(N,M){var R="";if(typeof N==="string"&&N||(R+=" The `href` argument encountered was "+W(N)+"."),M!==void 0&&typeof M!=="object"?R+=" The `options` argument encountered was "+W(M)+".":M&&("as"in M)&&M.as!=="script"&&(R+=" The `as` option encountered was "+K(M.as)+"."),R)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",R);else switch(R=M&&typeof M.as==="string"?M.as:"script",R){case"script":break;default:R=K(R),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',R,N)}if(typeof N==="string")if(typeof M==="object"&&M!==null){if(M.as==null||M.as==="script")R=_(M.as,M.crossOrigin),L.d.M(N,{crossOrigin:R,integrity:typeof M.integrity==="string"?M.integrity:void 0,nonce:typeof M.nonce==="string"?M.nonce:void 0})}else M==null&&L.d.M(N)},Gk.preload=function(N,M){var R="";if(typeof N==="string"&&N||(R+=" The `href` argument encountered was "+W(N)+"."),M==null||typeof M!=="object"?R+=" The `options` argument encountered was "+W(M)+".":typeof M.as==="string"&&M.as||(R+=" The `as` option encountered was "+W(M.as)+"."),R&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',R),typeof N==="string"&&typeof M==="object"&&M!==null&&typeof M.as==="string"){R=M.as;var j=_(R,M.crossOrigin);L.d.L(N,R,{crossOrigin:j,integrity:typeof M.integrity==="string"?M.integrity:void 0,nonce:typeof M.nonce==="string"?M.nonce:void 0,type:typeof M.type==="string"?M.type:void 0,fetchPriority:typeof M.fetchPriority==="string"?M.fetchPriority:void 0,referrerPolicy:typeof M.referrerPolicy==="string"?M.referrerPolicy:void 0,imageSrcSet:typeof M.imageSrcSet==="string"?M.imageSrcSet:void 0,imageSizes:typeof M.imageSizes==="string"?M.imageSizes:void 0,media:typeof M.media==="string"?M.media:void 0})}},Gk.preloadModule=function(N,M){var R="";typeof N==="string"&&N||(R+=" The `href` argument encountered was "+W(N)+"."),M!==void 0&&typeof M!=="object"?R+=" The `options` argument encountered was "+W(M)+".":M&&("as"in M)&&typeof M.as!=="string"&&(R+=" The `as` option encountered was "+W(M.as)+"."),R&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',R),typeof N==="string"&&(M?(R=_(M.as,M.crossOrigin),L.d.m(N,{as:typeof M.as==="string"&&M.as!=="script"?M.as:void 0,crossOrigin:R,integrity:typeof M.integrity==="string"?M.integrity:void 0})):L.d.m(N))},Gk.requestFormReset=function(N){L.d.r(N)},Gk.unstable_batchedUpdates=function(N,M){return N(M)},Gk.useFormState=function(N,M,R){return A().useFormState(N,M,R)},Gk.useFormStatus=function(){return A().useHostTransitionStatus()},Gk.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var lq=pq((xg,rT)=>{var zk=f(oT());rT.exports=zk});var tT=pq((Hk)=>{var UX=f(aT()),o_=f(ZZ()),J3=f(lq());(function(){function Q(Z,X){for(Z=Z.memoizedState;Z!==null&&0<X;)Z=Z.next,X--;return Z}function q(Z,X,Y,J){if(Y>=X.length)return J;var G=X[Y],z=zY(Z)?Z.slice():rZ({},Z);return z[G]=q(Z[G],X,Y+1,J),z}function H(Z,X,Y){if(X.length!==Y.length)console.warn("copyWithRename() expects paths of the same length");else{for(var J=0;J<Y.length-1;J++)if(X[J]!==Y[J]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return _(Z,X,Y,0)}}function _(Z,X,Y,J){var G=X[J],z=zY(Z)?Z.slice():rZ({},Z);return J+1===X.length?(z[Y[J]]=z[G],zY(z)?z.splice(G,1):delete z[G]):z[G]=_(Z[G],X,Y,J+1),z}function W(Z,X,Y){var J=X[Y],G=zY(Z)?Z.slice():rZ({},Z);if(Y+1===X.length)return zY(G)?G.splice(J,1):delete G[J],G;return G[J]=W(Z[J],X,Y+1),G}function K(){return!1}function A(){return null}function L(){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 O(){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 I(){}function N(){}function M(Z){var X=[];return Z.forEach(function(Y){X.push(Y)}),X.sort().join(", ")}function R(Z,X,Y,J){return new MD(Z,X,Y,J)}function j(Z,X){Z.context===jG&&(_0(Z.current,2,X,Z,null,null),X_())}function h(Z,X){if(pQ!==null){var Y=X.staleFamilies;X=X.updatedFamilies,_U(),c8(Z.current,X,Y),X_()}}function d(Z){pQ=Z}function b(Z){return!(!Z||Z.nodeType!==1&&Z.nodeType!==9&&Z.nodeType!==11)}function a(Z){var X=Z,Y=Z;if(Z.alternate)for(;X.return;)X=X.return;else{Z=X;do X=Z,(X.flags&4098)!==0&&(Y=X.return),Z=X.return;while(Z)}return X.tag===3?Y:null}function t(Z){if(Z.tag===13){var X=Z.memoizedState;if(X===null&&(Z=Z.alternate,Z!==null&&(X=Z.memoizedState)),X!==null)return X.dehydrated}return null}function qZ(Z){if(Z.tag===31){var X=Z.memoizedState;if(X===null&&(Z=Z.alternate,Z!==null&&(X=Z.memoizedState)),X!==null)return X.dehydrated}return null}function QZ(Z){if(a(Z)!==Z)throw Error("Unable to find node on an unmounted component.")}function LZ(Z){var X=Z.alternate;if(!X){if(X=a(Z),X===null)throw Error("Unable to find node on an unmounted component.");return X!==Z?null:Z}for(var Y=Z,J=X;;){var G=Y.return;if(G===null)break;var z=G.alternate;if(z===null){if(J=G.return,J!==null){Y=J;continue}break}if(G.child===z.child){for(z=G.child;z;){if(z===Y)return QZ(G),Z;if(z===J)return QZ(G),X;z=z.sibling}throw Error("Unable to find node on an unmounted component.")}if(Y.return!==J.return)Y=G,J=z;else{for(var U=!1,B=G.child;B;){if(B===Y){U=!0,Y=G,J=z;break}if(B===J){U=!0,J=G,Y=z;break}B=B.sibling}if(!U){for(B=z.child;B;){if(B===Y){U=!0,Y=z,J=G;break}if(B===J){U=!0,J=z,Y=G;break}B=B.sibling}if(!U)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(Y.alternate!==J)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(Y.tag!==3)throw Error("Unable to find node on an unmounted component.");return Y.stateNode.current===Y?Z:X}function kZ(Z){var X=Z.tag;if(X===5||X===26||X===27||X===6)return Z;for(Z=Z.child;Z!==null;){if(X=kZ(Z),X!==null)return X;Z=Z.sibling}return null}function JZ(Z){if(Z===null||typeof Z!=="object")return null;return Z=oN&&Z[oN]||Z["@@iterator"],typeof Z==="function"?Z:null}function l(Z){if(Z==null)return null;if(typeof Z==="function")return Z.$$typeof===m$?null:Z.displayName||Z.name||null;if(typeof Z==="string")return Z;switch(Z){case H_:return"Fragment";case A0:return"Profiler";case OL:return"StrictMode";case F0:return"Suspense";case M0:return"SuspenseList";case N0:return"Activity"}if(typeof Z==="object")switch(typeof Z.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),Z.$$typeof){case z_:return"Portal";case aJ:return Z.displayName||"Context";case O0:return(Z._context.displayName||"Context")+".Consumer";case NU:var X=Z.render;return Z=Z.displayName,Z||(Z=X.displayName||X.name||"",Z=Z!==""?"ForwardRef("+Z+")":"ForwardRef"),Z;case FL:return X=Z.displayName||null,X!==null?X:l(Z.type)||"Memo";case VQ:X=Z._payload,Z=Z._init;try{return l(Z(X))}catch(Y){}}return null}function OZ(Z){return typeof Z.tag==="number"?n(Z):typeof Z.name==="string"?Z.name:null}function n(Z){var X=Z.type;switch(Z.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(X._context.displayName||"Context")+".Consumer";case 10:return X.displayName||"Context";case 18:return"DehydratedFragment";case 11:return Z=X.render,Z=Z.displayName||Z.name||"",X.displayName||(Z!==""?"ForwardRef("+Z+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return X;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return l(X);case 8:return X===OL?"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 X==="function")return X.displayName||X.name||null;if(typeof X==="string")return X;break;case 29:if(X=Z._debugInfo,X!=null){for(var Y=X.length-1;0<=Y;Y--)if(typeof X[Y].name==="string")return X[Y].name}if(Z.return!==null)return n(Z.return)}return null}function wZ(Z){return{current:Z}}function WZ(Z,X){0>Pq?console.error("Unexpected pop."):(X!==T0[Pq]&&console.error("Unexpected Fiber popped."),Z.current=I0[Pq],I0[Pq]=null,T0[Pq]=null,Pq--)}function zZ(Z,X,Y){Pq++,I0[Pq]=Z.current,T0[Pq]=Y,Z.current=X}function v(Z){return Z===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),Z}function m(Z,X){zZ(NG,X,Z),zZ(IU,Z,Z),zZ(MG,null,Z);var Y=X.nodeType;switch(Y){case 9:case 11:Y=Y===9?"#document":"#fragment",X=(X=X.documentElement)?(X=X.namespaceURI)?IN(X):uq:uq;break;default:if(Y=X.tagName,X=X.namespaceURI)X=IN(X),X=TN(X,Y);else switch(Y){case"svg":X=d_;break;case"math":X=AA;break;default:X=uq}}Y=Y.toLowerCase(),Y=L8(null,Y),Y={context:X,ancestorInfo:Y},WZ(MG,Z),zZ(MG,Y,Z)}function E(Z){WZ(MG,Z),WZ(IU,Z),WZ(NG,Z)}function g(){return v(MG.current)}function e(Z){Z.memoizedState!==null&&zZ(ML,Z,Z);var X=v(MG.current),Y=Z.type,J=TN(X.context,Y);Y=L8(X.ancestorInfo,Y),J={context:J,ancestorInfo:Y},X!==J&&(zZ(IU,Z,Z),zZ(MG,J,Z))}function p(Z){IU.current===Z&&(WZ(MG,Z),WZ(IU,Z)),ML.current===Z&&(WZ(ML,Z),UK._currentValue=QH)}function w(){}function o(){if(TU===0){rN=console.log,tN=console.info,eN=console.warn,Z7=console.error,X7=console.group,Y7=console.groupCollapsed,Q7=console.groupEnd;var Z={configurable:!0,enumerable:!0,value:w,writable:!0};Object.defineProperties(console,{info:Z,log:Z,warn:Z,error:Z,group:Z,groupCollapsed:Z,groupEnd:Z})}TU++}function AZ(){if(TU--,TU===0){var Z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:rZ({},Z,{value:rN}),info:rZ({},Z,{value:tN}),warn:rZ({},Z,{value:eN}),error:rZ({},Z,{value:Z7}),group:rZ({},Z,{value:X7}),groupCollapsed:rZ({},Z,{value:Y7}),groupEnd:rZ({},Z,{value:Q7})})}0>TU&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function VZ(Z){var X=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,Z=Z.stack,Error.prepareStackTrace=X,Z.startsWith(`Error: react-stack-top-frame
23
23
  `)&&(Z=Z.slice(29)),X=Z.indexOf(`
24
24
  `),X!==-1&&(Z=Z.slice(X+1)),X=Z.indexOf("react_stack_bottom_frame"),X!==-1&&(X=Z.lastIndexOf(`
25
25
  `,X)),X!==-1)Z=Z.slice(0,X);else return"";return Z}function vZ(Z){if(w0===void 0)try{throw Error()}catch(Y){var X=Y.stack.trim().match(/\n( *(at )?)/);w0=X&&X[1]||"",J7=-1<Y.stack.indexOf(`
26
26
  at`)?" (<anonymous>)":-1<Y.stack.indexOf("@")?"@unknown:0:0":""}return`
27
- `+w0+Z+J7}function JX(Z,X){if(!Z||V0)return"";var Y=R0.get(Z);if(Y!==void 0)return Y;V0=!0,Y=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var J=null;J=s.H,s.H=null,o();try{var G={DetermineComponentFrameRoot:function(){try{if(X){var $=function(){throw Error()};if(Object.defineProperty($.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct($,[])}catch(GZ){var c=GZ}Reflect.construct(Z,[],$)}else{try{$.call()}catch(GZ){c=GZ}Z.call($.prototype)}}else{try{throw Error()}catch(GZ){c=GZ}($=Z())&&typeof $.catch==="function"&&$.catch(function(){})}}catch(GZ){if(GZ&&c&&typeof GZ.stack==="string")return[GZ.stack,c.stack]}return[null,null]}};G.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var H=Object.getOwnPropertyDescriptor(G.DetermineComponentFrameRoot,"name");H&&H.configurable&&Object.defineProperty(G.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var U=G.DetermineComponentFrameRoot(),B=U[0],F=U[1];if(B&&F){var T=B.split(`
27
+ `+w0+Z+J7}function JX(Z,X){if(!Z||V0)return"";var Y=R0.get(Z);if(Y!==void 0)return Y;V0=!0,Y=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var J=null;J=s.H,s.H=null,o();try{var G={DetermineComponentFrameRoot:function(){try{if(X){var $=function(){throw Error()};if(Object.defineProperty($.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct($,[])}catch(GZ){var c=GZ}Reflect.construct(Z,[],$)}else{try{$.call()}catch(GZ){c=GZ}Z.call($.prototype)}}else{try{throw Error()}catch(GZ){c=GZ}($=Z())&&typeof $.catch==="function"&&$.catch(function(){})}}catch(GZ){if(GZ&&c&&typeof GZ.stack==="string")return[GZ.stack,c.stack]}return[null,null]}};G.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var z=Object.getOwnPropertyDescriptor(G.DetermineComponentFrameRoot,"name");z&&z.configurable&&Object.defineProperty(G.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var U=G.DetermineComponentFrameRoot(),B=U[0],F=U[1];if(B&&F){var T=B.split(`
28
28
  `),x=F.split(`
29
- `);for(U=H=0;H<T.length&&!T[H].includes("DetermineComponentFrameRoot");)H++;for(;U<x.length&&!x[U].includes("DetermineComponentFrameRoot");)U++;if(H===T.length||U===x.length)for(H=T.length-1,U=x.length-1;1<=H&&0<=U&&T[H]!==x[U];)U--;for(;1<=H&&0<=U;H--,U--)if(T[H]!==x[U]){if(H!==1||U!==1)do if(H--,U--,0>U||T[H]!==x[U]){var y=`
30
- `+T[H].replace(" at new "," at ");return Z.displayName&&y.includes("<anonymous>")&&(y=y.replace("<anonymous>",Z.displayName)),typeof Z==="function"&&R0.set(Z,y),y}while(1<=H&&0<=U);break}}}finally{V0=!1,s.H=J,AZ(),Error.prepareStackTrace=Y}return T=(T=Z?Z.displayName||Z.name:"")?vZ(T):"",typeof Z==="function"&&R0.set(Z,T),T}function NZ(Z,X){switch(Z.tag){case 26:case 27:case 5:return vZ(Z.type);case 16:return vZ("Lazy");case 13:return Z.child!==X&&X!==null?vZ("Suspense Fallback"):vZ("Suspense");case 19:return vZ("SuspenseList");case 0:case 15:return JX(Z.type,!1);case 11:return JX(Z.type.render,!1);case 1:return JX(Z.type,!0);case 31:return vZ("Activity");default:return""}}function YX(Z){try{var X="",Y=null;do{X+=NZ(Z,Y);var J=Z._debugInfo;if(J)for(var G=J.length-1;0<=G;G--){var H=J[G];if(typeof H.name==="string"){var U=X;Z:{var{name:B,env:F,debugLocation:T}=H;if(T!=null){var x=VZ(T),y=x.lastIndexOf(`
29
+ `);for(U=z=0;z<T.length&&!T[z].includes("DetermineComponentFrameRoot");)z++;for(;U<x.length&&!x[U].includes("DetermineComponentFrameRoot");)U++;if(z===T.length||U===x.length)for(z=T.length-1,U=x.length-1;1<=z&&0<=U&&T[z]!==x[U];)U--;for(;1<=z&&0<=U;z--,U--)if(T[z]!==x[U]){if(z!==1||U!==1)do if(z--,U--,0>U||T[z]!==x[U]){var y=`
30
+ `+T[z].replace(" at new "," at ");return Z.displayName&&y.includes("<anonymous>")&&(y=y.replace("<anonymous>",Z.displayName)),typeof Z==="function"&&R0.set(Z,y),y}while(1<=z&&0<=U);break}}}finally{V0=!1,s.H=J,AZ(),Error.prepareStackTrace=Y}return T=(T=Z?Z.displayName||Z.name:"")?vZ(T):"",typeof Z==="function"&&R0.set(Z,T),T}function NZ(Z,X){switch(Z.tag){case 26:case 27:case 5:return vZ(Z.type);case 16:return vZ("Lazy");case 13:return Z.child!==X&&X!==null?vZ("Suspense Fallback"):vZ("Suspense");case 19:return vZ("SuspenseList");case 0:case 15:return JX(Z.type,!1);case 11:return JX(Z.type.render,!1);case 1:return JX(Z.type,!0);case 31:return vZ("Activity");default:return""}}function YX(Z){try{var X="",Y=null;do{X+=NZ(Z,Y);var J=Z._debugInfo;if(J)for(var G=J.length-1;0<=G;G--){var z=J[G];if(typeof z.name==="string"){var U=X;Z:{var{name:B,env:F,debugLocation:T}=z;if(T!=null){var x=VZ(T),y=x.lastIndexOf(`
31
31
  `),$=y===-1?x:x.slice(y+1);if($.indexOf(B)!==-1){var c=`
32
32
  `+$;break Z}}c=vZ(B+(F?" ["+F+"]":""))}X=U+c}}Y=Z,Z=Z.return}while(Z);return X}catch(GZ){return`
33
33
  Error generating stack: `+GZ.message+`
34
34
  `+GZ.stack}}function TX(Z){return(Z=Z?Z.displayName||Z.name:"")?vZ(Z):""}function BX(){if(RQ===null)return null;var Z=RQ._debugOwner;return Z!=null?OZ(Z):null}function Oq(){if(RQ===null)return"";var Z=RQ;try{var X="";switch(Z.tag===6&&(Z=Z.return),Z.tag){case 26:case 27:case 5:X+=vZ(Z.type);break;case 13:X+=vZ("Suspense");break;case 19:X+=vZ("SuspenseList");break;case 31:X+=vZ("Activity");break;case 30:case 0:case 15:case 1:Z._debugOwner||X!==""||(X+=TX(Z.type));break;case 11:Z._debugOwner||X!==""||(X+=TX(Z.type.render))}for(;Z;)if(typeof Z.tag==="number"){var Y=Z;Z=Y._debugOwner;var J=Y._debugStack;if(Z&&J){var G=VZ(J);G!==""&&(X+=`
35
- `+G)}}else if(Z.debugStack!=null){var H=Z.debugStack;(Z=Z.owner)&&H&&(X+=`
36
- `+VZ(H))}else break;var U=X}catch(B){U=`
35
+ `+G)}}else if(Z.debugStack!=null){var z=Z.debugStack;(Z=Z.owner)&&z&&(X+=`
36
+ `+VZ(z))}else break;var U=X}catch(B){U=`
37
37
  Error generating stack: `+B.message+`
38
- `+B.stack}return U}function UZ(Z,X,Y,J,G,H,U){var B=RQ;KQ(Z);try{return Z!==null&&Z._debugTask?Z._debugTask.run(X.bind(null,Y,J,G,H,U)):X(Y,J,G,H,U)}finally{KQ(B)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function KQ(Z){s.getCurrentStack=Z===null?null:Oq,oJ=!1,RQ=Z}function BQ(Z){return typeof Symbol==="function"&&Symbol.toStringTag&&Z[Symbol.toStringTag]||Z.constructor.name||"Object"}function yY(Z){try{return oX(Z),!1}catch(X){return!0}}function oX(Z){return""+Z}function PZ(Z,X){if(yY(Z))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",X,BQ(Z)),oX(Z)}function Fq(Z,X){if(yY(Z))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.",X,BQ(Z)),oX(Z)}function lZ(Z){if(yY(Z))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.",BQ(Z)),oX(Z)}function fz(Z){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var X=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(X.isDisabled)return!0;if(!X.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{W_=X.inject(Z),bY=X}catch(Y){console.error("React instrumentation encountered an error: %o.",Y)}return X.checkDCE?!0:!1}function jX(Z){if(typeof i$==="function"&&n$(Z),bY&&typeof bY.setStrictMode==="function")try{bY.setStrictMode(W_,Z)}catch(X){rJ||(rJ=!0,console.error("React instrumentation encountered an error: %o",X))}}function GB(Z){return Z>>>=0,Z===0?32:31-(s$(Z)/a$|0)|0}function EJ(Z){var X=Z&42;if(X!==0)return X;switch(Z&-Z){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 Z&261888;case 262144:case 524288:case 1048576:case 2097152:return Z&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return Z&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."),Z}}function LH(Z,X,Y){var J=Z.pendingLanes;if(J===0)return 0;var G=0,H=Z.suspendedLanes,U=Z.pingedLanes;Z=Z.warmLanes;var B=J&134217727;return B!==0?(J=B&~H,J!==0?G=EJ(J):(U&=B,U!==0?G=EJ(U):Y||(Y=B&~Z,Y!==0&&(G=EJ(Y))))):(B=J&~H,B!==0?G=EJ(B):U!==0?G=EJ(U):Y||(Y=J&~Z,Y!==0&&(G=EJ(Y)))),G===0?0:X!==0&&X!==G&&(X&H)===0&&(H=G&-G,Y=X&-X,H>=Y||H===32&&(Y&4194048)!==0)?X:G}function AH(Z,X){return(Z.pendingLanes&~(Z.suspendedLanes&~Z.pingedLanes)&X)===0}function _F(Z,X){switch(Z){case 1:case 2:case 4:case 8:case 64:return X+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 X+5000;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function uz(){var Z=TL;return TL<<=1,(TL&62914560)===0&&(TL=4194304),Z}function dz(Z){for(var X=[],Y=0;31>Y;Y++)X.push(Z);return X}function QG(Z,X){Z.pendingLanes|=X,X!==268435456&&(Z.suspendedLanes=0,Z.pingedLanes=0,Z.warmLanes=0)}function HB(Z,X,Y,J,G,H){var U=Z.pendingLanes;Z.pendingLanes=Y,Z.suspendedLanes=0,Z.pingedLanes=0,Z.warmLanes=0,Z.expiredLanes&=Y,Z.entangledLanes&=Y,Z.errorRecoveryDisabledLanes&=Y,Z.shellSuspendCounter=0;var{entanglements:B,expirationTimes:F,hiddenUpdates:T}=Z;for(Y=U&~Y;0<Y;){var x=31-fY(Y),y=1<<x;B[x]=0,F[x]=-1;var $=T[x];if($!==null)for(T[x]=null,x=0;x<$.length;x++){var c=$[x];c!==null&&(c.lane&=-536870913)}Y&=~y}J!==0&&OH(Z,J,0),H!==0&&G===0&&Z.tag!==0&&(Z.suspendedLanes|=H&~(U&~X))}function OH(Z,X,Y){Z.pendingLanes|=X,Z.suspendedLanes&=~X;var J=31-fY(X);Z.entangledLanes|=X,Z.entanglements[J]=Z.entanglements[J]|1073741824|Y&261930}function FH(Z,X){var Y=Z.entangledLanes|=X;for(Z=Z.entanglements;Y;){var J=31-fY(Y),G=1<<J;G&X|Z[J]&X&&(Z[J]|=X),Y&=~G}}function MH(Z,X){var Y=X&-X;return Y=(Y&42)!==0?1:NH(Y),(Y&(Z.suspendedLanes|X))!==0?0:Y}function NH(Z){switch(Z){case 2:Z=1;break;case 8:Z=4;break;case 32:Z=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:Z=128;break;case 268435456:Z=134217728;break;default:Z=0}return Z}function hW(Z,X,Y){if(tJ)for(Z=Z.pendingUpdatersLaneMap;0<Y;){var J=31-fY(Y),G=1<<J;Z[J].add(X),Y&=~G}}function JG(Z,X){if(tJ)for(var{pendingUpdatersLaneMap:Y,memoizedUpdaters:J}=Z;0<X;){var G=31-fY(X);Z=1<<G,G=Y[G],0<G.size&&(G.forEach(function(H){var U=H.alternate;U!==null&&J.has(U)||J.add(H)}),G.clear()),X&=~Z}}function V(Z){return Z&=-Z,jQ!==0&&jQ<Z?LJ!==0&&LJ<Z?(Z&134217727)!==0?eJ:wL:LJ:jQ}function u(){var Z=OX.p;if(Z!==0)return Z;return Z=window.event,Z===void 0?eJ:cN(Z.type)}function YZ(Z,X){var Y=OX.p;try{return OX.p=Z,X()}finally{OX.p=Y}}function zZ(Z){delete Z[RY],delete Z[uY],delete Z[$0],delete Z[o$],delete Z[r$]}function RZ(Z){var X=Z[RY];if(X)return X;for(var Y=Z.parentNode;Y;){if(X=Y[TG]||Y[RY]){if(Y=X.alternate,X.child!==null||Y!==null&&Y.child!==null)for(Z=$N(Z);Z!==null;){if(Y=Z[RY])return Y;Z=$N(Z)}return X}Z=Y,Y=Z.parentNode}return null}function fZ(Z){if(Z=Z[RY]||Z[TG]){var X=Z.tag;if(X===5||X===6||X===13||X===31||X===26||X===27||X===3)return Z}return null}function uZ(Z){var X=Z.tag;if(X===5||X===26||X===27||X===6)return Z.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function WX(Z){var X=Z[q7];return X||(X=Z[q7]={hoistableStyles:new Map,hoistableScripts:new Map}),X}function SZ(Z){Z[wU]=!0}function vY(Z,X){LQ(Z,X),LQ(Z+"Capture",X)}function LQ(Z,X){vH[Z]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",Z),vH[Z]=X;var Y=Z.toLowerCase();S0[Y]=Z,Z==="onDoubleClick"&&(S0.ondblclick=Z);for(Z=0;Z<X.length;Z++)G7.add(X[Z])}function qG(Z,X){t$[X.type]||X.onChange||X.onInput||X.readOnly||X.disabled||X.value==null||(Z==="select"?console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`."):console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")),X.onChange||X.readOnly||X.disabled||X.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 bW(Z){if(BJ.call(z7,Z))return!0;if(BJ.call(H7,Z))return!1;if(e$.test(Z))return z7[Z]=!0;return H7[Z]=!0,console.error("Invalid attribute name: `%s`",Z),!1}function e5(Z,X,Y){if(bW(X)){if(!Z.hasAttribute(X)){switch(typeof Y){case"symbol":case"object":return Y;case"function":return Y;case"boolean":if(Y===!1)return Y}return Y===void 0?void 0:null}if(Z=Z.getAttribute(X),Z===""&&Y===!0)return!0;return PZ(Y,X),Z===""+Y?Y:Z}}function zB(Z,X,Y){if(bW(X))if(Y===null)Z.removeAttribute(X);else{switch(typeof Y){case"undefined":case"function":case"symbol":Z.removeAttribute(X);return;case"boolean":var J=X.toLowerCase().slice(0,5);if(J!=="data-"&&J!=="aria-"){Z.removeAttribute(X);return}}PZ(Y,X),Z.setAttribute(X,""+Y)}}function _B(Z,X,Y){if(Y===null)Z.removeAttribute(X);else{switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":Z.removeAttribute(X);return}PZ(Y,X),Z.setAttribute(X,""+Y)}}function Mq(Z,X,Y,J){if(J===null)Z.removeAttribute(Y);else{switch(typeof J){case"undefined":case"function":case"symbol":case"boolean":Z.removeAttribute(Y);return}PZ(J,Y),Z.setAttributeNS(X,Y,""+J)}}function mQ(Z){switch(typeof Z){case"bigint":case"boolean":case"number":case"string":case"undefined":return Z;case"object":return lZ(Z),Z;default:return""}}function Z8(Z){var X=Z.type;return(Z=Z.nodeName)&&Z.toLowerCase()==="input"&&(X==="checkbox"||X==="radio")}function aP(Z,X,Y){var J=Object.getOwnPropertyDescriptor(Z.constructor.prototype,X);if(!Z.hasOwnProperty(X)&&typeof J<"u"&&typeof J.get==="function"&&typeof J.set==="function"){var{get:G,set:H}=J;return Object.defineProperty(Z,X,{configurable:!0,get:function(){return G.call(this)},set:function(U){lZ(U),Y=""+U,H.call(this,U)}}),Object.defineProperty(Z,X,{enumerable:J.enumerable}),{getValue:function(){return Y},setValue:function(U){lZ(U),Y=""+U},stopTracking:function(){Z._valueTracker=null,delete Z[X]}}}}function WF(Z){if(!Z._valueTracker){var X=Z8(Z)?"checked":"value";Z._valueTracker=aP(Z,X,""+Z[X])}}function X8(Z){if(!Z)return!1;var X=Z._valueTracker;if(!X)return!0;var Y=X.getValue(),J="";return Z&&(J=Z8(Z)?Z.checked?"true":"false":Z.value),Z=J,Z!==Y?(X.setValue(Z),!0):!1}function WB(Z){if(Z=Z||(typeof document<"u"?document:void 0),typeof Z>"u")return null;try{return Z.activeElement||Z.body}catch(X){return Z.body}}function fQ(Z){return Z.replace(ZS,function(X){return"\\"+X.charCodeAt(0).toString(16)+" "})}function Y8(Z,X){X.checked===void 0||X.defaultChecked===void 0||W7||(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",BX()||"A component",X.type),W7=!0),X.value===void 0||X.defaultValue===void 0||_7||(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",BX()||"A component",X.type),_7=!0)}function UF(Z,X,Y,J,G,H,U,B){if(Z.name="",U!=null&&typeof U!=="function"&&typeof U!=="symbol"&&typeof U!=="boolean"?(PZ(U,"type"),Z.type=U):Z.removeAttribute("type"),X!=null)if(U==="number"){if(X===0&&Z.value===""||Z.value!=X)Z.value=""+mQ(X)}else Z.value!==""+mQ(X)&&(Z.value=""+mQ(X));else U!=="submit"&&U!=="reset"||Z.removeAttribute("value");X!=null?KF(Z,U,mQ(X)):Y!=null?KF(Z,U,mQ(Y)):J!=null&&Z.removeAttribute("value"),G==null&&H!=null&&(Z.defaultChecked=!!H),G!=null&&(Z.checked=G&&typeof G!=="function"&&typeof G!=="symbol"),B!=null&&typeof B!=="function"&&typeof B!=="symbol"&&typeof B!=="boolean"?(PZ(B,"name"),Z.name=""+mQ(B)):Z.removeAttribute("name")}function Q8(Z,X,Y,J,G,H,U,B){if(H!=null&&typeof H!=="function"&&typeof H!=="symbol"&&typeof H!=="boolean"&&(PZ(H,"type"),Z.type=H),X!=null||Y!=null){if(!(H!=="submit"&&H!=="reset"||X!==void 0&&X!==null)){WF(Z);return}Y=Y!=null?""+mQ(Y):"",X=X!=null?""+mQ(X):Y,B||X===Z.value||(Z.value=X),Z.defaultValue=X}J=J!=null?J:G,J=typeof J!=="function"&&typeof J!=="symbol"&&!!J,Z.checked=B?Z.checked:!!J,Z.defaultChecked=!!J,U!=null&&typeof U!=="function"&&typeof U!=="symbol"&&typeof U!=="boolean"&&(PZ(U,"name"),Z.name=U),WF(Z)}function KF(Z,X,Y){X==="number"&&WB(Z.ownerDocument)===Z||Z.defaultValue===""+Y||(Z.defaultValue=""+Y)}function J8(Z,X){X.value==null&&(typeof X.children==="object"&&X.children!==null?o_.Children.forEach(X.children,function(Y){Y==null||typeof Y==="string"||typeof Y==="number"||typeof Y==="bigint"||K7||(K7=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):X.dangerouslySetInnerHTML==null||B7||(B7=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),X.selected==null||U7||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),U7=!0)}function q8(){var Z=BX();return Z?`
38
+ `+B.stack}return U}function UZ(Z,X,Y,J,G,z,U){var B=RQ;KQ(Z);try{return Z!==null&&Z._debugTask?Z._debugTask.run(X.bind(null,Y,J,G,z,U)):X(Y,J,G,z,U)}finally{KQ(B)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function KQ(Z){s.getCurrentStack=Z===null?null:Oq,oJ=!1,RQ=Z}function BQ(Z){return typeof Symbol==="function"&&Symbol.toStringTag&&Z[Symbol.toStringTag]||Z.constructor.name||"Object"}function yY(Z){try{return oX(Z),!1}catch(X){return!0}}function oX(Z){return""+Z}function PZ(Z,X){if(yY(Z))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",X,BQ(Z)),oX(Z)}function Fq(Z,X){if(yY(Z))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.",X,BQ(Z)),oX(Z)}function lZ(Z){if(yY(Z))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.",BQ(Z)),oX(Z)}function fH(Z){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var X=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(X.isDisabled)return!0;if(!X.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{W_=X.inject(Z),bY=X}catch(Y){console.error("React instrumentation encountered an error: %o.",Y)}return X.checkDCE?!0:!1}function jX(Z){if(typeof i$==="function"&&n$(Z),bY&&typeof bY.setStrictMode==="function")try{bY.setStrictMode(W_,Z)}catch(X){rJ||(rJ=!0,console.error("React instrumentation encountered an error: %o",X))}}function GB(Z){return Z>>>=0,Z===0?32:31-(s$(Z)/a$|0)|0}function EJ(Z){var X=Z&42;if(X!==0)return X;switch(Z&-Z){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 Z&261888;case 262144:case 524288:case 1048576:case 2097152:return Z&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return Z&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."),Z}}function Lz(Z,X,Y){var J=Z.pendingLanes;if(J===0)return 0;var G=0,z=Z.suspendedLanes,U=Z.pingedLanes;Z=Z.warmLanes;var B=J&134217727;return B!==0?(J=B&~z,J!==0?G=EJ(J):(U&=B,U!==0?G=EJ(U):Y||(Y=B&~Z,Y!==0&&(G=EJ(Y))))):(B=J&~z,B!==0?G=EJ(B):U!==0?G=EJ(U):Y||(Y=J&~Z,Y!==0&&(G=EJ(Y)))),G===0?0:X!==0&&X!==G&&(X&z)===0&&(z=G&-G,Y=X&-X,z>=Y||z===32&&(Y&4194048)!==0)?X:G}function Az(Z,X){return(Z.pendingLanes&~(Z.suspendedLanes&~Z.pingedLanes)&X)===0}function _F(Z,X){switch(Z){case 1:case 2:case 4:case 8:case 64:return X+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 X+5000;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function uH(){var Z=TL;return TL<<=1,(TL&62914560)===0&&(TL=4194304),Z}function dH(Z){for(var X=[],Y=0;31>Y;Y++)X.push(Z);return X}function QG(Z,X){Z.pendingLanes|=X,X!==268435456&&(Z.suspendedLanes=0,Z.pingedLanes=0,Z.warmLanes=0)}function zB(Z,X,Y,J,G,z){var U=Z.pendingLanes;Z.pendingLanes=Y,Z.suspendedLanes=0,Z.pingedLanes=0,Z.warmLanes=0,Z.expiredLanes&=Y,Z.entangledLanes&=Y,Z.errorRecoveryDisabledLanes&=Y,Z.shellSuspendCounter=0;var{entanglements:B,expirationTimes:F,hiddenUpdates:T}=Z;for(Y=U&~Y;0<Y;){var x=31-fY(Y),y=1<<x;B[x]=0,F[x]=-1;var $=T[x];if($!==null)for(T[x]=null,x=0;x<$.length;x++){var c=$[x];c!==null&&(c.lane&=-536870913)}Y&=~y}J!==0&&Oz(Z,J,0),z!==0&&G===0&&Z.tag!==0&&(Z.suspendedLanes|=z&~(U&~X))}function Oz(Z,X,Y){Z.pendingLanes|=X,Z.suspendedLanes&=~X;var J=31-fY(X);Z.entangledLanes|=X,Z.entanglements[J]=Z.entanglements[J]|1073741824|Y&261930}function Fz(Z,X){var Y=Z.entangledLanes|=X;for(Z=Z.entanglements;Y;){var J=31-fY(Y),G=1<<J;G&X|Z[J]&X&&(Z[J]|=X),Y&=~G}}function Mz(Z,X){var Y=X&-X;return Y=(Y&42)!==0?1:Nz(Y),(Y&(Z.suspendedLanes|X))!==0?0:Y}function Nz(Z){switch(Z){case 2:Z=1;break;case 8:Z=4;break;case 32:Z=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:Z=128;break;case 268435456:Z=134217728;break;default:Z=0}return Z}function hW(Z,X,Y){if(tJ)for(Z=Z.pendingUpdatersLaneMap;0<Y;){var J=31-fY(Y),G=1<<J;Z[J].add(X),Y&=~G}}function JG(Z,X){if(tJ)for(var{pendingUpdatersLaneMap:Y,memoizedUpdaters:J}=Z;0<X;){var G=31-fY(X);Z=1<<G,G=Y[G],0<G.size&&(G.forEach(function(z){var U=z.alternate;U!==null&&J.has(U)||J.add(z)}),G.clear()),X&=~Z}}function V(Z){return Z&=-Z,jQ!==0&&jQ<Z?LJ!==0&&LJ<Z?(Z&134217727)!==0?eJ:wL:LJ:jQ}function u(){var Z=OX.p;if(Z!==0)return Z;return Z=window.event,Z===void 0?eJ:cN(Z.type)}function YZ(Z,X){var Y=OX.p;try{return OX.p=Z,X()}finally{OX.p=Y}}function HZ(Z){delete Z[jY],delete Z[uY],delete Z[$0],delete Z[o$],delete Z[r$]}function RZ(Z){var X=Z[jY];if(X)return X;for(var Y=Z.parentNode;Y;){if(X=Y[TG]||Y[jY]){if(Y=X.alternate,X.child!==null||Y!==null&&Y.child!==null)for(Z=$N(Z);Z!==null;){if(Y=Z[jY])return Y;Z=$N(Z)}return X}Z=Y,Y=Z.parentNode}return null}function fZ(Z){if(Z=Z[jY]||Z[TG]){var X=Z.tag;if(X===5||X===6||X===13||X===31||X===26||X===27||X===3)return Z}return null}function uZ(Z){var X=Z.tag;if(X===5||X===26||X===27||X===6)return Z.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function WX(Z){var X=Z[q7];return X||(X=Z[q7]={hoistableStyles:new Map,hoistableScripts:new Map}),X}function SZ(Z){Z[wU]=!0}function vY(Z,X){LQ(Z,X),LQ(Z+"Capture",X)}function LQ(Z,X){vz[Z]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",Z),vz[Z]=X;var Y=Z.toLowerCase();S0[Y]=Z,Z==="onDoubleClick"&&(S0.ondblclick=Z);for(Z=0;Z<X.length;Z++)G7.add(X[Z])}function qG(Z,X){t$[X.type]||X.onChange||X.onInput||X.readOnly||X.disabled||X.value==null||(Z==="select"?console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`."):console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")),X.onChange||X.readOnly||X.disabled||X.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 bW(Z){if(BJ.call(H7,Z))return!0;if(BJ.call(z7,Z))return!1;if(e$.test(Z))return H7[Z]=!0;return z7[Z]=!0,console.error("Invalid attribute name: `%s`",Z),!1}function e5(Z,X,Y){if(bW(X)){if(!Z.hasAttribute(X)){switch(typeof Y){case"symbol":case"object":return Y;case"function":return Y;case"boolean":if(Y===!1)return Y}return Y===void 0?void 0:null}if(Z=Z.getAttribute(X),Z===""&&Y===!0)return!0;return PZ(Y,X),Z===""+Y?Y:Z}}function HB(Z,X,Y){if(bW(X))if(Y===null)Z.removeAttribute(X);else{switch(typeof Y){case"undefined":case"function":case"symbol":Z.removeAttribute(X);return;case"boolean":var J=X.toLowerCase().slice(0,5);if(J!=="data-"&&J!=="aria-"){Z.removeAttribute(X);return}}PZ(Y,X),Z.setAttribute(X,""+Y)}}function _B(Z,X,Y){if(Y===null)Z.removeAttribute(X);else{switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":Z.removeAttribute(X);return}PZ(Y,X),Z.setAttribute(X,""+Y)}}function Mq(Z,X,Y,J){if(J===null)Z.removeAttribute(Y);else{switch(typeof J){case"undefined":case"function":case"symbol":case"boolean":Z.removeAttribute(Y);return}PZ(J,Y),Z.setAttributeNS(X,Y,""+J)}}function mQ(Z){switch(typeof Z){case"bigint":case"boolean":case"number":case"string":case"undefined":return Z;case"object":return lZ(Z),Z;default:return""}}function Z8(Z){var X=Z.type;return(Z=Z.nodeName)&&Z.toLowerCase()==="input"&&(X==="checkbox"||X==="radio")}function aP(Z,X,Y){var J=Object.getOwnPropertyDescriptor(Z.constructor.prototype,X);if(!Z.hasOwnProperty(X)&&typeof J<"u"&&typeof J.get==="function"&&typeof J.set==="function"){var{get:G,set:z}=J;return Object.defineProperty(Z,X,{configurable:!0,get:function(){return G.call(this)},set:function(U){lZ(U),Y=""+U,z.call(this,U)}}),Object.defineProperty(Z,X,{enumerable:J.enumerable}),{getValue:function(){return Y},setValue:function(U){lZ(U),Y=""+U},stopTracking:function(){Z._valueTracker=null,delete Z[X]}}}}function WF(Z){if(!Z._valueTracker){var X=Z8(Z)?"checked":"value";Z._valueTracker=aP(Z,X,""+Z[X])}}function X8(Z){if(!Z)return!1;var X=Z._valueTracker;if(!X)return!0;var Y=X.getValue(),J="";return Z&&(J=Z8(Z)?Z.checked?"true":"false":Z.value),Z=J,Z!==Y?(X.setValue(Z),!0):!1}function WB(Z){if(Z=Z||(typeof document<"u"?document:void 0),typeof Z>"u")return null;try{return Z.activeElement||Z.body}catch(X){return Z.body}}function fQ(Z){return Z.replace(ZS,function(X){return"\\"+X.charCodeAt(0).toString(16)+" "})}function Y8(Z,X){X.checked===void 0||X.defaultChecked===void 0||W7||(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",BX()||"A component",X.type),W7=!0),X.value===void 0||X.defaultValue===void 0||_7||(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",BX()||"A component",X.type),_7=!0)}function UF(Z,X,Y,J,G,z,U,B){if(Z.name="",U!=null&&typeof U!=="function"&&typeof U!=="symbol"&&typeof U!=="boolean"?(PZ(U,"type"),Z.type=U):Z.removeAttribute("type"),X!=null)if(U==="number"){if(X===0&&Z.value===""||Z.value!=X)Z.value=""+mQ(X)}else Z.value!==""+mQ(X)&&(Z.value=""+mQ(X));else U!=="submit"&&U!=="reset"||Z.removeAttribute("value");X!=null?KF(Z,U,mQ(X)):Y!=null?KF(Z,U,mQ(Y)):J!=null&&Z.removeAttribute("value"),G==null&&z!=null&&(Z.defaultChecked=!!z),G!=null&&(Z.checked=G&&typeof G!=="function"&&typeof G!=="symbol"),B!=null&&typeof B!=="function"&&typeof B!=="symbol"&&typeof B!=="boolean"?(PZ(B,"name"),Z.name=""+mQ(B)):Z.removeAttribute("name")}function Q8(Z,X,Y,J,G,z,U,B){if(z!=null&&typeof z!=="function"&&typeof z!=="symbol"&&typeof z!=="boolean"&&(PZ(z,"type"),Z.type=z),X!=null||Y!=null){if(!(z!=="submit"&&z!=="reset"||X!==void 0&&X!==null)){WF(Z);return}Y=Y!=null?""+mQ(Y):"",X=X!=null?""+mQ(X):Y,B||X===Z.value||(Z.value=X),Z.defaultValue=X}J=J!=null?J:G,J=typeof J!=="function"&&typeof J!=="symbol"&&!!J,Z.checked=B?Z.checked:!!J,Z.defaultChecked=!!J,U!=null&&typeof U!=="function"&&typeof U!=="symbol"&&typeof U!=="boolean"&&(PZ(U,"name"),Z.name=U),WF(Z)}function KF(Z,X,Y){X==="number"&&WB(Z.ownerDocument)===Z||Z.defaultValue===""+Y||(Z.defaultValue=""+Y)}function J8(Z,X){X.value==null&&(typeof X.children==="object"&&X.children!==null?o_.Children.forEach(X.children,function(Y){Y==null||typeof Y==="string"||typeof Y==="number"||typeof Y==="bigint"||K7||(K7=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):X.dangerouslySetInnerHTML==null||B7||(B7=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),X.selected==null||U7||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),U7=!0)}function q8(){var Z=BX();return Z?`
39
39
 
40
- Check the render method of \``+Z+"`.":""}function cz(Z,X,Y,J){if(Z=Z.options,X){X={};for(var G=0;G<Y.length;G++)X["$"+Y[G]]=!0;for(Y=0;Y<Z.length;Y++)G=X.hasOwnProperty("$"+Z[Y].value),Z[Y].selected!==G&&(Z[Y].selected=G),G&&J&&(Z[Y].defaultSelected=!0)}else{Y=""+mQ(Y),X=null;for(G=0;G<Z.length;G++){if(Z[G].value===Y){Z[G].selected=!0,J&&(Z[G].defaultSelected=!0);return}X!==null||Z[G].disabled||(X=Z[G])}X!==null&&(X.selected=!0)}}function G8(Z,X){for(Z=0;Z<A7.length;Z++){var Y=A7[Z];if(X[Y]!=null){var J=HY(X[Y]);X.multiple&&!J?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",Y,q8()):!X.multiple&&J&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",Y,q8())}}X.value===void 0||X.defaultValue===void 0||L7||(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"),L7=!0)}function H8(Z,X){X.value===void 0||X.defaultValue===void 0||O7||(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",BX()||"A component"),O7=!0),X.children!=null&&X.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function z8(Z,X,Y){if(X!=null&&(X=""+mQ(X),X!==Z.value&&(Z.value=X),Y==null)){Z.defaultValue!==X&&(Z.defaultValue=X);return}Z.defaultValue=Y!=null?""+mQ(Y):""}function _8(Z,X,Y,J){if(X==null){if(J!=null){if(Y!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(HY(J)){if(1<J.length)throw Error("<textarea> can only have at most one child.");J=J[0]}Y=J}Y==null&&(Y=""),X=Y}Y=mQ(X),Z.defaultValue=Y,J=Z.textContent,J===Y&&J!==""&&J!==null&&(Z.value=J),WF(Z)}function W8(Z,X){return Z.serverProps===void 0&&Z.serverTail.length===0&&Z.children.length===1&&3<Z.distanceFromLeaf&&Z.distanceFromLeaf>15-X?W8(Z.children[0],X):Z}function AQ(Z){return" "+" ".repeat(Z)}function pz(Z){return"+ "+" ".repeat(Z)}function IH(Z){return"- "+" ".repeat(Z)}function U8(Z){switch(Z.tag){case 26:case 27:case 5:return Z.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return Z=Z.type,Z.displayName||Z.name||null;case 11:return Z=Z.type.render,Z.displayName||Z.name||null;case 1:return Z=Z.type,Z.displayName||Z.name||null;default:return null}}function gW(Z,X){return F7.test(Z)?(Z=JSON.stringify(Z),Z.length>X-2?8>X?'{"..."}':"{"+Z.slice(0,X-7)+'..."}':"{"+Z+"}"):Z.length>X?5>X?'{"..."}':Z.slice(0,X-3)+"...":Z}function UB(Z,X,Y){var J=120-2*Y;if(X===null)return pz(Y)+gW(Z,J)+`
41
- `;if(typeof X==="string"){for(var G=0;G<X.length&&G<Z.length&&X.charCodeAt(G)===Z.charCodeAt(G);G++);return G>J-8&&10<G&&(Z="..."+Z.slice(G-8),X="..."+X.slice(G-8)),pz(Y)+gW(Z,J)+`
42
- `+IH(Y)+gW(X,J)+`
40
+ Check the render method of \``+Z+"`.":""}function cH(Z,X,Y,J){if(Z=Z.options,X){X={};for(var G=0;G<Y.length;G++)X["$"+Y[G]]=!0;for(Y=0;Y<Z.length;Y++)G=X.hasOwnProperty("$"+Z[Y].value),Z[Y].selected!==G&&(Z[Y].selected=G),G&&J&&(Z[Y].defaultSelected=!0)}else{Y=""+mQ(Y),X=null;for(G=0;G<Z.length;G++){if(Z[G].value===Y){Z[G].selected=!0,J&&(Z[G].defaultSelected=!0);return}X!==null||Z[G].disabled||(X=Z[G])}X!==null&&(X.selected=!0)}}function G8(Z,X){for(Z=0;Z<A7.length;Z++){var Y=A7[Z];if(X[Y]!=null){var J=zY(X[Y]);X.multiple&&!J?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",Y,q8()):!X.multiple&&J&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",Y,q8())}}X.value===void 0||X.defaultValue===void 0||L7||(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"),L7=!0)}function z8(Z,X){X.value===void 0||X.defaultValue===void 0||O7||(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",BX()||"A component"),O7=!0),X.children!=null&&X.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function H8(Z,X,Y){if(X!=null&&(X=""+mQ(X),X!==Z.value&&(Z.value=X),Y==null)){Z.defaultValue!==X&&(Z.defaultValue=X);return}Z.defaultValue=Y!=null?""+mQ(Y):""}function _8(Z,X,Y,J){if(X==null){if(J!=null){if(Y!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(zY(J)){if(1<J.length)throw Error("<textarea> can only have at most one child.");J=J[0]}Y=J}Y==null&&(Y=""),X=Y}Y=mQ(X),Z.defaultValue=Y,J=Z.textContent,J===Y&&J!==""&&J!==null&&(Z.value=J),WF(Z)}function W8(Z,X){return Z.serverProps===void 0&&Z.serverTail.length===0&&Z.children.length===1&&3<Z.distanceFromLeaf&&Z.distanceFromLeaf>15-X?W8(Z.children[0],X):Z}function AQ(Z){return" "+" ".repeat(Z)}function pH(Z){return"+ "+" ".repeat(Z)}function Iz(Z){return"- "+" ".repeat(Z)}function U8(Z){switch(Z.tag){case 26:case 27:case 5:return Z.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return Z=Z.type,Z.displayName||Z.name||null;case 11:return Z=Z.type.render,Z.displayName||Z.name||null;case 1:return Z=Z.type,Z.displayName||Z.name||null;default:return null}}function gW(Z,X){return F7.test(Z)?(Z=JSON.stringify(Z),Z.length>X-2?8>X?'{"..."}':"{"+Z.slice(0,X-7)+'..."}':"{"+Z+"}"):Z.length>X?5>X?'{"..."}':Z.slice(0,X-3)+"...":Z}function UB(Z,X,Y){var J=120-2*Y;if(X===null)return pH(Y)+gW(Z,J)+`
41
+ `;if(typeof X==="string"){for(var G=0;G<X.length&&G<Z.length&&X.charCodeAt(G)===Z.charCodeAt(G);G++);return G>J-8&&10<G&&(Z="..."+Z.slice(G-8),X="..."+X.slice(G-8)),pH(Y)+gW(Z,J)+`
42
+ `+Iz(Y)+gW(X,J)+`
43
43
  `}return AQ(Y)+gW(Z,J)+`
44
- `}function BF(Z){return Object.prototype.toString.call(Z).replace(/^\[object (.*)\]$/,function(X,Y){return Y})}function mW(Z,X){switch(typeof Z){case"string":return Z=JSON.stringify(Z),Z.length>X?5>X?'"..."':Z.slice(0,X-4)+'..."':Z;case"object":if(Z===null)return"null";if(HY(Z))return"[...]";if(Z.$$typeof===sJ)return(X=l(Z.type))?"<"+X+">":"<...>";var Y=BF(Z);if(Y==="Object"){Y="",X-=2;for(var J in Z)if(Z.hasOwnProperty(J)){var G=JSON.stringify(J);if(G!=='"'+J+'"'&&(J=G),X-=J.length-2,G=mW(Z[J],15>X?X:15),X-=G.length,0>X){Y+=Y===""?"...":", ...";break}Y+=(Y===""?"":",")+J+":"+G}return"{"+Y+"}"}return Y;case"function":return(X=Z.displayName||Z.name)?"function "+X:"function";default:return String(Z)}}function lz(Z,X){return typeof Z!=="string"||F7.test(Z)?"{"+mW(Z,X-2)+"}":Z.length>X-2?5>X?'"..."':'"'+Z.slice(0,X-5)+'..."':'"'+Z+'"'}function LF(Z,X,Y){var J=120-Y.length-Z.length,G=[],H;for(H in X)if(X.hasOwnProperty(H)&&H!=="children"){var U=lz(X[H],120-Y.length-H.length-1);J-=H.length+U.length+2,G.push(H+"="+U)}return G.length===0?Y+"<"+Z+`>
44
+ `}function BF(Z){return Object.prototype.toString.call(Z).replace(/^\[object (.*)\]$/,function(X,Y){return Y})}function mW(Z,X){switch(typeof Z){case"string":return Z=JSON.stringify(Z),Z.length>X?5>X?'"..."':Z.slice(0,X-4)+'..."':Z;case"object":if(Z===null)return"null";if(zY(Z))return"[...]";if(Z.$$typeof===sJ)return(X=l(Z.type))?"<"+X+">":"<...>";var Y=BF(Z);if(Y==="Object"){Y="",X-=2;for(var J in Z)if(Z.hasOwnProperty(J)){var G=JSON.stringify(J);if(G!=='"'+J+'"'&&(J=G),X-=J.length-2,G=mW(Z[J],15>X?X:15),X-=G.length,0>X){Y+=Y===""?"...":", ...";break}Y+=(Y===""?"":",")+J+":"+G}return"{"+Y+"}"}return Y;case"function":return(X=Z.displayName||Z.name)?"function "+X:"function";default:return String(Z)}}function lH(Z,X){return typeof Z!=="string"||F7.test(Z)?"{"+mW(Z,X-2)+"}":Z.length>X-2?5>X?'"..."':'"'+Z.slice(0,X-5)+'..."':'"'+Z+'"'}function LF(Z,X,Y){var J=120-Y.length-Z.length,G=[],z;for(z in X)if(X.hasOwnProperty(z)&&z!=="children"){var U=lH(X[z],120-Y.length-z.length-1);J-=z.length+U.length+2,G.push(z+"="+U)}return G.length===0?Y+"<"+Z+`>
45
45
  `:0<J?Y+"<"+Z+" "+G.join(" ")+`>
46
46
  `:Y+"<"+Z+`
47
47
  `+Y+" "+G.join(`
48
48
  `+Y+" ")+`
49
49
  `+Y+`>
50
- `}function oP(Z,X,Y){var J="",G=rZ({},X),H;for(H in Z)if(Z.hasOwnProperty(H)){delete G[H];var U=120-2*Y-H.length-2,B=mW(Z[H],U);X.hasOwnProperty(H)?(U=mW(X[H],U),J+=pz(Y)+H+": "+B+`
51
- `,J+=IH(Y)+H+": "+U+`
52
- `):J+=pz(Y)+H+": "+B+`
53
- `}for(var F in G)G.hasOwnProperty(F)&&(Z=mW(G[F],120-2*Y-F.length-2),J+=IH(Y)+F+": "+Z+`
54
- `);return J}function rP(Z,X,Y,J){var G="",H=new Map;for(T in Y)Y.hasOwnProperty(T)&&H.set(T.toLowerCase(),T);if(H.size===1&&H.has("children"))G+=LF(Z,X,AQ(J));else{for(var U in X)if(X.hasOwnProperty(U)&&U!=="children"){var B=120-2*(J+1)-U.length-1,F=H.get(U.toLowerCase());if(F!==void 0){H.delete(U.toLowerCase());var T=X[U];F=Y[F];var x=lz(T,B);B=lz(F,B),typeof T==="object"&&T!==null&&typeof F==="object"&&F!==null&&BF(T)==="Object"&&BF(F)==="Object"&&(2<Object.keys(T).length||2<Object.keys(F).length||-1<x.indexOf("...")||-1<B.indexOf("..."))?G+=AQ(J+1)+U+`={{
50
+ `}function oP(Z,X,Y){var J="",G=rZ({},X),z;for(z in Z)if(Z.hasOwnProperty(z)){delete G[z];var U=120-2*Y-z.length-2,B=mW(Z[z],U);X.hasOwnProperty(z)?(U=mW(X[z],U),J+=pH(Y)+z+": "+B+`
51
+ `,J+=Iz(Y)+z+": "+U+`
52
+ `):J+=pH(Y)+z+": "+B+`
53
+ `}for(var F in G)G.hasOwnProperty(F)&&(Z=mW(G[F],120-2*Y-F.length-2),J+=Iz(Y)+F+": "+Z+`
54
+ `);return J}function rP(Z,X,Y,J){var G="",z=new Map;for(T in Y)Y.hasOwnProperty(T)&&z.set(T.toLowerCase(),T);if(z.size===1&&z.has("children"))G+=LF(Z,X,AQ(J));else{for(var U in X)if(X.hasOwnProperty(U)&&U!=="children"){var B=120-2*(J+1)-U.length-1,F=z.get(U.toLowerCase());if(F!==void 0){z.delete(U.toLowerCase());var T=X[U];F=Y[F];var x=lH(T,B);B=lH(F,B),typeof T==="object"&&T!==null&&typeof F==="object"&&F!==null&&BF(T)==="Object"&&BF(F)==="Object"&&(2<Object.keys(T).length||2<Object.keys(F).length||-1<x.indexOf("...")||-1<B.indexOf("..."))?G+=AQ(J+1)+U+`={{
55
55
  `+oP(T,F,J+2)+AQ(J+1)+`}}
56
- `:(G+=pz(J+1)+U+"="+x+`
57
- `,G+=IH(J+1)+U+"="+B+`
58
- `)}else G+=AQ(J+1)+U+"="+lz(X[U],B)+`
59
- `}H.forEach(function(y){if(y!=="children"){var $=120-2*(J+1)-y.length-1;G+=IH(J+1)+y+"="+lz(Y[y],$)+`
56
+ `:(G+=pH(J+1)+U+"="+x+`
57
+ `,G+=Iz(J+1)+U+"="+B+`
58
+ `)}else G+=AQ(J+1)+U+"="+lH(X[U],B)+`
59
+ `}z.forEach(function(y){if(y!=="children"){var $=120-2*(J+1)-y.length-1;G+=Iz(J+1)+y+"="+lH(Y[y],$)+`
60
60
  `}}),G=G===""?AQ(J)+"<"+Z+`>
61
61
  `:AQ(J)+"<"+Z+`
62
62
  `+G+AQ(J)+`>
63
- `}if(Z=Y.children,X=X.children,typeof Z==="string"||typeof Z==="number"||typeof Z==="bigint"){if(H="",typeof X==="string"||typeof X==="number"||typeof X==="bigint")H=""+X;G+=UB(H,""+Z,J+1)}else if(typeof X==="string"||typeof X==="number"||typeof X==="bigint")G=Z==null?G+UB(""+X,null,J+1):G+UB(""+X,void 0,J+1);return G}function K8(Z,X){var Y=U8(Z);if(Y===null){Y="";for(Z=Z.child;Z;)Y+=K8(Z,X),Z=Z.sibling;return Y}return AQ(X)+"<"+Y+`>
63
+ `}if(Z=Y.children,X=X.children,typeof Z==="string"||typeof Z==="number"||typeof Z==="bigint"){if(z="",typeof X==="string"||typeof X==="number"||typeof X==="bigint")z=""+X;G+=UB(z,""+Z,J+1)}else if(typeof X==="string"||typeof X==="number"||typeof X==="bigint")G=Z==null?G+UB(""+X,null,J+1):G+UB(""+X,void 0,J+1);return G}function K8(Z,X){var Y=U8(Z);if(Y===null){Y="";for(Z=Z.child;Z;)Y+=K8(Z,X),Z=Z.sibling;return Y}return AQ(X)+"<"+Y+`>
64
64
  `}function AF(Z,X){var Y=W8(Z,X);if(Y!==Z&&(Z.children.length!==1||Z.children[0]!==Y))return AQ(X)+`...
65
- `+AF(Y,X+1);Y="";var J=Z.fiber._debugInfo;if(J)for(var G=0;G<J.length;G++){var H=J[G].name;typeof H==="string"&&(Y+=AQ(X)+"<"+H+`>
66
- `,X++)}if(J="",G=Z.fiber.pendingProps,Z.fiber.tag===6)J=UB(G,Z.serverProps,X),X++;else if(H=U8(Z.fiber),H!==null)if(Z.serverProps===void 0){J=X;var U=120-2*J-H.length-2,B="";for(T in G)if(G.hasOwnProperty(T)&&T!=="children"){var F=lz(G[T],15);if(U-=T.length+F.length+2,0>U){B+=" ...";break}B+=" "+T+"="+F}J=AQ(J)+"<"+H+B+`>
67
- `,X++}else Z.serverProps===null?(J=LF(H,G,pz(X)),X++):typeof Z.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(J=rP(H,G,Z.serverProps,X),X++);var T="";G=Z.fiber.child;for(H=0;G&&H<Z.children.length;)U=Z.children[H],U.fiber===G?(T+=AF(U,X),H++):T+=K8(G,X),G=G.sibling;G&&0<Z.children.length&&(T+=AQ(X)+`...
68
- `),G=Z.serverTail,Z.serverProps===null&&X--;for(Z=0;Z<G.length;Z++)H=G[Z],T=typeof H==="string"?T+(IH(X)+gW(H,120-2*X)+`
69
- `):T+LF(H.type,H.props,IH(X));return Y+J+T}function OF(Z){try{return`
70
-
71
- `+AF(Z,0)}catch(X){return""}}function B8(Z,X,Y){for(var J=X,G=null,H=0;J;)J===Z&&(H=0),G={fiber:J,children:G!==null?[G]:[],serverProps:J===X?Y:J===Z?null:void 0,serverTail:[],distanceFromLeaf:H},H++,J=J.return;return G!==null?OF(G).replaceAll(/^[+-]/gm,">"):""}function L8(Z,X){var Y=rZ({},Z||N7),J={tag:X};if(M7.indexOf(X)!==-1&&(Y.aTagInScope=null,Y.buttonTagInScope=null,Y.nobrTagInScope=null),YS.indexOf(X)!==-1&&(Y.pTagInButtonScope=null),XS.indexOf(X)!==-1&&X!=="address"&&X!=="div"&&X!=="p"&&(Y.listItemTagAutoclosing=null,Y.dlItemTagAutoclosing=null),Y.current=J,X==="form"&&(Y.formTag=J),X==="a"&&(Y.aTagInScope=J),X==="button"&&(Y.buttonTagInScope=J),X==="nobr"&&(Y.nobrTagInScope=J),X==="p"&&(Y.pTagInButtonScope=J),X==="li"&&(Y.listItemTagAutoclosing=J),X==="dd"||X==="dt")Y.dlItemTagAutoclosing=J;return X==="#document"||X==="html"?Y.containerTagInScope=null:Y.containerTagInScope||(Y.containerTagInScope=J),Z!==null||X!=="#document"&&X!=="html"&&X!=="body"?Y.implicitRootScope===!0&&(Y.implicitRootScope=!1):Y.implicitRootScope=!0,Y}function A8(Z,X,Y){switch(X){case"select":return Z==="hr"||Z==="option"||Z==="optgroup"||Z==="script"||Z==="template"||Z==="#text";case"optgroup":return Z==="option"||Z==="#text";case"option":return Z==="#text";case"tr":return Z==="th"||Z==="td"||Z==="style"||Z==="script"||Z==="template";case"tbody":case"thead":case"tfoot":return Z==="tr"||Z==="style"||Z==="script"||Z==="template";case"colgroup":return Z==="col"||Z==="template";case"table":return Z==="caption"||Z==="colgroup"||Z==="tbody"||Z==="tfoot"||Z==="thead"||Z==="style"||Z==="script"||Z==="template";case"head":return Z==="base"||Z==="basefont"||Z==="bgsound"||Z==="link"||Z==="meta"||Z==="title"||Z==="noscript"||Z==="noframes"||Z==="style"||Z==="script"||Z==="template";case"html":if(Y)break;return Z==="head"||Z==="body"||Z==="frameset";case"frameset":return Z==="frame";case"#document":if(!Y)return Z==="html"}switch(Z){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return X!=="h1"&&X!=="h2"&&X!=="h3"&&X!=="h4"&&X!=="h5"&&X!=="h6";case"rp":case"rt":return QS.indexOf(X)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return X==null;case"head":return Y||X===null;case"html":return Y&&X==="#document"||X===null;case"body":return Y&&(X==="#document"||X==="html")||X===null}return!0}function tP(Z,X){switch(Z){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 X.pTagInButtonScope;case"form":return X.formTag||X.pTagInButtonScope;case"li":return X.listItemTagAutoclosing;case"dd":case"dt":return X.dlItemTagAutoclosing;case"button":return X.buttonTagInScope;case"a":return X.aTagInScope;case"nobr":return X.nobrTagInScope}return null}function O8(Z,X){for(;Z;){switch(Z.tag){case 5:case 26:case 27:if(Z.type===X)return Z}Z=Z.return}return null}function FF(Z,X){X=X||N7;var Y=X.current;if(X=(Y=A8(Z,Y&&Y.tag,X.implicitRootScope)?null:Y)?null:tP(Z,X),X=Y||X,!X)return!0;var J=X.tag;if(X=String(!!Y)+"|"+Z+"|"+J,VL[X])return!1;VL[X]=!0;var G=(X=RQ)?O8(X.return,J):null,H=X!==null&&G!==null?B8(G,X,null):"",U="<"+Z+">";return Y?(Y="",J==="table"&&Z==="tr"&&(Y+=" 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`,U,J,Y,H)):console.error(`In HTML, %s cannot be a descendant of <%s>.
73
- This will cause a hydration error.%s`,U,J,H),X&&(Z=X.return,G===null||Z===null||G===Z&&Z._debugOwner===X._debugOwner||UZ(G,function(){console.error(`<%s> cannot contain a nested %s.
65
+ `+AF(Y,X+1);Y="";var J=Z.fiber._debugInfo;if(J)for(var G=0;G<J.length;G++){var z=J[G].name;typeof z==="string"&&(Y+=AQ(X)+"<"+z+`>
66
+ `,X++)}if(J="",G=Z.fiber.pendingProps,Z.fiber.tag===6)J=UB(G,Z.serverProps,X),X++;else if(z=U8(Z.fiber),z!==null)if(Z.serverProps===void 0){J=X;var U=120-2*J-z.length-2,B="";for(T in G)if(G.hasOwnProperty(T)&&T!=="children"){var F=lH(G[T],15);if(U-=T.length+F.length+2,0>U){B+=" ...";break}B+=" "+T+"="+F}J=AQ(J)+"<"+z+B+`>
67
+ `,X++}else Z.serverProps===null?(J=LF(z,G,pH(X)),X++):typeof Z.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(J=rP(z,G,Z.serverProps,X),X++);var T="";G=Z.fiber.child;for(z=0;G&&z<Z.children.length;)U=Z.children[z],U.fiber===G?(T+=AF(U,X),z++):T+=K8(G,X),G=G.sibling;G&&0<Z.children.length&&(T+=AQ(X)+`...
68
+ `),G=Z.serverTail,Z.serverProps===null&&X--;for(Z=0;Z<G.length;Z++)z=G[Z],T=typeof z==="string"?T+(Iz(X)+gW(z,120-2*X)+`
69
+ `):T+LF(z.type,z.props,Iz(X));return Y+J+T}function OF(Z){try{return`
70
+
71
+ `+AF(Z,0)}catch(X){return""}}function B8(Z,X,Y){for(var J=X,G=null,z=0;J;)J===Z&&(z=0),G={fiber:J,children:G!==null?[G]:[],serverProps:J===X?Y:J===Z?null:void 0,serverTail:[],distanceFromLeaf:z},z++,J=J.return;return G!==null?OF(G).replaceAll(/^[+-]/gm,">"):""}function L8(Z,X){var Y=rZ({},Z||N7),J={tag:X};if(M7.indexOf(X)!==-1&&(Y.aTagInScope=null,Y.buttonTagInScope=null,Y.nobrTagInScope=null),YS.indexOf(X)!==-1&&(Y.pTagInButtonScope=null),XS.indexOf(X)!==-1&&X!=="address"&&X!=="div"&&X!=="p"&&(Y.listItemTagAutoclosing=null,Y.dlItemTagAutoclosing=null),Y.current=J,X==="form"&&(Y.formTag=J),X==="a"&&(Y.aTagInScope=J),X==="button"&&(Y.buttonTagInScope=J),X==="nobr"&&(Y.nobrTagInScope=J),X==="p"&&(Y.pTagInButtonScope=J),X==="li"&&(Y.listItemTagAutoclosing=J),X==="dd"||X==="dt")Y.dlItemTagAutoclosing=J;return X==="#document"||X==="html"?Y.containerTagInScope=null:Y.containerTagInScope||(Y.containerTagInScope=J),Z!==null||X!=="#document"&&X!=="html"&&X!=="body"?Y.implicitRootScope===!0&&(Y.implicitRootScope=!1):Y.implicitRootScope=!0,Y}function A8(Z,X,Y){switch(X){case"select":return Z==="hr"||Z==="option"||Z==="optgroup"||Z==="script"||Z==="template"||Z==="#text";case"optgroup":return Z==="option"||Z==="#text";case"option":return Z==="#text";case"tr":return Z==="th"||Z==="td"||Z==="style"||Z==="script"||Z==="template";case"tbody":case"thead":case"tfoot":return Z==="tr"||Z==="style"||Z==="script"||Z==="template";case"colgroup":return Z==="col"||Z==="template";case"table":return Z==="caption"||Z==="colgroup"||Z==="tbody"||Z==="tfoot"||Z==="thead"||Z==="style"||Z==="script"||Z==="template";case"head":return Z==="base"||Z==="basefont"||Z==="bgsound"||Z==="link"||Z==="meta"||Z==="title"||Z==="noscript"||Z==="noframes"||Z==="style"||Z==="script"||Z==="template";case"html":if(Y)break;return Z==="head"||Z==="body"||Z==="frameset";case"frameset":return Z==="frame";case"#document":if(!Y)return Z==="html"}switch(Z){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return X!=="h1"&&X!=="h2"&&X!=="h3"&&X!=="h4"&&X!=="h5"&&X!=="h6";case"rp":case"rt":return QS.indexOf(X)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return X==null;case"head":return Y||X===null;case"html":return Y&&X==="#document"||X===null;case"body":return Y&&(X==="#document"||X==="html")||X===null}return!0}function tP(Z,X){switch(Z){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 X.pTagInButtonScope;case"form":return X.formTag||X.pTagInButtonScope;case"li":return X.listItemTagAutoclosing;case"dd":case"dt":return X.dlItemTagAutoclosing;case"button":return X.buttonTagInScope;case"a":return X.aTagInScope;case"nobr":return X.nobrTagInScope}return null}function O8(Z,X){for(;Z;){switch(Z.tag){case 5:case 26:case 27:if(Z.type===X)return Z}Z=Z.return}return null}function FF(Z,X){X=X||N7;var Y=X.current;if(X=(Y=A8(Z,Y&&Y.tag,X.implicitRootScope)?null:Y)?null:tP(Z,X),X=Y||X,!X)return!0;var J=X.tag;if(X=String(!!Y)+"|"+Z+"|"+J,VL[X])return!1;VL[X]=!0;var G=(X=RQ)?O8(X.return,J):null,z=X!==null&&G!==null?B8(G,X,null):"",U="<"+Z+">";return Y?(Y="",J==="table"&&Z==="tr"&&(Y+=" 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`,U,J,Y,z)):console.error(`In HTML, %s cannot be a descendant of <%s>.
73
+ This will cause a hydration error.%s`,U,J,z),X&&(Z=X.return,G===null||Z===null||G===Z&&Z._debugOwner===X._debugOwner||UZ(G,function(){console.error(`<%s> cannot contain a nested %s.
74
74
  See this log for the ancestor stack trace.`,J,U)})),!1}function KB(Z,X,Y){if(Y||A8("#text",X,!1))return!0;if(Y="#text|"+X,VL[Y])return!1;VL[Y]=!0;var J=(Y=RQ)?O8(Y,X):null;return Y=Y!==null&&J!==null?B8(J,Y,Y.tag!==6?{children:null}:null):"",/\S/.test(Z)?console.error(`In HTML, text nodes cannot be a child of <%s>.
75
75
  This will cause a hydration error.%s`,X,Y):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`,X,Y),!1}function fW(Z,X){if(X){var Y=Z.firstChild;if(Y&&Y===Z.lastChild&&Y.nodeType===3){Y.nodeValue=X;return}}Z.textContent=X}function eP(Z){return Z.replace(GS,function(X,Y){return Y.toUpperCase()})}function F8(Z,X,Y){var J=X.indexOf("--")===0;J||(-1<X.indexOf("-")?U_.hasOwnProperty(X)&&U_[X]||(U_[X]=!0,console.error("Unsupported style property %s. Did you mean %s?",X,eP(X.replace(qS,"ms-")))):JS.test(X)?U_.hasOwnProperty(X)&&U_[X]||(U_[X]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",X,X.charAt(0).toUpperCase()+X.slice(1))):!w7.test(Y)||k0.hasOwnProperty(Y)&&k0[Y]||(k0[Y]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,X,Y.replace(w7,""))),typeof Y==="number"&&(isNaN(Y)?V7||(V7=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",X)):isFinite(Y)||R7||(R7=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",X)))),Y==null||typeof Y==="boolean"||Y===""?J?Z.setProperty(X,""):X==="float"?Z.cssFloat="":Z[X]="":J?Z.setProperty(X,Y):typeof Y!=="number"||Y===0||j7.has(X)?X==="float"?Z.cssFloat=Y:(Fq(Y,X),Z[X]=(""+Y).trim()):Z[X]=Y+"px"}function M8(Z,X,Y){if(X!=null&&typeof X!=="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(X&&Object.freeze(X),Z=Z.style,Y!=null){if(X){var J={};if(Y){for(var G in Y)if(Y.hasOwnProperty(G)&&!X.hasOwnProperty(G))for(var H=E0[G]||[G],U=0;U<H.length;U++)J[H[U]]=G}for(var B in X)if(X.hasOwnProperty(B)&&(!Y||Y[B]!==X[B]))for(G=E0[B]||[B],H=0;H<G.length;H++)J[G[H]]=B;B={};for(var F in X)for(G=E0[F]||[F],H=0;H<G.length;H++)B[G[H]]=F;F={};for(var T in J)if(G=J[T],(H=B[T])&&G!==H&&(U=G+","+H,!F[U])){F[U]=!0,U=console;var x=X[G];U.error.call(U,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",x==null||typeof x==="boolean"||x===""?"Removing":"Updating",G,H)}}for(var y in Y)!Y.hasOwnProperty(y)||X!=null&&X.hasOwnProperty(y)||(y.indexOf("--")===0?Z.setProperty(y,""):y==="float"?Z.cssFloat="":Z[y]="");for(var $ in X)T=X[$],X.hasOwnProperty($)&&Y[$]!==T&&F8(Z,$,T)}else for(J in X)X.hasOwnProperty(J)&&F8(Z,J,X[J])}function uW(Z){if(Z.indexOf("-")===-1)return!1;switch(Z){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 N8(Z){return HS.get(Z)||Z}function ZD(Z,X){if(BJ.call(B_,X)&&B_[X])return!0;if(_S.test(X)){if(Z="aria-"+X.slice(4).toLowerCase(),Z=C7.hasOwnProperty(Z)?Z:null,Z==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",X),B_[X]=!0;if(X!==Z)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",X,Z),B_[X]=!0}if(zS.test(X)){if(Z=X.toLowerCase(),Z=C7.hasOwnProperty(Z)?Z:null,Z==null)return B_[X]=!0,!1;X!==Z&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",X,Z),B_[X]=!0)}return!0}function XD(Z,X){var Y=[],J;for(J in X)ZD(Z,J)||Y.push(J);X=Y.map(function(G){return"`"+G+"`"}).join(", "),Y.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",X,Z):1<Y.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",X,Z)}function YD(Z,X,Y,J){if(BJ.call(dY,X)&&dY[X])return!0;var G=X.toLowerCase();if(G==="onfocusin"||G==="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."),dY[X]=!0;if(typeof Y==="function"&&(Z==="form"&&X==="action"||Z==="input"&&X==="formAction"||Z==="button"&&X==="formAction"))return!0;if(J!=null){if(Z=J.possibleRegistrationNames,J.registrationNameDependencies.hasOwnProperty(X))return!0;if(J=Z.hasOwnProperty(G)?Z[G]:null,J!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",X,J),dY[X]=!0;if(D7.test(X))return console.error("Unknown event handler property `%s`. It will be ignored.",X),dY[X]=!0}else if(D7.test(X))return WS.test(X)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",X),dY[X]=!0;if(US.test(X)||KS.test(X))return!0;if(G==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),dY[X]=!0;if(G==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),dY[X]=!0;if(G==="is"&&Y!==null&&Y!==void 0&&typeof Y!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof Y),dY[X]=!0;if(typeof Y==="number"&&isNaN(Y))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",X),dY[X]=!0;if(jL.hasOwnProperty(G)){if(G=jL[G],G!==X)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",X,G),dY[X]=!0}else if(X!==G)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.",X,G),dY[X]=!0;switch(X){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 Y){case"boolean":switch(X){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:if(G=X.toLowerCase().slice(0,5),G==="data-"||G==="aria-")return!0;return Y?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()}.',Y,X,X,Y,X):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',Y,X,X,Y,X,X,X),dY[X]=!0}case"function":case"symbol":return dY[X]=!0,!1;case"string":if(Y==="false"||Y==="true"){switch(X){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}?",Y,X,Y==="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".',X,Y),dY[X]=!0}}return!0}function QD(Z,X,Y){var J=[],G;for(G in X)YD(Z,G,X[G],Y)||J.push(G);X=J.map(function(H){return"`"+H+"`"}).join(", "),J.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 ",X,Z):1<J.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 ",X,Z)}function dW(Z){return BS.test(""+Z)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":Z}function Nq(){}function MF(Z){return Z=Z.target||Z.srcElement||window,Z.correspondingUseElement&&(Z=Z.correspondingUseElement),Z.nodeType===3?Z.parentNode:Z}function I8(Z){var X=fZ(Z);if(X&&(Z=X.stateNode)){var Y=Z[uY]||null;Z:switch(Z=X.stateNode,X.type){case"input":if(UF(Z,Y.value,Y.defaultValue,Y.defaultValue,Y.checked,Y.defaultChecked,Y.type,Y.name),X=Y.name,Y.type==="radio"&&X!=null){for(Y=Z;Y.parentNode;)Y=Y.parentNode;PZ(X,"name"),Y=Y.querySelectorAll('input[name="'+fQ(""+X)+'"][type="radio"]');for(X=0;X<Y.length;X++){var J=Y[X];if(J!==Z&&J.form===Z.form){var G=J[uY]||null;if(!G)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");UF(J,G.value,G.defaultValue,G.defaultValue,G.checked,G.defaultChecked,G.type,G.name)}}for(X=0;X<Y.length;X++)J=Y[X],J.form===Z.form&&X8(J)}break Z;case"textarea":z8(Z,Y.value,Y.defaultValue);break Z;case"select":X=Y.value,X!=null&&cz(Z,!!Y.multiple,X,!1)}}}function T8(Z,X,Y){if(x0)return Z(X,Y);x0=!0;try{var J=Z(X);return J}finally{if(x0=!1,L_!==null||A_!==null){if(X_(),L_&&(X=L_,Z=A_,A_=L_=null,I8(X),Z))for(X=0;X<Z.length;X++)I8(Z[X])}}}function cW(Z,X){var Y=Z.stateNode;if(Y===null)return null;var J=Y[uY]||null;if(J===null)return null;Y=J[X];Z:switch(X){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(J=!J.disabled)||(Z=Z.type,J=!(Z==="button"||Z==="input"||Z==="select"||Z==="textarea")),Z=!J;break Z;default:Z=!1}if(Z)return null;if(Y&&typeof Y!=="function")throw Error("Expected `"+X+"` listener to be a function, instead got a value of `"+typeof Y+"` type.");return Y}function w8(){if(CL)return CL;var Z,X=v0,Y=X.length,J,G="value"in wG?wG.value:wG.textContent,H=G.length;for(Z=0;Z<Y&&X[Z]===G[Z];Z++);var U=Y-Z;for(J=1;J<=U&&X[Y-J]===G[H-J];J++);return CL=G.slice(Z,1<J?1-J:void 0)}function BB(Z){var X=Z.keyCode;return"charCode"in Z?(Z=Z.charCode,Z===0&&X===13&&(Z=13)):Z=X,Z===10&&(Z=13),32<=Z||Z===13?Z:0}function LB(){return!0}function V8(){return!1}function oY(Z){function X(Y,J,G,H,U){this._reactName=Y,this._targetInst=G,this.type=J,this.nativeEvent=H,this.target=U,this.currentTarget=null;for(var B in Z)Z.hasOwnProperty(B)&&(Y=Z[B],this[B]=Y?Y(H):H[B]);return this.isDefaultPrevented=(H.defaultPrevented!=null?H.defaultPrevented:H.returnValue===!1)?LB:V8,this.isPropagationStopped=V8,this}return rZ(X.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Y=this.nativeEvent;Y&&(Y.preventDefault?Y.preventDefault():typeof Y.returnValue!=="unknown"&&(Y.returnValue=!1),this.isDefaultPrevented=LB)},stopPropagation:function(){var Y=this.nativeEvent;Y&&(Y.stopPropagation?Y.stopPropagation():typeof Y.cancelBubble!=="unknown"&&(Y.cancelBubble=!0),this.isPropagationStopped=LB)},persist:function(){},isPersistent:LB}),X}function JD(Z){var X=this.nativeEvent;return X.getModifierState?X.getModifierState(Z):(Z=CS[Z])?!!X[Z]:!1}function NF(){return JD}function R8(Z,X){switch(Z){case"keyup":return gS.indexOf(X.keyCode)!==-1;case"keydown":return X.keyCode!==k7;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function j8(Z){return Z=Z.detail,typeof Z==="object"&&"data"in Z?Z.data:null}function qD(Z,X){switch(Z){case"compositionend":return j8(X);case"keypress":if(X.which!==y7)return null;return h7=!0,v7;case"textInput":return Z=X.data,Z===v7&&h7?null:Z;default:return null}}function GD(Z,X){if(O_)return Z==="compositionend"||!m0&&R8(Z,X)?(Z=w8(),CL=v0=wG=null,O_=!1,Z):null;switch(Z){case"paste":return null;case"keypress":if(!(X.ctrlKey||X.altKey||X.metaKey)||X.ctrlKey&&X.altKey){if(X.char&&1<X.char.length)return X.char;if(X.which)return String.fromCharCode(X.which)}return null;case"compositionend":return x7&&X.locale!=="ko"?null:X.data;default:return null}}function C8(Z){var X=Z&&Z.nodeName&&Z.nodeName.toLowerCase();return X==="input"?!!fS[Z.type]:X==="textarea"?!0:!1}function HD(Z){if(!Zq)return!1;Z="on"+Z;var X=Z in document;return X||(X=document.createElement("div"),X.setAttribute(Z,"return;"),X=typeof X[Z]==="function"),X}function P8(Z,X,Y,J){L_?A_?A_.push(J):A_=[J]:L_=J,X=GL(X,"onChange"),0<X.length&&(Y=new PL("onChange","change",null,Y,J),Z.push({event:Y,listeners:X}))}function zD(Z){_N(Z,0)}function AB(Z){var X=uZ(Z);if(X8(X))return Z}function D8(Z,X){if(Z==="change")return X}function $8(){DU&&(DU.detachEvent("onpropertychange",S8),$U=DU=null)}function S8(Z){if(Z.propertyName==="value"&&AB($U)){var X=[];P8(X,$U,Z,MF(Z)),T8(zD,X)}}function _D(Z,X,Y){Z==="focusin"?($8(),DU=X,$U=Y,DU.attachEvent("onpropertychange",S8)):Z==="focusout"&&$8()}function WD(Z){if(Z==="selectionchange"||Z==="keyup"||Z==="keydown")return AB($U)}function UD(Z,X){if(Z==="click")return AB(X)}function KD(Z,X){if(Z==="input"||Z==="change")return AB(X)}function BD(Z,X){return Z===X&&(Z!==0||1/Z===1/X)||Z!==Z&&X!==X}function pW(Z,X){if(cY(Z,X))return!0;if(typeof Z!=="object"||Z===null||typeof X!=="object"||X===null)return!1;var Y=Object.keys(Z),J=Object.keys(X);if(Y.length!==J.length)return!1;for(J=0;J<Y.length;J++){var G=Y[J];if(!BJ.call(X,G)||!cY(Z[G],X[G]))return!1}return!0}function E8(Z){for(;Z&&Z.firstChild;)Z=Z.firstChild;return Z}function k8(Z,X){var Y=E8(Z);Z=0;for(var J;Y;){if(Y.nodeType===3){if(J=Z+Y.textContent.length,Z<=X&&J>=X)return{node:Y,offset:X-Z};Z=J}Z:{for(;Y;){if(Y.nextSibling){Y=Y.nextSibling;break Z}Y=Y.parentNode}Y=void 0}Y=E8(Y)}}function x8(Z,X){return Z&&X?Z===X?!0:Z&&Z.nodeType===3?!1:X&&X.nodeType===3?x8(Z,X.parentNode):("contains"in Z)?Z.contains(X):Z.compareDocumentPosition?!!(Z.compareDocumentPosition(X)&16):!1:!1}function y8(Z){Z=Z!=null&&Z.ownerDocument!=null&&Z.ownerDocument.defaultView!=null?Z.ownerDocument.defaultView:window;for(var X=WB(Z.document);X instanceof Z.HTMLIFrameElement;){try{var Y=typeof X.contentWindow.location.href==="string"}catch(J){Y=!1}if(Y)Z=X.contentWindow;else break;X=WB(Z.document)}return X}function IF(Z){var X=Z&&Z.nodeName&&Z.nodeName.toLowerCase();return X&&(X==="input"&&(Z.type==="text"||Z.type==="search"||Z.type==="tel"||Z.type==="url"||Z.type==="password")||X==="textarea"||Z.contentEditable==="true")}function v8(Z,X,Y){var J=Y.window===Y?Y.document:Y.nodeType===9?Y:Y.ownerDocument;u0||F_==null||F_!==WB(J)||(J=F_,("selectionStart"in J)&&IF(J)?J={start:J.selectionStart,end:J.selectionEnd}:(J=(J.ownerDocument&&J.ownerDocument.defaultView||window).getSelection(),J={anchorNode:J.anchorNode,anchorOffset:J.anchorOffset,focusNode:J.focusNode,focusOffset:J.focusOffset}),SU&&pW(SU,J)||(SU=J,J=GL(f0,"onSelect"),0<J.length&&(X=new PL("onSelect","select",null,X,Y),Z.push({event:X,listeners:J}),X.target=F_)))}function TH(Z,X){var Y={};return Y[Z.toLowerCase()]=X.toLowerCase(),Y["Webkit"+Z]="webkit"+X,Y["Moz"+Z]="moz"+X,Y}function wH(Z){if(d0[Z])return d0[Z];if(!M_[Z])return Z;var X=M_[Z],Y;for(Y in X)if(X.hasOwnProperty(Y)&&Y in g7)return d0[Z]=X[Y];return Z}function WJ(Z,X){c7.set(Z,X),vY(X,[Z])}function LD(Z){for(var X=$L,Y=0;Y<Z.length;Y++){var J=Z[Y];if(typeof J==="object"&&J!==null)if(HY(J)&&J.length===2&&typeof J[0]==="string"){if(X!==$L&&X!==n0)return l0;X=n0}else return l0;else{if(typeof J==="function"||typeof J==="string"&&50<J.length||X!==$L&&X!==i0)return l0;X=i0}}return X}function TF(Z,X,Y,J){for(var G in Z)BJ.call(Z,G)&&G[0]!=="_"&&kJ(G,Z[G],X,Y,J)}function kJ(Z,X,Y,J,G){switch(typeof X){case"object":if(X===null){X="null";break}else{if(X.$$typeof===sJ){var H=l(X.type)||"…",U=X.key;X=X.props;var B=Object.keys(X),F=B.length;if(U==null&&F===0){X="<"+H+" />";break}if(3>J||F===1&&B[0]==="children"&&U==null){X="<"+H+" … />";break}Y.push([G+"  ".repeat(J)+Z,"<"+H]),U!==null&&kJ("key",U,Y,J+1,G),Z=!1;for(var T in X)T==="children"?X.children!=null&&(!HY(X.children)||0<X.children.length)&&(Z=!0):BJ.call(X,T)&&T[0]!=="_"&&kJ(T,X[T],Y,J+1,G);Y.push(["",Z?">…</"+H+">":"/>"]);return}if(H=Object.prototype.toString.call(X),H=H.slice(8,H.length-1),H==="Array"){if(T=LD(X),T===i0||T===$L){X=JSON.stringify(X);break}else if(T===n0){Y.push([G+"  ".repeat(J)+Z,""]);for(Z=0;Z<X.length;Z++)H=X[Z],kJ(H[0],H[1],Y,J+1,G);return}}if(H==="Promise"){if(X.status==="fulfilled"){if(H=Y.length,kJ(Z,X.value,Y,J,G),Y.length>H){Y=Y[H],Y[1]="Promise<"+(Y[1]||"Object")+">";return}}else if(X.status==="rejected"&&(H=Y.length,kJ(Z,X.reason,Y,J,G),Y.length>H)){Y=Y[H],Y[1]="Rejected Promise<"+Y[1]+">";return}Y.push(["  ".repeat(J)+Z,"Promise"]);return}H==="Object"&&(T=Object.getPrototypeOf(X))&&typeof T.constructor==="function"&&(H=T.constructor.name),Y.push([G+"  ".repeat(J)+Z,H==="Object"?3>J?"":"…":H]),3>J&&TF(X,Y,J+1,G);return}case"function":X=X.name===""?"() => {}":X.name+"() {}";break;case"string":X=X===nS?"…":JSON.stringify(X);break;case"undefined":X="undefined";break;case"boolean":X=X?"true":"false";break;default:X=String(X)}Y.push([G+"  ".repeat(J)+Z,X])}function h8(Z,X,Y,J){var G=!0;for(U in Z)U in X||(Y.push([SL+"  ".repeat(J)+U,"…"]),G=!1);for(var H in X)if(H in Z){var U=Z[H],B=X[H];if(U!==B){if(J===0&&H==="children")G="  ".repeat(J)+H,Y.push([SL+G,"…"],[EL+G,"…"]);else{if(!(3<=J)){if(typeof U==="object"&&typeof B==="object"&&U!==null&&B!==null&&U.$$typeof===B.$$typeof)if(B.$$typeof===sJ){if(U.type===B.type&&U.key===B.key){U=l(B.type)||"…",G="  ".repeat(J)+H,U="<"+U+" … />",Y.push([SL+G,U],[EL+G,U]),G=!1;continue}}else{var F=Object.prototype.toString.call(U),T=Object.prototype.toString.call(B);if(F===T&&(T==="[object Object]"||T==="[object Array]")){F=[i7+"  ".repeat(J)+H,T==="[object Array]"?"Array":""],Y.push(F),T=Y.length,h8(U,B,Y,J+1)?T===Y.length&&(F[1]="Referentially unequal but deeply equal objects. Consider memoization."):G=!1;continue}}else if(typeof U==="function"&&typeof B==="function"&&U.name===B.name&&U.length===B.length&&(F=Function.prototype.toString.call(U),T=Function.prototype.toString.call(B),F===T)){U=B.name===""?"() => {}":B.name+"() {}",Y.push([i7+"  ".repeat(J)+H,U+" Referentially unequal function closure. Consider memoization."]);continue}}kJ(H,U,Y,J,SL),kJ(H,B,Y,J,EL)}G=!1}}else Y.push([EL+"  ".repeat(J)+H,"…"]),G=!1;return G}function OQ(Z){eZ=Z&63?"Blocking":Z&64?"Gesture":Z&4194176?"Transition":Z&62914560?"Suspense":Z&2080374784?"Idle":"Other"}function xJ(Z,X,Y,J){DX&&(RG.start=X,RG.end=Y,Dq.color="warning",Dq.tooltipText=J,Dq.properties=null,(Z=Z._debugTask)?Z.run(performance.measure.bind(performance,J,RG)):performance.measure(J,RG))}function OB(Z,X,Y){xJ(Z,X,Y,"Reconnect")}function FB(Z,X,Y,J,G){var H=n(Z);if(H!==null&&DX){var{alternate:U,actualDuration:B}=Z;if(U===null||U.child!==Z.child)for(var F=Z.child;F!==null;F=F.sibling)B-=F.actualDuration;J=0.5>B?J?"tertiary-light":"primary-light":10>B?J?"tertiary":"primary":100>B?J?"tertiary-dark":"primary-dark":"error";var T=Z.memoizedProps;B=Z._debugTask,T!==null&&U!==null&&U.memoizedProps!==T?(F=[sS],T=h8(U.memoizedProps,T,F,0),1<F.length&&(T&&!VG&&(U.lanes&G)===0&&100<Z.actualDuration?(VG=!0,F[0]=aS,Dq.color="warning",Dq.tooltipText=n7):(Dq.color=J,Dq.tooltipText=H),Dq.properties=F,RG.start=X,RG.end=Y,B!=null?B.run(performance.measure.bind(performance,"​"+H,RG)):performance.measure("​"+H,RG))):B!=null?B.run(console.timeStamp.bind(console,H,X,Y,dQ,void 0,J)):console.timeStamp(H,X,Y,dQ,void 0,J)}}function wF(Z,X,Y,J){if(DX){var G=n(Z);if(G!==null){for(var H=null,U=[],B=0;B<J.length;B++){var F=J[B];H==null&&F.source!==null&&(H=F.source._debugTask),F=F.value,U.push(["Error",typeof F==="object"&&F!==null&&typeof F.message==="string"?String(F.message):String(F)])}Z.key!==null&&kJ("key",Z.key,U,0,""),Z.memoizedProps!==null&&TF(Z.memoizedProps,U,0,""),H==null&&(H=Z._debugTask),Z={start:X,end:Y,detail:{devtools:{color:"error",track:dQ,tooltipText:Z.tag===13?"Hydration failed":"Error boundary caught an error",properties:U}}},H?H.run(performance.measure.bind(performance,"​"+G,Z)):performance.measure("​"+G,Z)}}}function yJ(Z,X,Y,J,G){if(G!==null){if(DX){var H=n(Z);if(H!==null){J=[];for(var U=0;U<G.length;U++){var B=G[U].value;J.push(["Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}Z.key!==null&&kJ("key",Z.key,J,0,""),Z.memoizedProps!==null&&TF(Z.memoizedProps,J,0,""),X={start:X,end:Y,detail:{devtools:{color:"error",track:dQ,tooltipText:"A lifecycle or effect errored",properties:J}}},(Z=Z._debugTask)?Z.run(performance.measure.bind(performance,"​"+H,X)):performance.measure("​"+H,X)}}}else H=n(Z),H!==null&&DX&&(G=1>J?"secondary-light":100>J?"secondary":500>J?"secondary-dark":"error",(Z=Z._debugTask)?Z.run(console.timeStamp.bind(console,H,X,Y,dQ,void 0,G)):console.timeStamp(H,X,Y,dQ,void 0,G))}function AD(Z,X,Y,J){if(DX&&!(X<=Z)){var G=(Y&738197653)===Y?"tertiary-dark":"primary-dark";Y=(Y&536870912)===Y?"Prepared":(Y&201326741)===Y?"Hydrated":"Render",J?J.run(console.timeStamp.bind(console,Y,Z,X,eZ,tZ,G)):console.timeStamp(Y,Z,X,eZ,tZ,G)}}function b8(Z,X,Y,J){!DX||X<=Z||(Y=(Y&738197653)===Y?"tertiary-dark":"primary-dark",J?J.run(console.timeStamp.bind(console,"Prewarm",Z,X,eZ,tZ,Y)):console.timeStamp("Prewarm",Z,X,eZ,tZ,Y))}function g8(Z,X,Y,J){!DX||X<=Z||(Y=(Y&738197653)===Y?"tertiary-dark":"primary-dark",J?J.run(console.timeStamp.bind(console,"Suspended",Z,X,eZ,tZ,Y)):console.timeStamp("Suspended",Z,X,eZ,tZ,Y))}function OD(Z,X,Y,J,G,H){if(DX&&!(X<=Z)){Y=[];for(var U=0;U<J.length;U++){var B=J[U].value;Y.push(["Recoverable Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}Z={start:Z,end:X,detail:{devtools:{color:"primary-dark",track:eZ,trackGroup:tZ,tooltipText:G?"Hydration Failed":"Recovered after Error",properties:Y}}},H?H.run(performance.measure.bind(performance,"Recovered",Z)):performance.measure("Recovered",Z)}}function VF(Z,X,Y,J){!DX||X<=Z||(J?J.run(console.timeStamp.bind(console,"Errored",Z,X,eZ,tZ,"error")):console.timeStamp("Errored",Z,X,eZ,tZ,"error"))}function FD(Z,X,Y,J){!DX||X<=Z||(J?J.run(console.timeStamp.bind(console,Y,Z,X,eZ,tZ,"secondary-light")):console.timeStamp(Y,Z,X,eZ,tZ,"secondary-light"))}function m8(Z,X,Y,J,G){if(DX&&!(X<=Z)){for(var H=[],U=0;U<Y.length;U++){var B=Y[U].value;H.push(["Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}Z={start:Z,end:X,detail:{devtools:{color:"error",track:eZ,trackGroup:tZ,tooltipText:J?"Remaining Effects Errored":"Commit Errored",properties:H}}},G?G.run(performance.measure.bind(performance,"Errored",Z)):performance.measure("Errored",Z)}}function lW(Z,X,Y){!DX||X<=Z||(Y?Y.run(console.timeStamp.bind(console,"Animating",Z,X,eZ,tZ,"secondary-dark")):console.timeStamp("Animating",Z,X,eZ,tZ,"secondary-dark"))}function MB(){for(var Z=N_,X=s0=N_=0;X<Z;){var Y=cQ[X];cQ[X++]=null;var J=cQ[X];cQ[X++]=null;var G=cQ[X];cQ[X++]=null;var H=cQ[X];if(cQ[X++]=null,J!==null&&G!==null){var U=J.pending;U===null?G.next=G:(G.next=U.next,U.next=G),J.pending=G}H!==0&&f8(Y,G,H)}}function NB(Z,X,Y,J){cQ[N_++]=Z,cQ[N_++]=X,cQ[N_++]=Y,cQ[N_++]=J,s0|=J,Z.lanes|=J,Z=Z.alternate,Z!==null&&(Z.lanes|=J)}function RF(Z,X,Y,J){return NB(Z,X,Y,J),IB(Z)}function hY(Z,X){return NB(Z,null,null,X),IB(Z)}function f8(Z,X,Y){Z.lanes|=Y;var J=Z.alternate;J!==null&&(J.lanes|=Y);for(var G=!1,H=Z.return;H!==null;)H.childLanes|=Y,J=H.alternate,J!==null&&(J.childLanes|=Y),H.tag===22&&(Z=H.stateNode,Z===null||Z._visibility&EU||(G=!0)),Z=H,H=H.return;return Z.tag===3?(H=Z.stateNode,G&&X!==null&&(G=31-fY(Y),Z=H.hiddenUpdates,J=Z[G],J===null?Z[G]=[X]:J.push(X),X.lane=Y|536870912),H):null}function IB(Z){if(JK>WE)throw rH=JK=0,qK=P9=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.");rH>UE&&(rH=0,qK=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.")),Z.alternate===null&&(Z.flags&4098)!==0&&YN(Z);for(var X=Z,Y=X.return;Y!==null;)X.alternate===null&&(X.flags&4098)!==0&&YN(Z),X=Y,Y=X.return;return X.tag===3?X.stateNode:null}function VH(Z){if(pQ===null)return Z;var X=pQ(Z);return X===void 0?Z:X.current}function jF(Z){if(pQ===null)return Z;var X=pQ(Z);return X===void 0?Z!==null&&Z!==void 0&&typeof Z.render==="function"&&(X=VH(Z.render),Z.render!==X)?(X={$$typeof:NU,render:X},Z.displayName!==void 0&&(X.displayName=Z.displayName),X):Z:X.current}function u8(Z,X){if(pQ===null)return!1;var Y=Z.elementType;X=X.type;var J=!1,G=typeof X==="object"&&X!==null?X.$$typeof:null;switch(Z.tag){case 1:typeof X==="function"&&(J=!0);break;case 0:typeof X==="function"?J=!0:G===VQ&&(J=!0);break;case 11:G===NU?J=!0:G===VQ&&(J=!0);break;case 14:case 15:G===FL?J=!0:G===VQ&&(J=!0);break;default:return!1}return J&&(Z=pQ(Y),Z!==void 0&&Z===pQ(X))?!0:!1}function d8(Z){pQ!==null&&typeof WeakSet==="function"&&(I_===null&&(I_=new WeakSet),I_.add(Z))}function c8(Z,X,Y){do{var J=Z,G=J.alternate,H=J.child,U=J.sibling,B=J.tag;J=J.type;var F=null;switch(B){case 0:case 15:case 1:F=J;break;case 11:F=J.render}if(pQ===null)throw Error("Expected resolveFamily to be set during hot reload.");var T=!1;if(J=!1,F!==null&&(F=pQ(F),F!==void 0&&(Y.has(F)?J=!0:X.has(F)&&(B===1?J=!0:T=!0))),I_!==null&&(I_.has(Z)||G!==null&&I_.has(G))&&(J=!0),J&&(Z._debugNeedsRemount=!0),J||T)G=hY(Z,2),G!==null&&gX(G,Z,2);if(H===null||J||c8(H,X,Y),U===null)break;Z=U}while(1)}function MD(Z,X,Y,J){this.tag=Z,this.key=Y,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=X,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=J,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,s7||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function CF(Z){return Z=Z.prototype,!(!Z||!Z.isReactComponent)}function Iq(Z,X){var Y=Z.alternate;switch(Y===null?(Y=R(Z.tag,X,Z.key,Z.mode),Y.elementType=Z.elementType,Y.type=Z.type,Y.stateNode=Z.stateNode,Y._debugOwner=Z._debugOwner,Y._debugStack=Z._debugStack,Y._debugTask=Z._debugTask,Y._debugHookTypes=Z._debugHookTypes,Y.alternate=Z,Z.alternate=Y):(Y.pendingProps=X,Y.type=Z.type,Y.flags=0,Y.subtreeFlags=0,Y.deletions=null,Y.actualDuration=-0,Y.actualStartTime=-1.1),Y.flags=Z.flags&65011712,Y.childLanes=Z.childLanes,Y.lanes=Z.lanes,Y.child=Z.child,Y.memoizedProps=Z.memoizedProps,Y.memoizedState=Z.memoizedState,Y.updateQueue=Z.updateQueue,X=Z.dependencies,Y.dependencies=X===null?null:{lanes:X.lanes,firstContext:X.firstContext,_debugThenableState:X._debugThenableState},Y.sibling=Z.sibling,Y.index=Z.index,Y.ref=Z.ref,Y.refCleanup=Z.refCleanup,Y.selfBaseDuration=Z.selfBaseDuration,Y.treeBaseDuration=Z.treeBaseDuration,Y._debugInfo=Z._debugInfo,Y._debugNeedsRemount=Z._debugNeedsRemount,Y.tag){case 0:case 15:Y.type=VH(Z.type);break;case 1:Y.type=VH(Z.type);break;case 11:Y.type=jF(Z.type)}return Y}function p8(Z,X){Z.flags&=65011714;var Y=Z.alternate;return Y===null?(Z.childLanes=0,Z.lanes=X,Z.child=null,Z.subtreeFlags=0,Z.memoizedProps=null,Z.memoizedState=null,Z.updateQueue=null,Z.dependencies=null,Z.stateNode=null,Z.selfBaseDuration=0,Z.treeBaseDuration=0):(Z.childLanes=Y.childLanes,Z.lanes=Y.lanes,Z.child=Y.child,Z.subtreeFlags=0,Z.deletions=null,Z.memoizedProps=Y.memoizedProps,Z.memoizedState=Y.memoizedState,Z.updateQueue=Y.updateQueue,Z.type=Y.type,X=Y.dependencies,Z.dependencies=X===null?null:{lanes:X.lanes,firstContext:X.firstContext,_debugThenableState:X._debugThenableState},Z.selfBaseDuration=Y.selfBaseDuration,Z.treeBaseDuration=Y.treeBaseDuration),Z}function PF(Z,X,Y,J,G,H){var U=0,B=Z;if(typeof Z==="function")CF(Z)&&(U=1),B=VH(B);else if(typeof Z==="string")U=g(),U=P$(Z,Y,U)?26:Z==="html"||Z==="head"||Z==="body"?27:5;else Z:switch(Z){case N0:return X=R(31,Y,X,G),X.elementType=N0,X.lanes=H,X;case z_:return RH(Y.children,G,H,X);case OL:U=8,G|=gY,G|=AJ;break;case A0:return Z=Y,J=G,typeof Z.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof Z.id),X=R(12,Z,X,J|iZ),X.elementType=A0,X.lanes=H,X.stateNode={effectDuration:0,passiveEffectDuration:0},X;case F0:return X=R(13,Y,X,G),X.elementType=F0,X.lanes=H,X;case M0:return X=R(19,Y,X,G),X.elementType=M0,X.lanes=H,X;default:if(typeof Z==="object"&&Z!==null)switch(Z.$$typeof){case aJ:U=10;break Z;case O0:U=9;break Z;case NU:U=11,B=jF(B);break Z;case FL:U=14;break Z;case VQ:U=16,B=null;break Z}if(B="",Z===void 0||typeof Z==="object"&&Z!==null&&Object.keys(Z).length===0)B+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";Z===null?Y="null":HY(Z)?Y="array":Z!==void 0&&Z.$$typeof===sJ?(Y="<"+(l(Z.type)||"Unknown")+" />",B=" Did you accidentally export a JSX literal instead of a component?"):Y=typeof Z,(U=J?OZ(J):null)&&(B+=`
76
+ This will cause a hydration error.%s`,X,Y),!1}function fW(Z,X){if(X){var Y=Z.firstChild;if(Y&&Y===Z.lastChild&&Y.nodeType===3){Y.nodeValue=X;return}}Z.textContent=X}function eP(Z){return Z.replace(GS,function(X,Y){return Y.toUpperCase()})}function F8(Z,X,Y){var J=X.indexOf("--")===0;J||(-1<X.indexOf("-")?U_.hasOwnProperty(X)&&U_[X]||(U_[X]=!0,console.error("Unsupported style property %s. Did you mean %s?",X,eP(X.replace(qS,"ms-")))):JS.test(X)?U_.hasOwnProperty(X)&&U_[X]||(U_[X]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",X,X.charAt(0).toUpperCase()+X.slice(1))):!w7.test(Y)||k0.hasOwnProperty(Y)&&k0[Y]||(k0[Y]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,X,Y.replace(w7,""))),typeof Y==="number"&&(isNaN(Y)?V7||(V7=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",X)):isFinite(Y)||R7||(R7=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",X)))),Y==null||typeof Y==="boolean"||Y===""?J?Z.setProperty(X,""):X==="float"?Z.cssFloat="":Z[X]="":J?Z.setProperty(X,Y):typeof Y!=="number"||Y===0||j7.has(X)?X==="float"?Z.cssFloat=Y:(Fq(Y,X),Z[X]=(""+Y).trim()):Z[X]=Y+"px"}function M8(Z,X,Y){if(X!=null&&typeof X!=="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(X&&Object.freeze(X),Z=Z.style,Y!=null){if(X){var J={};if(Y){for(var G in Y)if(Y.hasOwnProperty(G)&&!X.hasOwnProperty(G))for(var z=E0[G]||[G],U=0;U<z.length;U++)J[z[U]]=G}for(var B in X)if(X.hasOwnProperty(B)&&(!Y||Y[B]!==X[B]))for(G=E0[B]||[B],z=0;z<G.length;z++)J[G[z]]=B;B={};for(var F in X)for(G=E0[F]||[F],z=0;z<G.length;z++)B[G[z]]=F;F={};for(var T in J)if(G=J[T],(z=B[T])&&G!==z&&(U=G+","+z,!F[U])){F[U]=!0,U=console;var x=X[G];U.error.call(U,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",x==null||typeof x==="boolean"||x===""?"Removing":"Updating",G,z)}}for(var y in Y)!Y.hasOwnProperty(y)||X!=null&&X.hasOwnProperty(y)||(y.indexOf("--")===0?Z.setProperty(y,""):y==="float"?Z.cssFloat="":Z[y]="");for(var $ in X)T=X[$],X.hasOwnProperty($)&&Y[$]!==T&&F8(Z,$,T)}else for(J in X)X.hasOwnProperty(J)&&F8(Z,J,X[J])}function uW(Z){if(Z.indexOf("-")===-1)return!1;switch(Z){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 N8(Z){return zS.get(Z)||Z}function ZD(Z,X){if(BJ.call(B_,X)&&B_[X])return!0;if(_S.test(X)){if(Z="aria-"+X.slice(4).toLowerCase(),Z=C7.hasOwnProperty(Z)?Z:null,Z==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",X),B_[X]=!0;if(X!==Z)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",X,Z),B_[X]=!0}if(HS.test(X)){if(Z=X.toLowerCase(),Z=C7.hasOwnProperty(Z)?Z:null,Z==null)return B_[X]=!0,!1;X!==Z&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",X,Z),B_[X]=!0)}return!0}function XD(Z,X){var Y=[],J;for(J in X)ZD(Z,J)||Y.push(J);X=Y.map(function(G){return"`"+G+"`"}).join(", "),Y.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",X,Z):1<Y.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",X,Z)}function YD(Z,X,Y,J){if(BJ.call(dY,X)&&dY[X])return!0;var G=X.toLowerCase();if(G==="onfocusin"||G==="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."),dY[X]=!0;if(typeof Y==="function"&&(Z==="form"&&X==="action"||Z==="input"&&X==="formAction"||Z==="button"&&X==="formAction"))return!0;if(J!=null){if(Z=J.possibleRegistrationNames,J.registrationNameDependencies.hasOwnProperty(X))return!0;if(J=Z.hasOwnProperty(G)?Z[G]:null,J!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",X,J),dY[X]=!0;if(D7.test(X))return console.error("Unknown event handler property `%s`. It will be ignored.",X),dY[X]=!0}else if(D7.test(X))return WS.test(X)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",X),dY[X]=!0;if(US.test(X)||KS.test(X))return!0;if(G==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),dY[X]=!0;if(G==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),dY[X]=!0;if(G==="is"&&Y!==null&&Y!==void 0&&typeof Y!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof Y),dY[X]=!0;if(typeof Y==="number"&&isNaN(Y))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",X),dY[X]=!0;if(jL.hasOwnProperty(G)){if(G=jL[G],G!==X)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",X,G),dY[X]=!0}else if(X!==G)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.",X,G),dY[X]=!0;switch(X){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 Y){case"boolean":switch(X){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:if(G=X.toLowerCase().slice(0,5),G==="data-"||G==="aria-")return!0;return Y?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()}.',Y,X,X,Y,X):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',Y,X,X,Y,X,X,X),dY[X]=!0}case"function":case"symbol":return dY[X]=!0,!1;case"string":if(Y==="false"||Y==="true"){switch(X){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}?",Y,X,Y==="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".',X,Y),dY[X]=!0}}return!0}function QD(Z,X,Y){var J=[],G;for(G in X)YD(Z,G,X[G],Y)||J.push(G);X=J.map(function(z){return"`"+z+"`"}).join(", "),J.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 ",X,Z):1<J.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 ",X,Z)}function dW(Z){return BS.test(""+Z)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":Z}function Nq(){}function MF(Z){return Z=Z.target||Z.srcElement||window,Z.correspondingUseElement&&(Z=Z.correspondingUseElement),Z.nodeType===3?Z.parentNode:Z}function I8(Z){var X=fZ(Z);if(X&&(Z=X.stateNode)){var Y=Z[uY]||null;Z:switch(Z=X.stateNode,X.type){case"input":if(UF(Z,Y.value,Y.defaultValue,Y.defaultValue,Y.checked,Y.defaultChecked,Y.type,Y.name),X=Y.name,Y.type==="radio"&&X!=null){for(Y=Z;Y.parentNode;)Y=Y.parentNode;PZ(X,"name"),Y=Y.querySelectorAll('input[name="'+fQ(""+X)+'"][type="radio"]');for(X=0;X<Y.length;X++){var J=Y[X];if(J!==Z&&J.form===Z.form){var G=J[uY]||null;if(!G)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");UF(J,G.value,G.defaultValue,G.defaultValue,G.checked,G.defaultChecked,G.type,G.name)}}for(X=0;X<Y.length;X++)J=Y[X],J.form===Z.form&&X8(J)}break Z;case"textarea":H8(Z,Y.value,Y.defaultValue);break Z;case"select":X=Y.value,X!=null&&cH(Z,!!Y.multiple,X,!1)}}}function T8(Z,X,Y){if(x0)return Z(X,Y);x0=!0;try{var J=Z(X);return J}finally{if(x0=!1,L_!==null||A_!==null){if(X_(),L_&&(X=L_,Z=A_,A_=L_=null,I8(X),Z))for(X=0;X<Z.length;X++)I8(Z[X])}}}function cW(Z,X){var Y=Z.stateNode;if(Y===null)return null;var J=Y[uY]||null;if(J===null)return null;Y=J[X];Z:switch(X){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(J=!J.disabled)||(Z=Z.type,J=!(Z==="button"||Z==="input"||Z==="select"||Z==="textarea")),Z=!J;break Z;default:Z=!1}if(Z)return null;if(Y&&typeof Y!=="function")throw Error("Expected `"+X+"` listener to be a function, instead got a value of `"+typeof Y+"` type.");return Y}function w8(){if(CL)return CL;var Z,X=v0,Y=X.length,J,G="value"in wG?wG.value:wG.textContent,z=G.length;for(Z=0;Z<Y&&X[Z]===G[Z];Z++);var U=Y-Z;for(J=1;J<=U&&X[Y-J]===G[z-J];J++);return CL=G.slice(Z,1<J?1-J:void 0)}function BB(Z){var X=Z.keyCode;return"charCode"in Z?(Z=Z.charCode,Z===0&&X===13&&(Z=13)):Z=X,Z===10&&(Z=13),32<=Z||Z===13?Z:0}function LB(){return!0}function V8(){return!1}function oY(Z){function X(Y,J,G,z,U){this._reactName=Y,this._targetInst=G,this.type=J,this.nativeEvent=z,this.target=U,this.currentTarget=null;for(var B in Z)Z.hasOwnProperty(B)&&(Y=Z[B],this[B]=Y?Y(z):z[B]);return this.isDefaultPrevented=(z.defaultPrevented!=null?z.defaultPrevented:z.returnValue===!1)?LB:V8,this.isPropagationStopped=V8,this}return rZ(X.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Y=this.nativeEvent;Y&&(Y.preventDefault?Y.preventDefault():typeof Y.returnValue!=="unknown"&&(Y.returnValue=!1),this.isDefaultPrevented=LB)},stopPropagation:function(){var Y=this.nativeEvent;Y&&(Y.stopPropagation?Y.stopPropagation():typeof Y.cancelBubble!=="unknown"&&(Y.cancelBubble=!0),this.isPropagationStopped=LB)},persist:function(){},isPersistent:LB}),X}function JD(Z){var X=this.nativeEvent;return X.getModifierState?X.getModifierState(Z):(Z=CS[Z])?!!X[Z]:!1}function NF(){return JD}function R8(Z,X){switch(Z){case"keyup":return gS.indexOf(X.keyCode)!==-1;case"keydown":return X.keyCode!==k7;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function j8(Z){return Z=Z.detail,typeof Z==="object"&&"data"in Z?Z.data:null}function qD(Z,X){switch(Z){case"compositionend":return j8(X);case"keypress":if(X.which!==y7)return null;return h7=!0,v7;case"textInput":return Z=X.data,Z===v7&&h7?null:Z;default:return null}}function GD(Z,X){if(O_)return Z==="compositionend"||!m0&&R8(Z,X)?(Z=w8(),CL=v0=wG=null,O_=!1,Z):null;switch(Z){case"paste":return null;case"keypress":if(!(X.ctrlKey||X.altKey||X.metaKey)||X.ctrlKey&&X.altKey){if(X.char&&1<X.char.length)return X.char;if(X.which)return String.fromCharCode(X.which)}return null;case"compositionend":return x7&&X.locale!=="ko"?null:X.data;default:return null}}function C8(Z){var X=Z&&Z.nodeName&&Z.nodeName.toLowerCase();return X==="input"?!!fS[Z.type]:X==="textarea"?!0:!1}function zD(Z){if(!Zq)return!1;Z="on"+Z;var X=Z in document;return X||(X=document.createElement("div"),X.setAttribute(Z,"return;"),X=typeof X[Z]==="function"),X}function P8(Z,X,Y,J){L_?A_?A_.push(J):A_=[J]:L_=J,X=GL(X,"onChange"),0<X.length&&(Y=new PL("onChange","change",null,Y,J),Z.push({event:Y,listeners:X}))}function HD(Z){_N(Z,0)}function AB(Z){var X=uZ(Z);if(X8(X))return Z}function D8(Z,X){if(Z==="change")return X}function $8(){DU&&(DU.detachEvent("onpropertychange",S8),$U=DU=null)}function S8(Z){if(Z.propertyName==="value"&&AB($U)){var X=[];P8(X,$U,Z,MF(Z)),T8(HD,X)}}function _D(Z,X,Y){Z==="focusin"?($8(),DU=X,$U=Y,DU.attachEvent("onpropertychange",S8)):Z==="focusout"&&$8()}function WD(Z){if(Z==="selectionchange"||Z==="keyup"||Z==="keydown")return AB($U)}function UD(Z,X){if(Z==="click")return AB(X)}function KD(Z,X){if(Z==="input"||Z==="change")return AB(X)}function BD(Z,X){return Z===X&&(Z!==0||1/Z===1/X)||Z!==Z&&X!==X}function pW(Z,X){if(cY(Z,X))return!0;if(typeof Z!=="object"||Z===null||typeof X!=="object"||X===null)return!1;var Y=Object.keys(Z),J=Object.keys(X);if(Y.length!==J.length)return!1;for(J=0;J<Y.length;J++){var G=Y[J];if(!BJ.call(X,G)||!cY(Z[G],X[G]))return!1}return!0}function E8(Z){for(;Z&&Z.firstChild;)Z=Z.firstChild;return Z}function k8(Z,X){var Y=E8(Z);Z=0;for(var J;Y;){if(Y.nodeType===3){if(J=Z+Y.textContent.length,Z<=X&&J>=X)return{node:Y,offset:X-Z};Z=J}Z:{for(;Y;){if(Y.nextSibling){Y=Y.nextSibling;break Z}Y=Y.parentNode}Y=void 0}Y=E8(Y)}}function x8(Z,X){return Z&&X?Z===X?!0:Z&&Z.nodeType===3?!1:X&&X.nodeType===3?x8(Z,X.parentNode):("contains"in Z)?Z.contains(X):Z.compareDocumentPosition?!!(Z.compareDocumentPosition(X)&16):!1:!1}function y8(Z){Z=Z!=null&&Z.ownerDocument!=null&&Z.ownerDocument.defaultView!=null?Z.ownerDocument.defaultView:window;for(var X=WB(Z.document);X instanceof Z.HTMLIFrameElement;){try{var Y=typeof X.contentWindow.location.href==="string"}catch(J){Y=!1}if(Y)Z=X.contentWindow;else break;X=WB(Z.document)}return X}function IF(Z){var X=Z&&Z.nodeName&&Z.nodeName.toLowerCase();return X&&(X==="input"&&(Z.type==="text"||Z.type==="search"||Z.type==="tel"||Z.type==="url"||Z.type==="password")||X==="textarea"||Z.contentEditable==="true")}function v8(Z,X,Y){var J=Y.window===Y?Y.document:Y.nodeType===9?Y:Y.ownerDocument;u0||F_==null||F_!==WB(J)||(J=F_,("selectionStart"in J)&&IF(J)?J={start:J.selectionStart,end:J.selectionEnd}:(J=(J.ownerDocument&&J.ownerDocument.defaultView||window).getSelection(),J={anchorNode:J.anchorNode,anchorOffset:J.anchorOffset,focusNode:J.focusNode,focusOffset:J.focusOffset}),SU&&pW(SU,J)||(SU=J,J=GL(f0,"onSelect"),0<J.length&&(X=new PL("onSelect","select",null,X,Y),Z.push({event:X,listeners:J}),X.target=F_)))}function Tz(Z,X){var Y={};return Y[Z.toLowerCase()]=X.toLowerCase(),Y["Webkit"+Z]="webkit"+X,Y["Moz"+Z]="moz"+X,Y}function wz(Z){if(d0[Z])return d0[Z];if(!M_[Z])return Z;var X=M_[Z],Y;for(Y in X)if(X.hasOwnProperty(Y)&&Y in g7)return d0[Z]=X[Y];return Z}function WJ(Z,X){c7.set(Z,X),vY(X,[Z])}function LD(Z){for(var X=$L,Y=0;Y<Z.length;Y++){var J=Z[Y];if(typeof J==="object"&&J!==null)if(zY(J)&&J.length===2&&typeof J[0]==="string"){if(X!==$L&&X!==n0)return l0;X=n0}else return l0;else{if(typeof J==="function"||typeof J==="string"&&50<J.length||X!==$L&&X!==i0)return l0;X=i0}}return X}function TF(Z,X,Y,J){for(var G in Z)BJ.call(Z,G)&&G[0]!=="_"&&kJ(G,Z[G],X,Y,J)}function kJ(Z,X,Y,J,G){switch(typeof X){case"object":if(X===null){X="null";break}else{if(X.$$typeof===sJ){var z=l(X.type)||"…",U=X.key;X=X.props;var B=Object.keys(X),F=B.length;if(U==null&&F===0){X="<"+z+" />";break}if(3>J||F===1&&B[0]==="children"&&U==null){X="<"+z+" … />";break}Y.push([G+"  ".repeat(J)+Z,"<"+z]),U!==null&&kJ("key",U,Y,J+1,G),Z=!1;for(var T in X)T==="children"?X.children!=null&&(!zY(X.children)||0<X.children.length)&&(Z=!0):BJ.call(X,T)&&T[0]!=="_"&&kJ(T,X[T],Y,J+1,G);Y.push(["",Z?">…</"+z+">":"/>"]);return}if(z=Object.prototype.toString.call(X),z=z.slice(8,z.length-1),z==="Array"){if(T=LD(X),T===i0||T===$L){X=JSON.stringify(X);break}else if(T===n0){Y.push([G+"  ".repeat(J)+Z,""]);for(Z=0;Z<X.length;Z++)z=X[Z],kJ(z[0],z[1],Y,J+1,G);return}}if(z==="Promise"){if(X.status==="fulfilled"){if(z=Y.length,kJ(Z,X.value,Y,J,G),Y.length>z){Y=Y[z],Y[1]="Promise<"+(Y[1]||"Object")+">";return}}else if(X.status==="rejected"&&(z=Y.length,kJ(Z,X.reason,Y,J,G),Y.length>z)){Y=Y[z],Y[1]="Rejected Promise<"+Y[1]+">";return}Y.push(["  ".repeat(J)+Z,"Promise"]);return}z==="Object"&&(T=Object.getPrototypeOf(X))&&typeof T.constructor==="function"&&(z=T.constructor.name),Y.push([G+"  ".repeat(J)+Z,z==="Object"?3>J?"":"…":z]),3>J&&TF(X,Y,J+1,G);return}case"function":X=X.name===""?"() => {}":X.name+"() {}";break;case"string":X=X===nS?"…":JSON.stringify(X);break;case"undefined":X="undefined";break;case"boolean":X=X?"true":"false";break;default:X=String(X)}Y.push([G+"  ".repeat(J)+Z,X])}function h8(Z,X,Y,J){var G=!0;for(U in Z)U in X||(Y.push([SL+"  ".repeat(J)+U,"…"]),G=!1);for(var z in X)if(z in Z){var U=Z[z],B=X[z];if(U!==B){if(J===0&&z==="children")G="  ".repeat(J)+z,Y.push([SL+G,"…"],[EL+G,"…"]);else{if(!(3<=J)){if(typeof U==="object"&&typeof B==="object"&&U!==null&&B!==null&&U.$$typeof===B.$$typeof)if(B.$$typeof===sJ){if(U.type===B.type&&U.key===B.key){U=l(B.type)||"…",G="  ".repeat(J)+z,U="<"+U+" … />",Y.push([SL+G,U],[EL+G,U]),G=!1;continue}}else{var F=Object.prototype.toString.call(U),T=Object.prototype.toString.call(B);if(F===T&&(T==="[object Object]"||T==="[object Array]")){F=[i7+"  ".repeat(J)+z,T==="[object Array]"?"Array":""],Y.push(F),T=Y.length,h8(U,B,Y,J+1)?T===Y.length&&(F[1]="Referentially unequal but deeply equal objects. Consider memoization."):G=!1;continue}}else if(typeof U==="function"&&typeof B==="function"&&U.name===B.name&&U.length===B.length&&(F=Function.prototype.toString.call(U),T=Function.prototype.toString.call(B),F===T)){U=B.name===""?"() => {}":B.name+"() {}",Y.push([i7+"  ".repeat(J)+z,U+" Referentially unequal function closure. Consider memoization."]);continue}}kJ(z,U,Y,J,SL),kJ(z,B,Y,J,EL)}G=!1}}else Y.push([EL+"  ".repeat(J)+z,"…"]),G=!1;return G}function OQ(Z){eZ=Z&63?"Blocking":Z&64?"Gesture":Z&4194176?"Transition":Z&62914560?"Suspense":Z&2080374784?"Idle":"Other"}function xJ(Z,X,Y,J){DX&&(RG.start=X,RG.end=Y,Dq.color="warning",Dq.tooltipText=J,Dq.properties=null,(Z=Z._debugTask)?Z.run(performance.measure.bind(performance,J,RG)):performance.measure(J,RG))}function OB(Z,X,Y){xJ(Z,X,Y,"Reconnect")}function FB(Z,X,Y,J,G){var z=n(Z);if(z!==null&&DX){var{alternate:U,actualDuration:B}=Z;if(U===null||U.child!==Z.child)for(var F=Z.child;F!==null;F=F.sibling)B-=F.actualDuration;J=0.5>B?J?"tertiary-light":"primary-light":10>B?J?"tertiary":"primary":100>B?J?"tertiary-dark":"primary-dark":"error";var T=Z.memoizedProps;B=Z._debugTask,T!==null&&U!==null&&U.memoizedProps!==T?(F=[sS],T=h8(U.memoizedProps,T,F,0),1<F.length&&(T&&!VG&&(U.lanes&G)===0&&100<Z.actualDuration?(VG=!0,F[0]=aS,Dq.color="warning",Dq.tooltipText=n7):(Dq.color=J,Dq.tooltipText=z),Dq.properties=F,RG.start=X,RG.end=Y,B!=null?B.run(performance.measure.bind(performance,"​"+z,RG)):performance.measure("​"+z,RG))):B!=null?B.run(console.timeStamp.bind(console,z,X,Y,dQ,void 0,J)):console.timeStamp(z,X,Y,dQ,void 0,J)}}function wF(Z,X,Y,J){if(DX){var G=n(Z);if(G!==null){for(var z=null,U=[],B=0;B<J.length;B++){var F=J[B];z==null&&F.source!==null&&(z=F.source._debugTask),F=F.value,U.push(["Error",typeof F==="object"&&F!==null&&typeof F.message==="string"?String(F.message):String(F)])}Z.key!==null&&kJ("key",Z.key,U,0,""),Z.memoizedProps!==null&&TF(Z.memoizedProps,U,0,""),z==null&&(z=Z._debugTask),Z={start:X,end:Y,detail:{devtools:{color:"error",track:dQ,tooltipText:Z.tag===13?"Hydration failed":"Error boundary caught an error",properties:U}}},z?z.run(performance.measure.bind(performance,"​"+G,Z)):performance.measure("​"+G,Z)}}}function yJ(Z,X,Y,J,G){if(G!==null){if(DX){var z=n(Z);if(z!==null){J=[];for(var U=0;U<G.length;U++){var B=G[U].value;J.push(["Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}Z.key!==null&&kJ("key",Z.key,J,0,""),Z.memoizedProps!==null&&TF(Z.memoizedProps,J,0,""),X={start:X,end:Y,detail:{devtools:{color:"error",track:dQ,tooltipText:"A lifecycle or effect errored",properties:J}}},(Z=Z._debugTask)?Z.run(performance.measure.bind(performance,"​"+z,X)):performance.measure("​"+z,X)}}}else z=n(Z),z!==null&&DX&&(G=1>J?"secondary-light":100>J?"secondary":500>J?"secondary-dark":"error",(Z=Z._debugTask)?Z.run(console.timeStamp.bind(console,z,X,Y,dQ,void 0,G)):console.timeStamp(z,X,Y,dQ,void 0,G))}function AD(Z,X,Y,J){if(DX&&!(X<=Z)){var G=(Y&738197653)===Y?"tertiary-dark":"primary-dark";Y=(Y&536870912)===Y?"Prepared":(Y&201326741)===Y?"Hydrated":"Render",J?J.run(console.timeStamp.bind(console,Y,Z,X,eZ,tZ,G)):console.timeStamp(Y,Z,X,eZ,tZ,G)}}function b8(Z,X,Y,J){!DX||X<=Z||(Y=(Y&738197653)===Y?"tertiary-dark":"primary-dark",J?J.run(console.timeStamp.bind(console,"Prewarm",Z,X,eZ,tZ,Y)):console.timeStamp("Prewarm",Z,X,eZ,tZ,Y))}function g8(Z,X,Y,J){!DX||X<=Z||(Y=(Y&738197653)===Y?"tertiary-dark":"primary-dark",J?J.run(console.timeStamp.bind(console,"Suspended",Z,X,eZ,tZ,Y)):console.timeStamp("Suspended",Z,X,eZ,tZ,Y))}function OD(Z,X,Y,J,G,z){if(DX&&!(X<=Z)){Y=[];for(var U=0;U<J.length;U++){var B=J[U].value;Y.push(["Recoverable Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}Z={start:Z,end:X,detail:{devtools:{color:"primary-dark",track:eZ,trackGroup:tZ,tooltipText:G?"Hydration Failed":"Recovered after Error",properties:Y}}},z?z.run(performance.measure.bind(performance,"Recovered",Z)):performance.measure("Recovered",Z)}}function VF(Z,X,Y,J){!DX||X<=Z||(J?J.run(console.timeStamp.bind(console,"Errored",Z,X,eZ,tZ,"error")):console.timeStamp("Errored",Z,X,eZ,tZ,"error"))}function FD(Z,X,Y,J){!DX||X<=Z||(J?J.run(console.timeStamp.bind(console,Y,Z,X,eZ,tZ,"secondary-light")):console.timeStamp(Y,Z,X,eZ,tZ,"secondary-light"))}function m8(Z,X,Y,J,G){if(DX&&!(X<=Z)){for(var z=[],U=0;U<Y.length;U++){var B=Y[U].value;z.push(["Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}Z={start:Z,end:X,detail:{devtools:{color:"error",track:eZ,trackGroup:tZ,tooltipText:J?"Remaining Effects Errored":"Commit Errored",properties:z}}},G?G.run(performance.measure.bind(performance,"Errored",Z)):performance.measure("Errored",Z)}}function lW(Z,X,Y){!DX||X<=Z||(Y?Y.run(console.timeStamp.bind(console,"Animating",Z,X,eZ,tZ,"secondary-dark")):console.timeStamp("Animating",Z,X,eZ,tZ,"secondary-dark"))}function MB(){for(var Z=N_,X=s0=N_=0;X<Z;){var Y=cQ[X];cQ[X++]=null;var J=cQ[X];cQ[X++]=null;var G=cQ[X];cQ[X++]=null;var z=cQ[X];if(cQ[X++]=null,J!==null&&G!==null){var U=J.pending;U===null?G.next=G:(G.next=U.next,U.next=G),J.pending=G}z!==0&&f8(Y,G,z)}}function NB(Z,X,Y,J){cQ[N_++]=Z,cQ[N_++]=X,cQ[N_++]=Y,cQ[N_++]=J,s0|=J,Z.lanes|=J,Z=Z.alternate,Z!==null&&(Z.lanes|=J)}function RF(Z,X,Y,J){return NB(Z,X,Y,J),IB(Z)}function hY(Z,X){return NB(Z,null,null,X),IB(Z)}function f8(Z,X,Y){Z.lanes|=Y;var J=Z.alternate;J!==null&&(J.lanes|=Y);for(var G=!1,z=Z.return;z!==null;)z.childLanes|=Y,J=z.alternate,J!==null&&(J.childLanes|=Y),z.tag===22&&(Z=z.stateNode,Z===null||Z._visibility&EU||(G=!0)),Z=z,z=z.return;return Z.tag===3?(z=Z.stateNode,G&&X!==null&&(G=31-fY(Y),Z=z.hiddenUpdates,J=Z[G],J===null?Z[G]=[X]:J.push(X),X.lane=Y|536870912),z):null}function IB(Z){if(JK>WE)throw rz=JK=0,qK=P9=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.");rz>UE&&(rz=0,qK=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.")),Z.alternate===null&&(Z.flags&4098)!==0&&YN(Z);for(var X=Z,Y=X.return;Y!==null;)X.alternate===null&&(X.flags&4098)!==0&&YN(Z),X=Y,Y=X.return;return X.tag===3?X.stateNode:null}function Vz(Z){if(pQ===null)return Z;var X=pQ(Z);return X===void 0?Z:X.current}function jF(Z){if(pQ===null)return Z;var X=pQ(Z);return X===void 0?Z!==null&&Z!==void 0&&typeof Z.render==="function"&&(X=Vz(Z.render),Z.render!==X)?(X={$$typeof:NU,render:X},Z.displayName!==void 0&&(X.displayName=Z.displayName),X):Z:X.current}function u8(Z,X){if(pQ===null)return!1;var Y=Z.elementType;X=X.type;var J=!1,G=typeof X==="object"&&X!==null?X.$$typeof:null;switch(Z.tag){case 1:typeof X==="function"&&(J=!0);break;case 0:typeof X==="function"?J=!0:G===VQ&&(J=!0);break;case 11:G===NU?J=!0:G===VQ&&(J=!0);break;case 14:case 15:G===FL?J=!0:G===VQ&&(J=!0);break;default:return!1}return J&&(Z=pQ(Y),Z!==void 0&&Z===pQ(X))?!0:!1}function d8(Z){pQ!==null&&typeof WeakSet==="function"&&(I_===null&&(I_=new WeakSet),I_.add(Z))}function c8(Z,X,Y){do{var J=Z,G=J.alternate,z=J.child,U=J.sibling,B=J.tag;J=J.type;var F=null;switch(B){case 0:case 15:case 1:F=J;break;case 11:F=J.render}if(pQ===null)throw Error("Expected resolveFamily to be set during hot reload.");var T=!1;if(J=!1,F!==null&&(F=pQ(F),F!==void 0&&(Y.has(F)?J=!0:X.has(F)&&(B===1?J=!0:T=!0))),I_!==null&&(I_.has(Z)||G!==null&&I_.has(G))&&(J=!0),J&&(Z._debugNeedsRemount=!0),J||T)G=hY(Z,2),G!==null&&gX(G,Z,2);if(z===null||J||c8(z,X,Y),U===null)break;Z=U}while(1)}function MD(Z,X,Y,J){this.tag=Z,this.key=Y,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=X,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=J,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,s7||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function CF(Z){return Z=Z.prototype,!(!Z||!Z.isReactComponent)}function Iq(Z,X){var Y=Z.alternate;switch(Y===null?(Y=R(Z.tag,X,Z.key,Z.mode),Y.elementType=Z.elementType,Y.type=Z.type,Y.stateNode=Z.stateNode,Y._debugOwner=Z._debugOwner,Y._debugStack=Z._debugStack,Y._debugTask=Z._debugTask,Y._debugHookTypes=Z._debugHookTypes,Y.alternate=Z,Z.alternate=Y):(Y.pendingProps=X,Y.type=Z.type,Y.flags=0,Y.subtreeFlags=0,Y.deletions=null,Y.actualDuration=-0,Y.actualStartTime=-1.1),Y.flags=Z.flags&65011712,Y.childLanes=Z.childLanes,Y.lanes=Z.lanes,Y.child=Z.child,Y.memoizedProps=Z.memoizedProps,Y.memoizedState=Z.memoizedState,Y.updateQueue=Z.updateQueue,X=Z.dependencies,Y.dependencies=X===null?null:{lanes:X.lanes,firstContext:X.firstContext,_debugThenableState:X._debugThenableState},Y.sibling=Z.sibling,Y.index=Z.index,Y.ref=Z.ref,Y.refCleanup=Z.refCleanup,Y.selfBaseDuration=Z.selfBaseDuration,Y.treeBaseDuration=Z.treeBaseDuration,Y._debugInfo=Z._debugInfo,Y._debugNeedsRemount=Z._debugNeedsRemount,Y.tag){case 0:case 15:Y.type=Vz(Z.type);break;case 1:Y.type=Vz(Z.type);break;case 11:Y.type=jF(Z.type)}return Y}function p8(Z,X){Z.flags&=65011714;var Y=Z.alternate;return Y===null?(Z.childLanes=0,Z.lanes=X,Z.child=null,Z.subtreeFlags=0,Z.memoizedProps=null,Z.memoizedState=null,Z.updateQueue=null,Z.dependencies=null,Z.stateNode=null,Z.selfBaseDuration=0,Z.treeBaseDuration=0):(Z.childLanes=Y.childLanes,Z.lanes=Y.lanes,Z.child=Y.child,Z.subtreeFlags=0,Z.deletions=null,Z.memoizedProps=Y.memoizedProps,Z.memoizedState=Y.memoizedState,Z.updateQueue=Y.updateQueue,Z.type=Y.type,X=Y.dependencies,Z.dependencies=X===null?null:{lanes:X.lanes,firstContext:X.firstContext,_debugThenableState:X._debugThenableState},Z.selfBaseDuration=Y.selfBaseDuration,Z.treeBaseDuration=Y.treeBaseDuration),Z}function PF(Z,X,Y,J,G,z){var U=0,B=Z;if(typeof Z==="function")CF(Z)&&(U=1),B=Vz(B);else if(typeof Z==="string")U=g(),U=P$(Z,Y,U)?26:Z==="html"||Z==="head"||Z==="body"?27:5;else Z:switch(Z){case N0:return X=R(31,Y,X,G),X.elementType=N0,X.lanes=z,X;case H_:return Rz(Y.children,G,z,X);case OL:U=8,G|=gY,G|=AJ;break;case A0:return Z=Y,J=G,typeof Z.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof Z.id),X=R(12,Z,X,J|iZ),X.elementType=A0,X.lanes=z,X.stateNode={effectDuration:0,passiveEffectDuration:0},X;case F0:return X=R(13,Y,X,G),X.elementType=F0,X.lanes=z,X;case M0:return X=R(19,Y,X,G),X.elementType=M0,X.lanes=z,X;default:if(typeof Z==="object"&&Z!==null)switch(Z.$$typeof){case aJ:U=10;break Z;case O0:U=9;break Z;case NU:U=11,B=jF(B);break Z;case FL:U=14;break Z;case VQ:U=16,B=null;break Z}if(B="",Z===void 0||typeof Z==="object"&&Z!==null&&Object.keys(Z).length===0)B+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";Z===null?Y="null":zY(Z)?Y="array":Z!==void 0&&Z.$$typeof===sJ?(Y="<"+(l(Z.type)||"Unknown")+" />",B=" Did you accidentally export a JSX literal instead of a component?"):Y=typeof Z,(U=J?OZ(J):null)&&(B+=`
77
77
 
78
- Check the render method of \``+U+"`."),U=29,Y=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(Y+"."+B)),B=null}return X=R(U,Y,X,G),X.elementType=Z,X.type=B,X.lanes=H,X._debugOwner=J,X}function TB(Z,X,Y){return X=PF(Z.type,Z.key,Z.props,Z._owner,X,Y),X._debugOwner=Z._owner,X._debugStack=Z._debugStack,X._debugTask=Z._debugTask,X}function RH(Z,X,Y,J){return Z=R(7,Z,J,X),Z.lanes=Y,Z}function DF(Z,X,Y){return Z=R(6,Z,null,X),Z.lanes=Y,Z}function l8(Z){var X=R(18,null,null,hZ);return X.stateNode=Z,X}function $F(Z,X,Y){return X=R(4,Z.children!==null?Z.children:[],Z.key,X),X.lanes=Y,X.stateNode={containerInfo:Z.containerInfo,pendingChildren:null,implementation:Z.implementation},X}function FQ(Z,X){if(typeof Z==="object"&&Z!==null){var Y=a0.get(Z);if(Y!==void 0)return Y;return X={value:Z,source:X,stack:YX(X)},a0.set(Z,X),X}return{value:Z,source:X,stack:YX(X)}}function Tq(Z,X){GG(),T_[w_++]=kU,T_[w_++]=kL,kL=Z,kU=X}function i8(Z,X,Y){GG(),lQ[iQ++]=Sq,lQ[iQ++]=Eq,lQ[iQ++]=bH,bH=Z;var J=Sq;Z=Eq;var G=32-fY(J)-1;J&=~(1<<G),Y+=1;var H=32-fY(X)+G;if(30<H){var U=G-G%5;H=(J&(1<<U)-1).toString(32),J>>=U,G-=U,Sq=1<<32-fY(X)+G|Y<<G|J,Eq=H+Z}else Sq=1<<H|Y<<G|J,Eq=Z}function SF(Z){GG(),Z.return!==null&&(Tq(Z,1),i8(Z,1,0))}function EF(Z){for(;Z===kL;)kL=T_[--w_],T_[w_]=null,kU=T_[--w_],T_[w_]=null;for(;Z===bH;)bH=lQ[--iQ],lQ[iQ]=null,Eq=lQ[--iQ],lQ[iQ]=null,Sq=lQ[--iQ],lQ[iQ]=null}function n8(){return GG(),bH!==null?{id:Sq,overflow:Eq}:null}function s8(Z,X){GG(),lQ[iQ++]=Sq,lQ[iQ++]=Eq,lQ[iQ++]=bH,Sq=X.id,Eq=X.overflow,bH=Z}function GG(){QX||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function jH(Z,X){if(Z.return===null){if(CQ===null)CQ={fiber:Z,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:X};else{if(CQ.fiber!==Z)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");CQ.distanceFromLeaf>X&&(CQ.distanceFromLeaf=X)}return CQ}var Y=jH(Z.return,X+1).children;if(0<Y.length&&Y[Y.length-1].fiber===Z)return Y=Y[Y.length-1],Y.distanceFromLeaf>X&&(Y.distanceFromLeaf=X),Y;return X={fiber:Z,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:X},Y.push(X),X}function a8(){QX&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function wB(Z,X){Xq||(Z=jH(Z,0),Z.serverProps=null,X!==null&&(X=PN(X),Z.serverTail.push(X)))}function HG(Z){var X=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,Y="",J=CQ;throw J!==null&&(CQ=null,Y=OF(J)),iW(FQ(Error("Hydration failed because the server rendered "+(X?"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:
78
+ Check the render method of \``+U+"`."),U=29,Y=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(Y+"."+B)),B=null}return X=R(U,Y,X,G),X.elementType=Z,X.type=B,X.lanes=z,X._debugOwner=J,X}function TB(Z,X,Y){return X=PF(Z.type,Z.key,Z.props,Z._owner,X,Y),X._debugOwner=Z._owner,X._debugStack=Z._debugStack,X._debugTask=Z._debugTask,X}function Rz(Z,X,Y,J){return Z=R(7,Z,J,X),Z.lanes=Y,Z}function DF(Z,X,Y){return Z=R(6,Z,null,X),Z.lanes=Y,Z}function l8(Z){var X=R(18,null,null,hZ);return X.stateNode=Z,X}function $F(Z,X,Y){return X=R(4,Z.children!==null?Z.children:[],Z.key,X),X.lanes=Y,X.stateNode={containerInfo:Z.containerInfo,pendingChildren:null,implementation:Z.implementation},X}function FQ(Z,X){if(typeof Z==="object"&&Z!==null){var Y=a0.get(Z);if(Y!==void 0)return Y;return X={value:Z,source:X,stack:YX(X)},a0.set(Z,X),X}return{value:Z,source:X,stack:YX(X)}}function Tq(Z,X){GG(),T_[w_++]=kU,T_[w_++]=kL,kL=Z,kU=X}function i8(Z,X,Y){GG(),lQ[iQ++]=Sq,lQ[iQ++]=Eq,lQ[iQ++]=bz,bz=Z;var J=Sq;Z=Eq;var G=32-fY(J)-1;J&=~(1<<G),Y+=1;var z=32-fY(X)+G;if(30<z){var U=G-G%5;z=(J&(1<<U)-1).toString(32),J>>=U,G-=U,Sq=1<<32-fY(X)+G|Y<<G|J,Eq=z+Z}else Sq=1<<z|Y<<G|J,Eq=Z}function SF(Z){GG(),Z.return!==null&&(Tq(Z,1),i8(Z,1,0))}function EF(Z){for(;Z===kL;)kL=T_[--w_],T_[w_]=null,kU=T_[--w_],T_[w_]=null;for(;Z===bz;)bz=lQ[--iQ],lQ[iQ]=null,Eq=lQ[--iQ],lQ[iQ]=null,Sq=lQ[--iQ],lQ[iQ]=null}function n8(){return GG(),bz!==null?{id:Sq,overflow:Eq}:null}function s8(Z,X){GG(),lQ[iQ++]=Sq,lQ[iQ++]=Eq,lQ[iQ++]=bz,Sq=X.id,Eq=X.overflow,bz=Z}function GG(){QX||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function jz(Z,X){if(Z.return===null){if(CQ===null)CQ={fiber:Z,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:X};else{if(CQ.fiber!==Z)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");CQ.distanceFromLeaf>X&&(CQ.distanceFromLeaf=X)}return CQ}var Y=jz(Z.return,X+1).children;if(0<Y.length&&Y[Y.length-1].fiber===Z)return Y=Y[Y.length-1],Y.distanceFromLeaf>X&&(Y.distanceFromLeaf=X),Y;return X={fiber:Z,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:X},Y.push(X),X}function a8(){QX&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function wB(Z,X){Xq||(Z=jz(Z,0),Z.serverProps=null,X!==null&&(X=PN(X),Z.serverTail.push(X)))}function zG(Z){var X=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,Y="",J=CQ;throw J!==null&&(CQ=null,Y=OF(J)),iW(FQ(Error("Hydration failed because the server rendered "+(X?"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
79
 
80
80
  - A server/client branch \`if (typeof window !== 'undefined')\`.
81
81
  - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
@@ -85,7 +85,7 @@ Check the render method of \``+U+"`."),U=29,Y=Error("Element type is invalid: ex
85
85
 
86
86
  It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
87
87
 
88
- https://react.dev/link/hydration-mismatch`+Y),Z)),o0}function o8(Z){var{stateNode:X,type:Y,memoizedProps:J}=Z;switch(X[RY]=Z,X[uY]=J,rM(Y,J),Y){case"dialog":qX("cancel",X),qX("close",X);break;case"iframe":case"object":case"embed":qX("load",X);break;case"video":case"audio":for(Y=0;Y<GK.length;Y++)qX(GK[Y],X);break;case"source":qX("error",X);break;case"img":case"image":case"link":qX("error",X),qX("load",X);break;case"details":qX("toggle",X);break;case"input":qG("input",J),qX("invalid",X),Y8(X,J),Q8(X,J.value,J.defaultValue,J.checked,J.defaultChecked,J.type,J.name,!0);break;case"option":J8(X,J);break;case"select":qG("select",J),qX("invalid",X),G8(X,J);break;case"textarea":qG("textarea",J),qX("invalid",X),H8(X,J),_8(X,J.value,J.defaultValue,J.children)}Y=J.children,typeof Y!=="string"&&typeof Y!=="number"&&typeof Y!=="bigint"||X.textContent===""+Y||J.suppressHydrationWarning===!0||BN(X.textContent,Y)?(J.popover!=null&&(qX("beforetoggle",X),qX("toggle",X)),J.onScroll!=null&&qX("scroll",X),J.onScrollEnd!=null&&qX("scrollend",X),J.onClick!=null&&(X.onclick=Nq),X=!0):X=!1,X||HG(Z,!0)}function r8(Z){for(jY=Z.return;jY;)switch(jY.tag){case 5:case 31:case 13:nQ=!1;return;case 27:case 3:nQ=!0;return;default:jY=jY.return}}function iz(Z){if(Z!==jY)return!1;if(!QX)return r8(Z),QX=!0,!1;var X=Z.tag,Y;if(Y=X!==3&&X!==27){if(Y=X===5)Y=Z.type,Y=!(Y!=="form"&&Y!=="button")||Y0(Z.type,Z.memoizedProps);Y=!Y}if(Y&&$X){for(Y=$X;Y;){var J=jH(Z,0),G=PN(Y);J.serverTail.push(G),Y=G.type==="Suspense"?G0(Y):wQ(Y.nextSibling)}HG(Z)}if(r8(Z),X===13){if(Z=Z.memoizedState,Z=Z!==null?Z.dehydrated:null,!Z)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");$X=G0(Z)}else if(X===31){if(Z=Z.memoizedState,Z=Z!==null?Z.dehydrated:null,!Z)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");$X=G0(Z)}else X===27?(X=$X,FG(Z.type)?(Z=m9,m9=null,$X=Z):$X=X):$X=jY?wQ(Z.stateNode.nextSibling):null;return!0}function CH(){$X=jY=null,Xq=QX=!1}function kF(){var Z=CG;return Z!==null&&(nY===null?nY=Z:nY.push.apply(nY,Z),CG=null),Z}function iW(Z){CG===null?CG=[Z]:CG.push(Z)}function xF(){var Z=CQ;if(Z!==null){CQ=null;for(var X=OF(Z);0<Z.children.length;)Z=Z.children[0];UZ(Z.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:
88
+ https://react.dev/link/hydration-mismatch`+Y),Z)),o0}function o8(Z){var{stateNode:X,type:Y,memoizedProps:J}=Z;switch(X[jY]=Z,X[uY]=J,rM(Y,J),Y){case"dialog":qX("cancel",X),qX("close",X);break;case"iframe":case"object":case"embed":qX("load",X);break;case"video":case"audio":for(Y=0;Y<GK.length;Y++)qX(GK[Y],X);break;case"source":qX("error",X);break;case"img":case"image":case"link":qX("error",X),qX("load",X);break;case"details":qX("toggle",X);break;case"input":qG("input",J),qX("invalid",X),Y8(X,J),Q8(X,J.value,J.defaultValue,J.checked,J.defaultChecked,J.type,J.name,!0);break;case"option":J8(X,J);break;case"select":qG("select",J),qX("invalid",X),G8(X,J);break;case"textarea":qG("textarea",J),qX("invalid",X),z8(X,J),_8(X,J.value,J.defaultValue,J.children)}Y=J.children,typeof Y!=="string"&&typeof Y!=="number"&&typeof Y!=="bigint"||X.textContent===""+Y||J.suppressHydrationWarning===!0||BN(X.textContent,Y)?(J.popover!=null&&(qX("beforetoggle",X),qX("toggle",X)),J.onScroll!=null&&qX("scroll",X),J.onScrollEnd!=null&&qX("scrollend",X),J.onClick!=null&&(X.onclick=Nq),X=!0):X=!1,X||zG(Z,!0)}function r8(Z){for(CY=Z.return;CY;)switch(CY.tag){case 5:case 31:case 13:nQ=!1;return;case 27:case 3:nQ=!0;return;default:CY=CY.return}}function iH(Z){if(Z!==CY)return!1;if(!QX)return r8(Z),QX=!0,!1;var X=Z.tag,Y;if(Y=X!==3&&X!==27){if(Y=X===5)Y=Z.type,Y=!(Y!=="form"&&Y!=="button")||Y0(Z.type,Z.memoizedProps);Y=!Y}if(Y&&$X){for(Y=$X;Y;){var J=jz(Z,0),G=PN(Y);J.serverTail.push(G),Y=G.type==="Suspense"?G0(Y):wQ(Y.nextSibling)}zG(Z)}if(r8(Z),X===13){if(Z=Z.memoizedState,Z=Z!==null?Z.dehydrated:null,!Z)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");$X=G0(Z)}else if(X===31){if(Z=Z.memoizedState,Z=Z!==null?Z.dehydrated:null,!Z)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");$X=G0(Z)}else X===27?(X=$X,FG(Z.type)?(Z=m9,m9=null,$X=Z):$X=X):$X=CY?wQ(Z.stateNode.nextSibling):null;return!0}function Cz(){$X=CY=null,Xq=QX=!1}function kF(){var Z=CG;return Z!==null&&(nY===null?nY=Z:nY.push.apply(nY,Z),CG=null),Z}function iW(Z){CG===null?CG=[Z]:CG.push(Z)}function xF(){var Z=CQ;if(Z!==null){CQ=null;for(var X=OF(Z);0<Z.children.length;)Z=Z.children[0];UZ(Z.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
89
 
90
90
  - A server/client branch \`if (typeof window !== 'undefined')\`.
91
91
  - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
@@ -95,29 +95,29 @@ https://react.dev/link/hydration-mismatch`+Y),Z)),o0}function o8(Z){var{stateNod
95
95
 
96
96
  It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
97
97
 
98
- %s%s`,"https://react.dev/link/hydration-mismatch",X)})}}function VB(){V_=xL=null,R_=!1}function zG(Z,X,Y){HZ(r0,X._currentValue,Z),X._currentValue=Y,HZ(t0,X._currentRenderer,Z),X._currentRenderer!==void 0&&X._currentRenderer!==null&&X._currentRenderer!==o7&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),X._currentRenderer=o7}function wq(Z,X){Z._currentValue=r0.current;var Y=t0.current;WZ(t0,X),Z._currentRenderer=Y,WZ(r0,X)}function yF(Z,X,Y){for(;Z!==null;){var J=Z.alternate;if((Z.childLanes&X)!==X?(Z.childLanes|=X,J!==null&&(J.childLanes|=X)):J!==null&&(J.childLanes&X)!==X&&(J.childLanes|=X),Z===Y)break;Z=Z.return}Z!==Y&&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 vF(Z,X,Y,J){var G=Z.child;G!==null&&(G.return=Z);for(;G!==null;){var H=G.dependencies;if(H!==null){var U=G.child;H=H.firstContext;Z:for(;H!==null;){var B=H;H=G;for(var F=0;F<X.length;F++)if(B.context===X[F]){H.lanes|=Y,B=H.alternate,B!==null&&(B.lanes|=Y),yF(H.return,Y,Z),J||(U=null);break Z}H=B.next}}else if(G.tag===18){if(U=G.return,U===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");U.lanes|=Y,H=U.alternate,H!==null&&(H.lanes|=Y),yF(U,Y,Z),U=null}else U=G.child;if(U!==null)U.return=G;else for(U=G;U!==null;){if(U===Z){U=null;break}if(G=U.sibling,G!==null){G.return=U.return,U=G;break}U=U.return}G=U}}function nz(Z,X,Y,J){Z=null;for(var G=X,H=!1;G!==null;){if(!H){if((G.flags&524288)!==0)H=!0;else if((G.flags&262144)!==0)break}if(G.tag===10){var U=G.alternate;if(U===null)throw Error("Should have a current fiber. This is a bug in React.");if(U=U.memoizedProps,U!==null){var B=G.type;cY(G.pendingProps.value,U.value)||(Z!==null?Z.push(B):Z=[B])}}else if(G===ML.current){if(U=G.alternate,U===null)throw Error("Should have a current fiber. This is a bug in React.");U.memoizedState.memoizedState!==G.memoizedState.memoizedState&&(Z!==null?Z.push(UK):Z=[UK])}G=G.return}Z!==null&&vF(X,Z,Y,J),X.flags|=262144}function RB(Z){for(Z=Z.firstContext;Z!==null;){if(!cY(Z.context._currentValue,Z.memoizedValue))return!0;Z=Z.next}return!1}function PH(Z){xL=Z,V_=null,Z=Z.dependencies,Z!==null&&(Z.firstContext=null)}function kX(Z){return R_&&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()."),t8(xL,Z)}function jB(Z,X){return xL===null&&PH(Z),t8(Z,X)}function t8(Z,X){var Y=X._currentValue;if(X={context:X,memoizedValue:Y,next:null},V_===null){if(Z===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().");V_=X,Z.dependencies={lanes:0,firstContext:X,_debugThenableState:null},Z.flags|=524288}else V_=V_.next=X;return Y}function hF(){return{controller:new tS,data:new Map,refCount:0}}function DH(Z){Z.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),Z.refCount++}function nW(Z){Z.refCount--,0>Z.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),Z.refCount===0&&eS(ZE,function(){Z.controller.abort()})}function vJ(Z,X,Y){if((Z&127)!==0)0>Yq&&(Yq=tX(),yU=yL(X),e0=X,Y!=null&&(Z9=n(Y)),(zX&(_Y|$Q))!==AY&&(mX=!0,$G=xU),Z=LU(),X=BU(),Z!==j_||X!==vU?j_=-1.1:X!==null&&($G=xU),mH=Z,vU=X);else if((Z&4194048)!==0&&0>sQ&&(sQ=tX(),hU=yL(X),r7=X,Y!=null&&(t7=n(Y)),0>yq)){if(Z=LU(),X=BU(),Z!==EG||X!==fH)EG=-1.1;SG=Z,fH=X}}function ND(Z){if(0>Yq){Yq=tX(),yU=Z._debugTask!=null?Z._debugTask:null,(zX&(_Y|$Q))!==AY&&($G=xU);var X=LU(),Y=BU();X!==j_||Y!==vU?j_=-1.1:Y!==null&&($G=xU),mH=X,vU=Y}if(0>sQ&&(sQ=tX(),hU=Z._debugTask!=null?Z._debugTask:null,0>yq)){if(Z=LU(),X=BU(),Z!==EG||X!==fH)EG=-1.1;SG=Z,fH=X}}function Vq(){var Z=gH;return gH=0,Z}function CB(Z){var X=gH;return gH=Z,X}function sW(Z){var X=gH;return gH+=Z,X}function PB(){xZ=EZ=-1.1}function MQ(){var Z=EZ;return EZ=-1.1,Z}function NQ(Z){0<=Z&&(EZ=Z)}function hJ(){var Z=hX;return hX=-0,Z}function bJ(Z){0<=Z&&(hX=Z)}function gJ(){var Z=xX;return xX=null,Z}function mJ(){var Z=mX;return mX=!1,Z}function bF(Z){pY=tX(),0>Z.actualStartTime&&(Z.actualStartTime=pY)}function gF(Z){if(0<=pY){var X=tX()-pY;Z.actualDuration+=X,Z.selfBaseDuration=X,pY=-1}}function e8(Z){if(0<=pY){var X=tX()-pY;Z.actualDuration+=X,pY=-1}}function fJ(){if(0<=pY){var Z=tX(),X=Z-pY;pY=-1,gH+=X,hX+=X,xZ=Z}}function Z1(Z){xX===null&&(xX=[]),xX.push(Z),xq===null&&(xq=[]),xq.push(Z)}function uJ(){pY=tX(),0>EZ&&(EZ=pY)}function aW(Z){for(var X=Z.child;X;)Z.actualDuration+=X.actualDuration,X=X.sibling}function ID(Z,X){if(gU===null){var Y=gU=[];Y9=0,uH=nM(),C_={status:"pending",value:void 0,then:function(J){Y.push(J)}}}return Y9++,X.then(X1,X1),X}function X1(){if(--Y9===0&&(-1<sQ||(yq=-1.1),gU!==null)){C_!==null&&(C_.status="fulfilled");var Z=gU;gU=null,uH=0,C_=null;for(var X=0;X<Z.length;X++)(0,Z[X])()}}function TD(Z,X){var Y=[],J={status:"pending",value:null,reason:null,then:function(G){Y.push(G)}};return Z.then(function(){J.status="fulfilled",J.value=X;for(var G=0;G<Y.length;G++)(0,Y[G])(X)},function(G){J.status="rejected",J.reason=G;for(G=0;G<Y.length;G++)(0,Y[G])(void 0)}),J}function mF(){var Z=dH.current;return Z!==null?Z:RX.pooledCache}function DB(Z,X){X===null?HZ(dH,dH.current,Z):HZ(dH,X.pool,Z)}function Y1(){var Z=mF();return Z===null?null:{parent:rX._currentValue,pool:Z}}function Q1(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function J1(Z){return Z=Z.status,Z==="fulfilled"||Z==="rejected"}function q1(Z,X,Y){s.actQueue!==null&&(s.didUsePromise=!0);var J=Z.thenables;if(Y=J[Y],Y===void 0?J.push(X):Y!==X&&(Z.didWarnAboutUncachedPromise||(Z.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.")),X.then(Nq,Nq),X=Y),X._debugInfo===void 0){Z=performance.now(),J=X.displayName;var G={name:typeof J==="string"?J:"Promise",start:Z,end:Z,value:X};X._debugInfo=[{awaited:G}],X.status!=="fulfilled"&&X.status!=="rejected"&&(Z=function(){G.end=performance.now()},X.then(Z,Z))}switch(X.status){case"fulfilled":return X.value;case"rejected":throw Z=X.reason,H1(Z),Z;default:if(typeof X.status==="string")X.then(Nq,Nq);else{if(Z=RX,Z!==null&&100<Z.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.");Z=X,Z.status="pending",Z.then(function(H){if(X.status==="pending"){var U=X;U.status="fulfilled",U.value=H}},function(H){if(X.status==="pending"){var U=X;U.status="rejected",U.reason=H}})}switch(X.status){case"fulfilled":return X.value;case"rejected":throw Z=X.reason,H1(Z),Z}throw pH=X,lU=!0,P_}}function _G(Z){try{return JE(Z)}catch(X){if(X!==null&&typeof X==="object"&&typeof X.then==="function")throw pH=X,lU=!0,P_;throw X}}function G1(){if(pH===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var Z=pH;return pH=null,lU=!1,Z}function H1(Z){if(Z===P_||Z===dL)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 TY(Z){var X=nZ;return Z!=null&&(nZ=X===null?Z:X.concat(Z)),X}function fF(){var Z=nZ;if(Z!=null){for(var X=Z.length-1;0<=X;X--)if(Z[X].name!=null){var Y=Z[X].debugTask;if(Y!=null)return Y}}return null}function $B(Z,X,Y){for(var J=Object.keys(Z.props),G=0;G<J.length;G++){var H=J[G];if(H!=="children"&&H!=="key"){X===null&&(X=TB(Z,Y.mode,0),X._debugInfo=nZ,X.return=Y),UZ(X,function(U){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",U)},H);break}}}function SB(Z){var X=iU;return iU+=1,D_===null&&(D_=Q1()),q1(D_,Z,X)}function oW(Z,X){X=X.props.ref,Z.ref=X!==void 0?X:null}function z1(Z,X){if(X.$$typeof===b$)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
98
+ %s%s`,"https://react.dev/link/hydration-mismatch",X)})}}function VB(){V_=xL=null,R_=!1}function HG(Z,X,Y){zZ(r0,X._currentValue,Z),X._currentValue=Y,zZ(t0,X._currentRenderer,Z),X._currentRenderer!==void 0&&X._currentRenderer!==null&&X._currentRenderer!==o7&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),X._currentRenderer=o7}function wq(Z,X){Z._currentValue=r0.current;var Y=t0.current;WZ(t0,X),Z._currentRenderer=Y,WZ(r0,X)}function yF(Z,X,Y){for(;Z!==null;){var J=Z.alternate;if((Z.childLanes&X)!==X?(Z.childLanes|=X,J!==null&&(J.childLanes|=X)):J!==null&&(J.childLanes&X)!==X&&(J.childLanes|=X),Z===Y)break;Z=Z.return}Z!==Y&&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 vF(Z,X,Y,J){var G=Z.child;G!==null&&(G.return=Z);for(;G!==null;){var z=G.dependencies;if(z!==null){var U=G.child;z=z.firstContext;Z:for(;z!==null;){var B=z;z=G;for(var F=0;F<X.length;F++)if(B.context===X[F]){z.lanes|=Y,B=z.alternate,B!==null&&(B.lanes|=Y),yF(z.return,Y,Z),J||(U=null);break Z}z=B.next}}else if(G.tag===18){if(U=G.return,U===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");U.lanes|=Y,z=U.alternate,z!==null&&(z.lanes|=Y),yF(U,Y,Z),U=null}else U=G.child;if(U!==null)U.return=G;else for(U=G;U!==null;){if(U===Z){U=null;break}if(G=U.sibling,G!==null){G.return=U.return,U=G;break}U=U.return}G=U}}function nH(Z,X,Y,J){Z=null;for(var G=X,z=!1;G!==null;){if(!z){if((G.flags&524288)!==0)z=!0;else if((G.flags&262144)!==0)break}if(G.tag===10){var U=G.alternate;if(U===null)throw Error("Should have a current fiber. This is a bug in React.");if(U=U.memoizedProps,U!==null){var B=G.type;cY(G.pendingProps.value,U.value)||(Z!==null?Z.push(B):Z=[B])}}else if(G===ML.current){if(U=G.alternate,U===null)throw Error("Should have a current fiber. This is a bug in React.");U.memoizedState.memoizedState!==G.memoizedState.memoizedState&&(Z!==null?Z.push(UK):Z=[UK])}G=G.return}Z!==null&&vF(X,Z,Y,J),X.flags|=262144}function RB(Z){for(Z=Z.firstContext;Z!==null;){if(!cY(Z.context._currentValue,Z.memoizedValue))return!0;Z=Z.next}return!1}function Pz(Z){xL=Z,V_=null,Z=Z.dependencies,Z!==null&&(Z.firstContext=null)}function kX(Z){return R_&&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()."),t8(xL,Z)}function jB(Z,X){return xL===null&&Pz(Z),t8(Z,X)}function t8(Z,X){var Y=X._currentValue;if(X={context:X,memoizedValue:Y,next:null},V_===null){if(Z===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().");V_=X,Z.dependencies={lanes:0,firstContext:X,_debugThenableState:null},Z.flags|=524288}else V_=V_.next=X;return Y}function hF(){return{controller:new tS,data:new Map,refCount:0}}function Dz(Z){Z.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),Z.refCount++}function nW(Z){Z.refCount--,0>Z.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),Z.refCount===0&&eS(ZE,function(){Z.controller.abort()})}function vJ(Z,X,Y){if((Z&127)!==0)0>Yq&&(Yq=tX(),yU=yL(X),e0=X,Y!=null&&(Z9=n(Y)),(HX&(_Y|$Q))!==AY&&(mX=!0,$G=xU),Z=LU(),X=BU(),Z!==j_||X!==vU?j_=-1.1:X!==null&&($G=xU),mz=Z,vU=X);else if((Z&4194048)!==0&&0>sQ&&(sQ=tX(),hU=yL(X),r7=X,Y!=null&&(t7=n(Y)),0>yq)){if(Z=LU(),X=BU(),Z!==EG||X!==fz)EG=-1.1;SG=Z,fz=X}}function ND(Z){if(0>Yq){Yq=tX(),yU=Z._debugTask!=null?Z._debugTask:null,(HX&(_Y|$Q))!==AY&&($G=xU);var X=LU(),Y=BU();X!==j_||Y!==vU?j_=-1.1:Y!==null&&($G=xU),mz=X,vU=Y}if(0>sQ&&(sQ=tX(),hU=Z._debugTask!=null?Z._debugTask:null,0>yq)){if(Z=LU(),X=BU(),Z!==EG||X!==fz)EG=-1.1;SG=Z,fz=X}}function Vq(){var Z=gz;return gz=0,Z}function CB(Z){var X=gz;return gz=Z,X}function sW(Z){var X=gz;return gz+=Z,X}function PB(){xZ=EZ=-1.1}function MQ(){var Z=EZ;return EZ=-1.1,Z}function NQ(Z){0<=Z&&(EZ=Z)}function hJ(){var Z=hX;return hX=-0,Z}function bJ(Z){0<=Z&&(hX=Z)}function gJ(){var Z=xX;return xX=null,Z}function mJ(){var Z=mX;return mX=!1,Z}function bF(Z){pY=tX(),0>Z.actualStartTime&&(Z.actualStartTime=pY)}function gF(Z){if(0<=pY){var X=tX()-pY;Z.actualDuration+=X,Z.selfBaseDuration=X,pY=-1}}function e8(Z){if(0<=pY){var X=tX()-pY;Z.actualDuration+=X,pY=-1}}function fJ(){if(0<=pY){var Z=tX(),X=Z-pY;pY=-1,gz+=X,hX+=X,xZ=Z}}function Z1(Z){xX===null&&(xX=[]),xX.push(Z),xq===null&&(xq=[]),xq.push(Z)}function uJ(){pY=tX(),0>EZ&&(EZ=pY)}function aW(Z){for(var X=Z.child;X;)Z.actualDuration+=X.actualDuration,X=X.sibling}function ID(Z,X){if(gU===null){var Y=gU=[];Y9=0,uz=nM(),C_={status:"pending",value:void 0,then:function(J){Y.push(J)}}}return Y9++,X.then(X1,X1),X}function X1(){if(--Y9===0&&(-1<sQ||(yq=-1.1),gU!==null)){C_!==null&&(C_.status="fulfilled");var Z=gU;gU=null,uz=0,C_=null;for(var X=0;X<Z.length;X++)(0,Z[X])()}}function TD(Z,X){var Y=[],J={status:"pending",value:null,reason:null,then:function(G){Y.push(G)}};return Z.then(function(){J.status="fulfilled",J.value=X;for(var G=0;G<Y.length;G++)(0,Y[G])(X)},function(G){J.status="rejected",J.reason=G;for(G=0;G<Y.length;G++)(0,Y[G])(void 0)}),J}function mF(){var Z=dz.current;return Z!==null?Z:RX.pooledCache}function DB(Z,X){X===null?zZ(dz,dz.current,Z):zZ(dz,X.pool,Z)}function Y1(){var Z=mF();return Z===null?null:{parent:rX._currentValue,pool:Z}}function Q1(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function J1(Z){return Z=Z.status,Z==="fulfilled"||Z==="rejected"}function q1(Z,X,Y){s.actQueue!==null&&(s.didUsePromise=!0);var J=Z.thenables;if(Y=J[Y],Y===void 0?J.push(X):Y!==X&&(Z.didWarnAboutUncachedPromise||(Z.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.")),X.then(Nq,Nq),X=Y),X._debugInfo===void 0){Z=performance.now(),J=X.displayName;var G={name:typeof J==="string"?J:"Promise",start:Z,end:Z,value:X};X._debugInfo=[{awaited:G}],X.status!=="fulfilled"&&X.status!=="rejected"&&(Z=function(){G.end=performance.now()},X.then(Z,Z))}switch(X.status){case"fulfilled":return X.value;case"rejected":throw Z=X.reason,z1(Z),Z;default:if(typeof X.status==="string")X.then(Nq,Nq);else{if(Z=RX,Z!==null&&100<Z.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.");Z=X,Z.status="pending",Z.then(function(z){if(X.status==="pending"){var U=X;U.status="fulfilled",U.value=z}},function(z){if(X.status==="pending"){var U=X;U.status="rejected",U.reason=z}})}switch(X.status){case"fulfilled":return X.value;case"rejected":throw Z=X.reason,z1(Z),Z}throw pz=X,lU=!0,P_}}function _G(Z){try{return JE(Z)}catch(X){if(X!==null&&typeof X==="object"&&typeof X.then==="function")throw pz=X,lU=!0,P_;throw X}}function G1(){if(pz===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var Z=pz;return pz=null,lU=!1,Z}function z1(Z){if(Z===P_||Z===dL)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 wY(Z){var X=nZ;return Z!=null&&(nZ=X===null?Z:X.concat(Z)),X}function fF(){var Z=nZ;if(Z!=null){for(var X=Z.length-1;0<=X;X--)if(Z[X].name!=null){var Y=Z[X].debugTask;if(Y!=null)return Y}}return null}function $B(Z,X,Y){for(var J=Object.keys(Z.props),G=0;G<J.length;G++){var z=J[G];if(z!=="children"&&z!=="key"){X===null&&(X=TB(Z,Y.mode,0),X._debugInfo=nZ,X.return=Y),UZ(X,function(U){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",U)},z);break}}}function SB(Z){var X=iU;return iU+=1,D_===null&&(D_=Q1()),q1(D_,Z,X)}function oW(Z,X){X=X.props.ref,Z.ref=X!==void 0?X:null}function H1(Z,X){if(X.$$typeof===b$)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
99
99
  - Multiple copies of the "react" package is used.
100
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.`);throw Z=Object.prototype.toString.call(X),Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys(X).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.")}function EB(Z,X){var Y=fF();Y!==null?Y.run(z1.bind(null,Z,X)):z1(Z,X)}function _1(Z,X){var Y=n(Z)||"Component";MI[Y]||(MI[Y]=!0,X=X.displayName||X.name||"Component",Z.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.
101
+ - A compiler tries to "inline" JSX instead of using the runtime.`);throw Z=Object.prototype.toString.call(X),Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys(X).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.")}function EB(Z,X){var Y=fF();Y!==null?Y.run(H1.bind(null,Z,X)):H1(Z,X)}function _1(Z,X){var Y=n(Z)||"Component";MI[Y]||(MI[Y]=!0,X=X.displayName||X.name||"Component",Z.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
102
  root.render(%s)`,X,X,X):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
103
  <%s>{%s}</%s>`,X,X,Y,X,Y))}function kB(Z,X){var Y=fF();Y!==null?Y.run(_1.bind(null,Z,X)):_1(Z,X)}function W1(Z,X){var Y=n(Z)||"Component";NI[Y]||(NI[Y]=!0,X=String(X),Z.tag===3?console.error(`Symbols are not valid as a React child.
104
104
  root.render(%s)`,X):console.error(`Symbols are not valid as a React child.
105
- <%s>%s</%s>`,Y,X,Y))}function xB(Z,X){var Y=fF();Y!==null?Y.run(W1.bind(null,Z,X)):W1(Z,X)}function U1(Z){function X(D,S){if(Z){var k=D.deletions;k===null?(D.deletions=[S],D.flags|=16):k.push(S)}}function Y(D,S){if(!Z)return null;for(;S!==null;)X(D,S),S=S.sibling;return null}function J(D){for(var S=new Map;D!==null;)D.key!==null?S.set(D.key,D):S.set(D.index,D),D=D.sibling;return S}function G(D,S){return D=Iq(D,S),D.index=0,D.sibling=null,D}function H(D,S,k){if(D.index=k,!Z)return D.flags|=1048576,S;if(k=D.alternate,k!==null)return k=k.index,k<S?(D.flags|=67108866,S):k;return D.flags|=67108866,S}function U(D){return Z&&D.alternate===null&&(D.flags|=67108866),D}function B(D,S,k,r){if(S===null||S.tag!==6)return S=DF(k,D.mode,r),S.return=D,S._debugOwner=D,S._debugTask=D._debugTask,S._debugInfo=nZ,S;return S=G(S,k),S.return=D,S._debugInfo=nZ,S}function F(D,S,k,r){var _Z=k.type;if(_Z===z_)return S=x(D,S,k.props.children,r,k.key),$B(k,S,D),S;if(S!==null&&(S.elementType===_Z||u8(S,k)||typeof _Z==="object"&&_Z!==null&&_Z.$$typeof===VQ&&_G(_Z)===S.type))return S=G(S,k.props),oW(S,k),S.return=D,S._debugOwner=k._owner,S._debugInfo=nZ,S;return S=TB(k,D.mode,r),oW(S,k),S.return=D,S._debugInfo=nZ,S}function T(D,S,k,r){if(S===null||S.tag!==4||S.stateNode.containerInfo!==k.containerInfo||S.stateNode.implementation!==k.implementation)return S=$F(k,D.mode,r),S.return=D,S._debugInfo=nZ,S;return S=G(S,k.children||[]),S.return=D,S._debugInfo=nZ,S}function x(D,S,k,r,_Z){if(S===null||S.tag!==7)return S=RH(k,D.mode,r,_Z),S.return=D,S._debugOwner=D,S._debugTask=D._debugTask,S._debugInfo=nZ,S;return S=G(S,k),S.return=D,S._debugInfo=nZ,S}function y(D,S,k){if(typeof S==="string"&&S!==""||typeof S==="number"||typeof S==="bigint")return S=DF(""+S,D.mode,k),S.return=D,S._debugOwner=D,S._debugTask=D._debugTask,S._debugInfo=nZ,S;if(typeof S==="object"&&S!==null){switch(S.$$typeof){case sJ:return k=TB(S,D.mode,k),oW(k,S),k.return=D,D=TY(S._debugInfo),k._debugInfo=nZ,nZ=D,k;case H_:return S=$F(S,D.mode,k),S.return=D,S._debugInfo=nZ,S;case VQ:var r=TY(S._debugInfo);return S=_G(S),D=y(D,S,k),nZ=r,D}if(HY(S)||JZ(S))return k=RH(S,D.mode,k,null),k.return=D,k._debugOwner=D,k._debugTask=D._debugTask,D=TY(S._debugInfo),k._debugInfo=nZ,nZ=D,k;if(typeof S.then==="function")return r=TY(S._debugInfo),D=y(D,SB(S),k),nZ=r,D;if(S.$$typeof===aJ)return y(D,jB(D,S),k);EB(D,S)}return typeof S==="function"&&kB(D,S),typeof S==="symbol"&&xB(D,S),null}function $(D,S,k,r){var _Z=S!==null?S.key:null;if(typeof k==="string"&&k!==""||typeof k==="number"||typeof k==="bigint")return _Z!==null?null:B(D,S,""+k,r);if(typeof k==="object"&&k!==null){switch(k.$$typeof){case sJ:return k.key===_Z?(_Z=TY(k._debugInfo),D=F(D,S,k,r),nZ=_Z,D):null;case H_:return k.key===_Z?T(D,S,k,r):null;case VQ:return _Z=TY(k._debugInfo),k=_G(k),D=$(D,S,k,r),nZ=_Z,D}if(HY(k)||JZ(k)){if(_Z!==null)return null;return _Z=TY(k._debugInfo),D=x(D,S,k,r,null),nZ=_Z,D}if(typeof k.then==="function")return _Z=TY(k._debugInfo),D=$(D,S,SB(k),r),nZ=_Z,D;if(k.$$typeof===aJ)return $(D,S,jB(D,k),r);EB(D,k)}return typeof k==="function"&&kB(D,k),typeof k==="symbol"&&xB(D,k),null}function c(D,S,k,r,_Z){if(typeof r==="string"&&r!==""||typeof r==="number"||typeof r==="bigint")return D=D.get(k)||null,B(S,D,""+r,_Z);if(typeof r==="object"&&r!==null){switch(r.$$typeof){case sJ:return k=D.get(r.key===null?k:r.key)||null,D=TY(r._debugInfo),S=F(S,k,r,_Z),nZ=D,S;case H_:return D=D.get(r.key===null?k:r.key)||null,T(S,D,r,_Z);case VQ:var gZ=TY(r._debugInfo);return r=_G(r),S=c(D,S,k,r,_Z),nZ=gZ,S}if(HY(r)||JZ(r))return k=D.get(k)||null,D=TY(r._debugInfo),S=x(S,k,r,_Z,null),nZ=D,S;if(typeof r.then==="function")return gZ=TY(r._debugInfo),S=c(D,S,k,SB(r),_Z),nZ=gZ,S;if(r.$$typeof===aJ)return c(D,S,k,jB(S,r),_Z);EB(S,r)}return typeof r==="function"&&kB(S,r),typeof r==="symbol"&&xB(S,r),null}function GZ(D,S,k,r){if(typeof k!=="object"||k===null)return r;switch(k.$$typeof){case sJ:case H_:N(D,S,k);var _Z=k.key;if(typeof _Z!=="string")break;if(r===null){r=new Set,r.add(_Z);break}if(!r.has(_Z)){r.add(_Z);break}UZ(S,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.",_Z)});break;case VQ:k=_G(k),GZ(D,S,k,r)}return r}function BZ(D,S,k,r){for(var _Z=null,gZ=null,DZ=null,jZ=S,pZ=S=0,SX=null;jZ!==null&&pZ<k.length;pZ++){jZ.index>pZ?(SX=jZ,jZ=null):SX=jZ.sibling;var sX=$(D,jZ,k[pZ],r);if(sX===null){jZ===null&&(jZ=SX);break}_Z=GZ(D,sX,k[pZ],_Z),Z&&jZ&&sX.alternate===null&&X(D,jZ),S=H(sX,S,pZ),DZ===null?gZ=sX:DZ.sibling=sX,DZ=sX,jZ=SX}if(pZ===k.length)return Y(D,jZ),QX&&Tq(D,pZ),gZ;if(jZ===null){for(;pZ<k.length;pZ++)jZ=y(D,k[pZ],r),jZ!==null&&(_Z=GZ(D,jZ,k[pZ],_Z),S=H(jZ,S,pZ),DZ===null?gZ=jZ:DZ.sibling=jZ,DZ=jZ);return QX&&Tq(D,pZ),gZ}for(jZ=J(jZ);pZ<k.length;pZ++)SX=c(jZ,D,pZ,k[pZ],r),SX!==null&&(_Z=GZ(D,SX,k[pZ],_Z),Z&&SX.alternate!==null&&jZ.delete(SX.key===null?pZ:SX.key),S=H(SX,S,pZ),DZ===null?gZ=SX:DZ.sibling=SX,DZ=SX);return Z&&jZ.forEach(function(cq){return X(D,cq)}),QX&&Tq(D,pZ),gZ}function PX(D,S,k,r){if(k==null)throw Error("An iterable object provided no iterator.");for(var _Z=null,gZ=null,DZ=S,jZ=S=0,pZ=null,SX=null,sX=k.next();DZ!==null&&!sX.done;jZ++,sX=k.next()){DZ.index>jZ?(pZ=DZ,DZ=null):pZ=DZ.sibling;var cq=$(D,DZ,sX.value,r);if(cq===null){DZ===null&&(DZ=pZ);break}SX=GZ(D,cq,sX.value,SX),Z&&DZ&&cq.alternate===null&&X(D,DZ),S=H(cq,S,jZ),gZ===null?_Z=cq:gZ.sibling=cq,gZ=cq,DZ=pZ}if(sX.done)return Y(D,DZ),QX&&Tq(D,jZ),_Z;if(DZ===null){for(;!sX.done;jZ++,sX=k.next())DZ=y(D,sX.value,r),DZ!==null&&(SX=GZ(D,DZ,sX.value,SX),S=H(DZ,S,jZ),gZ===null?_Z=DZ:gZ.sibling=DZ,gZ=DZ);return QX&&Tq(D,jZ),_Z}for(DZ=J(DZ);!sX.done;jZ++,sX=k.next())pZ=c(DZ,D,jZ,sX.value,r),pZ!==null&&(SX=GZ(D,pZ,sX.value,SX),Z&&pZ.alternate!==null&&DZ.delete(pZ.key===null?jZ:pZ.key),S=H(pZ,S,jZ),gZ===null?_Z=pZ:gZ.sibling=pZ,gZ=pZ);return Z&&DZ.forEach(function(DE){return X(D,DE)}),QX&&Tq(D,jZ),_Z}function GX(D,S,k,r){if(typeof k==="object"&&k!==null&&k.type===z_&&k.key===null&&($B(k,null,D),k=k.props.children),typeof k==="object"&&k!==null){switch(k.$$typeof){case sJ:var _Z=TY(k._debugInfo);Z:{for(var gZ=k.key;S!==null;){if(S.key===gZ){if(gZ=k.type,gZ===z_){if(S.tag===7){Y(D,S.sibling),r=G(S,k.props.children),r.return=D,r._debugOwner=k._owner,r._debugInfo=nZ,$B(k,r,D),D=r;break Z}}else if(S.elementType===gZ||u8(S,k)||typeof gZ==="object"&&gZ!==null&&gZ.$$typeof===VQ&&_G(gZ)===S.type){Y(D,S.sibling),r=G(S,k.props),oW(r,k),r.return=D,r._debugOwner=k._owner,r._debugInfo=nZ,D=r;break Z}Y(D,S);break}else X(D,S);S=S.sibling}k.type===z_?(r=RH(k.props.children,D.mode,r,k.key),r.return=D,r._debugOwner=D,r._debugTask=D._debugTask,r._debugInfo=nZ,$B(k,r,D),D=r):(r=TB(k,D.mode,r),oW(r,k),r.return=D,r._debugInfo=nZ,D=r)}return D=U(D),nZ=_Z,D;case H_:Z:{_Z=k;for(k=_Z.key;S!==null;){if(S.key===k)if(S.tag===4&&S.stateNode.containerInfo===_Z.containerInfo&&S.stateNode.implementation===_Z.implementation){Y(D,S.sibling),r=G(S,_Z.children||[]),r.return=D,D=r;break Z}else{Y(D,S);break}else X(D,S);S=S.sibling}r=$F(_Z,D.mode,r),r.return=D,D=r}return U(D);case VQ:return _Z=TY(k._debugInfo),k=_G(k),D=GX(D,S,k,r),nZ=_Z,D}if(HY(k))return _Z=TY(k._debugInfo),D=BZ(D,S,k,r),nZ=_Z,D;if(JZ(k)){if(_Z=TY(k._debugInfo),gZ=JZ(k),typeof gZ!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var DZ=gZ.call(k);if(DZ===k){if(D.tag!==0||Object.prototype.toString.call(D.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(DZ)!=="[object Generator]")OI||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."),OI=!0}else k.entries!==gZ||G9||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),G9=!0);return D=PX(D,S,DZ,r),nZ=_Z,D}if(typeof k.then==="function")return _Z=TY(k._debugInfo),D=GX(D,S,SB(k),r),nZ=_Z,D;if(k.$$typeof===aJ)return GX(D,S,jB(D,k),r);EB(D,k)}if(typeof k==="string"&&k!==""||typeof k==="number"||typeof k==="bigint")return _Z=""+k,S!==null&&S.tag===6?(Y(D,S.sibling),r=G(S,_Z),r.return=D,D=r):(Y(D,S),r=DF(_Z,D.mode,r),r.return=D,r._debugOwner=D,r._debugTask=D._debugTask,r._debugInfo=nZ,D=r),U(D);return typeof k==="function"&&kB(D,k),typeof k==="symbol"&&xB(D,k),Y(D,S)}return function(D,S,k,r){var _Z=nZ;nZ=null;try{iU=0;var gZ=GX(D,S,k,r);return D_=null,gZ}catch(SX){if(SX===P_||SX===dL)throw SX;var DZ=R(29,SX,null,D.mode);DZ.lanes=r,DZ.return=D;var jZ=DZ._debugInfo=nZ;if(DZ._debugOwner=D._debugOwner,DZ._debugTask=D._debugTask,jZ!=null){for(var pZ=jZ.length-1;0<=pZ;pZ--)if(typeof jZ[pZ].stack==="string"){DZ._debugOwner=jZ[pZ],DZ._debugTask=jZ[pZ].debugTask;break}}return DZ}finally{nZ=_Z}}}function K1(Z,X){var Y=HY(Z);return Z=!Y&&typeof JZ(Z)==="function",Y||Z?(Y=Y?"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>",Y,X,Y),!1):!0}function uF(Z){Z.updateQueue={baseState:Z.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function dF(Z,X){Z=Z.updateQueue,X.updateQueue===Z&&(X.updateQueue={baseState:Z.baseState,firstBaseUpdate:Z.firstBaseUpdate,lastBaseUpdate:Z.lastBaseUpdate,shared:Z.shared,callbacks:null})}function WG(Z){return{lane:Z,tag:TI,payload:null,callback:null,next:null}}function UG(Z,X,Y){var J=Z.updateQueue;if(J===null)return null;if(J=J.shared,z9===J&&!RI){var G=n(Z);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.
105
+ <%s>%s</%s>`,Y,X,Y))}function xB(Z,X){var Y=fF();Y!==null?Y.run(W1.bind(null,Z,X)):W1(Z,X)}function U1(Z){function X(D,S){if(Z){var k=D.deletions;k===null?(D.deletions=[S],D.flags|=16):k.push(S)}}function Y(D,S){if(!Z)return null;for(;S!==null;)X(D,S),S=S.sibling;return null}function J(D){for(var S=new Map;D!==null;)D.key!==null?S.set(D.key,D):S.set(D.index,D),D=D.sibling;return S}function G(D,S){return D=Iq(D,S),D.index=0,D.sibling=null,D}function z(D,S,k){if(D.index=k,!Z)return D.flags|=1048576,S;if(k=D.alternate,k!==null)return k=k.index,k<S?(D.flags|=67108866,S):k;return D.flags|=67108866,S}function U(D){return Z&&D.alternate===null&&(D.flags|=67108866),D}function B(D,S,k,r){if(S===null||S.tag!==6)return S=DF(k,D.mode,r),S.return=D,S._debugOwner=D,S._debugTask=D._debugTask,S._debugInfo=nZ,S;return S=G(S,k),S.return=D,S._debugInfo=nZ,S}function F(D,S,k,r){var _Z=k.type;if(_Z===H_)return S=x(D,S,k.props.children,r,k.key),$B(k,S,D),S;if(S!==null&&(S.elementType===_Z||u8(S,k)||typeof _Z==="object"&&_Z!==null&&_Z.$$typeof===VQ&&_G(_Z)===S.type))return S=G(S,k.props),oW(S,k),S.return=D,S._debugOwner=k._owner,S._debugInfo=nZ,S;return S=TB(k,D.mode,r),oW(S,k),S.return=D,S._debugInfo=nZ,S}function T(D,S,k,r){if(S===null||S.tag!==4||S.stateNode.containerInfo!==k.containerInfo||S.stateNode.implementation!==k.implementation)return S=$F(k,D.mode,r),S.return=D,S._debugInfo=nZ,S;return S=G(S,k.children||[]),S.return=D,S._debugInfo=nZ,S}function x(D,S,k,r,_Z){if(S===null||S.tag!==7)return S=Rz(k,D.mode,r,_Z),S.return=D,S._debugOwner=D,S._debugTask=D._debugTask,S._debugInfo=nZ,S;return S=G(S,k),S.return=D,S._debugInfo=nZ,S}function y(D,S,k){if(typeof S==="string"&&S!==""||typeof S==="number"||typeof S==="bigint")return S=DF(""+S,D.mode,k),S.return=D,S._debugOwner=D,S._debugTask=D._debugTask,S._debugInfo=nZ,S;if(typeof S==="object"&&S!==null){switch(S.$$typeof){case sJ:return k=TB(S,D.mode,k),oW(k,S),k.return=D,D=wY(S._debugInfo),k._debugInfo=nZ,nZ=D,k;case z_:return S=$F(S,D.mode,k),S.return=D,S._debugInfo=nZ,S;case VQ:var r=wY(S._debugInfo);return S=_G(S),D=y(D,S,k),nZ=r,D}if(zY(S)||JZ(S))return k=Rz(S,D.mode,k,null),k.return=D,k._debugOwner=D,k._debugTask=D._debugTask,D=wY(S._debugInfo),k._debugInfo=nZ,nZ=D,k;if(typeof S.then==="function")return r=wY(S._debugInfo),D=y(D,SB(S),k),nZ=r,D;if(S.$$typeof===aJ)return y(D,jB(D,S),k);EB(D,S)}return typeof S==="function"&&kB(D,S),typeof S==="symbol"&&xB(D,S),null}function $(D,S,k,r){var _Z=S!==null?S.key:null;if(typeof k==="string"&&k!==""||typeof k==="number"||typeof k==="bigint")return _Z!==null?null:B(D,S,""+k,r);if(typeof k==="object"&&k!==null){switch(k.$$typeof){case sJ:return k.key===_Z?(_Z=wY(k._debugInfo),D=F(D,S,k,r),nZ=_Z,D):null;case z_:return k.key===_Z?T(D,S,k,r):null;case VQ:return _Z=wY(k._debugInfo),k=_G(k),D=$(D,S,k,r),nZ=_Z,D}if(zY(k)||JZ(k)){if(_Z!==null)return null;return _Z=wY(k._debugInfo),D=x(D,S,k,r,null),nZ=_Z,D}if(typeof k.then==="function")return _Z=wY(k._debugInfo),D=$(D,S,SB(k),r),nZ=_Z,D;if(k.$$typeof===aJ)return $(D,S,jB(D,k),r);EB(D,k)}return typeof k==="function"&&kB(D,k),typeof k==="symbol"&&xB(D,k),null}function c(D,S,k,r,_Z){if(typeof r==="string"&&r!==""||typeof r==="number"||typeof r==="bigint")return D=D.get(k)||null,B(S,D,""+r,_Z);if(typeof r==="object"&&r!==null){switch(r.$$typeof){case sJ:return k=D.get(r.key===null?k:r.key)||null,D=wY(r._debugInfo),S=F(S,k,r,_Z),nZ=D,S;case z_:return D=D.get(r.key===null?k:r.key)||null,T(S,D,r,_Z);case VQ:var gZ=wY(r._debugInfo);return r=_G(r),S=c(D,S,k,r,_Z),nZ=gZ,S}if(zY(r)||JZ(r))return k=D.get(k)||null,D=wY(r._debugInfo),S=x(S,k,r,_Z,null),nZ=D,S;if(typeof r.then==="function")return gZ=wY(r._debugInfo),S=c(D,S,k,SB(r),_Z),nZ=gZ,S;if(r.$$typeof===aJ)return c(D,S,k,jB(S,r),_Z);EB(S,r)}return typeof r==="function"&&kB(S,r),typeof r==="symbol"&&xB(S,r),null}function GZ(D,S,k,r){if(typeof k!=="object"||k===null)return r;switch(k.$$typeof){case sJ:case z_:N(D,S,k);var _Z=k.key;if(typeof _Z!=="string")break;if(r===null){r=new Set,r.add(_Z);break}if(!r.has(_Z)){r.add(_Z);break}UZ(S,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.",_Z)});break;case VQ:k=_G(k),GZ(D,S,k,r)}return r}function BZ(D,S,k,r){for(var _Z=null,gZ=null,DZ=null,jZ=S,pZ=S=0,SX=null;jZ!==null&&pZ<k.length;pZ++){jZ.index>pZ?(SX=jZ,jZ=null):SX=jZ.sibling;var sX=$(D,jZ,k[pZ],r);if(sX===null){jZ===null&&(jZ=SX);break}_Z=GZ(D,sX,k[pZ],_Z),Z&&jZ&&sX.alternate===null&&X(D,jZ),S=z(sX,S,pZ),DZ===null?gZ=sX:DZ.sibling=sX,DZ=sX,jZ=SX}if(pZ===k.length)return Y(D,jZ),QX&&Tq(D,pZ),gZ;if(jZ===null){for(;pZ<k.length;pZ++)jZ=y(D,k[pZ],r),jZ!==null&&(_Z=GZ(D,jZ,k[pZ],_Z),S=z(jZ,S,pZ),DZ===null?gZ=jZ:DZ.sibling=jZ,DZ=jZ);return QX&&Tq(D,pZ),gZ}for(jZ=J(jZ);pZ<k.length;pZ++)SX=c(jZ,D,pZ,k[pZ],r),SX!==null&&(_Z=GZ(D,SX,k[pZ],_Z),Z&&SX.alternate!==null&&jZ.delete(SX.key===null?pZ:SX.key),S=z(SX,S,pZ),DZ===null?gZ=SX:DZ.sibling=SX,DZ=SX);return Z&&jZ.forEach(function(cq){return X(D,cq)}),QX&&Tq(D,pZ),gZ}function PX(D,S,k,r){if(k==null)throw Error("An iterable object provided no iterator.");for(var _Z=null,gZ=null,DZ=S,jZ=S=0,pZ=null,SX=null,sX=k.next();DZ!==null&&!sX.done;jZ++,sX=k.next()){DZ.index>jZ?(pZ=DZ,DZ=null):pZ=DZ.sibling;var cq=$(D,DZ,sX.value,r);if(cq===null){DZ===null&&(DZ=pZ);break}SX=GZ(D,cq,sX.value,SX),Z&&DZ&&cq.alternate===null&&X(D,DZ),S=z(cq,S,jZ),gZ===null?_Z=cq:gZ.sibling=cq,gZ=cq,DZ=pZ}if(sX.done)return Y(D,DZ),QX&&Tq(D,jZ),_Z;if(DZ===null){for(;!sX.done;jZ++,sX=k.next())DZ=y(D,sX.value,r),DZ!==null&&(SX=GZ(D,DZ,sX.value,SX),S=z(DZ,S,jZ),gZ===null?_Z=DZ:gZ.sibling=DZ,gZ=DZ);return QX&&Tq(D,jZ),_Z}for(DZ=J(DZ);!sX.done;jZ++,sX=k.next())pZ=c(DZ,D,jZ,sX.value,r),pZ!==null&&(SX=GZ(D,pZ,sX.value,SX),Z&&pZ.alternate!==null&&DZ.delete(pZ.key===null?jZ:pZ.key),S=z(pZ,S,jZ),gZ===null?_Z=pZ:gZ.sibling=pZ,gZ=pZ);return Z&&DZ.forEach(function(DE){return X(D,DE)}),QX&&Tq(D,jZ),_Z}function GX(D,S,k,r){if(typeof k==="object"&&k!==null&&k.type===H_&&k.key===null&&($B(k,null,D),k=k.props.children),typeof k==="object"&&k!==null){switch(k.$$typeof){case sJ:var _Z=wY(k._debugInfo);Z:{for(var gZ=k.key;S!==null;){if(S.key===gZ){if(gZ=k.type,gZ===H_){if(S.tag===7){Y(D,S.sibling),r=G(S,k.props.children),r.return=D,r._debugOwner=k._owner,r._debugInfo=nZ,$B(k,r,D),D=r;break Z}}else if(S.elementType===gZ||u8(S,k)||typeof gZ==="object"&&gZ!==null&&gZ.$$typeof===VQ&&_G(gZ)===S.type){Y(D,S.sibling),r=G(S,k.props),oW(r,k),r.return=D,r._debugOwner=k._owner,r._debugInfo=nZ,D=r;break Z}Y(D,S);break}else X(D,S);S=S.sibling}k.type===H_?(r=Rz(k.props.children,D.mode,r,k.key),r.return=D,r._debugOwner=D,r._debugTask=D._debugTask,r._debugInfo=nZ,$B(k,r,D),D=r):(r=TB(k,D.mode,r),oW(r,k),r.return=D,r._debugInfo=nZ,D=r)}return D=U(D),nZ=_Z,D;case z_:Z:{_Z=k;for(k=_Z.key;S!==null;){if(S.key===k)if(S.tag===4&&S.stateNode.containerInfo===_Z.containerInfo&&S.stateNode.implementation===_Z.implementation){Y(D,S.sibling),r=G(S,_Z.children||[]),r.return=D,D=r;break Z}else{Y(D,S);break}else X(D,S);S=S.sibling}r=$F(_Z,D.mode,r),r.return=D,D=r}return U(D);case VQ:return _Z=wY(k._debugInfo),k=_G(k),D=GX(D,S,k,r),nZ=_Z,D}if(zY(k))return _Z=wY(k._debugInfo),D=BZ(D,S,k,r),nZ=_Z,D;if(JZ(k)){if(_Z=wY(k._debugInfo),gZ=JZ(k),typeof gZ!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var DZ=gZ.call(k);if(DZ===k){if(D.tag!==0||Object.prototype.toString.call(D.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(DZ)!=="[object Generator]")OI||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."),OI=!0}else k.entries!==gZ||G9||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),G9=!0);return D=PX(D,S,DZ,r),nZ=_Z,D}if(typeof k.then==="function")return _Z=wY(k._debugInfo),D=GX(D,S,SB(k),r),nZ=_Z,D;if(k.$$typeof===aJ)return GX(D,S,jB(D,k),r);EB(D,k)}if(typeof k==="string"&&k!==""||typeof k==="number"||typeof k==="bigint")return _Z=""+k,S!==null&&S.tag===6?(Y(D,S.sibling),r=G(S,_Z),r.return=D,D=r):(Y(D,S),r=DF(_Z,D.mode,r),r.return=D,r._debugOwner=D,r._debugTask=D._debugTask,r._debugInfo=nZ,D=r),U(D);return typeof k==="function"&&kB(D,k),typeof k==="symbol"&&xB(D,k),Y(D,S)}return function(D,S,k,r){var _Z=nZ;nZ=null;try{iU=0;var gZ=GX(D,S,k,r);return D_=null,gZ}catch(SX){if(SX===P_||SX===dL)throw SX;var DZ=R(29,SX,null,D.mode);DZ.lanes=r,DZ.return=D;var jZ=DZ._debugInfo=nZ;if(DZ._debugOwner=D._debugOwner,DZ._debugTask=D._debugTask,jZ!=null){for(var pZ=jZ.length-1;0<=pZ;pZ--)if(typeof jZ[pZ].stack==="string"){DZ._debugOwner=jZ[pZ],DZ._debugTask=jZ[pZ].debugTask;break}}return DZ}finally{nZ=_Z}}}function K1(Z,X){var Y=zY(Z);return Z=!Y&&typeof JZ(Z)==="function",Y||Z?(Y=Y?"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>",Y,X,Y),!1):!0}function uF(Z){Z.updateQueue={baseState:Z.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function dF(Z,X){Z=Z.updateQueue,X.updateQueue===Z&&(X.updateQueue={baseState:Z.baseState,firstBaseUpdate:Z.firstBaseUpdate,lastBaseUpdate:Z.lastBaseUpdate,shared:Z.shared,callbacks:null})}function WG(Z){return{lane:Z,tag:TI,payload:null,callback:null,next:null}}function UG(Z,X,Y){var J=Z.updateQueue;if(J===null)return null;if(J=J.shared,H9===J&&!RI){var G=n(Z);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
106
 
107
- Please update the following component: %s`,G),RI=!0}if((zX&_Y)!==AY)return G=J.pending,G===null?X.next=X:(X.next=G.next,G.next=X),J.pending=X,X=IB(Z),f8(Z,null,Y),X;return NB(Z,J,X,Y),IB(Z)}function rW(Z,X,Y){if(X=X.updateQueue,X!==null&&(X=X.shared,(Y&4194048)!==0)){var J=X.lanes;J&=Z.pendingLanes,Y|=J,X.lanes=Y,FH(Z,Y)}}function yB(Z,X){var{updateQueue:Y,alternate:J}=Z;if(J!==null&&(J=J.updateQueue,Y===J)){var G=null,H=null;if(Y=Y.firstBaseUpdate,Y!==null){do{var U={lane:Y.lane,tag:Y.tag,payload:Y.payload,callback:null,next:null};H===null?G=H=U:H=H.next=U,Y=Y.next}while(Y!==null);H===null?G=H=X:H=H.next=X}else G=H=X;Y={baseState:J.baseState,firstBaseUpdate:G,lastBaseUpdate:H,shared:J.shared,callbacks:J.callbacks},Z.updateQueue=Y;return}Z=Y.lastBaseUpdate,Z===null?Y.firstBaseUpdate=X:Z.next=X,Y.lastBaseUpdate=X}function tW(){if(_9){var Z=C_;if(Z!==null)throw Z}}function eW(Z,X,Y,J){_9=!1;var G=Z.updateQueue;kG=!1,z9=G.shared;var{firstBaseUpdate:H,lastBaseUpdate:U}=G,B=G.shared.pending;if(B!==null){G.shared.pending=null;var F=B,T=F.next;F.next=null,U===null?H=T:U.next=T,U=F;var x=Z.alternate;x!==null&&(x=x.updateQueue,B=x.lastBaseUpdate,B!==U&&(B===null?x.firstBaseUpdate=T:B.next=T,x.lastBaseUpdate=F))}if(H!==null){var y=G.baseState;U=0,x=T=F=null,B=H;do{var $=B.lane&-536870913,c=$!==B.lane;if(c?(sZ&$)===$:(J&$)===$){$!==0&&$===uH&&(_9=!0),x!==null&&(x=x.next={lane:0,tag:B.tag,payload:B.payload,callback:null,next:null});Z:{$=Z;var GZ=B,BZ=X,PX=Y;switch(GZ.tag){case wI:if(GZ=GZ.payload,typeof GZ==="function"){R_=!0;var GX=GZ.call(PX,y,BZ);if($.mode&gY){jX(!0);try{GZ.call(PX,y,BZ)}finally{jX(!1)}}R_=!1,y=GX;break Z}y=GZ;break Z;case H9:$.flags=$.flags&-65537|128;case TI:if(GX=GZ.payload,typeof GX==="function"){if(R_=!0,GZ=GX.call(PX,y,BZ),$.mode&gY){jX(!0);try{GX.call(PX,y,BZ)}finally{jX(!1)}}R_=!1}else GZ=GX;if(GZ===null||GZ===void 0)break Z;y=rZ({},y,GZ);break Z;case VI:kG=!0}}$=B.callback,$!==null&&(Z.flags|=64,c&&(Z.flags|=8192),c=G.callbacks,c===null?G.callbacks=[$]:c.push($))}else c={lane:$,tag:B.tag,payload:B.payload,callback:B.callback,next:null},x===null?(T=x=c,F=y):x=x.next=c,U|=$;if(B=B.next,B===null)if(B=G.shared.pending,B===null)break;else c=B,B=c.next,c.next=null,G.lastBaseUpdate=c,G.shared.pending=null}while(1);x===null&&(F=y),G.baseState=F,G.firstBaseUpdate=T,G.lastBaseUpdate=x,H===null&&(G.shared.lanes=0),vG|=U,Z.lanes=U,Z.memoizedState=y}z9=null}function B1(Z,X){if(typeof Z!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+Z);Z.call(X)}function wD(Z,X){var Y=Z.shared.hiddenCallbacks;if(Y!==null)for(Z.shared.hiddenCallbacks=null,Z=0;Z<Y.length;Z++)B1(Y[Z],X)}function L1(Z,X){var Y=Z.callbacks;if(Y!==null)for(Z.callbacks=null,Z=0;Z<Y.length;Z++)B1(Y[Z],X)}function A1(Z,X){var Y=qq;HZ(pL,Y,Z),HZ($_,X,Z),qq=Y|X.baseLanes}function cF(Z){HZ(pL,qq,Z),HZ($_,$_.current,Z)}function pF(Z){qq=pL.current,WZ($_,Z),WZ(pL,Z)}function KG(Z){var X=Z.alternate;HZ(nX,nX.current&S_,Z),HZ(PQ,Z,Z),aQ===null&&(X===null||$_.current!==null?aQ=Z:X.memoizedState!==null&&(aQ=Z))}function lF(Z){HZ(nX,nX.current,Z),HZ(PQ,Z,Z),aQ===null&&(aQ=Z)}function O1(Z){Z.tag===22?(HZ(nX,nX.current,Z),HZ(PQ,Z,Z),aQ===null&&(aQ=Z)):BG(Z)}function BG(Z){HZ(nX,nX.current,Z),HZ(PQ,PQ.current,Z)}function IQ(Z){WZ(PQ,Z),aQ===Z&&(aQ=null),WZ(nX,Z)}function vB(Z){for(var X=Z;X!==null;){if(X.tag===13){var Y=X.memoizedState;if(Y!==null&&(Y=Y.dehydrated,Y===null||J0(Y)||q0(Y)))return X}else if(X.tag===19&&(X.memoizedProps.revealOrder==="forwards"||X.memoizedProps.revealOrder==="backwards"||X.memoizedProps.revealOrder==="unstable_legacy-backwards"||X.memoizedProps.revealOrder==="together")){if((X.flags&128)!==0)return X}else if(X.child!==null){X.child.return=X,X=X.child;continue}if(X===Z)break;for(;X.sibling===null;){if(X.return===null||X.return===Z)return null;X=X.return}X.sibling.return=X.return,X=X.sibling}return null}function oZ(){var Z=i;rQ===null?rQ=[Z]:rQ.push(Z)}function XZ(){var Z=i;if(rQ!==null&&(gq++,rQ[gq]!==Z)){var X=n(bZ);if(!jI.has(X)&&(jI.add(X),rQ!==null)){for(var Y="",J=0;J<=gq;J++){var G=rQ[J],H=J===gq?Z:G;for(G=J+1+". "+G;30>G.length;)G+=" ";G+=H+`
107
+ Please update the following component: %s`,G),RI=!0}if((HX&_Y)!==AY)return G=J.pending,G===null?X.next=X:(X.next=G.next,G.next=X),J.pending=X,X=IB(Z),f8(Z,null,Y),X;return NB(Z,J,X,Y),IB(Z)}function rW(Z,X,Y){if(X=X.updateQueue,X!==null&&(X=X.shared,(Y&4194048)!==0)){var J=X.lanes;J&=Z.pendingLanes,Y|=J,X.lanes=Y,Fz(Z,Y)}}function yB(Z,X){var{updateQueue:Y,alternate:J}=Z;if(J!==null&&(J=J.updateQueue,Y===J)){var G=null,z=null;if(Y=Y.firstBaseUpdate,Y!==null){do{var U={lane:Y.lane,tag:Y.tag,payload:Y.payload,callback:null,next:null};z===null?G=z=U:z=z.next=U,Y=Y.next}while(Y!==null);z===null?G=z=X:z=z.next=X}else G=z=X;Y={baseState:J.baseState,firstBaseUpdate:G,lastBaseUpdate:z,shared:J.shared,callbacks:J.callbacks},Z.updateQueue=Y;return}Z=Y.lastBaseUpdate,Z===null?Y.firstBaseUpdate=X:Z.next=X,Y.lastBaseUpdate=X}function tW(){if(_9){var Z=C_;if(Z!==null)throw Z}}function eW(Z,X,Y,J){_9=!1;var G=Z.updateQueue;kG=!1,H9=G.shared;var{firstBaseUpdate:z,lastBaseUpdate:U}=G,B=G.shared.pending;if(B!==null){G.shared.pending=null;var F=B,T=F.next;F.next=null,U===null?z=T:U.next=T,U=F;var x=Z.alternate;x!==null&&(x=x.updateQueue,B=x.lastBaseUpdate,B!==U&&(B===null?x.firstBaseUpdate=T:B.next=T,x.lastBaseUpdate=F))}if(z!==null){var y=G.baseState;U=0,x=T=F=null,B=z;do{var $=B.lane&-536870913,c=$!==B.lane;if(c?(sZ&$)===$:(J&$)===$){$!==0&&$===uz&&(_9=!0),x!==null&&(x=x.next={lane:0,tag:B.tag,payload:B.payload,callback:null,next:null});Z:{$=Z;var GZ=B,BZ=X,PX=Y;switch(GZ.tag){case wI:if(GZ=GZ.payload,typeof GZ==="function"){R_=!0;var GX=GZ.call(PX,y,BZ);if($.mode&gY){jX(!0);try{GZ.call(PX,y,BZ)}finally{jX(!1)}}R_=!1,y=GX;break Z}y=GZ;break Z;case z9:$.flags=$.flags&-65537|128;case TI:if(GX=GZ.payload,typeof GX==="function"){if(R_=!0,GZ=GX.call(PX,y,BZ),$.mode&gY){jX(!0);try{GX.call(PX,y,BZ)}finally{jX(!1)}}R_=!1}else GZ=GX;if(GZ===null||GZ===void 0)break Z;y=rZ({},y,GZ);break Z;case VI:kG=!0}}$=B.callback,$!==null&&(Z.flags|=64,c&&(Z.flags|=8192),c=G.callbacks,c===null?G.callbacks=[$]:c.push($))}else c={lane:$,tag:B.tag,payload:B.payload,callback:B.callback,next:null},x===null?(T=x=c,F=y):x=x.next=c,U|=$;if(B=B.next,B===null)if(B=G.shared.pending,B===null)break;else c=B,B=c.next,c.next=null,G.lastBaseUpdate=c,G.shared.pending=null}while(1);x===null&&(F=y),G.baseState=F,G.firstBaseUpdate=T,G.lastBaseUpdate=x,z===null&&(G.shared.lanes=0),vG|=U,Z.lanes=U,Z.memoizedState=y}H9=null}function B1(Z,X){if(typeof Z!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+Z);Z.call(X)}function wD(Z,X){var Y=Z.shared.hiddenCallbacks;if(Y!==null)for(Z.shared.hiddenCallbacks=null,Z=0;Z<Y.length;Z++)B1(Y[Z],X)}function L1(Z,X){var Y=Z.callbacks;if(Y!==null)for(Z.callbacks=null,Z=0;Z<Y.length;Z++)B1(Y[Z],X)}function A1(Z,X){var Y=qq;zZ(pL,Y,Z),zZ($_,X,Z),qq=Y|X.baseLanes}function cF(Z){zZ(pL,qq,Z),zZ($_,$_.current,Z)}function pF(Z){qq=pL.current,WZ($_,Z),WZ(pL,Z)}function KG(Z){var X=Z.alternate;zZ(nX,nX.current&S_,Z),zZ(PQ,Z,Z),aQ===null&&(X===null||$_.current!==null?aQ=Z:X.memoizedState!==null&&(aQ=Z))}function lF(Z){zZ(nX,nX.current,Z),zZ(PQ,Z,Z),aQ===null&&(aQ=Z)}function O1(Z){Z.tag===22?(zZ(nX,nX.current,Z),zZ(PQ,Z,Z),aQ===null&&(aQ=Z)):BG(Z)}function BG(Z){zZ(nX,nX.current,Z),zZ(PQ,PQ.current,Z)}function IQ(Z){WZ(PQ,Z),aQ===Z&&(aQ=null),WZ(nX,Z)}function vB(Z){for(var X=Z;X!==null;){if(X.tag===13){var Y=X.memoizedState;if(Y!==null&&(Y=Y.dehydrated,Y===null||J0(Y)||q0(Y)))return X}else if(X.tag===19&&(X.memoizedProps.revealOrder==="forwards"||X.memoizedProps.revealOrder==="backwards"||X.memoizedProps.revealOrder==="unstable_legacy-backwards"||X.memoizedProps.revealOrder==="together")){if((X.flags&128)!==0)return X}else if(X.child!==null){X.child.return=X,X=X.child;continue}if(X===Z)break;for(;X.sibling===null;){if(X.return===null||X.return===Z)return null;X=X.return}X.sibling.return=X.return,X=X.sibling}return null}function oZ(){var Z=i;rQ===null?rQ=[Z]:rQ.push(Z)}function XZ(){var Z=i;if(rQ!==null&&(gq++,rQ[gq]!==Z)){var X=n(bZ);if(!jI.has(X)&&(jI.add(X),rQ!==null)){for(var Y="",J=0;J<=gq;J++){var G=rQ[J],z=J===gq?Z:G;for(G=J+1+". "+G;30>G.length;)G+=" ";G+=z+`
108
108
  `,Y+=G}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
109
 
110
110
  Previous render Next render
111
111
  ------------------------------------------------------
112
112
  %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
113
- `,X,Y)}}}function sz(Z){Z===void 0||Z===null||HY(Z)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",i,typeof Z)}function hB(){var Z=n(bZ);PI.has(Z)||(PI.add(Z),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",Z))}function pX(){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:
113
+ `,X,Y)}}}function sH(Z){Z===void 0||Z===null||zY(Z)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",i,typeof Z)}function hB(){var Z=n(bZ);PI.has(Z)||(PI.add(Z),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",Z))}function pX(){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
114
  1. You might have mismatching versions of React and the renderer (such as React DOM)
115
115
  2. You might be breaking the Rules of Hooks
116
116
  3. You might have more than one copy of React in the same app
117
117
  See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function iF(Z,X){if(aU)return!1;if(X===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.",i),!1;Z.length!==X.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
118
118
 
119
119
  Previous: %s
120
- Incoming: %s`,i,"["+X.join(", ")+"]","["+Z.join(", ")+"]");for(var Y=0;Y<X.length&&Y<Z.length;Y++)if(!cY(Z[Y],X[Y]))return!1;return!0}function nF(Z,X,Y,J,G,H){if(hq=H,bZ=X,rQ=Z!==null?Z._debugHookTypes:null,gq=-1,aU=Z!==null&&Z.type!==X.type,Object.prototype.toString.call(Y)==="[object AsyncFunction]"||Object.prototype.toString.call(Y)==="[object AsyncGeneratorFunction]")H=n(bZ),W9.has(H)||(W9.add(H),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.",H===null?"An unknown Component":"<"+H+">"));X.memoizedState=null,X.updateQueue=null,X.lanes=0,s.H=Z!==null&&Z.memoizedState!==null?K9:rQ!==null?DI:U9,iH=H=(X.mode&gY)!==hZ;var U=Q9(Y,J,G);if(iH=!1,k_&&(U=sF(X,Y,J,G)),H){jX(!0);try{U=sF(X,Y,J,G)}finally{jX(!1)}}return F1(Z,X),U}function F1(Z,X){X._debugHookTypes=rQ,X.dependencies===null?bq!==null&&(X.dependencies={lanes:0,firstContext:null,_debugThenableState:bq}):X.dependencies._debugThenableState=bq,s.H=oU;var Y=VX!==null&&VX.next!==null;if(hq=0,rQ=i=eX=VX=bZ=null,gq=-1,Z!==null&&(Z.flags&65011712)!==(X.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),iL=!1,sU=0,bq=null,Y)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");Z===null||ZY||(Z=Z.dependencies,Z!==null&&RB(Z)&&(ZY=!0)),lU?(lU=!1,Z=!0):Z=!1,Z&&(X=n(X)||"Unknown",CI.has(X)||W9.has(X)||(CI.add(X),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 sF(Z,X,Y,J){bZ=Z;var G=0;do{if(k_&&(bq=null),sU=0,k_=!1,G>=GE)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(G+=1,aU=!1,eX=VX=null,Z.updateQueue!=null){var H=Z.updateQueue;H.lastEffect=null,H.events=null,H.stores=null,H.memoCache!=null&&(H.memoCache.index=0)}gq=-1,s.H=$I,H=Q9(X,Y,J)}while(k_);return H}function VD(){var Z=s.H,X=Z.useState()[0];return X=typeof X.then==="function"?ZU(X):X,Z=Z.useState()[0],(VX!==null?VX.memoizedState:null)!==Z&&(bZ.flags|=1024),X}function aF(){var Z=nL!==0;return nL=0,Z}function oF(Z,X,Y){X.updateQueue=Z.updateQueue,X.flags=(X.mode&AJ)!==hZ?X.flags&-402655237:X.flags&-2053,Z.lanes&=~Y}function rF(Z){if(iL){for(Z=Z.memoizedState;Z!==null;){var X=Z.queue;X!==null&&(X.pending=null),Z=Z.next}iL=!1}hq=0,rQ=eX=VX=bZ=null,gq=-1,i=null,k_=!1,sU=nL=0,bq=null}function mY(){var Z={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return eX===null?bZ.memoizedState=eX=Z:eX=eX.next=Z,eX}function FX(){if(VX===null){var Z=bZ.alternate;Z=Z!==null?Z.memoizedState:null}else Z=VX.next;var X=eX===null?bZ.memoizedState:eX.next;if(X!==null)eX=X,VX=Z;else{if(Z===null){if(bZ.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}VX=Z,Z={memoizedState:VX.memoizedState,baseState:VX.baseState,baseQueue:VX.baseQueue,queue:VX.queue,next:null},eX===null?bZ.memoizedState=eX=Z:eX=eX.next=Z}return eX}function bB(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ZU(Z){var X=sU;return sU+=1,bq===null&&(bq=Q1()),Z=q1(bq,Z,X),X=bZ,(eX===null?X.memoizedState:eX.next)===null&&(X=X.alternate,s.H=X!==null&&X.memoizedState!==null?K9:U9),Z}function LG(Z){if(Z!==null&&typeof Z==="object"){if(typeof Z.then==="function")return ZU(Z);if(Z.$$typeof===aJ)return kX(Z)}throw Error("An unsupported type was passed to use(): "+String(Z))}function $H(Z){var X=null,Y=bZ.updateQueue;if(Y!==null&&(X=Y.memoCache),X==null){var J=bZ.alternate;J!==null&&(J=J.updateQueue,J!==null&&(J=J.memoCache,J!=null&&(X={data:J.data.map(function(G){return G.slice()}),index:0})))}if(X==null&&(X={data:[],index:0}),Y===null&&(Y=bB(),bZ.updateQueue=Y),Y.memoCache=X,Y=X.data[X.index],Y===void 0||aU)for(Y=X.data[X.index]=Array(Z),J=0;J<Z;J++)Y[J]=g$;else Y.length!==Z&&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.",Y.length,Z);return X.index++,Y}function UJ(Z,X){return typeof X==="function"?X(Z):X}function tF(Z,X,Y){var J=mY();if(Y!==void 0){var G=Y(X);if(iH){jX(!0);try{Y(X)}finally{jX(!1)}}}else G=X;return J.memoizedState=J.baseState=G,Z={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Z,lastRenderedState:G},J.queue=Z,Z=Z.dispatch=DD.bind(null,bZ,Z),[J.memoizedState,Z]}function az(Z){var X=FX();return eF(X,VX,Z)}function eF(Z,X,Y){var J=Z.queue;if(J===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");J.lastRenderedReducer=Y;var G=Z.baseQueue,H=J.pending;if(H!==null){if(G!==null){var U=G.next;G.next=H.next,H.next=U}X.baseQueue!==G&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),X.baseQueue=G=H,J.pending=null}if(H=Z.baseState,G===null)Z.memoizedState=H;else{X=G.next;var B=U=null,F=null,T=X,x=!1;do{var y=T.lane&-536870913;if(y!==T.lane?(sZ&y)===y:(hq&y)===y){var $=T.revertLane;if($===0)F!==null&&(F=F.next={lane:0,revertLane:0,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null}),y===uH&&(x=!0);else if((hq&$)===$){T=T.next,$===uH&&(x=!0);continue}else y={lane:0,revertLane:T.revertLane,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},F===null?(B=F=y,U=H):F=F.next=y,bZ.lanes|=$,vG|=$;y=T.action,iH&&Y(H,y),H=T.hasEagerState?T.eagerState:Y(H,y)}else $={lane:y,revertLane:T.revertLane,gesture:T.gesture,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},F===null?(B=F=$,U=H):F=F.next=$,bZ.lanes|=y,vG|=y;T=T.next}while(T!==null&&T!==X);if(F===null?U=H:F.next=B,!cY(H,Z.memoizedState)&&(ZY=!0,x&&(Y=C_,Y!==null)))throw Y;Z.memoizedState=H,Z.baseState=U,Z.baseQueue=F,J.lastRenderedState=H}return G===null&&(J.lanes=0),[Z.memoizedState,J.dispatch]}function XU(Z){var X=FX(),Y=X.queue;if(Y===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");Y.lastRenderedReducer=Z;var{dispatch:J,pending:G}=Y,H=X.memoizedState;if(G!==null){Y.pending=null;var U=G=G.next;do H=Z(H,U.action),U=U.next;while(U!==G);cY(H,X.memoizedState)||(ZY=!0),X.memoizedState=H,X.baseQueue===null&&(X.baseState=H),Y.lastRenderedState=H}return[H,J]}function ZM(Z,X,Y){var J=bZ,G=mY();if(QX){if(Y===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var H=Y();E_||H===Y()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),E_=!0)}else{if(H=X(),E_||(Y=X(),cY(H,Y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),E_=!0)),RX===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(sZ&127)!==0||M1(J,X,H)}return G.memoizedState=H,Y={value:H,getSnapshot:X},G.queue=Y,uB(I1.bind(null,J,Y,Z),[Z]),J.flags|=2048,rz(oQ|iY,{destroy:void 0},N1.bind(null,J,Y,H,X),null),H}function gB(Z,X,Y){var J=bZ,G=FX(),H=QX;if(H){if(Y===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");Y=Y()}else if(Y=X(),!E_){var U=X();cY(Y,U)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),E_=!0)}if(U=!cY((VX||G).memoizedState,Y))G.memoizedState=Y,ZY=!0;G=G.queue;var B=I1.bind(null,J,G,Z);if(rY(2048,iY,B,[Z]),G.getSnapshot!==X||U||eX!==null&&eX.memoizedState.tag&oQ){if(J.flags|=2048,rz(oQ|iY,{destroy:void 0},N1.bind(null,J,G,Y,X),null),RX===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");H||(hq&127)!==0||M1(J,X,Y)}return Y}function M1(Z,X,Y){Z.flags|=16384,Z={getSnapshot:X,value:Y},X=bZ.updateQueue,X===null?(X=bB(),bZ.updateQueue=X,X.stores=[Z]):(Y=X.stores,Y===null?X.stores=[Z]:Y.push(Z))}function N1(Z,X,Y,J){X.value=Y,X.getSnapshot=J,T1(X)&&w1(Z)}function I1(Z,X,Y){return Y(function(){T1(X)&&(vJ(2,"updateSyncExternalStore()",Z),w1(Z))})}function T1(Z){var X=Z.getSnapshot;Z=Z.value;try{var Y=X();return!cY(Z,Y)}catch(J){return!0}}function w1(Z){var X=hY(Z,2);X!==null&&gX(X,Z,2)}function XM(Z){var X=mY();if(typeof Z==="function"){var Y=Z;if(Z=Y(),iH){jX(!0);try{Y()}finally{jX(!1)}}}return X.memoizedState=X.baseState=Z,X.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:UJ,lastRenderedState:Z},X}function YM(Z){Z=XM(Z);var X=Z.queue,Y=u1.bind(null,bZ,X);return X.dispatch=Y,[Z.memoizedState,Y]}function QM(Z){var X=mY();X.memoizedState=X.baseState=Z;var Y={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return X.queue=Y,X=FM.bind(null,bZ,!0,Y),Y.dispatch=X,[Z,X]}function V1(Z,X){var Y=FX();return R1(Y,VX,Z,X)}function R1(Z,X,Y,J){return Z.baseState=Y,eF(Z,VX,typeof J==="function"?J:UJ)}function j1(Z,X){var Y=FX();if(VX!==null)return R1(Y,VX,Z,X);return Y.baseState=Z,[Z,Y.queue.dispatch]}function RD(Z,X,Y,J,G){if(nB(Z))throw Error("Cannot update form state while rendering.");if(Z=X.action,Z!==null){var H={payload:G,action:Z,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(U){H.listeners.push(U)}};s.T!==null?Y(!0):H.isTransition=!1,J(H),Y=X.pending,Y===null?(H.next=X.pending=H,C1(X,H)):(H.next=Y.next,X.pending=Y.next=H)}}function C1(Z,X){var{action:Y,payload:J}=X,G=Z.state;if(X.isTransition){var H=s.T,U={};U._updatedFibers=new Set,s.T=U;try{var B=Y(G,J),F=s.S;F!==null&&F(U,B),P1(Z,X,B)}catch(T){JM(Z,X,T)}finally{H!==null&&U.types!==null&&(H.types!==null&&H.types!==U.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."),H.types=U.types),s.T=H,H===null&&U._updatedFibers&&(Z=U._updatedFibers.size,U._updatedFibers.clear(),10<Z&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{U=Y(G,J),P1(Z,X,U)}catch(T){JM(Z,X,T)}}function P1(Z,X,Y){Y!==null&&typeof Y==="object"&&typeof Y.then==="function"?(s.asyncTransitions++,Y.then(iB,iB),Y.then(function(J){D1(Z,X,J)},function(J){return JM(Z,X,J)}),X.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.")):D1(Z,X,Y)}function D1(Z,X,Y){X.status="fulfilled",X.value=Y,$1(X),Z.state=Y,X=Z.pending,X!==null&&(Y=X.next,Y===X?Z.pending=null:(Y=Y.next,X.next=Y,C1(Z,Y)))}function JM(Z,X,Y){var J=Z.pending;if(Z.pending=null,J!==null){J=J.next;do X.status="rejected",X.reason=Y,$1(X),X=X.next;while(X!==J)}Z.action=null}function $1(Z){Z=Z.listeners;for(var X=0;X<Z.length;X++)(0,Z[X])()}function S1(Z,X){return X}function oz(Z,X){if(QX){var Y=RX.formState;if(Y!==null){Z:{var J=bZ;if(QX){if($X){X:{var G=$X;for(var H=nQ;G.nodeType!==8;){if(!H){G=null;break X}if(G=wQ(G.nextSibling),G===null){G=null;break X}}H=G.data,G=H===v9||H===LT?G:null}if(G){$X=wQ(G.nextSibling),J=G.data===v9;break Z}}HG(J)}J=!1}J&&(X=Y[0])}}return Y=mY(),Y.memoizedState=Y.baseState=X,J={pending:null,lanes:0,dispatch:null,lastRenderedReducer:S1,lastRenderedState:X},Y.queue=J,Y=u1.bind(null,bZ,J),J.dispatch=Y,J=XM(!1),H=FM.bind(null,bZ,!1,J.queue),J=mY(),G={state:X,dispatch:null,action:Z,pending:null},J.queue=G,Y=RD.bind(null,bZ,G,H,Y),G.dispatch=Y,J.memoizedState=Z,[X,Y,!1]}function mB(Z){var X=FX();return E1(X,VX,Z)}function E1(Z,X,Y){if(X=eF(Z,X,S1)[0],Z=az(UJ)[0],typeof X==="object"&&X!==null&&typeof X.then==="function")try{var J=ZU(X)}catch(U){if(U===P_)throw dL;throw U}else J=X;X=FX();var G=X.queue,H=G.dispatch;return Y!==X.memoizedState&&(bZ.flags|=2048,rz(oQ|iY,{destroy:void 0},jD.bind(null,G,Y),null)),[J,H,Z]}function jD(Z,X){Z.action=X}function fB(Z){var X=FX(),Y=VX;if(Y!==null)return E1(X,Y,Z);FX(),X=X.memoizedState,Y=FX();var J=Y.queue.dispatch;return Y.memoizedState=Z,[X,J,!1]}function rz(Z,X,Y,J){return Z={tag:Z,create:Y,deps:J,inst:X,next:null},X=bZ.updateQueue,X===null&&(X=bB(),bZ.updateQueue=X),Y=X.lastEffect,Y===null?X.lastEffect=Z.next=Z:(J=Y.next,Y.next=Z,Z.next=J,X.lastEffect=Z),Z}function qM(Z){var X=mY();return Z={current:Z},X.memoizedState=Z}function SH(Z,X,Y,J){var G=mY();bZ.flags|=Z,G.memoizedState=rz(oQ|X,{destroy:void 0},Y,J===void 0?null:J)}function rY(Z,X,Y,J){var G=FX();J=J===void 0?null:J;var H=G.memoizedState.inst;VX!==null&&J!==null&&iF(J,VX.memoizedState.deps)?G.memoizedState=rz(X,H,Y,J):(bZ.flags|=Z,G.memoizedState=rz(oQ|X,H,Y,J))}function uB(Z,X){(bZ.mode&AJ)!==hZ?SH(276826112,iY,Z,X):SH(8390656,iY,Z,X)}function CD(Z){bZ.flags|=4;var X=bZ.updateQueue;if(X===null)X=bB(),bZ.updateQueue=X,X.events=[Z];else{var Y=X.events;Y===null?X.events=[Z]:Y.push(Z)}}function GM(Z){var X=mY(),Y={impl:Z};return X.memoizedState=Y,function(){if((zX&_Y)!==AY)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Y.impl.apply(void 0,arguments)}}function dB(Z){var X=FX().memoizedState;return CD({ref:X,nextImpl:Z}),function(){if((zX&_Y)!==AY)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return X.impl.apply(void 0,arguments)}}function HM(Z,X){var Y=4194308;return(bZ.mode&AJ)!==hZ&&(Y|=134217728),SH(Y,DQ,Z,X)}function k1(Z,X){if(typeof X==="function"){Z=Z();var Y=X(Z);return function(){typeof Y==="function"?Y():X(null)}}if(X!==null&&X!==void 0)return X.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(X).join(", ")+"}"),Z=Z(),X.current=Z,function(){X.current=null}}function zM(Z,X,Y){typeof X!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",X!==null?typeof X:"null"),Y=Y!==null&&Y!==void 0?Y.concat([Z]):null;var J=4194308;(bZ.mode&AJ)!==hZ&&(J|=134217728),SH(J,DQ,k1.bind(null,X,Z),Y)}function cB(Z,X,Y){typeof X!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",X!==null?typeof X:"null"),Y=Y!==null&&Y!==void 0?Y.concat([Z]):null,rY(4,DQ,k1.bind(null,X,Z),Y)}function _M(Z,X){return mY().memoizedState=[Z,X===void 0?null:X],Z}function pB(Z,X){var Y=FX();X=X===void 0?null:X;var J=Y.memoizedState;if(X!==null&&iF(X,J[1]))return J[0];return Y.memoizedState=[Z,X],Z}function WM(Z,X){var Y=mY();X=X===void 0?null:X;var J=Z();if(iH){jX(!0);try{Z()}finally{jX(!1)}}return Y.memoizedState=[J,X],J}function lB(Z,X){var Y=FX();X=X===void 0?null:X;var J=Y.memoizedState;if(X!==null&&iF(X,J[1]))return J[0];if(J=Z(),iH){jX(!0);try{Z()}finally{jX(!1)}}return Y.memoizedState=[J,X],J}function UM(Z,X){var Y=mY();return KM(Y,Z,X)}function x1(Z,X){var Y=FX();return v1(Y,VX.memoizedState,Z,X)}function y1(Z,X){var Y=FX();return VX===null?KM(Y,Z,X):v1(Y,VX.memoizedState,Z,X)}function KM(Z,X,Y){if(Y===void 0||(hq&1073741824)!==0&&(sZ&261930)===0)return Z.memoizedState=X;return Z.memoizedState=Y,Z=h4(),bZ.lanes|=Z,vG|=Z,Y}function v1(Z,X,Y,J){if(cY(Y,X))return Y;if($_.current!==null)return Z=KM(Z,Y,J),cY(Z,X)||(ZY=!0),Z;if((hq&42)===0||(hq&1073741824)!==0&&(sZ&261930)===0)return ZY=!0,Z.memoizedState=Y;return Z=h4(),bZ.lanes|=Z,vG|=Z,X}function iB(){s.asyncTransitions--}function h1(Z,X,Y,J,G){var H=OX.p;OX.p=H!==0&&H<LJ?H:LJ;var U=s.T,B={};B._updatedFibers=new Set,s.T=B,FM(Z,!1,X,Y);try{var F=G(),T=s.S;if(T!==null&&T(B,F),F!==null&&typeof F==="object"&&typeof F.then==="function"){s.asyncTransitions++,F.then(iB,iB);var x=TD(F,J);YU(Z,X,x,TQ(Z))}else YU(Z,X,J,TQ(Z))}catch(y){YU(Z,X,{then:function(){},status:"rejected",reason:y},TQ(Z))}finally{OX.p=H,U!==null&&B.types!==null&&(U.types!==null&&U.types!==B.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."),U.types=B.types),s.T=U,U===null&&B._updatedFibers&&(Z=B._updatedFibers.size,B._updatedFibers.clear(),10<Z&&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 BM(Z,X,Y,J){if(Z.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var G=b1(Z).queue;ND(Z),h1(Z,G,X,Qz,Y===null?I:function(){return g1(Z),Y(J)})}function b1(Z){var X=Z.memoizedState;if(X!==null)return X;X={memoizedState:Qz,baseState:Qz,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:UJ,lastRenderedState:Qz},next:null};var Y={};return X.next={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:UJ,lastRenderedState:Y},next:null},Z.memoizedState=X,Z=Z.alternate,Z!==null&&(Z.memoizedState=X),X}function g1(Z){s.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var X=b1(Z);X.next===null&&(X=Z.alternate.memoizedState),YU(Z,X.next.queue,{},TQ(Z))}function LM(){var Z=XM(!1);return Z=h1.bind(null,bZ,Z.queue,!0,!1),mY().memoizedState=Z,[!1,Z]}function m1(){var Z=az(UJ)[0],X=FX().memoizedState;return[typeof Z==="boolean"?Z:ZU(Z),X]}function f1(){var Z=XU(UJ)[0],X=FX().memoizedState;return[typeof Z==="boolean"?Z:ZU(Z),X]}function EH(){return kX(UK)}function AM(){var Z=mY(),X=RX.identifierPrefix;if(QX){var Y=Eq,J=Sq;Y=(J&~(1<<32-fY(J)-1)).toString(32)+Y,X="_"+X+"R_"+Y,Y=nL++,0<Y&&(X+="H"+Y.toString(32)),X+="_"}else Y=qE++,X="_"+X+"r_"+Y.toString(32)+"_";return Z.memoizedState=X}function OM(){return mY().memoizedState=PD.bind(null,bZ)}function PD(Z,X){for(var Y=Z.return;Y!==null;){switch(Y.tag){case 24:case 3:var J=TQ(Y),G=WG(J),H=UG(Y,G,J);H!==null&&(vJ(J,"refresh()",Z),gX(H,Y,J),rW(H,Y,J)),Z=hF(),X!==null&&X!==void 0&&H!==null&&console.error("The seed argument is not enabled outside experimental channels."),G.payload={cache:Z};return}Y=Y.return}}function DD(Z,X,Y){var J=arguments;typeof J[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()."),J=TQ(Z);var G={lane:J,revertLane:0,gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null};nB(Z)?d1(X,G):(G=RF(Z,X,G,J),G!==null&&(vJ(J,"dispatch()",Z),gX(G,Z,J),c1(G,X,J)))}function u1(Z,X,Y){var J=arguments;typeof J[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()."),J=TQ(Z),YU(Z,X,Y,J)&&vJ(J,"setState()",Z)}function YU(Z,X,Y,J){var G={lane:J,revertLane:0,gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null};if(nB(Z))d1(X,G);else{var H=Z.alternate;if(Z.lanes===0&&(H===null||H.lanes===0)&&(H=X.lastRenderedReducer,H!==null)){var U=s.H;s.H=FJ;try{var B=X.lastRenderedState,F=H(B,Y);if(G.hasEagerState=!0,G.eagerState=F,cY(F,B))return NB(Z,X,G,0),RX===null&&MB(),!1}catch(T){}finally{s.H=U}}if(Y=RF(Z,X,G,J),Y!==null)return gX(Y,Z,J),c1(Y,X,J),!0}return!1}function FM(Z,X,Y,J){if(s.T===null&&uH===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."),J={lane:2,revertLane:nM(),gesture:null,action:J,hasEagerState:!1,eagerState:null,next:null},nB(Z)){if(X)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else X=RF(Z,Y,J,2),X!==null&&(vJ(2,"setOptimistic()",Z),gX(X,Z,2))}function nB(Z){var X=Z.alternate;return Z===bZ||X!==null&&X===bZ}function d1(Z,X){k_=iL=!0;var Y=Z.pending;Y===null?X.next=X:(X.next=Y.next,Y.next=X),Z.pending=X}function c1(Z,X,Y){if((Y&4194048)!==0){var J=X.lanes;J&=Z.pendingLanes,Y|=J,X.lanes=Y,FH(Z,Y)}}function MM(Z){if(Z!==null&&typeof Z!=="function"){var X=String(Z);fI.has(X)||(fI.add(X),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",Z))}}function NM(Z,X,Y,J){var G=Z.memoizedState,H=Y(J,G);if(Z.mode&gY){jX(!0);try{H=Y(J,G)}finally{jX(!1)}}H===void 0&&(X=l(X)||"Component",hI.has(X)||(hI.add(X),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",X))),G=H===null||H===void 0?G:rZ({},G,H),Z.memoizedState=G,Z.lanes===0&&(Z.updateQueue.baseState=G)}function p1(Z,X,Y,J,G,H,U){var B=Z.stateNode;if(typeof B.shouldComponentUpdate==="function"){if(Y=B.shouldComponentUpdate(J,H,U),Z.mode&gY){jX(!0);try{Y=B.shouldComponentUpdate(J,H,U)}finally{jX(!1)}}return Y===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",l(X)||"Component"),Y}return X.prototype&&X.prototype.isPureReactComponent?!pW(Y,J)||!pW(G,H):!0}function l1(Z,X,Y,J){var G=X.state;typeof X.componentWillReceiveProps==="function"&&X.componentWillReceiveProps(Y,J),typeof X.UNSAFE_componentWillReceiveProps==="function"&&X.UNSAFE_componentWillReceiveProps(Y,J),X.state!==G&&(Z=n(Z)||"Component",EI.has(Z)||(EI.add(Z),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Z)),B9.enqueueReplaceState(X,X.state,null))}function kH(Z,X){var Y=X;if("ref"in X){Y={};for(var J in X)J!=="ref"&&(Y[J]=X[J])}if(Z=Z.defaultProps){Y===X&&(Y=rZ({},Y));for(var G in Z)Y[G]===void 0&&(Y[G]=Z[G])}return Y}function i1(Z){p0(Z),console.warn(`%s
120
+ Incoming: %s`,i,"["+X.join(", ")+"]","["+Z.join(", ")+"]");for(var Y=0;Y<X.length&&Y<Z.length;Y++)if(!cY(Z[Y],X[Y]))return!1;return!0}function nF(Z,X,Y,J,G,z){if(hq=z,bZ=X,rQ=Z!==null?Z._debugHookTypes:null,gq=-1,aU=Z!==null&&Z.type!==X.type,Object.prototype.toString.call(Y)==="[object AsyncFunction]"||Object.prototype.toString.call(Y)==="[object AsyncGeneratorFunction]")z=n(bZ),W9.has(z)||(W9.add(z),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.",z===null?"An unknown Component":"<"+z+">"));X.memoizedState=null,X.updateQueue=null,X.lanes=0,s.H=Z!==null&&Z.memoizedState!==null?K9:rQ!==null?DI:U9,iz=z=(X.mode&gY)!==hZ;var U=Q9(Y,J,G);if(iz=!1,k_&&(U=sF(X,Y,J,G)),z){jX(!0);try{U=sF(X,Y,J,G)}finally{jX(!1)}}return F1(Z,X),U}function F1(Z,X){X._debugHookTypes=rQ,X.dependencies===null?bq!==null&&(X.dependencies={lanes:0,firstContext:null,_debugThenableState:bq}):X.dependencies._debugThenableState=bq,s.H=oU;var Y=VX!==null&&VX.next!==null;if(hq=0,rQ=i=eX=VX=bZ=null,gq=-1,Z!==null&&(Z.flags&65011712)!==(X.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),iL=!1,sU=0,bq=null,Y)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");Z===null||ZY||(Z=Z.dependencies,Z!==null&&RB(Z)&&(ZY=!0)),lU?(lU=!1,Z=!0):Z=!1,Z&&(X=n(X)||"Unknown",CI.has(X)||W9.has(X)||(CI.add(X),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 sF(Z,X,Y,J){bZ=Z;var G=0;do{if(k_&&(bq=null),sU=0,k_=!1,G>=GE)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(G+=1,aU=!1,eX=VX=null,Z.updateQueue!=null){var z=Z.updateQueue;z.lastEffect=null,z.events=null,z.stores=null,z.memoCache!=null&&(z.memoCache.index=0)}gq=-1,s.H=$I,z=Q9(X,Y,J)}while(k_);return z}function VD(){var Z=s.H,X=Z.useState()[0];return X=typeof X.then==="function"?ZU(X):X,Z=Z.useState()[0],(VX!==null?VX.memoizedState:null)!==Z&&(bZ.flags|=1024),X}function aF(){var Z=nL!==0;return nL=0,Z}function oF(Z,X,Y){X.updateQueue=Z.updateQueue,X.flags=(X.mode&AJ)!==hZ?X.flags&-402655237:X.flags&-2053,Z.lanes&=~Y}function rF(Z){if(iL){for(Z=Z.memoizedState;Z!==null;){var X=Z.queue;X!==null&&(X.pending=null),Z=Z.next}iL=!1}hq=0,rQ=eX=VX=bZ=null,gq=-1,i=null,k_=!1,sU=nL=0,bq=null}function mY(){var Z={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return eX===null?bZ.memoizedState=eX=Z:eX=eX.next=Z,eX}function FX(){if(VX===null){var Z=bZ.alternate;Z=Z!==null?Z.memoizedState:null}else Z=VX.next;var X=eX===null?bZ.memoizedState:eX.next;if(X!==null)eX=X,VX=Z;else{if(Z===null){if(bZ.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}VX=Z,Z={memoizedState:VX.memoizedState,baseState:VX.baseState,baseQueue:VX.baseQueue,queue:VX.queue,next:null},eX===null?bZ.memoizedState=eX=Z:eX=eX.next=Z}return eX}function bB(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ZU(Z){var X=sU;return sU+=1,bq===null&&(bq=Q1()),Z=q1(bq,Z,X),X=bZ,(eX===null?X.memoizedState:eX.next)===null&&(X=X.alternate,s.H=X!==null&&X.memoizedState!==null?K9:U9),Z}function LG(Z){if(Z!==null&&typeof Z==="object"){if(typeof Z.then==="function")return ZU(Z);if(Z.$$typeof===aJ)return kX(Z)}throw Error("An unsupported type was passed to use(): "+String(Z))}function $z(Z){var X=null,Y=bZ.updateQueue;if(Y!==null&&(X=Y.memoCache),X==null){var J=bZ.alternate;J!==null&&(J=J.updateQueue,J!==null&&(J=J.memoCache,J!=null&&(X={data:J.data.map(function(G){return G.slice()}),index:0})))}if(X==null&&(X={data:[],index:0}),Y===null&&(Y=bB(),bZ.updateQueue=Y),Y.memoCache=X,Y=X.data[X.index],Y===void 0||aU)for(Y=X.data[X.index]=Array(Z),J=0;J<Z;J++)Y[J]=g$;else Y.length!==Z&&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.",Y.length,Z);return X.index++,Y}function UJ(Z,X){return typeof X==="function"?X(Z):X}function tF(Z,X,Y){var J=mY();if(Y!==void 0){var G=Y(X);if(iz){jX(!0);try{Y(X)}finally{jX(!1)}}}else G=X;return J.memoizedState=J.baseState=G,Z={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Z,lastRenderedState:G},J.queue=Z,Z=Z.dispatch=DD.bind(null,bZ,Z),[J.memoizedState,Z]}function aH(Z){var X=FX();return eF(X,VX,Z)}function eF(Z,X,Y){var J=Z.queue;if(J===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");J.lastRenderedReducer=Y;var G=Z.baseQueue,z=J.pending;if(z!==null){if(G!==null){var U=G.next;G.next=z.next,z.next=U}X.baseQueue!==G&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),X.baseQueue=G=z,J.pending=null}if(z=Z.baseState,G===null)Z.memoizedState=z;else{X=G.next;var B=U=null,F=null,T=X,x=!1;do{var y=T.lane&-536870913;if(y!==T.lane?(sZ&y)===y:(hq&y)===y){var $=T.revertLane;if($===0)F!==null&&(F=F.next={lane:0,revertLane:0,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null}),y===uz&&(x=!0);else if((hq&$)===$){T=T.next,$===uz&&(x=!0);continue}else y={lane:0,revertLane:T.revertLane,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},F===null?(B=F=y,U=z):F=F.next=y,bZ.lanes|=$,vG|=$;y=T.action,iz&&Y(z,y),z=T.hasEagerState?T.eagerState:Y(z,y)}else $={lane:y,revertLane:T.revertLane,gesture:T.gesture,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},F===null?(B=F=$,U=z):F=F.next=$,bZ.lanes|=y,vG|=y;T=T.next}while(T!==null&&T!==X);if(F===null?U=z:F.next=B,!cY(z,Z.memoizedState)&&(ZY=!0,x&&(Y=C_,Y!==null)))throw Y;Z.memoizedState=z,Z.baseState=U,Z.baseQueue=F,J.lastRenderedState=z}return G===null&&(J.lanes=0),[Z.memoizedState,J.dispatch]}function XU(Z){var X=FX(),Y=X.queue;if(Y===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");Y.lastRenderedReducer=Z;var{dispatch:J,pending:G}=Y,z=X.memoizedState;if(G!==null){Y.pending=null;var U=G=G.next;do z=Z(z,U.action),U=U.next;while(U!==G);cY(z,X.memoizedState)||(ZY=!0),X.memoizedState=z,X.baseQueue===null&&(X.baseState=z),Y.lastRenderedState=z}return[z,J]}function ZM(Z,X,Y){var J=bZ,G=mY();if(QX){if(Y===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var z=Y();E_||z===Y()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),E_=!0)}else{if(z=X(),E_||(Y=X(),cY(z,Y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),E_=!0)),RX===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(sZ&127)!==0||M1(J,X,z)}return G.memoizedState=z,Y={value:z,getSnapshot:X},G.queue=Y,uB(I1.bind(null,J,Y,Z),[Z]),J.flags|=2048,rH(oQ|iY,{destroy:void 0},N1.bind(null,J,Y,z,X),null),z}function gB(Z,X,Y){var J=bZ,G=FX(),z=QX;if(z){if(Y===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");Y=Y()}else if(Y=X(),!E_){var U=X();cY(Y,U)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),E_=!0)}if(U=!cY((VX||G).memoizedState,Y))G.memoizedState=Y,ZY=!0;G=G.queue;var B=I1.bind(null,J,G,Z);if(rY(2048,iY,B,[Z]),G.getSnapshot!==X||U||eX!==null&&eX.memoizedState.tag&oQ){if(J.flags|=2048,rH(oQ|iY,{destroy:void 0},N1.bind(null,J,G,Y,X),null),RX===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");z||(hq&127)!==0||M1(J,X,Y)}return Y}function M1(Z,X,Y){Z.flags|=16384,Z={getSnapshot:X,value:Y},X=bZ.updateQueue,X===null?(X=bB(),bZ.updateQueue=X,X.stores=[Z]):(Y=X.stores,Y===null?X.stores=[Z]:Y.push(Z))}function N1(Z,X,Y,J){X.value=Y,X.getSnapshot=J,T1(X)&&w1(Z)}function I1(Z,X,Y){return Y(function(){T1(X)&&(vJ(2,"updateSyncExternalStore()",Z),w1(Z))})}function T1(Z){var X=Z.getSnapshot;Z=Z.value;try{var Y=X();return!cY(Z,Y)}catch(J){return!0}}function w1(Z){var X=hY(Z,2);X!==null&&gX(X,Z,2)}function XM(Z){var X=mY();if(typeof Z==="function"){var Y=Z;if(Z=Y(),iz){jX(!0);try{Y()}finally{jX(!1)}}}return X.memoizedState=X.baseState=Z,X.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:UJ,lastRenderedState:Z},X}function YM(Z){Z=XM(Z);var X=Z.queue,Y=u1.bind(null,bZ,X);return X.dispatch=Y,[Z.memoizedState,Y]}function QM(Z){var X=mY();X.memoizedState=X.baseState=Z;var Y={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return X.queue=Y,X=FM.bind(null,bZ,!0,Y),Y.dispatch=X,[Z,X]}function V1(Z,X){var Y=FX();return R1(Y,VX,Z,X)}function R1(Z,X,Y,J){return Z.baseState=Y,eF(Z,VX,typeof J==="function"?J:UJ)}function j1(Z,X){var Y=FX();if(VX!==null)return R1(Y,VX,Z,X);return Y.baseState=Z,[Z,Y.queue.dispatch]}function RD(Z,X,Y,J,G){if(nB(Z))throw Error("Cannot update form state while rendering.");if(Z=X.action,Z!==null){var z={payload:G,action:Z,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(U){z.listeners.push(U)}};s.T!==null?Y(!0):z.isTransition=!1,J(z),Y=X.pending,Y===null?(z.next=X.pending=z,C1(X,z)):(z.next=Y.next,X.pending=Y.next=z)}}function C1(Z,X){var{action:Y,payload:J}=X,G=Z.state;if(X.isTransition){var z=s.T,U={};U._updatedFibers=new Set,s.T=U;try{var B=Y(G,J),F=s.S;F!==null&&F(U,B),P1(Z,X,B)}catch(T){JM(Z,X,T)}finally{z!==null&&U.types!==null&&(z.types!==null&&z.types!==U.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),z.types=U.types),s.T=z,z===null&&U._updatedFibers&&(Z=U._updatedFibers.size,U._updatedFibers.clear(),10<Z&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{U=Y(G,J),P1(Z,X,U)}catch(T){JM(Z,X,T)}}function P1(Z,X,Y){Y!==null&&typeof Y==="object"&&typeof Y.then==="function"?(s.asyncTransitions++,Y.then(iB,iB),Y.then(function(J){D1(Z,X,J)},function(J){return JM(Z,X,J)}),X.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.")):D1(Z,X,Y)}function D1(Z,X,Y){X.status="fulfilled",X.value=Y,$1(X),Z.state=Y,X=Z.pending,X!==null&&(Y=X.next,Y===X?Z.pending=null:(Y=Y.next,X.next=Y,C1(Z,Y)))}function JM(Z,X,Y){var J=Z.pending;if(Z.pending=null,J!==null){J=J.next;do X.status="rejected",X.reason=Y,$1(X),X=X.next;while(X!==J)}Z.action=null}function $1(Z){Z=Z.listeners;for(var X=0;X<Z.length;X++)(0,Z[X])()}function S1(Z,X){return X}function oH(Z,X){if(QX){var Y=RX.formState;if(Y!==null){Z:{var J=bZ;if(QX){if($X){X:{var G=$X;for(var z=nQ;G.nodeType!==8;){if(!z){G=null;break X}if(G=wQ(G.nextSibling),G===null){G=null;break X}}z=G.data,G=z===v9||z===LT?G:null}if(G){$X=wQ(G.nextSibling),J=G.data===v9;break Z}}zG(J)}J=!1}J&&(X=Y[0])}}return Y=mY(),Y.memoizedState=Y.baseState=X,J={pending:null,lanes:0,dispatch:null,lastRenderedReducer:S1,lastRenderedState:X},Y.queue=J,Y=u1.bind(null,bZ,J),J.dispatch=Y,J=XM(!1),z=FM.bind(null,bZ,!1,J.queue),J=mY(),G={state:X,dispatch:null,action:Z,pending:null},J.queue=G,Y=RD.bind(null,bZ,G,z,Y),G.dispatch=Y,J.memoizedState=Z,[X,Y,!1]}function mB(Z){var X=FX();return E1(X,VX,Z)}function E1(Z,X,Y){if(X=eF(Z,X,S1)[0],Z=aH(UJ)[0],typeof X==="object"&&X!==null&&typeof X.then==="function")try{var J=ZU(X)}catch(U){if(U===P_)throw dL;throw U}else J=X;X=FX();var G=X.queue,z=G.dispatch;return Y!==X.memoizedState&&(bZ.flags|=2048,rH(oQ|iY,{destroy:void 0},jD.bind(null,G,Y),null)),[J,z,Z]}function jD(Z,X){Z.action=X}function fB(Z){var X=FX(),Y=VX;if(Y!==null)return E1(X,Y,Z);FX(),X=X.memoizedState,Y=FX();var J=Y.queue.dispatch;return Y.memoizedState=Z,[X,J,!1]}function rH(Z,X,Y,J){return Z={tag:Z,create:Y,deps:J,inst:X,next:null},X=bZ.updateQueue,X===null&&(X=bB(),bZ.updateQueue=X),Y=X.lastEffect,Y===null?X.lastEffect=Z.next=Z:(J=Y.next,Y.next=Z,Z.next=J,X.lastEffect=Z),Z}function qM(Z){var X=mY();return Z={current:Z},X.memoizedState=Z}function Sz(Z,X,Y,J){var G=mY();bZ.flags|=Z,G.memoizedState=rH(oQ|X,{destroy:void 0},Y,J===void 0?null:J)}function rY(Z,X,Y,J){var G=FX();J=J===void 0?null:J;var z=G.memoizedState.inst;VX!==null&&J!==null&&iF(J,VX.memoizedState.deps)?G.memoizedState=rH(X,z,Y,J):(bZ.flags|=Z,G.memoizedState=rH(oQ|X,z,Y,J))}function uB(Z,X){(bZ.mode&AJ)!==hZ?Sz(276826112,iY,Z,X):Sz(8390656,iY,Z,X)}function CD(Z){bZ.flags|=4;var X=bZ.updateQueue;if(X===null)X=bB(),bZ.updateQueue=X,X.events=[Z];else{var Y=X.events;Y===null?X.events=[Z]:Y.push(Z)}}function GM(Z){var X=mY(),Y={impl:Z};return X.memoizedState=Y,function(){if((HX&_Y)!==AY)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Y.impl.apply(void 0,arguments)}}function dB(Z){var X=FX().memoizedState;return CD({ref:X,nextImpl:Z}),function(){if((HX&_Y)!==AY)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return X.impl.apply(void 0,arguments)}}function zM(Z,X){var Y=4194308;return(bZ.mode&AJ)!==hZ&&(Y|=134217728),Sz(Y,DQ,Z,X)}function k1(Z,X){if(typeof X==="function"){Z=Z();var Y=X(Z);return function(){typeof Y==="function"?Y():X(null)}}if(X!==null&&X!==void 0)return X.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(X).join(", ")+"}"),Z=Z(),X.current=Z,function(){X.current=null}}function HM(Z,X,Y){typeof X!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",X!==null?typeof X:"null"),Y=Y!==null&&Y!==void 0?Y.concat([Z]):null;var J=4194308;(bZ.mode&AJ)!==hZ&&(J|=134217728),Sz(J,DQ,k1.bind(null,X,Z),Y)}function cB(Z,X,Y){typeof X!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",X!==null?typeof X:"null"),Y=Y!==null&&Y!==void 0?Y.concat([Z]):null,rY(4,DQ,k1.bind(null,X,Z),Y)}function _M(Z,X){return mY().memoizedState=[Z,X===void 0?null:X],Z}function pB(Z,X){var Y=FX();X=X===void 0?null:X;var J=Y.memoizedState;if(X!==null&&iF(X,J[1]))return J[0];return Y.memoizedState=[Z,X],Z}function WM(Z,X){var Y=mY();X=X===void 0?null:X;var J=Z();if(iz){jX(!0);try{Z()}finally{jX(!1)}}return Y.memoizedState=[J,X],J}function lB(Z,X){var Y=FX();X=X===void 0?null:X;var J=Y.memoizedState;if(X!==null&&iF(X,J[1]))return J[0];if(J=Z(),iz){jX(!0);try{Z()}finally{jX(!1)}}return Y.memoizedState=[J,X],J}function UM(Z,X){var Y=mY();return KM(Y,Z,X)}function x1(Z,X){var Y=FX();return v1(Y,VX.memoizedState,Z,X)}function y1(Z,X){var Y=FX();return VX===null?KM(Y,Z,X):v1(Y,VX.memoizedState,Z,X)}function KM(Z,X,Y){if(Y===void 0||(hq&1073741824)!==0&&(sZ&261930)===0)return Z.memoizedState=X;return Z.memoizedState=Y,Z=h4(),bZ.lanes|=Z,vG|=Z,Y}function v1(Z,X,Y,J){if(cY(Y,X))return Y;if($_.current!==null)return Z=KM(Z,Y,J),cY(Z,X)||(ZY=!0),Z;if((hq&42)===0||(hq&1073741824)!==0&&(sZ&261930)===0)return ZY=!0,Z.memoizedState=Y;return Z=h4(),bZ.lanes|=Z,vG|=Z,X}function iB(){s.asyncTransitions--}function h1(Z,X,Y,J,G){var z=OX.p;OX.p=z!==0&&z<LJ?z:LJ;var U=s.T,B={};B._updatedFibers=new Set,s.T=B,FM(Z,!1,X,Y);try{var F=G(),T=s.S;if(T!==null&&T(B,F),F!==null&&typeof F==="object"&&typeof F.then==="function"){s.asyncTransitions++,F.then(iB,iB);var x=TD(F,J);YU(Z,X,x,TQ(Z))}else YU(Z,X,J,TQ(Z))}catch(y){YU(Z,X,{then:function(){},status:"rejected",reason:y},TQ(Z))}finally{OX.p=z,U!==null&&B.types!==null&&(U.types!==null&&U.types!==B.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."),U.types=B.types),s.T=U,U===null&&B._updatedFibers&&(Z=B._updatedFibers.size,B._updatedFibers.clear(),10<Z&&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 BM(Z,X,Y,J){if(Z.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var G=b1(Z).queue;ND(Z),h1(Z,G,X,QH,Y===null?I:function(){return g1(Z),Y(J)})}function b1(Z){var X=Z.memoizedState;if(X!==null)return X;X={memoizedState:QH,baseState:QH,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:UJ,lastRenderedState:QH},next:null};var Y={};return X.next={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:UJ,lastRenderedState:Y},next:null},Z.memoizedState=X,Z=Z.alternate,Z!==null&&(Z.memoizedState=X),X}function g1(Z){s.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var X=b1(Z);X.next===null&&(X=Z.alternate.memoizedState),YU(Z,X.next.queue,{},TQ(Z))}function LM(){var Z=XM(!1);return Z=h1.bind(null,bZ,Z.queue,!0,!1),mY().memoizedState=Z,[!1,Z]}function m1(){var Z=aH(UJ)[0],X=FX().memoizedState;return[typeof Z==="boolean"?Z:ZU(Z),X]}function f1(){var Z=XU(UJ)[0],X=FX().memoizedState;return[typeof Z==="boolean"?Z:ZU(Z),X]}function Ez(){return kX(UK)}function AM(){var Z=mY(),X=RX.identifierPrefix;if(QX){var Y=Eq,J=Sq;Y=(J&~(1<<32-fY(J)-1)).toString(32)+Y,X="_"+X+"R_"+Y,Y=nL++,0<Y&&(X+="H"+Y.toString(32)),X+="_"}else Y=qE++,X="_"+X+"r_"+Y.toString(32)+"_";return Z.memoizedState=X}function OM(){return mY().memoizedState=PD.bind(null,bZ)}function PD(Z,X){for(var Y=Z.return;Y!==null;){switch(Y.tag){case 24:case 3:var J=TQ(Y),G=WG(J),z=UG(Y,G,J);z!==null&&(vJ(J,"refresh()",Z),gX(z,Y,J),rW(z,Y,J)),Z=hF(),X!==null&&X!==void 0&&z!==null&&console.error("The seed argument is not enabled outside experimental channels."),G.payload={cache:Z};return}Y=Y.return}}function DD(Z,X,Y){var J=arguments;typeof J[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()."),J=TQ(Z);var G={lane:J,revertLane:0,gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null};nB(Z)?d1(X,G):(G=RF(Z,X,G,J),G!==null&&(vJ(J,"dispatch()",Z),gX(G,Z,J),c1(G,X,J)))}function u1(Z,X,Y){var J=arguments;typeof J[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()."),J=TQ(Z),YU(Z,X,Y,J)&&vJ(J,"setState()",Z)}function YU(Z,X,Y,J){var G={lane:J,revertLane:0,gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null};if(nB(Z))d1(X,G);else{var z=Z.alternate;if(Z.lanes===0&&(z===null||z.lanes===0)&&(z=X.lastRenderedReducer,z!==null)){var U=s.H;s.H=FJ;try{var B=X.lastRenderedState,F=z(B,Y);if(G.hasEagerState=!0,G.eagerState=F,cY(F,B))return NB(Z,X,G,0),RX===null&&MB(),!1}catch(T){}finally{s.H=U}}if(Y=RF(Z,X,G,J),Y!==null)return gX(Y,Z,J),c1(Y,X,J),!0}return!1}function FM(Z,X,Y,J){if(s.T===null&&uz===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."),J={lane:2,revertLane:nM(),gesture:null,action:J,hasEagerState:!1,eagerState:null,next:null},nB(Z)){if(X)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else X=RF(Z,Y,J,2),X!==null&&(vJ(2,"setOptimistic()",Z),gX(X,Z,2))}function nB(Z){var X=Z.alternate;return Z===bZ||X!==null&&X===bZ}function d1(Z,X){k_=iL=!0;var Y=Z.pending;Y===null?X.next=X:(X.next=Y.next,Y.next=X),Z.pending=X}function c1(Z,X,Y){if((Y&4194048)!==0){var J=X.lanes;J&=Z.pendingLanes,Y|=J,X.lanes=Y,Fz(Z,Y)}}function MM(Z){if(Z!==null&&typeof Z!=="function"){var X=String(Z);fI.has(X)||(fI.add(X),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",Z))}}function NM(Z,X,Y,J){var G=Z.memoizedState,z=Y(J,G);if(Z.mode&gY){jX(!0);try{z=Y(J,G)}finally{jX(!1)}}z===void 0&&(X=l(X)||"Component",hI.has(X)||(hI.add(X),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",X))),G=z===null||z===void 0?G:rZ({},G,z),Z.memoizedState=G,Z.lanes===0&&(Z.updateQueue.baseState=G)}function p1(Z,X,Y,J,G,z,U){var B=Z.stateNode;if(typeof B.shouldComponentUpdate==="function"){if(Y=B.shouldComponentUpdate(J,z,U),Z.mode&gY){jX(!0);try{Y=B.shouldComponentUpdate(J,z,U)}finally{jX(!1)}}return Y===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",l(X)||"Component"),Y}return X.prototype&&X.prototype.isPureReactComponent?!pW(Y,J)||!pW(G,z):!0}function l1(Z,X,Y,J){var G=X.state;typeof X.componentWillReceiveProps==="function"&&X.componentWillReceiveProps(Y,J),typeof X.UNSAFE_componentWillReceiveProps==="function"&&X.UNSAFE_componentWillReceiveProps(Y,J),X.state!==G&&(Z=n(Z)||"Component",EI.has(Z)||(EI.add(Z),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Z)),B9.enqueueReplaceState(X,X.state,null))}function kz(Z,X){var Y=X;if("ref"in X){Y={};for(var J in X)J!=="ref"&&(Y[J]=X[J])}if(Z=Z.defaultProps){Y===X&&(Y=rZ({},Y));for(var G in Z)Y[G]===void 0&&(Y[G]=Z[G])}return Y}function i1(Z){p0(Z),console.warn(`%s
121
121
 
122
122
  %s
123
123
  `,x_?"An error occurred in the <"+x_+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
@@ -131,22 +131,22 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
131
131
  %s
132
132
 
133
133
  %s
134
- `,Z,X,Y)}function s1(Z){p0(Z)}function sB(Z,X){try{x_=X.source?n(X.source):null,L9=null;var Y=X.value;if(s.actQueue!==null)s.thrownErrors.push(Y);else{var J=Z.onUncaughtError;J(Y,{componentStack:X.stack})}}catch(G){setTimeout(function(){throw G})}}function a1(Z,X,Y){try{x_=Y.source?n(Y.source):null,L9=n(X);var J=Z.onCaughtError;J(Y.value,{componentStack:Y.stack,errorBoundary:X.tag===1?X.stateNode:null})}catch(G){setTimeout(function(){throw G})}}function IM(Z,X,Y){return Y=WG(Y),Y.tag=H9,Y.payload={element:null},Y.callback=function(){UZ(X.source,sB,Z,X)},Y}function TM(Z){return Z=WG(Z),Z.tag=H9,Z}function wM(Z,X,Y,J){var G=Y.type.getDerivedStateFromError;if(typeof G==="function"){var H=J.value;Z.payload=function(){return G(H)},Z.callback=function(){d8(Y),UZ(J.source,a1,X,Y,J)}}var U=Y.stateNode;U!==null&&typeof U.componentDidCatch==="function"&&(Z.callback=function(){d8(Y),UZ(J.source,a1,X,Y,J),typeof G!=="function"&&(bG===null?bG=new Set([this]):bG.add(this)),XE(this,J),typeof G==="function"||(Y.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.",n(Y)||"Unknown")})}function $D(Z,X,Y,J,G){if(Y.flags|=32768,tJ&&WU(Z,G),J!==null&&typeof J==="object"&&typeof J.then==="function"){if(X=Y.alternate,X!==null&&nz(X,Y,G,!0),QX&&(Xq=!0),Y=PQ.current,Y!==null){switch(Y.tag){case 31:case 13:return aQ===null?QL():Y.alternate===null&&bX===fq&&(bX=oL),Y.flags&=-257,Y.flags|=65536,Y.lanes=G,J===cL?Y.flags|=16384:(X=Y.updateQueue,X===null?Y.updateQueue=new Set([J]):X.add(J),cM(Z,J,G)),!1;case 22:return Y.flags|=65536,J===cL?Y.flags|=16384:(X=Y.updateQueue,X===null?(X={transitions:null,markerInstances:null,retryQueue:new Set([J])},Y.updateQueue=X):(Y=X.retryQueue,Y===null?X.retryQueue=new Set([J]):Y.add(J)),cM(Z,J,G)),!1}throw Error("Unexpected Suspense handler tag ("+Y.tag+"). This is a bug in React.")}return cM(Z,J,G),QL(),!1}if(QX)return Xq=!0,X=PQ.current,X!==null?((X.flags&65536)===0&&(X.flags|=256),X.flags|=65536,X.lanes=G,J!==o0&&iW(FQ(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:J}),Y))):(J!==o0&&iW(FQ(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:J}),Y)),Z=Z.current.alternate,Z.flags|=65536,G&=-G,Z.lanes|=G,J=FQ(J,Y),G=IM(Z.stateNode,J,G),yB(Z,G),bX!==xG&&(bX=nH)),!1;var H=FQ(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:J}),Y);if(YK===null?YK=[H]:YK.push(H),bX!==xG&&(bX=nH),X===null)return!0;J=FQ(J,Y),Y=X;do{switch(Y.tag){case 3:return Y.flags|=65536,Z=G&-G,Y.lanes|=Z,Z=IM(Y.stateNode,J,Z),yB(Y,Z),!1;case 1:if(X=Y.type,H=Y.stateNode,(Y.flags&128)===0&&(typeof X.getDerivedStateFromError==="function"||H!==null&&typeof H.componentDidCatch==="function"&&(bG===null||!bG.has(H))))return Y.flags|=65536,G&=-G,Y.lanes|=G,G=TM(G),wM(G,Z,Y,J),yB(Y,G),!1}Y=Y.return}while(Y!==null);return!1}function wY(Z,X,Y,J){X.child=Z===null?II(X,null,Y,J):lH(X,Z.child,Y,J)}function o1(Z,X,Y,J,G){Y=Y.render;var H=X.ref;if("ref"in J){var U={};for(var B in J)B!=="ref"&&(U[B]=J[B])}else U=J;if(PH(X),J=nF(Z,X,Y,U,H,G),B=aF(),Z!==null&&!ZY)return oF(Z,X,G),Rq(Z,X,G);return QX&&B&&SF(X),X.flags|=1,wY(Z,X,J,G),X.child}function r1(Z,X,Y,J,G){if(Z===null){var H=Y.type;if(typeof H==="function"&&!CF(H)&&H.defaultProps===void 0&&Y.compare===null)return Y=VH(H),X.tag=15,X.type=Y,RM(X,H),t1(Z,X,Y,J,G);return Z=PF(Y.type,null,J,X,X.mode,G),Z.ref=X.ref,Z.return=X,X.child=Z}if(H=Z.child,!SM(Z,G)){var U=H.memoizedProps;if(Y=Y.compare,Y=Y!==null?Y:pW,Y(U,J)&&Z.ref===X.ref)return Rq(Z,X,G)}return X.flags|=1,Z=Iq(H,J),Z.ref=X.ref,Z.return=X,X.child=Z}function t1(Z,X,Y,J,G){if(Z!==null){var H=Z.memoizedProps;if(pW(H,J)&&Z.ref===X.ref&&X.type===Z.type)if(ZY=!1,X.pendingProps=J=H,SM(Z,G))(Z.flags&131072)!==0&&(ZY=!0);else return X.lanes=Z.lanes,Rq(Z,X,G)}return VM(Z,X,Y,J,G)}function e1(Z,X,Y,J){var G=J.children,H=Z!==null?Z.memoizedState:null;if(Z===null&&X.stateNode===null&&(X.stateNode={_visibility:EU,_pendingMarkers:null,_retryCache:null,_transitions:null}),J.mode==="hidden"){if((X.flags&128)!==0){if(H=H!==null?H.baseLanes|Y:Y,Z!==null){J=X.child=Z.child;for(G=0;J!==null;)G=G|J.lanes|J.childLanes,J=J.sibling;J=G&~H}else J=0,X.child=null;return Z4(Z,X,H,Y,J)}if((Y&536870912)!==0)X.memoizedState={baseLanes:0,cachePool:null},Z!==null&&DB(X,H!==null?H.cachePool:null),H!==null?A1(X,H):cF(X),O1(X);else return J=X.lanes=536870912,Z4(Z,X,H!==null?H.baseLanes|Y:Y,Y,J)}else H!==null?(DB(X,H.cachePool),A1(X,H),BG(X),X.memoizedState=null):(Z!==null&&DB(X,null),cF(X),BG(X));return wY(Z,X,G,Y),X.child}function QU(Z,X){return Z!==null&&Z.tag===22||X.stateNode!==null||(X.stateNode={_visibility:EU,_pendingMarkers:null,_retryCache:null,_transitions:null}),X.sibling}function Z4(Z,X,Y,J,G){var H=mF();return H=H===null?null:{parent:rX._currentValue,pool:H},X.memoizedState={baseLanes:Y,cachePool:H},Z!==null&&DB(X,null),cF(X),O1(X),Z!==null&&nz(Z,X,J,!0),X.childLanes=G,null}function aB(Z,X){var Y=X.hidden;return Y!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
134
+ `,Z,X,Y)}function s1(Z){p0(Z)}function sB(Z,X){try{x_=X.source?n(X.source):null,L9=null;var Y=X.value;if(s.actQueue!==null)s.thrownErrors.push(Y);else{var J=Z.onUncaughtError;J(Y,{componentStack:X.stack})}}catch(G){setTimeout(function(){throw G})}}function a1(Z,X,Y){try{x_=Y.source?n(Y.source):null,L9=n(X);var J=Z.onCaughtError;J(Y.value,{componentStack:Y.stack,errorBoundary:X.tag===1?X.stateNode:null})}catch(G){setTimeout(function(){throw G})}}function IM(Z,X,Y){return Y=WG(Y),Y.tag=z9,Y.payload={element:null},Y.callback=function(){UZ(X.source,sB,Z,X)},Y}function TM(Z){return Z=WG(Z),Z.tag=z9,Z}function wM(Z,X,Y,J){var G=Y.type.getDerivedStateFromError;if(typeof G==="function"){var z=J.value;Z.payload=function(){return G(z)},Z.callback=function(){d8(Y),UZ(J.source,a1,X,Y,J)}}var U=Y.stateNode;U!==null&&typeof U.componentDidCatch==="function"&&(Z.callback=function(){d8(Y),UZ(J.source,a1,X,Y,J),typeof G!=="function"&&(bG===null?bG=new Set([this]):bG.add(this)),XE(this,J),typeof G==="function"||(Y.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.",n(Y)||"Unknown")})}function $D(Z,X,Y,J,G){if(Y.flags|=32768,tJ&&WU(Z,G),J!==null&&typeof J==="object"&&typeof J.then==="function"){if(X=Y.alternate,X!==null&&nH(X,Y,G,!0),QX&&(Xq=!0),Y=PQ.current,Y!==null){switch(Y.tag){case 31:case 13:return aQ===null?QL():Y.alternate===null&&bX===fq&&(bX=oL),Y.flags&=-257,Y.flags|=65536,Y.lanes=G,J===cL?Y.flags|=16384:(X=Y.updateQueue,X===null?Y.updateQueue=new Set([J]):X.add(J),cM(Z,J,G)),!1;case 22:return Y.flags|=65536,J===cL?Y.flags|=16384:(X=Y.updateQueue,X===null?(X={transitions:null,markerInstances:null,retryQueue:new Set([J])},Y.updateQueue=X):(Y=X.retryQueue,Y===null?X.retryQueue=new Set([J]):Y.add(J)),cM(Z,J,G)),!1}throw Error("Unexpected Suspense handler tag ("+Y.tag+"). This is a bug in React.")}return cM(Z,J,G),QL(),!1}if(QX)return Xq=!0,X=PQ.current,X!==null?((X.flags&65536)===0&&(X.flags|=256),X.flags|=65536,X.lanes=G,J!==o0&&iW(FQ(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:J}),Y))):(J!==o0&&iW(FQ(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:J}),Y)),Z=Z.current.alternate,Z.flags|=65536,G&=-G,Z.lanes|=G,J=FQ(J,Y),G=IM(Z.stateNode,J,G),yB(Z,G),bX!==xG&&(bX=nz)),!1;var z=FQ(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:J}),Y);if(YK===null?YK=[z]:YK.push(z),bX!==xG&&(bX=nz),X===null)return!0;J=FQ(J,Y),Y=X;do{switch(Y.tag){case 3:return Y.flags|=65536,Z=G&-G,Y.lanes|=Z,Z=IM(Y.stateNode,J,Z),yB(Y,Z),!1;case 1:if(X=Y.type,z=Y.stateNode,(Y.flags&128)===0&&(typeof X.getDerivedStateFromError==="function"||z!==null&&typeof z.componentDidCatch==="function"&&(bG===null||!bG.has(z))))return Y.flags|=65536,G&=-G,Y.lanes|=G,G=TM(G),wM(G,Z,Y,J),yB(Y,G),!1}Y=Y.return}while(Y!==null);return!1}function VY(Z,X,Y,J){X.child=Z===null?II(X,null,Y,J):lz(X,Z.child,Y,J)}function o1(Z,X,Y,J,G){Y=Y.render;var z=X.ref;if("ref"in J){var U={};for(var B in J)B!=="ref"&&(U[B]=J[B])}else U=J;if(Pz(X),J=nF(Z,X,Y,U,z,G),B=aF(),Z!==null&&!ZY)return oF(Z,X,G),Rq(Z,X,G);return QX&&B&&SF(X),X.flags|=1,VY(Z,X,J,G),X.child}function r1(Z,X,Y,J,G){if(Z===null){var z=Y.type;if(typeof z==="function"&&!CF(z)&&z.defaultProps===void 0&&Y.compare===null)return Y=Vz(z),X.tag=15,X.type=Y,RM(X,z),t1(Z,X,Y,J,G);return Z=PF(Y.type,null,J,X,X.mode,G),Z.ref=X.ref,Z.return=X,X.child=Z}if(z=Z.child,!SM(Z,G)){var U=z.memoizedProps;if(Y=Y.compare,Y=Y!==null?Y:pW,Y(U,J)&&Z.ref===X.ref)return Rq(Z,X,G)}return X.flags|=1,Z=Iq(z,J),Z.ref=X.ref,Z.return=X,X.child=Z}function t1(Z,X,Y,J,G){if(Z!==null){var z=Z.memoizedProps;if(pW(z,J)&&Z.ref===X.ref&&X.type===Z.type)if(ZY=!1,X.pendingProps=J=z,SM(Z,G))(Z.flags&131072)!==0&&(ZY=!0);else return X.lanes=Z.lanes,Rq(Z,X,G)}return VM(Z,X,Y,J,G)}function e1(Z,X,Y,J){var G=J.children,z=Z!==null?Z.memoizedState:null;if(Z===null&&X.stateNode===null&&(X.stateNode={_visibility:EU,_pendingMarkers:null,_retryCache:null,_transitions:null}),J.mode==="hidden"){if((X.flags&128)!==0){if(z=z!==null?z.baseLanes|Y:Y,Z!==null){J=X.child=Z.child;for(G=0;J!==null;)G=G|J.lanes|J.childLanes,J=J.sibling;J=G&~z}else J=0,X.child=null;return Z4(Z,X,z,Y,J)}if((Y&536870912)!==0)X.memoizedState={baseLanes:0,cachePool:null},Z!==null&&DB(X,z!==null?z.cachePool:null),z!==null?A1(X,z):cF(X),O1(X);else return J=X.lanes=536870912,Z4(Z,X,z!==null?z.baseLanes|Y:Y,Y,J)}else z!==null?(DB(X,z.cachePool),A1(X,z),BG(X),X.memoizedState=null):(Z!==null&&DB(X,null),cF(X),BG(X));return VY(Z,X,G,Y),X.child}function QU(Z,X){return Z!==null&&Z.tag===22||X.stateNode!==null||(X.stateNode={_visibility:EU,_pendingMarkers:null,_retryCache:null,_transitions:null}),X.sibling}function Z4(Z,X,Y,J,G){var z=mF();return z=z===null?null:{parent:rX._currentValue,pool:z},X.memoizedState={baseLanes:Y,cachePool:z},Z!==null&&DB(X,null),cF(X),O1(X),Z!==null&&nH(Z,X,J,!0),X.childLanes=G,null}function aB(Z,X){var Y=X.hidden;return Y!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
135
135
  - <Activity %s>
136
- + <Activity %s>`,Y===!0?"hidden":Y===!1?"hidden={false}":"hidden={...}",Y?'mode="hidden"':'mode="visible"'),X=rB({mode:X.mode,children:X.children},Z.mode),X.ref=Z.ref,Z.child=X,X.return=Z,X}function X4(Z,X,Y){return lH(X,Z.child,null,Y),Z=aB(X,X.pendingProps),Z.flags|=2,IQ(X),X.memoizedState=null,Z}function SD(Z,X,Y){var J=X.pendingProps,G=(X.flags&128)!==0;if(X.flags&=-129,Z===null){if(QX){if(J.mode==="hidden")return Z=aB(X,J),X.lanes=536870912,QU(null,Z);if(lF(X),(Z=$X)?(Y=CN(Z,nQ),Y=Y!==null&&Y.data===eH?Y:null,Y!==null&&(J={dehydrated:Y,treeContext:n8(),retryLane:536870912,hydrationErrors:null},X.memoizedState=J,J=l8(Y),J.return=X,X.child=J,jY=X,$X=null)):Y=null,Y===null)throw wB(X,Z),HG(X);return X.lanes=536870912,null}return aB(X,J)}var H=Z.memoizedState;if(H!==null){var U=H.dehydrated;if(lF(X),G)if(X.flags&256)X.flags&=-257,X=X4(Z,X,Y);else if(X.memoizedState!==null)X.child=Z.child,X.flags|=128,X=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(a8(),(Y&536870912)!==0&&YL(X),ZY||nz(Z,X,Y,!1),G=(Y&Z.childLanes)!==0,ZY||G){if(J=RX,J!==null&&(U=MH(J,Y),U!==0&&U!==H.retryLane))throw H.retryLane=U,hY(Z,U),gX(J,Z,U),A9;QL(),X=X4(Z,X,Y)}else Z=H.treeContext,$X=wQ(U.nextSibling),jY=X,QX=!0,CG=null,Xq=!1,CQ=null,nQ=!1,Z!==null&&s8(X,Z),X=aB(X,J),X.flags|=4096;return X}return H=Z.child,J={mode:J.mode,children:J.children},(Y&536870912)!==0&&(Y&Z.lanes)!==0&&YL(X),Z=Iq(H,J),Z.ref=X.ref,X.child=Z,Z.return=X,Z}function oB(Z,X){var Y=X.ref;if(Y===null)Z!==null&&Z.ref!==null&&(X.flags|=4194816);else{if(typeof Y!=="function"&&typeof Y!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if(Z===null||Z.ref!==Y)X.flags|=4194816}}function VM(Z,X,Y,J,G){if(Y.prototype&&typeof Y.prototype.render==="function"){var H=l(Y)||"Unknown";uI[H]||(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.",H,H),uI[H]=!0)}if(X.mode&gY&&OJ.recordLegacyContextWarning(X,null),Z===null&&(RM(X,X.type),Y.contextTypes&&(H=l(Y)||"Unknown",cI[H]||(cI[H]=!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)",H)))),PH(X),Y=nF(Z,X,Y,J,void 0,G),J=aF(),Z!==null&&!ZY)return oF(Z,X,G),Rq(Z,X,G);return QX&&J&&SF(X),X.flags|=1,wY(Z,X,Y,G),X.child}function Y4(Z,X,Y,J,G,H){if(PH(X),gq=-1,aU=Z!==null&&Z.type!==X.type,X.updateQueue=null,Y=sF(X,J,Y,G),F1(Z,X),J=aF(),Z!==null&&!ZY)return oF(Z,X,H),Rq(Z,X,H);return QX&&J&&SF(X),X.flags|=1,wY(Z,X,Y,H),X.child}function Q4(Z,X,Y,J,G){switch(A(X)){case!1:var H=X.stateNode,U=new X.type(X.memoizedProps,H.context).state;H.updater.enqueueSetState(H,U,null);break;case!0:X.flags|=128,X.flags|=65536,H=Error("Simulated error coming from DevTools");var B=G&-G;if(X.lanes|=B,U=RX,U===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");B=TM(B),wM(B,U,X,FQ(H,X)),yB(X,B)}if(PH(X),X.stateNode===null){if(U=jG,H=Y.contextType,"contextType"in Y&&H!==null&&(H===void 0||H.$$typeof!==aJ)&&!mI.has(Y)&&(mI.add(Y),B=H===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 H!=="object"?" However, it is set to a "+typeof H+".":H.$$typeof===O0?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(H).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",l(Y)||"Component",B)),typeof H==="object"&&H!==null&&(U=kX(H)),H=new Y(J,U),X.mode&gY){jX(!0);try{H=new Y(J,U)}finally{jX(!1)}}if(U=X.memoizedState=H.state!==null&&H.state!==void 0?H.state:null,H.updater=B9,X.stateNode=H,H._reactInternals=X,H._reactInternalInstance=SI,typeof Y.getDerivedStateFromProps==="function"&&U===null&&(U=l(Y)||"Component",kI.has(U)||(kI.add(U),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",U,H.state===null?"null":"undefined",U))),typeof Y.getDerivedStateFromProps==="function"||typeof H.getSnapshotBeforeUpdate==="function"){var F=B=U=null;if(typeof H.componentWillMount==="function"&&H.componentWillMount.__suppressDeprecationWarning!==!0?U="componentWillMount":typeof H.UNSAFE_componentWillMount==="function"&&(U="UNSAFE_componentWillMount"),typeof H.componentWillReceiveProps==="function"&&H.componentWillReceiveProps.__suppressDeprecationWarning!==!0?B="componentWillReceiveProps":typeof H.UNSAFE_componentWillReceiveProps==="function"&&(B="UNSAFE_componentWillReceiveProps"),typeof H.componentWillUpdate==="function"&&H.componentWillUpdate.__suppressDeprecationWarning!==!0?F="componentWillUpdate":typeof H.UNSAFE_componentWillUpdate==="function"&&(F="UNSAFE_componentWillUpdate"),U!==null||B!==null||F!==null){H=l(Y)||"Component";var T=typeof Y.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";yI.has(H)||(yI.add(H),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
136
+ + <Activity %s>`,Y===!0?"hidden":Y===!1?"hidden={false}":"hidden={...}",Y?'mode="hidden"':'mode="visible"'),X=rB({mode:X.mode,children:X.children},Z.mode),X.ref=Z.ref,Z.child=X,X.return=Z,X}function X4(Z,X,Y){return lz(X,Z.child,null,Y),Z=aB(X,X.pendingProps),Z.flags|=2,IQ(X),X.memoizedState=null,Z}function SD(Z,X,Y){var J=X.pendingProps,G=(X.flags&128)!==0;if(X.flags&=-129,Z===null){if(QX){if(J.mode==="hidden")return Z=aB(X,J),X.lanes=536870912,QU(null,Z);if(lF(X),(Z=$X)?(Y=CN(Z,nQ),Y=Y!==null&&Y.data===ez?Y:null,Y!==null&&(J={dehydrated:Y,treeContext:n8(),retryLane:536870912,hydrationErrors:null},X.memoizedState=J,J=l8(Y),J.return=X,X.child=J,CY=X,$X=null)):Y=null,Y===null)throw wB(X,Z),zG(X);return X.lanes=536870912,null}return aB(X,J)}var z=Z.memoizedState;if(z!==null){var U=z.dehydrated;if(lF(X),G)if(X.flags&256)X.flags&=-257,X=X4(Z,X,Y);else if(X.memoizedState!==null)X.child=Z.child,X.flags|=128,X=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(a8(),(Y&536870912)!==0&&YL(X),ZY||nH(Z,X,Y,!1),G=(Y&Z.childLanes)!==0,ZY||G){if(J=RX,J!==null&&(U=Mz(J,Y),U!==0&&U!==z.retryLane))throw z.retryLane=U,hY(Z,U),gX(J,Z,U),A9;QL(),X=X4(Z,X,Y)}else Z=z.treeContext,$X=wQ(U.nextSibling),CY=X,QX=!0,CG=null,Xq=!1,CQ=null,nQ=!1,Z!==null&&s8(X,Z),X=aB(X,J),X.flags|=4096;return X}return z=Z.child,J={mode:J.mode,children:J.children},(Y&536870912)!==0&&(Y&Z.lanes)!==0&&YL(X),Z=Iq(z,J),Z.ref=X.ref,X.child=Z,Z.return=X,Z}function oB(Z,X){var Y=X.ref;if(Y===null)Z!==null&&Z.ref!==null&&(X.flags|=4194816);else{if(typeof Y!=="function"&&typeof Y!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if(Z===null||Z.ref!==Y)X.flags|=4194816}}function VM(Z,X,Y,J,G){if(Y.prototype&&typeof Y.prototype.render==="function"){var z=l(Y)||"Unknown";uI[z]||(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.",z,z),uI[z]=!0)}if(X.mode&gY&&OJ.recordLegacyContextWarning(X,null),Z===null&&(RM(X,X.type),Y.contextTypes&&(z=l(Y)||"Unknown",cI[z]||(cI[z]=!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)",z)))),Pz(X),Y=nF(Z,X,Y,J,void 0,G),J=aF(),Z!==null&&!ZY)return oF(Z,X,G),Rq(Z,X,G);return QX&&J&&SF(X),X.flags|=1,VY(Z,X,Y,G),X.child}function Y4(Z,X,Y,J,G,z){if(Pz(X),gq=-1,aU=Z!==null&&Z.type!==X.type,X.updateQueue=null,Y=sF(X,J,Y,G),F1(Z,X),J=aF(),Z!==null&&!ZY)return oF(Z,X,z),Rq(Z,X,z);return QX&&J&&SF(X),X.flags|=1,VY(Z,X,Y,z),X.child}function Q4(Z,X,Y,J,G){switch(A(X)){case!1:var z=X.stateNode,U=new X.type(X.memoizedProps,z.context).state;z.updater.enqueueSetState(z,U,null);break;case!0:X.flags|=128,X.flags|=65536,z=Error("Simulated error coming from DevTools");var B=G&-G;if(X.lanes|=B,U=RX,U===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");B=TM(B),wM(B,U,X,FQ(z,X)),yB(X,B)}if(Pz(X),X.stateNode===null){if(U=jG,z=Y.contextType,"contextType"in Y&&z!==null&&(z===void 0||z.$$typeof!==aJ)&&!mI.has(Y)&&(mI.add(Y),B=z===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 z!=="object"?" However, it is set to a "+typeof z+".":z.$$typeof===O0?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(z).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",l(Y)||"Component",B)),typeof z==="object"&&z!==null&&(U=kX(z)),z=new Y(J,U),X.mode&gY){jX(!0);try{z=new Y(J,U)}finally{jX(!1)}}if(U=X.memoizedState=z.state!==null&&z.state!==void 0?z.state:null,z.updater=B9,X.stateNode=z,z._reactInternals=X,z._reactInternalInstance=SI,typeof Y.getDerivedStateFromProps==="function"&&U===null&&(U=l(Y)||"Component",kI.has(U)||(kI.add(U),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",U,z.state===null?"null":"undefined",U))),typeof Y.getDerivedStateFromProps==="function"||typeof z.getSnapshotBeforeUpdate==="function"){var F=B=U=null;if(typeof z.componentWillMount==="function"&&z.componentWillMount.__suppressDeprecationWarning!==!0?U="componentWillMount":typeof z.UNSAFE_componentWillMount==="function"&&(U="UNSAFE_componentWillMount"),typeof z.componentWillReceiveProps==="function"&&z.componentWillReceiveProps.__suppressDeprecationWarning!==!0?B="componentWillReceiveProps":typeof z.UNSAFE_componentWillReceiveProps==="function"&&(B="UNSAFE_componentWillReceiveProps"),typeof z.componentWillUpdate==="function"&&z.componentWillUpdate.__suppressDeprecationWarning!==!0?F="componentWillUpdate":typeof z.UNSAFE_componentWillUpdate==="function"&&(F="UNSAFE_componentWillUpdate"),U!==null||B!==null||F!==null){z=l(Y)||"Component";var T=typeof Y.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";yI.has(z)||(yI.add(z),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
137
137
 
138
138
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
139
139
 
140
140
  The above lifecycles should be removed. Learn more about this warning here:
141
- https://react.dev/link/unsafe-component-lifecycles`,H,T,U!==null?`
141
+ https://react.dev/link/unsafe-component-lifecycles`,z,T,U!==null?`
142
142
  `+U:"",B!==null?`
143
143
  `+B:"",F!==null?`
144
- `+F:""))}}H=X.stateNode,U=l(Y)||"Component",H.render||(Y.prototype&&typeof Y.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",U):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",U)),!H.getInitialState||H.getInitialState.isReactClassApproved||H.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",U),H.getDefaultProps&&!H.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",U),H.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",U),Y.childContextTypes&&!gI.has(Y)&&(gI.add(Y),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",U)),Y.contextTypes&&!bI.has(Y)&&(bI.add(Y),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",U)),typeof H.componentShouldUpdate==="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",U),Y.prototype&&Y.prototype.isPureReactComponent&&typeof H.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.",l(Y)||"A pure component"),typeof H.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",U),typeof H.componentDidReceiveProps==="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",U),typeof H.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",U),typeof H.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",U),B=H.props!==J,H.props!==void 0&&B&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",U),H.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",U,U),typeof H.getSnapshotBeforeUpdate!=="function"||typeof H.componentDidUpdate==="function"||xI.has(Y)||(xI.add(Y),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",l(Y))),typeof H.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",U),typeof H.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",U),typeof Y.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",U),(B=H.state)&&(typeof B!=="object"||HY(B))&&console.error("%s.state: must be set to an object or null",U),typeof H.getChildContext==="function"&&typeof Y.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",U),H=X.stateNode,H.props=J,H.state=X.memoizedState,H.refs={},uF(X),U=Y.contextType,H.context=typeof U==="object"&&U!==null?kX(U):jG,H.state===J&&(U=l(Y)||"Component",vI.has(U)||(vI.add(U),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",U))),X.mode&gY&&OJ.recordLegacyContextWarning(X,H),OJ.recordUnsafeLifecycleWarnings(X,H),H.state=X.memoizedState,U=Y.getDerivedStateFromProps,typeof U==="function"&&(NM(X,Y,U,J),H.state=X.memoizedState),typeof Y.getDerivedStateFromProps==="function"||typeof H.getSnapshotBeforeUpdate==="function"||typeof H.UNSAFE_componentWillMount!=="function"&&typeof H.componentWillMount!=="function"||(U=H.state,typeof H.componentWillMount==="function"&&H.componentWillMount(),typeof H.UNSAFE_componentWillMount==="function"&&H.UNSAFE_componentWillMount(),U!==H.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",n(X)||"Component"),B9.enqueueReplaceState(H,H.state,null)),eW(X,J,H,G),tW(),H.state=X.memoizedState),typeof H.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&AJ)!==hZ&&(X.flags|=134217728),H=!0}else if(Z===null){H=X.stateNode;var x=X.memoizedProps;B=kH(Y,x),H.props=B;var y=H.context;F=Y.contextType,U=jG,typeof F==="object"&&F!==null&&(U=kX(F)),T=Y.getDerivedStateFromProps,F=typeof T==="function"||typeof H.getSnapshotBeforeUpdate==="function",x=X.pendingProps!==x,F||typeof H.UNSAFE_componentWillReceiveProps!=="function"&&typeof H.componentWillReceiveProps!=="function"||(x||y!==U)&&l1(X,H,J,U),kG=!1;var $=X.memoizedState;H.state=$,eW(X,J,H,G),tW(),y=X.memoizedState,x||$!==y||kG?(typeof T==="function"&&(NM(X,Y,T,J),y=X.memoizedState),(B=kG||p1(X,Y,B,J,$,y,U))?(F||typeof H.UNSAFE_componentWillMount!=="function"&&typeof H.componentWillMount!=="function"||(typeof H.componentWillMount==="function"&&H.componentWillMount(),typeof H.UNSAFE_componentWillMount==="function"&&H.UNSAFE_componentWillMount()),typeof H.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&AJ)!==hZ&&(X.flags|=134217728)):(typeof H.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&AJ)!==hZ&&(X.flags|=134217728),X.memoizedProps=J,X.memoizedState=y),H.props=J,H.state=y,H.context=U,H=B):(typeof H.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&AJ)!==hZ&&(X.flags|=134217728),H=!1)}else{H=X.stateNode,dF(Z,X),U=X.memoizedProps,F=kH(Y,U),H.props=F,T=X.pendingProps,$=H.context,y=Y.contextType,B=jG,typeof y==="object"&&y!==null&&(B=kX(y)),x=Y.getDerivedStateFromProps,(y=typeof x==="function"||typeof H.getSnapshotBeforeUpdate==="function")||typeof H.UNSAFE_componentWillReceiveProps!=="function"&&typeof H.componentWillReceiveProps!=="function"||(U!==T||$!==B)&&l1(X,H,J,B),kG=!1,$=X.memoizedState,H.state=$,eW(X,J,H,G),tW();var c=X.memoizedState;U!==T||$!==c||kG||Z!==null&&Z.dependencies!==null&&RB(Z.dependencies)?(typeof x==="function"&&(NM(X,Y,x,J),c=X.memoizedState),(F=kG||p1(X,Y,F,J,$,c,B)||Z!==null&&Z.dependencies!==null&&RB(Z.dependencies))?(y||typeof H.UNSAFE_componentWillUpdate!=="function"&&typeof H.componentWillUpdate!=="function"||(typeof H.componentWillUpdate==="function"&&H.componentWillUpdate(J,c,B),typeof H.UNSAFE_componentWillUpdate==="function"&&H.UNSAFE_componentWillUpdate(J,c,B)),typeof H.componentDidUpdate==="function"&&(X.flags|=4),typeof H.getSnapshotBeforeUpdate==="function"&&(X.flags|=1024)):(typeof H.componentDidUpdate!=="function"||U===Z.memoizedProps&&$===Z.memoizedState||(X.flags|=4),typeof H.getSnapshotBeforeUpdate!=="function"||U===Z.memoizedProps&&$===Z.memoizedState||(X.flags|=1024),X.memoizedProps=J,X.memoizedState=c),H.props=J,H.state=c,H.context=B,H=F):(typeof H.componentDidUpdate!=="function"||U===Z.memoizedProps&&$===Z.memoizedState||(X.flags|=4),typeof H.getSnapshotBeforeUpdate!=="function"||U===Z.memoizedProps&&$===Z.memoizedState||(X.flags|=1024),H=!1)}if(B=H,oB(Z,X),U=(X.flags&128)!==0,B||U){if(B=X.stateNode,KQ(X),U&&typeof Y.getDerivedStateFromError!=="function")Y=null,pY=-1;else if(Y=GI(B),X.mode&gY){jX(!0);try{GI(B)}finally{jX(!1)}}X.flags|=1,Z!==null&&U?(X.child=lH(X,Z.child,null,G),X.child=lH(X,null,Y,G)):wY(Z,X,Y,G),X.memoizedState=B.state,Z=X.child}else Z=Rq(Z,X,G);return G=X.stateNode,H&&G.props!==J&&(y_||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",n(X)||"a component"),y_=!0),Z}function J4(Z,X,Y,J){return CH(),X.flags|=256,wY(Z,X,Y,J),X.child}function RM(Z,X){X&&X.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
145
- %s.childContextTypes = ...`,X.displayName||X.name||"Component"),typeof X.getDerivedStateFromProps==="function"&&(Z=l(X)||"Unknown",pI[Z]||(console.error("%s: Function components do not support getDerivedStateFromProps.",Z),pI[Z]=!0)),typeof X.contextType==="object"&&X.contextType!==null&&(X=l(X)||"Unknown",dI[X]||(console.error("%s: Function components do not support contextType.",X),dI[X]=!0))}function jM(Z){return{baseLanes:Z,cachePool:Y1()}}function CM(Z,X,Y){return Z=Z!==null?Z.childLanes&~Y:0,X&&(Z|=YQ),Z}function q4(Z,X,Y){var J,G=X.pendingProps;K(X)&&(X.flags|=128);var H=!1,U=(X.flags&128)!==0;if((J=U)||(J=Z!==null&&Z.memoizedState===null?!1:(nX.current&nU)!==0),J&&(H=!0,X.flags&=-129),J=(X.flags&32)!==0,X.flags&=-33,Z===null){if(QX){if(H?KG(X):BG(X),(Z=$X)?(Y=CN(Z,nQ),Y=Y!==null&&Y.data!==eH?Y:null,Y!==null&&(J={dehydrated:Y,treeContext:n8(),retryLane:536870912,hydrationErrors:null},X.memoizedState=J,J=l8(Y),J.return=X,X.child=J,jY=X,$X=null)):Y=null,Y===null)throw wB(X,Z),HG(X);return q0(Y)?X.lanes=32:X.lanes=536870912,null}var B=G.children;if(G=G.fallback,H){BG(X);var F=X.mode;return B=rB({mode:"hidden",children:B},F),G=RH(G,F,Y,null),B.return=X,G.return=X,B.sibling=G,X.child=B,G=X.child,G.memoizedState=jM(Y),G.childLanes=CM(Z,J,Y),X.memoizedState=O9,QU(null,G)}return KG(X),PM(X,B)}var T=Z.memoizedState;if(T!==null){var x=T.dehydrated;if(x!==null){if(U)X.flags&256?(KG(X),X.flags&=-257,X=DM(Z,X,Y)):X.memoizedState!==null?(BG(X),X.child=Z.child,X.flags|=128,X=null):(BG(X),B=G.fallback,F=X.mode,G=rB({mode:"visible",children:G.children},F),B=RH(B,F,Y,null),B.flags|=2,G.return=X,B.return=X,G.sibling=B,X.child=G,lH(X,Z.child,null,Y),G=X.child,G.memoizedState=jM(Y),G.childLanes=CM(Z,J,Y),X.memoizedState=O9,X=QU(null,G));else if(KG(X),a8(),(Y&536870912)!==0&&YL(X),q0(x)){if(J=x.nextSibling&&x.nextSibling.dataset,J){B=J.dgst;var y=J.msg;F=J.stck;var $=J.cstck}H=y,J=B,G=F,x=$,B=H,F=x,B=B?Error(B):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),B.stack=G||"",B.digest=J,J=F===void 0?null:F,G={value:B,source:null,stack:J},typeof J==="string"&&a0.set(B,G),iW(G),X=DM(Z,X,Y)}else if(ZY||nz(Z,X,Y,!1),J=(Y&Z.childLanes)!==0,ZY||J){if(J=RX,J!==null&&(G=MH(J,Y),G!==0&&G!==T.retryLane))throw T.retryLane=G,hY(Z,G),gX(J,Z,G),A9;J0(x)||QL(),X=DM(Z,X,Y)}else J0(x)?(X.flags|=192,X.child=Z.child,X=null):(Z=T.treeContext,$X=wQ(x.nextSibling),jY=X,QX=!0,CG=null,Xq=!1,CQ=null,nQ=!1,Z!==null&&s8(X,Z),X=PM(X,G.children),X.flags|=4096);return X}}if(H)return BG(X),B=G.fallback,F=X.mode,$=Z.child,x=$.sibling,G=Iq($,{mode:"hidden",children:G.children}),G.subtreeFlags=$.subtreeFlags&65011712,x!==null?B=Iq(x,B):(B=RH(B,F,Y,null),B.flags|=2),B.return=X,G.return=X,G.sibling=B,X.child=G,QU(null,G),G=X.child,B=Z.child.memoizedState,B===null?B=jM(Y):(F=B.cachePool,F!==null?($=rX._currentValue,F=F.parent!==$?{parent:$,pool:$}:F):F=Y1(),B={baseLanes:B.baseLanes|Y,cachePool:F}),G.memoizedState=B,G.childLanes=CM(Z,J,Y),X.memoizedState=O9,QU(Z.child,G);return T!==null&&(Y&62914560)===Y&&(Y&Z.lanes)!==0&&YL(X),KG(X),Y=Z.child,Z=Y.sibling,Y=Iq(Y,{mode:"visible",children:G.children}),Y.return=X,Y.sibling=null,Z!==null&&(J=X.deletions,J===null?(X.deletions=[Z],X.flags|=16):J.push(Z)),X.child=Y,X.memoizedState=null,Y}function PM(Z,X){return X=rB({mode:"visible",children:X},Z.mode),X.return=Z,Z.child=X}function rB(Z,X){return Z=R(22,Z,null,X),Z.lanes=0,Z}function DM(Z,X,Y){return lH(X,Z.child,null,Y),Z=PM(X,X.pendingProps.children),Z.flags|=2,X.memoizedState=null,Z}function G4(Z,X,Y){Z.lanes|=X;var J=Z.alternate;J!==null&&(J.lanes|=X),yF(Z.return,X,Y)}function $M(Z,X,Y,J,G,H){var U=Z.memoizedState;U===null?Z.memoizedState={isBackwards:X,rendering:null,renderingStartTime:0,last:J,tail:Y,tailMode:G,treeForkCount:H}:(U.isBackwards=X,U.rendering=null,U.renderingStartTime=0,U.last=J,U.tail=Y,U.tailMode=G,U.treeForkCount=H)}function H4(Z,X,Y){var J=X.pendingProps,G=J.revealOrder,H=J.tail,U=J.children,B=nX.current;if((J=(B&nU)!==0)?(B=B&S_|nU,X.flags|=128):B&=S_,HZ(nX,B,X),B=G==null?"null":G,G!=="forwards"&&G!=="unstable_legacy-backwards"&&G!=="together"&&G!=="independent"&&!lI[B])if(lI[B]=!0,G==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(G==="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 G==="string")switch(G.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.',G,G.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.',G,G.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',G)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',G);if(B=H==null?"null":H,!aL[B])if(H==null){if(G==="forwards"||G==="backwards"||G==="unstable_legacy-backwards")aL[B]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')}else H!=="visible"&&H!=="collapsed"&&H!=="hidden"?(aL[B]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',H)):G!=="forwards"&&G!=="backwards"&&G!=="unstable_legacy-backwards"&&(aL[B]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',H));Z:if((G==="forwards"||G==="backwards"||G==="unstable_legacy-backwards")&&U!==void 0&&U!==null&&U!==!1)if(HY(U)){for(B=0;B<U.length;B++)if(!K1(U[B],B))break Z}else if(B=JZ(U),typeof B==="function"){if(B=B.call(U))for(var F=B.next(),T=0;!F.done;F=B.next()){if(!K1(F.value,T))break Z;T++}}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?',G);if(wY(Z,X,U,Y),QX?(GG(),U=kU):U=0,!J&&Z!==null&&(Z.flags&128)!==0)Z:for(Z=X.child;Z!==null;){if(Z.tag===13)Z.memoizedState!==null&&G4(Z,Y,X);else if(Z.tag===19)G4(Z,Y,X);else if(Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===X)break Z;for(;Z.sibling===null;){if(Z.return===null||Z.return===X)break Z;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}switch(G){case"forwards":Y=X.child;for(G=null;Y!==null;)Z=Y.alternate,Z!==null&&vB(Z)===null&&(G=Y),Y=Y.sibling;Y=G,Y===null?(G=X.child,X.child=null):(G=Y.sibling,Y.sibling=null),$M(X,!1,G,Y,H,U);break;case"backwards":case"unstable_legacy-backwards":Y=null,G=X.child;for(X.child=null;G!==null;){if(Z=G.alternate,Z!==null&&vB(Z)===null){X.child=G;break}Z=G.sibling,G.sibling=Y,Y=G,G=Z}$M(X,!0,Y,null,H,U);break;case"together":$M(X,!1,null,null,void 0,U);break;default:X.memoizedState=null}return X.child}function Rq(Z,X,Y){if(Z!==null&&(X.dependencies=Z.dependencies),pY=-1,vG|=X.lanes,(Y&X.childLanes)===0)if(Z!==null){if(nz(Z,X,Y,!1),(Y&X.childLanes)===0)return null}else return null;if(Z!==null&&X.child!==Z.child)throw Error("Resuming work not yet implemented.");if(X.child!==null){Z=X.child,Y=Iq(Z,Z.pendingProps),X.child=Y;for(Y.return=X;Z.sibling!==null;)Z=Z.sibling,Y=Y.sibling=Iq(Z,Z.pendingProps),Y.return=X;Y.sibling=null}return X.child}function SM(Z,X){if((Z.lanes&X)!==0)return!0;return Z=Z.dependencies,Z!==null&&RB(Z)?!0:!1}function ED(Z,X,Y){switch(X.tag){case 3:m(X,X.stateNode.containerInfo),zG(X,rX,Z.memoizedState.cache),CH();break;case 27:case 5:e(X);break;case 4:m(X,X.stateNode.containerInfo);break;case 10:zG(X,X.type,X.memoizedProps.value);break;case 12:(Y&X.childLanes)!==0&&(X.flags|=4),X.flags|=2048;var J=X.stateNode;J.effectDuration=-0,J.passiveEffectDuration=-0;break;case 31:if(X.memoizedState!==null)return X.flags|=128,lF(X),null;break;case 13:if(J=X.memoizedState,J!==null){if(J.dehydrated!==null)return KG(X),X.flags|=128,null;if((Y&X.child.childLanes)!==0)return q4(Z,X,Y);return KG(X),Z=Rq(Z,X,Y),Z!==null?Z.sibling:null}KG(X);break;case 19:var G=(Z.flags&128)!==0;if(J=(Y&X.childLanes)!==0,J||(nz(Z,X,Y,!1),J=(Y&X.childLanes)!==0),G){if(J)return H4(Z,X,Y);X.flags|=128}if(G=X.memoizedState,G!==null&&(G.rendering=null,G.tail=null,G.lastEffect=null),HZ(nX,nX.current,X),J)break;else return null;case 22:return X.lanes=0,e1(Z,X,Y,X.pendingProps);case 24:zG(X,rX,Z.memoizedState.cache)}return Rq(Z,X,Y)}function EM(Z,X,Y){if(X._debugNeedsRemount&&Z!==null){Y=PF(X.type,X.key,X.pendingProps,X._debugOwner||null,X.mode,X.lanes),Y._debugStack=X._debugStack,Y._debugTask=X._debugTask;var J=X.return;if(J===null)throw Error("Cannot swap the root fiber.");if(Z.alternate=null,X.alternate=null,Y.index=X.index,Y.sibling=X.sibling,Y.return=X.return,Y.ref=X.ref,Y._debugInfo=X._debugInfo,X===J.child)J.child=Y;else{var G=J.child;if(G===null)throw Error("Expected parent to have a child.");for(;G.sibling!==X;)if(G=G.sibling,G===null)throw Error("Expected to find the previous sibling.");G.sibling=Y}return X=J.deletions,X===null?(J.deletions=[Z],J.flags|=16):X.push(Z),Y.flags|=2,Y}if(Z!==null)if(Z.memoizedProps!==X.pendingProps||X.type!==Z.type)ZY=!0;else{if(!SM(Z,Y)&&(X.flags&128)===0)return ZY=!1,ED(Z,X,Y);ZY=(Z.flags&131072)!==0?!0:!1}else{if(ZY=!1,J=QX)GG(),J=(X.flags&1048576)!==0;J&&(J=X.index,GG(),i8(X,kU,J))}switch(X.lanes=0,X.tag){case 16:Z:if(J=X.pendingProps,Z=_G(X.elementType),X.type=Z,typeof Z==="function")CF(Z)?(J=kH(Z,J),X.tag=1,X.type=Z=VH(Z),X=Q4(null,X,Z,J,Y)):(X.tag=0,RM(X,Z),X.type=Z=VH(Z),X=VM(null,X,Z,J,Y));else{if(Z!==void 0&&Z!==null){if(G=Z.$$typeof,G===NU){X.tag=11,X.type=Z=jF(Z),X=o1(null,X,Z,J,Y);break Z}else if(G===FL){X.tag=14,X=r1(null,X,Z,J,Y);break Z}}throw X="",Z!==null&&typeof Z==="object"&&Z.$$typeof===VQ&&(X=" Did you wrap a component in React.lazy() more than once?"),Y=l(Z)||Z,Error("Element type is invalid. Received a promise that resolves to: "+Y+". Lazy element type must resolve to a class or function."+X)}return X;case 0:return VM(Z,X,X.type,X.pendingProps,Y);case 1:return J=X.type,G=kH(J,X.pendingProps),Q4(Z,X,J,G,Y);case 3:Z:{if(m(X,X.stateNode.containerInfo),Z===null)throw Error("Should have a current fiber. This is a bug in React.");J=X.pendingProps;var H=X.memoizedState;G=H.element,dF(Z,X),eW(X,J,null,Y);var U=X.memoizedState;if(J=U.cache,zG(X,rX,J),J!==H.cache&&vF(X,[rX],Y,!0),tW(),J=U.element,H.isDehydrated)if(H={element:J,isDehydrated:!1,cache:U.cache},X.updateQueue.baseState=H,X.memoizedState=H,X.flags&256){X=J4(Z,X,J,Y);break Z}else if(J!==G){G=FQ(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),X),iW(G),X=J4(Z,X,J,Y);break Z}else{switch(Z=X.stateNode.containerInfo,Z.nodeType){case 9:Z=Z.body;break;default:Z=Z.nodeName==="HTML"?Z.ownerDocument.body:Z}$X=wQ(Z.firstChild),jY=X,QX=!0,CG=null,Xq=!1,CQ=null,nQ=!0,Y=II(X,null,J,Y);for(X.child=Y;Y;)Y.flags=Y.flags&-3|4096,Y=Y.sibling}else{if(CH(),J===G){X=Rq(Z,X,Y);break Z}wY(Z,X,J,Y)}X=X.child}return X;case 26:return oB(Z,X),Z===null?(Y=kN(X.type,null,X.pendingProps,null))?X.memoizedState=Y:QX||(Y=X.type,Z=X.pendingProps,J=v(NG.current),J=HL(J).createElement(Y),J[RY]=X,J[uY]=Z,VY(J,Y,Z),SZ(J),X.stateNode=J):X.memoizedState=kN(X.type,Z.memoizedProps,X.pendingProps,Z.memoizedState),null;case 27:return e(X),Z===null&&QX&&(J=v(NG.current),G=g(),J=X.stateNode=SN(X.type,X.pendingProps,J,G,!1),Xq||(G=MN(J,X.type,X.pendingProps,G),G!==null&&(jH(X,0).serverProps=G)),jY=X,nQ=!0,G=$X,FG(X.type)?(m9=G,$X=wQ(J.firstChild)):$X=G),wY(Z,X,X.pendingProps.children,Y),oB(Z,X),Z===null&&(X.flags|=4194304),X.child;case 5:return Z===null&&QX&&(H=g(),J=FF(X.type,H.ancestorInfo),G=$X,(U=!G)||(U=N$(G,X.type,X.pendingProps,nQ),U!==null?(X.stateNode=U,Xq||(H=MN(U,X.type,X.pendingProps,H),H!==null&&(jH(X,0).serverProps=H)),jY=X,$X=wQ(U.firstChild),nQ=!1,H=!0):H=!1,U=!H),U&&(J&&wB(X,G),HG(X))),e(X),G=X.type,H=X.pendingProps,U=Z!==null?Z.memoizedProps:null,J=H.children,Y0(G,H)?J=null:U!==null&&Y0(G,U)&&(X.flags|=32),X.memoizedState!==null&&(G=nF(Z,X,VD,null,null,Y),UK._currentValue=G),oB(Z,X),wY(Z,X,J,Y),X.child;case 6:return Z===null&&QX&&(Y=X.pendingProps,Z=g(),J=Z.ancestorInfo.current,Y=J!=null?KB(Y,J.tag,Z.ancestorInfo.implicitRootScope):!0,Z=$X,(J=!Z)||(J=I$(Z,X.pendingProps,nQ),J!==null?(X.stateNode=J,jY=X,$X=null,J=!0):J=!1,J=!J),J&&(Y&&wB(X,Z),HG(X))),null;case 13:return q4(Z,X,Y);case 4:return m(X,X.stateNode.containerInfo),J=X.pendingProps,Z===null?X.child=lH(X,null,J,Y):wY(Z,X,J,Y),X.child;case 11:return o1(Z,X,X.type,X.pendingProps,Y);case 7:return wY(Z,X,X.pendingProps,Y),X.child;case 8:return wY(Z,X,X.pendingProps.children,Y),X.child;case 12:return X.flags|=4,X.flags|=2048,J=X.stateNode,J.effectDuration=-0,J.passiveEffectDuration=-0,wY(Z,X,X.pendingProps.children,Y),X.child;case 10:return J=X.type,G=X.pendingProps,H=G.value,"value"in G||iI||(iI=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),zG(X,J,H),wY(Z,X,G.children,Y),X.child;case 9:return G=X.type._context,J=X.pendingProps.children,typeof J!=="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."),PH(X),G=kX(G),J=Q9(J,G,void 0),X.flags|=1,wY(Z,X,J,Y),X.child;case 14:return r1(Z,X,X.type,X.pendingProps,Y);case 15:return t1(Z,X,X.type,X.pendingProps,Y);case 19:return H4(Z,X,Y);case 31:return SD(Z,X,Y);case 22:return e1(Z,X,Y,X.pendingProps);case 24:return PH(X),J=kX(rX),Z===null?(G=mF(),G===null&&(G=RX,H=hF(),G.pooledCache=H,DH(H),H!==null&&(G.pooledCacheLanes|=Y),G=H),X.memoizedState={parent:J,cache:G},uF(X),zG(X,rX,G)):((Z.lanes&Y)!==0&&(dF(Z,X),eW(X,null,null,Y),tW()),G=Z.memoizedState,H=X.memoizedState,G.parent!==J?(G={parent:J,cache:J},X.memoizedState=G,X.lanes===0&&(X.memoizedState=X.updateQueue.baseState=G),zG(X,rX,J)):(J=H.cache,zG(X,rX,J),J!==G.cache&&vF(X,[rX],Y,!0))),wY(Z,X,X.pendingProps.children,Y),X.child;case 29:throw X.pendingProps}throw Error("Unknown unit of work tag ("+X.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function jq(Z){Z.flags|=4}function kM(Z,X,Y,J,G){if(X=(Z.mode&rS)!==hZ)X=!1;if(X){if(Z.flags|=16777216,(G&335544128)===G)if(Z.stateNode.complete)Z.flags|=8192;else if(f4())Z.flags|=8192;else throw pH=cL,q9}else Z.flags&=-16777217}function z4(Z,X){if(X.type!=="stylesheet"||(X.state.loading&tQ)!==Yz)Z.flags&=-16777217;else if(Z.flags|=16777216,!bN(X))if(f4())Z.flags|=8192;else throw pH=cL,q9}function tB(Z,X){X!==null&&(Z.flags|=4),Z.flags&16384&&(X=Z.tag!==22?uz():536870912,Z.lanes|=X,oH|=X)}function JU(Z,X){if(!QX)switch(Z.tailMode){case"hidden":X=Z.tail;for(var Y=null;X!==null;)X.alternate!==null&&(Y=X),X=X.sibling;Y===null?Z.tail=null:Y.sibling=null;break;case"collapsed":Y=Z.tail;for(var J=null;Y!==null;)Y.alternate!==null&&(J=Y),Y=Y.sibling;J===null?X||Z.tail===null?Z.tail=null:Z.tail.sibling=null:J.sibling=null}}function CX(Z){var X=Z.alternate!==null&&Z.alternate.child===Z.child,Y=0,J=0;if(X)if((Z.mode&iZ)!==hZ){for(var{selfBaseDuration:G,child:H}=Z;H!==null;)Y|=H.lanes|H.childLanes,J|=H.subtreeFlags&65011712,J|=H.flags&65011712,G+=H.treeBaseDuration,H=H.sibling;Z.treeBaseDuration=G}else for(G=Z.child;G!==null;)Y|=G.lanes|G.childLanes,J|=G.subtreeFlags&65011712,J|=G.flags&65011712,G.return=Z,G=G.sibling;else if((Z.mode&iZ)!==hZ){G=Z.actualDuration,H=Z.selfBaseDuration;for(var U=Z.child;U!==null;)Y|=U.lanes|U.childLanes,J|=U.subtreeFlags,J|=U.flags,G+=U.actualDuration,H+=U.treeBaseDuration,U=U.sibling;Z.actualDuration=G,Z.treeBaseDuration=H}else for(G=Z.child;G!==null;)Y|=G.lanes|G.childLanes,J|=G.subtreeFlags,J|=G.flags,G.return=Z,G=G.sibling;return Z.subtreeFlags|=J,Z.childLanes=Y,X}function kD(Z,X,Y){var J=X.pendingProps;switch(EF(X),X.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return CX(X),null;case 1:return CX(X),null;case 3:if(Y=X.stateNode,J=null,Z!==null&&(J=Z.memoizedState.cache),X.memoizedState.cache!==J&&(X.flags|=2048),wq(rX,X),E(X),Y.pendingContext&&(Y.context=Y.pendingContext,Y.pendingContext=null),Z===null||Z.child===null)iz(X)?(xF(),jq(X)):Z===null||Z.memoizedState.isDehydrated&&(X.flags&256)===0||(X.flags|=1024,kF());return CX(X),null;case 26:var{type:G,memoizedState:H}=X;return Z===null?(jq(X),H!==null?(CX(X),z4(X,H)):(CX(X),kM(X,G,null,J,Y))):H?H!==Z.memoizedState?(jq(X),CX(X),z4(X,H)):(CX(X),X.flags&=-16777217):(Z=Z.memoizedProps,Z!==J&&jq(X),CX(X),kM(X,G,Z,J,Y)),null;case 27:if(p(X),Y=v(NG.current),G=X.type,Z!==null&&X.stateNode!=null)Z.memoizedProps!==J&&jq(X);else{if(!J){if(X.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 CX(X),null}Z=g(),iz(X)?o8(X,Z):(Z=SN(G,J,Y,Z,!0),X.stateNode=Z,jq(X))}return CX(X),null;case 5:if(p(X),G=X.type,Z!==null&&X.stateNode!=null)Z.memoizedProps!==J&&jq(X);else{if(!J){if(X.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 CX(X),null}var U=g();if(iz(X))o8(X,U);else{switch(H=v(NG.current),FF(G,U.ancestorInfo),U=U.context,H=HL(H),U){case d_:H=H.createElementNS(K_,G);break;case AA:H=H.createElementNS(RL,G);break;default:switch(G){case"svg":H=H.createElementNS(K_,G);break;case"math":H=H.createElementNS(RL,G);break;case"script":H=H.createElement("div"),H.innerHTML="<script></script>",H=H.removeChild(H.firstChild);break;case"select":H=typeof J.is==="string"?H.createElement("select",{is:J.is}):H.createElement("select"),J.multiple?H.multiple=!0:J.size&&(H.size=J.size);break;default:H=typeof J.is==="string"?H.createElement(G,{is:J.is}):H.createElement(G),G.indexOf("-")===-1&&(G!==G.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",G),Object.prototype.toString.call(H)!=="[object HTMLUnknownElement]"||BJ.call(OT,G)||(OT[G]=!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.",G)))}}H[RY]=X,H[uY]=J;Z:for(U=X.child;U!==null;){if(U.tag===5||U.tag===6)H.appendChild(U.stateNode);else if(U.tag!==4&&U.tag!==27&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===X)break Z;for(;U.sibling===null;){if(U.return===null||U.return===X)break Z;U=U.return}U.sibling.return=U.return,U=U.sibling}X.stateNode=H;Z:switch(VY(H,G,J),G){case"button":case"input":case"select":case"textarea":J=!!J.autoFocus;break Z;case"img":J=!0;break Z;default:J=!1}J&&jq(X)}}return CX(X),kM(X,X.type,Z===null?null:Z.memoizedProps,X.pendingProps,Y),null;case 6:if(Z&&X.stateNode!=null)Z.memoizedProps!==J&&jq(X);else{if(typeof J!=="string"&&X.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(Z=v(NG.current),Y=g(),iz(X)){if(Z=X.stateNode,Y=X.memoizedProps,G=!Xq,J=null,H=jY,H!==null)switch(H.tag){case 3:G&&(G=DN(Z,Y,J),G!==null&&(jH(X,0).serverProps=G));break;case 27:case 5:J=H.memoizedProps,G&&(G=DN(Z,Y,J),G!==null&&(jH(X,0).serverProps=G))}Z[RY]=X,Z=Z.nodeValue===Y||J!==null&&J.suppressHydrationWarning===!0||BN(Z.nodeValue,Y)?!0:!1,Z||HG(X,!0)}else G=Y.ancestorInfo.current,G!=null&&KB(J,G.tag,Y.ancestorInfo.implicitRootScope),Z=HL(Z).createTextNode(J),Z[RY]=X,X.stateNode=Z}return CX(X),null;case 31:if(Y=X.memoizedState,Z===null||Z.memoizedState!==null){if(J=iz(X),Y!==null){if(Z===null){if(!J)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(Z=X.memoizedState,Z=Z!==null?Z.dehydrated:null,!Z)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");Z[RY]=X,CX(X),(X.mode&iZ)!==hZ&&Y!==null&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration))}else xF(),CH(),(X.flags&128)===0&&(Y=X.memoizedState=null),X.flags|=4,CX(X),(X.mode&iZ)!==hZ&&Y!==null&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration));Z=!1}else Y=kF(),Z!==null&&Z.memoizedState!==null&&(Z.memoizedState.hydrationErrors=Y),Z=!0;if(!Z){if(X.flags&256)return IQ(X),X;return IQ(X),null}if((X.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return CX(X),null;case 13:if(J=X.memoizedState,Z===null||Z.memoizedState!==null&&Z.memoizedState.dehydrated!==null){if(G=J,H=iz(X),G!==null&&G.dehydrated!==null){if(Z===null){if(!H)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(H=X.memoizedState,H=H!==null?H.dehydrated:null,!H)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");H[RY]=X,CX(X),(X.mode&iZ)!==hZ&&G!==null&&(G=X.child,G!==null&&(X.treeBaseDuration-=G.treeBaseDuration))}else xF(),CH(),(X.flags&128)===0&&(G=X.memoizedState=null),X.flags|=4,CX(X),(X.mode&iZ)!==hZ&&G!==null&&(G=X.child,G!==null&&(X.treeBaseDuration-=G.treeBaseDuration));G=!1}else G=kF(),Z!==null&&Z.memoizedState!==null&&(Z.memoizedState.hydrationErrors=G),G=!0;if(!G){if(X.flags&256)return IQ(X),X;return IQ(X),null}}if(IQ(X),(X.flags&128)!==0)return X.lanes=Y,(X.mode&iZ)!==hZ&&aW(X),X;return Y=J!==null,Z=Z!==null&&Z.memoizedState!==null,Y&&(J=X.child,G=null,J.alternate!==null&&J.alternate.memoizedState!==null&&J.alternate.memoizedState.cachePool!==null&&(G=J.alternate.memoizedState.cachePool.pool),H=null,J.memoizedState!==null&&J.memoizedState.cachePool!==null&&(H=J.memoizedState.cachePool.pool),H!==G&&(J.flags|=2048)),Y!==Z&&Y&&(X.child.flags|=8192),tB(X,X.updateQueue),CX(X),(X.mode&iZ)!==hZ&&Y&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration)),null;case 4:return E(X),Z===null&&aM(X.stateNode.containerInfo),CX(X),null;case 10:return wq(X.type,X),CX(X),null;case 19:if(WZ(nX,X),J=X.memoizedState,J===null)return CX(X),null;if(G=(X.flags&128)!==0,H=J.rendering,H===null)if(G)JU(J,!1);else{if(bX!==fq||Z!==null&&(Z.flags&128)!==0)for(Z=X.child;Z!==null;){if(H=vB(Z),H!==null){X.flags|=128,JU(J,!1),Z=H.updateQueue,X.updateQueue=Z,tB(X,Z),X.subtreeFlags=0,Z=Y;for(Y=X.child;Y!==null;)p8(Y,Z),Y=Y.sibling;return HZ(nX,nX.current&S_|nU,X),QX&&Tq(X,J.treeForkCount),X.child}Z=Z.sibling}J.tail!==null&&KY()>YA&&(X.flags|=128,G=!0,JU(J,!1),X.lanes=4194304)}else{if(!G)if(Z=vB(H),Z!==null){if(X.flags|=128,G=!0,Z=Z.updateQueue,X.updateQueue=Z,tB(X,Z),JU(J,!0),J.tail===null&&J.tailMode==="hidden"&&!H.alternate&&!QX)return CX(X),null}else 2*KY()-J.renderingStartTime>YA&&Y!==536870912&&(X.flags|=128,G=!0,JU(J,!1),X.lanes=4194304);J.isBackwards?(H.sibling=X.child,X.child=H):(Z=J.last,Z!==null?Z.sibling=H:X.child=H,J.last=H)}if(J.tail!==null)return Z=J.tail,J.rendering=Z,J.tail=Z.sibling,J.renderingStartTime=KY(),Z.sibling=null,Y=nX.current,Y=G?Y&S_|nU:Y&S_,HZ(nX,Y,X),QX&&Tq(X,J.treeForkCount),Z;return CX(X),null;case 22:case 23:return IQ(X),pF(X),J=X.memoizedState!==null,Z!==null?Z.memoizedState!==null!==J&&(X.flags|=8192):J&&(X.flags|=8192),J?(Y&536870912)!==0&&(X.flags&128)===0&&(CX(X),X.subtreeFlags&6&&(X.flags|=8192)):CX(X),Y=X.updateQueue,Y!==null&&tB(X,Y.retryQueue),Y=null,Z!==null&&Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(Y=Z.memoizedState.cachePool.pool),J=null,X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(J=X.memoizedState.cachePool.pool),J!==Y&&(X.flags|=2048),Z!==null&&WZ(dH,X),null;case 24:return Y=null,Z!==null&&(Y=Z.memoizedState.cache),X.memoizedState.cache!==Y&&(X.flags|=2048),wq(rX,X),CX(X),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+X.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function xD(Z,X){switch(EF(X),X.tag){case 1:return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==hZ&&aW(X),X):null;case 3:return wq(rX,X),E(X),Z=X.flags,(Z&65536)!==0&&(Z&128)===0?(X.flags=Z&-65537|128,X):null;case 26:case 27:case 5:return p(X),null;case 31:if(X.memoizedState!==null){if(IQ(X),X.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");CH()}return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==hZ&&aW(X),X):null;case 13:if(IQ(X),Z=X.memoizedState,Z!==null&&Z.dehydrated!==null){if(X.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");CH()}return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==hZ&&aW(X),X):null;case 19:return WZ(nX,X),null;case 4:return E(X),null;case 10:return wq(X.type,X),null;case 22:case 23:return IQ(X),pF(X),Z!==null&&WZ(dH,X),Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==hZ&&aW(X),X):null;case 24:return wq(rX,X),null;case 25:return null;default:return null}}function _4(Z,X){switch(EF(X),X.tag){case 3:wq(rX,X),E(X);break;case 26:case 27:case 5:p(X);break;case 4:E(X);break;case 31:X.memoizedState!==null&&IQ(X);break;case 13:IQ(X);break;case 19:WZ(nX,X);break;case 10:wq(X.type,X);break;case 22:case 23:IQ(X),pF(X),Z!==null&&WZ(dH,X);break;case 24:wq(rX,X)}}function dJ(Z){return(Z.mode&iZ)!==hZ}function W4(Z,X){dJ(Z)?(uJ(),qU(X,Z),fJ()):qU(X,Z)}function xM(Z,X,Y){dJ(Z)?(uJ(),tz(Y,Z,X),fJ()):tz(Y,Z,X)}function qU(Z,X){try{var Y=X.updateQueue,J=Y!==null?Y.lastEffect:null;if(J!==null){var G=J.next;Y=G;do{if((Y.tag&Z)===Z&&(J=void 0,(Z&lY)!==lL&&(m_=!0),J=UZ(X,YE,Y),(Z&lY)!==lL&&(m_=!1),J!==void 0&&typeof J!=="function")){var H=void 0;H=(Y.tag&DQ)!==0?"useLayoutEffect":(Y.tag&lY)!==0?"useInsertionEffect":"useEffect";var U=void 0;U=J===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof J.then==="function"?`
144
+ `+F:""))}}z=X.stateNode,U=l(Y)||"Component",z.render||(Y.prototype&&typeof Y.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",U):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",U)),!z.getInitialState||z.getInitialState.isReactClassApproved||z.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",U),z.getDefaultProps&&!z.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",U),z.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",U),Y.childContextTypes&&!gI.has(Y)&&(gI.add(Y),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",U)),Y.contextTypes&&!bI.has(Y)&&(bI.add(Y),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",U)),typeof z.componentShouldUpdate==="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",U),Y.prototype&&Y.prototype.isPureReactComponent&&typeof z.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.",l(Y)||"A pure component"),typeof z.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",U),typeof z.componentDidReceiveProps==="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",U),typeof z.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",U),typeof z.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",U),B=z.props!==J,z.props!==void 0&&B&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",U),z.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",U,U),typeof z.getSnapshotBeforeUpdate!=="function"||typeof z.componentDidUpdate==="function"||xI.has(Y)||(xI.add(Y),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",l(Y))),typeof z.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",U),typeof z.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",U),typeof Y.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",U),(B=z.state)&&(typeof B!=="object"||zY(B))&&console.error("%s.state: must be set to an object or null",U),typeof z.getChildContext==="function"&&typeof Y.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",U),z=X.stateNode,z.props=J,z.state=X.memoizedState,z.refs={},uF(X),U=Y.contextType,z.context=typeof U==="object"&&U!==null?kX(U):jG,z.state===J&&(U=l(Y)||"Component",vI.has(U)||(vI.add(U),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",U))),X.mode&gY&&OJ.recordLegacyContextWarning(X,z),OJ.recordUnsafeLifecycleWarnings(X,z),z.state=X.memoizedState,U=Y.getDerivedStateFromProps,typeof U==="function"&&(NM(X,Y,U,J),z.state=X.memoizedState),typeof Y.getDerivedStateFromProps==="function"||typeof z.getSnapshotBeforeUpdate==="function"||typeof z.UNSAFE_componentWillMount!=="function"&&typeof z.componentWillMount!=="function"||(U=z.state,typeof z.componentWillMount==="function"&&z.componentWillMount(),typeof z.UNSAFE_componentWillMount==="function"&&z.UNSAFE_componentWillMount(),U!==z.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",n(X)||"Component"),B9.enqueueReplaceState(z,z.state,null)),eW(X,J,z,G),tW(),z.state=X.memoizedState),typeof z.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&AJ)!==hZ&&(X.flags|=134217728),z=!0}else if(Z===null){z=X.stateNode;var x=X.memoizedProps;B=kz(Y,x),z.props=B;var y=z.context;F=Y.contextType,U=jG,typeof F==="object"&&F!==null&&(U=kX(F)),T=Y.getDerivedStateFromProps,F=typeof T==="function"||typeof z.getSnapshotBeforeUpdate==="function",x=X.pendingProps!==x,F||typeof z.UNSAFE_componentWillReceiveProps!=="function"&&typeof z.componentWillReceiveProps!=="function"||(x||y!==U)&&l1(X,z,J,U),kG=!1;var $=X.memoizedState;z.state=$,eW(X,J,z,G),tW(),y=X.memoizedState,x||$!==y||kG?(typeof T==="function"&&(NM(X,Y,T,J),y=X.memoizedState),(B=kG||p1(X,Y,B,J,$,y,U))?(F||typeof z.UNSAFE_componentWillMount!=="function"&&typeof z.componentWillMount!=="function"||(typeof z.componentWillMount==="function"&&z.componentWillMount(),typeof z.UNSAFE_componentWillMount==="function"&&z.UNSAFE_componentWillMount()),typeof z.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&AJ)!==hZ&&(X.flags|=134217728)):(typeof z.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&AJ)!==hZ&&(X.flags|=134217728),X.memoizedProps=J,X.memoizedState=y),z.props=J,z.state=y,z.context=U,z=B):(typeof z.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&AJ)!==hZ&&(X.flags|=134217728),z=!1)}else{z=X.stateNode,dF(Z,X),U=X.memoizedProps,F=kz(Y,U),z.props=F,T=X.pendingProps,$=z.context,y=Y.contextType,B=jG,typeof y==="object"&&y!==null&&(B=kX(y)),x=Y.getDerivedStateFromProps,(y=typeof x==="function"||typeof z.getSnapshotBeforeUpdate==="function")||typeof z.UNSAFE_componentWillReceiveProps!=="function"&&typeof z.componentWillReceiveProps!=="function"||(U!==T||$!==B)&&l1(X,z,J,B),kG=!1,$=X.memoizedState,z.state=$,eW(X,J,z,G),tW();var c=X.memoizedState;U!==T||$!==c||kG||Z!==null&&Z.dependencies!==null&&RB(Z.dependencies)?(typeof x==="function"&&(NM(X,Y,x,J),c=X.memoizedState),(F=kG||p1(X,Y,F,J,$,c,B)||Z!==null&&Z.dependencies!==null&&RB(Z.dependencies))?(y||typeof z.UNSAFE_componentWillUpdate!=="function"&&typeof z.componentWillUpdate!=="function"||(typeof z.componentWillUpdate==="function"&&z.componentWillUpdate(J,c,B),typeof z.UNSAFE_componentWillUpdate==="function"&&z.UNSAFE_componentWillUpdate(J,c,B)),typeof z.componentDidUpdate==="function"&&(X.flags|=4),typeof z.getSnapshotBeforeUpdate==="function"&&(X.flags|=1024)):(typeof z.componentDidUpdate!=="function"||U===Z.memoizedProps&&$===Z.memoizedState||(X.flags|=4),typeof z.getSnapshotBeforeUpdate!=="function"||U===Z.memoizedProps&&$===Z.memoizedState||(X.flags|=1024),X.memoizedProps=J,X.memoizedState=c),z.props=J,z.state=c,z.context=B,z=F):(typeof z.componentDidUpdate!=="function"||U===Z.memoizedProps&&$===Z.memoizedState||(X.flags|=4),typeof z.getSnapshotBeforeUpdate!=="function"||U===Z.memoizedProps&&$===Z.memoizedState||(X.flags|=1024),z=!1)}if(B=z,oB(Z,X),U=(X.flags&128)!==0,B||U){if(B=X.stateNode,KQ(X),U&&typeof Y.getDerivedStateFromError!=="function")Y=null,pY=-1;else if(Y=GI(B),X.mode&gY){jX(!0);try{GI(B)}finally{jX(!1)}}X.flags|=1,Z!==null&&U?(X.child=lz(X,Z.child,null,G),X.child=lz(X,null,Y,G)):VY(Z,X,Y,G),X.memoizedState=B.state,Z=X.child}else Z=Rq(Z,X,G);return G=X.stateNode,z&&G.props!==J&&(y_||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",n(X)||"a component"),y_=!0),Z}function J4(Z,X,Y,J){return Cz(),X.flags|=256,VY(Z,X,Y,J),X.child}function RM(Z,X){X&&X.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
145
+ %s.childContextTypes = ...`,X.displayName||X.name||"Component"),typeof X.getDerivedStateFromProps==="function"&&(Z=l(X)||"Unknown",pI[Z]||(console.error("%s: Function components do not support getDerivedStateFromProps.",Z),pI[Z]=!0)),typeof X.contextType==="object"&&X.contextType!==null&&(X=l(X)||"Unknown",dI[X]||(console.error("%s: Function components do not support contextType.",X),dI[X]=!0))}function jM(Z){return{baseLanes:Z,cachePool:Y1()}}function CM(Z,X,Y){return Z=Z!==null?Z.childLanes&~Y:0,X&&(Z|=YQ),Z}function q4(Z,X,Y){var J,G=X.pendingProps;K(X)&&(X.flags|=128);var z=!1,U=(X.flags&128)!==0;if((J=U)||(J=Z!==null&&Z.memoizedState===null?!1:(nX.current&nU)!==0),J&&(z=!0,X.flags&=-129),J=(X.flags&32)!==0,X.flags&=-33,Z===null){if(QX){if(z?KG(X):BG(X),(Z=$X)?(Y=CN(Z,nQ),Y=Y!==null&&Y.data!==ez?Y:null,Y!==null&&(J={dehydrated:Y,treeContext:n8(),retryLane:536870912,hydrationErrors:null},X.memoizedState=J,J=l8(Y),J.return=X,X.child=J,CY=X,$X=null)):Y=null,Y===null)throw wB(X,Z),zG(X);return q0(Y)?X.lanes=32:X.lanes=536870912,null}var B=G.children;if(G=G.fallback,z){BG(X);var F=X.mode;return B=rB({mode:"hidden",children:B},F),G=Rz(G,F,Y,null),B.return=X,G.return=X,B.sibling=G,X.child=B,G=X.child,G.memoizedState=jM(Y),G.childLanes=CM(Z,J,Y),X.memoizedState=O9,QU(null,G)}return KG(X),PM(X,B)}var T=Z.memoizedState;if(T!==null){var x=T.dehydrated;if(x!==null){if(U)X.flags&256?(KG(X),X.flags&=-257,X=DM(Z,X,Y)):X.memoizedState!==null?(BG(X),X.child=Z.child,X.flags|=128,X=null):(BG(X),B=G.fallback,F=X.mode,G=rB({mode:"visible",children:G.children},F),B=Rz(B,F,Y,null),B.flags|=2,G.return=X,B.return=X,G.sibling=B,X.child=G,lz(X,Z.child,null,Y),G=X.child,G.memoizedState=jM(Y),G.childLanes=CM(Z,J,Y),X.memoizedState=O9,X=QU(null,G));else if(KG(X),a8(),(Y&536870912)!==0&&YL(X),q0(x)){if(J=x.nextSibling&&x.nextSibling.dataset,J){B=J.dgst;var y=J.msg;F=J.stck;var $=J.cstck}z=y,J=B,G=F,x=$,B=z,F=x,B=B?Error(B):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),B.stack=G||"",B.digest=J,J=F===void 0?null:F,G={value:B,source:null,stack:J},typeof J==="string"&&a0.set(B,G),iW(G),X=DM(Z,X,Y)}else if(ZY||nH(Z,X,Y,!1),J=(Y&Z.childLanes)!==0,ZY||J){if(J=RX,J!==null&&(G=Mz(J,Y),G!==0&&G!==T.retryLane))throw T.retryLane=G,hY(Z,G),gX(J,Z,G),A9;J0(x)||QL(),X=DM(Z,X,Y)}else J0(x)?(X.flags|=192,X.child=Z.child,X=null):(Z=T.treeContext,$X=wQ(x.nextSibling),CY=X,QX=!0,CG=null,Xq=!1,CQ=null,nQ=!1,Z!==null&&s8(X,Z),X=PM(X,G.children),X.flags|=4096);return X}}if(z)return BG(X),B=G.fallback,F=X.mode,$=Z.child,x=$.sibling,G=Iq($,{mode:"hidden",children:G.children}),G.subtreeFlags=$.subtreeFlags&65011712,x!==null?B=Iq(x,B):(B=Rz(B,F,Y,null),B.flags|=2),B.return=X,G.return=X,G.sibling=B,X.child=G,QU(null,G),G=X.child,B=Z.child.memoizedState,B===null?B=jM(Y):(F=B.cachePool,F!==null?($=rX._currentValue,F=F.parent!==$?{parent:$,pool:$}:F):F=Y1(),B={baseLanes:B.baseLanes|Y,cachePool:F}),G.memoizedState=B,G.childLanes=CM(Z,J,Y),X.memoizedState=O9,QU(Z.child,G);return T!==null&&(Y&62914560)===Y&&(Y&Z.lanes)!==0&&YL(X),KG(X),Y=Z.child,Z=Y.sibling,Y=Iq(Y,{mode:"visible",children:G.children}),Y.return=X,Y.sibling=null,Z!==null&&(J=X.deletions,J===null?(X.deletions=[Z],X.flags|=16):J.push(Z)),X.child=Y,X.memoizedState=null,Y}function PM(Z,X){return X=rB({mode:"visible",children:X},Z.mode),X.return=Z,Z.child=X}function rB(Z,X){return Z=R(22,Z,null,X),Z.lanes=0,Z}function DM(Z,X,Y){return lz(X,Z.child,null,Y),Z=PM(X,X.pendingProps.children),Z.flags|=2,X.memoizedState=null,Z}function G4(Z,X,Y){Z.lanes|=X;var J=Z.alternate;J!==null&&(J.lanes|=X),yF(Z.return,X,Y)}function $M(Z,X,Y,J,G,z){var U=Z.memoizedState;U===null?Z.memoizedState={isBackwards:X,rendering:null,renderingStartTime:0,last:J,tail:Y,tailMode:G,treeForkCount:z}:(U.isBackwards=X,U.rendering=null,U.renderingStartTime=0,U.last=J,U.tail=Y,U.tailMode=G,U.treeForkCount=z)}function z4(Z,X,Y){var J=X.pendingProps,G=J.revealOrder,z=J.tail,U=J.children,B=nX.current;if((J=(B&nU)!==0)?(B=B&S_|nU,X.flags|=128):B&=S_,zZ(nX,B,X),B=G==null?"null":G,G!=="forwards"&&G!=="unstable_legacy-backwards"&&G!=="together"&&G!=="independent"&&!lI[B])if(lI[B]=!0,G==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(G==="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 G==="string")switch(G.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.',G,G.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.',G,G.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',G)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',G);if(B=z==null?"null":z,!aL[B])if(z==null){if(G==="forwards"||G==="backwards"||G==="unstable_legacy-backwards")aL[B]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')}else z!=="visible"&&z!=="collapsed"&&z!=="hidden"?(aL[B]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',z)):G!=="forwards"&&G!=="backwards"&&G!=="unstable_legacy-backwards"&&(aL[B]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',z));Z:if((G==="forwards"||G==="backwards"||G==="unstable_legacy-backwards")&&U!==void 0&&U!==null&&U!==!1)if(zY(U)){for(B=0;B<U.length;B++)if(!K1(U[B],B))break Z}else if(B=JZ(U),typeof B==="function"){if(B=B.call(U))for(var F=B.next(),T=0;!F.done;F=B.next()){if(!K1(F.value,T))break Z;T++}}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?',G);if(VY(Z,X,U,Y),QX?(GG(),U=kU):U=0,!J&&Z!==null&&(Z.flags&128)!==0)Z:for(Z=X.child;Z!==null;){if(Z.tag===13)Z.memoizedState!==null&&G4(Z,Y,X);else if(Z.tag===19)G4(Z,Y,X);else if(Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===X)break Z;for(;Z.sibling===null;){if(Z.return===null||Z.return===X)break Z;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}switch(G){case"forwards":Y=X.child;for(G=null;Y!==null;)Z=Y.alternate,Z!==null&&vB(Z)===null&&(G=Y),Y=Y.sibling;Y=G,Y===null?(G=X.child,X.child=null):(G=Y.sibling,Y.sibling=null),$M(X,!1,G,Y,z,U);break;case"backwards":case"unstable_legacy-backwards":Y=null,G=X.child;for(X.child=null;G!==null;){if(Z=G.alternate,Z!==null&&vB(Z)===null){X.child=G;break}Z=G.sibling,G.sibling=Y,Y=G,G=Z}$M(X,!0,Y,null,z,U);break;case"together":$M(X,!1,null,null,void 0,U);break;default:X.memoizedState=null}return X.child}function Rq(Z,X,Y){if(Z!==null&&(X.dependencies=Z.dependencies),pY=-1,vG|=X.lanes,(Y&X.childLanes)===0)if(Z!==null){if(nH(Z,X,Y,!1),(Y&X.childLanes)===0)return null}else return null;if(Z!==null&&X.child!==Z.child)throw Error("Resuming work not yet implemented.");if(X.child!==null){Z=X.child,Y=Iq(Z,Z.pendingProps),X.child=Y;for(Y.return=X;Z.sibling!==null;)Z=Z.sibling,Y=Y.sibling=Iq(Z,Z.pendingProps),Y.return=X;Y.sibling=null}return X.child}function SM(Z,X){if((Z.lanes&X)!==0)return!0;return Z=Z.dependencies,Z!==null&&RB(Z)?!0:!1}function ED(Z,X,Y){switch(X.tag){case 3:m(X,X.stateNode.containerInfo),HG(X,rX,Z.memoizedState.cache),Cz();break;case 27:case 5:e(X);break;case 4:m(X,X.stateNode.containerInfo);break;case 10:HG(X,X.type,X.memoizedProps.value);break;case 12:(Y&X.childLanes)!==0&&(X.flags|=4),X.flags|=2048;var J=X.stateNode;J.effectDuration=-0,J.passiveEffectDuration=-0;break;case 31:if(X.memoizedState!==null)return X.flags|=128,lF(X),null;break;case 13:if(J=X.memoizedState,J!==null){if(J.dehydrated!==null)return KG(X),X.flags|=128,null;if((Y&X.child.childLanes)!==0)return q4(Z,X,Y);return KG(X),Z=Rq(Z,X,Y),Z!==null?Z.sibling:null}KG(X);break;case 19:var G=(Z.flags&128)!==0;if(J=(Y&X.childLanes)!==0,J||(nH(Z,X,Y,!1),J=(Y&X.childLanes)!==0),G){if(J)return z4(Z,X,Y);X.flags|=128}if(G=X.memoizedState,G!==null&&(G.rendering=null,G.tail=null,G.lastEffect=null),zZ(nX,nX.current,X),J)break;else return null;case 22:return X.lanes=0,e1(Z,X,Y,X.pendingProps);case 24:HG(X,rX,Z.memoizedState.cache)}return Rq(Z,X,Y)}function EM(Z,X,Y){if(X._debugNeedsRemount&&Z!==null){Y=PF(X.type,X.key,X.pendingProps,X._debugOwner||null,X.mode,X.lanes),Y._debugStack=X._debugStack,Y._debugTask=X._debugTask;var J=X.return;if(J===null)throw Error("Cannot swap the root fiber.");if(Z.alternate=null,X.alternate=null,Y.index=X.index,Y.sibling=X.sibling,Y.return=X.return,Y.ref=X.ref,Y._debugInfo=X._debugInfo,X===J.child)J.child=Y;else{var G=J.child;if(G===null)throw Error("Expected parent to have a child.");for(;G.sibling!==X;)if(G=G.sibling,G===null)throw Error("Expected to find the previous sibling.");G.sibling=Y}return X=J.deletions,X===null?(J.deletions=[Z],J.flags|=16):X.push(Z),Y.flags|=2,Y}if(Z!==null)if(Z.memoizedProps!==X.pendingProps||X.type!==Z.type)ZY=!0;else{if(!SM(Z,Y)&&(X.flags&128)===0)return ZY=!1,ED(Z,X,Y);ZY=(Z.flags&131072)!==0?!0:!1}else{if(ZY=!1,J=QX)GG(),J=(X.flags&1048576)!==0;J&&(J=X.index,GG(),i8(X,kU,J))}switch(X.lanes=0,X.tag){case 16:Z:if(J=X.pendingProps,Z=_G(X.elementType),X.type=Z,typeof Z==="function")CF(Z)?(J=kz(Z,J),X.tag=1,X.type=Z=Vz(Z),X=Q4(null,X,Z,J,Y)):(X.tag=0,RM(X,Z),X.type=Z=Vz(Z),X=VM(null,X,Z,J,Y));else{if(Z!==void 0&&Z!==null){if(G=Z.$$typeof,G===NU){X.tag=11,X.type=Z=jF(Z),X=o1(null,X,Z,J,Y);break Z}else if(G===FL){X.tag=14,X=r1(null,X,Z,J,Y);break Z}}throw X="",Z!==null&&typeof Z==="object"&&Z.$$typeof===VQ&&(X=" Did you wrap a component in React.lazy() more than once?"),Y=l(Z)||Z,Error("Element type is invalid. Received a promise that resolves to: "+Y+". Lazy element type must resolve to a class or function."+X)}return X;case 0:return VM(Z,X,X.type,X.pendingProps,Y);case 1:return J=X.type,G=kz(J,X.pendingProps),Q4(Z,X,J,G,Y);case 3:Z:{if(m(X,X.stateNode.containerInfo),Z===null)throw Error("Should have a current fiber. This is a bug in React.");J=X.pendingProps;var z=X.memoizedState;G=z.element,dF(Z,X),eW(X,J,null,Y);var U=X.memoizedState;if(J=U.cache,HG(X,rX,J),J!==z.cache&&vF(X,[rX],Y,!0),tW(),J=U.element,z.isDehydrated)if(z={element:J,isDehydrated:!1,cache:U.cache},X.updateQueue.baseState=z,X.memoizedState=z,X.flags&256){X=J4(Z,X,J,Y);break Z}else if(J!==G){G=FQ(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),X),iW(G),X=J4(Z,X,J,Y);break Z}else{switch(Z=X.stateNode.containerInfo,Z.nodeType){case 9:Z=Z.body;break;default:Z=Z.nodeName==="HTML"?Z.ownerDocument.body:Z}$X=wQ(Z.firstChild),CY=X,QX=!0,CG=null,Xq=!1,CQ=null,nQ=!0,Y=II(X,null,J,Y);for(X.child=Y;Y;)Y.flags=Y.flags&-3|4096,Y=Y.sibling}else{if(Cz(),J===G){X=Rq(Z,X,Y);break Z}VY(Z,X,J,Y)}X=X.child}return X;case 26:return oB(Z,X),Z===null?(Y=kN(X.type,null,X.pendingProps,null))?X.memoizedState=Y:QX||(Y=X.type,Z=X.pendingProps,J=v(NG.current),J=zL(J).createElement(Y),J[jY]=X,J[uY]=Z,RY(J,Y,Z),SZ(J),X.stateNode=J):X.memoizedState=kN(X.type,Z.memoizedProps,X.pendingProps,Z.memoizedState),null;case 27:return e(X),Z===null&&QX&&(J=v(NG.current),G=g(),J=X.stateNode=SN(X.type,X.pendingProps,J,G,!1),Xq||(G=MN(J,X.type,X.pendingProps,G),G!==null&&(jz(X,0).serverProps=G)),CY=X,nQ=!0,G=$X,FG(X.type)?(m9=G,$X=wQ(J.firstChild)):$X=G),VY(Z,X,X.pendingProps.children,Y),oB(Z,X),Z===null&&(X.flags|=4194304),X.child;case 5:return Z===null&&QX&&(z=g(),J=FF(X.type,z.ancestorInfo),G=$X,(U=!G)||(U=N$(G,X.type,X.pendingProps,nQ),U!==null?(X.stateNode=U,Xq||(z=MN(U,X.type,X.pendingProps,z),z!==null&&(jz(X,0).serverProps=z)),CY=X,$X=wQ(U.firstChild),nQ=!1,z=!0):z=!1,U=!z),U&&(J&&wB(X,G),zG(X))),e(X),G=X.type,z=X.pendingProps,U=Z!==null?Z.memoizedProps:null,J=z.children,Y0(G,z)?J=null:U!==null&&Y0(G,U)&&(X.flags|=32),X.memoizedState!==null&&(G=nF(Z,X,VD,null,null,Y),UK._currentValue=G),oB(Z,X),VY(Z,X,J,Y),X.child;case 6:return Z===null&&QX&&(Y=X.pendingProps,Z=g(),J=Z.ancestorInfo.current,Y=J!=null?KB(Y,J.tag,Z.ancestorInfo.implicitRootScope):!0,Z=$X,(J=!Z)||(J=I$(Z,X.pendingProps,nQ),J!==null?(X.stateNode=J,CY=X,$X=null,J=!0):J=!1,J=!J),J&&(Y&&wB(X,Z),zG(X))),null;case 13:return q4(Z,X,Y);case 4:return m(X,X.stateNode.containerInfo),J=X.pendingProps,Z===null?X.child=lz(X,null,J,Y):VY(Z,X,J,Y),X.child;case 11:return o1(Z,X,X.type,X.pendingProps,Y);case 7:return VY(Z,X,X.pendingProps,Y),X.child;case 8:return VY(Z,X,X.pendingProps.children,Y),X.child;case 12:return X.flags|=4,X.flags|=2048,J=X.stateNode,J.effectDuration=-0,J.passiveEffectDuration=-0,VY(Z,X,X.pendingProps.children,Y),X.child;case 10:return J=X.type,G=X.pendingProps,z=G.value,"value"in G||iI||(iI=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),HG(X,J,z),VY(Z,X,G.children,Y),X.child;case 9:return G=X.type._context,J=X.pendingProps.children,typeof J!=="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."),Pz(X),G=kX(G),J=Q9(J,G,void 0),X.flags|=1,VY(Z,X,J,Y),X.child;case 14:return r1(Z,X,X.type,X.pendingProps,Y);case 15:return t1(Z,X,X.type,X.pendingProps,Y);case 19:return z4(Z,X,Y);case 31:return SD(Z,X,Y);case 22:return e1(Z,X,Y,X.pendingProps);case 24:return Pz(X),J=kX(rX),Z===null?(G=mF(),G===null&&(G=RX,z=hF(),G.pooledCache=z,Dz(z),z!==null&&(G.pooledCacheLanes|=Y),G=z),X.memoizedState={parent:J,cache:G},uF(X),HG(X,rX,G)):((Z.lanes&Y)!==0&&(dF(Z,X),eW(X,null,null,Y),tW()),G=Z.memoizedState,z=X.memoizedState,G.parent!==J?(G={parent:J,cache:J},X.memoizedState=G,X.lanes===0&&(X.memoizedState=X.updateQueue.baseState=G),HG(X,rX,J)):(J=z.cache,HG(X,rX,J),J!==G.cache&&vF(X,[rX],Y,!0))),VY(Z,X,X.pendingProps.children,Y),X.child;case 29:throw X.pendingProps}throw Error("Unknown unit of work tag ("+X.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function jq(Z){Z.flags|=4}function kM(Z,X,Y,J,G){if(X=(Z.mode&rS)!==hZ)X=!1;if(X){if(Z.flags|=16777216,(G&335544128)===G)if(Z.stateNode.complete)Z.flags|=8192;else if(f4())Z.flags|=8192;else throw pz=cL,q9}else Z.flags&=-16777217}function H4(Z,X){if(X.type!=="stylesheet"||(X.state.loading&tQ)!==YH)Z.flags&=-16777217;else if(Z.flags|=16777216,!bN(X))if(f4())Z.flags|=8192;else throw pz=cL,q9}function tB(Z,X){X!==null&&(Z.flags|=4),Z.flags&16384&&(X=Z.tag!==22?uH():536870912,Z.lanes|=X,oz|=X)}function JU(Z,X){if(!QX)switch(Z.tailMode){case"hidden":X=Z.tail;for(var Y=null;X!==null;)X.alternate!==null&&(Y=X),X=X.sibling;Y===null?Z.tail=null:Y.sibling=null;break;case"collapsed":Y=Z.tail;for(var J=null;Y!==null;)Y.alternate!==null&&(J=Y),Y=Y.sibling;J===null?X||Z.tail===null?Z.tail=null:Z.tail.sibling=null:J.sibling=null}}function CX(Z){var X=Z.alternate!==null&&Z.alternate.child===Z.child,Y=0,J=0;if(X)if((Z.mode&iZ)!==hZ){for(var{selfBaseDuration:G,child:z}=Z;z!==null;)Y|=z.lanes|z.childLanes,J|=z.subtreeFlags&65011712,J|=z.flags&65011712,G+=z.treeBaseDuration,z=z.sibling;Z.treeBaseDuration=G}else for(G=Z.child;G!==null;)Y|=G.lanes|G.childLanes,J|=G.subtreeFlags&65011712,J|=G.flags&65011712,G.return=Z,G=G.sibling;else if((Z.mode&iZ)!==hZ){G=Z.actualDuration,z=Z.selfBaseDuration;for(var U=Z.child;U!==null;)Y|=U.lanes|U.childLanes,J|=U.subtreeFlags,J|=U.flags,G+=U.actualDuration,z+=U.treeBaseDuration,U=U.sibling;Z.actualDuration=G,Z.treeBaseDuration=z}else for(G=Z.child;G!==null;)Y|=G.lanes|G.childLanes,J|=G.subtreeFlags,J|=G.flags,G.return=Z,G=G.sibling;return Z.subtreeFlags|=J,Z.childLanes=Y,X}function kD(Z,X,Y){var J=X.pendingProps;switch(EF(X),X.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return CX(X),null;case 1:return CX(X),null;case 3:if(Y=X.stateNode,J=null,Z!==null&&(J=Z.memoizedState.cache),X.memoizedState.cache!==J&&(X.flags|=2048),wq(rX,X),E(X),Y.pendingContext&&(Y.context=Y.pendingContext,Y.pendingContext=null),Z===null||Z.child===null)iH(X)?(xF(),jq(X)):Z===null||Z.memoizedState.isDehydrated&&(X.flags&256)===0||(X.flags|=1024,kF());return CX(X),null;case 26:var{type:G,memoizedState:z}=X;return Z===null?(jq(X),z!==null?(CX(X),H4(X,z)):(CX(X),kM(X,G,null,J,Y))):z?z!==Z.memoizedState?(jq(X),CX(X),H4(X,z)):(CX(X),X.flags&=-16777217):(Z=Z.memoizedProps,Z!==J&&jq(X),CX(X),kM(X,G,Z,J,Y)),null;case 27:if(p(X),Y=v(NG.current),G=X.type,Z!==null&&X.stateNode!=null)Z.memoizedProps!==J&&jq(X);else{if(!J){if(X.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 CX(X),null}Z=g(),iH(X)?o8(X,Z):(Z=SN(G,J,Y,Z,!0),X.stateNode=Z,jq(X))}return CX(X),null;case 5:if(p(X),G=X.type,Z!==null&&X.stateNode!=null)Z.memoizedProps!==J&&jq(X);else{if(!J){if(X.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 CX(X),null}var U=g();if(iH(X))o8(X,U);else{switch(z=v(NG.current),FF(G,U.ancestorInfo),U=U.context,z=zL(z),U){case d_:z=z.createElementNS(K_,G);break;case AA:z=z.createElementNS(RL,G);break;default:switch(G){case"svg":z=z.createElementNS(K_,G);break;case"math":z=z.createElementNS(RL,G);break;case"script":z=z.createElement("div"),z.innerHTML="<script></script>",z=z.removeChild(z.firstChild);break;case"select":z=typeof J.is==="string"?z.createElement("select",{is:J.is}):z.createElement("select"),J.multiple?z.multiple=!0:J.size&&(z.size=J.size);break;default:z=typeof J.is==="string"?z.createElement(G,{is:J.is}):z.createElement(G),G.indexOf("-")===-1&&(G!==G.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",G),Object.prototype.toString.call(z)!=="[object HTMLUnknownElement]"||BJ.call(OT,G)||(OT[G]=!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.",G)))}}z[jY]=X,z[uY]=J;Z:for(U=X.child;U!==null;){if(U.tag===5||U.tag===6)z.appendChild(U.stateNode);else if(U.tag!==4&&U.tag!==27&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===X)break Z;for(;U.sibling===null;){if(U.return===null||U.return===X)break Z;U=U.return}U.sibling.return=U.return,U=U.sibling}X.stateNode=z;Z:switch(RY(z,G,J),G){case"button":case"input":case"select":case"textarea":J=!!J.autoFocus;break Z;case"img":J=!0;break Z;default:J=!1}J&&jq(X)}}return CX(X),kM(X,X.type,Z===null?null:Z.memoizedProps,X.pendingProps,Y),null;case 6:if(Z&&X.stateNode!=null)Z.memoizedProps!==J&&jq(X);else{if(typeof J!=="string"&&X.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(Z=v(NG.current),Y=g(),iH(X)){if(Z=X.stateNode,Y=X.memoizedProps,G=!Xq,J=null,z=CY,z!==null)switch(z.tag){case 3:G&&(G=DN(Z,Y,J),G!==null&&(jz(X,0).serverProps=G));break;case 27:case 5:J=z.memoizedProps,G&&(G=DN(Z,Y,J),G!==null&&(jz(X,0).serverProps=G))}Z[jY]=X,Z=Z.nodeValue===Y||J!==null&&J.suppressHydrationWarning===!0||BN(Z.nodeValue,Y)?!0:!1,Z||zG(X,!0)}else G=Y.ancestorInfo.current,G!=null&&KB(J,G.tag,Y.ancestorInfo.implicitRootScope),Z=zL(Z).createTextNode(J),Z[jY]=X,X.stateNode=Z}return CX(X),null;case 31:if(Y=X.memoizedState,Z===null||Z.memoizedState!==null){if(J=iH(X),Y!==null){if(Z===null){if(!J)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(Z=X.memoizedState,Z=Z!==null?Z.dehydrated:null,!Z)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");Z[jY]=X,CX(X),(X.mode&iZ)!==hZ&&Y!==null&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration))}else xF(),Cz(),(X.flags&128)===0&&(Y=X.memoizedState=null),X.flags|=4,CX(X),(X.mode&iZ)!==hZ&&Y!==null&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration));Z=!1}else Y=kF(),Z!==null&&Z.memoizedState!==null&&(Z.memoizedState.hydrationErrors=Y),Z=!0;if(!Z){if(X.flags&256)return IQ(X),X;return IQ(X),null}if((X.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return CX(X),null;case 13:if(J=X.memoizedState,Z===null||Z.memoizedState!==null&&Z.memoizedState.dehydrated!==null){if(G=J,z=iH(X),G!==null&&G.dehydrated!==null){if(Z===null){if(!z)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(z=X.memoizedState,z=z!==null?z.dehydrated:null,!z)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");z[jY]=X,CX(X),(X.mode&iZ)!==hZ&&G!==null&&(G=X.child,G!==null&&(X.treeBaseDuration-=G.treeBaseDuration))}else xF(),Cz(),(X.flags&128)===0&&(G=X.memoizedState=null),X.flags|=4,CX(X),(X.mode&iZ)!==hZ&&G!==null&&(G=X.child,G!==null&&(X.treeBaseDuration-=G.treeBaseDuration));G=!1}else G=kF(),Z!==null&&Z.memoizedState!==null&&(Z.memoizedState.hydrationErrors=G),G=!0;if(!G){if(X.flags&256)return IQ(X),X;return IQ(X),null}}if(IQ(X),(X.flags&128)!==0)return X.lanes=Y,(X.mode&iZ)!==hZ&&aW(X),X;return Y=J!==null,Z=Z!==null&&Z.memoizedState!==null,Y&&(J=X.child,G=null,J.alternate!==null&&J.alternate.memoizedState!==null&&J.alternate.memoizedState.cachePool!==null&&(G=J.alternate.memoizedState.cachePool.pool),z=null,J.memoizedState!==null&&J.memoizedState.cachePool!==null&&(z=J.memoizedState.cachePool.pool),z!==G&&(J.flags|=2048)),Y!==Z&&Y&&(X.child.flags|=8192),tB(X,X.updateQueue),CX(X),(X.mode&iZ)!==hZ&&Y&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration)),null;case 4:return E(X),Z===null&&aM(X.stateNode.containerInfo),CX(X),null;case 10:return wq(X.type,X),CX(X),null;case 19:if(WZ(nX,X),J=X.memoizedState,J===null)return CX(X),null;if(G=(X.flags&128)!==0,z=J.rendering,z===null)if(G)JU(J,!1);else{if(bX!==fq||Z!==null&&(Z.flags&128)!==0)for(Z=X.child;Z!==null;){if(z=vB(Z),z!==null){X.flags|=128,JU(J,!1),Z=z.updateQueue,X.updateQueue=Z,tB(X,Z),X.subtreeFlags=0,Z=Y;for(Y=X.child;Y!==null;)p8(Y,Z),Y=Y.sibling;return zZ(nX,nX.current&S_|nU,X),QX&&Tq(X,J.treeForkCount),X.child}Z=Z.sibling}J.tail!==null&&KY()>YA&&(X.flags|=128,G=!0,JU(J,!1),X.lanes=4194304)}else{if(!G)if(Z=vB(z),Z!==null){if(X.flags|=128,G=!0,Z=Z.updateQueue,X.updateQueue=Z,tB(X,Z),JU(J,!0),J.tail===null&&J.tailMode==="hidden"&&!z.alternate&&!QX)return CX(X),null}else 2*KY()-J.renderingStartTime>YA&&Y!==536870912&&(X.flags|=128,G=!0,JU(J,!1),X.lanes=4194304);J.isBackwards?(z.sibling=X.child,X.child=z):(Z=J.last,Z!==null?Z.sibling=z:X.child=z,J.last=z)}if(J.tail!==null)return Z=J.tail,J.rendering=Z,J.tail=Z.sibling,J.renderingStartTime=KY(),Z.sibling=null,Y=nX.current,Y=G?Y&S_|nU:Y&S_,zZ(nX,Y,X),QX&&Tq(X,J.treeForkCount),Z;return CX(X),null;case 22:case 23:return IQ(X),pF(X),J=X.memoizedState!==null,Z!==null?Z.memoizedState!==null!==J&&(X.flags|=8192):J&&(X.flags|=8192),J?(Y&536870912)!==0&&(X.flags&128)===0&&(CX(X),X.subtreeFlags&6&&(X.flags|=8192)):CX(X),Y=X.updateQueue,Y!==null&&tB(X,Y.retryQueue),Y=null,Z!==null&&Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(Y=Z.memoizedState.cachePool.pool),J=null,X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(J=X.memoizedState.cachePool.pool),J!==Y&&(X.flags|=2048),Z!==null&&WZ(dz,X),null;case 24:return Y=null,Z!==null&&(Y=Z.memoizedState.cache),X.memoizedState.cache!==Y&&(X.flags|=2048),wq(rX,X),CX(X),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+X.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function xD(Z,X){switch(EF(X),X.tag){case 1:return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==hZ&&aW(X),X):null;case 3:return wq(rX,X),E(X),Z=X.flags,(Z&65536)!==0&&(Z&128)===0?(X.flags=Z&-65537|128,X):null;case 26:case 27:case 5:return p(X),null;case 31:if(X.memoizedState!==null){if(IQ(X),X.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Cz()}return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==hZ&&aW(X),X):null;case 13:if(IQ(X),Z=X.memoizedState,Z!==null&&Z.dehydrated!==null){if(X.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Cz()}return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==hZ&&aW(X),X):null;case 19:return WZ(nX,X),null;case 4:return E(X),null;case 10:return wq(X.type,X),null;case 22:case 23:return IQ(X),pF(X),Z!==null&&WZ(dz,X),Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==hZ&&aW(X),X):null;case 24:return wq(rX,X),null;case 25:return null;default:return null}}function _4(Z,X){switch(EF(X),X.tag){case 3:wq(rX,X),E(X);break;case 26:case 27:case 5:p(X);break;case 4:E(X);break;case 31:X.memoizedState!==null&&IQ(X);break;case 13:IQ(X);break;case 19:WZ(nX,X);break;case 10:wq(X.type,X);break;case 22:case 23:IQ(X),pF(X),Z!==null&&WZ(dz,X);break;case 24:wq(rX,X)}}function dJ(Z){return(Z.mode&iZ)!==hZ}function W4(Z,X){dJ(Z)?(uJ(),qU(X,Z),fJ()):qU(X,Z)}function xM(Z,X,Y){dJ(Z)?(uJ(),tH(Y,Z,X),fJ()):tH(Y,Z,X)}function qU(Z,X){try{var Y=X.updateQueue,J=Y!==null?Y.lastEffect:null;if(J!==null){var G=J.next;Y=G;do{if((Y.tag&Z)===Z&&(J=void 0,(Z&lY)!==lL&&(m_=!0),J=UZ(X,YE,Y),(Z&lY)!==lL&&(m_=!1),J!==void 0&&typeof J!=="function")){var z=void 0;z=(Y.tag&DQ)!==0?"useLayoutEffect":(Y.tag&lY)!==0?"useInsertionEffect":"useEffect";var U=void 0;U=J===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof J.then==="function"?`
146
146
 
147
- It looks like you wrote `+H+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
147
+ It looks like you wrote `+z+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
148
148
 
149
- `+H+`(() => {
149
+ `+z+`(() => {
150
150
  async function fetchData() {
151
151
  // You can await here
152
152
  const response = await MyAPI.getData(someId);
@@ -155,7 +155,7 @@ It looks like you wrote `+H+`(async () => ...) or returned a Promise. Instead, w
155
155
  fetchData();
156
156
  }, [someId]); // Or [] if effect doesn't need props or state
157
157
 
158
- Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+J,UZ(X,function(B,F){console.error("%s must not return anything besides a function, which is used for clean-up.%s",B,F)},H,U)}Y=Y.next}while(Y!==G)}}catch(B){AX(X,X.return,B)}}function tz(Z,X,Y){try{var J=X.updateQueue,G=J!==null?J.lastEffect:null;if(G!==null){var H=G.next;J=H;do{if((J.tag&Z)===Z){var U=J.inst,B=U.destroy;B!==void 0&&(U.destroy=void 0,(Z&lY)!==lL&&(m_=!0),G=X,UZ(G,QE,G,Y,B),(Z&lY)!==lL&&(m_=!1))}J=J.next}while(J!==H)}}catch(F){AX(X,X.return,F)}}function U4(Z,X){dJ(Z)?(uJ(),qU(X,Z),fJ()):qU(X,Z)}function yM(Z,X,Y){dJ(Z)?(uJ(),tz(Y,Z,X),fJ()):tz(Y,Z,X)}function K4(Z){var X=Z.updateQueue;if(X!==null){var Y=Z.stateNode;Z.type.defaultProps||"ref"in Z.memoizedProps||y_||(Y.props!==Z.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.",n(Z)||"instance"),Y.state!==Z.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.",n(Z)||"instance"));try{UZ(Z,L1,X,Y)}catch(J){AX(Z,Z.return,J)}}}function yD(Z,X,Y){return Z.getSnapshotBeforeUpdate(X,Y)}function vD(Z,X){var{memoizedProps:Y,memoizedState:J}=X;X=Z.stateNode,Z.type.defaultProps||"ref"in Z.memoizedProps||y_||(X.props!==Z.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.",n(Z)||"instance"),X.state!==Z.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.",n(Z)||"instance"));try{var G=kH(Z.type,Y),H=UZ(Z,yD,X,G,J);Y=nI,H!==void 0||Y.has(Z.type)||(Y.add(Z.type),UZ(Z,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",n(Z))})),X.__reactInternalSnapshotBeforeUpdate=H}catch(U){AX(Z,Z.return,U)}}function B4(Z,X,Y){Y.props=kH(Z.type,Z.memoizedProps),Y.state=Z.memoizedState,dJ(Z)?(uJ(),UZ(Z,KI,Z,X,Y),fJ()):UZ(Z,KI,Z,X,Y)}function hD(Z){var X=Z.ref;if(X!==null){switch(Z.tag){case 26:case 27:case 5:var Y=Z.stateNode;break;case 30:Y=Z.stateNode;break;default:Y=Z.stateNode}if(typeof X==="function")if(dJ(Z))try{uJ(),Z.refCleanup=X(Y)}finally{fJ()}else Z.refCleanup=X(Y);else typeof X==="string"?console.error("String refs are no longer supported."):X.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",n(Z)),X.current=Y}}function GU(Z,X){try{UZ(Z,hD,Z)}catch(Y){AX(Z,X,Y)}}function cJ(Z,X){var{ref:Y,refCleanup:J}=Z;if(Y!==null)if(typeof J==="function")try{if(dJ(Z))try{uJ(),UZ(Z,J)}finally{fJ(Z)}else UZ(Z,J)}catch(G){AX(Z,X,G)}finally{Z.refCleanup=null,Z=Z.alternate,Z!=null&&(Z.refCleanup=null)}else if(typeof Y==="function")try{if(dJ(Z))try{uJ(),UZ(Z,Y,null)}finally{fJ(Z)}else UZ(Z,Y,null)}catch(G){AX(Z,X,G)}else Y.current=null}function L4(Z,X,Y,J){var G=Z.memoizedProps,H=G.id,U=G.onCommit;G=G.onRender,X=X===null?"mount":"update",mL&&(X="nested-update"),typeof G==="function"&&G(H,X,Z.actualDuration,Z.treeBaseDuration,Z.actualStartTime,Y),typeof U==="function"&&U(H,X,J,Y)}function bD(Z,X,Y,J){var G=Z.memoizedProps;Z=G.id,G=G.onPostCommit,X=X===null?"mount":"update",mL&&(X="nested-update"),typeof G==="function"&&G(Z,X,J,Y)}function A4(Z){var{type:X,memoizedProps:Y,stateNode:J}=Z;try{UZ(Z,H$,J,X,Y,Z)}catch(G){AX(Z,Z.return,G)}}function vM(Z,X,Y){try{UZ(Z,_$,Z.stateNode,Z.type,Y,X,Z)}catch(J){AX(Z,Z.return,J)}}function O4(Z){return Z.tag===5||Z.tag===3||Z.tag===26||Z.tag===27&&FG(Z.type)||Z.tag===4}function hM(Z){Z:for(;;){for(;Z.sibling===null;){if(Z.return===null||O4(Z.return))return null;Z=Z.return}Z.sibling.return=Z.return;for(Z=Z.sibling;Z.tag!==5&&Z.tag!==6&&Z.tag!==18;){if(Z.tag===27&&FG(Z.type))continue Z;if(Z.flags&2)continue Z;if(Z.child===null||Z.tag===4)continue Z;else Z.child.return=Z,Z=Z.child}if(!(Z.flags&2))return Z.stateNode}}function bM(Z,X,Y){var J=Z.tag;if(J===5||J===6)Z=Z.stateNode,X?(VN(Y),(Y.nodeType===9?Y.body:Y.nodeName==="HTML"?Y.ownerDocument.body:Y).insertBefore(Z,X)):(VN(Y),X=Y.nodeType===9?Y.body:Y.nodeName==="HTML"?Y.ownerDocument.body:Y,X.appendChild(Z),Y=Y._reactRootContainer,Y!==null&&Y!==void 0||X.onclick!==null||(X.onclick=Nq));else if(J!==4&&(J===27&&FG(Z.type)&&(Y=Z.stateNode,X=null),Z=Z.child,Z!==null))for(bM(Z,X,Y),Z=Z.sibling;Z!==null;)bM(Z,X,Y),Z=Z.sibling}function eB(Z,X,Y){var J=Z.tag;if(J===5||J===6)Z=Z.stateNode,X?Y.insertBefore(Z,X):Y.appendChild(Z);else if(J!==4&&(J===27&&FG(Z.type)&&(Y=Z.stateNode),Z=Z.child,Z!==null))for(eB(Z,X,Y),Z=Z.sibling;Z!==null;)eB(Z,X,Y),Z=Z.sibling}function gD(Z){for(var X,Y=Z.return;Y!==null;){if(O4(Y)){X=Y;break}Y=Y.return}if(X==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(X.tag){case 27:X=X.stateNode,Y=hM(Z),eB(Z,Y,X);break;case 5:Y=X.stateNode,X.flags&32&&(wN(Y),X.flags&=-33),X=hM(Z),eB(Z,X,Y);break;case 3:case 4:X=X.stateNode.containerInfo,Y=hM(Z),bM(Z,Y,X);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function F4(Z){var{stateNode:X,memoizedProps:Y}=Z;try{UZ(Z,j$,Z.type,Y,X,Z)}catch(J){AX(Z,Z.return,J)}}function M4(Z,X){return X.tag===31?(X=X.memoizedState,Z.memoizedState!==null&&X===null):X.tag===13?(Z=Z.memoizedState,X=X.memoizedState,Z!==null&&Z.dehydrated!==null&&(X===null||X.dehydrated===null)):X.tag===3?Z.memoizedState.isDehydrated&&(X.flags&256)===0:!1}function mD(Z,X){if(Z=Z.containerInfo,h9=NA,Z=y8(Z),IF(Z)){if("selectionStart"in Z)var Y={start:Z.selectionStart,end:Z.selectionEnd};else Z:{Y=(Y=Z.ownerDocument)&&Y.defaultView||window;var J=Y.getSelection&&Y.getSelection();if(J&&J.rangeCount!==0){Y=J.anchorNode;var{anchorOffset:G,focusNode:H}=J;J=J.focusOffset;try{Y.nodeType,H.nodeType}catch(GZ){Y=null;break Z}var U=0,B=-1,F=-1,T=0,x=0,y=Z,$=null;X:for(;;){for(var c;;){if(y!==Y||G!==0&&y.nodeType!==3||(B=U+G),y!==H||J!==0&&y.nodeType!==3||(F=U+J),y.nodeType===3&&(U+=y.nodeValue.length),(c=y.firstChild)===null)break;$=y,y=c}for(;;){if(y===Z)break X;if($===Y&&++T===G&&(B=U),$===H&&++x===J&&(F=U),(c=y.nextSibling)!==null)break;y=$,$=y.parentNode}y=c}Y=B===-1||F===-1?null:{start:B,end:F}}else Y=null}Y=Y||{start:0,end:0}}else Y=null;b9={focusedElem:Z,selectionRange:Y},NA=!1;for(LY=X;LY!==null;)if(X=LY,Z=X.child,(X.subtreeFlags&1028)!==0&&Z!==null)Z.return=X,LY=Z;else for(;LY!==null;){switch(Z=X=LY,Y=Z.alternate,G=Z.flags,Z.tag){case 0:if((G&4)!==0&&(Z=Z.updateQueue,Z=Z!==null?Z.events:null,Z!==null))for(Y=0;Y<Z.length;Y++)G=Z[Y],G.ref.impl=G.nextImpl;break;case 11:case 15:break;case 1:(G&1024)!==0&&Y!==null&&vD(Z,Y);break;case 3:if((G&1024)!==0){if(Z=Z.stateNode.containerInfo,Y=Z.nodeType,Y===9)Q0(Z);else if(Y===1)switch(Z.nodeName){case"HEAD":case"HTML":case"BODY":Q0(Z);break;default:Z.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((G&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(Z=X.sibling,Z!==null){Z.return=X.return,LY=Z;break}LY=X.return}}function N4(Z,X,Y){var J=MQ(),G=hJ(),H=gJ(),U=mJ(),B=Y.flags;switch(Y.tag){case 0:case 11:case 15:pJ(Z,Y),B&4&&W4(Y,DQ|oQ);break;case 1:if(pJ(Z,Y),B&4)if(Z=Y.stateNode,X===null)Y.type.defaultProps||"ref"in Y.memoizedProps||y_||(Z.props!==Y.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.",n(Y)||"instance"),Z.state!==Y.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.",n(Y)||"instance")),dJ(Y)?(uJ(),UZ(Y,J9,Y,Z),fJ()):UZ(Y,J9,Y,Z);else{var F=kH(Y.type,X.memoizedProps);X=X.memoizedState,Y.type.defaultProps||"ref"in Y.memoizedProps||y_||(Z.props!==Y.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.",n(Y)||"instance"),Z.state!==Y.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.",n(Y)||"instance")),dJ(Y)?(uJ(),UZ(Y,_I,Y,Z,F,X,Z.__reactInternalSnapshotBeforeUpdate),fJ()):UZ(Y,_I,Y,Z,F,X,Z.__reactInternalSnapshotBeforeUpdate)}B&64&&K4(Y),B&512&&GU(Y,Y.return);break;case 3:if(X=Vq(),pJ(Z,Y),B&64&&(B=Y.updateQueue,B!==null)){if(F=null,Y.child!==null)switch(Y.child.tag){case 27:case 5:F=Y.child.stateNode;break;case 1:F=Y.child.stateNode}try{UZ(Y,L1,B,F)}catch(x){AX(Y,Y.return,x)}}Z.effectDuration+=CB(X);break;case 27:X===null&&B&4&&F4(Y);case 26:case 5:if(pJ(Z,Y),X===null){if(B&4)A4(Y);else if(B&64){Z=Y.type,X=Y.memoizedProps,F=Y.stateNode;try{UZ(Y,z$,F,Z,X,Y)}catch(x){AX(Y,Y.return,x)}}}B&512&&GU(Y,Y.return);break;case 12:if(B&4){B=Vq(),pJ(Z,Y),Z=Y.stateNode,Z.effectDuration+=sW(B);try{UZ(Y,L4,Y,X,PG,Z.effectDuration)}catch(x){AX(Y,Y.return,x)}}else pJ(Z,Y);break;case 31:pJ(Z,Y),B&4&&w4(Z,Y);break;case 13:pJ(Z,Y),B&4&&V4(Z,Y),B&64&&(Z=Y.memoizedState,Z!==null&&(Z=Z.dehydrated,Z!==null&&(B=sD.bind(null,Y),T$(Z,B))));break;case 22:if(B=Y.memoizedState!==null||mq,!B){X=X!==null&&X.memoizedState!==null||XY,F=mq;var T=XY;mq=B,(XY=X)&&!T?(lJ(Z,Y,(Y.subtreeFlags&8772)!==0),(Y.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&OB(Y,EZ,xZ)):pJ(Z,Y),mq=F,XY=T}break;case 30:break;default:pJ(Z,Y)}(Y.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&((mX||0.05<hX)&&yJ(Y,EZ,xZ,hX,xX),Y.alternate===null&&Y.return!==null&&Y.return.alternate!==null&&0.05<xZ-EZ&&(M4(Y.return.alternate,Y.return)||xJ(Y,EZ,xZ,"Mount"))),NQ(J),bJ(G),xX=H,mX=U}function I4(Z){var X=Z.alternate;X!==null&&(Z.alternate=null,I4(X)),Z.child=null,Z.deletions=null,Z.sibling=null,Z.tag===5&&(X=Z.stateNode,X!==null&&zZ(X)),Z.stateNode=null,Z._debugOwner=null,Z.return=null,Z.dependencies=null,Z.memoizedProps=null,Z.memoizedState=null,Z.pendingProps=null,Z.stateNode=null,Z.updateQueue=null}function Cq(Z,X,Y){for(Y=Y.child;Y!==null;)T4(Z,X,Y),Y=Y.sibling}function T4(Z,X,Y){if(bY&&typeof bY.onCommitFiberUnmount==="function")try{bY.onCommitFiberUnmount(W_,Y)}catch(T){rJ||(rJ=!0,console.error("React instrumentation encountered an error: %o",T))}var J=MQ(),G=hJ(),H=gJ(),U=mJ();switch(Y.tag){case 26:XY||cJ(Y,X),Cq(Z,X,Y),Y.memoizedState?Y.memoizedState.count--:Y.stateNode&&(Z=Y.stateNode,Z.parentNode.removeChild(Z));break;case 27:XY||cJ(Y,X);var B=YY,F=ZQ;FG(Y.type)&&(YY=Y.stateNode,ZQ=!1),Cq(Z,X,Y),UZ(Y,AU,Y.stateNode),YY=B,ZQ=F;break;case 5:XY||cJ(Y,X);case 6:if(B=YY,F=ZQ,YY=null,Cq(Z,X,Y),YY=B,ZQ=F,YY!==null)if(ZQ)try{UZ(Y,K$,YY,Y.stateNode)}catch(T){AX(Y,X,T)}else try{UZ(Y,U$,YY,Y.stateNode)}catch(T){AX(Y,X,T)}break;case 18:YY!==null&&(ZQ?(Z=YY,RN(Z.nodeType===9?Z.body:Z.nodeName==="HTML"?Z.ownerDocument.body:Z,Y.stateNode),G_(Z)):RN(YY,Y.stateNode));break;case 4:B=YY,F=ZQ,YY=Y.stateNode.containerInfo,ZQ=!0,Cq(Z,X,Y),YY=B,ZQ=F;break;case 0:case 11:case 14:case 15:tz(lY,Y,X),XY||xM(Y,X,DQ),Cq(Z,X,Y);break;case 1:XY||(cJ(Y,X),B=Y.stateNode,typeof B.componentWillUnmount==="function"&&B4(Y,X,B)),Cq(Z,X,Y);break;case 21:Cq(Z,X,Y);break;case 22:XY=(B=XY)||Y.memoizedState!==null,Cq(Z,X,Y),XY=B;break;default:Cq(Z,X,Y)}(Y.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Y,EZ,xZ,hX,xX),NQ(J),bJ(G),xX=H,mX=U}function w4(Z,X){if(X.memoizedState===null&&(Z=X.alternate,Z!==null&&(Z=Z.memoizedState,Z!==null))){Z=Z.dehydrated;try{UZ(X,V$,Z)}catch(Y){AX(X,X.return,Y)}}}function V4(Z,X){if(X.memoizedState===null&&(Z=X.alternate,Z!==null&&(Z=Z.memoizedState,Z!==null&&(Z=Z.dehydrated,Z!==null))))try{UZ(X,R$,Z)}catch(Y){AX(X,X.return,Y)}}function fD(Z){switch(Z.tag){case 31:case 13:case 19:var X=Z.stateNode;return X===null&&(X=Z.stateNode=new sI),X;case 22:return Z=Z.stateNode,X=Z._retryCache,X===null&&(X=Z._retryCache=new sI),X;default:throw Error("Unexpected Suspense handler tag ("+Z.tag+"). This is a bug in React.")}}function ZL(Z,X){var Y=fD(Z);X.forEach(function(J){if(!Y.has(J)){if(Y.add(J),tJ)if(v_!==null&&h_!==null)WU(h_,v_);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var G=aD.bind(null,Z,J);J.then(G,G)}})}function tY(Z,X){var Y=X.deletions;if(Y!==null)for(var J=0;J<Y.length;J++){var G=Z,H=X,U=Y[J],B=MQ(),F=H;Z:for(;F!==null;){switch(F.tag){case 27:if(FG(F.type)){YY=F.stateNode,ZQ=!1;break Z}break;case 5:YY=F.stateNode,ZQ=!1;break Z;case 3:case 4:YY=F.stateNode.containerInfo,ZQ=!0;break Z}F=F.return}if(YY===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");T4(G,H,U),YY=null,ZQ=!1,(U.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&xJ(U,EZ,xZ,"Unmount"),NQ(B),G=U,H=G.alternate,H!==null&&(H.return=null),G.return=null}if(X.subtreeFlags&13886)for(X=X.child;X!==null;)R4(X,Z),X=X.sibling}function R4(Z,X){var Y=MQ(),J=hJ(),G=gJ(),H=mJ(),U=Z.alternate,B=Z.flags;switch(Z.tag){case 0:case 11:case 14:case 15:tY(X,Z),eY(Z),B&4&&(tz(lY|oQ,Z,Z.return),qU(lY|oQ,Z),xM(Z,Z.return,DQ|oQ));break;case 1:if(tY(X,Z),eY(Z),B&512&&(XY||U===null||cJ(U,U.return)),B&64&&mq&&(B=Z.updateQueue,B!==null&&(U=B.callbacks,U!==null))){var F=B.shared.hiddenCallbacks;B.shared.hiddenCallbacks=F===null?U:F.concat(U)}break;case 26:if(F=MJ,tY(X,Z),eY(Z),B&512&&(XY||U===null||cJ(U,U.return)),B&4){var T=U!==null?U.memoizedState:null;if(B=Z.memoizedState,U===null)if(B===null)if(Z.stateNode===null){Z:{B=Z.type,U=Z.memoizedProps,F=F.ownerDocument||F;X:switch(B){case"title":if(T=F.getElementsByTagName("title")[0],!T||T[wU]||T[RY]||T.namespaceURI===K_||T.hasAttribute("itemprop"))T=F.createElement(B),F.head.insertBefore(T,F.querySelector("head > title"));VY(T,B,U),T[RY]=Z,SZ(T),B=T;break Z;case"link":var x=vN("link","href",F).get(B+(U.href||""));if(x){for(var y=0;y<x.length;y++)if(T=x[y],T.getAttribute("href")===(U.href==null||U.href===""?null:U.href)&&T.getAttribute("rel")===(U.rel==null?null:U.rel)&&T.getAttribute("title")===(U.title==null?null:U.title)&&T.getAttribute("crossorigin")===(U.crossOrigin==null?null:U.crossOrigin)){x.splice(y,1);break X}}T=F.createElement(B),VY(T,B,U),F.head.appendChild(T);break;case"meta":if(x=vN("meta","content",F).get(B+(U.content||""))){for(y=0;y<x.length;y++)if(T=x[y],PZ(U.content,"content"),T.getAttribute("content")===(U.content==null?null:""+U.content)&&T.getAttribute("name")===(U.name==null?null:U.name)&&T.getAttribute("property")===(U.property==null?null:U.property)&&T.getAttribute("http-equiv")===(U.httpEquiv==null?null:U.httpEquiv)&&T.getAttribute("charset")===(U.charSet==null?null:U.charSet)){x.splice(y,1);break X}}T=F.createElement(B),VY(T,B,U),F.head.appendChild(T);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+B+'". This is a bug in React.')}T[RY]=Z,SZ(T),B=T}Z.stateNode=B}else hN(F,Z.type,Z.stateNode);else Z.stateNode=yN(F,B,Z.memoizedProps);else T!==B?(T===null?U.stateNode!==null&&(U=U.stateNode,U.parentNode.removeChild(U)):T.count--,B===null?hN(F,Z.type,Z.stateNode):yN(F,B,Z.memoizedProps)):B===null&&Z.stateNode!==null&&vM(Z,Z.memoizedProps,U.memoizedProps)}break;case 27:tY(X,Z),eY(Z),B&512&&(XY||U===null||cJ(U,U.return)),U!==null&&B&4&&vM(Z,Z.memoizedProps,U.memoizedProps);break;case 5:if(tY(X,Z),eY(Z),B&512&&(XY||U===null||cJ(U,U.return)),Z.flags&32){F=Z.stateNode;try{UZ(Z,wN,F)}catch(BZ){AX(Z,Z.return,BZ)}}B&4&&Z.stateNode!=null&&(F=Z.memoizedProps,vM(Z,F,U!==null?U.memoizedProps:F)),B&1024&&(F9=!0,Z.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(tY(X,Z),eY(Z),B&4){if(Z.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.");B=Z.memoizedProps,U=U!==null?U.memoizedProps:B,F=Z.stateNode;try{UZ(Z,W$,F,U,B)}catch(BZ){AX(Z,Z.return,BZ)}}break;case 3:if(F=Vq(),OA=null,T=MJ,MJ=zL(X.containerInfo),tY(X,Z),MJ=T,eY(Z),B&4&&U!==null&&U.memoizedState.isDehydrated)try{UZ(Z,w$,X.containerInfo)}catch(BZ){AX(Z,Z.return,BZ)}F9&&(F9=!1,j4(Z)),X.effectDuration+=CB(F);break;case 4:B=MJ,MJ=zL(Z.stateNode.containerInfo),tY(X,Z),eY(Z),MJ=B;break;case 12:B=Vq(),tY(X,Z),eY(Z),Z.stateNode.effectDuration+=sW(B);break;case 31:tY(X,Z),eY(Z),B&4&&(B=Z.updateQueue,B!==null&&(Z.updateQueue=null,ZL(Z,B)));break;case 13:tY(X,Z),eY(Z),Z.child.flags&8192&&Z.memoizedState!==null!==(U!==null&&U.memoizedState!==null)&&(XA=KY()),B&4&&(B=Z.updateQueue,B!==null&&(Z.updateQueue=null,ZL(Z,B)));break;case 22:F=Z.memoizedState!==null;var $=U!==null&&U.memoizedState!==null,c=mq,GZ=XY;if(mq=c||F,XY=GZ||$,tY(X,Z),XY=GZ,mq=c,$&&!F&&!c&&!GZ&&(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&OB(Z,EZ,xZ),eY(Z),B&8192)Z:for(X=Z.stateNode,X._visibility=F?X._visibility&~EU:X._visibility|EU,!F||U===null||$||mq||XY||(xH(Z),(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&xJ(Z,EZ,xZ,"Disconnect")),U=null,X=Z;;){if(X.tag===5||X.tag===26){if(U===null){$=U=X;try{T=$.stateNode,F?UZ($,L$,T):UZ($,F$,$.stateNode,$.memoizedProps)}catch(BZ){AX($,$.return,BZ)}}}else if(X.tag===6){if(U===null){$=X;try{x=$.stateNode,F?UZ($,A$,x):UZ($,M$,x,$.memoizedProps)}catch(BZ){AX($,$.return,BZ)}}}else if(X.tag===18){if(U===null){$=X;try{y=$.stateNode,F?UZ($,B$,y):UZ($,O$,$.stateNode)}catch(BZ){AX($,$.return,BZ)}}}else if((X.tag!==22&&X.tag!==23||X.memoizedState===null||X===Z)&&X.child!==null){X.child.return=X,X=X.child;continue}if(X===Z)break Z;for(;X.sibling===null;){if(X.return===null||X.return===Z)break Z;U===X&&(U=null),X=X.return}U===X&&(U=null),X.sibling.return=X.return,X=X.sibling}B&4&&(B=Z.updateQueue,B!==null&&(U=B.retryQueue,U!==null&&(B.retryQueue=null,ZL(Z,U))));break;case 19:tY(X,Z),eY(Z),B&4&&(B=Z.updateQueue,B!==null&&(Z.updateQueue=null,ZL(Z,B)));break;case 30:break;case 21:break;default:tY(X,Z),eY(Z)}(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&((mX||0.05<hX)&&yJ(Z,EZ,xZ,hX,xX),Z.alternate===null&&Z.return!==null&&Z.return.alternate!==null&&0.05<xZ-EZ&&(M4(Z.return.alternate,Z.return)||xJ(Z,EZ,xZ,"Mount"))),NQ(Y),bJ(J),xX=G,mX=H}function eY(Z){var X=Z.flags;if(X&2){try{UZ(Z,gD,Z)}catch(Y){AX(Z,Z.return,Y)}Z.flags&=-3}X&4096&&(Z.flags&=-4097)}function j4(Z){if(Z.subtreeFlags&1024)for(Z=Z.child;Z!==null;){var X=Z;j4(X),X.tag===5&&X.flags&1024&&X.stateNode.reset(),Z=Z.sibling}}function pJ(Z,X){if(X.subtreeFlags&8772)for(X=X.child;X!==null;)N4(Z,X.alternate,X),X=X.sibling}function C4(Z){var X=MQ(),Y=hJ(),J=gJ(),G=mJ();switch(Z.tag){case 0:case 11:case 14:case 15:xM(Z,Z.return,DQ),xH(Z);break;case 1:cJ(Z,Z.return);var H=Z.stateNode;typeof H.componentWillUnmount==="function"&&B4(Z,Z.return,H),xH(Z);break;case 27:UZ(Z,AU,Z.stateNode);case 26:case 5:cJ(Z,Z.return),xH(Z);break;case 22:Z.memoizedState===null&&xH(Z);break;case 30:xH(Z);break;default:xH(Z)}(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Z,EZ,xZ,hX,xX),NQ(X),bJ(Y),xX=J,mX=G}function xH(Z){for(Z=Z.child;Z!==null;)C4(Z),Z=Z.sibling}function P4(Z,X,Y,J){var G=MQ(),H=hJ(),U=gJ(),B=mJ(),F=Y.flags;switch(Y.tag){case 0:case 11:case 15:lJ(Z,Y,J),W4(Y,DQ);break;case 1:if(lJ(Z,Y,J),X=Y.stateNode,typeof X.componentDidMount==="function"&&UZ(Y,J9,Y,X),X=Y.updateQueue,X!==null){Z=Y.stateNode;try{UZ(Y,wD,X,Z)}catch(T){AX(Y,Y.return,T)}}J&&F&64&&K4(Y),GU(Y,Y.return);break;case 27:F4(Y);case 26:case 5:lJ(Z,Y,J),J&&X===null&&F&4&&A4(Y),GU(Y,Y.return);break;case 12:if(J&&F&4){F=Vq(),lJ(Z,Y,J),J=Y.stateNode,J.effectDuration+=sW(F);try{UZ(Y,L4,Y,X,PG,J.effectDuration)}catch(T){AX(Y,Y.return,T)}}else lJ(Z,Y,J);break;case 31:lJ(Z,Y,J),J&&F&4&&w4(Z,Y);break;case 13:lJ(Z,Y,J),J&&F&4&&V4(Z,Y);break;case 22:Y.memoizedState===null&&lJ(Z,Y,J),GU(Y,Y.return);break;case 30:break;default:lJ(Z,Y,J)}(Y.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Y,EZ,xZ,hX,xX),NQ(G),bJ(H),xX=U,mX=B}function lJ(Z,X,Y){Y=Y&&(X.subtreeFlags&8772)!==0;for(X=X.child;X!==null;)P4(Z,X.alternate,X,Y),X=X.sibling}function gM(Z,X){var Y=null;Z!==null&&Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(Y=Z.memoizedState.cachePool.pool),Z=null,X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(Z=X.memoizedState.cachePool.pool),Z!==Y&&(Z!=null&&DH(Z),Y!=null&&nW(Y))}function mM(Z,X){Z=null,X.alternate!==null&&(Z=X.alternate.memoizedState.cache),X=X.memoizedState.cache,X!==Z&&(DH(X),Z!=null&&nW(Z))}function KJ(Z,X,Y,J,G){if(X.subtreeFlags&10256||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child))for(X=X.child;X!==null;){var H=X.sibling;D4(Z,X,Y,J,H!==null?H.actualStartTime:G),X=H}}function D4(Z,X,Y,J,G){var H=MQ(),U=hJ(),B=gJ(),F=mJ(),T=VG,x=X.flags;switch(X.tag){case 0:case 11:case 15:(X.mode&iZ)!==hZ&&0<X.actualStartTime&&(X.flags&1)!==0&&FB(X,X.actualStartTime,G,zY,Y),KJ(Z,X,Y,J,G),x&2048&&U4(X,iY|oQ);break;case 1:(X.mode&iZ)!==hZ&&0<X.actualStartTime&&((X.flags&128)!==0?wF(X,X.actualStartTime,G,[]):(X.flags&1)!==0&&FB(X,X.actualStartTime,G,zY,Y)),KJ(Z,X,Y,J,G);break;case 3:var y=Vq(),$=zY;zY=X.alternate!==null&&X.alternate.memoizedState.isDehydrated&&(X.flags&256)===0,KJ(Z,X,Y,J,G),zY=$,x&2048&&(Y=null,X.alternate!==null&&(Y=X.alternate.memoizedState.cache),J=X.memoizedState.cache,J!==Y&&(DH(J),Y!=null&&nW(Y))),Z.passiveEffectDuration+=CB(y);break;case 12:if(x&2048){x=Vq(),KJ(Z,X,Y,J,G),Z=X.stateNode,Z.passiveEffectDuration+=sW(x);try{UZ(X,bD,X,X.alternate,PG,Z.passiveEffectDuration)}catch(c){AX(X,X.return,c)}}else KJ(Z,X,Y,J,G);break;case 31:x=zY,y=X.alternate!==null?X.alternate.memoizedState:null,$=X.memoizedState,y!==null&&$===null?($=X.deletions,$!==null&&0<$.length&&$[0].tag===18?(zY=!1,y=y.hydrationErrors,y!==null&&wF(X,X.actualStartTime,G,y)):zY=!0):zY=!1,KJ(Z,X,Y,J,G),zY=x;break;case 13:x=zY,y=X.alternate!==null?X.alternate.memoizedState:null,$=X.memoizedState,y===null||y.dehydrated===null||$!==null&&$.dehydrated!==null?zY=!1:($=X.deletions,$!==null&&0<$.length&&$[0].tag===18?(zY=!1,y=y.hydrationErrors,y!==null&&wF(X,X.actualStartTime,G,y)):zY=!0),KJ(Z,X,Y,J,G),zY=x;break;case 23:break;case 22:$=X.stateNode,y=X.alternate,X.memoizedState!==null?$._visibility&$q?KJ(Z,X,Y,J,G):HU(Z,X,Y,J,G):$._visibility&$q?KJ(Z,X,Y,J,G):($._visibility|=$q,ez(Z,X,Y,J,(X.subtreeFlags&10256)!==0||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child),G),(X.mode&iZ)===hZ||zY||(Z=X.actualStartTime,0<=Z&&0.05<G-Z&&OB(X,Z,G),0<=EZ&&0<=xZ&&0.05<xZ-EZ&&OB(X,EZ,xZ))),x&2048&&gM(y,X);break;case 24:KJ(Z,X,Y,J,G),x&2048&&mM(X.alternate,X);break;default:KJ(Z,X,Y,J,G)}if((X.mode&iZ)!==hZ){if(Z=!zY&&X.alternate===null&&X.return!==null&&X.return.alternate!==null)Y=X.actualStartTime,0<=Y&&0.05<G-Y&&xJ(X,Y,G,"Mount");0<=EZ&&0<=xZ&&((mX||0.05<hX)&&yJ(X,EZ,xZ,hX,xX),Z&&0.05<xZ-EZ&&xJ(X,EZ,xZ,"Mount"))}NQ(H),bJ(U),xX=B,mX=F,VG=T}function ez(Z,X,Y,J,G,H){G=G&&((X.subtreeFlags&10256)!==0||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child));for(X=X.child;X!==null;){var U=X.sibling;$4(Z,X,Y,J,G,U!==null?U.actualStartTime:H),X=U}}function $4(Z,X,Y,J,G,H){var U=MQ(),B=hJ(),F=gJ(),T=mJ(),x=VG;G&&(X.mode&iZ)!==hZ&&0<X.actualStartTime&&(X.flags&1)!==0&&FB(X,X.actualStartTime,H,zY,Y);var y=X.flags;switch(X.tag){case 0:case 11:case 15:ez(Z,X,Y,J,G,H),U4(X,iY);break;case 23:break;case 22:var $=X.stateNode;X.memoizedState!==null?$._visibility&$q?ez(Z,X,Y,J,G,H):HU(Z,X,Y,J,H):($._visibility|=$q,ez(Z,X,Y,J,G,H)),G&&y&2048&&gM(X.alternate,X);break;case 24:ez(Z,X,Y,J,G,H),G&&y&2048&&mM(X.alternate,X);break;default:ez(Z,X,Y,J,G,H)}(X.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(X,EZ,xZ,hX,xX),NQ(U),bJ(B),xX=F,mX=T,VG=x}function HU(Z,X,Y,J,G){if(X.subtreeFlags&10256||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child))for(var H=X.child;H!==null;){X=H.sibling;var U=Z,B=Y,F=J,T=X!==null?X.actualStartTime:G,x=VG;(H.mode&iZ)!==hZ&&0<H.actualStartTime&&(H.flags&1)!==0&&FB(H,H.actualStartTime,T,zY,B);var y=H.flags;switch(H.tag){case 22:HU(U,H,B,F,T),y&2048&&gM(H.alternate,H);break;case 24:HU(U,H,B,F,T),y&2048&&mM(H.alternate,H);break;default:HU(U,H,B,F,T)}VG=x,H=X}}function Z_(Z,X,Y){if(Z.subtreeFlags&rU)for(Z=Z.child;Z!==null;)S4(Z,X,Y),Z=Z.sibling}function S4(Z,X,Y){switch(Z.tag){case 26:Z_(Z,X,Y),Z.flags&rU&&Z.memoizedState!==null&&D$(Y,MJ,Z.memoizedState,Z.memoizedProps);break;case 5:Z_(Z,X,Y);break;case 3:case 4:var J=MJ;MJ=zL(Z.stateNode.containerInfo),Z_(Z,X,Y),MJ=J;break;case 22:Z.memoizedState===null&&(J=Z.alternate,J!==null&&J.memoizedState!==null?(J=rU,rU=16777216,Z_(Z,X,Y),rU=J):Z_(Z,X,Y));break;default:Z_(Z,X,Y)}}function E4(Z){var X=Z.alternate;if(X!==null&&(Z=X.child,Z!==null)){X.child=null;do X=Z.sibling,Z.sibling=null,Z=X;while(Z!==null)}}function zU(Z){var X=Z.deletions;if((Z.flags&16)!==0){if(X!==null)for(var Y=0;Y<X.length;Y++){var J=X[Y],G=MQ();LY=J,y4(J,Z),(J.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&xJ(J,EZ,xZ,"Unmount"),NQ(G)}E4(Z)}if(Z.subtreeFlags&10256)for(Z=Z.child;Z!==null;)k4(Z),Z=Z.sibling}function k4(Z){var X=MQ(),Y=hJ(),J=gJ(),G=mJ();switch(Z.tag){case 0:case 11:case 15:zU(Z),Z.flags&2048&&yM(Z,Z.return,iY|oQ);break;case 3:var H=Vq();zU(Z),Z.stateNode.passiveEffectDuration+=CB(H);break;case 12:H=Vq(),zU(Z),Z.stateNode.passiveEffectDuration+=sW(H);break;case 22:H=Z.stateNode,Z.memoizedState!==null&&H._visibility&$q&&(Z.return===null||Z.return.tag!==13)?(H._visibility&=~$q,XL(Z),(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&xJ(Z,EZ,xZ,"Disconnect")):zU(Z);break;default:zU(Z)}(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Z,EZ,xZ,hX,xX),NQ(X),bJ(Y),mX=G,xX=J}function XL(Z){var X=Z.deletions;if((Z.flags&16)!==0){if(X!==null)for(var Y=0;Y<X.length;Y++){var J=X[Y],G=MQ();LY=J,y4(J,Z),(J.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&xJ(J,EZ,xZ,"Unmount"),NQ(G)}E4(Z)}for(Z=Z.child;Z!==null;)x4(Z),Z=Z.sibling}function x4(Z){var X=MQ(),Y=hJ(),J=gJ(),G=mJ();switch(Z.tag){case 0:case 11:case 15:yM(Z,Z.return,iY),XL(Z);break;case 22:var H=Z.stateNode;H._visibility&$q&&(H._visibility&=~$q,XL(Z));break;default:XL(Z)}(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Z,EZ,xZ,hX,xX),NQ(X),bJ(Y),mX=G,xX=J}function y4(Z,X){for(;LY!==null;){var Y=LY,J=Y,G=X,H=MQ(),U=hJ(),B=gJ(),F=mJ();switch(J.tag){case 0:case 11:case 15:yM(J,G,iY);break;case 23:case 22:J.memoizedState!==null&&J.memoizedState.cachePool!==null&&(G=J.memoizedState.cachePool.pool,G!=null&&DH(G));break;case 24:nW(J.memoizedState.cache)}if((J.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(J,EZ,xZ,hX,xX),NQ(H),bJ(U),mX=F,xX=B,J=Y.child,J!==null)J.return=Y,LY=J;else Z:for(Y=Z;LY!==null;){if(J=LY,H=J.sibling,U=J.return,I4(J),J===Y){LY=null;break Z}if(H!==null){H.return=U,LY=H;break Z}LY=U}}}function uD(){zE.forEach(function(Z){return Z()})}function v4(){var Z=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return Z||s.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),Z}function TQ(Z){if((zX&_Y)!==AY&&sZ!==0)return sZ&-sZ;var X=s.T;return X!==null?(X._updatedFibers||(X._updatedFibers=new Set),X._updatedFibers.add(Z),nM()):u()}function h4(){if(YQ===0)if((sZ&536870912)===0||QX){var Z=IL;IL<<=1,(IL&3932160)===0&&(IL=262144),YQ=Z}else YQ=536870912;return Z=PQ.current,Z!==null&&(Z.flags|=32),YQ}function gX(Z,X,Y){if(m_&&console.error("useInsertionEffect must not schedule updates."),D9&&(qA=!0),Z===RX&&(MX===sH||MX===aH)||Z.cancelPendingCommit!==null)Y_(Z,0),AG(Z,sZ,YQ,!1);if(QG(Z,Y),(zX&_Y)!==AY&&Z===RX){if(oJ)switch(X.tag){case 0:case 11:case 15:Z=aZ&&n(aZ)||"Unknown",_T.has(Z)||(_T.add(Z),X=n(X)||"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",X,Z,Z));break;case 1:zT||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),zT=!0)}}else tJ&&hW(Z,X,Y),rD(X),Z===RX&&((zX&_Y)===AY&&(hG|=Y),bX===xG&&AG(Z,sZ,YQ,!1)),iJ(Z)}function b4(Z,X,Y){if((zX&(_Y|$Q))!==AY)throw Error("Should not already be working.");if(sZ!==0&&aZ!==null){var J=aZ,G=KY();switch(XI){case ZK:case sH:var H=bU;DX&&((J=J._debugTask)?J.run(console.timeStamp.bind(console,"Suspended",H,G,dQ,void 0,"primary-light")):console.timeStamp("Suspended",H,G,dQ,void 0,"primary-light"));break;case aH:H=bU,DX&&((J=J._debugTask)?J.run(console.timeStamp.bind(console,"Action",H,G,dQ,void 0,"primary-light")):console.timeStamp("Action",H,G,dQ,void 0,"primary-light"));break;default:DX&&(J=G-bU,3>J||console.timeStamp("Blocked",bU,G,dQ,void 0,5>J?"primary-light":10>J?"primary":100>J?"primary-dark":"error"))}}H=(Y=!Y&&(X&127)===0&&(X&Z.expiredLanes)===0||AH(Z,X))?cD(Z,X):uM(Z,X,!0);var U=Y;do{if(H===fq){b_&&!Y&&AG(Z,X,0,!1),X=MX,bU=tX(),XI=X;break}else{if(J=KY(),G=Z.current.alternate,U&&!dD(G)){OQ(X),G=BY,H=J,!DX||H<=G||(lX?lX.run(console.timeStamp.bind(console,"Teared Render",G,H,eZ,tZ,"error")):console.timeStamp("Teared Render",G,H,eZ,tZ,"error")),yH(X,J),H=uM(Z,X,!1),U=!1;continue}if(H===nH){if(U=X,Z.errorRecoveryDisabledLanes&U)var B=0;else B=Z.pendingLanes&-536870913,B=B!==0?B:B&536870912?536870912:0;if(B!==0){OQ(X),VF(BY,J,X,lX),yH(X,J),X=B;Z:{J=Z,H=U,U=YK;var F=J.current.memoizedState.isDehydrated;if(F&&(Y_(J,B).flags|=256),B=uM(J,B,!1),B!==nH){if(I9&&!F){J.errorRecoveryDisabledLanes|=H,hG|=H,H=xG;break Z}J=nY,nY=U,J!==null&&(nY===null?nY=J:nY.push.apply(nY,J))}H=B}if(U=!1,H!==nH)continue;else J=KY()}}if(H===eU){OQ(X),VF(BY,J,X,lX),yH(X,J),Y_(Z,0),AG(Z,X,0,!0);break}Z:{switch(Y=Z,H){case fq:case eU:throw Error("Root did not complete. This is a bug in React.");case xG:if((X&4194048)!==X)break;case rL:OQ(X),b8(BY,J,X,lX),yH(X,J),G=X,(G&127)!==0?hL=J:(G&4194048)!==0&&(bL=J),AG(Y,X,YQ,!yG);break Z;case nH:nY=null;break;case oL:case aI:break;default:throw Error("Unknown root exit status.")}if(s.actQueue!==null)dM(Y,G,X,nY,QK,ZA,YQ,hG,oH,H,null,null,BY,J);else{if((X&62914560)===X&&(U=XA+tI-KY(),10<U)){if(AG(Y,X,YQ,!yG),LH(Y,0,!0)!==0)break Z;NJ=X,Y.timeoutHandle=FT(g4.bind(null,Y,G,nY,QK,ZA,X,YQ,hG,oH,yG,H,"Throttled",BY,J),U);break Z}g4(Y,G,nY,QK,ZA,X,YQ,hG,oH,yG,H,null,BY,J)}}}break}while(1);iJ(Z)}function g4(Z,X,Y,J,G,H,U,B,F,T,x,y,$,c){Z.timeoutHandle=Xz;var GZ=X.subtreeFlags,BZ=null;if(GZ&8192||(GZ&16785408)===16785408){if(BZ={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Nq},S4(X,H,BZ),GZ=(H&62914560)===H?XA-KY():(H&4194048)===H?rI-KY():0,GZ=$$(BZ,GZ),GZ!==null){NJ=H,Z.cancelPendingCommit=GZ(dM.bind(null,Z,X,H,Y,J,G,U,B,F,x,BZ,BZ.waitingForViewTransition?"Waiting for the previous Animation":0<BZ.count?0<BZ.imgCount?"Suspended on CSS and Images":"Suspended on CSS":BZ.imgCount===1?"Suspended on an Image":0<BZ.imgCount?"Suspended on Images":null,$,c)),AG(Z,H,U,!T);return}}dM(Z,X,H,Y,J,G,U,B,F,x,BZ,y,$,c)}function dD(Z){for(var X=Z;;){var Y=X.tag;if((Y===0||Y===11||Y===15)&&X.flags&16384&&(Y=X.updateQueue,Y!==null&&(Y=Y.stores,Y!==null)))for(var J=0;J<Y.length;J++){var G=Y[J],H=G.getSnapshot;G=G.value;try{if(!cY(H(),G))return!1}catch(U){return!1}}if(Y=X.child,X.subtreeFlags&16384&&Y!==null)Y.return=X,X=Y;else{if(X===Z)break;for(;X.sibling===null;){if(X.return===null||X.return===Z)return!0;X=X.return}X.sibling.return=X.return,X=X.sibling}}return!0}function AG(Z,X,Y,J){X&=~T9,X&=~hG,Z.suspendedLanes|=X,Z.pingedLanes&=~X,J&&(Z.warmLanes|=X),J=Z.expirationTimes;for(var G=X;0<G;){var H=31-fY(G),U=1<<H;J[H]=-1,G&=~U}Y!==0&&OH(Z,Y,X)}function X_(){return(zX&(_Y|$Q))===AY?(UU(0,!1),!1):!0}function fM(){if(aZ!==null){if(MX===XQ)var Z=aZ.return;else Z=aZ,VB(),rF(Z),D_=null,iU=0,Z=aZ;for(;Z!==null;)_4(Z.alternate,Z),Z=Z.return;aZ=null}}function yH(Z,X){(Z&127)!==0&&(DG=X),(Z&4194048)!==0&&(Qq=X),(Z&62914560)!==0&&(e7=X),(Z&2080374784)!==0&&(ZI=X)}function Y_(Z,X){DX&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",tZ,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",tZ,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",tZ,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",tZ,"primary-light"));var Y=BY;if(BY=tX(),sZ!==0&&0<Y){if(OQ(sZ),bX===oL||bX===xG)b8(Y,BY,X,lX);else{var J=BY,G=lX;if(DX&&!(J<=Y)){var H=(X&738197653)===X?"tertiary-dark":"primary-dark",U=(X&536870912)===X?"Prewarm":(X&201326741)===X?"Interrupted Hydration":"Interrupted Render";G?G.run(console.timeStamp.bind(console,U,Y,J,eZ,tZ,H)):console.timeStamp(U,Y,J,eZ,tZ,H)}}yH(sZ,BY)}if(Y=lX,lX=null,(X&127)!==0){lX=yU,G=0<=Yq&&Yq<DG?DG:Yq,J=0<=mH&&mH<DG?DG:mH,H=0<=J?J:0<=G?G:BY,0<=hL?(OQ(2),g8(hL,H,X,Y)):(gL&127)!==0&&(OQ(2),lW(DG,H,vq)),Y=G;var B=J,F=vU,T=0<j_,x=$G===xU,y=$G===vL;if(G=BY,J=yU,H=e0,U=Z9,DX){if(eZ="Blocking",0<Y?Y>G&&(Y=G):Y=G,0<B?B>Y&&(B=Y):B=Y,F!==null&&Y>B){var $=T?"secondary-light":"warning";J?J.run(console.timeStamp.bind(console,T?"Consecutive":"Event: "+F,B,Y,eZ,tZ,$)):console.timeStamp(T?"Consecutive":"Event: "+F,B,Y,eZ,tZ,$)}G>Y&&(B=x?"error":(X&738197653)===X?"tertiary-light":"primary-light",x=y?"Promise Resolved":x?"Cascading Update":5<G-Y?"Update Blocked":"Update",y=[],U!=null&&y.push(["Component name",U]),H!=null&&y.push(["Method name",H]),Y={start:Y,end:G,detail:{devtools:{properties:y,track:eZ,trackGroup:tZ,color:B}}},J?J.run(performance.measure.bind(performance,x,Y)):performance.measure(x,Y))}Yq=-1.1,$G=0,Z9=e0=null,hL=-1.1,j_=mH,mH=-1.1,DG=tX()}if((X&4194048)!==0&&(lX=hU,G=0<=yq&&yq<Qq?Qq:yq,Y=0<=sQ&&sQ<Qq?Qq:sQ,J=0<=SG&&SG<Qq?Qq:SG,H=0<=J?J:0<=Y?Y:BY,0<=bL?(OQ(256),g8(bL,H,X,lX)):(gL&4194048)!==0&&(OQ(256),lW(Qq,H,vq)),y=J,B=fH,F=0<EG,T=X9===vL,H=BY,J=hU,U=r7,x=t7,DX&&(eZ="Transition",0<Y?Y>H&&(Y=H):Y=H,0<G?G>Y&&(G=Y):G=Y,0<y?y>G&&(y=G):y=G,G>y&&B!==null&&($=F?"secondary-light":"warning",J?J.run(console.timeStamp.bind(console,F?"Consecutive":"Event: "+B,y,G,eZ,tZ,$)):console.timeStamp(F?"Consecutive":"Event: "+B,y,G,eZ,tZ,$)),Y>G&&(J?J.run(console.timeStamp.bind(console,"Action",G,Y,eZ,tZ,"primary-dark")):console.timeStamp("Action",G,Y,eZ,tZ,"primary-dark")),H>Y&&(G=T?"Promise Resolved":5<H-Y?"Update Blocked":"Update",y=[],x!=null&&y.push(["Component name",x]),U!=null&&y.push(["Method name",U]),Y={start:Y,end:H,detail:{devtools:{properties:y,track:eZ,trackGroup:tZ,color:"primary-light"}}},J?J.run(performance.measure.bind(performance,G,Y)):performance.measure(G,Y))),sQ=yq=-1.1,X9=0,bL=-1.1,EG=SG,SG=-1.1,Qq=tX()),(X&62914560)!==0&&(gL&62914560)!==0&&(OQ(4194304),lW(e7,BY,vq)),(X&2080374784)!==0&&(gL&2080374784)!==0&&(OQ(268435456),lW(ZI,BY,vq)),Y=Z.timeoutHandle,Y!==Xz&&(Z.timeoutHandle=Xz,TE(Y)),Y=Z.cancelPendingCommit,Y!==null&&(Z.cancelPendingCommit=null,Y()),NJ=0,fM(),RX=Z,aZ=Y=Iq(Z.current,null),sZ=X,MX=XQ,SQ=null,yG=!1,b_=AH(Z,X),I9=!1,bX=fq,oH=YQ=T9=hG=vG=0,nY=YK=null,ZA=!1,(X&8)!==0&&(X|=X&32),J=Z.entangledLanes,J!==0)for(Z=Z.entanglements,J&=X;0<J;)G=31-fY(J),H=1<<G,X|=Z[G],J&=~H;return qq=X,MB(),Z=l7(),1000<Z-p7&&(s.recentlyCreatedOwnerStacks=0,p7=Z),OJ.discardPendingWarnings(),Y}function m4(Z,X){bZ=null,s.H=oU,s.getCurrentStack=null,oJ=!1,RQ=null,X===P_||X===dL?(X=G1(),MX=ZK):X===q9?(X=G1(),MX=oI):MX=X===A9?N9:X!==null&&typeof X==="object"&&typeof X.then==="function"?XK:tL,SQ=X;var Y=aZ;Y===null?(bX=eU,sB(Z,FQ(X,Z.current))):Y.mode&iZ&&gF(Y)}function f4(){var Z=PQ.current;return Z===null?!0:(sZ&4194048)===sZ?aQ===null?!0:!1:(sZ&62914560)===sZ||(sZ&536870912)!==0?Z===aQ:!1}function u4(){var Z=s.H;return s.H=oU,Z===null?oU:Z}function d4(){var Z=s.A;return s.A=HE,Z}function YL(Z){lX===null&&(lX=Z._debugTask==null?null:Z._debugTask)}function QL(){bX=xG,yG||(sZ&4194048)!==sZ&&PQ.current!==null||(b_=!0),(vG&134217727)===0&&(hG&134217727)===0||RX===null||AG(RX,sZ,YQ,!1)}function uM(Z,X,Y){var J=zX;zX|=_Y;var G=u4(),H=d4();if(RX!==Z||sZ!==X){if(tJ){var U=Z.memoizedUpdaters;0<U.size&&(WU(Z,sZ),U.clear()),JG(Z,X)}QK=null,Y_(Z,X)}X=!1,U=bX;Z:do try{if(MX!==XQ&&aZ!==null){var B=aZ,F=SQ;switch(MX){case N9:fM(),U=rL;break Z;case ZK:case sH:case aH:case XK:PQ.current===null&&(X=!0);var T=MX;if(MX=XQ,SQ=null,Q_(Z,B,F,T),Y&&b_){U=fq;break Z}break;default:T=MX,MX=XQ,SQ=null,Q_(Z,B,F,T)}}c4(),U=bX;break}catch(x){m4(Z,x)}while(1);return X&&Z.shellSuspendCounter++,VB(),zX=J,s.H=G,s.A=H,aZ===null&&(RX=null,sZ=0,MB()),U}function c4(){for(;aZ!==null;)p4(aZ)}function cD(Z,X){var Y=zX;zX|=_Y;var J=u4(),G=d4();if(RX!==Z||sZ!==X){if(tJ){var H=Z.memoizedUpdaters;0<H.size&&(WU(Z,sZ),H.clear()),JG(Z,X)}QK=null,YA=KY()+eI,Y_(Z,X)}else b_=AH(Z,X);Z:do try{if(MX!==XQ&&aZ!==null)X:switch(X=aZ,H=SQ,MX){case tL:MX=XQ,SQ=null,Q_(Z,X,H,tL);break;case sH:case aH:if(J1(H)){MX=XQ,SQ=null,l4(X);break}X=function(){MX!==sH&&MX!==aH||RX!==Z||(MX=eL),iJ(Z)},H.then(X,X);break Z;case ZK:MX=eL;break Z;case oI:MX=M9;break Z;case eL:J1(H)?(MX=XQ,SQ=null,l4(X)):(MX=XQ,SQ=null,Q_(Z,X,H,eL));break;case M9:var U=null;switch(aZ.tag){case 26:U=aZ.memoizedState;case 5:case 27:var B=aZ;if(U?bN(U):B.stateNode.complete){MX=XQ,SQ=null;var F=B.sibling;if(F!==null)aZ=F;else{var T=B.return;T!==null?(aZ=T,JL(T)):aZ=null}break X}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}MX=XQ,SQ=null,Q_(Z,X,H,M9);break;case XK:MX=XQ,SQ=null,Q_(Z,X,H,XK);break;case N9:fM(),bX=rL;break Z;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}s.actQueue!==null?c4():pD();break}catch(x){m4(Z,x)}while(1);if(VB(),s.H=J,s.A=G,zX=Y,aZ!==null)return fq;return RX=null,sZ=0,MB(),bX}function pD(){for(;aZ!==null&&!d$();)p4(aZ)}function p4(Z){var X=Z.alternate;(Z.mode&iZ)!==hZ?(bF(Z),X=UZ(Z,EM,X,Z,qq),gF(Z)):X=UZ(Z,EM,X,Z,qq),Z.memoizedProps=Z.pendingProps,X===null?JL(Z):aZ=X}function l4(Z){var X=UZ(Z,lD,Z);Z.memoizedProps=Z.pendingProps,X===null?JL(Z):aZ=X}function lD(Z){var X=Z.alternate,Y=(Z.mode&iZ)!==hZ;switch(Y&&bF(Z),Z.tag){case 15:case 0:X=Y4(X,Z,Z.pendingProps,Z.type,void 0,sZ);break;case 11:X=Y4(X,Z,Z.pendingProps,Z.type.render,Z.ref,sZ);break;case 5:rF(Z);default:_4(X,Z),Z=aZ=p8(Z,qq),X=EM(X,Z,qq)}return Y&&gF(Z),X}function Q_(Z,X,Y,J){VB(),rF(X),D_=null,iU=0;var G=X.return;try{if($D(Z,G,X,Y,sZ)){bX=eU,sB(Z,FQ(Y,Z.current)),aZ=null;return}}catch(H){if(G!==null)throw aZ=G,H;bX=eU,sB(Z,FQ(Y,Z.current)),aZ=null;return}if(X.flags&32768){if(QX||J===tL)Z=!0;else if(b_||(sZ&536870912)!==0)Z=!1;else if(yG=Z=!0,J===sH||J===aH||J===ZK||J===XK)J=PQ.current,J!==null&&J.tag===13&&(J.flags|=16384);i4(X,Z)}else JL(X)}function JL(Z){var X=Z;do{if((X.flags&32768)!==0){i4(X,yG);return}var Y=X.alternate;if(Z=X.return,bF(X),Y=UZ(X,kD,Y,X,qq),(X.mode&iZ)!==hZ&&e8(X),Y!==null){aZ=Y;return}if(X=X.sibling,X!==null){aZ=X;return}aZ=X=Z}while(X!==null);bX===fq&&(bX=aI)}function i4(Z,X){do{var Y=xD(Z.alternate,Z);if(Y!==null){Y.flags&=32767,aZ=Y;return}if((Z.mode&iZ)!==hZ){e8(Z),Y=Z.actualDuration;for(var J=Z.child;J!==null;)Y+=J.actualDuration,J=J.sibling;Z.actualDuration=Y}if(Y=Z.return,Y!==null&&(Y.flags|=32768,Y.subtreeFlags=0,Y.deletions=null),!X&&(Z=Z.sibling,Z!==null)){aZ=Z;return}aZ=Z=Y}while(Z!==null);bX=rL,aZ=null}function dM(Z,X,Y,J,G,H,U,B,F,T,x,y,$,c){Z.cancelPendingCommit=null;do _U();while(QY!==gG);if(OJ.flushLegacyContextWarning(),OJ.flushPendingUnsafeLifecycleWarnings(),(zX&(_Y|$Q))!==AY)throw Error("Should not already be working.");if(OQ(Y),T===nH?VF($,c,Y,lX):J!==null?OD($,c,Y,J,X!==null&&X.alternate!==null&&X.alternate.memoizedState.isDehydrated&&(X.flags&256)!==0,lX):AD($,c,Y,lX),X!==null){if(Y===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),X===Z.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(H=X.lanes|X.childLanes,H|=s0,HB(Z,Y,H,U,B,F),Z===RX&&(aZ=RX=null,sZ=0),g_=X,mG=Z,NJ=Y,R9=H,C9=G,qT=J,j9=c,GT=y,IJ=QA,HT=null,X.actualDuration!==0||(X.subtreeFlags&10256)!==0||(X.flags&10256)!==0?(Z.callbackNode=null,Z.callbackPriority=0,oD(__,function(){return _K=window.event,IJ===QA&&(IJ=V9),r4(),null})):(Z.callbackNode=null,Z.callbackPriority=0),xq=null,PG=tX(),y!==null&&FD(c,PG,y,lX),J=(X.flags&13878)!==0,(X.subtreeFlags&13878)!==0||J){J=s.T,s.T=null,G=OX.p,OX.p=jQ,U=zX,zX|=$Q;try{mD(Z,X,Y)}finally{zX=U,OX.p=G,s.T=J}}QY=XT,n4(),s4(),a4()}}function n4(){if(QY===XT){QY=gG;var Z=mG,X=g_,Y=NJ,J=(X.flags&13878)!==0;if((X.subtreeFlags&13878)!==0||J){J=s.T,s.T=null;var G=OX.p;OX.p=jQ;var H=zX;zX|=$Q;try{v_=Y,h_=Z,PB(),R4(X,Z),h_=v_=null,Y=b9;var U=y8(Z.containerInfo),B=Y.focusedElem,F=Y.selectionRange;if(U!==B&&B&&B.ownerDocument&&x8(B.ownerDocument.documentElement,B)){if(F!==null&&IF(B)){var{start:T,end:x}=F;if(x===void 0&&(x=T),"selectionStart"in B)B.selectionStart=T,B.selectionEnd=Math.min(x,B.value.length);else{var y=B.ownerDocument||document,$=y&&y.defaultView||window;if($.getSelection){var c=$.getSelection(),GZ=B.textContent.length,BZ=Math.min(F.start,GZ),PX=F.end===void 0?BZ:Math.min(F.end,GZ);!c.extend&&BZ>PX&&(U=PX,PX=BZ,BZ=U);var GX=k8(B,BZ),D=k8(B,PX);if(GX&&D&&(c.rangeCount!==1||c.anchorNode!==GX.node||c.anchorOffset!==GX.offset||c.focusNode!==D.node||c.focusOffset!==D.offset)){var S=y.createRange();S.setStart(GX.node,GX.offset),c.removeAllRanges(),BZ>PX?(c.addRange(S),c.extend(D.node,D.offset)):(S.setEnd(D.node,D.offset),c.addRange(S))}}}}y=[];for(c=B;c=c.parentNode;)c.nodeType===1&&y.push({element:c,left:c.scrollLeft,top:c.scrollTop});typeof B.focus==="function"&&B.focus();for(B=0;B<y.length;B++){var k=y[B];k.element.scrollLeft=k.left,k.element.scrollTop=k.top}}NA=!!h9,b9=h9=null}finally{zX=H,OX.p=G,s.T=J}}Z.current=X,QY=YT}}function s4(){if(QY===YT){QY=gG;var Z=HT;if(Z!==null){PG=tX();var X=kq,Y=PG;!DX||Y<=X||(vq?vq.run(console.timeStamp.bind(console,Z,X,Y,eZ,tZ,"secondary-light")):console.timeStamp(Z,X,Y,eZ,tZ,"secondary-light"))}Z=mG,X=g_,Y=NJ;var J=(X.flags&8772)!==0;if((X.subtreeFlags&8772)!==0||J){J=s.T,s.T=null;var G=OX.p;OX.p=jQ;var H=zX;zX|=$Q;try{v_=Y,h_=Z,PB(),N4(Z,X.alternate,X),h_=v_=null}finally{zX=H,OX.p=G,s.T=J}}Z=j9,X=GT,kq=tX(),Z=X===null?Z:PG,X=kq,Y=IJ===w9,J=lX,xq!==null?m8(Z,X,xq,!1,J):!DX||X<=Z||(J?J.run(console.timeStamp.bind(console,Y?"Commit Interrupted View Transition":"Commit",Z,X,eZ,tZ,Y?"error":"secondary-dark")):console.timeStamp(Y?"Commit Interrupted View Transition":"Commit",Z,X,eZ,tZ,Y?"error":"secondary-dark")),QY=QT}}function a4(){if(QY===JT||QY===QT){if(QY===JT){var Z=kq;kq=tX();var X=kq,Y=IJ===w9;!DX||X<=Z||(vq?vq.run(console.timeStamp.bind(console,Y?"Interrupted View Transition":"Starting Animation",Z,X,eZ,tZ,Y?"error":"secondary-light")):console.timeStamp(Y?"Interrupted View Transition":"Starting Animation",Z,X,eZ,tZ,Y?" error":"secondary-light")),IJ!==w9&&(IJ=ZT)}QY=gG,c$(),Z=mG;var J=g_;X=NJ,Y=qT;var G=J.actualDuration!==0||(J.subtreeFlags&10256)!==0||(J.flags&10256)!==0;G?QY=JA:(QY=gG,g_=mG=null,o4(Z,Z.pendingLanes),rH=0,qK=null);var H=Z.pendingLanes;if(H===0&&(bG=null),G||XN(Z),H=V(X),J=J.stateNode,bY&&typeof bY.onCommitFiberRoot==="function")try{var U=(J.current.flags&128)===128;switch(H){case jQ:var B=C0;break;case LJ:B=P0;break;case eJ:B=__;break;case wL:B=D0;break;default:B=__}bY.onCommitFiberRoot(W_,J,B,U)}catch(y){rJ||(rJ=!0,console.error("React instrumentation encountered an error: %o",y))}if(tJ&&Z.memoizedUpdaters.clear(),uD(),Y!==null){U=s.T,B=OX.p,OX.p=jQ,s.T=null;try{var F=Z.onRecoverableError;for(J=0;J<Y.length;J++){var T=Y[J],x=iD(T.stack);UZ(T.source,F,T.value,x)}}finally{s.T=U,OX.p=B}}(NJ&3)!==0&&_U(),iJ(Z),H=Z.pendingLanes,(X&261930)!==0&&(H&42)!==0?(fL=!0,Z===P9?JK++:(JK=0,P9=Z)):JK=0,G||yH(X,kq),UU(0,!1)}}function iD(Z){return Z={componentStack:Z},Object.defineProperty(Z,"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.')}}),Z}function o4(Z,X){(Z.pooledCacheLanes&=X)===0&&(X=Z.pooledCache,X!=null&&(Z.pooledCache=null,nW(X)))}function _U(){return n4(),s4(),a4(),r4()}function r4(){if(QY!==JA)return!1;var Z=mG,X=R9;R9=0;var Y=V(NJ),J=eJ===0||eJ>Y?eJ:Y;Y=s.T;var G=OX.p;try{OX.p=J,s.T=null;var H=C9;C9=null,J=mG;var U=NJ;if(QY=gG,g_=mG=null,NJ=0,(zX&(_Y|$Q))!==AY)throw Error("Cannot flush passive effects while already rendering.");OQ(U),D9=!0,qA=!1;var B=0;if(xq=null,B=KY(),IJ===ZT)lW(kq,B,vq);else{var F=kq,T=B,x=IJ===V9;!DX||T<=F||(lX?lX.run(console.timeStamp.bind(console,x?"Waiting for Paint":"Waiting",F,T,eZ,tZ,"secondary-light")):console.timeStamp(x?"Waiting for Paint":"Waiting",F,T,eZ,tZ,"secondary-light"))}F=zX,zX|=$Q;var y=J.current;PB(),k4(y);var $=J.current;y=j9,PB(),D4(J,$,U,H,y),XN(J),zX=F;var c=KY();if($=B,y=lX,xq!==null?m8($,c,xq,!0,y):!DX||c<=$||(y?y.run(console.timeStamp.bind(console,"Remaining Effects",$,c,eZ,tZ,"secondary-dark")):console.timeStamp("Remaining Effects",$,c,eZ,tZ,"secondary-dark")),yH(U,c),UU(0,!1),qA?J===qK?rH++:(rH=0,qK=J):rH=0,qA=D9=!1,bY&&typeof bY.onPostCommitFiberRoot==="function")try{bY.onPostCommitFiberRoot(W_,J)}catch(BZ){rJ||(rJ=!0,console.error("React instrumentation encountered an error: %o",BZ))}var GZ=J.current.stateNode;return GZ.effectDuration=0,GZ.passiveEffectDuration=0,!0}finally{OX.p=G,s.T=Y,o4(Z,X)}}function t4(Z,X,Y){X=FQ(Y,X),Z1(X),X=IM(Z.stateNode,X,2),Z=UG(Z,X,2),Z!==null&&(QG(Z,2),iJ(Z))}function AX(Z,X,Y){if(m_=!1,Z.tag===3)t4(Z,Z,Y);else{for(;X!==null;){if(X.tag===3){t4(X,Z,Y);return}if(X.tag===1){var J=X.stateNode;if(typeof X.type.getDerivedStateFromError==="function"||typeof J.componentDidCatch==="function"&&(bG===null||!bG.has(J))){Z=FQ(Y,Z),Z1(Z),Y=TM(2),J=UG(X,Y,2),J!==null&&(wM(Y,J,X,Z),QG(J,2),iJ(J));return}}X=X.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.
158
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+J,UZ(X,function(B,F){console.error("%s must not return anything besides a function, which is used for clean-up.%s",B,F)},z,U)}Y=Y.next}while(Y!==G)}}catch(B){AX(X,X.return,B)}}function tH(Z,X,Y){try{var J=X.updateQueue,G=J!==null?J.lastEffect:null;if(G!==null){var z=G.next;J=z;do{if((J.tag&Z)===Z){var U=J.inst,B=U.destroy;B!==void 0&&(U.destroy=void 0,(Z&lY)!==lL&&(m_=!0),G=X,UZ(G,QE,G,Y,B),(Z&lY)!==lL&&(m_=!1))}J=J.next}while(J!==z)}}catch(F){AX(X,X.return,F)}}function U4(Z,X){dJ(Z)?(uJ(),qU(X,Z),fJ()):qU(X,Z)}function yM(Z,X,Y){dJ(Z)?(uJ(),tH(Y,Z,X),fJ()):tH(Y,Z,X)}function K4(Z){var X=Z.updateQueue;if(X!==null){var Y=Z.stateNode;Z.type.defaultProps||"ref"in Z.memoizedProps||y_||(Y.props!==Z.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.",n(Z)||"instance"),Y.state!==Z.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.",n(Z)||"instance"));try{UZ(Z,L1,X,Y)}catch(J){AX(Z,Z.return,J)}}}function yD(Z,X,Y){return Z.getSnapshotBeforeUpdate(X,Y)}function vD(Z,X){var{memoizedProps:Y,memoizedState:J}=X;X=Z.stateNode,Z.type.defaultProps||"ref"in Z.memoizedProps||y_||(X.props!==Z.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.",n(Z)||"instance"),X.state!==Z.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.",n(Z)||"instance"));try{var G=kz(Z.type,Y),z=UZ(Z,yD,X,G,J);Y=nI,z!==void 0||Y.has(Z.type)||(Y.add(Z.type),UZ(Z,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",n(Z))})),X.__reactInternalSnapshotBeforeUpdate=z}catch(U){AX(Z,Z.return,U)}}function B4(Z,X,Y){Y.props=kz(Z.type,Z.memoizedProps),Y.state=Z.memoizedState,dJ(Z)?(uJ(),UZ(Z,KI,Z,X,Y),fJ()):UZ(Z,KI,Z,X,Y)}function hD(Z){var X=Z.ref;if(X!==null){switch(Z.tag){case 26:case 27:case 5:var Y=Z.stateNode;break;case 30:Y=Z.stateNode;break;default:Y=Z.stateNode}if(typeof X==="function")if(dJ(Z))try{uJ(),Z.refCleanup=X(Y)}finally{fJ()}else Z.refCleanup=X(Y);else typeof X==="string"?console.error("String refs are no longer supported."):X.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",n(Z)),X.current=Y}}function GU(Z,X){try{UZ(Z,hD,Z)}catch(Y){AX(Z,X,Y)}}function cJ(Z,X){var{ref:Y,refCleanup:J}=Z;if(Y!==null)if(typeof J==="function")try{if(dJ(Z))try{uJ(),UZ(Z,J)}finally{fJ(Z)}else UZ(Z,J)}catch(G){AX(Z,X,G)}finally{Z.refCleanup=null,Z=Z.alternate,Z!=null&&(Z.refCleanup=null)}else if(typeof Y==="function")try{if(dJ(Z))try{uJ(),UZ(Z,Y,null)}finally{fJ(Z)}else UZ(Z,Y,null)}catch(G){AX(Z,X,G)}else Y.current=null}function L4(Z,X,Y,J){var G=Z.memoizedProps,z=G.id,U=G.onCommit;G=G.onRender,X=X===null?"mount":"update",mL&&(X="nested-update"),typeof G==="function"&&G(z,X,Z.actualDuration,Z.treeBaseDuration,Z.actualStartTime,Y),typeof U==="function"&&U(z,X,J,Y)}function bD(Z,X,Y,J){var G=Z.memoizedProps;Z=G.id,G=G.onPostCommit,X=X===null?"mount":"update",mL&&(X="nested-update"),typeof G==="function"&&G(Z,X,J,Y)}function A4(Z){var{type:X,memoizedProps:Y,stateNode:J}=Z;try{UZ(Z,z$,J,X,Y,Z)}catch(G){AX(Z,Z.return,G)}}function vM(Z,X,Y){try{UZ(Z,_$,Z.stateNode,Z.type,Y,X,Z)}catch(J){AX(Z,Z.return,J)}}function O4(Z){return Z.tag===5||Z.tag===3||Z.tag===26||Z.tag===27&&FG(Z.type)||Z.tag===4}function hM(Z){Z:for(;;){for(;Z.sibling===null;){if(Z.return===null||O4(Z.return))return null;Z=Z.return}Z.sibling.return=Z.return;for(Z=Z.sibling;Z.tag!==5&&Z.tag!==6&&Z.tag!==18;){if(Z.tag===27&&FG(Z.type))continue Z;if(Z.flags&2)continue Z;if(Z.child===null||Z.tag===4)continue Z;else Z.child.return=Z,Z=Z.child}if(!(Z.flags&2))return Z.stateNode}}function bM(Z,X,Y){var J=Z.tag;if(J===5||J===6)Z=Z.stateNode,X?(VN(Y),(Y.nodeType===9?Y.body:Y.nodeName==="HTML"?Y.ownerDocument.body:Y).insertBefore(Z,X)):(VN(Y),X=Y.nodeType===9?Y.body:Y.nodeName==="HTML"?Y.ownerDocument.body:Y,X.appendChild(Z),Y=Y._reactRootContainer,Y!==null&&Y!==void 0||X.onclick!==null||(X.onclick=Nq));else if(J!==4&&(J===27&&FG(Z.type)&&(Y=Z.stateNode,X=null),Z=Z.child,Z!==null))for(bM(Z,X,Y),Z=Z.sibling;Z!==null;)bM(Z,X,Y),Z=Z.sibling}function eB(Z,X,Y){var J=Z.tag;if(J===5||J===6)Z=Z.stateNode,X?Y.insertBefore(Z,X):Y.appendChild(Z);else if(J!==4&&(J===27&&FG(Z.type)&&(Y=Z.stateNode),Z=Z.child,Z!==null))for(eB(Z,X,Y),Z=Z.sibling;Z!==null;)eB(Z,X,Y),Z=Z.sibling}function gD(Z){for(var X,Y=Z.return;Y!==null;){if(O4(Y)){X=Y;break}Y=Y.return}if(X==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(X.tag){case 27:X=X.stateNode,Y=hM(Z),eB(Z,Y,X);break;case 5:Y=X.stateNode,X.flags&32&&(wN(Y),X.flags&=-33),X=hM(Z),eB(Z,X,Y);break;case 3:case 4:X=X.stateNode.containerInfo,Y=hM(Z),bM(Z,Y,X);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function F4(Z){var{stateNode:X,memoizedProps:Y}=Z;try{UZ(Z,j$,Z.type,Y,X,Z)}catch(J){AX(Z,Z.return,J)}}function M4(Z,X){return X.tag===31?(X=X.memoizedState,Z.memoizedState!==null&&X===null):X.tag===13?(Z=Z.memoizedState,X=X.memoizedState,Z!==null&&Z.dehydrated!==null&&(X===null||X.dehydrated===null)):X.tag===3?Z.memoizedState.isDehydrated&&(X.flags&256)===0:!1}function mD(Z,X){if(Z=Z.containerInfo,h9=NA,Z=y8(Z),IF(Z)){if("selectionStart"in Z)var Y={start:Z.selectionStart,end:Z.selectionEnd};else Z:{Y=(Y=Z.ownerDocument)&&Y.defaultView||window;var J=Y.getSelection&&Y.getSelection();if(J&&J.rangeCount!==0){Y=J.anchorNode;var{anchorOffset:G,focusNode:z}=J;J=J.focusOffset;try{Y.nodeType,z.nodeType}catch(GZ){Y=null;break Z}var U=0,B=-1,F=-1,T=0,x=0,y=Z,$=null;X:for(;;){for(var c;;){if(y!==Y||G!==0&&y.nodeType!==3||(B=U+G),y!==z||J!==0&&y.nodeType!==3||(F=U+J),y.nodeType===3&&(U+=y.nodeValue.length),(c=y.firstChild)===null)break;$=y,y=c}for(;;){if(y===Z)break X;if($===Y&&++T===G&&(B=U),$===z&&++x===J&&(F=U),(c=y.nextSibling)!==null)break;y=$,$=y.parentNode}y=c}Y=B===-1||F===-1?null:{start:B,end:F}}else Y=null}Y=Y||{start:0,end:0}}else Y=null;b9={focusedElem:Z,selectionRange:Y},NA=!1;for(LY=X;LY!==null;)if(X=LY,Z=X.child,(X.subtreeFlags&1028)!==0&&Z!==null)Z.return=X,LY=Z;else for(;LY!==null;){switch(Z=X=LY,Y=Z.alternate,G=Z.flags,Z.tag){case 0:if((G&4)!==0&&(Z=Z.updateQueue,Z=Z!==null?Z.events:null,Z!==null))for(Y=0;Y<Z.length;Y++)G=Z[Y],G.ref.impl=G.nextImpl;break;case 11:case 15:break;case 1:(G&1024)!==0&&Y!==null&&vD(Z,Y);break;case 3:if((G&1024)!==0){if(Z=Z.stateNode.containerInfo,Y=Z.nodeType,Y===9)Q0(Z);else if(Y===1)switch(Z.nodeName){case"HEAD":case"HTML":case"BODY":Q0(Z);break;default:Z.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((G&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(Z=X.sibling,Z!==null){Z.return=X.return,LY=Z;break}LY=X.return}}function N4(Z,X,Y){var J=MQ(),G=hJ(),z=gJ(),U=mJ(),B=Y.flags;switch(Y.tag){case 0:case 11:case 15:pJ(Z,Y),B&4&&W4(Y,DQ|oQ);break;case 1:if(pJ(Z,Y),B&4)if(Z=Y.stateNode,X===null)Y.type.defaultProps||"ref"in Y.memoizedProps||y_||(Z.props!==Y.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.",n(Y)||"instance"),Z.state!==Y.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.",n(Y)||"instance")),dJ(Y)?(uJ(),UZ(Y,J9,Y,Z),fJ()):UZ(Y,J9,Y,Z);else{var F=kz(Y.type,X.memoizedProps);X=X.memoizedState,Y.type.defaultProps||"ref"in Y.memoizedProps||y_||(Z.props!==Y.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.",n(Y)||"instance"),Z.state!==Y.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.",n(Y)||"instance")),dJ(Y)?(uJ(),UZ(Y,_I,Y,Z,F,X,Z.__reactInternalSnapshotBeforeUpdate),fJ()):UZ(Y,_I,Y,Z,F,X,Z.__reactInternalSnapshotBeforeUpdate)}B&64&&K4(Y),B&512&&GU(Y,Y.return);break;case 3:if(X=Vq(),pJ(Z,Y),B&64&&(B=Y.updateQueue,B!==null)){if(F=null,Y.child!==null)switch(Y.child.tag){case 27:case 5:F=Y.child.stateNode;break;case 1:F=Y.child.stateNode}try{UZ(Y,L1,B,F)}catch(x){AX(Y,Y.return,x)}}Z.effectDuration+=CB(X);break;case 27:X===null&&B&4&&F4(Y);case 26:case 5:if(pJ(Z,Y),X===null){if(B&4)A4(Y);else if(B&64){Z=Y.type,X=Y.memoizedProps,F=Y.stateNode;try{UZ(Y,H$,F,Z,X,Y)}catch(x){AX(Y,Y.return,x)}}}B&512&&GU(Y,Y.return);break;case 12:if(B&4){B=Vq(),pJ(Z,Y),Z=Y.stateNode,Z.effectDuration+=sW(B);try{UZ(Y,L4,Y,X,PG,Z.effectDuration)}catch(x){AX(Y,Y.return,x)}}else pJ(Z,Y);break;case 31:pJ(Z,Y),B&4&&w4(Z,Y);break;case 13:pJ(Z,Y),B&4&&V4(Z,Y),B&64&&(Z=Y.memoizedState,Z!==null&&(Z=Z.dehydrated,Z!==null&&(B=sD.bind(null,Y),T$(Z,B))));break;case 22:if(B=Y.memoizedState!==null||mq,!B){X=X!==null&&X.memoizedState!==null||XY,F=mq;var T=XY;mq=B,(XY=X)&&!T?(lJ(Z,Y,(Y.subtreeFlags&8772)!==0),(Y.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&OB(Y,EZ,xZ)):pJ(Z,Y),mq=F,XY=T}break;case 30:break;default:pJ(Z,Y)}(Y.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&((mX||0.05<hX)&&yJ(Y,EZ,xZ,hX,xX),Y.alternate===null&&Y.return!==null&&Y.return.alternate!==null&&0.05<xZ-EZ&&(M4(Y.return.alternate,Y.return)||xJ(Y,EZ,xZ,"Mount"))),NQ(J),bJ(G),xX=z,mX=U}function I4(Z){var X=Z.alternate;X!==null&&(Z.alternate=null,I4(X)),Z.child=null,Z.deletions=null,Z.sibling=null,Z.tag===5&&(X=Z.stateNode,X!==null&&HZ(X)),Z.stateNode=null,Z._debugOwner=null,Z.return=null,Z.dependencies=null,Z.memoizedProps=null,Z.memoizedState=null,Z.pendingProps=null,Z.stateNode=null,Z.updateQueue=null}function Cq(Z,X,Y){for(Y=Y.child;Y!==null;)T4(Z,X,Y),Y=Y.sibling}function T4(Z,X,Y){if(bY&&typeof bY.onCommitFiberUnmount==="function")try{bY.onCommitFiberUnmount(W_,Y)}catch(T){rJ||(rJ=!0,console.error("React instrumentation encountered an error: %o",T))}var J=MQ(),G=hJ(),z=gJ(),U=mJ();switch(Y.tag){case 26:XY||cJ(Y,X),Cq(Z,X,Y),Y.memoizedState?Y.memoizedState.count--:Y.stateNode&&(Z=Y.stateNode,Z.parentNode.removeChild(Z));break;case 27:XY||cJ(Y,X);var B=YY,F=ZQ;FG(Y.type)&&(YY=Y.stateNode,ZQ=!1),Cq(Z,X,Y),UZ(Y,AU,Y.stateNode),YY=B,ZQ=F;break;case 5:XY||cJ(Y,X);case 6:if(B=YY,F=ZQ,YY=null,Cq(Z,X,Y),YY=B,ZQ=F,YY!==null)if(ZQ)try{UZ(Y,K$,YY,Y.stateNode)}catch(T){AX(Y,X,T)}else try{UZ(Y,U$,YY,Y.stateNode)}catch(T){AX(Y,X,T)}break;case 18:YY!==null&&(ZQ?(Z=YY,RN(Z.nodeType===9?Z.body:Z.nodeName==="HTML"?Z.ownerDocument.body:Z,Y.stateNode),G_(Z)):RN(YY,Y.stateNode));break;case 4:B=YY,F=ZQ,YY=Y.stateNode.containerInfo,ZQ=!0,Cq(Z,X,Y),YY=B,ZQ=F;break;case 0:case 11:case 14:case 15:tH(lY,Y,X),XY||xM(Y,X,DQ),Cq(Z,X,Y);break;case 1:XY||(cJ(Y,X),B=Y.stateNode,typeof B.componentWillUnmount==="function"&&B4(Y,X,B)),Cq(Z,X,Y);break;case 21:Cq(Z,X,Y);break;case 22:XY=(B=XY)||Y.memoizedState!==null,Cq(Z,X,Y),XY=B;break;default:Cq(Z,X,Y)}(Y.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Y,EZ,xZ,hX,xX),NQ(J),bJ(G),xX=z,mX=U}function w4(Z,X){if(X.memoizedState===null&&(Z=X.alternate,Z!==null&&(Z=Z.memoizedState,Z!==null))){Z=Z.dehydrated;try{UZ(X,V$,Z)}catch(Y){AX(X,X.return,Y)}}}function V4(Z,X){if(X.memoizedState===null&&(Z=X.alternate,Z!==null&&(Z=Z.memoizedState,Z!==null&&(Z=Z.dehydrated,Z!==null))))try{UZ(X,R$,Z)}catch(Y){AX(X,X.return,Y)}}function fD(Z){switch(Z.tag){case 31:case 13:case 19:var X=Z.stateNode;return X===null&&(X=Z.stateNode=new sI),X;case 22:return Z=Z.stateNode,X=Z._retryCache,X===null&&(X=Z._retryCache=new sI),X;default:throw Error("Unexpected Suspense handler tag ("+Z.tag+"). This is a bug in React.")}}function ZL(Z,X){var Y=fD(Z);X.forEach(function(J){if(!Y.has(J)){if(Y.add(J),tJ)if(v_!==null&&h_!==null)WU(h_,v_);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var G=aD.bind(null,Z,J);J.then(G,G)}})}function tY(Z,X){var Y=X.deletions;if(Y!==null)for(var J=0;J<Y.length;J++){var G=Z,z=X,U=Y[J],B=MQ(),F=z;Z:for(;F!==null;){switch(F.tag){case 27:if(FG(F.type)){YY=F.stateNode,ZQ=!1;break Z}break;case 5:YY=F.stateNode,ZQ=!1;break Z;case 3:case 4:YY=F.stateNode.containerInfo,ZQ=!0;break Z}F=F.return}if(YY===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");T4(G,z,U),YY=null,ZQ=!1,(U.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&xJ(U,EZ,xZ,"Unmount"),NQ(B),G=U,z=G.alternate,z!==null&&(z.return=null),G.return=null}if(X.subtreeFlags&13886)for(X=X.child;X!==null;)R4(X,Z),X=X.sibling}function R4(Z,X){var Y=MQ(),J=hJ(),G=gJ(),z=mJ(),U=Z.alternate,B=Z.flags;switch(Z.tag){case 0:case 11:case 14:case 15:tY(X,Z),eY(Z),B&4&&(tH(lY|oQ,Z,Z.return),qU(lY|oQ,Z),xM(Z,Z.return,DQ|oQ));break;case 1:if(tY(X,Z),eY(Z),B&512&&(XY||U===null||cJ(U,U.return)),B&64&&mq&&(B=Z.updateQueue,B!==null&&(U=B.callbacks,U!==null))){var F=B.shared.hiddenCallbacks;B.shared.hiddenCallbacks=F===null?U:F.concat(U)}break;case 26:if(F=MJ,tY(X,Z),eY(Z),B&512&&(XY||U===null||cJ(U,U.return)),B&4){var T=U!==null?U.memoizedState:null;if(B=Z.memoizedState,U===null)if(B===null)if(Z.stateNode===null){Z:{B=Z.type,U=Z.memoizedProps,F=F.ownerDocument||F;X:switch(B){case"title":if(T=F.getElementsByTagName("title")[0],!T||T[wU]||T[jY]||T.namespaceURI===K_||T.hasAttribute("itemprop"))T=F.createElement(B),F.head.insertBefore(T,F.querySelector("head > title"));RY(T,B,U),T[jY]=Z,SZ(T),B=T;break Z;case"link":var x=vN("link","href",F).get(B+(U.href||""));if(x){for(var y=0;y<x.length;y++)if(T=x[y],T.getAttribute("href")===(U.href==null||U.href===""?null:U.href)&&T.getAttribute("rel")===(U.rel==null?null:U.rel)&&T.getAttribute("title")===(U.title==null?null:U.title)&&T.getAttribute("crossorigin")===(U.crossOrigin==null?null:U.crossOrigin)){x.splice(y,1);break X}}T=F.createElement(B),RY(T,B,U),F.head.appendChild(T);break;case"meta":if(x=vN("meta","content",F).get(B+(U.content||""))){for(y=0;y<x.length;y++)if(T=x[y],PZ(U.content,"content"),T.getAttribute("content")===(U.content==null?null:""+U.content)&&T.getAttribute("name")===(U.name==null?null:U.name)&&T.getAttribute("property")===(U.property==null?null:U.property)&&T.getAttribute("http-equiv")===(U.httpEquiv==null?null:U.httpEquiv)&&T.getAttribute("charset")===(U.charSet==null?null:U.charSet)){x.splice(y,1);break X}}T=F.createElement(B),RY(T,B,U),F.head.appendChild(T);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+B+'". This is a bug in React.')}T[jY]=Z,SZ(T),B=T}Z.stateNode=B}else hN(F,Z.type,Z.stateNode);else Z.stateNode=yN(F,B,Z.memoizedProps);else T!==B?(T===null?U.stateNode!==null&&(U=U.stateNode,U.parentNode.removeChild(U)):T.count--,B===null?hN(F,Z.type,Z.stateNode):yN(F,B,Z.memoizedProps)):B===null&&Z.stateNode!==null&&vM(Z,Z.memoizedProps,U.memoizedProps)}break;case 27:tY(X,Z),eY(Z),B&512&&(XY||U===null||cJ(U,U.return)),U!==null&&B&4&&vM(Z,Z.memoizedProps,U.memoizedProps);break;case 5:if(tY(X,Z),eY(Z),B&512&&(XY||U===null||cJ(U,U.return)),Z.flags&32){F=Z.stateNode;try{UZ(Z,wN,F)}catch(BZ){AX(Z,Z.return,BZ)}}B&4&&Z.stateNode!=null&&(F=Z.memoizedProps,vM(Z,F,U!==null?U.memoizedProps:F)),B&1024&&(F9=!0,Z.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(tY(X,Z),eY(Z),B&4){if(Z.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.");B=Z.memoizedProps,U=U!==null?U.memoizedProps:B,F=Z.stateNode;try{UZ(Z,W$,F,U,B)}catch(BZ){AX(Z,Z.return,BZ)}}break;case 3:if(F=Vq(),OA=null,T=MJ,MJ=HL(X.containerInfo),tY(X,Z),MJ=T,eY(Z),B&4&&U!==null&&U.memoizedState.isDehydrated)try{UZ(Z,w$,X.containerInfo)}catch(BZ){AX(Z,Z.return,BZ)}F9&&(F9=!1,j4(Z)),X.effectDuration+=CB(F);break;case 4:B=MJ,MJ=HL(Z.stateNode.containerInfo),tY(X,Z),eY(Z),MJ=B;break;case 12:B=Vq(),tY(X,Z),eY(Z),Z.stateNode.effectDuration+=sW(B);break;case 31:tY(X,Z),eY(Z),B&4&&(B=Z.updateQueue,B!==null&&(Z.updateQueue=null,ZL(Z,B)));break;case 13:tY(X,Z),eY(Z),Z.child.flags&8192&&Z.memoizedState!==null!==(U!==null&&U.memoizedState!==null)&&(XA=KY()),B&4&&(B=Z.updateQueue,B!==null&&(Z.updateQueue=null,ZL(Z,B)));break;case 22:F=Z.memoizedState!==null;var $=U!==null&&U.memoizedState!==null,c=mq,GZ=XY;if(mq=c||F,XY=GZ||$,tY(X,Z),XY=GZ,mq=c,$&&!F&&!c&&!GZ&&(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&OB(Z,EZ,xZ),eY(Z),B&8192)Z:for(X=Z.stateNode,X._visibility=F?X._visibility&~EU:X._visibility|EU,!F||U===null||$||mq||XY||(xz(Z),(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&xJ(Z,EZ,xZ,"Disconnect")),U=null,X=Z;;){if(X.tag===5||X.tag===26){if(U===null){$=U=X;try{T=$.stateNode,F?UZ($,L$,T):UZ($,F$,$.stateNode,$.memoizedProps)}catch(BZ){AX($,$.return,BZ)}}}else if(X.tag===6){if(U===null){$=X;try{x=$.stateNode,F?UZ($,A$,x):UZ($,M$,x,$.memoizedProps)}catch(BZ){AX($,$.return,BZ)}}}else if(X.tag===18){if(U===null){$=X;try{y=$.stateNode,F?UZ($,B$,y):UZ($,O$,$.stateNode)}catch(BZ){AX($,$.return,BZ)}}}else if((X.tag!==22&&X.tag!==23||X.memoizedState===null||X===Z)&&X.child!==null){X.child.return=X,X=X.child;continue}if(X===Z)break Z;for(;X.sibling===null;){if(X.return===null||X.return===Z)break Z;U===X&&(U=null),X=X.return}U===X&&(U=null),X.sibling.return=X.return,X=X.sibling}B&4&&(B=Z.updateQueue,B!==null&&(U=B.retryQueue,U!==null&&(B.retryQueue=null,ZL(Z,U))));break;case 19:tY(X,Z),eY(Z),B&4&&(B=Z.updateQueue,B!==null&&(Z.updateQueue=null,ZL(Z,B)));break;case 30:break;case 21:break;default:tY(X,Z),eY(Z)}(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&((mX||0.05<hX)&&yJ(Z,EZ,xZ,hX,xX),Z.alternate===null&&Z.return!==null&&Z.return.alternate!==null&&0.05<xZ-EZ&&(M4(Z.return.alternate,Z.return)||xJ(Z,EZ,xZ,"Mount"))),NQ(Y),bJ(J),xX=G,mX=z}function eY(Z){var X=Z.flags;if(X&2){try{UZ(Z,gD,Z)}catch(Y){AX(Z,Z.return,Y)}Z.flags&=-3}X&4096&&(Z.flags&=-4097)}function j4(Z){if(Z.subtreeFlags&1024)for(Z=Z.child;Z!==null;){var X=Z;j4(X),X.tag===5&&X.flags&1024&&X.stateNode.reset(),Z=Z.sibling}}function pJ(Z,X){if(X.subtreeFlags&8772)for(X=X.child;X!==null;)N4(Z,X.alternate,X),X=X.sibling}function C4(Z){var X=MQ(),Y=hJ(),J=gJ(),G=mJ();switch(Z.tag){case 0:case 11:case 14:case 15:xM(Z,Z.return,DQ),xz(Z);break;case 1:cJ(Z,Z.return);var z=Z.stateNode;typeof z.componentWillUnmount==="function"&&B4(Z,Z.return,z),xz(Z);break;case 27:UZ(Z,AU,Z.stateNode);case 26:case 5:cJ(Z,Z.return),xz(Z);break;case 22:Z.memoizedState===null&&xz(Z);break;case 30:xz(Z);break;default:xz(Z)}(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Z,EZ,xZ,hX,xX),NQ(X),bJ(Y),xX=J,mX=G}function xz(Z){for(Z=Z.child;Z!==null;)C4(Z),Z=Z.sibling}function P4(Z,X,Y,J){var G=MQ(),z=hJ(),U=gJ(),B=mJ(),F=Y.flags;switch(Y.tag){case 0:case 11:case 15:lJ(Z,Y,J),W4(Y,DQ);break;case 1:if(lJ(Z,Y,J),X=Y.stateNode,typeof X.componentDidMount==="function"&&UZ(Y,J9,Y,X),X=Y.updateQueue,X!==null){Z=Y.stateNode;try{UZ(Y,wD,X,Z)}catch(T){AX(Y,Y.return,T)}}J&&F&64&&K4(Y),GU(Y,Y.return);break;case 27:F4(Y);case 26:case 5:lJ(Z,Y,J),J&&X===null&&F&4&&A4(Y),GU(Y,Y.return);break;case 12:if(J&&F&4){F=Vq(),lJ(Z,Y,J),J=Y.stateNode,J.effectDuration+=sW(F);try{UZ(Y,L4,Y,X,PG,J.effectDuration)}catch(T){AX(Y,Y.return,T)}}else lJ(Z,Y,J);break;case 31:lJ(Z,Y,J),J&&F&4&&w4(Z,Y);break;case 13:lJ(Z,Y,J),J&&F&4&&V4(Z,Y);break;case 22:Y.memoizedState===null&&lJ(Z,Y,J),GU(Y,Y.return);break;case 30:break;default:lJ(Z,Y,J)}(Y.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Y,EZ,xZ,hX,xX),NQ(G),bJ(z),xX=U,mX=B}function lJ(Z,X,Y){Y=Y&&(X.subtreeFlags&8772)!==0;for(X=X.child;X!==null;)P4(Z,X.alternate,X,Y),X=X.sibling}function gM(Z,X){var Y=null;Z!==null&&Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(Y=Z.memoizedState.cachePool.pool),Z=null,X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(Z=X.memoizedState.cachePool.pool),Z!==Y&&(Z!=null&&Dz(Z),Y!=null&&nW(Y))}function mM(Z,X){Z=null,X.alternate!==null&&(Z=X.alternate.memoizedState.cache),X=X.memoizedState.cache,X!==Z&&(Dz(X),Z!=null&&nW(Z))}function KJ(Z,X,Y,J,G){if(X.subtreeFlags&10256||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child))for(X=X.child;X!==null;){var z=X.sibling;D4(Z,X,Y,J,z!==null?z.actualStartTime:G),X=z}}function D4(Z,X,Y,J,G){var z=MQ(),U=hJ(),B=gJ(),F=mJ(),T=VG,x=X.flags;switch(X.tag){case 0:case 11:case 15:(X.mode&iZ)!==hZ&&0<X.actualStartTime&&(X.flags&1)!==0&&FB(X,X.actualStartTime,G,HY,Y),KJ(Z,X,Y,J,G),x&2048&&U4(X,iY|oQ);break;case 1:(X.mode&iZ)!==hZ&&0<X.actualStartTime&&((X.flags&128)!==0?wF(X,X.actualStartTime,G,[]):(X.flags&1)!==0&&FB(X,X.actualStartTime,G,HY,Y)),KJ(Z,X,Y,J,G);break;case 3:var y=Vq(),$=HY;HY=X.alternate!==null&&X.alternate.memoizedState.isDehydrated&&(X.flags&256)===0,KJ(Z,X,Y,J,G),HY=$,x&2048&&(Y=null,X.alternate!==null&&(Y=X.alternate.memoizedState.cache),J=X.memoizedState.cache,J!==Y&&(Dz(J),Y!=null&&nW(Y))),Z.passiveEffectDuration+=CB(y);break;case 12:if(x&2048){x=Vq(),KJ(Z,X,Y,J,G),Z=X.stateNode,Z.passiveEffectDuration+=sW(x);try{UZ(X,bD,X,X.alternate,PG,Z.passiveEffectDuration)}catch(c){AX(X,X.return,c)}}else KJ(Z,X,Y,J,G);break;case 31:x=HY,y=X.alternate!==null?X.alternate.memoizedState:null,$=X.memoizedState,y!==null&&$===null?($=X.deletions,$!==null&&0<$.length&&$[0].tag===18?(HY=!1,y=y.hydrationErrors,y!==null&&wF(X,X.actualStartTime,G,y)):HY=!0):HY=!1,KJ(Z,X,Y,J,G),HY=x;break;case 13:x=HY,y=X.alternate!==null?X.alternate.memoizedState:null,$=X.memoizedState,y===null||y.dehydrated===null||$!==null&&$.dehydrated!==null?HY=!1:($=X.deletions,$!==null&&0<$.length&&$[0].tag===18?(HY=!1,y=y.hydrationErrors,y!==null&&wF(X,X.actualStartTime,G,y)):HY=!0),KJ(Z,X,Y,J,G),HY=x;break;case 23:break;case 22:$=X.stateNode,y=X.alternate,X.memoizedState!==null?$._visibility&$q?KJ(Z,X,Y,J,G):zU(Z,X,Y,J,G):$._visibility&$q?KJ(Z,X,Y,J,G):($._visibility|=$q,eH(Z,X,Y,J,(X.subtreeFlags&10256)!==0||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child),G),(X.mode&iZ)===hZ||HY||(Z=X.actualStartTime,0<=Z&&0.05<G-Z&&OB(X,Z,G),0<=EZ&&0<=xZ&&0.05<xZ-EZ&&OB(X,EZ,xZ))),x&2048&&gM(y,X);break;case 24:KJ(Z,X,Y,J,G),x&2048&&mM(X.alternate,X);break;default:KJ(Z,X,Y,J,G)}if((X.mode&iZ)!==hZ){if(Z=!HY&&X.alternate===null&&X.return!==null&&X.return.alternate!==null)Y=X.actualStartTime,0<=Y&&0.05<G-Y&&xJ(X,Y,G,"Mount");0<=EZ&&0<=xZ&&((mX||0.05<hX)&&yJ(X,EZ,xZ,hX,xX),Z&&0.05<xZ-EZ&&xJ(X,EZ,xZ,"Mount"))}NQ(z),bJ(U),xX=B,mX=F,VG=T}function eH(Z,X,Y,J,G,z){G=G&&((X.subtreeFlags&10256)!==0||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child));for(X=X.child;X!==null;){var U=X.sibling;$4(Z,X,Y,J,G,U!==null?U.actualStartTime:z),X=U}}function $4(Z,X,Y,J,G,z){var U=MQ(),B=hJ(),F=gJ(),T=mJ(),x=VG;G&&(X.mode&iZ)!==hZ&&0<X.actualStartTime&&(X.flags&1)!==0&&FB(X,X.actualStartTime,z,HY,Y);var y=X.flags;switch(X.tag){case 0:case 11:case 15:eH(Z,X,Y,J,G,z),U4(X,iY);break;case 23:break;case 22:var $=X.stateNode;X.memoizedState!==null?$._visibility&$q?eH(Z,X,Y,J,G,z):zU(Z,X,Y,J,z):($._visibility|=$q,eH(Z,X,Y,J,G,z)),G&&y&2048&&gM(X.alternate,X);break;case 24:eH(Z,X,Y,J,G,z),G&&y&2048&&mM(X.alternate,X);break;default:eH(Z,X,Y,J,G,z)}(X.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(X,EZ,xZ,hX,xX),NQ(U),bJ(B),xX=F,mX=T,VG=x}function zU(Z,X,Y,J,G){if(X.subtreeFlags&10256||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child))for(var z=X.child;z!==null;){X=z.sibling;var U=Z,B=Y,F=J,T=X!==null?X.actualStartTime:G,x=VG;(z.mode&iZ)!==hZ&&0<z.actualStartTime&&(z.flags&1)!==0&&FB(z,z.actualStartTime,T,HY,B);var y=z.flags;switch(z.tag){case 22:zU(U,z,B,F,T),y&2048&&gM(z.alternate,z);break;case 24:zU(U,z,B,F,T),y&2048&&mM(z.alternate,z);break;default:zU(U,z,B,F,T)}VG=x,z=X}}function Z_(Z,X,Y){if(Z.subtreeFlags&rU)for(Z=Z.child;Z!==null;)S4(Z,X,Y),Z=Z.sibling}function S4(Z,X,Y){switch(Z.tag){case 26:Z_(Z,X,Y),Z.flags&rU&&Z.memoizedState!==null&&D$(Y,MJ,Z.memoizedState,Z.memoizedProps);break;case 5:Z_(Z,X,Y);break;case 3:case 4:var J=MJ;MJ=HL(Z.stateNode.containerInfo),Z_(Z,X,Y),MJ=J;break;case 22:Z.memoizedState===null&&(J=Z.alternate,J!==null&&J.memoizedState!==null?(J=rU,rU=16777216,Z_(Z,X,Y),rU=J):Z_(Z,X,Y));break;default:Z_(Z,X,Y)}}function E4(Z){var X=Z.alternate;if(X!==null&&(Z=X.child,Z!==null)){X.child=null;do X=Z.sibling,Z.sibling=null,Z=X;while(Z!==null)}}function HU(Z){var X=Z.deletions;if((Z.flags&16)!==0){if(X!==null)for(var Y=0;Y<X.length;Y++){var J=X[Y],G=MQ();LY=J,y4(J,Z),(J.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&xJ(J,EZ,xZ,"Unmount"),NQ(G)}E4(Z)}if(Z.subtreeFlags&10256)for(Z=Z.child;Z!==null;)k4(Z),Z=Z.sibling}function k4(Z){var X=MQ(),Y=hJ(),J=gJ(),G=mJ();switch(Z.tag){case 0:case 11:case 15:HU(Z),Z.flags&2048&&yM(Z,Z.return,iY|oQ);break;case 3:var z=Vq();HU(Z),Z.stateNode.passiveEffectDuration+=CB(z);break;case 12:z=Vq(),HU(Z),Z.stateNode.passiveEffectDuration+=sW(z);break;case 22:z=Z.stateNode,Z.memoizedState!==null&&z._visibility&$q&&(Z.return===null||Z.return.tag!==13)?(z._visibility&=~$q,XL(Z),(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&xJ(Z,EZ,xZ,"Disconnect")):HU(Z);break;default:HU(Z)}(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Z,EZ,xZ,hX,xX),NQ(X),bJ(Y),mX=G,xX=J}function XL(Z){var X=Z.deletions;if((Z.flags&16)!==0){if(X!==null)for(var Y=0;Y<X.length;Y++){var J=X[Y],G=MQ();LY=J,y4(J,Z),(J.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&xJ(J,EZ,xZ,"Unmount"),NQ(G)}E4(Z)}for(Z=Z.child;Z!==null;)x4(Z),Z=Z.sibling}function x4(Z){var X=MQ(),Y=hJ(),J=gJ(),G=mJ();switch(Z.tag){case 0:case 11:case 15:yM(Z,Z.return,iY),XL(Z);break;case 22:var z=Z.stateNode;z._visibility&$q&&(z._visibility&=~$q,XL(Z));break;default:XL(Z)}(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Z,EZ,xZ,hX,xX),NQ(X),bJ(Y),mX=G,xX=J}function y4(Z,X){for(;LY!==null;){var Y=LY,J=Y,G=X,z=MQ(),U=hJ(),B=gJ(),F=mJ();switch(J.tag){case 0:case 11:case 15:yM(J,G,iY);break;case 23:case 22:J.memoizedState!==null&&J.memoizedState.cachePool!==null&&(G=J.memoizedState.cachePool.pool,G!=null&&Dz(G));break;case 24:nW(J.memoizedState.cache)}if((J.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(J,EZ,xZ,hX,xX),NQ(z),bJ(U),mX=F,xX=B,J=Y.child,J!==null)J.return=Y,LY=J;else Z:for(Y=Z;LY!==null;){if(J=LY,z=J.sibling,U=J.return,I4(J),J===Y){LY=null;break Z}if(z!==null){z.return=U,LY=z;break Z}LY=U}}}function uD(){HE.forEach(function(Z){return Z()})}function v4(){var Z=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return Z||s.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),Z}function TQ(Z){if((HX&_Y)!==AY&&sZ!==0)return sZ&-sZ;var X=s.T;return X!==null?(X._updatedFibers||(X._updatedFibers=new Set),X._updatedFibers.add(Z),nM()):u()}function h4(){if(YQ===0)if((sZ&536870912)===0||QX){var Z=IL;IL<<=1,(IL&3932160)===0&&(IL=262144),YQ=Z}else YQ=536870912;return Z=PQ.current,Z!==null&&(Z.flags|=32),YQ}function gX(Z,X,Y){if(m_&&console.error("useInsertionEffect must not schedule updates."),D9&&(qA=!0),Z===RX&&(MX===sz||MX===az)||Z.cancelPendingCommit!==null)Y_(Z,0),AG(Z,sZ,YQ,!1);if(QG(Z,Y),(HX&_Y)!==AY&&Z===RX){if(oJ)switch(X.tag){case 0:case 11:case 15:Z=aZ&&n(aZ)||"Unknown",_T.has(Z)||(_T.add(Z),X=n(X)||"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",X,Z,Z));break;case 1:HT||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),HT=!0)}}else tJ&&hW(Z,X,Y),rD(X),Z===RX&&((HX&_Y)===AY&&(hG|=Y),bX===xG&&AG(Z,sZ,YQ,!1)),iJ(Z)}function b4(Z,X,Y){if((HX&(_Y|$Q))!==AY)throw Error("Should not already be working.");if(sZ!==0&&aZ!==null){var J=aZ,G=KY();switch(XI){case ZK:case sz:var z=bU;DX&&((J=J._debugTask)?J.run(console.timeStamp.bind(console,"Suspended",z,G,dQ,void 0,"primary-light")):console.timeStamp("Suspended",z,G,dQ,void 0,"primary-light"));break;case az:z=bU,DX&&((J=J._debugTask)?J.run(console.timeStamp.bind(console,"Action",z,G,dQ,void 0,"primary-light")):console.timeStamp("Action",z,G,dQ,void 0,"primary-light"));break;default:DX&&(J=G-bU,3>J||console.timeStamp("Blocked",bU,G,dQ,void 0,5>J?"primary-light":10>J?"primary":100>J?"primary-dark":"error"))}}z=(Y=!Y&&(X&127)===0&&(X&Z.expiredLanes)===0||Az(Z,X))?cD(Z,X):uM(Z,X,!0);var U=Y;do{if(z===fq){b_&&!Y&&AG(Z,X,0,!1),X=MX,bU=tX(),XI=X;break}else{if(J=KY(),G=Z.current.alternate,U&&!dD(G)){OQ(X),G=BY,z=J,!DX||z<=G||(lX?lX.run(console.timeStamp.bind(console,"Teared Render",G,z,eZ,tZ,"error")):console.timeStamp("Teared Render",G,z,eZ,tZ,"error")),yz(X,J),z=uM(Z,X,!1),U=!1;continue}if(z===nz){if(U=X,Z.errorRecoveryDisabledLanes&U)var B=0;else B=Z.pendingLanes&-536870913,B=B!==0?B:B&536870912?536870912:0;if(B!==0){OQ(X),VF(BY,J,X,lX),yz(X,J),X=B;Z:{J=Z,z=U,U=YK;var F=J.current.memoizedState.isDehydrated;if(F&&(Y_(J,B).flags|=256),B=uM(J,B,!1),B!==nz){if(I9&&!F){J.errorRecoveryDisabledLanes|=z,hG|=z,z=xG;break Z}J=nY,nY=U,J!==null&&(nY===null?nY=J:nY.push.apply(nY,J))}z=B}if(U=!1,z!==nz)continue;else J=KY()}}if(z===eU){OQ(X),VF(BY,J,X,lX),yz(X,J),Y_(Z,0),AG(Z,X,0,!0);break}Z:{switch(Y=Z,z){case fq:case eU:throw Error("Root did not complete. This is a bug in React.");case xG:if((X&4194048)!==X)break;case rL:OQ(X),b8(BY,J,X,lX),yz(X,J),G=X,(G&127)!==0?hL=J:(G&4194048)!==0&&(bL=J),AG(Y,X,YQ,!yG);break Z;case nz:nY=null;break;case oL:case aI:break;default:throw Error("Unknown root exit status.")}if(s.actQueue!==null)dM(Y,G,X,nY,QK,ZA,YQ,hG,oz,z,null,null,BY,J);else{if((X&62914560)===X&&(U=XA+tI-KY(),10<U)){if(AG(Y,X,YQ,!yG),Lz(Y,0,!0)!==0)break Z;NJ=X,Y.timeoutHandle=FT(g4.bind(null,Y,G,nY,QK,ZA,X,YQ,hG,oz,yG,z,"Throttled",BY,J),U);break Z}g4(Y,G,nY,QK,ZA,X,YQ,hG,oz,yG,z,null,BY,J)}}}break}while(1);iJ(Z)}function g4(Z,X,Y,J,G,z,U,B,F,T,x,y,$,c){Z.timeoutHandle=XH;var GZ=X.subtreeFlags,BZ=null;if(GZ&8192||(GZ&16785408)===16785408){if(BZ={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Nq},S4(X,z,BZ),GZ=(z&62914560)===z?XA-KY():(z&4194048)===z?rI-KY():0,GZ=$$(BZ,GZ),GZ!==null){NJ=z,Z.cancelPendingCommit=GZ(dM.bind(null,Z,X,z,Y,J,G,U,B,F,x,BZ,BZ.waitingForViewTransition?"Waiting for the previous Animation":0<BZ.count?0<BZ.imgCount?"Suspended on CSS and Images":"Suspended on CSS":BZ.imgCount===1?"Suspended on an Image":0<BZ.imgCount?"Suspended on Images":null,$,c)),AG(Z,z,U,!T);return}}dM(Z,X,z,Y,J,G,U,B,F,x,BZ,y,$,c)}function dD(Z){for(var X=Z;;){var Y=X.tag;if((Y===0||Y===11||Y===15)&&X.flags&16384&&(Y=X.updateQueue,Y!==null&&(Y=Y.stores,Y!==null)))for(var J=0;J<Y.length;J++){var G=Y[J],z=G.getSnapshot;G=G.value;try{if(!cY(z(),G))return!1}catch(U){return!1}}if(Y=X.child,X.subtreeFlags&16384&&Y!==null)Y.return=X,X=Y;else{if(X===Z)break;for(;X.sibling===null;){if(X.return===null||X.return===Z)return!0;X=X.return}X.sibling.return=X.return,X=X.sibling}}return!0}function AG(Z,X,Y,J){X&=~T9,X&=~hG,Z.suspendedLanes|=X,Z.pingedLanes&=~X,J&&(Z.warmLanes|=X),J=Z.expirationTimes;for(var G=X;0<G;){var z=31-fY(G),U=1<<z;J[z]=-1,G&=~U}Y!==0&&Oz(Z,Y,X)}function X_(){return(HX&(_Y|$Q))===AY?(UU(0,!1),!1):!0}function fM(){if(aZ!==null){if(MX===XQ)var Z=aZ.return;else Z=aZ,VB(),rF(Z),D_=null,iU=0,Z=aZ;for(;Z!==null;)_4(Z.alternate,Z),Z=Z.return;aZ=null}}function yz(Z,X){(Z&127)!==0&&(DG=X),(Z&4194048)!==0&&(Qq=X),(Z&62914560)!==0&&(e7=X),(Z&2080374784)!==0&&(ZI=X)}function Y_(Z,X){DX&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",tZ,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",tZ,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",tZ,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",tZ,"primary-light"));var Y=BY;if(BY=tX(),sZ!==0&&0<Y){if(OQ(sZ),bX===oL||bX===xG)b8(Y,BY,X,lX);else{var J=BY,G=lX;if(DX&&!(J<=Y)){var z=(X&738197653)===X?"tertiary-dark":"primary-dark",U=(X&536870912)===X?"Prewarm":(X&201326741)===X?"Interrupted Hydration":"Interrupted Render";G?G.run(console.timeStamp.bind(console,U,Y,J,eZ,tZ,z)):console.timeStamp(U,Y,J,eZ,tZ,z)}}yz(sZ,BY)}if(Y=lX,lX=null,(X&127)!==0){lX=yU,G=0<=Yq&&Yq<DG?DG:Yq,J=0<=mz&&mz<DG?DG:mz,z=0<=J?J:0<=G?G:BY,0<=hL?(OQ(2),g8(hL,z,X,Y)):(gL&127)!==0&&(OQ(2),lW(DG,z,vq)),Y=G;var B=J,F=vU,T=0<j_,x=$G===xU,y=$G===vL;if(G=BY,J=yU,z=e0,U=Z9,DX){if(eZ="Blocking",0<Y?Y>G&&(Y=G):Y=G,0<B?B>Y&&(B=Y):B=Y,F!==null&&Y>B){var $=T?"secondary-light":"warning";J?J.run(console.timeStamp.bind(console,T?"Consecutive":"Event: "+F,B,Y,eZ,tZ,$)):console.timeStamp(T?"Consecutive":"Event: "+F,B,Y,eZ,tZ,$)}G>Y&&(B=x?"error":(X&738197653)===X?"tertiary-light":"primary-light",x=y?"Promise Resolved":x?"Cascading Update":5<G-Y?"Update Blocked":"Update",y=[],U!=null&&y.push(["Component name",U]),z!=null&&y.push(["Method name",z]),Y={start:Y,end:G,detail:{devtools:{properties:y,track:eZ,trackGroup:tZ,color:B}}},J?J.run(performance.measure.bind(performance,x,Y)):performance.measure(x,Y))}Yq=-1.1,$G=0,Z9=e0=null,hL=-1.1,j_=mz,mz=-1.1,DG=tX()}if((X&4194048)!==0&&(lX=hU,G=0<=yq&&yq<Qq?Qq:yq,Y=0<=sQ&&sQ<Qq?Qq:sQ,J=0<=SG&&SG<Qq?Qq:SG,z=0<=J?J:0<=Y?Y:BY,0<=bL?(OQ(256),g8(bL,z,X,lX)):(gL&4194048)!==0&&(OQ(256),lW(Qq,z,vq)),y=J,B=fz,F=0<EG,T=X9===vL,z=BY,J=hU,U=r7,x=t7,DX&&(eZ="Transition",0<Y?Y>z&&(Y=z):Y=z,0<G?G>Y&&(G=Y):G=Y,0<y?y>G&&(y=G):y=G,G>y&&B!==null&&($=F?"secondary-light":"warning",J?J.run(console.timeStamp.bind(console,F?"Consecutive":"Event: "+B,y,G,eZ,tZ,$)):console.timeStamp(F?"Consecutive":"Event: "+B,y,G,eZ,tZ,$)),Y>G&&(J?J.run(console.timeStamp.bind(console,"Action",G,Y,eZ,tZ,"primary-dark")):console.timeStamp("Action",G,Y,eZ,tZ,"primary-dark")),z>Y&&(G=T?"Promise Resolved":5<z-Y?"Update Blocked":"Update",y=[],x!=null&&y.push(["Component name",x]),U!=null&&y.push(["Method name",U]),Y={start:Y,end:z,detail:{devtools:{properties:y,track:eZ,trackGroup:tZ,color:"primary-light"}}},J?J.run(performance.measure.bind(performance,G,Y)):performance.measure(G,Y))),sQ=yq=-1.1,X9=0,bL=-1.1,EG=SG,SG=-1.1,Qq=tX()),(X&62914560)!==0&&(gL&62914560)!==0&&(OQ(4194304),lW(e7,BY,vq)),(X&2080374784)!==0&&(gL&2080374784)!==0&&(OQ(268435456),lW(ZI,BY,vq)),Y=Z.timeoutHandle,Y!==XH&&(Z.timeoutHandle=XH,TE(Y)),Y=Z.cancelPendingCommit,Y!==null&&(Z.cancelPendingCommit=null,Y()),NJ=0,fM(),RX=Z,aZ=Y=Iq(Z.current,null),sZ=X,MX=XQ,SQ=null,yG=!1,b_=Az(Z,X),I9=!1,bX=fq,oz=YQ=T9=hG=vG=0,nY=YK=null,ZA=!1,(X&8)!==0&&(X|=X&32),J=Z.entangledLanes,J!==0)for(Z=Z.entanglements,J&=X;0<J;)G=31-fY(J),z=1<<G,X|=Z[G],J&=~z;return qq=X,MB(),Z=l7(),1000<Z-p7&&(s.recentlyCreatedOwnerStacks=0,p7=Z),OJ.discardPendingWarnings(),Y}function m4(Z,X){bZ=null,s.H=oU,s.getCurrentStack=null,oJ=!1,RQ=null,X===P_||X===dL?(X=G1(),MX=ZK):X===q9?(X=G1(),MX=oI):MX=X===A9?N9:X!==null&&typeof X==="object"&&typeof X.then==="function"?XK:tL,SQ=X;var Y=aZ;Y===null?(bX=eU,sB(Z,FQ(X,Z.current))):Y.mode&iZ&&gF(Y)}function f4(){var Z=PQ.current;return Z===null?!0:(sZ&4194048)===sZ?aQ===null?!0:!1:(sZ&62914560)===sZ||(sZ&536870912)!==0?Z===aQ:!1}function u4(){var Z=s.H;return s.H=oU,Z===null?oU:Z}function d4(){var Z=s.A;return s.A=zE,Z}function YL(Z){lX===null&&(lX=Z._debugTask==null?null:Z._debugTask)}function QL(){bX=xG,yG||(sZ&4194048)!==sZ&&PQ.current!==null||(b_=!0),(vG&134217727)===0&&(hG&134217727)===0||RX===null||AG(RX,sZ,YQ,!1)}function uM(Z,X,Y){var J=HX;HX|=_Y;var G=u4(),z=d4();if(RX!==Z||sZ!==X){if(tJ){var U=Z.memoizedUpdaters;0<U.size&&(WU(Z,sZ),U.clear()),JG(Z,X)}QK=null,Y_(Z,X)}X=!1,U=bX;Z:do try{if(MX!==XQ&&aZ!==null){var B=aZ,F=SQ;switch(MX){case N9:fM(),U=rL;break Z;case ZK:case sz:case az:case XK:PQ.current===null&&(X=!0);var T=MX;if(MX=XQ,SQ=null,Q_(Z,B,F,T),Y&&b_){U=fq;break Z}break;default:T=MX,MX=XQ,SQ=null,Q_(Z,B,F,T)}}c4(),U=bX;break}catch(x){m4(Z,x)}while(1);return X&&Z.shellSuspendCounter++,VB(),HX=J,s.H=G,s.A=z,aZ===null&&(RX=null,sZ=0,MB()),U}function c4(){for(;aZ!==null;)p4(aZ)}function cD(Z,X){var Y=HX;HX|=_Y;var J=u4(),G=d4();if(RX!==Z||sZ!==X){if(tJ){var z=Z.memoizedUpdaters;0<z.size&&(WU(Z,sZ),z.clear()),JG(Z,X)}QK=null,YA=KY()+eI,Y_(Z,X)}else b_=Az(Z,X);Z:do try{if(MX!==XQ&&aZ!==null)X:switch(X=aZ,z=SQ,MX){case tL:MX=XQ,SQ=null,Q_(Z,X,z,tL);break;case sz:case az:if(J1(z)){MX=XQ,SQ=null,l4(X);break}X=function(){MX!==sz&&MX!==az||RX!==Z||(MX=eL),iJ(Z)},z.then(X,X);break Z;case ZK:MX=eL;break Z;case oI:MX=M9;break Z;case eL:J1(z)?(MX=XQ,SQ=null,l4(X)):(MX=XQ,SQ=null,Q_(Z,X,z,eL));break;case M9:var U=null;switch(aZ.tag){case 26:U=aZ.memoizedState;case 5:case 27:var B=aZ;if(U?bN(U):B.stateNode.complete){MX=XQ,SQ=null;var F=B.sibling;if(F!==null)aZ=F;else{var T=B.return;T!==null?(aZ=T,JL(T)):aZ=null}break X}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}MX=XQ,SQ=null,Q_(Z,X,z,M9);break;case XK:MX=XQ,SQ=null,Q_(Z,X,z,XK);break;case N9:fM(),bX=rL;break Z;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}s.actQueue!==null?c4():pD();break}catch(x){m4(Z,x)}while(1);if(VB(),s.H=J,s.A=G,HX=Y,aZ!==null)return fq;return RX=null,sZ=0,MB(),bX}function pD(){for(;aZ!==null&&!d$();)p4(aZ)}function p4(Z){var X=Z.alternate;(Z.mode&iZ)!==hZ?(bF(Z),X=UZ(Z,EM,X,Z,qq),gF(Z)):X=UZ(Z,EM,X,Z,qq),Z.memoizedProps=Z.pendingProps,X===null?JL(Z):aZ=X}function l4(Z){var X=UZ(Z,lD,Z);Z.memoizedProps=Z.pendingProps,X===null?JL(Z):aZ=X}function lD(Z){var X=Z.alternate,Y=(Z.mode&iZ)!==hZ;switch(Y&&bF(Z),Z.tag){case 15:case 0:X=Y4(X,Z,Z.pendingProps,Z.type,void 0,sZ);break;case 11:X=Y4(X,Z,Z.pendingProps,Z.type.render,Z.ref,sZ);break;case 5:rF(Z);default:_4(X,Z),Z=aZ=p8(Z,qq),X=EM(X,Z,qq)}return Y&&gF(Z),X}function Q_(Z,X,Y,J){VB(),rF(X),D_=null,iU=0;var G=X.return;try{if($D(Z,G,X,Y,sZ)){bX=eU,sB(Z,FQ(Y,Z.current)),aZ=null;return}}catch(z){if(G!==null)throw aZ=G,z;bX=eU,sB(Z,FQ(Y,Z.current)),aZ=null;return}if(X.flags&32768){if(QX||J===tL)Z=!0;else if(b_||(sZ&536870912)!==0)Z=!1;else if(yG=Z=!0,J===sz||J===az||J===ZK||J===XK)J=PQ.current,J!==null&&J.tag===13&&(J.flags|=16384);i4(X,Z)}else JL(X)}function JL(Z){var X=Z;do{if((X.flags&32768)!==0){i4(X,yG);return}var Y=X.alternate;if(Z=X.return,bF(X),Y=UZ(X,kD,Y,X,qq),(X.mode&iZ)!==hZ&&e8(X),Y!==null){aZ=Y;return}if(X=X.sibling,X!==null){aZ=X;return}aZ=X=Z}while(X!==null);bX===fq&&(bX=aI)}function i4(Z,X){do{var Y=xD(Z.alternate,Z);if(Y!==null){Y.flags&=32767,aZ=Y;return}if((Z.mode&iZ)!==hZ){e8(Z),Y=Z.actualDuration;for(var J=Z.child;J!==null;)Y+=J.actualDuration,J=J.sibling;Z.actualDuration=Y}if(Y=Z.return,Y!==null&&(Y.flags|=32768,Y.subtreeFlags=0,Y.deletions=null),!X&&(Z=Z.sibling,Z!==null)){aZ=Z;return}aZ=Z=Y}while(Z!==null);bX=rL,aZ=null}function dM(Z,X,Y,J,G,z,U,B,F,T,x,y,$,c){Z.cancelPendingCommit=null;do _U();while(QY!==gG);if(OJ.flushLegacyContextWarning(),OJ.flushPendingUnsafeLifecycleWarnings(),(HX&(_Y|$Q))!==AY)throw Error("Should not already be working.");if(OQ(Y),T===nz?VF($,c,Y,lX):J!==null?OD($,c,Y,J,X!==null&&X.alternate!==null&&X.alternate.memoizedState.isDehydrated&&(X.flags&256)!==0,lX):AD($,c,Y,lX),X!==null){if(Y===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),X===Z.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(z=X.lanes|X.childLanes,z|=s0,zB(Z,Y,z,U,B,F),Z===RX&&(aZ=RX=null,sZ=0),g_=X,mG=Z,NJ=Y,R9=z,C9=G,qT=J,j9=c,GT=y,IJ=QA,zT=null,X.actualDuration!==0||(X.subtreeFlags&10256)!==0||(X.flags&10256)!==0?(Z.callbackNode=null,Z.callbackPriority=0,oD(__,function(){return _K=window.event,IJ===QA&&(IJ=V9),r4(),null})):(Z.callbackNode=null,Z.callbackPriority=0),xq=null,PG=tX(),y!==null&&FD(c,PG,y,lX),J=(X.flags&13878)!==0,(X.subtreeFlags&13878)!==0||J){J=s.T,s.T=null,G=OX.p,OX.p=jQ,U=HX,HX|=$Q;try{mD(Z,X,Y)}finally{HX=U,OX.p=G,s.T=J}}QY=XT,n4(),s4(),a4()}}function n4(){if(QY===XT){QY=gG;var Z=mG,X=g_,Y=NJ,J=(X.flags&13878)!==0;if((X.subtreeFlags&13878)!==0||J){J=s.T,s.T=null;var G=OX.p;OX.p=jQ;var z=HX;HX|=$Q;try{v_=Y,h_=Z,PB(),R4(X,Z),h_=v_=null,Y=b9;var U=y8(Z.containerInfo),B=Y.focusedElem,F=Y.selectionRange;if(U!==B&&B&&B.ownerDocument&&x8(B.ownerDocument.documentElement,B)){if(F!==null&&IF(B)){var{start:T,end:x}=F;if(x===void 0&&(x=T),"selectionStart"in B)B.selectionStart=T,B.selectionEnd=Math.min(x,B.value.length);else{var y=B.ownerDocument||document,$=y&&y.defaultView||window;if($.getSelection){var c=$.getSelection(),GZ=B.textContent.length,BZ=Math.min(F.start,GZ),PX=F.end===void 0?BZ:Math.min(F.end,GZ);!c.extend&&BZ>PX&&(U=PX,PX=BZ,BZ=U);var GX=k8(B,BZ),D=k8(B,PX);if(GX&&D&&(c.rangeCount!==1||c.anchorNode!==GX.node||c.anchorOffset!==GX.offset||c.focusNode!==D.node||c.focusOffset!==D.offset)){var S=y.createRange();S.setStart(GX.node,GX.offset),c.removeAllRanges(),BZ>PX?(c.addRange(S),c.extend(D.node,D.offset)):(S.setEnd(D.node,D.offset),c.addRange(S))}}}}y=[];for(c=B;c=c.parentNode;)c.nodeType===1&&y.push({element:c,left:c.scrollLeft,top:c.scrollTop});typeof B.focus==="function"&&B.focus();for(B=0;B<y.length;B++){var k=y[B];k.element.scrollLeft=k.left,k.element.scrollTop=k.top}}NA=!!h9,b9=h9=null}finally{HX=z,OX.p=G,s.T=J}}Z.current=X,QY=YT}}function s4(){if(QY===YT){QY=gG;var Z=zT;if(Z!==null){PG=tX();var X=kq,Y=PG;!DX||Y<=X||(vq?vq.run(console.timeStamp.bind(console,Z,X,Y,eZ,tZ,"secondary-light")):console.timeStamp(Z,X,Y,eZ,tZ,"secondary-light"))}Z=mG,X=g_,Y=NJ;var J=(X.flags&8772)!==0;if((X.subtreeFlags&8772)!==0||J){J=s.T,s.T=null;var G=OX.p;OX.p=jQ;var z=HX;HX|=$Q;try{v_=Y,h_=Z,PB(),N4(Z,X.alternate,X),h_=v_=null}finally{HX=z,OX.p=G,s.T=J}}Z=j9,X=GT,kq=tX(),Z=X===null?Z:PG,X=kq,Y=IJ===w9,J=lX,xq!==null?m8(Z,X,xq,!1,J):!DX||X<=Z||(J?J.run(console.timeStamp.bind(console,Y?"Commit Interrupted View Transition":"Commit",Z,X,eZ,tZ,Y?"error":"secondary-dark")):console.timeStamp(Y?"Commit Interrupted View Transition":"Commit",Z,X,eZ,tZ,Y?"error":"secondary-dark")),QY=QT}}function a4(){if(QY===JT||QY===QT){if(QY===JT){var Z=kq;kq=tX();var X=kq,Y=IJ===w9;!DX||X<=Z||(vq?vq.run(console.timeStamp.bind(console,Y?"Interrupted View Transition":"Starting Animation",Z,X,eZ,tZ,Y?"error":"secondary-light")):console.timeStamp(Y?"Interrupted View Transition":"Starting Animation",Z,X,eZ,tZ,Y?" error":"secondary-light")),IJ!==w9&&(IJ=ZT)}QY=gG,c$(),Z=mG;var J=g_;X=NJ,Y=qT;var G=J.actualDuration!==0||(J.subtreeFlags&10256)!==0||(J.flags&10256)!==0;G?QY=JA:(QY=gG,g_=mG=null,o4(Z,Z.pendingLanes),rz=0,qK=null);var z=Z.pendingLanes;if(z===0&&(bG=null),G||XN(Z),z=V(X),J=J.stateNode,bY&&typeof bY.onCommitFiberRoot==="function")try{var U=(J.current.flags&128)===128;switch(z){case jQ:var B=C0;break;case LJ:B=P0;break;case eJ:B=__;break;case wL:B=D0;break;default:B=__}bY.onCommitFiberRoot(W_,J,B,U)}catch(y){rJ||(rJ=!0,console.error("React instrumentation encountered an error: %o",y))}if(tJ&&Z.memoizedUpdaters.clear(),uD(),Y!==null){U=s.T,B=OX.p,OX.p=jQ,s.T=null;try{var F=Z.onRecoverableError;for(J=0;J<Y.length;J++){var T=Y[J],x=iD(T.stack);UZ(T.source,F,T.value,x)}}finally{s.T=U,OX.p=B}}(NJ&3)!==0&&_U(),iJ(Z),z=Z.pendingLanes,(X&261930)!==0&&(z&42)!==0?(fL=!0,Z===P9?JK++:(JK=0,P9=Z)):JK=0,G||yz(X,kq),UU(0,!1)}}function iD(Z){return Z={componentStack:Z},Object.defineProperty(Z,"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.')}}),Z}function o4(Z,X){(Z.pooledCacheLanes&=X)===0&&(X=Z.pooledCache,X!=null&&(Z.pooledCache=null,nW(X)))}function _U(){return n4(),s4(),a4(),r4()}function r4(){if(QY!==JA)return!1;var Z=mG,X=R9;R9=0;var Y=V(NJ),J=eJ===0||eJ>Y?eJ:Y;Y=s.T;var G=OX.p;try{OX.p=J,s.T=null;var z=C9;C9=null,J=mG;var U=NJ;if(QY=gG,g_=mG=null,NJ=0,(HX&(_Y|$Q))!==AY)throw Error("Cannot flush passive effects while already rendering.");OQ(U),D9=!0,qA=!1;var B=0;if(xq=null,B=KY(),IJ===ZT)lW(kq,B,vq);else{var F=kq,T=B,x=IJ===V9;!DX||T<=F||(lX?lX.run(console.timeStamp.bind(console,x?"Waiting for Paint":"Waiting",F,T,eZ,tZ,"secondary-light")):console.timeStamp(x?"Waiting for Paint":"Waiting",F,T,eZ,tZ,"secondary-light"))}F=HX,HX|=$Q;var y=J.current;PB(),k4(y);var $=J.current;y=j9,PB(),D4(J,$,U,z,y),XN(J),HX=F;var c=KY();if($=B,y=lX,xq!==null?m8($,c,xq,!0,y):!DX||c<=$||(y?y.run(console.timeStamp.bind(console,"Remaining Effects",$,c,eZ,tZ,"secondary-dark")):console.timeStamp("Remaining Effects",$,c,eZ,tZ,"secondary-dark")),yz(U,c),UU(0,!1),qA?J===qK?rz++:(rz=0,qK=J):rz=0,qA=D9=!1,bY&&typeof bY.onPostCommitFiberRoot==="function")try{bY.onPostCommitFiberRoot(W_,J)}catch(BZ){rJ||(rJ=!0,console.error("React instrumentation encountered an error: %o",BZ))}var GZ=J.current.stateNode;return GZ.effectDuration=0,GZ.passiveEffectDuration=0,!0}finally{OX.p=G,s.T=Y,o4(Z,X)}}function t4(Z,X,Y){X=FQ(Y,X),Z1(X),X=IM(Z.stateNode,X,2),Z=UG(Z,X,2),Z!==null&&(QG(Z,2),iJ(Z))}function AX(Z,X,Y){if(m_=!1,Z.tag===3)t4(Z,Z,Y);else{for(;X!==null;){if(X.tag===3){t4(X,Z,Y);return}if(X.tag===1){var J=X.stateNode;if(typeof X.type.getDerivedStateFromError==="function"||typeof J.componentDidCatch==="function"&&(bG===null||!bG.has(J))){Z=FQ(Y,Z),Z1(Z),Y=TM(2),J=UG(X,Y,2),J!==null&&(wM(Y,J,X,Z),QG(J,2),iJ(J));return}}X=X.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
159
 
160
160
  Error message:
161
161
 
@@ -168,7 +168,7 @@ act(() => {
168
168
  });
169
169
  /* assert on the output */
170
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`),RX===Z&&(sZ&Y)===Y&&(bX===xG||bX===oL&&(sZ&62914560)===sZ&&KY()-XA<tI?(zX&_Y)===AY&&Y_(Z,0):T9|=Y,oH===sZ&&(oH=0)),iJ(Z)}function e4(Z,X){X===0&&(X=uz()),Z=hY(Z,X),Z!==null&&(QG(Z,X),iJ(Z))}function sD(Z){var X=Z.memoizedState,Y=0;X!==null&&(Y=X.retryLane),e4(Z,Y)}function aD(Z,X){var Y=0;switch(Z.tag){case 31:case 13:var{stateNode:J,memoizedState:G}=Z;G!==null&&(Y=G.retryLane);break;case 19:J=Z.stateNode;break;case 22:J=Z.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}J!==null&&J.delete(X),e4(Z,Y)}function pM(Z,X,Y){if((X.subtreeFlags&67117056)!==0)for(X=X.child;X!==null;){var J=Z,G=X,H=G.type===OL;H=Y||H,G.tag!==22?G.flags&67108864?H&&UZ(G,ZN,J,G):pM(J,G,H):G.memoizedState===null&&(H&&G.flags&8192?UZ(G,ZN,J,G):G.subtreeFlags&67108864&&UZ(G,pM,J,G,H)),X=X.sibling}}function ZN(Z,X){jX(!0);try{C4(X),x4(X),P4(Z,X.alternate,X,!1),$4(Z,X,0,null,!1,0)}finally{jX(!1)}}function XN(Z){var X=!0;Z.current.mode&(gY|AJ)||(X=!1),pM(Z,Z.current,X)}function YN(Z){if((zX&_Y)===AY){var X=Z.tag;if(X===3||X===1||X===0||X===11||X===14||X===15){if(X=n(Z)||"ReactComponent",GA!==null){if(GA.has(X))return;GA.add(X)}else GA=new Set([X]);UZ(Z,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 WU(Z,X){tJ&&Z.memoizedUpdaters.forEach(function(Y){hW(Z,Y,X)})}function oD(Z,X){var Y=s.actQueue;return Y!==null?(Y.push(X),KE):j0(Z,X)}function rD(Z){v4()&&s.actQueue===null&&UZ(Z,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
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`),RX===Z&&(sZ&Y)===Y&&(bX===xG||bX===oL&&(sZ&62914560)===sZ&&KY()-XA<tI?(HX&_Y)===AY&&Y_(Z,0):T9|=Y,oz===sZ&&(oz=0)),iJ(Z)}function e4(Z,X){X===0&&(X=uH()),Z=hY(Z,X),Z!==null&&(QG(Z,X),iJ(Z))}function sD(Z){var X=Z.memoizedState,Y=0;X!==null&&(Y=X.retryLane),e4(Z,Y)}function aD(Z,X){var Y=0;switch(Z.tag){case 31:case 13:var{stateNode:J,memoizedState:G}=Z;G!==null&&(Y=G.retryLane);break;case 19:J=Z.stateNode;break;case 22:J=Z.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}J!==null&&J.delete(X),e4(Z,Y)}function pM(Z,X,Y){if((X.subtreeFlags&67117056)!==0)for(X=X.child;X!==null;){var J=Z,G=X,z=G.type===OL;z=Y||z,G.tag!==22?G.flags&67108864?z&&UZ(G,ZN,J,G):pM(J,G,z):G.memoizedState===null&&(z&&G.flags&8192?UZ(G,ZN,J,G):G.subtreeFlags&67108864&&UZ(G,pM,J,G,z)),X=X.sibling}}function ZN(Z,X){jX(!0);try{C4(X),x4(X),P4(Z,X.alternate,X,!1),$4(Z,X,0,null,!1,0)}finally{jX(!1)}}function XN(Z){var X=!0;Z.current.mode&(gY|AJ)||(X=!1),pM(Z,Z.current,X)}function YN(Z){if((HX&_Y)===AY){var X=Z.tag;if(X===3||X===1||X===0||X===11||X===14||X===15){if(X=n(Z)||"ReactComponent",GA!==null){if(GA.has(X))return;GA.add(X)}else GA=new Set([X]);UZ(Z,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 WU(Z,X){tJ&&Z.memoizedUpdaters.forEach(function(Y){hW(Z,Y,X)})}function oD(Z,X){var Y=s.actQueue;return Y!==null?(Y.push(X),KE):j0(Z,X)}function rD(Z){v4()&&s.actQueue===null&&UZ(Z,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
172
172
 
173
173
  When testing, code that causes React state updates should be wrapped into act(...):
174
174
 
@@ -177,16 +177,16 @@ act(() => {
177
177
  });
178
178
  /* assert on the output */
179
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`,n(Z))})}function iJ(Z){Z!==f_&&Z.next===null&&(f_===null?HA=f_=Z:f_=f_.next=Z),zA=!0,s.actQueue!==null?S9||(S9=!0,GN()):$9||($9=!0,GN())}function UU(Z,X){if(!E9&&zA){E9=!0;do{var Y=!1;for(var J=HA;J!==null;){if(!X)if(Z!==0){var G=J.pendingLanes;if(G===0)var H=0;else{var{suspendedLanes:U,pingedLanes:B}=J;H=(1<<31-fY(42|Z)+1)-1,H&=G&~(U&~B),H=H&201326741?H&201326741|1:H?H|2:0}H!==0&&(Y=!0,qN(J,H))}else H=sZ,H=LH(J,J===RX?H:0,J.cancelPendingCommit!==null||J.timeoutHandle!==Xz),(H&3)===0||AH(J,H)||(Y=!0,qN(J,H));J=J.next}}while(Y);E9=!1}}function tD(){_K=window.event,lM()}function lM(){zA=S9=$9=!1;var Z=0;fG!==0&&q$()&&(Z=fG);for(var X=KY(),Y=null,J=HA;J!==null;){var G=J.next,H=QN(J,X);if(H===0)J.next=null,Y===null?HA=G:Y.next=G,G===null&&(f_=Y);else if(Y=J,Z!==0||(H&3)!==0)zA=!0;J=G}QY!==gG&&QY!==JA||UU(Z,!1),fG!==0&&(fG=0)}function QN(Z,X){for(var{suspendedLanes:Y,pingedLanes:J,expirationTimes:G}=Z,H=Z.pendingLanes&-62914561;0<H;){var U=31-fY(H),B=1<<U,F=G[U];if(F===-1){if((B&Y)===0||(B&J)!==0)G[U]=_F(B,X)}else F<=X&&(Z.expiredLanes|=B);H&=~B}if(X=RX,Y=sZ,Y=LH(Z,Z===X?Y:0,Z.cancelPendingCommit!==null||Z.timeoutHandle!==Xz),J=Z.callbackNode,Y===0||Z===X&&(MX===sH||MX===aH)||Z.cancelPendingCommit!==null)return J!==null&&iM(J),Z.callbackNode=null,Z.callbackPriority=0;if((Y&3)===0||AH(Z,Y)){if(X=Y&-Y,X!==Z.callbackPriority||s.actQueue!==null&&J!==k9)iM(J);else return X;switch(V(Y)){case jQ:case LJ:Y=P0;break;case eJ:Y=__;break;case wL:Y=D0;break;default:Y=__}return J=JN.bind(null,Z),s.actQueue!==null?(s.actQueue.push(J),Y=k9):Y=j0(Y,J),Z.callbackPriority=X,Z.callbackNode=Y,X}return J!==null&&iM(J),Z.callbackPriority=2,Z.callbackNode=null,2}function JN(Z,X){if(fL=mL=!1,_K=window.event,QY!==gG&&QY!==JA)return Z.callbackNode=null,Z.callbackPriority=0,null;var Y=Z.callbackNode;if(IJ===QA&&(IJ=V9),_U()&&Z.callbackNode!==Y)return null;var J=sZ;if(J=LH(Z,Z===RX?J:0,Z.cancelPendingCommit!==null||Z.timeoutHandle!==Xz),J===0)return null;return b4(Z,J,X),QN(Z,KY()),Z.callbackNode!=null&&Z.callbackNode===Y?JN.bind(null,Z):null}function qN(Z,X){if(_U())return null;mL=fL,fL=!1,b4(Z,X,!0)}function iM(Z){Z!==k9&&Z!==null&&u$(Z)}function GN(){s.actQueue!==null&&s.actQueue.push(function(){return lM(),null}),wE(function(){(zX&(_Y|$Q))!==AY?j0(C0,tD):lM()})}function nM(){if(fG===0){var Z=uH;Z===0&&(Z=NL,NL<<=1,(NL&261888)===0&&(NL=256)),fG=Z}return fG}function HN(Z){if(Z==null||typeof Z==="symbol"||typeof Z==="boolean")return null;if(typeof Z==="function")return Z;return PZ(Z,"action"),dW(""+Z)}function zN(Z,X){var Y=X.ownerDocument.createElement("input");return Y.name=X.name,Y.value=X.value,Z.id&&Y.setAttribute("form",Z.id),X.parentNode.insertBefore(Y,X),Z=new FormData(Z),Y.parentNode.removeChild(Y),Z}function eD(Z,X,Y,J,G){if(X==="submit"&&Y&&Y.stateNode===G){var H=HN((G[uY]||null).action),U=J.submitter;U&&(X=(X=U[uY]||null)?HN(X.formAction):U.getAttribute("formAction"),X!==null&&(H=X,U=null));var B=new PL("action","action",null,J,G);Z.push({event:B,listeners:[{instance:null,listener:function(){if(J.defaultPrevented){if(fG!==0){var F=U?zN(G,U):new FormData(G),T={pending:!0,data:F,method:G.method,action:H};Object.freeze(T),BM(Y,T,null,F)}}else typeof H==="function"&&(B.preventDefault(),F=U?zN(G,U):new FormData(G),T={pending:!0,data:F,method:G.method,action:H},Object.freeze(T),BM(Y,T,H,F))},currentTarget:G}]})}}function qL(Z,X,Y){Z.currentTarget=Y;try{X(Z)}catch(J){p0(J)}Z.currentTarget=null}function _N(Z,X){X=(X&4)!==0;for(var Y=0;Y<Z.length;Y++){var J=Z[Y];Z:{var G=void 0,H=J.event;if(J=J.listeners,X)for(var U=J.length-1;0<=U;U--){var B=J[U],F=B.instance,T=B.currentTarget;if(B=B.listener,F!==G&&H.isPropagationStopped())break Z;F!==null?UZ(F,qL,H,B,T):qL(H,B,T),G=F}else for(U=0;U<J.length;U++){if(B=J[U],F=B.instance,T=B.currentTarget,B=B.listener,F!==G&&H.isPropagationStopped())break Z;F!==null?UZ(F,qL,H,B,T):qL(H,B,T),G=F}}}}function qX(Z,X){x9.has(Z)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',Z);var Y=X[$0];Y===void 0&&(Y=X[$0]=new Set);var J=Z+"__bubble";Y.has(J)||(WN(X,Z,2,!1),Y.add(J))}function sM(Z,X,Y){x9.has(Z)&&!X&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',Z);var J=0;X&&(J|=4),WN(Y,Z,J,X)}function aM(Z){if(!Z[_A]){Z[_A]=!0,G7.forEach(function(Y){Y!=="selectionchange"&&(x9.has(Y)||sM(Y,!1,Z),sM(Y,!0,Z))});var X=Z.nodeType===9?Z:Z.ownerDocument;X===null||X[_A]||(X[_A]=!0,sM("selectionchange",!1,X))}}function WN(Z,X,Y,J){switch(cN(X)){case jQ:var G=x$;break;case LJ:G=y$;break;default:G=U0}Y=G.bind(null,X,Y,Z),G=void 0,!y0||X!=="touchstart"&&X!=="touchmove"&&X!=="wheel"||(G=!0),J?G!==void 0?Z.addEventListener(X,Y,{capture:!0,passive:G}):Z.addEventListener(X,Y,!0):G!==void 0?Z.addEventListener(X,Y,{passive:G}):Z.addEventListener(X,Y,!1)}function oM(Z,X,Y,J,G){var H=J;if((X&1)===0&&(X&2)===0&&J!==null)Z:for(;;){if(J===null)return;var U=J.tag;if(U===3||U===4){var B=J.stateNode.containerInfo;if(B===G)break;if(U===4)for(U=J.return;U!==null;){var F=U.tag;if((F===3||F===4)&&U.stateNode.containerInfo===G)return;U=U.return}for(;B!==null;){if(U=RZ(B),U===null)return;if(F=U.tag,F===5||F===6||F===26||F===27){J=H=U;continue Z}B=B.parentNode}}J=J.return}T8(function(){var T=H,x=MF(Y),y=[];Z:{var $=c7.get(Z);if($!==void 0){var c=PL,GZ=Z;switch(Z){case"keypress":if(BB(Y)===0)break Z;case"keydown":case"keyup":c=DS;break;case"focusin":GZ="focus",c=g0;break;case"focusout":GZ="blur",c=g0;break;case"beforeblur":case"afterblur":c=g0;break;case"click":if(Y.button===2)break Z;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=$7;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=OS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=ES;break;case m7:case f7:case u7:c=NS;break;case d7:c=xS;break;case"scroll":case"scrollend":c=LS;break;case"wheel":c=vS;break;case"copy":case"cut":case"paste":c=TS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=E7;break;case"toggle":case"beforetoggle":c=bS}var BZ=(X&4)!==0,PX=!BZ&&(Z==="scroll"||Z==="scrollend"),GX=BZ?$!==null?$+"Capture":null:$;BZ=[];for(var D=T,S;D!==null;){var k=D;if(S=k.stateNode,k=k.tag,k!==5&&k!==26&&k!==27||S===null||GX===null||(k=cW(D,GX),k!=null&&BZ.push(KU(D,k,S))),PX)break;D=D.return}0<BZ.length&&($=new c($,GZ,null,Y,x),y.push({event:$,listeners:BZ}))}}if((X&7)===0){Z:{if($=Z==="mouseover"||Z==="pointerover",c=Z==="mouseout"||Z==="pointerout",$&&Y!==VU&&(GZ=Y.relatedTarget||Y.fromElement)&&(RZ(GZ)||GZ[TG]))break Z;if(c||$){if($=x.window===x?x:($=x.ownerDocument)?$.defaultView||$.parentWindow:window,c){if(GZ=Y.relatedTarget||Y.toElement,c=T,GZ=GZ?RZ(GZ):null,GZ!==null&&(PX=a(GZ),BZ=GZ.tag,GZ!==PX||BZ!==5&&BZ!==27&&BZ!==6))GZ=null}else c=null,GZ=T;if(c!==GZ){if(BZ=$7,k="onMouseLeave",GX="onMouseEnter",D="mouse",Z==="pointerout"||Z==="pointerover")BZ=E7,k="onPointerLeave",GX="onPointerEnter",D="pointer";if(PX=c==null?$:uZ(c),S=GZ==null?$:uZ(GZ),$=new BZ(k,D+"leave",c,Y,x),$.target=PX,$.relatedTarget=S,k=null,RZ(x)===T&&(BZ=new BZ(GX,D+"enter",GZ,Y,x),BZ.target=S,BZ.relatedTarget=PX,k=BZ),PX=k,c&&GZ)X:{BZ=Z$,GX=c,D=GZ,S=0;for(k=GX;k;k=BZ(k))S++;k=0;for(var r=D;r;r=BZ(r))k++;for(;0<S-k;)GX=BZ(GX),S--;for(;0<k-S;)D=BZ(D),k--;for(;S--;){if(GX===D||D!==null&&GX===D.alternate){BZ=GX;break X}GX=BZ(GX),D=BZ(D)}BZ=null}else BZ=null;c!==null&&UN(y,$,c,BZ,!1),GZ!==null&&PX!==null&&UN(y,PX,GZ,BZ,!0)}}}Z:{if($=T?uZ(T):window,c=$.nodeName&&$.nodeName.toLowerCase(),c==="select"||c==="input"&&$.type==="file")var _Z=D8;else if(C8($))if(b7)_Z=KD;else{_Z=WD;var gZ=_D}else c=$.nodeName,!c||c.toLowerCase()!=="input"||$.type!=="checkbox"&&$.type!=="radio"?T&&uW(T.elementType)&&(_Z=D8):_Z=UD;if(_Z&&(_Z=_Z(Z,T))){P8(y,_Z,Y,x);break Z}gZ&&gZ(Z,$,T),Z==="focusout"&&T&&$.type==="number"&&T.memoizedProps.value!=null&&KF($,"number",$.value)}switch(gZ=T?uZ(T):window,Z){case"focusin":if(C8(gZ)||gZ.contentEditable==="true")F_=gZ,f0=T,SU=null;break;case"focusout":SU=f0=F_=null;break;case"mousedown":u0=!0;break;case"contextmenu":case"mouseup":case"dragend":u0=!1,v8(y,Y,x);break;case"selectionchange":if(uS)break;case"keydown":case"keyup":v8(y,Y,x)}var DZ;if(m0)Z:{switch(Z){case"compositionstart":var jZ="onCompositionStart";break Z;case"compositionend":jZ="onCompositionEnd";break Z;case"compositionupdate":jZ="onCompositionUpdate";break Z}jZ=void 0}else O_?R8(Z,Y)&&(jZ="onCompositionEnd"):Z==="keydown"&&Y.keyCode===k7&&(jZ="onCompositionStart");if(jZ&&(x7&&Y.locale!=="ko"&&(O_||jZ!=="onCompositionStart"?jZ==="onCompositionEnd"&&O_&&(DZ=w8()):(wG=x,v0=("value"in wG)?wG.value:wG.textContent,O_=!0)),gZ=GL(T,jZ),0<gZ.length&&(jZ=new S7(jZ,Z,null,Y,x),y.push({event:jZ,listeners:gZ}),DZ?jZ.data=DZ:(DZ=j8(Y),DZ!==null&&(jZ.data=DZ)))),DZ=mS?qD(Z,Y):GD(Z,Y))jZ=GL(T,"onBeforeInput"),0<jZ.length&&(gZ=new VS("onBeforeInput","beforeinput",null,Y,x),y.push({event:gZ,listeners:jZ}),gZ.data=DZ);eD(y,Z,T,Y,x)}_N(y,X)})}function KU(Z,X,Y){return{instance:Z,listener:X,currentTarget:Y}}function GL(Z,X){for(var Y=X+"Capture",J=[];Z!==null;){var G=Z,H=G.stateNode;if(G=G.tag,G!==5&&G!==26&&G!==27||H===null||(G=cW(Z,Y),G!=null&&J.unshift(KU(Z,G,H)),G=cW(Z,X),G!=null&&J.push(KU(Z,G,H))),Z.tag===3)return J;Z=Z.return}return[]}function Z$(Z){if(Z===null)return null;do Z=Z.return;while(Z&&Z.tag!==5&&Z.tag!==27);return Z?Z:null}function UN(Z,X,Y,J,G){for(var H=X._reactName,U=[];Y!==null&&Y!==J;){var B=Y,F=B.alternate,T=B.stateNode;if(B=B.tag,F!==null&&F===J)break;B!==5&&B!==26&&B!==27||T===null||(F=T,G?(T=cW(Y,H),T!=null&&U.unshift(KU(Y,T,F))):G||(T=cW(Y,H),T!=null&&U.push(KU(Y,T,F)))),Y=Y.return}U.length!==0&&Z.push({event:X,listeners:U})}function rM(Z,X){XD(Z,X),Z!=="input"&&Z!=="textarea"&&Z!=="select"||X==null||X.value!==null||P7||(P7=!0,Z==="select"&&X.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.",Z):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",Z));var Y={registrationNameDependencies:vH,possibleRegistrationNames:S0};uW(Z)||typeof X.is==="string"||QD(Z,X,Y),X.contentEditable&&!X.suppressContentEditableWarning&&X.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 UY(Z,X,Y,J){X!==Y&&(Y=OG(Y),OG(X)!==Y&&(J[Z]=X))}function X$(Z,X,Y){X.forEach(function(J){Y[LN(J)]=J==="style"?eM(Z):Z.getAttribute(J)})}function nJ(Z,X){X===!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.",Z,Z,Z):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",Z,typeof X)}function KN(Z,X){return Z=Z.namespaceURI===RL||Z.namespaceURI===K_?Z.ownerDocument.createElementNS(Z.namespaceURI,Z.tagName):Z.ownerDocument.createElement(Z.tagName),Z.innerHTML=X,Z.innerHTML}function OG(Z){return yY(Z)&&(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.",BQ(Z)),oX(Z)),(typeof Z==="string"?Z:""+Z).replace(BE,`
181
- `).replace(LE,"")}function BN(Z,X){return X=OG(X),OG(Z)===X?!0:!1}function wX(Z,X,Y,J,G,H){switch(Y){case"children":if(typeof J==="string")KB(J,X,!1),X==="body"||X==="textarea"&&J===""||fW(Z,J);else if(typeof J==="number"||typeof J==="bigint")KB(""+J,X,!1),X!=="body"&&fW(Z,""+J);break;case"className":_B(Z,"class",J);break;case"tabIndex":_B(Z,"tabindex",J);break;case"dir":case"role":case"viewBox":case"width":case"height":_B(Z,Y,J);break;case"style":M8(Z,J,H);break;case"data":if(X!=="object"){_B(Z,"data",J);break}case"src":case"href":if(J===""&&(X!=="a"||Y!=="href")){Y==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',Y,Y):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',Y,Y),Z.removeAttribute(Y);break}if(J==null||typeof J==="function"||typeof J==="symbol"||typeof J==="boolean"){Z.removeAttribute(Y);break}PZ(J,Y),J=dW(""+J),Z.setAttribute(Y,J);break;case"action":case"formAction":if(J!=null&&(X==="form"?Y==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof J==="function"&&(G.encType==null&&G.method==null||KA||(KA=!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.")),G.target==null||UA||(UA=!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."))):X==="input"||X==="button"?Y==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):X!=="input"||G.type==="submit"||G.type==="image"||WA?X!=="button"||G.type==null||G.type==="submit"||WA?typeof J==="function"&&(G.name==null||KT||(KT=!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.')),G.formEncType==null&&G.formMethod==null||KA||(KA=!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.")),G.formTarget==null||UA||(UA=!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."))):(WA=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(WA=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):Y==="action"?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),typeof J==="function"){Z.setAttribute(Y,"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 H==="function"&&(Y==="formAction"?(X!=="input"&&wX(Z,X,"name",G.name,G,null),wX(Z,X,"formEncType",G.formEncType,G,null),wX(Z,X,"formMethod",G.formMethod,G,null),wX(Z,X,"formTarget",G.formTarget,G,null)):(wX(Z,X,"encType",G.encType,G,null),wX(Z,X,"method",G.method,G,null),wX(Z,X,"target",G.target,G,null)));if(J==null||typeof J==="symbol"||typeof J==="boolean"){Z.removeAttribute(Y);break}PZ(J,Y),J=dW(""+J),Z.setAttribute(Y,J);break;case"onClick":J!=null&&(typeof J!=="function"&&nJ(Y,J),Z.onclick=Nq);break;case"onScroll":J!=null&&(typeof J!=="function"&&nJ(Y,J),qX("scroll",Z));break;case"onScrollEnd":J!=null&&(typeof J!=="function"&&nJ(Y,J),qX("scrollend",Z));break;case"dangerouslySetInnerHTML":if(J!=null){if(typeof J!=="object"||!("__html"in J))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(Y=J.__html,Y!=null){if(G.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");Z.innerHTML=Y}}break;case"multiple":Z.multiple=J&&typeof J!=="function"&&typeof J!=="symbol";break;case"muted":Z.muted=J&&typeof J!=="function"&&typeof J!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(J==null||typeof J==="function"||typeof J==="boolean"||typeof J==="symbol"){Z.removeAttribute("xlink:href");break}PZ(J,Y),Y=dW(""+J),Z.setAttributeNS(tH,"xlink:href",Y);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":J!=null&&typeof J!=="function"&&typeof J!=="symbol"?(PZ(J,Y),Z.setAttribute(Y,""+J)):Z.removeAttribute(Y);break;case"inert":J!==""||BA[Y]||(BA[Y]=!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.",Y));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":J&&typeof J!=="function"&&typeof J!=="symbol"?Z.setAttribute(Y,""):Z.removeAttribute(Y);break;case"capture":case"download":J===!0?Z.setAttribute(Y,""):J!==!1&&J!=null&&typeof J!=="function"&&typeof J!=="symbol"?(PZ(J,Y),Z.setAttribute(Y,J)):Z.removeAttribute(Y);break;case"cols":case"rows":case"size":case"span":J!=null&&typeof J!=="function"&&typeof J!=="symbol"&&!isNaN(J)&&1<=J?(PZ(J,Y),Z.setAttribute(Y,J)):Z.removeAttribute(Y);break;case"rowSpan":case"start":J==null||typeof J==="function"||typeof J==="symbol"||isNaN(J)?Z.removeAttribute(Y):(PZ(J,Y),Z.setAttribute(Y,J));break;case"popover":qX("beforetoggle",Z),qX("toggle",Z),zB(Z,"popover",J);break;case"xlinkActuate":Mq(Z,tH,"xlink:actuate",J);break;case"xlinkArcrole":Mq(Z,tH,"xlink:arcrole",J);break;case"xlinkRole":Mq(Z,tH,"xlink:role",J);break;case"xlinkShow":Mq(Z,tH,"xlink:show",J);break;case"xlinkTitle":Mq(Z,tH,"xlink:title",J);break;case"xlinkType":Mq(Z,tH,"xlink:type",J);break;case"xmlBase":Mq(Z,y9,"xml:base",J);break;case"xmlLang":Mq(Z,y9,"xml:lang",J);break;case"xmlSpace":Mq(Z,y9,"xml:space",J);break;case"is":H!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),zB(Z,"is",J);break;case"innerText":case"textContent":break;case"popoverTarget":BT||J==null||typeof J!=="object"||(BT=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",J));default:!(2<Y.length)||Y[0]!=="o"&&Y[0]!=="O"||Y[1]!=="n"&&Y[1]!=="N"?(Y=N8(Y),zB(Z,Y,J)):vH.hasOwnProperty(Y)&&J!=null&&typeof J!=="function"&&nJ(Y,J)}}function tM(Z,X,Y,J,G,H){switch(Y){case"style":M8(Z,J,H);break;case"dangerouslySetInnerHTML":if(J!=null){if(typeof J!=="object"||!("__html"in J))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(Y=J.__html,Y!=null){if(G.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");Z.innerHTML=Y}}break;case"children":typeof J==="string"?fW(Z,J):(typeof J==="number"||typeof J==="bigint")&&fW(Z,""+J);break;case"onScroll":J!=null&&(typeof J!=="function"&&nJ(Y,J),qX("scroll",Z));break;case"onScrollEnd":J!=null&&(typeof J!=="function"&&nJ(Y,J),qX("scrollend",Z));break;case"onClick":J!=null&&(typeof J!=="function"&&nJ(Y,J),Z.onclick=Nq);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(vH.hasOwnProperty(Y))J!=null&&typeof J!=="function"&&nJ(Y,J);else Z:{if(Y[0]==="o"&&Y[1]==="n"&&(G=Y.endsWith("Capture"),X=Y.slice(2,G?Y.length-7:void 0),H=Z[uY]||null,H=H!=null?H[Y]:null,typeof H==="function"&&Z.removeEventListener(X,H,G),typeof J==="function")){typeof H!=="function"&&H!==null&&(Y in Z?Z[Y]=null:Z.hasAttribute(Y)&&Z.removeAttribute(Y)),Z.addEventListener(X,J,G);break Z}Y in Z?Z[Y]=J:J===!0?Z.setAttribute(Y,""):zB(Z,Y,J)}}}function VY(Z,X,Y){switch(rM(X,Y),X){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":qX("error",Z),qX("load",Z);var J=!1,G=!1,H;for(H in Y)if(Y.hasOwnProperty(H)){var U=Y[H];if(U!=null)switch(H){case"src":J=!0;break;case"srcSet":G=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:wX(Z,X,H,U,Y,null)}}G&&wX(Z,X,"srcSet",Y.srcSet,Y,null),J&&wX(Z,X,"src",Y.src,Y,null);return;case"input":qG("input",Y),qX("invalid",Z);var B=H=U=G=null,F=null,T=null;for(J in Y)if(Y.hasOwnProperty(J)){var x=Y[J];if(x!=null)switch(J){case"name":G=x;break;case"type":U=x;break;case"checked":F=x;break;case"defaultChecked":T=x;break;case"value":H=x;break;case"defaultValue":B=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:wX(Z,X,J,x,Y,null)}}Y8(Z,Y),Q8(Z,H,B,F,T,U,G,!1);return;case"select":qG("select",Y),qX("invalid",Z),J=U=H=null;for(G in Y)if(Y.hasOwnProperty(G)&&(B=Y[G],B!=null))switch(G){case"value":H=B;break;case"defaultValue":U=B;break;case"multiple":J=B;default:wX(Z,X,G,B,Y,null)}G8(Z,Y),X=H,Y=U,Z.multiple=!!J,X!=null?cz(Z,!!J,X,!1):Y!=null&&cz(Z,!!J,Y,!0);return;case"textarea":qG("textarea",Y),qX("invalid",Z),H=G=J=null;for(U in Y)if(Y.hasOwnProperty(U)&&(B=Y[U],B!=null))switch(U){case"value":J=B;break;case"defaultValue":G=B;break;case"children":H=B;break;case"dangerouslySetInnerHTML":if(B!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:wX(Z,X,U,B,Y,null)}H8(Z,Y),_8(Z,J,G,H);return;case"option":J8(Z,Y);for(F in Y)if(Y.hasOwnProperty(F)&&(J=Y[F],J!=null))switch(F){case"selected":Z.selected=J&&typeof J!=="function"&&typeof J!=="symbol";break;default:wX(Z,X,F,J,Y,null)}return;case"dialog":qX("beforetoggle",Z),qX("toggle",Z),qX("cancel",Z),qX("close",Z);break;case"iframe":case"object":qX("load",Z);break;case"video":case"audio":for(J=0;J<GK.length;J++)qX(GK[J],Z);break;case"image":qX("error",Z),qX("load",Z);break;case"details":qX("toggle",Z);break;case"embed":case"source":case"link":qX("error",Z),qX("load",Z);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(T in Y)if(Y.hasOwnProperty(T)&&(J=Y[T],J!=null))switch(T){case"children":case"dangerouslySetInnerHTML":throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:wX(Z,X,T,J,Y,null)}return;default:if(uW(X)){for(x in Y)Y.hasOwnProperty(x)&&(J=Y[x],J!==void 0&&tM(Z,X,x,J,Y,void 0));return}}for(B in Y)Y.hasOwnProperty(B)&&(J=Y[B],J!=null&&wX(Z,X,B,J,Y,null))}function Y$(Z,X,Y,J){switch(rM(X,J),X){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var G=null,H=null,U=null,B=null,F=null,T=null,x=null;for(c in Y){var y=Y[c];if(Y.hasOwnProperty(c)&&y!=null)switch(c){case"checked":break;case"value":break;case"defaultValue":F=y;default:J.hasOwnProperty(c)||wX(Z,X,c,null,J,y)}}for(var $ in J){var c=J[$];if(y=Y[$],J.hasOwnProperty($)&&(c!=null||y!=null))switch($){case"type":H=c;break;case"name":G=c;break;case"checked":T=c;break;case"defaultChecked":x=c;break;case"value":U=c;break;case"defaultValue":B=c;break;case"children":case"dangerouslySetInnerHTML":if(c!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:c!==y&&wX(Z,X,$,c,J,y)}}X=Y.type==="checkbox"||Y.type==="radio"?Y.checked!=null:Y.value!=null,J=J.type==="checkbox"||J.type==="radio"?J.checked!=null:J.value!=null,X||!J||UT||(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"),UT=!0),!X||J||WT||(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"),WT=!0),UF(Z,U,B,F,T,x,H,G);return;case"select":c=U=B=$=null;for(H in Y)if(F=Y[H],Y.hasOwnProperty(H)&&F!=null)switch(H){case"value":break;case"multiple":c=F;default:J.hasOwnProperty(H)||wX(Z,X,H,null,J,F)}for(G in J)if(H=J[G],F=Y[G],J.hasOwnProperty(G)&&(H!=null||F!=null))switch(G){case"value":$=H;break;case"defaultValue":B=H;break;case"multiple":U=H;default:H!==F&&wX(Z,X,G,H,J,F)}J=B,X=U,Y=c,$!=null?cz(Z,!!X,$,!1):!!Y!==!!X&&(J!=null?cz(Z,!!X,J,!0):cz(Z,!!X,X?[]:"",!1));return;case"textarea":c=$=null;for(B in Y)if(G=Y[B],Y.hasOwnProperty(B)&&G!=null&&!J.hasOwnProperty(B))switch(B){case"value":break;case"children":break;default:wX(Z,X,B,null,J,G)}for(U in J)if(G=J[U],H=Y[U],J.hasOwnProperty(U)&&(G!=null||H!=null))switch(U){case"value":$=G;break;case"defaultValue":c=G;break;case"children":break;case"dangerouslySetInnerHTML":if(G!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:G!==H&&wX(Z,X,U,G,J,H)}z8(Z,$,c);return;case"option":for(var GZ in Y)if($=Y[GZ],Y.hasOwnProperty(GZ)&&$!=null&&!J.hasOwnProperty(GZ))switch(GZ){case"selected":Z.selected=!1;break;default:wX(Z,X,GZ,null,J,$)}for(F in J)if($=J[F],c=Y[F],J.hasOwnProperty(F)&&$!==c&&($!=null||c!=null))switch(F){case"selected":Z.selected=$&&typeof $!=="function"&&typeof $!=="symbol";break;default:wX(Z,X,F,$,J,c)}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 BZ in Y)$=Y[BZ],Y.hasOwnProperty(BZ)&&$!=null&&!J.hasOwnProperty(BZ)&&wX(Z,X,BZ,null,J,$);for(T in J)if($=J[T],c=Y[T],J.hasOwnProperty(T)&&$!==c&&($!=null||c!=null))switch(T){case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:wX(Z,X,T,$,J,c)}return;default:if(uW(X)){for(var PX in Y)$=Y[PX],Y.hasOwnProperty(PX)&&$!==void 0&&!J.hasOwnProperty(PX)&&tM(Z,X,PX,void 0,J,$);for(x in J)$=J[x],c=Y[x],!J.hasOwnProperty(x)||$===c||$===void 0&&c===void 0||tM(Z,X,x,$,J,c);return}}for(var GX in Y)$=Y[GX],Y.hasOwnProperty(GX)&&$!=null&&!J.hasOwnProperty(GX)&&wX(Z,X,GX,null,J,$);for(y in J)$=J[y],c=Y[y],!J.hasOwnProperty(y)||$===c||$==null&&c==null||wX(Z,X,y,$,J,c)}function LN(Z){switch(Z){case"class":return"className";case"for":return"htmlFor";default:return Z}}function eM(Z){var X={};Z=Z.style;for(var Y=0;Y<Z.length;Y++){var J=Z[Y];X[J]=Z.getPropertyValue(J)}return X}function AN(Z,X,Y){if(X!=null&&typeof X!=="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 J,G=J="",H;for(H in X)if(X.hasOwnProperty(H)){var U=X[H];U!=null&&typeof U!=="boolean"&&U!==""&&(H.indexOf("--")===0?(Fq(U,H),J+=G+H+":"+(""+U).trim()):typeof U!=="number"||U===0||j7.has(H)?(Fq(U,H),J+=G+H.replace(I7,"-$1").toLowerCase().replace(T7,"-ms-")+":"+(""+U).trim()):J+=G+H.replace(I7,"-$1").toLowerCase().replace(T7,"-ms-")+":"+U+"px",G=";")}J=J||null,X=Z.getAttribute("style"),X!==J&&(J=OG(J),OG(X)!==J&&(Y.style=eM(Z)))}}function uQ(Z,X,Y,J,G,H){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null)switch(typeof J){case"undefined":case"function":case"symbol":case"boolean":return}else if(J!=null)switch(typeof J){case"function":case"symbol":case"boolean":break;default:if(PZ(J,X),Z===""+J)return}UY(X,Z,J,H)}function ON(Z,X,Y,J,G,H){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null){switch(typeof J){case"function":case"symbol":return}if(!J)return}else switch(typeof J){case"function":case"symbol":break;default:if(J)return}UY(X,Z,J,H)}function Z0(Z,X,Y,J,G,H){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null)switch(typeof J){case"undefined":case"function":case"symbol":return}else if(J!=null)switch(typeof J){case"function":case"symbol":break;default:if(PZ(J,Y),Z===""+J)return}UY(X,Z,J,H)}function FN(Z,X,Y,J,G,H){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null)switch(typeof J){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(J))return}else if(J!=null)switch(typeof J){case"function":case"symbol":case"boolean":break;default:if(!isNaN(J)&&(PZ(J,X),Z===""+J))return}UY(X,Z,J,H)}function X0(Z,X,Y,J,G,H){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null)switch(typeof J){case"undefined":case"function":case"symbol":case"boolean":return}else if(J!=null)switch(typeof J){case"function":case"symbol":case"boolean":break;default:if(PZ(J,X),Y=dW(""+J),Z===Y)return}UY(X,Z,J,H)}function MN(Z,X,Y,J){for(var G={},H=new Set,U=Z.attributes,B=0;B<U.length;B++)switch(U[B].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:H.add(U[B].name)}if(uW(X)){for(var F in Y)if(Y.hasOwnProperty(F)){var T=Y[F];if(T!=null){if(vH.hasOwnProperty(F))typeof T!=="function"&&nJ(F,T);else if(Y.suppressHydrationWarning!==!0)switch(F){case"children":typeof T!=="string"&&typeof T!=="number"||UY("children",Z.textContent,T,G);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":U=Z.innerHTML,T=T?T.__html:void 0,T!=null&&(T=KN(Z,T),UY(F,U,T,G));continue;case"style":H.delete(F),AN(Z,T,G);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":H.delete(F.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",F);continue;case"className":H.delete("class"),U=e5(Z,"class",T),UY("className",U,T,G);continue;default:J.context===uq&&X!=="svg"&&X!=="math"?H.delete(F.toLowerCase()):H.delete(F),U=e5(Z,F,T),UY(F,U,T,G)}}}}else for(T in Y)if(Y.hasOwnProperty(T)&&(F=Y[T],F!=null)){if(vH.hasOwnProperty(T))typeof F!=="function"&&nJ(T,F);else if(Y.suppressHydrationWarning!==!0)switch(T){case"children":typeof F!=="string"&&typeof F!=="number"||UY("children",Z.textContent,F,G);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":U=Z.innerHTML,F=F?F.__html:void 0,F!=null&&(F=KN(Z,F),U!==F&&(G[T]={__html:U}));continue;case"className":uQ(Z,T,"class",F,H,G);continue;case"tabIndex":uQ(Z,T,"tabindex",F,H,G);continue;case"style":H.delete(T),AN(Z,F,G);continue;case"multiple":H.delete(T),UY(T,Z.multiple,F,G);continue;case"muted":H.delete(T),UY(T,Z.muted,F,G);continue;case"autoFocus":H.delete("autofocus"),UY(T,Z.autofocus,F,G);continue;case"data":if(X!=="object"){H.delete(T),U=Z.getAttribute("data"),UY(T,U,F,G);continue}case"src":case"href":if(!(F!==""||X==="a"&&T==="href"||X==="object"&&T==="data")){T==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',T,T):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',T,T);continue}X0(Z,T,T,F,H,G);continue;case"action":case"formAction":if(U=Z.getAttribute(T),typeof F==="function"){H.delete(T.toLowerCase()),T==="formAction"?(H.delete("name"),H.delete("formenctype"),H.delete("formmethod"),H.delete("formtarget")):(H.delete("enctype"),H.delete("method"),H.delete("target"));continue}else if(U===AE){H.delete(T.toLowerCase()),UY(T,"function",F,G);continue}X0(Z,T,T.toLowerCase(),F,H,G);continue;case"xlinkHref":X0(Z,T,"xlink:href",F,H,G);continue;case"contentEditable":Z0(Z,T,"contenteditable",F,H,G);continue;case"spellCheck":Z0(Z,T,"spellcheck",F,H,G);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Z0(Z,T,T,F,H,G);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":ON(Z,T,T.toLowerCase(),F,H,G);continue;case"capture":case"download":Z:{B=Z;var x=U=T,y=G;if(H.delete(x),B=B.getAttribute(x),B===null)switch(typeof F){case"undefined":case"function":case"symbol":break Z;default:if(F===!1)break Z}else if(F!=null)switch(typeof F){case"function":case"symbol":break;case"boolean":if(F===!0&&B==="")break Z;break;default:if(PZ(F,U),B===""+F)break Z}UY(U,B,F,y)}continue;case"cols":case"rows":case"size":case"span":Z:{if(B=Z,x=U=T,y=G,H.delete(x),B=B.getAttribute(x),B===null)switch(typeof F){case"undefined":case"function":case"symbol":case"boolean":break Z;default:if(isNaN(F)||1>F)break Z}else if(F!=null)switch(typeof F){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(F)||1>F)&&(PZ(F,U),B===""+F))break Z}UY(U,B,F,y)}continue;case"rowSpan":FN(Z,T,"rowspan",F,H,G);continue;case"start":FN(Z,T,T,F,H,G);continue;case"xHeight":uQ(Z,T,"x-height",F,H,G);continue;case"xlinkActuate":uQ(Z,T,"xlink:actuate",F,H,G);continue;case"xlinkArcrole":uQ(Z,T,"xlink:arcrole",F,H,G);continue;case"xlinkRole":uQ(Z,T,"xlink:role",F,H,G);continue;case"xlinkShow":uQ(Z,T,"xlink:show",F,H,G);continue;case"xlinkTitle":uQ(Z,T,"xlink:title",F,H,G);continue;case"xlinkType":uQ(Z,T,"xlink:type",F,H,G);continue;case"xmlBase":uQ(Z,T,"xml:base",F,H,G);continue;case"xmlLang":uQ(Z,T,"xml:lang",F,H,G);continue;case"xmlSpace":uQ(Z,T,"xml:space",F,H,G);continue;case"inert":F!==""||BA[T]||(BA[T]=!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.",T)),ON(Z,T,T,F,H,G);continue;default:if(!(2<T.length)||T[0]!=="o"&&T[0]!=="O"||T[1]!=="n"&&T[1]!=="N"){B=N8(T),U=!1,J.context===uq&&X!=="svg"&&X!=="math"?H.delete(B.toLowerCase()):(x=T.toLowerCase(),x=jL.hasOwnProperty(x)?jL[x]||null:null,x!==null&&x!==T&&(U=!0,H.delete(x)),H.delete(B));Z:if(x=Z,y=B,B=F,bW(y))if(x.hasAttribute(y))x=x.getAttribute(y),PZ(B,y),B=x===""+B?B:x;else{switch(typeof B){case"function":case"symbol":break Z;case"boolean":if(x=y.toLowerCase().slice(0,5),x!=="data-"&&x!=="aria-")break Z}B=B===void 0?void 0:null}else B=void 0;U||UY(T,B,F,G)}}}return 0<H.size&&Y.suppressHydrationWarning!==!0&&X$(Z,H,G),Object.keys(G).length===0?null:G}function Q$(Z,X){switch(Z.length){case 0:return"";case 1:return Z[0];case 2:return Z[0]+" "+X+" "+Z[1];default:return Z.slice(0,-1).join(", ")+", "+X+" "+Z[Z.length-1]}}function NN(Z){switch(Z){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function J$(){if(typeof performance.getEntriesByType==="function"){for(var Z=0,X=0,Y=performance.getEntriesByType("resource"),J=0;J<Y.length;J++){var G=Y[J],H=G.transferSize,U=G.initiatorType,B=G.duration;if(H&&B&&NN(U)){U=0,B=G.responseEnd;for(J+=1;J<Y.length;J++){var F=Y[J],T=F.startTime;if(T>B)break;var{transferSize:x,initiatorType:y}=F;x&&NN(y)&&(F=F.responseEnd,U+=x*(F<B?1:(B-T)/(F-T)))}if(--J,X+=8*(H+U)/(G.duration/1000),Z++,10<Z)break}}if(0<Z)return X/Z/1e6}return navigator.connection&&(Z=navigator.connection.downlink,typeof Z==="number")?Z:5}function HL(Z){return Z.nodeType===9?Z:Z.ownerDocument}function IN(Z){switch(Z){case K_:return d_;case RL:return AA;default:return uq}}function TN(Z,X){if(Z===uq)switch(X){case"svg":return d_;case"math":return AA;default:return uq}return Z===d_&&X==="foreignObject"?uq:Z}function Y0(Z,X){return Z==="textarea"||Z==="noscript"||typeof X.children==="string"||typeof X.children==="number"||typeof X.children==="bigint"||typeof X.dangerouslySetInnerHTML==="object"&&X.dangerouslySetInnerHTML!==null&&X.dangerouslySetInnerHTML.__html!=null}function q$(){var Z=window.event;if(Z&&Z.type==="popstate"){if(Z===g9)return!1;return g9=Z,!0}return g9=null,!1}function BU(){var Z=window.event;return Z&&Z!==_K?Z.type:null}function LU(){var Z=window.event;return Z&&Z!==_K?Z.timeStamp:-1.1}function G$(Z){setTimeout(function(){throw Z})}function H$(Z,X,Y){switch(X){case"button":case"input":case"select":case"textarea":Y.autoFocus&&Z.focus();break;case"img":Y.src?Z.src=Y.src:Y.srcSet&&(Z.srcset=Y.srcSet)}}function z$(){}function _$(Z,X,Y,J){Y$(Z,X,Y,J),Z[uY]=J}function wN(Z){fW(Z,"")}function W$(Z,X,Y){Z.nodeValue=Y}function VN(Z){if(!Z.__reactWarnedAboutChildrenConflict){var X=Z[uY]||null;if(X!==null){var Y=fZ(Z);Y!==null&&(typeof X.children==="string"||typeof X.children==="number"?(Z.__reactWarnedAboutChildrenConflict=!0,UZ(Y,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.')})):X.dangerouslySetInnerHTML!=null&&(Z.__reactWarnedAboutChildrenConflict=!0,UZ(Y,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 FG(Z){return Z==="head"}function U$(Z,X){Z.removeChild(X)}function K$(Z,X){(Z.nodeType===9?Z.body:Z.nodeName==="HTML"?Z.ownerDocument.body:Z).removeChild(X)}function RN(Z,X){var Y=X,J=0;do{var G=Y.nextSibling;if(Z.removeChild(Y),G&&G.nodeType===8)if(Y=G.data,Y===zK||Y===LA){if(J===0){Z.removeChild(G),G_(X);return}J--}else if(Y===HK||Y===uG||Y===Zz||Y===u_||Y===eH)J++;else if(Y===FE)AU(Z.ownerDocument.documentElement);else if(Y===NE){Y=Z.ownerDocument.head,AU(Y);for(var H=Y.firstChild;H;){var{nextSibling:U,nodeName:B}=H;H[wU]||B==="SCRIPT"||B==="STYLE"||B==="LINK"&&H.rel.toLowerCase()==="stylesheet"||Y.removeChild(H),H=U}}else Y===ME&&AU(Z.ownerDocument.body);Y=G}while(Y);G_(X)}function jN(Z,X){var Y=Z;Z=0;do{var J=Y.nextSibling;if(Y.nodeType===1?X?(Y._stashedDisplay=Y.style.display,Y.style.display="none"):(Y.style.display=Y._stashedDisplay||"",Y.getAttribute("style")===""&&Y.removeAttribute("style")):Y.nodeType===3&&(X?(Y._stashedText=Y.nodeValue,Y.nodeValue=""):Y.nodeValue=Y._stashedText||""),J&&J.nodeType===8)if(Y=J.data,Y===zK)if(Z===0)break;else Z--;else Y!==HK&&Y!==uG&&Y!==Zz&&Y!==u_||Z++;Y=J}while(Y)}function B$(Z){jN(Z,!0)}function L$(Z){Z=Z.style,typeof Z.setProperty==="function"?Z.setProperty("display","none","important"):Z.display="none"}function A$(Z){Z.nodeValue=""}function O$(Z){jN(Z,!1)}function F$(Z,X){X=X[IE],X=X!==void 0&&X!==null&&X.hasOwnProperty("display")?X.display:null,Z.style.display=X==null||typeof X==="boolean"?"":(""+X).trim()}function M$(Z,X){Z.nodeValue=X}function Q0(Z){var X=Z.firstChild;X&&X.nodeType===10&&(X=X.nextSibling);for(;X;){var Y=X;switch(X=X.nextSibling,Y.nodeName){case"HTML":case"HEAD":case"BODY":Q0(Y),zZ(Y);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(Y.rel.toLowerCase()==="stylesheet")continue}Z.removeChild(Y)}}function N$(Z,X,Y,J){for(;Z.nodeType===1;){var G=Y;if(Z.nodeName.toLowerCase()!==X.toLowerCase()){if(!J&&(Z.nodeName!=="INPUT"||Z.type!=="hidden"))break}else if(!J)if(X==="input"&&Z.type==="hidden"){PZ(G.name,"name");var H=G.name==null?null:""+G.name;if(G.type==="hidden"&&Z.getAttribute("name")===H)return Z}else return Z;else if(!Z[wU])switch(X){case"meta":if(!Z.hasAttribute("itemprop"))break;return Z;case"link":if(H=Z.getAttribute("rel"),H==="stylesheet"&&Z.hasAttribute("data-precedence"))break;else if(H!==G.rel||Z.getAttribute("href")!==(G.href==null||G.href===""?null:G.href)||Z.getAttribute("crossorigin")!==(G.crossOrigin==null?null:G.crossOrigin)||Z.getAttribute("title")!==(G.title==null?null:G.title))break;return Z;case"style":if(Z.hasAttribute("data-precedence"))break;return Z;case"script":if(H=Z.getAttribute("src"),(H!==(G.src==null?null:G.src)||Z.getAttribute("type")!==(G.type==null?null:G.type)||Z.getAttribute("crossorigin")!==(G.crossOrigin==null?null:G.crossOrigin))&&H&&Z.hasAttribute("async")&&!Z.hasAttribute("itemprop"))break;return Z;default:return Z}if(Z=wQ(Z.nextSibling),Z===null)break}return null}function I$(Z,X,Y){if(X==="")return null;for(;Z.nodeType!==3;){if((Z.nodeType!==1||Z.nodeName!=="INPUT"||Z.type!=="hidden")&&!Y)return null;if(Z=wQ(Z.nextSibling),Z===null)return null}return Z}function CN(Z,X){for(;Z.nodeType!==8;){if((Z.nodeType!==1||Z.nodeName!=="INPUT"||Z.type!=="hidden")&&!X)return null;if(Z=wQ(Z.nextSibling),Z===null)return null}return Z}function J0(Z){return Z.data===uG||Z.data===Zz}function q0(Z){return Z.data===u_||Z.data===uG&&Z.ownerDocument.readyState!==AT}function T$(Z,X){var Y=Z.ownerDocument;if(Z.data===Zz)Z._reactRetry=X;else if(Z.data!==uG||Y.readyState!==AT)X();else{var J=function(){X(),Y.removeEventListener("DOMContentLoaded",J)};Y.addEventListener("DOMContentLoaded",J),Z._reactRetry=J}}function wQ(Z){for(;Z!=null;Z=Z.nextSibling){var X=Z.nodeType;if(X===1||X===3)break;if(X===8){if(X=Z.data,X===HK||X===u_||X===uG||X===Zz||X===eH||X===v9||X===LT)break;if(X===zK||X===LA)return null}}return Z}function PN(Z){if(Z.nodeType===1){for(var X=Z.nodeName.toLowerCase(),Y={},J=Z.attributes,G=0;G<J.length;G++){var H=J[G];Y[LN(H.name)]=H.name.toLowerCase()==="style"?eM(Z):H.value}return{type:X,props:Y}}return Z.nodeType===8?Z.data===eH?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:Z.nodeValue}function DN(Z,X,Y){return Y===null||Y[OE]!==!0?(Z.nodeValue===X?Z=null:(X=OG(X),Z=OG(Z.nodeValue)===X?null:Z.nodeValue),Z):null}function G0(Z){Z=Z.nextSibling;for(var X=0;Z;){if(Z.nodeType===8){var Y=Z.data;if(Y===zK||Y===LA){if(X===0)return wQ(Z.nextSibling);X--}else Y!==HK&&Y!==u_&&Y!==uG&&Y!==Zz&&Y!==eH||X++}Z=Z.nextSibling}return null}function $N(Z){Z=Z.previousSibling;for(var X=0;Z;){if(Z.nodeType===8){var Y=Z.data;if(Y===HK||Y===u_||Y===uG||Y===Zz||Y===eH){if(X===0)return Z;X--}else Y!==zK&&Y!==LA||X++}Z=Z.previousSibling}return null}function w$(Z){G_(Z)}function V$(Z){G_(Z)}function R$(Z){G_(Z)}function SN(Z,X,Y,J,G){switch(G&&FF(Z,J.ancestorInfo),X=HL(Y),Z){case"html":if(Z=X.documentElement,!Z)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 Z;case"head":if(Z=X.head,!Z)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 Z;case"body":if(Z=X.body,!Z)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 Z;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function j$(Z,X,Y,J){if(!Y[TG]&&fZ(Y)){var G=Y.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.",G,G,G)}switch(Z){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(G=Y.attributes;G.length;)Y.removeAttributeNode(G[0]);VY(Y,Z,X),Y[RY]=J,Y[uY]=X}function AU(Z){for(var X=Z.attributes;X.length;)Z.removeAttributeNode(X[0]);zZ(Z)}function zL(Z){return typeof Z.getRootNode==="function"?Z.getRootNode():Z.nodeType===9?Z:Z.ownerDocument}function EN(Z,X,Y){var J=c_;if(J&&typeof X==="string"&&X){var G=fQ(X);G='link[rel="'+Z+'"][href="'+G+'"]',typeof Y==="string"&&(G+='[crossorigin="'+Y+'"]'),TT.has(G)||(TT.add(G),Z={rel:Z,crossOrigin:Y,href:X},J.querySelector(G)===null&&(X=J.createElement("link"),VY(X,"link",Z),SZ(X),J.head.appendChild(X)))}}function kN(Z,X,Y,J){var G=(G=NG.current)?zL(G):null;if(!G)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(Z){case"meta":case"title":return null;case"style":return typeof Y.precedence==="string"&&typeof Y.href==="string"?(Y=J_(Y.href),X=WX(G).hoistableStyles,J=X.get(Y),J||(J={type:"style",instance:null,count:0,state:null},X.set(Y,J)),J):{type:"void",instance:null,count:0,state:null};case"link":if(Y.rel==="stylesheet"&&typeof Y.href==="string"&&typeof Y.precedence==="string"){Z=J_(Y.href);var H=WX(G).hoistableStyles,U=H.get(Z);if(!U&&(G=G.ownerDocument||G,U={type:"stylesheet",instance:null,count:0,state:{loading:Yz,preload:null}},H.set(Z,U),(H=G.querySelector(OU(Z)))&&!H._p&&(U.instance=H,U.state.loading=WK|tQ),!eQ.has(Z))){var B={rel:"preload",as:"style",href:Y.href,crossOrigin:Y.crossOrigin,integrity:Y.integrity,media:Y.media,hrefLang:Y.hrefLang,referrerPolicy:Y.referrerPolicy};eQ.set(Z,B),H||C$(G,Z,B,U.state)}if(X&&J===null)throw Y=`
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`,n(Z))})}function iJ(Z){Z!==f_&&Z.next===null&&(f_===null?zA=f_=Z:f_=f_.next=Z),HA=!0,s.actQueue!==null?S9||(S9=!0,GN()):$9||($9=!0,GN())}function UU(Z,X){if(!E9&&HA){E9=!0;do{var Y=!1;for(var J=zA;J!==null;){if(!X)if(Z!==0){var G=J.pendingLanes;if(G===0)var z=0;else{var{suspendedLanes:U,pingedLanes:B}=J;z=(1<<31-fY(42|Z)+1)-1,z&=G&~(U&~B),z=z&201326741?z&201326741|1:z?z|2:0}z!==0&&(Y=!0,qN(J,z))}else z=sZ,z=Lz(J,J===RX?z:0,J.cancelPendingCommit!==null||J.timeoutHandle!==XH),(z&3)===0||Az(J,z)||(Y=!0,qN(J,z));J=J.next}}while(Y);E9=!1}}function tD(){_K=window.event,lM()}function lM(){HA=S9=$9=!1;var Z=0;fG!==0&&q$()&&(Z=fG);for(var X=KY(),Y=null,J=zA;J!==null;){var G=J.next,z=QN(J,X);if(z===0)J.next=null,Y===null?zA=G:Y.next=G,G===null&&(f_=Y);else if(Y=J,Z!==0||(z&3)!==0)HA=!0;J=G}QY!==gG&&QY!==JA||UU(Z,!1),fG!==0&&(fG=0)}function QN(Z,X){for(var{suspendedLanes:Y,pingedLanes:J,expirationTimes:G}=Z,z=Z.pendingLanes&-62914561;0<z;){var U=31-fY(z),B=1<<U,F=G[U];if(F===-1){if((B&Y)===0||(B&J)!==0)G[U]=_F(B,X)}else F<=X&&(Z.expiredLanes|=B);z&=~B}if(X=RX,Y=sZ,Y=Lz(Z,Z===X?Y:0,Z.cancelPendingCommit!==null||Z.timeoutHandle!==XH),J=Z.callbackNode,Y===0||Z===X&&(MX===sz||MX===az)||Z.cancelPendingCommit!==null)return J!==null&&iM(J),Z.callbackNode=null,Z.callbackPriority=0;if((Y&3)===0||Az(Z,Y)){if(X=Y&-Y,X!==Z.callbackPriority||s.actQueue!==null&&J!==k9)iM(J);else return X;switch(V(Y)){case jQ:case LJ:Y=P0;break;case eJ:Y=__;break;case wL:Y=D0;break;default:Y=__}return J=JN.bind(null,Z),s.actQueue!==null?(s.actQueue.push(J),Y=k9):Y=j0(Y,J),Z.callbackPriority=X,Z.callbackNode=Y,X}return J!==null&&iM(J),Z.callbackPriority=2,Z.callbackNode=null,2}function JN(Z,X){if(fL=mL=!1,_K=window.event,QY!==gG&&QY!==JA)return Z.callbackNode=null,Z.callbackPriority=0,null;var Y=Z.callbackNode;if(IJ===QA&&(IJ=V9),_U()&&Z.callbackNode!==Y)return null;var J=sZ;if(J=Lz(Z,Z===RX?J:0,Z.cancelPendingCommit!==null||Z.timeoutHandle!==XH),J===0)return null;return b4(Z,J,X),QN(Z,KY()),Z.callbackNode!=null&&Z.callbackNode===Y?JN.bind(null,Z):null}function qN(Z,X){if(_U())return null;mL=fL,fL=!1,b4(Z,X,!0)}function iM(Z){Z!==k9&&Z!==null&&u$(Z)}function GN(){s.actQueue!==null&&s.actQueue.push(function(){return lM(),null}),wE(function(){(HX&(_Y|$Q))!==AY?j0(C0,tD):lM()})}function nM(){if(fG===0){var Z=uz;Z===0&&(Z=NL,NL<<=1,(NL&261888)===0&&(NL=256)),fG=Z}return fG}function zN(Z){if(Z==null||typeof Z==="symbol"||typeof Z==="boolean")return null;if(typeof Z==="function")return Z;return PZ(Z,"action"),dW(""+Z)}function HN(Z,X){var Y=X.ownerDocument.createElement("input");return Y.name=X.name,Y.value=X.value,Z.id&&Y.setAttribute("form",Z.id),X.parentNode.insertBefore(Y,X),Z=new FormData(Z),Y.parentNode.removeChild(Y),Z}function eD(Z,X,Y,J,G){if(X==="submit"&&Y&&Y.stateNode===G){var z=zN((G[uY]||null).action),U=J.submitter;U&&(X=(X=U[uY]||null)?zN(X.formAction):U.getAttribute("formAction"),X!==null&&(z=X,U=null));var B=new PL("action","action",null,J,G);Z.push({event:B,listeners:[{instance:null,listener:function(){if(J.defaultPrevented){if(fG!==0){var F=U?HN(G,U):new FormData(G),T={pending:!0,data:F,method:G.method,action:z};Object.freeze(T),BM(Y,T,null,F)}}else typeof z==="function"&&(B.preventDefault(),F=U?HN(G,U):new FormData(G),T={pending:!0,data:F,method:G.method,action:z},Object.freeze(T),BM(Y,T,z,F))},currentTarget:G}]})}}function qL(Z,X,Y){Z.currentTarget=Y;try{X(Z)}catch(J){p0(J)}Z.currentTarget=null}function _N(Z,X){X=(X&4)!==0;for(var Y=0;Y<Z.length;Y++){var J=Z[Y];Z:{var G=void 0,z=J.event;if(J=J.listeners,X)for(var U=J.length-1;0<=U;U--){var B=J[U],F=B.instance,T=B.currentTarget;if(B=B.listener,F!==G&&z.isPropagationStopped())break Z;F!==null?UZ(F,qL,z,B,T):qL(z,B,T),G=F}else for(U=0;U<J.length;U++){if(B=J[U],F=B.instance,T=B.currentTarget,B=B.listener,F!==G&&z.isPropagationStopped())break Z;F!==null?UZ(F,qL,z,B,T):qL(z,B,T),G=F}}}}function qX(Z,X){x9.has(Z)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',Z);var Y=X[$0];Y===void 0&&(Y=X[$0]=new Set);var J=Z+"__bubble";Y.has(J)||(WN(X,Z,2,!1),Y.add(J))}function sM(Z,X,Y){x9.has(Z)&&!X&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',Z);var J=0;X&&(J|=4),WN(Y,Z,J,X)}function aM(Z){if(!Z[_A]){Z[_A]=!0,G7.forEach(function(Y){Y!=="selectionchange"&&(x9.has(Y)||sM(Y,!1,Z),sM(Y,!0,Z))});var X=Z.nodeType===9?Z:Z.ownerDocument;X===null||X[_A]||(X[_A]=!0,sM("selectionchange",!1,X))}}function WN(Z,X,Y,J){switch(cN(X)){case jQ:var G=x$;break;case LJ:G=y$;break;default:G=U0}Y=G.bind(null,X,Y,Z),G=void 0,!y0||X!=="touchstart"&&X!=="touchmove"&&X!=="wheel"||(G=!0),J?G!==void 0?Z.addEventListener(X,Y,{capture:!0,passive:G}):Z.addEventListener(X,Y,!0):G!==void 0?Z.addEventListener(X,Y,{passive:G}):Z.addEventListener(X,Y,!1)}function oM(Z,X,Y,J,G){var z=J;if((X&1)===0&&(X&2)===0&&J!==null)Z:for(;;){if(J===null)return;var U=J.tag;if(U===3||U===4){var B=J.stateNode.containerInfo;if(B===G)break;if(U===4)for(U=J.return;U!==null;){var F=U.tag;if((F===3||F===4)&&U.stateNode.containerInfo===G)return;U=U.return}for(;B!==null;){if(U=RZ(B),U===null)return;if(F=U.tag,F===5||F===6||F===26||F===27){J=z=U;continue Z}B=B.parentNode}}J=J.return}T8(function(){var T=z,x=MF(Y),y=[];Z:{var $=c7.get(Z);if($!==void 0){var c=PL,GZ=Z;switch(Z){case"keypress":if(BB(Y)===0)break Z;case"keydown":case"keyup":c=DS;break;case"focusin":GZ="focus",c=g0;break;case"focusout":GZ="blur",c=g0;break;case"beforeblur":case"afterblur":c=g0;break;case"click":if(Y.button===2)break Z;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=$7;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=OS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=ES;break;case m7:case f7:case u7:c=NS;break;case d7:c=xS;break;case"scroll":case"scrollend":c=LS;break;case"wheel":c=vS;break;case"copy":case"cut":case"paste":c=TS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=E7;break;case"toggle":case"beforetoggle":c=bS}var BZ=(X&4)!==0,PX=!BZ&&(Z==="scroll"||Z==="scrollend"),GX=BZ?$!==null?$+"Capture":null:$;BZ=[];for(var D=T,S;D!==null;){var k=D;if(S=k.stateNode,k=k.tag,k!==5&&k!==26&&k!==27||S===null||GX===null||(k=cW(D,GX),k!=null&&BZ.push(KU(D,k,S))),PX)break;D=D.return}0<BZ.length&&($=new c($,GZ,null,Y,x),y.push({event:$,listeners:BZ}))}}if((X&7)===0){Z:{if($=Z==="mouseover"||Z==="pointerover",c=Z==="mouseout"||Z==="pointerout",$&&Y!==VU&&(GZ=Y.relatedTarget||Y.fromElement)&&(RZ(GZ)||GZ[TG]))break Z;if(c||$){if($=x.window===x?x:($=x.ownerDocument)?$.defaultView||$.parentWindow:window,c){if(GZ=Y.relatedTarget||Y.toElement,c=T,GZ=GZ?RZ(GZ):null,GZ!==null&&(PX=a(GZ),BZ=GZ.tag,GZ!==PX||BZ!==5&&BZ!==27&&BZ!==6))GZ=null}else c=null,GZ=T;if(c!==GZ){if(BZ=$7,k="onMouseLeave",GX="onMouseEnter",D="mouse",Z==="pointerout"||Z==="pointerover")BZ=E7,k="onPointerLeave",GX="onPointerEnter",D="pointer";if(PX=c==null?$:uZ(c),S=GZ==null?$:uZ(GZ),$=new BZ(k,D+"leave",c,Y,x),$.target=PX,$.relatedTarget=S,k=null,RZ(x)===T&&(BZ=new BZ(GX,D+"enter",GZ,Y,x),BZ.target=S,BZ.relatedTarget=PX,k=BZ),PX=k,c&&GZ)X:{BZ=Z$,GX=c,D=GZ,S=0;for(k=GX;k;k=BZ(k))S++;k=0;for(var r=D;r;r=BZ(r))k++;for(;0<S-k;)GX=BZ(GX),S--;for(;0<k-S;)D=BZ(D),k--;for(;S--;){if(GX===D||D!==null&&GX===D.alternate){BZ=GX;break X}GX=BZ(GX),D=BZ(D)}BZ=null}else BZ=null;c!==null&&UN(y,$,c,BZ,!1),GZ!==null&&PX!==null&&UN(y,PX,GZ,BZ,!0)}}}Z:{if($=T?uZ(T):window,c=$.nodeName&&$.nodeName.toLowerCase(),c==="select"||c==="input"&&$.type==="file")var _Z=D8;else if(C8($))if(b7)_Z=KD;else{_Z=WD;var gZ=_D}else c=$.nodeName,!c||c.toLowerCase()!=="input"||$.type!=="checkbox"&&$.type!=="radio"?T&&uW(T.elementType)&&(_Z=D8):_Z=UD;if(_Z&&(_Z=_Z(Z,T))){P8(y,_Z,Y,x);break Z}gZ&&gZ(Z,$,T),Z==="focusout"&&T&&$.type==="number"&&T.memoizedProps.value!=null&&KF($,"number",$.value)}switch(gZ=T?uZ(T):window,Z){case"focusin":if(C8(gZ)||gZ.contentEditable==="true")F_=gZ,f0=T,SU=null;break;case"focusout":SU=f0=F_=null;break;case"mousedown":u0=!0;break;case"contextmenu":case"mouseup":case"dragend":u0=!1,v8(y,Y,x);break;case"selectionchange":if(uS)break;case"keydown":case"keyup":v8(y,Y,x)}var DZ;if(m0)Z:{switch(Z){case"compositionstart":var jZ="onCompositionStart";break Z;case"compositionend":jZ="onCompositionEnd";break Z;case"compositionupdate":jZ="onCompositionUpdate";break Z}jZ=void 0}else O_?R8(Z,Y)&&(jZ="onCompositionEnd"):Z==="keydown"&&Y.keyCode===k7&&(jZ="onCompositionStart");if(jZ&&(x7&&Y.locale!=="ko"&&(O_||jZ!=="onCompositionStart"?jZ==="onCompositionEnd"&&O_&&(DZ=w8()):(wG=x,v0=("value"in wG)?wG.value:wG.textContent,O_=!0)),gZ=GL(T,jZ),0<gZ.length&&(jZ=new S7(jZ,Z,null,Y,x),y.push({event:jZ,listeners:gZ}),DZ?jZ.data=DZ:(DZ=j8(Y),DZ!==null&&(jZ.data=DZ)))),DZ=mS?qD(Z,Y):GD(Z,Y))jZ=GL(T,"onBeforeInput"),0<jZ.length&&(gZ=new VS("onBeforeInput","beforeinput",null,Y,x),y.push({event:gZ,listeners:jZ}),gZ.data=DZ);eD(y,Z,T,Y,x)}_N(y,X)})}function KU(Z,X,Y){return{instance:Z,listener:X,currentTarget:Y}}function GL(Z,X){for(var Y=X+"Capture",J=[];Z!==null;){var G=Z,z=G.stateNode;if(G=G.tag,G!==5&&G!==26&&G!==27||z===null||(G=cW(Z,Y),G!=null&&J.unshift(KU(Z,G,z)),G=cW(Z,X),G!=null&&J.push(KU(Z,G,z))),Z.tag===3)return J;Z=Z.return}return[]}function Z$(Z){if(Z===null)return null;do Z=Z.return;while(Z&&Z.tag!==5&&Z.tag!==27);return Z?Z:null}function UN(Z,X,Y,J,G){for(var z=X._reactName,U=[];Y!==null&&Y!==J;){var B=Y,F=B.alternate,T=B.stateNode;if(B=B.tag,F!==null&&F===J)break;B!==5&&B!==26&&B!==27||T===null||(F=T,G?(T=cW(Y,z),T!=null&&U.unshift(KU(Y,T,F))):G||(T=cW(Y,z),T!=null&&U.push(KU(Y,T,F)))),Y=Y.return}U.length!==0&&Z.push({event:X,listeners:U})}function rM(Z,X){XD(Z,X),Z!=="input"&&Z!=="textarea"&&Z!=="select"||X==null||X.value!==null||P7||(P7=!0,Z==="select"&&X.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.",Z):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",Z));var Y={registrationNameDependencies:vz,possibleRegistrationNames:S0};uW(Z)||typeof X.is==="string"||QD(Z,X,Y),X.contentEditable&&!X.suppressContentEditableWarning&&X.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 UY(Z,X,Y,J){X!==Y&&(Y=OG(Y),OG(X)!==Y&&(J[Z]=X))}function X$(Z,X,Y){X.forEach(function(J){Y[LN(J)]=J==="style"?eM(Z):Z.getAttribute(J)})}function nJ(Z,X){X===!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.",Z,Z,Z):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",Z,typeof X)}function KN(Z,X){return Z=Z.namespaceURI===RL||Z.namespaceURI===K_?Z.ownerDocument.createElementNS(Z.namespaceURI,Z.tagName):Z.ownerDocument.createElement(Z.tagName),Z.innerHTML=X,Z.innerHTML}function OG(Z){return yY(Z)&&(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.",BQ(Z)),oX(Z)),(typeof Z==="string"?Z:""+Z).replace(BE,`
181
+ `).replace(LE,"")}function BN(Z,X){return X=OG(X),OG(Z)===X?!0:!1}function wX(Z,X,Y,J,G,z){switch(Y){case"children":if(typeof J==="string")KB(J,X,!1),X==="body"||X==="textarea"&&J===""||fW(Z,J);else if(typeof J==="number"||typeof J==="bigint")KB(""+J,X,!1),X!=="body"&&fW(Z,""+J);break;case"className":_B(Z,"class",J);break;case"tabIndex":_B(Z,"tabindex",J);break;case"dir":case"role":case"viewBox":case"width":case"height":_B(Z,Y,J);break;case"style":M8(Z,J,z);break;case"data":if(X!=="object"){_B(Z,"data",J);break}case"src":case"href":if(J===""&&(X!=="a"||Y!=="href")){Y==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',Y,Y):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',Y,Y),Z.removeAttribute(Y);break}if(J==null||typeof J==="function"||typeof J==="symbol"||typeof J==="boolean"){Z.removeAttribute(Y);break}PZ(J,Y),J=dW(""+J),Z.setAttribute(Y,J);break;case"action":case"formAction":if(J!=null&&(X==="form"?Y==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof J==="function"&&(G.encType==null&&G.method==null||KA||(KA=!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.")),G.target==null||UA||(UA=!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."))):X==="input"||X==="button"?Y==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):X!=="input"||G.type==="submit"||G.type==="image"||WA?X!=="button"||G.type==null||G.type==="submit"||WA?typeof J==="function"&&(G.name==null||KT||(KT=!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.')),G.formEncType==null&&G.formMethod==null||KA||(KA=!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.")),G.formTarget==null||UA||(UA=!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."))):(WA=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(WA=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):Y==="action"?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),typeof J==="function"){Z.setAttribute(Y,"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 z==="function"&&(Y==="formAction"?(X!=="input"&&wX(Z,X,"name",G.name,G,null),wX(Z,X,"formEncType",G.formEncType,G,null),wX(Z,X,"formMethod",G.formMethod,G,null),wX(Z,X,"formTarget",G.formTarget,G,null)):(wX(Z,X,"encType",G.encType,G,null),wX(Z,X,"method",G.method,G,null),wX(Z,X,"target",G.target,G,null)));if(J==null||typeof J==="symbol"||typeof J==="boolean"){Z.removeAttribute(Y);break}PZ(J,Y),J=dW(""+J),Z.setAttribute(Y,J);break;case"onClick":J!=null&&(typeof J!=="function"&&nJ(Y,J),Z.onclick=Nq);break;case"onScroll":J!=null&&(typeof J!=="function"&&nJ(Y,J),qX("scroll",Z));break;case"onScrollEnd":J!=null&&(typeof J!=="function"&&nJ(Y,J),qX("scrollend",Z));break;case"dangerouslySetInnerHTML":if(J!=null){if(typeof J!=="object"||!("__html"in J))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(Y=J.__html,Y!=null){if(G.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");Z.innerHTML=Y}}break;case"multiple":Z.multiple=J&&typeof J!=="function"&&typeof J!=="symbol";break;case"muted":Z.muted=J&&typeof J!=="function"&&typeof J!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(J==null||typeof J==="function"||typeof J==="boolean"||typeof J==="symbol"){Z.removeAttribute("xlink:href");break}PZ(J,Y),Y=dW(""+J),Z.setAttributeNS(tz,"xlink:href",Y);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":J!=null&&typeof J!=="function"&&typeof J!=="symbol"?(PZ(J,Y),Z.setAttribute(Y,""+J)):Z.removeAttribute(Y);break;case"inert":J!==""||BA[Y]||(BA[Y]=!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.",Y));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":J&&typeof J!=="function"&&typeof J!=="symbol"?Z.setAttribute(Y,""):Z.removeAttribute(Y);break;case"capture":case"download":J===!0?Z.setAttribute(Y,""):J!==!1&&J!=null&&typeof J!=="function"&&typeof J!=="symbol"?(PZ(J,Y),Z.setAttribute(Y,J)):Z.removeAttribute(Y);break;case"cols":case"rows":case"size":case"span":J!=null&&typeof J!=="function"&&typeof J!=="symbol"&&!isNaN(J)&&1<=J?(PZ(J,Y),Z.setAttribute(Y,J)):Z.removeAttribute(Y);break;case"rowSpan":case"start":J==null||typeof J==="function"||typeof J==="symbol"||isNaN(J)?Z.removeAttribute(Y):(PZ(J,Y),Z.setAttribute(Y,J));break;case"popover":qX("beforetoggle",Z),qX("toggle",Z),HB(Z,"popover",J);break;case"xlinkActuate":Mq(Z,tz,"xlink:actuate",J);break;case"xlinkArcrole":Mq(Z,tz,"xlink:arcrole",J);break;case"xlinkRole":Mq(Z,tz,"xlink:role",J);break;case"xlinkShow":Mq(Z,tz,"xlink:show",J);break;case"xlinkTitle":Mq(Z,tz,"xlink:title",J);break;case"xlinkType":Mq(Z,tz,"xlink:type",J);break;case"xmlBase":Mq(Z,y9,"xml:base",J);break;case"xmlLang":Mq(Z,y9,"xml:lang",J);break;case"xmlSpace":Mq(Z,y9,"xml:space",J);break;case"is":z!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),HB(Z,"is",J);break;case"innerText":case"textContent":break;case"popoverTarget":BT||J==null||typeof J!=="object"||(BT=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",J));default:!(2<Y.length)||Y[0]!=="o"&&Y[0]!=="O"||Y[1]!=="n"&&Y[1]!=="N"?(Y=N8(Y),HB(Z,Y,J)):vz.hasOwnProperty(Y)&&J!=null&&typeof J!=="function"&&nJ(Y,J)}}function tM(Z,X,Y,J,G,z){switch(Y){case"style":M8(Z,J,z);break;case"dangerouslySetInnerHTML":if(J!=null){if(typeof J!=="object"||!("__html"in J))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(Y=J.__html,Y!=null){if(G.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");Z.innerHTML=Y}}break;case"children":typeof J==="string"?fW(Z,J):(typeof J==="number"||typeof J==="bigint")&&fW(Z,""+J);break;case"onScroll":J!=null&&(typeof J!=="function"&&nJ(Y,J),qX("scroll",Z));break;case"onScrollEnd":J!=null&&(typeof J!=="function"&&nJ(Y,J),qX("scrollend",Z));break;case"onClick":J!=null&&(typeof J!=="function"&&nJ(Y,J),Z.onclick=Nq);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(vz.hasOwnProperty(Y))J!=null&&typeof J!=="function"&&nJ(Y,J);else Z:{if(Y[0]==="o"&&Y[1]==="n"&&(G=Y.endsWith("Capture"),X=Y.slice(2,G?Y.length-7:void 0),z=Z[uY]||null,z=z!=null?z[Y]:null,typeof z==="function"&&Z.removeEventListener(X,z,G),typeof J==="function")){typeof z!=="function"&&z!==null&&(Y in Z?Z[Y]=null:Z.hasAttribute(Y)&&Z.removeAttribute(Y)),Z.addEventListener(X,J,G);break Z}Y in Z?Z[Y]=J:J===!0?Z.setAttribute(Y,""):HB(Z,Y,J)}}}function RY(Z,X,Y){switch(rM(X,Y),X){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":qX("error",Z),qX("load",Z);var J=!1,G=!1,z;for(z in Y)if(Y.hasOwnProperty(z)){var U=Y[z];if(U!=null)switch(z){case"src":J=!0;break;case"srcSet":G=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:wX(Z,X,z,U,Y,null)}}G&&wX(Z,X,"srcSet",Y.srcSet,Y,null),J&&wX(Z,X,"src",Y.src,Y,null);return;case"input":qG("input",Y),qX("invalid",Z);var B=z=U=G=null,F=null,T=null;for(J in Y)if(Y.hasOwnProperty(J)){var x=Y[J];if(x!=null)switch(J){case"name":G=x;break;case"type":U=x;break;case"checked":F=x;break;case"defaultChecked":T=x;break;case"value":z=x;break;case"defaultValue":B=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:wX(Z,X,J,x,Y,null)}}Y8(Z,Y),Q8(Z,z,B,F,T,U,G,!1);return;case"select":qG("select",Y),qX("invalid",Z),J=U=z=null;for(G in Y)if(Y.hasOwnProperty(G)&&(B=Y[G],B!=null))switch(G){case"value":z=B;break;case"defaultValue":U=B;break;case"multiple":J=B;default:wX(Z,X,G,B,Y,null)}G8(Z,Y),X=z,Y=U,Z.multiple=!!J,X!=null?cH(Z,!!J,X,!1):Y!=null&&cH(Z,!!J,Y,!0);return;case"textarea":qG("textarea",Y),qX("invalid",Z),z=G=J=null;for(U in Y)if(Y.hasOwnProperty(U)&&(B=Y[U],B!=null))switch(U){case"value":J=B;break;case"defaultValue":G=B;break;case"children":z=B;break;case"dangerouslySetInnerHTML":if(B!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:wX(Z,X,U,B,Y,null)}z8(Z,Y),_8(Z,J,G,z);return;case"option":J8(Z,Y);for(F in Y)if(Y.hasOwnProperty(F)&&(J=Y[F],J!=null))switch(F){case"selected":Z.selected=J&&typeof J!=="function"&&typeof J!=="symbol";break;default:wX(Z,X,F,J,Y,null)}return;case"dialog":qX("beforetoggle",Z),qX("toggle",Z),qX("cancel",Z),qX("close",Z);break;case"iframe":case"object":qX("load",Z);break;case"video":case"audio":for(J=0;J<GK.length;J++)qX(GK[J],Z);break;case"image":qX("error",Z),qX("load",Z);break;case"details":qX("toggle",Z);break;case"embed":case"source":case"link":qX("error",Z),qX("load",Z);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(T in Y)if(Y.hasOwnProperty(T)&&(J=Y[T],J!=null))switch(T){case"children":case"dangerouslySetInnerHTML":throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:wX(Z,X,T,J,Y,null)}return;default:if(uW(X)){for(x in Y)Y.hasOwnProperty(x)&&(J=Y[x],J!==void 0&&tM(Z,X,x,J,Y,void 0));return}}for(B in Y)Y.hasOwnProperty(B)&&(J=Y[B],J!=null&&wX(Z,X,B,J,Y,null))}function Y$(Z,X,Y,J){switch(rM(X,J),X){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var G=null,z=null,U=null,B=null,F=null,T=null,x=null;for(c in Y){var y=Y[c];if(Y.hasOwnProperty(c)&&y!=null)switch(c){case"checked":break;case"value":break;case"defaultValue":F=y;default:J.hasOwnProperty(c)||wX(Z,X,c,null,J,y)}}for(var $ in J){var c=J[$];if(y=Y[$],J.hasOwnProperty($)&&(c!=null||y!=null))switch($){case"type":z=c;break;case"name":G=c;break;case"checked":T=c;break;case"defaultChecked":x=c;break;case"value":U=c;break;case"defaultValue":B=c;break;case"children":case"dangerouslySetInnerHTML":if(c!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:c!==y&&wX(Z,X,$,c,J,y)}}X=Y.type==="checkbox"||Y.type==="radio"?Y.checked!=null:Y.value!=null,J=J.type==="checkbox"||J.type==="radio"?J.checked!=null:J.value!=null,X||!J||UT||(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"),UT=!0),!X||J||WT||(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"),WT=!0),UF(Z,U,B,F,T,x,z,G);return;case"select":c=U=B=$=null;for(z in Y)if(F=Y[z],Y.hasOwnProperty(z)&&F!=null)switch(z){case"value":break;case"multiple":c=F;default:J.hasOwnProperty(z)||wX(Z,X,z,null,J,F)}for(G in J)if(z=J[G],F=Y[G],J.hasOwnProperty(G)&&(z!=null||F!=null))switch(G){case"value":$=z;break;case"defaultValue":B=z;break;case"multiple":U=z;default:z!==F&&wX(Z,X,G,z,J,F)}J=B,X=U,Y=c,$!=null?cH(Z,!!X,$,!1):!!Y!==!!X&&(J!=null?cH(Z,!!X,J,!0):cH(Z,!!X,X?[]:"",!1));return;case"textarea":c=$=null;for(B in Y)if(G=Y[B],Y.hasOwnProperty(B)&&G!=null&&!J.hasOwnProperty(B))switch(B){case"value":break;case"children":break;default:wX(Z,X,B,null,J,G)}for(U in J)if(G=J[U],z=Y[U],J.hasOwnProperty(U)&&(G!=null||z!=null))switch(U){case"value":$=G;break;case"defaultValue":c=G;break;case"children":break;case"dangerouslySetInnerHTML":if(G!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:G!==z&&wX(Z,X,U,G,J,z)}H8(Z,$,c);return;case"option":for(var GZ in Y)if($=Y[GZ],Y.hasOwnProperty(GZ)&&$!=null&&!J.hasOwnProperty(GZ))switch(GZ){case"selected":Z.selected=!1;break;default:wX(Z,X,GZ,null,J,$)}for(F in J)if($=J[F],c=Y[F],J.hasOwnProperty(F)&&$!==c&&($!=null||c!=null))switch(F){case"selected":Z.selected=$&&typeof $!=="function"&&typeof $!=="symbol";break;default:wX(Z,X,F,$,J,c)}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 BZ in Y)$=Y[BZ],Y.hasOwnProperty(BZ)&&$!=null&&!J.hasOwnProperty(BZ)&&wX(Z,X,BZ,null,J,$);for(T in J)if($=J[T],c=Y[T],J.hasOwnProperty(T)&&$!==c&&($!=null||c!=null))switch(T){case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:wX(Z,X,T,$,J,c)}return;default:if(uW(X)){for(var PX in Y)$=Y[PX],Y.hasOwnProperty(PX)&&$!==void 0&&!J.hasOwnProperty(PX)&&tM(Z,X,PX,void 0,J,$);for(x in J)$=J[x],c=Y[x],!J.hasOwnProperty(x)||$===c||$===void 0&&c===void 0||tM(Z,X,x,$,J,c);return}}for(var GX in Y)$=Y[GX],Y.hasOwnProperty(GX)&&$!=null&&!J.hasOwnProperty(GX)&&wX(Z,X,GX,null,J,$);for(y in J)$=J[y],c=Y[y],!J.hasOwnProperty(y)||$===c||$==null&&c==null||wX(Z,X,y,$,J,c)}function LN(Z){switch(Z){case"class":return"className";case"for":return"htmlFor";default:return Z}}function eM(Z){var X={};Z=Z.style;for(var Y=0;Y<Z.length;Y++){var J=Z[Y];X[J]=Z.getPropertyValue(J)}return X}function AN(Z,X,Y){if(X!=null&&typeof X!=="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 J,G=J="",z;for(z in X)if(X.hasOwnProperty(z)){var U=X[z];U!=null&&typeof U!=="boolean"&&U!==""&&(z.indexOf("--")===0?(Fq(U,z),J+=G+z+":"+(""+U).trim()):typeof U!=="number"||U===0||j7.has(z)?(Fq(U,z),J+=G+z.replace(I7,"-$1").toLowerCase().replace(T7,"-ms-")+":"+(""+U).trim()):J+=G+z.replace(I7,"-$1").toLowerCase().replace(T7,"-ms-")+":"+U+"px",G=";")}J=J||null,X=Z.getAttribute("style"),X!==J&&(J=OG(J),OG(X)!==J&&(Y.style=eM(Z)))}}function uQ(Z,X,Y,J,G,z){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null)switch(typeof J){case"undefined":case"function":case"symbol":case"boolean":return}else if(J!=null)switch(typeof J){case"function":case"symbol":case"boolean":break;default:if(PZ(J,X),Z===""+J)return}UY(X,Z,J,z)}function ON(Z,X,Y,J,G,z){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null){switch(typeof J){case"function":case"symbol":return}if(!J)return}else switch(typeof J){case"function":case"symbol":break;default:if(J)return}UY(X,Z,J,z)}function Z0(Z,X,Y,J,G,z){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null)switch(typeof J){case"undefined":case"function":case"symbol":return}else if(J!=null)switch(typeof J){case"function":case"symbol":break;default:if(PZ(J,Y),Z===""+J)return}UY(X,Z,J,z)}function FN(Z,X,Y,J,G,z){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null)switch(typeof J){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(J))return}else if(J!=null)switch(typeof J){case"function":case"symbol":case"boolean":break;default:if(!isNaN(J)&&(PZ(J,X),Z===""+J))return}UY(X,Z,J,z)}function X0(Z,X,Y,J,G,z){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null)switch(typeof J){case"undefined":case"function":case"symbol":case"boolean":return}else if(J!=null)switch(typeof J){case"function":case"symbol":case"boolean":break;default:if(PZ(J,X),Y=dW(""+J),Z===Y)return}UY(X,Z,J,z)}function MN(Z,X,Y,J){for(var G={},z=new Set,U=Z.attributes,B=0;B<U.length;B++)switch(U[B].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:z.add(U[B].name)}if(uW(X)){for(var F in Y)if(Y.hasOwnProperty(F)){var T=Y[F];if(T!=null){if(vz.hasOwnProperty(F))typeof T!=="function"&&nJ(F,T);else if(Y.suppressHydrationWarning!==!0)switch(F){case"children":typeof T!=="string"&&typeof T!=="number"||UY("children",Z.textContent,T,G);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":U=Z.innerHTML,T=T?T.__html:void 0,T!=null&&(T=KN(Z,T),UY(F,U,T,G));continue;case"style":z.delete(F),AN(Z,T,G);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":z.delete(F.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",F);continue;case"className":z.delete("class"),U=e5(Z,"class",T),UY("className",U,T,G);continue;default:J.context===uq&&X!=="svg"&&X!=="math"?z.delete(F.toLowerCase()):z.delete(F),U=e5(Z,F,T),UY(F,U,T,G)}}}}else for(T in Y)if(Y.hasOwnProperty(T)&&(F=Y[T],F!=null)){if(vz.hasOwnProperty(T))typeof F!=="function"&&nJ(T,F);else if(Y.suppressHydrationWarning!==!0)switch(T){case"children":typeof F!=="string"&&typeof F!=="number"||UY("children",Z.textContent,F,G);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":U=Z.innerHTML,F=F?F.__html:void 0,F!=null&&(F=KN(Z,F),U!==F&&(G[T]={__html:U}));continue;case"className":uQ(Z,T,"class",F,z,G);continue;case"tabIndex":uQ(Z,T,"tabindex",F,z,G);continue;case"style":z.delete(T),AN(Z,F,G);continue;case"multiple":z.delete(T),UY(T,Z.multiple,F,G);continue;case"muted":z.delete(T),UY(T,Z.muted,F,G);continue;case"autoFocus":z.delete("autofocus"),UY(T,Z.autofocus,F,G);continue;case"data":if(X!=="object"){z.delete(T),U=Z.getAttribute("data"),UY(T,U,F,G);continue}case"src":case"href":if(!(F!==""||X==="a"&&T==="href"||X==="object"&&T==="data")){T==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',T,T):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',T,T);continue}X0(Z,T,T,F,z,G);continue;case"action":case"formAction":if(U=Z.getAttribute(T),typeof F==="function"){z.delete(T.toLowerCase()),T==="formAction"?(z.delete("name"),z.delete("formenctype"),z.delete("formmethod"),z.delete("formtarget")):(z.delete("enctype"),z.delete("method"),z.delete("target"));continue}else if(U===AE){z.delete(T.toLowerCase()),UY(T,"function",F,G);continue}X0(Z,T,T.toLowerCase(),F,z,G);continue;case"xlinkHref":X0(Z,T,"xlink:href",F,z,G);continue;case"contentEditable":Z0(Z,T,"contenteditable",F,z,G);continue;case"spellCheck":Z0(Z,T,"spellcheck",F,z,G);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Z0(Z,T,T,F,z,G);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":ON(Z,T,T.toLowerCase(),F,z,G);continue;case"capture":case"download":Z:{B=Z;var x=U=T,y=G;if(z.delete(x),B=B.getAttribute(x),B===null)switch(typeof F){case"undefined":case"function":case"symbol":break Z;default:if(F===!1)break Z}else if(F!=null)switch(typeof F){case"function":case"symbol":break;case"boolean":if(F===!0&&B==="")break Z;break;default:if(PZ(F,U),B===""+F)break Z}UY(U,B,F,y)}continue;case"cols":case"rows":case"size":case"span":Z:{if(B=Z,x=U=T,y=G,z.delete(x),B=B.getAttribute(x),B===null)switch(typeof F){case"undefined":case"function":case"symbol":case"boolean":break Z;default:if(isNaN(F)||1>F)break Z}else if(F!=null)switch(typeof F){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(F)||1>F)&&(PZ(F,U),B===""+F))break Z}UY(U,B,F,y)}continue;case"rowSpan":FN(Z,T,"rowspan",F,z,G);continue;case"start":FN(Z,T,T,F,z,G);continue;case"xHeight":uQ(Z,T,"x-height",F,z,G);continue;case"xlinkActuate":uQ(Z,T,"xlink:actuate",F,z,G);continue;case"xlinkArcrole":uQ(Z,T,"xlink:arcrole",F,z,G);continue;case"xlinkRole":uQ(Z,T,"xlink:role",F,z,G);continue;case"xlinkShow":uQ(Z,T,"xlink:show",F,z,G);continue;case"xlinkTitle":uQ(Z,T,"xlink:title",F,z,G);continue;case"xlinkType":uQ(Z,T,"xlink:type",F,z,G);continue;case"xmlBase":uQ(Z,T,"xml:base",F,z,G);continue;case"xmlLang":uQ(Z,T,"xml:lang",F,z,G);continue;case"xmlSpace":uQ(Z,T,"xml:space",F,z,G);continue;case"inert":F!==""||BA[T]||(BA[T]=!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.",T)),ON(Z,T,T,F,z,G);continue;default:if(!(2<T.length)||T[0]!=="o"&&T[0]!=="O"||T[1]!=="n"&&T[1]!=="N"){B=N8(T),U=!1,J.context===uq&&X!=="svg"&&X!=="math"?z.delete(B.toLowerCase()):(x=T.toLowerCase(),x=jL.hasOwnProperty(x)?jL[x]||null:null,x!==null&&x!==T&&(U=!0,z.delete(x)),z.delete(B));Z:if(x=Z,y=B,B=F,bW(y))if(x.hasAttribute(y))x=x.getAttribute(y),PZ(B,y),B=x===""+B?B:x;else{switch(typeof B){case"function":case"symbol":break Z;case"boolean":if(x=y.toLowerCase().slice(0,5),x!=="data-"&&x!=="aria-")break Z}B=B===void 0?void 0:null}else B=void 0;U||UY(T,B,F,G)}}}return 0<z.size&&Y.suppressHydrationWarning!==!0&&X$(Z,z,G),Object.keys(G).length===0?null:G}function Q$(Z,X){switch(Z.length){case 0:return"";case 1:return Z[0];case 2:return Z[0]+" "+X+" "+Z[1];default:return Z.slice(0,-1).join(", ")+", "+X+" "+Z[Z.length-1]}}function NN(Z){switch(Z){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function J$(){if(typeof performance.getEntriesByType==="function"){for(var Z=0,X=0,Y=performance.getEntriesByType("resource"),J=0;J<Y.length;J++){var G=Y[J],z=G.transferSize,U=G.initiatorType,B=G.duration;if(z&&B&&NN(U)){U=0,B=G.responseEnd;for(J+=1;J<Y.length;J++){var F=Y[J],T=F.startTime;if(T>B)break;var{transferSize:x,initiatorType:y}=F;x&&NN(y)&&(F=F.responseEnd,U+=x*(F<B?1:(B-T)/(F-T)))}if(--J,X+=8*(z+U)/(G.duration/1000),Z++,10<Z)break}}if(0<Z)return X/Z/1e6}return navigator.connection&&(Z=navigator.connection.downlink,typeof Z==="number")?Z:5}function zL(Z){return Z.nodeType===9?Z:Z.ownerDocument}function IN(Z){switch(Z){case K_:return d_;case RL:return AA;default:return uq}}function TN(Z,X){if(Z===uq)switch(X){case"svg":return d_;case"math":return AA;default:return uq}return Z===d_&&X==="foreignObject"?uq:Z}function Y0(Z,X){return Z==="textarea"||Z==="noscript"||typeof X.children==="string"||typeof X.children==="number"||typeof X.children==="bigint"||typeof X.dangerouslySetInnerHTML==="object"&&X.dangerouslySetInnerHTML!==null&&X.dangerouslySetInnerHTML.__html!=null}function q$(){var Z=window.event;if(Z&&Z.type==="popstate"){if(Z===g9)return!1;return g9=Z,!0}return g9=null,!1}function BU(){var Z=window.event;return Z&&Z!==_K?Z.type:null}function LU(){var Z=window.event;return Z&&Z!==_K?Z.timeStamp:-1.1}function G$(Z){setTimeout(function(){throw Z})}function z$(Z,X,Y){switch(X){case"button":case"input":case"select":case"textarea":Y.autoFocus&&Z.focus();break;case"img":Y.src?Z.src=Y.src:Y.srcSet&&(Z.srcset=Y.srcSet)}}function H$(){}function _$(Z,X,Y,J){Y$(Z,X,Y,J),Z[uY]=J}function wN(Z){fW(Z,"")}function W$(Z,X,Y){Z.nodeValue=Y}function VN(Z){if(!Z.__reactWarnedAboutChildrenConflict){var X=Z[uY]||null;if(X!==null){var Y=fZ(Z);Y!==null&&(typeof X.children==="string"||typeof X.children==="number"?(Z.__reactWarnedAboutChildrenConflict=!0,UZ(Y,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.')})):X.dangerouslySetInnerHTML!=null&&(Z.__reactWarnedAboutChildrenConflict=!0,UZ(Y,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 FG(Z){return Z==="head"}function U$(Z,X){Z.removeChild(X)}function K$(Z,X){(Z.nodeType===9?Z.body:Z.nodeName==="HTML"?Z.ownerDocument.body:Z).removeChild(X)}function RN(Z,X){var Y=X,J=0;do{var G=Y.nextSibling;if(Z.removeChild(Y),G&&G.nodeType===8)if(Y=G.data,Y===HK||Y===LA){if(J===0){Z.removeChild(G),G_(X);return}J--}else if(Y===zK||Y===uG||Y===ZH||Y===u_||Y===ez)J++;else if(Y===FE)AU(Z.ownerDocument.documentElement);else if(Y===NE){Y=Z.ownerDocument.head,AU(Y);for(var z=Y.firstChild;z;){var{nextSibling:U,nodeName:B}=z;z[wU]||B==="SCRIPT"||B==="STYLE"||B==="LINK"&&z.rel.toLowerCase()==="stylesheet"||Y.removeChild(z),z=U}}else Y===ME&&AU(Z.ownerDocument.body);Y=G}while(Y);G_(X)}function jN(Z,X){var Y=Z;Z=0;do{var J=Y.nextSibling;if(Y.nodeType===1?X?(Y._stashedDisplay=Y.style.display,Y.style.display="none"):(Y.style.display=Y._stashedDisplay||"",Y.getAttribute("style")===""&&Y.removeAttribute("style")):Y.nodeType===3&&(X?(Y._stashedText=Y.nodeValue,Y.nodeValue=""):Y.nodeValue=Y._stashedText||""),J&&J.nodeType===8)if(Y=J.data,Y===HK)if(Z===0)break;else Z--;else Y!==zK&&Y!==uG&&Y!==ZH&&Y!==u_||Z++;Y=J}while(Y)}function B$(Z){jN(Z,!0)}function L$(Z){Z=Z.style,typeof Z.setProperty==="function"?Z.setProperty("display","none","important"):Z.display="none"}function A$(Z){Z.nodeValue=""}function O$(Z){jN(Z,!1)}function F$(Z,X){X=X[IE],X=X!==void 0&&X!==null&&X.hasOwnProperty("display")?X.display:null,Z.style.display=X==null||typeof X==="boolean"?"":(""+X).trim()}function M$(Z,X){Z.nodeValue=X}function Q0(Z){var X=Z.firstChild;X&&X.nodeType===10&&(X=X.nextSibling);for(;X;){var Y=X;switch(X=X.nextSibling,Y.nodeName){case"HTML":case"HEAD":case"BODY":Q0(Y),HZ(Y);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(Y.rel.toLowerCase()==="stylesheet")continue}Z.removeChild(Y)}}function N$(Z,X,Y,J){for(;Z.nodeType===1;){var G=Y;if(Z.nodeName.toLowerCase()!==X.toLowerCase()){if(!J&&(Z.nodeName!=="INPUT"||Z.type!=="hidden"))break}else if(!J)if(X==="input"&&Z.type==="hidden"){PZ(G.name,"name");var z=G.name==null?null:""+G.name;if(G.type==="hidden"&&Z.getAttribute("name")===z)return Z}else return Z;else if(!Z[wU])switch(X){case"meta":if(!Z.hasAttribute("itemprop"))break;return Z;case"link":if(z=Z.getAttribute("rel"),z==="stylesheet"&&Z.hasAttribute("data-precedence"))break;else if(z!==G.rel||Z.getAttribute("href")!==(G.href==null||G.href===""?null:G.href)||Z.getAttribute("crossorigin")!==(G.crossOrigin==null?null:G.crossOrigin)||Z.getAttribute("title")!==(G.title==null?null:G.title))break;return Z;case"style":if(Z.hasAttribute("data-precedence"))break;return Z;case"script":if(z=Z.getAttribute("src"),(z!==(G.src==null?null:G.src)||Z.getAttribute("type")!==(G.type==null?null:G.type)||Z.getAttribute("crossorigin")!==(G.crossOrigin==null?null:G.crossOrigin))&&z&&Z.hasAttribute("async")&&!Z.hasAttribute("itemprop"))break;return Z;default:return Z}if(Z=wQ(Z.nextSibling),Z===null)break}return null}function I$(Z,X,Y){if(X==="")return null;for(;Z.nodeType!==3;){if((Z.nodeType!==1||Z.nodeName!=="INPUT"||Z.type!=="hidden")&&!Y)return null;if(Z=wQ(Z.nextSibling),Z===null)return null}return Z}function CN(Z,X){for(;Z.nodeType!==8;){if((Z.nodeType!==1||Z.nodeName!=="INPUT"||Z.type!=="hidden")&&!X)return null;if(Z=wQ(Z.nextSibling),Z===null)return null}return Z}function J0(Z){return Z.data===uG||Z.data===ZH}function q0(Z){return Z.data===u_||Z.data===uG&&Z.ownerDocument.readyState!==AT}function T$(Z,X){var Y=Z.ownerDocument;if(Z.data===ZH)Z._reactRetry=X;else if(Z.data!==uG||Y.readyState!==AT)X();else{var J=function(){X(),Y.removeEventListener("DOMContentLoaded",J)};Y.addEventListener("DOMContentLoaded",J),Z._reactRetry=J}}function wQ(Z){for(;Z!=null;Z=Z.nextSibling){var X=Z.nodeType;if(X===1||X===3)break;if(X===8){if(X=Z.data,X===zK||X===u_||X===uG||X===ZH||X===ez||X===v9||X===LT)break;if(X===HK||X===LA)return null}}return Z}function PN(Z){if(Z.nodeType===1){for(var X=Z.nodeName.toLowerCase(),Y={},J=Z.attributes,G=0;G<J.length;G++){var z=J[G];Y[LN(z.name)]=z.name.toLowerCase()==="style"?eM(Z):z.value}return{type:X,props:Y}}return Z.nodeType===8?Z.data===ez?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:Z.nodeValue}function DN(Z,X,Y){return Y===null||Y[OE]!==!0?(Z.nodeValue===X?Z=null:(X=OG(X),Z=OG(Z.nodeValue)===X?null:Z.nodeValue),Z):null}function G0(Z){Z=Z.nextSibling;for(var X=0;Z;){if(Z.nodeType===8){var Y=Z.data;if(Y===HK||Y===LA){if(X===0)return wQ(Z.nextSibling);X--}else Y!==zK&&Y!==u_&&Y!==uG&&Y!==ZH&&Y!==ez||X++}Z=Z.nextSibling}return null}function $N(Z){Z=Z.previousSibling;for(var X=0;Z;){if(Z.nodeType===8){var Y=Z.data;if(Y===zK||Y===u_||Y===uG||Y===ZH||Y===ez){if(X===0)return Z;X--}else Y!==HK&&Y!==LA||X++}Z=Z.previousSibling}return null}function w$(Z){G_(Z)}function V$(Z){G_(Z)}function R$(Z){G_(Z)}function SN(Z,X,Y,J,G){switch(G&&FF(Z,J.ancestorInfo),X=zL(Y),Z){case"html":if(Z=X.documentElement,!Z)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 Z;case"head":if(Z=X.head,!Z)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 Z;case"body":if(Z=X.body,!Z)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 Z;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function j$(Z,X,Y,J){if(!Y[TG]&&fZ(Y)){var G=Y.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.",G,G,G)}switch(Z){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(G=Y.attributes;G.length;)Y.removeAttributeNode(G[0]);RY(Y,Z,X),Y[jY]=J,Y[uY]=X}function AU(Z){for(var X=Z.attributes;X.length;)Z.removeAttributeNode(X[0]);HZ(Z)}function HL(Z){return typeof Z.getRootNode==="function"?Z.getRootNode():Z.nodeType===9?Z:Z.ownerDocument}function EN(Z,X,Y){var J=c_;if(J&&typeof X==="string"&&X){var G=fQ(X);G='link[rel="'+Z+'"][href="'+G+'"]',typeof Y==="string"&&(G+='[crossorigin="'+Y+'"]'),TT.has(G)||(TT.add(G),Z={rel:Z,crossOrigin:Y,href:X},J.querySelector(G)===null&&(X=J.createElement("link"),RY(X,"link",Z),SZ(X),J.head.appendChild(X)))}}function kN(Z,X,Y,J){var G=(G=NG.current)?HL(G):null;if(!G)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(Z){case"meta":case"title":return null;case"style":return typeof Y.precedence==="string"&&typeof Y.href==="string"?(Y=J_(Y.href),X=WX(G).hoistableStyles,J=X.get(Y),J||(J={type:"style",instance:null,count:0,state:null},X.set(Y,J)),J):{type:"void",instance:null,count:0,state:null};case"link":if(Y.rel==="stylesheet"&&typeof Y.href==="string"&&typeof Y.precedence==="string"){Z=J_(Y.href);var z=WX(G).hoistableStyles,U=z.get(Z);if(!U&&(G=G.ownerDocument||G,U={type:"stylesheet",instance:null,count:0,state:{loading:YH,preload:null}},z.set(Z,U),(z=G.querySelector(OU(Z)))&&!z._p&&(U.instance=z,U.state.loading=WK|tQ),!eQ.has(Z))){var B={rel:"preload",as:"style",href:Y.href,crossOrigin:Y.crossOrigin,integrity:Y.integrity,media:Y.media,hrefLang:Y.hrefLang,referrerPolicy:Y.referrerPolicy};eQ.set(Z,B),z||C$(G,Z,B,U.state)}if(X&&J===null)throw Y=`
182
182
 
183
183
  - `+_L(X)+`
184
184
  + `+_L(Y),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."+Y);return U}if(X&&J!==null)throw Y=`
185
185
 
186
186
  - `+_L(X)+`
187
- + `+_L(Y),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."+Y);return null;case"script":return X=Y.async,Y=Y.src,typeof Y==="string"&&X&&typeof X!=="function"&&typeof X!=="symbol"?(Y=q_(Y),X=WX(G).hoistableScripts,J=X.get(Y),J||(J={type:"script",instance:null,count:0,state:null},X.set(Y,J)),J):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+Z+'". this is a bug in React.')}}function _L(Z){var X=0,Y="<link";return typeof Z.rel==="string"?(X++,Y+=' rel="'+Z.rel+'"'):BJ.call(Z,"rel")&&(X++,Y+=' rel="'+(Z.rel===null?"null":"invalid type "+typeof Z.rel)+'"'),typeof Z.href==="string"?(X++,Y+=' href="'+Z.href+'"'):BJ.call(Z,"href")&&(X++,Y+=' href="'+(Z.href===null?"null":"invalid type "+typeof Z.href)+'"'),typeof Z.precedence==="string"?(X++,Y+=' precedence="'+Z.precedence+'"'):BJ.call(Z,"precedence")&&(X++,Y+=" precedence={"+(Z.precedence===null?"null":"invalid type "+typeof Z.precedence)+"}"),Object.getOwnPropertyNames(Z).length>X&&(Y+=" ..."),Y+" />"}function J_(Z){return'href="'+fQ(Z)+'"'}function OU(Z){return'link[rel="stylesheet"]['+Z+"]"}function xN(Z){return rZ({},Z,{"data-precedence":Z.precedence,precedence:null})}function C$(Z,X,Y,J){Z.querySelector('link[rel="preload"][as="style"]['+X+"]")?J.loading=WK:(X=Z.createElement("link"),J.preload=X,X.addEventListener("load",function(){return J.loading|=WK}),X.addEventListener("error",function(){return J.loading|=NT}),VY(X,"link",Y),SZ(X),Z.head.appendChild(X))}function q_(Z){return'[src="'+fQ(Z)+'"]'}function FU(Z){return"script[async]"+Z}function yN(Z,X,Y){if(X.count++,X.instance===null)switch(X.type){case"style":var J=Z.querySelector('style[data-href~="'+fQ(Y.href)+'"]');if(J)return X.instance=J,SZ(J),J;var G=rZ({},Y,{"data-href":Y.href,"data-precedence":Y.precedence,href:null,precedence:null});return J=(Z.ownerDocument||Z).createElement("style"),SZ(J),VY(J,"style",G),WL(J,Y.precedence,Z),X.instance=J;case"stylesheet":G=J_(Y.href);var H=Z.querySelector(OU(G));if(H)return X.state.loading|=tQ,X.instance=H,SZ(H),H;J=xN(Y),(G=eQ.get(G))&&H0(J,G),H=(Z.ownerDocument||Z).createElement("link"),SZ(H);var U=H;return U._p=new Promise(function(B,F){U.onload=B,U.onerror=F}),VY(H,"link",J),X.state.loading|=tQ,WL(H,Y.precedence,Z),X.instance=H;case"script":if(H=q_(Y.src),G=Z.querySelector(FU(H)))return X.instance=G,SZ(G),G;if(J=Y,G=eQ.get(H))J=rZ({},Y),z0(J,G);return Z=Z.ownerDocument||Z,G=Z.createElement("script"),SZ(G),VY(G,"link",J),Z.head.appendChild(G),X.instance=G;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+X.type+'". this is a bug in React.')}else X.type==="stylesheet"&&(X.state.loading&tQ)===Yz&&(J=X.instance,X.state.loading|=tQ,WL(J,Y.precedence,Z));return X.instance}function WL(Z,X,Y){for(var J=Y.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),G=J.length?J[J.length-1]:null,H=G,U=0;U<J.length;U++){var B=J[U];if(B.dataset.precedence===X)H=B;else if(H!==G)break}H?H.parentNode.insertBefore(Z,H.nextSibling):(X=Y.nodeType===9?Y.head:Y,X.insertBefore(Z,X.firstChild))}function H0(Z,X){Z.crossOrigin==null&&(Z.crossOrigin=X.crossOrigin),Z.referrerPolicy==null&&(Z.referrerPolicy=X.referrerPolicy),Z.title==null&&(Z.title=X.title)}function z0(Z,X){Z.crossOrigin==null&&(Z.crossOrigin=X.crossOrigin),Z.referrerPolicy==null&&(Z.referrerPolicy=X.referrerPolicy),Z.integrity==null&&(Z.integrity=X.integrity)}function vN(Z,X,Y){if(OA===null){var J=new Map,G=OA=new Map;G.set(Y,J)}else G=OA,J=G.get(Y),J||(J=new Map,G.set(Y,J));if(J.has(Z))return J;J.set(Z,null),Y=Y.getElementsByTagName(Z);for(G=0;G<Y.length;G++){var H=Y[G];if(!(H[wU]||H[RY]||Z==="link"&&H.getAttribute("rel")==="stylesheet")&&H.namespaceURI!==K_){var U=H.getAttribute(X)||"";U=Z+U;var B=J.get(U);B?B.push(H):J.set(U,[H])}}return J}function hN(Z,X,Y){Z=Z.ownerDocument||Z,Z.head.insertBefore(Y,X==="title"?Z.querySelector("head > title"):null)}function P$(Z,X,Y){var J=!Y.ancestorInfo.containerTagInScope;if(Y.context===d_||X.itemProp!=null)return!J||X.itemProp==null||Z!=="meta"&&Z!=="title"&&Z!=="style"&&Z!=="link"&&Z!=="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.",Z,Z),!1;switch(Z){case"meta":case"title":return!0;case"style":if(typeof X.precedence!=="string"||typeof X.href!=="string"||X.href===""){J&&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 X.rel!=="string"||typeof X.href!=="string"||X.href===""||X.onLoad||X.onError){if(X.rel==="stylesheet"&&typeof X.precedence==="string"){Z=X.href;var{onError:G,disabled:H}=X;Y=[],X.onLoad&&Y.push("`onLoad`"),G&&Y.push("`onError`"),H!=null&&Y.push("`disabled`"),G=Q$(Y,"and"),G+=Y.length===1?" prop":" props",H=Y.length===1?"an "+G:"the "+G,Y.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.',Z,H,G)}J&&(typeof X.rel!=="string"||typeof X.href!=="string"||X.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"):(X.onError||X.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(X.rel){case"stylesheet":return Z=X.precedence,X=X.disabled,typeof Z!=="string"&&J&&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 Z==="string"&&X==null;default:return!0}case"script":if(Z=X.async&&typeof X.async!=="function"&&typeof X.async!=="symbol",!Z||X.onLoad||X.onError||!X.src||typeof X.src!=="string"){J&&(Z?X.onLoad||X.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":J&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",Z)}return!1}function bN(Z){return Z.type==="stylesheet"&&(Z.state.loading&IT)===Yz?!1:!0}function D$(Z,X,Y,J){if(Y.type==="stylesheet"&&(typeof J.media!=="string"||matchMedia(J.media).matches!==!1)&&(Y.state.loading&tQ)===Yz){if(Y.instance===null){var G=J_(J.href),H=X.querySelector(OU(G));if(H){X=H._p,X!==null&&typeof X==="object"&&typeof X.then==="function"&&(Z.count++,Z=UL.bind(Z),X.then(Z,Z)),Y.state.loading|=tQ,Y.instance=H,SZ(H);return}H=X.ownerDocument||X,J=xN(J),(G=eQ.get(G))&&H0(J,G),H=H.createElement("link"),SZ(H);var U=H;U._p=new Promise(function(B,F){U.onload=B,U.onerror=F}),VY(H,"link",J),Y.instance=H}Z.stylesheets===null&&(Z.stylesheets=new Map),Z.stylesheets.set(Y,X),(X=Y.state.preload)&&(Y.state.loading&IT)===Yz&&(Z.count++,Y=UL.bind(Z),X.addEventListener("load",Y),X.addEventListener("error",Y))}}function $$(Z,X){return Z.stylesheets&&Z.count===0&&KL(Z,Z.stylesheets),0<Z.count||0<Z.imgCount?function(Y){var J=setTimeout(function(){if(Z.stylesheets&&KL(Z,Z.stylesheets),Z.unsuspend){var H=Z.unsuspend;Z.unsuspend=null,H()}},VE+X);0<Z.imgBytes&&f9===0&&(f9=125*J$()*jE);var G=setTimeout(function(){if(Z.waitingForImages=!1,Z.count===0&&(Z.stylesheets&&KL(Z,Z.stylesheets),Z.unsuspend)){var H=Z.unsuspend;Z.unsuspend=null,H()}},(Z.imgBytes>f9?50:RE)+X);return Z.unsuspend=Y,function(){Z.unsuspend=null,clearTimeout(J),clearTimeout(G)}}:null}function UL(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)KL(this,this.stylesheets);else if(this.unsuspend){var Z=this.unsuspend;this.unsuspend=null,Z()}}}function KL(Z,X){Z.stylesheets=null,Z.unsuspend!==null&&(Z.count++,FA=new Map,X.forEach(S$,Z),FA=null,UL.call(Z))}function S$(Z,X){if(!(X.state.loading&tQ)){var Y=FA.get(Z);if(Y)var J=Y.get(u9);else{Y=new Map,FA.set(Z,Y);for(var G=Z.querySelectorAll("link[data-precedence],style[data-precedence]"),H=0;H<G.length;H++){var U=G[H];if(U.nodeName==="LINK"||U.getAttribute("media")!=="not all")Y.set(U.dataset.precedence,U),J=U}J&&Y.set(u9,J)}G=X.instance,U=G.getAttribute("data-precedence"),H=Y.get(U)||J,H===J&&Y.set(u9,G),Y.set(U,G),this.count++,J=UL.bind(this),G.addEventListener("load",J),G.addEventListener("error",J),H?H.parentNode.insertBefore(G,H.nextSibling):(Z=Z.nodeType===9?Z.head:Z,Z.insertBefore(G,Z.firstChild)),X.state.loading|=tQ}}function E$(Z,X,Y,J,G,H,U,B,F){this.tag=1,this.containerInfo=Z,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Xz,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=dz(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=dz(0),this.hiddenUpdates=dz(null),this.identifierPrefix=J,this.onUncaughtError=G,this.onCaughtError=H,this.onRecoverableError=U,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=F,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,Z=this.pendingUpdatersLaneMap=[];for(X=0;31>X;X++)Z.push(new Set);this._debugRootType=Y?"hydrateRoot()":"createRoot()"}function gN(Z,X,Y,J,G,H,U,B,F,T,x,y){return Z=new E$(Z,X,Y,U,F,T,x,y,B),X=oS,H===!0&&(X|=gY|AJ),X|=iZ,H=R(3,null,null,X),Z.current=H,H.stateNode=Z,X=hF(),DH(X),Z.pooledCache=X,DH(X),H.memoizedState={element:J,isDehydrated:Y,cache:X},uF(H),Z}function mN(Z){if(!Z)return jG;return Z=jG,Z}function _0(Z,X,Y,J,G,H){if(bY&&typeof bY.onScheduleFiberRoot==="function")try{bY.onScheduleFiberRoot(W_,J,Y)}catch(U){rJ||(rJ=!0,console.error("React instrumentation encountered an error: %o",U))}G=mN(G),J.context===null?J.context=G:J.pendingContext=G,oJ&&RQ!==null&&!jT&&(jT=!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.
187
+ + `+_L(Y),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."+Y);return null;case"script":return X=Y.async,Y=Y.src,typeof Y==="string"&&X&&typeof X!=="function"&&typeof X!=="symbol"?(Y=q_(Y),X=WX(G).hoistableScripts,J=X.get(Y),J||(J={type:"script",instance:null,count:0,state:null},X.set(Y,J)),J):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+Z+'". this is a bug in React.')}}function _L(Z){var X=0,Y="<link";return typeof Z.rel==="string"?(X++,Y+=' rel="'+Z.rel+'"'):BJ.call(Z,"rel")&&(X++,Y+=' rel="'+(Z.rel===null?"null":"invalid type "+typeof Z.rel)+'"'),typeof Z.href==="string"?(X++,Y+=' href="'+Z.href+'"'):BJ.call(Z,"href")&&(X++,Y+=' href="'+(Z.href===null?"null":"invalid type "+typeof Z.href)+'"'),typeof Z.precedence==="string"?(X++,Y+=' precedence="'+Z.precedence+'"'):BJ.call(Z,"precedence")&&(X++,Y+=" precedence={"+(Z.precedence===null?"null":"invalid type "+typeof Z.precedence)+"}"),Object.getOwnPropertyNames(Z).length>X&&(Y+=" ..."),Y+" />"}function J_(Z){return'href="'+fQ(Z)+'"'}function OU(Z){return'link[rel="stylesheet"]['+Z+"]"}function xN(Z){return rZ({},Z,{"data-precedence":Z.precedence,precedence:null})}function C$(Z,X,Y,J){Z.querySelector('link[rel="preload"][as="style"]['+X+"]")?J.loading=WK:(X=Z.createElement("link"),J.preload=X,X.addEventListener("load",function(){return J.loading|=WK}),X.addEventListener("error",function(){return J.loading|=NT}),RY(X,"link",Y),SZ(X),Z.head.appendChild(X))}function q_(Z){return'[src="'+fQ(Z)+'"]'}function FU(Z){return"script[async]"+Z}function yN(Z,X,Y){if(X.count++,X.instance===null)switch(X.type){case"style":var J=Z.querySelector('style[data-href~="'+fQ(Y.href)+'"]');if(J)return X.instance=J,SZ(J),J;var G=rZ({},Y,{"data-href":Y.href,"data-precedence":Y.precedence,href:null,precedence:null});return J=(Z.ownerDocument||Z).createElement("style"),SZ(J),RY(J,"style",G),WL(J,Y.precedence,Z),X.instance=J;case"stylesheet":G=J_(Y.href);var z=Z.querySelector(OU(G));if(z)return X.state.loading|=tQ,X.instance=z,SZ(z),z;J=xN(Y),(G=eQ.get(G))&&z0(J,G),z=(Z.ownerDocument||Z).createElement("link"),SZ(z);var U=z;return U._p=new Promise(function(B,F){U.onload=B,U.onerror=F}),RY(z,"link",J),X.state.loading|=tQ,WL(z,Y.precedence,Z),X.instance=z;case"script":if(z=q_(Y.src),G=Z.querySelector(FU(z)))return X.instance=G,SZ(G),G;if(J=Y,G=eQ.get(z))J=rZ({},Y),H0(J,G);return Z=Z.ownerDocument||Z,G=Z.createElement("script"),SZ(G),RY(G,"link",J),Z.head.appendChild(G),X.instance=G;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+X.type+'". this is a bug in React.')}else X.type==="stylesheet"&&(X.state.loading&tQ)===YH&&(J=X.instance,X.state.loading|=tQ,WL(J,Y.precedence,Z));return X.instance}function WL(Z,X,Y){for(var J=Y.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),G=J.length?J[J.length-1]:null,z=G,U=0;U<J.length;U++){var B=J[U];if(B.dataset.precedence===X)z=B;else if(z!==G)break}z?z.parentNode.insertBefore(Z,z.nextSibling):(X=Y.nodeType===9?Y.head:Y,X.insertBefore(Z,X.firstChild))}function z0(Z,X){Z.crossOrigin==null&&(Z.crossOrigin=X.crossOrigin),Z.referrerPolicy==null&&(Z.referrerPolicy=X.referrerPolicy),Z.title==null&&(Z.title=X.title)}function H0(Z,X){Z.crossOrigin==null&&(Z.crossOrigin=X.crossOrigin),Z.referrerPolicy==null&&(Z.referrerPolicy=X.referrerPolicy),Z.integrity==null&&(Z.integrity=X.integrity)}function vN(Z,X,Y){if(OA===null){var J=new Map,G=OA=new Map;G.set(Y,J)}else G=OA,J=G.get(Y),J||(J=new Map,G.set(Y,J));if(J.has(Z))return J;J.set(Z,null),Y=Y.getElementsByTagName(Z);for(G=0;G<Y.length;G++){var z=Y[G];if(!(z[wU]||z[jY]||Z==="link"&&z.getAttribute("rel")==="stylesheet")&&z.namespaceURI!==K_){var U=z.getAttribute(X)||"";U=Z+U;var B=J.get(U);B?B.push(z):J.set(U,[z])}}return J}function hN(Z,X,Y){Z=Z.ownerDocument||Z,Z.head.insertBefore(Y,X==="title"?Z.querySelector("head > title"):null)}function P$(Z,X,Y){var J=!Y.ancestorInfo.containerTagInScope;if(Y.context===d_||X.itemProp!=null)return!J||X.itemProp==null||Z!=="meta"&&Z!=="title"&&Z!=="style"&&Z!=="link"&&Z!=="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.",Z,Z),!1;switch(Z){case"meta":case"title":return!0;case"style":if(typeof X.precedence!=="string"||typeof X.href!=="string"||X.href===""){J&&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 X.rel!=="string"||typeof X.href!=="string"||X.href===""||X.onLoad||X.onError){if(X.rel==="stylesheet"&&typeof X.precedence==="string"){Z=X.href;var{onError:G,disabled:z}=X;Y=[],X.onLoad&&Y.push("`onLoad`"),G&&Y.push("`onError`"),z!=null&&Y.push("`disabled`"),G=Q$(Y,"and"),G+=Y.length===1?" prop":" props",z=Y.length===1?"an "+G:"the "+G,Y.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.',Z,z,G)}J&&(typeof X.rel!=="string"||typeof X.href!=="string"||X.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"):(X.onError||X.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(X.rel){case"stylesheet":return Z=X.precedence,X=X.disabled,typeof Z!=="string"&&J&&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 Z==="string"&&X==null;default:return!0}case"script":if(Z=X.async&&typeof X.async!=="function"&&typeof X.async!=="symbol",!Z||X.onLoad||X.onError||!X.src||typeof X.src!=="string"){J&&(Z?X.onLoad||X.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":J&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",Z)}return!1}function bN(Z){return Z.type==="stylesheet"&&(Z.state.loading&IT)===YH?!1:!0}function D$(Z,X,Y,J){if(Y.type==="stylesheet"&&(typeof J.media!=="string"||matchMedia(J.media).matches!==!1)&&(Y.state.loading&tQ)===YH){if(Y.instance===null){var G=J_(J.href),z=X.querySelector(OU(G));if(z){X=z._p,X!==null&&typeof X==="object"&&typeof X.then==="function"&&(Z.count++,Z=UL.bind(Z),X.then(Z,Z)),Y.state.loading|=tQ,Y.instance=z,SZ(z);return}z=X.ownerDocument||X,J=xN(J),(G=eQ.get(G))&&z0(J,G),z=z.createElement("link"),SZ(z);var U=z;U._p=new Promise(function(B,F){U.onload=B,U.onerror=F}),RY(z,"link",J),Y.instance=z}Z.stylesheets===null&&(Z.stylesheets=new Map),Z.stylesheets.set(Y,X),(X=Y.state.preload)&&(Y.state.loading&IT)===YH&&(Z.count++,Y=UL.bind(Z),X.addEventListener("load",Y),X.addEventListener("error",Y))}}function $$(Z,X){return Z.stylesheets&&Z.count===0&&KL(Z,Z.stylesheets),0<Z.count||0<Z.imgCount?function(Y){var J=setTimeout(function(){if(Z.stylesheets&&KL(Z,Z.stylesheets),Z.unsuspend){var z=Z.unsuspend;Z.unsuspend=null,z()}},VE+X);0<Z.imgBytes&&f9===0&&(f9=125*J$()*jE);var G=setTimeout(function(){if(Z.waitingForImages=!1,Z.count===0&&(Z.stylesheets&&KL(Z,Z.stylesheets),Z.unsuspend)){var z=Z.unsuspend;Z.unsuspend=null,z()}},(Z.imgBytes>f9?50:RE)+X);return Z.unsuspend=Y,function(){Z.unsuspend=null,clearTimeout(J),clearTimeout(G)}}:null}function UL(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)KL(this,this.stylesheets);else if(this.unsuspend){var Z=this.unsuspend;this.unsuspend=null,Z()}}}function KL(Z,X){Z.stylesheets=null,Z.unsuspend!==null&&(Z.count++,FA=new Map,X.forEach(S$,Z),FA=null,UL.call(Z))}function S$(Z,X){if(!(X.state.loading&tQ)){var Y=FA.get(Z);if(Y)var J=Y.get(u9);else{Y=new Map,FA.set(Z,Y);for(var G=Z.querySelectorAll("link[data-precedence],style[data-precedence]"),z=0;z<G.length;z++){var U=G[z];if(U.nodeName==="LINK"||U.getAttribute("media")!=="not all")Y.set(U.dataset.precedence,U),J=U}J&&Y.set(u9,J)}G=X.instance,U=G.getAttribute("data-precedence"),z=Y.get(U)||J,z===J&&Y.set(u9,G),Y.set(U,G),this.count++,J=UL.bind(this),G.addEventListener("load",J),G.addEventListener("error",J),z?z.parentNode.insertBefore(G,z.nextSibling):(Z=Z.nodeType===9?Z.head:Z,Z.insertBefore(G,Z.firstChild)),X.state.loading|=tQ}}function E$(Z,X,Y,J,G,z,U,B,F){this.tag=1,this.containerInfo=Z,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=XH,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=dH(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=dH(0),this.hiddenUpdates=dH(null),this.identifierPrefix=J,this.onUncaughtError=G,this.onCaughtError=z,this.onRecoverableError=U,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=F,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,Z=this.pendingUpdatersLaneMap=[];for(X=0;31>X;X++)Z.push(new Set);this._debugRootType=Y?"hydrateRoot()":"createRoot()"}function gN(Z,X,Y,J,G,z,U,B,F,T,x,y){return Z=new E$(Z,X,Y,U,F,T,x,y,B),X=oS,z===!0&&(X|=gY|AJ),X|=iZ,z=R(3,null,null,X),Z.current=z,z.stateNode=Z,X=hF(),Dz(X),Z.pooledCache=X,Dz(X),z.memoizedState={element:J,isDehydrated:Y,cache:X},uF(z),Z}function mN(Z){if(!Z)return jG;return Z=jG,Z}function _0(Z,X,Y,J,G,z){if(bY&&typeof bY.onScheduleFiberRoot==="function")try{bY.onScheduleFiberRoot(W_,J,Y)}catch(U){rJ||(rJ=!0,console.error("React instrumentation encountered an error: %o",U))}G=mN(G),J.context===null?J.context=G:J.pendingContext=G,oJ&&RQ!==null&&!jT&&(jT=!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
188
 
189
- Check the render method of %s.`,n(RQ)||"Unknown")),J=WG(X),J.payload={element:Y},H=H===void 0?null:H,H!==null&&(typeof H!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",H),J.callback=H),Y=UG(Z,J,X),Y!==null&&(vJ(X,"root.render()",null),gX(Y,Z,X),rW(Y,Z,X))}function fN(Z,X){if(Z=Z.memoizedState,Z!==null&&Z.dehydrated!==null){var Y=Z.retryLane;Z.retryLane=Y!==0&&Y<X?Y:X}}function W0(Z,X){fN(Z,X),(Z=Z.alternate)&&fN(Z,X)}function uN(Z){if(Z.tag===13||Z.tag===31){var X=hY(Z,67108864);X!==null&&gX(X,Z,67108864),W0(Z,67108864)}}function dN(Z){if(Z.tag===13||Z.tag===31){var X=TQ(Z);X=NH(X);var Y=hY(Z,X);Y!==null&&gX(Y,Z,X),W0(Z,X)}}function k$(){return RQ}function x$(Z,X,Y,J){var G=s.T;s.T=null;var H=OX.p;try{OX.p=jQ,U0(Z,X,Y,J)}finally{OX.p=H,s.T=G}}function y$(Z,X,Y,J){var G=s.T;s.T=null;var H=OX.p;try{OX.p=LJ,U0(Z,X,Y,J)}finally{OX.p=H,s.T=G}}function U0(Z,X,Y,J){if(NA){var G=K0(J);if(G===null)oM(Z,X,J,IA,Y),pN(Z,J);else if(v$(G,Z,X,Y,J))J.stopPropagation();else if(pN(Z,J),X&4&&-1<PE.indexOf(Z)){for(;G!==null;){var H=fZ(G);if(H!==null)switch(H.tag){case 3:if(H=H.stateNode,H.current.memoizedState.isDehydrated){var U=EJ(H.pendingLanes);if(U!==0){var B=H;B.pendingLanes|=2;for(B.entangledLanes|=2;U;){var F=1<<31-fY(U);B.entanglements[1]|=F,U&=~F}iJ(H),(zX&(_Y|$Q))===AY&&(YA=KY()+eI,UU(0,!1))}}break;case 31:case 13:B=hY(H,2),B!==null&&gX(B,H,2),X_(),W0(H,2)}if(H=K0(J),H===null&&oM(Z,X,J,IA,Y),H===G)break;G=H}G!==null&&J.stopPropagation()}else oM(Z,X,J,null,Y)}}function K0(Z){return Z=MF(Z),B0(Z)}function B0(Z){if(IA=null,Z=RZ(Z),Z!==null){var X=a(Z);if(X===null)Z=null;else{var Y=X.tag;if(Y===13){if(Z=t(X),Z!==null)return Z;Z=null}else if(Y===31){if(Z=qZ(X),Z!==null)return Z;Z=null}else if(Y===3){if(X.stateNode.current.memoizedState.isDehydrated)return X.tag===3?X.stateNode.containerInfo:null;Z=null}else X!==Z&&(Z=null)}}return IA=Z,null}function cN(Z){switch(Z){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 jQ;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 LJ;case"message":switch(p$()){case C0:return jQ;case P0:return LJ;case __:case l$:return eJ;case D0:return wL;default:return eJ}default:return eJ}}function pN(Z,X){switch(Z){case"focusin":case"focusout":dG=null;break;case"dragenter":case"dragleave":cG=null;break;case"mouseover":case"mouseout":pG=null;break;case"pointerover":case"pointerout":KK.delete(X.pointerId);break;case"gotpointercapture":case"lostpointercapture":BK.delete(X.pointerId)}}function MU(Z,X,Y,J,G,H){if(Z===null||Z.nativeEvent!==H)return Z={blockedOn:X,domEventName:Y,eventSystemFlags:J,nativeEvent:H,targetContainers:[G]},X!==null&&(X=fZ(X),X!==null&&uN(X)),Z;return Z.eventSystemFlags|=J,X=Z.targetContainers,G!==null&&X.indexOf(G)===-1&&X.push(G),Z}function v$(Z,X,Y,J,G){switch(X){case"focusin":return dG=MU(dG,Z,X,Y,J,G),!0;case"dragenter":return cG=MU(cG,Z,X,Y,J,G),!0;case"mouseover":return pG=MU(pG,Z,X,Y,J,G),!0;case"pointerover":var H=G.pointerId;return KK.set(H,MU(KK.get(H)||null,Z,X,Y,J,G)),!0;case"gotpointercapture":return H=G.pointerId,BK.set(H,MU(BK.get(H)||null,Z,X,Y,J,G)),!0}return!1}function lN(Z){var X=RZ(Z.target);if(X!==null){var Y=a(X);if(Y!==null){if(X=Y.tag,X===13){if(X=t(Y),X!==null){Z.blockedOn=X,YZ(Z.priority,function(){dN(Y)});return}}else if(X===31){if(X=qZ(Y),X!==null){Z.blockedOn=X,YZ(Z.priority,function(){dN(Y)});return}}else if(X===3&&Y.stateNode.current.memoizedState.isDehydrated){Z.blockedOn=Y.tag===3?Y.stateNode.containerInfo:null;return}}}Z.blockedOn=null}function BL(Z){if(Z.blockedOn!==null)return!1;for(var X=Z.targetContainers;0<X.length;){var Y=K0(Z.nativeEvent);if(Y===null){Y=Z.nativeEvent;var J=new Y.constructor(Y.type,Y),G=J;VU!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),VU=G,Y.target.dispatchEvent(J),VU===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."),VU=null}else return X=fZ(Y),X!==null&&uN(X),Z.blockedOn=Y,!1;X.shift()}return!0}function iN(Z,X,Y){BL(Z)&&Y.delete(X)}function h$(){d9=!1,dG!==null&&BL(dG)&&(dG=null),cG!==null&&BL(cG)&&(cG=null),pG!==null&&BL(pG)&&(pG=null),KK.forEach(iN),BK.forEach(iN)}function LL(Z,X){Z.blockedOn===X&&(Z.blockedOn=null,d9||(d9=!0,UX.unstable_scheduleCallback(UX.unstable_NormalPriority,h$)))}function nN(Z){TA!==Z&&(TA=Z,UX.unstable_scheduleCallback(UX.unstable_NormalPriority,function(){TA===Z&&(TA=null);for(var X=0;X<Z.length;X+=3){var Y=Z[X],J=Z[X+1],G=Z[X+2];if(typeof J!=="function")if(B0(J||Y)===null)continue;else break;var H=fZ(Y);H!==null&&(Z.splice(X,3),X-=3,Y={pending:!0,data:G,method:Y.method,action:J},Object.freeze(Y),BM(H,Y,J,G))}}))}function G_(Z){function X(F){return LL(F,Z)}dG!==null&&LL(dG,Z),cG!==null&&LL(cG,Z),pG!==null&&LL(pG,Z),KK.forEach(X),BK.forEach(X);for(var Y=0;Y<lG.length;Y++){var J=lG[Y];J.blockedOn===Z&&(J.blockedOn=null)}for(;0<lG.length&&(Y=lG[0],Y.blockedOn===null);)lN(Y),Y.blockedOn===null&&lG.shift();if(Y=(Z.ownerDocument||Z).$$reactFormReplay,Y!=null)for(J=0;J<Y.length;J+=3){var G=Y[J],H=Y[J+1],U=G[uY]||null;if(typeof H==="function")U||nN(Y);else if(U){var B=null;if(H&&H.hasAttribute("formAction")){if(G=H,U=H[uY]||null)B=U.formAction;else if(B0(G)!==null)continue}else B=U.action;typeof B==="function"?Y[J+1]=B:(Y.splice(J,3),J-=3),nN(Y)}}}function sN(){function Z(H){H.canIntercept&&H.info==="react-transition"&&H.intercept({handler:function(){return new Promise(function(U){return G=U})},focusReset:"manual",scroll:"manual"})}function X(){G!==null&&(G(),G=null),J||setTimeout(Y,20)}function Y(){if(!J&&!navigation.transition){var H=navigation.currentEntry;H&&H.url!=null&&navigation.navigate(H.url,{state:H.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var J=!1,G=null;return navigation.addEventListener("navigate",Z),navigation.addEventListener("navigatesuccess",X),navigation.addEventListener("navigateerror",X),setTimeout(Y,100),function(){J=!0,navigation.removeEventListener("navigate",Z),navigation.removeEventListener("navigatesuccess",X),navigation.removeEventListener("navigateerror",X),G!==null&&(G(),G=null)}}}function L0(Z){this._internalRoot=Z}function AL(Z){this._internalRoot=Z}function aN(Z){Z[TG]&&(Z._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 rZ=Object.assign,b$=Symbol.for("react.element"),sJ=Symbol.for("react.transitional.element"),H_=Symbol.for("react.portal"),z_=Symbol.for("react.fragment"),OL=Symbol.for("react.strict_mode"),A0=Symbol.for("react.profiler"),O0=Symbol.for("react.consumer"),aJ=Symbol.for("react.context"),NU=Symbol.for("react.forward_ref"),F0=Symbol.for("react.suspense"),M0=Symbol.for("react.suspense_list"),FL=Symbol.for("react.memo"),VQ=Symbol.for("react.lazy"),N0=Symbol.for("react.activity"),g$=Symbol.for("react.memo_cache_sentinel"),oN=Symbol.iterator,m$=Symbol.for("react.client.reference"),HY=Array.isArray,s=o_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,OX=J3.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,f$=Object.freeze({pending:!1,data:null,method:null,action:null}),I0=[],T0=[],Pq=-1,MG=wZ(null),IU=wZ(null),NG=wZ(null),ML=wZ(null),TU=0,rN,tN,eN,Z7,X7,Y7,Q7;w.__reactDisabledLog=!0;var w0,J7,V0=!1,R0=new(typeof WeakMap==="function"?WeakMap:Map),RQ=null,oJ=!1,BJ=Object.prototype.hasOwnProperty,j0=UX.unstable_scheduleCallback,u$=UX.unstable_cancelCallback,d$=UX.unstable_shouldYield,c$=UX.unstable_requestPaint,KY=UX.unstable_now,p$=UX.unstable_getCurrentPriorityLevel,C0=UX.unstable_ImmediatePriority,P0=UX.unstable_UserBlockingPriority,__=UX.unstable_NormalPriority,l$=UX.unstable_LowPriority,D0=UX.unstable_IdlePriority,i$=UX.log,n$=UX.unstable_setDisableYieldValue,W_=null,bY=null,rJ=!1,tJ=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",fY=Math.clz32?Math.clz32:GB,s$=Math.log,a$=Math.LN2,NL=256,IL=262144,TL=4194304,jQ=2,LJ=8,eJ=32,wL=268435456,IG=Math.random().toString(36).slice(2),RY="__reactFiber$"+IG,uY="__reactProps$"+IG,TG="__reactContainer$"+IG,$0="__reactEvents$"+IG,o$="__reactListeners$"+IG,r$="__reactHandles$"+IG,q7="__reactResources$"+IG,wU="__reactMarker$"+IG,G7=new Set,vH={},S0={},t$={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},e$=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]*$"),H7={},z7={},ZS=/[\n"\\]/g,_7=!1,W7=!1,U7=!1,K7=!1,B7=!1,L7=!1,A7=["value","defaultValue"],O7=!1,F7=/["'&<>\n\t]|^\s|\s$/,XS="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(" "),M7="applet caption html table td th marquee object template foreignObject desc title".split(" "),YS=M7.concat(["button"]),QS="dd dt li option optgroup p rp rt".split(" "),N7={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},VL={},E0={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"]},I7=/([A-Z])/g,T7=/^ms-/,JS=/^(?:webkit|moz|o)[A-Z]/,qS=/^-ms-/,GS=/-(.)/g,w7=/;\s*$/,U_={},k0={},V7=!1,R7=!1,j7=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(" ")),RL="http://www.w3.org/1998/Math/MathML",K_="http://www.w3.org/2000/svg",HS=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"]]),jL={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"},C7={"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},B_={},zS=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]*$"),_S=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]*$"),P7=!1,dY={},D7=/^on./,WS=/^on[^A-Z]/,US=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]*$"),KS=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]*$"),BS=/^[\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,VU=null,L_=null,A_=null,x0=!1,Zq=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),y0=!1;if(Zq)try{var RU={};Object.defineProperty(RU,"passive",{get:function(){y0=!0}}),window.addEventListener("test",RU,RU),window.removeEventListener("test",RU,RU)}catch(Z){y0=!1}var wG=null,v0=null,CL=null,hH={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(Z){return Z.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},PL=oY(hH),jU=rZ({},hH,{view:0,detail:0}),LS=oY(jU),h0,b0,CU,DL=rZ({},jU,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:NF,button:0,buttons:0,relatedTarget:function(Z){return Z.relatedTarget===void 0?Z.fromElement===Z.srcElement?Z.toElement:Z.fromElement:Z.relatedTarget},movementX:function(Z){if("movementX"in Z)return Z.movementX;return Z!==CU&&(CU&&Z.type==="mousemove"?(h0=Z.screenX-CU.screenX,b0=Z.screenY-CU.screenY):b0=h0=0,CU=Z),h0},movementY:function(Z){return"movementY"in Z?Z.movementY:b0}}),$7=oY(DL),AS=rZ({},DL,{dataTransfer:0}),OS=oY(AS),FS=rZ({},jU,{relatedTarget:0}),g0=oY(FS),MS=rZ({},hH,{animationName:0,elapsedTime:0,pseudoElement:0}),NS=oY(MS),IS=rZ({},hH,{clipboardData:function(Z){return"clipboardData"in Z?Z.clipboardData:window.clipboardData}}),TS=oY(IS),wS=rZ({},hH,{data:0}),S7=oY(wS),VS=S7,RS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},jS={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"},CS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},PS=rZ({},jU,{key:function(Z){if(Z.key){var X=RS[Z.key]||Z.key;if(X!=="Unidentified")return X}return Z.type==="keypress"?(Z=BB(Z),Z===13?"Enter":String.fromCharCode(Z)):Z.type==="keydown"||Z.type==="keyup"?jS[Z.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:NF,charCode:function(Z){return Z.type==="keypress"?BB(Z):0},keyCode:function(Z){return Z.type==="keydown"||Z.type==="keyup"?Z.keyCode:0},which:function(Z){return Z.type==="keypress"?BB(Z):Z.type==="keydown"||Z.type==="keyup"?Z.keyCode:0}}),DS=oY(PS),$S=rZ({},DL,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),E7=oY($S),SS=rZ({},jU,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:NF}),ES=oY(SS),kS=rZ({},hH,{propertyName:0,elapsedTime:0,pseudoElement:0}),xS=oY(kS),yS=rZ({},DL,{deltaX:function(Z){return"deltaX"in Z?Z.deltaX:("wheelDeltaX"in Z)?-Z.wheelDeltaX:0},deltaY:function(Z){return"deltaY"in Z?Z.deltaY:("wheelDeltaY"in Z)?-Z.wheelDeltaY:("wheelDelta"in Z)?-Z.wheelDelta:0},deltaZ:0,deltaMode:0}),vS=oY(yS),hS=rZ({},hH,{newState:0,oldState:0}),bS=oY(hS),gS=[9,13,27,32],k7=229,m0=Zq&&"CompositionEvent"in window,PU=null;Zq&&"documentMode"in document&&(PU=document.documentMode);var mS=Zq&&"TextEvent"in window&&!PU,x7=Zq&&(!m0||PU&&8<PU&&11>=PU),y7=32,v7=String.fromCharCode(y7),h7=!1,O_=!1,fS={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,$U=null,b7=!1;Zq&&(b7=HD("input")&&(!document.documentMode||9<document.documentMode));var cY=typeof Object.is==="function"?Object.is:BD,uS=Zq&&"documentMode"in document&&11>=document.documentMode,F_=null,f0=null,SU=null,u0=!1,M_={animationend:TH("Animation","AnimationEnd"),animationiteration:TH("Animation","AnimationIteration"),animationstart:TH("Animation","AnimationStart"),transitionrun:TH("Transition","TransitionRun"),transitionstart:TH("Transition","TransitionStart"),transitioncancel:TH("Transition","TransitionCancel"),transitionend:TH("Transition","TransitionEnd")},d0={},g7={};Zq&&(g7=document.createElement("div").style,("AnimationEvent"in window)||(delete M_.animationend.animation,delete M_.animationiteration.animation,delete M_.animationstart.animation),("TransitionEvent"in window)||delete M_.transitionend.transition);var m7=wH("animationend"),f7=wH("animationiteration"),u7=wH("animationstart"),dS=wH("transitionrun"),cS=wH("transitionstart"),pS=wH("transitioncancel"),d7=wH("transitionend"),c7=new Map,c0="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(" ");c0.push("scrollEnd");var p7=0;if(typeof performance==="object"&&typeof performance.now==="function")var lS=performance,l7=function(){return lS.now()};else{var iS=Date;l7=function(){return iS.now()}}var p0=typeof reportError==="function"?reportError:function(Z){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var X=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof Z==="object"&&Z!==null&&typeof Z.message==="string"?String(Z.message):String(Z),error:Z});if(!window.dispatchEvent(X))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",Z);return}console.error(Z)},nS="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.",$L=0,l0=1,i0=2,n0=3,SL="– ",EL="+ ",i7="  ",DX=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",dQ="Components ⚛",tZ="Scheduler ⚛",eZ="Blocking",VG=!1,Dq={color:"primary",properties:null,tooltipText:"",track:dQ},RG={start:-0,end:-0,detail:{devtools:Dq}},sS=["Changed Props",""],n7="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",aS=["Changed Props",n7],EU=1,$q=2,cQ=[],N_=0,s0=0,jG={};Object.freeze(jG);var pQ=null,I_=null,hZ=0,oS=1,iZ=2,gY=8,AJ=16,rS=32,s7=!1;try{var a7=Object.preventExtensions({})}catch(Z){s7=!0}var a0=new WeakMap,T_=[],w_=0,kL=null,kU=0,lQ=[],iQ=0,bH=null,Sq=1,Eq="",jY=null,$X=null,QX=!1,Xq=!1,CQ=null,CG=null,nQ=!1,o0=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."),r0=wZ(null),t0=wZ(null),o7={},xL=null,V_=null,R_=!1,tS=typeof AbortController<"u"?AbortController:function(){var Z=[],X=this.signal={aborted:!1,addEventListener:function(Y,J){Z.push(J)}};this.abort=function(){X.aborted=!0,Z.forEach(function(Y){return Y()})}},eS=UX.unstable_scheduleCallback,ZE=UX.unstable_NormalPriority,rX={$$typeof:aJ,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},tX=UX.unstable_now,yL=console.createTask?console.createTask:function(){return null},xU=1,vL=2,BY=-0,PG=-0,kq=-0,xq=null,pY=-1.1,gH=-0,hX=-0,EZ=-1.1,xZ=-1.1,xX=null,mX=!1,DG=-0,Yq=-1.1,yU=null,$G=0,e0=null,Z9=null,mH=-1.1,vU=null,j_=-1.1,hL=-1.1,Qq=-0,yq=-1.1,sQ=-1.1,X9=0,hU=null,r7=null,t7=null,SG=-1.1,fH=null,EG=-1.1,bL=-1.1,e7=-0,ZI=-0,gL=0,vq=null,XI=0,bU=-1.1,mL=!1,fL=!1,gU=null,Y9=0,uH=0,C_=null,YI=s.S;s.S=function(Z,X){if(rI=KY(),typeof X==="object"&&X!==null&&typeof X.then==="function"){if(0>yq&&0>sQ){yq=tX();var Y=LU(),J=BU();if(Y!==EG||J!==fH)EG=-1.1;SG=Y,fH=J}ID(Z,X)}YI!==null&&YI(Z,X)};var dH=wZ(null),OJ={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},mU=[],fU=[],uU=[],dU=[],cU=[],pU=[],cH=new Set;OJ.recordUnsafeLifecycleWarnings=function(Z,X){cH.has(Z.type)||(typeof X.componentWillMount==="function"&&X.componentWillMount.__suppressDeprecationWarning!==!0&&mU.push(Z),Z.mode&gY&&typeof X.UNSAFE_componentWillMount==="function"&&fU.push(Z),typeof X.componentWillReceiveProps==="function"&&X.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&uU.push(Z),Z.mode&gY&&typeof X.UNSAFE_componentWillReceiveProps==="function"&&dU.push(Z),typeof X.componentWillUpdate==="function"&&X.componentWillUpdate.__suppressDeprecationWarning!==!0&&cU.push(Z),Z.mode&gY&&typeof X.UNSAFE_componentWillUpdate==="function"&&pU.push(Z))},OJ.flushPendingUnsafeLifecycleWarnings=function(){var Z=new Set;0<mU.length&&(mU.forEach(function(B){Z.add(n(B)||"Component"),cH.add(B.type)}),mU=[]);var X=new Set;0<fU.length&&(fU.forEach(function(B){X.add(n(B)||"Component"),cH.add(B.type)}),fU=[]);var Y=new Set;0<uU.length&&(uU.forEach(function(B){Y.add(n(B)||"Component"),cH.add(B.type)}),uU=[]);var J=new Set;0<dU.length&&(dU.forEach(function(B){J.add(n(B)||"Component"),cH.add(B.type)}),dU=[]);var G=new Set;0<cU.length&&(cU.forEach(function(B){G.add(n(B)||"Component"),cH.add(B.type)}),cU=[]);var H=new Set;if(0<pU.length&&(pU.forEach(function(B){H.add(n(B)||"Component"),cH.add(B.type)}),pU=[]),0<X.size){var U=M(X);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.
189
+ Check the render method of %s.`,n(RQ)||"Unknown")),J=WG(X),J.payload={element:Y},z=z===void 0?null:z,z!==null&&(typeof z!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",z),J.callback=z),Y=UG(Z,J,X),Y!==null&&(vJ(X,"root.render()",null),gX(Y,Z,X),rW(Y,Z,X))}function fN(Z,X){if(Z=Z.memoizedState,Z!==null&&Z.dehydrated!==null){var Y=Z.retryLane;Z.retryLane=Y!==0&&Y<X?Y:X}}function W0(Z,X){fN(Z,X),(Z=Z.alternate)&&fN(Z,X)}function uN(Z){if(Z.tag===13||Z.tag===31){var X=hY(Z,67108864);X!==null&&gX(X,Z,67108864),W0(Z,67108864)}}function dN(Z){if(Z.tag===13||Z.tag===31){var X=TQ(Z);X=Nz(X);var Y=hY(Z,X);Y!==null&&gX(Y,Z,X),W0(Z,X)}}function k$(){return RQ}function x$(Z,X,Y,J){var G=s.T;s.T=null;var z=OX.p;try{OX.p=jQ,U0(Z,X,Y,J)}finally{OX.p=z,s.T=G}}function y$(Z,X,Y,J){var G=s.T;s.T=null;var z=OX.p;try{OX.p=LJ,U0(Z,X,Y,J)}finally{OX.p=z,s.T=G}}function U0(Z,X,Y,J){if(NA){var G=K0(J);if(G===null)oM(Z,X,J,IA,Y),pN(Z,J);else if(v$(G,Z,X,Y,J))J.stopPropagation();else if(pN(Z,J),X&4&&-1<PE.indexOf(Z)){for(;G!==null;){var z=fZ(G);if(z!==null)switch(z.tag){case 3:if(z=z.stateNode,z.current.memoizedState.isDehydrated){var U=EJ(z.pendingLanes);if(U!==0){var B=z;B.pendingLanes|=2;for(B.entangledLanes|=2;U;){var F=1<<31-fY(U);B.entanglements[1]|=F,U&=~F}iJ(z),(HX&(_Y|$Q))===AY&&(YA=KY()+eI,UU(0,!1))}}break;case 31:case 13:B=hY(z,2),B!==null&&gX(B,z,2),X_(),W0(z,2)}if(z=K0(J),z===null&&oM(Z,X,J,IA,Y),z===G)break;G=z}G!==null&&J.stopPropagation()}else oM(Z,X,J,null,Y)}}function K0(Z){return Z=MF(Z),B0(Z)}function B0(Z){if(IA=null,Z=RZ(Z),Z!==null){var X=a(Z);if(X===null)Z=null;else{var Y=X.tag;if(Y===13){if(Z=t(X),Z!==null)return Z;Z=null}else if(Y===31){if(Z=qZ(X),Z!==null)return Z;Z=null}else if(Y===3){if(X.stateNode.current.memoizedState.isDehydrated)return X.tag===3?X.stateNode.containerInfo:null;Z=null}else X!==Z&&(Z=null)}}return IA=Z,null}function cN(Z){switch(Z){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 jQ;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 LJ;case"message":switch(p$()){case C0:return jQ;case P0:return LJ;case __:case l$:return eJ;case D0:return wL;default:return eJ}default:return eJ}}function pN(Z,X){switch(Z){case"focusin":case"focusout":dG=null;break;case"dragenter":case"dragleave":cG=null;break;case"mouseover":case"mouseout":pG=null;break;case"pointerover":case"pointerout":KK.delete(X.pointerId);break;case"gotpointercapture":case"lostpointercapture":BK.delete(X.pointerId)}}function MU(Z,X,Y,J,G,z){if(Z===null||Z.nativeEvent!==z)return Z={blockedOn:X,domEventName:Y,eventSystemFlags:J,nativeEvent:z,targetContainers:[G]},X!==null&&(X=fZ(X),X!==null&&uN(X)),Z;return Z.eventSystemFlags|=J,X=Z.targetContainers,G!==null&&X.indexOf(G)===-1&&X.push(G),Z}function v$(Z,X,Y,J,G){switch(X){case"focusin":return dG=MU(dG,Z,X,Y,J,G),!0;case"dragenter":return cG=MU(cG,Z,X,Y,J,G),!0;case"mouseover":return pG=MU(pG,Z,X,Y,J,G),!0;case"pointerover":var z=G.pointerId;return KK.set(z,MU(KK.get(z)||null,Z,X,Y,J,G)),!0;case"gotpointercapture":return z=G.pointerId,BK.set(z,MU(BK.get(z)||null,Z,X,Y,J,G)),!0}return!1}function lN(Z){var X=RZ(Z.target);if(X!==null){var Y=a(X);if(Y!==null){if(X=Y.tag,X===13){if(X=t(Y),X!==null){Z.blockedOn=X,YZ(Z.priority,function(){dN(Y)});return}}else if(X===31){if(X=qZ(Y),X!==null){Z.blockedOn=X,YZ(Z.priority,function(){dN(Y)});return}}else if(X===3&&Y.stateNode.current.memoizedState.isDehydrated){Z.blockedOn=Y.tag===3?Y.stateNode.containerInfo:null;return}}}Z.blockedOn=null}function BL(Z){if(Z.blockedOn!==null)return!1;for(var X=Z.targetContainers;0<X.length;){var Y=K0(Z.nativeEvent);if(Y===null){Y=Z.nativeEvent;var J=new Y.constructor(Y.type,Y),G=J;VU!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),VU=G,Y.target.dispatchEvent(J),VU===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."),VU=null}else return X=fZ(Y),X!==null&&uN(X),Z.blockedOn=Y,!1;X.shift()}return!0}function iN(Z,X,Y){BL(Z)&&Y.delete(X)}function h$(){d9=!1,dG!==null&&BL(dG)&&(dG=null),cG!==null&&BL(cG)&&(cG=null),pG!==null&&BL(pG)&&(pG=null),KK.forEach(iN),BK.forEach(iN)}function LL(Z,X){Z.blockedOn===X&&(Z.blockedOn=null,d9||(d9=!0,UX.unstable_scheduleCallback(UX.unstable_NormalPriority,h$)))}function nN(Z){TA!==Z&&(TA=Z,UX.unstable_scheduleCallback(UX.unstable_NormalPriority,function(){TA===Z&&(TA=null);for(var X=0;X<Z.length;X+=3){var Y=Z[X],J=Z[X+1],G=Z[X+2];if(typeof J!=="function")if(B0(J||Y)===null)continue;else break;var z=fZ(Y);z!==null&&(Z.splice(X,3),X-=3,Y={pending:!0,data:G,method:Y.method,action:J},Object.freeze(Y),BM(z,Y,J,G))}}))}function G_(Z){function X(F){return LL(F,Z)}dG!==null&&LL(dG,Z),cG!==null&&LL(cG,Z),pG!==null&&LL(pG,Z),KK.forEach(X),BK.forEach(X);for(var Y=0;Y<lG.length;Y++){var J=lG[Y];J.blockedOn===Z&&(J.blockedOn=null)}for(;0<lG.length&&(Y=lG[0],Y.blockedOn===null);)lN(Y),Y.blockedOn===null&&lG.shift();if(Y=(Z.ownerDocument||Z).$$reactFormReplay,Y!=null)for(J=0;J<Y.length;J+=3){var G=Y[J],z=Y[J+1],U=G[uY]||null;if(typeof z==="function")U||nN(Y);else if(U){var B=null;if(z&&z.hasAttribute("formAction")){if(G=z,U=z[uY]||null)B=U.formAction;else if(B0(G)!==null)continue}else B=U.action;typeof B==="function"?Y[J+1]=B:(Y.splice(J,3),J-=3),nN(Y)}}}function sN(){function Z(z){z.canIntercept&&z.info==="react-transition"&&z.intercept({handler:function(){return new Promise(function(U){return G=U})},focusReset:"manual",scroll:"manual"})}function X(){G!==null&&(G(),G=null),J||setTimeout(Y,20)}function Y(){if(!J&&!navigation.transition){var z=navigation.currentEntry;z&&z.url!=null&&navigation.navigate(z.url,{state:z.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var J=!1,G=null;return navigation.addEventListener("navigate",Z),navigation.addEventListener("navigatesuccess",X),navigation.addEventListener("navigateerror",X),setTimeout(Y,100),function(){J=!0,navigation.removeEventListener("navigate",Z),navigation.removeEventListener("navigatesuccess",X),navigation.removeEventListener("navigateerror",X),G!==null&&(G(),G=null)}}}function L0(Z){this._internalRoot=Z}function AL(Z){this._internalRoot=Z}function aN(Z){Z[TG]&&(Z._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 rZ=Object.assign,b$=Symbol.for("react.element"),sJ=Symbol.for("react.transitional.element"),z_=Symbol.for("react.portal"),H_=Symbol.for("react.fragment"),OL=Symbol.for("react.strict_mode"),A0=Symbol.for("react.profiler"),O0=Symbol.for("react.consumer"),aJ=Symbol.for("react.context"),NU=Symbol.for("react.forward_ref"),F0=Symbol.for("react.suspense"),M0=Symbol.for("react.suspense_list"),FL=Symbol.for("react.memo"),VQ=Symbol.for("react.lazy"),N0=Symbol.for("react.activity"),g$=Symbol.for("react.memo_cache_sentinel"),oN=Symbol.iterator,m$=Symbol.for("react.client.reference"),zY=Array.isArray,s=o_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,OX=J3.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,f$=Object.freeze({pending:!1,data:null,method:null,action:null}),I0=[],T0=[],Pq=-1,MG=wZ(null),IU=wZ(null),NG=wZ(null),ML=wZ(null),TU=0,rN,tN,eN,Z7,X7,Y7,Q7;w.__reactDisabledLog=!0;var w0,J7,V0=!1,R0=new(typeof WeakMap==="function"?WeakMap:Map),RQ=null,oJ=!1,BJ=Object.prototype.hasOwnProperty,j0=UX.unstable_scheduleCallback,u$=UX.unstable_cancelCallback,d$=UX.unstable_shouldYield,c$=UX.unstable_requestPaint,KY=UX.unstable_now,p$=UX.unstable_getCurrentPriorityLevel,C0=UX.unstable_ImmediatePriority,P0=UX.unstable_UserBlockingPriority,__=UX.unstable_NormalPriority,l$=UX.unstable_LowPriority,D0=UX.unstable_IdlePriority,i$=UX.log,n$=UX.unstable_setDisableYieldValue,W_=null,bY=null,rJ=!1,tJ=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",fY=Math.clz32?Math.clz32:GB,s$=Math.log,a$=Math.LN2,NL=256,IL=262144,TL=4194304,jQ=2,LJ=8,eJ=32,wL=268435456,IG=Math.random().toString(36).slice(2),jY="__reactFiber$"+IG,uY="__reactProps$"+IG,TG="__reactContainer$"+IG,$0="__reactEvents$"+IG,o$="__reactListeners$"+IG,r$="__reactHandles$"+IG,q7="__reactResources$"+IG,wU="__reactMarker$"+IG,G7=new Set,vz={},S0={},t$={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},e$=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]*$"),z7={},H7={},ZS=/[\n"\\]/g,_7=!1,W7=!1,U7=!1,K7=!1,B7=!1,L7=!1,A7=["value","defaultValue"],O7=!1,F7=/["'&<>\n\t]|^\s|\s$/,XS="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(" "),M7="applet caption html table td th marquee object template foreignObject desc title".split(" "),YS=M7.concat(["button"]),QS="dd dt li option optgroup p rp rt".split(" "),N7={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},VL={},E0={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"]},I7=/([A-Z])/g,T7=/^ms-/,JS=/^(?:webkit|moz|o)[A-Z]/,qS=/^-ms-/,GS=/-(.)/g,w7=/;\s*$/,U_={},k0={},V7=!1,R7=!1,j7=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(" ")),RL="http://www.w3.org/1998/Math/MathML",K_="http://www.w3.org/2000/svg",zS=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"]]),jL={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"},C7={"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},B_={},HS=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]*$"),_S=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]*$"),P7=!1,dY={},D7=/^on./,WS=/^on[^A-Z]/,US=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]*$"),KS=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]*$"),BS=/^[\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,VU=null,L_=null,A_=null,x0=!1,Zq=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),y0=!1;if(Zq)try{var RU={};Object.defineProperty(RU,"passive",{get:function(){y0=!0}}),window.addEventListener("test",RU,RU),window.removeEventListener("test",RU,RU)}catch(Z){y0=!1}var wG=null,v0=null,CL=null,hz={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(Z){return Z.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},PL=oY(hz),jU=rZ({},hz,{view:0,detail:0}),LS=oY(jU),h0,b0,CU,DL=rZ({},jU,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:NF,button:0,buttons:0,relatedTarget:function(Z){return Z.relatedTarget===void 0?Z.fromElement===Z.srcElement?Z.toElement:Z.fromElement:Z.relatedTarget},movementX:function(Z){if("movementX"in Z)return Z.movementX;return Z!==CU&&(CU&&Z.type==="mousemove"?(h0=Z.screenX-CU.screenX,b0=Z.screenY-CU.screenY):b0=h0=0,CU=Z),h0},movementY:function(Z){return"movementY"in Z?Z.movementY:b0}}),$7=oY(DL),AS=rZ({},DL,{dataTransfer:0}),OS=oY(AS),FS=rZ({},jU,{relatedTarget:0}),g0=oY(FS),MS=rZ({},hz,{animationName:0,elapsedTime:0,pseudoElement:0}),NS=oY(MS),IS=rZ({},hz,{clipboardData:function(Z){return"clipboardData"in Z?Z.clipboardData:window.clipboardData}}),TS=oY(IS),wS=rZ({},hz,{data:0}),S7=oY(wS),VS=S7,RS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},jS={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"},CS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},PS=rZ({},jU,{key:function(Z){if(Z.key){var X=RS[Z.key]||Z.key;if(X!=="Unidentified")return X}return Z.type==="keypress"?(Z=BB(Z),Z===13?"Enter":String.fromCharCode(Z)):Z.type==="keydown"||Z.type==="keyup"?jS[Z.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:NF,charCode:function(Z){return Z.type==="keypress"?BB(Z):0},keyCode:function(Z){return Z.type==="keydown"||Z.type==="keyup"?Z.keyCode:0},which:function(Z){return Z.type==="keypress"?BB(Z):Z.type==="keydown"||Z.type==="keyup"?Z.keyCode:0}}),DS=oY(PS),$S=rZ({},DL,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),E7=oY($S),SS=rZ({},jU,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:NF}),ES=oY(SS),kS=rZ({},hz,{propertyName:0,elapsedTime:0,pseudoElement:0}),xS=oY(kS),yS=rZ({},DL,{deltaX:function(Z){return"deltaX"in Z?Z.deltaX:("wheelDeltaX"in Z)?-Z.wheelDeltaX:0},deltaY:function(Z){return"deltaY"in Z?Z.deltaY:("wheelDeltaY"in Z)?-Z.wheelDeltaY:("wheelDelta"in Z)?-Z.wheelDelta:0},deltaZ:0,deltaMode:0}),vS=oY(yS),hS=rZ({},hz,{newState:0,oldState:0}),bS=oY(hS),gS=[9,13,27,32],k7=229,m0=Zq&&"CompositionEvent"in window,PU=null;Zq&&"documentMode"in document&&(PU=document.documentMode);var mS=Zq&&"TextEvent"in window&&!PU,x7=Zq&&(!m0||PU&&8<PU&&11>=PU),y7=32,v7=String.fromCharCode(y7),h7=!1,O_=!1,fS={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,$U=null,b7=!1;Zq&&(b7=zD("input")&&(!document.documentMode||9<document.documentMode));var cY=typeof Object.is==="function"?Object.is:BD,uS=Zq&&"documentMode"in document&&11>=document.documentMode,F_=null,f0=null,SU=null,u0=!1,M_={animationend:Tz("Animation","AnimationEnd"),animationiteration:Tz("Animation","AnimationIteration"),animationstart:Tz("Animation","AnimationStart"),transitionrun:Tz("Transition","TransitionRun"),transitionstart:Tz("Transition","TransitionStart"),transitioncancel:Tz("Transition","TransitionCancel"),transitionend:Tz("Transition","TransitionEnd")},d0={},g7={};Zq&&(g7=document.createElement("div").style,("AnimationEvent"in window)||(delete M_.animationend.animation,delete M_.animationiteration.animation,delete M_.animationstart.animation),("TransitionEvent"in window)||delete M_.transitionend.transition);var m7=wz("animationend"),f7=wz("animationiteration"),u7=wz("animationstart"),dS=wz("transitionrun"),cS=wz("transitionstart"),pS=wz("transitioncancel"),d7=wz("transitionend"),c7=new Map,c0="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(" ");c0.push("scrollEnd");var p7=0;if(typeof performance==="object"&&typeof performance.now==="function")var lS=performance,l7=function(){return lS.now()};else{var iS=Date;l7=function(){return iS.now()}}var p0=typeof reportError==="function"?reportError:function(Z){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var X=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof Z==="object"&&Z!==null&&typeof Z.message==="string"?String(Z.message):String(Z),error:Z});if(!window.dispatchEvent(X))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",Z);return}console.error(Z)},nS="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.",$L=0,l0=1,i0=2,n0=3,SL="– ",EL="+ ",i7="  ",DX=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",dQ="Components ⚛",tZ="Scheduler ⚛",eZ="Blocking",VG=!1,Dq={color:"primary",properties:null,tooltipText:"",track:dQ},RG={start:-0,end:-0,detail:{devtools:Dq}},sS=["Changed Props",""],n7="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",aS=["Changed Props",n7],EU=1,$q=2,cQ=[],N_=0,s0=0,jG={};Object.freeze(jG);var pQ=null,I_=null,hZ=0,oS=1,iZ=2,gY=8,AJ=16,rS=32,s7=!1;try{var a7=Object.preventExtensions({})}catch(Z){s7=!0}var a0=new WeakMap,T_=[],w_=0,kL=null,kU=0,lQ=[],iQ=0,bz=null,Sq=1,Eq="",CY=null,$X=null,QX=!1,Xq=!1,CQ=null,CG=null,nQ=!1,o0=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."),r0=wZ(null),t0=wZ(null),o7={},xL=null,V_=null,R_=!1,tS=typeof AbortController<"u"?AbortController:function(){var Z=[],X=this.signal={aborted:!1,addEventListener:function(Y,J){Z.push(J)}};this.abort=function(){X.aborted=!0,Z.forEach(function(Y){return Y()})}},eS=UX.unstable_scheduleCallback,ZE=UX.unstable_NormalPriority,rX={$$typeof:aJ,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},tX=UX.unstable_now,yL=console.createTask?console.createTask:function(){return null},xU=1,vL=2,BY=-0,PG=-0,kq=-0,xq=null,pY=-1.1,gz=-0,hX=-0,EZ=-1.1,xZ=-1.1,xX=null,mX=!1,DG=-0,Yq=-1.1,yU=null,$G=0,e0=null,Z9=null,mz=-1.1,vU=null,j_=-1.1,hL=-1.1,Qq=-0,yq=-1.1,sQ=-1.1,X9=0,hU=null,r7=null,t7=null,SG=-1.1,fz=null,EG=-1.1,bL=-1.1,e7=-0,ZI=-0,gL=0,vq=null,XI=0,bU=-1.1,mL=!1,fL=!1,gU=null,Y9=0,uz=0,C_=null,YI=s.S;s.S=function(Z,X){if(rI=KY(),typeof X==="object"&&X!==null&&typeof X.then==="function"){if(0>yq&&0>sQ){yq=tX();var Y=LU(),J=BU();if(Y!==EG||J!==fz)EG=-1.1;SG=Y,fz=J}ID(Z,X)}YI!==null&&YI(Z,X)};var dz=wZ(null),OJ={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},mU=[],fU=[],uU=[],dU=[],cU=[],pU=[],cz=new Set;OJ.recordUnsafeLifecycleWarnings=function(Z,X){cz.has(Z.type)||(typeof X.componentWillMount==="function"&&X.componentWillMount.__suppressDeprecationWarning!==!0&&mU.push(Z),Z.mode&gY&&typeof X.UNSAFE_componentWillMount==="function"&&fU.push(Z),typeof X.componentWillReceiveProps==="function"&&X.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&uU.push(Z),Z.mode&gY&&typeof X.UNSAFE_componentWillReceiveProps==="function"&&dU.push(Z),typeof X.componentWillUpdate==="function"&&X.componentWillUpdate.__suppressDeprecationWarning!==!0&&cU.push(Z),Z.mode&gY&&typeof X.UNSAFE_componentWillUpdate==="function"&&pU.push(Z))},OJ.flushPendingUnsafeLifecycleWarnings=function(){var Z=new Set;0<mU.length&&(mU.forEach(function(B){Z.add(n(B)||"Component"),cz.add(B.type)}),mU=[]);var X=new Set;0<fU.length&&(fU.forEach(function(B){X.add(n(B)||"Component"),cz.add(B.type)}),fU=[]);var Y=new Set;0<uU.length&&(uU.forEach(function(B){Y.add(n(B)||"Component"),cz.add(B.type)}),uU=[]);var J=new Set;0<dU.length&&(dU.forEach(function(B){J.add(n(B)||"Component"),cz.add(B.type)}),dU=[]);var G=new Set;0<cU.length&&(cU.forEach(function(B){G.add(n(B)||"Component"),cz.add(B.type)}),cU=[]);var z=new Set;if(0<pU.length&&(pU.forEach(function(B){z.add(n(B)||"Component"),cz.add(B.type)}),pU=[]),0<X.size){var U=M(X);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
190
 
191
191
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
192
192
 
@@ -195,7 +195,7 @@ Please update the following components: %s`,U)}0<J.size&&(U=M(J),console.error(`
195
195
  * Move data fetching code or side effects to componentDidUpdate.
196
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
197
 
198
- Please update the following components: %s`,U)),0<H.size&&(U=M(H),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.
198
+ Please update the following components: %s`,U)),0<z.size&&(U=M(z),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
199
 
200
200
  * Move data fetching code or side effects to componentDidUpdate.
201
201
 
@@ -221,31 +221,31 @@ The old API will be supported in all 16.x releases, but applications using it sh
221
221
 
222
222
  Please update the following components: %s
223
223
 
224
- Learn more about this warning here: https://react.dev/link/legacy-context`,J)})}})},OJ.discardPendingWarnings=function(){mU=[],fU=[],uU=[],dU=[],cU=[],pU=[],uL=new Map};var JI={react_stack_bottom_frame:function(Z,X,Y){var J=oJ;oJ=!0;try{return Z(X,Y)}finally{oJ=J}}},Q9=JI.react_stack_bottom_frame.bind(JI),qI={react_stack_bottom_frame:function(Z){var X=oJ;oJ=!0;try{return Z.render()}finally{oJ=X}}},GI=qI.react_stack_bottom_frame.bind(qI),HI={react_stack_bottom_frame:function(Z,X){try{X.componentDidMount()}catch(Y){AX(Z,Z.return,Y)}}},J9=HI.react_stack_bottom_frame.bind(HI),zI={react_stack_bottom_frame:function(Z,X,Y,J,G){try{X.componentDidUpdate(Y,J,G)}catch(H){AX(Z,Z.return,H)}}},_I=zI.react_stack_bottom_frame.bind(zI),WI={react_stack_bottom_frame:function(Z,X){var Y=X.stack;Z.componentDidCatch(X.value,{componentStack:Y!==null?Y:""})}},XE=WI.react_stack_bottom_frame.bind(WI),UI={react_stack_bottom_frame:function(Z,X,Y){try{Y.componentWillUnmount()}catch(J){AX(Z,X,J)}}},KI=UI.react_stack_bottom_frame.bind(UI),BI={react_stack_bottom_frame:function(Z){var X=Z.create;return Z=Z.inst,X=X(),Z.destroy=X}},YE=BI.react_stack_bottom_frame.bind(BI),LI={react_stack_bottom_frame:function(Z,X,Y){try{Y()}catch(J){AX(Z,X,J)}}},QE=LI.react_stack_bottom_frame.bind(LI),AI={react_stack_bottom_frame:function(Z){var X=Z._init;return X(Z._payload)}},JE=AI.react_stack_bottom_frame.bind(AI),P_=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`."),q9=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."),dL=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."),cL={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.')}},pH=null,lU=!1,D_=null,iU=0,nZ=null,G9,OI=G9=!1,FI={},MI={},NI={};N=function(Z,X,Y){if(Y!==null&&typeof Y==="object"&&Y._store&&(!Y._store.validated&&Y.key==null||Y._store.validated===2)){if(typeof Y._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.");Y._store.validated=1;var J=n(Z),G=J||"null";if(!FI[G]){FI[G]=!0,Y=Y._owner,Z=Z._debugOwner;var H="";Z&&typeof Z.tag==="number"&&(G=n(Z))&&(H=`
224
+ Learn more about this warning here: https://react.dev/link/legacy-context`,J)})}})},OJ.discardPendingWarnings=function(){mU=[],fU=[],uU=[],dU=[],cU=[],pU=[],uL=new Map};var JI={react_stack_bottom_frame:function(Z,X,Y){var J=oJ;oJ=!0;try{return Z(X,Y)}finally{oJ=J}}},Q9=JI.react_stack_bottom_frame.bind(JI),qI={react_stack_bottom_frame:function(Z){var X=oJ;oJ=!0;try{return Z.render()}finally{oJ=X}}},GI=qI.react_stack_bottom_frame.bind(qI),zI={react_stack_bottom_frame:function(Z,X){try{X.componentDidMount()}catch(Y){AX(Z,Z.return,Y)}}},J9=zI.react_stack_bottom_frame.bind(zI),HI={react_stack_bottom_frame:function(Z,X,Y,J,G){try{X.componentDidUpdate(Y,J,G)}catch(z){AX(Z,Z.return,z)}}},_I=HI.react_stack_bottom_frame.bind(HI),WI={react_stack_bottom_frame:function(Z,X){var Y=X.stack;Z.componentDidCatch(X.value,{componentStack:Y!==null?Y:""})}},XE=WI.react_stack_bottom_frame.bind(WI),UI={react_stack_bottom_frame:function(Z,X,Y){try{Y.componentWillUnmount()}catch(J){AX(Z,X,J)}}},KI=UI.react_stack_bottom_frame.bind(UI),BI={react_stack_bottom_frame:function(Z){var X=Z.create;return Z=Z.inst,X=X(),Z.destroy=X}},YE=BI.react_stack_bottom_frame.bind(BI),LI={react_stack_bottom_frame:function(Z,X,Y){try{Y()}catch(J){AX(Z,X,J)}}},QE=LI.react_stack_bottom_frame.bind(LI),AI={react_stack_bottom_frame:function(Z){var X=Z._init;return X(Z._payload)}},JE=AI.react_stack_bottom_frame.bind(AI),P_=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`."),q9=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."),dL=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."),cL={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.')}},pz=null,lU=!1,D_=null,iU=0,nZ=null,G9,OI=G9=!1,FI={},MI={},NI={};N=function(Z,X,Y){if(Y!==null&&typeof Y==="object"&&Y._store&&(!Y._store.validated&&Y.key==null||Y._store.validated===2)){if(typeof Y._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.");Y._store.validated=1;var J=n(Z),G=J||"null";if(!FI[G]){FI[G]=!0,Y=Y._owner,Z=Z._debugOwner;var z="";Z&&typeof Z.tag==="number"&&(G=n(Z))&&(z=`
225
225
 
226
- Check the render method of \``+G+"`."),H||J&&(H=`
226
+ Check the render method of \``+G+"`."),z||J&&(z=`
227
227
 
228
- Check the top-level render call using <`+J+">.");var U="";Y!=null&&Z!==Y&&(J=null,typeof Y.tag==="number"?J=n(Y):typeof Y.name==="string"&&(J=Y.name),J&&(U=" It was passed a child from "+J+".")),UZ(X,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.',H,U)})}}};var lH=U1(!0),II=U1(!1),TI=0,wI=1,VI=2,H9=3,kG=!1,RI=!1,z9=null,_9=!1,$_=wZ(null),pL=wZ(0),PQ=wZ(null),aQ=null,S_=1,nU=2,nX=wZ(0),lL=0,oQ=1,lY=2,DQ=4,iY=8,E_,jI=new Set,CI=new Set,W9=new Set,PI=new Set,hq=0,bZ=null,VX=null,eX=null,iL=!1,k_=!1,iH=!1,nL=0,sU=0,bq=null,qE=0,GE=25,i=null,rQ=null,gq=-1,aU=!1,oU={readContext:kX,use:LG,useCallback:pX,useContext:pX,useEffect:pX,useImperativeHandle:pX,useLayoutEffect:pX,useInsertionEffect:pX,useMemo:pX,useReducer:pX,useRef:pX,useState:pX,useDebugValue:pX,useDeferredValue:pX,useTransition:pX,useSyncExternalStore:pX,useId:pX,useHostTransitionStatus:pX,useFormState:pX,useActionState:pX,useOptimistic:pX,useMemoCache:pX,useCacheRefresh:pX};oU.useEffectEvent=pX;var U9=null,DI=null,K9=null,$I=null,Jq=null,FJ=null,sL=null;U9={readContext:function(Z){return kX(Z)},use:LG,useCallback:function(Z,X){return i="useCallback",oZ(),sz(X),_M(Z,X)},useContext:function(Z){return i="useContext",oZ(),kX(Z)},useEffect:function(Z,X){return i="useEffect",oZ(),sz(X),uB(Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",oZ(),sz(Y),zM(Z,X,Y)},useInsertionEffect:function(Z,X){i="useInsertionEffect",oZ(),sz(X),SH(4,lY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",oZ(),sz(X),HM(Z,X)},useMemo:function(Z,X){i="useMemo",oZ(),sz(X);var Y=s.H;s.H=Jq;try{return WM(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",oZ();var J=s.H;s.H=Jq;try{return tF(Z,X,Y)}finally{s.H=J}},useRef:function(Z){return i="useRef",oZ(),qM(Z)},useState:function(Z){i="useState",oZ();var X=s.H;s.H=Jq;try{return YM(Z)}finally{s.H=X}},useDebugValue:function(){i="useDebugValue",oZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",oZ(),UM(Z,X)},useTransition:function(){return i="useTransition",oZ(),LM()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",oZ(),ZM(Z,X,Y)},useId:function(){return i="useId",oZ(),AM()},useFormState:function(Z,X){return i="useFormState",oZ(),hB(),oz(Z,X)},useActionState:function(Z,X){return i="useActionState",oZ(),oz(Z,X)},useOptimistic:function(Z){return i="useOptimistic",oZ(),QM(Z)},useHostTransitionStatus:EH,useMemoCache:$H,useCacheRefresh:function(){return i="useCacheRefresh",oZ(),OM()},useEffectEvent:function(Z){return i="useEffectEvent",oZ(),GM(Z)}},DI={readContext:function(Z){return kX(Z)},use:LG,useCallback:function(Z,X){return i="useCallback",XZ(),_M(Z,X)},useContext:function(Z){return i="useContext",XZ(),kX(Z)},useEffect:function(Z,X){return i="useEffect",XZ(),uB(Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",XZ(),zM(Z,X,Y)},useInsertionEffect:function(Z,X){i="useInsertionEffect",XZ(),SH(4,lY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",XZ(),HM(Z,X)},useMemo:function(Z,X){i="useMemo",XZ();var Y=s.H;s.H=Jq;try{return WM(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",XZ();var J=s.H;s.H=Jq;try{return tF(Z,X,Y)}finally{s.H=J}},useRef:function(Z){return i="useRef",XZ(),qM(Z)},useState:function(Z){i="useState",XZ();var X=s.H;s.H=Jq;try{return YM(Z)}finally{s.H=X}},useDebugValue:function(){i="useDebugValue",XZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",XZ(),UM(Z,X)},useTransition:function(){return i="useTransition",XZ(),LM()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",XZ(),ZM(Z,X,Y)},useId:function(){return i="useId",XZ(),AM()},useActionState:function(Z,X){return i="useActionState",XZ(),oz(Z,X)},useFormState:function(Z,X){return i="useFormState",XZ(),hB(),oz(Z,X)},useOptimistic:function(Z){return i="useOptimistic",XZ(),QM(Z)},useHostTransitionStatus:EH,useMemoCache:$H,useCacheRefresh:function(){return i="useCacheRefresh",XZ(),OM()},useEffectEvent:function(Z){return i="useEffectEvent",XZ(),GM(Z)}},K9={readContext:function(Z){return kX(Z)},use:LG,useCallback:function(Z,X){return i="useCallback",XZ(),pB(Z,X)},useContext:function(Z){return i="useContext",XZ(),kX(Z)},useEffect:function(Z,X){i="useEffect",XZ(),rY(2048,iY,Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",XZ(),cB(Z,X,Y)},useInsertionEffect:function(Z,X){return i="useInsertionEffect",XZ(),rY(4,lY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",XZ(),rY(4,DQ,Z,X)},useMemo:function(Z,X){i="useMemo",XZ();var Y=s.H;s.H=FJ;try{return lB(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",XZ();var J=s.H;s.H=FJ;try{return az(Z,X,Y)}finally{s.H=J}},useRef:function(){return i="useRef",XZ(),FX().memoizedState},useState:function(){i="useState",XZ();var Z=s.H;s.H=FJ;try{return az(UJ)}finally{s.H=Z}},useDebugValue:function(){i="useDebugValue",XZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",XZ(),x1(Z,X)},useTransition:function(){return i="useTransition",XZ(),m1()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",XZ(),gB(Z,X,Y)},useId:function(){return i="useId",XZ(),FX().memoizedState},useFormState:function(Z){return i="useFormState",XZ(),hB(),mB(Z)},useActionState:function(Z){return i="useActionState",XZ(),mB(Z)},useOptimistic:function(Z,X){return i="useOptimistic",XZ(),V1(Z,X)},useHostTransitionStatus:EH,useMemoCache:$H,useCacheRefresh:function(){return i="useCacheRefresh",XZ(),FX().memoizedState},useEffectEvent:function(Z){return i="useEffectEvent",XZ(),dB(Z)}},$I={readContext:function(Z){return kX(Z)},use:LG,useCallback:function(Z,X){return i="useCallback",XZ(),pB(Z,X)},useContext:function(Z){return i="useContext",XZ(),kX(Z)},useEffect:function(Z,X){i="useEffect",XZ(),rY(2048,iY,Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",XZ(),cB(Z,X,Y)},useInsertionEffect:function(Z,X){return i="useInsertionEffect",XZ(),rY(4,lY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",XZ(),rY(4,DQ,Z,X)},useMemo:function(Z,X){i="useMemo",XZ();var Y=s.H;s.H=sL;try{return lB(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",XZ();var J=s.H;s.H=sL;try{return XU(Z,X,Y)}finally{s.H=J}},useRef:function(){return i="useRef",XZ(),FX().memoizedState},useState:function(){i="useState",XZ();var Z=s.H;s.H=sL;try{return XU(UJ)}finally{s.H=Z}},useDebugValue:function(){i="useDebugValue",XZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",XZ(),y1(Z,X)},useTransition:function(){return i="useTransition",XZ(),f1()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",XZ(),gB(Z,X,Y)},useId:function(){return i="useId",XZ(),FX().memoizedState},useFormState:function(Z){return i="useFormState",XZ(),hB(),fB(Z)},useActionState:function(Z){return i="useActionState",XZ(),fB(Z)},useOptimistic:function(Z,X){return i="useOptimistic",XZ(),j1(Z,X)},useHostTransitionStatus:EH,useMemoCache:$H,useCacheRefresh:function(){return i="useCacheRefresh",XZ(),FX().memoizedState},useEffectEvent:function(Z){return i="useEffectEvent",XZ(),dB(Z)}},Jq={readContext:function(Z){return O(),kX(Z)},use:function(Z){return L(),LG(Z)},useCallback:function(Z,X){return i="useCallback",L(),oZ(),_M(Z,X)},useContext:function(Z){return i="useContext",L(),oZ(),kX(Z)},useEffect:function(Z,X){return i="useEffect",L(),oZ(),uB(Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",L(),oZ(),zM(Z,X,Y)},useInsertionEffect:function(Z,X){i="useInsertionEffect",L(),oZ(),SH(4,lY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",L(),oZ(),HM(Z,X)},useMemo:function(Z,X){i="useMemo",L(),oZ();var Y=s.H;s.H=Jq;try{return WM(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",L(),oZ();var J=s.H;s.H=Jq;try{return tF(Z,X,Y)}finally{s.H=J}},useRef:function(Z){return i="useRef",L(),oZ(),qM(Z)},useState:function(Z){i="useState",L(),oZ();var X=s.H;s.H=Jq;try{return YM(Z)}finally{s.H=X}},useDebugValue:function(){i="useDebugValue",L(),oZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",L(),oZ(),UM(Z,X)},useTransition:function(){return i="useTransition",L(),oZ(),LM()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",L(),oZ(),ZM(Z,X,Y)},useId:function(){return i="useId",L(),oZ(),AM()},useFormState:function(Z,X){return i="useFormState",L(),oZ(),oz(Z,X)},useActionState:function(Z,X){return i="useActionState",L(),oZ(),oz(Z,X)},useOptimistic:function(Z){return i="useOptimistic",L(),oZ(),QM(Z)},useMemoCache:function(Z){return L(),$H(Z)},useHostTransitionStatus:EH,useCacheRefresh:function(){return i="useCacheRefresh",oZ(),OM()},useEffectEvent:function(Z){return i="useEffectEvent",L(),oZ(),GM(Z)}},FJ={readContext:function(Z){return O(),kX(Z)},use:function(Z){return L(),LG(Z)},useCallback:function(Z,X){return i="useCallback",L(),XZ(),pB(Z,X)},useContext:function(Z){return i="useContext",L(),XZ(),kX(Z)},useEffect:function(Z,X){i="useEffect",L(),XZ(),rY(2048,iY,Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",L(),XZ(),cB(Z,X,Y)},useInsertionEffect:function(Z,X){return i="useInsertionEffect",L(),XZ(),rY(4,lY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",L(),XZ(),rY(4,DQ,Z,X)},useMemo:function(Z,X){i="useMemo",L(),XZ();var Y=s.H;s.H=FJ;try{return lB(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",L(),XZ();var J=s.H;s.H=FJ;try{return az(Z,X,Y)}finally{s.H=J}},useRef:function(){return i="useRef",L(),XZ(),FX().memoizedState},useState:function(){i="useState",L(),XZ();var Z=s.H;s.H=FJ;try{return az(UJ)}finally{s.H=Z}},useDebugValue:function(){i="useDebugValue",L(),XZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",L(),XZ(),x1(Z,X)},useTransition:function(){return i="useTransition",L(),XZ(),m1()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",L(),XZ(),gB(Z,X,Y)},useId:function(){return i="useId",L(),XZ(),FX().memoizedState},useFormState:function(Z){return i="useFormState",L(),XZ(),mB(Z)},useActionState:function(Z){return i="useActionState",L(),XZ(),mB(Z)},useOptimistic:function(Z,X){return i="useOptimistic",L(),XZ(),V1(Z,X)},useMemoCache:function(Z){return L(),$H(Z)},useHostTransitionStatus:EH,useCacheRefresh:function(){return i="useCacheRefresh",XZ(),FX().memoizedState},useEffectEvent:function(Z){return i="useEffectEvent",L(),XZ(),dB(Z)}},sL={readContext:function(Z){return O(),kX(Z)},use:function(Z){return L(),LG(Z)},useCallback:function(Z,X){return i="useCallback",L(),XZ(),pB(Z,X)},useContext:function(Z){return i="useContext",L(),XZ(),kX(Z)},useEffect:function(Z,X){i="useEffect",L(),XZ(),rY(2048,iY,Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",L(),XZ(),cB(Z,X,Y)},useInsertionEffect:function(Z,X){return i="useInsertionEffect",L(),XZ(),rY(4,lY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",L(),XZ(),rY(4,DQ,Z,X)},useMemo:function(Z,X){i="useMemo",L(),XZ();var Y=s.H;s.H=FJ;try{return lB(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",L(),XZ();var J=s.H;s.H=FJ;try{return XU(Z,X,Y)}finally{s.H=J}},useRef:function(){return i="useRef",L(),XZ(),FX().memoizedState},useState:function(){i="useState",L(),XZ();var Z=s.H;s.H=FJ;try{return XU(UJ)}finally{s.H=Z}},useDebugValue:function(){i="useDebugValue",L(),XZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",L(),XZ(),y1(Z,X)},useTransition:function(){return i="useTransition",L(),XZ(),f1()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",L(),XZ(),gB(Z,X,Y)},useId:function(){return i="useId",L(),XZ(),FX().memoizedState},useFormState:function(Z){return i="useFormState",L(),XZ(),fB(Z)},useActionState:function(Z){return i="useActionState",L(),XZ(),fB(Z)},useOptimistic:function(Z,X){return i="useOptimistic",L(),XZ(),j1(Z,X)},useMemoCache:function(Z){return L(),$H(Z)},useHostTransitionStatus:EH,useCacheRefresh:function(){return i="useCacheRefresh",XZ(),FX().memoizedState},useEffectEvent:function(Z){return i="useEffectEvent",L(),XZ(),dB(Z)}};var SI={},EI=new Set,kI=new Set,xI=new Set,yI=new Set,vI=new Set,hI=new Set,bI=new Set,gI=new Set,mI=new Set,fI=new Set;Object.freeze(SI);var B9={enqueueSetState:function(Z,X,Y){Z=Z._reactInternals;var J=TQ(Z),G=WG(J);G.payload=X,Y!==void 0&&Y!==null&&(MM(Y),G.callback=Y),X=UG(Z,G,J),X!==null&&(vJ(J,"this.setState()",Z),gX(X,Z,J),rW(X,Z,J))},enqueueReplaceState:function(Z,X,Y){Z=Z._reactInternals;var J=TQ(Z),G=WG(J);G.tag=wI,G.payload=X,Y!==void 0&&Y!==null&&(MM(Y),G.callback=Y),X=UG(Z,G,J),X!==null&&(vJ(J,"this.replaceState()",Z),gX(X,Z,J),rW(X,Z,J))},enqueueForceUpdate:function(Z,X){Z=Z._reactInternals;var Y=TQ(Z),J=WG(Y);J.tag=VI,X!==void 0&&X!==null&&(MM(X),J.callback=X),X=UG(Z,J,Y),X!==null&&(vJ(Y,"this.forceUpdate()",Z),gX(X,Z,Y),rW(X,Z,Y))}},x_=null,L9=null,A9=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."),ZY=!1,uI={},dI={},cI={},pI={},y_=!1,lI={},aL={},O9={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},iI=!1,nI=null;nI=new Set;var mq=!1,XY=!1,F9=!1,sI=typeof WeakSet==="function"?WeakSet:Set,LY=null,v_=null,h_=null,YY=null,ZQ=!1,MJ=null,zY=!1,rU=8192,HE={getCacheForType:function(Z){var X=kX(rX),Y=X.data.get(Z);return Y===void 0&&(Y=Z(),X.data.set(Z,Y)),Y},cacheSignal:function(){return kX(rX).controller.signal},getOwner:function(){return RQ}};if(typeof Symbol==="function"&&Symbol.for){var tU=Symbol.for;tU("selector.component"),tU("selector.has_pseudo_class"),tU("selector.role"),tU("selector.test_id"),tU("selector.text")}var zE=[],_E=typeof WeakMap==="function"?WeakMap:Map,AY=0,_Y=2,$Q=4,fq=0,eU=1,nH=2,oL=3,xG=4,rL=6,aI=5,zX=AY,RX=null,aZ=null,sZ=0,XQ=0,tL=1,sH=2,ZK=3,oI=4,M9=5,XK=6,eL=7,N9=8,aH=9,MX=XQ,SQ=null,yG=!1,b_=!1,I9=!1,qq=0,bX=fq,vG=0,hG=0,T9=0,YQ=0,oH=0,YK=null,nY=null,ZA=!1,XA=0,rI=0,tI=300,YA=1/0,eI=500,QK=null,lX=null,bG=null,QA=0,w9=1,V9=2,ZT=3,gG=0,XT=1,YT=2,QT=3,JT=4,JA=5,QY=0,mG=null,g_=null,NJ=0,R9=0,j9=-0,C9=null,qT=null,GT=null,IJ=QA,HT=null,WE=50,JK=0,P9=null,D9=!1,qA=!1,UE=50,rH=0,qK=null,m_=!1,GA=null,zT=!1,_T=new Set,KE={},HA=null,f_=null,$9=!1,S9=!1,zA=!1,E9=!1,fG=0,k9={};(function(){for(var Z=0;Z<c0.length;Z++){var X=c0[Z],Y=X.toLowerCase();X=X[0].toUpperCase()+X.slice(1),WJ(Y,"on"+X)}WJ(m7,"onAnimationEnd"),WJ(f7,"onAnimationIteration"),WJ(u7,"onAnimationStart"),WJ("dblclick","onDoubleClick"),WJ("focusin","onFocus"),WJ("focusout","onBlur"),WJ(dS,"onTransitionRun"),WJ(cS,"onTransitionStart"),WJ(pS,"onTransitionCancel"),WJ(d7,"onTransitionEnd")})(),LQ("onMouseEnter",["mouseout","mouseover"]),LQ("onMouseLeave",["mouseout","mouseover"]),LQ("onPointerEnter",["pointerout","pointerover"]),LQ("onPointerLeave",["pointerout","pointerover"]),vY("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),vY("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),vY("onBeforeInput",["compositionend","keypress","textInput","paste"]),vY("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),vY("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),vY("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var GK="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(" "),x9=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(GK)),_A="_reactListening"+Math.random().toString(36).slice(2),WT=!1,UT=!1,WA=!1,KT=!1,UA=!1,KA=!1,BT=!1,BA={},BE=/\r\n?/g,LE=/\u0000|\uFFFD/g,tH="http://www.w3.org/1999/xlink",y9="http://www.w3.org/XML/1998/namespace",AE="javascript:throw new Error('React form unexpectedly submitted.')",OE="suppressHydrationWarning",eH="&",LA="/&",HK="$",zK="/$",uG="$?",Zz="$~",u_="$!",FE="html",ME="body",NE="head",v9="F!",LT="F",AT="loading",IE="style",uq=0,d_=1,AA=2,h9=null,b9=null,OT={dialog:!0,webview:!0},g9=null,_K=void 0,FT=typeof setTimeout==="function"?setTimeout:void 0,TE=typeof clearTimeout==="function"?clearTimeout:void 0,Xz=-1,MT=typeof Promise==="function"?Promise:void 0,wE=typeof queueMicrotask==="function"?queueMicrotask:typeof MT<"u"?function(Z){return MT.resolve(null).then(Z).catch(G$)}:FT,m9=null,Yz=0,WK=1,NT=2,IT=3,tQ=4,eQ=new Map,TT=new Set,dq=OX.d;OX.d={f:function(){var Z=dq.f(),X=X_();return Z||X},r:function(Z){var X=fZ(Z);X!==null&&X.tag===5&&X.type==="form"?g1(X):dq.r(Z)},D:function(Z){dq.D(Z),EN("dns-prefetch",Z,null)},C:function(Z,X){dq.C(Z,X),EN("preconnect",Z,X)},L:function(Z,X,Y){dq.L(Z,X,Y);var J=c_;if(J&&Z&&X){var G='link[rel="preload"][as="'+fQ(X)+'"]';X==="image"?Y&&Y.imageSrcSet?(G+='[imagesrcset="'+fQ(Y.imageSrcSet)+'"]',typeof Y.imageSizes==="string"&&(G+='[imagesizes="'+fQ(Y.imageSizes)+'"]')):G+='[href="'+fQ(Z)+'"]':G+='[href="'+fQ(Z)+'"]';var H=G;switch(X){case"style":H=J_(Z);break;case"script":H=q_(Z)}eQ.has(H)||(Z=rZ({rel:"preload",href:X==="image"&&Y&&Y.imageSrcSet?void 0:Z,as:X},Y),eQ.set(H,Z),J.querySelector(G)!==null||X==="style"&&J.querySelector(OU(H))||X==="script"&&J.querySelector(FU(H))||(X=J.createElement("link"),VY(X,"link",Z),SZ(X),J.head.appendChild(X)))}},m:function(Z,X){dq.m(Z,X);var Y=c_;if(Y&&Z){var J=X&&typeof X.as==="string"?X.as:"script",G='link[rel="modulepreload"][as="'+fQ(J)+'"][href="'+fQ(Z)+'"]',H=G;switch(J){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":H=q_(Z)}if(!eQ.has(H)&&(Z=rZ({rel:"modulepreload",href:Z},X),eQ.set(H,Z),Y.querySelector(G)===null)){switch(J){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(Y.querySelector(FU(H)))return}J=Y.createElement("link"),VY(J,"link",Z),SZ(J),Y.head.appendChild(J)}}},X:function(Z,X){dq.X(Z,X);var Y=c_;if(Y&&Z){var J=WX(Y).hoistableScripts,G=q_(Z),H=J.get(G);H||(H=Y.querySelector(FU(G)),H||(Z=rZ({src:Z,async:!0},X),(X=eQ.get(G))&&z0(Z,X),H=Y.createElement("script"),SZ(H),VY(H,"link",Z),Y.head.appendChild(H)),H={type:"script",instance:H,count:1,state:null},J.set(G,H))}},S:function(Z,X,Y){dq.S(Z,X,Y);var J=c_;if(J&&Z){var G=WX(J).hoistableStyles,H=J_(Z);X=X||"default";var U=G.get(H);if(!U){var B={loading:Yz,preload:null};if(U=J.querySelector(OU(H)))B.loading=WK|tQ;else{Z=rZ({rel:"stylesheet",href:Z,"data-precedence":X},Y),(Y=eQ.get(H))&&H0(Z,Y);var F=U=J.createElement("link");SZ(F),VY(F,"link",Z),F._p=new Promise(function(T,x){F.onload=T,F.onerror=x}),F.addEventListener("load",function(){B.loading|=WK}),F.addEventListener("error",function(){B.loading|=NT}),B.loading|=tQ,WL(U,X,J)}U={type:"stylesheet",instance:U,count:1,state:B},G.set(H,U)}}},M:function(Z,X){dq.M(Z,X);var Y=c_;if(Y&&Z){var J=WX(Y).hoistableScripts,G=q_(Z),H=J.get(G);H||(H=Y.querySelector(FU(G)),H||(Z=rZ({src:Z,async:!0,type:"module"},X),(X=eQ.get(G))&&z0(Z,X),H=Y.createElement("script"),SZ(H),VY(H,"link",Z),Y.head.appendChild(H)),H={type:"script",instance:H,count:1,state:null},J.set(G,H))}}};var c_=typeof document>"u"?null:document,OA=null,VE=60000,RE=800,jE=500,f9=0,u9=null,FA=null,Qz=f$,UK={$$typeof:aJ,Provider:null,Consumer:null,_currentValue:Qz,_currentValue2:Qz,_threadCount:0},wT="%c%s%c",VT="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",RT="",MA=" ",CE=Function.prototype.bind,jT=!1,CT=null,PT=null,DT=null,$T=null,ST=null,ET=null,kT=null,xT=null,yT=null,vT=null;CT=function(Z,X,Y,J){X=Q(Z,X),X!==null&&(Y=q(X.memoizedState,Y,0,J),X.memoizedState=Y,X.baseState=Y,Z.memoizedProps=rZ({},Z.memoizedProps),Y=hY(Z,2),Y!==null&&gX(Y,Z,2))},PT=function(Z,X,Y){X=Q(Z,X),X!==null&&(Y=W(X.memoizedState,Y,0),X.memoizedState=Y,X.baseState=Y,Z.memoizedProps=rZ({},Z.memoizedProps),Y=hY(Z,2),Y!==null&&gX(Y,Z,2))},DT=function(Z,X,Y,J){X=Q(Z,X),X!==null&&(Y=z(X.memoizedState,Y,J),X.memoizedState=Y,X.baseState=Y,Z.memoizedProps=rZ({},Z.memoizedProps),Y=hY(Z,2),Y!==null&&gX(Y,Z,2))},$T=function(Z,X,Y){Z.pendingProps=q(Z.memoizedProps,X,0,Y),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),X=hY(Z,2),X!==null&&gX(X,Z,2)},ST=function(Z,X){Z.pendingProps=W(Z.memoizedProps,X,0),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),X=hY(Z,2),X!==null&&gX(X,Z,2)},ET=function(Z,X,Y){Z.pendingProps=z(Z.memoizedProps,X,Y),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),X=hY(Z,2),X!==null&&gX(X,Z,2)},kT=function(Z){var X=hY(Z,2);X!==null&&gX(X,Z,2)},xT=function(Z){var X=uz(),Y=hY(Z,X);Y!==null&&gX(Y,Z,X)},yT=function(Z){A=Z},vT=function(Z){K=Z};var NA=!0,IA=null,d9=!1,dG=null,cG=null,pG=null,KK=new Map,BK=new Map,lG=[],PE="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(" "),TA=null;if(AL.prototype.render=L0.prototype.render=function(Z){var X=this._internalRoot;if(X===null)throw Error("Cannot update an unmounted root.");var Y=arguments;typeof Y[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()."):b(Y[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 Y[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),Y=Z;var J=X.current,G=TQ(J);_0(J,G,Y,X,null,null)},AL.prototype.unmount=L0.prototype.unmount=function(){var Z=arguments;if(typeof Z[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()."),Z=this._internalRoot,Z!==null){this._internalRoot=null;var X=Z.containerInfo;(zX&(_Y|$Q))!==AY&&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."),_0(Z.current,2,null,Z,null,null),X_(),X[TG]=null}},AL.prototype.unstable_scheduleHydration=function(Z){if(Z){var X=u();Z={blockedOn:null,target:Z,priority:X};for(var Y=0;Y<lG.length&&X!==0&&X<lG[Y].priority;Y++);lG.splice(Y,0,Z),Y===0&&lN(Z)}},function(){var Z=o_.version;if(Z!=="19.2.7")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
228
+ Check the top-level render call using <`+J+">.");var U="";Y!=null&&Z!==Y&&(J=null,typeof Y.tag==="number"?J=n(Y):typeof Y.name==="string"&&(J=Y.name),J&&(U=" It was passed a child from "+J+".")),UZ(X,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.',z,U)})}}};var lz=U1(!0),II=U1(!1),TI=0,wI=1,VI=2,z9=3,kG=!1,RI=!1,H9=null,_9=!1,$_=wZ(null),pL=wZ(0),PQ=wZ(null),aQ=null,S_=1,nU=2,nX=wZ(0),lL=0,oQ=1,lY=2,DQ=4,iY=8,E_,jI=new Set,CI=new Set,W9=new Set,PI=new Set,hq=0,bZ=null,VX=null,eX=null,iL=!1,k_=!1,iz=!1,nL=0,sU=0,bq=null,qE=0,GE=25,i=null,rQ=null,gq=-1,aU=!1,oU={readContext:kX,use:LG,useCallback:pX,useContext:pX,useEffect:pX,useImperativeHandle:pX,useLayoutEffect:pX,useInsertionEffect:pX,useMemo:pX,useReducer:pX,useRef:pX,useState:pX,useDebugValue:pX,useDeferredValue:pX,useTransition:pX,useSyncExternalStore:pX,useId:pX,useHostTransitionStatus:pX,useFormState:pX,useActionState:pX,useOptimistic:pX,useMemoCache:pX,useCacheRefresh:pX};oU.useEffectEvent=pX;var U9=null,DI=null,K9=null,$I=null,Jq=null,FJ=null,sL=null;U9={readContext:function(Z){return kX(Z)},use:LG,useCallback:function(Z,X){return i="useCallback",oZ(),sH(X),_M(Z,X)},useContext:function(Z){return i="useContext",oZ(),kX(Z)},useEffect:function(Z,X){return i="useEffect",oZ(),sH(X),uB(Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",oZ(),sH(Y),HM(Z,X,Y)},useInsertionEffect:function(Z,X){i="useInsertionEffect",oZ(),sH(X),Sz(4,lY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",oZ(),sH(X),zM(Z,X)},useMemo:function(Z,X){i="useMemo",oZ(),sH(X);var Y=s.H;s.H=Jq;try{return WM(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",oZ();var J=s.H;s.H=Jq;try{return tF(Z,X,Y)}finally{s.H=J}},useRef:function(Z){return i="useRef",oZ(),qM(Z)},useState:function(Z){i="useState",oZ();var X=s.H;s.H=Jq;try{return YM(Z)}finally{s.H=X}},useDebugValue:function(){i="useDebugValue",oZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",oZ(),UM(Z,X)},useTransition:function(){return i="useTransition",oZ(),LM()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",oZ(),ZM(Z,X,Y)},useId:function(){return i="useId",oZ(),AM()},useFormState:function(Z,X){return i="useFormState",oZ(),hB(),oH(Z,X)},useActionState:function(Z,X){return i="useActionState",oZ(),oH(Z,X)},useOptimistic:function(Z){return i="useOptimistic",oZ(),QM(Z)},useHostTransitionStatus:Ez,useMemoCache:$z,useCacheRefresh:function(){return i="useCacheRefresh",oZ(),OM()},useEffectEvent:function(Z){return i="useEffectEvent",oZ(),GM(Z)}},DI={readContext:function(Z){return kX(Z)},use:LG,useCallback:function(Z,X){return i="useCallback",XZ(),_M(Z,X)},useContext:function(Z){return i="useContext",XZ(),kX(Z)},useEffect:function(Z,X){return i="useEffect",XZ(),uB(Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",XZ(),HM(Z,X,Y)},useInsertionEffect:function(Z,X){i="useInsertionEffect",XZ(),Sz(4,lY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",XZ(),zM(Z,X)},useMemo:function(Z,X){i="useMemo",XZ();var Y=s.H;s.H=Jq;try{return WM(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",XZ();var J=s.H;s.H=Jq;try{return tF(Z,X,Y)}finally{s.H=J}},useRef:function(Z){return i="useRef",XZ(),qM(Z)},useState:function(Z){i="useState",XZ();var X=s.H;s.H=Jq;try{return YM(Z)}finally{s.H=X}},useDebugValue:function(){i="useDebugValue",XZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",XZ(),UM(Z,X)},useTransition:function(){return i="useTransition",XZ(),LM()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",XZ(),ZM(Z,X,Y)},useId:function(){return i="useId",XZ(),AM()},useActionState:function(Z,X){return i="useActionState",XZ(),oH(Z,X)},useFormState:function(Z,X){return i="useFormState",XZ(),hB(),oH(Z,X)},useOptimistic:function(Z){return i="useOptimistic",XZ(),QM(Z)},useHostTransitionStatus:Ez,useMemoCache:$z,useCacheRefresh:function(){return i="useCacheRefresh",XZ(),OM()},useEffectEvent:function(Z){return i="useEffectEvent",XZ(),GM(Z)}},K9={readContext:function(Z){return kX(Z)},use:LG,useCallback:function(Z,X){return i="useCallback",XZ(),pB(Z,X)},useContext:function(Z){return i="useContext",XZ(),kX(Z)},useEffect:function(Z,X){i="useEffect",XZ(),rY(2048,iY,Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",XZ(),cB(Z,X,Y)},useInsertionEffect:function(Z,X){return i="useInsertionEffect",XZ(),rY(4,lY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",XZ(),rY(4,DQ,Z,X)},useMemo:function(Z,X){i="useMemo",XZ();var Y=s.H;s.H=FJ;try{return lB(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",XZ();var J=s.H;s.H=FJ;try{return aH(Z,X,Y)}finally{s.H=J}},useRef:function(){return i="useRef",XZ(),FX().memoizedState},useState:function(){i="useState",XZ();var Z=s.H;s.H=FJ;try{return aH(UJ)}finally{s.H=Z}},useDebugValue:function(){i="useDebugValue",XZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",XZ(),x1(Z,X)},useTransition:function(){return i="useTransition",XZ(),m1()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",XZ(),gB(Z,X,Y)},useId:function(){return i="useId",XZ(),FX().memoizedState},useFormState:function(Z){return i="useFormState",XZ(),hB(),mB(Z)},useActionState:function(Z){return i="useActionState",XZ(),mB(Z)},useOptimistic:function(Z,X){return i="useOptimistic",XZ(),V1(Z,X)},useHostTransitionStatus:Ez,useMemoCache:$z,useCacheRefresh:function(){return i="useCacheRefresh",XZ(),FX().memoizedState},useEffectEvent:function(Z){return i="useEffectEvent",XZ(),dB(Z)}},$I={readContext:function(Z){return kX(Z)},use:LG,useCallback:function(Z,X){return i="useCallback",XZ(),pB(Z,X)},useContext:function(Z){return i="useContext",XZ(),kX(Z)},useEffect:function(Z,X){i="useEffect",XZ(),rY(2048,iY,Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",XZ(),cB(Z,X,Y)},useInsertionEffect:function(Z,X){return i="useInsertionEffect",XZ(),rY(4,lY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",XZ(),rY(4,DQ,Z,X)},useMemo:function(Z,X){i="useMemo",XZ();var Y=s.H;s.H=sL;try{return lB(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",XZ();var J=s.H;s.H=sL;try{return XU(Z,X,Y)}finally{s.H=J}},useRef:function(){return i="useRef",XZ(),FX().memoizedState},useState:function(){i="useState",XZ();var Z=s.H;s.H=sL;try{return XU(UJ)}finally{s.H=Z}},useDebugValue:function(){i="useDebugValue",XZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",XZ(),y1(Z,X)},useTransition:function(){return i="useTransition",XZ(),f1()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",XZ(),gB(Z,X,Y)},useId:function(){return i="useId",XZ(),FX().memoizedState},useFormState:function(Z){return i="useFormState",XZ(),hB(),fB(Z)},useActionState:function(Z){return i="useActionState",XZ(),fB(Z)},useOptimistic:function(Z,X){return i="useOptimistic",XZ(),j1(Z,X)},useHostTransitionStatus:Ez,useMemoCache:$z,useCacheRefresh:function(){return i="useCacheRefresh",XZ(),FX().memoizedState},useEffectEvent:function(Z){return i="useEffectEvent",XZ(),dB(Z)}},Jq={readContext:function(Z){return O(),kX(Z)},use:function(Z){return L(),LG(Z)},useCallback:function(Z,X){return i="useCallback",L(),oZ(),_M(Z,X)},useContext:function(Z){return i="useContext",L(),oZ(),kX(Z)},useEffect:function(Z,X){return i="useEffect",L(),oZ(),uB(Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",L(),oZ(),HM(Z,X,Y)},useInsertionEffect:function(Z,X){i="useInsertionEffect",L(),oZ(),Sz(4,lY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",L(),oZ(),zM(Z,X)},useMemo:function(Z,X){i="useMemo",L(),oZ();var Y=s.H;s.H=Jq;try{return WM(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",L(),oZ();var J=s.H;s.H=Jq;try{return tF(Z,X,Y)}finally{s.H=J}},useRef:function(Z){return i="useRef",L(),oZ(),qM(Z)},useState:function(Z){i="useState",L(),oZ();var X=s.H;s.H=Jq;try{return YM(Z)}finally{s.H=X}},useDebugValue:function(){i="useDebugValue",L(),oZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",L(),oZ(),UM(Z,X)},useTransition:function(){return i="useTransition",L(),oZ(),LM()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",L(),oZ(),ZM(Z,X,Y)},useId:function(){return i="useId",L(),oZ(),AM()},useFormState:function(Z,X){return i="useFormState",L(),oZ(),oH(Z,X)},useActionState:function(Z,X){return i="useActionState",L(),oZ(),oH(Z,X)},useOptimistic:function(Z){return i="useOptimistic",L(),oZ(),QM(Z)},useMemoCache:function(Z){return L(),$z(Z)},useHostTransitionStatus:Ez,useCacheRefresh:function(){return i="useCacheRefresh",oZ(),OM()},useEffectEvent:function(Z){return i="useEffectEvent",L(),oZ(),GM(Z)}},FJ={readContext:function(Z){return O(),kX(Z)},use:function(Z){return L(),LG(Z)},useCallback:function(Z,X){return i="useCallback",L(),XZ(),pB(Z,X)},useContext:function(Z){return i="useContext",L(),XZ(),kX(Z)},useEffect:function(Z,X){i="useEffect",L(),XZ(),rY(2048,iY,Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",L(),XZ(),cB(Z,X,Y)},useInsertionEffect:function(Z,X){return i="useInsertionEffect",L(),XZ(),rY(4,lY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",L(),XZ(),rY(4,DQ,Z,X)},useMemo:function(Z,X){i="useMemo",L(),XZ();var Y=s.H;s.H=FJ;try{return lB(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",L(),XZ();var J=s.H;s.H=FJ;try{return aH(Z,X,Y)}finally{s.H=J}},useRef:function(){return i="useRef",L(),XZ(),FX().memoizedState},useState:function(){i="useState",L(),XZ();var Z=s.H;s.H=FJ;try{return aH(UJ)}finally{s.H=Z}},useDebugValue:function(){i="useDebugValue",L(),XZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",L(),XZ(),x1(Z,X)},useTransition:function(){return i="useTransition",L(),XZ(),m1()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",L(),XZ(),gB(Z,X,Y)},useId:function(){return i="useId",L(),XZ(),FX().memoizedState},useFormState:function(Z){return i="useFormState",L(),XZ(),mB(Z)},useActionState:function(Z){return i="useActionState",L(),XZ(),mB(Z)},useOptimistic:function(Z,X){return i="useOptimistic",L(),XZ(),V1(Z,X)},useMemoCache:function(Z){return L(),$z(Z)},useHostTransitionStatus:Ez,useCacheRefresh:function(){return i="useCacheRefresh",XZ(),FX().memoizedState},useEffectEvent:function(Z){return i="useEffectEvent",L(),XZ(),dB(Z)}},sL={readContext:function(Z){return O(),kX(Z)},use:function(Z){return L(),LG(Z)},useCallback:function(Z,X){return i="useCallback",L(),XZ(),pB(Z,X)},useContext:function(Z){return i="useContext",L(),XZ(),kX(Z)},useEffect:function(Z,X){i="useEffect",L(),XZ(),rY(2048,iY,Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",L(),XZ(),cB(Z,X,Y)},useInsertionEffect:function(Z,X){return i="useInsertionEffect",L(),XZ(),rY(4,lY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",L(),XZ(),rY(4,DQ,Z,X)},useMemo:function(Z,X){i="useMemo",L(),XZ();var Y=s.H;s.H=FJ;try{return lB(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",L(),XZ();var J=s.H;s.H=FJ;try{return XU(Z,X,Y)}finally{s.H=J}},useRef:function(){return i="useRef",L(),XZ(),FX().memoizedState},useState:function(){i="useState",L(),XZ();var Z=s.H;s.H=FJ;try{return XU(UJ)}finally{s.H=Z}},useDebugValue:function(){i="useDebugValue",L(),XZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",L(),XZ(),y1(Z,X)},useTransition:function(){return i="useTransition",L(),XZ(),f1()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",L(),XZ(),gB(Z,X,Y)},useId:function(){return i="useId",L(),XZ(),FX().memoizedState},useFormState:function(Z){return i="useFormState",L(),XZ(),fB(Z)},useActionState:function(Z){return i="useActionState",L(),XZ(),fB(Z)},useOptimistic:function(Z,X){return i="useOptimistic",L(),XZ(),j1(Z,X)},useMemoCache:function(Z){return L(),$z(Z)},useHostTransitionStatus:Ez,useCacheRefresh:function(){return i="useCacheRefresh",XZ(),FX().memoizedState},useEffectEvent:function(Z){return i="useEffectEvent",L(),XZ(),dB(Z)}};var SI={},EI=new Set,kI=new Set,xI=new Set,yI=new Set,vI=new Set,hI=new Set,bI=new Set,gI=new Set,mI=new Set,fI=new Set;Object.freeze(SI);var B9={enqueueSetState:function(Z,X,Y){Z=Z._reactInternals;var J=TQ(Z),G=WG(J);G.payload=X,Y!==void 0&&Y!==null&&(MM(Y),G.callback=Y),X=UG(Z,G,J),X!==null&&(vJ(J,"this.setState()",Z),gX(X,Z,J),rW(X,Z,J))},enqueueReplaceState:function(Z,X,Y){Z=Z._reactInternals;var J=TQ(Z),G=WG(J);G.tag=wI,G.payload=X,Y!==void 0&&Y!==null&&(MM(Y),G.callback=Y),X=UG(Z,G,J),X!==null&&(vJ(J,"this.replaceState()",Z),gX(X,Z,J),rW(X,Z,J))},enqueueForceUpdate:function(Z,X){Z=Z._reactInternals;var Y=TQ(Z),J=WG(Y);J.tag=VI,X!==void 0&&X!==null&&(MM(X),J.callback=X),X=UG(Z,J,Y),X!==null&&(vJ(Y,"this.forceUpdate()",Z),gX(X,Z,Y),rW(X,Z,Y))}},x_=null,L9=null,A9=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."),ZY=!1,uI={},dI={},cI={},pI={},y_=!1,lI={},aL={},O9={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},iI=!1,nI=null;nI=new Set;var mq=!1,XY=!1,F9=!1,sI=typeof WeakSet==="function"?WeakSet:Set,LY=null,v_=null,h_=null,YY=null,ZQ=!1,MJ=null,HY=!1,rU=8192,zE={getCacheForType:function(Z){var X=kX(rX),Y=X.data.get(Z);return Y===void 0&&(Y=Z(),X.data.set(Z,Y)),Y},cacheSignal:function(){return kX(rX).controller.signal},getOwner:function(){return RQ}};if(typeof Symbol==="function"&&Symbol.for){var tU=Symbol.for;tU("selector.component"),tU("selector.has_pseudo_class"),tU("selector.role"),tU("selector.test_id"),tU("selector.text")}var HE=[],_E=typeof WeakMap==="function"?WeakMap:Map,AY=0,_Y=2,$Q=4,fq=0,eU=1,nz=2,oL=3,xG=4,rL=6,aI=5,HX=AY,RX=null,aZ=null,sZ=0,XQ=0,tL=1,sz=2,ZK=3,oI=4,M9=5,XK=6,eL=7,N9=8,az=9,MX=XQ,SQ=null,yG=!1,b_=!1,I9=!1,qq=0,bX=fq,vG=0,hG=0,T9=0,YQ=0,oz=0,YK=null,nY=null,ZA=!1,XA=0,rI=0,tI=300,YA=1/0,eI=500,QK=null,lX=null,bG=null,QA=0,w9=1,V9=2,ZT=3,gG=0,XT=1,YT=2,QT=3,JT=4,JA=5,QY=0,mG=null,g_=null,NJ=0,R9=0,j9=-0,C9=null,qT=null,GT=null,IJ=QA,zT=null,WE=50,JK=0,P9=null,D9=!1,qA=!1,UE=50,rz=0,qK=null,m_=!1,GA=null,HT=!1,_T=new Set,KE={},zA=null,f_=null,$9=!1,S9=!1,HA=!1,E9=!1,fG=0,k9={};(function(){for(var Z=0;Z<c0.length;Z++){var X=c0[Z],Y=X.toLowerCase();X=X[0].toUpperCase()+X.slice(1),WJ(Y,"on"+X)}WJ(m7,"onAnimationEnd"),WJ(f7,"onAnimationIteration"),WJ(u7,"onAnimationStart"),WJ("dblclick","onDoubleClick"),WJ("focusin","onFocus"),WJ("focusout","onBlur"),WJ(dS,"onTransitionRun"),WJ(cS,"onTransitionStart"),WJ(pS,"onTransitionCancel"),WJ(d7,"onTransitionEnd")})(),LQ("onMouseEnter",["mouseout","mouseover"]),LQ("onMouseLeave",["mouseout","mouseover"]),LQ("onPointerEnter",["pointerout","pointerover"]),LQ("onPointerLeave",["pointerout","pointerover"]),vY("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),vY("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),vY("onBeforeInput",["compositionend","keypress","textInput","paste"]),vY("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),vY("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),vY("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var GK="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(" "),x9=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(GK)),_A="_reactListening"+Math.random().toString(36).slice(2),WT=!1,UT=!1,WA=!1,KT=!1,UA=!1,KA=!1,BT=!1,BA={},BE=/\r\n?/g,LE=/\u0000|\uFFFD/g,tz="http://www.w3.org/1999/xlink",y9="http://www.w3.org/XML/1998/namespace",AE="javascript:throw new Error('React form unexpectedly submitted.')",OE="suppressHydrationWarning",ez="&",LA="/&",zK="$",HK="/$",uG="$?",ZH="$~",u_="$!",FE="html",ME="body",NE="head",v9="F!",LT="F",AT="loading",IE="style",uq=0,d_=1,AA=2,h9=null,b9=null,OT={dialog:!0,webview:!0},g9=null,_K=void 0,FT=typeof setTimeout==="function"?setTimeout:void 0,TE=typeof clearTimeout==="function"?clearTimeout:void 0,XH=-1,MT=typeof Promise==="function"?Promise:void 0,wE=typeof queueMicrotask==="function"?queueMicrotask:typeof MT<"u"?function(Z){return MT.resolve(null).then(Z).catch(G$)}:FT,m9=null,YH=0,WK=1,NT=2,IT=3,tQ=4,eQ=new Map,TT=new Set,dq=OX.d;OX.d={f:function(){var Z=dq.f(),X=X_();return Z||X},r:function(Z){var X=fZ(Z);X!==null&&X.tag===5&&X.type==="form"?g1(X):dq.r(Z)},D:function(Z){dq.D(Z),EN("dns-prefetch",Z,null)},C:function(Z,X){dq.C(Z,X),EN("preconnect",Z,X)},L:function(Z,X,Y){dq.L(Z,X,Y);var J=c_;if(J&&Z&&X){var G='link[rel="preload"][as="'+fQ(X)+'"]';X==="image"?Y&&Y.imageSrcSet?(G+='[imagesrcset="'+fQ(Y.imageSrcSet)+'"]',typeof Y.imageSizes==="string"&&(G+='[imagesizes="'+fQ(Y.imageSizes)+'"]')):G+='[href="'+fQ(Z)+'"]':G+='[href="'+fQ(Z)+'"]';var z=G;switch(X){case"style":z=J_(Z);break;case"script":z=q_(Z)}eQ.has(z)||(Z=rZ({rel:"preload",href:X==="image"&&Y&&Y.imageSrcSet?void 0:Z,as:X},Y),eQ.set(z,Z),J.querySelector(G)!==null||X==="style"&&J.querySelector(OU(z))||X==="script"&&J.querySelector(FU(z))||(X=J.createElement("link"),RY(X,"link",Z),SZ(X),J.head.appendChild(X)))}},m:function(Z,X){dq.m(Z,X);var Y=c_;if(Y&&Z){var J=X&&typeof X.as==="string"?X.as:"script",G='link[rel="modulepreload"][as="'+fQ(J)+'"][href="'+fQ(Z)+'"]',z=G;switch(J){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":z=q_(Z)}if(!eQ.has(z)&&(Z=rZ({rel:"modulepreload",href:Z},X),eQ.set(z,Z),Y.querySelector(G)===null)){switch(J){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(Y.querySelector(FU(z)))return}J=Y.createElement("link"),RY(J,"link",Z),SZ(J),Y.head.appendChild(J)}}},X:function(Z,X){dq.X(Z,X);var Y=c_;if(Y&&Z){var J=WX(Y).hoistableScripts,G=q_(Z),z=J.get(G);z||(z=Y.querySelector(FU(G)),z||(Z=rZ({src:Z,async:!0},X),(X=eQ.get(G))&&H0(Z,X),z=Y.createElement("script"),SZ(z),RY(z,"link",Z),Y.head.appendChild(z)),z={type:"script",instance:z,count:1,state:null},J.set(G,z))}},S:function(Z,X,Y){dq.S(Z,X,Y);var J=c_;if(J&&Z){var G=WX(J).hoistableStyles,z=J_(Z);X=X||"default";var U=G.get(z);if(!U){var B={loading:YH,preload:null};if(U=J.querySelector(OU(z)))B.loading=WK|tQ;else{Z=rZ({rel:"stylesheet",href:Z,"data-precedence":X},Y),(Y=eQ.get(z))&&z0(Z,Y);var F=U=J.createElement("link");SZ(F),RY(F,"link",Z),F._p=new Promise(function(T,x){F.onload=T,F.onerror=x}),F.addEventListener("load",function(){B.loading|=WK}),F.addEventListener("error",function(){B.loading|=NT}),B.loading|=tQ,WL(U,X,J)}U={type:"stylesheet",instance:U,count:1,state:B},G.set(z,U)}}},M:function(Z,X){dq.M(Z,X);var Y=c_;if(Y&&Z){var J=WX(Y).hoistableScripts,G=q_(Z),z=J.get(G);z||(z=Y.querySelector(FU(G)),z||(Z=rZ({src:Z,async:!0,type:"module"},X),(X=eQ.get(G))&&H0(Z,X),z=Y.createElement("script"),SZ(z),RY(z,"link",Z),Y.head.appendChild(z)),z={type:"script",instance:z,count:1,state:null},J.set(G,z))}}};var c_=typeof document>"u"?null:document,OA=null,VE=60000,RE=800,jE=500,f9=0,u9=null,FA=null,QH=f$,UK={$$typeof:aJ,Provider:null,Consumer:null,_currentValue:QH,_currentValue2:QH,_threadCount:0},wT="%c%s%c",VT="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",RT="",MA=" ",CE=Function.prototype.bind,jT=!1,CT=null,PT=null,DT=null,$T=null,ST=null,ET=null,kT=null,xT=null,yT=null,vT=null;CT=function(Z,X,Y,J){X=Q(Z,X),X!==null&&(Y=q(X.memoizedState,Y,0,J),X.memoizedState=Y,X.baseState=Y,Z.memoizedProps=rZ({},Z.memoizedProps),Y=hY(Z,2),Y!==null&&gX(Y,Z,2))},PT=function(Z,X,Y){X=Q(Z,X),X!==null&&(Y=W(X.memoizedState,Y,0),X.memoizedState=Y,X.baseState=Y,Z.memoizedProps=rZ({},Z.memoizedProps),Y=hY(Z,2),Y!==null&&gX(Y,Z,2))},DT=function(Z,X,Y,J){X=Q(Z,X),X!==null&&(Y=H(X.memoizedState,Y,J),X.memoizedState=Y,X.baseState=Y,Z.memoizedProps=rZ({},Z.memoizedProps),Y=hY(Z,2),Y!==null&&gX(Y,Z,2))},$T=function(Z,X,Y){Z.pendingProps=q(Z.memoizedProps,X,0,Y),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),X=hY(Z,2),X!==null&&gX(X,Z,2)},ST=function(Z,X){Z.pendingProps=W(Z.memoizedProps,X,0),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),X=hY(Z,2),X!==null&&gX(X,Z,2)},ET=function(Z,X,Y){Z.pendingProps=H(Z.memoizedProps,X,Y),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),X=hY(Z,2),X!==null&&gX(X,Z,2)},kT=function(Z){var X=hY(Z,2);X!==null&&gX(X,Z,2)},xT=function(Z){var X=uH(),Y=hY(Z,X);Y!==null&&gX(Y,Z,X)},yT=function(Z){A=Z},vT=function(Z){K=Z};var NA=!0,IA=null,d9=!1,dG=null,cG=null,pG=null,KK=new Map,BK=new Map,lG=[],PE="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(" "),TA=null;if(AL.prototype.render=L0.prototype.render=function(Z){var X=this._internalRoot;if(X===null)throw Error("Cannot update an unmounted root.");var Y=arguments;typeof Y[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()."):b(Y[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 Y[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),Y=Z;var J=X.current,G=TQ(J);_0(J,G,Y,X,null,null)},AL.prototype.unmount=L0.prototype.unmount=function(){var Z=arguments;if(typeof Z[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()."),Z=this._internalRoot,Z!==null){this._internalRoot=null;var X=Z.containerInfo;(HX&(_Y|$Q))!==AY&&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."),_0(Z.current,2,null,Z,null,null),X_(),X[TG]=null}},AL.prototype.unstable_scheduleHydration=function(Z){if(Z){var X=u();Z={blockedOn:null,target:Z,priority:X};for(var Y=0;Y<lG.length&&X!==0&&X<lG[Y].priority;Y++);lG.splice(Y,0,Z),Y===0&&lN(Z)}},function(){var Z=o_.version;if(Z!=="19.2.7")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
229
229
  - react: `+(Z+`
230
230
  - react-dom: 19.2.7
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"),OX.findDOMNode=function(Z){var X=Z._reactInternals;if(X===void 0){if(typeof Z.render==="function")throw Error("Unable to find node on an unmounted component.");throw Z=Object.keys(Z).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+Z)}return Z=LZ(X),Z=Z!==null?kZ(Z):null,Z=Z===null?null:Z.stateNode,Z},!function(){var Z={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:s,reconcilerVersion:"19.2.7"};return Z.overrideHookState=CT,Z.overrideHookStateDeletePath=PT,Z.overrideHookStateRenamePath=DT,Z.overrideProps=$T,Z.overridePropsDeletePath=ST,Z.overridePropsRenamePath=ET,Z.scheduleUpdate=kT,Z.scheduleRetry=xT,Z.setErrorHandler=yT,Z.setSuspenseHandler=vT,Z.scheduleRefresh=h,Z.scheduleRoot=j,Z.setRefreshHandler=d,Z.getCurrentFiber=k$,fz(Z)}()&&Zq&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var hT=window.location.protocol;/^(https?|file):$/.test(hT)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(hT==="file:"?`
232
- You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}zk.createRoot=function(Z,X){if(!b(Z))throw Error("Target container is not a DOM element.");aN(Z);var Y=!1,J="",G=i1,H=n1,U=s1;return X!==null&&X!==void 0&&(X.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof X==="object"&&X!==null&&X.$$typeof===sJ&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
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"),OX.findDOMNode=function(Z){var X=Z._reactInternals;if(X===void 0){if(typeof Z.render==="function")throw Error("Unable to find node on an unmounted component.");throw Z=Object.keys(Z).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+Z)}return Z=LZ(X),Z=Z!==null?kZ(Z):null,Z=Z===null?null:Z.stateNode,Z},!function(){var Z={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:s,reconcilerVersion:"19.2.7"};return Z.overrideHookState=CT,Z.overrideHookStateDeletePath=PT,Z.overrideHookStateRenamePath=DT,Z.overrideProps=$T,Z.overridePropsDeletePath=ST,Z.overridePropsRenamePath=ET,Z.scheduleUpdate=kT,Z.scheduleRetry=xT,Z.setErrorHandler=yT,Z.setSuspenseHandler=vT,Z.scheduleRefresh=h,Z.scheduleRoot=j,Z.setRefreshHandler=d,Z.getCurrentFiber=k$,fH(Z)}()&&Zq&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var hT=window.location.protocol;/^(https?|file):$/.test(hT)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(hT==="file:"?`
232
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Hk.createRoot=function(Z,X){if(!b(Z))throw Error("Target container is not a DOM element.");aN(Z);var Y=!1,J="",G=i1,z=n1,U=s1;return X!==null&&X!==void 0&&(X.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof X==="object"&&X!==null&&X.$$typeof===sJ&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
233
233
 
234
234
  let root = createRoot(domContainer);
235
- root.render(<App />);`),X.unstable_strictMode===!0&&(Y=!0),X.identifierPrefix!==void 0&&(J=X.identifierPrefix),X.onUncaughtError!==void 0&&(G=X.onUncaughtError),X.onCaughtError!==void 0&&(H=X.onCaughtError),X.onRecoverableError!==void 0&&(U=X.onRecoverableError)),X=gN(Z,1,!1,null,null,Y,J,null,G,H,U,sN),Z[TG]=X.current,aM(Z),new L0(X)},zk.hydrateRoot=function(Z,X,Y){if(!b(Z))throw Error("Target container is not a DOM element.");aN(Z),X===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var J=!1,G="",H=i1,U=n1,B=s1,F=null;return Y!==null&&Y!==void 0&&(Y.unstable_strictMode===!0&&(J=!0),Y.identifierPrefix!==void 0&&(G=Y.identifierPrefix),Y.onUncaughtError!==void 0&&(H=Y.onUncaughtError),Y.onCaughtError!==void 0&&(U=Y.onCaughtError),Y.onRecoverableError!==void 0&&(B=Y.onRecoverableError),Y.formState!==void 0&&(F=Y.formState)),X=gN(Z,1,!0,X,Y!=null?Y:null,J,G,F,H,U,B,sN),X.context=mN(null),Y=X.current,J=TQ(Y),J=NH(J),G=WG(J),G.callback=null,UG(Y,G,J),vJ(J,"hydrateRoot()",null),Y=J,X.current.lanes=Y,QG(X,Y),iJ(X),Z[TG]=X.current,aM(Z),new AL(X)},zk.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Z2=pq((ug,eT)=>{var _k=f(tT());eT.exports=_k});function X2(Q,q){if(typeof Q==="function")return Q(q);else if(Q!==null&&Q!==void 0)Q.current=q}function Y2(...Q){return(q)=>{let z=!1,_=Q.map((W)=>{let K=X2(W,q);if(!z&&typeof K=="function")z=!0;return K});if(z)return()=>{for(let W=0;W<_.length;W++){let K=_[W];if(typeof K=="function")K();else X2(Q[W],null)}}}}var Wk;var Q2=C(()=>{Wk=f(ZZ(),1)});function Kk(Q){return typeof Q==="object"&&Q!==null&&"then"in Q}function J2(Q){return Q!=null&&typeof Q==="object"&&"$$typeof"in Q&&Q.$$typeof===Uk&&"_payload"in Q&&Kk(Q._payload)}function Bk(Q){let q=Lk(Q),z=JY.forwardRef((_,W)=>{let{children:K,...A}=_;if(J2(K)&&typeof xA==="function")K=xA(K._payload);let L=JY.Children.toArray(K),O=L.find(Ok);if(O){let I=O.props.children,N=L.map((M)=>{if(M===O){if(JY.Children.count(I)>1)return JY.Children.only(null);return JY.isValidElement(I)?I.props.children:null}else return M});return kA.jsx(q,{...A,ref:W,children:JY.isValidElement(I)?JY.cloneElement(I,void 0,N):null})}return kA.jsx(q,{...A,ref:W,children:K})});return z.displayName=`${Q}.Slot`,z}function Lk(Q){let q=JY.forwardRef((z,_)=>{let{children:W,...K}=z;if(J2(W)&&typeof xA==="function")W=xA(W._payload);if(JY.isValidElement(W)){let A=Mk(W),L=Fk(K,W.props);if(W.type!==JY.Fragment)L.ref=_?Y2(_,A):A;return JY.cloneElement(W,L)}return JY.Children.count(W)>1?JY.Children.only(null):null});return q.displayName=`${Q}.SlotClone`,q}function Ok(Q){return JY.isValidElement(Q)&&typeof Q.type==="function"&&"__radixId"in Q.type&&Q.type.__radixId===Ak}function Fk(Q,q){let z={...q};for(let _ in q){let W=Q[_],K=q[_];if(/^on[A-Z]/.test(_)){if(W&&K)z[_]=(...L)=>{let O=K(...L);return W(...L),O};else if(W)z[_]=W}else if(_==="style")z[_]={...W,...K};else if(_==="className")z[_]=[W,K].filter(Boolean).join(" ")}return{...Q,...z}}function Mk(Q){let q=Object.getOwnPropertyDescriptor(Q.props,"ref")?.get,z=q&&"isReactWarning"in q&&q.isReactWarning;if(z)return Q.ref;if(q=Object.getOwnPropertyDescriptor(Q,"ref")?.get,z=q&&"isReactWarning"in q&&q.isReactWarning,z)return Q.props.ref;return Q.props.ref||Q.ref}var JY,kA,Uk,xA,q2,Ak;var G2=C(()=>{Q2();JY=f(ZZ(),1),kA=f(i_(),1),Uk=Symbol.for("react.lazy"),xA=JY[" use ".trim().toString()];q2=Bk("Slot");Ak=Symbol("radix.slottable")});function H2(Q){var q,z,_="";if(typeof Q=="string"||typeof Q=="number")_+=Q;else if(typeof Q=="object")if(Array.isArray(Q)){var W=Q.length;for(q=0;q<W;q++)Q[q]&&(z=H2(Q[q]))&&(_&&(_+=" "),_+=z)}else for(z in Q)Q[z]&&(_&&(_+=" "),_+=z);return _}function IK(){for(var Q,q,z=0,_="",W=arguments.length;z<W;z++)(Q=arguments[z])&&(q=H2(Q))&&(_&&(_+=" "),_+=q);return _}var z2;var yA=C(()=>{z2=IK});var _2=(Q)=>typeof Q==="boolean"?`${Q}`:Q===0?"0":Q,W2,U2=(Q,q)=>(z)=>{var _;if((q===null||q===void 0?void 0:q.variants)==null)return W2(Q,z===null||z===void 0?void 0:z.class,z===null||z===void 0?void 0:z.className);let{variants:W,defaultVariants:K}=q,A=Object.keys(W).map((I)=>{let N=z===null||z===void 0?void 0:z[I],M=K===null||K===void 0?void 0:K[I];if(N===null)return null;let R=_2(N)||_2(M);return W[I][R]}),L=z&&Object.entries(z).reduce((I,N)=>{let[M,R]=N;if(R===void 0)return I;return I[M]=R,I},{}),O=q===null||q===void 0?void 0:(_=q.compoundVariants)===null||_===void 0?void 0:_.reduce((I,N)=>{let{class:M,className:R,...j}=N;return Object.entries(j).every((h)=>{let[d,b]=h;return Array.isArray(b)?b.includes({...K,...L}[d]):{...K,...L}[d]===b})?[...I,M,R]:I},[]);return W2(Q,A,O,z===null||z===void 0?void 0:z.class,z===null||z===void 0?void 0:z.className)};var K2=C(()=>{yA();W2=IK});var Nk=(Q,q)=>{let z=Array(Q.length+q.length);for(let _=0;_<Q.length;_++)z[_]=Q[_];for(let _=0;_<q.length;_++)z[Q.length+_]=q[_];return z},Ik=(Q,q)=>({classGroupId:Q,validator:q}),I2=(Q=new Map,q=null,z)=>({nextPart:Q,validators:q,classGroupId:z}),B2,Tk=(Q)=>{let q=Vk(Q),{conflictingClassGroups:z,conflictingClassGroupModifiers:_}=Q;return{getClassGroupId:(A)=>{if(A.startsWith("[")&&A.endsWith("]"))return wk(A);let L=A.split("-"),O=L[0]===""&&L.length>1?1:0;return T2(L,O,q)},getConflictingClassGroupIds:(A,L)=>{if(L){let O=_[A],I=z[A];if(O){if(I)return Nk(I,O);return O}return I||B2}return z[A]||B2}}},T2=(Q,q,z)=>{if(Q.length-q===0)return z.classGroupId;let W=Q[q],K=z.nextPart.get(W);if(K){let I=T2(Q,q+1,K);if(I)return I}let A=z.validators;if(A===null)return;let L=q===0?Q.join("-"):Q.slice(q).join("-"),O=A.length;for(let I=0;I<O;I++){let N=A[I];if(N.validator(L))return N.classGroupId}return},wk=(Q)=>Q.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let q=Q.slice(1,-1),z=q.indexOf(":"),_=q.slice(0,z);return _?"arbitrary.."+_:void 0})(),Vk=(Q)=>{let{theme:q,classGroups:z}=Q;return Rk(z,q)},Rk=(Q,q)=>{let z=I2();for(let _ in Q){let W=Q[_];H3(W,z,_,q)}return z},H3=(Q,q,z,_)=>{let W=Q.length;for(let K=0;K<W;K++){let A=Q[K];jk(A,q,z,_)}},jk=(Q,q,z,_)=>{if(typeof Q==="string"){Ck(Q,q,z);return}if(typeof Q==="function"){Pk(Q,q,z,_);return}Dk(Q,q,z,_)},Ck=(Q,q,z)=>{let _=Q===""?q:w2(q,Q);_.classGroupId=z},Pk=(Q,q,z,_)=>{if($k(Q)){H3(Q(_),q,z,_);return}if(q.validators===null)q.validators=[];q.validators.push(Ik(z,Q))},Dk=(Q,q,z,_)=>{let W=Object.entries(Q),K=W.length;for(let A=0;A<K;A++){let[L,O]=W[A];H3(O,w2(q,L),z,_)}},w2=(Q,q)=>{let z=Q,_=q.split("-"),W=_.length;for(let K=0;K<W;K++){let A=_[K],L=z.nextPart.get(A);if(!L)L=I2(),z.nextPart.set(A,L);z=L}return z},$k=(Q)=>("isThemeGetter"in Q)&&Q.isThemeGetter===!0,Sk=(Q)=>{if(Q<1)return{get:()=>{return},set:()=>{}};let q=0,z=Object.create(null),_=Object.create(null),W=(K,A)=>{if(z[K]=A,q++,q>Q)q=0,_=z,z=Object.create(null)};return{get(K){let A=z[K];if(A!==void 0)return A;if((A=_[K])!==void 0)return W(K,A),A},set(K,A){if(K in z)z[K]=A;else W(K,A)}}},Ek,L2=(Q,q,z,_,W)=>({modifiers:Q,hasImportantModifier:q,baseClassName:z,maybePostfixModifierPosition:_,isExternal:W}),kk=(Q)=>{let{prefix:q,experimentalParseClassName:z}=Q,_=(W)=>{let K=[],A=0,L=0,O=0,I,N=W.length;for(let d=0;d<N;d++){let b=W[d];if(A===0&&L===0){if(b===":"){K.push(W.slice(O,d)),O=d+1;continue}if(b==="/"){I=d;continue}}if(b==="[")A++;else if(b==="]")A--;else if(b==="(")L++;else if(b===")")L--}let M=K.length===0?W:W.slice(O),R=M,j=!1;if(M.endsWith("!"))R=M.slice(0,-1),j=!0;else if(M.startsWith("!"))R=M.slice(1),j=!0;let h=I&&I>O?I-O:void 0;return L2(K,j,R,h)};if(q){let W=q+":",K=_;_=(A)=>A.startsWith(W)?K(A.slice(W.length)):L2(Ek,!1,A,void 0,!0)}if(z){let W=_;_=(K)=>z({className:K,parseClassName:W})}return _},xk=(Q)=>{let q=new Map;return Q.orderSensitiveModifiers.forEach((z,_)=>{q.set(z,1e6+_)}),(z)=>{let _=[],W=[];for(let K=0;K<z.length;K++){let A=z[K],L=A[0]==="[",O=q.has(A);if(L||O){if(W.length>0)W.sort(),_.push(...W),W=[];_.push(A)}else W.push(A)}if(W.length>0)W.sort(),_.push(...W);return _}},yk=(Q)=>({cache:Sk(Q.cacheSize),parseClassName:kk(Q),sortModifiers:xk(Q),postfixLookupClassGroupIds:vk(Q),...Tk(Q)}),vk=(Q)=>{let q=Object.create(null),z=Q.postfixLookupClassGroups;if(z)for(let _=0;_<z.length;_++)q[z[_]]=!0;return q},hk,bk=(Q,q)=>{let{parseClassName:z,getClassGroupId:_,getConflictingClassGroupIds:W,sortModifiers:K,postfixLookupClassGroupIds:A}=q,L=[],O=Q.trim().split(hk),I="";for(let N=O.length-1;N>=0;N-=1){let M=O[N],{isExternal:R,modifiers:j,hasImportantModifier:h,baseClassName:d,maybePostfixModifierPosition:b}=z(M);if(R){I=M+(I.length>0?" "+I:I);continue}let a=!!b,t;if(a){let JZ=d.substring(0,b);t=_(JZ);let l=t&&A[t]?_(d):void 0;if(l&&l!==t)t=l,a=!1}else t=_(d);if(!t){if(!a){I=M+(I.length>0?" "+I:I);continue}if(t=_(d),!t){I=M+(I.length>0?" "+I:I);continue}a=!1}let qZ=j.length===0?"":j.length===1?j[0]:K(j).join(":"),QZ=h?qZ+"!":qZ,LZ=QZ+t;if(L.indexOf(LZ)>-1)continue;L.push(LZ);let kZ=W(t,a);for(let JZ=0;JZ<kZ.length;++JZ){let l=kZ[JZ];L.push(QZ+l)}I=M+(I.length>0?" "+I:I)}return I},gk=(...Q)=>{let q=0,z,_,W="";while(q<Q.length)if(z=Q[q++]){if(_=V2(z))W&&(W+=" "),W+=_}return W},V2=(Q)=>{if(typeof Q==="string")return Q;let q,z="";for(let _=0;_<Q.length;_++)if(Q[_]){if(q=V2(Q[_]))z&&(z+=" "),z+=q}return z},A2=(Q,...q)=>{let z,_,W,K,A=(O)=>{let I=q.reduce((N,M)=>M(N),Q());return z=yk(I),_=z.cache.get,W=z.cache.set,K=L,L(O)},L=(O)=>{let I=_(O);if(I)return I;let N=bk(O,z);return W(O,N),N};return K=A,(...O)=>K(gk(...O))},mk,WY=(Q)=>{let q=(z)=>z[Q]||mk;return q.isThemeGetter=!0,q},R2,j2,fk,uk,dk,ck,pk,lk,nG=(Q)=>fk.test(Q),ZX=(Q)=>!!Q&&!Number.isNaN(Number(Q)),zq=(Q)=>!!Q&&Number.isInteger(Number(Q)),q3=(Q)=>Q.endsWith("%")&&ZX(Q.slice(0,-1)),iq=(Q)=>uk.test(Q),C2=()=>!0,ik=(Q)=>dk.test(Q)&&!ck.test(Q),z3=()=>!1,nk=(Q)=>pk.test(Q),sk=(Q)=>lk.test(Q),ak=(Q)=>!FZ(Q)&&!IZ(Q),ok=(Q)=>Q.startsWith("@container")&&(Q[10]==="/"&&Q[11]!==void 0||Q[11]==="s"&&Q[16]!==void 0&&Q.startsWith("-size/",10)||Q[11]==="n"&&Q[18]!==void 0&&Q.startsWith("-normal/",10)),rk=(Q)=>sG(Q,$2,z3),FZ=(Q)=>R2.test(Q),Hz=(Q)=>sG(Q,S2,ik),O2=(Q)=>sG(Q,qx,ZX),tk=(Q)=>sG(Q,k2,C2),ek=(Q)=>sG(Q,E2,z3),F2=(Q)=>sG(Q,P2,z3),Zx=(Q)=>sG(Q,D2,sk),vA=(Q)=>sG(Q,x2,nk),IZ=(Q)=>j2.test(Q),TK=(Q)=>zz(Q,S2),Xx=(Q)=>zz(Q,E2),M2=(Q)=>zz(Q,P2),Yx=(Q)=>zz(Q,$2),Qx=(Q)=>zz(Q,D2),hA=(Q)=>zz(Q,x2,!0),Jx=(Q)=>zz(Q,k2,!0),sG=(Q,q,z)=>{let _=R2.exec(Q);if(_){if(_[1])return q(_[1]);return z(_[2])}return!1},zz=(Q,q,z=!1)=>{let _=j2.exec(Q);if(_){if(_[1])return q(_[1]);return z}return!1},P2=(Q)=>Q==="position"||Q==="percentage",D2=(Q)=>Q==="image"||Q==="url",$2=(Q)=>Q==="length"||Q==="size"||Q==="bg-size",S2=(Q)=>Q==="length",qx=(Q)=>Q==="number",E2=(Q)=>Q==="family-name",k2=(Q)=>Q==="number"||Q==="weight",x2=(Q)=>Q==="shadow",N2=()=>{let Q=WY("color"),q=WY("font"),z=WY("text"),_=WY("font-weight"),W=WY("tracking"),K=WY("leading"),A=WY("breakpoint"),L=WY("container"),O=WY("spacing"),I=WY("radius"),N=WY("shadow"),M=WY("inset-shadow"),R=WY("text-shadow"),j=WY("drop-shadow"),h=WY("blur"),d=WY("perspective"),b=WY("aspect"),a=WY("ease"),t=WY("animate"),qZ=()=>["auto","avoid","all","avoid-page","page","left","right","column"],QZ=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],LZ=()=>[...QZ(),IZ,FZ],kZ=()=>["auto","hidden","clip","visible","scroll"],JZ=()=>["auto","contain","none"],l=()=>[IZ,FZ,O],OZ=()=>[nG,"full","auto",...l()],n=()=>[zq,"none","subgrid",IZ,FZ],wZ=()=>["auto",{span:["full",zq,IZ,FZ]},zq,IZ,FZ],WZ=()=>[zq,"auto",IZ,FZ],HZ=()=>["auto","min","max","fr",IZ,FZ],v=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],m=()=>["start","end","center","stretch","center-safe","end-safe"],E=()=>["auto",...l()],g=()=>[nG,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...l()],e=()=>[nG,"screen","full","dvw","lvw","svw","min","max","fit",...l()],p=()=>[nG,"screen","full","lh","dvh","lvh","svh","min","max","fit",...l()],w=()=>[Q,IZ,FZ],o=()=>[...QZ(),M2,F2,{position:[IZ,FZ]}],AZ=()=>["no-repeat",{repeat:["","x","y","space","round"]}],VZ=()=>["auto","cover","contain",Yx,rk,{size:[IZ,FZ]}],vZ=()=>[q3,TK,Hz],JX=()=>["","none","full",I,IZ,FZ],NZ=()=>["",ZX,TK,Hz],YX=()=>["solid","dashed","dotted","double"],TX=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],BX=()=>[ZX,q3,M2,F2],Oq=()=>["","none",h,IZ,FZ],UZ=()=>["none",ZX,IZ,FZ],KQ=()=>["none",ZX,IZ,FZ],BQ=()=>[ZX,IZ,FZ],yY=()=>[nG,"full",...l()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[iq],breakpoint:[iq],color:[C2],container:[iq],"drop-shadow":[iq],ease:["in","out","in-out"],font:[ak],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[iq],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[iq],shadow:[iq],spacing:["px",ZX],text:[iq],"text-shadow":[iq],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",nG,FZ,IZ,b]}],container:["container"],"container-type":[{"@container":["","normal","size",IZ,FZ]}],"container-named":[ok],columns:[{columns:[ZX,FZ,IZ,L]}],"break-after":[{"break-after":qZ()}],"break-before":[{"break-before":qZ()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:LZ()}],overflow:[{overflow:kZ()}],"overflow-x":[{"overflow-x":kZ()}],"overflow-y":[{"overflow-y":kZ()}],overscroll:[{overscroll:JZ()}],"overscroll-x":[{"overscroll-x":JZ()}],"overscroll-y":[{"overscroll-y":JZ()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:OZ()}],"inset-x":[{"inset-x":OZ()}],"inset-y":[{"inset-y":OZ()}],start:[{"inset-s":OZ(),start:OZ()}],end:[{"inset-e":OZ(),end:OZ()}],"inset-bs":[{"inset-bs":OZ()}],"inset-be":[{"inset-be":OZ()}],top:[{top:OZ()}],right:[{right:OZ()}],bottom:[{bottom:OZ()}],left:[{left:OZ()}],visibility:["visible","invisible","collapse"],z:[{z:[zq,"auto",IZ,FZ]}],basis:[{basis:[nG,"full","auto",L,...l()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ZX,nG,"auto","initial","none",FZ]}],grow:[{grow:["",ZX,IZ,FZ]}],shrink:[{shrink:["",ZX,IZ,FZ]}],order:[{order:[zq,"first","last","none",IZ,FZ]}],"grid-cols":[{"grid-cols":n()}],"col-start-end":[{col:wZ()}],"col-start":[{"col-start":WZ()}],"col-end":[{"col-end":WZ()}],"grid-rows":[{"grid-rows":n()}],"row-start-end":[{row:wZ()}],"row-start":[{"row-start":WZ()}],"row-end":[{"row-end":WZ()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":HZ()}],"auto-rows":[{"auto-rows":HZ()}],gap:[{gap:l()}],"gap-x":[{"gap-x":l()}],"gap-y":[{"gap-y":l()}],"justify-content":[{justify:[...v(),"normal"]}],"justify-items":[{"justify-items":[...m(),"normal"]}],"justify-self":[{"justify-self":["auto",...m()]}],"align-content":[{content:["normal",...v()]}],"align-items":[{items:[...m(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...m(),{baseline:["","last"]}]}],"place-content":[{"place-content":v()}],"place-items":[{"place-items":[...m(),"baseline"]}],"place-self":[{"place-self":["auto",...m()]}],p:[{p:l()}],px:[{px:l()}],py:[{py:l()}],ps:[{ps:l()}],pe:[{pe:l()}],pbs:[{pbs:l()}],pbe:[{pbe:l()}],pt:[{pt:l()}],pr:[{pr:l()}],pb:[{pb:l()}],pl:[{pl:l()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mbs:[{mbs:E()}],mbe:[{mbe:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":l()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":l()}],"space-y-reverse":["space-y-reverse"],size:[{size:g()}],"inline-size":[{inline:["auto",...e()]}],"min-inline-size":[{"min-inline":["auto",...e()]}],"max-inline-size":[{"max-inline":["none",...e()]}],"block-size":[{block:["auto",...p()]}],"min-block-size":[{"min-block":["auto",...p()]}],"max-block-size":[{"max-block":["none",...p()]}],w:[{w:[L,"screen",...g()]}],"min-w":[{"min-w":[L,"screen","none",...g()]}],"max-w":[{"max-w":[L,"screen","none","prose",{screen:[A]},...g()]}],h:[{h:["screen","lh",...g()]}],"min-h":[{"min-h":["screen","lh","none",...g()]}],"max-h":[{"max-h":["screen","lh",...g()]}],"font-size":[{text:["base",z,TK,Hz]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[_,Jx,tk]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",q3,FZ]}],"font-family":[{font:[Xx,ek,q]}],"font-features":[{"font-features":[FZ]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[W,IZ,FZ]}],"line-clamp":[{"line-clamp":[ZX,"none",IZ,O2]}],leading:[{leading:[K,...l()]}],"list-image":[{"list-image":["none",IZ,FZ]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",IZ,FZ]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:w()}],"text-color":[{text:w()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...YX(),"wavy"]}],"text-decoration-thickness":[{decoration:[ZX,"from-font","auto",IZ,Hz]}],"text-decoration-color":[{decoration:w()}],"underline-offset":[{"underline-offset":[ZX,"auto",IZ,FZ]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:l()}],"tab-size":[{tab:[zq,IZ,FZ]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",IZ,FZ]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",IZ,FZ]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:o()}],"bg-repeat":[{bg:AZ()}],"bg-size":[{bg:VZ()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},zq,IZ,FZ],radial:["",IZ,FZ],conic:[zq,IZ,FZ]},Qx,Zx]}],"bg-color":[{bg:w()}],"gradient-from-pos":[{from:vZ()}],"gradient-via-pos":[{via:vZ()}],"gradient-to-pos":[{to:vZ()}],"gradient-from":[{from:w()}],"gradient-via":[{via:w()}],"gradient-to":[{to:w()}],rounded:[{rounded:JX()}],"rounded-s":[{"rounded-s":JX()}],"rounded-e":[{"rounded-e":JX()}],"rounded-t":[{"rounded-t":JX()}],"rounded-r":[{"rounded-r":JX()}],"rounded-b":[{"rounded-b":JX()}],"rounded-l":[{"rounded-l":JX()}],"rounded-ss":[{"rounded-ss":JX()}],"rounded-se":[{"rounded-se":JX()}],"rounded-ee":[{"rounded-ee":JX()}],"rounded-es":[{"rounded-es":JX()}],"rounded-tl":[{"rounded-tl":JX()}],"rounded-tr":[{"rounded-tr":JX()}],"rounded-br":[{"rounded-br":JX()}],"rounded-bl":[{"rounded-bl":JX()}],"border-w":[{border:NZ()}],"border-w-x":[{"border-x":NZ()}],"border-w-y":[{"border-y":NZ()}],"border-w-s":[{"border-s":NZ()}],"border-w-e":[{"border-e":NZ()}],"border-w-bs":[{"border-bs":NZ()}],"border-w-be":[{"border-be":NZ()}],"border-w-t":[{"border-t":NZ()}],"border-w-r":[{"border-r":NZ()}],"border-w-b":[{"border-b":NZ()}],"border-w-l":[{"border-l":NZ()}],"divide-x":[{"divide-x":NZ()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":NZ()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...YX(),"hidden","none"]}],"divide-style":[{divide:[...YX(),"hidden","none"]}],"border-color":[{border:w()}],"border-color-x":[{"border-x":w()}],"border-color-y":[{"border-y":w()}],"border-color-s":[{"border-s":w()}],"border-color-e":[{"border-e":w()}],"border-color-bs":[{"border-bs":w()}],"border-color-be":[{"border-be":w()}],"border-color-t":[{"border-t":w()}],"border-color-r":[{"border-r":w()}],"border-color-b":[{"border-b":w()}],"border-color-l":[{"border-l":w()}],"divide-color":[{divide:w()}],"outline-style":[{outline:[...YX(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ZX,IZ,FZ]}],"outline-w":[{outline:["",ZX,TK,Hz]}],"outline-color":[{outline:w()}],shadow:[{shadow:["","none",N,hA,vA]}],"shadow-color":[{shadow:w()}],"inset-shadow":[{"inset-shadow":["none",M,hA,vA]}],"inset-shadow-color":[{"inset-shadow":w()}],"ring-w":[{ring:NZ()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:w()}],"ring-offset-w":[{"ring-offset":[ZX,Hz]}],"ring-offset-color":[{"ring-offset":w()}],"inset-ring-w":[{"inset-ring":NZ()}],"inset-ring-color":[{"inset-ring":w()}],"text-shadow":[{"text-shadow":["none",R,hA,vA]}],"text-shadow-color":[{"text-shadow":w()}],opacity:[{opacity:[ZX,IZ,FZ]}],"mix-blend":[{"mix-blend":[...TX(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":TX()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ZX]}],"mask-image-linear-from-pos":[{"mask-linear-from":BX()}],"mask-image-linear-to-pos":[{"mask-linear-to":BX()}],"mask-image-linear-from-color":[{"mask-linear-from":w()}],"mask-image-linear-to-color":[{"mask-linear-to":w()}],"mask-image-t-from-pos":[{"mask-t-from":BX()}],"mask-image-t-to-pos":[{"mask-t-to":BX()}],"mask-image-t-from-color":[{"mask-t-from":w()}],"mask-image-t-to-color":[{"mask-t-to":w()}],"mask-image-r-from-pos":[{"mask-r-from":BX()}],"mask-image-r-to-pos":[{"mask-r-to":BX()}],"mask-image-r-from-color":[{"mask-r-from":w()}],"mask-image-r-to-color":[{"mask-r-to":w()}],"mask-image-b-from-pos":[{"mask-b-from":BX()}],"mask-image-b-to-pos":[{"mask-b-to":BX()}],"mask-image-b-from-color":[{"mask-b-from":w()}],"mask-image-b-to-color":[{"mask-b-to":w()}],"mask-image-l-from-pos":[{"mask-l-from":BX()}],"mask-image-l-to-pos":[{"mask-l-to":BX()}],"mask-image-l-from-color":[{"mask-l-from":w()}],"mask-image-l-to-color":[{"mask-l-to":w()}],"mask-image-x-from-pos":[{"mask-x-from":BX()}],"mask-image-x-to-pos":[{"mask-x-to":BX()}],"mask-image-x-from-color":[{"mask-x-from":w()}],"mask-image-x-to-color":[{"mask-x-to":w()}],"mask-image-y-from-pos":[{"mask-y-from":BX()}],"mask-image-y-to-pos":[{"mask-y-to":BX()}],"mask-image-y-from-color":[{"mask-y-from":w()}],"mask-image-y-to-color":[{"mask-y-to":w()}],"mask-image-radial":[{"mask-radial":[IZ,FZ]}],"mask-image-radial-from-pos":[{"mask-radial-from":BX()}],"mask-image-radial-to-pos":[{"mask-radial-to":BX()}],"mask-image-radial-from-color":[{"mask-radial-from":w()}],"mask-image-radial-to-color":[{"mask-radial-to":w()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":QZ()}],"mask-image-conic-pos":[{"mask-conic":[ZX]}],"mask-image-conic-from-pos":[{"mask-conic-from":BX()}],"mask-image-conic-to-pos":[{"mask-conic-to":BX()}],"mask-image-conic-from-color":[{"mask-conic-from":w()}],"mask-image-conic-to-color":[{"mask-conic-to":w()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:o()}],"mask-repeat":[{mask:AZ()}],"mask-size":[{mask:VZ()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",IZ,FZ]}],filter:[{filter:["","none",IZ,FZ]}],blur:[{blur:Oq()}],brightness:[{brightness:[ZX,IZ,FZ]}],contrast:[{contrast:[ZX,IZ,FZ]}],"drop-shadow":[{"drop-shadow":["","none",j,hA,vA]}],"drop-shadow-color":[{"drop-shadow":w()}],grayscale:[{grayscale:["",ZX,IZ,FZ]}],"hue-rotate":[{"hue-rotate":[ZX,IZ,FZ]}],invert:[{invert:["",ZX,IZ,FZ]}],saturate:[{saturate:[ZX,IZ,FZ]}],sepia:[{sepia:["",ZX,IZ,FZ]}],"backdrop-filter":[{"backdrop-filter":["","none",IZ,FZ]}],"backdrop-blur":[{"backdrop-blur":Oq()}],"backdrop-brightness":[{"backdrop-brightness":[ZX,IZ,FZ]}],"backdrop-contrast":[{"backdrop-contrast":[ZX,IZ,FZ]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ZX,IZ,FZ]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ZX,IZ,FZ]}],"backdrop-invert":[{"backdrop-invert":["",ZX,IZ,FZ]}],"backdrop-opacity":[{"backdrop-opacity":[ZX,IZ,FZ]}],"backdrop-saturate":[{"backdrop-saturate":[ZX,IZ,FZ]}],"backdrop-sepia":[{"backdrop-sepia":["",ZX,IZ,FZ]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":l()}],"border-spacing-x":[{"border-spacing-x":l()}],"border-spacing-y":[{"border-spacing-y":l()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",IZ,FZ]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ZX,"initial",IZ,FZ]}],ease:[{ease:["linear","initial",a,IZ,FZ]}],delay:[{delay:[ZX,IZ,FZ]}],animate:[{animate:["none",t,IZ,FZ]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[d,IZ,FZ]}],"perspective-origin":[{"perspective-origin":LZ()}],rotate:[{rotate:UZ()}],"rotate-x":[{"rotate-x":UZ()}],"rotate-y":[{"rotate-y":UZ()}],"rotate-z":[{"rotate-z":UZ()}],scale:[{scale:KQ()}],"scale-x":[{"scale-x":KQ()}],"scale-y":[{"scale-y":KQ()}],"scale-z":[{"scale-z":KQ()}],"scale-3d":["scale-3d"],skew:[{skew:BQ()}],"skew-x":[{"skew-x":BQ()}],"skew-y":[{"skew-y":BQ()}],transform:[{transform:[IZ,FZ,"","none","gpu","cpu"]}],"transform-origin":[{origin:LZ()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:yY()}],"translate-x":[{"translate-x":yY()}],"translate-y":[{"translate-y":yY()}],"translate-z":[{"translate-z":yY()}],"translate-none":["translate-none"],zoom:[{zoom:[zq,IZ,FZ]}],accent:[{accent:w()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:w()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",IZ,FZ]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":w()}],"scrollbar-track-color":[{"scrollbar-track":w()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":l()}],"scroll-mx":[{"scroll-mx":l()}],"scroll-my":[{"scroll-my":l()}],"scroll-ms":[{"scroll-ms":l()}],"scroll-me":[{"scroll-me":l()}],"scroll-mbs":[{"scroll-mbs":l()}],"scroll-mbe":[{"scroll-mbe":l()}],"scroll-mt":[{"scroll-mt":l()}],"scroll-mr":[{"scroll-mr":l()}],"scroll-mb":[{"scroll-mb":l()}],"scroll-ml":[{"scroll-ml":l()}],"scroll-p":[{"scroll-p":l()}],"scroll-px":[{"scroll-px":l()}],"scroll-py":[{"scroll-py":l()}],"scroll-ps":[{"scroll-ps":l()}],"scroll-pe":[{"scroll-pe":l()}],"scroll-pbs":[{"scroll-pbs":l()}],"scroll-pbe":[{"scroll-pbe":l()}],"scroll-pt":[{"scroll-pt":l()}],"scroll-pr":[{"scroll-pr":l()}],"scroll-pb":[{"scroll-pb":l()}],"scroll-pl":[{"scroll-pl":l()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",IZ,FZ]}],fill:[{fill:["none",...w()]}],"stroke-w":[{stroke:[ZX,TK,Hz,O2]}],stroke:[{stroke:["none",...w()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Gx=(Q,{cacheSize:q,prefix:z,experimentalParseClassName:_,extend:W={},override:K={}})=>{return r_(Q,"cacheSize",q),r_(Q,"prefix",z),r_(Q,"experimentalParseClassName",_),bA(Q.theme,K.theme),bA(Q.classGroups,K.classGroups),bA(Q.conflictingClassGroups,K.conflictingClassGroups),bA(Q.conflictingClassGroupModifiers,K.conflictingClassGroupModifiers),r_(Q,"postfixLookupClassGroups",K.postfixLookupClassGroups),r_(Q,"orderSensitiveModifiers",K.orderSensitiveModifiers),gA(Q.theme,W.theme),gA(Q.classGroups,W.classGroups),gA(Q.conflictingClassGroups,W.conflictingClassGroups),gA(Q.conflictingClassGroupModifiers,W.conflictingClassGroupModifiers),G3(Q,W,"postfixLookupClassGroups"),G3(Q,W,"orderSensitiveModifiers"),Q},r_=(Q,q,z)=>{if(z!==void 0)Q[q]=z},bA=(Q,q)=>{if(q)for(let z in q)r_(Q,z,q[z])},gA=(Q,q)=>{if(q)for(let z in q)G3(Q,q,z)},G3=(Q,q,z)=>{let _=q[z];if(_!==void 0)Q[z]=Q[z]?Q[z].concat(_):_},y2=(Q,...q)=>typeof Q==="function"?A2(N2,Q,...q):A2(()=>Gx(N2(),Q),...q);var v2=C(()=>{B2=[],Ek=[],hk=/\s+/,mk=[],R2=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,j2=/^\((?:(\w[\w-]*):)?(.+)\)$/i,fk=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,uk=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,dk=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ck=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,pk=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,lk=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/});var nq,Hx,zx=(Q)=>{if(typeof Q==="boolean")return Q?"":void 0;if(Q===void 0||Q===null)return;return String(Q)},_x=(Q)=>{let q=JSON.stringify(Q),z=nq.useRef({signature:q,value:Q});if(z.current.signature!==q)z.current={signature:q,value:Q};return z.current.value},mZ=(Q,q)=>{let z=U2(q?.baseClass,{variants:q?.variants,defaultVariants:q?.defaultVariants,compoundVariants:q?.compoundVariants}),_=q?.passVariantProps?new Set(q.passVariantProps):void 0,W=nq.forwardRef((K,A)=>{let{children:L,...O}=K,I=O.className;delete O.className;let N={};for(let a in q?.variants)if(N[a]=O[a],a in O&&!_?.has(a))delete O[a];let M=_x(N),R={};if(q?.variantsAsDataAttrs&&q.variants)for(let a of q.variantsAsDataAttrs){let t=a.toString(),qZ=K[t]??q.defaultVariants?.[a];R[`data-${t}`]=zx(qZ)}let j=O.style,h=nq.useMemo(()=>q?.style?{...q.style,...j}:j,[j]),d=nq.useMemo(()=>Hx(IK(z(M),I)),[M,I]),b=Q;if(K.asChild&&typeof Q==="string")b=q2,delete O.asChild;return nq.createElement(b,{ref:A,className:d,...q.defaultProps,...R,...O,style:h},L)});return W.displayName=q?.displayName??"uic",W};var FY=C(()=>{G2();K2();yA();v2();nq=f(ZZ(),1),Hx=y2({extend:{classGroups:{"font-size":[{text:["micro","caption","label","compact","callout","body","subtitle","title","headline","display","heading1","heading2","heading3","heading4","heading5"]}]},theme:{spacing:["nav-x"],radius:["panel"]}}})});function wJ(...Q){return(...q)=>{for(let z of Q)if(typeof z==="function")z(...q)}}var t_=()=>{};var h2,dZ;var CY=C(()=>{h2=f(ZZ(),1),dZ=typeof document<"u"?h2.default.useLayoutEffect:()=>{}});function Kx(Q=!1){let q=MY.useContext(b2),z=MY.useRef(null);if(z.current===null&&!Q){let _=MY.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(_){let W=_3.get(_);if(W==null)_3.set(_,{id:q.current,state:_.memoizedState});else if(_.memoizedState!==W.state)q.current=W.id,_3.delete(_)}z.current=++q.current}return z.current}function Bx(Q){let q=MY.useContext(b2);if(q===mA&&!Ux)console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let z=Kx(!!Q),_=`react-aria${q.prefix}`;return Q||`${_}-${z}`}function Lx(Q){let q=MY.default.useId(),[z]=MY.useState(sY()),_=z?"react-aria":`react-aria${mA.prefix}`;return Q||`${_}-${q}`}function Ax(){return!1}function Ox(){return!0}function Fx(Q){return()=>{}}function sY(){if(typeof MY.default.useSyncExternalStore==="function")return MY.default.useSyncExternalStore(Fx,Ax,Ox);return MY.useContext(Wx)}var MY,mA,b2,Wx,Ux,_3,g2;var aG=C(()=>{MY=f(ZZ(),1),mA={prefix:String(Math.round(Math.random()*10000000000)),current:0},b2=MY.default.createContext(mA),Wx=MY.default.createContext(!1),Ux=Boolean(typeof window<"u"&&window.document&&window.document.createElement),_3=new WeakMap;g2=typeof MY.default.useId==="function"?Lx:Bx});function m2(Q){let[q,z]=oG.useState(Q),_=oG.useRef(q),W=oG.useRef(null),K=oG.useRef(()=>{if(!W.current)return;let L=W.current.next();if(L.done){W.current=null;return}if(_.current===L.value)K.current();else z(L.value)});dZ(()=>{if(_.current=q,W.current)K.current()});let A=oG.useCallback((L)=>{W.current=L(_.current),K.current()},[K]);return[q,A]}var oG;var f2=C(()=>{CY();oG=f(ZZ(),1)});function aX(Q){let[q,z]=sq.useState(Q),_=sq.useRef(null),W=g2(q),K=sq.useRef(null);if(wK)wK.register(K,W);if(Mx){let A=e_.get(W);if(A&&!A.includes(_))A.push(_);else e_.set(W,[_])}return dZ(()=>{let A=W;return()=>{if(wK)wK.unregister(K);e_.delete(A)}},[W]),sq.useEffect(()=>{let A=_.current;if(A)z(A);return()=>{if(A)_.current=null}}),W}function u2(Q,q){if(Q===q)return Q;let z=e_.get(Q);if(z)return z.forEach((W)=>W.current=q),q;let _=e_.get(q);if(_)return _.forEach((W)=>W.current=Q),Q;return q}function _q(Q=[]){let q=aX(),[z,_]=m2(q),W=sq.useCallback(()=>{_(function*(){yield q,yield document.getElementById(q)?q:void 0})},[q,_]);return dZ(W,[q,W,...Q]),z}var sq,Mx,e_,wK;var YJ=C(()=>{CY();aG();f2();sq=f(ZZ(),1),Mx=Boolean(typeof window<"u"&&window.document&&window.document.createElement),e_=new Map;if(typeof FinalizationRegistry<"u")wK=new FinalizationRegistry((Q)=>{e_.delete(Q)})});function Wq(...Q){if(Q.length===1&&Q[0])return Q[0];return(q)=>{let z=!1,_=Q.map((W)=>{let K=d2(W,q);return z||=typeof K=="function",K});if(z)return()=>{_.forEach((W,K)=>{if(typeof W==="function")W();else d2(Q[K],null)})}}}function d2(Q,q){if(typeof Q==="function")return Q(q);else if(Q!=null)Q.current=q}var W3=()=>{};function CZ(...Q){let q={...Q[0]};for(let z=1;z<Q.length;z++){let _=Q[z];for(let W in _){let K=q[W],A=_[W];if(typeof K==="function"&&typeof A==="function"&&W[0]==="o"&&W[1]==="n"&&W.charCodeAt(2)>=65&&W.charCodeAt(2)<=90)q[W]=wJ(K,A);else if((W==="className"||W==="UNSAFE_className")&&typeof K==="string"&&typeof A==="string")q[W]=z2(K,A);else if(W==="id"&&K&&A)q.id=u2(K,A);else if(W==="ref"&&K&&A)q.ref=Wq(K,A);else q[W]=A!==void 0?A:K}}return q}var PY=C(()=>{t_();YJ();W3();yA()});var VJ=C(()=>{PY()});var fA=C(()=>{W3()});var c2=C(()=>{CY()});function JQ(Q){let q=_z.useRef(null),z=_z.useRef(void 0),_=_z.useCallback((W)=>{if(typeof Q==="function"){let K=Q,A=K(W);return()=>{if(typeof A==="function")A();else K(null)}}else if(Q)return Q.current=W,()=>{Q.current=null}},[Q]);return _z.useMemo(()=>({get current(){return q.current},set current(W){if(q.current=W,z.current)z.current(),z.current=void 0;if(W!=null)z.current=_(W)}}),[_])}var _z;var p2=C(()=>{_z=f(ZZ(),1)});var ZW=C(()=>{p2()});function xQ({values:Q,children:q}){for(let[z,_]of Q)q=NY.default.createElement(z.Provider,{value:_},q);return q}function yX(Q){let{className:q,style:z,children:_,defaultClassName:W,defaultChildren:K,defaultStyle:A,values:L,render:O}=Q;return NY.useMemo(()=>{let I,N,M;if(typeof q==="function")I=q({...L,defaultClassName:W});else I=q;if(typeof z==="function")N=z({...L,defaultStyle:A||{}});else N=z;if(typeof _==="function")M=_({...L,defaultChildren:K});else if(_==null)M=K;else M=_;return{className:I??W,style:N||A?{...A,...N}:void 0,children:M??K,"data-rac":"",render:O?(R)=>O(R,L):void 0}},[q,z,_,W,K,A,L,O])}function Uz(Q,q){let z=NY.useContext(Q);if(q===null)return null;if(z&&typeof z==="object"&&"slots"in z&&z.slots){let _=q||Wz;if(!z.slots[_]){let W=new Intl.ListFormat().format(Object.keys(z.slots).map((A)=>`"${A}"`)),K=q?`Invalid slot "${q}".`:"A slot prop is required.";throw Error(`${K} Valid slot names are ${W}.`)}return z.slots[_]}return z}function fX(Q,q,z){let _=Uz(z,Q.slot)||{},{ref:W,...K}=_,A=JQ(NY.useMemo(()=>Wq(q,W),[q,W])),L=CZ(K,Q);if("style"in K&&K.style&&"style"in Q&&Q.style)if(typeof K.style==="function"||typeof Q.style==="function")L.style=(O)=>{let I=typeof K.style==="function"?K.style(O):K.style,N={...O.defaultStyle,...I},M=typeof Q.style==="function"?Q.style({...O,defaultStyle:N}):Q.style;return{...N,...M}};else L.style={...K.style,...Q.style};return[L,A]}function uA(Q=!0){let[q,z]=NY.useState(Q),_=NY.useRef(!1),W=NY.useCallback((K)=>{_.current=!0,z(!!K)},[]);return dZ(()=>{if(!_.current)z(!1)},[]),[W,q]}function i2(Q){let q=/^(data-.*)$/,z={};for(let _ in Q)if(!q.test(_))z[_]=Q[_];return z}function Nx(Q,q,z){let{render:_,...W}=q,K=NY.useRef(null),A=NY.useMemo(()=>Wq(z,K),[z,K]);dZ(()=>{if(_){if(!K.current)console.warn("Ref was not connected to DOM element returned by custom `render` function. Did you forget to pass through or merge the `ref`?");else if(K.current.localName!==Q)console.warn(`Unexpected DOM element returned by custom \`render\` function. Expected <${Q}>, got <${K.current.localName}>. This may break the component behavior and accessibility.`)}},[Q,_]);let L={...W,ref:A};if(_)return _(L,void 0);return NY.default.createElement(Q,L)}var NY,Wz,l2,LX;var qQ=C(()=>{VJ();fA();c2();ZW();NY=f(ZZ(),1),Wz=Symbol("default");l2={},LX=new Proxy({},{get(Q,q){if(typeof q!=="string")return;let z=l2[q];if(!z)z=NY.forwardRef(Nx.bind(null,q)),l2[q]=z;return z}})});function RJ(Q){let q=(z,_)=>{if(Kz.useContext(Ix))return null;return Q(z,_)};return q.displayName=Q.displayName||Q.name,Kz.forwardRef(q)}var Kz,Ix;var n2=C(()=>{Kz=f(ZZ(),1);if(typeof HTMLTemplateElement<"u")Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(Q){return this.content.appendChild(Q)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(Q){return this.content.removeChild(Q)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(Q,q){return this.content.insertBefore(Q,q)}});Ix=Kz.createContext(!1)});var XW=C(()=>{n2()});var dA,cA,Bz;var U3=C(()=>{qQ();XW();dA=f(ZZ(),1),cA=dA.createContext({}),Bz=RJ(function(q,z){[q,z]=fX(q,z,cA);let{elementType:_="label",...W}=q,K=LX[_];return dA.default.createElement(K,{className:"react-aria-Label",...W,ref:z})})});function HX(Q,q={}){let{labelable:z,isLink:_,global:W,events:K=W,propNames:A}=q,L={};for(let O in Q)if(Object.prototype.hasOwnProperty.call(Q,O)&&(Tx.has(O)||z&&wx.has(O)||_&&Vx.has(O)||W&&Rx.has(O)||K&&(s2.has(O)||O.endsWith("Capture")&&s2.has(O.slice(0,-7)))||A?.has(O)||jx.test(O)))L[O]=Q[O];return L}var Tx,wx,Vx,Rx,s2,jx;var rG=C(()=>{Tx=new Set(["id"]),wx=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Vx=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),Rx=new Set(["dir","lang","hidden","inert","translate"]),s2=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),jx=/^(data-.*)$/});function tG(Q,q){let{id:z,"aria-label":_,"aria-labelledby":W}=Q;if(z=aX(z),W&&_)W=[...new Set([z,...W.trim().split(/\s+/)])].join(" ");else if(W)W=W.trim().split(/\s+/).join(" ");if(!_&&!W&&q)_=q;return{id:z,"aria-label":_,"aria-labelledby":W}}var VK=C(()=>{YJ()});function a2(Q){let{id:q,label:z,"aria-labelledby":_,"aria-label":W,labelElementType:K="label"}=Q;q=aX(q);let A=aX(),L={};if(z)_=_?`${A} ${_}`:A,L={id:A,htmlFor:K==="label"?q:void 0};else if(!_&&!W)console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let O=tG({id:q,"aria-label":W,"aria-labelledby":_});return{labelProps:L,fieldProps:O}}var o2=C(()=>{YJ();VK()});function r2(Q){if(Intl.Locale){let z=new Intl.Locale(Q).maximize(),_=typeof z.getTextInfo==="function"?z.getTextInfo():z.textInfo;if(_)return _.direction==="rtl";if(z.script)return Cx.has(z.script)}let q=Q.split("-")[0];return Px.has(q)}var Cx,Px;var t2=C(()=>{Cx=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Px=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"])});function Xw(){let Q=typeof window<"u"&&window[Zw]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([Q])}catch{Q="en-US"}return{locale:Q,direction:r2(Q)?"rtl":"ltr"}}function e2(){K3=Xw();for(let Q of RK)Q(K3)}function Yw(){let Q=sY(),[q,z]=pA.useState(K3);if(pA.useEffect(()=>{if(RK.size===0)window.addEventListener("languagechange",e2);return RK.add(z),()=>{if(RK.delete(z),RK.size===0)window.removeEventListener("languagechange",e2)}},[]),Q)return{locale:typeof window<"u"&&window[Zw]||"en-US",direction:"ltr"};return q}var pA,Zw,K3,RK;var Qw=C(()=>{t2();aG();pA=f(ZZ(),1),Zw=Symbol.for("react-aria.i18n.locale");K3=Xw(),RK=new Set});function YW(){let Q=Yw();return lA.useContext(Dx)||Q}var lA,Dx;var iA=C(()=>{Qw();lA=f(ZZ(),1),Dx=lA.default.createContext(null)});var Uq=C(()=>{rG()});var nA,Jw;var qw=C(()=>{nA=f(ZZ(),1),Jw=nA.createContext(null)});function sA(Q,q="assertive",z=7000){if(!QW)if(QW=new Gw,!(typeof IS_REACT_ACT_ENVIRONMENT==="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u"))setTimeout(()=>{if(QW?.isAttached())QW?.announce(Q,q,z)},100);else QW.announce(Q,q,z);else QW.announce(Q,q,z)}class Gw{constructor(){if(this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u")this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}isAttached(){return this.node?.isConnected}createLog(Q){let q=document.createElement("div");return q.setAttribute("role","log"),q.setAttribute("aria-live",Q),q.setAttribute("aria-relevant","additions"),q}destroy(){if(!this.node)return;document.body.removeChild(this.node),this.node=null}announce(Q,q="assertive",z=7000){if(!this.node)return;let _=document.createElement("div");if(typeof Q==="object")_.setAttribute("role","img"),_.setAttribute("aria-labelledby",Q["aria-labelledby"]);else _.textContent=Q;if(q==="assertive")this.assertiveLog?.appendChild(_);else this.politeLog?.appendChild(_);if(Q!=="")setTimeout(()=>{_.remove()},z)}clear(Q){if(!this.node)return;if((!Q||Q==="assertive")&&this.assertiveLog)this.assertiveLog.innerHTML="";if((!Q||Q==="polite")&&this.politeLog)this.politeLog.innerHTML=""}}var QW=null;var Hw=()=>{};var zw=C(()=>{Hw()});function aY(Q){if($x())Q.focus({preventScroll:!0});else{let q=Sx(Q);Q.focus(),Ex(q)}}function $x(){if(aA==null){aA=!1;try{document.createElement("div").focus({get preventScroll(){return aA=!0,!0}})}catch{}}return aA}function Sx(Q){let q=Q.parentNode,z=[],_=document.scrollingElement||document.documentElement;while(q instanceof HTMLElement&&q!==_){if(q.offsetHeight<q.scrollHeight||q.offsetWidth<q.scrollWidth)z.push({element:q,scrollTop:q.scrollTop,scrollLeft:q.scrollLeft});q=q.parentNode}if(_ instanceof HTMLElement)z.push({element:_,scrollTop:_.scrollTop,scrollLeft:_.scrollLeft});return z}function Ex(Q){for(let{element:q,scrollTop:z,scrollLeft:_}of Q)q.scrollTop=z,q.scrollLeft=_}var aA=null;var Lz=()=>{};function kx(Q){return Q!==null&&typeof Q==="object"&&"nodeType"in Q&&typeof Q.nodeType==="number"}function _w(Q){return kx(Q)&&Q.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in Q}var cZ=(Q)=>{return Q?.ownerDocument??document},uX=(Q)=>{if(Q&&"window"in Q&&Q.window===Q)return Q;return cZ(Q).defaultView||window};var DY=()=>{};function yQ(){return xx}var xx=!1;var Ww=()=>{};var oA=C(()=>{Ww()});function XX(Q,q){if(!yQ())return q&&Q?Q.contains(q):!1;if(!Q||!q)return!1;let z=q;while(z!==null){if(z===Q)return!0;if(z.tagName==="SLOT"&&z.assignedSlot)z=z.assignedSlot.parentNode;else if(_w(z))z=z.host;else z=z.parentNode}return!1}function KZ(Q){if(yQ()&&Q.target instanceof Element&&Q.target.shadowRoot){if("composedPath"in Q)return Q.composedPath()[0]??null;else if("composedPath"in Q.nativeEvent)return Q.nativeEvent.composedPath()[0]??null}return Q.target}function B3(Q){if(!Q)return!1;let q=Q.getRootNode(),z=uX(Q);if(!(q instanceof z.Document||q instanceof z.ShadowRoot))return!1;let _=q.activeElement;return _!=null&&Q.contains(_)}var KX=(Q=document)=>{if(!yQ())return Q.activeElement;let q=Q.activeElement;while(q&&"shadowRoot"in q&&q.shadowRoot?.activeElement)q=q.shadowRoot.activeElement;return q};var dX=C(()=>{DY();oA()});function vx(Q){let q=uX(Q);if(!(Q instanceof q.HTMLElement)&&!(Q instanceof q.SVGElement))return!1;let{display:z,visibility:_}=Q.style,W=z!=="none"&&_!=="hidden"&&_!=="collapse";if(W){let{getComputedStyle:K}=Q.ownerDocument.defaultView,{display:A,visibility:L}=K(Q);W=A!=="none"&&L!=="hidden"&&L!=="collapse"}return W}function hx(Q,q){return!Q.hasAttribute("hidden")&&!Q.hasAttribute("data-react-aria-prevent-focus")&&(Q.nodeName==="DETAILS"&&q&&q.nodeName!=="SUMMARY"?Q.hasAttribute("open"):!0)}function rA(Q,q){if(yx)return Q.checkVisibility({visibilityProperty:!0})&&!Q.closest("[data-react-aria-prevent-focus]");return Q.nodeName!=="#comment"&&vx(Q)&&hx(Q,q)&&(!Q.parentElement||rA(Q.parentElement,Q))}var yx;var Uw=C(()=>{DY();yx=typeof Element<"u"&&"checkVisibility"in Element.prototype});function tA(Q,q){return Q.matches(bx)&&!Kw(Q)&&(q?.skipVisibilityCheck||rA(Q))}function eA(Q){return Q.matches(gx)&&rA(Q)&&!Kw(Q)}function Kw(Q){let q=Q;while(q!=null){if(q instanceof q.ownerDocument.defaultView.HTMLElement&&q.inert)return!0;q=q.parentElement}return!1}var L3,bx,gx;var ZO=C(()=>{Uw();L3=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],bx=L3.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";L3.push('[tabindex]:not([tabindex="-1"]):not([disabled])');gx=L3.join(':not([hidden]):not([tabindex="-1"]),')});function CK(Q){let q=Q;return q.nativeEvent=Q,q.isDefaultPrevented=()=>q.defaultPrevented,q.isPropagationStopped=()=>q.cancelBubble,q.persist=()=>{},q}function YO(Q,q){Object.defineProperty(Q,"target",{value:q}),Object.defineProperty(Q,"currentTarget",{value:q})}function QO(Q){let q=XO.useRef({isFocused:!1,observer:null});return dZ(()=>{let z=q.current;return()=>{if(z.observer)z.observer.disconnect(),z.observer=null}},[]),XO.useCallback((z)=>{let _=KZ(z);if(_ instanceof HTMLButtonElement||_ instanceof HTMLInputElement||_ instanceof HTMLTextAreaElement||_ instanceof HTMLSelectElement){q.current.isFocused=!0;let W=_,K=(A)=>{if(q.current.isFocused=!1,W.disabled){let L=CK(A);Q?.(L)}if(q.current.observer)q.current.observer.disconnect(),q.current.observer=null};W.addEventListener("focusout",K,{once:!0}),q.current.observer=new MutationObserver(()=>{if(q.current.isFocused&&W.disabled){q.current.observer?.disconnect();let A=W===KX()?null:KX();W.dispatchEvent(new FocusEvent("blur",{relatedTarget:A})),W.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:A}))}}),q.current.observer.observe(W,{attributes:!0,attributeFilter:["disabled"]})}},[Q])}function Bw(Q){while(Q&&!tA(Q,{skipVisibilityCheck:!0}))Q=Q.parentElement;let q=uX(Q),z=q.document.activeElement;if(!z||z===Q)return;jK=!0;let _=!1,W=(N)=>{if(KZ(N)===z||_)N.stopImmediatePropagation()},K=(N)=>{if(KZ(N)===z||_){if(N.stopImmediatePropagation(),!Q&&!_)_=!0,aY(z),O()}},A=(N)=>{if(KZ(N)===Q||_)N.stopImmediatePropagation()},L=(N)=>{if(KZ(N)===Q||_){if(N.stopImmediatePropagation(),!_)_=!0,aY(z),O()}};q.addEventListener("blur",W,!0),q.addEventListener("focusout",K,!0),q.addEventListener("focusin",L,!0),q.addEventListener("focus",A,!0);let O=()=>{cancelAnimationFrame(I),q.removeEventListener("blur",W,!0),q.removeEventListener("focusout",K,!0),q.removeEventListener("focusin",L,!0),q.removeEventListener("focus",A,!0),jK=!1,_=!1},I=requestAnimationFrame(O);return O}var XO,jK=!1;var PK=C(()=>{Lz();dX();DY();ZO();CY();XO=f(ZZ(),1)});function JO(Q){if(typeof window>"u"||window.navigator==null)return!1;let q=window.navigator.userAgentData?.brands;return Array.isArray(q)&&q.some((z)=>Q.test(z.brand))||Q.test(window.navigator.userAgent)}function A3(Q){return typeof window<"u"&&window.navigator!=null?Q.test(window.navigator.userAgentData?.platform||window.navigator.platform):!1}function aq(Q){let q=null;return()=>{if(q==null)q=Q();return q}}var jJ,mx,O3,CJ,Lw,Aw,F3,DK,Ow;var QJ=C(()=>{jJ=aq(function(){return A3(/^Mac/i)}),mx=aq(function(){return A3(/^iPhone/i)}),O3=aq(function(){return A3(/^iPad/i)||jJ()&&navigator.maxTouchPoints>1}),CJ=aq(function(){return mx()||O3()}),Lw=aq(function(){return jJ()||CJ()}),Aw=aq(function(){return JO(/AppleWebKit/i)&&!F3()}),F3=aq(function(){return JO(/Chrome/i)}),DK=aq(function(){return JO(/Android/i)}),Ow=aq(function(){return JO(/Firefox/i)})});function qO(Q){if(Q.pointerType===""&&Q.isTrusted)return!0;if(DK()&&Q.pointerType)return Q.type==="click"&&Q.buttons===1;return Q.detail===0&&!Q.pointerType}function Fw(Q){return!DK()&&Q.width===0&&Q.height===0||Q.width===1&&Q.height===1&&Q.pressure===0&&Q.detail===0&&Q.pointerType==="mouse"}var M3=C(()=>{QJ()});function Az(){return JW.useContext(fx)}function ux(Q,q){let z=Q.getAttribute("target");return(!z||z==="_self")&&Q.origin===location.origin&&!Q.hasAttribute("download")&&!q.metaKey&&!q.ctrlKey&&!q.altKey&&!q.shiftKey}function JJ(Q,q,z=!0){let{metaKey:_,ctrlKey:W,altKey:K,shiftKey:A}=q;if(Ow()&&window.event?.type?.startsWith("key")&&Q.target==="_blank")if(jJ())_=!0;else W=!0;let L=Aw()&&jJ()&&!O3()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:_,ctrlKey:W,altKey:K,shiftKey:A}):new MouseEvent("click",{metaKey:_,ctrlKey:W,altKey:K,shiftKey:A,detail:1,bubbles:!0,cancelable:!0});JJ.isOpening=z,aY(Q),Q.dispatchEvent(L),JJ.isOpening=!1}function dx(Q,q){if(Q instanceof HTMLAnchorElement)q(Q);else if(Q.hasAttribute("data-href")){let z=document.createElement("a");if(z.href=Q.getAttribute("data-href"),Q.hasAttribute("data-target"))z.target=Q.getAttribute("data-target");if(Q.hasAttribute("data-rel"))z.rel=Q.getAttribute("data-rel");if(Q.hasAttribute("data-download"))z.download=Q.getAttribute("data-download");if(Q.hasAttribute("data-ping"))z.ping=Q.getAttribute("data-ping");if(Q.hasAttribute("data-referrer-policy"))z.referrerPolicy=Q.getAttribute("data-referrer-policy");Q.appendChild(z),q(z),Q.removeChild(z)}}function cx(Q,q){dx(Q,(z)=>JJ(z,q))}function qW(Q){let z=Az().useHref(Q?.href??""),_={};if(Q){for(let W of["href","target","rel","download","ping","referrerPolicy"])if(W in Q)_[W]=W==="href"?z:Q[W]}return _}function Mw(Q,q,z,_){if(!q.isNative&&Q.currentTarget instanceof HTMLAnchorElement&&Q.currentTarget.href&&!Q.isDefaultPrevented()&&ux(Q.currentTarget,Q)&&z)Q.preventDefault(),q.open(Q.currentTarget,Q,z,_)}var JW,fx;var eG=C(()=>{Lz();QJ();JW=f(ZZ(),1),fx=JW.createContext({isNative:!0,open:cx,useHref:(Q)=>Q});JJ.isOpening=!1});function HO(Q,q){for(let z of N3)z(Q,q)}function lx(Q){return!(Q.metaKey||!jJ()&&Q.altKey||Q.ctrlKey||Q.key==="Control"||Q.key==="Shift"||Q.key==="Meta")}function GO(Q){if(Oz=!0,!JJ.isOpening&&lx(Q))Fz="keyboard",SK="keyboard",HO("keyboard",Q)}function GW(Q){if(Fz="pointer",SK="pointerType"in Q?Q.pointerType:"mouse",Q.type==="mousedown"||Q.type==="pointerdown")Oz=!0,HO("pointer",Q)}function Nw(Q){if(!JJ.isOpening&&qO(Q))Oz=!0,Fz="virtual",SK="virtual"}function Iw(Q){let q=uX(KZ(Q)),z=cZ(KZ(Q));if(KZ(Q)===q||KZ(Q)===z||jK||!Q.isTrusted)return;if(!Oz&&!I3)Fz="virtual",SK="virtual",HO("virtual",Q);Oz=!1,I3=!1}function Tw(){if(jK)return;Oz=!1,I3=!0}function T3(Q){if(typeof window>"u"||typeof document>"u")return;let q=uX(Q),z=cZ(Q);if($K.get(q))return;let _=q.HTMLElement.prototype.focus;if(q.HTMLElement.prototype.focus=function(){Oz=!0,_.apply(this,arguments)},z.addEventListener("keydown",GO,!0),z.addEventListener("keyup",GO,!0),z.addEventListener("click",Nw,!0),q.addEventListener("focus",Iw,!0),q.addEventListener("blur",Tw,!1),typeof PointerEvent<"u")z.addEventListener("pointerdown",GW,!0),z.addEventListener("pointermove",GW,!0),z.addEventListener("pointerup",GW,!0);q.addEventListener("beforeunload",()=>{ww(Q)},{once:!0}),$K.set(q,{focus:_})}function ix(Q){let q=cZ(Q),z;if(q.readyState!=="loading")T3(Q);else z=()=>{T3(Q)},q.addEventListener("DOMContentLoaded",z);return()=>ww(Q,z)}function Kq(){return Fz!=="pointer"}function Mz(){return Fz}function EK(Q){Fz=Q,SK=Q==="pointer"?"mouse":Q,HO(Q,null)}function sx(Q,q,z){let _=z?KZ(z):void 0,W=cZ(_),K=uX(_),A=typeof K<"u"?K.HTMLInputElement:HTMLInputElement,L=typeof K<"u"?K.HTMLTextAreaElement:HTMLTextAreaElement,O=typeof K<"u"?K.HTMLElement:HTMLElement,I=typeof K<"u"?K.KeyboardEvent:KeyboardEvent,N=KX(W);return Q=Q||N instanceof A&&!nx.has(N.type)||N instanceof L||N instanceof O&&N.isContentEditable,!(Q&&q==="keyboard"&&z instanceof I&&!px[z.key])}function Vw(Q,q,z){T3(),w3.useEffect(()=>{if(z?.enabled===!1)return;let _=(W,K)=>{if(!sx(!!z?.isTextInput,W,K))return;Q(Kq())};return N3.add(_),()=>{N3.delete(_)}},q)}var w3,Fz=null,SK="keyboard",N3,$K,Oz=!1,I3=!1,px,ww=(Q,q)=>{let z=uX(Q),_=cZ(Q);if(q)_.removeEventListener("DOMContentLoaded",q);if(!$K.has(z))return;if(z.HTMLElement.prototype.focus=$K.get(z).focus,_.removeEventListener("keydown",GO,!0),_.removeEventListener("keyup",GO,!0),_.removeEventListener("click",Nw,!0),z.removeEventListener("focus",Iw,!0),z.removeEventListener("blur",Tw,!1),typeof PointerEvent<"u")_.removeEventListener("pointerdown",GW,!0),_.removeEventListener("pointermove",GW,!0),_.removeEventListener("pointerup",GW,!0);$K.delete(z)},nx;var ZH=C(()=>{dX();DY();PK();QJ();M3();eG();w3=f(ZZ(),1),N3=new Set,$K=new Map,px={Tab:!0,Escape:!0};if(typeof document<"u")ix();nx=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"])});function Rw(){if(typeof window>"u")return;function Q(_){return"propertyName"in _}let q=(_)=>{let W=KZ(_);if(!Q(_)||!W)return;let K=XH.get(W);if(!K)K=new Set,XH.set(W,K),W.addEventListener("transitioncancel",z,{once:!0});K.add(_.propertyName)},z=(_)=>{let W=KZ(_);if(!Q(_)||!W)return;let K=XH.get(W);if(!K)return;if(K.delete(_.propertyName),K.size===0)W.removeEventListener("transitioncancel",z),XH.delete(W);if(XH.size===0){for(let A of V3)A();V3.clear()}};document.body.addEventListener("transitionrun",q),document.body.addEventListener("transitionend",z)}function ax(){for(let[Q]of XH)if("isConnected"in Q&&!Q.isConnected)XH.delete(Q)}function zO(Q){requestAnimationFrame(()=>{if(ax(),XH.size===0)Q();else V3.add(Q)})}var XH,V3;var R3=C(()=>{dX();XH=new Map,V3=new Set;if(typeof document<"u")if(document.readyState!=="loading")Rw();else document.addEventListener("DOMContentLoaded",Rw)});function oq(Q){if(!Q.isConnected)return;let q=cZ(Q);if(Mz()==="virtual"){let z=KX(q);zO(()=>{let _=KX(q);if((_===z||_===q.body)&&Q.isConnected)aY(Q)})}else aY(Q)}var kK=C(()=>{Lz();dX();ZH();DY();R3()});function Nz(Q){let{isDisabled:q,onFocus:z,onBlur:_,onFocusChange:W}=Q,K=j3.useCallback((O)=>{if(KZ(O)===O.currentTarget){if(_)_(O);if(W)W(!1);return!0}},[_,W]),A=QO(K),L=j3.useCallback((O)=>{let I=KZ(O),N=cZ(I),M=N?KX(N):KX();if(I===O.currentTarget&&I===M){if(z)z(O);if(W)W(!0);A(O)}},[W,z,A]);return{focusProps:{onFocus:!q&&(z||W||_)?L:void 0,onBlur:!q&&(_||W)?K:void 0}}}var j3;var _O=C(()=>{dX();DY();PK();j3=f(ZZ(),1)});function C3(Q){if(!Q)return;let q=!0;return(z)=>{let _={...z,preventDefault(){z.preventDefault()},isDefaultPrevented(){return z.isDefaultPrevented()},stopPropagation(){if(q)console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.");else q=!0},continuePropagation(){q=!1},isPropagationStopped(){return q}};if(Q(_),q)z.stopPropagation()}}var jw=()=>{};function Iz(Q){return{keyboardProps:Q.isDisabled?{}:{onKeyDown:C3(Q.onKeyDown),onKeyUp:C3(Q.onKeyUp)}}}var WO=C(()=>{jw()});function UO(Q,q){dZ(()=>{if(Q&&Q.ref&&q)return Q.ref.current=q.current,()=>{if(Q.ref)Q.ref.current=null}})}var P3=C(()=>{CY()});function ox(Q){let q=rq.useContext(KO)||{};UO(q,Q);let{ref:z,..._}=q;return _}function YH(Q,q){let{focusProps:z}=Nz(Q),{keyboardProps:_}=Iz(Q),W=CZ(z,_),K=ox(q),A=Q.isDisabled?{}:K,L=rq.useRef(Q.autoFocus);rq.useEffect(()=>{if(L.current&&q.current)oq(q.current);L.current=!1},[q]);let O=Q.excludeFromTabOrder?-1:0;if(Q.isDisabled)O=void 0;return{focusableProps:CZ({...W,tabIndex:O},A)}}var rq,KO;var HW=C(()=>{kK();PY();_O();WO();P3();rq=f(ZZ(),1),KO=rq.default.createContext(null)});function Cw(Q){if(CJ()){if(zW==="default"){let q=cZ(Q);D3=q.documentElement.style.webkitUserSelect,q.documentElement.style.webkitUserSelect="none"}zW="disabled"}else if(Q instanceof HTMLElement||Q instanceof SVGElement){let q="userSelect"in Q.style?"userSelect":"webkitUserSelect";BO.set(Q,Q.style[q]),Q.style[q]="none"}}function $3(Q){if(CJ()){if(zW!=="disabled")return;zW="restoring",setTimeout(()=>{zO(()=>{if(zW==="restoring"){let q=cZ(Q);if(q.documentElement.style.webkitUserSelect==="none")q.documentElement.style.webkitUserSelect=D3||"";D3="",zW="default"}})},300)}else if(Q instanceof HTMLElement||Q instanceof SVGElement){if(Q&&BO.has(Q)){let q=BO.get(Q),z="userSelect"in Q.style?"userSelect":"webkitUserSelect";if(Q.style[z]==="none")Q.style[z]=q;if(Q.getAttribute("style")==="")Q.removeAttribute("style");BO.delete(Q)}}}var zW="default",D3="",BO;var Pw=C(()=>{DY();QJ();R3();BO=new WeakMap});function Dw(Q){return Q?.defaultView?.__webpack_nonce__||globalThis.__webpack_nonce__||void 0}function LO(Q){let q=Q??(typeof document<"u"?document:void 0);if(!q)return Dw(q);if(S3.has(q))return S3.get(q);let z=q.querySelector('meta[property="csp-nonce"]'),_=z&&z instanceof uX(z).HTMLMetaElement&&(z.nonce||z.content)||Dw(q)||void 0;if(_!==void 0)S3.set(q,_);return _}var S3;var E3=C(()=>{DY();S3=new WeakMap});var $w,xK;var k3=C(()=>{$w=f(ZZ(),1),xK=$w.default.createContext({register:()=>{}});xK.displayName="PressResponderContext"});function $Y(Q){let q=_W.useRef(null);return rx(()=>{q.current=Q},[Q]),_W.useCallback((...z)=>{let _=q.current;return _?.(...z)},[])}var _W,rx;var Tz=C(()=>{CY();_W=f(ZZ(),1),rx=_W.default.useInsertionEffect??dZ});function JH(){let Q=QH.useRef(new Map),q=QH.useCallback((W,K,A,L)=>{let O=L?.once?(...I)=>{Q.current.delete(A),A(...I)}:A;Q.current.set(A,{type:K,eventTarget:W,fn:O,options:L}),W.addEventListener(K,O,L)},[]),z=QH.useCallback((W,K,A,L)=>{let O=Q.current.get(A)?.fn||A;W.removeEventListener(K,O,L),Q.current.delete(A)},[]),_=QH.useCallback(()=>{Q.current.forEach((W,K)=>{z(W.eventTarget,W.type,K,W.options)})},[z]);return QH.useEffect(()=>{return _},[_]),{addGlobalListener:q,removeGlobalListener:z,removeAllGlobalListeners:_}}var QH;var yK=C(()=>{QH=f(ZZ(),1)});function ex(Q){let q=qY.useContext(xK);if(q){let{register:z,ref:_,...W}=q;Q=CZ(W,Q),z()}return UO(q,Q.ref),Q}class vK{#Z;constructor(Q,q,z,_){this.#Z=!0;let K=(_?.target??z.currentTarget)?.getBoundingClientRect(),A,L=0,O,I=null;if(z.clientX!=null&&z.clientY!=null)O=z.clientX,I=z.clientY;if(K)if(O!=null&&I!=null)A=O-K.left,L=I-K.top;else A=K.width/2,L=K.height/2;this.type=Q,this.pointerType=q,this.target=z.currentTarget,this.shiftKey=z.shiftKey,this.metaKey=z.metaKey,this.ctrlKey=z.ctrlKey,this.altKey=z.altKey,this.x=A,this.y=L,this.key=z.key}continuePropagation(){this.#Z=!1}get shouldStopPropagation(){return this.#Z}}function qH(Q){let{onPress:q,onPressChange:z,onPressStart:_,onPressEnd:W,onPressUp:K,onClick:A,isDisabled:L,isPressed:O,preventFocusOnPress:I,shouldCancelOnPointerExit:N,allowTextSelectionOnPress:M,ref:R,...j}=ex(Q),[h,d]=qY.useState(!1),b=qY.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:a,removeAllGlobalListeners:t}=JH(),qZ=qY.useCallback((v,m)=>{let E=b.current;if(L||E.didFirePressStart)return!1;let g=!0;if(E.isTriggeringEvent=!0,_){let e=new vK("pressstart",m,v);_(e),g=e.shouldStopPropagation}if(z)z(!0);return E.isTriggeringEvent=!1,E.didFirePressStart=!0,d(!0),g},[L,_,z]),QZ=qY.useCallback((v,m,E=!0)=>{let g=b.current;if(!g.didFirePressStart)return!1;g.didFirePressStart=!1,g.isTriggeringEvent=!0;let e=!0;if(W){let p=new vK("pressend",m,v);W(p),e=p.shouldStopPropagation}if(z)z(!1);if(d(!1),q&&E&&!L){let p=new vK("press",m,v);q(p),e&&=p.shouldStopPropagation}return g.isTriggeringEvent=!1,e},[L,W,z,q]),LZ=$Y(QZ),kZ=qY.useCallback((v,m)=>{let E=b.current;if(L)return!1;if(K){E.isTriggeringEvent=!0;let g=new vK("pressup",m,v);return K(g),E.isTriggeringEvent=!1,g.shouldStopPropagation}return!0},[L,K]),JZ=$Y(kZ),l=qY.useCallback((v)=>{let m=b.current;if(m.isPressed&&m.target){if(m.didFirePressStart&&m.pointerType!=null)QZ(wz(m.target,v),m.pointerType,!1);if(m.isPressed=!1,m.isOverTarget=!1,m.activePointerId=null,m.pointerType=null,t(),!M)$3(m.target);for(let E of m.disposables)E();m.disposables=[]}},[M,t,QZ]),OZ=$Y(l);qY.useEffect(()=>{if(L&&b.current.isPressed)OZ({currentTarget:b.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[L]);let n=qY.useCallback((v)=>{if(N)l(v)},[N,l]),wZ=qY.useCallback((v)=>{if(L)return;A?.(v)},[L,A]),WZ=qY.useCallback((v,m)=>{if(L)return;if(A){let E=new MouseEvent("click",v);YO(E,m),A(CK(E))}},[L,A]),HZ=qY.useMemo(()=>{let v=b.current,m={onKeyDown(g){if(x3(g.nativeEvent,g.currentTarget)&&XX(g.currentTarget,KZ(g))){if(xw(KZ(g),g.key))g.preventDefault();let e=!0;if(!v.isPressed&&!g.repeat)v.target=g.currentTarget,v.isPressed=!0,v.pointerType="keyboard",e=qZ(g,"keyboard");let p=g.currentTarget,w=(o)=>{if(x3(o,p)&&!o.repeat&&XX(p,KZ(o))&&v.target)JZ(wz(v.target,o),"keyboard")};if(a(cZ(g.currentTarget),"keyup",wJ(w,E),!0),e)g.stopPropagation();if(g.metaKey&&jJ())v.metaKeyEvents?.set(g.key,g.nativeEvent)}else if(g.key==="Meta")v.metaKeyEvents=new Map},onClick(g){if(g&&!XX(g.currentTarget,KZ(g)))return;if(g&&g.button===0&&!v.isTriggeringEvent&&!JJ.isOpening){let e=!0;if(L)g.preventDefault();if(!v.ignoreEmulatedMouseEvents&&!v.isPressed&&(v.pointerType==="virtual"||qO(g.nativeEvent))){let p=qZ(g,"virtual"),w=JZ(g,"virtual"),o=LZ(g,"virtual");wZ(g),e=p&&w&&o}else if(v.isPressed&&v.pointerType!=="keyboard"){let p=v.pointerType||g.nativeEvent.pointerType||"virtual",w=JZ(wz(g.currentTarget,g),p),o=LZ(wz(g.currentTarget,g),p,!0);e=w&&o,v.isOverTarget=!1,wZ(g),OZ(g)}if(v.ignoreEmulatedMouseEvents=!1,e)g.stopPropagation()}}},E=(g)=>{if(v.isPressed&&v.target&&x3(g,v.target)){if(xw(KZ(g),g.key))g.preventDefault();let e=KZ(g),p=XX(v.target,e);if(LZ(wz(v.target,g),"keyboard",p),p)WZ(g,v.target);if(t(),g.key!=="Enter"&&y3(v.target)&&XX(v.target,e)&&!g[Sw])g[Sw]=!0,JJ(v.target,g,!1);v.isPressed=!1,v.metaKeyEvents?.delete(g.key)}else if(g.key==="Meta"&&v.metaKeyEvents?.size){let e=v.metaKeyEvents;v.metaKeyEvents=void 0;for(let p of e.values())v.target?.dispatchEvent(new KeyboardEvent("keyup",p))}};if(typeof PointerEvent<"u"){m.onPointerDown=(p)=>{if(p.button!==0||!XX(p.currentTarget,KZ(p)))return;if(Fw(p.nativeEvent)){v.pointerType="virtual";return}v.pointerType=p.pointerType;let w=!0;if(!v.isPressed){if(v.isPressed=!0,v.isOverTarget=!0,v.activePointerId=p.pointerId,v.target=p.currentTarget,!M)Cw(v.target);w=qZ(p,v.pointerType);let o=KZ(p);if("releasePointerCapture"in o)if("hasPointerCapture"in o){if(o.hasPointerCapture(p.pointerId))o.releasePointerCapture(p.pointerId)}else o.releasePointerCapture(p.pointerId);a(cZ(p.currentTarget),"pointerup",g,!1),a(cZ(p.currentTarget),"pointercancel",e,!1)}if(w)p.stopPropagation()},m.onMouseDown=(p)=>{if(!XX(p.currentTarget,KZ(p)))return;if(p.button===0){if(I){let w=Bw(p.target);if(w)v.disposables.push(w)}p.stopPropagation()}},m.onPointerUp=(p)=>{if(!XX(p.currentTarget,KZ(p))||v.pointerType==="virtual")return;if(p.button===0&&!v.isPressed)JZ(p,v.pointerType||p.pointerType)},m.onPointerEnter=(p)=>{if(p.pointerId===v.activePointerId&&v.target&&!v.isOverTarget&&v.pointerType!=null)v.isOverTarget=!0,qZ(wz(v.target,p),v.pointerType)},m.onPointerLeave=(p)=>{if(p.pointerId===v.activePointerId&&v.target&&v.isOverTarget&&v.pointerType!=null)v.isOverTarget=!1,LZ(wz(v.target,p),v.pointerType,!1),n(p)};let g=(p)=>{if(p.pointerId===v.activePointerId&&v.isPressed&&p.button===0&&v.target){if(XX(v.target,KZ(p))&&v.pointerType!=null){let w=!1,o=setTimeout(()=>{if(v.isPressed&&v.target instanceof HTMLElement)if(w)OZ(p);else aY(v.target),v.target.click()},80);a(p.currentTarget,"click",()=>w=!0,!0),v.disposables.push(()=>clearTimeout(o))}else OZ(p);v.isOverTarget=!1}},e=(p)=>{OZ(p)};m.onDragStart=(p)=>{if(!XX(p.currentTarget,KZ(p)))return;OZ(p)}}return m},[a,L,I,t,M,n,qZ,wZ,WZ]);return qY.useEffect(()=>{if(!R)return;let v=cZ(R.current);if(!v||!v.head||v.getElementById(Ew))return;let m=v.createElement("style");m.id=Ew;let E=LO(v);if(E)m.nonce=E;m.textContent=`
235
+ root.render(<App />);`),X.unstable_strictMode===!0&&(Y=!0),X.identifierPrefix!==void 0&&(J=X.identifierPrefix),X.onUncaughtError!==void 0&&(G=X.onUncaughtError),X.onCaughtError!==void 0&&(z=X.onCaughtError),X.onRecoverableError!==void 0&&(U=X.onRecoverableError)),X=gN(Z,1,!1,null,null,Y,J,null,G,z,U,sN),Z[TG]=X.current,aM(Z),new L0(X)},Hk.hydrateRoot=function(Z,X,Y){if(!b(Z))throw Error("Target container is not a DOM element.");aN(Z),X===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var J=!1,G="",z=i1,U=n1,B=s1,F=null;return Y!==null&&Y!==void 0&&(Y.unstable_strictMode===!0&&(J=!0),Y.identifierPrefix!==void 0&&(G=Y.identifierPrefix),Y.onUncaughtError!==void 0&&(z=Y.onUncaughtError),Y.onCaughtError!==void 0&&(U=Y.onCaughtError),Y.onRecoverableError!==void 0&&(B=Y.onRecoverableError),Y.formState!==void 0&&(F=Y.formState)),X=gN(Z,1,!0,X,Y!=null?Y:null,J,G,F,z,U,B,sN),X.context=mN(null),Y=X.current,J=TQ(Y),J=Nz(J),G=WG(J),G.callback=null,UG(Y,G,J),vJ(J,"hydrateRoot()",null),Y=J,X.current.lanes=Y,QG(X,Y),iJ(X),Z[TG]=X.current,aM(Z),new AL(X)},Hk.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Z2=pq((ug,eT)=>{var _k=f(tT());eT.exports=_k});function X2(Q,q){if(typeof Q==="function")return Q(q);else if(Q!==null&&Q!==void 0)Q.current=q}function Y2(...Q){return(q)=>{let H=!1,_=Q.map((W)=>{let K=X2(W,q);if(!H&&typeof K=="function")H=!0;return K});if(H)return()=>{for(let W=0;W<_.length;W++){let K=_[W];if(typeof K=="function")K();else X2(Q[W],null)}}}}var Wk;var Q2=C(()=>{Wk=f(ZZ(),1)});function Kk(Q){return typeof Q==="object"&&Q!==null&&"then"in Q}function J2(Q){return Q!=null&&typeof Q==="object"&&"$$typeof"in Q&&Q.$$typeof===Uk&&"_payload"in Q&&Kk(Q._payload)}function Bk(Q){let q=Lk(Q),H=JY.forwardRef((_,W)=>{let{children:K,...A}=_;if(J2(K)&&typeof xA==="function")K=xA(K._payload);let L=JY.Children.toArray(K),O=L.find(Ok);if(O){let I=O.props.children,N=L.map((M)=>{if(M===O){if(JY.Children.count(I)>1)return JY.Children.only(null);return JY.isValidElement(I)?I.props.children:null}else return M});return kA.jsx(q,{...A,ref:W,children:JY.isValidElement(I)?JY.cloneElement(I,void 0,N):null})}return kA.jsx(q,{...A,ref:W,children:K})});return H.displayName=`${Q}.Slot`,H}function Lk(Q){let q=JY.forwardRef((H,_)=>{let{children:W,...K}=H;if(J2(W)&&typeof xA==="function")W=xA(W._payload);if(JY.isValidElement(W)){let A=Mk(W),L=Fk(K,W.props);if(W.type!==JY.Fragment)L.ref=_?Y2(_,A):A;return JY.cloneElement(W,L)}return JY.Children.count(W)>1?JY.Children.only(null):null});return q.displayName=`${Q}.SlotClone`,q}function Ok(Q){return JY.isValidElement(Q)&&typeof Q.type==="function"&&"__radixId"in Q.type&&Q.type.__radixId===Ak}function Fk(Q,q){let H={...q};for(let _ in q){let W=Q[_],K=q[_];if(/^on[A-Z]/.test(_)){if(W&&K)H[_]=(...L)=>{let O=K(...L);return W(...L),O};else if(W)H[_]=W}else if(_==="style")H[_]={...W,...K};else if(_==="className")H[_]=[W,K].filter(Boolean).join(" ")}return{...Q,...H}}function Mk(Q){let q=Object.getOwnPropertyDescriptor(Q.props,"ref")?.get,H=q&&"isReactWarning"in q&&q.isReactWarning;if(H)return Q.ref;if(q=Object.getOwnPropertyDescriptor(Q,"ref")?.get,H=q&&"isReactWarning"in q&&q.isReactWarning,H)return Q.props.ref;return Q.props.ref||Q.ref}var JY,kA,Uk,xA,q2,Ak;var G2=C(()=>{Q2();JY=f(ZZ(),1),kA=f(i_(),1),Uk=Symbol.for("react.lazy"),xA=JY[" use ".trim().toString()];q2=Bk("Slot");Ak=Symbol("radix.slottable")});function z2(Q){var q,H,_="";if(typeof Q=="string"||typeof Q=="number")_+=Q;else if(typeof Q=="object")if(Array.isArray(Q)){var W=Q.length;for(q=0;q<W;q++)Q[q]&&(H=z2(Q[q]))&&(_&&(_+=" "),_+=H)}else for(H in Q)Q[H]&&(_&&(_+=" "),_+=H);return _}function IK(){for(var Q,q,H=0,_="",W=arguments.length;H<W;H++)(Q=arguments[H])&&(q=z2(Q))&&(_&&(_+=" "),_+=q);return _}var H2;var yA=C(()=>{H2=IK});var _2=(Q)=>typeof Q==="boolean"?`${Q}`:Q===0?"0":Q,W2,U2=(Q,q)=>(H)=>{var _;if((q===null||q===void 0?void 0:q.variants)==null)return W2(Q,H===null||H===void 0?void 0:H.class,H===null||H===void 0?void 0:H.className);let{variants:W,defaultVariants:K}=q,A=Object.keys(W).map((I)=>{let N=H===null||H===void 0?void 0:H[I],M=K===null||K===void 0?void 0:K[I];if(N===null)return null;let R=_2(N)||_2(M);return W[I][R]}),L=H&&Object.entries(H).reduce((I,N)=>{let[M,R]=N;if(R===void 0)return I;return I[M]=R,I},{}),O=q===null||q===void 0?void 0:(_=q.compoundVariants)===null||_===void 0?void 0:_.reduce((I,N)=>{let{class:M,className:R,...j}=N;return Object.entries(j).every((h)=>{let[d,b]=h;return Array.isArray(b)?b.includes({...K,...L}[d]):{...K,...L}[d]===b})?[...I,M,R]:I},[]);return W2(Q,A,O,H===null||H===void 0?void 0:H.class,H===null||H===void 0?void 0:H.className)};var K2=C(()=>{yA();W2=IK});var Nk=(Q,q)=>{let H=Array(Q.length+q.length);for(let _=0;_<Q.length;_++)H[_]=Q[_];for(let _=0;_<q.length;_++)H[Q.length+_]=q[_];return H},Ik=(Q,q)=>({classGroupId:Q,validator:q}),I2=(Q=new Map,q=null,H)=>({nextPart:Q,validators:q,classGroupId:H}),B2,Tk=(Q)=>{let q=Vk(Q),{conflictingClassGroups:H,conflictingClassGroupModifiers:_}=Q;return{getClassGroupId:(A)=>{if(A.startsWith("[")&&A.endsWith("]"))return wk(A);let L=A.split("-"),O=L[0]===""&&L.length>1?1:0;return T2(L,O,q)},getConflictingClassGroupIds:(A,L)=>{if(L){let O=_[A],I=H[A];if(O){if(I)return Nk(I,O);return O}return I||B2}return H[A]||B2}}},T2=(Q,q,H)=>{if(Q.length-q===0)return H.classGroupId;let W=Q[q],K=H.nextPart.get(W);if(K){let I=T2(Q,q+1,K);if(I)return I}let A=H.validators;if(A===null)return;let L=q===0?Q.join("-"):Q.slice(q).join("-"),O=A.length;for(let I=0;I<O;I++){let N=A[I];if(N.validator(L))return N.classGroupId}return},wk=(Q)=>Q.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let q=Q.slice(1,-1),H=q.indexOf(":"),_=q.slice(0,H);return _?"arbitrary.."+_:void 0})(),Vk=(Q)=>{let{theme:q,classGroups:H}=Q;return Rk(H,q)},Rk=(Q,q)=>{let H=I2();for(let _ in Q){let W=Q[_];z3(W,H,_,q)}return H},z3=(Q,q,H,_)=>{let W=Q.length;for(let K=0;K<W;K++){let A=Q[K];jk(A,q,H,_)}},jk=(Q,q,H,_)=>{if(typeof Q==="string"){Ck(Q,q,H);return}if(typeof Q==="function"){Pk(Q,q,H,_);return}Dk(Q,q,H,_)},Ck=(Q,q,H)=>{let _=Q===""?q:w2(q,Q);_.classGroupId=H},Pk=(Q,q,H,_)=>{if($k(Q)){z3(Q(_),q,H,_);return}if(q.validators===null)q.validators=[];q.validators.push(Ik(H,Q))},Dk=(Q,q,H,_)=>{let W=Object.entries(Q),K=W.length;for(let A=0;A<K;A++){let[L,O]=W[A];z3(O,w2(q,L),H,_)}},w2=(Q,q)=>{let H=Q,_=q.split("-"),W=_.length;for(let K=0;K<W;K++){let A=_[K],L=H.nextPart.get(A);if(!L)L=I2(),H.nextPart.set(A,L);H=L}return H},$k=(Q)=>("isThemeGetter"in Q)&&Q.isThemeGetter===!0,Sk=(Q)=>{if(Q<1)return{get:()=>{return},set:()=>{}};let q=0,H=Object.create(null),_=Object.create(null),W=(K,A)=>{if(H[K]=A,q++,q>Q)q=0,_=H,H=Object.create(null)};return{get(K){let A=H[K];if(A!==void 0)return A;if((A=_[K])!==void 0)return W(K,A),A},set(K,A){if(K in H)H[K]=A;else W(K,A)}}},Ek,L2=(Q,q,H,_,W)=>({modifiers:Q,hasImportantModifier:q,baseClassName:H,maybePostfixModifierPosition:_,isExternal:W}),kk=(Q)=>{let{prefix:q,experimentalParseClassName:H}=Q,_=(W)=>{let K=[],A=0,L=0,O=0,I,N=W.length;for(let d=0;d<N;d++){let b=W[d];if(A===0&&L===0){if(b===":"){K.push(W.slice(O,d)),O=d+1;continue}if(b==="/"){I=d;continue}}if(b==="[")A++;else if(b==="]")A--;else if(b==="(")L++;else if(b===")")L--}let M=K.length===0?W:W.slice(O),R=M,j=!1;if(M.endsWith("!"))R=M.slice(0,-1),j=!0;else if(M.startsWith("!"))R=M.slice(1),j=!0;let h=I&&I>O?I-O:void 0;return L2(K,j,R,h)};if(q){let W=q+":",K=_;_=(A)=>A.startsWith(W)?K(A.slice(W.length)):L2(Ek,!1,A,void 0,!0)}if(H){let W=_;_=(K)=>H({className:K,parseClassName:W})}return _},xk=(Q)=>{let q=new Map;return Q.orderSensitiveModifiers.forEach((H,_)=>{q.set(H,1e6+_)}),(H)=>{let _=[],W=[];for(let K=0;K<H.length;K++){let A=H[K],L=A[0]==="[",O=q.has(A);if(L||O){if(W.length>0)W.sort(),_.push(...W),W=[];_.push(A)}else W.push(A)}if(W.length>0)W.sort(),_.push(...W);return _}},yk=(Q)=>({cache:Sk(Q.cacheSize),parseClassName:kk(Q),sortModifiers:xk(Q),postfixLookupClassGroupIds:vk(Q),...Tk(Q)}),vk=(Q)=>{let q=Object.create(null),H=Q.postfixLookupClassGroups;if(H)for(let _=0;_<H.length;_++)q[H[_]]=!0;return q},hk,bk=(Q,q)=>{let{parseClassName:H,getClassGroupId:_,getConflictingClassGroupIds:W,sortModifiers:K,postfixLookupClassGroupIds:A}=q,L=[],O=Q.trim().split(hk),I="";for(let N=O.length-1;N>=0;N-=1){let M=O[N],{isExternal:R,modifiers:j,hasImportantModifier:h,baseClassName:d,maybePostfixModifierPosition:b}=H(M);if(R){I=M+(I.length>0?" "+I:I);continue}let a=!!b,t;if(a){let JZ=d.substring(0,b);t=_(JZ);let l=t&&A[t]?_(d):void 0;if(l&&l!==t)t=l,a=!1}else t=_(d);if(!t){if(!a){I=M+(I.length>0?" "+I:I);continue}if(t=_(d),!t){I=M+(I.length>0?" "+I:I);continue}a=!1}let qZ=j.length===0?"":j.length===1?j[0]:K(j).join(":"),QZ=h?qZ+"!":qZ,LZ=QZ+t;if(L.indexOf(LZ)>-1)continue;L.push(LZ);let kZ=W(t,a);for(let JZ=0;JZ<kZ.length;++JZ){let l=kZ[JZ];L.push(QZ+l)}I=M+(I.length>0?" "+I:I)}return I},gk=(...Q)=>{let q=0,H,_,W="";while(q<Q.length)if(H=Q[q++]){if(_=V2(H))W&&(W+=" "),W+=_}return W},V2=(Q)=>{if(typeof Q==="string")return Q;let q,H="";for(let _=0;_<Q.length;_++)if(Q[_]){if(q=V2(Q[_]))H&&(H+=" "),H+=q}return H},A2=(Q,...q)=>{let H,_,W,K,A=(O)=>{let I=q.reduce((N,M)=>M(N),Q());return H=yk(I),_=H.cache.get,W=H.cache.set,K=L,L(O)},L=(O)=>{let I=_(O);if(I)return I;let N=bk(O,H);return W(O,N),N};return K=A,(...O)=>K(gk(...O))},mk,WY=(Q)=>{let q=(H)=>H[Q]||mk;return q.isThemeGetter=!0,q},R2,j2,fk,uk,dk,ck,pk,lk,nG=(Q)=>fk.test(Q),ZX=(Q)=>!!Q&&!Number.isNaN(Number(Q)),Hq=(Q)=>!!Q&&Number.isInteger(Number(Q)),q3=(Q)=>Q.endsWith("%")&&ZX(Q.slice(0,-1)),iq=(Q)=>uk.test(Q),C2=()=>!0,ik=(Q)=>dk.test(Q)&&!ck.test(Q),H3=()=>!1,nk=(Q)=>pk.test(Q),sk=(Q)=>lk.test(Q),ak=(Q)=>!FZ(Q)&&!IZ(Q),ok=(Q)=>Q.startsWith("@container")&&(Q[10]==="/"&&Q[11]!==void 0||Q[11]==="s"&&Q[16]!==void 0&&Q.startsWith("-size/",10)||Q[11]==="n"&&Q[18]!==void 0&&Q.startsWith("-normal/",10)),rk=(Q)=>sG(Q,$2,H3),FZ=(Q)=>R2.test(Q),zH=(Q)=>sG(Q,S2,ik),O2=(Q)=>sG(Q,qx,ZX),tk=(Q)=>sG(Q,k2,C2),ek=(Q)=>sG(Q,E2,H3),F2=(Q)=>sG(Q,P2,H3),Zx=(Q)=>sG(Q,D2,sk),vA=(Q)=>sG(Q,x2,nk),IZ=(Q)=>j2.test(Q),TK=(Q)=>HH(Q,S2),Xx=(Q)=>HH(Q,E2),M2=(Q)=>HH(Q,P2),Yx=(Q)=>HH(Q,$2),Qx=(Q)=>HH(Q,D2),hA=(Q)=>HH(Q,x2,!0),Jx=(Q)=>HH(Q,k2,!0),sG=(Q,q,H)=>{let _=R2.exec(Q);if(_){if(_[1])return q(_[1]);return H(_[2])}return!1},HH=(Q,q,H=!1)=>{let _=j2.exec(Q);if(_){if(_[1])return q(_[1]);return H}return!1},P2=(Q)=>Q==="position"||Q==="percentage",D2=(Q)=>Q==="image"||Q==="url",$2=(Q)=>Q==="length"||Q==="size"||Q==="bg-size",S2=(Q)=>Q==="length",qx=(Q)=>Q==="number",E2=(Q)=>Q==="family-name",k2=(Q)=>Q==="number"||Q==="weight",x2=(Q)=>Q==="shadow",N2=()=>{let Q=WY("color"),q=WY("font"),H=WY("text"),_=WY("font-weight"),W=WY("tracking"),K=WY("leading"),A=WY("breakpoint"),L=WY("container"),O=WY("spacing"),I=WY("radius"),N=WY("shadow"),M=WY("inset-shadow"),R=WY("text-shadow"),j=WY("drop-shadow"),h=WY("blur"),d=WY("perspective"),b=WY("aspect"),a=WY("ease"),t=WY("animate"),qZ=()=>["auto","avoid","all","avoid-page","page","left","right","column"],QZ=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],LZ=()=>[...QZ(),IZ,FZ],kZ=()=>["auto","hidden","clip","visible","scroll"],JZ=()=>["auto","contain","none"],l=()=>[IZ,FZ,O],OZ=()=>[nG,"full","auto",...l()],n=()=>[Hq,"none","subgrid",IZ,FZ],wZ=()=>["auto",{span:["full",Hq,IZ,FZ]},Hq,IZ,FZ],WZ=()=>[Hq,"auto",IZ,FZ],zZ=()=>["auto","min","max","fr",IZ,FZ],v=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],m=()=>["start","end","center","stretch","center-safe","end-safe"],E=()=>["auto",...l()],g=()=>[nG,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...l()],e=()=>[nG,"screen","full","dvw","lvw","svw","min","max","fit",...l()],p=()=>[nG,"screen","full","lh","dvh","lvh","svh","min","max","fit",...l()],w=()=>[Q,IZ,FZ],o=()=>[...QZ(),M2,F2,{position:[IZ,FZ]}],AZ=()=>["no-repeat",{repeat:["","x","y","space","round"]}],VZ=()=>["auto","cover","contain",Yx,rk,{size:[IZ,FZ]}],vZ=()=>[q3,TK,zH],JX=()=>["","none","full",I,IZ,FZ],NZ=()=>["",ZX,TK,zH],YX=()=>["solid","dashed","dotted","double"],TX=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],BX=()=>[ZX,q3,M2,F2],Oq=()=>["","none",h,IZ,FZ],UZ=()=>["none",ZX,IZ,FZ],KQ=()=>["none",ZX,IZ,FZ],BQ=()=>[ZX,IZ,FZ],yY=()=>[nG,"full",...l()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[iq],breakpoint:[iq],color:[C2],container:[iq],"drop-shadow":[iq],ease:["in","out","in-out"],font:[ak],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[iq],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[iq],shadow:[iq],spacing:["px",ZX],text:[iq],"text-shadow":[iq],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",nG,FZ,IZ,b]}],container:["container"],"container-type":[{"@container":["","normal","size",IZ,FZ]}],"container-named":[ok],columns:[{columns:[ZX,FZ,IZ,L]}],"break-after":[{"break-after":qZ()}],"break-before":[{"break-before":qZ()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:LZ()}],overflow:[{overflow:kZ()}],"overflow-x":[{"overflow-x":kZ()}],"overflow-y":[{"overflow-y":kZ()}],overscroll:[{overscroll:JZ()}],"overscroll-x":[{"overscroll-x":JZ()}],"overscroll-y":[{"overscroll-y":JZ()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:OZ()}],"inset-x":[{"inset-x":OZ()}],"inset-y":[{"inset-y":OZ()}],start:[{"inset-s":OZ(),start:OZ()}],end:[{"inset-e":OZ(),end:OZ()}],"inset-bs":[{"inset-bs":OZ()}],"inset-be":[{"inset-be":OZ()}],top:[{top:OZ()}],right:[{right:OZ()}],bottom:[{bottom:OZ()}],left:[{left:OZ()}],visibility:["visible","invisible","collapse"],z:[{z:[Hq,"auto",IZ,FZ]}],basis:[{basis:[nG,"full","auto",L,...l()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ZX,nG,"auto","initial","none",FZ]}],grow:[{grow:["",ZX,IZ,FZ]}],shrink:[{shrink:["",ZX,IZ,FZ]}],order:[{order:[Hq,"first","last","none",IZ,FZ]}],"grid-cols":[{"grid-cols":n()}],"col-start-end":[{col:wZ()}],"col-start":[{"col-start":WZ()}],"col-end":[{"col-end":WZ()}],"grid-rows":[{"grid-rows":n()}],"row-start-end":[{row:wZ()}],"row-start":[{"row-start":WZ()}],"row-end":[{"row-end":WZ()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":zZ()}],"auto-rows":[{"auto-rows":zZ()}],gap:[{gap:l()}],"gap-x":[{"gap-x":l()}],"gap-y":[{"gap-y":l()}],"justify-content":[{justify:[...v(),"normal"]}],"justify-items":[{"justify-items":[...m(),"normal"]}],"justify-self":[{"justify-self":["auto",...m()]}],"align-content":[{content:["normal",...v()]}],"align-items":[{items:[...m(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...m(),{baseline:["","last"]}]}],"place-content":[{"place-content":v()}],"place-items":[{"place-items":[...m(),"baseline"]}],"place-self":[{"place-self":["auto",...m()]}],p:[{p:l()}],px:[{px:l()}],py:[{py:l()}],ps:[{ps:l()}],pe:[{pe:l()}],pbs:[{pbs:l()}],pbe:[{pbe:l()}],pt:[{pt:l()}],pr:[{pr:l()}],pb:[{pb:l()}],pl:[{pl:l()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mbs:[{mbs:E()}],mbe:[{mbe:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":l()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":l()}],"space-y-reverse":["space-y-reverse"],size:[{size:g()}],"inline-size":[{inline:["auto",...e()]}],"min-inline-size":[{"min-inline":["auto",...e()]}],"max-inline-size":[{"max-inline":["none",...e()]}],"block-size":[{block:["auto",...p()]}],"min-block-size":[{"min-block":["auto",...p()]}],"max-block-size":[{"max-block":["none",...p()]}],w:[{w:[L,"screen",...g()]}],"min-w":[{"min-w":[L,"screen","none",...g()]}],"max-w":[{"max-w":[L,"screen","none","prose",{screen:[A]},...g()]}],h:[{h:["screen","lh",...g()]}],"min-h":[{"min-h":["screen","lh","none",...g()]}],"max-h":[{"max-h":["screen","lh",...g()]}],"font-size":[{text:["base",H,TK,zH]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[_,Jx,tk]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",q3,FZ]}],"font-family":[{font:[Xx,ek,q]}],"font-features":[{"font-features":[FZ]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[W,IZ,FZ]}],"line-clamp":[{"line-clamp":[ZX,"none",IZ,O2]}],leading:[{leading:[K,...l()]}],"list-image":[{"list-image":["none",IZ,FZ]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",IZ,FZ]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:w()}],"text-color":[{text:w()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...YX(),"wavy"]}],"text-decoration-thickness":[{decoration:[ZX,"from-font","auto",IZ,zH]}],"text-decoration-color":[{decoration:w()}],"underline-offset":[{"underline-offset":[ZX,"auto",IZ,FZ]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:l()}],"tab-size":[{tab:[Hq,IZ,FZ]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",IZ,FZ]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",IZ,FZ]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:o()}],"bg-repeat":[{bg:AZ()}],"bg-size":[{bg:VZ()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Hq,IZ,FZ],radial:["",IZ,FZ],conic:[Hq,IZ,FZ]},Qx,Zx]}],"bg-color":[{bg:w()}],"gradient-from-pos":[{from:vZ()}],"gradient-via-pos":[{via:vZ()}],"gradient-to-pos":[{to:vZ()}],"gradient-from":[{from:w()}],"gradient-via":[{via:w()}],"gradient-to":[{to:w()}],rounded:[{rounded:JX()}],"rounded-s":[{"rounded-s":JX()}],"rounded-e":[{"rounded-e":JX()}],"rounded-t":[{"rounded-t":JX()}],"rounded-r":[{"rounded-r":JX()}],"rounded-b":[{"rounded-b":JX()}],"rounded-l":[{"rounded-l":JX()}],"rounded-ss":[{"rounded-ss":JX()}],"rounded-se":[{"rounded-se":JX()}],"rounded-ee":[{"rounded-ee":JX()}],"rounded-es":[{"rounded-es":JX()}],"rounded-tl":[{"rounded-tl":JX()}],"rounded-tr":[{"rounded-tr":JX()}],"rounded-br":[{"rounded-br":JX()}],"rounded-bl":[{"rounded-bl":JX()}],"border-w":[{border:NZ()}],"border-w-x":[{"border-x":NZ()}],"border-w-y":[{"border-y":NZ()}],"border-w-s":[{"border-s":NZ()}],"border-w-e":[{"border-e":NZ()}],"border-w-bs":[{"border-bs":NZ()}],"border-w-be":[{"border-be":NZ()}],"border-w-t":[{"border-t":NZ()}],"border-w-r":[{"border-r":NZ()}],"border-w-b":[{"border-b":NZ()}],"border-w-l":[{"border-l":NZ()}],"divide-x":[{"divide-x":NZ()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":NZ()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...YX(),"hidden","none"]}],"divide-style":[{divide:[...YX(),"hidden","none"]}],"border-color":[{border:w()}],"border-color-x":[{"border-x":w()}],"border-color-y":[{"border-y":w()}],"border-color-s":[{"border-s":w()}],"border-color-e":[{"border-e":w()}],"border-color-bs":[{"border-bs":w()}],"border-color-be":[{"border-be":w()}],"border-color-t":[{"border-t":w()}],"border-color-r":[{"border-r":w()}],"border-color-b":[{"border-b":w()}],"border-color-l":[{"border-l":w()}],"divide-color":[{divide:w()}],"outline-style":[{outline:[...YX(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ZX,IZ,FZ]}],"outline-w":[{outline:["",ZX,TK,zH]}],"outline-color":[{outline:w()}],shadow:[{shadow:["","none",N,hA,vA]}],"shadow-color":[{shadow:w()}],"inset-shadow":[{"inset-shadow":["none",M,hA,vA]}],"inset-shadow-color":[{"inset-shadow":w()}],"ring-w":[{ring:NZ()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:w()}],"ring-offset-w":[{"ring-offset":[ZX,zH]}],"ring-offset-color":[{"ring-offset":w()}],"inset-ring-w":[{"inset-ring":NZ()}],"inset-ring-color":[{"inset-ring":w()}],"text-shadow":[{"text-shadow":["none",R,hA,vA]}],"text-shadow-color":[{"text-shadow":w()}],opacity:[{opacity:[ZX,IZ,FZ]}],"mix-blend":[{"mix-blend":[...TX(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":TX()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ZX]}],"mask-image-linear-from-pos":[{"mask-linear-from":BX()}],"mask-image-linear-to-pos":[{"mask-linear-to":BX()}],"mask-image-linear-from-color":[{"mask-linear-from":w()}],"mask-image-linear-to-color":[{"mask-linear-to":w()}],"mask-image-t-from-pos":[{"mask-t-from":BX()}],"mask-image-t-to-pos":[{"mask-t-to":BX()}],"mask-image-t-from-color":[{"mask-t-from":w()}],"mask-image-t-to-color":[{"mask-t-to":w()}],"mask-image-r-from-pos":[{"mask-r-from":BX()}],"mask-image-r-to-pos":[{"mask-r-to":BX()}],"mask-image-r-from-color":[{"mask-r-from":w()}],"mask-image-r-to-color":[{"mask-r-to":w()}],"mask-image-b-from-pos":[{"mask-b-from":BX()}],"mask-image-b-to-pos":[{"mask-b-to":BX()}],"mask-image-b-from-color":[{"mask-b-from":w()}],"mask-image-b-to-color":[{"mask-b-to":w()}],"mask-image-l-from-pos":[{"mask-l-from":BX()}],"mask-image-l-to-pos":[{"mask-l-to":BX()}],"mask-image-l-from-color":[{"mask-l-from":w()}],"mask-image-l-to-color":[{"mask-l-to":w()}],"mask-image-x-from-pos":[{"mask-x-from":BX()}],"mask-image-x-to-pos":[{"mask-x-to":BX()}],"mask-image-x-from-color":[{"mask-x-from":w()}],"mask-image-x-to-color":[{"mask-x-to":w()}],"mask-image-y-from-pos":[{"mask-y-from":BX()}],"mask-image-y-to-pos":[{"mask-y-to":BX()}],"mask-image-y-from-color":[{"mask-y-from":w()}],"mask-image-y-to-color":[{"mask-y-to":w()}],"mask-image-radial":[{"mask-radial":[IZ,FZ]}],"mask-image-radial-from-pos":[{"mask-radial-from":BX()}],"mask-image-radial-to-pos":[{"mask-radial-to":BX()}],"mask-image-radial-from-color":[{"mask-radial-from":w()}],"mask-image-radial-to-color":[{"mask-radial-to":w()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":QZ()}],"mask-image-conic-pos":[{"mask-conic":[ZX]}],"mask-image-conic-from-pos":[{"mask-conic-from":BX()}],"mask-image-conic-to-pos":[{"mask-conic-to":BX()}],"mask-image-conic-from-color":[{"mask-conic-from":w()}],"mask-image-conic-to-color":[{"mask-conic-to":w()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:o()}],"mask-repeat":[{mask:AZ()}],"mask-size":[{mask:VZ()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",IZ,FZ]}],filter:[{filter:["","none",IZ,FZ]}],blur:[{blur:Oq()}],brightness:[{brightness:[ZX,IZ,FZ]}],contrast:[{contrast:[ZX,IZ,FZ]}],"drop-shadow":[{"drop-shadow":["","none",j,hA,vA]}],"drop-shadow-color":[{"drop-shadow":w()}],grayscale:[{grayscale:["",ZX,IZ,FZ]}],"hue-rotate":[{"hue-rotate":[ZX,IZ,FZ]}],invert:[{invert:["",ZX,IZ,FZ]}],saturate:[{saturate:[ZX,IZ,FZ]}],sepia:[{sepia:["",ZX,IZ,FZ]}],"backdrop-filter":[{"backdrop-filter":["","none",IZ,FZ]}],"backdrop-blur":[{"backdrop-blur":Oq()}],"backdrop-brightness":[{"backdrop-brightness":[ZX,IZ,FZ]}],"backdrop-contrast":[{"backdrop-contrast":[ZX,IZ,FZ]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ZX,IZ,FZ]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ZX,IZ,FZ]}],"backdrop-invert":[{"backdrop-invert":["",ZX,IZ,FZ]}],"backdrop-opacity":[{"backdrop-opacity":[ZX,IZ,FZ]}],"backdrop-saturate":[{"backdrop-saturate":[ZX,IZ,FZ]}],"backdrop-sepia":[{"backdrop-sepia":["",ZX,IZ,FZ]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":l()}],"border-spacing-x":[{"border-spacing-x":l()}],"border-spacing-y":[{"border-spacing-y":l()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",IZ,FZ]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ZX,"initial",IZ,FZ]}],ease:[{ease:["linear","initial",a,IZ,FZ]}],delay:[{delay:[ZX,IZ,FZ]}],animate:[{animate:["none",t,IZ,FZ]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[d,IZ,FZ]}],"perspective-origin":[{"perspective-origin":LZ()}],rotate:[{rotate:UZ()}],"rotate-x":[{"rotate-x":UZ()}],"rotate-y":[{"rotate-y":UZ()}],"rotate-z":[{"rotate-z":UZ()}],scale:[{scale:KQ()}],"scale-x":[{"scale-x":KQ()}],"scale-y":[{"scale-y":KQ()}],"scale-z":[{"scale-z":KQ()}],"scale-3d":["scale-3d"],skew:[{skew:BQ()}],"skew-x":[{"skew-x":BQ()}],"skew-y":[{"skew-y":BQ()}],transform:[{transform:[IZ,FZ,"","none","gpu","cpu"]}],"transform-origin":[{origin:LZ()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:yY()}],"translate-x":[{"translate-x":yY()}],"translate-y":[{"translate-y":yY()}],"translate-z":[{"translate-z":yY()}],"translate-none":["translate-none"],zoom:[{zoom:[Hq,IZ,FZ]}],accent:[{accent:w()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:w()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",IZ,FZ]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":w()}],"scrollbar-track-color":[{"scrollbar-track":w()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":l()}],"scroll-mx":[{"scroll-mx":l()}],"scroll-my":[{"scroll-my":l()}],"scroll-ms":[{"scroll-ms":l()}],"scroll-me":[{"scroll-me":l()}],"scroll-mbs":[{"scroll-mbs":l()}],"scroll-mbe":[{"scroll-mbe":l()}],"scroll-mt":[{"scroll-mt":l()}],"scroll-mr":[{"scroll-mr":l()}],"scroll-mb":[{"scroll-mb":l()}],"scroll-ml":[{"scroll-ml":l()}],"scroll-p":[{"scroll-p":l()}],"scroll-px":[{"scroll-px":l()}],"scroll-py":[{"scroll-py":l()}],"scroll-ps":[{"scroll-ps":l()}],"scroll-pe":[{"scroll-pe":l()}],"scroll-pbs":[{"scroll-pbs":l()}],"scroll-pbe":[{"scroll-pbe":l()}],"scroll-pt":[{"scroll-pt":l()}],"scroll-pr":[{"scroll-pr":l()}],"scroll-pb":[{"scroll-pb":l()}],"scroll-pl":[{"scroll-pl":l()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",IZ,FZ]}],fill:[{fill:["none",...w()]}],"stroke-w":[{stroke:[ZX,TK,zH,O2]}],stroke:[{stroke:["none",...w()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Gx=(Q,{cacheSize:q,prefix:H,experimentalParseClassName:_,extend:W={},override:K={}})=>{return r_(Q,"cacheSize",q),r_(Q,"prefix",H),r_(Q,"experimentalParseClassName",_),bA(Q.theme,K.theme),bA(Q.classGroups,K.classGroups),bA(Q.conflictingClassGroups,K.conflictingClassGroups),bA(Q.conflictingClassGroupModifiers,K.conflictingClassGroupModifiers),r_(Q,"postfixLookupClassGroups",K.postfixLookupClassGroups),r_(Q,"orderSensitiveModifiers",K.orderSensitiveModifiers),gA(Q.theme,W.theme),gA(Q.classGroups,W.classGroups),gA(Q.conflictingClassGroups,W.conflictingClassGroups),gA(Q.conflictingClassGroupModifiers,W.conflictingClassGroupModifiers),G3(Q,W,"postfixLookupClassGroups"),G3(Q,W,"orderSensitiveModifiers"),Q},r_=(Q,q,H)=>{if(H!==void 0)Q[q]=H},bA=(Q,q)=>{if(q)for(let H in q)r_(Q,H,q[H])},gA=(Q,q)=>{if(q)for(let H in q)G3(Q,q,H)},G3=(Q,q,H)=>{let _=q[H];if(_!==void 0)Q[H]=Q[H]?Q[H].concat(_):_},y2=(Q,...q)=>typeof Q==="function"?A2(N2,Q,...q):A2(()=>Gx(N2(),Q),...q);var v2=C(()=>{B2=[],Ek=[],hk=/\s+/,mk=[],R2=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,j2=/^\((?:(\w[\w-]*):)?(.+)\)$/i,fk=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,uk=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,dk=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ck=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,pk=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,lk=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/});var nq,zx,Hx=(Q)=>{if(typeof Q==="boolean")return Q?"":void 0;if(Q===void 0||Q===null)return;return String(Q)},_x=(Q)=>{let q=JSON.stringify(Q),H=nq.useRef({signature:q,value:Q});if(H.current.signature!==q)H.current={signature:q,value:Q};return H.current.value},mZ=(Q,q)=>{let H=U2(q?.baseClass,{variants:q?.variants,defaultVariants:q?.defaultVariants,compoundVariants:q?.compoundVariants}),_=q?.passVariantProps?new Set(q.passVariantProps):void 0,W=nq.forwardRef((K,A)=>{let{children:L,...O}=K,I=O.className;delete O.className;let N={};for(let a in q?.variants)if(N[a]=O[a],a in O&&!_?.has(a))delete O[a];let M=_x(N),R={};if(q?.variantsAsDataAttrs&&q.variants)for(let a of q.variantsAsDataAttrs){let t=a.toString(),qZ=K[t]??q.defaultVariants?.[a];R[`data-${t}`]=Hx(qZ)}let j=O.style,h=nq.useMemo(()=>q?.style?{...q.style,...j}:j,[j]),d=nq.useMemo(()=>zx(IK(H(M),I)),[M,I]),b=Q;if(K.asChild&&typeof Q==="string")b=q2,delete O.asChild;return nq.createElement(b,{ref:A,className:d,...q.defaultProps,...R,...O,style:h},L)});return W.displayName=q?.displayName??"uic",W};var FY=C(()=>{G2();K2();yA();v2();nq=f(ZZ(),1),zx=y2({extend:{classGroups:{"font-size":[{text:["micro","caption","label","compact","callout","body","subtitle","title","headline","display","heading1","heading2","heading3","heading4","heading5"]}]},theme:{spacing:["nav-x"],radius:["panel"]}}})});function wJ(...Q){return(...q)=>{for(let H of Q)if(typeof H==="function")H(...q)}}var t_=()=>{};var h2,dZ;var PY=C(()=>{h2=f(ZZ(),1),dZ=typeof document<"u"?h2.default.useLayoutEffect:()=>{}});function Kx(Q=!1){let q=MY.useContext(b2),H=MY.useRef(null);if(H.current===null&&!Q){let _=MY.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(_){let W=_3.get(_);if(W==null)_3.set(_,{id:q.current,state:_.memoizedState});else if(_.memoizedState!==W.state)q.current=W.id,_3.delete(_)}H.current=++q.current}return H.current}function Bx(Q){let q=MY.useContext(b2);if(q===mA&&!Ux)console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let H=Kx(!!Q),_=`react-aria${q.prefix}`;return Q||`${_}-${H}`}function Lx(Q){let q=MY.default.useId(),[H]=MY.useState(sY()),_=H?"react-aria":`react-aria${mA.prefix}`;return Q||`${_}-${q}`}function Ax(){return!1}function Ox(){return!0}function Fx(Q){return()=>{}}function sY(){if(typeof MY.default.useSyncExternalStore==="function")return MY.default.useSyncExternalStore(Fx,Ax,Ox);return MY.useContext(Wx)}var MY,mA,b2,Wx,Ux,_3,g2;var aG=C(()=>{MY=f(ZZ(),1),mA={prefix:String(Math.round(Math.random()*10000000000)),current:0},b2=MY.default.createContext(mA),Wx=MY.default.createContext(!1),Ux=Boolean(typeof window<"u"&&window.document&&window.document.createElement),_3=new WeakMap;g2=typeof MY.default.useId==="function"?Lx:Bx});function m2(Q){let[q,H]=oG.useState(Q),_=oG.useRef(q),W=oG.useRef(null),K=oG.useRef(()=>{if(!W.current)return;let L=W.current.next();if(L.done){W.current=null;return}if(_.current===L.value)K.current();else H(L.value)});dZ(()=>{if(_.current=q,W.current)K.current()});let A=oG.useCallback((L)=>{W.current=L(_.current),K.current()},[K]);return[q,A]}var oG;var f2=C(()=>{PY();oG=f(ZZ(),1)});function aX(Q){let[q,H]=sq.useState(Q),_=sq.useRef(null),W=g2(q),K=sq.useRef(null);if(wK)wK.register(K,W);if(Mx){let A=e_.get(W);if(A&&!A.includes(_))A.push(_);else e_.set(W,[_])}return dZ(()=>{let A=W;return()=>{if(wK)wK.unregister(K);e_.delete(A)}},[W]),sq.useEffect(()=>{let A=_.current;if(A)H(A);return()=>{if(A)_.current=null}}),W}function u2(Q,q){if(Q===q)return Q;let H=e_.get(Q);if(H)return H.forEach((W)=>W.current=q),q;let _=e_.get(q);if(_)return _.forEach((W)=>W.current=Q),Q;return q}function _q(Q=[]){let q=aX(),[H,_]=m2(q),W=sq.useCallback(()=>{_(function*(){yield q,yield document.getElementById(q)?q:void 0})},[q,_]);return dZ(W,[q,W,...Q]),H}var sq,Mx,e_,wK;var YJ=C(()=>{PY();aG();f2();sq=f(ZZ(),1),Mx=Boolean(typeof window<"u"&&window.document&&window.document.createElement),e_=new Map;if(typeof FinalizationRegistry<"u")wK=new FinalizationRegistry((Q)=>{e_.delete(Q)})});function Wq(...Q){if(Q.length===1&&Q[0])return Q[0];return(q)=>{let H=!1,_=Q.map((W)=>{let K=d2(W,q);return H||=typeof K=="function",K});if(H)return()=>{_.forEach((W,K)=>{if(typeof W==="function")W();else d2(Q[K],null)})}}}function d2(Q,q){if(typeof Q==="function")return Q(q);else if(Q!=null)Q.current=q}var W3=()=>{};function CZ(...Q){let q={...Q[0]};for(let H=1;H<Q.length;H++){let _=Q[H];for(let W in _){let K=q[W],A=_[W];if(typeof K==="function"&&typeof A==="function"&&W[0]==="o"&&W[1]==="n"&&W.charCodeAt(2)>=65&&W.charCodeAt(2)<=90)q[W]=wJ(K,A);else if((W==="className"||W==="UNSAFE_className")&&typeof K==="string"&&typeof A==="string")q[W]=H2(K,A);else if(W==="id"&&K&&A)q.id=u2(K,A);else if(W==="ref"&&K&&A)q.ref=Wq(K,A);else q[W]=A!==void 0?A:K}}return q}var DY=C(()=>{t_();YJ();W3();yA()});var VJ=C(()=>{DY()});var fA=C(()=>{W3()});var c2=C(()=>{PY()});function JQ(Q){let q=_H.useRef(null),H=_H.useRef(void 0),_=_H.useCallback((W)=>{if(typeof Q==="function"){let K=Q,A=K(W);return()=>{if(typeof A==="function")A();else K(null)}}else if(Q)return Q.current=W,()=>{Q.current=null}},[Q]);return _H.useMemo(()=>({get current(){return q.current},set current(W){if(q.current=W,H.current)H.current(),H.current=void 0;if(W!=null)H.current=_(W)}}),[_])}var _H;var p2=C(()=>{_H=f(ZZ(),1)});var ZW=C(()=>{p2()});function xQ({values:Q,children:q}){for(let[H,_]of Q)q=NY.default.createElement(H.Provider,{value:_},q);return q}function yX(Q){let{className:q,style:H,children:_,defaultClassName:W,defaultChildren:K,defaultStyle:A,values:L,render:O}=Q;return NY.useMemo(()=>{let I,N,M;if(typeof q==="function")I=q({...L,defaultClassName:W});else I=q;if(typeof H==="function")N=H({...L,defaultStyle:A||{}});else N=H;if(typeof _==="function")M=_({...L,defaultChildren:K});else if(_==null)M=K;else M=_;return{className:I??W,style:N||A?{...A,...N}:void 0,children:M??K,"data-rac":"",render:O?(R)=>O(R,L):void 0}},[q,H,_,W,K,A,L,O])}function UH(Q,q){let H=NY.useContext(Q);if(q===null)return null;if(H&&typeof H==="object"&&"slots"in H&&H.slots){let _=q||WH;if(!H.slots[_]){let W=new Intl.ListFormat().format(Object.keys(H.slots).map((A)=>`"${A}"`)),K=q?`Invalid slot "${q}".`:"A slot prop is required.";throw Error(`${K} Valid slot names are ${W}.`)}return H.slots[_]}return H}function fX(Q,q,H){let _=UH(H,Q.slot)||{},{ref:W,...K}=_,A=JQ(NY.useMemo(()=>Wq(q,W),[q,W])),L=CZ(K,Q);if("style"in K&&K.style&&"style"in Q&&Q.style)if(typeof K.style==="function"||typeof Q.style==="function")L.style=(O)=>{let I=typeof K.style==="function"?K.style(O):K.style,N={...O.defaultStyle,...I},M=typeof Q.style==="function"?Q.style({...O,defaultStyle:N}):Q.style;return{...N,...M}};else L.style={...K.style,...Q.style};return[L,A]}function uA(Q=!0){let[q,H]=NY.useState(Q),_=NY.useRef(!1),W=NY.useCallback((K)=>{_.current=!0,H(!!K)},[]);return dZ(()=>{if(!_.current)H(!1)},[]),[W,q]}function i2(Q){let q=/^(data-.*)$/,H={};for(let _ in Q)if(!q.test(_))H[_]=Q[_];return H}function Nx(Q,q,H){let{render:_,...W}=q,K=NY.useRef(null),A=NY.useMemo(()=>Wq(H,K),[H,K]);dZ(()=>{if(_){if(!K.current)console.warn("Ref was not connected to DOM element returned by custom `render` function. Did you forget to pass through or merge the `ref`?");else if(K.current.localName!==Q)console.warn(`Unexpected DOM element returned by custom \`render\` function. Expected <${Q}>, got <${K.current.localName}>. This may break the component behavior and accessibility.`)}},[Q,_]);let L={...W,ref:A};if(_)return _(L,void 0);return NY.default.createElement(Q,L)}var NY,WH,l2,LX;var qQ=C(()=>{VJ();fA();c2();ZW();NY=f(ZZ(),1),WH=Symbol("default");l2={},LX=new Proxy({},{get(Q,q){if(typeof q!=="string")return;let H=l2[q];if(!H)H=NY.forwardRef(Nx.bind(null,q)),l2[q]=H;return H}})});function RJ(Q){let q=(H,_)=>{if(KH.useContext(Ix))return null;return Q(H,_)};return q.displayName=Q.displayName||Q.name,KH.forwardRef(q)}var KH,Ix;var n2=C(()=>{KH=f(ZZ(),1);if(typeof HTMLTemplateElement<"u")Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(Q){return this.content.appendChild(Q)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(Q){return this.content.removeChild(Q)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(Q,q){return this.content.insertBefore(Q,q)}});Ix=KH.createContext(!1)});var XW=C(()=>{n2()});var dA,cA,BH;var U3=C(()=>{qQ();XW();dA=f(ZZ(),1),cA=dA.createContext({}),BH=RJ(function(q,H){[q,H]=fX(q,H,cA);let{elementType:_="label",...W}=q,K=LX[_];return dA.default.createElement(K,{className:"react-aria-Label",...W,ref:H})})});function zX(Q,q={}){let{labelable:H,isLink:_,global:W,events:K=W,propNames:A}=q,L={};for(let O in Q)if(Object.prototype.hasOwnProperty.call(Q,O)&&(Tx.has(O)||H&&wx.has(O)||_&&Vx.has(O)||W&&Rx.has(O)||K&&(s2.has(O)||O.endsWith("Capture")&&s2.has(O.slice(0,-7)))||A?.has(O)||jx.test(O)))L[O]=Q[O];return L}var Tx,wx,Vx,Rx,s2,jx;var rG=C(()=>{Tx=new Set(["id"]),wx=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Vx=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),Rx=new Set(["dir","lang","hidden","inert","translate"]),s2=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),jx=/^(data-.*)$/});function tG(Q,q){let{id:H,"aria-label":_,"aria-labelledby":W}=Q;if(H=aX(H),W&&_)W=[...new Set([H,...W.trim().split(/\s+/)])].join(" ");else if(W)W=W.trim().split(/\s+/).join(" ");if(!_&&!W&&q)_=q;return{id:H,"aria-label":_,"aria-labelledby":W}}var VK=C(()=>{YJ()});function a2(Q){let{id:q,label:H,"aria-labelledby":_,"aria-label":W,labelElementType:K="label"}=Q;q=aX(q);let A=aX(),L={};if(H)_=_?`${A} ${_}`:A,L={id:A,htmlFor:K==="label"?q:void 0};else if(!_&&!W)console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let O=tG({id:q,"aria-label":W,"aria-labelledby":_});return{labelProps:L,fieldProps:O}}var o2=C(()=>{YJ();VK()});function r2(Q){if(Intl.Locale){let H=new Intl.Locale(Q).maximize(),_=typeof H.getTextInfo==="function"?H.getTextInfo():H.textInfo;if(_)return _.direction==="rtl";if(H.script)return Cx.has(H.script)}let q=Q.split("-")[0];return Px.has(q)}var Cx,Px;var t2=C(()=>{Cx=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Px=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"])});function Xw(){let Q=typeof window<"u"&&window[Zw]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([Q])}catch{Q="en-US"}return{locale:Q,direction:r2(Q)?"rtl":"ltr"}}function e2(){K3=Xw();for(let Q of RK)Q(K3)}function Yw(){let Q=sY(),[q,H]=pA.useState(K3);if(pA.useEffect(()=>{if(RK.size===0)window.addEventListener("languagechange",e2);return RK.add(H),()=>{if(RK.delete(H),RK.size===0)window.removeEventListener("languagechange",e2)}},[]),Q)return{locale:typeof window<"u"&&window[Zw]||"en-US",direction:"ltr"};return q}var pA,Zw,K3,RK;var Qw=C(()=>{t2();aG();pA=f(ZZ(),1),Zw=Symbol.for("react-aria.i18n.locale");K3=Xw(),RK=new Set});function YW(){let Q=Yw();return lA.useContext(Dx)||Q}var lA,Dx;var iA=C(()=>{Qw();lA=f(ZZ(),1),Dx=lA.default.createContext(null)});var Uq=C(()=>{rG()});var nA,Jw;var qw=C(()=>{nA=f(ZZ(),1),Jw=nA.createContext(null)});function sA(Q,q="assertive",H=7000){if(!QW)if(QW=new Gw,!(typeof IS_REACT_ACT_ENVIRONMENT==="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u"))setTimeout(()=>{if(QW?.isAttached())QW?.announce(Q,q,H)},100);else QW.announce(Q,q,H);else QW.announce(Q,q,H)}class Gw{constructor(){if(this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u")this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}isAttached(){return this.node?.isConnected}createLog(Q){let q=document.createElement("div");return q.setAttribute("role","log"),q.setAttribute("aria-live",Q),q.setAttribute("aria-relevant","additions"),q}destroy(){if(!this.node)return;document.body.removeChild(this.node),this.node=null}announce(Q,q="assertive",H=7000){if(!this.node)return;let _=document.createElement("div");if(typeof Q==="object")_.setAttribute("role","img"),_.setAttribute("aria-labelledby",Q["aria-labelledby"]);else _.textContent=Q;if(q==="assertive")this.assertiveLog?.appendChild(_);else this.politeLog?.appendChild(_);if(Q!=="")setTimeout(()=>{_.remove()},H)}clear(Q){if(!this.node)return;if((!Q||Q==="assertive")&&this.assertiveLog)this.assertiveLog.innerHTML="";if((!Q||Q==="polite")&&this.politeLog)this.politeLog.innerHTML=""}}var QW=null;var zw=()=>{};var Hw=C(()=>{zw()});function aY(Q){if($x())Q.focus({preventScroll:!0});else{let q=Sx(Q);Q.focus(),Ex(q)}}function $x(){if(aA==null){aA=!1;try{document.createElement("div").focus({get preventScroll(){return aA=!0,!0}})}catch{}}return aA}function Sx(Q){let q=Q.parentNode,H=[],_=document.scrollingElement||document.documentElement;while(q instanceof HTMLElement&&q!==_){if(q.offsetHeight<q.scrollHeight||q.offsetWidth<q.scrollWidth)H.push({element:q,scrollTop:q.scrollTop,scrollLeft:q.scrollLeft});q=q.parentNode}if(_ instanceof HTMLElement)H.push({element:_,scrollTop:_.scrollTop,scrollLeft:_.scrollLeft});return H}function Ex(Q){for(let{element:q,scrollTop:H,scrollLeft:_}of Q)q.scrollTop=H,q.scrollLeft=_}var aA=null;var LH=()=>{};function kx(Q){return Q!==null&&typeof Q==="object"&&"nodeType"in Q&&typeof Q.nodeType==="number"}function _w(Q){return kx(Q)&&Q.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in Q}var cZ=(Q)=>{return Q?.ownerDocument??document},uX=(Q)=>{if(Q&&"window"in Q&&Q.window===Q)return Q;return cZ(Q).defaultView||window};var $Y=()=>{};function yQ(){return xx}var xx=!1;var Ww=()=>{};var oA=C(()=>{Ww()});function XX(Q,q){if(!yQ())return q&&Q?Q.contains(q):!1;if(!Q||!q)return!1;let H=q;while(H!==null){if(H===Q)return!0;if(H.tagName==="SLOT"&&H.assignedSlot)H=H.assignedSlot.parentNode;else if(_w(H))H=H.host;else H=H.parentNode}return!1}function KZ(Q){if(yQ()&&Q.target instanceof Element&&Q.target.shadowRoot){if("composedPath"in Q)return Q.composedPath()[0]??null;else if("composedPath"in Q.nativeEvent)return Q.nativeEvent.composedPath()[0]??null}return Q.target}function B3(Q){if(!Q)return!1;let q=Q.getRootNode(),H=uX(Q);if(!(q instanceof H.Document||q instanceof H.ShadowRoot))return!1;let _=q.activeElement;return _!=null&&Q.contains(_)}var KX=(Q=document)=>{if(!yQ())return Q.activeElement;let q=Q.activeElement;while(q&&"shadowRoot"in q&&q.shadowRoot?.activeElement)q=q.shadowRoot.activeElement;return q};var dX=C(()=>{$Y();oA()});function vx(Q){let q=uX(Q);if(!(Q instanceof q.HTMLElement)&&!(Q instanceof q.SVGElement))return!1;let{display:H,visibility:_}=Q.style,W=H!=="none"&&_!=="hidden"&&_!=="collapse";if(W){let{getComputedStyle:K}=Q.ownerDocument.defaultView,{display:A,visibility:L}=K(Q);W=A!=="none"&&L!=="hidden"&&L!=="collapse"}return W}function hx(Q,q){return!Q.hasAttribute("hidden")&&!Q.hasAttribute("data-react-aria-prevent-focus")&&(Q.nodeName==="DETAILS"&&q&&q.nodeName!=="SUMMARY"?Q.hasAttribute("open"):!0)}function rA(Q,q){if(yx)return Q.checkVisibility({visibilityProperty:!0})&&!Q.closest("[data-react-aria-prevent-focus]");return Q.nodeName!=="#comment"&&vx(Q)&&hx(Q,q)&&(!Q.parentElement||rA(Q.parentElement,Q))}var yx;var Uw=C(()=>{$Y();yx=typeof Element<"u"&&"checkVisibility"in Element.prototype});function tA(Q,q){return Q.matches(bx)&&!Kw(Q)&&(q?.skipVisibilityCheck||rA(Q))}function eA(Q){return Q.matches(gx)&&rA(Q)&&!Kw(Q)}function Kw(Q){let q=Q;while(q!=null){if(q instanceof q.ownerDocument.defaultView.HTMLElement&&q.inert)return!0;q=q.parentElement}return!1}var L3,bx,gx;var ZO=C(()=>{Uw();L3=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],bx=L3.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";L3.push('[tabindex]:not([tabindex="-1"]):not([disabled])');gx=L3.join(':not([hidden]):not([tabindex="-1"]),')});function CK(Q){let q=Q;return q.nativeEvent=Q,q.isDefaultPrevented=()=>q.defaultPrevented,q.isPropagationStopped=()=>q.cancelBubble,q.persist=()=>{},q}function YO(Q,q){Object.defineProperty(Q,"target",{value:q}),Object.defineProperty(Q,"currentTarget",{value:q})}function QO(Q){let q=XO.useRef({isFocused:!1,observer:null});return dZ(()=>{let H=q.current;return()=>{if(H.observer)H.observer.disconnect(),H.observer=null}},[]),XO.useCallback((H)=>{let _=KZ(H);if(_ instanceof HTMLButtonElement||_ instanceof HTMLInputElement||_ instanceof HTMLTextAreaElement||_ instanceof HTMLSelectElement){q.current.isFocused=!0;let W=_,K=(A)=>{if(q.current.isFocused=!1,W.disabled){let L=CK(A);Q?.(L)}if(q.current.observer)q.current.observer.disconnect(),q.current.observer=null};W.addEventListener("focusout",K,{once:!0}),q.current.observer=new MutationObserver(()=>{if(q.current.isFocused&&W.disabled){q.current.observer?.disconnect();let A=W===KX()?null:KX();W.dispatchEvent(new FocusEvent("blur",{relatedTarget:A})),W.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:A}))}}),q.current.observer.observe(W,{attributes:!0,attributeFilter:["disabled"]})}},[Q])}function Bw(Q){while(Q&&!tA(Q,{skipVisibilityCheck:!0}))Q=Q.parentElement;let q=uX(Q),H=q.document.activeElement;if(!H||H===Q)return;jK=!0;let _=!1,W=(N)=>{if(KZ(N)===H||_)N.stopImmediatePropagation()},K=(N)=>{if(KZ(N)===H||_){if(N.stopImmediatePropagation(),!Q&&!_)_=!0,aY(H),O()}},A=(N)=>{if(KZ(N)===Q||_)N.stopImmediatePropagation()},L=(N)=>{if(KZ(N)===Q||_){if(N.stopImmediatePropagation(),!_)_=!0,aY(H),O()}};q.addEventListener("blur",W,!0),q.addEventListener("focusout",K,!0),q.addEventListener("focusin",L,!0),q.addEventListener("focus",A,!0);let O=()=>{cancelAnimationFrame(I),q.removeEventListener("blur",W,!0),q.removeEventListener("focusout",K,!0),q.removeEventListener("focusin",L,!0),q.removeEventListener("focus",A,!0),jK=!1,_=!1},I=requestAnimationFrame(O);return O}var XO,jK=!1;var PK=C(()=>{LH();dX();$Y();ZO();PY();XO=f(ZZ(),1)});function JO(Q){if(typeof window>"u"||window.navigator==null)return!1;let q=window.navigator.userAgentData?.brands;return Array.isArray(q)&&q.some((H)=>Q.test(H.brand))||Q.test(window.navigator.userAgent)}function A3(Q){return typeof window<"u"&&window.navigator!=null?Q.test(window.navigator.userAgentData?.platform||window.navigator.platform):!1}function aq(Q){let q=null;return()=>{if(q==null)q=Q();return q}}var jJ,mx,O3,CJ,Lw,Aw,F3,DK,Ow;var QJ=C(()=>{jJ=aq(function(){return A3(/^Mac/i)}),mx=aq(function(){return A3(/^iPhone/i)}),O3=aq(function(){return A3(/^iPad/i)||jJ()&&navigator.maxTouchPoints>1}),CJ=aq(function(){return mx()||O3()}),Lw=aq(function(){return jJ()||CJ()}),Aw=aq(function(){return JO(/AppleWebKit/i)&&!F3()}),F3=aq(function(){return JO(/Chrome/i)}),DK=aq(function(){return JO(/Android/i)}),Ow=aq(function(){return JO(/Firefox/i)})});function qO(Q){if(Q.pointerType===""&&Q.isTrusted)return!0;if(DK()&&Q.pointerType)return Q.type==="click"&&Q.buttons===1;return Q.detail===0&&!Q.pointerType}function Fw(Q){return!DK()&&Q.width===0&&Q.height===0||Q.width===1&&Q.height===1&&Q.pressure===0&&Q.detail===0&&Q.pointerType==="mouse"}var M3=C(()=>{QJ()});function AH(){return JW.useContext(fx)}function ux(Q,q){let H=Q.getAttribute("target");return(!H||H==="_self")&&Q.origin===location.origin&&!Q.hasAttribute("download")&&!q.metaKey&&!q.ctrlKey&&!q.altKey&&!q.shiftKey}function JJ(Q,q,H=!0){let{metaKey:_,ctrlKey:W,altKey:K,shiftKey:A}=q;if(Ow()&&window.event?.type?.startsWith("key")&&Q.target==="_blank")if(jJ())_=!0;else W=!0;let L=Aw()&&jJ()&&!O3()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:_,ctrlKey:W,altKey:K,shiftKey:A}):new MouseEvent("click",{metaKey:_,ctrlKey:W,altKey:K,shiftKey:A,detail:1,bubbles:!0,cancelable:!0});JJ.isOpening=H,aY(Q),Q.dispatchEvent(L),JJ.isOpening=!1}function dx(Q,q){if(Q instanceof HTMLAnchorElement)q(Q);else if(Q.hasAttribute("data-href")){let H=document.createElement("a");if(H.href=Q.getAttribute("data-href"),Q.hasAttribute("data-target"))H.target=Q.getAttribute("data-target");if(Q.hasAttribute("data-rel"))H.rel=Q.getAttribute("data-rel");if(Q.hasAttribute("data-download"))H.download=Q.getAttribute("data-download");if(Q.hasAttribute("data-ping"))H.ping=Q.getAttribute("data-ping");if(Q.hasAttribute("data-referrer-policy"))H.referrerPolicy=Q.getAttribute("data-referrer-policy");Q.appendChild(H),q(H),Q.removeChild(H)}}function cx(Q,q){dx(Q,(H)=>JJ(H,q))}function qW(Q){let H=AH().useHref(Q?.href??""),_={};if(Q){for(let W of["href","target","rel","download","ping","referrerPolicy"])if(W in Q)_[W]=W==="href"?H:Q[W]}return _}function Mw(Q,q,H,_){if(!q.isNative&&Q.currentTarget instanceof HTMLAnchorElement&&Q.currentTarget.href&&!Q.isDefaultPrevented()&&ux(Q.currentTarget,Q)&&H)Q.preventDefault(),q.open(Q.currentTarget,Q,H,_)}var JW,fx;var eG=C(()=>{LH();QJ();JW=f(ZZ(),1),fx=JW.createContext({isNative:!0,open:cx,useHref:(Q)=>Q});JJ.isOpening=!1});function zO(Q,q){for(let H of N3)H(Q,q)}function lx(Q){return!(Q.metaKey||!jJ()&&Q.altKey||Q.ctrlKey||Q.key==="Control"||Q.key==="Shift"||Q.key==="Meta")}function GO(Q){if(OH=!0,!JJ.isOpening&&lx(Q))FH="keyboard",SK="keyboard",zO("keyboard",Q)}function GW(Q){if(FH="pointer",SK="pointerType"in Q?Q.pointerType:"mouse",Q.type==="mousedown"||Q.type==="pointerdown")OH=!0,zO("pointer",Q)}function Nw(Q){if(!JJ.isOpening&&qO(Q))OH=!0,FH="virtual",SK="virtual"}function Iw(Q){let q=uX(KZ(Q)),H=cZ(KZ(Q));if(KZ(Q)===q||KZ(Q)===H||jK||!Q.isTrusted)return;if(!OH&&!I3)FH="virtual",SK="virtual",zO("virtual",Q);OH=!1,I3=!1}function Tw(){if(jK)return;OH=!1,I3=!0}function T3(Q){if(typeof window>"u"||typeof document>"u")return;let q=uX(Q),H=cZ(Q);if($K.get(q))return;let _=q.HTMLElement.prototype.focus;if(q.HTMLElement.prototype.focus=function(){OH=!0,_.apply(this,arguments)},H.addEventListener("keydown",GO,!0),H.addEventListener("keyup",GO,!0),H.addEventListener("click",Nw,!0),q.addEventListener("focus",Iw,!0),q.addEventListener("blur",Tw,!1),typeof PointerEvent<"u")H.addEventListener("pointerdown",GW,!0),H.addEventListener("pointermove",GW,!0),H.addEventListener("pointerup",GW,!0);q.addEventListener("beforeunload",()=>{ww(Q)},{once:!0}),$K.set(q,{focus:_})}function ix(Q){let q=cZ(Q),H;if(q.readyState!=="loading")T3(Q);else H=()=>{T3(Q)},q.addEventListener("DOMContentLoaded",H);return()=>ww(Q,H)}function Kq(){return FH!=="pointer"}function MH(){return FH}function EK(Q){FH=Q,SK=Q==="pointer"?"mouse":Q,zO(Q,null)}function sx(Q,q,H){let _=H?KZ(H):void 0,W=cZ(_),K=uX(_),A=typeof K<"u"?K.HTMLInputElement:HTMLInputElement,L=typeof K<"u"?K.HTMLTextAreaElement:HTMLTextAreaElement,O=typeof K<"u"?K.HTMLElement:HTMLElement,I=typeof K<"u"?K.KeyboardEvent:KeyboardEvent,N=KX(W);return Q=Q||N instanceof A&&!nx.has(N.type)||N instanceof L||N instanceof O&&N.isContentEditable,!(Q&&q==="keyboard"&&H instanceof I&&!px[H.key])}function Vw(Q,q,H){T3(),w3.useEffect(()=>{if(H?.enabled===!1)return;let _=(W,K)=>{if(!sx(!!H?.isTextInput,W,K))return;Q(Kq())};return N3.add(_),()=>{N3.delete(_)}},q)}var w3,FH=null,SK="keyboard",N3,$K,OH=!1,I3=!1,px,ww=(Q,q)=>{let H=uX(Q),_=cZ(Q);if(q)_.removeEventListener("DOMContentLoaded",q);if(!$K.has(H))return;if(H.HTMLElement.prototype.focus=$K.get(H).focus,_.removeEventListener("keydown",GO,!0),_.removeEventListener("keyup",GO,!0),_.removeEventListener("click",Nw,!0),H.removeEventListener("focus",Iw,!0),H.removeEventListener("blur",Tw,!1),typeof PointerEvent<"u")_.removeEventListener("pointerdown",GW,!0),_.removeEventListener("pointermove",GW,!0),_.removeEventListener("pointerup",GW,!0);$K.delete(H)},nx;var Zz=C(()=>{dX();$Y();PK();QJ();M3();eG();w3=f(ZZ(),1),N3=new Set,$K=new Map,px={Tab:!0,Escape:!0};if(typeof document<"u")ix();nx=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"])});function Rw(){if(typeof window>"u")return;function Q(_){return"propertyName"in _}let q=(_)=>{let W=KZ(_);if(!Q(_)||!W)return;let K=Xz.get(W);if(!K)K=new Set,Xz.set(W,K),W.addEventListener("transitioncancel",H,{once:!0});K.add(_.propertyName)},H=(_)=>{let W=KZ(_);if(!Q(_)||!W)return;let K=Xz.get(W);if(!K)return;if(K.delete(_.propertyName),K.size===0)W.removeEventListener("transitioncancel",H),Xz.delete(W);if(Xz.size===0){for(let A of V3)A();V3.clear()}};document.body.addEventListener("transitionrun",q),document.body.addEventListener("transitionend",H)}function ax(){for(let[Q]of Xz)if("isConnected"in Q&&!Q.isConnected)Xz.delete(Q)}function HO(Q){requestAnimationFrame(()=>{if(ax(),Xz.size===0)Q();else V3.add(Q)})}var Xz,V3;var R3=C(()=>{dX();Xz=new Map,V3=new Set;if(typeof document<"u")if(document.readyState!=="loading")Rw();else document.addEventListener("DOMContentLoaded",Rw)});function oq(Q){if(!Q.isConnected)return;let q=cZ(Q);if(MH()==="virtual"){let H=KX(q);HO(()=>{let _=KX(q);if((_===H||_===q.body)&&Q.isConnected)aY(Q)})}else aY(Q)}var kK=C(()=>{LH();dX();Zz();$Y();R3()});function NH(Q){let{isDisabled:q,onFocus:H,onBlur:_,onFocusChange:W}=Q,K=j3.useCallback((O)=>{if(KZ(O)===O.currentTarget){if(_)_(O);if(W)W(!1);return!0}},[_,W]),A=QO(K),L=j3.useCallback((O)=>{let I=KZ(O),N=cZ(I),M=N?KX(N):KX();if(I===O.currentTarget&&I===M){if(H)H(O);if(W)W(!0);A(O)}},[W,H,A]);return{focusProps:{onFocus:!q&&(H||W||_)?L:void 0,onBlur:!q&&(_||W)?K:void 0}}}var j3;var _O=C(()=>{dX();$Y();PK();j3=f(ZZ(),1)});function C3(Q){if(!Q)return;let q=!0;return(H)=>{let _={...H,preventDefault(){H.preventDefault()},isDefaultPrevented(){return H.isDefaultPrevented()},stopPropagation(){if(q)console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.");else q=!0},continuePropagation(){q=!1},isPropagationStopped(){return q}};if(Q(_),q)H.stopPropagation()}}var jw=()=>{};function IH(Q){return{keyboardProps:Q.isDisabled?{}:{onKeyDown:C3(Q.onKeyDown),onKeyUp:C3(Q.onKeyUp)}}}var WO=C(()=>{jw()});function UO(Q,q){dZ(()=>{if(Q&&Q.ref&&q)return Q.ref.current=q.current,()=>{if(Q.ref)Q.ref.current=null}})}var P3=C(()=>{PY()});function ox(Q){let q=rq.useContext(KO)||{};UO(q,Q);let{ref:H,..._}=q;return _}function Yz(Q,q){let{focusProps:H}=NH(Q),{keyboardProps:_}=IH(Q),W=CZ(H,_),K=ox(q),A=Q.isDisabled?{}:K,L=rq.useRef(Q.autoFocus);rq.useEffect(()=>{if(L.current&&q.current)oq(q.current);L.current=!1},[q]);let O=Q.excludeFromTabOrder?-1:0;if(Q.isDisabled)O=void 0;return{focusableProps:CZ({...W,tabIndex:O},A)}}var rq,KO;var zW=C(()=>{kK();DY();_O();WO();P3();rq=f(ZZ(),1),KO=rq.default.createContext(null)});function Cw(Q){if(CJ()){if(HW==="default"){let q=cZ(Q);D3=q.documentElement.style.webkitUserSelect,q.documentElement.style.webkitUserSelect="none"}HW="disabled"}else if(Q instanceof HTMLElement||Q instanceof SVGElement){let q="userSelect"in Q.style?"userSelect":"webkitUserSelect";BO.set(Q,Q.style[q]),Q.style[q]="none"}}function $3(Q){if(CJ()){if(HW!=="disabled")return;HW="restoring",setTimeout(()=>{HO(()=>{if(HW==="restoring"){let q=cZ(Q);if(q.documentElement.style.webkitUserSelect==="none")q.documentElement.style.webkitUserSelect=D3||"";D3="",HW="default"}})},300)}else if(Q instanceof HTMLElement||Q instanceof SVGElement){if(Q&&BO.has(Q)){let q=BO.get(Q),H="userSelect"in Q.style?"userSelect":"webkitUserSelect";if(Q.style[H]==="none")Q.style[H]=q;if(Q.getAttribute("style")==="")Q.removeAttribute("style");BO.delete(Q)}}}var HW="default",D3="",BO;var Pw=C(()=>{$Y();QJ();R3();BO=new WeakMap});function Dw(Q){return Q?.defaultView?.__webpack_nonce__||globalThis.__webpack_nonce__||void 0}function LO(Q){let q=Q??(typeof document<"u"?document:void 0);if(!q)return Dw(q);if(S3.has(q))return S3.get(q);let H=q.querySelector('meta[property="csp-nonce"]'),_=H&&H instanceof uX(H).HTMLMetaElement&&(H.nonce||H.content)||Dw(q)||void 0;if(_!==void 0)S3.set(q,_);return _}var S3;var E3=C(()=>{$Y();S3=new WeakMap});var $w,xK;var k3=C(()=>{$w=f(ZZ(),1),xK=$w.default.createContext({register:()=>{}});xK.displayName="PressResponderContext"});function SY(Q){let q=_W.useRef(null);return rx(()=>{q.current=Q},[Q]),_W.useCallback((...H)=>{let _=q.current;return _?.(...H)},[])}var _W,rx;var TH=C(()=>{PY();_W=f(ZZ(),1),rx=_W.default.useInsertionEffect??dZ});function Jz(){let Q=Qz.useRef(new Map),q=Qz.useCallback((W,K,A,L)=>{let O=L?.once?(...I)=>{Q.current.delete(A),A(...I)}:A;Q.current.set(A,{type:K,eventTarget:W,fn:O,options:L}),W.addEventListener(K,O,L)},[]),H=Qz.useCallback((W,K,A,L)=>{let O=Q.current.get(A)?.fn||A;W.removeEventListener(K,O,L),Q.current.delete(A)},[]),_=Qz.useCallback(()=>{Q.current.forEach((W,K)=>{H(W.eventTarget,W.type,K,W.options)})},[H]);return Qz.useEffect(()=>{return _},[_]),{addGlobalListener:q,removeGlobalListener:H,removeAllGlobalListeners:_}}var Qz;var yK=C(()=>{Qz=f(ZZ(),1)});function ex(Q){let q=qY.useContext(xK);if(q){let{register:H,ref:_,...W}=q;Q=CZ(W,Q),H()}return UO(q,Q.ref),Q}class vK{#Z;constructor(Q,q,H,_){this.#Z=!0;let K=(_?.target??H.currentTarget)?.getBoundingClientRect(),A,L=0,O,I=null;if(H.clientX!=null&&H.clientY!=null)O=H.clientX,I=H.clientY;if(K)if(O!=null&&I!=null)A=O-K.left,L=I-K.top;else A=K.width/2,L=K.height/2;this.type=Q,this.pointerType=q,this.target=H.currentTarget,this.shiftKey=H.shiftKey,this.metaKey=H.metaKey,this.ctrlKey=H.ctrlKey,this.altKey=H.altKey,this.x=A,this.y=L,this.key=H.key}continuePropagation(){this.#Z=!1}get shouldStopPropagation(){return this.#Z}}function qz(Q){let{onPress:q,onPressChange:H,onPressStart:_,onPressEnd:W,onPressUp:K,onClick:A,isDisabled:L,isPressed:O,preventFocusOnPress:I,shouldCancelOnPointerExit:N,allowTextSelectionOnPress:M,ref:R,...j}=ex(Q),[h,d]=qY.useState(!1),b=qY.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:a,removeAllGlobalListeners:t}=Jz(),qZ=qY.useCallback((v,m)=>{let E=b.current;if(L||E.didFirePressStart)return!1;let g=!0;if(E.isTriggeringEvent=!0,_){let e=new vK("pressstart",m,v);_(e),g=e.shouldStopPropagation}if(H)H(!0);return E.isTriggeringEvent=!1,E.didFirePressStart=!0,d(!0),g},[L,_,H]),QZ=qY.useCallback((v,m,E=!0)=>{let g=b.current;if(!g.didFirePressStart)return!1;g.didFirePressStart=!1,g.isTriggeringEvent=!0;let e=!0;if(W){let p=new vK("pressend",m,v);W(p),e=p.shouldStopPropagation}if(H)H(!1);if(d(!1),q&&E&&!L){let p=new vK("press",m,v);q(p),e&&=p.shouldStopPropagation}return g.isTriggeringEvent=!1,e},[L,W,H,q]),LZ=SY(QZ),kZ=qY.useCallback((v,m)=>{let E=b.current;if(L)return!1;if(K){E.isTriggeringEvent=!0;let g=new vK("pressup",m,v);return K(g),E.isTriggeringEvent=!1,g.shouldStopPropagation}return!0},[L,K]),JZ=SY(kZ),l=qY.useCallback((v)=>{let m=b.current;if(m.isPressed&&m.target){if(m.didFirePressStart&&m.pointerType!=null)QZ(wH(m.target,v),m.pointerType,!1);if(m.isPressed=!1,m.isOverTarget=!1,m.activePointerId=null,m.pointerType=null,t(),!M)$3(m.target);for(let E of m.disposables)E();m.disposables=[]}},[M,t,QZ]),OZ=SY(l);qY.useEffect(()=>{if(L&&b.current.isPressed)OZ({currentTarget:b.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[L]);let n=qY.useCallback((v)=>{if(N)l(v)},[N,l]),wZ=qY.useCallback((v)=>{if(L)return;A?.(v)},[L,A]),WZ=qY.useCallback((v,m)=>{if(L)return;if(A){let E=new MouseEvent("click",v);YO(E,m),A(CK(E))}},[L,A]),zZ=qY.useMemo(()=>{let v=b.current,m={onKeyDown(g){if(x3(g.nativeEvent,g.currentTarget)&&XX(g.currentTarget,KZ(g))){if(xw(KZ(g),g.key))g.preventDefault();let e=!0;if(!v.isPressed&&!g.repeat)v.target=g.currentTarget,v.isPressed=!0,v.pointerType="keyboard",e=qZ(g,"keyboard");let p=g.currentTarget,w=(o)=>{if(x3(o,p)&&!o.repeat&&XX(p,KZ(o))&&v.target)JZ(wH(v.target,o),"keyboard")};if(a(cZ(g.currentTarget),"keyup",wJ(w,E),!0),e)g.stopPropagation();if(g.metaKey&&jJ())v.metaKeyEvents?.set(g.key,g.nativeEvent)}else if(g.key==="Meta")v.metaKeyEvents=new Map},onClick(g){if(g&&!XX(g.currentTarget,KZ(g)))return;if(g&&g.button===0&&!v.isTriggeringEvent&&!JJ.isOpening){let e=!0;if(L)g.preventDefault();if(!v.ignoreEmulatedMouseEvents&&!v.isPressed&&(v.pointerType==="virtual"||qO(g.nativeEvent))){let p=qZ(g,"virtual"),w=JZ(g,"virtual"),o=LZ(g,"virtual");wZ(g),e=p&&w&&o}else if(v.isPressed&&v.pointerType!=="keyboard"){let p=v.pointerType||g.nativeEvent.pointerType||"virtual",w=JZ(wH(g.currentTarget,g),p),o=LZ(wH(g.currentTarget,g),p,!0);e=w&&o,v.isOverTarget=!1,wZ(g),OZ(g)}if(v.ignoreEmulatedMouseEvents=!1,e)g.stopPropagation()}}},E=(g)=>{if(v.isPressed&&v.target&&x3(g,v.target)){if(xw(KZ(g),g.key))g.preventDefault();let e=KZ(g),p=XX(v.target,e);if(LZ(wH(v.target,g),"keyboard",p),p)WZ(g,v.target);if(t(),g.key!=="Enter"&&y3(v.target)&&XX(v.target,e)&&!g[Sw])g[Sw]=!0,JJ(v.target,g,!1);v.isPressed=!1,v.metaKeyEvents?.delete(g.key)}else if(g.key==="Meta"&&v.metaKeyEvents?.size){let e=v.metaKeyEvents;v.metaKeyEvents=void 0;for(let p of e.values())v.target?.dispatchEvent(new KeyboardEvent("keyup",p))}};if(typeof PointerEvent<"u"){m.onPointerDown=(p)=>{if(p.button!==0||!XX(p.currentTarget,KZ(p)))return;if(Fw(p.nativeEvent)){v.pointerType="virtual";return}v.pointerType=p.pointerType;let w=!0;if(!v.isPressed){if(v.isPressed=!0,v.isOverTarget=!0,v.activePointerId=p.pointerId,v.target=p.currentTarget,!M)Cw(v.target);w=qZ(p,v.pointerType);let o=KZ(p);if("releasePointerCapture"in o)if("hasPointerCapture"in o){if(o.hasPointerCapture(p.pointerId))o.releasePointerCapture(p.pointerId)}else o.releasePointerCapture(p.pointerId);a(cZ(p.currentTarget),"pointerup",g,!1),a(cZ(p.currentTarget),"pointercancel",e,!1)}if(w)p.stopPropagation()},m.onMouseDown=(p)=>{if(!XX(p.currentTarget,KZ(p)))return;if(p.button===0){if(I){let w=Bw(p.target);if(w)v.disposables.push(w)}p.stopPropagation()}},m.onPointerUp=(p)=>{if(!XX(p.currentTarget,KZ(p))||v.pointerType==="virtual")return;if(p.button===0&&!v.isPressed)JZ(p,v.pointerType||p.pointerType)},m.onPointerEnter=(p)=>{if(p.pointerId===v.activePointerId&&v.target&&!v.isOverTarget&&v.pointerType!=null)v.isOverTarget=!0,qZ(wH(v.target,p),v.pointerType)},m.onPointerLeave=(p)=>{if(p.pointerId===v.activePointerId&&v.target&&v.isOverTarget&&v.pointerType!=null)v.isOverTarget=!1,LZ(wH(v.target,p),v.pointerType,!1),n(p)};let g=(p)=>{if(p.pointerId===v.activePointerId&&v.isPressed&&p.button===0&&v.target){if(XX(v.target,KZ(p))&&v.pointerType!=null){let w=!1,o=setTimeout(()=>{if(v.isPressed&&v.target instanceof HTMLElement)if(w)OZ(p);else aY(v.target),v.target.click()},80);a(p.currentTarget,"click",()=>w=!0,!0),v.disposables.push(()=>clearTimeout(o))}else OZ(p);v.isOverTarget=!1}},e=(p)=>{OZ(p)};m.onDragStart=(p)=>{if(!XX(p.currentTarget,KZ(p)))return;OZ(p)}}return m},[a,L,I,t,M,n,qZ,wZ,WZ]);return qY.useEffect(()=>{if(!R)return;let v=cZ(R.current);if(!v||!v.head||v.getElementById(Ew))return;let m=v.createElement("style");m.id=Ew;let E=LO(v);if(E)m.nonce=E;m.textContent=`
236
236
  @layer {
237
237
  [${kw}] {
238
238
  touch-action: pan-x pan-y pinch-zoom;
239
239
  }
240
240
  }
241
- `.trim(),v.head.prepend(m)},[R]),qY.useEffect(()=>{let v=b.current;return()=>{if(!M)$3(v.target??void 0);for(let m of v.disposables)m();v.disposables=[]}},[M]),{isPressed:O||h,pressProps:CZ(j,HZ,{[kw]:!0})}}function y3(Q){return Q.tagName==="A"&&Q.hasAttribute("href")}function x3(Q,q){let{key:z,code:_}=Q,W=q,K=W.getAttribute("role");return(z==="Enter"||z===" "||z==="Spacebar"||_==="Space")&&!(W instanceof uX(W).HTMLInputElement&&!yw(W,z)||W instanceof uX(W).HTMLTextAreaElement||W.isContentEditable)&&!((K==="link"||!K&&y3(W))&&z!=="Enter")}function wz(Q,q){let{clientX:z,clientY:_}=q;return{currentTarget:Q,shiftKey:q.shiftKey,ctrlKey:q.ctrlKey,metaKey:q.metaKey,altKey:q.altKey,clientX:z,clientY:_,key:q.key}}function Zy(Q){if(Q instanceof HTMLInputElement)return!1;if(Q instanceof HTMLButtonElement)return Q.type!=="submit"&&Q.type!=="reset";if(y3(Q))return!1;return!0}function xw(Q,q){if(Q instanceof HTMLInputElement)return!yw(Q,q);return Zy(Q)}function yw(Q,q){return Q.type==="checkbox"||Q.type==="radio"?q===" ":Xy.has(Q.type)}var tx,qY,Sw,Ew="react-aria-pressable-style",kw="data-react-aria-pressable",Xy;var hK=C(()=>{t_();PK();Pw();Lz();dX();E3();DY();QJ();M3();PY();eG();k3();Tz();yK();P3();tx=f(lq(),1),qY=f(ZZ(),1);Sw=Symbol("linkClicked");Xy=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"])});function v3(Q,q){let{elementType:z="button",isDisabled:_,onPress:W,onPressStart:K,onPressEnd:A,onPressUp:L,onPressChange:O,preventFocusOnPress:I,allowFocusWhenDisabled:N,onClick:M,href:R,target:j,rel:h,type:d="button"}=Q,b;if(z==="button")b={type:d,disabled:_,form:Q.form,formAction:Q.formAction,formEncType:Q.formEncType,formMethod:Q.formMethod,formNoValidate:Q.formNoValidate,formTarget:Q.formTarget,name:Q.name,value:Q.value};else b={role:"button",href:z==="a"&&!_?R:void 0,target:z==="a"?j:void 0,type:z==="input"?d:void 0,disabled:z==="input"?_:void 0,"aria-disabled":!_||z==="input"?void 0:_,rel:z==="a"?h:void 0};let{pressProps:a,isPressed:t}=qH({onPressStart:K,onPressEnd:A,onPressChange:O,onPress:W,onPressUp:L,onClick:M,isDisabled:_,preventFocusOnPress:I,ref:q}),{focusableProps:qZ}=YH(Q,q);if(N)qZ.tabIndex=_?-1:qZ.tabIndex;let QZ=CZ(qZ,a,HX(Q,{labelable:!0}));return{isPressed:t,buttonProps:CZ(b,QZ,{"aria-haspopup":Q["aria-haspopup"],"aria-expanded":Q["aria-expanded"],"aria-controls":Q["aria-controls"],"aria-pressed":Q["aria-pressed"],"aria-current":Q["aria-current"],"aria-disabled":Q["aria-disabled"]})}}var vw=C(()=>{rG();PY();HW();hK()});var hw=C(()=>{vw()});function WW(Q){let{isDisabled:q,onBlurWithin:z,onFocusWithin:_,onFocusWithinChange:W}=Q,K=bK.useRef({isFocusWithin:!1}),{addGlobalListener:A,removeAllGlobalListeners:L}=JH(),O=bK.useCallback((M)=>{if(!XX(M.currentTarget,KZ(M)))return;if(K.current.isFocusWithin&&!XX(M.currentTarget,M.relatedTarget)){if(K.current.isFocusWithin=!1,L(),z)z(M);if(W)W(!1)}},[z,W,K,L]),I=QO(O),N=bK.useCallback((M)=>{if(!XX(M.currentTarget,KZ(M)))return;let R=KZ(M),j=cZ(R),h=KX(j);if(!K.current.isFocusWithin&&h===R){if(_)_(M);if(W)W(!0);K.current.isFocusWithin=!0,I(M);let d=M.currentTarget;A(j,"focus",(b)=>{let a=KZ(b);if(K.current.isFocusWithin&&!XX(d,a)){let t=new j.defaultView.FocusEvent("blur",{relatedTarget:a});YO(t,d);let qZ=CK(t);O(qZ)}},{capture:!0})}},[_,W,I,A,O]);if(q)return{focusWithinProps:{onFocus:void 0,onBlur:void 0}};return{focusWithinProps:{onFocus:N,onBlur:O}}}var bK;var AO=C(()=>{PK();dX();DY();yK();bK=f(ZZ(),1)});function vQ(Q={}){let{autoFocus:q=!1,isTextInput:z,within:_}=Q,W=GH.useRef({isFocused:!1,isFocusVisible:q||Kq()}),[K,A]=GH.useState(!1),[L,O]=GH.useState(()=>W.current.isFocused&&W.current.isFocusVisible),I=GH.useCallback(()=>O(W.current.isFocused&&W.current.isFocusVisible),[]),N=GH.useCallback((j)=>{W.current.isFocused=j,W.current.isFocusVisible=Kq(),A(j),I()},[I]);Vw((j)=>{W.current.isFocusVisible=j,I()},[z,K],{enabled:K,isTextInput:z});let{focusProps:M}=Nz({isDisabled:_,onFocusChange:N}),{focusWithinProps:R}=WW({isDisabled:!_,onFocusWithinChange:N});return{isFocused:K,isFocusVisible:L,focusProps:_?R:M}}var GH;var bw=C(()=>{ZH();_O();AO();GH=f(ZZ(),1)});var UW=C(()=>{bw()});function Yy(){h3=!0,setTimeout(()=>{h3=!1},500)}function gw(Q){if(Q.pointerType==="touch")Yy()}function Qy(){let Q=cZ(null);if(typeof Q>"u")return;if(OO===0){if(typeof PointerEvent<"u")Q.addEventListener("pointerup",gw)}return OO++,()=>{if(OO--,OO>0)return;if(typeof PointerEvent<"u")Q.removeEventListener("pointerup",gw)}}function SY(Q){let{onHoverStart:q,onHoverChange:z,onHoverEnd:_,isDisabled:W}=Q,[K,A]=tq.useState(!1),L=tq.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;tq.useEffect(Qy,[]);let{addGlobalListener:O,removeAllGlobalListeners:I}=JH(),{hoverProps:N,triggerHoverEnd:M}=tq.useMemo(()=>{let R=(d,b)=>{if(L.pointerType=b,W||b==="touch"||L.isHovered||!XX(d.currentTarget,KZ(d)))return;L.isHovered=!0;let a=d.currentTarget;if(L.target=a,O(cZ(KZ(d)),"pointerover",(t)=>{if(L.isHovered&&L.target&&!XX(L.target,KZ(t)))j(t,t.pointerType)},{capture:!0}),q)q({type:"hoverstart",target:a,pointerType:b});if(z)z(!0);A(!0)},j=(d,b)=>{let a=L.target;if(L.pointerType="",L.target=null,b==="touch"||!L.isHovered||!a)return;if(L.isHovered=!1,I(),_)_({type:"hoverend",target:a,pointerType:b});if(z)z(!1);A(!1)},h={};if(typeof PointerEvent<"u")h.onPointerEnter=(d)=>{if(h3&&d.pointerType==="mouse")return;R(d,d.pointerType)},h.onPointerLeave=(d)=>{if(!W&&XX(d.currentTarget,KZ(d)))j(d,d.pointerType)};return{hoverProps:h,triggerHoverEnd:j}},[q,z,_,W,L,O,I]);return tq.useEffect(()=>{if(W)M({currentTarget:L.target},L.pointerType)},[W]),{hoverProps:N,isHovered:K}}var tq,h3=!1,OO=0;var FO=C(()=>{dX();DY();yK();tq=f(ZZ(),1)});var Vz=C(()=>{FO()});var b3=C(()=>{YJ()});function qy(Q,q){if(q){for(let z in Q)if(z.startsWith("on")&&!Jy.test(z))Q[z]=void 0;Q.href=void 0,Q.target=void 0}return Q}var eq,gK,Rz,Jy;var g3=C(()=>{qQ();qw();zw();hw();XW();Uq();VJ();UW();Vz();b3();eq=f(ZZ(),1),gK=eq.createContext({}),Rz=RJ(function(q,z){[q,z]=fX(q,z,gK);let _=q,{isPending:W}=_,{buttonProps:K,isPressed:A}=v3(q,z);K=qy(K,W);let{focusProps:L,isFocused:O,isFocusVisible:I}=vQ(q),{hoverProps:N,isHovered:M}=SY({...q,isDisabled:q.isDisabled||W}),R={isHovered:M,isPressed:(_.isPressed||A)&&!W,isFocused:O,isFocusVisible:I,isDisabled:q.isDisabled||!1,isPending:W??!1},j=yX({...q,values:R,defaultClassName:"react-aria-Button"}),h=aX(K.id),d=aX(),b=K["aria-labelledby"];if(W){if(b)b=`${b} ${d}`;else if(K["aria-label"])b=`${h} ${d}`}let a=eq.useRef(W);eq.useEffect(()=>{let qZ={"aria-labelledby":b||h};if(!a.current&&O&&W)sA(qZ,"assertive");else if(a.current&&O&&!W)sA(qZ,"assertive");a.current=W},[W,O,b,h]);let t=HX(q,{global:!0});return delete t.onClick,eq.default.createElement(LX.button,{...CZ(t,j,K,L,N),type:K.type==="submit"&&W?"button":K.type,id:h,ref:z,"aria-labelledby":b,slot:q.slot||void 0,"aria-disabled":W?"true":K["aria-disabled"],"data-disabled":q.isDisabled||void 0,"data-pressed":R.isPressed||void 0,"data-hovered":M||void 0,"data-focused":O||void 0,"data-pending":W||void 0,"data-focus-visible":I||void 0},eq.default.createElement(Jw.Provider,{value:{id:d}},j.children))}),Jy=/Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/});var KW,HH,ZG;var BW=C(()=>{qQ();KW=f(ZZ(),1),HH=KW.createContext({}),ZG=KW.forwardRef(function(q,z){[q,z]=fX(q,z,HH);let{elementType:_="span",...W}=q,K=LX[_];return KW.default.createElement(K,{className:"react-aria-Text",...W,ref:z})})});var PJ,mK,LW,Gy;var m3=C(()=>{qQ();BW();Uq();PJ=f(ZZ(),1),mK=PJ.createContext(null),LW=PJ.forwardRef(function(q,z){if(!PJ.useContext(mK)?.isInvalid)return null;return PJ.default.createElement(Gy,{...q,ref:z})}),Gy=PJ.forwardRef((Q,q)=>{let z=PJ.useContext(mK),{elementType:_,...W}=Q,K=HX(W,{global:!0}),A=yX({...W,defaultClassName:"react-aria-FieldError",defaultChildren:z.validationErrors.length===0?void 0:z.validationErrors.join(" "),values:z});if(A.children==null)return null;return PJ.default.createElement(ZG,{slot:"errorMessage",elementType:_,...K,...A,ref:q})})});function p3(Q){if(Q[u3]){let{realtimeValidation:q,displayValidation:z,updateValidation:_,resetValidation:W,commitValidation:K}=Q[u3];return{realtimeValidation:q,displayValidation:z,updateValidation:_,resetValidation:W,commitValidation:K}}return Hy(Q)}function Hy(Q){let{isInvalid:q,validationState:z,name:_,value:W,builtinValidation:K,validate:A,validationBehavior:L="aria"}=Q;if(z)q||=z==="invalid";let O=q!==void 0?{isInvalid:q,validationErrors:[],validationDetails:fw}:null,I=IY.useMemo(()=>{if(!A||W==null)return null;let n=zy(A,W);return mw(n)},[A,W]);if(K?.validationDetails.valid)K=void 0;let N=IY.useContext(uw),M=IY.useMemo(()=>{if(_)return Array.isArray(_)?_.flatMap((n)=>d3(N[n])):d3(N[_]);return[]},[N,_]),[R,j]=IY.useState(N),[h,d]=IY.useState(!1);if(N!==R)j(N),d(!1);let b=IY.useMemo(()=>mw(h?[]:M),[h,M]),a=IY.useRef(AW),[t,qZ]=IY.useState(AW),QZ=IY.useRef(AW),LZ=()=>{if(!kZ)return;JZ(!1);let n=I||K||a.current;if(!f3(n,QZ.current))QZ.current=n,qZ(n)},[kZ,JZ]=IY.useState(!1);return IY.useEffect(LZ),{realtimeValidation:O||b||I||K||AW,displayValidation:L==="native"?O||b||t:O||b||I||K||t,updateValidation(n){if(L==="aria"&&!f3(t,n))qZ(n);else a.current=n},resetValidation(){let n=AW;if(!f3(n,QZ.current))QZ.current=n,qZ(n);if(L==="native")JZ(!1);d(!0)},commitValidation(){if(L==="native")JZ(!0);d(!0)}}}function d3(Q){if(!Q)return[];return Array.isArray(Q)?Q:[Q]}function zy(Q,q){if(typeof Q==="function"){let z=Q(q);if(z&&typeof z!=="boolean")return d3(z)}return[]}function mw(Q){return Q.length?{isInvalid:!0,validationErrors:Q,validationDetails:fw}:null}function f3(Q,q){if(Q===q)return!0;return!!Q&&!!q&&Q.isInvalid===q.isInvalid&&Q.validationErrors.length===q.validationErrors.length&&Q.validationErrors.every((z,_)=>z===q.validationErrors[_])&&Object.entries(Q.validationDetails).every(([z,_])=>q.validationDetails[z]===_)}var IY,c3,fw,AW,uw,u3="__reactAriaFormValidationState";var dw=C(()=>{IY=f(ZZ(),1),c3={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},fw={...c3,customError:!0,valid:!1},AW={isInvalid:!1,validationDetails:c3,validationErrors:[]},uw=IY.createContext({})});var cw=C(()=>{dw()});var MO,pw;var lw=C(()=>{MO=f(ZZ(),1),pw=MO.createContext(null)});function iw(Q){let{description:q,errorMessage:z,isInvalid:_,validationState:W}=Q,{labelProps:K,fieldProps:A}=a2(Q),L=_q([Boolean(q),Boolean(z),_,W]),O=_q([Boolean(q),Boolean(z),_,W]);return A=CZ(A,{"aria-describedby":[L,O,Q["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:K,fieldProps:A,descriptionProps:{id:L},errorMessageProps:{id:O}}}var nw=C(()=>{o2();PY();YJ()});function aw(Q,q,z){let _=$Y((W)=>{if(z&&!W.defaultPrevented)z(q)});sw.useEffect(()=>{let W=Q?.current?.form;return W?.addEventListener("reset",_),()=>{W?.removeEventListener("reset",_)}},[Q])}var sw;var ow=C(()=>{Tz();sw=f(ZZ(),1)});function rw(Q,q,z){let{validationBehavior:_,focus:W}=Q;dZ(()=>{if(_==="native"&&z?.current&&!z.current.disabled){let I=q.realtimeValidation.isInvalid?q.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";if(z.current.setCustomValidity(I),!z.current.hasAttribute("title"))z.current.title="";if(!q.realtimeValidation.isInvalid)q.updateValidation(Wy(z.current))}});let K=NO.useRef(!1),A=$Y(()=>{if(!K.current)q.resetValidation()}),L=$Y((I)=>{if(!q.displayValidation.isInvalid)q.commitValidation();let N=z?.current?.form;if(!I.defaultPrevented&&z&&N&&Uy(N)===z.current){if(W)W();else z.current?.focus();EK("keyboard")}I.preventDefault()}),O=$Y(()=>{q.commitValidation()});NO.useEffect(()=>{let I=z?.current;if(!I)return;let N=I.form,M=N?.reset;if(N)N.reset=()=>{K.current=!window.event||window.event.type==="message"&&KZ(window.event)instanceof MessagePort,M?.call(N),K.current=!1};return I.addEventListener("invalid",L),I.addEventListener("change",O),N?.addEventListener("reset",A),()=>{if(I.removeEventListener("invalid",L),I.removeEventListener("change",O),N?.removeEventListener("reset",A),N)N.reset=M}},[z,_])}function _y(Q){let q=Q.validity;return{badInput:q.badInput,customError:q.customError,patternMismatch:q.patternMismatch,rangeOverflow:q.rangeOverflow,rangeUnderflow:q.rangeUnderflow,stepMismatch:q.stepMismatch,tooLong:q.tooLong,tooShort:q.tooShort,typeMismatch:q.typeMismatch,valueMissing:q.valueMissing,valid:q.valid}}function Wy(Q){return{isInvalid:!Q.validity.valid,validationDetails:_y(Q),validationErrors:Q.validationMessage?[Q.validationMessage]:[]}}function Uy(Q){for(let q=0;q<Q.elements.length;q++){let z=Q.elements[q];if(z.validity?.valid===!1)return z}return null}var NO;var tw=C(()=>{dX();ZH();Tz();CY();NO=f(ZZ(),1)});function jz(Q,q,z){let[_,W]=GQ.useState(Q||q),K=GQ.useRef(_),A=GQ.useRef(Q!==void 0),L=Q!==void 0;GQ.useEffect(()=>{let M=A.current;if(M!==L)console.warn(`WARN: A component changed from ${M?"controlled":"uncontrolled"} to ${L?"controlled":"uncontrolled"}.`);A.current=L},[L]);let O=L?Q:_;Ky(()=>{K.current=O});let[,I]=GQ.useReducer(()=>({}),{}),N=GQ.useCallback((M,...R)=>{let j=typeof M==="function"?M(K.current):M;if(!Object.is(K.current,j))K.current=j,W(j),I(),z?.(j,...R)},[z]);return[O,N]}var GQ,Ky;var IO=C(()=>{GQ=f(ZZ(),1),Ky=typeof document<"u"?GQ.default.useInsertionEffect??GQ.default.useLayoutEffect:()=>{}});function By(Q={}){let{style:q,isFocusable:z}=Q,[_,W]=OW.useState(!1),{focusWithinProps:K}=WW({isDisabled:!z,onFocusWithinChange:(L)=>W(L)}),A=OW.useMemo(()=>{if(_)return q;else if(q)return{...ew,...q};else return ew},[_]);return{visuallyHiddenProps:{...K,style:A}}}function ZV(Q){let{children:q,elementType:z="div",isFocusable:_,style:W,...K}=Q,{visuallyHiddenProps:A}=By(Q);return OW.default.createElement(z,CZ(K,A),q)}var OW,ew;var XV=C(()=>{PY();AO();OW=f(ZZ(),1),ew={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}});var TO,YV;var QV=C(()=>{TO=f(ZZ(),1),YV=TO.createContext({})});var wO,VO,Ly=(Q)=>{let{onHoverStart:q,onHoverChange:z,onHoverEnd:_,...W}=Q;return W},RO;var l3=C(()=>{qQ();XW();VJ();UW();Vz();wO=f(ZZ(),1),VO=wO.createContext({}),RO=RJ(function(q,z){[q,z]=fX(q,z,VO);let{hoverProps:_,isHovered:W}=SY({...q,isDisabled:q.disabled}),{isFocused:K,isFocusVisible:A,focusProps:L}=vQ({isTextInput:!0,autoFocus:q.autoFocus}),O=!!q["aria-invalid"]&&q["aria-invalid"]!=="false",I=yX({...q,values:{isHovered:W,isFocused:K,isFocusVisible:A,isDisabled:q.disabled||!1,isInvalid:O},defaultClassName:"react-aria-Input"});return wO.default.createElement(LX.input,{...CZ(Ly(q),L,_),...I,ref:z,"data-focused":K||void 0,"data-disabled":q.disabled||void 0,"data-hovered":W||void 0,"data-focus-visible":A||void 0,"data-invalid":O||void 0})})});class hQ{constructor(Q){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=Q}get childNodes(){throw Error("childNodes is not supported")}clone(){let Q=new this.constructor(this.key);return Q.value=this.value,Q.level=this.level,Q.hasChildNodes=this.hasChildNodes,Q.rendered=this.rendered,Q.textValue=this.textValue,Q["aria-label"]=this["aria-label"],Q.index=this.index,Q.parentKey=this.parentKey,Q.prevKey=this.prevKey,Q.nextKey=this.nextKey,Q.firstChildKey=this.firstChildKey,Q.lastChildKey=this.lastChildKey,Q.props=this.props,Q.render=this.render,Q.colSpan=this.colSpan,Q.colIndex=this.colIndex,Q}filter(Q,q,z){let _=this.clone();return q.addDescendants(_,Q),_}}function Ay(Q,q,z,_){if(z==null)return[null,null];let W=null,K=null,A=Q.getItem(z);while(A!=null){let L=A.filter(Q,q,_);if(L!=null){if(L.nextKey=null,K)L.prevKey=K.key,K.nextKey=L.key;if(W==null)W=L;q.addNode(L),K=L}A=A.nextKey!=null?Q.getItem(A.nextKey):null}if(K&&K.type==="separator"){let L=K.prevKey;if(q.removeNode(K.key),L!=null)K=q.getItem(L),K.nextKey=null;else K=null}return[W?.key??null,K?.key??null]}var jO,JV,CO,FW,PO;var i3=C(()=>{jO=class jO extends hQ{filter(Q,q,z){let[_,W]=Ay(Q,q,this.firstChildKey,z),K=this.clone();return K.firstChildKey=_,K.lastChildKey=W,K}};JV=class JV extends hQ{static{this.type="header"}};CO=class CO extends hQ{static{this.type="loader"}};FW=class FW extends jO{static{this.type="item"}filter(Q,q,z){if(z(this.textValue,this)){let _=this.clone();return q.addDescendants(_,Q),_}return null}};PO=class PO extends jO{static{this.type="section"}filter(Q,q,z){let _=super.filter(Q,q,z);if(_){if(_.lastChildKey!==null){let W=Q.getItem(_.lastChildKey);if(W&&W.type!=="header")return _}}return null}}});function fK(Q){let{children:q,items:z,idScope:_,addIdAndValue:W,dependencies:K=[]}=Q,A=MW.useMemo(()=>typeof q==="function"?q.toString():void 0,[q]),L=MW.useMemo(()=>new WeakMap,[...K,A]);return MW.useMemo(()=>{if(z&&typeof q==="function"){let O=[];for(let I of z){let N=Oy(I)?I:null,M=N?L.get(N):null;if(!M){M=q(I);let R=M.props.id??I?.key??I?.id;if(_!=null&&M.props.id==null&&R!=null)R=_+":"+R;let j=R??O.length;if(M=MW.cloneElement(M,W?{key:j,id:R,value:I}:{key:j}),N)L.set(N,M)}O.push(M)}return O}else if(typeof q!=="function")return q},[q,z,L,_,W])}function Oy(Q){switch(typeof Q){case"object":return Q!=null;case"function":case"symbol":return!0;default:return!1}}var MW;var n3=C(()=>{MW=f(ZZ(),1)});var s3=pq((Fy)=>{var bQ=f(ZZ());(function(){function Q(R,j){return R===j&&(R!==0||1/R===1/j)||R!==R&&j!==j}function q(R,j){I||bQ.startTransition===void 0||(I=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var h=j();if(!N){var d=j();W(h,d)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),N=!0)}d=K({inst:{value:h,getSnapshot:j}});var b=d[0].inst,a=d[1];return L(function(){b.value=h,b.getSnapshot=j,z(b)&&a({inst:b})},[R,h,j]),A(function(){return z(b)&&a({inst:b}),R(function(){z(b)&&a({inst:b})})},[R]),O(h),h}function z(R){var j=R.getSnapshot;R=R.value;try{var h=j();return!W(R,h)}catch(d){return!0}}function _(R,j){return j()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var W=typeof Object.is==="function"?Object.is:Q,K=bQ.useState,A=bQ.useEffect,L=bQ.useLayoutEffect,O=bQ.useDebugValue,I=!1,N=!1,M=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?_:q;Fy.useSyncExternalStore=bQ.useSyncExternalStore!==void 0?bQ.useSyncExternalStore:M,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});function Ny(Q,q,z){let _=sY(),W=_X.useRef(_);W.current=_;let K=_X.useCallback(()=>{return W.current?z():q()},[q,z]);return HV.useSyncExternalStore(Q,K)}function Iy(Q){return class extends hQ{static{this.type=Q}}}function Ty(Q,q,z,_,W,K){if(typeof Q==="string")Q=Iy(Q);let A=_X.useCallback((O)=>{O?.setProps(q,z,Q,_,K)},[q,z,_,K,Q]),L=_X.useContext(o3);if(L){let O=L.ownerDocument.nodesByProps.get(q);if(!O)O=L.ownerDocument.createElement(Q.type),O.setProps(q,z,Q,_,K),L.appendChild(O),L.ownerDocument.updateCollection(),L.ownerDocument.nodesByProps.set(q,O);return W?_X.default.createElement(o3.Provider,{value:O},W):null}return _X.default.createElement(Q.type,{ref:A},W)}function Bq(Q,q){let z=({node:W})=>q(W.props,W.props.ref,W),_=_X.forwardRef((W,K)=>{let A=_X.useContext(KO);if(!_X.useContext(zV)){if(q.length>=3)throw Error(q.name+" cannot be rendered outside a collection.");return q(W,K)}return Ty(Q,W,K,"children"in W?W.children:null,null,(O)=>_X.default.createElement(KO.Provider,{value:A},_X.default.createElement(z,{node:O})))});return _.displayName=q.name,_}function wy(Q){return fK({...Q,addIdAndValue:!0})}function r3(Q){let q=_X.useContext(qV),z=(q?.dependencies||[]).concat(Q.dependencies),_=Q.idScope??q?.idScope,W=wy({...Q,idScope:_,dependencies:z});if(_X.useContext(a3))W=_X.default.createElement(Vy,null,W);return q=_X.useMemo(()=>({dependencies:z,idScope:_}),[_,...z]),_X.default.createElement(qV.Provider,{value:q},W)}function Vy({children:Q}){let q=_X.useContext(a3),z=_X.useMemo(()=>_X.default.createElement(a3.Provider,{value:null},_X.default.createElement(zV.Provider,{value:!0},Q)),[Q]);return sY()?_X.default.createElement(o3.Provider,{value:q},z):GV.createPortal(z,q)}var GV,_X,HV,zV,a3,Qc,o3,qV;var t3=C(()=>{i3();n3();HW();aG();GV=f(lq(),1),_X=f(ZZ(),1),HV=f(s3(),1),zV=_X.createContext(!1),a3=_X.createContext(null);Qc=typeof _X.default.useSyncExternalStore==="function"?_X.default.useSyncExternalStore:Ny,o3=_X.createContext(null);qV=_X.createContext(null)});var uK=C(()=>{t3()});var WV=C(()=>{n3()});function UV(Q,q,z){return fK({items:q?Q.getChildren(q.key):Q,dependencies:[z],children(_){if(_.type==="content")return HQ.default.createElement(HQ.default.Fragment,null);let W=_.render(_);if(!z||_.type!=="item")return W;return HQ.default.createElement(HQ.default.Fragment,null,z({type:"item",key:_.key,dropPosition:"before"}),W,Ry(Q,_,z))}})}function Ry(Q,q,z){let _=q.key,W=Q.getKeyAfter(_),K=W!=null?Q.getItem(W):null;while(K!=null&&K.type!=="item")W=Q.getKeyAfter(K.key),K=W!=null?Q.getItem(W):null;let A=q.nextKey!=null?Q.getItem(q.nextKey):null;while(A!=null&&A.type!=="item")A=A.nextKey!=null?Q.getItem(A.nextKey):null;let L=[];if(A==null){let O=q;while(O?.type==="item"&&(!K||O.parentKey!==K.parentKey&&K.level<O.level)){let I=z({type:"item",key:O.key,dropPosition:"after"});if(HQ.isValidElement(I))L.push(HQ.cloneElement(I,{key:`${O.key}-after`}));O=O.parentKey!=null?Q.getItem(O.parentKey):null}}return L}function X6(Q){return HQ.useMemo(()=>Q!=null?new Set([Q]):null,[Q])}var HQ,Z6,dK;var Y6=C(()=>{WV();HQ=f(ZZ(),1),Z6={CollectionRoot({collection:Q,renderDropIndicator:q}){return UV(Q,null,q)},CollectionBranch({collection:Q,parent:q,renderDropIndicator:z}){return UV(Q,q,z)}};dK=HQ.createContext(Z6)});var Cz,KV;var BV=C(()=>{Cz=f(ZZ(),1),KV=Cz.createContext({})});var cK=C(()=>{i3()});var LV="react-aria-clear-focus",AV="react-aria-focus";var OV=()=>{};function DO(Q){let q=Cy(cZ(Q));if(q!==Q){if(q)jy(q,Q);if(Q)Q6(Q,q)}}function jy(Q,q){Q.dispatchEvent(new FocusEvent("blur",{relatedTarget:q})),Q.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:q}))}function Q6(Q,q){Q.dispatchEvent(new FocusEvent("focus",{relatedTarget:q})),Q.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:q}))}function Cy(Q){let q=KX(Q),z=q?.getAttribute("aria-activedescendant");if(z)return Q.getElementById(z)||q;return q}var J6=C(()=>{dX();DY()});function zH(Q){if(jJ())return Q.metaKey;return Q.ctrlKey}function Pz(Q){return Q instanceof HTMLInputElement&&!Py.has(Q.type)||Q instanceof HTMLTextAreaElement||Q instanceof HTMLElement&&Q.isContentEditable}var Py;var pK=C(()=>{QJ();Py=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"])});function Dz(Q,q,z,_){let W=$Y(z),K=z==null;FV.useEffect(()=>{if(K||!Q.current)return;let A=Q.current;return A.addEventListener(q,W,_),()=>{A.removeEventListener(q,W,_)}},[Q,q,_,K])}var FV;var q6=C(()=>{Tz();FV=f(ZZ(),1)});class NW{constructor(Q,q="en-US"){this.strings=Object.fromEntries(Object.entries(Q).filter(([,z])=>z)),this.defaultLocale=q}getStringForLocale(Q,q){let _=this.getStringsForLocale(q)[Q];if(!_)throw Error(`Could not find intl message ${Q} in ${q} locale`);return _}getStringsForLocale(Q){let q=this.strings[Q];if(!q)q=Sy(Q,this.strings,this.defaultLocale),this.strings[Q]=q;return q}static getGlobalDictionaryForPackage(Q){if(typeof window>"u")return null;let q=window[Dy];if($O===void 0){let _=window[$y];if(!_)return null;$O={};for(let W in _)$O[W]=new NW({[q]:_[W]},q)}let z=$O?.[Q];if(!z)throw Error(`Strings for package "${Q}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return z}}function Sy(Q,q,z="en-US"){if(q[Q])return q[Q];let _=Ey(Q);if(q[_])return q[_];for(let W in q)if(W.startsWith(_+"-"))return q[W];return q[z]}function Ey(Q){if(Intl.Locale)return new Intl.Locale(Q).language;return Q.split("-")[0]}var Dy,$y,$O=void 0;var MV=C(()=>{Dy=Symbol.for("react-aria.i18n.locale"),$y=Symbol.for("react-aria.i18n.strings")});class SO{constructor(Q,q){this.locale=Q,this.strings=q}format(Q,q){let z=this.strings.getStringForLocale(Q,this.locale);return typeof z==="function"?z(q,this):z}plural(Q,q,z="cardinal"){let _=q["="+Q];if(_)return typeof _==="function"?_():_;let W=this.locale+":"+z,K=NV.get(W);if(!K)K=new Intl.PluralRules(this.locale,{type:z}),NV.set(W,K);let A=K.select(Q);return _=q[A]||q.other,typeof _==="function"?_():_}number(Q){let q=IV.get(this.locale);if(!q)q=new Intl.NumberFormat(this.locale),IV.set(this.locale,q);return q.format(Q)}select(Q,q){let z=Q[q]||Q.other;return typeof z==="function"?z():z}}var NV,IV;var TV=C(()=>{NV=new Map,IV=new Map});var wV=C(()=>{MV();TV()});function ky(Q){let q=VV.get(Q);if(!q)q=new NW(Q),VV.set(Q,q);return q}function xy(Q,q){return q&&NW.getGlobalDictionaryForPackage(q)||ky(Q)}function jV(Q,q){let{locale:z}=YW(),_=xy(Q,q);return RV.useMemo(()=>new SO(z,_),[z,_])}var RV,VV;var CV=C(()=>{iA();wV();RV=f(ZZ(),1),VV=new WeakMap});var EO,PV;var DV=C(()=>{EO=f(ZZ(),1),PV=EO.createContext(null)});function $V(Q){let q=XG.useRef({});return XG.default.createElement(vy.Provider,{value:q},Q.children)}var yy,XG,vy;var SV=C(()=>{yy=f(lq(),1),XG=f(ZZ(),1),vy=XG.createContext(null)});var kO,IW;var xO=C(()=>{kO=f(ZZ(),1),IW=kO.createContext({isSelected:!1})});function G6(Q){let q=HX(Q,{labelable:!0}),z;if(Q.orientation==="vertical")z="vertical";if(Q.elementType!=="hr")return{separatorProps:{...q,role:"separator","aria-orientation":z}};return{separatorProps:q}}var EV=C(()=>{rG()});var kV=C(()=>{EV()});var yO,xV,yV,H6;var vV=C(()=>{qQ();kV();cK();uK();Uq();VJ();yO=f(ZZ(),1),xV=yO.createContext({});yV=class yV extends hQ{static{this.type="separator"}filter(Q,q){let z=q.getItem(this.prevKey);if(z&&z.type!=="separator"){let _=this.clone();return q.addDescendants(_,Q),_}return null}};H6=Bq(yV,function(q,z){[q,z]=fX(q,z,xV);let{elementType:_,orientation:W,style:K,className:A,slot:L,...O}=q,I=_||"hr";if(I==="hr"&&W==="vertical")I="div";let N=LX[I],{separatorProps:M}=G6({...O,elementType:_,orientation:W}),R=HX(q,{global:!0});return yO.default.createElement(N,{render:q.render,...CZ(R,M),style:K,className:A??"react-aria-Separator",ref:z,slot:L||void 0})})});function hy(Q){if(typeof Q==="string")return Q.replace(/\s*/g,"");return""+Q}function hV(Q,q){let z=z6.get(Q);if(!z)throw Error("Unknown list");return`${z.id}-option-${hy(q)}`}var z6;var bV=C(()=>{z6=new WeakMap});class gV{constructor(Q,q,z,_){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=(K)=>{if(K.nodeType===Node.ELEMENT_NODE){let A=K.shadowRoot;if(A){let L=this._doc.createTreeWalker(A,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(L),NodeFilter.FILTER_ACCEPT}else if(typeof this.filter==="function")return this.filter(K);else if(this.filter?.acceptNode)return this.filter.acceptNode(K);else if(this.filter===null)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=Q,this.root=q,this.filter=_??null,this.whatToShow=z??NodeFilter.SHOW_ALL,this._currentNode=q,this._walkerStack.unshift(Q.createTreeWalker(q,z,this._acceptNode));let W=q.shadowRoot;if(W){let K=this._doc.createTreeWalker(W,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(K)}}get currentNode(){return this._currentNode}set currentNode(Q){if(!XX(this.root,Q))throw Error("Cannot set currentNode to a node that is not contained by the root node.");let q=[],z=Q,_=Q;this._currentNode=Q;while(z&&z!==this.root)if(z.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let K=z,A=this._doc.createTreeWalker(K,this.whatToShow,{acceptNode:this._acceptNode});q.push(A),A.currentNode=_,this._currentSetFor.add(A),z=_=K.host}else z=z.parentNode;let W=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});q.push(W),W.currentNode=_,this._currentSetFor.add(W),this._walkerStack=q}get doc(){return this._doc}firstChild(){let Q=this.currentNode,q=this.nextNode();if(!XX(Q,q))return this.currentNode=Q,null;if(q)this.currentNode=q;return q}lastChild(){let q=this._walkerStack[0].lastChild();if(q)this.currentNode=q;return q}nextNode(){let Q=this._walkerStack[0].nextNode();if(Q){if(Q.shadowRoot){let z;if(typeof this.filter==="function")z=this.filter(Q);else if(this.filter?.acceptNode)z=this.filter.acceptNode(Q);if(z===NodeFilter.FILTER_ACCEPT)return this.currentNode=Q,Q;let _=this.nextNode();if(_)this.currentNode=_;return _}if(Q)this.currentNode=Q;return Q}else if(this._walkerStack.length>1){this._walkerStack.shift();let q=this.nextNode();if(q)this.currentNode=q;return q}else return null}previousNode(){let Q=this._walkerStack[0];if(Q.currentNode===Q.root){if(this._currentSetFor.has(Q))if(this._currentSetFor.delete(Q),this._walkerStack.length>1){this._walkerStack.shift();let z=this.previousNode();if(z)this.currentNode=z;return z}else return null;return null}let q=Q.previousNode();if(q){if(q.shadowRoot){let _;if(typeof this.filter==="function")_=this.filter(q);else if(this.filter?.acceptNode)_=this.filter.acceptNode(q);if(_===NodeFilter.FILTER_ACCEPT){if(q)this.currentNode=q;return q}let W=this.lastChild();if(W)this.currentNode=W;return W}if(q)this.currentNode=q;return q}else if(this._walkerStack.length>1){this._walkerStack.shift();let z=this.previousNode();if(z)this.currentNode=z;return z}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}}function vO(Q,q,z,_){if(yQ())return new gV(Q,q,z,_);return Q.createTreeWalker(q,z,_)}var _6=C(()=>{dX();oA()});function dV(Q){let{children:q,contain:z,restoreFocus:_,autoFocus:W}=Q,K=iX.useRef(null),A=iX.useRef(null),L=iX.useRef([]),{parentNode:O}=iX.useContext(mV)||{},I=iX.useMemo(()=>new bO({scopeRef:L}),[L]);dZ(()=>{let R=O||GY.root;if(GY.getTreeNode(R.scopeRef)&&EX&&!hO(EX,R.scopeRef)){let j=GY.getTreeNode(EX);if(j)R=j}R.addChild(I),GY.addNode(I)},[I,O]),dZ(()=>{let R=GY.getTreeNode(L);if(R)R.contain=!!z},[z]),dZ(()=>{let R=K.current?.nextSibling,j=[],h=(d)=>d.stopPropagation();while(R&&R!==A.current)j.push(R),R.addEventListener(W6,h),R=R.nextSibling;return L.current=j,()=>{for(let d of j)d.removeEventListener(W6,h)}},[q]),dy(L,_,z),fy(L,z),cy(L,_,z),uy(L,W),iX.useEffect(()=>{let R=KX(cZ(L.current?L.current[0]:void 0)),j=null;if(GJ(R,L.current)){for(let h of GY.traverse())if(h.scopeRef&&GJ(R,h.scopeRef.current))j=h;if(j===GY.getTreeNode(L))EX=j.scopeRef}},[L]),dZ(()=>{return()=>{let R=GY.getTreeNode(L)?.parent?.scopeRef??null;if((L===EX||hO(L,EX))&&(!R||GY.getTreeNode(R)))EX=R;GY.removeTreeNode(L)}},[L]);let N=iX.useMemo(()=>by(L),[]),M=iX.useMemo(()=>({focusManager:N,parentNode:I}),[I,N]);return iX.default.createElement(mV.Provider,{value:M},iX.default.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:K}),q,iX.default.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:A}))}function by(Q){return{focusNext(q={}){let z=Q.current,{from:_,tabbable:W,wrap:K,accept:A}=q,L=_||KX(cZ(z[0]??void 0)),O=z[0].previousElementSibling,I=$z(z),N=qJ(I,{tabbable:W,accept:A},z);N.currentNode=GJ(L,z)?L:O;let M=N.nextNode();if(!M&&K)N.currentNode=O,M=N.nextNode();if(M)YG(M,!0);return M},focusPrevious(q={}){let z=Q.current,{from:_,tabbable:W,wrap:K,accept:A}=q,L=_||KX(cZ(z[0]??void 0)),O=z[z.length-1].nextElementSibling,I=$z(z),N=qJ(I,{tabbable:W,accept:A},z);N.currentNode=GJ(L,z)?L:O;let M=N.previousNode();if(!M&&K)N.currentNode=O,M=N.previousNode();if(M)YG(M,!0);return M},focusFirst(q={}){let z=Q.current,{tabbable:_,accept:W}=q,K=$z(z),A=qJ(K,{tabbable:_,accept:W},z);A.currentNode=z[0].previousElementSibling;let L=A.nextNode();if(L)YG(L,!0);return L},focusLast(q={}){let z=Q.current,{tabbable:_,accept:W}=q,K=$z(z),A=qJ(K,{tabbable:_,accept:W},z);A.currentNode=z[z.length-1].nextElementSibling;let L=A.previousNode();if(L)YG(L,!0);return L}}}function $z(Q){return Q[0].parentElement}function lK(Q){let q=GY.getTreeNode(EX);while(q&&q.scopeRef!==Q){if(q.contain)return!1;q=q.parent}return!0}function gy(Q){if(!Q.form)return Array.from(cZ(Q).querySelectorAll(`input[type="radio"][name="${CSS.escape(Q.name)}"]`)).filter((_)=>!_.form);let q=Q.form.elements.namedItem(Q.name),z=uX(Q);if(q instanceof z.RadioNodeList)return Array.from(q).filter((_)=>_ instanceof z.HTMLInputElement);if(q instanceof z.HTMLInputElement)return[q];return[]}function my(Q){if(Q.checked)return!0;let q=gy(Q);return q.length>0&&!q.some((z)=>z.checked)}function fy(Q,q){let z=iX.useRef(void 0),_=iX.useRef(void 0);dZ(()=>{let W=Q.current;if(!q){if(_.current)cancelAnimationFrame(_.current),_.current=void 0;return}let K=cZ(W?W[0]:void 0),A=(I)=>{if(I.key!=="Tab"||I.altKey||I.ctrlKey||I.metaKey||!lK(Q)||I.isComposing)return;let N=KX(K),M=Q.current;if(!M||!GJ(N,M))return;let R=$z(M),j=qJ(R,{tabbable:!0},M);if(!N)return;j.currentNode=N;let h=I.shiftKey?j.previousNode():j.nextNode();if(!h)j.currentNode=I.shiftKey?M[M.length-1].nextElementSibling:M[0].previousElementSibling,h=I.shiftKey?j.previousNode():j.nextNode();if(I.preventDefault(),h){if(YG(h,!0),h instanceof uX(h).HTMLInputElement)h.select()}},L=(I)=>{if((!EX||hO(EX,Q))&&GJ(KZ(I),Q.current))EX=Q,z.current=KZ(I);else if(lK(Q)&&!_H(KZ(I),Q)){if(z.current)z.current.focus();else if(EX&&EX.current)U6(EX.current)}else if(lK(Q))z.current=KZ(I)},O=(I)=>{if(_.current)cancelAnimationFrame(_.current);_.current=requestAnimationFrame(()=>{let N=Mz(),M=(N==="virtual"||N===null)&&DK()&&F3(),R=KX(K);if(!M&&R&&lK(Q)&&!_H(R,Q)){EX=Q;let j=KZ(I);if(j&&j.isConnected)z.current=j,z.current?.focus();else if(EX.current)U6(EX.current)}})};return K.addEventListener("keydown",A,!1),K.addEventListener("focusin",L,!1),W?.forEach((I)=>I.addEventListener("focusin",L,!1)),W?.forEach((I)=>I.addEventListener("focusout",O,!1)),()=>{K.removeEventListener("keydown",A,!1),K.removeEventListener("focusin",L,!1),W?.forEach((I)=>I.removeEventListener("focusin",L,!1)),W?.forEach((I)=>I.removeEventListener("focusout",O,!1))}},[Q,q]),dZ(()=>{return()=>{if(_.current)cancelAnimationFrame(_.current)}},[_])}function cV(Q){return _H(Q)}function GJ(Q,q){if(!Q)return!1;if(!q)return!1;return q.some((z)=>XX(z,Q))}function _H(Q,q=null){if(Q instanceof Element&&Q.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:z}of GY.traverse(GY.getTreeNode(q)))if(z&&GJ(Q,z.current))return!0;return!1}function pV(Q){return _H(Q,EX)}function hO(Q,q){let z=GY.getTreeNode(q)?.parent;while(z){if(z.scopeRef===Q)return!0;z=z.parent}return!1}function YG(Q,q=!1){if(Q!=null&&!q)try{oq(Q)}catch{}else if(Q!=null)try{Q.focus()}catch{}}function lV(Q,q=!0){let z=Q[0].previousElementSibling,_=$z(Q),W=qJ(_,{tabbable:q},Q);W.currentNode=z;let K=W.nextNode();if(q&&!K)_=$z(Q),W=qJ(_,{tabbable:!1},Q),W.currentNode=z,K=W.nextNode();return K}function U6(Q,q=!0){YG(lV(Q,q))}function uy(Q,q){let z=iX.default.useRef(q);iX.useEffect(()=>{if(z.current){EX=Q;let _=cZ(Q.current?Q.current[0]:void 0);if(!GJ(KX(_),EX.current)&&Q.current)U6(Q.current)}z.current=!1},[Q])}function dy(Q,q,z){dZ(()=>{if(q||z)return;let _=Q.current,W=cZ(_?_[0]:void 0),K=(A)=>{let L=KZ(A);if(GJ(L,Q.current))EX=Q;else if(!cV(L))EX=null};return W.addEventListener("focusin",K,!1),_?.forEach((A)=>A.addEventListener("focusin",K,!1)),()=>{W.removeEventListener("focusin",K,!1),_?.forEach((A)=>A.removeEventListener("focusin",K,!1))}},[Q,q,z])}function fV(Q){let q=GY.getTreeNode(EX);while(q&&q.scopeRef!==Q){if(q.nodeToRestore)return!1;q=q.parent}return q?.scopeRef===Q}function cy(Q,q,z){let _=iX.useRef(typeof document<"u"?KX(cZ(Q.current?Q.current[0]:void 0)):null);dZ(()=>{let W=Q.current,K=cZ(W?W[0]:void 0);if(!q||z)return;let A=()=>{if((!EX||hO(EX,Q))&&GJ(KX(K),Q.current))EX=Q};return K.addEventListener("focusin",A,!1),W?.forEach((L)=>L.addEventListener("focusin",A,!1)),()=>{K.removeEventListener("focusin",A,!1),W?.forEach((L)=>L.removeEventListener("focusin",A,!1))}},[Q,z]),dZ(()=>{let W=cZ(Q.current?Q.current[0]:void 0);if(!q)return;let K=(A)=>{if(A.key!=="Tab"||A.altKey||A.ctrlKey||A.metaKey||!lK(Q)||A.isComposing)return;let L=W.activeElement;if(!_H(L,Q)||!fV(Q))return;let O=GY.getTreeNode(Q);if(!O)return;let I=O.nodeToRestore,N=qJ(W.body,{tabbable:!0});N.currentNode=L;let M=A.shiftKey?N.previousNode():N.nextNode();if(!I||!I.isConnected||I===W.body)I=void 0,O.nodeToRestore=void 0;if((!M||!_H(M,Q))&&I){N.currentNode=I;do M=A.shiftKey?N.previousNode():N.nextNode();while(_H(M,Q));if(A.preventDefault(),A.stopPropagation(),M)YG(M,!0);else if(!cV(I))L.blur();else YG(I,!0)}};if(!z)W.addEventListener("keydown",K,!0);return()=>{if(!z)W.removeEventListener("keydown",K,!0)}},[Q,q,z]),dZ(()=>{let W=cZ(Q.current?Q.current[0]:void 0);if(!q)return;let K=GY.getTreeNode(Q);if(!K)return;return K.nodeToRestore=_.current??void 0,()=>{let A=GY.getTreeNode(Q);if(!A)return;let L=A.nodeToRestore,O=KX(W);if(q&&L&&(O&&_H(O,Q)||O===W.body&&fV(Q))){let I=GY.clone();requestAnimationFrame(()=>{if(W.activeElement===W.body){let N=I.getTreeNode(Q);while(N){if(N.nodeToRestore&&N.nodeToRestore.isConnected){uV(N.nodeToRestore);return}N=N.parent}N=I.getTreeNode(Q);while(N){if(N.scopeRef&&N.scopeRef.current&&GY.getTreeNode(N.scopeRef)){let M=lV(N.scopeRef.current,!0);uV(M);return}N=N.parent}}})}}},[Q,q])}function uV(Q){if(Q.dispatchEvent(new CustomEvent(W6,{bubbles:!0,cancelable:!0})))YG(Q)}function qJ(Q,q,z){let _=q?.tabbable?eA:tA,W=Q?.nodeType===Node.ELEMENT_NODE?Q:null,K=cZ(W),A=vO(K,Q||K,NodeFilter.SHOW_ELEMENT,{acceptNode(L){if(XX(q?.from,L))return NodeFilter.FILTER_REJECT;if(q?.tabbable&&L.tagName==="INPUT"&&L.getAttribute("type")==="radio"){if(!my(L))return NodeFilter.FILTER_REJECT;if(A.currentNode.tagName==="INPUT"&&A.currentNode.type==="radio"&&A.currentNode.name===L.name)return NodeFilter.FILTER_REJECT}if(_(L)&&(!z||GJ(L,z))&&(!q?.accept||q.accept(L)))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP}});if(q?.from)A.currentNode=q.from;return A}class K6{constructor(){this.fastMap=new Map,this.root=new bO({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(Q){return this.fastMap.get(Q)}addTreeNode(Q,q,z){let _=this.fastMap.get(q??null);if(!_)return;let W=new bO({scopeRef:Q});if(_.addChild(W),W.parent=_,this.fastMap.set(Q,W),z)W.nodeToRestore=z}addNode(Q){this.fastMap.set(Q.scopeRef,Q)}removeTreeNode(Q){if(Q===null)return;let q=this.fastMap.get(Q);if(!q)return;let z=q.parent;for(let W of this.traverse())if(W!==q&&q.nodeToRestore&&W.nodeToRestore&&q.scopeRef&&q.scopeRef.current&&GJ(W.nodeToRestore,q.scopeRef.current))W.nodeToRestore=q.nodeToRestore;let _=q.children;if(z){if(z.removeChild(q),_.size>0)_.forEach((W)=>z&&z.addChild(W))}this.fastMap.delete(q.scopeRef)}*traverse(Q=this.root){if(Q.scopeRef!=null)yield Q;if(Q.children.size>0)for(let q of Q.children)yield*this.traverse(q)}clone(){let Q=new K6;for(let q of this.traverse())Q.addTreeNode(q.scopeRef,q.parent?.scopeRef??null,q.nodeToRestore);return Q}}class bO{constructor(Q){this.children=new Set,this.contain=!1,this.scopeRef=Q.scopeRef}addChild(Q){this.children.add(Q),Q.parent=this}removeChild(Q){this.children.delete(Q),Q.parent=void 0}}var iX,mV,W6="react-aria-focus-scope-restore",EX=null,GY;var iK=C(()=>{_6();kK();dX();ZH();DY();QJ();ZO();CY();iX=f(ZZ(),1),mV=iX.default.createContext(null);GY=new K6});function nK(Q){return Lw()?Q.altKey:Q.ctrlKey}function gO(Q,q){let z=`[data-key="${CSS.escape(String(q))}"]`,_=Q.current?.dataset.collection;if(_)z=`[data-collection="${CSS.escape(_)}"]${z}`;return Q.current?.querySelector(z)}function nV(Q){let q=aX();return iV.set(Q,q),q}function sV(Q){return iV.get(Q)}var iV;var B6=C(()=>{QJ();YJ();iV=new WeakMap});function Lq(Q,q){if(!Q)return!1;let z=window.getComputedStyle(Q),_=document.scrollingElement||document.documentElement,W=/(auto|scroll)/.test(z.overflow+z.overflowX+z.overflowY);if(Q===_&&z.overflow!=="hidden")W=!0;if(W&&q)W=Q.scrollHeight!==Q.clientHeight||Q.scrollWidth!==Q.clientWidth;return W}var sK=()=>{};function mO(Q,q){let z=[],_=document.scrollingElement||document.documentElement;while(Q){if(Lq(Q,q))z.push(Q);if(Q===_)break;Q=Q.parentElement}return z}var aV=C(()=>{sK()});function aK(Q,q,z={}){let{block:_="nearest",inline:W="nearest"}=z;if(Q===q)return;let{scrollTop:K,scrollLeft:A}=Q,L=q.getBoundingClientRect(),O=Q.getBoundingClientRect(),I=window.getComputedStyle(q),N=window.getComputedStyle(Q),M=document.scrollingElement||document.documentElement,R=Q===M,j=Q===M?0:O.top,h=Q===M?Q.clientHeight:O.bottom,d=Q===M?0:O.left,b=Q===M?Q.clientWidth:O.right,a=parseFloat(I.scrollMarginTop)||0,t=parseFloat(I.scrollMarginBottom)||0,qZ=parseFloat(I.scrollMarginLeft)||0,QZ=parseFloat(I.scrollMarginRight)||0,LZ=parseFloat(N.scrollPaddingTop)||0,kZ=parseFloat(N.scrollPaddingBottom)||0,JZ=parseFloat(N.scrollPaddingLeft)||0,l=parseFloat(N.scrollPaddingRight)||0,OZ=parseFloat(N.borderTopWidth)||0,n=parseFloat(N.borderBottomWidth)||0,wZ=parseFloat(N.borderLeftWidth)||0,WZ=parseFloat(N.borderRightWidth)||0,HZ=L.top-a,v=L.bottom+t,m=L.left-qZ,E=L.right+QZ,g=Q===M?0:wZ+WZ,e=Q===M?0:OZ+n,p=Q===M?0:Q.offsetWidth-Q.clientWidth-g,w=Q===M?0:Q.offsetHeight-Q.clientHeight-e,o=j+(R?0:OZ)+LZ,AZ=h-(R?0:n)-kZ-w,VZ=d+(R?0:wZ)+JZ,vZ=b-(R?0:WZ)-l;if(N.direction==="rtl"&&!CJ())VZ+=p;else vZ-=p;let JX=HZ<o||v>AZ,NZ=m<VZ||E>vZ;if(JX&&_==="start")K+=HZ-o;else if(JX&&_==="center")K+=(HZ+v)/2-(o+AZ)/2;else if(JX&&_==="end")K+=v-AZ;else if(JX&&_==="nearest"){let YX=HZ-o,TX=v-AZ;K+=Math.abs(YX)<=Math.abs(TX)?YX:TX}if(NZ&&W==="start")A+=m-VZ;else if(NZ&&W==="center")A+=(m+E)/2-(VZ+vZ)/2;else if(NZ&&W==="end")A+=E-vZ;else if(NZ&&W==="nearest"){let YX=m-VZ,TX=E-vZ;A+=Math.abs(YX)<=Math.abs(TX)?YX:TX}Q.scrollTo({left:A,top:K})}function L6(Q,q={}){let{containingElement:z}=q;if(Q&&Q.isConnected){let _=document.scrollingElement||document.documentElement;if(window.getComputedStyle(_).overflow!=="hidden"){let{left:K,top:A}=Q.getBoundingClientRect();Q?.scrollIntoView?.({block:"nearest"});let{left:L,top:O}=Q.getBoundingClientRect();if(Math.abs(K-L)>1||Math.abs(A-O)>1)z?.scrollIntoView?.({block:"center",inline:"center"}),Q.scrollIntoView?.({block:"nearest"})}else{let{left:K,top:A}=Q.getBoundingClientRect(),L=mO(Q,!0);for(let N of L)aK(N,Q);let{left:O,top:I}=Q.getBoundingClientRect();if(Math.abs(K-O)>1||Math.abs(A-I)>1){L=z?mO(z,!0):[];for(let N of L)aK(N,z,{block:"center",inline:"center"});for(let N of mO(Q,!0))aK(N,Q)}}}}var oV=C(()=>{aV();QJ()});function tV(Q){let{keyboardDelegate:q,selectionManager:z,onTypeSelect:_}=Q,W=rV.useRef({search:"",timeout:void 0}).current,K=(A)=>{let L=ly(A.key);if(!L||A.ctrlKey||A.metaKey||!XX(A.currentTarget,KZ(A))||W.search.length===0&&L===" ")return;if(L===" "&&W.search.trim().length>0){if(A.preventDefault(),!("continuePropagation"in A))A.stopPropagation()}if(W.search+=L,q.getKeyForSearch!=null){let O=q.getKeyForSearch(W.search,z.focusedKey);if(O==null)O=q.getKeyForSearch(W.search);if(O!=null){if(z.setFocusedKey(O),_)_(O)}}clearTimeout(W.timeout),W.timeout=setTimeout(()=>{W.search=""},py)};return{typeSelectProps:{onKeyDownCapture:q.getKeyForSearch?K:void 0}}}function ly(Q){if(Q.length===1||!/^[A-Z]/i.test(Q))return Q;return""}var rV,py=1000;var eV=C(()=>{dX();rV=f(ZZ(),1)});function O6(Q,q){let z=A6.useRef(!0),_=A6.useRef(null);dZ(()=>{return z.current=!0,()=>{z.current=!1}},[]),dZ(()=>{if(z.current)z.current=!1;else if(!_.current||q.some((W,K)=>!Object.is(W,_[K])))Q();_.current=q},q)}var A6;var ZR=C(()=>{CY();A6=f(ZZ(),1)});function YR(Q){let{selectionManager:q,keyboardDelegate:z,ref:_,autoFocus:W=!1,shouldFocusWrap:K=!1,disallowEmptySelection:A=!1,disallowSelectAll:L=!1,escapeKeyBehavior:O="clearSelection",selectOnFocus:I=q.selectionBehavior==="replace",disallowTypeAhead:N=!1,shouldUseVirtualFocus:M,allowsTabNavigation:R=!1,scrollRef:j=_,linkBehavior:h="action"}=Q,{direction:d}=YW(),b=Az(),a=(v)=>{if(v.altKey&&v.key==="Tab")v.preventDefault();if(!_.current||!XX(_.current,KZ(v)))return;let m=(E,g)=>{if(E!=null){if(q.isLink(E)&&h==="selection"&&I&&!nK(v)){XR.flushSync(()=>{q.setFocusedKey(E,g)});let e=gO(_,E),p=q.getItemProps(E);if(e)b.open(e,v,p.href,p.routerOptions);return}if(q.setFocusedKey(E,g),q.isLink(E)&&h==="override")return;if(v.shiftKey&&q.selectionMode==="multiple")q.extendSelection(E);else if(I&&!nK(v))q.replaceSelection(E)}};switch(v.key){case"ArrowDown":if(z.getKeyBelow){let E=q.focusedKey!=null?z.getKeyBelow?.(q.focusedKey):z.getFirstKey?.();if(E==null&&K)E=z.getFirstKey?.(q.focusedKey);if(E!=null)v.preventDefault(),m(E)}break;case"ArrowUp":if(z.getKeyAbove){let E=q.focusedKey!=null?z.getKeyAbove?.(q.focusedKey):z.getLastKey?.();if(E==null&&K)E=z.getLastKey?.(q.focusedKey);if(E!=null)v.preventDefault(),m(E)}break;case"ArrowLeft":if(z.getKeyLeftOf){let E=q.focusedKey!=null?z.getKeyLeftOf?.(q.focusedKey):z.getFirstKey?.();if(E==null&&K)E=d==="rtl"?z.getFirstKey?.(q.focusedKey):z.getLastKey?.(q.focusedKey);if(E!=null)v.preventDefault(),m(E,d==="rtl"?"first":"last")}break;case"ArrowRight":if(z.getKeyRightOf){let E=q.focusedKey!=null?z.getKeyRightOf?.(q.focusedKey):z.getFirstKey?.();if(E==null&&K)E=d==="rtl"?z.getLastKey?.(q.focusedKey):z.getFirstKey?.(q.focusedKey);if(E!=null)v.preventDefault(),m(E,d==="rtl"?"last":"first")}break;case"Home":if(z.getFirstKey){if(q.focusedKey===null&&v.shiftKey)return;v.preventDefault();let E=z.getFirstKey(q.focusedKey,zH(v));if(q.setFocusedKey(E),E!=null){if(zH(v)&&v.shiftKey&&q.selectionMode==="multiple")q.extendSelection(E);else if(I)q.replaceSelection(E)}}break;case"End":if(z.getLastKey){if(q.focusedKey===null&&v.shiftKey)return;v.preventDefault();let E=z.getLastKey(q.focusedKey,zH(v));if(q.setFocusedKey(E),E!=null){if(zH(v)&&v.shiftKey&&q.selectionMode==="multiple")q.extendSelection(E);else if(I)q.replaceSelection(E)}}break;case"PageDown":if(z.getKeyPageBelow&&q.focusedKey!=null){let E=z.getKeyPageBelow(q.focusedKey);if(E!=null)v.preventDefault(),m(E)}break;case"PageUp":if(z.getKeyPageAbove&&q.focusedKey!=null){let E=z.getKeyPageAbove(q.focusedKey);if(E!=null)v.preventDefault(),m(E)}break;case"a":if(zH(v)&&q.selectionMode==="multiple"&&L!==!0)v.preventDefault(),q.selectAll();break;case"Escape":if(O==="clearSelection"&&!A&&q.selectedKeys.size!==0)v.stopPropagation(),v.preventDefault(),q.clearSelection();break;case"Tab":if(!R){if(v.shiftKey)_.current.focus();else{let E=qJ(_.current,{tabbable:!0}),g=void 0,e;do if(e=E.lastChild(),e)g=e;while(e);let p=KX();if(g&&(!B3(g)||p&&!eA(p)))aY(g)}break}}},t=DJ.useRef({top:0,left:0});Dz(j,"scroll",()=>{t.current={top:j.current?.scrollTop??0,left:j.current?.scrollLeft??0}});let qZ=(v)=>{if(q.isFocused){if(!XX(v.currentTarget,KZ(v)))q.setFocused(!1);return}if(!XX(v.currentTarget,KZ(v)))return;if(q.setFocused(!0),q.focusedKey==null){let m=(g)=>{if(g!=null){if(q.setFocusedKey(g),I&&!q.isSelected(g))q.replaceSelection(g)}},E=v.relatedTarget;if(E&&v.currentTarget.compareDocumentPosition(E)&Node.DOCUMENT_POSITION_FOLLOWING)m(q.lastSelectedKey??z.getLastKey?.());else m(q.firstSelectedKey??z.getFirstKey?.())}else if(j.current)j.current.scrollTop=t.current.top,j.current.scrollLeft=t.current.left;if(q.focusedKey!=null&&j.current){let m=gO(_,q.focusedKey);if(m instanceof HTMLElement){if(!B3(m)&&!M)aY(m);if(Mz()==="keyboard")L6(m,{containingElement:_.current})}}},QZ=(v)=>{if(!XX(v.currentTarget,v.relatedTarget))q.setFocused(!1)},LZ=DJ.useRef(!1);Dz(_,AV,!M?void 0:(v)=>{let{detail:m}=v;if(v.stopPropagation(),q.setFocused(!0),m?.focusStrategy==="first")LZ.current=!0}),O6(()=>{if(LZ.current){let v=z.getFirstKey?.()??null;if(v==null){let m=KX();if(DO(_.current),Q6(m,null),q.collection.size>0)LZ.current=!1}else q.setFocusedKey(v),LZ.current=!1}},[q.collection]),O6(()=>{if(q.collection.size>0)LZ.current=!1},[q.focusedKey]),Dz(_,LV,!M?void 0:(v)=>{if(v.stopPropagation(),q.setFocused(!1),v.detail?.clearFocusKey)q.setFocusedKey(null)});let kZ=DJ.useRef(W),JZ=DJ.useRef(!1);DJ.useEffect(()=>{if(kZ.current){let v=null;if(W==="first")v=z.getFirstKey?.()??null;if(W==="last")v=z.getLastKey?.()??null;let m=q.selectedKeys;if(m.size){for(let E of m)if(q.canSelectItem(E)){v=E;break}}if(q.setFocused(!0),q.setFocusedKey(v),v==null&&!M&&_.current)oq(_.current);if(q.collection.size>0)kZ.current=!1,JZ.current=!0}});let l=DJ.useRef(q.focusedKey),OZ=DJ.useRef(null);DJ.useEffect(()=>{if(q.isFocused&&q.focusedKey!=null&&(q.focusedKey!==l.current||JZ.current)&&j.current&&_.current){let v=Mz(),m=gO(_,q.focusedKey);if(!(m instanceof HTMLElement))return;if(v==="keyboard"||JZ.current){if(OZ.current)cancelAnimationFrame(OZ.current);OZ.current=requestAnimationFrame(()=>{if(j.current){if(aK(j.current,m),v!=="virtual")L6(m,{containingElement:_.current})}})}}if(!M&&q.isFocused&&q.focusedKey==null&&l.current!=null&&_.current)oq(_.current);l.current=q.focusedKey,JZ.current=!1}),DJ.useEffect(()=>{return()=>{if(OZ.current)cancelAnimationFrame(OZ.current)}},[]),Dz(_,"react-aria-focus-scope-restore",(v)=>{v.preventDefault(),q.setFocused(!0)});let n={onKeyDown:a,onFocus:qZ,onBlur:QZ,onMouseDown(v){if(j.current===KZ(v))v.preventDefault()}},{typeSelectProps:wZ}=tV({keyboardDelegate:z,selectionManager:q});if(!N)n=CZ(wZ,n);let WZ=void 0;if(!M)WZ=q.focusedKey==null?0:-1;let HZ=nV(q.collection);return{collectionProps:CZ(n,{tabIndex:WZ,"data-collection":HZ})}}var XR,DJ;var QR=C(()=>{OV();J6();kK();Lz();dX();iK();ZH();B6();pK();ZO();PY();oV();q6();iA();eG();eV();ZR();XR=f(lq(),1),DJ=f(ZZ(),1)});function qR(Q){let[q,z]=JR.useState();return dZ(()=>{if(!Q)return;let _=F6.get(Q);if(!_){let W=`react-aria-description-${iy++}`;z(W);let K=document.createElement("div");K.id=W,K.style.display="none",K.textContent=Q,document.body.appendChild(K),_={refCount:0,element:K},F6.set(Q,_)}else z(_.element.id);return _.refCount++,()=>{if(_&&--_.refCount===0)_.element.remove(),F6.delete(Q)}},[Q]),{"aria-describedby":Q?q:void 0}}var JR,iy=0,F6;var GR=C(()=>{CY();JR=f(ZZ(),1),F6=new Map});function zR(Q){let{isDisabled:q,onLongPressStart:z,onLongPressEnd:_,onLongPress:W,threshold:K=ny,accessibilityDescription:A}=Q,L=HR.useRef(void 0),{addGlobalListener:O,removeGlobalListener:I}=JH(),{pressProps:N}=qH({isDisabled:q,onPressStart(R){if(R.continuePropagation(),R.pointerType==="mouse"||R.pointerType==="touch"){if(z)z({...R,type:"longpressstart"});if(L.current=setTimeout(()=>{if(R.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),cZ(R.target).activeElement!==R.target)aY(R.target);if(W)W({...R,type:"longpress"});L.current=void 0},K),R.pointerType==="touch"){let j=(d)=>{d.preventDefault()},h=uX(R.target);O(R.target,"contextmenu",j,{once:!0}),O(h,"pointerup",()=>{setTimeout(()=>{I(R.target,"contextmenu",j)},30)},{once:!0})}}},onPressEnd(R){if(L.current)clearTimeout(L.current);if(_&&(R.pointerType==="mouse"||R.pointerType==="touch"))_({...R,type:"longpressend"})}}),M=qR(W&&!q?A:void 0);return{longPressProps:CZ(N,M)}}var HR,ny=500;var _R=C(()=>{Lz();DY();PY();GR();yK();hK();HR=f(ZZ(),1)});function TW(Q){let{id:q,selectionManager:z,key:_,ref:W,shouldSelectOnPressUp:K,shouldUseVirtualFocus:A,focus:L,isDisabled:O,onAction:I,allowsDifferentPressOrigin:N,linkBehavior:M="action"}=Q,R=Az();q=aX(q);let j=(w)=>{if(w.pointerType==="keyboard"&&nK(w))z.toggleSelection(_);else{if(z.selectionMode==="none")return;if(z.isLink(_)){if(M==="selection"&&W.current){let o=z.getItemProps(_);R.open(W.current,w,o.href,o.routerOptions),z.setSelectedKeys(z.selectedKeys);return}else if(M==="override"||M==="none")return}if(z.selectionMode==="single")if(z.isSelected(_)&&!z.disallowEmptySelection)z.toggleSelection(_);else z.replaceSelection(_);else if(w&&w.shiftKey)z.extendSelection(_);else if(z.selectionBehavior==="toggle"||w&&(zH(w)||w.pointerType==="touch"||w.pointerType==="virtual"))z.toggleSelection(_);else z.replaceSelection(_)}};Sz.useEffect(()=>{if(_===z.focusedKey&&z.isFocused)if(!A){if(L)L();else if(KX()!==W.current&&W.current)oq(W.current)}else DO(W.current)},[W,_,z.focusedKey,z.childFocusStrategy,z.isFocused,A]),O=O||z.isDisabled(_);let h={};if(!A&&!O)h={tabIndex:_===z.focusedKey?0:-1,onFocus(w){if(KZ(w)===W.current)z.setFocusedKey(_)}};else if(O)h.onMouseDown=(w)=>{w.preventDefault()};Sz.useEffect(()=>{if(O&&z.focusedKey===_)z.setFocusedKey(null)},[z,O,_]);let d=z.isLink(_)&&M==="override",b=I&&Q.UNSTABLE_itemBehavior==="action",a=z.isLink(_)&&M!=="selection"&&M!=="none",t=!O&&z.canSelectItem(_)&&!d&&!b,qZ=(I||a)&&!O,QZ=qZ&&(z.selectionBehavior==="replace"?!t:!t||z.isEmpty),LZ=qZ&&t&&z.selectionBehavior==="replace",kZ=QZ||LZ,JZ=Sz.useRef(null),l=kZ&&t,OZ=Sz.useRef(!1),n=Sz.useRef(!1),wZ=z.getItemProps(_),WZ=(w)=>{if(I)I(),W.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}));if(a&&W.current)R.open(W.current,w,wZ.href,wZ.routerOptions)},HZ={ref:W};if(K)if(HZ.onPressStart=(w)=>{if(JZ.current=w.pointerType,OZ.current=l,w.pointerType==="keyboard"&&(!kZ||UR(w.key)))j(w)},!N)HZ.onPress=(w)=>{if(QZ||LZ&&w.pointerType!=="mouse"){if(w.pointerType==="keyboard"&&!WR(w.key))return;WZ(w)}else if(w.pointerType!=="keyboard"&&t)j(w)};else HZ.onPressUp=QZ?void 0:(w)=>{if(w.pointerType==="mouse"&&t)j(w)},HZ.onPress=QZ?WZ:(w)=>{if(w.pointerType!=="keyboard"&&w.pointerType!=="mouse"&&t)j(w)};else HZ.onPressStart=(w)=>{if(JZ.current=w.pointerType,OZ.current=l,n.current=QZ,t&&(w.pointerType==="mouse"&&!QZ||w.pointerType==="keyboard"&&(!qZ||UR(w.key))))j(w)},HZ.onPress=(w)=>{if(w.pointerType==="touch"||w.pointerType==="pen"||w.pointerType==="virtual"||w.pointerType==="keyboard"&&kZ&&WR(w.key)||w.pointerType==="mouse"&&n.current){if(kZ)WZ(w);else if(t)j(w)}};if(h["data-collection"]=sV(z.collection),h["data-key"]=_,HZ.preventFocusOnPress=A,A)HZ=CZ(HZ,{onPressStart(w){if(w.pointerType!=="touch")z.setFocused(!0),z.setFocusedKey(_)},onPress(w){if(w.pointerType==="touch")z.setFocused(!0),z.setFocusedKey(_)}});if(wZ){for(let w of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])if(wZ[w])HZ[w]=wJ(HZ[w],wZ[w])}let{pressProps:v,isPressed:m}=qH(HZ),E=LZ?(w)=>{if(JZ.current==="mouse")w.stopPropagation(),w.preventDefault(),WZ(w)}:void 0,{longPressProps:g}=zR({isDisabled:!l,onLongPress(w){if(w.pointerType==="touch")j(w),z.setSelectionBehavior("toggle")}}),e=(w)=>{if(JZ.current==="touch"&&OZ.current)w.preventDefault()},p=M!=="none"&&z.isLink(_)?(w)=>{if(!JJ.isOpening)w.preventDefault()}:void 0;return{itemProps:CZ(h,t||QZ||A&&!O?v:{},l?g:{},{onDoubleClick:E,onDragStartCapture:e,onClick:p,id:q},A?{onMouseDown:(w)=>w.preventDefault()}:void 0),isPressed:m,isSelected:z.isSelected(_),isFocused:z.isFocused&&z.focusedKey===_,isDisabled:O,allowsSelection:t,hasAction:kZ}}function WR(Q){return Q==="Enter"}function UR(Q){return Q===" "}var Sz;var fO=C(()=>{t_();kK();dX();B6();pK();PY();J6();eG();hK();YJ();_R();Sz=f(ZZ(),1)});function KR(Q,q){if(typeof q.getChildren==="function")return q.getChildren(Q.key);return Q.childNodes}var BR=()=>{};function oK(Q){let q=LR.get(Q);if(q!=null)return q;let z=0,_=(W)=>{for(let K of W)if(K.type==="section")_(KR(K,Q));else if(K.type==="item")z++};return _(Q),LR.set(Q,z),z}var LR;var AR=C(()=>{BR();LR=new WeakMap});var M6=C(()=>{AR()});function N6(Q,q,z){let{key:_}=Q,W=z6.get(q),K=Q.isDisabled??q.selectionManager.isDisabled(_),A=Q.isSelected??q.selectionManager.isSelected(_),L=Q.shouldSelectOnPressUp??W?.shouldSelectOnPressUp,O=Q.shouldFocusOnHover??W?.shouldFocusOnHover,I=Q.shouldUseVirtualFocus??W?.shouldUseVirtualFocus,N=Q.isVirtualized??W?.isVirtualized,M=_q(),R=_q(),j={role:"option","aria-disabled":K||void 0,"aria-selected":q.selectionManager.selectionMode!=="none"?A:void 0,"aria-label":Q["aria-label"],"aria-labelledby":M,"aria-describedby":R},h=q.collection.getItem(_);if(N){let OZ=Number(h?.index);j["aria-posinset"]=Number.isNaN(OZ)?void 0:OZ+1,j["aria-setsize"]=oK(q.collection)}let d=W?.onAction?()=>W?.onAction?.(_):void 0,b=hV(q,_),{itemProps:a,isPressed:t,isFocused:qZ,hasAction:QZ,allowsSelection:LZ}=TW({selectionManager:q.selectionManager,key:_,ref:z,shouldSelectOnPressUp:L,allowsDifferentPressOrigin:L&&O,isVirtualized:N,shouldUseVirtualFocus:I,isDisabled:K,onAction:d||h?.props?.onAction?wJ(h?.props?.onAction,d):void 0,linkBehavior:W?.linkBehavior,UNSTABLE_itemBehavior:W?.UNSTABLE_itemBehavior,id:b}),{hoverProps:kZ}=SY({isDisabled:K||!O,onHoverStart(){if(!Kq())q.selectionManager.setFocused(!0),q.selectionManager.setFocusedKey(_)}}),JZ=HX(h?.props);delete JZ.id;let l=qW(h?.props);return{optionProps:{...j,...CZ(JZ,a,kZ,l),id:b},labelProps:{id:M},descriptionProps:{id:R},isFocused:qZ,isFocusVisible:qZ&&q.selectionManager.isFocused&&Kq(),isSelected:A,isDisabled:K,isPressed:t,allowsSelection:LZ,hasAction:QZ}}var OR=C(()=>{t_();rG();bV();ZH();PY();fO();FO();eG();YJ();M6()});var FR=C(()=>{OR()});var MR=C(()=>{t3()});function wW(Q){let q=NR.version.split(".");if(parseInt(q[0],10)>=19)return Q;return Q?"true":void 0}var NR;var IR=C(()=>{NR=f(ZZ(),1)});var I6=C(()=>{IR()});function rK(Q,q){let z=Q;if(Lq(z,q))z=z.parentElement;while(z&&!Lq(z,q))z=z.parentElement;return z||document.scrollingElement||document.documentElement}var T6=C(()=>{sK()});function w6(Q,q){let{collection:z,onLoadMore:_,scrollOffset:W=1}=Q,K=TR.useRef(null),A=$Y((L)=>{for(let O of L)if(O.isIntersecting&&_)_()});dZ(()=>{if(q.current)K.current=new IntersectionObserver(A,{root:rK(q?.current),rootMargin:`0px ${100*W}% ${100*W}% ${100*W}%`}),K.current.observe(q.current);return()=>{if(K.current)K.current.disconnect()}},[z,q,W])}var TR;var wR=C(()=>{T6();Tz();CY();TR=f(ZZ(),1)});var VR=C(()=>{wR()});var RR=C(()=>{_O()});var jR=C(()=>{WO()});var cX,V6,tK,sy;var CR=C(()=>{qQ();BV();xO();BW();FR();uK();Uq();I6();cK();VR();VJ();RR();Vz();jR();ZW();cX=f(ZZ(),1),V6=cX.createContext(null),tK=Bq(FW,function(q,z,_){let W=JQ(z),K=cX.useContext(V6),{dragAndDropHooks:A,dragState:L,dropState:O}=cX.useContext(KV),I=L&&!(L.isDisabled||L.selectionManager.isDisabled(_.key)),{optionProps:N,labelProps:M,descriptionProps:R,...j}=N6({key:_.key,"aria-label":q?.["aria-label"]},K,W),{hoverProps:h,isHovered:d}=SY({isDisabled:!j.allowsSelection&&!j.hasAction&&!I,onHoverStart:_.props.onHoverStart,onHoverChange:_.props.onHoverChange,onHoverEnd:_.props.onHoverEnd}),{keyboardProps:b}=Iz(q),{focusProps:a}=Nz(q),t=null;if(L&&A)t=A.useDraggableItem({key:_.key,hasAction:j.hasAction},L);let qZ=null;if(O&&A)qZ=A.useDroppableItem({target:{type:"item",key:_.key,dropPosition:"on"}},O,W);let QZ=L&&L.isDragging(_.key),LZ=yX({...q,id:void 0,children:q.children,defaultClassName:"react-aria-ListBoxItem",values:{...j,isHovered:d,selectionMode:K.selectionManager.selectionMode,selectionBehavior:K.selectionManager.selectionBehavior,allowsDragging:!!L,isDragging:QZ,isDropTarget:qZ?.isDropTarget}});cX.useEffect(()=>{if(!_.textValue)console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.")},[_.textValue]);let kZ=q.href?LX.a:LX.div,JZ=HX(q,{global:!0});if(delete JZ.id,delete JZ.onClick,q.href&&N.tabIndex==null)N.tabIndex=-1;return cX.default.createElement(kZ,{...CZ(JZ,LZ,N,h,b,a,t?.dragProps,qZ?.dropProps),ref:W,"data-allows-dragging":!!L||void 0,"data-selected":j.isSelected||void 0,"data-disabled":j.isDisabled||void 0,"data-hovered":d||void 0,"data-focused":j.isFocused||void 0,"data-focus-visible":j.isFocusVisible||void 0,"data-pressed":j.isPressed||void 0,"data-dragging":QZ||void 0,"data-drop-target":qZ?.isDropTarget||void 0,"data-selection-mode":K.selectionManager.selectionMode==="none"?void 0:K.selectionManager.selectionMode},cX.default.createElement(xQ,{values:[[HH,{slots:{[Wz]:M,label:M,description:R}}],[IW,{isSelected:j.isSelected}]]},LZ.children))}),sy=Bq(CO,function(q,z,_){let W=cX.useContext(V6),{isLoading:K,onLoadMore:A,scrollOffset:L,...O}=q,I=cX.useRef(null),N=cX.useMemo(()=>({onLoadMore:A,collection:W?.collection,sentinelRef:I,scrollOffset:L}),[A,L,W?.collection]);w6(N,I);let M=yX({...O,id:void 0,children:_.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:void 0}),R={tabIndex:-1};return cX.default.createElement(cX.default.Fragment,null,cX.default.createElement("div",{style:{position:"relative",width:0,height:0},inert:wW(!0)},cX.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:I,style:{position:"absolute",height:1,width:1}})),K&&M.children&&cX.default.createElement(cX.default.Fragment,null,cX.default.createElement(LX.div,{...CZ(HX(q,{global:!0}),R),...M,role:"option",ref:z},M.children)))})});function PR(Q){return Q.dataset.liveAnnouncer==="true"||Q.dataset.reactAriaTopLayer!==void 0}function DR(Q,q){let z=uX(Q?.[0]),_=q instanceof z.Element?{root:q}:q,W=_?.root??document.body,K=_?.shouldUseInert&&ay,A=new Set(Q),L=new Set,O=(b)=>{return K&&b instanceof z.HTMLElement?b.inert:b.getAttribute("aria-hidden")==="true"},I=(b,a)=>{if(K&&b instanceof z.HTMLElement)b.inert=a;else if(a)b.setAttribute("aria-hidden","true");else if(b.removeAttribute("aria-hidden"),b instanceof z.HTMLElement)b.inert=!1},N=new Set;if(yQ())for(let b of Q){let a=b;while(a&&a!==W){let t=a.getRootNode();if("shadowRoot"in t)N.add(t.shadowRoot);a=t.parentNode}}let M=(b)=>{for(let QZ of b.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))A.add(QZ);let a=(QZ)=>{if(L.has(QZ)||A.has(QZ)||QZ.parentElement&&L.has(QZ.parentElement)&&QZ.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let LZ of A)if(XX(QZ,LZ))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},t=vO(cZ(b),b,NodeFilter.SHOW_ELEMENT,{acceptNode:a}),qZ=a(b);if(qZ===NodeFilter.FILTER_ACCEPT)R(b);if(qZ!==NodeFilter.FILTER_REJECT){let QZ=t.nextNode();while(QZ!=null)R(QZ),QZ=t.nextNode()}},R=(b)=>{let a=eK.get(b)??0;if(O(b)&&a===0)return;if(a===0)I(b,!0);L.add(b),eK.set(b,a+1)};if(HJ.length)HJ[HJ.length-1].disconnect();M(W);let j=new MutationObserver((b)=>{for(let a of b){if(a.type!=="childList")continue;if(a.target.isConnected&&![...A,...L].some((t)=>XX(t,a.target))){for(let t of a.addedNodes)if((t instanceof HTMLElement||t instanceof SVGElement)&&PR(t))A.add(t);else if(t instanceof Element)M(t)}if(yQ()){for(let t of N)if(!t.isConnected){j.disconnect();break}}}});j.observe(W,{childList:!0,subtree:!0});let h=new Set;if(yQ())for(let b of N){let a=new MutationObserver((t)=>{for(let qZ of t){if(qZ.type!=="childList")continue;if(qZ.target.isConnected&&![...A,...L].some((QZ)=>XX(QZ,qZ.target))){for(let QZ of qZ.addedNodes)if((QZ instanceof HTMLElement||QZ instanceof SVGElement)&&PR(QZ))A.add(QZ);else if(QZ instanceof Element)M(QZ)}if(yQ()){for(let QZ of N)if(!QZ.isConnected){j.disconnect();break}}}});a.observe(b,{childList:!0,subtree:!0}),h.add(a)}let d={visibleNodes:A,hiddenNodes:L,observe(){j.observe(W,{childList:!0,subtree:!0})},disconnect(){j.disconnect()}};return HJ.push(d),()=>{if(j.disconnect(),yQ())for(let b of h)b.disconnect();for(let b of L){let a=eK.get(b);if(a==null)continue;if(a===1)I(b,!1),eK.delete(b);else eK.set(b,a-1)}if(d===HJ[HJ.length-1]){if(HJ.pop(),HJ.length)HJ[HJ.length-1].observe()}else HJ.splice(HJ.indexOf(d),1)}}var ay,eK,HJ;var $R=C(()=>{_6();DY();dX();oA();ay=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;eK=new WeakMap,HJ=[]});function ER(Q){let{ref:q,onInteractOutside:z,isDisabled:_,onInteractOutsideStart:W}=Q,K=uO.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),A=$Y((O)=>{if(z&&SR(O,q)){if(W)W(O);K.current.isPointerDown=!0}}),L=$Y((O)=>{if(z)z(O)});uO.useEffect(()=>{let O=K.current;if(_)return;let I=q.current,N=cZ(I);if(typeof PointerEvent<"u"){let M=(R)=>{if(O.isPointerDown&&SR(R,q))L(R);O.isPointerDown=!1};return N.addEventListener("pointerdown",A,!0),N.addEventListener("click",M,!0),()=>{N.removeEventListener("pointerdown",A,!0),N.removeEventListener("click",M,!0)}}},[q,_])}function SR(Q,q){if(Q.button>0)return!1;let z=KZ(Q);if(z){let _=z.ownerDocument;if(!_||!XX(_.documentElement,z))return!1;if(z.closest("[data-react-aria-top-layer]"))return!1}if(!q.current)return!1;return!Q.composedPath().includes(q.current)}var uO;var kR=C(()=>{dX();DY();Tz();uO=f(ZZ(),1)});function xR(Q,q){let{onClose:z,shouldCloseOnBlur:_,isOpen:W,isDismissable:K=!1,isKeyboardDismissDisabled:A=!1,shouldCloseOnInteractOutside:L}=Q,O=dO.useRef(void 0);dO.useEffect(()=>{if(W&&!Aq.includes(q))return Aq.push(q),()=>{let h=Aq.indexOf(q);if(h>=0)Aq.splice(h,1)}},[W,q]);let I=()=>{if(Aq[Aq.length-1]===q&&z)z()},N=(h)=>{let d=Aq[Aq.length-1];if(O.current=d,!L||L(KZ(h))){if(d===q)h.stopPropagation()}},M=(h)=>{if(!L||L(KZ(h))){if(Aq[Aq.length-1]===q)h.stopPropagation();if(O.current===q)I()}O.current=void 0},R=(h)=>{if(h.key==="Escape"&&!A&&!h.nativeEvent.isComposing)h.stopPropagation(),h.preventDefault(),I()};ER({ref:q,onInteractOutside:K&&W?M:void 0,onInteractOutsideStart:N});let{focusWithinProps:j}=WW({isDisabled:!_,onBlurWithin:(h)=>{if(!h.relatedTarget||pV(h.relatedTarget))return;if(!L||L(h.relatedTarget))z?.()}});return{overlayProps:{onKeyDown:R,...j},underlayProps:{}}}var dO,Aq;var yR=C(()=>{dX();iK();AO();kR();dO=f(ZZ(),1),Aq=[]});function bR(Q={}){let{isDisabled:q}=Q;dZ(()=>{if(q)return;if(cO++,cO===1)if(CJ())R6=ry();else R6=oy();return()=>{if(cO--,cO===0)R6()}},[q])}function oy(){let Q=window.innerWidth-document.documentElement.clientWidth;return wJ(Q>0&&("scrollbarGutter"in document.documentElement.style?pO(document.documentElement,"scrollbarGutter","stable"):pO(document.documentElement,"paddingRight",`${Q}px`)),pO(document.documentElement,"overflow","hidden"))}function ry(){let Q=pO(document.documentElement,"overflow","hidden"),q,z=!1,_=(N)=>{let M=KZ(N);q=Lq(M)?M:rK(M,!0),z=!1;let R=M.ownerDocument.defaultView.getSelection();if(R&&!R.isCollapsed&&R.containsNode(M,!0))z=!0;if(N.composedPath().some((j)=>j instanceof HTMLInputElement&&j.type==="range"))z=!0;if("selectionStart"in M&&"selectionEnd"in M&&M.selectionStart<M.selectionEnd&&M.ownerDocument.activeElement===M)z=!0},W=document.createElement("style"),K=LO();if(K)W.nonce=K;W.textContent=`
241
+ `.trim(),v.head.prepend(m)},[R]),qY.useEffect(()=>{let v=b.current;return()=>{if(!M)$3(v.target??void 0);for(let m of v.disposables)m();v.disposables=[]}},[M]),{isPressed:O||h,pressProps:CZ(j,zZ,{[kw]:!0})}}function y3(Q){return Q.tagName==="A"&&Q.hasAttribute("href")}function x3(Q,q){let{key:H,code:_}=Q,W=q,K=W.getAttribute("role");return(H==="Enter"||H===" "||H==="Spacebar"||_==="Space")&&!(W instanceof uX(W).HTMLInputElement&&!yw(W,H)||W instanceof uX(W).HTMLTextAreaElement||W.isContentEditable)&&!((K==="link"||!K&&y3(W))&&H!=="Enter")}function wH(Q,q){let{clientX:H,clientY:_}=q;return{currentTarget:Q,shiftKey:q.shiftKey,ctrlKey:q.ctrlKey,metaKey:q.metaKey,altKey:q.altKey,clientX:H,clientY:_,key:q.key}}function Zy(Q){if(Q instanceof HTMLInputElement)return!1;if(Q instanceof HTMLButtonElement)return Q.type!=="submit"&&Q.type!=="reset";if(y3(Q))return!1;return!0}function xw(Q,q){if(Q instanceof HTMLInputElement)return!yw(Q,q);return Zy(Q)}function yw(Q,q){return Q.type==="checkbox"||Q.type==="radio"?q===" ":Xy.has(Q.type)}var tx,qY,Sw,Ew="react-aria-pressable-style",kw="data-react-aria-pressable",Xy;var hK=C(()=>{t_();PK();Pw();LH();dX();E3();$Y();QJ();M3();DY();eG();k3();TH();yK();P3();tx=f(lq(),1),qY=f(ZZ(),1);Sw=Symbol("linkClicked");Xy=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"])});function v3(Q,q){let{elementType:H="button",isDisabled:_,onPress:W,onPressStart:K,onPressEnd:A,onPressUp:L,onPressChange:O,preventFocusOnPress:I,allowFocusWhenDisabled:N,onClick:M,href:R,target:j,rel:h,type:d="button"}=Q,b;if(H==="button")b={type:d,disabled:_,form:Q.form,formAction:Q.formAction,formEncType:Q.formEncType,formMethod:Q.formMethod,formNoValidate:Q.formNoValidate,formTarget:Q.formTarget,name:Q.name,value:Q.value};else b={role:"button",href:H==="a"&&!_?R:void 0,target:H==="a"?j:void 0,type:H==="input"?d:void 0,disabled:H==="input"?_:void 0,"aria-disabled":!_||H==="input"?void 0:_,rel:H==="a"?h:void 0};let{pressProps:a,isPressed:t}=qz({onPressStart:K,onPressEnd:A,onPressChange:O,onPress:W,onPressUp:L,onClick:M,isDisabled:_,preventFocusOnPress:I,ref:q}),{focusableProps:qZ}=Yz(Q,q);if(N)qZ.tabIndex=_?-1:qZ.tabIndex;let QZ=CZ(qZ,a,zX(Q,{labelable:!0}));return{isPressed:t,buttonProps:CZ(b,QZ,{"aria-haspopup":Q["aria-haspopup"],"aria-expanded":Q["aria-expanded"],"aria-controls":Q["aria-controls"],"aria-pressed":Q["aria-pressed"],"aria-current":Q["aria-current"],"aria-disabled":Q["aria-disabled"]})}}var vw=C(()=>{rG();DY();zW();hK()});var hw=C(()=>{vw()});function WW(Q){let{isDisabled:q,onBlurWithin:H,onFocusWithin:_,onFocusWithinChange:W}=Q,K=bK.useRef({isFocusWithin:!1}),{addGlobalListener:A,removeAllGlobalListeners:L}=Jz(),O=bK.useCallback((M)=>{if(!XX(M.currentTarget,KZ(M)))return;if(K.current.isFocusWithin&&!XX(M.currentTarget,M.relatedTarget)){if(K.current.isFocusWithin=!1,L(),H)H(M);if(W)W(!1)}},[H,W,K,L]),I=QO(O),N=bK.useCallback((M)=>{if(!XX(M.currentTarget,KZ(M)))return;let R=KZ(M),j=cZ(R),h=KX(j);if(!K.current.isFocusWithin&&h===R){if(_)_(M);if(W)W(!0);K.current.isFocusWithin=!0,I(M);let d=M.currentTarget;A(j,"focus",(b)=>{let a=KZ(b);if(K.current.isFocusWithin&&!XX(d,a)){let t=new j.defaultView.FocusEvent("blur",{relatedTarget:a});YO(t,d);let qZ=CK(t);O(qZ)}},{capture:!0})}},[_,W,I,A,O]);if(q)return{focusWithinProps:{onFocus:void 0,onBlur:void 0}};return{focusWithinProps:{onFocus:N,onBlur:O}}}var bK;var AO=C(()=>{PK();dX();$Y();yK();bK=f(ZZ(),1)});function vQ(Q={}){let{autoFocus:q=!1,isTextInput:H,within:_}=Q,W=Gz.useRef({isFocused:!1,isFocusVisible:q||Kq()}),[K,A]=Gz.useState(!1),[L,O]=Gz.useState(()=>W.current.isFocused&&W.current.isFocusVisible),I=Gz.useCallback(()=>O(W.current.isFocused&&W.current.isFocusVisible),[]),N=Gz.useCallback((j)=>{W.current.isFocused=j,W.current.isFocusVisible=Kq(),A(j),I()},[I]);Vw((j)=>{W.current.isFocusVisible=j,I()},[H,K],{enabled:K,isTextInput:H});let{focusProps:M}=NH({isDisabled:_,onFocusChange:N}),{focusWithinProps:R}=WW({isDisabled:!_,onFocusWithinChange:N});return{isFocused:K,isFocusVisible:L,focusProps:_?R:M}}var Gz;var bw=C(()=>{Zz();_O();AO();Gz=f(ZZ(),1)});var UW=C(()=>{bw()});function Yy(){h3=!0,setTimeout(()=>{h3=!1},500)}function gw(Q){if(Q.pointerType==="touch")Yy()}function Qy(){let Q=cZ(null);if(typeof Q>"u")return;if(OO===0){if(typeof PointerEvent<"u")Q.addEventListener("pointerup",gw)}return OO++,()=>{if(OO--,OO>0)return;if(typeof PointerEvent<"u")Q.removeEventListener("pointerup",gw)}}function EY(Q){let{onHoverStart:q,onHoverChange:H,onHoverEnd:_,isDisabled:W}=Q,[K,A]=tq.useState(!1),L=tq.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;tq.useEffect(Qy,[]);let{addGlobalListener:O,removeAllGlobalListeners:I}=Jz(),{hoverProps:N,triggerHoverEnd:M}=tq.useMemo(()=>{let R=(d,b)=>{if(L.pointerType=b,W||b==="touch"||L.isHovered||!XX(d.currentTarget,KZ(d)))return;L.isHovered=!0;let a=d.currentTarget;if(L.target=a,O(cZ(KZ(d)),"pointerover",(t)=>{if(L.isHovered&&L.target&&!XX(L.target,KZ(t)))j(t,t.pointerType)},{capture:!0}),q)q({type:"hoverstart",target:a,pointerType:b});if(H)H(!0);A(!0)},j=(d,b)=>{let a=L.target;if(L.pointerType="",L.target=null,b==="touch"||!L.isHovered||!a)return;if(L.isHovered=!1,I(),_)_({type:"hoverend",target:a,pointerType:b});if(H)H(!1);A(!1)},h={};if(typeof PointerEvent<"u")h.onPointerEnter=(d)=>{if(h3&&d.pointerType==="mouse")return;R(d,d.pointerType)},h.onPointerLeave=(d)=>{if(!W&&XX(d.currentTarget,KZ(d)))j(d,d.pointerType)};return{hoverProps:h,triggerHoverEnd:j}},[q,H,_,W,L,O,I]);return tq.useEffect(()=>{if(W)M({currentTarget:L.target},L.pointerType)},[W]),{hoverProps:N,isHovered:K}}var tq,h3=!1,OO=0;var FO=C(()=>{dX();$Y();yK();tq=f(ZZ(),1)});var VH=C(()=>{FO()});var b3=C(()=>{YJ()});function qy(Q,q){if(q){for(let H in Q)if(H.startsWith("on")&&!Jy.test(H))Q[H]=void 0;Q.href=void 0,Q.target=void 0}return Q}var eq,gK,RH,Jy;var g3=C(()=>{qQ();qw();Hw();hw();XW();Uq();VJ();UW();VH();b3();eq=f(ZZ(),1),gK=eq.createContext({}),RH=RJ(function(q,H){[q,H]=fX(q,H,gK);let _=q,{isPending:W}=_,{buttonProps:K,isPressed:A}=v3(q,H);K=qy(K,W);let{focusProps:L,isFocused:O,isFocusVisible:I}=vQ(q),{hoverProps:N,isHovered:M}=EY({...q,isDisabled:q.isDisabled||W}),R={isHovered:M,isPressed:(_.isPressed||A)&&!W,isFocused:O,isFocusVisible:I,isDisabled:q.isDisabled||!1,isPending:W??!1},j=yX({...q,values:R,defaultClassName:"react-aria-Button"}),h=aX(K.id),d=aX(),b=K["aria-labelledby"];if(W){if(b)b=`${b} ${d}`;else if(K["aria-label"])b=`${h} ${d}`}let a=eq.useRef(W);eq.useEffect(()=>{let qZ={"aria-labelledby":b||h};if(!a.current&&O&&W)sA(qZ,"assertive");else if(a.current&&O&&!W)sA(qZ,"assertive");a.current=W},[W,O,b,h]);let t=zX(q,{global:!0});return delete t.onClick,eq.default.createElement(LX.button,{...CZ(t,j,K,L,N),type:K.type==="submit"&&W?"button":K.type,id:h,ref:H,"aria-labelledby":b,slot:q.slot||void 0,"aria-disabled":W?"true":K["aria-disabled"],"data-disabled":q.isDisabled||void 0,"data-pressed":R.isPressed||void 0,"data-hovered":M||void 0,"data-focused":O||void 0,"data-pending":W||void 0,"data-focus-visible":I||void 0},eq.default.createElement(Jw.Provider,{value:{id:d}},j.children))}),Jy=/Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/});var KW,zz,ZG;var BW=C(()=>{qQ();KW=f(ZZ(),1),zz=KW.createContext({}),ZG=KW.forwardRef(function(q,H){[q,H]=fX(q,H,zz);let{elementType:_="span",...W}=q,K=LX[_];return KW.default.createElement(K,{className:"react-aria-Text",...W,ref:H})})});var PJ,mK,LW,Gy;var m3=C(()=>{qQ();BW();Uq();PJ=f(ZZ(),1),mK=PJ.createContext(null),LW=PJ.forwardRef(function(q,H){if(!PJ.useContext(mK)?.isInvalid)return null;return PJ.default.createElement(Gy,{...q,ref:H})}),Gy=PJ.forwardRef((Q,q)=>{let H=PJ.useContext(mK),{elementType:_,...W}=Q,K=zX(W,{global:!0}),A=yX({...W,defaultClassName:"react-aria-FieldError",defaultChildren:H.validationErrors.length===0?void 0:H.validationErrors.join(" "),values:H});if(A.children==null)return null;return PJ.default.createElement(ZG,{slot:"errorMessage",elementType:_,...K,...A,ref:q})})});function p3(Q){if(Q[u3]){let{realtimeValidation:q,displayValidation:H,updateValidation:_,resetValidation:W,commitValidation:K}=Q[u3];return{realtimeValidation:q,displayValidation:H,updateValidation:_,resetValidation:W,commitValidation:K}}return zy(Q)}function zy(Q){let{isInvalid:q,validationState:H,name:_,value:W,builtinValidation:K,validate:A,validationBehavior:L="aria"}=Q;if(H)q||=H==="invalid";let O=q!==void 0?{isInvalid:q,validationErrors:[],validationDetails:fw}:null,I=IY.useMemo(()=>{if(!A||W==null)return null;let n=Hy(A,W);return mw(n)},[A,W]);if(K?.validationDetails.valid)K=void 0;let N=IY.useContext(uw),M=IY.useMemo(()=>{if(_)return Array.isArray(_)?_.flatMap((n)=>d3(N[n])):d3(N[_]);return[]},[N,_]),[R,j]=IY.useState(N),[h,d]=IY.useState(!1);if(N!==R)j(N),d(!1);let b=IY.useMemo(()=>mw(h?[]:M),[h,M]),a=IY.useRef(AW),[t,qZ]=IY.useState(AW),QZ=IY.useRef(AW),LZ=()=>{if(!kZ)return;JZ(!1);let n=I||K||a.current;if(!f3(n,QZ.current))QZ.current=n,qZ(n)},[kZ,JZ]=IY.useState(!1);return IY.useEffect(LZ),{realtimeValidation:O||b||I||K||AW,displayValidation:L==="native"?O||b||t:O||b||I||K||t,updateValidation(n){if(L==="aria"&&!f3(t,n))qZ(n);else a.current=n},resetValidation(){let n=AW;if(!f3(n,QZ.current))QZ.current=n,qZ(n);if(L==="native")JZ(!1);d(!0)},commitValidation(){if(L==="native")JZ(!0);d(!0)}}}function d3(Q){if(!Q)return[];return Array.isArray(Q)?Q:[Q]}function Hy(Q,q){if(typeof Q==="function"){let H=Q(q);if(H&&typeof H!=="boolean")return d3(H)}return[]}function mw(Q){return Q.length?{isInvalid:!0,validationErrors:Q,validationDetails:fw}:null}function f3(Q,q){if(Q===q)return!0;return!!Q&&!!q&&Q.isInvalid===q.isInvalid&&Q.validationErrors.length===q.validationErrors.length&&Q.validationErrors.every((H,_)=>H===q.validationErrors[_])&&Object.entries(Q.validationDetails).every(([H,_])=>q.validationDetails[H]===_)}var IY,c3,fw,AW,uw,u3="__reactAriaFormValidationState";var dw=C(()=>{IY=f(ZZ(),1),c3={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},fw={...c3,customError:!0,valid:!1},AW={isInvalid:!1,validationDetails:c3,validationErrors:[]},uw=IY.createContext({})});var cw=C(()=>{dw()});var MO,pw;var lw=C(()=>{MO=f(ZZ(),1),pw=MO.createContext(null)});function iw(Q){let{description:q,errorMessage:H,isInvalid:_,validationState:W}=Q,{labelProps:K,fieldProps:A}=a2(Q),L=_q([Boolean(q),Boolean(H),_,W]),O=_q([Boolean(q),Boolean(H),_,W]);return A=CZ(A,{"aria-describedby":[L,O,Q["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:K,fieldProps:A,descriptionProps:{id:L},errorMessageProps:{id:O}}}var nw=C(()=>{o2();DY();YJ()});function aw(Q,q,H){let _=SY((W)=>{if(H&&!W.defaultPrevented)H(q)});sw.useEffect(()=>{let W=Q?.current?.form;return W?.addEventListener("reset",_),()=>{W?.removeEventListener("reset",_)}},[Q])}var sw;var ow=C(()=>{TH();sw=f(ZZ(),1)});function rw(Q,q,H){let{validationBehavior:_,focus:W}=Q;dZ(()=>{if(_==="native"&&H?.current&&!H.current.disabled){let I=q.realtimeValidation.isInvalid?q.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";if(H.current.setCustomValidity(I),!H.current.hasAttribute("title"))H.current.title="";if(!q.realtimeValidation.isInvalid)q.updateValidation(Wy(H.current))}});let K=NO.useRef(!1),A=SY(()=>{if(!K.current)q.resetValidation()}),L=SY((I)=>{if(!q.displayValidation.isInvalid)q.commitValidation();let N=H?.current?.form;if(!I.defaultPrevented&&H&&N&&Uy(N)===H.current){if(W)W();else H.current?.focus();EK("keyboard")}I.preventDefault()}),O=SY(()=>{q.commitValidation()});NO.useEffect(()=>{let I=H?.current;if(!I)return;let N=I.form,M=N?.reset;if(N)N.reset=()=>{K.current=!window.event||window.event.type==="message"&&KZ(window.event)instanceof MessagePort,M?.call(N),K.current=!1};return I.addEventListener("invalid",L),I.addEventListener("change",O),N?.addEventListener("reset",A),()=>{if(I.removeEventListener("invalid",L),I.removeEventListener("change",O),N?.removeEventListener("reset",A),N)N.reset=M}},[H,_])}function _y(Q){let q=Q.validity;return{badInput:q.badInput,customError:q.customError,patternMismatch:q.patternMismatch,rangeOverflow:q.rangeOverflow,rangeUnderflow:q.rangeUnderflow,stepMismatch:q.stepMismatch,tooLong:q.tooLong,tooShort:q.tooShort,typeMismatch:q.typeMismatch,valueMissing:q.valueMissing,valid:q.valid}}function Wy(Q){return{isInvalid:!Q.validity.valid,validationDetails:_y(Q),validationErrors:Q.validationMessage?[Q.validationMessage]:[]}}function Uy(Q){for(let q=0;q<Q.elements.length;q++){let H=Q.elements[q];if(H.validity?.valid===!1)return H}return null}var NO;var tw=C(()=>{dX();Zz();TH();PY();NO=f(ZZ(),1)});function jH(Q,q,H){let[_,W]=GQ.useState(Q||q),K=GQ.useRef(_),A=GQ.useRef(Q!==void 0),L=Q!==void 0;GQ.useEffect(()=>{let M=A.current;if(M!==L)console.warn(`WARN: A component changed from ${M?"controlled":"uncontrolled"} to ${L?"controlled":"uncontrolled"}.`);A.current=L},[L]);let O=L?Q:_;Ky(()=>{K.current=O});let[,I]=GQ.useReducer(()=>({}),{}),N=GQ.useCallback((M,...R)=>{let j=typeof M==="function"?M(K.current):M;if(!Object.is(K.current,j))K.current=j,W(j),I(),H?.(j,...R)},[H]);return[O,N]}var GQ,Ky;var IO=C(()=>{GQ=f(ZZ(),1),Ky=typeof document<"u"?GQ.default.useInsertionEffect??GQ.default.useLayoutEffect:()=>{}});function By(Q={}){let{style:q,isFocusable:H}=Q,[_,W]=OW.useState(!1),{focusWithinProps:K}=WW({isDisabled:!H,onFocusWithinChange:(L)=>W(L)}),A=OW.useMemo(()=>{if(_)return q;else if(q)return{...ew,...q};else return ew},[_]);return{visuallyHiddenProps:{...K,style:A}}}function ZV(Q){let{children:q,elementType:H="div",isFocusable:_,style:W,...K}=Q,{visuallyHiddenProps:A}=By(Q);return OW.default.createElement(H,CZ(K,A),q)}var OW,ew;var XV=C(()=>{DY();AO();OW=f(ZZ(),1),ew={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}});var TO,YV;var QV=C(()=>{TO=f(ZZ(),1),YV=TO.createContext({})});var wO,VO,Ly=(Q)=>{let{onHoverStart:q,onHoverChange:H,onHoverEnd:_,...W}=Q;return W},RO;var l3=C(()=>{qQ();XW();VJ();UW();VH();wO=f(ZZ(),1),VO=wO.createContext({}),RO=RJ(function(q,H){[q,H]=fX(q,H,VO);let{hoverProps:_,isHovered:W}=EY({...q,isDisabled:q.disabled}),{isFocused:K,isFocusVisible:A,focusProps:L}=vQ({isTextInput:!0,autoFocus:q.autoFocus}),O=!!q["aria-invalid"]&&q["aria-invalid"]!=="false",I=yX({...q,values:{isHovered:W,isFocused:K,isFocusVisible:A,isDisabled:q.disabled||!1,isInvalid:O},defaultClassName:"react-aria-Input"});return wO.default.createElement(LX.input,{...CZ(Ly(q),L,_),...I,ref:H,"data-focused":K||void 0,"data-disabled":q.disabled||void 0,"data-hovered":W||void 0,"data-focus-visible":A||void 0,"data-invalid":O||void 0})})});class hQ{constructor(Q){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=Q}get childNodes(){throw Error("childNodes is not supported")}clone(){let Q=new this.constructor(this.key);return Q.value=this.value,Q.level=this.level,Q.hasChildNodes=this.hasChildNodes,Q.rendered=this.rendered,Q.textValue=this.textValue,Q["aria-label"]=this["aria-label"],Q.index=this.index,Q.parentKey=this.parentKey,Q.prevKey=this.prevKey,Q.nextKey=this.nextKey,Q.firstChildKey=this.firstChildKey,Q.lastChildKey=this.lastChildKey,Q.props=this.props,Q.render=this.render,Q.colSpan=this.colSpan,Q.colIndex=this.colIndex,Q}filter(Q,q,H){let _=this.clone();return q.addDescendants(_,Q),_}}function Ay(Q,q,H,_){if(H==null)return[null,null];let W=null,K=null,A=Q.getItem(H);while(A!=null){let L=A.filter(Q,q,_);if(L!=null){if(L.nextKey=null,K)L.prevKey=K.key,K.nextKey=L.key;if(W==null)W=L;q.addNode(L),K=L}A=A.nextKey!=null?Q.getItem(A.nextKey):null}if(K&&K.type==="separator"){let L=K.prevKey;if(q.removeNode(K.key),L!=null)K=q.getItem(L),K.nextKey=null;else K=null}return[W?.key??null,K?.key??null]}var jO,JV,CO,FW,PO;var i3=C(()=>{jO=class jO extends hQ{filter(Q,q,H){let[_,W]=Ay(Q,q,this.firstChildKey,H),K=this.clone();return K.firstChildKey=_,K.lastChildKey=W,K}};JV=class JV extends hQ{static{this.type="header"}};CO=class CO extends hQ{static{this.type="loader"}};FW=class FW extends jO{static{this.type="item"}filter(Q,q,H){if(H(this.textValue,this)){let _=this.clone();return q.addDescendants(_,Q),_}return null}};PO=class PO extends jO{static{this.type="section"}filter(Q,q,H){let _=super.filter(Q,q,H);if(_){if(_.lastChildKey!==null){let W=Q.getItem(_.lastChildKey);if(W&&W.type!=="header")return _}}return null}}});function fK(Q){let{children:q,items:H,idScope:_,addIdAndValue:W,dependencies:K=[]}=Q,A=MW.useMemo(()=>typeof q==="function"?q.toString():void 0,[q]),L=MW.useMemo(()=>new WeakMap,[...K,A]);return MW.useMemo(()=>{if(H&&typeof q==="function"){let O=[];for(let I of H){let N=Oy(I)?I:null,M=N?L.get(N):null;if(!M){M=q(I);let R=M.props.id??I?.key??I?.id;if(_!=null&&M.props.id==null&&R!=null)R=_+":"+R;let j=R??O.length;if(M=MW.cloneElement(M,W?{key:j,id:R,value:I}:{key:j}),N)L.set(N,M)}O.push(M)}return O}else if(typeof q!=="function")return q},[q,H,L,_,W])}function Oy(Q){switch(typeof Q){case"object":return Q!=null;case"function":case"symbol":return!0;default:return!1}}var MW;var n3=C(()=>{MW=f(ZZ(),1)});var s3=pq((Fy)=>{var bQ=f(ZZ());(function(){function Q(R,j){return R===j&&(R!==0||1/R===1/j)||R!==R&&j!==j}function q(R,j){I||bQ.startTransition===void 0||(I=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var h=j();if(!N){var d=j();W(h,d)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),N=!0)}d=K({inst:{value:h,getSnapshot:j}});var b=d[0].inst,a=d[1];return L(function(){b.value=h,b.getSnapshot=j,H(b)&&a({inst:b})},[R,h,j]),A(function(){return H(b)&&a({inst:b}),R(function(){H(b)&&a({inst:b})})},[R]),O(h),h}function H(R){var j=R.getSnapshot;R=R.value;try{var h=j();return!W(R,h)}catch(d){return!0}}function _(R,j){return j()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var W=typeof Object.is==="function"?Object.is:Q,K=bQ.useState,A=bQ.useEffect,L=bQ.useLayoutEffect,O=bQ.useDebugValue,I=!1,N=!1,M=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?_:q;Fy.useSyncExternalStore=bQ.useSyncExternalStore!==void 0?bQ.useSyncExternalStore:M,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});function Ny(Q,q,H){let _=sY(),W=_X.useRef(_);W.current=_;let K=_X.useCallback(()=>{return W.current?H():q()},[q,H]);return zV.useSyncExternalStore(Q,K)}function Iy(Q){return class extends hQ{static{this.type=Q}}}function Ty(Q,q,H,_,W,K){if(typeof Q==="string")Q=Iy(Q);let A=_X.useCallback((O)=>{O?.setProps(q,H,Q,_,K)},[q,H,_,K,Q]),L=_X.useContext(o3);if(L){let O=L.ownerDocument.nodesByProps.get(q);if(!O)O=L.ownerDocument.createElement(Q.type),O.setProps(q,H,Q,_,K),L.appendChild(O),L.ownerDocument.updateCollection(),L.ownerDocument.nodesByProps.set(q,O);return W?_X.default.createElement(o3.Provider,{value:O},W):null}return _X.default.createElement(Q.type,{ref:A},W)}function Bq(Q,q){let H=({node:W})=>q(W.props,W.props.ref,W),_=_X.forwardRef((W,K)=>{let A=_X.useContext(KO);if(!_X.useContext(HV)){if(q.length>=3)throw Error(q.name+" cannot be rendered outside a collection.");return q(W,K)}return Ty(Q,W,K,"children"in W?W.children:null,null,(O)=>_X.default.createElement(KO.Provider,{value:A},_X.default.createElement(H,{node:O})))});return _.displayName=q.name,_}function wy(Q){return fK({...Q,addIdAndValue:!0})}function r3(Q){let q=_X.useContext(qV),H=(q?.dependencies||[]).concat(Q.dependencies),_=Q.idScope??q?.idScope,W=wy({...Q,idScope:_,dependencies:H});if(_X.useContext(a3))W=_X.default.createElement(Vy,null,W);return q=_X.useMemo(()=>({dependencies:H,idScope:_}),[_,...H]),_X.default.createElement(qV.Provider,{value:q},W)}function Vy({children:Q}){let q=_X.useContext(a3),H=_X.useMemo(()=>_X.default.createElement(a3.Provider,{value:null},_X.default.createElement(HV.Provider,{value:!0},Q)),[Q]);return sY()?_X.default.createElement(o3.Provider,{value:q},H):GV.createPortal(H,q)}var GV,_X,zV,HV,a3,Qc,o3,qV;var t3=C(()=>{i3();n3();zW();aG();GV=f(lq(),1),_X=f(ZZ(),1),zV=f(s3(),1),HV=_X.createContext(!1),a3=_X.createContext(null);Qc=typeof _X.default.useSyncExternalStore==="function"?_X.default.useSyncExternalStore:Ny,o3=_X.createContext(null);qV=_X.createContext(null)});var uK=C(()=>{t3()});var WV=C(()=>{n3()});function UV(Q,q,H){return fK({items:q?Q.getChildren(q.key):Q,dependencies:[H],children(_){if(_.type==="content")return zQ.default.createElement(zQ.default.Fragment,null);let W=_.render(_);if(!H||_.type!=="item")return W;return zQ.default.createElement(zQ.default.Fragment,null,H({type:"item",key:_.key,dropPosition:"before"}),W,Ry(Q,_,H))}})}function Ry(Q,q,H){let _=q.key,W=Q.getKeyAfter(_),K=W!=null?Q.getItem(W):null;while(K!=null&&K.type!=="item")W=Q.getKeyAfter(K.key),K=W!=null?Q.getItem(W):null;let A=q.nextKey!=null?Q.getItem(q.nextKey):null;while(A!=null&&A.type!=="item")A=A.nextKey!=null?Q.getItem(A.nextKey):null;let L=[];if(A==null){let O=q;while(O?.type==="item"&&(!K||O.parentKey!==K.parentKey&&K.level<O.level)){let I=H({type:"item",key:O.key,dropPosition:"after"});if(zQ.isValidElement(I))L.push(zQ.cloneElement(I,{key:`${O.key}-after`}));O=O.parentKey!=null?Q.getItem(O.parentKey):null}}return L}function X6(Q){return zQ.useMemo(()=>Q!=null?new Set([Q]):null,[Q])}var zQ,Z6,dK;var Y6=C(()=>{WV();zQ=f(ZZ(),1),Z6={CollectionRoot({collection:Q,renderDropIndicator:q}){return UV(Q,null,q)},CollectionBranch({collection:Q,parent:q,renderDropIndicator:H}){return UV(Q,q,H)}};dK=zQ.createContext(Z6)});var CH,KV;var BV=C(()=>{CH=f(ZZ(),1),KV=CH.createContext({})});var cK=C(()=>{i3()});var LV="react-aria-clear-focus",AV="react-aria-focus";var OV=()=>{};function DO(Q){let q=Cy(cZ(Q));if(q!==Q){if(q)jy(q,Q);if(Q)Q6(Q,q)}}function jy(Q,q){Q.dispatchEvent(new FocusEvent("blur",{relatedTarget:q})),Q.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:q}))}function Q6(Q,q){Q.dispatchEvent(new FocusEvent("focus",{relatedTarget:q})),Q.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:q}))}function Cy(Q){let q=KX(Q),H=q?.getAttribute("aria-activedescendant");if(H)return Q.getElementById(H)||q;return q}var J6=C(()=>{dX();$Y()});function Hz(Q){if(jJ())return Q.metaKey;return Q.ctrlKey}function PH(Q){return Q instanceof HTMLInputElement&&!Py.has(Q.type)||Q instanceof HTMLTextAreaElement||Q instanceof HTMLElement&&Q.isContentEditable}var Py;var pK=C(()=>{QJ();Py=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"])});function DH(Q,q,H,_){let W=SY(H),K=H==null;FV.useEffect(()=>{if(K||!Q.current)return;let A=Q.current;return A.addEventListener(q,W,_),()=>{A.removeEventListener(q,W,_)}},[Q,q,_,K])}var FV;var q6=C(()=>{TH();FV=f(ZZ(),1)});class NW{constructor(Q,q="en-US"){this.strings=Object.fromEntries(Object.entries(Q).filter(([,H])=>H)),this.defaultLocale=q}getStringForLocale(Q,q){let _=this.getStringsForLocale(q)[Q];if(!_)throw Error(`Could not find intl message ${Q} in ${q} locale`);return _}getStringsForLocale(Q){let q=this.strings[Q];if(!q)q=Sy(Q,this.strings,this.defaultLocale),this.strings[Q]=q;return q}static getGlobalDictionaryForPackage(Q){if(typeof window>"u")return null;let q=window[Dy];if($O===void 0){let _=window[$y];if(!_)return null;$O={};for(let W in _)$O[W]=new NW({[q]:_[W]},q)}let H=$O?.[Q];if(!H)throw Error(`Strings for package "${Q}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return H}}function Sy(Q,q,H="en-US"){if(q[Q])return q[Q];let _=Ey(Q);if(q[_])return q[_];for(let W in q)if(W.startsWith(_+"-"))return q[W];return q[H]}function Ey(Q){if(Intl.Locale)return new Intl.Locale(Q).language;return Q.split("-")[0]}var Dy,$y,$O=void 0;var MV=C(()=>{Dy=Symbol.for("react-aria.i18n.locale"),$y=Symbol.for("react-aria.i18n.strings")});class SO{constructor(Q,q){this.locale=Q,this.strings=q}format(Q,q){let H=this.strings.getStringForLocale(Q,this.locale);return typeof H==="function"?H(q,this):H}plural(Q,q,H="cardinal"){let _=q["="+Q];if(_)return typeof _==="function"?_():_;let W=this.locale+":"+H,K=NV.get(W);if(!K)K=new Intl.PluralRules(this.locale,{type:H}),NV.set(W,K);let A=K.select(Q);return _=q[A]||q.other,typeof _==="function"?_():_}number(Q){let q=IV.get(this.locale);if(!q)q=new Intl.NumberFormat(this.locale),IV.set(this.locale,q);return q.format(Q)}select(Q,q){let H=Q[q]||Q.other;return typeof H==="function"?H():H}}var NV,IV;var TV=C(()=>{NV=new Map,IV=new Map});var wV=C(()=>{MV();TV()});function ky(Q){let q=VV.get(Q);if(!q)q=new NW(Q),VV.set(Q,q);return q}function xy(Q,q){return q&&NW.getGlobalDictionaryForPackage(q)||ky(Q)}function jV(Q,q){let{locale:H}=YW(),_=xy(Q,q);return RV.useMemo(()=>new SO(H,_),[H,_])}var RV,VV;var CV=C(()=>{iA();wV();RV=f(ZZ(),1),VV=new WeakMap});var EO,PV;var DV=C(()=>{EO=f(ZZ(),1),PV=EO.createContext(null)});function $V(Q){let q=XG.useRef({});return XG.default.createElement(vy.Provider,{value:q},Q.children)}var yy,XG,vy;var SV=C(()=>{yy=f(lq(),1),XG=f(ZZ(),1),vy=XG.createContext(null)});var kO,IW;var xO=C(()=>{kO=f(ZZ(),1),IW=kO.createContext({isSelected:!1})});function G6(Q){let q=zX(Q,{labelable:!0}),H;if(Q.orientation==="vertical")H="vertical";if(Q.elementType!=="hr")return{separatorProps:{...q,role:"separator","aria-orientation":H}};return{separatorProps:q}}var EV=C(()=>{rG()});var kV=C(()=>{EV()});var yO,xV,yV,z6;var vV=C(()=>{qQ();kV();cK();uK();Uq();VJ();yO=f(ZZ(),1),xV=yO.createContext({});yV=class yV extends hQ{static{this.type="separator"}filter(Q,q){let H=q.getItem(this.prevKey);if(H&&H.type!=="separator"){let _=this.clone();return q.addDescendants(_,Q),_}return null}};z6=Bq(yV,function(q,H){[q,H]=fX(q,H,xV);let{elementType:_,orientation:W,style:K,className:A,slot:L,...O}=q,I=_||"hr";if(I==="hr"&&W==="vertical")I="div";let N=LX[I],{separatorProps:M}=G6({...O,elementType:_,orientation:W}),R=zX(q,{global:!0});return yO.default.createElement(N,{render:q.render,...CZ(R,M),style:K,className:A??"react-aria-Separator",ref:H,slot:L||void 0})})});function hy(Q){if(typeof Q==="string")return Q.replace(/\s*/g,"");return""+Q}function hV(Q,q){let H=H6.get(Q);if(!H)throw Error("Unknown list");return`${H.id}-option-${hy(q)}`}var H6;var bV=C(()=>{H6=new WeakMap});class gV{constructor(Q,q,H,_){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=(K)=>{if(K.nodeType===Node.ELEMENT_NODE){let A=K.shadowRoot;if(A){let L=this._doc.createTreeWalker(A,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(L),NodeFilter.FILTER_ACCEPT}else if(typeof this.filter==="function")return this.filter(K);else if(this.filter?.acceptNode)return this.filter.acceptNode(K);else if(this.filter===null)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=Q,this.root=q,this.filter=_??null,this.whatToShow=H??NodeFilter.SHOW_ALL,this._currentNode=q,this._walkerStack.unshift(Q.createTreeWalker(q,H,this._acceptNode));let W=q.shadowRoot;if(W){let K=this._doc.createTreeWalker(W,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(K)}}get currentNode(){return this._currentNode}set currentNode(Q){if(!XX(this.root,Q))throw Error("Cannot set currentNode to a node that is not contained by the root node.");let q=[],H=Q,_=Q;this._currentNode=Q;while(H&&H!==this.root)if(H.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let K=H,A=this._doc.createTreeWalker(K,this.whatToShow,{acceptNode:this._acceptNode});q.push(A),A.currentNode=_,this._currentSetFor.add(A),H=_=K.host}else H=H.parentNode;let W=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});q.push(W),W.currentNode=_,this._currentSetFor.add(W),this._walkerStack=q}get doc(){return this._doc}firstChild(){let Q=this.currentNode,q=this.nextNode();if(!XX(Q,q))return this.currentNode=Q,null;if(q)this.currentNode=q;return q}lastChild(){let q=this._walkerStack[0].lastChild();if(q)this.currentNode=q;return q}nextNode(){let Q=this._walkerStack[0].nextNode();if(Q){if(Q.shadowRoot){let H;if(typeof this.filter==="function")H=this.filter(Q);else if(this.filter?.acceptNode)H=this.filter.acceptNode(Q);if(H===NodeFilter.FILTER_ACCEPT)return this.currentNode=Q,Q;let _=this.nextNode();if(_)this.currentNode=_;return _}if(Q)this.currentNode=Q;return Q}else if(this._walkerStack.length>1){this._walkerStack.shift();let q=this.nextNode();if(q)this.currentNode=q;return q}else return null}previousNode(){let Q=this._walkerStack[0];if(Q.currentNode===Q.root){if(this._currentSetFor.has(Q))if(this._currentSetFor.delete(Q),this._walkerStack.length>1){this._walkerStack.shift();let H=this.previousNode();if(H)this.currentNode=H;return H}else return null;return null}let q=Q.previousNode();if(q){if(q.shadowRoot){let _;if(typeof this.filter==="function")_=this.filter(q);else if(this.filter?.acceptNode)_=this.filter.acceptNode(q);if(_===NodeFilter.FILTER_ACCEPT){if(q)this.currentNode=q;return q}let W=this.lastChild();if(W)this.currentNode=W;return W}if(q)this.currentNode=q;return q}else if(this._walkerStack.length>1){this._walkerStack.shift();let H=this.previousNode();if(H)this.currentNode=H;return H}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}}function vO(Q,q,H,_){if(yQ())return new gV(Q,q,H,_);return Q.createTreeWalker(q,H,_)}var _6=C(()=>{dX();oA()});function dV(Q){let{children:q,contain:H,restoreFocus:_,autoFocus:W}=Q,K=iX.useRef(null),A=iX.useRef(null),L=iX.useRef([]),{parentNode:O}=iX.useContext(mV)||{},I=iX.useMemo(()=>new bO({scopeRef:L}),[L]);dZ(()=>{let R=O||GY.root;if(GY.getTreeNode(R.scopeRef)&&EX&&!hO(EX,R.scopeRef)){let j=GY.getTreeNode(EX);if(j)R=j}R.addChild(I),GY.addNode(I)},[I,O]),dZ(()=>{let R=GY.getTreeNode(L);if(R)R.contain=!!H},[H]),dZ(()=>{let R=K.current?.nextSibling,j=[],h=(d)=>d.stopPropagation();while(R&&R!==A.current)j.push(R),R.addEventListener(W6,h),R=R.nextSibling;return L.current=j,()=>{for(let d of j)d.removeEventListener(W6,h)}},[q]),dy(L,_,H),fy(L,H),cy(L,_,H),uy(L,W),iX.useEffect(()=>{let R=KX(cZ(L.current?L.current[0]:void 0)),j=null;if(GJ(R,L.current)){for(let h of GY.traverse())if(h.scopeRef&&GJ(R,h.scopeRef.current))j=h;if(j===GY.getTreeNode(L))EX=j.scopeRef}},[L]),dZ(()=>{return()=>{let R=GY.getTreeNode(L)?.parent?.scopeRef??null;if((L===EX||hO(L,EX))&&(!R||GY.getTreeNode(R)))EX=R;GY.removeTreeNode(L)}},[L]);let N=iX.useMemo(()=>by(L),[]),M=iX.useMemo(()=>({focusManager:N,parentNode:I}),[I,N]);return iX.default.createElement(mV.Provider,{value:M},iX.default.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:K}),q,iX.default.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:A}))}function by(Q){return{focusNext(q={}){let H=Q.current,{from:_,tabbable:W,wrap:K,accept:A}=q,L=_||KX(cZ(H[0]??void 0)),O=H[0].previousElementSibling,I=$H(H),N=qJ(I,{tabbable:W,accept:A},H);N.currentNode=GJ(L,H)?L:O;let M=N.nextNode();if(!M&&K)N.currentNode=O,M=N.nextNode();if(M)YG(M,!0);return M},focusPrevious(q={}){let H=Q.current,{from:_,tabbable:W,wrap:K,accept:A}=q,L=_||KX(cZ(H[0]??void 0)),O=H[H.length-1].nextElementSibling,I=$H(H),N=qJ(I,{tabbable:W,accept:A},H);N.currentNode=GJ(L,H)?L:O;let M=N.previousNode();if(!M&&K)N.currentNode=O,M=N.previousNode();if(M)YG(M,!0);return M},focusFirst(q={}){let H=Q.current,{tabbable:_,accept:W}=q,K=$H(H),A=qJ(K,{tabbable:_,accept:W},H);A.currentNode=H[0].previousElementSibling;let L=A.nextNode();if(L)YG(L,!0);return L},focusLast(q={}){let H=Q.current,{tabbable:_,accept:W}=q,K=$H(H),A=qJ(K,{tabbable:_,accept:W},H);A.currentNode=H[H.length-1].nextElementSibling;let L=A.previousNode();if(L)YG(L,!0);return L}}}function $H(Q){return Q[0].parentElement}function lK(Q){let q=GY.getTreeNode(EX);while(q&&q.scopeRef!==Q){if(q.contain)return!1;q=q.parent}return!0}function gy(Q){if(!Q.form)return Array.from(cZ(Q).querySelectorAll(`input[type="radio"][name="${CSS.escape(Q.name)}"]`)).filter((_)=>!_.form);let q=Q.form.elements.namedItem(Q.name),H=uX(Q);if(q instanceof H.RadioNodeList)return Array.from(q).filter((_)=>_ instanceof H.HTMLInputElement);if(q instanceof H.HTMLInputElement)return[q];return[]}function my(Q){if(Q.checked)return!0;let q=gy(Q);return q.length>0&&!q.some((H)=>H.checked)}function fy(Q,q){let H=iX.useRef(void 0),_=iX.useRef(void 0);dZ(()=>{let W=Q.current;if(!q){if(_.current)cancelAnimationFrame(_.current),_.current=void 0;return}let K=cZ(W?W[0]:void 0),A=(I)=>{if(I.key!=="Tab"||I.altKey||I.ctrlKey||I.metaKey||!lK(Q)||I.isComposing)return;let N=KX(K),M=Q.current;if(!M||!GJ(N,M))return;let R=$H(M),j=qJ(R,{tabbable:!0},M);if(!N)return;j.currentNode=N;let h=I.shiftKey?j.previousNode():j.nextNode();if(!h)j.currentNode=I.shiftKey?M[M.length-1].nextElementSibling:M[0].previousElementSibling,h=I.shiftKey?j.previousNode():j.nextNode();if(I.preventDefault(),h){if(YG(h,!0),h instanceof uX(h).HTMLInputElement)h.select()}},L=(I)=>{if((!EX||hO(EX,Q))&&GJ(KZ(I),Q.current))EX=Q,H.current=KZ(I);else if(lK(Q)&&!_z(KZ(I),Q)){if(H.current)H.current.focus();else if(EX&&EX.current)U6(EX.current)}else if(lK(Q))H.current=KZ(I)},O=(I)=>{if(_.current)cancelAnimationFrame(_.current);_.current=requestAnimationFrame(()=>{let N=MH(),M=(N==="virtual"||N===null)&&DK()&&F3(),R=KX(K);if(!M&&R&&lK(Q)&&!_z(R,Q)){EX=Q;let j=KZ(I);if(j&&j.isConnected)H.current=j,H.current?.focus();else if(EX.current)U6(EX.current)}})};return K.addEventListener("keydown",A,!1),K.addEventListener("focusin",L,!1),W?.forEach((I)=>I.addEventListener("focusin",L,!1)),W?.forEach((I)=>I.addEventListener("focusout",O,!1)),()=>{K.removeEventListener("keydown",A,!1),K.removeEventListener("focusin",L,!1),W?.forEach((I)=>I.removeEventListener("focusin",L,!1)),W?.forEach((I)=>I.removeEventListener("focusout",O,!1))}},[Q,q]),dZ(()=>{return()=>{if(_.current)cancelAnimationFrame(_.current)}},[_])}function cV(Q){return _z(Q)}function GJ(Q,q){if(!Q)return!1;if(!q)return!1;return q.some((H)=>XX(H,Q))}function _z(Q,q=null){if(Q instanceof Element&&Q.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:H}of GY.traverse(GY.getTreeNode(q)))if(H&&GJ(Q,H.current))return!0;return!1}function pV(Q){return _z(Q,EX)}function hO(Q,q){let H=GY.getTreeNode(q)?.parent;while(H){if(H.scopeRef===Q)return!0;H=H.parent}return!1}function YG(Q,q=!1){if(Q!=null&&!q)try{oq(Q)}catch{}else if(Q!=null)try{Q.focus()}catch{}}function lV(Q,q=!0){let H=Q[0].previousElementSibling,_=$H(Q),W=qJ(_,{tabbable:q},Q);W.currentNode=H;let K=W.nextNode();if(q&&!K)_=$H(Q),W=qJ(_,{tabbable:!1},Q),W.currentNode=H,K=W.nextNode();return K}function U6(Q,q=!0){YG(lV(Q,q))}function uy(Q,q){let H=iX.default.useRef(q);iX.useEffect(()=>{if(H.current){EX=Q;let _=cZ(Q.current?Q.current[0]:void 0);if(!GJ(KX(_),EX.current)&&Q.current)U6(Q.current)}H.current=!1},[Q])}function dy(Q,q,H){dZ(()=>{if(q||H)return;let _=Q.current,W=cZ(_?_[0]:void 0),K=(A)=>{let L=KZ(A);if(GJ(L,Q.current))EX=Q;else if(!cV(L))EX=null};return W.addEventListener("focusin",K,!1),_?.forEach((A)=>A.addEventListener("focusin",K,!1)),()=>{W.removeEventListener("focusin",K,!1),_?.forEach((A)=>A.removeEventListener("focusin",K,!1))}},[Q,q,H])}function fV(Q){let q=GY.getTreeNode(EX);while(q&&q.scopeRef!==Q){if(q.nodeToRestore)return!1;q=q.parent}return q?.scopeRef===Q}function cy(Q,q,H){let _=iX.useRef(typeof document<"u"?KX(cZ(Q.current?Q.current[0]:void 0)):null);dZ(()=>{let W=Q.current,K=cZ(W?W[0]:void 0);if(!q||H)return;let A=()=>{if((!EX||hO(EX,Q))&&GJ(KX(K),Q.current))EX=Q};return K.addEventListener("focusin",A,!1),W?.forEach((L)=>L.addEventListener("focusin",A,!1)),()=>{K.removeEventListener("focusin",A,!1),W?.forEach((L)=>L.removeEventListener("focusin",A,!1))}},[Q,H]),dZ(()=>{let W=cZ(Q.current?Q.current[0]:void 0);if(!q)return;let K=(A)=>{if(A.key!=="Tab"||A.altKey||A.ctrlKey||A.metaKey||!lK(Q)||A.isComposing)return;let L=W.activeElement;if(!_z(L,Q)||!fV(Q))return;let O=GY.getTreeNode(Q);if(!O)return;let I=O.nodeToRestore,N=qJ(W.body,{tabbable:!0});N.currentNode=L;let M=A.shiftKey?N.previousNode():N.nextNode();if(!I||!I.isConnected||I===W.body)I=void 0,O.nodeToRestore=void 0;if((!M||!_z(M,Q))&&I){N.currentNode=I;do M=A.shiftKey?N.previousNode():N.nextNode();while(_z(M,Q));if(A.preventDefault(),A.stopPropagation(),M)YG(M,!0);else if(!cV(I))L.blur();else YG(I,!0)}};if(!H)W.addEventListener("keydown",K,!0);return()=>{if(!H)W.removeEventListener("keydown",K,!0)}},[Q,q,H]),dZ(()=>{let W=cZ(Q.current?Q.current[0]:void 0);if(!q)return;let K=GY.getTreeNode(Q);if(!K)return;return K.nodeToRestore=_.current??void 0,()=>{let A=GY.getTreeNode(Q);if(!A)return;let L=A.nodeToRestore,O=KX(W);if(q&&L&&(O&&_z(O,Q)||O===W.body&&fV(Q))){let I=GY.clone();requestAnimationFrame(()=>{if(W.activeElement===W.body){let N=I.getTreeNode(Q);while(N){if(N.nodeToRestore&&N.nodeToRestore.isConnected){uV(N.nodeToRestore);return}N=N.parent}N=I.getTreeNode(Q);while(N){if(N.scopeRef&&N.scopeRef.current&&GY.getTreeNode(N.scopeRef)){let M=lV(N.scopeRef.current,!0);uV(M);return}N=N.parent}}})}}},[Q,q])}function uV(Q){if(Q.dispatchEvent(new CustomEvent(W6,{bubbles:!0,cancelable:!0})))YG(Q)}function qJ(Q,q,H){let _=q?.tabbable?eA:tA,W=Q?.nodeType===Node.ELEMENT_NODE?Q:null,K=cZ(W),A=vO(K,Q||K,NodeFilter.SHOW_ELEMENT,{acceptNode(L){if(XX(q?.from,L))return NodeFilter.FILTER_REJECT;if(q?.tabbable&&L.tagName==="INPUT"&&L.getAttribute("type")==="radio"){if(!my(L))return NodeFilter.FILTER_REJECT;if(A.currentNode.tagName==="INPUT"&&A.currentNode.type==="radio"&&A.currentNode.name===L.name)return NodeFilter.FILTER_REJECT}if(_(L)&&(!H||GJ(L,H))&&(!q?.accept||q.accept(L)))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP}});if(q?.from)A.currentNode=q.from;return A}class K6{constructor(){this.fastMap=new Map,this.root=new bO({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(Q){return this.fastMap.get(Q)}addTreeNode(Q,q,H){let _=this.fastMap.get(q??null);if(!_)return;let W=new bO({scopeRef:Q});if(_.addChild(W),W.parent=_,this.fastMap.set(Q,W),H)W.nodeToRestore=H}addNode(Q){this.fastMap.set(Q.scopeRef,Q)}removeTreeNode(Q){if(Q===null)return;let q=this.fastMap.get(Q);if(!q)return;let H=q.parent;for(let W of this.traverse())if(W!==q&&q.nodeToRestore&&W.nodeToRestore&&q.scopeRef&&q.scopeRef.current&&GJ(W.nodeToRestore,q.scopeRef.current))W.nodeToRestore=q.nodeToRestore;let _=q.children;if(H){if(H.removeChild(q),_.size>0)_.forEach((W)=>H&&H.addChild(W))}this.fastMap.delete(q.scopeRef)}*traverse(Q=this.root){if(Q.scopeRef!=null)yield Q;if(Q.children.size>0)for(let q of Q.children)yield*this.traverse(q)}clone(){let Q=new K6;for(let q of this.traverse())Q.addTreeNode(q.scopeRef,q.parent?.scopeRef??null,q.nodeToRestore);return Q}}class bO{constructor(Q){this.children=new Set,this.contain=!1,this.scopeRef=Q.scopeRef}addChild(Q){this.children.add(Q),Q.parent=this}removeChild(Q){this.children.delete(Q),Q.parent=void 0}}var iX,mV,W6="react-aria-focus-scope-restore",EX=null,GY;var iK=C(()=>{_6();kK();dX();Zz();$Y();QJ();ZO();PY();iX=f(ZZ(),1),mV=iX.default.createContext(null);GY=new K6});function nK(Q){return Lw()?Q.altKey:Q.ctrlKey}function gO(Q,q){let H=`[data-key="${CSS.escape(String(q))}"]`,_=Q.current?.dataset.collection;if(_)H=`[data-collection="${CSS.escape(_)}"]${H}`;return Q.current?.querySelector(H)}function nV(Q){let q=aX();return iV.set(Q,q),q}function sV(Q){return iV.get(Q)}var iV;var B6=C(()=>{QJ();YJ();iV=new WeakMap});function Lq(Q,q){if(!Q)return!1;let H=window.getComputedStyle(Q),_=document.scrollingElement||document.documentElement,W=/(auto|scroll)/.test(H.overflow+H.overflowX+H.overflowY);if(Q===_&&H.overflow!=="hidden")W=!0;if(W&&q)W=Q.scrollHeight!==Q.clientHeight||Q.scrollWidth!==Q.clientWidth;return W}var sK=()=>{};function mO(Q,q){let H=[],_=document.scrollingElement||document.documentElement;while(Q){if(Lq(Q,q))H.push(Q);if(Q===_)break;Q=Q.parentElement}return H}var aV=C(()=>{sK()});function aK(Q,q,H={}){let{block:_="nearest",inline:W="nearest"}=H;if(Q===q)return;let{scrollTop:K,scrollLeft:A}=Q,L=q.getBoundingClientRect(),O=Q.getBoundingClientRect(),I=window.getComputedStyle(q),N=window.getComputedStyle(Q),M=document.scrollingElement||document.documentElement,R=Q===M,j=Q===M?0:O.top,h=Q===M?Q.clientHeight:O.bottom,d=Q===M?0:O.left,b=Q===M?Q.clientWidth:O.right,a=parseFloat(I.scrollMarginTop)||0,t=parseFloat(I.scrollMarginBottom)||0,qZ=parseFloat(I.scrollMarginLeft)||0,QZ=parseFloat(I.scrollMarginRight)||0,LZ=parseFloat(N.scrollPaddingTop)||0,kZ=parseFloat(N.scrollPaddingBottom)||0,JZ=parseFloat(N.scrollPaddingLeft)||0,l=parseFloat(N.scrollPaddingRight)||0,OZ=parseFloat(N.borderTopWidth)||0,n=parseFloat(N.borderBottomWidth)||0,wZ=parseFloat(N.borderLeftWidth)||0,WZ=parseFloat(N.borderRightWidth)||0,zZ=L.top-a,v=L.bottom+t,m=L.left-qZ,E=L.right+QZ,g=Q===M?0:wZ+WZ,e=Q===M?0:OZ+n,p=Q===M?0:Q.offsetWidth-Q.clientWidth-g,w=Q===M?0:Q.offsetHeight-Q.clientHeight-e,o=j+(R?0:OZ)+LZ,AZ=h-(R?0:n)-kZ-w,VZ=d+(R?0:wZ)+JZ,vZ=b-(R?0:WZ)-l;if(N.direction==="rtl"&&!CJ())VZ+=p;else vZ-=p;let JX=zZ<o||v>AZ,NZ=m<VZ||E>vZ;if(JX&&_==="start")K+=zZ-o;else if(JX&&_==="center")K+=(zZ+v)/2-(o+AZ)/2;else if(JX&&_==="end")K+=v-AZ;else if(JX&&_==="nearest"){let YX=zZ-o,TX=v-AZ;K+=Math.abs(YX)<=Math.abs(TX)?YX:TX}if(NZ&&W==="start")A+=m-VZ;else if(NZ&&W==="center")A+=(m+E)/2-(VZ+vZ)/2;else if(NZ&&W==="end")A+=E-vZ;else if(NZ&&W==="nearest"){let YX=m-VZ,TX=E-vZ;A+=Math.abs(YX)<=Math.abs(TX)?YX:TX}Q.scrollTo({left:A,top:K})}function L6(Q,q={}){let{containingElement:H}=q;if(Q&&Q.isConnected){let _=document.scrollingElement||document.documentElement;if(window.getComputedStyle(_).overflow!=="hidden"){let{left:K,top:A}=Q.getBoundingClientRect();Q?.scrollIntoView?.({block:"nearest"});let{left:L,top:O}=Q.getBoundingClientRect();if(Math.abs(K-L)>1||Math.abs(A-O)>1)H?.scrollIntoView?.({block:"center",inline:"center"}),Q.scrollIntoView?.({block:"nearest"})}else{let{left:K,top:A}=Q.getBoundingClientRect(),L=mO(Q,!0);for(let N of L)aK(N,Q);let{left:O,top:I}=Q.getBoundingClientRect();if(Math.abs(K-O)>1||Math.abs(A-I)>1){L=H?mO(H,!0):[];for(let N of L)aK(N,H,{block:"center",inline:"center"});for(let N of mO(Q,!0))aK(N,Q)}}}}var oV=C(()=>{aV();QJ()});function tV(Q){let{keyboardDelegate:q,selectionManager:H,onTypeSelect:_}=Q,W=rV.useRef({search:"",timeout:void 0}).current,K=(A)=>{let L=ly(A.key);if(!L||A.ctrlKey||A.metaKey||!XX(A.currentTarget,KZ(A))||W.search.length===0&&L===" ")return;if(L===" "&&W.search.trim().length>0){if(A.preventDefault(),!("continuePropagation"in A))A.stopPropagation()}if(W.search+=L,q.getKeyForSearch!=null){let O=q.getKeyForSearch(W.search,H.focusedKey);if(O==null)O=q.getKeyForSearch(W.search);if(O!=null){if(H.setFocusedKey(O),_)_(O)}}clearTimeout(W.timeout),W.timeout=setTimeout(()=>{W.search=""},py)};return{typeSelectProps:{onKeyDownCapture:q.getKeyForSearch?K:void 0}}}function ly(Q){if(Q.length===1||!/^[A-Z]/i.test(Q))return Q;return""}var rV,py=1000;var eV=C(()=>{dX();rV=f(ZZ(),1)});function O6(Q,q){let H=A6.useRef(!0),_=A6.useRef(null);dZ(()=>{return H.current=!0,()=>{H.current=!1}},[]),dZ(()=>{if(H.current)H.current=!1;else if(!_.current||q.some((W,K)=>!Object.is(W,_[K])))Q();_.current=q},q)}var A6;var ZR=C(()=>{PY();A6=f(ZZ(),1)});function YR(Q){let{selectionManager:q,keyboardDelegate:H,ref:_,autoFocus:W=!1,shouldFocusWrap:K=!1,disallowEmptySelection:A=!1,disallowSelectAll:L=!1,escapeKeyBehavior:O="clearSelection",selectOnFocus:I=q.selectionBehavior==="replace",disallowTypeAhead:N=!1,shouldUseVirtualFocus:M,allowsTabNavigation:R=!1,scrollRef:j=_,linkBehavior:h="action"}=Q,{direction:d}=YW(),b=AH(),a=(v)=>{if(v.altKey&&v.key==="Tab")v.preventDefault();if(!_.current||!XX(_.current,KZ(v)))return;let m=(E,g)=>{if(E!=null){if(q.isLink(E)&&h==="selection"&&I&&!nK(v)){XR.flushSync(()=>{q.setFocusedKey(E,g)});let e=gO(_,E),p=q.getItemProps(E);if(e)b.open(e,v,p.href,p.routerOptions);return}if(q.setFocusedKey(E,g),q.isLink(E)&&h==="override")return;if(v.shiftKey&&q.selectionMode==="multiple")q.extendSelection(E);else if(I&&!nK(v))q.replaceSelection(E)}};switch(v.key){case"ArrowDown":if(H.getKeyBelow){let E=q.focusedKey!=null?H.getKeyBelow?.(q.focusedKey):H.getFirstKey?.();if(E==null&&K)E=H.getFirstKey?.(q.focusedKey);if(E!=null)v.preventDefault(),m(E)}break;case"ArrowUp":if(H.getKeyAbove){let E=q.focusedKey!=null?H.getKeyAbove?.(q.focusedKey):H.getLastKey?.();if(E==null&&K)E=H.getLastKey?.(q.focusedKey);if(E!=null)v.preventDefault(),m(E)}break;case"ArrowLeft":if(H.getKeyLeftOf){let E=q.focusedKey!=null?H.getKeyLeftOf?.(q.focusedKey):H.getFirstKey?.();if(E==null&&K)E=d==="rtl"?H.getFirstKey?.(q.focusedKey):H.getLastKey?.(q.focusedKey);if(E!=null)v.preventDefault(),m(E,d==="rtl"?"first":"last")}break;case"ArrowRight":if(H.getKeyRightOf){let E=q.focusedKey!=null?H.getKeyRightOf?.(q.focusedKey):H.getFirstKey?.();if(E==null&&K)E=d==="rtl"?H.getLastKey?.(q.focusedKey):H.getFirstKey?.(q.focusedKey);if(E!=null)v.preventDefault(),m(E,d==="rtl"?"last":"first")}break;case"Home":if(H.getFirstKey){if(q.focusedKey===null&&v.shiftKey)return;v.preventDefault();let E=H.getFirstKey(q.focusedKey,Hz(v));if(q.setFocusedKey(E),E!=null){if(Hz(v)&&v.shiftKey&&q.selectionMode==="multiple")q.extendSelection(E);else if(I)q.replaceSelection(E)}}break;case"End":if(H.getLastKey){if(q.focusedKey===null&&v.shiftKey)return;v.preventDefault();let E=H.getLastKey(q.focusedKey,Hz(v));if(q.setFocusedKey(E),E!=null){if(Hz(v)&&v.shiftKey&&q.selectionMode==="multiple")q.extendSelection(E);else if(I)q.replaceSelection(E)}}break;case"PageDown":if(H.getKeyPageBelow&&q.focusedKey!=null){let E=H.getKeyPageBelow(q.focusedKey);if(E!=null)v.preventDefault(),m(E)}break;case"PageUp":if(H.getKeyPageAbove&&q.focusedKey!=null){let E=H.getKeyPageAbove(q.focusedKey);if(E!=null)v.preventDefault(),m(E)}break;case"a":if(Hz(v)&&q.selectionMode==="multiple"&&L!==!0)v.preventDefault(),q.selectAll();break;case"Escape":if(O==="clearSelection"&&!A&&q.selectedKeys.size!==0)v.stopPropagation(),v.preventDefault(),q.clearSelection();break;case"Tab":if(!R){if(v.shiftKey)_.current.focus();else{let E=qJ(_.current,{tabbable:!0}),g=void 0,e;do if(e=E.lastChild(),e)g=e;while(e);let p=KX();if(g&&(!B3(g)||p&&!eA(p)))aY(g)}break}}},t=DJ.useRef({top:0,left:0});DH(j,"scroll",()=>{t.current={top:j.current?.scrollTop??0,left:j.current?.scrollLeft??0}});let qZ=(v)=>{if(q.isFocused){if(!XX(v.currentTarget,KZ(v)))q.setFocused(!1);return}if(!XX(v.currentTarget,KZ(v)))return;if(q.setFocused(!0),q.focusedKey==null){let m=(g)=>{if(g!=null){if(q.setFocusedKey(g),I&&!q.isSelected(g))q.replaceSelection(g)}},E=v.relatedTarget;if(E&&v.currentTarget.compareDocumentPosition(E)&Node.DOCUMENT_POSITION_FOLLOWING)m(q.lastSelectedKey??H.getLastKey?.());else m(q.firstSelectedKey??H.getFirstKey?.())}else if(j.current)j.current.scrollTop=t.current.top,j.current.scrollLeft=t.current.left;if(q.focusedKey!=null&&j.current){let m=gO(_,q.focusedKey);if(m instanceof HTMLElement){if(!B3(m)&&!M)aY(m);if(MH()==="keyboard")L6(m,{containingElement:_.current})}}},QZ=(v)=>{if(!XX(v.currentTarget,v.relatedTarget))q.setFocused(!1)},LZ=DJ.useRef(!1);DH(_,AV,!M?void 0:(v)=>{let{detail:m}=v;if(v.stopPropagation(),q.setFocused(!0),m?.focusStrategy==="first")LZ.current=!0}),O6(()=>{if(LZ.current){let v=H.getFirstKey?.()??null;if(v==null){let m=KX();if(DO(_.current),Q6(m,null),q.collection.size>0)LZ.current=!1}else q.setFocusedKey(v),LZ.current=!1}},[q.collection]),O6(()=>{if(q.collection.size>0)LZ.current=!1},[q.focusedKey]),DH(_,LV,!M?void 0:(v)=>{if(v.stopPropagation(),q.setFocused(!1),v.detail?.clearFocusKey)q.setFocusedKey(null)});let kZ=DJ.useRef(W),JZ=DJ.useRef(!1);DJ.useEffect(()=>{if(kZ.current){let v=null;if(W==="first")v=H.getFirstKey?.()??null;if(W==="last")v=H.getLastKey?.()??null;let m=q.selectedKeys;if(m.size){for(let E of m)if(q.canSelectItem(E)){v=E;break}}if(q.setFocused(!0),q.setFocusedKey(v),v==null&&!M&&_.current)oq(_.current);if(q.collection.size>0)kZ.current=!1,JZ.current=!0}});let l=DJ.useRef(q.focusedKey),OZ=DJ.useRef(null);DJ.useEffect(()=>{if(q.isFocused&&q.focusedKey!=null&&(q.focusedKey!==l.current||JZ.current)&&j.current&&_.current){let v=MH(),m=gO(_,q.focusedKey);if(!(m instanceof HTMLElement))return;if(v==="keyboard"||JZ.current){if(OZ.current)cancelAnimationFrame(OZ.current);OZ.current=requestAnimationFrame(()=>{if(j.current){if(aK(j.current,m),v!=="virtual")L6(m,{containingElement:_.current})}})}}if(!M&&q.isFocused&&q.focusedKey==null&&l.current!=null&&_.current)oq(_.current);l.current=q.focusedKey,JZ.current=!1}),DJ.useEffect(()=>{return()=>{if(OZ.current)cancelAnimationFrame(OZ.current)}},[]),DH(_,"react-aria-focus-scope-restore",(v)=>{v.preventDefault(),q.setFocused(!0)});let n={onKeyDown:a,onFocus:qZ,onBlur:QZ,onMouseDown(v){if(j.current===KZ(v))v.preventDefault()}},{typeSelectProps:wZ}=tV({keyboardDelegate:H,selectionManager:q});if(!N)n=CZ(wZ,n);let WZ=void 0;if(!M)WZ=q.focusedKey==null?0:-1;let zZ=nV(q.collection);return{collectionProps:CZ(n,{tabIndex:WZ,"data-collection":zZ})}}var XR,DJ;var QR=C(()=>{OV();J6();kK();LH();dX();iK();Zz();B6();pK();ZO();DY();oV();q6();iA();eG();eV();ZR();XR=f(lq(),1),DJ=f(ZZ(),1)});function qR(Q){let[q,H]=JR.useState();return dZ(()=>{if(!Q)return;let _=F6.get(Q);if(!_){let W=`react-aria-description-${iy++}`;H(W);let K=document.createElement("div");K.id=W,K.style.display="none",K.textContent=Q,document.body.appendChild(K),_={refCount:0,element:K},F6.set(Q,_)}else H(_.element.id);return _.refCount++,()=>{if(_&&--_.refCount===0)_.element.remove(),F6.delete(Q)}},[Q]),{"aria-describedby":Q?q:void 0}}var JR,iy=0,F6;var GR=C(()=>{PY();JR=f(ZZ(),1),F6=new Map});function HR(Q){let{isDisabled:q,onLongPressStart:H,onLongPressEnd:_,onLongPress:W,threshold:K=ny,accessibilityDescription:A}=Q,L=zR.useRef(void 0),{addGlobalListener:O,removeGlobalListener:I}=Jz(),{pressProps:N}=qz({isDisabled:q,onPressStart(R){if(R.continuePropagation(),R.pointerType==="mouse"||R.pointerType==="touch"){if(H)H({...R,type:"longpressstart"});if(L.current=setTimeout(()=>{if(R.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),cZ(R.target).activeElement!==R.target)aY(R.target);if(W)W({...R,type:"longpress"});L.current=void 0},K),R.pointerType==="touch"){let j=(d)=>{d.preventDefault()},h=uX(R.target);O(R.target,"contextmenu",j,{once:!0}),O(h,"pointerup",()=>{setTimeout(()=>{I(R.target,"contextmenu",j)},30)},{once:!0})}}},onPressEnd(R){if(L.current)clearTimeout(L.current);if(_&&(R.pointerType==="mouse"||R.pointerType==="touch"))_({...R,type:"longpressend"})}}),M=qR(W&&!q?A:void 0);return{longPressProps:CZ(N,M)}}var zR,ny=500;var _R=C(()=>{LH();$Y();DY();GR();yK();hK();zR=f(ZZ(),1)});function TW(Q){let{id:q,selectionManager:H,key:_,ref:W,shouldSelectOnPressUp:K,shouldUseVirtualFocus:A,focus:L,isDisabled:O,onAction:I,allowsDifferentPressOrigin:N,linkBehavior:M="action"}=Q,R=AH();q=aX(q);let j=(w)=>{if(w.pointerType==="keyboard"&&nK(w))H.toggleSelection(_);else{if(H.selectionMode==="none")return;if(H.isLink(_)){if(M==="selection"&&W.current){let o=H.getItemProps(_);R.open(W.current,w,o.href,o.routerOptions),H.setSelectedKeys(H.selectedKeys);return}else if(M==="override"||M==="none")return}if(H.selectionMode==="single")if(H.isSelected(_)&&!H.disallowEmptySelection)H.toggleSelection(_);else H.replaceSelection(_);else if(w&&w.shiftKey)H.extendSelection(_);else if(H.selectionBehavior==="toggle"||w&&(Hz(w)||w.pointerType==="touch"||w.pointerType==="virtual"))H.toggleSelection(_);else H.replaceSelection(_)}};SH.useEffect(()=>{if(_===H.focusedKey&&H.isFocused)if(!A){if(L)L();else if(KX()!==W.current&&W.current)oq(W.current)}else DO(W.current)},[W,_,H.focusedKey,H.childFocusStrategy,H.isFocused,A]),O=O||H.isDisabled(_);let h={};if(!A&&!O)h={tabIndex:_===H.focusedKey?0:-1,onFocus(w){if(KZ(w)===W.current)H.setFocusedKey(_)}};else if(O)h.onMouseDown=(w)=>{w.preventDefault()};SH.useEffect(()=>{if(O&&H.focusedKey===_)H.setFocusedKey(null)},[H,O,_]);let d=H.isLink(_)&&M==="override",b=I&&Q.UNSTABLE_itemBehavior==="action",a=H.isLink(_)&&M!=="selection"&&M!=="none",t=!O&&H.canSelectItem(_)&&!d&&!b,qZ=(I||a)&&!O,QZ=qZ&&(H.selectionBehavior==="replace"?!t:!t||H.isEmpty),LZ=qZ&&t&&H.selectionBehavior==="replace",kZ=QZ||LZ,JZ=SH.useRef(null),l=kZ&&t,OZ=SH.useRef(!1),n=SH.useRef(!1),wZ=H.getItemProps(_),WZ=(w)=>{if(I)I(),W.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}));if(a&&W.current)R.open(W.current,w,wZ.href,wZ.routerOptions)},zZ={ref:W};if(K)if(zZ.onPressStart=(w)=>{if(JZ.current=w.pointerType,OZ.current=l,w.pointerType==="keyboard"&&(!kZ||UR(w.key)))j(w)},!N)zZ.onPress=(w)=>{if(QZ||LZ&&w.pointerType!=="mouse"){if(w.pointerType==="keyboard"&&!WR(w.key))return;WZ(w)}else if(w.pointerType!=="keyboard"&&t)j(w)};else zZ.onPressUp=QZ?void 0:(w)=>{if(w.pointerType==="mouse"&&t)j(w)},zZ.onPress=QZ?WZ:(w)=>{if(w.pointerType!=="keyboard"&&w.pointerType!=="mouse"&&t)j(w)};else zZ.onPressStart=(w)=>{if(JZ.current=w.pointerType,OZ.current=l,n.current=QZ,t&&(w.pointerType==="mouse"&&!QZ||w.pointerType==="keyboard"&&(!qZ||UR(w.key))))j(w)},zZ.onPress=(w)=>{if(w.pointerType==="touch"||w.pointerType==="pen"||w.pointerType==="virtual"||w.pointerType==="keyboard"&&kZ&&WR(w.key)||w.pointerType==="mouse"&&n.current){if(kZ)WZ(w);else if(t)j(w)}};if(h["data-collection"]=sV(H.collection),h["data-key"]=_,zZ.preventFocusOnPress=A,A)zZ=CZ(zZ,{onPressStart(w){if(w.pointerType!=="touch")H.setFocused(!0),H.setFocusedKey(_)},onPress(w){if(w.pointerType==="touch")H.setFocused(!0),H.setFocusedKey(_)}});if(wZ){for(let w of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])if(wZ[w])zZ[w]=wJ(zZ[w],wZ[w])}let{pressProps:v,isPressed:m}=qz(zZ),E=LZ?(w)=>{if(JZ.current==="mouse")w.stopPropagation(),w.preventDefault(),WZ(w)}:void 0,{longPressProps:g}=HR({isDisabled:!l,onLongPress(w){if(w.pointerType==="touch")j(w),H.setSelectionBehavior("toggle")}}),e=(w)=>{if(JZ.current==="touch"&&OZ.current)w.preventDefault()},p=M!=="none"&&H.isLink(_)?(w)=>{if(!JJ.isOpening)w.preventDefault()}:void 0;return{itemProps:CZ(h,t||QZ||A&&!O?v:{},l?g:{},{onDoubleClick:E,onDragStartCapture:e,onClick:p,id:q},A?{onMouseDown:(w)=>w.preventDefault()}:void 0),isPressed:m,isSelected:H.isSelected(_),isFocused:H.isFocused&&H.focusedKey===_,isDisabled:O,allowsSelection:t,hasAction:kZ}}function WR(Q){return Q==="Enter"}function UR(Q){return Q===" "}var SH;var fO=C(()=>{t_();kK();dX();B6();pK();DY();J6();eG();hK();YJ();_R();SH=f(ZZ(),1)});function KR(Q,q){if(typeof q.getChildren==="function")return q.getChildren(Q.key);return Q.childNodes}var BR=()=>{};function oK(Q){let q=LR.get(Q);if(q!=null)return q;let H=0,_=(W)=>{for(let K of W)if(K.type==="section")_(KR(K,Q));else if(K.type==="item")H++};return _(Q),LR.set(Q,H),H}var LR;var AR=C(()=>{BR();LR=new WeakMap});var M6=C(()=>{AR()});function N6(Q,q,H){let{key:_}=Q,W=H6.get(q),K=Q.isDisabled??q.selectionManager.isDisabled(_),A=Q.isSelected??q.selectionManager.isSelected(_),L=Q.shouldSelectOnPressUp??W?.shouldSelectOnPressUp,O=Q.shouldFocusOnHover??W?.shouldFocusOnHover,I=Q.shouldUseVirtualFocus??W?.shouldUseVirtualFocus,N=Q.isVirtualized??W?.isVirtualized,M=_q(),R=_q(),j={role:"option","aria-disabled":K||void 0,"aria-selected":q.selectionManager.selectionMode!=="none"?A:void 0,"aria-label":Q["aria-label"],"aria-labelledby":M,"aria-describedby":R},h=q.collection.getItem(_);if(N){let OZ=Number(h?.index);j["aria-posinset"]=Number.isNaN(OZ)?void 0:OZ+1,j["aria-setsize"]=oK(q.collection)}let d=W?.onAction?()=>W?.onAction?.(_):void 0,b=hV(q,_),{itemProps:a,isPressed:t,isFocused:qZ,hasAction:QZ,allowsSelection:LZ}=TW({selectionManager:q.selectionManager,key:_,ref:H,shouldSelectOnPressUp:L,allowsDifferentPressOrigin:L&&O,isVirtualized:N,shouldUseVirtualFocus:I,isDisabled:K,onAction:d||h?.props?.onAction?wJ(h?.props?.onAction,d):void 0,linkBehavior:W?.linkBehavior,UNSTABLE_itemBehavior:W?.UNSTABLE_itemBehavior,id:b}),{hoverProps:kZ}=EY({isDisabled:K||!O,onHoverStart(){if(!Kq())q.selectionManager.setFocused(!0),q.selectionManager.setFocusedKey(_)}}),JZ=zX(h?.props);delete JZ.id;let l=qW(h?.props);return{optionProps:{...j,...CZ(JZ,a,kZ,l),id:b},labelProps:{id:M},descriptionProps:{id:R},isFocused:qZ,isFocusVisible:qZ&&q.selectionManager.isFocused&&Kq(),isSelected:A,isDisabled:K,isPressed:t,allowsSelection:LZ,hasAction:QZ}}var OR=C(()=>{t_();rG();bV();Zz();DY();fO();FO();eG();YJ();M6()});var FR=C(()=>{OR()});var MR=C(()=>{t3()});function wW(Q){let q=NR.version.split(".");if(parseInt(q[0],10)>=19)return Q;return Q?"true":void 0}var NR;var IR=C(()=>{NR=f(ZZ(),1)});var I6=C(()=>{IR()});function rK(Q,q){let H=Q;if(Lq(H,q))H=H.parentElement;while(H&&!Lq(H,q))H=H.parentElement;return H||document.scrollingElement||document.documentElement}var T6=C(()=>{sK()});function w6(Q,q){let{collection:H,onLoadMore:_,scrollOffset:W=1}=Q,K=TR.useRef(null),A=SY((L)=>{for(let O of L)if(O.isIntersecting&&_)_()});dZ(()=>{if(q.current)K.current=new IntersectionObserver(A,{root:rK(q?.current),rootMargin:`0px ${100*W}% ${100*W}% ${100*W}%`}),K.current.observe(q.current);return()=>{if(K.current)K.current.disconnect()}},[H,q,W])}var TR;var wR=C(()=>{T6();TH();PY();TR=f(ZZ(),1)});var VR=C(()=>{wR()});var RR=C(()=>{_O()});var jR=C(()=>{WO()});var cX,V6,tK,sy;var CR=C(()=>{qQ();BV();xO();BW();FR();uK();Uq();I6();cK();VR();VJ();RR();VH();jR();ZW();cX=f(ZZ(),1),V6=cX.createContext(null),tK=Bq(FW,function(q,H,_){let W=JQ(H),K=cX.useContext(V6),{dragAndDropHooks:A,dragState:L,dropState:O}=cX.useContext(KV),I=L&&!(L.isDisabled||L.selectionManager.isDisabled(_.key)),{optionProps:N,labelProps:M,descriptionProps:R,...j}=N6({key:_.key,"aria-label":q?.["aria-label"]},K,W),{hoverProps:h,isHovered:d}=EY({isDisabled:!j.allowsSelection&&!j.hasAction&&!I,onHoverStart:_.props.onHoverStart,onHoverChange:_.props.onHoverChange,onHoverEnd:_.props.onHoverEnd}),{keyboardProps:b}=IH(q),{focusProps:a}=NH(q),t=null;if(L&&A)t=A.useDraggableItem({key:_.key,hasAction:j.hasAction},L);let qZ=null;if(O&&A)qZ=A.useDroppableItem({target:{type:"item",key:_.key,dropPosition:"on"}},O,W);let QZ=L&&L.isDragging(_.key),LZ=yX({...q,id:void 0,children:q.children,defaultClassName:"react-aria-ListBoxItem",values:{...j,isHovered:d,selectionMode:K.selectionManager.selectionMode,selectionBehavior:K.selectionManager.selectionBehavior,allowsDragging:!!L,isDragging:QZ,isDropTarget:qZ?.isDropTarget}});cX.useEffect(()=>{if(!_.textValue)console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.")},[_.textValue]);let kZ=q.href?LX.a:LX.div,JZ=zX(q,{global:!0});if(delete JZ.id,delete JZ.onClick,q.href&&N.tabIndex==null)N.tabIndex=-1;return cX.default.createElement(kZ,{...CZ(JZ,LZ,N,h,b,a,t?.dragProps,qZ?.dropProps),ref:W,"data-allows-dragging":!!L||void 0,"data-selected":j.isSelected||void 0,"data-disabled":j.isDisabled||void 0,"data-hovered":d||void 0,"data-focused":j.isFocused||void 0,"data-focus-visible":j.isFocusVisible||void 0,"data-pressed":j.isPressed||void 0,"data-dragging":QZ||void 0,"data-drop-target":qZ?.isDropTarget||void 0,"data-selection-mode":K.selectionManager.selectionMode==="none"?void 0:K.selectionManager.selectionMode},cX.default.createElement(xQ,{values:[[zz,{slots:{[WH]:M,label:M,description:R}}],[IW,{isSelected:j.isSelected}]]},LZ.children))}),sy=Bq(CO,function(q,H,_){let W=cX.useContext(V6),{isLoading:K,onLoadMore:A,scrollOffset:L,...O}=q,I=cX.useRef(null),N=cX.useMemo(()=>({onLoadMore:A,collection:W?.collection,sentinelRef:I,scrollOffset:L}),[A,L,W?.collection]);w6(N,I);let M=yX({...O,id:void 0,children:_.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:void 0}),R={tabIndex:-1};return cX.default.createElement(cX.default.Fragment,null,cX.default.createElement("div",{style:{position:"relative",width:0,height:0},inert:wW(!0)},cX.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:I,style:{position:"absolute",height:1,width:1}})),K&&M.children&&cX.default.createElement(cX.default.Fragment,null,cX.default.createElement(LX.div,{...CZ(zX(q,{global:!0}),R),...M,role:"option",ref:H},M.children)))})});function PR(Q){return Q.dataset.liveAnnouncer==="true"||Q.dataset.reactAriaTopLayer!==void 0}function DR(Q,q){let H=uX(Q?.[0]),_=q instanceof H.Element?{root:q}:q,W=_?.root??document.body,K=_?.shouldUseInert&&ay,A=new Set(Q),L=new Set,O=(b)=>{return K&&b instanceof H.HTMLElement?b.inert:b.getAttribute("aria-hidden")==="true"},I=(b,a)=>{if(K&&b instanceof H.HTMLElement)b.inert=a;else if(a)b.setAttribute("aria-hidden","true");else if(b.removeAttribute("aria-hidden"),b instanceof H.HTMLElement)b.inert=!1},N=new Set;if(yQ())for(let b of Q){let a=b;while(a&&a!==W){let t=a.getRootNode();if("shadowRoot"in t)N.add(t.shadowRoot);a=t.parentNode}}let M=(b)=>{for(let QZ of b.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))A.add(QZ);let a=(QZ)=>{if(L.has(QZ)||A.has(QZ)||QZ.parentElement&&L.has(QZ.parentElement)&&QZ.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let LZ of A)if(XX(QZ,LZ))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},t=vO(cZ(b),b,NodeFilter.SHOW_ELEMENT,{acceptNode:a}),qZ=a(b);if(qZ===NodeFilter.FILTER_ACCEPT)R(b);if(qZ!==NodeFilter.FILTER_REJECT){let QZ=t.nextNode();while(QZ!=null)R(QZ),QZ=t.nextNode()}},R=(b)=>{let a=eK.get(b)??0;if(O(b)&&a===0)return;if(a===0)I(b,!0);L.add(b),eK.set(b,a+1)};if(zJ.length)zJ[zJ.length-1].disconnect();M(W);let j=new MutationObserver((b)=>{for(let a of b){if(a.type!=="childList")continue;if(a.target.isConnected&&![...A,...L].some((t)=>XX(t,a.target))){for(let t of a.addedNodes)if((t instanceof HTMLElement||t instanceof SVGElement)&&PR(t))A.add(t);else if(t instanceof Element)M(t)}if(yQ()){for(let t of N)if(!t.isConnected){j.disconnect();break}}}});j.observe(W,{childList:!0,subtree:!0});let h=new Set;if(yQ())for(let b of N){let a=new MutationObserver((t)=>{for(let qZ of t){if(qZ.type!=="childList")continue;if(qZ.target.isConnected&&![...A,...L].some((QZ)=>XX(QZ,qZ.target))){for(let QZ of qZ.addedNodes)if((QZ instanceof HTMLElement||QZ instanceof SVGElement)&&PR(QZ))A.add(QZ);else if(QZ instanceof Element)M(QZ)}if(yQ()){for(let QZ of N)if(!QZ.isConnected){j.disconnect();break}}}});a.observe(b,{childList:!0,subtree:!0}),h.add(a)}let d={visibleNodes:A,hiddenNodes:L,observe(){j.observe(W,{childList:!0,subtree:!0})},disconnect(){j.disconnect()}};return zJ.push(d),()=>{if(j.disconnect(),yQ())for(let b of h)b.disconnect();for(let b of L){let a=eK.get(b);if(a==null)continue;if(a===1)I(b,!1),eK.delete(b);else eK.set(b,a-1)}if(d===zJ[zJ.length-1]){if(zJ.pop(),zJ.length)zJ[zJ.length-1].observe()}else zJ.splice(zJ.indexOf(d),1)}}var ay,eK,zJ;var $R=C(()=>{_6();$Y();dX();oA();ay=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;eK=new WeakMap,zJ=[]});function ER(Q){let{ref:q,onInteractOutside:H,isDisabled:_,onInteractOutsideStart:W}=Q,K=uO.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),A=SY((O)=>{if(H&&SR(O,q)){if(W)W(O);K.current.isPointerDown=!0}}),L=SY((O)=>{if(H)H(O)});uO.useEffect(()=>{let O=K.current;if(_)return;let I=q.current,N=cZ(I);if(typeof PointerEvent<"u"){let M=(R)=>{if(O.isPointerDown&&SR(R,q))L(R);O.isPointerDown=!1};return N.addEventListener("pointerdown",A,!0),N.addEventListener("click",M,!0),()=>{N.removeEventListener("pointerdown",A,!0),N.removeEventListener("click",M,!0)}}},[q,_])}function SR(Q,q){if(Q.button>0)return!1;let H=KZ(Q);if(H){let _=H.ownerDocument;if(!_||!XX(_.documentElement,H))return!1;if(H.closest("[data-react-aria-top-layer]"))return!1}if(!q.current)return!1;return!Q.composedPath().includes(q.current)}var uO;var kR=C(()=>{dX();$Y();TH();uO=f(ZZ(),1)});function xR(Q,q){let{onClose:H,shouldCloseOnBlur:_,isOpen:W,isDismissable:K=!1,isKeyboardDismissDisabled:A=!1,shouldCloseOnInteractOutside:L}=Q,O=dO.useRef(void 0);dO.useEffect(()=>{if(W&&!Aq.includes(q))return Aq.push(q),()=>{let h=Aq.indexOf(q);if(h>=0)Aq.splice(h,1)}},[W,q]);let I=()=>{if(Aq[Aq.length-1]===q&&H)H()},N=(h)=>{let d=Aq[Aq.length-1];if(O.current=d,!L||L(KZ(h))){if(d===q)h.stopPropagation()}},M=(h)=>{if(!L||L(KZ(h))){if(Aq[Aq.length-1]===q)h.stopPropagation();if(O.current===q)I()}O.current=void 0},R=(h)=>{if(h.key==="Escape"&&!A&&!h.nativeEvent.isComposing)h.stopPropagation(),h.preventDefault(),I()};ER({ref:q,onInteractOutside:K&&W?M:void 0,onInteractOutsideStart:N});let{focusWithinProps:j}=WW({isDisabled:!_,onBlurWithin:(h)=>{if(!h.relatedTarget||pV(h.relatedTarget))return;if(!L||L(h.relatedTarget))H?.()}});return{overlayProps:{onKeyDown:R,...j},underlayProps:{}}}var dO,Aq;var yR=C(()=>{dX();iK();AO();kR();dO=f(ZZ(),1),Aq=[]});function bR(Q={}){let{isDisabled:q}=Q;dZ(()=>{if(q)return;if(cO++,cO===1)if(CJ())R6=ry();else R6=oy();return()=>{if(cO--,cO===0)R6()}},[q])}function oy(){let Q=window.innerWidth-document.documentElement.clientWidth;return wJ(Q>0&&("scrollbarGutter"in document.documentElement.style?pO(document.documentElement,"scrollbarGutter","stable"):pO(document.documentElement,"paddingRight",`${Q}px`)),pO(document.documentElement,"overflow","hidden"))}function ry(){let Q=pO(document.documentElement,"overflow","hidden"),q,H=!1,_=(N)=>{let M=KZ(N);q=Lq(M)?M:rK(M,!0),H=!1;let R=M.ownerDocument.defaultView.getSelection();if(R&&!R.isCollapsed&&R.containsNode(M,!0))H=!0;if(N.composedPath().some((j)=>j instanceof HTMLInputElement&&j.type==="range"))H=!0;if("selectionStart"in M&&"selectionEnd"in M&&M.selectionStart<M.selectionEnd&&M.ownerDocument.activeElement===M)H=!0},W=document.createElement("style"),K=LO();if(K)W.nonce=K;W.textContent=`
242
242
  @layer {
243
243
  * {
244
244
  overscroll-behavior: contain;
245
245
  }
246
- }`.trim(),document.head.prepend(W);let A=(N)=>{if(N.touches.length===2||z)return;if(!q||q===document.documentElement||q===document.body){N.preventDefault();return}if(q.scrollHeight===q.clientHeight&&q.scrollWidth===q.clientWidth)N.preventDefault()},L=(N)=>{let M=KZ(N),R=N.relatedTarget;if(R&&Pz(R))R.focus({preventScroll:!0}),vR(R,Pz(M));else if(!R)M.parentElement?.closest("[tabindex]")?.focus({preventScroll:!0})},O=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(N){let M=KX(),R=M!=null&&Pz(M);if(O.call(this,{...N,preventScroll:!0}),!N||!N.preventScroll)vR(this,R)};let I=wJ(j6(document,"touchstart",_,{passive:!1,capture:!0}),j6(document,"touchmove",A,{passive:!1,capture:!0}),j6(document,"blur",L,!0));return()=>{Q(),I(),W.remove(),HTMLElement.prototype.focus=O}}function pO(Q,q,z){let _=Q.style[q];return Q.style[q]=z,()=>{Q.style[q]=_}}function j6(Q,q,z,_){return Q.addEventListener(q,z,_),()=>{Q.removeEventListener(q,z,_)}}function vR(Q,q){if(q||!ZB)hR(Q);else ZB.addEventListener("resize",()=>hR(Q),{once:!0})}function hR(Q){let q=document.scrollingElement||document.documentElement,z=Q;while(z&&z!==q){let _=rK(z);if(_!==document.documentElement&&_!==document.body&&_!==z){let W=_.getBoundingClientRect(),K=z.getBoundingClientRect();if(K.top<W.top||K.bottom>W.top+z.clientHeight){let A=W.bottom;if(ZB)A=Math.min(A,ZB.offsetTop+ZB.height);let L=K.top-W.top-((A-W.top)/2-K.height/2);_.scrollTo({top:Math.max(0,Math.min(_.scrollHeight-_.clientHeight,_.scrollTop+L)),behavior:"smooth"})}}z=_.parentElement}}var ZB,cO=0,R6;var gR=C(()=>{t_();dX();E3();T6();QJ();sK();CY();pK();ZB=typeof document<"u"&&window.visualViewport});var C6;var mR=C(()=>{C6={};C6={dismiss:"تجاهل"}});var P6;var fR=C(()=>{P6={};P6={dismiss:"Отхвърляне"}});var D6;var uR=C(()=>{D6={};D6={dismiss:"Odstranit"}});var $6;var dR=C(()=>{$6={};$6={dismiss:"Luk"}});var S6;var cR=C(()=>{S6={};S6={dismiss:"Schließen"}});var E6;var pR=C(()=>{E6={};E6={dismiss:"Απόρριψη"}});var k6;var lR=C(()=>{k6={};k6={dismiss:"Dismiss"}});var x6;var iR=C(()=>{x6={};x6={dismiss:"Descartar"}});var y6;var nR=C(()=>{y6={};y6={dismiss:"Lõpeta"}});var v6;var sR=C(()=>{v6={};v6={dismiss:"Hylkää"}});var h6;var aR=C(()=>{h6={};h6={dismiss:"Rejeter"}});var b6;var oR=C(()=>{b6={};b6={dismiss:"התעלם"}});var g6;var rR=C(()=>{g6={};g6={dismiss:"Odbaci"}});var m6;var tR=C(()=>{m6={};m6={dismiss:"Elutasítás"}});var f6;var eR=C(()=>{f6={};f6={dismiss:"Ignora"}});var u6;var Zj=C(()=>{u6={};u6={dismiss:"閉じる"}});var d6;var Xj=C(()=>{d6={};d6={dismiss:"무시"}});var c6;var Yj=C(()=>{c6={};c6={dismiss:"Atmesti"}});var p6;var Qj=C(()=>{p6={};p6={dismiss:"Nerādīt"}});var l6;var Jj=C(()=>{l6={};l6={dismiss:"Lukk"}});var i6;var qj=C(()=>{i6={};i6={dismiss:"Negeren"}});var n6;var Gj=C(()=>{n6={};n6={dismiss:"Zignoruj"}});var s6;var Hj=C(()=>{s6={};s6={dismiss:"Descartar"}});var a6;var zj=C(()=>{a6={};a6={dismiss:"Dispensar"}});var o6;var _j=C(()=>{o6={};o6={dismiss:"Revocare"}});var r6;var Wj=C(()=>{r6={};r6={dismiss:"Пропустить"}});var t6;var Uj=C(()=>{t6={};t6={dismiss:"Zrušiť"}});var e6;var Kj=C(()=>{e6={};e6={dismiss:"Opusti"}});var Z5;var Bj=C(()=>{Z5={};Z5={dismiss:"Odbaci"}});var X5;var Lj=C(()=>{X5={};X5={dismiss:"Avvisa"}});var Y5;var Aj=C(()=>{Y5={};Y5={dismiss:"Kapat"}});var Q5;var Oj=C(()=>{Q5={};Q5={dismiss:"Скасувати"}});var J5;var Fj=C(()=>{J5={};J5={dismiss:"取消"}});var q5;var Mj=C(()=>{q5={};q5={dismiss:"關閉"}});var G5;var Nj=C(()=>{mR();fR();uR();dR();cR();pR();lR();iR();nR();sR();aR();oR();rR();tR();eR();Zj();Xj();Yj();Qj();Jj();qj();Gj();Hj();zj();_j();Wj();Uj();Kj();Bj();Lj();Aj();Oj();Fj();Mj();G5={};G5={"ar-AE":C6,"bg-BG":P6,"cs-CZ":D6,"da-DK":$6,"de-DE":S6,"el-GR":E6,"en-US":k6,"es-ES":x6,"et-EE":y6,"fi-FI":v6,"fr-FR":h6,"he-IL":b6,"hr-HR":g6,"hu-HU":m6,"it-IT":f6,"ja-JP":u6,"ko-KR":d6,"lt-LT":c6,"lv-LV":p6,"nb-NO":l6,"nl-NL":i6,"pl-PL":n6,"pt-BR":s6,"pt-PT":a6,"ro-RO":o6,"ru-RU":r6,"sk-SK":t6,"sl-SI":e6,"sr-SP":Z5,"sv-SE":X5,"tr-TR":Y5,"uk-UA":Q5,"zh-CN":J5,"zh-TW":q5}});function ty(Q){return Q&&Q.__esModule?Q.default:Q}function z5(Q){let{onDismiss:q,...z}=Q,_=jV(ty(G5),"@react-aria/overlays"),W=tG(z,_.format("dismiss")),K=()=>{if(q)q()};return H5.default.createElement(ZV,null,H5.default.createElement("button",{...W,tabIndex:-1,onClick:K,style:{width:1,height:1}}))}var H5;var Ij=C(()=>{Nj();VK();CV();XV();H5=f(ZZ(),1)});function Tj({children:Q}){let q=Ez.useMemo(()=>({register:()=>{}}),[]);return Ez.default.createElement(xK.Provider,{value:q},Q)}var Ez;var wj=C(()=>{k3();Ez=f(ZZ(),1)});function Vj(){return XB.useContext(ey)??{}}var XB,ey;var Rj=C(()=>{XB=f(ZZ(),1),ey=XB.createContext({})});function _5(Q){let q=sY(),{portalContainer:z=q?null:document.body,isExiting:_}=Q,[W,K]=$J.useState(!1),A=$J.useMemo(()=>({contain:W,setContain:K}),[W,K]),{getContainer:L}=Vj();if(!Q.portalContainer&&L)z=L();if(!z)return null;let O=Q.children;if(!Q.disableFocusManagement)O=$J.default.createElement(dV,{restoreFocus:!0,contain:(Q.shouldContainFocus||W)&&!_},O);return O=$J.default.createElement(Cj.Provider,{value:A},$J.default.createElement(Tj,null,O)),jj.default.createPortal(O,z)}function Pj(){let q=$J.useContext(Cj)?.setContain;dZ(()=>{q?.(!0)},[q])}var $J,jj,Cj;var W5=C(()=>{wj();iK();aG();CY();Rj();$J=f(ZZ(),1),jj=f(lq(),1),Cj=$J.default.createContext(null)});var Dj=C(()=>{Ij();W5()});function U5(Q){let[q,z]=jz(Q.isOpen,Q.defaultOpen||!1,Q.onOpenChange),_=lO.useCallback(()=>{z(!0)},[z]),W=lO.useCallback(()=>{z(!1)},[z]),K=lO.useCallback(()=>{z(!q)},[z,q]);return{isOpen:q,setOpen:z,open:_,close:W,toggle:K}}var lO;var $j=C(()=>{IO();lO=f(ZZ(),1)});var Sj=C(()=>{$j()});function RW(Q,q=!0){let[z,_]=VW.useState(!0),W=z&&q;return dZ(()=>{if(W&&Q.current&&"getAnimations"in Q.current){for(let K of Q.current.getAnimations())if(K instanceof CSSTransition)K.cancel()}},[Q,W]),kj(Q,W,VW.useCallback(()=>_(!1),[])),W}function jW(Q,q){let[z,_]=VW.useState(q?"open":"closed");switch(z){case"open":if(!q)_("exiting");break;case"closed":case"exiting":if(q)_("open");break}let W=z==="exiting";return kj(Q,W,VW.useCallback(()=>{_((K)=>K==="exiting"?"closed":K)},[])),W}function kj(Q,q,z){dZ(()=>{if(q&&Q.current){if(!("getAnimations"in Q.current)){z();return}let _=Q.current.getAnimations();if(_.length===0){z();return}let W=!1;return Promise.allSettled(_.map((K)=>K.finished)).then(()=>{if(!W)Ej.flushSync(()=>{z()})}),()=>{W=!0}}},[Q,q,z])}var Ej,VW;var xj=C(()=>{CY();Ej=f(lq(),1),VW=f(ZZ(),1)});var K5=C(()=>{xj()});var iO,yj;var vj=C(()=>{iO=f(ZZ(),1),yj=iO.createContext({})});var hj;var bj=C(()=>{hj=new WeakMap});function L5(Q,q,z){let{id:_,key:W,closeOnSelect:K,shouldCloseOnSelect:A,isVirtualized:L,"aria-haspopup":O,onPressStart:I,onPressUp:N,onPress:M,onPressChange:R,onPressEnd:j,onClick:h,onHoverStart:d,onHoverChange:b,onHoverEnd:a,onKeyDown:t,onKeyUp:qZ,onFocus:QZ,onFocusChange:LZ,onBlur:kZ,selectionManager:JZ=q.selectionManager}=Q,l=!!O,OZ=l&&Q["aria-expanded"]==="true",n=Q.isDisabled??JZ.isDisabled(W),wZ=Q.isSelected??JZ.isSelected(W),WZ=hj.get(q),HZ=q.collection.getItem(W),v=Q.onClose||WZ.onClose,m=Az(),E=()=>{if(l)return;if(HZ?.props?.onAction)HZ.props.onAction();else if(Q.onAction)Q.onAction(W);if(WZ.onAction){let PZ=WZ.onAction;PZ(W)}},g="menuitem";if(!l){if(JZ.selectionMode==="single")g="menuitemradio";else if(JZ.selectionMode==="multiple")g="menuitemcheckbox"}let e=_q(),p=_q(),w=_q(),o={id:_,"aria-disabled":n||void 0,role:g,"aria-label":Q["aria-label"],"aria-labelledby":e,"aria-describedby":[Q["aria-describedby"],p,w].filter(Boolean).join(" ")||void 0,"aria-controls":Q["aria-controls"],"aria-haspopup":O,"aria-expanded":Q["aria-expanded"]};if(JZ.selectionMode!=="none"&&!l)o["aria-checked"]=wZ;if(L){let PZ=Number(HZ?.index);o["aria-posinset"]=Number.isNaN(PZ)?void 0:PZ+1,o["aria-setsize"]=oK(q.collection)}let AZ=B5.useRef(!1),VZ=(PZ)=>{R?.(PZ),AZ.current=PZ},vZ=B5.useRef(null),JX=(PZ)=>{if(PZ.pointerType!=="keyboard")vZ.current={pointerType:PZ.pointerType};if(PZ.pointerType==="mouse"){if(!AZ.current)PZ.target.click()}N?.(PZ)},NZ=(PZ)=>{h?.(PZ),E(),Mw(PZ,m,HZ.props.href,HZ?.props.routerOptions);let Fq=vZ.current?.pointerType==="keyboard"?vZ.current?.key==="Enter"||JZ.selectionMode==="none"||JZ.isLink(W):JZ.selectionMode!=="multiple"||JZ.isLink(W);if(Fq=A??K??Fq,v&&!l&&Fq)v();vZ.current=null},{itemProps:YX,isFocused:TX}=TW({id:_,selectionManager:JZ,key:W,ref:z,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:WZ.shouldUseVirtualFocus}),{pressProps:BX,isPressed:Oq}=qH({onPressStart:I,onPress:M,onPressUp:JX,onPressChange:VZ,onPressEnd:j,isDisabled:n}),{hoverProps:UZ}=SY({isDisabled:n,onHoverStart(PZ){if(!Kq()&&!(OZ&&O))JZ.setFocused(!0),JZ.setFocusedKey(W);d?.(PZ)},onHoverChange:b,onHoverEnd:a}),{keyboardProps:KQ}=Iz({onKeyDown:(PZ)=>{if(PZ.repeat){PZ.continuePropagation();return}switch(PZ.key){case" ":vZ.current={pointerType:"keyboard",key:" "},KZ(PZ).click(),EK("keyboard");break;case"Enter":if(vZ.current={pointerType:"keyboard",key:"Enter"},KZ(PZ).tagName!=="A")KZ(PZ).click();EK("keyboard");break;default:if(!l)PZ.continuePropagation();t?.(PZ);break}},onKeyUp:qZ}),{focusableProps:BQ}=YH({onBlur:kZ,onFocus:QZ,onFocusChange:LZ},z),yY=HX(HZ?.props);delete yY.id;let oX=qW(HZ?.props);return{menuItemProps:{...o,...CZ(yY,oX,l?{onFocus:YX.onFocus,"data-collection":YX["data-collection"],"data-key":YX["data-key"]}:YX,BX,UZ,KQ,BQ,WZ.shouldUseVirtualFocus||l?{onMouseDown:(PZ)=>PZ.preventDefault()}:void 0,n?void 0:{onClick:NZ}),tabIndex:YX.tabIndex!=null&&OZ&&!WZ.shouldUseVirtualFocus?-1:YX.tabIndex},labelProps:{id:e},descriptionProps:{id:p},keyboardShortcutProps:{id:w},isFocused:TX,isFocusVisible:TX&&JZ.isFocused&&Kq()&&!OZ,isSelected:wZ,isPressed:Oq,isDisabled:n}}var B5;var gj=C(()=>{rG();dX();eG();ZH();bj();PY();HW();FO();WO();hK();fO();YJ();M6();B5=f(ZZ(),1)});var mj=C(()=>{gj()});var zQ,uj,Zv,Xv,fj,kz;var dj=C(()=>{qQ();Y6();vj();xO();BW();mj();cK();uK();Uq();VJ();Vz();ZW();zQ=f(ZZ(),1),uj=zQ.createContext(null),Zv=zQ.createContext(null);Xv=class Xv extends hQ{static{this.type="submenutrigger"}filter(Q,q,z){let _=Q.getItem(this.firstChildKey);if(_&&z(_.textValue,this)){let W=this.clone();return q.addDescendants(W,Q),W}return null}};fj=zQ.createContext(null),kz=Bq(FW,function(q,z,_){[q,z]=fX(q,z,fj);let W=Uz(fj)?.id,K=zQ.useContext(uj),A=JQ(z),L=zQ.useContext(Zv),{isVirtualized:O}=zQ.useContext(dK),{menuItemProps:I,labelProps:N,descriptionProps:M,keyboardShortcutProps:R,...j}=L5({...q,id:W,key:_.key,selectionManager:L,isVirtualized:O},K,A),{hoverProps:h,isHovered:d}=SY({isDisabled:j.isDisabled}),b=yX({...q,id:void 0,children:_.rendered,defaultClassName:"react-aria-MenuItem",values:{...j,isHovered:d,isFocusVisible:j.isFocusVisible,selectionMode:L.selectionMode,selectionBehavior:L.selectionBehavior,hasSubmenu:!!q["aria-haspopup"],isOpen:q["aria-expanded"]==="true"}}),a=q.href?LX.a:LX.div,t=HX(q,{global:!0});return delete t.id,delete t.onClick,zQ.default.createElement(a,{...CZ(t,b,I,h),ref:A,"data-disabled":j.isDisabled||void 0,"data-hovered":d||void 0,"data-focused":j.isFocused||void 0,"data-focus-visible":j.isFocusVisible||void 0,"data-pressed":j.isPressed||void 0,"data-selected":j.isSelected||void 0,"data-selection-mode":L.selectionMode==="none"?void 0:L.selectionMode,"data-has-submenu":!!q["aria-haspopup"]||void 0,"data-open":q["aria-expanded"]==="true"||void 0},zQ.default.createElement(xQ,{values:[[HH,{slots:{[Wz]:N,label:N,description:M}}],[yj,R],[IW,{isSelected:j.isSelected}]]},b.children))})});var CW,nO;var cj=C(()=>{CW=f(ZZ(),1),nO=CW.createContext(null)});var pj=C(()=>{IO()});function A5(Q,q){let{inputElementType:z="input",isDisabled:_=!1,isRequired:W=!1,isReadOnly:K=!1,type:A="text",validationBehavior:L="aria"}=Q,[O,I]=jz(Q.value,Q.defaultValue||"",Q.onChange),{focusableProps:N}=YH(Q,q),M=p3({...Q,value:O}),{isInvalid:R,validationErrors:j,validationDetails:h}=M.displayValidation,{labelProps:d,fieldProps:b,descriptionProps:a,errorMessageProps:t}=iw({...Q,isInvalid:R,errorMessage:Q.errorMessage||j}),qZ=HX(Q,{labelable:!0}),QZ={type:A,pattern:Q.pattern},[LZ]=sO.useState(O);return aw(q,Q.defaultValue??LZ,I),rw(Q,M,q),{labelProps:d,inputProps:CZ(qZ,z==="input"?QZ:void 0,{disabled:_,readOnly:K,required:W&&L==="native","aria-required":W&&L==="aria"||void 0,"aria-invalid":R||void 0,"aria-errormessage":Q["aria-errormessage"],"aria-activedescendant":Q["aria-activedescendant"],"aria-autocomplete":Q["aria-autocomplete"],"aria-haspopup":Q["aria-haspopup"],"aria-controls":Q["aria-controls"],value:O,onChange:(kZ)=>I(KZ(kZ).value),autoComplete:Q.autoComplete,autoCapitalize:Q.autoCapitalize,maxLength:Q.maxLength,minLength:Q.minLength,name:Q.name,form:Q.form,placeholder:Q.placeholder,inputMode:Q.inputMode,autoCorrect:Q.autoCorrect,spellCheck:Q.spellCheck,[parseInt(sO.default.version,10)>=17?"enterKeyHint":"enterkeyhint"]:Q.enterKeyHint,onCopy:Q.onCopy,onCut:Q.onCut,onPaste:Q.onPaste,onCompositionEnd:Q.onCompositionEnd,onCompositionStart:Q.onCompositionStart,onCompositionUpdate:Q.onCompositionUpdate,onSelect:Q.onSelect,onBeforeInput:Q.onBeforeInput,onInput:Q.onInput,...N,...b}),descriptionProps:a,errorMessageProps:t,isInvalid:R,validationErrors:j,validationDetails:h}}var sO;var lj=C(()=>{rG();dX();PY();nw();HW();ow();tw();pj();cw();sO=f(ZZ(),1)});function O5(Q,q,z){let{isDisabled:_}=Q,W=aX(),K=aX(),A=sY(),L=xz.useRef(null),O=xz.useCallback(()=>{L.current=requestAnimationFrame(()=>{if(z.current)z.current.setAttribute("hidden","until-found")}),ij.flushSync(()=>{q.toggle()})},[z,q]);Dz(z,"beforematch",O);let I=xz.useRef(null);return dZ(()=>{if(L.current)cancelAnimationFrame(L.current);if(z.current&&!A){let N=z.current;if(I.current==null||typeof N.getAnimations!=="function")if(q.isExpanded)N.removeAttribute("hidden"),N.style.setProperty("--disclosure-panel-width","auto"),N.style.setProperty("--disclosure-panel-height","auto");else N.setAttribute("hidden","until-found"),N.style.setProperty("--disclosure-panel-width","0px"),N.style.setProperty("--disclosure-panel-height","0px");else if(q.isExpanded!==I.current)if(q.isExpanded)N.removeAttribute("hidden"),N.style.setProperty("--disclosure-panel-width",N.scrollWidth+"px"),N.style.setProperty("--disclosure-panel-height",N.scrollHeight+"px"),Promise.all(N.getAnimations().map((M)=>M.finished)).then(()=>{N.style.setProperty("--disclosure-panel-width","auto"),N.style.setProperty("--disclosure-panel-height","auto")}).catch(()=>{});else N.style.setProperty("--disclosure-panel-width",N.scrollWidth+"px"),N.style.setProperty("--disclosure-panel-height",N.scrollHeight+"px"),window.getComputedStyle(N).height,N.style.setProperty("--disclosure-panel-width","0px"),N.style.setProperty("--disclosure-panel-height","0px"),Promise.all(N.getAnimations().map((M)=>M.finished)).then(()=>N.setAttribute("hidden","until-found")).catch(()=>{});I.current=q.isExpanded}},[_,z,q.isExpanded,A]),xz.useEffect(()=>{return()=>{if(L.current)cancelAnimationFrame(L.current)}},[]),{buttonProps:{id:W,"aria-expanded":q.isExpanded,"aria-controls":K,onPress:(N)=>{if(!_&&N.pointerType!=="keyboard")q.toggle()},isDisabled:_,onPressStart(N){if(N.pointerType==="keyboard"&&!_)q.toggle()}},panelProps:{id:K,role:"group","aria-labelledby":W,"aria-hidden":!q.isExpanded,hidden:A?!q.isExpanded:void 0}}}var ij,xz;var nj=C(()=>{q6();YJ();aG();CY();ij=f(lq(),1),xz=f(ZZ(),1)});var sj=C(()=>{nj()});function F5(Q){let[q,z]=jz(Q.isExpanded,Q.defaultExpanded||!1,Q.onExpandedChange),_=aO.useCallback(()=>{z(!0)},[z]),W=aO.useCallback(()=>{z(!1)},[z]),K=aO.useCallback(()=>{z(!q)},[z,q]);return{isExpanded:q,setExpanded:z,expand:_,collapse:W,toggle:K}}var aO;var aj=C(()=>{IO();aO=f(ZZ(),1)});var oj=C(()=>{aj()});var EY,rj,tj,ej,ZC,M5,N5;var XC=C(()=>{g3();qQ();sj();oj();Uq();VJ();fA();UW();b3();EY=f(ZZ(),1),rj=EY.createContext(null),tj=EY.createContext(null),ej=EY.createContext(null),ZC=EY.createContext(null),M5=EY.forwardRef(function(q,z){[q,z]=fX(q,z,tj);let _=EY.useContext(rj),{id:W,...K}=q,A=aX();W||=A;let L=_?_.expandedKeys.has(W):q.isExpanded,O=F5({...q,isExpanded:L,onExpandedChange(a){if(_)_.toggleKey(W);q.onExpandedChange?.(a)}}),I=EY.default.useRef(null),N=q.isDisabled||_?.isDisabled||!1,{buttonProps:M,panelProps:R}=O5({...q,isExpanded:L,isDisabled:N},O,I),{isFocusVisible:j,focusProps:h}=vQ({within:!0}),d=yX({...q,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:O.isExpanded,isDisabled:N,isFocusVisibleWithin:j,state:O}}),b=HX(K,{global:!0});return EY.default.createElement(xQ,{values:[[gK,{slots:{[Wz]:{},trigger:M}}],[ZC,{panelProps:R,panelRef:I}],[ej,O]]},EY.default.createElement(LX.div,{...CZ(b,d,h),ref:z,"data-expanded":O.isExpanded||void 0,"data-disabled":N||void 0,"data-focus-visible-within":j||void 0},d.children))}),N5=EY.forwardRef(function(q,z){let{role:_="group"}=q,{panelProps:W,panelRef:K}=EY.useContext(ZC),{isFocusVisible:A,focusProps:L}=vQ({within:!0}),O=yX({...q,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:A}}),I=HX(q,{global:!0,labelable:!0});return EY.default.createElement(LX.div,{...CZ(I,O,W,L),ref:Wq(z,K),role:_,"data-focus-visible-within":A||void 0},EY.default.createElement(xQ,{values:[[gK,null]]},q.children))})});function I5(Q,q,z){let{overlayProps:_,underlayProps:W}=xR({...Q,isOpen:q.isOpen,onClose:q.close},z);return bR({isDisabled:!q.isOpen}),Pj(),YC.useEffect(()=>{if(q.isOpen&&z.current)return DR([z.current],{shouldUseInert:!0})},[q.isOpen,z]),{modalProps:CZ(_),underlayProps:W}}var YC;var QC=C(()=>{$R();yR();PY();W5();gR();YC=f(ZZ(),1)});var JC=C(()=>{QC()});var qC=C(()=>{sK()});var GC=C(()=>{aG()});function w5(){let Q=sY(),[q,z]=oO.useState(()=>Q?{width:0,height:0}:T5());return oO.useEffect(()=>{let _=(L)=>{z((O)=>{if(L.width===O.width&&L.height===O.height)return O;return L})},W=()=>{if(_Q&&_Q.scale>1)return;_(T5())},K,A=(L)=>{if(_Q&&_Q.scale>1)return;if(Pz(KZ(L)))K=requestAnimationFrame(()=>{let O=KX();if(!O||!Pz(O))_({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})})};if(_(T5()),CJ())window.addEventListener("blur",A,!0);if(!_Q)window.addEventListener("resize",W);else _Q.addEventListener("resize",W);return()=>{if(cancelAnimationFrame(K),CJ())window.removeEventListener("blur",A,!0);if(!_Q)window.removeEventListener("resize",W);else _Q.removeEventListener("resize",W)}},[]),q}function T5(){return{width:_Q?Math.min(_Q.width*_Q.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:_Q?_Q.height*_Q.scale:document.documentElement.clientHeight}}var oO,_Q;var HC=C(()=>{dX();QJ();aG();pK();oO=f(ZZ(),1),_Q=typeof document<"u"&&window.visualViewport});var zC=C(()=>{HC()});function Yv(Q,q){[Q,q]=fX(Q,q,WC);let z=vX.useContext(nO),_=U5(Q),W=Q.isOpen!=null||Q.defaultOpen!=null||!z?_:z;if(W===z){if(Q.onOpenChange||Q.defaultOpen!==void 0||Q.isOpen!==void 0)console.warn("This modals state is controlled by a trigger, place onOpenChange on the trigger instead.")}let K=JQ(q),A=vX.useRef(null),L=jW(K,W.isOpen),O=jW(A,W.isOpen),I=L||O||Q.isExiting||!1,N=sY();if(!W.isOpen&&!I||N)return null;return vX.default.createElement(Qv,{...Q,state:W,isExiting:I,overlayRef:K,modalRef:A})}function Qv({UNSTABLE_portalContainer:Q,...q}){let z=q.modalRef,{state:_}=q,{modalProps:W,underlayProps:K}=I5(q,_,z),A=RW(q.overlayRef)||q.isEntering||!1,L=yX({...q,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:A,isExiting:q.isExiting,state:_}}),O=w5(),I=void 0,N=void 0;if(typeof document<"u"){let R=Lq(document.body)?document.body:document.scrollingElement||document.documentElement,j=R.getBoundingClientRect().width%1,h=R.getBoundingClientRect().height%1;I=R.scrollWidth-j,N=R.scrollHeight-h}let M={...L.style,"--visual-viewport-width":O.width+"px","--visual-viewport-height":O.height+"px","--page-width":I!==void 0?I+"px":void 0,"--page-height":N!==void 0?N+"px":void 0};return vX.default.createElement(_5,{isExiting:q.isExiting,portalContainer:Q},vX.default.createElement(LX.div,{...CZ(HX(q,{global:!0}),K),...L,style:M,ref:q.overlayRef,"data-entering":A||void 0,"data-exiting":q.isExiting||void 0},vX.default.createElement(xQ,{values:[[V5,{modalProps:W,modalRef:z,isExiting:q.isExiting,isDismissable:q.isDismissable}],[nO,_]]},L.children)))}function _C(Q){let{modalProps:q,modalRef:z,isExiting:_,isDismissable:W}=vX.useContext(V5),K=vX.useContext(nO),A=vX.useMemo(()=>Wq(Q.modalRef,z),[Q.modalRef,z]),L=JQ(A),O=RW(L),I=yX({...Q,defaultClassName:"react-aria-Modal",values:{isEntering:O,isExiting:_,state:K}});return vX.default.createElement(LX.div,{...CZ(HX(Q,{global:!0}),q),...I,ref:L,"data-entering":O||void 0,"data-exiting":_||void 0},W&&vX.default.createElement(z5,{onDismiss:K.close}),I.children)}var vX,WC,V5,R5,rO;var UC=C(()=>{qQ();cj();JC();Dj();Uq();qC();VJ();fA();Sj();K5();GC();ZW();zC();vX=f(ZZ(),1),WC=vX.createContext(null),V5=vX.createContext(null),R5=vX.forwardRef(function(q,z){if(vX.useContext(V5)){if(q.onOpenChange||q.defaultOpen!==void 0||q.isOpen!==void 0){let d=new Set(["isDismissable","isKeyboardDismissDisabled","isOpen","defaultOpen","onOpenChange","isEntering","isExiting","UNSTABLE_portalContainer","shouldCloseOnInteractOutside"]),b=Object.keys(q).filter((a)=>d.has(a));console.warn(`This modal is already wrapped in a ModalOverlay, props [${b.join(", ")}] should be placed on the ModalOverlay instead.`)}return vX.default.createElement(_C,{...q,modalRef:z},q.children)}let{isDismissable:W,isKeyboardDismissDisabled:K,isOpen:A,defaultOpen:L,onOpenChange:O,children:I,isEntering:N,isExiting:M,UNSTABLE_portalContainer:R,shouldCloseOnInteractOutside:j,...h}=q;return vX.default.createElement(rO,{isDismissable:W,isKeyboardDismissDisabled:K,isOpen:A,defaultOpen:L,onOpenChange:O,isEntering:N,isExiting:M,UNSTABLE_portalContainer:R,shouldCloseOnInteractOutside:j},vX.default.createElement(_C,{...h,modalRef:z},I))});rO=vX.forwardRef(Yv)});function PW(Q,q,z){if(!Q)return"";if(typeof q==="string")q=q.replace(/\s+/g,"");let _=j5.get(Q);if(!_)console.error("There is no tab id, please check if you have rendered the tab panel before the tab list.");return`${_}-${z}-${q}`}var j5;var tO=C(()=>{j5=new WeakMap});function C5(Q,q,z){let{key:_,isDisabled:W,shouldSelectOnPressUp:K}=Q,{selectionManager:A,selectedKey:L}=q,O=_===L,I=W||q.isDisabled||q.selectionManager.isDisabled(_),N=q.collection.getItem(_),{itemProps:M,isPressed:R}=TW({selectionManager:A,key:_,ref:z,isDisabled:I,shouldSelectOnPressUp:K??N?.props.href!=null,linkBehavior:"selection"}),j=PW(q,_,"tab"),h=PW(q,_,"tabpanel"),{tabIndex:d}=M,b=HX(N?.props,{labelable:!0});delete b.id;let a=qW(N?.props),{focusableProps:t}=YH({...N?.props,isDisabled:I},z);return{tabProps:CZ(b,t,a,M,{id:j,"aria-selected":O,"aria-disabled":I||void 0,"aria-controls":O?h:void 0,tabIndex:I?void 0:d,role:"tab"}),isSelected:O,isDisabled:I,isPressed:R}}var KC=C(()=>{rG();tO();PY();HW();eG();fO()});function LC(Q,q){let z=q?.isDisabled,[_,W]=BC.useState(!1);return dZ(()=>{if(Q?.current&&!z){let K=()=>{if(Q.current){let L=qJ(Q.current,{tabbable:!0});W(!!L.nextNode())}};K();let A=new MutationObserver(K);return A.observe(Q.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{A.disconnect()}}}),z?!1:_}var BC;var AC=C(()=>{iK();CY();BC=f(ZZ(),1)});function P5(Q,q,z){let _=LC(z)?void 0:0,W=PW(q,Q.id??q?.selectedKey,"tabpanel"),K=tG({...Q,id:W,"aria-labelledby":PW(q,q?.selectedKey,"tab")});return{tabPanelProps:CZ(K,{tabIndex:_,role:"tabpanel","aria-describedby":Q["aria-describedby"],"aria-details":Q["aria-details"]})}}var OC=C(()=>{tO();PY();AC();VK()});class D5{constructor(Q,q,z,_=new Set){this.collection=Q,this.flipDirection=q==="rtl"&&z==="horizontal",this.disabledKeys=_,this.tabDirection=z==="horizontal"}getKeyLeftOf(Q){if(this.flipDirection)return this.getNextKey(Q);return this.getPreviousKey(Q)}getKeyRightOf(Q){if(this.flipDirection)return this.getPreviousKey(Q);return this.getNextKey(Q)}isDisabled(Q){return this.disabledKeys.has(Q)||!!this.collection.getItem(Q)?.props?.isDisabled}getFirstKey(){let Q=this.collection.getFirstKey();if(Q!=null&&this.isDisabled(Q))Q=this.getNextKey(Q);return Q}getLastKey(){let Q=this.collection.getLastKey();if(Q!=null&&this.isDisabled(Q))Q=this.getPreviousKey(Q);return Q}getKeyAbove(Q){if(this.tabDirection)return null;return this.getPreviousKey(Q)}getKeyBelow(Q){if(this.tabDirection)return null;return this.getNextKey(Q)}getNextKey(Q){let q=Q;do if(q=this.collection.getKeyAfter(q),q==null)q=this.collection.getFirstKey();while(q!=null&&this.isDisabled(q));return q}getPreviousKey(Q){let q=Q;do if(q=this.collection.getKeyBefore(q),q==null)q=this.collection.getLastKey();while(q!=null&&this.isDisabled(q));return q}}var FC=()=>{};function $5(Q,q,z){let{orientation:_="horizontal",keyboardActivation:W="automatic"}=Q,{collection:K,selectionManager:A,disabledKeys:L}=q,{direction:O}=YW(),I=MC.useMemo(()=>new D5(K,O,_,L),[K,L,_,O]),{collectionProps:N}=YR({ref:z,selectionManager:A,keyboardDelegate:I,selectOnFocus:W==="automatic",disallowEmptySelection:!0,scrollRef:z,linkBehavior:"selection"}),M=aX();j5.set(q,M);let R=tG({...Q,id:M});return{tabListProps:{...CZ(N,R),role:"tablist","aria-orientation":_,tabIndex:void 0}}}var MC;var NC=C(()=>{PY();tO();FC();YJ();VK();iA();QR();MC=f(ZZ(),1)});var IC=C(()=>{KC();OC();NC()});function Jv({props:Q,forwardedRef:q}){let z=NX.useContext(yz),{CollectionRoot:_}=NX.useContext(dK),{orientation:W="horizontal",keyboardActivation:K="automatic"}=Uz(S5),A=JQ(q),{tabListProps:L}=$5({...Q,orientation:W,keyboardActivation:K},z,A),O=yX({...Q,children:null,defaultClassName:"react-aria-TabList",values:{orientation:W,state:z}}),I=HX(Q,{global:!0});return delete I.id,NX.default.createElement(LX.div,{...CZ(I,O,L),ref:A,"data-orientation":W||void 0},NX.default.createElement($V,null,NX.default.createElement(_,{collection:z.collection,persistedKeys:X6(z.selectionManager.focusedKey)})))}function qv(Q){let q=NX.useContext(yz),{id:z,tabPanelRef:_,isInitiallySelected:W,isExiting:K,...A}=Q,{tabPanelProps:L}=P5(Q,q,_),{focusProps:O,isFocused:I,isFocusVisible:N}=vQ(),M=q.selectedKey===Q.id,R=RW(_)&&!W,j=yX({...Q,defaultClassName:"react-aria-TabPanel",values:{isFocused:I,isFocusVisible:N,isInert:wW(!M),isEntering:R,isExiting:K,state:q}}),h=HX(A,{global:!0});delete h.id;let d=M?CZ(h,L,O,j):CZ(h,j);return NX.default.createElement(LX.div,{...d,ref:_,"data-focused":I||void 0,"data-focus-visible":N||void 0,inert:wW(!M||Q.inert),"data-inert":!M?"true":void 0,"data-entering":R||void 0,"data-exiting":K||void 0},NX.default.createElement(xQ,{values:[[S5,null],[yz,null]]},NX.default.createElement(dK.Provider,{value:Z6},j.children)))}var NX,S5,yz,E5,TC,k5,x5;var wC=C(()=>{qQ();Y6();xO();SV();IC();MR();uK();cK();XW();Uq();I6();VJ();K5();UW();Vz();ZW();NX=f(ZZ(),1),S5=NX.createContext(null),yz=NX.createContext(null),E5=NX.forwardRef(function(q,z){return NX.useContext(yz)?NX.default.createElement(Jv,{props:q,forwardedRef:z}):NX.default.createElement(r3,q)});TC=class TC extends hQ{static{this.type="item"}};k5=Bq(TC,(Q,q,z)=>{let _=NX.useContext(yz),W=JQ(q),{tabProps:K,isSelected:A,isDisabled:L,isPressed:O}=C5({key:z.key,...Q},_,W),{focusProps:I,isFocused:N,isFocusVisible:M}=vQ(),{hoverProps:R,isHovered:j}=SY({isDisabled:L,onHoverStart:Q.onHoverStart,onHoverEnd:Q.onHoverEnd,onHoverChange:Q.onHoverChange}),h=yX({...Q,id:void 0,children:z.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:A,isDisabled:L,isFocused:N,isFocusVisible:M,isPressed:O,isHovered:j}}),d=z.props.href?LX.a:LX.div,b=HX(Q,{global:!0});return delete b.id,delete b.onClick,NX.default.createElement(d,{...CZ(b,h,K,I,R),ref:W,"data-selected":A||void 0,"data-disabled":L||void 0,"data-focused":N||void 0,"data-focus-visible":M||void 0,"data-pressed":O||void 0,"data-hovered":j||void 0},NX.default.createElement(IW.Provider,{value:{isSelected:A}},h.children))}),x5=RJ(function(q,z){let _=NX.useContext(yz),W=JQ(z),K=_.selectedKey===q.id,[A,L]=NX.useState(_.selectedKey!=null?K:null);if(A==null&&_.selectedKey!=null)L(K);else if(!K&&A)L(!1);let O=jW(W,K);if(!K&&!q.shouldForceMount&&!O)return null;return NX.default.createElement(qv,{...q,tabPanelRef:W,isInitiallySelected:A||!1,isExiting:O})})});var DW,eO,Gv=(Q)=>{let{onHoverStart:q,onHoverChange:z,onHoverEnd:_,...W}=Q;return W},y5;var v5=C(()=>{qQ();VJ();UW();Vz();DW=f(ZZ(),1),eO=DW.createContext({}),y5=DW.forwardRef(function(q,z){[q,z]=fX(q,z,eO);let{hoverProps:_,isHovered:W}=SY(q),{isFocused:K,isFocusVisible:A,focusProps:L}=vQ({isTextInput:!0,autoFocus:q.autoFocus}),O=!!q["aria-invalid"]&&q["aria-invalid"]!=="false",I=yX({...q,values:{isHovered:W,isFocused:K,isFocusVisible:A,isDisabled:q.disabled||!1,isInvalid:O},defaultClassName:"react-aria-TextArea"});return DW.default.createElement(LX.textarea,{...CZ(Gv(q),L,_),...I,ref:z,"data-focused":K||void 0,"data-disabled":q.disabled||void 0,"data-hovered":W||void 0,"data-focus-visible":A||void 0,"data-invalid":O||void 0})})});var VC=C(()=>{lj()});var SJ,RC,YB;var jC=C(()=>{qQ();m3();DV();lw();QV();l3();U3();v5();BW();VC();XW();Uq();SJ=f(ZZ(),1),RC=SJ.createContext(null),YB=RJ(function(q,z){[q,z]=fX(q,z,RC);let{validationBehavior:_}=Uz(pw)||{},W=q.validationBehavior??_??"native",K=SJ.useRef(null);[q,K]=fX(q,K,PV);let[A,L]=uA(!q["aria-label"]&&!q["aria-labelledby"]),[O,I]=SJ.useState("input"),{labelProps:N,inputProps:M,descriptionProps:R,errorMessageProps:j,...h}=A5({...i2(q),inputElementType:O,label:L,validationBehavior:W},K),d=SJ.useCallback((t)=>{if(K.current=t,t)I(t instanceof HTMLTextAreaElement?"textarea":"input")},[K]),b=yX({...q,values:{isDisabled:q.isDisabled||!1,isInvalid:h.isInvalid,isReadOnly:q.isReadOnly||!1,isRequired:q.isRequired||!1},defaultClassName:"react-aria-TextField"}),a=HX(q,{global:!0});return delete a.id,SJ.default.createElement(LX.div,{...a,...b,ref:z,slot:q.slot||void 0,"data-disabled":q.isDisabled||void 0,"data-invalid":h.isInvalid||void 0,"data-readonly":q.isReadOnly||void 0,"data-required":q.isRequired||void 0},SJ.default.createElement(xQ,{values:[[cA,{...N,ref:A}],[VO,{...M,ref:d}],[eO,{...M,ref:d}],[YV,{role:"presentation",isInvalid:h.isInvalid,isDisabled:q.isDisabled||!1}],[HH,{slots:{description:R,errorMessage:j}}],[mK,h]]},b.children))})});class QB{constructor(Q){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[],this.maxVisibleToasts=Q?.maxVisibleToasts??1/0,this.wrapUpdate=Q?.wrapUpdate}runWithWrapUpdate(Q,q){if(this.wrapUpdate)this.wrapUpdate(Q,q);else Q()}subscribe(Q){return this.subscriptions.add(Q),()=>this.subscriptions.delete(Q)}add(Q,q={}){let z="_"+Math.random().toString(36).slice(2),_={...q,content:Q,key:z,timer:q.timeout?new PC(()=>this.close(z),q.timeout):void 0};return this.queue.unshift(_),this.updateVisibleToasts("add"),z}close(Q){let q=this.queue.findIndex((z)=>z.key===Q);if(q>=0)this.queue[q].onClose?.(),this.queue.splice(q,1);this.updateVisibleToasts("remove")}updateVisibleToasts(Q){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts),this.runWithWrapUpdate(()=>{for(let q of this.subscriptions)q()},Q)}pauseAll(){for(let Q of this.visibleToasts)if(Q.timer)Q.timer.pause()}resumeAll(){for(let Q of this.visibleToasts)if(Q.timer)Q.timer.resume()}clear(){this.queue=[],this.updateVisibleToasts("clear")}}class PC{constructor(Q,q){this.startTime=null,this.remaining=q,this.callback=Q}reset(Q){this.remaining=Q,this.resume()}pause(){if(this.timerId==null)return;clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime}resume(){if(this.remaining<=0)return;this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining)}}var CC,Hv;var DC=C(()=>{CC=f(ZZ(),1),Hv=f(s3(),1)});var $C=C(()=>{DC()});var SC=()=>{};var zJ=C(()=>{g3();XC();m3();l3();U3();CR();dj();UC();vV();wC();BW();v5();jC();SC();$C()});var yZ;var b5=C(()=>{zJ();FY();yZ=mZ(Rz,{displayName:"Button",baseClass:"inline-flex items-center justify-center gap-2 rounded-full text-compact leading-4 transition-all duration-200 ease-in-out outline-none data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring data-[focus-visible]:ring-offset-2 data-[disabled]:opacity-50 data-[disabled]:pointer-events-none data-[pending]:opacity-70 data-[pending]:cursor-progress",variants:{variant:{primary:"bg-surface-inverted text-fg-inverted hover:bg-neutral-600 hover:shadow-[0_0_5px_0_rgba(0,0,0,0.5)] data-[pressed]:bg-surface-inverted data-[pressed]:shadow-none",secondary:"bg-surface-card text-fg border border-border hover:bg-surface-muted hover:border-fg-subtle data-[pressed]:bg-surface-muted",ghost:"bg-transparent text-fg hover:bg-surface-muted data-[pressed]:bg-surface-muted",destructive:"bg-danger text-danger-fg hover:opacity-90 data-[pressed]:opacity-80"},size:{sm:"py-2 px-4",md:"py-3 px-6",lg:"py-4 px-8"}},defaultVariants:{variant:"primary",size:"md"}})});var $Z=pq((_v)=>{var vz=f(ZZ());(function(){function Q(w){if(w==null)return null;if(typeof w==="function")return w.$$typeof===n?null:w.displayName||w.name||null;if(typeof w==="string")return w;switch(w){case d:return"Fragment";case a:return"Profiler";case b:return"StrictMode";case LZ:return"Suspense";case kZ:return"SuspenseList";case OZ:return"Activity"}if(typeof w==="object")switch(typeof w.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case h:return"Portal";case qZ:return w.displayName||"Context";case t:return(w._context.displayName||"Context")+".Consumer";case QZ:var o=w.render;return w=w.displayName,w||(w=o.displayName||o.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case JZ:return o=w.displayName||null,o!==null?o:Q(w.type)||"Memo";case l:o=w._payload,w=w._init;try{return Q(w(o))}catch(AZ){}}return null}function q(w){return""+w}function z(w){try{q(w);var o=!1}catch(vZ){o=!0}if(o){o=console;var AZ=o.error,VZ=typeof Symbol==="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return AZ.call(o,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",VZ),q(w)}}function _(w){if(w===d)return"<>";if(typeof w==="object"&&w!==null&&w.$$typeof===l)return"<...>";try{var o=Q(w);return o?"<"+o+">":"<...>"}catch(AZ){return"<...>"}}function W(){var w=wZ.A;return w===null?null:w.getOwner()}function K(){return Error("react-stack-top-frame")}function A(w){if(WZ.call(w,"key")){var o=Object.getOwnPropertyDescriptor(w,"key").get;if(o&&o.isReactWarning)return!1}return w.key!==void 0}function L(w,o){function AZ(){m||(m=!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)",o))}AZ.isReactWarning=!0,Object.defineProperty(w,"key",{get:AZ,configurable:!0})}function O(){var w=Q(this.type);return E[w]||(E[w]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),w=this.props.ref,w!==void 0?w:null}function I(w,o,AZ,VZ,vZ,JX){var NZ=AZ.ref;return w={$$typeof:j,type:w,key:o,props:AZ,_owner:VZ},(NZ!==void 0?NZ:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:O}):Object.defineProperty(w,"ref",{enumerable:!1,value:null}),w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(w,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(w,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:vZ}),Object.defineProperty(w,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:JX}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function N(w,o,AZ,VZ,vZ,JX){var NZ=o.children;if(NZ!==void 0)if(VZ)if(HZ(NZ)){for(VZ=0;VZ<NZ.length;VZ++)M(NZ[VZ]);Object.freeze&&Object.freeze(NZ)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else M(NZ);if(WZ.call(o,"key")){NZ=Q(w);var YX=Object.keys(o).filter(function(BX){return BX!=="key"});VZ=0<YX.length?"{key: someKey, "+YX.join(": ..., ")+": ...}":"{key: someKey}",p[NZ+VZ]||(YX=0<YX.length?"{"+YX.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
246
+ }`.trim(),document.head.prepend(W);let A=(N)=>{if(N.touches.length===2||H)return;if(!q||q===document.documentElement||q===document.body){N.preventDefault();return}if(q.scrollHeight===q.clientHeight&&q.scrollWidth===q.clientWidth)N.preventDefault()},L=(N)=>{let M=KZ(N),R=N.relatedTarget;if(R&&PH(R))R.focus({preventScroll:!0}),vR(R,PH(M));else if(!R)M.parentElement?.closest("[tabindex]")?.focus({preventScroll:!0})},O=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(N){let M=KX(),R=M!=null&&PH(M);if(O.call(this,{...N,preventScroll:!0}),!N||!N.preventScroll)vR(this,R)};let I=wJ(j6(document,"touchstart",_,{passive:!1,capture:!0}),j6(document,"touchmove",A,{passive:!1,capture:!0}),j6(document,"blur",L,!0));return()=>{Q(),I(),W.remove(),HTMLElement.prototype.focus=O}}function pO(Q,q,H){let _=Q.style[q];return Q.style[q]=H,()=>{Q.style[q]=_}}function j6(Q,q,H,_){return Q.addEventListener(q,H,_),()=>{Q.removeEventListener(q,H,_)}}function vR(Q,q){if(q||!ZB)hR(Q);else ZB.addEventListener("resize",()=>hR(Q),{once:!0})}function hR(Q){let q=document.scrollingElement||document.documentElement,H=Q;while(H&&H!==q){let _=rK(H);if(_!==document.documentElement&&_!==document.body&&_!==H){let W=_.getBoundingClientRect(),K=H.getBoundingClientRect();if(K.top<W.top||K.bottom>W.top+H.clientHeight){let A=W.bottom;if(ZB)A=Math.min(A,ZB.offsetTop+ZB.height);let L=K.top-W.top-((A-W.top)/2-K.height/2);_.scrollTo({top:Math.max(0,Math.min(_.scrollHeight-_.clientHeight,_.scrollTop+L)),behavior:"smooth"})}}H=_.parentElement}}var ZB,cO=0,R6;var gR=C(()=>{t_();dX();E3();T6();QJ();sK();PY();pK();ZB=typeof document<"u"&&window.visualViewport});var C6;var mR=C(()=>{C6={};C6={dismiss:"تجاهل"}});var P6;var fR=C(()=>{P6={};P6={dismiss:"Отхвърляне"}});var D6;var uR=C(()=>{D6={};D6={dismiss:"Odstranit"}});var $6;var dR=C(()=>{$6={};$6={dismiss:"Luk"}});var S6;var cR=C(()=>{S6={};S6={dismiss:"Schließen"}});var E6;var pR=C(()=>{E6={};E6={dismiss:"Απόρριψη"}});var k6;var lR=C(()=>{k6={};k6={dismiss:"Dismiss"}});var x6;var iR=C(()=>{x6={};x6={dismiss:"Descartar"}});var y6;var nR=C(()=>{y6={};y6={dismiss:"Lõpeta"}});var v6;var sR=C(()=>{v6={};v6={dismiss:"Hylkää"}});var h6;var aR=C(()=>{h6={};h6={dismiss:"Rejeter"}});var b6;var oR=C(()=>{b6={};b6={dismiss:"התעלם"}});var g6;var rR=C(()=>{g6={};g6={dismiss:"Odbaci"}});var m6;var tR=C(()=>{m6={};m6={dismiss:"Elutasítás"}});var f6;var eR=C(()=>{f6={};f6={dismiss:"Ignora"}});var u6;var Zj=C(()=>{u6={};u6={dismiss:"閉じる"}});var d6;var Xj=C(()=>{d6={};d6={dismiss:"무시"}});var c6;var Yj=C(()=>{c6={};c6={dismiss:"Atmesti"}});var p6;var Qj=C(()=>{p6={};p6={dismiss:"Nerādīt"}});var l6;var Jj=C(()=>{l6={};l6={dismiss:"Lukk"}});var i6;var qj=C(()=>{i6={};i6={dismiss:"Negeren"}});var n6;var Gj=C(()=>{n6={};n6={dismiss:"Zignoruj"}});var s6;var zj=C(()=>{s6={};s6={dismiss:"Descartar"}});var a6;var Hj=C(()=>{a6={};a6={dismiss:"Dispensar"}});var o6;var _j=C(()=>{o6={};o6={dismiss:"Revocare"}});var r6;var Wj=C(()=>{r6={};r6={dismiss:"Пропустить"}});var t6;var Uj=C(()=>{t6={};t6={dismiss:"Zrušiť"}});var e6;var Kj=C(()=>{e6={};e6={dismiss:"Opusti"}});var Z5;var Bj=C(()=>{Z5={};Z5={dismiss:"Odbaci"}});var X5;var Lj=C(()=>{X5={};X5={dismiss:"Avvisa"}});var Y5;var Aj=C(()=>{Y5={};Y5={dismiss:"Kapat"}});var Q5;var Oj=C(()=>{Q5={};Q5={dismiss:"Скасувати"}});var J5;var Fj=C(()=>{J5={};J5={dismiss:"取消"}});var q5;var Mj=C(()=>{q5={};q5={dismiss:"關閉"}});var G5;var Nj=C(()=>{mR();fR();uR();dR();cR();pR();lR();iR();nR();sR();aR();oR();rR();tR();eR();Zj();Xj();Yj();Qj();Jj();qj();Gj();zj();Hj();_j();Wj();Uj();Kj();Bj();Lj();Aj();Oj();Fj();Mj();G5={};G5={"ar-AE":C6,"bg-BG":P6,"cs-CZ":D6,"da-DK":$6,"de-DE":S6,"el-GR":E6,"en-US":k6,"es-ES":x6,"et-EE":y6,"fi-FI":v6,"fr-FR":h6,"he-IL":b6,"hr-HR":g6,"hu-HU":m6,"it-IT":f6,"ja-JP":u6,"ko-KR":d6,"lt-LT":c6,"lv-LV":p6,"nb-NO":l6,"nl-NL":i6,"pl-PL":n6,"pt-BR":s6,"pt-PT":a6,"ro-RO":o6,"ru-RU":r6,"sk-SK":t6,"sl-SI":e6,"sr-SP":Z5,"sv-SE":X5,"tr-TR":Y5,"uk-UA":Q5,"zh-CN":J5,"zh-TW":q5}});function ty(Q){return Q&&Q.__esModule?Q.default:Q}function H5(Q){let{onDismiss:q,...H}=Q,_=jV(ty(G5),"@react-aria/overlays"),W=tG(H,_.format("dismiss")),K=()=>{if(q)q()};return z5.default.createElement(ZV,null,z5.default.createElement("button",{...W,tabIndex:-1,onClick:K,style:{width:1,height:1}}))}var z5;var Ij=C(()=>{Nj();VK();CV();XV();z5=f(ZZ(),1)});function Tj({children:Q}){let q=EH.useMemo(()=>({register:()=>{}}),[]);return EH.default.createElement(xK.Provider,{value:q},Q)}var EH;var wj=C(()=>{k3();EH=f(ZZ(),1)});function Vj(){return XB.useContext(ey)??{}}var XB,ey;var Rj=C(()=>{XB=f(ZZ(),1),ey=XB.createContext({})});function _5(Q){let q=sY(),{portalContainer:H=q?null:document.body,isExiting:_}=Q,[W,K]=$J.useState(!1),A=$J.useMemo(()=>({contain:W,setContain:K}),[W,K]),{getContainer:L}=Vj();if(!Q.portalContainer&&L)H=L();if(!H)return null;let O=Q.children;if(!Q.disableFocusManagement)O=$J.default.createElement(dV,{restoreFocus:!0,contain:(Q.shouldContainFocus||W)&&!_},O);return O=$J.default.createElement(Cj.Provider,{value:A},$J.default.createElement(Tj,null,O)),jj.default.createPortal(O,H)}function Pj(){let q=$J.useContext(Cj)?.setContain;dZ(()=>{q?.(!0)},[q])}var $J,jj,Cj;var W5=C(()=>{wj();iK();aG();PY();Rj();$J=f(ZZ(),1),jj=f(lq(),1),Cj=$J.default.createContext(null)});var Dj=C(()=>{Ij();W5()});function U5(Q){let[q,H]=jH(Q.isOpen,Q.defaultOpen||!1,Q.onOpenChange),_=lO.useCallback(()=>{H(!0)},[H]),W=lO.useCallback(()=>{H(!1)},[H]),K=lO.useCallback(()=>{H(!q)},[H,q]);return{isOpen:q,setOpen:H,open:_,close:W,toggle:K}}var lO;var $j=C(()=>{IO();lO=f(ZZ(),1)});var Sj=C(()=>{$j()});function RW(Q,q=!0){let[H,_]=VW.useState(!0),W=H&&q;return dZ(()=>{if(W&&Q.current&&"getAnimations"in Q.current){for(let K of Q.current.getAnimations())if(K instanceof CSSTransition)K.cancel()}},[Q,W]),kj(Q,W,VW.useCallback(()=>_(!1),[])),W}function jW(Q,q){let[H,_]=VW.useState(q?"open":"closed");switch(H){case"open":if(!q)_("exiting");break;case"closed":case"exiting":if(q)_("open");break}let W=H==="exiting";return kj(Q,W,VW.useCallback(()=>{_((K)=>K==="exiting"?"closed":K)},[])),W}function kj(Q,q,H){dZ(()=>{if(q&&Q.current){if(!("getAnimations"in Q.current)){H();return}let _=Q.current.getAnimations();if(_.length===0){H();return}let W=!1;return Promise.allSettled(_.map((K)=>K.finished)).then(()=>{if(!W)Ej.flushSync(()=>{H()})}),()=>{W=!0}}},[Q,q,H])}var Ej,VW;var xj=C(()=>{PY();Ej=f(lq(),1),VW=f(ZZ(),1)});var K5=C(()=>{xj()});var iO,yj;var vj=C(()=>{iO=f(ZZ(),1),yj=iO.createContext({})});var hj;var bj=C(()=>{hj=new WeakMap});function L5(Q,q,H){let{id:_,key:W,closeOnSelect:K,shouldCloseOnSelect:A,isVirtualized:L,"aria-haspopup":O,onPressStart:I,onPressUp:N,onPress:M,onPressChange:R,onPressEnd:j,onClick:h,onHoverStart:d,onHoverChange:b,onHoverEnd:a,onKeyDown:t,onKeyUp:qZ,onFocus:QZ,onFocusChange:LZ,onBlur:kZ,selectionManager:JZ=q.selectionManager}=Q,l=!!O,OZ=l&&Q["aria-expanded"]==="true",n=Q.isDisabled??JZ.isDisabled(W),wZ=Q.isSelected??JZ.isSelected(W),WZ=hj.get(q),zZ=q.collection.getItem(W),v=Q.onClose||WZ.onClose,m=AH(),E=()=>{if(l)return;if(zZ?.props?.onAction)zZ.props.onAction();else if(Q.onAction)Q.onAction(W);if(WZ.onAction){let PZ=WZ.onAction;PZ(W)}},g="menuitem";if(!l){if(JZ.selectionMode==="single")g="menuitemradio";else if(JZ.selectionMode==="multiple")g="menuitemcheckbox"}let e=_q(),p=_q(),w=_q(),o={id:_,"aria-disabled":n||void 0,role:g,"aria-label":Q["aria-label"],"aria-labelledby":e,"aria-describedby":[Q["aria-describedby"],p,w].filter(Boolean).join(" ")||void 0,"aria-controls":Q["aria-controls"],"aria-haspopup":O,"aria-expanded":Q["aria-expanded"]};if(JZ.selectionMode!=="none"&&!l)o["aria-checked"]=wZ;if(L){let PZ=Number(zZ?.index);o["aria-posinset"]=Number.isNaN(PZ)?void 0:PZ+1,o["aria-setsize"]=oK(q.collection)}let AZ=B5.useRef(!1),VZ=(PZ)=>{R?.(PZ),AZ.current=PZ},vZ=B5.useRef(null),JX=(PZ)=>{if(PZ.pointerType!=="keyboard")vZ.current={pointerType:PZ.pointerType};if(PZ.pointerType==="mouse"){if(!AZ.current)PZ.target.click()}N?.(PZ)},NZ=(PZ)=>{h?.(PZ),E(),Mw(PZ,m,zZ.props.href,zZ?.props.routerOptions);let Fq=vZ.current?.pointerType==="keyboard"?vZ.current?.key==="Enter"||JZ.selectionMode==="none"||JZ.isLink(W):JZ.selectionMode!=="multiple"||JZ.isLink(W);if(Fq=A??K??Fq,v&&!l&&Fq)v();vZ.current=null},{itemProps:YX,isFocused:TX}=TW({id:_,selectionManager:JZ,key:W,ref:H,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:WZ.shouldUseVirtualFocus}),{pressProps:BX,isPressed:Oq}=qz({onPressStart:I,onPress:M,onPressUp:JX,onPressChange:VZ,onPressEnd:j,isDisabled:n}),{hoverProps:UZ}=EY({isDisabled:n,onHoverStart(PZ){if(!Kq()&&!(OZ&&O))JZ.setFocused(!0),JZ.setFocusedKey(W);d?.(PZ)},onHoverChange:b,onHoverEnd:a}),{keyboardProps:KQ}=IH({onKeyDown:(PZ)=>{if(PZ.repeat){PZ.continuePropagation();return}switch(PZ.key){case" ":vZ.current={pointerType:"keyboard",key:" "},KZ(PZ).click(),EK("keyboard");break;case"Enter":if(vZ.current={pointerType:"keyboard",key:"Enter"},KZ(PZ).tagName!=="A")KZ(PZ).click();EK("keyboard");break;default:if(!l)PZ.continuePropagation();t?.(PZ);break}},onKeyUp:qZ}),{focusableProps:BQ}=Yz({onBlur:kZ,onFocus:QZ,onFocusChange:LZ},H),yY=zX(zZ?.props);delete yY.id;let oX=qW(zZ?.props);return{menuItemProps:{...o,...CZ(yY,oX,l?{onFocus:YX.onFocus,"data-collection":YX["data-collection"],"data-key":YX["data-key"]}:YX,BX,UZ,KQ,BQ,WZ.shouldUseVirtualFocus||l?{onMouseDown:(PZ)=>PZ.preventDefault()}:void 0,n?void 0:{onClick:NZ}),tabIndex:YX.tabIndex!=null&&OZ&&!WZ.shouldUseVirtualFocus?-1:YX.tabIndex},labelProps:{id:e},descriptionProps:{id:p},keyboardShortcutProps:{id:w},isFocused:TX,isFocusVisible:TX&&JZ.isFocused&&Kq()&&!OZ,isSelected:wZ,isPressed:Oq,isDisabled:n}}var B5;var gj=C(()=>{rG();dX();eG();Zz();bj();DY();zW();FO();WO();hK();fO();YJ();M6();B5=f(ZZ(),1)});var mj=C(()=>{gj()});var HQ,uj,Zv,Xv,fj,kH;var dj=C(()=>{qQ();Y6();vj();xO();BW();mj();cK();uK();Uq();VJ();VH();ZW();HQ=f(ZZ(),1),uj=HQ.createContext(null),Zv=HQ.createContext(null);Xv=class Xv extends hQ{static{this.type="submenutrigger"}filter(Q,q,H){let _=Q.getItem(this.firstChildKey);if(_&&H(_.textValue,this)){let W=this.clone();return q.addDescendants(W,Q),W}return null}};fj=HQ.createContext(null),kH=Bq(FW,function(q,H,_){[q,H]=fX(q,H,fj);let W=UH(fj)?.id,K=HQ.useContext(uj),A=JQ(H),L=HQ.useContext(Zv),{isVirtualized:O}=HQ.useContext(dK),{menuItemProps:I,labelProps:N,descriptionProps:M,keyboardShortcutProps:R,...j}=L5({...q,id:W,key:_.key,selectionManager:L,isVirtualized:O},K,A),{hoverProps:h,isHovered:d}=EY({isDisabled:j.isDisabled}),b=yX({...q,id:void 0,children:_.rendered,defaultClassName:"react-aria-MenuItem",values:{...j,isHovered:d,isFocusVisible:j.isFocusVisible,selectionMode:L.selectionMode,selectionBehavior:L.selectionBehavior,hasSubmenu:!!q["aria-haspopup"],isOpen:q["aria-expanded"]==="true"}}),a=q.href?LX.a:LX.div,t=zX(q,{global:!0});return delete t.id,delete t.onClick,HQ.default.createElement(a,{...CZ(t,b,I,h),ref:A,"data-disabled":j.isDisabled||void 0,"data-hovered":d||void 0,"data-focused":j.isFocused||void 0,"data-focus-visible":j.isFocusVisible||void 0,"data-pressed":j.isPressed||void 0,"data-selected":j.isSelected||void 0,"data-selection-mode":L.selectionMode==="none"?void 0:L.selectionMode,"data-has-submenu":!!q["aria-haspopup"]||void 0,"data-open":q["aria-expanded"]==="true"||void 0},HQ.default.createElement(xQ,{values:[[zz,{slots:{[WH]:N,label:N,description:M}}],[yj,R],[IW,{isSelected:j.isSelected}]]},b.children))})});var CW,nO;var cj=C(()=>{CW=f(ZZ(),1),nO=CW.createContext(null)});var pj=C(()=>{IO()});function A5(Q,q){let{inputElementType:H="input",isDisabled:_=!1,isRequired:W=!1,isReadOnly:K=!1,type:A="text",validationBehavior:L="aria"}=Q,[O,I]=jH(Q.value,Q.defaultValue||"",Q.onChange),{focusableProps:N}=Yz(Q,q),M=p3({...Q,value:O}),{isInvalid:R,validationErrors:j,validationDetails:h}=M.displayValidation,{labelProps:d,fieldProps:b,descriptionProps:a,errorMessageProps:t}=iw({...Q,isInvalid:R,errorMessage:Q.errorMessage||j}),qZ=zX(Q,{labelable:!0}),QZ={type:A,pattern:Q.pattern},[LZ]=sO.useState(O);return aw(q,Q.defaultValue??LZ,I),rw(Q,M,q),{labelProps:d,inputProps:CZ(qZ,H==="input"?QZ:void 0,{disabled:_,readOnly:K,required:W&&L==="native","aria-required":W&&L==="aria"||void 0,"aria-invalid":R||void 0,"aria-errormessage":Q["aria-errormessage"],"aria-activedescendant":Q["aria-activedescendant"],"aria-autocomplete":Q["aria-autocomplete"],"aria-haspopup":Q["aria-haspopup"],"aria-controls":Q["aria-controls"],value:O,onChange:(kZ)=>I(KZ(kZ).value),autoComplete:Q.autoComplete,autoCapitalize:Q.autoCapitalize,maxLength:Q.maxLength,minLength:Q.minLength,name:Q.name,form:Q.form,placeholder:Q.placeholder,inputMode:Q.inputMode,autoCorrect:Q.autoCorrect,spellCheck:Q.spellCheck,[parseInt(sO.default.version,10)>=17?"enterKeyHint":"enterkeyhint"]:Q.enterKeyHint,onCopy:Q.onCopy,onCut:Q.onCut,onPaste:Q.onPaste,onCompositionEnd:Q.onCompositionEnd,onCompositionStart:Q.onCompositionStart,onCompositionUpdate:Q.onCompositionUpdate,onSelect:Q.onSelect,onBeforeInput:Q.onBeforeInput,onInput:Q.onInput,...N,...b}),descriptionProps:a,errorMessageProps:t,isInvalid:R,validationErrors:j,validationDetails:h}}var sO;var lj=C(()=>{rG();dX();DY();nw();zW();ow();tw();pj();cw();sO=f(ZZ(),1)});function O5(Q,q,H){let{isDisabled:_}=Q,W=aX(),K=aX(),A=sY(),L=xH.useRef(null),O=xH.useCallback(()=>{L.current=requestAnimationFrame(()=>{if(H.current)H.current.setAttribute("hidden","until-found")}),ij.flushSync(()=>{q.toggle()})},[H,q]);DH(H,"beforematch",O);let I=xH.useRef(null);return dZ(()=>{if(L.current)cancelAnimationFrame(L.current);if(H.current&&!A){let N=H.current;if(I.current==null||typeof N.getAnimations!=="function")if(q.isExpanded)N.removeAttribute("hidden"),N.style.setProperty("--disclosure-panel-width","auto"),N.style.setProperty("--disclosure-panel-height","auto");else N.setAttribute("hidden","until-found"),N.style.setProperty("--disclosure-panel-width","0px"),N.style.setProperty("--disclosure-panel-height","0px");else if(q.isExpanded!==I.current)if(q.isExpanded)N.removeAttribute("hidden"),N.style.setProperty("--disclosure-panel-width",N.scrollWidth+"px"),N.style.setProperty("--disclosure-panel-height",N.scrollHeight+"px"),Promise.all(N.getAnimations().map((M)=>M.finished)).then(()=>{N.style.setProperty("--disclosure-panel-width","auto"),N.style.setProperty("--disclosure-panel-height","auto")}).catch(()=>{});else N.style.setProperty("--disclosure-panel-width",N.scrollWidth+"px"),N.style.setProperty("--disclosure-panel-height",N.scrollHeight+"px"),window.getComputedStyle(N).height,N.style.setProperty("--disclosure-panel-width","0px"),N.style.setProperty("--disclosure-panel-height","0px"),Promise.all(N.getAnimations().map((M)=>M.finished)).then(()=>N.setAttribute("hidden","until-found")).catch(()=>{});I.current=q.isExpanded}},[_,H,q.isExpanded,A]),xH.useEffect(()=>{return()=>{if(L.current)cancelAnimationFrame(L.current)}},[]),{buttonProps:{id:W,"aria-expanded":q.isExpanded,"aria-controls":K,onPress:(N)=>{if(!_&&N.pointerType!=="keyboard")q.toggle()},isDisabled:_,onPressStart(N){if(N.pointerType==="keyboard"&&!_)q.toggle()}},panelProps:{id:K,role:"group","aria-labelledby":W,"aria-hidden":!q.isExpanded,hidden:A?!q.isExpanded:void 0}}}var ij,xH;var nj=C(()=>{q6();YJ();aG();PY();ij=f(lq(),1),xH=f(ZZ(),1)});var sj=C(()=>{nj()});function F5(Q){let[q,H]=jH(Q.isExpanded,Q.defaultExpanded||!1,Q.onExpandedChange),_=aO.useCallback(()=>{H(!0)},[H]),W=aO.useCallback(()=>{H(!1)},[H]),K=aO.useCallback(()=>{H(!q)},[H,q]);return{isExpanded:q,setExpanded:H,expand:_,collapse:W,toggle:K}}var aO;var aj=C(()=>{IO();aO=f(ZZ(),1)});var oj=C(()=>{aj()});var kY,rj,tj,ej,ZC,M5,N5;var XC=C(()=>{g3();qQ();sj();oj();Uq();VJ();fA();UW();b3();kY=f(ZZ(),1),rj=kY.createContext(null),tj=kY.createContext(null),ej=kY.createContext(null),ZC=kY.createContext(null),M5=kY.forwardRef(function(q,H){[q,H]=fX(q,H,tj);let _=kY.useContext(rj),{id:W,...K}=q,A=aX();W||=A;let L=_?_.expandedKeys.has(W):q.isExpanded,O=F5({...q,isExpanded:L,onExpandedChange(a){if(_)_.toggleKey(W);q.onExpandedChange?.(a)}}),I=kY.default.useRef(null),N=q.isDisabled||_?.isDisabled||!1,{buttonProps:M,panelProps:R}=O5({...q,isExpanded:L,isDisabled:N},O,I),{isFocusVisible:j,focusProps:h}=vQ({within:!0}),d=yX({...q,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:O.isExpanded,isDisabled:N,isFocusVisibleWithin:j,state:O}}),b=zX(K,{global:!0});return kY.default.createElement(xQ,{values:[[gK,{slots:{[WH]:{},trigger:M}}],[ZC,{panelProps:R,panelRef:I}],[ej,O]]},kY.default.createElement(LX.div,{...CZ(b,d,h),ref:H,"data-expanded":O.isExpanded||void 0,"data-disabled":N||void 0,"data-focus-visible-within":j||void 0},d.children))}),N5=kY.forwardRef(function(q,H){let{role:_="group"}=q,{panelProps:W,panelRef:K}=kY.useContext(ZC),{isFocusVisible:A,focusProps:L}=vQ({within:!0}),O=yX({...q,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:A}}),I=zX(q,{global:!0,labelable:!0});return kY.default.createElement(LX.div,{...CZ(I,O,W,L),ref:Wq(H,K),role:_,"data-focus-visible-within":A||void 0},kY.default.createElement(xQ,{values:[[gK,null]]},q.children))})});function I5(Q,q,H){let{overlayProps:_,underlayProps:W}=xR({...Q,isOpen:q.isOpen,onClose:q.close},H);return bR({isDisabled:!q.isOpen}),Pj(),YC.useEffect(()=>{if(q.isOpen&&H.current)return DR([H.current],{shouldUseInert:!0})},[q.isOpen,H]),{modalProps:CZ(_),underlayProps:W}}var YC;var QC=C(()=>{$R();yR();DY();W5();gR();YC=f(ZZ(),1)});var JC=C(()=>{QC()});var qC=C(()=>{sK()});var GC=C(()=>{aG()});function w5(){let Q=sY(),[q,H]=oO.useState(()=>Q?{width:0,height:0}:T5());return oO.useEffect(()=>{let _=(L)=>{H((O)=>{if(L.width===O.width&&L.height===O.height)return O;return L})},W=()=>{if(_Q&&_Q.scale>1)return;_(T5())},K,A=(L)=>{if(_Q&&_Q.scale>1)return;if(PH(KZ(L)))K=requestAnimationFrame(()=>{let O=KX();if(!O||!PH(O))_({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})})};if(_(T5()),CJ())window.addEventListener("blur",A,!0);if(!_Q)window.addEventListener("resize",W);else _Q.addEventListener("resize",W);return()=>{if(cancelAnimationFrame(K),CJ())window.removeEventListener("blur",A,!0);if(!_Q)window.removeEventListener("resize",W);else _Q.removeEventListener("resize",W)}},[]),q}function T5(){return{width:_Q?Math.min(_Q.width*_Q.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:_Q?_Q.height*_Q.scale:document.documentElement.clientHeight}}var oO,_Q;var zC=C(()=>{dX();QJ();aG();pK();oO=f(ZZ(),1),_Q=typeof document<"u"&&window.visualViewport});var HC=C(()=>{zC()});function Yv(Q,q){[Q,q]=fX(Q,q,WC);let H=vX.useContext(nO),_=U5(Q),W=Q.isOpen!=null||Q.defaultOpen!=null||!H?_:H;if(W===H){if(Q.onOpenChange||Q.defaultOpen!==void 0||Q.isOpen!==void 0)console.warn("This modals state is controlled by a trigger, place onOpenChange on the trigger instead.")}let K=JQ(q),A=vX.useRef(null),L=jW(K,W.isOpen),O=jW(A,W.isOpen),I=L||O||Q.isExiting||!1,N=sY();if(!W.isOpen&&!I||N)return null;return vX.default.createElement(Qv,{...Q,state:W,isExiting:I,overlayRef:K,modalRef:A})}function Qv({UNSTABLE_portalContainer:Q,...q}){let H=q.modalRef,{state:_}=q,{modalProps:W,underlayProps:K}=I5(q,_,H),A=RW(q.overlayRef)||q.isEntering||!1,L=yX({...q,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:A,isExiting:q.isExiting,state:_}}),O=w5(),I=void 0,N=void 0;if(typeof document<"u"){let R=Lq(document.body)?document.body:document.scrollingElement||document.documentElement,j=R.getBoundingClientRect().width%1,h=R.getBoundingClientRect().height%1;I=R.scrollWidth-j,N=R.scrollHeight-h}let M={...L.style,"--visual-viewport-width":O.width+"px","--visual-viewport-height":O.height+"px","--page-width":I!==void 0?I+"px":void 0,"--page-height":N!==void 0?N+"px":void 0};return vX.default.createElement(_5,{isExiting:q.isExiting,portalContainer:Q},vX.default.createElement(LX.div,{...CZ(zX(q,{global:!0}),K),...L,style:M,ref:q.overlayRef,"data-entering":A||void 0,"data-exiting":q.isExiting||void 0},vX.default.createElement(xQ,{values:[[V5,{modalProps:W,modalRef:H,isExiting:q.isExiting,isDismissable:q.isDismissable}],[nO,_]]},L.children)))}function _C(Q){let{modalProps:q,modalRef:H,isExiting:_,isDismissable:W}=vX.useContext(V5),K=vX.useContext(nO),A=vX.useMemo(()=>Wq(Q.modalRef,H),[Q.modalRef,H]),L=JQ(A),O=RW(L),I=yX({...Q,defaultClassName:"react-aria-Modal",values:{isEntering:O,isExiting:_,state:K}});return vX.default.createElement(LX.div,{...CZ(zX(Q,{global:!0}),q),...I,ref:L,"data-entering":O||void 0,"data-exiting":_||void 0},W&&vX.default.createElement(H5,{onDismiss:K.close}),I.children)}var vX,WC,V5,R5,rO;var UC=C(()=>{qQ();cj();JC();Dj();Uq();qC();VJ();fA();Sj();K5();GC();ZW();HC();vX=f(ZZ(),1),WC=vX.createContext(null),V5=vX.createContext(null),R5=vX.forwardRef(function(q,H){if(vX.useContext(V5)){if(q.onOpenChange||q.defaultOpen!==void 0||q.isOpen!==void 0){let d=new Set(["isDismissable","isKeyboardDismissDisabled","isOpen","defaultOpen","onOpenChange","isEntering","isExiting","UNSTABLE_portalContainer","shouldCloseOnInteractOutside"]),b=Object.keys(q).filter((a)=>d.has(a));console.warn(`This modal is already wrapped in a ModalOverlay, props [${b.join(", ")}] should be placed on the ModalOverlay instead.`)}return vX.default.createElement(_C,{...q,modalRef:H},q.children)}let{isDismissable:W,isKeyboardDismissDisabled:K,isOpen:A,defaultOpen:L,onOpenChange:O,children:I,isEntering:N,isExiting:M,UNSTABLE_portalContainer:R,shouldCloseOnInteractOutside:j,...h}=q;return vX.default.createElement(rO,{isDismissable:W,isKeyboardDismissDisabled:K,isOpen:A,defaultOpen:L,onOpenChange:O,isEntering:N,isExiting:M,UNSTABLE_portalContainer:R,shouldCloseOnInteractOutside:j},vX.default.createElement(_C,{...h,modalRef:H},I))});rO=vX.forwardRef(Yv)});function PW(Q,q,H){if(!Q)return"";if(typeof q==="string")q=q.replace(/\s+/g,"");let _=j5.get(Q);if(!_)console.error("There is no tab id, please check if you have rendered the tab panel before the tab list.");return`${_}-${H}-${q}`}var j5;var tO=C(()=>{j5=new WeakMap});function C5(Q,q,H){let{key:_,isDisabled:W,shouldSelectOnPressUp:K}=Q,{selectionManager:A,selectedKey:L}=q,O=_===L,I=W||q.isDisabled||q.selectionManager.isDisabled(_),N=q.collection.getItem(_),{itemProps:M,isPressed:R}=TW({selectionManager:A,key:_,ref:H,isDisabled:I,shouldSelectOnPressUp:K??N?.props.href!=null,linkBehavior:"selection"}),j=PW(q,_,"tab"),h=PW(q,_,"tabpanel"),{tabIndex:d}=M,b=zX(N?.props,{labelable:!0});delete b.id;let a=qW(N?.props),{focusableProps:t}=Yz({...N?.props,isDisabled:I},H);return{tabProps:CZ(b,t,a,M,{id:j,"aria-selected":O,"aria-disabled":I||void 0,"aria-controls":O?h:void 0,tabIndex:I?void 0:d,role:"tab"}),isSelected:O,isDisabled:I,isPressed:R}}var KC=C(()=>{rG();tO();DY();zW();eG();fO()});function LC(Q,q){let H=q?.isDisabled,[_,W]=BC.useState(!1);return dZ(()=>{if(Q?.current&&!H){let K=()=>{if(Q.current){let L=qJ(Q.current,{tabbable:!0});W(!!L.nextNode())}};K();let A=new MutationObserver(K);return A.observe(Q.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{A.disconnect()}}}),H?!1:_}var BC;var AC=C(()=>{iK();PY();BC=f(ZZ(),1)});function P5(Q,q,H){let _=LC(H)?void 0:0,W=PW(q,Q.id??q?.selectedKey,"tabpanel"),K=tG({...Q,id:W,"aria-labelledby":PW(q,q?.selectedKey,"tab")});return{tabPanelProps:CZ(K,{tabIndex:_,role:"tabpanel","aria-describedby":Q["aria-describedby"],"aria-details":Q["aria-details"]})}}var OC=C(()=>{tO();DY();AC();VK()});class D5{constructor(Q,q,H,_=new Set){this.collection=Q,this.flipDirection=q==="rtl"&&H==="horizontal",this.disabledKeys=_,this.tabDirection=H==="horizontal"}getKeyLeftOf(Q){if(this.flipDirection)return this.getNextKey(Q);return this.getPreviousKey(Q)}getKeyRightOf(Q){if(this.flipDirection)return this.getPreviousKey(Q);return this.getNextKey(Q)}isDisabled(Q){return this.disabledKeys.has(Q)||!!this.collection.getItem(Q)?.props?.isDisabled}getFirstKey(){let Q=this.collection.getFirstKey();if(Q!=null&&this.isDisabled(Q))Q=this.getNextKey(Q);return Q}getLastKey(){let Q=this.collection.getLastKey();if(Q!=null&&this.isDisabled(Q))Q=this.getPreviousKey(Q);return Q}getKeyAbove(Q){if(this.tabDirection)return null;return this.getPreviousKey(Q)}getKeyBelow(Q){if(this.tabDirection)return null;return this.getNextKey(Q)}getNextKey(Q){let q=Q;do if(q=this.collection.getKeyAfter(q),q==null)q=this.collection.getFirstKey();while(q!=null&&this.isDisabled(q));return q}getPreviousKey(Q){let q=Q;do if(q=this.collection.getKeyBefore(q),q==null)q=this.collection.getLastKey();while(q!=null&&this.isDisabled(q));return q}}var FC=()=>{};function $5(Q,q,H){let{orientation:_="horizontal",keyboardActivation:W="automatic"}=Q,{collection:K,selectionManager:A,disabledKeys:L}=q,{direction:O}=YW(),I=MC.useMemo(()=>new D5(K,O,_,L),[K,L,_,O]),{collectionProps:N}=YR({ref:H,selectionManager:A,keyboardDelegate:I,selectOnFocus:W==="automatic",disallowEmptySelection:!0,scrollRef:H,linkBehavior:"selection"}),M=aX();j5.set(q,M);let R=tG({...Q,id:M});return{tabListProps:{...CZ(N,R),role:"tablist","aria-orientation":_,tabIndex:void 0}}}var MC;var NC=C(()=>{DY();tO();FC();YJ();VK();iA();QR();MC=f(ZZ(),1)});var IC=C(()=>{KC();OC();NC()});function Jv({props:Q,forwardedRef:q}){let H=NX.useContext(yH),{CollectionRoot:_}=NX.useContext(dK),{orientation:W="horizontal",keyboardActivation:K="automatic"}=UH(S5),A=JQ(q),{tabListProps:L}=$5({...Q,orientation:W,keyboardActivation:K},H,A),O=yX({...Q,children:null,defaultClassName:"react-aria-TabList",values:{orientation:W,state:H}}),I=zX(Q,{global:!0});return delete I.id,NX.default.createElement(LX.div,{...CZ(I,O,L),ref:A,"data-orientation":W||void 0},NX.default.createElement($V,null,NX.default.createElement(_,{collection:H.collection,persistedKeys:X6(H.selectionManager.focusedKey)})))}function qv(Q){let q=NX.useContext(yH),{id:H,tabPanelRef:_,isInitiallySelected:W,isExiting:K,...A}=Q,{tabPanelProps:L}=P5(Q,q,_),{focusProps:O,isFocused:I,isFocusVisible:N}=vQ(),M=q.selectedKey===Q.id,R=RW(_)&&!W,j=yX({...Q,defaultClassName:"react-aria-TabPanel",values:{isFocused:I,isFocusVisible:N,isInert:wW(!M),isEntering:R,isExiting:K,state:q}}),h=zX(A,{global:!0});delete h.id;let d=M?CZ(h,L,O,j):CZ(h,j);return NX.default.createElement(LX.div,{...d,ref:_,"data-focused":I||void 0,"data-focus-visible":N||void 0,inert:wW(!M||Q.inert),"data-inert":!M?"true":void 0,"data-entering":R||void 0,"data-exiting":K||void 0},NX.default.createElement(xQ,{values:[[S5,null],[yH,null]]},NX.default.createElement(dK.Provider,{value:Z6},j.children)))}var NX,S5,yH,E5,TC,k5,x5;var wC=C(()=>{qQ();Y6();xO();SV();IC();MR();uK();cK();XW();Uq();I6();VJ();K5();UW();VH();ZW();NX=f(ZZ(),1),S5=NX.createContext(null),yH=NX.createContext(null),E5=NX.forwardRef(function(q,H){return NX.useContext(yH)?NX.default.createElement(Jv,{props:q,forwardedRef:H}):NX.default.createElement(r3,q)});TC=class TC extends hQ{static{this.type="item"}};k5=Bq(TC,(Q,q,H)=>{let _=NX.useContext(yH),W=JQ(q),{tabProps:K,isSelected:A,isDisabled:L,isPressed:O}=C5({key:H.key,...Q},_,W),{focusProps:I,isFocused:N,isFocusVisible:M}=vQ(),{hoverProps:R,isHovered:j}=EY({isDisabled:L,onHoverStart:Q.onHoverStart,onHoverEnd:Q.onHoverEnd,onHoverChange:Q.onHoverChange}),h=yX({...Q,id:void 0,children:H.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:A,isDisabled:L,isFocused:N,isFocusVisible:M,isPressed:O,isHovered:j}}),d=H.props.href?LX.a:LX.div,b=zX(Q,{global:!0});return delete b.id,delete b.onClick,NX.default.createElement(d,{...CZ(b,h,K,I,R),ref:W,"data-selected":A||void 0,"data-disabled":L||void 0,"data-focused":N||void 0,"data-focus-visible":M||void 0,"data-pressed":O||void 0,"data-hovered":j||void 0},NX.default.createElement(IW.Provider,{value:{isSelected:A}},h.children))}),x5=RJ(function(q,H){let _=NX.useContext(yH),W=JQ(H),K=_.selectedKey===q.id,[A,L]=NX.useState(_.selectedKey!=null?K:null);if(A==null&&_.selectedKey!=null)L(K);else if(!K&&A)L(!1);let O=jW(W,K);if(!K&&!q.shouldForceMount&&!O)return null;return NX.default.createElement(qv,{...q,tabPanelRef:W,isInitiallySelected:A||!1,isExiting:O})})});var DW,eO,Gv=(Q)=>{let{onHoverStart:q,onHoverChange:H,onHoverEnd:_,...W}=Q;return W},y5;var v5=C(()=>{qQ();VJ();UW();VH();DW=f(ZZ(),1),eO=DW.createContext({}),y5=DW.forwardRef(function(q,H){[q,H]=fX(q,H,eO);let{hoverProps:_,isHovered:W}=EY(q),{isFocused:K,isFocusVisible:A,focusProps:L}=vQ({isTextInput:!0,autoFocus:q.autoFocus}),O=!!q["aria-invalid"]&&q["aria-invalid"]!=="false",I=yX({...q,values:{isHovered:W,isFocused:K,isFocusVisible:A,isDisabled:q.disabled||!1,isInvalid:O},defaultClassName:"react-aria-TextArea"});return DW.default.createElement(LX.textarea,{...CZ(Gv(q),L,_),...I,ref:H,"data-focused":K||void 0,"data-disabled":q.disabled||void 0,"data-hovered":W||void 0,"data-focus-visible":A||void 0,"data-invalid":O||void 0})})});var VC=C(()=>{lj()});var SJ,RC,YB;var jC=C(()=>{qQ();m3();DV();lw();QV();l3();U3();v5();BW();VC();XW();Uq();SJ=f(ZZ(),1),RC=SJ.createContext(null),YB=RJ(function(q,H){[q,H]=fX(q,H,RC);let{validationBehavior:_}=UH(pw)||{},W=q.validationBehavior??_??"native",K=SJ.useRef(null);[q,K]=fX(q,K,PV);let[A,L]=uA(!q["aria-label"]&&!q["aria-labelledby"]),[O,I]=SJ.useState("input"),{labelProps:N,inputProps:M,descriptionProps:R,errorMessageProps:j,...h}=A5({...i2(q),inputElementType:O,label:L,validationBehavior:W},K),d=SJ.useCallback((t)=>{if(K.current=t,t)I(t instanceof HTMLTextAreaElement?"textarea":"input")},[K]),b=yX({...q,values:{isDisabled:q.isDisabled||!1,isInvalid:h.isInvalid,isReadOnly:q.isReadOnly||!1,isRequired:q.isRequired||!1},defaultClassName:"react-aria-TextField"}),a=zX(q,{global:!0});return delete a.id,SJ.default.createElement(LX.div,{...a,...b,ref:H,slot:q.slot||void 0,"data-disabled":q.isDisabled||void 0,"data-invalid":h.isInvalid||void 0,"data-readonly":q.isReadOnly||void 0,"data-required":q.isRequired||void 0},SJ.default.createElement(xQ,{values:[[cA,{...N,ref:A}],[VO,{...M,ref:d}],[eO,{...M,ref:d}],[YV,{role:"presentation",isInvalid:h.isInvalid,isDisabled:q.isDisabled||!1}],[zz,{slots:{description:R,errorMessage:j}}],[mK,h]]},b.children))})});class QB{constructor(Q){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[],this.maxVisibleToasts=Q?.maxVisibleToasts??1/0,this.wrapUpdate=Q?.wrapUpdate}runWithWrapUpdate(Q,q){if(this.wrapUpdate)this.wrapUpdate(Q,q);else Q()}subscribe(Q){return this.subscriptions.add(Q),()=>this.subscriptions.delete(Q)}add(Q,q={}){let H="_"+Math.random().toString(36).slice(2),_={...q,content:Q,key:H,timer:q.timeout?new PC(()=>this.close(H),q.timeout):void 0};return this.queue.unshift(_),this.updateVisibleToasts("add"),H}close(Q){let q=this.queue.findIndex((H)=>H.key===Q);if(q>=0)this.queue[q].onClose?.(),this.queue.splice(q,1);this.updateVisibleToasts("remove")}updateVisibleToasts(Q){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts),this.runWithWrapUpdate(()=>{for(let q of this.subscriptions)q()},Q)}pauseAll(){for(let Q of this.visibleToasts)if(Q.timer)Q.timer.pause()}resumeAll(){for(let Q of this.visibleToasts)if(Q.timer)Q.timer.resume()}clear(){this.queue=[],this.updateVisibleToasts("clear")}}class PC{constructor(Q,q){this.startTime=null,this.remaining=q,this.callback=Q}reset(Q){this.remaining=Q,this.resume()}pause(){if(this.timerId==null)return;clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime}resume(){if(this.remaining<=0)return;this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining)}}var CC,zv;var DC=C(()=>{CC=f(ZZ(),1),zv=f(s3(),1)});var $C=C(()=>{DC()});var SC=()=>{};var HJ=C(()=>{g3();XC();m3();l3();U3();CR();dj();UC();vV();wC();BW();v5();jC();SC();$C()});var yZ;var b5=C(()=>{HJ();FY();yZ=mZ(RH,{displayName:"Button",baseClass:"inline-flex items-center justify-center gap-2 rounded-full text-compact leading-4 transition-all duration-200 ease-in-out outline-none data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring data-[focus-visible]:ring-offset-2 data-[disabled]:opacity-50 data-[disabled]:pointer-events-none data-[pending]:opacity-70 data-[pending]:cursor-progress",variants:{variant:{primary:"bg-surface-inverted text-fg-inverted hover:bg-neutral-600 hover:shadow-[0_0_5px_0_rgba(0,0,0,0.5)] data-[pressed]:bg-surface-inverted data-[pressed]:shadow-none",secondary:"bg-surface-card text-fg border border-border hover:bg-surface-muted hover:border-fg-subtle data-[pressed]:bg-surface-muted",ghost:"bg-transparent text-fg hover:bg-surface-muted data-[pressed]:bg-surface-muted",destructive:"bg-danger text-danger-fg hover:opacity-90 data-[pressed]:opacity-80"},size:{sm:"py-2 px-4",md:"py-3 px-6",lg:"py-4 px-8"}},defaultVariants:{variant:"primary",size:"md"}})});var $Z=pq((_v)=>{var vH=f(ZZ());(function(){function Q(w){if(w==null)return null;if(typeof w==="function")return w.$$typeof===n?null:w.displayName||w.name||null;if(typeof w==="string")return w;switch(w){case d:return"Fragment";case a:return"Profiler";case b:return"StrictMode";case LZ:return"Suspense";case kZ:return"SuspenseList";case OZ:return"Activity"}if(typeof w==="object")switch(typeof w.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case h:return"Portal";case qZ:return w.displayName||"Context";case t:return(w._context.displayName||"Context")+".Consumer";case QZ:var o=w.render;return w=w.displayName,w||(w=o.displayName||o.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case JZ:return o=w.displayName||null,o!==null?o:Q(w.type)||"Memo";case l:o=w._payload,w=w._init;try{return Q(w(o))}catch(AZ){}}return null}function q(w){return""+w}function H(w){try{q(w);var o=!1}catch(vZ){o=!0}if(o){o=console;var AZ=o.error,VZ=typeof Symbol==="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return AZ.call(o,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",VZ),q(w)}}function _(w){if(w===d)return"<>";if(typeof w==="object"&&w!==null&&w.$$typeof===l)return"<...>";try{var o=Q(w);return o?"<"+o+">":"<...>"}catch(AZ){return"<...>"}}function W(){var w=wZ.A;return w===null?null:w.getOwner()}function K(){return Error("react-stack-top-frame")}function A(w){if(WZ.call(w,"key")){var o=Object.getOwnPropertyDescriptor(w,"key").get;if(o&&o.isReactWarning)return!1}return w.key!==void 0}function L(w,o){function AZ(){m||(m=!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)",o))}AZ.isReactWarning=!0,Object.defineProperty(w,"key",{get:AZ,configurable:!0})}function O(){var w=Q(this.type);return E[w]||(E[w]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),w=this.props.ref,w!==void 0?w:null}function I(w,o,AZ,VZ,vZ,JX){var NZ=AZ.ref;return w={$$typeof:j,type:w,key:o,props:AZ,_owner:VZ},(NZ!==void 0?NZ:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:O}):Object.defineProperty(w,"ref",{enumerable:!1,value:null}),w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(w,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(w,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:vZ}),Object.defineProperty(w,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:JX}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function N(w,o,AZ,VZ,vZ,JX){var NZ=o.children;if(NZ!==void 0)if(VZ)if(zZ(NZ)){for(VZ=0;VZ<NZ.length;VZ++)M(NZ[VZ]);Object.freeze&&Object.freeze(NZ)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else M(NZ);if(WZ.call(o,"key")){NZ=Q(w);var YX=Object.keys(o).filter(function(BX){return BX!=="key"});VZ=0<YX.length?"{key: someKey, "+YX.join(": ..., ")+": ...}":"{key: someKey}",p[NZ+VZ]||(YX=0<YX.length?"{"+YX.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
247
247
  let props = %s;
248
248
  <%s {...props} />
249
249
  React keys must be passed directly to JSX without using spread:
250
250
  let props = %s;
251
- <%s key={someKey} {...props} />`,VZ,NZ,YX,NZ),p[NZ+VZ]=!0)}if(NZ=null,AZ!==void 0&&(z(AZ),NZ=""+AZ),A(o)&&(z(o.key),NZ=""+o.key),"key"in o){AZ={};for(var TX in o)TX!=="key"&&(AZ[TX]=o[TX])}else AZ=o;return NZ&&L(AZ,typeof w==="function"?w.displayName||w.name||"Unknown":w),I(w,NZ,AZ,W(),vZ,JX)}function M(w){R(w)?w._store&&(w._store.validated=1):typeof w==="object"&&w!==null&&w.$$typeof===l&&(w._payload.status==="fulfilled"?R(w._payload.value)&&w._payload.value._store&&(w._payload.value._store.validated=1):w._store&&(w._store.validated=1))}function R(w){return typeof w==="object"&&w!==null&&w.$$typeof===j}var j=Symbol.for("react.transitional.element"),h=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),t=Symbol.for("react.consumer"),qZ=Symbol.for("react.context"),QZ=Symbol.for("react.forward_ref"),LZ=Symbol.for("react.suspense"),kZ=Symbol.for("react.suspense_list"),JZ=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),OZ=Symbol.for("react.activity"),n=Symbol.for("react.client.reference"),wZ=vz.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,WZ=Object.prototype.hasOwnProperty,HZ=Array.isArray,v=console.createTask?console.createTask:function(){return null};vz={react_stack_bottom_frame:function(w){return w()}};var m,E={},g=vz.react_stack_bottom_frame.bind(vz,K)(),e=v(_(K)),p={};_v.Fragment=d,_v.jsxDEV=function(w,o,AZ,VZ){var vZ=1e4>wZ.recentlyCreatedOwnerStacks++;return N(w,o,AZ,VZ,vZ?Error("react-stack-top-frame"):g,vZ?v(_(w)):e)}})()});var $W,Wv,kY=({label:Q,description:q,errorMessage:z,placeholder:_,size:W,...K})=>$W.jsxDEV(YB,{...K,className:"flex w-full flex-col gap-2",children:[$W.jsxDEV(Bz,{className:"text-heading5 font-medium text-fg",children:Q},void 0,!1,void 0,this),$W.jsxDEV(Wv,{placeholder:_,fieldSize:W},void 0,!1,void 0,this),q?$W.jsxDEV(ZG,{slot:"description",className:"text-xs text-fg-muted",children:q},void 0,!1,void 0,this):null,$W.jsxDEV(LW,{className:"text-xs text-danger",children:z},void 0,!1,void 0,this)]},void 0,!0,void 0,this);var yC=C(()=>{zJ();FY();$W=f($Z(),1),Wv=mZ(RO,{displayName:"InputControl",baseClass:"w-full rounded-lg border border-border bg-surface-card px-4 text-sm text-fg outline-none transition-colors duration-200 placeholder:text-fg-muted data-[hovered]:border-fg-subtle data-[focused]:border-brand-green data-[focused]:ring-2 data-[focused]:ring-ring data-[invalid]:border-danger data-[invalid]:ring-danger data-[disabled]:opacity-50 data-[disabled]:pointer-events-none",variants:{fieldSize:{sm:"h-8",md:"h-10",lg:"h-12"}},defaultVariants:{fieldSize:"md"}})});var SW,Uv,ZF=({label:Q,description:q,errorMessage:z,placeholder:_,rows:W,...K})=>SW.jsxDEV(YB,{...K,className:"flex w-full flex-col gap-2",children:[SW.jsxDEV(Bz,{className:"text-sm font-medium text-fg",children:Q},void 0,!1,void 0,this),SW.jsxDEV(Uv,{placeholder:_,rows:W},void 0,!1,void 0,this),q?SW.jsxDEV(ZG,{slot:"description",className:"text-xs text-fg-muted",children:q},void 0,!1,void 0,this):null,SW.jsxDEV(LW,{className:"text-xs text-danger",children:z},void 0,!1,void 0,this)]},void 0,!0,void 0,this);var vC=C(()=>{zJ();FY();SW=f($Z(),1),Uv=mZ(y5,{displayName:"TextAreaControl",baseClass:"min-h-[120px] w-full resize-y rounded-lg border border-border bg-surface-card px-4 py-3 text-sm text-fg outline-none transition-colors duration-200 placeholder:text-fg-muted data-[hovered]:border-fg-subtle data-[focused]:border-brand-green data-[focused]:ring-2 data-[focused]:ring-ring data-[invalid]:border-danger data-[invalid]:ring-danger data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"})});var hC;var bC=C(()=>{hC=f($Z(),1)});var Kv;var gC=C(()=>{Kv=f($Z(),1)});var Bv;var mC=C(()=>{Bv=f($Z(),1)});var Lv,vYZ,hYZ;var fC=C(()=>{zJ();FY();Lv=f($Z(),1),vYZ=mZ(Rz,{displayName:"SelectTrigger",baseClass:"flex min-h-[58px] w-full items-center justify-between gap-2.5 rounded-lg bg-surface-card p-5 text-sm text-fg outline-none transition-colors data-[hovered]:bg-surface-muted data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring group-data-[invalid]:ring-2 group-data-[invalid]:ring-danger data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"}),hYZ=mZ(tK,{displayName:"SelectItem",baseClass:"flex cursor-pointer select-none items-center rounded-md px-5 text-sm text-fg outline-none data-[focused]:bg-surface-muted data-[selected]:font-medium data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"})});var uC,cYZ,pYZ;var dC=C(()=>{zJ();FY();uC=f($Z(),1),cYZ=mZ(rO,{displayName:"DialogOverlay",baseClass:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-[rgba(179,179,179,0.5)] backdrop-blur-[2px] data-[entering]:animate-in data-[exiting]:animate-out"}),pYZ=mZ(R5,{displayName:"DialogModal",baseClass:"rounded-lg bg-surface p-5 outline-none shadow-[0px_2px_8px_0px_rgba(0,0,0,0.06)]"})});var Ov,sYZ,aYZ;var cC=C(()=>{zJ();FY();Ov=f($Z(),1),sYZ=mZ(kz,{displayName:"DropdownMenuItem",baseClass:"flex cursor-pointer select-none items-center gap-2.5 rounded-md px-4 py-3 text-sm text-fg outline-none data-[focused]:bg-surface-card data-[hovered]:bg-surface-card data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",variants:{destructive:{true:"text-danger data-[focused]:text-danger data-[hovered]:text-danger"}}}),aYZ=mZ(H6,{displayName:"DropdownMenuSeparator",baseClass:"my-2 h-px border-0 bg-border"})});var XF,pC,eYZ;var lC=C(()=>{zJ();FY();XF=f(ZZ(),1),pC=f($Z(),1),eYZ=mZ(kz,{displayName:"ContextMenuItem",baseClass:"flex min-h-[34px] cursor-pointer select-none items-center gap-2.5 rounded-[10px] px-3 py-1.5 text-compact text-white outline-none data-[focused]:bg-[#2f2f2f] data-[focused]:font-medium data-[hovered]:bg-[#2f2f2f] data-[hovered]:font-medium data-[disabled]:cursor-not-allowed data-[disabled]:opacity-45",variants:{destructive:{true:"text-[#ffb5b5] data-[focused]:text-[#ffb5b5]"}}})});var Fv;var m5=C(()=>{Fv=f($Z(),1)});var iC,GQZ;var nC=C(()=>{zJ();iC=f($Z(),1),GQZ=new QB({maxVisibleToasts:5})});var WQZ,UQZ;var sC=C(()=>{zJ();FY();WQZ=mZ(M5,{displayName:"Disclosure"}),UQZ=mZ(N5,{displayName:"DisclosurePanel"})});var AQZ,OQZ,FQZ;var aC=C(()=>{zJ();FY();AQZ=mZ(E5,{displayName:"TabList",baseClass:"flex gap-2 border-b border-border"}),OQZ=mZ(k5,{displayName:"Tab",baseClass:"cursor-pointer select-none border-b-2 border-transparent px-4 py-3 text-sm font-medium text-fg-muted outline-none transition-colors data-[hovered]:text-fg data-[selected]:border-brand-primary data-[selected]:text-fg data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"}),FQZ=mZ(x5,{displayName:"TabPanel",baseClass:"py-4 text-sm text-fg outline-none data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring"})});var Mv;var oC=C(()=>{b5();Mv=f($Z(),1)});var Nv;var rC=C(()=>{Nv=f($Z(),1)});var VQZ,RQZ;var tC=C(()=>{FY();VQZ=mZ("span",{displayName:"Text",baseClass:"text-fg",variants:{size:{micro:"text-micro",caption:"text-caption",label:"text-label",compact:"text-compact",callout:"text-callout",body:"text-body",subtitle:"text-subtitle",title:"text-title",headline:"text-headline",display:"text-display"},weight:{regular:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"},tone:{default:"text-fg",muted:"text-fg-muted",subtle:"text-fg-subtle",inverted:"text-fg-inverted"}},defaultVariants:{size:"body",weight:"regular",tone:"default"}}),RQZ=mZ("h2",{displayName:"Heading",baseClass:"font-medium tracking-tight text-fg",variants:{level:{"1":"text-heading1","2":"text-heading2","3":"text-heading3","4":"text-heading4","5":"text-heading5"}},defaultVariants:{level:"2"}})});var Iv;var eC=C(()=>{m5();Iv=f($Z(),1)});var EQZ;var ZP=C(()=>{FY();EQZ=mZ("div",{displayName:"Card",baseClass:"relative rounded-lg bg-surface-card",variants:{variant:{plain:"",outlined:"border border-border",elevated:"shadow-md"},padding:{none:"p-0",sm:"p-4",md:"p-6",lg:"p-8"}},defaultVariants:{variant:"plain",padding:"md"}})});var yQZ;var XP=C(()=>{FY();yQZ=mZ("section",{displayName:"Section",baseClass:"w-full",variants:{padding:{none:"py-0",sm:"py-4",md:"py-6 sm:py-8",lg:"py-8 sm:py-12",xl:"py-12 sm:py-16"}},defaultVariants:{padding:"md"}})});var bQZ;var YP=C(()=>{FY();bQZ=mZ("div",{displayName:"PageContainer",baseClass:"w-full",variants:{size:{sm:"max-w-screen-sm mx-auto",md:"max-w-screen-md mx-auto",lg:"max-w-screen-lg mx-auto",xl:"max-w-screen-xl ml-0 mr-0 min-[1200px]:max-w-full","2xl":"max-w-screen-2xl mx-auto min-[1600px]:max-w-full min-[1600px]:mx-0",full:"max-w-full"}}})});var QP,Tv,fQZ,uQZ,dQZ;var JP=C(()=>{FY();QP=f(ZZ(),1),Tv=f($Z(),1),fQZ=mZ("div",{displayName:"AppShell",baseClass:"grid h-screen w-full overflow-hidden bg-surface grid-rows-[100%] grid-cols-[1fr] md:grid-cols-[auto_1fr]"}),uQZ=mZ("aside",{displayName:"AppShell.Sidebar",baseClass:"h-full w-64 shrink-0 overflow-y-auto border-r border-border bg-surface"}),dQZ=mZ("main",{displayName:"AppShell.Main",baseClass:"min-w-0 flex-1 bg-surface px-6 pb-6 pt-6"})});var qP,wv,Vv,Rv,jv=(Q)=>qP.jsxDEV(Rv,{...Q},void 0,!1,void 0,this),Cv,Pv,nQZ,sQZ,aQZ;var GP=C(()=>{zJ();FY();qP=f($Z(),1),wv=mZ("header",{displayName:"Topbar",baseClass:"flex h-14 w-full items-center gap-5 border-b border-border"}),Vv=mZ("div",{displayName:"Topbar.Brand",baseClass:"flex min-w-0 items-center gap-3 text-compact leading-4 font-medium tracking-tight text-fg"}),Rv=mZ("nav",{displayName:"Topbar.Nav",baseClass:"ml-auto flex min-w-0 items-center gap-2 overflow-x-auto"}),Cv=mZ("div",{displayName:"Topbar.Actions",baseClass:"ml-auto flex items-center gap-4"}),Pv=mZ("a",{displayName:"Topbar.NavLink",baseClass:"inline-flex items-center rounded-sm px-[13px] py-[6px] text-compact leading-4 whitespace-nowrap text-fg no-underline transition-colors hover:bg-surface-muted hover:text-fg outline-none focus-visible:ring-2 focus-visible:ring-ring data-[active]:bg-surface-muted data-[active]:text-fg",variants:{active:{true:"",false:""}},variantsAsDataAttrs:["active"]}),nQZ=mZ(tK,{displayName:"WorkspaceSwitcher.Item",baseClass:"flex cursor-pointer select-none items-center rounded-sm px-3 py-2 text-sm text-fg outline-none data-[focused]:bg-surface-muted data-[selected]:font-medium"}),sQZ=mZ(kz,{displayName:"UserMenu.Item",baseClass:"flex cursor-pointer select-none items-center rounded-sm px-3 py-2 text-sm text-fg outline-none data-[focused]:bg-surface-muted data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"}),aQZ=Object.assign(wv,{Brand:Vv,Nav:jv,NavLink:Pv,Actions:Cv})});var Dv,$v,tQZ;var HP=C(()=>{FY();Dv=f(ZZ(),1),$v=f($Z(),1),tQZ=mZ("header",{displayName:"PersistentPageShell.Header",baseClass:"flex w-full flex-col gap-6 bg-surface",variants:{sticky:{true:"sticky top-0 z-[1]",false:""}},defaultVariants:{sticky:!1}})});var WH=C(()=>{FY();b5();yC();vC();bC();gC();mC();fC();dC();cC();lC();m5();nC();sC();aC();oC();rC();tC();eC();ZP();XP();YP();JP();GP();HP()});function YF(Q){try{let q=String(Q).split(".")[1];if(!q)return!1;let z=JSON.parse(atob(q.replace(/-/g,"+").replace(/_/g,"/")));return typeof z.exp==="number"&&Date.now()>=z.exp*1000}catch{return!1}}function zP(){try{let Q=localStorage.getItem(f5);if(Q)return JSON.parse(Q)}catch{}return{baseUrl:"http://localhost:8787",token:"",tenant:"main"}}function _P(Q){localStorage.setItem(f5,JSON.stringify(Q))}function WP(){try{localStorage.removeItem(f5)}catch{}}class u5{cfg;onExpired;constructor(Q,q){this.cfg=Q;this.onExpired=q}setConfig(Q){this.cfg=Q}base(){return this.cfg.baseUrl.replace(/\/+$/,"")}async call(Q,q){if(this.onExpired&&this.cfg.token&&YF(this.cfg.token))return this.onExpired(),new Promise(()=>{});let z=await fetch(`${this.base()}/rpc/${Q}`,{method:"POST",headers:{"content-type":"application/json","x-pramen-tenant":this.cfg.tenant||"main",...this.cfg.token?{authorization:`Bearer ${this.cfg.token}`}:{}},body:JSON.stringify(q??{})}),_;try{_=await z.json()}catch{throw new EW(`non-JSON response (HTTP ${z.status})`,"bad_response",z.status)}if(_.ok!==!0){let W=_.error??`request failed (HTTP ${z.status})`,K=z.status===403?" — check your token has an editor/reviewer role":"";throw new EW(W+K,_.code??"error",z.status)}return _.result}async put(Q,q,z){let _=Q.startsWith("http")?Q:`${this.base()}${Q}`,W=await fetch(_,{method:"PUT",headers:{"content-type":z},body:q});if(!W.ok)throw new EW(`upload failed (HTTP ${W.status})`,"upload_failed",W.status)}resolve(Q){return Q.startsWith("http")?Q:`${this.base()}${Q}`}listBlockTypes=()=>this.call("listBlockTypes");listContentTypes=()=>this.call("listContentTypes");getContentType=(Q)=>this.call("getContentType",{id:Q});listPages=()=>this.call("listPages");getPagePreview=(Q,q)=>this.call("getPage",{slug:Q,locale:q,preview:!0});listPageAudit=(Q)=>this.call("listPageAudit",{pageId:Q});listMedia=(Q=50,q=0)=>this.call("listMedia",{limit:Q,offset:q});getMedia=(Q)=>this.call("getMedia",{id:Q});updateMedia=(Q,q)=>this.call("updateMedia",{id:Q,alt:q});deleteMedia=(Q)=>this.call("deleteMedia",{id:Q});async uploadMedia(Q){let q=Q.type||"application/octet-stream",z=await this.call("signMediaUpload",{contentType:q,filename:Q.name});return await this.put(z.url,await Q.arrayBuffer(),q),this.call("createMedia",{ref:z.ref,alt:Q.name})}}var EW,f5="pramen.cmsEditor";var d5=C(()=>{EW=class EW extends Error{code;status;constructor(Q,q,z){super(Q);this.code=q;this.status=z;this.name="ApiError"}}});function c5(){WP(),location.replace(JB)}function _J(){let Q=UQ.use(UP);if(!Q)throw Error("useApp must be used within <AppProvider>");return Q}function KP({children:Q}){let[q,z]=UQ.useState(zP()),[_,W]=UQ.useState(null),[K,A]=UQ.useState(""),L=Boolean(q.baseUrl&&q.token)&&!YF(q.token),O=UQ.useMemo(()=>new u5(q,JB?c5:void 0),[q]);if(UQ.useEffect(()=>{if(!JB)return;let N=()=>{if(!q.token||YF(q.token))c5()};N();let M=()=>{if(!document.hidden)N()},R=window.setInterval(N,30000);return window.addEventListener("visibilitychange",M),window.addEventListener("focus",N),()=>{window.clearInterval(R),window.removeEventListener("visibilitychange",M),window.removeEventListener("focus",N)}},[q.token]),UQ.useEffect(()=>{if(!L)return;O.call("me").then(W).catch(()=>W({}))},[O,L]),!L)return JB?null:WQ.jsxDEV(Sv,{cfg:q,onSave:(N)=>{_P(N),z(N)}},void 0,!1,void 0,this);let I={api:O,cfg:q,me:_,isAdmin:(_?.roles??[]).includes("admin"),error:K,setError:A,reconfigure:()=>{if(JB){c5();return}W(null),A(""),z({...q,token:""})}};return WQ.jsxDEV(UP,{value:I,children:Q},void 0,!1,void 0,this)}function Sv({cfg:Q,onSave:q}){let[z,_]=UQ.useState(Q);return WQ.jsxDEV("div",{className:"mx-auto mt-[14vh] w-full max-w-[520px] px-6",children:WQ.jsxDEV("div",{className:"rounded-panel border border-border bg-surface-card px-10 py-8 shadow-[0_24px_60px_rgba(30,20,10,0.08)]",children:[WQ.jsxDEV("h1",{className:"mb-4 text-display text-fg",children:["pramen ",WQ.jsxDEV("span",{className:"text-fg-subtle",children:"· cms editor"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),WQ.jsxDEV("p",{className:"mb-6 text-sm text-fg-muted",children:["Point at your Worker and paste an editor/reviewer JWT. CORS must allow this origin (",WQ.jsxDEV("code",{children:"CORS_ORIGINS"},void 0,!1,void 0,this),")."]},void 0,!0,void 0,this),WQ.jsxDEV("div",{className:"flex flex-col gap-4",children:[WQ.jsxDEV(kY,{label:"Worker base URL",value:z.baseUrl,onChange:(W)=>_({...z,baseUrl:W}),placeholder:"https://your-worker.workers.dev"},void 0,!1,void 0,this),WQ.jsxDEV(kY,{label:"Tenant",value:z.tenant,onChange:(W)=>_({...z,tenant:W}),placeholder:"main"},void 0,!1,void 0,this),WQ.jsxDEV(kY,{label:"Bearer token (editor or reviewer)",value:z.token,onChange:(W)=>_({...z,token:W}),placeholder:"eyJ…"},void 0,!1,void 0,this),WQ.jsxDEV(yZ,{className:"mt-2 w-full",onPress:()=>q(z),isDisabled:!z.baseUrl||!z.token,children:"Connect"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var UQ,WQ,JB,UP;var UH=C(()=>{WH();d5();UQ=f(ZZ(),1),WQ=f($Z(),1),JB=typeof window<"u"&&!new URLSearchParams(window.location.search).has("setup")?window.PRAMEN_CMS_EDITOR?.signInUrl:void 0;UP=UQ.createContext(null)});function kW({label:Q,children:q}){return TZ.jsxDEV("label",{className:"flex w-full flex-col gap-2",children:[TZ.jsxDEV("span",{className:"text-sm font-medium text-fg",children:Q},void 0,!1,void 0,this),q]},void 0,!0,void 0,this)}function QF({schema:Q,value:q,onChange:z,api:_}){let W=(K,A)=>z({...q,[K]:A});return TZ.jsxDEV("div",{className:"flex flex-col gap-4",children:Q.map((K)=>TZ.jsxDEV(Ev,{def:K,value:q[K.name],onChange:(A)=>W(K.name,A),api:_},K.name,!1,void 0,this))},void 0,!1,void 0,this)}function Ev({def:Q,value:q,onChange:z,api:_}){let W=TZ.jsxDEV(TZ.Fragment,{children:[Q.label??Q.name," ",Q.required?TZ.jsxDEV("span",{className:"text-danger",children:"*"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this);switch(Q.type){case"text":case"url":return TZ.jsxDEV(kY,{label:W,value:q??"",onChange:z,placeholder:Q.type==="url"?"https://…":""},void 0,!1,void 0,this);case"textarea":return TZ.jsxDEV(ZF,{label:W,value:typeof q==="string"?q:q==null?"":JSON.stringify(q),onChange:z},void 0,!1,void 0,this);case"richtext":return TZ.jsxDEV(kW,{label:W,children:TZ.jsxDEV(yv,{value:typeof q==="string"?q:"",onChange:z},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"number":return TZ.jsxDEV(kW,{label:W,children:TZ.jsxDEV("input",{className:l5,type:"number",value:q==null?"":String(q),onChange:(K)=>z(K.target.value===""?null:Number(K.target.value))},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"date":case"datetime":return TZ.jsxDEV(kW,{label:W,children:TZ.jsxDEV("input",{className:l5,type:Q.type==="date"?"date":"datetime-local",value:q??"",onChange:(K)=>z(K.target.value||null)},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"boolean":return TZ.jsxDEV("label",{className:"flex items-center gap-2",children:[TZ.jsxDEV("input",{type:"checkbox",checked:Boolean(q),onChange:(K)=>z(K.target.checked)},void 0,!1,void 0,this),TZ.jsxDEV("span",{className:"text-sm text-fg",children:Q.label??Q.name},void 0,!1,void 0,this)]},void 0,!0,void 0,this);case"select":return TZ.jsxDEV(kW,{label:W,children:TZ.jsxDEV("select",{className:l5,value:q??"",onChange:(K)=>z(K.target.value||null),children:[TZ.jsxDEV("option",{value:"",children:"—"},void 0,!1,void 0,this),(Q.options??[]).map((K)=>TZ.jsxDEV("option",{value:K,children:K},K,!1,void 0,this))]},void 0,!0,void 0,this)},void 0,!1,void 0,this);case"media":return TZ.jsxDEV(kW,{label:W,children:TZ.jsxDEV(hv,{value:q,onChange:z,api:_},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"group":return TZ.jsxDEV(kW,{label:W,children:TZ.jsxDEV("div",{className:"rounded-lg border border-border bg-surface-muted p-3.5",children:TZ.jsxDEV(QF,{schema:Q.fields??[],value:q??{},onChange:z,api:_},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"repeater":return TZ.jsxDEV(vv,{def:Q,value:q??[],onChange:z,api:_,label:W},void 0,!1,void 0,this);default:return null}}function xv(Q){let q=Q.trim();return/^(https?:\/\/|mailto:|tel:|\/|#)/i.test(q)?q:null}function BP(Q){return Q.replace(/<\s*(script|style)[^>]*>[\s\S]*?<\s*\/\s*\1\s*>/gi,"").replace(/\son\w+\s*=\s*("[^"]*"|'[^']*'|[^\s>]+)/gi,"").replace(/(href|src)\s*=\s*("javascript:[^"]*"|'javascript:[^']*')/gi,'$1="#"')}function yv({value:Q,onChange:q}){let z=gQ.useRef(null),_=gQ.useRef("");gQ.useEffect(()=>{let L=z.current;if(L&&Q!==_.current)L.innerHTML=BP(Q||""),_.current=Q||""},[Q]);let W=()=>{let L=BP(z.current?.innerHTML??"");_.current=L,q(L)},K=(L,O)=>{z.current?.focus(),document.execCommand(L,!1,O),W()},A=(L)=>{L.preventDefault(),document.execCommand("insertText",!1,L.clipboardData.getData("text/plain"))};return TZ.jsxDEV("div",{className:"overflow-hidden rounded-lg border border-border bg-surface-card",children:[TZ.jsxDEV("div",{className:"flex flex-wrap gap-0.5 border-b border-border bg-surface-muted px-2 py-1.5",children:kv.map((L)=>TZ.jsxDEV("button",{type:"button",className:"rounded border-0 bg-transparent px-2.5 py-0.5 text-xs text-fg-muted hover:bg-surface-card hover:text-fg",title:L.title,onMouseDown:(O)=>O.preventDefault(),onClick:()=>L.run(K),children:L.label},L.label,!1,void 0,this))},void 0,!1,void 0,this),TZ.jsxDEV("div",{ref:z,className:"prose prose-sm min-h-[180px] max-w-none px-4 py-3.5 text-sm leading-relaxed text-fg outline-none empty:before:text-fg-subtle empty:before:content-[attr(data-placeholder)]",contentEditable:!0,suppressContentEditableWarning:!0,"data-placeholder":"Write…",onInput:W,onBlur:W,onPaste:A},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function vv({def:Q,value:q,onChange:z,api:_,label:W}){let K=Array.isArray(q)?q:[],A=(N,M)=>z(K.map((R,j)=>j===N?M:R)),L=()=>z([...K,{}]),O=(N)=>z(K.filter((M,R)=>R!==N)),I=(N,M)=>{let R=N+M;if(R<0||R>=K.length)return;let j=K.slice();[j[N],j[R]]=[j[R],j[N]],z(j)};return TZ.jsxDEV("div",{className:"flex flex-col gap-2",children:[TZ.jsxDEV("span",{className:"text-sm font-medium text-fg",children:W},void 0,!1,void 0,this),K.map((N,M)=>TZ.jsxDEV("div",{className:"rounded-lg border border-border bg-surface-muted p-3.5",children:[TZ.jsxDEV("div",{className:"mb-2 flex justify-end gap-1",children:[TZ.jsxDEV(yZ,{variant:"ghost",size:"sm",onPress:()=>I(M,-1),children:"↑"},void 0,!1,void 0,this),TZ.jsxDEV(yZ,{variant:"ghost",size:"sm",onPress:()=>I(M,1),children:"↓"},void 0,!1,void 0,this),TZ.jsxDEV(yZ,{variant:"ghost",size:"sm",className:"text-danger",onPress:()=>O(M),children:"✕"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),TZ.jsxDEV(QF,{schema:Q.fields??[],value:N,onChange:(R)=>A(M,R),api:_},void 0,!1,void 0,this)]},M,!0,void 0,this)),TZ.jsxDEV(yZ,{variant:"secondary",size:"sm",className:"self-start",onPress:L,isDisabled:Q.max!=null&&K.length>=Q.max,children:["+ add ",Q.label??Q.name]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function hv({value:Q,onChange:q,api:z}){let[_,W]=gQ.useState(!1),[K,A]=gQ.useState(null);return gQ.useEffect(()=>{if(Q)z.call("getMedia",{id:Q}).then(A).catch(()=>A(null));else A(null)},[Q,z]),TZ.jsxDEV("div",{children:[TZ.jsxDEV("div",{className:"flex items-center gap-3 rounded-[14px] border border-transparent bg-surface-card px-[18px] py-3.5",children:[K?TZ.jsxDEV("img",{className:"h-10 w-10 rounded object-cover",src:z.resolve(`/media/${K.file.key}`),alt:""},void 0,!1,void 0,this):TZ.jsxDEV("span",{className:"text-fg-subtle",children:"no media"},void 0,!1,void 0,this),TZ.jsxDEV("span",{className:"flex-1 truncate text-fg-subtle",children:K?.file.filename??Q??""},void 0,!1,void 0,this),TZ.jsxDEV(yZ,{variant:"secondary",size:"sm",onPress:()=>W(!0),children:"pick"},void 0,!1,void 0,this),Q?TZ.jsxDEV(yZ,{variant:"ghost",size:"sm",className:"text-danger",onPress:()=>q(null),children:"clear"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),_?TZ.jsxDEV(bv,{api:z,onClose:()=>W(!1),onPick:(L)=>{q(L),W(!1)}},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function bv({api:Q,onClose:q,onPick:z}){let[_,W]=gQ.useState([]),[K,A]=gQ.useState(!1),[L,O]=gQ.useState(""),I=()=>Q.listMedia().then(W).catch((M)=>O(String(M.message??M)));gQ.useEffect(()=>{I()},[]);let N=async(M)=>{A(!0),O("");try{let R=await Q.uploadMedia(M);z(R.id)}catch(R){O(String(R.message??R))}finally{A(!1)}};return TZ.jsxDEV("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-[rgba(20,15,5,0.28)] p-6",onClick:q,children:TZ.jsxDEV("div",{className:"max-h-[86vh] w-full max-w-[680px] overflow-auto rounded-panel border border-border bg-surface-card px-9 py-8 shadow-[0_24px_60px_rgba(30,20,10,0.12)]",onClick:(M)=>M.stopPropagation(),children:[TZ.jsxDEV("h2",{className:"mb-5 text-[28px] font-normal text-fg",children:["Choose ",TZ.jsxDEV("span",{className:"text-fg-subtle",children:"a file"},void 0,!1,void 0,this)," from the library"]},void 0,!0,void 0,this),L?TZ.jsxDEV("div",{className:"my-2 rounded-lg border border-danger bg-surface-card px-3.5 py-2.5 text-[13px] text-danger",children:L},void 0,!1,void 0,this):null,TZ.jsxDEV("label",{className:"mb-4 flex w-full flex-col gap-2",children:[TZ.jsxDEV("span",{className:"text-sm font-medium text-fg",children:"Upload a new file"},void 0,!1,void 0,this),TZ.jsxDEV("input",{type:"file",className:"text-sm text-fg-muted",disabled:K,onChange:(M)=>M.target.files?.[0]&&N(M.target.files[0])},void 0,!1,void 0,this)]},void 0,!0,void 0,this),TZ.jsxDEV("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(180px,1fr))] gap-2.5",children:_.map((M)=>TZ.jsxDEV("div",{className:"cursor-pointer overflow-hidden rounded-lg border border-border bg-surface-card",onClick:()=>z(M.id),children:[(M.file.contentType??"").startsWith("image/")?TZ.jsxDEV("img",{className:"block h-[130px] w-full object-cover",src:Q.resolve(`/media/${M.file.key}`),alt:""},void 0,!1,void 0,this):TZ.jsxDEV("div",{className:"h-[130px] bg-surface-muted"},void 0,!1,void 0,this),TZ.jsxDEV("div",{className:"truncate px-2 py-1.5 text-[11px] text-fg-muted",children:M.file.filename??M.id},void 0,!1,void 0,this)]},M.id,!0,void 0,this))},void 0,!1,void 0,this),TZ.jsxDEV("div",{className:"mt-3 text-right",children:TZ.jsxDEV(yZ,{variant:"ghost",onPress:q,children:"close"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var gQ,TZ,l5="h-10 w-full rounded-lg border border-border bg-surface-card px-4 text-sm text-fg outline-none transition-colors placeholder:text-fg-muted focus:border-brand-green",kv;var LP=C(()=>{WH();gQ=f(ZZ(),1),TZ=f($Z(),1);kv=[{label:"B",title:"Bold",run:(Q)=>Q("bold")},{label:"I",title:"Italic",run:(Q)=>Q("italic")},{label:"H2",title:"Heading",run:(Q)=>Q("formatBlock","H2")},{label:"H3",title:"Subheading",run:(Q)=>Q("formatBlock","H3")},{label:"¶",title:"Paragraph",run:(Q)=>Q("formatBlock","P")},{label:"• List",title:"Bulleted list",run:(Q)=>Q("insertUnorderedList")},{label:"1. List",title:"Numbered list",run:(Q)=>Q("insertOrderedList")},{label:"Link",title:"Add link",run:(Q)=>{let q=window.prompt("Link URL (https://, mailto:, /path)","https://");if(!q)return;let z=xv(q);if(!z){window.alert("Only http(s), mailto, tel, or relative (/, #) links are allowed.");return}Q("createLink",z)}},{label:"Unlink",title:"Remove link",run:(Q)=>Q("unlink")},{label:"Clear",title:"Clear formatting",run:(Q)=>Q("removeFormat")}]});function GF({lead:Q,em:q,children:z}){return P.jsxDEV("div",{className:"mx-auto grid max-w-[1200px] grid-cols-[1fr_auto] items-center gap-6 px-7 pb-6 pt-8 max-[820px]:grid-cols-1",children:[P.jsxDEV("h1",{className:"m-0 text-[56px] font-normal leading-[1.05] tracking-[-0.01em] max-[820px]:text-[40px]",children:[P.jsxDEV("span",{className:"block text-fg-subtle",children:Q},void 0,!1,void 0,this),P.jsxDEV("span",{className:"block text-fg",children:q},void 0,!1,void 0,this)]},void 0,!0,void 0,this),z]},void 0,!0,void 0,this)}function n5({text:Q,em:q,children:z}){return P.jsxDEV("div",{className:"flex min-w-[360px] items-center gap-4 rounded-full bg-brand-green py-3 pl-7 pr-3 max-[820px]:min-w-0",children:[P.jsxDEV("span",{className:"text-lg text-[#0f3a25]",children:[Q," ",P.jsxDEV("span",{className:"font-semibold",children:q},void 0,!1,void 0,this)]},void 0,!0,void 0,this),z]},void 0,!0,void 0,this)}function KH({children:Q}){return P.jsxDEV("div",{className:"mb-2 mt-[18px] text-sm text-fg-subtle first:mt-0",children:Q},void 0,!1,void 0,this)}function hz({status:Q,children:q}){return P.jsxDEV("span",{className:`inline-block whitespace-nowrap rounded-full border px-2.5 py-0.5 text-[11px] font-medium ${Q==="published"||Q==="active"?"bg-brand-green text-[#0f3a25] border-transparent":Q==="in_review"||Q==="review"?"bg-accent-yellow text-[#4a3512] border-transparent":Q==="rejected"||Q==="archived"||Q==="inactive"?"border-danger text-danger bg-surface-card":"border-border text-fg-muted bg-surface-card"}`,children:q},void 0,!1,void 0,this)}function s5({onClose:Q,wide:q,children:z}){return P.jsxDEV("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-[rgba(20,15,5,0.28)] p-6",onClick:Q,children:P.jsxDEV("div",{className:`max-h-[86vh] w-full overflow-auto rounded-panel border border-border bg-surface-card px-9 py-8 shadow-[0_24px_60px_rgba(30,20,10,0.12)] ${q?"max-w-[680px]":"max-w-[520px]"}`,onClick:(_)=>_.stopPropagation(),children:z},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function a5({children:Q}){return P.jsxDEV("h2",{className:"mb-5 text-[28px] font-normal leading-[1.15] text-fg",children:Q},void 0,!1,void 0,this)}function HF({children:Q,className:q}){return P.jsxDEV("div",{className:`grid grid-cols-[auto_1fr] gap-x-3.5 gap-y-2 text-[13px] text-fg-muted [&>span:nth-child(odd)]:text-fg-subtle ${q??""}`,children:Q},void 0,!1,void 0,this)}function FP({children:Q}){return P.jsxDEV("div",{className:"overflow-auto rounded-panel border border-border bg-surface-card p-6",children:Q},void 0,!1,void 0,this)}function o5({ok:Q,children:q}){return P.jsxDEV("div",{className:`my-2 rounded-lg border px-3.5 py-2.5 text-[13px] ${Q?"border-brand-green bg-brand-green/20 text-[#0f3a25]":"border-danger bg-surface-card text-danger"}`,children:q},void 0,!1,void 0,this)}function MP({api:Q,pages:q,blockTypes:z,onOpen:_,onCreated:W,onError:K}){let[A,L]=MZ.useState(!1);return P.jsxDEV(P.Fragment,{children:[P.jsxDEV(GF,{lead:"Pages",em:q.length===0?"None yet":q.length===1?"1 page total":`${q.length} pages total`,children:P.jsxDEV(n5,{text:"Let's",em:"create something",children:P.jsxDEV(yZ,{className:"shrink-0",onPress:()=>L(!0),children:"+ New page"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),P.jsxDEV("div",{className:qF,children:P.jsxDEV("div",{className:"flex flex-col gap-2",children:[q.map((O)=>P.jsxDEV("div",{className:`${xW} cursor-pointer hover:bg-surface-muted`,onClick:()=>_(O),children:[P.jsxDEV("span",{className:"flex-1 truncate font-medium",children:O.title},void 0,!1,void 0,this),P.jsxDEV("span",{className:"text-fg-subtle",children:["/",O.slug]},void 0,!0,void 0,this),P.jsxDEV("span",{className:"text-fg-subtle",children:O.locale},void 0,!1,void 0,this),P.jsxDEV(hz,{status:O.status,children:O.status},void 0,!1,void 0,this)]},O.id,!0,void 0,this)),q.length===0?P.jsxDEV("p",{className:"text-fg-subtle",children:["No pages yet. ",z.length===0?"Define block types + a content type first (via the API/admin).":"Create one."]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this),A?P.jsxDEV(gv,{api:Q,onClose:()=>L(!1),onCreated:()=>{L(!1),W()},onError:K},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function gv({api:Q,onClose:q,onCreated:z,onError:_}){let[W,K]=MZ.useState([]),[A,L]=MZ.useState(""),[O,I]=MZ.useState(""),[N,M]=MZ.useState("");MZ.useEffect(()=>{Q.listContentTypes().then((j)=>{if(K(j),j[0])L(j[0].id)}).catch((j)=>_(IX(j)))},[Q,_]);let R=async()=>{try{await Q.call("createPage",{typeId:A,title:O,slug:N||OP(O)}),z()}catch(j){_(IX(j))}};return P.jsxDEV(s5,{onClose:q,children:[P.jsxDEV(a5,{children:["Create a ",P.jsxDEV(JF,{children:"new page"},void 0,!1,void 0,this)," and define the essentials",P.jsxDEV(JF,{children:"."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),P.jsxDEV("div",{className:"flex flex-col gap-4",children:[P.jsxDEV("label",{className:"flex w-full flex-col gap-2",children:[P.jsxDEV("span",{className:"text-sm font-medium text-fg",children:"Content type"},void 0,!1,void 0,this),P.jsxDEV("select",{className:"h-10 w-full rounded-lg border border-border bg-surface-card px-4 text-sm text-fg outline-none focus:border-brand-green",value:A,onChange:(j)=>L(j.target.value),children:W.map((j)=>P.jsxDEV("option",{value:j.id,children:j.name},j.id,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this),P.jsxDEV(kY,{label:"Title",value:O,onChange:I},void 0,!1,void 0,this),P.jsxDEV(kY,{label:"Slug",value:N,onChange:M,placeholder:OP(O)},void 0,!1,void 0,this),P.jsxDEV("div",{className:"mt-2 flex justify-end gap-2",children:[P.jsxDEV(yZ,{variant:"ghost",onPress:q,children:"cancel"},void 0,!1,void 0,this),P.jsxDEV(yZ,{onPress:R,isDisabled:!A||!O,children:"Create"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function NP({api:Q,page:q,blockTypes:z,tab:_,onTab:W,onBack:K,onChange:A}){let[L,O]=MZ.useState(null),[I,N]=MZ.useState(null),[M,R]=MZ.useState(""),j=MZ.useRef(new Set),[h,d]=MZ.useState(0),b=MZ.useCallback((E,g)=>{let e=j.current;if(g?e.has(E):!e.has(E))return;if(g)e.add(E);else e.delete(E);d(e.size)},[]),a=()=>j.current.size===0||window.confirm(`You have unsaved changes in ${j.current.size} block${j.current.size===1?"":"s"}. Leave without saving?`),t=MZ.useMemo(()=>new Map(z.map((E)=>[E.slug,E])),[z]),qZ=MZ.useCallback(async()=>{try{let[E,g]=await Promise.all([Q.getContentType(q.typeId),Q.getPagePreview(q.slug,q.locale)]);O(E??null),N(g)}catch(E){R(IX(E))}},[Q,q.typeId,q.slug,q.locale]);MZ.useEffect(()=>{qZ()},[qZ]),MZ.useEffect(()=>{if(h===0)return;let E=(g)=>{g.preventDefault(),g.returnValue=""};return window.addEventListener("beforeunload",E),()=>window.removeEventListener("beforeunload",E)},[h]);let QZ=L?.regions??[],LZ=(E,g)=>N((e)=>e?{...e,regions:{...e.regions,[E]:g(e.regions[E]??[])}}:e),kZ=async(E,g)=>{let e=`tmp:${crypto.randomUUID()}`;LZ(E,(p)=>[...p,{id:e,block_id:e,block_type:g,title:null,fields:{},is_shared:!1,pending:!0}]);try{let{block:p,placement:w}=await Q.call("addBlock",{pageId:q.id,blockTypeSlug:g,region:E,fields:{}}),o={id:String(w.id),block_id:String(p.id),block_type:g,title:p.title??null,fields:p.fields??{},is_shared:Boolean(w.isShared)};LZ(E,(AZ)=>AZ.map((VZ)=>VZ.id===e?o:VZ))}catch(p){LZ(E,(w)=>w.filter((o)=>o.id!==e)),R(IX(p))}},JZ=async(E)=>{try{await Q.call("removeBlock",{pageBlockId:E.id}),await qZ()}catch(g){R(IX(g))}},l=async(E,g)=>{try{await Q.call("reorderRegion",{pageId:q.id,region:E,order:g}),await qZ()}catch(e){R(IX(e))}},OZ=MZ.useCallback((E,g)=>{N((e)=>{if(!e)return e;let p={};for(let[w,o]of Object.entries(e.regions))p[w]=o.map((AZ)=>AZ.id===E?{...AZ,fields:g}:AZ);return{...e,regions:p}})},[]),[n,wZ]=MZ.useState(null),WZ=(E,g)=>wZ({region:E,from:g,over:g}),HZ=(E,g)=>wZ((e)=>e&&e.region===E&&e.over!==g?{...e,over:g}:e),v=()=>wZ(null),m=(E)=>{if(wZ(null),!n||n.region!==E||n.from===n.over)return;let g=(I?.regions[E]??[]).map((p)=>p.id),[e]=g.splice(n.from,1);g.splice(n.over,0,e),l(E,g)};return P.jsxDEV("div",{className:"grid min-h-[calc(100vh-68px)] grid-cols-[260px_1fr_400px] gap-5 px-7 pb-7 pt-2 max-[820px]:grid-cols-1",children:[P.jsxDEV("div",{className:"overflow-auto rounded-panel bg-surface-muted p-[18px]",children:[P.jsxDEV(yZ,{variant:"ghost",size:"sm",onPress:()=>{if(a())K()},children:"← all pages"},void 0,!1,void 0,this),h>0?P.jsxDEV("p",{className:"mt-2 text-[11px] text-accent-strong",children:["● ",h," unsaved block",h===1?"":"s"]},void 0,!0,void 0,this):null,P.jsxDEV(KH,{children:"Regions"},void 0,!1,void 0,this),QZ.map((E)=>P.jsxDEV("div",{className:`${xW} mb-2`,children:[P.jsxDEV("span",{className:"flex-1 truncate font-medium",children:E.label??E.name},void 0,!1,void 0,this),P.jsxDEV("span",{className:"text-fg-subtle",children:(I?.regions[E.name]??[]).length},void 0,!1,void 0,this)]},E.name,!0,void 0,this)),P.jsxDEV(KH,{children:"Status"},void 0,!1,void 0,this),P.jsxDEV("div",{className:xW,children:[P.jsxDEV("span",{className:"flex-1 truncate font-medium",children:q.title},void 0,!1,void 0,this),P.jsxDEV(hz,{status:q.status,children:q.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),P.jsxDEV("div",{className:"overflow-auto py-1.5",children:[M?P.jsxDEV(o5,{children:M},void 0,!1,void 0,this):null,QZ.map((E)=>{let g=I?.regions[E.name]??[],e=E.allowedTypes&&E.allowedTypes.length?E.allowedTypes:z.map((p)=>p.slug);return P.jsxDEV("div",{className:"mb-8",children:[P.jsxDEV("h3",{className:"m-0 mb-3 text-[22px] font-normal text-fg",children:E.label??E.name},void 0,!1,void 0,this),g.length===0?P.jsxDEV("p",{className:"mb-3 text-sm text-fg-subtle",children:"No blocks yet — add one below."},void 0,!1,void 0,this):null,g.map((p,w)=>P.jsxDEV(mv,{api:Q,block:p,blockType:t.get(p.block_type),isFirst:w===0,isLast:w===g.length-1,onMove:(o)=>Xh(g,E.name,w,o,l),onRemove:()=>JZ(p),onPatch:OZ,onDirtyChange:b,onError:R,dragging:n?.region===E.name&&n.from===w,isOver:!!n&&n.region===E.name&&n.over===w&&n.from!==w,onDragStartBlock:()=>WZ(E.name,w),onDragOverBlock:()=>HZ(E.name,w),onDropBlock:()=>m(E.name),onDragEndBlock:v},p.id,!1,void 0,this)),P.jsxDEV(fv,{allowed:e,btBySlug:t,onAdd:(p)=>kZ(E.name,p)},void 0,!1,void 0,this)]},E.name,!0,void 0,this)}),QZ.length===0?P.jsxDEV("p",{className:"text-fg-subtle",children:"This page's content type has no regions."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),P.jsxDEV("div",{className:"overflow-auto rounded-panel border border-border bg-surface-card p-5",children:[P.jsxDEV("div",{className:"mb-3 flex gap-1",children:i5.map((E)=>P.jsxDEV(yZ,{variant:"ghost",size:"sm",className:_===E?"bg-surface-muted text-fg":"text-fg-muted",onPress:()=>W(E),children:E},E,!1,void 0,this))},void 0,!1,void 0,this),_==="settings"?P.jsxDEV(uv,{page:q},void 0,!1,void 0,this):null,_==="seo"?P.jsxDEV(dv,{api:Q,page:q,onError:R},void 0,!1,void 0,this):null,_==="workflow"?P.jsxDEV(cv,{api:Q,page:q,onChanged:(E)=>{A(E)},onError:R},void 0,!1,void 0,this):null,_==="i18n"?P.jsxDEV(pv,{api:Q,page:q,onError:R},void 0,!1,void 0,this):null,_==="audit"?P.jsxDEV(lv,{api:Q,pageId:q.id,onError:R},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function mv({api:Q,block:q,blockType:z,isFirst:_,isLast:W,onMove:K,onRemove:A,onPatch:L,onDirtyChange:O,onError:I,dragging:N,isOver:M,onDragStartBlock:R,onDragOverBlock:j,onDropBlock:h,onDragEndBlock:d}){let[b,a]=MZ.useState(null),[t,qZ]=MZ.useState(!1),[QZ,LZ]=MZ.useState("idle"),kZ=MZ.useRef(""),JZ=MZ.useRef(null),l=q.block_id,OZ=q.id;MZ.useEffect(()=>{if(q.pending){a({}),kZ.current="{}";return}let m=!0;return Q.call("getBlock",{blockId:l}).then((E)=>{if(!m)return;let g=E?.fields??{};a(g),kZ.current=JSON.stringify(g)}).catch((E)=>I(IX(E))),()=>{m=!1}},[Q,l,I,q.pending]);let n=b!=null&&JSON.stringify(b)!==kZ.current,wZ=MZ.useCallback(async()=>{if(q.pending||b==null)return;let m=JSON.stringify(b);if(m===kZ.current)return;LZ("saving");try{await Q.call("updateBlock",{blockId:l,fields:b}),kZ.current=m,L(OZ,b),LZ("saved"),setTimeout(()=>LZ((E)=>E==="saved"?"idle":E),1500)}catch(E){I(IX(E)),LZ("idle")}},[Q,l,OZ,b,L,I,q.pending]),WZ=(m)=>a(m);MZ.useEffect(()=>{O(OZ,n)},[n,OZ,O]),MZ.useEffect(()=>()=>{O(OZ,!1)},[OZ,O]);let HZ=z?.fieldsSchema??[],v=z?.name??q.block_type;return P.jsxDEV("div",{ref:JZ,className:`mb-2.5 rounded-panel border bg-surface-card transition-colors ${M?"border-brand-green":"border-border"} ${N?"opacity-40":""} ${q.pending?"pointer-events-none opacity-60":""}`,onDragOver:(m)=>{m.preventDefault(),j()},onDrop:(m)=>{m.preventDefault(),h()},children:[P.jsxDEV("div",{className:"flex items-center gap-2.5 px-3.5 py-2.5",children:[P.jsxDEV("span",{draggable:!0,onDragStart:(m)=>{if(JZ.current)m.dataTransfer.setDragImage(JZ.current,12,12);m.dataTransfer.effectAllowed="move",m.dataTransfer.setData("text/plain",""),R()},onDragEnd:d,className:"shrink-0 cursor-grab select-none px-0.5 text-fg-subtle hover:text-fg active:cursor-grabbing",title:"Drag to reorder",children:"⠿"},void 0,!1,void 0,this),P.jsxDEV("button",{type:"button",className:"w-4 shrink-0 text-fg-subtle hover:text-fg",title:t?"Expand":"Collapse",onClick:()=>qZ((m)=>!m),children:t?"▸":"▾"},void 0,!1,void 0,this),P.jsxDEV("span",{className:"font-medium text-fg",children:v},void 0,!1,void 0,this),q.is_shared?P.jsxDEV("span",{className:"text-[11px] text-accent-strong",children:"shared"},void 0,!1,void 0,this):null,P.jsxDEV("span",{className:`text-[11px] ${n&&QZ!=="saving"?"text-accent-strong":"text-fg-subtle"}`,children:QZ==="saving"?"saving…":QZ==="saved"?"saved ✓":n?"● unsaved":""},void 0,!1,void 0,this),P.jsxDEV("span",{className:"flex-1"},void 0,!1,void 0,this),P.jsxDEV(yZ,{variant:"ghost",size:"sm",isDisabled:_,onPress:()=>K(-1),children:"↑"},void 0,!1,void 0,this),P.jsxDEV(yZ,{variant:"ghost",size:"sm",isDisabled:W,onPress:()=>K(1),children:"↓"},void 0,!1,void 0,this),P.jsxDEV(yZ,{variant:"ghost",size:"sm",className:"text-danger",onPress:A,children:"✕"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),t?P.jsxDEV("div",{className:"cursor-pointer truncate px-3.5 pb-3 text-sm text-fg-subtle",onClick:()=>qZ(!1),children:b==null?"…":Zh(b)||P.jsxDEV("span",{className:"italic",children:"empty"},void 0,!1,void 0,this)},void 0,!1,void 0,this):P.jsxDEV("div",{className:"border-t border-border px-3.5 py-3.5",children:b==null?P.jsxDEV("p",{className:"text-sm text-fg-subtle",children:"loading…"},void 0,!1,void 0,this):HZ.length===0?P.jsxDEV("p",{className:"text-sm text-fg-subtle",children:"This block has no editable fields."},void 0,!1,void 0,this):P.jsxDEV(P.Fragment,{children:[P.jsxDEV(QF,{schema:HZ,value:b,onChange:WZ,api:Q},void 0,!1,void 0,this),P.jsxDEV("div",{className:"mt-3.5 flex items-center gap-2 border-t border-border pt-3",children:[P.jsxDEV(yZ,{size:"sm",onPress:()=>void wZ(),isDisabled:!n||QZ==="saving"||q.pending,children:QZ==="saving"?"Saving…":"Save"},void 0,!1,void 0,this),n?P.jsxDEV("span",{className:"text-[11px] text-accent-strong",children:"Unsaved changes"},void 0,!1,void 0,this):QZ==="saved"?P.jsxDEV("span",{className:"text-[11px] text-fg-subtle",children:"Saved ✓"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function fv({allowed:Q,btBySlug:q,onAdd:z}){let[_,W]=MZ.useState(!1);if(!_)return P.jsxDEV(yZ,{variant:"secondary",size:"sm",onPress:()=>W(!0),children:"+ Add block"},void 0,!1,void 0,this);return P.jsxDEV("div",{className:"rounded-panel border border-border bg-surface-card p-2.5",children:[P.jsxDEV("div",{className:"mb-1.5 px-1 text-[11px] text-fg-subtle",children:"Add a block"},void 0,!1,void 0,this),P.jsxDEV("div",{className:"flex flex-wrap gap-1.5",children:Q.map((K)=>P.jsxDEV(yZ,{variant:"ghost",size:"sm",onPress:()=>{z(K),W(!1)},children:q.get(K)?.name??K},K,!1,void 0,this))},void 0,!1,void 0,this),P.jsxDEV("div",{className:"mt-1.5 text-right",children:P.jsxDEV(yZ,{variant:"ghost",size:"sm",className:"text-fg-subtle",onPress:()=>W(!1),children:"cancel"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function uv({page:Q}){return P.jsxDEV(HF,{children:[P.jsxDEV("span",{children:"Title"},void 0,!1,void 0,this),P.jsxDEV("span",{children:Q.title},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Slug"},void 0,!1,void 0,this),P.jsxDEV("span",{children:["/",Q.slug]},void 0,!0,void 0,this),P.jsxDEV("span",{children:"Locale"},void 0,!1,void 0,this),P.jsxDEV("span",{children:Q.locale},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Status"},void 0,!1,void 0,this),P.jsxDEV("span",{children:Q.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function dv({api:Q,page:q,onError:z}){let[_,W]=MZ.useState({metaTitle:q.metaTitle??"",metaDescription:q.metaDescription??"",canonicalUrl:q.canonicalUrl??"",robots:q.robots??"",ogTitle:q.ogTitle??"",ogDescription:q.ogDescription??""}),[K,A]=MZ.useState(!1),L=async()=>{try{await Q.call("updatePageSeo",{pageId:q.id,..._}),A(!0),setTimeout(()=>A(!1),1500)}catch(I){z(IX(I))}},O=(I,N,M=!1)=>M?P.jsxDEV(ZF,{label:N,value:_[I],onChange:(R)=>W({..._,[I]:R})},void 0,!1,void 0,this):P.jsxDEV(kY,{label:N,value:_[I],onChange:(R)=>W({..._,[I]:R})},void 0,!1,void 0,this);return P.jsxDEV("div",{className:"flex flex-col gap-4",children:[P.jsxDEV(KH,{children:"SEO"},void 0,!1,void 0,this),K?P.jsxDEV(o5,{ok:!0,children:"saved"},void 0,!1,void 0,this):null,O("metaTitle","Meta title"),O("metaDescription","Meta description",!0),O("canonicalUrl","Canonical URL"),O("robots","Robots (e.g. noindex)"),O("ogTitle","OG title"),O("ogDescription","OG description",!0),P.jsxDEV(yZ,{className:"w-full",onPress:L,children:"Save SEO"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function cv({api:Q,page:q,onChanged:z,onError:_}){let W=async(L,O)=>{try{let I=await Q.call(L,{pageId:q.id,...O});if(I?.page)z(I.page)}catch(I){_(IX(I))}},K=String(q.status),A=K==="review"?[{label:"Approve (publish)",action:"approve"},{label:"Reject",action:"reject",variant:"secondary"},{label:"Publish directly",action:"publishPage",variant:"secondary"}]:K==="published"?[{label:"Unpublish",action:"unpublishPage",variant:"secondary"}]:[{label:"Publish",action:"publishPage"},{label:"Submit for review",action:"submitForReview",variant:"secondary"}];return P.jsxDEV("div",{children:[P.jsxDEV(KH,{children:"Workflow"},void 0,!1,void 0,this),P.jsxDEV("div",{className:"mb-3 flex items-center gap-2 text-[13px] text-fg-muted",children:[P.jsxDEV("span",{className:"text-fg-subtle",children:"Status"},void 0,!1,void 0,this),P.jsxDEV(hz,{status:q.status,children:q.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this),P.jsxDEV("div",{className:"flex flex-col gap-2",children:A.map((L)=>P.jsxDEV(yZ,{variant:L.variant,onPress:()=>W(L.action),children:L.label},L.action,!1,void 0,this))},void 0,!1,void 0,this),P.jsxDEV("p",{className:"mt-2.5 text-fg-subtle",children:"Publish needs a reviewer/admin role; submit-for-review is editor-gated."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function pv({api:Q,page:q,onError:z}){let[_,W]=MZ.useState([]),[K,A]=MZ.useState(""),L=MZ.useCallback(()=>Q.call("listTranslations",{pageId:q.id}).then(W).catch((I)=>z(IX(I))),[Q,q.id,z]);MZ.useEffect(()=>{L()},[L]);let O=async()=>{try{await Q.call("createTranslation",{pageId:q.id,locale:K}),A(""),L()}catch(I){z(IX(I))}};return P.jsxDEV("div",{children:[P.jsxDEV(KH,{children:"Translations"},void 0,!1,void 0,this),P.jsxDEV("div",{className:"flex flex-col gap-2",children:_.map((I)=>P.jsxDEV("div",{className:xW,children:[P.jsxDEV("span",{className:"flex-1 truncate font-medium",children:I.locale},void 0,!1,void 0,this),P.jsxDEV("span",{className:"text-fg-subtle",children:["/",I.slug]},void 0,!0,void 0,this),P.jsxDEV(hz,{status:I.status,children:I.status},void 0,!1,void 0,this)]},I.id,!0,void 0,this))},void 0,!1,void 0,this),P.jsxDEV("div",{className:"mt-2 flex items-end gap-1.5",children:[P.jsxDEV(kY,{label:"",value:K,onChange:A,placeholder:"locale (e.g. cs)"},void 0,!1,void 0,this),P.jsxDEV(yZ,{variant:"secondary",onPress:O,isDisabled:!K,children:"add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function lv({api:Q,pageId:q,onError:z}){let[_,W]=MZ.useState([]);return MZ.useEffect(()=>{Q.listPageAudit(q).then(W).catch((K)=>z(IX(K)))},[Q,q,z]),P.jsxDEV("div",{children:[P.jsxDEV(KH,{children:"Audit trail"},void 0,!1,void 0,this),P.jsxDEV("div",{className:"flex flex-col gap-2",children:[_.map((K)=>P.jsxDEV("div",{className:`${xW} text-xs`,children:[P.jsxDEV("span",{className:"rounded-full bg-surface-muted px-2 py-0.5 font-mono text-xs text-fg-muted",children:K.action},void 0,!1,void 0,this),P.jsxDEV("span",{className:"flex-1 truncate text-fg-subtle",children:[K.fromStatus," → ",K.toStatus]},void 0,!0,void 0,this),P.jsxDEV("span",{className:"text-fg-subtle",children:K.actor??"system"},void 0,!1,void 0,this)]},K.id,!0,void 0,this)),_.length===0?P.jsxDEV("p",{className:"text-fg-subtle",children:"No history yet."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function IP({api:Q,onError:q}){let[z,_]=MZ.useState([]),[W,K]=MZ.useState(0),[A,L]=MZ.useState(!1),[O,I]=MZ.useState(null),[N,M]=MZ.useState(!1),R=MZ.useCallback((h)=>{Q.listMedia(AP,h).then((d)=>{_((b)=>h===0?d:[...b,...d]),L(d.length===AP),K(h+d.length)}).catch((d)=>q(IX(d)))},[Q,q]);MZ.useEffect(()=>{R(0)},[R]);let j=async(h)=>{if(!h?.length)return;M(!0),q("");try{for(let d of Array.from(h))await Q.uploadMedia(d);R(0)}catch(d){q(IX(d))}finally{M(!1)}};return P.jsxDEV(P.Fragment,{children:[P.jsxDEV(GF,{lead:"Media",em:z.length===0?"None yet":z.length===1?"1 file":`${z.length}${A?"+":""} files`,children:P.jsxDEV(n5,{text:"Let's",em:"upload something",children:P.jsxDEV("label",{className:`inline-flex shrink-0 cursor-pointer items-center rounded-full bg-surface-inverted px-6 py-3 text-compact text-fg-inverted ${N?"pointer-events-none opacity-50":""}`,children:[N?"Uploading…":"+ Upload",P.jsxDEV("input",{type:"file",multiple:!0,hidden:!0,disabled:N,onChange:(h)=>{j(h.target.files),h.target.value=""}},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),P.jsxDEV("div",{className:qF,children:[z.length===0?P.jsxDEV("p",{className:"text-fg-subtle",children:"No media yet. Upload images to use them in blocks and SEO."},void 0,!1,void 0,this):P.jsxDEV("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(180px,1fr))] gap-2.5",children:z.map((h)=>P.jsxDEV("div",{className:`cursor-pointer overflow-hidden rounded-lg border bg-surface-card ${O?.id===h.id?"border-fg":"border-border"}`,onClick:()=>I(h),children:[VP(h)?P.jsxDEV("img",{className:"block h-[130px] w-full object-cover",src:Q.resolve(`/media/${h.file.key}`),alt:h.alt??""},void 0,!1,void 0,this):P.jsxDEV("div",{className:"flex h-[130px] items-center justify-center bg-surface-muted font-mono text-xs text-fg-subtle",children:RP(h)},void 0,!1,void 0,this),P.jsxDEV("div",{className:"truncate px-2 py-1.5 text-[11px] text-fg-muted",children:h.file.filename??h.id},void 0,!1,void 0,this)]},h.id,!0,void 0,this))},void 0,!1,void 0,this),A?P.jsxDEV("div",{className:"mt-3.5 text-center",children:P.jsxDEV(yZ,{variant:"secondary",size:"sm",onPress:()=>R(W),children:"Load more"},void 0,!1,void 0,this)},void 0,!1,void 0,this):null,O?P.jsxDEV(iv,{api:Q,media:O,onClose:()=>I(null),onSaved:(h)=>{I(h),_((d)=>d.map((b)=>b.id===h.id?h:b))},onDeleted:(h)=>{I(null),_((d)=>d.filter((b)=>b.id!==h))},onError:q},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function iv({api:Q,media:q,onClose:z,onSaved:_,onDeleted:W,onError:K}){let[A,L]=MZ.useState(q.alt??""),[O,I]=MZ.useState(!1);MZ.useEffect(()=>L(q.alt??""),[q]);let N=Q.resolve(`/media/${q.file.key}`),M=async()=>{I(!0);try{_(await Q.updateMedia(q.id,A||null))}catch(j){K(IX(j))}finally{I(!1)}},R=async()=>{if(!confirm("Delete this file permanently? If a block or page still references it, that image will break — this cannot be undone."))return;I(!0);try{await Q.deleteMedia(q.id),W(q.id)}catch(j){K(IX(j))}finally{I(!1)}};return P.jsxDEV(s5,{onClose:z,wide:!0,children:[P.jsxDEV(a5,{children:[P.jsxDEV(JF,{children:"Media"},void 0,!1,void 0,this)," ",q.file.filename??""]},void 0,!0,void 0,this),VP(q)?P.jsxDEV("img",{className:"mx-auto mb-3.5 block max-h-[340px] max-w-full rounded-lg bg-surface-muted object-contain",src:N,alt:q.alt??""},void 0,!1,void 0,this):P.jsxDEV("div",{className:"mb-3.5 flex h-[200px] items-center justify-center rounded-lg bg-surface-muted font-mono text-fg-subtle",children:RP(q)},void 0,!1,void 0,this),P.jsxDEV("div",{className:"mb-4",children:P.jsxDEV(kY,{label:"Alt text (for accessibility & SEO)",value:A,onChange:L,placeholder:"Describe the image…"},void 0,!1,void 0,this)},void 0,!1,void 0,this),P.jsxDEV(HF,{children:[P.jsxDEV("span",{children:"Type"},void 0,!1,void 0,this),P.jsxDEV("span",{children:q.file.contentType??"—"},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Size"},void 0,!1,void 0,this),P.jsxDEV("span",{children:tv(q.file.size)},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Uploaded"},void 0,!1,void 0,this),P.jsxDEV("span",{children:q.file.uploadedAt?new Date(q.file.uploadedAt).toLocaleString():q.createdAt??"—"},void 0,!1,void 0,this),P.jsxDEV("span",{children:"URL"},void 0,!1,void 0,this),P.jsxDEV("span",{className:"break-all",children:P.jsxDEV("a",{className:"underline underline-offset-2",href:N,target:"_blank",rel:"noreferrer",children:["/media/",q.file.key]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),P.jsxDEV("div",{className:"mt-3.5 flex items-center gap-2",children:[P.jsxDEV(yZ,{onPress:M,isDisabled:O||A===(q.alt??""),children:"Save"},void 0,!1,void 0,this),P.jsxDEV(yZ,{variant:"secondary",size:"sm",onPress:()=>navigator.clipboard?.writeText(N),children:"Copy URL"},void 0,!1,void 0,this),P.jsxDEV("span",{className:"flex-1"},void 0,!1,void 0,this),P.jsxDEV(yZ,{variant:"ghost",className:"text-danger",onPress:R,isDisabled:O,children:"Delete"},void 0,!1,void 0,this),P.jsxDEV(yZ,{variant:"ghost",onPress:z,children:"Close"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function nv(Q){let q=Q.roles;if(Array.isArray(q))return q.filter((z)=>typeof z==="string");if(typeof q==="string")try{let z=JSON.parse(q);return Array.isArray(z)?z:[]}catch{return[]}return[]}function TP({api:Q,me:q,onError:z}){let[_,W]=MZ.useState([]),[K,A]=MZ.useState(!1),[L,O]=MZ.useState(""),I=MZ.useCallback(()=>{Q.call("listUsers",{limit:200}).then(W).catch((j)=>z(IX(j)))},[Q,z]);MZ.useEffect(()=>{I()},[I]);let N=async(j,h)=>{O(j.username);try{await Q.call("setUserRoles",{username:j.username,roles:h}),I()}catch(d){z(IX(d))}finally{O("")}},M=async(j,h)=>{O(j.username);try{await Q.call("setUserActive",{username:j.username,active:h}),I()}catch(d){z(IX(d))}finally{O("")}},R=async(j)=>{if(!confirm(`Delete user ${j.username}? This cannot be undone.`))return;O(j.username);try{await Q.call("deleteUser",{username:j.username}),I()}catch(h){z(IX(h))}finally{O("")}};return P.jsxDEV(P.Fragment,{children:[P.jsxDEV(GF,{lead:"Users",em:_.length===0?"None yet":_.length===1?"1 account":`${_.length} accounts`,children:P.jsxDEV(n5,{text:"Let's",em:"invite someone",children:P.jsxDEV(yZ,{className:"shrink-0",onPress:()=>A(!0),children:"+ Invite"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),P.jsxDEV("div",{className:qF,children:P.jsxDEV("div",{className:"flex flex-col gap-2",children:[_.map((j)=>{let h=nv(j),d=q?.userId===j.username,b=j.active===void 0||j.active===null?!0:Boolean(Number(j.active));return P.jsxDEV("div",{className:`${xW} flex-wrap items-start`,children:[P.jsxDEV("div",{className:"flex min-w-[200px] flex-1 flex-col gap-0.5",children:[P.jsxDEV("span",{className:"font-semibold",children:[j.username,d?P.jsxDEV("span",{className:"ml-1.5 font-normal text-fg-subtle",children:"(you)"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),j.email&&j.email!==j.username?P.jsxDEV("span",{className:"text-xs text-fg-subtle",children:j.email},void 0,!1,void 0,this):null,j.createdAt?P.jsxDEV("span",{className:"text-[11px] text-fg-subtle",children:["joined ",new Date(Number(j.createdAt)).toLocaleDateString()]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),P.jsxDEV(sv,{value:h,disabled:L===j.username,onSave:(a)=>N(j,a)},void 0,!1,void 0,this),P.jsxDEV(hz,{status:b?"active":"inactive",children:b?"active":"inactive"},void 0,!1,void 0,this),P.jsxDEV(yZ,{variant:"ghost",size:"sm",isDisabled:L===j.username||d,onPress:()=>M(j,!b),children:b?"Deactivate":"Activate"},void 0,!1,void 0,this),P.jsxDEV(yZ,{variant:"ghost",size:"sm",className:"text-danger",isDisabled:L===j.username||d,onPress:()=>R(j),children:"Delete"},void 0,!1,void 0,this)]},j.username,!0,void 0,this)}),_.length===0?P.jsxDEV("p",{className:"text-fg-subtle",children:"No users yet. Invite someone to get started."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this),K?P.jsxDEV(av,{api:Q,onClose:()=>A(!1),onInvited:()=>{A(!1),I()},onError:z},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function sv({value:Q,disabled:q,onSave:z}){let[_,W]=MZ.useState(Q.join(", ")),[K,A]=MZ.useState(!1);MZ.useEffect(()=>{W(Q.join(", "))},[Q]);let L=()=>{A(!1);let O=_.split(",").map((I)=>I.trim()).filter(Boolean);if(O.length===0){W(Q.join(", "));return}if(O.length===Q.length&&O.every((I,N)=>I===Q[N]))return;z(O)};if(K)return P.jsxDEV("input",{autoFocus:!0,className:"h-10 w-[220px] rounded-lg border border-border bg-surface-card px-4 text-sm text-fg outline-none focus:border-brand-green",value:_,disabled:q,onChange:(O)=>W(O.target.value),onBlur:L,onKeyDown:(O)=>{if(O.key==="Enter")L();if(O.key==="Escape")W(Q.join(", ")),A(!1)}},void 0,!1,void 0,this);return P.jsxDEV("span",{className:"flex cursor-pointer flex-wrap gap-1",onClick:()=>A(!0),title:"Click to edit",children:Q.length===0?P.jsxDEV(hz,{children:"no roles"},void 0,!1,void 0,this):Q.map((O)=>P.jsxDEV(hz,{status:O==="admin"?"published":void 0,children:O},O,!1,void 0,this))},void 0,!1,void 0,this)}function av({api:Q,onClose:q,onInvited:z,onError:_}){let[W,K]=MZ.useState(""),[A,L]=MZ.useState("editor"),[O,I]=MZ.useState(!1);return P.jsxDEV(s5,{onClose:q,children:[P.jsxDEV(a5,{children:["Invite an ",P.jsxDEV(JF,{children:"editor"},void 0,!1,void 0,this)," or teammate"]},void 0,!0,void 0,this),P.jsxDEV("p",{className:"-mt-2 mb-4 text-fg-subtle",children:"They'll get a one-time magic link that logs them in and creates their account."},void 0,!1,void 0,this),P.jsxDEV("div",{className:"flex flex-col gap-4",children:[P.jsxDEV(kY,{label:"Email",type:"email",autoFocus:!0,value:W,onChange:K,placeholder:"them@example.com"},void 0,!1,void 0,this),P.jsxDEV(kY,{label:"Roles (comma-separated — e.g. editor, reviewer, admin)",value:A,onChange:L,placeholder:"editor"},void 0,!1,void 0,this),P.jsxDEV("div",{className:"mt-2 flex justify-end gap-2",children:[P.jsxDEV(yZ,{variant:"ghost",onPress:q,children:"Cancel"},void 0,!1,void 0,this),P.jsxDEV(yZ,{onPress:async()=>{I(!0);try{let M=A.split(",").map((R)=>R.trim()).filter(Boolean);await Q.call("inviteUser",{email:W,roles:M}),z()}catch(M){_(IX(M))}finally{I(!1)}},isDisabled:O||!W,children:O?"Sending…":"Send invite"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function wP({api:Q,cfg:q,me:z,onSignOut:_,onError:W}){return P.jsxDEV(P.Fragment,{children:[P.jsxDEV(GF,{lead:"Settings",em:z?.userId??"your account"},void 0,!1,void 0,this),P.jsxDEV("div",{className:`${qF} grid grid-cols-2 gap-5 max-[820px]:grid-cols-1`,children:[P.jsxDEV(ov,{api:Q,me:z,onError:W,onSignOut:_},void 0,!1,void 0,this),P.jsxDEV(rv,{cfg:q,me:z},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function ov({api:Q,me:q,onError:z,onSignOut:_}){let[W,K]=MZ.useState(""),[A,L]=MZ.useState(""),[O,I]=MZ.useState(""),[N,M]=MZ.useState(""),[R,j]=MZ.useState(!1),h=(a)=>{M(a),setTimeout(()=>M(""),1800)},d=async()=>{j(!0);try{await Q.call("changeEmail",{email:W}),K(""),h("Contact email updated")}catch(a){z(IX(a))}finally{j(!1)}},b=async()=>{j(!0);try{await Q.call("changePassword",{currentPassword:A,newPassword:O}),L(""),I(""),h("Password updated")}catch(a){z(IX(a))}finally{j(!1)}};return P.jsxDEV(FP,{children:[P.jsxDEV(KH,{children:"My account"},void 0,!1,void 0,this),N?P.jsxDEV(o5,{ok:!0,children:N},void 0,!1,void 0,this):null,P.jsxDEV(HF,{className:"mb-4",children:[P.jsxDEV("span",{children:"Username"},void 0,!1,void 0,this),P.jsxDEV("span",{children:q?.userId??"—"},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Roles"},void 0,!1,void 0,this),P.jsxDEV("span",{children:(q?.roles??[]).join(", ")||"—"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),P.jsxDEV("div",{className:"flex flex-col gap-4",children:[P.jsxDEV(kY,{label:"Change contact email",type:"email",value:W,onChange:K,placeholder:"you@example.com"},void 0,!1,void 0,this),P.jsxDEV(yZ,{className:"w-full",onPress:d,isDisabled:R||!W,children:"Save email"},void 0,!1,void 0,this),P.jsxDEV(kY,{label:"Current password",type:"password",value:A,onChange:L,autoComplete:"current-password"},void 0,!1,void 0,this),P.jsxDEV(kY,{label:"New password (at least 8 characters)",type:"password",value:O,onChange:I,autoComplete:"new-password"},void 0,!1,void 0,this),P.jsxDEV(yZ,{className:"w-full",onPress:b,isDisabled:R||O.length<8||A.length===0,children:"Change password"},void 0,!1,void 0,this),P.jsxDEV(yZ,{variant:"ghost",className:"mt-2 w-full text-danger",onPress:_,children:"Sign out"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function rv({cfg:Q,me:q}){return P.jsxDEV(FP,{children:[P.jsxDEV(KH,{children:"About"},void 0,!1,void 0,this),P.jsxDEV(HF,{children:[P.jsxDEV("span",{children:"Tenant"},void 0,!1,void 0,this),P.jsxDEV("span",{children:Q.tenant||"main"},void 0,!1,void 0,this),P.jsxDEV("span",{children:"API"},void 0,!1,void 0,this),P.jsxDEV("span",{className:"break-all",children:Q.baseUrl},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Signed in as"},void 0,!1,void 0,this),P.jsxDEV("span",{children:q?.userId??"—"},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Editor"},void 0,!1,void 0,this),P.jsxDEV("span",{children:"pramen · cms-editor"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function VP(Q){return(Q.file.contentType??"").startsWith("image/")}function RP(Q){let q=(Q.file.contentType??"").split("/")[1];return(Q.file.filename?.split(".").pop()??q??"file").slice(0,5).toUpperCase()}function tv(Q){if(!Q||Q<=0)return"—";let q=["B","KB","MB","GB"],z=0,_=Q;while(_>=1024&&z<q.length-1)_/=1024,z++;return`${_<10&&z>0?_.toFixed(1):Math.round(_)} ${q[z]}`}function IX(Q){if(Q instanceof EW)return Q.message;return Q instanceof Error?Q.message:String(Q)}function OP(Q){return Q.toLowerCase().trim().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")}function ev(Q){return Q.replace(/<[^>]*>/g," ").replace(/&nbsp;/g," ").replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/\s+/g," ").trim()}function Zh(Q){let q=Object.values(Q).find((_)=>typeof _==="string"&&_.trim());if(typeof q!=="string")return"";let z=ev(q);return z.length>90?z.slice(0,90)+"…":z}function Xh(Q,q,z,_,W){let K=z+_;if(K<0||K>=Q.length)return;let A=Q.map((L)=>L.id);[A[z],A[K]]=[A[K],A[z]],W(q,A)}var MZ,P,i5,xW="flex items-center gap-3 rounded-[14px] border border-transparent bg-surface-card px-[18px] py-3.5",qF="mx-auto max-w-[1200px] px-7 pb-8 pt-2",JF=({children:Q})=>P.jsxDEV("span",{className:"text-fg-subtle",children:Q},void 0,!1,void 0,this),AP=60;var yW=C(()=>{WH();d5();LP();MZ=f(ZZ(),1),P=f($Z(),1),i5=["settings","seo","workflow","i18n","audit"]});var jP={};p_(jP,{default:()=>Yh});var qB,CP,Yh;var PP=C(()=>{Hq();UH();yW();qB=f(ZZ(),1),CP=f($Z(),1),Yh=EQ().route("/").render(function(){let{api:q,setError:z}=_J(),_=XJ(),[W,K]=qB.useState([]),[A,L]=qB.useState([]),O=()=>q.listPages().then(K).catch((I)=>z(IX(I)));return qB.useEffect(()=>{O(),q.listBlockTypes().then(L).catch((I)=>z(IX(I)))},[q]),CP.jsxDEV(MP,{api:q,pages:W,blockTypes:A,onOpen:(I)=>_("page",{params:{pageId:I.id}}),onCreated:O,onError:z},void 0,!1,void 0,this)})});var DP={};p_(DP,{default:()=>Qh});var $P,Qh;var SP=C(()=>{Hq();UH();yW();$P=f($Z(),1),Qh=EQ().route("/media").render(function(){let{api:q,setError:z}=_J();return $P.jsxDEV(IP,{api:q,onError:z},void 0,!1,void 0,this)})});var EP={};p_(EP,{default:()=>Jh});var vW,bz,Jh;var kP=C(()=>{Hq();WH();UH();yW();vW=f(ZZ(),1),bz=f($Z(),1),Jh=EQ().params({pageId:"string",tab:"?string"}).route("/pages/:pageId").render(function({params:q}){let{api:z,setError:_}=_J(),W=XJ(),[K,A]=vW.useState(null),[L,O]=vW.useState([]),[I,N]=vW.useState(!1);vW.useEffect(()=>{let j=!0;return N(!1),z.listPages().then((h)=>{if(!j)return;let d=h.find((b)=>b.id===q.pageId)??null;A(d),N(!d)}).catch((h)=>_(IX(h))),z.listBlockTypes().then((h)=>j&&O(h)).catch((h)=>_(IX(h))),()=>{j=!1}},[z,q.pageId,_]);let M=i5.includes(q.tab)?q.tab:"settings",R=(j)=>W("page",{params:{pageId:q.pageId,tab:j},replace:!0});if(I)return bz.jsxDEV("div",{className:"mx-auto flex max-w-[1200px] items-center gap-2 px-7 pt-8",children:[bz.jsxDEV("p",{className:"text-fg-subtle",children:"Page not found."},void 0,!1,void 0,this),bz.jsxDEV(yZ,{variant:"ghost",size:"sm",onPress:()=>W("home"),children:"← all pages"},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(!K)return bz.jsxDEV("div",{className:"mx-auto max-w-[1200px] px-7 pt-8",children:bz.jsxDEV("p",{className:"text-fg-subtle",children:"Loading…"},void 0,!1,void 0,this)},void 0,!1,void 0,this);return bz.jsxDEV(NP,{api:z,page:K,blockTypes:L,tab:M,onTab:R,onBack:()=>W("home"),onChange:A},void 0,!1,void 0,this)})});var xP={};p_(xP,{default:()=>qh});var yP,qh;var vP=C(()=>{Hq();UH();yW();yP=f($Z(),1),qh=EQ().route("/settings").render(function(){let{api:q,cfg:z,me:_,setError:W,reconfigure:K}=_J();return yP.jsxDEV(wP,{api:q,cfg:z,me:_,onSignOut:K,onError:W},void 0,!1,void 0,this)})});var hP={};p_(hP,{default:()=>Gh});var gz,Gh;var bP=C(()=>{Hq();WH();UH();yW();gz=f($Z(),1),Gh=EQ().route("/users").render(function(){let{api:q,me:z,isAdmin:_,setError:W}=_J(),K=XJ();if(z===null)return gz.jsxDEV("div",{className:"mx-auto max-w-[1200px] px-7 pt-8",children:gz.jsxDEV("p",{className:"text-fg-subtle",children:"Loading…"},void 0,!1,void 0,this)},void 0,!1,void 0,this);if(!_)return gz.jsxDEV("div",{className:"mx-auto flex max-w-[1200px] items-center gap-2 px-7 pt-8",children:[gz.jsxDEV("p",{className:"text-fg-subtle",children:"Admins only."},void 0,!1,void 0,this),gz.jsxDEV(yZ,{variant:"ghost",size:"sm",onPress:()=>K("home"),children:"← back to pages"},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return gz.jsxDEV(TP,{api:q,me:z,onError:W},void 0,!1,void 0,this)})});var gP={};p_(gP,{default:()=>Hh});var BH,Hh;var mP=C(()=>{Hq();WH();BH=f($Z(),1),Hh=EQ().render(function(){let q=XJ();return BH.jsxDEV("div",{className:"mx-auto max-w-[1200px] px-7 pt-8",children:[BH.jsxDEV("h1",{className:"m-0 text-[56px] font-normal leading-[1.05] tracking-[-0.01em] max-[820px]:text-[40px]",children:[BH.jsxDEV("span",{className:"block text-fg-subtle",children:"Not found"},void 0,!1,void 0,this),BH.jsxDEV("span",{className:"block text-fg",children:"Nothing lives here"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),BH.jsxDEV("div",{className:"mt-4 flex items-center gap-2",children:[BH.jsxDEV("p",{className:"text-fg-subtle",children:"That page doesn't exist."},void 0,!1,void 0,this),BH.jsxDEV(yZ,{variant:"ghost",size:"sm",onPress:()=>q("home"),children:"← back to pages"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)})});Hq();var nP=f(ZZ(),1),sP=f(Z2(),1);Hq();var mz=f(ZZ(),1);Hq();WH();UH();var xY=f($Z(),1);function p5(){let{cfg:Q,isAdmin:q,error:z,reconfigure:_}=_J(),W=XJ(),{pathname:K}=SA(),A=K.startsWith("/pages")||K==="/"?"pages":K.startsWith("/media")?"media":K.startsWith("/users")?"users":K.startsWith("/settings")?"settings":"",L=(O)=>A===O?"bg-surface-muted text-fg":"text-fg-muted";return xY.jsxDEV(xY.Fragment,{children:[xY.jsxDEV("div",{className:"sticky top-0 z-10 flex items-center gap-4 bg-surface px-7 py-4",children:[xY.jsxDEV("span",{className:"text-[15px] font-bold tracking-[0.01em] text-fg",children:["pramen ",xY.jsxDEV("span",{className:"font-normal text-fg-subtle",children:"· cms"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),xY.jsxDEV("span",{className:"flex-1"},void 0,!1,void 0,this),xY.jsxDEV("nav",{className:"flex items-center gap-0.5",children:[xY.jsxDEV(yZ,{variant:"ghost",size:"sm",className:L("pages"),onPress:()=>W("home"),children:"Pages"},void 0,!1,void 0,this),xY.jsxDEV(yZ,{variant:"ghost",size:"sm",className:L("media"),onPress:()=>W("media"),children:"Media"},void 0,!1,void 0,this),q?xY.jsxDEV(yZ,{variant:"ghost",size:"sm",className:L("users"),onPress:()=>W("users"),children:"Users"},void 0,!1,void 0,this):null,xY.jsxDEV(yZ,{variant:"ghost",size:"sm",className:L("settings"),onPress:()=>W("settings"),children:"Settings"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),xY.jsxDEV("span",{className:"ml-3 text-fg-subtle",children:Q.tenant},void 0,!1,void 0,this),xY.jsxDEV(yZ,{variant:"ghost",size:"sm",onPress:_,children:"sign out"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),z?xY.jsxDEV("div",{className:"mx-7 mt-2 rounded-lg border border-danger bg-surface-card px-4 py-2.5 text-sm text-danger",children:z},void 0,!1,void 0,this):null,xY.jsxDEV(a_,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var fP=()=>Promise.resolve().then(() => (PP(),jP)).then((Q)=>({default:Q.default.component})),uP=()=>Promise.resolve().then(() => (SP(),DP)).then((Q)=>({default:Q.default.component})),dP=()=>Promise.resolve().then(() => (kP(),EP)).then((Q)=>({default:Q.default.component})),cP=()=>Promise.resolve().then(() => (vP(),xP)).then((Q)=>({default:Q.default.component})),pP=()=>Promise.resolve().then(() => (bP(),hP)).then((Q)=>({default:Q.default.component})),lP=()=>Promise.resolve().then(() => (mP(),gP)).then((Q)=>({default:Q.default.component})),r5={home:"/",media:"/media",page:"/pages/:pageId",settings:"/settings",users:"/users"},zh=[{path:"/",component:p5,isLayout:!0,children:[{path:"/home",matchPath:"/",component:mz.lazy(fP),preload:fP},{path:"/media",component:mz.lazy(uP),preload:uP},{path:"/page",matchPath:"/pages/:pageId",component:mz.lazy(dP),preload:dP},{path:"/settings",component:mz.lazy(cP),preload:cP},{path:"/users",component:mz.lazy(pP),preload:pP},{path:"/:__notFound+",component:mz.lazy(lP),preload:lP}]}],t5=a9(zh);UH();var zF=f($Z(),1),iP=document.getElementById("app");if(iP)sP.createRoot(iP).render(zF.jsxDEV(nP.StrictMode,{children:zF.jsxDEV(KP,{children:zF.jsxDEV($A,{routes:t5,pageRegistry:r5},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this));
251
+ <%s key={someKey} {...props} />`,VZ,NZ,YX,NZ),p[NZ+VZ]=!0)}if(NZ=null,AZ!==void 0&&(H(AZ),NZ=""+AZ),A(o)&&(H(o.key),NZ=""+o.key),"key"in o){AZ={};for(var TX in o)TX!=="key"&&(AZ[TX]=o[TX])}else AZ=o;return NZ&&L(AZ,typeof w==="function"?w.displayName||w.name||"Unknown":w),I(w,NZ,AZ,W(),vZ,JX)}function M(w){R(w)?w._store&&(w._store.validated=1):typeof w==="object"&&w!==null&&w.$$typeof===l&&(w._payload.status==="fulfilled"?R(w._payload.value)&&w._payload.value._store&&(w._payload.value._store.validated=1):w._store&&(w._store.validated=1))}function R(w){return typeof w==="object"&&w!==null&&w.$$typeof===j}var j=Symbol.for("react.transitional.element"),h=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),t=Symbol.for("react.consumer"),qZ=Symbol.for("react.context"),QZ=Symbol.for("react.forward_ref"),LZ=Symbol.for("react.suspense"),kZ=Symbol.for("react.suspense_list"),JZ=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),OZ=Symbol.for("react.activity"),n=Symbol.for("react.client.reference"),wZ=vH.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,WZ=Object.prototype.hasOwnProperty,zZ=Array.isArray,v=console.createTask?console.createTask:function(){return null};vH={react_stack_bottom_frame:function(w){return w()}};var m,E={},g=vH.react_stack_bottom_frame.bind(vH,K)(),e=v(_(K)),p={};_v.Fragment=d,_v.jsxDEV=function(w,o,AZ,VZ){var vZ=1e4>wZ.recentlyCreatedOwnerStacks++;return N(w,o,AZ,VZ,vZ?Error("react-stack-top-frame"):g,vZ?v(_(w)):e)}})()});var $W,Wv,xY=({label:Q,description:q,errorMessage:H,placeholder:_,size:W,...K})=>$W.jsxDEV(YB,{...K,className:"flex w-full flex-col gap-2",children:[$W.jsxDEV(BH,{className:"text-heading5 font-medium text-fg",children:Q},void 0,!1,void 0,this),$W.jsxDEV(Wv,{placeholder:_,fieldSize:W},void 0,!1,void 0,this),q?$W.jsxDEV(ZG,{slot:"description",className:"text-xs text-fg-muted",children:q},void 0,!1,void 0,this):null,$W.jsxDEV(LW,{className:"text-xs text-danger",children:H},void 0,!1,void 0,this)]},void 0,!0,void 0,this);var yC=C(()=>{HJ();FY();$W=f($Z(),1),Wv=mZ(RO,{displayName:"InputControl",baseClass:"w-full rounded-lg border border-border bg-surface-card px-4 text-sm text-fg outline-none transition-colors duration-200 placeholder:text-fg-muted data-[hovered]:border-fg-subtle data-[focused]:border-brand-green data-[focused]:ring-2 data-[focused]:ring-ring data-[invalid]:border-danger data-[invalid]:ring-danger data-[disabled]:opacity-50 data-[disabled]:pointer-events-none",variants:{fieldSize:{sm:"h-8",md:"h-10",lg:"h-12"}},defaultVariants:{fieldSize:"md"}})});var SW,Uv,ZF=({label:Q,description:q,errorMessage:H,placeholder:_,rows:W,...K})=>SW.jsxDEV(YB,{...K,className:"flex w-full flex-col gap-2",children:[SW.jsxDEV(BH,{className:"text-sm font-medium text-fg",children:Q},void 0,!1,void 0,this),SW.jsxDEV(Uv,{placeholder:_,rows:W},void 0,!1,void 0,this),q?SW.jsxDEV(ZG,{slot:"description",className:"text-xs text-fg-muted",children:q},void 0,!1,void 0,this):null,SW.jsxDEV(LW,{className:"text-xs text-danger",children:H},void 0,!1,void 0,this)]},void 0,!0,void 0,this);var vC=C(()=>{HJ();FY();SW=f($Z(),1),Uv=mZ(y5,{displayName:"TextAreaControl",baseClass:"min-h-[120px] w-full resize-y rounded-lg border border-border bg-surface-card px-4 py-3 text-sm text-fg outline-none transition-colors duration-200 placeholder:text-fg-muted data-[hovered]:border-fg-subtle data-[focused]:border-brand-green data-[focused]:ring-2 data-[focused]:ring-ring data-[invalid]:border-danger data-[invalid]:ring-danger data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"})});var hC;var bC=C(()=>{hC=f($Z(),1)});var Kv;var gC=C(()=>{Kv=f($Z(),1)});var Bv;var mC=C(()=>{Bv=f($Z(),1)});var Lv,vYZ,hYZ;var fC=C(()=>{HJ();FY();Lv=f($Z(),1),vYZ=mZ(RH,{displayName:"SelectTrigger",baseClass:"flex min-h-[58px] w-full items-center justify-between gap-2.5 rounded-lg bg-surface-card p-5 text-sm text-fg outline-none transition-colors data-[hovered]:bg-surface-muted data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring group-data-[invalid]:ring-2 group-data-[invalid]:ring-danger data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"}),hYZ=mZ(tK,{displayName:"SelectItem",baseClass:"flex cursor-pointer select-none items-center rounded-md px-5 text-sm text-fg outline-none data-[focused]:bg-surface-muted data-[selected]:font-medium data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"})});var uC,cYZ,pYZ;var dC=C(()=>{HJ();FY();uC=f($Z(),1),cYZ=mZ(rO,{displayName:"DialogOverlay",baseClass:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-[rgba(179,179,179,0.5)] backdrop-blur-[2px] data-[entering]:animate-in data-[exiting]:animate-out"}),pYZ=mZ(R5,{displayName:"DialogModal",baseClass:"rounded-lg bg-surface p-5 outline-none shadow-[0px_2px_8px_0px_rgba(0,0,0,0.06)]"})});var Ov,sYZ,aYZ;var cC=C(()=>{HJ();FY();Ov=f($Z(),1),sYZ=mZ(kH,{displayName:"DropdownMenuItem",baseClass:"flex cursor-pointer select-none items-center gap-2.5 rounded-md px-4 py-3 text-sm text-fg outline-none data-[focused]:bg-surface-card data-[hovered]:bg-surface-card data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",variants:{destructive:{true:"text-danger data-[focused]:text-danger data-[hovered]:text-danger"}}}),aYZ=mZ(z6,{displayName:"DropdownMenuSeparator",baseClass:"my-2 h-px border-0 bg-border"})});var XF,pC,eYZ;var lC=C(()=>{HJ();FY();XF=f(ZZ(),1),pC=f($Z(),1),eYZ=mZ(kH,{displayName:"ContextMenuItem",baseClass:"flex min-h-[34px] cursor-pointer select-none items-center gap-2.5 rounded-[10px] px-3 py-1.5 text-compact text-white outline-none data-[focused]:bg-[#2f2f2f] data-[focused]:font-medium data-[hovered]:bg-[#2f2f2f] data-[hovered]:font-medium data-[disabled]:cursor-not-allowed data-[disabled]:opacity-45",variants:{destructive:{true:"text-[#ffb5b5] data-[focused]:text-[#ffb5b5]"}}})});var Fv;var m5=C(()=>{Fv=f($Z(),1)});var iC,GQZ;var nC=C(()=>{HJ();iC=f($Z(),1),GQZ=new QB({maxVisibleToasts:5})});var WQZ,UQZ;var sC=C(()=>{HJ();FY();WQZ=mZ(M5,{displayName:"Disclosure"}),UQZ=mZ(N5,{displayName:"DisclosurePanel"})});var AQZ,OQZ,FQZ;var aC=C(()=>{HJ();FY();AQZ=mZ(E5,{displayName:"TabList",baseClass:"flex gap-2 border-b border-border"}),OQZ=mZ(k5,{displayName:"Tab",baseClass:"cursor-pointer select-none border-b-2 border-transparent px-4 py-3 text-sm font-medium text-fg-muted outline-none transition-colors data-[hovered]:text-fg data-[selected]:border-brand-primary data-[selected]:text-fg data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"}),FQZ=mZ(x5,{displayName:"TabPanel",baseClass:"py-4 text-sm text-fg outline-none data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring"})});var Mv;var oC=C(()=>{b5();Mv=f($Z(),1)});var Nv;var rC=C(()=>{Nv=f($Z(),1)});var VQZ,RQZ;var tC=C(()=>{FY();VQZ=mZ("span",{displayName:"Text",baseClass:"text-fg",variants:{size:{micro:"text-micro",caption:"text-caption",label:"text-label",compact:"text-compact",callout:"text-callout",body:"text-body",subtitle:"text-subtitle",title:"text-title",headline:"text-headline",display:"text-display"},weight:{regular:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"},tone:{default:"text-fg",muted:"text-fg-muted",subtle:"text-fg-subtle",inverted:"text-fg-inverted"}},defaultVariants:{size:"body",weight:"regular",tone:"default"}}),RQZ=mZ("h2",{displayName:"Heading",baseClass:"font-medium tracking-tight text-fg",variants:{level:{"1":"text-heading1","2":"text-heading2","3":"text-heading3","4":"text-heading4","5":"text-heading5"}},defaultVariants:{level:"2"}})});var Iv;var eC=C(()=>{m5();Iv=f($Z(),1)});var EQZ;var ZP=C(()=>{FY();EQZ=mZ("div",{displayName:"Card",baseClass:"relative rounded-lg bg-surface-card",variants:{variant:{plain:"",outlined:"border border-border",elevated:"shadow-md"},padding:{none:"p-0",sm:"p-4",md:"p-6",lg:"p-8"}},defaultVariants:{variant:"plain",padding:"md"}})});var yQZ;var XP=C(()=>{FY();yQZ=mZ("section",{displayName:"Section",baseClass:"w-full",variants:{padding:{none:"py-0",sm:"py-4",md:"py-6 sm:py-8",lg:"py-8 sm:py-12",xl:"py-12 sm:py-16"}},defaultVariants:{padding:"md"}})});var bQZ;var YP=C(()=>{FY();bQZ=mZ("div",{displayName:"PageContainer",baseClass:"w-full",variants:{size:{sm:"max-w-screen-sm mx-auto",md:"max-w-screen-md mx-auto",lg:"max-w-screen-lg mx-auto",xl:"max-w-screen-xl ml-0 mr-0 min-[1200px]:max-w-full","2xl":"max-w-screen-2xl mx-auto min-[1600px]:max-w-full min-[1600px]:mx-0",full:"max-w-full"}}})});var QP,Tv,fQZ,uQZ,dQZ;var JP=C(()=>{FY();QP=f(ZZ(),1),Tv=f($Z(),1),fQZ=mZ("div",{displayName:"AppShell",baseClass:"grid h-screen w-full overflow-hidden bg-surface grid-rows-[100%] grid-cols-[1fr] md:grid-cols-[auto_1fr]"}),uQZ=mZ("aside",{displayName:"AppShell.Sidebar",baseClass:"h-full w-64 shrink-0 overflow-y-auto border-r border-border bg-surface"}),dQZ=mZ("main",{displayName:"AppShell.Main",baseClass:"min-w-0 flex-1 bg-surface px-6 pb-6 pt-6"})});var qP,wv,Vv,Rv,jv=(Q)=>qP.jsxDEV(Rv,{...Q},void 0,!1,void 0,this),Cv,Pv,nQZ,sQZ,aQZ;var GP=C(()=>{HJ();FY();qP=f($Z(),1),wv=mZ("header",{displayName:"Topbar",baseClass:"flex h-14 w-full items-center gap-5 border-b border-border"}),Vv=mZ("div",{displayName:"Topbar.Brand",baseClass:"flex min-w-0 items-center gap-3 text-compact leading-4 font-medium tracking-tight text-fg"}),Rv=mZ("nav",{displayName:"Topbar.Nav",baseClass:"ml-auto flex min-w-0 items-center gap-2 overflow-x-auto"}),Cv=mZ("div",{displayName:"Topbar.Actions",baseClass:"ml-auto flex items-center gap-4"}),Pv=mZ("a",{displayName:"Topbar.NavLink",baseClass:"inline-flex items-center rounded-sm px-[13px] py-[6px] text-compact leading-4 whitespace-nowrap text-fg no-underline transition-colors hover:bg-surface-muted hover:text-fg outline-none focus-visible:ring-2 focus-visible:ring-ring data-[active]:bg-surface-muted data-[active]:text-fg",variants:{active:{true:"",false:""}},variantsAsDataAttrs:["active"]}),nQZ=mZ(tK,{displayName:"WorkspaceSwitcher.Item",baseClass:"flex cursor-pointer select-none items-center rounded-sm px-3 py-2 text-sm text-fg outline-none data-[focused]:bg-surface-muted data-[selected]:font-medium"}),sQZ=mZ(kH,{displayName:"UserMenu.Item",baseClass:"flex cursor-pointer select-none items-center rounded-sm px-3 py-2 text-sm text-fg outline-none data-[focused]:bg-surface-muted data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"}),aQZ=Object.assign(wv,{Brand:Vv,Nav:jv,NavLink:Pv,Actions:Cv})});var Dv,$v,tQZ;var zP=C(()=>{FY();Dv=f(ZZ(),1),$v=f($Z(),1),tQZ=mZ("header",{displayName:"PersistentPageShell.Header",baseClass:"flex w-full flex-col gap-6 bg-surface",variants:{sticky:{true:"sticky top-0 z-[1]",false:""}},defaultVariants:{sticky:!1}})});var Wz=C(()=>{FY();b5();yC();vC();bC();gC();mC();fC();dC();cC();lC();m5();nC();sC();aC();oC();rC();tC();eC();ZP();XP();YP();JP();GP();zP()});function YF(Q){try{let q=String(Q).split(".")[1];if(!q)return!1;let H=JSON.parse(atob(q.replace(/-/g,"+").replace(/_/g,"/")));return typeof H.exp==="number"&&Date.now()>=H.exp*1000}catch{return!1}}function HP(){try{let Q=localStorage.getItem(f5);if(Q)return JSON.parse(Q)}catch{}return{baseUrl:"http://localhost:8787",token:"",tenant:"main"}}function _P(Q){localStorage.setItem(f5,JSON.stringify(Q))}function WP(){try{localStorage.removeItem(f5)}catch{}}class u5{cfg;onExpired;constructor(Q,q){this.cfg=Q;this.onExpired=q}setConfig(Q){this.cfg=Q}base(){return this.cfg.baseUrl.replace(/\/+$/,"")}async call(Q,q){if(this.onExpired&&this.cfg.token&&YF(this.cfg.token))return this.onExpired(),new Promise(()=>{});let H=await fetch(`${this.base()}/rpc/${Q}`,{method:"POST",headers:{"content-type":"application/json","x-pramen-tenant":this.cfg.tenant||"main",...this.cfg.token?{authorization:`Bearer ${this.cfg.token}`}:{}},body:JSON.stringify(q??{})}),_;try{_=await H.json()}catch{throw new EW(`non-JSON response (HTTP ${H.status})`,"bad_response",H.status)}if(_.ok!==!0){let W=_.error??`request failed (HTTP ${H.status})`,K=H.status===403?" — check your token has an editor/reviewer role":"";throw new EW(W+K,_.code??"error",H.status)}return _.result}async put(Q,q,H){let _=Q.startsWith("http")?Q:`${this.base()}${Q}`,W=await fetch(_,{method:"PUT",headers:{"content-type":H},body:q});if(!W.ok)throw new EW(`upload failed (HTTP ${W.status})`,"upload_failed",W.status)}resolve(Q){return Q.startsWith("http")?Q:`${this.base()}${Q}`}listBlockTypes=()=>this.call("listBlockTypes");listContentTypes=()=>this.call("listContentTypes");getContentType=(Q)=>this.call("getContentType",{id:Q});listPages=()=>this.call("listPages");getPagePreview=(Q,q)=>this.call("getPage",{slug:Q,locale:q,preview:!0});listPageAudit=(Q)=>this.call("listPageAudit",{pageId:Q});listMedia=(Q=50,q=0)=>this.call("listMedia",{limit:Q,offset:q});getMedia=(Q)=>this.call("getMedia",{id:Q});updateMedia=(Q,q)=>this.call("updateMedia",{id:Q,alt:q});deleteMedia=(Q)=>this.call("deleteMedia",{id:Q});async uploadMedia(Q){let q=Q.type||"application/octet-stream",H=await this.call("signMediaUpload",{contentType:q,filename:Q.name});return await this.put(H.url,await Q.arrayBuffer(),q),this.call("createMedia",{ref:H.ref,alt:Q.name})}}var EW,f5="pramen.cmsEditor";var d5=C(()=>{EW=class EW extends Error{code;status;constructor(Q,q,H){super(Q);this.code=q;this.status=H;this.name="ApiError"}}});function c5(){WP(),location.replace(JB)}function _J(){let Q=UQ.use(UP);if(!Q)throw Error("useApp must be used within <AppProvider>");return Q}function KP({children:Q}){let[q,H]=UQ.useState(HP()),[_,W]=UQ.useState(null),[K,A]=UQ.useState(""),L=Boolean(q.baseUrl&&q.token)&&!YF(q.token),O=UQ.useMemo(()=>new u5(q,JB?c5:void 0),[q]);if(UQ.useEffect(()=>{if(!JB)return;let N=()=>{if(!q.token||YF(q.token))c5()};N();let M=()=>{if(!document.hidden)N()},R=window.setInterval(N,30000);return window.addEventListener("visibilitychange",M),window.addEventListener("focus",N),()=>{window.clearInterval(R),window.removeEventListener("visibilitychange",M),window.removeEventListener("focus",N)}},[q.token]),UQ.useEffect(()=>{if(!L)return;O.call("me").then(W).catch(()=>W({}))},[O,L]),!L)return JB?null:WQ.jsxDEV(Sv,{cfg:q,onSave:(N)=>{_P(N),H(N)}},void 0,!1,void 0,this);let I={api:O,cfg:q,me:_,isAdmin:(_?.roles??[]).includes("admin"),error:K,setError:A,reconfigure:()=>{if(JB){c5();return}W(null),A(""),H({...q,token:""})}};return WQ.jsxDEV(UP,{value:I,children:Q},void 0,!1,void 0,this)}function Sv({cfg:Q,onSave:q}){let[H,_]=UQ.useState(Q);return WQ.jsxDEV("div",{className:"mx-auto mt-[14vh] w-full max-w-[520px] px-6",children:WQ.jsxDEV("div",{className:"rounded-panel border border-border bg-surface-card px-10 py-8 shadow-[0_24px_60px_rgba(30,20,10,0.08)]",children:[WQ.jsxDEV("h1",{className:"mb-4 text-display text-fg",children:["pramen ",WQ.jsxDEV("span",{className:"text-fg-subtle",children:"· cms editor"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),WQ.jsxDEV("p",{className:"mb-6 text-sm text-fg-muted",children:["Point at your Worker and paste an editor/reviewer JWT. CORS must allow this origin (",WQ.jsxDEV("code",{children:"CORS_ORIGINS"},void 0,!1,void 0,this),")."]},void 0,!0,void 0,this),WQ.jsxDEV("div",{className:"flex flex-col gap-4",children:[WQ.jsxDEV(xY,{label:"Worker base URL",value:H.baseUrl,onChange:(W)=>_({...H,baseUrl:W}),placeholder:"https://your-worker.workers.dev"},void 0,!1,void 0,this),WQ.jsxDEV(xY,{label:"Tenant",value:H.tenant,onChange:(W)=>_({...H,tenant:W}),placeholder:"main"},void 0,!1,void 0,this),WQ.jsxDEV(xY,{label:"Bearer token (editor or reviewer)",value:H.token,onChange:(W)=>_({...H,token:W}),placeholder:"eyJ…"},void 0,!1,void 0,this),WQ.jsxDEV(yZ,{className:"mt-2 w-full",onPress:()=>q(H),isDisabled:!H.baseUrl||!H.token,children:"Connect"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var UQ,WQ,JB,UP;var Uz=C(()=>{Wz();d5();UQ=f(ZZ(),1),WQ=f($Z(),1),JB=typeof window<"u"&&!new URLSearchParams(window.location.search).has("setup")?window.PRAMEN_CMS_EDITOR?.signInUrl:void 0;UP=UQ.createContext(null)});function kW({label:Q,children:q}){return TZ.jsxDEV("label",{className:"flex w-full flex-col gap-2",children:[TZ.jsxDEV("span",{className:"text-sm font-medium text-fg",children:Q},void 0,!1,void 0,this),q]},void 0,!0,void 0,this)}function QF({schema:Q,value:q,onChange:H,api:_}){let W=(K,A)=>H({...q,[K]:A});return TZ.jsxDEV("div",{className:"flex flex-col gap-4",children:Q.map((K)=>TZ.jsxDEV(Ev,{def:K,value:q[K.name],onChange:(A)=>W(K.name,A),api:_},K.name,!1,void 0,this))},void 0,!1,void 0,this)}function Ev({def:Q,value:q,onChange:H,api:_}){let W=TZ.jsxDEV(TZ.Fragment,{children:[Q.label??Q.name," ",Q.required?TZ.jsxDEV("span",{className:"text-danger",children:"*"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this);switch(Q.type){case"text":case"url":return TZ.jsxDEV(xY,{label:W,value:q??"",onChange:H,placeholder:Q.type==="url"?"https://…":""},void 0,!1,void 0,this);case"textarea":return TZ.jsxDEV(ZF,{label:W,value:typeof q==="string"?q:q==null?"":JSON.stringify(q),onChange:H},void 0,!1,void 0,this);case"richtext":return TZ.jsxDEV(kW,{label:W,children:TZ.jsxDEV(yv,{value:typeof q==="string"?q:"",onChange:H},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"number":return TZ.jsxDEV(kW,{label:W,children:TZ.jsxDEV("input",{className:l5,type:"number",value:q==null?"":String(q),onChange:(K)=>H(K.target.value===""?null:Number(K.target.value))},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"date":case"datetime":return TZ.jsxDEV(kW,{label:W,children:TZ.jsxDEV("input",{className:l5,type:Q.type==="date"?"date":"datetime-local",value:q??"",onChange:(K)=>H(K.target.value||null)},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"boolean":return TZ.jsxDEV("label",{className:"flex items-center gap-2",children:[TZ.jsxDEV("input",{type:"checkbox",checked:Boolean(q),onChange:(K)=>H(K.target.checked)},void 0,!1,void 0,this),TZ.jsxDEV("span",{className:"text-sm text-fg",children:Q.label??Q.name},void 0,!1,void 0,this)]},void 0,!0,void 0,this);case"select":return TZ.jsxDEV(kW,{label:W,children:TZ.jsxDEV("select",{className:l5,value:q??"",onChange:(K)=>H(K.target.value||null),children:[TZ.jsxDEV("option",{value:"",children:"—"},void 0,!1,void 0,this),(Q.options??[]).map((K)=>TZ.jsxDEV("option",{value:K,children:K},K,!1,void 0,this))]},void 0,!0,void 0,this)},void 0,!1,void 0,this);case"media":return TZ.jsxDEV(kW,{label:W,children:TZ.jsxDEV(hv,{value:q,onChange:H,api:_},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"group":return TZ.jsxDEV(kW,{label:W,children:TZ.jsxDEV("div",{className:"rounded-lg border border-border bg-surface-muted p-3.5",children:TZ.jsxDEV(QF,{schema:Q.fields??[],value:q??{},onChange:H,api:_},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"repeater":return TZ.jsxDEV(vv,{def:Q,value:q??[],onChange:H,api:_,label:W},void 0,!1,void 0,this);default:return null}}function xv(Q){let q=Q.trim();return/^(https?:\/\/|mailto:|tel:|\/|#)/i.test(q)?q:null}function BP(Q){return Q.replace(/<\s*(script|style)[^>]*>[\s\S]*?<\s*\/\s*\1\s*>/gi,"").replace(/\son\w+\s*=\s*("[^"]*"|'[^']*'|[^\s>]+)/gi,"").replace(/(href|src)\s*=\s*("javascript:[^"]*"|'javascript:[^']*')/gi,'$1="#"')}function yv({value:Q,onChange:q}){let H=gQ.useRef(null),_=gQ.useRef("");gQ.useEffect(()=>{let L=H.current;if(L&&Q!==_.current)L.innerHTML=BP(Q||""),_.current=Q||""},[Q]);let W=()=>{let L=BP(H.current?.innerHTML??"");_.current=L,q(L)},K=(L,O)=>{H.current?.focus(),document.execCommand(L,!1,O),W()},A=(L)=>{L.preventDefault(),document.execCommand("insertText",!1,L.clipboardData.getData("text/plain"))};return TZ.jsxDEV("div",{className:"overflow-hidden rounded-lg border border-border bg-surface-card",children:[TZ.jsxDEV("div",{className:"flex flex-wrap gap-0.5 border-b border-border bg-surface-muted px-2 py-1.5",children:kv.map((L)=>TZ.jsxDEV("button",{type:"button",className:"rounded border-0 bg-transparent px-2.5 py-0.5 text-xs text-fg-muted hover:bg-surface-card hover:text-fg",title:L.title,onMouseDown:(O)=>O.preventDefault(),onClick:()=>L.run(K),children:L.label},L.label,!1,void 0,this))},void 0,!1,void 0,this),TZ.jsxDEV("div",{ref:H,className:"prose prose-sm min-h-[180px] max-w-none px-4 py-3.5 text-sm leading-relaxed text-fg outline-none empty:before:text-fg-subtle empty:before:content-[attr(data-placeholder)]",contentEditable:!0,suppressContentEditableWarning:!0,"data-placeholder":"Write…",onInput:W,onBlur:W,onPaste:A},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function vv({def:Q,value:q,onChange:H,api:_,label:W}){let K=Array.isArray(q)?q:[],A=(N,M)=>H(K.map((R,j)=>j===N?M:R)),L=()=>H([...K,{}]),O=(N)=>H(K.filter((M,R)=>R!==N)),I=(N,M)=>{let R=N+M;if(R<0||R>=K.length)return;let j=K.slice();[j[N],j[R]]=[j[R],j[N]],H(j)};return TZ.jsxDEV("div",{className:"flex flex-col gap-2",children:[TZ.jsxDEV("span",{className:"text-sm font-medium text-fg",children:W},void 0,!1,void 0,this),K.map((N,M)=>TZ.jsxDEV("div",{className:"rounded-lg border border-border bg-surface-muted p-3.5",children:[TZ.jsxDEV("div",{className:"mb-2 flex justify-end gap-1",children:[TZ.jsxDEV(yZ,{variant:"ghost",size:"sm",onPress:()=>I(M,-1),children:"↑"},void 0,!1,void 0,this),TZ.jsxDEV(yZ,{variant:"ghost",size:"sm",onPress:()=>I(M,1),children:"↓"},void 0,!1,void 0,this),TZ.jsxDEV(yZ,{variant:"ghost",size:"sm",className:"text-danger",onPress:()=>O(M),children:"✕"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),TZ.jsxDEV(QF,{schema:Q.fields??[],value:N,onChange:(R)=>A(M,R),api:_},void 0,!1,void 0,this)]},M,!0,void 0,this)),TZ.jsxDEV(yZ,{variant:"secondary",size:"sm",className:"self-start",onPress:L,isDisabled:Q.max!=null&&K.length>=Q.max,children:["+ add ",Q.label??Q.name]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function hv({value:Q,onChange:q,api:H}){let[_,W]=gQ.useState(!1),[K,A]=gQ.useState(null);return gQ.useEffect(()=>{if(Q)H.call("getMedia",{id:Q}).then(A).catch(()=>A(null));else A(null)},[Q,H]),TZ.jsxDEV("div",{children:[TZ.jsxDEV("div",{className:"flex items-center gap-3 rounded-[14px] border border-transparent bg-surface-card px-[18px] py-3.5",children:[K?TZ.jsxDEV("img",{className:"h-10 w-10 rounded object-cover",src:H.resolve(`/media/${K.file.key}`),alt:""},void 0,!1,void 0,this):TZ.jsxDEV("span",{className:"text-fg-subtle",children:"no media"},void 0,!1,void 0,this),TZ.jsxDEV("span",{className:"flex-1 truncate text-fg-subtle",children:K?.file.filename??Q??""},void 0,!1,void 0,this),TZ.jsxDEV(yZ,{variant:"secondary",size:"sm",onPress:()=>W(!0),children:"pick"},void 0,!1,void 0,this),Q?TZ.jsxDEV(yZ,{variant:"ghost",size:"sm",className:"text-danger",onPress:()=>q(null),children:"clear"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),_?TZ.jsxDEV(bv,{api:H,onClose:()=>W(!1),onPick:(L)=>{q(L),W(!1)}},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function bv({api:Q,onClose:q,onPick:H}){let[_,W]=gQ.useState([]),[K,A]=gQ.useState(!1),[L,O]=gQ.useState(""),I=()=>Q.listMedia().then(W).catch((M)=>O(String(M.message??M)));gQ.useEffect(()=>{I()},[]);let N=async(M)=>{A(!0),O("");try{let R=await Q.uploadMedia(M);H(R.id)}catch(R){O(String(R.message??R))}finally{A(!1)}};return TZ.jsxDEV("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-[rgba(20,15,5,0.28)] p-6",onClick:q,children:TZ.jsxDEV("div",{className:"max-h-[86vh] w-full max-w-[680px] overflow-auto rounded-panel border border-border bg-surface-card px-9 py-8 shadow-[0_24px_60px_rgba(30,20,10,0.12)]",onClick:(M)=>M.stopPropagation(),children:[TZ.jsxDEV("h2",{className:"mb-5 text-[28px] font-normal text-fg",children:["Choose ",TZ.jsxDEV("span",{className:"text-fg-subtle",children:"a file"},void 0,!1,void 0,this)," from the library"]},void 0,!0,void 0,this),L?TZ.jsxDEV("div",{className:"my-2 rounded-lg border border-danger bg-surface-card px-3.5 py-2.5 text-[13px] text-danger",children:L},void 0,!1,void 0,this):null,TZ.jsxDEV("label",{className:"mb-4 flex w-full flex-col gap-2",children:[TZ.jsxDEV("span",{className:"text-sm font-medium text-fg",children:"Upload a new file"},void 0,!1,void 0,this),TZ.jsxDEV("input",{type:"file",className:"text-sm text-fg-muted",disabled:K,onChange:(M)=>M.target.files?.[0]&&N(M.target.files[0])},void 0,!1,void 0,this)]},void 0,!0,void 0,this),TZ.jsxDEV("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(180px,1fr))] gap-2.5",children:_.map((M)=>TZ.jsxDEV("div",{className:"cursor-pointer overflow-hidden rounded-lg border border-border bg-surface-card",onClick:()=>H(M.id),children:[(M.file.contentType??"").startsWith("image/")?TZ.jsxDEV("img",{className:"block h-[130px] w-full object-cover",src:Q.resolve(`/media/${M.file.key}`),alt:""},void 0,!1,void 0,this):TZ.jsxDEV("div",{className:"h-[130px] bg-surface-muted"},void 0,!1,void 0,this),TZ.jsxDEV("div",{className:"truncate px-2 py-1.5 text-[11px] text-fg-muted",children:M.file.filename??M.id},void 0,!1,void 0,this)]},M.id,!0,void 0,this))},void 0,!1,void 0,this),TZ.jsxDEV("div",{className:"mt-3 text-right",children:TZ.jsxDEV(yZ,{variant:"ghost",onPress:q,children:"close"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var gQ,TZ,l5="h-10 w-full rounded-lg border border-border bg-surface-card px-4 text-sm text-fg outline-none transition-colors placeholder:text-fg-muted focus:border-brand-green",kv;var LP=C(()=>{Wz();gQ=f(ZZ(),1),TZ=f($Z(),1);kv=[{label:"B",title:"Bold",run:(Q)=>Q("bold")},{label:"I",title:"Italic",run:(Q)=>Q("italic")},{label:"H2",title:"Heading",run:(Q)=>Q("formatBlock","H2")},{label:"H3",title:"Subheading",run:(Q)=>Q("formatBlock","H3")},{label:"¶",title:"Paragraph",run:(Q)=>Q("formatBlock","P")},{label:"• List",title:"Bulleted list",run:(Q)=>Q("insertUnorderedList")},{label:"1. List",title:"Numbered list",run:(Q)=>Q("insertOrderedList")},{label:"Link",title:"Add link",run:(Q)=>{let q=window.prompt("Link URL (https://, mailto:, /path)","https://");if(!q)return;let H=xv(q);if(!H){window.alert("Only http(s), mailto, tel, or relative (/, #) links are allowed.");return}Q("createLink",H)}},{label:"Unlink",title:"Remove link",run:(Q)=>Q("unlink")},{label:"Clear",title:"Clear formatting",run:(Q)=>Q("removeFormat")}]});function GF({lead:Q,em:q,children:H}){return P.jsxDEV("div",{className:"mx-auto grid max-w-[1200px] grid-cols-[1fr_auto] items-center gap-6 px-7 pb-6 pt-8 max-[820px]:grid-cols-1",children:[P.jsxDEV("h1",{className:"m-0 text-[56px] font-normal leading-[1.05] tracking-[-0.01em] max-[820px]:text-[40px]",children:[P.jsxDEV("span",{className:"block text-fg-subtle",children:Q},void 0,!1,void 0,this),P.jsxDEV("span",{className:"block text-fg",children:q},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H]},void 0,!0,void 0,this)}function n5({text:Q,em:q,children:H}){return P.jsxDEV("div",{className:"flex min-w-[360px] items-center gap-4 rounded-full bg-brand-green py-3 pl-7 pr-3 max-[820px]:min-w-0",children:[P.jsxDEV("span",{className:"text-lg text-[#0f3a25]",children:[Q," ",P.jsxDEV("span",{className:"font-semibold",children:q},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H]},void 0,!0,void 0,this)}function Kz({children:Q}){return P.jsxDEV("div",{className:"mb-2 mt-[18px] text-sm text-fg-subtle first:mt-0",children:Q},void 0,!1,void 0,this)}function hH({status:Q,children:q}){return P.jsxDEV("span",{className:`inline-block whitespace-nowrap rounded-full border px-2.5 py-0.5 text-[11px] font-medium ${Q==="published"||Q==="active"?"bg-brand-green text-[#0f3a25] border-transparent":Q==="in_review"||Q==="review"?"bg-accent-yellow text-[#4a3512] border-transparent":Q==="rejected"||Q==="archived"||Q==="inactive"?"border-danger text-danger bg-surface-card":"border-border text-fg-muted bg-surface-card"}`,children:q},void 0,!1,void 0,this)}function s5({onClose:Q,wide:q,children:H}){return P.jsxDEV("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-[rgba(20,15,5,0.28)] p-6",onClick:Q,children:P.jsxDEV("div",{className:`max-h-[86vh] w-full overflow-auto rounded-panel border border-border bg-surface-card px-9 py-8 shadow-[0_24px_60px_rgba(30,20,10,0.12)] ${q?"max-w-[680px]":"max-w-[520px]"}`,onClick:(_)=>_.stopPropagation(),children:H},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function a5({children:Q}){return P.jsxDEV("h2",{className:"mb-5 text-[28px] font-normal leading-[1.15] text-fg",children:Q},void 0,!1,void 0,this)}function zF({children:Q,className:q}){return P.jsxDEV("div",{className:`grid grid-cols-[auto_1fr] gap-x-3.5 gap-y-2 text-[13px] text-fg-muted [&>span:nth-child(odd)]:text-fg-subtle ${q??""}`,children:Q},void 0,!1,void 0,this)}function FP({children:Q}){return P.jsxDEV("div",{className:"overflow-auto rounded-panel border border-border bg-surface-card p-6",children:Q},void 0,!1,void 0,this)}function o5({ok:Q,children:q}){return P.jsxDEV("div",{className:`my-2 rounded-lg border px-3.5 py-2.5 text-[13px] ${Q?"border-brand-green bg-brand-green/20 text-[#0f3a25]":"border-danger bg-surface-card text-danger"}`,children:q},void 0,!1,void 0,this)}function MP({api:Q,pages:q,blockTypes:H,onOpen:_,onCreated:W,onError:K}){let[A,L]=MZ.useState(!1);return P.jsxDEV(P.Fragment,{children:[P.jsxDEV(GF,{lead:"Pages",em:q.length===0?"None yet":q.length===1?"1 page total":`${q.length} pages total`,children:P.jsxDEV(n5,{text:"Let's",em:"create something",children:P.jsxDEV(yZ,{className:"shrink-0",onPress:()=>L(!0),children:"+ New page"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),P.jsxDEV("div",{className:qF,children:P.jsxDEV("div",{className:"flex flex-col gap-2",children:[q.map((O)=>P.jsxDEV("div",{className:`${xW} cursor-pointer hover:bg-surface-muted`,onClick:()=>_(O),children:[P.jsxDEV("span",{className:"flex-1 truncate font-medium",children:O.title},void 0,!1,void 0,this),P.jsxDEV("span",{className:"text-fg-subtle",children:["/",O.slug]},void 0,!0,void 0,this),P.jsxDEV("span",{className:"text-fg-subtle",children:O.locale},void 0,!1,void 0,this),P.jsxDEV(hH,{status:O.status,children:O.status},void 0,!1,void 0,this)]},O.id,!0,void 0,this)),q.length===0?P.jsxDEV("p",{className:"text-fg-subtle",children:["No pages yet. ",H.length===0?"Define block types + a content type first (via the API/admin).":"Create one."]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this),A?P.jsxDEV(gv,{api:Q,onClose:()=>L(!1),onCreated:()=>{L(!1),W()},onError:K},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function gv({api:Q,onClose:q,onCreated:H,onError:_}){let[W,K]=MZ.useState([]),[A,L]=MZ.useState(""),[O,I]=MZ.useState(""),[N,M]=MZ.useState("");MZ.useEffect(()=>{Q.listContentTypes().then((j)=>{if(K(j),j[0])L(j[0].id)}).catch((j)=>_(IX(j)))},[Q,_]);let R=async()=>{try{await Q.call("createPage",{typeId:A,title:O,slug:N||OP(O)}),H()}catch(j){_(IX(j))}};return P.jsxDEV(s5,{onClose:q,children:[P.jsxDEV(a5,{children:["Create a ",P.jsxDEV(JF,{children:"new page"},void 0,!1,void 0,this)," and define the essentials",P.jsxDEV(JF,{children:"."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),P.jsxDEV("div",{className:"flex flex-col gap-4",children:[P.jsxDEV("label",{className:"flex w-full flex-col gap-2",children:[P.jsxDEV("span",{className:"text-sm font-medium text-fg",children:"Content type"},void 0,!1,void 0,this),P.jsxDEV("select",{className:"h-10 w-full rounded-lg border border-border bg-surface-card px-4 text-sm text-fg outline-none focus:border-brand-green",value:A,onChange:(j)=>L(j.target.value),children:W.map((j)=>P.jsxDEV("option",{value:j.id,children:j.name},j.id,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this),P.jsxDEV(xY,{label:"Title",value:O,onChange:I},void 0,!1,void 0,this),P.jsxDEV(xY,{label:"Slug",value:N,onChange:M,placeholder:OP(O)},void 0,!1,void 0,this),P.jsxDEV("div",{className:"mt-2 flex justify-end gap-2",children:[P.jsxDEV(yZ,{variant:"ghost",onPress:q,children:"cancel"},void 0,!1,void 0,this),P.jsxDEV(yZ,{onPress:R,isDisabled:!A||!O,children:"Create"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function NP({api:Q,page:q,blockTypes:H,tab:_,onTab:W,onBack:K,onChange:A}){let[L,O]=MZ.useState(null),[I,N]=MZ.useState(null),[M,R]=MZ.useState(""),j=MZ.useRef(new Set),[h,d]=MZ.useState(0),b=MZ.useCallback((E,g)=>{let e=j.current;if(g?e.has(E):!e.has(E))return;if(g)e.add(E);else e.delete(E);d(e.size)},[]),a=()=>j.current.size===0||window.confirm(`You have unsaved changes in ${j.current.size} block${j.current.size===1?"":"s"}. Leave without saving?`),t=MZ.useMemo(()=>new Map(H.map((E)=>[E.slug,E])),[H]),qZ=MZ.useCallback(async()=>{try{let[E,g]=await Promise.all([Q.getContentType(q.typeId),Q.getPagePreview(q.slug,q.locale)]);O(E??null),N(g)}catch(E){R(IX(E))}},[Q,q.typeId,q.slug,q.locale]);MZ.useEffect(()=>{qZ()},[qZ]),MZ.useEffect(()=>{if(h===0)return;let E=(g)=>{g.preventDefault(),g.returnValue=""};return window.addEventListener("beforeunload",E),()=>window.removeEventListener("beforeunload",E)},[h]);let QZ=L?.regions??[],LZ=(E,g)=>N((e)=>e?{...e,regions:{...e.regions,[E]:g(e.regions[E]??[])}}:e),kZ=async(E,g)=>{let e=`tmp:${crypto.randomUUID()}`;LZ(E,(p)=>[...p,{id:e,block_id:e,block_type:g,title:null,fields:{},is_shared:!1,pending:!0}]);try{let{block:p,placement:w}=await Q.call("addBlock",{pageId:q.id,blockTypeSlug:g,region:E,fields:{}}),o={id:String(w.id),block_id:String(p.id),block_type:g,title:p.title??null,fields:p.fields??{},is_shared:Boolean(w.isShared)};LZ(E,(AZ)=>AZ.map((VZ)=>VZ.id===e?o:VZ))}catch(p){LZ(E,(w)=>w.filter((o)=>o.id!==e)),R(IX(p))}},JZ=async(E)=>{try{await Q.call("removeBlock",{pageBlockId:E.id}),await qZ()}catch(g){R(IX(g))}},l=async(E,g)=>{try{await Q.call("reorderRegion",{pageId:q.id,region:E,order:g}),await qZ()}catch(e){R(IX(e))}},OZ=MZ.useCallback((E,g)=>{N((e)=>{if(!e)return e;let p={};for(let[w,o]of Object.entries(e.regions))p[w]=o.map((AZ)=>AZ.id===E?{...AZ,fields:g}:AZ);return{...e,regions:p}})},[]),[n,wZ]=MZ.useState(null),WZ=(E,g)=>wZ({region:E,from:g,over:g}),zZ=(E,g)=>wZ((e)=>e&&e.region===E&&e.over!==g?{...e,over:g}:e),v=()=>wZ(null),m=(E)=>{if(wZ(null),!n||n.region!==E||n.from===n.over)return;let g=(I?.regions[E]??[]).map((p)=>p.id),[e]=g.splice(n.from,1);g.splice(n.over,0,e),l(E,g)};return P.jsxDEV("div",{className:"grid min-h-[calc(100vh-68px)] grid-cols-[260px_1fr_400px] gap-5 px-7 pb-7 pt-2 max-[820px]:grid-cols-1",children:[P.jsxDEV("div",{className:"overflow-auto rounded-panel bg-surface-muted p-[18px]",children:[P.jsxDEV(yZ,{variant:"ghost",size:"sm",onPress:()=>{if(a())K()},children:"← all pages"},void 0,!1,void 0,this),h>0?P.jsxDEV("p",{className:"mt-2 text-[11px] text-accent-strong",children:["● ",h," unsaved block",h===1?"":"s"]},void 0,!0,void 0,this):null,P.jsxDEV(Kz,{children:"Regions"},void 0,!1,void 0,this),QZ.map((E)=>P.jsxDEV("div",{className:`${xW} mb-2`,children:[P.jsxDEV("span",{className:"flex-1 truncate font-medium",children:E.label??E.name},void 0,!1,void 0,this),P.jsxDEV("span",{className:"text-fg-subtle",children:(I?.regions[E.name]??[]).length},void 0,!1,void 0,this)]},E.name,!0,void 0,this)),P.jsxDEV(Kz,{children:"Status"},void 0,!1,void 0,this),P.jsxDEV("div",{className:xW,children:[P.jsxDEV("span",{className:"flex-1 truncate font-medium",children:q.title},void 0,!1,void 0,this),P.jsxDEV(hH,{status:q.status,children:q.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),P.jsxDEV("div",{className:"overflow-auto py-1.5",children:[M?P.jsxDEV(o5,{children:M},void 0,!1,void 0,this):null,QZ.map((E)=>{let g=I?.regions[E.name]??[],e=E.allowedTypes&&E.allowedTypes.length?E.allowedTypes:H.map((p)=>p.slug);return P.jsxDEV("div",{className:"mb-8",children:[P.jsxDEV("h3",{className:"m-0 mb-3 text-[22px] font-normal text-fg",children:E.label??E.name},void 0,!1,void 0,this),g.length===0?P.jsxDEV("p",{className:"mb-3 text-sm text-fg-subtle",children:"No blocks yet — add one below."},void 0,!1,void 0,this):null,g.map((p,w)=>P.jsxDEV(mv,{api:Q,block:p,blockType:t.get(p.block_type),isFirst:w===0,isLast:w===g.length-1,onMove:(o)=>Xh(g,E.name,w,o,l),onRemove:()=>JZ(p),onPatch:OZ,onDirtyChange:b,onError:R,dragging:n?.region===E.name&&n.from===w,isOver:!!n&&n.region===E.name&&n.over===w&&n.from!==w,onDragStartBlock:()=>WZ(E.name,w),onDragOverBlock:()=>zZ(E.name,w),onDropBlock:()=>m(E.name),onDragEndBlock:v},p.id,!1,void 0,this)),P.jsxDEV(fv,{allowed:e,btBySlug:t,onAdd:(p)=>kZ(E.name,p)},void 0,!1,void 0,this)]},E.name,!0,void 0,this)}),QZ.length===0?P.jsxDEV("p",{className:"text-fg-subtle",children:"This page's content type has no regions."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),P.jsxDEV("div",{className:"overflow-auto rounded-panel border border-border bg-surface-card p-5",children:[P.jsxDEV("div",{className:"mb-3 flex gap-1",children:i5.map((E)=>P.jsxDEV(yZ,{variant:"ghost",size:"sm",className:_===E?"bg-surface-muted text-fg":"text-fg-muted",onPress:()=>W(E),children:E},E,!1,void 0,this))},void 0,!1,void 0,this),_==="settings"?P.jsxDEV(uv,{page:q},void 0,!1,void 0,this):null,_==="seo"?P.jsxDEV(dv,{api:Q,page:q,onError:R},void 0,!1,void 0,this):null,_==="workflow"?P.jsxDEV(cv,{api:Q,page:q,onChanged:(E)=>{A(E)},onError:R},void 0,!1,void 0,this):null,_==="i18n"?P.jsxDEV(pv,{api:Q,page:q,onError:R},void 0,!1,void 0,this):null,_==="audit"?P.jsxDEV(lv,{api:Q,pageId:q.id,onError:R},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function mv({api:Q,block:q,blockType:H,isFirst:_,isLast:W,onMove:K,onRemove:A,onPatch:L,onDirtyChange:O,onError:I,dragging:N,isOver:M,onDragStartBlock:R,onDragOverBlock:j,onDropBlock:h,onDragEndBlock:d}){let[b,a]=MZ.useState(null),[t,qZ]=MZ.useState(!1),[QZ,LZ]=MZ.useState("idle"),kZ=MZ.useRef(""),JZ=MZ.useRef(null),l=q.block_id,OZ=q.id;MZ.useEffect(()=>{if(q.pending){a({}),kZ.current="{}";return}let m=!0;return Q.call("getBlock",{blockId:l}).then((E)=>{if(!m)return;let g=E?.fields??{};a(g),kZ.current=JSON.stringify(g)}).catch((E)=>I(IX(E))),()=>{m=!1}},[Q,l,I,q.pending]);let n=b!=null&&JSON.stringify(b)!==kZ.current,wZ=MZ.useCallback(async()=>{if(q.pending||b==null)return;let m=JSON.stringify(b);if(m===kZ.current)return;LZ("saving");try{await Q.call("updateBlock",{blockId:l,fields:b}),kZ.current=m,L(OZ,b),LZ("saved"),setTimeout(()=>LZ((E)=>E==="saved"?"idle":E),1500)}catch(E){I(IX(E)),LZ("idle")}},[Q,l,OZ,b,L,I,q.pending]),WZ=(m)=>a(m);MZ.useEffect(()=>{O(OZ,n)},[n,OZ,O]),MZ.useEffect(()=>()=>{O(OZ,!1)},[OZ,O]);let zZ=H?.fieldsSchema??[],v=H?.name??q.block_type;return P.jsxDEV("div",{ref:JZ,className:`mb-2.5 rounded-panel border bg-surface-card transition-colors ${M?"border-brand-green":"border-border"} ${N?"opacity-40":""} ${q.pending?"pointer-events-none opacity-60":""}`,onDragOver:(m)=>{m.preventDefault(),j()},onDrop:(m)=>{m.preventDefault(),h()},children:[P.jsxDEV("div",{className:"flex items-center gap-2.5 px-3.5 py-2.5",children:[P.jsxDEV("span",{draggable:!0,onDragStart:(m)=>{if(JZ.current)m.dataTransfer.setDragImage(JZ.current,12,12);m.dataTransfer.effectAllowed="move",m.dataTransfer.setData("text/plain",""),R()},onDragEnd:d,className:"shrink-0 cursor-grab select-none px-0.5 text-fg-subtle hover:text-fg active:cursor-grabbing",title:"Drag to reorder",children:"⠿"},void 0,!1,void 0,this),P.jsxDEV("button",{type:"button",className:"w-4 shrink-0 text-fg-subtle hover:text-fg",title:t?"Expand":"Collapse",onClick:()=>qZ((m)=>!m),children:t?"▸":"▾"},void 0,!1,void 0,this),P.jsxDEV("span",{className:"font-medium text-fg",children:v},void 0,!1,void 0,this),q.is_shared?P.jsxDEV("span",{className:"text-[11px] text-accent-strong",children:"shared"},void 0,!1,void 0,this):null,P.jsxDEV("span",{className:`text-[11px] ${n&&QZ!=="saving"?"text-accent-strong":"text-fg-subtle"}`,children:QZ==="saving"?"saving…":QZ==="saved"?"saved ✓":n?"● unsaved":""},void 0,!1,void 0,this),P.jsxDEV("span",{className:"flex-1"},void 0,!1,void 0,this),P.jsxDEV(yZ,{variant:"ghost",size:"sm",isDisabled:_,onPress:()=>K(-1),children:"↑"},void 0,!1,void 0,this),P.jsxDEV(yZ,{variant:"ghost",size:"sm",isDisabled:W,onPress:()=>K(1),children:"↓"},void 0,!1,void 0,this),P.jsxDEV(yZ,{variant:"ghost",size:"sm",className:"text-danger",onPress:A,children:"✕"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),t?P.jsxDEV("div",{className:"cursor-pointer truncate px-3.5 pb-3 text-sm text-fg-subtle",onClick:()=>qZ(!1),children:b==null?"…":Zh(b)||P.jsxDEV("span",{className:"italic",children:"empty"},void 0,!1,void 0,this)},void 0,!1,void 0,this):P.jsxDEV("div",{className:"border-t border-border px-3.5 py-3.5",children:b==null?P.jsxDEV("p",{className:"text-sm text-fg-subtle",children:"loading…"},void 0,!1,void 0,this):zZ.length===0?P.jsxDEV("p",{className:"text-sm text-fg-subtle",children:"This block has no editable fields."},void 0,!1,void 0,this):P.jsxDEV(P.Fragment,{children:[P.jsxDEV(QF,{schema:zZ,value:b,onChange:WZ,api:Q},void 0,!1,void 0,this),P.jsxDEV("div",{className:"mt-3.5 flex items-center gap-2 border-t border-border pt-3",children:[P.jsxDEV(yZ,{size:"sm",onPress:()=>void wZ(),isDisabled:!n||QZ==="saving"||q.pending,children:QZ==="saving"?"Saving…":"Save"},void 0,!1,void 0,this),n?P.jsxDEV("span",{className:"text-[11px] text-accent-strong",children:"Unsaved changes"},void 0,!1,void 0,this):QZ==="saved"?P.jsxDEV("span",{className:"text-[11px] text-fg-subtle",children:"Saved ✓"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function fv({allowed:Q,btBySlug:q,onAdd:H}){let[_,W]=MZ.useState(!1);if(!_)return P.jsxDEV(yZ,{variant:"secondary",size:"sm",onPress:()=>W(!0),children:"+ Add block"},void 0,!1,void 0,this);return P.jsxDEV("div",{className:"rounded-panel border border-border bg-surface-card p-2.5",children:[P.jsxDEV("div",{className:"mb-1.5 px-1 text-[11px] text-fg-subtle",children:"Add a block"},void 0,!1,void 0,this),P.jsxDEV("div",{className:"flex flex-wrap gap-1.5",children:Q.map((K)=>P.jsxDEV(yZ,{variant:"ghost",size:"sm",onPress:()=>{H(K),W(!1)},children:q.get(K)?.name??K},K,!1,void 0,this))},void 0,!1,void 0,this),P.jsxDEV("div",{className:"mt-1.5 text-right",children:P.jsxDEV(yZ,{variant:"ghost",size:"sm",className:"text-fg-subtle",onPress:()=>W(!1),children:"cancel"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function uv({page:Q}){return P.jsxDEV(zF,{children:[P.jsxDEV("span",{children:"Title"},void 0,!1,void 0,this),P.jsxDEV("span",{children:Q.title},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Slug"},void 0,!1,void 0,this),P.jsxDEV("span",{children:["/",Q.slug]},void 0,!0,void 0,this),P.jsxDEV("span",{children:"Locale"},void 0,!1,void 0,this),P.jsxDEV("span",{children:Q.locale},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Status"},void 0,!1,void 0,this),P.jsxDEV("span",{children:Q.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function dv({api:Q,page:q,onError:H}){let[_,W]=MZ.useState({metaTitle:q.metaTitle??"",metaDescription:q.metaDescription??"",canonicalUrl:q.canonicalUrl??"",robots:q.robots??"",ogTitle:q.ogTitle??"",ogDescription:q.ogDescription??""}),[K,A]=MZ.useState(!1),L=async()=>{try{await Q.call("updatePageSeo",{pageId:q.id,..._}),A(!0),setTimeout(()=>A(!1),1500)}catch(I){H(IX(I))}},O=(I,N,M=!1)=>M?P.jsxDEV(ZF,{label:N,value:_[I],onChange:(R)=>W({..._,[I]:R})},void 0,!1,void 0,this):P.jsxDEV(xY,{label:N,value:_[I],onChange:(R)=>W({..._,[I]:R})},void 0,!1,void 0,this);return P.jsxDEV("div",{className:"flex flex-col gap-4",children:[P.jsxDEV(Kz,{children:"SEO"},void 0,!1,void 0,this),K?P.jsxDEV(o5,{ok:!0,children:"saved"},void 0,!1,void 0,this):null,O("metaTitle","Meta title"),O("metaDescription","Meta description",!0),O("canonicalUrl","Canonical URL"),O("robots","Robots (e.g. noindex)"),O("ogTitle","OG title"),O("ogDescription","OG description",!0),P.jsxDEV(yZ,{className:"w-full",onPress:L,children:"Save SEO"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function cv({api:Q,page:q,onChanged:H,onError:_}){let W=async(L,O)=>{try{let I=await Q.call(L,{pageId:q.id,...O});if(I?.page)H(I.page)}catch(I){_(IX(I))}},K=String(q.status),A=K==="review"?[{label:"Approve (publish)",action:"approve"},{label:"Reject",action:"reject",variant:"secondary"},{label:"Publish directly",action:"publishPage",variant:"secondary"}]:K==="published"?[{label:"Unpublish",action:"unpublishPage",variant:"secondary"}]:[{label:"Publish",action:"publishPage"},{label:"Submit for review",action:"submitForReview",variant:"secondary"}];return P.jsxDEV("div",{children:[P.jsxDEV(Kz,{children:"Workflow"},void 0,!1,void 0,this),P.jsxDEV("div",{className:"mb-3 flex items-center gap-2 text-[13px] text-fg-muted",children:[P.jsxDEV("span",{className:"text-fg-subtle",children:"Status"},void 0,!1,void 0,this),P.jsxDEV(hH,{status:q.status,children:q.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this),P.jsxDEV("div",{className:"flex flex-col gap-2",children:A.map((L)=>P.jsxDEV(yZ,{variant:L.variant,onPress:()=>W(L.action),children:L.label},L.action,!1,void 0,this))},void 0,!1,void 0,this),P.jsxDEV("p",{className:"mt-2.5 text-fg-subtle",children:"Publish needs a reviewer/admin role; submit-for-review is editor-gated."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function pv({api:Q,page:q,onError:H}){let[_,W]=MZ.useState([]),[K,A]=MZ.useState(""),L=MZ.useCallback(()=>Q.call("listTranslations",{pageId:q.id}).then(W).catch((I)=>H(IX(I))),[Q,q.id,H]);MZ.useEffect(()=>{L()},[L]);let O=async()=>{try{await Q.call("createTranslation",{pageId:q.id,locale:K}),A(""),L()}catch(I){H(IX(I))}};return P.jsxDEV("div",{children:[P.jsxDEV(Kz,{children:"Translations"},void 0,!1,void 0,this),P.jsxDEV("div",{className:"flex flex-col gap-2",children:_.map((I)=>P.jsxDEV("div",{className:xW,children:[P.jsxDEV("span",{className:"flex-1 truncate font-medium",children:I.locale},void 0,!1,void 0,this),P.jsxDEV("span",{className:"text-fg-subtle",children:["/",I.slug]},void 0,!0,void 0,this),P.jsxDEV(hH,{status:I.status,children:I.status},void 0,!1,void 0,this)]},I.id,!0,void 0,this))},void 0,!1,void 0,this),P.jsxDEV("div",{className:"mt-2 flex items-end gap-1.5",children:[P.jsxDEV(xY,{label:"",value:K,onChange:A,placeholder:"locale (e.g. cs)"},void 0,!1,void 0,this),P.jsxDEV(yZ,{variant:"secondary",onPress:O,isDisabled:!K,children:"add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function lv({api:Q,pageId:q,onError:H}){let[_,W]=MZ.useState([]);return MZ.useEffect(()=>{Q.listPageAudit(q).then(W).catch((K)=>H(IX(K)))},[Q,q,H]),P.jsxDEV("div",{children:[P.jsxDEV(Kz,{children:"Audit trail"},void 0,!1,void 0,this),P.jsxDEV("div",{className:"flex flex-col gap-2",children:[_.map((K)=>P.jsxDEV("div",{className:`${xW} text-xs`,children:[P.jsxDEV("span",{className:"rounded-full bg-surface-muted px-2 py-0.5 font-mono text-xs text-fg-muted",children:K.action},void 0,!1,void 0,this),P.jsxDEV("span",{className:"flex-1 truncate text-fg-subtle",children:[K.fromStatus," → ",K.toStatus]},void 0,!0,void 0,this),P.jsxDEV("span",{className:"text-fg-subtle",children:K.actor??"system"},void 0,!1,void 0,this)]},K.id,!0,void 0,this)),_.length===0?P.jsxDEV("p",{className:"text-fg-subtle",children:"No history yet."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function IP({api:Q,onError:q}){let[H,_]=MZ.useState([]),[W,K]=MZ.useState(0),[A,L]=MZ.useState(!1),[O,I]=MZ.useState(null),[N,M]=MZ.useState(!1),R=MZ.useCallback((h)=>{Q.listMedia(AP,h).then((d)=>{_((b)=>h===0?d:[...b,...d]),L(d.length===AP),K(h+d.length)}).catch((d)=>q(IX(d)))},[Q,q]);MZ.useEffect(()=>{R(0)},[R]);let j=async(h)=>{if(!h?.length)return;M(!0),q("");try{for(let d of Array.from(h))await Q.uploadMedia(d);R(0)}catch(d){q(IX(d))}finally{M(!1)}};return P.jsxDEV(P.Fragment,{children:[P.jsxDEV(GF,{lead:"Media",em:H.length===0?"None yet":H.length===1?"1 file":`${H.length}${A?"+":""} files`,children:P.jsxDEV(n5,{text:"Let's",em:"upload something",children:P.jsxDEV("label",{className:`inline-flex shrink-0 cursor-pointer items-center rounded-full bg-surface-inverted px-6 py-3 text-compact text-fg-inverted ${N?"pointer-events-none opacity-50":""}`,children:[N?"Uploading…":"+ Upload",P.jsxDEV("input",{type:"file",multiple:!0,hidden:!0,disabled:N,onChange:(h)=>{j(h.target.files),h.target.value=""}},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),P.jsxDEV("div",{className:qF,children:[H.length===0?P.jsxDEV("p",{className:"text-fg-subtle",children:"No media yet. Upload images to use them in blocks and SEO."},void 0,!1,void 0,this):P.jsxDEV("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(180px,1fr))] gap-2.5",children:H.map((h)=>P.jsxDEV("div",{className:`cursor-pointer overflow-hidden rounded-lg border bg-surface-card ${O?.id===h.id?"border-fg":"border-border"}`,onClick:()=>I(h),children:[VP(h)?P.jsxDEV("img",{className:"block h-[130px] w-full object-cover",src:Q.resolve(`/media/${h.file.key}`),alt:h.alt??""},void 0,!1,void 0,this):P.jsxDEV("div",{className:"flex h-[130px] items-center justify-center bg-surface-muted font-mono text-xs text-fg-subtle",children:RP(h)},void 0,!1,void 0,this),P.jsxDEV("div",{className:"truncate px-2 py-1.5 text-[11px] text-fg-muted",children:h.file.filename??h.id},void 0,!1,void 0,this)]},h.id,!0,void 0,this))},void 0,!1,void 0,this),A?P.jsxDEV("div",{className:"mt-3.5 text-center",children:P.jsxDEV(yZ,{variant:"secondary",size:"sm",onPress:()=>R(W),children:"Load more"},void 0,!1,void 0,this)},void 0,!1,void 0,this):null,O?P.jsxDEV(iv,{api:Q,media:O,onClose:()=>I(null),onSaved:(h)=>{I(h),_((d)=>d.map((b)=>b.id===h.id?h:b))},onDeleted:(h)=>{I(null),_((d)=>d.filter((b)=>b.id!==h))},onError:q},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function iv({api:Q,media:q,onClose:H,onSaved:_,onDeleted:W,onError:K}){let[A,L]=MZ.useState(q.alt??""),[O,I]=MZ.useState(!1);MZ.useEffect(()=>L(q.alt??""),[q]);let N=Q.resolve(`/media/${q.file.key}`),M=async()=>{I(!0);try{_(await Q.updateMedia(q.id,A||null))}catch(j){K(IX(j))}finally{I(!1)}},R=async()=>{if(!confirm("Delete this file permanently? If a block or page still references it, that image will break — this cannot be undone."))return;I(!0);try{await Q.deleteMedia(q.id),W(q.id)}catch(j){K(IX(j))}finally{I(!1)}};return P.jsxDEV(s5,{onClose:H,wide:!0,children:[P.jsxDEV(a5,{children:[P.jsxDEV(JF,{children:"Media"},void 0,!1,void 0,this)," ",q.file.filename??""]},void 0,!0,void 0,this),VP(q)?P.jsxDEV("img",{className:"mx-auto mb-3.5 block max-h-[340px] max-w-full rounded-lg bg-surface-muted object-contain",src:N,alt:q.alt??""},void 0,!1,void 0,this):P.jsxDEV("div",{className:"mb-3.5 flex h-[200px] items-center justify-center rounded-lg bg-surface-muted font-mono text-fg-subtle",children:RP(q)},void 0,!1,void 0,this),P.jsxDEV("div",{className:"mb-4",children:P.jsxDEV(xY,{label:"Alt text (for accessibility & SEO)",value:A,onChange:L,placeholder:"Describe the image…"},void 0,!1,void 0,this)},void 0,!1,void 0,this),P.jsxDEV(zF,{children:[P.jsxDEV("span",{children:"Type"},void 0,!1,void 0,this),P.jsxDEV("span",{children:q.file.contentType??"—"},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Size"},void 0,!1,void 0,this),P.jsxDEV("span",{children:tv(q.file.size)},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Uploaded"},void 0,!1,void 0,this),P.jsxDEV("span",{children:q.file.uploadedAt?new Date(q.file.uploadedAt).toLocaleString():q.createdAt??"—"},void 0,!1,void 0,this),P.jsxDEV("span",{children:"URL"},void 0,!1,void 0,this),P.jsxDEV("span",{className:"break-all",children:P.jsxDEV("a",{className:"underline underline-offset-2",href:N,target:"_blank",rel:"noreferrer",children:["/media/",q.file.key]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),P.jsxDEV("div",{className:"mt-3.5 flex items-center gap-2",children:[P.jsxDEV(yZ,{onPress:M,isDisabled:O||A===(q.alt??""),children:"Save"},void 0,!1,void 0,this),P.jsxDEV(yZ,{variant:"secondary",size:"sm",onPress:()=>navigator.clipboard?.writeText(N),children:"Copy URL"},void 0,!1,void 0,this),P.jsxDEV("span",{className:"flex-1"},void 0,!1,void 0,this),P.jsxDEV(yZ,{variant:"ghost",className:"text-danger",onPress:R,isDisabled:O,children:"Delete"},void 0,!1,void 0,this),P.jsxDEV(yZ,{variant:"ghost",onPress:H,children:"Close"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function nv(Q){let q=Q.roles;if(Array.isArray(q))return q.filter((H)=>typeof H==="string");if(typeof q==="string")try{let H=JSON.parse(q);return Array.isArray(H)?H:[]}catch{return[]}return[]}function TP({api:Q,me:q,onError:H}){let[_,W]=MZ.useState([]),[K,A]=MZ.useState(!1),[L,O]=MZ.useState(""),I=MZ.useCallback(()=>{Q.call("listUsers",{limit:200}).then(W).catch((j)=>H(IX(j)))},[Q,H]);MZ.useEffect(()=>{I()},[I]);let N=async(j,h)=>{O(j.username);try{await Q.call("setUserRoles",{username:j.username,roles:h}),I()}catch(d){H(IX(d))}finally{O("")}},M=async(j,h)=>{O(j.username);try{await Q.call("setUserActive",{username:j.username,active:h}),I()}catch(d){H(IX(d))}finally{O("")}},R=async(j)=>{if(!confirm(`Delete user ${j.username}? This cannot be undone.`))return;O(j.username);try{await Q.call("deleteUser",{username:j.username}),I()}catch(h){H(IX(h))}finally{O("")}};return P.jsxDEV(P.Fragment,{children:[P.jsxDEV(GF,{lead:"Users",em:_.length===0?"None yet":_.length===1?"1 account":`${_.length} accounts`,children:P.jsxDEV(n5,{text:"Let's",em:"invite someone",children:P.jsxDEV(yZ,{className:"shrink-0",onPress:()=>A(!0),children:"+ Invite"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),P.jsxDEV("div",{className:qF,children:P.jsxDEV("div",{className:"flex flex-col gap-2",children:[_.map((j)=>{let h=nv(j),d=q?.userId===j.username,b=j.active===void 0||j.active===null?!0:Boolean(Number(j.active));return P.jsxDEV("div",{className:`${xW} flex-wrap items-start`,children:[P.jsxDEV("div",{className:"flex min-w-[200px] flex-1 flex-col gap-0.5",children:[P.jsxDEV("span",{className:"font-semibold",children:[j.username,d?P.jsxDEV("span",{className:"ml-1.5 font-normal text-fg-subtle",children:"(you)"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),j.email&&j.email!==j.username?P.jsxDEV("span",{className:"text-xs text-fg-subtle",children:j.email},void 0,!1,void 0,this):null,j.createdAt?P.jsxDEV("span",{className:"text-[11px] text-fg-subtle",children:["joined ",new Date(Number(j.createdAt)).toLocaleDateString()]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),P.jsxDEV(sv,{value:h,disabled:L===j.username,onSave:(a)=>N(j,a)},void 0,!1,void 0,this),P.jsxDEV(hH,{status:b?"active":"inactive",children:b?"active":"inactive"},void 0,!1,void 0,this),P.jsxDEV(yZ,{variant:"ghost",size:"sm",isDisabled:L===j.username||d,onPress:()=>M(j,!b),children:b?"Deactivate":"Activate"},void 0,!1,void 0,this),P.jsxDEV(yZ,{variant:"ghost",size:"sm",className:"text-danger",isDisabled:L===j.username||d,onPress:()=>R(j),children:"Delete"},void 0,!1,void 0,this)]},j.username,!0,void 0,this)}),_.length===0?P.jsxDEV("p",{className:"text-fg-subtle",children:"No users yet. Invite someone to get started."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this),K?P.jsxDEV(av,{api:Q,onClose:()=>A(!1),onInvited:()=>{A(!1),I()},onError:H},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function sv({value:Q,disabled:q,onSave:H}){let[_,W]=MZ.useState(Q.join(", ")),[K,A]=MZ.useState(!1);MZ.useEffect(()=>{W(Q.join(", "))},[Q]);let L=()=>{A(!1);let O=_.split(",").map((I)=>I.trim()).filter(Boolean);if(O.length===0){W(Q.join(", "));return}if(O.length===Q.length&&O.every((I,N)=>I===Q[N]))return;H(O)};if(K)return P.jsxDEV("input",{autoFocus:!0,className:"h-10 w-[220px] rounded-lg border border-border bg-surface-card px-4 text-sm text-fg outline-none focus:border-brand-green",value:_,disabled:q,onChange:(O)=>W(O.target.value),onBlur:L,onKeyDown:(O)=>{if(O.key==="Enter")L();if(O.key==="Escape")W(Q.join(", ")),A(!1)}},void 0,!1,void 0,this);return P.jsxDEV("span",{className:"flex cursor-pointer flex-wrap gap-1",onClick:()=>A(!0),title:"Click to edit",children:Q.length===0?P.jsxDEV(hH,{children:"no roles"},void 0,!1,void 0,this):Q.map((O)=>P.jsxDEV(hH,{status:O==="admin"?"published":void 0,children:O},O,!1,void 0,this))},void 0,!1,void 0,this)}function av({api:Q,onClose:q,onInvited:H,onError:_}){let[W,K]=MZ.useState(""),[A,L]=MZ.useState("editor"),[O,I]=MZ.useState(!1);return P.jsxDEV(s5,{onClose:q,children:[P.jsxDEV(a5,{children:["Invite an ",P.jsxDEV(JF,{children:"editor"},void 0,!1,void 0,this)," or teammate"]},void 0,!0,void 0,this),P.jsxDEV("p",{className:"-mt-2 mb-4 text-fg-subtle",children:"They'll get a one-time magic link that logs them in and creates their account."},void 0,!1,void 0,this),P.jsxDEV("div",{className:"flex flex-col gap-4",children:[P.jsxDEV(xY,{label:"Email",type:"email",autoFocus:!0,value:W,onChange:K,placeholder:"them@example.com"},void 0,!1,void 0,this),P.jsxDEV(xY,{label:"Roles (comma-separated — e.g. editor, reviewer, admin)",value:A,onChange:L,placeholder:"editor"},void 0,!1,void 0,this),P.jsxDEV("div",{className:"mt-2 flex justify-end gap-2",children:[P.jsxDEV(yZ,{variant:"ghost",onPress:q,children:"Cancel"},void 0,!1,void 0,this),P.jsxDEV(yZ,{onPress:async()=>{I(!0);try{let M=A.split(",").map((R)=>R.trim()).filter(Boolean);await Q.call("inviteUser",{email:W,roles:M}),H()}catch(M){_(IX(M))}finally{I(!1)}},isDisabled:O||!W,children:O?"Sending…":"Send invite"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function wP({api:Q,cfg:q,me:H,onSignOut:_,onError:W}){return P.jsxDEV(P.Fragment,{children:[P.jsxDEV(GF,{lead:"Settings",em:H?.userId??"your account"},void 0,!1,void 0,this),P.jsxDEV("div",{className:`${qF} grid grid-cols-2 gap-5 max-[820px]:grid-cols-1`,children:[P.jsxDEV(ov,{api:Q,me:H,onError:W,onSignOut:_},void 0,!1,void 0,this),P.jsxDEV(rv,{cfg:q,me:H},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function ov({api:Q,me:q,onError:H,onSignOut:_}){let[W,K]=MZ.useState(""),[A,L]=MZ.useState(""),[O,I]=MZ.useState(""),[N,M]=MZ.useState(""),[R,j]=MZ.useState(!1),h=(a)=>{M(a),setTimeout(()=>M(""),1800)},d=async()=>{j(!0);try{await Q.call("changeEmail",{email:W}),K(""),h("Contact email updated")}catch(a){H(IX(a))}finally{j(!1)}},b=async()=>{j(!0);try{await Q.call("changePassword",{currentPassword:A,newPassword:O}),L(""),I(""),h("Password updated")}catch(a){H(IX(a))}finally{j(!1)}};return P.jsxDEV(FP,{children:[P.jsxDEV(Kz,{children:"My account"},void 0,!1,void 0,this),N?P.jsxDEV(o5,{ok:!0,children:N},void 0,!1,void 0,this):null,P.jsxDEV(zF,{className:"mb-4",children:[P.jsxDEV("span",{children:"Username"},void 0,!1,void 0,this),P.jsxDEV("span",{children:q?.userId??"—"},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Roles"},void 0,!1,void 0,this),P.jsxDEV("span",{children:(q?.roles??[]).join(", ")||"—"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),P.jsxDEV("div",{className:"flex flex-col gap-4",children:[P.jsxDEV(xY,{label:"Change contact email",type:"email",value:W,onChange:K,placeholder:"you@example.com"},void 0,!1,void 0,this),P.jsxDEV(yZ,{className:"w-full",onPress:d,isDisabled:R||!W,children:"Save email"},void 0,!1,void 0,this),P.jsxDEV(xY,{label:"Current password",type:"password",value:A,onChange:L,autoComplete:"current-password"},void 0,!1,void 0,this),P.jsxDEV(xY,{label:"New password (at least 8 characters)",type:"password",value:O,onChange:I,autoComplete:"new-password"},void 0,!1,void 0,this),P.jsxDEV(yZ,{className:"w-full",onPress:b,isDisabled:R||O.length<8||A.length===0,children:"Change password"},void 0,!1,void 0,this),P.jsxDEV(yZ,{variant:"ghost",className:"mt-2 w-full text-danger",onPress:_,children:"Sign out"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function rv({cfg:Q,me:q}){return P.jsxDEV(FP,{children:[P.jsxDEV(Kz,{children:"About"},void 0,!1,void 0,this),P.jsxDEV(zF,{children:[P.jsxDEV("span",{children:"Tenant"},void 0,!1,void 0,this),P.jsxDEV("span",{children:Q.tenant||"main"},void 0,!1,void 0,this),P.jsxDEV("span",{children:"API"},void 0,!1,void 0,this),P.jsxDEV("span",{className:"break-all",children:Q.baseUrl},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Signed in as"},void 0,!1,void 0,this),P.jsxDEV("span",{children:q?.userId??"—"},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Editor"},void 0,!1,void 0,this),P.jsxDEV("span",{children:"pramen · cms-editor"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function VP(Q){return(Q.file.contentType??"").startsWith("image/")}function RP(Q){let q=(Q.file.contentType??"").split("/")[1];return(Q.file.filename?.split(".").pop()??q??"file").slice(0,5).toUpperCase()}function tv(Q){if(!Q||Q<=0)return"—";let q=["B","KB","MB","GB"],H=0,_=Q;while(_>=1024&&H<q.length-1)_/=1024,H++;return`${_<10&&H>0?_.toFixed(1):Math.round(_)} ${q[H]}`}function IX(Q){if(Q instanceof EW)return Q.message;return Q instanceof Error?Q.message:String(Q)}function OP(Q){return Q.toLowerCase().trim().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")}function ev(Q){return Q.replace(/<[^>]*>/g," ").replace(/&nbsp;/g," ").replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/\s+/g," ").trim()}function Zh(Q){let q=Object.values(Q).find((_)=>typeof _==="string"&&_.trim());if(typeof q!=="string")return"";let H=ev(q);return H.length>90?H.slice(0,90)+"…":H}function Xh(Q,q,H,_,W){let K=H+_;if(K<0||K>=Q.length)return;let A=Q.map((L)=>L.id);[A[H],A[K]]=[A[K],A[H]],W(q,A)}var MZ,P,i5,xW="flex items-center gap-3 rounded-[14px] border border-transparent bg-surface-card px-[18px] py-3.5",qF="mx-auto max-w-[1200px] px-7 pb-8 pt-2",JF=({children:Q})=>P.jsxDEV("span",{className:"text-fg-subtle",children:Q},void 0,!1,void 0,this),AP=60;var yW=C(()=>{Wz();d5();LP();MZ=f(ZZ(),1),P=f($Z(),1),i5=["settings","seo","workflow","i18n","audit"]});var jP={};p_(jP,{default:()=>Yh});var qB,CP,Yh;var PP=C(()=>{zq();Uz();yW();qB=f(ZZ(),1),CP=f($Z(),1),Yh=EQ().route("/").render(function(){let{api:q,setError:H}=_J(),_=XJ(),[W,K]=qB.useState([]),[A,L]=qB.useState([]),O=()=>q.listPages().then(K).catch((I)=>H(IX(I)));return qB.useEffect(()=>{O(),q.listBlockTypes().then(L).catch((I)=>H(IX(I)))},[q]),CP.jsxDEV(MP,{api:q,pages:W,blockTypes:A,onOpen:(I)=>_("page",{params:{pageId:I.id}}),onCreated:O,onError:H},void 0,!1,void 0,this)})});var DP={};p_(DP,{default:()=>Qh});var $P,Qh;var SP=C(()=>{zq();Uz();yW();$P=f($Z(),1),Qh=EQ().route("/media").render(function(){let{api:q,setError:H}=_J();return $P.jsxDEV(IP,{api:q,onError:H},void 0,!1,void 0,this)})});var EP={};p_(EP,{default:()=>Jh});var vW,bH,Jh;var kP=C(()=>{zq();Wz();Uz();yW();vW=f(ZZ(),1),bH=f($Z(),1),Jh=EQ().params({pageId:"string",tab:"?string"}).route("/pages/:pageId").render(function({params:q}){let{api:H,setError:_}=_J(),W=XJ(),[K,A]=vW.useState(null),[L,O]=vW.useState([]),[I,N]=vW.useState(!1);vW.useEffect(()=>{let j=!0;return N(!1),H.listPages().then((h)=>{if(!j)return;let d=h.find((b)=>b.id===q.pageId)??null;A(d),N(!d)}).catch((h)=>_(IX(h))),H.listBlockTypes().then((h)=>j&&O(h)).catch((h)=>_(IX(h))),()=>{j=!1}},[H,q.pageId,_]);let M=i5.includes(q.tab)?q.tab:"settings",R=(j)=>W("page",{params:{pageId:q.pageId,tab:j},replace:!0});if(I)return bH.jsxDEV("div",{className:"mx-auto flex max-w-[1200px] items-center gap-2 px-7 pt-8",children:[bH.jsxDEV("p",{className:"text-fg-subtle",children:"Page not found."},void 0,!1,void 0,this),bH.jsxDEV(yZ,{variant:"ghost",size:"sm",onPress:()=>W("home"),children:"← all pages"},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(!K)return bH.jsxDEV("div",{className:"mx-auto max-w-[1200px] px-7 pt-8",children:bH.jsxDEV("p",{className:"text-fg-subtle",children:"Loading…"},void 0,!1,void 0,this)},void 0,!1,void 0,this);return bH.jsxDEV(NP,{api:H,page:K,blockTypes:L,tab:M,onTab:R,onBack:()=>W("home"),onChange:A},void 0,!1,void 0,this)})});var xP={};p_(xP,{default:()=>qh});var yP,qh;var vP=C(()=>{zq();Uz();yW();yP=f($Z(),1),qh=EQ().route("/settings").render(function(){let{api:q,cfg:H,me:_,setError:W,reconfigure:K}=_J();return yP.jsxDEV(wP,{api:q,cfg:H,me:_,onSignOut:K,onError:W},void 0,!1,void 0,this)})});var hP={};p_(hP,{default:()=>Gh});var gH,Gh;var bP=C(()=>{zq();Wz();Uz();yW();gH=f($Z(),1),Gh=EQ().route("/users").render(function(){let{api:q,me:H,isAdmin:_,setError:W}=_J(),K=XJ();if(H===null)return gH.jsxDEV("div",{className:"mx-auto max-w-[1200px] px-7 pt-8",children:gH.jsxDEV("p",{className:"text-fg-subtle",children:"Loading…"},void 0,!1,void 0,this)},void 0,!1,void 0,this);if(!_)return gH.jsxDEV("div",{className:"mx-auto flex max-w-[1200px] items-center gap-2 px-7 pt-8",children:[gH.jsxDEV("p",{className:"text-fg-subtle",children:"Admins only."},void 0,!1,void 0,this),gH.jsxDEV(yZ,{variant:"ghost",size:"sm",onPress:()=>K("home"),children:"← back to pages"},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return gH.jsxDEV(TP,{api:q,me:H,onError:W},void 0,!1,void 0,this)})});var gP={};p_(gP,{default:()=>zh});var Bz,zh;var mP=C(()=>{zq();Wz();Bz=f($Z(),1),zh=EQ().render(function(){let q=XJ();return Bz.jsxDEV("div",{className:"mx-auto max-w-[1200px] px-7 pt-8",children:[Bz.jsxDEV("h1",{className:"m-0 text-[56px] font-normal leading-[1.05] tracking-[-0.01em] max-[820px]:text-[40px]",children:[Bz.jsxDEV("span",{className:"block text-fg-subtle",children:"Not found"},void 0,!1,void 0,this),Bz.jsxDEV("span",{className:"block text-fg",children:"Nothing lives here"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Bz.jsxDEV("div",{className:"mt-4 flex items-center gap-2",children:[Bz.jsxDEV("p",{className:"text-fg-subtle",children:"That page doesn't exist."},void 0,!1,void 0,this),Bz.jsxDEV(yZ,{variant:"ghost",size:"sm",onPress:()=>q("home"),children:"← back to pages"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)})});zq();var nP=f(ZZ(),1),sP=f(Z2(),1);zq();var mH=f(ZZ(),1);zq();Wz();Uz();var TY=f($Z(),1);function p5(){let{cfg:Q,isAdmin:q,error:H,reconfigure:_}=_J(),W=XJ(),{pathname:K}=SA(),A=K.startsWith("/pages")||K==="/"?"pages":K.startsWith("/media")?"media":K.startsWith("/users")?"users":K.startsWith("/settings")?"settings":"",L=(I)=>A===I?"bg-surface-muted text-fg":"text-fg-muted",O=typeof window<"u"?window.PRAMEN_CMS_EDITOR?.extraNav??[]:[];return TY.jsxDEV(TY.Fragment,{children:[TY.jsxDEV("div",{className:"sticky top-0 z-10 flex items-center gap-4 bg-surface px-7 py-4",children:[TY.jsxDEV("span",{className:"text-[15px] font-bold tracking-[0.01em] text-fg",children:["pramen ",TY.jsxDEV("span",{className:"font-normal text-fg-subtle",children:"· cms"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),TY.jsxDEV("span",{className:"flex-1"},void 0,!1,void 0,this),TY.jsxDEV("nav",{className:"flex items-center gap-0.5",children:[TY.jsxDEV(yZ,{variant:"ghost",size:"sm",className:L("pages"),onPress:()=>W("home"),children:"Pages"},void 0,!1,void 0,this),TY.jsxDEV(yZ,{variant:"ghost",size:"sm",className:L("media"),onPress:()=>W("media"),children:"Media"},void 0,!1,void 0,this),q?TY.jsxDEV(yZ,{variant:"ghost",size:"sm",className:L("users"),onPress:()=>W("users"),children:"Users"},void 0,!1,void 0,this):null,TY.jsxDEV(yZ,{variant:"ghost",size:"sm",className:L("settings"),onPress:()=>W("settings"),children:"Settings"},void 0,!1,void 0,this),O.map((I)=>TY.jsxDEV("a",{href:I.href,className:"rounded-md px-2.5 py-1.5 text-sm text-fg-muted transition-colors hover:bg-surface-muted hover:text-fg",children:I.label},I.href,!1,void 0,this))]},void 0,!0,void 0,this),TY.jsxDEV("span",{className:"ml-3 text-fg-subtle",children:Q.tenant},void 0,!1,void 0,this),TY.jsxDEV(yZ,{variant:"ghost",size:"sm",onPress:_,children:"sign out"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H?TY.jsxDEV("div",{className:"mx-7 mt-2 rounded-lg border border-danger bg-surface-card px-4 py-2.5 text-sm text-danger",children:H},void 0,!1,void 0,this):null,TY.jsxDEV(a_,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var fP=()=>Promise.resolve().then(() => (PP(),jP)).then((Q)=>({default:Q.default.component})),uP=()=>Promise.resolve().then(() => (SP(),DP)).then((Q)=>({default:Q.default.component})),dP=()=>Promise.resolve().then(() => (kP(),EP)).then((Q)=>({default:Q.default.component})),cP=()=>Promise.resolve().then(() => (vP(),xP)).then((Q)=>({default:Q.default.component})),pP=()=>Promise.resolve().then(() => (bP(),hP)).then((Q)=>({default:Q.default.component})),lP=()=>Promise.resolve().then(() => (mP(),gP)).then((Q)=>({default:Q.default.component})),r5={home:"/",media:"/media",page:"/pages/:pageId",settings:"/settings",users:"/users"},Hh=[{path:"/",component:p5,isLayout:!0,children:[{path:"/home",matchPath:"/",component:mH.lazy(fP),preload:fP},{path:"/media",component:mH.lazy(uP),preload:uP},{path:"/page",matchPath:"/pages/:pageId",component:mH.lazy(dP),preload:dP},{path:"/settings",component:mH.lazy(cP),preload:cP},{path:"/users",component:mH.lazy(pP),preload:pP},{path:"/:__notFound+",component:mH.lazy(lP),preload:lP}]}],t5=a9(Hh);Uz();var HF=f($Z(),1),iP=document.getElementById("app");if(iP)sP.createRoot(iP).render(HF.jsxDEV(nP.StrictMode,{children:HF.jsxDEV(KP,{children:HF.jsxDEV($A,{routes:t5,pageRegistry:r5},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this));