(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))c(o);new MutationObserver(o=>{for(const d of o)if(d.type==="childList")for(const h of d.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&c(h)}).observe(document,{childList:!0,subtree:!0});function s(o){const d={};return o.integrity&&(d.integrity=o.integrity),o.referrerPolicy&&(d.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?d.credentials="include":o.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function c(o){if(o.ep)return;o.ep=!0;const d=s(o);fetch(o.href,d)}})();function Zm(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var gs={exports:{}},ri={};/**
 * @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 nm;function dv(){if(nm)return ri;nm=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function s(c,o,d){var h=null;if(d!==void 0&&(h=""+d),o.key!==void 0&&(h=""+o.key),"key"in o){d={};for(var y in o)y!=="key"&&(d[y]=o[y])}else d=o;return o=d.ref,{$$typeof:n,type:c,key:h,ref:o!==void 0?o:null,props:d}}return ri.Fragment=r,ri.jsx=s,ri.jsxs=s,ri}var im;function hv(){return im||(im=1,gs.exports=dv()),gs.exports}var p=hv(),bs={exports:{}},ce={};/**
 * @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 um;function mv(){if(um)return ce;um=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),h=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),j=Symbol.iterator;function B(E){return E===null||typeof E!="object"?null:(E=j&&E[j]||E["@@iterator"],typeof E=="function"?E:null)}var V={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},q=Object.assign,L={};function O(E,w,Z){this.props=E,this.context=w,this.refs=L,this.updater=Z||V}O.prototype.isReactComponent={},O.prototype.setState=function(E,w){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,w,"setState")},O.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function U(){}U.prototype=O.prototype;function G(E,w,Z){this.props=E,this.context=w,this.refs=L,this.updater=Z||V}var W=G.prototype=new U;W.constructor=G,q(W,O.prototype),W.isPureReactComponent=!0;var k=Array.isArray;function F(){}var te={H:null,A:null,T:null,S:null},Se=Object.prototype.hasOwnProperty;function ze(E,w,Z){var J=Z.ref;return{$$typeof:n,type:E,key:w,ref:J!==void 0?J:null,props:Z}}function Ue(E,w){return ze(E.type,w,E.props)}function ve(E){return typeof E=="object"&&E!==null&&E.$$typeof===n}function Te(E){var w={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(Z){return w[Z]})}var Pe=/\/+/g;function Ne(E,w){return typeof E=="object"&&E!==null&&E.key!=null?Te(""+E.key):w.toString(36)}function Ee(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(F,F):(E.status="pending",E.then(function(w){E.status==="pending"&&(E.status="fulfilled",E.value=w)},function(w){E.status==="pending"&&(E.status="rejected",E.reason=w)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function A(E,w,Z,J,ie){var P=typeof E;(P==="undefined"||P==="boolean")&&(E=null);var fe=!1;if(E===null)fe=!0;else switch(P){case"bigint":case"string":case"number":fe=!0;break;case"object":switch(E.$$typeof){case n:case r:fe=!0;break;case S:return fe=E._init,A(fe(E._payload),w,Z,J,ie)}}if(fe)return ie=ie(E),fe=J===""?"."+Ne(E,0):J,k(ie)?(Z="",fe!=null&&(Z=fe.replace(Pe,"$&/")+"/"),A(ie,w,Z,"",function(Jl){return Jl})):ie!=null&&(ve(ie)&&(ie=Ue(ie,Z+(ie.key==null||E&&E.key===ie.key?"":(""+ie.key).replace(Pe,"$&/")+"/")+fe)),w.push(ie)),1;fe=0;var Qe=J===""?".":J+":";if(k(E))for(var we=0;we<E.length;we++)J=E[we],P=Qe+Ne(J,we),fe+=A(J,w,Z,P,ie);else if(we=B(E),typeof we=="function")for(E=we.call(E),we=0;!(J=E.next()).done;)J=J.value,P=Qe+Ne(J,we++),fe+=A(J,w,Z,P,ie);else if(P==="object"){if(typeof E.then=="function")return A(Ee(E),w,Z,J,ie);throw w=String(E),Error("Objects are not valid as a React child (found: "+(w==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":w)+"). If you meant to render a collection of children, use an array instead.")}return fe}function Q(E,w,Z){if(E==null)return E;var J=[],ie=0;return A(E,J,"","",function(P){return w.call(Z,P,ie++)}),J}function $(E){if(E._status===-1){var w=E._result;w=w(),w.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=w)}if(E._status===1)return E._result.default;throw E._result}var re=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var w=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(w))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)},ne={map:Q,forEach:function(E,w,Z){Q(E,function(){w.apply(this,arguments)},Z)},count:function(E){var w=0;return Q(E,function(){w++}),w},toArray:function(E){return Q(E,function(w){return w})||[]},only:function(E){if(!ve(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};return ce.Activity=b,ce.Children=ne,ce.Component=O,ce.Fragment=s,ce.Profiler=o,ce.PureComponent=G,ce.StrictMode=c,ce.Suspense=g,ce.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=te,ce.__COMPILER_RUNTIME={__proto__:null,c:function(E){return te.H.useMemoCache(E)}},ce.cache=function(E){return function(){return E.apply(null,arguments)}},ce.cacheSignal=function(){return null},ce.cloneElement=function(E,w,Z){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var J=q({},E.props),ie=E.key;if(w!=null)for(P in w.key!==void 0&&(ie=""+w.key),w)!Se.call(w,P)||P==="key"||P==="__self"||P==="__source"||P==="ref"&&w.ref===void 0||(J[P]=w[P]);var P=arguments.length-2;if(P===1)J.children=Z;else if(1<P){for(var fe=Array(P),Qe=0;Qe<P;Qe++)fe[Qe]=arguments[Qe+2];J.children=fe}return ze(E.type,ie,J)},ce.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},ce.createElement=function(E,w,Z){var J,ie={},P=null;if(w!=null)for(J in w.key!==void 0&&(P=""+w.key),w)Se.call(w,J)&&J!=="key"&&J!=="__self"&&J!=="__source"&&(ie[J]=w[J]);var fe=arguments.length-2;if(fe===1)ie.children=Z;else if(1<fe){for(var Qe=Array(fe),we=0;we<fe;we++)Qe[we]=arguments[we+2];ie.children=Qe}if(E&&E.defaultProps)for(J in fe=E.defaultProps,fe)ie[J]===void 0&&(ie[J]=fe[J]);return ze(E,P,ie)},ce.createRef=function(){return{current:null}},ce.forwardRef=function(E){return{$$typeof:y,render:E}},ce.isValidElement=ve,ce.lazy=function(E){return{$$typeof:S,_payload:{_status:-1,_result:E},_init:$}},ce.memo=function(E,w){return{$$typeof:v,type:E,compare:w===void 0?null:w}},ce.startTransition=function(E){var w=te.T,Z={};te.T=Z;try{var J=E(),ie=te.S;ie!==null&&ie(Z,J),typeof J=="object"&&J!==null&&typeof J.then=="function"&&J.then(F,re)}catch(P){re(P)}finally{w!==null&&Z.types!==null&&(w.types=Z.types),te.T=w}},ce.unstable_useCacheRefresh=function(){return te.H.useCacheRefresh()},ce.use=function(E){return te.H.use(E)},ce.useActionState=function(E,w,Z){return te.H.useActionState(E,w,Z)},ce.useCallback=function(E,w){return te.H.useCallback(E,w)},ce.useContext=function(E){return te.H.useContext(E)},ce.useDebugValue=function(){},ce.useDeferredValue=function(E,w){return te.H.useDeferredValue(E,w)},ce.useEffect=function(E,w){return te.H.useEffect(E,w)},ce.useEffectEvent=function(E){return te.H.useEffectEvent(E)},ce.useId=function(){return te.H.useId()},ce.useImperativeHandle=function(E,w,Z){return te.H.useImperativeHandle(E,w,Z)},ce.useInsertionEffect=function(E,w){return te.H.useInsertionEffect(E,w)},ce.useLayoutEffect=function(E,w){return te.H.useLayoutEffect(E,w)},ce.useMemo=function(E,w){return te.H.useMemo(E,w)},ce.useOptimistic=function(E,w){return te.H.useOptimistic(E,w)},ce.useReducer=function(E,w,Z){return te.H.useReducer(E,w,Z)},ce.useRef=function(E){return te.H.useRef(E)},ce.useState=function(E){return te.H.useState(E)},ce.useSyncExternalStore=function(E,w,Z){return te.H.useSyncExternalStore(E,w,Z)},ce.useTransition=function(){return te.H.useTransition()},ce.version="19.2.7",ce}var rm;function Xs(){return rm||(rm=1,bs.exports=mv()),bs.exports}var C=Xs();const pv=Zm(C);var Ss={exports:{}},ci={},xs={exports:{}},Es={};/**
 * @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 cm;function yv(){return cm||(cm=1,(function(n){function r(A,Q){var $=A.length;A.push(Q);e:for(;0<$;){var re=$-1>>>1,ne=A[re];if(0<o(ne,Q))A[re]=Q,A[$]=ne,$=re;else break e}}function s(A){return A.length===0?null:A[0]}function c(A){if(A.length===0)return null;var Q=A[0],$=A.pop();if($!==Q){A[0]=$;e:for(var re=0,ne=A.length,E=ne>>>1;re<E;){var w=2*(re+1)-1,Z=A[w],J=w+1,ie=A[J];if(0>o(Z,$))J<ne&&0>o(ie,Z)?(A[re]=ie,A[J]=$,re=J):(A[re]=Z,A[w]=$,re=w);else if(J<ne&&0>o(ie,$))A[re]=ie,A[J]=$,re=J;else break e}}return Q}function o(A,Q){var $=A.sortIndex-Q.sortIndex;return $!==0?$:A.id-Q.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;n.unstable_now=function(){return d.now()}}else{var h=Date,y=h.now();n.unstable_now=function(){return h.now()-y}}var g=[],v=[],S=1,b=null,j=3,B=!1,V=!1,q=!1,L=!1,O=typeof setTimeout=="function"?setTimeout:null,U=typeof clearTimeout=="function"?clearTimeout:null,G=typeof setImmediate<"u"?setImmediate:null;function W(A){for(var Q=s(v);Q!==null;){if(Q.callback===null)c(v);else if(Q.startTime<=A)c(v),Q.sortIndex=Q.expirationTime,r(g,Q);else break;Q=s(v)}}function k(A){if(q=!1,W(A),!V)if(s(g)!==null)V=!0,F||(F=!0,Te());else{var Q=s(v);Q!==null&&Ee(k,Q.startTime-A)}}var F=!1,te=-1,Se=5,ze=-1;function Ue(){return L?!0:!(n.unstable_now()-ze<Se)}function ve(){if(L=!1,F){var A=n.unstable_now();ze=A;var Q=!0;try{e:{V=!1,q&&(q=!1,U(te),te=-1),B=!0;var $=j;try{t:{for(W(A),b=s(g);b!==null&&!(b.expirationTime>A&&Ue());){var re=b.callback;if(typeof re=="function"){b.callback=null,j=b.priorityLevel;var ne=re(b.expirationTime<=A);if(A=n.unstable_now(),typeof ne=="function"){b.callback=ne,W(A),Q=!0;break t}b===s(g)&&c(g),W(A)}else c(g);b=s(g)}if(b!==null)Q=!0;else{var E=s(v);E!==null&&Ee(k,E.startTime-A),Q=!1}}break e}finally{b=null,j=$,B=!1}Q=void 0}}finally{Q?Te():F=!1}}}var Te;if(typeof G=="function")Te=function(){G(ve)};else if(typeof MessageChannel<"u"){var Pe=new MessageChannel,Ne=Pe.port2;Pe.port1.onmessage=ve,Te=function(){Ne.postMessage(null)}}else Te=function(){O(ve,0)};function Ee(A,Q){te=O(function(){A(n.unstable_now())},Q)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(A){A.callback=null},n.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Se=0<A?Math.floor(1e3/A):5},n.unstable_getCurrentPriorityLevel=function(){return j},n.unstable_next=function(A){switch(j){case 1:case 2:case 3:var Q=3;break;default:Q=j}var $=j;j=Q;try{return A()}finally{j=$}},n.unstable_requestPaint=function(){L=!0},n.unstable_runWithPriority=function(A,Q){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var $=j;j=A;try{return Q()}finally{j=$}},n.unstable_scheduleCallback=function(A,Q,$){var re=n.unstable_now();switch(typeof $=="object"&&$!==null?($=$.delay,$=typeof $=="number"&&0<$?re+$:re):$=re,A){case 1:var ne=-1;break;case 2:ne=250;break;case 5:ne=1073741823;break;case 4:ne=1e4;break;default:ne=5e3}return ne=$+ne,A={id:S++,callback:Q,priorityLevel:A,startTime:$,expirationTime:ne,sortIndex:-1},$>re?(A.sortIndex=$,r(v,A),s(g)===null&&A===s(v)&&(q?(U(te),te=-1):q=!0,Ee(k,$-re))):(A.sortIndex=ne,r(g,A),V||B||(V=!0,F||(F=!0,Te()))),A},n.unstable_shouldYield=Ue,n.unstable_wrapCallback=function(A){var Q=j;return function(){var $=j;j=Q;try{return A.apply(this,arguments)}finally{j=$}}}})(Es)),Es}var sm;function vv(){return sm||(sm=1,xs.exports=yv()),xs.exports}var Rs={exports:{}},it={};/**
 * @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 om;function gv(){if(om)return it;om=1;var n=Xs();function r(g){var v="https://react.dev/errors/"+g;if(1<arguments.length){v+="?args[]="+encodeURIComponent(arguments[1]);for(var S=2;S<arguments.length;S++)v+="&args[]="+encodeURIComponent(arguments[S])}return"Minified React error #"+g+"; visit "+v+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var c={d:{f:s,r:function(){throw Error(r(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},o=Symbol.for("react.portal");function d(g,v,S){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:b==null?null:""+b,children:g,containerInfo:v,implementation:S}}var h=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function y(g,v){if(g==="font")return"";if(typeof v=="string")return v==="use-credentials"?v:""}return it.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,it.createPortal=function(g,v){var S=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!v||v.nodeType!==1&&v.nodeType!==9&&v.nodeType!==11)throw Error(r(299));return d(g,v,null,S)},it.flushSync=function(g){var v=h.T,S=c.p;try{if(h.T=null,c.p=2,g)return g()}finally{h.T=v,c.p=S,c.d.f()}},it.preconnect=function(g,v){typeof g=="string"&&(v?(v=v.crossOrigin,v=typeof v=="string"?v==="use-credentials"?v:"":void 0):v=null,c.d.C(g,v))},it.prefetchDNS=function(g){typeof g=="string"&&c.d.D(g)},it.preinit=function(g,v){if(typeof g=="string"&&v&&typeof v.as=="string"){var S=v.as,b=y(S,v.crossOrigin),j=typeof v.integrity=="string"?v.integrity:void 0,B=typeof v.fetchPriority=="string"?v.fetchPriority:void 0;S==="style"?c.d.S(g,typeof v.precedence=="string"?v.precedence:void 0,{crossOrigin:b,integrity:j,fetchPriority:B}):S==="script"&&c.d.X(g,{crossOrigin:b,integrity:j,fetchPriority:B,nonce:typeof v.nonce=="string"?v.nonce:void 0})}},it.preinitModule=function(g,v){if(typeof g=="string")if(typeof v=="object"&&v!==null){if(v.as==null||v.as==="script"){var S=y(v.as,v.crossOrigin);c.d.M(g,{crossOrigin:S,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0})}}else v==null&&c.d.M(g)},it.preload=function(g,v){if(typeof g=="string"&&typeof v=="object"&&v!==null&&typeof v.as=="string"){var S=v.as,b=y(S,v.crossOrigin);c.d.L(g,S,{crossOrigin:b,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0,type:typeof v.type=="string"?v.type:void 0,fetchPriority:typeof v.fetchPriority=="string"?v.fetchPriority:void 0,referrerPolicy:typeof v.referrerPolicy=="string"?v.referrerPolicy:void 0,imageSrcSet:typeof v.imageSrcSet=="string"?v.imageSrcSet:void 0,imageSizes:typeof v.imageSizes=="string"?v.imageSizes:void 0,media:typeof v.media=="string"?v.media:void 0})}},it.preloadModule=function(g,v){if(typeof g=="string")if(v){var S=y(v.as,v.crossOrigin);c.d.m(g,{as:typeof v.as=="string"&&v.as!=="script"?v.as:void 0,crossOrigin:S,integrity:typeof v.integrity=="string"?v.integrity:void 0})}else c.d.m(g)},it.requestFormReset=function(g){c.d.r(g)},it.unstable_batchedUpdates=function(g,v){return g(v)},it.useFormState=function(g,v,S){return h.H.useFormState(g,v,S)},it.useFormStatus=function(){return h.H.useHostTransitionStatus()},it.version="19.2.7",it}var fm;function bv(){if(fm)return Rs.exports;fm=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),Rs.exports=gv(),Rs.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 dm;function Sv(){if(dm)return ci;dm=1;var n=vv(),r=Xs(),s=bv();function c(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 o(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 g(e){if(d(e)!==e)throw Error(c(188))}function v(e){var t=e.alternate;if(!t){if(t=d(e),t===null)throw Error(c(188));return t!==e?null:e}for(var l=e,a=t;;){var i=l.return;if(i===null)break;var u=i.alternate;if(u===null){if(a=i.return,a!==null){l=a;continue}break}if(i.child===u.child){for(u=i.child;u;){if(u===l)return g(i),e;if(u===a)return g(i),t;u=u.sibling}throw Error(c(188))}if(l.return!==a.return)l=i,a=u;else{for(var f=!1,m=i.child;m;){if(m===l){f=!0,l=i,a=u;break}if(m===a){f=!0,a=i,l=u;break}m=m.sibling}if(!f){for(m=u.child;m;){if(m===l){f=!0,l=u,a=i;break}if(m===a){f=!0,a=u,l=i;break}m=m.sibling}if(!f)throw Error(c(189))}}if(l.alternate!==a)throw Error(c(190))}if(l.tag!==3)throw Error(c(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 b=Object.assign,j=Symbol.for("react.element"),B=Symbol.for("react.transitional.element"),V=Symbol.for("react.portal"),q=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),G=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),te=Symbol.for("react.memo"),Se=Symbol.for("react.lazy"),ze=Symbol.for("react.activity"),Ue=Symbol.for("react.memo_cache_sentinel"),ve=Symbol.iterator;function Te(e){return e===null||typeof e!="object"?null:(e=ve&&e[ve]||e["@@iterator"],typeof e=="function"?e:null)}var Pe=Symbol.for("react.client.reference");function Ne(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Pe?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case q:return"Fragment";case O:return"Profiler";case L:return"StrictMode";case k:return"Suspense";case F:return"SuspenseList";case ze:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case V:return"Portal";case G:return e.displayName||"Context";case U:return(e._context.displayName||"Context")+".Consumer";case W:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case te:return t=e.displayName||null,t!==null?t:Ne(e.type)||"Memo";case Se:t=e._payload,e=e._init;try{return Ne(e(t))}catch{}}return null}var Ee=Array.isArray,A=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$={pending:!1,data:null,method:null,action:null},re=[],ne=-1;function E(e){return{current:e}}function w(e){0>ne||(e.current=re[ne],re[ne]=null,ne--)}function Z(e,t){ne++,re[ne]=e.current,e.current=t}var J=E(null),ie=E(null),P=E(null),fe=E(null);function Qe(e,t){switch(Z(P,t),Z(ie,e),Z(J,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Oh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Oh(t),e=Ch(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}w(J),Z(J,e)}function we(){w(J),w(ie),w(P)}function Jl(e){e.memoizedState!==null&&Z(fe,e);var t=J.current,l=Ch(t,e.type);t!==l&&(Z(ie,e),Z(J,l))}function Fl(e){ie.current===e&&(w(J),w(ie)),fe.current===e&&(w(fe),ai._currentValue=$)}var gt,hn;function Xt(e){if(gt===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);gt=t&&t[1]||"",hn=-1<l.stack.indexOf(`
    at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+gt+e+hn}var bt=!1;function ue(e,t){if(!e||bt)return"";bt=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var X=function(){throw Error()};if(Object.defineProperty(X.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(X,[])}catch(M){var D=M}Reflect.construct(e,[],X)}else{try{X.call()}catch(M){D=M}e.call(X.prototype)}}else{try{throw Error()}catch(M){D=M}(X=e())&&typeof X.catch=="function"&&X.catch(function(){})}}catch(M){if(M&&D&&typeof M.stack=="string")return[M.stack,D.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),f=u[0],m=u[1];if(f&&m){var x=f.split(`
`),N=m.split(`
`);for(i=a=0;a<x.length&&!x[a].includes("DetermineComponentFrameRoot");)a++;for(;i<N.length&&!N[i].includes("DetermineComponentFrameRoot");)i++;if(a===x.length||i===N.length)for(a=x.length-1,i=N.length-1;1<=a&&0<=i&&x[a]!==N[i];)i--;for(;1<=a&&0<=i;a--,i--)if(x[a]!==N[i]){if(a!==1||i!==1)do if(a--,i--,0>i||x[a]!==N[i]){var H=`
`+x[a].replace(" at new "," at ");return e.displayName&&H.includes("<anonymous>")&&(H=H.replace("<anonymous>",e.displayName)),H}while(1<=a&&0<=i);break}}}finally{bt=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Xt(l):""}function ct(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+=ct(e,l),l=e,e=e.return;while(e);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}var Vt=Object.prototype.hasOwnProperty,ba=n.unstable_scheduleCallback,mn=n.unstable_cancelCallback,$l=n.unstable_shouldYield,Zp=n.unstable_requestPaint,St=n.unstable_now,kp=n.unstable_getCurrentPriorityLevel,ao=n.unstable_ImmediatePriority,no=n.unstable_UserBlockingPriority,Si=n.unstable_NormalPriority,Kp=n.unstable_LowPriority,io=n.unstable_IdlePriority,Jp=n.log,Fp=n.unstable_setDisableYieldValue,pn=null,xt=null;function Rl(e){if(typeof Jp=="function"&&Fp(e),xt&&typeof xt.setStrictMode=="function")try{xt.setStrictMode(pn,e)}catch{}}var Et=Math.clz32?Math.clz32:Pp,$p=Math.log,Wp=Math.LN2;function Pp(e){return e>>>=0,e===0?32:31-($p(e)/Wp|0)|0}var xi=256,Ei=262144,Ri=4194304;function Wl(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 Ai(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var i=0,u=e.suspendedLanes,f=e.pingedLanes;e=e.warmLanes;var m=a&134217727;return m!==0?(a=m&~u,a!==0?i=Wl(a):(f&=m,f!==0?i=Wl(f):l||(l=m&~e,l!==0&&(i=Wl(l))))):(m=a&~u,m!==0?i=Wl(m):f!==0?i=Wl(f):l||(l=a&~e,l!==0&&(i=Wl(l)))),i===0?0:t!==0&&t!==i&&(t&u)===0&&(u=i&-i,l=t&-t,u>=l||u===32&&(l&4194048)!==0)?t:i}function yn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Ip(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 uo(){var e=Ri;return Ri<<=1,(Ri&62914560)===0&&(Ri=4194304),e}function ur(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function vn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ey(e,t,l,a,i,u){var f=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,x=e.expirationTimes,N=e.hiddenUpdates;for(l=f&~l;0<l;){var H=31-Et(l),X=1<<H;m[H]=0,x[H]=-1;var D=N[H];if(D!==null)for(N[H]=null,H=0;H<D.length;H++){var M=D[H];M!==null&&(M.lane&=-536870913)}l&=~X}a!==0&&ro(e,a,0),u!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=u&~(f&~t))}function ro(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-Et(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|l&261930}function co(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var a=31-Et(l),i=1<<a;i&t|e[a]&t&&(e[a]|=t),l&=~i}}function so(e,t){var l=t&-t;return l=(l&42)!==0?1:rr(l),(l&(e.suspendedLanes|t))!==0?0:l}function rr(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 cr(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function oo(){var e=Q.p;return e!==0?e:(e=window.event,e===void 0?32:Wh(e.type))}function fo(e,t){var l=Q.p;try{return Q.p=e,t()}finally{Q.p=l}}var Al=Math.random().toString(36).slice(2),Ie="__reactFiber$"+Al,ot="__reactProps$"+Al,Sa="__reactContainer$"+Al,sr="__reactEvents$"+Al,ty="__reactListeners$"+Al,ly="__reactHandles$"+Al,ho="__reactResources$"+Al,gn="__reactMarker$"+Al;function or(e){delete e[Ie],delete e[ot],delete e[sr],delete e[ty],delete e[ly]}function xa(e){var t=e[Ie];if(t)return t;for(var l=e.parentNode;l;){if(t=l[Sa]||l[Ie]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=wh(e);e!==null;){if(l=e[Ie])return l;e=wh(e)}return t}e=l,l=e.parentNode}return null}function Ea(e){if(e=e[Ie]||e[Sa]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function bn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(c(33))}function Ra(e){var t=e[ho];return t||(t=e[ho]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function $e(e){e[gn]=!0}var mo=new Set,po={};function Pl(e,t){Aa(e,t),Aa(e+"Capture",t)}function Aa(e,t){for(po[e]=t,e=0;e<t.length;e++)mo.add(t[e])}var ay=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]*$"),yo={},vo={};function ny(e){return Vt.call(vo,e)?!0:Vt.call(yo,e)?!1:ay.test(e)?vo[e]=!0:(yo[e]=!0,!1)}function Ti(e,t,l){if(ny(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+l)}}function _i(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,a){if(a===null)e.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(t,l,""+a)}}function jt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function go(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function iy(e,t,l){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var i=a.get,u=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(f){l=""+f,u.call(this,f)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(f){l=""+f},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function fr(e){if(!e._valueTracker){var t=go(e)?"checked":"value";e._valueTracker=iy(e,t,""+e[t])}}function bo(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),a="";return e&&(a=go(e)?e.checked?"true":"false":e.value),e=a,e!==l?(t.setValue(e),!0):!1}function Oi(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 uy=/[\n"\\]/g;function Dt(e){return e.replace(uy,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function dr(e,t,l,a,i,u,f,m){e.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?e.type=f:e.removeAttribute("type"),t!=null?f==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+jt(t)):e.value!==""+jt(t)&&(e.value=""+jt(t)):f!=="submit"&&f!=="reset"||e.removeAttribute("value"),t!=null?hr(e,f,jt(t)):l!=null?hr(e,f,jt(l)):a!=null&&e.removeAttribute("value"),i==null&&u!=null&&(e.defaultChecked=!!u),i!=null&&(e.checked=i&&typeof i!="function"&&typeof i!="symbol"),m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.name=""+jt(m):e.removeAttribute("name")}function So(e,t,l,a,i,u,f,m){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){fr(e);return}l=l!=null?""+jt(l):"",t=t!=null?""+jt(t):l,m||t===e.value||(e.value=t),e.defaultValue=t}a=a??i,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=m?e.checked:!!a,e.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(e.name=f),fr(e)}function hr(e,t,l){t==="number"&&Oi(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function Ta(e,t,l,a){if(e=e.options,t){t={};for(var i=0;i<l.length;i++)t["$"+l[i]]=!0;for(l=0;l<e.length;l++)i=t.hasOwnProperty("$"+e[l].value),e[l].selected!==i&&(e[l].selected=i),i&&a&&(e[l].defaultSelected=!0)}else{for(l=""+jt(l),t=null,i=0;i<e.length;i++){if(e[i].value===l){e[i].selected=!0,a&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function xo(e,t,l){if(t!=null&&(t=""+jt(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+jt(l):""}function Eo(e,t,l,a){if(t==null){if(a!=null){if(l!=null)throw Error(c(92));if(Ee(a)){if(1<a.length)throw Error(c(93));a=a[0]}l=a}l==null&&(l=""),t=l}l=jt(t),e.defaultValue=l,a=e.textContent,a===l&&a!==""&&a!==null&&(e.value=a),fr(e)}function _a(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var ry=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 Ro(e,t,l){var a=t.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,l):typeof l!="number"||l===0||ry.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function Ao(e,t,l){if(t!=null&&typeof t!="object")throw Error(c(62));if(e=e.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var i in t)a=t[i],t.hasOwnProperty(i)&&l[i]!==a&&Ro(e,i,a)}else for(var u in t)t.hasOwnProperty(u)&&Ro(e,u,t[u])}function mr(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 cy=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"]]),sy=/^[\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 Ci(e){return sy.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function il(){}var pr=null;function yr(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Oa=null,Ca=null;function To(e){var t=Ea(e);if(t&&(e=t.stateNode)){var l=e[ot]||null;e:switch(e=t.stateNode,t.type){case"input":if(dr(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="'+Dt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var a=l[t];if(a!==e&&a.form===e.form){var i=a[ot]||null;if(!i)throw Error(c(90));dr(a,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<l.length;t++)a=l[t],a.form===e.form&&bo(a)}break e;case"textarea":xo(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&Ta(e,!!l.multiple,t,!1)}}}var vr=!1;function _o(e,t,l){if(vr)return e(t,l);vr=!0;try{var a=e(t);return a}finally{if(vr=!1,(Oa!==null||Ca!==null)&&(pu(),Oa&&(t=Oa,e=Ca,Ca=Oa=null,To(t),e)))for(t=0;t<e.length;t++)To(e[t])}}function Sn(e,t){var l=e.stateNode;if(l===null)return null;var a=l[ot]||null;if(a===null)return null;l=a[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":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(c(231,t,typeof l));return l}var ul=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gr=!1;if(ul)try{var xn={};Object.defineProperty(xn,"passive",{get:function(){gr=!0}}),window.addEventListener("test",xn,xn),window.removeEventListener("test",xn,xn)}catch{gr=!1}var Tl=null,br=null,zi=null;function Oo(){if(zi)return zi;var e,t=br,l=t.length,a,i="value"in Tl?Tl.value:Tl.textContent,u=i.length;for(e=0;e<l&&t[e]===i[e];e++);var f=l-e;for(a=1;a<=f&&t[l-a]===i[u-a];a++);return zi=i.slice(e,1<a?1-a:void 0)}function Ni(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 ji(){return!0}function Co(){return!1}function ft(e){function t(l,a,i,u,f){this._reactName=l,this._targetInst=i,this.type=a,this.nativeEvent=u,this.target=f,this.currentTarget=null;for(var m in e)e.hasOwnProperty(m)&&(l=e[m],this[m]=l?l(u):u[m]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?ji:Co,this.isPropagationStopped=Co,this}return b(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=ji)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ji)},persist:function(){},isPersistent:ji}),t}var Il={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Di=ft(Il),En=b({},Il,{view:0,detail:0}),oy=ft(En),Sr,xr,Rn,Mi=b({},En,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Rr,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!==Rn&&(Rn&&e.type==="mousemove"?(Sr=e.screenX-Rn.screenX,xr=e.screenY-Rn.screenY):xr=Sr=0,Rn=e),Sr)},movementY:function(e){return"movementY"in e?e.movementY:xr}}),zo=ft(Mi),fy=b({},Mi,{dataTransfer:0}),dy=ft(fy),hy=b({},En,{relatedTarget:0}),Er=ft(hy),my=b({},Il,{animationName:0,elapsedTime:0,pseudoElement:0}),py=ft(my),yy=b({},Il,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vy=ft(yy),gy=b({},Il,{data:0}),No=ft(gy),by={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sy={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"},xy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ey(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=xy[e])?!!t[e]:!1}function Rr(){return Ey}var Ry=b({},En,{key:function(e){if(e.key){var t=by[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ni(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Sy[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Rr,charCode:function(e){return e.type==="keypress"?Ni(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ni(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ay=ft(Ry),Ty=b({},Mi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),jo=ft(Ty),_y=b({},En,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Rr}),Oy=ft(_y),Cy=b({},Il,{propertyName:0,elapsedTime:0,pseudoElement:0}),zy=ft(Cy),Ny=b({},Mi,{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}),jy=ft(Ny),Dy=b({},Il,{newState:0,oldState:0}),My=ft(Dy),Uy=[9,13,27,32],Ar=ul&&"CompositionEvent"in window,An=null;ul&&"documentMode"in document&&(An=document.documentMode);var wy=ul&&"TextEvent"in window&&!An,Do=ul&&(!Ar||An&&8<An&&11>=An),Mo=" ",Uo=!1;function wo(e,t){switch(e){case"keyup":return Uy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bo(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var za=!1;function By(e,t){switch(e){case"compositionend":return Bo(t);case"keypress":return t.which!==32?null:(Uo=!0,Mo);case"textInput":return e=t.data,e===Mo&&Uo?null:e;default:return null}}function Ly(e,t){if(za)return e==="compositionend"||!Ar&&wo(e,t)?(e=Oo(),zi=br=Tl=null,za=!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 Do&&t.locale!=="ko"?null:t.data;default:return null}}var Hy={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 Lo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Hy[e.type]:t==="textarea"}function Ho(e,t,l,a){Oa?Ca?Ca.push(a):Ca=[a]:Oa=a,t=Eu(t,"onChange"),0<t.length&&(l=new Di("onChange","change",null,l,a),e.push({event:l,listeners:t}))}var Tn=null,_n=null;function qy(e){xh(e,0)}function Ui(e){var t=bn(e);if(bo(t))return e}function qo(e,t){if(e==="change")return t}var Yo=!1;if(ul){var Tr;if(ul){var _r="oninput"in document;if(!_r){var Xo=document.createElement("div");Xo.setAttribute("oninput","return;"),_r=typeof Xo.oninput=="function"}Tr=_r}else Tr=!1;Yo=Tr&&(!document.documentMode||9<document.documentMode)}function Go(){Tn&&(Tn.detachEvent("onpropertychange",Vo),_n=Tn=null)}function Vo(e){if(e.propertyName==="value"&&Ui(_n)){var t=[];Ho(t,_n,e,yr(e)),_o(qy,t)}}function Yy(e,t,l){e==="focusin"?(Go(),Tn=t,_n=l,Tn.attachEvent("onpropertychange",Vo)):e==="focusout"&&Go()}function Xy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ui(_n)}function Gy(e,t){if(e==="click")return Ui(t)}function Vy(e,t){if(e==="input"||e==="change")return Ui(t)}function Qy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Rt=typeof Object.is=="function"?Object.is:Qy;function On(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),a=Object.keys(t);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var i=l[a];if(!Vt.call(t,i)||!Rt(e[i],t[i]))return!1}return!0}function Qo(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Zo(e,t){var l=Qo(e);e=0;for(var a;l;){if(l.nodeType===3){if(a=e+l.textContent.length,e<=t&&a>=t)return{node:l,offset:t-e};e=a}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Qo(l)}}function ko(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ko(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ko(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Oi(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=Oi(e.document)}return t}function Or(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 Zy=ul&&"documentMode"in document&&11>=document.documentMode,Na=null,Cr=null,Cn=null,zr=!1;function Jo(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;zr||Na==null||Na!==Oi(a)||(a=Na,"selectionStart"in a&&Or(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Cn&&On(Cn,a)||(Cn=a,a=Eu(Cr,"onSelect"),0<a.length&&(t=new Di("onSelect","select",null,t,l),e.push({event:t,listeners:a}),t.target=Na)))}function ea(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var ja={animationend:ea("Animation","AnimationEnd"),animationiteration:ea("Animation","AnimationIteration"),animationstart:ea("Animation","AnimationStart"),transitionrun:ea("Transition","TransitionRun"),transitionstart:ea("Transition","TransitionStart"),transitioncancel:ea("Transition","TransitionCancel"),transitionend:ea("Transition","TransitionEnd")},Nr={},Fo={};ul&&(Fo=document.createElement("div").style,"AnimationEvent"in window||(delete ja.animationend.animation,delete ja.animationiteration.animation,delete ja.animationstart.animation),"TransitionEvent"in window||delete ja.transitionend.transition);function ta(e){if(Nr[e])return Nr[e];if(!ja[e])return e;var t=ja[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in Fo)return Nr[e]=t[l];return e}var $o=ta("animationend"),Wo=ta("animationiteration"),Po=ta("animationstart"),ky=ta("transitionrun"),Ky=ta("transitionstart"),Jy=ta("transitioncancel"),Io=ta("transitionend"),ef=new Map,jr="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(" ");jr.push("scrollEnd");function Qt(e,t){ef.set(e,t),Pl(t,[e])}var wi=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)},Mt=[],Da=0,Dr=0;function Bi(){for(var e=Da,t=Dr=Da=0;t<e;){var l=Mt[t];Mt[t++]=null;var a=Mt[t];Mt[t++]=null;var i=Mt[t];Mt[t++]=null;var u=Mt[t];if(Mt[t++]=null,a!==null&&i!==null){var f=a.pending;f===null?i.next=i:(i.next=f.next,f.next=i),a.pending=i}u!==0&&tf(l,i,u)}}function Li(e,t,l,a){Mt[Da++]=e,Mt[Da++]=t,Mt[Da++]=l,Mt[Da++]=a,Dr|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Mr(e,t,l,a){return Li(e,t,l,a),Hi(e)}function la(e,t){return Li(e,null,null,t),Hi(e)}function tf(e,t,l){e.lanes|=l;var a=e.alternate;a!==null&&(a.lanes|=l);for(var i=!1,u=e.return;u!==null;)u.childLanes|=l,a=u.alternate,a!==null&&(a.childLanes|=l),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(i=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,i&&t!==null&&(i=31-Et(l),e=u.hiddenUpdates,a=e[i],a===null?e[i]=[t]:a.push(t),t.lane=l|536870912),u):null}function Hi(e){if(50<$n)throw $n=0,Gc=null,Error(c(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Ma={};function Fy(e,t,l,a){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=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function At(e,t,l,a){return new Fy(e,t,l,a)}function Ur(e){return e=e.prototype,!(!e||!e.isReactComponent)}function rl(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 lf(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 qi(e,t,l,a,i,u){var f=0;if(a=e,typeof e=="function")Ur(e)&&(f=1);else if(typeof e=="string")f=ev(e,l,J.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ze:return e=At(31,l,t,i),e.elementType=ze,e.lanes=u,e;case q:return aa(l.children,i,u,t);case L:f=8,i|=24;break;case O:return e=At(12,l,t,i|2),e.elementType=O,e.lanes=u,e;case k:return e=At(13,l,t,i),e.elementType=k,e.lanes=u,e;case F:return e=At(19,l,t,i),e.elementType=F,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case G:f=10;break e;case U:f=9;break e;case W:f=11;break e;case te:f=14;break e;case Se:f=16,a=null;break e}f=29,l=Error(c(130,e===null?"null":typeof e,"")),a=null}return t=At(f,l,t,i),t.elementType=e,t.type=a,t.lanes=u,t}function aa(e,t,l,a){return e=At(7,e,a,t),e.lanes=l,e}function wr(e,t,l){return e=At(6,e,null,t),e.lanes=l,e}function af(e){var t=At(18,null,null,0);return t.stateNode=e,t}function Br(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 nf=new WeakMap;function Ut(e,t){if(typeof e=="object"&&e!==null){var l=nf.get(e);return l!==void 0?l:(t={value:e,source:t,stack:Gt(t)},nf.set(e,t),t)}return{value:e,source:t,stack:Gt(t)}}var Ua=[],wa=0,Yi=null,zn=0,wt=[],Bt=0,_l=null,It=1,el="";function cl(e,t){Ua[wa++]=zn,Ua[wa++]=Yi,Yi=e,zn=t}function uf(e,t,l){wt[Bt++]=It,wt[Bt++]=el,wt[Bt++]=_l,_l=e;var a=It;e=el;var i=32-Et(a)-1;a&=~(1<<i),l+=1;var u=32-Et(t)+i;if(30<u){var f=i-i%5;u=(a&(1<<f)-1).toString(32),a>>=f,i-=f,It=1<<32-Et(t)+i|l<<i|a,el=u+e}else It=1<<u|l<<i|a,el=e}function Lr(e){e.return!==null&&(cl(e,1),uf(e,1,0))}function Hr(e){for(;e===Yi;)Yi=Ua[--wa],Ua[wa]=null,zn=Ua[--wa],Ua[wa]=null;for(;e===_l;)_l=wt[--Bt],wt[Bt]=null,el=wt[--Bt],wt[Bt]=null,It=wt[--Bt],wt[Bt]=null}function rf(e,t){wt[Bt++]=It,wt[Bt++]=el,wt[Bt++]=_l,It=t.id,el=t.overflow,_l=e}var et=null,De=null,ye=!1,Ol=null,Lt=!1,qr=Error(c(519));function Cl(e){var t=Error(c(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Nn(Ut(t,e)),qr}function cf(e){var t=e.stateNode,l=e.type,a=e.memoizedProps;switch(t[Ie]=e,t[ot]=a,l){case"dialog":he("cancel",t),he("close",t);break;case"iframe":case"object":case"embed":he("load",t);break;case"video":case"audio":for(l=0;l<Pn.length;l++)he(Pn[l],t);break;case"source":he("error",t);break;case"img":case"image":case"link":he("error",t),he("load",t);break;case"details":he("toggle",t);break;case"input":he("invalid",t),So(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":he("invalid",t);break;case"textarea":he("invalid",t),Eo(t,a.value,a.defaultValue,a.children)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||a.suppressHydrationWarning===!0||Th(t.textContent,l)?(a.popover!=null&&(he("beforetoggle",t),he("toggle",t)),a.onScroll!=null&&he("scroll",t),a.onScrollEnd!=null&&he("scrollend",t),a.onClick!=null&&(t.onclick=il),t=!0):t=!1,t||Cl(e,!0)}function sf(e){for(et=e.return;et;)switch(et.tag){case 5:case 31:case 13:Lt=!1;return;case 27:case 3:Lt=!0;return;default:et=et.return}}function Ba(e){if(e!==et)return!1;if(!ye)return sf(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")||as(e.type,e.memoizedProps)),l=!l),l&&De&&Cl(e),sf(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));De=Uh(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));De=Uh(e)}else t===27?(t=De,Gl(e.type)?(e=cs,cs=null,De=e):De=t):De=et?qt(e.stateNode.nextSibling):null;return!0}function na(){De=et=null,ye=!1}function Yr(){var e=Ol;return e!==null&&(pt===null?pt=e:pt.push.apply(pt,e),Ol=null),e}function Nn(e){Ol===null?Ol=[e]:Ol.push(e)}var Xr=E(null),ia=null,sl=null;function zl(e,t,l){Z(Xr,t._currentValue),t._currentValue=l}function ol(e){e._currentValue=Xr.current,w(Xr)}function Gr(e,t,l){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===l)break;e=e.return}}function Vr(e,t,l,a){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var u=i.dependencies;if(u!==null){var f=i.child;u=u.firstContext;e:for(;u!==null;){var m=u;u=i;for(var x=0;x<t.length;x++)if(m.context===t[x]){u.lanes|=l,m=u.alternate,m!==null&&(m.lanes|=l),Gr(u.return,l,e),a||(f=null);break e}u=m.next}}else if(i.tag===18){if(f=i.return,f===null)throw Error(c(341));f.lanes|=l,u=f.alternate,u!==null&&(u.lanes|=l),Gr(f,l,e),f=null}else f=i.child;if(f!==null)f.return=i;else for(f=i;f!==null;){if(f===e){f=null;break}if(i=f.sibling,i!==null){i.return=f.return,f=i;break}f=f.return}i=f}}function La(e,t,l,a){e=null;for(var i=t,u=!1;i!==null;){if(!u){if((i.flags&524288)!==0)u=!0;else if((i.flags&262144)!==0)break}if(i.tag===10){var f=i.alternate;if(f===null)throw Error(c(387));if(f=f.memoizedProps,f!==null){var m=i.type;Rt(i.pendingProps.value,f.value)||(e!==null?e.push(m):e=[m])}}else if(i===fe.current){if(f=i.alternate,f===null)throw Error(c(387));f.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e!==null?e.push(ai):e=[ai])}i=i.return}e!==null&&Vr(t,e,l,a),t.flags|=262144}function Xi(e){for(e=e.firstContext;e!==null;){if(!Rt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ua(e){ia=e,sl=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function tt(e){return of(ia,e)}function Gi(e,t){return ia===null&&ua(e),of(e,t)}function of(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},sl===null){if(e===null)throw Error(c(308));sl=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else sl=sl.next=t;return l}var $y=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},Wy=n.unstable_scheduleCallback,Py=n.unstable_NormalPriority,Ze={$$typeof:G,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Qr(){return{controller:new $y,data:new Map,refCount:0}}function jn(e){e.refCount--,e.refCount===0&&Wy(Py,function(){e.controller.abort()})}var Dn=null,Zr=0,Ha=0,qa=null;function Iy(e,t){if(Dn===null){var l=Dn=[];Zr=0,Ha=Jc(),qa={status:"pending",value:void 0,then:function(a){l.push(a)}}}return Zr++,t.then(ff,ff),t}function ff(){if(--Zr===0&&Dn!==null){qa!==null&&(qa.status="fulfilled");var e=Dn;Dn=null,Ha=0,qa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function e0(e,t){var l=[],a={status:"pending",value:null,reason:null,then:function(i){l.push(i)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var i=0;i<l.length;i++)(0,l[i])(t)},function(i){for(a.status="rejected",a.reason=i,i=0;i<l.length;i++)(0,l[i])(void 0)}),a}var df=A.S;A.S=function(e,t){Fd=St(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Iy(e,t),df!==null&&df(e,t)};var ra=E(null);function kr(){var e=ra.current;return e!==null?e:je.pooledCache}function Vi(e,t){t===null?Z(ra,ra.current):Z(ra,t.pool)}function hf(){var e=kr();return e===null?null:{parent:Ze._currentValue,pool:e}}var Ya=Error(c(460)),Kr=Error(c(474)),Qi=Error(c(542)),Zi={then:function(){}};function mf(e){return e=e.status,e==="fulfilled"||e==="rejected"}function pf(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(il,il),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,vf(e),e;default:if(typeof t.status=="string")t.then(il,il);else{if(e=je,e!==null&&100<e.shellSuspendCounter)throw Error(c(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var i=t;i.status="fulfilled",i.value=a}},function(a){if(t.status==="pending"){var i=t;i.status="rejected",i.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,vf(e),e}throw sa=t,Ya}}function ca(e){try{var t=e._init;return t(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(sa=l,Ya):l}}var sa=null;function yf(){if(sa===null)throw Error(c(459));var e=sa;return sa=null,e}function vf(e){if(e===Ya||e===Qi)throw Error(c(483))}var Xa=null,Mn=0;function ki(e){var t=Mn;return Mn+=1,Xa===null&&(Xa=[]),pf(Xa,e,t)}function Un(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Ki(e,t){throw t.$$typeof===j?Error(c(525)):(e=Object.prototype.toString.call(t),Error(c(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function gf(e){function t(_,R){if(e){var z=_.deletions;z===null?(_.deletions=[R],_.flags|=16):z.push(R)}}function l(_,R){if(!e)return null;for(;R!==null;)t(_,R),R=R.sibling;return null}function a(_){for(var R=new Map;_!==null;)_.key!==null?R.set(_.key,_):R.set(_.index,_),_=_.sibling;return R}function i(_,R){return _=rl(_,R),_.index=0,_.sibling=null,_}function u(_,R,z){return _.index=z,e?(z=_.alternate,z!==null?(z=z.index,z<R?(_.flags|=67108866,R):z):(_.flags|=67108866,R)):(_.flags|=1048576,R)}function f(_){return e&&_.alternate===null&&(_.flags|=67108866),_}function m(_,R,z,Y){return R===null||R.tag!==6?(R=wr(z,_.mode,Y),R.return=_,R):(R=i(R,z),R.return=_,R)}function x(_,R,z,Y){var le=z.type;return le===q?H(_,R,z.props.children,Y,z.key):R!==null&&(R.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===Se&&ca(le)===R.type)?(R=i(R,z.props),Un(R,z),R.return=_,R):(R=qi(z.type,z.key,z.props,null,_.mode,Y),Un(R,z),R.return=_,R)}function N(_,R,z,Y){return R===null||R.tag!==4||R.stateNode.containerInfo!==z.containerInfo||R.stateNode.implementation!==z.implementation?(R=Br(z,_.mode,Y),R.return=_,R):(R=i(R,z.children||[]),R.return=_,R)}function H(_,R,z,Y,le){return R===null||R.tag!==7?(R=aa(z,_.mode,Y,le),R.return=_,R):(R=i(R,z),R.return=_,R)}function X(_,R,z){if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return R=wr(""+R,_.mode,z),R.return=_,R;if(typeof R=="object"&&R!==null){switch(R.$$typeof){case B:return z=qi(R.type,R.key,R.props,null,_.mode,z),Un(z,R),z.return=_,z;case V:return R=Br(R,_.mode,z),R.return=_,R;case Se:return R=ca(R),X(_,R,z)}if(Ee(R)||Te(R))return R=aa(R,_.mode,z,null),R.return=_,R;if(typeof R.then=="function")return X(_,ki(R),z);if(R.$$typeof===G)return X(_,Gi(_,R),z);Ki(_,R)}return null}function D(_,R,z,Y){var le=R!==null?R.key:null;if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return le!==null?null:m(_,R,""+z,Y);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case B:return z.key===le?x(_,R,z,Y):null;case V:return z.key===le?N(_,R,z,Y):null;case Se:return z=ca(z),D(_,R,z,Y)}if(Ee(z)||Te(z))return le!==null?null:H(_,R,z,Y,null);if(typeof z.then=="function")return D(_,R,ki(z),Y);if(z.$$typeof===G)return D(_,R,Gi(_,z),Y);Ki(_,z)}return null}function M(_,R,z,Y,le){if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return _=_.get(z)||null,m(R,_,""+Y,le);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case B:return _=_.get(Y.key===null?z:Y.key)||null,x(R,_,Y,le);case V:return _=_.get(Y.key===null?z:Y.key)||null,N(R,_,Y,le);case Se:return Y=ca(Y),M(_,R,z,Y,le)}if(Ee(Y)||Te(Y))return _=_.get(z)||null,H(R,_,Y,le,null);if(typeof Y.then=="function")return M(_,R,z,ki(Y),le);if(Y.$$typeof===G)return M(_,R,z,Gi(R,Y),le);Ki(R,Y)}return null}function I(_,R,z,Y){for(var le=null,ge=null,ee=R,oe=R=0,pe=null;ee!==null&&oe<z.length;oe++){ee.index>oe?(pe=ee,ee=null):pe=ee.sibling;var be=D(_,ee,z[oe],Y);if(be===null){ee===null&&(ee=pe);break}e&&ee&&be.alternate===null&&t(_,ee),R=u(be,R,oe),ge===null?le=be:ge.sibling=be,ge=be,ee=pe}if(oe===z.length)return l(_,ee),ye&&cl(_,oe),le;if(ee===null){for(;oe<z.length;oe++)ee=X(_,z[oe],Y),ee!==null&&(R=u(ee,R,oe),ge===null?le=ee:ge.sibling=ee,ge=ee);return ye&&cl(_,oe),le}for(ee=a(ee);oe<z.length;oe++)pe=M(ee,_,oe,z[oe],Y),pe!==null&&(e&&pe.alternate!==null&&ee.delete(pe.key===null?oe:pe.key),R=u(pe,R,oe),ge===null?le=pe:ge.sibling=pe,ge=pe);return e&&ee.forEach(function(Kl){return t(_,Kl)}),ye&&cl(_,oe),le}function ae(_,R,z,Y){if(z==null)throw Error(c(151));for(var le=null,ge=null,ee=R,oe=R=0,pe=null,be=z.next();ee!==null&&!be.done;oe++,be=z.next()){ee.index>oe?(pe=ee,ee=null):pe=ee.sibling;var Kl=D(_,ee,be.value,Y);if(Kl===null){ee===null&&(ee=pe);break}e&&ee&&Kl.alternate===null&&t(_,ee),R=u(Kl,R,oe),ge===null?le=Kl:ge.sibling=Kl,ge=Kl,ee=pe}if(be.done)return l(_,ee),ye&&cl(_,oe),le;if(ee===null){for(;!be.done;oe++,be=z.next())be=X(_,be.value,Y),be!==null&&(R=u(be,R,oe),ge===null?le=be:ge.sibling=be,ge=be);return ye&&cl(_,oe),le}for(ee=a(ee);!be.done;oe++,be=z.next())be=M(ee,_,oe,be.value,Y),be!==null&&(e&&be.alternate!==null&&ee.delete(be.key===null?oe:be.key),R=u(be,R,oe),ge===null?le=be:ge.sibling=be,ge=be);return e&&ee.forEach(function(fv){return t(_,fv)}),ye&&cl(_,oe),le}function Ce(_,R,z,Y){if(typeof z=="object"&&z!==null&&z.type===q&&z.key===null&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case B:e:{for(var le=z.key;R!==null;){if(R.key===le){if(le=z.type,le===q){if(R.tag===7){l(_,R.sibling),Y=i(R,z.props.children),Y.return=_,_=Y;break e}}else if(R.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===Se&&ca(le)===R.type){l(_,R.sibling),Y=i(R,z.props),Un(Y,z),Y.return=_,_=Y;break e}l(_,R);break}else t(_,R);R=R.sibling}z.type===q?(Y=aa(z.props.children,_.mode,Y,z.key),Y.return=_,_=Y):(Y=qi(z.type,z.key,z.props,null,_.mode,Y),Un(Y,z),Y.return=_,_=Y)}return f(_);case V:e:{for(le=z.key;R!==null;){if(R.key===le)if(R.tag===4&&R.stateNode.containerInfo===z.containerInfo&&R.stateNode.implementation===z.implementation){l(_,R.sibling),Y=i(R,z.children||[]),Y.return=_,_=Y;break e}else{l(_,R);break}else t(_,R);R=R.sibling}Y=Br(z,_.mode,Y),Y.return=_,_=Y}return f(_);case Se:return z=ca(z),Ce(_,R,z,Y)}if(Ee(z))return I(_,R,z,Y);if(Te(z)){if(le=Te(z),typeof le!="function")throw Error(c(150));return z=le.call(z),ae(_,R,z,Y)}if(typeof z.then=="function")return Ce(_,R,ki(z),Y);if(z.$$typeof===G)return Ce(_,R,Gi(_,z),Y);Ki(_,z)}return typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint"?(z=""+z,R!==null&&R.tag===6?(l(_,R.sibling),Y=i(R,z),Y.return=_,_=Y):(l(_,R),Y=wr(z,_.mode,Y),Y.return=_,_=Y),f(_)):l(_,R)}return function(_,R,z,Y){try{Mn=0;var le=Ce(_,R,z,Y);return Xa=null,le}catch(ee){if(ee===Ya||ee===Qi)throw ee;var ge=At(29,ee,null,_.mode);return ge.lanes=Y,ge.return=_,ge}finally{}}}var oa=gf(!0),bf=gf(!1),Nl=!1;function Jr(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Fr(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 jl(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Dl(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(xe&2)!==0){var i=a.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),a.pending=t,t=Hi(e),tf(e,null,l),t}return Li(e,a,t,l),Hi(e)}function wn(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,co(e,l)}}function $r(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var i=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var f={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?i=u=f:u=u.next=f,l=l.next}while(l!==null);u===null?i=u=t:u=u.next=t}else i=u=t;l={baseState:a.baseState,firstBaseUpdate:i,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var Wr=!1;function Bn(){if(Wr){var e=qa;if(e!==null)throw e}}function Ln(e,t,l,a){Wr=!1;var i=e.updateQueue;Nl=!1;var u=i.firstBaseUpdate,f=i.lastBaseUpdate,m=i.shared.pending;if(m!==null){i.shared.pending=null;var x=m,N=x.next;x.next=null,f===null?u=N:f.next=N,f=x;var H=e.alternate;H!==null&&(H=H.updateQueue,m=H.lastBaseUpdate,m!==f&&(m===null?H.firstBaseUpdate=N:m.next=N,H.lastBaseUpdate=x))}if(u!==null){var X=i.baseState;f=0,H=N=x=null,m=u;do{var D=m.lane&-536870913,M=D!==m.lane;if(M?(me&D)===D:(a&D)===D){D!==0&&D===Ha&&(Wr=!0),H!==null&&(H=H.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});e:{var I=e,ae=m;D=t;var Ce=l;switch(ae.tag){case 1:if(I=ae.payload,typeof I=="function"){X=I.call(Ce,X,D);break e}X=I;break e;case 3:I.flags=I.flags&-65537|128;case 0:if(I=ae.payload,D=typeof I=="function"?I.call(Ce,X,D):I,D==null)break e;X=b({},X,D);break e;case 2:Nl=!0}}D=m.callback,D!==null&&(e.flags|=64,M&&(e.flags|=8192),M=i.callbacks,M===null?i.callbacks=[D]:M.push(D))}else M={lane:D,tag:m.tag,payload:m.payload,callback:m.callback,next:null},H===null?(N=H=M,x=X):H=H.next=M,f|=D;if(m=m.next,m===null){if(m=i.shared.pending,m===null)break;M=m,m=M.next,M.next=null,i.lastBaseUpdate=M,i.shared.pending=null}}while(!0);H===null&&(x=X),i.baseState=x,i.firstBaseUpdate=N,i.lastBaseUpdate=H,u===null&&(i.shared.lanes=0),Ll|=f,e.lanes=f,e.memoizedState=X}}function Sf(e,t){if(typeof e!="function")throw Error(c(191,e));e.call(t)}function xf(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)Sf(l[e],t)}var Ga=E(null),Ji=E(0);function Ef(e,t){e=bl,Z(Ji,e),Z(Ga,t),bl=e|t.baseLanes}function Pr(){Z(Ji,bl),Z(Ga,Ga.current)}function Ir(){bl=Ji.current,w(Ga),w(Ji)}var Tt=E(null),Ht=null;function Ml(e){var t=e.alternate;Z(Xe,Xe.current&1),Z(Tt,e),Ht===null&&(t===null||Ga.current!==null||t.memoizedState!==null)&&(Ht=e)}function ec(e){Z(Xe,Xe.current),Z(Tt,e),Ht===null&&(Ht=e)}function Rf(e){e.tag===22?(Z(Xe,Xe.current),Z(Tt,e),Ht===null&&(Ht=e)):Ul()}function Ul(){Z(Xe,Xe.current),Z(Tt,Tt.current)}function _t(e){w(Tt),Ht===e&&(Ht=null),w(Xe)}var Xe=E(0);function Fi(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||us(l)||rs(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 fl=0,se=null,_e=null,ke=null,$i=!1,Va=!1,fa=!1,Wi=0,Hn=0,Qa=null,t0=0;function qe(){throw Error(c(321))}function tc(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 lc(e,t,l,a,i,u){return fl=u,se=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,A.H=e===null||e.memoizedState===null?ud:vc,fa=!1,u=l(a,i),fa=!1,Va&&(u=Tf(t,l,a,i)),Af(e),u}function Af(e){A.H=Xn;var t=_e!==null&&_e.next!==null;if(fl=0,ke=_e=se=null,$i=!1,Hn=0,Qa=null,t)throw Error(c(300));e===null||Ke||(e=e.dependencies,e!==null&&Xi(e)&&(Ke=!0))}function Tf(e,t,l,a){se=e;var i=0;do{if(Va&&(Qa=null),Hn=0,Va=!1,25<=i)throw Error(c(301));if(i+=1,ke=_e=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}A.H=rd,u=t(l,a)}while(Va);return u}function l0(){var e=A.H,t=e.useState()[0];return t=typeof t.then=="function"?qn(t):t,e=e.useState()[0],(_e!==null?_e.memoizedState:null)!==e&&(se.flags|=1024),t}function ac(){var e=Wi!==0;return Wi=0,e}function nc(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function ic(e){if($i){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}$i=!1}fl=0,ke=_e=se=null,Va=!1,Hn=Wi=0,Qa=null}function st(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ke===null?se.memoizedState=ke=e:ke=ke.next=e,ke}function Ge(){if(_e===null){var e=se.alternate;e=e!==null?e.memoizedState:null}else e=_e.next;var t=ke===null?se.memoizedState:ke.next;if(t!==null)ke=t,_e=e;else{if(e===null)throw se.alternate===null?Error(c(467)):Error(c(310));_e=e,e={memoizedState:_e.memoizedState,baseState:_e.baseState,baseQueue:_e.baseQueue,queue:_e.queue,next:null},ke===null?se.memoizedState=ke=e:ke=ke.next=e}return ke}function Pi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function qn(e){var t=Hn;return Hn+=1,Qa===null&&(Qa=[]),e=pf(Qa,e,t),t=se,(ke===null?t.memoizedState:ke.next)===null&&(t=t.alternate,A.H=t===null||t.memoizedState===null?ud:vc),e}function Ii(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return qn(e);if(e.$$typeof===G)return tt(e)}throw Error(c(438,String(e)))}function uc(e){var t=null,l=se.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var a=se.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(i){return i.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=Pi(),se.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),a=0;a<e;a++)l[a]=Ue;return t.index++,l}function dl(e,t){return typeof t=="function"?t(e):t}function eu(e){var t=Ge();return rc(t,_e,e)}function rc(e,t,l){var a=e.queue;if(a===null)throw Error(c(311));a.lastRenderedReducer=l;var i=e.baseQueue,u=a.pending;if(u!==null){if(i!==null){var f=i.next;i.next=u.next,u.next=f}t.baseQueue=i=u,a.pending=null}if(u=e.baseState,i===null)e.memoizedState=u;else{t=i.next;var m=f=null,x=null,N=t,H=!1;do{var X=N.lane&-536870913;if(X!==N.lane?(me&X)===X:(fl&X)===X){var D=N.revertLane;if(D===0)x!==null&&(x=x.next={lane:0,revertLane:0,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null}),X===Ha&&(H=!0);else if((fl&D)===D){N=N.next,D===Ha&&(H=!0);continue}else X={lane:0,revertLane:N.revertLane,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},x===null?(m=x=X,f=u):x=x.next=X,se.lanes|=D,Ll|=D;X=N.action,fa&&l(u,X),u=N.hasEagerState?N.eagerState:l(u,X)}else D={lane:X,revertLane:N.revertLane,gesture:N.gesture,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},x===null?(m=x=D,f=u):x=x.next=D,se.lanes|=X,Ll|=X;N=N.next}while(N!==null&&N!==t);if(x===null?f=u:x.next=m,!Rt(u,e.memoizedState)&&(Ke=!0,H&&(l=qa,l!==null)))throw l;e.memoizedState=u,e.baseState=f,e.baseQueue=x,a.lastRenderedState=u}return i===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function cc(e){var t=Ge(),l=t.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=e;var a=l.dispatch,i=l.pending,u=t.memoizedState;if(i!==null){l.pending=null;var f=i=i.next;do u=e(u,f.action),f=f.next;while(f!==i);Rt(u,t.memoizedState)||(Ke=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),l.lastRenderedState=u}return[u,a]}function _f(e,t,l){var a=se,i=Ge(),u=ye;if(u){if(l===void 0)throw Error(c(407));l=l()}else l=t();var f=!Rt((_e||i).memoizedState,l);if(f&&(i.memoizedState=l,Ke=!0),i=i.queue,fc(zf.bind(null,a,i,e),[e]),i.getSnapshot!==t||f||ke!==null&&ke.memoizedState.tag&1){if(a.flags|=2048,Za(9,{destroy:void 0},Cf.bind(null,a,i,l,t),null),je===null)throw Error(c(349));u||(fl&127)!==0||Of(a,t,l)}return l}function Of(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=se.updateQueue,t===null?(t=Pi(),se.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function Cf(e,t,l,a){t.value=l,t.getSnapshot=a,Nf(t)&&jf(e)}function zf(e,t,l){return l(function(){Nf(t)&&jf(e)})}function Nf(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!Rt(e,l)}catch{return!0}}function jf(e){var t=la(e,2);t!==null&&yt(t,e,2)}function sc(e){var t=st();if(typeof e=="function"){var l=e;if(e=l(),fa){Rl(!0);try{l()}finally{Rl(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:dl,lastRenderedState:e},t}function Df(e,t,l,a){return e.baseState=l,rc(e,_e,typeof a=="function"?a:dl)}function a0(e,t,l,a,i){if(au(e))throw Error(c(485));if(e=t.action,e!==null){var u={payload:i,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){u.listeners.push(f)}};A.T!==null?l(!0):u.isTransition=!1,a(u),l=t.pending,l===null?(u.next=t.pending=u,Mf(t,u)):(u.next=l.next,t.pending=l.next=u)}}function Mf(e,t){var l=t.action,a=t.payload,i=e.state;if(t.isTransition){var u=A.T,f={};A.T=f;try{var m=l(i,a),x=A.S;x!==null&&x(f,m),Uf(e,t,m)}catch(N){oc(e,t,N)}finally{u!==null&&f.types!==null&&(u.types=f.types),A.T=u}}else try{u=l(i,a),Uf(e,t,u)}catch(N){oc(e,t,N)}}function Uf(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){wf(e,t,a)},function(a){return oc(e,t,a)}):wf(e,t,l)}function wf(e,t,l){t.status="fulfilled",t.value=l,Bf(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,Mf(e,l)))}function oc(e,t,l){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=l,Bf(t),t=t.next;while(t!==a)}e.action=null}function Bf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Lf(e,t){return t}function Hf(e,t){if(ye){var l=je.formState;if(l!==null){e:{var a=se;if(ye){if(De){t:{for(var i=De,u=Lt;i.nodeType!==8;){if(!u){i=null;break t}if(i=qt(i.nextSibling),i===null){i=null;break t}}u=i.data,i=u==="F!"||u==="F"?i:null}if(i){De=qt(i.nextSibling),a=i.data==="F!";break e}}Cl(a)}a=!1}a&&(t=l[0])}}return l=st(),l.memoizedState=l.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Lf,lastRenderedState:t},l.queue=a,l=ad.bind(null,se,a),a.dispatch=l,a=sc(!1),u=yc.bind(null,se,!1,a.queue),a=st(),i={state:t,dispatch:null,action:e,pending:null},a.queue=i,l=a0.bind(null,se,i,u,l),i.dispatch=l,a.memoizedState=e,[t,l,!1]}function qf(e){var t=Ge();return Yf(t,_e,e)}function Yf(e,t,l){if(t=rc(e,t,Lf)[0],e=eu(dl)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=qn(t)}catch(f){throw f===Ya?Qi:f}else a=t;t=Ge();var i=t.queue,u=i.dispatch;return l!==t.memoizedState&&(se.flags|=2048,Za(9,{destroy:void 0},n0.bind(null,i,l),null)),[a,u,e]}function n0(e,t){e.action=t}function Xf(e){var t=Ge(),l=_e;if(l!==null)return Yf(t,l,e);Ge(),t=t.memoizedState,l=Ge();var a=l.queue.dispatch;return l.memoizedState=e,[t,a,!1]}function Za(e,t,l,a){return e={tag:e,create:l,deps:a,inst:t,next:null},t=se.updateQueue,t===null&&(t=Pi(),se.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(a=l.next,l.next=e,e.next=a,t.lastEffect=e),e}function Gf(){return Ge().memoizedState}function tu(e,t,l,a){var i=st();se.flags|=e,i.memoizedState=Za(1|t,{destroy:void 0},l,a===void 0?null:a)}function lu(e,t,l,a){var i=Ge();a=a===void 0?null:a;var u=i.memoizedState.inst;_e!==null&&a!==null&&tc(a,_e.memoizedState.deps)?i.memoizedState=Za(t,u,l,a):(se.flags|=e,i.memoizedState=Za(1|t,u,l,a))}function Vf(e,t){tu(8390656,8,e,t)}function fc(e,t){lu(2048,8,e,t)}function i0(e){se.flags|=4;var t=se.updateQueue;if(t===null)t=Pi(),se.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function Qf(e){var t=Ge().memoizedState;return i0({ref:t,nextImpl:e}),function(){if((xe&2)!==0)throw Error(c(440));return t.impl.apply(void 0,arguments)}}function Zf(e,t){return lu(4,2,e,t)}function kf(e,t){return lu(4,4,e,t)}function Kf(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 Jf(e,t,l){l=l!=null?l.concat([e]):null,lu(4,4,Kf.bind(null,t,e),l)}function dc(){}function Ff(e,t){var l=Ge();t=t===void 0?null:t;var a=l.memoizedState;return t!==null&&tc(t,a[1])?a[0]:(l.memoizedState=[e,t],e)}function $f(e,t){var l=Ge();t=t===void 0?null:t;var a=l.memoizedState;if(t!==null&&tc(t,a[1]))return a[0];if(a=e(),fa){Rl(!0);try{e()}finally{Rl(!1)}}return l.memoizedState=[a,t],a}function hc(e,t,l){return l===void 0||(fl&1073741824)!==0&&(me&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=Wd(),se.lanes|=e,Ll|=e,l)}function Wf(e,t,l,a){return Rt(l,t)?l:Ga.current!==null?(e=hc(e,l,a),Rt(e,t)||(Ke=!0),e):(fl&42)===0||(fl&1073741824)!==0&&(me&261930)===0?(Ke=!0,e.memoizedState=l):(e=Wd(),se.lanes|=e,Ll|=e,t)}function Pf(e,t,l,a,i){var u=Q.p;Q.p=u!==0&&8>u?u:8;var f=A.T,m={};A.T=m,yc(e,!1,t,l);try{var x=i(),N=A.S;if(N!==null&&N(m,x),x!==null&&typeof x=="object"&&typeof x.then=="function"){var H=e0(x,a);Yn(e,t,H,zt(e))}else Yn(e,t,a,zt(e))}catch(X){Yn(e,t,{then:function(){},status:"rejected",reason:X},zt())}finally{Q.p=u,f!==null&&m.types!==null&&(f.types=m.types),A.T=f}}function u0(){}function mc(e,t,l,a){if(e.tag!==5)throw Error(c(476));var i=If(e).queue;Pf(e,i,t,$,l===null?u0:function(){return ed(e),l(a)})}function If(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:$,baseState:$,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:dl,lastRenderedState:$},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:dl,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ed(e){var t=If(e);t.next===null&&(t=e.alternate.memoizedState),Yn(e,t.next.queue,{},zt())}function pc(){return tt(ai)}function td(){return Ge().memoizedState}function ld(){return Ge().memoizedState}function r0(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=zt();e=jl(l);var a=Dl(t,e,l);a!==null&&(yt(a,t,l),wn(a,t,l)),t={cache:Qr()},e.payload=t;return}t=t.return}}function c0(e,t,l){var a=zt();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},au(e)?nd(t,l):(l=Mr(e,t,l,a),l!==null&&(yt(l,e,a),id(l,t,a)))}function ad(e,t,l){var a=zt();Yn(e,t,l,a)}function Yn(e,t,l,a){var i={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(au(e))nd(t,i);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var f=t.lastRenderedState,m=u(f,l);if(i.hasEagerState=!0,i.eagerState=m,Rt(m,f))return Li(e,t,i,0),je===null&&Bi(),!1}catch{}finally{}if(l=Mr(e,t,i,a),l!==null)return yt(l,e,a),id(l,t,a),!0}return!1}function yc(e,t,l,a){if(a={lane:2,revertLane:Jc(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},au(e)){if(t)throw Error(c(479))}else t=Mr(e,l,a,2),t!==null&&yt(t,e,2)}function au(e){var t=e.alternate;return e===se||t!==null&&t===se}function nd(e,t){Va=$i=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function id(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,co(e,l)}}var Xn={readContext:tt,use:Ii,useCallback:qe,useContext:qe,useEffect:qe,useImperativeHandle:qe,useLayoutEffect:qe,useInsertionEffect:qe,useMemo:qe,useReducer:qe,useRef:qe,useState:qe,useDebugValue:qe,useDeferredValue:qe,useTransition:qe,useSyncExternalStore:qe,useId:qe,useHostTransitionStatus:qe,useFormState:qe,useActionState:qe,useOptimistic:qe,useMemoCache:qe,useCacheRefresh:qe};Xn.useEffectEvent=qe;var ud={readContext:tt,use:Ii,useCallback:function(e,t){return st().memoizedState=[e,t===void 0?null:t],e},useContext:tt,useEffect:Vf,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,tu(4194308,4,Kf.bind(null,t,e),l)},useLayoutEffect:function(e,t){return tu(4194308,4,e,t)},useInsertionEffect:function(e,t){tu(4,2,e,t)},useMemo:function(e,t){var l=st();t=t===void 0?null:t;var a=e();if(fa){Rl(!0);try{e()}finally{Rl(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=st();if(l!==void 0){var i=l(t);if(fa){Rl(!0);try{l(t)}finally{Rl(!1)}}}else i=t;return a.memoizedState=a.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},a.queue=e,e=e.dispatch=c0.bind(null,se,e),[a.memoizedState,e]},useRef:function(e){var t=st();return e={current:e},t.memoizedState=e},useState:function(e){e=sc(e);var t=e.queue,l=ad.bind(null,se,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:dc,useDeferredValue:function(e,t){var l=st();return hc(l,e,t)},useTransition:function(){var e=sc(!1);return e=Pf.bind(null,se,e.queue,!0,!1),st().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=se,i=st();if(ye){if(l===void 0)throw Error(c(407));l=l()}else{if(l=t(),je===null)throw Error(c(349));(me&127)!==0||Of(a,t,l)}i.memoizedState=l;var u={value:l,getSnapshot:t};return i.queue=u,Vf(zf.bind(null,a,u,e),[e]),a.flags|=2048,Za(9,{destroy:void 0},Cf.bind(null,a,u,l,t),null),l},useId:function(){var e=st(),t=je.identifierPrefix;if(ye){var l=el,a=It;l=(a&~(1<<32-Et(a)-1)).toString(32)+l,t="_"+t+"R_"+l,l=Wi++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=t0++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:pc,useFormState:Hf,useActionState:Hf,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=yc.bind(null,se,!0,l),l.dispatch=t,[e,t]},useMemoCache:uc,useCacheRefresh:function(){return st().memoizedState=r0.bind(null,se)},useEffectEvent:function(e){var t=st(),l={impl:e};return t.memoizedState=l,function(){if((xe&2)!==0)throw Error(c(440));return l.impl.apply(void 0,arguments)}}},vc={readContext:tt,use:Ii,useCallback:Ff,useContext:tt,useEffect:fc,useImperativeHandle:Jf,useInsertionEffect:Zf,useLayoutEffect:kf,useMemo:$f,useReducer:eu,useRef:Gf,useState:function(){return eu(dl)},useDebugValue:dc,useDeferredValue:function(e,t){var l=Ge();return Wf(l,_e.memoizedState,e,t)},useTransition:function(){var e=eu(dl)[0],t=Ge().memoizedState;return[typeof e=="boolean"?e:qn(e),t]},useSyncExternalStore:_f,useId:td,useHostTransitionStatus:pc,useFormState:qf,useActionState:qf,useOptimistic:function(e,t){var l=Ge();return Df(l,_e,e,t)},useMemoCache:uc,useCacheRefresh:ld};vc.useEffectEvent=Qf;var rd={readContext:tt,use:Ii,useCallback:Ff,useContext:tt,useEffect:fc,useImperativeHandle:Jf,useInsertionEffect:Zf,useLayoutEffect:kf,useMemo:$f,useReducer:cc,useRef:Gf,useState:function(){return cc(dl)},useDebugValue:dc,useDeferredValue:function(e,t){var l=Ge();return _e===null?hc(l,e,t):Wf(l,_e.memoizedState,e,t)},useTransition:function(){var e=cc(dl)[0],t=Ge().memoizedState;return[typeof e=="boolean"?e:qn(e),t]},useSyncExternalStore:_f,useId:td,useHostTransitionStatus:pc,useFormState:Xf,useActionState:Xf,useOptimistic:function(e,t){var l=Ge();return _e!==null?Df(l,_e,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:uc,useCacheRefresh:ld};rd.useEffectEvent=Qf;function gc(e,t,l,a){t=e.memoizedState,l=l(a,t),l=l==null?t:b({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var bc={enqueueSetState:function(e,t,l){e=e._reactInternals;var a=zt(),i=jl(a);i.payload=t,l!=null&&(i.callback=l),t=Dl(e,i,a),t!==null&&(yt(t,e,a),wn(t,e,a))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var a=zt(),i=jl(a);i.tag=1,i.payload=t,l!=null&&(i.callback=l),t=Dl(e,i,a),t!==null&&(yt(t,e,a),wn(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=zt(),a=jl(l);a.tag=2,t!=null&&(a.callback=t),t=Dl(e,a,l),t!==null&&(yt(t,e,l),wn(t,e,l))}};function cd(e,t,l,a,i,u,f){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,u,f):t.prototype&&t.prototype.isPureReactComponent?!On(l,a)||!On(i,u):!0}function sd(e,t,l,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,a),t.state!==e&&bc.enqueueReplaceState(t,t.state,null)}function da(e,t){var l=t;if("ref"in t){l={};for(var a in t)a!=="ref"&&(l[a]=t[a])}if(e=e.defaultProps){l===t&&(l=b({},l));for(var i in e)l[i]===void 0&&(l[i]=e[i])}return l}function od(e){wi(e)}function fd(e){console.error(e)}function dd(e){wi(e)}function nu(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function hd(e,t,l){try{var a=e.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(i){setTimeout(function(){throw i})}}function Sc(e,t,l){return l=jl(l),l.tag=3,l.payload={element:null},l.callback=function(){nu(e,t)},l}function md(e){return e=jl(e),e.tag=3,e}function pd(e,t,l,a){var i=l.type.getDerivedStateFromError;if(typeof i=="function"){var u=a.value;e.payload=function(){return i(u)},e.callback=function(){hd(t,l,a)}}var f=l.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(e.callback=function(){hd(t,l,a),typeof i!="function"&&(Hl===null?Hl=new Set([this]):Hl.add(this));var m=a.stack;this.componentDidCatch(a.value,{componentStack:m!==null?m:""})})}function s0(e,t,l,a,i){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=l.alternate,t!==null&&La(t,l,i,!0),l=Tt.current,l!==null){switch(l.tag){case 31:case 13:return Ht===null?yu():l.alternate===null&&Ye===0&&(Ye=3),l.flags&=-257,l.flags|=65536,l.lanes=i,a===Zi?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([a]):t.add(a),Zc(e,a,i)),!1;case 22:return l.flags|=65536,a===Zi?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([a]):l.add(a)),Zc(e,a,i)),!1}throw Error(c(435,l.tag))}return Zc(e,a,i),yu(),!1}if(ye)return t=Tt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=i,a!==qr&&(e=Error(c(422),{cause:a}),Nn(Ut(e,l)))):(a!==qr&&(t=Error(c(423),{cause:a}),Nn(Ut(t,l))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,a=Ut(a,l),i=Sc(e.stateNode,a,i),$r(e,i),Ye!==4&&(Ye=2)),!1;var u=Error(c(520),{cause:a});if(u=Ut(u,l),Fn===null?Fn=[u]:Fn.push(u),Ye!==4&&(Ye=2),t===null)return!0;a=Ut(a,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=i&-i,l.lanes|=e,e=Sc(l.stateNode,a,e),$r(l,e),!1;case 1:if(t=l.type,u=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Hl===null||!Hl.has(u))))return l.flags|=65536,i&=-i,l.lanes|=i,i=md(i),pd(i,e,l,a),$r(l,i),!1}l=l.return}while(l!==null);return!1}var xc=Error(c(461)),Ke=!1;function lt(e,t,l,a){t.child=e===null?bf(t,null,l,a):oa(t,e.child,l,a)}function yd(e,t,l,a,i){l=l.render;var u=t.ref;if("ref"in a){var f={};for(var m in a)m!=="ref"&&(f[m]=a[m])}else f=a;return ua(t),a=lc(e,t,l,f,u,i),m=ac(),e!==null&&!Ke?(nc(e,t,i),hl(e,t,i)):(ye&&m&&Lr(t),t.flags|=1,lt(e,t,a,i),t.child)}function vd(e,t,l,a,i){if(e===null){var u=l.type;return typeof u=="function"&&!Ur(u)&&u.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=u,gd(e,t,u,a,i)):(e=qi(l.type,null,a,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!zc(e,i)){var f=u.memoizedProps;if(l=l.compare,l=l!==null?l:On,l(f,a)&&e.ref===t.ref)return hl(e,t,i)}return t.flags|=1,e=rl(u,a),e.ref=t.ref,e.return=t,t.child=e}function gd(e,t,l,a,i){if(e!==null){var u=e.memoizedProps;if(On(u,a)&&e.ref===t.ref)if(Ke=!1,t.pendingProps=a=u,zc(e,i))(e.flags&131072)!==0&&(Ke=!0);else return t.lanes=e.lanes,hl(e,t,i)}return Ec(e,t,l,a,i)}function bd(e,t,l,a){var i=a.children,u=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|l:l,e!==null){for(a=t.child=e.child,i=0;a!==null;)i=i|a.lanes|a.childLanes,a=a.sibling;a=i&~u}else a=0,t.child=null;return Sd(e,t,u,l,a)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Vi(t,u!==null?u.cachePool:null),u!==null?Ef(t,u):Pr(),Rf(t);else return a=t.lanes=536870912,Sd(e,t,u!==null?u.baseLanes|l:l,l,a)}else u!==null?(Vi(t,u.cachePool),Ef(t,u),Ul(),t.memoizedState=null):(e!==null&&Vi(t,null),Pr(),Ul());return lt(e,t,i,l),t.child}function Gn(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Sd(e,t,l,a,i){var u=kr();return u=u===null?null:{parent:Ze._currentValue,pool:u},t.memoizedState={baseLanes:l,cachePool:u},e!==null&&Vi(t,null),Pr(),Rf(t),e!==null&&La(e,t,a,!0),t.childLanes=i,null}function iu(e,t){return t=ru({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function xd(e,t,l){return oa(t,e.child,null,l),e=iu(t,t.pendingProps),e.flags|=2,_t(t),t.memoizedState=null,e}function o0(e,t,l){var a=t.pendingProps,i=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ye){if(a.mode==="hidden")return e=iu(t,a),t.lanes=536870912,Gn(null,e);if(ec(t),(e=De)?(e=Mh(e,Lt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:_l!==null?{id:It,overflow:el}:null,retryLane:536870912,hydrationErrors:null},l=af(e),l.return=t,t.child=l,et=t,De=null)):e=null,e===null)throw Cl(t);return t.lanes=536870912,null}return iu(t,a)}var u=e.memoizedState;if(u!==null){var f=u.dehydrated;if(ec(t),i)if(t.flags&256)t.flags&=-257,t=xd(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(c(558));else if(Ke||La(e,t,l,!1),i=(l&e.childLanes)!==0,Ke||i){if(a=je,a!==null&&(f=so(a,l),f!==0&&f!==u.retryLane))throw u.retryLane=f,la(e,f),yt(a,e,f),xc;yu(),t=xd(e,t,l)}else e=u.treeContext,De=qt(f.nextSibling),et=t,ye=!0,Ol=null,Lt=!1,e!==null&&rf(t,e),t=iu(t,a),t.flags|=4096;return t}return e=rl(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function uu(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(c(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function Ec(e,t,l,a,i){return ua(t),l=lc(e,t,l,a,void 0,i),a=ac(),e!==null&&!Ke?(nc(e,t,i),hl(e,t,i)):(ye&&a&&Lr(t),t.flags|=1,lt(e,t,l,i),t.child)}function Ed(e,t,l,a,i,u){return ua(t),t.updateQueue=null,l=Tf(t,a,l,i),Af(e),a=ac(),e!==null&&!Ke?(nc(e,t,u),hl(e,t,u)):(ye&&a&&Lr(t),t.flags|=1,lt(e,t,l,u),t.child)}function Rd(e,t,l,a,i){if(ua(t),t.stateNode===null){var u=Ma,f=l.contextType;typeof f=="object"&&f!==null&&(u=tt(f)),u=new l(a,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=bc,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},Jr(t),f=l.contextType,u.context=typeof f=="object"&&f!==null?tt(f):Ma,u.state=t.memoizedState,f=l.getDerivedStateFromProps,typeof f=="function"&&(gc(t,l,f,a),u.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(f=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),f!==u.state&&bc.enqueueReplaceState(u,u.state,null),Ln(t,a,u,i),Bn(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){u=t.stateNode;var m=t.memoizedProps,x=da(l,m);u.props=x;var N=u.context,H=l.contextType;f=Ma,typeof H=="object"&&H!==null&&(f=tt(H));var X=l.getDerivedStateFromProps;H=typeof X=="function"||typeof u.getSnapshotBeforeUpdate=="function",m=t.pendingProps!==m,H||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(m||N!==f)&&sd(t,u,a,f),Nl=!1;var D=t.memoizedState;u.state=D,Ln(t,a,u,i),Bn(),N=t.memoizedState,m||D!==N||Nl?(typeof X=="function"&&(gc(t,l,X,a),N=t.memoizedState),(x=Nl||cd(t,l,x,a,D,N,f))?(H||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=N),u.props=a,u.state=N,u.context=f,a=x):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{u=t.stateNode,Fr(e,t),f=t.memoizedProps,H=da(l,f),u.props=H,X=t.pendingProps,D=u.context,N=l.contextType,x=Ma,typeof N=="object"&&N!==null&&(x=tt(N)),m=l.getDerivedStateFromProps,(N=typeof m=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f!==X||D!==x)&&sd(t,u,a,x),Nl=!1,D=t.memoizedState,u.state=D,Ln(t,a,u,i),Bn();var M=t.memoizedState;f!==X||D!==M||Nl||e!==null&&e.dependencies!==null&&Xi(e.dependencies)?(typeof m=="function"&&(gc(t,l,m,a),M=t.memoizedState),(H=Nl||cd(t,l,H,a,D,M,x)||e!==null&&e.dependencies!==null&&Xi(e.dependencies))?(N||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,M,x),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,M,x)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||f===e.memoizedProps&&D===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&D===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=M),u.props=a,u.state=M,u.context=x,a=H):(typeof u.componentDidUpdate!="function"||f===e.memoizedProps&&D===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&D===e.memoizedState||(t.flags|=1024),a=!1)}return u=a,uu(e,t),a=(t.flags&128)!==0,u||a?(u=t.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&a?(t.child=oa(t,e.child,null,i),t.child=oa(t,null,l,i)):lt(e,t,l,i),t.memoizedState=u.state,e=t.child):e=hl(e,t,i),e}function Ad(e,t,l,a){return na(),t.flags|=256,lt(e,t,l,a),t.child}var Rc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ac(e){return{baseLanes:e,cachePool:hf()}}function Tc(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Ct),e}function Td(e,t,l){var a=t.pendingProps,i=!1,u=(t.flags&128)!==0,f;if((f=u)||(f=e!==null&&e.memoizedState===null?!1:(Xe.current&2)!==0),f&&(i=!0,t.flags&=-129),f=(t.flags&32)!==0,t.flags&=-33,e===null){if(ye){if(i?Ml(t):Ul(),(e=De)?(e=Mh(e,Lt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:_l!==null?{id:It,overflow:el}:null,retryLane:536870912,hydrationErrors:null},l=af(e),l.return=t,t.child=l,et=t,De=null)):e=null,e===null)throw Cl(t);return rs(e)?t.lanes=32:t.lanes=536870912,null}var m=a.children;return a=a.fallback,i?(Ul(),i=t.mode,m=ru({mode:"hidden",children:m},i),a=aa(a,i,l,null),m.return=t,a.return=t,m.sibling=a,t.child=m,a=t.child,a.memoizedState=Ac(l),a.childLanes=Tc(e,f,l),t.memoizedState=Rc,Gn(null,a)):(Ml(t),_c(t,m))}var x=e.memoizedState;if(x!==null&&(m=x.dehydrated,m!==null)){if(u)t.flags&256?(Ml(t),t.flags&=-257,t=Oc(e,t,l)):t.memoizedState!==null?(Ul(),t.child=e.child,t.flags|=128,t=null):(Ul(),m=a.fallback,i=t.mode,a=ru({mode:"visible",children:a.children},i),m=aa(m,i,l,null),m.flags|=2,a.return=t,m.return=t,a.sibling=m,t.child=a,oa(t,e.child,null,l),a=t.child,a.memoizedState=Ac(l),a.childLanes=Tc(e,f,l),t.memoizedState=Rc,t=Gn(null,a));else if(Ml(t),rs(m)){if(f=m.nextSibling&&m.nextSibling.dataset,f)var N=f.dgst;f=N,a=Error(c(419)),a.stack="",a.digest=f,Nn({value:a,source:null,stack:null}),t=Oc(e,t,l)}else if(Ke||La(e,t,l,!1),f=(l&e.childLanes)!==0,Ke||f){if(f=je,f!==null&&(a=so(f,l),a!==0&&a!==x.retryLane))throw x.retryLane=a,la(e,a),yt(f,e,a),xc;us(m)||yu(),t=Oc(e,t,l)}else us(m)?(t.flags|=192,t.child=e.child,t=null):(e=x.treeContext,De=qt(m.nextSibling),et=t,ye=!0,Ol=null,Lt=!1,e!==null&&rf(t,e),t=_c(t,a.children),t.flags|=4096);return t}return i?(Ul(),m=a.fallback,i=t.mode,x=e.child,N=x.sibling,a=rl(x,{mode:"hidden",children:a.children}),a.subtreeFlags=x.subtreeFlags&65011712,N!==null?m=rl(N,m):(m=aa(m,i,l,null),m.flags|=2),m.return=t,a.return=t,a.sibling=m,t.child=a,Gn(null,a),a=t.child,m=e.child.memoizedState,m===null?m=Ac(l):(i=m.cachePool,i!==null?(x=Ze._currentValue,i=i.parent!==x?{parent:x,pool:x}:i):i=hf(),m={baseLanes:m.baseLanes|l,cachePool:i}),a.memoizedState=m,a.childLanes=Tc(e,f,l),t.memoizedState=Rc,Gn(e.child,a)):(Ml(t),l=e.child,e=l.sibling,l=rl(l,{mode:"visible",children:a.children}),l.return=t,l.sibling=null,e!==null&&(f=t.deletions,f===null?(t.deletions=[e],t.flags|=16):f.push(e)),t.child=l,t.memoizedState=null,l)}function _c(e,t){return t=ru({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function ru(e,t){return e=At(22,e,null,t),e.lanes=0,e}function Oc(e,t,l){return oa(t,e.child,null,l),e=_c(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function _d(e,t,l){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Gr(e.return,t,l)}function Cc(e,t,l,a,i,u){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:i,treeForkCount:u}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=a,f.tail=l,f.tailMode=i,f.treeForkCount=u)}function Od(e,t,l){var a=t.pendingProps,i=a.revealOrder,u=a.tail;a=a.children;var f=Xe.current,m=(f&2)!==0;if(m?(f=f&1|2,t.flags|=128):f&=1,Z(Xe,f),lt(e,t,a,l),a=ye?zn:0,!m&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&_d(e,l,t);else if(e.tag===19)_d(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(i){case"forwards":for(l=t.child,i=null;l!==null;)e=l.alternate,e!==null&&Fi(e)===null&&(i=l),l=l.sibling;l=i,l===null?(i=t.child,t.child=null):(i=l.sibling,l.sibling=null),Cc(t,!1,i,l,u,a);break;case"backwards":case"unstable_legacy-backwards":for(l=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Fi(e)===null){t.child=i;break}e=i.sibling,i.sibling=l,l=i,i=e}Cc(t,!0,l,null,u,a);break;case"together":Cc(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function hl(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),Ll|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(La(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(c(153));if(t.child!==null){for(e=t.child,l=rl(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=rl(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function zc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Xi(e)))}function f0(e,t,l){switch(t.tag){case 3:Qe(t,t.stateNode.containerInfo),zl(t,Ze,e.memoizedState.cache),na();break;case 27:case 5:Jl(t);break;case 4:Qe(t,t.stateNode.containerInfo);break;case 10:zl(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,ec(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(Ml(t),t.flags|=128,null):(l&t.child.childLanes)!==0?Td(e,t,l):(Ml(t),e=hl(e,t,l),e!==null?e.sibling:null);Ml(t);break;case 19:var i=(e.flags&128)!==0;if(a=(l&t.childLanes)!==0,a||(La(e,t,l,!1),a=(l&t.childLanes)!==0),i){if(a)return Od(e,t,l);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Z(Xe,Xe.current),a)break;return null;case 22:return t.lanes=0,bd(e,t,l,t.pendingProps);case 24:zl(t,Ze,e.memoizedState.cache)}return hl(e,t,l)}function Cd(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)Ke=!0;else{if(!zc(e,l)&&(t.flags&128)===0)return Ke=!1,f0(e,t,l);Ke=(e.flags&131072)!==0}else Ke=!1,ye&&(t.flags&1048576)!==0&&uf(t,zn,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=ca(t.elementType),t.type=e,typeof e=="function")Ur(e)?(a=da(e,a),t.tag=1,t=Rd(null,t,e,a,l)):(t.tag=0,t=Ec(null,t,e,a,l));else{if(e!=null){var i=e.$$typeof;if(i===W){t.tag=11,t=yd(null,t,e,a,l);break e}else if(i===te){t.tag=14,t=vd(null,t,e,a,l);break e}}throw t=Ne(e)||e,Error(c(306,t,""))}}return t;case 0:return Ec(e,t,t.type,t.pendingProps,l);case 1:return a=t.type,i=da(a,t.pendingProps),Rd(e,t,a,i,l);case 3:e:{if(Qe(t,t.stateNode.containerInfo),e===null)throw Error(c(387));a=t.pendingProps;var u=t.memoizedState;i=u.element,Fr(e,t),Ln(t,a,null,l);var f=t.memoizedState;if(a=f.cache,zl(t,Ze,a),a!==u.cache&&Vr(t,[Ze],l,!0),Bn(),a=f.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:f.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=Ad(e,t,a,l);break e}else if(a!==i){i=Ut(Error(c(424)),t),Nn(i),t=Ad(e,t,a,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(De=qt(e.firstChild),et=t,ye=!0,Ol=null,Lt=!0,l=bf(t,null,a,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(na(),a===i){t=hl(e,t,l);break e}lt(e,t,a,l)}t=t.child}return t;case 26:return uu(e,t),e===null?(l=qh(t.type,null,t.pendingProps,null))?t.memoizedState=l:ye||(l=t.type,e=t.pendingProps,a=Ru(P.current).createElement(l),a[Ie]=t,a[ot]=e,at(a,l,e),$e(a),t.stateNode=a):t.memoizedState=qh(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Jl(t),e===null&&ye&&(a=t.stateNode=Bh(t.type,t.pendingProps,P.current),et=t,Lt=!0,i=De,Gl(t.type)?(cs=i,De=qt(a.firstChild)):De=i),lt(e,t,t.pendingProps.children,l),uu(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ye&&((i=a=De)&&(a=X0(a,t.type,t.pendingProps,Lt),a!==null?(t.stateNode=a,et=t,De=qt(a.firstChild),Lt=!1,i=!0):i=!1),i||Cl(t)),Jl(t),i=t.type,u=t.pendingProps,f=e!==null?e.memoizedProps:null,a=u.children,as(i,u)?a=null:f!==null&&as(i,f)&&(t.flags|=32),t.memoizedState!==null&&(i=lc(e,t,l0,null,null,l),ai._currentValue=i),uu(e,t),lt(e,t,a,l),t.child;case 6:return e===null&&ye&&((e=l=De)&&(l=G0(l,t.pendingProps,Lt),l!==null?(t.stateNode=l,et=t,De=null,e=!0):e=!1),e||Cl(t)),null;case 13:return Td(e,t,l);case 4:return Qe(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=oa(t,null,a,l):lt(e,t,a,l),t.child;case 11:return yd(e,t,t.type,t.pendingProps,l);case 7:return lt(e,t,t.pendingProps,l),t.child;case 8:return lt(e,t,t.pendingProps.children,l),t.child;case 12:return lt(e,t,t.pendingProps.children,l),t.child;case 10:return a=t.pendingProps,zl(t,t.type,a.value),lt(e,t,a.children,l),t.child;case 9:return i=t.type._context,a=t.pendingProps.children,ua(t),i=tt(i),a=a(i),t.flags|=1,lt(e,t,a,l),t.child;case 14:return vd(e,t,t.type,t.pendingProps,l);case 15:return gd(e,t,t.type,t.pendingProps,l);case 19:return Od(e,t,l);case 31:return o0(e,t,l);case 22:return bd(e,t,l,t.pendingProps);case 24:return ua(t),a=tt(Ze),e===null?(i=kr(),i===null&&(i=je,u=Qr(),i.pooledCache=u,u.refCount++,u!==null&&(i.pooledCacheLanes|=l),i=u),t.memoizedState={parent:a,cache:i},Jr(t),zl(t,Ze,i)):((e.lanes&l)!==0&&(Fr(e,t),Ln(t,null,null,l),Bn()),i=e.memoizedState,u=t.memoizedState,i.parent!==a?(i={parent:a,cache:a},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),zl(t,Ze,a)):(a=u.cache,zl(t,Ze,a),a!==i.cache&&Vr(t,[Ze],l,!0))),lt(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(c(156,t.tag))}function ml(e){e.flags|=4}function Nc(e,t,l,a,i){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(th())e.flags|=8192;else throw sa=Zi,Kr}else e.flags&=-16777217}function zd(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Qh(t))if(th())e.flags|=8192;else throw sa=Zi,Kr}function cu(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?uo():536870912,e.lanes|=t,Fa|=t)}function Vn(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 a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Me(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,a=0;if(t)for(var i=e.child;i!==null;)l|=i.lanes|i.childLanes,a|=i.subtreeFlags&65011712,a|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)l|=i.lanes|i.childLanes,a|=i.subtreeFlags,a|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=a,e.childLanes=l,t}function d0(e,t,l){var a=t.pendingProps;switch(Hr(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Me(t),null;case 1:return Me(t),null;case 3:return l=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),ol(Ze),we(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Ba(t)?ml(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Yr())),Me(t),null;case 26:var i=t.type,u=t.memoizedState;return e===null?(ml(t),u!==null?(Me(t),zd(t,u)):(Me(t),Nc(t,i,null,a,l))):u?u!==e.memoizedState?(ml(t),Me(t),zd(t,u)):(Me(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&ml(t),Me(t),Nc(t,i,e,a,l)),null;case 27:if(Fl(t),l=P.current,i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&ml(t);else{if(!a){if(t.stateNode===null)throw Error(c(166));return Me(t),null}e=J.current,Ba(t)?cf(t):(e=Bh(i,a,l),t.stateNode=e,ml(t))}return Me(t),null;case 5:if(Fl(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&ml(t);else{if(!a){if(t.stateNode===null)throw Error(c(166));return Me(t),null}if(u=J.current,Ba(t))cf(t);else{var f=Ru(P.current);switch(u){case 1:u=f.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:u=f.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":u=f.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":u=f.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":u=f.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?f.createElement("select",{is:a.is}):f.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?f.createElement(i,{is:a.is}):f.createElement(i)}}u[Ie]=t,u[ot]=a;e:for(f=t.child;f!==null;){if(f.tag===5||f.tag===6)u.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===t)break e;for(;f.sibling===null;){if(f.return===null||f.return===t)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}t.stateNode=u;e:switch(at(u,i,a),i){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&ml(t)}}return Me(t),Nc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&ml(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(c(166));if(e=P.current,Ba(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,i=et,i!==null)switch(i.tag){case 27:case 5:a=i.memoizedProps}e[Ie]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||Th(e.nodeValue,l)),e||Cl(t,!0)}else e=Ru(e).createTextNode(a),e[Ie]=t,t.stateNode=e}return Me(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(a=Ba(t),l!==null){if(e===null){if(!a)throw Error(c(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(557));e[Ie]=t}else na(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Me(t),e=!1}else l=Yr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(_t(t),t):(_t(t),null);if((t.flags&128)!==0)throw Error(c(558))}return Me(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=Ba(t),a!==null&&a.dehydrated!==null){if(e===null){if(!i)throw Error(c(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(c(317));i[Ie]=t}else na(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Me(t),i=!1}else i=Yr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(_t(t),t):(_t(t),null)}return _t(t),(t.flags&128)!==0?(t.lanes=l,t):(l=a!==null,e=e!==null&&e.memoizedState!==null,l&&(a=t.child,i=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(i=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==i&&(a.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),cu(t,t.updateQueue),Me(t),null);case 4:return we(),e===null&&Pc(t.stateNode.containerInfo),Me(t),null;case 10:return ol(t.type),Me(t),null;case 19:if(w(Xe),a=t.memoizedState,a===null)return Me(t),null;if(i=(t.flags&128)!==0,u=a.rendering,u===null)if(i)Vn(a,!1);else{if(Ye!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=Fi(e),u!==null){for(t.flags|=128,Vn(a,!1),e=u.updateQueue,t.updateQueue=e,cu(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)lf(l,e),l=l.sibling;return Z(Xe,Xe.current&1|2),ye&&cl(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&St()>hu&&(t.flags|=128,i=!0,Vn(a,!1),t.lanes=4194304)}else{if(!i)if(e=Fi(u),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,cu(t,e),Vn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!ye)return Me(t),null}else 2*St()-a.renderingStartTime>hu&&l!==536870912&&(t.flags|=128,i=!0,Vn(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(e=a.last,e!==null?e.sibling=u:t.child=u,a.last=u)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=St(),e.sibling=null,l=Xe.current,Z(Xe,i?l&1|2:l&1),ye&&cl(t,a.treeForkCount),e):(Me(t),null);case 22:case 23:return _t(t),Ir(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(l&536870912)!==0&&(t.flags&128)===0&&(Me(t),t.subtreeFlags&6&&(t.flags|=8192)):Me(t),l=t.updateQueue,l!==null&&cu(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==l&&(t.flags|=2048),e!==null&&w(ra),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),ol(Ze),Me(t),null;case 25:return null;case 30:return null}throw Error(c(156,t.tag))}function h0(e,t){switch(Hr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ol(Ze),we(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Fl(t),null;case 31:if(t.memoizedState!==null){if(_t(t),t.alternate===null)throw Error(c(340));na()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(_t(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(c(340));na()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return w(Xe),null;case 4:return we(),null;case 10:return ol(t.type),null;case 22:case 23:return _t(t),Ir(),e!==null&&w(ra),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ol(Ze),null;case 25:return null;default:return null}}function Nd(e,t){switch(Hr(t),t.tag){case 3:ol(Ze),we();break;case 26:case 27:case 5:Fl(t);break;case 4:we();break;case 31:t.memoizedState!==null&&_t(t);break;case 13:_t(t);break;case 19:w(Xe);break;case 10:ol(t.type);break;case 22:case 23:_t(t),Ir(),e!==null&&w(ra);break;case 24:ol(Ze)}}function Qn(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var i=a.next;l=i;do{if((l.tag&e)===e){a=void 0;var u=l.create,f=l.inst;a=u(),f.destroy=a}l=l.next}while(l!==i)}}catch(m){Ae(t,t.return,m)}}function wl(e,t,l){try{var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var u=i.next;a=u;do{if((a.tag&e)===e){var f=a.inst,m=f.destroy;if(m!==void 0){f.destroy=void 0,i=t;var x=l,N=m;try{N()}catch(H){Ae(i,x,H)}}}a=a.next}while(a!==u)}}catch(H){Ae(t,t.return,H)}}function jd(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{xf(t,l)}catch(a){Ae(e,e.return,a)}}}function Dd(e,t,l){l.props=da(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){Ae(e,t,a)}}function Zn(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof l=="function"?e.refCleanup=l(a):l.current=a}}catch(i){Ae(e,t,i)}}function tl(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(i){Ae(e,t,i)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(i){Ae(e,t,i)}else l.current=null}function Md(e){var t=e.type,l=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break e;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(i){Ae(e,e.return,i)}}function jc(e,t,l){try{var a=e.stateNode;w0(a,e.type,l,t),a[ot]=t}catch(i){Ae(e,e.return,i)}}function Ud(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Gl(e.type)||e.tag===4}function Dc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ud(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&&Gl(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 Mc(e,t,l){var a=e.tag;if(a===5||a===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=il));else if(a!==4&&(a===27&&Gl(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Mc(e,t,l),e=e.sibling;e!==null;)Mc(e,t,l),e=e.sibling}function su(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(a!==4&&(a===27&&Gl(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(su(e,t,l),e=e.sibling;e!==null;)su(e,t,l),e=e.sibling}function wd(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);at(t,a,l),t[Ie]=e,t[ot]=l}catch(u){Ae(e,e.return,u)}}var pl=!1,Je=!1,Uc=!1,Bd=typeof WeakSet=="function"?WeakSet:Set,We=null;function m0(e,t){if(e=e.containerInfo,ts=Nu,e=Ko(e),Or(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var i=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{l.nodeType,u.nodeType}catch{l=null;break e}var f=0,m=-1,x=-1,N=0,H=0,X=e,D=null;t:for(;;){for(var M;X!==l||i!==0&&X.nodeType!==3||(m=f+i),X!==u||a!==0&&X.nodeType!==3||(x=f+a),X.nodeType===3&&(f+=X.nodeValue.length),(M=X.firstChild)!==null;)D=X,X=M;for(;;){if(X===e)break t;if(D===l&&++N===i&&(m=f),D===u&&++H===a&&(x=f),(M=X.nextSibling)!==null)break;X=D,D=X.parentNode}X=M}l=m===-1||x===-1?null:{start:m,end:x}}else l=null}l=l||{start:0,end:0}}else l=null;for(ls={focusedElem:e,selectionRange:l},Nu=!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,u=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++)i=e[l],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,l=t,i=u.memoizedProps,u=u.memoizedState,a=l.stateNode;try{var I=da(l.type,i);e=a.getSnapshotBeforeUpdate(I,u),a.__reactInternalSnapshotBeforeUpdate=e}catch(ae){Ae(l,l.return,ae)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)is(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":is(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(c(163))}if(e=t.sibling,e!==null){e.return=t.return,We=e;break}We=t.return}}function Ld(e,t,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:vl(e,l),a&4&&Qn(5,l);break;case 1:if(vl(e,l),a&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(f){Ae(l,l.return,f)}else{var i=da(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(f){Ae(l,l.return,f)}}a&64&&jd(l),a&512&&Zn(l,l.return);break;case 3:if(vl(e,l),a&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{xf(e,t)}catch(f){Ae(l,l.return,f)}}break;case 27:t===null&&a&4&&wd(l);case 26:case 5:vl(e,l),t===null&&a&4&&Md(l),a&512&&Zn(l,l.return);break;case 12:vl(e,l);break;case 31:vl(e,l),a&4&&Yd(e,l);break;case 13:vl(e,l),a&4&&Xd(e,l),a&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=R0.bind(null,l),V0(e,l))));break;case 22:if(a=l.memoizedState!==null||pl,!a){t=t!==null&&t.memoizedState!==null||Je,i=pl;var u=Je;pl=a,(Je=t)&&!u?gl(e,l,(l.subtreeFlags&8772)!==0):vl(e,l),pl=i,Je=u}break;case 30:break;default:vl(e,l)}}function Hd(e){var t=e.alternate;t!==null&&(e.alternate=null,Hd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&or(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 Be=null,dt=!1;function yl(e,t,l){for(l=l.child;l!==null;)qd(e,t,l),l=l.sibling}function qd(e,t,l){if(xt&&typeof xt.onCommitFiberUnmount=="function")try{xt.onCommitFiberUnmount(pn,l)}catch{}switch(l.tag){case 26:Je||tl(l,t),yl(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Je||tl(l,t);var a=Be,i=dt;Gl(l.type)&&(Be=l.stateNode,dt=!1),yl(e,t,l),ei(l.stateNode),Be=a,dt=i;break;case 5:Je||tl(l,t);case 6:if(a=Be,i=dt,Be=null,yl(e,t,l),Be=a,dt=i,Be!==null)if(dt)try{(Be.nodeType===9?Be.body:Be.nodeName==="HTML"?Be.ownerDocument.body:Be).removeChild(l.stateNode)}catch(u){Ae(l,t,u)}else try{Be.removeChild(l.stateNode)}catch(u){Ae(l,t,u)}break;case 18:Be!==null&&(dt?(e=Be,jh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),an(e)):jh(Be,l.stateNode));break;case 4:a=Be,i=dt,Be=l.stateNode.containerInfo,dt=!0,yl(e,t,l),Be=a,dt=i;break;case 0:case 11:case 14:case 15:wl(2,l,t),Je||wl(4,l,t),yl(e,t,l);break;case 1:Je||(tl(l,t),a=l.stateNode,typeof a.componentWillUnmount=="function"&&Dd(l,t,a)),yl(e,t,l);break;case 21:yl(e,t,l);break;case 22:Je=(a=Je)||l.memoizedState!==null,yl(e,t,l),Je=a;break;default:yl(e,t,l)}}function Yd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{an(e)}catch(l){Ae(t,t.return,l)}}}function Xd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{an(e)}catch(l){Ae(t,t.return,l)}}function p0(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Bd),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Bd),t;default:throw Error(c(435,e.tag))}}function ou(e,t){var l=p0(e);t.forEach(function(a){if(!l.has(a)){l.add(a);var i=A0.bind(null,e,a);a.then(i,i)}})}function ht(e,t){var l=t.deletions;if(l!==null)for(var a=0;a<l.length;a++){var i=l[a],u=e,f=t,m=f;e:for(;m!==null;){switch(m.tag){case 27:if(Gl(m.type)){Be=m.stateNode,dt=!1;break e}break;case 5:Be=m.stateNode,dt=!1;break e;case 3:case 4:Be=m.stateNode.containerInfo,dt=!0;break e}m=m.return}if(Be===null)throw Error(c(160));qd(u,f,i),Be=null,dt=!1,u=i.alternate,u!==null&&(u.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Gd(t,e),t=t.sibling}var Zt=null;function Gd(e,t){var l=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ht(t,e),mt(e),a&4&&(wl(3,e,e.return),Qn(3,e),wl(5,e,e.return));break;case 1:ht(t,e),mt(e),a&512&&(Je||l===null||tl(l,l.return)),a&64&&pl&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var i=Zt;if(ht(t,e),mt(e),a&512&&(Je||l===null||tl(l,l.return)),a&4){var u=l!==null?l.memoizedState:null;if(a=e.memoizedState,l===null)if(a===null)if(e.stateNode===null){e:{a=e.type,l=e.memoizedProps,i=i.ownerDocument||i;t:switch(a){case"title":u=i.getElementsByTagName("title")[0],(!u||u[gn]||u[Ie]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=i.createElement(a),i.head.insertBefore(u,i.querySelector("head > title"))),at(u,a,l),u[Ie]=e,$e(u),a=u;break e;case"link":var f=Gh("link","href",i).get(a+(l.href||""));if(f){for(var m=0;m<f.length;m++)if(u=f[m],u.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&u.getAttribute("rel")===(l.rel==null?null:l.rel)&&u.getAttribute("title")===(l.title==null?null:l.title)&&u.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){f.splice(m,1);break t}}u=i.createElement(a),at(u,a,l),i.head.appendChild(u);break;case"meta":if(f=Gh("meta","content",i).get(a+(l.content||""))){for(m=0;m<f.length;m++)if(u=f[m],u.getAttribute("content")===(l.content==null?null:""+l.content)&&u.getAttribute("name")===(l.name==null?null:l.name)&&u.getAttribute("property")===(l.property==null?null:l.property)&&u.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&u.getAttribute("charset")===(l.charSet==null?null:l.charSet)){f.splice(m,1);break t}}u=i.createElement(a),at(u,a,l),i.head.appendChild(u);break;default:throw Error(c(468,a))}u[Ie]=e,$e(u),a=u}e.stateNode=a}else Vh(i,e.type,e.stateNode);else e.stateNode=Xh(i,a,e.memoizedProps);else u!==a?(u===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):u.count--,a===null?Vh(i,e.type,e.stateNode):Xh(i,a,e.memoizedProps)):a===null&&e.stateNode!==null&&jc(e,e.memoizedProps,l.memoizedProps)}break;case 27:ht(t,e),mt(e),a&512&&(Je||l===null||tl(l,l.return)),l!==null&&a&4&&jc(e,e.memoizedProps,l.memoizedProps);break;case 5:if(ht(t,e),mt(e),a&512&&(Je||l===null||tl(l,l.return)),e.flags&32){i=e.stateNode;try{_a(i,"")}catch(I){Ae(e,e.return,I)}}a&4&&e.stateNode!=null&&(i=e.memoizedProps,jc(e,i,l!==null?l.memoizedProps:i)),a&1024&&(Uc=!0);break;case 6:if(ht(t,e),mt(e),a&4){if(e.stateNode===null)throw Error(c(162));a=e.memoizedProps,l=e.stateNode;try{l.nodeValue=a}catch(I){Ae(e,e.return,I)}}break;case 3:if(_u=null,i=Zt,Zt=Au(t.containerInfo),ht(t,e),Zt=i,mt(e),a&4&&l!==null&&l.memoizedState.isDehydrated)try{an(t.containerInfo)}catch(I){Ae(e,e.return,I)}Uc&&(Uc=!1,Vd(e));break;case 4:a=Zt,Zt=Au(e.stateNode.containerInfo),ht(t,e),mt(e),Zt=a;break;case 12:ht(t,e),mt(e);break;case 31:ht(t,e),mt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ou(e,a)));break;case 13:ht(t,e),mt(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(du=St()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ou(e,a)));break;case 22:i=e.memoizedState!==null;var x=l!==null&&l.memoizedState!==null,N=pl,H=Je;if(pl=N||i,Je=H||x,ht(t,e),Je=H,pl=N,mt(e),a&8192)e:for(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,i&&(l===null||x||pl||Je||ha(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){x=l=t;try{if(u=x.stateNode,i)f=u.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{m=x.stateNode;var X=x.memoizedProps.style,D=X!=null&&X.hasOwnProperty("display")?X.display:null;m.style.display=D==null||typeof D=="boolean"?"":(""+D).trim()}}catch(I){Ae(x,x.return,I)}}}else if(t.tag===6){if(l===null){x=t;try{x.stateNode.nodeValue=i?"":x.memoizedProps}catch(I){Ae(x,x.return,I)}}}else if(t.tag===18){if(l===null){x=t;try{var M=x.stateNode;i?Dh(M,!0):Dh(x.stateNode,!1)}catch(I){Ae(x,x.return,I)}}}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}a&4&&(a=e.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,ou(e,l))));break;case 19:ht(t,e),mt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ou(e,a)));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,a=e.return;a!==null;){if(Ud(a)){l=a;break}a=a.return}if(l==null)throw Error(c(160));switch(l.tag){case 27:var i=l.stateNode,u=Dc(e);su(e,u,i);break;case 5:var f=l.stateNode;l.flags&32&&(_a(f,""),l.flags&=-33);var m=Dc(e);su(e,m,f);break;case 3:case 4:var x=l.stateNode.containerInfo,N=Dc(e);Mc(e,N,x);break;default:throw Error(c(161))}}catch(H){Ae(e,e.return,H)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Vd(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Vd(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function vl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Ld(e,t.alternate,t),t=t.sibling}function ha(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:wl(4,t,t.return),ha(t);break;case 1:tl(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&Dd(t,t.return,l),ha(t);break;case 27:ei(t.stateNode);case 26:case 5:tl(t,t.return),ha(t);break;case 22:t.memoizedState===null&&ha(t);break;case 30:ha(t);break;default:ha(t)}e=e.sibling}}function gl(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,i=e,u=t,f=u.flags;switch(u.tag){case 0:case 11:case 15:gl(i,u,l),Qn(4,u);break;case 1:if(gl(i,u,l),a=u,i=a.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(N){Ae(a,a.return,N)}if(a=u,i=a.updateQueue,i!==null){var m=a.stateNode;try{var x=i.shared.hiddenCallbacks;if(x!==null)for(i.shared.hiddenCallbacks=null,i=0;i<x.length;i++)Sf(x[i],m)}catch(N){Ae(a,a.return,N)}}l&&f&64&&jd(u),Zn(u,u.return);break;case 27:wd(u);case 26:case 5:gl(i,u,l),l&&a===null&&f&4&&Md(u),Zn(u,u.return);break;case 12:gl(i,u,l);break;case 31:gl(i,u,l),l&&f&4&&Yd(i,u);break;case 13:gl(i,u,l),l&&f&4&&Xd(i,u);break;case 22:u.memoizedState===null&&gl(i,u,l),Zn(u,u.return);break;case 30:break;default:gl(i,u,l)}t=t.sibling}}function wc(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&&jn(l))}function Bc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&jn(e))}function kt(e,t,l,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Qd(e,t,l,a),t=t.sibling}function Qd(e,t,l,a){var i=t.flags;switch(t.tag){case 0:case 11:case 15:kt(e,t,l,a),i&2048&&Qn(9,t);break;case 1:kt(e,t,l,a);break;case 3:kt(e,t,l,a),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&jn(e)));break;case 12:if(i&2048){kt(e,t,l,a),e=t.stateNode;try{var u=t.memoizedProps,f=u.id,m=u.onPostCommit;typeof m=="function"&&m(f,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(x){Ae(t,t.return,x)}}else kt(e,t,l,a);break;case 31:kt(e,t,l,a);break;case 13:kt(e,t,l,a);break;case 23:break;case 22:u=t.stateNode,f=t.alternate,t.memoizedState!==null?u._visibility&2?kt(e,t,l,a):kn(e,t):u._visibility&2?kt(e,t,l,a):(u._visibility|=2,ka(e,t,l,a,(t.subtreeFlags&10256)!==0||!1)),i&2048&&wc(f,t);break;case 24:kt(e,t,l,a),i&2048&&Bc(t.alternate,t);break;default:kt(e,t,l,a)}}function ka(e,t,l,a,i){for(i=i&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,f=t,m=l,x=a,N=f.flags;switch(f.tag){case 0:case 11:case 15:ka(u,f,m,x,i),Qn(8,f);break;case 23:break;case 22:var H=f.stateNode;f.memoizedState!==null?H._visibility&2?ka(u,f,m,x,i):kn(u,f):(H._visibility|=2,ka(u,f,m,x,i)),i&&N&2048&&wc(f.alternate,f);break;case 24:ka(u,f,m,x,i),i&&N&2048&&Bc(f.alternate,f);break;default:ka(u,f,m,x,i)}t=t.sibling}}function kn(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,a=t,i=a.flags;switch(a.tag){case 22:kn(l,a),i&2048&&wc(a.alternate,a);break;case 24:kn(l,a),i&2048&&Bc(a.alternate,a);break;default:kn(l,a)}t=t.sibling}}var Kn=8192;function Ka(e,t,l){if(e.subtreeFlags&Kn)for(e=e.child;e!==null;)Zd(e,t,l),e=e.sibling}function Zd(e,t,l){switch(e.tag){case 26:Ka(e,t,l),e.flags&Kn&&e.memoizedState!==null&&tv(l,Zt,e.memoizedState,e.memoizedProps);break;case 5:Ka(e,t,l);break;case 3:case 4:var a=Zt;Zt=Au(e.stateNode.containerInfo),Ka(e,t,l),Zt=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=Kn,Kn=16777216,Ka(e,t,l),Kn=a):Ka(e,t,l));break;default:Ka(e,t,l)}}function kd(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 Jn(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];We=a,Jd(a,e)}kd(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Kd(e),e=e.sibling}function Kd(e){switch(e.tag){case 0:case 11:case 15:Jn(e),e.flags&2048&&wl(9,e,e.return);break;case 3:Jn(e);break;case 12:Jn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,fu(e)):Jn(e);break;default:Jn(e)}}function fu(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];We=a,Jd(a,e)}kd(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:wl(8,t,t.return),fu(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,fu(t));break;default:fu(t)}e=e.sibling}}function Jd(e,t){for(;We!==null;){var l=We;switch(l.tag){case 0:case 11:case 15:wl(8,l,t);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var a=l.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:jn(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,We=a;else e:for(l=e;We!==null;){a=We;var i=a.sibling,u=a.return;if(Hd(a),a===l){We=null;break e}if(i!==null){i.return=u,We=i;break e}We=u}}}var y0={getCacheForType:function(e){var t=tt(Ze),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return tt(Ze).controller.signal}},v0=typeof WeakMap=="function"?WeakMap:Map,xe=0,je=null,de=null,me=0,Re=0,Ot=null,Bl=!1,Ja=!1,Lc=!1,bl=0,Ye=0,Ll=0,ma=0,Hc=0,Ct=0,Fa=0,Fn=null,pt=null,qc=!1,du=0,Fd=0,hu=1/0,mu=null,Hl=null,Fe=0,ql=null,$a=null,Sl=0,Yc=0,Xc=null,$d=null,$n=0,Gc=null;function zt(){return(xe&2)!==0&&me!==0?me&-me:A.T!==null?Jc():oo()}function Wd(){if(Ct===0)if((me&536870912)===0||ye){var e=Ei;Ei<<=1,(Ei&3932160)===0&&(Ei=262144),Ct=e}else Ct=536870912;return e=Tt.current,e!==null&&(e.flags|=32),Ct}function yt(e,t,l){(e===je&&(Re===2||Re===9)||e.cancelPendingCommit!==null)&&(Wa(e,0),Yl(e,me,Ct,!1)),vn(e,l),((xe&2)===0||e!==je)&&(e===je&&((xe&2)===0&&(ma|=l),Ye===4&&Yl(e,me,Ct,!1)),ll(e))}function Pd(e,t,l){if((xe&6)!==0)throw Error(c(327));var a=!l&&(t&127)===0&&(t&e.expiredLanes)===0||yn(e,t),i=a?S0(e,t):Qc(e,t,!0),u=a;do{if(i===0){Ja&&!a&&Yl(e,t,0,!1);break}else{if(l=e.current.alternate,u&&!g0(l)){i=Qc(e,t,!1),u=!1;continue}if(i===2){if(u=t,e.errorRecoveryDisabledLanes&u)var f=0;else f=e.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){t=f;e:{var m=e;i=Fn;var x=m.current.memoizedState.isDehydrated;if(x&&(Wa(m,f).flags|=256),f=Qc(m,f,!1),f!==2){if(Lc&&!x){m.errorRecoveryDisabledLanes|=u,ma|=u,i=4;break e}u=pt,pt=i,u!==null&&(pt===null?pt=u:pt.push.apply(pt,u))}i=f}if(u=!1,i!==2)continue}}if(i===1){Wa(e,0),Yl(e,t,0,!0);break}e:{switch(a=e,u=i,u){case 0:case 1:throw Error(c(345));case 4:if((t&4194048)!==t)break;case 6:Yl(a,t,Ct,!Bl);break e;case 2:pt=null;break;case 3:case 5:break;default:throw Error(c(329))}if((t&62914560)===t&&(i=du+300-St(),10<i)){if(Yl(a,t,Ct,!Bl),Ai(a,0,!0)!==0)break e;Sl=t,a.timeoutHandle=zh(Id.bind(null,a,l,pt,mu,qc,t,Ct,ma,Fa,Bl,u,"Throttled",-0,0),i);break e}Id(a,l,pt,mu,qc,t,Ct,ma,Fa,Bl,u,null,-0,0)}}break}while(!0);ll(e)}function Id(e,t,l,a,i,u,f,m,x,N,H,X,D,M){if(e.timeoutHandle=-1,X=t.subtreeFlags,X&8192||(X&16785408)===16785408){X={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:il},Zd(t,u,X);var I=(u&62914560)===u?du-St():(u&4194048)===u?Fd-St():0;if(I=lv(X,I),I!==null){Sl=u,e.cancelPendingCommit=I(rh.bind(null,e,t,u,l,a,i,f,m,x,H,X,null,D,M)),Yl(e,u,f,!N);return}}rh(e,t,u,l,a,i,f,m,x)}function g0(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 a=0;a<l.length;a++){var i=l[a],u=i.getSnapshot;i=i.value;try{if(!Rt(u(),i))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 Yl(e,t,l,a){t&=~Hc,t&=~ma,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var i=t;0<i;){var u=31-Et(i),f=1<<u;a[u]=-1,i&=~f}l!==0&&ro(e,l,t)}function pu(){return(xe&6)===0?(Wn(0),!1):!0}function Vc(){if(de!==null){if(Re===0)var e=de.return;else e=de,sl=ia=null,ic(e),Xa=null,Mn=0,e=de;for(;e!==null;)Nd(e.alternate,e),e=e.return;de=null}}function Wa(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,H0(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),Sl=0,Vc(),je=e,de=l=rl(e.current,null),me=t,Re=0,Ot=null,Bl=!1,Ja=yn(e,t),Lc=!1,Fa=Ct=Hc=ma=Ll=Ye=0,pt=Fn=null,qc=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var i=31-Et(a),u=1<<i;t|=e[i],a&=~u}return bl=t,Bi(),l}function eh(e,t){se=null,A.H=Xn,t===Ya||t===Qi?(t=yf(),Re=3):t===Kr?(t=yf(),Re=4):Re=t===xc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Ot=t,de===null&&(Ye=1,nu(e,Ut(t,e.current)))}function th(){var e=Tt.current;return e===null?!0:(me&4194048)===me?Ht===null:(me&62914560)===me||(me&536870912)!==0?e===Ht:!1}function lh(){var e=A.H;return A.H=Xn,e===null?Xn:e}function ah(){var e=A.A;return A.A=y0,e}function yu(){Ye=4,Bl||(me&4194048)!==me&&Tt.current!==null||(Ja=!0),(Ll&134217727)===0&&(ma&134217727)===0||je===null||Yl(je,me,Ct,!1)}function Qc(e,t,l){var a=xe;xe|=2;var i=lh(),u=ah();(je!==e||me!==t)&&(mu=null,Wa(e,t)),t=!1;var f=Ye;e:do try{if(Re!==0&&de!==null){var m=de,x=Ot;switch(Re){case 8:Vc(),f=6;break e;case 3:case 2:case 9:case 6:Tt.current===null&&(t=!0);var N=Re;if(Re=0,Ot=null,Pa(e,m,x,N),l&&Ja){f=0;break e}break;default:N=Re,Re=0,Ot=null,Pa(e,m,x,N)}}b0(),f=Ye;break}catch(H){eh(e,H)}while(!0);return t&&e.shellSuspendCounter++,sl=ia=null,xe=a,A.H=i,A.A=u,de===null&&(je=null,me=0,Bi()),f}function b0(){for(;de!==null;)nh(de)}function S0(e,t){var l=xe;xe|=2;var a=lh(),i=ah();je!==e||me!==t?(mu=null,hu=St()+500,Wa(e,t)):Ja=yn(e,t);e:do try{if(Re!==0&&de!==null){t=de;var u=Ot;t:switch(Re){case 1:Re=0,Ot=null,Pa(e,t,u,1);break;case 2:case 9:if(mf(u)){Re=0,Ot=null,ih(t);break}t=function(){Re!==2&&Re!==9||je!==e||(Re=7),ll(e)},u.then(t,t);break e;case 3:Re=7;break e;case 4:Re=5;break e;case 7:mf(u)?(Re=0,Ot=null,ih(t)):(Re=0,Ot=null,Pa(e,t,u,7));break;case 5:var f=null;switch(de.tag){case 26:f=de.memoizedState;case 5:case 27:var m=de;if(f?Qh(f):m.stateNode.complete){Re=0,Ot=null;var x=m.sibling;if(x!==null)de=x;else{var N=m.return;N!==null?(de=N,vu(N)):de=null}break t}}Re=0,Ot=null,Pa(e,t,u,5);break;case 6:Re=0,Ot=null,Pa(e,t,u,6);break;case 8:Vc(),Ye=6;break e;default:throw Error(c(462))}}x0();break}catch(H){eh(e,H)}while(!0);return sl=ia=null,A.H=a,A.A=i,xe=l,de!==null?0:(je=null,me=0,Bi(),Ye)}function x0(){for(;de!==null&&!$l();)nh(de)}function nh(e){var t=Cd(e.alternate,e,bl);e.memoizedProps=e.pendingProps,t===null?vu(e):de=t}function ih(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=Ed(l,t,t.pendingProps,t.type,void 0,me);break;case 11:t=Ed(l,t,t.pendingProps,t.type.render,t.ref,me);break;case 5:ic(t);default:Nd(l,t),t=de=lf(t,bl),t=Cd(l,t,bl)}e.memoizedProps=e.pendingProps,t===null?vu(e):de=t}function Pa(e,t,l,a){sl=ia=null,ic(t),Xa=null,Mn=0;var i=t.return;try{if(s0(e,i,t,l,me)){Ye=1,nu(e,Ut(l,e.current)),de=null;return}}catch(u){if(i!==null)throw de=i,u;Ye=1,nu(e,Ut(l,e.current)),de=null;return}t.flags&32768?(ye||a===1?e=!0:Ja||(me&536870912)!==0?e=!1:(Bl=e=!0,(a===2||a===9||a===3||a===6)&&(a=Tt.current,a!==null&&a.tag===13&&(a.flags|=16384))),uh(t,e)):vu(t)}function vu(e){var t=e;do{if((t.flags&32768)!==0){uh(t,Bl);return}e=t.return;var l=d0(t.alternate,t,bl);if(l!==null){de=l;return}if(t=t.sibling,t!==null){de=t;return}de=t=e}while(t!==null);Ye===0&&(Ye=5)}function uh(e,t){do{var l=h0(e.alternate,e);if(l!==null){l.flags&=32767,de=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){de=e;return}de=e=l}while(e!==null);Ye=6,de=null}function rh(e,t,l,a,i,u,f,m,x){e.cancelPendingCommit=null;do gu();while(Fe!==0);if((xe&6)!==0)throw Error(c(327));if(t!==null){if(t===e.current)throw Error(c(177));if(u=t.lanes|t.childLanes,u|=Dr,ey(e,l,u,f,m,x),e===je&&(de=je=null,me=0),$a=t,ql=e,Sl=l,Yc=u,Xc=i,$d=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,T0(Si,function(){return dh(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=A.T,A.T=null,i=Q.p,Q.p=2,f=xe,xe|=4;try{m0(e,t,l)}finally{xe=f,Q.p=i,A.T=a}}Fe=1,ch(),sh(),oh()}}function ch(){if(Fe===1){Fe=0;var e=ql,t=$a,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=A.T,A.T=null;var a=Q.p;Q.p=2;var i=xe;xe|=4;try{Gd(t,e);var u=ls,f=Ko(e.containerInfo),m=u.focusedElem,x=u.selectionRange;if(f!==m&&m&&m.ownerDocument&&ko(m.ownerDocument.documentElement,m)){if(x!==null&&Or(m)){var N=x.start,H=x.end;if(H===void 0&&(H=N),"selectionStart"in m)m.selectionStart=N,m.selectionEnd=Math.min(H,m.value.length);else{var X=m.ownerDocument||document,D=X&&X.defaultView||window;if(D.getSelection){var M=D.getSelection(),I=m.textContent.length,ae=Math.min(x.start,I),Ce=x.end===void 0?ae:Math.min(x.end,I);!M.extend&&ae>Ce&&(f=Ce,Ce=ae,ae=f);var _=Zo(m,ae),R=Zo(m,Ce);if(_&&R&&(M.rangeCount!==1||M.anchorNode!==_.node||M.anchorOffset!==_.offset||M.focusNode!==R.node||M.focusOffset!==R.offset)){var z=X.createRange();z.setStart(_.node,_.offset),M.removeAllRanges(),ae>Ce?(M.addRange(z),M.extend(R.node,R.offset)):(z.setEnd(R.node,R.offset),M.addRange(z))}}}}for(X=[],M=m;M=M.parentNode;)M.nodeType===1&&X.push({element:M,left:M.scrollLeft,top:M.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<X.length;m++){var Y=X[m];Y.element.scrollLeft=Y.left,Y.element.scrollTop=Y.top}}Nu=!!ts,ls=ts=null}finally{xe=i,Q.p=a,A.T=l}}e.current=t,Fe=2}}function sh(){if(Fe===2){Fe=0;var e=ql,t=$a,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=A.T,A.T=null;var a=Q.p;Q.p=2;var i=xe;xe|=4;try{Ld(e,t.alternate,t)}finally{xe=i,Q.p=a,A.T=l}}Fe=3}}function oh(){if(Fe===4||Fe===3){Fe=0,Zp();var e=ql,t=$a,l=Sl,a=$d;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Fe=5:(Fe=0,$a=ql=null,fh(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(Hl=null),cr(l),t=t.stateNode,xt&&typeof xt.onCommitFiberRoot=="function")try{xt.onCommitFiberRoot(pn,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=A.T,i=Q.p,Q.p=2,A.T=null;try{for(var u=e.onRecoverableError,f=0;f<a.length;f++){var m=a[f];u(m.value,{componentStack:m.stack})}}finally{A.T=t,Q.p=i}}(Sl&3)!==0&&gu(),ll(e),i=e.pendingLanes,(l&261930)!==0&&(i&42)!==0?e===Gc?$n++:($n=0,Gc=e):$n=0,Wn(0)}}function fh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,jn(t)))}function gu(){return ch(),sh(),oh(),dh()}function dh(){if(Fe!==5)return!1;var e=ql,t=Yc;Yc=0;var l=cr(Sl),a=A.T,i=Q.p;try{Q.p=32>l?32:l,A.T=null,l=Xc,Xc=null;var u=ql,f=Sl;if(Fe=0,$a=ql=null,Sl=0,(xe&6)!==0)throw Error(c(331));var m=xe;if(xe|=4,Kd(u.current),Qd(u,u.current,f,l),xe=m,Wn(0,!1),xt&&typeof xt.onPostCommitFiberRoot=="function")try{xt.onPostCommitFiberRoot(pn,u)}catch{}return!0}finally{Q.p=i,A.T=a,fh(e,t)}}function hh(e,t,l){t=Ut(l,t),t=Sc(e.stateNode,t,2),e=Dl(e,t,2),e!==null&&(vn(e,2),ll(e))}function Ae(e,t,l){if(e.tag===3)hh(e,e,l);else for(;t!==null;){if(t.tag===3){hh(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Hl===null||!Hl.has(a))){e=Ut(l,e),l=md(2),a=Dl(t,l,2),a!==null&&(pd(l,a,t,e),vn(a,2),ll(a));break}}t=t.return}}function Zc(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new v0;var i=new Set;a.set(t,i)}else i=a.get(t),i===void 0&&(i=new Set,a.set(t,i));i.has(l)||(Lc=!0,i.add(l),e=E0.bind(null,e,t,l),t.then(e,e))}function E0(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,je===e&&(me&l)===l&&(Ye===4||Ye===3&&(me&62914560)===me&&300>St()-du?(xe&2)===0&&Wa(e,0):Hc|=l,Fa===me&&(Fa=0)),ll(e)}function mh(e,t){t===0&&(t=uo()),e=la(e,t),e!==null&&(vn(e,t),ll(e))}function R0(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),mh(e,l)}function A0(e,t){var l=0;switch(e.tag){case 31:case 13:var a=e.stateNode,i=e.memoizedState;i!==null&&(l=i.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(c(314))}a!==null&&a.delete(t),mh(e,l)}function T0(e,t){return ba(e,t)}var bu=null,Ia=null,kc=!1,Su=!1,Kc=!1,Xl=0;function ll(e){e!==Ia&&e.next===null&&(Ia===null?bu=Ia=e:Ia=Ia.next=e),Su=!0,kc||(kc=!0,O0())}function Wn(e,t){if(!Kc&&Su){Kc=!0;do for(var l=!1,a=bu;a!==null;){if(e!==0){var i=a.pendingLanes;if(i===0)var u=0;else{var f=a.suspendedLanes,m=a.pingedLanes;u=(1<<31-Et(42|e)+1)-1,u&=i&~(f&~m),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,gh(a,u))}else u=me,u=Ai(a,a===je?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||yn(a,u)||(l=!0,gh(a,u));a=a.next}while(l);Kc=!1}}function _0(){ph()}function ph(){Su=kc=!1;var e=0;Xl!==0&&L0()&&(e=Xl);for(var t=St(),l=null,a=bu;a!==null;){var i=a.next,u=yh(a,t);u===0?(a.next=null,l===null?bu=i:l.next=i,i===null&&(Ia=l)):(l=a,(e!==0||(u&3)!==0)&&(Su=!0)),a=i}Fe!==0&&Fe!==5||Wn(e),Xl!==0&&(Xl=0)}function yh(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,i=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var f=31-Et(u),m=1<<f,x=i[f];x===-1?((m&l)===0||(m&a)!==0)&&(i[f]=Ip(m,t)):x<=t&&(e.expiredLanes|=m),u&=~m}if(t=je,l=me,l=Ai(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,l===0||e===t&&(Re===2||Re===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&mn(a),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||yn(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(a!==null&&mn(a),cr(l)){case 2:case 8:l=no;break;case 32:l=Si;break;case 268435456:l=io;break;default:l=Si}return a=vh.bind(null,e),l=ba(l,a),e.callbackPriority=t,e.callbackNode=l,t}return a!==null&&a!==null&&mn(a),e.callbackPriority=2,e.callbackNode=null,2}function vh(e,t){if(Fe!==0&&Fe!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(gu()&&e.callbackNode!==l)return null;var a=me;return a=Ai(e,e===je?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(Pd(e,a,t),yh(e,St()),e.callbackNode!=null&&e.callbackNode===l?vh.bind(null,e):null)}function gh(e,t){if(gu())return null;Pd(e,t,!0)}function O0(){q0(function(){(xe&6)!==0?ba(ao,_0):ph()})}function Jc(){if(Xl===0){var e=Ha;e===0&&(e=xi,xi<<=1,(xi&261888)===0&&(xi=256)),Xl=e}return Xl}function bh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Ci(""+e)}function Sh(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 C0(e,t,l,a,i){if(t==="submit"&&l&&l.stateNode===i){var u=bh((i[ot]||null).action),f=a.submitter;f&&(t=(t=f[ot]||null)?bh(t.formAction):f.getAttribute("formAction"),t!==null&&(u=t,f=null));var m=new Di("action","action",null,a,i);e.push({event:m,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Xl!==0){var x=f?Sh(i,f):new FormData(i);mc(l,{pending:!0,data:x,method:i.method,action:u},null,x)}}else typeof u=="function"&&(m.preventDefault(),x=f?Sh(i,f):new FormData(i),mc(l,{pending:!0,data:x,method:i.method,action:u},u,x))},currentTarget:i}]})}}for(var Fc=0;Fc<jr.length;Fc++){var $c=jr[Fc],z0=$c.toLowerCase(),N0=$c[0].toUpperCase()+$c.slice(1);Qt(z0,"on"+N0)}Qt($o,"onAnimationEnd"),Qt(Wo,"onAnimationIteration"),Qt(Po,"onAnimationStart"),Qt("dblclick","onDoubleClick"),Qt("focusin","onFocus"),Qt("focusout","onBlur"),Qt(ky,"onTransitionRun"),Qt(Ky,"onTransitionStart"),Qt(Jy,"onTransitionCancel"),Qt(Io,"onTransitionEnd"),Aa("onMouseEnter",["mouseout","mouseover"]),Aa("onMouseLeave",["mouseout","mouseover"]),Aa("onPointerEnter",["pointerout","pointerover"]),Aa("onPointerLeave",["pointerout","pointerover"]),Pl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Pl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Pl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Pl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Pl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Pl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Pn="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(" "),j0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Pn));function xh(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var a=e[l],i=a.event;a=a.listeners;e:{var u=void 0;if(t)for(var f=a.length-1;0<=f;f--){var m=a[f],x=m.instance,N=m.currentTarget;if(m=m.listener,x!==u&&i.isPropagationStopped())break e;u=m,i.currentTarget=N;try{u(i)}catch(H){wi(H)}i.currentTarget=null,u=x}else for(f=0;f<a.length;f++){if(m=a[f],x=m.instance,N=m.currentTarget,m=m.listener,x!==u&&i.isPropagationStopped())break e;u=m,i.currentTarget=N;try{u(i)}catch(H){wi(H)}i.currentTarget=null,u=x}}}}function he(e,t){var l=t[sr];l===void 0&&(l=t[sr]=new Set);var a=e+"__bubble";l.has(a)||(Eh(t,e,2,!1),l.add(a))}function Wc(e,t,l){var a=0;t&&(a|=4),Eh(l,e,a,t)}var xu="_reactListening"+Math.random().toString(36).slice(2);function Pc(e){if(!e[xu]){e[xu]=!0,mo.forEach(function(l){l!=="selectionchange"&&(j0.has(l)||Wc(l,!1,e),Wc(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[xu]||(t[xu]=!0,Wc("selectionchange",!1,t))}}function Eh(e,t,l,a){switch(Wh(t)){case 2:var i=iv;break;case 8:i=uv;break;default:i=hs}l=i.bind(null,t,l,e),i=void 0,!gr||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),a?i!==void 0?e.addEventListener(t,l,{capture:!0,passive:i}):e.addEventListener(t,l,!0):i!==void 0?e.addEventListener(t,l,{passive:i}):e.addEventListener(t,l,!1)}function Ic(e,t,l,a,i){var u=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var f=a.tag;if(f===3||f===4){var m=a.stateNode.containerInfo;if(m===i)break;if(f===4)for(f=a.return;f!==null;){var x=f.tag;if((x===3||x===4)&&f.stateNode.containerInfo===i)return;f=f.return}for(;m!==null;){if(f=xa(m),f===null)return;if(x=f.tag,x===5||x===6||x===26||x===27){a=u=f;continue e}m=m.parentNode}}a=a.return}_o(function(){var N=u,H=yr(l),X=[];e:{var D=ef.get(e);if(D!==void 0){var M=Di,I=e;switch(e){case"keypress":if(Ni(l)===0)break e;case"keydown":case"keyup":M=Ay;break;case"focusin":I="focus",M=Er;break;case"focusout":I="blur",M=Er;break;case"beforeblur":case"afterblur":M=Er;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=zo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":M=dy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":M=Oy;break;case $o:case Wo:case Po:M=py;break;case Io:M=zy;break;case"scroll":case"scrollend":M=oy;break;case"wheel":M=jy;break;case"copy":case"cut":case"paste":M=vy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":M=jo;break;case"toggle":case"beforetoggle":M=My}var ae=(t&4)!==0,Ce=!ae&&(e==="scroll"||e==="scrollend"),_=ae?D!==null?D+"Capture":null:D;ae=[];for(var R=N,z;R!==null;){var Y=R;if(z=Y.stateNode,Y=Y.tag,Y!==5&&Y!==26&&Y!==27||z===null||_===null||(Y=Sn(R,_),Y!=null&&ae.push(In(R,Y,z))),Ce)break;R=R.return}0<ae.length&&(D=new M(D,I,null,l,H),X.push({event:D,listeners:ae}))}}if((t&7)===0){e:{if(D=e==="mouseover"||e==="pointerover",M=e==="mouseout"||e==="pointerout",D&&l!==pr&&(I=l.relatedTarget||l.fromElement)&&(xa(I)||I[Sa]))break e;if((M||D)&&(D=H.window===H?H:(D=H.ownerDocument)?D.defaultView||D.parentWindow:window,M?(I=l.relatedTarget||l.toElement,M=N,I=I?xa(I):null,I!==null&&(Ce=d(I),ae=I.tag,I!==Ce||ae!==5&&ae!==27&&ae!==6)&&(I=null)):(M=null,I=N),M!==I)){if(ae=zo,Y="onMouseLeave",_="onMouseEnter",R="mouse",(e==="pointerout"||e==="pointerover")&&(ae=jo,Y="onPointerLeave",_="onPointerEnter",R="pointer"),Ce=M==null?D:bn(M),z=I==null?D:bn(I),D=new ae(Y,R+"leave",M,l,H),D.target=Ce,D.relatedTarget=z,Y=null,xa(H)===N&&(ae=new ae(_,R+"enter",I,l,H),ae.target=z,ae.relatedTarget=Ce,Y=ae),Ce=Y,M&&I)t:{for(ae=D0,_=M,R=I,z=0,Y=_;Y;Y=ae(Y))z++;Y=0;for(var le=R;le;le=ae(le))Y++;for(;0<z-Y;)_=ae(_),z--;for(;0<Y-z;)R=ae(R),Y--;for(;z--;){if(_===R||R!==null&&_===R.alternate){ae=_;break t}_=ae(_),R=ae(R)}ae=null}else ae=null;M!==null&&Rh(X,D,M,ae,!1),I!==null&&Ce!==null&&Rh(X,Ce,I,ae,!0)}}e:{if(D=N?bn(N):window,M=D.nodeName&&D.nodeName.toLowerCase(),M==="select"||M==="input"&&D.type==="file")var ge=qo;else if(Lo(D))if(Yo)ge=Vy;else{ge=Xy;var ee=Yy}else M=D.nodeName,!M||M.toLowerCase()!=="input"||D.type!=="checkbox"&&D.type!=="radio"?N&&mr(N.elementType)&&(ge=qo):ge=Gy;if(ge&&(ge=ge(e,N))){Ho(X,ge,l,H);break e}ee&&ee(e,D,N),e==="focusout"&&N&&D.type==="number"&&N.memoizedProps.value!=null&&hr(D,"number",D.value)}switch(ee=N?bn(N):window,e){case"focusin":(Lo(ee)||ee.contentEditable==="true")&&(Na=ee,Cr=N,Cn=null);break;case"focusout":Cn=Cr=Na=null;break;case"mousedown":zr=!0;break;case"contextmenu":case"mouseup":case"dragend":zr=!1,Jo(X,l,H);break;case"selectionchange":if(Zy)break;case"keydown":case"keyup":Jo(X,l,H)}var oe;if(Ar)e:{switch(e){case"compositionstart":var pe="onCompositionStart";break e;case"compositionend":pe="onCompositionEnd";break e;case"compositionupdate":pe="onCompositionUpdate";break e}pe=void 0}else za?wo(e,l)&&(pe="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(pe="onCompositionStart");pe&&(Do&&l.locale!=="ko"&&(za||pe!=="onCompositionStart"?pe==="onCompositionEnd"&&za&&(oe=Oo()):(Tl=H,br="value"in Tl?Tl.value:Tl.textContent,za=!0)),ee=Eu(N,pe),0<ee.length&&(pe=new No(pe,e,null,l,H),X.push({event:pe,listeners:ee}),oe?pe.data=oe:(oe=Bo(l),oe!==null&&(pe.data=oe)))),(oe=wy?By(e,l):Ly(e,l))&&(pe=Eu(N,"onBeforeInput"),0<pe.length&&(ee=new No("onBeforeInput","beforeinput",null,l,H),X.push({event:ee,listeners:pe}),ee.data=oe)),C0(X,e,N,l,H)}xh(X,t)})}function In(e,t,l){return{instance:e,listener:t,currentTarget:l}}function Eu(e,t){for(var l=t+"Capture",a=[];e!==null;){var i=e,u=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||u===null||(i=Sn(e,l),i!=null&&a.unshift(In(e,i,u)),i=Sn(e,t),i!=null&&a.push(In(e,i,u))),e.tag===3)return a;e=e.return}return[]}function D0(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Rh(e,t,l,a,i){for(var u=t._reactName,f=[];l!==null&&l!==a;){var m=l,x=m.alternate,N=m.stateNode;if(m=m.tag,x!==null&&x===a)break;m!==5&&m!==26&&m!==27||N===null||(x=N,i?(N=Sn(l,u),N!=null&&f.unshift(In(l,N,x))):i||(N=Sn(l,u),N!=null&&f.push(In(l,N,x)))),l=l.return}f.length!==0&&e.push({event:t,listeners:f})}var M0=/\r\n?/g,U0=/\u0000|\uFFFD/g;function Ah(e){return(typeof e=="string"?e:""+e).replace(M0,`
`).replace(U0,"")}function Th(e,t){return t=Ah(t),Ah(e)===t}function Oe(e,t,l,a,i,u){switch(l){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||_a(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&_a(e,""+a);break;case"className":_i(e,"class",a);break;case"tabIndex":_i(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":_i(e,l,a);break;case"style":Ao(e,a,u);break;case"data":if(t!=="object"){_i(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=Ci(""+a),e.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="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 u=="function"&&(l==="formAction"?(t!=="input"&&Oe(e,t,"name",i.name,i,null),Oe(e,t,"formEncType",i.formEncType,i,null),Oe(e,t,"formMethod",i.formMethod,i,null),Oe(e,t,"formTarget",i.formTarget,i,null)):(Oe(e,t,"encType",i.encType,i,null),Oe(e,t,"method",i.method,i,null),Oe(e,t,"target",i.target,i,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=Ci(""+a),e.setAttribute(l,a);break;case"onClick":a!=null&&(e.onclick=il);break;case"onScroll":a!=null&&he("scroll",e);break;case"onScrollEnd":a!=null&&he("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(l=a.__html,l!=null){if(i.children!=null)throw Error(c(60));e.innerHTML=l}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}l=Ci(""+a),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":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""+a):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":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":a===!0?e.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,a):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(l,a):e.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(l):e.setAttribute(l,a);break;case"popover":he("beforetoggle",e),he("toggle",e),Ti(e,"popover",a);break;case"xlinkActuate":nl(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":nl(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":nl(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":nl(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":nl(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":nl(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":nl(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":nl(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":nl(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Ti(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=cy.get(l)||l,Ti(e,l,a))}}function es(e,t,l,a,i,u){switch(l){case"style":Ao(e,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(l=a.__html,l!=null){if(i.children!=null)throw Error(c(60));e.innerHTML=l}}break;case"children":typeof a=="string"?_a(e,a):(typeof a=="number"||typeof a=="bigint")&&_a(e,""+a);break;case"onScroll":a!=null&&he("scroll",e);break;case"onScrollEnd":a!=null&&he("scrollend",e);break;case"onClick":a!=null&&(e.onclick=il);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!po.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(i=l.endsWith("Capture"),t=l.slice(2,i?l.length-7:void 0),u=e[ot]||null,u=u!=null?u[l]:null,typeof u=="function"&&e.removeEventListener(t,u,i),typeof a=="function")){typeof u!="function"&&u!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,a,i);break e}l in e?e[l]=a:a===!0?e.setAttribute(l,""):Ti(e,l,a)}}}function at(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":he("error",e),he("load",e);var a=!1,i=!1,u;for(u in l)if(l.hasOwnProperty(u)){var f=l[u];if(f!=null)switch(u){case"src":a=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:Oe(e,t,u,f,l,null)}}i&&Oe(e,t,"srcSet",l.srcSet,l,null),a&&Oe(e,t,"src",l.src,l,null);return;case"input":he("invalid",e);var m=u=f=i=null,x=null,N=null;for(a in l)if(l.hasOwnProperty(a)){var H=l[a];if(H!=null)switch(a){case"name":i=H;break;case"type":f=H;break;case"checked":x=H;break;case"defaultChecked":N=H;break;case"value":u=H;break;case"defaultValue":m=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(c(137,t));break;default:Oe(e,t,a,H,l,null)}}So(e,u,m,x,N,f,i,!1);return;case"select":he("invalid",e),a=f=u=null;for(i in l)if(l.hasOwnProperty(i)&&(m=l[i],m!=null))switch(i){case"value":u=m;break;case"defaultValue":f=m;break;case"multiple":a=m;default:Oe(e,t,i,m,l,null)}t=u,l=f,e.multiple=!!a,t!=null?Ta(e,!!a,t,!1):l!=null&&Ta(e,!!a,l,!0);return;case"textarea":he("invalid",e),u=i=a=null;for(f in l)if(l.hasOwnProperty(f)&&(m=l[f],m!=null))switch(f){case"value":a=m;break;case"defaultValue":i=m;break;case"children":u=m;break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(c(91));break;default:Oe(e,t,f,m,l,null)}Eo(e,a,i,u);return;case"option":for(x in l)if(l.hasOwnProperty(x)&&(a=l[x],a!=null))switch(x){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Oe(e,t,x,a,l,null)}return;case"dialog":he("beforetoggle",e),he("toggle",e),he("cancel",e),he("close",e);break;case"iframe":case"object":he("load",e);break;case"video":case"audio":for(a=0;a<Pn.length;a++)he(Pn[a],e);break;case"image":he("error",e),he("load",e);break;case"details":he("toggle",e);break;case"embed":case"source":case"link":he("error",e),he("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(N in l)if(l.hasOwnProperty(N)&&(a=l[N],a!=null))switch(N){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:Oe(e,t,N,a,l,null)}return;default:if(mr(t)){for(H in l)l.hasOwnProperty(H)&&(a=l[H],a!==void 0&&es(e,t,H,a,l,void 0));return}}for(m in l)l.hasOwnProperty(m)&&(a=l[m],a!=null&&Oe(e,t,m,a,l,null))}function w0(e,t,l,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,u=null,f=null,m=null,x=null,N=null,H=null;for(M in l){var X=l[M];if(l.hasOwnProperty(M)&&X!=null)switch(M){case"checked":break;case"value":break;case"defaultValue":x=X;default:a.hasOwnProperty(M)||Oe(e,t,M,null,a,X)}}for(var D in a){var M=a[D];if(X=l[D],a.hasOwnProperty(D)&&(M!=null||X!=null))switch(D){case"type":u=M;break;case"name":i=M;break;case"checked":N=M;break;case"defaultChecked":H=M;break;case"value":f=M;break;case"defaultValue":m=M;break;case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(c(137,t));break;default:M!==X&&Oe(e,t,D,M,a,X)}}dr(e,f,m,x,N,H,u,i);return;case"select":M=f=m=D=null;for(u in l)if(x=l[u],l.hasOwnProperty(u)&&x!=null)switch(u){case"value":break;case"multiple":M=x;default:a.hasOwnProperty(u)||Oe(e,t,u,null,a,x)}for(i in a)if(u=a[i],x=l[i],a.hasOwnProperty(i)&&(u!=null||x!=null))switch(i){case"value":D=u;break;case"defaultValue":m=u;break;case"multiple":f=u;default:u!==x&&Oe(e,t,i,u,a,x)}t=m,l=f,a=M,D!=null?Ta(e,!!l,D,!1):!!a!=!!l&&(t!=null?Ta(e,!!l,t,!0):Ta(e,!!l,l?[]:"",!1));return;case"textarea":M=D=null;for(m in l)if(i=l[m],l.hasOwnProperty(m)&&i!=null&&!a.hasOwnProperty(m))switch(m){case"value":break;case"children":break;default:Oe(e,t,m,null,a,i)}for(f in a)if(i=a[f],u=l[f],a.hasOwnProperty(f)&&(i!=null||u!=null))switch(f){case"value":D=i;break;case"defaultValue":M=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(c(91));break;default:i!==u&&Oe(e,t,f,i,a,u)}xo(e,D,M);return;case"option":for(var I in l)if(D=l[I],l.hasOwnProperty(I)&&D!=null&&!a.hasOwnProperty(I))switch(I){case"selected":e.selected=!1;break;default:Oe(e,t,I,null,a,D)}for(x in a)if(D=a[x],M=l[x],a.hasOwnProperty(x)&&D!==M&&(D!=null||M!=null))switch(x){case"selected":e.selected=D&&typeof D!="function"&&typeof D!="symbol";break;default:Oe(e,t,x,D,a,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 ae in l)D=l[ae],l.hasOwnProperty(ae)&&D!=null&&!a.hasOwnProperty(ae)&&Oe(e,t,ae,null,a,D);for(N in a)if(D=a[N],M=l[N],a.hasOwnProperty(N)&&D!==M&&(D!=null||M!=null))switch(N){case"children":case"dangerouslySetInnerHTML":if(D!=null)throw Error(c(137,t));break;default:Oe(e,t,N,D,a,M)}return;default:if(mr(t)){for(var Ce in l)D=l[Ce],l.hasOwnProperty(Ce)&&D!==void 0&&!a.hasOwnProperty(Ce)&&es(e,t,Ce,void 0,a,D);for(H in a)D=a[H],M=l[H],!a.hasOwnProperty(H)||D===M||D===void 0&&M===void 0||es(e,t,H,D,a,M);return}}for(var _ in l)D=l[_],l.hasOwnProperty(_)&&D!=null&&!a.hasOwnProperty(_)&&Oe(e,t,_,null,a,D);for(X in a)D=a[X],M=l[X],!a.hasOwnProperty(X)||D===M||D==null&&M==null||Oe(e,t,X,D,a,M)}function _h(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function B0(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,l=performance.getEntriesByType("resource"),a=0;a<l.length;a++){var i=l[a],u=i.transferSize,f=i.initiatorType,m=i.duration;if(u&&m&&_h(f)){for(f=0,m=i.responseEnd,a+=1;a<l.length;a++){var x=l[a],N=x.startTime;if(N>m)break;var H=x.transferSize,X=x.initiatorType;H&&_h(X)&&(x=x.responseEnd,f+=H*(x<m?1:(m-N)/(x-N)))}if(--a,t+=8*(u+f)/(i.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 ts=null,ls=null;function Ru(e){return e.nodeType===9?e:e.ownerDocument}function Oh(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 Ch(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 as(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 ns=null;function L0(){var e=window.event;return e&&e.type==="popstate"?e===ns?!1:(ns=e,!0):(ns=null,!1)}var zh=typeof setTimeout=="function"?setTimeout:void 0,H0=typeof clearTimeout=="function"?clearTimeout:void 0,Nh=typeof Promise=="function"?Promise:void 0,q0=typeof queueMicrotask=="function"?queueMicrotask:typeof Nh<"u"?function(e){return Nh.resolve(null).then(e).catch(Y0)}:zh;function Y0(e){setTimeout(function(){throw e})}function Gl(e){return e==="head"}function jh(e,t){var l=t,a=0;do{var i=l.nextSibling;if(e.removeChild(l),i&&i.nodeType===8)if(l=i.data,l==="/$"||l==="/&"){if(a===0){e.removeChild(i),an(t);return}a--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")a++;else if(l==="html")ei(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,ei(l);for(var u=l.firstChild;u;){var f=u.nextSibling,m=u.nodeName;u[gn]||m==="SCRIPT"||m==="STYLE"||m==="LINK"&&u.rel.toLowerCase()==="stylesheet"||l.removeChild(u),u=f}}else l==="body"&&ei(e.ownerDocument.body);l=i}while(l);an(t)}function Dh(e,t){var l=e;e=0;do{var a=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||""),a&&a.nodeType===8)if(l=a.data,l==="/$"){if(e===0)break;e--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||e++;l=a}while(l)}function is(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":is(l),or(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function X0(e,t,l,a){for(;e.nodeType===1;){var i=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[gn])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==i.rel||e.getAttribute("href")!==(i.href==null||i.href===""?null:i.href)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute("title")!==(i.title==null?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(i.src==null?null:i.src)||e.getAttribute("type")!==(i.type==null?null:i.type)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=i.name==null?null:""+i.name;if(i.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=qt(e.nextSibling),e===null)break}return null}function G0(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 Mh(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 us(e){return e.data==="$?"||e.data==="$~"}function rs(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function V0(e,t){var l=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||l.readyState!=="loading")t();else{var a=function(){t(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}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 cs=null;function Uh(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 wh(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 Bh(e,t,l){switch(t=Ru(l),e){case"html":if(e=t.documentElement,!e)throw Error(c(452));return e;case"head":if(e=t.head,!e)throw Error(c(453));return e;case"body":if(e=t.body,!e)throw Error(c(454));return e;default:throw Error(c(451))}}function ei(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);or(e)}var Yt=new Map,Lh=new Set;function Au(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var xl=Q.d;Q.d={f:Q0,r:Z0,D:k0,C:K0,L:J0,m:F0,X:W0,S:$0,M:P0};function Q0(){var e=xl.f(),t=pu();return e||t}function Z0(e){var t=Ea(e);t!==null&&t.tag===5&&t.type==="form"?ed(t):xl.r(e)}var en=typeof document>"u"?null:document;function Hh(e,t,l){var a=en;if(a&&typeof t=="string"&&t){var i=Dt(t);i='link[rel="'+e+'"][href="'+i+'"]',typeof l=="string"&&(i+='[crossorigin="'+l+'"]'),Lh.has(i)||(Lh.add(i),e={rel:e,crossOrigin:l,href:t},a.querySelector(i)===null&&(t=a.createElement("link"),at(t,"link",e),$e(t),a.head.appendChild(t)))}}function k0(e){xl.D(e),Hh("dns-prefetch",e,null)}function K0(e,t){xl.C(e,t),Hh("preconnect",e,t)}function J0(e,t,l){xl.L(e,t,l);var a=en;if(a&&e&&t){var i='link[rel="preload"][as="'+Dt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(i+='[imagesrcset="'+Dt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(i+='[imagesizes="'+Dt(l.imageSizes)+'"]')):i+='[href="'+Dt(e)+'"]';var u=i;switch(t){case"style":u=tn(e);break;case"script":u=ln(e)}Yt.has(u)||(e=b({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Yt.set(u,e),a.querySelector(i)!==null||t==="style"&&a.querySelector(ti(u))||t==="script"&&a.querySelector(li(u))||(t=a.createElement("link"),at(t,"link",e),$e(t),a.head.appendChild(t)))}}function F0(e,t){xl.m(e,t);var l=en;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",i='link[rel="modulepreload"][as="'+Dt(a)+'"][href="'+Dt(e)+'"]',u=i;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=ln(e)}if(!Yt.has(u)&&(e=b({rel:"modulepreload",href:e},t),Yt.set(u,e),l.querySelector(i)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(li(u)))return}a=l.createElement("link"),at(a,"link",e),$e(a),l.head.appendChild(a)}}}function $0(e,t,l){xl.S(e,t,l);var a=en;if(a&&e){var i=Ra(a).hoistableStyles,u=tn(e);t=t||"default";var f=i.get(u);if(!f){var m={loading:0,preload:null};if(f=a.querySelector(ti(u)))m.loading=5;else{e=b({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Yt.get(u))&&ss(e,l);var x=f=a.createElement("link");$e(x),at(x,"link",e),x._p=new Promise(function(N,H){x.onload=N,x.onerror=H}),x.addEventListener("load",function(){m.loading|=1}),x.addEventListener("error",function(){m.loading|=2}),m.loading|=4,Tu(f,t,a)}f={type:"stylesheet",instance:f,count:1,state:m},i.set(u,f)}}}function W0(e,t){xl.X(e,t);var l=en;if(l&&e){var a=Ra(l).hoistableScripts,i=ln(e),u=a.get(i);u||(u=l.querySelector(li(i)),u||(e=b({src:e,async:!0},t),(t=Yt.get(i))&&os(e,t),u=l.createElement("script"),$e(u),at(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(i,u))}}function P0(e,t){xl.M(e,t);var l=en;if(l&&e){var a=Ra(l).hoistableScripts,i=ln(e),u=a.get(i);u||(u=l.querySelector(li(i)),u||(e=b({src:e,async:!0,type:"module"},t),(t=Yt.get(i))&&os(e,t),u=l.createElement("script"),$e(u),at(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(i,u))}}function qh(e,t,l,a){var i=(i=P.current)?Au(i):null;if(!i)throw Error(c(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=tn(l.href),l=Ra(i).hoistableStyles,a=l.get(t),a||(a={type:"style",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=tn(l.href);var u=Ra(i).hoistableStyles,f=u.get(e);if(f||(i=i.ownerDocument||i,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,f),(u=i.querySelector(ti(e)))&&!u._p&&(f.instance=u,f.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),u||I0(i,e,l,f.state))),t&&a===null)throw Error(c(528,""));return f}if(t&&a!==null)throw Error(c(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ln(l),l=Ra(i).hoistableScripts,a=l.get(t),a||(a={type:"script",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,e))}}function tn(e){return'href="'+Dt(e)+'"'}function ti(e){return'link[rel="stylesheet"]['+e+"]"}function Yh(e){return b({},e,{"data-precedence":e.precedence,precedence:null})}function I0(e,t,l,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),at(t,"link",l),$e(t),e.head.appendChild(t))}function ln(e){return'[src="'+Dt(e)+'"]'}function li(e){return"script[async]"+e}function Xh(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Dt(l.href)+'"]');if(a)return t.instance=a,$e(a),a;var i=b({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),$e(a),at(a,"style",i),Tu(a,l.precedence,e),t.instance=a;case"stylesheet":i=tn(l.href);var u=e.querySelector(ti(i));if(u)return t.state.loading|=4,t.instance=u,$e(u),u;a=Yh(l),(i=Yt.get(i))&&ss(a,i),u=(e.ownerDocument||e).createElement("link"),$e(u);var f=u;return f._p=new Promise(function(m,x){f.onload=m,f.onerror=x}),at(u,"link",a),t.state.loading|=4,Tu(u,l.precedence,e),t.instance=u;case"script":return u=ln(l.src),(i=e.querySelector(li(u)))?(t.instance=i,$e(i),i):(a=l,(i=Yt.get(u))&&(a=b({},l),os(a,i)),e=e.ownerDocument||e,i=e.createElement("script"),$e(i),at(i,"link",a),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(c(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Tu(a,l.precedence,e));return t.instance}function Tu(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=a.length?a[a.length-1]:null,u=i,f=0;f<a.length;f++){var m=a[f];if(m.dataset.precedence===t)u=m;else if(u!==i)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function ss(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function os(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var _u=null;function Gh(e,t,l){if(_u===null){var a=new Map,i=_u=new Map;i.set(l,a)}else i=_u,a=i.get(l),a||(a=new Map,i.set(l,a));if(a.has(e))return a;for(a.set(e,null),l=l.getElementsByTagName(e),i=0;i<l.length;i++){var u=l[i];if(!(u[gn]||u[Ie]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var f=u.getAttribute(t)||"";f=e+f;var m=a.get(f);m?m.push(u):a.set(f,[u])}}return a}function Vh(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function ev(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 Qh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function tv(e,t,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var i=tn(a.href),u=t.querySelector(ti(i));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Ou.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=u,$e(u);return}u=t.ownerDocument||t,a=Yh(a),(i=Yt.get(i))&&ss(a,i),u=u.createElement("link"),$e(u);var f=u;f._p=new Promise(function(m,x){f.onload=m,f.onerror=x}),at(u,"link",a),l.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=Ou.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var fs=0;function lv(e,t){return e.stylesheets&&e.count===0&&zu(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var a=setTimeout(function(){if(e.stylesheets&&zu(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&fs===0&&(fs=62500*B0());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&zu(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>fs?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(i)}}:null}function Ou(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)zu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Cu=null;function zu(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Cu=new Map,t.forEach(av,e),Cu=null,Ou.call(e))}function av(e,t){if(!(t.state.loading&4)){var l=Cu.get(e);if(l)var a=l.get(null);else{l=new Map,Cu.set(e,l);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<i.length;u++){var f=i[u];(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")&&(l.set(f.dataset.precedence,f),a=f)}a&&l.set(null,a)}i=t.instance,f=i.getAttribute("data-precedence"),u=l.get(f)||a,u===a&&l.set(null,i),l.set(f,i),this.count++,a=Ou.bind(this),i.addEventListener("load",a),i.addEventListener("error",a),u?u.parentNode.insertBefore(i,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var ai={$$typeof:G,Provider:null,Consumer:null,_currentValue:$,_currentValue2:$,_threadCount:0};function nv(e,t,l,a,i,u,f,m,x){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=ur(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ur(0),this.hiddenUpdates=ur(null),this.identifierPrefix=a,this.onUncaughtError=i,this.onCaughtError=u,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=x,this.incompleteTransitions=new Map}function Zh(e,t,l,a,i,u,f,m,x,N,H,X){return e=new nv(e,t,l,f,x,N,H,X,m),t=1,u===!0&&(t|=24),u=At(3,null,null,t),e.current=u,u.stateNode=e,t=Qr(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:l,cache:t},Jr(u),e}function kh(e){return e?(e=Ma,e):Ma}function Kh(e,t,l,a,i,u){i=kh(i),a.context===null?a.context=i:a.pendingContext=i,a=jl(t),a.payload={element:l},u=u===void 0?null:u,u!==null&&(a.callback=u),l=Dl(e,a,t),l!==null&&(yt(l,e,t),wn(l,e,t))}function Jh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function ds(e,t){Jh(e,t),(e=e.alternate)&&Jh(e,t)}function Fh(e){if(e.tag===13||e.tag===31){var t=la(e,67108864);t!==null&&yt(t,e,67108864),ds(e,67108864)}}function $h(e){if(e.tag===13||e.tag===31){var t=zt();t=rr(t);var l=la(e,t);l!==null&&yt(l,e,t),ds(e,t)}}var Nu=!0;function iv(e,t,l,a){var i=A.T;A.T=null;var u=Q.p;try{Q.p=2,hs(e,t,l,a)}finally{Q.p=u,A.T=i}}function uv(e,t,l,a){var i=A.T;A.T=null;var u=Q.p;try{Q.p=8,hs(e,t,l,a)}finally{Q.p=u,A.T=i}}function hs(e,t,l,a){if(Nu){var i=ms(a);if(i===null)Ic(e,t,a,ju,l),Ph(e,a);else if(cv(i,e,t,l,a))a.stopPropagation();else if(Ph(e,a),t&4&&-1<rv.indexOf(e)){for(;i!==null;){var u=Ea(i);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var f=Wl(u.pendingLanes);if(f!==0){var m=u;for(m.pendingLanes|=2,m.entangledLanes|=2;f;){var x=1<<31-Et(f);m.entanglements[1]|=x,f&=~x}ll(u),(xe&6)===0&&(hu=St()+500,Wn(0))}}break;case 31:case 13:m=la(u,2),m!==null&&yt(m,u,2),pu(),ds(u,2)}if(u=ms(a),u===null&&Ic(e,t,a,ju,l),u===i)break;i=u}i!==null&&a.stopPropagation()}else Ic(e,t,a,null,l)}}function ms(e){return e=yr(e),ps(e)}var ju=null;function ps(e){if(ju=null,e=xa(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 ju=e,null}function Wh(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(kp()){case ao:return 2;case no:return 8;case Si:case Kp:return 32;case io:return 268435456;default:return 32}default:return 32}}var ys=!1,Vl=null,Ql=null,Zl=null,ni=new Map,ii=new Map,kl=[],rv="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 Ph(e,t){switch(e){case"focusin":case"focusout":Vl=null;break;case"dragenter":case"dragleave":Ql=null;break;case"mouseover":case"mouseout":Zl=null;break;case"pointerover":case"pointerout":ni.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ii.delete(t.pointerId)}}function ui(e,t,l,a,i,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:l,eventSystemFlags:a,nativeEvent:u,targetContainers:[i]},t!==null&&(t=Ea(t),t!==null&&Fh(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function cv(e,t,l,a,i){switch(t){case"focusin":return Vl=ui(Vl,e,t,l,a,i),!0;case"dragenter":return Ql=ui(Ql,e,t,l,a,i),!0;case"mouseover":return Zl=ui(Zl,e,t,l,a,i),!0;case"pointerover":var u=i.pointerId;return ni.set(u,ui(ni.get(u)||null,e,t,l,a,i)),!0;case"gotpointercapture":return u=i.pointerId,ii.set(u,ui(ii.get(u)||null,e,t,l,a,i)),!0}return!1}function Ih(e){var t=xa(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,fo(e.priority,function(){$h(l)});return}}else if(t===31){if(t=y(l),t!==null){e.blockedOn=t,fo(e.priority,function(){$h(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 Du(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=ms(e.nativeEvent);if(l===null){l=e.nativeEvent;var a=new l.constructor(l.type,l);pr=a,l.target.dispatchEvent(a),pr=null}else return t=Ea(l),t!==null&&Fh(t),e.blockedOn=l,!1;t.shift()}return!0}function em(e,t,l){Du(e)&&l.delete(t)}function sv(){ys=!1,Vl!==null&&Du(Vl)&&(Vl=null),Ql!==null&&Du(Ql)&&(Ql=null),Zl!==null&&Du(Zl)&&(Zl=null),ni.forEach(em),ii.forEach(em)}function Mu(e,t){e.blockedOn===t&&(e.blockedOn=null,ys||(ys=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,sv)))}var Uu=null;function tm(e){Uu!==e&&(Uu=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Uu===e&&(Uu=null);for(var t=0;t<e.length;t+=3){var l=e[t],a=e[t+1],i=e[t+2];if(typeof a!="function"){if(ps(a||l)===null)continue;break}var u=Ea(l);u!==null&&(e.splice(t,3),t-=3,mc(u,{pending:!0,data:i,method:l.method,action:a},a,i))}}))}function an(e){function t(x){return Mu(x,e)}Vl!==null&&Mu(Vl,e),Ql!==null&&Mu(Ql,e),Zl!==null&&Mu(Zl,e),ni.forEach(t),ii.forEach(t);for(var l=0;l<kl.length;l++){var a=kl[l];a.blockedOn===e&&(a.blockedOn=null)}for(;0<kl.length&&(l=kl[0],l.blockedOn===null);)Ih(l),l.blockedOn===null&&kl.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var i=l[a],u=l[a+1],f=i[ot]||null;if(typeof u=="function")f||tm(l);else if(f){var m=null;if(u&&u.hasAttribute("formAction")){if(i=u,f=u[ot]||null)m=f.formAction;else if(ps(i)!==null)continue}else m=f.action;typeof m=="function"?l[a+1]=m:(l.splice(a,3),a-=3),tm(l)}}}function lm(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(f){return i=f})},focusReset:"manual",scroll:"manual"})}function t(){i!==null&&(i(),i=null),a||setTimeout(l,20)}function l(){if(!a&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,i=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(l,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),i!==null&&(i(),i=null)}}}function vs(e){this._internalRoot=e}wu.prototype.render=vs.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(c(409));var l=t.current,a=zt();Kh(l,a,e,t,null,null)},wu.prototype.unmount=vs.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Kh(e.current,2,null,e,null,null),pu(),t[Sa]=null}};function wu(e){this._internalRoot=e}wu.prototype.unstable_scheduleHydration=function(e){if(e){var t=oo();e={blockedOn:null,target:e,priority:t};for(var l=0;l<kl.length&&t!==0&&t<kl[l].priority;l++);kl.splice(l,0,e),l===0&&Ih(e)}};var am=r.version;if(am!=="19.2.7")throw Error(c(527,am,"19.2.7"));Q.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(c(188)):(e=Object.keys(e).join(","),Error(c(268,e)));return e=v(t),e=e!==null?S(e):null,e=e===null?null:e.stateNode,e};var ov={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:A,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Bu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Bu.isDisabled&&Bu.supportsFiber)try{pn=Bu.inject(ov),xt=Bu}catch{}}return ci.createRoot=function(e,t){if(!o(e))throw Error(c(299));var l=!1,a="",i=od,u=fd,f=dd;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(i=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(f=t.onRecoverableError)),t=Zh(e,1,!1,null,null,l,a,null,i,u,f,lm),e[Sa]=t.current,Pc(e),new vs(t)},ci.hydrateRoot=function(e,t,l){if(!o(e))throw Error(c(299));var a=!1,i="",u=od,f=fd,m=dd,x=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(i=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(f=l.onCaughtError),l.onRecoverableError!==void 0&&(m=l.onRecoverableError),l.formState!==void 0&&(x=l.formState)),t=Zh(e,1,!0,t,l??null,a,i,x,u,f,m,lm),t.context=kh(null),l=t.current,a=zt(),a=rr(a),i=jl(a),i.callback=null,Dl(l,i,a),l=a,t.current.lanes=l,vn(t,l),ll(t),e[Sa]=t.current,Pc(e),new wu(t)},ci.version="19.2.7",ci}var hm;function xv(){if(hm)return Ss.exports;hm=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),Ss.exports=Sv(),Ss.exports}var Ev=xv();const Rv=Zm(Ev);/**
 * 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 Gs=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,km=/^[\\/]{2}/;function Av(n,r){return r+n.replace(/\\/g,"/")}var mm="popstate";function pm(n){return typeof n=="object"&&n!=null&&"pathname"in n&&"search"in n&&"hash"in n&&"state"in n&&"key"in n}function Tv(n={}){function r(c,o){var v;let d=(v=o.state)==null?void 0:v.masked,{pathname:h,search:y,hash:g}=d||c.location;return ws("",{pathname:h,search:y,hash:g},o.state&&o.state.usr||null,o.state&&o.state.key||"default",d?{pathname:c.location.pathname,search:c.location.search,hash:c.location.hash}:void 0)}function s(c,o){return typeof o=="string"?o:di(o)}return Ov(r,s,null,n)}function Le(n,r){if(n===!1||n===null||typeof n>"u")throw new Error(r)}function Ft(n,r){if(!n){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function _v(){return Math.random().toString(36).substring(2,10)}function ym(n,r){return{usr:n.state,key:n.key,idx:r,masked:n.mask?{pathname:n.pathname,search:n.search,hash:n.hash}:void 0}}function ws(n,r,s=null,c,o){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof r=="string"?cn(r):r,state:s,key:r&&r.key||c||_v(),mask:o}}function di({pathname:n="/",search:r="",hash:s=""}){return r&&r!=="?"&&(n+=r.charAt(0)==="?"?r:"?"+r),s&&s!=="#"&&(n+=s.charAt(0)==="#"?s:"#"+s),n}function cn(n){let r={};if(n){let s=n.indexOf("#");s>=0&&(r.hash=n.substring(s),n=n.substring(0,s));let c=n.indexOf("?");c>=0&&(r.search=n.substring(c),n=n.substring(0,c)),n&&(r.pathname=n)}return r}function Ov(n,r,s,c={}){let{window:o=document.defaultView,v5Compat:d=!1}=c,h=o.history,y="POP",g=null,v=S();v==null&&(v=0,h.replaceState({...h.state,idx:v},""));function S(){return(h.state||{idx:null}).idx}function b(){y="POP";let L=S(),O=L==null?null:L-v;v=L,g&&g({action:y,location:q.location,delta:O})}function j(L,O){y="PUSH";let U=pm(L)?L:ws(q.location,L,O);v=S()+1;let G=ym(U,v),W=q.createHref(U.mask||U);try{h.pushState(G,"",W)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;o.location.assign(W)}d&&g&&g({action:y,location:q.location,delta:1})}function B(L,O){y="REPLACE";let U=pm(L)?L:ws(q.location,L,O);v=S();let G=ym(U,v),W=q.createHref(U.mask||U);h.replaceState(G,"",W),d&&g&&g({action:y,location:q.location,delta:0})}function V(L){return Cv(o,L)}let q={get action(){return y},get location(){return n(o,h)},listen(L){if(g)throw new Error("A history only accepts one active listener");return o.addEventListener(mm,b),g=L,()=>{o.removeEventListener(mm,b),g=null}},createHref(L){return r(o,L)},createURL:V,encodeLocation(L){let O=V(L);return{pathname:O.pathname,search:O.search,hash:O.hash}},push:j,replace:B,go(L){return h.go(L)}};return q}function Cv(n,r,s=!1){let c="http://localhost";n&&(c=n.location.origin!=="null"?n.location.origin:n.location.href),Le(c,"No window.location.(origin|href) available to create URL");let o=typeof r=="string"?r:di(r);return o=o.replace(/ $/,"%20"),!s&&km.test(o)&&(o=c+o),new URL(o,c)}function Km(n,r,s="/"){return zv(n,r,s,!1)}function zv(n,r,s,c,o){let d=typeof r=="string"?cn(r):r,h=El(d.pathname||"/",s);if(h==null)return null;let y=Nv(n),g=null,v=Xv(h);for(let S=0;g==null&&S<y.length;++S)g=Yv(y[S],v,c);return g}function Nv(n){let r=Jm(n);return jv(r),r}function Jm(n,r=[],s=[],c="",o=!1){let d=(h,y,g=o,v)=>{let S={relativePath:v===void 0?h.path||"":v,caseSensitive:h.caseSensitive===!0,childrenIndex:y,route:h};if(S.relativePath.startsWith("/")){if(!S.relativePath.startsWith(c)&&g)return;Le(S.relativePath.startsWith(c),`Absolute route path "${S.relativePath}" nested under path "${c}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),S.relativePath=S.relativePath.slice(c.length)}let b=Jt([c,S.relativePath]),j=s.concat(S);h.children&&h.children.length>0&&(Le(h.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${b}".`),Jm(h.children,r,j,b,g)),!(h.path==null&&!h.index)&&r.push({path:b,score:Hv(b,h.index),routesMeta:j.map((B,V)=>{let[q,L]=Wm(B.relativePath,B.caseSensitive,V===j.length-1);return{...B,matcher:q,compiledParams:L}})})};return n.forEach((h,y)=>{var g;if(h.path===""||!((g=h.path)!=null&&g.includes("?")))d(h,y);else for(let v of Fm(h.path))d(h,y,!0,v)}),r}function Fm(n){let r=n.split("/");if(r.length===0)return[];let[s,...c]=r,o=s.endsWith("?"),d=s.replace(/\?$/,"");if(c.length===0)return o?[d,""]:[d];let h=Fm(c.join("/")),y=[];return y.push(...h.map(g=>g===""?d:[d,g].join("/"))),o&&y.push(...h),y.map(g=>n.startsWith("/")&&g===""?"/":g)}function jv(n){n.sort((r,s)=>r.score!==s.score?s.score-r.score:qv(r.routesMeta.map(c=>c.childrenIndex),s.routesMeta.map(c=>c.childrenIndex)))}var Dv=/^:[\w-]+$/,Mv=3,Uv=2,wv=1,Bv=10,Lv=-2,vm=n=>n==="*";function Hv(n,r){let s=n.split("/"),c=s.length;return s.some(vm)&&(c+=Lv),r&&(c+=Uv),s.filter(o=>!vm(o)).reduce((o,d)=>o+(Dv.test(d)?Mv:d===""?wv:Bv),c)}function qv(n,r){return n.length===r.length&&n.slice(0,-1).every((c,o)=>c===r[o])?n[n.length-1]-r[r.length-1]:0}function Yv(n,r,s=!1){let{routesMeta:c}=n,o={},d="/",h=[];for(let y=0;y<c.length;++y){let g=c[y],v=y===c.length-1,S=d==="/"?r:r.slice(d.length)||"/",b={path:g.relativePath,caseSensitive:g.caseSensitive,end:v},j=g.matcher&&g.compiledParams?$m(b,S,g.matcher,g.compiledParams):Zu(b,S),B=g.route;if(!j&&v&&s&&!c[c.length-1].route.index&&(j=Zu({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},S)),!j)return null;Object.assign(o,j.params),h.push({params:o,pathname:Jt([d,j.pathname]),pathnameBase:Qv(Jt([d,j.pathnameBase])),route:B}),j.pathnameBase!=="/"&&(d=Jt([d,j.pathnameBase]))}return h}function Zu(n,r){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[s,c]=Wm(n.path,n.caseSensitive,n.end);return $m(n,r,s,c)}function $m(n,r,s,c){let o=r.match(s);if(!o)return null;let d=o[0],h=d.replace(/(.)\/+$/,"$1"),y=o.slice(1);return{params:c.reduce((v,{paramName:S,isOptional:b},j)=>{if(S==="*"){let V=y[j]||"";h=d.slice(0,d.length-V.length).replace(/(.)\/+$/,"$1")}const B=y[j];return b&&!B?v[S]=void 0:v[S]=(B||"").replace(/%2F/g,"/"),v},{}),pathname:d,pathnameBase:h,pattern:n}}function Wm(n,r=!1,s=!0){Ft(n==="*"||!n.endsWith("*")||n.endsWith("/*"),`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`);let c=[],o="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(h,y,g,v,S)=>{if(c.push({paramName:y,isOptional:g!=null}),g){let b=S.charAt(v+h.length);return b&&b!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(c.push({paramName:"*"}),o+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?o+="\\/*$":n!==""&&n!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,r?void 0:"i"),c]}function Xv(n){try{return n.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return Ft(!1,`The URL path "${n}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),n}}function El(n,r){if(r==="/")return n;if(!n.toLowerCase().startsWith(r.toLowerCase()))return null;let s=r.endsWith("/")?r.length-1:r.length,c=n.charAt(s);return c&&c!=="/"?null:n.slice(s)||"/"}function Gv(n,r="/"){let{pathname:s,search:c="",hash:o=""}=typeof n=="string"?cn(n):n,d;return s?(s=Pm(s),s.startsWith("/")?d=gm(s.substring(1),"/"):d=gm(s,r)):d=r,{pathname:d,search:Zv(c),hash:kv(o)}}function gm(n,r){let s=ku(r).split("/");return n.split("/").forEach(o=>{o===".."?s.length>1&&s.pop():o!=="."&&s.push(o)}),s.length>1?s.join("/"):"/"}function As(n,r,s,c){return`Cannot include a '${n}' character in a manually specified \`to.${r}\` field [${JSON.stringify(c)}].  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 Vv(n){return n.filter((r,s)=>s===0||r.route.path&&r.route.path.length>0)}function Vs(n){let r=Vv(n);return r.map((s,c)=>c===r.length-1?s.pathname:s.pathnameBase)}function Wu(n,r,s,c=!1){let o;typeof n=="string"?o=cn(n):(o={...n},Le(!o.pathname||!o.pathname.includes("?"),As("?","pathname","search",o)),Le(!o.pathname||!o.pathname.includes("#"),As("#","pathname","hash",o)),Le(!o.search||!o.search.includes("#"),As("#","search","hash",o)));let d=n===""||o.pathname==="",h=d?"/":o.pathname,y;if(h==null)y=s;else{let b=r.length-1;if(!c&&h.startsWith("..")){let j=h.split("/");for(;j[0]==="..";)j.shift(),b-=1;o.pathname=j.join("/")}y=b>=0?r[b]:"/"}let g=Gv(o,y),v=h&&h!=="/"&&h.endsWith("/"),S=(d||h===".")&&s.endsWith("/");return!g.pathname.endsWith("/")&&(v||S)&&(g.pathname+="/"),g}var Pm=n=>n.replace(/[\\/]{2,}/g,"/"),Jt=n=>Pm(n.join("/")),ku=n=>n.replace(/\/+$/,""),Qv=n=>ku(n).replace(/^\/*/,"/"),Zv=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,kv=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,Kv=class{constructor(n,r,s,c=!1){this.status=n,this.statusText=r||"",this.internal=c,s instanceof Error?(this.data=s.toString(),this.error=s):this.data=s}};function Jv(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function Fv(n){let r=n.map(s=>s.route.path).filter(Boolean);return Jt(r)||"/"}var Im=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function ep(n,r){let s=n;if(typeof s!="string"||!Gs.test(s))return{absoluteURL:void 0,isExternal:!1,to:s};let c=s,o=!1;if(Im)try{let d=new URL(window.location.href),h=km.test(s)?new URL(Av(s,d.protocol)):new URL(s),y=El(h.pathname,r);h.origin===d.origin&&y!=null?s=y+h.search+h.hash:o=!0}catch{Ft(!1,`<Link to="${s}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:c,isExternal:o,to:s}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var tp=["POST","PUT","PATCH","DELETE"];new Set(tp);var $v=["GET",...tp];new Set($v);var Wv=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function Pv(n){try{return Wv.includes(new URL(n).protocol)}catch{return!1}}var sn=C.createContext(null);sn.displayName="DataRouter";var Pu=C.createContext(null);Pu.displayName="DataRouterState";var lp=C.createContext(!1);function Iv(){return C.useContext(lp)}var ap=C.createContext({isTransitioning:!1});ap.displayName="ViewTransition";var eg=C.createContext(new Map);eg.displayName="Fetchers";var tg=C.createContext(null);tg.displayName="Await";var Nt=C.createContext(null);Nt.displayName="Navigation";var mi=C.createContext(null);mi.displayName="Location";var $t=C.createContext({outlet:null,matches:[],isDataRoute:!1});$t.displayName="Route";var Qs=C.createContext(null);Qs.displayName="RouteError";var np="REACT_ROUTER_ERROR",lg="REDIRECT",ag="ROUTE_ERROR_RESPONSE";function ng(n){if(n.startsWith(`${np}:${lg}:{`))try{let r=JSON.parse(n.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function ig(n){if(n.startsWith(`${np}:${ag}:{`))try{let r=JSON.parse(n.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new Kv(r.status,r.statusText,r.data)}catch{}}function ug(n,{relative:r}={}){Le(on(),"useHref() may be used only in the context of a <Router> component.");let{basename:s,navigator:c}=C.useContext(Nt),{hash:o,pathname:d,search:h}=pi(n,{relative:r}),y=d;return s!=="/"&&(y=d==="/"?s:Jt([s,d])),c.createHref({pathname:y,search:h,hash:o})}function on(){return C.useContext(mi)!=null}function Wt(){return Le(on(),"useLocation() may be used only in the context of a <Router> component."),C.useContext(mi).location}var ip="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function up(n){C.useContext(Nt).static||C.useLayoutEffect(n)}function Iu(){let{isDataRoute:n}=C.useContext($t);return n?xg():rg()}function rg(){Le(on(),"useNavigate() may be used only in the context of a <Router> component.");let n=C.useContext(sn),{basename:r,navigator:s}=C.useContext(Nt),{matches:c}=C.useContext($t),{pathname:o}=Wt(),d=JSON.stringify(Vs(c)),h=C.useRef(!1);return up(()=>{h.current=!0}),C.useCallback((g,v={})=>{if(Ft(h.current,ip),!h.current)return;if(typeof g=="number"){s.go(g);return}let S=Wu(g,JSON.parse(d),o,v.relative==="path");n==null&&r!=="/"&&(S.pathname=S.pathname==="/"?r:Jt([r,S.pathname])),(v.replace?s.replace:s.push)(S,v.state,v)},[r,s,d,o,n])}var cg=C.createContext(null);function sg(n){let r=C.useContext($t).outlet;return C.useMemo(()=>r&&C.createElement(cg.Provider,{value:n},r),[r,n])}function pi(n,{relative:r}={}){let{matches:s}=C.useContext($t),{pathname:c}=Wt(),o=JSON.stringify(Vs(s));return C.useMemo(()=>Wu(n,JSON.parse(o),c,r==="path"),[n,o,c,r])}function og(n,r){return rp(n,r)}function rp(n,r,s){var L;Le(on(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:c}=C.useContext(Nt),{matches:o}=C.useContext($t),d=o[o.length-1],h=d?d.params:{},y=d?d.pathname:"/",g=d?d.pathnameBase:"/",v=d&&d.route;{let O=v&&v.path||"";sp(y,!v||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=Wt(),b;if(r){let O=typeof r=="string"?cn(r):r;Le(g==="/"||((L=O.pathname)==null?void 0:L.startsWith(g)),`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 "${g}" but pathname "${O.pathname}" was given in the \`location\` prop.`),b=O}else b=S;let j=b.pathname||"/",B=j;if(g!=="/"){let O=g.replace(/^\//,"").split("/");B="/"+j.replace(/^\//,"").split("/").slice(O.length).join("/")}let V=s&&s.state.matches.length?s.state.matches.map(O=>Object.assign(O,{route:s.manifest[O.route.id]||O.route})):Km(n,{pathname:B});Ft(v||V!=null,`No routes matched location "${b.pathname}${b.search}${b.hash}" `),Ft(V==null||V[V.length-1].route.element!==void 0||V[V.length-1].route.Component!==void 0||V[V.length-1].route.lazy!==void 0,`Matched leaf route at location "${b.pathname}${b.search}${b.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 q=pg(V&&V.map(O=>Object.assign({},O,{params:Object.assign({},h,O.params),pathname:Jt([g,c.encodeLocation?c.encodeLocation(O.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?g:Jt([g,c.encodeLocation?c.encodeLocation(O.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathnameBase])})),o,s);return r&&q?C.createElement(mi.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...b},navigationType:"POP"}},q):q}function fg(){let n=Sg(),r=Jv(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),s=n instanceof Error?n.stack:null,c="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:c},d={padding:"2px 4px",backgroundColor:c},h=null;return console.error("Error handled by React Router default ErrorBoundary:",n),h=C.createElement(C.Fragment,null,C.createElement("p",null,"💿 Hey developer 👋"),C.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",C.createElement("code",{style:d},"ErrorBoundary")," or"," ",C.createElement("code",{style:d},"errorElement")," prop on your route.")),C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},r),s?C.createElement("pre",{style:o},s):null,h)}var dg=C.createElement(fg,null),cp=class extends C.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,r){return r.location!==n.location||r.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:r.error,location:r.location,revalidation:n.revalidation||r.revalidation}}componentDidCatch(n,r){this.props.onError?this.props.onError(n,r):console.error("React Router caught the following error during render",n)}render(){let n=this.state.error;if(this.context&&typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){const s=ig(n.digest);s&&(n=s)}let r=n!==void 0?C.createElement($t.Provider,{value:this.props.routeContext},C.createElement(Qs.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?C.createElement(hg,{error:n},r):r}};cp.contextType=lp;var Ts=new WeakMap;function hg({children:n,error:r}){let{basename:s}=C.useContext(Nt);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let c=ng(r.digest);if(c){let o=Ts.get(r);if(o)throw o;let d=ep(c.location,s),h=d.absoluteURL||d.to;if(Pv(h))throw new Error("Invalid redirect location");if(Im&&!Ts.get(r))if(d.isExternal||c.reloadDocument)window.location.href=h;else{const y=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(d.to,{replace:c.replace}));throw Ts.set(r,y),y}return C.createElement("meta",{httpEquiv:"refresh",content:`0;url=${h}`})}}return n}function mg({routeContext:n,match:r,children:s}){let c=C.useContext(sn);return c&&c.static&&c.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(c.staticContext._deepestRenderedBoundaryId=r.route.id),C.createElement($t.Provider,{value:n},s)}function pg(n,r=[],s){let c=s==null?void 0:s.state;if(n==null){if(!c)return null;if(c.errors)n=c.matches;else if(r.length===0&&!c.initialized&&c.matches.length>0)n=c.matches;else return null}let o=n,d=c==null?void 0:c.errors;if(d!=null){let S=o.findIndex(b=>b.route.id&&(d==null?void 0:d[b.route.id])!==void 0);Le(S>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(d).join(",")}`),o=o.slice(0,Math.min(o.length,S+1))}let h=!1,y=-1;if(s&&c){h=c.renderFallback;for(let S=0;S<o.length;S++){let b=o[S];if((b.route.HydrateFallback||b.route.hydrateFallbackElement)&&(y=S),b.route.id){let{loaderData:j,errors:B}=c,V=b.route.loader&&!j.hasOwnProperty(b.route.id)&&(!B||B[b.route.id]===void 0);if(b.route.lazy||V){s.isStatic&&(h=!0),y>=0?o=o.slice(0,y+1):o=[o[0]];break}}}}let g=s==null?void 0:s.onError,v=c&&g?(S,b)=>{var j,B;g(S,{location:c.location,params:((B=(j=c.matches)==null?void 0:j[0])==null?void 0:B.params)??{},pattern:Fv(c.matches),errorInfo:b})}:void 0;return o.reduceRight((S,b,j)=>{let B,V=!1,q=null,L=null;c&&(B=d&&b.route.id?d[b.route.id]:void 0,q=b.route.errorElement||dg,h&&(y<0&&j===0?(sp("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),V=!0,L=null):y===j&&(V=!0,L=b.route.hydrateFallbackElement||null)));let O=r.concat(o.slice(0,j+1)),U=()=>{let G;return B?G=q:V?G=L:b.route.Component?G=C.createElement(b.route.Component,null):b.route.element?G=b.route.element:G=S,C.createElement(mg,{match:b,routeContext:{outlet:S,matches:O,isDataRoute:c!=null},children:G})};return c&&(b.route.ErrorBoundary||b.route.errorElement||j===0)?C.createElement(cp,{location:c.location,revalidation:c.revalidation,component:q,error:B,children:U(),routeContext:{outlet:null,matches:O,isDataRoute:!0},onError:v}):U()},null)}function Zs(n){return`${n} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function yg(n){let r=C.useContext(sn);return Le(r,Zs(n)),r}function vg(n){let r=C.useContext(Pu);return Le(r,Zs(n)),r}function gg(n){let r=C.useContext($t);return Le(r,Zs(n)),r}function ks(n){let r=gg(n),s=r.matches[r.matches.length-1];return Le(s.route.id,`${n} can only be used on routes that contain a unique "id"`),s.route.id}function bg(){return ks("useRouteId")}function Sg(){var c;let n=C.useContext(Qs),r=vg("useRouteError"),s=ks("useRouteError");return n!==void 0?n:(c=r.errors)==null?void 0:c[s]}function xg(){let{router:n}=yg("useNavigate"),r=ks("useNavigate"),s=C.useRef(!1);return up(()=>{s.current=!0}),C.useCallback(async(o,d={})=>{Ft(s.current,ip),s.current&&(typeof o=="number"?await n.navigate(o):await n.navigate(o,{fromRouteId:r,...d}))},[n,r])}var bm={};function sp(n,r,s){!r&&!bm[n]&&(bm[n]=!0,Ft(!1,s))}C.memo(Eg);function Eg({routes:n,manifest:r,future:s,state:c,isStatic:o,onError:d}){return rp(n,void 0,{manifest:r,state:c,isStatic:o,onError:d})}function op({to:n,replace:r,state:s,relative:c}){Le(on(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=C.useContext(Nt);Ft(!o,"<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}=C.useContext($t),{pathname:h}=Wt(),y=Iu(),g=Wu(n,Vs(d),h,c==="path"),v=JSON.stringify(g);return C.useEffect(()=>{y(JSON.parse(v),{replace:r,state:s,relative:c})},[y,v,c,r,s]),null}function fp(n){return sg(n.context)}function al(n){Le(!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 Rg({basename:n="/",children:r=null,location:s,navigationType:c="POP",navigator:o,static:d=!1,useTransitions:h}){Le(!on(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let y=n.replace(/^\/*/,"/"),g=C.useMemo(()=>({basename:y,navigator:o,static:d,useTransitions:h,future:{}}),[y,o,d,h]);typeof s=="string"&&(s=cn(s));let{pathname:v="/",search:S="",hash:b="",state:j=null,key:B="default",mask:V}=s,q=C.useMemo(()=>{let L=El(v,y);return L==null?null:{location:{pathname:L,search:S,hash:b,state:j,key:B,mask:V},navigationType:c}},[y,v,S,b,j,B,c,V]);return Ft(q!=null,`<Router basename="${y}"> is not able to match the URL "${v}${S}${b}" because it does not start with the basename, so the <Router> won't render anything.`),q==null?null:C.createElement(Nt.Provider,{value:g},C.createElement(mi.Provider,{children:r,value:q}))}function Ag({children:n,location:r}){return og(Bs(n),r)}function Bs(n,r=[]){let s=[];return C.Children.forEach(n,(c,o)=>{if(!C.isValidElement(c))return;let d=[...r,o];if(c.type===C.Fragment){s.push.apply(s,Bs(c.props.children,d));return}Le(c.type===al,`[${typeof c.type=="string"?c.type:c.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Le(!c.props.index||!c.props.children,"An index route cannot have child routes.");let h={id:c.props.id||d.join("-"),caseSensitive:c.props.caseSensitive,element:c.props.element,Component:c.props.Component,index:c.props.index,path:c.props.path,middleware:c.props.middleware,loader:c.props.loader,action:c.props.action,hydrateFallbackElement:c.props.hydrateFallbackElement,HydrateFallback:c.props.HydrateFallback,errorElement:c.props.errorElement,ErrorBoundary:c.props.ErrorBoundary,hasErrorBoundary:c.props.hasErrorBoundary===!0||c.props.ErrorBoundary!=null||c.props.errorElement!=null,shouldRevalidate:c.props.shouldRevalidate,handle:c.props.handle,lazy:c.props.lazy};c.props.children&&(h.children=Bs(c.props.children,d)),s.push(h)}),s}var Yu="get",Xu="application/x-www-form-urlencoded";function er(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function Tg(n){return er(n)&&n.tagName.toLowerCase()==="button"}function _g(n){return er(n)&&n.tagName.toLowerCase()==="form"}function Og(n){return er(n)&&n.tagName.toLowerCase()==="input"}function Cg(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function zg(n,r){return n.button===0&&(!r||r==="_self")&&!Cg(n)}var Lu=null;function Ng(){if(Lu===null)try{new FormData(document.createElement("form"),0),Lu=!1}catch{Lu=!0}return Lu}var jg=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function _s(n){return n!=null&&!jg.has(n)?(Ft(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Xu}"`),null):n}function Dg(n,r){let s,c,o,d,h;if(_g(n)){let y=n.getAttribute("action");c=y?El(y,r):null,s=n.getAttribute("method")||Yu,o=_s(n.getAttribute("enctype"))||Xu,d=new FormData(n)}else if(Tg(n)||Og(n)&&(n.type==="submit"||n.type==="image")){let y=n.form;if(y==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let g=n.getAttribute("formaction")||y.getAttribute("action");if(c=g?El(g,r):null,s=n.getAttribute("formmethod")||y.getAttribute("method")||Yu,o=_s(n.getAttribute("formenctype"))||_s(y.getAttribute("enctype"))||Xu,d=new FormData(y,n),!Ng()){let{name:v,type:S,value:b}=n;if(S==="image"){let j=v?`${v}.`:"";d.append(`${j}x`,"0"),d.append(`${j}y`,"0")}else v&&d.append(v,b)}}else{if(er(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');s=Yu,c=null,o=Xu,h=n}return d&&o==="text/plain"&&(h=d,d=void 0),{action:c,method:s.toLowerCase(),encType:o,formData:d,body:h}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Ks(n,r){if(n===!1||n===null||typeof n>"u")throw new Error(r)}function dp(n,r,s,c){let o=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return s?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${c}`:o.pathname=`${o.pathname}.${c}`:o.pathname==="/"?o.pathname=`_root.${c}`:r&&El(o.pathname,r)==="/"?o.pathname=`${ku(r)}/_root.${c}`:o.pathname=`${ku(o.pathname)}.${c}`,o}async function Mg(n,r){if(n.id in r)return r[n.id];try{let s=await import(n.module);return r[n.id]=s,s}catch(s){return console.error(`Error loading route module \`${n.module}\`, reloading page...`),console.error(s),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Ug(n){return n==null?!1:n.href==null?n.rel==="preload"&&typeof n.imageSrcSet=="string"&&typeof n.imageSizes=="string":typeof n.rel=="string"&&typeof n.href=="string"}async function wg(n,r,s){let c=await Promise.all(n.map(async o=>{let d=r.routes[o.route.id];if(d){let h=await Mg(d,s);return h.links?h.links():[]}return[]}));return qg(c.flat(1).filter(Ug).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function Sm(n,r,s,c,o,d){let h=(g,v)=>s[v]?g.route.id!==s[v].route.id:!0,y=(g,v)=>{var S;return s[v].pathname!==g.pathname||((S=s[v].route.path)==null?void 0:S.endsWith("*"))&&s[v].params["*"]!==g.params["*"]};return d==="assets"?r.filter((g,v)=>h(g,v)||y(g,v)):d==="data"?r.filter((g,v)=>{var b;let S=c.routes[g.route.id];if(!S||!S.hasLoader)return!1;if(h(g,v)||y(g,v))return!0;if(g.route.shouldRevalidate){let j=g.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((b=s[0])==null?void 0:b.params)||{},nextUrl:new URL(n,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof j=="boolean")return j}return!0}):[]}function Bg(n,r,{includeHydrateFallback:s}={}){return Lg(n.map(c=>{let o=r.routes[c.route.id];if(!o)return[];let d=[o.module];return o.clientActionModule&&(d=d.concat(o.clientActionModule)),o.clientLoaderModule&&(d=d.concat(o.clientLoaderModule)),s&&o.hydrateFallbackModule&&(d=d.concat(o.hydrateFallbackModule)),o.imports&&(d=d.concat(o.imports)),d}).flat(1))}function Lg(n){return[...new Set(n)]}function Hg(n){let r={},s=Object.keys(n).sort();for(let c of s)r[c]=n[c];return r}function qg(n,r){let s=new Set;return new Set(r),n.reduce((c,o)=>{let d=JSON.stringify(Hg(o));return s.has(d)||(s.add(d),c.push({key:d,link:o})),c},[])}function Js(){let n=C.useContext(sn);return Ks(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function Yg(){let n=C.useContext(Pu);return Ks(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var Fs=C.createContext(void 0);Fs.displayName="FrameworkContext";function tr(){let n=C.useContext(Fs);return Ks(n,"You must render this element inside a <HydratedRouter> element"),n}function Xg(n,r){let s=C.useContext(Fs),[c,o]=C.useState(!1),[d,h]=C.useState(!1),{onFocus:y,onBlur:g,onMouseEnter:v,onMouseLeave:S,onTouchStart:b}=r,j=C.useRef(null);C.useEffect(()=>{if(n==="render"&&h(!0),n==="viewport"){let q=O=>{O.forEach(U=>{h(U.isIntersecting)})},L=new IntersectionObserver(q,{threshold:.5});return j.current&&L.observe(j.current),()=>{L.disconnect()}}},[n]),C.useEffect(()=>{if(c){let q=setTimeout(()=>{h(!0)},100);return()=>{clearTimeout(q)}}},[c]);let B=()=>{o(!0)},V=()=>{o(!1),h(!1)};return s?n!=="intent"?[d,j,{}]:[d,j,{onFocus:si(y,B),onBlur:si(g,V),onMouseEnter:si(v,B),onMouseLeave:si(S,V),onTouchStart:si(b,B)}]:[!1,j,{}]}function si(n,r){return s=>{n&&n(s),s.defaultPrevented||r(s)}}function Gg({page:n,...r}){let s=Iv(),{nonce:c}=tr(),{router:o}=Js(),d=C.useMemo(()=>Km(o.routes,n,o.basename),[o.routes,n,o.basename]);return d?(r.nonce==null&&c&&(r={...r,nonce:c}),s?C.createElement(Qg,{page:n,matches:d,...r}):C.createElement(Zg,{page:n,matches:d,...r})):null}function Vg(n){let{manifest:r,routeModules:s}=tr(),[c,o]=C.useState([]);return C.useEffect(()=>{let d=!1;return wg(n,r,s).then(h=>{d||o(h)}),()=>{d=!0}},[n,r,s]),c}function Qg({page:n,matches:r,...s}){let c=Wt(),{future:o}=tr(),{basename:d}=Js(),h=C.useMemo(()=>{if(n===c.pathname+c.search+c.hash)return[];let y=dp(n,d,o.v8_trailingSlashAwareDataRequests,"rsc"),g=!1,v=[];for(let S of r)typeof S.route.shouldRevalidate=="function"?g=!0:v.push(S.route.id);return g&&v.length>0&&y.searchParams.set("_routes",v.join(",")),[y.pathname+y.search]},[d,o.v8_trailingSlashAwareDataRequests,n,c,r]);return C.createElement(C.Fragment,null,h.map(y=>C.createElement("link",{key:y,rel:"prefetch",as:"fetch",href:y,...s})))}function Zg({page:n,matches:r,...s}){let c=Wt(),{future:o,manifest:d,routeModules:h}=tr(),{basename:y}=Js(),{loaderData:g,matches:v}=Yg(),S=C.useMemo(()=>Sm(n,r,v,d,c,"data"),[n,r,v,d,c]),b=C.useMemo(()=>Sm(n,r,v,d,c,"assets"),[n,r,v,d,c]),j=C.useMemo(()=>{if(n===c.pathname+c.search+c.hash)return[];let q=new Set,L=!1;if(r.forEach(U=>{var W;let G=d.routes[U.route.id];!G||!G.hasLoader||(!S.some(k=>k.route.id===U.route.id)&&U.route.id in g&&((W=h[U.route.id])!=null&&W.shouldRevalidate)||G.hasClientLoader?L=!0:q.add(U.route.id))}),q.size===0)return[];let O=dp(n,y,o.v8_trailingSlashAwareDataRequests,"data");return L&&q.size>0&&O.searchParams.set("_routes",r.filter(U=>q.has(U.route.id)).map(U=>U.route.id).join(",")),[O.pathname+O.search]},[y,o.v8_trailingSlashAwareDataRequests,g,c,d,S,r,n,h]),B=C.useMemo(()=>Bg(b,d),[b,d]),V=Vg(b);return C.createElement(C.Fragment,null,j.map(q=>C.createElement("link",{key:q,rel:"prefetch",as:"fetch",href:q,...s})),B.map(q=>C.createElement("link",{key:q,rel:"modulepreload",href:q,...s})),V.map(({key:q,link:L})=>C.createElement("link",{key:q,nonce:s.nonce,...L,crossOrigin:L.crossOrigin??s.crossOrigin})))}function kg(...n){return r=>{n.forEach(s=>{typeof s=="function"?s(r):s!=null&&(s.current=r)})}}var Kg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Kg&&(window.__reactRouterVersion="7.18.0")}catch{}function Jg({basename:n,children:r,useTransitions:s,window:c}){let o=C.useRef();o.current==null&&(o.current=Tv({window:c,v5Compat:!0}));let d=o.current,[h,y]=C.useState({action:d.action,location:d.location}),g=C.useCallback(v=>{s===!1?y(v):C.startTransition(()=>y(v))},[s]);return C.useLayoutEffect(()=>d.listen(g),[d,g]),C.createElement(Rg,{basename:n,children:r,location:h.location,navigationType:h.action,navigator:d,useTransitions:s})}var hp=C.forwardRef(function({onClick:r,discover:s="render",prefetch:c="none",relative:o,reloadDocument:d,replace:h,mask:y,state:g,target:v,to:S,preventScrollReset:b,viewTransition:j,defaultShouldRevalidate:B,...V},q){let{basename:L,navigator:O,useTransitions:U}=C.useContext(Nt),G=typeof S=="string"&&Gs.test(S),W=ep(S,L);S=W.to;let k=ug(S,{relative:o}),F=Wt(),te=null;if(y){let Ee=Wu(y,[],F.mask?F.mask.pathname:"/",!0);L!=="/"&&(Ee.pathname=Ee.pathname==="/"?L:Jt([L,Ee.pathname])),te=O.createHref(Ee)}let[Se,ze,Ue]=Xg(c,V),ve=Pg(S,{replace:h,mask:y,state:g,target:v,preventScrollReset:b,relative:o,viewTransition:j,defaultShouldRevalidate:B,useTransitions:U});function Te(Ee){r&&r(Ee),Ee.defaultPrevented||ve(Ee)}let Pe=!(W.isExternal||d),Ne=C.createElement("a",{...V,...Ue,href:(Pe?te:void 0)||W.absoluteURL||k,onClick:Pe?Te:r,ref:kg(q,ze),target:v,"data-discover":!G&&s==="render"?"true":void 0});return Se&&!G?C.createElement(C.Fragment,null,Ne,C.createElement(Gg,{page:k})):Ne});hp.displayName="Link";var Fg=C.forwardRef(function({"aria-current":r="page",caseSensitive:s=!1,className:c="",end:o=!1,style:d,to:h,viewTransition:y,children:g,...v},S){let b=pi(h,{relative:v.relative}),j=Wt(),B=C.useContext(Pu),{navigator:V,basename:q}=C.useContext(Nt),L=B!=null&&a1(b)&&y===!0,O=V.encodeLocation?V.encodeLocation(b).pathname:b.pathname,U=j.pathname,G=B&&B.navigation&&B.navigation.location?B.navigation.location.pathname:null;s||(U=U.toLowerCase(),G=G?G.toLowerCase():null,O=O.toLowerCase()),G&&q&&(G=El(G,q)||G);const W=O!=="/"&&O.endsWith("/")?O.length-1:O.length;let k=U===O||!o&&U.startsWith(O)&&U.charAt(W)==="/",F=G!=null&&(G===O||!o&&G.startsWith(O)&&G.charAt(O.length)==="/"),te={isActive:k,isPending:F,isTransitioning:L},Se=k?r:void 0,ze;typeof c=="function"?ze=c(te):ze=[c,k?"active":null,F?"pending":null,L?"transitioning":null].filter(Boolean).join(" ");let Ue=typeof d=="function"?d(te):d;return C.createElement(hp,{...v,"aria-current":Se,className:ze,ref:S,style:Ue,to:h,viewTransition:y},typeof g=="function"?g(te):g)});Fg.displayName="NavLink";var $g=C.forwardRef(({discover:n="render",fetcherKey:r,navigate:s,reloadDocument:c,replace:o,state:d,method:h=Yu,action:y,onSubmit:g,relative:v,preventScrollReset:S,viewTransition:b,defaultShouldRevalidate:j,...B},V)=>{let{useTransitions:q}=C.useContext(Nt),L=t1(),O=l1(y,{relative:v}),U=h.toLowerCase()==="get"?"get":"post",G=typeof y=="string"&&Gs.test(y),W=k=>{if(g&&g(k),k.defaultPrevented)return;k.preventDefault();let F=k.nativeEvent.submitter,te=(F==null?void 0:F.getAttribute("formmethod"))||h,Se=()=>L(F||k.currentTarget,{fetcherKey:r,method:te,navigate:s,replace:o,state:d,relative:v,preventScrollReset:S,viewTransition:b,defaultShouldRevalidate:j});q&&s!==!1?C.startTransition(()=>Se()):Se()};return C.createElement("form",{ref:V,method:U,action:O,onSubmit:c?g:W,...B,"data-discover":!G&&n==="render"?"true":void 0})});$g.displayName="Form";function Wg(n){return`${n} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function mp(n){let r=C.useContext(sn);return Le(r,Wg(n)),r}function Pg(n,{target:r,replace:s,mask:c,state:o,preventScrollReset:d,relative:h,viewTransition:y,defaultShouldRevalidate:g,useTransitions:v}={}){let S=Iu(),b=Wt(),j=pi(n,{relative:h});return C.useCallback(B=>{if(zg(B,r)){B.preventDefault();let V=s!==void 0?s:di(b)===di(j),q=()=>S(n,{replace:V,mask:c,state:o,preventScrollReset:d,relative:h,viewTransition:y,defaultShouldRevalidate:g});v?C.startTransition(()=>q()):q()}},[b,S,j,s,c,o,r,n,d,h,y,g,v])}var Ig=0,e1=()=>`__${String(++Ig)}__`;function t1(){let{router:n}=mp("useSubmit"),{basename:r}=C.useContext(Nt),s=bg(),c=n.fetch,o=n.navigate;return C.useCallback(async(d,h={})=>{let{action:y,method:g,encType:v,formData:S,body:b}=Dg(d,r);if(h.navigate===!1){let j=h.fetcherKey||e1();await c(j,s,h.action||y,{defaultShouldRevalidate:h.defaultShouldRevalidate,preventScrollReset:h.preventScrollReset,formData:S,body:b,formMethod:h.method||g,formEncType:h.encType||v,flushSync:h.flushSync})}else await o(h.action||y,{defaultShouldRevalidate:h.defaultShouldRevalidate,preventScrollReset:h.preventScrollReset,formData:S,body:b,formMethod:h.method||g,formEncType:h.encType||v,replace:h.replace,state:h.state,fromRouteId:s,flushSync:h.flushSync,viewTransition:h.viewTransition})},[c,o,r,s])}function l1(n,{relative:r}={}){let{basename:s}=C.useContext(Nt),c=C.useContext($t);Le(c,"useFormAction must be used inside a RouteContext");let[o]=c.matches.slice(-1),d={...pi(n||".",{relative:r})},h=Wt();if(n==null){d.search=h.search;let y=new URLSearchParams(d.search),g=y.getAll("index");if(g.some(S=>S==="")){y.delete("index"),g.filter(b=>b).forEach(b=>y.append("index",b));let S=y.toString();d.search=S?`?${S}`:""}}return(!n||n===".")&&o.route.index&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),s!=="/"&&(d.pathname=d.pathname==="/"?s:Jt([s,d.pathname])),di(d)}function a1(n,{relative:r}={}){let s=C.useContext(ap);Le(s!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:c}=mp("useViewTransitionState"),o=pi(n,{relative:r});if(!s.isTransitioning)return!1;let d=El(s.currentLocation.pathname,c)||s.currentLocation.pathname,h=El(s.nextLocation.pathname,c)||s.nextLocation.pathname;return Zu(o.pathname,h)!=null||Zu(o.pathname,d)!=null}function pp(n,r){return function(){return n.apply(r,arguments)}}const{toString:n1}=Object.prototype,{getPrototypeOf:un}=Object,{iterator:yi,toStringTag:yp}=Symbol,Ku=(({hasOwnProperty:n})=>(r,s)=>n.call(r,s))(Object.prototype),hi=(n,r)=>{let s=n;const c=[];for(;s!=null&&s!==Object.prototype;){if(c.indexOf(s)!==-1)return!1;if(c.push(s),Ku(s,r))return!0;s=un(s)}return!1},i1=(n,r)=>n!=null&&hi(n,r)?n[r]:void 0,$s=(n=>r=>{const s=n1.call(r);return n[s]||(n[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),Pt=n=>(n=n.toLowerCase(),r=>$s(r)===n),lr=n=>r=>typeof r===n,{isArray:va}=Array,rn=lr("undefined");function fn(n){return n!==null&&!rn(n)&&n.constructor!==null&&!rn(n.constructor)&&vt(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const vp=Pt("ArrayBuffer");function u1(n){let r;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?r=ArrayBuffer.isView(n):r=n&&n.buffer&&vp(n.buffer),r}const r1=lr("string"),vt=lr("function"),gp=lr("number"),dn=n=>n!==null&&typeof n=="object",c1=n=>n===!0||n===!1,Gu=n=>{if(!dn(n))return!1;const r=un(n);return(r===null||r===Object.prototype||un(r)===null)&&!hi(n,yp)&&!hi(n,yi)},s1=n=>{if(!dn(n)||fn(n))return!1;try{return Object.keys(n).length===0&&Object.getPrototypeOf(n)===Object.prototype}catch{return!1}},o1=Pt("Date"),f1=Pt("File"),d1=n=>!!(n&&typeof n.uri<"u"),h1=n=>n&&typeof n.getParts<"u",m1=Pt("Blob"),p1=Pt("FileList"),y1=n=>dn(n)&&vt(n.pipe);function v1(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const xm=v1(),Em=typeof xm.FormData<"u"?xm.FormData:void 0,g1=n=>{if(!n)return!1;if(Em&&n instanceof Em)return!0;const r=un(n);if(!r||r===Object.prototype||!vt(n.append))return!1;const s=$s(n);return s==="formdata"||s==="object"&&vt(n.toString)&&n.toString()==="[object FormData]"},b1=Pt("URLSearchParams"),[S1,x1,E1,R1]=["ReadableStream","Request","Response","Headers"].map(Pt),A1=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function vi(n,r,{allOwnKeys:s=!1}={}){if(n===null||typeof n>"u")return;let c,o;if(typeof n!="object"&&(n=[n]),va(n))for(c=0,o=n.length;c<o;c++)r.call(null,n[c],c,n);else{if(fn(n))return;const d=s?Object.getOwnPropertyNames(n):Object.keys(n),h=d.length;let y;for(c=0;c<h;c++)y=d[c],r.call(null,n[y],y,n)}}function bp(n,r){if(fn(n))return null;r=r.toLowerCase();const s=Object.keys(n);let c=s.length,o;for(;c-- >0;)if(o=s[c],r===o.toLowerCase())return o;return null}const pa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Sp=n=>!rn(n)&&n!==pa;function Ls(...n){const{caseless:r,skipUndefined:s}=Sp(this)&&this||{},c={},o=(d,h)=>{if(h==="__proto__"||h==="constructor"||h==="prototype")return;const y=r&&typeof h=="string"&&bp(c,h)||h,g=Ku(c,y)?c[y]:void 0;Gu(g)&&Gu(d)?c[y]=Ls(g,d):Gu(d)?c[y]=Ls({},d):va(d)?c[y]=d.slice():(!s||!rn(d))&&(c[y]=d)};for(let d=0,h=n.length;d<h;d++){const y=n[d];if(!y||fn(y)||(vi(y,o),typeof y!="object"||va(y)))continue;const g=Object.getOwnPropertySymbols(y);for(let v=0;v<g.length;v++){const S=g[v];B1.call(y,S)&&o(y[S],S)}}return c}const T1=(n,r,s,{allOwnKeys:c}={})=>(vi(r,(o,d)=>{s&&vt(o)?Object.defineProperty(n,d,{__proto__:null,value:pp(o,s),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(n,d,{__proto__:null,value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:c}),n),_1=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),O1=(n,r,s,c)=>{n.prototype=Object.create(r.prototype,c),Object.defineProperty(n.prototype,"constructor",{__proto__:null,value:n,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(n,"super",{__proto__:null,value:r.prototype}),s&&Object.assign(n.prototype,s)},C1=(n,r,s,c)=>{let o,d,h;const y={};if(r=r||{},n==null)return r;do{for(o=Object.getOwnPropertyNames(n),d=o.length;d-- >0;)h=o[d],(!c||c(h,n,r))&&!y[h]&&(r[h]=n[h],y[h]=!0);n=s!==!1&&un(n)}while(n&&(!s||s(n,r))&&n!==Object.prototype);return r},z1=(n,r,s)=>{n=String(n),(s===void 0||s>n.length)&&(s=n.length),s-=r.length;const c=n.indexOf(r,s);return c!==-1&&c===s},N1=n=>{if(!n)return null;if(va(n))return n;let r=n.length;if(!gp(r))return null;const s=new Array(r);for(;r-- >0;)s[r]=n[r];return s},j1=(n=>r=>n&&r instanceof n)(typeof Uint8Array<"u"&&un(Uint8Array)),D1=(n,r)=>{const c=(n&&n[yi]).call(n);let o;for(;(o=c.next())&&!o.done;){const d=o.value;r.call(n,d[0],d[1])}},M1=(n,r)=>{let s;const c=[];for(;(s=n.exec(r))!==null;)c.push(s);return c},U1=Pt("HTMLFormElement"),w1=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(s,c,o){return c.toUpperCase()+o}),{propertyIsEnumerable:B1}=Object.prototype,L1=Pt("RegExp"),xp=(n,r)=>{const s=Object.getOwnPropertyDescriptors(n),c={};vi(s,(o,d)=>{let h;(h=r(o,d,n))!==!1&&(c[d]=h||o)}),Object.defineProperties(n,c)},H1=n=>{xp(n,(r,s)=>{if(vt(n)&&["arguments","caller","callee"].includes(s))return!1;const c=n[s];if(vt(c)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},q1=(n,r)=>{const s={},c=o=>{o.forEach(d=>{s[d]=!0})};return va(n)?c(n):c(String(n).split(r)),s},Y1=()=>{},X1=(n,r)=>n!=null&&Number.isFinite(n=+n)?n:r;function G1(n){return!!(n&&vt(n.append)&&n[yp]==="FormData"&&n[yi])}const V1=n=>{const r=new WeakSet,s=c=>{if(dn(c)){if(r.has(c))return;if(fn(c))return c;if(!("toJSON"in c)){r.add(c);const o=va(c)?[]:{};return vi(c,(d,h)=>{const y=s(d);!rn(y)&&(o[h]=y)}),r.delete(c),o}}return c};return s(n)},Q1=Pt("AsyncFunction"),Z1=n=>n&&(dn(n)||vt(n))&&vt(n.then)&&vt(n.catch),Ep=((n,r)=>n?setImmediate:r?((s,c)=>(pa.addEventListener("message",({source:o,data:d})=>{o===pa&&d===s&&c.length&&c.shift()()},!1),o=>{c.push(o),pa.postMessage(s,"*")}))(`axios@${Math.random()}`,[]):s=>setTimeout(s))(typeof setImmediate=="function",vt(pa.postMessage)),k1=typeof queueMicrotask<"u"?queueMicrotask.bind(pa):typeof process<"u"&&process.nextTick||Ep,Rp=n=>n!=null&&vt(n[yi]),K1=n=>n!=null&&hi(n,yi)&&Rp(n),T={isArray:va,isArrayBuffer:vp,isBuffer:fn,isFormData:g1,isArrayBufferView:u1,isString:r1,isNumber:gp,isBoolean:c1,isObject:dn,isPlainObject:Gu,isEmptyObject:s1,isReadableStream:S1,isRequest:x1,isResponse:E1,isHeaders:R1,isUndefined:rn,isDate:o1,isFile:f1,isReactNativeBlob:d1,isReactNative:h1,isBlob:m1,isRegExp:L1,isFunction:vt,isStream:y1,isURLSearchParams:b1,isTypedArray:j1,isFileList:p1,forEach:vi,merge:Ls,extend:T1,trim:A1,stripBOM:_1,inherits:O1,toFlatObject:C1,kindOf:$s,kindOfTest:Pt,endsWith:z1,toArray:N1,forEachEntry:D1,matchAll:M1,isHTMLForm:U1,hasOwnProperty:Ku,hasOwnProp:Ku,hasOwnInPrototypeChain:hi,getSafeProp:i1,reduceDescriptors:xp,freezeMethods:H1,toObjectSet:q1,toCamelCase:w1,noop:Y1,toFiniteNumber:X1,findKey:bp,global:pa,isContextDefined:Sp,isSpecCompliantForm:G1,toJSONObject:V1,isAsyncFn:Q1,isThenable:Z1,setImmediate:Ep,asap:k1,isIterable:Rp,isSafeIterable:K1},J1=T.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"]),F1=n=>{const r={};let s,c,o;return n&&n.split(`
`).forEach(function(h){o=h.indexOf(":"),s=h.substring(0,o).trim().toLowerCase(),c=h.substring(o+1).trim(),!(!s||r[s]&&J1[s])&&(s==="set-cookie"?r[s]?r[s].push(c):r[s]=[c]:r[s]=r[s]?r[s]+", "+c:c)}),r};function $1(n){let r=0,s=n.length;for(;r<s;){const c=n.charCodeAt(r);if(c!==9&&c!==32)break;r+=1}for(;s>r;){const c=n.charCodeAt(s-1);if(c!==9&&c!==32)break;s-=1}return r===0&&s===n.length?n:n.slice(r,s)}const W1=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),P1=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Ws(n,r){return T.isArray(n)?n.map(s=>Ws(s,r)):$1(String(n).replace(r,""))}const I1=n=>Ws(n,W1),eb=n=>Ws(n,P1);function Ap(n){const r=Object.create(null);return T.forEach(n.toJSON(),(s,c)=>{r[c]=eb(s)}),r}const Rm=Symbol("internals");function oi(n){return n&&String(n).trim().toLowerCase()}function Vu(n){return n===!1||n==null?n:T.isArray(n)?n.map(Vu):I1(String(n))}function tb(n){const r=Object.create(null),s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let c;for(;c=s.exec(n);)r[c[1]]=c[2];return r}const lb=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function Os(n,r,s,c,o){if(T.isFunction(c))return c.call(this,r,s);if(o&&(r=s),!!T.isString(r)){if(T.isString(c))return r.indexOf(c)!==-1;if(T.isRegExp(c))return c.test(r)}}function ab(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(r,s,c)=>s.toUpperCase()+c)}function nb(n,r){const s=T.toCamelCase(" "+r);["get","set","has"].forEach(c=>{Object.defineProperty(n,c+s,{__proto__:null,value:function(o,d,h){return this[c].call(this,r,o,d,h)},configurable:!0})})}let rt=class{constructor(r){r&&this.set(r)}set(r,s,c){const o=this;function d(y,g,v){const S=oi(g);if(!S)return;const b=T.findKey(o,S);(!b||o[b]===void 0||v===!0||v===void 0&&o[b]!==!1)&&(o[b||g]=Vu(y))}const h=(y,g)=>T.forEach(y,(v,S)=>d(v,S,g));if(T.isPlainObject(r)||r instanceof this.constructor)h(r,s);else if(T.isString(r)&&(r=r.trim())&&!lb(r))h(F1(r),s);else if(T.isObject(r)&&T.isSafeIterable(r)){let y=Object.create(null),g,v;for(const S of r){if(!T.isArray(S))throw new TypeError("Object iterator must return a key-value pair");v=S[0],T.hasOwnProp(y,v)?(g=y[v],y[v]=T.isArray(g)?[...g,S[1]]:[g,S[1]]):y[v]=S[1]}h(y,s)}else r!=null&&d(s,r,c);return this}get(r,s){if(r=oi(r),r){const c=T.findKey(this,r);if(c){const o=this[c];if(!s)return o;if(s===!0)return tb(o);if(T.isFunction(s))return s.call(this,o,c);if(T.isRegExp(s))return s.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(r,s){if(r=oi(r),r){const c=T.findKey(this,r);return!!(c&&this[c]!==void 0&&(!s||Os(this,this[c],c,s)))}return!1}delete(r,s){const c=this;let o=!1;function d(h){if(h=oi(h),h){const y=T.findKey(c,h);y&&(!s||Os(c,c[y],y,s))&&(delete c[y],o=!0)}}return T.isArray(r)?r.forEach(d):d(r),o}clear(r){const s=Object.keys(this);let c=s.length,o=!1;for(;c--;){const d=s[c];(!r||Os(this,this[d],d,r,!0))&&(delete this[d],o=!0)}return o}normalize(r){const s=this,c={};return T.forEach(this,(o,d)=>{const h=T.findKey(c,d);if(h){s[h]=Vu(o),delete s[d];return}const y=r?ab(d):String(d).trim();y!==d&&delete s[d],s[y]=Vu(o),c[y]=!0}),this}concat(...r){return this.constructor.concat(this,...r)}toJSON(r){const s=Object.create(null);return T.forEach(this,(c,o)=>{c!=null&&c!==!1&&(s[o]=r&&T.isArray(c)?c.join(", "):c)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([r,s])=>r+": "+s).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(r){return r instanceof this?r:new this(r)}static concat(r,...s){const c=new this(r);return s.forEach(o=>c.set(o)),c}static accessor(r){const c=(this[Rm]=this[Rm]={accessors:{}}).accessors,o=this.prototype;function d(h){const y=oi(h);c[y]||(nb(o,h),c[y]=!0)}return T.isArray(r)?r.forEach(d):d(r),this}};rt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);T.reduceDescriptors(rt.prototype,({value:n},r)=>{let s=r[0].toUpperCase()+r.slice(1);return{get:()=>n,set(c){this[s]=c}}});T.freezeMethods(rt);const ib="[REDACTED ****]";function ub(n){if(T.hasOwnProp(n,"toJSON"))return!0;let r=Object.getPrototypeOf(n);for(;r&&r!==Object.prototype;){if(T.hasOwnProp(r,"toJSON"))return!0;r=Object.getPrototypeOf(r)}return!1}function rb(n,r){const s=new Set(r.map(d=>String(d).toLowerCase())),c=[],o=d=>{if(d===null||typeof d!="object"||T.isBuffer(d))return d;if(c.indexOf(d)!==-1)return;d instanceof rt&&(d=d.toJSON()),c.push(d);let h;if(T.isArray(d))h=[],d.forEach((y,g)=>{const v=o(y);T.isUndefined(v)||(h[g]=v)});else{if(!T.isPlainObject(d)&&ub(d))return c.pop(),d;h=Object.create(null);for(const[y,g]of Object.entries(d)){const v=s.has(y.toLowerCase())?ib:o(g);T.isUndefined(v)||(h[y]=v)}}return c.pop(),h};return o(n)}let K=class Tp extends Error{static from(r,s,c,o,d,h){const y=new Tp(r.message,s||r.code,c,o,d);return y.cause=r,y.name=r.name,r.status!=null&&y.status==null&&(y.status=r.status),h&&Object.assign(y,h),y}constructor(r,s,c,o,d){super(r),Object.defineProperty(this,"message",{__proto__:null,value:r,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,s&&(this.code=s),c&&(this.config=c),o&&(this.request=o),d&&(this.response=d,this.status=d.status)}toJSON(){const r=this.config,s=r&&T.hasOwnProp(r,"redact")?r.redact:void 0,c=T.isArray(s)&&s.length>0?rb(r,s):T.toJSONObject(r);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:c,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 cb=null,_p=100;function Hs(n){return T.isPlainObject(n)||T.isArray(n)}function Op(n){return T.endsWith(n,"[]")?n.slice(0,-2):n}function Cs(n,r,s){return n?n.concat(r).map(function(o,d){return o=Op(o),!s&&d?"["+o+"]":o}).join(s?".":""):r}function sb(n){return T.isArray(n)&&!n.some(Hs)}const ob=T.toFlatObject(T,{},null,function(r){return/^is[A-Z]/.test(r)});function ar(n,r,s){if(!T.isObject(n))throw new TypeError("target must be an object");r=r||new FormData,s=T.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(U,G){return!T.isUndefined(G[U])});const c=s.metaTokens,o=s.visitor||V,d=s.dots,h=s.indexes,y=s.Blob||typeof Blob<"u"&&Blob,g=s.maxDepth===void 0?_p:s.maxDepth,v=y&&T.isSpecCompliantForm(r),S=[];if(!T.isFunction(o))throw new TypeError("visitor must be a function");function b(O){if(O===null)return"";if(T.isDate(O))return O.toISOString();if(T.isBoolean(O))return O.toString();if(!v&&T.isBlob(O))throw new K("Blob is not supported. Use a Buffer instead.");return T.isArrayBuffer(O)||T.isTypedArray(O)?v&&typeof Blob=="function"?new Blob([O]):Buffer.from(O):O}function j(O){if(O>g)throw new K("Object is too deeply nested ("+O+" levels). Max depth: "+g,K.ERR_FORM_DATA_DEPTH_EXCEEDED)}function B(O,U){if(g===1/0)return JSON.stringify(O);const G=[];return JSON.stringify(O,function(k,F){if(!T.isObject(F))return F;for(;G.length&&G[G.length-1]!==this;)G.pop();return G.push(F),j(U+G.length-1),F})}function V(O,U,G){let W=O;if(T.isReactNative(r)&&T.isReactNativeBlob(O))return r.append(Cs(G,U,d),b(O)),!1;if(O&&!G&&typeof O=="object"){if(T.endsWith(U,"{}"))U=c?U:U.slice(0,-2),O=B(O,1);else if(T.isArray(O)&&sb(O)||(T.isFileList(O)||T.endsWith(U,"[]"))&&(W=T.toArray(O)))return U=Op(U),W.forEach(function(F,te){!(T.isUndefined(F)||F===null)&&r.append(h===!0?Cs([U],te,d):h===null?U:U+"[]",b(F))}),!1}return Hs(O)?!0:(r.append(Cs(G,U,d),b(O)),!1)}const q=Object.assign(ob,{defaultVisitor:V,convertValue:b,isVisitable:Hs});function L(O,U,G=0){if(!T.isUndefined(O)){if(j(G),S.indexOf(O)!==-1)throw new Error("Circular reference detected in "+U.join("."));S.push(O),T.forEach(O,function(k,F){(!(T.isUndefined(k)||k===null)&&o.call(r,k,T.isString(F)?F.trim():F,U,q))===!0&&L(k,U?U.concat(F):[F],G+1)}),S.pop()}}if(!T.isObject(n))throw new TypeError("data must be an object");return L(n),r}function Am(n){const r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(n).replace(/[!'()~]|%20/g,function(c){return r[c]})}function Ps(n,r){this._pairs=[],n&&ar(n,this,r)}const Cp=Ps.prototype;Cp.append=function(r,s){this._pairs.push([r,s])};Cp.toString=function(r){const s=r?function(c){return r.call(this,c,Am)}:Am;return this._pairs.map(function(o){return s(o[0])+"="+s(o[1])},"").join("&")};function fb(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function zp(n,r,s){if(!r)return n;const c=T.isFunction(s)?{serialize:s}:s,o=T.getSafeProp(c,"encode")||fb,d=T.getSafeProp(c,"serialize");let h;if(d?h=d(r,c):h=T.isURLSearchParams(r)?r.toString():new Ps(r,c).toString(o),h){const y=n.indexOf("#");y!==-1&&(n=n.slice(0,y)),n+=(n.indexOf("?")===-1?"?":"&")+h}return n}class Tm{constructor(){this.handlers=[]}use(r,s,c){return this.handlers.push({fulfilled:r,rejected:s,synchronous:c?c.synchronous:!1,runWhen:c?c.runWhen:null}),this.handlers.length-1}eject(r){this.handlers[r]&&(this.handlers[r]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(r){T.forEach(this.handlers,function(c){c!==null&&r(c)})}}const Is={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},db=typeof URLSearchParams<"u"?URLSearchParams:Ps,hb=typeof FormData<"u"?FormData:null,mb=typeof Blob<"u"?Blob:null,pb={isBrowser:!0,classes:{URLSearchParams:db,FormData:hb,Blob:mb},protocols:["http","https","file","blob","url","data"]},eo=typeof window<"u"&&typeof document<"u",qs=typeof navigator=="object"&&navigator||void 0,yb=eo&&(!qs||["ReactNative","NativeScript","NS"].indexOf(qs.product)<0),vb=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",gb=eo&&window.location.href||"http://localhost",bb=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:eo,hasStandardBrowserEnv:yb,hasStandardBrowserWebWorkerEnv:vb,navigator:qs,origin:gb},Symbol.toStringTag,{value:"Module"})),nt={...bb,...pb};function Sb(n,r){return ar(n,new nt.classes.URLSearchParams,{visitor:function(s,c,o,d){return nt.isNode&&T.isBuffer(s)?(this.append(c,s.toString("base64")),!1):d.defaultVisitor.apply(this,arguments)},...r})}const _m=_p;function Np(n){if(n>_m)throw new K("FormData field is too deeply nested ("+n+" levels). Max depth: "+_m,K.ERR_FORM_DATA_DEPTH_EXCEEDED)}function xb(n){const r=[],s=/\w+|\[(\w*)]/g;let c;for(;(c=s.exec(n))!==null;)Np(r.length),r.push(c[0]==="[]"?"":c[1]||c[0]);return r}function Eb(n){const r={},s=Object.keys(n);let c;const o=s.length;let d;for(c=0;c<o;c++)d=s[c],r[d]=n[d];return r}function jp(n){function r(s,c,o,d){Np(d);let h=s[d++];if(h==="__proto__")return!0;const y=Number.isFinite(+h),g=d>=s.length;return h=!h&&T.isArray(o)?o.length:h,g?(T.hasOwnProp(o,h)?o[h]=T.isArray(o[h])?o[h].concat(c):[o[h],c]:o[h]=c,!y):((!T.hasOwnProp(o,h)||!T.isObject(o[h]))&&(o[h]=[]),r(s,c,o[h],d)&&T.isArray(o[h])&&(o[h]=Eb(o[h])),!y)}if(T.isFormData(n)&&T.isFunction(n.entries)){const s={};return T.forEachEntry(n,(c,o)=>{r(xb(c),o,s,0)}),s}return null}const nn=(n,r)=>n!=null&&T.hasOwnProp(n,r)?n[r]:void 0;function Rb(n,r,s){if(T.isString(n))try{return(r||JSON.parse)(n),T.trim(n)}catch(c){if(c.name!=="SyntaxError")throw c}return(s||JSON.stringify)(n)}const gi={transitional:Is,adapter:["xhr","http","fetch"],transformRequest:[function(r,s){const c=s.getContentType()||"",o=c.indexOf("application/json")>-1,d=T.isObject(r);if(d&&T.isHTMLForm(r)&&(r=new FormData(r)),T.isFormData(r))return o?JSON.stringify(jp(r)):r;if(T.isArrayBuffer(r)||T.isBuffer(r)||T.isStream(r)||T.isFile(r)||T.isBlob(r)||T.isReadableStream(r))return r;if(T.isArrayBufferView(r))return r.buffer;if(T.isURLSearchParams(r))return s.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),r.toString();let y;if(d){const g=nn(this,"formSerializer");if(c.indexOf("application/x-www-form-urlencoded")>-1)return Sb(r,g).toString();if((y=T.isFileList(r))||c.indexOf("multipart/form-data")>-1){const v=nn(this,"env"),S=v&&v.FormData;return ar(y?{"files[]":r}:r,S&&new S,g)}}return d||o?(s.setContentType("application/json",!1),Rb(r)):r}],transformResponse:[function(r){const s=nn(this,"transitional")||gi.transitional,c=s&&s.forcedJSONParsing,o=nn(this,"responseType"),d=o==="json";if(T.isResponse(r)||T.isReadableStream(r))return r;if(r&&T.isString(r)&&(c&&!o||d)){const y=!(s&&s.silentJSONParsing)&&d;try{return JSON.parse(r,nn(this,"parseReviver"))}catch(g){if(y)throw g.name==="SyntaxError"?K.from(g,K.ERR_BAD_RESPONSE,this,null,nn(this,"response")):g}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:nt.classes.FormData,Blob:nt.classes.Blob},validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};T.forEach(["delete","get","head","post","put","patch","query"],n=>{gi.headers[n]={}});function zs(n,r){const s=this||gi,c=r||s,o=rt.from(c.headers);let d=c.data;return T.forEach(n,function(y){d=y.call(s,d,o.normalize(),r?r.status:void 0)}),o.normalize(),d}function Dp(n){return!!(n&&n.__CANCEL__)}let bi=class extends K{constructor(r,s,c){super(r??"canceled",K.ERR_CANCELED,s,c),this.name="CanceledError",this.__CANCEL__=!0}};function Mp(n,r,s){const c=s.config.validateStatus;!s.status||!c||c(s.status)?n(s):r(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 Ab(n){const r=/^([-+\w]{1,25}):(?:\/\/)?/.exec(n);return r&&r[1]||""}function Tb(n,r){n=n||10;const s=new Array(n),c=new Array(n);let o=0,d=0,h;return r=r!==void 0?r:1e3,function(g){const v=Date.now(),S=c[d];h||(h=v),s[o]=g,c[o]=v;let b=d,j=0;for(;b!==o;)j+=s[b++],b=b%n;if(o=(o+1)%n,o===d&&(d=(d+1)%n),v-h<r)return;const B=S&&v-S;return B?Math.round(j*1e3/B):void 0}}function _b(n,r){let s=0,c=1e3/r,o,d;const h=(v,S=Date.now())=>{s=S,o=null,d&&(clearTimeout(d),d=null),n(...v)};return[(...v)=>{const S=Date.now(),b=S-s;b>=c?h(v,S):(o=v,d||(d=setTimeout(()=>{d=null,h(o)},c-b)))},()=>o&&h(o)]}const Ju=(n,r,s=3)=>{let c=0;const o=Tb(50,250);return _b(d=>{if(!d||typeof d.loaded!="number")return;const h=d.loaded,y=d.lengthComputable?d.total:void 0,g=y!=null?Math.min(h,y):h,v=Math.max(0,g-c),S=o(v);c=Math.max(c,g);const b={loaded:g,total:y,progress:y?g/y:void 0,bytes:v,rate:S||void 0,estimated:S&&y?(y-g)/S:void 0,event:d,lengthComputable:y!=null,[r?"download":"upload"]:!0};n(b)},s)},Om=(n,r)=>{const s=n!=null;return[c=>r[0]({lengthComputable:s,total:n,loaded:c}),r[1]]},Cm=n=>(...r)=>T.asap(()=>n(...r)),Ob=nt.hasStandardBrowserEnv?((n,r)=>s=>(s=new URL(s,nt.origin),n.protocol===s.protocol&&n.host===s.host&&(r||n.port===s.port)))(new URL(nt.origin),nt.navigator&&/(msie|trident)/i.test(nt.navigator.userAgent)):()=>!0,Cb=nt.hasStandardBrowserEnv?{write(n,r,s,c,o,d,h){if(typeof document>"u")return;const y=[`${n}=${encodeURIComponent(r)}`];T.isNumber(s)&&y.push(`expires=${new Date(s).toUTCString()}`),T.isString(c)&&y.push(`path=${c}`),T.isString(o)&&y.push(`domain=${o}`),d===!0&&y.push("secure"),T.isString(h)&&y.push(`SameSite=${h}`),document.cookie=y.join("; ")},read(n){if(typeof document>"u")return null;const r=document.cookie.split(";");for(let s=0;s<r.length;s++){const c=r[s].replace(/^\s+/,""),o=c.indexOf("=");if(o!==-1&&c.slice(0,o)===n)return decodeURIComponent(c.slice(o+1))}return null},remove(n){this.write(n,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function zb(n){return typeof n!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function Nb(n,r){return r?n.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):n}const jb=/^https?:(?!\/\/)/i,Db=/[\t\n\r]/g;function Mb(n){let r=0;for(;r<n.length&&n.charCodeAt(r)<=32;)r++;return n.slice(r)}function Ub(n){return Mb(n).replace(Db,"")}function zm(n,r){if(typeof n=="string"&&jb.test(Ub(n)))throw new K('Invalid URL: missing "//" after protocol',K.ERR_INVALID_URL,r)}function Up(n,r,s,c){zm(r,c);let o=!zb(r);return n&&(o||s===!1)?(zm(n,c),Nb(n,r)):r}const Nm=n=>n instanceof rt?{...n}:n;function ga(n,r){r=r||{};const s=Object.create(null);Object.defineProperty(s,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function c(S,b,j,B){return T.isPlainObject(S)&&T.isPlainObject(b)?T.merge.call({caseless:B},S,b):T.isPlainObject(b)?T.merge({},b):T.isArray(b)?b.slice():b}function o(S,b,j,B){if(T.isUndefined(b)){if(!T.isUndefined(S))return c(void 0,S,j,B)}else return c(S,b,j,B)}function d(S,b){if(!T.isUndefined(b))return c(void 0,b)}function h(S,b){if(T.isUndefined(b)){if(!T.isUndefined(S))return c(void 0,S)}else return c(void 0,b)}function y(S){const b=T.hasOwnProp(r,"transitional")?r.transitional:void 0;if(!T.isUndefined(b))if(T.isPlainObject(b)){if(T.hasOwnProp(b,S))return b[S]}else return;const j=T.hasOwnProp(n,"transitional")?n.transitional:void 0;if(T.isPlainObject(j)&&T.hasOwnProp(j,S))return j[S]}function g(S,b,j){if(T.hasOwnProp(r,j))return c(S,b);if(T.hasOwnProp(n,j))return c(void 0,S)}const v={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:g,headers:(S,b,j)=>o(Nm(S),Nm(b),j,!0)};return T.forEach(Object.keys({...n,...r}),function(b){if(b==="__proto__"||b==="constructor"||b==="prototype")return;const j=T.hasOwnProp(v,b)?v[b]:o,B=T.hasOwnProp(n,b)?n[b]:void 0,V=T.hasOwnProp(r,b)?r[b]:void 0,q=j(B,V,b);T.isUndefined(q)&&j!==g||(s[b]=q)}),T.hasOwnProp(r,"validateStatus")&&T.isUndefined(r.validateStatus)&&y("validateStatusUndefinedResolves")===!1&&(T.hasOwnProp(n,"validateStatus")?s.validateStatus=c(void 0,n.validateStatus):delete s.validateStatus),s}const wb=["content-type","content-length"];function Bb(n,r,s){if(s!=="content-only"){n.set(r);return}Object.entries(r).forEach(([c,o])=>{wb.includes(c.toLowerCase())&&n.set(c,o)})}const Lb=n=>encodeURIComponent(n).replace(/%([0-9A-F]{2})/gi,(r,s)=>String.fromCharCode(parseInt(s,16)));function wp(n){const r=ga({},n),s=j=>T.hasOwnProp(r,j)?r[j]:void 0,c=s("data");let o=s("withXSRFToken");const d=s("xsrfHeaderName"),h=s("xsrfCookieName");let y=s("headers");const g=s("auth"),v=s("baseURL"),S=s("allowAbsoluteUrls"),b=s("url");if(r.headers=y=rt.from(y),r.url=zp(Up(v,b,S,r),s("params"),s("paramsSerializer")),g){const j=T.getSafeProp(g,"username")||"",B=T.getSafeProp(g,"password")||"";y.set("Authorization","Basic "+btoa(j+":"+(B?Lb(B):"")))}if(T.isFormData(c)&&(nt.hasStandardBrowserEnv||nt.hasStandardBrowserWebWorkerEnv||T.isReactNative(c)?y.setContentType(void 0):T.isFunction(c.getHeaders)&&Bb(y,c.getHeaders(),s("formDataHeaderPolicy"))),nt.hasStandardBrowserEnv&&(T.isFunction(o)&&(o=o(r)),o===!0||o==null&&Ob(r.url))){const B=d&&h&&Cb.read(h);B&&y.set(d,B)}return r}const Hb=typeof XMLHttpRequest<"u",qb=Hb&&function(n){return new Promise(function(s,c){const o=wp(n);let d=o.data;const h=rt.from(o.headers).normalize();let{responseType:y,onUploadProgress:g,onDownloadProgress:v}=o,S,b,j,B,V;function q(){B&&B(),V&&V(),o.cancelToken&&o.cancelToken.unsubscribe(S),o.signal&&o.signal.removeEventListener("abort",S)}let L=new XMLHttpRequest;L.open(o.method.toUpperCase(),o.url,!0),L.timeout=o.timeout;function O(){if(!L)return;const G=rt.from("getAllResponseHeaders"in L&&L.getAllResponseHeaders()),k={data:!y||y==="text"||y==="json"?L.responseText:L.response,status:L.status,statusText:L.statusText,headers:G,config:n,request:L};Mp(function(te){s(te),q()},function(te){c(te),q()},k),L=null}"onloadend"in L?L.onloadend=O:L.onreadystatechange=function(){!L||L.readyState!==4||L.status===0&&!(L.responseURL&&L.responseURL.startsWith("file:"))||setTimeout(O)},L.onabort=function(){L&&(c(new K("Request aborted",K.ECONNABORTED,n,L)),q(),L=null)},L.onerror=function(W){const k=W&&W.message?W.message:"Network Error",F=new K(k,K.ERR_NETWORK,n,L);F.event=W||null,c(F),q(),L=null},L.ontimeout=function(){let W=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const k=o.transitional||Is;o.timeoutErrorMessage&&(W=o.timeoutErrorMessage),c(new K(W,k.clarifyTimeoutError?K.ETIMEDOUT:K.ECONNABORTED,n,L)),q(),L=null},d===void 0&&h.setContentType(null),"setRequestHeader"in L&&T.forEach(Ap(h),function(W,k){L.setRequestHeader(k,W)}),T.isUndefined(o.withCredentials)||(L.withCredentials=!!o.withCredentials),y&&y!=="json"&&(L.responseType=o.responseType),v&&([j,V]=Ju(v,!0),L.addEventListener("progress",j)),g&&L.upload&&([b,B]=Ju(g),L.upload.addEventListener("progress",b),L.upload.addEventListener("loadend",B)),(o.cancelToken||o.signal)&&(S=G=>{L&&(c(!G||G.type?new bi(null,n,L):G),L.abort(),q(),L=null)},o.cancelToken&&o.cancelToken.subscribe(S),o.signal&&(o.signal.aborted?S():o.signal.addEventListener("abort",S)));const U=Ab(o.url);if(U&&!nt.protocols.includes(U)){c(new K("Unsupported protocol "+U+":",K.ERR_BAD_REQUEST,n));return}L.send(d||null)})},Yb=(n,r)=>{if(n=n?n.filter(Boolean):[],!r&&!n.length)return;const s=new AbortController;let c=!1;const o=function(g){if(!c){c=!0,h();const v=g instanceof Error?g:this.reason;s.abort(v instanceof K?v:new bi(v instanceof Error?v.message:v))}};let d=r&&setTimeout(()=>{d=null,o(new K(`timeout of ${r}ms exceeded`,K.ETIMEDOUT))},r);const h=()=>{n&&(d&&clearTimeout(d),d=null,n.forEach(g=>{g.unsubscribe?g.unsubscribe(o):g.removeEventListener("abort",o)}),n=null)};n.forEach(g=>g.addEventListener("abort",o));const{signal:y}=s;return y.unsubscribe=()=>T.asap(h),y},Xb=function*(n,r){let s=n.byteLength;if(s<r){yield n;return}let c=0,o;for(;c<s;)o=c+r,yield n.slice(c,o),c=o},Gb=async function*(n,r){for await(const s of Vb(n))yield*Xb(s,r)},Vb=async function*(n){if(n[Symbol.asyncIterator]){yield*n;return}const r=n.getReader();try{for(;;){const{done:s,value:c}=await r.read();if(s)break;yield c}}finally{await r.cancel()}},jm=(n,r,s,c)=>{const o=Gb(n,r);let d=0,h,y=g=>{h||(h=!0,c&&c(g))};return new ReadableStream({async pull(g){try{const{done:v,value:S}=await o.next();if(v){y(),g.close();return}let b=S.byteLength;if(s){let j=d+=b;s(j)}g.enqueue(new Uint8Array(S))}catch(v){throw y(v),v}},cancel(g){return y(g),o.return()}},{highWaterMark:2})},Fu=n=>n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102,Qb=(n,r,s)=>r+2<s&&Fu(n.charCodeAt(r+1))&&Fu(n.charCodeAt(r+2));function Zb(n){if(!n||typeof n!="string"||!n.startsWith("data:"))return 0;const r=n.indexOf(",");if(r<0)return 0;const s=n.slice(5,r),c=n.slice(r+1);if(/;base64/i.test(s)){let h=c.length;const y=c.length;for(let B=0;B<y;B++)if(c.charCodeAt(B)===37&&B+2<y){const V=c.charCodeAt(B+1),q=c.charCodeAt(B+2);Fu(V)&&Fu(q)&&(h-=2,B+=2)}let g=0,v=y-1;const S=B=>B>=2&&c.charCodeAt(B-2)===37&&c.charCodeAt(B-1)===51&&(c.charCodeAt(B)===68||c.charCodeAt(B)===100);v>=0&&(c.charCodeAt(v)===61?(g++,v--):S(v)&&(g++,v-=3)),g===1&&v>=0&&(c.charCodeAt(v)===61||S(v))&&g++;const j=Math.floor(h/4)*3-(g||0);return j>0?j:0}let d=0;for(let h=0,y=c.length;h<y;h++){const g=c.charCodeAt(h);if(g===37&&Qb(c,h,y))d+=1,h+=2;else if(g<128)d+=1;else if(g<2048)d+=2;else if(g>=55296&&g<=56319&&h+1<y){const v=c.charCodeAt(h+1);v>=56320&&v<=57343?(d+=4,h++):d+=3}else d+=3}return d}const to="1.18.0",Dm=64*1024,{isFunction:Hu}=T,kb=n=>encodeURIComponent(n).replace(/%([0-9A-F]{2})/gi,(r,s)=>String.fromCharCode(parseInt(s,16))),Mm=n=>{if(!T.isString(n))return n;try{return decodeURIComponent(n)}catch{return n}},Um=(n,...r)=>{try{return!!n(...r)}catch{return!1}},Kb=n=>{const r=n.indexOf("://");let s=n;return r!==-1&&(s=s.slice(r+3)),s.includes("@")||s.includes(":")},Jb=n=>{const r=T.global!==void 0&&T.global!==null?T.global:globalThis,{ReadableStream:s,TextEncoder:c}=r;n=T.merge.call({skipUndefined:!0},{Request:r.Request,Response:r.Response},n);const{fetch:o,Request:d,Response:h}=n,y=o?Hu(o):typeof fetch=="function",g=Hu(d),v=Hu(h);if(!y)return!1;const S=y&&Hu(s),b=y&&(typeof c=="function"?(O=>U=>O.encode(U))(new c):async O=>new Uint8Array(await new d(O).arrayBuffer())),j=g&&S&&Um(()=>{let O=!1;const U=new d(nt.origin,{body:new s,method:"POST",get duplex(){return O=!0,"half"}}),G=U.headers.has("Content-Type");return U.body!=null&&U.body.cancel(),O&&!G}),B=v&&S&&Um(()=>T.isReadableStream(new h("").body)),V={stream:B&&(O=>O.body)};y&&["text","arrayBuffer","blob","formData","stream"].forEach(O=>{!V[O]&&(V[O]=(U,G)=>{let W=U&&U[O];if(W)return W.call(U);throw new K(`Response type '${O}' is not supported`,K.ERR_NOT_SUPPORT,G)})});const q=async O=>{if(O==null)return 0;if(T.isBlob(O))return O.size;if(T.isSpecCompliantForm(O))return(await new d(nt.origin,{method:"POST",body:O}).arrayBuffer()).byteLength;if(T.isArrayBufferView(O)||T.isArrayBuffer(O))return O.byteLength;if(T.isURLSearchParams(O)&&(O=O+""),T.isString(O))return(await b(O)).byteLength},L=async(O,U)=>{const G=T.toFiniteNumber(O.getContentLength());return G??q(U)};return async O=>{let{url:U,method:G,data:W,signal:k,cancelToken:F,timeout:te,onDownloadProgress:Se,onUploadProgress:ze,responseType:Ue,headers:ve,withCredentials:Te="same-origin",fetchOptions:Pe,maxContentLength:Ne,maxBodyLength:Ee}=wp(O);const A=T.isNumber(Ne)&&Ne>-1,Q=T.isNumber(Ee)&&Ee>-1,$=P=>T.hasOwnProp(O,P)?O[P]:void 0;let re=o||fetch;Ue=Ue?(Ue+"").toLowerCase():"text";let ne=Yb([k,F&&F.toAbortSignal()],te),E=null;const w=ne&&ne.unsubscribe&&(()=>{ne.unsubscribe()});let Z,J=null;const ie=()=>new K("Request body larger than maxBodyLength limit",K.ERR_BAD_REQUEST,O,E);try{let P;const fe=$("auth");if(fe){const ue=T.getSafeProp(fe,"username")||"",ct=T.getSafeProp(fe,"password")||"";P={username:ue,password:ct}}if(Kb(U)){const ue=new URL(U,nt.origin);if(!P&&(ue.username||ue.password)){const ct=Mm(ue.username),Gt=Mm(ue.password);P={username:ct,password:Gt}}(ue.username||ue.password)&&(ue.username="",ue.password="",U=ue.href)}if(P&&(ve.delete("authorization"),ve.set("Authorization","Basic "+btoa(kb((P.username||"")+":"+(P.password||""))))),A&&typeof U=="string"&&U.startsWith("data:")&&Zb(U)>Ne)throw new K("maxContentLength size of "+Ne+" exceeded",K.ERR_BAD_RESPONSE,O,E);if(Q&&G!=="get"&&G!=="head"){const ue=await q(W);if(typeof ue=="number"&&isFinite(ue)&&(Z=ue,ue>Ee))throw ie()}const Qe=Q&&(T.isReadableStream(W)||T.isStream(W)),we=(ue,ct,Gt)=>jm(ue,Dm,Vt=>{if(Q&&Vt>Ee)throw J=ie();ct&&ct(Vt)},Gt);if(j&&G!=="get"&&G!=="head"&&(ze||Qe)){if(Z=Z??await L(ve,W),Z!==0||Qe){let ue=new d(U,{method:"POST",body:W,duplex:"half"}),ct;if(T.isFormData(W)&&(ct=ue.headers.get("content-type"))&&ve.setContentType(ct),ue.body){const[Gt,Vt]=ze&&Om(Z,Ju(Cm(ze)))||[];W=we(ue.body,Gt,Vt)}}}else if(Qe&&!g&&S&&G!=="get"&&G!=="head")W=we(W);else if(Qe&&g&&!j&&G!=="get"&&G!=="head")throw new K("Stream request bodies are not supported by the current fetch implementation",K.ERR_NOT_SUPPORT,O,E);T.isString(Te)||(Te=Te?"include":"omit");const Jl=g&&"credentials"in d.prototype;if(T.isFormData(W)){const ue=ve.getContentType();ue&&/^multipart\/form-data/i.test(ue)&&!/boundary=/i.test(ue)&&ve.delete("content-type")}ve.set("User-Agent","axios/"+to,!1);const Fl={...Pe,signal:ne,method:G.toUpperCase(),headers:Ap(ve.normalize()),body:W,duplex:"half",credentials:Jl?Te:void 0};E=g&&new d(U,Fl);let gt=await(g?re(E,Pe):re(U,Fl));const hn=rt.from(gt.headers);if(A){const ue=T.toFiniteNumber(hn.getContentLength());if(ue!=null&&ue>Ne)throw new K("maxContentLength size of "+Ne+" exceeded",K.ERR_BAD_RESPONSE,O,E)}const Xt=B&&(Ue==="stream"||Ue==="response");if(B&&gt.body&&(Se||A||Xt&&w)){const ue={};["status","statusText","headers"].forEach($l=>{ue[$l]=gt[$l]});const ct=T.toFiniteNumber(hn.getContentLength()),[Gt,Vt]=Se&&Om(ct,Ju(Cm(Se),!0))||[];let ba=0;const mn=$l=>{if(A&&(ba=$l,ba>Ne))throw new K("maxContentLength size of "+Ne+" exceeded",K.ERR_BAD_RESPONSE,O,E);Gt&&Gt($l)};gt=new h(jm(gt.body,Dm,mn,()=>{Vt&&Vt(),w&&w()}),ue)}Ue=Ue||"text";let bt=await V[T.findKey(V,Ue)||"text"](gt,O);if(A&&!B&&!Xt){let ue;if(bt!=null&&(typeof bt.byteLength=="number"?ue=bt.byteLength:typeof bt.size=="number"?ue=bt.size:typeof bt=="string"&&(ue=typeof c=="function"?new c().encode(bt).byteLength:bt.length)),typeof ue=="number"&&ue>Ne)throw new K("maxContentLength size of "+Ne+" exceeded",K.ERR_BAD_RESPONSE,O,E)}return!Xt&&w&&w(),await new Promise((ue,ct)=>{Mp(ue,ct,{data:bt,headers:rt.from(gt.headers),status:gt.status,statusText:gt.statusText,config:O,request:E})})}catch(P){if(w&&w(),ne&&ne.aborted&&ne.reason instanceof K){const fe=ne.reason;throw fe.config=O,E&&(fe.request=E),P!==fe&&(fe.cause=P),fe}throw J?(E&&!J.request&&(J.request=E),J):P instanceof K?(E&&!P.request&&(P.request=E),P):P&&P.name==="TypeError"&&/Load failed|fetch/i.test(P.message)?Object.assign(new K("Network Error",K.ERR_NETWORK,O,E,P&&P.response),{cause:P.cause||P}):K.from(P,P&&P.code,O,E,P&&P.response)}}},Fb=new Map,Bp=n=>{let r=n&&n.env||{};const{fetch:s,Request:c,Response:o}=r,d=[c,o,s];let h=d.length,y=h,g,v,S=Fb;for(;y--;)g=d[y],v=S.get(g),v===void 0&&S.set(g,v=y?new Map:Jb(r)),S=v;return v};Bp();const lo={http:cb,xhr:qb,fetch:{get:Bp}};T.forEach(lo,(n,r)=>{if(n){try{Object.defineProperty(n,"name",{__proto__:null,value:r})}catch{}Object.defineProperty(n,"adapterName",{__proto__:null,value:r})}});const wm=n=>`- ${n}`,$b=n=>T.isFunction(n)||n===null||n===!1;function Wb(n,r){n=T.isArray(n)?n:[n];const{length:s}=n;let c,o;const d={};for(let h=0;h<s;h++){c=n[h];let y;if(o=c,!$b(c)&&(o=lo[(y=String(c)).toLowerCase()],o===void 0))throw new K(`Unknown adapter '${y}'`);if(o&&(T.isFunction(o)||(o=o.get(r))))break;d[y||"#"+h]=o}if(!o){const h=Object.entries(d).map(([g,v])=>`adapter ${g} `+(v===!1?"is not supported by the environment":"is not available in the build"));let y=s?h.length>1?`since :
`+h.map(wm).join(`
`):" "+wm(h[0]):"as no adapter specified";throw new K("There is no suitable adapter to dispatch the request "+y,"ERR_NOT_SUPPORT")}return o}const Lp={getAdapter:Wb,adapters:lo};function Ns(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new bi(null,n)}function Bm(n){return Ns(n),n.headers=rt.from(n.headers),n.data=zs.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),Lp.getAdapter(n.adapter||gi.adapter,n)(n).then(function(c){Ns(n),n.response=c;try{c.data=zs.call(n,n.transformResponse,c)}finally{delete n.response}return c.headers=rt.from(c.headers),c},function(c){if(!Dp(c)&&(Ns(n),c&&c.response)){n.response=c.response;try{c.response.data=zs.call(n,n.transformResponse,c.response)}finally{delete n.response}c.response.headers=rt.from(c.response.headers)}return Promise.reject(c)})}const nr={};["object","boolean","number","function","string","symbol"].forEach((n,r)=>{nr[n]=function(c){return typeof c===n||"a"+(r<1?"n ":" ")+n}});const Lm={};nr.transitional=function(r,s,c){function o(d,h){return"[Axios v"+to+"] Transitional option '"+d+"'"+h+(c?". "+c:"")}return(d,h,y)=>{if(r===!1)throw new K(o(h," has been removed"+(s?" in "+s:"")),K.ERR_DEPRECATED);return s&&!Lm[h]&&(Lm[h]=!0,console.warn(o(h," has been deprecated since v"+s+" and will be removed in the near future"))),r?r(d,h,y):!0}};nr.spelling=function(r){return(s,c)=>(console.warn(`${c} is likely a misspelling of ${r}`),!0)};function Pb(n,r,s){if(typeof n!="object")throw new K("options must be an object",K.ERR_BAD_OPTION_VALUE);const c=Object.keys(n);let o=c.length;for(;o-- >0;){const d=c[o],h=Object.prototype.hasOwnProperty.call(r,d)?r[d]:void 0;if(h){const y=n[d],g=y===void 0||h(y,d,n);if(g!==!0)throw new K("option "+d+" must be "+g,K.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new K("Unknown option "+d,K.ERR_BAD_OPTION)}}const Qu={assertOptions:Pb,validators:nr},ut=Qu.validators;let ya=class{constructor(r){this.defaults=r||{},this.interceptors={request:new Tm,response:new Tm}}async request(r,s){try{return await this._request(r,s)}catch(c){if(c instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const d=(()=>{if(!o.stack)return"";const h=o.stack.indexOf(`
`);return h===-1?"":o.stack.slice(h+1)})();try{if(!c.stack)c.stack=d;else if(d){const h=d.indexOf(`
`),y=h===-1?-1:d.indexOf(`
`,h+1),g=y===-1?"":d.slice(y+1);String(c.stack).endsWith(g)||(c.stack+=`
`+d)}}catch{}}throw c}}_request(r,s){typeof r=="string"?(s=s||{},s.url=r):s=r||{},s=ga(this.defaults,s);const{transitional:c,paramsSerializer:o,headers:d}=s;c!==void 0&&Qu.assertOptions(c,{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),o!=null&&(T.isFunction(o)?s.paramsSerializer={serialize:o}:Qu.assertOptions(o,{encode:ut.function,serialize:ut.function},!0)),s.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?s.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:s.allowAbsoluteUrls=!0),Qu.assertOptions(s,{baseUrl:ut.spelling("baseURL"),withXsrfToken:ut.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let h=d&&T.merge(d.common,d[s.method]);d&&T.forEach(["delete","get","head","post","put","patch","query","common"],V=>{delete d[V]}),s.headers=rt.concat(h,d);const y=[];let g=!0;this.interceptors.request.forEach(function(q){if(typeof q.runWhen=="function"&&q.runWhen(s)===!1)return;g=g&&q.synchronous;const L=s.transitional||Is;L&&L.legacyInterceptorReqResOrdering?y.unshift(q.fulfilled,q.rejected):y.push(q.fulfilled,q.rejected)});const v=[];this.interceptors.response.forEach(function(q){v.push(q.fulfilled,q.rejected)});let S,b=0,j;if(!g){const V=[Bm.bind(this),void 0];for(V.unshift(...y),V.push(...v),j=V.length,S=Promise.resolve(s);b<j;)S=S.then(V[b++],V[b++]);return S}j=y.length;let B=s;for(;b<j;){const V=y[b++],q=y[b++];try{B=V(B)}catch(L){q.call(this,L);break}}try{S=Bm.call(this,B)}catch(V){return Promise.reject(V)}for(b=0,j=v.length;b<j;)S=S.then(v[b++],v[b++]);return S}getUri(r){r=ga(this.defaults,r);const s=Up(r.baseURL,r.url,r.allowAbsoluteUrls,r);return zp(s,r.params,r.paramsSerializer)}};T.forEach(["delete","get","head","options"],function(r){ya.prototype[r]=function(s,c){return this.request(ga(c||{},{method:r,url:s,data:c&&T.hasOwnProp(c,"data")?c.data:void 0}))}});T.forEach(["post","put","patch","query"],function(r){function s(c){return function(d,h,y){return this.request(ga(y||{},{method:r,headers:c?{"Content-Type":"multipart/form-data"}:{},url:d,data:h}))}}ya.prototype[r]=s(),r!=="query"&&(ya.prototype[r+"Form"]=s(!0))});let Ib=class Hp{constructor(r){if(typeof r!="function")throw new TypeError("executor must be a function.");let s;this.promise=new Promise(function(d){s=d});const c=this;this.promise.then(o=>{if(!c._listeners)return;let d=c._listeners.length;for(;d-- >0;)c._listeners[d](o);c._listeners=null}),this.promise.then=o=>{let d;const h=new Promise(y=>{c.subscribe(y),d=y}).then(o);return h.cancel=function(){c.unsubscribe(d)},h},r(function(d,h,y){c.reason||(c.reason=new bi(d,h,y),s(c.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]}unsubscribe(r){if(!this._listeners)return;const s=this._listeners.indexOf(r);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const r=new AbortController,s=c=>{r.abort(c)};return this.subscribe(s),r.signal.unsubscribe=()=>this.unsubscribe(s),r.signal}static source(){let r;return{token:new Hp(function(o){r=o}),cancel:r}}};function e2(n){return function(s){return n.apply(null,s)}}function t2(n){return T.isObject(n)&&n.isAxiosError===!0}const Ys={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(Ys).forEach(([n,r])=>{Ys[r]=n});function qp(n){const r=new ya(n),s=pp(ya.prototype.request,r);return T.extend(s,ya.prototype,r,{allOwnKeys:!0}),T.extend(s,r,null,{allOwnKeys:!0}),s.create=function(o){return qp(ga(n,o))},s}const Ve=qp(gi);Ve.Axios=ya;Ve.CanceledError=bi;Ve.CancelToken=Ib;Ve.isCancel=Dp;Ve.VERSION=to;Ve.toFormData=ar;Ve.AxiosError=K;Ve.Cancel=Ve.CanceledError;Ve.all=function(r){return Promise.all(r)};Ve.spread=e2;Ve.isAxiosError=t2;Ve.mergeConfig=ga;Ve.AxiosHeaders=rt;Ve.formToJSON=n=>jp(T.isHTMLForm(n)?new FormData(n):n);Ve.getAdapter=Lp.getAdapter;Ve.HttpStatusCode=Ys;Ve.default=Ve;const{Axios:iS,AxiosError:uS,CanceledError:rS,isCancel:cS,CancelToken:sS,VERSION:oS,all:fS,Cancel:dS,isAxiosError:hS,spread:mS,toFormData:pS,AxiosHeaders:yS,HttpStatusCode:vS,formToJSON:gS,getAdapter:bS,mergeConfig:SS,create:xS}=Ve,Kt=Ve.create({baseURL:"http://localhost:8000",headers:{Accept:"application/json","Content-Type":"application/json"},withCredentials:!1});Kt.interceptors.request.use(n=>{const r=localStorage.getItem("api_token");return r&&(n.headers.Authorization=`Bearer ${r}`),n});const Yp=C.createContext({}),l2=({children:n})=>{const[r,s]=C.useState(!1),[c,o]=C.useState(null),[d,h]=C.useState(!0);C.useEffect(()=>{y()},[]);const y=async()=>{try{if(localStorage.getItem("api_token")){const b=await Kt.get("/api/v1/auth/me");o(b.data),s(!0)}else s(!1)}catch{localStorage.removeItem("api_token"),s(!1)}finally{h(!1)}},g=async S=>{const b=await Kt.post("/api/v1/auth/login",S);localStorage.setItem("api_token",b.data.data.access_token),o(b.data.data.user),s(!0)},v=async()=>{try{await Kt.post("/api/v1/auth/logout")}catch{}localStorage.removeItem("api_token"),o(null),s(!1)};return p.jsx(Yp.Provider,{value:{isAuthenticated:r,user:c,login:g,logout:v,loading:d},children:!d&&n})},ir=()=>C.useContext(Yp),a2=()=>{const{isAuthenticated:n,loading:r}=ir();return r?p.jsx("div",{style:{height:"100vh",display:"flex",alignItems:"center",justifyContent:"center",color:"white"},children:"Cargando ORION OS..."}):n?p.jsx(fp,{}):p.jsx(op,{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 Xp=(...n)=>n.filter((r,s,c)=>!!r&&r.trim()!==""&&c.indexOf(r)===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 n2=n=>n.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 i2=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,s,c)=>c?c.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 Hm=n=>{const r=i2(n);return r.charAt(0).toUpperCase()+r.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 js={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 u2=n=>{for(const r in n)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1},r2=C.createContext({}),c2=()=>C.useContext(r2),s2=C.forwardRef(({color:n,size:r,strokeWidth:s,absoluteStrokeWidth:c,className:o="",children:d,iconNode:h,...y},g)=>{const{size:v=24,strokeWidth:S=2,absoluteStrokeWidth:b=!1,color:j="currentColor",className:B=""}=c2()??{},V=c??b?Number(s??S)*24/Number(r??v):s??S;return C.createElement("svg",{ref:g,...js,width:r??v??js.width,height:r??v??js.height,stroke:n??j,strokeWidth:V,className:Xp("lucide",B,o),...!d&&!u2(y)&&{"aria-hidden":"true"},...y},[...h.map(([q,L])=>C.createElement(q,L)),...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 He=(n,r)=>{const s=C.forwardRef(({className:c,...o},d)=>C.createElement(s2,{ref:d,iconNode:r,className:Xp(`lucide-${n2(Hm(n))}`,`lucide-${n}`,c),...o}));return s.displayName=Hm(n),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 o2=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],f2=He("activity",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=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],h2=He("chevron-left",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=[["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"}]],p2=He("circle-alert",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:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],v2=He("circle-check-big",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 g2=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],b2=He("circle-check",g2);/**
 * @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=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],x2=He("clock",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=[["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"}]],R2=He("database",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 A2=[["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"}]],T2=He("ellipsis-vertical",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 _2=[["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"}]],Gp=He("file-spreadsheet",_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 O2=[["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"}]],C2=He("file-text",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 z2=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],fi=He("loader-circle",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 N2=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],j2=He("lock",N2);/**
 * @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 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"}]],M2=He("log-in",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 U2=[["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"}]],w2=He("moon",U2);/**
 * @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 B2=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],qm=He("pen",B2);/**
 * @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=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Vp=He("search",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 H2=[["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"}]],q2=He("settings",H2);/**
 * @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:"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"}]],Qp=He("shield",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 X2=[["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"}]],G2=He("sun",X2);/**
 * @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:"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"}]],$u=He("trash-2",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 Q2=[["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"}]],Ym=He("upload",Q2);/**
 * @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=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],Xm=He("user-plus",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 k2=[["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"}]],K2=He("users",k2);/**
 * @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 J2=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Gm=He("x",J2),F2=()=>{const{login:n,isAuthenticated:r}=ir(),s=Iu(),[c,o]=C.useState(""),[d,h]=C.useState(""),[y,g]=C.useState(""),[v,S]=C.useState(!1);C.useEffect(()=>{r&&s("/")},[r,s]);const b=async j=>{var B,V;j.preventDefault(),S(!0),g("");try{await n({username:c,password:d,uuid:"react_web_dev_uuid"}),s("/")}catch(q){g(((V=(B=q.response)==null?void 0:B.data)==null?void 0:V.error)||"Credenciales inválidas")}finally{S(!1)}};return p.jsx("div",{className:"main-layout",style:{justifyContent:"center",alignItems:"center",background:"var(--bg-surface)"},children:p.jsxs("div",{className:"login-screen-container",children:[p.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:p.jsx(Qp,{size:32,color:"#FFFFFF",strokeWidth:2})}),p.jsxs("div",{className:"login-glass-card",children:[p.jsxs("div",{style:{textAlign:"center",marginBottom:"2rem"},children:[p.jsx("h1",{style:{fontSize:"1.5rem",fontWeight:800,color:"var(--text-primary)",letterSpacing:"-0.5px"},children:"Orion Red"}),p.jsx("p",{style:{fontSize:"0.8rem",color:"var(--text-secondary)",fontWeight:500,marginTop:"4px"},children:"Identificación de Usuario"})]}),y&&p.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}),p.jsxs("form",{onSubmit:b,children:[p.jsxs("div",{className:"login-form-group",children:[p.jsx("label",{children:"Usuario"}),p.jsx("input",{type:"text",value:c,onChange:j=>o(j.target.value),placeholder:"Ingrese su usuario",required:!0})]}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:"1.8rem"},children:[p.jsx("label",{children:"Contraseña"}),p.jsx("input",{type:"password",value:d,onChange:j=>h(j.target.value),placeholder:"••••••••",required:!0})]}),p.jsxs("button",{type:"submit",className:"primary-btn-accent",disabled:v,children:[p.jsx(M2,{size:18}),v?"VERIFICANDO...":"INGRESAR"]})]})]}),p.jsx("div",{style:{marginTop:"2rem",fontSize:"0.72rem",color:"var(--text-muted)",fontWeight:600,letterSpacing:"0.5px"},children:"SISTEMA DE VERIFICACIÓN POLICIAL • COLOMBIA"})]})})},$2=()=>{const{user:n}=ir(),r=(n==null?void 0:n.name)||"Ismael Bennacer",[s,c]=C.useState(""),[o,d]=C.useState([]),[h,y]=C.useState(!1),[g,v]=C.useState(null),[S,b]=C.useState(3),j=[{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}],B=[{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"}];C.useEffect(()=>{const U=setTimeout(()=>{s.length>=3?V(s):d([])},400);return()=>clearTimeout(U)},[s]);const V=async U=>{y(!0);try{const G=await Kt.get("/api/v1/plates/search",{params:{q:U}});d(G.data.data)}catch(G){console.error("Error fetching plates",G),d([])}finally{y(!1)}},q=U=>{switch(U){case 1:return"#FF5B60";case 2:return"#10B981";case 3:return"#FF5C8A";case 4:return"#2EA8E5";case 5:return"#7B52F2";default:return"#7E8294"}},L=()=>{const U={month:"long",day:"numeric",year:"numeric"},G=new Date().toLocaleDateString("es-ES",U);return G.charAt(0).toUpperCase()+G.slice(1)},O=U=>U.length>=6?`${U.substring(0,3)} • ${U.substring(3)}`:U;return p.jsxs("div",{style:{flex:1,display:"flex",flexDirection:"column",position:"relative",height:"100%"},children:[p.jsx("div",{className:"home-header",style:{flexDirection:"row",justifyContent:"space-between",alignItems:"center"},children:p.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2px"},children:[p.jsx("span",{className:"date-text",children:L()}),p.jsx("h1",{className:"user-title",children:r})]})}),p.jsx("div",{className:"search-pill-wrapper",children:p.jsxs("div",{className:"search-pill-container",children:[p.jsx(Vp,{size:20,color:"var(--accent-purple)"}),p.jsx("input",{type:"text",placeholder:"Buscar placa...",value:s,onChange:U=>c(U.target.value.toUpperCase()),maxLength:7}),h&&p.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"}})]})}),s.length<3&&p.jsxs("div",{className:"context-cards-slider",children:[p.jsxs("div",{className:"context-card-peach",children:[p.jsx("span",{className:"title",children:"Servicios Orion"}),p.jsx("span",{className:"value",children:"Activo"}),p.jsx("span",{className:"subtitle",children:"Bogotá, Colombia"}),p.jsxs("svg",{style:{position:"absolute",right:10,bottom:10,width:70,height:70,opacity:.85},viewBox:"0 0 100 100",children:[p.jsx("circle",{cx:"75",cy:"25",r:"10",fill:"#FFA280"}),p.jsx("path",{d:"M40 90 L40 50 M40 50 L25 40 M40 50 L55 40",stroke:"var(--accent-peach-dark)",strokeWidth:"3",strokeLinecap:"round"}),p.jsx("circle",{cx:"40",cy:"50",r:"3",fill:"var(--accent-peach-dark)"})]})]}),p.jsxs("div",{className:"context-card-map",children:[p.jsx("span",{className:"title",children:"Base de Datos"}),p.jsx("span",{className:"value",children:"API V1"}),p.jsx("span",{className:"subtitle",children:"Conexión Segura"})]})]}),p.jsx("div",{className:"section-title-container",children:p.jsx("h2",{className:"section-title",children:s.length>=3?"Resultados de Búsqueda":"Consultas Recientes"})}),p.jsx("div",{className:"results-grid-container",children:s.length>=3?o.length>0?o.map(U=>p.jsxs("div",{className:"plate-grid-card",onClick:()=>v(U),children:[p.jsx("div",{className:"plate-status-dot",style:{background:q(U.antiquity_level)},title:`Antigüedad Nivel ${U.antiquity_level}`}),p.jsx("span",{className:"plate-grid-number",style:{marginTop:"4px"},children:U.plate_name}),p.jsx("span",{className:"plate-grid-location",children:U.location||"No registrada"})]},U.id)):!h&&p.jsx("div",{style:{gridColumn:"span 3",textAlign:"center",color:"var(--text-muted)",marginTop:"3rem",fontWeight:600},children:"No se encontraron placas"}):j.map(U=>p.jsxs("div",{className:"plate-grid-card",onClick:()=>v(U),children:[p.jsx("div",{className:"plate-status-dot",style:{background:q(U.antiquity_level)},title:`Antigüedad Nivel ${U.antiquity_level}`}),p.jsx("span",{className:"plate-grid-number",style:{marginTop:"4px"},children:U.plate_name}),p.jsx("span",{className:"plate-grid-location",children:U.location})]},U.id))}),g&&p.jsxs("div",{className:"details-view-container",children:[p.jsxs("div",{className:"details-header",children:[p.jsx("button",{className:"circle-btn",onClick:()=>v(null),title:"Volver",children:p.jsx(h2,{size:22})}),p.jsxs("div",{className:"title-group",style:{textAlign:"center"},children:[p.jsx("h2",{children:"Estadísticas"}),p.jsx("span",{children:"Placa Vehicular"})]}),p.jsx("button",{className:"circle-btn",title:"Opciones",children:p.jsx(T2,{size:20})})]}),p.jsx("div",{className:"illustration-circle-container",children:p.jsx("div",{className:"illustration-circle",children:p.jsxs("div",{className:"license-plate-mockup",children:[p.jsx("div",{className:"plate-origin",children:"COLOMBIA"}),p.jsx("div",{className:"plate-letters-numbers",children:O(g.plate_name)}),p.jsx("div",{className:"plate-bottom-line",children:g.location?g.location.toUpperCase():"BOGOTÁ D.C."})]})})}),p.jsxs("div",{className:"stats-cards-row",children:[p.jsxs("div",{className:"stat-mini-card",children:[p.jsx("div",{className:"icon-wrapper",children:p.jsx(Qp,{size:18})}),p.jsx("span",{className:"label",children:"Nivel de Acceso"}),p.jsxs("span",{className:"val",style:{color:"var(--accent-purple)"},children:["Nivel ",g.level]})]}),p.jsxs("div",{className:"stat-mini-card",children:[p.jsx("div",{className:"icon-wrapper",style:{color:"var(--accent-peach-dark)"},children:p.jsx(v2,{size:18})}),p.jsx("span",{className:"label",children:"Estado Actual"}),p.jsx("span",{className:"val",style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:g.description.split(" - ")[1]||g.description})]})]}),p.jsxs("div",{className:"chart-section",children:[p.jsxs("div",{className:"chart-section-title-row",children:[p.jsx("span",{className:"chart-title",children:"Historial de Consultas"}),p.jsx("span",{className:"chart-subtitle",children:"Consultas/Semana"})]}),p.jsxs("div",{className:"weekly-bar-chart-container",children:[p.jsx("div",{className:"chart-tooltip-floating",style:{left:`calc(${S*14.2+7.1}% + 14px)`},children:B[S].lookups}),B.map((U,G)=>p.jsxs("div",{className:`chart-bar-wrapper ${G===S?"active":""}`,onClick:()=>b(G),children:[p.jsx("div",{className:"chart-bar-fill",style:{height:U.height}}),p.jsx("span",{className:"chart-bar-day",children:U.day})]},U.day))]})]}),p.jsx("div",{style:{padding:"1rem 1.5rem 2rem 1.5rem",display:"flex",flexDirection:"column",gap:"8px"},children:p.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:[p.jsx(x2,{size:16}),p.jsxs("span",{children:["Entrada del sistema: ",g.entry_date]})]})})]})]})},W2=()=>{const[n,r]=C.useState("import"),[s,c]=C.useState(null),[o,d]=C.useState(!1),[h,y]=C.useState("idle"),[g,v]=C.useState(""),[S,b]=C.useState(0),j=C.useRef(null),B=()=>{y("idle"),v(""),b(0)},V=k=>{k.preventDefault(),k.stopPropagation(),k.type==="dragenter"||k.type==="dragover"?d(!0):k.type==="dragleave"&&d(!1)},q=k=>{if(k.preventDefault(),k.stopPropagation(),d(!1),B(),k.dataTransfer.files&&k.dataTransfer.files[0]){const F=k.dataTransfer.files[0];O(F)}},L=k=>{B(),k.target.files&&k.target.files[0]&&O(k.target.files[0])},O=k=>{const F=[".xlsx",".xls",".csv"],te=k.name.toLowerCase();if(!F.some(ze=>te.endsWith(ze))){y("error"),v("Formato no válido. Sube un archivo .xlsx, .xls o .csv."),c(null);return}if(k.size>20*1024*1024){y("error"),v("El archivo supera el límite de 20MB."),c(null);return}c(k)},U=k=>{k.stopPropagation(),c(null),B(),j.current&&(j.current.value="")},G=()=>{h!=="loading"&&j.current&&j.current.click()},W=async()=>{var te,Se,ze,Ue;if(!s)return;y("loading"),b(10);const k=new FormData;k.append("excel",s);const F=n==="import"?"/api/v1/plates/import":"/api/v1/plates/delete-import";try{const ve=await Kt.post(F,k,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:Te=>{const Pe=Te.total||s.size,Ne=Te.loaded,Ee=Math.round(Ne*90/Pe)+10;b(Math.min(Ee,95))}});b(100),setTimeout(()=>{ve.data&&ve.data.success?(y("success"),v(ve.data.message||"Base de datos de placas procesada con éxito."),c(null)):(y("error"),v(ve.data.error||"Ocurrió un error al procesar la subida."))},500)}catch(ve){console.error("Error al subir archivo:",ve),y("error");const Te=((Se=(te=ve.response)==null?void 0:te.data)==null?void 0:Se.error)||((Ue=(ze=ve.response)==null?void 0:ze.data)==null?void 0:Ue.message);v(Te||"Error de red o servidor. Intente de nuevo.")}};return p.jsxs("div",{className:"upload-screen-container",children:[p.jsxs("div",{style:{padding:"0.5rem 0.5rem 0 0.5rem"},children:[p.jsx("span",{style:{fontSize:"0.8rem",fontWeight:600,color:"var(--text-muted)",textTransform:"uppercase",letterSpacing:"0.5px"},children:"Consola del Sistema"}),p.jsx("h1",{style:{fontSize:"1.6rem",fontWeight:800,color:"var(--text-primary)",marginTop:"2px"},children:"Gestor de Base de Datos"})]}),p.jsxs("div",{className:"upload-slider-modes",children:[p.jsxs("button",{className:`upload-mode-btn ${n==="import"?"active-import":""}`,onClick:()=>{r("import"),B()},disabled:h==="loading",children:[p.jsx(R2,{size:14}),"SUBIR"]}),p.jsxs("button",{className:`upload-mode-btn ${n==="delete"?"active-delete":""}`,onClick:()=>{r("delete"),B()},disabled:h==="loading",children:[p.jsx($u,{size:14}),"BORRAR"]})]}),p.jsx("div",{className:"upload-center-illustration",children:p.jsx("div",{className:"illustration-circle-gradient",style:{background:n==="delete"?"linear-gradient(135deg, var(--accent-red-light) 0%, var(--accent-peach-light) 100%)":void 0},children:p.jsx(Gp,{size:28,color:n==="delete"?"var(--accent-red)":"var(--accent-purple)",style:{transform:o?"scale(1.15)":"scale(1)",transition:"transform 0.25s"}})})}),p.jsxs("div",{className:`upload-dropzone ${o?"drag-active":""}`,onDragEnter:V,onDragOver:V,onDragLeave:V,onDrop:q,onClick:G,style:{borderColor:n==="delete"&&o?"var(--accent-red)":void 0,background:n==="delete"&&o?"var(--accent-red-light)":void 0},children:[p.jsx("input",{ref:j,type:"file",accept:".xlsx,.xls,.csv",onChange:L,style:{display:"none"},disabled:h==="loading"}),h==="loading"?p.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"12px"},children:[p.jsx(fi,{size:36,color:n==="delete"?"var(--accent-red)":"var(--accent-purple)",style:{animation:"spin 1.5s linear infinite"}}),p.jsx("span",{style:{fontWeight:700,fontSize:"0.95rem",color:"var(--text-primary)"},children:"Procesando base de datos..."}),p.jsx("span",{style:{fontSize:"0.75rem",color:"var(--text-secondary)"},children:"Importando registros al motor de alta velocidad."}),p.jsx("div",{className:"progress-bar-container",children:p.jsx("div",{className:"progress-bar-fill",style:{width:`${S}%`,background:n==="delete"?"var(--accent-red)":"var(--accent-purple)"}})}),p.jsxs("span",{style:{fontSize:"0.7rem",fontWeight:800,color:n==="delete"?"var(--accent-red)":"var(--accent-purple)",letterSpacing:"0.5px"},children:[S,"% COMPLETADO"]})]}):s?p.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"12px"},children:[p.jsx("div",{style:{background:n==="delete"?"var(--accent-red-light)":"var(--accent-purple-light)",borderRadius:"50%",width:"52px",height:"52px",display:"flex",alignItems:"center",justifyContent:"center"},children:p.jsx(C2,{size:24,color:n==="delete"?"var(--accent-red)":"var(--accent-purple)"})}),p.jsxs("div",{style:{width:"100%",maxWidth:"280px"},children:[p.jsx("div",{style:{fontWeight:800,fontSize:"0.9rem",color:"var(--text-primary)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:s.name}),p.jsxs("div",{style:{fontSize:"0.72rem",color:"var(--text-secondary)",marginTop:"2px"},children:[(s.size/1024).toFixed(1)," KB • Compatible"]})]}),p.jsxs("div",{style:{display:"flex",gap:"8px",width:"100%",maxWidth:"240px",marginTop:"10px"},children:[p.jsx("button",{onClick:U,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:p.jsx($u,{size:16})}),p.jsxs("button",{onClick:k=>{k.stopPropagation(),W()},style:{flex:1,borderRadius:"12px",border:"none",background:n==="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:n==="delete"?"0 4px 12px rgba(239, 68, 68, 0.2)":"0 4px 12px rgba(123, 82, 242, 0.2)"},children:[p.jsx(Ym,{size:14}),"EJECUTAR PROCESO"]})]})]}):p.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[p.jsx(Ym,{size:32,color:"var(--text-secondary)",style:{marginBottom:"1rem",opacity:.8}}),p.jsx("span",{style:{fontWeight:800,fontSize:"0.95rem",color:"var(--text-primary)",marginBottom:"4px"},children:"Arrastra tu archivo aquí"}),p.jsx("span",{style:{fontSize:"0.75rem",color:"var(--text-secondary)"},children:"o haz clic para explorar en tu equipo"}),p.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"&&p.jsxs("div",{className:"upload-alert-card success",children:[p.jsx(b2,{size:20,color:"var(--accent-green)",style:{flexShrink:0}}),p.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2px"},children:[p.jsx("span",{style:{fontWeight:800,fontSize:"0.78rem",color:"var(--accent-green)",letterSpacing:"0.5px"},children:"PROCESO EXITOSO"}),p.jsx("span",{style:{fontSize:"0.72rem",fontWeight:500,color:"var(--text-primary)"},children:g})]})]}),h==="error"&&p.jsxs("div",{className:"upload-alert-card error",children:[p.jsx(p2,{size:20,color:"var(--accent-red)",style:{flexShrink:0}}),p.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2px"},children:[p.jsx("span",{style:{fontWeight:800,fontSize:"0.78rem",color:"var(--accent-red)",letterSpacing:"0.5px"},children:"ERROR AL PROCESAR"}),p.jsx("span",{style:{fontSize:"0.72rem",fontWeight:500,color:"var(--text-primary)"},children:g})]})]}),p.jsx("div",{style:{minHeight:"60px"}})]})},P2=()=>{const{user:n}=ir(),[r,s]=C.useState([]),[c,o]=C.useState(!1),[d,h]=C.useState(!1),[y,g]=C.useState(!1),[v,S]=C.useState(!1),[b,j]=C.useState(!1),[B,V]=C.useState(null),[q,L]=C.useState({username:"",name:"",email:"",password:"",role:2,level:3,user_status:!0}),[O,U]=C.useState(""),[G,W]=C.useState("");C.useEffect(()=>{k()},[]);const k=async()=>{o(!0);try{const A=await Kt.get("/api/v1/users");A.data&&A.data.success&&s(A.data.data)}catch(A){console.error("Error fetching users:",A)}finally{o(!1)}},F=A=>{const{name:Q,value:$,type:re}=A.target;let ne=$;re==="checkbox"?ne=A.target.checked:(Q==="role"||Q==="level")&&(ne=parseInt($,10)),L(E=>({...E,[Q]:ne}))},te=()=>{U(""),W(""),L({username:"",name:"",email:"",password:"",role:2,level:3,user_status:!0}),g(!0)},Se=A=>{U(""),W(""),V(A),L({username:A.username,name:A.name,email:A.email||"",password:"",role:A.role,level:A.level,user_status:A.user_status}),S(!0)},ze=A=>{U(""),V(A),j(!0)},Ue=async A=>{var Q,$,re,ne;A.preventDefault(),h(!0),U("");try{const E=await Kt.post("/api/v1/users",q);E.data&&E.data.success&&(W("Usuario creado correctamente"),setTimeout(()=>{g(!1),k()},1e3))}catch(E){U((($=(Q=E.response)==null?void 0:Q.data)==null?void 0:$.error)||((ne=(re=E.response)==null?void 0:re.data)==null?void 0:ne.message)||"Error al crear usuario.")}finally{h(!1)}},ve=async A=>{var $,re,ne,E;if(A.preventDefault(),!B)return;h(!0),U("");const Q={...q};Q.password||delete Q.password;try{const w=await Kt.put(`/api/v1/users/${B.id}`,Q);w.data&&w.data.success&&(W("Usuario actualizado correctamente"),setTimeout(()=>{S(!1),k()},1e3))}catch(w){U(((re=($=w.response)==null?void 0:$.data)==null?void 0:re.error)||((E=(ne=w.response)==null?void 0:ne.data)==null?void 0:E.message)||"Error al actualizar usuario.")}finally{h(!1)}},Te=async()=>{var A,Q;if(B){h(!0),U("");try{const $=await Kt.delete(`/api/v1/users/${B.id}`);$.data&&$.data.success&&(j(!1),k())}catch($){U(((Q=(A=$.response)==null?void 0:A.data)==null?void 0:Q.error)||"Error al eliminar usuario.")}finally{h(!1)}}},Pe=async A=>{var Q,$;try{const re=!A.user_status,ne=await Kt.put(`/api/v1/users/${A.id}`,{username:A.username,name:A.name,email:A.email,role:A.role,level:A.level,user_status:re});ne.data&&ne.data.success&&s(E=>E.map(w=>w.id===A.id?{...w,user_status:re}:w))}catch(re){alert((($=(Q=re.response)==null?void 0:Q.data)==null?void 0:$.error)||"No fue posible cambiar el estado del usuario")}},Ne=A=>A===1?"Administrador":"Usuario",Ee=A=>{switch(A){case 1:return"Nivel 1 (Total)";case 2:return"Nivel 2 (Medio)";case 3:return"Nivel 3 (Básico)";case 4:return"Nivel 4 (Demo)";default:return`Nivel ${A}`}};return p.jsxs("div",{style:{flex:1,display:"flex",flexDirection:"column",position:"relative",height:"100%"},children:[p.jsxs("div",{className:"home-header",style:{flexDirection:"row",justifyContent:"space-between",alignItems:"center"},children:[p.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2px"},children:[p.jsx("span",{className:"date-text",children:"Gestión del Sistema"}),p.jsx("h1",{className:"user-title",children:"Gestor de Usuarios"})]}),p.jsx("button",{className:"circle-btn",onClick:te,title:"Nuevo Usuario",style:{background:"var(--accent-purple)",color:"#FFFFFF",border:"none"},children:p.jsx(Xm,{size:20})})]}),p.jsx("div",{className:"results-list-container",style:{flex:1,paddingBottom:"7rem"},children:c?p.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"200px"},children:p.jsx(fi,{size:32,className:"spin",color:"var(--accent-purple)"})}):r.length>0?r.map(A=>p.jsxs("div",{className:"plate-row-card",style:{opacity:A.user_status?1:.65,background:"var(--bg-card)",transition:"all 0.25s",padding:"16px"},children:[p.jsxs("div",{className:"plate-row-left",children:[p.jsxs("div",{className:"plate-avatar-badge",style:{background:A.role===1?"var(--accent-purple-light)":"var(--accent-blue-light)",color:A.role===1?"var(--accent-purple)":"var(--accent-blue)",position:"relative"},children:[A.name.substring(0,2).toUpperCase(),A.online_status&&p.jsx("div",{style:{position:"absolute",bottom:0,right:0,width:"10px",height:"10px",borderRadius:"50%",background:"var(--accent-green)",border:"2px solid var(--bg-card)"},title:"En línea"})]}),p.jsxs("div",{className:"plate-info-text",children:[p.jsx("span",{className:"plate-number-title",style:{fontSize:"0.95rem"},children:A.name}),p.jsxs("span",{className:"plate-status-subtitle",style:{fontSize:"0.75rem",display:"flex",alignItems:"center",gap:"6px"},children:["@",A.username]}),p.jsxs("div",{style:{display:"flex",gap:"6px",marginTop:"6px"},children:[p.jsx("span",{style:{fontSize:"0.62rem",fontWeight:800,padding:"2px 6px",borderRadius:"6px",background:A.role===1?"var(--accent-purple-light)":"rgba(78, 167, 252, 0.1)",color:A.role===1?"var(--accent-purple)":"var(--accent-blue)",letterSpacing:"0.3px",textTransform:"uppercase"},children:Ne(A.role)}),p.jsx("span",{style:{fontSize:"0.62rem",fontWeight:800,padding:"2px 6px",borderRadius:"6px",background:"var(--bg-surface)",color:"var(--text-secondary)",letterSpacing:"0.3px",border:"1px solid rgba(0,0,0,0.02)"},children:Ee(A.level)})]})]})]}),p.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"10px"},children:[p.jsx("button",{onClick:()=>Pe(A),style:{border:"none",background:A.user_status?"var(--accent-green-light)":"var(--bg-surface)",color:A.user_status?"var(--accent-green)":"var(--text-muted)",width:"32px",height:"32px",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",transition:"all 0.2s",boxShadow:A.user_status?"inset 0 1px 4px rgba(16, 185, 129, 0.1)":"none"},title:A.user_status?"Desactivar Cuenta":"Activar Cuenta",children:p.jsx(f2,{size:16})}),p.jsx("button",{className:"circle-btn",onClick:()=>Se(A),style:{width:"32px",height:"32px",borderRadius:"10px"},title:"Editar",children:p.jsx(qm,{size:14})}),p.jsx("button",{className:"circle-btn",onClick:()=>ze(A),disabled:(n==null?void 0:n.id)===A.id,style:{width:"32px",height:"32px",borderRadius:"10px",color:(n==null?void 0:n.id)===A.id?"var(--text-muted)":"var(--accent-red)",background:(n==null?void 0:n.id)===A.id?"transparent":void 0,cursor:(n==null?void 0:n.id)===A.id?"not-allowed":"pointer"},title:(n==null?void 0:n.id)===A.id?"No puedes eliminarte a ti mismo":"Eliminar",children:p.jsx($u,{size:14})})]})]},A.id)):p.jsx("div",{style:{textAlign:"center",padding:"3rem 1.5rem",color:"var(--text-secondary)"},children:"No hay usuarios registrados en el sistema."})}),y&&p.jsx("div",{style:Ds,children:p.jsxs("div",{className:"soft-card",style:Ms,children:[p.jsxs("div",{style:Vm,children:[p.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[p.jsx(Xm,{size:18,color:"var(--accent-purple)"}),p.jsx("h3",{style:{fontSize:"1.05rem",fontWeight:800},children:"Nuevo Usuario"})]}),p.jsx("button",{className:"circle-btn",onClick:()=>g(!1),style:{width:"28px",height:"28px"},children:p.jsx(Gm,{size:16})})]}),p.jsxs("form",{onSubmit:Ue,style:{display:"flex",flexDirection:"column",gap:"12px",marginTop:"10px"},children:[O&&p.jsx("div",{style:Us,children:O}),G&&p.jsx("div",{style:Qm,children:G}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Nombre Completo"}),p.jsx("input",{type:"text",name:"name",value:q.name,onChange:F,placeholder:"Ej: Andres Perez",required:!0})]}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Nombre de Usuario (Login)"}),p.jsx("input",{type:"text",name:"username",value:q.username,onChange:F,placeholder:"Ej: andres_perez",required:!0})]}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Correo Electrónico (Opcional)"}),p.jsx("input",{type:"email",name:"email",value:q.email,onChange:F,placeholder:"correo@ejemplo.com"})]}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Contraseña"}),p.jsx("input",{type:"password",name:"password",value:q.password,onChange:F,placeholder:"Mínimo 6 caracteres",required:!0})]}),p.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"10px"},children:[p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Rol"}),p.jsxs("select",{name:"role",value:q.role,onChange:F,style:qu,children:[p.jsx("option",{value:2,children:"Usuario / Agente"}),p.jsx("option",{value:1,children:"Administrador"})]})]}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Nivel de Acceso"}),p.jsxs("select",{name:"level",value:q.level,onChange:F,style:qu,children:[p.jsx("option",{value:1,children:"Nivel 1 (Total)"}),p.jsx("option",{value:2,children:"Nivel 2 (Medio)"}),p.jsx("option",{value:3,children:"Nivel 3 (Básico)"}),p.jsx("option",{value:4,children:"Nivel 4 (Demo)"})]})]})]}),p.jsx("button",{type:"submit",className:"primary-btn-accent",style:{marginTop:"10px",height:"46px"},disabled:d,children:d?p.jsx(fi,{size:16,className:"spin"}):"REGISTRAR USUARIO"})]})]})}),v&&B&&p.jsx("div",{style:Ds,children:p.jsxs("div",{className:"soft-card",style:Ms,children:[p.jsxs("div",{style:Vm,children:[p.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[p.jsx(qm,{size:16,color:"var(--accent-purple)"}),p.jsx("h3",{style:{fontSize:"1.05rem",fontWeight:800},children:"Editar Usuario"})]}),p.jsx("button",{className:"circle-btn",onClick:()=>S(!1),style:{width:"28px",height:"28px"},children:p.jsx(Gm,{size:16})})]}),p.jsxs("form",{onSubmit:ve,style:{display:"flex",flexDirection:"column",gap:"12px",marginTop:"10px"},children:[O&&p.jsx("div",{style:Us,children:O}),G&&p.jsx("div",{style:Qm,children:G}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Nombre Completo"}),p.jsx("input",{type:"text",name:"name",value:q.name,onChange:F,required:!0})]}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Nombre de Usuario"}),p.jsx("input",{type:"text",name:"username",value:q.username,onChange:F,required:!0})]}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Correo Electrónico (Opcional)"}),p.jsx("input",{type:"email",name:"email",value:q.email,onChange:F})]}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsxs("label",{style:{display:"flex",alignItems:"center",gap:"4px"},children:[p.jsx(j2,{size:12})," Nueva Contraseña (Dejar vacío para no cambiar)"]}),p.jsx("input",{type:"password",name:"password",value:q.password,onChange:F,placeholder:"Contraseña nueva (opcional)"})]}),p.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"10px"},children:[p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Rol"}),p.jsxs("select",{name:"role",value:q.role,onChange:F,style:qu,children:[p.jsx("option",{value:2,children:"Usuario"}),p.jsx("option",{value:1,children:"Administrador"})]})]}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Nivel de Acceso"}),p.jsxs("select",{name:"level",value:q.level,onChange:F,style:qu,children:[p.jsx("option",{value:1,children:"Nivel 1 (Total)"}),p.jsx("option",{value:2,children:"Nivel 2 (Medio)"}),p.jsx("option",{value:3,children:"Nivel 3 (Básico)"}),p.jsx("option",{value:4,children:"Nivel 4 (Demo)"})]})]})]}),p.jsx("button",{type:"submit",className:"primary-btn-accent",style:{marginTop:"10px",height:"46px"},disabled:d,children:d?p.jsx(fi,{size:16,className:"spin"}):"GUARDAR CAMBIOS"})]})]})}),b&&B&&p.jsx("div",{style:Ds,children:p.jsxs("div",{className:"soft-card",style:{...Ms,maxWidth:"320px",textAlign:"center"},children:[p.jsx("div",{style:{display:"flex",justifyContent:"center",marginBottom:"1rem",color:"var(--accent-red)"},children:p.jsx($u,{size:44})}),p.jsx("h3",{style:{fontSize:"1.1rem",fontWeight:800,color:"var(--text-primary)"},children:"¿Eliminar usuario?"}),p.jsxs("p",{style:{fontSize:"0.78rem",color:"var(--text-secondary)",marginTop:"6px",lineHeight:"1.4"},children:["Esta acción es permanente y eliminará a ",p.jsx("strong",{children:B.name})," (@",B.username,") de la base de datos junto con sus dispositivos autorizados."]}),O&&p.jsx("div",{style:{...Us,marginTop:"10px"},children:O}),p.jsxs("div",{style:{display:"flex",gap:"8px",marginTop:"20px"},children:[p.jsx("button",{onClick:()=>j(!1),style:{flex:1,height:"42px",borderRadius:"12px",border:"1px solid rgba(0,0,0,0.05)",background:"var(--bg-surface)",color:"var(--text-primary)",fontWeight:700,fontSize:"0.8rem",cursor:"pointer"},children:"CANCELAR"}),p.jsx("button",{onClick:Te,style:{flex:1,height:"42px",borderRadius:"12px",border:"none",background:"var(--accent-red)",color:"#FFFFFF",fontWeight:700,fontSize:"0.8rem",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",gap:"6px"},disabled:d,children:d?p.jsx(fi,{size:14,className:"spin"}):"ELIMINAR"})]})]})})]})},Ds={position:"absolute",top:0,left:0,right:0,bottom:0,background:"rgba(18, 19, 26, 0.4)",backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)",zIndex:300,display:"flex",alignItems:"center",justifyContent:"center",padding:"1.5rem"},Ms={width:"100%",maxWidth:"380px",background:"var(--bg-card)",borderRadius:"28px",padding:"1.5rem",boxShadow:"var(--shadow-soft)",animation:"scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1)",border:"1px solid rgba(255,255,255,0.08)"},Vm={display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"1rem",color:"var(--text-primary)"},qu={width:"100%",height:"46px",borderRadius:"16px",background:"var(--bg-surface)",border:"1px solid transparent",padding:"0 12px",fontSize:"0.85rem",fontWeight:600,color:"var(--text-primary)",outline:"none",cursor:"pointer"},Us={background:"var(--accent-red-light)",color:"var(--accent-red)",padding:"10px 14px",borderRadius:"12px",fontSize:"0.78rem",fontWeight:600,border:"1px solid rgba(239, 68, 68, 0.1)"},Qm={background:"var(--accent-green-light)",color:"var(--accent-green)",padding:"10px 14px",borderRadius:"12px",fontSize:"0.78rem",fontWeight:600,border:"1px solid rgba(16, 185, 129, 0.1)"},I2=()=>{const n=Iu(),r=Wt(),s=y=>n(y),c=y=>r.pathname===y,[o,d]=C.useState(()=>document.body.classList.contains("dark")),h=()=>{const y=!o;d(y),y?(document.body.classList.add("dark"),localStorage.setItem("theme","dark")):(document.body.classList.remove("dark"),localStorage.setItem("theme","light"))};return p.jsxs("div",{className:"main-layout",children:[p.jsx("div",{className:"theme-switch-wrapper",style:{position:"absolute",top:"20px",right:"24px",zIndex:1e3},title:o?"Desactivar Modo Oscuro":"Activar Modo Oscuro",children:p.jsx("div",{className:"theme-switch-track",onClick:h,children:p.jsx("div",{className:"theme-switch-thumb",children:o?p.jsx(w2,{size:10,strokeWidth:3}):p.jsx(G2,{size:10,strokeWidth:3})})})}),p.jsxs("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,pointerEvents:"none",zIndex:0,color:"var(--radar-color, rgba(30, 31, 36, 0.035))",overflow:"hidden"},children:[p.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",children:[p.jsx("defs",{children:p.jsx("pattern",{id:"dot-grid",width:"24",height:"24",patternUnits:"userSpaceOnUse",children:p.jsx("circle",{cx:"2",cy:"2",r:"1",fill:"currentColor"})})}),p.jsx("rect",{width:"100%",height:"100%",fill:"url(#dot-grid)"})]}),p.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:[p.jsx("circle",{cx:"100",cy:"100",r:"85",stroke:"currentColor",strokeWidth:"0.5",fill:"none"}),p.jsx("circle",{cx:"100",cy:"100",r:"65",stroke:"currentColor",strokeWidth:"0.5",fill:"none",strokeDasharray:"4 3"}),p.jsx("circle",{cx:"100",cy:"100",r:"45",stroke:"currentColor",strokeWidth:"0.5",fill:"none"}),p.jsx("circle",{cx:"100",cy:"100",r:"25",stroke:"currentColor",strokeWidth:"0.5",fill:"none"}),p.jsx("line",{x1:"100",y1:"10",x2:"100",y2:"190",stroke:"currentColor",strokeWidth:"0.5"}),p.jsx("line",{x1:"10",y1:"100",x2:"190",y2:"100",stroke:"currentColor",strokeWidth:"0.5"}),p.jsx("line",{x1:"100",y1:"100",x2:"160.1",y2:"40.1",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"})]})]}),p.jsx("div",{style:{flex:1,display:"flex",flexDirection:"column",overflow:"hidden",background:"transparent",position:"relative",zIndex:1},children:p.jsx(fp,{})}),p.jsxs("div",{className:"bottom-nav-floating",children:[p.jsx("button",{className:`nav-item-btn ${c("/")?"active":""}`,onClick:()=>s("/"),title:"Búsqueda",children:p.jsx(Vp,{size:24,strokeWidth:c("/")?2.5:2})}),p.jsx("button",{className:`nav-item-btn ${c("/upload")?"active":""}`,onClick:()=>s("/upload"),title:"Consola Excel",children:p.jsx(Gp,{size:24,strokeWidth:c("/upload")?2.5:2})}),p.jsx("button",{className:`nav-item-btn ${c("/users")?"active":""}`,onClick:()=>s("/users"),title:"Usuarios",children:p.jsx(K2,{size:24,strokeWidth:c("/users")?2.5:2})}),p.jsx("button",{className:`nav-item-btn ${c("/devices")?"active":""}`,onClick:()=>s("/devices"),title:"Ajustes / Dispositivos",children:p.jsx(q2,{size:24,strokeWidth:c("/devices")?2.5:2})})]})]})},eS=()=>p.jsx(Jg,{children:p.jsx(l2,{children:p.jsxs(Ag,{children:[p.jsx(al,{path:"/login",element:p.jsx(F2,{})}),p.jsx(al,{element:p.jsx(a2,{}),children:p.jsxs(al,{element:p.jsx(I2,{}),children:[p.jsx(al,{path:"/",element:p.jsx($2,{})}),p.jsx(al,{path:"/upload",element:p.jsx(W2,{})}),p.jsx(al,{path:"/users",element:p.jsx(P2,{})}),p.jsx(al,{path:"/devices",element:p.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"1rem"},children:[p.jsx("div",{style:{fontSize:"0.7rem",letterSpacing:"4px",color:"rgba(255,255,255,0.4)"},children:"EN DESARROLLO"}),p.jsx("h1",{style:{fontSize:"1.8rem",fontWeight:800,letterSpacing:"3px",color:"#fff",textShadow:"0 2px 20px rgba(0,0,0,0.3)"},children:"DISPOSITIVOS"})]})}),p.jsx(al,{path:"/register",element:p.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"1rem"},children:[p.jsx("div",{style:{fontSize:"0.7rem",letterSpacing:"4px",color:"rgba(255,255,255,0.4)"},children:"EN DESARROLLO"}),p.jsx("h1",{style:{fontSize:"1.8rem",fontWeight:800,letterSpacing:"3px",color:"#fff",textShadow:"0 2px 20px rgba(0,0,0,0.3)"},children:"REGISTRO"})]})})]})}),p.jsx(al,{path:"*",element:p.jsx(op,{to:"/",replace:!0})})]})})}),tS=localStorage.getItem("theme");tS==="dark"?document.body.classList.add("dark"):document.body.classList.remove("dark");Rv.createRoot(document.getElementById("root")).render(p.jsx(pv.StrictMode,{children:p.jsx(eS,{})}));
