(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))r(f);new MutationObserver(f=>{for(const d of f)if(d.type==="childList")for(const h of d.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&r(h)}).observe(document,{childList:!0,subtree:!0});function s(f){const d={};return f.integrity&&(d.integrity=f.integrity),f.referrerPolicy&&(d.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?d.credentials="include":f.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function r(f){if(f.ep)return;f.ep=!0;const d=s(f);fetch(f.href,d)}})();function wm(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var ms={exports:{}},cu={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Ph;function lv(){if(Ph)return cu;Ph=1;var a=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function s(r,f,d){var h=null;if(d!==void 0&&(h=""+d),f.key!==void 0&&(h=""+f.key),"key"in f){d={};for(var y in f)y!=="key"&&(d[y]=f[y])}else d=f;return f=d.ref,{$$typeof:a,type:r,key:h,ref:f!==void 0?f:null,props:d}}return cu.Fragment=c,cu.jsx=s,cu.jsxs=s,cu}var Ih;function nv(){return Ih||(Ih=1,ms.exports=lv()),ms.exports}var x=nv(),ys={exports:{}},ie={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var em;function av(){if(em)return ie;em=1;var a=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),h=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),D=Symbol.iterator;function L(E){return E===null||typeof E!="object"?null:(E=D&&E[D]||E["@@iterator"],typeof E=="function"?E:null)}var G={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},X=Object.assign,w={};function O(E,B,Z){this.props=E,this.context=B,this.refs=w,this.updater=Z||G}O.prototype.isReactComponent={},O.prototype.setState=function(E,B){if(typeof E!="object"&&typeof E!="function"&&E!=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,E,B,"setState")},O.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function V(){}V.prototype=O.prototype;function Q(E,B,Z){this.props=E,this.context=B,this.refs=w,this.updater=Z||G}var P=Q.prototype=new V;P.constructor=Q,X(P,O.prototype),P.isPureReactComponent=!0;var Y=Array.isArray;function W(){}var ee={H:null,A:null,T:null,S:null},Ee=Object.prototype.hasOwnProperty;function Ne(E,B,Z){var J=Z.ref;return{$$typeof:a,type:E,key:B,ref:J!==void 0?J:null,props:Z}}function He(E,B){return Ne(E.type,B,E.props)}function be(E){return typeof E=="object"&&E!==null&&E.$$typeof===a}function ze(E){var B={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(Z){return B[Z]})}var ct=/\/+/g;function De(E,B){return typeof E=="object"&&E!==null&&E.key!=null?ze(""+E.key):B.toString(36)}function _e(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(W,W):(E.status="pending",E.then(function(B){E.status==="pending"&&(E.status="fulfilled",E.value=B)},function(B){E.status==="pending"&&(E.status="rejected",E.reason=B)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function U(E,B,Z,J,ae){var F=typeof E;(F==="undefined"||F==="boolean")&&(E=null);var se=!1;if(E===null)se=!0;else switch(F){case"bigint":case"string":case"number":se=!0;break;case"object":switch(E.$$typeof){case a:case c:se=!0;break;case S:return se=E._init,U(se(E._payload),B,Z,J,ae)}}if(se)return ae=ae(E),se=J===""?"."+De(E,0):J,Y(ae)?(Z="",se!=null&&(Z=se.replace(ct,"$&/")+"/"),U(ae,B,Z,"",function(Kl){return Kl})):ae!=null&&(be(ae)&&(ae=He(ae,Z+(ae.key==null||E&&E.key===ae.key?"":(""+ae.key).replace(ct,"$&/")+"/")+se)),B.push(ae)),1;se=0;var Ve=J===""?".":J+":";if(Y(E))for(var je=0;je<E.length;je++)J=E[je],F=Ve+De(J,je),se+=U(J,B,Z,F,ae);else if(je=L(E),typeof je=="function")for(E=je.call(E),je=0;!(J=E.next()).done;)J=J.value,F=Ve+De(J,je++),se+=U(J,B,Z,F,ae);else if(F==="object"){if(typeof E.then=="function")return U(_e(E),B,Z,J,ae);throw B=String(E),Error("Objects are not valid as a React child (found: "+(B==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":B)+"). If you meant to render a collection of children, use an array instead.")}return se}function k(E,B,Z){if(E==null)return E;var J=[],ae=0;return U(E,J,"","",function(F){return B.call(Z,F,ae++)}),J}function ne(E){if(E._status===-1){var B=E._result;B=B(),B.then(function(Z){(E._status===0||E._status===-1)&&(E._status=1,E._result=Z)},function(Z){(E._status===0||E._status===-1)&&(E._status=2,E._result=Z)}),E._status===-1&&(E._status=0,E._result=B)}if(E._status===1)return E._result.default;throw E._result}var ge=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var B=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof E=="object"&&E!==null&&typeof E.message=="string"?String(E.message):String(E),error:E});if(!window.dispatchEvent(B))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)},de={map:k,forEach:function(E,B,Z){k(E,function(){B.apply(this,arguments)},Z)},count:function(E){var B=0;return k(E,function(){B++}),B},toArray:function(E){return k(E,function(B){return B})||[]},only:function(E){if(!be(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};return ie.Activity=g,ie.Children=de,ie.Component=O,ie.Fragment=s,ie.Profiler=f,ie.PureComponent=Q,ie.StrictMode=r,ie.Suspense=v,ie.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ee,ie.__COMPILER_RUNTIME={__proto__:null,c:function(E){return ee.H.useMemoCache(E)}},ie.cache=function(E){return function(){return E.apply(null,arguments)}},ie.cacheSignal=function(){return null},ie.cloneElement=function(E,B,Z){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var J=X({},E.props),ae=E.key;if(B!=null)for(F in B.key!==void 0&&(ae=""+B.key),B)!Ee.call(B,F)||F==="key"||F==="__self"||F==="__source"||F==="ref"&&B.ref===void 0||(J[F]=B[F]);var F=arguments.length-2;if(F===1)J.children=Z;else if(1<F){for(var se=Array(F),Ve=0;Ve<F;Ve++)se[Ve]=arguments[Ve+2];J.children=se}return Ne(E.type,ae,J)},ie.createContext=function(E){return E={$$typeof:h,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:d,_context:E},E},ie.createElement=function(E,B,Z){var J,ae={},F=null;if(B!=null)for(J in B.key!==void 0&&(F=""+B.key),B)Ee.call(B,J)&&J!=="key"&&J!=="__self"&&J!=="__source"&&(ae[J]=B[J]);var se=arguments.length-2;if(se===1)ae.children=Z;else if(1<se){for(var Ve=Array(se),je=0;je<se;je++)Ve[je]=arguments[je+2];ae.children=Ve}if(E&&E.defaultProps)for(J in se=E.defaultProps,se)ae[J]===void 0&&(ae[J]=se[J]);return Ne(E,F,ae)},ie.createRef=function(){return{current:null}},ie.forwardRef=function(E){return{$$typeof:y,render:E}},ie.isValidElement=be,ie.lazy=function(E){return{$$typeof:S,_payload:{_status:-1,_result:E},_init:ne}},ie.memo=function(E,B){return{$$typeof:p,type:E,compare:B===void 0?null:B}},ie.startTransition=function(E){var B=ee.T,Z={};ee.T=Z;try{var J=E(),ae=ee.S;ae!==null&&ae(Z,J),typeof J=="object"&&J!==null&&typeof J.then=="function"&&J.then(W,ge)}catch(F){ge(F)}finally{B!==null&&Z.types!==null&&(B.types=Z.types),ee.T=B}},ie.unstable_useCacheRefresh=function(){return ee.H.useCacheRefresh()},ie.use=function(E){return ee.H.use(E)},ie.useActionState=function(E,B,Z){return ee.H.useActionState(E,B,Z)},ie.useCallback=function(E,B){return ee.H.useCallback(E,B)},ie.useContext=function(E){return ee.H.useContext(E)},ie.useDebugValue=function(){},ie.useDeferredValue=function(E,B){return ee.H.useDeferredValue(E,B)},ie.useEffect=function(E,B){return ee.H.useEffect(E,B)},ie.useEffectEvent=function(E){return ee.H.useEffectEvent(E)},ie.useId=function(){return ee.H.useId()},ie.useImperativeHandle=function(E,B,Z){return ee.H.useImperativeHandle(E,B,Z)},ie.useInsertionEffect=function(E,B){return ee.H.useInsertionEffect(E,B)},ie.useLayoutEffect=function(E,B){return ee.H.useLayoutEffect(E,B)},ie.useMemo=function(E,B){return ee.H.useMemo(E,B)},ie.useOptimistic=function(E,B){return ee.H.useOptimistic(E,B)},ie.useReducer=function(E,B,Z){return ee.H.useReducer(E,B,Z)},ie.useRef=function(E){return ee.H.useRef(E)},ie.useState=function(E){return ee.H.useState(E)},ie.useSyncExternalStore=function(E,B,Z){return ee.H.useSyncExternalStore(E,B,Z)},ie.useTransition=function(){return ee.H.useTransition()},ie.version="19.2.7",ie}var tm;function js(){return tm||(tm=1,ys.exports=av()),ys.exports}var _=js();const uv=wm(_);var ps={exports:{}},ru={},vs={exports:{}},gs={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var lm;function iv(){return lm||(lm=1,(function(a){function c(U,k){var ne=U.length;U.push(k);e:for(;0<ne;){var ge=ne-1>>>1,de=U[ge];if(0<f(de,k))U[ge]=k,U[ne]=de,ne=ge;else break e}}function s(U){return U.length===0?null:U[0]}function r(U){if(U.length===0)return null;var k=U[0],ne=U.pop();if(ne!==k){U[0]=ne;e:for(var ge=0,de=U.length,E=de>>>1;ge<E;){var B=2*(ge+1)-1,Z=U[B],J=B+1,ae=U[J];if(0>f(Z,ne))J<de&&0>f(ae,Z)?(U[ge]=ae,U[J]=ne,ge=J):(U[ge]=Z,U[B]=ne,ge=B);else if(J<de&&0>f(ae,ne))U[ge]=ae,U[J]=ne,ge=J;else break e}}return k}function f(U,k){var ne=U.sortIndex-k.sortIndex;return ne!==0?ne:U.id-k.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;a.unstable_now=function(){return d.now()}}else{var h=Date,y=h.now();a.unstable_now=function(){return h.now()-y}}var v=[],p=[],S=1,g=null,D=3,L=!1,G=!1,X=!1,w=!1,O=typeof setTimeout=="function"?setTimeout:null,V=typeof clearTimeout=="function"?clearTimeout:null,Q=typeof setImmediate<"u"?setImmediate:null;function P(U){for(var k=s(p);k!==null;){if(k.callback===null)r(p);else if(k.startTime<=U)r(p),k.sortIndex=k.expirationTime,c(v,k);else break;k=s(p)}}function Y(U){if(X=!1,P(U),!G)if(s(v)!==null)G=!0,W||(W=!0,ze());else{var k=s(p);k!==null&&_e(Y,k.startTime-U)}}var W=!1,ee=-1,Ee=5,Ne=-1;function He(){return w?!0:!(a.unstable_now()-Ne<Ee)}function be(){if(w=!1,W){var U=a.unstable_now();Ne=U;var k=!0;try{e:{G=!1,X&&(X=!1,V(ee),ee=-1),L=!0;var ne=D;try{t:{for(P(U),g=s(v);g!==null&&!(g.expirationTime>U&&He());){var ge=g.callback;if(typeof ge=="function"){g.callback=null,D=g.priorityLevel;var de=ge(g.expirationTime<=U);if(U=a.unstable_now(),typeof de=="function"){g.callback=de,P(U),k=!0;break t}g===s(v)&&r(v),P(U)}else r(v);g=s(v)}if(g!==null)k=!0;else{var E=s(p);E!==null&&_e(Y,E.startTime-U),k=!1}}break e}finally{g=null,D=ne,L=!1}k=void 0}}finally{k?ze():W=!1}}}var ze;if(typeof Q=="function")ze=function(){Q(be)};else if(typeof MessageChannel<"u"){var ct=new MessageChannel,De=ct.port2;ct.port1.onmessage=be,ze=function(){De.postMessage(null)}}else ze=function(){O(be,0)};function _e(U,k){ee=O(function(){U(a.unstable_now())},k)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(U){U.callback=null},a.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ee=0<U?Math.floor(1e3/U):5},a.unstable_getCurrentPriorityLevel=function(){return D},a.unstable_next=function(U){switch(D){case 1:case 2:case 3:var k=3;break;default:k=D}var ne=D;D=k;try{return U()}finally{D=ne}},a.unstable_requestPaint=function(){w=!0},a.unstable_runWithPriority=function(U,k){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var ne=D;D=U;try{return k()}finally{D=ne}},a.unstable_scheduleCallback=function(U,k,ne){var ge=a.unstable_now();switch(typeof ne=="object"&&ne!==null?(ne=ne.delay,ne=typeof ne=="number"&&0<ne?ge+ne:ge):ne=ge,U){case 1:var de=-1;break;case 2:de=250;break;case 5:de=1073741823;break;case 4:de=1e4;break;default:de=5e3}return de=ne+de,U={id:S++,callback:k,priorityLevel:U,startTime:ne,expirationTime:de,sortIndex:-1},ne>ge?(U.sortIndex=ne,c(p,U),s(v)===null&&U===s(p)&&(X?(V(ee),ee=-1):X=!0,_e(Y,ne-ge))):(U.sortIndex=de,c(v,U),G||L||(G=!0,W||(W=!0,ze()))),U},a.unstable_shouldYield=He,a.unstable_wrapCallback=function(U){var k=D;return function(){var ne=D;D=k;try{return U.apply(this,arguments)}finally{D=ne}}}})(gs)),gs}var nm;function cv(){return nm||(nm=1,vs.exports=iv()),vs.exports}var Ss={exports:{}},at={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var am;function rv(){if(am)return at;am=1;var a=js();function c(v){var p="https://react.dev/errors/"+v;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var S=2;S<arguments.length;S++)p+="&args[]="+encodeURIComponent(arguments[S])}return"Minified React error #"+v+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var r={d:{f:s,r:function(){throw Error(c(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},f=Symbol.for("react.portal");function d(v,p,S){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:g==null?null:""+g,children:v,containerInfo:p,implementation:S}}var h=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function y(v,p){if(v==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return at.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,at.createPortal=function(v,p){var S=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(c(299));return d(v,p,null,S)},at.flushSync=function(v){var p=h.T,S=r.p;try{if(h.T=null,r.p=2,v)return v()}finally{h.T=p,r.p=S,r.d.f()}},at.preconnect=function(v,p){typeof v=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,r.d.C(v,p))},at.prefetchDNS=function(v){typeof v=="string"&&r.d.D(v)},at.preinit=function(v,p){if(typeof v=="string"&&p&&typeof p.as=="string"){var S=p.as,g=y(S,p.crossOrigin),D=typeof p.integrity=="string"?p.integrity:void 0,L=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;S==="style"?r.d.S(v,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:g,integrity:D,fetchPriority:L}):S==="script"&&r.d.X(v,{crossOrigin:g,integrity:D,fetchPriority:L,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},at.preinitModule=function(v,p){if(typeof v=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var S=y(p.as,p.crossOrigin);r.d.M(v,{crossOrigin:S,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&r.d.M(v)},at.preload=function(v,p){if(typeof v=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var S=p.as,g=y(S,p.crossOrigin);r.d.L(v,S,{crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},at.preloadModule=function(v,p){if(typeof v=="string")if(p){var S=y(p.as,p.crossOrigin);r.d.m(v,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:S,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else r.d.m(v)},at.requestFormReset=function(v){r.d.r(v)},at.unstable_batchedUpdates=function(v,p){return v(p)},at.useFormState=function(v,p,S){return h.H.useFormState(v,p,S)},at.useFormStatus=function(){return h.H.useHostTransitionStatus()},at.version="19.2.7",at}var um;function sv(){if(um)return Ss.exports;um=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(c){console.error(c)}}return a(),Ss.exports=rv(),Ss.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var im;function ov(){if(im)return ru;im=1;var a=cv(),c=js(),s=sv();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function d(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function h(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function y(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function v(e){if(d(e)!==e)throw Error(r(188))}function p(e){var t=e.alternate;if(!t){if(t=d(e),t===null)throw Error(r(188));return t!==e?null:e}for(var l=e,n=t;;){var u=l.return;if(u===null)break;var i=u.alternate;if(i===null){if(n=u.return,n!==null){l=n;continue}break}if(u.child===i.child){for(i=u.child;i;){if(i===l)return v(u),e;if(i===n)return v(u),t;i=i.sibling}throw Error(r(188))}if(l.return!==n.return)l=u,n=i;else{for(var o=!1,m=u.child;m;){if(m===l){o=!0,l=u,n=i;break}if(m===n){o=!0,n=u,l=i;break}m=m.sibling}if(!o){for(m=i.child;m;){if(m===l){o=!0,l=i,n=u;break}if(m===n){o=!0,n=i,l=u;break}m=m.sibling}if(!o)throw Error(r(189))}}if(l.alternate!==n)throw Error(r(190))}if(l.tag!==3)throw Error(r(188));return l.stateNode.current===l?e:t}function S(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=S(e),t!==null)return t;e=e.sibling}return null}var g=Object.assign,D=Symbol.for("react.element"),L=Symbol.for("react.transitional.element"),G=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),V=Symbol.for("react.consumer"),Q=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),W=Symbol.for("react.suspense_list"),ee=Symbol.for("react.memo"),Ee=Symbol.for("react.lazy"),Ne=Symbol.for("react.activity"),He=Symbol.for("react.memo_cache_sentinel"),be=Symbol.iterator;function ze(e){return e===null||typeof e!="object"?null:(e=be&&e[be]||e["@@iterator"],typeof e=="function"?e:null)}var ct=Symbol.for("react.client.reference");function De(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ct?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case X:return"Fragment";case O:return"Profiler";case w:return"StrictMode";case Y:return"Suspense";case W:return"SuspenseList";case Ne:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case G:return"Portal";case Q:return e.displayName||"Context";case V:return(e._context.displayName||"Context")+".Consumer";case P:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ee:return t=e.displayName||null,t!==null?t:De(e.type)||"Memo";case Ee:t=e._payload,e=e._init;try{return De(e(t))}catch{}}return null}var _e=Array.isArray,U=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne={pending:!1,data:null,method:null,action:null},ge=[],de=-1;function E(e){return{current:e}}function B(e){0>de||(e.current=ge[de],ge[de]=null,de--)}function Z(e,t){de++,ge[de]=e.current,e.current=t}var J=E(null),ae=E(null),F=E(null),se=E(null);function Ve(e,t){switch(Z(F,t),Z(ae,e),Z(J,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Eh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Eh(t),e=xh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}B(J),Z(J,e)}function je(){B(J),B(ae),B(F)}function Kl(e){e.memoizedState!==null&&Z(se,e);var t=J.current,l=xh(t,e.type);t!==l&&(Z(ae,e),Z(J,l))}function Jl(e){ae.current===e&&(B(J),B(ae)),se.current===e&&(B(se),nu._currentValue=ne)}var gt,ha;function Xt(e){if(gt===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);gt=t&&t[1]||"",ha=-1<l.stack.indexOf(`
    at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+gt+e+ha}var St=!1;function ue(e,t){if(!e||St)return"";St=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(M){var N=M}Reflect.construct(e,[],q)}else{try{q.call()}catch(M){N=M}e.call(q.prototype)}}else{try{throw Error()}catch(M){N=M}(q=e())&&typeof q.catch=="function"&&q.catch(function(){})}}catch(M){if(M&&N&&typeof M.stack=="string")return[M.stack,N.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=n.DetermineComponentFrameRoot(),o=i[0],m=i[1];if(o&&m){var b=o.split(`
`),z=m.split(`
`);for(u=n=0;n<b.length&&!b[n].includes("DetermineComponentFrameRoot");)n++;for(;u<z.length&&!z[u].includes("DetermineComponentFrameRoot");)u++;if(n===b.length||u===z.length)for(n=b.length-1,u=z.length-1;1<=n&&0<=u&&b[n]!==z[u];)u--;for(;1<=n&&0<=u;n--,u--)if(b[n]!==z[u]){if(n!==1||u!==1)do if(n--,u--,0>u||b[n]!==z[u]){var j=`
`+b[n].replace(" at new "," at ");return e.displayName&&j.includes("<anonymous>")&&(j=j.replace("<anonymous>",e.displayName)),j}while(1<=n&&0<=u);break}}}finally{St=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Xt(l):""}function rt(e,t){switch(e.tag){case 26:case 27:case 5:return Xt(e.type);case 16:return Xt("Lazy");case 13:return e.child!==t&&t!==null?Xt("Suspense Fallback"):Xt("Suspense");case 19:return Xt("SuspenseList");case 0:case 15:return ue(e.type,!1);case 11:return ue(e.type.render,!1);case 1:return ue(e.type,!0);case 31:return Xt("Activity");default:return""}}function Gt(e){try{var t="",l=null;do t+=rt(e,l),l=e,e=e.return;while(e);return t}catch(n){return`
Error generating stack: `+n.message+`
`+n.stack}}var Vt=Object.prototype.hasOwnProperty,Sn=a.unstable_scheduleCallback,ma=a.unstable_cancelCallback,Fl=a.unstable_shouldYield,wy=a.unstable_requestPaint,bt=a.unstable_now,By=a.unstable_getCurrentPriorityLevel,Ws=a.unstable_ImmediatePriority,Ps=a.unstable_UserBlockingPriority,Su=a.unstable_NormalPriority,Hy=a.unstable_LowPriority,Is=a.unstable_IdlePriority,Ly=a.log,qy=a.unstable_setDisableYieldValue,ya=null,Et=null;function xl(e){if(typeof Ly=="function"&&qy(e),Et&&typeof Et.setStrictMode=="function")try{Et.setStrictMode(ya,e)}catch{}}var xt=Math.clz32?Math.clz32:Gy,Yy=Math.log,Xy=Math.LN2;function Gy(e){return e>>>=0,e===0?32:31-(Yy(e)/Xy|0)|0}var bu=256,Eu=262144,xu=4194304;function $l(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ru(e,t,l){var n=e.pendingLanes;if(n===0)return 0;var u=0,i=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var m=n&134217727;return m!==0?(n=m&~i,n!==0?u=$l(n):(o&=m,o!==0?u=$l(o):l||(l=m&~e,l!==0&&(u=$l(l))))):(m=n&~i,m!==0?u=$l(m):o!==0?u=$l(o):l||(l=n&~e,l!==0&&(u=$l(l)))),u===0?0:t!==0&&t!==u&&(t&i)===0&&(i=u&-u,l=t&-t,i>=l||i===32&&(l&4194048)!==0)?t:u}function pa(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Vy(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function eo(){var e=xu;return xu<<=1,(xu&62914560)===0&&(xu=4194304),e}function lc(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function va(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Qy(e,t,l,n,u,i){var o=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var m=e.entanglements,b=e.expirationTimes,z=e.hiddenUpdates;for(l=o&~l;0<l;){var j=31-xt(l),q=1<<j;m[j]=0,b[j]=-1;var N=z[j];if(N!==null)for(z[j]=null,j=0;j<N.length;j++){var M=N[j];M!==null&&(M.lane&=-536870913)}l&=~q}n!==0&&to(e,n,0),i!==0&&u===0&&e.tag!==0&&(e.suspendedLanes|=i&~(o&~t))}function to(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-xt(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|l&261930}function lo(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var n=31-xt(l),u=1<<n;u&t|e[n]&t&&(e[n]|=t),l&=~u}}function no(e,t){var l=t&-t;return l=(l&42)!==0?1:nc(l),(l&(e.suspendedLanes|t))!==0?0:l}function nc(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ac(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function ao(){var e=k.p;return e!==0?e:(e=window.event,e===void 0?32:Zh(e.type))}function uo(e,t){var l=k.p;try{return k.p=e,t()}finally{k.p=l}}var Rl=Math.random().toString(36).slice(2),Pe="__reactFiber$"+Rl,ot="__reactProps$"+Rl,bn="__reactContainer$"+Rl,uc="__reactEvents$"+Rl,Zy="__reactListeners$"+Rl,ky="__reactHandles$"+Rl,io="__reactResources$"+Rl,ga="__reactMarker$"+Rl;function ic(e){delete e[Pe],delete e[ot],delete e[uc],delete e[Zy],delete e[ky]}function En(e){var t=e[Pe];if(t)return t;for(var l=e.parentNode;l;){if(t=l[bn]||l[Pe]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=zh(e);e!==null;){if(l=e[Pe])return l;e=zh(e)}return t}e=l,l=e.parentNode}return null}function xn(e){if(e=e[Pe]||e[bn]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Sa(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(r(33))}function Rn(e){var t=e[io];return t||(t=e[io]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function $e(e){e[ga]=!0}var co=new Set,ro={};function Wl(e,t){An(e,t),An(e+"Capture",t)}function An(e,t){for(ro[e]=t,e=0;e<t.length;e++)co.add(t[e])}var Ky=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]*$"),so={},oo={};function Jy(e){return Vt.call(oo,e)?!0:Vt.call(so,e)?!1:Ky.test(e)?oo[e]=!0:(so[e]=!0,!1)}function Au(e,t,l){if(Jy(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+l)}}function Tu(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+l)}}function nl(e,t,l,n){if(n===null)e.removeAttribute(l);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(t,l,""+n)}}function Dt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function fo(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Fy(e,t,l){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var u=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(o){l=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return l},setValue:function(o){l=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function cc(e){if(!e._valueTracker){var t=fo(e)?"checked":"value";e._valueTracker=Fy(e,t,""+e[t])}}function ho(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),n="";return e&&(n=fo(e)?e.checked?"true":"false":e.value),e=n,e!==l?(t.setValue(e),!0):!1}function Ou(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var $y=/[\n"\\]/g;function Mt(e){return e.replace($y,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function rc(e,t,l,n,u,i,o,m){e.name="",o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?e.type=o:e.removeAttribute("type"),t!=null?o==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Dt(t)):e.value!==""+Dt(t)&&(e.value=""+Dt(t)):o!=="submit"&&o!=="reset"||e.removeAttribute("value"),t!=null?sc(e,o,Dt(t)):l!=null?sc(e,o,Dt(l)):n!=null&&e.removeAttribute("value"),u==null&&i!=null&&(e.defaultChecked=!!i),u!=null&&(e.checked=u&&typeof u!="function"&&typeof u!="symbol"),m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.name=""+Dt(m):e.removeAttribute("name")}function mo(e,t,l,n,u,i,o,m){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||l!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){cc(e);return}l=l!=null?""+Dt(l):"",t=t!=null?""+Dt(t):l,m||t===e.value||(e.value=t),e.defaultValue=t}n=n??u,n=typeof n!="function"&&typeof n!="symbol"&&!!n,e.checked=m?e.checked:!!n,e.defaultChecked=!!n,o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(e.name=o),cc(e)}function sc(e,t,l){t==="number"&&Ou(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function Tn(e,t,l,n){if(e=e.options,t){t={};for(var u=0;u<l.length;u++)t["$"+l[u]]=!0;for(l=0;l<e.length;l++)u=t.hasOwnProperty("$"+e[l].value),e[l].selected!==u&&(e[l].selected=u),u&&n&&(e[l].defaultSelected=!0)}else{for(l=""+Dt(l),t=null,u=0;u<e.length;u++){if(e[u].value===l){e[u].selected=!0,n&&(e[u].defaultSelected=!0);return}t!==null||e[u].disabled||(t=e[u])}t!==null&&(t.selected=!0)}}function yo(e,t,l){if(t!=null&&(t=""+Dt(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Dt(l):""}function po(e,t,l,n){if(t==null){if(n!=null){if(l!=null)throw Error(r(92));if(_e(n)){if(1<n.length)throw Error(r(93));n=n[0]}l=n}l==null&&(l=""),t=l}l=Dt(t),e.defaultValue=l,n=e.textContent,n===l&&n!==""&&n!==null&&(e.value=n),cc(e)}function On(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var Wy=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(" "));function vo(e,t,l){var n=t.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?n?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":n?e.setProperty(t,l):typeof l!="number"||l===0||Wy.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function go(e,t,l){if(t!=null&&typeof t!="object")throw Error(r(62));if(e=e.style,l!=null){for(var n in l)!l.hasOwnProperty(n)||t!=null&&t.hasOwnProperty(n)||(n.indexOf("--")===0?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="");for(var u in t)n=t[u],t.hasOwnProperty(u)&&l[u]!==n&&vo(e,u,n)}else for(var i in t)t.hasOwnProperty(i)&&vo(e,i,t[i])}function oc(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Py=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"]]),Iy=/^[\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;function _u(e){return Iy.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function al(){}var fc=null;function dc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var _n=null,Cn=null;function So(e){var t=xn(e);if(t&&(e=t.stateNode)){var l=e[ot]||null;e:switch(e=t.stateNode,t.type){case"input":if(rc(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Mt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var n=l[t];if(n!==e&&n.form===e.form){var u=n[ot]||null;if(!u)throw Error(r(90));rc(n,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(t=0;t<l.length;t++)n=l[t],n.form===e.form&&ho(n)}break e;case"textarea":yo(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&Tn(e,!!l.multiple,t,!1)}}}var hc=!1;function bo(e,t,l){if(hc)return e(t,l);hc=!0;try{var n=e(t);return n}finally{if(hc=!1,(_n!==null||Cn!==null)&&(mi(),_n&&(t=_n,e=Cn,Cn=_n=null,So(t),e)))for(t=0;t<e.length;t++)So(e[t])}}function ba(e,t){var l=e.stateNode;if(l===null)return null;var n=l[ot]||null;if(n===null)return null;l=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(r(231,t,typeof l));return l}var ul=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),mc=!1;if(ul)try{var Ea={};Object.defineProperty(Ea,"passive",{get:function(){mc=!0}}),window.addEventListener("test",Ea,Ea),window.removeEventListener("test",Ea,Ea)}catch{mc=!1}var Al=null,yc=null,Cu=null;function Eo(){if(Cu)return Cu;var e,t=yc,l=t.length,n,u="value"in Al?Al.value:Al.textContent,i=u.length;for(e=0;e<l&&t[e]===u[e];e++);var o=l-e;for(n=1;n<=o&&t[l-n]===u[i-n];n++);return Cu=u.slice(e,1<n?1-n:void 0)}function zu(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Nu(){return!0}function xo(){return!1}function ft(e){function t(l,n,u,i,o){this._reactName=l,this._targetInst=u,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var m in e)e.hasOwnProperty(m)&&(l=e[m],this[m]=l?l(i):i[m]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Nu:xo,this.isPropagationStopped=xo,this}return g(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Nu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Nu)},persist:function(){},isPersistent:Nu}),t}var Pl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Du=ft(Pl),xa=g({},Pl,{view:0,detail:0}),ep=ft(xa),pc,vc,Ra,Mu=g({},xa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ra&&(Ra&&e.type==="mousemove"?(pc=e.screenX-Ra.screenX,vc=e.screenY-Ra.screenY):vc=pc=0,Ra=e),pc)},movementY:function(e){return"movementY"in e?e.movementY:vc}}),Ro=ft(Mu),tp=g({},Mu,{dataTransfer:0}),lp=ft(tp),np=g({},xa,{relatedTarget:0}),gc=ft(np),ap=g({},Pl,{animationName:0,elapsedTime:0,pseudoElement:0}),up=ft(ap),ip=g({},Pl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),cp=ft(ip),rp=g({},Pl,{data:0}),Ao=ft(rp),sp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},op={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"},fp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function dp(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=fp[e])?!!t[e]:!1}function Sc(){return dp}var hp=g({},xa,{key:function(e){if(e.key){var t=sp[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=zu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?op[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sc,charCode:function(e){return e.type==="keypress"?zu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?zu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),mp=ft(hp),yp=g({},Mu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),To=ft(yp),pp=g({},xa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sc}),vp=ft(pp),gp=g({},Pl,{propertyName:0,elapsedTime:0,pseudoElement:0}),Sp=ft(gp),bp=g({},Mu,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ep=ft(bp),xp=g({},Pl,{newState:0,oldState:0}),Rp=ft(xp),Ap=[9,13,27,32],bc=ul&&"CompositionEvent"in window,Aa=null;ul&&"documentMode"in document&&(Aa=document.documentMode);var Tp=ul&&"TextEvent"in window&&!Aa,Oo=ul&&(!bc||Aa&&8<Aa&&11>=Aa),_o=" ",Co=!1;function zo(e,t){switch(e){case"keyup":return Ap.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function No(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var zn=!1;function Op(e,t){switch(e){case"compositionend":return No(t);case"keypress":return t.which!==32?null:(Co=!0,_o);case"textInput":return e=t.data,e===_o&&Co?null:e;default:return null}}function _p(e,t){if(zn)return e==="compositionend"||!bc&&zo(e,t)?(e=Eo(),Cu=yc=Al=null,zn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Oo&&t.locale!=="ko"?null:t.data;default:return null}}var Cp={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};function Do(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Cp[e.type]:t==="textarea"}function Mo(e,t,l,n){_n?Cn?Cn.push(n):Cn=[n]:_n=n,t=Ei(t,"onChange"),0<t.length&&(l=new Du("onChange","change",null,l,n),e.push({event:l,listeners:t}))}var Ta=null,Oa=null;function zp(e){yh(e,0)}function Uu(e){var t=Sa(e);if(ho(t))return e}function Uo(e,t){if(e==="change")return t}var jo=!1;if(ul){var Ec;if(ul){var xc="oninput"in document;if(!xc){var wo=document.createElement("div");wo.setAttribute("oninput","return;"),xc=typeof wo.oninput=="function"}Ec=xc}else Ec=!1;jo=Ec&&(!document.documentMode||9<document.documentMode)}function Bo(){Ta&&(Ta.detachEvent("onpropertychange",Ho),Oa=Ta=null)}function Ho(e){if(e.propertyName==="value"&&Uu(Oa)){var t=[];Mo(t,Oa,e,dc(e)),bo(zp,t)}}function Np(e,t,l){e==="focusin"?(Bo(),Ta=t,Oa=l,Ta.attachEvent("onpropertychange",Ho)):e==="focusout"&&Bo()}function Dp(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Uu(Oa)}function Mp(e,t){if(e==="click")return Uu(t)}function Up(e,t){if(e==="input"||e==="change")return Uu(t)}function jp(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Rt=typeof Object.is=="function"?Object.is:jp;function _a(e,t){if(Rt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),n=Object.keys(t);if(l.length!==n.length)return!1;for(n=0;n<l.length;n++){var u=l[n];if(!Vt.call(t,u)||!Rt(e[u],t[u]))return!1}return!0}function Lo(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function qo(e,t){var l=Lo(e);e=0;for(var n;l;){if(l.nodeType===3){if(n=e+l.textContent.length,e<=t&&n>=t)return{node:l,offset:t-e};e=n}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Lo(l)}}function Yo(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Yo(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Xo(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ou(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=Ou(e.document)}return t}function Rc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var wp=ul&&"documentMode"in document&&11>=document.documentMode,Nn=null,Ac=null,Ca=null,Tc=!1;function Go(e,t,l){var n=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Tc||Nn==null||Nn!==Ou(n)||(n=Nn,"selectionStart"in n&&Rc(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Ca&&_a(Ca,n)||(Ca=n,n=Ei(Ac,"onSelect"),0<n.length&&(t=new Du("onSelect","select",null,t,l),e.push({event:t,listeners:n}),t.target=Nn)))}function Il(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var Dn={animationend:Il("Animation","AnimationEnd"),animationiteration:Il("Animation","AnimationIteration"),animationstart:Il("Animation","AnimationStart"),transitionrun:Il("Transition","TransitionRun"),transitionstart:Il("Transition","TransitionStart"),transitioncancel:Il("Transition","TransitionCancel"),transitionend:Il("Transition","TransitionEnd")},Oc={},Vo={};ul&&(Vo=document.createElement("div").style,"AnimationEvent"in window||(delete Dn.animationend.animation,delete Dn.animationiteration.animation,delete Dn.animationstart.animation),"TransitionEvent"in window||delete Dn.transitionend.transition);function en(e){if(Oc[e])return Oc[e];if(!Dn[e])return e;var t=Dn[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in Vo)return Oc[e]=t[l];return e}var Qo=en("animationend"),Zo=en("animationiteration"),ko=en("animationstart"),Bp=en("transitionrun"),Hp=en("transitionstart"),Lp=en("transitioncancel"),Ko=en("transitionend"),Jo=new Map,_c="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(" ");_c.push("scrollEnd");function Qt(e,t){Jo.set(e,t),Wl(t,[e])}var ju=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Ut=[],Mn=0,Cc=0;function wu(){for(var e=Mn,t=Cc=Mn=0;t<e;){var l=Ut[t];Ut[t++]=null;var n=Ut[t];Ut[t++]=null;var u=Ut[t];Ut[t++]=null;var i=Ut[t];if(Ut[t++]=null,n!==null&&u!==null){var o=n.pending;o===null?u.next=u:(u.next=o.next,o.next=u),n.pending=u}i!==0&&Fo(l,u,i)}}function Bu(e,t,l,n){Ut[Mn++]=e,Ut[Mn++]=t,Ut[Mn++]=l,Ut[Mn++]=n,Cc|=n,e.lanes|=n,e=e.alternate,e!==null&&(e.lanes|=n)}function zc(e,t,l,n){return Bu(e,t,l,n),Hu(e)}function tn(e,t){return Bu(e,null,null,t),Hu(e)}function Fo(e,t,l){e.lanes|=l;var n=e.alternate;n!==null&&(n.lanes|=l);for(var u=!1,i=e.return;i!==null;)i.childLanes|=l,n=i.alternate,n!==null&&(n.childLanes|=l),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(u=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,u&&t!==null&&(u=31-xt(l),e=i.hiddenUpdates,n=e[u],n===null?e[u]=[t]:n.push(t),t.lane=l|536870912),i):null}function Hu(e){if(50<$a)throw $a=0,Lr=null,Error(r(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Un={};function qp(e,t,l,n){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function At(e,t,l,n){return new qp(e,t,l,n)}function Nc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function il(e,t){var l=e.alternate;return l===null?(l=At(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function $o(e,t){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Lu(e,t,l,n,u,i){var o=0;if(n=e,typeof e=="function")Nc(e)&&(o=1);else if(typeof e=="string")o=Q0(e,l,J.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Ne:return e=At(31,l,t,u),e.elementType=Ne,e.lanes=i,e;case X:return ln(l.children,u,i,t);case w:o=8,u|=24;break;case O:return e=At(12,l,t,u|2),e.elementType=O,e.lanes=i,e;case Y:return e=At(13,l,t,u),e.elementType=Y,e.lanes=i,e;case W:return e=At(19,l,t,u),e.elementType=W,e.lanes=i,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Q:o=10;break e;case V:o=9;break e;case P:o=11;break e;case ee:o=14;break e;case Ee:o=16,n=null;break e}o=29,l=Error(r(130,e===null?"null":typeof e,"")),n=null}return t=At(o,l,t,u),t.elementType=e,t.type=n,t.lanes=i,t}function ln(e,t,l,n){return e=At(7,e,n,t),e.lanes=l,e}function Dc(e,t,l){return e=At(6,e,null,t),e.lanes=l,e}function Wo(e){var t=At(18,null,null,0);return t.stateNode=e,t}function Mc(e,t,l){return t=At(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Po=new WeakMap;function jt(e,t){if(typeof e=="object"&&e!==null){var l=Po.get(e);return l!==void 0?l:(t={value:e,source:t,stack:Gt(t)},Po.set(e,t),t)}return{value:e,source:t,stack:Gt(t)}}var jn=[],wn=0,qu=null,za=0,wt=[],Bt=0,Tl=null,Pt=1,It="";function cl(e,t){jn[wn++]=za,jn[wn++]=qu,qu=e,za=t}function Io(e,t,l){wt[Bt++]=Pt,wt[Bt++]=It,wt[Bt++]=Tl,Tl=e;var n=Pt;e=It;var u=32-xt(n)-1;n&=~(1<<u),l+=1;var i=32-xt(t)+u;if(30<i){var o=u-u%5;i=(n&(1<<o)-1).toString(32),n>>=o,u-=o,Pt=1<<32-xt(t)+u|l<<u|n,It=i+e}else Pt=1<<i|l<<u|n,It=e}function Uc(e){e.return!==null&&(cl(e,1),Io(e,1,0))}function jc(e){for(;e===qu;)qu=jn[--wn],jn[wn]=null,za=jn[--wn],jn[wn]=null;for(;e===Tl;)Tl=wt[--Bt],wt[Bt]=null,It=wt[--Bt],wt[Bt]=null,Pt=wt[--Bt],wt[Bt]=null}function ef(e,t){wt[Bt++]=Pt,wt[Bt++]=It,wt[Bt++]=Tl,Pt=t.id,It=t.overflow,Tl=e}var Ie=null,Me=null,ye=!1,Ol=null,Ht=!1,wc=Error(r(519));function _l(e){var t=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Na(jt(t,e)),wc}function tf(e){var t=e.stateNode,l=e.type,n=e.memoizedProps;switch(t[Pe]=e,t[ot]=n,l){case"dialog":fe("cancel",t),fe("close",t);break;case"iframe":case"object":case"embed":fe("load",t);break;case"video":case"audio":for(l=0;l<Pa.length;l++)fe(Pa[l],t);break;case"source":fe("error",t);break;case"img":case"image":case"link":fe("error",t),fe("load",t);break;case"details":fe("toggle",t);break;case"input":fe("invalid",t),mo(t,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":fe("invalid",t);break;case"textarea":fe("invalid",t),po(t,n.value,n.defaultValue,n.children)}l=n.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||n.suppressHydrationWarning===!0||Sh(t.textContent,l)?(n.popover!=null&&(fe("beforetoggle",t),fe("toggle",t)),n.onScroll!=null&&fe("scroll",t),n.onScrollEnd!=null&&fe("scrollend",t),n.onClick!=null&&(t.onclick=al),t=!0):t=!1,t||_l(e,!0)}function lf(e){for(Ie=e.return;Ie;)switch(Ie.tag){case 5:case 31:case 13:Ht=!1;return;case 27:case 3:Ht=!0;return;default:Ie=Ie.return}}function Bn(e){if(e!==Ie)return!1;if(!ye)return lf(e),ye=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Ir(e.type,e.memoizedProps)),l=!l),l&&Me&&_l(e),lf(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Me=Ch(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Me=Ch(e)}else t===27?(t=Me,Xl(e.type)?(e=as,as=null,Me=e):Me=t):Me=Ie?qt(e.stateNode.nextSibling):null;return!0}function nn(){Me=Ie=null,ye=!1}function Bc(){var e=Ol;return e!==null&&(yt===null?yt=e:yt.push.apply(yt,e),Ol=null),e}function Na(e){Ol===null?Ol=[e]:Ol.push(e)}var Hc=E(null),an=null,rl=null;function Cl(e,t,l){Z(Hc,t._currentValue),t._currentValue=l}function sl(e){e._currentValue=Hc.current,B(Hc)}function Lc(e,t,l){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===l)break;e=e.return}}function qc(e,t,l,n){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var i=u.dependencies;if(i!==null){var o=u.child;i=i.firstContext;e:for(;i!==null;){var m=i;i=u;for(var b=0;b<t.length;b++)if(m.context===t[b]){i.lanes|=l,m=i.alternate,m!==null&&(m.lanes|=l),Lc(i.return,l,e),n||(o=null);break e}i=m.next}}else if(u.tag===18){if(o=u.return,o===null)throw Error(r(341));o.lanes|=l,i=o.alternate,i!==null&&(i.lanes|=l),Lc(o,l,e),o=null}else o=u.child;if(o!==null)o.return=u;else for(o=u;o!==null;){if(o===e){o=null;break}if(u=o.sibling,u!==null){u.return=o.return,o=u;break}o=o.return}u=o}}function Hn(e,t,l,n){e=null;for(var u=t,i=!1;u!==null;){if(!i){if((u.flags&524288)!==0)i=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var o=u.alternate;if(o===null)throw Error(r(387));if(o=o.memoizedProps,o!==null){var m=u.type;Rt(u.pendingProps.value,o.value)||(e!==null?e.push(m):e=[m])}}else if(u===se.current){if(o=u.alternate,o===null)throw Error(r(387));o.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(e!==null?e.push(nu):e=[nu])}u=u.return}e!==null&&qc(t,e,l,n),t.flags|=262144}function Yu(e){for(e=e.firstContext;e!==null;){if(!Rt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function un(e){an=e,rl=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function et(e){return nf(an,e)}function Xu(e,t){return an===null&&un(e),nf(e,t)}function nf(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},rl===null){if(e===null)throw Error(r(308));rl=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else rl=rl.next=t;return l}var Yp=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},Xp=a.unstable_scheduleCallback,Gp=a.unstable_NormalPriority,Qe={$$typeof:Q,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Yc(){return{controller:new Yp,data:new Map,refCount:0}}function Da(e){e.refCount--,e.refCount===0&&Xp(Gp,function(){e.controller.abort()})}var Ma=null,Xc=0,Ln=0,qn=null;function Vp(e,t){if(Ma===null){var l=Ma=[];Xc=0,Ln=Qr(),qn={status:"pending",value:void 0,then:function(n){l.push(n)}}}return Xc++,t.then(af,af),t}function af(){if(--Xc===0&&Ma!==null){qn!==null&&(qn.status="fulfilled");var e=Ma;Ma=null,Ln=0,qn=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Qp(e,t){var l=[],n={status:"pending",value:null,reason:null,then:function(u){l.push(u)}};return e.then(function(){n.status="fulfilled",n.value=t;for(var u=0;u<l.length;u++)(0,l[u])(t)},function(u){for(n.status="rejected",n.reason=u,u=0;u<l.length;u++)(0,l[u])(void 0)}),n}var uf=U.S;U.S=function(e,t){Vd=bt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Vp(e,t),uf!==null&&uf(e,t)};var cn=E(null);function Gc(){var e=cn.current;return e!==null?e:Ce.pooledCache}function Gu(e,t){t===null?Z(cn,cn.current):Z(cn,t.pool)}function cf(){var e=Gc();return e===null?null:{parent:Qe._currentValue,pool:e}}var Yn=Error(r(460)),Vc=Error(r(474)),Vu=Error(r(542)),Qu={then:function(){}};function rf(e){return e=e.status,e==="fulfilled"||e==="rejected"}function sf(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(al,al),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ff(e),e;default:if(typeof t.status=="string")t.then(al,al);else{if(e=Ce,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=t,e.status="pending",e.then(function(n){if(t.status==="pending"){var u=t;u.status="fulfilled",u.value=n}},function(n){if(t.status==="pending"){var u=t;u.status="rejected",u.reason=n}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ff(e),e}throw sn=t,Yn}}function rn(e){try{var t=e._init;return t(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(sn=l,Yn):l}}var sn=null;function of(){if(sn===null)throw Error(r(459));var e=sn;return sn=null,e}function ff(e){if(e===Yn||e===Vu)throw Error(r(483))}var Xn=null,Ua=0;function Zu(e){var t=Ua;return Ua+=1,Xn===null&&(Xn=[]),sf(Xn,e,t)}function ja(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function ku(e,t){throw t.$$typeof===D?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function df(e){function t(T,R){if(e){var C=T.deletions;C===null?(T.deletions=[R],T.flags|=16):C.push(R)}}function l(T,R){if(!e)return null;for(;R!==null;)t(T,R),R=R.sibling;return null}function n(T){for(var R=new Map;T!==null;)T.key!==null?R.set(T.key,T):R.set(T.index,T),T=T.sibling;return R}function u(T,R){return T=il(T,R),T.index=0,T.sibling=null,T}function i(T,R,C){return T.index=C,e?(C=T.alternate,C!==null?(C=C.index,C<R?(T.flags|=67108866,R):C):(T.flags|=67108866,R)):(T.flags|=1048576,R)}function o(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function m(T,R,C,H){return R===null||R.tag!==6?(R=Dc(C,T.mode,H),R.return=T,R):(R=u(R,C),R.return=T,R)}function b(T,R,C,H){var te=C.type;return te===X?j(T,R,C.props.children,H,C.key):R!==null&&(R.elementType===te||typeof te=="object"&&te!==null&&te.$$typeof===Ee&&rn(te)===R.type)?(R=u(R,C.props),ja(R,C),R.return=T,R):(R=Lu(C.type,C.key,C.props,null,T.mode,H),ja(R,C),R.return=T,R)}function z(T,R,C,H){return R===null||R.tag!==4||R.stateNode.containerInfo!==C.containerInfo||R.stateNode.implementation!==C.implementation?(R=Mc(C,T.mode,H),R.return=T,R):(R=u(R,C.children||[]),R.return=T,R)}function j(T,R,C,H,te){return R===null||R.tag!==7?(R=ln(C,T.mode,H,te),R.return=T,R):(R=u(R,C),R.return=T,R)}function q(T,R,C){if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return R=Dc(""+R,T.mode,C),R.return=T,R;if(typeof R=="object"&&R!==null){switch(R.$$typeof){case L:return C=Lu(R.type,R.key,R.props,null,T.mode,C),ja(C,R),C.return=T,C;case G:return R=Mc(R,T.mode,C),R.return=T,R;case Ee:return R=rn(R),q(T,R,C)}if(_e(R)||ze(R))return R=ln(R,T.mode,C,null),R.return=T,R;if(typeof R.then=="function")return q(T,Zu(R),C);if(R.$$typeof===Q)return q(T,Xu(T,R),C);ku(T,R)}return null}function N(T,R,C,H){var te=R!==null?R.key:null;if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return te!==null?null:m(T,R,""+C,H);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case L:return C.key===te?b(T,R,C,H):null;case G:return C.key===te?z(T,R,C,H):null;case Ee:return C=rn(C),N(T,R,C,H)}if(_e(C)||ze(C))return te!==null?null:j(T,R,C,H,null);if(typeof C.then=="function")return N(T,R,Zu(C),H);if(C.$$typeof===Q)return N(T,R,Xu(T,C),H);ku(T,C)}return null}function M(T,R,C,H,te){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return T=T.get(C)||null,m(R,T,""+H,te);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case L:return T=T.get(H.key===null?C:H.key)||null,b(R,T,H,te);case G:return T=T.get(H.key===null?C:H.key)||null,z(R,T,H,te);case Ee:return H=rn(H),M(T,R,C,H,te)}if(_e(H)||ze(H))return T=T.get(C)||null,j(R,T,H,te,null);if(typeof H.then=="function")return M(T,R,C,Zu(H),te);if(H.$$typeof===Q)return M(T,R,C,Xu(R,H),te);ku(R,H)}return null}function $(T,R,C,H){for(var te=null,pe=null,I=R,re=R=0,me=null;I!==null&&re<C.length;re++){I.index>re?(me=I,I=null):me=I.sibling;var ve=N(T,I,C[re],H);if(ve===null){I===null&&(I=me);break}e&&I&&ve.alternate===null&&t(T,I),R=i(ve,R,re),pe===null?te=ve:pe.sibling=ve,pe=ve,I=me}if(re===C.length)return l(T,I),ye&&cl(T,re),te;if(I===null){for(;re<C.length;re++)I=q(T,C[re],H),I!==null&&(R=i(I,R,re),pe===null?te=I:pe.sibling=I,pe=I);return ye&&cl(T,re),te}for(I=n(I);re<C.length;re++)me=M(I,T,re,C[re],H),me!==null&&(e&&me.alternate!==null&&I.delete(me.key===null?re:me.key),R=i(me,R,re),pe===null?te=me:pe.sibling=me,pe=me);return e&&I.forEach(function(kl){return t(T,kl)}),ye&&cl(T,re),te}function le(T,R,C,H){if(C==null)throw Error(r(151));for(var te=null,pe=null,I=R,re=R=0,me=null,ve=C.next();I!==null&&!ve.done;re++,ve=C.next()){I.index>re?(me=I,I=null):me=I.sibling;var kl=N(T,I,ve.value,H);if(kl===null){I===null&&(I=me);break}e&&I&&kl.alternate===null&&t(T,I),R=i(kl,R,re),pe===null?te=kl:pe.sibling=kl,pe=kl,I=me}if(ve.done)return l(T,I),ye&&cl(T,re),te;if(I===null){for(;!ve.done;re++,ve=C.next())ve=q(T,ve.value,H),ve!==null&&(R=i(ve,R,re),pe===null?te=ve:pe.sibling=ve,pe=ve);return ye&&cl(T,re),te}for(I=n(I);!ve.done;re++,ve=C.next())ve=M(I,T,re,ve.value,H),ve!==null&&(e&&ve.alternate!==null&&I.delete(ve.key===null?re:ve.key),R=i(ve,R,re),pe===null?te=ve:pe.sibling=ve,pe=ve);return e&&I.forEach(function(tv){return t(T,tv)}),ye&&cl(T,re),te}function Oe(T,R,C,H){if(typeof C=="object"&&C!==null&&C.type===X&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case L:e:{for(var te=C.key;R!==null;){if(R.key===te){if(te=C.type,te===X){if(R.tag===7){l(T,R.sibling),H=u(R,C.props.children),H.return=T,T=H;break e}}else if(R.elementType===te||typeof te=="object"&&te!==null&&te.$$typeof===Ee&&rn(te)===R.type){l(T,R.sibling),H=u(R,C.props),ja(H,C),H.return=T,T=H;break e}l(T,R);break}else t(T,R);R=R.sibling}C.type===X?(H=ln(C.props.children,T.mode,H,C.key),H.return=T,T=H):(H=Lu(C.type,C.key,C.props,null,T.mode,H),ja(H,C),H.return=T,T=H)}return o(T);case G:e:{for(te=C.key;R!==null;){if(R.key===te)if(R.tag===4&&R.stateNode.containerInfo===C.containerInfo&&R.stateNode.implementation===C.implementation){l(T,R.sibling),H=u(R,C.children||[]),H.return=T,T=H;break e}else{l(T,R);break}else t(T,R);R=R.sibling}H=Mc(C,T.mode,H),H.return=T,T=H}return o(T);case Ee:return C=rn(C),Oe(T,R,C,H)}if(_e(C))return $(T,R,C,H);if(ze(C)){if(te=ze(C),typeof te!="function")throw Error(r(150));return C=te.call(C),le(T,R,C,H)}if(typeof C.then=="function")return Oe(T,R,Zu(C),H);if(C.$$typeof===Q)return Oe(T,R,Xu(T,C),H);ku(T,C)}return typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint"?(C=""+C,R!==null&&R.tag===6?(l(T,R.sibling),H=u(R,C),H.return=T,T=H):(l(T,R),H=Dc(C,T.mode,H),H.return=T,T=H),o(T)):l(T,R)}return function(T,R,C,H){try{Ua=0;var te=Oe(T,R,C,H);return Xn=null,te}catch(I){if(I===Yn||I===Vu)throw I;var pe=At(29,I,null,T.mode);return pe.lanes=H,pe.return=T,pe}finally{}}}var on=df(!0),hf=df(!1),zl=!1;function Qc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Zc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Nl(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Dl(e,t,l){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(Se&2)!==0){var u=n.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),n.pending=t,t=Hu(e),Fo(e,null,l),t}return Bu(e,n,t,l),Hu(e)}function wa(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var n=t.lanes;n&=e.pendingLanes,l|=n,t.lanes=l,lo(e,l)}}function kc(e,t){var l=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,l===n)){var u=null,i=null;if(l=l.firstBaseUpdate,l!==null){do{var o={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};i===null?u=i=o:i=i.next=o,l=l.next}while(l!==null);i===null?u=i=t:i=i.next=t}else u=i=t;l={baseState:n.baseState,firstBaseUpdate:u,lastBaseUpdate:i,shared:n.shared,callbacks:n.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var Kc=!1;function Ba(){if(Kc){var e=qn;if(e!==null)throw e}}function Ha(e,t,l,n){Kc=!1;var u=e.updateQueue;zl=!1;var i=u.firstBaseUpdate,o=u.lastBaseUpdate,m=u.shared.pending;if(m!==null){u.shared.pending=null;var b=m,z=b.next;b.next=null,o===null?i=z:o.next=z,o=b;var j=e.alternate;j!==null&&(j=j.updateQueue,m=j.lastBaseUpdate,m!==o&&(m===null?j.firstBaseUpdate=z:m.next=z,j.lastBaseUpdate=b))}if(i!==null){var q=u.baseState;o=0,j=z=b=null,m=i;do{var N=m.lane&-536870913,M=N!==m.lane;if(M?(he&N)===N:(n&N)===N){N!==0&&N===Ln&&(Kc=!0),j!==null&&(j=j.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});e:{var $=e,le=m;N=t;var Oe=l;switch(le.tag){case 1:if($=le.payload,typeof $=="function"){q=$.call(Oe,q,N);break e}q=$;break e;case 3:$.flags=$.flags&-65537|128;case 0:if($=le.payload,N=typeof $=="function"?$.call(Oe,q,N):$,N==null)break e;q=g({},q,N);break e;case 2:zl=!0}}N=m.callback,N!==null&&(e.flags|=64,M&&(e.flags|=8192),M=u.callbacks,M===null?u.callbacks=[N]:M.push(N))}else M={lane:N,tag:m.tag,payload:m.payload,callback:m.callback,next:null},j===null?(z=j=M,b=q):j=j.next=M,o|=N;if(m=m.next,m===null){if(m=u.shared.pending,m===null)break;M=m,m=M.next,M.next=null,u.lastBaseUpdate=M,u.shared.pending=null}}while(!0);j===null&&(b=q),u.baseState=b,u.firstBaseUpdate=z,u.lastBaseUpdate=j,i===null&&(u.shared.lanes=0),Bl|=o,e.lanes=o,e.memoizedState=q}}function mf(e,t){if(typeof e!="function")throw Error(r(191,e));e.call(t)}function yf(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)mf(l[e],t)}var Gn=E(null),Ku=E(0);function pf(e,t){e=gl,Z(Ku,e),Z(Gn,t),gl=e|t.baseLanes}function Jc(){Z(Ku,gl),Z(Gn,Gn.current)}function Fc(){gl=Ku.current,B(Gn),B(Ku)}var Tt=E(null),Lt=null;function Ml(e){var t=e.alternate;Z(Ye,Ye.current&1),Z(Tt,e),Lt===null&&(t===null||Gn.current!==null||t.memoizedState!==null)&&(Lt=e)}function $c(e){Z(Ye,Ye.current),Z(Tt,e),Lt===null&&(Lt=e)}function vf(e){e.tag===22?(Z(Ye,Ye.current),Z(Tt,e),Lt===null&&(Lt=e)):Ul()}function Ul(){Z(Ye,Ye.current),Z(Tt,Tt.current)}function Ot(e){B(Tt),Lt===e&&(Lt=null),B(Ye)}var Ye=E(0);function Ju(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||ls(l)||ns(l)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ol=0,ce=null,Ae=null,Ze=null,Fu=!1,Vn=!1,fn=!1,$u=0,La=0,Qn=null,Zp=0;function Le(){throw Error(r(321))}function Wc(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!Rt(e[l],t[l]))return!1;return!0}function Pc(e,t,l,n,u,i){return ol=i,ce=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,U.H=e===null||e.memoizedState===null?ed:hr,fn=!1,i=l(n,u),fn=!1,Vn&&(i=Sf(t,l,n,u)),gf(e),i}function gf(e){U.H=Xa;var t=Ae!==null&&Ae.next!==null;if(ol=0,Ze=Ae=ce=null,Fu=!1,La=0,Qn=null,t)throw Error(r(300));e===null||ke||(e=e.dependencies,e!==null&&Yu(e)&&(ke=!0))}function Sf(e,t,l,n){ce=e;var u=0;do{if(Vn&&(Qn=null),La=0,Vn=!1,25<=u)throw Error(r(301));if(u+=1,Ze=Ae=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}U.H=td,i=t(l,n)}while(Vn);return i}function kp(){var e=U.H,t=e.useState()[0];return t=typeof t.then=="function"?qa(t):t,e=e.useState()[0],(Ae!==null?Ae.memoizedState:null)!==e&&(ce.flags|=1024),t}function Ic(){var e=$u!==0;return $u=0,e}function er(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function tr(e){if(Fu){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Fu=!1}ol=0,Ze=Ae=ce=null,Vn=!1,La=$u=0,Qn=null}function st(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ze===null?ce.memoizedState=Ze=e:Ze=Ze.next=e,Ze}function Xe(){if(Ae===null){var e=ce.alternate;e=e!==null?e.memoizedState:null}else e=Ae.next;var t=Ze===null?ce.memoizedState:Ze.next;if(t!==null)Ze=t,Ae=e;else{if(e===null)throw ce.alternate===null?Error(r(467)):Error(r(310));Ae=e,e={memoizedState:Ae.memoizedState,baseState:Ae.baseState,baseQueue:Ae.baseQueue,queue:Ae.queue,next:null},Ze===null?ce.memoizedState=Ze=e:Ze=Ze.next=e}return Ze}function Wu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function qa(e){var t=La;return La+=1,Qn===null&&(Qn=[]),e=sf(Qn,e,t),t=ce,(Ze===null?t.memoizedState:Ze.next)===null&&(t=t.alternate,U.H=t===null||t.memoizedState===null?ed:hr),e}function Pu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return qa(e);if(e.$$typeof===Q)return et(e)}throw Error(r(438,String(e)))}function lr(e){var t=null,l=ce.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var n=ce.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(t={data:n.data.map(function(u){return u.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=Wu(),ce.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),n=0;n<e;n++)l[n]=He;return t.index++,l}function fl(e,t){return typeof t=="function"?t(e):t}function Iu(e){var t=Xe();return nr(t,Ae,e)}function nr(e,t,l){var n=e.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=l;var u=e.baseQueue,i=n.pending;if(i!==null){if(u!==null){var o=u.next;u.next=i.next,i.next=o}t.baseQueue=u=i,n.pending=null}if(i=e.baseState,u===null)e.memoizedState=i;else{t=u.next;var m=o=null,b=null,z=t,j=!1;do{var q=z.lane&-536870913;if(q!==z.lane?(he&q)===q:(ol&q)===q){var N=z.revertLane;if(N===0)b!==null&&(b=b.next={lane:0,revertLane:0,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),q===Ln&&(j=!0);else if((ol&N)===N){z=z.next,N===Ln&&(j=!0);continue}else q={lane:0,revertLane:z.revertLane,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},b===null?(m=b=q,o=i):b=b.next=q,ce.lanes|=N,Bl|=N;q=z.action,fn&&l(i,q),i=z.hasEagerState?z.eagerState:l(i,q)}else N={lane:q,revertLane:z.revertLane,gesture:z.gesture,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},b===null?(m=b=N,o=i):b=b.next=N,ce.lanes|=q,Bl|=q;z=z.next}while(z!==null&&z!==t);if(b===null?o=i:b.next=m,!Rt(i,e.memoizedState)&&(ke=!0,j&&(l=qn,l!==null)))throw l;e.memoizedState=i,e.baseState=o,e.baseQueue=b,n.lastRenderedState=i}return u===null&&(n.lanes=0),[e.memoizedState,n.dispatch]}function ar(e){var t=Xe(),l=t.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=e;var n=l.dispatch,u=l.pending,i=t.memoizedState;if(u!==null){l.pending=null;var o=u=u.next;do i=e(i,o.action),o=o.next;while(o!==u);Rt(i,t.memoizedState)||(ke=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),l.lastRenderedState=i}return[i,n]}function bf(e,t,l){var n=ce,u=Xe(),i=ye;if(i){if(l===void 0)throw Error(r(407));l=l()}else l=t();var o=!Rt((Ae||u).memoizedState,l);if(o&&(u.memoizedState=l,ke=!0),u=u.queue,cr(Rf.bind(null,n,u,e),[e]),u.getSnapshot!==t||o||Ze!==null&&Ze.memoizedState.tag&1){if(n.flags|=2048,Zn(9,{destroy:void 0},xf.bind(null,n,u,l,t),null),Ce===null)throw Error(r(349));i||(ol&127)!==0||Ef(n,t,l)}return l}function Ef(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=ce.updateQueue,t===null?(t=Wu(),ce.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function xf(e,t,l,n){t.value=l,t.getSnapshot=n,Af(t)&&Tf(e)}function Rf(e,t,l){return l(function(){Af(t)&&Tf(e)})}function Af(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!Rt(e,l)}catch{return!0}}function Tf(e){var t=tn(e,2);t!==null&&pt(t,e,2)}function ur(e){var t=st();if(typeof e=="function"){var l=e;if(e=l(),fn){xl(!0);try{l()}finally{xl(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:fl,lastRenderedState:e},t}function Of(e,t,l,n){return e.baseState=l,nr(e,Ae,typeof n=="function"?n:fl)}function Kp(e,t,l,n,u){if(li(e))throw Error(r(485));if(e=t.action,e!==null){var i={payload:u,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(o){i.listeners.push(o)}};U.T!==null?l(!0):i.isTransition=!1,n(i),l=t.pending,l===null?(i.next=t.pending=i,_f(t,i)):(i.next=l.next,t.pending=l.next=i)}}function _f(e,t){var l=t.action,n=t.payload,u=e.state;if(t.isTransition){var i=U.T,o={};U.T=o;try{var m=l(u,n),b=U.S;b!==null&&b(o,m),Cf(e,t,m)}catch(z){ir(e,t,z)}finally{i!==null&&o.types!==null&&(i.types=o.types),U.T=i}}else try{i=l(u,n),Cf(e,t,i)}catch(z){ir(e,t,z)}}function Cf(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(n){zf(e,t,n)},function(n){return ir(e,t,n)}):zf(e,t,l)}function zf(e,t,l){t.status="fulfilled",t.value=l,Nf(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,_f(e,l)))}function ir(e,t,l){var n=e.pending;if(e.pending=null,n!==null){n=n.next;do t.status="rejected",t.reason=l,Nf(t),t=t.next;while(t!==n)}e.action=null}function Nf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Df(e,t){return t}function Mf(e,t){if(ye){var l=Ce.formState;if(l!==null){e:{var n=ce;if(ye){if(Me){t:{for(var u=Me,i=Ht;u.nodeType!==8;){if(!i){u=null;break t}if(u=qt(u.nextSibling),u===null){u=null;break t}}i=u.data,u=i==="F!"||i==="F"?u:null}if(u){Me=qt(u.nextSibling),n=u.data==="F!";break e}}_l(n)}n=!1}n&&(t=l[0])}}return l=st(),l.memoizedState=l.baseState=t,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Df,lastRenderedState:t},l.queue=n,l=Wf.bind(null,ce,n),n.dispatch=l,n=ur(!1),i=dr.bind(null,ce,!1,n.queue),n=st(),u={state:t,dispatch:null,action:e,pending:null},n.queue=u,l=Kp.bind(null,ce,u,i,l),u.dispatch=l,n.memoizedState=e,[t,l,!1]}function Uf(e){var t=Xe();return jf(t,Ae,e)}function jf(e,t,l){if(t=nr(e,t,Df)[0],e=Iu(fl)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var n=qa(t)}catch(o){throw o===Yn?Vu:o}else n=t;t=Xe();var u=t.queue,i=u.dispatch;return l!==t.memoizedState&&(ce.flags|=2048,Zn(9,{destroy:void 0},Jp.bind(null,u,l),null)),[n,i,e]}function Jp(e,t){e.action=t}function wf(e){var t=Xe(),l=Ae;if(l!==null)return jf(t,l,e);Xe(),t=t.memoizedState,l=Xe();var n=l.queue.dispatch;return l.memoizedState=e,[t,n,!1]}function Zn(e,t,l,n){return e={tag:e,create:l,deps:n,inst:t,next:null},t=ce.updateQueue,t===null&&(t=Wu(),ce.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(n=l.next,l.next=e,e.next=n,t.lastEffect=e),e}function Bf(){return Xe().memoizedState}function ei(e,t,l,n){var u=st();ce.flags|=e,u.memoizedState=Zn(1|t,{destroy:void 0},l,n===void 0?null:n)}function ti(e,t,l,n){var u=Xe();n=n===void 0?null:n;var i=u.memoizedState.inst;Ae!==null&&n!==null&&Wc(n,Ae.memoizedState.deps)?u.memoizedState=Zn(t,i,l,n):(ce.flags|=e,u.memoizedState=Zn(1|t,i,l,n))}function Hf(e,t){ei(8390656,8,e,t)}function cr(e,t){ti(2048,8,e,t)}function Fp(e){ce.flags|=4;var t=ce.updateQueue;if(t===null)t=Wu(),ce.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function Lf(e){var t=Xe().memoizedState;return Fp({ref:t,nextImpl:e}),function(){if((Se&2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function qf(e,t){return ti(4,2,e,t)}function Yf(e,t){return ti(4,4,e,t)}function Xf(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Gf(e,t,l){l=l!=null?l.concat([e]):null,ti(4,4,Xf.bind(null,t,e),l)}function rr(){}function Vf(e,t){var l=Xe();t=t===void 0?null:t;var n=l.memoizedState;return t!==null&&Wc(t,n[1])?n[0]:(l.memoizedState=[e,t],e)}function Qf(e,t){var l=Xe();t=t===void 0?null:t;var n=l.memoizedState;if(t!==null&&Wc(t,n[1]))return n[0];if(n=e(),fn){xl(!0);try{e()}finally{xl(!1)}}return l.memoizedState=[n,t],n}function sr(e,t,l){return l===void 0||(ol&1073741824)!==0&&(he&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=Zd(),ce.lanes|=e,Bl|=e,l)}function Zf(e,t,l,n){return Rt(l,t)?l:Gn.current!==null?(e=sr(e,l,n),Rt(e,t)||(ke=!0),e):(ol&42)===0||(ol&1073741824)!==0&&(he&261930)===0?(ke=!0,e.memoizedState=l):(e=Zd(),ce.lanes|=e,Bl|=e,t)}function kf(e,t,l,n,u){var i=k.p;k.p=i!==0&&8>i?i:8;var o=U.T,m={};U.T=m,dr(e,!1,t,l);try{var b=u(),z=U.S;if(z!==null&&z(m,b),b!==null&&typeof b=="object"&&typeof b.then=="function"){var j=Qp(b,n);Ya(e,t,j,zt(e))}else Ya(e,t,n,zt(e))}catch(q){Ya(e,t,{then:function(){},status:"rejected",reason:q},zt())}finally{k.p=i,o!==null&&m.types!==null&&(o.types=m.types),U.T=o}}function $p(){}function or(e,t,l,n){if(e.tag!==5)throw Error(r(476));var u=Kf(e).queue;kf(e,u,t,ne,l===null?$p:function(){return Jf(e),l(n)})}function Kf(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ne,baseState:ne,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fl,lastRenderedState:ne},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fl,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Jf(e){var t=Kf(e);t.next===null&&(t=e.alternate.memoizedState),Ya(e,t.next.queue,{},zt())}function fr(){return et(nu)}function Ff(){return Xe().memoizedState}function $f(){return Xe().memoizedState}function Wp(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=zt();e=Nl(l);var n=Dl(t,e,l);n!==null&&(pt(n,t,l),wa(n,t,l)),t={cache:Yc()},e.payload=t;return}t=t.return}}function Pp(e,t,l){var n=zt();l={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},li(e)?Pf(t,l):(l=zc(e,t,l,n),l!==null&&(pt(l,e,n),If(l,t,n)))}function Wf(e,t,l){var n=zt();Ya(e,t,l,n)}function Ya(e,t,l,n){var u={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(li(e))Pf(t,u);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,m=i(o,l);if(u.hasEagerState=!0,u.eagerState=m,Rt(m,o))return Bu(e,t,u,0),Ce===null&&wu(),!1}catch{}finally{}if(l=zc(e,t,u,n),l!==null)return pt(l,e,n),If(l,t,n),!0}return!1}function dr(e,t,l,n){if(n={lane:2,revertLane:Qr(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},li(e)){if(t)throw Error(r(479))}else t=zc(e,l,n,2),t!==null&&pt(t,e,2)}function li(e){var t=e.alternate;return e===ce||t!==null&&t===ce}function Pf(e,t){Vn=Fu=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function If(e,t,l){if((l&4194048)!==0){var n=t.lanes;n&=e.pendingLanes,l|=n,t.lanes=l,lo(e,l)}}var Xa={readContext:et,use:Pu,useCallback:Le,useContext:Le,useEffect:Le,useImperativeHandle:Le,useLayoutEffect:Le,useInsertionEffect:Le,useMemo:Le,useReducer:Le,useRef:Le,useState:Le,useDebugValue:Le,useDeferredValue:Le,useTransition:Le,useSyncExternalStore:Le,useId:Le,useHostTransitionStatus:Le,useFormState:Le,useActionState:Le,useOptimistic:Le,useMemoCache:Le,useCacheRefresh:Le};Xa.useEffectEvent=Le;var ed={readContext:et,use:Pu,useCallback:function(e,t){return st().memoizedState=[e,t===void 0?null:t],e},useContext:et,useEffect:Hf,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,ei(4194308,4,Xf.bind(null,t,e),l)},useLayoutEffect:function(e,t){return ei(4194308,4,e,t)},useInsertionEffect:function(e,t){ei(4,2,e,t)},useMemo:function(e,t){var l=st();t=t===void 0?null:t;var n=e();if(fn){xl(!0);try{e()}finally{xl(!1)}}return l.memoizedState=[n,t],n},useReducer:function(e,t,l){var n=st();if(l!==void 0){var u=l(t);if(fn){xl(!0);try{l(t)}finally{xl(!1)}}}else u=t;return n.memoizedState=n.baseState=u,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:u},n.queue=e,e=e.dispatch=Pp.bind(null,ce,e),[n.memoizedState,e]},useRef:function(e){var t=st();return e={current:e},t.memoizedState=e},useState:function(e){e=ur(e);var t=e.queue,l=Wf.bind(null,ce,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:rr,useDeferredValue:function(e,t){var l=st();return sr(l,e,t)},useTransition:function(){var e=ur(!1);return e=kf.bind(null,ce,e.queue,!0,!1),st().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var n=ce,u=st();if(ye){if(l===void 0)throw Error(r(407));l=l()}else{if(l=t(),Ce===null)throw Error(r(349));(he&127)!==0||Ef(n,t,l)}u.memoizedState=l;var i={value:l,getSnapshot:t};return u.queue=i,Hf(Rf.bind(null,n,i,e),[e]),n.flags|=2048,Zn(9,{destroy:void 0},xf.bind(null,n,i,l,t),null),l},useId:function(){var e=st(),t=Ce.identifierPrefix;if(ye){var l=It,n=Pt;l=(n&~(1<<32-xt(n)-1)).toString(32)+l,t="_"+t+"R_"+l,l=$u++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=Zp++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:fr,useFormState:Mf,useActionState:Mf,useOptimistic:function(e){var t=st();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=dr.bind(null,ce,!0,l),l.dispatch=t,[e,t]},useMemoCache:lr,useCacheRefresh:function(){return st().memoizedState=Wp.bind(null,ce)},useEffectEvent:function(e){var t=st(),l={impl:e};return t.memoizedState=l,function(){if((Se&2)!==0)throw Error(r(440));return l.impl.apply(void 0,arguments)}}},hr={readContext:et,use:Pu,useCallback:Vf,useContext:et,useEffect:cr,useImperativeHandle:Gf,useInsertionEffect:qf,useLayoutEffect:Yf,useMemo:Qf,useReducer:Iu,useRef:Bf,useState:function(){return Iu(fl)},useDebugValue:rr,useDeferredValue:function(e,t){var l=Xe();return Zf(l,Ae.memoizedState,e,t)},useTransition:function(){var e=Iu(fl)[0],t=Xe().memoizedState;return[typeof e=="boolean"?e:qa(e),t]},useSyncExternalStore:bf,useId:Ff,useHostTransitionStatus:fr,useFormState:Uf,useActionState:Uf,useOptimistic:function(e,t){var l=Xe();return Of(l,Ae,e,t)},useMemoCache:lr,useCacheRefresh:$f};hr.useEffectEvent=Lf;var td={readContext:et,use:Pu,useCallback:Vf,useContext:et,useEffect:cr,useImperativeHandle:Gf,useInsertionEffect:qf,useLayoutEffect:Yf,useMemo:Qf,useReducer:ar,useRef:Bf,useState:function(){return ar(fl)},useDebugValue:rr,useDeferredValue:function(e,t){var l=Xe();return Ae===null?sr(l,e,t):Zf(l,Ae.memoizedState,e,t)},useTransition:function(){var e=ar(fl)[0],t=Xe().memoizedState;return[typeof e=="boolean"?e:qa(e),t]},useSyncExternalStore:bf,useId:Ff,useHostTransitionStatus:fr,useFormState:wf,useActionState:wf,useOptimistic:function(e,t){var l=Xe();return Ae!==null?Of(l,Ae,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:lr,useCacheRefresh:$f};td.useEffectEvent=Lf;function mr(e,t,l,n){t=e.memoizedState,l=l(n,t),l=l==null?t:g({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var yr={enqueueSetState:function(e,t,l){e=e._reactInternals;var n=zt(),u=Nl(n);u.payload=t,l!=null&&(u.callback=l),t=Dl(e,u,n),t!==null&&(pt(t,e,n),wa(t,e,n))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var n=zt(),u=Nl(n);u.tag=1,u.payload=t,l!=null&&(u.callback=l),t=Dl(e,u,n),t!==null&&(pt(t,e,n),wa(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=zt(),n=Nl(l);n.tag=2,t!=null&&(n.callback=t),t=Dl(e,n,l),t!==null&&(pt(t,e,l),wa(t,e,l))}};function ld(e,t,l,n,u,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,i,o):t.prototype&&t.prototype.isPureReactComponent?!_a(l,n)||!_a(u,i):!0}function nd(e,t,l,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,n),t.state!==e&&yr.enqueueReplaceState(t,t.state,null)}function dn(e,t){var l=t;if("ref"in t){l={};for(var n in t)n!=="ref"&&(l[n]=t[n])}if(e=e.defaultProps){l===t&&(l=g({},l));for(var u in e)l[u]===void 0&&(l[u]=e[u])}return l}function ad(e){ju(e)}function ud(e){console.error(e)}function id(e){ju(e)}function ni(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function cd(e,t,l){try{var n=e.onCaughtError;n(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function pr(e,t,l){return l=Nl(l),l.tag=3,l.payload={element:null},l.callback=function(){ni(e,t)},l}function rd(e){return e=Nl(e),e.tag=3,e}function sd(e,t,l,n){var u=l.type.getDerivedStateFromError;if(typeof u=="function"){var i=n.value;e.payload=function(){return u(i)},e.callback=function(){cd(t,l,n)}}var o=l.stateNode;o!==null&&typeof o.componentDidCatch=="function"&&(e.callback=function(){cd(t,l,n),typeof u!="function"&&(Hl===null?Hl=new Set([this]):Hl.add(this));var m=n.stack;this.componentDidCatch(n.value,{componentStack:m!==null?m:""})})}function Ip(e,t,l,n,u){if(l.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(t=l.alternate,t!==null&&Hn(t,l,u,!0),l=Tt.current,l!==null){switch(l.tag){case 31:case 13:return Lt===null?yi():l.alternate===null&&qe===0&&(qe=3),l.flags&=-257,l.flags|=65536,l.lanes=u,n===Qu?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([n]):t.add(n),Xr(e,n,u)),!1;case 22:return l.flags|=65536,n===Qu?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([n])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([n]):l.add(n)),Xr(e,n,u)),!1}throw Error(r(435,l.tag))}return Xr(e,n,u),yi(),!1}if(ye)return t=Tt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=u,n!==wc&&(e=Error(r(422),{cause:n}),Na(jt(e,l)))):(n!==wc&&(t=Error(r(423),{cause:n}),Na(jt(t,l))),e=e.current.alternate,e.flags|=65536,u&=-u,e.lanes|=u,n=jt(n,l),u=pr(e.stateNode,n,u),kc(e,u),qe!==4&&(qe=2)),!1;var i=Error(r(520),{cause:n});if(i=jt(i,l),Fa===null?Fa=[i]:Fa.push(i),qe!==4&&(qe=2),t===null)return!0;n=jt(n,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=u&-u,l.lanes|=e,e=pr(l.stateNode,n,e),kc(l,e),!1;case 1:if(t=l.type,i=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(Hl===null||!Hl.has(i))))return l.flags|=65536,u&=-u,l.lanes|=u,u=rd(u),sd(u,e,l,n),kc(l,u),!1}l=l.return}while(l!==null);return!1}var vr=Error(r(461)),ke=!1;function tt(e,t,l,n){t.child=e===null?hf(t,null,l,n):on(t,e.child,l,n)}function od(e,t,l,n,u){l=l.render;var i=t.ref;if("ref"in n){var o={};for(var m in n)m!=="ref"&&(o[m]=n[m])}else o=n;return un(t),n=Pc(e,t,l,o,i,u),m=Ic(),e!==null&&!ke?(er(e,t,u),dl(e,t,u)):(ye&&m&&Uc(t),t.flags|=1,tt(e,t,n,u),t.child)}function fd(e,t,l,n,u){if(e===null){var i=l.type;return typeof i=="function"&&!Nc(i)&&i.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=i,dd(e,t,i,n,u)):(e=Lu(l.type,null,n,t,t.mode,u),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!Tr(e,u)){var o=i.memoizedProps;if(l=l.compare,l=l!==null?l:_a,l(o,n)&&e.ref===t.ref)return dl(e,t,u)}return t.flags|=1,e=il(i,n),e.ref=t.ref,e.return=t,t.child=e}function dd(e,t,l,n,u){if(e!==null){var i=e.memoizedProps;if(_a(i,n)&&e.ref===t.ref)if(ke=!1,t.pendingProps=n=i,Tr(e,u))(e.flags&131072)!==0&&(ke=!0);else return t.lanes=e.lanes,dl(e,t,u)}return gr(e,t,l,n,u)}function hd(e,t,l,n){var u=n.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|l:l,e!==null){for(n=t.child=e.child,u=0;n!==null;)u=u|n.lanes|n.childLanes,n=n.sibling;n=u&~i}else n=0,t.child=null;return md(e,t,i,l,n)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Gu(t,i!==null?i.cachePool:null),i!==null?pf(t,i):Jc(),vf(t);else return n=t.lanes=536870912,md(e,t,i!==null?i.baseLanes|l:l,l,n)}else i!==null?(Gu(t,i.cachePool),pf(t,i),Ul(),t.memoizedState=null):(e!==null&&Gu(t,null),Jc(),Ul());return tt(e,t,u,l),t.child}function Ga(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function md(e,t,l,n,u){var i=Gc();return i=i===null?null:{parent:Qe._currentValue,pool:i},t.memoizedState={baseLanes:l,cachePool:i},e!==null&&Gu(t,null),Jc(),vf(t),e!==null&&Hn(e,t,n,!0),t.childLanes=u,null}function ai(e,t){return t=ii({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function yd(e,t,l){return on(t,e.child,null,l),e=ai(t,t.pendingProps),e.flags|=2,Ot(t),t.memoizedState=null,e}function e0(e,t,l){var n=t.pendingProps,u=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ye){if(n.mode==="hidden")return e=ai(t,n),t.lanes=536870912,Ga(null,e);if($c(t),(e=Me)?(e=_h(e,Ht),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Tl!==null?{id:Pt,overflow:It}:null,retryLane:536870912,hydrationErrors:null},l=Wo(e),l.return=t,t.child=l,Ie=t,Me=null)):e=null,e===null)throw _l(t);return t.lanes=536870912,null}return ai(t,n)}var i=e.memoizedState;if(i!==null){var o=i.dehydrated;if($c(t),u)if(t.flags&256)t.flags&=-257,t=yd(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(r(558));else if(ke||Hn(e,t,l,!1),u=(l&e.childLanes)!==0,ke||u){if(n=Ce,n!==null&&(o=no(n,l),o!==0&&o!==i.retryLane))throw i.retryLane=o,tn(e,o),pt(n,e,o),vr;yi(),t=yd(e,t,l)}else e=i.treeContext,Me=qt(o.nextSibling),Ie=t,ye=!0,Ol=null,Ht=!1,e!==null&&ef(t,e),t=ai(t,n),t.flags|=4096;return t}return e=il(e.child,{mode:n.mode,children:n.children}),e.ref=t.ref,t.child=e,e.return=t,e}function ui(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(r(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function gr(e,t,l,n,u){return un(t),l=Pc(e,t,l,n,void 0,u),n=Ic(),e!==null&&!ke?(er(e,t,u),dl(e,t,u)):(ye&&n&&Uc(t),t.flags|=1,tt(e,t,l,u),t.child)}function pd(e,t,l,n,u,i){return un(t),t.updateQueue=null,l=Sf(t,n,l,u),gf(e),n=Ic(),e!==null&&!ke?(er(e,t,i),dl(e,t,i)):(ye&&n&&Uc(t),t.flags|=1,tt(e,t,l,i),t.child)}function vd(e,t,l,n,u){if(un(t),t.stateNode===null){var i=Un,o=l.contextType;typeof o=="object"&&o!==null&&(i=et(o)),i=new l(n,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=yr,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=n,i.state=t.memoizedState,i.refs={},Qc(t),o=l.contextType,i.context=typeof o=="object"&&o!==null?et(o):Un,i.state=t.memoizedState,o=l.getDerivedStateFromProps,typeof o=="function"&&(mr(t,l,o,n),i.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(o=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),o!==i.state&&yr.enqueueReplaceState(i,i.state,null),Ha(t,n,i,u),Ba(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!0}else if(e===null){i=t.stateNode;var m=t.memoizedProps,b=dn(l,m);i.props=b;var z=i.context,j=l.contextType;o=Un,typeof j=="object"&&j!==null&&(o=et(j));var q=l.getDerivedStateFromProps;j=typeof q=="function"||typeof i.getSnapshotBeforeUpdate=="function",m=t.pendingProps!==m,j||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(m||z!==o)&&nd(t,i,n,o),zl=!1;var N=t.memoizedState;i.state=N,Ha(t,n,i,u),Ba(),z=t.memoizedState,m||N!==z||zl?(typeof q=="function"&&(mr(t,l,q,n),z=t.memoizedState),(b=zl||ld(t,l,b,n,N,z,o))?(j||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=z),i.props=n,i.state=z,i.context=o,n=b):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,Zc(e,t),o=t.memoizedProps,j=dn(l,o),i.props=j,q=t.pendingProps,N=i.context,z=l.contextType,b=Un,typeof z=="object"&&z!==null&&(b=et(z)),m=l.getDerivedStateFromProps,(z=typeof m=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o!==q||N!==b)&&nd(t,i,n,b),zl=!1,N=t.memoizedState,i.state=N,Ha(t,n,i,u),Ba();var M=t.memoizedState;o!==q||N!==M||zl||e!==null&&e.dependencies!==null&&Yu(e.dependencies)?(typeof m=="function"&&(mr(t,l,m,n),M=t.memoizedState),(j=zl||ld(t,l,j,n,N,M,b)||e!==null&&e.dependencies!==null&&Yu(e.dependencies))?(z||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(n,M,b),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(n,M,b)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||o===e.memoizedProps&&N===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&N===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=M),i.props=n,i.state=M,i.context=b,n=j):(typeof i.componentDidUpdate!="function"||o===e.memoizedProps&&N===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&N===e.memoizedState||(t.flags|=1024),n=!1)}return i=n,ui(e,t),n=(t.flags&128)!==0,i||n?(i=t.stateNode,l=n&&typeof l.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&n?(t.child=on(t,e.child,null,u),t.child=on(t,null,l,u)):tt(e,t,l,u),t.memoizedState=i.state,e=t.child):e=dl(e,t,u),e}function gd(e,t,l,n){return nn(),t.flags|=256,tt(e,t,l,n),t.child}var Sr={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function br(e){return{baseLanes:e,cachePool:cf()}}function Er(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Ct),e}function Sd(e,t,l){var n=t.pendingProps,u=!1,i=(t.flags&128)!==0,o;if((o=i)||(o=e!==null&&e.memoizedState===null?!1:(Ye.current&2)!==0),o&&(u=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(ye){if(u?Ml(t):Ul(),(e=Me)?(e=_h(e,Ht),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Tl!==null?{id:Pt,overflow:It}:null,retryLane:536870912,hydrationErrors:null},l=Wo(e),l.return=t,t.child=l,Ie=t,Me=null)):e=null,e===null)throw _l(t);return ns(e)?t.lanes=32:t.lanes=536870912,null}var m=n.children;return n=n.fallback,u?(Ul(),u=t.mode,m=ii({mode:"hidden",children:m},u),n=ln(n,u,l,null),m.return=t,n.return=t,m.sibling=n,t.child=m,n=t.child,n.memoizedState=br(l),n.childLanes=Er(e,o,l),t.memoizedState=Sr,Ga(null,n)):(Ml(t),xr(t,m))}var b=e.memoizedState;if(b!==null&&(m=b.dehydrated,m!==null)){if(i)t.flags&256?(Ml(t),t.flags&=-257,t=Rr(e,t,l)):t.memoizedState!==null?(Ul(),t.child=e.child,t.flags|=128,t=null):(Ul(),m=n.fallback,u=t.mode,n=ii({mode:"visible",children:n.children},u),m=ln(m,u,l,null),m.flags|=2,n.return=t,m.return=t,n.sibling=m,t.child=n,on(t,e.child,null,l),n=t.child,n.memoizedState=br(l),n.childLanes=Er(e,o,l),t.memoizedState=Sr,t=Ga(null,n));else if(Ml(t),ns(m)){if(o=m.nextSibling&&m.nextSibling.dataset,o)var z=o.dgst;o=z,n=Error(r(419)),n.stack="",n.digest=o,Na({value:n,source:null,stack:null}),t=Rr(e,t,l)}else if(ke||Hn(e,t,l,!1),o=(l&e.childLanes)!==0,ke||o){if(o=Ce,o!==null&&(n=no(o,l),n!==0&&n!==b.retryLane))throw b.retryLane=n,tn(e,n),pt(o,e,n),vr;ls(m)||yi(),t=Rr(e,t,l)}else ls(m)?(t.flags|=192,t.child=e.child,t=null):(e=b.treeContext,Me=qt(m.nextSibling),Ie=t,ye=!0,Ol=null,Ht=!1,e!==null&&ef(t,e),t=xr(t,n.children),t.flags|=4096);return t}return u?(Ul(),m=n.fallback,u=t.mode,b=e.child,z=b.sibling,n=il(b,{mode:"hidden",children:n.children}),n.subtreeFlags=b.subtreeFlags&65011712,z!==null?m=il(z,m):(m=ln(m,u,l,null),m.flags|=2),m.return=t,n.return=t,n.sibling=m,t.child=n,Ga(null,n),n=t.child,m=e.child.memoizedState,m===null?m=br(l):(u=m.cachePool,u!==null?(b=Qe._currentValue,u=u.parent!==b?{parent:b,pool:b}:u):u=cf(),m={baseLanes:m.baseLanes|l,cachePool:u}),n.memoizedState=m,n.childLanes=Er(e,o,l),t.memoizedState=Sr,Ga(e.child,n)):(Ml(t),l=e.child,e=l.sibling,l=il(l,{mode:"visible",children:n.children}),l.return=t,l.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=l,t.memoizedState=null,l)}function xr(e,t){return t=ii({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function ii(e,t){return e=At(22,e,null,t),e.lanes=0,e}function Rr(e,t,l){return on(t,e.child,null,l),e=xr(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function bd(e,t,l){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),Lc(e.return,t,l)}function Ar(e,t,l,n,u,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:l,tailMode:u,treeForkCount:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=n,o.tail=l,o.tailMode=u,o.treeForkCount=i)}function Ed(e,t,l){var n=t.pendingProps,u=n.revealOrder,i=n.tail;n=n.children;var o=Ye.current,m=(o&2)!==0;if(m?(o=o&1|2,t.flags|=128):o&=1,Z(Ye,o),tt(e,t,n,l),n=ye?za:0,!m&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&bd(e,l,t);else if(e.tag===19)bd(e,l,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(u){case"forwards":for(l=t.child,u=null;l!==null;)e=l.alternate,e!==null&&Ju(e)===null&&(u=l),l=l.sibling;l=u,l===null?(u=t.child,t.child=null):(u=l.sibling,l.sibling=null),Ar(t,!1,u,l,i,n);break;case"backwards":case"unstable_legacy-backwards":for(l=null,u=t.child,t.child=null;u!==null;){if(e=u.alternate,e!==null&&Ju(e)===null){t.child=u;break}e=u.sibling,u.sibling=l,l=u,u=e}Ar(t,!0,l,null,i,n);break;case"together":Ar(t,!1,null,null,void 0,n);break;default:t.memoizedState=null}return t.child}function dl(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),Bl|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(Hn(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,l=il(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=il(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function Tr(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Yu(e)))}function t0(e,t,l){switch(t.tag){case 3:Ve(t,t.stateNode.containerInfo),Cl(t,Qe,e.memoizedState.cache),nn();break;case 27:case 5:Kl(t);break;case 4:Ve(t,t.stateNode.containerInfo);break;case 10:Cl(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,$c(t),null;break;case 13:var n=t.memoizedState;if(n!==null)return n.dehydrated!==null?(Ml(t),t.flags|=128,null):(l&t.child.childLanes)!==0?Sd(e,t,l):(Ml(t),e=dl(e,t,l),e!==null?e.sibling:null);Ml(t);break;case 19:var u=(e.flags&128)!==0;if(n=(l&t.childLanes)!==0,n||(Hn(e,t,l,!1),n=(l&t.childLanes)!==0),u){if(n)return Ed(e,t,l);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),Z(Ye,Ye.current),n)break;return null;case 22:return t.lanes=0,hd(e,t,l,t.pendingProps);case 24:Cl(t,Qe,e.memoizedState.cache)}return dl(e,t,l)}function xd(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)ke=!0;else{if(!Tr(e,l)&&(t.flags&128)===0)return ke=!1,t0(e,t,l);ke=(e.flags&131072)!==0}else ke=!1,ye&&(t.flags&1048576)!==0&&Io(t,za,t.index);switch(t.lanes=0,t.tag){case 16:e:{var n=t.pendingProps;if(e=rn(t.elementType),t.type=e,typeof e=="function")Nc(e)?(n=dn(e,n),t.tag=1,t=vd(null,t,e,n,l)):(t.tag=0,t=gr(null,t,e,n,l));else{if(e!=null){var u=e.$$typeof;if(u===P){t.tag=11,t=od(null,t,e,n,l);break e}else if(u===ee){t.tag=14,t=fd(null,t,e,n,l);break e}}throw t=De(e)||e,Error(r(306,t,""))}}return t;case 0:return gr(e,t,t.type,t.pendingProps,l);case 1:return n=t.type,u=dn(n,t.pendingProps),vd(e,t,n,u,l);case 3:e:{if(Ve(t,t.stateNode.containerInfo),e===null)throw Error(r(387));n=t.pendingProps;var i=t.memoizedState;u=i.element,Zc(e,t),Ha(t,n,null,l);var o=t.memoizedState;if(n=o.cache,Cl(t,Qe,n),n!==i.cache&&qc(t,[Qe],l,!0),Ba(),n=o.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=gd(e,t,n,l);break e}else if(n!==u){u=jt(Error(r(424)),t),Na(u),t=gd(e,t,n,l);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Me=qt(e.firstChild),Ie=t,ye=!0,Ol=null,Ht=!0,l=hf(t,null,n,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(nn(),n===u){t=dl(e,t,l);break e}tt(e,t,n,l)}t=t.child}return t;case 26:return ui(e,t),e===null?(l=Uh(t.type,null,t.pendingProps,null))?t.memoizedState=l:ye||(l=t.type,e=t.pendingProps,n=xi(F.current).createElement(l),n[Pe]=t,n[ot]=e,lt(n,l,e),$e(n),t.stateNode=n):t.memoizedState=Uh(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Kl(t),e===null&&ye&&(n=t.stateNode=Nh(t.type,t.pendingProps,F.current),Ie=t,Ht=!0,u=Me,Xl(t.type)?(as=u,Me=qt(n.firstChild)):Me=u),tt(e,t,t.pendingProps.children,l),ui(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ye&&((u=n=Me)&&(n=D0(n,t.type,t.pendingProps,Ht),n!==null?(t.stateNode=n,Ie=t,Me=qt(n.firstChild),Ht=!1,u=!0):u=!1),u||_l(t)),Kl(t),u=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,n=i.children,Ir(u,i)?n=null:o!==null&&Ir(u,o)&&(t.flags|=32),t.memoizedState!==null&&(u=Pc(e,t,kp,null,null,l),nu._currentValue=u),ui(e,t),tt(e,t,n,l),t.child;case 6:return e===null&&ye&&((e=l=Me)&&(l=M0(l,t.pendingProps,Ht),l!==null?(t.stateNode=l,Ie=t,Me=null,e=!0):e=!1),e||_l(t)),null;case 13:return Sd(e,t,l);case 4:return Ve(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=on(t,null,n,l):tt(e,t,n,l),t.child;case 11:return od(e,t,t.type,t.pendingProps,l);case 7:return tt(e,t,t.pendingProps,l),t.child;case 8:return tt(e,t,t.pendingProps.children,l),t.child;case 12:return tt(e,t,t.pendingProps.children,l),t.child;case 10:return n=t.pendingProps,Cl(t,t.type,n.value),tt(e,t,n.children,l),t.child;case 9:return u=t.type._context,n=t.pendingProps.children,un(t),u=et(u),n=n(u),t.flags|=1,tt(e,t,n,l),t.child;case 14:return fd(e,t,t.type,t.pendingProps,l);case 15:return dd(e,t,t.type,t.pendingProps,l);case 19:return Ed(e,t,l);case 31:return e0(e,t,l);case 22:return hd(e,t,l,t.pendingProps);case 24:return un(t),n=et(Qe),e===null?(u=Gc(),u===null&&(u=Ce,i=Yc(),u.pooledCache=i,i.refCount++,i!==null&&(u.pooledCacheLanes|=l),u=i),t.memoizedState={parent:n,cache:u},Qc(t),Cl(t,Qe,u)):((e.lanes&l)!==0&&(Zc(e,t),Ha(t,null,null,l),Ba()),u=e.memoizedState,i=t.memoizedState,u.parent!==n?(u={parent:n,cache:n},t.memoizedState=u,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=u),Cl(t,Qe,n)):(n=i.cache,Cl(t,Qe,n),n!==u.cache&&qc(t,[Qe],l,!0))),tt(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function hl(e){e.flags|=4}function Or(e,t,l,n,u){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(u&335544128)===u)if(e.stateNode.complete)e.flags|=8192;else if(Fd())e.flags|=8192;else throw sn=Qu,Vc}else e.flags&=-16777217}function Rd(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Lh(t))if(Fd())e.flags|=8192;else throw sn=Qu,Vc}function ci(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?eo():536870912,e.lanes|=t,Fn|=t)}function Va(e,t){if(!ye)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var n=null;l!==null;)l.alternate!==null&&(n=l),l=l.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Ue(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,n=0;if(t)for(var u=e.child;u!==null;)l|=u.lanes|u.childLanes,n|=u.subtreeFlags&65011712,n|=u.flags&65011712,u.return=e,u=u.sibling;else for(u=e.child;u!==null;)l|=u.lanes|u.childLanes,n|=u.subtreeFlags,n|=u.flags,u.return=e,u=u.sibling;return e.subtreeFlags|=n,e.childLanes=l,t}function l0(e,t,l){var n=t.pendingProps;switch(jc(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ue(t),null;case 1:return Ue(t),null;case 3:return l=t.stateNode,n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),sl(Qe),je(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Bn(t)?hl(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Bc())),Ue(t),null;case 26:var u=t.type,i=t.memoizedState;return e===null?(hl(t),i!==null?(Ue(t),Rd(t,i)):(Ue(t),Or(t,u,null,n,l))):i?i!==e.memoizedState?(hl(t),Ue(t),Rd(t,i)):(Ue(t),t.flags&=-16777217):(e=e.memoizedProps,e!==n&&hl(t),Ue(t),Or(t,u,e,n,l)),null;case 27:if(Jl(t),l=F.current,u=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&hl(t);else{if(!n){if(t.stateNode===null)throw Error(r(166));return Ue(t),null}e=J.current,Bn(t)?tf(t):(e=Nh(u,n,l),t.stateNode=e,hl(t))}return Ue(t),null;case 5:if(Jl(t),u=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&hl(t);else{if(!n){if(t.stateNode===null)throw Error(r(166));return Ue(t),null}if(i=J.current,Bn(t))tf(t);else{var o=xi(F.current);switch(i){case 1:i=o.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:i=o.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":i=o.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":i=o.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":i=o.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof n.is=="string"?o.createElement("select",{is:n.is}):o.createElement("select"),n.multiple?i.multiple=!0:n.size&&(i.size=n.size);break;default:i=typeof n.is=="string"?o.createElement(u,{is:n.is}):o.createElement(u)}}i[Pe]=t,i[ot]=n;e:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)i.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;o.sibling===null;){if(o.return===null||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=i;e:switch(lt(i,u,n),u){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&hl(t)}}return Ue(t),Or(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&hl(t);else{if(typeof n!="string"&&t.stateNode===null)throw Error(r(166));if(e=F.current,Bn(t)){if(e=t.stateNode,l=t.memoizedProps,n=null,u=Ie,u!==null)switch(u.tag){case 27:case 5:n=u.memoizedProps}e[Pe]=t,e=!!(e.nodeValue===l||n!==null&&n.suppressHydrationWarning===!0||Sh(e.nodeValue,l)),e||_l(t,!0)}else e=xi(e).createTextNode(n),e[Pe]=t,t.stateNode=e}return Ue(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(n=Bn(t),l!==null){if(e===null){if(!n)throw Error(r(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[Pe]=t}else nn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ue(t),e=!1}else l=Bc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(Ot(t),t):(Ot(t),null);if((t.flags&128)!==0)throw Error(r(558))}return Ue(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(u=Bn(t),n!==null&&n.dehydrated!==null){if(e===null){if(!u)throw Error(r(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(r(317));u[Pe]=t}else nn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ue(t),u=!1}else u=Bc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(Ot(t),t):(Ot(t),null)}return Ot(t),(t.flags&128)!==0?(t.lanes=l,t):(l=n!==null,e=e!==null&&e.memoizedState!==null,l&&(n=t.child,u=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(u=n.alternate.memoizedState.cachePool.pool),i=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),i!==u&&(n.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),ci(t,t.updateQueue),Ue(t),null);case 4:return je(),e===null&&Jr(t.stateNode.containerInfo),Ue(t),null;case 10:return sl(t.type),Ue(t),null;case 19:if(B(Ye),n=t.memoizedState,n===null)return Ue(t),null;if(u=(t.flags&128)!==0,i=n.rendering,i===null)if(u)Va(n,!1);else{if(qe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Ju(e),i!==null){for(t.flags|=128,Va(n,!1),e=i.updateQueue,t.updateQueue=e,ci(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)$o(l,e),l=l.sibling;return Z(Ye,Ye.current&1|2),ye&&cl(t,n.treeForkCount),t.child}e=e.sibling}n.tail!==null&&bt()>di&&(t.flags|=128,u=!0,Va(n,!1),t.lanes=4194304)}else{if(!u)if(e=Ju(i),e!==null){if(t.flags|=128,u=!0,e=e.updateQueue,t.updateQueue=e,ci(t,e),Va(n,!0),n.tail===null&&n.tailMode==="hidden"&&!i.alternate&&!ye)return Ue(t),null}else 2*bt()-n.renderingStartTime>di&&l!==536870912&&(t.flags|=128,u=!0,Va(n,!1),t.lanes=4194304);n.isBackwards?(i.sibling=t.child,t.child=i):(e=n.last,e!==null?e.sibling=i:t.child=i,n.last=i)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=bt(),e.sibling=null,l=Ye.current,Z(Ye,u?l&1|2:l&1),ye&&cl(t,n.treeForkCount),e):(Ue(t),null);case 22:case 23:return Ot(t),Fc(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?(l&536870912)!==0&&(t.flags&128)===0&&(Ue(t),t.subtreeFlags&6&&(t.flags|=8192)):Ue(t),l=t.updateQueue,l!==null&&ci(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==l&&(t.flags|=2048),e!==null&&B(cn),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),sl(Qe),Ue(t),null;case 25:return null;case 30:return null}throw Error(r(156,t.tag))}function n0(e,t){switch(jc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return sl(Qe),je(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Jl(t),null;case 31:if(t.memoizedState!==null){if(Ot(t),t.alternate===null)throw Error(r(340));nn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Ot(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));nn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return B(Ye),null;case 4:return je(),null;case 10:return sl(t.type),null;case 22:case 23:return Ot(t),Fc(),e!==null&&B(cn),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return sl(Qe),null;case 25:return null;default:return null}}function Ad(e,t){switch(jc(t),t.tag){case 3:sl(Qe),je();break;case 26:case 27:case 5:Jl(t);break;case 4:je();break;case 31:t.memoizedState!==null&&Ot(t);break;case 13:Ot(t);break;case 19:B(Ye);break;case 10:sl(t.type);break;case 22:case 23:Ot(t),Fc(),e!==null&&B(cn);break;case 24:sl(Qe)}}function Qa(e,t){try{var l=t.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var u=n.next;l=u;do{if((l.tag&e)===e){n=void 0;var i=l.create,o=l.inst;n=i(),o.destroy=n}l=l.next}while(l!==u)}}catch(m){Re(t,t.return,m)}}function jl(e,t,l){try{var n=t.updateQueue,u=n!==null?n.lastEffect:null;if(u!==null){var i=u.next;n=i;do{if((n.tag&e)===e){var o=n.inst,m=o.destroy;if(m!==void 0){o.destroy=void 0,u=t;var b=l,z=m;try{z()}catch(j){Re(u,b,j)}}}n=n.next}while(n!==i)}}catch(j){Re(t,t.return,j)}}function Td(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{yf(t,l)}catch(n){Re(e,e.return,n)}}}function Od(e,t,l){l.props=dn(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(n){Re(e,t,n)}}function Za(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}typeof l=="function"?e.refCleanup=l(n):l.current=n}}catch(u){Re(e,t,u)}}function el(e,t){var l=e.ref,n=e.refCleanup;if(l!==null)if(typeof n=="function")try{n()}catch(u){Re(e,t,u)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(u){Re(e,t,u)}else l.current=null}function _d(e){var t=e.type,l=e.memoizedProps,n=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break e;case"img":l.src?n.src=l.src:l.srcSet&&(n.srcset=l.srcSet)}}catch(u){Re(e,e.return,u)}}function _r(e,t,l){try{var n=e.stateNode;T0(n,e.type,l,t),n[ot]=t}catch(u){Re(e,e.return,u)}}function Cd(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Xl(e.type)||e.tag===4}function Cr(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Cd(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Xl(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function zr(e,t,l){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=al));else if(n!==4&&(n===27&&Xl(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(zr(e,t,l),e=e.sibling;e!==null;)zr(e,t,l),e=e.sibling}function ri(e,t,l){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(n!==4&&(n===27&&Xl(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(ri(e,t,l),e=e.sibling;e!==null;)ri(e,t,l),e=e.sibling}function zd(e){var t=e.stateNode,l=e.memoizedProps;try{for(var n=e.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);lt(t,n,l),t[Pe]=e,t[ot]=l}catch(i){Re(e,e.return,i)}}var ml=!1,Ke=!1,Nr=!1,Nd=typeof WeakSet=="function"?WeakSet:Set,We=null;function a0(e,t){if(e=e.containerInfo,Wr=zi,e=Xo(e),Rc(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var n=l.getSelection&&l.getSelection();if(n&&n.rangeCount!==0){l=n.anchorNode;var u=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{l.nodeType,i.nodeType}catch{l=null;break e}var o=0,m=-1,b=-1,z=0,j=0,q=e,N=null;t:for(;;){for(var M;q!==l||u!==0&&q.nodeType!==3||(m=o+u),q!==i||n!==0&&q.nodeType!==3||(b=o+n),q.nodeType===3&&(o+=q.nodeValue.length),(M=q.firstChild)!==null;)N=q,q=M;for(;;){if(q===e)break t;if(N===l&&++z===u&&(m=o),N===i&&++j===n&&(b=o),(M=q.nextSibling)!==null)break;q=N,N=q.parentNode}q=M}l=m===-1||b===-1?null:{start:m,end:b}}else l=null}l=l||{start:0,end:0}}else l=null;for(Pr={focusedElem:e,selectionRange:l},zi=!1,We=t;We!==null;)if(t=We,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,We=e;else for(;We!==null;){switch(t=We,i=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l<e.length;l++)u=e[l],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&i!==null){e=void 0,l=t,u=i.memoizedProps,i=i.memoizedState,n=l.stateNode;try{var $=dn(l.type,u);e=n.getSnapshotBeforeUpdate($,i),n.__reactInternalSnapshotBeforeUpdate=e}catch(le){Re(l,l.return,le)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)ts(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":ts(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(r(163))}if(e=t.sibling,e!==null){e.return=t.return,We=e;break}We=t.return}}function Dd(e,t,l){var n=l.flags;switch(l.tag){case 0:case 11:case 15:pl(e,l),n&4&&Qa(5,l);break;case 1:if(pl(e,l),n&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(o){Re(l,l.return,o)}else{var u=dn(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(u,t,e.__reactInternalSnapshotBeforeUpdate)}catch(o){Re(l,l.return,o)}}n&64&&Td(l),n&512&&Za(l,l.return);break;case 3:if(pl(e,l),n&64&&(e=l.updateQueue,e!==null)){if(t=null,l.child!==null)switch(l.child.tag){case 27:case 5:t=l.child.stateNode;break;case 1:t=l.child.stateNode}try{yf(e,t)}catch(o){Re(l,l.return,o)}}break;case 27:t===null&&n&4&&zd(l);case 26:case 5:pl(e,l),t===null&&n&4&&_d(l),n&512&&Za(l,l.return);break;case 12:pl(e,l);break;case 31:pl(e,l),n&4&&jd(e,l);break;case 13:pl(e,l),n&4&&wd(e,l),n&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=h0.bind(null,l),U0(e,l))));break;case 22:if(n=l.memoizedState!==null||ml,!n){t=t!==null&&t.memoizedState!==null||Ke,u=ml;var i=Ke;ml=n,(Ke=t)&&!i?vl(e,l,(l.subtreeFlags&8772)!==0):pl(e,l),ml=u,Ke=i}break;case 30:break;default:pl(e,l)}}function Md(e){var t=e.alternate;t!==null&&(e.alternate=null,Md(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ic(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var we=null,dt=!1;function yl(e,t,l){for(l=l.child;l!==null;)Ud(e,t,l),l=l.sibling}function Ud(e,t,l){if(Et&&typeof Et.onCommitFiberUnmount=="function")try{Et.onCommitFiberUnmount(ya,l)}catch{}switch(l.tag){case 26:Ke||el(l,t),yl(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Ke||el(l,t);var n=we,u=dt;Xl(l.type)&&(we=l.stateNode,dt=!1),yl(e,t,l),eu(l.stateNode),we=n,dt=u;break;case 5:Ke||el(l,t);case 6:if(n=we,u=dt,we=null,yl(e,t,l),we=n,dt=u,we!==null)if(dt)try{(we.nodeType===9?we.body:we.nodeName==="HTML"?we.ownerDocument.body:we).removeChild(l.stateNode)}catch(i){Re(l,t,i)}else try{we.removeChild(l.stateNode)}catch(i){Re(l,t,i)}break;case 18:we!==null&&(dt?(e=we,Th(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),na(e)):Th(we,l.stateNode));break;case 4:n=we,u=dt,we=l.stateNode.containerInfo,dt=!0,yl(e,t,l),we=n,dt=u;break;case 0:case 11:case 14:case 15:jl(2,l,t),Ke||jl(4,l,t),yl(e,t,l);break;case 1:Ke||(el(l,t),n=l.stateNode,typeof n.componentWillUnmount=="function"&&Od(l,t,n)),yl(e,t,l);break;case 21:yl(e,t,l);break;case 22:Ke=(n=Ke)||l.memoizedState!==null,yl(e,t,l),Ke=n;break;default:yl(e,t,l)}}function jd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{na(e)}catch(l){Re(t,t.return,l)}}}function wd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{na(e)}catch(l){Re(t,t.return,l)}}function u0(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Nd),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Nd),t;default:throw Error(r(435,e.tag))}}function si(e,t){var l=u0(e);t.forEach(function(n){if(!l.has(n)){l.add(n);var u=m0.bind(null,e,n);n.then(u,u)}})}function ht(e,t){var l=t.deletions;if(l!==null)for(var n=0;n<l.length;n++){var u=l[n],i=e,o=t,m=o;e:for(;m!==null;){switch(m.tag){case 27:if(Xl(m.type)){we=m.stateNode,dt=!1;break e}break;case 5:we=m.stateNode,dt=!1;break e;case 3:case 4:we=m.stateNode.containerInfo,dt=!0;break e}m=m.return}if(we===null)throw Error(r(160));Ud(i,o,u),we=null,dt=!1,i=u.alternate,i!==null&&(i.return=null),u.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Bd(t,e),t=t.sibling}var Zt=null;function Bd(e,t){var l=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ht(t,e),mt(e),n&4&&(jl(3,e,e.return),Qa(3,e),jl(5,e,e.return));break;case 1:ht(t,e),mt(e),n&512&&(Ke||l===null||el(l,l.return)),n&64&&ml&&(e=e.updateQueue,e!==null&&(n=e.callbacks,n!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?n:l.concat(n))));break;case 26:var u=Zt;if(ht(t,e),mt(e),n&512&&(Ke||l===null||el(l,l.return)),n&4){var i=l!==null?l.memoizedState:null;if(n=e.memoizedState,l===null)if(n===null)if(e.stateNode===null){e:{n=e.type,l=e.memoizedProps,u=u.ownerDocument||u;t:switch(n){case"title":i=u.getElementsByTagName("title")[0],(!i||i[ga]||i[Pe]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=u.createElement(n),u.head.insertBefore(i,u.querySelector("head > title"))),lt(i,n,l),i[Pe]=e,$e(i),n=i;break e;case"link":var o=Bh("link","href",u).get(n+(l.href||""));if(o){for(var m=0;m<o.length;m++)if(i=o[m],i.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&i.getAttribute("rel")===(l.rel==null?null:l.rel)&&i.getAttribute("title")===(l.title==null?null:l.title)&&i.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){o.splice(m,1);break t}}i=u.createElement(n),lt(i,n,l),u.head.appendChild(i);break;case"meta":if(o=Bh("meta","content",u).get(n+(l.content||""))){for(m=0;m<o.length;m++)if(i=o[m],i.getAttribute("content")===(l.content==null?null:""+l.content)&&i.getAttribute("name")===(l.name==null?null:l.name)&&i.getAttribute("property")===(l.property==null?null:l.property)&&i.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&i.getAttribute("charset")===(l.charSet==null?null:l.charSet)){o.splice(m,1);break t}}i=u.createElement(n),lt(i,n,l),u.head.appendChild(i);break;default:throw Error(r(468,n))}i[Pe]=e,$e(i),n=i}e.stateNode=n}else Hh(u,e.type,e.stateNode);else e.stateNode=wh(u,n,e.memoizedProps);else i!==n?(i===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):i.count--,n===null?Hh(u,e.type,e.stateNode):wh(u,n,e.memoizedProps)):n===null&&e.stateNode!==null&&_r(e,e.memoizedProps,l.memoizedProps)}break;case 27:ht(t,e),mt(e),n&512&&(Ke||l===null||el(l,l.return)),l!==null&&n&4&&_r(e,e.memoizedProps,l.memoizedProps);break;case 5:if(ht(t,e),mt(e),n&512&&(Ke||l===null||el(l,l.return)),e.flags&32){u=e.stateNode;try{On(u,"")}catch($){Re(e,e.return,$)}}n&4&&e.stateNode!=null&&(u=e.memoizedProps,_r(e,u,l!==null?l.memoizedProps:u)),n&1024&&(Nr=!0);break;case 6:if(ht(t,e),mt(e),n&4){if(e.stateNode===null)throw Error(r(162));n=e.memoizedProps,l=e.stateNode;try{l.nodeValue=n}catch($){Re(e,e.return,$)}}break;case 3:if(Ti=null,u=Zt,Zt=Ri(t.containerInfo),ht(t,e),Zt=u,mt(e),n&4&&l!==null&&l.memoizedState.isDehydrated)try{na(t.containerInfo)}catch($){Re(e,e.return,$)}Nr&&(Nr=!1,Hd(e));break;case 4:n=Zt,Zt=Ri(e.stateNode.containerInfo),ht(t,e),mt(e),Zt=n;break;case 12:ht(t,e),mt(e);break;case 31:ht(t,e),mt(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,si(e,n)));break;case 13:ht(t,e),mt(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(fi=bt()),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,si(e,n)));break;case 22:u=e.memoizedState!==null;var b=l!==null&&l.memoizedState!==null,z=ml,j=Ke;if(ml=z||u,Ke=j||b,ht(t,e),Ke=j,ml=z,mt(e),n&8192)e:for(t=e.stateNode,t._visibility=u?t._visibility&-2:t._visibility|1,u&&(l===null||b||ml||Ke||hn(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){b=l=t;try{if(i=b.stateNode,u)o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none";else{m=b.stateNode;var q=b.memoizedProps.style,N=q!=null&&q.hasOwnProperty("display")?q.display:null;m.style.display=N==null||typeof N=="boolean"?"":(""+N).trim()}}catch($){Re(b,b.return,$)}}}else if(t.tag===6){if(l===null){b=t;try{b.stateNode.nodeValue=u?"":b.memoizedProps}catch($){Re(b,b.return,$)}}}else if(t.tag===18){if(l===null){b=t;try{var M=b.stateNode;u?Oh(M,!0):Oh(b.stateNode,!1)}catch($){Re(b,b.return,$)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;l===t&&(l=null),t=t.return}l===t&&(l=null),t.sibling.return=t.return,t=t.sibling}n&4&&(n=e.updateQueue,n!==null&&(l=n.retryQueue,l!==null&&(n.retryQueue=null,si(e,l))));break;case 19:ht(t,e),mt(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,si(e,n)));break;case 30:break;case 21:break;default:ht(t,e),mt(e)}}function mt(e){var t=e.flags;if(t&2){try{for(var l,n=e.return;n!==null;){if(Cd(n)){l=n;break}n=n.return}if(l==null)throw Error(r(160));switch(l.tag){case 27:var u=l.stateNode,i=Cr(e);ri(e,i,u);break;case 5:var o=l.stateNode;l.flags&32&&(On(o,""),l.flags&=-33);var m=Cr(e);ri(e,m,o);break;case 3:case 4:var b=l.stateNode.containerInfo,z=Cr(e);zr(e,z,b);break;default:throw Error(r(161))}}catch(j){Re(e,e.return,j)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Hd(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Hd(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function pl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Dd(e,t.alternate,t),t=t.sibling}function hn(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:jl(4,t,t.return),hn(t);break;case 1:el(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&Od(t,t.return,l),hn(t);break;case 27:eu(t.stateNode);case 26:case 5:el(t,t.return),hn(t);break;case 22:t.memoizedState===null&&hn(t);break;case 30:hn(t);break;default:hn(t)}e=e.sibling}}function vl(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var n=t.alternate,u=e,i=t,o=i.flags;switch(i.tag){case 0:case 11:case 15:vl(u,i,l),Qa(4,i);break;case 1:if(vl(u,i,l),n=i,u=n.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(z){Re(n,n.return,z)}if(n=i,u=n.updateQueue,u!==null){var m=n.stateNode;try{var b=u.shared.hiddenCallbacks;if(b!==null)for(u.shared.hiddenCallbacks=null,u=0;u<b.length;u++)mf(b[u],m)}catch(z){Re(n,n.return,z)}}l&&o&64&&Td(i),Za(i,i.return);break;case 27:zd(i);case 26:case 5:vl(u,i,l),l&&n===null&&o&4&&_d(i),Za(i,i.return);break;case 12:vl(u,i,l);break;case 31:vl(u,i,l),l&&o&4&&jd(u,i);break;case 13:vl(u,i,l),l&&o&4&&wd(u,i);break;case 22:i.memoizedState===null&&vl(u,i,l),Za(i,i.return);break;case 30:break;default:vl(u,i,l)}t=t.sibling}}function Dr(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&Da(l))}function Mr(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Da(e))}function kt(e,t,l,n){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ld(e,t,l,n),t=t.sibling}function Ld(e,t,l,n){var u=t.flags;switch(t.tag){case 0:case 11:case 15:kt(e,t,l,n),u&2048&&Qa(9,t);break;case 1:kt(e,t,l,n);break;case 3:kt(e,t,l,n),u&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Da(e)));break;case 12:if(u&2048){kt(e,t,l,n),e=t.stateNode;try{var i=t.memoizedProps,o=i.id,m=i.onPostCommit;typeof m=="function"&&m(o,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(b){Re(t,t.return,b)}}else kt(e,t,l,n);break;case 31:kt(e,t,l,n);break;case 13:kt(e,t,l,n);break;case 23:break;case 22:i=t.stateNode,o=t.alternate,t.memoizedState!==null?i._visibility&2?kt(e,t,l,n):ka(e,t):i._visibility&2?kt(e,t,l,n):(i._visibility|=2,kn(e,t,l,n,(t.subtreeFlags&10256)!==0||!1)),u&2048&&Dr(o,t);break;case 24:kt(e,t,l,n),u&2048&&Mr(t.alternate,t);break;default:kt(e,t,l,n)}}function kn(e,t,l,n,u){for(u=u&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var i=e,o=t,m=l,b=n,z=o.flags;switch(o.tag){case 0:case 11:case 15:kn(i,o,m,b,u),Qa(8,o);break;case 23:break;case 22:var j=o.stateNode;o.memoizedState!==null?j._visibility&2?kn(i,o,m,b,u):ka(i,o):(j._visibility|=2,kn(i,o,m,b,u)),u&&z&2048&&Dr(o.alternate,o);break;case 24:kn(i,o,m,b,u),u&&z&2048&&Mr(o.alternate,o);break;default:kn(i,o,m,b,u)}t=t.sibling}}function ka(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,n=t,u=n.flags;switch(n.tag){case 22:ka(l,n),u&2048&&Dr(n.alternate,n);break;case 24:ka(l,n),u&2048&&Mr(n.alternate,n);break;default:ka(l,n)}t=t.sibling}}var Ka=8192;function Kn(e,t,l){if(e.subtreeFlags&Ka)for(e=e.child;e!==null;)qd(e,t,l),e=e.sibling}function qd(e,t,l){switch(e.tag){case 26:Kn(e,t,l),e.flags&Ka&&e.memoizedState!==null&&Z0(l,Zt,e.memoizedState,e.memoizedProps);break;case 5:Kn(e,t,l);break;case 3:case 4:var n=Zt;Zt=Ri(e.stateNode.containerInfo),Kn(e,t,l),Zt=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=Ka,Ka=16777216,Kn(e,t,l),Ka=n):Kn(e,t,l));break;default:Kn(e,t,l)}}function Yd(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ja(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var n=t[l];We=n,Gd(n,e)}Yd(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Xd(e),e=e.sibling}function Xd(e){switch(e.tag){case 0:case 11:case 15:Ja(e),e.flags&2048&&jl(9,e,e.return);break;case 3:Ja(e);break;case 12:Ja(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,oi(e)):Ja(e);break;default:Ja(e)}}function oi(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var n=t[l];We=n,Gd(n,e)}Yd(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:jl(8,t,t.return),oi(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,oi(t));break;default:oi(t)}e=e.sibling}}function Gd(e,t){for(;We!==null;){var l=We;switch(l.tag){case 0:case 11:case 15:jl(8,l,t);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var n=l.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:Da(l.memoizedState.cache)}if(n=l.child,n!==null)n.return=l,We=n;else e:for(l=e;We!==null;){n=We;var u=n.sibling,i=n.return;if(Md(n),n===l){We=null;break e}if(u!==null){u.return=i,We=u;break e}We=i}}}var i0={getCacheForType:function(e){var t=et(Qe),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return et(Qe).controller.signal}},c0=typeof WeakMap=="function"?WeakMap:Map,Se=0,Ce=null,oe=null,he=0,xe=0,_t=null,wl=!1,Jn=!1,Ur=!1,gl=0,qe=0,Bl=0,mn=0,jr=0,Ct=0,Fn=0,Fa=null,yt=null,wr=!1,fi=0,Vd=0,di=1/0,hi=null,Hl=null,Fe=0,Ll=null,$n=null,Sl=0,Br=0,Hr=null,Qd=null,$a=0,Lr=null;function zt(){return(Se&2)!==0&&he!==0?he&-he:U.T!==null?Qr():ao()}function Zd(){if(Ct===0)if((he&536870912)===0||ye){var e=Eu;Eu<<=1,(Eu&3932160)===0&&(Eu=262144),Ct=e}else Ct=536870912;return e=Tt.current,e!==null&&(e.flags|=32),Ct}function pt(e,t,l){(e===Ce&&(xe===2||xe===9)||e.cancelPendingCommit!==null)&&(Wn(e,0),ql(e,he,Ct,!1)),va(e,l),((Se&2)===0||e!==Ce)&&(e===Ce&&((Se&2)===0&&(mn|=l),qe===4&&ql(e,he,Ct,!1)),tl(e))}function kd(e,t,l){if((Se&6)!==0)throw Error(r(327));var n=!l&&(t&127)===0&&(t&e.expiredLanes)===0||pa(e,t),u=n?o0(e,t):Yr(e,t,!0),i=n;do{if(u===0){Jn&&!n&&ql(e,t,0,!1);break}else{if(l=e.current.alternate,i&&!r0(l)){u=Yr(e,t,!1),i=!1;continue}if(u===2){if(i=t,e.errorRecoveryDisabledLanes&i)var o=0;else o=e.pendingLanes&-536870913,o=o!==0?o:o&536870912?536870912:0;if(o!==0){t=o;e:{var m=e;u=Fa;var b=m.current.memoizedState.isDehydrated;if(b&&(Wn(m,o).flags|=256),o=Yr(m,o,!1),o!==2){if(Ur&&!b){m.errorRecoveryDisabledLanes|=i,mn|=i,u=4;break e}i=yt,yt=u,i!==null&&(yt===null?yt=i:yt.push.apply(yt,i))}u=o}if(i=!1,u!==2)continue}}if(u===1){Wn(e,0),ql(e,t,0,!0);break}e:{switch(n=e,i=u,i){case 0:case 1:throw Error(r(345));case 4:if((t&4194048)!==t)break;case 6:ql(n,t,Ct,!wl);break e;case 2:yt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((t&62914560)===t&&(u=fi+300-bt(),10<u)){if(ql(n,t,Ct,!wl),Ru(n,0,!0)!==0)break e;Sl=t,n.timeoutHandle=Rh(Kd.bind(null,n,l,yt,hi,wr,t,Ct,mn,Fn,wl,i,"Throttled",-0,0),u);break e}Kd(n,l,yt,hi,wr,t,Ct,mn,Fn,wl,i,null,-0,0)}}break}while(!0);tl(e)}function Kd(e,t,l,n,u,i,o,m,b,z,j,q,N,M){if(e.timeoutHandle=-1,q=t.subtreeFlags,q&8192||(q&16785408)===16785408){q={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:al},qd(t,i,q);var $=(i&62914560)===i?fi-bt():(i&4194048)===i?Vd-bt():0;if($=k0(q,$),$!==null){Sl=i,e.cancelPendingCommit=$(th.bind(null,e,t,i,l,n,u,o,m,b,j,q,null,N,M)),ql(e,i,o,!z);return}}th(e,t,i,l,n,u,o,m,b)}function r0(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var n=0;n<l.length;n++){var u=l[n],i=u.getSnapshot;u=u.value;try{if(!Rt(i(),u))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ql(e,t,l,n){t&=~jr,t&=~mn,e.suspendedLanes|=t,e.pingedLanes&=~t,n&&(e.warmLanes|=t),n=e.expirationTimes;for(var u=t;0<u;){var i=31-xt(u),o=1<<i;n[i]=-1,u&=~o}l!==0&&to(e,l,t)}function mi(){return(Se&6)===0?(Wa(0),!1):!0}function qr(){if(oe!==null){if(xe===0)var e=oe.return;else e=oe,rl=an=null,tr(e),Xn=null,Ua=0,e=oe;for(;e!==null;)Ad(e.alternate,e),e=e.return;oe=null}}function Wn(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,C0(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),Sl=0,qr(),Ce=e,oe=l=il(e.current,null),he=t,xe=0,_t=null,wl=!1,Jn=pa(e,t),Ur=!1,Fn=Ct=jr=mn=Bl=qe=0,yt=Fa=null,wr=!1,(t&8)!==0&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var u=31-xt(n),i=1<<u;t|=e[u],n&=~i}return gl=t,wu(),l}function Jd(e,t){ce=null,U.H=Xa,t===Yn||t===Vu?(t=of(),xe=3):t===Vc?(t=of(),xe=4):xe=t===vr?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,_t=t,oe===null&&(qe=1,ni(e,jt(t,e.current)))}function Fd(){var e=Tt.current;return e===null?!0:(he&4194048)===he?Lt===null:(he&62914560)===he||(he&536870912)!==0?e===Lt:!1}function $d(){var e=U.H;return U.H=Xa,e===null?Xa:e}function Wd(){var e=U.A;return U.A=i0,e}function yi(){qe=4,wl||(he&4194048)!==he&&Tt.current!==null||(Jn=!0),(Bl&134217727)===0&&(mn&134217727)===0||Ce===null||ql(Ce,he,Ct,!1)}function Yr(e,t,l){var n=Se;Se|=2;var u=$d(),i=Wd();(Ce!==e||he!==t)&&(hi=null,Wn(e,t)),t=!1;var o=qe;e:do try{if(xe!==0&&oe!==null){var m=oe,b=_t;switch(xe){case 8:qr(),o=6;break e;case 3:case 2:case 9:case 6:Tt.current===null&&(t=!0);var z=xe;if(xe=0,_t=null,Pn(e,m,b,z),l&&Jn){o=0;break e}break;default:z=xe,xe=0,_t=null,Pn(e,m,b,z)}}s0(),o=qe;break}catch(j){Jd(e,j)}while(!0);return t&&e.shellSuspendCounter++,rl=an=null,Se=n,U.H=u,U.A=i,oe===null&&(Ce=null,he=0,wu()),o}function s0(){for(;oe!==null;)Pd(oe)}function o0(e,t){var l=Se;Se|=2;var n=$d(),u=Wd();Ce!==e||he!==t?(hi=null,di=bt()+500,Wn(e,t)):Jn=pa(e,t);e:do try{if(xe!==0&&oe!==null){t=oe;var i=_t;t:switch(xe){case 1:xe=0,_t=null,Pn(e,t,i,1);break;case 2:case 9:if(rf(i)){xe=0,_t=null,Id(t);break}t=function(){xe!==2&&xe!==9||Ce!==e||(xe=7),tl(e)},i.then(t,t);break e;case 3:xe=7;break e;case 4:xe=5;break e;case 7:rf(i)?(xe=0,_t=null,Id(t)):(xe=0,_t=null,Pn(e,t,i,7));break;case 5:var o=null;switch(oe.tag){case 26:o=oe.memoizedState;case 5:case 27:var m=oe;if(o?Lh(o):m.stateNode.complete){xe=0,_t=null;var b=m.sibling;if(b!==null)oe=b;else{var z=m.return;z!==null?(oe=z,pi(z)):oe=null}break t}}xe=0,_t=null,Pn(e,t,i,5);break;case 6:xe=0,_t=null,Pn(e,t,i,6);break;case 8:qr(),qe=6;break e;default:throw Error(r(462))}}f0();break}catch(j){Jd(e,j)}while(!0);return rl=an=null,U.H=n,U.A=u,Se=l,oe!==null?0:(Ce=null,he=0,wu(),qe)}function f0(){for(;oe!==null&&!Fl();)Pd(oe)}function Pd(e){var t=xd(e.alternate,e,gl);e.memoizedProps=e.pendingProps,t===null?pi(e):oe=t}function Id(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=pd(l,t,t.pendingProps,t.type,void 0,he);break;case 11:t=pd(l,t,t.pendingProps,t.type.render,t.ref,he);break;case 5:tr(t);default:Ad(l,t),t=oe=$o(t,gl),t=xd(l,t,gl)}e.memoizedProps=e.pendingProps,t===null?pi(e):oe=t}function Pn(e,t,l,n){rl=an=null,tr(t),Xn=null,Ua=0;var u=t.return;try{if(Ip(e,u,t,l,he)){qe=1,ni(e,jt(l,e.current)),oe=null;return}}catch(i){if(u!==null)throw oe=u,i;qe=1,ni(e,jt(l,e.current)),oe=null;return}t.flags&32768?(ye||n===1?e=!0:Jn||(he&536870912)!==0?e=!1:(wl=e=!0,(n===2||n===9||n===3||n===6)&&(n=Tt.current,n!==null&&n.tag===13&&(n.flags|=16384))),eh(t,e)):pi(t)}function pi(e){var t=e;do{if((t.flags&32768)!==0){eh(t,wl);return}e=t.return;var l=l0(t.alternate,t,gl);if(l!==null){oe=l;return}if(t=t.sibling,t!==null){oe=t;return}oe=t=e}while(t!==null);qe===0&&(qe=5)}function eh(e,t){do{var l=n0(e.alternate,e);if(l!==null){l.flags&=32767,oe=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){oe=e;return}oe=e=l}while(e!==null);qe=6,oe=null}function th(e,t,l,n,u,i,o,m,b){e.cancelPendingCommit=null;do vi();while(Fe!==0);if((Se&6)!==0)throw Error(r(327));if(t!==null){if(t===e.current)throw Error(r(177));if(i=t.lanes|t.childLanes,i|=Cc,Qy(e,l,i,o,m,b),e===Ce&&(oe=Ce=null,he=0),$n=t,Ll=e,Sl=l,Br=i,Hr=u,Qd=n,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,y0(Su,function(){return ih(),null})):(e.callbackNode=null,e.callbackPriority=0),n=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||n){n=U.T,U.T=null,u=k.p,k.p=2,o=Se,Se|=4;try{a0(e,t,l)}finally{Se=o,k.p=u,U.T=n}}Fe=1,lh(),nh(),ah()}}function lh(){if(Fe===1){Fe=0;var e=Ll,t=$n,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=U.T,U.T=null;var n=k.p;k.p=2;var u=Se;Se|=4;try{Bd(t,e);var i=Pr,o=Xo(e.containerInfo),m=i.focusedElem,b=i.selectionRange;if(o!==m&&m&&m.ownerDocument&&Yo(m.ownerDocument.documentElement,m)){if(b!==null&&Rc(m)){var z=b.start,j=b.end;if(j===void 0&&(j=z),"selectionStart"in m)m.selectionStart=z,m.selectionEnd=Math.min(j,m.value.length);else{var q=m.ownerDocument||document,N=q&&q.defaultView||window;if(N.getSelection){var M=N.getSelection(),$=m.textContent.length,le=Math.min(b.start,$),Oe=b.end===void 0?le:Math.min(b.end,$);!M.extend&&le>Oe&&(o=Oe,Oe=le,le=o);var T=qo(m,le),R=qo(m,Oe);if(T&&R&&(M.rangeCount!==1||M.anchorNode!==T.node||M.anchorOffset!==T.offset||M.focusNode!==R.node||M.focusOffset!==R.offset)){var C=q.createRange();C.setStart(T.node,T.offset),M.removeAllRanges(),le>Oe?(M.addRange(C),M.extend(R.node,R.offset)):(C.setEnd(R.node,R.offset),M.addRange(C))}}}}for(q=[],M=m;M=M.parentNode;)M.nodeType===1&&q.push({element:M,left:M.scrollLeft,top:M.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<q.length;m++){var H=q[m];H.element.scrollLeft=H.left,H.element.scrollTop=H.top}}zi=!!Wr,Pr=Wr=null}finally{Se=u,k.p=n,U.T=l}}e.current=t,Fe=2}}function nh(){if(Fe===2){Fe=0;var e=Ll,t=$n,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=U.T,U.T=null;var n=k.p;k.p=2;var u=Se;Se|=4;try{Dd(e,t.alternate,t)}finally{Se=u,k.p=n,U.T=l}}Fe=3}}function ah(){if(Fe===4||Fe===3){Fe=0,wy();var e=Ll,t=$n,l=Sl,n=Qd;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Fe=5:(Fe=0,$n=Ll=null,uh(e,e.pendingLanes));var u=e.pendingLanes;if(u===0&&(Hl=null),ac(l),t=t.stateNode,Et&&typeof Et.onCommitFiberRoot=="function")try{Et.onCommitFiberRoot(ya,t,void 0,(t.current.flags&128)===128)}catch{}if(n!==null){t=U.T,u=k.p,k.p=2,U.T=null;try{for(var i=e.onRecoverableError,o=0;o<n.length;o++){var m=n[o];i(m.value,{componentStack:m.stack})}}finally{U.T=t,k.p=u}}(Sl&3)!==0&&vi(),tl(e),u=e.pendingLanes,(l&261930)!==0&&(u&42)!==0?e===Lr?$a++:($a=0,Lr=e):$a=0,Wa(0)}}function uh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Da(t)))}function vi(){return lh(),nh(),ah(),ih()}function ih(){if(Fe!==5)return!1;var e=Ll,t=Br;Br=0;var l=ac(Sl),n=U.T,u=k.p;try{k.p=32>l?32:l,U.T=null,l=Hr,Hr=null;var i=Ll,o=Sl;if(Fe=0,$n=Ll=null,Sl=0,(Se&6)!==0)throw Error(r(331));var m=Se;if(Se|=4,Xd(i.current),Ld(i,i.current,o,l),Se=m,Wa(0,!1),Et&&typeof Et.onPostCommitFiberRoot=="function")try{Et.onPostCommitFiberRoot(ya,i)}catch{}return!0}finally{k.p=u,U.T=n,uh(e,t)}}function ch(e,t,l){t=jt(l,t),t=pr(e.stateNode,t,2),e=Dl(e,t,2),e!==null&&(va(e,2),tl(e))}function Re(e,t,l){if(e.tag===3)ch(e,e,l);else for(;t!==null;){if(t.tag===3){ch(t,e,l);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Hl===null||!Hl.has(n))){e=jt(l,e),l=rd(2),n=Dl(t,l,2),n!==null&&(sd(l,n,t,e),va(n,2),tl(n));break}}t=t.return}}function Xr(e,t,l){var n=e.pingCache;if(n===null){n=e.pingCache=new c0;var u=new Set;n.set(t,u)}else u=n.get(t),u===void 0&&(u=new Set,n.set(t,u));u.has(l)||(Ur=!0,u.add(l),e=d0.bind(null,e,t,l),t.then(e,e))}function d0(e,t,l){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Ce===e&&(he&l)===l&&(qe===4||qe===3&&(he&62914560)===he&&300>bt()-fi?(Se&2)===0&&Wn(e,0):jr|=l,Fn===he&&(Fn=0)),tl(e)}function rh(e,t){t===0&&(t=eo()),e=tn(e,t),e!==null&&(va(e,t),tl(e))}function h0(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),rh(e,l)}function m0(e,t){var l=0;switch(e.tag){case 31:case 13:var n=e.stateNode,u=e.memoizedState;u!==null&&(l=u.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(r(314))}n!==null&&n.delete(t),rh(e,l)}function y0(e,t){return Sn(e,t)}var gi=null,In=null,Gr=!1,Si=!1,Vr=!1,Yl=0;function tl(e){e!==In&&e.next===null&&(In===null?gi=In=e:In=In.next=e),Si=!0,Gr||(Gr=!0,v0())}function Wa(e,t){if(!Vr&&Si){Vr=!0;do for(var l=!1,n=gi;n!==null;){if(e!==0){var u=n.pendingLanes;if(u===0)var i=0;else{var o=n.suspendedLanes,m=n.pingedLanes;i=(1<<31-xt(42|e)+1)-1,i&=u&~(o&~m),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(l=!0,dh(n,i))}else i=he,i=Ru(n,n===Ce?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(i&3)===0||pa(n,i)||(l=!0,dh(n,i));n=n.next}while(l);Vr=!1}}function p0(){sh()}function sh(){Si=Gr=!1;var e=0;Yl!==0&&_0()&&(e=Yl);for(var t=bt(),l=null,n=gi;n!==null;){var u=n.next,i=oh(n,t);i===0?(n.next=null,l===null?gi=u:l.next=u,u===null&&(In=l)):(l=n,(e!==0||(i&3)!==0)&&(Si=!0)),n=u}Fe!==0&&Fe!==5||Wa(e),Yl!==0&&(Yl=0)}function oh(e,t){for(var l=e.suspendedLanes,n=e.pingedLanes,u=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var o=31-xt(i),m=1<<o,b=u[o];b===-1?((m&l)===0||(m&n)!==0)&&(u[o]=Vy(m,t)):b<=t&&(e.expiredLanes|=m),i&=~m}if(t=Ce,l=he,l=Ru(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n=e.callbackNode,l===0||e===t&&(xe===2||xe===9)||e.cancelPendingCommit!==null)return n!==null&&n!==null&&ma(n),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||pa(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(n!==null&&ma(n),ac(l)){case 2:case 8:l=Ps;break;case 32:l=Su;break;case 268435456:l=Is;break;default:l=Su}return n=fh.bind(null,e),l=Sn(l,n),e.callbackPriority=t,e.callbackNode=l,t}return n!==null&&n!==null&&ma(n),e.callbackPriority=2,e.callbackNode=null,2}function fh(e,t){if(Fe!==0&&Fe!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(vi()&&e.callbackNode!==l)return null;var n=he;return n=Ru(e,e===Ce?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n===0?null:(kd(e,n,t),oh(e,bt()),e.callbackNode!=null&&e.callbackNode===l?fh.bind(null,e):null)}function dh(e,t){if(vi())return null;kd(e,t,!0)}function v0(){z0(function(){(Se&6)!==0?Sn(Ws,p0):sh()})}function Qr(){if(Yl===0){var e=Ln;e===0&&(e=bu,bu<<=1,(bu&261888)===0&&(bu=256)),Yl=e}return Yl}function hh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:_u(""+e)}function mh(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function g0(e,t,l,n,u){if(t==="submit"&&l&&l.stateNode===u){var i=hh((u[ot]||null).action),o=n.submitter;o&&(t=(t=o[ot]||null)?hh(t.formAction):o.getAttribute("formAction"),t!==null&&(i=t,o=null));var m=new Du("action","action",null,n,u);e.push({event:m,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(Yl!==0){var b=o?mh(u,o):new FormData(u);or(l,{pending:!0,data:b,method:u.method,action:i},null,b)}}else typeof i=="function"&&(m.preventDefault(),b=o?mh(u,o):new FormData(u),or(l,{pending:!0,data:b,method:u.method,action:i},i,b))},currentTarget:u}]})}}for(var Zr=0;Zr<_c.length;Zr++){var kr=_c[Zr],S0=kr.toLowerCase(),b0=kr[0].toUpperCase()+kr.slice(1);Qt(S0,"on"+b0)}Qt(Qo,"onAnimationEnd"),Qt(Zo,"onAnimationIteration"),Qt(ko,"onAnimationStart"),Qt("dblclick","onDoubleClick"),Qt("focusin","onFocus"),Qt("focusout","onBlur"),Qt(Bp,"onTransitionRun"),Qt(Hp,"onTransitionStart"),Qt(Lp,"onTransitionCancel"),Qt(Ko,"onTransitionEnd"),An("onMouseEnter",["mouseout","mouseover"]),An("onMouseLeave",["mouseout","mouseover"]),An("onPointerEnter",["pointerout","pointerover"]),An("onPointerLeave",["pointerout","pointerover"]),Wl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Wl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Wl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Wl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Wl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Wl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Pa="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(" "),E0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Pa));function yh(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var n=e[l],u=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var o=n.length-1;0<=o;o--){var m=n[o],b=m.instance,z=m.currentTarget;if(m=m.listener,b!==i&&u.isPropagationStopped())break e;i=m,u.currentTarget=z;try{i(u)}catch(j){ju(j)}u.currentTarget=null,i=b}else for(o=0;o<n.length;o++){if(m=n[o],b=m.instance,z=m.currentTarget,m=m.listener,b!==i&&u.isPropagationStopped())break e;i=m,u.currentTarget=z;try{i(u)}catch(j){ju(j)}u.currentTarget=null,i=b}}}}function fe(e,t){var l=t[uc];l===void 0&&(l=t[uc]=new Set);var n=e+"__bubble";l.has(n)||(ph(t,e,2,!1),l.add(n))}function Kr(e,t,l){var n=0;t&&(n|=4),ph(l,e,n,t)}var bi="_reactListening"+Math.random().toString(36).slice(2);function Jr(e){if(!e[bi]){e[bi]=!0,co.forEach(function(l){l!=="selectionchange"&&(E0.has(l)||Kr(l,!1,e),Kr(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[bi]||(t[bi]=!0,Kr("selectionchange",!1,t))}}function ph(e,t,l,n){switch(Zh(t)){case 2:var u=F0;break;case 8:u=$0;break;default:u=ss}l=u.bind(null,t,l,e),u=void 0,!mc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),n?u!==void 0?e.addEventListener(t,l,{capture:!0,passive:u}):e.addEventListener(t,l,!0):u!==void 0?e.addEventListener(t,l,{passive:u}):e.addEventListener(t,l,!1)}function Fr(e,t,l,n,u){var i=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var o=n.tag;if(o===3||o===4){var m=n.stateNode.containerInfo;if(m===u)break;if(o===4)for(o=n.return;o!==null;){var b=o.tag;if((b===3||b===4)&&o.stateNode.containerInfo===u)return;o=o.return}for(;m!==null;){if(o=En(m),o===null)return;if(b=o.tag,b===5||b===6||b===26||b===27){n=i=o;continue e}m=m.parentNode}}n=n.return}bo(function(){var z=i,j=dc(l),q=[];e:{var N=Jo.get(e);if(N!==void 0){var M=Du,$=e;switch(e){case"keypress":if(zu(l)===0)break e;case"keydown":case"keyup":M=mp;break;case"focusin":$="focus",M=gc;break;case"focusout":$="blur",M=gc;break;case"beforeblur":case"afterblur":M=gc;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":M=Ro;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":M=lp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":M=vp;break;case Qo:case Zo:case ko:M=up;break;case Ko:M=Sp;break;case"scroll":case"scrollend":M=ep;break;case"wheel":M=Ep;break;case"copy":case"cut":case"paste":M=cp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":M=To;break;case"toggle":case"beforetoggle":M=Rp}var le=(t&4)!==0,Oe=!le&&(e==="scroll"||e==="scrollend"),T=le?N!==null?N+"Capture":null:N;le=[];for(var R=z,C;R!==null;){var H=R;if(C=H.stateNode,H=H.tag,H!==5&&H!==26&&H!==27||C===null||T===null||(H=ba(R,T),H!=null&&le.push(Ia(R,H,C))),Oe)break;R=R.return}0<le.length&&(N=new M(N,$,null,l,j),q.push({event:N,listeners:le}))}}if((t&7)===0){e:{if(N=e==="mouseover"||e==="pointerover",M=e==="mouseout"||e==="pointerout",N&&l!==fc&&($=l.relatedTarget||l.fromElement)&&(En($)||$[bn]))break e;if((M||N)&&(N=j.window===j?j:(N=j.ownerDocument)?N.defaultView||N.parentWindow:window,M?($=l.relatedTarget||l.toElement,M=z,$=$?En($):null,$!==null&&(Oe=d($),le=$.tag,$!==Oe||le!==5&&le!==27&&le!==6)&&($=null)):(M=null,$=z),M!==$)){if(le=Ro,H="onMouseLeave",T="onMouseEnter",R="mouse",(e==="pointerout"||e==="pointerover")&&(le=To,H="onPointerLeave",T="onPointerEnter",R="pointer"),Oe=M==null?N:Sa(M),C=$==null?N:Sa($),N=new le(H,R+"leave",M,l,j),N.target=Oe,N.relatedTarget=C,H=null,En(j)===z&&(le=new le(T,R+"enter",$,l,j),le.target=C,le.relatedTarget=Oe,H=le),Oe=H,M&&$)t:{for(le=x0,T=M,R=$,C=0,H=T;H;H=le(H))C++;H=0;for(var te=R;te;te=le(te))H++;for(;0<C-H;)T=le(T),C--;for(;0<H-C;)R=le(R),H--;for(;C--;){if(T===R||R!==null&&T===R.alternate){le=T;break t}T=le(T),R=le(R)}le=null}else le=null;M!==null&&vh(q,N,M,le,!1),$!==null&&Oe!==null&&vh(q,Oe,$,le,!0)}}e:{if(N=z?Sa(z):window,M=N.nodeName&&N.nodeName.toLowerCase(),M==="select"||M==="input"&&N.type==="file")var pe=Uo;else if(Do(N))if(jo)pe=Up;else{pe=Dp;var I=Np}else M=N.nodeName,!M||M.toLowerCase()!=="input"||N.type!=="checkbox"&&N.type!=="radio"?z&&oc(z.elementType)&&(pe=Uo):pe=Mp;if(pe&&(pe=pe(e,z))){Mo(q,pe,l,j);break e}I&&I(e,N,z),e==="focusout"&&z&&N.type==="number"&&z.memoizedProps.value!=null&&sc(N,"number",N.value)}switch(I=z?Sa(z):window,e){case"focusin":(Do(I)||I.contentEditable==="true")&&(Nn=I,Ac=z,Ca=null);break;case"focusout":Ca=Ac=Nn=null;break;case"mousedown":Tc=!0;break;case"contextmenu":case"mouseup":case"dragend":Tc=!1,Go(q,l,j);break;case"selectionchange":if(wp)break;case"keydown":case"keyup":Go(q,l,j)}var re;if(bc)e:{switch(e){case"compositionstart":var me="onCompositionStart";break e;case"compositionend":me="onCompositionEnd";break e;case"compositionupdate":me="onCompositionUpdate";break e}me=void 0}else zn?zo(e,l)&&(me="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(me="onCompositionStart");me&&(Oo&&l.locale!=="ko"&&(zn||me!=="onCompositionStart"?me==="onCompositionEnd"&&zn&&(re=Eo()):(Al=j,yc="value"in Al?Al.value:Al.textContent,zn=!0)),I=Ei(z,me),0<I.length&&(me=new Ao(me,e,null,l,j),q.push({event:me,listeners:I}),re?me.data=re:(re=No(l),re!==null&&(me.data=re)))),(re=Tp?Op(e,l):_p(e,l))&&(me=Ei(z,"onBeforeInput"),0<me.length&&(I=new Ao("onBeforeInput","beforeinput",null,l,j),q.push({event:I,listeners:me}),I.data=re)),g0(q,e,z,l,j)}yh(q,t)})}function Ia(e,t,l){return{instance:e,listener:t,currentTarget:l}}function Ei(e,t){for(var l=t+"Capture",n=[];e!==null;){var u=e,i=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||i===null||(u=ba(e,l),u!=null&&n.unshift(Ia(e,u,i)),u=ba(e,t),u!=null&&n.push(Ia(e,u,i))),e.tag===3)return n;e=e.return}return[]}function x0(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function vh(e,t,l,n,u){for(var i=t._reactName,o=[];l!==null&&l!==n;){var m=l,b=m.alternate,z=m.stateNode;if(m=m.tag,b!==null&&b===n)break;m!==5&&m!==26&&m!==27||z===null||(b=z,u?(z=ba(l,i),z!=null&&o.unshift(Ia(l,z,b))):u||(z=ba(l,i),z!=null&&o.push(Ia(l,z,b)))),l=l.return}o.length!==0&&e.push({event:t,listeners:o})}var R0=/\r\n?/g,A0=/\u0000|\uFFFD/g;function gh(e){return(typeof e=="string"?e:""+e).replace(R0,`
`).replace(A0,"")}function Sh(e,t){return t=gh(t),gh(e)===t}function Te(e,t,l,n,u,i){switch(l){case"children":typeof n=="string"?t==="body"||t==="textarea"&&n===""||On(e,n):(typeof n=="number"||typeof n=="bigint")&&t!=="body"&&On(e,""+n);break;case"className":Tu(e,"class",n);break;case"tabIndex":Tu(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":Tu(e,l,n);break;case"style":go(e,n,i);break;case"data":if(t!=="object"){Tu(e,"data",n);break}case"src":case"href":if(n===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(l);break}n=_u(""+n),e.setAttribute(l,n);break;case"action":case"formAction":if(typeof n=="function"){e.setAttribute(l,"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 i=="function"&&(l==="formAction"?(t!=="input"&&Te(e,t,"name",u.name,u,null),Te(e,t,"formEncType",u.formEncType,u,null),Te(e,t,"formMethod",u.formMethod,u,null),Te(e,t,"formTarget",u.formTarget,u,null)):(Te(e,t,"encType",u.encType,u,null),Te(e,t,"method",u.method,u,null),Te(e,t,"target",u.target,u,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(l);break}n=_u(""+n),e.setAttribute(l,n);break;case"onClick":n!=null&&(e.onclick=al);break;case"onScroll":n!=null&&fe("scroll",e);break;case"onScrollEnd":n!=null&&fe("scrollend",e);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(r(61));if(l=n.__html,l!=null){if(u.children!=null)throw Error(r(60));e.innerHTML=l}}break;case"multiple":e.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":e.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){e.removeAttribute("xlink:href");break}l=_u(""+n),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,""+n):e.removeAttribute(l);break;case"inert":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":n&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":n===!0?e.setAttribute(l,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,n):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?e.setAttribute(l,n):e.removeAttribute(l);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?e.removeAttribute(l):e.setAttribute(l,n);break;case"popover":fe("beforetoggle",e),fe("toggle",e),Au(e,"popover",n);break;case"xlinkActuate":nl(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":nl(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":nl(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":nl(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":nl(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":nl(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":nl(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":nl(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":nl(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":Au(e,"is",n);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Py.get(l)||l,Au(e,l,n))}}function $r(e,t,l,n,u,i){switch(l){case"style":go(e,n,i);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(r(61));if(l=n.__html,l!=null){if(u.children!=null)throw Error(r(60));e.innerHTML=l}}break;case"children":typeof n=="string"?On(e,n):(typeof n=="number"||typeof n=="bigint")&&On(e,""+n);break;case"onScroll":n!=null&&fe("scroll",e);break;case"onScrollEnd":n!=null&&fe("scrollend",e);break;case"onClick":n!=null&&(e.onclick=al);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ro.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(u=l.endsWith("Capture"),t=l.slice(2,u?l.length-7:void 0),i=e[ot]||null,i=i!=null?i[l]:null,typeof i=="function"&&e.removeEventListener(t,i,u),typeof n=="function")){typeof i!="function"&&i!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,n,u);break e}l in e?e[l]=n:n===!0?e.setAttribute(l,""):Au(e,l,n)}}}function lt(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":fe("error",e),fe("load",e);var n=!1,u=!1,i;for(i in l)if(l.hasOwnProperty(i)){var o=l[i];if(o!=null)switch(i){case"src":n=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Te(e,t,i,o,l,null)}}u&&Te(e,t,"srcSet",l.srcSet,l,null),n&&Te(e,t,"src",l.src,l,null);return;case"input":fe("invalid",e);var m=i=o=u=null,b=null,z=null;for(n in l)if(l.hasOwnProperty(n)){var j=l[n];if(j!=null)switch(n){case"name":u=j;break;case"type":o=j;break;case"checked":b=j;break;case"defaultChecked":z=j;break;case"value":i=j;break;case"defaultValue":m=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(r(137,t));break;default:Te(e,t,n,j,l,null)}}mo(e,i,m,b,z,o,u,!1);return;case"select":fe("invalid",e),n=o=i=null;for(u in l)if(l.hasOwnProperty(u)&&(m=l[u],m!=null))switch(u){case"value":i=m;break;case"defaultValue":o=m;break;case"multiple":n=m;default:Te(e,t,u,m,l,null)}t=i,l=o,e.multiple=!!n,t!=null?Tn(e,!!n,t,!1):l!=null&&Tn(e,!!n,l,!0);return;case"textarea":fe("invalid",e),i=u=n=null;for(o in l)if(l.hasOwnProperty(o)&&(m=l[o],m!=null))switch(o){case"value":n=m;break;case"defaultValue":u=m;break;case"children":i=m;break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(r(91));break;default:Te(e,t,o,m,l,null)}po(e,n,u,i);return;case"option":for(b in l)if(l.hasOwnProperty(b)&&(n=l[b],n!=null))switch(b){case"selected":e.selected=n&&typeof n!="function"&&typeof n!="symbol";break;default:Te(e,t,b,n,l,null)}return;case"dialog":fe("beforetoggle",e),fe("toggle",e),fe("cancel",e),fe("close",e);break;case"iframe":case"object":fe("load",e);break;case"video":case"audio":for(n=0;n<Pa.length;n++)fe(Pa[n],e);break;case"image":fe("error",e),fe("load",e);break;case"details":fe("toggle",e);break;case"embed":case"source":case"link":fe("error",e),fe("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(z in l)if(l.hasOwnProperty(z)&&(n=l[z],n!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Te(e,t,z,n,l,null)}return;default:if(oc(t)){for(j in l)l.hasOwnProperty(j)&&(n=l[j],n!==void 0&&$r(e,t,j,n,l,void 0));return}}for(m in l)l.hasOwnProperty(m)&&(n=l[m],n!=null&&Te(e,t,m,n,l,null))}function T0(e,t,l,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,i=null,o=null,m=null,b=null,z=null,j=null;for(M in l){var q=l[M];if(l.hasOwnProperty(M)&&q!=null)switch(M){case"checked":break;case"value":break;case"defaultValue":b=q;default:n.hasOwnProperty(M)||Te(e,t,M,null,n,q)}}for(var N in n){var M=n[N];if(q=l[N],n.hasOwnProperty(N)&&(M!=null||q!=null))switch(N){case"type":i=M;break;case"name":u=M;break;case"checked":z=M;break;case"defaultChecked":j=M;break;case"value":o=M;break;case"defaultValue":m=M;break;case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(r(137,t));break;default:M!==q&&Te(e,t,N,M,n,q)}}rc(e,o,m,b,z,j,i,u);return;case"select":M=o=m=N=null;for(i in l)if(b=l[i],l.hasOwnProperty(i)&&b!=null)switch(i){case"value":break;case"multiple":M=b;default:n.hasOwnProperty(i)||Te(e,t,i,null,n,b)}for(u in n)if(i=n[u],b=l[u],n.hasOwnProperty(u)&&(i!=null||b!=null))switch(u){case"value":N=i;break;case"defaultValue":m=i;break;case"multiple":o=i;default:i!==b&&Te(e,t,u,i,n,b)}t=m,l=o,n=M,N!=null?Tn(e,!!l,N,!1):!!n!=!!l&&(t!=null?Tn(e,!!l,t,!0):Tn(e,!!l,l?[]:"",!1));return;case"textarea":M=N=null;for(m in l)if(u=l[m],l.hasOwnProperty(m)&&u!=null&&!n.hasOwnProperty(m))switch(m){case"value":break;case"children":break;default:Te(e,t,m,null,n,u)}for(o in n)if(u=n[o],i=l[o],n.hasOwnProperty(o)&&(u!=null||i!=null))switch(o){case"value":N=u;break;case"defaultValue":M=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(r(91));break;default:u!==i&&Te(e,t,o,u,n,i)}yo(e,N,M);return;case"option":for(var $ in l)if(N=l[$],l.hasOwnProperty($)&&N!=null&&!n.hasOwnProperty($))switch($){case"selected":e.selected=!1;break;default:Te(e,t,$,null,n,N)}for(b in n)if(N=n[b],M=l[b],n.hasOwnProperty(b)&&N!==M&&(N!=null||M!=null))switch(b){case"selected":e.selected=N&&typeof N!="function"&&typeof N!="symbol";break;default:Te(e,t,b,N,n,M)}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 le in l)N=l[le],l.hasOwnProperty(le)&&N!=null&&!n.hasOwnProperty(le)&&Te(e,t,le,null,n,N);for(z in n)if(N=n[z],M=l[z],n.hasOwnProperty(z)&&N!==M&&(N!=null||M!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(r(137,t));break;default:Te(e,t,z,N,n,M)}return;default:if(oc(t)){for(var Oe in l)N=l[Oe],l.hasOwnProperty(Oe)&&N!==void 0&&!n.hasOwnProperty(Oe)&&$r(e,t,Oe,void 0,n,N);for(j in n)N=n[j],M=l[j],!n.hasOwnProperty(j)||N===M||N===void 0&&M===void 0||$r(e,t,j,N,n,M);return}}for(var T in l)N=l[T],l.hasOwnProperty(T)&&N!=null&&!n.hasOwnProperty(T)&&Te(e,t,T,null,n,N);for(q in n)N=n[q],M=l[q],!n.hasOwnProperty(q)||N===M||N==null&&M==null||Te(e,t,q,N,n,M)}function bh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function O0(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,l=performance.getEntriesByType("resource"),n=0;n<l.length;n++){var u=l[n],i=u.transferSize,o=u.initiatorType,m=u.duration;if(i&&m&&bh(o)){for(o=0,m=u.responseEnd,n+=1;n<l.length;n++){var b=l[n],z=b.startTime;if(z>m)break;var j=b.transferSize,q=b.initiatorType;j&&bh(q)&&(b=b.responseEnd,o+=j*(b<m?1:(m-z)/(b-z)))}if(--n,t+=8*(i+o)/(u.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Wr=null,Pr=null;function xi(e){return e.nodeType===9?e:e.ownerDocument}function Eh(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function xh(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Ir(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var es=null;function _0(){var e=window.event;return e&&e.type==="popstate"?e===es?!1:(es=e,!0):(es=null,!1)}var Rh=typeof setTimeout=="function"?setTimeout:void 0,C0=typeof clearTimeout=="function"?clearTimeout:void 0,Ah=typeof Promise=="function"?Promise:void 0,z0=typeof queueMicrotask=="function"?queueMicrotask:typeof Ah<"u"?function(e){return Ah.resolve(null).then(e).catch(N0)}:Rh;function N0(e){setTimeout(function(){throw e})}function Xl(e){return e==="head"}function Th(e,t){var l=t,n=0;do{var u=l.nextSibling;if(e.removeChild(l),u&&u.nodeType===8)if(l=u.data,l==="/$"||l==="/&"){if(n===0){e.removeChild(u),na(t);return}n--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")n++;else if(l==="html")eu(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,eu(l);for(var i=l.firstChild;i;){var o=i.nextSibling,m=i.nodeName;i[ga]||m==="SCRIPT"||m==="STYLE"||m==="LINK"&&i.rel.toLowerCase()==="stylesheet"||l.removeChild(i),i=o}}else l==="body"&&eu(e.ownerDocument.body);l=u}while(l);na(t)}function Oh(e,t){var l=e;e=0;do{var n=l.nextSibling;if(l.nodeType===1?t?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(t?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),n&&n.nodeType===8)if(l=n.data,l==="/$"){if(e===0)break;e--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||e++;l=n}while(l)}function ts(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":ts(l),ic(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function D0(e,t,l,n){for(;e.nodeType===1;){var u=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!n&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(n){if(!e[ga])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==u.rel||e.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||e.getAttribute("title")!==(u.title==null?null:u.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(u.src==null?null:u.src)||e.getAttribute("type")!==(u.type==null?null:u.type)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=u.name==null?null:""+u.name;if(u.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=qt(e.nextSibling),e===null)break}return null}function M0(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=qt(e.nextSibling),e===null))return null;return e}function _h(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=qt(e.nextSibling),e===null))return null;return e}function ls(e){return e.data==="$?"||e.data==="$~"}function ns(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function U0(e,t){var l=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||l.readyState!=="loading")t();else{var n=function(){t(),l.removeEventListener("DOMContentLoaded",n)};l.addEventListener("DOMContentLoaded",n),e._reactRetry=n}}function qt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var as=null;function Ch(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(t===0)return qt(e.nextSibling);t--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||t++}e=e.nextSibling}return null}function zh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(t===0)return e;t--}else l!=="/$"&&l!=="/&"||t++}e=e.previousSibling}return null}function Nh(e,t,l){switch(t=xi(l),e){case"html":if(e=t.documentElement,!e)throw Error(r(452));return e;case"head":if(e=t.head,!e)throw Error(r(453));return e;case"body":if(e=t.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function eu(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ic(e)}var Yt=new Map,Dh=new Set;function Ri(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var bl=k.d;k.d={f:j0,r:w0,D:B0,C:H0,L:L0,m:q0,X:X0,S:Y0,M:G0};function j0(){var e=bl.f(),t=mi();return e||t}function w0(e){var t=xn(e);t!==null&&t.tag===5&&t.type==="form"?Jf(t):bl.r(e)}var ea=typeof document>"u"?null:document;function Mh(e,t,l){var n=ea;if(n&&typeof t=="string"&&t){var u=Mt(t);u='link[rel="'+e+'"][href="'+u+'"]',typeof l=="string"&&(u+='[crossorigin="'+l+'"]'),Dh.has(u)||(Dh.add(u),e={rel:e,crossOrigin:l,href:t},n.querySelector(u)===null&&(t=n.createElement("link"),lt(t,"link",e),$e(t),n.head.appendChild(t)))}}function B0(e){bl.D(e),Mh("dns-prefetch",e,null)}function H0(e,t){bl.C(e,t),Mh("preconnect",e,t)}function L0(e,t,l){bl.L(e,t,l);var n=ea;if(n&&e&&t){var u='link[rel="preload"][as="'+Mt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(u+='[imagesrcset="'+Mt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(u+='[imagesizes="'+Mt(l.imageSizes)+'"]')):u+='[href="'+Mt(e)+'"]';var i=u;switch(t){case"style":i=ta(e);break;case"script":i=la(e)}Yt.has(i)||(e=g({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Yt.set(i,e),n.querySelector(u)!==null||t==="style"&&n.querySelector(tu(i))||t==="script"&&n.querySelector(lu(i))||(t=n.createElement("link"),lt(t,"link",e),$e(t),n.head.appendChild(t)))}}function q0(e,t){bl.m(e,t);var l=ea;if(l&&e){var n=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+Mt(n)+'"][href="'+Mt(e)+'"]',i=u;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=la(e)}if(!Yt.has(i)&&(e=g({rel:"modulepreload",href:e},t),Yt.set(i,e),l.querySelector(u)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(lu(i)))return}n=l.createElement("link"),lt(n,"link",e),$e(n),l.head.appendChild(n)}}}function Y0(e,t,l){bl.S(e,t,l);var n=ea;if(n&&e){var u=Rn(n).hoistableStyles,i=ta(e);t=t||"default";var o=u.get(i);if(!o){var m={loading:0,preload:null};if(o=n.querySelector(tu(i)))m.loading=5;else{e=g({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Yt.get(i))&&us(e,l);var b=o=n.createElement("link");$e(b),lt(b,"link",e),b._p=new Promise(function(z,j){b.onload=z,b.onerror=j}),b.addEventListener("load",function(){m.loading|=1}),b.addEventListener("error",function(){m.loading|=2}),m.loading|=4,Ai(o,t,n)}o={type:"stylesheet",instance:o,count:1,state:m},u.set(i,o)}}}function X0(e,t){bl.X(e,t);var l=ea;if(l&&e){var n=Rn(l).hoistableScripts,u=la(e),i=n.get(u);i||(i=l.querySelector(lu(u)),i||(e=g({src:e,async:!0},t),(t=Yt.get(u))&&is(e,t),i=l.createElement("script"),$e(i),lt(i,"link",e),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(u,i))}}function G0(e,t){bl.M(e,t);var l=ea;if(l&&e){var n=Rn(l).hoistableScripts,u=la(e),i=n.get(u);i||(i=l.querySelector(lu(u)),i||(e=g({src:e,async:!0,type:"module"},t),(t=Yt.get(u))&&is(e,t),i=l.createElement("script"),$e(i),lt(i,"link",e),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(u,i))}}function Uh(e,t,l,n){var u=(u=F.current)?Ri(u):null;if(!u)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=ta(l.href),l=Rn(u).hoistableStyles,n=l.get(t),n||(n={type:"style",instance:null,count:0,state:null},l.set(t,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=ta(l.href);var i=Rn(u).hoistableStyles,o=i.get(e);if(o||(u=u.ownerDocument||u,o={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,o),(i=u.querySelector(tu(e)))&&!i._p&&(o.instance=i,o.state.loading=5),Yt.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Yt.set(e,l),i||V0(u,e,l,o.state))),t&&n===null)throw Error(r(528,""));return o}if(t&&n!==null)throw Error(r(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=la(l),l=Rn(u).hoistableScripts,n=l.get(t),n||(n={type:"script",instance:null,count:0,state:null},l.set(t,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function ta(e){return'href="'+Mt(e)+'"'}function tu(e){return'link[rel="stylesheet"]['+e+"]"}function jh(e){return g({},e,{"data-precedence":e.precedence,precedence:null})}function V0(e,t,l,n){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?n.loading=1:(t=e.createElement("link"),n.preload=t,t.addEventListener("load",function(){return n.loading|=1}),t.addEventListener("error",function(){return n.loading|=2}),lt(t,"link",l),$e(t),e.head.appendChild(t))}function la(e){return'[src="'+Mt(e)+'"]'}function lu(e){return"script[async]"+e}function wh(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+Mt(l.href)+'"]');if(n)return t.instance=n,$e(n),n;var u=g({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),$e(n),lt(n,"style",u),Ai(n,l.precedence,e),t.instance=n;case"stylesheet":u=ta(l.href);var i=e.querySelector(tu(u));if(i)return t.state.loading|=4,t.instance=i,$e(i),i;n=jh(l),(u=Yt.get(u))&&us(n,u),i=(e.ownerDocument||e).createElement("link"),$e(i);var o=i;return o._p=new Promise(function(m,b){o.onload=m,o.onerror=b}),lt(i,"link",n),t.state.loading|=4,Ai(i,l.precedence,e),t.instance=i;case"script":return i=la(l.src),(u=e.querySelector(lu(i)))?(t.instance=u,$e(u),u):(n=l,(u=Yt.get(i))&&(n=g({},l),is(n,u)),e=e.ownerDocument||e,u=e.createElement("script"),$e(u),lt(u,"link",n),e.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(r(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(n=t.instance,t.state.loading|=4,Ai(n,l.precedence,e));return t.instance}function Ai(e,t,l){for(var n=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=n.length?n[n.length-1]:null,i=u,o=0;o<n.length;o++){var m=n[o];if(m.dataset.precedence===t)i=m;else if(i!==u)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function us(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function is(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Ti=null;function Bh(e,t,l){if(Ti===null){var n=new Map,u=Ti=new Map;u.set(l,n)}else u=Ti,n=u.get(l),n||(n=new Map,u.set(l,n));if(n.has(e))return n;for(n.set(e,null),l=l.getElementsByTagName(e),u=0;u<l.length;u++){var i=l[u];if(!(i[ga]||i[Pe]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var o=i.getAttribute(t)||"";o=e+o;var m=n.get(o);m?m.push(i):n.set(o,[i])}}return n}function Hh(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function Q0(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Lh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Z0(e,t,l,n){if(l.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var u=ta(n.href),i=t.querySelector(tu(u));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Oi.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=i,$e(i);return}i=t.ownerDocument||t,n=jh(n),(u=Yt.get(u))&&us(n,u),i=i.createElement("link"),$e(i);var o=i;o._p=new Promise(function(m,b){o.onload=m,o.onerror=b}),lt(i,"link",n),l.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=Oi.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var cs=0;function k0(e,t){return e.stylesheets&&e.count===0&&Ci(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var n=setTimeout(function(){if(e.stylesheets&&Ci(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0<e.imgBytes&&cs===0&&(cs=62500*O0());var u=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Ci(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>cs?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(n),clearTimeout(u)}}:null}function Oi(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ci(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var _i=null;function Ci(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,_i=new Map,t.forEach(K0,e),_i=null,Oi.call(e))}function K0(e,t){if(!(t.state.loading&4)){var l=_i.get(e);if(l)var n=l.get(null);else{l=new Map,_i.set(e,l);for(var u=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<u.length;i++){var o=u[i];(o.nodeName==="LINK"||o.getAttribute("media")!=="not all")&&(l.set(o.dataset.precedence,o),n=o)}n&&l.set(null,n)}u=t.instance,o=u.getAttribute("data-precedence"),i=l.get(o)||n,i===n&&l.set(null,u),l.set(o,u),this.count++,n=Oi.bind(this),u.addEventListener("load",n),u.addEventListener("error",n),i?i.parentNode.insertBefore(u,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(u,e.firstChild)),t.state.loading|=4}}var nu={$$typeof:Q,Provider:null,Consumer:null,_currentValue:ne,_currentValue2:ne,_threadCount:0};function J0(e,t,l,n,u,i,o,m,b){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=lc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=lc(0),this.hiddenUpdates=lc(null),this.identifierPrefix=n,this.onUncaughtError=u,this.onCaughtError=i,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=b,this.incompleteTransitions=new Map}function qh(e,t,l,n,u,i,o,m,b,z,j,q){return e=new J0(e,t,l,o,b,z,j,q,m),t=1,i===!0&&(t|=24),i=At(3,null,null,t),e.current=i,i.stateNode=e,t=Yc(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:n,isDehydrated:l,cache:t},Qc(i),e}function Yh(e){return e?(e=Un,e):Un}function Xh(e,t,l,n,u,i){u=Yh(u),n.context===null?n.context=u:n.pendingContext=u,n=Nl(t),n.payload={element:l},i=i===void 0?null:i,i!==null&&(n.callback=i),l=Dl(e,n,t),l!==null&&(pt(l,e,t),wa(l,e,t))}function Gh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function rs(e,t){Gh(e,t),(e=e.alternate)&&Gh(e,t)}function Vh(e){if(e.tag===13||e.tag===31){var t=tn(e,67108864);t!==null&&pt(t,e,67108864),rs(e,67108864)}}function Qh(e){if(e.tag===13||e.tag===31){var t=zt();t=nc(t);var l=tn(e,t);l!==null&&pt(l,e,t),rs(e,t)}}var zi=!0;function F0(e,t,l,n){var u=U.T;U.T=null;var i=k.p;try{k.p=2,ss(e,t,l,n)}finally{k.p=i,U.T=u}}function $0(e,t,l,n){var u=U.T;U.T=null;var i=k.p;try{k.p=8,ss(e,t,l,n)}finally{k.p=i,U.T=u}}function ss(e,t,l,n){if(zi){var u=os(n);if(u===null)Fr(e,t,n,Ni,l),kh(e,n);else if(P0(u,e,t,l,n))n.stopPropagation();else if(kh(e,n),t&4&&-1<W0.indexOf(e)){for(;u!==null;){var i=xn(u);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var o=$l(i.pendingLanes);if(o!==0){var m=i;for(m.pendingLanes|=2,m.entangledLanes|=2;o;){var b=1<<31-xt(o);m.entanglements[1]|=b,o&=~b}tl(i),(Se&6)===0&&(di=bt()+500,Wa(0))}}break;case 31:case 13:m=tn(i,2),m!==null&&pt(m,i,2),mi(),rs(i,2)}if(i=os(n),i===null&&Fr(e,t,n,Ni,l),i===u)break;u=i}u!==null&&n.stopPropagation()}else Fr(e,t,n,null,l)}}function os(e){return e=dc(e),fs(e)}var Ni=null;function fs(e){if(Ni=null,e=En(e),e!==null){var t=d(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=h(t),e!==null)return e;e=null}else if(l===31){if(e=y(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Ni=e,null}function Zh(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;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 8;case"message":switch(By()){case Ws:return 2;case Ps:return 8;case Su:case Hy:return 32;case Is:return 268435456;default:return 32}default:return 32}}var ds=!1,Gl=null,Vl=null,Ql=null,au=new Map,uu=new Map,Zl=[],W0="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(" ");function kh(e,t){switch(e){case"focusin":case"focusout":Gl=null;break;case"dragenter":case"dragleave":Vl=null;break;case"mouseover":case"mouseout":Ql=null;break;case"pointerover":case"pointerout":au.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":uu.delete(t.pointerId)}}function iu(e,t,l,n,u,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:l,eventSystemFlags:n,nativeEvent:i,targetContainers:[u]},t!==null&&(t=xn(t),t!==null&&Vh(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),e)}function P0(e,t,l,n,u){switch(t){case"focusin":return Gl=iu(Gl,e,t,l,n,u),!0;case"dragenter":return Vl=iu(Vl,e,t,l,n,u),!0;case"mouseover":return Ql=iu(Ql,e,t,l,n,u),!0;case"pointerover":var i=u.pointerId;return au.set(i,iu(au.get(i)||null,e,t,l,n,u)),!0;case"gotpointercapture":return i=u.pointerId,uu.set(i,iu(uu.get(i)||null,e,t,l,n,u)),!0}return!1}function Kh(e){var t=En(e.target);if(t!==null){var l=d(t);if(l!==null){if(t=l.tag,t===13){if(t=h(l),t!==null){e.blockedOn=t,uo(e.priority,function(){Qh(l)});return}}else if(t===31){if(t=y(l),t!==null){e.blockedOn=t,uo(e.priority,function(){Qh(l)});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Di(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=os(e.nativeEvent);if(l===null){l=e.nativeEvent;var n=new l.constructor(l.type,l);fc=n,l.target.dispatchEvent(n),fc=null}else return t=xn(l),t!==null&&Vh(t),e.blockedOn=l,!1;t.shift()}return!0}function Jh(e,t,l){Di(e)&&l.delete(t)}function I0(){ds=!1,Gl!==null&&Di(Gl)&&(Gl=null),Vl!==null&&Di(Vl)&&(Vl=null),Ql!==null&&Di(Ql)&&(Ql=null),au.forEach(Jh),uu.forEach(Jh)}function Mi(e,t){e.blockedOn===t&&(e.blockedOn=null,ds||(ds=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,I0)))}var Ui=null;function Fh(e){Ui!==e&&(Ui=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){Ui===e&&(Ui=null);for(var t=0;t<e.length;t+=3){var l=e[t],n=e[t+1],u=e[t+2];if(typeof n!="function"){if(fs(n||l)===null)continue;break}var i=xn(l);i!==null&&(e.splice(t,3),t-=3,or(i,{pending:!0,data:u,method:l.method,action:n},n,u))}}))}function na(e){function t(b){return Mi(b,e)}Gl!==null&&Mi(Gl,e),Vl!==null&&Mi(Vl,e),Ql!==null&&Mi(Ql,e),au.forEach(t),uu.forEach(t);for(var l=0;l<Zl.length;l++){var n=Zl[l];n.blockedOn===e&&(n.blockedOn=null)}for(;0<Zl.length&&(l=Zl[0],l.blockedOn===null);)Kh(l),l.blockedOn===null&&Zl.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(n=0;n<l.length;n+=3){var u=l[n],i=l[n+1],o=u[ot]||null;if(typeof i=="function")o||Fh(l);else if(o){var m=null;if(i&&i.hasAttribute("formAction")){if(u=i,o=i[ot]||null)m=o.formAction;else if(fs(u)!==null)continue}else m=o.action;typeof m=="function"?l[n+1]=m:(l.splice(n,3),n-=3),Fh(l)}}}function $h(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(o){return u=o})},focusReset:"manual",scroll:"manual"})}function t(){u!==null&&(u(),u=null),n||setTimeout(l,20)}function l(){if(!n&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,u=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(l,100),function(){n=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),u!==null&&(u(),u=null)}}}function hs(e){this._internalRoot=e}ji.prototype.render=hs.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));var l=t.current,n=zt();Xh(l,n,e,t,null,null)},ji.prototype.unmount=hs.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Xh(e.current,2,null,e,null,null),mi(),t[bn]=null}};function ji(e){this._internalRoot=e}ji.prototype.unstable_scheduleHydration=function(e){if(e){var t=ao();e={blockedOn:null,target:e,priority:t};for(var l=0;l<Zl.length&&t!==0&&t<Zl[l].priority;l++);Zl.splice(l,0,e),l===0&&Kh(e)}};var Wh=c.version;if(Wh!=="19.2.7")throw Error(r(527,Wh,"19.2.7"));k.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=p(t),e=e!==null?S(e):null,e=e===null?null:e.stateNode,e};var ev={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var wi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!wi.isDisabled&&wi.supportsFiber)try{ya=wi.inject(ev),Et=wi}catch{}}return ru.createRoot=function(e,t){if(!f(e))throw Error(r(299));var l=!1,n="",u=ad,i=ud,o=id;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(u=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=qh(e,1,!1,null,null,l,n,null,u,i,o,$h),e[bn]=t.current,Jr(e),new hs(t)},ru.hydrateRoot=function(e,t,l){if(!f(e))throw Error(r(299));var n=!1,u="",i=ad,o=ud,m=id,b=null;return l!=null&&(l.unstable_strictMode===!0&&(n=!0),l.identifierPrefix!==void 0&&(u=l.identifierPrefix),l.onUncaughtError!==void 0&&(i=l.onUncaughtError),l.onCaughtError!==void 0&&(o=l.onCaughtError),l.onRecoverableError!==void 0&&(m=l.onRecoverableError),l.formState!==void 0&&(b=l.formState)),t=qh(e,1,!0,t,l??null,n,u,b,i,o,m,$h),t.context=Yh(null),l=t.current,n=zt(),n=nc(n),u=Nl(n),u.callback=null,Dl(l,u,n),l=n,t.current.lanes=l,va(t,l),tl(t),e[bn]=t.current,Jr(e),new ji(t)},ru.version="19.2.7",ru}var cm;function fv(){if(cm)return ps.exports;cm=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(c){console.error(c)}}return a(),ps.exports=ov(),ps.exports}var dv=fv();const hv=wm(dv);/**
 * react-router v7.18.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */var ws=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,Bm=/^[\\/]{2}/;function mv(a,c){return c+a.replace(/\\/g,"/")}var rm="popstate";function sm(a){return typeof a=="object"&&a!=null&&"pathname"in a&&"search"in a&&"hash"in a&&"state"in a&&"key"in a}function yv(a={}){function c(r,f){var p;let d=(p=f.state)==null?void 0:p.masked,{pathname:h,search:y,hash:v}=d||r.location;return Cs("",{pathname:h,search:y,hash:v},f.state&&f.state.usr||null,f.state&&f.state.key||"default",d?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function s(r,f){return typeof f=="string"?f:fu(f)}return vv(c,s,null,a)}function Be(a,c){if(a===!1||a===null||typeof a>"u")throw new Error(c)}function Jt(a,c){if(!a){typeof console<"u"&&console.warn(c);try{throw new Error(c)}catch{}}}function pv(){return Math.random().toString(36).substring(2,10)}function om(a,c){return{usr:a.state,key:a.key,idx:c,masked:a.mask?{pathname:a.pathname,search:a.search,hash:a.hash}:void 0}}function Cs(a,c,s=null,r,f){return{pathname:typeof a=="string"?a:a.pathname,search:"",hash:"",...typeof c=="string"?ra(c):c,state:s,key:c&&c.key||r||pv(),mask:f}}function fu({pathname:a="/",search:c="",hash:s=""}){return c&&c!=="?"&&(a+=c.charAt(0)==="?"?c:"?"+c),s&&s!=="#"&&(a+=s.charAt(0)==="#"?s:"#"+s),a}function ra(a){let c={};if(a){let s=a.indexOf("#");s>=0&&(c.hash=a.substring(s),a=a.substring(0,s));let r=a.indexOf("?");r>=0&&(c.search=a.substring(r),a=a.substring(0,r)),a&&(c.pathname=a)}return c}function vv(a,c,s,r={}){let{window:f=document.defaultView,v5Compat:d=!1}=r,h=f.history,y="POP",v=null,p=S();p==null&&(p=0,h.replaceState({...h.state,idx:p},""));function S(){return(h.state||{idx:null}).idx}function g(){y="POP";let w=S(),O=w==null?null:w-p;p=w,v&&v({action:y,location:X.location,delta:O})}function D(w,O){y="PUSH";let V=sm(w)?w:Cs(X.location,w,O);p=S()+1;let Q=om(V,p),P=X.createHref(V.mask||V);try{h.pushState(Q,"",P)}catch(Y){if(Y instanceof DOMException&&Y.name==="DataCloneError")throw Y;f.location.assign(P)}d&&v&&v({action:y,location:X.location,delta:1})}function L(w,O){y="REPLACE";let V=sm(w)?w:Cs(X.location,w,O);p=S();let Q=om(V,p),P=X.createHref(V.mask||V);h.replaceState(Q,"",P),d&&v&&v({action:y,location:X.location,delta:0})}function G(w){return gv(f,w)}let X={get action(){return y},get location(){return a(f,h)},listen(w){if(v)throw new Error("A history only accepts one active listener");return f.addEventListener(rm,g),v=w,()=>{f.removeEventListener(rm,g),v=null}},createHref(w){return c(f,w)},createURL:G,encodeLocation(w){let O=G(w);return{pathname:O.pathname,search:O.search,hash:O.hash}},push:D,replace:L,go(w){return h.go(w)}};return X}function gv(a,c,s=!1){let r="http://localhost";a&&(r=a.location.origin!=="null"?a.location.origin:a.location.href),Be(r,"No window.location.(origin|href) available to create URL");let f=typeof c=="string"?c:fu(c);return f=f.replace(/ $/,"%20"),!s&&Bm.test(f)&&(f=r+f),new URL(f,r)}function Hm(a,c,s="/"){return Sv(a,c,s,!1)}function Sv(a,c,s,r,f){let d=typeof c=="string"?ra(c):c,h=El(d.pathname||"/",s);if(h==null)return null;let y=bv(a),v=null,p=Dv(h);for(let S=0;v==null&&S<y.length;++S)v=Nv(y[S],p,r);return v}function bv(a){let c=Lm(a);return Ev(c),c}function Lm(a,c=[],s=[],r="",f=!1){let d=(h,y,v=f,p)=>{let S={relativePath:p===void 0?h.path||"":p,caseSensitive:h.caseSensitive===!0,childrenIndex:y,route:h};if(S.relativePath.startsWith("/")){if(!S.relativePath.startsWith(r)&&v)return;Be(S.relativePath.startsWith(r),`Absolute route path "${S.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),S.relativePath=S.relativePath.slice(r.length)}let g=Kt([r,S.relativePath]),D=s.concat(S);h.children&&h.children.length>0&&(Be(h.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${g}".`),Lm(h.children,c,D,g,v)),!(h.path==null&&!h.index)&&c.push({path:g,score:Cv(g,h.index),routesMeta:D.map((L,G)=>{let[X,w]=Xm(L.relativePath,L.caseSensitive,G===D.length-1);return{...L,matcher:X,compiledParams:w}})})};return a.forEach((h,y)=>{var v;if(h.path===""||!((v=h.path)!=null&&v.includes("?")))d(h,y);else for(let p of qm(h.path))d(h,y,!0,p)}),c}function qm(a){let c=a.split("/");if(c.length===0)return[];let[s,...r]=c,f=s.endsWith("?"),d=s.replace(/\?$/,"");if(r.length===0)return f?[d,""]:[d];let h=qm(r.join("/")),y=[];return y.push(...h.map(v=>v===""?d:[d,v].join("/"))),f&&y.push(...h),y.map(v=>a.startsWith("/")&&v===""?"/":v)}function Ev(a){a.sort((c,s)=>c.score!==s.score?s.score-c.score:zv(c.routesMeta.map(r=>r.childrenIndex),s.routesMeta.map(r=>r.childrenIndex)))}var xv=/^:[\w-]+$/,Rv=3,Av=2,Tv=1,Ov=10,_v=-2,fm=a=>a==="*";function Cv(a,c){let s=a.split("/"),r=s.length;return s.some(fm)&&(r+=_v),c&&(r+=Av),s.filter(f=>!fm(f)).reduce((f,d)=>f+(xv.test(d)?Rv:d===""?Tv:Ov),r)}function zv(a,c){return a.length===c.length&&a.slice(0,-1).every((r,f)=>r===c[f])?a[a.length-1]-c[c.length-1]:0}function Nv(a,c,s=!1){let{routesMeta:r}=a,f={},d="/",h=[];for(let y=0;y<r.length;++y){let v=r[y],p=y===r.length-1,S=d==="/"?c:c.slice(d.length)||"/",g={path:v.relativePath,caseSensitive:v.caseSensitive,end:p},D=v.matcher&&v.compiledParams?Ym(g,S,v.matcher,v.compiledParams):Vi(g,S),L=v.route;if(!D&&p&&s&&!r[r.length-1].route.index&&(D=Vi({path:v.relativePath,caseSensitive:v.caseSensitive,end:!1},S)),!D)return null;Object.assign(f,D.params),h.push({params:f,pathname:Kt([d,D.pathname]),pathnameBase:jv(Kt([d,D.pathnameBase])),route:L}),D.pathnameBase!=="/"&&(d=Kt([d,D.pathnameBase]))}return h}function Vi(a,c){typeof a=="string"&&(a={path:a,caseSensitive:!1,end:!0});let[s,r]=Xm(a.path,a.caseSensitive,a.end);return Ym(a,c,s,r)}function Ym(a,c,s,r){let f=c.match(s);if(!f)return null;let d=f[0],h=d.replace(/(.)\/+$/,"$1"),y=f.slice(1);return{params:r.reduce((p,{paramName:S,isOptional:g},D)=>{if(S==="*"){let G=y[D]||"";h=d.slice(0,d.length-G.length).replace(/(.)\/+$/,"$1")}const L=y[D];return g&&!L?p[S]=void 0:p[S]=(L||"").replace(/%2F/g,"/"),p},{}),pathname:d,pathnameBase:h,pattern:a}}function Xm(a,c=!1,s=!0){Jt(a==="*"||!a.endsWith("*")||a.endsWith("/*"),`Route path "${a}" will be treated as if it were "${a.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${a.replace(/\*$/,"/*")}".`);let r=[],f="^"+a.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(h,y,v,p,S)=>{if(r.push({paramName:y,isOptional:v!=null}),v){let g=S.charAt(p+h.length);return g&&g!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return a.endsWith("*")?(r.push({paramName:"*"}),f+=a==="*"||a==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?f+="\\/*$":a!==""&&a!=="/"&&(f+="(?:(?=\\/|$))"),[new RegExp(f,c?void 0:"i"),r]}function Dv(a){try{return a.split("/").map(c=>decodeURIComponent(c).replace(/\//g,"%2F")).join("/")}catch(c){return Jt(!1,`The URL path "${a}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${c}).`),a}}function El(a,c){if(c==="/")return a;if(!a.toLowerCase().startsWith(c.toLowerCase()))return null;let s=c.endsWith("/")?c.length-1:c.length,r=a.charAt(s);return r&&r!=="/"?null:a.slice(s)||"/"}function Mv(a,c="/"){let{pathname:s,search:r="",hash:f=""}=typeof a=="string"?ra(a):a,d;return s?(s=Gm(s),s.startsWith("/")?d=dm(s.substring(1),"/"):d=dm(s,c)):d=c,{pathname:d,search:wv(r),hash:Bv(f)}}function dm(a,c){let s=Qi(c).split("/");return a.split("/").forEach(f=>{f===".."?s.length>1&&s.pop():f!=="."&&s.push(f)}),s.length>1?s.join("/"):"/"}function bs(a,c,s,r){return`Cannot include a '${a}' character in a manually specified \`to.${c}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${s}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Uv(a){return a.filter((c,s)=>s===0||c.route.path&&c.route.path.length>0)}function Bs(a){let c=Uv(a);return c.map((s,r)=>r===c.length-1?s.pathname:s.pathnameBase)}function Ji(a,c,s,r=!1){let f;typeof a=="string"?f=ra(a):(f={...a},Be(!f.pathname||!f.pathname.includes("?"),bs("?","pathname","search",f)),Be(!f.pathname||!f.pathname.includes("#"),bs("#","pathname","hash",f)),Be(!f.search||!f.search.includes("#"),bs("#","search","hash",f)));let d=a===""||f.pathname==="",h=d?"/":f.pathname,y;if(h==null)y=s;else{let g=c.length-1;if(!r&&h.startsWith("..")){let D=h.split("/");for(;D[0]==="..";)D.shift(),g-=1;f.pathname=D.join("/")}y=g>=0?c[g]:"/"}let v=Mv(f,y),p=h&&h!=="/"&&h.endsWith("/"),S=(d||h===".")&&s.endsWith("/");return!v.pathname.endsWith("/")&&(p||S)&&(v.pathname+="/"),v}var Gm=a=>a.replace(/[\\/]{2,}/g,"/"),Kt=a=>Gm(a.join("/")),Qi=a=>a.replace(/\/+$/,""),jv=a=>Qi(a).replace(/^\/*/,"/"),wv=a=>!a||a==="?"?"":a.startsWith("?")?a:"?"+a,Bv=a=>!a||a==="#"?"":a.startsWith("#")?a:"#"+a,Hv=class{constructor(a,c,s,r=!1){this.status=a,this.statusText=c||"",this.internal=r,s instanceof Error?(this.data=s.toString(),this.error=s):this.data=s}};function Lv(a){return a!=null&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.internal=="boolean"&&"data"in a}function qv(a){let c=a.map(s=>s.route.path).filter(Boolean);return Kt(c)||"/"}var Vm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Qm(a,c){let s=a;if(typeof s!="string"||!ws.test(s))return{absoluteURL:void 0,isExternal:!1,to:s};let r=s,f=!1;if(Vm)try{let d=new URL(window.location.href),h=Bm.test(s)?new URL(mv(s,d.protocol)):new URL(s),y=El(h.pathname,c);h.origin===d.origin&&y!=null?s=y+h.search+h.hash:f=!0}catch{Jt(!1,`<Link to="${s}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:f,to:s}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Zm=["POST","PUT","PATCH","DELETE"];new Set(Zm);var Yv=["GET",...Zm];new Set(Yv);var Xv=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function Gv(a){try{return Xv.includes(new URL(a).protocol)}catch{return!1}}var sa=_.createContext(null);sa.displayName="DataRouter";var Fi=_.createContext(null);Fi.displayName="DataRouterState";var km=_.createContext(!1);function Vv(){return _.useContext(km)}var Km=_.createContext({isTransitioning:!1});Km.displayName="ViewTransition";var Qv=_.createContext(new Map);Qv.displayName="Fetchers";var Zv=_.createContext(null);Zv.displayName="Await";var Nt=_.createContext(null);Nt.displayName="Navigation";var hu=_.createContext(null);hu.displayName="Location";var Ft=_.createContext({outlet:null,matches:[],isDataRoute:!1});Ft.displayName="Route";var Hs=_.createContext(null);Hs.displayName="RouteError";var Jm="REACT_ROUTER_ERROR",kv="REDIRECT",Kv="ROUTE_ERROR_RESPONSE";function Jv(a){if(a.startsWith(`${Jm}:${kv}:{`))try{let c=JSON.parse(a.slice(28));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string"&&typeof c.location=="string"&&typeof c.reloadDocument=="boolean"&&typeof c.replace=="boolean")return c}catch{}}function Fv(a){if(a.startsWith(`${Jm}:${Kv}:{`))try{let c=JSON.parse(a.slice(40));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string")return new Hv(c.status,c.statusText,c.data)}catch{}}function $v(a,{relative:c}={}){Be(oa(),"useHref() may be used only in the context of a <Router> component.");let{basename:s,navigator:r}=_.useContext(Nt),{hash:f,pathname:d,search:h}=mu(a,{relative:c}),y=d;return s!=="/"&&(y=d==="/"?s:Kt([s,d])),r.createHref({pathname:y,search:h,hash:f})}function oa(){return _.useContext(hu)!=null}function $t(){return Be(oa(),"useLocation() may be used only in the context of a <Router> component."),_.useContext(hu).location}var Fm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function $m(a){_.useContext(Nt).static||_.useLayoutEffect(a)}function $i(){let{isDataRoute:a}=_.useContext(Ft);return a?f1():Wv()}function Wv(){Be(oa(),"useNavigate() may be used only in the context of a <Router> component.");let a=_.useContext(sa),{basename:c,navigator:s}=_.useContext(Nt),{matches:r}=_.useContext(Ft),{pathname:f}=$t(),d=JSON.stringify(Bs(r)),h=_.useRef(!1);return $m(()=>{h.current=!0}),_.useCallback((v,p={})=>{if(Jt(h.current,Fm),!h.current)return;if(typeof v=="number"){s.go(v);return}let S=Ji(v,JSON.parse(d),f,p.relative==="path");a==null&&c!=="/"&&(S.pathname=S.pathname==="/"?c:Kt([c,S.pathname])),(p.replace?s.replace:s.push)(S,p.state,p)},[c,s,d,f,a])}var Pv=_.createContext(null);function Iv(a){let c=_.useContext(Ft).outlet;return _.useMemo(()=>c&&_.createElement(Pv.Provider,{value:a},c),[c,a])}function mu(a,{relative:c}={}){let{matches:s}=_.useContext(Ft),{pathname:r}=$t(),f=JSON.stringify(Bs(s));return _.useMemo(()=>Ji(a,JSON.parse(f),r,c==="path"),[a,f,r,c])}function e1(a,c){return Wm(a,c)}function Wm(a,c,s){var w;Be(oa(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=_.useContext(Nt),{matches:f}=_.useContext(Ft),d=f[f.length-1],h=d?d.params:{},y=d?d.pathname:"/",v=d?d.pathnameBase:"/",p=d&&d.route;{let O=p&&p.path||"";Im(y,!p||O.endsWith("*")||O.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${y}" (under <Route path="${O}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.

Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}/*`}">.`)}let S=$t(),g;if(c){let O=typeof c=="string"?ra(c):c;Be(v==="/"||((w=O.pathname)==null?void 0:w.startsWith(v)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${v}" but pathname "${O.pathname}" was given in the \`location\` prop.`),g=O}else g=S;let D=g.pathname||"/",L=D;if(v!=="/"){let O=v.replace(/^\//,"").split("/");L="/"+D.replace(/^\//,"").split("/").slice(O.length).join("/")}let G=s&&s.state.matches.length?s.state.matches.map(O=>Object.assign(O,{route:s.manifest[O.route.id]||O.route})):Hm(a,{pathname:L});Jt(p||G!=null,`No routes matched location "${g.pathname}${g.search}${g.hash}" `),Jt(G==null||G[G.length-1].route.element!==void 0||G[G.length-1].route.Component!==void 0||G[G.length-1].route.lazy!==void 0,`Matched leaf route at location "${g.pathname}${g.search}${g.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let X=u1(G&&G.map(O=>Object.assign({},O,{params:Object.assign({},h,O.params),pathname:Kt([v,r.encodeLocation?r.encodeLocation(O.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?v:Kt([v,r.encodeLocation?r.encodeLocation(O.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathnameBase])})),f,s);return c&&X?_.createElement(hu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...g},navigationType:"POP"}},X):X}function t1(){let a=o1(),c=Lv(a)?`${a.status} ${a.statusText}`:a instanceof Error?a.message:JSON.stringify(a),s=a instanceof Error?a.stack:null,r="rgba(200,200,200, 0.5)",f={padding:"0.5rem",backgroundColor:r},d={padding:"2px 4px",backgroundColor:r},h=null;return console.error("Error handled by React Router default ErrorBoundary:",a),h=_.createElement(_.Fragment,null,_.createElement("p",null,"💿 Hey developer 👋"),_.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",_.createElement("code",{style:d},"ErrorBoundary")," or"," ",_.createElement("code",{style:d},"errorElement")," prop on your route.")),_.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},c),s?_.createElement("pre",{style:f},s):null,h)}var l1=_.createElement(t1,null),Pm=class extends _.Component{constructor(a){super(a),this.state={location:a.location,revalidation:a.revalidation,error:a.error}}static getDerivedStateFromError(a){return{error:a}}static getDerivedStateFromProps(a,c){return c.location!==a.location||c.revalidation!=="idle"&&a.revalidation==="idle"?{error:a.error,location:a.location,revalidation:a.revalidation}:{error:a.error!==void 0?a.error:c.error,location:c.location,revalidation:a.revalidation||c.revalidation}}componentDidCatch(a,c){this.props.onError?this.props.onError(a,c):console.error("React Router caught the following error during render",a)}render(){let a=this.state.error;if(this.context&&typeof a=="object"&&a&&"digest"in a&&typeof a.digest=="string"){const s=Fv(a.digest);s&&(a=s)}let c=a!==void 0?_.createElement(Ft.Provider,{value:this.props.routeContext},_.createElement(Hs.Provider,{value:a,children:this.props.component})):this.props.children;return this.context?_.createElement(n1,{error:a},c):c}};Pm.contextType=km;var Es=new WeakMap;function n1({children:a,error:c}){let{basename:s}=_.useContext(Nt);if(typeof c=="object"&&c&&"digest"in c&&typeof c.digest=="string"){let r=Jv(c.digest);if(r){let f=Es.get(c);if(f)throw f;let d=Qm(r.location,s),h=d.absoluteURL||d.to;if(Gv(h))throw new Error("Invalid redirect location");if(Vm&&!Es.get(c))if(d.isExternal||r.reloadDocument)window.location.href=h;else{const y=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(d.to,{replace:r.replace}));throw Es.set(c,y),y}return _.createElement("meta",{httpEquiv:"refresh",content:`0;url=${h}`})}}return a}function a1({routeContext:a,match:c,children:s}){let r=_.useContext(sa);return r&&r.static&&r.staticContext&&(c.route.errorElement||c.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=c.route.id),_.createElement(Ft.Provider,{value:a},s)}function u1(a,c=[],s){let r=s==null?void 0:s.state;if(a==null){if(!r)return null;if(r.errors)a=r.matches;else if(c.length===0&&!r.initialized&&r.matches.length>0)a=r.matches;else return null}let f=a,d=r==null?void 0:r.errors;if(d!=null){let S=f.findIndex(g=>g.route.id&&(d==null?void 0:d[g.route.id])!==void 0);Be(S>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(d).join(",")}`),f=f.slice(0,Math.min(f.length,S+1))}let h=!1,y=-1;if(s&&r){h=r.renderFallback;for(let S=0;S<f.length;S++){let g=f[S];if((g.route.HydrateFallback||g.route.hydrateFallbackElement)&&(y=S),g.route.id){let{loaderData:D,errors:L}=r,G=g.route.loader&&!D.hasOwnProperty(g.route.id)&&(!L||L[g.route.id]===void 0);if(g.route.lazy||G){s.isStatic&&(h=!0),y>=0?f=f.slice(0,y+1):f=[f[0]];break}}}}let v=s==null?void 0:s.onError,p=r&&v?(S,g)=>{var D,L;v(S,{location:r.location,params:((L=(D=r.matches)==null?void 0:D[0])==null?void 0:L.params)??{},pattern:qv(r.matches),errorInfo:g})}:void 0;return f.reduceRight((S,g,D)=>{let L,G=!1,X=null,w=null;r&&(L=d&&g.route.id?d[g.route.id]:void 0,X=g.route.errorElement||l1,h&&(y<0&&D===0?(Im("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),G=!0,w=null):y===D&&(G=!0,w=g.route.hydrateFallbackElement||null)));let O=c.concat(f.slice(0,D+1)),V=()=>{let Q;return L?Q=X:G?Q=w:g.route.Component?Q=_.createElement(g.route.Component,null):g.route.element?Q=g.route.element:Q=S,_.createElement(a1,{match:g,routeContext:{outlet:S,matches:O,isDataRoute:r!=null},children:Q})};return r&&(g.route.ErrorBoundary||g.route.errorElement||D===0)?_.createElement(Pm,{location:r.location,revalidation:r.revalidation,component:X,error:L,children:V(),routeContext:{outlet:null,matches:O,isDataRoute:!0},onError:p}):V()},null)}function Ls(a){return`${a} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function i1(a){let c=_.useContext(sa);return Be(c,Ls(a)),c}function c1(a){let c=_.useContext(Fi);return Be(c,Ls(a)),c}function r1(a){let c=_.useContext(Ft);return Be(c,Ls(a)),c}function qs(a){let c=r1(a),s=c.matches[c.matches.length-1];return Be(s.route.id,`${a} can only be used on routes that contain a unique "id"`),s.route.id}function s1(){return qs("useRouteId")}function o1(){var r;let a=_.useContext(Hs),c=c1("useRouteError"),s=qs("useRouteError");return a!==void 0?a:(r=c.errors)==null?void 0:r[s]}function f1(){let{router:a}=i1("useNavigate"),c=qs("useNavigate"),s=_.useRef(!1);return $m(()=>{s.current=!0}),_.useCallback(async(f,d={})=>{Jt(s.current,Fm),s.current&&(typeof f=="number"?await a.navigate(f):await a.navigate(f,{fromRouteId:c,...d}))},[a,c])}var hm={};function Im(a,c,s){!c&&!hm[a]&&(hm[a]=!0,Jt(!1,s))}_.memo(d1);function d1({routes:a,manifest:c,future:s,state:r,isStatic:f,onError:d}){return Wm(a,void 0,{manifest:c,state:r,isStatic:f,onError:d})}function ey({to:a,replace:c,state:s,relative:r}){Be(oa(),"<Navigate> may be used only in the context of a <Router> component.");let{static:f}=_.useContext(Nt);Jt(!f,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:d}=_.useContext(Ft),{pathname:h}=$t(),y=$i(),v=Ji(a,Bs(d),h,r==="path"),p=JSON.stringify(v);return _.useEffect(()=>{y(JSON.parse(p),{replace:c,state:s,relative:r})},[y,p,r,c,s]),null}function ty(a){return Iv(a.context)}function ll(a){Be(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function h1({basename:a="/",children:c=null,location:s,navigationType:r="POP",navigator:f,static:d=!1,useTransitions:h}){Be(!oa(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let y=a.replace(/^\/*/,"/"),v=_.useMemo(()=>({basename:y,navigator:f,static:d,useTransitions:h,future:{}}),[y,f,d,h]);typeof s=="string"&&(s=ra(s));let{pathname:p="/",search:S="",hash:g="",state:D=null,key:L="default",mask:G}=s,X=_.useMemo(()=>{let w=El(p,y);return w==null?null:{location:{pathname:w,search:S,hash:g,state:D,key:L,mask:G},navigationType:r}},[y,p,S,g,D,L,r,G]);return Jt(X!=null,`<Router basename="${y}"> is not able to match the URL "${p}${S}${g}" because it does not start with the basename, so the <Router> won't render anything.`),X==null?null:_.createElement(Nt.Provider,{value:v},_.createElement(hu.Provider,{children:c,value:X}))}function m1({children:a,location:c}){return e1(zs(a),c)}function zs(a,c=[]){let s=[];return _.Children.forEach(a,(r,f)=>{if(!_.isValidElement(r))return;let d=[...c,f];if(r.type===_.Fragment){s.push.apply(s,zs(r.props.children,d));return}Be(r.type===ll,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Be(!r.props.index||!r.props.children,"An index route cannot have child routes.");let h={id:r.props.id||d.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(h.children=zs(r.props.children,d)),s.push(h)}),s}var Li="get",qi="application/x-www-form-urlencoded";function Wi(a){return typeof HTMLElement<"u"&&a instanceof HTMLElement}function y1(a){return Wi(a)&&a.tagName.toLowerCase()==="button"}function p1(a){return Wi(a)&&a.tagName.toLowerCase()==="form"}function v1(a){return Wi(a)&&a.tagName.toLowerCase()==="input"}function g1(a){return!!(a.metaKey||a.altKey||a.ctrlKey||a.shiftKey)}function S1(a,c){return a.button===0&&(!c||c==="_self")&&!g1(a)}var Bi=null;function b1(){if(Bi===null)try{new FormData(document.createElement("form"),0),Bi=!1}catch{Bi=!0}return Bi}var E1=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function xs(a){return a!=null&&!E1.has(a)?(Jt(!1,`"${a}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${qi}"`),null):a}function x1(a,c){let s,r,f,d,h;if(p1(a)){let y=a.getAttribute("action");r=y?El(y,c):null,s=a.getAttribute("method")||Li,f=xs(a.getAttribute("enctype"))||qi,d=new FormData(a)}else if(y1(a)||v1(a)&&(a.type==="submit"||a.type==="image")){let y=a.form;if(y==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let v=a.getAttribute("formaction")||y.getAttribute("action");if(r=v?El(v,c):null,s=a.getAttribute("formmethod")||y.getAttribute("method")||Li,f=xs(a.getAttribute("formenctype"))||xs(y.getAttribute("enctype"))||qi,d=new FormData(y,a),!b1()){let{name:p,type:S,value:g}=a;if(S==="image"){let D=p?`${p}.`:"";d.append(`${D}x`,"0"),d.append(`${D}y`,"0")}else p&&d.append(p,g)}}else{if(Wi(a))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');s=Li,r=null,f=qi,h=a}return d&&f==="text/plain"&&(h=d,d=void 0),{action:r,method:s.toLowerCase(),encType:f,formData:d,body:h}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Ys(a,c){if(a===!1||a===null||typeof a>"u")throw new Error(c)}function ly(a,c,s,r){let f=typeof a=="string"?new URL(a,typeof window>"u"?"server://singlefetch/":window.location.origin):a;return s?f.pathname.endsWith("/")?f.pathname=`${f.pathname}_.${r}`:f.pathname=`${f.pathname}.${r}`:f.pathname==="/"?f.pathname=`_root.${r}`:c&&El(f.pathname,c)==="/"?f.pathname=`${Qi(c)}/_root.${r}`:f.pathname=`${Qi(f.pathname)}.${r}`,f}async function R1(a,c){if(a.id in c)return c[a.id];try{let s=await import(a.module);return c[a.id]=s,s}catch(s){return console.error(`Error loading route module \`${a.module}\`, reloading page...`),console.error(s),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function A1(a){return a==null?!1:a.href==null?a.rel==="preload"&&typeof a.imageSrcSet=="string"&&typeof a.imageSizes=="string":typeof a.rel=="string"&&typeof a.href=="string"}async function T1(a,c,s){let r=await Promise.all(a.map(async f=>{let d=c.routes[f.route.id];if(d){let h=await R1(d,s);return h.links?h.links():[]}return[]}));return z1(r.flat(1).filter(A1).filter(f=>f.rel==="stylesheet"||f.rel==="preload").map(f=>f.rel==="stylesheet"?{...f,rel:"prefetch",as:"style"}:{...f,rel:"prefetch"}))}function mm(a,c,s,r,f,d){let h=(v,p)=>s[p]?v.route.id!==s[p].route.id:!0,y=(v,p)=>{var S;return s[p].pathname!==v.pathname||((S=s[p].route.path)==null?void 0:S.endsWith("*"))&&s[p].params["*"]!==v.params["*"]};return d==="assets"?c.filter((v,p)=>h(v,p)||y(v,p)):d==="data"?c.filter((v,p)=>{var g;let S=r.routes[v.route.id];if(!S||!S.hasLoader)return!1;if(h(v,p)||y(v,p))return!0;if(v.route.shouldRevalidate){let D=v.route.shouldRevalidate({currentUrl:new URL(f.pathname+f.search+f.hash,window.origin),currentParams:((g=s[0])==null?void 0:g.params)||{},nextUrl:new URL(a,window.origin),nextParams:v.params,defaultShouldRevalidate:!0});if(typeof D=="boolean")return D}return!0}):[]}function O1(a,c,{includeHydrateFallback:s}={}){return _1(a.map(r=>{let f=c.routes[r.route.id];if(!f)return[];let d=[f.module];return f.clientActionModule&&(d=d.concat(f.clientActionModule)),f.clientLoaderModule&&(d=d.concat(f.clientLoaderModule)),s&&f.hydrateFallbackModule&&(d=d.concat(f.hydrateFallbackModule)),f.imports&&(d=d.concat(f.imports)),d}).flat(1))}function _1(a){return[...new Set(a)]}function C1(a){let c={},s=Object.keys(a).sort();for(let r of s)c[r]=a[r];return c}function z1(a,c){let s=new Set;return new Set(c),a.reduce((r,f)=>{let d=JSON.stringify(C1(f));return s.has(d)||(s.add(d),r.push({key:d,link:f})),r},[])}function Xs(){let a=_.useContext(sa);return Ys(a,"You must render this element inside a <DataRouterContext.Provider> element"),a}function N1(){let a=_.useContext(Fi);return Ys(a,"You must render this element inside a <DataRouterStateContext.Provider> element"),a}var Gs=_.createContext(void 0);Gs.displayName="FrameworkContext";function Pi(){let a=_.useContext(Gs);return Ys(a,"You must render this element inside a <HydratedRouter> element"),a}function D1(a,c){let s=_.useContext(Gs),[r,f]=_.useState(!1),[d,h]=_.useState(!1),{onFocus:y,onBlur:v,onMouseEnter:p,onMouseLeave:S,onTouchStart:g}=c,D=_.useRef(null);_.useEffect(()=>{if(a==="render"&&h(!0),a==="viewport"){let X=O=>{O.forEach(V=>{h(V.isIntersecting)})},w=new IntersectionObserver(X,{threshold:.5});return D.current&&w.observe(D.current),()=>{w.disconnect()}}},[a]),_.useEffect(()=>{if(r){let X=setTimeout(()=>{h(!0)},100);return()=>{clearTimeout(X)}}},[r]);let L=()=>{f(!0)},G=()=>{f(!1),h(!1)};return s?a!=="intent"?[d,D,{}]:[d,D,{onFocus:su(y,L),onBlur:su(v,G),onMouseEnter:su(p,L),onMouseLeave:su(S,G),onTouchStart:su(g,L)}]:[!1,D,{}]}function su(a,c){return s=>{a&&a(s),s.defaultPrevented||c(s)}}function M1({page:a,...c}){let s=Vv(),{nonce:r}=Pi(),{router:f}=Xs(),d=_.useMemo(()=>Hm(f.routes,a,f.basename),[f.routes,a,f.basename]);return d?(c.nonce==null&&r&&(c={...c,nonce:r}),s?_.createElement(j1,{page:a,matches:d,...c}):_.createElement(w1,{page:a,matches:d,...c})):null}function U1(a){let{manifest:c,routeModules:s}=Pi(),[r,f]=_.useState([]);return _.useEffect(()=>{let d=!1;return T1(a,c,s).then(h=>{d||f(h)}),()=>{d=!0}},[a,c,s]),r}function j1({page:a,matches:c,...s}){let r=$t(),{future:f}=Pi(),{basename:d}=Xs(),h=_.useMemo(()=>{if(a===r.pathname+r.search+r.hash)return[];let y=ly(a,d,f.v8_trailingSlashAwareDataRequests,"rsc"),v=!1,p=[];for(let S of c)typeof S.route.shouldRevalidate=="function"?v=!0:p.push(S.route.id);return v&&p.length>0&&y.searchParams.set("_routes",p.join(",")),[y.pathname+y.search]},[d,f.v8_trailingSlashAwareDataRequests,a,r,c]);return _.createElement(_.Fragment,null,h.map(y=>_.createElement("link",{key:y,rel:"prefetch",as:"fetch",href:y,...s})))}function w1({page:a,matches:c,...s}){let r=$t(),{future:f,manifest:d,routeModules:h}=Pi(),{basename:y}=Xs(),{loaderData:v,matches:p}=N1(),S=_.useMemo(()=>mm(a,c,p,d,r,"data"),[a,c,p,d,r]),g=_.useMemo(()=>mm(a,c,p,d,r,"assets"),[a,c,p,d,r]),D=_.useMemo(()=>{if(a===r.pathname+r.search+r.hash)return[];let X=new Set,w=!1;if(c.forEach(V=>{var P;let Q=d.routes[V.route.id];!Q||!Q.hasLoader||(!S.some(Y=>Y.route.id===V.route.id)&&V.route.id in v&&((P=h[V.route.id])!=null&&P.shouldRevalidate)||Q.hasClientLoader?w=!0:X.add(V.route.id))}),X.size===0)return[];let O=ly(a,y,f.v8_trailingSlashAwareDataRequests,"data");return w&&X.size>0&&O.searchParams.set("_routes",c.filter(V=>X.has(V.route.id)).map(V=>V.route.id).join(",")),[O.pathname+O.search]},[y,f.v8_trailingSlashAwareDataRequests,v,r,d,S,c,a,h]),L=_.useMemo(()=>O1(g,d),[g,d]),G=U1(g);return _.createElement(_.Fragment,null,D.map(X=>_.createElement("link",{key:X,rel:"prefetch",as:"fetch",href:X,...s})),L.map(X=>_.createElement("link",{key:X,rel:"modulepreload",href:X,...s})),G.map(({key:X,link:w})=>_.createElement("link",{key:X,nonce:s.nonce,...w,crossOrigin:w.crossOrigin??s.crossOrigin})))}function B1(...a){return c=>{a.forEach(s=>{typeof s=="function"?s(c):s!=null&&(s.current=c)})}}var H1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{H1&&(window.__reactRouterVersion="7.18.0")}catch{}function L1({basename:a,children:c,useTransitions:s,window:r}){let f=_.useRef();f.current==null&&(f.current=yv({window:r,v5Compat:!0}));let d=f.current,[h,y]=_.useState({action:d.action,location:d.location}),v=_.useCallback(p=>{s===!1?y(p):_.startTransition(()=>y(p))},[s]);return _.useLayoutEffect(()=>d.listen(v),[d,v]),_.createElement(h1,{basename:a,children:c,location:h.location,navigationType:h.action,navigator:d,useTransitions:s})}var ny=_.forwardRef(function({onClick:c,discover:s="render",prefetch:r="none",relative:f,reloadDocument:d,replace:h,mask:y,state:v,target:p,to:S,preventScrollReset:g,viewTransition:D,defaultShouldRevalidate:L,...G},X){let{basename:w,navigator:O,useTransitions:V}=_.useContext(Nt),Q=typeof S=="string"&&ws.test(S),P=Qm(S,w);S=P.to;let Y=$v(S,{relative:f}),W=$t(),ee=null;if(y){let _e=Ji(y,[],W.mask?W.mask.pathname:"/",!0);w!=="/"&&(_e.pathname=_e.pathname==="/"?w:Kt([w,_e.pathname])),ee=O.createHref(_e)}let[Ee,Ne,He]=D1(r,G),be=G1(S,{replace:h,mask:y,state:v,target:p,preventScrollReset:g,relative:f,viewTransition:D,defaultShouldRevalidate:L,useTransitions:V});function ze(_e){c&&c(_e),_e.defaultPrevented||be(_e)}let ct=!(P.isExternal||d),De=_.createElement("a",{...G,...He,href:(ct?ee:void 0)||P.absoluteURL||Y,onClick:ct?ze:c,ref:B1(X,Ne),target:p,"data-discover":!Q&&s==="render"?"true":void 0});return Ee&&!Q?_.createElement(_.Fragment,null,De,_.createElement(M1,{page:Y})):De});ny.displayName="Link";var q1=_.forwardRef(function({"aria-current":c="page",caseSensitive:s=!1,className:r="",end:f=!1,style:d,to:h,viewTransition:y,children:v,...p},S){let g=mu(h,{relative:p.relative}),D=$t(),L=_.useContext(Fi),{navigator:G,basename:X}=_.useContext(Nt),w=L!=null&&K1(g)&&y===!0,O=G.encodeLocation?G.encodeLocation(g).pathname:g.pathname,V=D.pathname,Q=L&&L.navigation&&L.navigation.location?L.navigation.location.pathname:null;s||(V=V.toLowerCase(),Q=Q?Q.toLowerCase():null,O=O.toLowerCase()),Q&&X&&(Q=El(Q,X)||Q);const P=O!=="/"&&O.endsWith("/")?O.length-1:O.length;let Y=V===O||!f&&V.startsWith(O)&&V.charAt(P)==="/",W=Q!=null&&(Q===O||!f&&Q.startsWith(O)&&Q.charAt(O.length)==="/"),ee={isActive:Y,isPending:W,isTransitioning:w},Ee=Y?c:void 0,Ne;typeof r=="function"?Ne=r(ee):Ne=[r,Y?"active":null,W?"pending":null,w?"transitioning":null].filter(Boolean).join(" ");let He=typeof d=="function"?d(ee):d;return _.createElement(ny,{...p,"aria-current":Ee,className:Ne,ref:S,style:He,to:h,viewTransition:y},typeof v=="function"?v(ee):v)});q1.displayName="NavLink";var Y1=_.forwardRef(({discover:a="render",fetcherKey:c,navigate:s,reloadDocument:r,replace:f,state:d,method:h=Li,action:y,onSubmit:v,relative:p,preventScrollReset:S,viewTransition:g,defaultShouldRevalidate:D,...L},G)=>{let{useTransitions:X}=_.useContext(Nt),w=Z1(),O=k1(y,{relative:p}),V=h.toLowerCase()==="get"?"get":"post",Q=typeof y=="string"&&ws.test(y),P=Y=>{if(v&&v(Y),Y.defaultPrevented)return;Y.preventDefault();let W=Y.nativeEvent.submitter,ee=(W==null?void 0:W.getAttribute("formmethod"))||h,Ee=()=>w(W||Y.currentTarget,{fetcherKey:c,method:ee,navigate:s,replace:f,state:d,relative:p,preventScrollReset:S,viewTransition:g,defaultShouldRevalidate:D});X&&s!==!1?_.startTransition(()=>Ee()):Ee()};return _.createElement("form",{ref:G,method:V,action:O,onSubmit:r?v:P,...L,"data-discover":!Q&&a==="render"?"true":void 0})});Y1.displayName="Form";function X1(a){return`${a} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function ay(a){let c=_.useContext(sa);return Be(c,X1(a)),c}function G1(a,{target:c,replace:s,mask:r,state:f,preventScrollReset:d,relative:h,viewTransition:y,defaultShouldRevalidate:v,useTransitions:p}={}){let S=$i(),g=$t(),D=mu(a,{relative:h});return _.useCallback(L=>{if(S1(L,c)){L.preventDefault();let G=s!==void 0?s:fu(g)===fu(D),X=()=>S(a,{replace:G,mask:r,state:f,preventScrollReset:d,relative:h,viewTransition:y,defaultShouldRevalidate:v});p?_.startTransition(()=>X()):X()}},[g,S,D,s,r,f,c,a,d,h,y,v,p])}var V1=0,Q1=()=>`__${String(++V1)}__`;function Z1(){let{router:a}=ay("useSubmit"),{basename:c}=_.useContext(Nt),s=s1(),r=a.fetch,f=a.navigate;return _.useCallback(async(d,h={})=>{let{action:y,method:v,encType:p,formData:S,body:g}=x1(d,c);if(h.navigate===!1){let D=h.fetcherKey||Q1();await r(D,s,h.action||y,{defaultShouldRevalidate:h.defaultShouldRevalidate,preventScrollReset:h.preventScrollReset,formData:S,body:g,formMethod:h.method||v,formEncType:h.encType||p,flushSync:h.flushSync})}else await f(h.action||y,{defaultShouldRevalidate:h.defaultShouldRevalidate,preventScrollReset:h.preventScrollReset,formData:S,body:g,formMethod:h.method||v,formEncType:h.encType||p,replace:h.replace,state:h.state,fromRouteId:s,flushSync:h.flushSync,viewTransition:h.viewTransition})},[r,f,c,s])}function k1(a,{relative:c}={}){let{basename:s}=_.useContext(Nt),r=_.useContext(Ft);Be(r,"useFormAction must be used inside a RouteContext");let[f]=r.matches.slice(-1),d={...mu(a||".",{relative:c})},h=$t();if(a==null){d.search=h.search;let y=new URLSearchParams(d.search),v=y.getAll("index");if(v.some(S=>S==="")){y.delete("index"),v.filter(g=>g).forEach(g=>y.append("index",g));let S=y.toString();d.search=S?`?${S}`:""}}return(!a||a===".")&&f.route.index&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),s!=="/"&&(d.pathname=d.pathname==="/"?s:Kt([s,d.pathname])),fu(d)}function K1(a,{relative:c}={}){let s=_.useContext(Km);Be(s!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=ay("useViewTransitionState"),f=mu(a,{relative:c});if(!s.isTransitioning)return!1;let d=El(s.currentLocation.pathname,r)||s.currentLocation.pathname,h=El(s.nextLocation.pathname,r)||s.nextLocation.pathname;return Vi(f.pathname,h)!=null||Vi(f.pathname,d)!=null}function uy(a,c){return function(){return a.apply(c,arguments)}}const{toString:J1}=Object.prototype,{getPrototypeOf:ia}=Object,{iterator:yu,toStringTag:iy}=Symbol,Zi=(({hasOwnProperty:a})=>(c,s)=>a.call(c,s))(Object.prototype),du=(a,c)=>{let s=a;const r=[];for(;s!=null&&s!==Object.prototype;){if(r.indexOf(s)!==-1)return!1;if(r.push(s),Zi(s,c))return!0;s=ia(s)}return!1},F1=(a,c)=>a!=null&&du(a,c)?a[c]:void 0,Vs=(a=>c=>{const s=J1.call(c);return a[s]||(a[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),Wt=a=>(a=a.toLowerCase(),c=>Vs(c)===a),Ii=a=>c=>typeof c===a,{isArray:vn}=Array,ca=Ii("undefined");function fa(a){return a!==null&&!ca(a)&&a.constructor!==null&&!ca(a.constructor)&&vt(a.constructor.isBuffer)&&a.constructor.isBuffer(a)}const cy=Wt("ArrayBuffer");function $1(a){let c;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?c=ArrayBuffer.isView(a):c=a&&a.buffer&&cy(a.buffer),c}const W1=Ii("string"),vt=Ii("function"),ry=Ii("number"),da=a=>a!==null&&typeof a=="object",P1=a=>a===!0||a===!1,Yi=a=>{if(!da(a))return!1;const c=ia(a);return(c===null||c===Object.prototype||ia(c)===null)&&!du(a,iy)&&!du(a,yu)},I1=a=>{if(!da(a)||fa(a))return!1;try{return Object.keys(a).length===0&&Object.getPrototypeOf(a)===Object.prototype}catch{return!1}},eg=Wt("Date"),tg=Wt("File"),lg=a=>!!(a&&typeof a.uri<"u"),ng=a=>a&&typeof a.getParts<"u",ag=Wt("Blob"),ug=Wt("FileList"),ig=a=>da(a)&&vt(a.pipe);function cg(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const ym=cg(),pm=typeof ym.FormData<"u"?ym.FormData:void 0,rg=a=>{if(!a)return!1;if(pm&&a instanceof pm)return!0;const c=ia(a);if(!c||c===Object.prototype||!vt(a.append))return!1;const s=Vs(a);return s==="formdata"||s==="object"&&vt(a.toString)&&a.toString()==="[object FormData]"},sg=Wt("URLSearchParams"),[og,fg,dg,hg]=["ReadableStream","Request","Response","Headers"].map(Wt),mg=a=>a.trim?a.trim():a.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function pu(a,c,{allOwnKeys:s=!1}={}){if(a===null||typeof a>"u")return;let r,f;if(typeof a!="object"&&(a=[a]),vn(a))for(r=0,f=a.length;r<f;r++)c.call(null,a[r],r,a);else{if(fa(a))return;const d=s?Object.getOwnPropertyNames(a):Object.keys(a),h=d.length;let y;for(r=0;r<h;r++)y=d[r],c.call(null,a[y],y,a)}}function sy(a,c){if(fa(a))return null;c=c.toLowerCase();const s=Object.keys(a);let r=s.length,f;for(;r-- >0;)if(f=s[r],c===f.toLowerCase())return f;return null}const yn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,oy=a=>!ca(a)&&a!==yn;function Ns(...a){const{caseless:c,skipUndefined:s}=oy(this)&&this||{},r={},f=(d,h)=>{if(h==="__proto__"||h==="constructor"||h==="prototype")return;const y=c&&typeof h=="string"&&sy(r,h)||h,v=Zi(r,y)?r[y]:void 0;Yi(v)&&Yi(d)?r[y]=Ns(v,d):Yi(d)?r[y]=Ns({},d):vn(d)?r[y]=d.slice():(!s||!ca(d))&&(r[y]=d)};for(let d=0,h=a.length;d<h;d++){const y=a[d];if(!y||fa(y)||(pu(y,f),typeof y!="object"||vn(y)))continue;const v=Object.getOwnPropertySymbols(y);for(let p=0;p<v.length;p++){const S=v[p];Og.call(y,S)&&f(y[S],S)}}return r}const yg=(a,c,s,{allOwnKeys:r}={})=>(pu(c,(f,d)=>{s&&vt(f)?Object.defineProperty(a,d,{__proto__:null,value:uy(f,s),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(a,d,{__proto__:null,value:f,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),a),pg=a=>(a.charCodeAt(0)===65279&&(a=a.slice(1)),a),vg=(a,c,s,r)=>{a.prototype=Object.create(c.prototype,r),Object.defineProperty(a.prototype,"constructor",{__proto__:null,value:a,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(a,"super",{__proto__:null,value:c.prototype}),s&&Object.assign(a.prototype,s)},gg=(a,c,s,r)=>{let f,d,h;const y={};if(c=c||{},a==null)return c;do{for(f=Object.getOwnPropertyNames(a),d=f.length;d-- >0;)h=f[d],(!r||r(h,a,c))&&!y[h]&&(c[h]=a[h],y[h]=!0);a=s!==!1&&ia(a)}while(a&&(!s||s(a,c))&&a!==Object.prototype);return c},Sg=(a,c,s)=>{a=String(a),(s===void 0||s>a.length)&&(s=a.length),s-=c.length;const r=a.indexOf(c,s);return r!==-1&&r===s},bg=a=>{if(!a)return null;if(vn(a))return a;let c=a.length;if(!ry(c))return null;const s=new Array(c);for(;c-- >0;)s[c]=a[c];return s},Eg=(a=>c=>a&&c instanceof a)(typeof Uint8Array<"u"&&ia(Uint8Array)),xg=(a,c)=>{const r=(a&&a[yu]).call(a);let f;for(;(f=r.next())&&!f.done;){const d=f.value;c.call(a,d[0],d[1])}},Rg=(a,c)=>{let s;const r=[];for(;(s=a.exec(c))!==null;)r.push(s);return r},Ag=Wt("HTMLFormElement"),Tg=a=>a.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(s,r,f){return r.toUpperCase()+f}),{propertyIsEnumerable:Og}=Object.prototype,_g=Wt("RegExp"),fy=(a,c)=>{const s=Object.getOwnPropertyDescriptors(a),r={};pu(s,(f,d)=>{let h;(h=c(f,d,a))!==!1&&(r[d]=h||f)}),Object.defineProperties(a,r)},Cg=a=>{fy(a,(c,s)=>{if(vt(a)&&["arguments","caller","callee"].includes(s))return!1;const r=a[s];if(vt(r)){if(c.enumerable=!1,"writable"in c){c.writable=!1;return}c.set||(c.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},zg=(a,c)=>{const s={},r=f=>{f.forEach(d=>{s[d]=!0})};return vn(a)?r(a):r(String(a).split(c)),s},Ng=()=>{},Dg=(a,c)=>a!=null&&Number.isFinite(a=+a)?a:c;function Mg(a){return!!(a&&vt(a.append)&&a[iy]==="FormData"&&a[yu])}const Ug=a=>{const c=new WeakSet,s=r=>{if(da(r)){if(c.has(r))return;if(fa(r))return r;if(!("toJSON"in r)){c.add(r);const f=vn(r)?[]:{};return pu(r,(d,h)=>{const y=s(d);!ca(y)&&(f[h]=y)}),c.delete(r),f}}return r};return s(a)},jg=Wt("AsyncFunction"),wg=a=>a&&(da(a)||vt(a))&&vt(a.then)&&vt(a.catch),dy=((a,c)=>a?setImmediate:c?((s,r)=>(yn.addEventListener("message",({source:f,data:d})=>{f===yn&&d===s&&r.length&&r.shift()()},!1),f=>{r.push(f),yn.postMessage(s,"*")}))(`axios@${Math.random()}`,[]):s=>setTimeout(s))(typeof setImmediate=="function",vt(yn.postMessage)),Bg=typeof queueMicrotask<"u"?queueMicrotask.bind(yn):typeof process<"u"&&process.nextTick||dy,hy=a=>a!=null&&vt(a[yu]),Hg=a=>a!=null&&du(a,yu)&&hy(a),A={isArray:vn,isArrayBuffer:cy,isBuffer:fa,isFormData:rg,isArrayBufferView:$1,isString:W1,isNumber:ry,isBoolean:P1,isObject:da,isPlainObject:Yi,isEmptyObject:I1,isReadableStream:og,isRequest:fg,isResponse:dg,isHeaders:hg,isUndefined:ca,isDate:eg,isFile:tg,isReactNativeBlob:lg,isReactNative:ng,isBlob:ag,isRegExp:_g,isFunction:vt,isStream:ig,isURLSearchParams:sg,isTypedArray:Eg,isFileList:ug,forEach:pu,merge:Ns,extend:yg,trim:mg,stripBOM:pg,inherits:vg,toFlatObject:gg,kindOf:Vs,kindOfTest:Wt,endsWith:Sg,toArray:bg,forEachEntry:xg,matchAll:Rg,isHTMLForm:Ag,hasOwnProperty:Zi,hasOwnProp:Zi,hasOwnInPrototypeChain:du,getSafeProp:F1,reduceDescriptors:fy,freezeMethods:Cg,toObjectSet:zg,toCamelCase:Tg,noop:Ng,toFiniteNumber:Dg,findKey:sy,global:yn,isContextDefined:oy,isSpecCompliantForm:Mg,toJSONObject:Ug,isAsyncFn:jg,isThenable:wg,setImmediate:dy,asap:Bg,isIterable:hy,isSafeIterable:Hg},Lg=A.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),qg=a=>{const c={};let s,r,f;return a&&a.split(`
`).forEach(function(h){f=h.indexOf(":"),s=h.substring(0,f).trim().toLowerCase(),r=h.substring(f+1).trim(),!(!s||c[s]&&Lg[s])&&(s==="set-cookie"?c[s]?c[s].push(r):c[s]=[r]:c[s]=c[s]?c[s]+", "+r:r)}),c};function Yg(a){let c=0,s=a.length;for(;c<s;){const r=a.charCodeAt(c);if(r!==9&&r!==32)break;c+=1}for(;s>c;){const r=a.charCodeAt(s-1);if(r!==9&&r!==32)break;s-=1}return c===0&&s===a.length?a:a.slice(c,s)}const Xg=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Gg=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Qs(a,c){return A.isArray(a)?a.map(s=>Qs(s,c)):Yg(String(a).replace(c,""))}const Vg=a=>Qs(a,Xg),Qg=a=>Qs(a,Gg);function my(a){const c=Object.create(null);return A.forEach(a.toJSON(),(s,r)=>{c[r]=Qg(s)}),c}const vm=Symbol("internals");function ou(a){return a&&String(a).trim().toLowerCase()}function Xi(a){return a===!1||a==null?a:A.isArray(a)?a.map(Xi):Vg(String(a))}function Zg(a){const c=Object.create(null),s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=s.exec(a);)c[r[1]]=r[2];return c}const kg=a=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(a.trim());function Rs(a,c,s,r,f){if(A.isFunction(r))return r.call(this,c,s);if(f&&(c=s),!!A.isString(c)){if(A.isString(r))return c.indexOf(r)!==-1;if(A.isRegExp(r))return r.test(c)}}function Kg(a){return a.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(c,s,r)=>s.toUpperCase()+r)}function Jg(a,c){const s=A.toCamelCase(" "+c);["get","set","has"].forEach(r=>{Object.defineProperty(a,r+s,{__proto__:null,value:function(f,d,h){return this[r].call(this,c,f,d,h)},configurable:!0})})}let it=class{constructor(c){c&&this.set(c)}set(c,s,r){const f=this;function d(y,v,p){const S=ou(v);if(!S)return;const g=A.findKey(f,S);(!g||f[g]===void 0||p===!0||p===void 0&&f[g]!==!1)&&(f[g||v]=Xi(y))}const h=(y,v)=>A.forEach(y,(p,S)=>d(p,S,v));if(A.isPlainObject(c)||c instanceof this.constructor)h(c,s);else if(A.isString(c)&&(c=c.trim())&&!kg(c))h(qg(c),s);else if(A.isObject(c)&&A.isSafeIterable(c)){let y=Object.create(null),v,p;for(const S of c){if(!A.isArray(S))throw new TypeError("Object iterator must return a key-value pair");p=S[0],A.hasOwnProp(y,p)?(v=y[p],y[p]=A.isArray(v)?[...v,S[1]]:[v,S[1]]):y[p]=S[1]}h(y,s)}else c!=null&&d(s,c,r);return this}get(c,s){if(c=ou(c),c){const r=A.findKey(this,c);if(r){const f=this[r];if(!s)return f;if(s===!0)return Zg(f);if(A.isFunction(s))return s.call(this,f,r);if(A.isRegExp(s))return s.exec(f);throw new TypeError("parser must be boolean|regexp|function")}}}has(c,s){if(c=ou(c),c){const r=A.findKey(this,c);return!!(r&&this[r]!==void 0&&(!s||Rs(this,this[r],r,s)))}return!1}delete(c,s){const r=this;let f=!1;function d(h){if(h=ou(h),h){const y=A.findKey(r,h);y&&(!s||Rs(r,r[y],y,s))&&(delete r[y],f=!0)}}return A.isArray(c)?c.forEach(d):d(c),f}clear(c){const s=Object.keys(this);let r=s.length,f=!1;for(;r--;){const d=s[r];(!c||Rs(this,this[d],d,c,!0))&&(delete this[d],f=!0)}return f}normalize(c){const s=this,r={};return A.forEach(this,(f,d)=>{const h=A.findKey(r,d);if(h){s[h]=Xi(f),delete s[d];return}const y=c?Kg(d):String(d).trim();y!==d&&delete s[d],s[y]=Xi(f),r[y]=!0}),this}concat(...c){return this.constructor.concat(this,...c)}toJSON(c){const s=Object.create(null);return A.forEach(this,(r,f)=>{r!=null&&r!==!1&&(s[f]=c&&A.isArray(r)?r.join(", "):r)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([c,s])=>c+": "+s).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(c){return c instanceof this?c:new this(c)}static concat(c,...s){const r=new this(c);return s.forEach(f=>r.set(f)),r}static accessor(c){const r=(this[vm]=this[vm]={accessors:{}}).accessors,f=this.prototype;function d(h){const y=ou(h);r[y]||(Jg(f,h),r[y]=!0)}return A.isArray(c)?c.forEach(d):d(c),this}};it.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);A.reduceDescriptors(it.prototype,({value:a},c)=>{let s=c[0].toUpperCase()+c.slice(1);return{get:()=>a,set(r){this[s]=r}}});A.freezeMethods(it);const Fg="[REDACTED ****]";function $g(a){if(A.hasOwnProp(a,"toJSON"))return!0;let c=Object.getPrototypeOf(a);for(;c&&c!==Object.prototype;){if(A.hasOwnProp(c,"toJSON"))return!0;c=Object.getPrototypeOf(c)}return!1}function Wg(a,c){const s=new Set(c.map(d=>String(d).toLowerCase())),r=[],f=d=>{if(d===null||typeof d!="object"||A.isBuffer(d))return d;if(r.indexOf(d)!==-1)return;d instanceof it&&(d=d.toJSON()),r.push(d);let h;if(A.isArray(d))h=[],d.forEach((y,v)=>{const p=f(y);A.isUndefined(p)||(h[v]=p)});else{if(!A.isPlainObject(d)&&$g(d))return r.pop(),d;h=Object.create(null);for(const[y,v]of Object.entries(d)){const p=s.has(y.toLowerCase())?Fg:f(v);A.isUndefined(p)||(h[y]=p)}}return r.pop(),h};return f(a)}let K=class yy extends Error{static from(c,s,r,f,d,h){const y=new yy(c.message,s||c.code,r,f,d);return y.cause=c,y.name=c.name,c.status!=null&&y.status==null&&(y.status=c.status),h&&Object.assign(y,h),y}constructor(c,s,r,f,d){super(c),Object.defineProperty(this,"message",{__proto__:null,value:c,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,s&&(this.code=s),r&&(this.config=r),f&&(this.request=f),d&&(this.response=d,this.status=d.status)}toJSON(){const c=this.config,s=c&&A.hasOwnProp(c,"redact")?c.redact:void 0,r=A.isArray(s)&&s.length>0?Wg(c,s):A.toJSONObject(c);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r,code:this.code,status:this.status}}};K.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";K.ERR_BAD_OPTION="ERR_BAD_OPTION";K.ECONNABORTED="ECONNABORTED";K.ETIMEDOUT="ETIMEDOUT";K.ECONNREFUSED="ECONNREFUSED";K.ERR_NETWORK="ERR_NETWORK";K.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";K.ERR_DEPRECATED="ERR_DEPRECATED";K.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";K.ERR_BAD_REQUEST="ERR_BAD_REQUEST";K.ERR_CANCELED="ERR_CANCELED";K.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";K.ERR_INVALID_URL="ERR_INVALID_URL";K.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const Pg=null,py=100;function Ds(a){return A.isPlainObject(a)||A.isArray(a)}function vy(a){return A.endsWith(a,"[]")?a.slice(0,-2):a}function As(a,c,s){return a?a.concat(c).map(function(f,d){return f=vy(f),!s&&d?"["+f+"]":f}).join(s?".":""):c}function Ig(a){return A.isArray(a)&&!a.some(Ds)}const eS=A.toFlatObject(A,{},null,function(c){return/^is[A-Z]/.test(c)});function ec(a,c,s){if(!A.isObject(a))throw new TypeError("target must be an object");c=c||new FormData,s=A.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(V,Q){return!A.isUndefined(Q[V])});const r=s.metaTokens,f=s.visitor||G,d=s.dots,h=s.indexes,y=s.Blob||typeof Blob<"u"&&Blob,v=s.maxDepth===void 0?py:s.maxDepth,p=y&&A.isSpecCompliantForm(c),S=[];if(!A.isFunction(f))throw new TypeError("visitor must be a function");function g(O){if(O===null)return"";if(A.isDate(O))return O.toISOString();if(A.isBoolean(O))return O.toString();if(!p&&A.isBlob(O))throw new K("Blob is not supported. Use a Buffer instead.");return A.isArrayBuffer(O)||A.isTypedArray(O)?p&&typeof Blob=="function"?new Blob([O]):Buffer.from(O):O}function D(O){if(O>v)throw new K("Object is too deeply nested ("+O+" levels). Max depth: "+v,K.ERR_FORM_DATA_DEPTH_EXCEEDED)}function L(O,V){if(v===1/0)return JSON.stringify(O);const Q=[];return JSON.stringify(O,function(Y,W){if(!A.isObject(W))return W;for(;Q.length&&Q[Q.length-1]!==this;)Q.pop();return Q.push(W),D(V+Q.length-1),W})}function G(O,V,Q){let P=O;if(A.isReactNative(c)&&A.isReactNativeBlob(O))return c.append(As(Q,V,d),g(O)),!1;if(O&&!Q&&typeof O=="object"){if(A.endsWith(V,"{}"))V=r?V:V.slice(0,-2),O=L(O,1);else if(A.isArray(O)&&Ig(O)||(A.isFileList(O)||A.endsWith(V,"[]"))&&(P=A.toArray(O)))return V=vy(V),P.forEach(function(W,ee){!(A.isUndefined(W)||W===null)&&c.append(h===!0?As([V],ee,d):h===null?V:V+"[]",g(W))}),!1}return Ds(O)?!0:(c.append(As(Q,V,d),g(O)),!1)}const X=Object.assign(eS,{defaultVisitor:G,convertValue:g,isVisitable:Ds});function w(O,V,Q=0){if(!A.isUndefined(O)){if(D(Q),S.indexOf(O)!==-1)throw new Error("Circular reference detected in "+V.join("."));S.push(O),A.forEach(O,function(Y,W){(!(A.isUndefined(Y)||Y===null)&&f.call(c,Y,A.isString(W)?W.trim():W,V,X))===!0&&w(Y,V?V.concat(W):[W],Q+1)}),S.pop()}}if(!A.isObject(a))throw new TypeError("data must be an object");return w(a),c}function gm(a){const c={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(a).replace(/[!'()~]|%20/g,function(r){return c[r]})}function Zs(a,c){this._pairs=[],a&&ec(a,this,c)}const gy=Zs.prototype;gy.append=function(c,s){this._pairs.push([c,s])};gy.toString=function(c){const s=c?function(r){return c.call(this,r,gm)}:gm;return this._pairs.map(function(f){return s(f[0])+"="+s(f[1])},"").join("&")};function tS(a){return encodeURIComponent(a).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Sy(a,c,s){if(!c)return a;const r=A.isFunction(s)?{serialize:s}:s,f=A.getSafeProp(r,"encode")||tS,d=A.getSafeProp(r,"serialize");let h;if(d?h=d(c,r):h=A.isURLSearchParams(c)?c.toString():new Zs(c,r).toString(f),h){const y=a.indexOf("#");y!==-1&&(a=a.slice(0,y)),a+=(a.indexOf("?")===-1?"?":"&")+h}return a}class Sm{constructor(){this.handlers=[]}use(c,s,r){return this.handlers.push({fulfilled:c,rejected:s,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(c){this.handlers[c]&&(this.handlers[c]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(c){A.forEach(this.handlers,function(r){r!==null&&c(r)})}}const ks={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},lS=typeof URLSearchParams<"u"?URLSearchParams:Zs,nS=typeof FormData<"u"?FormData:null,aS=typeof Blob<"u"?Blob:null,uS={isBrowser:!0,classes:{URLSearchParams:lS,FormData:nS,Blob:aS},protocols:["http","https","file","blob","url","data"]},Ks=typeof window<"u"&&typeof document<"u",Ms=typeof navigator=="object"&&navigator||void 0,iS=Ks&&(!Ms||["ReactNative","NativeScript","NS"].indexOf(Ms.product)<0),cS=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",rS=Ks&&window.location.href||"http://localhost",sS=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ks,hasStandardBrowserEnv:iS,hasStandardBrowserWebWorkerEnv:cS,navigator:Ms,origin:rS},Symbol.toStringTag,{value:"Module"})),nt={...sS,...uS};function oS(a,c){return ec(a,new nt.classes.URLSearchParams,{visitor:function(s,r,f,d){return nt.isNode&&A.isBuffer(s)?(this.append(r,s.toString("base64")),!1):d.defaultVisitor.apply(this,arguments)},...c})}const bm=py;function by(a){if(a>bm)throw new K("FormData field is too deeply nested ("+a+" levels). Max depth: "+bm,K.ERR_FORM_DATA_DEPTH_EXCEEDED)}function fS(a){const c=[],s=/\w+|\[(\w*)]/g;let r;for(;(r=s.exec(a))!==null;)by(c.length),c.push(r[0]==="[]"?"":r[1]||r[0]);return c}function dS(a){const c={},s=Object.keys(a);let r;const f=s.length;let d;for(r=0;r<f;r++)d=s[r],c[d]=a[d];return c}function Ey(a){function c(s,r,f,d){by(d);let h=s[d++];if(h==="__proto__")return!0;const y=Number.isFinite(+h),v=d>=s.length;return h=!h&&A.isArray(f)?f.length:h,v?(A.hasOwnProp(f,h)?f[h]=A.isArray(f[h])?f[h].concat(r):[f[h],r]:f[h]=r,!y):((!A.hasOwnProp(f,h)||!A.isObject(f[h]))&&(f[h]=[]),c(s,r,f[h],d)&&A.isArray(f[h])&&(f[h]=dS(f[h])),!y)}if(A.isFormData(a)&&A.isFunction(a.entries)){const s={};return A.forEachEntry(a,(r,f)=>{c(fS(r),f,s,0)}),s}return null}const aa=(a,c)=>a!=null&&A.hasOwnProp(a,c)?a[c]:void 0;function hS(a,c,s){if(A.isString(a))try{return(c||JSON.parse)(a),A.trim(a)}catch(r){if(r.name!=="SyntaxError")throw r}return(s||JSON.stringify)(a)}const vu={transitional:ks,adapter:["xhr","http","fetch"],transformRequest:[function(c,s){const r=s.getContentType()||"",f=r.indexOf("application/json")>-1,d=A.isObject(c);if(d&&A.isHTMLForm(c)&&(c=new FormData(c)),A.isFormData(c))return f?JSON.stringify(Ey(c)):c;if(A.isArrayBuffer(c)||A.isBuffer(c)||A.isStream(c)||A.isFile(c)||A.isBlob(c)||A.isReadableStream(c))return c;if(A.isArrayBufferView(c))return c.buffer;if(A.isURLSearchParams(c))return s.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),c.toString();let y;if(d){const v=aa(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return oS(c,v).toString();if((y=A.isFileList(c))||r.indexOf("multipart/form-data")>-1){const p=aa(this,"env"),S=p&&p.FormData;return ec(y?{"files[]":c}:c,S&&new S,v)}}return d||f?(s.setContentType("application/json",!1),hS(c)):c}],transformResponse:[function(c){const s=aa(this,"transitional")||vu.transitional,r=s&&s.forcedJSONParsing,f=aa(this,"responseType"),d=f==="json";if(A.isResponse(c)||A.isReadableStream(c))return c;if(c&&A.isString(c)&&(r&&!f||d)){const y=!(s&&s.silentJSONParsing)&&d;try{return JSON.parse(c,aa(this,"parseReviver"))}catch(v){if(y)throw v.name==="SyntaxError"?K.from(v,K.ERR_BAD_RESPONSE,this,null,aa(this,"response")):v}}return c}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:nt.classes.FormData,Blob:nt.classes.Blob},validateStatus:function(c){return c>=200&&c<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};A.forEach(["delete","get","head","post","put","patch","query"],a=>{vu.headers[a]={}});function Ts(a,c){const s=this||vu,r=c||s,f=it.from(r.headers);let d=r.data;return A.forEach(a,function(y){d=y.call(s,d,f.normalize(),c?c.status:void 0)}),f.normalize(),d}function xy(a){return!!(a&&a.__CANCEL__)}let gu=class extends K{constructor(c,s,r){super(c??"canceled",K.ERR_CANCELED,s,r),this.name="CanceledError",this.__CANCEL__=!0}};function Ry(a,c,s){const r=s.config.validateStatus;!s.status||!r||r(s.status)?a(s):c(new K("Request failed with status code "+s.status,s.status>=400&&s.status<500?K.ERR_BAD_REQUEST:K.ERR_BAD_RESPONSE,s.config,s.request,s))}function mS(a){const c=/^([-+\w]{1,25}):(?:\/\/)?/.exec(a);return c&&c[1]||""}function yS(a,c){a=a||10;const s=new Array(a),r=new Array(a);let f=0,d=0,h;return c=c!==void 0?c:1e3,function(v){const p=Date.now(),S=r[d];h||(h=p),s[f]=v,r[f]=p;let g=d,D=0;for(;g!==f;)D+=s[g++],g=g%a;if(f=(f+1)%a,f===d&&(d=(d+1)%a),p-h<c)return;const L=S&&p-S;return L?Math.round(D*1e3/L):void 0}}function pS(a,c){let s=0,r=1e3/c,f,d;const h=(p,S=Date.now())=>{s=S,f=null,d&&(clearTimeout(d),d=null),a(...p)};return[(...p)=>{const S=Date.now(),g=S-s;g>=r?h(p,S):(f=p,d||(d=setTimeout(()=>{d=null,h(f)},r-g)))},()=>f&&h(f)]}const ki=(a,c,s=3)=>{let r=0;const f=yS(50,250);return pS(d=>{if(!d||typeof d.loaded!="number")return;const h=d.loaded,y=d.lengthComputable?d.total:void 0,v=y!=null?Math.min(h,y):h,p=Math.max(0,v-r),S=f(p);r=Math.max(r,v);const g={loaded:v,total:y,progress:y?v/y:void 0,bytes:p,rate:S||void 0,estimated:S&&y?(y-v)/S:void 0,event:d,lengthComputable:y!=null,[c?"download":"upload"]:!0};a(g)},s)},Em=(a,c)=>{const s=a!=null;return[r=>c[0]({lengthComputable:s,total:a,loaded:r}),c[1]]},xm=a=>(...c)=>A.asap(()=>a(...c)),vS=nt.hasStandardBrowserEnv?((a,c)=>s=>(s=new URL(s,nt.origin),a.protocol===s.protocol&&a.host===s.host&&(c||a.port===s.port)))(new URL(nt.origin),nt.navigator&&/(msie|trident)/i.test(nt.navigator.userAgent)):()=>!0,gS=nt.hasStandardBrowserEnv?{write(a,c,s,r,f,d,h){if(typeof document>"u")return;const y=[`${a}=${encodeURIComponent(c)}`];A.isNumber(s)&&y.push(`expires=${new Date(s).toUTCString()}`),A.isString(r)&&y.push(`path=${r}`),A.isString(f)&&y.push(`domain=${f}`),d===!0&&y.push("secure"),A.isString(h)&&y.push(`SameSite=${h}`),document.cookie=y.join("; ")},read(a){if(typeof document>"u")return null;const c=document.cookie.split(";");for(let s=0;s<c.length;s++){const r=c[s].replace(/^\s+/,""),f=r.indexOf("=");if(f!==-1&&r.slice(0,f)===a)return decodeURIComponent(r.slice(f+1))}return null},remove(a){this.write(a,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function SS(a){return typeof a!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(a)}function bS(a,c){return c?a.replace(/\/?\/$/,"")+"/"+c.replace(/^\/+/,""):a}const ES=/^https?:(?!\/\/)/i,xS=/[\t\n\r]/g;function RS(a){let c=0;for(;c<a.length&&a.charCodeAt(c)<=32;)c++;return a.slice(c)}function AS(a){return RS(a).replace(xS,"")}function Rm(a,c){if(typeof a=="string"&&ES.test(AS(a)))throw new K('Invalid URL: missing "//" after protocol',K.ERR_INVALID_URL,c)}function Ay(a,c,s,r){Rm(c,r);let f=!SS(c);return a&&(f||s===!1)?(Rm(a,r),bS(a,c)):c}const Am=a=>a instanceof it?{...a}:a;function gn(a,c){c=c||{};const s=Object.create(null);Object.defineProperty(s,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(S,g,D,L){return A.isPlainObject(S)&&A.isPlainObject(g)?A.merge.call({caseless:L},S,g):A.isPlainObject(g)?A.merge({},g):A.isArray(g)?g.slice():g}function f(S,g,D,L){if(A.isUndefined(g)){if(!A.isUndefined(S))return r(void 0,S,D,L)}else return r(S,g,D,L)}function d(S,g){if(!A.isUndefined(g))return r(void 0,g)}function h(S,g){if(A.isUndefined(g)){if(!A.isUndefined(S))return r(void 0,S)}else return r(void 0,g)}function y(S){const g=A.hasOwnProp(c,"transitional")?c.transitional:void 0;if(!A.isUndefined(g))if(A.isPlainObject(g)){if(A.hasOwnProp(g,S))return g[S]}else return;const D=A.hasOwnProp(a,"transitional")?a.transitional:void 0;if(A.isPlainObject(D)&&A.hasOwnProp(D,S))return D[S]}function v(S,g,D){if(A.hasOwnProp(c,D))return r(S,g);if(A.hasOwnProp(a,D))return r(void 0,S)}const p={url:d,method:d,data:d,baseURL:h,transformRequest:h,transformResponse:h,paramsSerializer:h,timeout:h,timeoutMessage:h,withCredentials:h,withXSRFToken:h,adapter:h,responseType:h,xsrfCookieName:h,xsrfHeaderName:h,onUploadProgress:h,onDownloadProgress:h,decompress:h,maxContentLength:h,maxBodyLength:h,beforeRedirect:h,transport:h,httpAgent:h,httpsAgent:h,cancelToken:h,socketPath:h,allowedSocketPaths:h,responseEncoding:h,validateStatus:v,headers:(S,g,D)=>f(Am(S),Am(g),D,!0)};return A.forEach(Object.keys({...a,...c}),function(g){if(g==="__proto__"||g==="constructor"||g==="prototype")return;const D=A.hasOwnProp(p,g)?p[g]:f,L=A.hasOwnProp(a,g)?a[g]:void 0,G=A.hasOwnProp(c,g)?c[g]:void 0,X=D(L,G,g);A.isUndefined(X)&&D!==v||(s[g]=X)}),A.hasOwnProp(c,"validateStatus")&&A.isUndefined(c.validateStatus)&&y("validateStatusUndefinedResolves")===!1&&(A.hasOwnProp(a,"validateStatus")?s.validateStatus=r(void 0,a.validateStatus):delete s.validateStatus),s}const TS=["content-type","content-length"];function OS(a,c,s){if(s!=="content-only"){a.set(c);return}Object.entries(c).forEach(([r,f])=>{TS.includes(r.toLowerCase())&&a.set(r,f)})}const _S=a=>encodeURIComponent(a).replace(/%([0-9A-F]{2})/gi,(c,s)=>String.fromCharCode(parseInt(s,16)));function Ty(a){const c=gn({},a),s=D=>A.hasOwnProp(c,D)?c[D]:void 0,r=s("data");let f=s("withXSRFToken");const d=s("xsrfHeaderName"),h=s("xsrfCookieName");let y=s("headers");const v=s("auth"),p=s("baseURL"),S=s("allowAbsoluteUrls"),g=s("url");if(c.headers=y=it.from(y),c.url=Sy(Ay(p,g,S,c),s("params"),s("paramsSerializer")),v){const D=A.getSafeProp(v,"username")||"",L=A.getSafeProp(v,"password")||"";y.set("Authorization","Basic "+btoa(D+":"+(L?_S(L):"")))}if(A.isFormData(r)&&(nt.hasStandardBrowserEnv||nt.hasStandardBrowserWebWorkerEnv||A.isReactNative(r)?y.setContentType(void 0):A.isFunction(r.getHeaders)&&OS(y,r.getHeaders(),s("formDataHeaderPolicy"))),nt.hasStandardBrowserEnv&&(A.isFunction(f)&&(f=f(c)),f===!0||f==null&&vS(c.url))){const L=d&&h&&gS.read(h);L&&y.set(d,L)}return c}const CS=typeof XMLHttpRequest<"u",zS=CS&&function(a){return new Promise(function(s,r){const f=Ty(a);let d=f.data;const h=it.from(f.headers).normalize();let{responseType:y,onUploadProgress:v,onDownloadProgress:p}=f,S,g,D,L,G;function X(){L&&L(),G&&G(),f.cancelToken&&f.cancelToken.unsubscribe(S),f.signal&&f.signal.removeEventListener("abort",S)}let w=new XMLHttpRequest;w.open(f.method.toUpperCase(),f.url,!0),w.timeout=f.timeout;function O(){if(!w)return;const Q=it.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),Y={data:!y||y==="text"||y==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:Q,config:a,request:w};Ry(function(ee){s(ee),X()},function(ee){r(ee),X()},Y),w=null}"onloadend"in w?w.onloadend=O:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.startsWith("file:"))||setTimeout(O)},w.onabort=function(){w&&(r(new K("Request aborted",K.ECONNABORTED,a,w)),X(),w=null)},w.onerror=function(P){const Y=P&&P.message?P.message:"Network Error",W=new K(Y,K.ERR_NETWORK,a,w);W.event=P||null,r(W),X(),w=null},w.ontimeout=function(){let P=f.timeout?"timeout of "+f.timeout+"ms exceeded":"timeout exceeded";const Y=f.transitional||ks;f.timeoutErrorMessage&&(P=f.timeoutErrorMessage),r(new K(P,Y.clarifyTimeoutError?K.ETIMEDOUT:K.ECONNABORTED,a,w)),X(),w=null},d===void 0&&h.setContentType(null),"setRequestHeader"in w&&A.forEach(my(h),function(P,Y){w.setRequestHeader(Y,P)}),A.isUndefined(f.withCredentials)||(w.withCredentials=!!f.withCredentials),y&&y!=="json"&&(w.responseType=f.responseType),p&&([D,G]=ki(p,!0),w.addEventListener("progress",D)),v&&w.upload&&([g,L]=ki(v),w.upload.addEventListener("progress",g),w.upload.addEventListener("loadend",L)),(f.cancelToken||f.signal)&&(S=Q=>{w&&(r(!Q||Q.type?new gu(null,a,w):Q),w.abort(),X(),w=null)},f.cancelToken&&f.cancelToken.subscribe(S),f.signal&&(f.signal.aborted?S():f.signal.addEventListener("abort",S)));const V=mS(f.url);if(V&&!nt.protocols.includes(V)){r(new K("Unsupported protocol "+V+":",K.ERR_BAD_REQUEST,a));return}w.send(d||null)})},NS=(a,c)=>{if(a=a?a.filter(Boolean):[],!c&&!a.length)return;const s=new AbortController;let r=!1;const f=function(v){if(!r){r=!0,h();const p=v instanceof Error?v:this.reason;s.abort(p instanceof K?p:new gu(p instanceof Error?p.message:p))}};let d=c&&setTimeout(()=>{d=null,f(new K(`timeout of ${c}ms exceeded`,K.ETIMEDOUT))},c);const h=()=>{a&&(d&&clearTimeout(d),d=null,a.forEach(v=>{v.unsubscribe?v.unsubscribe(f):v.removeEventListener("abort",f)}),a=null)};a.forEach(v=>v.addEventListener("abort",f));const{signal:y}=s;return y.unsubscribe=()=>A.asap(h),y},DS=function*(a,c){let s=a.byteLength;if(s<c){yield a;return}let r=0,f;for(;r<s;)f=r+c,yield a.slice(r,f),r=f},MS=async function*(a,c){for await(const s of US(a))yield*DS(s,c)},US=async function*(a){if(a[Symbol.asyncIterator]){yield*a;return}const c=a.getReader();try{for(;;){const{done:s,value:r}=await c.read();if(s)break;yield r}}finally{await c.cancel()}},Tm=(a,c,s,r)=>{const f=MS(a,c);let d=0,h,y=v=>{h||(h=!0,r&&r(v))};return new ReadableStream({async pull(v){try{const{done:p,value:S}=await f.next();if(p){y(),v.close();return}let g=S.byteLength;if(s){let D=d+=g;s(D)}v.enqueue(new Uint8Array(S))}catch(p){throw y(p),p}},cancel(v){return y(v),f.return()}},{highWaterMark:2})},Ki=a=>a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102,jS=(a,c,s)=>c+2<s&&Ki(a.charCodeAt(c+1))&&Ki(a.charCodeAt(c+2));function wS(a){if(!a||typeof a!="string"||!a.startsWith("data:"))return 0;const c=a.indexOf(",");if(c<0)return 0;const s=a.slice(5,c),r=a.slice(c+1);if(/;base64/i.test(s)){let h=r.length;const y=r.length;for(let L=0;L<y;L++)if(r.charCodeAt(L)===37&&L+2<y){const G=r.charCodeAt(L+1),X=r.charCodeAt(L+2);Ki(G)&&Ki(X)&&(h-=2,L+=2)}let v=0,p=y-1;const S=L=>L>=2&&r.charCodeAt(L-2)===37&&r.charCodeAt(L-1)===51&&(r.charCodeAt(L)===68||r.charCodeAt(L)===100);p>=0&&(r.charCodeAt(p)===61?(v++,p--):S(p)&&(v++,p-=3)),v===1&&p>=0&&(r.charCodeAt(p)===61||S(p))&&v++;const D=Math.floor(h/4)*3-(v||0);return D>0?D:0}let d=0;for(let h=0,y=r.length;h<y;h++){const v=r.charCodeAt(h);if(v===37&&jS(r,h,y))d+=1,h+=2;else if(v<128)d+=1;else if(v<2048)d+=2;else if(v>=55296&&v<=56319&&h+1<y){const p=r.charCodeAt(h+1);p>=56320&&p<=57343?(d+=4,h++):d+=3}else d+=3}return d}const Js="1.18.0",Om=64*1024,{isFunction:Hi}=A,BS=a=>encodeURIComponent(a).replace(/%([0-9A-F]{2})/gi,(c,s)=>String.fromCharCode(parseInt(s,16))),_m=a=>{if(!A.isString(a))return a;try{return decodeURIComponent(a)}catch{return a}},Cm=(a,...c)=>{try{return!!a(...c)}catch{return!1}},HS=a=>{const c=a.indexOf("://");let s=a;return c!==-1&&(s=s.slice(c+3)),s.includes("@")||s.includes(":")},LS=a=>{const c=A.global!==void 0&&A.global!==null?A.global:globalThis,{ReadableStream:s,TextEncoder:r}=c;a=A.merge.call({skipUndefined:!0},{Request:c.Request,Response:c.Response},a);const{fetch:f,Request:d,Response:h}=a,y=f?Hi(f):typeof fetch=="function",v=Hi(d),p=Hi(h);if(!y)return!1;const S=y&&Hi(s),g=y&&(typeof r=="function"?(O=>V=>O.encode(V))(new r):async O=>new Uint8Array(await new d(O).arrayBuffer())),D=v&&S&&Cm(()=>{let O=!1;const V=new d(nt.origin,{body:new s,method:"POST",get duplex(){return O=!0,"half"}}),Q=V.headers.has("Content-Type");return V.body!=null&&V.body.cancel(),O&&!Q}),L=p&&S&&Cm(()=>A.isReadableStream(new h("").body)),G={stream:L&&(O=>O.body)};y&&["text","arrayBuffer","blob","formData","stream"].forEach(O=>{!G[O]&&(G[O]=(V,Q)=>{let P=V&&V[O];if(P)return P.call(V);throw new K(`Response type '${O}' is not supported`,K.ERR_NOT_SUPPORT,Q)})});const X=async O=>{if(O==null)return 0;if(A.isBlob(O))return O.size;if(A.isSpecCompliantForm(O))return(await new d(nt.origin,{method:"POST",body:O}).arrayBuffer()).byteLength;if(A.isArrayBufferView(O)||A.isArrayBuffer(O))return O.byteLength;if(A.isURLSearchParams(O)&&(O=O+""),A.isString(O))return(await g(O)).byteLength},w=async(O,V)=>{const Q=A.toFiniteNumber(O.getContentLength());return Q??X(V)};return async O=>{let{url:V,method:Q,data:P,signal:Y,cancelToken:W,timeout:ee,onDownloadProgress:Ee,onUploadProgress:Ne,responseType:He,headers:be,withCredentials:ze="same-origin",fetchOptions:ct,maxContentLength:De,maxBodyLength:_e}=Ty(O);const U=A.isNumber(De)&&De>-1,k=A.isNumber(_e)&&_e>-1,ne=F=>A.hasOwnProp(O,F)?O[F]:void 0;let ge=f||fetch;He=He?(He+"").toLowerCase():"text";let de=NS([Y,W&&W.toAbortSignal()],ee),E=null;const B=de&&de.unsubscribe&&(()=>{de.unsubscribe()});let Z,J=null;const ae=()=>new K("Request body larger than maxBodyLength limit",K.ERR_BAD_REQUEST,O,E);try{let F;const se=ne("auth");if(se){const ue=A.getSafeProp(se,"username")||"",rt=A.getSafeProp(se,"password")||"";F={username:ue,password:rt}}if(HS(V)){const ue=new URL(V,nt.origin);if(!F&&(ue.username||ue.password)){const rt=_m(ue.username),Gt=_m(ue.password);F={username:rt,password:Gt}}(ue.username||ue.password)&&(ue.username="",ue.password="",V=ue.href)}if(F&&(be.delete("authorization"),be.set("Authorization","Basic "+btoa(BS((F.username||"")+":"+(F.password||""))))),U&&typeof V=="string"&&V.startsWith("data:")&&wS(V)>De)throw new K("maxContentLength size of "+De+" exceeded",K.ERR_BAD_RESPONSE,O,E);if(k&&Q!=="get"&&Q!=="head"){const ue=await X(P);if(typeof ue=="number"&&isFinite(ue)&&(Z=ue,ue>_e))throw ae()}const Ve=k&&(A.isReadableStream(P)||A.isStream(P)),je=(ue,rt,Gt)=>Tm(ue,Om,Vt=>{if(k&&Vt>_e)throw J=ae();rt&&rt(Vt)},Gt);if(D&&Q!=="get"&&Q!=="head"&&(Ne||Ve)){if(Z=Z??await w(be,P),Z!==0||Ve){let ue=new d(V,{method:"POST",body:P,duplex:"half"}),rt;if(A.isFormData(P)&&(rt=ue.headers.get("content-type"))&&be.setContentType(rt),ue.body){const[Gt,Vt]=Ne&&Em(Z,ki(xm(Ne)))||[];P=je(ue.body,Gt,Vt)}}}else if(Ve&&!v&&S&&Q!=="get"&&Q!=="head")P=je(P);else if(Ve&&v&&!D&&Q!=="get"&&Q!=="head")throw new K("Stream request bodies are not supported by the current fetch implementation",K.ERR_NOT_SUPPORT,O,E);A.isString(ze)||(ze=ze?"include":"omit");const Kl=v&&"credentials"in d.prototype;if(A.isFormData(P)){const ue=be.getContentType();ue&&/^multipart\/form-data/i.test(ue)&&!/boundary=/i.test(ue)&&be.delete("content-type")}be.set("User-Agent","axios/"+Js,!1);const Jl={...ct,signal:de,method:Q.toUpperCase(),headers:my(be.normalize()),body:P,duplex:"half",credentials:Kl?ze:void 0};E=v&&new d(V,Jl);let gt=await(v?ge(E,ct):ge(V,Jl));const ha=it.from(gt.headers);if(U){const ue=A.toFiniteNumber(ha.getContentLength());if(ue!=null&&ue>De)throw new K("maxContentLength size of "+De+" exceeded",K.ERR_BAD_RESPONSE,O,E)}const Xt=L&&(He==="stream"||He==="response");if(L&&gt.body&&(Ee||U||Xt&&B)){const ue={};["status","statusText","headers"].forEach(Fl=>{ue[Fl]=gt[Fl]});const rt=A.toFiniteNumber(ha.getContentLength()),[Gt,Vt]=Ee&&Em(rt,ki(xm(Ee),!0))||[];let Sn=0;const ma=Fl=>{if(U&&(Sn=Fl,Sn>De))throw new K("maxContentLength size of "+De+" exceeded",K.ERR_BAD_RESPONSE,O,E);Gt&&Gt(Fl)};gt=new h(Tm(gt.body,Om,ma,()=>{Vt&&Vt(),B&&B()}),ue)}He=He||"text";let St=await G[A.findKey(G,He)||"text"](gt,O);if(U&&!L&&!Xt){let ue;if(St!=null&&(typeof St.byteLength=="number"?ue=St.byteLength:typeof St.size=="number"?ue=St.size:typeof St=="string"&&(ue=typeof r=="function"?new r().encode(St).byteLength:St.length)),typeof ue=="number"&&ue>De)throw new K("maxContentLength size of "+De+" exceeded",K.ERR_BAD_RESPONSE,O,E)}return!Xt&&B&&B(),await new Promise((ue,rt)=>{Ry(ue,rt,{data:St,headers:it.from(gt.headers),status:gt.status,statusText:gt.statusText,config:O,request:E})})}catch(F){if(B&&B(),de&&de.aborted&&de.reason instanceof K){const se=de.reason;throw se.config=O,E&&(se.request=E),F!==se&&(se.cause=F),se}throw J?(E&&!J.request&&(J.request=E),J):F instanceof K?(E&&!F.request&&(F.request=E),F):F&&F.name==="TypeError"&&/Load failed|fetch/i.test(F.message)?Object.assign(new K("Network Error",K.ERR_NETWORK,O,E,F&&F.response),{cause:F.cause||F}):K.from(F,F&&F.code,O,E,F&&F.response)}}},qS=new Map,Oy=a=>{let c=a&&a.env||{};const{fetch:s,Request:r,Response:f}=c,d=[r,f,s];let h=d.length,y=h,v,p,S=qS;for(;y--;)v=d[y],p=S.get(v),p===void 0&&S.set(v,p=y?new Map:LS(c)),S=p;return p};Oy();const Fs={http:Pg,xhr:zS,fetch:{get:Oy}};A.forEach(Fs,(a,c)=>{if(a){try{Object.defineProperty(a,"name",{__proto__:null,value:c})}catch{}Object.defineProperty(a,"adapterName",{__proto__:null,value:c})}});const zm=a=>`- ${a}`,YS=a=>A.isFunction(a)||a===null||a===!1;function XS(a,c){a=A.isArray(a)?a:[a];const{length:s}=a;let r,f;const d={};for(let h=0;h<s;h++){r=a[h];let y;if(f=r,!YS(r)&&(f=Fs[(y=String(r)).toLowerCase()],f===void 0))throw new K(`Unknown adapter '${y}'`);if(f&&(A.isFunction(f)||(f=f.get(c))))break;d[y||"#"+h]=f}if(!f){const h=Object.entries(d).map(([v,p])=>`adapter ${v} `+(p===!1?"is not supported by the environment":"is not available in the build"));let y=s?h.length>1?`since :
`+h.map(zm).join(`
`):" "+zm(h[0]):"as no adapter specified";throw new K("There is no suitable adapter to dispatch the request "+y,"ERR_NOT_SUPPORT")}return f}const _y={getAdapter:XS,adapters:Fs};function Os(a){if(a.cancelToken&&a.cancelToken.throwIfRequested(),a.signal&&a.signal.aborted)throw new gu(null,a)}function Nm(a){return Os(a),a.headers=it.from(a.headers),a.data=Ts.call(a,a.transformRequest),["post","put","patch"].indexOf(a.method)!==-1&&a.headers.setContentType("application/x-www-form-urlencoded",!1),_y.getAdapter(a.adapter||vu.adapter,a)(a).then(function(r){Os(a),a.response=r;try{r.data=Ts.call(a,a.transformResponse,r)}finally{delete a.response}return r.headers=it.from(r.headers),r},function(r){if(!xy(r)&&(Os(a),r&&r.response)){a.response=r.response;try{r.response.data=Ts.call(a,a.transformResponse,r.response)}finally{delete a.response}r.response.headers=it.from(r.response.headers)}return Promise.reject(r)})}const tc={};["object","boolean","number","function","string","symbol"].forEach((a,c)=>{tc[a]=function(r){return typeof r===a||"a"+(c<1?"n ":" ")+a}});const Dm={};tc.transitional=function(c,s,r){function f(d,h){return"[Axios v"+Js+"] Transitional option '"+d+"'"+h+(r?". "+r:"")}return(d,h,y)=>{if(c===!1)throw new K(f(h," has been removed"+(s?" in "+s:"")),K.ERR_DEPRECATED);return s&&!Dm[h]&&(Dm[h]=!0,console.warn(f(h," has been deprecated since v"+s+" and will be removed in the near future"))),c?c(d,h,y):!0}};tc.spelling=function(c){return(s,r)=>(console.warn(`${r} is likely a misspelling of ${c}`),!0)};function GS(a,c,s){if(typeof a!="object")throw new K("options must be an object",K.ERR_BAD_OPTION_VALUE);const r=Object.keys(a);let f=r.length;for(;f-- >0;){const d=r[f],h=Object.prototype.hasOwnProperty.call(c,d)?c[d]:void 0;if(h){const y=a[d],v=y===void 0||h(y,d,a);if(v!==!0)throw new K("option "+d+" must be "+v,K.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new K("Unknown option "+d,K.ERR_BAD_OPTION)}}const Gi={assertOptions:GS,validators:tc},ut=Gi.validators;let pn=class{constructor(c){this.defaults=c||{},this.interceptors={request:new Sm,response:new Sm}}async request(c,s){try{return await this._request(c,s)}catch(r){if(r instanceof Error){let f={};Error.captureStackTrace?Error.captureStackTrace(f):f=new Error;const d=(()=>{if(!f.stack)return"";const h=f.stack.indexOf(`
`);return h===-1?"":f.stack.slice(h+1)})();try{if(!r.stack)r.stack=d;else if(d){const h=d.indexOf(`
`),y=h===-1?-1:d.indexOf(`
`,h+1),v=y===-1?"":d.slice(y+1);String(r.stack).endsWith(v)||(r.stack+=`
`+d)}}catch{}}throw r}}_request(c,s){typeof c=="string"?(s=s||{},s.url=c):s=c||{},s=gn(this.defaults,s);const{transitional:r,paramsSerializer:f,headers:d}=s;r!==void 0&&Gi.assertOptions(r,{silentJSONParsing:ut.transitional(ut.boolean),forcedJSONParsing:ut.transitional(ut.boolean),clarifyTimeoutError:ut.transitional(ut.boolean),legacyInterceptorReqResOrdering:ut.transitional(ut.boolean),advertiseZstdAcceptEncoding:ut.transitional(ut.boolean),validateStatusUndefinedResolves:ut.transitional(ut.boolean)},!1),f!=null&&(A.isFunction(f)?s.paramsSerializer={serialize:f}:Gi.assertOptions(f,{encode:ut.function,serialize:ut.function},!0)),s.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?s.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:s.allowAbsoluteUrls=!0),Gi.assertOptions(s,{baseUrl:ut.spelling("baseURL"),withXsrfToken:ut.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let h=d&&A.merge(d.common,d[s.method]);d&&A.forEach(["delete","get","head","post","put","patch","query","common"],G=>{delete d[G]}),s.headers=it.concat(h,d);const y=[];let v=!0;this.interceptors.request.forEach(function(X){if(typeof X.runWhen=="function"&&X.runWhen(s)===!1)return;v=v&&X.synchronous;const w=s.transitional||ks;w&&w.legacyInterceptorReqResOrdering?y.unshift(X.fulfilled,X.rejected):y.push(X.fulfilled,X.rejected)});const p=[];this.interceptors.response.forEach(function(X){p.push(X.fulfilled,X.rejected)});let S,g=0,D;if(!v){const G=[Nm.bind(this),void 0];for(G.unshift(...y),G.push(...p),D=G.length,S=Promise.resolve(s);g<D;)S=S.then(G[g++],G[g++]);return S}D=y.length;let L=s;for(;g<D;){const G=y[g++],X=y[g++];try{L=G(L)}catch(w){X.call(this,w);break}}try{S=Nm.call(this,L)}catch(G){return Promise.reject(G)}for(g=0,D=p.length;g<D;)S=S.then(p[g++],p[g++]);return S}getUri(c){c=gn(this.defaults,c);const s=Ay(c.baseURL,c.url,c.allowAbsoluteUrls,c);return Sy(s,c.params,c.paramsSerializer)}};A.forEach(["delete","get","head","options"],function(c){pn.prototype[c]=function(s,r){return this.request(gn(r||{},{method:c,url:s,data:r&&A.hasOwnProp(r,"data")?r.data:void 0}))}});A.forEach(["post","put","patch","query"],function(c){function s(r){return function(d,h,y){return this.request(gn(y||{},{method:c,headers:r?{"Content-Type":"multipart/form-data"}:{},url:d,data:h}))}}pn.prototype[c]=s(),c!=="query"&&(pn.prototype[c+"Form"]=s(!0))});let VS=class Cy{constructor(c){if(typeof c!="function")throw new TypeError("executor must be a function.");let s;this.promise=new Promise(function(d){s=d});const r=this;this.promise.then(f=>{if(!r._listeners)return;let d=r._listeners.length;for(;d-- >0;)r._listeners[d](f);r._listeners=null}),this.promise.then=f=>{let d;const h=new Promise(y=>{r.subscribe(y),d=y}).then(f);return h.cancel=function(){r.unsubscribe(d)},h},c(function(d,h,y){r.reason||(r.reason=new gu(d,h,y),s(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(c){if(this.reason){c(this.reason);return}this._listeners?this._listeners.push(c):this._listeners=[c]}unsubscribe(c){if(!this._listeners)return;const s=this._listeners.indexOf(c);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const c=new AbortController,s=r=>{c.abort(r)};return this.subscribe(s),c.signal.unsubscribe=()=>this.unsubscribe(s),c.signal}static source(){let c;return{token:new Cy(function(f){c=f}),cancel:c}}};function QS(a){return function(s){return a.apply(null,s)}}function ZS(a){return A.isObject(a)&&a.isAxiosError===!0}const Us={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Us).forEach(([a,c])=>{Us[c]=a});function zy(a){const c=new pn(a),s=uy(pn.prototype.request,c);return A.extend(s,pn.prototype,c,{allOwnKeys:!0}),A.extend(s,c,null,{allOwnKeys:!0}),s.create=function(f){return zy(gn(a,f))},s}const Ge=zy(vu);Ge.Axios=pn;Ge.CanceledError=gu;Ge.CancelToken=VS;Ge.isCancel=xy;Ge.VERSION=Js;Ge.toFormData=ec;Ge.AxiosError=K;Ge.Cancel=Ge.CanceledError;Ge.all=function(c){return Promise.all(c)};Ge.spread=QS;Ge.isAxiosError=ZS;Ge.mergeConfig=gn;Ge.AxiosHeaders=it;Ge.formToJSON=a=>Ey(A.isHTMLForm(a)?new FormData(a):a);Ge.getAdapter=_y.getAdapter;Ge.HttpStatusCode=Us;Ge.default=Ge;const{Axios:Q2,AxiosError:Z2,CanceledError:k2,isCancel:K2,CancelToken:J2,VERSION:F2,all:$2,Cancel:W2,isAxiosError:P2,spread:I2,toFormData:eb,AxiosHeaders:tb,HttpStatusCode:lb,formToJSON:nb,getAdapter:ab,mergeConfig:ub,create:ib}=Ge,ua=Ge.create({baseURL:"http://localhost:8000",headers:{Accept:"application/json","Content-Type":"application/json"},withCredentials:!1});ua.interceptors.request.use(a=>{const c=localStorage.getItem("api_token");return c&&(a.headers.Authorization=`Bearer ${c}`),a});const Ny=_.createContext({}),kS=({children:a})=>{const[c,s]=_.useState(!1),[r,f]=_.useState(null),[d,h]=_.useState(!0);_.useEffect(()=>{y()},[]);const y=async()=>{try{if(localStorage.getItem("api_token")){const g=await ua.get("/api/v1/auth/me");f(g.data),s(!0)}else s(!1)}catch{localStorage.removeItem("api_token"),s(!1)}finally{h(!1)}},v=async S=>{const g=await ua.post("/api/v1/auth/login",S);localStorage.setItem("api_token",g.data.data.access_token),f(g.data.data.user),s(!0)},p=async()=>{try{await ua.post("/api/v1/auth/logout")}catch{}localStorage.removeItem("api_token"),f(null),s(!1)};return x.jsx(Ny.Provider,{value:{isAuthenticated:c,user:r,login:v,logout:p,loading:d},children:!d&&a})},$s=()=>_.useContext(Ny),KS=()=>{const{isAuthenticated:a,loading:c}=$s();return c?x.jsx("div",{style:{height:"100vh",display:"flex",alignItems:"center",justifyContent:"center",color:"white"},children:"Cargando ORION OS..."}):a?x.jsx(ty,{}):x.jsx(ey,{to:"/login",replace:!0})};/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Dy=(...a)=>a.filter((c,s,r)=>!!c&&c.trim()!==""&&r.indexOf(c)===s).join(" ").trim();/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const JS=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const FS=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(c,s,r)=>r?r.toUpperCase():s.toLowerCase());/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Mm=a=>{const c=FS(a);return c.charAt(0).toUpperCase()+c.slice(1)};/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var _s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const $S=a=>{for(const c in a)if(c.startsWith("aria-")||c==="role"||c==="title")return!0;return!1},WS=_.createContext({}),PS=()=>_.useContext(WS),IS=_.forwardRef(({color:a,size:c,strokeWidth:s,absoluteStrokeWidth:r,className:f="",children:d,iconNode:h,...y},v)=>{const{size:p=24,strokeWidth:S=2,absoluteStrokeWidth:g=!1,color:D="currentColor",className:L=""}=PS()??{},G=r??g?Number(s??S)*24/Number(c??p):s??S;return _.createElement("svg",{ref:v,..._s,width:c??p??_s.width,height:c??p??_s.height,stroke:a??D,strokeWidth:G,className:Dy("lucide",L,f),...!d&&!$S(y)&&{"aria-hidden":"true"},...y},[...h.map(([X,w])=>_.createElement(X,w)),...Array.isArray(d)?d:[d]])});/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Je=(a,c)=>{const s=_.forwardRef(({className:r,...f},d)=>_.createElement(IS,{ref:d,iconNode:c,className:Dy(`lucide-${JS(Mm(a))}`,`lucide-${a}`,r),...f}));return s.displayName=Mm(a),s};/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const e2=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],t2=Je("chevron-left",e2);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const l2=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],n2=Je("circle-alert",l2);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const a2=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],u2=Je("circle-check-big",a2);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const i2=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],c2=Je("circle-check",i2);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const r2=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],s2=Je("clock",r2);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const o2=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],f2=Je("database",o2);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const d2=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],h2=Je("ellipsis-vertical",d2);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const m2=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]],My=Je("file-spreadsheet",m2);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const y2=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],p2=Je("file-text",y2);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const v2=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],g2=Je("loader-circle",v2);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const S2=[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]],b2=Je("log-in",S2);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const E2=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],x2=Je("moon",E2);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const R2=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Uy=Je("search",R2);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const A2=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],T2=Je("settings",A2);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const O2=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],jy=Je("shield",O2);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const _2=[["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M12 21v-9",key:"17s77i"}],["path",{d:"M12 8V3",key:"13r4qs"}],["path",{d:"M17 16h4",key:"h1uq16"}],["path",{d:"M19 12V3",key:"o1uvq1"}],["path",{d:"M19 21v-5",key:"qua636"}],["path",{d:"M3 14h4",key:"bcjad9"}],["path",{d:"M5 10V3",key:"cb8scm"}],["path",{d:"M5 21v-7",key:"1w1uti"}]],C2=Je("sliders-vertical",_2);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const z2=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],N2=Je("sun",z2);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const D2=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],Um=Je("trash-2",D2);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const M2=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],jm=Je("upload",M2);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const U2=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],j2=Je("users",U2),w2=()=>{const{login:a,isAuthenticated:c}=$s(),s=$i(),[r,f]=_.useState(""),[d,h]=_.useState(""),[y,v]=_.useState(""),[p,S]=_.useState(!1);_.useEffect(()=>{c&&s("/")},[c,s]);const g=async D=>{var L,G;D.preventDefault(),S(!0),v("");try{await a({username:r,password:d,uuid:"react_web_dev_uuid"}),s("/")}catch(X){v(((G=(L=X.response)==null?void 0:L.data)==null?void 0:G.error)||"Credenciales inválidas")}finally{S(!1)}};return x.jsx("div",{className:"main-layout",style:{justifyContent:"center",alignItems:"center",background:"#F8F9FD"},children:x.jsxs("div",{className:"login-screen-container",children:[x.jsx("div",{style:{width:"72px",height:"72px",borderRadius:"50%",background:"linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-peach) 100%)",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 12px 30px rgba(123, 82, 242, 0.25)",marginBottom:"1.5rem",transform:"scale(1)"},children:x.jsx(jy,{size:32,color:"#FFFFFF",strokeWidth:2})}),x.jsxs("div",{className:"login-glass-card",children:[x.jsxs("div",{style:{textAlign:"center",marginBottom:"2rem"},children:[x.jsx("h1",{style:{fontSize:"1.5rem",fontWeight:800,color:"var(--text-primary)",letterSpacing:"-0.5px"},children:"Orion Red"}),x.jsx("p",{style:{fontSize:"0.8rem",color:"var(--text-secondary)",fontWeight:500,marginTop:"4px"},children:"Identificación de Agente"})]}),y&&x.jsx("div",{style:{background:"var(--accent-red-light)",color:"var(--accent-red)",padding:"10px 14px",borderRadius:"12px",fontSize:"0.8rem",fontWeight:600,border:"1px solid rgba(239, 68, 68, 0.12)",marginBottom:"1.2rem"},children:y}),x.jsxs("form",{onSubmit:g,children:[x.jsxs("div",{className:"login-form-group",children:[x.jsx("label",{children:"Usuario"}),x.jsx("input",{type:"text",value:r,onChange:D=>f(D.target.value),placeholder:"Ingrese su usuario",required:!0})]}),x.jsxs("div",{className:"login-form-group",style:{marginBottom:"1.8rem"},children:[x.jsx("label",{children:"Contraseña"}),x.jsx("input",{type:"password",value:d,onChange:D=>h(D.target.value),placeholder:"••••••••",required:!0})]}),x.jsxs("button",{type:"submit",className:"primary-btn-accent",disabled:p,children:[x.jsx(b2,{size:18}),p?"VERIFICANDO...":"INGRESAR"]})]})]}),x.jsx("div",{style:{marginTop:"2rem",fontSize:"0.72rem",color:"var(--text-muted)",fontWeight:600,letterSpacing:"0.5px"},children:"SISTEMA DE VERIFICACIÓN POLICIAL • COLOMBIA"})]})})},B2=()=>{const{user:a}=$s(),c=(a==null?void 0:a.name)||"Ismael Bennacer",[s,r]=_.useState(""),[f,d]=_.useState([]),[h,y]=_.useState(!1),[v,p]=_.useState(null),[S,g]=_.useState(3),[D,L]=_.useState(()=>document.body.classList.contains("dark")),G=()=>{const Y=!D;L(Y),Y?(document.body.classList.add("dark"),localStorage.setItem("theme","dark")):(document.body.classList.remove("dark"),localStorage.setItem("theme","light"))},X=[{id:101,plate_name:"MHX832",description:"Vehículo Particular - Autorizado",detail:"Operación normal sin novedades",location:"Bogotá, D.C.",level:1,entry_date:"2026-06-18",exit_date:null,antiquity_level:1},{id:102,plate_name:"DFG456",description:"Acceso Restringido - Alerta de Tránsito",detail:"Revisión técnica de gases pendiente",location:"Medellín, ANT",level:3,entry_date:"2026-06-19",exit_date:null,antiquity_level:3},{id:103,plate_name:"KLO789",description:"Carga Comercial - En Tránsito",detail:"Permiso especial de transporte masivo",location:"Cali, VAL",level:2,entry_date:"2026-06-20",exit_date:null,antiquity_level:2}],w=[{day:"Dom",height:"35%",lookups:"90 búsquedas"},{day:"Lun",height:"65%",lookups:"165 búsquedas"},{day:"Mar",height:"55%",lookups:"140 búsquedas"},{day:"Mié",height:"92%",lookups:"240 búsquedas"},{day:"Jue",height:"75%",lookups:"190 búsquedas"},{day:"Vie",height:"82%",lookups:"215 búsquedas"},{day:"Sáb",height:"45%",lookups:"115 búsquedas"}];_.useEffect(()=>{const Y=setTimeout(()=>{s.length>=3?O(s):d([])},400);return()=>clearTimeout(Y)},[s]);const O=async Y=>{y(!0);try{const W=await ua.get("/api/v1/plates/search",{params:{q:Y}});d(W.data.data)}catch(W){console.error("Error fetching plates",W),d([])}finally{y(!1)}},V=Y=>{switch(Y){case 1:return"#FF5B60";case 2:return"#10B981";case 3:return"#FF5C8A";case 4:return"#2EA8E5";case 5:return"#7B52F2";default:return"#7E8294"}},Q=()=>{const Y={month:"long",day:"numeric",year:"numeric"},W=new Date().toLocaleDateString("es-ES",Y);return W.charAt(0).toUpperCase()+W.slice(1)},P=Y=>Y.length>=6?`${Y.substring(0,3)} • ${Y.substring(3)}`:Y;return x.jsxs("div",{style:{flex:1,display:"flex",flexDirection:"column",position:"relative",height:"100%"},children:[x.jsxs("div",{className:"home-header",style:{flexDirection:"row",justifyContent:"space-between",alignItems:"center"},children:[x.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2px"},children:[x.jsx("span",{className:"date-text",children:Q()}),x.jsx("h1",{className:"user-title",children:c})]}),x.jsx("div",{className:"theme-switch-wrapper",title:D?"Desactivar Modo Oscuro":"Activar Modo Oscuro",children:x.jsx("div",{className:"theme-switch-track",onClick:G,children:x.jsx("div",{className:"theme-switch-thumb",children:D?x.jsx(x2,{size:10,strokeWidth:3}):x.jsx(N2,{size:10,strokeWidth:3})})})})]}),x.jsxs("div",{className:"search-pill-wrapper",children:[x.jsxs("div",{className:"search-pill-container",children:[x.jsx(Uy,{size:20,color:"var(--accent-purple)"}),x.jsx("input",{type:"text",placeholder:"Buscar placa...",value:s,onChange:Y=>r(Y.target.value.toUpperCase()),maxLength:7}),h&&x.jsx("div",{style:{width:"18px",height:"18px",border:"2px solid rgba(123, 82, 242, 0.1)",borderTopColor:"var(--accent-purple)",borderRadius:"50%",animation:"spin 0.8s linear infinite"}})]}),x.jsx("button",{className:"circle-btn",title:"Filtros",children:x.jsx(C2,{size:20})})]}),s.length<3&&x.jsxs("div",{className:"context-cards-slider",children:[x.jsxs("div",{className:"context-card-peach",children:[x.jsx("span",{className:"title",children:"Servicios Orion"}),x.jsx("span",{className:"value",children:"Activo"}),x.jsx("span",{className:"subtitle",children:"Bogotá, Colombia"}),x.jsxs("svg",{style:{position:"absolute",right:10,bottom:10,width:70,height:70,opacity:.85},viewBox:"0 0 100 100",children:[x.jsx("circle",{cx:"75",cy:"25",r:"10",fill:"#FFA280"}),x.jsx("path",{d:"M40 90 L40 50 M40 50 L25 40 M40 50 L55 40",stroke:"var(--accent-peach-dark)",strokeWidth:"3",strokeLinecap:"round"}),x.jsx("circle",{cx:"40",cy:"50",r:"3",fill:"var(--accent-peach-dark)"})]})]}),x.jsxs("div",{className:"context-card-map",children:[x.jsx("span",{className:"title",children:"Base de Datos"}),x.jsx("span",{className:"value",children:"API V1"}),x.jsx("span",{className:"subtitle",children:"Conexión Segura"})]})]}),x.jsx("div",{className:"section-title-container",children:x.jsx("h2",{className:"section-title",children:s.length>=3?"Resultados de Búsqueda":"Consultas Recientes"})}),x.jsx("div",{className:"results-grid-container",children:s.length>=3?f.length>0?f.map(Y=>x.jsxs("div",{className:"plate-grid-card",onClick:()=>p(Y),children:[x.jsx("div",{className:"plate-status-dot",style:{background:V(Y.antiquity_level)},title:`Antigüedad Nivel ${Y.antiquity_level}`}),x.jsx("span",{className:"plate-grid-number",style:{marginTop:"4px"},children:Y.plate_name}),x.jsx("span",{className:"plate-grid-location",children:Y.location||"No registrada"})]},Y.id)):!h&&x.jsx("div",{style:{gridColumn:"span 3",textAlign:"center",color:"var(--text-muted)",marginTop:"3rem",fontWeight:600},children:"No se encontraron placas"}):X.map(Y=>x.jsxs("div",{className:"plate-grid-card",onClick:()=>p(Y),children:[x.jsx("div",{className:"plate-status-dot",style:{background:V(Y.antiquity_level)},title:`Antigüedad Nivel ${Y.antiquity_level}`}),x.jsx("span",{className:"plate-grid-number",style:{marginTop:"4px"},children:Y.plate_name}),x.jsx("span",{className:"plate-grid-location",children:Y.location})]},Y.id))}),v&&x.jsxs("div",{className:"details-view-container",children:[x.jsxs("div",{className:"details-header",children:[x.jsx("button",{className:"circle-btn",onClick:()=>p(null),title:"Volver",children:x.jsx(t2,{size:22})}),x.jsxs("div",{className:"title-group",style:{textAlign:"center"},children:[x.jsx("h2",{children:"Estadísticas"}),x.jsx("span",{children:"Placa Vehicular"})]}),x.jsx("button",{className:"circle-btn",title:"Opciones",children:x.jsx(h2,{size:20})})]}),x.jsx("div",{className:"illustration-circle-container",children:x.jsx("div",{className:"illustration-circle",children:x.jsxs("div",{className:"license-plate-mockup",children:[x.jsx("div",{className:"plate-origin",children:"COLOMBIA"}),x.jsx("div",{className:"plate-letters-numbers",children:P(v.plate_name)}),x.jsx("div",{className:"plate-bottom-line",children:v.location?v.location.toUpperCase():"BOGOTÁ D.C."})]})})}),x.jsxs("div",{className:"stats-cards-row",children:[x.jsxs("div",{className:"stat-mini-card",children:[x.jsx("div",{className:"icon-wrapper",children:x.jsx(jy,{size:18})}),x.jsx("span",{className:"label",children:"Nivel de Acceso"}),x.jsxs("span",{className:"val",style:{color:"var(--accent-purple)"},children:["Nivel ",v.level]})]}),x.jsxs("div",{className:"stat-mini-card",children:[x.jsx("div",{className:"icon-wrapper",style:{color:"var(--accent-peach-dark)"},children:x.jsx(u2,{size:18})}),x.jsx("span",{className:"label",children:"Estado Actual"}),x.jsx("span",{className:"val",style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:v.description.split(" - ")[1]||v.description})]})]}),x.jsxs("div",{className:"chart-section",children:[x.jsxs("div",{className:"chart-section-title-row",children:[x.jsx("span",{className:"chart-title",children:"Historial de Consultas"}),x.jsx("span",{className:"chart-subtitle",children:"Consultas/Semana"})]}),x.jsxs("div",{className:"weekly-bar-chart-container",children:[x.jsx("div",{className:"chart-tooltip-floating",style:{left:`calc(${S*14.2+7.1}% + 14px)`},children:w[S].lookups}),w.map((Y,W)=>x.jsxs("div",{className:`chart-bar-wrapper ${W===S?"active":""}`,onClick:()=>g(W),children:[x.jsx("div",{className:"chart-bar-fill",style:{height:Y.height}}),x.jsx("span",{className:"chart-bar-day",children:Y.day})]},Y.day))]})]}),x.jsx("div",{style:{padding:"1rem 1.5rem 2rem 1.5rem",display:"flex",flexDirection:"column",gap:"8px"},children:x.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",color:"var(--text-secondary)",fontSize:"0.8rem",background:"var(--bg-surface)",padding:"12px 16px",borderRadius:"16px"},children:[x.jsx(s2,{size:16}),x.jsxs("span",{children:["Entrada del sistema: ",v.entry_date]})]})})]})]})},H2=()=>{const[a,c]=_.useState("import"),[s,r]=_.useState(null),[f,d]=_.useState(!1),[h,y]=_.useState("idle"),[v,p]=_.useState(""),[S,g]=_.useState(0),D=_.useRef(null),L=()=>{y("idle"),p(""),g(0)},G=Y=>{Y.preventDefault(),Y.stopPropagation(),Y.type==="dragenter"||Y.type==="dragover"?d(!0):Y.type==="dragleave"&&d(!1)},X=Y=>{if(Y.preventDefault(),Y.stopPropagation(),d(!1),L(),Y.dataTransfer.files&&Y.dataTransfer.files[0]){const W=Y.dataTransfer.files[0];O(W)}},w=Y=>{L(),Y.target.files&&Y.target.files[0]&&O(Y.target.files[0])},O=Y=>{const W=[".xlsx",".xls",".csv"],ee=Y.name.toLowerCase();if(!W.some(Ne=>ee.endsWith(Ne))){y("error"),p("Formato no válido. Sube un archivo .xlsx, .xls o .csv."),r(null);return}if(Y.size>20*1024*1024){y("error"),p("El archivo supera el límite de 20MB."),r(null);return}r(Y)},V=Y=>{Y.stopPropagation(),r(null),L(),D.current&&(D.current.value="")},Q=()=>{h!=="loading"&&D.current&&D.current.click()},P=async()=>{var ee,Ee,Ne,He;if(!s)return;y("loading"),g(10);const Y=new FormData;Y.append("excel",s);const W=a==="import"?"/api/v1/plates/import":"/api/v1/plates/delete-import";try{const be=await ua.post(W,Y,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:ze=>{const ct=ze.total||s.size,De=ze.loaded,_e=Math.round(De*90/ct)+10;g(Math.min(_e,95))}});g(100),setTimeout(()=>{be.data&&be.data.success?(y("success"),p(be.data.message||"Base de datos de placas procesada con éxito."),r(null)):(y("error"),p(be.data.error||"Ocurrió un error al procesar la subida."))},500)}catch(be){console.error("Error al subir archivo:",be),y("error");const ze=((Ee=(ee=be.response)==null?void 0:ee.data)==null?void 0:Ee.error)||((He=(Ne=be.response)==null?void 0:Ne.data)==null?void 0:He.message);p(ze||"Error de red o servidor. Intente de nuevo.")}};return x.jsxs("div",{className:"upload-screen-container",children:[x.jsxs("div",{style:{padding:"0.5rem 0.5rem 0 0.5rem"},children:[x.jsx("span",{style:{fontSize:"0.8rem",fontWeight:600,color:"var(--text-muted)",textTransform:"uppercase",letterSpacing:"0.5px"},children:"Consola del Sistema"}),x.jsx("h1",{style:{fontSize:"1.6rem",fontWeight:800,color:"var(--text-primary)",marginTop:"2px"},children:"Gestor de Base de Datos"})]}),x.jsxs("div",{className:"upload-slider-modes",children:[x.jsxs("button",{className:`upload-mode-btn ${a==="import"?"active-import":""}`,onClick:()=>{c("import"),L()},disabled:h==="loading",children:[x.jsx(f2,{size:14}),"ALTA / ACTUALIZACIÓN"]}),x.jsxs("button",{className:`upload-mode-btn ${a==="delete"?"active-delete":""}`,onClick:()=>{c("delete"),L()},disabled:h==="loading",children:[x.jsx(Um,{size:14}),"DEPURACIÓN / ELIMINACIÓN"]})]}),x.jsx("div",{className:"upload-center-illustration",children:x.jsx("div",{className:"illustration-circle-gradient",style:{background:a==="delete"?"linear-gradient(135deg, var(--accent-red-light) 0%, var(--accent-peach-light) 100%)":void 0},children:x.jsx(My,{size:40,color:a==="delete"?"var(--accent-red)":"var(--accent-purple)",style:{transform:f?"scale(1.15)":"scale(1)",transition:"transform 0.25s"}})})}),x.jsxs("div",{className:`upload-dropzone ${f?"drag-active":""}`,onDragEnter:G,onDragOver:G,onDragLeave:G,onDrop:X,onClick:Q,style:{borderColor:a==="delete"&&f?"var(--accent-red)":void 0,background:a==="delete"&&f?"var(--accent-red-light)":void 0},children:[x.jsx("input",{ref:D,type:"file",accept:".xlsx,.xls,.csv",onChange:w,style:{display:"none"},disabled:h==="loading"}),h==="loading"?x.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"12px"},children:[x.jsx(g2,{size:36,color:a==="delete"?"var(--accent-red)":"var(--accent-purple)",style:{animation:"spin 1.5s linear infinite"}}),x.jsx("span",{style:{fontWeight:700,fontSize:"0.95rem",color:"var(--text-primary)"},children:"Procesando base de datos..."}),x.jsx("span",{style:{fontSize:"0.75rem",color:"var(--text-secondary)"},children:"Importando registros al motor de alta velocidad."}),x.jsx("div",{className:"progress-bar-container",children:x.jsx("div",{className:"progress-bar-fill",style:{width:`${S}%`,background:a==="delete"?"var(--accent-red)":"var(--accent-purple)"}})}),x.jsxs("span",{style:{fontSize:"0.7rem",fontWeight:800,color:a==="delete"?"var(--accent-red)":"var(--accent-purple)",letterSpacing:"0.5px"},children:[S,"% COMPLETADO"]})]}):s?x.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"12px"},children:[x.jsx("div",{style:{background:a==="delete"?"var(--accent-red-light)":"var(--accent-purple-light)",borderRadius:"50%",width:"52px",height:"52px",display:"flex",alignItems:"center",justifyContent:"center"},children:x.jsx(p2,{size:24,color:a==="delete"?"var(--accent-red)":"var(--accent-purple)"})}),x.jsxs("div",{style:{width:"100%",maxWidth:"280px"},children:[x.jsx("div",{style:{fontWeight:800,fontSize:"0.9rem",color:"var(--text-primary)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:s.name}),x.jsxs("div",{style:{fontSize:"0.72rem",color:"var(--text-secondary)",marginTop:"2px"},children:[(s.size/1024).toFixed(1)," KB • Compatible"]})]}),x.jsxs("div",{style:{display:"flex",gap:"8px",width:"100%",maxWidth:"240px",marginTop:"10px"},children:[x.jsx("button",{onClick:V,style:{width:"44px",height:"44px",borderRadius:"12px",border:"1px solid rgba(239, 68, 68, 0.15)",background:"var(--accent-red-light)",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--accent-red)",transition:"all 0.2s"},title:"Eliminar archivo",children:x.jsx(Um,{size:16})}),x.jsxs("button",{onClick:Y=>{Y.stopPropagation(),P()},style:{flex:1,borderRadius:"12px",border:"none",background:a==="delete"?"var(--accent-red)":"var(--accent-purple)",color:"#FFFFFF",fontWeight:700,fontSize:"0.8rem",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",gap:"6px",boxShadow:a==="delete"?"0 4px 12px rgba(239, 68, 68, 0.2)":"0 4px 12px rgba(123, 82, 242, 0.2)"},children:[x.jsx(jm,{size:14}),"EJECUTAR PROCESO"]})]})]}):x.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[x.jsx(jm,{size:32,color:"var(--text-secondary)",style:{marginBottom:"1rem",opacity:.8}}),x.jsx("span",{style:{fontWeight:800,fontSize:"0.95rem",color:"var(--text-primary)",marginBottom:"4px"},children:"Arrastra tu archivo aquí"}),x.jsx("span",{style:{fontSize:"0.75rem",color:"var(--text-secondary)"},children:"o haz clic para explorar en tu equipo"}),x.jsx("div",{style:{fontSize:"0.65rem",color:"var(--text-muted)",marginTop:"1.2rem",background:"var(--bg-surface)",padding:"6px 12px",borderRadius:"8px",fontWeight:700},children:"COMPATIBLE CON .XLSX, .XLS, .CSV • MÁXIMO 20MB"})]})]}),h==="success"&&x.jsxs("div",{className:"upload-alert-card success",children:[x.jsx(c2,{size:20,color:"var(--accent-green)",style:{flexShrink:0}}),x.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2px"},children:[x.jsx("span",{style:{fontWeight:800,fontSize:"0.78rem",color:"var(--accent-green)",letterSpacing:"0.5px"},children:"PROCESO EXITOSO"}),x.jsx("span",{style:{fontSize:"0.72rem",fontWeight:500,color:"var(--text-primary)"},children:v})]})]}),h==="error"&&x.jsxs("div",{className:"upload-alert-card error",children:[x.jsx(n2,{size:20,color:"var(--accent-red)",style:{flexShrink:0}}),x.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2px"},children:[x.jsx("span",{style:{fontWeight:800,fontSize:"0.78rem",color:"var(--accent-red)",letterSpacing:"0.5px"},children:"ERROR AL PROCESAR"}),x.jsx("span",{style:{fontSize:"0.72rem",fontWeight:500,color:"var(--text-primary)"},children:v})]})]}),x.jsx("div",{style:{minHeight:"60px"}})]})},L2=()=>{const a=$i(),c=$t(),s=f=>a(f),r=f=>c.pathname===f;return x.jsxs("div",{className:"main-layout",children:[x.jsxs("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,pointerEvents:"none",zIndex:0,opacity:.035,color:"#1E1F24",overflow:"hidden"},children:[x.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",children:[x.jsx("defs",{children:x.jsx("pattern",{id:"dot-grid",width:"24",height:"24",patternUnits:"userSpaceOnUse",children:x.jsx("circle",{cx:"2",cy:"2",r:"1",fill:"currentColor"})})}),x.jsx("rect",{width:"100%",height:"100%",fill:"url(#dot-grid)"})]}),x.jsxs("svg",{viewBox:"0 0 200 200",style:{position:"absolute",bottom:"12%",right:"-15%",width:"320px",height:"320px"},xmlns:"http://www.w3.org/2000/svg",children:[x.jsx("circle",{cx:"100",cy:"100",r:"85",stroke:"currentColor",strokeWidth:"0.5",fill:"none"}),x.jsx("circle",{cx:"100",cy:"100",r:"65",stroke:"currentColor",strokeWidth:"0.5",fill:"none",strokeDasharray:"4 3"}),x.jsx("circle",{cx:"100",cy:"100",r:"45",stroke:"currentColor",strokeWidth:"0.5",fill:"none"}),x.jsx("circle",{cx:"100",cy:"100",r:"25",stroke:"currentColor",strokeWidth:"0.5",fill:"none"}),x.jsx("line",{x1:"100",y1:"10",x2:"100",y2:"190",stroke:"currentColor",strokeWidth:"0.5"}),x.jsx("line",{x1:"10",y1:"100",x2:"190",y2:"100",stroke:"currentColor",strokeWidth:"0.5"}),x.jsx("line",{x1:"100",y1:"100",x2:"160.1",y2:"40.1",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"})]})]}),x.jsx("div",{style:{flex:1,display:"flex",flexDirection:"column",overflow:"hidden",background:"transparent",position:"relative",zIndex:1},children:x.jsx(ty,{})}),x.jsxs("div",{className:"bottom-nav-floating",children:[x.jsx("button",{className:`nav-item-btn ${r("/")?"active":""}`,onClick:()=>s("/"),title:"Búsqueda",children:x.jsx(Uy,{size:24,strokeWidth:r("/")?2.5:2})}),x.jsx("button",{className:`nav-item-btn ${r("/upload")?"active":""}`,onClick:()=>s("/upload"),title:"Consola Excel",children:x.jsx(My,{size:24,strokeWidth:r("/upload")?2.5:2})}),x.jsx("button",{className:`nav-item-btn ${r("/users")?"active":""}`,onClick:()=>s("/users"),title:"Agentes",children:x.jsx(j2,{size:24,strokeWidth:r("/users")?2.5:2})}),x.jsx("button",{className:`nav-item-btn ${r("/devices")?"active":""}`,onClick:()=>s("/devices"),title:"Ajustes / Dispositivos",children:x.jsx(T2,{size:24,strokeWidth:r("/devices")?2.5:2})})]})]})},q2=()=>x.jsx(L1,{children:x.jsx(kS,{children:x.jsxs(m1,{children:[x.jsx(ll,{path:"/login",element:x.jsx(w2,{})}),x.jsx(ll,{element:x.jsx(KS,{}),children:x.jsxs(ll,{element:x.jsx(L2,{}),children:[x.jsx(ll,{path:"/",element:x.jsx(B2,{})}),x.jsx(ll,{path:"/upload",element:x.jsx(H2,{})}),x.jsx(ll,{path:"/users",element:x.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"1rem"},children:[x.jsx("div",{style:{fontSize:"0.7rem",letterSpacing:"4px",color:"rgba(255,255,255,0.4)"},children:"EN DESARROLLO"}),x.jsx("h1",{style:{fontSize:"1.8rem",fontWeight:800,letterSpacing:"3px",color:"#fff",textShadow:"0 2px 20px rgba(0,0,0,0.3)"},children:"GESTOR DE AGENTES"})]})}),x.jsx(ll,{path:"/devices",element:x.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"1rem"},children:[x.jsx("div",{style:{fontSize:"0.7rem",letterSpacing:"4px",color:"rgba(255,255,255,0.4)"},children:"EN DESARROLLO"}),x.jsx("h1",{style:{fontSize:"1.8rem",fontWeight:800,letterSpacing:"3px",color:"#fff",textShadow:"0 2px 20px rgba(0,0,0,0.3)"},children:"DISPOSITIVOS"})]})}),x.jsx(ll,{path:"/register",element:x.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"1rem"},children:[x.jsx("div",{style:{fontSize:"0.7rem",letterSpacing:"4px",color:"rgba(255,255,255,0.4)"},children:"EN DESARROLLO"}),x.jsx("h1",{style:{fontSize:"1.8rem",fontWeight:800,letterSpacing:"3px",color:"#fff",textShadow:"0 2px 20px rgba(0,0,0,0.3)"},children:"REGISTRO"})]})})]})}),x.jsx(ll,{path:"*",element:x.jsx(ey,{to:"/",replace:!0})})]})})}),Y2=localStorage.getItem("theme");Y2==="dark"?document.body.classList.add("dark"):document.body.classList.remove("dark");hv.createRoot(document.getElementById("root")).render(x.jsx(uv.StrictMode,{children:x.jsx(q2,{})}));
